@devtable/dashboard 6.43.0 → 6.45.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/dashboard.es.js +6214 -5910
- package/dist/dashboard.umd.js +49 -48
- package/dist/main/switch-views/edit-view-modal/config-fields/{config.modal.d.ts → modal/index.d.ts} +0 -0
- package/dist/main/switch-views/edit-view-modal/config-fields/modal/modal-title-editor/function-editor.d.ts +8 -0
- package/dist/main/switch-views/edit-view-modal/config-fields/modal/modal-title-editor/index.d.ts +8 -0
- package/dist/main/switch-views/edit-view-modal/config-fields/modal/modal-title-editor/types.d.ts +8 -0
- package/dist/model/filters/filter/multi-select.d.ts +15 -9
- package/dist/model/filters/filter/select-base.d.ts +5 -3
- package/dist/model/filters/filter/select.d.ts +15 -9
- package/dist/model/filters/filter/tree-select.d.ts +15 -9
- package/dist/model/views/view/division.d.ts +24 -0
- package/dist/model/views/view/index.d.ts +100 -6
- package/dist/model/views/view/modal.d.ts +124 -0
- package/dist/types/dashboard.d.ts +1 -1
- package/dist/types/filter.d.ts +1 -0
- package/package.json +1 -1
package/dist/main/switch-views/edit-view-modal/config-fields/{config.modal.d.ts → modal/index.d.ts}
RENAMED
|
File without changes
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
interface ICustomModalTitleFunctionEditor {
|
|
3
|
+
disabled: boolean;
|
|
4
|
+
value: string;
|
|
5
|
+
onChange: (v: string) => void;
|
|
6
|
+
}
|
|
7
|
+
export declare const CustomModalTitleFunctionEditor: ({ disabled, value, onChange }: ICustomModalTitleFunctionEditor) => JSX.Element;
|
|
8
|
+
export {};
|
package/dist/main/switch-views/edit-view-modal/config-fields/modal/modal-title-editor/index.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ICustomModalTitle } from './types';
|
|
3
|
+
interface ICustomModalTitleField {
|
|
4
|
+
value: ICustomModalTitle;
|
|
5
|
+
onChange: (v: ICustomModalTitle) => void;
|
|
6
|
+
}
|
|
7
|
+
export declare const CustomModalTitleField: ({ value, onChange }: ICustomModalTitleField) => JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -12,8 +12,10 @@ export declare const FilterConfigModel_MultiSelect: import("mobx-state-tree").IM
|
|
|
12
12
|
setValue(value: string): void;
|
|
13
13
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>, [undefined]>;
|
|
14
14
|
options_query_id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
15
|
-
|
|
15
|
+
default_selection_count: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<number>, [undefined]>;
|
|
16
16
|
}, {
|
|
17
|
+
readonly usingQuery: boolean;
|
|
18
|
+
} & {
|
|
17
19
|
readonly options: any;
|
|
18
20
|
} & {
|
|
19
21
|
addStaticOption(option: {
|
|
@@ -21,8 +23,8 @@ export declare const FilterConfigModel_MultiSelect: import("mobx-state-tree").IM
|
|
|
21
23
|
value: string;
|
|
22
24
|
}): void;
|
|
23
25
|
removeStaticOption(index: number): void;
|
|
24
|
-
|
|
25
|
-
setOptionsQueryID(id: string): void;
|
|
26
|
+
setDefaultSelectionCount(v: number): void;
|
|
27
|
+
setOptionsQueryID(id: string | null): void;
|
|
26
28
|
} & {
|
|
27
29
|
setDefaultValue(default_value: string[]): void;
|
|
28
30
|
setMinWidth(v: string): void;
|
|
@@ -46,8 +48,10 @@ export declare const createFilterConfig_MultiSelect: () => {
|
|
|
46
48
|
setValue(value: string): void;
|
|
47
49
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>, [undefined]>>;
|
|
48
50
|
options_query_id: string;
|
|
49
|
-
|
|
51
|
+
default_selection_count: number;
|
|
50
52
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
53
|
+
readonly usingQuery: boolean;
|
|
54
|
+
} & {
|
|
51
55
|
readonly options: any;
|
|
52
56
|
} & {
|
|
53
57
|
addStaticOption(option: {
|
|
@@ -55,8 +59,8 @@ export declare const createFilterConfig_MultiSelect: () => {
|
|
|
55
59
|
value: string;
|
|
56
60
|
}): void;
|
|
57
61
|
removeStaticOption(index: number): void;
|
|
58
|
-
|
|
59
|
-
setOptionsQueryID(id: string): void;
|
|
62
|
+
setDefaultSelectionCount(v: number): void;
|
|
63
|
+
setOptionsQueryID(id: string | null): void;
|
|
60
64
|
} & {
|
|
61
65
|
setDefaultValue(default_value: string[]): void;
|
|
62
66
|
setMinWidth(v: string): void;
|
|
@@ -73,8 +77,10 @@ export declare const createFilterConfig_MultiSelect: () => {
|
|
|
73
77
|
setValue(value: string): void;
|
|
74
78
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>, [undefined]>;
|
|
75
79
|
options_query_id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
76
|
-
|
|
80
|
+
default_selection_count: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<number>, [undefined]>;
|
|
77
81
|
}, {
|
|
82
|
+
readonly usingQuery: boolean;
|
|
83
|
+
} & {
|
|
78
84
|
readonly options: any;
|
|
79
85
|
} & {
|
|
80
86
|
addStaticOption(option: {
|
|
@@ -82,8 +88,8 @@ export declare const createFilterConfig_MultiSelect: () => {
|
|
|
82
88
|
value: string;
|
|
83
89
|
}): void;
|
|
84
90
|
removeStaticOption(index: number): void;
|
|
85
|
-
|
|
86
|
-
setOptionsQueryID(id: string): void;
|
|
91
|
+
setDefaultSelectionCount(v: number): void;
|
|
92
|
+
setOptionsQueryID(id: string | null): void;
|
|
87
93
|
} & {
|
|
88
94
|
setDefaultValue(default_value: string[]): void;
|
|
89
95
|
setMinWidth(v: string): void;
|
|
@@ -16,8 +16,10 @@ export declare const FilterConfigModel_BaseSelect: import("mobx-state-tree").IMo
|
|
|
16
16
|
setValue(value: string): void;
|
|
17
17
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>, [undefined]>;
|
|
18
18
|
options_query_id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
19
|
-
|
|
19
|
+
default_selection_count: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<number>, [undefined]>;
|
|
20
20
|
}, {
|
|
21
|
+
readonly usingQuery: boolean;
|
|
22
|
+
} & {
|
|
21
23
|
readonly options: any;
|
|
22
24
|
} & {
|
|
23
25
|
addStaticOption(option: {
|
|
@@ -25,7 +27,7 @@ export declare const FilterConfigModel_BaseSelect: import("mobx-state-tree").IMo
|
|
|
25
27
|
value: string;
|
|
26
28
|
}): void;
|
|
27
29
|
removeStaticOption(index: number): void;
|
|
28
|
-
|
|
29
|
-
setOptionsQueryID(id: string): void;
|
|
30
|
+
setDefaultSelectionCount(v: number): void;
|
|
31
|
+
setOptionsQueryID(id: string | null): void;
|
|
30
32
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
|
|
31
33
|
export declare type IFilterConfig_BaseSelect = Instance<typeof FilterConfigModel_BaseSelect>;
|
|
@@ -13,8 +13,10 @@ export declare const FilterConfigModel_Select: import("mobx-state-tree").IModelT
|
|
|
13
13
|
setValue(value: string): void;
|
|
14
14
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>, [undefined]>;
|
|
15
15
|
options_query_id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
16
|
-
|
|
16
|
+
default_selection_count: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<number>, [undefined]>;
|
|
17
17
|
}, {
|
|
18
|
+
readonly usingQuery: boolean;
|
|
19
|
+
} & {
|
|
18
20
|
readonly options: any;
|
|
19
21
|
} & {
|
|
20
22
|
addStaticOption(option: {
|
|
@@ -22,8 +24,8 @@ export declare const FilterConfigModel_Select: import("mobx-state-tree").IModelT
|
|
|
22
24
|
value: string;
|
|
23
25
|
}): void;
|
|
24
26
|
removeStaticOption(index: number): void;
|
|
25
|
-
|
|
26
|
-
setOptionsQueryID(id: string): void;
|
|
27
|
+
setDefaultSelectionCount(v: number): void;
|
|
28
|
+
setOptionsQueryID(id: string | null): void;
|
|
27
29
|
} & {
|
|
28
30
|
setRequired(required: boolean): void;
|
|
29
31
|
setDefaultValue(default_value: string): void;
|
|
@@ -49,8 +51,10 @@ export declare const createFilterConfig_Select: () => {
|
|
|
49
51
|
setValue(value: string): void;
|
|
50
52
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>, [undefined]>>;
|
|
51
53
|
options_query_id: string;
|
|
52
|
-
|
|
54
|
+
default_selection_count: number;
|
|
53
55
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
56
|
+
readonly usingQuery: boolean;
|
|
57
|
+
} & {
|
|
54
58
|
readonly options: any;
|
|
55
59
|
} & {
|
|
56
60
|
addStaticOption(option: {
|
|
@@ -58,8 +62,8 @@ export declare const createFilterConfig_Select: () => {
|
|
|
58
62
|
value: string;
|
|
59
63
|
}): void;
|
|
60
64
|
removeStaticOption(index: number): void;
|
|
61
|
-
|
|
62
|
-
setOptionsQueryID(id: string): void;
|
|
65
|
+
setDefaultSelectionCount(v: number): void;
|
|
66
|
+
setOptionsQueryID(id: string | null): void;
|
|
63
67
|
} & {
|
|
64
68
|
setRequired(required: boolean): void;
|
|
65
69
|
setDefaultValue(default_value: string): void;
|
|
@@ -78,8 +82,10 @@ export declare const createFilterConfig_Select: () => {
|
|
|
78
82
|
setValue(value: string): void;
|
|
79
83
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>, [undefined]>;
|
|
80
84
|
options_query_id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
81
|
-
|
|
85
|
+
default_selection_count: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<number>, [undefined]>;
|
|
82
86
|
}, {
|
|
87
|
+
readonly usingQuery: boolean;
|
|
88
|
+
} & {
|
|
83
89
|
readonly options: any;
|
|
84
90
|
} & {
|
|
85
91
|
addStaticOption(option: {
|
|
@@ -87,8 +93,8 @@ export declare const createFilterConfig_Select: () => {
|
|
|
87
93
|
value: string;
|
|
88
94
|
}): void;
|
|
89
95
|
removeStaticOption(index: number): void;
|
|
90
|
-
|
|
91
|
-
setOptionsQueryID(id: string): void;
|
|
96
|
+
setDefaultSelectionCount(v: number): void;
|
|
97
|
+
setOptionsQueryID(id: string | null): void;
|
|
92
98
|
} & {
|
|
93
99
|
setRequired(required: boolean): void;
|
|
94
100
|
setDefaultValue(default_value: string): void;
|
|
@@ -12,8 +12,10 @@ export declare const FilterConfigModel_TreeSelect: import("mobx-state-tree").IMo
|
|
|
12
12
|
setValue(value: string): void;
|
|
13
13
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>, [undefined]>;
|
|
14
14
|
options_query_id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
15
|
-
|
|
15
|
+
default_selection_count: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<number>, [undefined]>;
|
|
16
16
|
}, {
|
|
17
|
+
readonly usingQuery: boolean;
|
|
18
|
+
} & {
|
|
17
19
|
readonly options: any;
|
|
18
20
|
} & {
|
|
19
21
|
addStaticOption(option: {
|
|
@@ -21,8 +23,8 @@ export declare const FilterConfigModel_TreeSelect: import("mobx-state-tree").IMo
|
|
|
21
23
|
value: string;
|
|
22
24
|
}): void;
|
|
23
25
|
removeStaticOption(index: number): void;
|
|
24
|
-
|
|
25
|
-
setOptionsQueryID(id: string): void;
|
|
26
|
+
setDefaultSelectionCount(v: number): void;
|
|
27
|
+
setOptionsQueryID(id: string | null): void;
|
|
26
28
|
} & {
|
|
27
29
|
setDefaultValue(default_value: string[]): void;
|
|
28
30
|
setMinWidth(v: string): void;
|
|
@@ -46,8 +48,10 @@ export declare const createFilterConfig_TreeSelect: () => {
|
|
|
46
48
|
setValue(value: string): void;
|
|
47
49
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>, [undefined]>>;
|
|
48
50
|
options_query_id: string;
|
|
49
|
-
|
|
51
|
+
default_selection_count: number;
|
|
50
52
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
53
|
+
readonly usingQuery: boolean;
|
|
54
|
+
} & {
|
|
51
55
|
readonly options: any;
|
|
52
56
|
} & {
|
|
53
57
|
addStaticOption(option: {
|
|
@@ -55,8 +59,8 @@ export declare const createFilterConfig_TreeSelect: () => {
|
|
|
55
59
|
value: string;
|
|
56
60
|
}): void;
|
|
57
61
|
removeStaticOption(index: number): void;
|
|
58
|
-
|
|
59
|
-
setOptionsQueryID(id: string): void;
|
|
62
|
+
setDefaultSelectionCount(v: number): void;
|
|
63
|
+
setOptionsQueryID(id: string | null): void;
|
|
60
64
|
} & {
|
|
61
65
|
setDefaultValue(default_value: string[]): void;
|
|
62
66
|
setMinWidth(v: string): void;
|
|
@@ -73,8 +77,10 @@ export declare const createFilterConfig_TreeSelect: () => {
|
|
|
73
77
|
setValue(value: string): void;
|
|
74
78
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>, [undefined]>;
|
|
75
79
|
options_query_id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
76
|
-
|
|
80
|
+
default_selection_count: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<number>, [undefined]>;
|
|
77
81
|
}, {
|
|
82
|
+
readonly usingQuery: boolean;
|
|
83
|
+
} & {
|
|
78
84
|
readonly options: any;
|
|
79
85
|
} & {
|
|
80
86
|
addStaticOption(option: {
|
|
@@ -82,8 +88,8 @@ export declare const createFilterConfig_TreeSelect: () => {
|
|
|
82
88
|
value: string;
|
|
83
89
|
}): void;
|
|
84
90
|
removeStaticOption(index: number): void;
|
|
85
|
-
|
|
86
|
-
setOptionsQueryID(id: string): void;
|
|
91
|
+
setDefaultSelectionCount(v: number): void;
|
|
92
|
+
setOptionsQueryID(id: string | null): void;
|
|
87
93
|
} & {
|
|
88
94
|
setDefaultValue(default_value: string[]): void;
|
|
89
95
|
setMinWidth(v: string): void;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Instance, SnapshotIn } from 'mobx-state-tree';
|
|
2
|
+
import { EViewComponentType } from '~/types';
|
|
3
|
+
export declare const ViewConfigModel_Division: import("mobx-state-tree").IModelType<{
|
|
4
|
+
_name: import("mobx-state-tree").ISimpleType<EViewComponentType.Division>;
|
|
5
|
+
}, {
|
|
6
|
+
readonly json: {
|
|
7
|
+
_name: EViewComponentType.Division;
|
|
8
|
+
};
|
|
9
|
+
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
|
|
10
|
+
export declare type IViewConfigModel_Division = Instance<typeof ViewConfigModel_Division>;
|
|
11
|
+
export declare type IViewConfigModel_DivisionIn = SnapshotIn<IViewConfigModel_Division>;
|
|
12
|
+
export declare const createViewConfig_Division: () => {
|
|
13
|
+
_name: EViewComponentType.Division;
|
|
14
|
+
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
15
|
+
readonly json: {
|
|
16
|
+
_name: EViewComponentType.Division;
|
|
17
|
+
};
|
|
18
|
+
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
19
|
+
_name: import("mobx-state-tree").ISimpleType<EViewComponentType.Division>;
|
|
20
|
+
}, {
|
|
21
|
+
readonly json: {
|
|
22
|
+
_name: EViewComponentType.Division;
|
|
23
|
+
};
|
|
24
|
+
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
@@ -3,8 +3,94 @@ import { EViewComponentType } from '~/types';
|
|
|
3
3
|
export declare const ViewModel: import("mobx-state-tree").IModelType<{
|
|
4
4
|
id: import("mobx-state-tree").ISimpleType<string>;
|
|
5
5
|
name: import("mobx-state-tree").ISimpleType<string>;
|
|
6
|
-
type: import("mobx-state-tree").ISimpleType<
|
|
7
|
-
config: import("mobx-state-tree").
|
|
6
|
+
type: import("mobx-state-tree").ISimpleType<EViewComponentType>;
|
|
7
|
+
config: import("mobx-state-tree").ITypeUnion<import("mobx-state-tree").ModelCreationType<import("mobx-state-tree/dist/internal").ExtractCFromProps<{
|
|
8
|
+
_name: import("mobx-state-tree").ISimpleType<EViewComponentType.Division>;
|
|
9
|
+
}>> | import("mobx-state-tree").ModelCreationType<import("mobx-state-tree/dist/internal").ExtractCFromProps<{
|
|
10
|
+
_name: import("mobx-state-tree").ISimpleType<EViewComponentType.Modal>;
|
|
11
|
+
width: import("mobx-state-tree").ISimpleType<string>;
|
|
12
|
+
height: import("mobx-state-tree").ISimpleType<string>;
|
|
13
|
+
custom_modal_title: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IModelType<{
|
|
14
|
+
enabled: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
15
|
+
func_content: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
16
|
+
}, {
|
|
17
|
+
readonly json: {
|
|
18
|
+
enabled: boolean;
|
|
19
|
+
func_content: string;
|
|
20
|
+
};
|
|
21
|
+
readonly value: any;
|
|
22
|
+
} & {
|
|
23
|
+
setEnabled(v: boolean): void;
|
|
24
|
+
setFuncContent(v: string): void;
|
|
25
|
+
replace({ enabled, func_content }: {
|
|
26
|
+
enabled: boolean;
|
|
27
|
+
func_content: string;
|
|
28
|
+
}): void;
|
|
29
|
+
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>, [undefined]>;
|
|
30
|
+
}>>, import("mobx-state-tree").ModelSnapshotType<{
|
|
31
|
+
_name: import("mobx-state-tree").ISimpleType<EViewComponentType.Division>;
|
|
32
|
+
}> | import("mobx-state-tree").ModelSnapshotType<{
|
|
33
|
+
_name: import("mobx-state-tree").ISimpleType<EViewComponentType.Modal>;
|
|
34
|
+
width: import("mobx-state-tree").ISimpleType<string>;
|
|
35
|
+
height: import("mobx-state-tree").ISimpleType<string>;
|
|
36
|
+
custom_modal_title: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IModelType<{
|
|
37
|
+
enabled: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
38
|
+
func_content: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
39
|
+
}, {
|
|
40
|
+
readonly json: {
|
|
41
|
+
enabled: boolean;
|
|
42
|
+
func_content: string;
|
|
43
|
+
};
|
|
44
|
+
readonly value: any;
|
|
45
|
+
} & {
|
|
46
|
+
setEnabled(v: boolean): void;
|
|
47
|
+
setFuncContent(v: string): void;
|
|
48
|
+
replace({ enabled, func_content }: {
|
|
49
|
+
enabled: boolean;
|
|
50
|
+
func_content: string;
|
|
51
|
+
}): void;
|
|
52
|
+
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>, [undefined]>;
|
|
53
|
+
}>, import("mobx-state-tree").ModelInstanceType<{
|
|
54
|
+
_name: import("mobx-state-tree").ISimpleType<EViewComponentType.Division>;
|
|
55
|
+
}, {
|
|
56
|
+
readonly json: {
|
|
57
|
+
_name: EViewComponentType.Division;
|
|
58
|
+
};
|
|
59
|
+
}> | import("mobx-state-tree").ModelInstanceType<{
|
|
60
|
+
_name: import("mobx-state-tree").ISimpleType<EViewComponentType.Modal>;
|
|
61
|
+
width: import("mobx-state-tree").ISimpleType<string>;
|
|
62
|
+
height: import("mobx-state-tree").ISimpleType<string>;
|
|
63
|
+
custom_modal_title: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IModelType<{
|
|
64
|
+
enabled: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
65
|
+
func_content: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
66
|
+
}, {
|
|
67
|
+
readonly json: {
|
|
68
|
+
enabled: boolean;
|
|
69
|
+
func_content: string;
|
|
70
|
+
};
|
|
71
|
+
readonly value: any;
|
|
72
|
+
} & {
|
|
73
|
+
setEnabled(v: boolean): void;
|
|
74
|
+
setFuncContent(v: string): void;
|
|
75
|
+
replace({ enabled, func_content }: {
|
|
76
|
+
enabled: boolean;
|
|
77
|
+
func_content: string;
|
|
78
|
+
}): void;
|
|
79
|
+
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>, [undefined]>;
|
|
80
|
+
}, {
|
|
81
|
+
readonly json: {
|
|
82
|
+
_name: EViewComponentType.Modal;
|
|
83
|
+
width: string;
|
|
84
|
+
height: string;
|
|
85
|
+
custom_modal_title: {
|
|
86
|
+
enabled: boolean;
|
|
87
|
+
func_content: string;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
} & {
|
|
91
|
+
setWidth(v: string): void;
|
|
92
|
+
setHeight(v: string): void;
|
|
93
|
+
}>>;
|
|
8
94
|
panels: import("mobx-state-tree").IModelType<{
|
|
9
95
|
list: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IModelType<{
|
|
10
96
|
id: import("mobx-state-tree").ISimpleType<string>;
|
|
@@ -8087,8 +8173,18 @@ export declare const ViewModel: import("mobx-state-tree").IModelType<{
|
|
|
8087
8173
|
readonly json: {
|
|
8088
8174
|
id: string;
|
|
8089
8175
|
name: string;
|
|
8090
|
-
type:
|
|
8091
|
-
config:
|
|
8176
|
+
type: EViewComponentType;
|
|
8177
|
+
config: {
|
|
8178
|
+
_name: EViewComponentType.Division;
|
|
8179
|
+
} | {
|
|
8180
|
+
_name: EViewComponentType.Modal;
|
|
8181
|
+
width: string;
|
|
8182
|
+
height: string;
|
|
8183
|
+
custom_modal_title: {
|
|
8184
|
+
enabled: boolean;
|
|
8185
|
+
func_content: string;
|
|
8186
|
+
};
|
|
8187
|
+
};
|
|
8092
8188
|
panels: {
|
|
8093
8189
|
id: string;
|
|
8094
8190
|
title: string;
|
|
@@ -8181,7 +8277,5 @@ export declare const ViewModel: import("mobx-state-tree").IModelType<{
|
|
|
8181
8277
|
} & {
|
|
8182
8278
|
setName(name: string): void;
|
|
8183
8279
|
setType(type: EViewComponentType): void;
|
|
8184
|
-
setConfig(config: Record<string, any>): void;
|
|
8185
|
-
updateConfig(key: string, value: $TSFixMe): void;
|
|
8186
8280
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
|
|
8187
8281
|
export declare type ViewModelInstance = Instance<typeof ViewModel>;
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import { Instance, SnapshotIn } from 'mobx-state-tree';
|
|
2
|
+
import { EViewComponentType } from '~/types';
|
|
3
|
+
export declare const ViewConfigModel_Modal: import("mobx-state-tree").IModelType<{
|
|
4
|
+
_name: import("mobx-state-tree").ISimpleType<EViewComponentType.Modal>;
|
|
5
|
+
width: import("mobx-state-tree").ISimpleType<string>;
|
|
6
|
+
height: import("mobx-state-tree").ISimpleType<string>;
|
|
7
|
+
custom_modal_title: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IModelType<{
|
|
8
|
+
enabled: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
9
|
+
func_content: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
10
|
+
}, {
|
|
11
|
+
readonly json: {
|
|
12
|
+
enabled: boolean;
|
|
13
|
+
func_content: string;
|
|
14
|
+
};
|
|
15
|
+
readonly value: any;
|
|
16
|
+
} & {
|
|
17
|
+
setEnabled(v: boolean): void;
|
|
18
|
+
setFuncContent(v: string): void;
|
|
19
|
+
replace({ enabled, func_content }: {
|
|
20
|
+
enabled: boolean;
|
|
21
|
+
func_content: string;
|
|
22
|
+
}): void;
|
|
23
|
+
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>, [undefined]>;
|
|
24
|
+
}, {
|
|
25
|
+
readonly json: {
|
|
26
|
+
_name: EViewComponentType.Modal;
|
|
27
|
+
width: string;
|
|
28
|
+
height: string;
|
|
29
|
+
custom_modal_title: {
|
|
30
|
+
enabled: boolean;
|
|
31
|
+
func_content: string;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
} & {
|
|
35
|
+
setWidth(v: string): void;
|
|
36
|
+
setHeight(v: string): void;
|
|
37
|
+
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
|
|
38
|
+
export declare type IViewConfigModel_Modal = Instance<typeof ViewConfigModel_Modal>;
|
|
39
|
+
export declare type IViewConfigModel_ModalIn = SnapshotIn<IViewConfigModel_Modal>;
|
|
40
|
+
export declare const createViewConfig_Modal: () => {
|
|
41
|
+
_name: EViewComponentType.Modal;
|
|
42
|
+
width: string;
|
|
43
|
+
height: string;
|
|
44
|
+
custom_modal_title: {
|
|
45
|
+
enabled: boolean;
|
|
46
|
+
func_content: string;
|
|
47
|
+
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
48
|
+
readonly json: {
|
|
49
|
+
enabled: boolean;
|
|
50
|
+
func_content: string;
|
|
51
|
+
};
|
|
52
|
+
readonly value: any;
|
|
53
|
+
} & {
|
|
54
|
+
setEnabled(v: boolean): void;
|
|
55
|
+
setFuncContent(v: string): void;
|
|
56
|
+
replace({ enabled, func_content }: {
|
|
57
|
+
enabled: boolean;
|
|
58
|
+
func_content: string;
|
|
59
|
+
}): void;
|
|
60
|
+
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IModelType<{
|
|
61
|
+
enabled: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
62
|
+
func_content: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
63
|
+
}, {
|
|
64
|
+
readonly json: {
|
|
65
|
+
enabled: boolean;
|
|
66
|
+
func_content: string;
|
|
67
|
+
};
|
|
68
|
+
readonly value: any;
|
|
69
|
+
} & {
|
|
70
|
+
setEnabled(v: boolean): void;
|
|
71
|
+
setFuncContent(v: string): void;
|
|
72
|
+
replace({ enabled, func_content }: {
|
|
73
|
+
enabled: boolean;
|
|
74
|
+
func_content: string;
|
|
75
|
+
}): void;
|
|
76
|
+
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>, [undefined]>>;
|
|
77
|
+
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
78
|
+
readonly json: {
|
|
79
|
+
_name: EViewComponentType.Modal;
|
|
80
|
+
width: string;
|
|
81
|
+
height: string;
|
|
82
|
+
custom_modal_title: {
|
|
83
|
+
enabled: boolean;
|
|
84
|
+
func_content: string;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
} & {
|
|
88
|
+
setWidth(v: string): void;
|
|
89
|
+
setHeight(v: string): void;
|
|
90
|
+
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
91
|
+
_name: import("mobx-state-tree").ISimpleType<EViewComponentType.Modal>;
|
|
92
|
+
width: import("mobx-state-tree").ISimpleType<string>;
|
|
93
|
+
height: import("mobx-state-tree").ISimpleType<string>;
|
|
94
|
+
custom_modal_title: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IModelType<{
|
|
95
|
+
enabled: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
96
|
+
func_content: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
97
|
+
}, {
|
|
98
|
+
readonly json: {
|
|
99
|
+
enabled: boolean;
|
|
100
|
+
func_content: string;
|
|
101
|
+
};
|
|
102
|
+
readonly value: any;
|
|
103
|
+
} & {
|
|
104
|
+
setEnabled(v: boolean): void;
|
|
105
|
+
setFuncContent(v: string): void;
|
|
106
|
+
replace({ enabled, func_content }: {
|
|
107
|
+
enabled: boolean;
|
|
108
|
+
func_content: string;
|
|
109
|
+
}): void;
|
|
110
|
+
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>, [undefined]>;
|
|
111
|
+
}, {
|
|
112
|
+
readonly json: {
|
|
113
|
+
_name: EViewComponentType.Modal;
|
|
114
|
+
width: string;
|
|
115
|
+
height: string;
|
|
116
|
+
custom_modal_title: {
|
|
117
|
+
enabled: boolean;
|
|
118
|
+
func_content: string;
|
|
119
|
+
};
|
|
120
|
+
};
|
|
121
|
+
} & {
|
|
122
|
+
setWidth(v: string): void;
|
|
123
|
+
setHeight(v: string): void;
|
|
124
|
+
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
package/dist/types/filter.d.ts
CHANGED