@wise/dynamic-flow-client-internal 5.23.1 → 5.23.2

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.
@@ -0,0 +1,45 @@
1
+ {
2
+ "df.wise.ArraySchema.addItem": "Save",
3
+ "df.wise.ArraySchema.addItemTitle": "Add Item",
4
+ "df.wise.ArraySchema.editItem": "Save",
5
+ "df.wise.ArraySchema.maxItemsError": "Please add {maxItems} or fewer.",
6
+ "df.wise.ArraySchema.minItemsError": "Please add at least {minItems}.",
7
+ "df.wise.ArraySchema.removeItem": "Remove",
8
+ "df.wise.ButtonLayout.buttonLoadingMessage": "This might take a few seconds",
9
+ "df.wise.ControlFeedback.maxLength": "Please enter {maxLength} or fewer characters.",
10
+ "df.wise.ControlFeedback.maximum": "Please enter a number that's {maximum} or less.",
11
+ "df.wise.ControlFeedback.maximumDate": "Please enter a date that's on or before {maximum}.",
12
+ "df.wise.ControlFeedback.minLength": "Please enter at least {minLength} characters.",
13
+ "df.wise.ControlFeedback.minimum": "Please enter a number that's {minimum} or more.",
14
+ "df.wise.ControlFeedback.minimumDate": "Please enter a date that's on or after {minimum}.",
15
+ "df.wise.ControlFeedback.pattern": "Please enter this in the correct format.",
16
+ "df.wise.ControlFeedback.patternDate": "Please enter a date in the correct format.",
17
+ "df.wise.ControlFeedback.required": "Please fill out this field.",
18
+ "df.wise.ControlFeedback.type": "Incorrect type",
19
+ "df.wise.CopyFeedback.copy": "Copied to clipboard",
20
+ "df.wise.CopyFeedback.copyFailed": "Failed to copy to clipboard",
21
+ "df.wise.DynamicParagraph.copied": "Copied to clipboard",
22
+ "df.wise.DynamicParagraph.copy": "Copy",
23
+ "df.wise.ErrorBoundary.errorAlert": "Something went wrong.",
24
+ "df.wise.ErrorBoundary.retry": "Retry",
25
+ "df.wise.ExternalConfirmation.cancel": "Cancel",
26
+ "df.wise.ExternalConfirmation.description": "Please confirm you want to open **{origin}** in a new browser tab.",
27
+ "df.wise.ExternalConfirmation.open": "Open in new tab",
28
+ "df.wise.ExternalConfirmation.title": "Please confirm",
29
+ "df.wise.Help.ariaLabel": "Click here for more info.",
30
+ "df.wise.MultiSelect.summary": "{first} and {count} more",
31
+ "df.wise.MultipleFileUploadSchema.maxFileSizeError": "Sorry, that file is too big. Please upload a smaller file.",
32
+ "df.wise.MultipleFileUploadSchema.maxItemsError": "Please upload {maxItems} or fewer files.",
33
+ "df.wise.MultipleFileUploadSchema.minItemsError": "Please upload at least {minItems} file(s).",
34
+ "df.wise.PersistAsyncSchema.genericError": "Something went wrong, please try again.",
35
+ "df.wise.SearchLayout.loading": "Loading...",
36
+ "df.wise.back.label": "Back",
37
+ "df.wise.filter.noResults": "No results",
38
+ "df.wise.filter.placeholder": "Start typing to search",
39
+ "df.wise.filter.results": "Search results",
40
+ "df.wise.group.all": "All",
41
+ "df.wise.group.currencies-with-account-details": "Currencies with account details",
42
+ "df.wise.group.popular": "Popular",
43
+ "df.wise.group.recent": "Recent",
44
+ "df.wise.step.scrollToBottom": "Scroll to bottom"
45
+ }
@@ -0,0 +1,45 @@
1
+ {
2
+ "df.wise.ArraySchema.addItem": "저장",
3
+ "df.wise.ArraySchema.addItemTitle": "Add Item",
4
+ "df.wise.ArraySchema.editItem": "저장",
5
+ "df.wise.ArraySchema.maxItemsError": "Please add {maxItems} or fewer.",
6
+ "df.wise.ArraySchema.minItemsError": "Please add at least {minItems}.",
7
+ "df.wise.ArraySchema.removeItem": "제거",
8
+ "df.wise.ButtonLayout.buttonLoadingMessage": "This might take a few seconds",
9
+ "df.wise.ControlFeedback.maxLength": "Please enter {maxLength} or fewer characters.",
10
+ "df.wise.ControlFeedback.maximum": "Please enter a number that's {maximum} or less.",
11
+ "df.wise.ControlFeedback.maximumDate": "Please enter a date that's on or before {maximum}.",
12
+ "df.wise.ControlFeedback.minLength": "{minLength}자 이상 입력하세요.",
13
+ "df.wise.ControlFeedback.minimum": "Please enter a number that's {minimum} or more.",
14
+ "df.wise.ControlFeedback.minimumDate": "Please enter a date that's on or after {minimum}.",
15
+ "df.wise.ControlFeedback.pattern": "Please enter this in the correct format.",
16
+ "df.wise.ControlFeedback.patternDate": "Please enter a date in the correct format.",
17
+ "df.wise.ControlFeedback.required": "Please fill out this field.",
18
+ "df.wise.ControlFeedback.type": "Incorrect type",
19
+ "df.wise.CopyFeedback.copy": "Copied to clipboard",
20
+ "df.wise.CopyFeedback.copyFailed": "Failed to copy to clipboard",
21
+ "df.wise.DynamicParagraph.copied": "Copied to clipboard",
22
+ "df.wise.DynamicParagraph.copy": "복사",
23
+ "df.wise.ErrorBoundary.errorAlert": "Something went wrong.",
24
+ "df.wise.ErrorBoundary.retry": "Retry",
25
+ "df.wise.ExternalConfirmation.cancel": "취소",
26
+ "df.wise.ExternalConfirmation.description": "Please confirm you want to open **{origin}** in a new browser tab.",
27
+ "df.wise.ExternalConfirmation.open": "Open in new tab",
28
+ "df.wise.ExternalConfirmation.title": "Please confirm",
29
+ "df.wise.Help.ariaLabel": "Click here for more info.",
30
+ "df.wise.MultiSelect.summary": "{first} and {count} more",
31
+ "df.wise.MultipleFileUploadSchema.maxFileSizeError": "Sorry, that file is too big. Please upload a smaller file.",
32
+ "df.wise.MultipleFileUploadSchema.maxItemsError": "Please upload {maxItems} or fewer files.",
33
+ "df.wise.MultipleFileUploadSchema.minItemsError": "Please upload at least {minItems} file(s).",
34
+ "df.wise.PersistAsyncSchema.genericError": "문제가 발생했습니다. 다시 시도하세요.",
35
+ "df.wise.SearchLayout.loading": "Loading...",
36
+ "df.wise.back.label": "뒤로",
37
+ "df.wise.filter.noResults": "결과 없음",
38
+ "df.wise.filter.placeholder": "Start typing to search",
39
+ "df.wise.filter.results": "검색 결과",
40
+ "df.wise.group.all": "All",
41
+ "df.wise.group.currencies-with-account-details": "Currencies with account details",
42
+ "df.wise.group.popular": "Popular",
43
+ "df.wise.group.recent": "Recent",
44
+ "df.wise.step.scrollToBottom": "Scroll to bottom"
45
+ }
package/build/main.js CHANGED
@@ -145,7 +145,7 @@ var import_dynamic_flow_client4 = require("@wise/dynamic-flow-client");
145
145
  // src/dynamicFlow/telemetry/app-version.ts
