@vality/matez 19.0.1-pr-423-667df70.0

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 (231) hide show
  1. package/README.md +8 -0
  2. package/fesm2022/vality-matez.mjs +3741 -0
  3. package/fesm2022/vality-matez.mjs.map +1 -0
  4. package/index.d.ts +1 -0
  5. package/lib/components/actions/actions.component.d.ts +5 -0
  6. package/lib/components/actions/actions.module.d.ts +7 -0
  7. package/lib/components/actions/index.d.ts +2 -0
  8. package/lib/components/confirm-dialog/confirm-dialog.component.d.ts +16 -0
  9. package/lib/components/confirm-dialog/confirm-dialog.module.d.ts +14 -0
  10. package/lib/components/confirm-dialog/index.d.ts +2 -0
  11. package/lib/components/content-loading/content-loading.component.d.ts +8 -0
  12. package/lib/components/content-loading/index.d.ts +1 -0
  13. package/lib/components/date-range-field/date-range-field.component.d.ts +16 -0
  14. package/lib/components/date-range-field/date-range-field.module.d.ts +13 -0
  15. package/lib/components/date-range-field/index.d.ts +5 -0
  16. package/lib/components/date-range-field/types/date-range.d.ts +4 -0
  17. package/lib/components/date-range-field/utils/create-date-range-to-today.d.ts +2 -0
  18. package/lib/components/date-range-field/utils/is-equal-date-range.d.ts +2 -0
  19. package/lib/components/datetime-field/datetime-field.component.d.ts +19 -0
  20. package/lib/components/datetime-field/datetime-field.module.d.ts +11 -0
  21. package/lib/components/datetime-field/index.d.ts +2 -0
  22. package/lib/components/dialog/components/dialog-actions/dialog-actions.component.d.ts +5 -0
  23. package/lib/components/dialog/dialog.component.d.ts +28 -0
  24. package/lib/components/dialog/dialog.module.d.ts +16 -0
  25. package/lib/components/dialog/index.d.ts +8 -0
  26. package/lib/components/dialog/services/dialog.service.d.ts +23 -0
  27. package/lib/components/dialog/tokens.d.ts +8 -0
  28. package/lib/components/dialog/types/dialog-response-status.d.ts +5 -0
  29. package/lib/components/dialog/types/dialog-response.d.ts +6 -0
  30. package/lib/components/dialog/utils/dialog-superclass.d.ts +13 -0
  31. package/lib/components/error-page/error-page-routing.module.d.ts +7 -0
  32. package/lib/components/error-page/error-page.component.d.ts +5 -0
  33. package/lib/components/error-page/error-page.module.d.ts +9 -0
  34. package/lib/components/error-page/index.d.ts +2 -0
  35. package/lib/components/file-upload/file-upload.component.d.ts +14 -0
  36. package/lib/components/file-upload/file-upload.module.d.ts +9 -0
  37. package/lib/components/file-upload/index.d.ts +3 -0
  38. package/lib/components/file-upload/utils/load-file-content.d.ts +3 -0
  39. package/lib/components/filters/components/filters-dialog/filters-dialog.component.d.ts +10 -0
  40. package/lib/components/filters/components/main-filters/main-filters.directive.d.ts +8 -0
  41. package/lib/components/filters/components/more-filters-button/more-filters-button.component.d.ts +7 -0
  42. package/lib/components/filters/components/other-filters/other-filters.directive.d.ts +8 -0
  43. package/lib/components/filters/filters.component.d.ts +29 -0
  44. package/lib/components/filters/filters.module.d.ts +19 -0
  45. package/lib/components/filters/index.d.ts +5 -0
  46. package/lib/components/index.d.ts +18 -0
  47. package/lib/components/input-field/index.d.ts +2 -0
  48. package/lib/components/input-field/input-field.component.d.ts +14 -0
  49. package/lib/components/input-field/input-field.module.d.ts +12 -0
  50. package/lib/components/list-field/index.d.ts +2 -0
  51. package/lib/components/list-field/list-field.component.d.ts +12 -0
  52. package/lib/components/list-field/list-field.module.d.ts +10 -0
  53. package/lib/components/nav/index.d.ts +1 -0
  54. package/lib/components/nav/nav.component.d.ts +16 -0
  55. package/lib/components/number-range-field/index.d.ts +2 -0
  56. package/lib/components/number-range-field/number-range-field.component.d.ts +18 -0
  57. package/lib/components/number-range-field/number-range-field.module.d.ts +9 -0
  58. package/lib/components/progress/index.d.ts +3 -0
  59. package/lib/components/progress/progress.component.d.ts +9 -0
  60. package/lib/components/progress/progress.module.d.ts +9 -0
  61. package/lib/components/progress/utils/get-progress-by-count.d.ts +1 -0
  62. package/lib/components/select-autocomplete/autocomplete-field/autocomplete-field.component.d.ts +23 -0
  63. package/lib/components/select-autocomplete/autocomplete-field/autocomplete-field.module.d.ts +13 -0
  64. package/lib/components/select-autocomplete/autocomplete-field/index.d.ts +2 -0
  65. package/lib/components/select-autocomplete/index.d.ts +3 -0
  66. package/lib/components/select-autocomplete/select-field/index.d.ts +2 -0
  67. package/lib/components/select-autocomplete/select-field/select-field.component.d.ts +26 -0
  68. package/lib/components/select-autocomplete/select-field/select-field.module.d.ts +12 -0
  69. package/lib/components/select-autocomplete/types/index.d.ts +1 -0
  70. package/lib/components/select-autocomplete/types/option.d.ts +6 -0
  71. package/lib/components/select-autocomplete/utils/find-option-by-value.d.ts +2 -0
  72. package/lib/components/select-autocomplete/utils/get-hint-text.d.ts +5 -0
  73. package/lib/components/select-autocomplete/utils/index.d.ts +2 -0
  74. package/lib/components/select-autocomplete/utils/search-options.d.ts +3 -0
  75. package/lib/components/switch-button/index.d.ts +2 -0
  76. package/lib/components/switch-button/switch-button.component.d.ts +24 -0
  77. package/lib/components/switch-button/switch-button.module.d.ts +11 -0
  78. package/lib/components/table/components/base-column.component.d.ts +17 -0
  79. package/lib/components/table/components/customize/customize.component.d.ts +17 -0
  80. package/lib/components/table/components/dnd-column.component.d.ts +7 -0
  81. package/lib/components/table/components/infinity-scroll.directive.d.ts +12 -0
  82. package/lib/components/table/components/no-records.component.d.ts +7 -0
  83. package/lib/components/table/components/select-column.component.d.ts +21 -0
  84. package/lib/components/table/components/table-actions.component.d.ts +5 -0
  85. package/lib/components/table/components/table-info-bar/table-info-bar.component.d.ts +33 -0
  86. package/lib/components/table/components/table-inputs.component.d.ts +5 -0
  87. package/lib/components/table/components/table-progress-bar.component.d.ts +6 -0
  88. package/lib/components/table/consts.d.ts +8 -0
  89. package/lib/components/table/index.d.ts +10 -0
  90. package/lib/components/table/presets/create-menu-column.d.ts +6 -0
  91. package/lib/components/table/presets/index.d.ts +1 -0
  92. package/lib/components/table/table.component.d.ts +81 -0
  93. package/lib/components/table/table.module.d.ts +34 -0
  94. package/lib/components/table/tree-data/index.d.ts +2 -0
  95. package/lib/components/table/tree-data/tree-data-item-to-inline-data-item.d.ts +10 -0
  96. package/lib/components/table/tree-data/tree-data.d.ts +10 -0
  97. package/lib/components/table/types/column2.d.ts +34 -0
  98. package/lib/components/table/types/drag-drop.d.ts +10 -0
  99. package/lib/components/table/types/index.d.ts +3 -0
  100. package/lib/components/table/types/update-options.d.ts +3 -0
  101. package/lib/components/table/utils/cached-head-map.d.ts +2 -0
  102. package/lib/components/table/utils/correct-priorities.d.ts +5 -0
  103. package/lib/components/table/utils/create-column.d.ts +6 -0
  104. package/lib/components/table/utils/create-intersection-observer.d.ts +2 -0
  105. package/lib/components/table/utils/create-unique-column-def.d.ts +1 -0
  106. package/lib/components/table/utils/filter-sort.d.ts +14 -0
  107. package/lib/components/table/utils/normalize-string.d.ts +2 -0
  108. package/lib/components/table/utils/table-data-source.d.ts +31 -0
  109. package/lib/components/table/utils/table-to-csv-object.d.ts +3 -0
  110. package/lib/components/table/utils/to-columns-data.d.ts +26 -0
  111. package/lib/components/tag/index.d.ts +2 -0
  112. package/lib/components/tag/tag.component.d.ts +10 -0
  113. package/lib/components/tag/tag.module.d.ts +10 -0
  114. package/lib/components/value/components/menu-value.component.d.ts +15 -0
  115. package/lib/components/value/components/value-list.component.d.ts +7 -0
  116. package/lib/components/value/index.d.ts +3 -0
  117. package/lib/components/value/types/base-type.d.ts +19 -0
  118. package/lib/components/value/types/value.d.ts +9 -0
  119. package/lib/components/value/utils/currency-amount-value-to-string.d.ts +8 -0
  120. package/lib/components/value/utils/datetime-value-to-string.d.ts +4 -0
  121. package/lib/components/value/utils/unknown-to-string.d.ts +1 -0
  122. package/lib/components/value/utils/value-to-string.d.ts +2 -0
  123. package/lib/components/value/value.component.d.ts +27 -0
  124. package/lib/directives/highlight.directive.d.ts +15 -0
  125. package/lib/directives/index.d.ts +2 -0
  126. package/lib/directives/tooltip.directive.d.ts +1 -0
  127. package/lib/index.d.ts +6 -0
  128. package/lib/pipes/amount-currency.pipe.d.ts +10 -0
  129. package/lib/pipes/enum-key-values.pipe.d.ts +10 -0
  130. package/lib/pipes/enum-key.pipe.d.ts +8 -0
  131. package/lib/pipes/enum-keys.pipe.d.ts +7 -0
  132. package/lib/pipes/humanized-duration.pipe.d.ts +13 -0
  133. package/lib/pipes/index.d.ts +8 -0
  134. package/lib/pipes/inline-json.pipe.d.ts +7 -0
  135. package/lib/pipes/pipes.module.d.ts +14 -0
  136. package/lib/pipes/select.pipe.d.ts +12 -0
  137. package/lib/services/config/config.service.d.ts +12 -0
  138. package/lib/services/config/index.d.ts +1 -0
  139. package/lib/services/fetch-superclass/fetch-superclass.d.ts +39 -0
  140. package/lib/services/fetch-superclass/index.d.ts +1 -0
  141. package/lib/services/index.d.ts +5 -0
  142. package/lib/services/log/index.d.ts +2 -0
  143. package/lib/services/log/log-error.d.ts +12 -0
  144. package/lib/services/log/log.module.d.ts +7 -0
  145. package/lib/services/log/notify-log.service.d.ts +17 -0
  146. package/lib/services/log/types/operation.d.ts +1 -0
  147. package/lib/services/query-params/index.d.ts +4 -0
  148. package/lib/services/query-params/query-params.module.d.ts +6 -0
  149. package/lib/services/query-params/query-params.service.d.ts +37 -0
  150. package/lib/services/query-params/types/serializer.d.ts +6 -0
  151. package/lib/services/query-params/utils/date-query-params-serializers.d.ts +2 -0
  152. package/lib/services/query-params/utils/deserialize-query-param.d.ts +2 -0
  153. package/lib/services/query-params/utils/index.d.ts +2 -0
  154. package/lib/services/query-params/utils/query-params-serializers.d.ts +3 -0
  155. package/lib/services/query-params/utils/serialize-query-param.d.ts +2 -0
  156. package/lib/services/url.service.d.ts +12 -0
  157. package/lib/styles/index.d.ts +1 -0
  158. package/lib/styles/types/color.d.ts +4 -0
  159. package/lib/types/progressable.d.ts +3 -0
  160. package/lib/utils/async/async-transform.d.ts +20 -0
  161. package/lib/utils/async/get-possibly-async-observable.d.ts +3 -0
  162. package/lib/utils/async/index.d.ts +3 -0
  163. package/lib/utils/async/is-async.d.ts +4 -0
  164. package/lib/utils/clean/clean.d.ts +2 -0
  165. package/lib/utils/clean/index.d.ts +1 -0
  166. package/lib/utils/compare/compare-different-types.d.ts +4 -0
  167. package/lib/utils/compare/index.d.ts +1 -0
  168. package/lib/utils/component/component-changes.d.ts +8 -0
  169. package/lib/utils/component/index.d.ts +1 -0
  170. package/lib/utils/csv/create-csv.d.ts +1 -0
  171. package/lib/utils/csv/index.d.ts +1 -0
  172. package/lib/utils/currency/format-currency.d.ts +1 -0
  173. package/lib/utils/currency/get-currency-exponent.d.ts +1 -0
  174. package/lib/utils/currency/index.d.ts +4 -0
  175. package/lib/utils/currency/to-major.d.ts +2 -0
  176. package/lib/utils/currency/to-minor.d.ts +2 -0
  177. package/lib/utils/date/get-no-time-zone-iso-string.d.ts +2 -0
  178. package/lib/utils/date/index.d.ts +1 -0
  179. package/lib/utils/decorators/debounce-time.d.ts +1 -0
  180. package/lib/utils/decorators/index.d.ts +1 -0
  181. package/lib/utils/empty/index.d.ts +3 -0
  182. package/lib/utils/empty/is-empty-primitive.d.ts +1 -0
  183. package/lib/utils/empty/is-empty.d.ts +1 -0
  184. package/lib/utils/empty/types/nil.d.ts +1 -0
  185. package/lib/utils/enum/get-enum-keys.d.ts +10 -0
  186. package/lib/utils/enum/index.d.ts +2 -0
  187. package/lib/utils/enum/types/enum.d.ts +2 -0
  188. package/lib/utils/enum/types/union-enum.d.ts +2 -0
  189. package/lib/utils/file/download-file.d.ts +8 -0
  190. package/lib/utils/file/index.d.ts +1 -0
  191. package/lib/utils/form/create-controls.d.ts +4 -0
  192. package/lib/utils/form/form-wrappers/abstract-control-superclass.d.ts +17 -0
  193. package/lib/utils/form/form-wrappers/form-component-superclass.directive.d.ts +14 -0
  194. package/lib/utils/form/form-wrappers/form-control-superclass.directive.d.ts +8 -0
  195. package/lib/utils/form/form-wrappers/form-group-superclass.directive.d.ts +11 -0
  196. package/lib/utils/form/form-wrappers/index.d.ts +5 -0
  197. package/lib/utils/form/form-wrappers/utils/create-control-providers.d.ts +2 -0
  198. package/lib/utils/form/form-wrappers/utils/get-errors-tree.d.ts +6 -0
  199. package/lib/utils/form/form-wrappers/utils/provide-validators.d.ts +2 -0
  200. package/lib/utils/form/form-wrappers/utils/provide-value-accessor.d.ts +2 -0
  201. package/lib/utils/form/get-valid-value-changes.d.ts +3 -0
  202. package/lib/utils/form/get-value-changes.d.ts +3 -0
  203. package/lib/utils/form/get-value.d.ts +2 -0
  204. package/lib/utils/form/has-controls.d.ts +2 -0
  205. package/lib/utils/form/index.d.ts +8 -0
  206. package/lib/utils/form/set-disabled.d.ts +2 -0
  207. package/lib/utils/form/types/form-group-by-value.d.ts +4 -0
  208. package/lib/utils/import/get-import-value.d.ts +2 -0
  209. package/lib/utils/import/index.d.ts +1 -0
  210. package/lib/utils/index.d.ts +18 -0
  211. package/lib/utils/json/index.d.ts +1 -0
  212. package/lib/utils/json/inline-json.d.ts +1 -0
  213. package/lib/utils/object/count-changed.d.ts +3 -0
  214. package/lib/utils/object/count-props.d.ts +1 -0
  215. package/lib/utils/object/index.d.ts +3 -0
  216. package/lib/utils/object/select.d.ts +3 -0
  217. package/lib/utils/operators/async-start-with.d.ts +2 -0
  218. package/lib/utils/operators/debounce-time-with-first.d.ts +2 -0
  219. package/lib/utils/operators/fork-join-to-result.d.ts +20 -0
  220. package/lib/utils/operators/get-observable.d.ts +3 -0
  221. package/lib/utils/operators/handle-error.d.ts +3 -0
  222. package/lib/utils/operators/in-progress-from.d.ts +2 -0
  223. package/lib/utils/operators/index.d.ts +8 -0
  224. package/lib/utils/operators/pass-error.d.ts +2 -0
  225. package/lib/utils/operators/progress-to.d.ts +2 -0
  226. package/lib/utils/operators/switch-combine-with.d.ts +6 -0
  227. package/lib/utils/string/index.d.ts +1 -0
  228. package/lib/utils/string/split-by-separators.d.ts +1 -0
  229. package/lib/utils/transform-attribute/array-attribute.d.ts +3 -0
  230. package/lib/utils/transform-attribute/index.d.ts +1 -0
  231. package/package.json +44 -0
