@ws-ui/store 0.3.13 → 1.1.1
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 +6 -2
- package/dist/index.cjs.js +57 -68
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +7252 -7011
- package/dist/index.es.js.map +1 -1
- package/dist/modules/catalog/reducer.d.ts +3 -3
- package/dist/modules/catalog/thunks.d.ts +1 -1
- package/dist/modules/debugger/reducer.d.ts +76 -44
- package/dist/modules/debugger/thunks.d.ts +2 -2
- package/dist/modules/debugger/types.d.ts +68 -7
- package/dist/modules/explorer/reducer.d.ts +9 -9
- package/dist/modules/explorer/thunks.d.ts +49 -36
- package/dist/modules/modals/reducer.d.ts +5 -5
- package/dist/modules/modals/thunks.d.ts +1 -1
- package/dist/modules/model/helpers.d.ts +1 -1
- package/dist/modules/model/selectors.d.ts +1 -0
- package/dist/modules/model/subjects.d.ts +1 -1
- package/dist/modules/model/thunks.d.ts +8 -8
- package/dist/modules/model/utils.d.ts +3 -3
- package/dist/modules/roles/reducer.d.ts +22 -12
- package/dist/modules/roles/thunks.d.ts +4 -3
- package/dist/modules/root/reducer.d.ts +56 -47
- package/dist/modules/root/thunks.d.ts +27 -27
- package/dist/modules/settings/thunks.d.ts +2 -2
- package/dist/modules/shared-conditions/reducer.d.ts +10 -10
- package/dist/modules/shared-conditions/thunks.d.ts +1 -1
- package/dist/modules/shared-css/reducer.d.ts +4 -4
- package/dist/modules/shared-css/thunks.d.ts +1 -1
- package/dist/modules/shared-datasources/index.d.ts +1 -0
- package/dist/modules/shared-datasources/reducer.d.ts +1 -1
- package/dist/modules/shared-datasources/thunks.d.ts +10 -10
- package/dist/modules/shared-datasources/utils.d.ts +6 -0
- package/dist/modules/tabs/selectors.d.ts +3 -3
- package/dist/modules/webforms/datasources.adapter.d.ts +1 -1
- package/dist/modules/webforms/reducer.d.ts +10 -10
- package/dist/modules/webforms/thunks.d.ts +102 -15
- package/dist/package.json +61 -0
- package/dist/selectors/catalog.d.ts +1 -0
- package/dist/selectors/common.d.ts +44 -44
- package/dist/selectors/components.d.ts +8 -8
- package/dist/selectors/datasources.d.ts +123 -75
- package/dist/selectors/debugger.d.ts +199 -11
- package/dist/selectors/explorer.d.ts +355 -371
- package/dist/selectors/modals.d.ts +12 -12
- package/dist/selectors/roles.d.ts +104 -102
- package/dist/selectors/settings.d.ts +136 -136
- package/dist/selectors/states.d.ts +3 -3
- package/dist/selectors/styles.d.ts +60 -60
- package/dist/selectors/tabs.d.ts +5 -3
- package/dist/selectors/webforms.d.ts +157 -157
- package/dist/store.d.ts +1 -1
- package/package.json +10 -17
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { TInspectorType } from '../modules/webforms/types';
|
|
2
2
|
|
|
3
3
|
export declare const selectWebforms: ((state: import('redux').EmptyObject & {
|
|
4
|
-
root: import('
|
|
5
|
-
explorer: import('
|
|
6
|
-
debugger: import('
|
|
7
|
-
settings: import('
|
|
4
|
+
root: import('../modules').IRootState;
|
|
5
|
+
explorer: import('../modules').ITreeItem[];
|
|
6
|
+
debugger: import('../modules').IDebuggerState;
|
|
7
|
+
settings: import('../modules').ISettingsState;
|
|
8
8
|
catalog: {
|
|
9
9
|
state: "loading";
|
|
10
10
|
} | {
|
|
@@ -14,23 +14,23 @@ export declare const selectWebforms: ((state: import('redux').EmptyObject & {
|
|
|
14
14
|
state: "error";
|
|
15
15
|
error: string;
|
|
16
16
|
};
|
|
17
|
-
roles: import('
|
|
18
|
-
sharedDatasources: import('
|
|
19
|
-
savedConditions: import('
|
|
20
|
-
webforms: import('
|
|
21
|
-
modals: import('
|
|
22
|
-
sharedCSS: import('
|
|
23
|
-
model: import('
|
|
24
|
-
}) => import('
|
|
17
|
+
roles: import('../modules').IRolesState;
|
|
18
|
+
sharedDatasources: import('../modules').ISharedDatasourcesState;
|
|
19
|
+
savedConditions: import('../modules').ISavedConditionsState;
|
|
20
|
+
webforms: import('../modules').IWebformEditorState;
|
|
21
|
+
modals: import('../modules').IModalsState;
|
|
22
|
+
sharedCSS: import('../modules').ISharedCSSState;
|
|
23
|
+
model: import('../modules').IModelState;
|
|
24
|
+
}) => import('../modules').IWebformEditorState) & import('reselect').OutputSelectorFields<(args_0: import('../modules').IWebformEditorState) => import('../modules').IWebformEditorState, {
|
|
25
25
|
clearCache: () => void;
|
|
26
26
|
}> & {
|
|
27
27
|
clearCache: () => void;
|
|
28
28
|
};
|
|
29
29
|
export declare const selectComponents: ((state: import('redux').EmptyObject & {
|
|
30
|
-
root: import('
|
|
31
|
-
explorer: import('
|
|
32
|
-
debugger: import('
|
|
33
|
-
settings: import('
|
|
30
|
+
root: import('../modules').IRootState;
|
|
31
|
+
explorer: import('../modules').ITreeItem[];
|
|
32
|
+
debugger: import('../modules').IDebuggerState;
|
|
33
|
+
settings: import('../modules').ISettingsState;
|
|
34
34
|
catalog: {
|
|
35
35
|
state: "loading";
|
|
36
36
|
} | {
|
|
@@ -40,23 +40,23 @@ export declare const selectComponents: ((state: import('redux').EmptyObject & {
|
|
|
40
40
|
state: "error";
|
|
41
41
|
error: string;
|
|
42
42
|
};
|
|
43
|
-
roles: import('
|
|
44
|
-
sharedDatasources: import('
|
|
45
|
-
savedConditions: import('
|
|
46
|
-
webforms: import('
|
|
47
|
-
modals: import('
|
|
48
|
-
sharedCSS: import('
|
|
49
|
-
model: import('
|
|
50
|
-
}) => import('@ws-ui/shared').IComponentTemplate[]) & import('reselect').OutputSelectorFields<(args_0: import('
|
|
43
|
+
roles: import('../modules').IRolesState;
|
|
44
|
+
sharedDatasources: import('../modules').ISharedDatasourcesState;
|
|
45
|
+
savedConditions: import('../modules').ISavedConditionsState;
|
|
46
|
+
webforms: import('../modules').IWebformEditorState;
|
|
47
|
+
modals: import('../modules').IModalsState;
|
|
48
|
+
sharedCSS: import('../modules').ISharedCSSState;
|
|
49
|
+
model: import('../modules').IModelState;
|
|
50
|
+
}) => import('@ws-ui/shared').IComponentTemplate[]) & import('reselect').OutputSelectorFields<(args_0: import('../modules').IWebformEditorState) => import('@ws-ui/shared').IComponentTemplate[], {
|
|
51
51
|
clearCache: () => void;
|
|
52
52
|
}> & {
|
|
53
53
|
clearCache: () => void;
|
|
54
54
|
};
|
|
55
55
|
export declare const selectInspector: ((state: import('redux').EmptyObject & {
|
|
56
|
-
root: import('
|
|
57
|
-
explorer: import('
|
|
58
|
-
debugger: import('
|
|
59
|
-
settings: import('
|
|
56
|
+
root: import('../modules').IRootState;
|
|
57
|
+
explorer: import('../modules').ITreeItem[];
|
|
58
|
+
debugger: import('../modules').IDebuggerState;
|
|
59
|
+
settings: import('../modules').ISettingsState;
|
|
60
60
|
catalog: {
|
|
61
61
|
state: "loading";
|
|
62
62
|
} | {
|
|
@@ -66,23 +66,23 @@ export declare const selectInspector: ((state: import('redux').EmptyObject & {
|
|
|
66
66
|
state: "error";
|
|
67
67
|
error: string;
|
|
68
68
|
};
|
|
69
|
-
roles: import('
|
|
70
|
-
sharedDatasources: import('
|
|
71
|
-
savedConditions: import('
|
|
72
|
-
webforms: import('
|
|
73
|
-
modals: import('
|
|
74
|
-
sharedCSS: import('
|
|
75
|
-
model: import('
|
|
76
|
-
}) => import('
|
|
69
|
+
roles: import('../modules').IRolesState;
|
|
70
|
+
sharedDatasources: import('../modules').ISharedDatasourcesState;
|
|
71
|
+
savedConditions: import('../modules').ISavedConditionsState;
|
|
72
|
+
webforms: import('../modules').IWebformEditorState;
|
|
73
|
+
modals: import('../modules').IModalsState;
|
|
74
|
+
sharedCSS: import('../modules').ISharedCSSState;
|
|
75
|
+
model: import('../modules').IModelState;
|
|
76
|
+
}) => import('../modules').IInspectorState) & import('reselect').OutputSelectorFields<(args_0: import('../modules').IWebformEditorState) => import('../modules').IInspectorState, {
|
|
77
77
|
clearCache: () => void;
|
|
78
78
|
}> & {
|
|
79
79
|
clearCache: () => void;
|
|
80
80
|
};
|
|
81
81
|
export declare const selectInspectedCSSClass: ((state: import('redux').EmptyObject & {
|
|
82
|
-
root: import('
|
|
83
|
-
explorer: import('
|
|
84
|
-
debugger: import('
|
|
85
|
-
settings: import('
|
|
82
|
+
root: import('../modules').IRootState;
|
|
83
|
+
explorer: import('../modules').ITreeItem[];
|
|
84
|
+
debugger: import('../modules').IDebuggerState;
|
|
85
|
+
settings: import('../modules').ISettingsState;
|
|
86
86
|
catalog: {
|
|
87
87
|
state: "loading";
|
|
88
88
|
} | {
|
|
@@ -92,23 +92,23 @@ export declare const selectInspectedCSSClass: ((state: import('redux').EmptyObje
|
|
|
92
92
|
state: "error";
|
|
93
93
|
error: string;
|
|
94
94
|
};
|
|
95
|
-
roles: import('
|
|
96
|
-
sharedDatasources: import('
|
|
97
|
-
savedConditions: import('
|
|
98
|
-
webforms: import('
|
|
99
|
-
modals: import('
|
|
100
|
-
sharedCSS: import('
|
|
101
|
-
model: import('
|
|
102
|
-
}) => import('
|
|
95
|
+
roles: import('../modules').IRolesState;
|
|
96
|
+
sharedDatasources: import('../modules').ISharedDatasourcesState;
|
|
97
|
+
savedConditions: import('../modules').ISavedConditionsState;
|
|
98
|
+
webforms: import('../modules').IWebformEditorState;
|
|
99
|
+
modals: import('../modules').IModalsState;
|
|
100
|
+
sharedCSS: import('../modules').ISharedCSSState;
|
|
101
|
+
model: import('../modules').IModelState;
|
|
102
|
+
}) => import('../modules').IInspector<string>) & import('reselect').OutputSelectorFields<(args_0: import('../modules').IInspectorState) => import('../modules').IInspector<string>, {
|
|
103
103
|
clearCache: () => void;
|
|
104
104
|
}> & {
|
|
105
105
|
clearCache: () => void;
|
|
106
106
|
};
|
|
107
107
|
export declare const selectInspectedDatasource: ((state: import('redux').EmptyObject & {
|
|
108
|
-
root: import('
|
|
109
|
-
explorer: import('
|
|
110
|
-
debugger: import('
|
|
111
|
-
settings: import('
|
|
108
|
+
root: import('../modules').IRootState;
|
|
109
|
+
explorer: import('../modules').ITreeItem[];
|
|
110
|
+
debugger: import('../modules').IDebuggerState;
|
|
111
|
+
settings: import('../modules').ISettingsState;
|
|
112
112
|
catalog: {
|
|
113
113
|
state: "loading";
|
|
114
114
|
} | {
|
|
@@ -118,23 +118,23 @@ export declare const selectInspectedDatasource: ((state: import('redux').EmptyOb
|
|
|
118
118
|
state: "error";
|
|
119
119
|
error: string;
|
|
120
120
|
};
|
|
121
|
-
roles: import('
|
|
122
|
-
sharedDatasources: import('
|
|
123
|
-
savedConditions: import('
|
|
124
|
-
webforms: import('
|
|
125
|
-
modals: import('
|
|
126
|
-
sharedCSS: import('
|
|
127
|
-
model: import('
|
|
128
|
-
}) => import('
|
|
121
|
+
roles: import('../modules').IRolesState;
|
|
122
|
+
sharedDatasources: import('../modules').ISharedDatasourcesState;
|
|
123
|
+
savedConditions: import('../modules').ISavedConditionsState;
|
|
124
|
+
webforms: import('../modules').IWebformEditorState;
|
|
125
|
+
modals: import('../modules').IModalsState;
|
|
126
|
+
sharedCSS: import('../modules').ISharedCSSState;
|
|
127
|
+
model: import('../modules').IModelState;
|
|
128
|
+
}) => import('../modules').IInspector<import('../modules').IDatasourcedata>) & import('reselect').OutputSelectorFields<(args_0: import('../modules').IInspectorState) => import('../modules').IInspector<import('../modules').IDatasourcedata>, {
|
|
129
129
|
clearCache: () => void;
|
|
130
130
|
}> & {
|
|
131
131
|
clearCache: () => void;
|
|
132
132
|
};
|
|
133
133
|
export declare const selectTemplates: ((state: import('redux').EmptyObject & {
|
|
134
|
-
root: import('
|
|
135
|
-
explorer: import('
|
|
136
|
-
debugger: import('
|
|
137
|
-
settings: import('
|
|
134
|
+
root: import('../modules').IRootState;
|
|
135
|
+
explorer: import('../modules').ITreeItem[];
|
|
136
|
+
debugger: import('../modules').IDebuggerState;
|
|
137
|
+
settings: import('../modules').ISettingsState;
|
|
138
138
|
catalog: {
|
|
139
139
|
state: "loading";
|
|
140
140
|
} | {
|
|
@@ -144,23 +144,23 @@ export declare const selectTemplates: ((state: import('redux').EmptyObject & {
|
|
|
144
144
|
state: "error";
|
|
145
145
|
error: string;
|
|
146
146
|
};
|
|
147
|
-
roles: import('
|
|
148
|
-
sharedDatasources: import('
|
|
149
|
-
savedConditions: import('
|
|
150
|
-
webforms: import('
|
|
151
|
-
modals: import('
|
|
152
|
-
sharedCSS: import('
|
|
153
|
-
model: import('
|
|
154
|
-
}) => import('
|
|
147
|
+
roles: import('../modules').IRolesState;
|
|
148
|
+
sharedDatasources: import('../modules').ISharedDatasourcesState;
|
|
149
|
+
savedConditions: import('../modules').ISavedConditionsState;
|
|
150
|
+
webforms: import('../modules').IWebformEditorState;
|
|
151
|
+
modals: import('../modules').IModalsState;
|
|
152
|
+
sharedCSS: import('../modules').ISharedCSSState;
|
|
153
|
+
model: import('../modules').IModelState;
|
|
154
|
+
}) => import('../modules').ITemplatedComponent) & import('reselect').OutputSelectorFields<(args_0: import('../modules').IWebformEditorState) => import('../modules').ITemplatedComponent, {
|
|
155
155
|
clearCache: () => void;
|
|
156
156
|
}> & {
|
|
157
157
|
clearCache: () => void;
|
|
158
158
|
};
|
|
159
159
|
export declare const selectTemplatesData: ((state: import('redux').EmptyObject & {
|
|
160
|
-
root: import('
|
|
161
|
-
explorer: import('
|
|
162
|
-
debugger: import('
|
|
163
|
-
settings: import('
|
|
160
|
+
root: import('../modules').IRootState;
|
|
161
|
+
explorer: import('../modules').ITreeItem[];
|
|
162
|
+
debugger: import('../modules').IDebuggerState;
|
|
163
|
+
settings: import('../modules').ISettingsState;
|
|
164
164
|
catalog: {
|
|
165
165
|
state: "loading";
|
|
166
166
|
} | {
|
|
@@ -170,23 +170,23 @@ export declare const selectTemplatesData: ((state: import('redux').EmptyObject &
|
|
|
170
170
|
state: "error";
|
|
171
171
|
error: string;
|
|
172
172
|
};
|
|
173
|
-
roles: import('
|
|
174
|
-
sharedDatasources: import('
|
|
175
|
-
savedConditions: import('
|
|
176
|
-
webforms: import('
|
|
177
|
-
modals: import('
|
|
178
|
-
sharedCSS: import('
|
|
179
|
-
model: import('
|
|
180
|
-
}) => import('
|
|
173
|
+
roles: import('../modules').IRolesState;
|
|
174
|
+
sharedDatasources: import('../modules').ISharedDatasourcesState;
|
|
175
|
+
savedConditions: import('../modules').ISavedConditionsState;
|
|
176
|
+
webforms: import('../modules').IWebformEditorState;
|
|
177
|
+
modals: import('../modules').IModalsState;
|
|
178
|
+
sharedCSS: import('../modules').ISharedCSSState;
|
|
179
|
+
model: import('../modules').IModelState;
|
|
180
|
+
}) => import('../modules').ITemplatedGroup[]) & import('reselect').OutputSelectorFields<(args_0: import('../modules').ITemplatedComponent) => import('../modules').ITemplatedGroup[], {
|
|
181
181
|
clearCache: () => void;
|
|
182
182
|
}> & {
|
|
183
183
|
clearCache: () => void;
|
|
184
184
|
};
|
|
185
185
|
export declare const selectCraftedComponent: (id: string) => ((state: import('redux').EmptyObject & {
|
|
186
|
-
root: import('
|
|
187
|
-
explorer: import('
|
|
188
|
-
debugger: import('
|
|
189
|
-
settings: import('
|
|
186
|
+
root: import('../modules').IRootState;
|
|
187
|
+
explorer: import('../modules').ITreeItem[];
|
|
188
|
+
debugger: import('../modules').IDebuggerState;
|
|
189
|
+
settings: import('../modules').ISettingsState;
|
|
190
190
|
catalog: {
|
|
191
191
|
state: "loading";
|
|
192
192
|
} | {
|
|
@@ -196,23 +196,23 @@ export declare const selectCraftedComponent: (id: string) => ((state: import('re
|
|
|
196
196
|
state: "error";
|
|
197
197
|
error: string;
|
|
198
198
|
};
|
|
199
|
-
roles: import('
|
|
200
|
-
sharedDatasources: import('
|
|
201
|
-
savedConditions: import('
|
|
202
|
-
webforms: import('
|
|
203
|
-
modals: import('
|
|
204
|
-
sharedCSS: import('
|
|
205
|
-
model: import('
|
|
199
|
+
roles: import('../modules').IRolesState;
|
|
200
|
+
sharedDatasources: import('../modules').ISharedDatasourcesState;
|
|
201
|
+
savedConditions: import('../modules').ISavedConditionsState;
|
|
202
|
+
webforms: import('../modules').IWebformEditorState;
|
|
203
|
+
modals: import('../modules').IModalsState;
|
|
204
|
+
sharedCSS: import('../modules').ISharedCSSState;
|
|
205
|
+
model: import('../modules').IModelState;
|
|
206
206
|
}) => import('@ws-ui/shared').IComponentTemplate | undefined) & import('reselect').OutputSelectorFields<(args_0: import('@ws-ui/shared').IComponentTemplate[]) => import('@ws-ui/shared').IComponentTemplate | undefined, {
|
|
207
207
|
clearCache: () => void;
|
|
208
208
|
}> & {
|
|
209
209
|
clearCache: () => void;
|
|
210
210
|
};
|
|
211
211
|
export declare const selectInspectorStateByType: (type: TInspectorType) => ((state: import('redux').EmptyObject & {
|
|
212
|
-
root: import('
|
|
213
|
-
explorer: import('
|
|
214
|
-
debugger: import('
|
|
215
|
-
settings: import('
|
|
212
|
+
root: import('../modules').IRootState;
|
|
213
|
+
explorer: import('../modules').ITreeItem[];
|
|
214
|
+
debugger: import('../modules').IDebuggerState;
|
|
215
|
+
settings: import('../modules').ISettingsState;
|
|
216
216
|
catalog: {
|
|
217
217
|
state: "loading";
|
|
218
218
|
} | {
|
|
@@ -222,23 +222,23 @@ export declare const selectInspectorStateByType: (type: TInspectorType) => ((sta
|
|
|
222
222
|
state: "error";
|
|
223
223
|
error: string;
|
|
224
224
|
};
|
|
225
|
-
roles: import('
|
|
226
|
-
sharedDatasources: import('
|
|
227
|
-
savedConditions: import('
|
|
228
|
-
webforms: import('
|
|
229
|
-
modals: import('
|
|
230
|
-
sharedCSS: import('
|
|
231
|
-
model: import('
|
|
232
|
-
}) => import('
|
|
225
|
+
roles: import('../modules').IRolesState;
|
|
226
|
+
sharedDatasources: import('../modules').ISharedDatasourcesState;
|
|
227
|
+
savedConditions: import('../modules').ISavedConditionsState;
|
|
228
|
+
webforms: import('../modules').IWebformEditorState;
|
|
229
|
+
modals: import('../modules').IModalsState;
|
|
230
|
+
sharedCSS: import('../modules').ISharedCSSState;
|
|
231
|
+
model: import('../modules').IModelState;
|
|
232
|
+
}) => import('../modules').IInspector<string> | import('../modules').IInspector<import('../modules').IDatasourcedata>) & import('reselect').OutputSelectorFields<(args_0: import('../modules').IInspectorState) => import('../modules').IInspector<string> | import('../modules').IInspector<import('../modules').IDatasourcedata>, {
|
|
233
233
|
clearCache: () => void;
|
|
234
234
|
}> & {
|
|
235
235
|
clearCache: () => void;
|
|
236
236
|
};
|
|
237
237
|
export declare const selectDatasourcesTheme: ((state: import('redux').EmptyObject & {
|
|
238
|
-
root: import('
|
|
239
|
-
explorer: import('
|
|
240
|
-
debugger: import('
|
|
241
|
-
settings: import('
|
|
238
|
+
root: import('../modules').IRootState;
|
|
239
|
+
explorer: import('../modules').ITreeItem[];
|
|
240
|
+
debugger: import('../modules').IDebuggerState;
|
|
241
|
+
settings: import('../modules').ISettingsState;
|
|
242
242
|
catalog: {
|
|
243
243
|
state: "loading";
|
|
244
244
|
} | {
|
|
@@ -248,23 +248,23 @@ export declare const selectDatasourcesTheme: ((state: import('redux').EmptyObjec
|
|
|
248
248
|
state: "error";
|
|
249
249
|
error: string;
|
|
250
250
|
};
|
|
251
|
-
roles: import('
|
|
252
|
-
sharedDatasources: import('
|
|
253
|
-
savedConditions: import('
|
|
254
|
-
webforms: import('
|
|
255
|
-
modals: import('
|
|
256
|
-
sharedCSS: import('
|
|
257
|
-
model: import('
|
|
258
|
-
}) => string | number) & import('reselect').OutputSelectorFields<(args_0: import('
|
|
251
|
+
roles: import('../modules').IRolesState;
|
|
252
|
+
sharedDatasources: import('../modules').ISharedDatasourcesState;
|
|
253
|
+
savedConditions: import('../modules').ISavedConditionsState;
|
|
254
|
+
webforms: import('../modules').IWebformEditorState;
|
|
255
|
+
modals: import('../modules').IModalsState;
|
|
256
|
+
sharedCSS: import('../modules').ISharedCSSState;
|
|
257
|
+
model: import('../modules').IModelState;
|
|
258
|
+
}) => string | number) & import('reselect').OutputSelectorFields<(args_0: import('../modules').IWebformEditorState) => string | number, {
|
|
259
259
|
clearCache: () => void;
|
|
260
260
|
}> & {
|
|
261
261
|
clearCache: () => void;
|
|
262
262
|
};
|
|
263
263
|
export declare const selectClipBoard: ((state: import('redux').EmptyObject & {
|
|
264
|
-
root: import('
|
|
265
|
-
explorer: import('
|
|
266
|
-
debugger: import('
|
|
267
|
-
settings: import('
|
|
264
|
+
root: import('../modules').IRootState;
|
|
265
|
+
explorer: import('../modules').ITreeItem[];
|
|
266
|
+
debugger: import('../modules').IDebuggerState;
|
|
267
|
+
settings: import('../modules').ISettingsState;
|
|
268
268
|
catalog: {
|
|
269
269
|
state: "loading";
|
|
270
270
|
} | {
|
|
@@ -274,17 +274,17 @@ export declare const selectClipBoard: ((state: import('redux').EmptyObject & {
|
|
|
274
274
|
state: "error";
|
|
275
275
|
error: string;
|
|
276
276
|
};
|
|
277
|
-
roles: import('
|
|
278
|
-
sharedDatasources: import('
|
|
279
|
-
savedConditions: import('
|
|
280
|
-
webforms: import('
|
|
281
|
-
modals: import('
|
|
282
|
-
sharedCSS: import('
|
|
283
|
-
model: import('
|
|
277
|
+
roles: import('../modules').IRolesState;
|
|
278
|
+
sharedDatasources: import('../modules').ISharedDatasourcesState;
|
|
279
|
+
savedConditions: import('../modules').ISavedConditionsState;
|
|
280
|
+
webforms: import('../modules').IWebformEditorState;
|
|
281
|
+
modals: import('../modules').IModalsState;
|
|
282
|
+
sharedCSS: import('../modules').ISharedCSSState;
|
|
283
|
+
model: import('../modules').IModelState;
|
|
284
284
|
}) => {
|
|
285
285
|
payload: webforms.WEvent;
|
|
286
286
|
type: "event";
|
|
287
|
-
} | null) & import('reselect').OutputSelectorFields<(args_0: import('
|
|
287
|
+
} | null) & import('reselect').OutputSelectorFields<(args_0: import('../modules').IRootState) => {
|
|
288
288
|
payload: webforms.WEvent;
|
|
289
289
|
type: "event";
|
|
290
290
|
} | null, {
|
|
@@ -293,10 +293,10 @@ export declare const selectClipBoard: ((state: import('redux').EmptyObject & {
|
|
|
293
293
|
clearCache: () => void;
|
|
294
294
|
};
|
|
295
295
|
export declare const selectIsLoaded: ((state: import('redux').EmptyObject & {
|
|
296
|
-
root: import('
|
|
297
|
-
explorer: import('
|
|
298
|
-
debugger: import('
|
|
299
|
-
settings: import('
|
|
296
|
+
root: import('../modules').IRootState;
|
|
297
|
+
explorer: import('../modules').ITreeItem[];
|
|
298
|
+
debugger: import('../modules').IDebuggerState;
|
|
299
|
+
settings: import('../modules').ISettingsState;
|
|
300
300
|
catalog: {
|
|
301
301
|
state: "loading";
|
|
302
302
|
} | {
|
|
@@ -306,13 +306,13 @@ export declare const selectIsLoaded: ((state: import('redux').EmptyObject & {
|
|
|
306
306
|
state: "error";
|
|
307
307
|
error: string;
|
|
308
308
|
};
|
|
309
|
-
roles: import('
|
|
310
|
-
sharedDatasources: import('
|
|
311
|
-
savedConditions: import('
|
|
312
|
-
webforms: import('
|
|
313
|
-
modals: import('
|
|
314
|
-
sharedCSS: import('
|
|
315
|
-
model: import('
|
|
309
|
+
roles: import('../modules').IRolesState;
|
|
310
|
+
sharedDatasources: import('../modules').ISharedDatasourcesState;
|
|
311
|
+
savedConditions: import('../modules').ISavedConditionsState;
|
|
312
|
+
webforms: import('../modules').IWebformEditorState;
|
|
313
|
+
modals: import('../modules').IModalsState;
|
|
314
|
+
sharedCSS: import('../modules').ISharedCSSState;
|
|
315
|
+
model: import('../modules').IModelState;
|
|
316
316
|
}) => boolean) & import('reselect').OutputSelectorFields<(args_0: {
|
|
317
317
|
state: "loading";
|
|
318
318
|
} | {
|
|
@@ -321,16 +321,16 @@ export declare const selectIsLoaded: ((state: import('redux').EmptyObject & {
|
|
|
321
321
|
} | {
|
|
322
322
|
state: "error";
|
|
323
323
|
error: string;
|
|
324
|
-
}, args_1: import('
|
|
324
|
+
}, args_1: import('../modules').ISharedDatasourcesState, args_2: import('../modules').ISharedCSSState) => boolean, {
|
|
325
325
|
clearCache: () => void;
|
|
326
326
|
}> & {
|
|
327
327
|
clearCache: () => void;
|
|
328
328
|
};
|
|
329
329
|
export declare const selectWebformMetadataByPath: (tabPath: string) => ((state: import('redux').EmptyObject & {
|
|
330
|
-
root: import('
|
|
331
|
-
explorer: import('
|
|
332
|
-
debugger: import('
|
|
333
|
-
settings: import('
|
|
330
|
+
root: import('../modules').IRootState;
|
|
331
|
+
explorer: import('../modules').ITreeItem[];
|
|
332
|
+
debugger: import('../modules').IDebuggerState;
|
|
333
|
+
settings: import('../modules').ISettingsState;
|
|
334
334
|
catalog: {
|
|
335
335
|
state: "loading";
|
|
336
336
|
} | {
|
|
@@ -340,23 +340,23 @@ export declare const selectWebformMetadataByPath: (tabPath: string) => ((state:
|
|
|
340
340
|
state: "error";
|
|
341
341
|
error: string;
|
|
342
342
|
};
|
|
343
|
-
roles: import('
|
|
344
|
-
sharedDatasources: import('
|
|
345
|
-
savedConditions: import('
|
|
346
|
-
webforms: import('
|
|
347
|
-
modals: import('
|
|
348
|
-
sharedCSS: import('
|
|
349
|
-
model: import('
|
|
343
|
+
roles: import('../modules').IRolesState;
|
|
344
|
+
sharedDatasources: import('../modules').ISharedDatasourcesState;
|
|
345
|
+
savedConditions: import('../modules').ISavedConditionsState;
|
|
346
|
+
webforms: import('../modules').IWebformEditorState;
|
|
347
|
+
modals: import('../modules').IModalsState;
|
|
348
|
+
sharedCSS: import('../modules').ISharedCSSState;
|
|
349
|
+
model: import('../modules').IModelState;
|
|
350
350
|
}) => Partial<{
|
|
351
351
|
v: string;
|
|
352
|
-
datasources:
|
|
352
|
+
datasources: any[];
|
|
353
353
|
states: import('@ws-ui/shared').WebformState[];
|
|
354
354
|
defaultStates: string[];
|
|
355
355
|
styles: import('@ws-ui/shared').IWebFormStyleClass[];
|
|
356
356
|
title: string;
|
|
357
|
-
}>) & import('reselect').OutputSelectorFields<(args_0: import('
|
|
357
|
+
}>) & import('reselect').OutputSelectorFields<(args_0: import('../modules').IRootState) => Partial<{
|
|
358
358
|
v: string;
|
|
359
|
-
datasources:
|
|
359
|
+
datasources: any[];
|
|
360
360
|
states: import('@ws-ui/shared').WebformState[];
|
|
361
361
|
defaultStates: string[];
|
|
362
362
|
styles: import('@ws-ui/shared').IWebFormStyleClass[];
|
package/dist/store.d.ts
CHANGED
|
@@ -27,7 +27,7 @@ export declare const getStore: () => import('@reduxjs/toolkit/dist/configureStor
|
|
|
27
27
|
modals: import('./modules').IModalsState;
|
|
28
28
|
sharedCSS: import('./modules').ISharedCSSState;
|
|
29
29
|
model: import('./modules').IModelState;
|
|
30
|
-
}, AnyAction, [import('
|
|
30
|
+
}, AnyAction, [import('@reduxjs/toolkit').ThunkMiddleware<import('redux').CombinedState<{
|
|
31
31
|
root: import('./modules').IRootState;
|
|
32
32
|
explorer: import('./modules').ITreeItem[];
|
|
33
33
|
debugger: import('./modules').IDebuggerState;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ws-ui/store",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "1.1.1",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs.js",
|
|
7
7
|
"module": "./dist/index.es.js",
|
|
@@ -10,29 +10,23 @@
|
|
|
10
10
|
"dist"
|
|
11
11
|
],
|
|
12
12
|
"scripts": {
|
|
13
|
-
"dev": "
|
|
14
|
-
"prepack": "npm run build",
|
|
13
|
+
"start-dev": "nodemon --watch src --ext ts,tsx,js,jsx,css --exec \"npm run build && npm run --prefix ../.. postbuild -- --packages=store\"",
|
|
15
14
|
"build": "tsc && vite build",
|
|
16
|
-
"
|
|
17
|
-
"postbuild": "yalc push --changed",
|
|
18
|
-
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
|
19
|
-
"preview": "vite preview",
|
|
15
|
+
"prepack": "npm run build",
|
|
20
16
|
"test": "jest"
|
|
21
17
|
},
|
|
22
18
|
"overrides": {
|
|
23
19
|
"@ws-ui/shared": {
|
|
24
|
-
"@ws-ui/icons": "
|
|
20
|
+
"@ws-ui/icons": "1.1.1"
|
|
25
21
|
}
|
|
26
22
|
},
|
|
27
23
|
"dependencies": {
|
|
28
24
|
"@reduxjs/toolkit": "^1.7.1",
|
|
29
|
-
"@ws-ui/shared": "0.3.12",
|
|
30
25
|
"react-redux": "^7.2.6"
|
|
31
26
|
},
|
|
32
27
|
"peerDependencies": {
|
|
33
|
-
"@ws-ui/icons": "0.2.3",
|
|
34
28
|
"lodash": "^4.17.21",
|
|
35
|
-
"minimatch": "^
|
|
29
|
+
"minimatch": "^10.0.1",
|
|
36
30
|
"react": "^17.0.2",
|
|
37
31
|
"react-dom": "^17.0.2",
|
|
38
32
|
"react-flow-renderer": "^10.3.17",
|
|
@@ -46,7 +40,7 @@
|
|
|
46
40
|
"@testing-library/react": "^12.1.5",
|
|
47
41
|
"@types/jest": "^29.5.5",
|
|
48
42
|
"@types/lodash": "^4.14.199",
|
|
49
|
-
"@types/minimatch": "^
|
|
43
|
+
"@types/minimatch": "^5.1.2",
|
|
50
44
|
"@types/node": "^20.6.5",
|
|
51
45
|
"@types/react": "^17.0.24",
|
|
52
46
|
"@types/react-dom": "^17.0.5",
|
|
@@ -55,14 +49,13 @@
|
|
|
55
49
|
"@typescript-eslint/parser": "^6.0.0",
|
|
56
50
|
"@vitejs/plugin-react": "^4.0.3",
|
|
57
51
|
"eslint": "^8.45.0",
|
|
58
|
-
"eslint-plugin-react-hooks": "^
|
|
52
|
+
"eslint-plugin-react-hooks": "^5.2.0",
|
|
59
53
|
"eslint-plugin-react-refresh": "^0.4.3",
|
|
60
54
|
"jest": "^29.7.0",
|
|
61
|
-
"prettier": "3.
|
|
55
|
+
"prettier": "^3.2.5",
|
|
62
56
|
"ts-jest": "^29.1.2",
|
|
63
57
|
"typescript": "^5.0.2",
|
|
64
|
-
"vite": "^
|
|
65
|
-
"vite-plugin-dts": "^3.5.4"
|
|
66
|
-
"yalc": "^1.0.0-pre.53"
|
|
58
|
+
"vite": "^5.0.0",
|
|
59
|
+
"vite-plugin-dts": "^3.5.4"
|
|
67
60
|
}
|
|
68
61
|
}
|