@rxap/tree 19.0.1-dev.4 → 19.0.1

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 (97) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/README.md +24 -26
  3. package/compodoc/changelog.html +9 -0
  4. package/compodoc/dependencies.html +8 -8
  5. package/compodoc/index.html +26 -20
  6. package/compodoc/js/search/search_index.js +2 -2
  7. package/compodoc/miscellaneous/variables.html +26 -0
  8. package/compodoc/properties.html +3 -2
  9. package/docs/documentation.json +1296 -1990
  10. package/docs/html/assets/hierarchy.js +1 -0
  11. package/docs/{assets → html/assets}/highlight.css +13 -6
  12. package/docs/html/assets/icons.js +18 -0
  13. package/docs/html/assets/icons.svg +1 -0
  14. package/docs/{assets → html/assets}/main.js +5 -4
  15. package/docs/html/assets/navigation.js +1 -0
  16. package/docs/html/assets/search.js +1 -0
  17. package/docs/html/assets/style.css +1611 -0
  18. package/docs/html/classes/DefaultTreeApplyFilterMethod.html +5 -0
  19. package/docs/html/classes/SearchForm.html +5 -0
  20. package/docs/html/classes/TreeComponent.html +42 -0
  21. package/docs/html/classes/TreeContentDirective.html +3 -0
  22. package/docs/html/classes/TreeDataSource.html +108 -0
  23. package/docs/html/functions/FormFactory.html +1 -0
  24. package/docs/html/functions/flatTree.html +1 -0
  25. package/docs/html/functions/isSelectionChange.html +1 -0
  26. package/docs/html/index.html +33 -0
  27. package/docs/html/interfaces/ISearchForm.html +3 -0
  28. package/docs/html/interfaces/TreeApplyFilterParameter.html +4 -0
  29. package/docs/html/interfaces/TreeDataSourceMetadata.html +9 -0
  30. package/docs/html/modules.html +1 -0
  31. package/docs/html/variables/RXAP_TREE_CONTENT_EDITABLE_METHOD.html +1 -0
  32. package/docs/html/variables/RXAP_TREE_DATA_SOURCE_APPLY_FILTER_METHOD.html +1 -0
  33. package/docs/html/variables/RXAP_TREE_DATA_SOURCE_CHILDREN_REMOTE_METHOD.html +1 -0
  34. package/docs/html/variables/RXAP_TREE_DATA_SOURCE_ROOT_REMOTE_METHOD.html +1 -0
  35. package/docs/html/variables/SearchFormProviders.html +1 -0
  36. package/docs/markdown/README.md +37 -0
  37. package/docs/markdown/classes/DefaultTreeApplyFilterMethod.md +75 -0
  38. package/docs/markdown/classes/SearchForm.md +63 -0
  39. package/docs/markdown/classes/TreeComponent.md +423 -0
  40. package/docs/markdown/classes/TreeContentDirective.md +35 -0
  41. package/docs/markdown/classes/TreeDataSource.md +1431 -0
  42. package/docs/markdown/functions/FormFactory.md +29 -0
  43. package/docs/markdown/functions/flatTree.md +29 -0
  44. package/docs/markdown/functions/isSelectionChange.md +25 -0
  45. package/docs/markdown/globals.md +33 -0
  46. package/docs/markdown/interfaces/ISearchForm.md +29 -0
  47. package/docs/markdown/interfaces/TreeApplyFilterParameter.md +39 -0
  48. package/docs/markdown/interfaces/TreeDataSourceMetadata.md +77 -0
  49. package/docs/markdown/variables/RXAP_TREE_CONTENT_EDITABLE_METHOD.md +11 -0
  50. package/docs/markdown/variables/RXAP_TREE_DATA_SOURCE_APPLY_FILTER_METHOD.md +11 -0
  51. package/docs/markdown/variables/RXAP_TREE_DATA_SOURCE_CHILDREN_REMOTE_METHOD.md +11 -0
  52. package/docs/markdown/variables/RXAP_TREE_DATA_SOURCE_ROOT_REMOTE_METHOD.md +11 -0
  53. package/docs/markdown/variables/SearchFormProviders.md +11 -0
  54. package/docs/wiki/Class.DefaultTreeApplyFilterMethod.md +71 -0
  55. package/docs/wiki/Class.SearchForm.md +59 -0
  56. package/docs/wiki/Class.TreeComponent.md +419 -0
  57. package/docs/wiki/Class.TreeContentDirective.md +31 -0
  58. package/docs/wiki/Class.TreeDataSource.md +1427 -0
  59. package/docs/wiki/Function.FormFactory.md +25 -0
  60. package/docs/wiki/Function.flatTree.md +25 -0
  61. package/docs/wiki/Function.isSelectionChange.md +21 -0
  62. package/docs/wiki/Home.md +33 -0
  63. package/docs/wiki/Interface.ISearchForm.md +25 -0
  64. package/docs/wiki/Interface.TreeApplyFilterParameter.md +35 -0
  65. package/docs/wiki/Interface.TreeDataSourceMetadata.md +73 -0
  66. package/docs/wiki/Variable.RXAP_TREE_CONTENT_EDITABLE_METHOD.md +7 -0
  67. package/docs/wiki/Variable.RXAP_TREE_DATA_SOURCE_APPLY_FILTER_METHOD.md +7 -0
  68. package/docs/wiki/Variable.RXAP_TREE_DATA_SOURCE_CHILDREN_REMOTE_METHOD.md +7 -0
  69. package/docs/wiki/Variable.RXAP_TREE_DATA_SOURCE_ROOT_REMOTE_METHOD.md +7 -0
  70. package/docs/wiki/Variable.SearchFormProviders.md +7 -0
  71. package/docs/wiki/_Sidebar.md +29 -0
  72. package/docs/wiki/globals.md +29 -0
  73. package/package.json +28 -27
  74. package/docs/assets/icons.js +0 -15
  75. package/docs/assets/icons.svg +0 -1
  76. package/docs/assets/navigation.js +0 -1
  77. package/docs/assets/search.js +0 -1
  78. package/docs/assets/style.css +0 -1412
  79. package/docs/classes/DefaultTreeApplyFilterMethod.html +0 -5
  80. package/docs/classes/SearchForm.html +0 -5
  81. package/docs/classes/TreeComponent.html +0 -44
  82. package/docs/classes/TreeContentDirective.html +0 -3
  83. package/docs/classes/TreeDataSource.html +0 -107
  84. package/docs/functions/FormFactory.html +0 -1
  85. package/docs/functions/flatTree.html +0 -1
  86. package/docs/functions/isSelectionChange.html +0 -1
  87. package/docs/index.html +0 -28
  88. package/docs/interfaces/ISearchForm.html +0 -3
  89. package/docs/interfaces/TreeApplyFilterParameter.html +0 -4
  90. package/docs/interfaces/TreeDataSourceMetadata.html +0 -9
  91. package/docs/modules.html +0 -17
  92. package/docs/variables/RXAP_TREE_CONTENT_EDITABLE_METHOD.html +0 -1
  93. package/docs/variables/RXAP_TREE_DATA_SOURCE_APPLY_FILTER_METHOD.html +0 -1
  94. package/docs/variables/RXAP_TREE_DATA_SOURCE_CHILDREN_REMOTE_METHOD.html +0 -1
  95. package/docs/variables/RXAP_TREE_DATA_SOURCE_ROOT_REMOTE_METHOD.html +0 -1
  96. package/docs/variables/SearchFormProviders.html +0 -1
  97. /package/docs/{.nojekyll → html/.nojekyll} +0 -0
