@ws-ui/store 0.3.12 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -2
- package/dist/index.cjs.js +57 -68
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +7900 -7883
- 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 +40 -40
- package/dist/modules/debugger/thunks.d.ts +2 -2
- package/dist/modules/explorer/reducer.d.ts +9 -9
- package/dist/modules/explorer/thunks.d.ts +49 -36
- package/dist/modules/modals/reducer.d.ts +5 -5
- package/dist/modules/modals/thunks.d.ts +1 -1
- package/dist/modules/model/helpers.d.ts +1 -1
- package/dist/modules/model/selectors.d.ts +1 -0
- package/dist/modules/model/subjects.d.ts +1 -1
- package/dist/modules/model/thunks.d.ts +8 -8
- package/dist/modules/model/utils.d.ts +3 -3
- package/dist/modules/roles/reducer.d.ts +22 -12
- package/dist/modules/roles/thunks.d.ts +4 -3
- package/dist/modules/root/reducer.d.ts +56 -47
- package/dist/modules/root/thunks.d.ts +27 -27
- package/dist/modules/settings/thunks.d.ts +2 -2
- package/dist/modules/shared-conditions/reducer.d.ts +10 -10
- package/dist/modules/shared-conditions/thunks.d.ts +1 -1
- package/dist/modules/shared-css/reducer.d.ts +4 -4
- package/dist/modules/shared-css/thunks.d.ts +1 -1
- package/dist/modules/shared-datasources/index.d.ts +1 -0
- package/dist/modules/shared-datasources/reducer.d.ts +1 -1
- package/dist/modules/shared-datasources/thunks.d.ts +10 -10
- package/dist/modules/shared-datasources/utils.d.ts +6 -0
- package/dist/modules/tabs/selectors.d.ts +3 -3
- package/dist/modules/webforms/datasources.adapter.d.ts +1 -1
- package/dist/modules/webforms/reducer.d.ts +10 -10
- package/dist/modules/webforms/thunks.d.ts +102 -15
- package/dist/package.json +61 -0
- package/dist/selectors/catalog.d.ts +1 -0
- package/dist/selectors/common.d.ts +44 -44
- package/dist/selectors/components.d.ts +8 -8
- package/dist/selectors/datasources.d.ts +123 -75
- package/dist/selectors/debugger.d.ts +9 -9
- package/dist/selectors/explorer.d.ts +369 -327
- package/dist/selectors/modals.d.ts +12 -12
- package/dist/selectors/roles.d.ts +104 -102
- package/dist/selectors/settings.d.ts +136 -136
- package/dist/selectors/states.d.ts +3 -3
- package/dist/selectors/styles.d.ts +60 -60
- package/dist/selectors/tabs.d.ts +5 -3
- package/dist/selectors/webforms.d.ts +157 -157
- package/dist/store.d.ts +1 -1
- package/package.json +10 -17
|
@@ -2,18 +2,18 @@ import { PayloadAction } from '@reduxjs/toolkit';
|
|
|
2
2
|
import { IRolesState, TById, TRawData, TRolesDict } from './types';
|
|
3
3
|
|
|
4
4
|
declare const stateSlice: import('@reduxjs/toolkit').Slice<IRolesState, {
|
|
5
|
-
updatePrivileges: (state: import('immer/dist/internal
|
|
6
|
-
updateRoles: (state: import('immer/dist/internal
|
|
7
|
-
updateRolesAndPrivileges: (state: import('immer/dist/internal
|
|
5
|
+
updatePrivileges: (state: import('immer/dist/internal').WritableDraft<IRolesState>, action: PayloadAction<TById>) => void;
|
|
6
|
+
updateRoles: (state: import('immer/dist/internal').WritableDraft<IRolesState>, action: PayloadAction<TRolesDict>) => void;
|
|
7
|
+
updateRolesAndPrivileges: (state: import('immer/dist/internal').WritableDraft<IRolesState>, action: PayloadAction<{
|
|
8
8
|
roles: TRolesDict;
|
|
9
9
|
privileges: TById;
|
|
10
10
|
}>) => void;
|
|
11
|
-
toggleTab: (state: import('immer/dist/internal
|
|
12
|
-
toggleForceLogin: (state: import('immer/dist/internal
|
|
13
|
-
setRolesContent(state: import('immer/dist/internal
|
|
11
|
+
toggleTab: (state: import('immer/dist/internal').WritableDraft<IRolesState>, action: PayloadAction<'privileges' | 'roles'>) => void;
|
|
12
|
+
toggleForceLogin: (state: import('immer/dist/internal').WritableDraft<IRolesState>, action: PayloadAction<boolean>) => void;
|
|
13
|
+
setRolesContent(state: import('immer/dist/internal').WritableDraft<IRolesState>, action: PayloadAction<{
|
|
14
14
|
content: TRawData;
|
|
15
15
|
date?: string;
|
|
16
|
-
flags?: IRolesState[
|
|
16
|
+
flags?: IRolesState['flags'];
|
|
17
17
|
}>): {
|
|
18
18
|
flags: {
|
|
19
19
|
touched?: boolean | undefined;
|
|
@@ -23,18 +23,28 @@ declare const stateSlice: import('@reduxjs/toolkit').Slice<IRolesState, {
|
|
|
23
23
|
old?: boolean | undefined;
|
|
24
24
|
enabled?: boolean | undefined;
|
|
25
25
|
confirmed?: boolean | undefined;
|
|
26
|
+
inactive?: boolean | undefined;
|
|
26
27
|
};
|
|
27
|
-
date?: string;
|
|
28
|
+
date?: string | undefined;
|
|
28
29
|
privileges: TById;
|
|
29
30
|
roles: TRolesDict;
|
|
30
|
-
forceLogin?: boolean;
|
|
31
|
-
selectedTab: "
|
|
31
|
+
forceLogin?: boolean | undefined;
|
|
32
|
+
selectedTab: "roles" | "privileges";
|
|
32
33
|
};
|
|
33
34
|
}, "roles">;
|
|
34
35
|
export declare const updatePrivileges: import('@reduxjs/toolkit').ActionCreatorWithPayload<TById, "roles/updatePrivileges">, updateRoles: import('@reduxjs/toolkit').ActionCreatorWithPayload<TRolesDict, "roles/updateRoles">, setRolesContent: import('@reduxjs/toolkit').ActionCreatorWithPayload<{
|
|
35
36
|
content: TRawData;
|
|
36
|
-
date?: string;
|
|
37
|
-
flags?:
|
|
37
|
+
date?: string | undefined;
|
|
38
|
+
flags?: Partial<{
|
|
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;
|
|
38
48
|
}, "roles/setRolesContent">, toggleTab: import('@reduxjs/toolkit').ActionCreatorWithPayload<"roles" | "privileges", "roles/toggleTab">, toggleForceLogin: import('@reduxjs/toolkit').ActionCreatorWithPayload<boolean, "roles/toggleForceLogin">, updateRolesAndPrivileges: import('@reduxjs/toolkit').ActionCreatorWithPayload<{
|
|
39
49
|
roles: TRolesDict;
|
|
40
50
|
privileges: TById;
|
|
@@ -5,7 +5,7 @@ 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 | undefined;
|
|
8
|
+
dispatch?: import('redux').Dispatch<import('redux').AnyAction> | undefined;
|
|
9
9
|
extra?: unknown;
|
|
10
10
|
serializedErrorType?: unknown;
|
|
11
11
|
pendingMeta?: unknown;
|
|
@@ -20,9 +20,10 @@ export declare const fetchRolesChanges: import('@reduxjs/toolkit').AsyncThunk<Pa
|
|
|
20
20
|
old: boolean;
|
|
21
21
|
enabled: boolean;
|
|
22
22
|
confirmed: boolean;
|
|
23
|
+
inactive: boolean;
|
|
23
24
|
}>, void, {
|
|
24
25
|
state: AppState;
|
|
25
|
-
dispatch?: import('redux').Dispatch | undefined;
|
|
26
|
+
dispatch?: import('redux').Dispatch<import('redux').AnyAction> | undefined;
|
|
26
27
|
extra?: unknown;
|
|
27
28
|
rejectValue?: unknown;
|
|
28
29
|
serializedErrorType?: unknown;
|
|
@@ -34,7 +35,7 @@ export declare const isRolesOutdated: (date: string | undefined) => Promise<bool
|
|
|
34
35
|
export declare const saveRoles: import('@reduxjs/toolkit').AsyncThunk<ISetFileContentResponse, ISanitized, {
|
|
35
36
|
state: AppState;
|
|
36
37
|
rejectValue: string | ITabFlags;
|
|
37
|
-
dispatch?: import('redux').Dispatch | undefined;
|
|
38
|
+
dispatch?: import('redux').Dispatch<import('redux').AnyAction> | undefined;
|
|
38
39
|
extra?: unknown;
|
|
39
40
|
serializedErrorType?: unknown;
|
|
40
41
|
pendingMeta?: unknown;
|
|
@@ -3,66 +3,66 @@ import { IWebFormStyleClass, ITab, ITabExtra, ITabFlags, WebformState } from '@w
|
|
|
3
3
|
import { IRootState, TActionAddDataSource, TActionAddDefaultWebformState, TActionAddWebformState, TActionEditWebformState, TActionRemoveDataSource, TActionRemoveDefaultWebformState, TActionRemoveWebformState, TActionSetDataSources, TActionSetDefaultWebformStates, TActionUpdateStateConditionDs, TResetComponentState } from './types';
|
|
4
4
|
|
|
5
5
|
export declare const stateSlice: import('@reduxjs/toolkit').Slice<IRootState, {
|
|
6
|
-
setWebformState(state: import('immer/dist/internal
|
|
6
|
+
setWebformState(state: import('immer/dist/internal').WritableDraft<IRootState>, action: PayloadAction<{
|
|
7
7
|
currentState: WebformState;
|
|
8
8
|
path: string;
|
|
9
9
|
}>): void;
|
|
10
|
-
copyToClipBoard(state: import('immer/dist/internal
|
|
11
|
-
setPanelState(state: import('immer/dist/internal
|
|
10
|
+
copyToClipBoard(state: import('immer/dist/internal').WritableDraft<IRootState>, action: PayloadAction<IRootState['clipboard']>): void;
|
|
11
|
+
setPanelState(state: import('immer/dist/internal').WritableDraft<IRootState>, action: PayloadAction<Partial<ITab['view']['panel']> & {
|
|
12
12
|
path: string;
|
|
13
13
|
}>): void;
|
|
14
|
-
openSettingsTab(state: import('immer/dist/internal
|
|
15
|
-
addDataSource(state: import('immer/dist/internal
|
|
16
|
-
addWebformState(state: import('immer/dist/internal
|
|
17
|
-
removeWebformState(state: import('immer/dist/internal
|
|
18
|
-
editWebformState(state: import('immer/dist/internal
|
|
19
|
-
updateStateConditionDs(state: import('immer/dist/internal
|
|
20
|
-
resetComponentState(state: import('immer/dist/internal
|
|
21
|
-
setDefaultWebformStates(state: import('immer/dist/internal
|
|
22
|
-
addDefaultWebformState(state: import('immer/dist/internal
|
|
23
|
-
removeDefaultWebformState(state: import('immer/dist/internal
|
|
24
|
-
removeDataSource(state: import('immer/dist/internal
|
|
25
|
-
setDataSources(state: import('immer/dist/internal
|
|
26
|
-
setTabs(state: import('immer/dist/internal
|
|
27
|
-
closeTab(state: import('immer/dist/internal
|
|
28
|
-
closeOthers(state: import('immer/dist/internal
|
|
29
|
-
closeAllTabs(state: import('immer/dist/internal
|
|
30
|
-
closeRightTabs(state: import('immer/dist/internal
|
|
31
|
-
closeLeftTabs(state: import('immer/dist/internal
|
|
32
|
-
closeSavedTabs(state: import('immer/dist/internal
|
|
33
|
-
confirmTab(state: import('immer/dist/internal
|
|
34
|
-
selectTab(state: import('immer/dist/internal
|
|
35
|
-
openTabUnselected(state: import('immer/dist/internal
|
|
36
|
-
selectTabByReference(state: import('immer/dist/internal
|
|
14
|
+
openSettingsTab(state: import('immer/dist/internal').WritableDraft<IRootState>): void;
|
|
15
|
+
addDataSource(state: import('immer/dist/internal').WritableDraft<IRootState>, action: TActionAddDataSource): void;
|
|
16
|
+
addWebformState(state: import('immer/dist/internal').WritableDraft<IRootState>, action: TActionAddWebformState): void;
|
|
17
|
+
removeWebformState(state: import('immer/dist/internal').WritableDraft<IRootState>, action: TActionRemoveWebformState): void;
|
|
18
|
+
editWebformState(state: import('immer/dist/internal').WritableDraft<IRootState>, action: TActionEditWebformState): void;
|
|
19
|
+
updateStateConditionDs(state: import('immer/dist/internal').WritableDraft<IRootState>, action: TActionUpdateStateConditionDs): void;
|
|
20
|
+
resetComponentState(state: import('immer/dist/internal').WritableDraft<IRootState>, action: TResetComponentState): void;
|
|
21
|
+
setDefaultWebformStates(state: import('immer/dist/internal').WritableDraft<IRootState>, action: TActionSetDefaultWebformStates): void;
|
|
22
|
+
addDefaultWebformState(state: import('immer/dist/internal').WritableDraft<IRootState>, action: TActionAddDefaultWebformState): void;
|
|
23
|
+
removeDefaultWebformState(state: import('immer/dist/internal').WritableDraft<IRootState>, action: TActionRemoveDefaultWebformState): void;
|
|
24
|
+
removeDataSource(state: import('immer/dist/internal').WritableDraft<IRootState>, action: TActionRemoveDataSource): void;
|
|
25
|
+
setDataSources(state: import('immer/dist/internal').WritableDraft<IRootState>, action: TActionSetDataSources): void;
|
|
26
|
+
setTabs(state: import('immer/dist/internal').WritableDraft<IRootState>, action: PayloadAction<ITab[]>): void;
|
|
27
|
+
closeTab(state: import('immer/dist/internal').WritableDraft<IRootState>, action: PayloadAction<number>): void;
|
|
28
|
+
closeOthers(state: import('immer/dist/internal').WritableDraft<IRootState>, action: PayloadAction<string>): void;
|
|
29
|
+
closeAllTabs(state: import('immer/dist/internal').WritableDraft<IRootState>): void;
|
|
30
|
+
closeRightTabs(state: import('immer/dist/internal').WritableDraft<IRootState>, action: PayloadAction<number>): void;
|
|
31
|
+
closeLeftTabs(state: import('immer/dist/internal').WritableDraft<IRootState>, action: PayloadAction<number>): void;
|
|
32
|
+
closeSavedTabs(state: import('immer/dist/internal').WritableDraft<IRootState>): void;
|
|
33
|
+
confirmTab(state: import('immer/dist/internal').WritableDraft<IRootState>, action: PayloadAction<string>): void;
|
|
34
|
+
selectTab(state: import('immer/dist/internal').WritableDraft<IRootState>, action: PayloadAction<string>): void;
|
|
35
|
+
openTabUnselected(state: import('immer/dist/internal').WritableDraft<IRootState>, action: PayloadAction<ITab>): void;
|
|
36
|
+
selectTabByReference(state: import('immer/dist/internal').WritableDraft<IRootState>, action: PayloadAction<ITab & {
|
|
37
37
|
isNew?: boolean;
|
|
38
38
|
}>): void;
|
|
39
|
-
setContent(state: import('immer/dist/internal
|
|
39
|
+
setContent(state: import('immer/dist/internal').WritableDraft<IRootState>, action: PayloadAction<{
|
|
40
40
|
path: string;
|
|
41
41
|
content: any;
|
|
42
42
|
contentPath?: string;
|
|
43
43
|
}>): void;
|
|
44
|
-
setTabFlags(state: import('immer/dist/internal
|
|
44
|
+
setTabFlags(state: import('immer/dist/internal').WritableDraft<IRootState>, action: PayloadAction<{
|
|
45
45
|
path: string;
|
|
46
46
|
flags: ITabFlags;
|
|
47
47
|
}>): void;
|
|
48
|
-
setTabsFlags(state: import('immer/dist/internal
|
|
48
|
+
setTabsFlags(state: import('immer/dist/internal').WritableDraft<IRootState>, action: PayloadAction<{
|
|
49
49
|
tabs: string[];
|
|
50
50
|
flags: ITabFlags;
|
|
51
51
|
}>): void;
|
|
52
|
-
setTabExtra(state: import('immer/dist/internal
|
|
52
|
+
setTabExtra(state: import('immer/dist/internal').WritableDraft<IRootState>, action: PayloadAction<{
|
|
53
53
|
path: string;
|
|
54
54
|
extra: ITabExtra;
|
|
55
55
|
flags?: ITabFlags;
|
|
56
56
|
}>): void;
|
|
57
|
-
addWebFormStyles(state: import('immer/dist/internal
|
|
57
|
+
addWebFormStyles(state: import('immer/dist/internal').WritableDraft<IRootState>, action: PayloadAction<{
|
|
58
58
|
path: string;
|
|
59
59
|
styles: IWebFormStyleClass[];
|
|
60
60
|
}>): void;
|
|
61
|
-
changeTabEditor(state: import('immer/dist/internal
|
|
62
|
-
setHistoryContent(state: import('immer/dist/internal
|
|
63
|
-
unlockHistory(state: import('immer/dist/internal
|
|
64
|
-
undo(state: import('immer/dist/internal
|
|
65
|
-
redo(state: import('immer/dist/internal
|
|
61
|
+
changeTabEditor(state: import('immer/dist/internal').WritableDraft<IRootState>, action: PayloadAction<ITab>): import('immer/dist/internal').WritableDraft<IRootState>;
|
|
62
|
+
setHistoryContent(state: import('immer/dist/internal').WritableDraft<IRootState>, action: PayloadAction<string>): void;
|
|
63
|
+
unlockHistory(state: import('immer/dist/internal').WritableDraft<IRootState>, action: PayloadAction<string>): void;
|
|
64
|
+
undo(state: import('immer/dist/internal').WritableDraft<IRootState>): void;
|
|
65
|
+
redo(state: import('immer/dist/internal').WritableDraft<IRootState>): void;
|
|
66
66
|
}, "root">;
|
|
67
67
|
export declare const copyToClipBoard: import('@reduxjs/toolkit').ActionCreatorWithPayload<{
|
|
68
68
|
payload: webforms.WEvent;
|
|
@@ -70,7 +70,7 @@ export declare const copyToClipBoard: import('@reduxjs/toolkit').ActionCreatorWi
|
|
|
70
70
|
} | null, "root/copyToClipBoard">, setTabs: import('@reduxjs/toolkit').ActionCreatorWithPayload<ITab<any, Partial<{
|
|
71
71
|
initialLineInfo: {
|
|
72
72
|
line: number;
|
|
73
|
-
offset?: number;
|
|
73
|
+
offset?: number | undefined;
|
|
74
74
|
lastModification: number;
|
|
75
75
|
};
|
|
76
76
|
initialSelectionInfo: {
|
|
@@ -86,7 +86,7 @@ export declare const copyToClipBoard: import('@reduxjs/toolkit').ActionCreatorWi
|
|
|
86
86
|
}>>[], "root/setTabs">, closeTab: import('@reduxjs/toolkit').ActionCreatorWithPayload<number, "root/closeTab">, setContent: import('@reduxjs/toolkit').ActionCreatorWithPayload<{
|
|
87
87
|
path: string;
|
|
88
88
|
content: any;
|
|
89
|
-
contentPath?: string;
|
|
89
|
+
contentPath?: string | undefined;
|
|
90
90
|
}, "root/setContent">, setTabFlags: import('@reduxjs/toolkit').ActionCreatorWithPayload<{
|
|
91
91
|
path: string;
|
|
92
92
|
flags: ITabFlags;
|
|
@@ -96,12 +96,21 @@ export declare const copyToClipBoard: import('@reduxjs/toolkit').ActionCreatorWi
|
|
|
96
96
|
}, "root/setTabsFlags">, setTabExtra: import('@reduxjs/toolkit').ActionCreatorWithPayload<{
|
|
97
97
|
path: string;
|
|
98
98
|
extra: ITabExtra;
|
|
99
|
-
flags?:
|
|
99
|
+
flags?: Partial<{
|
|
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;
|
|
100
109
|
}, "root/setTabExtra">, closeAllTabs: import('@reduxjs/toolkit').ActionCreatorWithoutPayload<"root/closeAllTabs">, addDataSource: import('@reduxjs/toolkit').ActionCreatorWithPayload<{
|
|
101
|
-
datasourceDef:
|
|
110
|
+
datasourceDef: any;
|
|
102
111
|
path: string;
|
|
103
112
|
}, "root/addDataSource">, closeRightTabs: import('@reduxjs/toolkit').ActionCreatorWithPayload<number, "root/closeRightTabs">, closeOthers: import('@reduxjs/toolkit').ActionCreatorWithPayload<string, "root/closeOthers">, closeLeftTabs: import('@reduxjs/toolkit').ActionCreatorWithPayload<number, "root/closeLeftTabs">, closeSavedTabs: import('@reduxjs/toolkit').ActionCreatorWithoutPayload<"root/closeSavedTabs">, setDataSources: import('@reduxjs/toolkit').ActionCreatorWithPayload<{
|
|
104
|
-
datasourceArr:
|
|
113
|
+
datasourceArr: any[];
|
|
105
114
|
path: string;
|
|
106
115
|
}, "root/setDataSources">, removeDataSource: import('@reduxjs/toolkit').ActionCreatorWithPayload<{
|
|
107
116
|
path: string;
|
|
@@ -109,7 +118,7 @@ export declare const copyToClipBoard: import('@reduxjs/toolkit').ActionCreatorWi
|
|
|
109
118
|
}, "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<{
|
|
110
119
|
initialLineInfo: {
|
|
111
120
|
line: number;
|
|
112
|
-
offset?: number;
|
|
121
|
+
offset?: number | undefined;
|
|
113
122
|
lastModification: number;
|
|
114
123
|
};
|
|
115
124
|
initialSelectionInfo: {
|
|
@@ -123,11 +132,11 @@ export declare const copyToClipBoard: import('@reduxjs/toolkit').ActionCreatorWi
|
|
|
123
132
|
ext: import('@ws-ui/shared').DebuggerFileExtension;
|
|
124
133
|
kind: string;
|
|
125
134
|
}>> & {
|
|
126
|
-
isNew?: boolean;
|
|
135
|
+
isNew?: boolean | undefined;
|
|
127
136
|
}, "root/selectTabByReference">, openTabUnselected: import('@reduxjs/toolkit').ActionCreatorWithPayload<ITab<any, Partial<{
|
|
128
137
|
initialLineInfo: {
|
|
129
138
|
line: number;
|
|
130
|
-
offset?: number;
|
|
139
|
+
offset?: number | undefined;
|
|
131
140
|
lastModification: number;
|
|
132
141
|
};
|
|
133
142
|
initialSelectionInfo: {
|
|
@@ -146,7 +155,7 @@ export declare const copyToClipBoard: import('@reduxjs/toolkit').ActionCreatorWi
|
|
|
146
155
|
}, "root/addWebFormStyles">, changeTabEditor: import('@reduxjs/toolkit').ActionCreatorWithPayload<ITab<any, Partial<{
|
|
147
156
|
initialLineInfo: {
|
|
148
157
|
line: number;
|
|
149
|
-
offset?: number;
|
|
158
|
+
offset?: number | undefined;
|
|
150
159
|
lastModification: number;
|
|
151
160
|
};
|
|
152
161
|
initialSelectionInfo: {
|
|
@@ -166,7 +175,7 @@ export declare const copyToClipBoard: import('@reduxjs/toolkit').ActionCreatorWi
|
|
|
166
175
|
isOpen: boolean;
|
|
167
176
|
type: string;
|
|
168
177
|
current: string;
|
|
169
|
-
lastSelected?: string;
|
|
178
|
+
lastSelected?: string | undefined;
|
|
170
179
|
}> & {
|
|
171
180
|
path: string;
|
|
172
181
|
}, "root/setPanelState">, addWebformState: import('@reduxjs/toolkit').ActionCreatorWithPayload<{
|
|
@@ -175,7 +184,7 @@ export declare const copyToClipBoard: import('@reduxjs/toolkit').ActionCreatorWi
|
|
|
175
184
|
}, "root/addWebformState">, editWebformState: import('@reduxjs/toolkit').ActionCreatorWithPayload<{
|
|
176
185
|
path: string;
|
|
177
186
|
state: WebformState;
|
|
178
|
-
oldLabel?: string;
|
|
187
|
+
oldLabel?: string | undefined;
|
|
179
188
|
}, "root/editWebformState">, updateStateConditionDs: import('@reduxjs/toolkit').ActionCreatorWithPayload<{
|
|
180
189
|
path: string;
|
|
181
190
|
old_reference: string;
|
|
@@ -10,7 +10,7 @@ export declare const fetchFiles: import('@reduxjs/toolkit').AsyncThunk<{
|
|
|
10
10
|
path: string;
|
|
11
11
|
}[], void, {
|
|
12
12
|
state?: unknown;
|
|
13
|
-
dispatch?: Dispatch;
|
|
13
|
+
dispatch?: Dispatch<import('redux').AnyAction> | undefined;
|
|
14
14
|
extra?: unknown;
|
|
15
15
|
rejectValue?: unknown;
|
|
16
16
|
serializedErrorType?: unknown;
|
|
@@ -26,11 +26,11 @@ export declare const fetchFiles: import('@reduxjs/toolkit').AsyncThunk<{
|
|
|
26
26
|
*/
|
|
27
27
|
export declare const renameDataSource: import('@reduxjs/toolkit').AsyncThunk<{
|
|
28
28
|
path: string | undefined;
|
|
29
|
-
namespace:
|
|
30
|
-
datasources:
|
|
29
|
+
namespace: any;
|
|
30
|
+
datasources: any[];
|
|
31
31
|
} | null, TActionRenameDataSource, {
|
|
32
32
|
state?: unknown;
|
|
33
|
-
dispatch?: Dispatch;
|
|
33
|
+
dispatch?: Dispatch<import('redux').AnyAction> | undefined;
|
|
34
34
|
extra?: unknown;
|
|
35
35
|
rejectValue?: unknown;
|
|
36
36
|
serializedErrorType?: unknown;
|
|
@@ -38,15 +38,15 @@ export declare const renameDataSource: import('@reduxjs/toolkit').AsyncThunk<{
|
|
|
38
38
|
fulfilledMeta?: unknown;
|
|
39
39
|
rejectedMeta?: unknown;
|
|
40
40
|
}>;
|
|
41
|
-
export declare const editDataSource: import('@reduxjs/toolkit').AsyncThunk<
|
|
41
|
+
export declare const editDataSource: import('@reduxjs/toolkit').AsyncThunk<any[], {
|
|
42
42
|
path: string;
|
|
43
43
|
datasourceId: string;
|
|
44
|
-
namespace?: string;
|
|
44
|
+
namespace?: string | undefined;
|
|
45
45
|
propertyKey: string;
|
|
46
46
|
value: any;
|
|
47
47
|
}, {
|
|
48
48
|
state?: unknown;
|
|
49
|
-
dispatch?: Dispatch;
|
|
49
|
+
dispatch?: Dispatch<import('redux').AnyAction> | undefined;
|
|
50
50
|
extra?: unknown;
|
|
51
51
|
rejectValue?: unknown;
|
|
52
52
|
serializedErrorType?: unknown;
|
|
@@ -56,7 +56,7 @@ export declare const editDataSource: import('@reduxjs/toolkit').AsyncThunk<(data
|
|
|
56
56
|
}>;
|
|
57
57
|
export declare const fetchChanges: import('@reduxjs/toolkit').AsyncThunk<IFileInfoResponse, void, {
|
|
58
58
|
state: AppState;
|
|
59
|
-
dispatch?: Dispatch | undefined;
|
|
59
|
+
dispatch?: Dispatch<import('redux').AnyAction> | undefined;
|
|
60
60
|
extra?: unknown;
|
|
61
61
|
rejectValue?: unknown;
|
|
62
62
|
serializedErrorType?: unknown;
|
|
@@ -66,7 +66,7 @@ export declare const fetchChanges: import('@reduxjs/toolkit').AsyncThunk<IFileIn
|
|
|
66
66
|
}>;
|
|
67
67
|
export declare const saveAll: import('@reduxjs/toolkit').AsyncThunk<void, void, {
|
|
68
68
|
state: AppState;
|
|
69
|
-
dispatch?: Dispatch | undefined;
|
|
69
|
+
dispatch?: Dispatch<import('redux').AnyAction> | undefined;
|
|
70
70
|
extra?: unknown;
|
|
71
71
|
rejectValue?: unknown;
|
|
72
72
|
serializedErrorType?: unknown;
|
|
@@ -76,7 +76,7 @@ export declare const saveAll: import('@reduxjs/toolkit').AsyncThunk<void, void,
|
|
|
76
76
|
}>;
|
|
77
77
|
export declare const tryCloseTab: import('@reduxjs/toolkit').AsyncThunk<boolean, string, {
|
|
78
78
|
state: AppState;
|
|
79
|
-
dispatch?: Dispatch | undefined;
|
|
79
|
+
dispatch?: Dispatch<import('redux').AnyAction> | undefined;
|
|
80
80
|
extra?: unknown;
|
|
81
81
|
rejectValue?: unknown;
|
|
82
82
|
serializedErrorType?: unknown;
|
|
@@ -86,7 +86,7 @@ export declare const tryCloseTab: import('@reduxjs/toolkit').AsyncThunk<boolean,
|
|
|
86
86
|
}>;
|
|
87
87
|
export declare const tryCloseOtherTabs: import('@reduxjs/toolkit').AsyncThunk<void, string, {
|
|
88
88
|
state: AppState;
|
|
89
|
-
dispatch?: Dispatch | undefined;
|
|
89
|
+
dispatch?: Dispatch<import('redux').AnyAction> | undefined;
|
|
90
90
|
extra?: unknown;
|
|
91
91
|
rejectValue?: unknown;
|
|
92
92
|
serializedErrorType?: unknown;
|
|
@@ -96,7 +96,7 @@ export declare const tryCloseOtherTabs: import('@reduxjs/toolkit').AsyncThunk<vo
|
|
|
96
96
|
}>;
|
|
97
97
|
export declare const tryCloseAllTabs: import('@reduxjs/toolkit').AsyncThunk<void, void, {
|
|
98
98
|
state: AppState;
|
|
99
|
-
dispatch?: Dispatch | undefined;
|
|
99
|
+
dispatch?: Dispatch<import('redux').AnyAction> | undefined;
|
|
100
100
|
extra?: unknown;
|
|
101
101
|
rejectValue?: unknown;
|
|
102
102
|
serializedErrorType?: unknown;
|
|
@@ -106,7 +106,7 @@ export declare const tryCloseAllTabs: import('@reduxjs/toolkit').AsyncThunk<void
|
|
|
106
106
|
}>;
|
|
107
107
|
export declare const tryCloseRightTabs: import('@reduxjs/toolkit').AsyncThunk<void, number, {
|
|
108
108
|
state: AppState;
|
|
109
|
-
dispatch?: Dispatch | undefined;
|
|
109
|
+
dispatch?: Dispatch<import('redux').AnyAction> | undefined;
|
|
110
110
|
extra?: unknown;
|
|
111
111
|
rejectValue?: unknown;
|
|
112
112
|
serializedErrorType?: unknown;
|
|
@@ -116,7 +116,7 @@ export declare const tryCloseRightTabs: import('@reduxjs/toolkit').AsyncThunk<vo
|
|
|
116
116
|
}>;
|
|
117
117
|
export declare const tryCloseLeftTabs: import('@reduxjs/toolkit').AsyncThunk<void, number, {
|
|
118
118
|
state: AppState;
|
|
119
|
-
dispatch?: Dispatch | undefined;
|
|
119
|
+
dispatch?: Dispatch<import('redux').AnyAction> | undefined;
|
|
120
120
|
extra?: unknown;
|
|
121
121
|
rejectValue?: unknown;
|
|
122
122
|
serializedErrorType?: unknown;
|
|
@@ -127,7 +127,7 @@ export declare const tryCloseLeftTabs: import('@reduxjs/toolkit').AsyncThunk<voi
|
|
|
127
127
|
export declare const reloadTab: import('@reduxjs/toolkit').AsyncThunk<void | INodeInfo, ITab<any, Partial<{
|
|
128
128
|
initialLineInfo: {
|
|
129
129
|
line: number;
|
|
130
|
-
offset?: number;
|
|
130
|
+
offset?: number | undefined;
|
|
131
131
|
lastModification: number;
|
|
132
132
|
};
|
|
133
133
|
initialSelectionInfo: {
|
|
@@ -142,7 +142,7 @@ export declare const reloadTab: import('@reduxjs/toolkit').AsyncThunk<void | INo
|
|
|
142
142
|
kind: string;
|
|
143
143
|
}>>, {
|
|
144
144
|
state: AppState;
|
|
145
|
-
dispatch?: Dispatch | undefined;
|
|
145
|
+
dispatch?: Dispatch<import('redux').AnyAction> | undefined;
|
|
146
146
|
extra?: unknown;
|
|
147
147
|
rejectValue?: unknown;
|
|
148
148
|
serializedErrorType?: unknown;
|
|
@@ -157,7 +157,7 @@ export declare const saveTab: import('@reduxjs/toolkit').AsyncThunk<SaveTabRetur
|
|
|
157
157
|
tab: ITab;
|
|
158
158
|
}, {
|
|
159
159
|
state: AppState;
|
|
160
|
-
dispatch?: Dispatch | undefined;
|
|
160
|
+
dispatch?: Dispatch<import('redux').AnyAction> | undefined;
|
|
161
161
|
extra?: unknown;
|
|
162
162
|
rejectValue?: unknown;
|
|
163
163
|
serializedErrorType?: unknown;
|
|
@@ -168,10 +168,10 @@ export declare const saveTab: import('@reduxjs/toolkit').AsyncThunk<SaveTabRetur
|
|
|
168
168
|
export declare const setTabContent: import('@reduxjs/toolkit').AsyncThunk<void, {
|
|
169
169
|
path: string;
|
|
170
170
|
content: any;
|
|
171
|
-
contentPath?: string;
|
|
171
|
+
contentPath?: string | undefined;
|
|
172
172
|
}, {
|
|
173
173
|
state: AppState;
|
|
174
|
-
dispatch?: Dispatch | undefined;
|
|
174
|
+
dispatch?: Dispatch<import('redux').AnyAction> | undefined;
|
|
175
175
|
extra?: unknown;
|
|
176
176
|
rejectValue?: unknown;
|
|
177
177
|
serializedErrorType?: unknown;
|
|
@@ -184,7 +184,7 @@ export declare const setCurrentWebformState: import('@reduxjs/toolkit').AsyncThu
|
|
|
184
184
|
path: string;
|
|
185
185
|
}, {
|
|
186
186
|
state: AppState;
|
|
187
|
-
dispatch?: Dispatch | undefined;
|
|
187
|
+
dispatch?: Dispatch<import('redux').AnyAction> | undefined;
|
|
188
188
|
extra?: unknown;
|
|
189
189
|
rejectValue?: unknown;
|
|
190
190
|
serializedErrorType?: unknown;
|
|
@@ -195,7 +195,7 @@ export declare const setCurrentWebformState: import('@reduxjs/toolkit').AsyncThu
|
|
|
195
195
|
export declare const tryInjectMethod: import('@reduxjs/toolkit').AsyncThunk<ITab<any, Partial<{
|
|
196
196
|
initialLineInfo: {
|
|
197
197
|
line: number;
|
|
198
|
-
offset?: number;
|
|
198
|
+
offset?: number | undefined;
|
|
199
199
|
lastModification: number;
|
|
200
200
|
};
|
|
201
201
|
initialSelectionInfo: {
|
|
@@ -210,12 +210,12 @@ export declare const tryInjectMethod: import('@reduxjs/toolkit').AsyncThunk<ITab
|
|
|
210
210
|
kind: string;
|
|
211
211
|
}>> | null, {
|
|
212
212
|
name: string;
|
|
213
|
-
type?: ClassFileTypes;
|
|
214
|
-
dataclass?: string;
|
|
215
|
-
expand?: boolean;
|
|
213
|
+
type?: ClassFileTypes | undefined;
|
|
214
|
+
dataclass?: string | undefined;
|
|
215
|
+
expand?: boolean | undefined;
|
|
216
216
|
}, {
|
|
217
217
|
state: AppState;
|
|
218
|
-
dispatch?: Dispatch | undefined;
|
|
218
|
+
dispatch?: Dispatch<import('redux').AnyAction> | undefined;
|
|
219
219
|
extra?: unknown;
|
|
220
220
|
rejectValue?: unknown;
|
|
221
221
|
serializedErrorType?: unknown;
|
|
@@ -226,7 +226,7 @@ export declare const tryInjectMethod: import('@reduxjs/toolkit').AsyncThunk<ITab
|
|
|
226
226
|
export declare const openRoles: import('@reduxjs/toolkit').AsyncThunk<void | ITab<any, Partial<{
|
|
227
227
|
initialLineInfo: {
|
|
228
228
|
line: number;
|
|
229
|
-
offset?: number;
|
|
229
|
+
offset?: number | undefined;
|
|
230
230
|
lastModification: number;
|
|
231
231
|
};
|
|
232
232
|
initialSelectionInfo: {
|
|
@@ -242,7 +242,7 @@ export declare const openRoles: import('@reduxjs/toolkit').AsyncThunk<void | ITa
|
|
|
242
242
|
}>>, {}, {
|
|
243
243
|
state: AppState;
|
|
244
244
|
rejectValue: string;
|
|
245
|
-
dispatch?: Dispatch | undefined;
|
|
245
|
+
dispatch?: Dispatch<import('redux').AnyAction> | undefined;
|
|
246
246
|
extra?: unknown;
|
|
247
247
|
serializedErrorType?: unknown;
|
|
248
248
|
pendingMeta?: unknown;
|
|
@@ -4,7 +4,7 @@ import { AppState } from '..';
|
|
|
4
4
|
export declare const fetchSettings: import('@reduxjs/toolkit').AsyncThunk<INodeInfo, void, {
|
|
5
5
|
state: AppState;
|
|
6
6
|
rejectValue: string;
|
|
7
|
-
dispatch?: import('redux').Dispatch | undefined;
|
|
7
|
+
dispatch?: import('redux').Dispatch<import('redux').AnyAction> | undefined;
|
|
8
8
|
extra?: unknown;
|
|
9
9
|
serializedErrorType?: unknown;
|
|
10
10
|
pendingMeta?: unknown;
|
|
@@ -13,7 +13,7 @@ export declare const fetchSettings: import('@reduxjs/toolkit').AsyncThunk<INodeI
|
|
|
13
13
|
}>;
|
|
14
14
|
export declare const fetchAppSettings: import('@reduxjs/toolkit').AsyncThunk<import('@ws-ui/shared').IAppSettingsResponse, void, {
|
|
15
15
|
state?: unknown;
|
|
16
|
-
dispatch?: import('redux').Dispatch;
|
|
16
|
+
dispatch?: import('redux').Dispatch<import('redux').AnyAction> | undefined;
|
|
17
17
|
extra?: unknown;
|
|
18
18
|
rejectValue?: unknown;
|
|
19
19
|
serializedErrorType?: unknown;
|
|
@@ -9,24 +9,24 @@ export type ISavedConditionsState = {
|
|
|
9
9
|
export declare const deepDeleteCondition: (condition: WebformStateCondition, targetId: string) => WebformStateCondition | null;
|
|
10
10
|
export declare const deepSanitizeCondition: (condition: WebformStateCondition) => WebformStateCondition;
|
|
11
11
|
declare const stateSlice: import('@reduxjs/toolkit').Slice<ISavedConditionsState, {
|
|
12
|
-
updateSavedConditions: (state: import('immer/dist/internal
|
|
12
|
+
updateSavedConditions: (state: import('immer/dist/internal').WritableDraft<ISavedConditionsState>, action: PayloadAction<{
|
|
13
13
|
conditions: WebformStateCondition[];
|
|
14
|
-
}>) => import('immer/dist/internal
|
|
15
|
-
setSavedCondition: (state: import('immer/dist/internal
|
|
14
|
+
}>) => import('immer/dist/internal').WritableDraft<ISavedConditionsState>;
|
|
15
|
+
setSavedCondition: (state: import('immer/dist/internal').WritableDraft<ISavedConditionsState>, action: PayloadAction<{
|
|
16
16
|
id: string;
|
|
17
17
|
condition: WebformStateCondition;
|
|
18
|
-
}>) => import('immer/dist/internal
|
|
19
|
-
updateSavedConditionDs: (state: import('immer/dist/internal
|
|
18
|
+
}>) => import('immer/dist/internal').WritableDraft<ISavedConditionsState>;
|
|
19
|
+
updateSavedConditionDs: (state: import('immer/dist/internal').WritableDraft<ISavedConditionsState>, action: PayloadAction<{
|
|
20
20
|
old_reference: string;
|
|
21
21
|
new_reference: string;
|
|
22
22
|
}>) => void;
|
|
23
|
-
addSavedCondition: (state: import('immer/dist/internal
|
|
24
|
-
removeSavedCondition: (state: import('immer/dist/internal
|
|
23
|
+
addSavedCondition: (state: import('immer/dist/internal').WritableDraft<ISavedConditionsState>, action: PayloadAction<WebformStateCondition>) => import('immer/dist/internal').WritableDraft<ISavedConditionsState>;
|
|
24
|
+
removeSavedCondition: (state: import('immer/dist/internal').WritableDraft<ISavedConditionsState>, action: PayloadAction<{
|
|
25
25
|
id: string;
|
|
26
|
-
}>) => import('immer/dist/internal
|
|
27
|
-
initSavedConditions: (state: import('immer/dist/internal
|
|
26
|
+
}>) => import('immer/dist/internal').WritableDraft<ISavedConditionsState>;
|
|
27
|
+
initSavedConditions: (state: import('immer/dist/internal').WritableDraft<ISavedConditionsState>, action: PayloadAction<{
|
|
28
28
|
conditions: WebformStateCondition[];
|
|
29
|
-
}>) => import('immer/dist/internal
|
|
29
|
+
}>) => import('immer/dist/internal').WritableDraft<ISavedConditionsState>;
|
|
30
30
|
}, "shared-conditions">;
|
|
31
31
|
export declare const updateSavedConditions: import('@reduxjs/toolkit').ActionCreatorWithPayload<{
|
|
32
32
|
conditions: WebformStateCondition[];
|
|
@@ -4,7 +4,7 @@ import { AppState } from '..';
|
|
|
4
4
|
export declare const fetchSavedConditions: import('@reduxjs/toolkit').AsyncThunk<WebformStateCondition[], void, {
|
|
5
5
|
state: AppState;
|
|
6
6
|
rejectValue: string;
|
|
7
|
-
dispatch?: import('redux').Dispatch | undefined;
|
|
7
|
+
dispatch?: import('redux').Dispatch<import('redux').AnyAction> | undefined;
|
|
8
8
|
extra?: unknown;
|
|
9
9
|
serializedErrorType?: unknown;
|
|
10
10
|
pendingMeta?: unknown;
|
|
@@ -7,12 +7,12 @@ export type ISharedCSSState = {
|
|
|
7
7
|
error?: string;
|
|
8
8
|
};
|
|
9
9
|
declare const stateSlice: import('@reduxjs/toolkit').Slice<ISharedCSSState, {
|
|
10
|
-
updateSharedCss: (state: import('immer/dist/internal
|
|
10
|
+
updateSharedCss: (state: import('immer/dist/internal').WritableDraft<ISharedCSSState>, action: PayloadAction<{
|
|
11
11
|
classes: IWebFormStyleClass[];
|
|
12
|
-
}>) => import('immer/dist/internal
|
|
13
|
-
initSharedCss: (state: import('immer/dist/internal
|
|
12
|
+
}>) => import('immer/dist/internal').WritableDraft<ISharedCSSState>;
|
|
13
|
+
initSharedCss: (state: import('immer/dist/internal').WritableDraft<ISharedCSSState>, action: PayloadAction<{
|
|
14
14
|
classes: IWebFormStyleClass[];
|
|
15
|
-
}>) => import('immer/dist/internal
|
|
15
|
+
}>) => import('immer/dist/internal').WritableDraft<ISharedCSSState>;
|
|
16
16
|
}, "shared-css">;
|
|
17
17
|
export declare const updateSharedCss: import('@reduxjs/toolkit').ActionCreatorWithPayload<{
|
|
18
18
|
classes: IWebFormStyleClass[];
|
|
@@ -4,7 +4,7 @@ import { AppState } from '..';
|
|
|
4
4
|
export declare const fetchSharedCss: import('@reduxjs/toolkit').AsyncThunk<IWebFormStyleClass[], void, {
|
|
5
5
|
state: AppState;
|
|
6
6
|
rejectValue: string;
|
|
7
|
-
dispatch?: import('redux').Dispatch | undefined;
|
|
7
|
+
dispatch?: import('redux').Dispatch<import('redux').AnyAction> | undefined;
|
|
8
8
|
extra?: unknown;
|
|
9
9
|
serializedErrorType?: unknown;
|
|
10
10
|
pendingMeta?: unknown;
|
|
@@ -8,7 +8,7 @@ export type ISharedDatasourcesState = {
|
|
|
8
8
|
error?: string;
|
|
9
9
|
};
|
|
10
10
|
declare const stateSlice: import('@reduxjs/toolkit').Slice<ISharedDatasourcesState, {
|
|
11
|
-
addEmptyNamespace(state: import('immer/dist/internal
|
|
11
|
+
addEmptyNamespace(state: import('immer/dist/internal').WritableDraft<ISharedDatasourcesState>, action: PayloadAction<{
|
|
12
12
|
name: string;
|
|
13
13
|
}>): void;
|
|
14
14
|
}, "shared-datasources">;
|