mobx-view-model-devtools 0.0.38 → 0.0.39
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/auto.global.js +1 -1
- package/index.cjs +1 -1
- package/index.d.ts +15 -0
- package/index.js +1 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -40,6 +40,7 @@ declare abstract class ListItem<T> {
|
|
|
40
40
|
get expandedChildrenWithSelf(): ListItem<any>[];
|
|
41
41
|
get data(): T;
|
|
42
42
|
get isFitted(): boolean;
|
|
43
|
+
get closingItem(): ListItem<any> | null;
|
|
43
44
|
abstract get depth(): number;
|
|
44
45
|
get depthLine(): string;
|
|
45
46
|
get stringifiedData(): string;
|
|
@@ -56,6 +57,7 @@ declare class PropertyListItem extends ListItem<any> {
|
|
|
56
57
|
private parent;
|
|
57
58
|
editContent: string;
|
|
58
59
|
isEditMode: boolean;
|
|
60
|
+
get isExpanded(): boolean;
|
|
59
61
|
get data(): any;
|
|
60
62
|
get descriptor(): PropertyDescriptor | null | undefined;
|
|
61
63
|
get dataType(): "string" | "number" | "bigint" | "boolean" | "symbol" | "undefined" | "object" | "function";
|
|
@@ -65,6 +67,7 @@ declare class PropertyListItem extends ListItem<any> {
|
|
|
65
67
|
get isFitted(): boolean;
|
|
66
68
|
get extraContent(): "," | null;
|
|
67
69
|
private get propertyClosingTag();
|
|
70
|
+
get closingItem(): ListItem<any> | null;
|
|
68
71
|
get expandedChildren(): ListItem<any>[];
|
|
69
72
|
get depth(): number;
|
|
70
73
|
get searchData(): {
|
|
@@ -94,6 +97,7 @@ declare class SearchEngine {
|
|
|
94
97
|
private searchTextUpdateTimeout;
|
|
95
98
|
segments: string[];
|
|
96
99
|
get isActive(): boolean;
|
|
100
|
+
get endsWithDot(): boolean;
|
|
97
101
|
private setSearchText;
|
|
98
102
|
resetSearch: () => void;
|
|
99
103
|
constructor();
|
|
@@ -126,10 +130,21 @@ declare class ViewModelDevtools {
|
|
|
126
130
|
private storage;
|
|
127
131
|
anyCache: mobx.ObservableMap<string, any>;
|
|
128
132
|
private autoscrollTimeout;
|
|
133
|
+
searchResultsCache: mobx.IObservableArray<ListItem<any>>;
|
|
134
|
+
searchCacheKey: string;
|
|
135
|
+
private searchTaskId;
|
|
136
|
+
isSearching: boolean;
|
|
137
|
+
private searchInitTaskId;
|
|
129
138
|
get allVms(): AnyVM[];
|
|
130
139
|
private get rootVmListItems();
|
|
131
140
|
private get extraListItems();
|
|
132
141
|
get listItems(): ListItem<any>[];
|
|
142
|
+
private startLazySearch;
|
|
143
|
+
private performLazySearch;
|
|
144
|
+
private filterAndCacheResults;
|
|
145
|
+
private filterItemsWithParentsLazy;
|
|
146
|
+
private getParentItemsWithMatchedChildren;
|
|
147
|
+
private findParent;
|
|
133
148
|
get isActive(): boolean;
|
|
134
149
|
private get containerId();
|
|
135
150
|
isExpanded(vmItem: VMListItem): boolean;
|