@saydar/table-builder 1.0.9-beta.3 → 1.0.9-beta.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.
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 i34 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,27 +19,25 @@ 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 i33 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 i29 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 i36 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 i39 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';
|
|
41
|
-
import * as i26 from '@angular/material/chips';
|
|
42
|
-
import { MatChipInputEvent } from '@angular/material/chips';
|
|
43
41
|
import * as i3 from '@angular/material/select';
|
|
44
42
|
import * as i4 from '@angular/material/dialog';
|
|
45
43
|
import { MatDialogRef, MatDialogConfig, MatDialog } from '@angular/material/dialog';
|
|
@@ -58,9 +56,10 @@ import * as i18 from '@angular/material/input';
|
|
|
58
56
|
import * as i21 from '@angular/material/icon';
|
|
59
57
|
import * as i22 from '@angular/material/badge';
|
|
60
58
|
import * as i24 from '@angular/material/autocomplete';
|
|
61
|
-
import * as
|
|
62
|
-
import * as
|
|
63
|
-
import * as
|
|
59
|
+
import * as i26 from '@angular/material/chips';
|
|
60
|
+
import * as i32 from '@ngrx/effects';
|
|
61
|
+
import * as i35 from '@ngrx/component';
|
|
62
|
+
import * as i38 from '@angular/cdk/scrolling';
|
|
64
63
|
|
|
65
64
|
declare enum HttpRequestStatus {
|
|
66
65
|
notStarted = 0,
|
|
@@ -1731,7 +1730,6 @@ declare class FilterComponent<T extends mappedFieldTypes = any> {
|
|
|
1731
1730
|
constructor(state: TableStore);
|
|
1732
1731
|
ngOnInit(): void;
|
|
1733
1732
|
onEnter(filter: FilterInfo, event: any): void;
|
|
1734
|
-
applyFilter(filter: FilterInfo): void;
|
|
1735
1733
|
static ɵfac: i0.ɵɵFactoryDeclaration<FilterComponent<any>, never>;
|
|
1736
1734
|
static ɵcmp: i0.ɵɵComponentDeclaration<FilterComponent<any>, "tb-filter", never, { "filter": { "alias": "filter"; "required": false; }; }, { "close": "close"; }, never, never, false, never>;
|
|
1737
1735
|
}
|
|
@@ -1787,7 +1785,6 @@ declare class HeaderMenuComponent {
|
|
|
1787
1785
|
resetFilterType(): void;
|
|
1788
1786
|
setStringFilterType(): void;
|
|
1789
1787
|
setFilterType(filterType: FilterType): void;
|
|
1790
|
-
onMenuOpened(): void;
|
|
1791
1788
|
onEnter(filter: FilterInfo): void;
|
|
1792
1789
|
static ɵfac: i0.ɵɵFactoryDeclaration<HeaderMenuComponent, never>;
|
|
1793
1790
|
static ɵcmp: i0.ɵɵComponentDeclaration<HeaderMenuComponent, "tb-header-menu", never, { "filter": { "alias": "filter"; "required": false; }; "metaData": { "alias": "metaData"; "required": false; }; }, {}, never, never, false, never>;
|
|
@@ -1897,6 +1894,7 @@ declare class SortMenuComponent implements OnInit {
|
|
|
1897
1894
|
declare class FilterChipsComponent {
|
|
1898
1895
|
tableState: TableStore;
|
|
1899
1896
|
private filterStore;
|
|
1897
|
+
isArray: (arg: any) => arg is any[];
|
|
1900
1898
|
constructor(tableState: TableStore, filterStore: WrapperFilterStore);
|
|
1901
1899
|
filters$: Observable<FilterInfo<any>[]>;
|
|
1902
1900
|
deleteByIndex(index: number): void;
|
|
@@ -1923,27 +1921,6 @@ declare class DateTimeFilterComponent {
|
|
|
1923
1921
|
static ɵcmp: i0.ɵɵComponentDeclaration<DateTimeFilterComponent, "tb-date-time-filter", never, { "info": { "alias": "info"; "required": false; }; "CurrentFilterType": { "alias": "CurrentFilterType"; "required": false; }; }, {}, never, never, false, never>;
|
|
1924
1922
|
}
|
|
1925
1923
|
|
|
1926
|
-
declare class ChipFilterInputComponent implements ControlValueAccessor {
|
|
1927
|
-
private ref;
|
|
1928
|
-
type: FieldType;
|
|
1929
|
-
FieldType: typeof FieldType;
|
|
1930
|
-
values: (string | number)[];
|
|
1931
|
-
readonly separatorKeyCodes: readonly [188, 13];
|
|
1932
|
-
constructor(ref: ChangeDetectorRef);
|
|
1933
|
-
onChange: (_: any) => void;
|
|
1934
|
-
onTouched: () => void;
|
|
1935
|
-
writeValue(obj: any): void;
|
|
1936
|
-
registerOnChange(fn: any): void;
|
|
1937
|
-
registerOnTouched(fn: any): void;
|
|
1938
|
-
add(event: MatChipInputEvent): void;
|
|
1939
|
-
remove(index: number): void;
|
|
1940
|
-
onKeydown(event: KeyboardEvent): void;
|
|
1941
|
-
private emitValue;
|
|
1942
|
-
private isNumericType;
|
|
1943
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ChipFilterInputComponent, never>;
|
|
1944
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ChipFilterInputComponent, "tb-chip-filter-input", never, { "type": { "alias": "type"; "required": false; }; }, {}, never, never, false, never>;
|
|
1945
|
-
}
|
|
1946
|
-
|
|
1947
1924
|
declare class MaterialModule {
|
|
1948
1925
|
static ɵfac: i0.ɵɵFactoryDeclaration<MaterialModule, never>;
|
|
1949
1926
|
static ɵmod: i0.ɵɵNgModuleDeclaration<MaterialModule, never, [typeof i1.MatSlideToggleModule, typeof i2.MatTableModule, typeof i3.MatSelectModule, typeof i4.MatDialogModule, typeof i5.MatDatepickerModule, typeof i6.MatRadioModule, typeof i7.MatButtonModule, typeof i8.MatExpansionModule, typeof i9.MatStepperModule, typeof i10.MatToolbarModule, typeof i11.MatTooltipModule, typeof i12.MatNativeDateModule, typeof i13.MatProgressSpinnerModule, typeof i14.MatGridListModule, typeof i15.MatCardModule, typeof i16.MatSidenavModule, typeof i17.MatTabsModule, typeof i18.MatInputModule, typeof i17.MatTabsModule, typeof i19.MatCheckboxModule, typeof i20.MatMenuModule, typeof i21.MatIconModule, typeof i22.MatBadgeModule, typeof i23.MatSortModule, typeof i24.MatAutocompleteModule, typeof i25.MatPaginatorModule, typeof i26.MatChipsModule, typeof i4.MatDialogModule], [typeof i1.MatSlideToggleModule, typeof i2.MatTableModule, typeof i3.MatSelectModule, typeof i4.MatDialogModule, typeof i5.MatDatepickerModule, typeof i6.MatRadioModule, typeof i7.MatButtonModule, typeof i8.MatExpansionModule, typeof i9.MatStepperModule, typeof i10.MatToolbarModule, typeof i11.MatTooltipModule, typeof i12.MatNativeDateModule, typeof i13.MatProgressSpinnerModule, typeof i14.MatGridListModule, typeof i15.MatCardModule, typeof i16.MatSidenavModule, typeof i17.MatTabsModule, typeof i18.MatInputModule, typeof i17.MatTabsModule, typeof i19.MatCheckboxModule, typeof i20.MatMenuModule, typeof i21.MatIconModule, typeof i22.MatBadgeModule, typeof i23.MatSortModule, typeof i24.MatAutocompleteModule, typeof i25.MatPaginatorModule, typeof i26.MatChipsModule, typeof i4.MatDialogModule]>;
|
|
@@ -1953,7 +1930,7 @@ declare class MaterialModule {
|
|
|
1953
1930
|
declare class TableBuilderModule {
|
|
1954
1931
|
static forRoot(config: TableBuilderConfig): ModuleWithProviders<TableBuilderModule>;
|
|
1955
1932
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableBuilderModule, never>;
|
|
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
|
|
1933
|
+
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 i29.CommonModule, typeof MaterialModule, typeof _ngrx_store.StoreFeatureModule, typeof i32.EffectsFeatureModule, typeof i33.FormsModule, typeof i34.RouterModule, typeof i35.LetDirective, typeof i36.DragDropModule, typeof UtilitiesModule, typeof i38.ScrollingModule, typeof i39.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]>;
|
|
1957
1934
|
static ɵinj: i0.ɵɵInjectorDeclaration<TableBuilderModule>;
|
|
1958
1935
|
}
|
|
1959
1936
|
|
|
@@ -2037,7 +2014,7 @@ declare function actionStatusReducer(state: StatusState | undefined, action: Act
|
|
|
2037
2014
|
|
|
2038
2015
|
declare class NgrxExtModule {
|
|
2039
2016
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgrxExtModule, never>;
|
|
2040
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<NgrxExtModule, never, [typeof
|
|
2017
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NgrxExtModule, never, [typeof i29.CommonModule, typeof _ngrx_store.StoreFeatureModule], never>;
|
|
2041
2018
|
static ɵinj: i0.ɵɵInjectorDeclaration<NgrxExtModule>;
|
|
2042
2019
|
}
|
|
2043
2020
|
|