adminator-admin-dashboard 2.7.0 → 2.8.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/dist/main.js CHANGED
@@ -1047,6 +1047,17 @@ function expandRanges(daysOfWeek, startTime, eventDateEnv, calendarDateEnv, fram
1047
1047
  let dayMarker = (0,_internal_common_js__WEBPACK_IMPORTED_MODULE_0__.q)(framingRange.start);
1048
1048
  let endMarker = framingRange.end;
1049
1049
  let instanceStarts = [];
1050
+ // https://github.com/fullcalendar/fullcalendar/issues/7934
1051
+ if (startTime) {
1052
+ if (startTime.milliseconds < 0) {
1053
+ // possible for next-day to have negative business hours that go into current day
1054
+ endMarker = (0,_internal_common_js__WEBPACK_IMPORTED_MODULE_0__.t)(endMarker, 1);
1055
+ }
1056
+ else if (startTime.milliseconds >= 1000 * 60 * 60 * 24) {
1057
+ // possible for prev-day to have >24hr business hours that go into current day
1058
+ dayMarker = (0,_internal_common_js__WEBPACK_IMPORTED_MODULE_0__.t)(dayMarker, -1);
1059
+ }
1060
+ }
1050
1061
  while (dayMarker < endMarker) {
1051
1062
  let instanceStart;
1052
1063
  // if everyday, or this particular day-of-week
@@ -2231,7 +2242,7 @@ function sliceEvents(props, allDay) {
2231
2242
  return (0,_internal_common_js__WEBPACK_IMPORTED_MODULE_0__.ad)(props.eventStore, props.eventUiBases, props.dateProfile.activeRange, allDay ? props.nextDayThreshold : null).fg;
2232
2243
  }
2233
2244
 
2234
- const version = '6.1.17';
2245
+ const version = '6.1.19';
2235
2246
 
2236
2247
 
2237
2248
 
@@ -3819,6 +3830,7 @@ const BASE_OPTION_REFINERS = {
3819
3830
  viewDidMount: identity,
3820
3831
  viewWillUnmount: identity,
3821
3832
  nowIndicator: Boolean,
3833
+ nowIndicatorSnap: identity,
3822
3834
  nowIndicatorClassNames: identity,
3823
3835
  nowIndicatorContent: identity,
3824
3836
  nowIndicatorDidMount: identity,
@@ -4001,6 +4013,7 @@ const BASE_OPTION_DEFAULTS = {
4001
4013
  eventMinWidth: 30,
4002
4014
  eventShortHeight: 30,
4003
4015
  monthStartFormat: { month: 'long', day: 'numeric' },
4016
+ nowIndicatorSnap: 'auto',
4004
4017
  };
4005
4018
  // calendar listeners
4006
4019
  // ------------------
@@ -4221,6 +4234,25 @@ function compareObjs(oldProps, newProps, equalityFuncs = {}) {
4221
4234
  if (oldProps === newProps) {
4222
4235
  return true;
4223
4236
  }
4237
+ // if (debug) {
4238
+ // for (let key in newProps) {
4239
+ // if (key in oldProps && isObjValsEqual(oldProps[key], newProps[key], equalityFuncs[key])) {
4240
+ // // equal
4241
+ // } else {
4242
+ // if (debug) {
4243
+ // console.log('prop difference', key, oldProps[key], newProps[key])
4244
+ // }
4245
+ // }
4246
+ // }
4247
+ // // check for props that were omitted in the new
4248
+ // for (let key in oldProps) {
4249
+ // if (!(key in newProps)) {
4250
+ // if (debug) {
4251
+ // console.log('prop absent', key)
4252
+ // }
4253
+ // }
4254
+ // }
4255
+ // }
4224
4256
  for (let key in newProps) {
4225
4257
  if (key in oldProps && isObjValsEqual(oldProps[key], newProps[key], equalityFuncs[key])) ;
4226
4258
  else {
@@ -4811,13 +4843,14 @@ function buildViewContext(viewSpec, viewApi, viewOptions, dateProfileGenerator,
4811
4843
 
4812
4844
  /* eslint max-classes-per-file: off */
4813
4845
  class PureComponent extends preact__WEBPACK_IMPORTED_MODULE_0__.Component {
4846
+ // debug: boolean
4814
4847
  shouldComponentUpdate(nextProps, nextState) {
4815
- if (this.debug) {
4816
- // eslint-disable-next-line no-console
4817
- console.log(getUnequalProps(nextProps, this.props), getUnequalProps(nextState, this.state));
4818
- }
4819
- return !compareObjs(this.props, nextProps, this.propEquality) ||
4820
- !compareObjs(this.state, nextState, this.stateEquality);
4848
+ const shouldUpdate = !compareObjs(this.props, nextProps, this.propEquality /*, this.debug */) ||
4849
+ !compareObjs(this.state, nextState, this.stateEquality /*, this.debug */);
4850
+ // if (this.debug && shouldUpdate) {
4851
+ // console.log('shouldUpdate!')
4852
+ // }
4853
+ return shouldUpdate;
4821
4854
  }
4822
4855
  // HACK for freakin' React StrictMode
4823
4856
  safeSetState(newState) {
@@ -5057,10 +5090,10 @@ class ViewContainer extends BaseComponent {
5057
5090
  let { props, context } = this;
5058
5091
  let { options } = context;
5059
5092
  let renderProps = { view: context.viewApi };
5060
- return ((0,preact__WEBPACK_IMPORTED_MODULE_0__.createElement)(ContentContainer, Object.assign({}, props, { elTag: props.elTag || 'div', elClasses: [
5093
+ return ((0,preact__WEBPACK_IMPORTED_MODULE_0__.createElement)(ContentContainer, { elRef: props.elRef, elTag: props.elTag || 'div', elAttrs: props.elAttrs, elClasses: [
5061
5094
  ...buildViewClassNames(props.viewSpec),
5062
5095
  ...(props.elClasses || []),
5063
- ], renderProps: renderProps, classNameGenerator: options.viewClassNames, generatorName: undefined, didMount: options.viewDidMount, willUnmount: options.viewWillUnmount }), () => props.children));
5096
+ ], elStyle: props.elStyle, renderProps: renderProps, classNameGenerator: options.viewClassNames, generatorName: undefined, didMount: options.viewDidMount, willUnmount: options.viewWillUnmount }, () => props.children));
5064
5097
  }
5065
5098
  }
5066
5099
  function buildViewClassNames(viewSpec) {
@@ -7237,14 +7270,30 @@ class NowTimer extends preact__WEBPACK_IMPORTED_MODULE_0__.Component {
7237
7270
  computeTiming() {
7238
7271
  let { props, context } = this;
7239
7272
  let unroundedNow = context.nowManager.getDateMarker();
7240
- let currentUnitStart = context.dateEnv.startOf(unroundedNow, props.unit);
7241
- let nextUnitStart = context.dateEnv.add(currentUnitStart, createDuration(1, props.unit));
7242
- let waitMs = nextUnitStart.valueOf() - unroundedNow.valueOf();
7273
+ let { nowIndicatorSnap } = context.options;
7274
+ if (nowIndicatorSnap === 'auto') {
7275
+ nowIndicatorSnap =
7276
+ // large unit?
7277
+ /year|month|week|day/.test(props.unit) ||
7278
+ // if slotDuration 30 mins for example, would NOT appear to snap (legacy behavior)
7279
+ (props.unitValue || 1) === 1;
7280
+ }
7281
+ let nowDate;
7282
+ let waitMs;
7283
+ if (nowIndicatorSnap) {
7284
+ nowDate = context.dateEnv.startOf(unroundedNow, props.unit); // aka currentUnitStart
7285
+ let nextUnitStart = context.dateEnv.add(nowDate, createDuration(1, props.unit));
7286
+ waitMs = nextUnitStart.valueOf() - unroundedNow.valueOf();
7287
+ }
7288
+ else {
7289
+ nowDate = unroundedNow;
7290
+ waitMs = 1000 * 60; // 1 minute
7291
+ }
7243
7292
  // there is a max setTimeout ms value (https://stackoverflow.com/a/3468650/96342)
7244
7293
  // ensure no longer than a day
7245
7294
  waitMs = Math.min(1000 * 60 * 60 * 24, waitMs);
7246
7295
  return {
7247
- state: { nowDate: currentUnitStart, todayRange: buildDayRange(currentUnitStart) },
7296
+ state: { nowDate, todayRange: buildDayRange(nowDate) },
7248
7297
  waitMs,
7249
7298
  };
7250
7299
  }
@@ -9515,8 +9564,11 @@ function getSectionByKey(sections, key) {
9515
9564
  class EventContainer extends BaseComponent {
9516
9565
  constructor() {
9517
9566
  super(...arguments);
9567
+ // memo
9568
+ this.buildPublicEvent = memoize((context, eventDef, eventInstance) => new EventImpl(context, eventDef, eventInstance));
9518
9569
  this.handleEl = (el) => {
9519
9570
  this.el = el;
9571
+ setRef(this.props.elRef, el);
9520
9572
  if (el) {
9521
9573
  setElSeg(el, this.props.seg);
9522
9574
  }
@@ -9529,7 +9581,7 @@ class EventContainer extends BaseComponent {
9529
9581
  const { eventRange } = seg;
9530
9582
  const { ui } = eventRange;
9531
9583
  const renderProps = {
9532
- event: new EventImpl(context, eventRange.def, eventRange.instance),
9584
+ event: this.buildPublicEvent(context, eventRange.def, eventRange.instance),
9533
9585
  view: context.viewApi,
9534
9586
  timeText: props.timeText,
9535
9587
  textColor: ui.textColor,
@@ -9548,11 +9600,11 @@ class EventContainer extends BaseComponent {
9548
9600
  isDragging: Boolean(props.isDragging),
9549
9601
  isResizing: Boolean(props.isResizing),
9550
9602
  };
9551
- return ((0,preact__WEBPACK_IMPORTED_MODULE_0__.createElement)(ContentContainer, Object.assign({}, props /* contains children */, { elRef: this.handleEl, elClasses: [
9603
+ return ((0,preact__WEBPACK_IMPORTED_MODULE_0__.createElement)(ContentContainer, { elRef: this.handleEl, elTag: props.elTag, elAttrs: props.elAttrs, elClasses: [
9552
9604
  ...getEventClassNames(renderProps),
9553
9605
  ...seg.eventRange.ui.classNames,
9554
9606
  ...(props.elClasses || []),
9555
- ], renderProps: renderProps, generatorName: "eventContent", customGenerator: options.eventContent, defaultGenerator: props.defaultGenerator, classNameGenerator: options.eventClassNames, didMount: options.eventDidMount, willUnmount: options.eventWillUnmount })));
9607
+ ], elStyle: props.elStyle, renderProps: renderProps, generatorName: "eventContent", customGenerator: options.eventContent, defaultGenerator: props.defaultGenerator, classNameGenerator: options.eventClassNames, didMount: options.eventDidMount, willUnmount: options.eventWillUnmount }, props.children));
9556
9608
  }
9557
9609
  componentDidUpdate(prevProps) {
9558
9610
  if (this.el && this.props.seg !== prevProps.seg) {
@@ -9579,6 +9631,9 @@ class StandardEvent extends BaseComponent {
9579
9631
  Boolean(eventContentArg.isEndResizable) && ((0,preact__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", { className: "fc-event-resizer fc-event-resizer-end" }))))));
9580
9632
  }
9581
9633
  }
9634
+ StandardEvent.addPropsEquality({
9635
+ seg: isPropsEqual,
9636
+ });
9582
9637
  function renderInnerContent$1(innerProps) {
9583
9638
  return ((0,preact__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", { className: "fc-event-main-frame" },
9584
9639
  innerProps.timeText && ((0,preact__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", { className: "fc-event-time" }, innerProps.timeText)),
@@ -9593,7 +9648,7 @@ const NowIndicatorContainer = (props) => ((0,preact__WEBPACK_IMPORTED_MODULE_0__
9593
9648
  date: context.dateEnv.toDate(props.date),
9594
9649
  view: context.viewApi,
9595
9650
  };
9596
- return ((0,preact__WEBPACK_IMPORTED_MODULE_0__.createElement)(ContentContainer, Object.assign({}, props /* includes children */, { elTag: props.elTag || 'div', renderProps: renderProps, generatorName: "nowIndicatorContent", customGenerator: options.nowIndicatorContent, classNameGenerator: options.nowIndicatorClassNames, didMount: options.nowIndicatorDidMount, willUnmount: options.nowIndicatorWillUnmount })));
9651
+ return ((0,preact__WEBPACK_IMPORTED_MODULE_0__.createElement)(ContentContainer, { elRef: props.elRef, elTag: props.elTag || 'div', elAttrs: props.elAttrs, elClasses: props.elClasses, elStyle: props.elStyle, renderProps: renderProps, generatorName: "nowIndicatorContent", customGenerator: options.nowIndicatorContent, classNameGenerator: options.nowIndicatorClassNames, didMount: options.nowIndicatorDidMount, willUnmount: options.nowIndicatorWillUnmount }, props.children));
9597
9652
  }));
9598
9653
 
9599
9654
  const DAY_NUM_FORMAT = createFormatter({ day: 'numeric' });
@@ -9616,12 +9671,12 @@ class DayCellContainer extends BaseComponent {
9616
9671
  dateEnv: context.dateEnv,
9617
9672
  monthStartFormat: options.monthStartFormat,
9618
9673
  });
9619
- return ((0,preact__WEBPACK_IMPORTED_MODULE_0__.createElement)(ContentContainer, Object.assign({}, props /* includes children */, { elClasses: [
9674
+ return ((0,preact__WEBPACK_IMPORTED_MODULE_0__.createElement)(ContentContainer, { elRef: props.elRef, elTag: props.elTag, elAttrs: Object.assign(Object.assign({}, props.elAttrs), (renderProps.isDisabled ? {} : { 'data-date': formatDayString(props.date) })), elClasses: [
9620
9675
  ...getDayClassNames(renderProps, context.theme),
9621
9676
  ...(props.elClasses || []),
9622
- ], elAttrs: Object.assign(Object.assign({}, props.elAttrs), (renderProps.isDisabled ? {} : { 'data-date': formatDayString(props.date) })), renderProps: renderProps, generatorName: "dayCellContent", customGenerator: options.dayCellContent, defaultGenerator: props.defaultGenerator, classNameGenerator:
9677
+ ], elStyle: props.elStyle, renderProps: renderProps, generatorName: "dayCellContent", customGenerator: options.dayCellContent, defaultGenerator: props.defaultGenerator, classNameGenerator:
9623
9678
  // don't use custom classNames if disabled
9624
- renderProps.isDisabled ? undefined : options.dayCellClassNames, didMount: options.dayCellDidMount, willUnmount: options.dayCellWillUnmount })));
9679
+ renderProps.isDisabled ? undefined : options.dayCellClassNames, didMount: options.dayCellDidMount, willUnmount: options.dayCellWillUnmount }, props.children));
9625
9680
  }
9626
9681
  }
9627
9682
  function hasCustomDayCellContent(options) {
@@ -9658,7 +9713,7 @@ const WeekNumberContainer = (props) => ((0,preact__WEBPACK_IMPORTED_MODULE_0__.c
9658
9713
  let text = dateEnv.format(date, format);
9659
9714
  let renderProps = { num, text, date };
9660
9715
  return ((0,preact__WEBPACK_IMPORTED_MODULE_0__.createElement)(ContentContainer // why isn't WeekNumberContentArg being auto-detected?
9661
- , Object.assign({}, props /* includes children */, { renderProps: renderProps, generatorName: "weekNumberContent", customGenerator: options.weekNumberContent, defaultGenerator: renderInner, classNameGenerator: options.weekNumberClassNames, didMount: options.weekNumberDidMount, willUnmount: options.weekNumberWillUnmount })));
9716
+ , { elRef: props.elRef, elTag: props.elTag, elAttrs: props.elAttrs, elClasses: props.elClasses, elStyle: props.elStyle, renderProps: renderProps, generatorName: "weekNumberContent", customGenerator: options.weekNumberContent, defaultGenerator: renderInner, classNameGenerator: options.weekNumberClassNames, didMount: options.weekNumberDidMount, willUnmount: options.weekNumberWillUnmount }, props.children));
9662
9717
  }));
9663
9718
  function renderInner(innerProps) {
9664
9719
  return innerProps.text;
@@ -10749,7 +10804,7 @@ class TableRows extends _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_
10749
10804
  constructor() {
10750
10805
  super(...arguments);
10751
10806
  this.splitBusinessHourSegs = (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.z)(splitSegsByRow);
10752
- this.splitBgEventSegs = (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.z)(splitSegsByRow);
10807
+ this.splitBgEventSegs = (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.z)(splitAllDaySegsByRow);
10753
10808
  this.splitFgEventSegs = (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.z)(splitSegsByRow);
10754
10809
  this.splitDateSelectionSegs = (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.z)(splitSegsByRow);
10755
10810
  this.splitEventDrag = (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.z)(splitInteractionByRow);
@@ -10773,7 +10828,7 @@ class TableRows extends _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_
10773
10828
  return ((0,_fullcalendar_core_preact_js__WEBPACK_IMPORTED_MODULE_1__.createElement)(_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.a6, { unit: "day" }, (nowDate, todayRange) => ((0,_fullcalendar_core_preact_js__WEBPACK_IMPORTED_MODULE_1__.createElement)(_fullcalendar_core_preact_js__WEBPACK_IMPORTED_MODULE_1__.Fragment, null, props.cells.map((cells, row) => ((0,_fullcalendar_core_preact_js__WEBPACK_IMPORTED_MODULE_1__.createElement)(TableRow, { ref: this.rowRefs.createRef(row), key: cells.length
10774
10829
  ? cells[0].date.toISOString() /* best? or put key on cell? or use diff formatter? */
10775
10830
  : row // in case there are no cells (like when resource view is loading)
10776
- , showDayNumbers: rowCnt > 1, showWeekNumbers: props.showWeekNumbers, todayRange: todayRange, dateProfile: props.dateProfile, cells: cells, renderIntro: props.renderRowIntro, businessHourSegs: businessHourSegsByRow[row], eventSelection: props.eventSelection, bgEventSegs: bgEventSegsByRow[row].filter(isSegAllDay) /* hack */, fgEventSegs: fgEventSegsByRow[row], dateSelectionSegs: dateSelectionSegsByRow[row], eventDrag: eventDragByRow[row], eventResize: eventResizeByRow[row], dayMaxEvents: props.dayMaxEvents, dayMaxEventRows: props.dayMaxEventRows, clientWidth: props.clientWidth, clientHeight: props.clientHeight, cellMinHeight: cellMinHeight, forPrint: props.forPrint })))))));
10831
+ , showDayNumbers: rowCnt > 1, showWeekNumbers: props.showWeekNumbers, todayRange: todayRange, dateProfile: props.dateProfile, cells: cells, renderIntro: props.renderRowIntro, businessHourSegs: businessHourSegsByRow[row], eventSelection: props.eventSelection, bgEventSegs: bgEventSegsByRow[row], fgEventSegs: fgEventSegsByRow[row], dateSelectionSegs: dateSelectionSegsByRow[row], eventDrag: eventDragByRow[row], eventResize: eventResizeByRow[row], dayMaxEvents: props.dayMaxEvents, dayMaxEventRows: props.dayMaxEventRows, clientWidth: props.clientWidth, clientHeight: props.clientHeight, cellMinHeight: cellMinHeight, forPrint: props.forPrint })))))));
10777
10832
  }
10778
10833
  componentDidMount() {
10779
10834
  this.registerInteractiveComponent();
@@ -10842,6 +10897,9 @@ class TableRows extends _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_
10842
10897
  return { start, end };
10843
10898
  }
10844
10899
  }
10900
+ function splitAllDaySegsByRow(segs, rowCnt) {
10901
+ return splitSegsByRow(segs.filter(isSegAllDay), rowCnt);
10902
+ }
10845
10903
  function isSegAllDay(seg) {
10846
10904
  return seg.eventRange.def.allDay;
10847
10905
  }
@@ -11032,12 +11090,12 @@ __webpack_require__.r(__webpack_exports__);
11032
11090
  /* harmony export */ ThirdPartyDraggable: function() { return /* binding */ ThirdPartyDraggable; },
11033
11091
  /* harmony export */ "default": function() { return /* binding */ index; }
11034
11092
  /* harmony export */ });
11035
- /* harmony import */ var _fullcalendar_core_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @fullcalendar/core/index.js */ "../../node_modules/@fullcalendar/core/index.js");
11036
- /* harmony import */ var _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @fullcalendar/core/internal.js */ "../../node_modules/@fullcalendar/core/internal-common.js");
11093
+ /* harmony import */ var _fullcalendar_core_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @fullcalendar/core/index.js */ "../../node_modules/@fullcalendar/core/index.js");
11094
+ /* harmony import */ var _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @fullcalendar/core/internal.js */ "../../node_modules/@fullcalendar/core/internal-common.js");
11037
11095
 
11038
11096
 
11039
11097
 
11040
- _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.bG.touchMouseIgnoreWait = 500;
11098
+ _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.bG.touchMouseIgnoreWait = 500;
11041
11099
  let ignoreMouseDepth = 0;
11042
11100
  let listenerCnt = 0;
11043
11101
  let isWindowTouchMoveCancelled = false;
@@ -11151,7 +11209,7 @@ class PointerDragging {
11151
11209
  }
11152
11210
  };
11153
11211
  this.containerEl = containerEl;
11154
- this.emitter = new _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.F();
11212
+ this.emitter = new _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.F();
11155
11213
  containerEl.addEventListener('mousedown', this.handleMouseDown);
11156
11214
  containerEl.addEventListener('touchstart', this.handleTouchStart, { passive: true });
11157
11215
  listenerCreated();
@@ -11165,7 +11223,7 @@ class PointerDragging {
11165
11223
  let subjectEl = this.querySubjectEl(ev);
11166
11224
  let downEl = ev.target;
11167
11225
  if (subjectEl &&
11168
- (!this.handleSelector || (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.Z)(downEl, this.handleSelector))) {
11226
+ (!this.handleSelector || (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.Z)(downEl, this.handleSelector))) {
11169
11227
  this.subjectEl = subjectEl;
11170
11228
  this.isDragging = true; // do this first so cancelTouchScroll will work
11171
11229
  this.wasTouchScroll = false;
@@ -11182,7 +11240,7 @@ class PointerDragging {
11182
11240
  }
11183
11241
  querySubjectEl(ev) {
11184
11242
  if (this.selector) {
11185
- return (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.Z)(ev.target, this.selector);
11243
+ return (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.Z)(ev.target, this.selector);
11186
11244
  }
11187
11245
  return this.containerEl;
11188
11246
  }
@@ -11286,7 +11344,7 @@ function startIgnoringMouse() {
11286
11344
  ignoreMouseDepth += 1;
11287
11345
  setTimeout(() => {
11288
11346
  ignoreMouseDepth -= 1;
11289
- }, _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.bG.touchMouseIgnoreWait);
11347
+ }, _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.bG.touchMouseIgnoreWait);
11290
11348
  }
11291
11349
  // We want to attach touchmove as early as possible for Safari
11292
11350
  // ----------------------------------------------------------------------------------------------------
@@ -11380,25 +11438,25 @@ class ElementMirror {
11380
11438
  mirrorEl.style.transition =
11381
11439
  'top ' + revertDuration + 'ms,' +
11382
11440
  'left ' + revertDuration + 'ms';
11383
- (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.aN)(mirrorEl, {
11441
+ (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.aN)(mirrorEl, {
11384
11442
  left: finalSourceElRect.left,
11385
11443
  top: finalSourceElRect.top,
11386
11444
  });
11387
- (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.b0)(mirrorEl, () => {
11445
+ (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.b0)(mirrorEl, () => {
11388
11446
  mirrorEl.style.transition = '';
11389
11447
  callback();
11390
11448
  });
11391
11449
  }
11392
11450
  cleanup() {
11393
11451
  if (this.mirrorEl) {
11394
- (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.aM)(this.mirrorEl);
11452
+ (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.aM)(this.mirrorEl);
11395
11453
  this.mirrorEl = null;
11396
11454
  }
11397
11455
  this.sourceEl = null;
11398
11456
  }
11399
11457
  updateElPosition() {
11400
11458
  if (this.sourceEl && this.isVisible) {
11401
- (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.aN)(this.getMirrorEl(), {
11459
+ (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.aN)(this.getMirrorEl(), {
11402
11460
  left: this.sourceElRect.left + this.deltaX,
11403
11461
  top: this.sourceElRect.top + this.deltaY,
11404
11462
  });
@@ -11415,7 +11473,7 @@ class ElementMirror {
11415
11473
  mirrorEl.style.webkitUserSelect = 'none';
11416
11474
  mirrorEl.style.pointerEvents = 'none';
11417
11475
  mirrorEl.classList.add('fc-event-dragging');
11418
- (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.aN)(mirrorEl, {
11476
+ (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.aN)(mirrorEl, {
11419
11477
  position: 'fixed',
11420
11478
  zIndex: this.zIndex,
11421
11479
  visibility: '',
@@ -11440,7 +11498,7 @@ The cache can be in one of two modes:
11440
11498
  - doesListening:false - ignores when the container is scrolled by someone else
11441
11499
  - doesListening:true - watch for scrolling and update the cache
11442
11500
  */
11443
- class ScrollGeomCache extends _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.b9 {
11501
+ class ScrollGeomCache extends _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.b9 {
11444
11502
  constructor(scrollController, doesListening) {
11445
11503
  super();
11446
11504
  this.handleScroll = () => {
@@ -11508,19 +11566,19 @@ class ScrollGeomCache extends _fullcalendar_core_internal_js__WEBPACK_IMPORTED_M
11508
11566
 
11509
11567
  class ElementScrollGeomCache extends ScrollGeomCache {
11510
11568
  constructor(el, doesListening) {
11511
- super(new _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.ba(el), doesListening);
11569
+ super(new _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.ba(el), doesListening);
11512
11570
  }
11513
11571
  getEventTarget() {
11514
11572
  return this.scrollController.el;
11515
11573
  }
11516
11574
  computeClientRect() {
11517
- return (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.b1)(this.scrollController.el);
11575
+ return (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.b1)(this.scrollController.el);
11518
11576
  }
11519
11577
  }
11520
11578
 
11521
11579
  class WindowScrollGeomCache extends ScrollGeomCache {
11522
11580
  constructor(doesListening) {
11523
- super(new _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.bb(), doesListening);
11581
+ super(new _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.bb(), doesListening);
11524
11582
  }
11525
11583
  getEventTarget() {
11526
11584
  return window;
@@ -11724,7 +11782,7 @@ Monitors dragging on an element. Has a number of high-level features:
11724
11782
  - minimum wait time ("delay") before dragging
11725
11783
  - a mirror element that follows the pointer
11726
11784
  */
11727
- class FeaturefulElementDragging extends _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.bF {
11785
+ class FeaturefulElementDragging extends _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.bF {
11728
11786
  constructor(containerEl, selector) {
11729
11787
  super(containerEl);
11730
11788
  this.containerEl = containerEl;
@@ -11744,8 +11802,8 @@ class FeaturefulElementDragging extends _fullcalendar_core_internal_js__WEBPACK_
11744
11802
  this.isInteracting = true;
11745
11803
  this.isDelayEnded = false;
11746
11804
  this.isDistanceSurpassed = false;
11747
- (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.ap)(document.body);
11748
- (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.ar)(document.body);
11805
+ (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.ap)(document.body);
11806
+ (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.ar)(document.body);
11749
11807
  // prevent links from being visited if there's an eventual drag.
11750
11808
  // also prevents selection in older browsers (maybe?).
11751
11809
  // not necessary for touch, besides, browser would complain about passiveness.
@@ -11790,8 +11848,8 @@ class FeaturefulElementDragging extends _fullcalendar_core_internal_js__WEBPACK_
11790
11848
  this.onPointerUp = (ev) => {
11791
11849
  if (this.isInteracting) {
11792
11850
  this.isInteracting = false;
11793
- (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.aq)(document.body);
11794
- (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.as)(document.body);
11851
+ (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.aq)(document.body);
11852
+ (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.as)(document.body);
11795
11853
  this.emitter.trigger('pointerup', ev); // can potentially set mirrorNeedsRevert
11796
11854
  if (this.isDragging) {
11797
11855
  this.autoScroller.stop();
@@ -11886,9 +11944,9 @@ and an determine if a given point is inside the combined clipping rectangle.
11886
11944
  class OffsetTracker {
11887
11945
  constructor(el) {
11888
11946
  this.el = el;
11889
- this.origRect = (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.b4)(el);
11947
+ this.origRect = (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.b4)(el);
11890
11948
  // will work fine for divs that have overflow:hidden
11891
- this.scrollCaches = (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.b3)(el).map((scrollEl) => new ElementScrollGeomCache(scrollEl, true));
11949
+ this.scrollCaches = (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.b3)(el).map((scrollEl) => new ElementScrollGeomCache(scrollEl, true));
11892
11950
  }
11893
11951
  destroy() {
11894
11952
  for (let scrollCache of this.scrollCaches) {
@@ -11913,7 +11971,7 @@ class OffsetTracker {
11913
11971
  let point = { left: pageX, top: pageY };
11914
11972
  for (let scrollCache of this.scrollCaches) {
11915
11973
  if (!isIgnoredClipping(scrollCache.getEventTarget()) &&
11916
- !(0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.aD)(point, scrollCache.clientRect)) {
11974
+ !(0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.aD)(point, scrollCache.clientRect)) {
11917
11975
  return false;
11918
11976
  }
11919
11977
  }
@@ -11992,7 +12050,7 @@ class HitDragging {
11992
12050
  dragging.emitter.on('pointerup', this.handlePointerUp);
11993
12051
  dragging.emitter.on('dragend', this.handleDragEnd);
11994
12052
  this.dragging = dragging;
11995
- this.emitter = new _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.F();
12053
+ this.emitter = new _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.F();
11996
12054
  }
11997
12055
  // sets initialHit
11998
12056
  // sets coordAdjust
@@ -12002,18 +12060,18 @@ class HitDragging {
12002
12060
  let subjectEl = ev.subjectEl;
12003
12061
  let subjectRect;
12004
12062
  if (subjectEl instanceof HTMLElement) { // i.e. not a Document/ShadowRoot
12005
- subjectRect = (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.b4)(subjectEl);
12006
- adjustedPoint = (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.aE)(adjustedPoint, subjectRect);
12063
+ subjectRect = (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.b4)(subjectEl);
12064
+ adjustedPoint = (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.aE)(adjustedPoint, subjectRect);
12007
12065
  }
12008
12066
  let initialHit = this.initialHit = this.queryHitForOffset(adjustedPoint.left, adjustedPoint.top);
12009
12067
  if (initialHit) {
12010
12068
  if (this.useSubjectCenter && subjectRect) {
12011
- let slicedSubjectRect = (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.aC)(subjectRect, initialHit.rect);
12069
+ let slicedSubjectRect = (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.aC)(subjectRect, initialHit.rect);
12012
12070
  if (slicedSubjectRect) {
12013
- adjustedPoint = (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.aF)(slicedSubjectRect);
12071
+ adjustedPoint = (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.aF)(slicedSubjectRect);
12014
12072
  }
12015
12073
  }
12016
- this.coordAdjust = (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.aG)(adjustedPoint, origPoint);
12074
+ this.coordAdjust = (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.aG)(adjustedPoint, origPoint);
12017
12075
  }
12018
12076
  else {
12019
12077
  this.coordAdjust = { left: 0, top: 0 };
@@ -12027,7 +12085,7 @@ class HitDragging {
12027
12085
  }
12028
12086
  }
12029
12087
  prepareHits() {
12030
- this.offsetTrackers = (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.a)(this.droppableStore, (interactionSettings) => {
12088
+ this.offsetTrackers = (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.a)(this.droppableStore, (interactionSettings) => {
12031
12089
  interactionSettings.component.prepareHits();
12032
12090
  return new OffsetTracker(interactionSettings.el);
12033
12091
  });
@@ -12061,7 +12119,7 @@ class HitDragging {
12061
12119
  let hit = component.queryHit(positionLeft, positionTop, width, height);
12062
12120
  if (hit && (
12063
12121
  // make sure the hit is within activeRange, meaning it's not a dead cell
12064
- (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.b7)(hit.dateProfile.activeRange, hit.dateSpan.range)) &&
12122
+ (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.b7)(hit.dateProfile.activeRange, hit.dateSpan.range)) &&
12065
12123
  // Ensure the component we are querying for the hit is accessibly my the pointer
12066
12124
  // Prevents obscured calendars (ex: under a modal dialog) from accepting hit
12067
12125
  // https://github.com/fullcalendar/fullcalendar/issues/5026
@@ -12092,7 +12150,7 @@ function isHitsEqual(hit0, hit1) {
12092
12150
  if (Boolean(hit0) !== Boolean(hit1)) {
12093
12151
  return false;
12094
12152
  }
12095
- return (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.bd)(hit0.dateSpan, hit1.dateSpan);
12153
+ return (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.bd)(hit0.dateSpan, hit1.dateSpan);
12096
12154
  }
12097
12155
 
12098
12156
  function buildDatePointApiWithContext(dateSpan, context) {
@@ -12115,7 +12173,7 @@ function buildDatePointApi(span, dateEnv) {
12115
12173
  Monitors when the user clicks on a specific date/time of a component.
12116
12174
  A pointerdown+pointerup on the same "hit" constitutes a click.
12117
12175
  */
12118
- class DateClicking extends _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.X {
12176
+ class DateClicking extends _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.X {
12119
12177
  constructor(settings) {
12120
12178
  super(settings);
12121
12179
  this.handlePointerDown = (pev) => {
@@ -12140,7 +12198,7 @@ class DateClicking extends _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODU
12140
12198
  // we DO want to watch pointer moves because otherwise finalHit won't get populated
12141
12199
  this.dragging = new FeaturefulElementDragging(settings.el);
12142
12200
  this.dragging.autoScroller.isEnabled = false;
12143
- let hitDragging = this.hitDragging = new HitDragging(this.dragging, (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.bE)(settings));
12201
+ let hitDragging = this.hitDragging = new HitDragging(this.dragging, (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.bE)(settings));
12144
12202
  hitDragging.emitter.on('pointerdown', this.handlePointerDown);
12145
12203
  hitDragging.emitter.on('dragend', this.handleDragEnd);
12146
12204
  }
@@ -12153,7 +12211,7 @@ class DateClicking extends _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODU
12153
12211
  Tracks when the user selects a portion of time of a component,
12154
12212
  constituted by a drag over date cells, with a possible delay at the beginning of the drag.
12155
12213
  */
12156
- class DateSelecting extends _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.X {
12214
+ class DateSelecting extends _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.X {
12157
12215
  constructor(settings) {
12158
12216
  super(settings);
12159
12217
  this.dragSelection = null;
@@ -12182,7 +12240,7 @@ class DateSelecting extends _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MOD
12182
12240
  if (!disallowed) {
12183
12241
  dragSelection = joinHitsIntoSelection(initialHit, hit, context.pluginHooks.dateSelectionTransformers);
12184
12242
  }
12185
- if (!dragSelection || !(0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.bY)(dragSelection, hit.dateProfile, context)) {
12243
+ if (!dragSelection || !(0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.bY)(dragSelection, hit.dateProfile, context)) {
12186
12244
  isInvalid = true;
12187
12245
  dragSelection = null;
12188
12246
  }
@@ -12194,10 +12252,10 @@ class DateSelecting extends _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MOD
12194
12252
  context.dispatch({ type: 'UNSELECT_DATES' });
12195
12253
  }
12196
12254
  if (!isInvalid) {
12197
- (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.au)();
12255
+ (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.au)();
12198
12256
  }
12199
12257
  else {
12200
- (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.av)();
12258
+ (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.av)();
12201
12259
  }
12202
12260
  if (!isFinal) {
12203
12261
  this.dragSelection = dragSelection; // only clear if moved away from all hits while dragging
@@ -12206,7 +12264,7 @@ class DateSelecting extends _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MOD
12206
12264
  this.handlePointerUp = (pev) => {
12207
12265
  if (this.dragSelection) {
12208
12266
  // selection is already rendered, so just need to report selection
12209
- (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.cr)(this.dragSelection, pev, this.component.context);
12267
+ (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.cr)(this.dragSelection, pev, this.component.context);
12210
12268
  this.dragSelection = null;
12211
12269
  }
12212
12270
  };
@@ -12216,7 +12274,7 @@ class DateSelecting extends _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MOD
12216
12274
  dragging.touchScrollAllowed = false;
12217
12275
  dragging.minDistance = options.selectMinDistance || 0;
12218
12276
  dragging.autoScroller.isEnabled = options.dragScroll;
12219
- let hitDragging = this.hitDragging = new HitDragging(this.dragging, (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.bE)(settings));
12277
+ let hitDragging = this.hitDragging = new HitDragging(this.dragging, (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.bE)(settings));
12220
12278
  hitDragging.emitter.on('pointerdown', this.handlePointerDown);
12221
12279
  hitDragging.emitter.on('dragstart', this.handleDragStart);
12222
12280
  hitDragging.emitter.on('hitupdate', this.handleHitUpdate);
@@ -12243,7 +12301,7 @@ function joinHitsIntoSelection(hit0, hit1, dateSelectionTransformers) {
12243
12301
  dateSpan1.range.start,
12244
12302
  dateSpan1.range.end,
12245
12303
  ];
12246
- ms.sort(_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.at);
12304
+ ms.sort(_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.at);
12247
12305
  let props = {};
12248
12306
  for (let transformer of dateSelectionTransformers) {
12249
12307
  let res = transformer(hit0, hit1);
@@ -12259,7 +12317,7 @@ function joinHitsIntoSelection(hit0, hit1, dateSelectionTransformers) {
12259
12317
  return props;
12260
12318
  }
12261
12319
 
12262
- class EventDragging extends _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.X {
12320
+ class EventDragging extends _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.X {
12263
12321
  constructor(settings) {
12264
12322
  super(settings);
12265
12323
  // internal state
@@ -12278,10 +12336,10 @@ class EventDragging extends _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MOD
12278
12336
  let { options } = component.context;
12279
12337
  let initialContext = component.context;
12280
12338
  this.subjectEl = ev.subjectEl;
12281
- let subjectSeg = this.subjectSeg = (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.Y)(ev.subjectEl);
12339
+ let subjectSeg = this.subjectSeg = (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.Y)(ev.subjectEl);
12282
12340
  let eventRange = this.eventRange = subjectSeg.eventRange;
12283
12341
  let eventInstanceId = eventRange.instance.instanceId;
12284
- this.relevantEvents = (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.aT)(initialContext.getCurrentData().eventStore, eventInstanceId);
12342
+ this.relevantEvents = (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.aT)(initialContext.getCurrentData().eventStore, eventInstanceId);
12285
12343
  dragging.minDistance = ev.isTouch ? 0 : options.eventDragMinDistance;
12286
12344
  dragging.delay =
12287
12345
  // only do a touch delay if touch and this event hasn't been selected yet
@@ -12292,11 +12350,11 @@ class EventDragging extends _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MOD
12292
12350
  mirror.parentNode = options.fixedMirrorParent;
12293
12351
  }
12294
12352
  else {
12295
- mirror.parentNode = (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.Z)(origTarget, '.fc');
12353
+ mirror.parentNode = (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.Z)(origTarget, '.fc');
12296
12354
  }
12297
12355
  mirror.revertDuration = options.dragRevertDuration;
12298
12356
  let isValid = component.isValidSegDownEl(origTarget) &&
12299
- !(0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.Z)(origTarget, '.fc-event-resizer'); // NOT on a resizer
12357
+ !(0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.Z)(origTarget, '.fc-event-resizer'); // NOT on a resizer
12300
12358
  dragging.setIgnoreMove(!isValid);
12301
12359
  // disable dragging for elements that are resizable (ie, selectable)
12302
12360
  // but are not draggable
@@ -12321,7 +12379,7 @@ class EventDragging extends _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MOD
12321
12379
  initialContext.calendarApi.unselect(ev); // unselect *date* selection
12322
12380
  initialContext.emitter.trigger('eventDragStart', {
12323
12381
  el: this.subjectEl,
12324
- event: new _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__._(initialContext, eventRange.def, eventRange.instance),
12382
+ event: new _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__._(initialContext, eventRange.def, eventRange.instance),
12325
12383
  jsEvent: ev.origEvent,
12326
12384
  view: initialContext.viewApi,
12327
12385
  });
@@ -12341,7 +12399,7 @@ class EventDragging extends _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MOD
12341
12399
  let isInvalid = false;
12342
12400
  let interaction = {
12343
12401
  affectedEvents: relevantEvents,
12344
- mutatedEvents: (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.H)(),
12402
+ mutatedEvents: (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.H)(),
12345
12403
  isEvent: true,
12346
12404
  };
12347
12405
  if (hit) {
@@ -12351,13 +12409,13 @@ class EventDragging extends _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MOD
12351
12409
  (receivingOptions.editable && receivingOptions.droppable)) {
12352
12410
  mutation = computeEventMutation(initialHit, hit, this.eventRange.instance.range.start, receivingContext.getCurrentData().pluginHooks.eventDragMutationMassagers);
12353
12411
  if (mutation) {
12354
- mutatedRelevantEvents = (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.bV)(relevantEvents, receivingContext.getCurrentData().eventUiBases, mutation, receivingContext);
12412
+ mutatedRelevantEvents = (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.bV)(relevantEvents, receivingContext.getCurrentData().eventUiBases, mutation, receivingContext);
12355
12413
  interaction.mutatedEvents = mutatedRelevantEvents;
12356
- if (!(0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.bX)(interaction, hit.dateProfile, receivingContext)) {
12414
+ if (!(0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.bX)(interaction, hit.dateProfile, receivingContext)) {
12357
12415
  isInvalid = true;
12358
12416
  mutation = null;
12359
12417
  mutatedRelevantEvents = null;
12360
- interaction.mutatedEvents = (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.H)();
12418
+ interaction.mutatedEvents = (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.H)();
12361
12419
  }
12362
12420
  }
12363
12421
  }
@@ -12367,10 +12425,10 @@ class EventDragging extends _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MOD
12367
12425
  }
12368
12426
  this.displayDrag(receivingContext, interaction);
12369
12427
  if (!isInvalid) {
12370
- (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.au)();
12428
+ (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.au)();
12371
12429
  }
12372
12430
  else {
12373
- (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.av)();
12431
+ (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.av)();
12374
12432
  }
12375
12433
  if (!isFinal) {
12376
12434
  if (initialContext === receivingContext && // TODO: write test for this
@@ -12399,7 +12457,7 @@ class EventDragging extends _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MOD
12399
12457
  let { receivingContext, validMutation } = this;
12400
12458
  let eventDef = this.eventRange.def;
12401
12459
  let eventInstance = this.eventRange.instance;
12402
- let eventApi = new _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__._(initialContext, eventDef, eventInstance);
12460
+ let eventApi = new _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__._(initialContext, eventDef, eventInstance);
12403
12461
  let relevantEvents = this.relevantEvents;
12404
12462
  let mutatedRelevantEvents = this.mutatedRelevantEvents;
12405
12463
  let { finalHit } = this.hitDragging;
@@ -12413,7 +12471,7 @@ class EventDragging extends _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MOD
12413
12471
  if (validMutation) {
12414
12472
  // dropped within same calendar
12415
12473
  if (receivingContext === initialContext) {
12416
- let updatedEventApi = new _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__._(initialContext, mutatedRelevantEvents.defs[eventDef.defId], eventInstance ? mutatedRelevantEvents.instances[eventInstance.instanceId] : null);
12474
+ let updatedEventApi = new _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__._(initialContext, mutatedRelevantEvents.defs[eventDef.defId], eventInstance ? mutatedRelevantEvents.instances[eventInstance.instanceId] : null);
12417
12475
  initialContext.dispatch({
12418
12476
  type: 'MERGE_EVENTS',
12419
12477
  eventStore: mutatedRelevantEvents,
@@ -12421,7 +12479,7 @@ class EventDragging extends _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MOD
12421
12479
  let eventChangeArg = {
12422
12480
  oldEvent: eventApi,
12423
12481
  event: updatedEventApi,
12424
- relatedEvents: (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.w)(mutatedRelevantEvents, initialContext, eventInstance),
12482
+ relatedEvents: (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.w)(mutatedRelevantEvents, initialContext, eventInstance),
12425
12483
  revert() {
12426
12484
  initialContext.dispatch({
12427
12485
  type: 'MERGE_EVENTS',
@@ -12440,7 +12498,7 @@ class EventDragging extends _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MOD
12440
12498
  else if (receivingContext) {
12441
12499
  let eventRemoveArg = {
12442
12500
  event: eventApi,
12443
- relatedEvents: (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.w)(relevantEvents, initialContext, eventInstance),
12501
+ relatedEvents: (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.w)(relevantEvents, initialContext, eventInstance),
12444
12502
  revert() {
12445
12503
  initialContext.dispatch({
12446
12504
  type: 'MERGE_EVENTS',
@@ -12456,14 +12514,14 @@ class EventDragging extends _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MOD
12456
12514
  initialContext.emitter.trigger('eventRemove', eventRemoveArg);
12457
12515
  let addedEventDef = mutatedRelevantEvents.defs[eventDef.defId];
12458
12516
  let addedEventInstance = mutatedRelevantEvents.instances[eventInstance.instanceId];
12459
- let addedEventApi = new _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__._(receivingContext, addedEventDef, addedEventInstance);
12517
+ let addedEventApi = new _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__._(receivingContext, addedEventDef, addedEventInstance);
12460
12518
  receivingContext.dispatch({
12461
12519
  type: 'MERGE_EVENTS',
12462
12520
  eventStore: mutatedRelevantEvents,
12463
12521
  });
12464
12522
  let eventAddArg = {
12465
12523
  event: addedEventApi,
12466
- relatedEvents: (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.w)(mutatedRelevantEvents, receivingContext, addedEventInstance),
12524
+ relatedEvents: (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.w)(mutatedRelevantEvents, receivingContext, addedEventInstance),
12467
12525
  revert() {
12468
12526
  receivingContext.dispatch({
12469
12527
  type: 'REMOVE_EVENTS',
@@ -12494,7 +12552,7 @@ class EventDragging extends _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MOD
12494
12552
  dragging.pointer.selector = EventDragging.SELECTOR;
12495
12553
  dragging.touchScrollAllowed = false;
12496
12554
  dragging.autoScroller.isEnabled = options.dragScroll;
12497
- let hitDragging = this.hitDragging = new HitDragging(this.dragging, _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.a5);
12555
+ let hitDragging = this.hitDragging = new HitDragging(this.dragging, _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.a5);
12498
12556
  hitDragging.useSubjectCenter = settings.useEventCenter;
12499
12557
  hitDragging.emitter.on('pointerdown', this.handlePointerDown);
12500
12558
  hitDragging.emitter.on('dragstart', this.handleDragStart);
@@ -12518,7 +12576,7 @@ class EventDragging extends _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MOD
12518
12576
  type: 'SET_EVENT_DRAG',
12519
12577
  state: {
12520
12578
  affectedEvents: state.affectedEvents,
12521
- mutatedEvents: (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.H)(),
12579
+ mutatedEvents: (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.H)(),
12522
12580
  isEvent: true,
12523
12581
  },
12524
12582
  });
@@ -12568,7 +12626,7 @@ function computeEventMutation(hit0, hit1, eventInstanceStart, massagers) {
12568
12626
  if (dateSpan1.allDay) {
12569
12627
  // means date1 is already start-of-day,
12570
12628
  // but date0 needs to be converted
12571
- date0 = (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.q)(eventInstanceStart);
12629
+ date0 = (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.q)(eventInstanceStart);
12572
12630
  }
12573
12631
  else {
12574
12632
  // Moving from allDate->timed
@@ -12576,7 +12634,7 @@ function computeEventMutation(hit0, hit1, eventInstanceStart, massagers) {
12576
12634
  date0 = eventInstanceStart;
12577
12635
  }
12578
12636
  }
12579
- let delta = (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.ay)(date0, date1, hit0.context.dateEnv, hit0.componentId === hit1.componentId ?
12637
+ let delta = (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.ay)(date0, date1, hit0.context.dateEnv, hit0.componentId === hit1.componentId ?
12580
12638
  hit0.largeUnit :
12581
12639
  null);
12582
12640
  if (delta.milliseconds) { // has hours/minutes/seconds
@@ -12600,7 +12658,7 @@ function getComponentTouchDelay(component) {
12600
12658
  return delay;
12601
12659
  }
12602
12660
 
12603
- class EventResizing extends _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.X {
12661
+ class EventResizing extends _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.X {
12604
12662
  constructor(settings) {
12605
12663
  super(settings);
12606
12664
  // internal state
@@ -12613,7 +12671,7 @@ class EventResizing extends _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MOD
12613
12671
  this.handlePointerDown = (ev) => {
12614
12672
  let { component } = this;
12615
12673
  let segEl = this.querySegEl(ev);
12616
- let seg = (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.Y)(segEl);
12674
+ let seg = (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.Y)(segEl);
12617
12675
  let eventRange = this.eventRange = seg.eventRange;
12618
12676
  this.dragging.minDistance = component.context.options.eventDragMinDistance;
12619
12677
  // if touch, need to be working with a selected event
@@ -12623,14 +12681,14 @@ class EventResizing extends _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MOD
12623
12681
  this.handleDragStart = (ev) => {
12624
12682
  let { context } = this.component;
12625
12683
  let eventRange = this.eventRange;
12626
- this.relevantEvents = (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.aT)(context.getCurrentData().eventStore, this.eventRange.instance.instanceId);
12684
+ this.relevantEvents = (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.aT)(context.getCurrentData().eventStore, this.eventRange.instance.instanceId);
12627
12685
  let segEl = this.querySegEl(ev);
12628
12686
  this.draggingSegEl = segEl;
12629
- this.draggingSeg = (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.Y)(segEl);
12687
+ this.draggingSeg = (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.Y)(segEl);
12630
12688
  context.calendarApi.unselect();
12631
12689
  context.emitter.trigger('eventResizeStart', {
12632
12690
  el: segEl,
12633
- event: new _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__._(context, eventRange.def, eventRange.instance),
12691
+ event: new _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__._(context, eventRange.def, eventRange.instance),
12634
12692
  jsEvent: ev.origEvent,
12635
12693
  view: context.viewApi,
12636
12694
  });
@@ -12645,7 +12703,7 @@ class EventResizing extends _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MOD
12645
12703
  let isInvalid = false;
12646
12704
  let interaction = {
12647
12705
  affectedEvents: relevantEvents,
12648
- mutatedEvents: (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.H)(),
12706
+ mutatedEvents: (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.H)(),
12649
12707
  isEvent: true,
12650
12708
  };
12651
12709
  if (hit) {
@@ -12657,9 +12715,9 @@ class EventResizing extends _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MOD
12657
12715
  }
12658
12716
  }
12659
12717
  if (mutation) {
12660
- mutatedRelevantEvents = (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.bV)(relevantEvents, context.getCurrentData().eventUiBases, mutation, context);
12718
+ mutatedRelevantEvents = (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.bV)(relevantEvents, context.getCurrentData().eventUiBases, mutation, context);
12661
12719
  interaction.mutatedEvents = mutatedRelevantEvents;
12662
- if (!(0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.bX)(interaction, hit.dateProfile, context)) {
12720
+ if (!(0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.bX)(interaction, hit.dateProfile, context)) {
12663
12721
  isInvalid = true;
12664
12722
  mutation = null;
12665
12723
  mutatedRelevantEvents = null;
@@ -12676,10 +12734,10 @@ class EventResizing extends _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MOD
12676
12734
  context.dispatch({ type: 'UNSET_EVENT_RESIZE' });
12677
12735
  }
12678
12736
  if (!isInvalid) {
12679
- (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.au)();
12737
+ (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.au)();
12680
12738
  }
12681
12739
  else {
12682
- (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.av)();
12740
+ (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.av)();
12683
12741
  }
12684
12742
  if (!isFinal) {
12685
12743
  if (mutation && isHitsEqual(initialHit, hit)) {
@@ -12693,7 +12751,7 @@ class EventResizing extends _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MOD
12693
12751
  let { context } = this.component;
12694
12752
  let eventDef = this.eventRange.def;
12695
12753
  let eventInstance = this.eventRange.instance;
12696
- let eventApi = new _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__._(context, eventDef, eventInstance);
12754
+ let eventApi = new _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__._(context, eventDef, eventInstance);
12697
12755
  let relevantEvents = this.relevantEvents;
12698
12756
  let mutatedRelevantEvents = this.mutatedRelevantEvents;
12699
12757
  context.emitter.trigger('eventResizeStop', {
@@ -12703,7 +12761,7 @@ class EventResizing extends _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MOD
12703
12761
  view: context.viewApi,
12704
12762
  });
12705
12763
  if (this.validMutation) {
12706
- let updatedEventApi = new _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__._(context, mutatedRelevantEvents.defs[eventDef.defId], eventInstance ? mutatedRelevantEvents.instances[eventInstance.instanceId] : null);
12764
+ let updatedEventApi = new _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__._(context, mutatedRelevantEvents.defs[eventDef.defId], eventInstance ? mutatedRelevantEvents.instances[eventInstance.instanceId] : null);
12707
12765
  context.dispatch({
12708
12766
  type: 'MERGE_EVENTS',
12709
12767
  eventStore: mutatedRelevantEvents,
@@ -12711,7 +12769,7 @@ class EventResizing extends _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MOD
12711
12769
  let eventChangeArg = {
12712
12770
  oldEvent: eventApi,
12713
12771
  event: updatedEventApi,
12714
- relatedEvents: (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.w)(mutatedRelevantEvents, context, eventInstance),
12772
+ relatedEvents: (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.w)(mutatedRelevantEvents, context, eventInstance),
12715
12773
  revert() {
12716
12774
  context.dispatch({
12717
12775
  type: 'MERGE_EVENTS',
@@ -12719,7 +12777,7 @@ class EventResizing extends _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MOD
12719
12777
  });
12720
12778
  },
12721
12779
  };
12722
- context.emitter.trigger('eventResize', Object.assign(Object.assign({}, eventChangeArg), { el: this.draggingSegEl, startDelta: this.validMutation.startDelta || (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.d)(0), endDelta: this.validMutation.endDelta || (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.d)(0), jsEvent: ev.origEvent, view: context.viewApi }));
12780
+ context.emitter.trigger('eventResize', Object.assign(Object.assign({}, eventChangeArg), { el: this.draggingSegEl, startDelta: this.validMutation.startDelta || (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.d)(0), endDelta: this.validMutation.endDelta || (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.d)(0), jsEvent: ev.origEvent, view: context.viewApi }));
12723
12781
  context.emitter.trigger('eventChange', eventChangeArg);
12724
12782
  }
12725
12783
  else {
@@ -12736,7 +12794,7 @@ class EventResizing extends _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MOD
12736
12794
  dragging.pointer.selector = '.fc-event-resizer';
12737
12795
  dragging.touchScrollAllowed = false;
12738
12796
  dragging.autoScroller.isEnabled = component.context.options.dragScroll;
12739
- let hitDragging = this.hitDragging = new HitDragging(this.dragging, (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.bE)(settings));
12797
+ let hitDragging = this.hitDragging = new HitDragging(this.dragging, (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.bE)(settings));
12740
12798
  hitDragging.emitter.on('pointerdown', this.handlePointerDown);
12741
12799
  hitDragging.emitter.on('dragstart', this.handleDragStart);
12742
12800
  hitDragging.emitter.on('hitupdate', this.handleHitUpdate);
@@ -12746,14 +12804,14 @@ class EventResizing extends _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MOD
12746
12804
  this.dragging.destroy();
12747
12805
  }
12748
12806
  querySegEl(ev) {
12749
- return (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.Z)(ev.subjectEl, '.fc-event');
12807
+ return (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.Z)(ev.subjectEl, '.fc-event');
12750
12808
  }
12751
12809
  }
12752
12810
  function computeMutation(hit0, hit1, isFromStart, instanceRange) {
12753
12811
  let dateEnv = hit0.context.dateEnv;
12754
12812
  let date0 = hit0.dateSpan.range.start;
12755
12813
  let date1 = hit1.dateSpan.range.start;
12756
- let delta = (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.ay)(date0, date1, dateEnv, hit0.largeUnit);
12814
+ let delta = (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.ay)(date0, date1, dateEnv, hit0.largeUnit);
12757
12815
  if (isFromStart) {
12758
12816
  if (dateEnv.add(instanceRange.start, delta) < instanceRange.end) {
12759
12817
  return { startDelta: delta };
@@ -12778,9 +12836,9 @@ class UnselectAuto {
12778
12836
  };
12779
12837
  this.onDocumentPointerDown = (pev) => {
12780
12838
  let unselectCancel = this.context.options.unselectCancel;
12781
- let downEl = (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.aP)(pev.origEvent);
12782
- this.matchesCancel = !!(0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.Z)(downEl, unselectCancel);
12783
- this.matchesEvent = !!(0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.Z)(downEl, EventDragging.SELECTOR); // interaction started on an event?
12839
+ let downEl = (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.aP)(pev.origEvent);
12840
+ this.matchesCancel = !!(0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.Z)(downEl, unselectCancel);
12841
+ this.matchesEvent = !!(0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.Z)(downEl, EventDragging.SELECTOR); // interaction started on an event?
12784
12842
  };
12785
12843
  this.onDocumentPointerUp = (pev) => {
12786
12844
  let { context } = this;
@@ -12821,19 +12879,19 @@ class UnselectAuto {
12821
12879
  }
12822
12880
 
12823
12881
  const OPTION_REFINERS = {
12824
- fixedMirrorParent: _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.n,
12882
+ fixedMirrorParent: _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.n,
12825
12883
  };
12826
12884
  const LISTENER_REFINERS = {
12827
- dateClick: _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.n,
12828
- eventDragStart: _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.n,
12829
- eventDragStop: _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.n,
12830
- eventDrop: _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.n,
12831
- eventResizeStart: _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.n,
12832
- eventResizeStop: _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.n,
12833
- eventResize: _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.n,
12834
- drop: _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.n,
12835
- eventReceive: _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.n,
12836
- eventLeave: _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.n,
12885
+ dateClick: _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.n,
12886
+ eventDragStart: _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.n,
12887
+ eventDragStop: _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.n,
12888
+ eventDrop: _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.n,
12889
+ eventResizeStart: _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.n,
12890
+ eventResizeStop: _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.n,
12891
+ eventResize: _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.n,
12892
+ drop: _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.n,
12893
+ eventReceive: _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.n,
12894
+ eventLeave: _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.n,
12837
12895
  };
12838
12896
 
12839
12897
  /*
@@ -12856,18 +12914,18 @@ class ExternalElementDragging {
12856
12914
  let droppableEvent = null;
12857
12915
  let isInvalid = false;
12858
12916
  let interaction = {
12859
- affectedEvents: (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.H)(),
12860
- mutatedEvents: (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.H)(),
12917
+ affectedEvents: (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.H)(),
12918
+ mutatedEvents: (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.H)(),
12861
12919
  isEvent: this.dragMeta.create,
12862
12920
  };
12863
12921
  if (hit) {
12864
12922
  receivingContext = hit.context;
12865
12923
  if (this.canDropElOnCalendar(ev.subjectEl, receivingContext)) {
12866
12924
  droppableEvent = computeEventForDateSpan(hit.dateSpan, this.dragMeta, receivingContext);
12867
- interaction.mutatedEvents = (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.aU)(droppableEvent);
12868
- isInvalid = !(0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.bX)(interaction, hit.dateProfile, receivingContext);
12925
+ interaction.mutatedEvents = (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.aU)(droppableEvent);
12926
+ isInvalid = !(0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.bX)(interaction, hit.dateProfile, receivingContext);
12869
12927
  if (isInvalid) {
12870
- interaction.mutatedEvents = (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.H)();
12928
+ interaction.mutatedEvents = (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.H)();
12871
12929
  droppableEvent = null;
12872
12930
  }
12873
12931
  }
@@ -12877,10 +12935,10 @@ class ExternalElementDragging {
12877
12935
  // TODO: wish we could somehow wait for dispatch to guarantee render
12878
12936
  dragging.setMirrorIsVisible(isFinal || !droppableEvent || !document.querySelector('.fc-event-mirror'));
12879
12937
  if (!isInvalid) {
12880
- (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.au)();
12938
+ (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.au)();
12881
12939
  }
12882
12940
  else {
12883
- (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.av)();
12941
+ (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.av)();
12884
12942
  }
12885
12943
  if (!isFinal) {
12886
12944
  dragging.setMirrorNeedsRevert(!droppableEvent);
@@ -12897,7 +12955,7 @@ class ExternalElementDragging {
12897
12955
  let dragMeta = this.dragMeta;
12898
12956
  receivingContext.emitter.trigger('drop', Object.assign(Object.assign({}, buildDatePointApiWithContext(finalHit.dateSpan, receivingContext)), { draggedEl: pev.subjectEl, jsEvent: pev.origEvent, view: finalView }));
12899
12957
  if (dragMeta.create) {
12900
- let addingEvents = (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.aU)(droppableEvent);
12958
+ let addingEvents = (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.aU)(droppableEvent);
12901
12959
  receivingContext.dispatch({
12902
12960
  type: 'MERGE_EVENTS',
12903
12961
  eventStore: addingEvents,
@@ -12910,7 +12968,7 @@ class ExternalElementDragging {
12910
12968
  }
12911
12969
  // signal that an external event landed
12912
12970
  receivingContext.emitter.trigger('eventReceive', {
12913
- event: new _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__._(receivingContext, droppableEvent.def, droppableEvent.instance),
12971
+ event: new _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__._(receivingContext, droppableEvent.def, droppableEvent.instance),
12914
12972
  relatedEvents: [],
12915
12973
  revert() {
12916
12974
  receivingContext.dispatch({
@@ -12926,7 +12984,7 @@ class ExternalElementDragging {
12926
12984
  this.receivingContext = null;
12927
12985
  this.droppableEvent = null;
12928
12986
  };
12929
- let hitDragging = this.hitDragging = new HitDragging(dragging, _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.a5);
12987
+ let hitDragging = this.hitDragging = new HitDragging(dragging, _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.a5);
12930
12988
  hitDragging.requireInitial = false; // will start outside of a component
12931
12989
  hitDragging.emitter.on('dragstart', this.handleDragStart);
12932
12990
  hitDragging.emitter.on('hitupdate', this.handleHitUpdate);
@@ -12935,10 +12993,10 @@ class ExternalElementDragging {
12935
12993
  }
12936
12994
  buildDragMeta(subjectEl) {
12937
12995
  if (typeof this.suppliedDragMeta === 'object') {
12938
- return (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.bH)(this.suppliedDragMeta);
12996
+ return (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.bH)(this.suppliedDragMeta);
12939
12997
  }
12940
12998
  if (typeof this.suppliedDragMeta === 'function') {
12941
- return (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.bH)(this.suppliedDragMeta(subjectEl));
12999
+ return (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.bH)(this.suppliedDragMeta(subjectEl));
12942
13000
  }
12943
13001
  return getDragMetaFromEl(subjectEl);
12944
13002
  }
@@ -12962,7 +13020,7 @@ class ExternalElementDragging {
12962
13020
  return dropAccept.call(receivingContext.calendarApi, el);
12963
13021
  }
12964
13022
  if (typeof dropAccept === 'string' && dropAccept) {
12965
- return Boolean((0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.aO)(el, dropAccept));
13023
+ return Boolean((0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.aO)(el, dropAccept));
12966
13024
  }
12967
13025
  return true;
12968
13026
  }
@@ -12974,8 +13032,8 @@ function computeEventForDateSpan(dateSpan, dragMeta, context) {
12974
13032
  for (let transform of context.pluginHooks.externalDefTransforms) {
12975
13033
  Object.assign(defProps, transform(dateSpan, dragMeta));
12976
13034
  }
12977
- let { refined, extra } = (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.aj)(defProps, context);
12978
- let def = (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.ai)(refined, extra, dragMeta.sourceId, dateSpan.allDay, context.options.forceEventDuration || Boolean(dragMeta.duration), // hasEnd
13035
+ let { refined, extra } = (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.aj)(defProps, context);
13036
+ let def = (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.ai)(refined, extra, dragMeta.sourceId, dateSpan.allDay, context.options.forceEventDuration || Boolean(dragMeta.duration), // hasEnd
12979
13037
  context);
12980
13038
  let start = dateSpan.range.start;
12981
13039
  // only rely on time info if drop zone is all-day,
@@ -12985,8 +13043,8 @@ function computeEventForDateSpan(dateSpan, dragMeta, context) {
12985
13043
  }
12986
13044
  let end = dragMeta.duration ?
12987
13045
  context.dateEnv.add(start, dragMeta.duration) :
12988
- (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.cs)(dateSpan.allDay, start, context);
12989
- let instance = (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.ah)(def.defId, { start, end });
13046
+ (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.cs)(dateSpan.allDay, start, context);
13047
+ let instance = (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.ah)(def.defId, { start, end });
12990
13048
  return { def, instance };
12991
13049
  }
12992
13050
  // Utils for extracting data from element
@@ -12996,11 +13054,11 @@ function getDragMetaFromEl(el) {
12996
13054
  let obj = str ?
12997
13055
  JSON.parse(str) :
12998
13056
  { create: false }; // if no embedded data, assume no event creation
12999
- return (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.bH)(obj);
13057
+ return (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.bH)(obj);
13000
13058
  }
13001
- _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.bG.dataAttrPrefix = '';
13059
+ _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.bG.dataAttrPrefix = '';
13002
13060
  function getEmbeddedElData(el, name) {
13003
- let prefix = _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.bG.dataAttrPrefix;
13061
+ let prefix = _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.bG.dataAttrPrefix;
13004
13062
  let prefixedName = (prefix ? prefix + '-' : '') + name;
13005
13063
  return el.getAttribute('data-' + prefixedName) || '';
13006
13064
  }
@@ -13018,10 +13076,10 @@ class ExternalDraggable {
13018
13076
  dragging.minDistance =
13019
13077
  minDistance != null ?
13020
13078
  minDistance :
13021
- (ev.isTouch ? 0 : _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.e.eventDragMinDistance);
13079
+ (ev.isTouch ? 0 : _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.e.eventDragMinDistance);
13022
13080
  dragging.delay =
13023
13081
  ev.isTouch ? // TODO: eventually read eventLongPressDelay instead vvv
13024
- (longPressDelay != null ? longPressDelay : _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.e.longPressDelay) :
13082
+ (longPressDelay != null ? longPressDelay : _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.e.longPressDelay) :
13025
13083
  0;
13026
13084
  };
13027
13085
  this.handleDragStart = (ev) => {
@@ -13055,7 +13113,7 @@ The third-party system is responsible for drawing the visuals effects of the dra
13055
13113
  This class simply monitors for pointer movements and fires events.
13056
13114
  It also has the ability to hide the moving element (the "mirror") during the drag.
13057
13115
  */
13058
- class InferredElementDragging extends _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.bF {
13116
+ class InferredElementDragging extends _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_1__.bF {
13059
13117
  constructor(containerEl) {
13060
13118
  super(containerEl);
13061
13119
  this.shouldIgnoreMove = false;
@@ -13150,7 +13208,7 @@ class ThirdPartyDraggable {
13150
13208
  }
13151
13209
  }
13152
13210
 
13153
- var index = (0,_fullcalendar_core_index_js__WEBPACK_IMPORTED_MODULE_1__.createPlugin)({
13211
+ var index = (0,_fullcalendar_core_index_js__WEBPACK_IMPORTED_MODULE_0__.createPlugin)({
13154
13212
  name: '@fullcalendar/interaction',
13155
13213
  componentInteractions: [DateClicking, DateSelecting, EventDragging, EventResizing],
13156
13214
  calendarInteractions: [UnselectAuto],
@@ -13175,9 +13233,9 @@ __webpack_require__.r(__webpack_exports__);
13175
13233
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
13176
13234
  /* harmony export */ "default": function() { return /* binding */ index; }
13177
13235
  /* harmony export */ });
13178
- /* harmony import */ var _fullcalendar_core_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @fullcalendar/core/index.js */ "../../node_modules/@fullcalendar/core/index.js");
13179
- /* harmony import */ var _internal_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./internal.js */ "../../node_modules/@fullcalendar/list/internal.js");
13180
- /* harmony import */ var _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @fullcalendar/core/internal.js */ "../../node_modules/@fullcalendar/core/internal-common.js");
13236
+ /* harmony import */ var _fullcalendar_core_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @fullcalendar/core/index.js */ "../../node_modules/@fullcalendar/core/index.js");
13237
+ /* harmony import */ var _internal_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./internal.js */ "../../node_modules/@fullcalendar/list/internal.js");
13238
+ /* harmony import */ var _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @fullcalendar/core/internal.js */ "../../node_modules/@fullcalendar/core/internal-common.js");
13181
13239
 
13182
13240
 
13183
13241
 
@@ -13186,22 +13244,22 @@ __webpack_require__.r(__webpack_exports__);
13186
13244
  const OPTION_REFINERS = {
13187
13245
  listDayFormat: createFalsableFormatter,
13188
13246
  listDaySideFormat: createFalsableFormatter,
13189
- noEventsClassNames: _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.n,
13190
- noEventsContent: _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.n,
13191
- noEventsDidMount: _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.n,
13192
- noEventsWillUnmount: _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.n,
13247
+ noEventsClassNames: _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_2__.n,
13248
+ noEventsContent: _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_2__.n,
13249
+ noEventsDidMount: _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_2__.n,
13250
+ noEventsWillUnmount: _fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_2__.n,
13193
13251
  // noEventsText is defined in base options
13194
13252
  };
13195
13253
  function createFalsableFormatter(input) {
13196
- return input === false ? null : (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_0__.x)(input);
13254
+ return input === false ? null : (0,_fullcalendar_core_internal_js__WEBPACK_IMPORTED_MODULE_2__.x)(input);
13197
13255
  }
13198
13256
 
13199
- var index = (0,_fullcalendar_core_index_js__WEBPACK_IMPORTED_MODULE_1__.createPlugin)({
13257
+ var index = (0,_fullcalendar_core_index_js__WEBPACK_IMPORTED_MODULE_0__.createPlugin)({
13200
13258
  name: '@fullcalendar/list',
13201
13259
  optionRefiners: OPTION_REFINERS,
13202
13260
  views: {
13203
13261
  list: {
13204
- component: _internal_js__WEBPACK_IMPORTED_MODULE_2__.ListView,
13262
+ component: _internal_js__WEBPACK_IMPORTED_MODULE_1__.ListView,
13205
13263
  buttonTextKey: 'list',
13206
13264
  listDayFormat: { month: 'long', day: 'numeric', year: 'numeric' }, // like "January 1, 2016"
13207
13265
  },
@@ -31016,7 +31074,7 @@ if (true) {
31016
31074
  module.hot.accept(
31017
31075
  /*! !!../../css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./jsvectormap.css */ "../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!../../node_modules/jsvectormap/dist/jsvectormap.css",
31018
31076
  function(__WEBPACK_OUTDATED_DEPENDENCIES__) { /* harmony import */ _css_loader_dist_cjs_js_ruleSet_1_rules_2_use_1_jsvectormap_css__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./jsvectormap.css */ "../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!../../node_modules/jsvectormap/dist/jsvectormap.css");
31019
- (function () {
31077
+ return (function () {
31020
31078
  if (!isEqualLocals(oldLocals, isNamedExport ? _css_loader_dist_cjs_js_ruleSet_1_rules_2_use_1_jsvectormap_css__WEBPACK_IMPORTED_MODULE_6__ : _css_loader_dist_cjs_js_ruleSet_1_rules_2_use_1_jsvectormap_css__WEBPACK_IMPORTED_MODULE_6__["default"].locals, isNamedExport)) {
31021
31079
  module.hot.invalidate();
31022
31080
 
@@ -54880,9 +54938,10 @@ class AdminatorApp {
54880
54938
  constructor() {
54881
54939
  this.components = new Map();
54882
54940
  this.isInitialized = false;
54941
+ this.themeManager = _utils_theme__WEBPACK_IMPORTED_MODULE_2__["default"];
54883
54942
 
54884
54943
  // Initialize when DOM is ready
54885
- _utils_dom__WEBPACK_IMPORTED_MODULE_0__["default"].ready(() => {
54944
+ _utils_dom__WEBPACK_IMPORTED_MODULE_0__.DOM.ready(() => {
54886
54945
  this.init();
54887
54946
  });
54888
54947
  }
@@ -54920,7 +54979,7 @@ class AdminatorApp {
54920
54979
  * Initialize Sidebar component
54921
54980
  */
54922
54981
  initSidebar() {
54923
- if (_utils_dom__WEBPACK_IMPORTED_MODULE_0__["default"].exists('.sidebar')) {
54982
+ if (_utils_dom__WEBPACK_IMPORTED_MODULE_0__.DOM.exists('.sidebar')) {
54924
54983
  const sidebar = new _components_Sidebar__WEBPACK_IMPORTED_MODULE_3__["default"]();
54925
54984
  this.components.set('sidebar', sidebar);
54926
54985
  }
@@ -54931,7 +54990,7 @@ class AdminatorApp {
54931
54990
  */
54932
54991
  initCharts() {
54933
54992
  // Check if we have any chart elements
54934
- const hasCharts = _utils_dom__WEBPACK_IMPORTED_MODULE_0__["default"].exists('#sparklinedash') || _utils_dom__WEBPACK_IMPORTED_MODULE_0__["default"].exists('.sparkline') || _utils_dom__WEBPACK_IMPORTED_MODULE_0__["default"].exists('.sparkbar') || _utils_dom__WEBPACK_IMPORTED_MODULE_0__["default"].exists('.sparktri') || _utils_dom__WEBPACK_IMPORTED_MODULE_0__["default"].exists('.sparkdisc') || _utils_dom__WEBPACK_IMPORTED_MODULE_0__["default"].exists('.sparkbull') || _utils_dom__WEBPACK_IMPORTED_MODULE_0__["default"].exists('.sparkbox') || _utils_dom__WEBPACK_IMPORTED_MODULE_0__["default"].exists('.easy-pie-chart') || _utils_dom__WEBPACK_IMPORTED_MODULE_0__["default"].exists('#line-chart') || _utils_dom__WEBPACK_IMPORTED_MODULE_0__["default"].exists('#area-chart') || _utils_dom__WEBPACK_IMPORTED_MODULE_0__["default"].exists('#scatter-chart') || _utils_dom__WEBPACK_IMPORTED_MODULE_0__["default"].exists('#bar-chart');
54993
+ const hasCharts = _utils_dom__WEBPACK_IMPORTED_MODULE_0__.DOM.exists('#sparklinedash') || _utils_dom__WEBPACK_IMPORTED_MODULE_0__.DOM.exists('.sparkline') || _utils_dom__WEBPACK_IMPORTED_MODULE_0__.DOM.exists('.sparkbar') || _utils_dom__WEBPACK_IMPORTED_MODULE_0__.DOM.exists('.sparktri') || _utils_dom__WEBPACK_IMPORTED_MODULE_0__.DOM.exists('.sparkdisc') || _utils_dom__WEBPACK_IMPORTED_MODULE_0__.DOM.exists('.sparkbull') || _utils_dom__WEBPACK_IMPORTED_MODULE_0__.DOM.exists('.sparkbox') || _utils_dom__WEBPACK_IMPORTED_MODULE_0__.DOM.exists('.easy-pie-chart') || _utils_dom__WEBPACK_IMPORTED_MODULE_0__.DOM.exists('#line-chart') || _utils_dom__WEBPACK_IMPORTED_MODULE_0__.DOM.exists('#area-chart') || _utils_dom__WEBPACK_IMPORTED_MODULE_0__.DOM.exists('#scatter-chart') || _utils_dom__WEBPACK_IMPORTED_MODULE_0__.DOM.exists('#bar-chart');
54935
54994
  if (hasCharts) {
54936
54995
  const charts = new _components_Chart__WEBPACK_IMPORTED_MODULE_4__["default"]();
54937
54996
  this.components.set('charts', charts);
@@ -54942,7 +55001,7 @@ class AdminatorApp {
54942
55001
  * Initialize DataTables (modern approach)
54943
55002
  */
54944
55003
  initDataTables() {
54945
- const dataTableElement = _utils_dom__WEBPACK_IMPORTED_MODULE_0__["default"].select('#dataTable');
55004
+ const dataTableElement = _utils_dom__WEBPACK_IMPORTED_MODULE_0__.DOM.select('#dataTable');
54946
55005
  if (dataTableElement) {
54947
55006
  // For now, use a lightweight approach
54948
55007
  // In future iterations, we can replace with a modern table library
@@ -54955,12 +55014,12 @@ class AdminatorApp {
54955
55014
  */
54956
55015
  initBasicDataTable(table) {
54957
55016
  // Add basic sorting functionality
54958
- const headers = _utils_dom__WEBPACK_IMPORTED_MODULE_0__["default"].selectAll('th', table);
55017
+ const headers = _utils_dom__WEBPACK_IMPORTED_MODULE_0__.DOM.selectAll('th', table);
54959
55018
  headers.forEach(header => {
54960
55019
  if (header.textContent.trim()) {
54961
55020
  header.style.cursor = 'pointer';
54962
55021
  header.style.userSelect = 'none';
54963
- _utils_dom__WEBPACK_IMPORTED_MODULE_0__["default"].on(header, 'click', () => {
55022
+ _utils_dom__WEBPACK_IMPORTED_MODULE_0__.DOM.on(header, 'click', () => {
54964
55023
  // Basic sort functionality can be added here
54965
55024
  // For now, we'll keep the existing DataTables library
54966
55025
  });
@@ -54972,8 +55031,8 @@ class AdminatorApp {
54972
55031
  * Initialize Date Pickers (modern approach with Day.js)
54973
55032
  */
54974
55033
  initDatePickers() {
54975
- const startDatePickers = _utils_dom__WEBPACK_IMPORTED_MODULE_0__["default"].selectAll('.start-date');
54976
- const endDatePickers = _utils_dom__WEBPACK_IMPORTED_MODULE_0__["default"].selectAll('.end-date');
55034
+ const startDatePickers = _utils_dom__WEBPACK_IMPORTED_MODULE_0__.DOM.selectAll('.start-date');
55035
+ const endDatePickers = _utils_dom__WEBPACK_IMPORTED_MODULE_0__.DOM.selectAll('.end-date');
54977
55036
  [...startDatePickers, ...endDatePickers].forEach(picker => {
54978
55037
  // Convert to HTML5 date input for better UX
54979
55038
  if (picker.type !== 'date') {
@@ -55003,7 +55062,7 @@ class AdminatorApp {
55003
55062
  // Add enhanced interaction - handle both field and icon clicks
55004
55063
  [...startDatePickers, ...endDatePickers].forEach(picker => {
55005
55064
  // Handle direct field clicks
55006
- _utils_dom__WEBPACK_IMPORTED_MODULE_0__["default"].on(picker, 'click', event => {
55065
+ _utils_dom__WEBPACK_IMPORTED_MODULE_0__.DOM.on(picker, 'click', event => {
55007
55066
  event.target.focus();
55008
55067
  // For mobile browsers, trigger the date picker
55009
55068
  if (event.target.showPicker && typeof event.target.showPicker === 'function') {
@@ -55020,7 +55079,7 @@ class AdminatorApp {
55020
55079
  if (inputGroup) {
55021
55080
  const calendarIcon = inputGroup.querySelector('.input-group-text i.ti-calendar');
55022
55081
  if (calendarIcon) {
55023
- _utils_dom__WEBPACK_IMPORTED_MODULE_0__["default"].on(calendarIcon, 'click', event => {
55082
+ _utils_dom__WEBPACK_IMPORTED_MODULE_0__.DOM.on(calendarIcon, 'click', event => {
55024
55083
  event.preventDefault();
55025
55084
  event.stopPropagation();
55026
55085
  picker.focus();
@@ -55044,14 +55103,14 @@ class AdminatorApp {
55044
55103
  // Initializing theme system
55045
55104
 
55046
55105
  // Initialize theme system first
55047
- _utils_theme__WEBPACK_IMPORTED_MODULE_2__["default"].init();
55106
+ this.themeManager.init();
55048
55107
 
55049
55108
  // Inject theme toggle if missing - with retry mechanism
55050
55109
  setTimeout(() => {
55051
- const navRight = _utils_dom__WEBPACK_IMPORTED_MODULE_0__["default"].select('.nav-right');
55110
+ const navRight = _utils_dom__WEBPACK_IMPORTED_MODULE_0__.DOM.select('.nav-right');
55052
55111
  // Check for nav-right and theme-toggle existence
55053
55112
 
55054
- if (navRight && !_utils_dom__WEBPACK_IMPORTED_MODULE_0__["default"].exists('#theme-toggle')) {
55113
+ if (navRight && !_utils_dom__WEBPACK_IMPORTED_MODULE_0__.DOM.exists('#theme-toggle')) {
55055
55114
  const li = document.createElement('li');
55056
55115
  li.className = 'theme-toggle d-flex ai-c';
55057
55116
  li.innerHTML = "\n <div class=\"form-check form-switch d-flex ai-c\" style=\"margin: 0; padding: 0;\">\n <label class=\"form-check-label me-2 text-nowrap c-grey-700\" for=\"theme-toggle\" style=\"font-size: 12px; margin-right: 8px;\">\n <i class=\"ti-sun\" style=\"margin-right: 4px;\"></i><span class=\"theme-label\">Light</span>\n </label>\n <input class=\"form-check-input\" type=\"checkbox\" id=\"theme-toggle\" style=\"margin: 0;\">\n <label class=\"form-check-label ms-2 text-nowrap c-grey-700\" for=\"theme-toggle\" style=\"font-size: 12px; margin-left: 8px;\">\n <span class=\"theme-label\">Dark</span><i class=\"ti-moon\" style=\"margin-left: 4px;\"></i>\n </label>\n </div>\n ";
@@ -55067,13 +55126,13 @@ class AdminatorApp {
55067
55126
  }
55068
55127
 
55069
55128
  // Add toggle functionality
55070
- const toggle = _utils_dom__WEBPACK_IMPORTED_MODULE_0__["default"].select('#theme-toggle');
55129
+ const toggle = _utils_dom__WEBPACK_IMPORTED_MODULE_0__.DOM.select('#theme-toggle');
55071
55130
  if (toggle) {
55072
55131
  // Set initial state
55073
- const currentTheme = _utils_theme__WEBPACK_IMPORTED_MODULE_2__["default"].current();
55132
+ const currentTheme = this.themeManager.current();
55074
55133
  toggle.checked = currentTheme === 'dark';
55075
- _utils_dom__WEBPACK_IMPORTED_MODULE_0__["default"].on(toggle, 'change', () => {
55076
- _utils_theme__WEBPACK_IMPORTED_MODULE_2__["default"].apply(toggle.checked ? 'dark' : 'light');
55134
+ _utils_dom__WEBPACK_IMPORTED_MODULE_0__.DOM.on(toggle, 'change', () => {
55135
+ this.themeManager.apply(toggle.checked ? 'dark' : 'light');
55077
55136
  });
55078
55137
 
55079
55138
  // Listen for theme changes from other sources
@@ -55110,11 +55169,11 @@ class AdminatorApp {
55110
55169
  */
55111
55170
  setupGlobalEvents() {
55112
55171
  // Global click handler
55113
- _utils_dom__WEBPACK_IMPORTED_MODULE_0__["default"].on(document, 'click', event => this.handleGlobalClick(event));
55172
+ _utils_dom__WEBPACK_IMPORTED_MODULE_0__.DOM.on(document, 'click', event => this.handleGlobalClick(event));
55114
55173
 
55115
55174
  // Window resize handler with debouncing
55116
55175
  let resizeTimeout;
55117
- _utils_dom__WEBPACK_IMPORTED_MODULE_0__["default"].on(window, 'resize', () => {
55176
+ _utils_dom__WEBPACK_IMPORTED_MODULE_0__.DOM.on(window, 'resize', () => {
55118
55177
  clearTimeout(resizeTimeout);
55119
55178
  resizeTimeout = setTimeout(() => this.handleResize(), 250);
55120
55179
  });
@@ -55134,7 +55193,7 @@ class AdminatorApp {
55134
55193
  document.body.style.overflowX = '';
55135
55194
 
55136
55195
  // Close dropdowns
55137
- const dropdowns = _utils_dom__WEBPACK_IMPORTED_MODULE_0__["default"].selectAll('.nav-right .dropdown');
55196
+ const dropdowns = _utils_dom__WEBPACK_IMPORTED_MODULE_0__.DOM.selectAll('.nav-right .dropdown');
55138
55197
  dropdowns.forEach(dropdown => {
55139
55198
  dropdown.classList.remove('show');
55140
55199
  const menu = dropdown.querySelector('.dropdown-menu');
@@ -55142,8 +55201,8 @@ class AdminatorApp {
55142
55201
  });
55143
55202
 
55144
55203
  // Close search
55145
- const searchBox = _utils_dom__WEBPACK_IMPORTED_MODULE_0__["default"].select('.search-box');
55146
- const searchInput = _utils_dom__WEBPACK_IMPORTED_MODULE_0__["default"].select('.search-input');
55204
+ const searchBox = _utils_dom__WEBPACK_IMPORTED_MODULE_0__.DOM.select('.search-box');
55205
+ const searchInput = _utils_dom__WEBPACK_IMPORTED_MODULE_0__.DOM.select('.search-input');
55147
55206
  if (searchBox && searchInput) {
55148
55207
  searchBox.classList.remove('active');
55149
55208
  searchInput.classList.remove('active');
@@ -55164,7 +55223,7 @@ class AdminatorApp {
55164
55223
  handleGlobalClick(event) {
55165
55224
  // Close mobile dropdowns when clicking outside
55166
55225
  if (!event.target.closest('.dropdown')) {
55167
- const dropdowns = _utils_dom__WEBPACK_IMPORTED_MODULE_0__["default"].selectAll('.nav-right .dropdown');
55226
+ const dropdowns = _utils_dom__WEBPACK_IMPORTED_MODULE_0__.DOM.selectAll('.nav-right .dropdown');
55168
55227
  dropdowns.forEach(dropdown => {
55169
55228
  dropdown.classList.remove('show');
55170
55229
  const menu = dropdown.querySelector('.dropdown-menu');
@@ -55175,8 +55234,8 @@ class AdminatorApp {
55175
55234
 
55176
55235
  // Close search when clicking outside
55177
55236
  if (!event.target.closest('.search-box') && !event.target.closest('.search-input')) {
55178
- const searchBox = _utils_dom__WEBPACK_IMPORTED_MODULE_0__["default"].select('.search-box');
55179
- const searchInput = _utils_dom__WEBPACK_IMPORTED_MODULE_0__["default"].select('.search-input');
55237
+ const searchBox = _utils_dom__WEBPACK_IMPORTED_MODULE_0__.DOM.select('.search-box');
55238
+ const searchInput = _utils_dom__WEBPACK_IMPORTED_MODULE_0__.DOM.select('.search-input');
55180
55239
  if (searchBox && searchInput) {
55181
55240
  searchBox.classList.remove('active');
55182
55241
  searchInput.classList.remove('active');
@@ -55198,7 +55257,7 @@ class AdminatorApp {
55198
55257
  */
55199
55258
  enhanceMobileDropdowns() {
55200
55259
  if (!this.isMobile()) return;
55201
- const dropdowns = _utils_dom__WEBPACK_IMPORTED_MODULE_0__["default"].selectAll('.nav-right .dropdown');
55260
+ const dropdowns = _utils_dom__WEBPACK_IMPORTED_MODULE_0__.DOM.selectAll('.nav-right .dropdown');
55202
55261
  dropdowns.forEach(dropdown => {
55203
55262
  const toggle = dropdown.querySelector('.dropdown-toggle');
55204
55263
  const menu = dropdown.querySelector('.dropdown-menu');
@@ -55208,13 +55267,13 @@ class AdminatorApp {
55208
55267
  toggle.replaceWith(newToggle);
55209
55268
 
55210
55269
  // Add click functionality for mobile dropdowns
55211
- _utils_dom__WEBPACK_IMPORTED_MODULE_0__["default"].on(newToggle, 'click', e => {
55270
+ _utils_dom__WEBPACK_IMPORTED_MODULE_0__.DOM.on(newToggle, 'click', e => {
55212
55271
  e.preventDefault();
55213
55272
  e.stopPropagation();
55214
55273
 
55215
55274
  // Close search if open
55216
- const searchBox = _utils_dom__WEBPACK_IMPORTED_MODULE_0__["default"].select('.search-box');
55217
- const searchInput = _utils_dom__WEBPACK_IMPORTED_MODULE_0__["default"].select('.search-input');
55275
+ const searchBox = _utils_dom__WEBPACK_IMPORTED_MODULE_0__.DOM.select('.search-box');
55276
+ const searchInput = _utils_dom__WEBPACK_IMPORTED_MODULE_0__.DOM.select('.search-input');
55218
55277
  if (searchBox && searchInput) {
55219
55278
  searchBox.classList.remove('active');
55220
55279
  searchInput.classList.remove('active');
@@ -55245,7 +55304,7 @@ class AdminatorApp {
55245
55304
  });
55246
55305
 
55247
55306
  // Enhanced mobile close button functionality
55248
- _utils_dom__WEBPACK_IMPORTED_MODULE_0__["default"].on(menu, 'click', e => {
55307
+ _utils_dom__WEBPACK_IMPORTED_MODULE_0__.DOM.on(menu, 'click', e => {
55249
55308
  // Check if clicked on the close area (::before pseudo-element area)
55250
55309
  const rect = menu.getBoundingClientRect();
55251
55310
  const clickY = e.clientY - rect.top;
@@ -55264,7 +55323,7 @@ class AdminatorApp {
55264
55323
  });
55265
55324
 
55266
55325
  // Close dropdowns on escape key
55267
- _utils_dom__WEBPACK_IMPORTED_MODULE_0__["default"].on(document, 'keydown', e => {
55326
+ _utils_dom__WEBPACK_IMPORTED_MODULE_0__.DOM.on(document, 'keydown', e => {
55268
55327
  if (e.key === 'Escape') {
55269
55328
  dropdowns.forEach(dropdown => {
55270
55329
  dropdown.classList.remove('show');
@@ -55281,8 +55340,8 @@ class AdminatorApp {
55281
55340
  * Enhanced mobile search handling - Full-width search bar
55282
55341
  */
55283
55342
  enhanceMobileSearch() {
55284
- const searchBox = _utils_dom__WEBPACK_IMPORTED_MODULE_0__["default"].select('.search-box');
55285
- const searchInput = _utils_dom__WEBPACK_IMPORTED_MODULE_0__["default"].select('.search-input');
55343
+ const searchBox = _utils_dom__WEBPACK_IMPORTED_MODULE_0__.DOM.select('.search-box');
55344
+ const searchInput = _utils_dom__WEBPACK_IMPORTED_MODULE_0__.DOM.select('.search-input');
55286
55345
  if (searchBox && searchInput) {
55287
55346
  const searchToggle = searchBox.querySelector('a');
55288
55347
  const searchField = searchInput.querySelector('input');
@@ -55292,14 +55351,14 @@ class AdminatorApp {
55292
55351
  // Remove existing listeners to prevent duplication
55293
55352
  const newSearchToggle = searchToggle.cloneNode(true);
55294
55353
  searchToggle.replaceWith(newSearchToggle);
55295
- _utils_dom__WEBPACK_IMPORTED_MODULE_0__["default"].on(newSearchToggle, 'click', e => {
55354
+ _utils_dom__WEBPACK_IMPORTED_MODULE_0__.DOM.on(newSearchToggle, 'click', e => {
55296
55355
  e.preventDefault();
55297
55356
  e.stopPropagation();
55298
55357
 
55299
55358
  // Full-width search toggle clicked
55300
55359
 
55301
55360
  // Close any open dropdowns first
55302
- const dropdowns = _utils_dom__WEBPACK_IMPORTED_MODULE_0__["default"].selectAll('.nav-right .dropdown');
55361
+ const dropdowns = _utils_dom__WEBPACK_IMPORTED_MODULE_0__.DOM.selectAll('.nav-right .dropdown');
55303
55362
  dropdowns.forEach(dropdown => {
55304
55363
  dropdown.classList.remove('show');
55305
55364
  const menu = dropdown.querySelector('.dropdown-menu');
@@ -55349,7 +55408,7 @@ class AdminatorApp {
55349
55408
  });
55350
55409
 
55351
55410
  // Close search on escape
55352
- _utils_dom__WEBPACK_IMPORTED_MODULE_0__["default"].on(document, 'keydown', e => {
55411
+ _utils_dom__WEBPACK_IMPORTED_MODULE_0__.DOM.on(document, 'keydown', e => {
55353
55412
  if (e.key === 'Escape' && searchInput.classList.contains('active')) {
55354
55413
  searchInput.classList.remove('active');
55355
55414
  document.body.classList.remove('search-open');
@@ -55371,7 +55430,7 @@ class AdminatorApp {
55371
55430
  });
55372
55431
 
55373
55432
  // Handle search input
55374
- _utils_dom__WEBPACK_IMPORTED_MODULE_0__["default"].on(searchField, 'keypress', e => {
55433
+ _utils_dom__WEBPACK_IMPORTED_MODULE_0__.DOM.on(searchField, 'keypress', e => {
55375
55434
  if (e.key === 'Enter') {
55376
55435
  e.preventDefault();
55377
55436
  const query = searchField.value.trim();
@@ -55483,8 +55542,8 @@ __webpack_require__.r(__webpack_exports__);
55483
55542
 
55484
55543
  "use strict";
55485
55544
  __webpack_require__.r(__webpack_exports__);
55486
- /* harmony import */ var chart_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! chart.js */ "../../node_modules/chart.js/dist/chart.js");
55487
- /* harmony import */ var _constants_colors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../constants/colors */ "../assets/scripts/constants/colors.js");
55545
+ /* harmony import */ var chart_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! chart.js */ "../../node_modules/chart.js/dist/chart.js");
55546
+ /* harmony import */ var _constants_colors__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../constants/colors */ "../assets/scripts/constants/colors.js");
55488
55547
  /**
55489
55548
  * Modern Chart Component
55490
55549
  * Replaces jQuery Sparkline with Chart.js
@@ -55494,7 +55553,7 @@ __webpack_require__.r(__webpack_exports__);
55494
55553
 
55495
55554
 
55496
55555
  // Register Chart.js components
55497
- chart_js__WEBPACK_IMPORTED_MODULE_1__.Chart.register(...chart_js__WEBPACK_IMPORTED_MODULE_1__.registerables);
55556
+ chart_js__WEBPACK_IMPORTED_MODULE_0__.Chart.register(...chart_js__WEBPACK_IMPORTED_MODULE_0__.registerables);
55498
55557
  class ChartComponent {
55499
55558
  constructor() {
55500
55559
  this.charts = new Map(); // Store chart instances
@@ -55584,7 +55643,7 @@ class ChartComponent {
55584
55643
  canvas.style.height = '20px';
55585
55644
  }
55586
55645
  const ctx = canvas.getContext('2d');
55587
- const chart = new chart_js__WEBPACK_IMPORTED_MODULE_1__.Chart(ctx, {
55646
+ const chart = new chart_js__WEBPACK_IMPORTED_MODULE_0__.Chart(ctx, {
55588
55647
  type: 'bar',
55589
55648
  data: {
55590
55649
  labels: data.map((_, i) => i),
@@ -55674,7 +55733,7 @@ class ChartComponent {
55674
55733
  const months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'];
55675
55734
  const salesData = [120, 135, 145, 165, 180, 195, 210, 225, 240, 220, 200, 185];
55676
55735
  const profitData = [45, 52, 58, 62, 68, 75, 82, 88, 92, 85, 78, 72];
55677
- const chart = new chart_js__WEBPACK_IMPORTED_MODULE_1__.Chart(ctx, {
55736
+ const chart = new chart_js__WEBPACK_IMPORTED_MODULE_0__.Chart(ctx, {
55678
55737
  type: 'line',
55679
55738
  data: {
55680
55739
  labels: months,
@@ -55805,13 +55864,13 @@ class ChartComponent {
55805
55864
  canvas.style.height = '20px';
55806
55865
  }
55807
55866
  const ctx = canvas.getContext('2d');
55808
- const chart = new chart_js__WEBPACK_IMPORTED_MODULE_1__.Chart(ctx, {
55867
+ const chart = new chart_js__WEBPACK_IMPORTED_MODULE_0__.Chart(ctx, {
55809
55868
  type: 'line',
55810
55869
  data: {
55811
55870
  labels: data.map((_, i) => i),
55812
55871
  datasets: [{
55813
55872
  data,
55814
- borderColor: _constants_colors__WEBPACK_IMPORTED_MODULE_0__.COLORS['blue-500'],
55873
+ borderColor: _constants_colors__WEBPACK_IMPORTED_MODULE_1__.COLORS['blue-500'],
55815
55874
  backgroundColor: 'transparent',
55816
55875
  borderWidth: 1,
55817
55876
  pointRadius: 0,
@@ -55881,7 +55940,7 @@ class ChartComponent {
55881
55940
  canvas.style.height = '20px';
55882
55941
  }
55883
55942
  const ctx = canvas.getContext('2d');
55884
- const chart = new chart_js__WEBPACK_IMPORTED_MODULE_1__.Chart(ctx, {
55943
+ const chart = new chart_js__WEBPACK_IMPORTED_MODULE_0__.Chart(ctx, {
55885
55944
  type: 'bar',
55886
55945
  data: {
55887
55946
  labels: data.map((_, i) => i),
@@ -55980,17 +56039,17 @@ class ChartComponent {
55980
56039
  element.appendChild(canvas);
55981
56040
  }
55982
56041
  const ctx = canvas.getContext('2d');
55983
- const chart = new chart_js__WEBPACK_IMPORTED_MODULE_1__.Chart(ctx, {
56042
+ const chart = new chart_js__WEBPACK_IMPORTED_MODULE_0__.Chart(ctx, {
55984
56043
  type: 'line',
55985
56044
  data: {
55986
56045
  labels: data.map((_, i) => i),
55987
56046
  datasets: [{
55988
56047
  data,
55989
- borderColor: _constants_colors__WEBPACK_IMPORTED_MODULE_0__.COLORS['red-500'],
56048
+ borderColor: _constants_colors__WEBPACK_IMPORTED_MODULE_1__.COLORS['red-500'],
55990
56049
  backgroundColor: 'transparent',
55991
56050
  borderWidth: 2,
55992
56051
  pointRadius: 3,
55993
- pointBackgroundColor: _constants_colors__WEBPACK_IMPORTED_MODULE_0__.COLORS['red-500'],
56052
+ pointBackgroundColor: _constants_colors__WEBPACK_IMPORTED_MODULE_1__.COLORS['red-500'],
55994
56053
  tension: 0.4
55995
56054
  }]
55996
56055
  },
@@ -56039,14 +56098,14 @@ class ChartComponent {
56039
56098
  element.appendChild(canvas);
56040
56099
  }
56041
56100
  const ctx = canvas.getContext('2d');
56042
- const chart = new chart_js__WEBPACK_IMPORTED_MODULE_1__.Chart(ctx, {
56101
+ const chart = new chart_js__WEBPACK_IMPORTED_MODULE_0__.Chart(ctx, {
56043
56102
  type: 'bar',
56044
56103
  data: {
56045
56104
  labels: data.map((_, i) => i),
56046
56105
  datasets: [{
56047
56106
  data,
56048
- backgroundColor: data.map(val => val < 0 ? _constants_colors__WEBPACK_IMPORTED_MODULE_0__.COLORS['deep-purple-500'] : '#39f'),
56049
- borderColor: data.map(val => val < 0 ? _constants_colors__WEBPACK_IMPORTED_MODULE_0__.COLORS['deep-purple-500'] : '#39f'),
56107
+ backgroundColor: data.map(val => val < 0 ? _constants_colors__WEBPACK_IMPORTED_MODULE_1__.COLORS['deep-purple-500'] : '#39f'),
56108
+ borderColor: data.map(val => val < 0 ? _constants_colors__WEBPACK_IMPORTED_MODULE_1__.COLORS['deep-purple-500'] : '#39f'),
56050
56109
  borderWidth: 1,
56051
56110
  barPercentage: 0.8
56052
56111
  }]
@@ -56447,7 +56506,7 @@ class ChartComponent {
56447
56506
 
56448
56507
  // Define chart-specific options
56449
56508
  const chartOptions = this.getChartOptions(type);
56450
- const chart = new chart_js__WEBPACK_IMPORTED_MODULE_1__.Chart(ctx, {
56509
+ const chart = new chart_js__WEBPACK_IMPORTED_MODULE_0__.Chart(ctx, {
56451
56510
  type,
56452
56511
  data,
56453
56512
  options: chartOptions
@@ -56651,19 +56710,19 @@ class ChartComponent {
56651
56710
  element.appendChild(canvas);
56652
56711
  }
56653
56712
  const ctx = canvas.getContext('2d');
56654
- const chart = new chart_js__WEBPACK_IMPORTED_MODULE_1__.Chart(ctx, {
56713
+ const chart = new chart_js__WEBPACK_IMPORTED_MODULE_0__.Chart(ctx, {
56655
56714
  type: 'bar',
56656
56715
  data: {
56657
56716
  labels: data.map((_, i) => i),
56658
56717
  datasets: [{
56659
56718
  data: data.map(val => Math.abs(val)),
56660
56719
  backgroundColor: data.map(val => {
56661
- if (val > 0) return _constants_colors__WEBPACK_IMPORTED_MODULE_0__.COLORS['light-blue-500'];
56720
+ if (val > 0) return _constants_colors__WEBPACK_IMPORTED_MODULE_1__.COLORS['light-blue-500'];
56662
56721
  if (val < 0) return '#f90';
56663
56722
  return '#000';
56664
56723
  }),
56665
56724
  borderColor: data.map(val => {
56666
- if (val > 0) return _constants_colors__WEBPACK_IMPORTED_MODULE_0__.COLORS['light-blue-500'];
56725
+ if (val > 0) return _constants_colors__WEBPACK_IMPORTED_MODULE_1__.COLORS['light-blue-500'];
56667
56726
  if (val < 0) return '#f90';
56668
56727
  return '#000';
56669
56728
  }),
@@ -56712,7 +56771,7 @@ class ChartComponent {
56712
56771
  element.appendChild(canvas);
56713
56772
  }
56714
56773
  const ctx = canvas.getContext('2d');
56715
- const chart = new chart_js__WEBPACK_IMPORTED_MODULE_1__.Chart(ctx, {
56774
+ const chart = new chart_js__WEBPACK_IMPORTED_MODULE_0__.Chart(ctx, {
56716
56775
  type: 'scatter',
56717
56776
  data: {
56718
56777
  datasets: [{
@@ -56769,14 +56828,14 @@ class ChartComponent {
56769
56828
  const ctx = canvas.getContext('2d');
56770
56829
 
56771
56830
  // Simplified bullet chart as horizontal bar
56772
- const chart = new chart_js__WEBPACK_IMPORTED_MODULE_1__.Chart(ctx, {
56831
+ const chart = new chart_js__WEBPACK_IMPORTED_MODULE_0__.Chart(ctx, {
56773
56832
  type: 'bar',
56774
56833
  data: {
56775
56834
  labels: [''],
56776
56835
  datasets: [{
56777
56836
  data: [Math.max(...data)],
56778
- backgroundColor: _constants_colors__WEBPACK_IMPORTED_MODULE_0__.COLORS['amber-500'],
56779
- borderColor: _constants_colors__WEBPACK_IMPORTED_MODULE_0__.COLORS['amber-500'],
56837
+ backgroundColor: _constants_colors__WEBPACK_IMPORTED_MODULE_1__.COLORS['amber-500'],
56838
+ borderColor: _constants_colors__WEBPACK_IMPORTED_MODULE_1__.COLORS['amber-500'],
56780
56839
  borderWidth: 1,
56781
56840
  barPercentage: 0.6
56782
56841
  }]
@@ -56829,7 +56888,7 @@ class ChartComponent {
56829
56888
  const q1 = sortedData[Math.floor(sortedData.length * 0.25)];
56830
56889
  const median = sortedData[Math.floor(sortedData.length * 0.5)];
56831
56890
  const q3 = sortedData[Math.floor(sortedData.length * 0.75)];
56832
- const chart = new chart_js__WEBPACK_IMPORTED_MODULE_1__.Chart(ctx, {
56891
+ const chart = new chart_js__WEBPACK_IMPORTED_MODULE_0__.Chart(ctx, {
56833
56892
  type: 'bar',
56834
56893
  data: {
56835
56894
  labels: ['Q1', 'Med', 'Q3'],
@@ -56905,7 +56964,7 @@ class ChartComponent {
56905
56964
  element.style.position = 'relative';
56906
56965
  element.style.display = 'inline-block';
56907
56966
  const ctx = canvas.getContext('2d');
56908
- const chart = new chart_js__WEBPACK_IMPORTED_MODULE_1__.Chart(ctx, {
56967
+ const chart = new chart_js__WEBPACK_IMPORTED_MODULE_0__.Chart(ctx, {
56909
56968
  type: 'doughnut',
56910
56969
  data: {
56911
56970
  datasets: [{
@@ -57798,12 +57857,12 @@ __webpack_require__.r(__webpack_exports__);
57798
57857
 
57799
57858
  "use strict";
57800
57859
  __webpack_require__.r(__webpack_exports__);
57801
- /* harmony import */ var _fullcalendar_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @fullcalendar/core */ "../../node_modules/@fullcalendar/core/index.js");
57802
- /* harmony import */ var _fullcalendar_interaction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @fullcalendar/interaction */ "../../node_modules/@fullcalendar/interaction/index.js");
57803
- /* harmony import */ var _fullcalendar_daygrid__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @fullcalendar/daygrid */ "../../node_modules/@fullcalendar/daygrid/index.js");
57804
- /* harmony import */ var _fullcalendar_timegrid__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @fullcalendar/timegrid */ "../../node_modules/@fullcalendar/timegrid/index.js");
57805
- /* harmony import */ var _fullcalendar_list__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @fullcalendar/list */ "../../node_modules/@fullcalendar/list/index.js");
57806
- /* harmony import */ var _utils_date__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils/date */ "../assets/scripts/utils/date.js");
57860
+ /* harmony import */ var _fullcalendar_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @fullcalendar/core */ "../../node_modules/@fullcalendar/core/index.js");
57861
+ /* harmony import */ var _fullcalendar_interaction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @fullcalendar/interaction */ "../../node_modules/@fullcalendar/interaction/index.js");
57862
+ /* harmony import */ var _fullcalendar_daygrid__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @fullcalendar/daygrid */ "../../node_modules/@fullcalendar/daygrid/index.js");
57863
+ /* harmony import */ var _fullcalendar_timegrid__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @fullcalendar/timegrid */ "../../node_modules/@fullcalendar/timegrid/index.js");
57864
+ /* harmony import */ var _fullcalendar_list__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @fullcalendar/list */ "../../node_modules/@fullcalendar/list/index.js");
57865
+ /* harmony import */ var _utils_date__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../utils/date */ "../assets/scripts/utils/date.js");
57807
57866
 
57808
57867
 
57809
57868
 
@@ -57817,14 +57876,14 @@ document.addEventListener('DOMContentLoaded', function () {
57817
57876
  if (calendarEl == null) {
57818
57877
  return;
57819
57878
  }
57820
- const calendar = new _fullcalendar_core__WEBPACK_IMPORTED_MODULE_1__.Calendar(calendarEl, {
57821
- plugins: [_fullcalendar_interaction__WEBPACK_IMPORTED_MODULE_2__["default"], _fullcalendar_daygrid__WEBPACK_IMPORTED_MODULE_3__["default"], _fullcalendar_timegrid__WEBPACK_IMPORTED_MODULE_4__["default"], _fullcalendar_list__WEBPACK_IMPORTED_MODULE_5__["default"]],
57879
+ const calendar = new _fullcalendar_core__WEBPACK_IMPORTED_MODULE_0__.Calendar(calendarEl, {
57880
+ plugins: [_fullcalendar_interaction__WEBPACK_IMPORTED_MODULE_1__["default"], _fullcalendar_daygrid__WEBPACK_IMPORTED_MODULE_2__["default"], _fullcalendar_timegrid__WEBPACK_IMPORTED_MODULE_3__["default"], _fullcalendar_list__WEBPACK_IMPORTED_MODULE_4__["default"]],
57822
57881
  headerToolbar: {
57823
57882
  left: 'prev,next today',
57824
57883
  center: 'title',
57825
57884
  right: 'dayGridMonth,timeGridWeek,timeGridDay,listWeek'
57826
57885
  },
57827
- initialDate: _utils_date__WEBPACK_IMPORTED_MODULE_0__["default"].format(_utils_date__WEBPACK_IMPORTED_MODULE_0__["default"].now(), 'YYYY-MM-DD'),
57886
+ initialDate: _utils_date__WEBPACK_IMPORTED_MODULE_5__["default"].format(_utils_date__WEBPACK_IMPORTED_MODULE_5__["default"].now(), 'YYYY-MM-DD'),
57828
57887
  navLinks: true,
57829
57888
  // can click day/week names to navigate views
57830
57889
  editable: true,
@@ -57832,46 +57891,46 @@ document.addEventListener('DOMContentLoaded', function () {
57832
57891
  // allow "more" link when too many events
57833
57892
  events: [{
57834
57893
  title: 'All Day Event',
57835
- start: _utils_date__WEBPACK_IMPORTED_MODULE_0__["default"].format(_utils_date__WEBPACK_IMPORTED_MODULE_0__["default"].now(), 'YYYY-MM-DD')
57894
+ start: _utils_date__WEBPACK_IMPORTED_MODULE_5__["default"].format(_utils_date__WEBPACK_IMPORTED_MODULE_5__["default"].now(), 'YYYY-MM-DD')
57836
57895
  }, {
57837
57896
  title: 'Long Event',
57838
- start: _utils_date__WEBPACK_IMPORTED_MODULE_0__["default"].format(_utils_date__WEBPACK_IMPORTED_MODULE_0__["default"].add(_utils_date__WEBPACK_IMPORTED_MODULE_0__["default"].now(), 1, 'day'), 'YYYY-MM-DD'),
57839
- end: _utils_date__WEBPACK_IMPORTED_MODULE_0__["default"].format(_utils_date__WEBPACK_IMPORTED_MODULE_0__["default"].add(_utils_date__WEBPACK_IMPORTED_MODULE_0__["default"].now(), 4, 'day'), 'YYYY-MM-DD')
57897
+ start: _utils_date__WEBPACK_IMPORTED_MODULE_5__["default"].format(_utils_date__WEBPACK_IMPORTED_MODULE_5__["default"].add(_utils_date__WEBPACK_IMPORTED_MODULE_5__["default"].now(), 1, 'day'), 'YYYY-MM-DD'),
57898
+ end: _utils_date__WEBPACK_IMPORTED_MODULE_5__["default"].format(_utils_date__WEBPACK_IMPORTED_MODULE_5__["default"].add(_utils_date__WEBPACK_IMPORTED_MODULE_5__["default"].now(), 4, 'day'), 'YYYY-MM-DD')
57840
57899
  }, {
57841
57900
  groupId: 999,
57842
57901
  title: 'Repeating Event',
57843
- start: _utils_date__WEBPACK_IMPORTED_MODULE_0__["default"].format(_utils_date__WEBPACK_IMPORTED_MODULE_0__["default"].add(_utils_date__WEBPACK_IMPORTED_MODULE_0__["default"].now(), 2, 'day'), 'YYYY-MM-DDTHH:mm:ss').replace(/:\d{2}$/, ':00:00').replace(/T\d{2}:\d{2}/, 'T16:00')
57902
+ start: _utils_date__WEBPACK_IMPORTED_MODULE_5__["default"].format(_utils_date__WEBPACK_IMPORTED_MODULE_5__["default"].add(_utils_date__WEBPACK_IMPORTED_MODULE_5__["default"].now(), 2, 'day'), 'YYYY-MM-DDTHH:mm:ss').replace(/:\d{2}$/, ':00:00').replace(/T\d{2}:\d{2}/, 'T16:00')
57844
57903
  }, {
57845
57904
  groupId: 999,
57846
57905
  title: 'Repeating Event',
57847
- start: _utils_date__WEBPACK_IMPORTED_MODULE_0__["default"].format(_utils_date__WEBPACK_IMPORTED_MODULE_0__["default"].add(_utils_date__WEBPACK_IMPORTED_MODULE_0__["default"].now(), 9, 'day'), 'YYYY-MM-DDTHH:mm:ss').replace(/:\d{2}$/, ':00:00').replace(/T\d{2}:\d{2}/, 'T16:00')
57906
+ start: _utils_date__WEBPACK_IMPORTED_MODULE_5__["default"].format(_utils_date__WEBPACK_IMPORTED_MODULE_5__["default"].add(_utils_date__WEBPACK_IMPORTED_MODULE_5__["default"].now(), 9, 'day'), 'YYYY-MM-DDTHH:mm:ss').replace(/:\d{2}$/, ':00:00').replace(/T\d{2}:\d{2}/, 'T16:00')
57848
57907
  }, {
57849
57908
  title: 'Conference',
57850
- start: _utils_date__WEBPACK_IMPORTED_MODULE_0__["default"].format(_utils_date__WEBPACK_IMPORTED_MODULE_0__["default"].add(_utils_date__WEBPACK_IMPORTED_MODULE_0__["default"].now(), 5, 'day'), 'YYYY-MM-DD'),
57851
- end: _utils_date__WEBPACK_IMPORTED_MODULE_0__["default"].format(_utils_date__WEBPACK_IMPORTED_MODULE_0__["default"].add(_utils_date__WEBPACK_IMPORTED_MODULE_0__["default"].now(), 7, 'day'), 'YYYY-MM-DD')
57909
+ start: _utils_date__WEBPACK_IMPORTED_MODULE_5__["default"].format(_utils_date__WEBPACK_IMPORTED_MODULE_5__["default"].add(_utils_date__WEBPACK_IMPORTED_MODULE_5__["default"].now(), 5, 'day'), 'YYYY-MM-DD'),
57910
+ end: _utils_date__WEBPACK_IMPORTED_MODULE_5__["default"].format(_utils_date__WEBPACK_IMPORTED_MODULE_5__["default"].add(_utils_date__WEBPACK_IMPORTED_MODULE_5__["default"].now(), 7, 'day'), 'YYYY-MM-DD')
57852
57911
  }, {
57853
57912
  title: 'Meeting',
57854
- start: _utils_date__WEBPACK_IMPORTED_MODULE_0__["default"].format(_utils_date__WEBPACK_IMPORTED_MODULE_0__["default"].add(_utils_date__WEBPACK_IMPORTED_MODULE_0__["default"].now(), 3, 'day'), 'YYYY-MM-DDTHH:mm:ss').replace(/:\d{2}$/, ':00:00').replace(/T\d{2}:\d{2}/, 'T10:30'),
57855
- end: _utils_date__WEBPACK_IMPORTED_MODULE_0__["default"].format(_utils_date__WEBPACK_IMPORTED_MODULE_0__["default"].add(_utils_date__WEBPACK_IMPORTED_MODULE_0__["default"].now(), 3, 'day'), 'YYYY-MM-DDTHH:mm:ss').replace(/:\d{2}$/, ':00:00').replace(/T\d{2}:\d{2}/, 'T12:30')
57913
+ start: _utils_date__WEBPACK_IMPORTED_MODULE_5__["default"].format(_utils_date__WEBPACK_IMPORTED_MODULE_5__["default"].add(_utils_date__WEBPACK_IMPORTED_MODULE_5__["default"].now(), 3, 'day'), 'YYYY-MM-DDTHH:mm:ss').replace(/:\d{2}$/, ':00:00').replace(/T\d{2}:\d{2}/, 'T10:30'),
57914
+ end: _utils_date__WEBPACK_IMPORTED_MODULE_5__["default"].format(_utils_date__WEBPACK_IMPORTED_MODULE_5__["default"].add(_utils_date__WEBPACK_IMPORTED_MODULE_5__["default"].now(), 3, 'day'), 'YYYY-MM-DDTHH:mm:ss').replace(/:\d{2}$/, ':00:00').replace(/T\d{2}:\d{2}/, 'T12:30')
57856
57915
  }, {
57857
57916
  title: 'Lunch',
57858
- start: _utils_date__WEBPACK_IMPORTED_MODULE_0__["default"].format(_utils_date__WEBPACK_IMPORTED_MODULE_0__["default"].add(_utils_date__WEBPACK_IMPORTED_MODULE_0__["default"].now(), 3, 'day'), 'YYYY-MM-DDTHH:mm:ss').replace(/:\d{2}$/, ':00:00').replace(/T\d{2}:\d{2}/, 'T12:00')
57917
+ start: _utils_date__WEBPACK_IMPORTED_MODULE_5__["default"].format(_utils_date__WEBPACK_IMPORTED_MODULE_5__["default"].add(_utils_date__WEBPACK_IMPORTED_MODULE_5__["default"].now(), 3, 'day'), 'YYYY-MM-DDTHH:mm:ss').replace(/:\d{2}$/, ':00:00').replace(/T\d{2}:\d{2}/, 'T12:00')
57859
57918
  }, {
57860
57919
  title: 'Meeting',
57861
- start: _utils_date__WEBPACK_IMPORTED_MODULE_0__["default"].format(_utils_date__WEBPACK_IMPORTED_MODULE_0__["default"].add(_utils_date__WEBPACK_IMPORTED_MODULE_0__["default"].now(), 3, 'day'), 'YYYY-MM-DDTHH:mm:ss').replace(/:\d{2}$/, ':00:00').replace(/T\d{2}:\d{2}/, 'T14:30')
57920
+ start: _utils_date__WEBPACK_IMPORTED_MODULE_5__["default"].format(_utils_date__WEBPACK_IMPORTED_MODULE_5__["default"].add(_utils_date__WEBPACK_IMPORTED_MODULE_5__["default"].now(), 3, 'day'), 'YYYY-MM-DDTHH:mm:ss').replace(/:\d{2}$/, ':00:00').replace(/T\d{2}:\d{2}/, 'T14:30')
57862
57921
  }, {
57863
57922
  title: 'Happy Hour',
57864
- start: _utils_date__WEBPACK_IMPORTED_MODULE_0__["default"].format(_utils_date__WEBPACK_IMPORTED_MODULE_0__["default"].add(_utils_date__WEBPACK_IMPORTED_MODULE_0__["default"].now(), 3, 'day'), 'YYYY-MM-DDTHH:mm:ss').replace(/:\d{2}$/, ':00:00').replace(/T\d{2}:\d{2}/, 'T17:30')
57923
+ start: _utils_date__WEBPACK_IMPORTED_MODULE_5__["default"].format(_utils_date__WEBPACK_IMPORTED_MODULE_5__["default"].add(_utils_date__WEBPACK_IMPORTED_MODULE_5__["default"].now(), 3, 'day'), 'YYYY-MM-DDTHH:mm:ss').replace(/:\d{2}$/, ':00:00').replace(/T\d{2}:\d{2}/, 'T17:30')
57865
57924
  }, {
57866
57925
  title: 'Dinner',
57867
- start: _utils_date__WEBPACK_IMPORTED_MODULE_0__["default"].format(_utils_date__WEBPACK_IMPORTED_MODULE_0__["default"].add(_utils_date__WEBPACK_IMPORTED_MODULE_0__["default"].now(), 3, 'day'), 'YYYY-MM-DDTHH:mm:ss').replace(/:\d{2}$/, ':00:00').replace(/T\d{2}:\d{2}/, 'T20:00')
57926
+ start: _utils_date__WEBPACK_IMPORTED_MODULE_5__["default"].format(_utils_date__WEBPACK_IMPORTED_MODULE_5__["default"].add(_utils_date__WEBPACK_IMPORTED_MODULE_5__["default"].now(), 3, 'day'), 'YYYY-MM-DDTHH:mm:ss').replace(/:\d{2}$/, ':00:00').replace(/T\d{2}:\d{2}/, 'T20:00')
57868
57927
  }, {
57869
57928
  title: 'Birthday Party',
57870
- start: _utils_date__WEBPACK_IMPORTED_MODULE_0__["default"].format(_utils_date__WEBPACK_IMPORTED_MODULE_0__["default"].add(_utils_date__WEBPACK_IMPORTED_MODULE_0__["default"].now(), 4, 'day'), 'YYYY-MM-DDTHH:mm:ss').replace(/:\d{2}$/, ':00:00').replace(/T\d{2}:\d{2}/, 'T07:00')
57929
+ start: _utils_date__WEBPACK_IMPORTED_MODULE_5__["default"].format(_utils_date__WEBPACK_IMPORTED_MODULE_5__["default"].add(_utils_date__WEBPACK_IMPORTED_MODULE_5__["default"].now(), 4, 'day'), 'YYYY-MM-DDTHH:mm:ss').replace(/:\d{2}$/, ':00:00').replace(/T\d{2}:\d{2}/, 'T07:00')
57871
57930
  }, {
57872
57931
  title: 'Click for Google',
57873
57932
  url: 'http://google.com/',
57874
- start: _utils_date__WEBPACK_IMPORTED_MODULE_0__["default"].format(_utils_date__WEBPACK_IMPORTED_MODULE_0__["default"].add(_utils_date__WEBPACK_IMPORTED_MODULE_0__["default"].now(), 14, 'day'), 'YYYY-MM-DD')
57933
+ start: _utils_date__WEBPACK_IMPORTED_MODULE_5__["default"].format(_utils_date__WEBPACK_IMPORTED_MODULE_5__["default"].add(_utils_date__WEBPACK_IMPORTED_MODULE_5__["default"].now(), 14, 'day'), 'YYYY-MM-DD')
57875
57934
  }]
57876
57935
  });
57877
57936
  calendar.render();
@@ -59610,7 +59669,7 @@ module.exports = __webpack_require__.p + "8b43027f47b20503057d.eot?v=4.7.0";
59610
59669
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
59611
59670
 
59612
59671
  "use strict";
59613
- module.exports = __webpack_require__.p + "55b07f26c86c8e3d3754.svg?v=4.7.0";
59672
+ module.exports = __webpack_require__.p + "assets/fontawesome-webfont.svg";
59614
59673
 
59615
59674
  /***/ }),
59616
59675
 
@@ -59676,7 +59735,7 @@ module.exports = __webpack_require__.p + "9bad94440d49256265a5.eot?-fvbane";
59676
59735
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
59677
59736
 
59678
59737
  "use strict";
59679
- module.exports = __webpack_require__.p + "9fad440d8ee7a949a9a9.svg?-fvbane";
59738
+ module.exports = __webpack_require__.p + "assets/themify.svg";
59680
59739
 
59681
59740
  /***/ }),
59682
59741
 
@@ -59778,7 +59837,7 @@ if (true) {
59778
59837
  module.hot.accept(
59779
59838
  /*! !!../../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!../../../node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[3]!./index.scss */ "../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!../../node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[3]!../assets/styles/index.scss",
59780
59839
  function(__WEBPACK_OUTDATED_DEPENDENCIES__) { /* harmony import */ _node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_3_use_1_node_modules_postcss_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_3_index_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!../../../node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[3]!./index.scss */ "../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!../../node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[3]!../assets/styles/index.scss");
59781
- (function () {
59840
+ return (function () {
59782
59841
  if (!isEqualLocals(oldLocals, isNamedExport ? _node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_3_use_1_node_modules_postcss_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_3_index_scss__WEBPACK_IMPORTED_MODULE_6__ : _node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_3_use_1_node_modules_postcss_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_3_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals, isNamedExport)) {
59783
59842
  module.hot.invalidate();
59784
59843
 
@@ -60096,7 +60155,7 @@ module.exports = "data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%
60096
60155
  /******/
60097
60156
  /******/ /* webpack/runtime/get mini-css chunk filename */
60098
60157
  /******/ !function() {
60099
- /******/ // This function allow to reference async chunks
60158
+ /******/ // This function allow to reference all chunks
60100
60159
  /******/ __webpack_require__.miniCssF = function(chunkId) {
60101
60160
  /******/ // return url for filenames based on template
60102
60161
  /******/ return undefined;
@@ -60110,7 +60169,7 @@ module.exports = "data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%
60110
60169
  /******/
60111
60170
  /******/ /* webpack/runtime/getFullHash */
60112
60171
  /******/ !function() {
60113
- /******/ __webpack_require__.h = function() { return "846b04778bb433b992f4"; }
60172
+ /******/ __webpack_require__.h = function() { return "acc4b8487025d0e6f5f2"; }
60114
60173
  /******/ }();
60115
60174
  /******/
60116
60175
  /******/ /* webpack/runtime/global */
@@ -60536,38 +60595,50 @@ module.exports = "data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%
60536
60595
  /******/ };
60537
60596
  /******/
60538
60597
  /******/ var outdatedModules = [];
60539
- /******/ results.forEach(function (result) {
60540
- /******/ if (result.apply) {
60541
- /******/ var modules = result.apply(reportError);
60542
- /******/ if (modules) {
60543
- /******/ for (var i = 0; i < modules.length; i++) {
60544
- /******/ outdatedModules.push(modules[i]);
60545
- /******/ }
60546
- /******/ }
60547
- /******/ }
60548
- /******/ });
60549
60598
  /******/
60550
- /******/ return Promise.all([disposePromise, applyPromise]).then(function () {
60551
- /******/ // handle errors in accept handlers and self accepted module load
60552
- /******/ if (error) {
60553
- /******/ return setStatus("fail").then(function () {
60554
- /******/ throw error;
60555
- /******/ });
60556
- /******/ }
60599
+ /******/ var onAccepted = function () {
60600
+ /******/ return Promise.all([disposePromise, applyPromise]).then(function () {
60601
+ /******/ // handle errors in accept handlers and self accepted module load
60602
+ /******/ if (error) {
60603
+ /******/ return setStatus("fail").then(function () {
60604
+ /******/ throw error;
60605
+ /******/ });
60606
+ /******/ }
60557
60607
  /******/
60558
- /******/ if (queuedInvalidatedModules) {
60559
- /******/ return internalApply(options).then(function (list) {
60560
- /******/ outdatedModules.forEach(function (moduleId) {
60561
- /******/ if (list.indexOf(moduleId) < 0) list.push(moduleId);
60608
+ /******/ if (queuedInvalidatedModules) {
60609
+ /******/ return internalApply(options).then(function (list) {
60610
+ /******/ outdatedModules.forEach(function (moduleId) {
60611
+ /******/ if (list.indexOf(moduleId) < 0) list.push(moduleId);
60612
+ /******/ });
60613
+ /******/ return list;
60562
60614
  /******/ });
60563
- /******/ return list;
60564
- /******/ });
60565
- /******/ }
60615
+ /******/ }
60566
60616
  /******/
60567
- /******/ return setStatus("idle").then(function () {
60568
- /******/ return outdatedModules;
60617
+ /******/ return setStatus("idle").then(function () {
60618
+ /******/ return outdatedModules;
60619
+ /******/ });
60569
60620
  /******/ });
60570
- /******/ });
60621
+ /******/ };
60622
+ /******/
60623
+ /******/ return Promise.all(
60624
+ /******/ results
60625
+ /******/ .filter(function (result) {
60626
+ /******/ return result.apply;
60627
+ /******/ })
60628
+ /******/ .map(function (result) {
60629
+ /******/ return result.apply(reportError);
60630
+ /******/ })
60631
+ /******/ )
60632
+ /******/ .then(function (applyResults) {
60633
+ /******/ applyResults.forEach(function (modules) {
60634
+ /******/ if (modules) {
60635
+ /******/ for (var i = 0; i < modules.length; i++) {
60636
+ /******/ outdatedModules.push(modules[i]);
60637
+ /******/ }
60638
+ /******/ }
60639
+ /******/ });
60640
+ /******/ })
60641
+ /******/ .then(onAccepted);
60571
60642
  /******/ }
60572
60643
  /******/
60573
60644
  /******/ function applyInvalidatedModules() {
@@ -61031,6 +61102,7 @@ module.exports = "data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%
61031
61102
  /******/ }
61032
61103
  /******/ },
61033
61104
  /******/ apply: function (reportError) {
61105
+ /******/ var acceptPromises = [];
61034
61106
  /******/ // insert new code
61035
61107
  /******/ for (var updateModuleId in appliedUpdate) {
61036
61108
  /******/ if (__webpack_require__.o(appliedUpdate, updateModuleId)) {
@@ -61067,8 +61139,9 @@ module.exports = "data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%
61067
61139
  /******/ }
61068
61140
  /******/ }
61069
61141
  /******/ for (var k = 0; k < callbacks.length; k++) {
61142
+ /******/ var result;
61070
61143
  /******/ try {
61071
- /******/ callbacks[k].call(null, moduleOutdatedDependencies);
61144
+ /******/ result = callbacks[k].call(null, moduleOutdatedDependencies);
61072
61145
  /******/ } catch (err) {
61073
61146
  /******/ if (typeof errorHandlers[k] === "function") {
61074
61147
  /******/ try {
@@ -61105,54 +61178,63 @@ module.exports = "data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%
61105
61178
  /******/ }
61106
61179
  /******/ }
61107
61180
  /******/ }
61181
+ /******/ if (result && typeof result.then === "function") {
61182
+ /******/ acceptPromises.push(result);
61183
+ /******/ }
61108
61184
  /******/ }
61109
61185
  /******/ }
61110
61186
  /******/ }
61111
61187
  /******/ }
61112
61188
  /******/
61113
- /******/ // Load self accepted modules
61114
- /******/ for (var o = 0; o < outdatedSelfAcceptedModules.length; o++) {
61115
- /******/ var item = outdatedSelfAcceptedModules[o];
61116
- /******/ var moduleId = item.module;
61117
- /******/ try {
61118
- /******/ item.require(moduleId);
61119
- /******/ } catch (err) {
61120
- /******/ if (typeof item.errorHandler === "function") {
61121
- /******/ try {
61122
- /******/ item.errorHandler(err, {
61123
- /******/ moduleId: moduleId,
61124
- /******/ module: __webpack_require__.c[moduleId]
61125
- /******/ });
61126
- /******/ } catch (err1) {
61189
+ /******/ var onAccepted = function () {
61190
+ /******/ // Load self accepted modules
61191
+ /******/ for (var o = 0; o < outdatedSelfAcceptedModules.length; o++) {
61192
+ /******/ var item = outdatedSelfAcceptedModules[o];
61193
+ /******/ var moduleId = item.module;
61194
+ /******/ try {
61195
+ /******/ item.require(moduleId);
61196
+ /******/ } catch (err) {
61197
+ /******/ if (typeof item.errorHandler === "function") {
61198
+ /******/ try {
61199
+ /******/ item.errorHandler(err, {
61200
+ /******/ moduleId: moduleId,
61201
+ /******/ module: __webpack_require__.c[moduleId]
61202
+ /******/ });
61203
+ /******/ } catch (err1) {
61204
+ /******/ if (options.onErrored) {
61205
+ /******/ options.onErrored({
61206
+ /******/ type: "self-accept-error-handler-errored",
61207
+ /******/ moduleId: moduleId,
61208
+ /******/ error: err1,
61209
+ /******/ originalError: err
61210
+ /******/ });
61211
+ /******/ }
61212
+ /******/ if (!options.ignoreErrored) {
61213
+ /******/ reportError(err1);
61214
+ /******/ reportError(err);
61215
+ /******/ }
61216
+ /******/ }
61217
+ /******/ } else {
61127
61218
  /******/ if (options.onErrored) {
61128
61219
  /******/ options.onErrored({
61129
- /******/ type: "self-accept-error-handler-errored",
61220
+ /******/ type: "self-accept-errored",
61130
61221
  /******/ moduleId: moduleId,
61131
- /******/ error: err1,
61132
- /******/ originalError: err
61222
+ /******/ error: err
61133
61223
  /******/ });
61134
61224
  /******/ }
61135
61225
  /******/ if (!options.ignoreErrored) {
61136
- /******/ reportError(err1);
61137
61226
  /******/ reportError(err);
61138
61227
  /******/ }
61139
61228
  /******/ }
61140
- /******/ } else {
61141
- /******/ if (options.onErrored) {
61142
- /******/ options.onErrored({
61143
- /******/ type: "self-accept-errored",
61144
- /******/ moduleId: moduleId,
61145
- /******/ error: err
61146
- /******/ });
61147
- /******/ }
61148
- /******/ if (!options.ignoreErrored) {
61149
- /******/ reportError(err);
61150
- /******/ }
61151
61229
  /******/ }
61152
61230
  /******/ }
61153
- /******/ }
61231
+ /******/ };
61154
61232
  /******/
61155
- /******/ return outdatedModules;
61233
+ /******/ return Promise.all(acceptPromises)
61234
+ /******/ .then(onAccepted)
61235
+ /******/ .then(function () {
61236
+ /******/ return outdatedModules;
61237
+ /******/ });
61156
61238
  /******/ }
61157
61239
  /******/ };
61158
61240
  /******/ }