@ws-ui/store 0.1.3 → 0.1.4

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.
@@ -35,6 +35,7 @@ export type TypeSuggestItems = TypeSuggestItem[];
35
35
  export type ModelNode = Omit<Node, 'type' | 'data'> & {
36
36
  data: catalog.IDataClass;
37
37
  type: 'table';
38
+ virtual?: boolean;
38
39
  };
39
40
  export type ModelEdge = Omit<Edge, 'data'> & {
40
41
  data: {
@@ -147,6 +147,7 @@ export declare const setTabs: import("@reduxjs/toolkit").ActionCreatorWithPayloa
147
147
  isOpen: boolean;
148
148
  type: string;
149
149
  current: string;
150
+ lastSelected?: string | undefined;
150
151
  }> & {
151
152
  path: string;
152
153
  }, string>;
@@ -38,6 +38,7 @@ export declare const selectPanelByPath: (path: string) => ((state: import("redux
38
38
  isOpen: boolean;
39
39
  type: string;
40
40
  current: string;
41
+ lastSelected?: string | undefined;
41
42
  }> | undefined) & import("reselect").OutputSelectorFields<(args_0: import("immer/dist/internal.js").WritableDraft<import("@ws-ui/shared").ITab<any, Partial<{
42
43
  initialLineInfo: {
43
44
  line: number;
@@ -57,6 +58,7 @@ export declare const selectPanelByPath: (path: string) => ((state: import("redux
57
58
  isOpen: boolean;
58
59
  type: string;
59
60
  current: string;
61
+ lastSelected?: string | undefined;
60
62
  }> | undefined, {
61
63
  clearCache: () => void;
62
64
  }> & {
@@ -190,6 +190,46 @@ export declare const selectDataclasses: ((state: import("redux").EmptyObject & {
190
190
  }> & {
191
191
  clearCache: () => void;
192
192
  };
193
+ export declare const selectVirtualDataClasses: ((state: import("redux").EmptyObject & {
194
+ root: import("immer/dist/internal.js").WritableDraft<import('../modules').IRootState>;
195
+ explorer: import("immer/dist/internal.js").WritableDraft<import('../modules').ITreeItem>[];
196
+ debugger: import('../modules').IDebuggerState;
197
+ settings: import('../modules').ISettingsState;
198
+ catalog: {
199
+ state: "loading";
200
+ } | {
201
+ state: "loaded";
202
+ model: datasources.IEnhancedCatalog;
203
+ } | {
204
+ state: "error";
205
+ error: string;
206
+ };
207
+ roles: {
208
+ flags: {
209
+ touched?: boolean | undefined;
210
+ removed?: boolean | undefined;
211
+ pinned?: boolean | undefined;
212
+ loading?: boolean | undefined;
213
+ old?: boolean | undefined;
214
+ enabled?: boolean | undefined;
215
+ confirmed?: boolean | undefined;
216
+ };
217
+ date?: string | undefined;
218
+ privileges: import('../modules').TById;
219
+ roles: import('../modules').TRolesDict;
220
+ forceLogin?: boolean | undefined;
221
+ selectedTab: "roles" | "privileges";
222
+ };
223
+ sharedDatasources: import('../modules').ISharedDatasourcesState;
224
+ webforms: import('../modules').IWebformEditorState;
225
+ modals: import('../modules').IModalsState;
226
+ sharedCSS: import("immer/dist/internal.js").WritableDraft<import('../modules').ISharedCSSState>;
227
+ model: import('../modules').IModelState;
228
+ }) => datasources.IDetailedDataClass[]) & import("reselect").OutputSelectorFields<(args_0: never[] | datasources.IDataClasses) => datasources.IDetailedDataClass[], {
229
+ clearCache: () => void;
230
+ }> & {
231
+ clearCache: () => void;
232
+ };
193
233
  export declare const selectCatalogMethods: ((state: import("redux").EmptyObject & {
194
234
  root: import("immer/dist/internal.js").WritableDraft<import('../modules').IRootState>;
195
235
  explorer: import("immer/dist/internal.js").WritableDraft<import('../modules').ITreeItem>[];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ws-ui/store",
3
3
  "private": false,
4
- "version": "0.1.3",
4
+ "version": "0.1.4",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs.js",
7
7
  "module": "./dist/index.es.js",
@@ -22,8 +22,8 @@
22
22
  "react-redux": "^7.2.6"
23
23
  },
24
24
  "peerDependencies": {
25
- "@ws-ui/icons": "^0.0.6",
26
- "@ws-ui/shared": "^0.1.0",
25
+ "@ws-ui/icons": "^0.0.7",
26
+ "@ws-ui/shared": "^0.1.2",
27
27
  "lodash": "^4.17.21",
28
28
  "minimatch": "^5.1.0",
29
29
  "react": "^17.0.2",