@@ -0,0 +1,1427 @@
1
+ [@rxap/tree](../wiki/globals) / TreeDataSource
2
+
3
+ # Class: TreeDataSource\<Data, RootParameters, NodeParameters\>
4
+
5
+ Defined in: [tree/src/lib/tree.data-source.ts:238](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/tree/src/lib/tree.data-source.ts#L238)
6
+
7
+ ## Extends
8
+
9
+ - `BaseDataSource`\<`Node`\<`Data`\>[], [`TreeDataSourceMetadata`](../wiki/Interface.TreeDataSourceMetadata)\>
10
+
11
+ ## Type Parameters
12
+
13
+ • **Data** *extends* `WithIdentifier` & `WithChildren` = `any`
14
+
15
+ • **RootParameters** = `any`
16
+
17
+ • **NodeParameters** = `any`
18
+
19
+ ## Implements
20
+
21
+ - `OnInit`
22
+
23
+ ## Constructors
24
+
25
+ ### new TreeDataSource()
26
+
27
+ > **new TreeDataSource**\<`Data`, `RootParameters`, `NodeParameters`\>(`rootRemoteMethod`, `childrenRemoteMethod`, `applyFilterMethod`, `metadata`): [`TreeDataSource`](../wiki/Class.TreeDataSource)\<`Data`, `RootParameters`, `NodeParameters`\>
28
+
29
+ Defined in: [tree/src/lib/tree.data-source.ts:258](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/tree/src/lib/tree.data-source.ts#L258)
30
+
31
+ #### Parameters
32
+
33
+ ##### rootRemoteMethod
34
+
35
+ `Method`\<`Data` \| `Data`[], `RootParameters`\>
36
+
37
+ ##### childrenRemoteMethod
38
+
39
+ `null` | `Method`\<`Data`[], `Node`\<`Data`, `any`\>\>
40
+
41
+ ##### applyFilterMethod
42
+
43
+ `null` | `Method`\<`Node`\<`Data`, `any`\>[], [`TreeApplyFilterParameter`](../wiki/Interface.TreeApplyFilterParameter)\<[`ISearchForm`](../wiki/Interface.ISearchForm)\<`unknown`\>, `any`\>\>
44
+
45
+ ##### metadata
46
+
47
+ `null` | [`TreeDataSourceMetadata`](../wiki/Interface.TreeDataSourceMetadata)
48
+
49
+ #### Returns
50
+
51
+ [`TreeDataSource`](../wiki/Class.TreeDataSource)\<`Data`, `RootParameters`, `NodeParameters`\>
52
+
53
+ #### Overrides
54
+
55
+ `BaseDataSource<Array<Node<Data>>, TreeDataSourceMetadata>.constructor`
56
+
57
+ ## Properties
58
+
59
+ ### \_\_id
60
+
61
+ > **\_\_id**: `string`
62
+
63
+ Defined in: [definition/src/lib/definition.ts:61](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/definition/src/lib/definition.ts#L61)
64
+
65
+ **`Internal`**
66
+
67
+ unique internal id
68
+
69
+ #### Inherited from
70
+
71
+ `BaseDataSource.__id`
72
+
73
+ ***
74
+
75
+ ### \_connectedViewer
76
+
77
+ > `protected` **\_connectedViewer**: `Map`\<`string`, `Observable`\<`Node`\<`Data`, `any`\>[]\>\>
78
+
79
+ Defined in: [data-source/src/lib/base.data-source.ts:78](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/data-source/src/lib/base.data-source.ts#L78)
80
+
81
+ #### Inherited from
82
+
83
+ `BaseDataSource._connectedViewer`
84
+
85
+ ***
86
+
87
+ ### \_connectedViewerTeardown
88
+
89
+ > `protected` **\_connectedViewerTeardown**: `Map`\<`string`, `TeardownLogic`\>
90
+
91
+ Defined in: [data-source/src/lib/base.data-source.ts:79](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/data-source/src/lib/base.data-source.ts#L79)
92
+
93
+ #### Inherited from
94
+
95
+ `BaseDataSource._connectedViewerTeardown`
96
+
97
+ ***
98
+
99
+ ### \_data?
100
+
101
+ > `protected` `optional` **\_data**: `Node`\<`Data`, `any`\>[]
102
+
103
+ Defined in: [data-source/src/lib/base.data-source.ts:104](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/data-source/src/lib/base.data-source.ts#L104)
104
+
105
+ #### Inherited from
106
+
107
+ `BaseDataSource._data`
108
+
109
+ ***
110
+
111
+ ### \_data$
112
+
113
+ > `protected` **\_data$**: `BehaviorSubject`\<`Node`\<`Data`, `any`\>[]\>
114
+
115
+ Defined in: [tree/src/lib/tree.data-source.ts:250](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/tree/src/lib/tree.data-source.ts#L250)
116
+
117
+ #### Overrides
118
+
119
+ `BaseDataSource._data$`
120
+
121
+ ***
122
+
123
+ ### \_initialised
124
+
125
+ > `protected` **\_initialised**: `boolean` = `false`
126
+
127
+ Defined in: [definition/src/lib/definition.ts:62](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/definition/src/lib/definition.ts#L62)
128
+
129
+ #### Inherited from
130
+
131
+ `BaseDataSource._initialised`
132
+
133
+ ***
134
+
135
+ ### \_lastRefreshed
136
+
137
+ > `protected` **\_lastRefreshed**: `null` \| `Date` = `null`
138
+
139
+ Defined in: [data-source/src/lib/base.data-source.ts:77](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/data-source/src/lib/base.data-source.ts#L77)
140
+
141
+ #### Inherited from
142
+
143
+ `BaseDataSource._lastRefreshed`
144
+
145
+ ***
146
+
147
+ ### \_retry$
148
+
149
+ > `protected` **\_retry$**: `Subject`\<`void`\>
150
+
151
+ Defined in: [data-source/src/lib/base.data-source.ts:90](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/data-source/src/lib/base.data-source.ts#L90)
152
+
153
+ #### Inherited from
154
+
155
+ `BaseDataSource._retry$`
156
+
157
+ ***
158
+
159
+ ### \_viewerIds
160
+
161
+ > `protected` **\_viewerIds**: `Map`\<`BaseDataSourceViewer`\<`any`\>, `string`\>
162
+
163
+ Defined in: [data-source/src/lib/base.data-source.ts:89](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/data-source/src/lib/base.data-source.ts#L89)
164
+
165
+ a map of viewer to view id.
166
+ Allows to create a view id from the viewer object reference
167
+
168
+ #### Inherited from
169
+
170
+ `BaseDataSource._viewerIds`
171
+
172
+ ***
173
+
174
+ ### change$
175
+
176
+ > `readonly` **change$**: `Subject`\<`Node`\<`Data`, `any`\>[]\>
177
+
178
+ Defined in: [data-source/src/lib/base.data-source.ts:67](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/data-source/src/lib/base.data-source.ts#L67)
179
+
180
+ #### Inherited from
181
+
182
+ `BaseDataSource.change$`
183
+
184
+ ***
185
+
186
+ ### childrenRemoteMethod
187
+
188
+ > `readonly` **childrenRemoteMethod**: `null` \| `Method`\<`Data`[], `Node`\<`Data`, `any`\>\> = `null`
189
+
190
+ Defined in: [tree/src/lib/tree.data-source.ts:263](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/tree/src/lib/tree.data-source.ts#L263)
191
+
192
+ ***
193
+
194
+ ### destroyed$
195
+
196
+ > `readonly` **destroyed$**: `undefined` \| `Subject`\<`void`\>
197
+
198
+ Defined in: [definition/src/lib/definition.ts:48](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/definition/src/lib/definition.ts#L48)
199
+
200
+ Emits if the data source is destroyed
201
+
202
+ #### Inherited from
203
+
204
+ `BaseDataSource.destroyed$`
205
+
206
+ ***
207
+
208
+ ### error$
209
+
210
+ > `readonly` **error$**: `ReplaySubject`\<`Error`\>
211
+
212
+ Defined in: [data-source/src/lib/base.data-source.ts:73](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/data-source/src/lib/base.data-source.ts#L73)
213
+
214
+ #### Inherited from
215
+
216
+ `BaseDataSource.error$`
217
+
218
+ ***
219
+
220
+ ### expanded
221
+
222
+ > **expanded**: `SelectionModel`\<`string`\>
223
+
224
+ Defined in: [tree/src/lib/tree.data-source.ts:246](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/tree/src/lib/tree.data-source.ts#L246)
225
+
226
+ ***
227
+
228
+ ### getIcon
229
+
230
+ > **getIcon**: `NodeGetIconFunction`\<`Data`\>
231
+
232
+ Defined in: [tree/src/lib/tree.data-source.ts:314](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/tree/src/lib/tree.data-source.ts#L314)
233
+
234
+ ***
235
+
236
+ ### getStyle
237
+
238
+ > **getStyle**: `NodeGetStyleFunction`\<`Data`\>
239
+
240
+ Defined in: [tree/src/lib/tree.data-source.ts:318](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/tree/src/lib/tree.data-source.ts#L318)
241
+
242
+ ***
243
+
244
+ ### getType
245
+
246
+ > **getType**: `NodeGetTypeFunction`\<`Data`\>
247
+
248
+ Defined in: [tree/src/lib/tree.data-source.ts:316](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/tree/src/lib/tree.data-source.ts#L316)
249
+
250
+ ***
251
+
252
+ ### hasDetails
253
+
254
+ > **hasDetails**: `NodeHasDetailsFunction`\<`Data`\>
255
+
256
+ Defined in: [tree/src/lib/tree.data-source.ts:322](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/tree/src/lib/tree.data-source.ts#L322)
257
+
258
+ ***
259
+
260
+ ### hasError?
261
+
262
+ > `optional` **hasError**: `Signal`\<`boolean`\>
263
+
264
+ Defined in: [data-source/src/lib/base.data-source.ts:94](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/data-source/src/lib/base.data-source.ts#L94)
265
+
266
+ #### Inherited from
267
+
268
+ `BaseDataSource.hasError`
269
+
270
+ ***
271
+
272
+ ### hasError$
273
+
274
+ > `readonly` **hasError$**: `ToggleSubject`
275
+
276
+ Defined in: [data-source/src/lib/base.data-source.ts:72](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/data-source/src/lib/base.data-source.ts#L72)
277
+
278
+ #### Inherited from
279
+
280
+ `BaseDataSource.hasError$`
281
+
282
+ ***
283
+
284
+ ### initialised$
285
+
286
+ > `readonly` **initialised$**: `undefined` \| `Subject`\<`void`\>
287
+
288
+ Defined in: [definition/src/lib/definition.ts:52](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/definition/src/lib/definition.ts#L52)
289
+
290
+ Emits if the data source is initialised
291
+
292
+ #### Inherited from
293
+
294
+ `BaseDataSource.initialised$`
295
+
296
+ ***
297
+
298
+ ### interceptors
299
+
300
+ > `readonly` **interceptors**: `undefined` \| `Set`\<`Subject`\<`any`\>\>
301
+
302
+ Defined in: [definition/src/lib/definition.ts:53](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/definition/src/lib/definition.ts#L53)
303
+
304
+ #### Inherited from
305
+
306
+ `BaseDataSource.interceptors`
307
+
308
+ ***
309
+
310
+ ### loading?
311
+
312
+ > `optional` **loading**: `Signal`\<`boolean`\>
313
+
314
+ Defined in: [data-source/src/lib/base.data-source.ts:92](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/data-source/src/lib/base.data-source.ts#L92)
315
+
316
+ #### Inherited from
317
+
318
+ `BaseDataSource.loading`
319
+
320
+ ***
321
+
322
+ ### loading$
323
+
324
+ > **loading$**: `ToggleSubject`
325
+
326
+ Defined in: [tree/src/lib/tree.data-source.ts:248](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/tree/src/lib/tree.data-source.ts#L248)
327
+
328
+ Indicates weather the data source is currently loading new data
329
+
330
+ #### Overrides
331
+
332
+ `BaseDataSource.loading$`
333
+
334
+ ***
335
+
336
+ ### matchFilter()
337
+
338
+ > **matchFilter**: (`node`) => `boolean`
339
+
340
+ Defined in: [tree/src/lib/tree.data-source.ts:324](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/tree/src/lib/tree.data-source.ts#L324)
341
+
342
+ #### Parameters
343
+
344
+ ##### node
345
+
346
+ `Node`\<`Data`\>
347
+
348
+ #### Returns
349
+
350
+ `boolean`
351
+
352
+ ***
353
+
354
+ ### metadata
355
+
356
+ > **metadata**: [`TreeDataSourceMetadata`](../wiki/Interface.TreeDataSourceMetadata)
357
+
358
+ Defined in: [definition/src/lib/definition.ts:44](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/definition/src/lib/definition.ts#L44)
359
+
360
+ #### Inherited from
361
+
362
+ `BaseDataSource.metadata`
363
+
364
+ ***
365
+
366
+ ### rootRemoteMethod
367
+
368
+ > `readonly` **rootRemoteMethod**: `Method`\<`Data` \| `Data`[], `RootParameters`\>
369
+
370
+ Defined in: [tree/src/lib/tree.data-source.ts:260](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/tree/src/lib/tree.data-source.ts#L260)
371
+
372
+ ***
373
+
374
+ ### searchForm
375
+
376
+ > **searchForm**: `null` \| [`SearchForm`](../wiki/Class.SearchForm)\<`unknown`\> = `null`
377
+
378
+ Defined in: [tree/src/lib/tree.data-source.ts:249](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/tree/src/lib/tree.data-source.ts#L249)
379
+
380
+ ***
381
+
382
+ ### selected
383
+
384
+ > **selected**: `SelectionModel`\<`Node`\<`Data`, `any`\>\>
385
+
386
+ Defined in: [tree/src/lib/tree.data-source.ts:245](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/tree/src/lib/tree.data-source.ts#L245)
387
+
388
+ ***
389
+
390
+ ### toDisplay
391
+
392
+ > **toDisplay**: `NodeToDisplayFunction`\<`Data`\>
393
+
394
+ Defined in: [tree/src/lib/tree.data-source.ts:311](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/tree/src/lib/tree.data-source.ts#L311)
395
+
396
+ ***
397
+
398
+ ### tree$
399
+
400
+ > **tree$**: `BehaviorSubject`\<`Node`\<`Data`, `any`\>[]\>
401
+
402
+ Defined in: [tree/src/lib/tree.data-source.ts:243](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/tree/src/lib/tree.data-source.ts#L243)
403
+
404
+ ***
405
+
406
+ ### treeControl
407
+
408
+ > **treeControl**: `FlatTreeControl`\<`Node`\<`Data`, `any`\>\>
409
+
410
+ Defined in: [tree/src/lib/tree.data-source.ts:244](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/tree/src/lib/tree.data-source.ts#L244)
411
+
412
+ ***
413
+
414
+ ### destroyed$
415
+
416
+ > `readonly` `static` **destroyed$**: `Subject`\<`BaseDefinition`\<`BaseDefinitionMetadata`\>\>
417
+
418
+ Defined in: [definition/src/lib/definition.ts:41](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/definition/src/lib/definition.ts#L41)
419
+
420
+ Emits when a new Definition instance is initialised
421
+
422
+ #### Inherited from
423
+
424
+ `BaseDataSource.destroyed$`
425
+
426
+ ***
427
+
428
+ ### initialised$
429
+
430
+ > `readonly` `static` **initialised$**: `Subject`\<`BaseDefinition`\<`BaseDefinitionMetadata`\>\>
431
+
432
+ Defined in: [definition/src/lib/definition.ts:35](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/definition/src/lib/definition.ts#L35)
433
+
434
+ Emits when a new Definition instance is initialised
435
+
436
+ #### Inherited from
437
+
438
+ `BaseDataSource.initialised$`
439
+
440
+ ***
441
+
442
+ ### instances
443
+
444
+ > `readonly` `static` **instances**: `Map`\<`string`, `BaseDefinition`\<`BaseDefinitionMetadata`\>\>
445
+
446
+ Defined in: [definition/src/lib/definition.ts:27](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/definition/src/lib/definition.ts#L27)
447
+
448
+ A map of active Definition instances
449
+
450
+ #### Inherited from
451
+
452
+ `BaseDataSource.instances`
453
+
454
+ ## Accessors
455
+
456
+ ### data
457
+
458
+ #### Get Signature
459
+
460
+ > **get** **data**(): `undefined` \| `Data`
461
+
462
+ Defined in: [data-source/src/lib/base.data-source.ts:106](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/data-source/src/lib/base.data-source.ts#L106)
463
+
464
+ ##### Returns
465
+
466
+ `undefined` \| `Data`
467
+
468
+ #### Inherited from
469
+
470
+ `BaseDataSource.data`
471
+
472
+ ***
473
+
474
+ ### hasConnections
475
+
476
+ #### Get Signature
477
+
478
+ > **get** **hasConnections**(): `boolean`
479
+
480
+ Defined in: [data-source/src/lib/base.data-source.ts:110](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/data-source/src/lib/base.data-source.ts#L110)
481
+
482
+ ##### Returns
483
+
484
+ `boolean`
485
+
486
+ #### Inherited from
487
+
488
+ `BaseDataSource.hasConnections`
489
+
490
+ ***
491
+
492
+ ### id
493
+
494
+ #### Get Signature
495
+
496
+ > **get** **id**(): `string`
497
+
498
+ Defined in: [definition/src/lib/definition.ts:87](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/definition/src/lib/definition.ts#L87)
499
+
500
+ ##### Returns
501
+
502
+ `string`
503
+
504
+ #### Inherited from
505
+
506
+ `BaseDataSource.id`
507
+
508
+ ***
509
+
510
+ ### lastRefreshed
511
+
512
+ #### Get Signature
513
+
514
+ > **get** **lastRefreshed**(): `null` \| `Date`
515
+
516
+ Defined in: [data-source/src/lib/base.data-source.ts:74](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/data-source/src/lib/base.data-source.ts#L74)
517
+
518
+ ##### Returns
519
+
520
+ `null` \| `Date`
521
+
522
+ #### Inherited from
523
+
524
+ `BaseDataSource.lastRefreshed`
525
+
526
+ ***
527
+
528
+ ### nodeParameters
529
+
530
+ #### Get Signature
531
+
532
+ > **get** **nodeParameters**(): `null` \| `NodeParameters`
533
+
534
+ Defined in: [tree/src/lib/tree.data-source.ts:280](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/tree/src/lib/tree.data-source.ts#L280)
535
+
536
+ ##### Returns
537
+
538
+ `null` \| `NodeParameters`
539
+
540
+ #### Set Signature
541
+
542
+ > **set** **nodeParameters**(`nodeParameters`): `void`
543
+
544
+ Defined in: [tree/src/lib/tree.data-source.ts:284](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/tree/src/lib/tree.data-source.ts#L284)
545
+
546
+ ##### Parameters
547
+
548
+ ###### nodeParameters
549
+
550
+ `null` | `NodeParameters`
551
+
552
+ ##### Returns
553
+
554
+ `void`
555
+
556
+ ## Methods
557
+
558
+ ### \_connect()
559
+
560
+ > `protected` **\_connect**(`collectionViewer`): `Observable`\<`Node`\<`Data`, `any`\>[]\>
561
+
562
+ Defined in: [tree/src/lib/tree.data-source.ts:622](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/tree/src/lib/tree.data-source.ts#L622)
563
+
564
+ #### Parameters
565
+
566
+ ##### collectionViewer
567
+
568
+ `Required`\<`BaseDataSourceViewer`\<`any`\>\>
569
+
570
+ #### Returns
571
+
572
+ `Observable`\<`Node`\<`Data`, `any`\>[]\>
573
+
574
+ #### Overrides
575
+
576
+ `BaseDataSource._connect`
577
+
578
+ ***
579
+
580
+ ### \_disconnect()
581
+
582
+ > `protected` **\_disconnect**(`viewerId`): `void`
583
+
584
+ Defined in: [data-source/src/lib/base.data-source.ts:308](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/data-source/src/lib/base.data-source.ts#L308)
585
+
586
+ #### Parameters
587
+
588
+ ##### viewerId
589
+
590
+ `string`
591
+
592
+ #### Returns
593
+
594
+ `void`
595
+
596
+ #### Inherited from
597
+
598
+ `BaseDataSource._disconnect`
599
+
600
+ ***
601
+
602
+ ### applyMetadata()
603
+
604
+ > **applyMetadata**(`partialMetadata`): `void`
605
+
606
+ Defined in: [definition/src/lib/definition.ts:111](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/definition/src/lib/definition.ts#L111)
607
+
608
+ #### Parameters
609
+
610
+ ##### partialMetadata
611
+
612
+ `Partial`\<[`TreeDataSourceMetadata`](../wiki/Interface.TreeDataSourceMetadata)\>
613
+
614
+ #### Returns
615
+
616
+ `void`
617
+
618
+ #### Inherited from
619
+
620
+ `BaseDataSource.applyMetadata`
621
+
622
+ ***
623
+
624
+ ### attach()
625
+
626
+ > **attach**(`viewerId`): `Observable`\<`Node`\<`Data`, `any`\>[]\>
627
+
628
+ Defined in: [data-source/src/lib/base.data-source.ts:210](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/data-source/src/lib/base.data-source.ts#L210)
629
+
630
+ #### Parameters
631
+
632
+ ##### viewerId
633
+
634
+ `string`
635
+
636
+ #### Returns
637
+
638
+ `Observable`\<`Node`\<`Data`, `any`\>[]\>
639
+
640
+ #### Inherited from
641
+
642
+ `BaseDataSource.attach`
643
+
644
+ ***
645
+
646
+ ### collapseNode()
647
+
648
+ > **collapseNode**(`node`, `options`?): `Promise`\<`void`\>
649
+
650
+ Defined in: [tree/src/lib/tree.data-source.ts:510](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/tree/src/lib/tree.data-source.ts#L510)
651
+
652
+ #### Parameters
653
+
654
+ ##### node
655
+
656
+ `Node`\<`Data`\>
657
+
658
+ ##### options?
659
+
660
+ `EventOptions`
661
+
662
+ #### Returns
663
+
664
+ `Promise`\<`void`\>
665
+
666
+ ***
667
+
668
+ ### connect()
669
+
670
+ > **connect**(`viewerOrString`): `Observable`\<`Node`\<`Data`, `any`\>[]\>
671
+
672
+ Defined in: [data-source/src/lib/base.data-source.ts:124](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/data-source/src/lib/base.data-source.ts#L124)
673
+
674
+ #### Parameters
675
+
676
+ ##### viewerOrString
677
+
678
+ `string` | `BaseDataSourceViewer`\<`any`\>
679
+
680
+ #### Returns
681
+
682
+ `Observable`\<`Node`\<`Data`, `any`\>[]\>
683
+
684
+ #### Inherited from
685
+
686
+ `BaseDataSource.connect`
687
+
688
+ ***
689
+
690
+ ### derive()
691
+
692
+ > **derive**(`id`, `metadata`): `BaseDataSource`\<`any`\>
693
+
694
+ Defined in: [data-source/src/lib/base.data-source.ts:270](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/data-source/src/lib/base.data-source.ts#L270)
695
+
696
+ #### Parameters
697
+
698
+ ##### id
699
+
700
+ `string`
701
+
702
+ ##### metadata
703
+
704
+ `Partial`\<`BaseDataSourceMetadata`\> = `...`
705
+
706
+ #### Returns
707
+
708
+ `BaseDataSource`\<`any`\>
709
+
710
+ #### Inherited from
711
+
712
+ `BaseDataSource.derive`
713
+
714
+ ***
715
+
716
+ ### deselectNode()
717
+
718
+ > **deselectNode**(`node`): `Promise`\<`void`\>
719
+
720
+ Defined in: [tree/src/lib/tree.data-source.ts:400](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/tree/src/lib/tree.data-source.ts#L400)
721
+
722
+ #### Parameters
723
+
724
+ ##### node
725
+
726
+ `Node`\<`Data`\>
727
+
728
+ #### Returns
729
+
730
+ `Promise`\<`void`\>
731
+
732
+ ***
733
+
734
+ ### ~~destroy()~~
735
+
736
+ > **destroy**(): `void`
737
+
738
+ Defined in: [tree/src/lib/tree.data-source.ts:538](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/tree/src/lib/tree.data-source.ts#L538)
739
+
740
+ #### Returns
741
+
742
+ `void`
743
+
744
+ #### Deprecated
745
+
746
+ use ngOnDestroy instead
747
+
748
+ #### Overrides
749
+
750
+ `BaseDataSource.destroy`
751
+
752
+ ***
753
+
754
+ ### disconnect()
755
+
756
+ > **disconnect**(`viewerOrId`): `void`
757
+
758
+ Defined in: [data-source/src/lib/base.data-source.ts:225](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/data-source/src/lib/base.data-source.ts#L225)
759
+
760
+ #### Parameters
761
+
762
+ ##### viewerOrId
763
+
764
+ `string` | `BaseDataSourceViewer`\<`any`\>
765
+
766
+ #### Returns
767
+
768
+ `void`
769
+
770
+ #### Inherited from
771
+
772
+ `BaseDataSource.disconnect`
773
+
774
+ ***
775
+
776
+ ### expandNode()
777
+
778
+ > **expandNode**(`node`, `options`?): `Promise`\<`void`\>
779
+
780
+ Defined in: [tree/src/lib/tree.data-source.ts:405](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/tree/src/lib/tree.data-source.ts#L405)
781
+
782
+ #### Parameters
783
+
784
+ ##### node
785
+
786
+ `Node`\<`Data`\>
787
+
788
+ ##### options?
789
+
790
+ `EventOptions`
791
+
792
+ #### Returns
793
+
794
+ `Promise`\<`void`\>
795
+
796
+ ***
797
+
798
+ ### flatTree()
799
+
800
+ > **flatTree**(`tree`, `all`): `Node`\<`Data`, `any`\>[]
801
+
802
+ Defined in: [tree/src/lib/tree.data-source.ts:534](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/tree/src/lib/tree.data-source.ts#L534)
803
+
804
+ Converts the tree structure into a list.
805
+
806
+ #### Parameters
807
+
808
+ ##### tree
809
+
810
+ `Node`\<`Data`\>
811
+
812
+ ##### all
813
+
814
+ `boolean` = `false`
815
+
816
+ true - include nodes children that are not expanded
817
+
818
+ #### Returns
819
+
820
+ `Node`\<`Data`, `any`\>[]
821
+
822
+ ***
823
+
824
+ ### genericRetryFunction()
825
+
826
+ > `protected` **genericRetryFunction**(`error`, `retryCount`): `Observable`\<`any`\>
827
+
828
+ Defined in: [data-source/src/lib/base.data-source.ts:311](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/data-source/src/lib/base.data-source.ts#L311)
829
+
830
+ #### Parameters
831
+
832
+ ##### error
833
+
834
+ `any`
835
+
836
+ ##### retryCount
837
+
838
+ `number`
839
+
840
+ #### Returns
841
+
842
+ `Observable`\<`any`\>
843
+
844
+ #### Inherited from
845
+
846
+ `BaseDataSource.genericRetryFunction`
847
+
848
+ ***
849
+
850
+ ### getChildren()
851
+
852
+ > **getChildren**(`node`): `Promise`\<`Data`[]\>
853
+
854
+ Defined in: [tree/src/lib/tree.data-source.ts:445](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/tree/src/lib/tree.data-source.ts#L445)
855
+
856
+ #### Parameters
857
+
858
+ ##### node
859
+
860
+ `Node`\<`Data`\>
861
+
862
+ #### Returns
863
+
864
+ `Promise`\<`Data`[]\>
865
+
866
+ ***
867
+
868
+ ### getMetadata()
869
+
870
+ > **getMetadata**(): `null` \| [`TreeDataSourceMetadata`](../wiki/Interface.TreeDataSourceMetadata)
871
+
872
+ Defined in: [definition/src/lib/definition.ts:107](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/definition/src/lib/definition.ts#L107)
873
+
874
+ #### Returns
875
+
876
+ `null` \| [`TreeDataSourceMetadata`](../wiki/Interface.TreeDataSourceMetadata)
877
+
878
+ #### Inherited from
879
+
880
+ `BaseDataSource.getMetadata`
881
+
882
+ ***
883
+
884
+ ### getNodeById()
885
+
886
+ > **getNodeById**(`id`): `null` \| `Node`\<`Data`, `any`\>
887
+
888
+ Defined in: [tree/src/lib/tree.data-source.ts:465](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/tree/src/lib/tree.data-source.ts#L465)
889
+
890
+ #### Parameters
891
+
892
+ ##### id
893
+
894
+ `string`
895
+
896
+ #### Returns
897
+
898
+ `null` \| `Node`\<`Data`, `any`\>
899
+
900
+ ***
901
+
902
+ ### getRoot()
903
+
904
+ > **getRoot**(`options`): `Promise`\<`Data` \| `Data`[]\>
905
+
906
+ Defined in: [tree/src/lib/tree.data-source.ts:453](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/tree/src/lib/tree.data-source.ts#L453)
907
+
908
+ #### Parameters
909
+
910
+ ##### options
911
+
912
+ ###### cache?
913
+
914
+ `boolean`
915
+
916
+ #### Returns
917
+
918
+ `Promise`\<`Data` \| `Data`[]\>
919
+
920
+ ***
921
+
922
+ ### getRootParameters()
923
+
924
+ > **getRootParameters**(`options`): `Promise`\<`RootParameters`\>
925
+
926
+ Defined in: [tree/src/lib/tree.data-source.ts:458](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/tree/src/lib/tree.data-source.ts#L458)
927
+
928
+ #### Parameters
929
+
930
+ ##### options
931
+
932
+ ###### cache?
933
+
934
+ `boolean`
935
+
936
+ #### Returns
937
+
938
+ `Promise`\<`RootParameters`\>
939
+
940
+ ***
941
+
942
+ ### getTreeRoot()
943
+
944
+ > **getTreeRoot**(`options`): `Promise`\<`Node`\<`Data`, `any`\>[]\>
945
+
946
+ Defined in: [tree/src/lib/tree.data-source.ts:326](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/tree/src/lib/tree.data-source.ts#L326)
947
+
948
+ #### Parameters
949
+
950
+ ##### options
951
+
952
+ ###### cache?
953
+
954
+ `boolean`
955
+
956
+ #### Returns
957
+
958
+ `Promise`\<`Node`\<`Data`, `any`\>[]\>
959
+
960
+ ***
961
+
962
+ ### getViewerId()
963
+
964
+ > **getViewerId**(`viewer`): `string`
965
+
966
+ Defined in: [data-source/src/lib/base.data-source.ts:114](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/data-source/src/lib/base.data-source.ts#L114)
967
+
968
+ #### Parameters
969
+
970
+ ##### viewer
971
+
972
+ `BaseDataSourceViewer`
973
+
974
+ #### Returns
975
+
976
+ `string`
977
+
978
+ #### Inherited from
979
+
980
+ `BaseDataSource.getViewerId`
981
+
982
+ ***
983
+
984
+ ### handelError()
985
+
986
+ > `protected` **handelError**(`error`): `void`
987
+
988
+ Defined in: [data-source/src/lib/base.data-source.ts:317](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/data-source/src/lib/base.data-source.ts#L317)
989
+
990
+ #### Parameters
991
+
992
+ ##### error
993
+
994
+ `any`
995
+
996
+ #### Returns
997
+
998
+ `void`
999
+
1000
+ #### Inherited from
1001
+
1002
+ `BaseDataSource.handelError`
1003
+
1004
+ ***
1005
+
1006
+ ### init()
1007
+
1008
+ > **init**(): `void`
1009
+
1010
+ Defined in: [definition/src/lib/definition.ts:127](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/definition/src/lib/definition.ts#L127)
1011
+
1012
+ #### Returns
1013
+
1014
+ `void`
1015
+
1016
+ #### Inherited from
1017
+
1018
+ `BaseDataSource.init`
1019
+
1020
+ ***
1021
+
1022
+ ### isConnected()
1023
+
1024
+ > **isConnected**(`viewerOrId`): `boolean`
1025
+
1026
+ Defined in: [data-source/src/lib/base.data-source.ts:217](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/data-source/src/lib/base.data-source.ts#L217)
1027
+
1028
+ #### Parameters
1029
+
1030
+ ##### viewerOrId
1031
+
1032
+ `string` | `BaseDataSourceViewer`\<`any`\>
1033
+
1034
+ #### Returns
1035
+
1036
+ `boolean`
1037
+
1038
+ #### Inherited from
1039
+
1040
+ `BaseDataSource.isConnected`
1041
+
1042
+ ***
1043
+
1044
+ ### ngOnDestroy()
1045
+
1046
+ > **ngOnDestroy**(): `void`
1047
+
1048
+ Defined in: [definition/src/lib/definition.ts:122](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/definition/src/lib/definition.ts#L122)
1049
+
1050
+ A callback method that performs custom clean-up, invoked immediately
1051
+ before a directive, pipe, or service instance is destroyed.
1052
+
1053
+ #### Returns
1054
+
1055
+ `void`
1056
+
1057
+ #### Inherited from
1058
+
1059
+ `BaseDataSource.ngOnDestroy`
1060
+
1061
+ ***
1062
+
1063
+ ### ngOnInit()
1064
+
1065
+ > **ngOnInit**(): `void`
1066
+
1067
+ Defined in: [tree/src/lib/tree.data-source.ts:289](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/tree/src/lib/tree.data-source.ts#L289)
1068
+
1069
+ A callback method that is invoked immediately after the
1070
+ default change detector has checked the directive's
1071
+ data-bound properties for the first time,
1072
+ and before any of the view or content children have been checked.
1073
+ It is invoked only once when the directive is instantiated.
1074
+
1075
+ #### Returns
1076
+
1077
+ `void`
1078
+
1079
+ #### Implementation of
1080
+
1081
+ `OnInit.ngOnInit`
1082
+
1083
+ ***
1084
+
1085
+ ### refresh()
1086
+
1087
+ > **refresh**(): `Promise`\<`any`\>
1088
+
1089
+ Defined in: [tree/src/lib/tree.data-source.ts:553](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/tree/src/lib/tree.data-source.ts#L553)
1090
+
1091
+ #### Returns
1092
+
1093
+ `Promise`\<`any`\>
1094
+
1095
+ #### Overrides
1096
+
1097
+ `BaseDataSource.refresh`
1098
+
1099
+ ***
1100
+
1101
+ ### refreshMatchFilter()
1102
+
1103
+ > **refreshMatchFilter**(): `void`
1104
+
1105
+ Defined in: [tree/src/lib/tree.data-source.ts:549](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/tree/src/lib/tree.data-source.ts#L549)
1106
+
1107
+ #### Returns
1108
+
1109
+ `void`
1110
+
1111
+ ***
1112
+
1113
+ ### reset()
1114
+
1115
+ > **reset**(): `any`
1116
+
1117
+ Defined in: [tree/src/lib/tree.data-source.ts:595](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/tree/src/lib/tree.data-source.ts#L595)
1118
+
1119
+ #### Returns
1120
+
1121
+ `any`
1122
+
1123
+ #### Overrides
1124
+
1125
+ `BaseDataSource.reset`
1126
+
1127
+ ***
1128
+
1129
+ ### retry()
1130
+
1131
+ > **retry**(): `any`
1132
+
1133
+ Defined in: [data-source/src/lib/base.data-source.ts:293](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/data-source/src/lib/base.data-source.ts#L293)
1134
+
1135
+ #### Returns
1136
+
1137
+ `any`
1138
+
1139
+ #### Inherited from
1140
+
1141
+ `BaseDataSource.retry`
1142
+
1143
+ ***
1144
+
1145
+ ### selectNode()
1146
+
1147
+ > **selectNode**(`node`): `Promise`\<`void`\>
1148
+
1149
+ Defined in: [tree/src/lib/tree.data-source.ts:364](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/tree/src/lib/tree.data-source.ts#L364)
1150
+
1151
+ #### Parameters
1152
+
1153
+ ##### node
1154
+
1155
+ `Node`\<`Data`\>
1156
+
1157
+ #### Returns
1158
+
1159
+ `Promise`\<`void`\>
1160
+
1161
+ ***
1162
+
1163
+ ### setGetIcon()
1164
+
1165
+ > **setGetIcon**(`getIcon`): `void`
1166
+
1167
+ Defined in: [tree/src/lib/tree.data-source.ts:390](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/tree/src/lib/tree.data-source.ts#L390)
1168
+
1169
+ #### Parameters
1170
+
1171
+ ##### getIcon
1172
+
1173
+ `NodeGetIconFunction`\<`Data`\> = `...`
1174
+
1175
+ #### Returns
1176
+
1177
+ `void`
1178
+
1179
+ ***
1180
+
1181
+ ### setGetStyle()
1182
+
1183
+ > **setGetStyle**(`getStyle`): `void`
1184
+
1185
+ Defined in: [tree/src/lib/tree.data-source.ts:601](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/tree/src/lib/tree.data-source.ts#L601)
1186
+
1187
+ #### Parameters
1188
+
1189
+ ##### getStyle
1190
+
1191
+ `NodeGetStyleFunction`\<`any`\> = `...`
1192
+
1193
+ #### Returns
1194
+
1195
+ `void`
1196
+
1197
+ ***
1198
+
1199
+ ### setGetType()
1200
+
1201
+ > **setGetType**(`getType`): `void`
1202
+
1203
+ Defined in: [tree/src/lib/tree.data-source.ts:605](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/tree/src/lib/tree.data-source.ts#L605)
1204
+
1205
+ #### Parameters
1206
+
1207
+ ##### getType
1208
+
1209
+ `NodeGetTypeFunction`\<`any`\> = `...`
1210
+
1211
+ #### Returns
1212
+
1213
+ `void`
1214
+
1215
+ ***
1216
+
1217
+ ### setHasDetails()
1218
+
1219
+ > **setHasDetails**(`hasDetails`): `void`
1220
+
1221
+ Defined in: [tree/src/lib/tree.data-source.ts:394](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/tree/src/lib/tree.data-source.ts#L394)
1222
+
1223
+ #### Parameters
1224
+
1225
+ ##### hasDetails
1226
+
1227
+ `NodeHasDetailsFunction`\<`Data`\> = `...`
1228
+
1229
+ #### Returns
1230
+
1231
+ `void`
1232
+
1233
+ ***
1234
+
1235
+ ### setMatchFilter()
1236
+
1237
+ > **setMatchFilter**(`matchFilter`): `void`
1238
+
1239
+ Defined in: [tree/src/lib/tree.data-source.ts:380](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/tree/src/lib/tree.data-source.ts#L380)
1240
+
1241
+ #### Parameters
1242
+
1243
+ ##### matchFilter
1244
+
1245
+ (`node`) => `boolean`
1246
+
1247
+ #### Returns
1248
+
1249
+ `void`
1250
+
1251
+ ***
1252
+
1253
+ ### setToDisplay()
1254
+
1255
+ > **setToDisplay**(`toDisplay`): `void`
1256
+
1257
+ Defined in: [tree/src/lib/tree.data-source.ts:384](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/tree/src/lib/tree.data-source.ts#L384)
1258
+
1259
+ #### Parameters
1260
+
1261
+ ##### toDisplay
1262
+
1263
+ `NodeToDisplayFunction`\<`Data`\> = `...`
1264
+
1265
+ #### Returns
1266
+
1267
+ `void`
1268
+
1269
+ ***
1270
+
1271
+ ### setTreeControl()
1272
+
1273
+ > **setTreeControl**(`treeControl`): `void`
1274
+
1275
+ Defined in: [tree/src/lib/tree.data-source.ts:376](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/tree/src/lib/tree.data-source.ts#L376)
1276
+
1277
+ #### Parameters
1278
+
1279
+ ##### treeControl
1280
+
1281
+ `FlatTreeControl`\<`Node`\<`Data`, `any`\>\>
1282
+
1283
+ #### Returns
1284
+
1285
+ `void`
1286
+
1287
+ ***
1288
+
1289
+ ### toJSON()
1290
+
1291
+ > **toJSON**(): `object`
1292
+
1293
+ Defined in: [data-source/src/lib/base.data-source.ts:280](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/data-source/src/lib/base.data-source.ts#L280)
1294
+
1295
+ #### Returns
1296
+
1297
+ `object`
1298
+
1299
+ #### Inherited from
1300
+
1301
+ `BaseDataSource.toJSON`
1302
+
1303
+ ***
1304
+
1305
+ ### toNode()
1306
+
1307
+ > **toNode**(`parent`, `item`, `depth`, `onExpand`, `onCollapse`, `onSelect`, `onDeselect`): `Promise`\<`Node`\<`Data`, `any`\>\>
1308
+
1309
+ Defined in: [tree/src/lib/tree.data-source.ts:484](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/tree/src/lib/tree.data-source.ts#L484)
1310
+
1311
+ #### Parameters
1312
+
1313
+ ##### parent
1314
+
1315
+ `null` | `Node`\<`Data`, `any`\>
1316
+
1317
+ ##### item
1318
+
1319
+ `Data`
1320
+
1321
+ ##### depth
1322
+
1323
+ `number` = `0`
1324
+
1325
+ ##### onExpand
1326
+
1327
+ `ExpandNodeFunction`\<`Data`\> = `...`
1328
+
1329
+ ##### onCollapse
1330
+
1331
+ `ExpandNodeFunction`\<`Data`\> = `...`
1332
+
1333
+ ##### onSelect
1334
+
1335
+ `ExpandNodeFunction`\<`Data`\> = `...`
1336
+
1337
+ ##### onDeselect
1338
+
1339
+ `ExpandNodeFunction`\<`Data`\> = `...`
1340
+
1341
+ #### Returns
1342
+
1343
+ `Promise`\<`Node`\<`Data`, `any`\>\>
1344
+
1345
+ ***
1346
+
1347
+ ### toPromise()
1348
+
1349
+ > **toPromise**(`viewer`): `Promise`\<`Node`\<`Data`, `any`\>[]\>
1350
+
1351
+ Defined in: [data-source/src/lib/base.data-source.ts:264](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/data-source/src/lib/base.data-source.ts#L264)
1352
+
1353
+ Creates a connection to tha data source and converts the Observable into a
1354
+ promise and then disconnects the viewer
1355
+
1356
+ #### Parameters
1357
+
1358
+ ##### viewer
1359
+
1360
+ `BaseDataSourceViewer`
1361
+
1362
+ #### Returns
1363
+
1364
+ `Promise`\<`Node`\<`Data`, `any`\>[]\>
1365
+
1366
+ #### Inherited from
1367
+
1368
+ `BaseDataSource.toPromise`
1369
+
1370
+ ***
1371
+
1372
+ ### updateNodes()
1373
+
1374
+ > **updateNodes**(): `void`
1375
+
1376
+ Defined in: [tree/src/lib/tree.data-source.ts:613](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/tree/src/lib/tree.data-source.ts#L613)
1377
+
1378
+ recall the getStyle, getIcon and toDisplay methods
1379
+ and update the node objects
1380
+
1381
+ #### Returns
1382
+
1383
+ `void`
1384
+
1385
+ ***
1386
+
1387
+ ### add()
1388
+
1389
+ > `static` **add**(`definition`): `void`
1390
+
1391
+ Defined in: [definition/src/lib/definition.ts:94](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/definition/src/lib/definition.ts#L94)
1392
+
1393
+ #### Parameters
1394
+
1395
+ ##### definition
1396
+
1397
+ `BaseDefinition`
1398
+
1399
+ #### Returns
1400
+
1401
+ `void`
1402
+
1403
+ #### Inherited from
1404
+
1405
+ `BaseDataSource.add`
1406
+
1407
+ ***
1408
+
1409
+ ### remove()
1410
+
1411
+ > `static` **remove**(`definition`): `void`
1412
+
1413
+ Defined in: [definition/src/lib/definition.ts:102](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/definition/src/lib/definition.ts#L102)
1414
+
1415
+ #### Parameters
1416
+
1417
+ ##### definition
1418
+
1419
+ `BaseDefinition`
1420
+
1421
+ #### Returns
1422
+
1423
+ `void`
1424
+
1425
+ #### Inherited from
1426
+
1427
+ `BaseDataSource.remove`