@@ -0,0 +1,9 @@
1
+ import { Progressable } from '../../types/progressable';
2
+ import * as i0 from "@angular/core";
3
+ export declare class ProgressComponent implements Progressable {
4
+ progress: Progressable['progress'];
5
+ get mode(): "determinate" | "indeterminate" | undefined;
6
+ get value(): number;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProgressComponent, never>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<ProgressComponent, "v-progress", never, { "progress": { "alias": "progress"; "required": false; }; }, {}, never, never, false, never>;
9
+ }
@@ -0,0 +1,9 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./progress.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/material/progress-bar";
5
+ export declare class ProgressModule {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProgressModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ProgressModule, [typeof i1.ProgressComponent], [typeof i2.CommonModule, typeof i3.MatProgressBarModule], [typeof i1.ProgressComponent]>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<ProgressModule>;
9
+ }
@@ -0,0 +1 @@
1
+ export declare function getProgressByCount(count: number, completedCount?: number): number;
@@ -0,0 +1,23 @@
1
+ import { OnChanges } from '@angular/core';
2
+ import { BehaviorSubject } from 'rxjs';
3
+ import { ComponentChanges, FormControlSuperclass } from '../../../utils';
4
+ import { Option } from '../types';
5
+ import * as i0 from "@angular/core";
6
+ export declare class AutocompleteFieldComponent<T> extends FormControlSuperclass<T> implements OnChanges {
7
+ options: Option<T>[];
8
+ label?: string;
9
+ hint?: string;
10
+ error?: string;
11
+ type: string;
12
+ mono: boolean;
13
+ required: boolean;
14
+ get hintText(): string | undefined;
15
+ options$: BehaviorSubject<Option<T>[]>;
16
+ selected$: import("rxjs").Observable<Option<T> | undefined>;
17
+ filteredOptions$: import("rxjs").Observable<Option<T>[]>;
18
+ ngOnChanges(changes: ComponentChanges<AutocompleteFieldComponent<T>>): void;
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<AutocompleteFieldComponent<any>, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<AutocompleteFieldComponent<any>, "v-autocomplete-field", never, { "options": { "alias": "options"; "required": false; }; "label": { "alias": "label"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "error": { "alias": "error"; "required": false; }; "type": { "alias": "type"; "required": false; }; "mono": { "alias": "mono"; "required": false; }; "required": { "alias": "required"; "required": false; }; }, {}, never, never, false, never>;
21
+ static ngAcceptInputType_mono: unknown;
22
+ static ngAcceptInputType_required: unknown;
23
+ }
@@ -0,0 +1,13 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./autocomplete-field.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/material/input";
5
+ import * as i4 from "@angular/forms";
6
+ import * as i5 from "@angular/material/autocomplete";
7
+ import * as i6 from "@angular/material/button";
8
+ import * as i7 from "@angular/material/icon";
9
+ export declare class AutocompleteFieldModule {
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<AutocompleteFieldModule, never>;
11
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AutocompleteFieldModule, [typeof i1.AutocompleteFieldComponent], [typeof i2.CommonModule, typeof i3.MatInputModule, typeof i4.FormsModule, typeof i4.ReactiveFormsModule, typeof i5.MatAutocompleteModule, typeof i6.MatButtonModule, typeof i7.MatIconModule], [typeof i1.AutocompleteFieldComponent]>;
12
+ static ɵinj: i0.ɵɵInjectorDeclaration<AutocompleteFieldModule>;
13
+ }
@@ -0,0 +1,2 @@
1
+ export * from './autocomplete-field.module';
2
+ export * from './autocomplete-field.component';
@@ -0,0 +1,3 @@
1
+ export * from './select-field';
2
+ export * from './autocomplete-field';
3
+ export * from './types';
@@ -0,0 +1,2 @@
1
+ export * from './select-field.module';
2
+ export * from './select-field.component';
@@ -0,0 +1,26 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { MatFormFieldAppearance } from '@angular/material/form-field';
3
+ import { FormControlSuperclass } from '../../../utils';
4
+ import { Option } from '../types';
5
+ import * as i0 from "@angular/core";
6
+ export declare class SelectFieldComponent<T = unknown> extends FormControlSuperclass<T[]> {
7
+ options: Option<T>[];
8
+ searchChange: EventEmitter<string>;
9
+ appearance: MatFormFieldAppearance;
10
+ label?: string;
11
+ hint?: string;
12
+ error?: string;
13
+ progress: boolean;
14
+ externalSearch: boolean;
15
+ multiple: boolean;
16
+ required: boolean;
17
+ size?: 'small' | '';
18
+ searchStr: string;
19
+ get hintText(): string | undefined;
20
+ search: (term: string, item: Option<T>) => boolean;
21
+ static ɵfac: i0.ɵɵFactoryDeclaration<SelectFieldComponent<any>, never>;
22
+ static ɵcmp: i0.ɵɵComponentDeclaration<SelectFieldComponent<any>, "v-select-field", never, { "options": { "alias": "options"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "label": { "alias": "label"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "error": { "alias": "error"; "required": false; }; "progress": { "alias": "progress"; "required": false; }; "externalSearch": { "alias": "externalSearch"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "required": { "alias": "required"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "searchChange": "searchChange"; }, never, never, false, never>;
23
+ static ngAcceptInputType_externalSearch: unknown;
24
+ static ngAcceptInputType_multiple: unknown;
25
+ static ngAcceptInputType_required: unknown;
26
+ }
@@ -0,0 +1,12 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./select-field.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/material/input";
5
+ import * as i4 from "@ng-matero/extensions/select";
6
+ import * as i5 from "@angular/forms";
7
+ import * as i6 from "@angular/material/checkbox";
8
+ export declare class SelectFieldModule {
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<SelectFieldModule, never>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SelectFieldModule, [typeof i1.SelectFieldComponent], [typeof i2.CommonModule, typeof i3.MatInputModule, typeof i4.MtxSelectModule, typeof i5.FormsModule, typeof i5.ReactiveFormsModule, typeof i6.MatCheckboxModule], [typeof i1.SelectFieldComponent]>;
11
+ static ɵinj: i0.ɵɵInjectorDeclaration<SelectFieldModule>;
12
+ }
@@ -0,0 +1 @@
1
+ export * from './option';
@@ -0,0 +1,6 @@
1
+ export interface Option<T> {
2
+ value: T;
3
+ label: string;
4
+ description?: string;
5
+ type?: unknown;
6
+ }
@@ -0,0 +1,2 @@
1
+ import { Option } from '../types';
2
+ export declare function findOptionByValue<T>(options: Option<T>[], value: T): Option<T> | undefined;
@@ -0,0 +1,5 @@
1
+ import { Option } from '../types';
2
+ export declare function getHintText<T>(options: Option<T>[], selected: T[], hint?: string, opts?: {
3
+ multiple?: boolean;
4
+ showLabel?: boolean;
5
+ }): string | undefined;
@@ -0,0 +1,2 @@
1
+ export * from './search-options';
2
+ export * from './find-option-by-value';
@@ -0,0 +1,3 @@
1
+ import { Option } from '../types';
2
+ export declare function isSearchOption<T>(option: Option<T>, termLowerCase: string): boolean;
3
+ export declare function searchOptions<T>(options: Option<T>[], term: string): Option<T>[];
@@ -0,0 +1,2 @@
1
+ export * from './switch-button.module';
2
+ export * from './switch-button.component';
@@ -0,0 +1,24 @@
1
+ import { OnChanges } from '@angular/core';
2
+ import { ComponentChanges, FormControlSuperclass } from '../../utils';
3
+ import * as i0 from "@angular/core";
4
+ export interface State<T = unknown> {
5
+ icon?: string;
6
+ label?: string;
7
+ value?: T;
8
+ }
9
+ export declare class SwitchButtonComponent<T = number> extends FormControlSuperclass<T> implements OnChanges {
10
+ states: State<T>[];
11
+ private hasChangeValue;
12
+ get index(): number;
13
+ get nextIndex(): number;
14
+ get value(): T;
15
+ get state(): State<T>;
16
+ get nextState(): State<T>;
17
+ get tooltip(): string;
18
+ change(): void;
19
+ ngOnChanges(changes: ComponentChanges<SwitchButtonComponent<T>>): void;
20
+ private getIndex;
21
+ private getValue;
22
+ static ɵfac: i0.ɵɵFactoryDeclaration<SwitchButtonComponent<any>, never>;
23
+ static ɵcmp: i0.ɵɵComponentDeclaration<SwitchButtonComponent<any>, "v-switch-button", never, { "states": { "alias": "states"; "required": false; }; }, {}, never, never, false, never>;
24
+ }
@@ -0,0 +1,11 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./switch-button.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/material/button";
5
+ import * as i4 from "@angular/material/icon";
6
+ import * as i5 from "@angular/material/tooltip";
7
+ export declare class SwitchButtonModule {
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<SwitchButtonModule, never>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SwitchButtonModule, [typeof i1.SwitchButtonComponent], [typeof i2.CommonModule, typeof i3.MatButtonModule, typeof i4.MatIconModule, typeof i5.MatTooltipModule], [typeof i1.SwitchButtonComponent]>;
10
+ static ɵinj: i0.ɵɵInjectorDeclaration<SwitchButtonModule>;
11
+ }
@@ -0,0 +1,17 @@
1
+ import { OnDestroy, OnInit } from '@angular/core';
2
+ import { MatCellDef, MatColumnDef, MatFooterCellDef, MatHeaderCellDef, MatTable } from '@angular/material/table';
3
+ import * as i0 from "@angular/core";
4
+ export declare class BaseColumnComponent implements OnDestroy, OnInit {
5
+ name: import("@angular/core").InputSignal<string>;
6
+ table: MatTable<any>;
7
+ columnDef: import("@angular/core").Signal<MatColumnDef | undefined>;
8
+ cellDef: import("@angular/core").Signal<MatCellDef | undefined>;
9
+ headerCellDef: import("@angular/core").Signal<MatHeaderCellDef | undefined>;
10
+ footerCellDef: import("@angular/core").Signal<MatFooterCellDef | undefined>;
11
+ addedColumnDef?: MatColumnDef;
12
+ ngOnInit(): void;
13
+ ngOnDestroy(): void;
14
+ private removeColumnDef;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<BaseColumnComponent, never>;
16
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BaseColumnComponent, never, never, { "name": { "alias": "name"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { DialogSuperclass } from '../../../dialog';
2
+ import { Column, NormColumn } from '../../types';
3
+ import * as i0 from "@angular/core";
4
+ interface CustomizedColumn {
5
+ priority: number;
6
+ name: string;
7
+ hidden: boolean;
8
+ }
9
+ export declare class CustomizeComponent extends DialogSuperclass<CustomizeComponent, {
10
+ columns: NormColumn<object>[];
11
+ }> {
12
+ columns: Column<CustomizedColumn>[];
13
+ data: CustomizedColumn[];
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<CustomizeComponent, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<CustomizeComponent, "v-customize", never, {}, {}, never, never, false, never>;
16
+ }
17
+ export {};
@@ -0,0 +1,7 @@
1
+ import { BaseColumnComponent } from './base-column.component';
2
+ import * as i0 from "@angular/core";
3
+ export declare class DndColumnComponent extends BaseColumnComponent {
4
+ dragged: import("@angular/core").OutputEmitterRef<void>;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<DndColumnComponent, never>;
6
+ static ɵcmp: i0.ɵɵComponentDeclaration<DndColumnComponent, "v-dnd-column", never, {}, { "dragged": "dragged"; }, never, never, true, never>;
7
+ }
@@ -0,0 +1,12 @@
1
+ import { DestroyRef, ElementRef, OnInit } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class InfinityScrollDirective implements OnInit {
4
+ private elementRef;
5
+ private dr;
6
+ vInfinityScroll: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
7
+ vInfinityScrollMore: import("@angular/core").OutputEmitterRef<void>;
8
+ constructor(elementRef: ElementRef, dr: DestroyRef);
9
+ ngOnInit(): void;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<InfinityScrollDirective, never>;
11
+ static ɵdir: i0.ɵɵDirectiveDeclaration<InfinityScrollDirective, "[vInfinityScroll]", never, { "vInfinityScroll": { "alias": "vInfinityScroll"; "required": false; "isSignal": true; }; }, { "vInfinityScrollMore": "vInfinityScrollMore"; }, never, never, true, never>;
12
+ }
@@ -0,0 +1,7 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class NoRecordsComponent {
3
+ noRecords: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
4
+ progress: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<NoRecordsComponent, never>;
6
+ static ɵcmp: i0.ɵɵComponentDeclaration<NoRecordsComponent, "v-no-records", never, { "noRecords": { "alias": "noRecords"; "required": false; "isSignal": true; }; "progress": { "alias": "progress"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
7
+ }
@@ -0,0 +1,21 @@
1
+ import { SelectionModel } from '@angular/cdk/collections';
2
+ import { DestroyRef, OnChanges, OnDestroy, OnInit } from '@angular/core';
3
+ import { ArrayAttributeTransform, ComponentChanges } from '../../../utils';
4
+ import { BaseColumnComponent } from './base-column.component';
5
+ import * as i0 from "@angular/core";
6
+ export declare class SelectColumnComponent<T> extends BaseColumnComponent implements OnInit, OnDestroy, OnChanges {
7
+ private dr;
8
+ selected: import("@angular/core").ModelSignal<any[]>;
9
+ data: import("@angular/core").InputSignalWithTransform<T[], ArrayAttributeTransform<any>>;
10
+ progress: import("@angular/core").InputSignal<number | boolean | null | undefined>;
11
+ selection: SelectionModel<T>;
12
+ isAllSelected$: import("rxjs").Observable<boolean>;
13
+ constructor(dr: DestroyRef);
14
+ ngOnInit(): void;
15
+ ngOnChanges(changes: ComponentChanges<SelectColumnComponent<T>>): void;
16
+ toggleAllRows(): void;
17
+ private getIsAllSelected;
18
+ private updateSelection;
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<SelectColumnComponent<any>, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<SelectColumnComponent<any>, "v-select-column", never, { "selected": { "alias": "selected"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; "progress": { "alias": "progress"; "required": false; "isSignal": true; }; }, { "selected": "selectedChange"; }, never, never, true, never>;
21
+ }
@@ -0,0 +1,5 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class TableActionsComponent {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableActionsComponent, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<TableActionsComponent, "v-table-actions", never, {}, {}, never, ["*"], false, never>;
5
+ }
@@ -0,0 +1,33 @@
1
+ import { DestroyRef, OnInit } from '@angular/core';
2
+ import { FormControl } from '@angular/forms';
3
+ import { NormColumn } from '../../types';
4
+ import * as i0 from "@angular/core";
5
+ export declare class TableInfoBarComponent<T extends object, C extends object> implements OnInit {
6
+ private dr;
7
+ progress: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
8
+ hasMore: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
9
+ hasLoad: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
10
+ isPreload: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
11
+ noDownload: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
12
+ noToolbar: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
13
+ dataProgress: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
14
+ columns: import("@angular/core").InputSignal<NormColumn<T, C>[]>;
15
+ size: import("@angular/core").InputSignalWithTransform<number, unknown>;
16
+ preloadSize: import("@angular/core").InputSignalWithTransform<number, unknown>;
17
+ count: import("@angular/core").InputSignal<number | null | undefined>;
18
+ filteredCount: import("@angular/core").InputSignal<number | null | undefined>;
19
+ selectedCount: import("@angular/core").InputSignal<number | null | undefined>;
20
+ filter: import("@angular/core").InputSignal<string>;
21
+ standaloneFilter: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
22
+ hasInputs: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
23
+ filterChange: import("@angular/core").OutputEmitterRef<string>;
24
+ filterControl: FormControl<string>;
25
+ downloadCsv: import("@angular/core").OutputEmitterRef<void>;
26
+ load: import("@angular/core").OutputEmitterRef<void>;
27
+ preload: import("@angular/core").OutputEmitterRef<void>;
28
+ countText: import("@angular/core").Signal<string>;
29
+ constructor(dr: DestroyRef);
30
+ ngOnInit(): void;
31
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableInfoBarComponent<any, any>, never>;
32
+ static ɵcmp: i0.ɵɵComponentDeclaration<TableInfoBarComponent<any, any>, "v-table-info-bar", never, { "progress": { "alias": "progress"; "required": false; "isSignal": true; }; "hasMore": { "alias": "hasMore"; "required": false; "isSignal": true; }; "hasLoad": { "alias": "hasLoad"; "required": false; "isSignal": true; }; "isPreload": { "alias": "isPreload"; "required": false; "isSignal": true; }; "noDownload": { "alias": "noDownload"; "required": false; "isSignal": true; }; "noToolbar": { "alias": "noToolbar"; "required": false; "isSignal": true; }; "dataProgress": { "alias": "dataProgress"; "required": false; "isSignal": true; }; "columns": { "alias": "columns"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "preloadSize": { "alias": "preloadSize"; "required": false; "isSignal": true; }; "count": { "alias": "count"; "required": false; "isSignal": true; }; "filteredCount": { "alias": "filteredCount"; "required": false; "isSignal": true; }; "selectedCount": { "alias": "selectedCount"; "required": false; "isSignal": true; }; "filter": { "alias": "filter"; "required": false; "isSignal": true; }; "standaloneFilter": { "alias": "standaloneFilter"; "required": false; "isSignal": true; }; "hasInputs": { "alias": "hasInputs"; "required": false; "isSignal": true; }; }, { "filterChange": "filterChange"; "downloadCsv": "downloadCsv"; "load": "load"; "preload": "preload"; }, never, ["v-table-inputs", "*"], false, never>;
33
+ }
@@ -0,0 +1,5 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class TableInputsComponent {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableInputsComponent, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<TableInputsComponent, "v-table-inputs", never, {}, {}, never, ["*"], false, never>;
5
+ }
@@ -0,0 +1,6 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class TableProgressBarComponent {
3
+ progress: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableProgressBarComponent, never>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<TableProgressBarComponent, "v-table-progress-bar", never, { "progress": { "alias": "progress"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
6
+ }
@@ -0,0 +1,8 @@
1
+ import { Sort } from '@angular/material/sort';
2
+ export declare const DEFAULT_SORT: Sort;
3
+ export declare const DEBOUNCE_TIME_MS = 500;
4
+ export declare const DEFAULT_LOADED_LAZY_ROWS_COUNT = 3;
5
+ export declare const COLUMN_DEFS: {
6
+ select: string;
7
+ drag: string;
8
+ };
@@ -0,0 +1,10 @@
1
+ export * from './table.module';
2
+ export * from './utils/correct-priorities';
3
+ export * from './utils/create-column';
4
+ export * from './utils/cached-head-map';
5
+ export * from './table.component';
6
+ export * from './components/table-actions.component';
7
+ export * from './components/table-inputs.component';
8
+ export * from './types';
9
+ export * from './presets';
10
+ export * from './tree-data';
@@ -0,0 +1,6 @@
1
+ import { Column } from '../types/column2';
2
+ export declare const createMenuColumn: <T extends object>(getCellParams: (data: T, index: number) => import("@vality/matez").PossiblyAsync<{
3
+ items: import("../../value/components/menu-value.component").MenuItem[];
4
+ }>, { isLazyCell, ...column }?: Partial<Column<T, object>> & {
5
+ isLazyCell?: boolean;
6
+ }) => Column<T, object>;
@@ -0,0 +1 @@
1
+ export * from './create-menu-column';
@@ -0,0 +1,81 @@
1
+ import { CdkDragDrop } from '@angular/cdk/drag-drop';
2
+ import { ChangeDetectorRef, DestroyRef, ElementRef, Injector, OnInit } from '@angular/core';
3
+ import { MatSort, Sort } from '@angular/material/sort';
4
+ import { MatTable } from '@angular/material/table';
5
+ import { BehaviorSubject, Observable, Subject } from 'rxjs';
6
+ import { ArrayAttributeTransform } from '../../utils';
7
+ import { TreeData } from './tree-data';
8
+ import { Column, DragDrop, NormColumn, UpdateOptions } from './types';
9
+ import { TableDataSource } from './utils/table-data-source';
10
+ import { DisplayedData, DisplayedDataItem } from './utils/to-columns-data';
11
+ import * as i0 from "@angular/core";
12
+ export declare class TableComponent<T extends object, C extends object> implements OnInit {
13
+ private dr;
14
+ private injector;
15
+ private cdr;
16
+ data: import("@angular/core").InputSignalWithTransform<T[], ArrayAttributeTransform<T>>;
17
+ treeData: import("@angular/core").InputSignal<TreeData<T, C> | undefined>;
18
+ columns: import("@angular/core").InputSignalWithTransform<Column<T, C>[], ArrayAttributeTransform<Column<T, C>>>;
19
+ progress: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
20
+ hasMore: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
21
+ size: import("@angular/core").InputSignalWithTransform<number, unknown>;
22
+ maxSize: import("@angular/core").InputSignalWithTransform<number, unknown>;
23
+ noDownload: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
24
+ noToolbar: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
25
+ filter: import("@angular/core").ModelSignal<string>;
26
+ filter$: Observable<string>;
27
+ standaloneFilter: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
28
+ externalFilter: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
29
+ filteredSortData$: BehaviorSubject<DisplayedData<T, C> | null>;
30
+ displayedData$: Observable<DisplayedData<T, C>>;
31
+ displayedCount$: Observable<number>;
32
+ rowSelectable: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
33
+ rowSelected: import("@angular/core").ModelSignal<DisplayedData<T, C>>;
34
+ sort: import("@angular/core").ModelSignal<Sort>;
35
+ sortComponent: MatSort;
36
+ rowDragDrop: import("@angular/core").InputSignalWithTransform<boolean | string[], boolean | string[]>;
37
+ rowDropped: import("@angular/core").OutputEmitterRef<DragDrop<DisplayedDataItem<T, C>>>;
38
+ dragDisabled: boolean;
39
+ update$: Subject<UpdateOptions>;
40
+ update: import("@angular/core").OutputRef<UpdateOptions>;
41
+ more: import("@angular/core").OutputEmitterRef<UpdateOptions>;
42
+ loadedLazyItems: WeakMap<DisplayedDataItem<T, C>, boolean>;
43
+ dataSource: TableDataSource<T, C>;
44
+ normColumns: import("@angular/core").Signal<NormColumn<T, C>[]>;
45
+ displayedNormColumns$: Observable<NormColumn<T, C>[]>;
46
+ columnsData$$: Observable<Map<DisplayedDataItem<T, C>, Map<NormColumn<T, C>, {
47
+ value: Observable<import("@vality/matez").Value | null>;
48
+ lazyValue?: Observable<import("@vality/matez").Value> | undefined;
49
+ isChild?: boolean | undefined;
50
+ isNextChild?: boolean | undefined;
51
+ }>>>;
52
+ columnsDataProgress$: BehaviorSubject<boolean>;
53
+ columnsData$: Observable<Map<DisplayedDataItem<T, C>, import("./utils/to-columns-data").ColumnData>>;
54
+ isPreload: import("@angular/core").WritableSignal<boolean>;
55
+ loadSize: import("@angular/core").Signal<number>;
56
+ hasAutoShowMore$: Observable<boolean>;
57
+ displayedColumns$: Observable<string[]>;
58
+ columnDefs: {
59
+ select: string;
60
+ drag: string;
61
+ };
62
+ scrollViewport: ElementRef;
63
+ table: MatTable<T>;
64
+ tableInputsContent: ElementRef;
65
+ tableRow: ElementRef;
66
+ constructor(dr: DestroyRef, injector: Injector, cdr: ChangeDetectorRef);
67
+ ngOnInit(): void;
68
+ load(): void;
69
+ preload(): void;
70
+ showMore(): void;
71
+ downloadCsv(): void;
72
+ drop(event: CdkDragDrop<any>): void;
73
+ private generateCsvData;
74
+ private reload;
75
+ private updateSortFilter;
76
+ private reset;
77
+ private refreshTable;
78
+ private updateLoadedLazyItems;
79
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent<any, any>, never>;
80
+ static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent<any, any>, "v-table", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "treeData": { "alias": "treeData"; "required": false; "isSignal": true; }; "columns": { "alias": "columns"; "required": false; "isSignal": true; }; "progress": { "alias": "progress"; "required": false; "isSignal": true; }; "hasMore": { "alias": "hasMore"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "maxSize": { "alias": "maxSize"; "required": false; "isSignal": true; }; "noDownload": { "alias": "noDownload"; "required": false; "isSignal": true; }; "noToolbar": { "alias": "noToolbar"; "required": false; "isSignal": true; }; "filter": { "alias": "filter"; "required": false; "isSignal": true; }; "standaloneFilter": { "alias": "standaloneFilter"; "required": false; "isSignal": true; }; "externalFilter": { "alias": "externalFilter"; "required": false; "isSignal": true; }; "rowSelectable": { "alias": "rowSelectable"; "required": false; "isSignal": true; }; "rowSelected": { "alias": "rowSelected"; "required": false; "isSignal": true; }; "sort": { "alias": "sort"; "required": false; "isSignal": true; }; "rowDragDrop": { "alias": "rowDragDrop"; "required": false; "isSignal": true; }; }, { "filter": "filterChange"; "rowSelected": "rowSelectedChange"; "sort": "sortChange"; "rowDropped": "rowDropped"; "update": "update"; "more": "more"; }, ["tableInputsContent"], ["v-table-actions", "v-table-inputs"], false, never>;
81
+ }
@@ -0,0 +1,34 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./components/customize/customize.component";
3
+ import * as i2 from "./table.component";
4
+ import * as i3 from "./components/table-info-bar/table-info-bar.component";
5
+ import * as i4 from "./components/table-inputs.component";
6
+ import * as i5 from "./components/table-actions.component";
7
+ import * as i6 from "@angular/common";
8
+ import * as i7 from "@angular/material/table";
9
+ import * as i8 from "@angular/material/card";
10
+ import * as i9 from "../value/value.component";
11
+ import * as i10 from "./components/table-progress-bar.component";
12
+ import * as i11 from "./components/no-records.component";
13
+ import * as i12 from "../content-loading/content-loading.component";
14
+ import * as i13 from "@angular/material/icon";
15
+ import * as i14 from "@angular/material/tooltip";
16
+ import * as i15 from "@angular/material/button";
17
+ import * as i16 from "./components/infinity-scroll.directive";
18
+ import * as i17 from "../value/components/value-list.component";
19
+ import * as i18 from "./components/select-column.component";
20
+ import * as i19 from "../progress/progress.module";
21
+ import * as i20 from "@angular/material/sort";
22
+ import * as i21 from "@angular/cdk/drag-drop";
23
+ import * as i22 from "../dialog/dialog.module";
24
+ import * as i23 from "../input-field/input-field.module";
25
+ import * as i24 from "../actions/actions.module";
26
+ import * as i25 from "@angular/material/badge";
27
+ import * as i26 from "@angular/forms";
28
+ import * as i27 from "../tag/tag.module";
29
+ import * as i28 from "./components/dnd-column.component";
30
+ export declare class TableModule {
31
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableModule, never>;
32
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TableModule, [typeof i1.CustomizeComponent, typeof i2.TableComponent, typeof i3.TableInfoBarComponent, typeof i4.TableInputsComponent, typeof i5.TableActionsComponent], [typeof i6.CommonModule, typeof i7.MatTableModule, typeof i8.MatCardModule, typeof i9.ValueComponent, typeof i10.TableProgressBarComponent, typeof i11.NoRecordsComponent, typeof i12.ContentLoadingComponent, typeof i13.MatIcon, typeof i14.MatTooltip, typeof i15.MatIconButton, typeof i16.InfinityScrollDirective, typeof i17.ValueListComponent, typeof i18.SelectColumnComponent, typeof i19.ProgressModule, typeof i20.MatSortModule, typeof i15.MatButton, typeof i21.CdkDrag, typeof i21.CdkDropList, typeof i22.DialogModule, typeof i15.MatButtonModule, typeof i23.InputFieldModule, typeof i24.ActionsModule, typeof i25.MatBadgeModule, typeof i26.ReactiveFormsModule, typeof i27.TagModule, typeof i28.DndColumnComponent], [typeof i2.TableComponent, typeof i4.TableInputsComponent, typeof i5.TableActionsComponent]>;
33
+ static ɵinj: i0.ɵɵInjectorDeclaration<TableModule>;
34
+ }
@@ -0,0 +1,2 @@
1
+ export * from './tree-data';
2
+ export * from './tree-data-item-to-inline-data-item';
@@ -0,0 +1,10 @@
1
+ import { TreeDataItem } from './tree-data';
2
+ export declare function treeDataItemToInlineDataItem<T extends object, C extends object>(item: TreeDataItem<T, C>): ({
3
+ child: C;
4
+ } | {
5
+ value: T;
6
+ child: C;
7
+ } | {
8
+ value: T;
9
+ child?: undefined;
10
+ })[];
@@ -0,0 +1,10 @@
1
+ export type TreeDataItem<T extends object, C extends object> = {
2
+ value: T;
3
+ children: C[];
4
+ };
5
+ export type TreeData<T extends object, C extends object> = TreeDataItem<T, C>[];
6
+ export type TreeInlineDataItem<T extends object, C extends object> = {
7
+ value?: T;
8
+ child?: C;
9
+ };
10
+ export type TreeInlineData<T extends object, C extends object> = TreeInlineDataItem<T, C>[];
@@ -0,0 +1,34 @@
1
+ import { Observable } from 'rxjs';
2
+ import { Async, PossiblyAsync } from '../../../utils';
3
+ import { Value } from '../../value';
4
+ export type Fn<R, P extends Array<unknown> = []> = (...args: P) => R;
5
+ export type PossiblyFn<R, P extends Array<unknown> = []> = Fn<R, P> | R;
6
+ export type CellFnArgs<T extends object> = [data: T, index: number];
7
+ interface ColumnParams {
8
+ sticky?: 'start' | 'end';
9
+ style?: Record<string, unknown>;
10
+ }
11
+ export type CellValue = 'string' | Value;
12
+ export interface Column<T extends object, C extends object = object> extends ColumnParams {
13
+ field: string;
14
+ header?: PossiblyAsync<Partial<Value> | string>;
15
+ cell?: PossiblyFn<PossiblyAsync<CellValue>, CellFnArgs<T>>;
16
+ lazyCell?: PossiblyFn<Async<CellValue>, CellFnArgs<T>>;
17
+ child?: PossiblyFn<PossiblyAsync<CellValue>, CellFnArgs<C>>;
18
+ hidden?: PossiblyAsync<boolean>;
19
+ sort?: PossiblyAsync<boolean>;
20
+ }
21
+ export declare function normalizePossiblyFn<R, P extends Array<unknown>>(fn: PossiblyFn<R, P>): Fn<R, P>;
22
+ export declare function normalizeCell<T extends object, C extends object>(field: string, cell: Column<T, C>['cell'], hasChild?: boolean): Fn<Observable<Value>, CellFnArgs<T>>;
23
+ export declare class NormColumn<T extends object, C extends object = object> {
24
+ field: string;
25
+ header: Observable<Value>;
26
+ cell?: Fn<Observable<Value>, CellFnArgs<T>>;
27
+ lazyCell?: Fn<Observable<Value>, CellFnArgs<T>>;
28
+ child?: Fn<Observable<Value>, CellFnArgs<C>>;
29
+ hidden: Observable<boolean>;
30
+ sort: Observable<boolean | null>;
31
+ params: ColumnParams;
32
+ constructor({ field, header, cell, child, hidden, sort, lazyCell, ...params }: Column<T, C>, commonParams?: ColumnParams);
33
+ }
34
+ export {};
@@ -0,0 +1,10 @@
1
+ import { Sort } from '@angular/material/sort';
2
+ export interface DragDrop<T> {
3
+ item: T;
4
+ previousIndex: number;
5
+ currentIndex: number;
6
+ previousData: T[];
7
+ currentDataIndex: number;
8
+ currentData: T[];
9
+ sort: Sort;
10
+ }
@@ -0,0 +1,3 @@
1
+ export * from './column2';
2
+ export * from './update-options';
3
+ export * from './drag-drop';
@@ -0,0 +1,3 @@
1
+ export type UpdateOptions = {
2
+ size: number;
3
+ };
@@ -0,0 +1,2 @@
1
+ import { Observable } from 'rxjs';
2
+ export declare function cachedHeadMap<T extends object, R>(fn: (el: T, idx: number) => R): (src$: Observable<T[] | undefined>) => Observable<R[]>;
@@ -0,0 +1,5 @@
1
+ export declare function correctPriorities(priorities: number[], opts?: {
2
+ step: number;
3
+ maxStep: number;
4
+ start: number;
5
+ }): number[];
@@ -0,0 +1,6 @@
1
+ import { PossiblyAsync } from '../../../utils';
2
+ import { Value } from '../../value';
3
+ import { CellFnArgs, Column } from '../types';
4
+ export declare function createColumn<P, A extends object>(createCell: (cellParams: P, ...args: CellFnArgs<A>) => PossiblyAsync<Value>, columnObject?: Partial<Column<A>>): <T extends A>(getCellParams: (...args: CellFnArgs<T>) => PossiblyAsync<P>, { isLazyCell, ...column }?: Partial<Column<T>> & {
5
+ isLazyCell?: boolean;
6
+ }) => Column<T>;
@@ -0,0 +1,2 @@
1
+ import { Observable } from 'rxjs';
2
+ export declare function createIntersectionObserver(el: HTMLElement): Observable<IntersectionObserverEntry>;