@ws-ui/store 0.3.7 → 0.3.9
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/hooks/store.d.ts +3 -24
- package/dist/index.cjs.js +115 -86
- package/dist/index.es.js +16649 -11462
- package/dist/modules/catalog/index.d.ts +1 -9
- package/dist/modules/catalog/reducer.d.ts +1 -9
- package/dist/modules/catalog/thunks.d.ts +1 -10
- package/dist/modules/debugger/index.d.ts +1 -1
- package/dist/modules/debugger/reducer.d.ts +3 -118
- package/dist/modules/debugger/thunks.d.ts +2 -26
- 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 +2 -44
- package/dist/modules/explorer/thunks.d.ts +33 -368
- package/dist/modules/explorer/utils.d.ts +1 -2
- package/dist/modules/index.d.ts +1 -22
- package/dist/modules/modals/index.d.ts +1 -1
- package/dist/modules/modals/reducer.d.ts +2 -13
- package/dist/modules/modals/thunks.d.ts +1 -20
- 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 +2 -10
- package/dist/modules/model/selectors.d.ts +7 -13
- package/dist/modules/model/subjects.d.ts +1 -7
- package/dist/modules/model/thunks.d.ts +4 -89
- 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 +2 -41
- package/dist/modules/roles/thunks.d.ts +3 -42
- package/dist/modules/root/index.d.ts +1 -1
- package/dist/modules/root/reducer.d.ts +2 -199
- package/dist/modules/root/thunks.d.ts +16 -246
- 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 +2 -28
- package/dist/modules/settings/thunks.d.ts +2 -23
- package/dist/modules/shared-conditions/index.d.ts +1 -1
- package/dist/modules/shared-conditions/reducer.d.ts +3 -35
- package/dist/modules/shared-conditions/thunks.d.ts +1 -13
- package/dist/modules/shared-conditions/utils.d.ts +0 -2
- package/dist/modules/shared-css/index.d.ts +1 -1
- package/dist/modules/shared-css/reducer.d.ts +2 -14
- package/dist/modules/shared-css/thunks.d.ts +1 -13
- package/dist/modules/shared-datasources/index.d.ts +1 -1
- package/dist/modules/shared-datasources/reducer.d.ts +2 -10
- package/dist/modules/shared-datasources/thunks.d.ts +6 -73
- 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 +1 -52
- package/dist/modules/webforms/datasources.adapter.d.ts +2 -24
- package/dist/modules/webforms/index.d.ts +1 -1
- package/dist/modules/webforms/reducer.d.ts +2 -47
- package/dist/modules/webforms/thunks.d.ts +10 -140
- package/dist/modules/webforms/types.d.ts +1 -1
- package/dist/package.json +28 -0
- package/dist/provider.d.ts +1 -1
- package/dist/selectors/catalog.d.ts +8 -200
- package/dist/selectors/common.d.ts +1 -89
- package/dist/selectors/components.d.ts +1 -50
- package/dist/selectors/datasources.d.ts +4 -152
- package/dist/selectors/debugger.d.ts +26 -612
- package/dist/selectors/explorer.d.ts +22 -1010
- package/dist/selectors/modals.d.ts +1 -26
- package/dist/selectors/roles.d.ts +8 -238
- package/dist/selectors/settings.d.ts +12 -332
- package/dist/selectors/states.d.ts +5 -201
- package/dist/selectors/styles.d.ts +5 -162
- package/dist/selectors/tabs.d.ts +3 -156
- package/dist/selectors/webforms.d.ts +13 -366
- package/dist/store.d.ts +3 -45
- package/dist/style.css +1 -0
- package/dist/utils.d.ts +4 -4
- package/package.json +15 -55
- package/dist/index.cjs.js.map +0 -1
- package/dist/index.es.js.map +0 -1
|
@@ -1,24 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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('./types').IWebformEditorState;
|
|
19
|
-
modals: import('..').IModalsState;
|
|
20
|
-
sharedCSS: import('..').ISharedCSSState;
|
|
21
|
-
model: import('..').IModelState;
|
|
22
|
-
}>, {
|
|
23
|
-
[x: string]: datasources.ICreateDataSource[];
|
|
24
|
-
}>;
|
|
1
|
+
/// <reference types="lodash" />
|
|
2
|
+
export declare const listDsNamespaces: import('lodash').CurriedFunction2<string, AppState, any>;
|
|
@@ -1,51 +1,6 @@
|
|
|
1
|
-
import { PayloadAction } from '@reduxjs/toolkit';
|
|
2
|
-
import { ITemplatedGroup, ITemplatedGroupItem, IWebformEditorState, TAddComponentAction, TInspectAction, TRemoveComponentAction, TToggleInspectorAction } from './types';
|
|
3
|
-
import { IComponentTemplate, TDatasourceTheme } from '@ws-ui/shared';
|
|
4
|
-
|
|
5
1
|
export declare const FLAGS_INIT_STATE: {
|
|
6
2
|
[x: string]: boolean;
|
|
7
3
|
};
|
|
8
|
-
declare const stateSlice:
|
|
9
|
-
|
|
10
|
-
inspect: (state: import('immer/dist/internal.js').WritableDraft<IWebformEditorState>, action: TInspectAction) => void;
|
|
11
|
-
addComponent: (state: import('immer/dist/internal.js').WritableDraft<IWebformEditorState>, action: TAddComponentAction) => void;
|
|
12
|
-
editComponent: (state: import('immer/dist/internal.js').WritableDraft<IWebformEditorState>, action: PayloadAction<{
|
|
13
|
-
id: string;
|
|
14
|
-
changes: Partial<IComponentTemplate>;
|
|
15
|
-
}>) => void;
|
|
16
|
-
removeComponent: (state: import('immer/dist/internal.js').WritableDraft<IWebformEditorState>, action: TRemoveComponentAction) => void;
|
|
17
|
-
setSelectedGroup: (state: import('immer/dist/internal.js').WritableDraft<IWebformEditorState>, action: {
|
|
18
|
-
payload: {
|
|
19
|
-
selectedGroup: string;
|
|
20
|
-
};
|
|
21
|
-
}) => void;
|
|
22
|
-
setTemplatesData: (state: import('immer/dist/internal.js').WritableDraft<IWebformEditorState>, action: {
|
|
23
|
-
payload: ITemplatedGroup[];
|
|
24
|
-
}) => void;
|
|
25
|
-
setTemplateData: (state: import('immer/dist/internal.js').WritableDraft<IWebformEditorState>, action: {
|
|
26
|
-
payload: {
|
|
27
|
-
group: string;
|
|
28
|
-
components: ITemplatedGroupItem[];
|
|
29
|
-
};
|
|
30
|
-
}) => void;
|
|
31
|
-
setDatasourcesTheme: (state: import('immer/dist/internal.js').WritableDraft<IWebformEditorState>, action: {
|
|
32
|
-
payload: TDatasourceTheme;
|
|
33
|
-
}) => void;
|
|
34
|
-
setWebformsFlag(state: import('immer/dist/internal.js').WritableDraft<IWebformEditorState>, action: PayloadAction<{
|
|
35
|
-
[key: string]: any;
|
|
36
|
-
}>): void;
|
|
37
|
-
}, "webforms">;
|
|
38
|
-
export declare const toggleInspector: import('@reduxjs/toolkit').ActionCreatorWithPayload<{
|
|
39
|
-
type: "css" | "datasource";
|
|
40
|
-
}, "webforms/toggleInspector">, inspect: import('@reduxjs/toolkit').ActionCreatorWithPayload<import('./types').TToggleInspectorPayload, "webforms/inspect">, addComponent: import('@reduxjs/toolkit').ActionCreatorWithPayload<IComponentTemplate, "webforms/addComponent">, editComponent: import('@reduxjs/toolkit').ActionCreatorWithPayload<{
|
|
41
|
-
id: string;
|
|
42
|
-
changes: Partial<IComponentTemplate>;
|
|
43
|
-
}, "webforms/editComponent">, removeComponent: import('@reduxjs/toolkit').ActionCreatorWithPayload<string, "webforms/removeComponent">, setSelectedGroup: import('@reduxjs/toolkit').ActionCreatorWithPayload<{
|
|
44
|
-
selectedGroup: string;
|
|
45
|
-
}, "webforms/setSelectedGroup">, setTemplatesData: import('@reduxjs/toolkit').ActionCreatorWithPayload<ITemplatedGroup[], "webforms/setTemplatesData">, setTemplateData: import('@reduxjs/toolkit').ActionCreatorWithPayload<{
|
|
46
|
-
group: string;
|
|
47
|
-
components: ITemplatedGroupItem[];
|
|
48
|
-
}, "webforms/setTemplateData">, setDatasourcesTheme: import('@reduxjs/toolkit').ActionCreatorWithPayload<string | number, "webforms/setDatasourcesTheme">, setWebformsFlag: import('@reduxjs/toolkit').ActionCreatorWithPayload<{
|
|
49
|
-
[key: string]: any;
|
|
50
|
-
}, "webforms/setWebformsFlag">;
|
|
4
|
+
declare const stateSlice: any;
|
|
5
|
+
export declare const toggleInspector: any, inspect: any, addComponent: any, editComponent: any, removeComponent: any, setSelectedGroup: any, setTemplatesData: any, setTemplateData: any, setDatasourcesTheme: any, setWebformsFlag: any;
|
|
51
6
|
export default stateSlice;
|
|
@@ -1,118 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export declare const
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
extra?: unknown;
|
|
10
|
-
rejectValue?: unknown;
|
|
11
|
-
serializedErrorType?: unknown;
|
|
12
|
-
pendingMeta?: unknown;
|
|
13
|
-
fulfilledMeta?: unknown;
|
|
14
|
-
rejectedMeta?: unknown;
|
|
15
|
-
}>;
|
|
16
|
-
export declare const fetchTemplate: import('@reduxjs/toolkit').AsyncThunk<ITemplatedGroupItem[], {
|
|
17
|
-
name: string;
|
|
18
|
-
}, {
|
|
19
|
-
state: AppState;
|
|
20
|
-
dispatch?: import('redux').Dispatch | undefined;
|
|
21
|
-
extra?: unknown;
|
|
22
|
-
rejectValue?: unknown;
|
|
23
|
-
serializedErrorType?: unknown;
|
|
24
|
-
pendingMeta?: unknown;
|
|
25
|
-
fulfilledMeta?: unknown;
|
|
26
|
-
rejectedMeta?: unknown;
|
|
27
|
-
}>;
|
|
28
|
-
export declare const fetchCraftedComponents: import('@reduxjs/toolkit').AsyncThunk<any, void, {
|
|
29
|
-
state?: unknown;
|
|
30
|
-
dispatch?: import('redux').Dispatch;
|
|
31
|
-
extra?: unknown;
|
|
32
|
-
rejectValue?: unknown;
|
|
33
|
-
serializedErrorType?: unknown;
|
|
34
|
-
pendingMeta?: unknown;
|
|
35
|
-
fulfilledMeta?: unknown;
|
|
36
|
-
rejectedMeta?: unknown;
|
|
37
|
-
}>;
|
|
38
|
-
export declare const addCraftedComponent: import('@reduxjs/toolkit').AsyncThunk<undefined, IComponentTemplate, {
|
|
39
|
-
state?: unknown;
|
|
40
|
-
dispatch?: import('redux').Dispatch;
|
|
41
|
-
extra?: unknown;
|
|
42
|
-
rejectValue?: unknown;
|
|
43
|
-
serializedErrorType?: unknown;
|
|
44
|
-
pendingMeta?: unknown;
|
|
45
|
-
fulfilledMeta?: unknown;
|
|
46
|
-
rejectedMeta?: unknown;
|
|
47
|
-
}>;
|
|
48
|
-
export declare const editCraftedComponent: import('@reduxjs/toolkit').AsyncThunk<undefined, {
|
|
49
|
-
id: string;
|
|
50
|
-
changes: Partial<IComponentTemplate>;
|
|
51
|
-
}, {
|
|
52
|
-
state?: unknown;
|
|
53
|
-
dispatch?: import('redux').Dispatch;
|
|
54
|
-
extra?: unknown;
|
|
55
|
-
rejectValue?: unknown;
|
|
56
|
-
serializedErrorType?: unknown;
|
|
57
|
-
pendingMeta?: unknown;
|
|
58
|
-
fulfilledMeta?: unknown;
|
|
59
|
-
rejectedMeta?: unknown;
|
|
60
|
-
}>;
|
|
61
|
-
export declare const removeCraftedComponent: import('@reduxjs/toolkit').AsyncThunk<undefined, string, {
|
|
62
|
-
state?: unknown;
|
|
63
|
-
dispatch?: import('redux').Dispatch;
|
|
64
|
-
extra?: unknown;
|
|
65
|
-
rejectValue?: unknown;
|
|
66
|
-
serializedErrorType?: unknown;
|
|
67
|
-
pendingMeta?: unknown;
|
|
68
|
-
fulfilledMeta?: unknown;
|
|
69
|
-
rejectedMeta?: unknown;
|
|
70
|
-
}>;
|
|
71
|
-
type TDatasourcesReturnType = {
|
|
72
|
-
path: string;
|
|
73
|
-
namespace: string;
|
|
74
|
-
list: datasources.ICreateDataSource[];
|
|
75
|
-
};
|
|
76
|
-
type TAddDatasource = {
|
|
77
|
-
datasource: datasources.ICreateDataSource;
|
|
78
|
-
path: string;
|
|
79
|
-
};
|
|
80
|
-
export declare const addDatasource: import('@reduxjs/toolkit').AsyncThunk<TDatasourcesReturnType | undefined, TAddDatasource, {
|
|
81
|
-
state: AppState;
|
|
82
|
-
dispatch: import('redux').Dispatch;
|
|
83
|
-
extra: unknown;
|
|
84
|
-
rejectValue: string;
|
|
85
|
-
serializedErrorType: unknown;
|
|
86
|
-
pendingMeta: unknown;
|
|
87
|
-
fulfilledMeta: unknown;
|
|
88
|
-
rejectedMeta: unknown;
|
|
89
|
-
}>;
|
|
90
|
-
type TEditDatasourceProperty = {
|
|
91
|
-
id: string;
|
|
92
|
-
path: string;
|
|
93
|
-
value: any;
|
|
94
|
-
property: string;
|
|
95
|
-
namespace: string;
|
|
96
|
-
updateRefs?: boolean;
|
|
97
|
-
};
|
|
98
|
-
type TEditDatasourceProperties = {
|
|
99
|
-
id: string;
|
|
100
|
-
path: string;
|
|
101
|
-
changes: Record<string, any>;
|
|
102
|
-
namespace: string;
|
|
103
|
-
updateRefs?: boolean;
|
|
104
|
-
};
|
|
105
|
-
type TEditDatasource = TEditDatasourceProperty | TEditDatasourceProperties;
|
|
106
|
-
export declare const editDatasource: import('@reduxjs/toolkit').AsyncThunk<TDatasourcesReturnType | undefined, TEditDatasource, {
|
|
107
|
-
state: AppState;
|
|
108
|
-
dispatch: import('redux').Dispatch;
|
|
109
|
-
extra: unknown;
|
|
110
|
-
rejectValue: string;
|
|
111
|
-
serializedErrorType: unknown;
|
|
112
|
-
pendingMeta: unknown;
|
|
113
|
-
fulfilledMeta: unknown;
|
|
114
|
-
rejectedMeta: unknown;
|
|
115
|
-
}>;
|
|
1
|
+
export declare const fetchTemplates: any;
|
|
2
|
+
export declare const fetchTemplate: any;
|
|
3
|
+
export declare const fetchCraftedComponents: any;
|
|
4
|
+
export declare const addCraftedComponent: any;
|
|
5
|
+
export declare const editCraftedComponent: any;
|
|
6
|
+
export declare const removeCraftedComponent: any;
|
|
7
|
+
export declare const addDatasource: any;
|
|
8
|
+
export declare const editDatasource: any;
|
|
116
9
|
export declare const isRenameDatasource: (action: PayloadAction<any>) => action is PayloadAction<TRenameDatasource>;
|
|
117
10
|
type TRenameDatasource = {
|
|
118
11
|
id: string;
|
|
@@ -121,29 +14,6 @@ type TRenameDatasource = {
|
|
|
121
14
|
namespace: string;
|
|
122
15
|
updateRefs: boolean;
|
|
123
16
|
};
|
|
124
|
-
export declare const renameDatasource:
|
|
125
|
-
|
|
126
|
-
dispatch: import('redux').Dispatch;
|
|
127
|
-
extra: unknown;
|
|
128
|
-
rejectValue: string;
|
|
129
|
-
serializedErrorType: unknown;
|
|
130
|
-
pendingMeta: unknown;
|
|
131
|
-
fulfilledMeta: unknown;
|
|
132
|
-
rejectedMeta: unknown;
|
|
133
|
-
}>;
|
|
134
|
-
type TDeleteDatasource = {
|
|
135
|
-
path: string;
|
|
136
|
-
id: string;
|
|
137
|
-
namespace: string;
|
|
138
|
-
};
|
|
139
|
-
export declare const deleteDatasource: import('@reduxjs/toolkit').AsyncThunk<OrNull<TDatasourcesReturnType>, TDeleteDatasource, {
|
|
140
|
-
state: AppState;
|
|
141
|
-
dispatch: import('redux').Dispatch;
|
|
142
|
-
extra: unknown;
|
|
143
|
-
rejectValue: string;
|
|
144
|
-
serializedErrorType: unknown;
|
|
145
|
-
pendingMeta: unknown;
|
|
146
|
-
fulfilledMeta: unknown;
|
|
147
|
-
rejectedMeta: unknown;
|
|
148
|
-
}>;
|
|
17
|
+
export declare const renameDatasource: any;
|
|
18
|
+
export declare const deleteDatasource: any;
|
|
149
19
|
export {};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@ws-ui/store",
|
|
3
|
+
"private": false,
|
|
4
|
+
"version": "0.3.9",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/index.cjs.js",
|
|
7
|
+
"module": "./dist/index.es.js",
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
|
+
"scripts": {
|
|
10
|
+
"build": "vite build",
|
|
11
|
+
"test": "jest"
|
|
12
|
+
},
|
|
13
|
+
"files": [
|
|
14
|
+
"dist"
|
|
15
|
+
],
|
|
16
|
+
"peerDependencies": {
|
|
17
|
+
"react": "17.0.2",
|
|
18
|
+
"react-dom": "17.0.2",
|
|
19
|
+
"@ws-ui/craftjs-layers": "*",
|
|
20
|
+
"@ws-ui/craftjs-core": "*",
|
|
21
|
+
"@ws-ui/craftjs-utils": "*",
|
|
22
|
+
"@ws-ui/shared": "*",
|
|
23
|
+
"@ws-ui/icons": "*",
|
|
24
|
+
"@ws-ui/code-editor": "*",
|
|
25
|
+
"@emotion/react": "*",
|
|
26
|
+
"@emotion/styled": "*"
|
|
27
|
+
}
|
|
28
|
+
}
|
package/dist/provider.d.ts
CHANGED
|
@@ -1,200 +1,8 @@
|
|
|
1
|
-
export declare const selectCatalog:
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
state: "loaded";
|
|
10
|
-
model: datasources.IEnhancedCatalog;
|
|
11
|
-
} | {
|
|
12
|
-
state: "error";
|
|
13
|
-
error: string;
|
|
14
|
-
};
|
|
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
|
-
}) => datasources.IEnhancedCatalog | null) & import('reselect').OutputSelectorFields<(args_0: import('redux').CombinedState<{
|
|
23
|
-
root: import('../modules').IRootState;
|
|
24
|
-
explorer: import('../modules').ITreeItem[];
|
|
25
|
-
debugger: import('../modules').IDebuggerState;
|
|
26
|
-
settings: import('../modules').ISettingsState;
|
|
27
|
-
catalog: {
|
|
28
|
-
state: "loading";
|
|
29
|
-
} | {
|
|
30
|
-
state: "loaded";
|
|
31
|
-
model: datasources.IEnhancedCatalog;
|
|
32
|
-
} | {
|
|
33
|
-
state: "error";
|
|
34
|
-
error: string;
|
|
35
|
-
};
|
|
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
|
-
}>) => datasources.IEnhancedCatalog | null, {
|
|
44
|
-
clearCache: () => void;
|
|
45
|
-
}> & {
|
|
46
|
-
clearCache: () => void;
|
|
47
|
-
};
|
|
48
|
-
export declare const selectCatalogState: ((state: import('redux').EmptyObject & {
|
|
49
|
-
root: import('../modules').IRootState;
|
|
50
|
-
explorer: import('../modules').ITreeItem[];
|
|
51
|
-
debugger: import('../modules').IDebuggerState;
|
|
52
|
-
settings: import('../modules').ISettingsState;
|
|
53
|
-
catalog: {
|
|
54
|
-
state: "loading";
|
|
55
|
-
} | {
|
|
56
|
-
state: "loaded";
|
|
57
|
-
model: datasources.IEnhancedCatalog;
|
|
58
|
-
} | {
|
|
59
|
-
state: "error";
|
|
60
|
-
error: string;
|
|
61
|
-
};
|
|
62
|
-
roles: import('../modules').IRolesState;
|
|
63
|
-
sharedDatasources: import('../modules').ISharedDatasourcesState;
|
|
64
|
-
savedConditions: import('../modules').ISavedConditionsState;
|
|
65
|
-
webforms: import('../modules').IWebformEditorState;
|
|
66
|
-
modals: import('../modules').IModalsState;
|
|
67
|
-
sharedCSS: import('../modules').ISharedCSSState;
|
|
68
|
-
model: import('../modules').IModelState;
|
|
69
|
-
}) => "loading" | "error" | "loaded") & import('reselect').OutputSelectorFields<(args_0: import('redux').CombinedState<{
|
|
70
|
-
root: import('../modules').IRootState;
|
|
71
|
-
explorer: import('../modules').ITreeItem[];
|
|
72
|
-
debugger: import('../modules').IDebuggerState;
|
|
73
|
-
settings: import('../modules').ISettingsState;
|
|
74
|
-
catalog: {
|
|
75
|
-
state: "loading";
|
|
76
|
-
} | {
|
|
77
|
-
state: "loaded";
|
|
78
|
-
model: datasources.IEnhancedCatalog;
|
|
79
|
-
} | {
|
|
80
|
-
state: "error";
|
|
81
|
-
error: string;
|
|
82
|
-
};
|
|
83
|
-
roles: import('../modules').IRolesState;
|
|
84
|
-
sharedDatasources: import('../modules').ISharedDatasourcesState;
|
|
85
|
-
savedConditions: import('../modules').ISavedConditionsState;
|
|
86
|
-
webforms: import('../modules').IWebformEditorState;
|
|
87
|
-
modals: import('../modules').IModalsState;
|
|
88
|
-
sharedCSS: import('../modules').ISharedCSSState;
|
|
89
|
-
model: import('../modules').IModelState;
|
|
90
|
-
}>) => "loading" | "error" | "loaded", {
|
|
91
|
-
clearCache: () => void;
|
|
92
|
-
}> & {
|
|
93
|
-
clearCache: () => void;
|
|
94
|
-
};
|
|
95
|
-
export declare const selectDataclasses: ((state: import('redux').EmptyObject & {
|
|
96
|
-
root: import('../modules').IRootState;
|
|
97
|
-
explorer: import('../modules').ITreeItem[];
|
|
98
|
-
debugger: import('../modules').IDebuggerState;
|
|
99
|
-
settings: import('../modules').ISettingsState;
|
|
100
|
-
catalog: {
|
|
101
|
-
state: "loading";
|
|
102
|
-
} | {
|
|
103
|
-
state: "loaded";
|
|
104
|
-
model: datasources.IEnhancedCatalog;
|
|
105
|
-
} | {
|
|
106
|
-
state: "error";
|
|
107
|
-
error: string;
|
|
108
|
-
};
|
|
109
|
-
roles: import('../modules').IRolesState;
|
|
110
|
-
sharedDatasources: import('../modules').ISharedDatasourcesState;
|
|
111
|
-
savedConditions: import('../modules').ISavedConditionsState;
|
|
112
|
-
webforms: import('../modules').IWebformEditorState;
|
|
113
|
-
modals: import('../modules').IModalsState;
|
|
114
|
-
sharedCSS: import('../modules').ISharedCSSState;
|
|
115
|
-
model: import('../modules').IModelState;
|
|
116
|
-
}) => never[] | datasources.IDataClasses) & import('reselect').OutputSelectorFields<(args_0: datasources.IEnhancedCatalog | null) => never[] | datasources.IDataClasses, {
|
|
117
|
-
clearCache: () => void;
|
|
118
|
-
}> & {
|
|
119
|
-
clearCache: () => void;
|
|
120
|
-
};
|
|
121
|
-
export declare const selectSingletons: ((state: import('redux').EmptyObject & {
|
|
122
|
-
root: import('../modules').IRootState;
|
|
123
|
-
explorer: import('../modules').ITreeItem[];
|
|
124
|
-
debugger: import('../modules').IDebuggerState;
|
|
125
|
-
settings: import('../modules').ISettingsState;
|
|
126
|
-
catalog: {
|
|
127
|
-
state: "loading";
|
|
128
|
-
} | {
|
|
129
|
-
state: "loaded";
|
|
130
|
-
model: datasources.IEnhancedCatalog;
|
|
131
|
-
} | {
|
|
132
|
-
state: "error";
|
|
133
|
-
error: string;
|
|
134
|
-
};
|
|
135
|
-
roles: import('../modules').IRolesState;
|
|
136
|
-
sharedDatasources: import('../modules').ISharedDatasourcesState;
|
|
137
|
-
savedConditions: import('../modules').ISavedConditionsState;
|
|
138
|
-
webforms: import('../modules').IWebformEditorState;
|
|
139
|
-
modals: import('../modules').IModalsState;
|
|
140
|
-
sharedCSS: import('../modules').ISharedCSSState;
|
|
141
|
-
model: import('../modules').IModelState;
|
|
142
|
-
}) => never[] | datasources.ISingletons) & import('reselect').OutputSelectorFields<(args_0: datasources.IEnhancedCatalog | null) => never[] | datasources.ISingletons, {
|
|
143
|
-
clearCache: () => void;
|
|
144
|
-
}> & {
|
|
145
|
-
clearCache: () => void;
|
|
146
|
-
};
|
|
147
|
-
export declare const selectVirtualDataClasses: ((state: import('redux').EmptyObject & {
|
|
148
|
-
root: import('../modules').IRootState;
|
|
149
|
-
explorer: import('../modules').ITreeItem[];
|
|
150
|
-
debugger: import('../modules').IDebuggerState;
|
|
151
|
-
settings: import('../modules').ISettingsState;
|
|
152
|
-
catalog: {
|
|
153
|
-
state: "loading";
|
|
154
|
-
} | {
|
|
155
|
-
state: "loaded";
|
|
156
|
-
model: datasources.IEnhancedCatalog;
|
|
157
|
-
} | {
|
|
158
|
-
state: "error";
|
|
159
|
-
error: string;
|
|
160
|
-
};
|
|
161
|
-
roles: import('../modules').IRolesState;
|
|
162
|
-
sharedDatasources: import('../modules').ISharedDatasourcesState;
|
|
163
|
-
savedConditions: import('../modules').ISavedConditionsState;
|
|
164
|
-
webforms: import('../modules').IWebformEditorState;
|
|
165
|
-
modals: import('../modules').IModalsState;
|
|
166
|
-
sharedCSS: import('../modules').ISharedCSSState;
|
|
167
|
-
model: import('../modules').IModelState;
|
|
168
|
-
}) => datasources.IDetailedDataClass[]) & import('reselect').OutputSelectorFields<(args_0: never[] | datasources.IDataClasses) => datasources.IDetailedDataClass[], {
|
|
169
|
-
clearCache: () => void;
|
|
170
|
-
}> & {
|
|
171
|
-
clearCache: () => void;
|
|
172
|
-
};
|
|
173
|
-
export declare const selectCatalogMethods: ((state: import('redux').EmptyObject & {
|
|
174
|
-
root: import('../modules').IRootState;
|
|
175
|
-
explorer: import('../modules').ITreeItem[];
|
|
176
|
-
debugger: import('../modules').IDebuggerState;
|
|
177
|
-
settings: import('../modules').ISettingsState;
|
|
178
|
-
catalog: {
|
|
179
|
-
state: "loading";
|
|
180
|
-
} | {
|
|
181
|
-
state: "loaded";
|
|
182
|
-
model: datasources.IEnhancedCatalog;
|
|
183
|
-
} | {
|
|
184
|
-
state: "error";
|
|
185
|
-
error: string;
|
|
186
|
-
};
|
|
187
|
-
roles: import('../modules').IRolesState;
|
|
188
|
-
sharedDatasources: import('../modules').ISharedDatasourcesState;
|
|
189
|
-
savedConditions: import('../modules').ISavedConditionsState;
|
|
190
|
-
webforms: import('../modules').IWebformEditorState;
|
|
191
|
-
modals: import('../modules').IModalsState;
|
|
192
|
-
sharedCSS: import('../modules').ISharedCSSState;
|
|
193
|
-
model: import('../modules').IModelState;
|
|
194
|
-
}) => catalog.IMethod[]) & import('reselect').OutputSelectorFields<(args_0: datasources.IEnhancedCatalog | null) => catalog.IMethod[], {
|
|
195
|
-
clearCache: () => void;
|
|
196
|
-
}> & {
|
|
197
|
-
clearCache: () => void;
|
|
198
|
-
};
|
|
199
|
-
export declare const useMethods: (dataclassId?: string) => catalog.IMethod[];
|
|
200
|
-
export declare const useMethod: (dataclassId: string, methodId: string, applyTo: catalog.ApplyTo) => catalog.IMethod | undefined;
|
|
1
|
+
export declare const selectCatalog: any;
|
|
2
|
+
export declare const selectCatalogState: any;
|
|
3
|
+
export declare const selectDataclasses: any;
|
|
4
|
+
export declare const selectSingletons: any;
|
|
5
|
+
export declare const selectVirtualDataClasses: any;
|
|
6
|
+
export declare const selectCatalogMethods: any;
|
|
7
|
+
export declare const useMethods: (dataclassId?: string) => any;
|
|
8
|
+
export declare const useMethod: (dataclassId: string, methodId: string, applyTo: catalog.ApplyTo) => any;
|
|
@@ -1,89 +1 @@
|
|
|
1
|
-
export declare const selectAppState:
|
|
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
|
-
}) => import('redux').CombinedState<{
|
|
23
|
-
root: import('..').IRootState;
|
|
24
|
-
explorer: import('..').ITreeItem[];
|
|
25
|
-
debugger: import('..').IDebuggerState;
|
|
26
|
-
settings: import('..').ISettingsState;
|
|
27
|
-
catalog: {
|
|
28
|
-
state: "loading";
|
|
29
|
-
} | {
|
|
30
|
-
state: "loaded";
|
|
31
|
-
model: datasources.IEnhancedCatalog;
|
|
32
|
-
} | {
|
|
33
|
-
state: "error";
|
|
34
|
-
error: string;
|
|
35
|
-
};
|
|
36
|
-
roles: import('..').IRolesState;
|
|
37
|
-
sharedDatasources: import('..').ISharedDatasourcesState;
|
|
38
|
-
savedConditions: import('..').ISavedConditionsState;
|
|
39
|
-
webforms: import('..').IWebformEditorState;
|
|
40
|
-
modals: import('..').IModalsState;
|
|
41
|
-
sharedCSS: import('..').ISharedCSSState;
|
|
42
|
-
model: import('..').IModelState;
|
|
43
|
-
}>) & import('reselect').OutputSelectorFields<(args_0: import('redux').CombinedState<{
|
|
44
|
-
root: import('..').IRootState;
|
|
45
|
-
explorer: import('..').ITreeItem[];
|
|
46
|
-
debugger: import('..').IDebuggerState;
|
|
47
|
-
settings: import('..').ISettingsState;
|
|
48
|
-
catalog: {
|
|
49
|
-
state: "loading";
|
|
50
|
-
} | {
|
|
51
|
-
state: "loaded";
|
|
52
|
-
model: datasources.IEnhancedCatalog;
|
|
53
|
-
} | {
|
|
54
|
-
state: "error";
|
|
55
|
-
error: string;
|
|
56
|
-
};
|
|
57
|
-
roles: import('..').IRolesState;
|
|
58
|
-
sharedDatasources: import('..').ISharedDatasourcesState;
|
|
59
|
-
savedConditions: import('..').ISavedConditionsState;
|
|
60
|
-
webforms: import('..').IWebformEditorState;
|
|
61
|
-
modals: import('..').IModalsState;
|
|
62
|
-
sharedCSS: import('..').ISharedCSSState;
|
|
63
|
-
model: import('..').IModelState;
|
|
64
|
-
}>) => import('redux').CombinedState<{
|
|
65
|
-
root: import('..').IRootState;
|
|
66
|
-
explorer: import('..').ITreeItem[];
|
|
67
|
-
debugger: import('..').IDebuggerState;
|
|
68
|
-
settings: import('..').ISettingsState;
|
|
69
|
-
catalog: {
|
|
70
|
-
state: "loading";
|
|
71
|
-
} | {
|
|
72
|
-
state: "loaded";
|
|
73
|
-
model: datasources.IEnhancedCatalog;
|
|
74
|
-
} | {
|
|
75
|
-
state: "error";
|
|
76
|
-
error: string;
|
|
77
|
-
};
|
|
78
|
-
roles: import('..').IRolesState;
|
|
79
|
-
sharedDatasources: import('..').ISharedDatasourcesState;
|
|
80
|
-
savedConditions: import('..').ISavedConditionsState;
|
|
81
|
-
webforms: import('..').IWebformEditorState;
|
|
82
|
-
modals: import('..').IModalsState;
|
|
83
|
-
sharedCSS: import('..').ISharedCSSState;
|
|
84
|
-
model: import('..').IModelState;
|
|
85
|
-
}>, {
|
|
86
|
-
clearCache: () => void;
|
|
87
|
-
}> & {
|
|
88
|
-
clearCache: () => void;
|
|
89
|
-
};
|
|
1
|
+
export declare const selectAppState: any;
|
|
@@ -3,53 +3,4 @@
|
|
|
3
3
|
* @param tabPath: path of the current tab.
|
|
4
4
|
* @returns object with all components.
|
|
5
5
|
*/
|
|
6
|
-
export declare const selectComponentsByPath: (tabPath: string) =>
|
|
7
|
-
root: import('..').IRootState;
|
|
8
|
-
explorer: import('..').ITreeItem[];
|
|
9
|
-
debugger: import('..').IDebuggerState;
|
|
10
|
-
settings: import('..').ISettingsState;
|
|
11
|
-
catalog: {
|
|
12
|
-
state: "loading";
|
|
13
|
-
} | {
|
|
14
|
-
state: "loaded";
|
|
15
|
-
model: datasources.IEnhancedCatalog;
|
|
16
|
-
} | {
|
|
17
|
-
state: "error";
|
|
18
|
-
error: string;
|
|
19
|
-
};
|
|
20
|
-
roles: import('..').IRolesState;
|
|
21
|
-
sharedDatasources: import('..').ISharedDatasourcesState;
|
|
22
|
-
savedConditions: import('..').ISavedConditionsState;
|
|
23
|
-
webforms: import('..').IWebformEditorState;
|
|
24
|
-
modals: import('..').IModalsState;
|
|
25
|
-
sharedCSS: import('..').ISharedCSSState;
|
|
26
|
-
model: import('..').IModelState;
|
|
27
|
-
}) => {
|
|
28
|
-
parent: import('@ws-ui/craftjs-core').NodeId | null;
|
|
29
|
-
hidden: boolean;
|
|
30
|
-
props: any;
|
|
31
|
-
displayName: string;
|
|
32
|
-
isCanvas: boolean;
|
|
33
|
-
linkedNodes: Record<string, import('@ws-ui/craftjs-core').NodeId>;
|
|
34
|
-
nodes: import('@ws-ui/craftjs-core').NodeId[];
|
|
35
|
-
custom?: any;
|
|
36
|
-
_childCanvas?: Record<string, import('@ws-ui/craftjs-core').NodeId> | undefined;
|
|
37
|
-
type: import('@ws-ui/craftjs-core').ReduceCompType;
|
|
38
|
-
id: string;
|
|
39
|
-
}[]) & import('reselect').OutputSelectorFields<(args_0: import('..').IRootState) => {
|
|
40
|
-
parent: import('@ws-ui/craftjs-core').NodeId | null;
|
|
41
|
-
hidden: boolean;
|
|
42
|
-
props: any;
|
|
43
|
-
displayName: string;
|
|
44
|
-
isCanvas: boolean;
|
|
45
|
-
linkedNodes: Record<string, import('@ws-ui/craftjs-core').NodeId>;
|
|
46
|
-
nodes: import('@ws-ui/craftjs-core').NodeId[];
|
|
47
|
-
custom?: any;
|
|
48
|
-
_childCanvas?: Record<string, import('@ws-ui/craftjs-core').NodeId> | undefined;
|
|
49
|
-
type: import('@ws-ui/craftjs-core').ReduceCompType;
|
|
50
|
-
id: string;
|
|
51
|
-
}[], {
|
|
52
|
-
clearCache: () => void;
|
|
53
|
-
}> & {
|
|
54
|
-
clearCache: () => void;
|
|
55
|
-
};
|
|
6
|
+
export declare const selectComponentsByPath: (tabPath: string) => any;
|