@mtes-mct/monitor-ui 24.57.0 → 24.57.1

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/CHANGELOG.md CHANGED
@@ -1,3 +1,15 @@
1
+ ## [24.57.0](https://github.com/MTES-MCT/monitor-ui/compare/v24.56.1...v24.57.0) (2026-07-29)
2
+
3
+ ### Features
4
+
5
+ * **fields:** add withAllChildrenInResults prop to display all children even if not march with search query ([4d74485](https://github.com/MTES-MCT/monitor-ui/commit/4d744853c8abaf67ce19f1d3655daa0e74d53335))
6
+ * **fields:** update CheckTreePicker to display all children when one match with search query ([1cd69c5](https://github.com/MTES-MCT/monitor-ui/commit/1cd69c5686f7038bccd42a3cb663099ad2635f93))
7
+
8
+ ### Bug Fixes
9
+
10
+ * **fields:** fix CheTreePicker with large dataset when withAllChildrenInResults is true ([24dea47](https://github.com/MTES-MCT/monitor-ui/commit/24dea47616861e18d077c4a7732193c0f4a8196a))
11
+ * **fields:** rename prop "isMultiSelect" to "canSelectMultipleParents" ([9092287](https://github.com/MTES-MCT/monitor-ui/commit/909228728f47524d0b8b8a909b31d0b1187de56f))
12
+
1
13
  ## [24.56.1](https://github.com/MTES-MCT/monitor-ui/compare/v24.56.0...v24.56.1) (2026-07-27)
2
14
 
3
15
  ### Bug Fixes
package/index.js CHANGED
@@ -12238,16 +12238,16 @@ const D6 = (e, t, r, n = !0) => {
12238
12238
  function L6(e, t) {
12239
12239
  if (!Array.isArray(e) || e.length !== 2 || !e[0] || !e[1])
12240
12240
  return [];
12241
- const r = Math.sign(e[0]) === -1, [n, i] = e[0].toString().split("."), o = t ? 4 : 6;
12242
- if (!Re(n))
12241
+ const r = Math.sign(e[0]) === -1, n = t ? 4 : 6, i = Math.abs(e[0]).toFixed(n), [o, a] = i.split(".");
12242
+ if (!Re(o))
12243
12243
  return [];
12244
- let a = n.toString().trim().replace(/-/g, "");
12245
- const l = i?.substring(0, o) ?? "000000";
12246
- return a = `${r ? "-" : ""}${Lo(
12247
- a,
12244
+ let l = o.toString().trim().replace(/-/g, "");
12245
+ const u = a?.substring(0, n) ?? "000000";
12246
+ return l = `${r ? "-" : ""}${Lo(
12247
+ l,
12248
12248
  "LONGITUDE"
12249
12249
  /* LONGITUDE */
12250
- )}.${l}`, [`${e[1].toFixed(o)}°`, `${a}°`];
12250
+ )}.${u}`, [`${e[1].toFixed(n)}°`, `${l}°`];
12251
12251
  }
12252
12252
  function B6(e) {
12253
12253
  const [t, r] = e;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mtes-mct/monitor-ui",
3
3
  "description": "Common React components, hooks, utilities and CSS stylesheets for MonitorFish, MonitorEnv and RapportNav.",
4
- "version": "24.57.0",
4
+ "version": "24.57.1",
5
5
  "license": "AGPL-3.0",
6
6
  "type": "module",
7
7
  "engines": {