@one-paragon/angular-utilities 0.1.13 → 0.1.16

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.
Files changed (38) hide show
  1. package/esm2020/ngrx/actionable-selector.mjs +76 -0
  2. package/esm2020/ngrx/index.mjs +2 -0
  3. package/esm2020/public-api.mjs +2 -1
  4. package/esm2020/rxjs/index.mjs +2 -1
  5. package/esm2020/rxjs/subjectifier.mjs +15 -0
  6. package/esm2020/table-builder/classes/TableState.mjs +4 -2
  7. package/esm2020/table-builder/classes/table-builder.mjs +2 -2
  8. package/esm2020/table-builder/classes/table-store.mjs +15 -1
  9. package/esm2020/table-builder/components/generic-table/generic-table.component.mjs +18 -9
  10. package/esm2020/table-builder/components/generic-table/paginator.component.mjs +2 -2
  11. package/esm2020/table-builder/components/group-by-list/group-by-list.component.mjs +21 -0
  12. package/esm2020/table-builder/components/header-menu/header-menu.component.mjs +3 -3
  13. package/esm2020/table-builder/components/index.mjs +2 -1
  14. package/esm2020/table-builder/components/table-container/table-container.mjs +60 -26
  15. package/esm2020/table-builder/table-builder.module.mjs +8 -3
  16. package/esm2020/utilities/directives/trim-whitespace.directive.mjs +29 -0
  17. package/esm2020/utilities/index.mjs +2 -1
  18. package/esm2020/utilities/module.mjs +6 -1
  19. package/fesm2015/one-paragon-angular-utilities.mjs +219 -35
  20. package/fesm2015/one-paragon-angular-utilities.mjs.map +1 -1
  21. package/fesm2020/one-paragon-angular-utilities.mjs +231 -37
  22. package/fesm2020/one-paragon-angular-utilities.mjs.map +1 -1
  23. package/ngrx/actionable-selector.d.ts +15 -0
  24. package/ngrx/index.d.ts +1 -0
  25. package/package.json +5 -5
  26. package/public-api.d.ts +1 -0
  27. package/rxjs/index.d.ts +1 -0
  28. package/rxjs/subjectifier.d.ts +9 -0
  29. package/table-builder/classes/TableState.d.ts +7 -0
  30. package/table-builder/classes/table-store.d.ts +8 -1
  31. package/table-builder/components/generic-table/generic-table.component.d.ts +5 -2
  32. package/table-builder/components/group-by-list/group-by-list.component.d.ts +10 -0
  33. package/table-builder/components/index.d.ts +1 -0
  34. package/table-builder/components/table-container/table-container.d.ts +9 -4
  35. package/table-builder/table-builder.module.d.ts +11 -10
  36. package/utilities/directives/trim-whitespace.directive.d.ts +9 -0
  37. package/utilities/index.d.ts +1 -0
  38. package/utilities/module.d.ts +7 -6
@@ -0,0 +1,15 @@
1
+ import { Action, MemoizedSelector, Store } from "@ngrx/store";
2
+ export declare function setUpStoreFactory(store: Store): () => Promise<unknown>;
3
+ /**
4
+ * Creates a selector that can dispatch an action if conditions are met.
5
+ * Note: The props of the selector factory must include the props of the action.
6
+ * @param selectorFactory A method that returns selector.
7
+ * @param action The action that will be dispatched when conditions are met.
8
+ * @param [dispatchIf = defaultFilter] Optional. A method that takes the result of the selector and returns a boolean. The actions gets dispatched
9
+ * if true is returned. If no method is passed in than the action will be dispatched if the selector returns undefined or null.
10
+ */
11
+ export declare const createActionableSelector: <State, Result, Props = any>(selectorFactory: (props?: Props | undefined) => MemoizedSelector<State, Result, import("@ngrx/store").DefaultProjectorFn<Result>>, action: ActionReturner<Props | undefined>, dispatchIf?: (data: Result) => boolean) => (props?: Props | undefined) => ActionableMemoizedSelector<State, Result>;
12
+ declare type ActionableMemoizedSelector<State, Result> = MemoizedSelector<State, Result>;
13
+ export declare type ActionReturner<Props> = (props: Props) => Action;
14
+ export declare function defaultFilter(data: any): boolean;
15
+ export {};
@@ -0,0 +1 @@
1
+ export * from './actionable-selector';
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@one-paragon/angular-utilities",
3
- "version": "0.1.13",
3
+ "version": "0.1.16",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^14.0.0",
6
6
  "@angular/core": "^14.0.0",
