Browse Source

UI: Change name class from TruncateTooltipDirective to TruncateWithTooltipDirective

pull/11251/head
Vladyslav_Prykhodko 2 years ago
parent
commit
4acc32e6a9
  1. 4
      ui-ngx/src/app/modules/home/components/widget/lib/gateway/connectors-configuration/mapping-table/mapping-table.component.ts
  2. 4
      ui-ngx/src/app/modules/home/components/widget/lib/gateway/connectors-configuration/opc-server-config/opc-server-config.component.ts
  3. 4
      ui-ngx/src/app/modules/home/components/widget/lib/gateway/connectors-configuration/workers-config-control/workers-config-control.component.ts
  4. 2
      ui-ngx/src/app/shared/directives/truncate-with-tooltip.directive.ts

4
ui-ngx/src/app/modules/home/components/widget/lib/gateway/connectors-configuration/mapping-table/mapping-table.component.ts

@ -57,7 +57,7 @@ import { isDefinedAndNotNull, isUndefinedOrNull } from '@core/utils';
import { coerceBoolean } from '@shared/decorators/coercion';
import { SharedModule } from '@shared/shared.module';
import { CommonModule } from '@angular/common';
import { TruncateTooltipDirective } from '@shared/directives/truncate-tooltip.directive';
import { TruncateWithTooltipDirective } from '@shared/directives/truncate-with-tooltip.directive';
import { TbTableDatasource } from '@shared/components/table/table-datasource.abstract';
@Component({
@ -78,7 +78,7 @@ import { TbTableDatasource } from '@shared/components/table/table-datasource.abs
}
],
standalone: true,
imports: [CommonModule, SharedModule, TruncateTooltipDirective]
imports: [CommonModule, SharedModule, TruncateWithTooltipDirective]
})
export class MappingTableComponent implements ControlValueAccessor, Validator, AfterViewInit, OnInit, OnDestroy {

4
ui-ngx/src/app/modules/home/components/widget/lib/gateway/connectors-configuration/opc-server-config/opc-server-config.component.ts

@ -35,7 +35,7 @@ import { SharedModule } from '@shared/shared.module';
import { CommonModule } from '@angular/common';
import { Subject } from 'rxjs';
import { takeUntil } from 'rxjs/operators';
import { TruncateTooltipDirective } from '@shared/directives/truncate-tooltip.directive';
import { TruncateWithTooltipDirective } from '@shared/directives/truncate-with-tooltip.directive';
import {
SecurityConfigComponent
} from '@home/components/widget/lib/gateway/connectors-configuration/security-config/security-config.component';
@ -62,7 +62,7 @@ import {
CommonModule,
SharedModule,
SecurityConfigComponent,
TruncateTooltipDirective,
TruncateWithTooltipDirective,
]
})
export class OpcServerConfigComponent implements ControlValueAccessor, Validator, OnDestroy {

4
ui-ngx/src/app/modules/home/components/widget/lib/gateway/connectors-configuration/workers-config-control/workers-config-control.component.ts

@ -35,7 +35,7 @@ import { CommonModule } from '@angular/common';
import { WorkersConfig } from '@home/components/widget/lib/gateway/gateway-widget.models';
import { Subject } from 'rxjs';
import { takeUntil } from 'rxjs/operators';
import { TruncateTooltipDirective } from '@shared/directives/truncate-tooltip.directive';
import { TruncateWithTooltipDirective } from '@shared/directives/truncate-with-tooltip.directive';
@Component({
selector: 'tb-workers-config-control',
@ -45,7 +45,7 @@ import { TruncateTooltipDirective } from '@shared/directives/truncate-tooltip.di
imports: [
CommonModule,
SharedModule,
TruncateTooltipDirective,
TruncateWithTooltipDirective,
],
providers: [
{

2
ui-ngx/src/app/shared/directives/truncate-tooltip.directive.ts → ui-ngx/src/app/shared/directives/truncate-with-tooltip.directive.ts

@ -33,7 +33,7 @@ import { coerceBoolean } from '@shared/decorators/coercion';
selector: '[tbTruncateWithTooltip]',
providers: [MatTooltip],
})
export class TruncateTooltipDirective implements OnInit, AfterViewInit, OnDestroy {
export class TruncateWithTooltipDirective implements OnInit, AfterViewInit, OnDestroy {
@Input('tbTruncateWithTooltip')
text: string;
Loading…
Cancel
Save