@ws-ui/store 1.10.0 → 1.10.2
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/index.cjs.js +33 -33
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +1834 -1773
- package/dist/index.es.js.map +1 -1
- package/dist/modules/root/reducer.d.ts +8 -2
- package/dist/modules/root/thunks.d.ts +2 -0
- package/dist/modules/shared-datasources/utils.d.ts +0 -1
- package/package.json +3 -3
|
@@ -60,7 +60,10 @@ export declare const stateSlice: import('@reduxjs/toolkit').Slice<IRootState, {
|
|
|
60
60
|
styles: IWebFormStyleClass[];
|
|
61
61
|
}>): void;
|
|
62
62
|
changeTabEditor(state: import('immer/dist/internal').WritableDraft<IRootState>, action: PayloadAction<ITab>): import('immer/dist/internal').WritableDraft<IRootState>;
|
|
63
|
-
setHistoryContent(state: import('immer/dist/internal').WritableDraft<IRootState>, action: PayloadAction<
|
|
63
|
+
setHistoryContent(state: import('immer/dist/internal').WritableDraft<IRootState>, action: PayloadAction<{
|
|
64
|
+
path: string;
|
|
65
|
+
contentPath?: string;
|
|
66
|
+
}>): void;
|
|
64
67
|
unlockHistory(state: import('immer/dist/internal').WritableDraft<IRootState>, action: PayloadAction<string>): void;
|
|
65
68
|
undo(state: import('immer/dist/internal').WritableDraft<IRootState>): void;
|
|
66
69
|
redo(state: import('immer/dist/internal').WritableDraft<IRootState>): void;
|
|
@@ -206,5 +209,8 @@ export declare const copyToClipBoard: import('@reduxjs/toolkit').ActionCreatorWi
|
|
|
206
209
|
}, "root/removeDefaultWebformState">, setDefaultWebformStates: import('@reduxjs/toolkit').ActionCreatorWithPayload<{
|
|
207
210
|
path: string;
|
|
208
211
|
states: WebformState[];
|
|
209
|
-
}, "root/setDefaultWebformStates">, setHistoryContent: import('@reduxjs/toolkit').ActionCreatorWithPayload<
|
|
212
|
+
}, "root/setDefaultWebformStates">, setHistoryContent: import('@reduxjs/toolkit').ActionCreatorWithPayload<{
|
|
213
|
+
path: string;
|
|
214
|
+
contentPath?: string;
|
|
215
|
+
}, "root/setHistoryContent">, unlockHistory: import('@reduxjs/toolkit').ActionCreatorWithPayload<string, "root/unlockHistory">, undo: import('@reduxjs/toolkit').ActionCreatorWithoutPayload<"root/undo">, redo: import('@reduxjs/toolkit').ActionCreatorWithoutPayload<"root/redo">;
|
|
210
216
|
export default stateSlice;
|
|
@@ -168,6 +168,7 @@ export declare const setTabContent: import('@reduxjs/toolkit').AsyncThunk<void,
|
|
|
168
168
|
path: string;
|
|
169
169
|
content: any;
|
|
170
170
|
contentPath?: string;
|
|
171
|
+
date?: string | undefined;
|
|
171
172
|
}, {
|
|
172
173
|
state: AppState;
|
|
173
174
|
dispatch?: Dispatch | undefined;
|
|
@@ -181,6 +182,7 @@ export declare const setTabContent: import('@reduxjs/toolkit').AsyncThunk<void,
|
|
|
181
182
|
export declare const setCurrentWebformState: import('@reduxjs/toolkit').AsyncThunk<void, {
|
|
182
183
|
currentState: WebformState;
|
|
183
184
|
path: string;
|
|
185
|
+
contentPath?: string;
|
|
184
186
|
}, {
|
|
185
187
|
state: AppState;
|
|
186
188
|
dispatch?: Dispatch | undefined;
|
|
@@ -4,4 +4,3 @@ export declare const LOCATION_DATASOURCE_ID = "Location";
|
|
|
4
4
|
export declare const USER_LANGUAGE_DATASOURCE_ID = "UserLanguage";
|
|
5
5
|
export declare const TITLE_DATASOURCE_ID = "Title";
|
|
6
6
|
export declare const SHARED_USER_NAMESPACE: ISharedDatasourcesState['sources'];
|
|
7
|
-
export declare const sameDefaultUserSource: (last: datasources.ICreateDataSource, def: datasources.ICreateDataSource) => boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ws-ui/store",
|
|
3
|
-
"version": "1.10.
|
|
3
|
+
"version": "1.10.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.cjs.js",
|
|
6
6
|
"module": "./dist/index.es.js",
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@reduxjs/toolkit": "^1.7.1",
|
|
24
|
-
"@ws-ui/icons": "1.10.
|
|
25
|
-
"@ws-ui/shared": "1.10.
|
|
24
|
+
"@ws-ui/icons": "1.10.2",
|
|
25
|
+
"@ws-ui/shared": "1.10.2",
|
|
26
26
|
"lodash": "^4.17.21",
|
|
27
27
|
"minimatch": "^10.0.1",
|
|
28
28
|
"react": "^17.0.2",
|