@acorex/components 19.11.10 → 19.11.13-next.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.
@@ -1,4 +1,5 @@
1
1
  import { AXClickEvent } from '@acorex/components/common';
2
+ import { EventEmitter } from '@angular/core';
2
3
  export declare class AXTreeItemClickBaseEvent extends AXClickEvent {
3
4
  nativeElement: any;
4
5
  }
@@ -6,3 +7,39 @@ export type AXTreeViewSelectionBehavior = 'autoExpand' | 'cascade' | 'indetermin
6
7
  export type AXTreeViewExpandBehavior = 'click' | 'dbClick' | 'defult';
7
8
  export type AXTreeViewOperationMethod = 'expand' | 'active' | 'visible' | 'disabled';
8
9
  export type AXTreeViewLook = 'with-line' | 'defult';
10
+ export declare abstract class AXTreeViewBase {
11
+ abstract getChildren(item: unknown): unknown[];
12
+ abstract hasChildren(item: unknown): boolean;
13
+ abstract disableField(): string;
14
+ abstract childrenField(): string;
15
+ abstract valueField(): string;
16
+ abstract activeField(): string;
17
+ abstract hasChildField(): string;
18
+ abstract tooltipField(): string;
19
+ abstract expandOn(): AXTreeViewExpandBehavior;
20
+ abstract focusNodeEnabled(): boolean;
21
+ abstract toggleIcons(): {
22
+ expanded: string;
23
+ collapsed: string;
24
+ } | null;
25
+ abstract itemsPromise: boolean;
26
+ abstract itemsSignal(): unknown[];
27
+ abstract fetchData(item: unknown): void;
28
+ abstract setNodeLoading(value: unknown, loading: boolean): void;
29
+ abstract handleUnActiveNode(items: unknown[]): void;
30
+ abstract onCollapsedChanged: EventEmitter<{
31
+ component: any;
32
+ data: unknown;
33
+ nativeElement: any;
34
+ }>;
35
+ abstract onNodeClick: EventEmitter<{
36
+ component: any;
37
+ data: unknown;
38
+ nativeElement: any;
39
+ }>;
40
+ abstract onNodedbClick: EventEmitter<{
41
+ component: any;
42
+ data: unknown;
43
+ nativeElement: any;
44
+ }>;
45
+ }