@mtes-mct/monitor-ui 10.12.1 → 10.13.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/CHANGELOG.md +9 -0
- package/cypress/index.js +3 -1
- package/cypress/index.js.map +1 -1
- package/entities/Administration.d.ts +13 -0
- package/entities/Administration.d.ts.map +1 -0
- package/entities/ControlUnit.d.ts +137 -0
- package/entities/ControlUnit.d.ts.map +1 -0
- package/entities/DepartmentArea.d.ts +8 -0
- package/entities/DepartmentArea.d.ts.map +1 -0
- package/entities/Mission.d.ts +9 -0
- package/entities/Mission.d.ts.map +1 -0
- package/entities/Station.d.ts +14 -0
- package/entities/Station.d.ts.map +1 -0
- package/index.d.ts +5 -0
- package/index.d.ts.map +1 -1
- package/index.js +170 -30
- package/index.js.map +1 -1
- package/package.json +3 -3
package/index.js
CHANGED
|
@@ -1033,6 +1033,8 @@ _curry2(function equals(a, b) {
|
|
|
1033
1033
|
return _equals(a, b, [], []);
|
|
1034
1034
|
});
|
|
1035
1035
|
|
|
1036
|
+
var equals$2 = equals$1;
|
|
1037
|
+
|
|
1036
1038
|
function _indexOf(list, a, idx) {
|
|
1037
1039
|
var inf, item; // Array.prototype.indexOf doesn't exist below IE9
|
|
1038
1040
|
|
|
@@ -1090,7 +1092,7 @@ function _indexOf(list, a, idx) {
|
|
|
1090
1092
|
|
|
1091
1093
|
|
|
1092
1094
|
while (idx < list.length) {
|
|
1093
|
-
if (equals$
|
|
1095
|
+
if (equals$2(list[idx], a)) {
|
|
1094
1096
|
return idx;
|
|
1095
1097
|
}
|
|
1096
1098
|
|
|
@@ -1254,6 +1256,8 @@ _curry2(function reject(pred, filterable) {
|
|
|
1254
1256
|
return filter(_complement(pred), filterable);
|
|
1255
1257
|
});
|
|
1256
1258
|
|
|
1259
|
+
var reject$1 = reject;
|
|
1260
|
+
|
|
1257
1261
|
var XMap =
|
|
1258
1262
|
/*#__PURE__*/
|
|
1259
1263
|
function () {
|
|
@@ -1336,6 +1340,8 @@ _dispatchable(['fantasy-land/map', 'map'], _xmap, function map(fn, functor) {
|
|
|
1336
1340
|
}
|
|
1337
1341
|
}));
|
|
1338
1342
|
|
|
1343
|
+
var map$1 = map;
|
|
1344
|
+
|
|
1339
1345
|
function _isString(x) {
|
|
1340
1346
|
return Object.prototype.toString.call(x) === '[object String]';
|
|
1341
1347
|
}
|
|
@@ -1579,6 +1585,8 @@ _curry3(function (xf, acc, list) {
|
|
|
1579
1585
|
return _xReduce(typeof xf === 'function' ? _xwrap(xf) : xf, acc, list);
|
|
1580
1586
|
});
|
|
1581
1587
|
|
|
1588
|
+
var reduce$1 = reduce;
|
|
1589
|
+
|
|
1582
1590
|
var XAny =
|
|
1583
1591
|
/*#__PURE__*/
|
|
1584
1592
|
function () {
|
|
@@ -1660,6 +1668,8 @@ _dispatchable(['any'], _xany, function any(fn, list) {
|
|
|
1660
1668
|
return false;
|
|
1661
1669
|
}));
|
|
1662
1670
|
|
|
1671
|
+
var any$1 = any;
|
|
1672
|
+
|
|
1663
1673
|
function _pipe(f, g) {
|
|
1664
1674
|
return function () {
|
|
1665
1675
|
return g.call(this, f.apply(this, arguments));
|
|
@@ -1759,6 +1769,8 @@ _checkForMethod('tail',
|
|
|
1759
1769
|
/*#__PURE__*/
|
|
1760
1770
|
slice(1, Infinity)));
|
|
1761
1771
|
|
|
1772
|
+
var tail$1 = tail;
|
|
1773
|
+
|
|
1762
1774
|
/**
|
|
1763
1775
|
* Performs left-to-right function composition. The first argument may have
|
|
1764
1776
|
* any arity; the remaining arguments must be unary.
|
|
@@ -1789,7 +1801,7 @@ function pipe$1() {
|
|
|
1789
1801
|
throw new Error('pipe requires at least one argument');
|
|
1790
1802
|
}
|
|
1791
1803
|
|
|
1792
|
-
return _arity(arguments[0].length, reduce(_pipe, arguments[0], tail(arguments)));
|
|
1804
|
+
return _arity(arguments[0].length, reduce$1(_pipe, arguments[0], tail$1(arguments)));
|
|
1793
1805
|
}
|
|
1794
1806
|
|
|
1795
1807
|
function _identity(x) {
|
|
@@ -1820,6 +1832,8 @@ var identity =
|
|
|
1820
1832
|
/*#__PURE__*/
|
|
1821
1833
|
_curry1(_identity);
|
|
1822
1834
|
|
|
1835
|
+
var identity$1 = identity;
|
|
1836
|
+
|
|
1823
1837
|
/**
|
|
1824
1838
|
* Removes the sub-list of `list` starting at index `start` and containing
|
|
1825
1839
|
* `count` elements. _Note that this is not destructive_: it returns a copy of
|
|
@@ -1849,6 +1863,8 @@ _curry3(function remove(start, count, list) {
|
|
|
1849
1863
|
return result;
|
|
1850
1864
|
});
|
|
1851
1865
|
|
|
1866
|
+
var remove$1 = remove;
|
|
1867
|
+
|
|
1852
1868
|
/**
|
|
1853
1869
|
* Tests whether or not an object is a typed array.
|
|
1854
1870
|
*
|
|
@@ -1934,6 +1950,8 @@ _curry1(function fromPairs(pairs) {
|
|
|
1934
1950
|
return result;
|
|
1935
1951
|
});
|
|
1936
1952
|
|
|
1953
|
+
var fromPairs$1 = fromPairs;
|
|
1954
|
+
|
|
1937
1955
|
/**
|
|
1938
1956
|
* Returns `true` if the specified value is equal, in [`R.equals`](#equals)
|
|
1939
1957
|
* terms, to at least one element of the given list; `false` otherwise.
|
|
@@ -1961,6 +1979,8 @@ var includes =
|
|
|
1961
1979
|
/*#__PURE__*/
|
|
1962
1980
|
_curry2(_includes);
|
|
1963
1981
|
|
|
1982
|
+
var includes$1 = includes;
|
|
1983
|
+
|
|
1964
1984
|
/**
|
|
1965
1985
|
* Returns `true` if the given value is its type's empty value; `false`
|
|
1966
1986
|
* otherwise.
|
|
@@ -1987,9 +2007,11 @@ _curry2(_includes);
|
|
|
1987
2007
|
var isEmpty =
|
|
1988
2008
|
/*#__PURE__*/
|
|
1989
2009
|
_curry1(function isEmpty(x) {
|
|
1990
|
-
return x != null && equals$
|
|
2010
|
+
return x != null && equals$2(x, empty(x));
|
|
1991
2011
|
});
|
|
1992
2012
|
|
|
2013
|
+
var isEmpty$1 = isEmpty;
|
|
2014
|
+
|
|
1993
2015
|
/**
|
|
1994
2016
|
* Creates a new object with the own properties of the two provided objects. If
|
|
1995
2017
|
* a key exists in both objects, the provided function is applied to the key
|
|
@@ -2110,6 +2132,8 @@ _curry2(function mergeDeepRight(lObj, rObj) {
|
|
|
2110
2132
|
}, lObj, rObj);
|
|
2111
2133
|
});
|
|
2112
2134
|
|
|
2135
|
+
var mergeDeepRight$1 = mergeDeepRight;
|
|
2136
|
+
|
|
2113
2137
|
/**
|
|
2114
2138
|
* Converts an object into an array of key, value arrays. Only the object's
|
|
2115
2139
|
* own properties are used.
|
|
@@ -2143,9 +2167,11 @@ _curry1(function toPairs(obj) {
|
|
|
2143
2167
|
return pairs;
|
|
2144
2168
|
});
|
|
2145
2169
|
|
|
2170
|
+
var toPairs$1 = toPairs;
|
|
2171
|
+
|
|
2146
2172
|
const UntypedStyledComponentsThemeProvider = ThemeProvider$1;
|
|
2147
2173
|
function ThemeProvider({ children, theme = {} }) {
|
|
2148
|
-
const finalTheme = mergeDeepRight(THEME, theme);
|
|
2174
|
+
const finalTheme = mergeDeepRight$1(THEME, theme);
|
|
2149
2175
|
return /*#__PURE__*/ jsx(UntypedStyledComponentsThemeProvider, {
|
|
2150
2176
|
theme: finalTheme,
|
|
2151
2177
|
children: children
|
|
@@ -34819,7 +34845,7 @@ function Control({ color, size, ...nativeProps }) {
|
|
|
34819
34845
|
});
|
|
34820
34846
|
}
|
|
34821
34847
|
|
|
34822
|
-
function ControlUnit({ color, size, ...nativeProps }) {
|
|
34848
|
+
function ControlUnit$1({ color, size, ...nativeProps }) {
|
|
34823
34849
|
return /*#__PURE__*/ jsx(IconBox, {
|
|
34824
34850
|
$color: color,
|
|
34825
34851
|
$size: size,
|
|
@@ -37751,7 +37777,7 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
37751
37777
|
Comment: Comment,
|
|
37752
37778
|
Confirm: Confirm,
|
|
37753
37779
|
Control: Control,
|
|
37754
|
-
ControlUnit: ControlUnit,
|
|
37780
|
+
ControlUnit: ControlUnit$1,
|
|
37755
37781
|
Delete: Delete,
|
|
37756
37782
|
Display: Display,
|
|
37757
37783
|
Dot: Dot,
|
|
@@ -38260,7 +38286,7 @@ const useClickOutsideEffect = (zoneRefOrzoneRefs, action, baseContainer)=>{
|
|
|
38260
38286
|
const zoneRefs = Array.isArray(zoneRefOrzoneRefs) ? zoneRefOrzoneRefs : [
|
|
38261
38287
|
zoneRefOrzoneRefs
|
|
38262
38288
|
];
|
|
38263
|
-
const isEventTargetInZones = pipe$1(map((zoneRef)=>zoneRef.current && eventTarget ? zoneRef.current.contains(eventTarget) : false), any(identity))(zoneRefs);
|
|
38289
|
+
const isEventTargetInZones = pipe$1(map$1((zoneRef)=>zoneRef.current && eventTarget ? zoneRef.current.contains(eventTarget) : false), any$1(identity$1))(zoneRefs);
|
|
38264
38290
|
if (isEventTargetInZones) {
|
|
38265
38291
|
return;
|
|
38266
38292
|
}
|
|
@@ -56010,6 +56036,20 @@ const Box$d = styled.div`
|
|
|
56010
56036
|
}
|
|
56011
56037
|
> .rs-picker-menu {
|
|
56012
56038
|
max-width: 100%;
|
|
56039
|
+
> .rs-picker-search-bar {
|
|
56040
|
+
> .rs-picker-search-bar-input {
|
|
56041
|
+
background-color: ${(p)=>p.theme.color.white};
|
|
56042
|
+
border: solid 1px ${(p)=>p.theme.color.lightGray};
|
|
56043
|
+
border-radius: 0;
|
|
56044
|
+
font-size: 13px;
|
|
56045
|
+
padding: 4px 8px 6px 8px;
|
|
56046
|
+
}
|
|
56047
|
+
> svg {
|
|
56048
|
+
color: ${(p)=>p.theme.color.lightGray};
|
|
56049
|
+
top: 11px;
|
|
56050
|
+
}
|
|
56051
|
+
}
|
|
56052
|
+
|
|
56013
56053
|
> .rs-picker-check-menu {
|
|
56014
56054
|
padding-top: 6px;
|
|
56015
56055
|
margin: 0;
|
|
@@ -56038,24 +56078,17 @@ const Box$d = styled.div`
|
|
|
56038
56078
|
|
|
56039
56079
|
var dayjs_min = {exports: {}};
|
|
56040
56080
|
|
|
56041
|
-
|
|
56042
|
-
|
|
56043
|
-
|
|
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
|
-
}
|
|
56081
|
+
(function (module, exports) {
|
|
56082
|
+
!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}));
|
|
56083
|
+
} (dayjs_min));
|
|
56051
56084
|
|
|
56052
|
-
var dayjs_minExports =
|
|
56085
|
+
var dayjs_minExports = dayjs_min.exports;
|
|
56053
56086
|
var customDayjs = /*@__PURE__*/getDefaultExportFromCjs(dayjs_minExports);
|
|
56054
56087
|
|
|
56055
56088
|
var fr = {exports: {}};
|
|
56056
56089
|
|
|
56057
56090
|
(function (module, exports) {
|
|
56058
|
-
!function(e,n){module.exports=n(
|
|
56091
|
+
!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
56092
|
} (fr));
|
|
56060
56093
|
|
|
56061
56094
|
customDayjs.extend(isSameOrAfter);
|
|
@@ -57486,7 +57519,7 @@ const Box$7 = styled.div`
|
|
|
57486
57519
|
display: none;
|
|
57487
57520
|
}
|
|
57488
57521
|
.rs-picker-daterange-calendar-group {
|
|
57489
|
-
min-width:
|
|
57522
|
+
min-width: 528px;
|
|
57490
57523
|
}
|
|
57491
57524
|
.rs-picker-daterange-calendar-group,
|
|
57492
57525
|
.rs-picker-daterange-calendar-single {
|
|
@@ -58034,7 +58067,7 @@ function MultiCheckbox({ className, disabled = false, error, isErrorMessageHidde
|
|
|
58034
58067
|
const nextCheckedOptionValues = isChecked ? [
|
|
58035
58068
|
...value || [],
|
|
58036
58069
|
nextOptionValue
|
|
58037
|
-
] : reject(equals$
|
|
58070
|
+
] : reject$1(equals$2(nextOptionValue))(value || []);
|
|
58038
58071
|
const normalizedNextValue = nextCheckedOptionValues.length ? nextCheckedOptionValues : undefined;
|
|
58039
58072
|
onChange(normalizedNextValue);
|
|
58040
58073
|
}, [
|
|
@@ -58055,8 +58088,8 @@ function MultiCheckbox({ className, disabled = false, error, isErrorMessageHidde
|
|
|
58055
58088
|
$hasError: hasError,
|
|
58056
58089
|
$isInline: isInline,
|
|
58057
58090
|
children: options.map((option, index)=>/*#__PURE__*/ jsx(Checkbox, {
|
|
58058
|
-
checked: includes(option.value, value || []),
|
|
58059
|
-
disabled: disabled,
|
|
58091
|
+
checked: includes$1(option.value, value || []),
|
|
58092
|
+
disabled: option.isDisabled || disabled,
|
|
58060
58093
|
label: option.label,
|
|
58061
58094
|
name: `${name}${index}`,
|
|
58062
58095
|
onChange: (isChecked)=>handleChange(option.value, isChecked)
|
|
@@ -58402,7 +58435,7 @@ function MultiRadio({ className, disabled = false, error, isErrorMessageHidden =
|
|
|
58402
58435
|
$isInline: isInline,
|
|
58403
58436
|
$isReadOnly: isReadOnly,
|
|
58404
58437
|
children: options.map((option)=>/*#__PURE__*/ jsx(Radio, {
|
|
58405
|
-
checked: equals$
|
|
58438
|
+
checked: equals$2(option.value, value),
|
|
58406
58439
|
disabled: option.isDisabled || disabled,
|
|
58407
58440
|
name: name,
|
|
58408
58441
|
onChange: (_, isChecked)=>handleChange(option.value, isChecked),
|
|
@@ -58514,7 +58547,7 @@ function MultiZoneEditor({ addButtonLabel, className, defaultValue = [], disable
|
|
|
58514
58547
|
onCenter
|
|
58515
58548
|
]);
|
|
58516
58549
|
const deleteZone = useCallback((index)=>{
|
|
58517
|
-
const nextZones = remove(index, 1, zones);
|
|
58550
|
+
const nextZones = remove$1(index, 1, zones);
|
|
58518
58551
|
setZones(nextZones);
|
|
58519
58552
|
if (onDelete) {
|
|
58520
58553
|
onDelete(nextZones);
|
|
@@ -58534,7 +58567,7 @@ function MultiZoneEditor({ addButtonLabel, className, defaultValue = [], disable
|
|
|
58534
58567
|
setZones([]);
|
|
58535
58568
|
}, []);
|
|
58536
58569
|
useEffect(()=>{
|
|
58537
|
-
if (equals$
|
|
58570
|
+
if (equals$2(defaultValue, prevDefaultValueRef.current)) {
|
|
58538
58571
|
return;
|
|
58539
58572
|
}
|
|
58540
58573
|
setZones(defaultValue);
|
|
@@ -69516,7 +69549,7 @@ function DMSCoordinatesInput({ coordinates, coordinatesFormat, disabled = false,
|
|
|
69516
69549
|
coordinatesFormat
|
|
69517
69550
|
]);
|
|
69518
69551
|
const update = useCallback((nextCoordinates)=>{
|
|
69519
|
-
const normalizedNextCoordinates = !isEmpty(nextCoordinates) ? nextCoordinates : undefined;
|
|
69552
|
+
const normalizedNextCoordinates = !isEmpty$1(nextCoordinates) ? nextCoordinates : undefined;
|
|
69520
69553
|
onChange(normalizedNextCoordinates, coordinates);
|
|
69521
69554
|
}, [
|
|
69522
69555
|
coordinates,
|
|
@@ -70239,6 +70272,113 @@ function FormikTextInput({ name, ...originalProps }) {
|
|
|
70239
70272
|
});
|
|
70240
70273
|
}
|
|
70241
70274
|
|
|
70275
|
+
var ControlUnit;
|
|
70276
|
+
(function(ControlUnit) {
|
|
70277
|
+
(function(ControlUnitContactPredefinedName) {
|
|
70278
|
+
ControlUnitContactPredefinedName["ADJUNCT"] = "Adjoint";
|
|
70279
|
+
ControlUnitContactPredefinedName["BRIDGE"] = "Passerelle";
|
|
70280
|
+
ControlUnitContactPredefinedName["COMMANDER"] = "Commandant";
|
|
70281
|
+
ControlUnitContactPredefinedName["COMMANDER_A"] = "Commandant bord\xe9e A";
|
|
70282
|
+
ControlUnitContactPredefinedName["COMMANDER_B"] = "Commandant bord\xe9e B";
|
|
70283
|
+
ControlUnitContactPredefinedName["CREW_A"] = "\xc9quipage A";
|
|
70284
|
+
ControlUnitContactPredefinedName["CREW_B"] = "\xc9quipage B";
|
|
70285
|
+
ControlUnitContactPredefinedName["DML"] = "DML";
|
|
70286
|
+
ControlUnitContactPredefinedName["DOCK"] = "Quai";
|
|
70287
|
+
ControlUnitContactPredefinedName["LAND"] = "Terre";
|
|
70288
|
+
ControlUnitContactPredefinedName["LAND_ON_CALL"] = "Permanence terre";
|
|
70289
|
+
ControlUnitContactPredefinedName["NEAR_COAST"] = "Proche c\xf4te";
|
|
70290
|
+
ControlUnitContactPredefinedName["OFFICE"] = "Bureau de l’unit\xe9";
|
|
70291
|
+
ControlUnitContactPredefinedName["ONBOARD_PHONE"] = "T\xe9l\xe9phone de bord";
|
|
70292
|
+
ControlUnitContactPredefinedName["ON_CALL"] = "Permanence";
|
|
70293
|
+
ControlUnitContactPredefinedName["OPERATIONAL_CENTER"] = "Centre op\xe9rationnel";
|
|
70294
|
+
ControlUnitContactPredefinedName["OPERATIONAL_CENTER_HNO"] = "Centre op\xe9rationnel - HNO";
|
|
70295
|
+
ControlUnitContactPredefinedName["OPERATIONAL_CENTER_HO"] = "Centre op\xe9rationnel - HO";
|
|
70296
|
+
ControlUnitContactPredefinedName["PERMANENT_CONTACT_ONBOARD"] = "Contact permanent \xe0 bord";
|
|
70297
|
+
ControlUnitContactPredefinedName["SEA"] = "Mer";
|
|
70298
|
+
ControlUnitContactPredefinedName["SECRETARIAT"] = "Secr\xe9tariat";
|
|
70299
|
+
ControlUnitContactPredefinedName["SERVICE_CHIEF"] = "Chef de service";
|
|
70300
|
+
ControlUnitContactPredefinedName["UNIT_CHIEF"] = "Chef d’unit\xe9";
|
|
70301
|
+
ControlUnitContactPredefinedName["UNKNOWN"] = "Nom de contact \xe0 renseigner";
|
|
70302
|
+
})(ControlUnit.ControlUnitContactPredefinedName || (ControlUnit.ControlUnitContactPredefinedName = {}));
|
|
70303
|
+
(function(ControlUnitResourceType) {
|
|
70304
|
+
ControlUnitResourceType["AIRPLANE"] = "AIRPLANE";
|
|
70305
|
+
ControlUnitResourceType["BARGE"] = "BARGE";
|
|
70306
|
+
ControlUnitResourceType["CAR"] = "CAR";
|
|
70307
|
+
ControlUnitResourceType["DRONE"] = "DRONE";
|
|
70308
|
+
ControlUnitResourceType["EQUESTRIAN"] = "EQUESTRIAN";
|
|
70309
|
+
ControlUnitResourceType["FAST_BOAT"] = "FAST_BOAT";
|
|
70310
|
+
ControlUnitResourceType["FRIGATE"] = "FRIGATE";
|
|
70311
|
+
ControlUnitResourceType["HELICOPTER"] = "HELICOPTER";
|
|
70312
|
+
ControlUnitResourceType["HYDROGRAPHIC_SHIP"] = "HYDROGRAPHIC_SHIP";
|
|
70313
|
+
ControlUnitResourceType["KAYAK"] = "KAYAK";
|
|
70314
|
+
ControlUnitResourceType["LIGHT_FAST_BOAT"] = "LIGHT_FAST_BOAT";
|
|
70315
|
+
ControlUnitResourceType["MINE_DIVER"] = "MINE_DIVER";
|
|
70316
|
+
ControlUnitResourceType["MOTORCYCLE"] = "MOTORCYCLE";
|
|
70317
|
+
ControlUnitResourceType["NET_LIFTER"] = "NET_LIFTER";
|
|
70318
|
+
ControlUnitResourceType["NO_RESOURCE"] = "NO_RESOURCE";
|
|
70319
|
+
ControlUnitResourceType["OTHER"] = "OTHER";
|
|
70320
|
+
ControlUnitResourceType["PATROL_BOAT"] = "PATROL_BOAT";
|
|
70321
|
+
ControlUnitResourceType["PEDESTRIAN"] = "PEDESTRIAN";
|
|
70322
|
+
ControlUnitResourceType["PIROGUE"] = "PIROGUE";
|
|
70323
|
+
ControlUnitResourceType["RIGID_HULL"] = "RIGID_HULL";
|
|
70324
|
+
ControlUnitResourceType["SEA_SCOOTER"] = "SEA_SCOOTER";
|
|
70325
|
+
ControlUnitResourceType["SEMI_RIGID"] = "SEMI_RIGID";
|
|
70326
|
+
ControlUnitResourceType["SUPPORT_SHIP"] = "SUPPORT_SHIP";
|
|
70327
|
+
ControlUnitResourceType["TRAINING_SHIP"] = "TRAINING_SHIP";
|
|
70328
|
+
ControlUnitResourceType["TUGBOAT"] = "TUGBOAT";
|
|
70329
|
+
})(ControlUnit.ControlUnitResourceType || (ControlUnit.ControlUnitResourceType = {}));
|
|
70330
|
+
(function(ControlUnitResourceTypeLabel) {
|
|
70331
|
+
ControlUnitResourceTypeLabel["AIRPLANE"] = "Avion";
|
|
70332
|
+
ControlUnitResourceTypeLabel["BARGE"] = "Barge";
|
|
70333
|
+
ControlUnitResourceTypeLabel["CAR"] = "Voiture";
|
|
70334
|
+
ControlUnitResourceTypeLabel["DRONE"] = "Dr\xf4ne";
|
|
70335
|
+
ControlUnitResourceTypeLabel["EQUESTRIAN"] = "\xc9questre";
|
|
70336
|
+
ControlUnitResourceTypeLabel["FAST_BOAT"] = "Vedette";
|
|
70337
|
+
ControlUnitResourceTypeLabel["FRIGATE"] = "Fr\xe9gate";
|
|
70338
|
+
ControlUnitResourceTypeLabel["HELICOPTER"] = "H\xe9licopt\xe8re";
|
|
70339
|
+
ControlUnitResourceTypeLabel["HYDROGRAPHIC_SHIP"] = "B\xe2timent hydrographique";
|
|
70340
|
+
ControlUnitResourceTypeLabel["KAYAK"] = "Kayak";
|
|
70341
|
+
ControlUnitResourceTypeLabel["LIGHT_FAST_BOAT"] = "Vedette l\xe9g\xe8re";
|
|
70342
|
+
ControlUnitResourceTypeLabel["MINE_DIVER"] = "Plongeur d\xe9mineur";
|
|
70343
|
+
ControlUnitResourceTypeLabel["MOTORCYCLE"] = "Moto";
|
|
70344
|
+
ControlUnitResourceTypeLabel["NET_LIFTER"] = "Remonte-filets";
|
|
70345
|
+
ControlUnitResourceTypeLabel["NO_RESOURCE"] = "Aucun moyen";
|
|
70346
|
+
ControlUnitResourceTypeLabel["OTHER"] = "Autre";
|
|
70347
|
+
ControlUnitResourceTypeLabel["PATROL_BOAT"] = "Patrouilleur";
|
|
70348
|
+
ControlUnitResourceTypeLabel["PEDESTRIAN"] = "Pi\xe9ton";
|
|
70349
|
+
ControlUnitResourceTypeLabel["PIROGUE"] = "Pirogue";
|
|
70350
|
+
ControlUnitResourceTypeLabel["RIGID_HULL"] = "Coque rigide";
|
|
70351
|
+
ControlUnitResourceTypeLabel["SEA_SCOOTER"] = "Scooter de mer";
|
|
70352
|
+
ControlUnitResourceTypeLabel["SEMI_RIGID"] = "Semi-rigide";
|
|
70353
|
+
ControlUnitResourceTypeLabel["SUPPORT_SHIP"] = "B\xe2timent de soutien";
|
|
70354
|
+
ControlUnitResourceTypeLabel["TRAINING_SHIP"] = "B\xe2timent-\xe9cole";
|
|
70355
|
+
ControlUnitResourceTypeLabel["TUGBOAT"] = "Remorqueur";
|
|
70356
|
+
})(ControlUnit.ControlUnitResourceTypeLabel || (ControlUnit.ControlUnitResourceTypeLabel = {}));
|
|
70357
|
+
// List of PAM units identifiers
|
|
70358
|
+
// 10141 PAM Gyptis
|
|
70359
|
+
// 10404 PAM Iris
|
|
70360
|
+
// 10121 PAM Jeanne Barret
|
|
70361
|
+
// 10345 PAM Osiris
|
|
70362
|
+
// 10080 PAM Themis
|
|
70363
|
+
ControlUnit.PAMControlUnitIds = [
|
|
70364
|
+
10141,
|
|
70365
|
+
10404,
|
|
70366
|
+
10121,
|
|
70367
|
+
10345,
|
|
70368
|
+
10080
|
|
70369
|
+
];
|
|
70370
|
+
})(ControlUnit || (ControlUnit = {}));
|
|
70371
|
+
|
|
70372
|
+
var Mission;
|
|
70373
|
+
(function(Mission) {
|
|
70374
|
+
(function(MissionSourceEnum) {
|
|
70375
|
+
MissionSourceEnum["MONITORENV"] = "MONITORENV";
|
|
70376
|
+
MissionSourceEnum["MONITORFISH"] = "MONITORFISH";
|
|
70377
|
+
MissionSourceEnum["POSEIDON_CACEM"] = "POSEIDON_CACEM";
|
|
70378
|
+
MissionSourceEnum["POSEIDON_CNSP"] = "POSEIDON_CNSP";
|
|
70379
|
+
})(Mission.MissionSourceEnum || (Mission.MissionSourceEnum = {}));
|
|
70380
|
+
})(Mission || (Mission = {}));
|
|
70381
|
+
|
|
70242
70382
|
function useFieldControl(value, onChange, defaultValueWhenUndefined) {
|
|
70243
70383
|
const previousValue = usePrevious(value);
|
|
70244
70384
|
const [internalValue, setInternalValue] = useState(value);
|
|
@@ -76062,7 +76202,7 @@ function logSoftError({ context = {}, isSideWindowError = false, message, origin
|
|
|
76062
76202
|
}
|
|
76063
76203
|
|
|
76064
76204
|
const nullifyArrayValues = (list)=>list.map(nullify);
|
|
76065
|
-
const nullifyObjectProps = (record)=>pipe$1(toPairs, map(nullifyObjectPropPair), fromPairs)(record);
|
|
76205
|
+
const nullifyObjectProps = (record)=>pipe$1(toPairs$1, map$1(nullifyObjectPropPair), fromPairs$1)(record);
|
|
76066
76206
|
const nullifyObjectPropPair = ([key, value])=>[
|
|
76067
76207
|
key,
|
|
76068
76208
|
nullify(value)
|
|
@@ -76098,7 +76238,7 @@ const nullifyObjectPropPair = ([key, value])=>[
|
|
|
76098
76238
|
}
|
|
76099
76239
|
|
|
76100
76240
|
const undefineArrayValues = (list)=>list.map(undefine);
|
|
76101
|
-
const undefineObjectProps = (record)=>pipe$1(toPairs, map(undefineObjectPropPair), fromPairs)(record);
|
|
76241
|
+
const undefineObjectProps = (record)=>pipe$1(toPairs$1, map$1(undefineObjectPropPair), fromPairs$1)(record);
|
|
76102
76242
|
const undefineObjectPropPair = ([key, value])=>[
|
|
76103
76243
|
key,
|
|
76104
76244
|
undefine(value)
|
|
@@ -76124,5 +76264,5 @@ const undefineObjectPropPair = ([key, value])=>[
|
|
|
76124
76264
|
return value;
|
|
76125
76265
|
}
|
|
76126
76266
|
|
|
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 };
|
|
76267
|
+
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, isNumeric, isObject, logSoftError, normalizeString, nullify, pluralize, stopMouseEventPropagation, undefine, useClickOutsideEffect, useFieldControl, useForceUpdate, useKey, useNewWindow, usePrevious };
|
|
76128
76268
|
//# sourceMappingURL=index.js.map
|