mal-ui 0.1.3 → 0.1.5

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.
Files changed (35) hide show
  1. package/dist/carousel/index.js +2 -2
  2. package/dist/charts/index.js +2 -2
  3. package/dist/chunks/{index-w9ekv5h5.js → index-09jg9y6v.js} +6 -6
  4. package/dist/chunks/{index-w9ekv5h5.js.map → index-09jg9y6v.js.map} +2 -2
  5. package/dist/chunks/{index-rz8zh7g4.js → index-3rt0056t.js} +1 -1
  6. package/dist/chunks/{index-3ffbn0gc.js → index-9fh12jv3.js} +3 -4
  7. package/dist/chunks/{index-3ffbn0gc.js.map → index-9fh12jv3.js.map} +4 -4
  8. package/dist/chunks/{index-mc01z7m9.js → index-bkb742ej.js} +3 -21
  9. package/dist/chunks/{index-cg10ezdx.js.map → index-bkb742ej.js.map} +1 -1
  10. package/dist/code-highlight/index.js +2 -2
  11. package/dist/core/index.js +3 -4
  12. package/dist/core/index.js.map +1 -1
  13. package/dist/dates/index.js +3 -3
  14. package/dist/dropzone/index.js +14 -14
  15. package/dist/dropzone/index.js.map +2 -2
  16. package/dist/form/index.js +1 -1
  17. package/dist/hooks/index.js +2 -3
  18. package/dist/hooks/index.js.map +1 -1
  19. package/dist/index.js +4 -4
  20. package/dist/modals/index.js +2 -2
  21. package/dist/notifications/index.js +258 -256
  22. package/dist/notifications/index.js.map +9 -9
  23. package/dist/nprogress/index.js +2 -2
  24. package/dist/schedule/index.js +6 -6
  25. package/dist/schedule/index.js.map +2 -2
  26. package/dist/spotlight/index.js +2 -2
  27. package/dist/styles.css +1 -1
  28. package/dist/theme/index.js +2 -2
  29. package/dist/tiptap/index.js +2 -2
  30. package/package.json +1 -1
  31. package/dist/chunks/index-6b5mapr4.js +0 -2
  32. package/dist/chunks/index-6b5mapr4.js.map +0 -9
  33. package/dist/chunks/index-cg10ezdx.js +0 -2
  34. package/dist/chunks/index-mc01z7m9.js.map +0 -9
  35. /package/dist/chunks/{index-rz8zh7g4.js.map → index-3rt0056t.js.map} +0 -0
@@ -6,11 +6,11 @@ import {
6
6
  Modal,
7
7
  createUseExternalEvents,
8
8
  getDefaultZIndex
9
- } from "../chunks/index-3ffbn0gc.js";
9
+ } from "../chunks/index-9fh12jv3.js";
10
10
  import {
11
11
  randomId
12
12
  } from "../chunks/index-syjq3515.js";
13
- import"../chunks/index-mc01z7m9.js";
13
+ import"../chunks/index-bkb742ej.js";
14
14
 
15
15
  // node_modules/@mantine/modals/esm/context.mjs
16
16
  import { createContext } from "react";
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  require_prop_types
4
- } from "../chunks/index-w9ekv5h5.js";
4
+ } from "../chunks/index-09jg9y6v.js";
5
5
  import {
6
6
  createStore,
7
7
  useStore
@@ -19,7 +19,7 @@ import {
19
19
  useMantineTheme,
20
20
  useProps,
21
21
  useStyles
22
- } from "../chunks/index-3ffbn0gc.js";
22
+ } from "../chunks/index-9fh12jv3.js";
23
23
  import {
24
24
  randomId,
25
25
  useDidUpdate,
@@ -30,7 +30,7 @@ import {
30
30
  } from "../chunks/index-syjq3515.js";
31
31
  import {
32
32
  __toESM
33
- } from "../chunks/index-mc01z7m9.js";
33
+ } from "../chunks/index-bkb742ej.js";
34
34
 
35
35
  // node_modules/@mantine/notifications/esm/notifications.store.mjs
36
36
 
