@wise/dynamic-flow-client-internal 5.23.2 → 5.24.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/build/main.js +167 -135
- package/build/main.mjs +189 -157
- package/build/tsconfig.types.tsbuildinfo +1 -1
- package/build/types/dynamicFlow/DynamicFlowWithRef.d.ts +2 -2
- package/build/types/dynamicFlow/DynamicFlowWithRef.d.ts.map +1 -1
- package/build/types/dynamicFlow/context-menu/useDFContextMenu.d.ts +1 -1
- package/build/types/dynamicFlow/context-menu/useDFContextMenu.d.ts.map +1 -1
- package/package.json +6 -6
|
@@ -6,9 +6,9 @@ export type DynamicFlowWithRefProps = DynamicFlowWiseProps & {
|
|
|
6
6
|
};
|
|
7
7
|
export type DynamicFlowRef = {
|
|
8
8
|
/**
|
|
9
|
-
* Returns the current value of the form, even if it doesn't pass validation.
|
|
9
|
+
* Returns the current submittable value of the form, even if it doesn't pass validation.
|
|
10
10
|
*/
|
|
11
|
-
getValue: () =>
|
|
11
|
+
getValue: () => JsonElement;
|
|
12
12
|
/**
|
|
13
13
|
* triggers validation in every UI component and returns whether or not the current value is valid.
|
|
14
14
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DynamicFlowWithRef.d.ts","sourceRoot":"","sources":["../../../src/dynamicFlow/DynamicFlowWithRef.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EACL,KAAK,yBAAyB,EAE9B,KAAK,aAAa,EAGnB,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAInE,MAAM,MAAM,uBAAuB,GAAG,oBAAoB,GAAG;IAAE,aAAa,CAAC,EAAE,MAAM,IAAI,CAAA;CAAE,CAAC;AAE5F,MAAM,MAAM,cAAc,GAAG;IAC3B;;OAEG;IACH,QAAQ,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"DynamicFlowWithRef.d.ts","sourceRoot":"","sources":["../../../src/dynamicFlow/DynamicFlowWithRef.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EACL,KAAK,yBAAyB,EAE9B,KAAK,aAAa,EAGnB,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAInE,MAAM,MAAM,uBAAuB,GAAG,oBAAoB,GAAG;IAAE,aAAa,CAAC,EAAE,MAAM,IAAI,CAAA;CAAE,CAAC;AAE5F,MAAM,MAAM,cAAc,GAAG;IAC3B;;OAEG;IACH,QAAQ,EAAE,MAAM,WAAW,CAAC;IAC5B;;OAEG;IACH,QAAQ,EAAE,MAAM,OAAO,CAAC;CACzB,CAAC;AACF;;;;GAIG;AAEH,eAAO,MAAM,kBAAkB,EAAE,yBAAyB,CACxD,uBAAuB,GAAG,aAAa,CAAC,cAAc,CAAC,CAmBvD,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { JsonElement, Step } from '@wise/dynamic-flow-types/spec';
|
|
2
2
|
export declare const useDFContextMenu: (controller: {
|
|
3
3
|
getCurrentStep: () => Step | null;
|
|
4
|
-
|
|
4
|
+
getValue: () => JsonElement;
|
|
5
5
|
}) => {
|
|
6
6
|
onContextMenu: (event: import("react").MouseEvent<HTMLDivElement>) => void;
|
|
7
7
|
contextMenu: import("react").JSX.Element | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useDFContextMenu.d.ts","sourceRoot":"","sources":["../../../../src/dynamicFlow/context-menu/useDFContextMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM,+BAA+B,CAAC;AAIlE,eAAO,MAAM,gBAAgB,eAAgB;IAC3C,cAAc,EAAE,MAAM,IAAI,GAAG,IAAI,CAAC;IAClC,
|
|
1
|
+
{"version":3,"file":"useDFContextMenu.d.ts","sourceRoot":"","sources":["../../../../src/dynamicFlow/context-menu/useDFContextMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM,+BAA+B,CAAC;AAIlE,eAAO,MAAM,gBAAgB,eAAgB;IAC3C,cAAc,EAAE,MAAM,IAAI,GAAG,IAAI,CAAC;IAClC,QAAQ,EAAE,MAAM,WAAW,CAAC;CAC7B;;;CAgEA,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wise/dynamic-flow-client-internal",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.24.0",
|
|
4
4
|
"description": "Dynamic Flow web client for Wise",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "./build/main.js",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"@testing-library/jest-dom": "^6.9.1",
|
|
42
42
|
"@testing-library/react": "^16.3.2",
|
|
43
43
|
"@testing-library/user-event": "^14.6.1",
|
|
44
|
-
"@transferwise/components": "^46.
|
|
44
|
+
"@transferwise/components": "^46.159.2",
|
|
45
45
|
"@transferwise/formatting": "^2.14.1",
|
|
46
46
|
"@transferwise/icons": "4.4.4",
|
|
47
47
|
"@typescript/native": "npm:typescript@^7.0.2",
|
|
@@ -69,9 +69,9 @@
|
|
|
69
69
|
"typescript": "npm:@typescript/typescript6@^6.0.2",
|
|
70
70
|
"vite": "^8.1.5",
|
|
71
71
|
"vitest": "^4.1.10",
|
|
72
|
+
"@wise/dynamic-flow-fixtures": "0.0.1",
|
|
72
73
|
"@wise/dynamic-flow-renderers": "0.0.0",
|
|
73
|
-
"@wise/dynamic-flow-types": "4.
|
|
74
|
-
"@wise/dynamic-flow-fixtures": "0.0.1"
|
|
74
|
+
"@wise/dynamic-flow-types": "4.18.0"
|
|
75
75
|
},
|
|
76
76
|
"peerDependencies": {
|
|
77
77
|
"@transferwise/components": "^46.104.0",
|
|
@@ -84,8 +84,8 @@
|
|
|
84
84
|
"react-intl": "^6 || ^7"
|
|
85
85
|
},
|
|
86
86
|
"dependencies": {
|
|
87
|
-
"@wise/dynamic-flow-client": "5.
|
|
88
|
-
"@wise/dynamic-flow-types": "4.
|
|
87
|
+
"@wise/dynamic-flow-client": "5.21.0",
|
|
88
|
+
"@wise/dynamic-flow-types": "4.18.0"
|
|
89
89
|
},
|
|
90
90
|
"wise": {
|
|
91
91
|
"platform": "wise-library",
|