@wise/dynamic-flow-client-internal 5.24.0-experimental-9265cac → 5.25.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/i18n/ar.json +45 -0
- package/build/i18n/ko.json +45 -0
- package/build/main.css +9 -0
- package/build/main.js +1099 -950
- package/build/main.mjs +907 -755
- 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/build/types/dynamicFlow/renderers.d.ts +2 -1
- package/build/types/dynamicFlow/renderers.d.ts.map +1 -1
- package/package.json +5 -5
|
@@ -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"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { CallToAction, Media as MediaType } from '@wise/dynamic-flow-types/renderers';
|
|
1
|
+
import type { CallToAction, CreateCollectionRenderer, Media as MediaType } from '@wise/dynamic-flow-types/renderers';
|
|
2
2
|
import type { Margin } from '@wise/dynamic-flow-types/spec';
|
|
3
3
|
/**
|
|
4
4
|
* We need to redefine these because @wise/dynamic-flow-renderers is a private package that
|
|
@@ -8,6 +8,7 @@ import type { Margin } from '@wise/dynamic-flow-types/spec';
|
|
|
8
8
|
export declare const Header: HeaderComponentType;
|
|
9
9
|
export declare const Media: MediaComponentType;
|
|
10
10
|
export declare const getMargin: GetMarginType;
|
|
11
|
+
export declare const createCollectionRenderer: CreateCollectionRenderer;
|
|
11
12
|
type GetMarginType = (size: Margin) => string;
|
|
12
13
|
type HeaderComponentType = (props: {
|
|
13
14
|
title?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderers.d.ts","sourceRoot":"","sources":["../../../src/dynamicFlow/renderers.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"renderers.d.ts","sourceRoot":"","sources":["../../../src/dynamicFlow/renderers.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EACV,YAAY,EACZ,wBAAwB,EACxB,KAAK,IAAI,SAAS,EACnB,MAAM,oCAAoC,CAAC;AAC5C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAC;AAE5D;;;;GAIG;AACH,eAAO,MAAM,MAAM,EAAE,mBAAoC,CAAC;AAC1D,eAAO,MAAM,KAAK,EAAE,kBAAkC,CAAC;AACvD,eAAO,MAAM,SAAS,EAAE,aAAiC,CAAC;AAC1D,eAAO,MAAM,wBAAwB,EAAE,wBAA2D,CAAC;AAEnG,KAAK,aAAa,GAAG,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,CAAC;AAE9C,KAAK,mBAAmB,GAAG,CAAC,KAAK,EAAE;IACjC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,YAAY,CAAC;CAC7B,KAAK,KAAK,CAAC,SAAS,CAAC;AAEtB,KAAK,kBAAkB,GAAG,CAAC,KAAK,EAAE;IAChC,KAAK,EAAE,SAAS,GAAG,SAAS,CAAC;IAC7B,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,IAAI,EAAE,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC;CACxC,KAAK,KAAK,CAAC,SAAS,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.25.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,8 +69,8 @@
|
|
|
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-types": "4.19.0",
|
|
72
73
|
"@wise/dynamic-flow-renderers": "0.0.0",
|
|
73
|
-
"@wise/dynamic-flow-types": "4.18.0-experimental-9265cac",
|
|
74
74
|
"@wise/dynamic-flow-fixtures": "0.0.1"
|
|
75
75
|
},
|
|
76
76
|
"peerDependencies": {
|
|
@@ -84,8 +84,8 @@
|
|
|
84
84
|
"react-intl": "^6 || ^7"
|
|
85
85
|
},
|
|
86
86
|
"dependencies": {
|
|
87
|
-
"@wise/dynamic-flow-
|
|
88
|
-
"@wise/dynamic-flow-
|
|
87
|
+
"@wise/dynamic-flow-types": "4.19.0",
|
|
88
|
+
"@wise/dynamic-flow-client": "5.22.0"
|
|
89
89
|
},
|
|
90
90
|
"wise": {
|
|
91
91
|
"platform": "wise-library",
|