@@ -418,19 +418,6 @@ var Notifications_module_default = {
418
418
 
419
419
  // node_modules/@mantine/notifications/esm/Notifications.mjs
420
420
  import { useCallback, useEffect as useEffect2, useRef as useRef2, useState as useState2 } from "react";
421
- // node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
422
- function _objectWithoutPropertiesLoose(r, e) {
423
- if (r == null)
424
- return {};
425
- var t = {};
426
- for (var n in r)
427
- if ({}.hasOwnProperty.call(r, n)) {
428
- if (e.indexOf(n) !== -1)
429
- continue;
430
- t[n] = r[n];
431
- }
432
- return t;
433
- }
434
421
 
435
422
  // node_modules/@babel/runtime/helpers/esm/extends.js
436
423
  function _extends() {
@@ -444,11 +431,18 @@ function _extends() {
444
431
  }, _extends.apply(null, arguments);
445
432
  }
446
433
 
447
- // node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
448
- function _assertThisInitialized(e) {
449
- if (e === undefined)
450
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
451
- return e;
434
+ // node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
435
+ function _objectWithoutPropertiesLoose(r, e) {
436
+ if (r == null)
437
+ return {};
438
+ var t = {};
439
+ for (var n in r)
440
+ if ({}.hasOwnProperty.call(r, n)) {
441
+ if (e.indexOf(n) !== -1)
442
+ continue;
443
+ t[n] = r[n];
444
+ }
445
+ return t;
452
446
  }
453
447
 
454
448
  // node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js
@@ -463,205 +457,9 @@ function _inheritsLoose(t, o) {
463
457
  t.prototype = Object.create(o.prototype), t.prototype.constructor = t, _setPrototypeOf(t, o);
464
458
  }
465
459
 
466
- // node_modules/react-transition-group/esm/TransitionGroup.js
467
- var import_prop_types = __toESM(require_prop_types(), 1);
468
- import React2 from "react";
469
-
470
- // node_modules/react-transition-group/esm/TransitionGroupContext.js
471
- import React from "react";
472
- var TransitionGroupContext_default = React.createContext(null);
473
-
474
- // node_modules/react-transition-group/esm/utils/ChildMapping.js
475
- import { Children, cloneElement, isValidElement } from "react";
476
- function getChildMapping(children, mapFn) {
477
- var mapper = function mapper2(child) {
478
- return mapFn && isValidElement(child) ? mapFn(child) : child;
479
- };
480
- var result = Object.create(null);
481
- if (children)
482
- Children.map(children, function(c) {
483
- return c;
484
- }).forEach(function(child) {
485
- result[child.key] = mapper(child);
486
- });
487
- return result;
488
- }
489
- function mergeChildMappings(prev, next) {
490
- prev = prev || {};
491
- next = next || {};
492
- function getValueForKey(key) {
493
- return key in next ? next[key] : prev[key];
494
- }
495
- var nextKeysPending = Object.create(null);
496
- var pendingKeys = [];
497
- for (var prevKey in prev) {
498
- if (prevKey in next) {
499
- if (pendingKeys.length) {
500
- nextKeysPending[prevKey] = pendingKeys;
501
- pendingKeys = [];
502
- }
503
- } else {
504
- pendingKeys.push(prevKey);
505
- }
506
- }
507
- var i;
508
- var childMapping = {};
509
- for (var nextKey in next) {
510
- if (nextKeysPending[nextKey]) {
511
- for (i = 0;i < nextKeysPending[nextKey].length; i++) {
512
- var pendingNextKey = nextKeysPending[nextKey][i];
513
- childMapping[nextKeysPending[nextKey][i]] = getValueForKey(pendingNextKey);
514
- }
515
- }
516
- childMapping[nextKey] = getValueForKey(nextKey);
517
- }
518
- for (i = 0;i < pendingKeys.length; i++) {
519
- childMapping[pendingKeys[i]] = getValueForKey(pendingKeys[i]);
520
- }
521
- return childMapping;
522
- }
523
- function getProp(child, prop, props) {
524
- return props[prop] != null ? props[prop] : child.props[prop];
525
- }
526
- function getInitialChildMapping(props, onExited) {
527
- return getChildMapping(props.children, function(child) {
528
- return cloneElement(child, {
529
- onExited: onExited.bind(null, child),
530
- in: true,
531
- appear: getProp(child, "appear", props),
532
- enter: getProp(child, "enter", props),
533
- exit: getProp(child, "exit", props)
534
- });
535
- });
536
- }
537
- function getNextChildMapping(nextProps, prevChildMapping, onExited) {
538
- var nextChildMapping = getChildMapping(nextProps.children);
539
- var children = mergeChildMappings(prevChildMapping, nextChildMapping);
540
- Object.keys(children).forEach(function(key) {
541
- var child = children[key];
542
- if (!isValidElement(child))
543
- return;
544
- var hasPrev = key in prevChildMapping;
545
- var hasNext = key in nextChildMapping;
546
- var prevChild = prevChildMapping[key];
547
- var isLeaving = isValidElement(prevChild) && !prevChild.props.in;
548
- if (hasNext && (!hasPrev || isLeaving)) {
549
- children[key] = cloneElement(child, {
550
- onExited: onExited.bind(null, child),
551
- in: true,
552
- exit: getProp(child, "exit", nextProps),
553
- enter: getProp(child, "enter", nextProps)
554
- });
555
- } else if (!hasNext && hasPrev && !isLeaving) {
556
- children[key] = cloneElement(child, {
557
- in: false
558
- });
559
- } else if (hasNext && hasPrev && isValidElement(prevChild)) {
560
- children[key] = cloneElement(child, {
561
- onExited: onExited.bind(null, child),
562
- in: prevChild.props.in,
563
- exit: getProp(child, "exit", nextProps),
564
- enter: getProp(child, "enter", nextProps)
565
- });
566
- }
567
- });
568
- return children;
569
- }
570
-
571
- // node_modules/react-transition-group/esm/TransitionGroup.js
572
- var values = Object.values || function(obj) {
573
- return Object.keys(obj).map(function(k) {
574
- return obj[k];
575
- });
576
- };
577
- var defaultProps = {
578
- component: "div",
579
- childFactory: function childFactory(child) {
580
- return child;
581
- }
582
- };
583
- var TransitionGroup = /* @__PURE__ */ function(_React$Component) {
584
- _inheritsLoose(TransitionGroup2, _React$Component);
585
- function TransitionGroup2(props, context) {
586
- var _this;
587
- _this = _React$Component.call(this, props, context) || this;
588
- var handleExited = _this.handleExited.bind(_assertThisInitialized(_this));
589
- _this.state = {
590
- contextValue: {
591
- isMounting: true
592
- },
593
- handleExited,
594
- firstRender: true
595
- };
596
- return _this;
597
- }
598
- var _proto = TransitionGroup2.prototype;
599
- _proto.componentDidMount = function componentDidMount() {
600
- this.mounted = true;
601
- this.setState({
602
- contextValue: {
603
- isMounting: false
604
- }
605
- });
606
- };
607
- _proto.componentWillUnmount = function componentWillUnmount() {
608
- this.mounted = false;
609
- };
610
- TransitionGroup2.getDerivedStateFromProps = function getDerivedStateFromProps(nextProps, _ref) {
611
- var { children: prevChildMapping, handleExited, firstRender } = _ref;
612
- return {
613
- children: firstRender ? getInitialChildMapping(nextProps, handleExited) : getNextChildMapping(nextProps, prevChildMapping, handleExited),
614
- firstRender: false
615
- };
616
- };
617
- _proto.handleExited = function handleExited(child, node) {
618
- var currentChildMapping = getChildMapping(this.props.children);
619
- if (child.key in currentChildMapping)
620
- return;
621
- if (child.props.onExited) {
622
- child.props.onExited(node);
623
- }
624
- if (this.mounted) {
625
- this.setState(function(state) {
626
- var children = _extends({}, state.children);
627
- delete children[child.key];
628
- return {
629
- children
630
- };
631
- });
632
- }
633
- };
634
- _proto.render = function render() {
635
- var _this$props = this.props, Component = _this$props.component, childFactory2 = _this$props.childFactory, props = _objectWithoutPropertiesLoose(_this$props, ["component", "childFactory"]);
636
- var contextValue = this.state.contextValue;
637
- var children = values(this.state.children).map(childFactory2);
638
- delete props.appear;
639
- delete props.enter;
640
- delete props.exit;
641
- if (Component === null) {
642
- return /* @__PURE__ */ React2.createElement(TransitionGroupContext_default.Provider, {
643
- value: contextValue
644
- }, children);
645
- }
646
- return /* @__PURE__ */ React2.createElement(TransitionGroupContext_default.Provider, {
647
- value: contextValue
648
- }, /* @__PURE__ */ React2.createElement(Component, props, children));
649
- };
650
- return TransitionGroup2;
651
- }(React2.Component);
652
- TransitionGroup.propTypes = {
653
- component: import_prop_types.default.any,
654
- children: import_prop_types.default.node,
655
- appear: import_prop_types.default.bool,
656
- enter: import_prop_types.default.bool,
657
- exit: import_prop_types.default.bool,
658
- childFactory: import_prop_types.default.func
659
- };
660
- TransitionGroup.defaultProps = defaultProps;
661
- var TransitionGroup_default = TransitionGroup;
662
460
  // node_modules/react-transition-group/esm/Transition.js
663
- var import_prop_types3 = __toESM(require_prop_types(), 1);
664
- import React3 from "react";
461
+ var import_prop_types2 = __toESM(require_prop_types(), 1);
462
+ import React2 from "react";
665
463
  import ReactDOM from "react-dom";
666
464
 
667
465
  // node_modules/react-transition-group/esm/config.js
@@ -670,25 +468,29 @@ var config_default = {
670
468
  };
671
469
 
672
470
  // node_modules/react-transition-group/esm/utils/PropTypes.js
673
- var import_prop_types2 = __toESM(require_prop_types(), 1);
674
- var timeoutsShape = import_prop_types2.default.oneOfType([import_prop_types2.default.number, import_prop_types2.default.shape({
675
- enter: import_prop_types2.default.number,
676
- exit: import_prop_types2.default.number,
677
- appear: import_prop_types2.default.number
471
+ var import_prop_types = __toESM(require_prop_types(), 1);
472
+ var timeoutsShape = import_prop_types.default.oneOfType([import_prop_types.default.number, import_prop_types.default.shape({
473
+ enter: import_prop_types.default.number,
474
+ exit: import_prop_types.default.number,
475
+ appear: import_prop_types.default.number
678
476
  }).isRequired]);
679
- var classNamesShape = import_prop_types2.default.oneOfType([import_prop_types2.default.string, import_prop_types2.default.shape({
680
- enter: import_prop_types2.default.string,
681
- exit: import_prop_types2.default.string,
682
- active: import_prop_types2.default.string
683
- }), import_prop_types2.default.shape({
684
- enter: import_prop_types2.default.string,
685
- enterDone: import_prop_types2.default.string,
686
- enterActive: import_prop_types2.default.string,
687
- exit: import_prop_types2.default.string,
688
- exitDone: import_prop_types2.default.string,
689
- exitActive: import_prop_types2.default.string
477
+ var classNamesShape = import_prop_types.default.oneOfType([import_prop_types.default.string, import_prop_types.default.shape({
478
+ enter: import_prop_types.default.string,
479
+ exit: import_prop_types.default.string,
480
+ active: import_prop_types.default.string
481
+ }), import_prop_types.default.shape({
482
+ enter: import_prop_types.default.string,
483
+ enterDone: import_prop_types.default.string,
484
+ enterActive: import_prop_types.default.string,
485
+ exit: import_prop_types.default.string,
486
+ exitDone: import_prop_types.default.string,
487
+ exitActive: import_prop_types.default.string
690
488
  })]);
691
489
 
490
+ // node_modules/react-transition-group/esm/TransitionGroupContext.js
491
+ import React from "react";
492
+ var TransitionGroupContext_default = React.createContext(null);
493
+
692
494
  // node_modules/react-transition-group/esm/utils/reflow.js
693
495
  var forceReflow = function forceReflow2(node) {
694
496
  return node.scrollTop;
@@ -901,27 +703,27 @@ var Transition = /* @__PURE__ */ function(_React$Component) {
901
703
  return null;
902
704
  }
903
705
  var _this$props = this.props, children = _this$props.children, _in = _this$props.in, _mountOnEnter = _this$props.mountOnEnter, _unmountOnExit = _this$props.unmountOnExit, _appear = _this$props.appear, _enter = _this$props.enter, _exit = _this$props.exit, _timeout = _this$props.timeout, _addEndListener = _this$props.addEndListener, _onEnter = _this$props.onEnter, _onEntering = _this$props.onEntering, _onEntered = _this$props.onEntered, _onExit = _this$props.onExit, _onExiting = _this$props.onExiting, _onExited = _this$props.onExited, _nodeRef = _this$props.nodeRef, childProps = _objectWithoutPropertiesLoose(_this$props, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]);
904
- return /* @__PURE__ */ React3.createElement(TransitionGroupContext_default.Provider, {
706
+ return /* @__PURE__ */ React2.createElement(TransitionGroupContext_default.Provider, {
905
707
  value: null
906
- }, typeof children === "function" ? children(status, childProps) : React3.cloneElement(React3.Children.only(children), childProps));
708
+ }, typeof children === "function" ? children(status, childProps) : React2.cloneElement(React2.Children.only(children), childProps));
907
709
  };
908
710
  return Transition2;
909
- }(React3.Component);
711
+ }(React2.Component);
910
712
  Transition.contextType = TransitionGroupContext_default;
911
713
  Transition.propTypes = {
912
- nodeRef: import_prop_types3.default.shape({
913
- current: typeof Element === "undefined" ? import_prop_types3.default.any : function(propValue, key, componentName, location, propFullName, secret) {
714
+ nodeRef: import_prop_types2.default.shape({
715
+ current: typeof Element === "undefined" ? import_prop_types2.default.any : function(propValue, key, componentName, location, propFullName, secret) {
914
716
  var value = propValue[key];
915
- return import_prop_types3.default.instanceOf(value && "ownerDocument" in value ? value.ownerDocument.defaultView.Element : Element)(propValue, key, componentName, location, propFullName, secret);
717
+ return import_prop_types2.default.instanceOf(value && "ownerDocument" in value ? value.ownerDocument.defaultView.Element : Element)(propValue, key, componentName, location, propFullName, secret);
916
718
  }
917
719
  }),
918
- children: import_prop_types3.default.oneOfType([import_prop_types3.default.func.isRequired, import_prop_types3.default.element.isRequired]).isRequired,
919
- in: import_prop_types3.default.bool,
920
- mountOnEnter: import_prop_types3.default.bool,
921
- unmountOnExit: import_prop_types3.default.bool,
922
- appear: import_prop_types3.default.bool,
923
- enter: import_prop_types3.default.bool,
924
- exit: import_prop_types3.default.bool,
720
+ children: import_prop_types2.default.oneOfType([import_prop_types2.default.func.isRequired, import_prop_types2.default.element.isRequired]).isRequired,
721
+ in: import_prop_types2.default.bool,
722
+ mountOnEnter: import_prop_types2.default.bool,
723
+ unmountOnExit: import_prop_types2.default.bool,
724
+ appear: import_prop_types2.default.bool,
725
+ enter: import_prop_types2.default.bool,
726
+ exit: import_prop_types2.default.bool,
925
727
  timeout: function timeout(props) {
926
728
  var pt = timeoutsShape;
927
729
  if (!props.addEndListener)
@@ -931,13 +733,13 @@ Transition.propTypes = {
931
733
  }
932
734
  return pt.apply(undefined, [props].concat(args));
933
735
  },
934
- addEndListener: import_prop_types3.default.func,
935
- onEnter: import_prop_types3.default.func,
936
- onEntering: import_prop_types3.default.func,
937
- onEntered: import_prop_types3.default.func,
938
- onExit: import_prop_types3.default.func,
939
- onExiting: import_prop_types3.default.func,
940
- onExited: import_prop_types3.default.func
736
+ addEndListener: import_prop_types2.default.func,
737
+ onEnter: import_prop_types2.default.func,
738
+ onEntering: import_prop_types2.default.func,
739
+ onEntered: import_prop_types2.default.func,
740
+ onExit: import_prop_types2.default.func,
741
+ onExiting: import_prop_types2.default.func,
742
+ onExited: import_prop_types2.default.func
941
743
  };
942
744
  function noop() {}
943
745
  Transition.defaultProps = {
@@ -960,6 +762,206 @@ Transition.ENTERING = ENTERING;
960
762
  Transition.ENTERED = ENTERED;
961
763
  Transition.EXITING = EXITING;
962
764
  var Transition_default = Transition;
765
+
766
+ // node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
767
+ function _assertThisInitialized(e) {
768
+ if (e === undefined)
769
+ throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
770
+ return e;
771
+ }
772
+
773
+ // node_modules/react-transition-group/esm/TransitionGroup.js
774
+ var import_prop_types3 = __toESM(require_prop_types(), 1);
775
+ import React3 from "react";
776
+
777
+ // node_modules/react-transition-group/esm/utils/ChildMapping.js
778
+ import { Children, cloneElement, isValidElement } from "react";
779
+ function getChildMapping(children, mapFn) {
780
+ var mapper = function mapper(child) {
781
+ return mapFn && isValidElement(child) ? mapFn(child) : child;
782
+ };
783
+ var result = Object.create(null);
784
+ if (children)
785
+ Children.map(children, function(c) {
786
+ return c;
787
+ }).forEach(function(child) {
788
+ result[child.key] = mapper(child);
789
+ });
790
+ return result;
791
+ }
792
+ function mergeChildMappings(prev, next) {
793
+ prev = prev || {};
794
+ next = next || {};
795
+ function getValueForKey(key) {
796
+ return key in next ? next[key] : prev[key];
797
+ }
798
+ var nextKeysPending = Object.create(null);
799
+ var pendingKeys = [];
800
+ for (var prevKey in prev) {
801
+ if (prevKey in next) {
802
+ if (pendingKeys.length) {
803
+ nextKeysPending[prevKey] = pendingKeys;
804
+ pendingKeys = [];
805
+ }
806
+ } else {
807
+ pendingKeys.push(prevKey);
808
+ }
809
+ }
810
+ var i;
811
+ var childMapping = {};
812
+ for (var nextKey in next) {
813
+ if (nextKeysPending[nextKey]) {
814
+ for (i = 0;i < nextKeysPending[nextKey].length; i++) {
815
+ var pendingNextKey = nextKeysPending[nextKey][i];
816
+ childMapping[nextKeysPending[nextKey][i]] = getValueForKey(pendingNextKey);
817
+ }
818
+ }
819
+ childMapping[nextKey] = getValueForKey(nextKey);
820
+ }
821
+ for (i = 0;i < pendingKeys.length; i++) {
822
+ childMapping[pendingKeys[i]] = getValueForKey(pendingKeys[i]);
823
+ }
824
+ return childMapping;
825
+ }
826
+ function getProp(child, prop, props) {
827
+ return props[prop] != null ? props[prop] : child.props[prop];
828
+ }
829
+ function getInitialChildMapping(props, onExited) {
830
+ return getChildMapping(props.children, function(child) {
831
+ return cloneElement(child, {
832
+ onExited: onExited.bind(null, child),
833
+ in: true,
834
+ appear: getProp(child, "appear", props),
835
+ enter: getProp(child, "enter", props),
836
+ exit: getProp(child, "exit", props)
837
+ });
838
+ });
839
+ }
840
+ function getNextChildMapping(nextProps, prevChildMapping, onExited) {
841
+ var nextChildMapping = getChildMapping(nextProps.children);
842
+ var children = mergeChildMappings(prevChildMapping, nextChildMapping);
843
+ Object.keys(children).forEach(function(key) {
844
+ var child = children[key];
845
+ if (!isValidElement(child))
846
+ return;
847
+ var hasPrev = key in prevChildMapping;
848
+ var hasNext = key in nextChildMapping;
849
+ var prevChild = prevChildMapping[key];
850
+ var isLeaving = isValidElement(prevChild) && !prevChild.props.in;
851
+ if (hasNext && (!hasPrev || isLeaving)) {
852
+ children[key] = cloneElement(child, {
853
+ onExited: onExited.bind(null, child),
854
+ in: true,
855
+ exit: getProp(child, "exit", nextProps),
856
+ enter: getProp(child, "enter", nextProps)
857
+ });
858
+ } else if (!hasNext && hasPrev && !isLeaving) {
859
+ children[key] = cloneElement(child, {
860
+ in: false
861
+ });
862
+ } else if (hasNext && hasPrev && isValidElement(prevChild)) {
863
+ children[key] = cloneElement(child, {
864
+ onExited: onExited.bind(null, child),
865
+ in: prevChild.props.in,
866
+ exit: getProp(child, "exit", nextProps),
867
+ enter: getProp(child, "enter", nextProps)
868
+ });
869
+ }
870
+ });
871
+ return children;
872
+ }
873
+
874
+ // node_modules/react-transition-group/esm/TransitionGroup.js
875
+ var values = Object.values || function(obj) {
876
+ return Object.keys(obj).map(function(k) {
877
+ return obj[k];
878
+ });
879
+ };
880
+ var defaultProps = {
881
+ component: "div",
882
+ childFactory: function childFactory(child) {
883
+ return child;
884
+ }
885
+ };
886
+ var TransitionGroup = /* @__PURE__ */ function(_React$Component) {
887
+ _inheritsLoose(TransitionGroup2, _React$Component);
888
+ function TransitionGroup2(props, context) {
889
+ var _this;
890
+ _this = _React$Component.call(this, props, context) || this;
891
+ var handleExited = _this.handleExited.bind(_assertThisInitialized(_this));
892
+ _this.state = {
893
+ contextValue: {
894
+ isMounting: true
895
+ },
896
+ handleExited,
897
+ firstRender: true
898
+ };
899
+ return _this;
900
+ }
901
+ var _proto = TransitionGroup2.prototype;
902
+ _proto.componentDidMount = function componentDidMount() {
903
+ this.mounted = true;
904
+ this.setState({
905
+ contextValue: {
906
+ isMounting: false
907
+ }
908
+ });
909
+ };
910
+ _proto.componentWillUnmount = function componentWillUnmount() {
911
+ this.mounted = false;
912
+ };
913
+ TransitionGroup2.getDerivedStateFromProps = function getDerivedStateFromProps(nextProps, _ref) {
914
+ var { children: prevChildMapping, handleExited, firstRender } = _ref;
915
+ return {
916
+ children: firstRender ? getInitialChildMapping(nextProps, handleExited) : getNextChildMapping(nextProps, prevChildMapping, handleExited),
917
+ firstRender: false
918
+ };
919
+ };
920
+ _proto.handleExited = function handleExited(child, node) {
921
+ var currentChildMapping = getChildMapping(this.props.children);
922
+ if (child.key in currentChildMapping)
923
+ return;
924
+ if (child.props.onExited) {
925
+ child.props.onExited(node);
926
+ }
927
+ if (this.mounted) {
928
+ this.setState(function(state) {
929
+ var children = _extends({}, state.children);
930
+ delete children[child.key];
931
+ return {
932
+ children
933
+ };
934
+ });
935
+ }
936
+ };
937
+ _proto.render = function render() {
938
+ var _this$props = this.props, Component = _this$props.component, childFactory2 = _this$props.childFactory, props = _objectWithoutPropertiesLoose(_this$props, ["component", "childFactory"]);
939
+ var contextValue = this.state.contextValue;
940
+ var children = values(this.state.children).map(childFactory2);
941
+ delete props.appear;
942
+ delete props.enter;
943
+ delete props.exit;
944
+ if (Component === null) {
945
+ return /* @__PURE__ */ React3.createElement(TransitionGroupContext_default.Provider, {
946
+ value: contextValue
947
+ }, children);
948
+ }
949
+ return /* @__PURE__ */ React3.createElement(TransitionGroupContext_default.Provider, {
950
+ value: contextValue
951
+ }, /* @__PURE__ */ React3.createElement(Component, props, children));
952
+ };
953
+ return TransitionGroup2;
954
+ }(React3.Component);
955
+ TransitionGroup.propTypes = {
956
+ component: import_prop_types3.default.any,
957
+ children: import_prop_types3.default.node,
958
+ appear: import_prop_types3.default.bool,
959
+ enter: import_prop_types3.default.bool,
960
+ exit: import_prop_types3.default.bool,
961
+ childFactory: import_prop_types3.default.func
962
+ };
963
+ TransitionGroup.defaultProps = defaultProps;
964
+ var TransitionGroup_default = TransitionGroup;
963
965
  // node_modules/@mantine/notifications/esm/Notifications.mjs
964
966
  import { jsx as jsx2, jsxs } from "react/jsx-runtime";
965
967
 
@@ -1119,4 +1121,4 @@ export {
1119
1121
  Notifications
1120
1122
  };
1121
1123
 
1122
- //# debugId=8F224AA7DDC64EF164756E2164756E21
1124
+ //# debugId=87486BFA1A61D32A64756E2164756E21