@wise/dynamic-flow-client 3.28.2 → 3.28.4
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/fr.json +1 -1
- package/build/main.js +10 -2
- package/build/main.min.js +1 -1
- package/build/main.mjs +10 -2
- package/build/types/legacy/layout/button/utils.d.ts +1 -1
- package/package.json +16 -16
package/build/i18n/fr.json
CHANGED
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"dynamicFlows.ExternalConfirmation.open": "Ouvrir dans un nouvel onglet",
|
|
39
39
|
"dynamicFlows.ExternalConfirmation.title": "Veuillez confirmer",
|
|
40
40
|
"dynamicFlows.FileUploadSchema.maxFileSizeError": "Nous sommes désolés, ce fichier est trop volumineux. Veuillez télécharger un fichier plus petit.",
|
|
41
|
-
"dynamicFlows.FileUploadSchema.wrongFileTypeError": "
|
|
41
|
+
"dynamicFlows.FileUploadSchema.wrongFileTypeError": "Nous sommes désolés, ce format de fichier n'est pas pris en charge. Veuillez en télécharger un autre.",
|
|
42
42
|
"dynamicFlows.Help.ariaLabel": "Cliquez ici pour plus d'informations.",
|
|
43
43
|
"dynamicFlows.MultiSelect.summary": "{first} et {count} de plus",
|
|
44
44
|
"dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "Nous sommes désolés, ce fichier est trop volumineux. Veuillez télécharger un fichier plus petit.",
|
package/build/main.js
CHANGED
|
@@ -677,7 +677,7 @@ var fr_default = {
|
|
|
677
677
|
"dynamicFlows.ExternalConfirmation.open": "Ouvrir dans un nouvel onglet",
|
|
678
678
|
"dynamicFlows.ExternalConfirmation.title": "Veuillez confirmer",
|
|
679
679
|
"dynamicFlows.FileUploadSchema.maxFileSizeError": "Nous sommes d\xE9sol\xE9s, ce fichier est trop volumineux. Veuillez t\xE9l\xE9charger un fichier plus petit.",
|
|
680
|
-
"dynamicFlows.FileUploadSchema.wrongFileTypeError": "
|
|
680
|
+
"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.",
|
|
681
681
|
"dynamicFlows.Help.ariaLabel": "Cliquez ici pour plus d'informations.",
|
|
682
682
|
"dynamicFlows.MultiSelect.summary": "{first} et {count} de plus",
|
|
683
683
|
"dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "Nous sommes d\xE9sol\xE9s, ce fichier est trop volumineux. Veuillez t\xE9l\xE9charger un fichier plus petit.",
|
|
@@ -8482,6 +8482,9 @@ var isPartialModelMatch = (localModel, incomingModel) => {
|
|
|
8482
8482
|
return localModel.length === incomingModel.length && localModel.every((value, index) => isPartialModelMatch(value, incomingModel[index]));
|
|
8483
8483
|
}
|
|
8484
8484
|
if (isObjectModel(localModel) && isObjectModel(incomingModel)) {
|
|
8485
|
+
if (Object.keys(localModel).length === 0 && Object.keys(incomingModel).length === 0) {
|
|
8486
|
+
return true;
|
|
8487
|
+
}
|
|
8485
8488
|
const nonNullishKeysInBoth = nonNullishKeys(localModel).filter(
|
|
8486
8489
|
(key) => nonNullishKeys(incomingModel).includes(key)
|
|
8487
8490
|
);
|
|
@@ -11685,7 +11688,7 @@ function ButtonRendererComponent({
|
|
|
11685
11688
|
block: true,
|
|
11686
11689
|
className,
|
|
11687
11690
|
disabled: isLoading || disabled,
|
|
11688
|
-
priority
|
|
11691
|
+
priority,
|
|
11689
11692
|
size: mapSize(size2),
|
|
11690
11693
|
type,
|
|
11691
11694
|
onClick,
|
|
@@ -11707,6 +11710,8 @@ var mapControl = (control) => {
|
|
|
11707
11710
|
case "primary":
|
|
11708
11711
|
case "tertiary":
|
|
11709
11712
|
return control;
|
|
11713
|
+
case "minimal":
|
|
11714
|
+
return "tertiary";
|
|
11710
11715
|
default:
|
|
11711
11716
|
return "secondary";
|
|
11712
11717
|
}
|
|
@@ -15458,6 +15463,9 @@ var priorities = {
|
|
|
15458
15463
|
};
|
|
15459
15464
|
var getButtonPriority = (control, action) => {
|
|
15460
15465
|
const actionType = action ? action.type : void 0;
|
|
15466
|
+
if (control === "minimal") {
|
|
15467
|
+
return "tertiary";
|
|
15468
|
+
}
|
|
15461
15469
|
return control != null ? control : actionType ? priorities[actionType] : "secondary";
|
|
15462
15470
|
};
|
|
15463
15471
|
var contextToType = {
|