@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
|
@@ -6,32 +6,32 @@ export declare const FLAGS_INIT_STATE: {
|
|
|
6
6
|
[x: string]: boolean;
|
|
7
7
|
};
|
|
8
8
|
declare const stateSlice: import('@reduxjs/toolkit').Slice<IWebformEditorState, {
|
|
9
|
-
toggleInspector: (state: import('immer/dist/internal
|
|
10
|
-
inspect: (state: import('immer/dist/internal
|
|
11
|
-
addComponent: (state: import('immer/dist/internal
|
|
12
|
-
editComponent: (state: import('immer/dist/internal
|
|
9
|
+
toggleInspector: (state: import('immer/dist/internal').WritableDraft<IWebformEditorState>, action: TToggleInspectorAction) => void;
|
|
10
|
+
inspect: (state: import('immer/dist/internal').WritableDraft<IWebformEditorState>, action: TInspectAction) => void;
|
|
11
|
+
addComponent: (state: import('immer/dist/internal').WritableDraft<IWebformEditorState>, action: TAddComponentAction) => void;
|
|
12
|
+
editComponent: (state: import('immer/dist/internal').WritableDraft<IWebformEditorState>, action: PayloadAction<{
|
|
13
13
|
id: string;
|
|
14
14
|
changes: Partial<IComponentTemplate>;
|
|
15
15
|
}>) => void;
|
|
16
|
-
removeComponent: (state: import('immer/dist/internal
|
|
17
|
-
setSelectedGroup: (state: import('immer/dist/internal
|
|
16
|
+
removeComponent: (state: import('immer/dist/internal').WritableDraft<IWebformEditorState>, action: TRemoveComponentAction) => void;
|
|
17
|
+
setSelectedGroup: (state: import('immer/dist/internal').WritableDraft<IWebformEditorState>, action: {
|
|
18
18
|
payload: {
|
|
19
19
|
selectedGroup: string;
|
|
20
20
|
};
|
|
21
21
|
}) => void;
|
|
22
|
-
setTemplatesData: (state: import('immer/dist/internal
|
|
22
|
+
setTemplatesData: (state: import('immer/dist/internal').WritableDraft<IWebformEditorState>, action: {
|
|
23
23
|
payload: ITemplatedGroup[];
|
|
24
24
|
}) => void;
|
|
25
|
-
setTemplateData: (state: import('immer/dist/internal
|
|
25
|
+
setTemplateData: (state: import('immer/dist/internal').WritableDraft<IWebformEditorState>, action: {
|
|
26
26
|
payload: {
|
|
27
27
|
group: string;
|
|
28
28
|
components: ITemplatedGroupItem[];
|
|
29
29
|
};
|
|
30
30
|
}) => void;
|
|
31
|
-
setDatasourcesTheme: (state: import('immer/dist/internal
|
|
31
|
+
setDatasourcesTheme: (state: import('immer/dist/internal').WritableDraft<IWebformEditorState>, action: {
|
|
32
32
|
payload: TDatasourceTheme;
|
|
33
33
|
}) => void;
|
|
34
|
-
setWebformsFlag(state: import('immer/dist/internal
|
|
34
|
+
setWebformsFlag(state: import('immer/dist/internal').WritableDraft<IWebformEditorState>, action: PayloadAction<{
|
|
35
35
|
[key: string]: any;
|
|
36
36
|
}>): void;
|
|
37
37
|
}, "webforms">;
|
|
@@ -5,7 +5,7 @@ import { ITemplatedGroup, ITemplatedGroupItem } from './types';
|
|
|
5
5
|
|
|
6
6
|
export declare const fetchTemplates: import('@reduxjs/toolkit').AsyncThunk<ITemplatedGroup[], void, {
|
|
7
7
|
state: AppState;
|
|
8
|
-
dispatch?: import('redux').Dispatch | undefined;
|
|
8
|
+
dispatch?: import('redux').Dispatch<import('redux').AnyAction> | undefined;
|
|
9
9
|
extra?: unknown;
|
|
10
10
|
rejectValue?: unknown;
|
|
11
11
|
serializedErrorType?: unknown;
|
|
@@ -17,7 +17,7 @@ export declare const fetchTemplate: import('@reduxjs/toolkit').AsyncThunk<ITempl
|
|
|
17
17
|
name: string;
|
|
18
18
|
}, {
|
|
19
19
|
state: AppState;
|
|
20
|
-
dispatch?: import('redux').Dispatch | undefined;
|
|
20
|
+
dispatch?: import('redux').Dispatch<import('redux').AnyAction> | undefined;
|
|
21
21
|
extra?: unknown;
|
|
22
22
|
rejectValue?: unknown;
|
|
23
23
|
serializedErrorType?: unknown;
|
|
@@ -27,7 +27,7 @@ export declare const fetchTemplate: import('@reduxjs/toolkit').AsyncThunk<ITempl
|
|
|
27
27
|
}>;
|
|
28
28
|
export declare const fetchCraftedComponents: import('@reduxjs/toolkit').AsyncThunk<any, void, {
|
|
29
29
|
state?: unknown;
|
|
30
|
-
dispatch?: import('redux').Dispatch;
|
|
30
|
+
dispatch?: import('redux').Dispatch<import('redux').AnyAction> | undefined;
|
|
31
31
|
extra?: unknown;
|
|
32
32
|
rejectValue?: unknown;
|
|
33
33
|
serializedErrorType?: unknown;
|
|
@@ -37,7 +37,7 @@ export declare const fetchCraftedComponents: import('@reduxjs/toolkit').AsyncThu
|
|
|
37
37
|
}>;
|
|
38
38
|
export declare const addCraftedComponent: import('@reduxjs/toolkit').AsyncThunk<undefined, IComponentTemplate, {
|
|
39
39
|
state?: unknown;
|
|
40
|
-
dispatch?: import('redux').Dispatch;
|
|
40
|
+
dispatch?: import('redux').Dispatch<import('redux').AnyAction> | undefined;
|
|
41
41
|
extra?: unknown;
|
|
42
42
|
rejectValue?: unknown;
|
|
43
43
|
serializedErrorType?: unknown;
|
|
@@ -50,7 +50,7 @@ export declare const editCraftedComponent: import('@reduxjs/toolkit').AsyncThunk
|
|
|
50
50
|
changes: Partial<IComponentTemplate>;
|
|
51
51
|
}, {
|
|
52
52
|
state?: unknown;
|
|
53
|
-
dispatch?: import('redux').Dispatch;
|
|
53
|
+
dispatch?: import('redux').Dispatch<import('redux').AnyAction> | undefined;
|
|
54
54
|
extra?: unknown;
|
|
55
55
|
rejectValue?: unknown;
|
|
56
56
|
serializedErrorType?: unknown;
|
|
@@ -60,7 +60,7 @@ export declare const editCraftedComponent: import('@reduxjs/toolkit').AsyncThunk
|
|
|
60
60
|
}>;
|
|
61
61
|
export declare const removeCraftedComponent: import('@reduxjs/toolkit').AsyncThunk<undefined, string, {
|
|
62
62
|
state?: unknown;
|
|
63
|
-
dispatch?: import('redux').Dispatch;
|
|
63
|
+
dispatch?: import('redux').Dispatch<import('redux').AnyAction> | undefined;
|
|
64
64
|
extra?: unknown;
|
|
65
65
|
rejectValue?: unknown;
|
|
66
66
|
serializedErrorType?: unknown;
|
|
@@ -78,8 +78,29 @@ type TAddDatasource = {
|
|
|
78
78
|
path: string;
|
|
79
79
|
};
|
|
80
80
|
export declare const addDatasource: import('@reduxjs/toolkit').AsyncThunk<TDatasourcesReturnType | undefined, TAddDatasource, {
|
|
81
|
-
state:
|
|
82
|
-
|
|
81
|
+
state: import('redux').CombinedState<{
|
|
82
|
+
root: import('..').IRootState;
|
|
83
|
+
explorer: import('..').ITreeItem[];
|
|
84
|
+
debugger: import('..').IDebuggerState;
|
|
85
|
+
settings: import('..').ISettingsState;
|
|
86
|
+
catalog: {
|
|
87
|
+
state: "loading";
|
|
88
|
+
} | {
|
|
89
|
+
state: "loaded";
|
|
90
|
+
model: datasources.IEnhancedCatalog;
|
|
91
|
+
} | {
|
|
92
|
+
state: "error";
|
|
93
|
+
error: string;
|
|
94
|
+
};
|
|
95
|
+
roles: import('..').IRolesState;
|
|
96
|
+
sharedDatasources: import('..').ISharedDatasourcesState;
|
|
97
|
+
savedConditions: import('..').ISavedConditionsState;
|
|
98
|
+
webforms: import('./types').IWebformEditorState;
|
|
99
|
+
modals: import('..').IModalsState;
|
|
100
|
+
sharedCSS: import('..').ISharedCSSState;
|
|
101
|
+
model: import('..').IModelState;
|
|
102
|
+
}>;
|
|
103
|
+
dispatch: import('redux').Dispatch<import('redux').AnyAction>;
|
|
83
104
|
extra: unknown;
|
|
84
105
|
rejectValue: string;
|
|
85
106
|
serializedErrorType: unknown;
|
|
@@ -104,8 +125,29 @@ type TEditDatasourceProperties = {
|
|
|
104
125
|
};
|
|
105
126
|
type TEditDatasource = TEditDatasourceProperty | TEditDatasourceProperties;
|
|
106
127
|
export declare const editDatasource: import('@reduxjs/toolkit').AsyncThunk<TDatasourcesReturnType | undefined, TEditDatasource, {
|
|
107
|
-
state:
|
|
108
|
-
|
|
128
|
+
state: import('redux').CombinedState<{
|
|
129
|
+
root: import('..').IRootState;
|
|
130
|
+
explorer: import('..').ITreeItem[];
|
|
131
|
+
debugger: import('..').IDebuggerState;
|
|
132
|
+
settings: import('..').ISettingsState;
|
|
133
|
+
catalog: {
|
|
134
|
+
state: "loading";
|
|
135
|
+
} | {
|
|
136
|
+
state: "loaded";
|
|
137
|
+
model: datasources.IEnhancedCatalog;
|
|
138
|
+
} | {
|
|
139
|
+
state: "error";
|
|
140
|
+
error: string;
|
|
141
|
+
};
|
|
142
|
+
roles: import('..').IRolesState;
|
|
143
|
+
sharedDatasources: import('..').ISharedDatasourcesState;
|
|
144
|
+
savedConditions: import('..').ISavedConditionsState;
|
|
145
|
+
webforms: import('./types').IWebformEditorState;
|
|
146
|
+
modals: import('..').IModalsState;
|
|
147
|
+
sharedCSS: import('..').ISharedCSSState;
|
|
148
|
+
model: import('..').IModelState;
|
|
149
|
+
}>;
|
|
150
|
+
dispatch: import('redux').Dispatch<import('redux').AnyAction>;
|
|
109
151
|
extra: unknown;
|
|
110
152
|
rejectValue: string;
|
|
111
153
|
serializedErrorType: unknown;
|
|
@@ -113,7 +155,10 @@ export declare const editDatasource: import('@reduxjs/toolkit').AsyncThunk<TData
|
|
|
113
155
|
fulfilledMeta: unknown;
|
|
114
156
|
rejectedMeta: unknown;
|
|
115
157
|
}>;
|
|
116
|
-
export declare const isRenameDatasource: (action: PayloadAction<any>) => action is
|
|
158
|
+
export declare const isRenameDatasource: (action: PayloadAction<any>) => action is {
|
|
159
|
+
payload: TRenameDatasource;
|
|
160
|
+
type: string;
|
|
161
|
+
};
|
|
117
162
|
type TRenameDatasource = {
|
|
118
163
|
id: string;
|
|
119
164
|
path: string;
|
|
@@ -122,8 +167,29 @@ type TRenameDatasource = {
|
|
|
122
167
|
updateRefs: boolean;
|
|
123
168
|
};
|
|
124
169
|
export declare const renameDatasource: import('@reduxjs/toolkit').AsyncThunk<OrNull<TDatasourcesReturnType>, TRenameDatasource, {
|
|
125
|
-
state:
|
|
126
|
-
|
|
170
|
+
state: import('redux').CombinedState<{
|
|
171
|
+
root: import('..').IRootState;
|
|
172
|
+
explorer: import('..').ITreeItem[];
|
|
173
|
+
debugger: import('..').IDebuggerState;
|
|
174
|
+
settings: import('..').ISettingsState;
|
|
175
|
+
catalog: {
|
|
176
|
+
state: "loading";
|
|
177
|
+
} | {
|
|
178
|
+
state: "loaded";
|
|
179
|
+
model: datasources.IEnhancedCatalog;
|
|
180
|
+
} | {
|
|
181
|
+
state: "error";
|
|
182
|
+
error: string;
|
|
183
|
+
};
|
|
184
|
+
roles: import('..').IRolesState;
|
|
185
|
+
sharedDatasources: import('..').ISharedDatasourcesState;
|
|
186
|
+
savedConditions: import('..').ISavedConditionsState;
|
|
187
|
+
webforms: import('./types').IWebformEditorState;
|
|
188
|
+
modals: import('..').IModalsState;
|
|
189
|
+
sharedCSS: import('..').ISharedCSSState;
|
|
190
|
+
model: import('..').IModelState;
|
|
191
|
+
}>;
|
|
192
|
+
dispatch: import('redux').Dispatch<import('redux').AnyAction>;
|
|
127
193
|
extra: unknown;
|
|
128
194
|
rejectValue: string;
|
|
129
195
|
serializedErrorType: unknown;
|
|
@@ -137,8 +203,29 @@ type TDeleteDatasource = {
|
|
|
137
203
|
namespace: string;
|
|
138
204
|
};
|
|
139
205
|
export declare const deleteDatasource: import('@reduxjs/toolkit').AsyncThunk<OrNull<TDatasourcesReturnType>, TDeleteDatasource, {
|
|
140
|
-
state:
|
|
141
|
-
|
|
206
|
+
state: import('redux').CombinedState<{
|
|
207
|
+
root: import('..').IRootState;
|
|
208
|
+
explorer: import('..').ITreeItem[];
|
|
209
|
+
debugger: import('..').IDebuggerState;
|
|
210
|
+
settings: import('..').ISettingsState;
|
|
211
|
+
catalog: {
|
|
212
|
+
state: "loading";
|
|
213
|
+
} | {
|
|
214
|
+
state: "loaded";
|
|
215
|
+
model: datasources.IEnhancedCatalog;
|
|
216
|
+
} | {
|
|
217
|
+
state: "error";
|
|
218
|
+
error: string;
|
|
219
|
+
};
|
|
220
|
+
roles: import('..').IRolesState;
|
|
221
|
+
sharedDatasources: import('..').ISharedDatasourcesState;
|
|
222
|
+
savedConditions: import('..').ISavedConditionsState;
|
|
223
|
+
webforms: import('./types').IWebformEditorState;
|
|
224
|
+
modals: import('..').IModalsState;
|
|
225
|
+
sharedCSS: import('..').ISharedCSSState;
|
|
226
|
+
model: import('..').IModelState;
|
|
227
|
+
}>;
|
|
228
|
+
dispatch: import('redux').Dispatch<import('redux').AnyAction>;
|
|
142
229
|
extra: unknown;
|
|
143
230
|
rejectValue: string;
|
|
144
231
|
serializedErrorType: unknown;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@ws-ui/store",
|
|
3
|
+
"private": false,
|
|
4
|
+
"version": "1.1.1",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/index.cjs.js",
|
|
7
|
+
"module": "./dist/index.es.js",
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
|
+
"files": [
|
|
10
|
+
"dist"
|
|
11
|
+
],
|
|
12
|
+
"scripts": {
|
|
13
|
+
"start-dev": "nodemon --watch src --ext ts,tsx,js,jsx,css --exec \"npm run build && npm run --prefix ../.. postbuild -- --packages=store\"",
|
|
14
|
+
"build": "tsc && vite build",
|
|
15
|
+
"prepack": "npm run build",
|
|
16
|
+
"test": "jest"
|
|
17
|
+
},
|
|
18
|
+
"overrides": {
|
|
19
|
+
"@ws-ui/shared": {
|
|
20
|
+
"@ws-ui/icons": "1.1.1"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"dependencies": {
|
|
24
|
+
"@reduxjs/toolkit": "^1.7.1",
|
|
25
|
+
"react-redux": "^7.2.6"
|
|
26
|
+
},
|
|
27
|
+
"peerDependencies": {
|
|
28
|
+
"lodash": "^4.17.21",
|
|
29
|
+
"minimatch": "^10.0.1",
|
|
30
|
+
"react": "^17.0.2",
|
|
31
|
+
"react-dom": "^17.0.2",
|
|
32
|
+
"react-flow-renderer": "^10.3.17",
|
|
33
|
+
"react-icons": "^4.3.1",
|
|
34
|
+
"vscode-debugprotocol": "^1.51.0"
|
|
35
|
+
},
|
|
36
|
+
"devDependencies": {
|
|
37
|
+
"@esbuild/darwin-arm64": "^0.21.4",
|
|
38
|
+
"@jest/globals": "^29.7.0",
|
|
39
|
+
"@testing-library/jest-dom": "^6.4.2",
|
|
40
|
+
"@testing-library/react": "^12.1.5",
|
|
41
|
+
"@types/jest": "^29.5.5",
|
|
42
|
+
"@types/lodash": "^4.14.199",
|
|
43
|
+
"@types/minimatch": "^5.1.2",
|
|
44
|
+
"@types/node": "^20.6.5",
|
|
45
|
+
"@types/react": "^17.0.24",
|
|
46
|
+
"@types/react-dom": "^17.0.5",
|
|
47
|
+
"@types/react-redux": "^7.1.16",
|
|
48
|
+
"@typescript-eslint/eslint-plugin": "^6.0.0",
|
|
49
|
+
"@typescript-eslint/parser": "^6.0.0",
|
|
50
|
+
"@vitejs/plugin-react": "^4.0.3",
|
|
51
|
+
"eslint": "^8.45.0",
|
|
52
|
+
"eslint-plugin-react-hooks": "^5.2.0",
|
|
53
|
+
"eslint-plugin-react-refresh": "^0.4.3",
|
|
54
|
+
"jest": "^29.7.0",
|
|
55
|
+
"prettier": "^3.2.5",
|
|
56
|
+
"ts-jest": "^29.1.2",
|
|
57
|
+
"typescript": "^5.0.2",
|
|
58
|
+
"vite": "^5.0.0",
|
|
59
|
+
"vite-plugin-dts": "^3.5.4"
|
|
60
|
+
}
|
|
61
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export declare const selectAppState: ((state: import('redux').EmptyObject & {
|
|
2
|
-
root: import('
|
|
3
|
-
explorer: import('
|
|
4
|
-
debugger: import('
|
|
5
|
-
settings: import('
|
|
2
|
+
root: import('../modules').IRootState;
|
|
3
|
+
explorer: import('../modules').ITreeItem[];
|
|
4
|
+
debugger: import('../modules').IDebuggerState;
|
|
5
|
+
settings: import('../modules').ISettingsState;
|
|
6
6
|
catalog: {
|
|
7
7
|
state: "loading";
|
|
8
8
|
} | {
|
|
@@ -12,18 +12,18 @@ export declare const selectAppState: ((state: import('redux').EmptyObject & {
|
|
|
12
12
|
state: "error";
|
|
13
13
|
error: string;
|
|
14
14
|
};
|
|
15
|
-
roles: import('
|
|
16
|
-
sharedDatasources: import('
|
|
17
|
-
savedConditions: import('
|
|
18
|
-
webforms: import('
|
|
19
|
-
modals: import('
|
|
20
|
-
sharedCSS: import('
|
|
21
|
-
model: import('
|
|
15
|
+
roles: import('../modules').IRolesState;
|
|
16
|
+
sharedDatasources: import('../modules').ISharedDatasourcesState;
|
|
17
|
+
savedConditions: import('../modules').ISavedConditionsState;
|
|
18
|
+
webforms: import('../modules').IWebformEditorState;
|
|
19
|
+
modals: import('../modules').IModalsState;
|
|
20
|
+
sharedCSS: import('../modules').ISharedCSSState;
|
|
21
|
+
model: import('../modules').IModelState;
|
|
22
22
|
}) => import('redux').CombinedState<{
|
|
23
|
-
root: import('
|
|
24
|
-
explorer: import('
|
|
25
|
-
debugger: import('
|
|
26
|
-
settings: import('
|
|
23
|
+
root: import('../modules').IRootState;
|
|
24
|
+
explorer: import('../modules').ITreeItem[];
|
|
25
|
+
debugger: import('../modules').IDebuggerState;
|
|
26
|
+
settings: import('../modules').ISettingsState;
|
|
27
27
|
catalog: {
|
|
28
28
|
state: "loading";
|
|
29
29
|
} | {
|
|
@@ -33,18 +33,18 @@ export declare const selectAppState: ((state: import('redux').EmptyObject & {
|
|
|
33
33
|
state: "error";
|
|
34
34
|
error: string;
|
|
35
35
|
};
|
|
36
|
-
roles: import('
|
|
37
|
-
sharedDatasources: import('
|
|
38
|
-
savedConditions: import('
|
|
39
|
-
webforms: import('
|
|
40
|
-
modals: import('
|
|
41
|
-
sharedCSS: import('
|
|
42
|
-
model: import('
|
|
36
|
+
roles: import('../modules').IRolesState;
|
|
37
|
+
sharedDatasources: import('../modules').ISharedDatasourcesState;
|
|
38
|
+
savedConditions: import('../modules').ISavedConditionsState;
|
|
39
|
+
webforms: import('../modules').IWebformEditorState;
|
|
40
|
+
modals: import('../modules').IModalsState;
|
|
41
|
+
sharedCSS: import('../modules').ISharedCSSState;
|
|
42
|
+
model: import('../modules').IModelState;
|
|
43
43
|
}>) & import('reselect').OutputSelectorFields<(args_0: import('redux').CombinedState<{
|
|
44
|
-
root: import('
|
|
45
|
-
explorer: import('
|
|
46
|
-
debugger: import('
|
|
47
|
-
settings: import('
|
|
44
|
+
root: import('../modules').IRootState;
|
|
45
|
+
explorer: import('../modules').ITreeItem[];
|
|
46
|
+
debugger: import('../modules').IDebuggerState;
|
|
47
|
+
settings: import('../modules').ISettingsState;
|
|
48
48
|
catalog: {
|
|
49
49
|
state: "loading";
|
|
50
50
|
} | {
|
|
@@ -54,18 +54,18 @@ export declare const selectAppState: ((state: import('redux').EmptyObject & {
|
|
|
54
54
|
state: "error";
|
|
55
55
|
error: string;
|
|
56
56
|
};
|
|
57
|
-
roles: import('
|
|
58
|
-
sharedDatasources: import('
|
|
59
|
-
savedConditions: import('
|
|
60
|
-
webforms: import('
|
|
61
|
-
modals: import('
|
|
62
|
-
sharedCSS: import('
|
|
63
|
-
model: import('
|
|
57
|
+
roles: import('../modules').IRolesState;
|
|
58
|
+
sharedDatasources: import('../modules').ISharedDatasourcesState;
|
|
59
|
+
savedConditions: import('../modules').ISavedConditionsState;
|
|
60
|
+
webforms: import('../modules').IWebformEditorState;
|
|
61
|
+
modals: import('../modules').IModalsState;
|
|
62
|
+
sharedCSS: import('../modules').ISharedCSSState;
|
|
63
|
+
model: import('../modules').IModelState;
|
|
64
64
|
}>) => import('redux').CombinedState<{
|
|
65
|
-
root: import('
|
|
66
|
-
explorer: import('
|
|
67
|
-
debugger: import('
|
|
68
|
-
settings: import('
|
|
65
|
+
root: import('../modules').IRootState;
|
|
66
|
+
explorer: import('../modules').ITreeItem[];
|
|
67
|
+
debugger: import('../modules').IDebuggerState;
|
|
68
|
+
settings: import('../modules').ISettingsState;
|
|
69
69
|
catalog: {
|
|
70
70
|
state: "loading";
|
|
71
71
|
} | {
|
|
@@ -75,13 +75,13 @@ export declare const selectAppState: ((state: import('redux').EmptyObject & {
|
|
|
75
75
|
state: "error";
|
|
76
76
|
error: string;
|
|
77
77
|
};
|
|
78
|
-
roles: import('
|
|
79
|
-
sharedDatasources: import('
|
|
80
|
-
savedConditions: import('
|
|
81
|
-
webforms: import('
|
|
82
|
-
modals: import('
|
|
83
|
-
sharedCSS: import('
|
|
84
|
-
model: import('
|
|
78
|
+
roles: import('../modules').IRolesState;
|
|
79
|
+
sharedDatasources: import('../modules').ISharedDatasourcesState;
|
|
80
|
+
savedConditions: import('../modules').ISavedConditionsState;
|
|
81
|
+
webforms: import('../modules').IWebformEditorState;
|
|
82
|
+
modals: import('../modules').IModalsState;
|
|
83
|
+
sharedCSS: import('../modules').ISharedCSSState;
|
|
84
|
+
model: import('../modules').IModelState;
|
|
85
85
|
}>, {
|
|
86
86
|
clearCache: () => void;
|
|
87
87
|
}> & {
|
|
@@ -25,27 +25,27 @@ export declare const selectComponentsByPath: (tabPath: string) => ((state: impor
|
|
|
25
25
|
sharedCSS: import('..').ISharedCSSState;
|
|
26
26
|
model: import('..').IModelState;
|
|
27
27
|
}) => {
|
|
28
|
-
parent:
|
|
28
|
+
parent: string | null;
|
|
29
29
|
hidden: boolean;
|
|
30
30
|
props: any;
|
|
31
31
|
displayName: string;
|
|
32
32
|
isCanvas: boolean;
|
|
33
|
-
linkedNodes: Record<string,
|
|
34
|
-
nodes:
|
|
33
|
+
linkedNodes: Record<string, string>;
|
|
34
|
+
nodes: string[];
|
|
35
35
|
custom?: any;
|
|
36
|
-
_childCanvas?: Record<string,
|
|
36
|
+
_childCanvas?: Record<string, string> | undefined;
|
|
37
37
|
type: import('@ws-ui/craftjs-core').ReduceCompType;
|
|
38
38
|
id: string;
|
|
39
39
|
}[]) & import('reselect').OutputSelectorFields<(args_0: import('..').IRootState) => {
|
|
40
|
-
parent:
|
|
40
|
+
parent: string | null;
|
|
41
41
|
hidden: boolean;
|
|
42
42
|
props: any;
|
|
43
43
|
displayName: string;
|
|
44
44
|
isCanvas: boolean;
|
|
45
|
-
linkedNodes: Record<string,
|
|
46
|
-
nodes:
|
|
45
|
+
linkedNodes: Record<string, string>;
|
|
46
|
+
nodes: string[];
|
|
47
47
|
custom?: any;
|
|
48
|
-
_childCanvas?: Record<string,
|
|
48
|
+
_childCanvas?: Record<string, string> | undefined;
|
|
49
49
|
type: import('@ws-ui/craftjs-core').ReduceCompType;
|
|
50
50
|
id: string;
|
|
51
51
|
}[], {
|