@dangl/angular-ava 1.3.0-beta0057 → 1.3.0-beta0064
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/README.md +24 -18
- package/fesm2022/dangl-angular-ava.mjs +35 -73
- package/fesm2022/dangl-angular-ava.mjs.map +1 -1
- package/lib/ava-tree/components/ava-tree/ava-tree.component.d.ts +5 -54
- package/lib/ava-tree/components/tree-item/tree-item.component.d.ts +1 -4
- package/lib/ava-tree/model/config-tree.model.d.ts +0 -18
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -31,18 +31,6 @@ export class AppComponent {}
|
|
|
31
31
|
|
|
32
32
|
```typescript
|
|
33
33
|
export interface IConfigurationTree {
|
|
34
|
-
/**
|
|
35
|
-
* Optionally, you can supply a map of expansion states for the tree. The keys should be the
|
|
36
|
-
* id properties of the elements in the tree, and the values should be true if the element is
|
|
37
|
-
* expanded, and false if it is collapsed.
|
|
38
|
-
*/
|
|
39
|
-
expansionState?: { [id: string]: boolean };
|
|
40
|
-
|
|
41
|
-
/**
|
|
42
|
-
* Optionally, you can supply the id of the node that should be selected in the tree initially.
|
|
43
|
-
* */
|
|
44
|
-
selectedNodeId?: string;
|
|
45
|
-
|
|
46
34
|
/**
|
|
47
35
|
* Optional, defaults to 20px. If this is set, then the tree will be indented by the given value each level.
|
|
48
36
|
* This can be any valid CSS value for the padding-left property, such as 20px, 1em, or 5%.
|
|
@@ -55,12 +43,6 @@ export interface IConfigurationTree {
|
|
|
55
43
|
*/
|
|
56
44
|
selectedColor?: string;
|
|
57
45
|
|
|
58
|
-
/**
|
|
59
|
-
* You can specify which view type to use for the tree. The default is ModeViewType.Tree, but you can also use
|
|
60
|
-
* ModeViewType.List or ModeViewType.Table.
|
|
61
|
-
*/
|
|
62
|
-
modeView?: ModeViewType;
|
|
63
|
-
|
|
64
46
|
/**
|
|
65
47
|
* Optional, defaults to true. If this is disabled, then the double click event for elements is not raised, and clicking on an elemt sends an immediate result since the component has not to wait and check if a double click event is fired.
|
|
66
48
|
*/
|
|
@@ -127,6 +109,30 @@ export interface IConfigurationTree {
|
|
|
127
109
|
}
|
|
128
110
|
```
|
|
129
111
|
|
|
112
|
+
You can also supply the following input parameters
|
|
113
|
+
|
|
114
|
+
```typescript
|
|
115
|
+
/**
|
|
116
|
+
* Optionally, you can supply a map of expansion states for the tree. The keys should be the
|
|
117
|
+
* id properties of the elements in the tree, and the values should be true if the element is
|
|
118
|
+
* expanded, and false if it is collapsed.
|
|
119
|
+
*/
|
|
120
|
+
readonly expansionstate = input<IExpansionState | null, IExpansionState>(null, {
|
|
121
|
+
transform: this.transformFn<IExpansionState>
|
|
122
|
+
});
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* Optionally, you can supply the id of the node that should be selected in the tree initially.
|
|
126
|
+
*/
|
|
127
|
+
readonly selectednodeid = input<string | null>(null);
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* You can specify which view type to use for the tree. The default is ModeViewType.Tree, but you can also use
|
|
131
|
+
* ModeViewType.List or ModeViewType.Table.
|
|
132
|
+
*/
|
|
133
|
+
readonly modeview = input<ModeViewType>(ModeViewType.Tree);
|
|
134
|
+
```
|
|
135
|
+
|
|
130
136
|
### Output Parameters
|
|
131
137
|
|
|
132
138
|
```typescript
|