@rxap/tree 19.0.4-dev.0 → 19.1.0-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.
- package/CHANGELOG.md +42 -0
- package/compodoc/changelog.html +39 -0
- package/compodoc/dependencies.html +8 -8
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/properties.html +1 -1
- package/docs/documentation.json +238 -238
- package/docs/html/assets/hierarchy.js +1 -1
- package/docs/html/assets/navigation.js +1 -1
- package/docs/html/assets/search.js +1 -1
- package/docs/html/classes/DefaultTreeApplyFilterMethod.html +2 -2
- package/docs/html/classes/SearchForm.html +2 -2
- package/docs/html/classes/TreeComponent.html +4 -4
- package/docs/html/classes/TreeContentDirective.html +2 -2
- package/docs/html/classes/TreeDataSource.html +16 -16
- package/docs/html/functions/FormFactory.html +1 -1
- package/docs/html/functions/flatTree.html +1 -1
- package/docs/html/functions/isSelectionChange.html +1 -1
- package/docs/html/index.html +2 -2
- package/docs/html/interfaces/ISearchForm.html +2 -2
- package/docs/html/interfaces/TreeApplyFilterParameter.html +2 -2
- package/docs/html/interfaces/TreeDataSourceMetadata.html +3 -3
- package/docs/html/modules.html +1 -1
- package/docs/html/variables/RXAP_TREE_CONTENT_EDITABLE_METHOD.html +1 -1
- package/docs/html/variables/RXAP_TREE_DATA_SOURCE_APPLY_FILTER_METHOD.html +1 -1
- package/docs/html/variables/RXAP_TREE_DATA_SOURCE_CHILDREN_REMOTE_METHOD.html +1 -1
- package/docs/html/variables/RXAP_TREE_DATA_SOURCE_ROOT_REMOTE_METHOD.html +1 -1
- package/docs/html/variables/SearchFormProviders.html +1 -1
- package/docs/markdown/README.md +1 -1
- package/docs/markdown/classes/DefaultTreeApplyFilterMethod.md +5 -5
- package/docs/markdown/classes/SearchForm.md +5 -5
- package/docs/markdown/classes/TreeComponent.md +34 -34
- package/docs/markdown/classes/TreeContentDirective.md +4 -4
- package/docs/markdown/classes/TreeDataSource.md +87 -87
- package/docs/markdown/functions/FormFactory.md +2 -2
- package/docs/markdown/functions/flatTree.md +2 -2
- package/docs/markdown/functions/isSelectionChange.md +2 -2
- package/docs/markdown/globals.md +2 -2
- package/docs/markdown/interfaces/ISearchForm.md +4 -4
- package/docs/markdown/interfaces/TreeApplyFilterParameter.md +5 -5
- package/docs/markdown/interfaces/TreeDataSourceMetadata.md +8 -8
- package/docs/markdown/variables/RXAP_TREE_CONTENT_EDITABLE_METHOD.md +2 -2
- package/docs/markdown/variables/RXAP_TREE_DATA_SOURCE_APPLY_FILTER_METHOD.md +2 -2
- package/docs/markdown/variables/RXAP_TREE_DATA_SOURCE_CHILDREN_REMOTE_METHOD.md +2 -2
- package/docs/markdown/variables/RXAP_TREE_DATA_SOURCE_ROOT_REMOTE_METHOD.md +2 -2
- package/docs/markdown/variables/SearchFormProviders.md +2 -2
- package/docs/wiki/Class.DefaultTreeApplyFilterMethod.md +4 -4
- package/docs/wiki/Class.SearchForm.md +4 -4
- package/docs/wiki/Class.TreeComponent.md +33 -33
- package/docs/wiki/Class.TreeContentDirective.md +3 -3
- package/docs/wiki/Class.TreeDataSource.md +86 -86
- package/docs/wiki/Function.FormFactory.md +1 -1
- package/docs/wiki/Function.flatTree.md +1 -1
- package/docs/wiki/Function.isSelectionChange.md +1 -1
- package/docs/wiki/Interface.ISearchForm.md +3 -3
- package/docs/wiki/Interface.TreeApplyFilterParameter.md +4 -4
- package/docs/wiki/Interface.TreeDataSourceMetadata.md +7 -7
- package/docs/wiki/Variable.RXAP_TREE_CONTENT_EDITABLE_METHOD.md +1 -1
- package/docs/wiki/Variable.RXAP_TREE_DATA_SOURCE_APPLY_FILTER_METHOD.md +1 -1
- package/docs/wiki/Variable.RXAP_TREE_DATA_SOURCE_CHILDREN_REMOTE_METHOD.md +1 -1
- package/docs/wiki/Variable.RXAP_TREE_DATA_SOURCE_ROOT_REMOTE_METHOD.md +1 -1
- package/docs/wiki/Variable.SearchFormProviders.md +1 -1
- package/docs/wiki/globals.md +1 -1
- package/fesm2022/rxap-tree.mjs +15 -15
- package/fesm2022/rxap-tree.mjs.map +1 -1
- package/package.json +32 -37
|
@@ -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/
|
|
7
|
+
Defined in: [tree/src/lib/search.form.ts:42](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/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/
|
|
7
|
+
Defined in: [tree/src/lib/tree.data-source.ts:86](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/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/
|
|
7
|
+
Defined in: [tree/src/lib/tree.data-source.ts:62](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/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/
|
|
5
|
+
Defined in: [tree/src/lib/search.form.ts:20](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/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/
|
|
17
|
+
Defined in: [tree/src/lib/search.form.ts:22](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/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/
|
|
25
|
+
Defined in: [tree/src/lib/search.form.ts:21](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/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/
|
|
5
|
+
Defined in: [tree/src/lib/tree.data-source.ts:119](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/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/
|
|
19
|
+
Defined in: [tree/src/lib/tree.data-source.ts:121](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/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/
|
|
27
|
+
Defined in: [tree/src/lib/tree.data-source.ts:122](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/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/
|
|
35
|
+
Defined in: [tree/src/lib/tree.data-source.ts:120](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/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/
|
|
5
|
+
Defined in: [tree/src/lib/tree.data-source.ts:66](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/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/
|
|
21
|
+
Defined in: [tree/src/lib/tree.data-source.ts:73](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/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/
|
|
31
|
+
Defined in: [tree/src/lib/tree.data-source.ts:68](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/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/
|
|
39
|
+
Defined in: [definition/src/lib/definition.metadata.ts:9](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/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/
|
|
51
|
+
Defined in: [data-source/src/lib/base.data-source.ts:58](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/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/
|
|
65
|
+
Defined in: [tree/src/lib/tree.data-source.ts:69](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/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/
|
|
73
|
+
Defined in: [tree/src/lib/tree.data-source.ts:67](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/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/
|
|
7
|
+
Defined in: [tree/src/lib/tokens.ts:3](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/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/
|
|
7
|
+
Defined in: [tree/src/lib/tree.data-source.ts:83](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/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/
|
|
7
|
+
Defined in: [tree/src/lib/tree.data-source.ts:79](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/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/
|
|
7
|
+
Defined in: [tree/src/lib/tree.data-source.ts:76](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/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/
|
|
7
|
+
Defined in: [tree/src/lib/search.form.ts:56](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/tree/src/lib/search.form.ts#L56)
|
package/docs/wiki/globals.md
CHANGED
package/fesm2022/rxap-tree.mjs
CHANGED
|
@@ -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.
|
|
35
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
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 }); }
|
|
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.
|
|
51
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", 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.
|
|
80
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.
|
|
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 }); }
|
|
81
81
|
}
|
|
82
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
82
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", 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.
|
|
218
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
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 }); }
|
|
219
219
|
}
|
|
220
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
220
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", 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.
|
|
605
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
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 }); }
|
|
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.
|
|
615
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: TreeDataSource, decorators: [{
|
|
616
616
|
type: Injectable
|
|
617
617
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
618
618
|
type: Inject,
|
|
@@ -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.
|
|
740
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.
|
|
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 }); }
|
|
741
741
|
}
|
|
742
742
|
__decorate([
|
|
743
743
|
DebounceCall(100),
|
|
@@ -745,7 +745,7 @@ __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.
|
|
748
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: TreeComponent, decorators: [{
|
|
749
749
|
type: Component,
|
|
750
750
|
args: [{ selector: 'rxap-tree', changeDetection: ChangeDetectionStrategy.OnPush, imports: [
|
|
751
751
|
NgStyle,
|