@mtes-mct/monitor-ui 5.1.0 → 5.1.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,10 @@
1
+ # [5.1.0](https://github.com/MTES-MCT/monitor-ui/compare/v5.0.0...v5.1.0) (2023-04-11)
2
+
3
+
4
+ ### Features
5
+
6
+ * **utils:** include more plugins in customDayjs() ([4493b00](https://github.com/MTES-MCT/monitor-ui/commit/4493b00c882dd4afb3196fb39dbad22737de13cd))
7
+
1
8
  # [5.0.0](https://github.com/MTES-MCT/monitor-ui/compare/v4.1.0...v5.0.0) (2023-04-11)
2
9
 
3
10
 
package/index.d.ts CHANGED
@@ -1,3 +1,10 @@
1
+ import 'dayjs/plugin/isSameOrAfter';
2
+ import 'dayjs/plugin/isSameOrBefore';
3
+ import 'dayjs/plugin/localeData';
4
+ import 'dayjs/plugin/quarterOfYear';
5
+ import 'dayjs/plugin/timezone';
6
+ import 'dayjs/plugin/updateLocale';
7
+ import 'dayjs/plugin/utc';
1
8
  export { Accent, CoordinatesFormat, Size, OPENLAYERS_PROJECTION, TagBullet, WSG84_PROJECTION } from './constants';
2
9
  export { GlobalStyle } from './GlobalStyle';
3
10
  export { OnlyFontGlobalStyle } from './OnlyFontGlobalStyle';
package/index.js CHANGED
@@ -4,6 +4,96 @@ import React, { useMemo, useCallback, useRef, useEffect, useReducer, useState, f
4
4
  import { Dropdown as Dropdown$1, AutoComplete, Checkbox as Checkbox$1, DatePicker as DatePicker$1, DateRangePicker as DateRangePicker$1, TagPicker, Radio, Input, SelectPicker } from 'rsuite';
5
5
  import { useField, useFormikContext } from 'formik';
6
6
 
7
+ var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
8
+
9
+ function getDefaultExportFromCjs (x) {
10
+ return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
11
+ }
12
+
13
+ var isSameOrAfterExports = {};
14
+ var isSameOrAfter$1 = {
15
+ get exports(){ return isSameOrAfterExports; },
16
+ set exports(v){ isSameOrAfterExports = v; },
17
+ };
18
+
19
+ (function (module, exports) {
20
+ !function(e,t){module.exports=t();}(commonjsGlobal,(function(){return function(e,t){t.prototype.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)};}}));
21
+ } (isSameOrAfter$1));
22
+
23
+ var isSameOrAfter = isSameOrAfterExports;
24
+
25
+ var isSameOrBeforeExports = {};
26
+ var isSameOrBefore$1 = {
27
+ get exports(){ return isSameOrBeforeExports; },
28
+ set exports(v){ isSameOrBeforeExports = v; },
29
+ };
30
+
31
+ (function (module, exports) {
32
+ !function(e,i){module.exports=i();}(commonjsGlobal,(function(){return function(e,i){i.prototype.isSameOrBefore=function(e,i){return this.isSame(e,i)||this.isBefore(e,i)};}}));
33
+ } (isSameOrBefore$1));
34
+
35
+ var isSameOrBefore = isSameOrBeforeExports;
36
+
37
+ var localeDataExports = {};
38
+ var localeData$1 = {
39
+ get exports(){ return localeDataExports; },
40
+ set exports(v){ localeDataExports = v; },
41
+ };
42
+
43
+ (function (module, exports) {
44
+ !function(n,e){module.exports=e();}(commonjsGlobal,(function(){return function(n,e,t){var r=e.prototype,o=function(n){return n&&(n.indexOf?n:n.s)},u=function(n,e,t,r,u){var i=n.name?n:n.$locale(),a=o(i[e]),s=o(i[t]),f=a||s.map((function(n){return n.slice(0,r)}));if(!u)return f;var d=i.weekStart;return f.map((function(n,e){return f[(e+(d||0))%7]}))},i=function(){return t.Ls[t.locale()]},a=function(n,e){return n.formats[e]||function(n){return n.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(n,e,t){return e||t.slice(1)}))}(n.formats[e.toUpperCase()])},s=function(){var n=this;return {months:function(e){return e?e.format("MMMM"):u(n,"months")},monthsShort:function(e){return e?e.format("MMM"):u(n,"monthsShort","months",3)},firstDayOfWeek:function(){return n.$locale().weekStart||0},weekdays:function(e){return e?e.format("dddd"):u(n,"weekdays")},weekdaysMin:function(e){return e?e.format("dd"):u(n,"weekdaysMin","weekdays",2)},weekdaysShort:function(e){return e?e.format("ddd"):u(n,"weekdaysShort","weekdays",3)},longDateFormat:function(e){return a(n.$locale(),e)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};r.localeData=function(){return s.bind(this)()},t.localeData=function(){var n=i();return {firstDayOfWeek:function(){return n.weekStart||0},weekdays:function(){return t.weekdays()},weekdaysShort:function(){return t.weekdaysShort()},weekdaysMin:function(){return t.weekdaysMin()},months:function(){return t.months()},monthsShort:function(){return t.monthsShort()},longDateFormat:function(e){return a(n,e)},meridiem:n.meridiem,ordinal:n.ordinal}},t.months=function(){return u(i(),"months")},t.monthsShort=function(){return u(i(),"monthsShort","months",3)},t.weekdays=function(n){return u(i(),"weekdays",null,null,n)},t.weekdaysShort=function(n){return u(i(),"weekdaysShort","weekdays",3,n)},t.weekdaysMin=function(n){return u(i(),"weekdaysMin","weekdays",2,n)};}}));
45
+ } (localeData$1));
46
+
47
+ var localeData = localeDataExports;
48
+
49
+ var quarterOfYearExports = {};
50
+ var quarterOfYear$1 = {
51
+ get exports(){ return quarterOfYearExports; },
52
+ set exports(v){ quarterOfYearExports = v; },
53
+ };
54
+
55
+ (function (module, exports) {
56
+ !function(t,n){module.exports=n();}(commonjsGlobal,(function(){var t="month",n="quarter";return function(e,i){var r=i.prototype;r.quarter=function(t){return this.$utils().u(t)?Math.ceil((this.month()+1)/3):this.month(this.month()%3+3*(t-1))};var s=r.add;r.add=function(e,i){return e=Number(e),this.$utils().p(i)===n?this.add(3*e,t):s.bind(this)(e,i)};var u=r.startOf;r.startOf=function(e,i){var r=this.$utils(),s=!!r.u(i)||i;if(r.p(e)===n){var o=this.quarter()-1;return s?this.month(3*o).startOf(t).startOf("day"):this.month(3*o+2).endOf(t).endOf("day")}return u.bind(this)(e,i)};}}));
57
+ } (quarterOfYear$1));
58
+
59
+ var quarterOfYear = quarterOfYearExports;
60
+
61
+ var timezoneExports = {};
62
+ var timezone$1 = {
63
+ get exports(){ return timezoneExports; },
64
+ set exports(v){ timezoneExports = v; },
65
+ };
66
+
67
+ (function (module, exports) {
68
+ !function(t,e){module.exports=e();}(commonjsGlobal,(function(){var t={year:0,month:1,day:2,hour:3,minute:4,second:5},e={};return function(n,i,o){var r,a=function(t,n,i){void 0===i&&(i={});var o=new Date(t),r=function(t,n){void 0===n&&(n={});var i=n.timeZoneName||"short",o=t+"|"+i,r=e[o];return r||(r=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:i}),e[o]=r),r}(n,i);return r.formatToParts(o)},u=function(e,n){for(var i=a(e,n),r=[],u=0;u<i.length;u+=1){var f=i[u],s=f.type,m=f.value,c=t[s];c>=0&&(r[c]=parseInt(m,10));}var d=r[3],l=24===d?0:d,v=r[0]+"-"+r[1]+"-"+r[2]+" "+l+":"+r[4]+":"+r[5]+":000",h=+e;return (o.utc(v).valueOf()-(h-=h%1e3))/6e4},f=i.prototype;f.tz=function(t,e){void 0===t&&(t=r);var n=this.utcOffset(),i=this.toDate(),a=i.toLocaleString("en-US",{timeZone:t}),u=Math.round((i-new Date(a))/1e3/60),f=o(a).$set("millisecond",this.$ms).utcOffset(15*-Math.round(i.getTimezoneOffset()/15)-u,!0);if(e){var s=f.utcOffset();f=f.add(n-s,"minute");}return f.$x.$timezone=t,f},f.offsetName=function(t){var e=this.$x.$timezone||o.tz.guess(),n=a(this.valueOf(),e,{timeZoneName:t}).find((function(t){return "timezonename"===t.type.toLowerCase()}));return n&&n.value};var s=f.startOf;f.startOf=function(t,e){if(!this.$x||!this.$x.$timezone)return s.call(this,t,e);var n=o(this.format("YYYY-MM-DD HH:mm:ss:SSS"));return s.call(n,t,e).tz(this.$x.$timezone,!0)},o.tz=function(t,e,n){var i=n&&e,a=n||e||r,f=u(+o(),a);if("string"!=typeof t)return o(t).tz(a);var s=function(t,e,n){var i=t-60*e*1e3,o=u(i,n);if(e===o)return [i,e];var r=u(i-=60*(o-e)*1e3,n);return o===r?[i,o]:[t-60*Math.min(o,r)*1e3,Math.max(o,r)]}(o.utc(t,i).valueOf(),f,a),m=s[0],c=s[1],d=o(m).utcOffset(c);return d.$x.$timezone=a,d},o.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},o.tz.setDefault=function(t){r=t;};}}));
69
+ } (timezone$1));
70
+
71
+ var timezone = timezoneExports;
72
+
73
+ var updateLocaleExports = {};
74
+ var updateLocale$1 = {
75
+ get exports(){ return updateLocaleExports; },
76
+ set exports(v){ updateLocaleExports = v; },
77
+ };
78
+
79
+ (function (module, exports) {
80
+ !function(e,n){module.exports=n();}(commonjsGlobal,(function(){return function(e,n,t){t.updateLocale=function(e,n){var o=t.Ls[e];if(o)return (n?Object.keys(n):[]).forEach((function(e){o[e]=n[e];})),o};}}));
81
+ } (updateLocale$1));
82
+
83
+ var updateLocale = updateLocaleExports;
84
+
85
+ var utcExports = {};
86
+ var utc$1 = {
87
+ get exports(){ return utcExports; },
88
+ set exports(v){ utcExports = v; },
89
+ };
90
+
91
+ (function (module, exports) {
92
+ !function(t,i){module.exports=i();}(commonjsGlobal,(function(){var t="minute",i=/[+-]\d\d(?::?\d\d)?/g,e=/([+-]|\d\d)/g;return function(s,f,n){var u=f.prototype;n.utc=function(t){var i={date:t,utc:!0,args:arguments};return new f(i)},u.utc=function(i){var e=n(this.toDate(),{locale:this.$L,utc:!0});return i?e.add(this.utcOffset(),t):e},u.local=function(){return n(this.toDate(),{locale:this.$L,utc:!1})};var o=u.parse;u.parse=function(t){t.utc&&(this.$u=!0),this.$utils().u(t.$offset)||(this.$offset=t.$offset),o.call(this,t);};var r=u.init;u.init=function(){if(this.$u){var t=this.$d;this.$y=t.getUTCFullYear(),this.$M=t.getUTCMonth(),this.$D=t.getUTCDate(),this.$W=t.getUTCDay(),this.$H=t.getUTCHours(),this.$m=t.getUTCMinutes(),this.$s=t.getUTCSeconds(),this.$ms=t.getUTCMilliseconds();}else r.call(this);};var a=u.utcOffset;u.utcOffset=function(s,f){var n=this.$utils().u;if(n(s))return this.$u?0:n(this.$offset)?a.call(this):this.$offset;if("string"==typeof s&&(s=function(t){void 0===t&&(t="");var s=t.match(i);if(!s)return null;var f=(""+s[0]).match(e)||["-",0,0],n=f[0],u=60*+f[1]+ +f[2];return 0===u?0:"+"===n?u:-u}(s),null===s))return this;var u=Math.abs(s)<=16?60*s:s,o=this;if(f)return o.$offset=u,o.$u=0===s,o;if(0!==s){var r=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(o=this.local().add(u+r,t)).$offset=u,o.$x.$localOffset=r;}else o=this.utc();return o};var h=u.format;u.format=function(t){var i=t||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return h.call(this,i)},u.valueOf=function(){var t=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*t},u.isUTC=function(){return !!this.$u},u.toISOString=function(){return this.toDate().toISOString()},u.toString=function(){return this.toDate().toUTCString()};var l=u.toDate;u.toDate=function(t){return "s"===t&&this.$offset?n(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():l.call(this)};var c=u.diff;u.diff=function(t,i,e){if(t&&this.$u===t.$u)return c.call(this,t,i,e);var s=this.local(),f=n(t).local();return c.call(s,f,i,e)};}}));
93
+ } (utc$1));
94
+
95
+ var utc = utcExports;
96
+
7
97
  var Accent;
8
98
  (function (Accent) {
9
99
  Accent["PRIMARY"] = "PRIMARY";
@@ -2643,73 +2733,73 @@ function Vms({ color, size, ...nativeProps }) {
2643
2733
  }
2644
2734
 
2645
2735
  var index = /*#__PURE__*/Object.freeze({
2646
- __proto__: null,
2647
- ActivityFeed: ActivityFeed,
2648
- Alert: Alert,
2649
- Anchor: Anchor,
2650
- Archive: Archive,
2651
- Attention: Attention,
2652
- Calendar: Calendar,
2653
- Check: Check,
2654
- Chevron: Chevron,
2655
- Clock: Clock,
2656
- Close: Close,
2657
- Confirm: Confirm,
2658
- Control: Control,
2659
- Delete: Delete,
2660
- Display: Display,
2661
- DoubleChevron: DoubleChevron,
2662
- Download: Download,
2663
- Drapeau: Drapeau,
2664
- Duplicate: Duplicate,
2665
- Edit: Edit,
2666
- EditBis: EditBis,
2667
- Favorite: Favorite,
2668
- FilledArrow: FilledArrow,
2669
- Filter: Filter,
2670
- FilterBis: FilterBis,
2671
- Fishery: Fishery,
2672
- FishingEngine: FishingEngine,
2673
- FleetSegment: FleetSegment,
2674
- Focus: Focus,
2675
- FocusVessel: FocusVessel,
2676
- FocusZones: FocusZones,
2677
- Hide: Hide,
2678
- Info: Info,
2679
- Infringement: Infringement,
2680
- Landmark: Landmark,
2681
- List: List,
2682
- MapLayers: MapLayers,
2683
- MeasureAngle: MeasureAngle,
2684
- MeasureBrokenLine: MeasureBrokenLine,
2685
- MeasureCircle: MeasureCircle,
2686
- MeasureLine: MeasureLine,
2687
- Minus: Minus,
2688
- More: More,
2689
- Note: Note,
2690
- Observation: Observation,
2691
- Pin: Pin,
2692
- Pinpoint: Pinpoint,
2693
- PinpointHide: PinpointHide,
2694
- Plane: Plane,
2695
- Plus: Plus,
2696
- Reject: Reject,
2697
- Save: Save,
2698
- Search: Search$1,
2699
- SelectCircle: SelectCircle,
2700
- SelectPolygon: SelectPolygon,
2701
- SelectRectangle: SelectRectangle,
2702
- SelectZone: SelectZone,
2703
- ShowErsMessages: ShowErsMessages,
2704
- ShowXml: ShowXml,
2705
- SortingArrows: SortingArrows,
2706
- Summary: Summary,
2707
- Tag: Tag$1,
2708
- Target: Target,
2709
- Unlock: Unlock,
2710
- Vessel: Vessel,
2711
- ViewOnMap: ViewOnMap,
2712
- Vms: Vms
2736
+ __proto__: null,
2737
+ ActivityFeed: ActivityFeed,
2738
+ Alert: Alert,
2739
+ Anchor: Anchor,
2740
+ Archive: Archive,
2741
+ Attention: Attention,
2742
+ Calendar: Calendar,
2743
+ Check: Check,
2744
+ Chevron: Chevron,
2745
+ Clock: Clock,
2746
+ Close: Close,
2747
+ Confirm: Confirm,
2748
+ Control: Control,
2749
+ Delete: Delete,
2750
+ Display: Display,
2751
+ DoubleChevron: DoubleChevron,
2752
+ Download: Download,
2753
+ Drapeau: Drapeau,
2754
+ Duplicate: Duplicate,
2755
+ Edit: Edit,
2756
+ EditBis: EditBis,
2757
+ Favorite: Favorite,
2758
+ FilledArrow: FilledArrow,
2759
+ Filter: Filter,
2760
+ FilterBis: FilterBis,
2761
+ Fishery: Fishery,
2762
+ FishingEngine: FishingEngine,
2763
+ FleetSegment: FleetSegment,
2764
+ Focus: Focus,
2765
+ FocusVessel: FocusVessel,
2766
+ FocusZones: FocusZones,
2767
+ Hide: Hide,
2768
+ Info: Info,
2769
+ Infringement: Infringement,
2770
+ Landmark: Landmark,
2771
+ List: List,
2772
+ MapLayers: MapLayers,
2773
+ MeasureAngle: MeasureAngle,
2774
+ MeasureBrokenLine: MeasureBrokenLine,
2775
+ MeasureCircle: MeasureCircle,
2776
+ MeasureLine: MeasureLine,
2777
+ Minus: Minus,
2778
+ More: More,
2779
+ Note: Note,
2780
+ Observation: Observation,
2781
+ Pin: Pin,
2782
+ Pinpoint: Pinpoint,
2783
+ PinpointHide: PinpointHide,
2784
+ Plane: Plane,
2785
+ Plus: Plus,
2786
+ Reject: Reject,
2787
+ Save: Save,
2788
+ Search: Search$1,
2789
+ SelectCircle: SelectCircle,
2790
+ SelectPolygon: SelectPolygon,
2791
+ SelectRectangle: SelectRectangle,
2792
+ SelectZone: SelectZone,
2793
+ ShowErsMessages: ShowErsMessages,
2794
+ ShowXml: ShowXml,
2795
+ SortingArrows: SortingArrows,
2796
+ Summary: Summary,
2797
+ Tag: Tag$1,
2798
+ Target: Target,
2799
+ Unlock: Unlock,
2800
+ Vessel: Vessel,
2801
+ ViewOnMap: ViewOnMap,
2802
+ Vms: Vms
2713
2803
  });
2714
2804
 
2715
2805
  function SingleTag({ children, onDelete }) {
@@ -2752,12 +2842,6 @@ const StyledIconButton = styled(IconButton) `
2752
2842
  }
2753
2843
  `;
2754
2844
 
2755
- var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
2756
-
2757
- function getDefaultExportFromCjs (x) {
2758
- return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
2759
- }
2760
-
2761
2845
  var classnamesExports = {};
2762
2846
  var classnames = {
2763
2847
  get exports(){ return classnamesExports; },
@@ -20961,90 +21045,6 @@ function requireDayjs_min () {
20961
21045
  var dayjs_minExports = requireDayjs_min();
20962
21046
  var customDayjs = /*@__PURE__*/getDefaultExportFromCjs(dayjs_minExports);
20963
21047
 
20964
- var isSameOrAfterExports = {};
20965
- var isSameOrAfter$1 = {
20966
- get exports(){ return isSameOrAfterExports; },
20967
- set exports(v){ isSameOrAfterExports = v; },
20968
- };
20969
-
20970
- (function (module, exports) {
20971
- !function(e,t){module.exports=t();}(commonjsGlobal,(function(){return function(e,t){t.prototype.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)};}}));
20972
- } (isSameOrAfter$1));
20973
-
20974
- var isSameOrAfter = isSameOrAfterExports;
20975
-
20976
- var isSameOrBeforeExports = {};
20977
- var isSameOrBefore$1 = {
20978
- get exports(){ return isSameOrBeforeExports; },
20979
- set exports(v){ isSameOrBeforeExports = v; },
20980
- };
20981
-
20982
- (function (module, exports) {
20983
- !function(e,i){module.exports=i();}(commonjsGlobal,(function(){return function(e,i){i.prototype.isSameOrBefore=function(e,i){return this.isSame(e,i)||this.isBefore(e,i)};}}));
20984
- } (isSameOrBefore$1));
20985
-
20986
- var isSameOrBefore = isSameOrBeforeExports;
20987
-
20988
- var localeDataExports = {};
20989
- var localeData$1 = {
20990
- get exports(){ return localeDataExports; },
20991
- set exports(v){ localeDataExports = v; },
20992
- };
20993
-
20994
- (function (module, exports) {
20995
- !function(n,e){module.exports=e();}(commonjsGlobal,(function(){return function(n,e,t){var r=e.prototype,o=function(n){return n&&(n.indexOf?n:n.s)},u=function(n,e,t,r,u){var i=n.name?n:n.$locale(),a=o(i[e]),s=o(i[t]),f=a||s.map((function(n){return n.slice(0,r)}));if(!u)return f;var d=i.weekStart;return f.map((function(n,e){return f[(e+(d||0))%7]}))},i=function(){return t.Ls[t.locale()]},a=function(n,e){return n.formats[e]||function(n){return n.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(n,e,t){return e||t.slice(1)}))}(n.formats[e.toUpperCase()])},s=function(){var n=this;return {months:function(e){return e?e.format("MMMM"):u(n,"months")},monthsShort:function(e){return e?e.format("MMM"):u(n,"monthsShort","months",3)},firstDayOfWeek:function(){return n.$locale().weekStart||0},weekdays:function(e){return e?e.format("dddd"):u(n,"weekdays")},weekdaysMin:function(e){return e?e.format("dd"):u(n,"weekdaysMin","weekdays",2)},weekdaysShort:function(e){return e?e.format("ddd"):u(n,"weekdaysShort","weekdays",3)},longDateFormat:function(e){return a(n.$locale(),e)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};r.localeData=function(){return s.bind(this)()},t.localeData=function(){var n=i();return {firstDayOfWeek:function(){return n.weekStart||0},weekdays:function(){return t.weekdays()},weekdaysShort:function(){return t.weekdaysShort()},weekdaysMin:function(){return t.weekdaysMin()},months:function(){return t.months()},monthsShort:function(){return t.monthsShort()},longDateFormat:function(e){return a(n,e)},meridiem:n.meridiem,ordinal:n.ordinal}},t.months=function(){return u(i(),"months")},t.monthsShort=function(){return u(i(),"monthsShort","months",3)},t.weekdays=function(n){return u(i(),"weekdays",null,null,n)},t.weekdaysShort=function(n){return u(i(),"weekdaysShort","weekdays",3,n)},t.weekdaysMin=function(n){return u(i(),"weekdaysMin","weekdays",2,n)};}}));
20996
- } (localeData$1));
20997
-
20998
- var localeData = localeDataExports;
20999
-
21000
- var quarterOfYearExports = {};
21001
- var quarterOfYear$1 = {
21002
- get exports(){ return quarterOfYearExports; },
21003
- set exports(v){ quarterOfYearExports = v; },
21004
- };
21005
-
21006
- (function (module, exports) {
21007
- !function(t,n){module.exports=n();}(commonjsGlobal,(function(){var t="month",n="quarter";return function(e,i){var r=i.prototype;r.quarter=function(t){return this.$utils().u(t)?Math.ceil((this.month()+1)/3):this.month(this.month()%3+3*(t-1))};var s=r.add;r.add=function(e,i){return e=Number(e),this.$utils().p(i)===n?this.add(3*e,t):s.bind(this)(e,i)};var u=r.startOf;r.startOf=function(e,i){var r=this.$utils(),s=!!r.u(i)||i;if(r.p(e)===n){var o=this.quarter()-1;return s?this.month(3*o).startOf(t).startOf("day"):this.month(3*o+2).endOf(t).endOf("day")}return u.bind(this)(e,i)};}}));
21008
- } (quarterOfYear$1));
21009
-
21010
- var quarterOfYear = quarterOfYearExports;
21011
-
21012
- var timezoneExports = {};
21013
- var timezone$1 = {
21014
- get exports(){ return timezoneExports; },
21015
- set exports(v){ timezoneExports = v; },
21016
- };
21017
-
21018
- (function (module, exports) {
21019
- !function(t,e){module.exports=e();}(commonjsGlobal,(function(){var t={year:0,month:1,day:2,hour:3,minute:4,second:5},e={};return function(n,i,o){var r,a=function(t,n,i){void 0===i&&(i={});var o=new Date(t),r=function(t,n){void 0===n&&(n={});var i=n.timeZoneName||"short",o=t+"|"+i,r=e[o];return r||(r=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:i}),e[o]=r),r}(n,i);return r.formatToParts(o)},u=function(e,n){for(var i=a(e,n),r=[],u=0;u<i.length;u+=1){var f=i[u],s=f.type,m=f.value,c=t[s];c>=0&&(r[c]=parseInt(m,10));}var d=r[3],l=24===d?0:d,v=r[0]+"-"+r[1]+"-"+r[2]+" "+l+":"+r[4]+":"+r[5]+":000",h=+e;return (o.utc(v).valueOf()-(h-=h%1e3))/6e4},f=i.prototype;f.tz=function(t,e){void 0===t&&(t=r);var n=this.utcOffset(),i=this.toDate(),a=i.toLocaleString("en-US",{timeZone:t}),u=Math.round((i-new Date(a))/1e3/60),f=o(a).$set("millisecond",this.$ms).utcOffset(15*-Math.round(i.getTimezoneOffset()/15)-u,!0);if(e){var s=f.utcOffset();f=f.add(n-s,"minute");}return f.$x.$timezone=t,f},f.offsetName=function(t){var e=this.$x.$timezone||o.tz.guess(),n=a(this.valueOf(),e,{timeZoneName:t}).find((function(t){return "timezonename"===t.type.toLowerCase()}));return n&&n.value};var s=f.startOf;f.startOf=function(t,e){if(!this.$x||!this.$x.$timezone)return s.call(this,t,e);var n=o(this.format("YYYY-MM-DD HH:mm:ss:SSS"));return s.call(n,t,e).tz(this.$x.$timezone,!0)},o.tz=function(t,e,n){var i=n&&e,a=n||e||r,f=u(+o(),a);if("string"!=typeof t)return o(t).tz(a);var s=function(t,e,n){var i=t-60*e*1e3,o=u(i,n);if(e===o)return [i,e];var r=u(i-=60*(o-e)*1e3,n);return o===r?[i,o]:[t-60*Math.min(o,r)*1e3,Math.max(o,r)]}(o.utc(t,i).valueOf(),f,a),m=s[0],c=s[1],d=o(m).utcOffset(c);return d.$x.$timezone=a,d},o.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},o.tz.setDefault=function(t){r=t;};}}));
21020
- } (timezone$1));
21021
-
21022
- var timezone = timezoneExports;
21023
-
21024
- var updateLocaleExports = {};
21025
- var updateLocale$1 = {
21026
- get exports(){ return updateLocaleExports; },
21027
- set exports(v){ updateLocaleExports = v; },
21028
- };
21029
-
21030
- (function (module, exports) {
21031
- !function(e,n){module.exports=n();}(commonjsGlobal,(function(){return function(e,n,t){t.updateLocale=function(e,n){var o=t.Ls[e];if(o)return (n?Object.keys(n):[]).forEach((function(e){o[e]=n[e];})),o};}}));
21032
- } (updateLocale$1));
21033
-
21034
- var updateLocale = updateLocaleExports;
21035
-
21036
- var utcExports = {};
21037
- var utc$1 = {
21038
- get exports(){ return utcExports; },
21039
- set exports(v){ utcExports = v; },
21040
- };
21041
-
21042
- (function (module, exports) {
21043
- !function(t,i){module.exports=i();}(commonjsGlobal,(function(){var t="minute",i=/[+-]\d\d(?::?\d\d)?/g,e=/([+-]|\d\d)/g;return function(s,f,n){var u=f.prototype;n.utc=function(t){var i={date:t,utc:!0,args:arguments};return new f(i)},u.utc=function(i){var e=n(this.toDate(),{locale:this.$L,utc:!0});return i?e.add(this.utcOffset(),t):e},u.local=function(){return n(this.toDate(),{locale:this.$L,utc:!1})};var o=u.parse;u.parse=function(t){t.utc&&(this.$u=!0),this.$utils().u(t.$offset)||(this.$offset=t.$offset),o.call(this,t);};var r=u.init;u.init=function(){if(this.$u){var t=this.$d;this.$y=t.getUTCFullYear(),this.$M=t.getUTCMonth(),this.$D=t.getUTCDate(),this.$W=t.getUTCDay(),this.$H=t.getUTCHours(),this.$m=t.getUTCMinutes(),this.$s=t.getUTCSeconds(),this.$ms=t.getUTCMilliseconds();}else r.call(this);};var a=u.utcOffset;u.utcOffset=function(s,f){var n=this.$utils().u;if(n(s))return this.$u?0:n(this.$offset)?a.call(this):this.$offset;if("string"==typeof s&&(s=function(t){void 0===t&&(t="");var s=t.match(i);if(!s)return null;var f=(""+s[0]).match(e)||["-",0,0],n=f[0],u=60*+f[1]+ +f[2];return 0===u?0:"+"===n?u:-u}(s),null===s))return this;var u=Math.abs(s)<=16?60*s:s,o=this;if(f)return o.$offset=u,o.$u=0===s,o;if(0!==s){var r=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(o=this.local().add(u+r,t)).$offset=u,o.$x.$localOffset=r;}else o=this.utc();return o};var h=u.format;u.format=function(t){var i=t||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return h.call(this,i)},u.valueOf=function(){var t=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*t},u.isUTC=function(){return !!this.$u},u.toISOString=function(){return this.toDate().toISOString()},u.toString=function(){return this.toDate().toUTCString()};var l=u.toDate;u.toDate=function(t){return "s"===t&&this.$offset?n(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():l.call(this)};var c=u.diff;u.diff=function(t,i,e){if(t&&this.$u===t.$u)return c.call(this,t,i,e);var s=this.local(),f=n(t).local();return c.call(s,f,i,e)};}}));
21044
- } (utc$1));
21045
-
21046
- var utc = utcExports;
21047
-
21048
21048
  var frExports = {};
21049
21049
  var fr = {
21050
21050
  get exports(){ return frExports; },