@ws-ui/store 0.2.29 → 0.2.30
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 +28 -28
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +2197 -2192
- package/dist/index.es.js.map +1 -1
- package/dist/modules/shared-conditions/utils.d.ts +1 -14
- package/dist/modules/webforms/thunks.d.ts +2 -0
- package/package.json +2 -2
|
@@ -1,15 +1,2 @@
|
|
|
1
1
|
import { WebformStateCondition } from '@ws-ui/shared';
|
|
2
|
-
export declare const updateDsCondition: (condition: WebformStateCondition, oldRef: string, newRef: string) =>
|
|
3
|
-
path: string;
|
|
4
|
-
value: string;
|
|
5
|
-
compareValue: string;
|
|
6
|
-
id: string;
|
|
7
|
-
name: string;
|
|
8
|
-
type: "datasource";
|
|
9
|
-
dsType: string;
|
|
10
|
-
valueType?: ("datasource" | "hardCoded") | undefined;
|
|
11
|
-
compareValueType?: ("datasource" | "hardCoded") | undefined;
|
|
12
|
-
dataType?: ("string" | "number" | "boolean" | "object" | "date" | "array" | "duration") | undefined;
|
|
13
|
-
compareDataType?: ("string" | "number" | "boolean" | "object" | "date" | "array" | "duration") | undefined;
|
|
14
|
-
op: ("eq" | "neq" | "regex" | "isnull" | "notnull") | "sw" | "in" | "nin" | "gt" | "gte" | "lt" | "lte" | "isempty" | "istrue" | "isfalse" | "between";
|
|
15
|
-
};
|
|
2
|
+
export declare const updateDsCondition: (condition: WebformStateCondition, oldRef: string, newRef: string) => WebformStateCondition;
|
|
@@ -35,12 +35,14 @@ type TEditDatasourceProperty = {
|
|
|
35
35
|
value: any;
|
|
36
36
|
property: string;
|
|
37
37
|
namespace: string;
|
|
38
|
+
updateRefs?: boolean;
|
|
38
39
|
};
|
|
39
40
|
type TEditDatasourceProperties = {
|
|
40
41
|
id: string;
|
|
41
42
|
path: string;
|
|
42
43
|
changes: Record<string, any>;
|
|
43
44
|
namespace: string;
|
|
45
|
+
updateRefs?: boolean;
|
|
44
46
|
};
|
|
45
47
|
type TEditDatasource = TEditDatasourceProperty | TEditDatasourceProperties;
|
|
46
48
|
export declare const editDatasource: import("@reduxjs/toolkit").AsyncThunk<TDatasourcesReturnType | undefined, TEditDatasource, AsyncThunkConfig>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ws-ui/store",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.30",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs.js",
|
|
7
7
|
"module": "./dist/index.es.js",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {
|
|
31
31
|
"@ws-ui/icons": "^0.0.28",
|
|
32
|
-
"@ws-ui/shared": "^0.2.
|
|
32
|
+
"@ws-ui/shared": "^0.2.23",
|
|
33
33
|
"lodash": "^4.17.21",
|
|
34
34
|
"minimatch": "^5.1.0",
|
|
35
35
|
"react": "^17.0.2",
|