@dev-tcloud/tcloud-ui 0.0.49 → 0.0.50

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.
@@ -2526,6 +2526,62 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
2526
2526
  type: Input
2527
2527
  }] } });
2528
2528
 
2529
+ class TCloudUiHoverParentDirective {
2530
+ constructor(renderer) {
2531
+ this.renderer = renderer;
2532
+ }
2533
+ onMouseOver() {
2534
+ if (this.getElement()) {
2535
+ const el = this.getElement();
2536
+ if (el) {
2537
+ this.renderer.addClass(el, (this.CLASS) ? this.CLASS : 'tcloud-hover-parent');
2538
+ }
2539
+ }
2540
+ }
2541
+ onMouseOut() {
2542
+ if (this.getElement()) {
2543
+ const el = this.getElement();
2544
+ if (el) {
2545
+ this.renderer.removeClass(el, (this.CLASS) ? this.CLASS : 'tcloud-hover-parent');
2546
+ }
2547
+ }
2548
+ }
2549
+ set TCHoverParent(id) {
2550
+ if (id) {
2551
+ this.ID = id;
2552
+ }
2553
+ }
2554
+ set TCHoverParentClass(clss) {
2555
+ if (clss) {
2556
+ this.CLASS = clss;
2557
+ }
2558
+ }
2559
+ getElement() {
2560
+ if (this.ID) {
2561
+ return document.getElementById(this.ID) || undefined;
2562
+ }
2563
+ return undefined;
2564
+ }
2565
+ }
2566
+ TCloudUiHoverParentDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TCloudUiHoverParentDirective, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
2567
+ TCloudUiHoverParentDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.12", type: TCloudUiHoverParentDirective, selector: "[TCHoverParent]", inputs: { TCHoverParent: "TCHoverParent", TCHoverParentClass: "TCHoverParentClass" }, host: { listeners: { "mouseover": "onMouseOver()", "mouseout": "onMouseOut()" } }, ngImport: i0 });
2568
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TCloudUiHoverParentDirective, decorators: [{
2569
+ type: Directive,
2570
+ args: [{
2571
+ selector: '[TCHoverParent]'
2572
+ }]
2573
+ }], ctorParameters: function () { return [{ type: i0.Renderer2 }]; }, propDecorators: { onMouseOver: [{
2574
+ type: HostListener,
2575
+ args: ['mouseover']
2576
+ }], onMouseOut: [{
2577
+ type: HostListener,
2578
+ args: ['mouseout']
2579
+ }], TCHoverParent: [{
2580
+ type: Input
2581
+ }], TCHoverParentClass: [{
2582
+ type: Input
2583
+ }] } });
2584
+
2529
2585
  class TCloudUiTooltipDirective {
2530
2586
  constructor(el, renderer) {
2531
2587
  this.el = el;
@@ -2691,19 +2747,23 @@ class TCloudUiDirectiveModule {
2691
2747
  }
2692
2748
  TCloudUiDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TCloudUiDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2693
2749
  TCloudUiDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.12", ngImport: i0, type: TCloudUiDirectiveModule, declarations: [TCloudUiTooltipDirective,
2694
- TCloudUiAlignDirective], exports: [TCloudUiTooltipDirective,
2695
- TCloudUiAlignDirective] });
2750
+ TCloudUiAlignDirective,
2751
+ TCloudUiHoverParentDirective], exports: [TCloudUiTooltipDirective,
2752
+ TCloudUiAlignDirective,
2753
+ TCloudUiHoverParentDirective] });
2696
2754
  TCloudUiDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TCloudUiDirectiveModule });
2697
2755
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TCloudUiDirectiveModule, decorators: [{
2698
2756
  type: NgModule,
2699
2757
  args: [{
2700
2758
  declarations: [
2701
2759
  TCloudUiTooltipDirective,
2702
- TCloudUiAlignDirective
2760
+ TCloudUiAlignDirective,
2761
+ TCloudUiHoverParentDirective
2703
2762
  ],
2704
2763
  exports: [
2705
2764
  TCloudUiTooltipDirective,
2706
- TCloudUiAlignDirective
2765
+ TCloudUiAlignDirective,
2766
+ TCloudUiHoverParentDirective
2707
2767
  ],
2708
2768
  }]
2709
2769
  }] });
