@stemy/ngx-utils 19.0.5 → 19.0.7

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.
@@ -342,6 +342,7 @@ export interface ITableColumn {
342
342
  title?: string;
343
343
  sort?: string;
344
344
  filter?: boolean;
345
+ filterType?: "text" | "checkbox";
345
346
  [key: string]: any;
346
347
  }
347
348
  export interface ITableColumns {
@@ -357,7 +358,7 @@ export interface ITableTemplates {
357
358
  [column: string]: ITableTemplate;
358
359
  }
359
360
  export interface ITableDataQuery {
360
- [column: string]: string;
361
+ [column: string]: string | boolean;
361
362
  }
362
363
  export type TableDataLoader = (page: number, rowsPerPage: number, orderBy: string, orderDescending: boolean, filter: string, query: ITableDataQuery) => Promise<IPaginationData>;
363
364
  export declare class ResourceIfContext {
@@ -48,7 +48,7 @@ export declare class DynamicTableComponent implements AfterContentInit, AfterVie
48
48
  refresh(time?: number): void;
49
49
  setFilter(filter: string): void;
50
50
  setOrder(column: string): void;
51
- updateQuery(col: string, value: string): void;
51
+ updateQuery(c: string, value: string | boolean): void;
52
52
  loadData: (page: number, itemsPerPage: number) => Promise<IPaginationData>;
53
53
  private loadLocalData;
54
54
  static ɵfac: i0.ɵɵFactoryDeclaration<DynamicTableComponent, never>;
@@ -50,8 +50,8 @@ import { PaginationMenuComponent } from "./components/pagination-menu/pagination
50
50
  import { UnorderedListComponent } from "./components/unordered-list/unordered-list.component";
51
51
  export declare const pipes: (typeof FilterPipe | typeof FormatNumberPipe | typeof GlobalTemplatePipe | typeof ReducePipe | typeof RoundPipe | typeof SafeHtmlPipe | typeof TranslatePipe)[];
52
52
  export declare const directives: (typeof AsyncMethodBase | typeof BackgroundDirective | typeof DynamicTableTemplateDirective | typeof GlobalTemplateDirective | typeof IconDirective | typeof NgxTemplateOutletDirective | typeof PaginationDirective | typeof PaginationItemDirective | typeof ResourceIfDirective | typeof StickyDirective | typeof StickyClassDirective | typeof UnorderedListItemDirective | typeof UnorderedListTemplateDirective)[];
53
- export declare const components: (typeof DynamicTableComponent | typeof PaginationMenuComponent | typeof UnorderedListComponent)[];
54
- export declare const providers: (typeof FilterPipe | typeof FormatNumberPipe | typeof GlobalTemplatePipe | typeof ReducePipe | typeof RoundPipe | typeof SafeHtmlPipe | typeof TranslatePipe | typeof BaseHttpClient | typeof BaseHttpService | typeof AuthGuard | typeof AclService | typeof StaticAuthService | typeof ConfigService | typeof BaseDialogService | typeof ErrorHandlerService | typeof EventsService | typeof FormatterService | typeof GlobalTemplateService | typeof IconService | typeof StaticLanguageService | typeof OpenApiService | typeof PromiseService | typeof StateService | typeof StorageService | typeof BaseToasterService | typeof TranslatedUrlSerializer | typeof UniversalService | typeof WasmService | typeof DeviceDetectorService | {
53
+ export declare const components: (typeof UnorderedListComponent | typeof DynamicTableComponent | typeof PaginationMenuComponent)[];
54
+ export declare const providers: (typeof UniversalService | typeof StateService | typeof AuthGuard | typeof BaseHttpClient | typeof StorageService | typeof BaseHttpService | typeof WasmService | typeof AclService | typeof StaticAuthService | typeof ConfigService | typeof BaseDialogService | typeof ErrorHandlerService | typeof EventsService | typeof FormatterService | typeof GlobalTemplateService | typeof IconService | typeof StaticLanguageService | typeof OpenApiService | typeof BaseToasterService | typeof TranslatedUrlSerializer | typeof PromiseService | typeof FilterPipe | typeof FormatNumberPipe | typeof GlobalTemplatePipe | typeof ReducePipe | typeof RoundPipe | typeof SafeHtmlPipe | typeof TranslatePipe | typeof DeviceDetectorService | {
55
55
  provide: import("@angular/core").InjectionToken<import("@angular/platform-browser").EventManagerPlugin[]>;
56
56
  useClass: typeof ResizeEventPlugin;
57
57
  multi: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stemy/ngx-utils",
3
- "version": "19.0.5",
3
+ "version": "19.0.7",
4
4
  "license": "MIT",
5
5
  "public": true,
6
6
  "repository": "https://github.com/stemyke/ngx-utils.git",