@rxap/tree 19.1.0 → 21.0.1-dev.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 (70) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/compodoc/changelog.html +21 -0
  3. package/compodoc/components/TreeComponent.html +158 -161
  4. package/compodoc/dependencies.html +14 -14
  5. package/compodoc/js/search/search_index.js +2 -2
  6. package/compodoc/properties.html +1 -1
  7. package/docs/documentation.json +308 -308
  8. package/docs/html/classes/DefaultTreeApplyFilterMethod.html +2 -2
  9. package/docs/html/classes/SearchForm.html +2 -2
  10. package/docs/html/classes/TreeComponent.html +4 -4
  11. package/docs/html/classes/TreeContentDirective.html +2 -2
  12. package/docs/html/classes/TreeDataSource.html +16 -16
  13. package/docs/html/functions/FormFactory.html +1 -1
  14. package/docs/html/functions/flatTree.html +1 -1
  15. package/docs/html/functions/isSelectionChange.html +1 -1
  16. package/docs/html/index.html +2 -2
  17. package/docs/html/interfaces/ISearchForm.html +2 -2
  18. package/docs/html/interfaces/TreeApplyFilterParameter.html +2 -2
  19. package/docs/html/interfaces/TreeDataSourceMetadata.html +3 -3
  20. package/docs/html/modules.html +1 -1
  21. package/docs/html/variables/RXAP_TREE_CONTENT_EDITABLE_METHOD.html +1 -1
  22. package/docs/html/variables/RXAP_TREE_DATA_SOURCE_APPLY_FILTER_METHOD.html +1 -1
  23. package/docs/html/variables/RXAP_TREE_DATA_SOURCE_CHILDREN_REMOTE_METHOD.html +1 -1
  24. package/docs/html/variables/RXAP_TREE_DATA_SOURCE_ROOT_REMOTE_METHOD.html +1 -1
  25. package/docs/html/variables/SearchFormProviders.html +1 -1
  26. package/docs/markdown/README.md +1 -1
  27. package/docs/markdown/classes/DefaultTreeApplyFilterMethod.md +5 -5
  28. package/docs/markdown/classes/SearchForm.md +5 -5
  29. package/docs/markdown/classes/TreeComponent.md +34 -34
  30. package/docs/markdown/classes/TreeContentDirective.md +4 -4
  31. package/docs/markdown/classes/TreeDataSource.md +87 -87
  32. package/docs/markdown/functions/FormFactory.md +2 -2
  33. package/docs/markdown/functions/flatTree.md +2 -2
  34. package/docs/markdown/functions/isSelectionChange.md +2 -2
  35. package/docs/markdown/globals.md +2 -2
  36. package/docs/markdown/interfaces/ISearchForm.md +4 -4
  37. package/docs/markdown/interfaces/TreeApplyFilterParameter.md +5 -5
  38. package/docs/markdown/interfaces/TreeDataSourceMetadata.md +8 -8
  39. package/docs/markdown/variables/RXAP_TREE_CONTENT_EDITABLE_METHOD.md +2 -2
  40. package/docs/markdown/variables/RXAP_TREE_DATA_SOURCE_APPLY_FILTER_METHOD.md +2 -2
  41. package/docs/markdown/variables/RXAP_TREE_DATA_SOURCE_CHILDREN_REMOTE_METHOD.md +2 -2
  42. package/docs/markdown/variables/RXAP_TREE_DATA_SOURCE_ROOT_REMOTE_METHOD.md +2 -2
  43. package/docs/markdown/variables/SearchFormProviders.md +2 -2
  44. package/docs/wiki/Class.DefaultTreeApplyFilterMethod.md +4 -4
  45. package/docs/wiki/Class.SearchForm.md +4 -4
  46. package/docs/wiki/Class.TreeComponent.md +33 -33
  47. package/docs/wiki/Class.TreeContentDirective.md +3 -3
  48. package/docs/wiki/Class.TreeDataSource.md +86 -86
  49. package/docs/wiki/Function.FormFactory.md +1 -1
  50. package/docs/wiki/Function.flatTree.md +1 -1
  51. package/docs/wiki/Function.isSelectionChange.md +1 -1
  52. package/docs/wiki/Interface.ISearchForm.md +3 -3
  53. package/docs/wiki/Interface.TreeApplyFilterParameter.md +4 -4
  54. package/docs/wiki/Interface.TreeDataSourceMetadata.md +7 -7
  55. package/docs/wiki/Variable.RXAP_TREE_CONTENT_EDITABLE_METHOD.md +1 -1
  56. package/docs/wiki/Variable.RXAP_TREE_DATA_SOURCE_APPLY_FILTER_METHOD.md +1 -1
  57. package/docs/wiki/Variable.RXAP_TREE_DATA_SOURCE_CHILDREN_REMOTE_METHOD.md +1 -1
  58. package/docs/wiki/Variable.RXAP_TREE_DATA_SOURCE_ROOT_REMOTE_METHOD.md +1 -1
  59. package/docs/wiki/Variable.SearchFormProviders.md +1 -1
  60. package/docs/wiki/globals.md +1 -1
  61. package/fesm2022/rxap-tree.mjs +21 -23
  62. package/fesm2022/rxap-tree.mjs.map +1 -1
  63. package/package.json +42 -41
  64. package/types/rxap-tree.d.ts +190 -0
  65. package/index.d.ts +0 -5
  66. package/lib/search.form.d.ts +0 -16
  67. package/lib/tokens.d.ts +0 -2
  68. package/lib/tree-content.directive.d.ts +0 -8
  69. package/lib/tree.component.d.ts +0 -63
  70. package/lib/tree.data-source.d.ts +0 -108
@@ -4,7 +4,7 @@
4
4
 
5
5
  > **FormFactory**(`injector`, `state`, `existingFormDefinition`): [`SearchForm`](../wiki/Class.SearchForm)
6
6
 
