@ws-ui/store 0.1.38 → 0.2.0-beta.20240711

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.
@@ -3,6 +3,7 @@ import { IWebFormStyleClass } from '@ws-ui/shared';
3
3
  import { ITab, ITabExtra, ITabFlags, WebformState } from '@ws-ui/shared';
4
4
  import { IRootState, TActionAddDataSource, TActionAddDefaultWebformState, TActionAddWebformState, TActionEditWebformState, TActionRemoveDataSource, TActionRemoveDefaultWebformState, TActionRemoveWebformState, TActionSetDataSources, TActionSetDefaultWebformStates, TResetComponentState } from './types';
5
5
  export declare const stateSlice: import("@reduxjs/toolkit").Slice<import("immer/dist/internal.js").WritableDraft<IRootState>, {
6
+ copyToClipBoard(state: import("immer/dist/internal.js").WritableDraft<IRootState>, action: PayloadAction<IRootState['clipboard']>): void;
6
7
  setPanelState(state: import("immer/dist/internal.js").WritableDraft<IRootState>, action: PayloadAction<Partial<ITab['view']['panel']> & {
7
8
  path: string;
8
9
  }>): void;
@@ -58,7 +59,10 @@ export declare const stateSlice: import("@reduxjs/toolkit").Slice<import("immer/
58
59
  undo(state: import("immer/dist/internal.js").WritableDraft<IRootState>): void;
59
60
  redo(state: import("immer/dist/internal.js").WritableDraft<IRootState>): void;
60
61
  }, "root">;
61
- export declare const setTabs: import("@reduxjs/toolkit").ActionCreatorWithPayload<ITab<any, Partial<{
62
+ export declare const copyToClipBoard: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
63
+ payload: webforms.WEvent;
64
+ type: "event";
65
+ } | null, string>, setTabs: import("@reduxjs/toolkit").ActionCreatorWithPayload<ITab<any, Partial<{
62
66
  initialLineInfo: {
63
67
  line: number;
64
68
  offset?: number | undefined;
@@ -18,13 +18,19 @@ export declare const renameDataSource: import("@reduxjs/toolkit").AsyncThunk<{
18
18
  path: string | undefined;
19
19
  namespace: string;
20
20
  datasources: datasources.ICreateDataSource[];
21
- } | null, TActionRenameDataSource, {}>;
21
+ } | null, {
22
+ datasource: TActionRenameDataSource;
23
+ type: 'report' | 'webform';
24
+ }, {}>;
22
25
  export declare const editDataSource: import("@reduxjs/toolkit").AsyncThunk<(datasources.ICreateDataSourceScalar | datasources.ICreateDataSourceEntity | datasources.ICreateDataSourceEntitySelection)[], {
23
- path: string;
24
- datasourceId: string;
25
- namespace?: string | undefined;
26
- propertyKey: string;
27
- value: any;
26
+ datasource: {
27
+ path: string;
28
+ datasourceId: string;
29
+ namespace?: string;
30
+ propertyKey: string;
31
+ value: any;
32
+ };
33
+ type: 'report' | 'webform';
28
34
  }, {}>;
29
35
  export declare const fetchChanges: import("@reduxjs/toolkit").AsyncThunk<IFileInfoResponse, void, {
30
36
  state: AppState;
@@ -1,3 +1,4 @@
1
+ /// <reference types="@ws-ui/shared/dist/declarations/webform/webform" />
1
2
  /// <reference types="@ws-ui/shared/dist/declarations/datasources/datasource" />
2
3
  import { PayloadAction } from '@reduxjs/toolkit';
3
4
  import { ITab, WebformState } from '@ws-ui/shared';
@@ -6,6 +7,7 @@ export interface IRootState {
6
7
  filesLoading: boolean;
7
8
  activeTab: string;
8
9
  recent: ITab[];
10
+ clipboard: PayloadAction<webforms.WEvent, 'event'> | null;
9
11
  }
10
12
  export type TActionAddDataSource = PayloadAction<{
11
13
  datasourceDef: datasources.ICreateDataSource;
@@ -3,14 +3,14 @@ import { IAppSettingsResponse } from '@ws-ui/shared';
3
3
  import { TSetSettingPayload, TSettingPath } from './types';
4
4
  export interface ISettingsState {
5
5
  session: {
6
- [key: string]: unknown;
6
+ [key: string]: any;
7
7
  };
8
8
  project: {
9
- [key: string]: unknown;
9
+ [key: string]: any;
10
10
  };
11
11
  server: IAppSettingsResponse;
12
12
  welcometour: {
13
- [key: string]: unknown;
13
+ [key: string]: any;
14
14
  };
15
15
  }
16
16
  declare const stateSlice: import("@reduxjs/toolkit").Slice<ISettingsState, {
@@ -23,7 +23,7 @@ declare const stateSlice: import("@reduxjs/toolkit").Slice<ISettingsState, {
23
23
  payload: {
24
24
  path: TSettingPath;
25
25
  settings: {
26
- [key: string]: unknown;
26
+ [key: string]: any;
27
27
  };
28
28
  };
29
29
  type: string;
@@ -39,7 +39,7 @@ export declare const setSetting: import("@reduxjs/toolkit").ActionCreatorWithPay
39
39
  }, string>, setSettingsAsText: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
40
40
  path: TSettingPath;
41
41
  settings: {
42
- [key: string]: unknown;
42
+ [key: string]: any;
43
43
  };
44
44
  }, string>;
45
45
  export default stateSlice;
@@ -3,16 +3,23 @@ import { PayloadAction } from '@reduxjs/toolkit';
3
3
  export type ISharedDatasourcesState = {
4
4
  state: 'loading' | 'loaded' | 'error';
5
5
  sources: {
6
- [key: string]: datasources.ICreateDataSource[];
6
+ webform: {
7
+ [key: string]: datasources.ICreateDataSource[];
8
+ };
9
+ report: {
10
+ [key: string]: datasources.ICreateDataSource[];
11
+ };
7
12
  };
8
13
  error?: string;
9
14
  };
10
15
  declare const stateSlice: import("@reduxjs/toolkit").Slice<ISharedDatasourcesState, {
11
16
  addEmptyNamespace(state: import("immer/dist/internal.js").WritableDraft<ISharedDatasourcesState>, action: PayloadAction<{
12
17
  name: string;
18
+ type: 'report' | 'webform';
13
19
  }>): void;
14
20
  }, "shared-datasources">;
15
21
  export declare const addEmptyNamespace: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
16
22
  name: string;
23
+ type: 'report' | 'webform';
17
24
  }, string>;
18
25
  export default stateSlice;
@@ -1,24 +1,53 @@
1
- /// <reference types="@ws-ui/shared/dist/declarations/datasources/datasource" />
2
1
  import { ISharedDatasourcesResponse } from '@ws-ui/shared';
3
2
  import { AppState } from '../../modules';
4
- export declare const fetchSharedDatasources: import("@reduxjs/toolkit").AsyncThunk<ISharedDatasourcesResponse, void, {
3
+ export declare const fetchSharedDatasources: import("@reduxjs/toolkit").AsyncThunk<{
4
+ webform: ISharedDatasourcesResponse;
5
+ report: ISharedDatasourcesResponse;
6
+ }, void, {
5
7
  rejectValue: string;
8
+ state: AppState;
6
9
  }>;
7
- export declare const addSharedSource: import("@reduxjs/toolkit").AsyncThunk<ISharedDatasourcesResponse, datasources.ICreateDataSource, {
10
+ export declare const addSharedSource: import("@reduxjs/toolkit").AsyncThunk<{
11
+ webform: ISharedDatasourcesResponse;
12
+ report: ISharedDatasourcesResponse;
13
+ }, {
14
+ datasource: datasources.ICreateDataSource;
15
+ type: 'report' | 'webform';
16
+ }, {
8
17
  rejectValue: string;
9
18
  state: AppState;
10
19
  }>;
11
20
  export declare const editSharedSource: import("@reduxjs/toolkit").AsyncThunk<{
12
- [key: string]: datasources.ICreateDataSource[];
13
- }, datasources.ICreateDataSource, {}>;
14
- export declare const deleteSharedSource: import("@reduxjs/toolkit").AsyncThunk<ISharedDatasourcesResponse, {
21
+ webform: {
22
+ [key: string]: datasources.ICreateDataSource[];
23
+ };
24
+ report: {
25
+ [key: string]: datasources.ICreateDataSource[];
26
+ };
27
+ }, {
28
+ datasource: datasources.ICreateDataSource;
29
+ type: 'report' | 'webform';
30
+ }, {}>;
31
+ export declare const deleteSharedSource: import("@reduxjs/toolkit").AsyncThunk<{
32
+ webform: ISharedDatasourcesResponse;
33
+ report: ISharedDatasourcesResponse;
34
+ }, {
15
35
  id: string;
16
36
  namespace: string;
37
+ type: 'report' | 'webform';
17
38
  }, {
18
39
  rejectValue: string;
19
40
  state: AppState;
20
41
  }>;
21
- export declare const updateSharedDatasources: import("@reduxjs/toolkit").AsyncThunk<ISharedDatasourcesResponse, datasources.ICreateDataSource[], {
42
+ export declare const updateSharedDatasources: import("@reduxjs/toolkit").AsyncThunk<{
43
+ sources: {
44
+ webform: ISharedDatasourcesResponse;
45
+ report: ISharedDatasourcesResponse;
46
+ };
47
+ }, {
48
+ datasources: datasources.ICreateDataSource[];
49
+ type: 'report' | 'webform';
50
+ }, {
22
51
  rejectValue: string;
23
52
  state: AppState;
24
53
  }>;
@@ -27,6 +56,7 @@ export declare const setDatasourceEvents: import("@reduxjs/toolkit").AsyncThunk<
27
56
  name: string;
28
57
  namespace: string;
29
58
  events: webforms.WEvent[];
59
+ type: 'report' | 'webform';
30
60
  }, {
31
61
  state: AppState;
32
62
  }>;
@@ -1,6 +1,6 @@
1
1
  /// <reference types="@ws-ui/shared/dist/declarations/datasources/datasource" />
2
2
  /// <reference types="lodash" />
3
- export declare const listDsNamespaces: import("lodash").CurriedFunction2<string, import("redux").CombinedState<{
3
+ export declare const listDsNamespaces: import("lodash").CurriedFunction3<string, import("redux").CombinedState<{
4
4
  root: import("immer/dist/internal.js").WritableDraft<import("..").IRootState>;
5
5
  explorer: import("immer/dist/internal.js").WritableDraft<import("..").ITreeItem>[];
6
6
  debugger: import("..").IDebuggerState;
@@ -36,6 +36,8 @@ export declare const listDsNamespaces: import("lodash").CurriedFunction2<string,
36
36
  modals: import("..").IModalsState;
37
37
  sharedCSS: import("immer/dist/internal.js").WritableDraft<import("..").ISharedCSSState>;
38
38
  model: import("..").IModelState;
39
- }>, {
39
+ }>, "report" | "webform", {
40
+ [x: string]: datasources.ICreateDataSource[];
41
+ } | {
40
42
  [x: string]: datasources.ICreateDataSource[];
41
43
  }>;
@@ -11,20 +11,26 @@ declare const stateSlice: import("@reduxjs/toolkit").Slice<IWebformEditorState,
11
11
  editComponent: (state: import("immer/dist/internal.js").WritableDraft<IWebformEditorState>, action: PayloadAction<{
12
12
  id: string;
13
13
  changes: Partial<IComponentTemplate>;
14
+ type: 'webform' | 'report';
14
15
  }>) => void;
15
16
  removeComponent: (state: import("immer/dist/internal.js").WritableDraft<IWebformEditorState>, action: TRemoveComponentAction) => void;
16
17
  setSelectedGroup: (state: import("immer/dist/internal.js").WritableDraft<IWebformEditorState>, action: {
17
18
  payload: {
18
19
  selectedGroup: string;
20
+ type: 'webform' | 'report';
19
21
  };
20
22
  }) => void;
21
23
  setTemplatesData: (state: import("immer/dist/internal.js").WritableDraft<IWebformEditorState>, action: {
22
- payload: ITemplatedGroup[];
24
+ payload: {
25
+ webformTemplates: ITemplatedGroup[];
26
+ reportTemplates: ITemplatedGroup[];
27
+ };
23
28
  }) => void;
24
29
  setTemplateData: (state: import("immer/dist/internal.js").WritableDraft<IWebformEditorState>, action: {
25
30
  payload: {
26
31
  group: string;
27
32
  components: ITemplatedGroupItem[];
33
+ type: 'webform' | 'report';
28
34
  };
29
35
  }) => void;
30
36
  setDatasourcesTheme: (state: import("immer/dist/internal.js").WritableDraft<IWebformEditorState>, action: {
@@ -32,22 +38,43 @@ declare const stateSlice: import("@reduxjs/toolkit").Slice<IWebformEditorState,
32
38
  }) => void;
33
39
  setWebformsFlag(state: import("immer/dist/internal.js").WritableDraft<IWebformEditorState>, action: {
34
40
  payload: {
35
- [key: string]: any;
41
+ [key: string]: boolean;
36
42
  };
37
43
  type: string;
38
44
  }): void;
45
+ setCraftedComponentData(state: import("immer/dist/internal.js").WritableDraft<IWebformEditorState>, action: {
46
+ payload: {
47
+ webform: IComponentTemplate[];
48
+ report: IComponentTemplate[];
49
+ };
50
+ }): void;
39
51
  }, "webforms">;
40
52
  export declare const toggleInspector: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
41
53
  type: "css" | "datasource";
42
- }, string>, inspect: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./types").TToggleInspectorPayload, string>, addComponent: import("@reduxjs/toolkit").ActionCreatorWithPayload<IComponentTemplate, string>, editComponent: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
54
+ }, string>, inspect: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./types").TToggleInspectorPayload, string>, addComponent: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
55
+ component: IComponentTemplate;
56
+ type: "report" | "webform";
57
+ }, string>, editComponent: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
43
58
  id: string;
44
59
  changes: Partial<IComponentTemplate>;
45
- }, string>, removeComponent: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, string>, setSelectedGroup: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
60
+ type: 'webform' | 'report';
61
+ }, string>, removeComponent: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
62
+ id: string;
63
+ type: "report" | "webform";
64
+ }, string>, setSelectedGroup: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
46
65
  selectedGroup: string;
