@mtes-mct/monitor-ui 10.12.1 → 10.14.0

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/index.js CHANGED
@@ -459,6 +459,7 @@ function _curryN(length, received, fn) {
459
459
  var argsIdx = 0;
460
460
  var left = length;
461
461
  var combinedIdx = 0;
462
+ var hasPlaceholder = false;
462
463
 
463
464
  while (combinedIdx < received.length || argsIdx < arguments.length) {
464
465
  var result;
@@ -474,12 +475,14 @@ function _curryN(length, received, fn) {
474
475
 
475
476
  if (!_isPlaceholder(result)) {
476
477
  left -= 1;
478
+ } else {
479
+ hasPlaceholder = true;
477
480
  }
478
481
 
479
482
  combinedIdx += 1;
480
483
  }
481
484
 
482
- return left <= 0 ? fn.apply(this, combined) : _arity(left, _curryN(length, combined, fn));
485
+ return !hasPlaceholder && left <= 0 ? fn.apply(this, combined) : _arity(Math.max(0, left), _curryN(length, combined, fn));
483
486
  };
484
487
  }
485
488
 
@@ -836,6 +839,7 @@ _curry1(function keys(obj) {
836
839
  * R.type([]); //=> "Array"
837
840
  * R.type(/[A-z]/); //=> "RegExp"
838
841
  * R.type(() => {}); //=> "Function"
842
+ * R.type(async () => {}); //=> "AsyncFunction"
839
843
  * R.type(undefined); //=> "Undefined"
840
844
  */
841
845
 
@@ -1033,6 +1037,8 @@ _curry2(function equals(a, b) {
1033
1037
  return _equals(a, b, [], []);
1034
1038
  });
1035
1039
 
1040
+ var equals$2 = equals$1;
1041
+
1036
1042
  function _indexOf(list, a, idx) {
1037
1043
  var inf, item; // Array.prototype.indexOf doesn't exist below IE9
1038
1044
 
@@ -1090,7 +1096,7 @@ function _indexOf(list, a, idx) {
1090
1096
 
1091
1097
 
1092
1098
  while (idx < list.length) {
1093
- if (equals$1(list[idx], a)) {
1099
+ if (equals$2(list[idx], a)) {
1094
1100
  return idx;
1095
1101
  }
1096
1102
 
@@ -1254,6 +1260,8 @@ _curry2(function reject(pred, filterable) {
1254
1260
  return filter(_complement(pred), filterable);
1255
1261
  });
1256
1262
 
1263
+ var reject$1 = reject;
1264
+
1257
1265
  var XMap =
1258
1266
  /*#__PURE__*/
1259
1267
  function () {
@@ -1336,6 +1344,8 @@ _dispatchable(['fantasy-land/map', 'map'], _xmap, function map(fn, functor) {
1336
1344
  }
1337
1345
  }));
1338
1346
 
1347
+ var map$1 = map;
1348
+
1339
1349
  function _isString(x) {
1340
1350
  return Object.prototype.toString.call(x) === '[object String]';
1341
1351
  }
@@ -1579,6 +1589,8 @@ _curry3(function (xf, acc, list) {
1579
1589
  return _xReduce(typeof xf === 'function' ? _xwrap(xf) : xf, acc, list);
1580
1590
  });
1581
1591
 
1592
+ var reduce$1 = reduce;
1593
+
1582
1594
  var XAny =
1583
1595
  /*#__PURE__*/
1584
1596
  function () {
@@ -1660,6 +1672,8 @@ _dispatchable(['any'], _xany, function any(fn, list) {
1660
1672
  return false;
1661
1673
  }));
1662
1674
 
1675
+ var any$1 = any;
1676
+
1663
1677
  function _pipe(f, g) {
1664
1678
  return function () {
1665
1679
  return g.call(this, f.apply(this, arguments));
@@ -1759,6 +1773,8 @@ _checkForMethod('tail',
1759
1773
  /*#__PURE__*/
1760
1774
  slice(1, Infinity)));
1761
1775
 
1776
+ var tail$1 = tail;
1777
+
1762
1778
  /**
1763
1779
  * Performs left-to-right function composition. The first argument may have
1764
1780
  * any arity; the remaining arguments must be unary.
@@ -1789,7 +1805,7 @@ function pipe$1() {
1789
1805
  throw new Error('pipe requires at least one argument');
1790
1806
  }
1791
1807
 
1792
- return _arity(arguments[0].length, reduce(_pipe, arguments[0], tail(arguments)));
1808
+ return _arity(arguments[0].length, reduce$1(_pipe, arguments[0], tail$1(arguments)));
1793
1809
  }
1794
1810
 
1795
1811
  function _identity(x) {
@@ -1820,6 +1836,8 @@ var identity =
1820
1836
  /*#__PURE__*/
1821
1837
  _curry1(_identity);
1822
1838
 
1839
+ var identity$1 = identity;
1840
+
1823
1841
  /**
1824
1842
  * Removes the sub-list of `list` starting at index `start` and containing
1825
1843
  * `count` elements. _Note that this is not destructive_: it returns a copy of
@@ -1849,6 +1867,8 @@ _curry3(function remove(start, count, list) {
1849
1867
  return result;
1850
1868
  });
1851
1869
 
1870
+ var remove$1 = remove;
1871
+
1852
1872
  /**
1853
1873
  * Tests whether or not an object is a typed array.
1854
1874
  *
@@ -1934,6 +1954,8 @@ _curry1(function fromPairs(pairs) {
1934
1954
  return result;
1935
1955
  });
1936
1956
 
1957
+ var fromPairs$1 = fromPairs;
1958
+
1937
1959
  /**
1938
1960
  * Returns `true` if the specified value is equal, in [`R.equals`](#equals)
1939
1961
  * terms, to at least one element of the given list; `false` otherwise.
@@ -1961,6 +1983,8 @@ var includes =
1961
1983
  /*#__PURE__*/
1962
1984
  _curry2(_includes);
1963
1985
 
1986
+ var includes$1 = includes;
1987
+
1964
1988
  /**
1965
1989
  * Returns `true` if the given value is its type's empty value; `false`
1966
1990
  * otherwise.
@@ -1987,9 +2011,11 @@ _curry2(_includes);
1987
2011
  var isEmpty =
1988
2012
  /*#__PURE__*/
1989
2013
  _curry1(function isEmpty(x) {
1990
- return x != null && equals$1(x, empty(x));
2014
+ return x != null && equals$2(x, empty(x));
1991
2015
  });
1992
2016
 
2017
+ var isEmpty$1 = isEmpty;
2018
+
1993
2019
  /**
1994
2020
  * Creates a new object with the own properties of the two provided objects. If
1995
2021
  * a key exists in both objects, the provided function is applied to the key
@@ -2110,6 +2136,8 @@ _curry2(function mergeDeepRight(lObj, rObj) {
2110
2136
  }, lObj, rObj);
2111
2137
  });
2112
2138
 
2139
+ var mergeDeepRight$1 = mergeDeepRight;
2140
+
2113
2141
  /**
2114
2142
  * Converts an object into an array of key, value arrays. Only the object's
2115
2143
  * own properties are used.
@@ -2143,9 +2171,11 @@ _curry1(function toPairs(obj) {
2143
2171
  return pairs;
2144
2172
  });
2145
2173
 
2174
+ var toPairs$1 = toPairs;
2175
+
2146
2176
  const UntypedStyledComponentsThemeProvider = ThemeProvider$1;
2147
2177
  function ThemeProvider({ children, theme = {} }) {
2148
- const finalTheme = mergeDeepRight(THEME, theme);
2178
+ const finalTheme = mergeDeepRight$1(THEME, theme);
2149
2179
  return /*#__PURE__*/ jsx(UntypedStyledComponentsThemeProvider, {
2150
2180
  theme: finalTheme,
2151
2181
  children: children
@@ -34819,7 +34849,7 @@ function Control({ color, size, ...nativeProps }) {
34819
34849
  });
34820
34850
  }
34821
34851
 
34822
- function ControlUnit({ color, size, ...nativeProps }) {
34852
+ function ControlUnit$1({ color, size, ...nativeProps }) {
34823
34853
  return /*#__PURE__*/ jsx(IconBox, {
34824
34854
  $color: color,
34825
34855
  $size: size,
@@ -37751,7 +37781,7 @@ var index = /*#__PURE__*/Object.freeze({
37751
37781
  Comment: Comment,
37752
37782
  Confirm: Confirm,
37753
37783
  Control: Control,
37754
- ControlUnit: ControlUnit,
37784
+ ControlUnit: ControlUnit$1,
37755
37785
  Delete: Delete,
37756
37786
  Display: Display,
37757
37787
  Dot: Dot,
@@ -38260,7 +38290,7 @@ const useClickOutsideEffect = (zoneRefOrzoneRefs, action, baseContainer)=>{
38260
38290
  const zoneRefs = Array.isArray(zoneRefOrzoneRefs) ? zoneRefOrzoneRefs : [
38261
38291
  zoneRefOrzoneRefs
38262
38292
  ];
38263
- const isEventTargetInZones = pipe$1(map((zoneRef)=>zoneRef.current && eventTarget ? zoneRef.current.contains(eventTarget) : false), any(identity))(zoneRefs);
38293
+ const isEventTargetInZones = pipe$1(map$1((zoneRef)=>zoneRef.current && eventTarget ? zoneRef.current.contains(eventTarget) : false), any$1(identity$1))(zoneRefs);
38264
38294
  if (isEventTargetInZones) {
38265
38295
  return;
38266
38296
  }
@@ -56010,6 +56040,20 @@ const Box$d = styled.div`
56010
56040
  }
56011
56041
  > .rs-picker-menu {
56012
56042
  max-width: 100%;
56043
+ > .rs-picker-search-bar {
56044
+ > .rs-picker-search-bar-input {
56045
+ background-color: ${(p)=>p.theme.color.white};
56046
+ border: solid 1px ${(p)=>p.theme.color.lightGray};
56047
+ border-radius: 0;
56048
+ font-size: 13px;
56049
+ padding: 4px 8px 6px 8px;
56050
+ }
56051
+ > svg {
56052
+ color: ${(p)=>p.theme.color.lightGray};
56053
+ top: 11px;
56054
+ }
56055
+ }
56056
+
56013
56057
  > .rs-picker-check-menu {
56014
56058
  padding-top: 6px;
56015
56059
  margin: 0;
@@ -56038,24 +56082,17 @@ const Box$d = styled.div`
56038
56082
 
56039
56083
  var dayjs_min = {exports: {}};
56040
56084
 
56041
- var hasRequiredDayjs_min;
56042
-
56043
- function requireDayjs_min () {
56044
- if (hasRequiredDayjs_min) return dayjs_min.exports;
56045
- hasRequiredDayjs_min = 1;
56046
- (function (module, exports) {
56047
- !function(t,e){module.exports=e();}(commonjsGlobal,(function(){var t=1e3,e=6e4,n=36e5,r="millisecond",i="second",s="minute",u="hour",a="day",o="week",c="month",f="quarter",h="year",d="date",l="Invalid Date",$=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,M={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],n=t%100;return "["+t+(e[(n-20)%10]||e[n]||e[0])+"]"}},m=function(t,e,n){var r=String(t);return !r||r.length>=e?t:""+Array(e+1-r.length).join(n)+t},v={s:m,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),i=n%60;return (e<=0?"+":"-")+m(r,2,"0")+":"+m(i,2,"0")},m:function t(e,n){if(e.date()<n.date())return -t(n,e);var r=12*(n.year()-e.year())+(n.month()-e.month()),i=e.clone().add(r,c),s=n-i<0,u=e.clone().add(r+(s?-1:1),c);return +(-(r+(n-i)/(s?i-u:u-i))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return {M:c,y:h,w:o,d:a,D:d,h:u,m:s,s:i,ms:r,Q:f}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},g="en",D={};D[g]=M;var p="$isDayjsObject",S=function(t){return t instanceof _||!(!t||!t[p])},w=function t(e,n,r){var i;if(!e)return g;if("string"==typeof e){var s=e.toLowerCase();D[s]&&(i=s),n&&(D[s]=n,i=s);var u=e.split("-");if(!i&&u.length>1)return t(u[0])}else {var a=e.name;D[a]=e,i=a;}return !r&&i&&(g=i),i||!r&&g},O=function(t,e){if(S(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new _(n)},b=v;b.l=w,b.i=S,b.w=function(t,e){return O(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var _=function(){function M(t){this.$L=w(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[p]=!0;}var m=M.prototype;return m.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(b.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var r=e.match($);if(r){var i=r[2]-1||0,s=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)}}return new Date(e)}(t),this.init();},m.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds();},m.$utils=function(){return b},m.isValid=function(){return !(this.$d.toString()===l)},m.isSame=function(t,e){var n=O(t);return this.startOf(e)<=n&&n<=this.endOf(e)},m.isAfter=function(t,e){return O(t)<this.startOf(e)},m.isBefore=function(t,e){return this.endOf(e)<O(t)},m.$g=function(t,e,n){return b.u(t)?this[e]:this.set(n,t)},m.unix=function(){return Math.floor(this.valueOf()/1e3)},m.valueOf=function(){return this.$d.getTime()},m.startOf=function(t,e){var n=this,r=!!b.u(e)||e,f=b.p(t),l=function(t,e){var i=b.w(n.$u?Date.UTC(n.$y,e,t):new Date(n.$y,e,t),n);return r?i:i.endOf(a)},$=function(t,e){return b.w(n.toDate()[t].apply(n.toDate("s"),(r?[0,0,0,0]:[23,59,59,999]).slice(e)),n)},y=this.$W,M=this.$M,m=this.$D,v="set"+(this.$u?"UTC":"");switch(f){case h:return r?l(1,0):l(31,11);case c:return r?l(1,M):l(0,M+1);case o:var g=this.$locale().weekStart||0,D=(y<g?y+7:y)-g;return l(r?m-D:m+(6-D),M);case a:case d:return $(v+"Hours",0);case u:return $(v+"Minutes",1);case s:return $(v+"Seconds",2);case i:return $(v+"Milliseconds",3);default:return this.clone()}},m.endOf=function(t){return this.startOf(t,!1)},m.$set=function(t,e){var n,o=b.p(t),f="set"+(this.$u?"UTC":""),l=(n={},n[a]=f+"Date",n[d]=f+"Date",n[c]=f+"Month",n[h]=f+"FullYear",n[u]=f+"Hours",n[s]=f+"Minutes",n[i]=f+"Seconds",n[r]=f+"Milliseconds",n)[o],$=o===a?this.$D+(e-this.$W):e;if(o===c||o===h){var y=this.clone().set(d,1);y.$d[l]($),y.init(),this.$d=y.set(d,Math.min(this.$D,y.daysInMonth())).$d;}else l&&this.$d[l]($);return this.init(),this},m.set=function(t,e){return this.clone().$set(t,e)},m.get=function(t){return this[b.p(t)]()},m.add=function(r,f){var d,l=this;r=Number(r);var $=b.p(f),y=function(t){var e=O(l);return b.w(e.date(e.date()+Math.round(t*r)),l)};if($===c)return this.set(c,this.$M+r);if($===h)return this.set(h,this.$y+r);if($===a)return y(1);if($===o)return y(7);var M=(d={},d[s]=e,d[u]=n,d[i]=t,d)[$]||1,m=this.$d.getTime()+r*M;return b.w(m,this)},m.subtract=function(t,e){return this.add(-1*t,e)},m.format=function(t){var e=this,n=this.$locale();if(!this.isValid())return n.invalidDate||l;var r=t||"YYYY-MM-DDTHH:mm:ssZ",i=b.z(this),s=this.$H,u=this.$m,a=this.$M,o=n.weekdays,c=n.months,f=n.meridiem,h=function(t,n,i,s){return t&&(t[n]||t(e,r))||i[n].slice(0,s)},d=function(t){return b.s(s%12||12,t,"0")},$=f||function(t,e,n){var r=t<12?"AM":"PM";return n?r.toLowerCase():r};return r.replace(y,(function(t,r){return r||function(t){switch(t){case"YY":return String(e.$y).slice(-2);case"YYYY":return b.s(e.$y,4,"0");case"M":return a+1;case"MM":return b.s(a+1,2,"0");case"MMM":return h(n.monthsShort,a,c,3);case"MMMM":return h(c,a);case"D":return e.$D;case"DD":return b.s(e.$D,2,"0");case"d":return String(e.$W);case"dd":return h(n.weekdaysMin,e.$W,o,2);case"ddd":return h(n.weekdaysShort,e.$W,o,3);case"dddd":return o[e.$W];case"H":return String(s);case"HH":return b.s(s,2,"0");case"h":return d(1);case"hh":return d(2);case"a":return $(s,u,!0);case"A":return $(s,u,!1);case"m":return String(u);case"mm":return b.s(u,2,"0");case"s":return String(e.$s);case"ss":return b.s(e.$s,2,"0");case"SSS":return b.s(e.$ms,3,"0");case"Z":return i}return null}(t)||i.replace(":","")}))},m.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},m.diff=function(r,d,l){var $,y=this,M=b.p(d),m=O(r),v=(m.utcOffset()-this.utcOffset())*e,g=this-m,D=function(){return b.m(y,m)};switch(M){case h:$=D()/12;break;case c:$=D();break;case f:$=D()/3;break;case o:$=(g-v)/6048e5;break;case a:$=(g-v)/864e5;break;case u:$=g/n;break;case s:$=g/e;break;case i:$=g/t;break;default:$=g;}return l?$:b.a($)},m.daysInMonth=function(){return this.endOf(c).$D},m.$locale=function(){return D[this.$L]},m.locale=function(t,e){if(!t)return this.$L;var n=this.clone(),r=w(t,e,!0);return r&&(n.$L=r),n},m.clone=function(){return b.w(this.$d,this)},m.toDate=function(){return new Date(this.valueOf())},m.toJSON=function(){return this.isValid()?this.toISOString():null},m.toISOString=function(){return this.$d.toISOString()},m.toString=function(){return this.$d.toUTCString()},M}(),k=_.prototype;return O.prototype=k,[["$ms",r],["$s",i],["$m",s],["$H",u],["$W",a],["$M",c],["$y",h],["$D",d]].forEach((function(t){k[t[1]]=function(e){return this.$g(e,t[0],t[1])};})),O.extend=function(t,e){return t.$i||(t(e,_,O),t.$i=!0),O},O.locale=w,O.isDayjs=S,O.unix=function(t){return O(1e3*t)},O.en=D[g],O.Ls=D,O.p={},O}));
56048
- } (dayjs_min));
56049
- return dayjs_min.exports;
56050
- }
56085
+ (function (module, exports) {
56086
+ !function(t,e){module.exports=e();}(commonjsGlobal,(function(){var t=1e3,e=6e4,n=36e5,r="millisecond",i="second",s="minute",u="hour",a="day",o="week",c="month",f="quarter",h="year",d="date",l="Invalid Date",$=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,M={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],n=t%100;return "["+t+(e[(n-20)%10]||e[n]||e[0])+"]"}},m=function(t,e,n){var r=String(t);return !r||r.length>=e?t:""+Array(e+1-r.length).join(n)+t},v={s:m,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),i=n%60;return (e<=0?"+":"-")+m(r,2,"0")+":"+m(i,2,"0")},m:function t(e,n){if(e.date()<n.date())return -t(n,e);var r=12*(n.year()-e.year())+(n.month()-e.month()),i=e.clone().add(r,c),s=n-i<0,u=e.clone().add(r+(s?-1:1),c);return +(-(r+(n-i)/(s?i-u:u-i))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return {M:c,y:h,w:o,d:a,D:d,h:u,m:s,s:i,ms:r,Q:f}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},g="en",D={};D[g]=M;var p="$isDayjsObject",S=function(t){return t instanceof _||!(!t||!t[p])},w=function t(e,n,r){var i;if(!e)return g;if("string"==typeof e){var s=e.toLowerCase();D[s]&&(i=s),n&&(D[s]=n,i=s);var u=e.split("-");if(!i&&u.length>1)return t(u[0])}else {var a=e.name;D[a]=e,i=a;}return !r&&i&&(g=i),i||!r&&g},O=function(t,e){if(S(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new _(n)},b=v;b.l=w,b.i=S,b.w=function(t,e){return O(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var _=function(){function M(t){this.$L=w(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[p]=!0;}var m=M.prototype;return m.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(b.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var r=e.match($);if(r){var i=r[2]-1||0,s=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)}}return new Date(e)}(t),this.init();},m.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds();},m.$utils=function(){return b},m.isValid=function(){return !(this.$d.toString()===l)},m.isSame=function(t,e){var n=O(t);return this.startOf(e)<=n&&n<=this.endOf(e)},m.isAfter=function(t,e){return O(t)<this.startOf(e)},m.isBefore=function(t,e){return this.endOf(e)<O(t)},m.$g=function(t,e,n){return b.u(t)?this[e]:this.set(n,t)},m.unix=function(){return Math.floor(this.valueOf()/1e3)},m.valueOf=function(){return this.$d.getTime()},m.startOf=function(t,e){var n=this,r=!!b.u(e)||e,f=b.p(t),l=function(t,e){var i=b.w(n.$u?Date.UTC(n.$y,e,t):new Date(n.$y,e,t),n);return r?i:i.endOf(a)},$=function(t,e){return b.w(n.toDate()[t].apply(n.toDate("s"),(r?[0,0,0,0]:[23,59,59,999]).slice(e)),n)},y=this.$W,M=this.$M,m=this.$D,v="set"+(this.$u?"UTC":"");switch(f){case h:return r?l(1,0):l(31,11);case c:return r?l(1,M):l(0,M+1);case o:var g=this.$locale().weekStart||0,D=(y<g?y+7:y)-g;return l(r?m-D:m+(6-D),M);case a:case d:return $(v+"Hours",0);case u:return $(v+"Minutes",1);case s:return $(v+"Seconds",2);case i:return $(v+"Milliseconds",3);default:return this.clone()}},m.endOf=function(t){return this.startOf(t,!1)},m.$set=function(t,e){var n,o=b.p(t),f="set"+(this.$u?"UTC":""),l=(n={},n[a]=f+"Date",n[d]=f+"Date",n[c]=f+"Month",n[h]=f+"FullYear",n[u]=f+"Hours",n[s]=f+"Minutes",n[i]=f+"Seconds",n[r]=f+"Milliseconds",n)[o],$=o===a?this.$D+(e-this.$W):e;if(o===c||o===h){var y=this.clone().set(d,1);y.$d[l]($),y.init(),this.$d=y.set(d,Math.min(this.$D,y.daysInMonth())).$d;}else l&&this.$d[l]($);return this.init(),this},m.set=function(t,e){return this.clone().$set(t,e)},m.get=function(t){return this[b.p(t)]()},m.add=function(r,f){var d,l=this;r=Number(r);var $=b.p(f),y=function(t){var e=O(l);return b.w(e.date(e.date()+Math.round(t*r)),l)};if($===c)return this.set(c,this.$M+r);if($===h)return this.set(h,this.$y+r);if($===a)return y(1);if($===o)return y(7);var M=(d={},d[s]=e,d[u]=n,d[i]=t,d)[$]||1,m=this.$d.getTime()+r*M;return b.w(m,this)},m.subtract=function(t,e){return this.add(-1*t,e)},m.format=function(t){var e=this,n=this.$locale();if(!this.isValid())return n.invalidDate||l;var r=t||"YYYY-MM-DDTHH:mm:ssZ",i=b.z(this),s=this.$H,u=this.$m,a=this.$M,o=n.weekdays,c=n.months,f=n.meridiem,h=function(t,n,i,s){return t&&(t[n]||t(e,r))||i[n].slice(0,s)},d=function(t){return b.s(s%12||12,t,"0")},$=f||function(t,e,n){var r=t<12?"AM":"PM";return n?r.toLowerCase():r};return r.replace(y,(function(t,r){return r||function(t){switch(t){case"YY":return String(e.$y).slice(-2);case"YYYY":return b.s(e.$y,4,"0");case"M":return a+1;case"MM":return b.s(a+1,2,"0");case"MMM":return h(n.monthsShort,a,c,3);case"MMMM":return h(c,a);case"D":return e.$D;case"DD":return b.s(e.$D,2,"0");case"d":return String(e.$W);case"dd":return h(n.weekdaysMin,e.$W,o,2);case"ddd":return h(n.weekdaysShort,e.$W,o,3);case"dddd":return o[e.$W];case"H":return String(s);case"HH":return b.s(s,2,"0");case"h":return d(1);case"hh":return d(2);case"a":return $(s,u,!0);case"A":return $(s,u,!1);case"m":return String(u);case"mm":return b.s(u,2,"0");case"s":return String(e.$s);case"ss":return b.s(e.$s,2,"0");case"SSS":return b.s(e.$ms,3,"0");case"Z":return i}return null}(t)||i.replace(":","")}))},m.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},m.diff=function(r,d,l){var $,y=this,M=b.p(d),m=O(r),v=(m.utcOffset()-this.utcOffset())*e,g=this-m,D=function(){return b.m(y,m)};switch(M){case h:$=D()/12;break;case c:$=D();break;case f:$=D()/3;break;case o:$=(g-v)/6048e5;break;case a:$=(g-v)/864e5;break;case u:$=g/n;break;case s:$=g/e;break;case i:$=g/t;break;default:$=g;}return l?$:b.a($)},m.daysInMonth=function(){return this.endOf(c).$D},m.$locale=function(){return D[this.$L]},m.locale=function(t,e){if(!t)return this.$L;var n=this.clone(),r=w(t,e,!0);return r&&(n.$L=r),n},m.clone=function(){return b.w(this.$d,this)},m.toDate=function(){return new Date(this.valueOf())},m.toJSON=function(){return this.isValid()?this.toISOString():null},m.toISOString=function(){return this.$d.toISOString()},m.toString=function(){return this.$d.toUTCString()},M}(),k=_.prototype;return O.prototype=k,[["$ms",r],["$s",i],["$m",s],["$H",u],["$W",a],["$M",c],["$y",h],["$D",d]].forEach((function(t){k[t[1]]=function(e){return this.$g(e,t[0],t[1])};})),O.extend=function(t,e){return t.$i||(t(e,_,O),t.$i=!0),O},O.locale=w,O.isDayjs=S,O.unix=function(t){return O(1e3*t)},O.en=D[g],O.Ls=D,O.p={},O}));
56087
+ } (dayjs_min));
56051
56088
 
56052
- var dayjs_minExports = requireDayjs_min();
56089
+ var dayjs_minExports = dayjs_min.exports;
56053
56090
  var customDayjs = /*@__PURE__*/getDefaultExportFromCjs(dayjs_minExports);
56054
56091
 
56055
56092
  var fr = {exports: {}};
56056
56093
 
56057
56094
  (function (module, exports) {
56058
- !function(e,n){module.exports=n(requireDayjs_min());}(commonjsGlobal,(function(e){function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=n(e),i={name:"fr",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinal:function(e){return ""+e+(1===e?"er":"")}};return t.default.locale(i,null,!0),i}));
56095
+ !function(e,n){module.exports=n(dayjs_minExports);}(commonjsGlobal,(function(e){function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=n(e),i={name:"fr",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinal:function(e){return ""+e+(1===e?"er":"")}};return t.default.locale(i,null,!0),i}));
56059
56096
  } (fr));
56060
56097
 
56061
56098
  customDayjs.extend(isSameOrAfter);
@@ -57486,7 +57523,7 @@ const Box$7 = styled.div`
57486
57523
  display: none;
57487
57524
  }
57488
57525
  .rs-picker-daterange-calendar-group {
57489
- min-width: 495px;
57526
+ min-width: 528px;
57490
57527
  }
57491
57528
  .rs-picker-daterange-calendar-group,
57492
57529
  .rs-picker-daterange-calendar-single {
@@ -58034,7 +58071,7 @@ function MultiCheckbox({ className, disabled = false, error, isErrorMessageHidde
58034
58071
  const nextCheckedOptionValues = isChecked ? [
58035
58072
  ...value || [],
58036
58073
  nextOptionValue
58037
- ] : reject(equals$1(nextOptionValue))(value || []);
58074
+ ] : reject$1(equals$2(nextOptionValue))(value || []);
58038
58075
  const normalizedNextValue = nextCheckedOptionValues.length ? nextCheckedOptionValues : undefined;
58039
58076
  onChange(normalizedNextValue);
58040
58077
  }, [
@@ -58055,8 +58092,8 @@ function MultiCheckbox({ className, disabled = false, error, isErrorMessageHidde
58055
58092
  $hasError: hasError,
58056
58093
  $isInline: isInline,
58057
58094
  children: options.map((option, index)=>/*#__PURE__*/ jsx(Checkbox, {
58058
- checked: includes(option.value, value || []),
58059
- disabled: disabled,
58095
+ checked: includes$1(option.value, value || []),
58096
+ disabled: option.isDisabled || disabled,
58060
58097
  label: option.label,
58061
58098
  name: `${name}${index}`,
58062
58099
  onChange: (isChecked)=>handleChange(option.value, isChecked)
@@ -58402,7 +58439,7 @@ function MultiRadio({ className, disabled = false, error, isErrorMessageHidden =
58402
58439
  $isInline: isInline,
58403
58440
  $isReadOnly: isReadOnly,
58404
58441
  children: options.map((option)=>/*#__PURE__*/ jsx(Radio, {
58405
- checked: equals$1(option.value, value),
58442
+ checked: equals$2(option.value, value),
58406
58443
  disabled: option.isDisabled || disabled,
58407
58444
  name: name,
58408
58445
  onChange: (_, isChecked)=>handleChange(option.value, isChecked),
@@ -58514,7 +58551,7 @@ function MultiZoneEditor({ addButtonLabel, className, defaultValue = [], disable
58514
58551
  onCenter
58515
58552
  ]);
58516
58553
  const deleteZone = useCallback((index)=>{
58517
- const nextZones = remove(index, 1, zones);
58554
+ const nextZones = remove$1(index, 1, zones);
58518
58555
  setZones(nextZones);
58519
58556
  if (onDelete) {
58520
58557
  onDelete(nextZones);
@@ -58534,7 +58571,7 @@ function MultiZoneEditor({ addButtonLabel, className, defaultValue = [], disable
58534
58571
  setZones([]);
58535
58572
  }, []);
58536
58573
  useEffect(()=>{
58537
- if (equals$1(defaultValue, prevDefaultValueRef.current)) {
58574
+ if (equals$2(defaultValue, prevDefaultValueRef.current)) {
58538
58575
  return;
58539
58576
  }
58540
58577
  setZones(defaultValue);
@@ -69516,7 +69553,7 @@ function DMSCoordinatesInput({ coordinates, coordinatesFormat, disabled = false,
69516
69553
  coordinatesFormat
69517
69554
  ]);
69518
69555
  const update = useCallback((nextCoordinates)=>{
69519
- const normalizedNextCoordinates = !isEmpty(nextCoordinates) ? nextCoordinates : undefined;
69556
+ const normalizedNextCoordinates = !isEmpty$1(nextCoordinates) ? nextCoordinates : undefined;
69520
69557
  onChange(normalizedNextCoordinates, coordinates);
69521
69558
  }, [
69522
69559
  coordinates,
@@ -70239,6 +70276,113 @@ function FormikTextInput({ name, ...originalProps }) {
70239
70276
  });
70240
70277
  }
70241
70278
 
70279
+ var ControlUnit;
70280
+ (function(ControlUnit) {
70281
+ (function(ControlUnitContactPredefinedName) {
70282
+ ControlUnitContactPredefinedName["ADJUNCT"] = "Adjoint";
70283
+ ControlUnitContactPredefinedName["BRIDGE"] = "Passerelle";
70284
+ ControlUnitContactPredefinedName["COMMANDER"] = "Commandant";
70285
+ ControlUnitContactPredefinedName["COMMANDER_A"] = "Commandant bord\xe9e A";
70286
+ ControlUnitContactPredefinedName["COMMANDER_B"] = "Commandant bord\xe9e B";
70287
+ ControlUnitContactPredefinedName["CREW_A"] = "\xc9quipage A";
70288
+ ControlUnitContactPredefinedName["CREW_B"] = "\xc9quipage B";
70289
+ ControlUnitContactPredefinedName["DML"] = "DML";
70290
+ ControlUnitContactPredefinedName["DOCK"] = "Quai";
70291
+ ControlUnitContactPredefinedName["LAND"] = "Terre";
70292
+ ControlUnitContactPredefinedName["LAND_ON_CALL"] = "Permanence terre";
70293
+ ControlUnitContactPredefinedName["NEAR_COAST"] = "Proche c\xf4te";
70294
+ ControlUnitContactPredefinedName["OFFICE"] = "Bureau de l’unit\xe9";
70295
+ ControlUnitContactPredefinedName["ONBOARD_PHONE"] = "T\xe9l\xe9phone de bord";
70296
+ ControlUnitContactPredefinedName["ON_CALL"] = "Permanence";
70297
+ ControlUnitContactPredefinedName["OPERATIONAL_CENTER"] = "Centre op\xe9rationnel";
70298
+ ControlUnitContactPredefinedName["OPERATIONAL_CENTER_HNO"] = "Centre op\xe9rationnel - HNO";
70299
+ ControlUnitContactPredefinedName["OPERATIONAL_CENTER_HO"] = "Centre op\xe9rationnel - HO";
70300
+ ControlUnitContactPredefinedName["PERMANENT_CONTACT_ONBOARD"] = "Contact permanent \xe0 bord";
70301
+ ControlUnitContactPredefinedName["SEA"] = "Mer";
70302
+ ControlUnitContactPredefinedName["SECRETARIAT"] = "Secr\xe9tariat";
70303
+ ControlUnitContactPredefinedName["SERVICE_CHIEF"] = "Chef de service";
70304
+ ControlUnitContactPredefinedName["UNIT_CHIEF"] = "Chef d’unit\xe9";
70305
+ ControlUnitContactPredefinedName["UNKNOWN"] = "Nom de contact \xe0 renseigner";
70306
+ })(ControlUnit.ControlUnitContactPredefinedName || (ControlUnit.ControlUnitContactPredefinedName = {}));
70307
+ (function(ControlUnitResourceType) {
70308
+ ControlUnitResourceType["AIRPLANE"] = "AIRPLANE";
70309
+ ControlUnitResourceType["BARGE"] = "BARGE";
70310
+ ControlUnitResourceType["CAR"] = "CAR";
70311
+ ControlUnitResourceType["DRONE"] = "DRONE";
70312
+ ControlUnitResourceType["EQUESTRIAN"] = "EQUESTRIAN";
70313
+ ControlUnitResourceType["FAST_BOAT"] = "FAST_BOAT";
70314
+ ControlUnitResourceType["FRIGATE"] = "FRIGATE";
70315
+ ControlUnitResourceType["HELICOPTER"] = "HELICOPTER";
70316
+ ControlUnitResourceType["HYDROGRAPHIC_SHIP"] = "HYDROGRAPHIC_SHIP";
70317
+ ControlUnitResourceType["KAYAK"] = "KAYAK";
70318
+ ControlUnitResourceType["LIGHT_FAST_BOAT"] = "LIGHT_FAST_BOAT";
70319
+ ControlUnitResourceType["MINE_DIVER"] = "MINE_DIVER";
70320
+ ControlUnitResourceType["MOTORCYCLE"] = "MOTORCYCLE";
70321
+ ControlUnitResourceType["NET_LIFTER"] = "NET_LIFTER";
70322
+ ControlUnitResourceType["NO_RESOURCE"] = "NO_RESOURCE";
70323
+ ControlUnitResourceType["OTHER"] = "OTHER";
70324
+ ControlUnitResourceType["PATROL_BOAT"] = "PATROL_BOAT";
70325
+ ControlUnitResourceType["PEDESTRIAN"] = "PEDESTRIAN";
70326
+ ControlUnitResourceType["PIROGUE"] = "PIROGUE";
70327
+ ControlUnitResourceType["RIGID_HULL"] = "RIGID_HULL";
70328
+ ControlUnitResourceType["SEA_SCOOTER"] = "SEA_SCOOTER";
70329
+ ControlUnitResourceType["SEMI_RIGID"] = "SEMI_RIGID";
70330
+ ControlUnitResourceType["SUPPORT_SHIP"] = "SUPPORT_SHIP";
70331
+ ControlUnitResourceType["TRAINING_SHIP"] = "TRAINING_SHIP";
70332
+ ControlUnitResourceType["TUGBOAT"] = "TUGBOAT";
70333
+ })(ControlUnit.ControlUnitResourceType || (ControlUnit.ControlUnitResourceType = {}));
70334
+ (function(ControlUnitResourceTypeLabel) {
70335
+ ControlUnitResourceTypeLabel["AIRPLANE"] = "Avion";
70336
+ ControlUnitResourceTypeLabel["BARGE"] = "Barge";
70337
+ ControlUnitResourceTypeLabel["CAR"] = "Voiture";
70338
+ ControlUnitResourceTypeLabel["DRONE"] = "Dr\xf4ne";
70339
+ ControlUnitResourceTypeLabel["EQUESTRIAN"] = "\xc9questre";
70340
+ ControlUnitResourceTypeLabel["FAST_BOAT"] = "Vedette";
70341
+ ControlUnitResourceTypeLabel["FRIGATE"] = "Fr\xe9gate";
70342
+ ControlUnitResourceTypeLabel["HELICOPTER"] = "H\xe9licopt\xe8re";
70343
+ ControlUnitResourceTypeLabel["HYDROGRAPHIC_SHIP"] = "B\xe2timent hydrographique";
70344
+ ControlUnitResourceTypeLabel["KAYAK"] = "Kayak";
70345
+ ControlUnitResourceTypeLabel["LIGHT_FAST_BOAT"] = "Vedette l\xe9g\xe8re";
70346
+ ControlUnitResourceTypeLabel["MINE_DIVER"] = "Plongeur d\xe9mineur";
70347
+ ControlUnitResourceTypeLabel["MOTORCYCLE"] = "Moto";
70348
+ ControlUnitResourceTypeLabel["NET_LIFTER"] = "Remonte-filets";
70349
+ ControlUnitResourceTypeLabel["NO_RESOURCE"] = "Aucun moyen";
70350
+ ControlUnitResourceTypeLabel["OTHER"] = "Autre";
70351
+ ControlUnitResourceTypeLabel["PATROL_BOAT"] = "Patrouilleur";
70352
+ ControlUnitResourceTypeLabel["PEDESTRIAN"] = "Pi\xe9ton";
70353
+ ControlUnitResourceTypeLabel["PIROGUE"] = "Pirogue";
70354
+ ControlUnitResourceTypeLabel["RIGID_HULL"] = "Coque rigide";
70355
+ ControlUnitResourceTypeLabel["SEA_SCOOTER"] = "Scooter de mer";
70356
+ ControlUnitResourceTypeLabel["SEMI_RIGID"] = "Semi-rigide";
70357
+ ControlUnitResourceTypeLabel["SUPPORT_SHIP"] = "B\xe2timent de soutien";
70358
+ ControlUnitResourceTypeLabel["TRAINING_SHIP"] = "B\xe2timent-\xe9cole";
70359
+ ControlUnitResourceTypeLabel["TUGBOAT"] = "Remorqueur";
70360
+ })(ControlUnit.ControlUnitResourceTypeLabel || (ControlUnit.ControlUnitResourceTypeLabel = {}));
70361
+ // List of PAM units identifiers
70362
+ // 10141 PAM Gyptis
70363
+ // 10404 PAM Iris
70364
+ // 10121 PAM Jeanne Barret
70365
+ // 10345 PAM Osiris
70366
+ // 10080 PAM Themis
70367
+ ControlUnit.PAMControlUnitIds = [
70368
+ 10141,
70369
+ 10404,
70370
+ 10121,
70371
+ 10345,
70372
+ 10080
70373
+ ];
70374
+ })(ControlUnit || (ControlUnit = {}));
70375
+
70376
+ var Mission;
70377
+ (function(Mission) {
70378
+ (function(MissionSourceEnum) {
70379
+ MissionSourceEnum["MONITORENV"] = "MONITORENV";
70380
+ MissionSourceEnum["MONITORFISH"] = "MONITORFISH";
70381
+ MissionSourceEnum["POSEIDON_CACEM"] = "POSEIDON_CACEM";
70382
+ MissionSourceEnum["POSEIDON_CNSP"] = "POSEIDON_CNSP";
70383
+ })(Mission.MissionSourceEnum || (Mission.MissionSourceEnum = {}));
70384
+ })(Mission || (Mission = {}));
70385
+
70242
70386
  function useFieldControl(value, onChange, defaultValueWhenUndefined) {
70243
70387
  const previousValue = usePrevious(value);
70244
70388
  const [internalValue, setInternalValue] = useState(value);
@@ -76036,6 +76180,15 @@ function isArray(value) {
76036
76180
  return value !== undefined && value !== null;
76037
76181
  }
76038
76182
 
76183
+ /**
76184
+ * Checks if a value is empty or not, including strings with only whitespaces.
76185
+ */ function isEmptyish(value) {
76186
+ if (typeof value === 'string') {
76187
+ return !value.trim().length;
76188
+ }
76189
+ return fp.isEmpty(value);
76190
+ }
76191
+
76039
76192
  function isObject(value) {
76040
76193
  // eslint-disable-next-line no-null/no-null
76041
76194
  return typeof value === 'object' && value !== null && !Array.isArray(value) && value.constructor.name === 'Object';
@@ -76062,7 +76215,7 @@ function logSoftError({ context = {}, isSideWindowError = false, message, origin
76062
76215
  }
76063
76216
 
76064
76217
  const nullifyArrayValues = (list)=>list.map(nullify);
76065
- const nullifyObjectProps = (record)=>pipe$1(toPairs, map(nullifyObjectPropPair), fromPairs)(record);
76218
+ const nullifyObjectProps = (record)=>pipe$1(toPairs$1, map$1(nullifyObjectPropPair), fromPairs$1)(record);
76066
76219
  const nullifyObjectPropPair = ([key, value])=>[
76067
76220
  key,
76068
76221
  nullify(value)
@@ -76097,8 +76250,32 @@ const nullifyObjectPropPair = ([key, value])=>[
76097
76250
  return text + (count > 1 ? 's' : '');
76098
76251
  }
76099
76252
 
76253
+ /**
76254
+ * Same as Lodash `sortBy()` but for collections of objects with localized properties.
76255
+ */ function sortCollectionByLocalizedProps(propPaths, collection) {
76256
+ return collection.sort((a, b)=>{
76257
+ const aPropValues = propPaths.map((propPath)=>fp.property(propPath, a));
76258
+ const bPropValues = propPaths.map((propPath)=>fp.property(propPath, b));
76259
+ const comparisonResult = aPropValues.reduce((result, aNextPropValue, index)=>{
76260
+ // If a previous comparison already found a difference, we don't need to compare the next prop values.
76261
+ if (result !== 0) {
76262
+ return result;
76263
+ }
76264
+ const bNextPropValue = bPropValues[index];
76265
+ if (typeof aNextPropValue === 'number' && typeof bNextPropValue === 'number') {
76266
+ return aNextPropValue - bNextPropValue;
76267
+ }
76268
+ if (typeof aNextPropValue === 'string' && typeof bNextPropValue === 'string') {
76269
+ return aNextPropValue.localeCompare(bNextPropValue);
76270
+ }
76271
+ throw new Error('utils/sortCollectionByLocalizedProps(): Property values must either be numbers or strings.');
76272
+ }, 0);
76273
+ return comparisonResult;
76274
+ });
76275
+ }
76276
+
76100
76277
  const undefineArrayValues = (list)=>list.map(undefine);
76101
- const undefineObjectProps = (record)=>pipe$1(toPairs, map(undefineObjectPropPair), fromPairs)(record);
76278
+ const undefineObjectProps = (record)=>pipe$1(toPairs$1, map$1(undefineObjectPropPair), fromPairs$1)(record);
76102
76279
  const undefineObjectPropPair = ([key, value])=>[
76103
76280
  key,
76104
76281
  undefine(value)
@@ -76124,5 +76301,5 @@ const undefineObjectPropPair = ([key, value])=>[
76124
76301
  return value;
76125
76302
  }
76126
76303
 
76127
- export { Accent, Button$1 as Button, CheckPicker, Checkbox, CoordinatesFormat, CoordinatesInput, CustomSearch, DataTable, DatePicker, DateRangePicker, Dialog, Dropdown, ExclamationPoint, Field$2 as Field, FieldError, Fieldset, FormikCheckbox, FormikCoordinatesInput, FormikDatePicker, FormikDateRangePicker, FormikEffect, FormikMultiCheckbox, FormikMultiRadio, FormikMultiSelect, FormikNumberInput, FormikSearch, FormikSelect, FormikTextInput, FormikTextarea, GlobalStyle, index as Icon, IconButton, Label, Legend, Level, MapMenuDialog, Message, MultiCheckbox, MultiRadio, MultiSelect, MultiZoneEditor, NewWindow, NewWindowContext, NotificationEvent, Notifier, NumberInput, OPENLAYERS_PROJECTION, OnlyFontGlobalStyle, Search, Select, SideMenu, SimpleTable, SingleTag, Size, THEME, TableWithSelectableRows, Tag, TagBullet, TagGroup, TextInput, Textarea, ThemeProvider, WSG84_PROJECTION, cleanString, coordinatesAreDistinct, customDayjs, getCoordinates, getHashFromCollection, getLocalizedDayjs, getOptionsFromIdAndName, getOptionsFromLabelledEnum, getPseudoRandomString, getUtcizedDayjs, isArray, isDefined, isNumeric, isObject, logSoftError, normalizeString, nullify, pluralize, stopMouseEventPropagation, undefine, useClickOutsideEffect, useFieldControl, useForceUpdate, useKey, useNewWindow, usePrevious };
76304
+ export { Accent, Button$1 as Button, CheckPicker, Checkbox, ControlUnit, CoordinatesFormat, CoordinatesInput, CustomSearch, DataTable, DatePicker, DateRangePicker, Dialog, Dropdown, ExclamationPoint, Field$2 as Field, FieldError, Fieldset, FormikCheckbox, FormikCoordinatesInput, FormikDatePicker, FormikDateRangePicker, FormikEffect, FormikMultiCheckbox, FormikMultiRadio, FormikMultiSelect, FormikNumberInput, FormikSearch, FormikSelect, FormikTextInput, FormikTextarea, GlobalStyle, index as Icon, IconButton, Label, Legend, Level, MapMenuDialog, Message, Mission, MultiCheckbox, MultiRadio, MultiSelect, MultiZoneEditor, NewWindow, NewWindowContext, NotificationEvent, Notifier, NumberInput, OPENLAYERS_PROJECTION, OnlyFontGlobalStyle, Search, Select, SideMenu, SimpleTable, SingleTag, Size, THEME, TableWithSelectableRows, Tag, TagBullet, TagGroup, TextInput, Textarea, ThemeProvider, WSG84_PROJECTION, cleanString, coordinatesAreDistinct, customDayjs, getCoordinates, getHashFromCollection, getLocalizedDayjs, getOptionsFromIdAndName, getOptionsFromLabelledEnum, getPseudoRandomString, getUtcizedDayjs, isArray, isDefined, isEmptyish, isNumeric, isObject, logSoftError, normalizeString, nullify, pluralize, sortCollectionByLocalizedProps, stopMouseEventPropagation, undefine, useClickOutsideEffect, useFieldControl, useForceUpdate, useKey, useNewWindow, usePrevious };
76128
76305
  //# sourceMappingURL=index.js.map