146
146
  var appVersion = (
147
147
  // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
148
- typeof process !== "undefined" ? "5.23.1" : "0.0.0"
148
+ typeof process !== "undefined" ? "5.23.2" : "0.0.0"
149
149
  );
150
150
 
151
151
  // src/dynamicFlow/context-menu/useContextMenu.tsx
@@ -374,7 +374,7 @@ var AlertRenderer = {
374
374
  render: ({ context, markdown, margin, callToAction }) => /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
375
375
  import_components.Alert,
376
376
  {
377
- type: context,
377
+ type: mapAlertType(context),
378
378
  className: getMargin(margin),
379
379
  message: markdown,
380
380
  action: mapCtaToAlertAction(callToAction)
@@ -390,6 +390,7 @@ var mapCtaToAlertAction = (callToAction) => {
390
390
  }
391
391
  return void 0;
392
392
  };
393
+ var mapAlertType = (context) => context !== "proposition" ? context : "neutral";
393
394
  var AlertRenderer_default = AlertRenderer;
394
395
 
395
396
  // ../renderers/src/BoxRenderer.tsx
@@ -1829,7 +1830,7 @@ var Illustration3DErrorBoundary = class extends import_react9.Component {
1829
1830
  componentDidCatch() {
1830
1831
  this.props.onError();
1831
1832
  }
1832
- async render() {
1833
+ render() {
1833
1834
  if (this.state.hasError) {
1834
1835
  return null;
1835
1836
  }
package/build/main.mjs CHANGED
@@ -127,7 +127,7 @@ import { useDynamicFlow } from "@wise/dynamic-flow-client";
127
127
  // src/dynamicFlow/telemetry/app-version.ts
128
128
  var appVersion = (
129
129
  // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
130
- typeof process !== "undefined" ? "5.23.1" : "0.0.0"
130
+ typeof process !== "undefined" ? "5.23.2" : "0.0.0"
131
131
  );
132
132
 
133
133
  // src/dynamicFlow/context-menu/useContextMenu.tsx
@@ -356,7 +356,7 @@ var AlertRenderer = {
356
356
  render: ({ context, markdown, margin, callToAction }) => /* @__PURE__ */ jsx2(
357
357
  Alert,
358
358
  {
359
- type: context,
359
+ type: mapAlertType(context),
360
360
  className: getMargin(margin),
361
361
  message: markdown,
362
362
  action: mapCtaToAlertAction(callToAction)
@@ -372,6 +372,7 @@ var mapCtaToAlertAction = (callToAction) => {
372
372
  }
373
373
  return void 0;
374
374
  };
375
+ var mapAlertType = (context) => context !== "proposition" ? context : "neutral";
375
376
  var AlertRenderer_default = AlertRenderer;
376
377
 
377
378
  // ../renderers/src/BoxRenderer.tsx
@@ -1814,7 +1815,7 @@ var Illustration3DErrorBoundary = class extends Component {
1814
1815
  componentDidCatch() {
1815
1816
  this.props.onError();
1816
1817
  }
1817
- async render() {
1818
+ render() {
1818
1819
  if (this.state.hasError) {
1819
1820
  return null;
1820
1821
  }