@one-paragon/angular-utilities 0.1.16 → 0.1.17

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 (229) hide show
  1. package/action-state/action-state-spinner/action-state-spinner.component.d.ts +12 -12
  2. package/action-state/action-state-ui/action-state-ui.module.d.ts +9 -9
  3. package/action-state/index.d.ts +4 -4
  4. package/action-state/ngrx-ext/ngrx-ext.module.d.ts +8 -8
  5. package/action-state/ngrx.d.ts +31 -31
  6. package/esm2020/action-state/action-state-spinner/action-state-spinner.component.mjs +23 -23
  7. package/esm2020/action-state/action-state-ui/action-state-ui.module.mjs +28 -28
  8. package/esm2020/action-state/index.mjs +8 -8
  9. package/esm2020/action-state/ngrx-ext/ngrx-ext.module.mjs +23 -23
  10. package/esm2020/action-state/ngrx.mjs +42 -42
  11. package/esm2020/http-request-state/HttpRequestStateFactory.mjs +26 -26
  12. package/esm2020/http-request-state/HttpRequestStateStore.mjs +77 -77
  13. package/esm2020/http-request-state/directives/HttpStateDirectiveBase.mjs +33 -33
  14. package/esm2020/http-request-state/directives/http-error-state-directive.mjs +28 -28
  15. package/esm2020/http-request-state/directives/http-inProgress-state-directive.mjs +28 -28
  16. package/esm2020/http-request-state/directives/http-notStarted-state-directive.mjs +28 -28
  17. package/esm2020/http-request-state/directives/http-success-state-directive.mjs +28 -28
  18. package/esm2020/http-request-state/directives/index.mjs +5 -5
  19. package/esm2020/http-request-state/directives/request-state-directive.mjs +56 -56
  20. package/esm2020/http-request-state/helpers.mjs +18 -18
  21. package/esm2020/http-request-state/http-request-state.mjs +38 -38
  22. package/esm2020/http-request-state/http-state-module.mjs +40 -40
  23. package/esm2020/http-request-state/index.mjs +6 -6
  24. package/esm2020/http-request-state/rxjs/getRequestorBody.mjs +3 -3
  25. package/esm2020/http-request-state/rxjs/getRequestorState.mjs +2 -2
  26. package/esm2020/http-request-state/rxjs/index.mjs +4 -4
  27. package/esm2020/http-request-state/rxjs/tapError.mjs +11 -11
  28. package/esm2020/http-request-state/rxjs/tapSuccess.mjs +11 -11
  29. package/esm2020/http-request-state/types.mjs +14 -14
  30. package/esm2020/ngrx/actionable-selector.mjs +76 -76
  31. package/esm2020/ngrx/index.mjs +1 -1
  32. package/esm2020/one-paragon-angular-utilities.mjs +4 -4
  33. package/esm2020/public-api.mjs +19 -19
  34. package/esm2020/rxjs/defaultShareReplay.mjs +6 -6
  35. package/esm2020/rxjs/index.mjs +5 -5
  36. package/esm2020/rxjs/mapError.mjs +7 -7
  37. package/esm2020/rxjs/rxjs-operators.mjs +91 -91
  38. package/esm2020/rxjs/subjectifier.mjs +15 -15
  39. package/esm2020/table-builder/classes/DefaultSettings.mjs +5 -5
  40. package/esm2020/table-builder/classes/GenericTableDataSource.mjs +12 -12
  41. package/esm2020/table-builder/classes/MatTableObservableDataSource.mjs +20 -20
  42. package/esm2020/table-builder/classes/TableBuilderConfig.mjs +2 -2
  43. package/esm2020/table-builder/classes/TableState.mjs +31 -31
  44. package/esm2020/table-builder/classes/data-filter.mjs +26 -26
  45. package/esm2020/table-builder/classes/display-col.mjs +1 -1
  46. package/esm2020/table-builder/classes/filter-info.mjs +71 -71
  47. package/esm2020/table-builder/classes/table-builder-general-settings.mjs +67 -67
  48. package/esm2020/table-builder/classes/table-builder.mjs +61 -61
  49. package/esm2020/table-builder/classes/table-store.mjs +292 -292
  50. package/esm2020/table-builder/components/array-column.component.mjs +32 -32
  51. package/esm2020/table-builder/components/column-builder/column-builder.component.mjs +111 -111
  52. package/esm2020/table-builder/components/date-filter/date-filter.component.mjs +24 -24
  53. package/esm2020/table-builder/components/filter/filter.component.mjs +53 -53
  54. package/esm2020/table-builder/components/filter/in-list/in-list-filter.component.mjs +91 -91
  55. package/esm2020/table-builder/components/gen-col-displayer/gen-col-displayer.component.mjs +44 -44
  56. package/esm2020/table-builder/components/generic-table/generic-table.component.mjs +198 -198
  57. package/esm2020/table-builder/components/generic-table/paginator.component.mjs +59 -59
  58. package/esm2020/table-builder/components/group-by-list/group-by-list.component.mjs +21 -21
  59. package/esm2020/table-builder/components/header-menu/header-menu.component.mjs +89 -89
  60. package/esm2020/table-builder/components/in-filter/in-filter.component.mjs +65 -65
  61. package/esm2020/table-builder/components/index.mjs +10 -10
  62. package/esm2020/table-builder/components/initialization-component/initialization-component.mjs +33 -33
  63. package/esm2020/table-builder/components/link-column.component.mjs +66 -66
  64. package/esm2020/table-builder/components/number-filter/number-filter.component.mjs +26 -26
  65. package/esm2020/table-builder/components/sort-menu/sort-menu.component-store.mjs +41 -41
  66. package/esm2020/table-builder/components/sort-menu/sort-menu.component.mjs +75 -75
  67. package/esm2020/table-builder/components/table-container/table-container.mjs +312 -312
  68. package/esm2020/table-builder/components/table-container-filter/filter-list/filter-list.component.mjs +42 -42
  69. package/esm2020/table-builder/components/table-container-filter/gen-filter-displayer/gen-filter-displayer.component.mjs +29 -29
  70. package/esm2020/table-builder/components/table-container-filter/table-wrapper-filter-store.mjs +24 -24
  71. package/esm2020/table-builder/directives/custom-cell-directive.mjs +58 -58
  72. package/esm2020/table-builder/directives/index.mjs +6 -6
  73. package/esm2020/table-builder/directives/multi-sort.directive.mjs +42 -42
  74. package/esm2020/table-builder/directives/resize-column.directive.mjs +85 -85
  75. package/esm2020/table-builder/directives/table-wrapper.directive.mjs +26 -26
  76. package/esm2020/table-builder/directives/tb-filter.directive.mjs +403 -403
  77. package/esm2020/table-builder/enums/filterTypes.mjs +59 -59
  78. package/esm2020/table-builder/functions/boolean-filter-function.mjs +9 -9
  79. package/esm2020/table-builder/functions/date-filter-function.mjs +32 -32
  80. package/esm2020/table-builder/functions/download-data.mjs +11 -11
  81. package/esm2020/table-builder/functions/null-filter-function.mjs +7 -7
  82. package/esm2020/table-builder/functions/number-filter-function.mjs +31 -31
  83. package/esm2020/table-builder/functions/sort-data-function.mjs +4 -4
  84. package/esm2020/table-builder/functions/string-filter-function.mjs +40 -40
  85. package/esm2020/table-builder/interfaces/ColumnInfo.mjs +1 -1
  86. package/esm2020/table-builder/interfaces/dictionary.mjs +1 -1
  87. package/esm2020/table-builder/interfaces/report-def.mjs +34 -34
  88. package/esm2020/table-builder/material.module.mjs +220 -220
  89. package/esm2020/table-builder/ngrx/actions.mjs +4 -4
  90. package/esm2020/table-builder/ngrx/effects.mjs +47 -47
  91. package/esm2020/table-builder/ngrx/reducer.mjs +51 -51
  92. package/esm2020/table-builder/ngrx/selectors.mjs +23 -23
  93. package/esm2020/table-builder/pipes/column-total.pipe.mjs +19 -19
  94. package/esm2020/table-builder/pipes/format-filter-type.pipe.mjs +17 -17
  95. package/esm2020/table-builder/pipes/format-filter-value.pipe.mjs +45 -45
  96. package/esm2020/table-builder/pipes/key-display.mjs +19 -19
  97. package/esm2020/table-builder/services/export-to-csv.service.mjs +84 -84
  98. package/esm2020/table-builder/services/link-creator.service.mjs +42 -42
  99. package/esm2020/table-builder/services/table-template-service.mjs +43 -43
  100. package/esm2020/table-builder/services/transform-creator.mjs +70 -70
  101. package/esm2020/table-builder/table-builder.module.mjs +204 -204
  102. package/esm2020/utilities/directives/auto-focus.directive.mjs +25 -25
  103. package/esm2020/utilities/directives/clickEmitterDirective.mjs +20 -20
  104. package/esm2020/utilities/directives/clickSubject.mjs +26 -26
  105. package/esm2020/utilities/directives/conditional-classes.directive.mjs +35 -35
  106. package/esm2020/utilities/directives/dialog-service.mjs +24 -24
  107. package/esm2020/utilities/directives/dialog.mjs +130 -130
  108. package/esm2020/utilities/directives/mat-toggle-group-directive.mjs +57 -57
  109. package/esm2020/utilities/directives/prevent-enter.directive.mjs +18 -18
  110. package/esm2020/utilities/directives/stop-propagation.directive.mjs +24 -24
  111. package/esm2020/utilities/directives/styler.mjs +25 -25
  112. package/esm2020/utilities/directives/trim-whitespace.directive.mjs +29 -29
  113. package/esm2020/utilities/index.mjs +16 -16
  114. package/esm2020/utilities/module.mjs +91 -91
  115. package/esm2020/utilities/pipes/function.pipe.mjs +20 -20
  116. package/esm2020/utilities/pipes/phone.pipe.mjs +19 -19
  117. package/esm2020/utilities/pipes/space-case.pipes.mjs +28 -28
  118. package/fesm2015/one-paragon-angular-utilities.mjs +4355 -4355
  119. package/fesm2015/one-paragon-angular-utilities.mjs.map +1 -1
  120. package/fesm2020/one-paragon-angular-utilities.mjs +4325 -4325
  121. package/fesm2020/one-paragon-angular-utilities.mjs.map +1 -1
  122. package/http-request-state/HttpRequestStateFactory.d.ts +14 -14
  123. package/http-request-state/HttpRequestStateStore.d.ts +40 -40
  124. package/http-request-state/directives/HttpStateDirectiveBase.d.ts +16 -16
  125. package/http-request-state/directives/http-error-state-directive.d.ts +12 -12
  126. package/http-request-state/directives/http-inProgress-state-directive.d.ts +12 -12
  127. package/http-request-state/directives/http-notStarted-state-directive.d.ts +12 -12
  128. package/http-request-state/directives/http-success-state-directive.d.ts +14 -14
  129. package/http-request-state/directives/index.d.ts +5 -5
  130. package/http-request-state/directives/request-state-directive.d.ts +29 -29
  131. package/http-request-state/helpers.d.ts +8 -8
  132. package/http-request-state/http-request-state.d.ts +12 -12
  133. package/http-request-state/http-state-module.d.ts +11 -11
  134. package/http-request-state/index.d.ts +6 -6
  135. package/http-request-state/rxjs/getRequestorBody.d.ts +3 -3
  136. package/http-request-state/rxjs/getRequestorState.d.ts +3 -3
  137. package/http-request-state/rxjs/index.d.ts +4 -4
  138. package/http-request-state/rxjs/tapError.d.ts +3 -3
  139. package/http-request-state/rxjs/tapSuccess.d.ts +3 -3
  140. package/http-request-state/types.d.ts +32 -32
  141. package/index.d.ts +5 -5
  142. package/ngrx/actionable-selector.d.ts +15 -15
  143. package/ngrx/index.d.ts +1 -1
  144. package/package.json +1 -1
  145. package/public-api.d.ts +15 -15
  146. package/rxjs/defaultShareReplay.d.ts +2 -2
  147. package/rxjs/index.d.ts +4 -4
  148. package/rxjs/mapError.d.ts +2 -2
  149. package/rxjs/rxjs-operators.d.ts +12 -12
  150. package/rxjs/subjectifier.d.ts +9 -9
  151. package/table-builder/classes/DefaultSettings.d.ts +8 -8
  152. package/table-builder/classes/GenericTableDataSource.d.ts +8 -8
  153. package/table-builder/classes/MatTableObservableDataSource.d.ts +9 -9
  154. package/table-builder/classes/TableBuilderConfig.d.ts +19 -19
  155. package/table-builder/classes/TableState.d.ts +46 -46
  156. package/table-builder/classes/data-filter.d.ts +9 -9
  157. package/table-builder/classes/display-col.d.ts +5 -5
  158. package/table-builder/classes/filter-info.d.ts +40 -40
  159. package/table-builder/classes/table-builder-general-settings.d.ts +43 -43
  160. package/table-builder/classes/table-builder.d.ts +14 -14
  161. package/table-builder/classes/table-store.d.ts +114 -114
  162. package/table-builder/components/array-column.component.d.ts +14 -14
  163. package/table-builder/components/column-builder/column-builder.component.d.ts +50 -50
  164. package/table-builder/components/date-filter/date-filter.component.d.ts +10 -10
  165. package/table-builder/components/filter/filter.component.d.ts +294 -294
  166. package/table-builder/components/filter/in-list/in-list-filter.component.d.ts +27 -27
  167. package/table-builder/components/gen-col-displayer/gen-col-displayer.component.d.ts +16 -16
  168. package/table-builder/components/generic-table/generic-table.component.d.ts +71 -71
  169. package/table-builder/components/generic-table/paginator.component.d.ts +28 -28
  170. package/table-builder/components/group-by-list/group-by-list.component.d.ts +10 -10
  171. package/table-builder/components/header-menu/header-menu.component.d.ts +25 -25
  172. package/table-builder/components/in-filter/in-filter.component.d.ts +22 -22
  173. package/table-builder/components/index.d.ts +9 -9
  174. package/table-builder/components/initialization-component/initialization-component.d.ts +12 -12
  175. package/table-builder/components/link-column.component.d.ts +17 -17
  176. package/table-builder/components/number-filter/number-filter.component.d.ts +12 -12
  177. package/table-builder/components/sort-menu/sort-menu.component-store.d.ts +24 -24
  178. package/table-builder/components/sort-menu/sort-menu.component.d.ts +25 -25
  179. package/table-builder/components/table-container/table-container.d.ts +65 -65
  180. package/table-builder/components/table-container-filter/filter-list/filter-list.component.d.ts +17 -17
  181. package/table-builder/components/table-container-filter/gen-filter-displayer/gen-filter-displayer.component.d.ts +14 -14
  182. package/table-builder/components/table-container-filter/table-wrapper-filter-store.d.ts +14 -14
  183. package/table-builder/directives/custom-cell-directive.d.ts +19 -19
  184. package/table-builder/directives/index.d.ts +5 -5
  185. package/table-builder/directives/multi-sort.directive.d.ts +11 -11
  186. package/table-builder/directives/resize-column.directive.d.ts +43 -43
  187. package/table-builder/directives/table-wrapper.directive.d.ts +11 -11
  188. package/table-builder/directives/tb-filter.directive.d.ts +120 -120
  189. package/table-builder/enums/filterTypes.d.ts +31 -31
  190. package/table-builder/functions/boolean-filter-function.d.ts +3 -3
  191. package/table-builder/functions/date-filter-function.d.ts +3 -3
  192. package/table-builder/functions/download-data.d.ts +1 -1
  193. package/table-builder/functions/null-filter-function.d.ts +2 -2
  194. package/table-builder/functions/number-filter-function.d.ts +4 -4
  195. package/table-builder/functions/sort-data-function.d.ts +3 -3
  196. package/table-builder/functions/string-filter-function.d.ts +7 -7
  197. package/table-builder/interfaces/ColumnInfo.d.ts +6 -6
  198. package/table-builder/interfaces/dictionary.d.ts +3 -3
  199. package/table-builder/interfaces/report-def.d.ts +135 -135
  200. package/table-builder/material.module.d.ts +34 -34
  201. package/table-builder/ngrx/actions.d.ts +23 -23
  202. package/table-builder/ngrx/effects.d.ts +19 -19
  203. package/table-builder/ngrx/reducer.d.ts +15 -15
  204. package/table-builder/ngrx/selectors.d.ts +22 -22
  205. package/table-builder/pipes/column-total.pipe.d.ts +8 -8
  206. package/table-builder/pipes/format-filter-type.pipe.d.ts +8 -8
  207. package/table-builder/pipes/format-filter-value.pipe.d.ts +14 -14
  208. package/table-builder/pipes/key-display.d.ts +11 -11
  209. package/table-builder/services/export-to-csv.service.d.ts +22 -22
  210. package/table-builder/services/link-creator.service.d.ts +12 -12
  211. package/table-builder/services/table-template-service.d.ts +14 -14
  212. package/table-builder/services/transform-creator.d.ts +19 -19
  213. package/table-builder/table-builder.module.d.ts +45 -45
  214. package/utilities/directives/auto-focus.directive.d.ts +10 -10
  215. package/utilities/directives/clickEmitterDirective.d.ts +7 -7
  216. package/utilities/directives/clickSubject.d.ts +9 -9
  217. package/utilities/directives/conditional-classes.directive.d.ts +14 -14
  218. package/utilities/directives/dialog-service.d.ts +10 -10
  219. package/utilities/directives/dialog.d.ts +45 -45
  220. package/utilities/directives/mat-toggle-group-directive.d.ts +21 -21
  221. package/utilities/directives/prevent-enter.directive.d.ts +6 -6
  222. package/utilities/directives/stop-propagation.directive.d.ts +7 -7
  223. package/utilities/directives/styler.d.ts +9 -9
  224. package/utilities/directives/trim-whitespace.directive.d.ts +9 -9
  225. package/utilities/index.d.ts +15 -15
  226. package/utilities/module.d.ts +19 -19
  227. package/utilities/pipes/function.pipe.d.ts +7 -7
  228. package/utilities/pipes/phone.pipe.d.ts +7 -7
  229. package/utilities/pipes/space-case.pipes.d.ts +17 -17
