@wise/dynamic-flow-client 3.28.3 → 3.28.5

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.mjs CHANGED
@@ -653,7 +653,7 @@ var fr_default = {
653
653
  "dynamicFlows.ExternalConfirmation.open": "Ouvrir dans un nouvel onglet",
654
654
  "dynamicFlows.ExternalConfirmation.title": "Veuillez confirmer",
655
655
  "dynamicFlows.FileUploadSchema.maxFileSizeError": "Nous sommes d\xE9sol\xE9s, ce fichier est trop volumineux. Veuillez t\xE9l\xE9charger un fichier plus petit.",
656
- "dynamicFlows.FileUploadSchema.wrongFileTypeError": "Sorry, that file format is not supported. Please upload a different file.",
656
+ "dynamicFlows.FileUploadSchema.wrongFileTypeError": "Nous sommes d\xE9sol\xE9s, ce format de fichier n'est pas pris en charge. Veuillez en t\xE9l\xE9charger un autre.",
657
657
  "dynamicFlows.Help.ariaLabel": "Cliquez ici pour plus d'informations.",
658
658
  "dynamicFlows.MultiSelect.summary": "{first} et {count} de plus",
659
659
  "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "Nous sommes d\xE9sol\xE9s, ce fichier est trop volumineux. Veuillez t\xE9l\xE9charger un fichier plus petit.",
@@ -10375,7 +10375,7 @@ var createSearchComponent = (searchProps, performSearch, onAction, updateCompone
10375
10375
  draft.query = query;
10376
10376
  draft.isLoading = true;
10377
10377
  });
10378
- debouncedSearch(query);
10378
+ debouncedSearch(query.trim());
10379
10379
  };
10380
10380
  return {
10381
10381
  type: "search",
@@ -18977,7 +18977,7 @@ function DynamicSearch({ component, onAction }) {
18977
18977
  };
18978
18978
  const onChange = (value) => {
18979
18979
  setQuery(value);
18980
- debouncedSearch(value);
18980
+ debouncedSearch(value.trim());
18981
18981
  };
18982
18982
  const onResultSelected = ({ type, value }) => {
18983
18983
  if (type === "action") {
@@ -18992,7 +18992,7 @@ function DynamicSearch({ component, onAction }) {
18992
18992
  setQuery(value.query);
18993
18993
  const { url: url2, method: method2, param: param2, query: query2 } = value;
18994
18994
  onEvent("Dynamic Flow - Search Result Selected", { type: "search" });
18995
- void search(query2, { url: url2, method: method2, param: param2 });
18995
+ void search(query2.trim(), { url: url2, method: method2, param: param2 });
18996
18996
  }
18997
18997
  };
18998
18998
  const onRetrySearch = () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wise/dynamic-flow-client",
3
- "version": "3.28.3",
3
+ "version": "3.28.5",
4
4
  "description": "Dynamic Flow web client",
5
5
  "license": "Apache-2.0",
6
6
  "main": "./build/main.min.js",