@ws-ui/store 1.5.6 → 1.5.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/hooks/store.d.ts +0 -1
- package/dist/index.cjs.js +44 -44
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +12036 -10942
- 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 +22 -23
- package/dist/modules/debugger/thunks.d.ts +2 -3
- package/dist/modules/debugger/types.d.ts +0 -1
- package/dist/modules/debugger/utils.d.ts +0 -1
- package/dist/modules/explorer/reducer.d.ts +0 -1
- package/dist/modules/explorer/thunks.d.ts +38 -39
- package/dist/modules/explorer/types.d.ts +0 -1
- package/dist/modules/explorer/utils.d.ts +0 -1
- package/dist/modules/index.d.ts +0 -1
- package/dist/modules/modals/reducer.d.ts +1 -2
- package/dist/modules/modals/thunks.d.ts +1 -2
- package/dist/modules/modals/types.d.ts +0 -1
- package/dist/modules/model/helpers.d.ts +1 -2
- package/dist/modules/model/reducer.d.ts +0 -1
- package/dist/modules/model/selectors.d.ts +0 -1
- package/dist/modules/model/subjects.d.ts +1 -2
- package/dist/modules/model/thunks.d.ts +6 -7
- package/dist/modules/model/types.d.ts +0 -1
- package/dist/modules/model/utils.d.ts +3 -4
- package/dist/modules/roles/adapter.d.ts +1 -2
- package/dist/modules/roles/reducer.d.ts +7 -17
- package/dist/modules/roles/thunks.d.ts +3 -4
- package/dist/modules/roles/types.d.ts +0 -1
- package/dist/modules/root/reducer.d.ts +11 -21
- package/dist/modules/root/thunks.d.ts +25 -31
- package/dist/modules/root/types.d.ts +0 -1
- package/dist/modules/settings/reducer.d.ts +0 -1
- package/dist/modules/settings/thunks.d.ts +2 -3
- package/dist/modules/settings/types.d.ts +0 -1
- package/dist/modules/settings/utils.d.ts +0 -1
- package/dist/modules/shared-conditions/reducer.d.ts +0 -1
- package/dist/modules/shared-conditions/thunks.d.ts +1 -2
- package/dist/modules/shared-conditions/utils.d.ts +0 -1
- package/dist/modules/shared-css/reducer.d.ts +0 -1
- package/dist/modules/shared-css/thunks.d.ts +1 -2
- package/dist/modules/shared-datasources/reducer.d.ts +0 -1
- package/dist/modules/shared-datasources/thunks.d.ts +6 -7
- package/dist/modules/shared-datasources/utils.d.ts +0 -1
- package/dist/modules/tabs/selectors.d.ts +3 -3
- package/dist/modules/tasks/reducer.d.ts +0 -1
- package/dist/modules/webforms/datasources.adapter.d.ts +1 -2
- package/dist/modules/webforms/reducer.d.ts +2 -2
- package/dist/modules/webforms/thunks.d.ts +15 -107
- package/dist/modules/webforms/types.d.ts +0 -1
- package/dist/provider.d.ts +0 -1
- package/dist/selectors/catalog.d.ts +0 -1
- package/dist/selectors/components.d.ts +8 -8
- package/dist/selectors/datasources.d.ts +1 -2
- package/dist/selectors/debugger.d.ts +12 -13
- package/dist/selectors/explorer.d.ts +21 -22
- package/dist/selectors/states.d.ts +3 -4
- package/dist/selectors/styles.d.ts +5 -6
- package/dist/selectors/tabs.d.ts +6 -6
- package/dist/selectors/webforms.d.ts +0 -1
- package/dist/store.d.ts +0 -1
- package/dist/utils.d.ts +0 -1
- package/package.json +15 -22
- package/dist/package.json +0 -61
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ServerModel } from './types';
|
|
2
|
-
|
|
3
2
|
declare const addUUIDToModel: (content: ServerModel) => {
|
|
4
3
|
dataClasses: {
|
|
5
4
|
name: string;
|
|
@@ -7,8 +6,8 @@ declare const addUUIDToModel: (content: ServerModel) => {
|
|
|
7
6
|
collectionName: string;
|
|
8
7
|
scope: DataclassScope;
|
|
9
8
|
attributes: catalog.IAttribute[];
|
|
10
|
-
uuid?: string
|
|
11
|
-
virtual?: boolean
|
|
9
|
+
uuid?: string;
|
|
10
|
+
virtual?: boolean;
|
|
12
11
|
defaultTopSize?: number | undefined;
|
|
13
12
|
leave_tag_on_delete?: boolean | undefined;
|
|
14
13
|
prevent_journaling?: boolean | undefined;
|
|
@@ -22,6 +21,6 @@ declare const addUUIDToModel: (content: ServerModel) => {
|
|
|
22
21
|
}> | undefined;
|
|
23
22
|
}[];
|
|
24
23
|
toJSON: boolean;
|
|
25
|
-
extraProperties?: catalog.IModelProperties
|
|
24
|
+
extraProperties?: catalog.IModelProperties;
|
|
26
25
|
};
|
|
27
26
|
export { addUUIDToModel };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { EPermissionType, IGraphData, IPermission, IPrivilege, IResource, IResourcePermission, IResourcesByPermission, ISanitized, TById, TRawData, TRole, TRolesDict, TSanitizedPrivilege } from './types';
|
|
2
|
-
|
|
3
2
|
/**
|
|
4
3
|
* pushes uniquely list of items
|
|
5
4
|
* @param array input array
|
|
@@ -98,7 +97,7 @@ export declare function getPrivilegeById(id: string, dict: TById): TSanitizedPri
|
|
|
98
97
|
* @param param0 the raw permission object
|
|
99
98
|
* @returns an object mapping the privilege to its permission
|
|
100
99
|
*/
|
|
101
|
-
export declare function actionsToPrivs({ applyTo, type, ...actions }: IPermission): {
|
|
100
|
+
export declare function actionsToPrivs({ applyTo: _, type, ...actions }: IPermission): {
|
|
102
101
|
[privName: string]: string[];
|
|
103
102
|
};
|
|
104
103
|
/**
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { PayloadAction } from '@reduxjs/toolkit';
|
|
2
2
|
import { IRolesState, TById, TRawData, TRolesDict } from './types';
|
|
3
|
-
|
|
4
3
|
declare const stateSlice: import('@reduxjs/toolkit').Slice<IRolesState, {
|
|
5
4
|
updatePrivileges: (state: import('immer/dist/internal').WritableDraft<IRolesState>, action: PayloadAction<TById>) => void;
|
|
6
5
|
updateRoles: (state: import('immer/dist/internal').WritableDraft<IRolesState>, action: PayloadAction<TRolesDict>) => void;
|
|
@@ -8,12 +7,12 @@ declare const stateSlice: import('@reduxjs/toolkit').Slice<IRolesState, {
|
|
|
8
7
|
roles: TRolesDict;
|
|
9
8
|
privileges: TById;
|
|
10
9
|
}>) => void;
|
|
11
|
-
toggleTab: (state: import('immer/dist/internal').WritableDraft<IRolesState>, action: PayloadAction<
|
|
10
|
+
toggleTab: (state: import('immer/dist/internal').WritableDraft<IRolesState>, action: PayloadAction<"privileges" | "roles">) => void;
|
|
12
11
|
toggleForceLogin: (state: import('immer/dist/internal').WritableDraft<IRolesState>, action: PayloadAction<boolean>) => void;
|
|
13
12
|
setRolesContent(state: import('immer/dist/internal').WritableDraft<IRolesState>, action: PayloadAction<{
|
|
14
13
|
content: TRawData;
|
|
15
14
|
date?: string;
|
|
16
|
-
flags?: IRolesState[
|
|
15
|
+
flags?: IRolesState["flags"];
|
|
17
16
|
}>): {
|
|
18
17
|
flags: {
|
|
19
18
|
touched?: boolean | undefined;
|
|
@@ -25,26 +24,17 @@ declare const stateSlice: import('@reduxjs/toolkit').Slice<IRolesState, {
|
|
|
25
24
|
confirmed?: boolean | undefined;
|
|
26
25
|
inactive?: boolean | undefined;
|
|
27
26
|
};
|
|
28
|
-
date?: string
|
|
27
|
+
date?: string;
|
|
29
28
|
privileges: TById;
|
|
30
29
|
roles: TRolesDict;
|
|
31
|
-
forceLogin?: boolean
|
|
32
|
-
selectedTab: "
|
|
30
|
+
forceLogin?: boolean;
|
|
31
|
+
selectedTab: "privileges" | "roles";
|
|
33
32
|
};
|
|
34
33
|
}, "roles">;
|
|
35
34
|
export declare const updatePrivileges: import('@reduxjs/toolkit').ActionCreatorWithPayload<TById, "roles/updatePrivileges">, updateRoles: import('@reduxjs/toolkit').ActionCreatorWithPayload<TRolesDict, "roles/updateRoles">, setRolesContent: import('@reduxjs/toolkit').ActionCreatorWithPayload<{
|
|
36
35
|
content: TRawData;
|
|
37
|
-
date?: string
|
|
38
|
-
flags?:
|
|
39
|
-
touched: boolean;
|
|
40
|
-
removed: boolean;
|
|
41
|
-
pinned: boolean;
|
|
42
|
-
loading: boolean;
|
|
43
|
-
old: boolean;
|
|
44
|
-
enabled: boolean;
|
|
45
|
-
confirmed: boolean;
|
|
46
|
-
inactive: boolean;
|
|
47
|
-
}> | undefined;
|
|
36
|
+
date?: string;
|
|
37
|
+
flags?: IRolesState["flags"];
|
|
48
38
|
}, "roles/setRolesContent">, toggleTab: import('@reduxjs/toolkit').ActionCreatorWithPayload<"roles" | "privileges", "roles/toggleTab">, toggleForceLogin: import('@reduxjs/toolkit').ActionCreatorWithPayload<boolean, "roles/toggleForceLogin">, updateRolesAndPrivileges: import('@reduxjs/toolkit').ActionCreatorWithPayload<{
|
|
49
39
|
roles: TRolesDict;
|
|
50
40
|
privileges: TById;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { ITabFlags, IFileContentResponse, ISetFileContentResponse } from '@ws-ui/shared';
|
|
2
2
|
import { AppState } from '..';
|
|
3
3
|
import { ISanitized } from './types';
|
|
4
|
-
|
|
5
4
|
export declare const fetchRoles: import('@reduxjs/toolkit').AsyncThunk<IFileContentResponse<ISanitized>, void, {
|
|
6
5
|
state: AppState;
|
|
7
6
|
rejectValue: string;
|
|
8
|
-
dispatch?: import('redux').Dispatch
|
|
7
|
+
dispatch?: import('redux').Dispatch | undefined;
|
|
9
8
|
extra?: unknown;
|
|
10
9
|
serializedErrorType?: unknown;
|
|
11
10
|
pendingMeta?: unknown;
|
|
@@ -23,7 +22,7 @@ export declare const fetchRolesChanges: import('@reduxjs/toolkit').AsyncThunk<Pa
|
|
|
23
22
|
inactive: boolean;
|
|
24
23
|
}>, void, {
|
|
25
24
|
state: AppState;
|
|
26
|
-
dispatch?: import('redux').Dispatch
|
|
25
|
+
dispatch?: import('redux').Dispatch | undefined;
|
|
27
26
|
extra?: unknown;
|
|
28
27
|
rejectValue?: unknown;
|
|
29
28
|
serializedErrorType?: unknown;
|
|
@@ -35,7 +34,7 @@ export declare const isRolesOutdated: (date: string | undefined) => Promise<bool
|
|
|
35
34
|
export declare const saveRoles: import('@reduxjs/toolkit').AsyncThunk<ISetFileContentResponse, ISanitized, {
|
|
36
35
|
state: AppState;
|
|
37
36
|
rejectValue: string | ITabFlags;
|
|
38
|
-
dispatch?: import('redux').Dispatch
|
|
37
|
+
dispatch?: import('redux').Dispatch | undefined;
|
|
39
38
|
extra?: unknown;
|
|
40
39
|
serializedErrorType?: unknown;
|
|
41
40
|
pendingMeta?: unknown;
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import { PayloadAction } from '@reduxjs/toolkit';
|
|
2
2
|
import { IWebFormStyleClass, ITab, ITabExtra, ITabFlags, WebformState } from '@ws-ui/shared';
|
|
3
3
|
import { IRootState, TActionAddDataSource, TActionAddDefaultWebformState, TActionAddWebformState, TActionEditWebformState, TActionRemoveDataSource, TActionRemoveDefaultWebformState, TActionRemoveWebformState, TActionSetDataSources, TActionSetDefaultWebformStates, TActionUpdateStateConditionDs, TResetComponentState } from './types';
|
|
4
|
-
|
|
5
4
|
export declare const stateSlice: import('@reduxjs/toolkit').Slice<IRootState, {
|
|
6
5
|
setWebformState(state: import('immer/dist/internal').WritableDraft<IRootState>, action: PayloadAction<{
|
|
7
6
|
currentState: WebformState;
|
|
8
7
|
path: string;
|
|
9
8
|
}>): void;
|
|
10
|
-
copyToClipBoard(state: import('immer/dist/internal').WritableDraft<IRootState>, action: PayloadAction<IRootState[
|
|
11
|
-
setPanelState(state: import('immer/dist/internal').WritableDraft<IRootState>, action: PayloadAction<Partial<ITab[
|
|
9
|
+
copyToClipBoard(state: import('immer/dist/internal').WritableDraft<IRootState>, action: PayloadAction<IRootState["clipboard"]>): void;
|
|
10
|
+
setPanelState(state: import('immer/dist/internal').WritableDraft<IRootState>, action: PayloadAction<Partial<ITab["view"]["panel"]> & {
|
|
12
11
|
path: string;
|
|
13
12
|
}>): void;
|
|
14
13
|
openSettingsTab(state: import('immer/dist/internal').WritableDraft<IRootState>): void;
|
|
@@ -70,7 +69,7 @@ export declare const copyToClipBoard: import('@reduxjs/toolkit').ActionCreatorWi
|
|
|
70
69
|
} | null, "root/copyToClipBoard">, setTabs: import('@reduxjs/toolkit').ActionCreatorWithPayload<ITab<any, Partial<{
|
|
71
70
|
initialLineInfo: {
|
|
72
71
|
line: number;
|
|
73
|
-
offset?: number
|
|
72
|
+
offset?: number;
|
|
74
73
|
lastModification: number;
|
|
75
74
|
};
|
|
76
75
|
initialSelectionInfo: {
|
|
@@ -86,7 +85,7 @@ export declare const copyToClipBoard: import('@reduxjs/toolkit').ActionCreatorWi
|
|
|
86
85
|
}>>[], "root/setTabs">, closeTab: import('@reduxjs/toolkit').ActionCreatorWithPayload<number, "root/closeTab">, setContent: import('@reduxjs/toolkit').ActionCreatorWithPayload<{
|
|
87
86
|
path: string;
|
|
88
87
|
content: any;
|
|
89
|
-
contentPath?: string
|
|
88
|
+
contentPath?: string;
|
|
90
89
|
}, "root/setContent">, setTabFlags: import('@reduxjs/toolkit').ActionCreatorWithPayload<{
|
|
91
90
|
path: string;
|
|
92
91
|
flags: ITabFlags;
|
|
@@ -96,16 +95,7 @@ export declare const copyToClipBoard: import('@reduxjs/toolkit').ActionCreatorWi
|
|
|
96
95
|
}, "root/setTabsFlags">, setTabExtra: import('@reduxjs/toolkit').ActionCreatorWithPayload<{
|
|
97
96
|
path: string;
|
|
98
97
|
extra: ITabExtra;
|
|
99
|
-
flags?:
|
|
100
|
-
touched: boolean;
|
|
101
|
-
removed: boolean;
|
|
102
|
-
pinned: boolean;
|
|
103
|
-
loading: boolean;
|
|
104
|
-
old: boolean;
|
|
105
|
-
enabled: boolean;
|
|
106
|
-
confirmed: boolean;
|
|
107
|
-
inactive: boolean;
|
|
108
|
-
}> | undefined;
|
|
98
|
+
flags?: ITabFlags;
|
|
109
99
|
}, "root/setTabExtra">, closeAllTabs: import('@reduxjs/toolkit').ActionCreatorWithoutPayload<"root/closeAllTabs">, addDataSource: import('@reduxjs/toolkit').ActionCreatorWithPayload<{
|
|
110
100
|
datasourceDef: datasources.ICreateDataSource;
|
|
111
101
|
path: string;
|
|
@@ -118,7 +108,7 @@ export declare const copyToClipBoard: import('@reduxjs/toolkit').ActionCreatorWi
|
|
|
118
108
|
}, "root/removeDataSource">, confirmTab: import('@reduxjs/toolkit').ActionCreatorWithPayload<string, "root/confirmTab">, selectTab: import('@reduxjs/toolkit').ActionCreatorWithPayload<string, "root/selectTab">, selectTabByReference: import('@reduxjs/toolkit').ActionCreatorWithPayload<ITab<any, Partial<{
|
|
119
109
|
initialLineInfo: {
|
|
120
110
|
line: number;
|
|
121
|
-
offset?: number
|
|
111
|
+
offset?: number;
|
|
122
112
|
lastModification: number;
|
|
123
113
|
};
|
|
124
114
|
initialSelectionInfo: {
|
|
@@ -132,11 +122,11 @@ export declare const copyToClipBoard: import('@reduxjs/toolkit').ActionCreatorWi
|
|
|
132
122
|
ext: import('@ws-ui/shared').DebuggerFileExtension;
|
|
133
123
|
kind: string;
|
|
134
124
|
}>> & {
|
|
135
|
-
isNew?: boolean
|
|
125
|
+
isNew?: boolean;
|
|
136
126
|
}, "root/selectTabByReference">, openTabUnselected: import('@reduxjs/toolkit').ActionCreatorWithPayload<ITab<any, Partial<{
|
|
137
127
|
initialLineInfo: {
|
|
138
128
|
line: number;
|
|
139
|
-
offset?: number
|
|
129
|
+
offset?: number;
|
|
140
130
|
lastModification: number;
|
|
141
131
|
};
|
|
142
132
|
initialSelectionInfo: {
|
|
@@ -155,7 +145,7 @@ export declare const copyToClipBoard: import('@reduxjs/toolkit').ActionCreatorWi
|
|
|
155
145
|
}, "root/addWebFormStyles">, changeTabEditor: import('@reduxjs/toolkit').ActionCreatorWithPayload<ITab<any, Partial<{
|
|
156
146
|
initialLineInfo: {
|
|
157
147
|
line: number;
|
|
158
|
-
offset?: number
|
|
148
|
+
offset?: number;
|
|
159
149
|
lastModification: number;
|
|
160
150
|
};
|
|
161
151
|
initialSelectionInfo: {
|
|
@@ -175,7 +165,7 @@ export declare const copyToClipBoard: import('@reduxjs/toolkit').ActionCreatorWi
|
|
|
175
165
|
isOpen: boolean;
|
|
176
166
|
type: string;
|
|
177
167
|
current: string;
|
|
178
|
-
lastSelected?: string
|
|
168
|
+
lastSelected?: string;
|
|
179
169
|
}> & {
|
|
180
170
|
path: string;
|
|
181
171
|
}, "root/setPanelState">, addWebformState: import('@reduxjs/toolkit').ActionCreatorWithPayload<{
|
|
@@ -184,7 +174,7 @@ export declare const copyToClipBoard: import('@reduxjs/toolkit').ActionCreatorWi
|
|
|
184
174
|
}, "root/addWebformState">, editWebformState: import('@reduxjs/toolkit').ActionCreatorWithPayload<{
|
|
185
175
|
path: string;
|
|
186
176
|
state: WebformState;
|
|
187
|
-
oldLabel?: string
|
|
177
|
+
oldLabel?: string;
|
|
188
178
|
}, "root/editWebformState">, updateStateConditionDs: import('@reduxjs/toolkit').ActionCreatorWithPayload<{
|
|
189
179
|
path: string;
|
|
190
180
|
old_reference: string;
|
|
@@ -2,15 +2,9 @@ import { Dispatch } from '@reduxjs/toolkit';
|
|
|
2
2
|
import { IFileInfoResponse, IMultilineMessage, INodeInfo, ITab, WebformState } from '@ws-ui/shared';
|
|
3
3
|
import { AppState } from '..';
|
|
4
4
|
import { ClassFileTypes, TActionRenameDataSource } from './types';
|
|
5
|
-
|
|
6
|
-
export declare const fetchFiles: import('@reduxjs/toolkit').AsyncThunk<{
|
|
7
|
-
name: string;
|
|
8
|
-
type: import('@ws-ui/shared').FileFolderTypeWithContent;
|
|
9
|
-
date: string;
|
|
10
|
-
path: string;
|
|
11
|
-
}[], void, {
|
|
5
|
+
export declare const fetchFiles: import('@reduxjs/toolkit').AsyncThunk<any, void, {
|
|
12
6
|
state?: unknown;
|
|
13
|
-
dispatch?: Dispatch
|
|
7
|
+
dispatch?: Dispatch;
|
|
14
8
|
extra?: unknown;
|
|
15
9
|
rejectValue?: unknown;
|
|
16
10
|
serializedErrorType?: unknown;
|
|
@@ -30,7 +24,7 @@ export declare const renameDataSource: import('@reduxjs/toolkit').AsyncThunk<{
|
|
|
30
24
|
datasources: datasources.ICreateDataSource[];
|
|
31
25
|
} | null, TActionRenameDataSource, {
|
|
32
26
|
state?: unknown;
|
|
33
|
-
dispatch?: Dispatch
|
|
27
|
+
dispatch?: Dispatch;
|
|
34
28
|
extra?: unknown;
|
|
35
29
|
rejectValue?: unknown;
|
|
36
30
|
serializedErrorType?: unknown;
|
|
@@ -41,12 +35,12 @@ export declare const renameDataSource: import('@reduxjs/toolkit').AsyncThunk<{
|
|
|
41
35
|
export declare const editDataSource: import('@reduxjs/toolkit').AsyncThunk<(datasources.ICreateDataSourceScalar | datasources.ICreateDataSourceEntity | datasources.ICreateDataSourceEntitySelection)[], {
|
|
42
36
|
path: string;
|
|
43
37
|
datasourceId: string;
|
|
44
|
-
namespace?: string
|
|
38
|
+
namespace?: string;
|
|
45
39
|
propertyKey: string;
|
|
46
40
|
value: any;
|
|
47
41
|
}, {
|
|
48
42
|
state?: unknown;
|
|
49
|
-
dispatch?: Dispatch
|
|
43
|
+
dispatch?: Dispatch;
|
|
50
44
|
extra?: unknown;
|
|
51
45
|
rejectValue?: unknown;
|
|
52
46
|
serializedErrorType?: unknown;
|
|
@@ -56,7 +50,7 @@ export declare const editDataSource: import('@reduxjs/toolkit').AsyncThunk<(data
|
|
|
56
50
|
}>;
|
|
57
51
|
export declare const fetchChanges: import('@reduxjs/toolkit').AsyncThunk<IFileInfoResponse, void, {
|
|
58
52
|
state: AppState;
|
|
59
|
-
dispatch?: Dispatch
|
|
53
|
+
dispatch?: Dispatch | undefined;
|
|
60
54
|
extra?: unknown;
|
|
61
55
|
rejectValue?: unknown;
|
|
62
56
|
serializedErrorType?: unknown;
|
|
@@ -66,7 +60,7 @@ export declare const fetchChanges: import('@reduxjs/toolkit').AsyncThunk<IFileIn
|
|
|
66
60
|
}>;
|
|
67
61
|
export declare const saveAll: import('@reduxjs/toolkit').AsyncThunk<void, void, {
|
|
68
62
|
state: AppState;
|
|
69
|
-
dispatch?: Dispatch
|
|
63
|
+
dispatch?: Dispatch | undefined;
|
|
70
64
|
extra?: unknown;
|
|
71
65
|
rejectValue?: unknown;
|
|
72
66
|
serializedErrorType?: unknown;
|
|
@@ -76,7 +70,7 @@ export declare const saveAll: import('@reduxjs/toolkit').AsyncThunk<void, void,
|
|
|
76
70
|
}>;
|
|
77
71
|
export declare const tryCloseTab: import('@reduxjs/toolkit').AsyncThunk<boolean, string, {
|
|
78
72
|
state: AppState;
|
|
79
|
-
dispatch?: Dispatch
|
|
73
|
+
dispatch?: Dispatch | undefined;
|
|
80
74
|
extra?: unknown;
|
|
81
75
|
rejectValue?: unknown;
|
|
82
76
|
serializedErrorType?: unknown;
|
|
@@ -86,7 +80,7 @@ export declare const tryCloseTab: import('@reduxjs/toolkit').AsyncThunk<boolean,
|
|
|
86
80
|
}>;
|
|
87
81
|
export declare const tryCloseOtherTabs: import('@reduxjs/toolkit').AsyncThunk<void, string, {
|
|
88
82
|
state: AppState;
|
|
89
|
-
dispatch?: Dispatch
|
|
83
|
+
dispatch?: Dispatch | undefined;
|
|
90
84
|
extra?: unknown;
|
|
91
85
|
rejectValue?: unknown;
|
|
92
86
|
serializedErrorType?: unknown;
|
|
@@ -96,7 +90,7 @@ export declare const tryCloseOtherTabs: import('@reduxjs/toolkit').AsyncThunk<vo
|
|
|
96
90
|
}>;
|
|
97
91
|
export declare const tryCloseAllTabs: import('@reduxjs/toolkit').AsyncThunk<void, void, {
|
|
98
92
|
state: AppState;
|
|
99
|
-
dispatch?: Dispatch
|
|
93
|
+
dispatch?: Dispatch | undefined;
|
|
100
94
|
extra?: unknown;
|
|
101
95
|
rejectValue?: unknown;
|
|
102
96
|
serializedErrorType?: unknown;
|
|
@@ -106,7 +100,7 @@ export declare const tryCloseAllTabs: import('@reduxjs/toolkit').AsyncThunk<void
|
|
|
106
100
|
}>;
|
|
107
101
|
export declare const tryCloseRightTabs: import('@reduxjs/toolkit').AsyncThunk<void, number, {
|
|
108
102
|
state: AppState;
|
|
109
|
-
dispatch?: Dispatch
|
|
103
|
+
dispatch?: Dispatch | undefined;
|
|
110
104
|
extra?: unknown;
|
|
111
105
|
rejectValue?: unknown;
|
|
112
106
|
serializedErrorType?: unknown;
|
|
@@ -116,7 +110,7 @@ export declare const tryCloseRightTabs: import('@reduxjs/toolkit').AsyncThunk<vo
|
|
|
116
110
|
}>;
|
|
117
111
|
export declare const tryCloseLeftTabs: import('@reduxjs/toolkit').AsyncThunk<void, number, {
|
|
118
112
|
state: AppState;
|
|
119
|
-
dispatch?: Dispatch
|
|
113
|
+
dispatch?: Dispatch | undefined;
|
|
120
114
|
extra?: unknown;
|
|
121
115
|
rejectValue?: unknown;
|
|
122
116
|
serializedErrorType?: unknown;
|
|
@@ -127,7 +121,7 @@ export declare const tryCloseLeftTabs: import('@reduxjs/toolkit').AsyncThunk<voi
|
|
|
127
121
|
export declare const reloadTab: import('@reduxjs/toolkit').AsyncThunk<void | INodeInfo, ITab<any, Partial<{
|
|
128
122
|
initialLineInfo: {
|
|
129
123
|
line: number;
|
|
130
|
-
offset?: number
|
|
124
|
+
offset?: number;
|
|
131
125
|
lastModification: number;
|
|
132
126
|
};
|
|
133
127
|
initialSelectionInfo: {
|
|
@@ -142,7 +136,7 @@ export declare const reloadTab: import('@reduxjs/toolkit').AsyncThunk<void | INo
|
|
|
142
136
|
kind: string;
|
|
143
137
|
}>>, {
|
|
144
138
|
state: AppState;
|
|
145
|
-
dispatch?: Dispatch
|
|
139
|
+
dispatch?: Dispatch | undefined;
|
|
146
140
|
extra?: unknown;
|
|
147
141
|
rejectValue?: unknown;
|
|
148
142
|
serializedErrorType?: unknown;
|
|
@@ -157,7 +151,7 @@ export declare const saveTab: import('@reduxjs/toolkit').AsyncThunk<SaveTabRetur
|
|
|
157
151
|
tab: ITab;
|
|
158
152
|
}, {
|
|
159
153
|
state: AppState;
|
|
160
|
-
dispatch?: Dispatch
|
|
154
|
+
dispatch?: Dispatch | undefined;
|
|
161
155
|
extra?: unknown;
|
|
162
156
|
rejectValue?: unknown;
|
|
163
157
|
serializedErrorType?: unknown;
|
|
@@ -168,10 +162,10 @@ export declare const saveTab: import('@reduxjs/toolkit').AsyncThunk<SaveTabRetur
|
|
|
168
162
|
export declare const setTabContent: import('@reduxjs/toolkit').AsyncThunk<void, {
|
|
169
163
|
path: string;
|
|
170
164
|
content: any;
|
|
171
|
-
contentPath?: string
|
|
165
|
+
contentPath?: string;
|
|
172
166
|
}, {
|
|
173
167
|
state: AppState;
|
|
174
|
-
dispatch?: Dispatch
|
|
168
|
+
dispatch?: Dispatch | undefined;
|
|
175
169
|
extra?: unknown;
|
|
176
170
|
rejectValue?: unknown;
|
|
177
171
|
serializedErrorType?: unknown;
|
|
@@ -184,7 +178,7 @@ export declare const setCurrentWebformState: import('@reduxjs/toolkit').AsyncThu
|
|
|
184
178
|
path: string;
|
|
185
179
|
}, {
|
|
186
180
|
state: AppState;
|
|
187
|
-
dispatch?: Dispatch
|
|
181
|
+
dispatch?: Dispatch | undefined;
|
|
188
182
|
extra?: unknown;
|
|
189
183
|
rejectValue?: unknown;
|
|
190
184
|
serializedErrorType?: unknown;
|
|
@@ -195,7 +189,7 @@ export declare const setCurrentWebformState: import('@reduxjs/toolkit').AsyncThu
|
|
|
195
189
|
export declare const tryInjectMethod: import('@reduxjs/toolkit').AsyncThunk<ITab<any, Partial<{
|
|
196
190
|
initialLineInfo: {
|
|
197
191
|
line: number;
|
|
198
|
-
offset?: number
|
|
192
|
+
offset?: number;
|
|
199
193
|
lastModification: number;
|
|
200
194
|
};
|
|
201
195
|
initialSelectionInfo: {
|
|
@@ -210,12 +204,12 @@ export declare const tryInjectMethod: import('@reduxjs/toolkit').AsyncThunk<ITab
|
|
|
210
204
|
kind: string;
|
|
211
205
|
}>> | null, {
|
|
212
206
|
name: string;
|
|
213
|
-
type?: ClassFileTypes
|
|
214
|
-
dataclass?: string
|
|
215
|
-
expand?: boolean
|
|
207
|
+
type?: ClassFileTypes;
|
|
208
|
+
dataclass?: string;
|
|
209
|
+
expand?: boolean;
|
|
216
210
|
}, {
|
|
217
211
|
state: AppState;
|
|
218
|
-
dispatch?: Dispatch
|
|
212
|
+
dispatch?: Dispatch | undefined;
|
|
219
213
|
extra?: unknown;
|
|
220
214
|
rejectValue?: unknown;
|
|
221
215
|
serializedErrorType?: unknown;
|
|
@@ -226,7 +220,7 @@ export declare const tryInjectMethod: import('@reduxjs/toolkit').AsyncThunk<ITab
|
|
|
226
220
|
export declare const openRoles: import('@reduxjs/toolkit').AsyncThunk<void | ITab<any, Partial<{
|
|
227
221
|
initialLineInfo: {
|
|
228
222
|
line: number;
|
|
229
|
-
offset?: number
|
|
223
|
+
offset?: number;
|
|
230
224
|
lastModification: number;
|
|
231
225
|
};
|
|
232
226
|
initialSelectionInfo: {
|
|
@@ -242,7 +236,7 @@ export declare const openRoles: import('@reduxjs/toolkit').AsyncThunk<void | ITa
|
|
|
242
236
|
}>>, {}, {
|
|
243
237
|
state: AppState;
|
|
244
238
|
rejectValue: string;
|
|
245
|
-
dispatch?: Dispatch
|
|
239
|
+
dispatch?: Dispatch | undefined;
|
|
246
240
|
extra?: unknown;
|
|
247
241
|
serializedErrorType?: unknown;
|
|
248
242
|
pendingMeta?: unknown;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { INodeInfo } from '@ws-ui/shared';
|
|
2
2
|
import { AppState } from '..';
|
|
3
|
-
|
|
4
3
|
export declare const fetchSettings: import('@reduxjs/toolkit').AsyncThunk<INodeInfo, void, {
|
|
5
4
|
state: AppState;
|
|
6
5
|
rejectValue: string;
|
|
7
|
-
dispatch?: import('redux').Dispatch
|
|
6
|
+
dispatch?: import('redux').Dispatch | undefined;
|
|
8
7
|
extra?: unknown;
|
|
9
8
|
serializedErrorType?: unknown;
|
|
10
9
|
pendingMeta?: unknown;
|
|
@@ -13,7 +12,7 @@ export declare const fetchSettings: import('@reduxjs/toolkit').AsyncThunk<INodeI
|
|
|
13
12
|
}>;
|
|
14
13
|
export declare const fetchAppSettings: import('@reduxjs/toolkit').AsyncThunk<import('@ws-ui/shared').IAppSettingsResponse, void, {
|
|
15
14
|
state?: unknown;
|
|
16
|
-
dispatch?: import('redux').Dispatch
|
|
15
|
+
dispatch?: import('redux').Dispatch;
|
|
17
16
|
extra?: unknown;
|
|
18
17
|
rejectValue?: unknown;
|
|
19
18
|
serializedErrorType?: unknown;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { WebformStateCondition } from '@ws-ui/shared';
|
|
2
2
|
import { AppState } from '..';
|
|
3
|
-
|
|
4
3
|
export declare const fetchSavedConditions: import('@reduxjs/toolkit').AsyncThunk<WebformStateCondition[], void, {
|
|
5
4
|
state: AppState;
|
|
6
5
|
rejectValue: string;
|
|
7
|
-
dispatch?: import('redux').Dispatch
|
|
6
|
+
dispatch?: import('redux').Dispatch | undefined;
|
|
8
7
|
extra?: unknown;
|
|
9
8
|
serializedErrorType?: unknown;
|
|
10
9
|
pendingMeta?: unknown;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { IWebFormStyleClass } from '@ws-ui/shared';
|
|
2
2
|
import { AppState } from '..';
|
|
3
|
-
|
|
4
3
|
export declare const fetchSharedCss: import('@reduxjs/toolkit').AsyncThunk<IWebFormStyleClass[], void, {
|
|
5
4
|
state: AppState;
|
|
6
5
|
rejectValue: string;
|
|
7
|
-
dispatch?: import('redux').Dispatch
|
|
6
|
+
dispatch?: import('redux').Dispatch | undefined;
|
|
8
7
|
extra?: unknown;
|
|
9
8
|
serializedErrorType?: unknown;
|
|
10
9
|
pendingMeta?: unknown;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { ISharedDatasourcesResponse } from '@ws-ui/shared';
|
|
2
2
|
import { AppState } from '..';
|
|
3
|
-
|
|
4
3
|
export declare const fetchSharedDatasources: import('@reduxjs/toolkit').AsyncThunk<ISharedDatasourcesResponse, void, {
|
|
5
4
|
rejectValue: string;
|
|
6
5
|
state?: unknown;
|
|
7
|
-
dispatch?: import('redux').Dispatch
|
|
6
|
+
dispatch?: import('redux').Dispatch | undefined;
|
|
8
7
|
extra?: unknown;
|
|
9
8
|
serializedErrorType?: unknown;
|
|
10
9
|
pendingMeta?: unknown;
|
|
@@ -14,7 +13,7 @@ export declare const fetchSharedDatasources: import('@reduxjs/toolkit').AsyncThu
|
|
|
14
13
|
export declare const addSharedSource: import('@reduxjs/toolkit').AsyncThunk<ISharedDatasourcesResponse, datasources.ICreateDataSource, {
|
|
15
14
|
rejectValue: string;
|
|
16
15
|
state: AppState;
|
|
17
|
-
dispatch?: import('redux').Dispatch
|
|
16
|
+
dispatch?: import('redux').Dispatch | undefined;
|
|
18
17
|
extra?: unknown;
|
|
19
18
|
serializedErrorType?: unknown;
|
|
20
19
|
pendingMeta?: unknown;
|
|
@@ -25,7 +24,7 @@ export declare const editSharedSource: import('@reduxjs/toolkit').AsyncThunk<{
|
|
|
25
24
|
[key: string]: datasources.ICreateDataSource[];
|
|
26
25
|
}, datasources.ICreateDataSource, {
|
|
27
26
|
state?: unknown;
|
|
28
|
-
dispatch?: import('redux').Dispatch
|
|
27
|
+
dispatch?: import('redux').Dispatch;
|
|
29
28
|
extra?: unknown;
|
|
30
29
|
rejectValue?: unknown;
|
|
31
30
|
serializedErrorType?: unknown;
|
|
@@ -39,7 +38,7 @@ export declare const deleteSharedSource: import('@reduxjs/toolkit').AsyncThunk<I
|
|
|
39
38
|
}, {
|
|
40
39
|
rejectValue: string;
|
|
41
40
|
state: AppState;
|
|
42
|
-
dispatch?: import('redux').Dispatch
|
|
41
|
+
dispatch?: import('redux').Dispatch | undefined;
|
|
43
42
|
extra?: unknown;
|
|
44
43
|
serializedErrorType?: unknown;
|
|
45
44
|
pendingMeta?: unknown;
|
|
@@ -49,7 +48,7 @@ export declare const deleteSharedSource: import('@reduxjs/toolkit').AsyncThunk<I
|
|
|
49
48
|
export declare const updateSharedDatasources: import('@reduxjs/toolkit').AsyncThunk<ISharedDatasourcesResponse, datasources.ICreateDataSource[], {
|
|
50
49
|
rejectValue: string;
|
|
51
50
|
state: AppState;
|
|
52
|
-
dispatch?: import('redux').Dispatch
|
|
51
|
+
dispatch?: import('redux').Dispatch | undefined;
|
|
53
52
|
extra?: unknown;
|
|
54
53
|
serializedErrorType?: unknown;
|
|
55
54
|
pendingMeta?: unknown;
|
|
@@ -63,7 +62,7 @@ export declare const setDatasourceEvents: import('@reduxjs/toolkit').AsyncThunk<
|
|
|
63
62
|
events: webforms.WEvent[];
|
|
64
63
|
}, {
|
|
65
64
|
state: AppState;
|
|
66
|
-
dispatch?: import('redux').Dispatch
|
|
65
|
+
dispatch?: import('redux').Dispatch | undefined;
|
|
67
66
|
extra?: unknown;
|
|
68
67
|
rejectValue?: unknown;
|
|
69
68
|
serializedErrorType?: unknown;
|
|
@@ -24,11 +24,11 @@ export declare const selectPanelByPath: (path: string) => ((state: import('redux
|
|
|
24
24
|
isOpen: boolean;
|
|
25
25
|
type: string;
|
|
26
26
|
current: string;
|
|
27
|
-
lastSelected?: string
|
|
27
|
+
lastSelected?: string;
|
|
28
28
|
} | undefined) & import('reselect').OutputSelectorFields<(args_0: import('@ws-ui/shared').ITab<any, Partial<{
|
|
29
29
|
initialLineInfo: {
|
|
30
30
|
line: number;
|
|
31
|
-
offset?: number
|
|
31
|
+
offset?: number;
|
|
32
32
|
lastModification: number;
|
|
33
33
|
};
|
|
34
34
|
initialSelectionInfo: {
|
|
@@ -45,7 +45,7 @@ export declare const selectPanelByPath: (path: string) => ((state: import('redux
|
|
|
45
45
|
isOpen: boolean;
|
|
46
46
|
type: string;
|
|
47
47
|
current: string;
|
|
48
|
-
lastSelected?: string
|
|
48
|
+
lastSelected?: string;
|
|
49
49
|
} | undefined, {
|
|
50
50
|
clearCache: () => void;
|
|
51
51
|
}> & {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="@ws-ui/shared/dist/declarations/datasources/datasource" />
|
|
2
1
|
export declare const listDsNamespaces: import('lodash').CurriedFunction2<string, import('redux').CombinedState<{
|
|
3
2
|
root: import('..').IRootState;
|
|
4
3
|
explorer: import('..').ITreeItem[];
|
|
@@ -22,5 +21,5 @@ export declare const listDsNamespaces: import('lodash').CurriedFunction2<string,
|
|
|
22
21
|
model: import('..').IModelState;
|
|
23
22
|
tasks: import('@ws-ui/shared').ISingleTask[];
|
|
24
23
|
}>, {
|
|
25
|
-
[
|
|
24
|
+
[key: string]: datasources.ICreateDataSource[];
|
|
26
25
|
}>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { PayloadAction } from '@reduxjs/toolkit';
|
|
2
2
|
import { ITemplatedGroup, ITemplatedGroupItem, IWebformEditorState, TAddComponentAction, TInspectAction, TRemoveComponentAction, TToggleInspectorAction } from './types';
|
|
3
3
|
import { IComponentTemplate, TDatasourceTheme } from '@ws-ui/shared';
|
|
4
|
-
|
|
4
|
+
import { WT_FLAGS_KEYS } from './private';
|
|
5
5
|
export declare const FLAGS_INIT_STATE: {
|
|
6
|
-
[
|
|
6
|
+
[WT_FLAGS_KEYS.SIDEBAR_SECTION_RESIZABLE]: boolean;
|
|
7
7
|
};
|
|
8
8
|
declare const stateSlice: import('@reduxjs/toolkit').Slice<IWebformEditorState, {
|
|
9
9
|
toggleInspector: (state: import('immer/dist/internal').WritableDraft<IWebformEditorState>, action: TToggleInspectorAction) => void;
|