@ws-ui/store 0.3.13 → 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,10 +2,10 @@ import { EWebFormStyleClassScope, IWebFormStyleClass, ITab } from '@ws-ui/shared
|
|
|
2
2
|
|
|
3
3
|
export declare const THEME_CLASSES: string[];
|
|
4
4
|
export declare const selectWebformStylesByPath: (path: string) => ((state: import('redux').EmptyObject & {
|
|
5
|
-
root: import('
|
|
6
|
-
explorer: import('
|
|
7
|
-
debugger: import('
|
|
8
|
-
settings: import('
|
|
5
|
+
root: import('../modules').IRootState;
|
|
6
|
+
explorer: import('../modules').ITreeItem[];
|
|
7
|
+
debugger: import('../modules').IDebuggerState;
|
|
8
|
+
settings: import('../modules').ISettingsState;
|
|
9
9
|
catalog: {
|
|
10
10
|
state: "loading";
|
|
11
11
|
} | {
|
|
@@ -15,17 +15,17 @@ export declare const selectWebformStylesByPath: (path: string) => ((state: impor
|
|
|
15
15
|
state: "error";
|
|
16
16
|
error: string;
|
|
17
17
|
};
|
|
18
|
-
roles: import('
|
|
19
|
-
sharedDatasources: import('
|
|
20
|
-
savedConditions: import('
|
|
21
|
-
webforms: import('
|
|
22
|
-
modals: import('
|
|
23
|
-
sharedCSS: import('
|
|
24
|
-
model: import('
|
|
18
|
+
roles: import('../modules').IRolesState;
|
|
19
|
+
sharedDatasources: import('../modules').ISharedDatasourcesState;
|
|
20
|
+
savedConditions: import('../modules').ISavedConditionsState;
|
|
21
|
+
webforms: import('../modules').IWebformEditorState;
|
|
22
|
+
modals: import('../modules').IModalsState;
|
|
23
|
+
sharedCSS: import('../modules').ISharedCSSState;
|
|
24
|
+
model: import('../modules').IModelState;
|
|
25
25
|
}) => IWebFormStyleClass[]) & import('reselect').OutputSelectorFields<(args_0: ITab<any, Partial<{
|
|
26
26
|
initialLineInfo: {
|
|
27
27
|
line: number;
|
|
28
|
-
offset?: number;
|
|
28
|
+
offset?: number | undefined;
|
|
29
29
|
lastModification: number;
|
|
30
30
|
};
|
|
31
31
|
initialSelectionInfo: {
|
|
@@ -44,10 +44,10 @@ export declare const selectWebformStylesByPath: (path: string) => ((state: impor
|
|
|
44
44
|
clearCache: () => void;
|
|
45
45
|
};
|
|
46
46
|
export declare const selectStylesByPath: (path: string, scopes: EWebFormStyleClassScope[]) => ((state: import('redux').EmptyObject & {
|
|
47
|
-
root: import('
|
|
48
|
-
explorer: import('
|
|
49
|
-
debugger: import('
|
|
50
|
-
settings: import('
|
|
47
|
+
root: import('../modules').IRootState;
|
|
48
|
+
explorer: import('../modules').ITreeItem[];
|
|
49
|
+
debugger: import('../modules').IDebuggerState;
|
|
50
|
+
settings: import('../modules').ISettingsState;
|
|
51
51
|
catalog: {
|
|
52
52
|
state: "loading";
|
|
53
53
|
} | {
|
|
@@ -57,23 +57,23 @@ export declare const selectStylesByPath: (path: string, scopes: EWebFormStyleCla
|
|
|
57
57
|
state: "error";
|
|
58
58
|
error: string;
|
|
59
59
|
};
|
|
60
|
-
roles: import('
|
|
61
|
-
sharedDatasources: import('
|
|
62
|
-
savedConditions: import('
|
|
63
|
-
webforms: import('
|
|
64
|
-
modals: import('
|
|
65
|
-
sharedCSS: import('
|
|
66
|
-
model: import('
|
|
60
|
+
roles: import('../modules').IRolesState;
|
|
61
|
+
sharedDatasources: import('../modules').ISharedDatasourcesState;
|
|
62
|
+
savedConditions: import('../modules').ISavedConditionsState;
|
|
63
|
+
webforms: import('../modules').IWebformEditorState;
|
|
64
|
+
modals: import('../modules').IModalsState;
|
|
65
|
+
sharedCSS: import('../modules').ISharedCSSState;
|
|
66
|
+
model: import('../modules').IModelState;
|
|
67
67
|
}) => IWebFormStyleClass[]) & import('reselect').OutputSelectorFields<(args_0: IWebFormStyleClass[]) => IWebFormStyleClass[], {
|
|
68
68
|
clearCache: () => void;
|
|
69
69
|
}> & {
|
|
70
70
|
clearCache: () => void;
|
|
71
71
|
};
|
|
72
72
|
export declare const selectCSSClassesByPath: (path: string) => ((state: import('redux').EmptyObject & {
|
|
73
|
-
root: import('
|
|
74
|
-
explorer: import('
|
|
75
|
-
debugger: import('
|
|
76
|
-
settings: import('
|
|
73
|
+
root: import('../modules').IRootState;
|
|
74
|
+
explorer: import('../modules').ITreeItem[];
|
|
75
|
+
debugger: import('../modules').IDebuggerState;
|
|
76
|
+
settings: import('../modules').ISettingsState;
|
|
77
77
|
catalog: {
|
|
78
78
|
state: "loading";
|
|
79
79
|
} | {
|
|
@@ -83,23 +83,23 @@ export declare const selectCSSClassesByPath: (path: string) => ((state: import('
|
|
|
83
83
|
state: "error";
|
|
84
84
|
error: string;
|
|
85
85
|
};
|
|
86
|
-
roles: import('
|
|
87
|
-
sharedDatasources: import('
|
|
88
|
-
savedConditions: import('
|
|
89
|
-
webforms: import('
|
|
90
|
-
modals: import('
|
|
91
|
-
sharedCSS: import('
|
|
92
|
-
model: import('
|
|
86
|
+
roles: import('../modules').IRolesState;
|
|
87
|
+
sharedDatasources: import('../modules').ISharedDatasourcesState;
|
|
88
|
+
savedConditions: import('../modules').ISavedConditionsState;
|
|
89
|
+
webforms: import('../modules').IWebformEditorState;
|
|
90
|
+
modals: import('../modules').IModalsState;
|
|
91
|
+
sharedCSS: import('../modules').ISharedCSSState;
|
|
92
|
+
model: import('../modules').IModelState;
|
|
93
93
|
}) => IWebFormStyleClass[]) & import('reselect').OutputSelectorFields<(args_0: IWebFormStyleClass[]) => IWebFormStyleClass[], {
|
|
94
94
|
clearCache: () => void;
|
|
95
95
|
}> & {
|
|
96
96
|
clearCache: () => void;
|
|
97
97
|
};
|
|
98
98
|
export declare const selectSharedCSS: ((state: import('redux').EmptyObject & {
|
|
99
|
-
root: import('
|
|
100
|
-
explorer: import('
|
|
101
|
-
debugger: import('
|
|
102
|
-
settings: import('
|
|
99
|
+
root: import('../modules').IRootState;
|
|
100
|
+
explorer: import('../modules').ITreeItem[];
|
|
101
|
+
debugger: import('../modules').IDebuggerState;
|
|
102
|
+
settings: import('../modules').ISettingsState;
|
|
103
103
|
catalog: {
|
|
104
104
|
state: "loading";
|
|
105
105
|
} | {
|
|
@@ -109,13 +109,13 @@ export declare const selectSharedCSS: ((state: import('redux').EmptyObject & {
|
|
|
109
109
|
state: "error";
|
|
110
110
|
error: string;
|
|
111
111
|
};
|
|
112
|
-
roles: import('
|
|
113
|
-
sharedDatasources: import('
|
|
114
|
-
savedConditions: import('
|
|
115
|
-
webforms: import('
|
|
116
|
-
modals: import('
|
|
117
|
-
sharedCSS: import('
|
|
118
|
-
model: import('
|
|
112
|
+
roles: import('../modules').IRolesState;
|
|
113
|
+
sharedDatasources: import('../modules').ISharedDatasourcesState;
|
|
114
|
+
savedConditions: import('../modules').ISavedConditionsState;
|
|
115
|
+
webforms: import('../modules').IWebformEditorState;
|
|
116
|
+
modals: import('../modules').IModalsState;
|
|
117
|
+
sharedCSS: import('../modules').ISharedCSSState;
|
|
118
|
+
model: import('../modules').IModelState;
|
|
119
119
|
}) => {
|
|
120
120
|
scope: EWebFormStyleClassScope;
|
|
121
121
|
id: string;
|
|
@@ -124,13 +124,13 @@ export declare const selectSharedCSS: ((state: import('redux').EmptyObject & {
|
|
|
124
124
|
parentId: string | null;
|
|
125
125
|
children?: {
|
|
126
126
|
[key: string]: string;
|
|
127
|
-
};
|
|
128
|
-
origin?: string;
|
|
127
|
+
} | undefined;
|
|
128
|
+
origin?: string | undefined;
|
|
129
129
|
}[]) & import('reselect').OutputSelectorFields<(args_0: import('redux').CombinedState<{
|
|
130
|
-
root: import('
|
|
131
|
-
explorer: import('
|
|
132
|
-
debugger: import('
|
|
133
|
-
settings: import('
|
|
130
|
+
root: import('../modules').IRootState;
|
|
131
|
+
explorer: import('../modules').ITreeItem[];
|
|
132
|
+
debugger: import('../modules').IDebuggerState;
|
|
133
|
+
settings: import('../modules').ISettingsState;
|
|
134
134
|
catalog: {
|
|
135
135
|
state: "loading";
|
|
136
136
|
} | {
|
|
@@ -140,13 +140,13 @@ export declare const selectSharedCSS: ((state: import('redux').EmptyObject & {
|
|
|
140
140
|
state: "error";
|
|
141
141
|
error: string;
|
|
142
142
|
};
|
|
143
|
-
roles: import('
|
|
144
|
-
sharedDatasources: import('
|
|
145
|
-
savedConditions: import('
|
|
146
|
-
webforms: import('
|
|
147
|
-
modals: import('
|
|
148
|
-
sharedCSS: import('
|
|
149
|
-
model: import('
|
|
143
|
+
roles: import('../modules').IRolesState;
|
|
144
|
+
sharedDatasources: import('../modules').ISharedDatasourcesState;
|
|
145
|
+
savedConditions: import('../modules').ISavedConditionsState;
|
|
146
|
+
webforms: import('../modules').IWebformEditorState;
|
|
147
|
+
modals: import('../modules').IModalsState;
|
|
148
|
+
sharedCSS: import('../modules').ISharedCSSState;
|
|
149
|
+
model: import('../modules').IModelState;
|
|
150
150
|
}>) => {
|
|
151
151
|
scope: EWebFormStyleClassScope;
|
|
152
152
|
id: string;
|
|
@@ -155,8 +155,8 @@ export declare const selectSharedCSS: ((state: import('redux').EmptyObject & {
|
|
|
155
155
|
parentId: string | null;
|
|
156
156
|
children?: {
|
|
157
157
|
[key: string]: string;
|
|
158
|
-
};
|
|
159
|
-
origin?: string;
|
|
158
|
+
} | undefined;
|
|
159
|
+
origin?: string | undefined;
|
|
160
160
|
}[], {
|
|
161
161
|
clearCache: () => void;
|
|
162
162
|
}> & {
|
package/dist/selectors/tabs.d.ts
CHANGED
|
@@ -27,10 +27,11 @@ export declare const selectFlagsByPath: (path: string) => ((state: import('redux
|
|
|
27
27
|
old: boolean;
|
|
28
28
|
enabled: boolean;
|
|
29
29
|
confirmed: boolean;
|
|
30
|
+
inactive: boolean;
|
|
30
31
|
}> | undefined) & import('reselect').OutputSelectorFields<(args_0: import('@ws-ui/shared').ITab<any, Partial<{
|
|
31
32
|
initialLineInfo: {
|
|
32
33
|
line: number;
|
|
33
|
-
offset?: number;
|
|
34
|
+
offset?: number | undefined;
|
|
34
35
|
lastModification: number;
|
|
35
36
|
};
|
|
36
37
|
initialSelectionInfo: {
|
|
@@ -51,6 +52,7 @@ export declare const selectFlagsByPath: (path: string) => ((state: import('redux
|
|
|
51
52
|
old: boolean;
|
|
52
53
|
enabled: boolean;
|
|
53
54
|
confirmed: boolean;
|
|
55
|
+
inactive: boolean;
|
|
54
56
|
}> | undefined, {
|
|
55
57
|
clearCache: () => void;
|
|
56
58
|
}> & {
|
|
@@ -84,7 +86,7 @@ export declare const selectHistoryByPath: (path: string) => ((state: import('red
|
|
|
84
86
|
} | undefined) & import('reselect').OutputSelectorFields<(args_0: import('@ws-ui/shared').ITab<any, Partial<{
|
|
85
87
|
initialLineInfo: {
|
|
86
88
|
line: number;
|
|
87
|
-
offset?: number;
|
|
89
|
+
offset?: number | undefined;
|
|
88
90
|
lastModification: number;
|
|
89
91
|
};
|
|
90
92
|
initialSelectionInfo: {
|
|
@@ -133,7 +135,7 @@ export declare const selectActiveTabHistoryActions: ((state: import('redux').Emp
|
|
|
133
135
|
}) & import('reselect').OutputSelectorFields<(args_0: import('@ws-ui/shared').ITab<any, Partial<{
|
|
134
136
|
initialLineInfo: {
|
|
135
137
|
line: number;
|
|
136
|
-
offset?: number;
|
|
138
|
+
offset?: number | undefined;
|
|
137
139
|
lastModification: number;
|
|
138
140
|
};
|
|
139
141
|
initialSelectionInfo: {
|