@one-paragon/angular-utilities 0.1.25 → 0.1.26

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 +96 -96
  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 +34 -29
  18. package/esm2020/http-request-state/directives/index.mjs +5 -5
  19. package/esm2020/http-request-state/directives/request-state-directive.mjs +60 -60
  20. package/esm2020/http-request-state/helpers.mjs +21 -21
  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 +16 -16
  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 +21 -21
  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 +25 -25
  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 +79 -79
  55. package/esm2020/table-builder/components/gen-col-displayer/gen-col-displayer.component.mjs +45 -45
  56. package/esm2020/table-builder/components/generic-table/generic-table.component.mjs +202 -198
  57. package/esm2020/table-builder/components/generic-table/paginator.component.mjs +60 -60
  58. package/esm2020/table-builder/components/group-by-list/group-by-list.component.mjs +22 -22
  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 +63 -63
  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 +30 -30
  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 +322 -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 +30 -30
  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 +207 -207
  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 +25 -25
  107. package/esm2020/utilities/directives/dialog.mjs +137 -137
  108. package/esm2020/utilities/directives/mat-toggle-group-directive.mjs +59 -59
  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 +4346 -4327
  119. package/fesm2015/one-paragon-angular-utilities.mjs.map +1 -1
  120. package/fesm2020/one-paragon-angular-utilities.mjs +4312 -4295
  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 +48 -48
  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 +21 -14
  129. package/http-request-state/directives/index.d.ts +5 -5
  130. package/http-request-state/directives/request-state-directive.d.ts +35 -30
  131. package/http-request-state/helpers.d.ts +9 -9
  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 +36 -36
  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 +73 -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 +21 -21
  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 +68 -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 +32 -32
  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 +46 -46
  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,135 +1,135 @@
