@ws-ui/store 0.1.7 → 0.1.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/README.md +0 -0
- package/dist/hooks/index.d.ts +0 -0
- package/dist/hooks/store.d.ts +56 -6
- package/dist/index.cjs.js +52 -53
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +0 -0
- package/dist/index.es.js +7197 -7294
- package/dist/index.es.js.map +1 -1
- package/dist/modules/catalog/index.d.ts +0 -0
- package/dist/modules/catalog/reducer.d.ts +0 -0
- package/dist/modules/catalog/thunks.d.ts +0 -7
- package/dist/modules/catalog/types.d.ts +0 -0
- package/dist/modules/debugger/index.d.ts +0 -0
- package/dist/modules/debugger/reducer.d.ts +19 -19
- package/dist/modules/debugger/thunks.d.ts +0 -14
- package/dist/modules/debugger/types.d.ts +0 -0
- package/dist/modules/debugger/utils.d.ts +0 -0
- package/dist/modules/explorer/index.d.ts +1 -1
- package/dist/modules/explorer/reducer.d.ts +6 -6
- package/dist/modules/explorer/thunks.d.ts +7 -158
- package/dist/modules/explorer/types.d.ts +0 -0
- package/dist/modules/explorer/utils.d.ts +0 -0
- package/dist/modules/index.d.ts +19 -4
- package/dist/modules/modals/index.d.ts +0 -0
- package/dist/modules/modals/reducer.d.ts +3 -3
- package/dist/modules/modals/thunks.d.ts +1 -10
- package/dist/modules/modals/types.d.ts +4 -4
- package/dist/modules/model/helpers.d.ts +0 -0
- package/dist/modules/model/index.d.ts +0 -0
- package/dist/modules/model/reducer.d.ts +1 -1
- package/dist/modules/model/selectors.d.ts +0 -0
- package/dist/modules/model/subjects.d.ts +0 -0
- package/dist/modules/model/thunks.d.ts +8 -39
- package/dist/modules/model/types.d.ts +0 -0
- package/dist/modules/roles/__tests__/adapter.test.d.ts +0 -0
- package/dist/modules/roles/adapter.d.ts +0 -0
- package/dist/modules/roles/index.d.ts +16 -1
- package/dist/modules/roles/reducer.d.ts +19 -4
- package/dist/modules/roles/thunks.d.ts +0 -19
- package/dist/modules/roles/types.d.ts +0 -0
- package/dist/modules/root/index.d.ts +1 -1
- package/dist/modules/root/reducer.d.ts +17 -17
- package/dist/modules/root/thunks.d.ts +3 -106
- package/dist/modules/root/types.d.ts +0 -0
- package/dist/modules/settings/index.d.ts +0 -0
- package/dist/modules/settings/reducer.d.ts +3 -3
- package/dist/modules/settings/thunks.d.ts +1 -16
- package/dist/modules/settings/types.d.ts +0 -0
- package/dist/modules/settings/utils.d.ts +0 -0
- package/dist/modules/shared-css/index.d.ts +1 -1
- package/dist/modules/shared-css/reducer.d.ts +3 -3
- package/dist/modules/shared-css/thunks.d.ts +0 -6
- package/dist/modules/shared-css/types.d.ts +0 -0
- package/dist/modules/shared-datasources/index.d.ts +0 -0
- package/dist/modules/shared-datasources/reducer.d.ts +1 -1
- package/dist/modules/shared-datasources/thunks.d.ts +1 -42
- package/dist/modules/shared-datasources/types.d.ts +0 -0
- package/dist/modules/tabs/index.d.ts +0 -0
- package/dist/modules/tabs/reducer.d.ts +0 -0
- package/dist/modules/tabs/selectors.d.ts +23 -8
- package/dist/modules/tabs/types.d.ts +0 -0
- package/dist/modules/webforms/datasources.adapter.d.ts +19 -4
- package/dist/modules/webforms/index.d.ts +0 -0
- package/dist/modules/webforms/private.d.ts +0 -0
- package/dist/modules/webforms/reducer.d.ts +5 -5
- package/dist/modules/webforms/thunks.d.ts +9 -174
- package/dist/modules/webforms/types.d.ts +0 -0
- package/dist/provider.d.ts +2 -2
- package/dist/selectors/catalog.d.ts +135 -30
- package/dist/selectors/common.d.ts +76 -16
- package/dist/selectors/components.d.ts +20 -5
- package/dist/selectors/datasources.d.ts +115 -25
- package/dist/selectors/debugger.d.ts +418 -88
- package/dist/selectors/explorer.d.ts +536 -146
- package/dist/selectors/index.d.ts +0 -0
- package/dist/selectors/modals.d.ts +19 -4
- package/dist/selectors/roles.d.ts +296 -56
- package/dist/selectors/settings.d.ts +152 -32
- package/dist/selectors/states.d.ts +21 -6
- package/dist/selectors/styles.d.ts +101 -26
- package/dist/selectors/tabs.d.ts +23 -8
- package/dist/selectors/webforms.d.ts +210 -45
- package/dist/store.d.ts +1 -42
- package/dist/utils.d.ts +0 -0
- package/package.json +7 -16
|
@@ -1,16 +1,11 @@
|
|
|
1
1
|
import { ITab } from '@ws-ui/shared';
|
|
2
2
|
import { ServerModel } from '../../modules/model/types';
|
|
3
3
|
import { AppState } from '..';
|
|
4
|
-
|
|
4
|
+
type AppThunkOpts<T = string> = {
|
|
5
5
|
state: AppState;
|
|
6
|
-
rejectValue:
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
serializedErrorType?: unknown;
|
|
10
|
-
pendingMeta?: unknown;
|
|
11
|
-
fulfilledMeta?: unknown;
|
|
12
|
-
rejectedMeta?: unknown;
|
|
13
|
-
}>;
|
|
6
|
+
rejectValue: T;
|
|
7
|
+
};
|
|
8
|
+
export declare const fetchModel: import("@reduxjs/toolkit").AsyncThunk<ServerModel, void, AppThunkOpts<string>>;
|
|
14
9
|
export declare const saveModel: import("@reduxjs/toolkit").AsyncThunk<{
|
|
15
10
|
date: string;
|
|
16
11
|
ext: string;
|
|
@@ -35,16 +30,7 @@ export declare const saveModel: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
35
30
|
source: import("@ws-ui/shared").ISource;
|
|
36
31
|
editor: import("@ws-ui/shared").IEditor;
|
|
37
32
|
ext: import("@ws-ui/shared").DebuggerFileExtension;
|
|
38
|
-
}>>,
|
|
39
|
-
state: AppState;
|
|
40
|
-
rejectValue: string;
|
|
41
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
42
|
-
extra?: unknown;
|
|
43
|
-
serializedErrorType?: unknown;
|
|
44
|
-
pendingMeta?: unknown;
|
|
45
|
-
fulfilledMeta?: unknown;
|
|
46
|
-
rejectedMeta?: unknown;
|
|
47
|
-
}>;
|
|
33
|
+
}>>, AppThunkOpts<string>>;
|
|
48
34
|
export declare const openModel: import("@reduxjs/toolkit").AsyncThunk<void | ITab<any, Partial<{
|
|
49
35
|
initialLineInfo: {
|
|
50
36
|
line: number;
|
|
@@ -60,27 +46,10 @@ export declare const openModel: import("@reduxjs/toolkit").AsyncThunk<void | ITa
|
|
|
60
46
|
source: import("@ws-ui/shared").ISource;
|
|
61
47
|
editor: import("@ws-ui/shared").IEditor;
|
|
62
48
|
ext: import("@ws-ui/shared").DebuggerFileExtension;
|
|
63
|
-
}>>, {},
|
|
64
|
-
state: AppState;
|
|
65
|
-
rejectValue: string;
|
|
66
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
67
|
-
extra?: unknown;
|
|
68
|
-
serializedErrorType?: unknown;
|
|
69
|
-
pendingMeta?: unknown;
|
|
70
|
-
fulfilledMeta?: unknown;
|
|
71
|
-
rejectedMeta?: unknown;
|
|
72
|
-
}>;
|
|
49
|
+
}>>, {}, AppThunkOpts<string>>;
|
|
73
50
|
export declare const tryRenameDataclass: import("@reduxjs/toolkit").AsyncThunk<void, {
|
|
74
51
|
dataclassId: string;
|
|
75
52
|
selectionId: string;
|
|
76
53
|
name: string;
|
|
77
|
-
}, {
|
|
78
|
-
|
|
79
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
80
|
-
extra?: unknown;
|
|
81
|
-
rejectValue?: unknown;
|
|
82
|
-
serializedErrorType?: unknown;
|
|
83
|
-
pendingMeta?: unknown;
|
|
84
|
-
fulfilledMeta?: unknown;
|
|
85
|
-
rejectedMeta?: unknown;
|
|
86
|
-
}>;
|
|
54
|
+
}, {}>;
|
|
55
|
+
export {};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,4 +1,19 @@
|
|
|
1
|
-
declare const _default: import("redux").Reducer<
|
|
1
|
+
declare const _default: import("redux").Reducer<{
|
|
2
|
+
flags: {
|
|
3
|
+
touched?: boolean | undefined;
|
|
4
|
+
removed?: boolean | undefined;
|
|
5
|
+
pinned?: boolean | undefined;
|
|
6
|
+
loading?: boolean | undefined;
|
|
7
|
+
old?: boolean | undefined;
|
|
8
|
+
enabled?: boolean | undefined;
|
|
9
|
+
confirmed?: boolean | undefined;
|
|
10
|
+
};
|
|
11
|
+
date?: string | undefined;
|
|
12
|
+
privileges: import("./types").TById;
|
|
13
|
+
roles: import("./types").TRolesDict;
|
|
14
|
+
forceLogin?: boolean | undefined;
|
|
15
|
+
selectedTab: "roles" | "privileges";
|
|
16
|
+
}>;
|
|
2
17
|
export default _default;
|
|
3
18
|
export * from './reducer';
|
|
4
19
|
export * from './thunks';
|
|
@@ -1,6 +1,21 @@
|
|
|
1
1
|
import { PayloadAction } from '@reduxjs/toolkit';
|
|
2
2
|
import { IRolesState, TById, TRawData, TRolesDict } from './types';
|
|
3
|
-
declare const stateSlice: import("@reduxjs/toolkit").Slice<
|
|
3
|
+
declare const stateSlice: import("@reduxjs/toolkit").Slice<{
|
|
4
|
+
flags: {
|
|
5
|
+
touched?: boolean | undefined;
|
|
6
|
+
removed?: boolean | undefined;
|
|
7
|
+
pinned?: boolean | undefined;
|
|
8
|
+
loading?: boolean | undefined;
|
|
9
|
+
old?: boolean | undefined;
|
|
10
|
+
enabled?: boolean | undefined;
|
|
11
|
+
confirmed?: boolean | undefined;
|
|
12
|
+
};
|
|
13
|
+
date?: string | undefined;
|
|
14
|
+
privileges: TById;
|
|
15
|
+
roles: TRolesDict;
|
|
16
|
+
forceLogin?: boolean | undefined;
|
|
17
|
+
selectedTab: "roles" | "privileges";
|
|
18
|
+
}, {
|
|
4
19
|
updatePrivileges: (state: import("immer/dist/internal.js").WritableDraft<IRolesState>, action: PayloadAction<TById>) => void;
|
|
5
20
|
updateRoles: (state: import("immer/dist/internal.js").WritableDraft<IRolesState>, action: PayloadAction<TRolesDict>) => void;
|
|
6
21
|
updateRolesAndPrivileges: (state: import("immer/dist/internal.js").WritableDraft<IRolesState>, action: PayloadAction<{
|
|
@@ -30,7 +45,7 @@ declare const stateSlice: import("@reduxjs/toolkit").Slice<IRolesState, {
|
|
|
30
45
|
selectedTab: "roles" | "privileges";
|
|
31
46
|
};
|
|
32
47
|
}, "roles">;
|
|
33
|
-
export declare const updatePrivileges: import("@reduxjs/toolkit").ActionCreatorWithPayload<TById,
|
|
48
|
+
export declare const updatePrivileges: import("@reduxjs/toolkit").ActionCreatorWithPayload<TById, string>, updateRoles: import("@reduxjs/toolkit").ActionCreatorWithPayload<TRolesDict, string>, setRolesContent: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
34
49
|
content: TRawData;
|
|
35
50
|
date?: string | undefined;
|
|
36
51
|
flags?: Partial<{
|
|
@@ -42,8 +57,8 @@ export declare const updatePrivileges: import("@reduxjs/toolkit").ActionCreatorW
|
|
|
42
57
|
enabled: boolean;
|
|
43
58
|
confirmed: boolean;
|
|
44
59
|
}> | undefined;
|
|
45
|
-
},
|
|
60
|
+
}, string>, toggleTab: import("@reduxjs/toolkit").ActionCreatorWithPayload<"roles" | "privileges", string>, toggleForceLogin: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, string>, updateRolesAndPrivileges: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
46
61
|
roles: TRolesDict;
|
|
47
62
|
privileges: TById;
|
|
48
|
-
},
|
|
63
|
+
}, string>;
|
|
49
64
|
export default stateSlice;
|
|
@@ -5,12 +5,6 @@ import { ISanitized } from './types';
|
|
|
5
5
|
export declare const fetchRoles: import("@reduxjs/toolkit").AsyncThunk<IFileContentResponse<ISanitized>, void, {
|
|
6
6
|
state: AppState;
|
|
7
7
|
rejectValue: string;
|
|
8
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
9
|
-
extra?: unknown;
|
|
10
|
-
serializedErrorType?: unknown;
|
|
11
|
-
pendingMeta?: unknown;
|
|
12
|
-
fulfilledMeta?: unknown;
|
|
13
|
-
rejectedMeta?: unknown;
|
|
14
8
|
}>;
|
|
15
9
|
export declare const fetchRolesChanges: import("@reduxjs/toolkit").AsyncThunk<Partial<{
|
|
16
10
|
touched: boolean;
|
|
@@ -22,22 +16,9 @@ export declare const fetchRolesChanges: import("@reduxjs/toolkit").AsyncThunk<Pa
|
|
|
22
16
|
confirmed: boolean;
|
|
23
17
|
}>, void, {
|
|
24
18
|
state: AppState;
|
|
25
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
26
|
-
extra?: unknown;
|
|
27
|
-
rejectValue?: unknown;
|
|
28
|
-
serializedErrorType?: unknown;
|
|
29
|
-
pendingMeta?: unknown;
|
|
30
|
-
fulfilledMeta?: unknown;
|
|
31
|
-
rejectedMeta?: unknown;
|
|
32
19
|
}>;
|
|
33
20
|
export declare const isRolesOutdated: (date: string | undefined) => Promise<boolean>;
|
|
34
21
|
export declare const saveRoles: import("@reduxjs/toolkit").AsyncThunk<ISetFileContentResponse, ISanitized, {
|
|
35
22
|
state: AppState;
|
|
36
23
|
rejectValue: string | ITabFlags;
|
|
37
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
38
|
-
extra?: unknown;
|
|
39
|
-
serializedErrorType?: unknown;
|
|
40
|
-
pendingMeta?: unknown;
|
|
41
|
-
fulfilledMeta?: unknown;
|
|
42
|
-
rejectedMeta?: unknown;
|
|
43
24
|
}>;
|
|
File without changes
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: import("redux").Reducer<import("./types").IRootState
|
|
1
|
+
declare const _default: import("redux").Reducer<import("immer/dist/internal.js").WritableDraft<import("./types").IRootState>>;
|
|
2
2
|
export default _default;
|
|
3
3
|
export * from './reducer';
|
|
4
4
|
export * from './thunks';
|
|
@@ -2,7 +2,7 @@ import { PayloadAction } from '@reduxjs/toolkit';
|
|
|
2
2
|
import { IWebFormStyleClass } from '@ws-ui/shared';
|
|
3
3
|
import { ITab, ITabExtra, ITabFlags, WebformState } from '@ws-ui/shared';
|
|
4
4
|
import { IRootState, TActionAddDataSource, TActionAddWebformState, TActionEditWebformState, TActionRemoveDataSource, TActionRemoveWebformState, TActionSetDataSources } from './types';
|
|
5
|
-
export declare const stateSlice: import("@reduxjs/toolkit").Slice<IRootState
|
|
5
|
+
export declare const stateSlice: import("@reduxjs/toolkit").Slice<import("immer/dist/internal.js").WritableDraft<IRootState>, {
|
|
6
6
|
setPanelState(state: import("immer/dist/internal.js").WritableDraft<IRootState>, action: PayloadAction<Partial<ITab['view']['panel']> & {
|
|
7
7
|
path: string;
|
|
8
8
|
}>): void;
|
|
@@ -65,17 +65,17 @@ export declare const setTabs: import("@reduxjs/toolkit").ActionCreatorWithPayloa
|
|
|
65
65
|
source: import("@ws-ui/shared").ISource;
|
|
66
66
|
editor: import("@ws-ui/shared").IEditor;
|
|
67
67
|
ext: import("@ws-ui/shared").DebuggerFileExtension;
|
|
68
|
-
}>>[],
|
|
68
|
+
}>>[], string>, closeTab: import("@reduxjs/toolkit").ActionCreatorWithPayload<number, string>, setContent: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
69
69
|
path: string;
|
|
70
70
|
content: any;
|
|
71
71
|
contentPath?: string | undefined;
|
|
72
|
-
},
|
|
72
|
+
}, string>, setTabFlags: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
73
73
|
path: string;
|
|
74
74
|
flags: ITabFlags;
|
|
75
|
-
},
|
|
75
|
+
}, string>, setTabsFlags: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
76
76
|
tabs: string[];
|
|
77
77
|
flags: ITabFlags;
|
|
78
|
-
},
|
|
78
|
+
}, string>, setTabExtra: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
79
79
|
path: string;
|
|
80
80
|
extra: ITabExtra;
|
|
81
81
|
flags?: Partial<{
|
|
@@ -87,16 +87,16 @@ export declare const setTabs: import("@reduxjs/toolkit").ActionCreatorWithPayloa
|
|
|
87
87
|
enabled: boolean;
|
|
88
88
|
confirmed: boolean;
|
|
89
89
|
}> | undefined;
|
|
90
|
-
},
|
|
90
|
+
}, string>, closeAllTabs: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, addDataSource: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
91
91
|
datasourceDef: datasources.ICreateDataSource;
|
|
92
92
|
path: string;
|
|
93
|
-
},
|
|
93
|
+
}, string>, closeRightTabs: import("@reduxjs/toolkit").ActionCreatorWithPayload<number, string>, closeOthers: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, string>, closeLeftTabs: import("@reduxjs/toolkit").ActionCreatorWithPayload<number, string>, closeSavedTabs: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, setDataSources: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
94
94
|
datasourceArr: datasources.ICreateDataSource[];
|
|
95
95
|
path: string;
|
|
96
|
-
},
|
|
96
|
+
}, string>, removeDataSource: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
97
97
|
path: string;
|
|
98
98
|
datasourceID: string;
|
|
99
|
-
},
|
|
99
|
+
}, string>, confirmTab: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, string>, selectTab: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, string>, selectTabByReference: import("@reduxjs/toolkit").ActionCreatorWithPayload<ITab<any, Partial<{
|
|
100
100
|
initialLineInfo: {
|
|
101
101
|
line: number;
|
|
102
102
|
offset?: number | undefined;
|
|
@@ -113,7 +113,7 @@ export declare const setTabs: import("@reduxjs/toolkit").ActionCreatorWithPayloa
|
|
|
113
113
|
ext: import("@ws-ui/shared").DebuggerFileExtension;
|
|
114
114
|
}>> & {
|
|
115
115
|
isNew?: boolean | undefined;
|
|
116
|
-
},
|
|
116
|
+
}, string>, openTabUnselected: import("@reduxjs/toolkit").ActionCreatorWithPayload<ITab<any, Partial<{
|
|
117
117
|
initialLineInfo: {
|
|
118
118
|
line: number;
|
|
119
119
|
offset?: number | undefined;
|
|
@@ -128,10 +128,10 @@ export declare const setTabs: import("@reduxjs/toolkit").ActionCreatorWithPayloa
|
|
|
128
128
|
source: import("@ws-ui/shared").ISource;
|
|
129
129
|
editor: import("@ws-ui/shared").IEditor;
|
|
130
130
|
ext: import("@ws-ui/shared").DebuggerFileExtension;
|
|
131
|
-
}>>,
|
|
131
|
+
}>>, string>, addWebFormStyles: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
132
132
|
path: string;
|
|
133
133
|
styles: IWebFormStyleClass[];
|
|
134
|
-
},
|
|
134
|
+
}, string>, changeTabEditor: import("@reduxjs/toolkit").ActionCreatorWithPayload<ITab<any, Partial<{
|
|
135
135
|
initialLineInfo: {
|
|
136
136
|
line: number;
|
|
137
137
|
offset?: number | undefined;
|
|
@@ -146,21 +146,21 @@ export declare const setTabs: import("@reduxjs/toolkit").ActionCreatorWithPayloa
|
|
|
146
146
|
source: import("@ws-ui/shared").ISource;
|
|
147
147
|
editor: import("@ws-ui/shared").IEditor;
|
|
148
148
|
ext: import("@ws-ui/shared").DebuggerFileExtension;
|
|
149
|
-
}>>,
|
|
149
|
+
}>>, string>, openSettingsTab: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, setPanelState: import("@reduxjs/toolkit").ActionCreatorWithPayload<Partial<{
|
|
150
150
|
isOpen: boolean;
|
|
151
151
|
type: string;
|
|
152
152
|
current: string;
|
|
153
153
|
lastSelected?: string | undefined;
|
|
154
154
|
}> & {
|
|
155
155
|
path: string;
|
|
156
|
-
},
|
|
156
|
+
}, string>, addWebformState: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
157
157
|
stateDef: WebformState;
|
|
158
158
|
path: string;
|
|
159
|
-
},
|
|
159
|
+
}, string>, editWebformState: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
160
160
|
path: string;
|
|
161
161
|
state: WebformState;
|
|
162
|
-
},
|
|
162
|
+
}, string>, removeWebformState: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
163
163
|
path: string;
|
|
164
164
|
id: string;
|
|
165
|
-
},
|
|
165
|
+
}, string>;
|
|
166
166
|
export default stateSlice;
|
|
@@ -7,16 +7,7 @@ export declare const fetchFiles: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
7
7
|
type: FileFolderTypeWithContent;
|
|
8
8
|
date: string;
|
|
9
9
|
path: string;
|
|
10
|
-
}[], void, {
|
|
11
|
-
state?: unknown;
|
|
12
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
13
|
-
extra?: unknown;
|
|
14
|
-
rejectValue?: unknown;
|
|
15
|
-
serializedErrorType?: unknown;
|
|
16
|
-
pendingMeta?: unknown;
|
|
17
|
-
fulfilledMeta?: unknown;
|
|
18
|
-
rejectedMeta?: unknown;
|
|
19
|
-
}>;
|
|
10
|
+
}[], void, {}>;
|
|
20
11
|
/**
|
|
21
12
|
* handles the rename of a datasource.
|
|
22
13
|
*
|
|
@@ -27,101 +18,34 @@ export declare const renameDataSource: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
27
18
|
path: string | undefined;
|
|
28
19
|
namespace: string;
|
|
29
20
|
datasources: datasources.ICreateDataSource[];
|
|
30
|
-
} | null, TActionRenameDataSource, {
|
|
31
|
-
state?: unknown;
|
|
32
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
33
|
-
extra?: unknown;
|
|
34
|
-
rejectValue?: unknown;
|
|
35
|
-
serializedErrorType?: unknown;
|
|
36
|
-
pendingMeta?: unknown;
|
|
37
|
-
fulfilledMeta?: unknown;
|
|
38
|
-
rejectedMeta?: unknown;
|
|
39
|
-
}>;
|
|
21
|
+
} | null, TActionRenameDataSource, {}>;
|
|
40
22
|
export declare const editDataSource: import("@reduxjs/toolkit").AsyncThunk<(datasources.ICreateDataSourceScalar | datasources.ICreateDataSourceEntity | datasources.ICreateDataSourceEntitySelection)[], {
|
|
41
23
|
path: string;
|
|
42
24
|
datasourceId: string;
|
|
43
25
|
namespace?: string | undefined;
|
|
44
26
|
propertyKey: string;
|
|
45
27
|
value: any;
|
|
46
|
-
}, {
|
|
47
|
-
state?: unknown;
|
|
48
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
49
|
-
extra?: unknown;
|
|
50
|
-
rejectValue?: unknown;
|
|
51
|
-
serializedErrorType?: unknown;
|
|
52
|
-
pendingMeta?: unknown;
|
|
53
|
-
fulfilledMeta?: unknown;
|
|
54
|
-
rejectedMeta?: unknown;
|
|
55
|
-
}>;
|
|
28
|
+
}, {}>;
|
|
56
29
|
export declare const fetchChanges: import("@reduxjs/toolkit").AsyncThunk<IFileInfoResponse, void, {
|
|
57
30
|
state: AppState;
|
|
58
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
59
|
-
extra?: unknown;
|
|
60
|
-
rejectValue?: unknown;
|
|
61
|
-
serializedErrorType?: unknown;
|
|
62
|
-
pendingMeta?: unknown;
|
|
63
|
-
fulfilledMeta?: unknown;
|
|
64
|
-
rejectedMeta?: unknown;
|
|
65
31
|
}>;
|
|
66
32
|
export declare const saveAll: import("@reduxjs/toolkit").AsyncThunk<void, void, {
|
|
67
33
|
state: AppState;
|
|
68
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
69
|
-
extra?: unknown;
|
|
70
|
-
rejectValue?: unknown;
|
|
71
|
-
serializedErrorType?: unknown;
|
|
72
|
-
pendingMeta?: unknown;
|
|
73
|
-
fulfilledMeta?: unknown;
|
|
74
|
-
rejectedMeta?: unknown;
|
|
75
34
|
}>;
|
|
76
35
|
export declare const tryCloseTab: import("@reduxjs/toolkit").AsyncThunk<boolean, string, {
|
|
77
36
|
state: AppState;
|
|
78
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
79
|
-
extra?: unknown;
|
|
80
|
-
rejectValue?: unknown;
|
|
81
|
-
serializedErrorType?: unknown;
|
|
82
|
-
pendingMeta?: unknown;
|
|
83
|
-
fulfilledMeta?: unknown;
|
|
84
|
-
rejectedMeta?: unknown;
|
|
85
37
|
}>;
|
|
86
38
|
export declare const tryCloseOtherTabs: import("@reduxjs/toolkit").AsyncThunk<void, string, {
|
|
87
39
|
state: AppState;
|
|
88
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
89
|
-
extra?: unknown;
|
|
90
|
-
rejectValue?: unknown;
|
|
91
|
-
serializedErrorType?: unknown;
|
|
92
|
-
pendingMeta?: unknown;
|
|
93
|
-
fulfilledMeta?: unknown;
|
|
94
|
-
rejectedMeta?: unknown;
|
|
95
40
|
}>;
|
|
96
41
|
export declare const tryCloseAllTabs: import("@reduxjs/toolkit").AsyncThunk<void, void, {
|
|
97
42
|
state: AppState;
|
|
98
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
99
|
-
extra?: unknown;
|
|
100
|
-
rejectValue?: unknown;
|
|
101
|
-
serializedErrorType?: unknown;
|
|
102
|
-
pendingMeta?: unknown;
|
|
103
|
-
fulfilledMeta?: unknown;
|
|
104
|
-
rejectedMeta?: unknown;
|
|
105
43
|
}>;
|
|
106
44
|
export declare const tryCloseRightTabs: import("@reduxjs/toolkit").AsyncThunk<void, number, {
|
|
107
45
|
state: AppState;
|
|
108
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
109
|
-
extra?: unknown;
|
|
110
|
-
rejectValue?: unknown;
|
|
111
|
-
serializedErrorType?: unknown;
|
|
112
|
-
pendingMeta?: unknown;
|
|
113
|
-
fulfilledMeta?: unknown;
|
|
114
|
-
rejectedMeta?: unknown;
|
|
115
46
|
}>;
|
|
116
47
|
export declare const tryCloseLeftTabs: import("@reduxjs/toolkit").AsyncThunk<void, number, {
|
|
117
48
|
state: AppState;
|
|
118
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
119
|
-
extra?: unknown;
|
|
120
|
-
rejectValue?: unknown;
|
|
121
|
-
serializedErrorType?: unknown;
|
|
122
|
-
pendingMeta?: unknown;
|
|
123
|
-
fulfilledMeta?: unknown;
|
|
124
|
-
rejectedMeta?: unknown;
|
|
125
49
|
}>;
|
|
126
50
|
export declare const reloadTab: import("@reduxjs/toolkit").AsyncThunk<void | INodeInfo, ITab<any, Partial<{
|
|
127
51
|
initialLineInfo: {
|
|
@@ -140,13 +64,6 @@ export declare const reloadTab: import("@reduxjs/toolkit").AsyncThunk<void | INo
|
|
|
140
64
|
ext: import("@ws-ui/shared").DebuggerFileExtension;
|
|
141
65
|
}>>, {
|
|
142
66
|
state: AppState;
|
|
143
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
144
|
-
extra?: unknown;
|
|
145
|
-
rejectValue?: unknown;
|
|
146
|
-
serializedErrorType?: unknown;
|
|
147
|
-
pendingMeta?: unknown;
|
|
148
|
-
fulfilledMeta?: unknown;
|
|
149
|
-
rejectedMeta?: unknown;
|
|
150
67
|
}>;
|
|
151
68
|
type SaveTabReturnType = ITab & {
|
|
152
69
|
errors: IMultilineMessage[];
|
|
@@ -155,13 +72,6 @@ export declare const saveTab: import("@reduxjs/toolkit").AsyncThunk<SaveTabRetur
|
|
|
155
72
|
tab: ITab;
|
|
156
73
|
}, {
|
|
157
74
|
state: AppState;
|
|
158
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
159
|
-
extra?: unknown;
|
|
160
|
-
rejectValue?: unknown;
|
|
161
|
-
serializedErrorType?: unknown;
|
|
162
|
-
pendingMeta?: unknown;
|
|
163
|
-
fulfilledMeta?: unknown;
|
|
164
|
-
rejectedMeta?: unknown;
|
|
165
75
|
}>;
|
|
166
76
|
export declare const tryInjectMethod: import("@reduxjs/toolkit").AsyncThunk<ITab<any, Partial<{
|
|
167
77
|
initialLineInfo: {
|
|
@@ -184,13 +94,6 @@ export declare const tryInjectMethod: import("@reduxjs/toolkit").AsyncThunk<ITab
|
|
|
184
94
|
dataclass?: string | undefined;
|
|
185
95
|
}, {
|
|
186
96
|
state: AppState;
|
|
187
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
188
|
-
extra?: unknown;
|
|
189
|
-
rejectValue?: unknown;
|
|
190
|
-
serializedErrorType?: unknown;
|
|
191
|
-
pendingMeta?: unknown;
|
|
192
|
-
fulfilledMeta?: unknown;
|
|
193
|
-
rejectedMeta?: unknown;
|
|
194
97
|
}>;
|
|
195
98
|
export declare const openRoles: import("@reduxjs/toolkit").AsyncThunk<void | ITab<any, Partial<{
|
|
196
99
|
initialLineInfo: {
|
|
@@ -210,11 +113,5 @@ export declare const openRoles: import("@reduxjs/toolkit").AsyncThunk<void | ITa
|
|
|
210
113
|
}>>, {}, {
|
|
211
114
|
state: AppState;
|
|
212
115
|
rejectValue: string;
|
|
213
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
214
|
-
extra?: unknown;
|
|
215
|
-
serializedErrorType?: unknown;
|
|
216
|
-
pendingMeta?: unknown;
|
|
217
|
-
fulfilledMeta?: unknown;
|
|
218
|
-
rejectedMeta?: unknown;
|
|
219
116
|
}>;
|
|
220
117
|
export {};
|
|
File without changes
|
|
File without changes
|
|
@@ -33,13 +33,13 @@ export declare const setSetting: import("@reduxjs/toolkit").ActionCreatorWithPay
|
|
|
33
33
|
path: TSettingPath;
|
|
34
34
|
settingsKey: string;
|
|
35
35
|
value: any;
|
|
36
|
-
},
|
|
36
|
+
}, string>, setSettings: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
37
37
|
path: TSettingPath;
|
|
38
38
|
value: any;
|
|
39
|
-
},
|
|
39
|
+
}, string>, setSettingsAsText: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
40
40
|
path: TSettingPath;
|
|
41
41
|
settings: {
|
|
42
42
|
[key: string]: any;
|
|
43
43
|
};
|
|
44
|
-
},
|
|
44
|
+
}, string>;
|
|
45
45
|
export default stateSlice;
|
|
@@ -3,20 +3,5 @@ import { AppState } from '..';
|
|
|
3
3
|
export declare const fetchSettings: import("@reduxjs/toolkit").AsyncThunk<INodeInfo, void, {
|
|
4
4
|
state: AppState;
|
|
5
5
|
rejectValue: string;
|
|
6
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
7
|
-
extra?: unknown;
|
|
8
|
-
serializedErrorType?: unknown;
|
|
9
|
-
pendingMeta?: unknown;
|
|
10
|
-
fulfilledMeta?: unknown;
|
|
11
|
-
rejectedMeta?: unknown;
|
|
12
|
-
}>;
|
|
13
|
-
export declare const fetchAppSettings: import("@reduxjs/toolkit").AsyncThunk<import("@ws-ui/shared").IAppSettingsResponse, void, {
|
|
14
|
-
state?: unknown;
|
|
15
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
16
|
-
extra?: unknown;
|
|
17
|
-
rejectValue?: unknown;
|
|
18
|
-
serializedErrorType?: unknown;
|
|
19
|
-
pendingMeta?: unknown;
|
|
20
|
-
fulfilledMeta?: unknown;
|
|
21
|
-
rejectedMeta?: unknown;
|
|
22
6
|
}>;
|
|
7
|
+
export declare const fetchAppSettings: import("@reduxjs/toolkit").AsyncThunk<import("@ws-ui/shared").IAppSettingsResponse, void, {}>;
|
|
File without changes
|
|
File without changes
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: import("redux").Reducer<import("./reducer").ISharedCSSState
|
|
1
|
+
declare const _default: import("redux").Reducer<import("immer/dist/internal.js").WritableDraft<import("./reducer").ISharedCSSState>>;
|
|
2
2
|
export default _default;
|
|
3
3
|
export * from './reducer';
|
|
4
4
|
export * from './thunks';
|
|
@@ -5,7 +5,7 @@ export type ISharedCSSState = {
|
|
|
5
5
|
styles: IWebFormStyleClass[];
|
|
6
6
|
error?: string;
|
|
7
7
|
};
|
|
8
|
-
declare const stateSlice: import("@reduxjs/toolkit").Slice<ISharedCSSState
|
|
8
|
+
declare const stateSlice: import("@reduxjs/toolkit").Slice<import("immer/dist/internal.js").WritableDraft<ISharedCSSState>, {
|
|
9
9
|
updateSharedCss: (state: import("immer/dist/internal.js").WritableDraft<ISharedCSSState>, action: PayloadAction<{
|
|
10
10
|
classes: IWebFormStyleClass[];
|
|
11
11
|
}>) => import("immer/dist/internal.js").WritableDraft<ISharedCSSState>;
|
|
@@ -15,7 +15,7 @@ declare const stateSlice: import("@reduxjs/toolkit").Slice<ISharedCSSState, {
|
|
|
15
15
|
}, "shared-css">;
|
|
16
16
|
export declare const updateSharedCss: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
17
17
|
classes: IWebFormStyleClass[];
|
|
18
|
-
},
|
|
18
|
+
}, string>, initSharedCss: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
19
19
|
classes: IWebFormStyleClass[];
|
|
20
|
-
},
|
|
20
|
+
}, string>;
|
|
21
21
|
export default stateSlice;
|
|
@@ -3,10 +3,4 @@ import { AppState } from '..';
|
|
|
3
3
|
export declare const fetchSharedCss: import("@reduxjs/toolkit").AsyncThunk<IWebFormStyleClass[], void, {
|
|
4
4
|
state: AppState;
|
|
5
5
|
rejectValue: string;
|
|
6
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
7
|
-
extra?: unknown;
|
|
8
|
-
serializedErrorType?: unknown;
|
|
9
|
-
pendingMeta?: unknown;
|
|
10
|
-
fulfilledMeta?: unknown;
|
|
11
|
-
rejectedMeta?: unknown;
|
|
12
6
|
}>;
|
|
File without changes
|
|
File without changes
|
|
@@ -14,5 +14,5 @@ declare const stateSlice: import("@reduxjs/toolkit").Slice<ISharedDatasourcesSta
|
|
|
14
14
|
}, "shared-datasources">;
|
|
15
15
|
export declare const addEmptyNamespace: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
16
16
|
name: string;
|
|
17
|
-
},
|
|
17
|
+
}, string>;
|
|
18
18
|
export default stateSlice;
|
|
@@ -3,58 +3,24 @@ import { ISharedDatasourcesResponse } from '@ws-ui/shared';
|
|
|
3
3
|
import { AppState } from '../../modules';
|
|
4
4
|
export declare const fetchSharedDatasources: import("@reduxjs/toolkit").AsyncThunk<ISharedDatasourcesResponse, void, {
|
|
5
5
|
rejectValue: string;
|
|
6
|
-
state?: unknown;
|
|
7
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
8
|
-
extra?: unknown;
|
|
9
|
-
serializedErrorType?: unknown;
|
|
10
|
-
pendingMeta?: unknown;
|
|
11
|
-
fulfilledMeta?: unknown;
|
|
12
|
-
rejectedMeta?: unknown;
|
|
13
6
|
}>;
|
|
14
7
|
export declare const addSharedSource: import("@reduxjs/toolkit").AsyncThunk<ISharedDatasourcesResponse, datasources.ICreateDataSource, {
|
|
15
8
|
rejectValue: string;
|
|
16
9
|
state: AppState;
|
|
17
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
18
|
-
extra?: unknown;
|
|
19
|
-
serializedErrorType?: unknown;
|
|
20
|
-
pendingMeta?: unknown;
|
|
21
|
-
fulfilledMeta?: unknown;
|
|
22
|
-
rejectedMeta?: unknown;
|
|
23
10
|
}>;
|
|
24
11
|
export declare const editSharedSource: import("@reduxjs/toolkit").AsyncThunk<{
|
|
25
12
|
[key: string]: datasources.ICreateDataSource[];
|
|
26
|
-
}, datasources.ICreateDataSource, {
|
|
27
|
-
state?: unknown;
|
|
28
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
29
|
-
extra?: unknown;
|
|
30
|
-
rejectValue?: unknown;
|
|
31
|
-
serializedErrorType?: unknown;
|
|
32
|
-
pendingMeta?: unknown;
|
|
33
|
-
fulfilledMeta?: unknown;
|
|
34
|
-
rejectedMeta?: unknown;
|
|
35
|
-
}>;
|
|
13
|
+
}, datasources.ICreateDataSource, {}>;
|
|
36
14
|
export declare const deleteSharedSource: import("@reduxjs/toolkit").AsyncThunk<ISharedDatasourcesResponse, {
|
|
37
15
|
id: string;
|
|
38
16
|
namespace: string;
|
|
39
17
|
}, {
|
|
40
18
|
rejectValue: string;
|
|
41
19
|
state: AppState;
|
|
42
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
43
|
-
extra?: unknown;
|
|
44
|
-
serializedErrorType?: unknown;
|
|
45
|
-
pendingMeta?: unknown;
|
|
46
|
-
fulfilledMeta?: unknown;
|
|
47
|
-
rejectedMeta?: unknown;
|
|
48
20
|
}>;
|
|
49
21
|
export declare const updateSharedDatasources: import("@reduxjs/toolkit").AsyncThunk<ISharedDatasourcesResponse, datasources.ICreateDataSource[], {
|
|
50
22
|
rejectValue: string;
|
|
51
23
|
state: AppState;
|
|
52
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
53
|
-
extra?: unknown;
|
|
54
|
-
serializedErrorType?: unknown;
|
|
55
|
-
pendingMeta?: unknown;
|
|
56
|
-
fulfilledMeta?: unknown;
|
|
57
|
-
rejectedMeta?: unknown;
|
|
58
24
|
}>;
|
|
59
25
|
export declare const setDatasourceEvents: import("@reduxjs/toolkit").AsyncThunk<void, {
|
|
60
26
|
tabPath: string;
|
|
@@ -63,11 +29,4 @@ export declare const setDatasourceEvents: import("@reduxjs/toolkit").AsyncThunk<
|
|
|
63
29
|
events: webforms.WEvent[];
|
|
64
30
|
}, {
|
|
65
31
|
state: AppState;
|
|
66
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
67
|
-
extra?: unknown;
|
|
68
|
-
rejectValue?: unknown;
|
|
69
|
-
serializedErrorType?: unknown;
|
|
70
|
-
pendingMeta?: unknown;
|
|
71
|
-
fulfilledMeta?: unknown;
|
|
72
|
-
rejectedMeta?: unknown;
|
|
73
32
|
}>;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|