gantt-task-react-powern 0.6.12 → 0.6.13

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.
@@ -3540,37 +3540,11 @@ var Gantt = function Gantt(_ref) {
3540
3540
  taskLabelRenderer: taskLabelRenderer,
3541
3541
  onMultiSelect: onMultiSelect
3542
3542
  };
3543
-
3544
- if (isProcessing) {
3545
- return React.createElement("div", {
3546
- className: styles$9.wrapper,
3547
- style: {
3548
- position: "relative",
3549
- minHeight: ganttHeight + 70 || 400
3550
- }
3551
- }, React.createElement("div", {
3552
- style: {
3553
- position: "absolute",
3554
- inset: 0,
3555
- height: "100%",
3556
- width: "100%",
3557
- display: "flex",
3558
- justifyContent: "center",
3559
- alignItems: "center",
3560
- gap: "16px"
3561
- }
3562
- }, React.createElement("span", {
3563
- style: {
3564
- fontSize: "24px",
3565
- color: "#cc0404",
3566
- fontFamily: "Arial, sans-serif"
3567
- }
3568
- }, "Loading..."), React.createElement("div", {
3569
- className: styles$9.spinner
3570
- })));
3571
- }
3572
-
3573
- return React.createElement("div", null, React.createElement("div", {
3543
+ return React.createElement("div", {
3544
+ style: {
3545
+ position: "relative"
3546
+ }
3547
+ }, React.createElement("div", {
3574
3548
  className: styles$9.wrapper,
3575
3549
  onKeyDown: handleKeyDown,
3576
3550
  tabIndex: 0,
@@ -3605,6 +3579,31 @@ var Gantt = function Gantt(_ref) {
3605
3579
  scroll: scrollY,
3606
3580
  onScroll: handleScrollY,
3607
3581
  rtl: rtl
3582
+ })), isProcessing && React.createElement("div", {
3583
+ style: {
3584
+ position: "absolute",
3585
+ top: 0,
3586
+ left: 0,
3587
+ right: 0,
3588
+ bottom: 0,
3589
+ backgroundColor: "rgba(255, 255, 255, 0.95)",
3590
+ display: "flex",
3591
+ justifyContent: "center",
3592
+ alignItems: "center",
3593
+ gap: "20px",
3594
+ zIndex: 9999,
3595
+ pointerEvents: "none",
3596
+ borderRadius: "8px"
3597
+ }
3598
+ }, React.createElement("span", {
3599
+ style: {
3600
+ fontSize: "24px",
3601
+ fontWeight: "600",
3602
+ color: "#cc0404",
3603
+ fontFamily: "Arial, sans-serif"
3604
+ }
3605
+ }, "Loading..."), React.createElement("div", {
3606
+ className: styles$9.spinner
3608
3607
  })), React.createElement(HorizontalScroll, {
3609
3608
  svgWidth: svgWidth,
3610
3609
  taskListWidth: taskListWidth,