@@ -1,16 +1,16 @@
1
- import { DisplayCol } from '../../classes/display-col';
2
- import { Observable } from 'rxjs';
3
- import { TableStore } from '../../classes/table-store';
4
- import { CdkDragDrop } from '@angular/cdk/drag-drop';
5
- import * as i0 from "@angular/core";
6
- export declare class GenColDisplayerComponent {
7
- private tableState;
8
- columns$: Observable<DisplayCol[]>;
9
- constructor(tableState: TableStore);
10
- reset(displayCols: DisplayCol[]): void;
11
- drop(event: CdkDragDrop<string[]>): void;
12
- unset(displayCols: DisplayCol[]): void;
13
- emit(displayCols: DisplayCol[]): void;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<GenColDisplayerComponent, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<GenColDisplayerComponent, "tb-col-displayer", never, {}, {}, never, never, false>;
16
- }
1
+ import { DisplayCol } from '../../classes/display-col';
2
+ import { Observable } from 'rxjs';
3
+ import { TableStore } from '../../classes/table-store';
4
+ import { CdkDragDrop } from '@angular/cdk/drag-drop';
5
+ import * as i0 from "@angular/core";
6
+ export declare class GenColDisplayerComponent {
7
+ private tableState;
8
+ columns$: Observable<DisplayCol[]>;
9
+ constructor(tableState: TableStore);
10
+ reset(displayCols: DisplayCol[]): void;
11
+ drop(event: CdkDragDrop<string[]>): void;
12
+ unset(displayCols: DisplayCol[]): void;
13
+ emit(displayCols: DisplayCol[]): void;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<GenColDisplayerComponent, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<GenColDisplayerComponent, "tb-col-displayer", never, {}, {}, never, never, false>;
16
+ }
@@ -1,71 +1,71 @@
1
- import { SimpleChanges, OnInit, QueryList, ViewContainerRef, ElementRef, Injector, TemplateRef } from '@angular/core';
2
- import { MatSort } from '@angular/material/sort';
3
- import { MatRowDef, MatTable } from '@angular/material/table';
4
- import { Observable } from 'rxjs';
5
- import { SelectionModel } from '@angular/cdk/collections';
6
- import { TableStore } from '../../classes/table-store';
7
- import { ColumnBuilderComponent } from '../column-builder/column-builder.component';
8
- import { Dictionary } from '../../interfaces/dictionary';
9
- import { GenericTableDataSource } from '../../classes/GenericTableDataSource';
10
- import { ColumnInfo } from '../../interfaces/ColumnInfo';
11
- import { CdkDragDrop, CdkDropList } from '@angular/cdk/drag-drop';
12
- import { Group } from '../../classes/TableState';
13
- import * as i0 from "@angular/core";
14
- export declare class GenericTableComponent implements OnInit {
15
- private sort;
16
- state: TableStore;
17
- private viewContainer;
18
- drop(event: CdkDragDrop<string[]>): void;
19
- data$: Observable<any[]>;
20
- IndexColumn: boolean;
21
- SelectionColumn: boolean;
22
- trackBy: string;
23
- rows: QueryList<MatRowDef<any>>;
24
- isSticky: boolean;
25
- columnBuilders: ColumnBuilderComponent[];
26
- columnInfos: Observable<ColumnInfo[]>;
27
- groupHeaderTemplate: TemplateRef<any>;
28
- private _disableSort;
29
- set disableSort(val: boolean);
30
- get disableSort(): boolean;
31
- table: MatTable<any>;
32
- dropList: CdkDropList;
33
- tableElRef: ElementRef;
34
- currentColumns: string[];
35
- dataSource: GenericTableDataSource<any>;
36
- keys: string[];
37
- injector: Injector;
38
- rowDefArr: MatRowDef<any>[];
39
- columns: string[];
40
- myColumns: Dictionary<ColumnBuilderComponent>;
41
- showHeader$: Observable<boolean>;
42
- constructor(sort: MatSort, state: TableStore, viewContainer: ViewContainerRef, injector: Injector);
43
- trackByFunction: (index: number, item: any) => any;
44
- ngOnChanges(changes: SimpleChanges): void;
45
- ngOnInit(): void;
46
- createDataSource(): void;
47
- isGroupHeader(_: number, row: {
48
- isGroupHeader: boolean;
49
- }): boolean;
50
- isGroupFooter(_: number, row: {
51
- isGroupFooter: boolean;
52
- }): boolean;
53
- updateGroup(group: Group): void;
54
- addMetaData(column: ColumnInfo): void;
55
- initializeRowDefs: (defs: MatRowDef<any>[]) => void;
56
- selection: SelectionModel<any>;
57
- selection$: Observable<any>;
58
- masterToggleChecked$: Observable<boolean>;
59
- masterToggleIndeterminate$: Observable<boolean>;
60
- isAllSelected(): boolean;
61
- /** Selects all rows if they are not all selected; otherwise clear selection. */
62
- masterToggle(): void;
63
- tableWidth: Observable<{
64
- width: string;
65
- } | {
66
- width?: undefined;
67
- }>;
68
- collapseFooter$: Observable<boolean>;
69
- static ɵfac: i0.ɵɵFactoryDeclaration<GenericTableComponent, never>;
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>;
71
- }
1
+ import { SimpleChanges, OnInit, QueryList, ViewContainerRef, ElementRef, Injector, TemplateRef } from '@angular/core';
2
+ import { MatSort } from '@angular/material/sort';
3
+ import { MatRowDef, MatTable } from '@angular/material/table';
4
+ import { Observable } from 'rxjs';
5
+ import { SelectionModel } from '@angular/cdk/collections';
6
+ import { TableStore } from '../../classes/table-store';
7
+ import { ColumnBuilderComponent } from '../column-builder/column-builder.component';
8
+ import { Dictionary } from '../../interfaces/dictionary';
9
+ import { GenericTableDataSource } from '../../classes/GenericTableDataSource';
10
+ import { ColumnInfo } from '../../interfaces/ColumnInfo';
11
+ import { CdkDragDrop, CdkDropList } from '@angular/cdk/drag-drop';
12
+ import { Group } from '../../classes/TableState';
13
+ import * as i0 from "@angular/core";
14
+ export declare class GenericTableComponent implements OnInit {
15
+ private sort;
16
+ state: TableStore;
17
+ private viewContainer;
18
+ drop(event: CdkDragDrop<string[]>): void;
19
+ data$: Observable<any[]>;
20
+ IndexColumn: boolean;
21
+ SelectionColumn: boolean;
22
+ trackBy: string;
23
+ rows: QueryList<MatRowDef<any>>;
24
+ isSticky: boolean;
25
+ columnBuilders: ColumnBuilderComponent[];
26
+ columnInfos: Observable<ColumnInfo[]>;
27
+ groupHeaderTemplate: TemplateRef<any>;
28
+ private _disableSort;
29
+ set disableSort(val: boolean);
30
+ get disableSort(): boolean;
31
+ table: MatTable<any>;
32
+ dropList: CdkDropList;
33
+ tableElRef: ElementRef;
34
+ currentColumns: string[];
35
+ dataSource: GenericTableDataSource<any>;
36
+ keys: string[];
37
+ injector: Injector;
38
+ rowDefArr: MatRowDef<any>[];
39
+ columns: string[];
40
+ myColumns: Dictionary<ColumnBuilderComponent>;
41
+ showHeader$: Observable<boolean>;
42
+ constructor(sort: MatSort, state: TableStore, viewContainer: ViewContainerRef, injector: Injector);
43
+ trackByFunction: (index: number, item: any) => any;
44
+ ngOnChanges(changes: SimpleChanges): void;
45
+ ngOnInit(): void;
46
+ createDataSource(): void;
47
+ isGroupHeader(_: number, row: {
48
+ isGroupHeader: boolean;
49
+ }): boolean;
50
+ isGroupFooter(_: number, row: {
51
+ isGroupFooter: boolean;
52
+ }): boolean;
53
+ updateGroup(group: Group): void;
54
+ addMetaData(column: ColumnInfo): void;
55
+ initializeRowDefs: (defs: MatRowDef<any>[]) => void;
56
+ selection: SelectionModel<any>;
57
+ selection$: Observable<any>;
58
+ masterToggleChecked$: Observable<boolean>;
59
+ masterToggleIndeterminate$: Observable<boolean>;
60
+ isAllSelected(): boolean;
61
+ /** Selects all rows if they are not all selected; otherwise clear selection. */
62
+ masterToggle(): void;
63
+ tableWidth: Observable<{
64
+ width: string;
65
+ } | {
66
+ width?: undefined;
67
+ }>;
68
+ collapseFooter$: Observable<boolean>;
69
+ static ɵfac: i0.ɵɵFactoryDeclaration<GenericTableComponent, never>;
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>;
71
+ }
@@ -1,28 +1,28 @@
1
- import { ElementRef, AfterViewInit, OnInit } from '@angular/core';
2
- import { MatPaginator } from '@angular/material/paginator';
3
- import { Observable } from 'rxjs';
4
- import { GenericTableDataSource } from '../../classes/GenericTableDataSource';
5
- import { TableStore } from '../../classes/table-store';
6
- import * as i0 from "@angular/core";
7
- export declare class PaginatorComponent implements OnInit, AfterViewInit {
8
- private state;
9
- dataSource: GenericTableDataSource<any>;
10
- tableElRef: ElementRef;
11
- paginator: MatPaginator;
12
- currentPageData$: Observable<CurrentPageDetails>;
13
- collapseFooter$: Observable<boolean>;
14
- data$: Observable<any[]>;
15
- constructor(state: TableStore);
16
- ngOnInit(): void;
17
- ngAfterViewInit(): void;
18
- paginatorChange(): void;
19
- ourPageEvent: boolean;
20
- static ɵfac: i0.ɵɵFactoryDeclaration<PaginatorComponent, never>;
21
- static ɵcmp: i0.ɵɵComponentDeclaration<PaginatorComponent, "tb-paginator", never, { "dataSource": "dataSource"; "tableElRef": "tableElRef"; "data$": "data$"; }, {}, never, never, false>;
22
- }
23
- interface CurrentPageDetails {
24
- currentStart: number;
25
- currentEnd: number;
26
- total: number;
27
- }
28
- export {};
1
+ import { ElementRef, AfterViewInit, OnInit } from '@angular/core';
2
+ import { MatPaginator } from '@angular/material/paginator';
3
+ import { Observable } from 'rxjs';
4
+ import { GenericTableDataSource } from '../../classes/GenericTableDataSource';
5
+ import { TableStore } from '../../classes/table-store';
6
+ import * as i0 from "@angular/core";
7
+ export declare class PaginatorComponent implements OnInit, AfterViewInit {
8
+ private state;
9
+ dataSource: GenericTableDataSource<any>;
10
+ tableElRef: ElementRef;
11
+ paginator: MatPaginator;
12
+ currentPageData$: Observable<CurrentPageDetails>;
13
+ collapseFooter$: Observable<boolean>;
14
+ data$: Observable<any[]>;
15
+ constructor(state: TableStore);
16
+ ngOnInit(): void;
17
+ ngAfterViewInit(): void;
18
+ paginatorChange(): void;
19
+ ourPageEvent: boolean;
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<PaginatorComponent, never>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<PaginatorComponent, "tb-paginator", never, { "dataSource": "dataSource"; "tableElRef": "tableElRef"; "data$": "data$"; }, {}, never, never, false>;
22
+ }
23
+ interface CurrentPageDetails {
24
+ currentStart: number;
25
+ currentEnd: number;
26
+ total: number;
27
+ }
28
+ export {};
@@ -1,10 +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
- }
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
+ }
@@ -1,25 +1,25 @@
1
- import { FieldType, MetaData } from '../../interfaces/report-def';
2
- import { FilterType } from '../../enums/filterTypes';
3
- import { FilterInfo } from '../../classes/filter-info';
4
- import { TableStore } from '../../classes/table-store';
5
- import { MatMenuTrigger } from '@angular/material/menu';
6
- import * as i0 from "@angular/core";
7
- export declare class HeaderMenuComponent {
8
- tableState: TableStore;
9
- FieldType: typeof FieldType;
10
- FilterType: typeof FilterType;
11
- myFilterType: FilterType;
12
- myFilterValue: any;
13
- filter: Partial<FilterInfo>;
14
- metaData: MetaData;
15
- trigger: MatMenuTrigger;
16
- constructor(tableState: TableStore);
17
- hideField(key: string): void;
18
- ngOnInit(): void;
19
- resetFilterType(): void;
20
- setStringFilterType(): void;
21
- setFilterType(filterType: FilterType): void;
22
- onEnter(filter: FilterInfo): void;
23
- static ɵfac: i0.ɵɵFactoryDeclaration<HeaderMenuComponent, never>;
24
- static ɵcmp: i0.ɵɵComponentDeclaration<HeaderMenuComponent, "tb-header-menu", never, { "filter": "filter"; "metaData": "metaData"; }, {}, never, never, false>;
25
- }
1
+ import { FieldType, MetaData } from '../../interfaces/report-def';
2
+ import { FilterType } from '../../enums/filterTypes';
3
+ import { FilterInfo } from '../../classes/filter-info';
4
+ import { TableStore } from '../../classes/table-store';
5
+ import { MatMenuTrigger } from '@angular/material/menu';
6
+ import * as i0 from "@angular/core";
7
+ export declare class HeaderMenuComponent {
8
+ tableState: TableStore;
9
+ FieldType: typeof FieldType;
10
+ FilterType: typeof FilterType;
11
+ myFilterType: FilterType;
12
+ myFilterValue: any;
13
+ filter: Partial<FilterInfo>;
14
+ metaData: MetaData;
15
+ trigger: MatMenuTrigger;
16
+ constructor(tableState: TableStore);
17
+ hideField(key: string): void;
18
+ ngOnInit(): void;
19
+ resetFilterType(): void;
20
+ setStringFilterType(): void;
21
+ setFilterType(filterType: FilterType): void;
22
+ onEnter(filter: FilterInfo): void;
23
+ static ɵfac: i0.ɵɵFactoryDeclaration<HeaderMenuComponent, never>;
24
+ static ɵcmp: i0.ɵɵComponentDeclaration<HeaderMenuComponent, "tb-header-menu", never, { "filter": "filter"; "metaData": "metaData"; }, {}, never, never, false>;
25
+ }
@@ -1,22 +1,22 @@
1
- import { ChangeDetectorRef } from '@angular/core';
2
- import { ControlValueAccessor } from '@angular/forms';
3
- import { FieldType } from '../../interfaces/report-def';
4
- import * as i0 from "@angular/core";
5
- export declare class InFilterComponent implements ControlValueAccessor {
6
- private ref;
7
- FieldType: typeof FieldType;
8
- type: FieldType;
9
- value: any[];
10
- constructor(ref: ChangeDetectorRef);
11
- writeValue(obj: any[]): void;
12
- onChange: (_: any) => void;
13
- registerOnChange(fn: any): void;
14
- onTouched: () => void;
15
- registerOnTouched(fn: any): void;
16
- setDisabledState?(isDisabled: boolean): void;
17
- addInput(): void;
18
- removeInput(index: number): void;
19
- onValueChange(i: number, value: number | string): void;
20
- static ɵfac: i0.ɵɵFactoryDeclaration<InFilterComponent, never>;
21
- static ɵcmp: i0.ɵɵComponentDeclaration<InFilterComponent, "lib-in-filter", never, { "type": "type"; }, {}, never, never, false>;
22
- }
1
+ import { ChangeDetectorRef } from '@angular/core';
2
+ import { ControlValueAccessor } from '@angular/forms';
3
+ import { FieldType } from '../../interfaces/report-def';
4
+ import * as i0 from "@angular/core";
5
+ export declare class InFilterComponent implements ControlValueAccessor {
6
+ private ref;
7
+ FieldType: typeof FieldType;
8
+ type: FieldType;
9
+ value: any[];
10
+ constructor(ref: ChangeDetectorRef);
11
+ writeValue(obj: any[]): void;
12
+ onChange: (_: any) => void;
13
+ registerOnChange(fn: any): void;
14
+ onTouched: () => void;
15
+ registerOnTouched(fn: any): void;
16
+ setDisabledState?(isDisabled: boolean): void;
17
+ addInput(): void;
18
+ removeInput(index: number): void;
19
+ onValueChange(i: number, value: number | string): void;
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<InFilterComponent, never>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<InFilterComponent, "lib-in-filter", never, { "type": "type"; }, {}, never, never, false>;
22
+ }
@@ -1,9 +1,9 @@
1
- export * from './date-filter/date-filter.component';
2
- export * from './filter/filter.component';
3
- export * from './gen-col-displayer/gen-col-displayer.component';
4
- export * from './table-container-filter/gen-filter-displayer/gen-filter-displayer.component';
5
- export * from './table-container-filter/filter-list/filter-list.component';
6
- export * from './generic-table/generic-table.component';
7
- export * from './table-container/table-container';
8
- export * from './generic-table/paginator.component';
9
- export * from './group-by-list/group-by-list.component';
1
+ export * from './date-filter/date-filter.component';
2
+ export * from './filter/filter.component';
3
+ export * from './gen-col-displayer/gen-col-displayer.component';
4
+ export * from './table-container-filter/gen-filter-displayer/gen-filter-displayer.component';
5
+ export * from './table-container-filter/filter-list/filter-list.component';
6
+ export * from './generic-table/generic-table.component';
7
+ export * from './table-container/table-container';
8
+ export * from './generic-table/paginator.component';
9
+ export * from './group-by-list/group-by-list.component';
@@ -1,12 +1,12 @@
1
- import { TemplateRef } from "@angular/core";
2
- import * as i0 from "@angular/core";
3
- export declare class InitializationComponent {
4
- linkTemplate: TemplateRef<any>;
5
- imageUrlTemplate: TemplateRef<any>;
6
- currencyTemplate: TemplateRef<any>;
7
- arrayTemplate: TemplateRef<any>;
8
- defaultTemplate: TemplateRef<any>;
9
- defaultWithIcon: TemplateRef<any>;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<InitializationComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<InitializationComponent, "ng-component", never, {}, {}, never, never, false>;
12
- }
1
+ import { TemplateRef } from "@angular/core";
2
+ import * as i0 from "@angular/core";
3
+ export declare class InitializationComponent {
4
+ linkTemplate: TemplateRef<any>;
5
+ imageUrlTemplate: TemplateRef<any>;
6
+ currencyTemplate: TemplateRef<any>;
7
+ arrayTemplate: TemplateRef<any>;
8
+ defaultTemplate: TemplateRef<any>;
9
+ defaultWithIcon: TemplateRef<any>;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<InitializationComponent, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<InitializationComponent, "ng-component", never, {}, {}, never, never, false>;
12
+ }
@@ -1,17 +1,17 @@
1
- import { TableStore } from "../classes/table-store";
2
- import { MetaData } from "../interfaces/report-def";
3
- import * as i0 from "@angular/core";
4
- export declare class LinkColumnComponent {
5
- protected store: TableStore;
6
- metaData: MetaData;
7
- element: any;
8
- transform: (a: any) => any;
9
- constructor(store: TableStore);
10
- link: (metaData: MetaData) => import("rxjs").Observable<{
11
- link: (t: any) => string;
12
- useRouterLink: boolean;
13
- target: import("../interfaces/report-def").Target;
14
- }>;
15
- static ɵfac: i0.ɵɵFactoryDeclaration<LinkColumnComponent, never>;
16
- static ɵcmp: i0.ɵɵComponentDeclaration<LinkColumnComponent, "tb-link-column", never, { "metaData": "metaData"; "element": "element"; "transform": "transform"; }, {}, never, never, false>;
17
- }
1
+ import { TableStore } from "../classes/table-store";
2
+ import { MetaData } from "../interfaces/report-def";
3
+ import * as i0 from "@angular/core";
4
+ export declare class LinkColumnComponent {
5
+ protected store: TableStore;
6
+ metaData: MetaData;
7
+ element: any;
8
+ transform: (a: any) => any;
9
+ constructor(store: TableStore);
10
+ link: (metaData: MetaData) => import("rxjs").Observable<{
11
+ link: (t: any) => string;
12
+ useRouterLink: boolean;
13
+ target: import("../interfaces/report-def").Target;
14
+ }>;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<LinkColumnComponent, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<LinkColumnComponent, "tb-link-column", never, { "metaData": "metaData"; "element": "element"; "transform": "transform"; }, {}, never, never, false>;
17
+ }
@@ -1,12 +1,12 @@
1
- import { FilterType } from '../../enums/filterTypes';
2
- import { PartialFilter } from '../../classes/filter-info';
3
- import { FieldType } from '../../interfaces/report-def';
4
- import * as i0 from "@angular/core";
5
- export declare class NumberFilterComponent {
6
- FilterType: typeof FilterType;
7
- FieldType: typeof FieldType;
8
- CurrentFilterType: FilterType;
9
- info: PartialFilter;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<NumberFilterComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<NumberFilterComponent, "tb-number-filter", never, { "CurrentFilterType": "CurrentFilterType"; "info": "info"; }, {}, never, never, false>;
12
- }
1
+ import { FilterType } from '../../enums/filterTypes';
2
+ import { PartialFilter } from '../../classes/filter-info';
3
+ import { FieldType } from '../../interfaces/report-def';
4
+ import * as i0 from "@angular/core";
5
+ export declare class NumberFilterComponent {
6
+ FilterType: typeof FilterType;
7
+ FieldType: typeof FieldType;
8
+ CurrentFilterType: FilterType;
9
+ info: PartialFilter;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<NumberFilterComponent, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<NumberFilterComponent, "tb-number-filter", never, { "CurrentFilterType": "CurrentFilterType"; "info": "info"; }, {}, never, never, false>;
12
+ }
@@ -1,24 +1,24 @@
1
- import { Sort } from '@angular/material/sort';
2
- import { ComponentStore } from '@ngrx/component-store';
3
- import { TableStore } from '../../classes/table-store';
4
- import * as i0 from "@angular/core";
5
- export declare class SortMenuComponentStore extends ComponentStore<ComponenStoreState> {
6
- private tableState;
7
- constructor(tableState: TableStore);
8
- private set;
9
- setSorted: (observableOrValue: SortWithName[] | import("rxjs").Observable<SortWithName[]>) => import("rxjs").Subscription;
10
- setNotSorted: (observableOrValue: SortWithName[] | import("rxjs").Observable<SortWithName[]>) => import("rxjs").Subscription;
11
- sorted$: import("rxjs").Observable<SortWithName[]>;
12
- notSorted$: import("rxjs").Observable<SortWithName[]>;
13
- setDirection: (observableOrValue: SortWithName | import("rxjs").Observable<SortWithName>) => import("rxjs").Subscription;
14
- reset: () => void;
15
- static ɵfac: i0.ɵɵFactoryDeclaration<SortMenuComponentStore, never>;
16
- static ɵprov: i0.ɵɵInjectableDeclaration<SortMenuComponentStore>;
17
- }
18
- export interface ComponenStoreState {
19
- sorted: SortWithName[];
20
- notSorted: SortWithName[];
21
- }
22
- export interface SortWithName extends Sort {
23
- displayName: string;
24
- }
1
+ import { Sort } from '@angular/material/sort';
2
+ import { ComponentStore } from '@ngrx/component-store';
3
+ import { TableStore } from '../../classes/table-store';
4
+ import * as i0 from "@angular/core";
5
+ export declare class SortMenuComponentStore extends ComponentStore<ComponenStoreState> {
6
+ private tableState;
7
+ constructor(tableState: TableStore);
8
+ private set;
9
+ setSorted: (observableOrValue: SortWithName[] | import("rxjs").Observable<SortWithName[]>) => import("rxjs").Subscription;
10
+ setNotSorted: (observableOrValue: SortWithName[] | import("rxjs").Observable<SortWithName[]>) => import("rxjs").Subscription;
11
+ sorted$: import("rxjs").Observable<SortWithName[]>;
12
+ notSorted$: import("rxjs").Observable<SortWithName[]>;
13
+ setDirection: (observableOrValue: SortWithName | import("rxjs").Observable<SortWithName>) => import("rxjs").Subscription;
14
+ reset: () => void;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<SortMenuComponentStore, never>;
16
+ static ɵprov: i0.ɵɵInjectableDeclaration<SortMenuComponentStore>;
17
+ }
18
+ export interface ComponenStoreState {
19
+ sorted: SortWithName[];
20
+ notSorted: SortWithName[];
21
+ }
22
+ export interface SortWithName extends Sort {
23
+ displayName: string;
24
+ }
@@ -1,25 +1,25 @@
1
- import { CdkDragDrop } from '@angular/cdk/drag-drop';
2
- import { OnInit } from '@angular/core';
3
- import { BehaviorSubject } from 'rxjs';
4
- import { Observable } from 'rxjs';
5
- import { TableStore } from '../../classes/table-store';
6
- import { SortDirection } from '../../interfaces/report-def';
7
- import { SortMenuComponentStore, SortWithName } from './sort-menu.component-store';
8
- import * as i0 from "@angular/core";
9
- export declare class SortMenuComponent implements OnInit {
10
- private tableState;
11
- store: SortMenuComponentStore;
12
- sorted$: Observable<SortWithName[]>;
13
- notSorted$: Observable<SortWithName[]>;
14
- SortDirection: typeof SortDirection;
15
- dirty$: BehaviorSubject<boolean>;
16
- constructor(tableState: TableStore, store: SortMenuComponentStore);
17
- reset(): void;
18
- ngOnInit(): void;
19
- dropIntoSorted(event: CdkDragDrop<SortWithName[]>): void;
20
- dropIntoNotSorted(event: CdkDragDrop<SortWithName[]>): void;
21
- apply: (observableOrValue: Observable<null> | null) => import("rxjs").Subscription;
22
- setDirection(sort: SortWithName): void;
23
- static ɵfac: i0.ɵɵFactoryDeclaration<SortMenuComponent, never>;
24
- static ɵcmp: i0.ɵɵComponentDeclaration<SortMenuComponent, "tb-sort-menu", never, {}, {}, never, never, false>;
25
- }
1
+ import { CdkDragDrop } from '@angular/cdk/drag-drop';
2
+ import { OnInit } from '@angular/core';
3
+ import { BehaviorSubject } from 'rxjs';
4
+ import { Observable } from 'rxjs';
5
+ import { TableStore } from '../../classes/table-store';
6
+ import { SortDirection } from '../../interfaces/report-def';
7
+ import { SortMenuComponentStore, SortWithName } from './sort-menu.component-store';
8
+ import * as i0 from "@angular/core";
9
+ export declare class SortMenuComponent implements OnInit {
10
+ private tableState;
11
+ store: SortMenuComponentStore;
12
+ sorted$: Observable<SortWithName[]>;
13
+ notSorted$: Observable<SortWithName[]>;
14
+ SortDirection: typeof SortDirection;
15
+ dirty$: BehaviorSubject<boolean>;
16
+ constructor(tableState: TableStore, store: SortMenuComponentStore);
17
+ reset(): void;
18
+ ngOnInit(): void;
19
+ dropIntoSorted(event: CdkDragDrop<SortWithName[]>): void;
20
+ dropIntoNotSorted(event: CdkDragDrop<SortWithName[]>): void;
21
+ apply: (observableOrValue: Observable<null> | null) => import("rxjs").Subscription;
22
+ setDirection(sort: SortWithName): void;
23
+ static ɵfac: i0.ɵɵFactoryDeclaration<SortMenuComponent, never>;
24
+ static ɵcmp: i0.ɵɵComponentDeclaration<SortMenuComponent, "tb-sort-menu", never, {}, {}, never, never, false>;
25
+ }