@saydar/table-builder 1.0.9-beta.0 → 1.0.9-beta.3
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.
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@ import { Observable, Subscription, Subject, Unsubscribable, ReplaySubject, Behav
|
|
|
5
5
|
import { ComponentStore } from '@ngrx/component-store';
|
|
6
6
|
import { HttpErrorResponse } from '@angular/common/http';
|
|
7
7
|
import * as _saydar_table_builder from '@saydar/table-builder';
|
|
8
|
-
import * as
|
|
8
|
+
import * as i35 from '@angular/router';
|
|
9
9
|
import { QueryParamsHandling } from '@angular/router';
|
|
10
10
|
import * as i23 from '@angular/material/sort';
|
|
11
11
|
import { Sort, SortDirection as SortDirection$1, MatSort } from '@angular/material/sort';
|
|
@@ -19,22 +19,22 @@ import { MatRadioButton } from '@angular/material/radio';
|
|
|
19
19
|
import { MatButtonToggle } from '@angular/material/button-toggle';
|
|
20
20
|
import * as i19 from '@angular/material/checkbox';
|
|
21
21
|
import { MatCheckbox } from '@angular/material/checkbox';
|
|
22
|
-
import * as
|
|
22
|
+
import * as i34 from '@angular/forms';
|
|
23
23
|
import { NgControl, ControlValueAccessor } from '@angular/forms';
|
|
24
24
|
import * as i12 from '@angular/material/core';
|
|
25
25
|
import { MatOption } from '@angular/material/core';
|
|
26
|
-
import * as
|
|
26
|
+
import * as i30 from '@angular/common';
|
|
27
27
|
import { DatePipe, CurrencyPipe } from '@angular/common';
|
|
28
28
|
import * as _ngrx_store from '@ngrx/store';
|
|
29
29
|
import { Store, Action, MemoizedSelector } from '@ngrx/store';
|
|
30
30
|
import { SelectionModel } from '@angular/cdk/collections';
|
|
31
31
|
import * as _ngrx_entity from '@ngrx/entity';
|
|
32
32
|
import { Dictionary as Dictionary$1, Predicate as Predicate$1, EntityState } from '@ngrx/entity';
|
|
33
|
-
import * as
|
|
33
|
+
import * as i37 from '@angular/cdk/drag-drop';
|
|
34
34
|
import { CdkDragDrop, CdkDropList } from '@angular/cdk/drag-drop';
|
|
35
35
|
import * as i25 from '@angular/material/paginator';
|
|
36
36
|
import { MatPaginator } from '@angular/material/paginator';
|
|
37
|
-
import * as
|
|
37
|
+
import * as i40 from 'ng-table-virtual-scroll';
|
|
38
38
|
import { TableVirtualScrollDataSource } from 'ng-table-virtual-scroll';
|
|
39
39
|
import * as i20 from '@angular/material/menu';
|
|
40
40
|
import { MatMenuTrigger } from '@angular/material/menu';
|
|
@@ -58,9 +58,9 @@ import * as i18 from '@angular/material/input';
|
|
|
58
58
|
import * as i21 from '@angular/material/icon';
|
|
59
59
|
import * as i22 from '@angular/material/badge';
|
|
60
60
|
import * as i24 from '@angular/material/autocomplete';
|
|
61
|
-
import * as
|
|
62
|
-
import * as
|
|
63
|
-
import * as
|
|
61
|
+
import * as i33 from '@ngrx/effects';
|
|
62
|
+
import * as i36 from '@ngrx/component';
|
|
63
|
+
import * as i39 from '@angular/cdk/scrolling';
|
|
64
64
|
|
|
65
65
|
declare enum HttpRequestStatus {
|
|
66
66
|
notStarted = 0,
|
|
@@ -1731,8 +1731,7 @@ declare class FilterComponent<T extends mappedFieldTypes = any> {
|
|
|
1731
1731
|
constructor(state: TableStore);
|
|
1732
1732
|
ngOnInit(): void;
|
|
1733
1733
|
onEnter(filter: FilterInfo, event: any): void;
|
|
1734
|
-
|
|
1735
|
-
onFilterTypeChange(newType: FilterType): void;
|
|
1734
|
+
applyFilter(filter: FilterInfo): void;
|
|
1736
1735
|
static ɵfac: i0.ɵɵFactoryDeclaration<FilterComponent<any>, never>;
|
|
1737
1736
|
static ɵcmp: i0.ɵɵComponentDeclaration<FilterComponent<any>, "tb-filter", never, { "filter": { "alias": "filter"; "required": false; }; }, { "close": "close"; }, never, never, false, never>;
|
|
1738
1737
|
}
|
|
@@ -1817,6 +1816,24 @@ declare class FormatFilterTypePipe implements PipeTransform {
|
|
|
1817
1816
|
static ɵpipe: i0.ɵɵPipeDeclaration<FormatFilterTypePipe, "formatFilterType", false>;
|
|
1818
1817
|
}
|
|
1819
1818
|
|
|
1819
|
+
declare class InFilterComponent implements ControlValueAccessor {
|
|
1820
|
+
private ref;
|
|
1821
|
+
FieldType: typeof FieldType;
|
|
1822
|
+
type: FieldType;
|
|
1823
|
+
value: any[];
|
|
1824
|
+
constructor(ref: ChangeDetectorRef);
|
|
1825
|
+
writeValue(obj: any[]): void;
|
|
1826
|
+
onChange: (_: any) => void;
|
|
1827
|
+
registerOnChange(fn: any): void;
|
|
1828
|
+
onTouched: () => void;
|
|
1829
|
+
registerOnTouched(fn: any): void;
|
|
1830
|
+
addInput(): void;
|
|
1831
|
+
removeInput(index: number): void;
|
|
1832
|
+
onValueChange(i: number, value: number | string): void;
|
|
1833
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InFilterComponent, never>;
|
|
1834
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InFilterComponent, "lib-in-filter", never, { "type": { "alias": "type"; "required": false; }; }, {}, never, never, false, never>;
|
|
1835
|
+
}
|
|
1836
|
+
|
|
1820
1837
|
declare class InListFilterComponent implements ControlValueAccessor {
|
|
1821
1838
|
private ref;
|
|
1822
1839
|
private tableState;
|
|
@@ -1936,7 +1953,7 @@ declare class MaterialModule {
|
|
|
1936
1953
|
declare class TableBuilderModule {
|
|
1937
1954
|
static forRoot(config: TableBuilderConfig): ModuleWithProviders<TableBuilderModule>;
|
|
1938
1955
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableBuilderModule, never>;
|
|
1939
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TableBuilderModule, [typeof ColumnTotalPipe, typeof TableContainerComponent, typeof GenericTableComponent, typeof GenericTableVsComponent, typeof PaginatorComponent, typeof CustomCellDirective, typeof GenColDisplayerComponent, typeof GenFilterDisplayerComponent, typeof DateFilterComponent, typeof FilterComponent, typeof MultiSortDirective, typeof NumberFilterComponent, typeof ColumnBuilderComponent, typeof ArrayColumnComponent, typeof LinkColumnComponent, typeof HeaderMenuComponent, typeof KeyDisplayPipe, typeof FormatFilterValuePipe, typeof FormatFilterTypePipe, typeof ResizeColumnDirective, typeof InitializationComponent, typeof InListFilterComponent, typeof SortMenuComponent, typeof FilterChipsComponent, typeof MatSlideToggleTbFilterDirective, typeof MatRadioButtonTbFilterDirective, typeof MatOptionTbFilterDirective, typeof MatCheckboxTbFilterDirective, typeof MatButtonToggleFilterDirective, typeof TableFilterDirective, typeof TableFilterStringContainsDirective, typeof TableWrapperDirective, typeof GroupByListComponent, typeof DateTimeFilterComponent, typeof ChipFilterInputComponent], [typeof
|
|
1956
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TableBuilderModule, [typeof ColumnTotalPipe, typeof TableContainerComponent, typeof GenericTableComponent, typeof GenericTableVsComponent, typeof PaginatorComponent, typeof CustomCellDirective, typeof GenColDisplayerComponent, typeof GenFilterDisplayerComponent, typeof DateFilterComponent, typeof FilterComponent, typeof MultiSortDirective, typeof NumberFilterComponent, typeof ColumnBuilderComponent, typeof ArrayColumnComponent, typeof LinkColumnComponent, typeof HeaderMenuComponent, typeof KeyDisplayPipe, typeof FormatFilterValuePipe, typeof FormatFilterTypePipe, typeof ResizeColumnDirective, typeof InFilterComponent, typeof InitializationComponent, typeof InListFilterComponent, typeof SortMenuComponent, typeof FilterChipsComponent, typeof MatSlideToggleTbFilterDirective, typeof MatRadioButtonTbFilterDirective, typeof MatOptionTbFilterDirective, typeof MatCheckboxTbFilterDirective, typeof MatButtonToggleFilterDirective, typeof TableFilterDirective, typeof TableFilterStringContainsDirective, typeof TableWrapperDirective, typeof GroupByListComponent, typeof DateTimeFilterComponent, typeof ChipFilterInputComponent], [typeof i30.CommonModule, typeof MaterialModule, typeof _ngrx_store.StoreFeatureModule, typeof i33.EffectsFeatureModule, typeof i34.FormsModule, typeof i35.RouterModule, typeof i36.LetDirective, typeof i37.DragDropModule, typeof UtilitiesModule, typeof i39.ScrollingModule, typeof i40.TableVirtualScrollModule], [typeof GenericTableComponent, typeof GenericTableVsComponent, typeof PaginatorComponent, typeof TableContainerComponent, typeof CustomCellDirective, typeof GenColDisplayerComponent, typeof GenFilterDisplayerComponent, typeof FilterComponent, typeof MultiSortDirective, typeof ResizeColumnDirective, typeof MatSlideToggleTbFilterDirective, typeof MatRadioButtonTbFilterDirective, typeof MatOptionTbFilterDirective, typeof MatCheckboxTbFilterDirective, typeof MatButtonToggleFilterDirective, typeof TableFilterDirective, typeof TableFilterStringContainsDirective, typeof TableWrapperDirective, typeof GroupByListComponent]>;
|
|
1940
1957
|
static ɵinj: i0.ɵɵInjectorDeclaration<TableBuilderModule>;
|
|
1941
1958
|
}
|
|
1942
1959
|
|
|
@@ -2020,7 +2037,7 @@ declare function actionStatusReducer(state: StatusState | undefined, action: Act
|
|
|
2020
2037
|
|
|
2021
2038
|
declare class NgrxExtModule {
|
|
2022
2039
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgrxExtModule, never>;
|
|
2023
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<NgrxExtModule, never, [typeof
|
|
2040
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NgrxExtModule, never, [typeof i30.CommonModule, typeof _ngrx_store.StoreFeatureModule], never>;
|
|
2024
2041
|
static ɵinj: i0.ɵɵInjectorDeclaration<NgrxExtModule>;
|
|
2025
2042
|
}
|
|
2026
2043
|
|