47
- }, string>, setTemplatesData: import("@reduxjs/toolkit").ActionCreatorWithPayload<ITemplatedGroup[], string>, setTemplateData: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
66
+ type: 'webform' | 'report';
67
+ }, string>, setTemplatesData: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
68
+ webformTemplates: ITemplatedGroup[];
69
+ reportTemplates: ITemplatedGroup[];
70
+ }, string>, setTemplateData: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
48
71
  group: string;
49
72
  components: ITemplatedGroupItem[];
73
+ type: 'webform' | 'report';
50
74
  }, string>, setDatasourcesTheme: import("@reduxjs/toolkit").ActionCreatorWithPayload<string | number, string>, setWebformsFlag: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
51
- [key: string]: any;
75
+ [key: string]: boolean;
76
+ }, string>, setCraftedComponentData: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
77
+ webform: IComponentTemplate[];
78
+ report: IComponentTemplate[];
52
79
  }, string>;
53
80
  export default stateSlice;
@@ -4,21 +4,38 @@ import { IComponentTemplate, OrNull } from '@ws-ui/shared';
4
4
  import { AsyncThunkConfig } from '../../hooks/store';
5
5
  import { AppState } from '..';
6
6
  import { ITemplatedGroup, ITemplatedGroupItem } from './types';