7
- Defined in: [tree/src/lib/search.form.ts:42](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/tree/src/lib/search.form.ts#L42)
7
+ Defined in: [tree/src/lib/search.form.ts:42](https://gitlab.com/rxap/packages/-/blob/b20edab0a4af1993e07e7860064bb449d7fa067b/packages/angular/tree/src/lib/search.form.ts#L42)
8
8
 
9
9
  ## Parameters
10
10
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  > **flatTree**\<`Data`\>(`tree`, `all`): `Node`\<`Data`, `any`\>[]
6
6
 
7
- Defined in: [tree/src/lib/tree.data-source.ts:86](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/tree/src/lib/tree.data-source.ts#L86)
7
+ Defined in: [tree/src/lib/tree.data-source.ts:86](https://gitlab.com/rxap/packages/-/blob/b20edab0a4af1993e07e7860064bb449d7fa067b/packages/angular/tree/src/lib/tree.data-source.ts#L86)
8
8
 
9
9
  ## Type Parameters
10
10
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  > **isSelectionChange**\<`T`\>(`obj`): `obj is SelectionChange<T>`
6
6
 
7
- Defined in: [tree/src/lib/tree.data-source.ts:62](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/tree/src/lib/tree.data-source.ts#L62)
7
+ Defined in: [tree/src/lib/tree.data-source.ts:62](https://gitlab.com/rxap/packages/-/blob/b20edab0a4af1993e07e7860064bb449d7fa067b/packages/angular/tree/src/lib/tree.data-source.ts#L62)
8
8
 
9
9
  ## Type Parameters
10
10
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  # Interface: ISearchForm\<Scope\>
4
4
 
5
- Defined in: [tree/src/lib/search.form.ts:20](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/tree/src/lib/search.form.ts#L20)
5
+ Defined in: [tree/src/lib/search.form.ts:20](https://gitlab.com/rxap/packages/-/blob/b20edab0a4af1993e07e7860064bb449d7fa067b/packages/angular/tree/src/lib/search.form.ts#L20)
6
6
 
7
7
  ## Type Parameters
8
8
 
@@ -14,7 +14,7 @@ Defined in: [tree/src/lib/search.form.ts:20](https://gitlab.com/rxap/packages/-/
14
14
 
15
15
  > **scope**: `Record`\<`string`, `Scope`[]\>
16
16
 
17
- Defined in: [tree/src/lib/search.form.ts:22](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/tree/src/lib/search.form.ts#L22)
17
+ Defined in: [tree/src/lib/search.form.ts:22](https://gitlab.com/rxap/packages/-/blob/b20edab0a4af1993e07e7860064bb449d7fa067b/packages/angular/tree/src/lib/search.form.ts#L22)
18
18
 
19
19
  ***
20
20
 
@@ -22,4 +22,4 @@ Defined in: [tree/src/lib/search.form.ts:22](https://gitlab.com/rxap/packages/-/
22
22
 
23
23
  > **search**: `string`
24
24
 
25
- Defined in: [tree/src/lib/search.form.ts:21](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/tree/src/lib/search.form.ts#L21)
25
+ Defined in: [tree/src/lib/search.form.ts:21](https://gitlab.com/rxap/packages/-/blob/b20edab0a4af1993e07e7860064bb449d7fa067b/packages/angular/tree/src/lib/search.form.ts#L21)
@@ -2,7 +2,7 @@
2
2
 
3
3
  # Interface: TreeApplyFilterParameter\<Form, Data\>
4
4
 
5
- Defined in: [tree/src/lib/tree.data-source.ts:119](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/tree/src/lib/tree.data-source.ts#L119)
5
+ Defined in: [tree/src/lib/tree.data-source.ts:119](https://gitlab.com/rxap/packages/-/blob/b20edab0a4af1993e07e7860064bb449d7fa067b/packages/angular/tree/src/lib/tree.data-source.ts#L119)
6
6
 
7
7
  ## Type Parameters
8
8
 
@@ -16,7 +16,7 @@ Defined in: [tree/src/lib/tree.data-source.ts:119](https://gitlab.com/rxap/packa
16
16
 
17
17
  > **filter**: `Form`
18
18
 
19
- Defined in: [tree/src/lib/tree.data-source.ts:121](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/tree/src/lib/tree.data-source.ts#L121)
19
+ Defined in: [tree/src/lib/tree.data-source.ts:121](https://gitlab.com/rxap/packages/-/blob/b20edab0a4af1993e07e7860064bb449d7fa067b/packages/angular/tree/src/lib/tree.data-source.ts#L121)
20
20
 
21
21
  ***
22
22
 
@@ -24,7 +24,7 @@ Defined in: [tree/src/lib/tree.data-source.ts:121](https://gitlab.com/rxap/packa
24
24
 
25
25
  > `optional` **scopeTypes**: `string`[]
26
26
 
27
- Defined in: [tree/src/lib/tree.data-source.ts:122](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/tree/src/lib/tree.data-source.ts#L122)
27
+ Defined in: [tree/src/lib/tree.data-source.ts:122](https://gitlab.com/rxap/packages/-/blob/b20edab0a4af1993e07e7860064bb449d7fa067b/packages/angular/tree/src/lib/tree.data-source.ts#L122)
28
28
 
29
29
  ***
30
30
 
@@ -32,4 +32,4 @@ Defined in: [tree/src/lib/tree.data-source.ts:122](https://gitlab.com/rxap/packa
32
32
 
33
33
  > **tree**: `Node`\<`Data`, `any`\>[]
34
34
 
35
- Defined in: [tree/src/lib/tree.data-source.ts:120](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/tree/src/lib/tree.data-source.ts#L120)
35
+ Defined in: [tree/src/lib/tree.data-source.ts:120](https://gitlab.com/rxap/packages/-/blob/b20edab0a4af1993e07e7860064bb449d7fa067b/packages/angular/tree/src/lib/tree.data-source.ts#L120)
@@ -2,7 +2,7 @@
2
2
 
3
3
  # Interface: TreeDataSourceMetadata
4
4
 
5
- Defined in: [tree/src/lib/tree.data-source.ts:66](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/tree/src/lib/tree.data-source.ts#L66)
5
+ Defined in: [tree/src/lib/tree.data-source.ts:66](https://gitlab.com/rxap/packages/-/blob/b20edab0a4af1993e07e7860064bb449d7fa067b/packages/angular/tree/src/lib/tree.data-source.ts#L66)
6
6
 
7
7
  ## Extends
8
8
 
@@ -18,7 +18,7 @@ Defined in: [tree/src/lib/tree.data-source.ts:66](https://gitlab.com/rxap/packag
18
18
 
19
19
  > `optional` **autoRefreshWithoutCache**: `boolean`
20
20
 
21
- Defined in: [tree/src/lib/tree.data-source.ts:73](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/tree/src/lib/tree.data-source.ts#L73)
21
+ Defined in: [tree/src/lib/tree.data-source.ts:73](https://gitlab.com/rxap/packages/-/blob/b20edab0a4af1993e07e7860064bb449d7fa067b/packages/angular/tree/src/lib/tree.data-source.ts#L73)
22
22
 
23
23
  If true the tree will be refreshed with caching disbabled after the first load
24
24
 
@@ -28,7 +28,7 @@ If true the tree will be refreshed with caching disbabled after the first load
28
28
 
29
29
  > `optional` **expandMultiple**: `boolean`
30
30
 
31
- Defined in: [tree/src/lib/tree.data-source.ts:68](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/tree/src/lib/tree.data-source.ts#L68)
31
+ Defined in: [tree/src/lib/tree.data-source.ts:68](https://gitlab.com/rxap/packages/-/blob/b20edab0a4af1993e07e7860064bb449d7fa067b/packages/angular/tree/src/lib/tree.data-source.ts#L68)
32
32
 
33
33
  ***
34
34
 
@@ -36,7 +36,7 @@ Defined in: [tree/src/lib/tree.data-source.ts:68](https://gitlab.com/rxap/packag
36
36
 
37
37
  > **id**: `string`
38
38
 
39
- Defined in: [definition/src/lib/definition.metadata.ts:9](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/definition/src/lib/definition.metadata.ts#L9)
39
+ Defined in: [definition/src/lib/definition.metadata.ts:9](https://gitlab.com/rxap/packages/-/blob/b20edab0a4af1993e07e7860064bb449d7fa067b/packages/angular/definition/src/lib/definition.metadata.ts#L9)
40
40
 
41
41
  #### Inherited from
42
42
 
@@ -48,7 +48,7 @@ Defined in: [definition/src/lib/definition.metadata.ts:9](https://gitlab.com/rxa
48
48
 
49
49
  > `optional` **restore**: `boolean`
50
50
 
51
- Defined in: [data-source/src/lib/base.data-source.ts:58](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/data-source/src/lib/base.data-source.ts#L58)
51
+ Defined in: [data-source/src/lib/base.data-source.ts:58](https://gitlab.com/rxap/packages/-/blob/b20edab0a4af1993e07e7860064bb449d7fa067b/packages/angular/data-source/src/lib/base.data-source.ts#L58)
52
52
 
53
53
  Indicates weather the data source should restore the last value from local storage
54
54
 
@@ -62,7 +62,7 @@ Indicates weather the data source should restore the last value from local stora
62
62
 
63
63
  > `optional` **scopeTypes**: `string`[]
64
64
 
65
- Defined in: [tree/src/lib/tree.data-source.ts:69](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/tree/src/lib/tree.data-source.ts#L69)
65
+ Defined in: [tree/src/lib/tree.data-source.ts:69](https://gitlab.com/rxap/packages/-/blob/b20edab0a4af1993e07e7860064bb449d7fa067b/packages/angular/tree/src/lib/tree.data-source.ts#L69)
66
66
 
67
67
  ***
68
68
 
@@ -70,4 +70,4 @@ Defined in: [tree/src/lib/tree.data-source.ts:69](https://gitlab.com/rxap/packag
70
70
 
71
71
  > `optional` **selectMultiple**: `boolean`
72
72
 
73
- Defined in: [tree/src/lib/tree.data-source.ts:67](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/tree/src/lib/tree.data-source.ts#L67)
73
+ Defined in: [tree/src/lib/tree.data-source.ts:67](https://gitlab.com/rxap/packages/-/blob/b20edab0a4af1993e07e7860064bb449d7fa067b/packages/angular/tree/src/lib/tree.data-source.ts#L67)
@@ -4,4 +4,4 @@
4
4
 
5
5
  > `const` **RXAP\_TREE\_CONTENT\_EDITABLE\_METHOD**: `InjectionToken`\<`unknown`\>
6
6
 
7
- Defined in: [tree/src/lib/tokens.ts:3](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/tree/src/lib/tokens.ts#L3)
7
+ Defined in: [tree/src/lib/tokens.ts:3](https://gitlab.com/rxap/packages/-/blob/b20edab0a4af1993e07e7860064bb449d7fa067b/packages/angular/tree/src/lib/tokens.ts#L3)
@@ -4,4 +4,4 @@
4
4
 
5
5
  > `const` **RXAP\_TREE\_DATA\_SOURCE\_APPLY\_FILTER\_METHOD**: `InjectionToken`\<`unknown`\>
6
6
 
7
- Defined in: [tree/src/lib/tree.data-source.ts:83](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/tree/src/lib/tree.data-source.ts#L83)
7
+ Defined in: [tree/src/lib/tree.data-source.ts:83](https://gitlab.com/rxap/packages/-/blob/b20edab0a4af1993e07e7860064bb449d7fa067b/packages/angular/tree/src/lib/tree.data-source.ts#L83)
@@ -4,4 +4,4 @@
4
4
 
5
5
  > `const` **RXAP\_TREE\_DATA\_SOURCE\_CHILDREN\_REMOTE\_METHOD**: `InjectionToken`\<`unknown`\>
6
6
 
7
- Defined in: [tree/src/lib/tree.data-source.ts:79](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/tree/src/lib/tree.data-source.ts#L79)
7
+ Defined in: [tree/src/lib/tree.data-source.ts:79](https://gitlab.com/rxap/packages/-/blob/b20edab0a4af1993e07e7860064bb449d7fa067b/packages/angular/tree/src/lib/tree.data-source.ts#L79)
@@ -4,4 +4,4 @@
4
4
 
5
5
  > `const` **RXAP\_TREE\_DATA\_SOURCE\_ROOT\_REMOTE\_METHOD**: `InjectionToken`\<`unknown`\>
6
6
 
7
- Defined in: [tree/src/lib/tree.data-source.ts:76](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/tree/src/lib/tree.data-source.ts#L76)
7
+ Defined in: [tree/src/lib/tree.data-source.ts:76](https://gitlab.com/rxap/packages/-/blob/b20edab0a4af1993e07e7860064bb449d7fa067b/packages/angular/tree/src/lib/tree.data-source.ts#L76)
@@ -4,4 +4,4 @@
4
4
 
5
5
  > `const` **SearchFormProviders**: `Provider`[]
6
6
 
7
- Defined in: [tree/src/lib/search.form.ts:56](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/tree/src/lib/search.form.ts#L56)
7
+ Defined in: [tree/src/lib/search.form.ts:56](https://gitlab.com/rxap/packages/-/blob/b20edab0a4af1993e07e7860064bb449d7fa067b/packages/angular/tree/src/lib/search.form.ts#L56)
@@ -1,4 +1,4 @@
1
- # @rxap/tree v19.1.0
1
+ # @rxap/tree v21.0.1-dev.0
2
2
 
3
3
  ## Classes
4
4
 
@@ -1,11 +1,11 @@
1
1
  import { __decorate, __metadata } from 'tslib';
2
2
  import * as i0 from '@angular/core';
3
- import { Injectable, INJECTOR, Optional, SkipSelf, InjectionToken, TemplateRef, Directive, Inject, isDevMode, EventEmitter, signal, ViewContainerRef, ChangeDetectorRef, Component, ChangeDetectionStrategy, Input, ContentChild, Output, ViewChild, HostListener } from '@angular/core';
4
- import { UseFormControl, RxapFormControl, RxapForm, RxapFormBuilder, RXAP_FORM_DEFINITION, RXAP_FORM_INITIAL_STATE } from '@rxap/forms';
3
+ import { Injectable, INJECTOR, Optional, SkipSelf, InjectionToken, TemplateRef, Inject, Directive, isDevMode, EventEmitter, signal, ViewContainerRef, ChangeDetectorRef, HostListener, ViewChild, Input, Output, ContentChild, ChangeDetectionStrategy, Component } from '@angular/core';
4
+ import { UseFormControl, RxapFormControl, RxapForm, RxapFormBuilder, RXAP_FORM_INITIAL_STATE, RXAP_FORM_DEFINITION } from '@rxap/forms';
5
5
  import * as i8 from '@angular/cdk/portal';
6
6
  import { TemplatePortal, PortalModule } from '@angular/cdk/portal';
7
7
  import { FlatTreeControl } from '@angular/cdk/tree';
8
- import { NgStyle, NgIf, AsyncPipe, NgClass, NgForOf } from '@angular/common';
8
+ import { NgStyle, NgClass, AsyncPipe } from '@angular/common';
9
9
  import * as i5 from '@angular/material/button';
10
10
  import { MatButtonModule } from '@angular/material/button';
11
11
  import * as i4 from '@angular/material/checkbox';
@@ -31,8 +31,8 @@ import { ToggleSubject } from '@rxap/rxjs';
31
31
  import { BehaviorSubject, Subject, combineLatest, debounceTime, from, merge } from 'rxjs';
32
32
 
33
33
  let SearchForm = class SearchForm {
34
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: SearchForm, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
35
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: SearchForm }); }
34
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: SearchForm, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
35
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: SearchForm }); }
36
36
  };
37
37
  __decorate([
38
38
  UseFormControl(),
@@ -48,7 +48,7 @@ SearchForm = __decorate([
48
48
  autoSubmit: 500,
49
49
  })
50
50
  ], SearchForm);
51
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: SearchForm, decorators: [{
51
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: SearchForm, decorators: [{
52
52
  type: Injectable
53
53
  }], propDecorators: { search: [], scope: [] } });
54
54
  function FormFactory(injector, state, existingFormDefinition) {
@@ -76,10 +76,10 @@ class TreeContentDirective {
76
76
  constructor(template) {
77
77
  this.template = template;
78
78
  }
79
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: TreeContentDirective, deps: [{ token: TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }
80
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.16", type: TreeContentDirective, isStandalone: true, selector: "ng-template[rxapTreeContent]", ngImport: i0 }); }
79
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: TreeContentDirective, deps: [{ token: TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }
80
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.9", type: TreeContentDirective, isStandalone: true, selector: "ng-template[rxapTreeContent]", ngImport: i0 }); }
81
81
  }
82
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: TreeContentDirective, decorators: [{
82
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: TreeContentDirective, decorators: [{
83
83
  type: Directive,
84
84
  args: [{
85
85
  selector: 'ng-template[rxapTreeContent]',
@@ -214,10 +214,10 @@ class DefaultTreeApplyFilterMethod {
214
214
  }
215
215
  return false;
216
216
  }
217
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: DefaultTreeApplyFilterMethod, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
218
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: DefaultTreeApplyFilterMethod }); }
217
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: DefaultTreeApplyFilterMethod, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
218
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: DefaultTreeApplyFilterMethod }); }
219
219
  }
220
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: DefaultTreeApplyFilterMethod, decorators: [{
220
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: DefaultTreeApplyFilterMethod, decorators: [{
221
221
  type: Injectable
222
222
  }] });
223
223
  let TreeDataSource = class TreeDataSource extends BaseDataSource {
@@ -601,8 +601,8 @@ let TreeDataSource = class TreeDataSource extends BaseDataSource {
601
601
  .subscribe();
602
602
  }
603
603
  }
604
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: TreeDataSource, deps: [{ token: RXAP_TREE_DATA_SOURCE_ROOT_REMOTE_METHOD }, { token: RXAP_TREE_DATA_SOURCE_CHILDREN_REMOTE_METHOD, optional: true }, { token: RXAP_TREE_DATA_SOURCE_APPLY_FILTER_METHOD, optional: true }, { token: RXAP_DATA_SOURCE_METADATA, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
605
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: TreeDataSource }); }
604
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: TreeDataSource, deps: [{ token: RXAP_TREE_DATA_SOURCE_ROOT_REMOTE_METHOD }, { token: RXAP_TREE_DATA_SOURCE_CHILDREN_REMOTE_METHOD, optional: true }, { token: RXAP_TREE_DATA_SOURCE_APPLY_FILTER_METHOD, optional: true }, { token: RXAP_DATA_SOURCE_METADATA, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
605
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: TreeDataSource }); }
606
606
  };
607
607
  __decorate([
608
608
  Required,
@@ -612,7 +612,7 @@ TreeDataSource = __decorate([
612
612
  RxapDataSource('tree'),
613
613
  __metadata("design:paramtypes", [Object, Object, Object, Object])
614
614
  ], TreeDataSource);
615
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: TreeDataSource, decorators: [{
615
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: TreeDataSource, decorators: [{
616
616
  type: Injectable
617
617
  }], ctorParameters: () => [{ type: undefined, decorators: [{
618
618
  type: Inject,
@@ -646,7 +646,7 @@ class TreeComponent {
646
646
  this.details = new EventEmitter();
647
647
  this.dividerOffset = '256px';
648
648
  this.portal = null;
649
- this.showTreeNavigation = signal(true);
649
+ this.showTreeNavigation = signal(true, ...(ngDevMode ? [{ debugName: "showTreeNavigation" }] : /* istanbul ignore next */ []));
650
650
  /**
651
651
  * Indicates that the divider is moved with mouse down
652
652
  * @private
@@ -736,8 +736,8 @@ class TreeComponent {
736
736
  this.renderer.setStyle(this.treeContainer.nativeElement, 'flex-basis', offset);
737
737
  localStorage.setItem(this.cacheId, offset);
738
738
  }
739
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: TreeComponent, deps: [{ token: ViewContainerRef }, { token: ChangeDetectorRef }, { token: RXAP_TREE_CONTENT_EDITABLE_METHOD, optional: true }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: RXAP_FORM_DEFINITION, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
740
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.16", type: TreeComponent, isStandalone: true, selector: "rxap-tree", inputs: { dataSource: "dataSource", contentEditableMethod: "contentEditableMethod", toDisplay: "toDisplay", getIcon: "getIcon", getType: "getType", getStyle: "getStyle", multiple: "multiple", hasDetails: "hasDetails", hideLeafIcon: "hideLeafIcon", id: "id", dividerOffset: "dividerOffset" }, outputs: { details: "details" }, host: { listeners: { "mouseup": "onMouseup()", "mousemove": "onMousemove($event)" } }, queries: [{ propertyName: "content", first: true, predicate: TreeContentDirective, descendants: true, static: true }], viewQueries: [{ propertyName: "treeContainer", first: true, predicate: ["treeContainer"], descendants: true, static: true }], ngImport: i0, template: "<div class=\"grow flex flex-col gap-2 justify-start items-start\">\n <button (click)=\"toggleTreeNavigation()\" class=\"!justify-start\" mat-button type=\"button\">\n <span class=\"flex flex-row justify-start items-center gap-6\">\n <ng-template [ngIf]=\"showTreeNavigation()\">\n <mat-icon>arrow_back</mat-icon>\n <span i18n>Hide tree navigation</span>\n </ng-template>\n <ng-template [ngIf]=\"!showTreeNavigation()\">\n <mat-icon>arrow_forward</mat-icon>\n <span i18n>Show tree navigation</span>\n </ng-template>\n </span>\n </button>\n <div class=\"flex flex-row grow w-full\">\n <div #treeContainer [ngClass]=\"{ 'hidden': !showTreeNavigation() }\"\n [ngStyle]=\"{ maxWidth: dividerOffset, minWidth: dividerOffset, flexBasis: dividerOffset }\"\n class=\"w-fit grow-0 overflow-y-auto\">\n <mat-progress-bar *ngIf=\"!dataSource || (dataSource.loading$ | async)\" mode=\"indeterminate\"></mat-progress-bar>\n <ng-content select=\"[searchHeader]\"></ng-content>\n <mat-tree *ngIf=\"dataSource; else loading\" [dataSource]=\"dataSource\" [treeControl]=\"treeControl\">\n\n <!-- Node without children -->\n <mat-tree-node *matTreeNodeDef=\"let node\" matTreeNodePadding>\n <div class=\"flex flex-row justify-start items-center gap-2\">\n <mat-icon [ngClass]=\"{ 'hidden': hideLeafIcon }\">subdirectory_arrow_right</mat-icon>\n <ng-container *ngIf=\"node.icon?.length\">\n <mat-icon *ngFor=\"let icon of node.icon\" [rxapIcon]=\"$any(icon)\"></mat-icon>\n </ng-container>\n <ng-template [ngIf]=\"multiple\">\n <mat-checkbox\n (change)=\"node.toggleSelect()\"\n [checked]=\"node.selected\"\n [disabled]=\"!node.hasDetails\"\n [ngStyle]=\"node.style\"\n class=\"grow-0 truncate\">\n {{ node.display }}\n </mat-checkbox>\n </ng-template>\n <ng-template [ngIf]=\"!multiple\">\n <button\n (click)=\"node.select()\"\n [color]=\"node.selected ? 'primary' : undefined\"\n [disabled]=\"!node.hasDetails\"\n [ngStyle]=\"node.style\"\n class=\"grow-0 truncate\"\n mat-button\n type=\"button\"\n >\n {{ node.display }}\n </button>\n </ng-template>\n </div>\n </mat-tree-node>\n\n <!-- Node with children -->\n <mat-tree-node *matTreeNodeDef=\"let node; when: hasChild\" matTreeNodePadding>\n <button [attr.aria-label]=\"'toggle ' + node.filename\" mat-icon-button matTreeNodeToggle type=\"button\">\n <mat-icon class=\"mat-icon-rtl-mirror\">\n {{ treeControl.isExpanded(node) ? 'expand_more' : 'chevron_right' }}\n </mat-icon>\n </button>\n <div class=\"flex flex-row justify-start items-center gap-2\">\n <ng-container *ngIf=\"node.icon?.length else withoutIcon\">\n <mat-icon *ngFor=\"let icon of node.icon\" [rxapIcon]=\"$any(icon)\"></mat-icon>\n </ng-container>\n <ng-template #withoutIcon>\n <div></div>\n </ng-template>\n <ng-template [ngIfElse]=\"withoutDetails\" [ngIf]=\"node.hasDetails\">\n <button\n (click)=\"node.select()\"\n [color]=\"node.selected ? 'primary' : undefined\"\n [ngStyle]=\"node.style\"\n class=\"grow-0 truncate\"\n mat-button\n type=\"button\"\n >\n {{ node.display }}\n </button>\n </ng-template>\n <ng-template #withoutDetails>\n <span\n (change)=\"onContentEditableChange($event, node)\"\n [disabled]=\"!nodeDisplayEditable\"\n [ngStyle]=\"node.style\"\n class=\"grow-0 truncate\"\n rxapContenteditable>\n {{ node.display }}\n </span>\n </ng-template>\n <mat-progress-spinner\n *ngIf=\"node.isLoading$ | async\"\n [diameter]=\"16\"\n class=\"grow-0 pl-4\"\n mode=\"indeterminate\"\n ></mat-progress-spinner>\n </div>\n </mat-tree-node>\n\n </mat-tree>\n </div>\n\n <div (mousedown)=\"onMousedown()\" *ngIf=\"showTreeNavigation()\"\n class=\"divider cursor-ew-resize px-3 grow-0\">\n <mat-divider [vertical]=\"true\" class=\"h-full\"></mat-divider>\n </div>\n\n <div class=\"grow\">\n <ng-container *ngIf=\"portal\">\n <ng-template [cdkPortalOutlet]=\"portal\"></ng-template>\n </ng-container>\n <ng-content></ng-content>\n </div>\n </div>\n</div>\n\n<ng-template #loading>Load data source</ng-template>\n", styles: [""], dependencies: [{ kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: MatProgressBarModule }, { kind: "component", type: i1.MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "value", "bufferValue", "mode"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }, { kind: "ngmodule", type: MatTreeModule }, { kind: "directive", type: i2.MatTreeNodeDef, selector: "[matTreeNodeDef]", inputs: ["matTreeNodeDefWhen", "matTreeNode"] }, { kind: "directive", type: i2.MatTreeNodePadding, selector: "[matTreeNodePadding]", inputs: ["matTreeNodePadding", "matTreeNodePaddingIndent"] }, { kind: "directive", type: i2.MatTreeNodeToggle, selector: "[matTreeNodeToggle]", inputs: ["matTreeNodeToggleRecursive"] }, { kind: "component", type: i2.MatTree, selector: "mat-tree", exportAs: ["matTree"] }, { kind: "directive", type: i2.MatTreeNode, selector: "mat-tree-node", inputs: ["tabIndex", "disabled"], outputs: ["activation", "expandedChange"], exportAs: ["matTreeNode"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: IconDirective, selector: "mat-icon[rxapIcon]", inputs: ["rxapIcon"] }, { kind: "ngmodule", type: MatCheckboxModule }, { kind: "component", type: i4.MatCheckbox, selector: "mat-checkbox", inputs: ["aria-label", "aria-labelledby", "aria-describedby", "aria-expanded", "aria-controls", "aria-owns", "id", "required", "labelPosition", "name", "value", "disableRipple", "tabIndex", "color", "disabledInteractive", "checked", "disabled", "indeterminate"], outputs: ["change", "indeterminateChange"], exportAs: ["matCheckbox"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i5.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "component", type: i5.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "directive", type: ContenteditableDirective, selector: "[rxapContenteditable]", inputs: ["rxapContenteditable", "disabled"], outputs: ["change"] }, { kind: "ngmodule", type: MatProgressSpinnerModule }, { kind: "component", type: i6.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }, { kind: "ngmodule", type: MatDividerModule }, { kind: "component", type: i7.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }, { kind: "ngmodule", type: PortalModule }, { kind: "directive", type: i8.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
739
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: TreeComponent, deps: [{ token: ViewContainerRef }, { token: ChangeDetectorRef }, { token: RXAP_TREE_CONTENT_EDITABLE_METHOD, optional: true }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: RXAP_FORM_DEFINITION, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
740
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: TreeComponent, isStandalone: true, selector: "rxap-tree", inputs: { dataSource: "dataSource", contentEditableMethod: "contentEditableMethod", toDisplay: "toDisplay", getIcon: "getIcon", getType: "getType", getStyle: "getStyle", multiple: "multiple", hasDetails: "hasDetails", hideLeafIcon: "hideLeafIcon", id: "id", dividerOffset: "dividerOffset" }, outputs: { details: "details" }, host: { listeners: { "mouseup": "onMouseup()", "mousemove": "onMousemove($event)" } }, queries: [{ propertyName: "content", first: true, predicate: TreeContentDirective, descendants: true, static: true }], viewQueries: [{ propertyName: "treeContainer", first: true, predicate: ["treeContainer"], descendants: true, static: true }], ngImport: i0, template: "<div class=\"grow flex flex-col gap-2 justify-start items-start\">\n <button (click)=\"toggleTreeNavigation()\" class=\"!justify-start\" mat-button type=\"button\">\n <span class=\"flex flex-row justify-start items-center gap-6\">\n @if (showTreeNavigation()) {\n <mat-icon>arrow_back</mat-icon>\n <span i18n>Hide tree navigation</span>\n }\n @if (!showTreeNavigation()) {\n <mat-icon>arrow_forward</mat-icon>\n <span i18n>Show tree navigation</span>\n }\n </span>\n </button>\n <div class=\"flex flex-row grow w-full\">\n <div #treeContainer [ngClass]=\"{ 'hidden': !showTreeNavigation() }\"\n [ngStyle]=\"{ maxWidth: dividerOffset, minWidth: dividerOffset, flexBasis: dividerOffset }\"\n class=\"w-fit grow-0 overflow-y-auto\">\n @if (!dataSource || (dataSource.loading$ | async)) {\n <mat-progress-bar mode=\"indeterminate\"></mat-progress-bar>\n }\n <ng-content select=\"[searchHeader]\"></ng-content>\n @if (dataSource) {\n <mat-tree [dataSource]=\"dataSource\" [treeControl]=\"treeControl\">\n <!-- Node without children -->\n <mat-tree-node *matTreeNodeDef=\"let node\" matTreeNodePadding>\n <div class=\"flex flex-row justify-start items-center gap-2\">\n <mat-icon [ngClass]=\"{ 'hidden': hideLeafIcon }\">subdirectory_arrow_right</mat-icon>\n @if (node.icon?.length) {\n @for (icon of node.icon; track icon) {\n <mat-icon [rxapIcon]=\"$any(icon)\"></mat-icon>\n }\n }\n @if (multiple) {\n <mat-checkbox\n (change)=\"node.toggleSelect()\"\n [checked]=\"node.selected\"\n [disabled]=\"!node.hasDetails\"\n [ngStyle]=\"node.style\"\n class=\"grow-0 truncate\">\n {{ node.display }}\n </mat-checkbox>\n }\n @if (!multiple) {\n <button\n (click)=\"node.select()\"\n [color]=\"node.selected ? 'primary' : undefined\"\n [disabled]=\"!node.hasDetails\"\n [ngStyle]=\"node.style\"\n class=\"grow-0 truncate\"\n mat-button\n type=\"button\"\n >\n {{ node.display }}\n </button>\n }\n </div>\n </mat-tree-node>\n <!-- Node with children -->\n <mat-tree-node *matTreeNodeDef=\"let node; when: hasChild\" matTreeNodePadding>\n <button [attr.aria-label]=\"'toggle ' + node.filename\" mat-icon-button matTreeNodeToggle type=\"button\">\n <mat-icon class=\"mat-icon-rtl-mirror\">\n {{ treeControl.isExpanded(node) ? 'expand_more' : 'chevron_right' }}\n </mat-icon>\n </button>\n <div class=\"flex flex-row justify-start items-center gap-2\">\n @if (node.icon?.length) {\n @for (icon of node.icon; track icon) {\n <mat-icon [rxapIcon]=\"$any(icon)\"></mat-icon>\n }\n } @else {\n <div></div>\n }\n @if (node.hasDetails) {\n <button\n (click)=\"node.select()\"\n [color]=\"node.selected ? 'primary' : undefined\"\n [ngStyle]=\"node.style\"\n class=\"grow-0 truncate\"\n mat-button\n type=\"button\"\n >\n {{ node.display }}\n </button>\n } @else {\n <span\n (change)=\"onContentEditableChange($event, node)\"\n [disabled]=\"!nodeDisplayEditable\"\n [ngStyle]=\"node.style\"\n class=\"grow-0 truncate\"\n rxapContenteditable>\n {{ node.display }}\n </span>\n }\n @if (node.isLoading$ | async) {\n <mat-progress-spinner\n [diameter]=\"16\"\n class=\"grow-0 pl-4\"\n mode=\"indeterminate\"\n ></mat-progress-spinner>\n }\n </div>\n </mat-tree-node>\n </mat-tree>\n } @else {\n Load data source\n }\n </div>\n\n @if (showTreeNavigation()) {\n <div (mousedown)=\"onMousedown()\"\n class=\"divider cursor-ew-resize px-3 grow-0\">\n <mat-divider [vertical]=\"true\" class=\"h-full\"></mat-divider>\n </div>\n }\n\n <div class=\"grow\">\n @if (portal) {\n <ng-template [cdkPortalOutlet]=\"portal\"></ng-template>\n }\n <ng-content></ng-content>\n </div>\n </div>\n</div>\n\n", styles: [""], dependencies: [{ kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: MatProgressBarModule }, { kind: "component", type: i1.MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "value", "bufferValue", "mode"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }, { kind: "ngmodule", type: MatTreeModule }, { kind: "directive", type: i2.MatTreeNodeDef, selector: "[matTreeNodeDef]", inputs: ["matTreeNodeDefWhen", "matTreeNode"] }, { kind: "directive", type: i2.MatTreeNodePadding, selector: "[matTreeNodePadding]", inputs: ["matTreeNodePadding", "matTreeNodePaddingIndent"] }, { kind: "directive", type: i2.MatTreeNodeToggle, selector: "[matTreeNodeToggle]", inputs: ["matTreeNodeToggleRecursive"] }, { kind: "component", type: i2.MatTree, selector: "mat-tree", exportAs: ["matTree"] }, { kind: "directive", type: i2.MatTreeNode, selector: "mat-tree-node", inputs: ["tabIndex", "disabled"], outputs: ["activation", "expandedChange"], exportAs: ["matTreeNode"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: IconDirective, selector: "mat-icon[rxapIcon]", inputs: ["rxapIcon"] }, { kind: "ngmodule", type: MatCheckboxModule }, { kind: "component", type: i4.MatCheckbox, selector: "mat-checkbox", inputs: ["aria-label", "aria-labelledby", "aria-describedby", "aria-expanded", "aria-controls", "aria-owns", "id", "required", "labelPosition", "name", "value", "disableRipple", "tabIndex", "color", "disabledInteractive", "checked", "disabled", "indeterminate"], outputs: ["change", "indeterminateChange"], exportAs: ["matCheckbox"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i5.MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i5.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "directive", type: ContenteditableDirective, selector: "[rxapContenteditable]", inputs: ["rxapContenteditable", "disabled"], outputs: ["change"] }, { kind: "ngmodule", type: MatProgressSpinnerModule }, { kind: "component", type: i6.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }, { kind: "ngmodule", type: MatDividerModule }, { kind: "component", type: i7.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }, { kind: "ngmodule", type: PortalModule }, { kind: "directive", type: i8.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
741
741
  }
742
742
  __decorate([
743
743
  DebounceCall(100),
@@ -745,11 +745,10 @@ __decorate([
745
745
  __metadata("design:paramtypes", [Node]),
746
746
  __metadata("design:returntype", void 0)
747
747
  ], TreeComponent.prototype, "openDetails", null);
748
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: TreeComponent, decorators: [{
748
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: TreeComponent, decorators: [{
749
749
  type: Component,
750
750
  args: [{ selector: 'rxap-tree', changeDetection: ChangeDetectionStrategy.OnPush, imports: [
751
751
  NgStyle,
752
- NgIf,
753
752
  MatProgressBarModule,
754
753
  MatTreeModule,
755
754
  MatIconModule,
@@ -761,9 +760,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImpo
761
760
  MatDividerModule,
762
761
  PortalModule,
763
762
  AsyncPipe,
764
- NgClass,
765
- NgForOf,
766
- ], template: "<div class=\"grow flex flex-col gap-2 justify-start items-start\">\n <button (click)=\"toggleTreeNavigation()\" class=\"!justify-start\" mat-button type=\"button\">\n <span class=\"flex flex-row justify-start items-center gap-6\">\n <ng-template [ngIf]=\"showTreeNavigation()\">\n <mat-icon>arrow_back</mat-icon>\n <span i18n>Hide tree navigation</span>\n </ng-template>\n <ng-template [ngIf]=\"!showTreeNavigation()\">\n <mat-icon>arrow_forward</mat-icon>\n <span i18n>Show tree navigation</span>\n </ng-template>\n </span>\n </button>\n <div class=\"flex flex-row grow w-full\">\n <div #treeContainer [ngClass]=\"{ 'hidden': !showTreeNavigation() }\"\n [ngStyle]=\"{ maxWidth: dividerOffset, minWidth: dividerOffset, flexBasis: dividerOffset }\"\n class=\"w-fit grow-0 overflow-y-auto\">\n <mat-progress-bar *ngIf=\"!dataSource || (dataSource.loading$ | async)\" mode=\"indeterminate\"></mat-progress-bar>\n <ng-content select=\"[searchHeader]\"></ng-content>\n <mat-tree *ngIf=\"dataSource; else loading\" [dataSource]=\"dataSource\" [treeControl]=\"treeControl\">\n\n <!-- Node without children -->\n <mat-tree-node *matTreeNodeDef=\"let node\" matTreeNodePadding>\n <div class=\"flex flex-row justify-start items-center gap-2\">\n <mat-icon [ngClass]=\"{ 'hidden': hideLeafIcon }\">subdirectory_arrow_right</mat-icon>\n <ng-container *ngIf=\"node.icon?.length\">\n <mat-icon *ngFor=\"let icon of node.icon\" [rxapIcon]=\"$any(icon)\"></mat-icon>\n </ng-container>\n <ng-template [ngIf]=\"multiple\">\n <mat-checkbox\n (change)=\"node.toggleSelect()\"\n [checked]=\"node.selected\"\n [disabled]=\"!node.hasDetails\"\n [ngStyle]=\"node.style\"\n class=\"grow-0 truncate\">\n {{ node.display }}\n </mat-checkbox>\n </ng-template>\n <ng-template [ngIf]=\"!multiple\">\n <button\n (click)=\"node.select()\"\n [color]=\"node.selected ? 'primary' : undefined\"\n [disabled]=\"!node.hasDetails\"\n [ngStyle]=\"node.style\"\n class=\"grow-0 truncate\"\n mat-button\n type=\"button\"\n >\n {{ node.display }}\n </button>\n </ng-template>\n </div>\n </mat-tree-node>\n\n <!-- Node with children -->\n <mat-tree-node *matTreeNodeDef=\"let node; when: hasChild\" matTreeNodePadding>\n <button [attr.aria-label]=\"'toggle ' + node.filename\" mat-icon-button matTreeNodeToggle type=\"button\">\n <mat-icon class=\"mat-icon-rtl-mirror\">\n {{ treeControl.isExpanded(node) ? 'expand_more' : 'chevron_right' }}\n </mat-icon>\n </button>\n <div class=\"flex flex-row justify-start items-center gap-2\">\n <ng-container *ngIf=\"node.icon?.length else withoutIcon\">\n <mat-icon *ngFor=\"let icon of node.icon\" [rxapIcon]=\"$any(icon)\"></mat-icon>\n </ng-container>\n <ng-template #withoutIcon>\n <div></div>\n </ng-template>\n <ng-template [ngIfElse]=\"withoutDetails\" [ngIf]=\"node.hasDetails\">\n <button\n (click)=\"node.select()\"\n [color]=\"node.selected ? 'primary' : undefined\"\n [ngStyle]=\"node.style\"\n class=\"grow-0 truncate\"\n mat-button\n type=\"button\"\n >\n {{ node.display }}\n </button>\n </ng-template>\n <ng-template #withoutDetails>\n <span\n (change)=\"onContentEditableChange($event, node)\"\n [disabled]=\"!nodeDisplayEditable\"\n [ngStyle]=\"node.style\"\n class=\"grow-0 truncate\"\n rxapContenteditable>\n {{ node.display }}\n </span>\n </ng-template>\n <mat-progress-spinner\n *ngIf=\"node.isLoading$ | async\"\n [diameter]=\"16\"\n class=\"grow-0 pl-4\"\n mode=\"indeterminate\"\n ></mat-progress-spinner>\n </div>\n </mat-tree-node>\n\n </mat-tree>\n </div>\n\n <div (mousedown)=\"onMousedown()\" *ngIf=\"showTreeNavigation()\"\n class=\"divider cursor-ew-resize px-3 grow-0\">\n <mat-divider [vertical]=\"true\" class=\"h-full\"></mat-divider>\n </div>\n\n <div class=\"grow\">\n <ng-container *ngIf=\"portal\">\n <ng-template [cdkPortalOutlet]=\"portal\"></ng-template>\n </ng-container>\n <ng-content></ng-content>\n </div>\n </div>\n</div>\n\n<ng-template #loading>Load data source</ng-template>\n" }]
763
+ NgClass
764
+ ], template: "<div class=\"grow flex flex-col gap-2 justify-start items-start\">\n <button (click)=\"toggleTreeNavigation()\" class=\"!justify-start\" mat-button type=\"button\">\n <span class=\"flex flex-row justify-start items-center gap-6\">\n @if (showTreeNavigation()) {\n <mat-icon>arrow_back</mat-icon>\n <span i18n>Hide tree navigation</span>\n }\n @if (!showTreeNavigation()) {\n <mat-icon>arrow_forward</mat-icon>\n <span i18n>Show tree navigation</span>\n }\n </span>\n </button>\n <div class=\"flex flex-row grow w-full\">\n <div #treeContainer [ngClass]=\"{ 'hidden': !showTreeNavigation() }\"\n [ngStyle]=\"{ maxWidth: dividerOffset, minWidth: dividerOffset, flexBasis: dividerOffset }\"\n class=\"w-fit grow-0 overflow-y-auto\">\n @if (!dataSource || (dataSource.loading$ | async)) {\n <mat-progress-bar mode=\"indeterminate\"></mat-progress-bar>\n }\n <ng-content select=\"[searchHeader]\"></ng-content>\n @if (dataSource) {\n <mat-tree [dataSource]=\"dataSource\" [treeControl]=\"treeControl\">\n <!-- Node without children -->\n <mat-tree-node *matTreeNodeDef=\"let node\" matTreeNodePadding>\n <div class=\"flex flex-row justify-start items-center gap-2\">\n <mat-icon [ngClass]=\"{ 'hidden': hideLeafIcon }\">subdirectory_arrow_right</mat-icon>\n @if (node.icon?.length) {\n @for (icon of node.icon; track icon) {\n <mat-icon [rxapIcon]=\"$any(icon)\"></mat-icon>\n }\n }\n @if (multiple) {\n <mat-checkbox\n (change)=\"node.toggleSelect()\"\n [checked]=\"node.selected\"\n [disabled]=\"!node.hasDetails\"\n [ngStyle]=\"node.style\"\n class=\"grow-0 truncate\">\n {{ node.display }}\n </mat-checkbox>\n }\n @if (!multiple) {\n <button\n (click)=\"node.select()\"\n [color]=\"node.selected ? 'primary' : undefined\"\n [disabled]=\"!node.hasDetails\"\n [ngStyle]=\"node.style\"\n class=\"grow-0 truncate\"\n mat-button\n type=\"button\"\n >\n {{ node.display }}\n </button>\n }\n </div>\n </mat-tree-node>\n <!-- Node with children -->\n <mat-tree-node *matTreeNodeDef=\"let node; when: hasChild\" matTreeNodePadding>\n <button [attr.aria-label]=\"'toggle ' + node.filename\" mat-icon-button matTreeNodeToggle type=\"button\">\n <mat-icon class=\"mat-icon-rtl-mirror\">\n {{ treeControl.isExpanded(node) ? 'expand_more' : 'chevron_right' }}\n </mat-icon>\n </button>\n <div class=\"flex flex-row justify-start items-center gap-2\">\n @if (node.icon?.length) {\n @for (icon of node.icon; track icon) {\n <mat-icon [rxapIcon]=\"$any(icon)\"></mat-icon>\n }\n } @else {\n <div></div>\n }\n @if (node.hasDetails) {\n <button\n (click)=\"node.select()\"\n [color]=\"node.selected ? 'primary' : undefined\"\n [ngStyle]=\"node.style\"\n class=\"grow-0 truncate\"\n mat-button\n type=\"button\"\n >\n {{ node.display }}\n </button>\n } @else {\n <span\n (change)=\"onContentEditableChange($event, node)\"\n [disabled]=\"!nodeDisplayEditable\"\n [ngStyle]=\"node.style\"\n class=\"grow-0 truncate\"\n rxapContenteditable>\n {{ node.display }}\n </span>\n }\n @if (node.isLoading$ | async) {\n <mat-progress-spinner\n [diameter]=\"16\"\n class=\"grow-0 pl-4\"\n mode=\"indeterminate\"\n ></mat-progress-spinner>\n }\n </div>\n </mat-tree-node>\n </mat-tree>\n } @else {\n Load data source\n }\n </div>\n\n @if (showTreeNavigation()) {\n <div (mousedown)=\"onMousedown()\"\n class=\"divider cursor-ew-resize px-3 grow-0\">\n <mat-divider [vertical]=\"true\" class=\"h-full\"></mat-divider>\n </div>\n }\n\n <div class=\"grow\">\n @if (portal) {\n <ng-template [cdkPortalOutlet]=\"portal\"></ng-template>\n }\n <ng-content></ng-content>\n </div>\n </div>\n</div>\n\n" }]
767
765
  }], ctorParameters: () => [{ type: i0.ViewContainerRef, decorators: [{
768
766
  type: Inject,
769
767
  args: [ViewContainerRef]