@ws-ui/store 1.10.0 → 1.10.1

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.
@@ -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<string>): void;
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<string, "root/setHistoryContent">, unlockHistory: import('@reduxjs/toolkit').ActionCreatorWithPayload<string, "root/unlockHistory">, undo: import('@reduxjs/toolkit').ActionCreatorWithoutPayload<"root/undo">, redo: import('@reduxjs/toolkit').ActionCreatorWithoutPayload<"root/redo">;
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.0",
3
+ "version": "1.10.1",
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.0",
25
- "@ws-ui/shared": "1.10.0",
24
+ "@ws-ui/icons": "1.10.1",
25
+ "@ws-ui/shared": "1.10.1",
26
26
  "lodash": "^4.17.21",
27
27
  "minimatch": "^10.0.1",
28
28
  "react": "^17.0.2",