@coreui/angular-pro 4.3.3 → 4.3.5

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.
@@ -5,6 +5,7 @@ import { ISidebarAction, SidebarService } from '../sidebar.service';
5
5
  import { SidebarBackdropService } from '../sidebar-backdrop/sidebar-backdrop.service';
6
6
  import * as i0 from "@angular/core";
7
7
  export declare class SidebarComponent implements OnChanges, OnDestroy, OnInit {
8
+ #private;
8
9
  private document;
9
10
  private renderer;
10
11
  private breakpointObserver;
@@ -14,16 +15,9 @@ export declare class SidebarComponent implements OnChanges, OnDestroy, OnInit {
14
15
  static ngAcceptInputType_overlaid: BooleanInput;
15
16
  static ngAcceptInputType_unfoldable: BooleanInput;
16
17
  static ngAcceptInputType_visible: BooleanInput;
17
- private _narrow;
18
- private _overlaid;
19
- private _unfoldable;
20
- private _visible;
21
- private onMobile;
22
- private layoutChangeSubscription;
23
- private stateToggleSubscription;
24
18
  state: ISidebarAction;
25
19
  /**
26
- * Sets if the color of text should be colored for a light or dark dark background. [docs]
20
+ * Sets if the color of text should be colored for a light or dark background. [docs]
27
21
  *
28
22
  * @type 'dark' | 'light'
29
23
  */
@@ -78,7 +72,7 @@ export declare class SidebarComponent implements OnChanges, OnDestroy, OnInit {
78
72
  set sidebarState(value: ISidebarAction);
79
73
  get sidebarState(): ISidebarAction;
80
74
  get getMobileBreakpoint(): string;
81
- constructor(document: any, renderer: Renderer2, breakpointObserver: BreakpointObserver, sidebarService: SidebarService, backdropService: SidebarBackdropService);
75
+ constructor(document: Document, renderer: Renderer2, breakpointObserver: BreakpointObserver, sidebarService: SidebarService, backdropService: SidebarBackdropService);
82
76
  get getClasses(): any;
83
77
  ngOnInit(): void;
84
78
  ngOnDestroy(): void;
@@ -104,6 +104,7 @@ export declare class SmartTableComponent implements ISmartTable, AfterContentIni
104
104
  get rawColumnNames(): any[];
105
105
  get itemsDataColumns(): any[];
106
106
  get sortedItems(): IItemInternal[];
107
+ get tableFilterEvent(): 'change' | 'input';
107
108
  private _columnFiltered;
108
109
  get columnFiltered(): IItemInternal[];
109
110
  get tableFiltered(): IItemInternal[];
@@ -117,7 +118,10 @@ export declare class SmartTableComponent implements ISmartTable, AfterContentIni
117
118
  handleSorterChange(column: string, index: number): void;
118
119
  setActivePage($event: number): void;
119
120
  handleColumnFilterChange($event: any): void;
120
- handleTableFilterChange($event: any): void;
121
+ handleTableFilterChange($event: {
122
+ value: string;
123
+ type: string;
124
+ }): void;
121
125
  clean($event: MouseEvent): void;
122
126
  handleItemsPerPageChange(value: number): void;
123
127
  handleRowChecked($event: Event, item: IItemInternal): void;
@@ -0,0 +1,11 @@
1
+ import { IColumn } from '../smart-table.type';
2
+ import * as i0 from "@angular/core";
3
+ export declare class SmartTableColumnFilterComponent {
4
+ #private;
5
+ constructor();
6
+ readonly value$: import("rxjs").BehaviorSubject<string>;
7
+ set column(value: string | IColumn);
8
+ sizing?: 'sm' | 'lg';
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<SmartTableColumnFilterComponent, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<SmartTableColumnFilterComponent, "c-smart-table-column-filter", never, { "column": "column"; "sizing": "sizing"; }, {}, never, never, false, never>;
11
+ }
@@ -0,0 +1,24 @@
1
+ import { AfterViewInit, ElementRef, EventEmitter, OnDestroy } from '@angular/core';
2
+ import { BehaviorSubject } from 'rxjs';
3
+ import { IColumn } from '../smart-table.type';
4
+ import * as i0 from "@angular/core";
5
+ export declare class FilterInputDirective implements AfterViewInit, OnDestroy {
6
+ #private;
7
+ private readonly elementRef;
8
+ constructor(elementRef: ElementRef);
9
+ readonly value$: BehaviorSubject<string>;
10
+ emitObject: {
11
+ value: string;
12
+ type?: string;
13
+ column?: (string | IColumn);
14
+ };
15
+ delay: number;
16
+ onEvent: 'change' | 'input';
17
+ set value(value: string);
18
+ readonly valueChange: EventEmitter<any>;
19
+ ngAfterViewInit(): void;
20
+ ngOnDestroy(): void;
21
+ private setSubscription;
22
+ static ɵfac: i0.ɵɵFactoryDeclaration<FilterInputDirective, never>;
23
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FilterInputDirective, "[cFilterInput]", ["cFilterInput"], { "delay": "delay"; "onEvent": "onEvent"; "value": "value"; }, { "valueChange": "valueChange"; }, never, never, false, never>;
24
+ }
@@ -1,21 +1,16 @@
1
- import { AfterViewInit, ElementRef, EventEmitter, OnDestroy } from '@angular/core';
2
- import { BehaviorSubject } from 'rxjs';
3
- import { ITableFilter } from '../smart-table.type';
4
1
  import * as i0 from "@angular/core";
5
- export declare class SmartTableFilterComponent implements AfterViewInit, OnDestroy {
2
+ export declare class SmartTableFilterComponent {
6
3
  #private;
7
4
  constructor();
8
- readonly value$: BehaviorSubject<string>;
5
+ readonly value$: import("rxjs").BehaviorSubject<string>;
9
6
  filterLabel: string;
10
7
  filterPlaceholder: string;
11
- set tableFilter(value: boolean | ITableFilter);
12
- set value(value: string);
13
- readonly valueChange: EventEmitter<any>;
14
- filterInput: ElementRef;
8
+ sizing?: 'sm' | 'lg';
15
9
  get hostClasses(): any;
16
- ngAfterViewInit(): void;
17
- ngOnDestroy(): void;
18
- private setSubscription;
10
+ get labelClasses(): {
11
+ [x: string]: boolean;
12
+ 'col-form-label': boolean;
13
+ };
19
14
  static ɵfac: i0.ɵɵFactoryDeclaration<SmartTableFilterComponent, never>;
20
- static ɵcmp: i0.ɵɵComponentDeclaration<SmartTableFilterComponent, "c-smart-table-filter", never, { "filterLabel": "filterLabel"; "filterPlaceholder": "filterPlaceholder"; "tableFilter": "tableFilter"; "value": "value"; }, { "valueChange": "valueChange"; }, never, never, false, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<SmartTableFilterComponent, "c-smart-table-filter", never, { "filterLabel": "filterLabel"; "filterPlaceholder": "filterPlaceholder"; "sizing": "sizing"; }, {}, never, never, false, never>;
21
16
  }
@@ -32,9 +32,14 @@ export declare class SmartTableHeadComponent implements OnInit {
32
32
  handleSortClick(column: IColumn | string, i: number): void;
33
33
  columnFilterEnabled(column: IColumn | string): boolean;
34
34
  columnSorterEnabled(column: IColumn | string): boolean;
35
- handleColumnFilterValueChange($event: Event, column: IColumn | string): void;
35
+ handleColumnFilterValueChange($event: {
36
+ value: string;
37
+ type?: string;
38
+ column: (IColumn | string);
39
+ }): void;
36
40
  handleSelectAllChecked($event: Event): void;
37
41
  getColumnFilter(column: IColumn | string): string;
42
+ get columnFilterEvent(): 'change' | 'input';
38
43
  static ɵfac: i0.ɵɵFactoryDeclaration<SmartTableHeadComponent, never>;
39
44
  static ɵcmp: i0.ɵɵComponentDeclaration<SmartTableHeadComponent, "c-smart-table-head", never, { "columnFilter": "columnFilter"; "columnFilterState": "columnFilterState"; "columnSorter": "columnSorter"; "component": "component"; "columns": "columns"; "selectable": "selectable"; "selectAll": "selectAll"; "sorterValue": "sorterValue"; "columnFilterTemplates": "columnFilterTemplates"; }, { "columnFilterStateChange": "columnFilterStateChange"; "sorterStateChange": "sorterStateChange"; "selectAllChange": "selectAllChange"; }, never, never, false, never>;
40
45
  }
@@ -3,18 +3,20 @@ import * as i1 from "./smart-table/smart-table.component";
3
3
  import * as i2 from "./smart-table-filter/smart-table-filter.component";
4
4
  import * as i3 from "./smart-table-items-per-page-selector/smart-table-items-per-page-selector.component";
5
5
  import * as i4 from "./smart-table-head/smart-table-head.component";
6
- import * as i5 from "@angular/common";
7
- import * as i6 from "../element-cover/element-cover.module";
8
- import * as i7 from "../table/table.module";
9
- import * as i8 from "../pagination/pagination.module";
10
- import * as i9 from "../smart-pagination/smart-pagination.module";
11
- import * as i10 from "../form/form.module";
12
- import * as i11 from "@angular/forms";
13
- import * as i12 from "../button/button.module";
14
- import * as i13 from "../shared/shared.module";
15
- import * as i14 from "../utilities/utilities.module";
6
+ import * as i5 from "./smart-table-filter/filter-input.directive";
7
+ import * as i6 from "./smart-table-column-filter/smart-table-column-filter.component";
8
+ import * as i7 from "@angular/common";
9
+ import * as i8 from "../element-cover/element-cover.module";
10
+ import * as i9 from "../table/table.module";
11
+ import * as i10 from "../pagination/pagination.module";
12
+ import * as i11 from "../smart-pagination/smart-pagination.module";
13
+ import * as i12 from "../form/form.module";
14
+ import * as i13 from "@angular/forms";
15
+ import * as i14 from "../button/button.module";
16
+ import * as i15 from "../shared/shared.module";
17
+ import * as i16 from "../utilities/utilities.module";
16
18
  export declare class SmartTableModule {
17
19
  static ɵfac: i0.ɵɵFactoryDeclaration<SmartTableModule, never>;
18
- static ɵmod: i0.ɵɵNgModuleDeclaration<SmartTableModule, [typeof i1.SmartTableComponent, typeof i2.SmartTableFilterComponent, typeof i3.SmartTableItemsPerPageSelectorComponent, typeof i4.SmartTableHeadComponent], [typeof i5.CommonModule, typeof i6.ElementCoverModule, typeof i7.TableModule, typeof i8.PaginationModule, typeof i9.SmartPaginationModule, typeof i10.FormModule, typeof i11.FormsModule, typeof i12.ButtonModule, typeof i13.SharedModule, typeof i11.ReactiveFormsModule, typeof i14.UtilitiesModule], [typeof i1.SmartTableComponent, typeof i2.SmartTableFilterComponent]>;
20
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SmartTableModule, [typeof i1.SmartTableComponent, typeof i2.SmartTableFilterComponent, typeof i3.SmartTableItemsPerPageSelectorComponent, typeof i4.SmartTableHeadComponent, typeof i5.FilterInputDirective, typeof i6.SmartTableColumnFilterComponent], [typeof i7.CommonModule, typeof i8.ElementCoverModule, typeof i9.TableModule, typeof i10.PaginationModule, typeof i11.SmartPaginationModule, typeof i12.FormModule, typeof i13.FormsModule, typeof i14.ButtonModule, typeof i15.SharedModule, typeof i13.ReactiveFormsModule, typeof i16.UtilitiesModule], [typeof i1.SmartTableComponent, typeof i2.SmartTableFilterComponent]>;
19
21
  static ɵinj: i0.ɵɵInjectorDeclaration<SmartTableModule>;
20
22
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coreui/angular-pro",
3
- "version": "4.3.3",
3
+ "version": "4.3.5",
4
4
  "description": "CoreUI Pro Components Library for Angular",
5
5
  "homepage": "https://coreui.io/angular",
6
6
  "author": {