@one-paragon/angular-utilities 1.2.0 → 1.2.2
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/esm2022/action-state/action-state-spinner/action-state-spinner.component.mjs +7 -7
- package/esm2022/action-state/action-state-ui/action-state-ui.module.mjs +5 -5
- package/esm2022/action-state/ngrx-ext/ngrx-ext.module.mjs +6 -6
- package/esm2022/action-state/ngrx.mjs +6 -1
- package/esm2022/http-request-state/HttpRequestStateFactory.mjs +6 -7
- package/esm2022/http-request-state/HttpRequestStateStore.mjs +41 -37
- package/esm2022/http-request-state/directives/HttpStateDirectiveBase.mjs +17 -21
- package/esm2022/http-request-state/directives/http-error-state-directive.mjs +12 -18
- package/esm2022/http-request-state/directives/http-inProgress-state-directive.mjs +12 -18
- package/esm2022/http-request-state/directives/http-notStarted-state-directive.mjs +12 -18
- package/esm2022/http-request-state/directives/http-success-state-directive.mjs +13 -18
- package/esm2022/http-request-state/directives/request-state-directive.mjs +20 -19
- package/esm2022/http-request-state/http-state-module.mjs +6 -6
- package/esm2022/ngrx/actionable-selector.mjs +12 -14
- package/esm2022/rxjs/subjectifier.mjs +6 -6
- package/esm2022/rxjs/subscriber.directive.mjs +11 -13
- package/esm2022/table-builder/classes/MatTableObservableDataSource.mjs +3 -1
- package/esm2022/table-builder/classes/TableBuilderDataSource.mjs +10 -8
- package/esm2022/table-builder/classes/TableState.mjs +13 -15
- package/esm2022/table-builder/classes/table-builder-general-settings.mjs +46 -54
- package/esm2022/table-builder/classes/table-builder.mjs +4 -1
- package/esm2022/table-builder/classes/table-store.mjs +280 -282
- package/esm2022/table-builder/components/array-column.component.mjs +15 -19
- package/esm2022/table-builder/components/column-builder/column-builder.component.mjs +44 -35
- package/esm2022/table-builder/components/date-filter/date-filter.component.mjs +7 -7
- package/esm2022/table-builder/components/date-time-filter/date-time-filter.component.mjs +7 -7
- package/esm2022/table-builder/components/filter/filter.component.mjs +24 -24
- package/esm2022/table-builder/components/filter/in-list/in-list-filter.component.mjs +19 -18
- package/esm2022/table-builder/components/gen-col-displayer/gen-col-displayer.component.mjs +15 -15
- package/esm2022/table-builder/components/generic-table/generic-table.component.mjs +100 -86
- package/esm2022/table-builder/components/generic-table/paginator.component.mjs +20 -18
- package/esm2022/table-builder/components/group-by-list/group-by-list.component.mjs +5 -7
- package/esm2022/table-builder/components/header-menu/header-menu.component.mjs +24 -21
- package/esm2022/table-builder/components/in-filter/in-filter.component.mjs +14 -13
- package/esm2022/table-builder/components/initialization-component/initialization-component.mjs +11 -4
- package/esm2022/table-builder/components/link-column.component.mjs +19 -23
- package/esm2022/table-builder/components/number-filter/number-filter.component.mjs +8 -8
- package/esm2022/table-builder/components/profiles-menu/profiles-menu.component.mjs +26 -28
- package/esm2022/table-builder/components/scroll-strategy.mjs +11 -7
- package/esm2022/table-builder/components/sort-menu/sort-menu.component-store.mjs +31 -31
- package/esm2022/table-builder/components/sort-menu/sort-menu.component.mjs +23 -22
- package/esm2022/table-builder/components/table-container/table-container.mjs +90 -80
- package/esm2022/table-builder/components/table-container/virtual-scroll-container.mjs +49 -51
- package/esm2022/table-builder/components/table-container-filter/filter-list/filter-list.component.mjs +8 -10
- package/esm2022/table-builder/components/table-container-filter/gen-filter-displayer/gen-filter-displayer.component.mjs +17 -15
- package/esm2022/table-builder/components/table-container-filter/table-wrapper-filter-store.mjs +14 -14
- package/esm2022/table-builder/directives/custom-cell-directive.mjs +24 -20
- package/esm2022/table-builder/directives/multi-sort.directive.mjs +10 -10
- package/esm2022/table-builder/directives/resize-column.directive.mjs +13 -14
- package/esm2022/table-builder/directives/table-wrapper.directive.mjs +5 -7
- package/esm2022/table-builder/directives/tb-filter.directive.mjs +105 -110
- package/esm2022/table-builder/ngrx/tableBuilderStateStore.mjs +124 -124
- package/esm2022/table-builder/pipes/column-total.pipe.mjs +4 -4
- package/esm2022/table-builder/pipes/format-filter-type.pipe.mjs +4 -4
- package/esm2022/table-builder/pipes/format-filter-value.pipe.mjs +10 -12
- package/esm2022/table-builder/pipes/key-display.mjs +8 -10
- package/esm2022/table-builder/services/export-to-csv.service.mjs +57 -63
- package/esm2022/table-builder/services/table-template-service.mjs +11 -8
- package/esm2022/table-builder/services/transform-creator.mjs +35 -40
- package/esm2022/table-builder/table-builder.module.mjs +7 -7
- package/esm2022/utilities/directives/auto-focus.directive.mjs +8 -10
- package/esm2022/utilities/directives/clickEmitterDirective.mjs +4 -4
- package/esm2022/utilities/directives/clickSubject.mjs +5 -4
- package/esm2022/utilities/directives/conditional-classes.directive.mjs +11 -11
- package/esm2022/utilities/directives/dialog-service.mjs +5 -7
- package/esm2022/utilities/directives/dialog.mjs +38 -39
- package/esm2022/utilities/directives/mat-toggle-group-directive.mjs +7 -8
- package/esm2022/utilities/directives/prevent-enter.directive.mjs +4 -4
- package/esm2022/utilities/directives/stop-propagation.directive.mjs +4 -4
- package/esm2022/utilities/directives/styler.mjs +10 -11
- package/esm2022/utilities/directives/trim-whitespace.directive.mjs +7 -9
- package/esm2022/utilities/module.mjs +7 -7
- package/esm2022/utilities/pipes/function.pipe.mjs +4 -4
- package/esm2022/utilities/pipes/phone.pipe.mjs +4 -4
- package/esm2022/utilities/pipes/space-case.pipes.mjs +4 -4
- package/fesm2022/one-paragon-angular-utilities.mjs +1666 -1678
- package/fesm2022/one-paragon-angular-utilities.mjs.map +1 -1
- package/http-request-state/HttpRequestStateStore.d.ts +2 -2
- package/http-request-state/directives/HttpStateDirectiveBase.d.ts +5 -7
- package/http-request-state/directives/http-error-state-directive.d.ts +1 -4
- package/http-request-state/directives/http-inProgress-state-directive.d.ts +3 -6
- package/http-request-state/directives/http-notStarted-state-directive.d.ts +1 -4
- package/http-request-state/directives/http-success-state-directive.d.ts +1 -6
- package/http-request-state/directives/request-state-directive.d.ts +0 -1
- package/package.json +8 -8
- package/rxjs/subjectifier.d.ts +0 -1
- package/table-builder/classes/TableBuilderDataSource.d.ts +0 -1
- package/table-builder/classes/table-store.d.ts +1 -2
- package/table-builder/components/column-builder/column-builder.component.d.ts +2 -6
- package/table-builder/components/filter/filter.component.d.ts +1 -2
- package/table-builder/components/filter/in-list/in-list-filter.component.d.ts +0 -3
- package/table-builder/components/gen-col-displayer/gen-col-displayer.component.d.ts +1 -2
- package/table-builder/components/generic-table/generic-table.component.d.ts +4 -4
- package/table-builder/components/generic-table/paginator.component.d.ts +0 -2
- package/table-builder/components/header-menu/header-menu.component.d.ts +1 -2
- package/table-builder/components/in-filter/in-filter.component.d.ts +1 -2
- package/table-builder/components/sort-menu/sort-menu.component-store.d.ts +1 -2
- package/table-builder/components/sort-menu/sort-menu.component.d.ts +2 -3
- package/table-builder/components/table-container/table-container-imports.d.ts +1 -1
- package/table-builder/components/table-container/virtual-scroll-container.d.ts +0 -2
- package/table-builder/components/table-container-filter/gen-filter-displayer/gen-filter-displayer.component.d.ts +3 -3
- package/table-builder/directives/custom-cell-directive.d.ts +3 -3
- package/table-builder/directives/multi-sort.directive.d.ts +1 -2
- package/table-builder/directives/resize-column.directive.d.ts +1 -2
- package/table-builder/directives/tb-filter.directive.d.ts +19 -23
- package/table-builder/pipes/format-filter-value.pipe.d.ts +0 -2
- package/table-builder/pipes/key-display.d.ts +0 -1
- package/table-builder/services/export-to-csv.service.d.ts +0 -3
- package/table-builder/services/table-template-service.d.ts +1 -2
- package/table-builder/services/transform-creator.d.ts +0 -5
- package/utilities/directives/auto-focus.directive.d.ts +1 -2
- package/utilities/directives/conditional-classes.directive.d.ts +1 -2
- package/utilities/directives/dialog.d.ts +2 -5
- package/utilities/directives/styler.d.ts +0 -2
- package/utilities/directives/trim-whitespace.directive.d.ts +0 -2
|
@@ -8,10 +8,10 @@ export interface RequestResponse<TParam extends any[], T> {
|
|
|
8
8
|
response: HttpRequestState<T>;
|
|
9
9
|
}
|
|
10
10
|
export declare class HttpRequestStateStore<TParam extends any[], V, R = null, T = R extends null ? V : R> extends ComponentStore<RequestResponse<TParam, T>> {
|
|
11
|
-
private req;
|
|
12
11
|
private options?;
|
|
13
12
|
private project?;
|
|
14
|
-
|
|
13
|
+
private req;
|
|
14
|
+
constructor(req: HttpRequestFactory<TParam, V>, options?: RequestStateOptions<TParam>, project?: (v: V) => R);
|
|
15
15
|
reset(): void;
|
|
16
16
|
private flatteningStrategy;
|
|
17
17
|
private requestEffect;
|
|
@@ -1,16 +1,14 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
2
|
import { HttpRequestState } from '../types';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare abstract class HttpStateDirectiveBase {
|
|
4
|
+
export declare abstract class HttpStateDirectiveBase<V, R = null> {
|
|
5
|
+
hasView: boolean;
|
|
5
6
|
private injector;
|
|
6
7
|
protected templateRef: TemplateRef<any>;
|
|
7
8
|
protected viewContainer: ViewContainerRef;
|
|
8
|
-
hasView: boolean;
|
|
9
|
-
constructor(injector: Injector, templateRef: TemplateRef<any>, viewContainer: ViewContainerRef);
|
|
10
9
|
ngOnInit(): void;
|
|
11
|
-
ngOnDestroy(): void;
|
|
12
10
|
private baseRender;
|
|
13
11
|
abstract render: (state: HttpRequestState) => boolean;
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<HttpStateDirectiveBase, never>;
|
|
15
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<HttpStateDirectiveBase, never, never, {}, {}, never, never, false, never>;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HttpStateDirectiveBase<any, any>, never>;
|
|
13
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HttpStateDirectiveBase<any, any>, never, never, {}, {}, never, never, false, never>;
|
|
16
14
|
}
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Injector, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
1
|
import { HttpRequestState } from '../types';
|
|
3
2
|
import { HttpStateDirectiveBase } from './HttpStateDirectiveBase';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class HttpErrorStateDirective<
|
|
6
|
-
constructor(injector: Injector, templateRef: TemplateRef<any>, viewContainer: ViewContainerRef);
|
|
4
|
+
export declare class HttpErrorStateDirective<V, R = null> extends HttpStateDirectiveBase<V, R> {
|
|
7
5
|
render: (state: HttpRequestState<any>) => boolean;
|
|
8
6
|
ngOnInit(): void;
|
|
9
|
-
ngOnDestroy(): void;
|
|
10
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<HttpErrorStateDirective<any, any>, never>;
|
|
11
8
|
static ɵdir: i0.ɵɵDirectiveDeclaration<HttpErrorStateDirective<any, any>, "[httpErrorState]", never, {}, {}, never, never, true, never>;
|
|
12
9
|
}
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Injector, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
1
|
import { HttpStateDirectiveBase } from './HttpStateDirectiveBase';
|
|
3
2
|
import { HttpRequestState } from '../types';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class HttpInProgressStateDirective extends HttpStateDirectiveBase {
|
|
4
|
+
export declare class HttpInProgressStateDirective<V, R = null> extends HttpStateDirectiveBase<V, R> {
|
|
6
5
|
render: (state: HttpRequestState<any>) => boolean;
|
|
7
|
-
constructor(injector: Injector, templateRef: TemplateRef<any>, viewContainer: ViewContainerRef);
|
|
8
6
|
ngOnInit(): void;
|
|
9
|
-
|
|
10
|
-
static
|
|
11
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<HttpInProgressStateDirective, "[httpInProgressState]", never, {}, {}, never, never, true, never>;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HttpInProgressStateDirective<any, any>, never>;
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HttpInProgressStateDirective<any, any>, "[httpInProgressState]", never, {}, {}, never, never, true, never>;
|
|
12
9
|
}
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Injector, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
1
|
import { HttpRequestState } from '../types';
|
|
3
2
|
import { HttpStateDirectiveBase } from './HttpStateDirectiveBase';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class HttpNotStartedStateDirective<
|
|
4
|
+
export declare class HttpNotStartedStateDirective<V, R = null> extends HttpStateDirectiveBase<V, R> {
|
|
6
5
|
render: (state: HttpRequestState<any>) => boolean;
|
|
7
|
-
constructor(injector: Injector, templateRef: TemplateRef<any>, viewContainer: ViewContainerRef);
|
|
8
6
|
ngOnInit(): void;
|
|
9
|
-
ngOnDestroy(): void;
|
|
10
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<HttpNotStartedStateDirective<any, any>, never>;
|
|
11
8
|
static ɵdir: i0.ɵɵDirectiveDeclaration<HttpNotStartedStateDirective<any, any>, "[httpNotStartedState]", never, {}, {}, never, never, true, never>;
|
|
12
9
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Injector, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
1
|
import { HttpStateDirectiveBase } from './HttpStateDirectiveBase';
|
|
3
2
|
import { HttpRequestState } from '../types';
|
|
4
3
|
import { HttpRequestStateStore } from '../HttpRequestStateStore';
|
|
@@ -7,14 +6,10 @@ import * as i0 from "@angular/core";
|
|
|
7
6
|
export interface HttpSuccessStateViewContext<T> {
|
|
8
7
|
$implicit: T;
|
|
9
8
|
}
|
|
10
|
-
export declare class HttpSuccessStateDirective<V, R = null> extends HttpStateDirectiveBase {
|
|
9
|
+
export declare class HttpSuccessStateDirective<V, R = null> extends HttpStateDirectiveBase<V, R> {
|
|
11
10
|
httpSuccessStateTypeSafety?: HttpRequestStateStore<any, V, R> | Observable<HttpRequestState<V>>;
|
|
12
11
|
render: (state: HttpRequestState<R extends null ? V : R>) => boolean;
|
|
13
|
-
constructor(injector: Injector, templateRef: TemplateRef<{
|
|
14
|
-
$implicit: R extends null ? V : R;
|
|
15
|
-
}>, viewContainer: ViewContainerRef);
|
|
16
12
|
ngOnInit(): void;
|
|
17
|
-
ngOnDestroy(): void;
|
|
18
13
|
static ngTemplateContextGuard<V, R>(dir: HttpSuccessStateDirective<V, R>, ctx: any): ctx is HttpSuccessStateViewContext<R extends null ? V : R>;
|
|
19
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<HttpSuccessStateDirective<any, any>, never>;
|
|
20
15
|
static ɵdir: i0.ɵɵDirectiveDeclaration<HttpSuccessStateDirective<any, any>, "[httpSuccessState]", never, { "httpSuccessStateTypeSafety": { "alias": "httpSuccessStateTypeSafety"; "required": false; }; }, {}, never, never, true, never>;
|
|
@@ -14,7 +14,6 @@ export interface HttpRequestStateViewContext<T> {
|
|
|
14
14
|
};
|
|
15
15
|
}
|
|
16
16
|
export declare class HttpRequestStateDirective<TParam extends any[], V, R, T = R extends null ? V : R> {
|
|
17
|
-
private templateRef;
|
|
18
17
|
private viewContainer;
|
|
19
18
|
readonly ViewContext: HttpRequestStateViewContext<T>;
|
|
20
19
|
subject: Subject<Observable<HttpRequestState<T>>>;
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@one-paragon/angular-utilities",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.2",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@angular/common": "18.
|
|
6
|
-
"@angular/core": "18.
|
|
7
|
-
"@angular/material": "18.
|
|
8
|
-
"@ngrx/component": "18.0.
|
|
9
|
-
"@ngrx/component-store": "18.0.
|
|
10
|
-
"@ngrx/effects": "18.0.
|
|
11
|
-
"@ngrx/store": "18.0.
|
|
5
|
+
"@angular/common": "18.2.2",
|
|
6
|
+
"@angular/core": "18.2.2",
|
|
7
|
+
"@angular/material": "18.2.2",
|
|
8
|
+
"@ngrx/component": "18.0.2",
|
|
9
|
+
"@ngrx/component-store": "18.0.2",
|
|
10
|
+
"@ngrx/effects": "18.0.2",
|
|
11
|
+
"@ngrx/store": "18.0.2"
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
14
|
"tslib": "^2.6.2"
|
package/rxjs/subjectifier.d.ts
CHANGED
|
@@ -4,7 +4,6 @@ import { TableStore } from './table-store';
|
|
|
4
4
|
export declare class TableBuilderDataSource<T> extends MatTableDataSource<T> {
|
|
5
5
|
#private;
|
|
6
6
|
dataSrc: Observable<T[]>;
|
|
7
|
-
private state;
|
|
8
7
|
subscription?: Subscription;
|
|
9
8
|
viewableData$: Observable<T[]>;
|
|
10
9
|
constructor(dataSrc: Observable<T[]>, state: TableStore);
|
|
@@ -2,7 +2,6 @@ import { MetaData } from '../interfaces/report-def';
|
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
import { GroupedData, InitializationState, PersistedTableState, TableState } from './TableState';
|
|
4
4
|
import { Predicate } from '@angular/core';
|
|
5
|
-
import { TableBuilderConfig } from './TableBuilderConfig';
|
|
6
5
|
import { CustomFilter, FilterInfo } from './filter-info';
|
|
7
6
|
import { Sort, SortDirection } from '@angular/material/sort';
|
|
8
7
|
import { ComponentStore } from '@ngrx/component-store';
|
|
@@ -11,7 +10,7 @@ import { GeneralTableSettings, NotPersistedTableSettings, PersistedTableSettings
|
|
|
11
10
|
import * as i0 from "@angular/core";
|
|
12
11
|
export declare function stateIs(initializationState: InitializationState): (state: TableState) => boolean;
|
|
13
12
|
export declare class TableStore extends ComponentStore<TableState> {
|
|
14
|
-
constructor(
|
|
13
|
+
constructor();
|
|
15
14
|
selectStateReady: Observable<InitializationState>;
|
|
16
15
|
getSavableState(): Observable<PersistedTableState>;
|
|
17
16
|
getSavableStateSignal: import("@angular/core").Signal<PersistedTableState>;
|
|
@@ -1,19 +1,16 @@
|
|
|
1
1
|
import { TemplateRef, OnInit, Predicate, Injector } from '@angular/core';
|
|
2
2
|
import { FieldType, MetaData } from '../../interfaces/report-def';
|
|
3
|
-
import { MatColumnDef
|
|
3
|
+
import { MatColumnDef } from '@angular/material/table';
|
|
4
4
|
import { Observable } from 'rxjs';
|
|
5
5
|
import { CustomCellDirective } from '../../directives';
|
|
6
6
|
import { FilterInfo } from '../../classes/filter-info';
|
|
7
|
-
import { TransformCreator } from '../../services/transform-creator';
|
|
8
|
-
import { TableStore } from '../../classes/table-store';
|
|
9
|
-
import { TableTemplateService } from '../../services/table-template-service';
|
|
10
7
|
import { Dictionary } from '@ngrx/entity';
|
|
11
8
|
import { LinkInfo } from '../../services/link-creator.service';
|
|
12
9
|
import * as i0 from "@angular/core";
|
|
13
10
|
export declare class ColumnBuilderComponent implements OnInit {
|
|
14
11
|
private transformCreator;
|
|
15
12
|
private table;
|
|
16
|
-
state
|
|
13
|
+
private state;
|
|
17
14
|
private templateService;
|
|
18
15
|
protected injector: Injector;
|
|
19
16
|
columnDef: MatColumnDef;
|
|
@@ -29,7 +26,6 @@ export declare class ColumnBuilderComponent implements OnInit {
|
|
|
29
26
|
outerTemplate: TemplateRef<any>;
|
|
30
27
|
innerTemplate: TemplateRef<any>;
|
|
31
28
|
transform: (o: any, ...args: any[]) => any;
|
|
32
|
-
constructor(transformCreator: TransformCreator, table: MatTable<any>, state: TableStore, templateService: TableTemplateService, injector: Injector);
|
|
33
29
|
getInnerTemplate(): TemplateRef<any>;
|
|
34
30
|
showFilters$: Observable<boolean>;
|
|
35
31
|
getOuterTemplate(): TemplateRef<any>;
|
|
@@ -5,7 +5,7 @@ import { FilterType } from '../../enums/filterTypes';
|
|
|
5
5
|
import { FieldType } from '../../interfaces/report-def';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class FilterComponent {
|
|
8
|
-
state: TableStore;
|
|
8
|
+
protected state: TableStore;
|
|
9
9
|
filterTypes: {
|
|
10
10
|
readonly 0: {
|
|
11
11
|
readonly Equals: FilterType.NumberEquals;
|
|
@@ -104,7 +104,6 @@ export declare class FilterComponent {
|
|
|
104
104
|
filter: PartialFilter;
|
|
105
105
|
close: EventEmitter<any>;
|
|
106
106
|
currentFilterType?: FilterType;
|
|
107
|
-
constructor(state: TableStore);
|
|
108
107
|
ngOnInit(): void;
|
|
109
108
|
onEnter(filter: FilterInfo, event: any): void;
|
|
110
109
|
static ɵfac: i0.ɵɵFactoryDeclaration<FilterComponent, never>;
|
|
@@ -1,14 +1,11 @@
|
|
|
1
|
-
import { ChangeDetectorRef } from '@angular/core';
|
|
2
1
|
import { ControlValueAccessor } from '@angular/forms';
|
|
3
2
|
import { Observable } from 'rxjs';
|
|
4
|
-
import { TableStore } from '../../../classes/table-store';
|
|
5
3
|
import { Dictionary } from '../../../interfaces/dictionary';
|
|
6
4
|
import { FieldType, MetaData } from '../../../interfaces/report-def';
|
|
7
5
|
import * as i0 from "@angular/core";
|
|
8
6
|
export declare class InListFilterComponent implements ControlValueAccessor {
|
|
9
7
|
private ref;
|
|
10
8
|
private tableState;
|
|
11
|
-
constructor(ref: ChangeDetectorRef, tableState: TableStore);
|
|
12
9
|
value: string[];
|
|
13
10
|
FieldType: typeof FieldType;
|
|
14
11
|
writeValue(obj: string[]): void;
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { DisplayCol } from '../../classes/display-col';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
|
-
import { TableStore } from '../../classes/table-store';
|
|
4
3
|
import { CdkDragDrop } from '@angular/cdk/drag-drop';
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
6
5
|
export declare class GenColDisplayerComponent {
|
|
7
6
|
private tableState;
|
|
8
7
|
columns$: Observable<DisplayCol[]>;
|
|
9
|
-
constructor(
|
|
8
|
+
constructor();
|
|
10
9
|
reset(displayCols: DisplayCol[]): void;
|
|
11
10
|
drop(event: CdkDragDrop<string[]>): void;
|
|
12
11
|
unset(displayCols: DisplayCol[]): void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SimpleChanges, OnInit, QueryList,
|
|
1
|
+
import { SimpleChanges, OnInit, QueryList, Injector, EventEmitter } from '@angular/core';
|
|
2
2
|
import { MatRowDef, MatTable } from '@angular/material/table';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
4
|
import { SelectionChange, SelectionModel } from '@angular/cdk/collections';
|
|
@@ -7,10 +7,9 @@ import { ColumnBuilderComponent } from '../column-builder/column-builder.compone
|
|
|
7
7
|
import { Dictionary } from '../../interfaces/dictionary';
|
|
8
8
|
import { ColumnInfo } from '../../interfaces/ColumnInfo';
|
|
9
9
|
import { CdkDragDrop, CdkDropList } from '@angular/cdk/drag-drop';
|
|
10
|
-
import { TransformCreator } from '../../services/transform-creator';
|
|
11
10
|
import * as i0 from "@angular/core";
|
|
12
11
|
export declare class GenericTableComponent implements OnInit {
|
|
13
|
-
state: TableStore;
|
|
12
|
+
protected state: TableStore;
|
|
14
13
|
private viewContainer;
|
|
15
14
|
private transformCreator;
|
|
16
15
|
drop(event: CdkDragDrop<string[]>): void;
|
|
@@ -26,6 +25,7 @@ export declare class GenericTableComponent implements OnInit {
|
|
|
26
25
|
dropList: CdkDropList;
|
|
27
26
|
currentColumns: string[];
|
|
28
27
|
keys: string[];
|
|
28
|
+
_injector: Injector;
|
|
29
29
|
injector: Injector;
|
|
30
30
|
rowDefArr: MatRowDef<any>[];
|
|
31
31
|
columns: string[];
|
|
@@ -34,7 +34,7 @@ export declare class GenericTableComponent implements OnInit {
|
|
|
34
34
|
offset$: Observable<number>;
|
|
35
35
|
offsetIndex: number;
|
|
36
36
|
dataView: Observable<any[]>;
|
|
37
|
-
constructor(
|
|
37
|
+
constructor();
|
|
38
38
|
defaultTrackBy: (index: number, item: any) => any;
|
|
39
39
|
trackByFunction: (index: number, item: any) => any;
|
|
40
40
|
ngOnChanges(changes: SimpleChanges): void;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { AfterViewInit, OnInit, ElementRef } from '@angular/core';
|
|
2
2
|
import { MatPaginator } from '@angular/material/paginator';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
|
-
import { TableStore } from '../../classes/table-store';
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
6
5
|
export declare class PaginatorComponent implements OnInit, AfterViewInit {
|
|
7
6
|
private state;
|
|
@@ -10,7 +9,6 @@ export declare class PaginatorComponent implements OnInit, AfterViewInit {
|
|
|
10
9
|
$collapseFooter: import("@angular/core").Signal<boolean>;
|
|
11
10
|
data$: Observable<any[]>;
|
|
12
11
|
tableElRef: ElementRef;
|
|
13
|
-
constructor(state: TableStore);
|
|
14
12
|
ngOnInit(): void;
|
|
15
13
|
ngAfterViewInit(): void;
|
|
16
14
|
paginatorChange(): void;
|
|
@@ -5,7 +5,7 @@ import { TableStore } from '../../classes/table-store';
|
|
|
5
5
|
import { MatMenuTrigger } from '@angular/material/menu';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class HeaderMenuComponent {
|
|
8
|
-
tableState: TableStore;
|
|
8
|
+
protected tableState: TableStore;
|
|
9
9
|
FieldType: typeof FieldType;
|
|
10
10
|
FilterType: typeof FilterType;
|
|
11
11
|
myFilterType: FilterType;
|
|
@@ -13,7 +13,6 @@ export declare class HeaderMenuComponent {
|
|
|
13
13
|
filter: Partial<FilterInfo>;
|
|
14
14
|
metaData: MetaData;
|
|
15
15
|
trigger: MatMenuTrigger;
|
|
16
|
-
constructor(tableState: TableStore);
|
|
17
16
|
hideField(key: string): void;
|
|
18
17
|
ngOnInit(): void;
|
|
19
18
|
resetFilterType(): void;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { ChangeDetectorRef } from '@angular/core';
|
|
2
1
|
import { ControlValueAccessor } from '@angular/forms';
|
|
3
2
|
import { FieldType } from '../../interfaces/report-def';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
@@ -7,7 +6,7 @@ export declare class InFilterComponent implements ControlValueAccessor {
|
|
|
7
6
|
FieldType: typeof FieldType;
|
|
8
7
|
type: FieldType;
|
|
9
8
|
value: (string | number | undefined)[];
|
|
10
|
-
constructor(
|
|
9
|
+
constructor();
|
|
11
10
|
writeValue(obj: any[]): void;
|
|
12
11
|
onChange: (_: any) => void;
|
|
13
12
|
registerOnChange(fn: any): void;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { Sort } from '@angular/material/sort';
|
|
2
2
|
import { ComponentStore } from '@ngrx/component-store';
|
|
3
|
-
import { TableStore } from '../../classes/table-store';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
export declare class SortMenuComponentStore extends ComponentStore<ComponentStoreState> {
|
|
6
5
|
private tableState;
|
|
7
|
-
constructor(
|
|
6
|
+
constructor();
|
|
8
7
|
private set;
|
|
9
8
|
setSorted: (observableOrValue: SortWithName[] | import("rxjs").Observable<SortWithName[]>) => import("rxjs").Subscription;
|
|
10
9
|
setNotSorted: (observableOrValue: SortWithName[] | import("rxjs").Observable<SortWithName[]>) => import("rxjs").Subscription;
|
|
@@ -2,18 +2,17 @@ import { CdkDragDrop } from '@angular/cdk/drag-drop';
|
|
|
2
2
|
import { OnInit } from '@angular/core';
|
|
3
3
|
import { BehaviorSubject } from 'rxjs';
|
|
4
4
|
import { Observable } from 'rxjs';
|
|
5
|
-
import { TableStore } from '../../classes/table-store';
|
|
6
5
|
import { SortDirection } from '../../interfaces/report-def';
|
|
7
6
|
import { SortMenuComponentStore, SortWithName } from './sort-menu.component-store';
|
|
8
7
|
import * as i0 from "@angular/core";
|
|
9
8
|
export declare class SortMenuComponent implements OnInit {
|
|
10
9
|
private tableState;
|
|
11
|
-
store: SortMenuComponentStore;
|
|
10
|
+
protected store: SortMenuComponentStore;
|
|
12
11
|
sorted$: Observable<SortWithName[]>;
|
|
13
12
|
notSorted$: Observable<SortWithName[]>;
|
|
14
13
|
SortDirection: typeof SortDirection;
|
|
15
14
|
dirty$: BehaviorSubject<boolean>;
|
|
16
|
-
constructor(
|
|
15
|
+
constructor();
|
|
17
16
|
reset(): void;
|
|
18
17
|
ngOnInit(): void;
|
|
19
18
|
dropIntoSorted(event: CdkDragDrop<SortWithName[]>): void;
|
|
@@ -11,4 +11,4 @@ import { SortMenuComponent } from "../sort-menu/sort-menu.component";
|
|
|
11
11
|
import { StopPropagationDirective } from "../../../utilities";
|
|
12
12
|
import { PaginatorComponent } from "../generic-table/paginator.component";
|
|
13
13
|
import { VirtualScrollContainer } from "./virtual-scroll-container";
|
|
14
|
-
export declare const containerImports: (typeof
|
|
14
|
+
export declare const containerImports: (typeof AsyncPipe | typeof NgTemplateOutlet | typeof MatButtonModule | typeof MultiSortDirective | typeof StopPropagationDirective | typeof GenColDisplayerComponent | typeof GenFilterDisplayerComponent | typeof LetDirective | typeof FilterChipsComponent | typeof GenericTableComponent | typeof GroupByListComponent | typeof SortMenuComponent | typeof PaginatorComponent | typeof VirtualScrollContainer)[];
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import { ElementRef, OnDestroy } from '@angular/core';
|
|
2
2
|
import { CdkVirtualScrollViewport } from '@angular/cdk/scrolling';
|
|
3
|
-
import { TableStore } from '../../classes/table-store';
|
|
4
3
|
import { TableVirtualScrollStrategy } from '../scroll-strategy';
|
|
5
4
|
import { VirtualScrollOptions } from '../../classes/table-builder-general-settings';
|
|
6
5
|
import * as i0 from "@angular/core";
|
|
7
6
|
export declare class VirtualScrollContainer implements OnDestroy {
|
|
8
7
|
private state;
|
|
9
8
|
viewport: import("@angular/core").Signal<CdkVirtualScrollViewport | undefined>;
|
|
10
|
-
constructor(state: TableStore);
|
|
11
9
|
defaultOptions: VirtualScrollOptions;
|
|
12
10
|
scrollStrategy: TableVirtualScrollStrategy;
|
|
13
11
|
dataLength$: import("rxjs").Observable<number>;
|
|
@@ -4,9 +4,9 @@ import { TableStore } from '../../../classes/table-store';
|
|
|
4
4
|
import { WrapperFilterStore } from '../table-wrapper-filter-store';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class GenFilterDisplayerComponent {
|
|
7
|
-
tableState: TableStore;
|
|
8
|
-
filterStore: WrapperFilterStore;
|
|
9
|
-
constructor(
|
|
7
|
+
protected tableState: TableStore;
|
|
8
|
+
protected filterStore: WrapperFilterStore;
|
|
9
|
+
constructor();
|
|
10
10
|
filterCols$: Observable<MetaData[]>;
|
|
11
11
|
addFilter(metaData: MetaData): void;
|
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<GenFilterDisplayerComponent, never>;
|
|
@@ -9,7 +9,7 @@ interface CustomCellContext<T> {
|
|
|
9
9
|
}
|
|
10
10
|
export declare class CustomCellDirective<T = any> implements AfterContentInit {
|
|
11
11
|
private templateRef;
|
|
12
|
-
columnDef: CdkColumnDef;
|
|
12
|
+
columnDef: CdkColumnDef | null;
|
|
13
13
|
customCell: string;
|
|
14
14
|
displayName?: string;
|
|
15
15
|
preSort?: SortDef;
|
|
@@ -21,11 +21,11 @@ export declare class CustomCellDirective<T = any> implements AfterContentInit {
|
|
|
21
21
|
* true if column not mapped to a property in the data source. Default is false.
|
|
22
22
|
*/
|
|
23
23
|
customCellNotMapped: boolean;
|
|
24
|
-
constructor(
|
|
24
|
+
constructor();
|
|
25
25
|
ngAfterContentInit(): void;
|
|
26
26
|
getMetaData(metaData?: MetaData): MetaData;
|
|
27
27
|
static ngTemplateContextGuard<T>(dir: CustomCellDirective<T>, ctx: any): ctx is CustomCellContext<T>;
|
|
28
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CustomCellDirective<any>,
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CustomCellDirective<any>, never>;
|
|
29
29
|
static ɵdir: i0.ɵɵDirectiveDeclaration<CustomCellDirective<any>, "[customCell]", never, { "customCell": { "alias": "customCell"; "required": false; }; "displayName": { "alias": "displayName"; "required": false; }; "preSort": { "alias": "preSort"; "required": false; }; "TemplateRef": { "alias": "TemplateRef"; "required": false; }; "customCellOrder": { "alias": "customCellOrder"; "required": false; }; "customCellWidth": { "alias": "customCellWidth"; "required": false; }; "customCellTableRef": { "alias": "customCellTableRef"; "required": false; }; "customCellNotMapped": { "alias": "customCellNotMapped"; "required": false; }; }, {}, never, never, true, never>;
|
|
30
30
|
}
|
|
31
31
|
export {};
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { OnInit, OnDestroy } from '@angular/core';
|
|
2
2
|
import { MatSort, Sort } from '@angular/material/sort';
|
|
3
|
-
import { TableStore } from '../classes/table-store';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
export declare class MultiSortDirective extends MatSort implements OnInit, OnDestroy {
|
|
6
5
|
private state;
|
|
7
|
-
constructor(
|
|
6
|
+
constructor();
|
|
8
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<MultiSortDirective, never>;
|
|
9
8
|
static ɵdir: i0.ɵɵDirectiveDeclaration<MultiSortDirective, "[multiSort]", ["multiSort"], { "disabled": { "alias": "matSortDisabled"; "required": false; }; }, {}, never, never, true, never>;
|
|
10
9
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OnInit
|
|
1
|
+
import { OnInit } from "@angular/core";
|
|
2
2
|
import { TableStore } from "../classes/table-store";
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class ResizeColumnDirective implements OnInit {
|
|
@@ -7,7 +7,6 @@ export declare class ResizeColumnDirective implements OnInit {
|
|
|
7
7
|
store: TableStore;
|
|
8
8
|
resizable: boolean | string;
|
|
9
9
|
key: string;
|
|
10
|
-
constructor(renderer: Renderer2, el: ElementRef, store: TableStore);
|
|
11
10
|
ngOnInit(): void;
|
|
12
11
|
createResizerSpanInColumnHead(columnHead: HTMLElement): any;
|
|
13
12
|
getTableAndColumnHeadHtmlElements(): {
|
|
@@ -2,15 +2,10 @@ import { Predicate, SimpleChanges } from "@angular/core";
|
|
|
2
2
|
import { Observable, ReplaySubject, Subject } from "rxjs";
|
|
3
3
|
import { CustomFilter, FilterInfo } from "../classes/filter-info";
|
|
4
4
|
import { FilterType } from "../enums/filterTypes";
|
|
5
|
-
import { MatSlideToggle } from "@angular/material/slide-toggle";
|
|
6
|
-
import { MatRadioButton } from "@angular/material/radio";
|
|
7
|
-
import { MatButtonToggle } from '@angular/material/button-toggle';
|
|
8
|
-
import { MatCheckbox } from "@angular/material/checkbox";
|
|
9
5
|
import { FieldType } from "../interfaces/report-def";
|
|
10
6
|
import { NgControl } from "@angular/forms";
|
|
11
7
|
import { ComponentStore } from "@ngrx/component-store";
|
|
12
8
|
import { TableWrapperDirective } from "./table-wrapper.directive";
|
|
13
|
-
import { MatOption } from "@angular/material/core";
|
|
14
9
|
import * as i0 from "@angular/core";
|
|
15
10
|
export declare abstract class TableCustomFilterDirective<T = any> {
|
|
16
11
|
abstract filter$: Observable<CustomFilter>;
|
|
@@ -23,8 +18,9 @@ export declare abstract class TableCustomFilterDirective<T = any> {
|
|
|
23
18
|
static ɵdir: i0.ɵɵDirectiveDeclaration<TableCustomFilterDirective<any>, " ", never, {}, {}, never, never, false, never>;
|
|
24
19
|
}
|
|
25
20
|
export declare class TableFilterDirective extends ComponentStore<FilterInfo> {
|
|
26
|
-
protected model: NgControl;
|
|
27
|
-
|
|
21
|
+
protected model: NgControl | null;
|
|
22
|
+
private wrapper;
|
|
23
|
+
constructor();
|
|
28
24
|
reset(): void;
|
|
29
25
|
filter$: Observable<FilterInfo<any, any>>;
|
|
30
26
|
filterType: FilterType;
|
|
@@ -42,21 +38,20 @@ export declare class TableFilterDirective extends ComponentStore<FilterInfo> {
|
|
|
42
38
|
ngOnInit(): void;
|
|
43
39
|
protected setFilter(filter: FilterInfo): void;
|
|
44
40
|
update(): void;
|
|
45
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TableFilterDirective,
|
|
41
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TableFilterDirective, never>;
|
|
46
42
|
static ɵdir: i0.ɵɵDirectiveDeclaration<TableFilterDirective, "[tbFilter]", never, { "filterType": { "alias": "filterType"; "required": false; }; "key": { "alias": "key"; "required": false; }; "fieldType": { "alias": "fieldType"; "required": false; }; "filterId": { "alias": "filterId"; "required": false; }; "active": { "alias": "active"; "required": false; }; "filterValue": { "alias": "filterValue"; "required": false; }; }, {}, never, never, true, never>;
|
|
47
43
|
}
|
|
48
44
|
export declare class TableFilterStringContainsDirective extends TableFilterDirective {
|
|
49
|
-
constructor(
|
|
45
|
+
constructor();
|
|
50
46
|
reset(): void;
|
|
51
47
|
setFilter(filter: FilterInfo): void;
|
|
52
48
|
ngOnChanges(changes: SimpleChanges): void;
|
|
53
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TableFilterStringContainsDirective,
|
|
49
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TableFilterStringContainsDirective, never>;
|
|
54
50
|
static ɵdir: i0.ɵɵDirectiveDeclaration<TableFilterStringContainsDirective, "[tbFilterStringContains]", never, { "key": { "alias": "tbFilterStringContains"; "required": false; }; "filterValue": { "alias": "filterValue"; "required": false; }; "filterId": { "alias": "filterId"; "required": false; }; "active": { "alias": "active"; "required": false; }; }, {}, never, never, true, never>;
|
|
55
51
|
}
|
|
56
52
|
export declare abstract class TableCustomFilterDirectiveBase<T = any> extends TableCustomFilterDirective<T> {
|
|
57
53
|
filter$: Subject<CustomFilter>;
|
|
58
54
|
filter: CustomFilter;
|
|
59
|
-
filterId: string;
|
|
60
55
|
_predicate: Predicate<T>;
|
|
61
56
|
set predicate(val: Predicate<T>);
|
|
62
57
|
_active: boolean;
|
|
@@ -66,12 +61,13 @@ export declare abstract class TableCustomFilterDirectiveBase<T = any> extends Ta
|
|
|
66
61
|
get active(): boolean;
|
|
67
62
|
ngOnInit(): void;
|
|
68
63
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableCustomFilterDirectiveBase<any>, never>;
|
|
69
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TableCustomFilterDirectiveBase<any>, "[tbCustomFilter]", never, { "
|
|
64
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TableCustomFilterDirectiveBase<any>, "[tbCustomFilter]", never, { "predicate": { "alias": "tbCustomFilter"; "required": false; }; "active": { "alias": "active"; "required": false; }; }, {}, never, never, false, never>;
|
|
70
65
|
}
|
|
71
66
|
export declare abstract class TbSelectedFilterDirective<T = any> extends TableCustomFilterDirectiveBase<T> {
|
|
72
67
|
private change;
|
|
73
68
|
private isActive;
|
|
74
|
-
protected
|
|
69
|
+
protected wrapper: TableWrapperDirective | null;
|
|
70
|
+
protected constructor(change: Observable<any>, isActive: () => boolean);
|
|
75
71
|
reset(): void;
|
|
76
72
|
destroySubject$: ReplaySubject<void>;
|
|
77
73
|
ngOnDestroy(): void;
|
|
@@ -82,39 +78,39 @@ export declare abstract class TbSelectedFilterDirective<T = any> extends TableCu
|
|
|
82
78
|
export declare class MatCheckboxTbFilterDirective extends TbSelectedFilterDirective {
|
|
83
79
|
private matCheckbox;
|
|
84
80
|
set active(val: boolean);
|
|
85
|
-
constructor(
|
|
86
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatCheckboxTbFilterDirective,
|
|
81
|
+
constructor();
|
|
82
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatCheckboxTbFilterDirective, never>;
|
|
87
83
|
static ɵdir: i0.ɵɵDirectiveDeclaration<MatCheckboxTbFilterDirective, "mat-checkbox[tbCustomFilter]", never, { "predicate": { "alias": "tbCustomFilter"; "required": false; }; "filterId": { "alias": "filterId"; "required": false; }; }, {}, never, never, true, never>;
|
|
88
84
|
}
|
|
89
85
|
export declare class MatSlideToggleTbFilterDirective<T = any> extends TbSelectedFilterDirective<T> {
|
|
90
86
|
private matSlideToggle;
|
|
91
87
|
set active(val: boolean);
|
|
92
|
-
constructor(
|
|
88
|
+
constructor();
|
|
93
89
|
ngOnInit(): void;
|
|
94
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatSlideToggleTbFilterDirective<any>,
|
|
90
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatSlideToggleTbFilterDirective<any>, never>;
|
|
95
91
|
static ɵdir: i0.ɵɵDirectiveDeclaration<MatSlideToggleTbFilterDirective<any>, "mat-slide-toggle[tbCustomFilter]", never, { "predicate": { "alias": "tbCustomFilter"; "required": false; }; "filterId": { "alias": "filterId"; "required": false; }; }, {}, never, never, true, never>;
|
|
96
92
|
}
|
|
97
93
|
export declare class MatRadioButtonTbFilterDirective extends TbSelectedFilterDirective {
|
|
98
94
|
private matRadioButton;
|
|
99
95
|
set active(val: boolean);
|
|
100
|
-
constructor(
|
|
96
|
+
constructor();
|
|
101
97
|
ngOnInit(): void;
|
|
102
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatRadioButtonTbFilterDirective,
|
|
98
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatRadioButtonTbFilterDirective, never>;
|
|
103
99
|
static ɵdir: i0.ɵɵDirectiveDeclaration<MatRadioButtonTbFilterDirective, "mat-radio-button[tbCustomFilter]", never, { "predicate": { "alias": "tbCustomFilter"; "required": false; }; }, {}, never, never, true, never>;
|
|
104
100
|
}
|
|
105
101
|
export declare class MatOptionTbFilterDirective extends TbSelectedFilterDirective {
|
|
106
102
|
private matOption;
|
|
107
103
|
set active(val: boolean);
|
|
108
|
-
constructor(
|
|
104
|
+
constructor();
|
|
109
105
|
ngOnInit(): void;
|
|
110
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatOptionTbFilterDirective,
|
|
106
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatOptionTbFilterDirective, never>;
|
|
111
107
|
static ɵdir: i0.ɵɵDirectiveDeclaration<MatOptionTbFilterDirective, "mat-option[tbCustomFilter]", never, { "predicate": { "alias": "tbCustomFilter"; "required": false; }; "filterId": { "alias": "filterId"; "required": false; }; }, {}, never, never, true, never>;
|
|
112
108
|
}
|
|
113
109
|
export declare class MatButtonToggleFilterDirective extends TbSelectedFilterDirective {
|
|
114
110
|
private matButtonToggle;
|
|
115
111
|
set active(val: boolean);
|
|
116
|
-
constructor(
|
|
112
|
+
constructor();
|
|
117
113
|
ngOnInit(): void;
|
|
118
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatButtonToggleFilterDirective,
|
|
114
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatButtonToggleFilterDirective, never>;
|
|
119
115
|
static ɵdir: i0.ɵɵDirectiveDeclaration<MatButtonToggleFilterDirective, "mat-button-toggle[tbCustomFilter]", never, { "predicate": { "alias": "tbCustomFilter"; "required": false; }; "filterId": { "alias": "filterId"; "required": false; }; }, {}, never, never, true, never>;
|
|
120
116
|
}
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import { PipeTransform } from '@angular/core';
|
|
2
2
|
import { TableStore } from '../classes/table-store';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
|
-
import { DatePipe } from '@angular/common';
|
|
5
4
|
import { FilterType } from '../enums/filterTypes';
|
|
6
5
|
import * as i0 from "@angular/core";
|
|
7
6
|
export declare class FormatFilterValuePipe implements PipeTransform {
|
|
8
7
|
tableState: TableStore;
|
|
9
8
|
private datePipe;
|
|
10
|
-
constructor(tableState: TableStore, datePipe: DatePipe);
|
|
11
9
|
transform(value: any, key: string, filterType: FilterType): Observable<string>;
|
|
12
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormatFilterValuePipe, never>;
|
|
13
11
|
static ɵpipe: i0.ɵɵPipeDeclaration<FormatFilterValuePipe, "formatFilterValue", true>;
|
|
@@ -4,7 +4,6 @@ import { Observable } from 'rxjs';
|
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class KeyDisplayPipe implements PipeTransform {
|
|
6
6
|
tableState: TableStore;
|
|
7
|
-
constructor(tableState: TableStore);
|
|
8
7
|
transform(key: string): Observable<string>;
|
|
9
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<KeyDisplayPipe, never>;
|
|
10
9
|
static ɵpipe: i0.ɵɵPipeDeclaration<KeyDisplayPipe, "keyDisplay", true>;
|