7
7
  "@angular/material": "^14.0.0",
8
- "@ngrx/component": "^14.0.0-rc.0",
9
- "@ngrx/component-store": "^14.0.0-rc.0",
10
- "@ngrx/effects": "^14.0.0-rc.0",
11
- "@ngrx/store": "^14.0.0-rc.0"
8
+ "@ngrx/component": "^14.0.0",
9
+ "@ngrx/component-store": "^14.0.0",
10
+ "@ngrx/effects": "^14.0.0",
11
+ "@ngrx/store": "^14.0.0"
12
12
  },
13
13
  "dependencies": {
14
14
  "tslib": "^2.1.0"
package/public-api.d.ts CHANGED
@@ -12,3 +12,4 @@ export { FilterType } from './table-builder/enums/filterTypes';
12
12
  export * from './rxjs';
13
13
  export * from './utilities';
14
14
  export * from './action-state';
15
+ export * from './ngrx';
package/rxjs/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
1
  export * from './defaultShareReplay';
2
2
  export * from './mapError';
3
3
  export * from './rxjs-operators';
4
+ export * from './subjectifier';
@@ -0,0 +1,9 @@
1
+ import { Observable, Subject } from 'rxjs';
2
+ export declare class Subjectifier<T> extends Observable<T> {
3
+ private _source;
4
+ private _subj;
5
+ private merged;
6
+ constructor(_source: Observable<T>);
7
+ next: Subject<T>['next'];
8
+ newSubj: (op1: import("rxjs").OperatorFunction<T, unknown>, op2: import("rxjs").OperatorFunction<unknown, unknown>, op3: import("rxjs").OperatorFunction<unknown, unknown>, op4: import("rxjs").OperatorFunction<unknown, unknown>, op5: import("rxjs").OperatorFunction<unknown, unknown>, op6: import("rxjs").OperatorFunction<unknown, unknown>, op7: import("rxjs").OperatorFunction<unknown, unknown>, op8: import("rxjs").OperatorFunction<unknown, unknown>, op9: import("rxjs").OperatorFunction<unknown, unknown>, ...operations: import("rxjs").OperatorFunction<any, any>[]) => Subjectifier<unknown>;
9
+ }
@@ -3,6 +3,11 @@ import { Dictionary } from '../interfaces/dictionary';
3
3
  import { Sort } from '@angular/material/sort';
4
4
  import { MetaData, Target } from '../interfaces/report-def';
5
5
  import { NotPersisitedTableSettings, PesrsistedTableSettings } from './table-builder-general-settings';
6
+ export interface Group {
7
+ groupName?: string;
8
+ parentGroupName?: string;
9
+ isExpanded?: boolean;
10
+ }
6
11
  export interface PersistedTableState {
7
12
  hiddenKeys?: string[];
8
13
  pageSize?: number;
@@ -16,6 +21,8 @@ export interface PersistedTableState {
16
21
  };
17
22
  };
18
23
  persistedTableSettings: PesrsistedTableSettings;
24
+ groupByKeys: string[];
25
+ groups: Group[];
19
26
  }
20
27
  export interface TableState extends Required<PersistedTableState> {
21
28
  initializationState: InitializationState;
@@ -1,6 +1,6 @@
1
1
  import { MetaData } from '../interfaces/report-def';
2
2
  import { Observable } from 'rxjs';
3
- import { InitializationState, PersistedTableState, TableState } from './TableState';
3
+ import { Group, InitializationState, PersistedTableState, TableState } from './TableState';
4
4
  import { Predicate } from '@angular/core';
5
5
  import { TableBuilderConfig } from './TableBuilderConfig';
6
6
  import { CustomFilter, FilterInfo } from './filter-info';
@@ -80,6 +80,8 @@ export declare class TableStore extends ComponentStore<TableState> {
80
80
  };
81
81
  };
