@ng-nest/ui 16.0.0 → 16.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/core/interfaces/data.type.d.ts +17 -17
- package/dropdown/dropdown-portal.component.d.ts +4 -4
- package/esm2022/core/functions/convert.mjs +2 -1
- package/esm2022/core/interfaces/data.type.mjs +60 -19
- package/esm2022/popover/popover.directive.mjs +17 -6
- package/esm2022/popover/popover.property.mjs +6 -2
- package/esm2022/select/select.component.mjs +1 -1
- package/esm2022/tooltip/tooltip.directive.mjs +16 -5
- package/esm2022/tooltip/tooltip.property.mjs +6 -2
- package/fesm2022/ng-nest-ui-core.mjs +60 -18
- package/fesm2022/ng-nest-ui-core.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-popover.mjs +21 -6
- package/fesm2022/ng-nest-ui-popover.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-select.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-tooltip.mjs +20 -5
- package/fesm2022/ng-nest-ui-tooltip.mjs.map +1 -1
- package/package.json +8 -7
- package/popover/popover.directive.d.ts +1 -0
- package/popover/popover.property.d.ts +12 -2
- package/tooltip/tooltip.directive.d.ts +1 -0
- package/tooltip/tooltip.property.d.ts +12 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Directive, Input, Component, ViewEncapsulation, ChangeDetectionStrategy, HostListener, HostBinding, ViewChild, NgModule } from '@angular/core';
|
|
2
|
+
import { Directive, Input, Component, ViewEncapsulation, ChangeDetectionStrategy, HostListener, HostBinding, ViewChild, ElementRef, NgModule } from '@angular/core';
|
|
3
3
|
import * as i1$1 from '@ng-nest/ui/portal';
|
|
4
4
|
import { XPortalConnectedPosition, XPortalModule } from '@ng-nest/ui/portal';
|
|
5
5
|
import { Subject, BehaviorSubject } from 'rxjs';
|
|
@@ -39,7 +39,7 @@ class XTooltipProperty {
|
|
|
39
39
|
this.disabled = false;
|
|
40
40
|
}
|
|
41
41
|
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: XTooltipProperty, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
42
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0", type: XTooltipProperty, selector: "[x-tooltip], x-tooltip", inputs: { content: "content", placement: "placement", visible: "visible", backgroundColor: "backgroundColor", color: "color", manual: "manual", mouseEnterDelay: "mouseEnterDelay", mouseLeaveDelay: "mouseLeaveDelay", disabled: "disabled" }, ngImport: i0 }); }
|
|
42
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0", type: XTooltipProperty, selector: "[x-tooltip], x-tooltip", inputs: { content: "content", placement: "placement", visible: "visible", panelClass: "panelClass", connectTo: "connectTo", backgroundColor: "backgroundColor", color: "color", manual: "manual", mouseEnterDelay: "mouseEnterDelay", mouseLeaveDelay: "mouseLeaveDelay", disabled: "disabled" }, ngImport: i0 }); }
|
|
43
43
|
}
|
|
44
44
|
__decorate([
|
|
45
45
|
XWithConfig(X_CONFIG_NAME, 'bottom')
|
|
@@ -62,6 +62,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImpor
|
|
|
62
62
|
type: Input
|
|
63
63
|
}], visible: [{
|
|
64
64
|
type: Input
|
|
65
|
+
}], panelClass: [{
|
|
66
|
+
type: Input
|
|
67
|
+
}], connectTo: [{
|
|
68
|
+
type: Input
|
|
65
69
|
}], backgroundColor: [{
|
|
66
70
|
type: Input
|
|
67
71
|
}], color: [{
|
|
@@ -191,6 +195,9 @@ class XTooltipDirective extends XTooltipProperty {
|
|
|
191
195
|
this.positionChange = new Subject();
|
|
192
196
|
this._unSubject = new Subject();
|
|
193
197
|
}
|
|
198
|
+
get _show() {
|
|
199
|
+
return this.visible;
|
|
200
|
+
}
|
|
194
201
|
mouseenter() {
|
|
195
202
|
!this.disabled && !this.manual && this.show();
|
|
196
203
|
}
|
|
@@ -236,9 +243,14 @@ class XTooltipDirective extends XTooltipProperty {
|
|
|
236
243
|
}
|
|
237
244
|
createPortal() {
|
|
238
245
|
const config = {
|
|
246
|
+
panelClass: this.panelClass,
|
|
239
247
|
backdropClass: '',
|
|
240
248
|
positionStrategy: this.portalService.setPlacement({
|
|
241
|
-
elementRef: this.
|
|
249
|
+
elementRef: this.connectTo
|
|
250
|
+
? this.connectTo instanceof ElementRef
|
|
251
|
+
? this.connectTo
|
|
252
|
+
: new ElementRef(this.connectTo)
|
|
253
|
+
: this.elementRef,
|
|
242
254
|
placement: [this.placement, 'bottom', 'top', 'left', 'right']
|
|
243
255
|
}),
|
|
244
256
|
scrollStrategy: this.overlay.scrollStrategies.reposition()
|
|
@@ -287,12 +299,15 @@ class XTooltipDirective extends XTooltipProperty {
|
|
|
287
299
|
this.portal.overlayRef?.updatePosition();
|
|
288
300
|
}
|
|
289
301
|
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: XTooltipDirective, deps: [{ token: i0.ElementRef }, { token: i1$1.XPortalService }, { token: i0.ViewContainerRef }, { token: i2.Overlay }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
290
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0", type: XTooltipDirective, selector: "[x-tooltip], x-tooltip", host: { listeners: { "mouseenter": "mouseenter()", "mouseleave": "mouseleave()" } }, usesInheritance: true, usesOnChanges: true, ngImport: i0 }); }
|
|
302
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0", type: XTooltipDirective, selector: "[x-tooltip], x-tooltip", host: { listeners: { "mouseenter": "mouseenter()", "mouseleave": "mouseleave()" }, properties: { "class.x-tooltip-show": "this._show" } }, usesInheritance: true, usesOnChanges: true, ngImport: i0 }); }
|
|
291
303
|
}
|
|
292
304
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: XTooltipDirective, decorators: [{
|
|
293
305
|
type: Directive,
|
|
294
306
|
args: [{ selector: `[${XTooltipPrefix}], ${XTooltipPrefix}` }]
|
|
295
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1$1.XPortalService }, { type: i0.ViewContainerRef }, { type: i2.Overlay }]; }, propDecorators: {
|
|
307
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1$1.XPortalService }, { type: i0.ViewContainerRef }, { type: i2.Overlay }]; }, propDecorators: { _show: [{
|
|
308
|
+
type: HostBinding,
|
|
309
|
+
args: ['class.x-tooltip-show']
|
|
310
|
+
}], mouseenter: [{
|
|
296
311
|
type: HostListener,
|
|
297
312
|
args: ['mouseenter']
|
|
298
313
|
}], mouseleave: [{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-nest-ui-tooltip.mjs","sources":["../../../../lib/ng-nest/ui/tooltip/tooltip.property.ts","../../../../lib/ng-nest/ui/tooltip/tooltip-portal.component.ts","../../../../lib/ng-nest/ui/tooltip/tooltip-portal.component.html","../../../../lib/ng-nest/ui/tooltip/tooltip.directive.ts","../../../../lib/ng-nest/ui/tooltip/tooltip.module.ts","../../../../lib/ng-nest/ui/tooltip/ng-nest-ui-tooltip.ts"],"sourcesContent":["import { XPlacement, XInputBoolean, XBoolean, XWithConfig } from '@ng-nest/ui/core';\r\nimport { Input, Directive } from '@angular/core';\r\n\r\n/**\r\n * Tooltip\r\n * @selector x-tooltip\r\n * @decorator directive\r\n */\r\nexport const XTooltipPrefix = 'x-tooltip';\r\nconst X_CONFIG_NAME = 'tooltip';\r\n\r\n/**\r\n * Tooltip Property\r\n */\r\n@Directive({ selector: `[${XTooltipPrefix}], ${XTooltipPrefix}` })\r\nexport class XTooltipProperty {\r\n /**\r\n * @zh_CN 内容\r\n * @en_US Content\r\n */\r\n @Input() content?: string;\r\n /**\r\n * @zh_CN 显示位置\r\n * @en_US Display position\r\n */\r\n @Input() @XWithConfig<XPlacement>(X_CONFIG_NAME, 'bottom') placement?: XPlacement;\r\n /**\r\n * @zh_CN 显示/隐藏\r\n * @en_US Show/hide\r\n */\r\n @Input() @XInputBoolean() visible?: XBoolean;\r\n /**\r\n * @zh_CN 背景颜色\r\n * @en_US Background color\r\n */\r\n @Input() backgroundColor?: string;\r\n /**\r\n * @zh_CN 文字颜色\r\n * @en_US Text color\r\n */\r\n @Input() color?: string;\r\n /**\r\n * @zh_CN 手动处理关闭事件\r\n * @en_US Manually handle the shutdown event\r\n */\r\n @Input() @XInputBoolean() manual?: XBoolean;\r\n /**\r\n * @zh_CN 鼠标移入后延时多少才显示\r\n * @en_US How much is the mouse transfer after transfer\r\n */\r\n @Input() mouseEnterDelay: number = 150;\r\n /**\r\n * @zh_CN 鼠标移出后延时多少才隐藏\r\n * @en_US How much hidden is hidden after the mouse is removed\r\n */\r\n @Input() mouseLeaveDelay: number = 100;\r\n /**\r\n * @zh_CN 禁用显示\r\n * @en_US Disable display\r\n */\r\n @Input() @XInputBoolean() disabled?: XBoolean = false;\r\n}\r\n\r\n/**\r\n * Tooltip Portal\r\n * @selector x-tooltip-portal\r\n * @decorator component\r\n */\r\nexport const XTooltipPortalPrefix = 'x-tooltip-portal';\r\n","import {\r\n Component,\r\n ViewEncapsulation,\r\n ChangeDetectionStrategy,\r\n ChangeDetectorRef,\r\n OnInit,\r\n ElementRef,\r\n OnDestroy,\r\n ViewChild,\r\n Renderer2,\r\n HostListener,\r\n AfterViewInit,\r\n HostBinding\r\n} from '@angular/core';\r\nimport { BehaviorSubject, Subject } from 'rxjs';\r\nimport { XTooltipPortalPrefix } from './tooltip.property';\r\nimport { XPlacement, XClassMap, XFadeAnimation } from '@ng-nest/ui/core';\r\nimport { takeUntil } from 'rxjs/operators';\r\n\r\n@Component({\r\n selector: `${XTooltipPortalPrefix}`,\r\n templateUrl: './tooltip-portal.component.html',\r\n styleUrls: ['./tooltip-portal.component.scss'],\r\n encapsulation: ViewEncapsulation.None,\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n animations: [XFadeAnimation]\r\n})\r\nexport class XTooltipPortalComponent implements OnInit, OnDestroy, OnDestroy, AfterViewInit {\r\n @HostListener('mouseenter') mouseenter() {\r\n this.portalHover(true);\r\n }\r\n @HostListener('mouseleave') mouseleave() {\r\n this.portalHover(false);\r\n }\r\n\r\n @HostBinding('@x-fade-animation') animation: any;\r\n\r\n @ViewChild('tooltipPortal', { static: true }) tooltipPortal!: ElementRef<HTMLElement>;\r\n @ViewChild('tooltipArrow') tooltipArrow!: ElementRef<HTMLElement>;\r\n @ViewChild('tooltipArrowAfter') tooltipArrowAfter!: ElementRef<HTMLElement>;\r\n\r\n contentChange!: BehaviorSubject<any>;\r\n classMap: XClassMap = {};\r\n box!: DOMRect;\r\n portalBox!: DOMRect;\r\n arrowBox!: DOMRect;\r\n portalHover!: Function;\r\n viewInit!: Function;\r\n destroy!: Function;\r\n placement!: XPlacement;\r\n previousPlacement!: XPlacement;\r\n content!: string;\r\n color!: string;\r\n backgroundColor!: string;\r\n positionChange: Subject<any> = new Subject();\r\n private _unSubject = new Subject<void>();\r\n\r\n constructor(private renderer: Renderer2, public cdr: ChangeDetectorRef) {}\r\n\r\n ngOnInit(): void {\r\n this.contentChange.pipe(takeUntil(this._unSubject)).subscribe((x) => {\r\n this.content = x;\r\n this.cdr.detectChanges();\r\n });\r\n this.positionChange.pipe(takeUntil(this._unSubject)).subscribe((x) => {\r\n this.placement = x;\r\n this.setClassMap();\r\n setTimeout(() => this.setArrow());\r\n this.cdr.detectChanges();\r\n });\r\n this.setClassMap();\r\n }\r\n\r\n ngAfterViewInit() {\r\n this.viewInit();\r\n this.portalBox = this.tooltipPortal.nativeElement.getBoundingClientRect();\r\n this.arrowBox = this.tooltipArrow.nativeElement.getBoundingClientRect();\r\n this.setArrow();\r\n this.cdr.detectChanges();\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this._unSubject.next();\r\n this._unSubject.unsubscribe();\r\n }\r\n\r\n setClassMap() {\r\n this.classMap[`${XTooltipPortalPrefix}-${this.previousPlacement}`] = false;\r\n this.classMap[`${XTooltipPortalPrefix}-${this.placement}`] = true;\r\n this.previousPlacement = `${this.placement}` as XPlacement;\r\n }\r\n\r\n setArrow() {\r\n let offset = this.arrowBox.height / 2;\r\n if (this.portalBox.height > this.box.height && (this.includes('right-') || this.includes('left-'))) {\r\n if (this.includes('-start')) {\r\n this.renderer.setStyle(this.tooltipArrow.nativeElement, 'top', `${this.box.height / 2 - offset}px`);\r\n } else if (this.includes('-end')) {\r\n this.renderer.setStyle(this.tooltipArrow.nativeElement, 'bottom', `${this.box.height / 2 - offset}px`);\r\n }\r\n } else if (this.portalBox.width > this.box.width && (this.includes('top-') || this.includes('bottom-'))) {\r\n if (this.includes('-start')) {\r\n this.renderer.setStyle(this.tooltipArrow.nativeElement, 'left', `${this.box.width / 2 - offset}px`);\r\n } else if (this.includes('-end')) {\r\n this.renderer.setStyle(this.tooltipArrow.nativeElement, 'right', `${this.box.width / 2 - offset}px`);\r\n }\r\n }\r\n if (!this.backgroundColor) return;\r\n const ptSplit = this.placement.split('-');\r\n if (ptSplit.length > 0) {\r\n this.renderer.setStyle(this.tooltipArrow.nativeElement, `border-${ptSplit[0]}-color`, this.backgroundColor);\r\n this.renderer.setStyle(this.tooltipArrowAfter.nativeElement, `border-${ptSplit[0]}-color`, this.backgroundColor);\r\n }\r\n }\r\n\r\n includes(arrow: string) {\r\n return this.placement.indexOf(arrow) >= 0;\r\n }\r\n}\r\n","<div #tooltipPortal class=\"x-tooltip-portal\" [ngClass]=\"classMap\">\r\n <div class=\"x-tooltip-portal-inner\" [style.backgroundColor]=\"backgroundColor\" [style.color]=\"color\" [innerHTML]=\"content\"></div>\r\n <div #tooltipArrow class=\"x-tooltip-portal-arrow\">\r\n <div #tooltipArrowAfter class=\"x-tooltip-portal-arrow-after\"></div>\r\n </div>\r\n</div>\r\n","import { ElementRef, ViewContainerRef, Directive, HostListener, OnChanges, SimpleChanges, OnDestroy } from '@angular/core';\r\nimport { XPortalService, XPortalOverlayRef, XPortalConnectedPosition } from '@ng-nest/ui/portal';\r\nimport { XTooltipPortalComponent } from './tooltip-portal.component';\r\nimport { XTooltipPrefix, XTooltipProperty } from './tooltip.property';\r\nimport { BehaviorSubject, Subject } from 'rxjs';\r\nimport { XIsChange, XPlacement } from '@ng-nest/ui/core';\r\nimport { takeUntil } from 'rxjs/operators';\r\nimport { OverlayConfig, FlexibleConnectedPositionStrategy, ConnectedOverlayPositionChange, Overlay } from '@angular/cdk/overlay';\r\n\r\n@Directive({ selector: `[${XTooltipPrefix}], ${XTooltipPrefix}` })\r\nexport class XTooltipDirective extends XTooltipProperty implements OnChanges, OnDestroy {\r\n portal!: XPortalOverlayRef<XTooltipPortalComponent>;\r\n box!: DOMRect;\r\n contentChange: BehaviorSubject<any> = new BehaviorSubject(null);\r\n positionChange: Subject<any> = new Subject();\r\n timeoutHide: any;\r\n timeoutShow: any;\r\n private _unSubject = new Subject();\r\n\r\n constructor(\r\n private elementRef: ElementRef,\r\n private portalService: XPortalService,\r\n private viewContainerRef: ViewContainerRef,\r\n private overlay: Overlay\r\n ) {\r\n super();\r\n }\r\n\r\n @HostListener('mouseenter') mouseenter() {\r\n !this.disabled && !this.manual && this.show();\r\n }\r\n\r\n @HostListener('mouseleave') mouseleave() {\r\n !this.disabled && !this.manual && this.hide();\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n const { content, visible } = changes;\r\n XIsChange(content) && this.contentChange.next(this.content);\r\n if (XIsChange(visible)) {\r\n if (this.visible) this.show();\r\n else this.hide();\r\n }\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.contentChange.unsubscribe();\r\n }\r\n\r\n show() {\r\n if (this.timeoutHide) clearTimeout(this.timeoutHide);\r\n if (this.timeoutShow) clearTimeout(this.timeoutShow);\r\n if (!this.portal || (this.portal && !this.portal.overlayRef?.hasAttached())) {\r\n this.timeoutShow = setTimeout(() => {\r\n this.visible = true;\r\n this.createPortal();\r\n }, this.mouseEnterDelay);\r\n }\r\n }\r\n\r\n hide() {\r\n if (this.timeoutHide) clearTimeout(this.timeoutHide);\r\n if (this.timeoutShow) clearTimeout(this.timeoutShow);\r\n if (this.portal?.overlayRef?.hasAttached()) {\r\n this.timeoutHide = setTimeout(() => {\r\n this.visible = false;\r\n this.portal.overlayRef?.dispose();\r\n }, this.mouseLeaveDelay);\r\n }\r\n }\r\n\r\n createPortal() {\r\n const config: OverlayConfig = {\r\n backdropClass: '',\r\n positionStrategy: this.portalService.setPlacement({\r\n elementRef: this.elementRef,\r\n placement: [this.placement as XPlacement, 'bottom', 'top', 'left', 'right']\r\n }),\r\n scrollStrategy: this.overlay.scrollStrategies.reposition()\r\n };\r\n this.setPosition(config);\r\n this.portal = this.portalService.attach({\r\n content: XTooltipPortalComponent,\r\n viewContainerRef: this.viewContainerRef,\r\n overlayConfig: config\r\n });\r\n this.setInstance();\r\n }\r\n\r\n setPosition(config: OverlayConfig) {\r\n let position = config.positionStrategy as FlexibleConnectedPositionStrategy;\r\n position.positionChanges.pipe(takeUntil(this._unSubject)).subscribe((pos: ConnectedOverlayPositionChange) => {\r\n const place = XPortalConnectedPosition.get(pos.connectionPair) as XPlacement;\r\n place !== this.placement && this.positionChange.next(place);\r\n });\r\n }\r\n\r\n setInstance() {\r\n let componentRef = this.portal?.componentRef;\r\n if (!componentRef) return;\r\n this.box = this.elementRef.nativeElement.getBoundingClientRect();\r\n Object.assign(componentRef.instance, {\r\n box: this.box,\r\n content: this.content,\r\n contentChange: this.contentChange,\r\n color: this.color,\r\n backgroundColor: this.backgroundColor,\r\n placement: this.placement,\r\n positionChange: this.positionChange,\r\n portalHover: (hover: boolean) => {\r\n if (this.timeoutHide && hover) {\r\n clearTimeout(this.timeoutHide);\r\n } else {\r\n this.hide();\r\n }\r\n },\r\n viewInit: () => this.updatePortal()\r\n });\r\n componentRef.changeDetectorRef.detectChanges();\r\n }\r\n\r\n updatePortal() {\r\n this.portal.overlayRef?.updatePosition();\r\n }\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { XTooltipDirective } from './tooltip.directive';\r\nimport { XTooltipPortalComponent } from './tooltip-portal.component';\r\nimport { XPortalModule } from '@ng-nest/ui/portal';\r\nimport { XTooltipProperty } from './tooltip.property';\r\n\r\n@NgModule({\r\n declarations: [XTooltipDirective, XTooltipPortalComponent, XTooltipProperty],\r\n exports: [XTooltipDirective, XTooltipPortalComponent],\r\n imports: [CommonModule, XPortalModule]\r\n})\r\nexport class XTooltipModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;AAGA;;;;AAIG;AACI,MAAM,cAAc,GAAG,YAAY;AAC1C,MAAM,aAAa,GAAG,SAAS,CAAC;AAEhC;;AAEG;AACH,MACa,gBAAgB,CAAA;AAD7B,IAAA,WAAA,GAAA;AAgCE;;;AAGG;QACM,IAAe,CAAA,eAAA,GAAW,GAAG,CAAC;AACvC;;;AAGG;QACM,IAAe,CAAA,eAAA,GAAW,GAAG,CAAC;AACvC;;;AAGG;QACuB,IAAQ,CAAA,QAAA,GAAc,KAAK,CAAC;AACvD,KAAA;iIA9CY,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;qHAAhB,gBAAgB,EAAA,QAAA,EAAA,wBAAA,EAAA,MAAA,EAAA,EAAA,OAAA,EAAA,SAAA,EAAA,SAAA,EAAA,WAAA,EAAA,OAAA,EAAA,SAAA,EAAA,eAAA,EAAA,iBAAA,EAAA,KAAA,EAAA,OAAA,EAAA,MAAA,EAAA,QAAA,EAAA,eAAA,EAA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A;;;ACXD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"ng-nest-ui-tooltip.mjs","sources":["../../../../lib/ng-nest/ui/tooltip/tooltip.property.ts","../../../../lib/ng-nest/ui/tooltip/tooltip-portal.component.ts","../../../../lib/ng-nest/ui/tooltip/tooltip-portal.component.html","../../../../lib/ng-nest/ui/tooltip/tooltip.directive.ts","../../../../lib/ng-nest/ui/tooltip/tooltip.module.ts","../../../../lib/ng-nest/ui/tooltip/ng-nest-ui-tooltip.ts"],"sourcesContent":["import { XPlacement, XInputBoolean, XBoolean, XWithConfig } from '@ng-nest/ui/core';\r\nimport { Input, Directive, ElementRef } from '@angular/core';\r\n\r\n/**\r\n * Tooltip\r\n * @selector x-tooltip\r\n * @decorator directive\r\n */\r\nexport const XTooltipPrefix = 'x-tooltip';\r\nconst X_CONFIG_NAME = 'tooltip';\r\n\r\n/**\r\n * Tooltip Property\r\n */\r\n@Directive({ selector: `[${XTooltipPrefix}], ${XTooltipPrefix}` })\r\nexport class XTooltipProperty {\r\n /**\r\n * @zh_CN 内容\r\n * @en_US Content\r\n */\r\n @Input() content?: string;\r\n /**\r\n * @zh_CN 显示位置\r\n * @en_US Display position\r\n */\r\n @Input() @XWithConfig<XPlacement>(X_CONFIG_NAME, 'bottom') placement?: XPlacement;\r\n /**\r\n * @zh_CN 显示/隐藏\r\n * @en_US Show/hide\r\n */\r\n @Input() @XInputBoolean() visible?: XBoolean;\r\n /**\r\n * @zh_CN 内部样式\r\n * @en_US panel class\r\n */\r\n @Input() panelClass?: string | string[];\r\n /**\r\n * @zh_CN 指定参考对象\r\n * @en_US specify reference object\r\n */\r\n @Input() connectTo?: ElementRef<HTMLElement> | HTMLElement;\r\n /**\r\n * @zh_CN 背景颜色\r\n * @en_US Background color\r\n */\r\n @Input() backgroundColor?: string;\r\n /**\r\n * @zh_CN 文字颜色\r\n * @en_US Text color\r\n */\r\n @Input() color?: string;\r\n /**\r\n * @zh_CN 手动处理关闭事件\r\n * @en_US Manually handle the shutdown event\r\n */\r\n @Input() @XInputBoolean() manual?: XBoolean;\r\n /**\r\n * @zh_CN 鼠标移入后延时多少才显示\r\n * @en_US How much is the mouse transfer after transfer\r\n */\r\n @Input() mouseEnterDelay: number = 150;\r\n /**\r\n * @zh_CN 鼠标移出后延时多少才隐藏\r\n * @en_US How much hidden is hidden after the mouse is removed\r\n */\r\n @Input() mouseLeaveDelay: number = 100;\r\n /**\r\n * @zh_CN 禁用显示\r\n * @en_US Disable display\r\n */\r\n @Input() @XInputBoolean() disabled?: XBoolean = false;\r\n}\r\n\r\n/**\r\n * Tooltip Portal\r\n * @selector x-tooltip-portal\r\n * @decorator component\r\n */\r\nexport const XTooltipPortalPrefix = 'x-tooltip-portal';\r\n","import {\r\n Component,\r\n ViewEncapsulation,\r\n ChangeDetectionStrategy,\r\n ChangeDetectorRef,\r\n OnInit,\r\n ElementRef,\r\n OnDestroy,\r\n ViewChild,\r\n Renderer2,\r\n HostListener,\r\n AfterViewInit,\r\n HostBinding\r\n} from '@angular/core';\r\nimport { BehaviorSubject, Subject } from 'rxjs';\r\nimport { XTooltipPortalPrefix } from './tooltip.property';\r\nimport { XPlacement, XClassMap, XFadeAnimation } from '@ng-nest/ui/core';\r\nimport { takeUntil } from 'rxjs/operators';\r\n\r\n@Component({\r\n selector: `${XTooltipPortalPrefix}`,\r\n templateUrl: './tooltip-portal.component.html',\r\n styleUrls: ['./tooltip-portal.component.scss'],\r\n encapsulation: ViewEncapsulation.None,\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n animations: [XFadeAnimation]\r\n})\r\nexport class XTooltipPortalComponent implements OnInit, OnDestroy, OnDestroy, AfterViewInit {\r\n @HostListener('mouseenter') mouseenter() {\r\n this.portalHover(true);\r\n }\r\n @HostListener('mouseleave') mouseleave() {\r\n this.portalHover(false);\r\n }\r\n\r\n @HostBinding('@x-fade-animation') animation: any;\r\n\r\n @ViewChild('tooltipPortal', { static: true }) tooltipPortal!: ElementRef<HTMLElement>;\r\n @ViewChild('tooltipArrow') tooltipArrow!: ElementRef<HTMLElement>;\r\n @ViewChild('tooltipArrowAfter') tooltipArrowAfter!: ElementRef<HTMLElement>;\r\n\r\n contentChange!: BehaviorSubject<any>;\r\n classMap: XClassMap = {};\r\n box!: DOMRect;\r\n portalBox!: DOMRect;\r\n arrowBox!: DOMRect;\r\n portalHover!: Function;\r\n viewInit!: Function;\r\n destroy!: Function;\r\n placement!: XPlacement;\r\n previousPlacement!: XPlacement;\r\n content!: string;\r\n color!: string;\r\n backgroundColor!: string;\r\n positionChange: Subject<any> = new Subject();\r\n private _unSubject = new Subject<void>();\r\n\r\n constructor(private renderer: Renderer2, public cdr: ChangeDetectorRef) {}\r\n\r\n ngOnInit(): void {\r\n this.contentChange.pipe(takeUntil(this._unSubject)).subscribe((x) => {\r\n this.content = x;\r\n this.cdr.detectChanges();\r\n });\r\n this.positionChange.pipe(takeUntil(this._unSubject)).subscribe((x) => {\r\n this.placement = x;\r\n this.setClassMap();\r\n setTimeout(() => this.setArrow());\r\n this.cdr.detectChanges();\r\n });\r\n this.setClassMap();\r\n }\r\n\r\n ngAfterViewInit() {\r\n this.viewInit();\r\n this.portalBox = this.tooltipPortal.nativeElement.getBoundingClientRect();\r\n this.arrowBox = this.tooltipArrow.nativeElement.getBoundingClientRect();\r\n this.setArrow();\r\n this.cdr.detectChanges();\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this._unSubject.next();\r\n this._unSubject.unsubscribe();\r\n }\r\n\r\n setClassMap() {\r\n this.classMap[`${XTooltipPortalPrefix}-${this.previousPlacement}`] = false;\r\n this.classMap[`${XTooltipPortalPrefix}-${this.placement}`] = true;\r\n this.previousPlacement = `${this.placement}` as XPlacement;\r\n }\r\n\r\n setArrow() {\r\n let offset = this.arrowBox.height / 2;\r\n if (this.portalBox.height > this.box.height && (this.includes('right-') || this.includes('left-'))) {\r\n if (this.includes('-start')) {\r\n this.renderer.setStyle(this.tooltipArrow.nativeElement, 'top', `${this.box.height / 2 - offset}px`);\r\n } else if (this.includes('-end')) {\r\n this.renderer.setStyle(this.tooltipArrow.nativeElement, 'bottom', `${this.box.height / 2 - offset}px`);\r\n }\r\n } else if (this.portalBox.width > this.box.width && (this.includes('top-') || this.includes('bottom-'))) {\r\n if (this.includes('-start')) {\r\n this.renderer.setStyle(this.tooltipArrow.nativeElement, 'left', `${this.box.width / 2 - offset}px`);\r\n } else if (this.includes('-end')) {\r\n this.renderer.setStyle(this.tooltipArrow.nativeElement, 'right', `${this.box.width / 2 - offset}px`);\r\n }\r\n }\r\n if (!this.backgroundColor) return;\r\n const ptSplit = this.placement.split('-');\r\n if (ptSplit.length > 0) {\r\n this.renderer.setStyle(this.tooltipArrow.nativeElement, `border-${ptSplit[0]}-color`, this.backgroundColor);\r\n this.renderer.setStyle(this.tooltipArrowAfter.nativeElement, `border-${ptSplit[0]}-color`, this.backgroundColor);\r\n }\r\n }\r\n\r\n includes(arrow: string) {\r\n return this.placement.indexOf(arrow) >= 0;\r\n }\r\n}\r\n","<div #tooltipPortal class=\"x-tooltip-portal\" [ngClass]=\"classMap\">\r\n <div class=\"x-tooltip-portal-inner\" [style.backgroundColor]=\"backgroundColor\" [style.color]=\"color\" [innerHTML]=\"content\"></div>\r\n <div #tooltipArrow class=\"x-tooltip-portal-arrow\">\r\n <div #tooltipArrowAfter class=\"x-tooltip-portal-arrow-after\"></div>\r\n </div>\r\n</div>\r\n","import { ElementRef, ViewContainerRef, Directive, HostListener, OnChanges, SimpleChanges, OnDestroy, HostBinding } from '@angular/core';\r\nimport { XPortalService, XPortalOverlayRef, XPortalConnectedPosition } from '@ng-nest/ui/portal';\r\nimport { XTooltipPortalComponent } from './tooltip-portal.component';\r\nimport { XTooltipPrefix, XTooltipProperty } from './tooltip.property';\r\nimport { BehaviorSubject, Subject } from 'rxjs';\r\nimport { XIsChange, XPlacement } from '@ng-nest/ui/core';\r\nimport { takeUntil } from 'rxjs/operators';\r\nimport { OverlayConfig, FlexibleConnectedPositionStrategy, ConnectedOverlayPositionChange, Overlay } from '@angular/cdk/overlay';\r\n\r\n@Directive({ selector: `[${XTooltipPrefix}], ${XTooltipPrefix}` })\r\nexport class XTooltipDirective extends XTooltipProperty implements OnChanges, OnDestroy {\r\n portal!: XPortalOverlayRef<XTooltipPortalComponent>;\r\n box!: DOMRect;\r\n contentChange: BehaviorSubject<any> = new BehaviorSubject(null);\r\n positionChange: Subject<any> = new Subject();\r\n timeoutHide: any;\r\n timeoutShow: any;\r\n private _unSubject = new Subject();\r\n\r\n constructor(\r\n private elementRef: ElementRef,\r\n private portalService: XPortalService,\r\n private viewContainerRef: ViewContainerRef,\r\n private overlay: Overlay\r\n ) {\r\n super();\r\n }\r\n\r\n @HostBinding('class.x-tooltip-show') get _show() {\r\n return this.visible;\r\n }\r\n\r\n @HostListener('mouseenter') mouseenter() {\r\n !this.disabled && !this.manual && this.show();\r\n }\r\n\r\n @HostListener('mouseleave') mouseleave() {\r\n !this.disabled && !this.manual && this.hide();\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n const { content, visible } = changes;\r\n XIsChange(content) && this.contentChange.next(this.content);\r\n if (XIsChange(visible)) {\r\n if (this.visible) this.show();\r\n else this.hide();\r\n }\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.contentChange.unsubscribe();\r\n }\r\n\r\n show() {\r\n if (this.timeoutHide) clearTimeout(this.timeoutHide);\r\n if (this.timeoutShow) clearTimeout(this.timeoutShow);\r\n if (!this.portal || (this.portal && !this.portal.overlayRef?.hasAttached())) {\r\n this.timeoutShow = setTimeout(() => {\r\n this.visible = true;\r\n this.createPortal();\r\n }, this.mouseEnterDelay);\r\n }\r\n }\r\n\r\n hide() {\r\n if (this.timeoutHide) clearTimeout(this.timeoutHide);\r\n if (this.timeoutShow) clearTimeout(this.timeoutShow);\r\n if (this.portal?.overlayRef?.hasAttached()) {\r\n this.timeoutHide = setTimeout(() => {\r\n this.visible = false;\r\n this.portal.overlayRef?.dispose();\r\n }, this.mouseLeaveDelay);\r\n }\r\n }\r\n\r\n createPortal() {\r\n const config: OverlayConfig = {\r\n panelClass: this.panelClass,\r\n backdropClass: '',\r\n positionStrategy: this.portalService.setPlacement({\r\n elementRef: this.connectTo\r\n ? this.connectTo instanceof ElementRef\r\n ? this.connectTo\r\n : new ElementRef(this.connectTo)\r\n : this.elementRef,\r\n placement: [this.placement as XPlacement, 'bottom', 'top', 'left', 'right']\r\n }),\r\n scrollStrategy: this.overlay.scrollStrategies.reposition()\r\n };\r\n this.setPosition(config);\r\n this.portal = this.portalService.attach({\r\n content: XTooltipPortalComponent,\r\n viewContainerRef: this.viewContainerRef,\r\n overlayConfig: config\r\n });\r\n this.setInstance();\r\n }\r\n\r\n setPosition(config: OverlayConfig) {\r\n let position = config.positionStrategy as FlexibleConnectedPositionStrategy;\r\n position.positionChanges.pipe(takeUntil(this._unSubject)).subscribe((pos: ConnectedOverlayPositionChange) => {\r\n const place = XPortalConnectedPosition.get(pos.connectionPair) as XPlacement;\r\n place !== this.placement && this.positionChange.next(place);\r\n });\r\n }\r\n\r\n setInstance() {\r\n let componentRef = this.portal?.componentRef;\r\n if (!componentRef) return;\r\n this.box = this.elementRef.nativeElement.getBoundingClientRect();\r\n Object.assign(componentRef.instance, {\r\n box: this.box,\r\n content: this.content,\r\n contentChange: this.contentChange,\r\n color: this.color,\r\n backgroundColor: this.backgroundColor,\r\n placement: this.placement,\r\n positionChange: this.positionChange,\r\n portalHover: (hover: boolean) => {\r\n if (this.timeoutHide && hover) {\r\n clearTimeout(this.timeoutHide);\r\n } else {\r\n this.hide();\r\n }\r\n },\r\n viewInit: () => this.updatePortal()\r\n });\r\n componentRef.changeDetectorRef.detectChanges();\r\n }\r\n\r\n updatePortal() {\r\n this.portal.overlayRef?.updatePosition();\r\n }\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { XTooltipDirective } from './tooltip.directive';\r\nimport { XTooltipPortalComponent } from './tooltip-portal.component';\r\nimport { XPortalModule } from '@ng-nest/ui/portal';\r\nimport { XTooltipProperty } from './tooltip.property';\r\n\r\n@NgModule({\r\n declarations: [XTooltipDirective, XTooltipPortalComponent, XTooltipProperty],\r\n exports: [XTooltipDirective, XTooltipPortalComponent],\r\n imports: [CommonModule, XPortalModule]\r\n})\r\nexport class XTooltipModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;AAGA;;;;AAIG;AACI,MAAM,cAAc,GAAG,YAAY;AAC1C,MAAM,aAAa,GAAG,SAAS,CAAC;AAEhC;;AAEG;AACH,MACa,gBAAgB,CAAA;AAD7B,IAAA,WAAA,GAAA;AA0CE;;;AAGG;QACM,IAAe,CAAA,eAAA,GAAW,GAAG,CAAC;AACvC;;;AAGG;QACM,IAAe,CAAA,eAAA,GAAW,GAAG,CAAC;AACvC;;;AAGG;QACuB,IAAQ,CAAA,QAAA,GAAc,KAAK,CAAC;AACvD,KAAA;iIAxDY,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;qHAAhB,gBAAgB,EAAA,QAAA,EAAA,wBAAA,EAAA,MAAA,EAAA,EAAA,OAAA,EAAA,SAAA,EAAA,SAAA,EAAA,WAAA,EAAA,OAAA,EAAA,SAAA,EAAA,UAAA,EAAA,YAAA,EAAA,SAAA,EAAA,WAAA,EAAA,eAAA,EAAA,iBAAA,EAAA,KAAA,EAAA,OAAA,EAAA,MAAA,EAAA,QAAA,EAAA,eAAA,EAAA,iBAAA,EAAA,eAAA,EAAA,iBAAA,EAAA,QAAA,EAAA,UAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;AAUgC,UAAA,CAAA;AAAjD,IAAA,WAAW,CAAa,aAAa,EAAE,QAAQ,CAAC;AAAwB,CAAA,EAAA,gBAAA,CAAA,SAAA,EAAA,WAAA,EAAA,KAAA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ACN,oBAAA,YAAY,EAAE,CAAC,iBAAiB,EAAE,uBAAuB,EAAE,gBAAgB,CAAC;AAC5E,oBAAA,OAAO,EAAE,CAAC,iBAAiB,EAAE,uBAAuB,CAAC;AACrD,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,aAAa,CAAC;AACzC,iBAAA,CAAA;;;ACXD;;AAEG;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ng-nest/ui",
|
|
3
|
-
"version": "16.0.
|
|
3
|
+
"version": "16.0.1",
|
|
4
|
+
"license": "MIT",
|
|
4
5
|
"homepage": "https://www.ngnest.com",
|
|
5
6
|
"author": "ng-nest",
|
|
6
7
|
"ng-update": {
|
|
@@ -58,18 +59,18 @@
|
|
|
58
59
|
"esm": "./esm2022/api/ng-nest-ui-api.mjs",
|
|
59
60
|
"default": "./fesm2022/ng-nest-ui-api.mjs"
|
|
60
61
|
},
|
|
61
|
-
"./auto-complete": {
|
|
62
|
-
"types": "./auto-complete/index.d.ts",
|
|
63
|
-
"esm2022": "./esm2022/auto-complete/ng-nest-ui-auto-complete.mjs",
|
|
64
|
-
"esm": "./esm2022/auto-complete/ng-nest-ui-auto-complete.mjs",
|
|
65
|
-
"default": "./fesm2022/ng-nest-ui-auto-complete.mjs"
|
|
66
|
-
},
|
|
67
62
|
"./avatar": {
|
|
68
63
|
"types": "./avatar/index.d.ts",
|
|
69
64
|
"esm2022": "./esm2022/avatar/ng-nest-ui-avatar.mjs",
|
|
70
65
|
"esm": "./esm2022/avatar/ng-nest-ui-avatar.mjs",
|
|
71
66
|
"default": "./fesm2022/ng-nest-ui-avatar.mjs"
|
|
72
67
|
},
|
|
68
|
+
"./auto-complete": {
|
|
69
|
+
"types": "./auto-complete/index.d.ts",
|
|
70
|
+
"esm2022": "./esm2022/auto-complete/ng-nest-ui-auto-complete.mjs",
|
|
71
|
+
"esm": "./esm2022/auto-complete/ng-nest-ui-auto-complete.mjs",
|
|
72
|
+
"default": "./fesm2022/ng-nest-ui-auto-complete.mjs"
|
|
73
|
+
},
|
|
73
74
|
"./back-top": {
|
|
74
75
|
"types": "./back-top/index.d.ts",
|
|
75
76
|
"esm2022": "./esm2022/back-top/ng-nest-ui-back-top.mjs",
|
|
@@ -21,6 +21,7 @@ export declare class XPopoverDirective extends XPopoverProperty implements OnCha
|
|
|
21
21
|
private _unSubject;
|
|
22
22
|
private realPlacement;
|
|
23
23
|
constructor(elementRef: ElementRef, portalService: XPortalService, viewContainerRef: ViewContainerRef, overlay: Overlay, configService: XConfigService);
|
|
24
|
+
get _show(): import("@ng-nest/ui/core").XBoolean | undefined;
|
|
24
25
|
click(): void;
|
|
25
26
|
mouseenter(): void;
|
|
26
27
|
mouseleave(): void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { XPlacement, XTemplate, XProperty, XBoolean } from '@ng-nest/ui/core';
|
|
2
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { EventEmitter, ElementRef } from '@angular/core';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
/**
|
|
5
5
|
* Popover
|
|
@@ -26,6 +26,16 @@ export declare class XPopoverProperty extends XProperty {
|
|
|
26
26
|
* @en_US At the bottom, support custom templates
|
|
27
27
|
*/
|
|
28
28
|
footer?: XTemplate;
|
|
29
|
+
/**
|
|
30
|
+
* @zh_CN 内部样式
|
|
31
|
+
* @en_US panel class
|
|
32
|
+
*/
|
|
33
|
+
panelClass?: string | string[];
|
|
34
|
+
/**
|
|
35
|
+
* @zh_CN 指定参考对象
|
|
36
|
+
* @en_US specify reference object
|
|
37
|
+
*/
|
|
38
|
+
connectTo?: ElementRef<HTMLElement> | HTMLElement;
|
|
29
39
|
/**
|
|
30
40
|
* @zh_CN 弹出的位置
|
|
31
41
|
* @en_US Pop-up position
|
|
@@ -67,7 +77,7 @@ export declare class XPopoverProperty extends XProperty {
|
|
|
67
77
|
*/
|
|
68
78
|
visibleChange: EventEmitter<XBoolean>;
|
|
69
79
|
static ɵfac: i0.ɵɵFactoryDeclaration<XPopoverProperty, never>;
|
|
70
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<XPopoverProperty, "[x-popover], x-popover", never, { "title": { "alias": "title"; "required": false; }; "content": { "alias": "content"; "required": false; }; "footer": { "alias": "footer"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "trigger": { "alias": "trigger"; "required": false; }; "width": { "alias": "width"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; "condition": { "alias": "condition"; "required": false; }; "mouseEnterDelay": { "alias": "mouseEnterDelay"; "required": false; }; "mouseLeaveDelay": { "alias": "mouseLeaveDelay"; "required": false; }; }, { "visibleChange": "visibleChange"; }, never, never, false, never>;
|
|
80
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<XPopoverProperty, "[x-popover], x-popover", never, { "title": { "alias": "title"; "required": false; }; "content": { "alias": "content"; "required": false; }; "footer": { "alias": "footer"; "required": false; }; "panelClass": { "alias": "panelClass"; "required": false; }; "connectTo": { "alias": "connectTo"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "trigger": { "alias": "trigger"; "required": false; }; "width": { "alias": "width"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; "condition": { "alias": "condition"; "required": false; }; "mouseEnterDelay": { "alias": "mouseEnterDelay"; "required": false; }; "mouseLeaveDelay": { "alias": "mouseLeaveDelay"; "required": false; }; }, { "visibleChange": "visibleChange"; }, never, never, false, never>;
|
|
71
81
|
}
|
|
72
82
|
/**
|
|
73
83
|
* @zh_CN 激活方式
|
|
@@ -18,6 +18,7 @@ export declare class XTooltipDirective extends XTooltipProperty implements OnCha
|
|
|
18
18
|
timeoutShow: any;
|
|
19
19
|
private _unSubject;
|
|
20
20
|
constructor(elementRef: ElementRef, portalService: XPortalService, viewContainerRef: ViewContainerRef, overlay: Overlay);
|
|
21
|
+
get _show(): import("@ng-nest/ui/core").XBoolean | undefined;
|
|
21
22
|
mouseenter(): void;
|
|
22
23
|
mouseleave(): void;
|
|
23
24
|
ngOnChanges(changes: SimpleChanges): void;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { XPlacement, XBoolean } from '@ng-nest/ui/core';
|
|
2
|
+
import { ElementRef } from '@angular/core';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
/**
|
|
4
5
|
* Tooltip
|
|
@@ -25,6 +26,16 @@ export declare class XTooltipProperty {
|
|
|
25
26
|
* @en_US Show/hide
|
|
26
27
|
*/
|
|
27
28
|
visible?: XBoolean;
|
|
29
|
+
/**
|
|
30
|
+
* @zh_CN 内部样式
|
|
31
|
+
* @en_US panel class
|
|
32
|
+
*/
|
|
33
|
+
panelClass?: string | string[];
|
|
34
|
+
/**
|
|
35
|
+
* @zh_CN 指定参考对象
|
|
36
|
+
* @en_US specify reference object
|
|
37
|
+
*/
|
|
38
|
+
connectTo?: ElementRef<HTMLElement> | HTMLElement;
|
|
28
39
|
/**
|
|
29
40
|
* @zh_CN 背景颜色
|
|
30
41
|
* @en_US Background color
|
|
@@ -56,7 +67,7 @@ export declare class XTooltipProperty {
|
|
|
56
67
|
*/
|
|
57
68
|
disabled?: XBoolean;
|
|
58
69
|
static ɵfac: i0.ɵɵFactoryDeclaration<XTooltipProperty, never>;
|
|
59
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<XTooltipProperty, "[x-tooltip], x-tooltip", never, { "content": { "alias": "content"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; "backgroundColor": { "alias": "backgroundColor"; "required": false; }; "color": { "alias": "color"; "required": false; }; "manual": { "alias": "manual"; "required": false; }; "mouseEnterDelay": { "alias": "mouseEnterDelay"; "required": false; }; "mouseLeaveDelay": { "alias": "mouseLeaveDelay"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, never, false, never>;
|
|
70
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<XTooltipProperty, "[x-tooltip], x-tooltip", never, { "content": { "alias": "content"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; "panelClass": { "alias": "panelClass"; "required": false; }; "connectTo": { "alias": "connectTo"; "required": false; }; "backgroundColor": { "alias": "backgroundColor"; "required": false; }; "color": { "alias": "color"; "required": false; }; "manual": { "alias": "manual"; "required": false; }; "mouseEnterDelay": { "alias": "mouseEnterDelay"; "required": false; }; "mouseLeaveDelay": { "alias": "mouseLeaveDelay"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, never, false, never>;
|
|
60
71
|
}
|
|
61
72
|
/**
|
|
62
73
|
* Tooltip Portal
|