@rxap/tree 19.0.3 → 19.0.4
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 +8 -0
- package/compodoc/changelog.html +4 -0
- package/compodoc/dependencies.html +11 -11
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/properties.html +1 -1
- package/docs/documentation.json +234 -234
- 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/package.json +36 -40
|
@@ -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/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/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/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/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/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/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/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/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/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/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/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/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/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/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/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/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/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/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/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/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/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/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/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/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/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/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/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/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/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/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/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/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/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/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/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/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/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/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/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/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/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/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/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/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.1
|
|
35
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1
|
|
34
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: SearchForm, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
35
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.1", 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.1
|
|
51
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", 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.1
|
|
80
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.1
|
|
79
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: TreeContentDirective, deps: [{ token: TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
80
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.1", type: TreeContentDirective, isStandalone: true, selector: "ng-template[rxapTreeContent]", ngImport: i0 }); }
|
|
81
81
|
}
|
|
82
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1
|
|
82
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", 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.1
|
|
218
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1
|
|
217
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: DefaultTreeApplyFilterMethod, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
218
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: DefaultTreeApplyFilterMethod }); }
|
|
219
219
|
}
|
|
220
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1
|
|
220
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", 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.1
|
|
605
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1
|
|
604
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.1", 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.1", 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.1
|
|
615
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", 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.1
|
|
740
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1
|
|
739
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.1", 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.1", 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.1
|
|
748
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: TreeComponent, decorators: [{
|
|
749
749
|
type: Component,
|
|
750
750
|
args: [{ selector: 'rxap-tree', changeDetection: ChangeDetectionStrategy.OnPush, imports: [
|
|
751
751
|
NgStyle,
|
package/package.json
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "19.0.
|
|
2
|
+
"version": "19.0.4",
|
|
3
3
|
"name": "@rxap/tree",
|
|
4
4
|
"description": "This package provides a tree component and data source for Angular applications. It includes features such as searching, filtering, and displaying hierarchical data. The package also offers directives for customizing the content of tree nodes.\n",
|
|
5
5
|
"license": "GPL-3.0-or-later",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@nx/devkit": "20.
|
|
7
|
+
"@nx/devkit": "20.5.0",
|
|
8
8
|
"tslib": "2.6.2"
|
|
9
9
|
},
|
|
10
10
|
"peerDependencies": {
|
|
11
11
|
"@angular/cdk": "^19.1.1",
|
|
12
|
-
"@angular/common": "^19.1
|
|
13
|
-
"@angular/core": "^19.1
|
|
12
|
+
"@angular/common": "^19.2.1",
|
|
13
|
+
"@angular/core": "^19.2.1",
|
|
14
14
|
"@angular/material": "^19.1.1",
|
|
15
|
-
"@rxap/contenteditable": "^19.0.
|
|
16
|
-
"@rxap/data-source": "^19.0
|
|
17
|
-
"@rxap/data-structure-tree": "^1.1.
|
|
18
|
-
"@rxap/forms": "^19.0.
|
|
19
|
-
"@rxap/material-directives": "^19.0.
|
|
20
|
-
"@rxap/pattern": "^1.1.
|
|
21
|
-
"@rxap/rxjs": "^1.1.
|
|
22
|
-
"@rxap/utilities": "^16.4.
|
|
15
|
+
"@rxap/contenteditable": "^19.0.4-dev.0",
|
|
16
|
+
"@rxap/data-source": "^19.1.0-dev.2",
|
|
17
|
+
"@rxap/data-structure-tree": "^1.1.16-dev.0",
|
|
18
|
+
"@rxap/forms": "^19.0.4-dev.2",
|
|
19
|
+
"@rxap/material-directives": "^19.0.4-dev.0",
|
|
20
|
+
"@rxap/pattern": "^1.1.14-dev.0",
|
|
21
|
+
"@rxap/rxjs": "^1.1.16-dev.0",
|
|
22
|
+
"@rxap/utilities": "^16.4.4-dev.0",
|
|
23
23
|
"rxjs": "^7.8.1"
|
|
24
24
|
},
|
|
25
25
|
"author": {
|
|
@@ -43,101 +43,97 @@
|
|
|
43
43
|
],
|
|
44
44
|
"nx-migrations": {
|
|
45
45
|
"packageGroup": [
|
|
46
|
-
{
|
|
47
|
-
"package": "@angular/animations",
|
|
48
|
-
"version": "19.1.3"
|
|
49
|
-
},
|
|
50
46
|
{
|
|
51
47
|
"package": "@angular/cdk",
|
|
52
|
-
"version": "19.
|
|
48
|
+
"version": "19.2.2"
|
|
53
49
|
},
|
|
54
50
|
{
|
|
55
51
|
"package": "@angular/common",
|
|
56
|
-
"version": "19.1
|
|
52
|
+
"version": "19.2.1"
|
|
57
53
|
},
|
|
58
54
|
{
|
|
59
55
|
"package": "@angular/core",
|
|
60
|
-
"version": "19.1
|
|
56
|
+
"version": "19.2.1"
|
|
61
57
|
},
|
|
62
58
|
{
|
|
63
59
|
"package": "@angular/forms",
|
|
64
|
-
"version": "19.1
|
|
60
|
+
"version": "19.2.1"
|
|
65
61
|
},
|
|
66
62
|
{
|
|
67
63
|
"package": "@angular/material",
|
|
68
|
-
"version": "19.
|
|
64
|
+
"version": "19.2.2"
|
|
69
65
|
},
|
|
70
66
|
{
|
|
71
67
|
"package": "@angular/platform-browser",
|
|
72
|
-
"version": "19.1
|
|
68
|
+
"version": "19.2.1"
|
|
73
69
|
},
|
|
74
70
|
{
|
|
75
71
|
"package": "@angular/router",
|
|
76
|
-
"version": "19.1
|
|
72
|
+
"version": "19.2.1"
|
|
77
73
|
},
|
|
78
74
|
{
|
|
79
75
|
"package": "@rxap/browser-utilities",
|
|
80
|
-
"version": "1.1.
|
|
76
|
+
"version": "1.1.13-dev.0"
|
|
81
77
|
},
|
|
82
78
|
{
|
|
83
79
|
"package": "@rxap/contenteditable",
|
|
84
|
-
"version": "19.0.
|
|
80
|
+
"version": "19.0.4-dev.0"
|
|
85
81
|
},
|
|
86
82
|
{
|
|
87
83
|
"package": "@rxap/data-source",
|
|
88
|
-
"version": "19.0
|
|
84
|
+
"version": "19.1.0-dev.2"
|
|
89
85
|
},
|
|
90
86
|
{
|
|
91
87
|
"package": "@rxap/data-structure-tree",
|
|
92
|
-
"version": "1.1.
|
|
88
|
+
"version": "1.1.16-dev.0"
|
|
93
89
|
},
|
|
94
90
|
{
|
|
95
91
|
"package": "@rxap/definition",
|
|
96
|
-
"version": "19.0.
|
|
92
|
+
"version": "19.0.4-dev.0"
|
|
97
93
|
},
|
|
98
94
|
{
|
|
99
95
|
"package": "@rxap/directives",
|
|
100
|
-
"version": "19.0.
|
|
96
|
+
"version": "19.0.4-dev.0"
|
|
101
97
|
},
|
|
102
98
|
{
|
|
103
99
|
"package": "@rxap/environment",
|
|
104
|
-
"version": "19.0.
|
|
100
|
+
"version": "19.0.4-dev.1"
|
|
105
101
|
},
|
|
106
102
|
{
|
|
107
103
|
"package": "@rxap/forms",
|
|
108
|
-
"version": "19.0.
|
|
104
|
+
"version": "19.0.4-dev.2"
|
|
109
105
|
},
|
|
110
106
|
{
|
|
111
107
|
"package": "@rxap/material-directives",
|
|
112
|
-
"version": "19.0.
|
|
108
|
+
"version": "19.0.4-dev.0"
|
|
113
109
|
},
|
|
114
110
|
{
|
|
115
111
|
"package": "@rxap/ngx-memory",
|
|
116
|
-
"version": "19.0.
|
|
112
|
+
"version": "19.0.4-dev.0"
|
|
117
113
|
},
|
|
118
114
|
{
|
|
119
115
|
"package": "@rxap/pattern",
|
|
120
|
-
"version": "1.1.
|
|
116
|
+
"version": "1.1.14-dev.0"
|
|
121
117
|
},
|
|
122
118
|
{
|
|
123
119
|
"package": "@rxap/reflect-metadata",
|
|
124
|
-
"version": "1.0.
|
|
120
|
+
"version": "1.0.15-dev.0"
|
|
125
121
|
},
|
|
126
122
|
{
|
|
127
123
|
"package": "@rxap/rxjs",
|
|
128
|
-
"version": "1.1.
|
|
124
|
+
"version": "1.1.16-dev.0"
|
|
129
125
|
},
|
|
130
126
|
{
|
|
131
127
|
"package": "@rxap/services",
|
|
132
|
-
"version": "19.0.
|
|
128
|
+
"version": "19.0.4-dev.0"
|
|
133
129
|
},
|
|
134
130
|
{
|
|
135
131
|
"package": "@rxap/utilities",
|
|
136
|
-
"version": "16.4.
|
|
132
|
+
"version": "16.4.4-dev.0"
|
|
137
133
|
},
|
|
138
134
|
{
|
|
139
135
|
"package": "@rxap/validator",
|
|
140
|
-
"version": "3.0.
|
|
136
|
+
"version": "3.0.13-dev.0"
|
|
141
137
|
}
|
|
142
138
|
]
|
|
143
139
|
},
|
|
@@ -152,7 +148,7 @@
|
|
|
152
148
|
},
|
|
153
149
|
"schematics": "./generators.json",
|
|
154
150
|
"sideEffects": false,
|
|
155
|
-
"gitHead": "
|
|
151
|
+
"gitHead": "3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa",
|
|
156
152
|
"module": "fesm2022/rxap-tree.mjs",
|
|
157
153
|
"typings": "index.d.ts",
|
|
158
154
|
"exports": {
|