@wise/dynamic-flow-client-internal 4.36.0 → 4.36.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.
- package/build/i18n/es.json +1 -1
- package/build/i18n/pt.json +1 -1
- package/build/main.js +10 -4
- package/build/main.mjs +10 -4
- package/package.json +9 -9
package/build/i18n/es.json
CHANGED
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"df.wise.filter.noResults": "No hay resultados",
|
|
37
37
|
"df.wise.filter.placeholder": "Empieza a escribir para buscar",
|
|
38
38
|
"df.wise.filter.results": "Resultados de búsqueda",
|
|
39
|
-
"df.wise.group.all": "
|
|
39
|
+
"df.wise.group.all": "Todo",
|
|
40
40
|
"df.wise.group.currencies-with-account-details": "Divisas con datos de cuenta",
|
|
41
41
|
"df.wise.group.popular": "Populares",
|
|
42
42
|
"df.wise.group.recent": "Recientes"
|
package/build/i18n/pt.json
CHANGED
|
@@ -38,6 +38,6 @@
|
|
|
38
38
|
"df.wise.filter.results": "Resultados da busca",
|
|
39
39
|
"df.wise.group.all": "Todos",
|
|
40
40
|
"df.wise.group.currencies-with-account-details": "Moedas com dados de conta",
|
|
41
|
-
"df.wise.group.popular": "
|
|
41
|
+
"df.wise.group.popular": "Popular",
|
|
42
42
|
"df.wise.group.recent": "Recente"
|
|
43
43
|
}
|
package/build/main.js
CHANGED
|
@@ -881,6 +881,12 @@ function filterAndSortDecisionOptions(selectOptions, query) {
|
|
|
881
881
|
)) != null ? _d : false;
|
|
882
882
|
});
|
|
883
883
|
return [...filteredItems].sort((a, b) => {
|
|
884
|
+
if (a.disabled && !b.disabled) {
|
|
885
|
+
return 1;
|
|
886
|
+
}
|
|
887
|
+
if (!a.disabled && b.disabled) {
|
|
888
|
+
return -1;
|
|
889
|
+
}
|
|
884
890
|
const aTitleUpper = a.title.toUpperCase();
|
|
885
891
|
const bTitleUpper = b.title.toUpperCase();
|
|
886
892
|
const aTitleStarts = aTitleUpper.startsWith(upperQuery);
|
|
@@ -982,7 +988,7 @@ var FilteredDecisionList = (props) => {
|
|
|
982
988
|
const { formatMessage } = (0, import_react_intl8.useIntl)();
|
|
983
989
|
const [query, setQuery] = (0, import_react3.useState)("");
|
|
984
990
|
const { control, options, renderDecisionList: renderDecisionList3 } = props;
|
|
985
|
-
const filteredOptions = filterAndSortDecisionOptions(options, query);
|
|
991
|
+
const filteredOptions = (query == null ? void 0 : query.length) > 0 ? filterAndSortDecisionOptions(options, query) : options;
|
|
986
992
|
const isGrouped = isGroupedDecision(options);
|
|
987
993
|
return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_jsx_runtime25.Fragment, { children: [
|
|
988
994
|
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
@@ -3893,7 +3899,7 @@ var es_default = {
|
|
|
3893
3899
|
"df.wise.filter.noResults": "No hay resultados",
|
|
3894
3900
|
"df.wise.filter.placeholder": "Empieza a escribir para buscar",
|
|
3895
3901
|
"df.wise.filter.results": "Resultados de b\xFAsqueda",
|
|
3896
|
-
"df.wise.group.all": "
|
|
3902
|
+
"df.wise.group.all": "Todo",
|
|
3897
3903
|
"df.wise.group.currencies-with-account-details": "Divisas con datos de cuenta",
|
|
3898
3904
|
"df.wise.group.popular": "Populares",
|
|
3899
3905
|
"df.wise.group.recent": "Recientes"
|
|
@@ -4255,7 +4261,7 @@ var pt_default = {
|
|
|
4255
4261
|
"df.wise.filter.results": "Resultados da busca",
|
|
4256
4262
|
"df.wise.group.all": "Todos",
|
|
4257
4263
|
"df.wise.group.currencies-with-account-details": "Moedas com dados de conta",
|
|
4258
|
-
"df.wise.group.popular": "
|
|
4264
|
+
"df.wise.group.popular": "Popular",
|
|
4259
4265
|
"df.wise.group.recent": "Recente"
|
|
4260
4266
|
};
|
|
4261
4267
|
|
|
@@ -4568,7 +4574,7 @@ var import_dynamic_flow_client2 = require("@wise/dynamic-flow-client");
|
|
|
4568
4574
|
// src/dynamicFlow/telemetry/app-version.ts
|
|
4569
4575
|
var appVersion = (
|
|
4570
4576
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
|
|
4571
|
-
typeof process !== "undefined" ? "4.36.
|
|
4577
|
+
typeof process !== "undefined" ? "4.36.2" : "0.0.0"
|
|
4572
4578
|
);
|
|
4573
4579
|
|
|
4574
4580
|
// src/dynamicFlow/telemetry/getLogEvent.ts
|
package/build/main.mjs
CHANGED
|
@@ -838,6 +838,12 @@ function filterAndSortDecisionOptions(selectOptions, query) {
|
|
|
838
838
|
)) != null ? _d : false;
|
|
839
839
|
});
|
|
840
840
|
return [...filteredItems].sort((a, b) => {
|
|
841
|
+
if (a.disabled && !b.disabled) {
|
|
842
|
+
return 1;
|
|
843
|
+
}
|
|
844
|
+
if (!a.disabled && b.disabled) {
|
|
845
|
+
return -1;
|
|
846
|
+
}
|
|
841
847
|
const aTitleUpper = a.title.toUpperCase();
|
|
842
848
|
const bTitleUpper = b.title.toUpperCase();
|
|
843
849
|
const aTitleStarts = aTitleUpper.startsWith(upperQuery);
|
|
@@ -939,7 +945,7 @@ var FilteredDecisionList = (props) => {
|
|
|
939
945
|
const { formatMessage } = useIntl4();
|
|
940
946
|
const [query, setQuery] = useState3("");
|
|
941
947
|
const { control, options, renderDecisionList: renderDecisionList3 } = props;
|
|
942
|
-
const filteredOptions = filterAndSortDecisionOptions(options, query);
|
|
948
|
+
const filteredOptions = (query == null ? void 0 : query.length) > 0 ? filterAndSortDecisionOptions(options, query) : options;
|
|
943
949
|
const isGrouped = isGroupedDecision(options);
|
|
944
950
|
return /* @__PURE__ */ jsxs5(Fragment2, { children: [
|
|
945
951
|
/* @__PURE__ */ jsx25(
|
|
@@ -3859,7 +3865,7 @@ var es_default = {
|
|
|
3859
3865
|
"df.wise.filter.noResults": "No hay resultados",
|
|
3860
3866
|
"df.wise.filter.placeholder": "Empieza a escribir para buscar",
|
|
3861
3867
|
"df.wise.filter.results": "Resultados de b\xFAsqueda",
|
|
3862
|
-
"df.wise.group.all": "
|
|
3868
|
+
"df.wise.group.all": "Todo",
|
|
3863
3869
|
"df.wise.group.currencies-with-account-details": "Divisas con datos de cuenta",
|
|
3864
3870
|
"df.wise.group.popular": "Populares",
|
|
3865
3871
|
"df.wise.group.recent": "Recientes"
|
|
@@ -4221,7 +4227,7 @@ var pt_default = {
|
|
|
4221
4227
|
"df.wise.filter.results": "Resultados da busca",
|
|
4222
4228
|
"df.wise.group.all": "Todos",
|
|
4223
4229
|
"df.wise.group.currencies-with-account-details": "Moedas com dados de conta",
|
|
4224
|
-
"df.wise.group.popular": "
|
|
4230
|
+
"df.wise.group.popular": "Popular",
|
|
4225
4231
|
"df.wise.group.recent": "Recente"
|
|
4226
4232
|
};
|
|
4227
4233
|
|
|
@@ -4538,7 +4544,7 @@ import {
|
|
|
4538
4544
|
// src/dynamicFlow/telemetry/app-version.ts
|
|
4539
4545
|
var appVersion = (
|
|
4540
4546
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
|
|
4541
|
-
typeof process !== "undefined" ? "4.36.
|
|
4547
|
+
typeof process !== "undefined" ? "4.36.2" : "0.0.0"
|
|
4542
4548
|
);
|
|
4543
4549
|
|
|
4544
4550
|
// src/dynamicFlow/telemetry/getLogEvent.ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wise/dynamic-flow-client-internal",
|
|
3
|
-
"version": "4.36.
|
|
3
|
+
"version": "4.36.2",
|
|
4
4
|
"description": "Dynamic Flow web client for Wise",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "./build/main.js",
|
|
@@ -36,9 +36,9 @@
|
|
|
36
36
|
"@babel/preset-env": "7.28.5",
|
|
37
37
|
"@babel/preset-react": "7.28.5",
|
|
38
38
|
"@babel/preset-typescript": "7.28.5",
|
|
39
|
-
"@chromatic-com/storybook": "4.1.
|
|
39
|
+
"@chromatic-com/storybook": "4.1.2",
|
|
40
40
|
"@formatjs/cli": "^6.7.4",
|
|
41
|
-
"@storybook/react-vite": "9.1.
|
|
41
|
+
"@storybook/react-vite": "9.1.16",
|
|
42
42
|
"@testing-library/dom": "10.4.1",
|
|
43
43
|
"@testing-library/jest-dom": "6.9.1",
|
|
44
44
|
"@testing-library/react": "16.3.0",
|
|
@@ -55,8 +55,8 @@
|
|
|
55
55
|
"babel-jest": "30.2.0",
|
|
56
56
|
"currency-flags": "4.0.7",
|
|
57
57
|
"esbuild": "0.25.9",
|
|
58
|
-
"eslint-plugin-storybook": "9.1.
|
|
59
|
-
"framer-motion": "^12.23.
|
|
58
|
+
"eslint-plugin-storybook": "9.1.16",
|
|
59
|
+
"framer-motion": "^12.23.24",
|
|
60
60
|
"jest": "30.2.0",
|
|
61
61
|
"jest-environment-jsdom": "30.2.0",
|
|
62
62
|
"jest-fetch-mock": "^3.0.3",
|
|
@@ -68,16 +68,16 @@
|
|
|
68
68
|
"react": "18.3.1",
|
|
69
69
|
"react-dom": "18.3.1",
|
|
70
70
|
"react-intl": "6.8.9",
|
|
71
|
-
"storybook": "^9.1.
|
|
71
|
+
"storybook": "^9.1.16",
|
|
72
72
|
"stylelint": "16.25.0",
|
|
73
73
|
"stylelint-config-standard": "36.0.1",
|
|
74
74
|
"stylelint-no-unsupported-browser-features": "8.0.5",
|
|
75
75
|
"stylelint-value-no-unknown-custom-properties": "6.0.1",
|
|
76
76
|
"tsx": "4.20.6",
|
|
77
77
|
"typescript": "5.9.3",
|
|
78
|
+
"@wise/dynamic-flow-fixtures": "0.0.1",
|
|
78
79
|
"@wise/dynamic-flow-types": "3.18.0",
|
|
79
|
-
"@wise/dynamic-flow-renderers": "0.0.0"
|
|
80
|
-
"@wise/dynamic-flow-fixtures": "0.0.1"
|
|
80
|
+
"@wise/dynamic-flow-renderers": "0.0.0"
|
|
81
81
|
},
|
|
82
82
|
"peerDependencies": {
|
|
83
83
|
"@transferwise/components": "^46.104.0",
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
},
|
|
93
93
|
"dependencies": {
|
|
94
94
|
"classnames": "2.5.1",
|
|
95
|
-
"@wise/dynamic-flow-client": "4.20.
|
|
95
|
+
"@wise/dynamic-flow-client": "4.20.2",
|
|
96
96
|
"@wise/dynamic-flow-types": "3.18.0"
|
|
97
97
|
},
|
|
98
98
|
"scripts": {
|