1
- import { Dictionary } from './dictionary';
2
- import { PipeTransform, Predicate, TemplateRef } from '@angular/core';
3
- import { TableBuilderExport } from '../classes/TableBuilderConfig';
4
- import { QueryParamsHandling } from '@angular/router';
5
- export declare enum FieldType {
6
- Unknown = 0,
7
- Date = 1,
8
- Link = 2,
9
- ImageUrl = 3,
10
- Currency = 4,
11
- Array = 5,
12
- Hidden = 6,
13
- Number = 7,
14
- String = 8,
15
- Boolean = 9,
16
- PhoneNumber = 10,
17
- Expression = 11,
18
- Enum = 12
19
- }
20
- export declare enum SortDirection {
21
- asc = "asc",
22
- desc = "desc"
23
- }
24
- export declare enum Target {
25
- Blank = "_blank",
26
- Self = "_self",
27
- Parent = "_parent",
28
- Top = "_top"
29
- }
30
- export interface MetaData<T = any, AdditionalFields extends string[] = []> {
31
- key: (keyof T | AdditionalFields[number]) & string;
32
- displayName?: string;
33
- fieldType: FieldType;
34
- additional?: Additional<T>;
35
- order?: number;
36
- preSort?: SortDef;
37
- _internalNotUserDefined?: boolean;
38
- width?: string;
39
- noExport?: boolean;
40
- noFilter?: boolean;
41
- customCell?: boolean;
42
- transform?: ((o: T, ...args: any[]) => any) | ((o: string, ...args: any[]) => any) | PipeTransform;
43
- click?: (element: T, key: string) => void;
44
- template?: TemplateRef<any>;
45
- classes?: Dictionary<Predicate<T>>;
46
- toolTip?: string;
47
- useIcon?: boolean;
48
- }
49
- export interface ReportDef<DataType = any> {
50
- data: DataType[];
51
- metaData: MetaData[];
52
- totalRecords?: number;
53
- count: number;
54
- }
55
- export interface SortDef {
56
- direction: SortDirection;
57
- precedence?: number;
58
- }
59
- export interface FilterOptions {
60
- filterableValues: string[];
61
- }
62
- declare type interpolatedRoute = string;
63
- export interface Additional<T = any> {
64
- link?: {
65
- base?: string;
66
- urlKey?: string;
67
- target?: Target;
68
- useRouterLink?: boolean;
69
- /**
70
- * If you want to use a route with interpolated params, you can use this. Wrap the property name in curly braces.
71
- * For example, if interpolatedRoute = /users/{id}/edit, {id} will be replaced with the value of the element's id property.
72
- */
73
- interpolatedRoute?: interpolatedRoute;
74
- routerLinkOptions?: {
75
- queryParams?: [string, interpolatedRoute][];
76
- fragment?: string;
77
- preserveFragment?: boolean;
78
- queryParamsHandling?: QueryParamsHandling;
79
- };
80
- };
81
- /**
82
- * @deprecated Please use link.base
83
- */
84
- base?: string;
85
- /**
86
- * @deprecated Please use link.urlKey
87
- */
88
- urlKey?: string;
89
- /**
90
- * @deprecated Please use link.target
91
- */
92
- target?: Target;
93
- /**
94
- * @deprecated Please use link.useRouterLink
95
- */
96
- useRouterLink?: boolean;
97
- footer?: {
98
- type: 'sum';
99
- };
100
- grouping?: {
101
- groupBy?: boolean;
102
- sum?: boolean;
103
- groupTitleFn?: (val: any) => string;
104
- };
105
- export?: TableBuilderExport;
106
- dateFormat?: string;
107
- filterOptions?: FilterOptions;
108
- styles?: Dictionary<string>;
109
- columnPartStyles?: {
110
- header?: Dictionary<string>;
111
- body?: Dictionary<string>;
112
- footer?: Dictionary<string>;
113
- };
114
- enumMap?: {
115
- [key: number]: string;
116
- };
117
- boolean?: {
118
- showForFalse?: true | {
119
- icon: string;
120
- };
121
- forTrue?: {
122
- icon: string;
123
- };
124
- };
125
- }
126
- export declare enum ArrayStyle {
127
- CommaDelimited = 0,
128
- NewLine = 1
129
- }
130
- export interface ArrayAdditional extends Additional {
131
- metaData?: MetaData;
132
- limit?: number;
133
- arrayStyle?: ArrayStyle;
134
- }
135
- export {};
1
+ import { Dictionary } from './dictionary';
2
+ import { PipeTransform, Predicate, TemplateRef } from '@angular/core';
3
+ import { TableBuilderExport } from '../classes/TableBuilderConfig';
4
+ import { QueryParamsHandling } from '@angular/router';
5
+ export declare enum FieldType {
6
+ Unknown = 0,
7
+ Date = 1,
8
+ Link = 2,
9
+ ImageUrl = 3,
10
+ Currency = 4,
11
+ Array = 5,
12
+ Hidden = 6,
13
+ Number = 7,
14
+ String = 8,
15
+ Boolean = 9,
16
+ PhoneNumber = 10,
17
+ Expression = 11,
18
+ Enum = 12
19
+ }
20
+ export declare enum SortDirection {
21
+ asc = "asc",
22
+ desc = "desc"
23
+ }
24
+ export declare enum Target {
25
+ Blank = "_blank",
26
+ Self = "_self",
27
+ Parent = "_parent",
28
+ Top = "_top"
29
+ }
30
+ export interface MetaData<T = any, AdditionalFields extends string[] = []> {
31
+ key: (keyof T | AdditionalFields[number]) & string;
32
+ displayName?: string;
33
+ fieldType: FieldType;
34
+ additional?: Additional<T>;
35
+ order?: number;
36
+ preSort?: SortDef;
37
+ _internalNotUserDefined?: boolean;
38
+ width?: string;
39
+ noExport?: boolean;
40
+ noFilter?: boolean;
41
+ customCell?: boolean;
42
+ transform?: ((o: T, ...args: any[]) => any) | ((o: string, ...args: any[]) => any) | PipeTransform;
43
+ click?: (element: T, key: string) => void;
44
+ template?: TemplateRef<any>;
45
+ classes?: Dictionary<Predicate<T>>;
46
+ toolTip?: string;
47
+ useIcon?: boolean;
48
+ }
49
+ export interface ReportDef<DataType = any> {
50
+ data: DataType[];
51
+ metaData: MetaData[];
52
+ totalRecords?: number;
53
+ count: number;
54
+ }
55
+ export interface SortDef {
56
+ direction: SortDirection;
57
+ precedence?: number;
58
+ }
59
+ export interface FilterOptions {
60
+ filterableValues: string[];
61
+ }
62
+ declare type interpolatedRoute = string;
63
+ export interface Additional<T = any> {
64
+ link?: {
65
+ base?: string;
66
+ urlKey?: string;
67
+ target?: Target;
68
+ useRouterLink?: boolean;
69
+ /**
70
+ * If you want to use a route with interpolated params, you can use this. Wrap the property name in curly braces.
71
+ * For example, if interpolatedRoute = /users/{id}/edit, {id} will be replaced with the value of the element's id property.
72
+ */
73
+ interpolatedRoute?: interpolatedRoute;
74
+ routerLinkOptions?: {
75
+ queryParams?: [string, interpolatedRoute][];
76
+ fragment?: string;
77
+ preserveFragment?: boolean;
78
+ queryParamsHandling?: QueryParamsHandling;
79
+ };
80
+ };
81
+ /**
82
+ * @deprecated Please use link.base
83
+ */
84
+ base?: string;
85
+ /**
86
+ * @deprecated Please use link.urlKey
87
+ */
88
+ urlKey?: string;
89
+ /**
90
+ * @deprecated Please use link.target
91
+ */
92
+ target?: Target;
93
+ /**
94
+ * @deprecated Please use link.useRouterLink
95
+ */
96
+ useRouterLink?: boolean;
97
+ footer?: {
98
+ type: 'sum';
99
+ };
100
+ grouping?: {
101
+ groupBy?: boolean;
102
+ sum?: boolean;
103
+ groupTitleFn?: (val: any) => string;
104
+ };
105
+ export?: TableBuilderExport;
106
+ dateFormat?: string;
107
+ filterOptions?: FilterOptions;
108
+ styles?: Dictionary<string>;
109
+ columnPartStyles?: {
110
+ header?: Dictionary<string>;
111
+ body?: Dictionary<string>;
112
+ footer?: Dictionary<string>;
113
+ };
114
+ enumMap?: {
115
+ [key: number]: string;
116
+ };
117
+ boolean?: {
118
+ showForFalse?: true | {
119
+ icon: string;
120
+ };
121
+ forTrue?: {
122
+ icon: string;
123
+ };
124
+ };
125
+ }
126
+ export declare enum ArrayStyle {
127
+ CommaDelimited = 0,
128
+ NewLine = 1
129
+ }
130
+ export interface ArrayAdditional extends Additional {
131
+ metaData?: MetaData;
132
+ limit?: number;
133
+ arrayStyle?: ArrayStyle;
134
+ }
135
+ export {};
@@ -1,32 +1,32 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "@angular/material/slide-toggle";
3
- import * as i2 from "@angular/material/table";
4
- import * as i3 from "@angular/material/select";
5
- import * as i4 from "@angular/material/dialog";
6
- import * as i5 from "@angular/material/datepicker";
7
- import * as i6 from "@angular/material/radio";
8
- import * as i7 from "@angular/material/button";
9
- import * as i8 from "@angular/material/expansion";
10
- import * as i9 from "@angular/material/stepper";
11
- import * as i10 from "@angular/material/toolbar";
12
- import * as i11 from "@angular/material/tooltip";
13
- import * as i12 from "@angular/material/core";
14
- import * as i13 from "@angular/material/progress-spinner";
15
- import * as i14 from "@angular/material/grid-list";
16
- import * as i15 from "@angular/material/card";
17
- import * as i16 from "@angular/material/sidenav";
18
- import * as i17 from "@angular/material/tabs";
19
- import * as i18 from "@angular/material/input";
20
- import * as i19 from "@angular/material/checkbox";
21
- import * as i20 from "@angular/material/menu";
22
- import * as i21 from "@angular/material/icon";
23
- import * as i22 from "@angular/material/badge";
24
- import * as i23 from "@angular/material/sort";
25
- import * as i24 from "@angular/material/autocomplete";
26
- import * as i25 from "@angular/material/paginator";
27
- import * as i26 from "@angular/material/chips";
28
- export declare class MaterialModule {
29
- static ɵfac: i0.ɵɵFactoryDeclaration<MaterialModule, never>;
30
- static ɵmod: i0.ɵɵNgModuleDeclaration<MaterialModule, never, [typeof i1.MatSlideToggleModule, typeof i2.MatTableModule, typeof i3.MatSelectModule, typeof i4.MatDialogModule, typeof i5.MatDatepickerModule, typeof i6.MatRadioModule, typeof i7.MatButtonModule, typeof i8.MatExpansionModule, typeof i9.MatStepperModule, typeof i10.MatToolbarModule, typeof i11.MatTooltipModule, typeof i12.MatNativeDateModule, typeof i13.MatProgressSpinnerModule, typeof i14.MatGridListModule, typeof i15.MatCardModule, typeof i16.MatSidenavModule, typeof i17.MatTabsModule, typeof i18.MatInputModule, typeof i17.MatTabsModule, typeof i19.MatCheckboxModule, typeof i20.MatMenuModule, typeof i21.MatIconModule, typeof i22.MatBadgeModule, typeof i23.MatSortModule, typeof i24.MatAutocompleteModule, typeof i25.MatPaginatorModule, typeof i26.MatChipsModule, typeof i4.MatDialogModule], [typeof i1.MatSlideToggleModule, typeof i2.MatTableModule, typeof i3.MatSelectModule, typeof i4.MatDialogModule, typeof i5.MatDatepickerModule, typeof i6.MatRadioModule, typeof i7.MatButtonModule, typeof i8.MatExpansionModule, typeof i9.MatStepperModule, typeof i10.MatToolbarModule, typeof i11.MatTooltipModule, typeof i12.MatNativeDateModule, typeof i13.MatProgressSpinnerModule, typeof i14.MatGridListModule, typeof i15.MatCardModule, typeof i16.MatSidenavModule, typeof i17.MatTabsModule, typeof i18.MatInputModule, typeof i17.MatTabsModule, typeof i19.MatCheckboxModule, typeof i20.MatMenuModule, typeof i21.MatIconModule, typeof i22.MatBadgeModule, typeof i23.MatSortModule, typeof i24.MatAutocompleteModule, typeof i25.MatPaginatorModule, typeof i26.MatChipsModule, typeof i4.MatDialogModule]>;
31
- static ɵinj: i0.ɵɵInjectorDeclaration<MaterialModule>;
32
- }
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "@angular/material/slide-toggle";
3
+ import * as i2 from "@angular/material/table";
4
+ import * as i3 from "@angular/material/select";
5
+ import * as i4 from "@angular/material/dialog";
6
+ import * as i5 from "@angular/material/datepicker";
7
+ import * as i6 from "@angular/material/radio";
8
+ import * as i7 from "@angular/material/button";
9
+ import * as i8 from "@angular/material/expansion";
10
+ import * as i9 from "@angular/material/stepper";
11
+ import * as i10 from "@angular/material/toolbar";
12
+ import * as i11 from "@angular/material/tooltip";
13
+ import * as i12 from "@angular/material/core";
14
+ import * as i13 from "@angular/material/progress-spinner";
15
+ import * as i14 from "@angular/material/grid-list";
16
+ import * as i15 from "@angular/material/card";
17
+ import * as i16 from "@angular/material/sidenav";
18
+ import * as i17 from "@angular/material/tabs";
19
+ import * as i18 from "@angular/material/input";
20
+ import * as i19 from "@angular/material/checkbox";
21
+ import * as i20 from "@angular/material/menu";
22
+ import * as i21 from "@angular/material/icon";
23
+ import * as i22 from "@angular/material/badge";
24
+ import * as i23 from "@angular/material/sort";
25
+ import * as i24 from "@angular/material/autocomplete";
26
+ import * as i25 from "@angular/material/paginator";
27
+ import * as i26 from "@angular/material/chips";
28
+ export declare class MaterialModule {
29
+ static ɵfac: i0.ɵɵFactoryDeclaration<MaterialModule, never>;
30
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MaterialModule, never, [typeof i1.MatSlideToggleModule, typeof i2.MatTableModule, typeof i3.MatSelectModule, typeof i4.MatDialogModule, typeof i5.MatDatepickerModule, typeof i6.MatRadioModule, typeof i7.MatButtonModule, typeof i8.MatExpansionModule, typeof i9.MatStepperModule, typeof i10.MatToolbarModule, typeof i11.MatTooltipModule, typeof i12.MatNativeDateModule, typeof i13.MatProgressSpinnerModule, typeof i14.MatGridListModule, typeof i15.MatCardModule, typeof i16.MatSidenavModule, typeof i17.MatTabsModule, typeof i18.MatInputModule, typeof i17.MatTabsModule, typeof i19.MatCheckboxModule, typeof i20.MatMenuModule, typeof i21.MatIconModule, typeof i22.MatBadgeModule, typeof i23.MatSortModule, typeof i24.MatAutocompleteModule, typeof i25.MatPaginatorModule, typeof i26.MatChipsModule, typeof i4.MatDialogModule], [typeof i1.MatSlideToggleModule, typeof i2.MatTableModule, typeof i3.MatSelectModule, typeof i4.MatDialogModule, typeof i5.MatDatepickerModule, typeof i6.MatRadioModule, typeof i7.MatButtonModule, typeof i8.MatExpansionModule, typeof i9.MatStepperModule, typeof i10.MatToolbarModule, typeof i11.MatTooltipModule, typeof i12.MatNativeDateModule, typeof i13.MatProgressSpinnerModule, typeof i14.MatGridListModule, typeof i15.MatCardModule, typeof i16.MatSidenavModule, typeof i17.MatTabsModule, typeof i18.MatInputModule, typeof i17.MatTabsModule, typeof i19.MatCheckboxModule, typeof i20.MatMenuModule, typeof i21.MatIconModule, typeof i22.MatBadgeModule, typeof i23.MatSortModule, typeof i24.MatAutocompleteModule, typeof i25.MatPaginatorModule, typeof i26.MatChipsModule, typeof i4.MatDialogModule]>;
31
+ static ɵinj: i0.ɵɵInjectorDeclaration<MaterialModule>;
32
+ }
@@ -1,23 +1,23 @@
1
- export declare const setLocalProfile: import("@ngrx/store").ActionCreator<"[State Storage] Set Local Profile", (props: {
2
- key: string;
3
- value: any;
4
- persist?: boolean | undefined;
5
- }) => {
6
- key: string;
7
- value: any;
8
- persist?: boolean | undefined;
9
- } & import("@ngrx/store/src/models").TypedAction<"[State Storage] Set Local Profile">>;
10
- export declare const setLocalProfilesState: import("@ngrx/store").ActionCreator<"[State Storage] Set Local Profiles Current", (props: {
11
- key: string;
12
- current: string;
13
- }) => {
14
- key: string;
15
- current: string;
16
- } & import("@ngrx/store/src/models").TypedAction<"[State Storage] Set Local Profiles Current">>;
17
- export declare const deleteLocalProfilesState: import("@ngrx/store").ActionCreator<"[State Storage] Delete Local Profiles Current", (props: {
18
- key: string;
19
- stateKey: string;
20
- }) => {
21
- key: string;
22
- stateKey: string;
23
- } & import("@ngrx/store/src/models").TypedAction<"[State Storage] Delete Local Profiles Current">>;
1
+ export declare const setLocalProfile: import("@ngrx/store").ActionCreator<"[State Storage] Set Local Profile", (props: {
2
+ key: string;
3
+ value: any;
4
+ persist?: boolean | undefined;
5
+ }) => {
6
+ key: string;
7
+ value: any;
8
+ persist?: boolean | undefined;
9
+ } & import("@ngrx/store/src/models").TypedAction<"[State Storage] Set Local Profile">>;
10
+ export declare const setLocalProfilesState: import("@ngrx/store").ActionCreator<"[State Storage] Set Local Profiles Current", (props: {
11
+ key: string;
12
+ current: string;
13
+ }) => {
14
+ key: string;
15
+ current: string;
16
+ } & import("@ngrx/store/src/models").TypedAction<"[State Storage] Set Local Profiles Current">>;
17
+ export declare const deleteLocalProfilesState: import("@ngrx/store").ActionCreator<"[State Storage] Delete Local Profiles Current", (props: {
18
+ key: string;
19
+ stateKey: string;
20
+ }) => {
21
+ key: string;
22
+ stateKey: string;
23
+ } & import("@ngrx/store/src/models").TypedAction<"[State Storage] Delete Local Profiles Current">>;
@@ -1,19 +1,19 @@
1
- import { Actions } from '@ngrx/effects';
2
- import { Store } from '@ngrx/store';
3
- import * as i0 from "@angular/core";
4
- export declare class SaveTableEffects {
5
- private actions$;
6
- private store;
7
- saveLocalProfile$: import("rxjs").Observable<[{
8
- key: string;
9
- value: any;
10
- persist?: boolean | undefined;
11
- } & import("@ngrx/store/src/models").TypedAction<"[State Storage] Set Local Profile">, import("./reducer").Profile<any>]> & import("@ngrx/effects").CreateEffectMetadata;
12
- deleteLocalProfile$: import("rxjs").Observable<{
13
- key: string;
14
- stateKey: string;
15
- } & import("@ngrx/store/src/models").TypedAction<"[State Storage] Delete Local Profiles Current">> & import("@ngrx/effects").CreateEffectMetadata;
16
- constructor(actions$: Actions, store: Store<any>);
17
- static ɵfac: i0.ɵɵFactoryDeclaration<SaveTableEffects, never>;
18
- static ɵprov: i0.ɵɵInjectableDeclaration<SaveTableEffects>;
19
- }
1
+ import { Actions } from '@ngrx/effects';
2
+ import { Store } from '@ngrx/store';
3
+ import * as i0 from "@angular/core";
4
+ export declare class SaveTableEffects {
5
+ private actions$;
6
+ private store;
7
+ saveLocalProfile$: import("rxjs").Observable<[{
8
+ key: string;
9
+ value: any;
10
+ persist?: boolean | undefined;
11
+ } & import("@ngrx/store/src/models").TypedAction<"[State Storage] Set Local Profile">, import("./reducer").Profile<any>]> & import("@ngrx/effects").CreateEffectMetadata;
12
+ deleteLocalProfile$: import("rxjs").Observable<{
13
+ key: string;
14
+ stateKey: string;
15
+ } & import("@ngrx/store/src/models").TypedAction<"[State Storage] Delete Local Profiles Current">> & import("@ngrx/effects").CreateEffectMetadata;
16
+ constructor(actions$: Actions, store: Store<any>);
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<SaveTableEffects, never>;
18
+ static ɵprov: i0.ɵɵInjectableDeclaration<SaveTableEffects>;
19
+ }
@@ -1,15 +1,15 @@
1
- import { Action } from '@ngrx/store';
2
- import { Dictionary } from '../interfaces/dictionary';
3
- export interface Profile<T = any> {
4
- default: string;
5
- current: string;
6
- states: Dictionary<T>;
7
- }
8
- export interface GlobalStorageState {
9
- globalProfileKeys: string[];
10
- currentGlobalProfile: string;
11
- globalProfiles: Dictionary<Profile>;
12
- localProfiles: Dictionary<Profile>;
13
- }
14
- export declare const defaultStorageState: GlobalStorageState;
15
- export declare function storageStateReducer(state: GlobalStorageState | undefined, action: Action): GlobalStorageState;
1
+ import { Action } from '@ngrx/store';
2
+ import { Dictionary } from '../interfaces/dictionary';
3
+ export interface Profile<T = any> {
4
+ default: string;
5
+ current: string;
6
+ states: Dictionary<T>;
7
+ }
8
+ export interface GlobalStorageState {
9
+ globalProfileKeys: string[];
10
+ currentGlobalProfile: string;
11
+ globalProfiles: Dictionary<Profile>;
12
+ localProfiles: Dictionary<Profile>;
13
+ }
14
+ export declare const defaultStorageState: GlobalStorageState;
15
+ export declare function storageStateReducer(state: GlobalStorageState | undefined, action: Action): GlobalStorageState;
@@ -1,22 +1,22 @@
1
- import { GlobalStorageState, Profile } from './reducer';
2
- export declare const selectGlobalStorageState: (state: {
3
- globalStorageState: GlobalStorageState;
4
- }) => GlobalStorageState;
5
- export declare const selectGlobalProfileKeys: import("@ngrx/store").MemoizedSelector<{
6
- globalStorageState: GlobalStorageState;
7
- }, string[], (s1: GlobalStorageState) => string[]>;
8
- export declare const selectCurrentGlobalProfile: import("@ngrx/store").MemoizedSelector<{
9
- globalStorageState: GlobalStorageState;
10
- }, Profile<any>, (s1: GlobalStorageState) => Profile<any>>;
11
- export declare const selectLocalProfile: <T>(key: string) => import("@ngrx/store").MemoizedSelector<{
12
- globalStorageState: GlobalStorageState;
13
- }, Profile<any>, (s1: GlobalStorageState) => Profile<any>>;
14
- export declare const selectLocalProfileState: <T>(key: string) => import("@ngrx/store").MemoizedSelector<{
15
- globalStorageState: GlobalStorageState;
16
- }, T | null, (s1: Profile<T>) => T | null>;
17
- export declare const selectLocalProfileCurrentKey: <T>(key: string) => import("@ngrx/store").MemoizedSelector<{
18
- globalStorageState: GlobalStorageState;
19
- }, string, (s1: Profile<T>) => string>;
20
- export declare const selectLocalProfileKeys: <T>(key: string) => import("@ngrx/store").MemoizedSelector<{
21
- globalStorageState: GlobalStorageState;
22
- }, string[] | null, (s1: Profile<T>) => string[] | null>;
1
+ import { GlobalStorageState, Profile } from './reducer';
2
+ export declare const selectGlobalStorageState: (state: {
3
+ globalStorageState: GlobalStorageState;
4
+ }) => GlobalStorageState;
5
+ export declare const selectGlobalProfileKeys: import("@ngrx/store").MemoizedSelector<{
6
+ globalStorageState: GlobalStorageState;
7
+ }, string[], (s1: GlobalStorageState) => string[]>;
8
+ export declare const selectCurrentGlobalProfile: import("@ngrx/store").MemoizedSelector<{
9
+ globalStorageState: GlobalStorageState;
10
+ }, Profile<any>, (s1: GlobalStorageState) => Profile<any>>;
11
+ export declare const selectLocalProfile: <T>(key: string) => import("@ngrx/store").MemoizedSelector<{
12
+ globalStorageState: GlobalStorageState;
13
+ }, Profile<any>, (s1: GlobalStorageState) => Profile<any>>;
14
+ export declare const selectLocalProfileState: <T>(key: string) => import("@ngrx/store").MemoizedSelector<{
15
+ globalStorageState: GlobalStorageState;
16
+ }, T | null, (s1: Profile<T>) => T | null>;
17
+ export declare const selectLocalProfileCurrentKey: <T>(key: string) => import("@ngrx/store").MemoizedSelector<{
18
+ globalStorageState: GlobalStorageState;
19
+ }, string, (s1: Profile<T>) => string>;
20
+ export declare const selectLocalProfileKeys: <T>(key: string) => import("@ngrx/store").MemoizedSelector<{
21
+ globalStorageState: GlobalStorageState;
22
+ }, string[] | null, (s1: Profile<T>) => string[] | null>;
@@ -1,8 +1,8 @@
1
- import { PipeTransform } from '@angular/core';
2
- import { MetaData } from '../interfaces/report-def';
3
- import * as i0 from "@angular/core";
4
- export declare class ColumnTotalPipe implements PipeTransform {
5
- transform(data: any[], metaData: MetaData): number | null;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<ColumnTotalPipe, never>;
7
- static ɵpipe: i0.ɵɵPipeDeclaration<ColumnTotalPipe, "columnTotal", false>;
8
- }
1
+ import { PipeTransform } from '@angular/core';
2
+ import { MetaData } from '../interfaces/report-def';
3
+ import * as i0 from "@angular/core";
4
+ export declare class ColumnTotalPipe implements PipeTransform {
5
+ transform(data: any[], metaData: MetaData): number | null;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<ColumnTotalPipe, never>;
7
+ static ɵpipe: i0.ɵɵPipeDeclaration<ColumnTotalPipe, "columnTotal", false>;
8
+ }
@@ -1,8 +1,8 @@
1
- import { PipeTransform } from '@angular/core';
2
- import { FilterType } from '../enums/filterTypes';
3
- import * as i0 from "@angular/core";
4
- export declare class FormatFilterTypePipe implements PipeTransform {
5
- transform(filterType: FilterType, value: any): FilterType | "Is Not Blank";
6
- static ɵfac: i0.ɵɵFactoryDeclaration<FormatFilterTypePipe, never>;
7
- static ɵpipe: i0.ɵɵPipeDeclaration<FormatFilterTypePipe, "formatFilterType", false>;
8
- }
1
+ import { PipeTransform } from '@angular/core';
2
+ import { FilterType } from '../enums/filterTypes';
3
+ import * as i0 from "@angular/core";
4
+ export declare class FormatFilterTypePipe implements PipeTransform {
5
+ transform(filterType: FilterType, value: any): FilterType | "Is Not Blank";
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormatFilterTypePipe, never>;
7
+ static ɵpipe: i0.ɵɵPipeDeclaration<FormatFilterTypePipe, "formatFilterType", false>;
8
+ }
@@ -1,14 +1,14 @@
1
- import { PipeTransform } from '@angular/core';
2
- import { TableStore } from '../classes/table-store';
3
- import { Observable } from 'rxjs';
4
- import { DatePipe } from '@angular/common';
5
- import { FilterType } from '../enums/filterTypes';
6
- import * as i0 from "@angular/core";
7
- export declare class FormatFilterValuePipe implements PipeTransform {
8
- tableState: TableStore;
9
- private datePipe;
10
- constructor(tableState: TableStore, datePipe: DatePipe);
11
- transform(value: any, key: string, filterType: FilterType): Observable<string>;
12
- static ɵfac: i0.ɵɵFactoryDeclaration<FormatFilterValuePipe, never>;
13
- static ɵpipe: i0.ɵɵPipeDeclaration<FormatFilterValuePipe, "formatFilterValue", false>;
14
- }
1
+ import { PipeTransform } from '@angular/core';
2
+ import { TableStore } from '../classes/table-store';
3
+ import { Observable } from 'rxjs';
4
+ import { DatePipe } from '@angular/common';
5
+ import { FilterType } from '../enums/filterTypes';
6
+ import * as i0 from "@angular/core";
7
+ export declare class FormatFilterValuePipe implements PipeTransform {
8
+ tableState: TableStore;
9
+ private datePipe;
10
+ constructor(tableState: TableStore, datePipe: DatePipe);
11
+ transform(value: any, key: string, filterType: FilterType): Observable<string>;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormatFilterValuePipe, never>;
13
+ static ɵpipe: i0.ɵɵPipeDeclaration<FormatFilterValuePipe, "formatFilterValue", false>;
14
+ }
@@ -1,11 +1,11 @@
1
- import { PipeTransform } from '@angular/core';
2
- import { TableStore } from '../classes/table-store';
3
- import { Observable } from 'rxjs';
4
- import * as i0 from "@angular/core";
5
- export declare class KeyDisplayPipe implements PipeTransform {
6
- tableState: TableStore;
7
- constructor(tableState: TableStore);
8
- transform(key: string): Observable<string>;
9
- static ɵfac: i0.ɵɵFactoryDeclaration<KeyDisplayPipe, never>;
10
- static ɵpipe: i0.ɵɵPipeDeclaration<KeyDisplayPipe, "keyDisplay", false>;
11
- }
1
+ import { PipeTransform } from '@angular/core';
2
+ import { TableStore } from '../classes/table-store';
3
+ import { Observable } from 'rxjs';
4
+ import * as i0 from "@angular/core";
5
+ export declare class KeyDisplayPipe implements PipeTransform {
6
+ tableState: TableStore;
7
+ constructor(tableState: TableStore);
8
+ transform(key: string): Observable<string>;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<KeyDisplayPipe, never>;
10
+ static ɵpipe: i0.ɵɵPipeDeclaration<KeyDisplayPipe, "keyDisplay", false>;
11
+ }
@@ -1,22 +1,22 @@
1
- import { DatePipe } from '@angular/common';
2
- import { Observable } from 'rxjs';
3
- import { TableStore } from '../classes/table-store';
4
- import { TableBuilderConfig } from '../classes/TableBuilderConfig';
5
- import { MetaData } from '../interfaces/report-def';
6
- import { TableState } from '../classes/TableState';
7
- import * as i0 from "@angular/core";
8
- export declare class ExportToCsvService<T> {
9
- state: TableStore;
10
- private config;
11
- private datePipe;
12
- constructor(state: TableStore, config: TableBuilderConfig, datePipe: DatePipe);
13
- exportToCsv: (data: Observable<T[]>) => void;
14
- csvData: (data: Array<T>, metaData: MetaData<T>[]) => string;
15
- metaToField: (meta: MetaData<T>, row: T) => any;
16
- private transform;
17
- static ɵfac: i0.ɵɵFactoryDeclaration<ExportToCsvService<any>, never>;
18
- static ɵprov: i0.ɵɵInjectableDeclaration<ExportToCsvService<any>>;
19
- }
20
- export declare const removeFromMetaData: (state: TableState, keysToRemove: string[]) => MetaData<any, []>[];
21
- export declare const nonExportableFields: (state: TableState) => string[];
22
- export declare const mapExportableFields: (state: TableState) => MetaData<any, []>[];
1
+ import { DatePipe } from '@angular/common';
2
+ import { Observable } from 'rxjs';
3
+ import { TableStore } from '../classes/table-store';
4
+ import { TableBuilderConfig } from '../classes/TableBuilderConfig';
5
+ import { MetaData } from '../interfaces/report-def';
6
+ import { TableState } from '../classes/TableState';
7
+ import * as i0 from "@angular/core";
8
+ export declare class ExportToCsvService<T> {
9
+ state: TableStore;
10
+ private config;
11
+ private datePipe;
12
+ constructor(state: TableStore, config: TableBuilderConfig, datePipe: DatePipe);
13
+ exportToCsv: (data: Observable<T[]>) => void;
14
+ csvData: (data: Array<T>, metaData: MetaData<T>[]) => string;
15
+ metaToField: (meta: MetaData<T>, row: T) => any;
16
+ private transform;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<ExportToCsvService<any>, never>;
18
+ static ɵprov: i0.ɵɵInjectableDeclaration<ExportToCsvService<any>>;
19
+ }
20
+ export declare const removeFromMetaData: (state: TableState, keysToRemove: string[]) => MetaData<any, []>[];
21
+ export declare const nonExportableFields: (state: TableState) => string[];
22
+ export declare const mapExportableFields: (state: TableState) => MetaData<any, []>[];