@devtable/dashboard 13.35.1 → 13.36.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/dist/components/filter/filter-settings/filter-setting.d.ts +5 -4
- package/dist/components/filter/filter-tree/common/index.d.ts +5 -0
- package/dist/components/filter/{filter-tree-select/render → filter-tree/common}/query-data-to-tree.d.ts +1 -1
- package/dist/components/filter/{filter-tree-select/editor.d.ts → filter-tree/filter-tree-select/editor/filter-tree-select-editor.d.ts} +1 -1
- package/dist/components/filter/filter-tree/filter-tree-select/editor/index.d.ts +1 -0
- package/dist/components/filter/filter-tree/filter-tree-select/index.d.ts +2 -0
- package/dist/components/filter/{filter-tree-select/render/index.d.ts → filter-tree/filter-tree-select/render/filter-tree-select-render.d.ts} +1 -1
- package/dist/components/filter/filter-tree/filter-tree-select/render/index.d.ts +1 -0
- package/dist/components/filter/filter-tree/filter-tree-single-select/editor/filter-tree-single-select-editor.d.ts +8 -0
- package/dist/components/filter/filter-tree/filter-tree-single-select/editor/index.d.ts +1 -0
- package/dist/components/filter/filter-tree/filter-tree-single-select/index.d.ts +2 -0
- package/dist/components/filter/filter-tree/filter-tree-single-select/render/filter-tree-single-select-render.d.ts +10 -0
- package/dist/components/filter/filter-tree/filter-tree-single-select/render/index.d.ts +1 -0
- package/dist/components/filter/filter-tree/filter-tree-single-select/render/widget.d.ts +16 -0
- package/dist/components/filter/filter-tree/filter-tree-single-select/render/widget.styles.d.ts +15 -0
- package/dist/components/filter/filter-tree/index.d.ts +3 -0
- package/dist/dashboard-editor/model/filters/index.d.ts +126 -7
- package/dist/dashboard.es.js +7688 -7272
- package/dist/dashboard.umd.js +112 -111
- package/dist/i18n/en.d.ts +4 -0
- package/dist/i18n/zh.d.ts +4 -0
- package/dist/model/meta-model/dashboard/content/filter/filter.d.ts +18 -1
- package/dist/model/meta-model/dashboard/content/filter/types.d.ts +1 -0
- package/dist/model/meta-model/dashboard/content/filter/widgets/index.d.ts +1 -0
- package/dist/model/meta-model/dashboard/content/filter/widgets/multi-select.d.ts +3 -0
- package/dist/model/meta-model/dashboard/content/filter/widgets/select-base.d.ts +1 -0
- package/dist/model/meta-model/dashboard/content/filter/widgets/select.d.ts +3 -0
- package/dist/model/meta-model/dashboard/content/filter/widgets/tree-select-base.d.ts +40 -0
- package/dist/model/meta-model/dashboard/content/filter/widgets/tree-select.d.ts +29 -18
- package/dist/model/meta-model/dashboard/content/filter/widgets/tree-single-select.d.ts +221 -0
- package/dist/model/render-model/dashboard/content/filters/filters.d.ts +126 -7
- package/dist/stats.html +1 -1
- package/dist/version.json +2 -2
- package/package.json +1 -1
- /package/dist/components/filter/{filter-tree-select → filter-tree/common}/expected-structure.d.ts +0 -0
- /package/dist/components/filter/{filter-tree-select/render → filter-tree/common}/switcher-icon.d.ts +0 -0
- /package/dist/components/filter/{filter-tree-select/render → filter-tree/common}/tree-icon.d.ts +0 -0
- /package/dist/components/filter/{filter-tree-select → filter-tree/common}/types.d.ts +0 -0
- /package/dist/components/filter/{filter-tree-select → filter-tree/filter-tree-select}/render/widget.d.ts +0 -0
- /package/dist/components/filter/{filter-tree-select → filter-tree/filter-tree-select}/render/widget.styles.d.ts +0 -0
package/dist/i18n/en.d.ts
CHANGED
|
@@ -28,6 +28,7 @@ export declare const en: {
|
|
|
28
28
|
select: string;
|
|
29
29
|
multi_select: string;
|
|
30
30
|
tree_select: string;
|
|
31
|
+
tree_single_select: string;
|
|
31
32
|
text_input: string;
|
|
32
33
|
checkbox: string;
|
|
33
34
|
date_range: string;
|
|
@@ -62,6 +63,9 @@ export declare const en: {
|
|
|
62
63
|
tree_select: {
|
|
63
64
|
strictly: string;
|
|
64
65
|
};
|
|
66
|
+
tree_single_select: {
|
|
67
|
+
select_first_option_by_default: string;
|
|
68
|
+
};
|
|
65
69
|
checkbox: {
|
|
66
70
|
description: string;
|
|
67
71
|
default_checked: string;
|
package/dist/i18n/zh.d.ts
CHANGED
|
@@ -28,6 +28,7 @@ export declare const zh: {
|
|
|
28
28
|
select: string;
|
|
29
29
|
multi_select: string;
|
|
30
30
|
tree_select: string;
|
|
31
|
+
tree_single_select: string;
|
|
31
32
|
text_input: string;
|
|
32
33
|
checkbox: string;
|
|
33
34
|
date_range: string;
|
|
@@ -62,6 +63,9 @@ export declare const zh: {
|
|
|
62
63
|
tree_select: {
|
|
63
64
|
strictly: string;
|
|
64
65
|
};
|
|
66
|
+
tree_single_select: {
|
|
67
|
+
select_first_option_by_default: string;
|
|
68
|
+
};
|
|
65
69
|
checkbox: {
|
|
66
70
|
description: string;
|
|
67
71
|
default_checked: string;
|
|
@@ -35,9 +35,26 @@ export declare const FilterMeta: import("mobx-state-tree").IModelType<{
|
|
|
35
35
|
required: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
36
36
|
}> | import("mobx-state-tree").ModelSnapshotType<{
|
|
37
37
|
_name: import("mobx-state-tree").ISimpleType<"tree-select">;
|
|
38
|
-
min_width: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
39
38
|
default_value: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>;
|
|
40
39
|
treeCheckStrictly: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
40
|
+
} & {
|
|
41
|
+
min_width: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
42
|
+
} & {
|
|
43
|
+
static_options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IModelType<{
|
|
44
|
+
label: import("mobx-state-tree").ISimpleType<string>;
|
|
45
|
+
value: import("mobx-state-tree").ISimpleType<string>;
|
|
46
|
+
}, {
|
|
47
|
+
setLabel(label: string): void;
|
|
48
|
+
setValue(value: string): void;
|
|
49
|
+
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>, [undefined]>;
|
|
50
|
+
options_query_id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
51
|
+
default_selection_count: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<number>, [undefined]>;
|
|
52
|
+
required: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
53
|
+
}> | import("mobx-state-tree").ModelSnapshotType<{
|
|
54
|
+
_name: import("mobx-state-tree").ISimpleType<"tree-single-select">;
|
|
55
|
+
default_value: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
56
|
+
} & {
|
|
57
|
+
min_width: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
41
58
|
} & {
|
|
42
59
|
static_options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IModelType<{
|
|
43
60
|
label: import("mobx-state-tree").ISimpleType<string>;
|
|
@@ -21,6 +21,7 @@ export declare const FilterMultiSelectConfigMeta: import("mobx-state-tree").IMod
|
|
|
21
21
|
} & {
|
|
22
22
|
readonly optionsLoading: boolean;
|
|
23
23
|
readonly options: import("./select-base").TSelectOption[];
|
|
24
|
+
readonly optionValuesSet: Set<string>;
|
|
24
25
|
} & {
|
|
25
26
|
setRequired(required: boolean): void;
|
|
26
27
|
addStaticOption(option: {
|
|
@@ -90,6 +91,7 @@ export declare const createFilterMultiSelectConfig: () => {
|
|
|
90
91
|
} & {
|
|
91
92
|
readonly optionsLoading: boolean;
|
|
92
93
|
readonly options: import("./select-base").TSelectOption[];
|
|
94
|
+
readonly optionValuesSet: Set<string>;
|
|
93
95
|
} & {
|
|
94
96
|
setRequired(required: boolean): void;
|
|
95
97
|
addStaticOption(option: {
|
|
@@ -152,6 +154,7 @@ export declare const createFilterMultiSelectConfig: () => {
|
|
|
152
154
|
} & {
|
|
153
155
|
readonly optionsLoading: boolean;
|
|
154
156
|
readonly options: import("./select-base").TSelectOption[];
|
|
157
|
+
readonly optionValuesSet: Set<string>;
|
|
155
158
|
} & {
|
|
156
159
|
setRequired(required: boolean): void;
|
|
157
160
|
addStaticOption(option: {
|
|
@@ -30,6 +30,7 @@ export declare const FilterBaseSelectConfigMeta: import("mobx-state-tree").IMode
|
|
|
30
30
|
} & {
|
|
31
31
|
readonly optionsLoading: boolean;
|
|
32
32
|
readonly options: TSelectOption[];
|
|
33
|
+
readonly optionValuesSet: Set<string>;
|
|
33
34
|
} & {
|
|
34
35
|
setRequired(required: boolean): void;
|
|
35
36
|
addStaticOption(option: {
|
|
@@ -22,6 +22,7 @@ export declare const FilterSelectConfigMeta: import("mobx-state-tree").IModelTyp
|
|
|
22
22
|
} & {
|
|
23
23
|
readonly optionsLoading: boolean;
|
|
24
24
|
readonly options: import("./select-base").TSelectOption[];
|
|
25
|
+
readonly optionValuesSet: Set<string>;
|
|
25
26
|
} & {
|
|
26
27
|
setRequired(required: boolean): void;
|
|
27
28
|
addStaticOption(option: {
|
|
@@ -94,6 +95,7 @@ export declare const createFilterSelectConfig: () => {
|
|
|
94
95
|
} & {
|
|
95
96
|
readonly optionsLoading: boolean;
|
|
96
97
|
readonly options: import("./select-base").TSelectOption[];
|
|
98
|
+
readonly optionValuesSet: Set<string>;
|
|
97
99
|
} & {
|
|
98
100
|
setRequired(required: boolean): void;
|
|
99
101
|
addStaticOption(option: {
|
|
@@ -159,6 +161,7 @@ export declare const createFilterSelectConfig: () => {
|
|
|
159
161
|
} & {
|
|
160
162
|
readonly optionsLoading: boolean;
|
|
161
163
|
readonly options: import("./select-base").TSelectOption[];
|
|
164
|
+
readonly optionValuesSet: Set<string>;
|
|
162
165
|
} & {
|
|
163
166
|
setRequired(required: boolean): void;
|
|
164
167
|
addStaticOption(option: {
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { Instance } from 'mobx-state-tree';
|
|
2
|
+
export declare const FilterBaseTreeSelectConfigMeta: import("mobx-state-tree").IModelType<{
|
|
3
|
+
min_width: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
4
|
+
} & {
|
|
5
|
+
static_options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IModelType<{
|
|
6
|
+
label: import("mobx-state-tree").ISimpleType<string>;
|
|
7
|
+
value: import("mobx-state-tree").ISimpleType<string>;
|
|
8
|
+
}, {
|
|
9
|
+
setLabel(label: string): void;
|
|
10
|
+
setValue(value: string): void;
|
|
11
|
+
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>, [undefined]>;
|
|
12
|
+
options_query_id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
13
|
+
default_selection_count: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<number>, [undefined]>;
|
|
14
|
+
required: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
15
|
+
}, {
|
|
16
|
+
readonly contentModel: any;
|
|
17
|
+
readonly filter: any;
|
|
18
|
+
readonly usingQuery: boolean;
|
|
19
|
+
} & {
|
|
20
|
+
readonly optionsLoading: boolean;
|
|
21
|
+
readonly options: import("./select-base").TSelectOption[];
|
|
22
|
+
readonly optionValuesSet: Set<string>;
|
|
23
|
+
} & {
|
|
24
|
+
setRequired(required: boolean): void;
|
|
25
|
+
addStaticOption(option: {
|
|
26
|
+
label: string;
|
|
27
|
+
value: string;
|
|
28
|
+
}): void;
|
|
29
|
+
removeStaticOption(index: number): void;
|
|
30
|
+
setDefaultSelectionCount(v: number): void;
|
|
31
|
+
setOptionsQueryID(id: string | null): void;
|
|
32
|
+
} & {
|
|
33
|
+
readonly plainData: any;
|
|
34
|
+
readonly treeData: import("performant-array-to-tree").TreeItem[];
|
|
35
|
+
readonly errorMessage: any;
|
|
36
|
+
readonly treeDataLoading: boolean;
|
|
37
|
+
} & {
|
|
38
|
+
setMinWidth(v: string): void;
|
|
39
|
+
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
|
|
40
|
+
export type FilterBaseTreeSelectConfigMetaInstance = Instance<typeof FilterBaseTreeSelectConfigMeta>;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { Instance } from 'mobx-state-tree';
|
|
2
2
|
export declare const FilterTreeSelectConfigMeta: import("mobx-state-tree").IModelType<{
|
|
3
3
|
_name: import("mobx-state-tree").ISimpleType<"tree-select">;
|
|
4
|
-
min_width: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
5
4
|
default_value: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>;
|
|
6
5
|
treeCheckStrictly: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
6
|
+
} & {
|
|
7
|
+
min_width: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
7
8
|
} & {
|
|
8
9
|
static_options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IModelType<{
|
|
9
10
|
label: import("mobx-state-tree").ISimpleType<string>;
|
|
@@ -22,6 +23,7 @@ export declare const FilterTreeSelectConfigMeta: import("mobx-state-tree").IMode
|
|
|
22
23
|
} & {
|
|
23
24
|
readonly optionsLoading: boolean;
|
|
24
25
|
readonly options: import("./select-base").TSelectOption[];
|
|
26
|
+
readonly optionValuesSet: Set<string>;
|
|
25
27
|
} & {
|
|
26
28
|
setRequired(required: boolean): void;
|
|
27
29
|
addStaticOption(option: {
|
|
@@ -31,6 +33,13 @@ export declare const FilterTreeSelectConfigMeta: import("mobx-state-tree").IMode
|
|
|
31
33
|
removeStaticOption(index: number): void;
|
|
32
34
|
setDefaultSelectionCount(v: number): void;
|
|
33
35
|
setOptionsQueryID(id: string | null): void;
|
|
36
|
+
} & {
|
|
37
|
+
readonly plainData: any;
|
|
38
|
+
readonly treeData: import("performant-array-to-tree").TreeItem[];
|
|
39
|
+
readonly errorMessage: any;
|
|
40
|
+
readonly treeDataLoading: boolean;
|
|
41
|
+
} & {
|
|
42
|
+
setMinWidth(v: string): void;
|
|
34
43
|
} & {
|
|
35
44
|
readonly json: {
|
|
36
45
|
_name: "tree-select";
|
|
@@ -54,17 +63,12 @@ export declare const FilterTreeSelectConfigMeta: import("mobx-state-tree").IMode
|
|
|
54
63
|
treeCheckStrictly: boolean;
|
|
55
64
|
default_selection_count: number;
|
|
56
65
|
};
|
|
57
|
-
readonly plainData: any;
|
|
58
|
-
readonly treeData: import("performant-array-to-tree").TreeItem[];
|
|
59
|
-
readonly errorMessage: any;
|
|
60
|
-
readonly treeDataLoading: boolean;
|
|
61
66
|
readonly defaultSelection: any[];
|
|
62
67
|
valueObjects(value: string[]): any;
|
|
63
68
|
initialSelection(value: string[] | null): any;
|
|
64
69
|
truthy(value: any): boolean;
|
|
65
70
|
} & {
|
|
66
71
|
setDefaultValue(default_value: string[]): void;
|
|
67
|
-
setMinWidth(v: string): void;
|
|
68
72
|
setTreeCheckStrictly(v: boolean): void;
|
|
69
73
|
applyDefaultSelection(): void;
|
|
70
74
|
afterCreate(): void;
|
|
@@ -72,9 +76,9 @@ export declare const FilterTreeSelectConfigMeta: import("mobx-state-tree").IMode
|
|
|
72
76
|
export type FilterTreeSelectConfigInstance = Instance<typeof FilterTreeSelectConfigMeta>;
|
|
73
77
|
export declare const createFilterTreeSelectConfig: () => {
|
|
74
78
|
_name: "tree-select";
|
|
75
|
-
min_width: string;
|
|
76
79
|
default_value: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
77
80
|
treeCheckStrictly: boolean;
|
|
81
|
+
min_width: string;
|
|
78
82
|
static_options: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").IModelType<{
|
|
79
83
|
label: import("mobx-state-tree").ISimpleType<string>;
|
|
80
84
|
value: import("mobx-state-tree").ISimpleType<string>;
|
|
@@ -98,6 +102,7 @@ export declare const createFilterTreeSelectConfig: () => {
|
|
|
98
102
|
} & {
|
|
99
103
|
readonly optionsLoading: boolean;
|
|
100
104
|
readonly options: import("./select-base").TSelectOption[];
|
|
105
|
+
readonly optionValuesSet: Set<string>;
|
|
101
106
|
} & {
|
|
102
107
|
setRequired(required: boolean): void;
|
|
103
108
|
addStaticOption(option: {
|
|
@@ -107,6 +112,13 @@ export declare const createFilterTreeSelectConfig: () => {
|
|
|
107
112
|
removeStaticOption(index: number): void;
|
|
108
113
|
setDefaultSelectionCount(v: number): void;
|
|
109
114
|
setOptionsQueryID(id: string | null): void;
|
|
115
|
+
} & {
|
|
116
|
+
readonly plainData: any;
|
|
117
|
+
readonly treeData: import("performant-array-to-tree").TreeItem[];
|
|
118
|
+
readonly errorMessage: any;
|
|
119
|
+
readonly treeDataLoading: boolean;
|
|
120
|
+
} & {
|
|
121
|
+
setMinWidth(v: string): void;
|
|
110
122
|
} & {
|
|
111
123
|
readonly json: {
|
|
112
124
|
_name: "tree-select";
|
|
@@ -130,25 +142,21 @@ export declare const createFilterTreeSelectConfig: () => {
|
|
|
130
142
|
treeCheckStrictly: boolean;
|
|
131
143
|
default_selection_count: number;
|
|
132
144
|
};
|
|
133
|
-
readonly plainData: any;
|
|
134
|
-
readonly treeData: import("performant-array-to-tree").TreeItem[];
|
|
135
|
-
readonly errorMessage: any;
|
|
136
|
-
readonly treeDataLoading: boolean;
|
|
137
145
|
readonly defaultSelection: any[];
|
|
138
146
|
valueObjects(value: string[]): any;
|
|
139
147
|
initialSelection(value: string[] | null): any;
|
|
140
148
|
truthy(value: any): boolean;
|
|
141
149
|
} & {
|
|
142
150
|
setDefaultValue(default_value: string[]): void;
|
|
143
|
-
setMinWidth(v: string): void;
|
|
144
151
|
setTreeCheckStrictly(v: boolean): void;
|
|
145
152
|
applyDefaultSelection(): void;
|
|
146
153
|
afterCreate(): void;
|
|
147
154
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
148
155
|
_name: import("mobx-state-tree").ISimpleType<"tree-select">;
|
|
149
|
-
min_width: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
150
156
|
default_value: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>;
|
|
151
157
|
treeCheckStrictly: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
158
|
+
} & {
|
|
159
|
+
min_width: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
152
160
|
} & {
|
|
153
161
|
static_options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IModelType<{
|
|
154
162
|
label: import("mobx-state-tree").ISimpleType<string>;
|
|
@@ -167,6 +175,7 @@ export declare const createFilterTreeSelectConfig: () => {
|
|
|
167
175
|
} & {
|
|
168
176
|
readonly optionsLoading: boolean;
|
|
169
177
|
readonly options: import("./select-base").TSelectOption[];
|
|
178
|
+
readonly optionValuesSet: Set<string>;
|
|
170
179
|
} & {
|
|
171
180
|
setRequired(required: boolean): void;
|
|
172
181
|
addStaticOption(option: {
|
|
@@ -176,6 +185,13 @@ export declare const createFilterTreeSelectConfig: () => {
|
|
|
176
185
|
removeStaticOption(index: number): void;
|
|
177
186
|
setDefaultSelectionCount(v: number): void;
|
|
178
187
|
setOptionsQueryID(id: string | null): void;
|
|
188
|
+
} & {
|
|
189
|
+
readonly plainData: any;
|
|
190
|
+
readonly treeData: import("performant-array-to-tree").TreeItem[];
|
|
191
|
+
readonly errorMessage: any;
|
|
192
|
+
readonly treeDataLoading: boolean;
|
|
193
|
+
} & {
|
|
194
|
+
setMinWidth(v: string): void;
|
|
179
195
|
} & {
|
|
180
196
|
readonly json: {
|
|
181
197
|
_name: "tree-select";
|
|
@@ -199,17 +215,12 @@ export declare const createFilterTreeSelectConfig: () => {
|
|
|
199
215
|
treeCheckStrictly: boolean;
|
|
200
216
|
default_selection_count: number;
|
|
201
217
|
};
|
|
202
|
-
readonly plainData: any;
|
|
203
|
-
readonly treeData: import("performant-array-to-tree").TreeItem[];
|
|
204
|
-
readonly errorMessage: any;
|
|
205
|
-
readonly treeDataLoading: boolean;
|
|
206
218
|
readonly defaultSelection: any[];
|
|
207
219
|
valueObjects(value: string[]): any;
|
|
208
220
|
initialSelection(value: string[] | null): any;
|
|
209
221
|
truthy(value: any): boolean;
|
|
210
222
|
} & {
|
|
211
223
|
setDefaultValue(default_value: string[]): void;
|
|
212
|
-
setMinWidth(v: string): void;
|
|
213
224
|
setTreeCheckStrictly(v: boolean): void;
|
|
214
225
|
applyDefaultSelection(): void;
|
|
215
226
|
afterCreate(): void;
|
|
@@ -0,0 +1,221 @@
|
|
|
1
|
+
import { Instance } from 'mobx-state-tree';
|
|
2
|
+
export declare const FilterTreeSingleSelectConfigMeta: import("mobx-state-tree").IModelType<{
|
|
3
|
+
_name: import("mobx-state-tree").ISimpleType<"tree-single-select">;
|
|
4
|
+
default_value: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
5
|
+
} & {
|
|
6
|
+
min_width: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
7
|
+
} & {
|
|
8
|
+
static_options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IModelType<{
|
|
9
|
+
label: import("mobx-state-tree").ISimpleType<string>;
|
|
10
|
+
value: import("mobx-state-tree").ISimpleType<string>;
|
|
11
|
+
}, {
|
|
12
|
+
setLabel(label: string): void;
|
|
13
|
+
setValue(value: string): void;
|
|
14
|
+
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>, [undefined]>;
|
|
15
|
+
options_query_id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
16
|
+
default_selection_count: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<number>, [undefined]>;
|
|
17
|
+
required: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
18
|
+
}, {
|
|
19
|
+
readonly contentModel: any;
|
|
20
|
+
readonly filter: any;
|
|
21
|
+
readonly usingQuery: boolean;
|
|
22
|
+
} & {
|
|
23
|
+
readonly optionsLoading: boolean;
|
|
24
|
+
readonly options: import("./select-base").TSelectOption[];
|
|
25
|
+
readonly optionValuesSet: Set<string>;
|
|
26
|
+
} & {
|
|
27
|
+
setRequired(required: boolean): void;
|
|
28
|
+
addStaticOption(option: {
|
|
29
|
+
label: string;
|
|
30
|
+
value: string;
|
|
31
|
+
}): void;
|
|
32
|
+
removeStaticOption(index: number): void;
|
|
33
|
+
setDefaultSelectionCount(v: number): void;
|
|
34
|
+
setOptionsQueryID(id: string | null): void;
|
|
35
|
+
} & {
|
|
36
|
+
readonly plainData: any;
|
|
37
|
+
readonly treeData: import("performant-array-to-tree").TreeItem[];
|
|
38
|
+
readonly errorMessage: any;
|
|
39
|
+
readonly treeDataLoading: boolean;
|
|
40
|
+
} & {
|
|
41
|
+
setMinWidth(v: string): void;
|
|
42
|
+
} & {
|
|
43
|
+
readonly json: {
|
|
44
|
+
_name: "tree-single-select";
|
|
45
|
+
required: boolean;
|
|
46
|
+
min_width: string;
|
|
47
|
+
default_value: string;
|
|
48
|
+
static_options: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").IModelType<{
|
|
49
|
+
label: import("mobx-state-tree").ISimpleType<string>;
|
|
50
|
+
value: import("mobx-state-tree").ISimpleType<string>;
|
|
51
|
+
}, {
|
|
52
|
+
setLabel(label: string): void;
|
|
53
|
+
setValue(value: string): void;
|
|
54
|
+
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IModelType<{
|
|
55
|
+
label: import("mobx-state-tree").ISimpleType<string>;
|
|
56
|
+
value: import("mobx-state-tree").ISimpleType<string>;
|
|
57
|
+
}, {
|
|
58
|
+
setLabel(label: string): void;
|
|
59
|
+
setValue(value: string): void;
|
|
60
|
+
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>, [undefined]>>;
|
|
61
|
+
options_query_id: string;
|
|
62
|
+
default_selection_count: number;
|
|
63
|
+
};
|
|
64
|
+
readonly selectFirstByDefault: boolean;
|
|
65
|
+
readonly defaultSelection: any;
|
|
66
|
+
valueObject(value: string | null): any;
|
|
67
|
+
initialSelection(value: string | null): any;
|
|
68
|
+
truthy(value: any): boolean;
|
|
69
|
+
} & {
|
|
70
|
+
setDefaultValue(default_value: string): void;
|
|
71
|
+
applyDefaultSelection(): void;
|
|
72
|
+
afterCreate(): void;
|
|
73
|
+
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
|
|
74
|
+
export type FilterTreeSingleSelectConfigInstance = Instance<typeof FilterTreeSingleSelectConfigMeta>;
|
|
75
|
+
export declare const createFilterTreeSingleSelectConfig: () => {
|
|
76
|
+
_name: "tree-single-select";
|
|
77
|
+
default_value: string;
|
|
78
|
+
min_width: string;
|
|
79
|
+
static_options: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").IModelType<{
|
|
80
|
+
label: import("mobx-state-tree").ISimpleType<string>;
|
|
81
|
+
value: import("mobx-state-tree").ISimpleType<string>;
|
|
82
|
+
}, {
|
|
83
|
+
setLabel(label: string): void;
|
|
84
|
+
setValue(value: string): void;
|
|
85
|
+
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IModelType<{
|
|
86
|
+
label: import("mobx-state-tree").ISimpleType<string>;
|
|
87
|
+
value: import("mobx-state-tree").ISimpleType<string>;
|
|
88
|
+
}, {
|
|
89
|
+
setLabel(label: string): void;
|
|
90
|
+
setValue(value: string): void;
|
|
91
|
+
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>, [undefined]>>;
|
|
92
|
+
options_query_id: string;
|
|
93
|
+
default_selection_count: number;
|
|
94
|
+
required: boolean;
|
|
95
|
+
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
96
|
+
readonly contentModel: any;
|
|
97
|
+
readonly filter: any;
|
|
98
|
+
readonly usingQuery: boolean;
|
|
99
|
+
} & {
|
|
100
|
+
readonly optionsLoading: boolean;
|
|
101
|
+
readonly options: import("./select-base").TSelectOption[];
|
|
102
|
+
readonly optionValuesSet: Set<string>;
|
|
103
|
+
} & {
|
|
104
|
+
setRequired(required: boolean): void;
|
|
105
|
+
addStaticOption(option: {
|
|
106
|
+
label: string;
|
|
107
|
+
value: string;
|
|
108
|
+
}): void;
|
|
109
|
+
removeStaticOption(index: number): void;
|
|
110
|
+
setDefaultSelectionCount(v: number): void;
|
|
111
|
+
setOptionsQueryID(id: string | null): void;
|
|
112
|
+
} & {
|
|
113
|
+
readonly plainData: any;
|
|
114
|
+
readonly treeData: import("performant-array-to-tree").TreeItem[];
|
|
115
|
+
readonly errorMessage: any;
|
|
116
|
+
readonly treeDataLoading: boolean;
|
|
117
|
+
} & {
|
|
118
|
+
setMinWidth(v: string): void;
|
|
119
|
+
} & {
|
|
120
|
+
readonly json: {
|
|
121
|
+
_name: "tree-single-select";
|
|
122
|
+
required: boolean;
|
|
123
|
+
min_width: string;
|
|
124
|
+
default_value: string;
|
|
125
|
+
static_options: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").IModelType<{
|
|
126
|
+
label: import("mobx-state-tree").ISimpleType<string>;
|
|
127
|
+
value: import("mobx-state-tree").ISimpleType<string>;
|
|
128
|
+
}, {
|
|
129
|
+
setLabel(label: string): void;
|
|
130
|
+
setValue(value: string): void;
|
|
131
|
+
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IModelType<{
|
|
132
|
+
label: import("mobx-state-tree").ISimpleType<string>;
|
|
133
|
+
value: import("mobx-state-tree").ISimpleType<string>;
|
|
134
|
+
}, {
|
|
135
|
+
setLabel(label: string): void;
|
|
136
|
+
setValue(value: string): void;
|
|
137
|
+
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>, [undefined]>>;
|
|
138
|
+
options_query_id: string;
|
|
139
|
+
default_selection_count: number;
|
|
140
|
+
};
|
|
141
|
+
readonly selectFirstByDefault: boolean;
|
|
142
|
+
readonly defaultSelection: any;
|
|
143
|
+
valueObject(value: string | null): any;
|
|
144
|
+
initialSelection(value: string | null): any;
|
|
145
|
+
truthy(value: any): boolean;
|
|
146
|
+
} & {
|
|
147
|
+
setDefaultValue(default_value: string): void;
|
|
148
|
+
applyDefaultSelection(): void;
|
|
149
|
+
afterCreate(): void;
|
|
150
|
+
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
151
|
+
_name: import("mobx-state-tree").ISimpleType<"tree-single-select">;
|
|
152
|
+
default_value: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
153
|
+
} & {
|
|
154
|
+
min_width: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
155
|
+
} & {
|
|
156
|
+
static_options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IModelType<{
|
|
157
|
+
label: import("mobx-state-tree").ISimpleType<string>;
|
|
158
|
+
value: import("mobx-state-tree").ISimpleType<string>;
|
|
159
|
+
}, {
|
|
160
|
+
setLabel(label: string): void;
|
|
161
|
+
setValue(value: string): void;
|
|
162
|
+
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>, [undefined]>;
|
|
163
|
+
options_query_id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
164
|
+
default_selection_count: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<number>, [undefined]>;
|
|
165
|
+
required: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
166
|
+
}, {
|
|
167
|
+
readonly contentModel: any;
|
|
168
|
+
readonly filter: any;
|
|
169
|
+
readonly usingQuery: boolean;
|
|
170
|
+
} & {
|
|
171
|
+
readonly optionsLoading: boolean;
|
|
172
|
+
readonly options: import("./select-base").TSelectOption[];
|
|
173
|
+
readonly optionValuesSet: Set<string>;
|
|
174
|
+
} & {
|
|
175
|
+
setRequired(required: boolean): void;
|
|
176
|
+
addStaticOption(option: {
|
|
177
|
+
label: string;
|
|
178
|
+
value: string;
|
|
179
|
+
}): void;
|
|
180
|
+
removeStaticOption(index: number): void;
|
|
181
|
+
setDefaultSelectionCount(v: number): void;
|
|
182
|
+
setOptionsQueryID(id: string | null): void;
|
|
183
|
+
} & {
|
|
184
|
+
readonly plainData: any;
|
|
185
|
+
readonly treeData: import("performant-array-to-tree").TreeItem[];
|
|
186
|
+
readonly errorMessage: any;
|
|
187
|
+
readonly treeDataLoading: boolean;
|
|
188
|
+
} & {
|
|
189
|
+
setMinWidth(v: string): void;
|
|
190
|
+
} & {
|
|
191
|
+
readonly json: {
|
|
192
|
+
_name: "tree-single-select";
|
|
193
|
+
required: boolean;
|
|
194
|
+
min_width: string;
|
|
195
|
+
default_value: string;
|
|
196
|
+
static_options: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").IModelType<{
|
|
197
|
+
label: import("mobx-state-tree").ISimpleType<string>;
|
|
198
|
+
value: import("mobx-state-tree").ISimpleType<string>;
|
|
199
|
+
}, {
|
|
200
|
+
setLabel(label: string): void;
|
|
201
|
+
setValue(value: string): void;
|
|
202
|
+
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IModelType<{
|
|
203
|
+
label: import("mobx-state-tree").ISimpleType<string>;
|
|
204
|
+
value: import("mobx-state-tree").ISimpleType<string>;
|
|
205
|
+
}, {
|
|
206
|
+
setLabel(label: string): void;
|
|
207
|
+
setValue(value: string): void;
|
|
208
|
+
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>, [undefined]>>;
|
|
209
|
+
options_query_id: string;
|
|
210
|
+
default_selection_count: number;
|
|
211
|
+
};
|
|
212
|
+
readonly selectFirstByDefault: boolean;
|
|
213
|
+
readonly defaultSelection: any;
|
|
214
|
+
valueObject(value: string | null): any;
|
|
215
|
+
initialSelection(value: string | null): any;
|
|
216
|
+
truthy(value: any): boolean;
|
|
217
|
+
} & {
|
|
218
|
+
setDefaultValue(default_value: string): void;
|
|
219
|
+
applyDefaultSelection(): void;
|
|
220
|
+
afterCreate(): void;
|
|
221
|
+
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|