@ws-ui/store 0.3.9 → 0.3.11
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 +2 -6
- package/dist/hooks/store.d.ts +24 -3
- package/dist/index.cjs.js +86 -115
- package/dist/index.cjs.js.map +1 -0
- package/dist/index.es.js +12235 -17422
- package/dist/index.es.js.map +1 -0
- package/dist/modules/catalog/index.d.ts +9 -1
- package/dist/modules/catalog/reducer.d.ts +9 -1
- package/dist/modules/catalog/thunks.d.ts +10 -1
- package/dist/modules/debugger/index.d.ts +1 -1
- package/dist/modules/debugger/reducer.d.ts +118 -3
- package/dist/modules/debugger/thunks.d.ts +26 -2
- package/dist/modules/debugger/types.d.ts +2 -2
- package/dist/modules/explorer/index.d.ts +1 -1
- package/dist/modules/explorer/reducer.d.ts +44 -2
- package/dist/modules/explorer/thunks.d.ts +368 -33
- package/dist/modules/explorer/utils.d.ts +2 -1
- package/dist/modules/index.d.ts +22 -1
- package/dist/modules/modals/index.d.ts +1 -1
- package/dist/modules/modals/reducer.d.ts +13 -2
- package/dist/modules/modals/thunks.d.ts +20 -1
- package/dist/modules/modals/types.d.ts +1 -1
- package/dist/modules/model/helpers.d.ts +2 -2
- package/dist/modules/model/index.d.ts +1 -1
- package/dist/modules/model/reducer.d.ts +10 -2
- package/dist/modules/model/selectors.d.ts +13 -7
- package/dist/modules/model/subjects.d.ts +7 -1
- package/dist/modules/model/thunks.d.ts +89 -4
- package/dist/modules/model/utils.d.ts +5 -5
- package/dist/modules/roles/index.d.ts +1 -1
- package/dist/modules/roles/reducer.d.ts +41 -2
- package/dist/modules/roles/thunks.d.ts +42 -3
- package/dist/modules/root/index.d.ts +1 -1
- package/dist/modules/root/reducer.d.ts +199 -2
- package/dist/modules/root/thunks.d.ts +246 -16
- package/dist/modules/root/types.d.ts +1 -1
- package/dist/modules/settings/index.d.ts +1 -1
- package/dist/modules/settings/reducer.d.ts +28 -2
- package/dist/modules/settings/thunks.d.ts +23 -2
- package/dist/modules/shared-conditions/index.d.ts +1 -1
- package/dist/modules/shared-conditions/reducer.d.ts +35 -3
- package/dist/modules/shared-conditions/thunks.d.ts +13 -1
- package/dist/modules/shared-conditions/utils.d.ts +2 -0
- package/dist/modules/shared-css/index.d.ts +1 -1
- package/dist/modules/shared-css/reducer.d.ts +14 -2
- package/dist/modules/shared-css/thunks.d.ts +13 -1
- package/dist/modules/shared-datasources/index.d.ts +1 -1
- package/dist/modules/shared-datasources/reducer.d.ts +10 -2
- package/dist/modules/shared-datasources/thunks.d.ts +73 -6
- package/dist/modules/tabs/index.d.ts +1 -1
- package/dist/modules/tabs/reducer.d.ts +1 -1
- package/dist/modules/tabs/selectors.d.ts +52 -1
- package/dist/modules/webforms/datasources.adapter.d.ts +24 -2
- package/dist/modules/webforms/index.d.ts +1 -1
- package/dist/modules/webforms/reducer.d.ts +47 -2
- package/dist/modules/webforms/thunks.d.ts +140 -10
- package/dist/modules/webforms/types.d.ts +1 -1
- package/dist/provider.d.ts +1 -1
- package/dist/selectors/catalog.d.ts +200 -8
- package/dist/selectors/common.d.ts +89 -1
- package/dist/selectors/components.d.ts +50 -1
- package/dist/selectors/datasources.d.ts +152 -4
- package/dist/selectors/debugger.d.ts +612 -26
- package/dist/selectors/explorer.d.ts +1010 -22
- package/dist/selectors/modals.d.ts +26 -1
- package/dist/selectors/roles.d.ts +238 -8
- package/dist/selectors/settings.d.ts +332 -12
- package/dist/selectors/states.d.ts +201 -5
- package/dist/selectors/styles.d.ts +162 -5
- package/dist/selectors/tabs.d.ts +156 -3
- package/dist/selectors/webforms.d.ts +366 -13
- package/dist/store.d.ts +45 -3
- package/dist/utils.d.ts +4 -4
- package/package.json +55 -15
- package/dist/package.json +0 -28
- package/dist/style.css +0 -1
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { WebformState } from '@ws-ui/shared';
|
|
2
|
+
|
|
1
3
|
export declare const ROOT_WEBFORM_STATE: {
|
|
2
4
|
label: string;
|
|
3
5
|
id: string;
|
|
@@ -9,22 +11,216 @@ export declare const isBaseState: (state: WebformState) => boolean;
|
|
|
9
11
|
* @param exclude states to exclude (by id)
|
|
10
12
|
* @returns states or an empty array if not found.
|
|
11
13
|
*/
|
|
12
|
-
export declare const selectWebformStatesByPath: (tabPath: string, exclude?: string[]) =>
|
|
14
|
+
export declare const selectWebformStatesByPath: (tabPath: string, exclude?: string[]) => ((state: import('redux').EmptyObject & {
|
|
15
|
+
root: import('../modules').IRootState;
|
|
16
|
+
explorer: import('../modules').ITreeItem[];
|
|
17
|
+
debugger: import('../modules').IDebuggerState;
|
|
18
|
+
settings: import('../modules').ISettingsState;
|
|
19
|
+
catalog: {
|
|
20
|
+
state: "loading";
|
|
21
|
+
} | {
|
|
22
|
+
state: "loaded";
|
|
23
|
+
model: datasources.IEnhancedCatalog;
|
|
24
|
+
} | {
|
|
25
|
+
state: "error";
|
|
26
|
+
error: string;
|
|
27
|
+
};
|
|
28
|
+
roles: import('../modules').IRolesState;
|
|
29
|
+
sharedDatasources: import('../modules').ISharedDatasourcesState;
|
|
30
|
+
savedConditions: import('../modules').ISavedConditionsState;
|
|
31
|
+
webforms: import('../modules').IWebformEditorState;
|
|
32
|
+
modals: import('../modules').IModalsState;
|
|
33
|
+
sharedCSS: import('../modules').ISharedCSSState;
|
|
34
|
+
model: import('../modules').IModelState;
|
|
35
|
+
}) => WebformState[]) & import('reselect').OutputSelectorFields<(args_0: import('@ws-ui/shared').ITab<any, Partial<{
|
|
36
|
+
initialLineInfo: {
|
|
37
|
+
line: number;
|
|
38
|
+
offset?: number;
|
|
39
|
+
lastModification: number;
|
|
40
|
+
};
|
|
41
|
+
initialSelectionInfo: {
|
|
42
|
+
selection: import('@ws-ui/shared').ITextEditorSelection;
|
|
43
|
+
lastModification: number;
|
|
44
|
+
};
|
|
45
|
+
diffContent: string;
|
|
46
|
+
attributes: import('@ws-ui/shared').IMethodAttributes;
|
|
47
|
+
source: import('@ws-ui/shared').ISource;
|
|
48
|
+
editor: import('@ws-ui/shared').IEditor;
|
|
49
|
+
ext: import('@ws-ui/shared').DebuggerFileExtension;
|
|
50
|
+
kind: string;
|
|
51
|
+
}>> | undefined) => WebformState[], {
|
|
52
|
+
clearCache: () => void;
|
|
53
|
+
}> & {
|
|
54
|
+
clearCache: () => void;
|
|
55
|
+
};
|
|
13
56
|
/**
|
|
14
57
|
* Returns the list of states labels in the current tab.
|
|
15
58
|
* @param tabPath the current tab path.
|
|
16
59
|
* @param exclude states to exclude (by id)
|
|
17
60
|
* @returns states labels or an empty array if not found.
|
|
18
61
|
*/
|
|
19
|
-
export declare const selectWebformStatesLabelsByPath: (tabPath: string, exclude?: string[]) =>
|
|
62
|
+
export declare const selectWebformStatesLabelsByPath: (tabPath: string, exclude?: string[]) => ((state: import('redux').EmptyObject & {
|
|
63
|
+
root: import('../modules').IRootState;
|
|
64
|
+
explorer: import('../modules').ITreeItem[];
|
|
65
|
+
debugger: import('../modules').IDebuggerState;
|
|
66
|
+
settings: import('../modules').ISettingsState;
|
|
67
|
+
catalog: {
|
|
68
|
+
state: "loading";
|
|
69
|
+
} | {
|
|
70
|
+
state: "loaded";
|
|
71
|
+
model: datasources.IEnhancedCatalog;
|
|
72
|
+
} | {
|
|
73
|
+
state: "error";
|
|
74
|
+
error: string;
|
|
75
|
+
};
|
|
76
|
+
roles: import('../modules').IRolesState;
|
|
77
|
+
sharedDatasources: import('../modules').ISharedDatasourcesState;
|
|
78
|
+
savedConditions: import('../modules').ISavedConditionsState;
|
|
79
|
+
webforms: import('../modules').IWebformEditorState;
|
|
80
|
+
modals: import('../modules').IModalsState;
|
|
81
|
+
sharedCSS: import('../modules').ISharedCSSState;
|
|
82
|
+
model: import('../modules').IModelState;
|
|
83
|
+
}) => string[]) & import('reselect').OutputSelectorFields<(args_0: WebformState[]) => string[], {
|
|
84
|
+
clearCache: () => void;
|
|
85
|
+
}> & {
|
|
86
|
+
clearCache: () => void;
|
|
87
|
+
};
|
|
20
88
|
/**
|
|
21
89
|
* Returns the list of default states in the current tab.
|
|
22
90
|
* @param tabPath the current tab path.
|
|
23
91
|
* @returns default states ids array or an empty array if not found.
|
|
24
92
|
*/
|
|
25
|
-
export declare const selectDefaultWebformStatesByPath: (tabPath: string) =>
|
|
26
|
-
|
|
93
|
+
export declare const selectDefaultWebformStatesByPath: (tabPath: string) => ((state: import('redux').EmptyObject & {
|
|
94
|
+
root: import('../modules').IRootState;
|
|
95
|
+
explorer: import('../modules').ITreeItem[];
|
|
96
|
+
debugger: import('../modules').IDebuggerState;
|
|
97
|
+
settings: import('../modules').ISettingsState;
|
|
98
|
+
catalog: {
|
|
99
|
+
state: "loading";
|
|
100
|
+
} | {
|
|
101
|
+
state: "loaded";
|
|
102
|
+
model: datasources.IEnhancedCatalog;
|
|
103
|
+
} | {
|
|
104
|
+
state: "error";
|
|
105
|
+
error: string;
|
|
106
|
+
};
|
|
107
|
+
roles: import('../modules').IRolesState;
|
|
108
|
+
sharedDatasources: import('../modules').ISharedDatasourcesState;
|
|
109
|
+
savedConditions: import('../modules').ISavedConditionsState;
|
|
110
|
+
webforms: import('../modules').IWebformEditorState;
|
|
111
|
+
modals: import('../modules').IModalsState;
|
|
112
|
+
sharedCSS: import('../modules').ISharedCSSState;
|
|
113
|
+
model: import('../modules').IModelState;
|
|
114
|
+
}) => string[]) & import('reselect').OutputSelectorFields<(args_0: import('@ws-ui/shared').ITab<any, Partial<{
|
|
115
|
+
initialLineInfo: {
|
|
116
|
+
line: number;
|
|
117
|
+
offset?: number;
|
|
118
|
+
lastModification: number;
|
|
119
|
+
};
|
|
120
|
+
initialSelectionInfo: {
|
|
121
|
+
selection: import('@ws-ui/shared').ITextEditorSelection;
|
|
122
|
+
lastModification: number;
|
|
123
|
+
};
|
|
124
|
+
diffContent: string;
|
|
125
|
+
attributes: import('@ws-ui/shared').IMethodAttributes;
|
|
126
|
+
source: import('@ws-ui/shared').ISource;
|
|
127
|
+
editor: import('@ws-ui/shared').IEditor;
|
|
128
|
+
ext: import('@ws-ui/shared').DebuggerFileExtension;
|
|
129
|
+
kind: string;
|
|
130
|
+
}>> | undefined) => string[], {
|
|
131
|
+
clearCache: () => void;
|
|
132
|
+
}> & {
|
|
133
|
+
clearCache: () => void;
|
|
134
|
+
};
|
|
135
|
+
export declare const selectCurrentWebformStateByPath: (tabPath: string) => ((state: import('redux').EmptyObject & {
|
|
136
|
+
root: import('../modules').IRootState;
|
|
137
|
+
explorer: import('../modules').ITreeItem[];
|
|
138
|
+
debugger: import('../modules').IDebuggerState;
|
|
139
|
+
settings: import('../modules').ISettingsState;
|
|
140
|
+
catalog: {
|
|
141
|
+
state: "loading";
|
|
142
|
+
} | {
|
|
143
|
+
state: "loaded";
|
|
144
|
+
model: datasources.IEnhancedCatalog;
|
|
145
|
+
} | {
|
|
146
|
+
state: "error";
|
|
147
|
+
error: string;
|
|
148
|
+
};
|
|
149
|
+
roles: import('../modules').IRolesState;
|
|
150
|
+
sharedDatasources: import('../modules').ISharedDatasourcesState;
|
|
151
|
+
savedConditions: import('../modules').ISavedConditionsState;
|
|
152
|
+
webforms: import('../modules').IWebformEditorState;
|
|
153
|
+
modals: import('../modules').IModalsState;
|
|
154
|
+
sharedCSS: import('../modules').ISharedCSSState;
|
|
155
|
+
model: import('../modules').IModelState;
|
|
156
|
+
}) => WebformState) & import('reselect').OutputSelectorFields<(args_0: import('@ws-ui/shared').ITab<any, Partial<{
|
|
157
|
+
initialLineInfo: {
|
|
158
|
+
line: number;
|
|
159
|
+
offset?: number;
|
|
160
|
+
lastModification: number;
|
|
161
|
+
};
|
|
162
|
+
initialSelectionInfo: {
|
|
163
|
+
selection: import('@ws-ui/shared').ITextEditorSelection;
|
|
164
|
+
lastModification: number;
|
|
165
|
+
};
|
|
166
|
+
diffContent: string;
|
|
167
|
+
attributes: import('@ws-ui/shared').IMethodAttributes;
|
|
168
|
+
source: import('@ws-ui/shared').ISource;
|
|
169
|
+
editor: import('@ws-ui/shared').IEditor;
|
|
170
|
+
ext: import('@ws-ui/shared').DebuggerFileExtension;
|
|
171
|
+
kind: string;
|
|
172
|
+
}>> | undefined) => WebformState, {
|
|
173
|
+
clearCache: () => void;
|
|
174
|
+
}> & {
|
|
175
|
+
clearCache: () => void;
|
|
176
|
+
};
|
|
27
177
|
/**
|
|
28
178
|
* Returns the shared states conditions.
|
|
29
179
|
*/
|
|
30
|
-
export declare const selectSavedConditions:
|
|
180
|
+
export declare const selectSavedConditions: ((state: import('redux').EmptyObject & {
|
|
181
|
+
root: import('../modules').IRootState;
|
|
182
|
+
explorer: import('../modules').ITreeItem[];
|
|
183
|
+
debugger: import('../modules').IDebuggerState;
|
|
184
|
+
settings: import('../modules').ISettingsState;
|
|
185
|
+
catalog: {
|
|
186
|
+
state: "loading";
|
|
187
|
+
} | {
|
|
188
|
+
state: "loaded";
|
|
189
|
+
model: datasources.IEnhancedCatalog;
|
|
190
|
+
} | {
|
|
191
|
+
state: "error";
|
|
192
|
+
error: string;
|
|
193
|
+
};
|
|
194
|
+
roles: import('../modules').IRolesState;
|
|
195
|
+
sharedDatasources: import('../modules').ISharedDatasourcesState;
|
|
196
|
+
savedConditions: import('../modules').ISavedConditionsState;
|
|
197
|
+
webforms: import('../modules').IWebformEditorState;
|
|
198
|
+
modals: import('../modules').IModalsState;
|
|
199
|
+
sharedCSS: import('../modules').ISharedCSSState;
|
|
200
|
+
model: import('../modules').IModelState;
|
|
201
|
+
}) => import('@ws-ui/shared').WebformStateCondition[]) & import('reselect').OutputSelectorFields<(args_0: import('redux').CombinedState<{
|
|
202
|
+
root: import('../modules').IRootState;
|
|
203
|
+
explorer: import('../modules').ITreeItem[];
|
|
204
|
+
debugger: import('../modules').IDebuggerState;
|
|
205
|
+
settings: import('../modules').ISettingsState;
|
|
206
|
+
catalog: {
|
|
207
|
+
state: "loading";
|
|
208
|
+
} | {
|
|
209
|
+
state: "loaded";
|
|
210
|
+
model: datasources.IEnhancedCatalog;
|
|
211
|
+
} | {
|
|
212
|
+
state: "error";
|
|
213
|
+
error: string;
|
|
214
|
+
};
|
|
215
|
+
roles: import('../modules').IRolesState;
|
|
216
|
+
sharedDatasources: import('../modules').ISharedDatasourcesState;
|
|
217
|
+
savedConditions: import('../modules').ISavedConditionsState;
|
|
218
|
+
webforms: import('../modules').IWebformEditorState;
|
|
219
|
+
modals: import('../modules').IModalsState;
|
|
220
|
+
sharedCSS: import('../modules').ISharedCSSState;
|
|
221
|
+
model: import('../modules').IModelState;
|
|
222
|
+
}>) => import('@ws-ui/shared').WebformStateCondition[], {
|
|
223
|
+
clearCache: () => void;
|
|
224
|
+
}> & {
|
|
225
|
+
clearCache: () => void;
|
|
226
|
+
};
|
|
@@ -1,7 +1,164 @@
|
|
|
1
|
-
import { EWebFormStyleClassScope } from '@ws-ui/shared';
|
|
1
|
+
import { EWebFormStyleClassScope, IWebFormStyleClass, ITab } from '@ws-ui/shared';
|
|
2
2
|
|
|
3
3
|
export declare const THEME_CLASSES: string[];
|
|
4
|
-
export declare const selectWebformStylesByPath: (path: string) =>
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
export declare const selectWebformStylesByPath: (path: string) => ((state: import('redux').EmptyObject & {
|
|
5
|
+
root: import('..').IRootState;
|
|
6
|
+
explorer: import('..').ITreeItem[];
|
|
7
|
+
debugger: import('..').IDebuggerState;
|
|
8
|
+
settings: import('..').ISettingsState;
|
|
9
|
+
catalog: {
|
|
10
|
+
state: "loading";
|
|
11
|
+
} | {
|
|
12
|
+
state: "loaded";
|
|
13
|
+
model: datasources.IEnhancedCatalog;
|
|
14
|
+
} | {
|
|
15
|
+
state: "error";
|
|
16
|
+
error: string;
|
|
17
|
+
};
|
|
18
|
+
roles: import('..').IRolesState;
|
|
19
|
+
sharedDatasources: import('..').ISharedDatasourcesState;
|
|
20
|
+
savedConditions: import('..').ISavedConditionsState;
|
|
21
|
+
webforms: import('..').IWebformEditorState;
|
|
22
|
+
modals: import('..').IModalsState;
|
|
23
|
+
sharedCSS: import('..').ISharedCSSState;
|
|
24
|
+
model: import('..').IModelState;
|
|
25
|
+
}) => IWebFormStyleClass[]) & import('reselect').OutputSelectorFields<(args_0: ITab<any, Partial<{
|
|
26
|
+
initialLineInfo: {
|
|
27
|
+
line: number;
|
|
28
|
+
offset?: number;
|
|
29
|
+
lastModification: number;
|
|
30
|
+
};
|
|
31
|
+
initialSelectionInfo: {
|
|
32
|
+
selection: import('@ws-ui/shared').ITextEditorSelection;
|
|
33
|
+
lastModification: number;
|
|
34
|
+
};
|
|
35
|
+
diffContent: string;
|
|
36
|
+
attributes: import('@ws-ui/shared').IMethodAttributes;
|
|
37
|
+
source: import('@ws-ui/shared').ISource;
|
|
38
|
+
editor: import('@ws-ui/shared').IEditor;
|
|
39
|
+
ext: import('@ws-ui/shared').DebuggerFileExtension;
|
|
40
|
+
kind: string;
|
|
41
|
+
}>> | undefined) => IWebFormStyleClass[], {
|
|
42
|
+
clearCache: () => void;
|
|
43
|
+
}> & {
|
|
44
|
+
clearCache: () => void;
|
|
45
|
+
};
|
|
46
|
+
export declare const selectStylesByPath: (path: string, scopes: EWebFormStyleClassScope[]) => ((state: import('redux').EmptyObject & {
|
|
47
|
+
root: import('..').IRootState;
|
|
48
|
+
explorer: import('..').ITreeItem[];
|
|
49
|
+
debugger: import('..').IDebuggerState;
|
|
50
|
+
settings: import('..').ISettingsState;
|
|
51
|
+
catalog: {
|
|
52
|
+
state: "loading";
|
|
53
|
+
} | {
|
|
54
|
+
state: "loaded";
|
|
55
|
+
model: datasources.IEnhancedCatalog;
|
|
56
|
+
} | {
|
|
57
|
+
state: "error";
|
|
58
|
+
error: string;
|
|
59
|
+
};
|
|
60
|
+
roles: import('..').IRolesState;
|
|
61
|
+
sharedDatasources: import('..').ISharedDatasourcesState;
|
|
62
|
+
savedConditions: import('..').ISavedConditionsState;
|
|
63
|
+
webforms: import('..').IWebformEditorState;
|
|
64
|
+
modals: import('..').IModalsState;
|
|
65
|
+
sharedCSS: import('..').ISharedCSSState;
|
|
66
|
+
model: import('..').IModelState;
|
|
67
|
+
}) => IWebFormStyleClass[]) & import('reselect').OutputSelectorFields<(args_0: IWebFormStyleClass[]) => IWebFormStyleClass[], {
|
|
68
|
+
clearCache: () => void;
|
|
69
|
+
}> & {
|
|
70
|
+
clearCache: () => void;
|
|
71
|
+
};
|
|
72
|
+
export declare const selectCSSClassesByPath: (path: string) => ((state: import('redux').EmptyObject & {
|
|
73
|
+
root: import('..').IRootState;
|
|
74
|
+
explorer: import('..').ITreeItem[];
|
|
75
|
+
debugger: import('..').IDebuggerState;
|
|
76
|
+
settings: import('..').ISettingsState;
|
|
77
|
+
catalog: {
|
|
78
|
+
state: "loading";
|
|
79
|
+
} | {
|
|
80
|
+
state: "loaded";
|
|
81
|
+
model: datasources.IEnhancedCatalog;
|
|
82
|
+
} | {
|
|
83
|
+
state: "error";
|
|
84
|
+
error: string;
|
|
85
|
+
};
|
|
86
|
+
roles: import('..').IRolesState;
|
|
87
|
+
sharedDatasources: import('..').ISharedDatasourcesState;
|
|
88
|
+
savedConditions: import('..').ISavedConditionsState;
|
|
89
|
+
webforms: import('..').IWebformEditorState;
|
|
90
|
+
modals: import('..').IModalsState;
|
|
91
|
+
sharedCSS: import('..').ISharedCSSState;
|
|
92
|
+
model: import('..').IModelState;
|
|
93
|
+
}) => IWebFormStyleClass[]) & import('reselect').OutputSelectorFields<(args_0: IWebFormStyleClass[]) => IWebFormStyleClass[], {
|
|
94
|
+
clearCache: () => void;
|
|
95
|
+
}> & {
|
|
96
|
+
clearCache: () => void;
|
|
97
|
+
};
|
|
98
|
+
export declare const selectSharedCSS: ((state: import('redux').EmptyObject & {
|
|
99
|
+
root: import('..').IRootState;
|
|
100
|
+
explorer: import('..').ITreeItem[];
|
|
101
|
+
debugger: import('..').IDebuggerState;
|
|
102
|
+
settings: import('..').ISettingsState;
|
|
103
|
+
catalog: {
|
|
104
|
+
state: "loading";
|
|
105
|
+
} | {
|
|
106
|
+
state: "loaded";
|
|
107
|
+
model: datasources.IEnhancedCatalog;
|
|
108
|
+
} | {
|
|
109
|
+
state: "error";
|
|
110
|
+
error: string;
|
|
111
|
+
};
|
|
112
|
+
roles: import('..').IRolesState;
|
|
113
|
+
sharedDatasources: import('..').ISharedDatasourcesState;
|
|
114
|
+
savedConditions: import('..').ISavedConditionsState;
|
|
115
|
+
webforms: import('..').IWebformEditorState;
|
|
116
|
+
modals: import('..').IModalsState;
|
|
117
|
+
sharedCSS: import('..').ISharedCSSState;
|
|
118
|
+
model: import('..').IModelState;
|
|
119
|
+
}) => {
|
|
120
|
+
scope: EWebFormStyleClassScope;
|
|
121
|
+
id: string;
|
|
122
|
+
name: string;
|
|
123
|
+
content: string;
|
|
124
|
+
parentId: string | null;
|
|
125
|
+
children?: {
|
|
126
|
+
[key: string]: string;
|
|
127
|
+
};
|
|
128
|
+
origin?: string;
|
|
129
|
+
}[]) & import('reselect').OutputSelectorFields<(args_0: import('redux').CombinedState<{
|
|
130
|
+
root: import('..').IRootState;
|
|
131
|
+
explorer: import('..').ITreeItem[];
|
|
132
|
+
debugger: import('..').IDebuggerState;
|
|
133
|
+
settings: import('..').ISettingsState;
|
|
134
|
+
catalog: {
|
|
135
|
+
state: "loading";
|
|
136
|
+
} | {
|
|
137
|
+
state: "loaded";
|
|
138
|
+
model: datasources.IEnhancedCatalog;
|
|
139
|
+
} | {
|
|
140
|
+
state: "error";
|
|
141
|
+
error: string;
|
|
142
|
+
};
|
|
143
|
+
roles: import('..').IRolesState;
|
|
144
|
+
sharedDatasources: import('..').ISharedDatasourcesState;
|
|
145
|
+
savedConditions: import('..').ISavedConditionsState;
|
|
146
|
+
webforms: import('..').IWebformEditorState;
|
|
147
|
+
modals: import('..').IModalsState;
|
|
148
|
+
sharedCSS: import('..').ISharedCSSState;
|
|
149
|
+
model: import('..').IModelState;
|
|
150
|
+
}>) => {
|
|
151
|
+
scope: EWebFormStyleClassScope;
|
|
152
|
+
id: string;
|
|
153
|
+
name: string;
|
|
154
|
+
content: string;
|
|
155
|
+
parentId: string | null;
|
|
156
|
+
children?: {
|
|
157
|
+
[key: string]: string;
|
|
158
|
+
};
|
|
159
|
+
origin?: string;
|
|
160
|
+
}[], {
|
|
161
|
+
clearCache: () => void;
|
|
162
|
+
}> & {
|
|
163
|
+
clearCache: () => void;
|
|
164
|
+
};
|
package/dist/selectors/tabs.d.ts
CHANGED
|
@@ -1,3 +1,156 @@
|
|
|
1
|
-
export declare const selectFlagsByPath: (path: string) =>
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
export declare const selectFlagsByPath: (path: string) => ((state: import('redux').EmptyObject & {
|
|
2
|
+
root: import('..').IRootState;
|
|
3
|
+
explorer: import('..').ITreeItem[];
|
|
4
|
+
debugger: import('..').IDebuggerState;
|
|
5
|
+
settings: import('..').ISettingsState;
|
|
6
|
+
catalog: {
|
|
7
|
+
state: "loading";
|
|
8
|
+
} | {
|
|
9
|
+
state: "loaded";
|
|
10
|
+
model: datasources.IEnhancedCatalog;
|
|
11
|
+
} | {
|
|
12
|
+
state: "error";
|
|
13
|
+
error: string;
|
|
14
|
+
};
|
|
15
|
+
roles: import('..').IRolesState;
|
|
16
|
+
sharedDatasources: import('..').ISharedDatasourcesState;
|
|
17
|
+
savedConditions: import('..').ISavedConditionsState;
|
|
18
|
+
webforms: import('..').IWebformEditorState;
|
|
19
|
+
modals: import('..').IModalsState;
|
|
20
|
+
sharedCSS: import('..').ISharedCSSState;
|
|
21
|
+
model: import('..').IModelState;
|
|
22
|
+
}) => Partial<{
|
|
23
|
+
touched: boolean;
|
|
24
|
+
removed: boolean;
|
|
25
|
+
pinned: boolean;
|
|
26
|
+
loading: boolean;
|
|
27
|
+
old: boolean;
|
|
28
|
+
enabled: boolean;
|
|
29
|
+
confirmed: boolean;
|
|
30
|
+
}> | undefined) & import('reselect').OutputSelectorFields<(args_0: import('@ws-ui/shared').ITab<any, Partial<{
|
|
31
|
+
initialLineInfo: {
|
|
32
|
+
line: number;
|
|
33
|
+
offset?: number;
|
|
34
|
+
lastModification: number;
|
|
35
|
+
};
|
|
36
|
+
initialSelectionInfo: {
|
|
37
|
+
selection: import('@ws-ui/shared').ITextEditorSelection;
|
|
38
|
+
lastModification: number;
|
|
39
|
+
};
|
|
40
|
+
diffContent: string;
|
|
41
|
+
attributes: import('@ws-ui/shared').IMethodAttributes;
|
|
42
|
+
source: import('@ws-ui/shared').ISource;
|
|
43
|
+
editor: import('@ws-ui/shared').IEditor;
|
|
44
|
+
ext: import('@ws-ui/shared').DebuggerFileExtension;
|
|
45
|
+
kind: string;
|
|
46
|
+
}>> | undefined) => Partial<{
|
|
47
|
+
touched: boolean;
|
|
48
|
+
removed: boolean;
|
|
49
|
+
pinned: boolean;
|
|
50
|
+
loading: boolean;
|
|
51
|
+
old: boolean;
|
|
52
|
+
enabled: boolean;
|
|
53
|
+
confirmed: boolean;
|
|
54
|
+
}> | undefined, {
|
|
55
|
+
clearCache: () => void;
|
|
56
|
+
}> & {
|
|
57
|
+
clearCache: () => void;
|
|
58
|
+
};
|
|
59
|
+
export declare const selectHistoryByPath: (path: string) => ((state: import('redux').EmptyObject & {
|
|
60
|
+
root: import('..').IRootState;
|
|
61
|
+
explorer: import('..').ITreeItem[];
|
|
62
|
+
debugger: import('..').IDebuggerState;
|
|
63
|
+
settings: import('..').ISettingsState;
|
|
64
|
+
catalog: {
|
|
65
|
+
state: "loading";
|
|
66
|
+
} | {
|
|
67
|
+
state: "loaded";
|
|
68
|
+
model: datasources.IEnhancedCatalog;
|
|
69
|
+
} | {
|
|
70
|
+
state: "error";
|
|
71
|
+
error: string;
|
|
72
|
+
};
|
|
73
|
+
roles: import('..').IRolesState;
|
|
74
|
+
sharedDatasources: import('..').ISharedDatasourcesState;
|
|
75
|
+
savedConditions: import('..').ISavedConditionsState;
|
|
76
|
+
webforms: import('..').IWebformEditorState;
|
|
77
|
+
modals: import('..').IModalsState;
|
|
78
|
+
sharedCSS: import('..').ISharedCSSState;
|
|
79
|
+
model: import('..').IModelState;
|
|
80
|
+
}) => {
|
|
81
|
+
stack: any[];
|
|
82
|
+
active: number;
|
|
83
|
+
locked: boolean;
|
|
84
|
+
} | undefined) & import('reselect').OutputSelectorFields<(args_0: import('@ws-ui/shared').ITab<any, Partial<{
|
|
85
|
+
initialLineInfo: {
|
|
86
|
+
line: number;
|
|
87
|
+
offset?: number;
|
|
88
|
+
lastModification: number;
|
|
89
|
+
};
|
|
90
|
+
initialSelectionInfo: {
|
|
91
|
+
selection: import('@ws-ui/shared').ITextEditorSelection;
|
|
92
|
+
lastModification: number;
|
|
93
|
+
};
|
|
94
|
+
diffContent: string;
|
|
95
|
+
attributes: import('@ws-ui/shared').IMethodAttributes;
|
|
96
|
+
source: import('@ws-ui/shared').ISource;
|
|
97
|
+
editor: import('@ws-ui/shared').IEditor;
|
|
98
|
+
ext: import('@ws-ui/shared').DebuggerFileExtension;
|
|
99
|
+
kind: string;
|
|
100
|
+
}>> | undefined) => {
|
|
101
|
+
stack: any[];
|
|
102
|
+
active: number;
|
|
103
|
+
locked: boolean;
|
|
104
|
+
} | undefined, {
|
|
105
|
+
clearCache: () => void;
|
|
106
|
+
}> & {
|
|
107
|
+
clearCache: () => void;
|
|
108
|
+
};
|
|
109
|
+
export declare const selectActiveTabHistoryActions: ((state: import('redux').EmptyObject & {
|
|
110
|
+
root: import('..').IRootState;
|
|
111
|
+
explorer: import('..').ITreeItem[];
|
|
112
|
+
debugger: import('..').IDebuggerState;
|
|
113
|
+
settings: import('..').ISettingsState;
|
|
114
|
+
catalog: {
|
|
115
|
+
state: "loading";
|
|
116
|
+
} | {
|
|
117
|
+
state: "loaded";
|
|
118
|
+
model: datasources.IEnhancedCatalog;
|
|
119
|
+
} | {
|
|
120
|
+
state: "error";
|
|
121
|
+
error: string;
|
|
122
|
+
};
|
|
123
|
+
roles: import('..').IRolesState;
|
|
124
|
+
sharedDatasources: import('..').ISharedDatasourcesState;
|
|
125
|
+
savedConditions: import('..').ISavedConditionsState;
|
|
126
|
+
webforms: import('..').IWebformEditorState;
|
|
127
|
+
modals: import('..').IModalsState;
|
|
128
|
+
sharedCSS: import('..').ISharedCSSState;
|
|
129
|
+
model: import('..').IModelState;
|
|
130
|
+
}) => {
|
|
131
|
+
canUndo: boolean;
|
|
132
|
+
canRedo: boolean;
|
|
133
|
+
}) & import('reselect').OutputSelectorFields<(args_0: import('@ws-ui/shared').ITab<any, Partial<{
|
|
134
|
+
initialLineInfo: {
|
|
135
|
+
line: number;
|
|
136
|
+
offset?: number;
|
|
137
|
+
lastModification: number;
|
|
138
|
+
};
|
|
139
|
+
initialSelectionInfo: {
|
|
140
|
+
selection: import('@ws-ui/shared').ITextEditorSelection;
|
|
141
|
+
lastModification: number;
|
|
142
|
+
};
|
|
143
|
+
diffContent: string;
|
|
144
|
+
attributes: import('@ws-ui/shared').IMethodAttributes;
|
|
145
|
+
source: import('@ws-ui/shared').ISource;
|
|
146
|
+
editor: import('@ws-ui/shared').IEditor;
|
|
147
|
+
ext: import('@ws-ui/shared').DebuggerFileExtension;
|
|
148
|
+
kind: string;
|
|
149
|
+
}>> | undefined) => {
|
|
150
|
+
canUndo: boolean;
|
|
151
|
+
canRedo: boolean;
|
|
152
|
+
}, {
|
|
153
|
+
clearCache: () => void;
|
|
154
|
+
}> & {
|
|
155
|
+
clearCache: () => void;
|
|
156
|
+
};
|