82
82
  persistedTableSettings: PesrsistedTableSettings;
83
+ groupByKeys: string[];
84
+ groups: Group[];
83
85
  };
84
86
  readonly updateStateFromPersistedState: (observableOrValue: PersistedTableState | Observable<PersistedTableState>) => import("rxjs").Subscription;
85
87
  getUserDefinedTableSize$: Observable<number | undefined>;
@@ -92,6 +94,11 @@ export declare class TableStore extends ComponentStore<TableState> {
92
94
  private initializeOrder;
93
95
  toggleCollapseHeader: () => void;
94
96
  toggleCollapseFooter: () => void;
97
+ addGroupByKey: (observableOrValue: string | Observable<string>) => import("rxjs").Subscription;
98
+ removeGroupByKey: (observableOrValue: string | Observable<string>) => import("rxjs").Subscription;
99
+ updateGroup: (observableOrValue: Group | Observable<Group>) => import("rxjs").Subscription;
100
+ groupByKeys$: Observable<string[]>;
101
+ groups$: Observable<Group[]>;
95
102
  setTableSettings: (observableOrValue: GeneralTableSettings | Observable<GeneralTableSettings>) => import("rxjs").Subscription;
96
103
  tableSettings$: Observable<PesrsistedTableSettings & NotPersisitedTableSettings>;
97
104
  setLinkMaps: (() => void) | ((observableOrValue: any) => import("rxjs").Subscription);
@@ -1,4 +1,4 @@
1
- import { SimpleChanges, OnInit, QueryList, ViewContainerRef, ElementRef, Injector } from '@angular/core';
1
+ import { SimpleChanges, OnInit, QueryList, ViewContainerRef, ElementRef, Injector, TemplateRef } from '@angular/core';
2
2
  import { MatSort } from '@angular/material/sort';
3
3
  import { MatRowDef, MatTable } from '@angular/material/table';
4
4
  import { Observable } from 'rxjs';
@@ -9,6 +9,7 @@ import { Dictionary } from '../../interfaces/dictionary';
9
9
  import { GenericTableDataSource } from '../../classes/GenericTableDataSource';
10
10
  import { ColumnInfo } from '../../interfaces/ColumnInfo';
11
11
  import { CdkDragDrop, CdkDropList } from '@angular/cdk/drag-drop';
12
+ import { Group } from '../../classes/TableState';
12
13
  import * as i0 from "@angular/core";
13
14
  export declare class GenericTableComponent implements OnInit {
14
15
  private sort;
@@ -23,6 +24,7 @@ export declare class GenericTableComponent implements OnInit {
23
24
  isSticky: boolean;
24
25
  columnBuilders: ColumnBuilderComponent[];
25
26
  columnInfos: Observable<ColumnInfo[]>;
27
+ groupHeaderTemplate: TemplateRef<any>;
26
28
  private _disableSort;
27
29
  set disableSort(val: boolean);
28
30
  get disableSort(): boolean;
@@ -48,6 +50,7 @@ export declare class GenericTableComponent implements OnInit {
48
50
  isGroupFooter(_: number, row: {
49
51
  isGroupFooter: boolean;
50
52
  }): boolean;
53
+ updateGroup(group: Group): void;
51
54
  addMetaData(column: ColumnInfo): void;
52
55
  initializeRowDefs: (defs: MatRowDef<any>[]) => void;
53
56
  selection: SelectionModel<any>;
@@ -64,5 +67,5 @@ export declare class GenericTableComponent implements OnInit {
64
67
  }>;
65
68
  collapseFooter$: Observable<boolean>;
66
69
  static ɵfac: i0.ɵɵFactoryDeclaration<GenericTableComponent, never>;
67
- static ɵcmp: i0.ɵɵComponentDeclaration<GenericTableComponent, "tb-generic-table", never, { "data$": "data$"; "IndexColumn": "IndexColumn"; "SelectionColumn": "SelectionColumn"; "trackBy": "trackBy"; "rows": "rows"; "isSticky": "isSticky"; "columnBuilders": "columnBuilders"; "columnInfos": "columnInfos"; "disableSort": "disableSort"; }, { "selection$": "selection$"; }, never, never, false>;
70
+ static ɵcmp: i0.ɵɵComponentDeclaration<GenericTableComponent, "tb-generic-table", never, { "data$": "data$"; "IndexColumn": "IndexColumn"; "SelectionColumn": "SelectionColumn"; "trackBy": "trackBy"; "rows": "rows"; "isSticky": "isSticky"; "columnBuilders": "columnBuilders"; "columnInfos": "columnInfos"; "groupHeaderTemplate": "groupHeaderTemplate"; "disableSort": "disableSort"; }, { "selection$": "selection$"; }, never, never, false>;
68
71
  }
@@ -0,0 +1,10 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { TableStore } from '../../classes/table-store';
3
+ import * as i0 from "@angular/core";
4
+ export declare class GroupByListComponent implements OnInit {
5
+ tableStore: TableStore;
6
+ constructor(tableStore: TableStore);
7
+ ngOnInit(): void;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<GroupByListComponent, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<GroupByListComponent, "group-by-list", never, {}, {}, never, never, false>;
10
+ }
@@ -6,3 +6,4 @@ export * from './table-container-filter/filter-list/filter-list.component';
6
6
  export * from './generic-table/generic-table.component';
7
7
  export * from './table-container/table-container';
8
8
  export * from './generic-table/paginator.component';
9
+ export * from './group-by-list/group-by-list.component';
@@ -1,4 +1,4 @@
1
- import { EventEmitter, QueryList, Predicate } from '@angular/core';
1
+ import { EventEmitter, QueryList, Predicate, TemplateRef } from '@angular/core';
2
2
  import { BehaviorSubject, Observable, ReplaySubject } from 'rxjs';
3
3
  import { MetaData } from '../../interfaces/report-def';
4
4
  import { TableBuilder } from '../../classes/table-builder';
@@ -8,7 +8,7 @@ import { TableStore } from '../../classes/table-store';
8
8
  import { ExportToCsvService } from '../../services/export-to-csv.service';
9
9
  import { TableBuilderConfig } from '../../classes/TableBuilderConfig';
10
10
  import { Store } from '@ngrx/store';
11
- import { PersistedTableState } from '../../classes/TableState';
11
+ import { Group, PersistedTableState } from '../../classes/TableState';
12
12
  import { ColumnInfo } from '../../interfaces/ColumnInfo';
13
13
  import { TableWrapperDirective } from '../../directives/table-wrapper.directive';
14
14
  import * as i0 from "@angular/core";
@@ -28,6 +28,7 @@ export declare class TableContainerComponent<T = any> {
28
28
  isSticky: boolean;
29
29
  set pageSize(value: number);
30
30
  inputFilters?: Observable<Array<Predicate<T>>>;
31
+ groupHeaderTemplate: TemplateRef<any>;
31
32
  selection$: EventEmitter<any>;
32
33
  dataSubject: ReplaySubject<Observable<T[]>>;
33
34
  data: Observable<T[]>;
@@ -54,7 +55,11 @@ export declare class TableContainerComponent<T = any> {
54
55
  InitializeColumns(): void;
55
56
  mapMetaDatas: (meta: MetaData<T>) => MetaData<T, []>;
56
57
  collapseHeader$: Observable<boolean>;
57
- getData(data: any[], metaData: MetaData[]): any[];
58
+ getData(data: any[], groupByKeys: string[]): any[];
59
+ tbGroupBy: (data: any[], groupByKeys: string[], parentGroupName?: any) => any[];
60
+ addIndentation: (d: any) => any;
61
+ setDisplay: (data: any[], groups: Group[]) => any[];
62
+ shouldDisplay: (currentGroup?: Group, groups?: Group[]) => boolean;
58
63
  static ɵfac: i0.ɵɵFactoryDeclaration<TableContainerComponent<any>, [null, null, null, null, { optional: true; }]>;
59
- static ɵcmp: i0.ɵɵComponentDeclaration<TableContainerComponent<any>, "tb-table-container", never, { "tableId": "tableId"; "tableBuilder": "tableBuilder"; "IndexColumn": "IndexColumn"; "SelectionColumn": "SelectionColumn"; "trackBy": "trackBy"; "isSticky": "isSticky"; "pageSize": "pageSize"; "inputFilters": "inputFilters"; }, { "selection$": "selection$"; "data": "data"; "OnStateReset": "OnStateReset"; "OnSaveState": "OnSaveState"; "state$": "state$"; }, ["customFilters", "filters", "customRows", "customCells"], ["[before]", ".tb-header-title"], false>;
64
+ static ɵcmp: i0.ɵɵComponentDeclaration<TableContainerComponent<any>, "tb-table-container", never, { "tableId": "tableId"; "tableBuilder": "tableBuilder"; "IndexColumn": "IndexColumn"; "SelectionColumn": "SelectionColumn"; "trackBy": "trackBy"; "isSticky": "isSticky"; "pageSize": "pageSize"; "inputFilters": "inputFilters"; "groupHeaderTemplate": "groupHeaderTemplate"; }, { "selection$": "selection$"; "data": "data"; "OnStateReset": "OnStateReset"; "OnSaveState": "OnSaveState"; "state$": "state$"; }, ["customFilters", "filters", "customRows", "customCells"], ["[before]", ".tb-header-title"], false>;
60
65
  }
@@ -27,18 +27,19 @@ import * as i23 from "./components/sort-menu/sort-menu.component";
27
27
  import * as i24 from "./components/table-container-filter/filter-list/filter-list.component";
28
28
  import * as i25 from "./directives/tb-filter.directive";
29
29
  import * as i26 from "./directives/table-wrapper.directive";
30
- import * as i27 from "@angular/common";
31
- import * as i28 from "./material.module";
32
- import * as i29 from "@ngrx/store";
33
- import * as i30 from "@ngrx/effects";
34
- import * as i31 from "@angular/forms";
35
- import * as i32 from "@angular/router";
36
- import * as i33 from "@ngrx/component";
37
- import * as i34 from "@angular/cdk/drag-drop";
38
- import * as i35 from "../utilities/module";
30
+ import * as i27 from "./components/group-by-list/group-by-list.component";
31
+ import * as i28 from "@angular/common";
32
+ import * as i29 from "./material.module";
33
+ import * as i30 from "@ngrx/store";
34
+ import * as i31 from "@ngrx/effects";
35
+ import * as i32 from "@angular/forms";
36
+ import * as i33 from "@angular/router";
37
+ import * as i34 from "@ngrx/component";
38
+ import * as i35 from "@angular/cdk/drag-drop";
39
+ import * as i36 from "../utilities/module";
39
40
  export declare class TableBuilderModule {
40
41
  static forRoot(config: TableBuilderConfig): ModuleWithProviders<TableBuilderModule>;
41
42
  static ɵfac: i0.ɵɵFactoryDeclaration<TableBuilderModule, never>;
42
- static ɵmod: i0.ɵɵNgModuleDeclaration<TableBuilderModule, [typeof i1.ColumnTotalPipe, typeof i2.TableContainerComponent, typeof i3.GenericTableComponent, typeof i4.PaginatorComponent, typeof i5.CustomCellDirective, typeof i6.GenColDisplayerComponent, typeof i7.GenFilterDisplayerComponent, typeof i8.DateFilterComponent, typeof i9.FilterComponent, typeof i10.MultiSortDirective, typeof i11.NumberFilterComponent, typeof i12.ColumnBuilderComponent, typeof i13.ArrayColumnComponent, typeof i14.LinkColumnComponent, typeof i15.HeaderMenuComponent, typeof i16.KeyDisplayPipe, typeof i17.FormatFilterValuePipe, typeof i18.FormatFilterTypePipe, typeof i19.ResizeColumnDirective, typeof i20.InFilterComponent, typeof i21.InitializationComponent, typeof i22.InListFilterComponent, typeof i23.SortMenuComponent, typeof i24.FilterChipsComponent, typeof i25.MatSlideToggleTbFilterDirective, typeof i25.MatRadioButtonTbFilterDirective, typeof i25.MatOptionTbFilterDirective, typeof i25.MatCheckboxTbFilterDirective, typeof i25.MatButtonToggleFilterDirective, typeof i25.TableFilterDirective, typeof i25.TableFilterStringContainsDirective, typeof i26.TableWrapperDirective], [typeof i27.CommonModule, typeof i28.MaterialModule, typeof i29.StoreFeatureModule, typeof i30.EffectsFeatureModule, typeof i31.FormsModule, typeof i32.RouterModule, typeof i33.ReactiveComponentModule, typeof i34.DragDropModule, typeof i35.UtilitiesModule], [typeof i3.GenericTableComponent, typeof i4.PaginatorComponent, typeof i2.TableContainerComponent, typeof i5.CustomCellDirective, typeof i6.GenColDisplayerComponent, typeof i7.GenFilterDisplayerComponent, typeof i9.FilterComponent, typeof i10.MultiSortDirective, typeof i19.ResizeColumnDirective, typeof i25.MatSlideToggleTbFilterDirective, typeof i25.MatRadioButtonTbFilterDirective, typeof i25.MatOptionTbFilterDirective, typeof i25.MatCheckboxTbFilterDirective, typeof i25.MatButtonToggleFilterDirective, typeof i25.TableFilterDirective, typeof i25.TableFilterStringContainsDirective, typeof i26.TableWrapperDirective]>;
43
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TableBuilderModule, [typeof i1.ColumnTotalPipe, typeof i2.TableContainerComponent, typeof i3.GenericTableComponent, typeof i4.PaginatorComponent, typeof i5.CustomCellDirective, typeof i6.GenColDisplayerComponent, typeof i7.GenFilterDisplayerComponent, typeof i8.DateFilterComponent, typeof i9.FilterComponent, typeof i10.MultiSortDirective, typeof i11.NumberFilterComponent, typeof i12.ColumnBuilderComponent, typeof i13.ArrayColumnComponent, typeof i14.LinkColumnComponent, typeof i15.HeaderMenuComponent, typeof i16.KeyDisplayPipe, typeof i17.FormatFilterValuePipe, typeof i18.FormatFilterTypePipe, typeof i19.ResizeColumnDirective, typeof i20.InFilterComponent, typeof i21.InitializationComponent, typeof i22.InListFilterComponent, typeof i23.SortMenuComponent, typeof i24.FilterChipsComponent, typeof i25.MatSlideToggleTbFilterDirective, typeof i25.MatRadioButtonTbFilterDirective, typeof i25.MatOptionTbFilterDirective, typeof i25.MatCheckboxTbFilterDirective, typeof i25.MatButtonToggleFilterDirective, typeof i25.TableFilterDirective, typeof i25.TableFilterStringContainsDirective, typeof i26.TableWrapperDirective, typeof i27.GroupByListComponent], [typeof i28.CommonModule, typeof i29.MaterialModule, typeof i30.StoreFeatureModule, typeof i31.EffectsFeatureModule, typeof i32.FormsModule, typeof i33.RouterModule, typeof i34.ReactiveComponentModule, typeof i35.DragDropModule, typeof i36.UtilitiesModule], [typeof i3.GenericTableComponent, typeof i4.PaginatorComponent, typeof i2.TableContainerComponent, typeof i5.CustomCellDirective, typeof i6.GenColDisplayerComponent, typeof i7.GenFilterDisplayerComponent, typeof i9.FilterComponent, typeof i10.MultiSortDirective, typeof i19.ResizeColumnDirective, typeof i25.MatSlideToggleTbFilterDirective, typeof i25.MatRadioButtonTbFilterDirective, typeof i25.MatOptionTbFilterDirective, typeof i25.MatCheckboxTbFilterDirective, typeof i25.MatButtonToggleFilterDirective, typeof i25.TableFilterDirective, typeof i25.TableFilterStringContainsDirective, typeof i26.TableWrapperDirective, typeof i27.GroupByListComponent]>;
43
44
  static ɵinj: i0.ɵɵInjectorDeclaration<TableBuilderModule>;
44
45
  }
@@ -0,0 +1,9 @@
1
+ import { ElementRef } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class TrimWhitespaceDirective {
4
+ private elem;
5
+ constructor(elem: ElementRef);
6
+ onBlur(): void;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<TrimWhitespaceDirective, never>;
8
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TrimWhitespaceDirective, "input[trimWhitespace]", never, {}, {}, never, never, false>;
9
+ }
@@ -6,6 +6,7 @@ export * from './directives/clickEmitterDirective';
6
6
  export * from './directives/dialog';
7
7
  export * from './directives/styler';
8
8
  export * from './directives/mat-toggle-group-directive';
9
+ export * from './directives/trim-whitespace.directive';
9
10
  export * from './pipes/function.pipe';
10
11
  export * from './pipes/phone.pipe';
11
12
  export * from './pipes/space-case.pipes';
@@ -6,13 +6,14 @@ import * as i4 from "./directives/stop-propagation.directive";
6
6
  import * as i5 from "./directives/styler";
7
7
  import * as i6 from "./directives/prevent-enter.directive";
8
8
  import * as i7 from "./directives/auto-focus.directive";
9
- import * as i8 from "./directives/clickSubject";
10
- import * as i9 from "./directives/clickEmitterDirective";
11
- import * as i10 from "./directives/dialog";
12
- import * as i11 from "./directives/mat-toggle-group-directive";
13
- import * as i12 from "./directives/conditional-classes.directive";
9
+ import * as i8 from "./directives/trim-whitespace.directive";
10
+ import * as i9 from "./directives/clickSubject";
11
+ import * as i10 from "./directives/clickEmitterDirective";
12
+ import * as i11 from "./directives/dialog";
13
+ import * as i12 from "./directives/mat-toggle-group-directive";
14
+ import * as i13 from "./directives/conditional-classes.directive";
14
15
  export declare class UtilitiesModule {
15
16
  static ɵfac: i0.ɵɵFactoryDeclaration<UtilitiesModule, never>;
16
- static ɵmod: i0.ɵɵNgModuleDeclaration<UtilitiesModule, [typeof i1.SpaceCasePipe, typeof i2.PhoneNumberPipe, typeof i3.FunctionPipe, typeof i4.StopPropagationDirective, typeof i5.StylerDirective, typeof i6.PreventEnterDirective, typeof i7.AutoFocusDirective, typeof i8.ClickSubjectDirective, typeof i9.ClickEmitterDirective, typeof i10.DialogDirective, typeof i11.MatSlideToggleGroupDirective, typeof i12.ConditionalClassesDirective], never, [typeof i4.StopPropagationDirective, typeof i6.PreventEnterDirective, typeof i1.SpaceCasePipe, typeof i2.PhoneNumberPipe, typeof i3.FunctionPipe, typeof i4.StopPropagationDirective, typeof i5.StylerDirective, typeof i6.PreventEnterDirective, typeof i7.AutoFocusDirective, typeof i8.ClickSubjectDirective, typeof i9.ClickEmitterDirective, typeof i10.DialogDirective, typeof i11.MatSlideToggleGroupDirective, typeof i12.ConditionalClassesDirective]>;
17
+ static ɵmod: i0.ɵɵNgModuleDeclaration<UtilitiesModule, [typeof i1.SpaceCasePipe, typeof i2.PhoneNumberPipe, typeof i3.FunctionPipe, typeof i4.StopPropagationDirective, typeof i5.StylerDirective, typeof i6.PreventEnterDirective, typeof i7.AutoFocusDirective, typeof i8.TrimWhitespaceDirective, typeof i9.ClickSubjectDirective, typeof i10.ClickEmitterDirective, typeof i11.DialogDirective, typeof i12.MatSlideToggleGroupDirective, typeof i13.ConditionalClassesDirective], never, [typeof i4.StopPropagationDirective, typeof i6.PreventEnterDirective, typeof i1.SpaceCasePipe, typeof i2.PhoneNumberPipe, typeof i3.FunctionPipe, typeof i4.StopPropagationDirective, typeof i8.TrimWhitespaceDirective, typeof i5.StylerDirective, typeof i6.PreventEnterDirective, typeof i7.AutoFocusDirective, typeof i9.ClickSubjectDirective, typeof i10.ClickEmitterDirective, typeof i11.DialogDirective, typeof i12.MatSlideToggleGroupDirective, typeof i13.ConditionalClassesDirective]>;
17
18
  static ɵinj: i0.ɵɵInjectorDeclaration<UtilitiesModule>;
18
19
  }