7
- export declare const fetchTemplates: import("@reduxjs/toolkit").AsyncThunk<ITemplatedGroup[], void, {
7
+ export declare const fetchTemplates: import("@reduxjs/toolkit").AsyncThunk<{
8
+ webform: {
9
+ data: ITemplatedGroup[];
10
+ selectedGroup: string;
11
+ };
12
+ report: {
13
+ data: ITemplatedGroup[];
14
+ selectedGroup: string;
15
+ };
16
+ }, void, {
8
17
  state: AppState;
9
18
  }>;
10
19
  export declare const fetchTemplate: import("@reduxjs/toolkit").AsyncThunk<ITemplatedGroupItem[], {
11
20
  name: string;
21
+ type: 'webform' | 'report';
12
22
  }, {
13
23
  state: AppState;
14
24
  }>;
15
- export declare const fetchCraftedComponents: import("@reduxjs/toolkit").AsyncThunk<any, void, {}>;
16
- export declare const addCraftedComponent: import("@reduxjs/toolkit").AsyncThunk<undefined, IComponentTemplate, {}>;
25
+ export declare const fetchCraftedComponents: import("@reduxjs/toolkit").AsyncThunk<void, void, {}>;
26
+ export declare const addCraftedComponent: import("@reduxjs/toolkit").AsyncThunk<undefined, {
27
+ component: IComponentTemplate;
28
+ type: 'webform' | 'report';
29
+ }, {}>;
17
30
  export declare const editCraftedComponent: import("@reduxjs/toolkit").AsyncThunk<undefined, {
18
31
  id: string;
19
32
  changes: Partial<IComponentTemplate>;
33
+ type: 'webform' | 'report';
34
+ }, {}>;
35
+ export declare const removeCraftedComponent: import("@reduxjs/toolkit").AsyncThunk<undefined, {
36
+ id: string;
37
+ type: 'webform' | 'report';
20
38
  }, {}>;
21
- export declare const removeCraftedComponent: import("@reduxjs/toolkit").AsyncThunk<undefined, string, {}>;
22
39
  type TDatasourcesReturnType = {
23
40
  path: string;
24
41
  namespace: string;
@@ -27,17 +44,19 @@ type TDatasourcesReturnType = {
27
44
  type TAddDatasource = {
28
45
  datasource: datasources.ICreateDataSource;
29
46
  path: string;
47
+ type: 'report' | 'webform';
30
48
  };
31
49
  export declare const addDatasource: import("@reduxjs/toolkit").AsyncThunk<TDatasourcesReturnType | undefined, TAddDatasource, AsyncThunkConfig>;
32
50
  type TEditDatasource = {
33
51
  id: string;
34
52
  path: string;
35
- value: any;
53
+ value: unknown;
36
54
  property: string;
37
55
  namespace: string;
56
+ type: 'webform' | 'report';
38
57
  };
39
58
  export declare const editDatasource: import("@reduxjs/toolkit").AsyncThunk<TDatasourcesReturnType | undefined, TEditDatasource, AsyncThunkConfig>;
40
- export declare const isRenameDatasource: (action: PayloadAction<any>) => action is {
59
+ export declare const isRenameDatasource: (action: PayloadAction<unknown>) => action is {
41
60
  payload: TRenameDatasource;
42
61
  type: string;
43
62
  };
@@ -47,12 +66,14 @@ type TRenameDatasource = {
47
66
  new_name: string;
48
67
  namespace: string;
49
68
  updateRefs: boolean;
69
+ type: 'report' | 'webform';
50
70
  };
51
71
  export declare const renameDatasource: import("@reduxjs/toolkit").AsyncThunk<OrNull<TDatasourcesReturnType>, TRenameDatasource, AsyncThunkConfig>;
52
72
  type TDeleteDatasource = {
53
73
  path: string;
54
74
  id: string;
55
75
  namespace: string;
76
+ type: 'report' | 'webform';
56
77
  };
57
78
  export declare const deleteDatasource: import("@reduxjs/toolkit").AsyncThunk<OrNull<TDatasourcesReturnType>, TDeleteDatasource, AsyncThunkConfig>;
58
79
  export {};
@@ -18,18 +18,27 @@ export type ITemplateList = Record<string, {
18
18
  hide: boolean;
19
19
  }>;
20
20
  export interface ITemplatedComponent {
21
- selectedGroup: string;
22
- data: ITemplatedGroup[];
21
+ webform: {
22
+ selectedGroup: string;
23
+ data: ITemplatedGroup[];
24
+ };
25
+ report: {
26
+ selectedGroup: string;
27
+ data: ITemplatedGroup[];
28
+ };
23
29
  }
24
30
  export interface IWebformEditorState {
25
31
  inspector: IInspectorState;
26
- components: IComponentTemplate[];
32
+ components: {
33
+ webform: IComponentTemplate[];
34
+ report: IComponentTemplate[];
35
+ };
27
36
  templates: ITemplatedComponent;
28
37
  datasources: {
29
38
  theme: TDatasourceTheme;
30
39
  };
31
40
  flags: {
32
- [key: string]: any;
41
+ [key: string]: boolean;
33
42
  };
34
43
  }
35
44
  /**
@@ -67,5 +76,11 @@ export type TInspectAction = PayloadAction<TToggleInspectorPayload>;
67
76
  /**
68
77
  * Components actions
69
78
  */
70
- export type TAddComponentAction = PayloadAction<IComponentTemplate>;
71
- export type TRemoveComponentAction = PayloadAction<string>;
79
+ export type TAddComponentAction = PayloadAction<{
80
+ component: IComponentTemplate;
81
+ type: 'webform' | 'report';
82
+ }>;
83
+ export type TRemoveComponentAction = PayloadAction<{
84
+ id: string;
85
+ type: 'webform' | 'report';
86
+ }>;
@@ -52,7 +52,7 @@ export declare const selectDatasourcesByPath: (tabPath: string) => ((state: impo
52
52
  * @param tabPath the current tab path.
53
53
  * @returns datasource or undefined if not found.
54
54
  */
55
- export declare const selectDatasource: (id: string, namespace: string, tabPath: string) => ((state: import("redux").EmptyObject & {
55
+ export declare const selectDatasource: (id: string, namespace: string, tabPath: string, type: 'webform' | 'report') => ((state: import("redux").EmptyObject & {
56
56
  root: import("immer/dist/internal.js").WritableDraft<import("../modules").IRootState>;
57
57
  explorer: import("immer/dist/internal.js").WritableDraft<import("../modules").ITreeItem>[];
58
58
  debugger: import("../modules").IDebuggerState;
@@ -169,7 +169,12 @@ export declare const selectSharedDatasources: ((state: import("redux").EmptyObje
169
169
  sharedCSS: import("immer/dist/internal.js").WritableDraft<import("../modules").ISharedCSSState>;
170
170
  model: import("../modules").IModelState;
171
171
  }) => {
172
- [key: string]: datasources.ICreateDataSource[];
172
+ webform: {
173
+ [key: string]: datasources.ICreateDataSource[];
174
+ };
175
+ report: {
176
+ [key: string]: datasources.ICreateDataSource[];
177
+ };
173
178
  }) & import("reselect").OutputSelectorFields<(args_0: import("redux").CombinedState<{
174
179
  root: import("immer/dist/internal.js").WritableDraft<import("../modules").IRootState>;
175
180
  explorer: import("immer/dist/internal.js").WritableDraft<import("../modules").ITreeItem>[];
@@ -207,7 +212,12 @@ export declare const selectSharedDatasources: ((state: import("redux").EmptyObje
207
212
  sharedCSS: import("immer/dist/internal.js").WritableDraft<import("../modules").ISharedCSSState>;
208
213
  model: import("../modules").IModelState;
209
214
  }>) => {
210
- [key: string]: datasources.ICreateDataSource[];
215
+ webform: {
216
+ [key: string]: datasources.ICreateDataSource[];
217
+ };
218
+ report: {
219
+ [key: string]: datasources.ICreateDataSource[];
220
+ };
211
221
  }, {
212
222
  clearCache: () => void;
213
223
  }> & {
@@ -223,7 +233,7 @@ export type TDatasourcesNotIn = {
223
233
  * @param tabPath the current tab path.
224
234
  * @returns datasource or an empty array if not found.
225
235
  */
226
- export declare const selectAllDatasourcesByPath: (tabPath: string, exclude?: 'private' | 'shared', filter?: TDatasourcesFilter | null, notIn?: TDatasourcesNotIn) => ((state: import("redux").EmptyObject & {
236
+ export declare const selectAllDatasourcesByPath: (tabPath: string, type: 'webform' | 'report', exclude?: 'private' | 'shared', filter?: TDatasourcesFilter | null, notIn?: TDatasourcesNotIn) => ((state: import("redux").EmptyObject & {
227
237
  root: import("immer/dist/internal.js").WritableDraft<import("../modules").IRootState>;
228
238
  explorer: import("immer/dist/internal.js").WritableDraft<import("../modules").ITreeItem>[];
229
239
  debugger: import("../modules").IDebuggerState;
@@ -260,7 +270,12 @@ export declare const selectAllDatasourcesByPath: (tabPath: string, exclude?: 'pr
260
270
  sharedCSS: import("immer/dist/internal.js").WritableDraft<import("../modules").ISharedCSSState>;
261
271
  model: import("../modules").IModelState;
262
272
  }) => datasources.ICreateDataSource[]) & import("reselect").OutputSelectorFields<(args_0: datasources.ICreateDataSource[], args_1: {
263
- [key: string]: datasources.ICreateDataSource[];
273
+ webform: {
274
+ [key: string]: datasources.ICreateDataSource[];
275
+ };
276
+ report: {
277
+ [key: string]: datasources.ICreateDataSource[];
278
+ };
264
279
  }) => datasources.ICreateDataSource[], {
265
280
  clearCache: () => void;
266
281
  }> & {
@@ -36,9 +36,9 @@ export declare const selectSessionSettings: ((state: import("redux").EmptyObject
36
36
  sharedCSS: import("immer/dist/internal.js").WritableDraft<import("../modules").ISharedCSSState>;
37
37
  model: import("../modules").IModelState;
38
38
  }) => {
39
- [key: string]: unknown;
39
+ [key: string]: any;
40
40
  }) & import("reselect").OutputSelectorFields<(args_0: import("../modules").ISettingsState) => {
41
- [key: string]: unknown;
41
+ [key: string]: any;
42
42
  }, {
43
43
  clearCache: () => void;
44
44
  }> & {
@@ -81,7 +81,7 @@ export declare const selectPartialSessionSettings: <T extends string[]>(...keys:
81
81
  sharedCSS: import("immer/dist/internal.js").WritableDraft<import("../modules").ISharedCSSState>;
82
82
  model: import("../modules").IModelState;
83
83
  }) => { [K in T[number]]: unknown; }) & import("reselect").OutputSelectorFields<(args_0: {
84
- [key: string]: unknown;
84
+ [key: string]: any;
85
85
  }) => { [K in T[number]]: unknown; }, {
86
86
  clearCache: () => void;
87
87
  }> & {
@@ -124,7 +124,7 @@ export declare const selectSessionSetting: <T = string>(key: string) => ((state:
124
124
  sharedCSS: import("immer/dist/internal.js").WritableDraft<import("../modules").ISharedCSSState>;
125
125
  model: import("../modules").IModelState;
126
126
  }) => T) & import("reselect").OutputSelectorFields<(args_0: {
127
- [key: string]: unknown;
127
+ [key: string]: any;
128
128
  }) => T, {
129
129
  clearCache: () => void;
130
130
  }> & {
@@ -167,7 +167,7 @@ export declare const selectFeatureFlag: (key: string) => ((state: import("redux"
167
167
  sharedCSS: import("immer/dist/internal.js").WritableDraft<import("../modules").ISharedCSSState>;
168
168
  model: import("../modules").IModelState;
169
169
  }) => boolean) & import("reselect").OutputSelectorFields<(args_0: {
170
- [key: string]: unknown;
170
+ [key: string]: any;
171
171
  }) => boolean, {
172
172
  clearCache: () => void;
173
173
  }> & {
@@ -210,9 +210,9 @@ export declare const selectProjectSettings: ((state: import("redux").EmptyObject
210
210
  sharedCSS: import("immer/dist/internal.js").WritableDraft<import("../modules").ISharedCSSState>;
211
211
  model: import("../modules").IModelState;
212
212
  }) => {
213
- [key: string]: unknown;
213
+ [key: string]: any;
214
214
  }) & import("reselect").OutputSelectorFields<(args_0: import("../modules").ISettingsState) => {
215
- [key: string]: unknown;
215
+ [key: string]: any;
216
216
  }, {
217
217
  clearCache: () => void;
218
218
  }> & {
@@ -418,9 +418,9 @@ export declare const selectMonacoZoom: ((state: import("redux").EmptyObject & {
418
418
  modals: import("../modules").IModalsState;
419
419
  sharedCSS: import("immer/dist/internal.js").WritableDraft<import("../modules").ISharedCSSState>;
420
420
  model: import("../modules").IModelState;
421
- }) => unknown) & import("reselect").OutputSelectorFields<(args_0: {
422
- [key: string]: unknown;
423
- }) => unknown, {
421
+ }) => any) & import("reselect").OutputSelectorFields<(args_0: {
422
+ [key: string]: any;
423
+ }) => any, {
424
424
  clearCache: () => void;
425
425
  }> & {
426
426
  clearCache: () => void;
@@ -461,9 +461,9 @@ export declare const selectI18nSetting: ((state: import("redux").EmptyObject & {
461
461
  modals: import("../modules").IModalsState;
462
462
  sharedCSS: import("immer/dist/internal.js").WritableDraft<import("../modules").ISharedCSSState>;
463
463
  model: import("../modules").IModelState;
464
- }) => unknown) & import("reselect").OutputSelectorFields<(args_0: {
465
- [key: string]: unknown;
466
- }) => unknown, {
464
+ }) => any) & import("reselect").OutputSelectorFields<(args_0: {
465
+ [key: string]: any;
466
+ }) => any, {
467
467
  clearCache: () => void;
468
468
  }> & {
469
469
  clearCache: () => void;
@@ -504,9 +504,9 @@ export declare const selectI18nCurrent: ((state: import("redux").EmptyObject & {
504
504
  modals: import("../modules").IModalsState;
505
505
  sharedCSS: import("immer/dist/internal.js").WritableDraft<import("../modules").ISharedCSSState>;
506
506
  model: import("../modules").IModelState;
507
- }) => unknown) & import("reselect").OutputSelectorFields<(args_0: {
508
- [key: string]: unknown;
509
- }) => unknown, {
507
+ }) => any) & import("reselect").OutputSelectorFields<(args_0: {
508
+ [key: string]: any;
509
+ }) => any, {
510
510
  clearCache: () => void;
511
511
  }> & {
512
512
  clearCache: () => void;