@coreui/angular-pro 5.6.7 → 5.6.8

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/LICENSE CHANGED
@@ -1,3 +1,3 @@
1
- Copyright (c) 2017-2025 creativeLabs Łukasz Holeczek
1
+ Copyright (c) 2017-2026 creativeLabs Łukasz Holeczek
2
2
 
3
- This is proprietary software. To use it, you have to obtain a commercial license.
3
+ This is proprietary software. A valid commercial license is required for all use cases. To obtain a license, please visit [coreui.io](https://coreui.io/pricing/?framework=angular) or contact [sales](https://coreui.io/contact/sales/). Usage without a license is a violation of our terms and conditions.
package/README.md CHANGED
@@ -189,9 +189,9 @@ See [the Releases section of our project](https://github.com/coreui/coreui-angul
189
189
 
190
190
  ## Copyright and license
191
191
 
192
- Copyright 2017-2025 creativeLabs Łukasz Holeczek.
192
+ Copyright 2017-2026 creativeLabs Łukasz Holeczek.
193
193
 
194
- This is proprietary software. To use it, you have to obtain a commercial license.
194
+ This is proprietary software. A valid commercial license is required for all use cases. To obtain a license, please visit [coreui.io](https://coreui.io/pricing/?framework=angular) or contact [sales](https://coreui.io/contact/sales/). Usage without a license is a violation of our terms and conditions.
195
195
 
196
196
 
197
197
  [npm-coreui-angular-badge-v5-ng21]: https://img.shields.io/npm/v/@coreui/angular-pro/v5-ng21?style=flat-square&color=brightgreen
@@ -13925,6 +13925,8 @@ class PopoverDirective {
13925
13925
  #intersectionService = inject(IntersectionService);
13926
13926
  #destroyRef = inject(DestroyRef);
13927
13927
  #document = inject(DOCUMENT);
13928
+ #timerId1;
13929
+ #timerId2;
13928
13930
  /**
13929
13931
  * Content of popover
13930
13932
  * @return {string | TemplateRef}
@@ -14080,26 +14082,31 @@ class PopoverDirective {
14080
14082
  this.removeTooltipElement();
14081
14083
  return;
14082
14084
  }
14083
- setTimeout(() => {
14085
+ clearTimeout(this.#timerId2);
14086
+ clearTimeout(this.#timerId1);
14087
+ this.#timerId1 = setTimeout(() => {
14084
14088
  this.tooltipId = this.getUID('popover');
14085
14089
  this.tooltipRef?.setInput('id', this.tooltipId);
14086
14090
  this.#renderer.removeClass(this.tooltip, 'd-none');
14087
14091
  this.tooltipRef?.setInput('visible', this.visible());
14088
14092
  this.popperInstance?.forceUpdate();
14089
14093
  this.#changeDetectorRef?.markForCheck();
14090
- }, 100);
14094
+ this.#timerId1 = undefined;
14095
+ }, 150);
14091
14096
  }
14092
14097
  removeTooltipElement() {
14093
14098
  this.tooltipId = '';
14094
14099
  if (!this.tooltipRef) {
14095
14100
  return;
14096
14101
  }
14102
+ clearTimeout(this.#timerId2);
14103
+ this.#timerId2 = setTimeout(() => {
14104
+ this.#viewContainerRef?.detach();
14105
+ this.#timerId2 = undefined;
14106
+ }, 300);
14097
14107
  this.tooltipRef.setInput('visible', false);
14098
14108
  this.tooltipRef.setInput('id', undefined);
14099
14109
  this.#changeDetectorRef.markForCheck();
14100
- setTimeout(() => {
14101
- this.#viewContainerRef?.detach();
14102
- }, 300);
14103
14110
  }
14104
14111
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: PopoverDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
14105
14112
  static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.1.0", type: PopoverDirective, isStandalone: true, selector: "[cPopover]", inputs: { content: { classPropertyName: "content", publicName: "cPopover", isSignal: true, isRequired: false, transformFunction: null }, popperOptions: { classPropertyName: "popperOptions", publicName: "cPopoverOptions", isSignal: true, isRequired: false, transformFunction: null }, placement: { classPropertyName: "placement", publicName: "cPopoverPlacement", isSignal: true, isRequired: false, transformFunction: null }, reference: { classPropertyName: "reference", publicName: "cTooltipRef", isSignal: true, isRequired: false, transformFunction: null }, trigger: { classPropertyName: "trigger", publicName: "cPopoverTrigger", isSignal: true, isRequired: false, transformFunction: null }, visible: { classPropertyName: "visible", publicName: "cPopoverVisible", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { visible: "cPopoverVisibleChange" }, host: { properties: { "attr.aria-describedby": "ariaDescribedBy" } }, providers: [ListenersService, IntersectionService], exportAs: ["cPopover"], ngImport: i0 });
@@ -14431,6 +14438,8 @@ class TooltipDirective {
14431
14438
  #intersectionService = inject(IntersectionService);
14432
14439
  #destroyRef = inject(DestroyRef);
14433
14440
  #document = inject(DOCUMENT);
14441
+ #timerId1;
14442
+ #timerId2;
14434
14443
  /**
14435
14444
  * Content of tooltip
14436
14445
  * @return {string | TemplateRef}
@@ -14586,26 +14595,31 @@ class TooltipDirective {
14586
14595
  this.removeTooltipElement();
14587
14596
  return;
14588
14597
  }
14589
- setTimeout(() => {
14598
+ clearTimeout(this.#timerId2);
14599
+ clearTimeout(this.#timerId1);
14600
+ this.#timerId1 = setTimeout(() => {
14590
14601
  this.tooltipId = this.getUID('tooltip');
14591
14602
  this.tooltipRef?.setInput('id', this.tooltipId);
14592
14603
  this.#renderer.removeClass(this.tooltip, 'd-none');
14593
14604
  this.tooltipRef?.setInput('visible', this.visible());
14594
14605
  this.popperInstance?.forceUpdate();
14595
14606
  this.#changeDetectorRef?.markForCheck();
14596
- }, 100);
14607
+ this.#timerId1 = undefined;
14608
+ }, 150);
14597
14609
  }
14598
14610
  removeTooltipElement() {
14599
14611
  this.tooltipId = '';
14600
14612
  if (!this.tooltipRef) {
14601
14613
  return;
14602
14614
  }
14615
+ clearTimeout(this.#timerId2);
14616
+ this.#timerId2 = setTimeout(() => {
14617
+ this.#viewContainerRef?.detach();
14618
+ this.#timerId2 = undefined;
14619
+ }, 300);
14603
14620
  this.tooltipRef.setInput('visible', false);
14604
14621
  this.tooltipRef.setInput('id', undefined);
14605
14622
  this.#changeDetectorRef.markForCheck();
14606
- setTimeout(() => {
14607
- this.#viewContainerRef?.detach();
14608
- }, 300);
14609
14623
  }
14610
14624
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: TooltipDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
14611
14625
  static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.1.0", type: TooltipDirective, isStandalone: true, selector: "[cTooltip]", inputs: { content: { classPropertyName: "content", publicName: "cTooltip", isSignal: true, isRequired: false, transformFunction: null }, popperOptions: { classPropertyName: "popperOptions", publicName: "cTooltipOptions", isSignal: true, isRequired: false, transformFunction: null }, placement: { classPropertyName: "placement", publicName: "cTooltipPlacement", isSignal: true, isRequired: false, transformFunction: null }, reference: { classPropertyName: "reference", publicName: "cTooltipRef", isSignal: true, isRequired: false, transformFunction: null }, trigger: { classPropertyName: "trigger", publicName: "cTooltipTrigger", isSignal: true, isRequired: false, transformFunction: null }, visible: { classPropertyName: "visible", publicName: "cTooltipVisible", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { visible: "cTooltipVisibleChange" }, host: { properties: { "attr.aria-describedby": "ariaDescribedBy" } }, providers: [ListenersService, IntersectionService], exportAs: ["cTooltip"], ngImport: i0 });