Browse Source

update: remove unused imports

pull/24777/head
sumeyye 8 months ago
parent
commit
849e60f5eb
  1. 14
      npm/ng-packs/packages/components/extensible/src/lib/components/extensible-table/extensible-table.component.ts
  2. 4
      npm/ng-packs/packages/theme-shared/src/lib/components/button/button.component.ts

14
npm/ng-packs/packages/components/extensible/src/lib/components/extensible-table/extensible-table.component.ts

@ -4,8 +4,6 @@ import {
ChangeDetectorRef, ChangeDetectorRef,
Component, Component,
computed, computed,
ContentChild,
EventEmitter,
inject, inject,
Injector, Injector,
LOCALE_ID, LOCALE_ID,
@ -14,12 +12,11 @@ import {
signal, signal,
TemplateRef, TemplateRef,
TrackByFunction, TrackByFunction,
ViewChild,
input, input,
effect, effect,
output, output,
contentChild, contentChild,
viewChild viewChild,
} from '@angular/core'; } from '@angular/core';
import { AsyncPipe, isPlatformBrowser, NgComponentOutlet, NgTemplateOutlet } from '@angular/common'; import { AsyncPipe, isPlatformBrowser, NgComponentOutlet, NgTemplateOutlet } from '@angular/common';
@ -111,9 +108,12 @@ export class ExtensibleTableComponent<R = any> implements AfterViewInit, OnDestr
}); });
readonly actionsTemplate = input<TemplateRef<any> | undefined>(undefined); readonly actionsTemplate = input<TemplateRef<any> | undefined>(undefined);
readonly selectable = input(false); readonly selectable = input(false);
readonly selectionTypeInput = input<SelectionType | keyof typeof SelectionType>(SelectionType.multiClick, { readonly selectionTypeInput = input<SelectionType | keyof typeof SelectionType>(
alias: 'selectionType', SelectionType.multiClick,
}); {
alias: 'selectionType',
},
);
readonly selected = input<any[]>([]); readonly selected = input<any[]>([]);
readonly infiniteScroll = input(false); readonly infiniteScroll = input(false);
readonly isLoading = input(false); readonly isLoading = input(false);

4
npm/ng-packs/packages/theme-shared/src/lib/components/button/button.component.ts

@ -4,14 +4,12 @@ import {
ElementRef, ElementRef,
OnInit, OnInit,
Renderer2, Renderer2,
ViewChild,
computed, computed,
effect,
inject, inject,
input, input,
output, output,
signal, signal,
viewChild viewChild,
} from '@angular/core'; } from '@angular/core';
import { ABP, StopPropagationDirective } from '@abp/ng.core'; import { ABP, StopPropagationDirective } from '@abp/ng.core';

Loading…
Cancel
Save