@@ -3539,5 +3599,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
3539
3599
  * Generated bundle index. Do not edit.
3540
3600
  */
3541
3601
 
3542
- export { BytesPipe, CNPJPipe, CPFPipe, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$2 as CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR, MonthNamePipe, RespectivePipe, StatusInfoPipe, TCCondition, TCFiltersType, TCloudUiAccordionBodyComponent, TCloudUiAccordionComponent, TCloudUiAccordionModule, TCloudUiAccordionTitleComponent, TCloudUiAlignDirective, TCloudUiChoiceIssuesComponent, TCloudUiChoiceIssuesModule, TCloudUiDataListComponent, TCloudUiDataListModule, TCloudUiDataListOptionComponent, TCloudUiDirectiveModule, TCloudUiFiltersComponent, TCloudUiFiltersModule, TCloudUiInputSearchComponent, TCloudUiInputSearchModule, TCloudUiLineStepCircleComponent, TCloudUiLineStepCircleModule, TCloudUiLinhaLogoComponent, TCloudUiLinhaLogoModule, TCloudUiLoadingTransitionsService, TCloudUiModalBodyComponent, TCloudUiModalComponent, TCloudUiModalFooterComponent, TCloudUiModalHeaderComponent, TCloudUiModalModule, TCloudUiModule, TCloudUiMultiInputComponent, TCloudUiMultiInputModule, TCloudUiMultiSelectComponent, TCloudUiMultiSelectModule, TCloudUiNotFoundComponent, TCloudUiNotFoundModule, TCloudUiNumberStepComponent, TCloudUiNumberStepModule, TCloudUiPipesModule, TCloudUiScrollBoxComponent, TCloudUiScrollBoxModule, TCloudUiSearchInObjectService, TCloudUiTabContentComponent, TCloudUiTabHeadComponent, TCloudUiTabMenuComponent, TCloudUiTabMenuModule, TCloudUiTabSubtitleComponent, TCloudUiTabTitleComponent, TCloudUiTableComponent, TCloudUiTableModule, TCloudUiTooltipDirective };
3602
+ export { BytesPipe, CNPJPipe, CPFPipe, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$2 as CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR, MonthNamePipe, RespectivePipe, StatusInfoPipe, TCCondition, TCFiltersType, TCloudUiAccordionBodyComponent, TCloudUiAccordionComponent, TCloudUiAccordionModule, TCloudUiAccordionTitleComponent, TCloudUiAlignDirective, TCloudUiChoiceIssuesComponent, TCloudUiChoiceIssuesModule, TCloudUiDataListComponent, TCloudUiDataListModule, TCloudUiDataListOptionComponent, TCloudUiDirectiveModule, TCloudUiFiltersComponent, TCloudUiFiltersModule, TCloudUiHoverParentDirective, TCloudUiInputSearchComponent, TCloudUiInputSearchModule, TCloudUiLineStepCircleComponent, TCloudUiLineStepCircleModule, TCloudUiLinhaLogoComponent, TCloudUiLinhaLogoModule, TCloudUiLoadingTransitionsService, TCloudUiModalBodyComponent, TCloudUiModalComponent, TCloudUiModalFooterComponent, TCloudUiModalHeaderComponent, TCloudUiModalModule, TCloudUiModule, TCloudUiMultiInputComponent, TCloudUiMultiInputModule, TCloudUiMultiSelectComponent, TCloudUiMultiSelectModule, TCloudUiNotFoundComponent, TCloudUiNotFoundModule, TCloudUiNumberStepComponent, TCloudUiNumberStepModule, TCloudUiPipesModule, TCloudUiScrollBoxComponent, TCloudUiScrollBoxModule, TCloudUiSearchInObjectService, TCloudUiTabContentComponent, TCloudUiTabHeadComponent, TCloudUiTabMenuComponent, TCloudUiTabMenuModule, TCloudUiTabSubtitleComponent, TCloudUiTabTitleComponent, TCloudUiTableComponent, TCloudUiTableModule, TCloudUiTooltipDirective };
3543
3603
  //# sourceMappingURL=dev-tcloud-tcloud-ui.mjs.map