sag_components 2.0.0-beta104 → 2.0.0-beta106

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/index.esm.js CHANGED
@@ -44,7 +44,7 @@ const ButtonItem = styled.div`
44
44
  background-color: ${props => props.disabled ? props.disabled_backgroundColor : props.hover_background_color};
45
45
  border-color: ${props => props.disabled ? props.disabled_border_color : props.hover_border_color};
46
46
  color: ${props => props.disabled ? props.disabled_text_color : props.hover_text_color};
47
- box-shadow: ${props => props.disabled ? '' : '5px 5px 10px 0px rgba(0, 0, 0, 0.2)'};
47
+ box-shadow: ${props => props.disabled || props.background_color === 'transparent' ? '' : '5px 5px 10px 0px rgba(0, 0, 0, 0.2)'};
48
48
  cursor: ${props => !props.disabled ? 'pointer' : 'default'};
49
49
  }
50
50
  &.ButtonItem-clicked {
@@ -62,7 +62,7 @@ const Label$a = styled.label`
62
62
  pointer-events: none;
63
63
  user-select: none;
64
64
  `;
65
- const IconWrapper$5 = styled.div`
65
+ const IconWrapper$6 = styled.div`
66
66
  display: flex;
67
67
  align-items: center;
68
68
  justify-content: center;
@@ -494,7 +494,7 @@ const Button$1 = props => {
494
494
  width: "16px",
495
495
  color: disabled ? disabledTextColor || "#B1B1B1" : hover ? hoverTextColor || (type === "secondary" ? "#229E38" : "#ffffff") : textColor || (type === "secondary" ? "#212121" : "#ffffff")
496
496
  };
497
- return /*#__PURE__*/React$1.createElement(IconWrapper$5, null, /*#__PURE__*/React$1.createElement(IconComponent, iconProps));
497
+ return /*#__PURE__*/React$1.createElement(IconWrapper$6, null, /*#__PURE__*/React$1.createElement(IconComponent, iconProps));
498
498
  };
499
499
  const commonProps = {
500
500
  width: width || null,
@@ -2189,10 +2189,10 @@ const TooltipTip$1 = styled.div`
2189
2189
  const Tooltip$2 = props => {
2190
2190
  const {
2191
2191
  children,
2192
- content,
2193
- direction,
2194
- delay,
2195
- topFactor
2192
+ content = 'Tooltip content',
2193
+ direction = 'top',
2194
+ delay = '400',
2195
+ topFactor = -1.8
2196
2196
  } = props;
2197
2197
  let timeout;
2198
2198
  const [active, setActive] = useState(false);
@@ -2205,7 +2205,10 @@ const Tooltip$2 = props => {
2205
2205
  clearInterval(timeout);
2206
2206
  setActive(false);
2207
2207
  };
2208
- return /*#__PURE__*/React$1.createElement(TooltipContainer$4, null, /*#__PURE__*/React$1.createElement(TooltipWrapper$2, {
2208
+ return /*#__PURE__*/React$1.createElement(TooltipContainer$4, {
2209
+ className: "tooltip-container"
2210
+ }, /*#__PURE__*/React$1.createElement(TooltipWrapper$2, {
2211
+ className: "tooltip-wrapper",
2209
2212
  onMouseEnter: showTip,
2210
2213
  onMouseLeave: hideTip
2211
2214
  }, children, active && /*#__PURE__*/React$1.createElement(TooltipTip$1, {
@@ -2213,20 +2216,6 @@ const Tooltip$2 = props => {
2213
2216
  topFactor: topFactor
2214
2217
  }, content)));
2215
2218
  };
2216
- Tooltip$2.propTypes = {
2217
- children: PropTypes.node,
2218
- content: PropTypes.node,
2219
- direction: PropTypes.string,
2220
- delay: PropTypes.string,
2221
- topFactor: PropTypes.number
2222
- };
2223
- Tooltip$2.defaultProps = {
2224
- children: null,
2225
- content: 'Tooltip content',
2226
- direction: 'top',
2227
- delay: '400',
2228
- topFactor: -1.8
2229
- };
2230
2219
 
2231
2220
  /* Benchmark */
2232
2221
  const Benchmark = props => {
@@ -2977,7 +2966,7 @@ const Label$9 = styled.label`
2977
2966
  user-select: none;
2978
2967
  pointer-events: none;
2979
2968
  `;
2980
- const IconWrapper$4 = styled.div`
2969
+ const IconWrapper$5 = styled.div`
2981
2970
  display: flex;
2982
2971
  align-items: center;
2983
2972
  justify-content: center;
@@ -3101,7 +3090,7 @@ const LinkButton = _ref => {
3101
3090
  const color = disabled ? '#B1B1B1' : newTextColor;
3102
3091
  switch (icon.toLowerCase()) {
3103
3092
  case 'filter':
3104
- return /*#__PURE__*/React$1.createElement(IconWrapper$4, {
3093
+ return /*#__PURE__*/React$1.createElement(IconWrapper$5, {
3105
3094
  className: "FilterIcon"
3106
3095
  }, /*#__PURE__*/React$1.createElement(FilterIcon$1, {
3107
3096
  height: iconHeight,
@@ -3109,7 +3098,7 @@ const LinkButton = _ref => {
3109
3098
  color: color
3110
3099
  }));
3111
3100
  case 'plus':
3112
- return /*#__PURE__*/React$1.createElement(IconWrapper$4, {
3101
+ return /*#__PURE__*/React$1.createElement(IconWrapper$5, {
3113
3102
  className: "PlusIcon"
3114
3103
  }, /*#__PURE__*/React$1.createElement(PlusIcon, {
3115
3104
  height: iconHeight,
@@ -3117,7 +3106,7 @@ const LinkButton = _ref => {
3117
3106
  color: color
3118
3107
  }));
3119
3108
  case 'options':
3120
- return /*#__PURE__*/React$1.createElement(IconWrapper$4, {
3109
+ return /*#__PURE__*/React$1.createElement(IconWrapper$5, {
3121
3110
  className: "OptionsIcon"
3122
3111
  }, /*#__PURE__*/React$1.createElement(OptionsIcon, {
3123
3112
  height: iconHeight,
@@ -3125,7 +3114,7 @@ const LinkButton = _ref => {
3125
3114
  color: color
3126
3115
  }));
3127
3116
  case 'download':
3128
- return /*#__PURE__*/React$1.createElement(IconWrapper$4, {
3117
+ return /*#__PURE__*/React$1.createElement(IconWrapper$5, {
3129
3118
  className: "DownloadIcon"
3130
3119
  }, /*#__PURE__*/React$1.createElement(DownloadIcon, {
3131
3120
  height: iconHeight,
@@ -3133,7 +3122,7 @@ const LinkButton = _ref => {
3133
3122
  color: color
3134
3123
  }));
3135
3124
  case 'document':
3136
- return /*#__PURE__*/React$1.createElement(IconWrapper$4, {
3125
+ return /*#__PURE__*/React$1.createElement(IconWrapper$5, {
3137
3126
  className: "DocumentIcon"
3138
3127
  }, /*#__PURE__*/React$1.createElement(DocumentIcon, {
3139
3128
  height: iconHeight,
@@ -3141,7 +3130,7 @@ const LinkButton = _ref => {
3141
3130
  color: color
3142
3131
  }));
3143
3132
  case 'fly':
3144
- return /*#__PURE__*/React$1.createElement(IconWrapper$4, {
3133
+ return /*#__PURE__*/React$1.createElement(IconWrapper$5, {
3145
3134
  className: "FlyIcon"
3146
3135
  }, /*#__PURE__*/React$1.createElement(FlyIcon, {
3147
3136
  height: iconHeight,
@@ -3149,7 +3138,7 @@ const LinkButton = _ref => {
3149
3138
  color: color
3150
3139
  }));
3151
3140
  case 'bell':
3152
- return /*#__PURE__*/React$1.createElement(IconWrapper$4, {
3141
+ return /*#__PURE__*/React$1.createElement(IconWrapper$5, {
3153
3142
  className: "BellIcon"
3154
3143
  }, /*#__PURE__*/React$1.createElement(BellIcon, {
3155
3144
  height: iconHeight,
@@ -3157,7 +3146,7 @@ const LinkButton = _ref => {
3157
3146
  color: color
3158
3147
  }));
3159
3148
  case 'maintenance':
3160
- return /*#__PURE__*/React$1.createElement(IconWrapper$4, {
3149
+ return /*#__PURE__*/React$1.createElement(IconWrapper$5, {
3161
3150
  className: "MaintenanceIcon"
3162
3151
  }, /*#__PURE__*/React$1.createElement(MaintenanceIcon, {
3163
3152
  height: iconHeight,
@@ -3165,7 +3154,7 @@ const LinkButton = _ref => {
3165
3154
  color: color
3166
3155
  }));
3167
3156
  case 'exit':
3168
- return /*#__PURE__*/React$1.createElement(IconWrapper$4, {
3157
+ return /*#__PURE__*/React$1.createElement(IconWrapper$5, {
3169
3158
  className: "ExitIcon"
3170
3159
  }, /*#__PURE__*/React$1.createElement(ExitIcon, {
3171
3160
  height: iconHeight,
@@ -3173,7 +3162,7 @@ const LinkButton = _ref => {
3173
3162
  color: color
3174
3163
  }));
3175
3164
  case 'eye':
3176
- return /*#__PURE__*/React$1.createElement(IconWrapper$4, {
3165
+ return /*#__PURE__*/React$1.createElement(IconWrapper$5, {
3177
3166
  className: "EyeIcon"
3178
3167
  }, /*#__PURE__*/React$1.createElement(EyeIcon, {
3179
3168
  height: iconHeight,
@@ -3181,7 +3170,7 @@ const LinkButton = _ref => {
3181
3170
  color: color
3182
3171
  }));
3183
3172
  case 'arrowdown':
3184
- return /*#__PURE__*/React$1.createElement(IconWrapper$4, {
3173
+ return /*#__PURE__*/React$1.createElement(IconWrapper$5, {
3185
3174
  className: "ArrowDownIcon"
3186
3175
  }, /*#__PURE__*/React$1.createElement(MenuItemOpenIcon, {
3187
3176
  height: iconHeight,
@@ -3189,7 +3178,7 @@ const LinkButton = _ref => {
3189
3178
  color: color
3190
3179
  }));
3191
3180
  case 'arrowright':
3192
- return /*#__PURE__*/React$1.createElement(IconWrapper$4, {
3181
+ return /*#__PURE__*/React$1.createElement(IconWrapper$5, {
3193
3182
  className: "ArrowRightIcon"
3194
3183
  }, /*#__PURE__*/React$1.createElement(MenuItemRightIcon, {
3195
3184
  height: iconHeight,
@@ -3197,7 +3186,7 @@ const LinkButton = _ref => {
3197
3186
  color: color
3198
3187
  }));
3199
3188
  case 'select':
3200
- return /*#__PURE__*/React$1.createElement(IconWrapper$4, {
3189
+ return /*#__PURE__*/React$1.createElement(IconWrapper$5, {
3201
3190
  className: "SelectRightIcon"
3202
3191
  }, /*#__PURE__*/React$1.createElement(ArrowSelectIcon, {
3203
3192
  height: "16px",
@@ -3205,7 +3194,7 @@ const LinkButton = _ref => {
3205
3194
  color: color
3206
3195
  }));
3207
3196
  case 'info':
3208
- return /*#__PURE__*/React$1.createElement(IconWrapper$4, {
3197
+ return /*#__PURE__*/React$1.createElement(IconWrapper$5, {
3209
3198
  className: "InfoIcon"
3210
3199
  }, /*#__PURE__*/React$1.createElement(InfoIcon, {
3211
3200
  height: iconHeight,
@@ -3495,7 +3484,7 @@ const TextFieldContainer = styled.div`
3495
3484
  position: relative;
3496
3485
  width: ${props => props.width};
3497
3486
  `;
3498
- const IconWrapper$3 = styled.div`
3487
+ const IconWrapper$4 = styled.div`
3499
3488
  position: absolute;
3500
3489
  top: 50%;
3501
3490
  transform: translateY(-50%);
@@ -3538,7 +3527,7 @@ const SearchInput = props => {
3538
3527
  return /*#__PURE__*/React$1.createElement(TextFieldContainer, {
3539
3528
  className: className,
3540
3529
  width: width
3541
- }, /*#__PURE__*/React$1.createElement(IconWrapper$3, {
3530
+ }, /*#__PURE__*/React$1.createElement(IconWrapper$4, {
3542
3531
  position: position
3543
3532
  }, /*#__PURE__*/React$1.createElement(SearchIcon, {
3544
3533
  color: iconColor
@@ -8531,7 +8520,6 @@ const Label$7 = styled.label`
8531
8520
  position: absolute;
8532
8521
  top: ${props => props.isFocused || props.hasValue ? '0px' : '28px'};
8533
8522
  left: ${props => props.isFocused || props.hasValue ? '23px' : '10px'};
8534
- font-family: Poppins;
8535
8523
  transform: translateY(-50%);
8536
8524
  transition: ${props => props.showLabelOnTop ? 'top 0.3s ease, font-size 0.3s ease, color 0.3s ease' : ''} ;
8537
8525
  display: flex;
@@ -8565,14 +8553,13 @@ const InputContainer$8 = styled.div`
8565
8553
  border-radius: 12px;
8566
8554
  outline: none;
8567
8555
  color: ${props => props.disabled ? '#888' : '#212121'};
8568
- &:hover {
8569
- border: 1px solid ${props => props.disabled ? '#bdbdbd' : props.error ? 'red' : props.labelColor || '#212121'};
8570
- cursor: ${props => props.disabled ? 'not-allowed' : 'pointer'};
8571
- }
8572
- &:focus {
8573
- border: 1px solid ${props => props.disabled ? '#bdbdbd' : props.error ? 'red' : props.labelColor || '#212121'};
8574
- }
8575
-
8556
+ &:hover {
8557
+ border: 1px solid ${props => props.disabled ? '#bdbdbd' : props.error ? 'red' : props.labelColor || '#212121'};
8558
+ cursor: ${props => props.disabled ? 'not-allowed' : 'pointer'};
8559
+ }
8560
+ &:focus {
8561
+ border: 1px solid ${props => props.disabled ? '#bdbdbd' : props.error ? 'red' : props.labelColor || '#212121'};
8562
+ }
8576
8563
  `;
8577
8564
  const InputSubContainer$4 = styled.div`
8578
8565
  display: flex;
@@ -8595,7 +8582,6 @@ const InputSubContainer$4 = styled.div`
8595
8582
  const StyledInput$8 = styled.input`
8596
8583
  width: calc(100% - 10px);
8597
8584
  height: 20px;
8598
- font-family: Poppins;
8599
8585
  font-weight: 400;
8600
8586
  font-size: 14px;
8601
8587
  outline: none;
@@ -8623,7 +8609,6 @@ const OptionsSubContainer$3 = styled.ul`
8623
8609
  left: 0;
8624
8610
  z-index: 101;
8625
8611
  width: calc(100% - 23px);
8626
- font-family: Poppins;
8627
8612
  border-radius: 4px;
8628
8613
  background-color: white;
8629
8614
  display: ${props => props.showoptions && props.filteredoptions?.length > 0 ? 'block' : 'none'};
@@ -8640,7 +8625,6 @@ const OptionItem$3 = styled.li`
8640
8625
  padding: 10px;
8641
8626
  cursor: pointer;
8642
8627
  color: #212121;
8643
- font-family: Poppins;
8644
8628
  font-size: 14px;
8645
8629
  font-style: normal;
8646
8630
  font-weight: 400;
@@ -23919,21 +23903,22 @@ const DeleteIcon = styled.div`
23919
23903
  position: absolute;
23920
23904
  `;
23921
23905
 
23922
- const QuickFilterDropdownSingle = ({
23923
- label,
23924
- hoverColor,
23925
- options,
23926
- selectedValue,
23927
- placeHolder,
23928
- onChange,
23929
- disabled,
23930
- width,
23931
- error,
23932
- errorMessage,
23933
- xIconShow,
23934
- labelColor,
23935
- showLabelOnTop
23936
- }) => {
23906
+ const QuickFilterDropdownSingle = _ref => {
23907
+ let {
23908
+ label,
23909
+ hoverColor,
23910
+ options,
23911
+ selectedValue,
23912
+ placeHolder,
23913
+ onChange,
23914
+ disabled,
23915
+ width,
23916
+ error,
23917
+ errorMessage,
23918
+ xIconShow,
23919
+ labelColor,
23920
+ showLabelOnTop
23921
+ } = _ref;
23937
23922
  const [isFocused, setIsFocused] = useState(false);
23938
23923
  const [showOptions, setShowOptions] = useState(false);
23939
23924
  const [inputValue, setInputValue] = useState("");
@@ -34360,7 +34345,7 @@ const Modal = styled.div`
34360
34345
  display: flex;
34361
34346
  gap: 20px;
34362
34347
  padding: 20px;
34363
- margin-top: 50px;
34348
+ margin-top: 40px;
34364
34349
  flex-direction: column;
34365
34350
  background-color: white;
34366
34351
  border-radius: 12px;
@@ -34401,6 +34386,7 @@ const ModalWithOverlay = props => {
34401
34386
  cancelButtonLeftIcon = '',
34402
34387
  cancelButtonRightIcon = '',
34403
34388
  cancelButtonType = 'secondary',
34389
+ disableOkButton = false,
34404
34390
  okButtonColor = '',
34405
34391
  okButtonHoverBackgroundColor = '',
34406
34392
  okButtonText = 'OK',
@@ -34413,7 +34399,9 @@ const ModalWithOverlay = props => {
34413
34399
  overlayOpacity = 0.797,
34414
34400
  showCancelButton = true,
34415
34401
  // Added this prop
34416
- showOkButton = true // Added this prop
34402
+ showOkButton = true,
34403
+ // Added this prop
34404
+ tooltipContent = ''
34417
34405
  } = props;
34418
34406
  const overlayStyle = {
34419
34407
  backgroundColor: overlayTransparent ? "transparent" : `rgba(0, 0, 0, ${overlayOpacity || 0.797})`
@@ -34438,18 +34426,41 @@ const ModalWithOverlay = props => {
34438
34426
  rightIcon: cancelButtonRightIcon,
34439
34427
  text: cancelButtonText,
34440
34428
  onClick: onCancel
34441
- }), showOkButton && /*#__PURE__*/React$1.createElement(Button$1, {
34429
+ }), showOkButton && (disableOkButton && tooltipContent !== '' ? /*#__PURE__*/React$1.createElement(Tooltip$2, {
34430
+ direction: "top",
34431
+ topFactor: -0.85,
34432
+ content: /*#__PURE__*/React$1.createElement("span", {
34433
+ dangerouslySetInnerHTML: {
34434
+ __html: tooltipContent
34435
+ }
34436
+ })
34437
+ }, /*#__PURE__*/React$1.createElement(Button$1, {
34438
+ size: "medium",
34439
+ type: okButtonType,
34440
+ leftIcon: okButtonLeftIcon,
34441
+ rightIcon: okButtonRightIcon,
34442
+ disabled: disableOkButton,
34443
+ text: okButtonText,
34444
+ onClick: onOk,
34445
+ borderColor: okButtonColor,
34446
+ backgroundColor: okButtonColor,
34447
+ hoverBorderColor: okButtonHoverBackgroundColor,
34448
+ hoverBackgroundColor: okButtonHoverBackgroundColor,
34449
+ hoverTextColor: "#212121"
34450
+ })) : /*#__PURE__*/React$1.createElement(Button$1, {
34442
34451
  size: "medium",
34443
34452
  type: okButtonType,
34444
34453
  leftIcon: okButtonLeftIcon,
34445
34454
  rightIcon: okButtonRightIcon,
34455
+ disabled: disableOkButton,
34446
34456
  text: okButtonText,
34447
34457
  onClick: onOk,
34448
34458
  borderColor: okButtonColor,
34449
34459
  backgroundColor: okButtonColor,
34460
+ hoverBorderColor: okButtonHoverBackgroundColor,
34450
34461
  hoverBackgroundColor: okButtonHoverBackgroundColor,
34451
34462
  hoverTextColor: "#212121"
34452
- }))), /*#__PURE__*/React$1.createElement(ModalBody, {
34463
+ })))), /*#__PURE__*/React$1.createElement(ModalBody, {
34453
34464
  className: "modal-body"
34454
34465
  }, children)));
34455
34466
  };
@@ -34588,6 +34599,12 @@ const WeeksCalendar = ({
34588
34599
  const [startWeek, setStartWeek] = useState(defaultStartWeek);
34589
34600
  const [endWeek, setEndWeek] = useState(defaultEndWeek);
34590
34601
 
34602
+ // Update state when props change (handles cases where component persists)
34603
+ useEffect(() => {
34604
+ setStartWeek(defaultStartWeek);
34605
+ setEndWeek(defaultEndWeek);
34606
+ }, [defaultStartWeek, defaultEndWeek]);
34607
+
34591
34608
  // derived helpers --------------------------------------
34592
34609
  const hasSelection = startWeek !== null;
34593
34610
  const isRange = hasSelection && endWeek !== null && endWeek !== startWeek;
@@ -34789,6 +34806,45 @@ const WeeksPicker = _ref => {
34789
34806
  const [isOpen, setIsOpen] = useState(false);
34790
34807
  const [showAbove, setShowAbove] = useState(false);
34791
34808
 
34809
+ // Function to parse the value string and extract week numbers
34810
+ const parseValueToWeeks = valueString => {
34811
+ if (!valueString) return {
34812
+ startWeek: null,
34813
+ endWeek: null
34814
+ };
34815
+
34816
+ // Handle single week: "Week 5"
34817
+ const singleWeekMatch = valueString.match(/^Week (\d+)$/);
34818
+ if (singleWeekMatch) {
34819
+ const week = parseInt(singleWeekMatch[1]);
34820
+ return {
34821
+ startWeek: week,
34822
+ endWeek: week
34823
+ };
34824
+ }
34825
+
34826
+ // Handle week range: "Weeks 5 - 10"
34827
+ const rangeMatch = valueString.match(/^Weeks (\d+) - (\d+)$/);
34828
+ if (rangeMatch) {
34829
+ const startWeek = parseInt(rangeMatch[1]);
34830
+ const endWeek = parseInt(rangeMatch[2]);
34831
+ return {
34832
+ startWeek,
34833
+ endWeek
34834
+ };
34835
+ }
34836
+ return {
34837
+ startWeek: null,
34838
+ endWeek: null
34839
+ };
34840
+ };
34841
+
34842
+ // Get current parsed weeks from value
34843
+ const {
34844
+ startWeek: currentStartWeek,
34845
+ endWeek: currentEndWeek
34846
+ } = parseValueToWeeks(value);
34847
+
34792
34848
  // Handle click outside to close calendar
34793
34849
  useEffect(() => {
34794
34850
  const handleClickOutside = event => {
@@ -34903,6 +34959,8 @@ const WeeksPicker = _ref => {
34903
34959
  showAbove: showAbove
34904
34960
  }, /*#__PURE__*/React$1.createElement(WeeksCalendar, {
34905
34961
  year: year,
34962
+ defaultStartWeek: currentStartWeek,
34963
+ defaultEndWeek: currentEndWeek,
34906
34964
  backgroundColor: borderColorFocus,
34907
34965
  hoverBackgroundColor: hoverColor,
34908
34966
  onApply: (start, end) => {
@@ -34977,7 +35035,7 @@ function FaEyeSlash (props) {
34977
35035
  return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 640 512"},"child":[{"tag":"path","attr":{"d":"M320 400c-75.85 0-137.25-58.71-142.9-133.11L72.2 185.82c-13.79 17.3-26.48 35.59-36.72 55.59a32.35 32.35 0 0 0 0 29.19C89.71 376.41 197.07 448 320 448c26.91 0 52.87-4 77.89-10.46L346 397.39a144.13 144.13 0 0 1-26 2.61zm313.82 58.1l-110.55-85.44a331.25 331.25 0 0 0 81.25-102.07 32.35 32.35 0 0 0 0-29.19C550.29 135.59 442.93 64 320 64a308.15 308.15 0 0 0-147.32 37.7L45.46 3.37A16 16 0 0 0 23 6.18L3.37 31.45A16 16 0 0 0 6.18 53.9l588.36 454.73a16 16 0 0 0 22.46-2.81l19.64-25.27a16 16 0 0 0-2.82-22.45zm-183.72-142l-39.3-30.38A94.75 94.75 0 0 0 416 256a94.76 94.76 0 0 0-121.31-92.21A47.65 47.65 0 0 1 304 192a46.64 46.64 0 0 1-1.54 10l-73.61-56.89A142.31 142.31 0 0 1 320 112a143.92 143.92 0 0 1 144 144c0 21.63-5.29 41.79-13.9 60.11z"},"child":[]}]})(props);
34978
35036
  }
34979
35037
 
34980
- const IconWrapper$2 = styled.div`
35038
+ const IconWrapper$3 = styled.div`
34981
35039
  display: flex;
34982
35040
  align-items: center;
34983
35041
  justify-content: center;
@@ -34993,7 +35051,7 @@ const getIcon = (icon, iconHeight, iconWidth, color, disabled, pointer, callBack
34993
35051
  const newColor = disabled ? '#D0D0D0' : color || '#212121';
34994
35052
  switch (icon.toLowerCase()) {
34995
35053
  case 'filter':
34996
- return /*#__PURE__*/React$1.createElement(IconWrapper$2, {
35054
+ return /*#__PURE__*/React$1.createElement(IconWrapper$3, {
34997
35055
  className: "FilterIcon",
34998
35056
  pointer: pointer,
34999
35057
  disabled: disabled,
@@ -35005,7 +35063,7 @@ const getIcon = (icon, iconHeight, iconWidth, color, disabled, pointer, callBack
35005
35063
  onClick: callBackOnClick
35006
35064
  }));
35007
35065
  case 'options':
35008
- return /*#__PURE__*/React$1.createElement(IconWrapper$2, {
35066
+ return /*#__PURE__*/React$1.createElement(IconWrapper$3, {
35009
35067
  className: "OptionsIcon",
35010
35068
  pointer: pointer,
35011
35069
  disabled: disabled,
@@ -35017,7 +35075,7 @@ const getIcon = (icon, iconHeight, iconWidth, color, disabled, pointer, callBack
35017
35075
  onClick: callBackOnClick
35018
35076
  }));
35019
35077
  case 'download':
35020
- return /*#__PURE__*/React$1.createElement(IconWrapper$2, {
35078
+ return /*#__PURE__*/React$1.createElement(IconWrapper$3, {
35021
35079
  className: "DownloadIcon",
35022
35080
  pointer: pointer,
35023
35081
  disabled: disabled,
@@ -35029,7 +35087,7 @@ const getIcon = (icon, iconHeight, iconWidth, color, disabled, pointer, callBack
35029
35087
  onClick: callBackOnClick
35030
35088
  }));
35031
35089
  case 'document':
35032
- return /*#__PURE__*/React$1.createElement(IconWrapper$2, {
35090
+ return /*#__PURE__*/React$1.createElement(IconWrapper$3, {
35033
35091
  className: "DocumentIcon",
35034
35092
  pointer: pointer,
35035
35093
  disabled: disabled,
@@ -35041,7 +35099,7 @@ const getIcon = (icon, iconHeight, iconWidth, color, disabled, pointer, callBack
35041
35099
  onClick: callBackOnClick
35042
35100
  }));
35043
35101
  case 'fly':
35044
- return /*#__PURE__*/React$1.createElement(IconWrapper$2, {
35102
+ return /*#__PURE__*/React$1.createElement(IconWrapper$3, {
35045
35103
  className: "FlyIcon",
35046
35104
  pointer: pointer,
35047
35105
  disabled: disabled,
@@ -35053,7 +35111,7 @@ const getIcon = (icon, iconHeight, iconWidth, color, disabled, pointer, callBack
35053
35111
  onClick: callBackOnClick
35054
35112
  }));
35055
35113
  case 'bell':
35056
- return /*#__PURE__*/React$1.createElement(IconWrapper$2, {
35114
+ return /*#__PURE__*/React$1.createElement(IconWrapper$3, {
35057
35115
  className: "BellIcon",
35058
35116
  pointer: pointer,
35059
35117
  disabled: disabled,
@@ -35065,7 +35123,7 @@ const getIcon = (icon, iconHeight, iconWidth, color, disabled, pointer, callBack
35065
35123
  onClick: callBackOnClick
35066
35124
  }));
35067
35125
  case 'maintenance':
35068
- return /*#__PURE__*/React$1.createElement(IconWrapper$2, {
35126
+ return /*#__PURE__*/React$1.createElement(IconWrapper$3, {
35069
35127
  className: "MaintenanceIcon",
35070
35128
  pointer: pointer,
35071
35129
  disabled: disabled,
@@ -35077,7 +35135,7 @@ const getIcon = (icon, iconHeight, iconWidth, color, disabled, pointer, callBack
35077
35135
  onClick: callBackOnClick
35078
35136
  }));
35079
35137
  case 'exit':
35080
- return /*#__PURE__*/React$1.createElement(IconWrapper$2, {
35138
+ return /*#__PURE__*/React$1.createElement(IconWrapper$3, {
35081
35139
  className: "ExitIcon",
35082
35140
  pointer: pointer,
35083
35141
  disabled: disabled,
@@ -35089,7 +35147,7 @@ const getIcon = (icon, iconHeight, iconWidth, color, disabled, pointer, callBack
35089
35147
  onClick: callBackOnClick
35090
35148
  }));
35091
35149
  case 'eye':
35092
- return /*#__PURE__*/React$1.createElement(IconWrapper$2, {
35150
+ return /*#__PURE__*/React$1.createElement(IconWrapper$3, {
35093
35151
  className: "EyeIcon",
35094
35152
  pointer: pointer,
35095
35153
  disabled: disabled,
@@ -35101,7 +35159,7 @@ const getIcon = (icon, iconHeight, iconWidth, color, disabled, pointer, callBack
35101
35159
  onClick: callBackOnClick
35102
35160
  }));
35103
35161
  case 'search':
35104
- return /*#__PURE__*/React$1.createElement(IconWrapper$2, {
35162
+ return /*#__PURE__*/React$1.createElement(IconWrapper$3, {
35105
35163
  className: "SearchIcon",
35106
35164
  pointer: pointer,
35107
35165
  disabled: disabled,
@@ -35229,7 +35287,7 @@ const ErrorMessage = styled.div`
35229
35287
  margin-top: 5px;
35230
35288
  max-width: ${props => props.width || '300px'};
35231
35289
  `;
35232
- const IconWrapper$1 = styled.div`
35290
+ const IconWrapper$2 = styled.div`
35233
35291
  display: flex;
35234
35292
  align-items: center;
35235
35293
  justify-content: center;
@@ -35323,7 +35381,7 @@ const Input$2 = _ref => {
35323
35381
  const getPasswordIcon = () => {
35324
35382
  if (!password) return '';
35325
35383
  if (showPassword) {
35326
- return /*#__PURE__*/React$1.createElement(IconWrapper$1, {
35384
+ return /*#__PURE__*/React$1.createElement(IconWrapper$2, {
35327
35385
  className: "passwordEyeSlash",
35328
35386
  disabled: disabled,
35329
35387
  onClick: toggleShowPassword
@@ -35993,6 +36051,114 @@ const NoEvents = ({
35993
36051
  fill: "#519595"
35994
36052
  }));
35995
36053
 
36054
+ const NoDataInSearchIcon = ({
36055
+ width = '251',
36056
+ height = '250'
36057
+ }) => /*#__PURE__*/React$1.createElement("svg", {
36058
+ width: width,
36059
+ height: height,
36060
+ viewBox: "0 0 251 251",
36061
+ fill: "none",
36062
+ xmlns: "http://www.w3.org/2000/svg"
36063
+ }, /*#__PURE__*/React$1.createElement("rect", {
36064
+ width: "251",
36065
+ height: "251",
36066
+ rx: "125.5",
36067
+ fill: "#F3F7F7"
36068
+ }), /*#__PURE__*/React$1.createElement("path", {
36069
+ d: "M174.566 62.1208L171.585 64.3271L193.42 94.0203L196.4 91.814L174.566 62.1208Z",
36070
+ fill: "#00093F"
36071
+ }), /*#__PURE__*/React$1.createElement("path", {
36072
+ d: "M176.974 54.0357C176.987 51.8018 176.307 49.5445 174.884 47.6084C171.375 42.8375 164.676 41.8236 159.921 45.3436C157.992 46.7721 156.679 48.7275 156.034 50.8656L176.974 54.0357ZM155.573 53.93C155.56 56.1639 156.24 58.4212 157.663 60.3573C161.172 65.1282 167.871 66.1421 172.626 62.6222C174.555 61.1936 175.868 59.2383 176.513 57.1001L155.573 53.93Z",
36073
+ fill: "#EAEAEA"
36074
+ }), /*#__PURE__*/React$1.createElement("path", {
36075
+ d: "M140.879 97.9184C149.565 97.9184 156.607 91.2187 156.607 82.9543C156.607 74.6899 149.565 67.9902 140.879 67.9902C132.193 67.9902 125.151 74.6899 125.151 82.9543C125.151 91.2187 132.193 97.9184 140.879 97.9184Z",
36076
+ fill: "white"
36077
+ }), /*#__PURE__*/React$1.createElement("path", {
36078
+ d: "M156.603 82.9549C156.603 91.1348 149.705 97.7805 141.141 97.916C136.049 95.3556 132.928 90.1321 131.969 83.272C131.287 78.3889 132.21 73.0258 133.533 69.7184C135.725 68.6157 138.223 67.9902 140.875 67.9902C149.562 67.9902 156.603 74.6902 156.603 82.9543V82.9549Z",
36079
+ fill: "#066768"
36080
+ }), /*#__PURE__*/React$1.createElement("path", {
36081
+ d: "M135.452 83.931C135.17 82.7138 134.341 81.7683 133.286 81.2929L133.156 80.7305C133.156 80.7305 131.072 81.0032 130.848 81.0558C128.785 81.537 127.502 83.6051 127.982 85.6749C128.462 87.7447 130.504 88.939 132.586 88.5507C133.158 88.4438 134.893 88.2254 134.893 88.2254L134.669 87.2576C135.406 86.364 135.734 85.1481 135.452 83.931Z",
36082
+ fill: "#ACACAF"
36083
+ }), /*#__PURE__*/React$1.createElement("path", {
36084
+ d: "M134.035 88.3183C136.153 88.3183 137.869 86.5956 137.869 84.4707C137.869 82.3457 136.153 80.623 134.035 80.623C131.917 80.623 130.2 82.3457 130.2 84.4707C130.2 86.5956 131.917 88.3183 134.035 88.3183Z",
36085
+ fill: "#CCCCCC"
36086
+ }), /*#__PURE__*/React$1.createElement("path", {
36087
+ d: "M80.9598 142.779C80.9598 142.779 87.5291 143.582 92.4966 140.689C97.4635 137.795 101.629 130.4 104.674 127.827C107.719 125.255 111.884 122.2 113.327 119.95C114.769 117.699 115.249 114.484 115.249 114.484C115.249 114.484 123.902 110.143 130.792 110.464C137.682 110.786 145.212 115.93 145.212 115.93C145.212 115.93 142.488 126.862 141.687 132.007C140.886 137.152 139.772 145.081 134.164 156.335C128.556 167.588 107.504 177.746 107.504 177.746L103.274 167.625C103.274 167.625 113.257 161.416 115.568 156.14C118.392 149.692 117.807 142.561 117.807 142.561C117.807 142.561 113.807 150.013 107.238 152.907C100.668 155.801 80.9604 157.21 80.9604 157.21V142.779H80.9598Z",
36088
+ fill: "#EAEAEA"
36089
+ }), /*#__PURE__*/React$1.createElement("path", {
36090
+ d: "M80.9598 142.779C80.9598 142.779 87.5291 143.582 92.4966 140.689C97.4635 137.795 101.629 130.4 104.674 127.827C107.719 125.255 111.884 122.2 113.327 119.95C114.769 117.699 115.249 114.484 115.249 114.484C115.249 114.484 123.902 110.143 130.792 110.464C137.682 110.786 145.212 115.93 145.212 115.93C145.212 115.93 142.488 126.862 141.687 132.007C140.886 137.152 139.772 145.081 134.164 156.335C128.556 167.588 107.504 177.746 107.504 177.746L103.274 167.625C103.274 167.625 113.257 161.416 115.568 156.14C118.392 149.692 117.807 142.561 117.807 142.561C117.807 142.561 113.807 150.013 107.238 152.907C100.668 155.801 80.9604 157.21 80.9604 157.21V142.779H80.9598Z",
36091
+ fill: "#EAEAEA"
36092
+ }), /*#__PURE__*/React$1.createElement("path", {
36093
+ d: "M145.203 115.93C145.203 115.93 137.672 110.785 130.783 110.464C123.893 110.143 115.241 114.484 115.241 114.484C115.241 114.484 114.76 117.699 113.318 119.95C112.724 120.877 111.667 121.942 110.416 123.052C112.659 123.746 116.808 124.72 120.823 124.033C126.728 123.022 130.857 118.2 132.969 118.082C135.081 117.964 140.877 122.461 140.877 122.461C140.877 122.461 133.498 149.725 128.602 155.493C123.706 161.26 118.921 164.288 113.078 164.672C111.334 164.786 109.289 164.832 107.278 164.841C105.047 166.517 103.267 167.625 103.267 167.625L104.736 171.14L110.163 176.368C116.008 173.225 129.782 165.113 134.156 156.335C139.764 145.081 140.878 137.151 141.679 132.007C142.48 126.863 145.204 115.93 145.204 115.93H145.203Z",
36094
+ fill: "#CCCCCC"
36095
+ }), /*#__PURE__*/React$1.createElement("path", {
36096
+ d: "M105.23 147.957C101.136 150.446 89.9791 151.153 80.9598 151.292V157.206C80.9598 157.206 100.668 155.797 107.237 152.903C113.806 150.009 117.807 142.557 117.807 142.557C119.535 139.372 123.706 128.637 123.706 128.637C123.706 128.637 123.247 129.328 120.241 133.644C117.235 137.959 112.535 143.515 105.23 147.957H105.23Z",
36097
+ fill: "#CCCCCC"
36098
+ }), /*#__PURE__*/React$1.createElement("path", {
36099
+ d: "M113.95 116.13C113.95 116.13 120.305 112.824 127.75 112.438C137.367 111.939 144.953 118.345 145.873 118.068C146.793 117.791 147.805 111.883 147.805 111.883C147.805 111.883 161.881 109.391 165.009 106.991C168.137 104.591 179.637 87.6985 179.637 87.6985L174.393 81.791C174.393 81.791 167.309 88.7141 163.629 90.9294C159.949 93.1446 149.829 95.083 147.621 94.6216C145.413 94.1602 137.041 93.1446 131.061 93.4214C125.081 93.6983 121.953 94.9907 121.033 95.7289C120.113 96.4672 118.015 100.915 116.452 105.53C114.888 110.145 113.949 116.129 113.949 116.129L113.95 116.13Z",
36100
+ fill: "#EAEAEA"
36101
+ }), /*#__PURE__*/React$1.createElement("path", {
36102
+ d: "M177.247 87.1764C177.247 87.1764 167.008 101.656 162.267 104.345C157.525 107.033 147.836 107.723 147.836 107.723C147.836 107.723 147.218 105.931 147.149 103.724C147.08 101.518 147.149 99.9398 147.149 99.9398C147.149 99.9398 146.118 106.482 144.606 110.895C143.699 113.542 142.541 115.147 141.76 116.008C144.029 117.193 145.508 118.187 145.882 118.074C146.802 117.797 147.814 111.889 147.814 111.889C147.814 111.889 161.89 109.397 165.018 106.997C167.738 104.91 176.788 91.8644 179.102 88.4969L177.247 87.1758V87.1764Z",
36103
+ fill: "#CCCCCC"
36104
+ }), /*#__PURE__*/React$1.createElement("path", {
36105
+ d: "M112.088 121.365C113.698 122.915 122.645 122.745 125.095 121.356C127.545 119.966 132.977 99.0729 132.977 98.0316C132.977 96.9903 121.686 96.9891 118.49 97.3097C115.295 97.6304 113.164 101.585 110.928 108.531C108.691 115.478 111.159 120.471 112.088 121.366V121.365Z",
36106
+ fill: "#B4D1D2"
36107
+ }), /*#__PURE__*/React$1.createElement("path", {
36108
+ d: "M132.978 98.0275C130.844 97.0112 129.222 97.9241 127.365 99.9378C125.509 101.951 121.876 113.497 121.796 116.818C121.715 120.138 123.413 121.492 125.096 121.352C127.659 121.139 129.486 113.37 131.1 108.835C132.714 104.3 133.951 98.4912 132.978 98.028L132.978 98.0275Z",
36109
+ fill: "#9BC2C3"
36110
+ }), /*#__PURE__*/React$1.createElement("path", {
36111
+ d: "M171.474 83.4681C171.474 83.4681 173.589 85.3107 174.868 86.8181C176.147 88.3255 178.373 90.8935 178.373 90.8935C178.373 90.8935 180.877 88.6602 181.434 88.381C181.99 88.1018 183.993 87.3204 186.108 85.7569C188.223 84.1935 190.281 80.3973 190.281 79.3922C190.281 78.387 189.057 76.7681 188.056 74.8139C187.054 72.8598 184.256 69.998 183.755 69.6628C183.255 69.3275 179.335 74.6113 179.335 74.6113L177.171 71.9241C177.171 71.9241 175.035 74.5908 174.423 76.2098C173.811 77.8287 173.572 80.2524 173.517 80.5953C173.461 80.9381 171.474 83.4675 171.474 83.4675L171.474 83.4681ZM108.514 161.912C108.514 161.912 103.854 165.727 102.996 166.157C102.137 166.588 100.662 167.033 98.7781 167.837C97.2524 168.489 96.6069 169.312 96.6069 169.312C96.6069 169.312 96.2396 181.511 96.1395 185.131C96.0394 188.751 94.2163 199.964 94.2163 200.165C94.2163 200.367 97.8607 200.648 99.4259 199.97C102.411 198.677 104.82 194.24 105.467 192.28C106.311 189.725 108.196 183.791 108.514 181.914C108.833 180.037 111.505 178.093 112.741 177.356C113.977 176.619 115.58 175.982 115.914 175.781C116.249 175.58 116.583 171.692 115.48 168.743C114.378 165.793 111.102 161.484 108.514 161.912ZM87.8804 140.895C87.8804 140.895 89.3076 143.355 89.9107 146.942C90.5137 150.528 89.2646 157.485 88.6615 157.874C88.0585 158.263 79.531 158.912 79.0572 159.128C78.5834 159.344 76.5595 162.109 74.3628 165.782C72.1666 169.455 69.4529 171.097 67.8167 171.357C66.1799 171.616 62.3038 170.622 62.3038 170.622L69.6374 140.388C69.6374 140.388 71.9297 139.595 74.3628 139.812C76.187 139.974 80.3058 140.849 82.158 141.109C84.0101 141.368 87.8798 140.895 87.8798 140.895L87.8804 140.895Z",
36112
+ fill: "#066768"
36113
+ }), /*#__PURE__*/React$1.createElement("path", {
36114
+ d: "M62.3063 170.621C64.0199 170.992 66.9944 167 69.0375 161.176C70.9473 155.73 72.3996 146.133 71.9682 143.784C71.5369 141.436 71.1923 140.7 69.6399 140.388C68.0875 140.076 66.7941 141.189 65.6853 143.537C64.5764 145.886 61.3529 154.271 60.6439 160.125C60.1264 164.397 60.1456 170.154 62.3063 170.622V170.621ZM94.2182 200.165C96.635 200.46 98.7753 196.878 99.9552 192.188C101.135 187.499 101.226 179.258 100.5 175.069C99.7741 170.88 97.7101 169.381 96.6094 169.311C95.5087 169.241 93.2397 171.399 92.4679 175.889C91.9172 179.092 90.8794 188.091 91.1518 192.735C91.4242 197.379 92.3381 199.935 94.2182 200.165ZM183.031 75.41C182.975 75.41 182.919 75.3943 182.871 75.3616C182.737 75.2728 182.7 75.0912 182.789 74.9568L185.254 71.2196C185.342 71.0853 185.523 71.0485 185.657 71.1373C185.791 71.226 185.828 71.4077 185.739 71.542L183.274 75.2792C183.218 75.3639 183.126 75.41 183.031 75.41H183.031ZM184.829 77.6013C184.774 77.6013 184.718 77.5856 184.669 77.5528C184.535 77.4641 184.499 77.2824 184.587 77.1481L187.052 73.4109C187.141 73.2766 187.322 73.2398 187.456 73.3285C187.589 73.4173 187.626 73.599 187.538 73.7333L185.073 77.4705C185.017 77.5552 184.924 77.6013 184.83 77.6013H184.829ZM187.052 79.7932C186.996 79.7932 186.94 79.7774 186.89 79.7441C186.757 79.6548 186.72 79.4731 186.81 79.3394L188.852 76.2686C188.941 76.1342 189.122 76.098 189.255 76.188C189.389 76.2773 189.425 76.459 189.336 76.5927L187.294 79.6635C187.238 79.7482 187.145 79.7938 187.052 79.7938V79.7932Z",
36115
+ fill: "white"
36116
+ }), /*#__PURE__*/React$1.createElement("path", {
36117
+ d: "M160.745 103.378C158.095 105.628 157.794 109.487 157.794 109.487C157.794 109.487 157.915 109.539 158.134 109.615C161.09 108.821 163.833 107.902 165.014 106.996C166.002 106.238 167.824 104.036 169.854 101.377C169.854 101.377 165.54 99.3069 160.744 103.378H160.745Z",
36118
+ fill: "#066768"
36119
+ }), /*#__PURE__*/React$1.createElement("path", {
36120
+ d: "M166.27 37.7959C173.997 37.7959 180.206 43.7717 180.207 51.0771C180.207 58.3827 173.997 64.3594 166.27 64.3594C158.543 64.3593 152.334 58.3827 152.334 51.0771C152.334 43.7717 158.543 37.7959 166.27 37.7959Z",
36121
+ fill: "#E6F0F0",
36122
+ stroke: "#066768",
36123
+ "stroke-width": "1.38674"
36124
+ }), /*#__PURE__*/React$1.createElement("path", {
36125
+ d: "M198.122 146.272V146.246C198.12 146.251 198.119 146.255 198.118 146.259C198.117 146.255 198.115 146.251 198.115 146.246V146.272C197.779 147.489 197.003 148.359 195.787 148.882C197.003 149.405 197.779 150.275 198.115 151.492V151.517C198.116 151.513 198.117 151.509 198.118 151.505C198.12 151.509 198.121 151.513 198.122 151.517V151.492C198.457 150.275 199.233 149.405 200.449 148.882C199.233 148.359 198.457 147.489 198.122 146.272ZM62.7168 82.9096V82.884C62.7154 82.8883 62.7139 82.8925 62.7132 82.8968C62.7118 82.8925 62.7104 82.8883 62.7097 82.884V82.9096C62.3741 84.1263 61.5982 84.9962 60.3821 85.5194C61.5982 86.0427 62.3741 86.9126 62.7097 88.1292V88.1548C62.7111 88.1506 62.7125 88.1463 62.7132 88.142C62.7146 88.1463 62.7161 88.1506 62.7168 88.1548V88.1292C63.0523 86.9126 63.8282 86.0427 65.0444 85.5194C63.8282 84.9962 63.0523 84.1263 62.7168 82.9096ZM210.596 189.08V189.055C210.595 189.059 210.593 189.063 210.592 189.067C210.591 189.063 210.59 189.059 210.589 189.055V189.08C210.253 190.297 209.477 191.167 208.261 191.69C209.477 192.213 210.253 193.083 210.589 194.3V194.325C210.59 194.321 210.592 194.317 210.592 194.313C210.594 194.317 210.595 194.321 210.596 194.325V194.3C210.932 193.083 211.707 192.213 212.924 191.69C211.707 191.167 210.932 190.297 210.596 189.08ZM182.971 172.925V172.873C182.969 172.883 182.966 172.89 182.964 172.9C182.961 172.89 182.959 172.883 182.956 172.873V172.925C182.285 175.358 180.734 177.098 178.301 178.145C180.734 179.191 182.285 180.932 182.956 183.364V183.416C182.959 183.407 182.961 183.399 182.964 183.39C182.966 183.399 182.969 183.407 182.971 183.416V183.364C183.642 180.932 185.194 179.191 187.626 178.145C185.194 177.098 183.643 175.358 182.971 172.925ZM79.1659 114.505V114.453C79.1637 114.462 79.1609 114.47 79.1587 114.479C79.1566 114.47 79.1537 114.462 79.1516 114.453V114.505C78.4805 116.937 76.9288 118.678 74.4964 119.724C76.9288 120.771 78.4798 122.511 79.1516 124.944V124.996C79.1537 124.987 79.1566 124.979 79.1587 124.97C79.1609 124.979 79.1637 124.987 79.1659 124.996V124.944C79.837 122.511 81.3887 120.771 83.821 119.724C81.3887 118.678 79.8377 116.937 79.1659 114.505ZM101.233 55.7033V55.6514C101.23 55.6606 101.228 55.6685 101.225 55.6777C101.223 55.6685 101.22 55.6606 101.218 55.6514V55.7033C100.547 58.1359 98.9955 59.8764 96.5632 60.9229C98.9955 61.9694 100.547 63.71 101.218 66.1425V66.1945C101.22 66.1852 101.223 66.1774 101.225 66.1681C101.228 66.1774 101.23 66.1852 101.233 66.1945V66.1425C101.904 63.71 103.455 61.9694 105.888 60.9229C103.455 59.8764 101.904 58.1359 101.233 55.7033Z",
36126
+ fill: "#F2BB91"
36127
+ }), /*#__PURE__*/React$1.createElement("path", {
36128
+ d: "M61.015 56.8555C61.1381 56.7383 61.3352 56.7385 61.4584 56.8555C61.5854 56.9764 61.5854 57.1759 61.4584 57.2969L57.6556 60.918C57.5326 61.0351 57.3355 61.0349 57.2123 60.918C57.0852 60.797 57.0852 60.5975 57.2123 60.4766L61.015 56.8555ZM60.0013 59.5107C60.3566 59.1728 60.9293 59.1727 61.2845 59.5107C61.6437 59.8526 61.6437 60.4101 61.2845 60.752C60.9293 61.09 60.3566 61.0899 60.0013 60.752C59.6422 60.4101 59.6422 59.8526 60.0013 59.5107ZM60.8412 59.9521C60.7323 59.8484 60.5536 59.8484 60.4447 59.9521C60.3396 60.0522 60.3396 60.2105 60.4447 60.3105C60.5536 60.4142 60.7323 60.4142 60.8412 60.3105C60.9461 60.2106 60.9461 60.0521 60.8412 59.9521ZM57.3861 57.0215C57.7414 56.6833 58.315 56.6833 58.6703 57.0215C59.029 57.3634 59.0292 57.9209 58.6703 58.2627C58.3151 58.6008 57.7414 58.6007 57.3861 58.2627C57.027 57.9208 57.027 57.3634 57.3861 57.0215ZM58.226 57.4619C58.1171 57.3586 57.9383 57.3585 57.8295 57.4619C57.7244 57.5619 57.7244 57.7213 57.8295 57.8213C57.9383 57.9249 58.117 57.9248 58.226 57.8213C58.331 57.7213 58.331 57.5619 58.226 57.4619Z",
36129
+ fill: "#9BC2C3",
36130
+ stroke: "#9BC2C3",
36131
+ "stroke-width": "0.277348"
36132
+ }), /*#__PURE__*/React$1.createElement("path", {
36133
+ d: "M127.578 56.8555C127.702 56.7383 127.899 56.7385 128.022 56.8555C128.149 56.9764 128.149 57.1759 128.022 57.2969L124.219 60.918C124.096 61.0351 123.899 61.0349 123.776 60.918C123.649 60.797 123.649 60.5975 123.776 60.4766L127.578 56.8555ZM126.565 59.5107C126.92 59.1728 127.493 59.1727 127.848 59.5107C128.207 59.8526 128.207 60.4101 127.848 60.752C127.493 61.09 126.92 61.0899 126.565 60.752C126.206 60.4101 126.206 59.8526 126.565 59.5107ZM127.405 59.9521C127.296 59.8484 127.117 59.8484 127.008 59.9521C126.903 60.0522 126.903 60.2105 127.008 60.3105C127.117 60.4142 127.296 60.4142 127.405 60.3105C127.51 60.2106 127.51 60.0521 127.405 59.9521ZM123.95 57.0215C124.305 56.6833 124.878 56.6833 125.234 57.0215C125.592 57.3634 125.593 57.9209 125.234 58.2627C124.879 58.6008 124.305 58.6007 123.95 58.2627C123.59 57.9208 123.59 57.3634 123.95 57.0215ZM124.789 57.4619C124.681 57.3586 124.502 57.3585 124.393 57.4619C124.288 57.5619 124.288 57.7213 124.393 57.8213C124.502 57.9249 124.681 57.9248 124.789 57.8213C124.894 57.7213 124.894 57.5619 124.789 57.4619Z",
36134
+ fill: "#9BC2C3",
36135
+ stroke: "#9BC2C3",
36136
+ "stroke-width": "0.277348"
36137
+ }), /*#__PURE__*/React$1.createElement("path", {
36138
+ "fill-rule": "evenodd",
36139
+ "clip-rule": "evenodd",
36140
+ d: "M51.7697 123.778C52.0018 124.01 52.0018 124.386 51.7697 124.618L39.091 137.297C38.8589 137.529 38.4826 137.529 38.2505 137.297C38.0184 137.065 38.0184 136.688 38.2505 136.456L50.9293 123.778C51.1614 123.545 51.5376 123.545 51.7697 123.778ZM41.6324 125.198C41.0908 124.657 40.2128 124.657 39.6712 125.198C39.1297 125.74 39.1297 126.618 39.6712 127.159C40.2128 127.701 41.0908 127.701 41.6324 127.159C42.1739 126.618 42.1739 125.74 41.6324 125.198ZM38.8307 124.358C39.8365 123.352 41.4671 123.352 42.4729 124.358C43.4786 125.364 43.4786 126.994 42.4729 128C41.4671 129.006 39.8365 129.006 38.8307 128C37.825 126.994 37.825 125.364 38.8307 124.358ZM50.349 133.915C49.8074 133.373 48.9294 133.373 48.3879 133.915C47.8463 134.457 47.8463 135.335 48.3879 135.876C48.9294 136.418 49.8074 136.418 50.349 135.876C50.8906 135.335 50.8906 134.457 50.349 133.915ZM47.5474 133.074C48.5531 132.069 50.1838 132.069 51.1895 133.074C52.1953 134.08 52.1953 135.711 51.1895 136.717C50.1838 137.722 48.5531 137.722 47.5474 136.717C46.5416 135.711 46.5416 134.08 47.5474 133.074Z",
36141
+ fill: "#B4D1D2"
36142
+ }), /*#__PURE__*/React$1.createElement("path", {
36143
+ d: "M188.393 107.062C188.562 106.9 188.835 106.9 189.004 107.062C189.177 107.227 189.177 107.497 189.004 107.662L182.664 113.698L182.663 113.697C182.494 113.858 182.222 113.859 182.053 113.697C181.88 113.532 181.88 113.262 182.053 113.097L188.393 107.062ZM186.701 111.487C187.258 110.958 188.158 110.958 188.714 111.487C189.274 112.021 189.274 112.889 188.714 113.422C188.158 113.952 187.258 113.952 186.701 113.422C186.141 112.889 186.141 112.021 186.701 111.487ZM188.103 112.088C187.886 111.881 187.53 111.881 187.313 112.088C187.1 112.291 187.1 112.617 187.313 112.82C187.53 113.027 187.886 113.027 188.103 112.82C188.316 112.617 188.316 112.291 188.103 112.088ZM182.343 107.338C182.899 106.808 183.799 106.808 184.356 107.338C184.916 107.871 184.916 108.739 184.356 109.272C183.799 109.802 182.899 109.802 182.343 109.272C181.783 108.739 181.783 107.871 182.343 107.338ZM183.744 107.938C183.527 107.732 183.172 107.732 182.954 107.938C182.741 108.141 182.741 108.468 182.954 108.671C183.172 108.878 183.527 108.878 183.744 108.671C183.957 108.468 183.958 108.141 183.744 107.938Z",
36144
+ fill: "#9BC2C3",
36145
+ stroke: "#9BC2C3",
36146
+ "stroke-width": "0.277348"
36147
+ }), /*#__PURE__*/React$1.createElement("path", {
36148
+ d: "M171.954 162.476C172.077 162.358 172.274 162.359 172.398 162.476C172.525 162.597 172.525 162.796 172.398 162.917L168.595 166.538C168.472 166.655 168.275 166.655 168.151 166.538C168.024 166.417 168.024 166.218 168.151 166.097L171.954 162.476ZM170.94 165.131C171.296 164.793 171.868 164.793 172.224 165.131C172.583 165.473 172.583 166.03 172.224 166.372C171.868 166.71 171.296 166.71 170.94 166.372C170.581 166.03 170.581 165.473 170.94 165.131ZM171.78 165.572C171.671 165.469 171.493 165.469 171.384 165.572C171.279 165.672 171.279 165.831 171.384 165.931C171.493 166.034 171.671 166.034 171.78 165.931C171.885 165.831 171.885 165.672 171.78 165.572ZM168.325 162.642C168.681 162.303 169.254 162.303 169.609 162.642C169.968 162.984 169.968 163.541 169.609 163.883C169.254 164.221 168.681 164.221 168.325 163.883C167.966 163.541 167.966 162.984 168.325 162.642ZM169.165 163.082C169.056 162.979 168.877 162.979 168.769 163.082C168.664 163.182 168.664 163.341 168.769 163.441C168.877 163.545 169.056 163.545 169.165 163.441C169.27 163.341 169.27 163.182 169.165 163.082Z",
36149
+ fill: "#9BC2C3",
36150
+ stroke: "#9BC2C3",
36151
+ "stroke-width": "0.277348"
36152
+ }), /*#__PURE__*/React$1.createElement("path", {
36153
+ d: "M87.4525 81.9893C87.6226 81.8191 87.8985 81.8191 88.0687 81.9893C88.2389 82.1595 88.2389 82.4353 88.0687 82.6055L81.7298 88.9443C81.5596 89.1145 81.2838 89.1145 81.1136 88.9443C80.9434 88.7741 80.9434 88.4983 81.1136 88.3281L87.4525 81.9893ZM85.762 86.6377C86.319 86.0807 87.2216 86.0807 87.7786 86.6377C88.3357 87.1947 88.3357 88.0973 87.7786 88.6543C87.2216 89.2113 86.3191 89.2113 85.762 88.6543C85.205 88.0973 85.205 87.1947 85.762 86.6377ZM87.1624 87.2539C86.9458 87.0373 86.5948 87.0373 86.3782 87.2539C86.1616 87.4705 86.1616 87.8215 86.3782 88.0381C86.5948 88.2547 86.9458 88.2547 87.1624 88.0381C87.3791 87.8215 87.3791 87.4705 87.1624 87.2539ZM81.4036 82.2793C81.9606 81.7223 82.8632 81.7224 83.4202 82.2793C83.9773 82.8363 83.9773 83.7389 83.4202 84.2959C82.8632 84.8529 81.9607 84.8529 81.4036 84.2959C80.8467 83.7389 80.8466 82.8363 81.4036 82.2793ZM82.804 82.8955C82.5874 82.679 82.2364 82.6789 82.0198 82.8955C81.8032 83.1121 81.8033 83.4631 82.0198 83.6797C82.2365 83.8963 82.5874 83.8963 82.804 83.6797C83.0206 83.4631 83.0206 83.1121 82.804 82.8955Z",
36154
+ fill: "#9BC2C3",
36155
+ stroke: "#9BC2C3",
36156
+ "stroke-width": "0.277348"
36157
+ }), /*#__PURE__*/React$1.createElement("path", {
36158
+ d: "M142.84 206.964V206.998C143.339 208.598 144.492 209.743 146.301 210.431C144.492 211.119 143.339 212.264 142.84 213.863V213.898C142.838 213.891 142.836 213.886 142.834 213.88C142.833 213.886 142.831 213.891 142.829 213.898V213.863C142.329 212.264 141.176 211.119 139.367 210.431C141.176 209.743 142.33 208.598 142.829 206.998V206.964C142.831 206.97 142.833 206.975 142.834 206.981C142.836 206.975 142.838 206.97 142.84 206.964Z",
36159
+ fill: "#F2BB91"
36160
+ }));
36161
+
35996
36162
  // TableHeader.styles.js
35997
36163
  const StyledTableHeader = styled.thead`
35998
36164
  background-color: white;
@@ -41159,7 +41325,8 @@ const Table = props => {
41159
41325
  lastRowsThreshold = 3,
41160
41326
  onSendClick = () => {},
41161
41327
  showHorizontalScroll = false,
41162
- onDeleteClick = () => {}
41328
+ onDeleteClick = () => {},
41329
+ showNoDataInSearch = false
41163
41330
  } = props;
41164
41331
  const scrollWrapperRef = useRef(null);
41165
41332
  const [hasTriggered, setHasTriggered] = useState(false);
@@ -41194,7 +41361,7 @@ const Table = props => {
41194
41361
  return /*#__PURE__*/React$1.createElement(TableWrapper, {
41195
41362
  width: width,
41196
41363
  height: height
41197
- }, data.length === 0 ? /*#__PURE__*/React$1.createElement(NoInfoFound, null, /*#__PURE__*/React$1.createElement(TableTop, null, /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement(Title$7, null, tableTitle), /*#__PURE__*/React$1.createElement(SubTitle, null, "No Events")), showSideButton && /*#__PURE__*/React$1.createElement(Button$1, {
41364
+ }, /*#__PURE__*/React$1.createElement(NoInfoFound, null, /*#__PURE__*/React$1.createElement(TableTop, null, /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement(Title$7, null, tableTitle), /*#__PURE__*/React$1.createElement(SubTitle, null, "No Events")), showSideButton && /*#__PURE__*/React$1.createElement(Button$1, {
41198
41365
  height: "45px",
41199
41366
  leftIcon: "Plus",
41200
41367
  text: "New Event",
@@ -41202,7 +41369,7 @@ const Table = props => {
41202
41369
  backgroundColor: sideButtonColor,
41203
41370
  hoverBackgroundColor: sideButtonHoverColor,
41204
41371
  onClick: onSideButtonClick
41205
- })), children, /*#__PURE__*/React$1.createElement(NoEventsParent, null, /*#__PURE__*/React$1.createElement(NoEventsWrapper, null, /*#__PURE__*/React$1.createElement(NoEvents, null)), /*#__PURE__*/React$1.createElement(NoEventsMessage, null, /*#__PURE__*/React$1.createElement("strong", null, "You haven't created any events yet"), /*#__PURE__*/React$1.createElement("br", null), "Let's get started and create your first one!"), /*#__PURE__*/React$1.createElement(Button$1, {
41372
+ })), children, data.length === 0 ? /*#__PURE__*/React$1.createElement(NoEventsParent, null, /*#__PURE__*/React$1.createElement(NoEventsWrapper, null, showNoDataInSearch ? /*#__PURE__*/React$1.createElement(NoDataInSearchIcon, null) : /*#__PURE__*/React$1.createElement(NoEvents, null)), /*#__PURE__*/React$1.createElement(NoEventsMessage, null, showNoDataInSearch ? /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement("strong", null, "No Events Found"), /*#__PURE__*/React$1.createElement("br", null), "Try to refine your query and search again") : /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement("strong", null, "You haven't created any events yet"), /*#__PURE__*/React$1.createElement("br", null), "Let's get started and create your first one!")), !showNoDataInSearch && /*#__PURE__*/React$1.createElement(Button$1, {
41206
41373
  height: "45px",
41207
41374
  leftIcon: "Plus",
41208
41375
  text: "New Event",
@@ -41210,15 +41377,7 @@ const Table = props => {
41210
41377
  backgroundColor: buttonColor,
41211
41378
  hoverBackgroundColor: buttonHoverColor,
41212
41379
  onClick: onButtonClick
41213
- }))) : /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(TableTop, null, /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement(Title$7, null, tableTitle), /*#__PURE__*/React$1.createElement(SubTitle, null, counter === 0 ? 'No' : counter, " Events")), showSideButton && /*#__PURE__*/React$1.createElement(Button$1, {
41214
- height: "45px",
41215
- leftIcon: "Plus",
41216
- text: "New Event",
41217
- borderRadius: "12px",
41218
- backgroundColor: sideButtonColor,
41219
- hoverBackgroundColor: sideButtonHoverColor,
41220
- onClick: onSideButtonClick
41221
- })), children, /*#__PURE__*/React$1.createElement(TableContainer, {
41380
+ })) : /*#__PURE__*/React$1.createElement(TableContainer, {
41222
41381
  showHorizontalScroll: showHorizontalScroll
41223
41382
  }, /*#__PURE__*/React$1.createElement(TableBodyScrollWrapper, {
41224
41383
  tableBodyHeight: tableBodyHeight,
@@ -41260,7 +41419,7 @@ const Card = styled.div`
41260
41419
  const TitleContainer = styled.div`
41261
41420
  display: flex;
41262
41421
  flex-direction: column;
41263
- margin-top: 52px;
41422
+ margin-top: 50px;
41264
41423
  align-items: flex-start;
41265
41424
  `;
41266
41425
  const SectionTitle$1 = styled.div`
@@ -51918,7 +52077,6 @@ function ModalDrawer(_ref) {
51918
52077
  }, "\xD7"), children));
51919
52078
  }
51920
52079
 
51921
- //OverlayDropdown.style.js
51922
52080
  const scrollableStyles = `
51923
52081
  &::-webkit-scrollbar {
51924
52082
  height: 8px;
@@ -51940,7 +52098,7 @@ const DropdownContainer = styled.div`
51940
52098
  width: ${props => props.width || '100%'};
51941
52099
  min-width: 320px;
51942
52100
  max-width: 600px;
51943
- font-family: "Poppins", sans-serif;
52101
+ font-family: "Poppins", sans-serif;
51944
52102
  `;
51945
52103
  const DropdownButton = styled.button`
51946
52104
  width: 100%;
@@ -51956,8 +52114,8 @@ const DropdownButton = styled.button`
51956
52114
  align-items: center;
51957
52115
  justify-content: space-between;
51958
52116
  ${props => props.disabled && css`
51959
- background: #F4F4F4;
51960
- color: #bdbdbd;
52117
+ color:#8B8989;
52118
+ background-color: #D0D0D0;
51961
52119
  cursor: not-allowed;
51962
52120
  `}
51963
52121
  `;
@@ -51974,10 +52132,15 @@ const DropdownList = styled.ul`
51974
52132
  max-width: 600px;
51975
52133
  max-height: ${props => props.dropdownMaxHeight || '400px'};
51976
52134
  overflow-y: auto;
51977
- top: 110%;
51978
52135
  left: 0;
51979
52136
 
51980
52137
  ${scrollableStyles}
52138
+
52139
+ ${props => props.position === 'above' ? css`
52140
+ bottom: 110%;
52141
+ ` : css`
52142
+ top: 110%;
52143
+ `}
51981
52144
  `;
51982
52145
  const SectionTitle = styled.li`
51983
52146
  font-size: 14px;
@@ -52060,6 +52223,7 @@ const Title = styled.div`
52060
52223
  gap: 8px;
52061
52224
  padding: 8px 16px;
52062
52225
  border-bottom: 1px solid #D9D9D9;
52226
+ cursor: pointer;
52063
52227
  `;
52064
52228
  const FieldRow = styled.div`
52065
52229
  display: flex;
@@ -52149,9 +52313,15 @@ const OverlayTemplateDialog = ({
52149
52313
  return /*#__PURE__*/React$1.createElement(DialogOverlay, null, /*#__PURE__*/React$1.createElement(DialogContainer, null, /*#__PURE__*/React$1.createElement(Title, {
52150
52314
  onClick: onClose,
52151
52315
  title: "Back"
52152
- }, /*#__PURE__*/React$1.createElement(ChervronLeftIcon, {
52316
+ }, /*#__PURE__*/React$1.createElement("svg", {
52317
+ width: "16",
52318
+ height: "16",
52319
+ viewBox: "0 0 16 16",
52320
+ fill: "none"
52321
+ }, /*#__PURE__*/React$1.createElement("path", {
52322
+ d: "M1.21875 8.54703C1.0625 8.39078 1 8.20328 1 7.98453C1 7.79703 1.0625 7.60953 1.21875 7.45328L6.71875 2.20328C7.03125 1.92203 7.5 1.92203 7.78125 2.23453C8.0625 2.51578 8.0625 3.01578 7.75 3.29703L3.59375 7.23453H14.25C14.6562 7.23453 15 7.57828 15 7.98453C15 8.42203 14.6562 8.73453 14.25 8.73453H3.59375L7.75 12.7033C8.0625 12.9845 8.0625 13.4533 7.78125 13.7658C7.5 14.0783 7.03125 14.0783 6.71875 13.797L1.21875 8.54703Z",
52153
52323
  fill: "#212121"
52154
- }), /*#__PURE__*/React$1.createElement("span", null, "Define overlay parameters")), /*#__PURE__*/React$1.createElement("form", {
52324
+ })), /*#__PURE__*/React$1.createElement("span", null, "Define overlay parameters")), /*#__PURE__*/React$1.createElement("form", {
52155
52325
  onSubmit: e => {
52156
52326
  e.preventDefault();
52157
52327
  if (isValid) onApply(fields);
@@ -52213,7 +52383,7 @@ OverlayTemplateDialog.propTypes = {
52213
52383
  buttonHoverColor: PropTypes.string
52214
52384
  };
52215
52385
 
52216
- //OverlayDropdown.jsx
52386
+ // OverlayDropdown.jsx
52217
52387
 
52218
52388
  // Main Component
52219
52389
  const OverlayDropdown = _ref => {
@@ -52232,7 +52402,48 @@ const OverlayDropdown = _ref => {
52232
52402
  const [open, setOpen] = useState(false);
52233
52403
  const [hoveredText, setHoveredText] = useState(null);
52234
52404
  const [templateDialog, setTemplateDialog] = useState(null);
52405
+ const [dropdownPosition, setDropdownPosition] = useState('below');
52235
52406
  const buttonRef = useRef(null);
52407
+ const dropdownRef = useRef(null);
52408
+ const containerRef = useRef(null);
52409
+
52410
+ // Click outside to close dropdown
52411
+ useEffect(() => {
52412
+ const handleClickOutside = event => {
52413
+ if (containerRef.current && !containerRef.current.contains(event.target)) {
52414
+ setOpen(false);
52415
+ }
52416
+ };
52417
+ if (open) {
52418
+ document.addEventListener('mousedown', handleClickOutside);
52419
+ document.addEventListener('touchstart', handleClickOutside);
52420
+ }
52421
+ return () => {
52422
+ document.removeEventListener('mousedown', handleClickOutside);
52423
+ document.removeEventListener('touchstart', handleClickOutside);
52424
+ };
52425
+ }, [open]);
52426
+
52427
+ // Calculate dropdown position when opening
52428
+ useEffect(() => {
52429
+ if (open && buttonRef.current) {
52430
+ const buttonRect = buttonRef.current.getBoundingClientRect();
52431
+ const viewportHeight = window.innerHeight;
52432
+ const dropdownHeight = parseInt(dropdownMaxHeight, 10);
52433
+
52434
+ // Space available below the button
52435
+ const spaceBelow = viewportHeight - buttonRect.bottom;
52436
+ // Space available above the button
52437
+ const spaceAbove = buttonRect.top;
52438
+
52439
+ // If there's not enough space below, but more space above, position above
52440
+ if (spaceBelow < dropdownHeight && spaceAbove > spaceBelow) {
52441
+ setDropdownPosition('above');
52442
+ } else {
52443
+ setDropdownPosition('below');
52444
+ }
52445
+ }
52446
+ }, [open, dropdownMaxHeight]);
52236
52447
 
52237
52448
  // Find selected item across all groups
52238
52449
  const findSelectedItem = () => {
@@ -52276,17 +52487,21 @@ const OverlayDropdown = _ref => {
52276
52487
  onSelectClick(result);
52277
52488
  }
52278
52489
  };
52490
+ const toggleDropdown = () => {
52491
+ setOpen(prev => !prev);
52492
+ };
52279
52493
  return /*#__PURE__*/React$1.createElement(DropdownContainer, {
52280
- width: width
52494
+ width: width,
52495
+ ref: containerRef
52281
52496
  }, /*#__PURE__*/React$1.createElement(DropdownButton, {
52282
52497
  ref: buttonRef,
52283
- onClick: () => setOpen(prev => !prev),
52498
+ onClick: toggleDropdown,
52284
52499
  disabled: disabled,
52285
52500
  type: "button"
52286
52501
  }, /*#__PURE__*/React$1.createElement(TruncatedText, {
52287
52502
  onMouseEnter: () => setHoveredText(selected?.label),
52288
52503
  onMouseLeave: () => setHoveredText(null)
52289
- }, selected ? getDisplayText(selected.label) : 'Select Overlay', required && /*#__PURE__*/React$1.createElement("span", {
52504
+ }, selected ? getDisplayText(selected.label) : 'Choose Overlay', required && /*#__PURE__*/React$1.createElement("span", {
52290
52505
  style: {
52291
52506
  color: 'red',
52292
52507
  marginLeft: '2px'
@@ -52300,9 +52515,11 @@ const OverlayDropdown = _ref => {
52300
52515
  height: "12px",
52301
52516
  color: "#B1B1B1"
52302
52517
  })), open && /*#__PURE__*/React$1.createElement(DropdownList, {
52518
+ ref: dropdownRef,
52303
52519
  role: "listbox",
52304
52520
  dropdownMaxHeight: dropdownMaxHeight,
52305
- width: width
52521
+ width: width,
52522
+ position: dropdownPosition
52306
52523
  }, data.map((group, groupIndex) => group.items && group.items.length > 0 && /*#__PURE__*/React$1.createElement("div", {
52307
52524
  key: group.overlayCode
52308
52525
  }, /*#__PURE__*/React$1.createElement(SectionTitle, null, group.overlayName), group.items.map(item => /*#__PURE__*/React$1.createElement(DropdownItem, {
@@ -52348,28 +52565,11 @@ const OverlayDropdown = _ref => {
52348
52565
  onClose: () => setTemplateDialog(null),
52349
52566
  onApply: handleTemplateApply,
52350
52567
  template: templateDialog.item,
52351
- params: templateDialog.params
52568
+ params: templateDialog.params,
52569
+ buttonColor: selectedColor,
52570
+ buttonHoverColor: hoverColor
52352
52571
  }));
52353
52572
  };
52354
- OverlayDropdown.propTypes = {
52355
- data: PropTypes.arrayOf(PropTypes.shape({
52356
- overlayCode: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
52357
- overlayName: PropTypes.string,
52358
- templateType: PropTypes.number,
52359
- items: PropTypes.arrayOf(PropTypes.shape({
52360
- value: PropTypes.string.isRequired,
52361
- label: PropTypes.string.isRequired
52362
- }))
52363
- })),
52364
- value: PropTypes.string,
52365
- onSelectClick: PropTypes.func,
52366
- disabled: PropTypes.bool,
52367
- required: PropTypes.bool,
52368
- selectedColor: PropTypes.string,
52369
- hoverColor: PropTypes.string,
52370
- dropdownMaxHeight: PropTypes.string,
52371
- width: PropTypes.string
52372
- };
52373
52573
 
52374
52574
  // MessageBox.styles.js
52375
52575
  const ModalOverlay = styled.div`
@@ -52430,7 +52630,7 @@ const MessageContainer = styled.div`
52430
52630
  gap: 12px;
52431
52631
  //margin-bottom: 5px;
52432
52632
  `;
52433
- const IconWrapper = styled.div`
52633
+ const IconWrapper$1 = styled.div`
52434
52634
  margin-top: 1px;
52435
52635
  `;
52436
52636
  const MessageTitle = styled.h3`
@@ -52515,7 +52715,7 @@ const MessageBox = _ref => {
52515
52715
  }, /*#__PURE__*/React$1.createElement(CloseXIcon, {
52516
52716
  width: "22",
52517
52717
  height: "22"
52518
- })), /*#__PURE__*/React$1.createElement(ModalTitle, null, title), /*#__PURE__*/React$1.createElement(MessageContainer, null, /*#__PURE__*/React$1.createElement(IconWrapper, null, /*#__PURE__*/React$1.createElement(ExclamationMarkIcon, {
52718
+ })), /*#__PURE__*/React$1.createElement(ModalTitle, null, title), /*#__PURE__*/React$1.createElement(MessageContainer, null, /*#__PURE__*/React$1.createElement(IconWrapper$1, null, /*#__PURE__*/React$1.createElement(ExclamationMarkIcon, {
52519
52719
  color: "#F00021",
52520
52720
  width: "16",
52521
52721
  height: "16"
@@ -52549,5 +52749,189 @@ const MessageBox = _ref => {
52549
52749
  }))));
52550
52750
  };
52551
52751
 
52552
- export { AreaChart, BannerEventBoxList, BarChart, BarChartTwoRows, BarChartWithAreaChart, BarChartsByWeeks, BatteryChart, BreakdownPanel, BrushChart, BubbleChart, Build, Button$1 as Button, CollapseData, CollapseHeader, ContainerTable, DialogOverlay$1 as DialogOverlay, DoubleBarSingleLine, DoublePanelDataRow, DownloadProgress, DropdownNew, EventDetailsCard, EventList, Execute, FilterPanel, FilterPop, Heatmap, IconButton$1 as IconButton, Input$2 as Input, InsightsCarousel, ItemManagerPanel, LinkButton, LinnerDataBox, MarketShareDescription, MenuRoute, MessageBox, ModalDrawer, ModalWithOverlay, OneColumnContainer, OverlayDropdown, PerformanceAnalyticsLegend, PieChart, PopupCharts, QuickFilter, RangePop, ReportTable, SearchInput, SingleBarLineCharts, SortPop, TabMenu, Table, ToggleSwitch, Tooltip$2 as Tooltip, TopToggleList, TotalDoughnutChart, TotalHorizontalCharts, Track, TwoBarCharts, WeeksPicker };
52752
+ // ToasterMessageBox.styles.js
52753
+
52754
+ // Helper function to convert hex to rgba
52755
+ const hexToRgba = (hex, alpha) => {
52756
+ const r = parseInt(hex.slice(1, 3), 16);
52757
+ const g = parseInt(hex.slice(3, 5), 16);
52758
+ const b = parseInt(hex.slice(5, 7), 16);
52759
+ return `rgba(${r}, ${g}, ${b}, ${alpha})`;
52760
+ };
52761
+
52762
+ // Helper function to darken a color
52763
+ const darkenColor = (hex, amount) => {
52764
+ const r = Math.max(0, parseInt(hex.slice(1, 3), 16) - amount);
52765
+ const g = Math.max(0, parseInt(hex.slice(3, 5), 16) - amount);
52766
+ const b = Math.max(0, parseInt(hex.slice(5, 7), 16) - amount);
52767
+ return `#${r.toString(16).padStart(2, '0')}${g.toString(16).padStart(2, '0')}${b.toString(16).padStart(2, '0')}`;
52768
+ };
52769
+
52770
+ // Slide in animation - from bottom to top
52771
+ const slideIn = keyframes`
52772
+ from {
52773
+ transform: translateY(100%);
52774
+ opacity: 0;
52775
+ }
52776
+ to {
52777
+ transform: translateY(0);
52778
+ opacity: 1;
52779
+ }
52780
+ `;
52781
+
52782
+ // Slide out animation - just fade out with opacity
52783
+ const slideOut = keyframes`
52784
+ from {
52785
+ opacity: 1;
52786
+ }
52787
+ to {
52788
+ opacity: 0;
52789
+ }
52790
+ `;
52791
+ const ToasterContainer = styled.div`
52792
+ display: flex;
52793
+ align-items: center;
52794
+ gap: 12px;
52795
+ padding: 9px 12px;
52796
+ background-color: white;
52797
+ border: 1px solid ${props => hexToRgba(props.$color || '#519595', 1)};
52798
+ border-radius: 12px;
52799
+ font-family: 'Poppins', sans-serif;
52800
+ min-height: 60px;
52801
+ box-sizing: border-box;
52802
+ width: ${props => props.$width || '500px'};
52803
+ max-width: ${props => props.$width || '500px'};
52804
+ position: relative;
52805
+ overflow: hidden;
52806
+ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
52807
+
52808
+ /* Animation states */
52809
+ ${props => {
52810
+ if (props.$isClosing) {
52811
+ return css`animation: ${slideOut} 3s ease-out;`;
52812
+ }
52813
+ if (props.$isVisible) {
52814
+ return css`animation: ${slideIn} 0.6s ease-in-out;`;
52815
+ }
52816
+ return css`animation: none;`;
52817
+ }}
52818
+
52819
+ /* Initial state - hidden below screen */
52820
+ transform: ${props => props.$isVisible ? 'translateY(0)' : 'translateY(100%)'};
52821
+ opacity: ${props => props.$isVisible ? 1 : 0};
52822
+ transition: transform 0.6s ease-in-out, opacity 0.6s ease-in-out;
52823
+ `;
52824
+ const IconWrapper = styled.div`
52825
+ display: flex;
52826
+ align-items: center;
52827
+ justify-content: center;
52828
+ width: 40px;
52829
+ height: 40px;
52830
+ border-radius: 50%;
52831
+ background-color: ${props => props.$color || '#519595'};
52832
+ flex-shrink: 0;
52833
+ `;
52834
+ const MessageText = styled.span`
52835
+ font-family: 'Poppins', sans-serif;
52836
+ font-size: 14px;
52837
+ font-weight: 400;
52838
+ color: #262626;
52839
+ flex: 1;
52840
+ line-height: 21px;
52841
+ `;
52842
+ const LinkText = styled.span`
52843
+ font-family: 'Poppins', sans-serif;
52844
+ font-size: 14px;
52845
+ font-weight: 400;
52846
+ color: ${props => darkenColor(props.$color || '#519595', 30)};
52847
+ cursor: pointer;
52848
+ text-decoration: underline;
52849
+ flex-shrink: 0;
52850
+
52851
+ &:hover {
52852
+ opacity: 0.8;
52853
+ }
52854
+ `;
52855
+
52856
+ // OkCircleIcon.jsx
52857
+ const OkCircleIcon = _ref => {
52858
+ let {
52859
+ width = '40',
52860
+ height = '40',
52861
+ color = '#519595'
52862
+ } = _ref;
52863
+ return /*#__PURE__*/React$1.createElement("svg", {
52864
+ width: width,
52865
+ height: height,
52866
+ viewBox: "0 0 40 40",
52867
+ fill: "none",
52868
+ xmlns: "http://www.w3.org/2000/svg"
52869
+ }, /*#__PURE__*/React$1.createElement("rect", {
52870
+ width: "40",
52871
+ height: "40",
52872
+ rx: "20",
52873
+ fill: color
52874
+ }), /*#__PURE__*/React$1.createElement("path", {
52875
+ d: "M20.0176 12.6875C17.3809 12.6875 14.9902 14.0938 13.6543 16.3438C12.3535 18.6289 12.3535 21.4062 13.6543 23.6562C14.9902 25.9414 17.3809 27.3125 20.0176 27.3125C22.6191 27.3125 25.0098 25.9414 26.3457 23.6562C27.6465 21.4062 27.6465 18.6289 26.3457 16.3438C25.0098 14.0938 22.6191 12.6875 20.0176 12.6875ZM20.0176 29C16.7832 29 13.8301 27.3125 12.2129 24.5C10.5957 21.7227 10.5957 18.3125 12.2129 15.5C13.8301 12.7227 16.7832 11 20.0176 11C23.2168 11 26.1699 12.7227 27.7871 15.5C29.4043 18.3125 29.4043 21.7227 27.7871 24.5C26.1699 27.3125 23.2168 29 20.0176 29ZM23.9902 18.3477L19.4902 22.8477C19.1387 23.1992 18.6113 23.1992 18.2949 22.8477L16.0449 20.5977C15.6934 20.2812 15.6934 19.7539 16.0449 19.4375C16.3613 19.0859 16.8887 19.0859 17.2402 19.4375L18.8926 21.0898L22.7949 17.1875C23.1113 16.8359 23.6387 16.8359 23.9902 17.1875C24.3066 17.5039 24.3066 18.0312 23.9902 18.3477Z",
52876
+ fill: "white"
52877
+ }));
52878
+ };
52879
+
52880
+ // ToasterMessageBox.jsx
52881
+ const ToasterMessageBox = _ref => {
52882
+ let {
52883
+ color = '#519595',
52884
+ messageText = 'In progress...',
52885
+ linkText = '',
52886
+ duration = 5,
52887
+ width = '500px',
52888
+ onLinkClick = () => {},
52889
+ onClose = () => {}
52890
+ } = _ref;
52891
+ const [isVisible, setIsVisible] = useState(false);
52892
+ const [isClosing, setIsClosing] = useState(false);
52893
+
52894
+ // Convert seconds to milliseconds
52895
+ const durationMs = duration * 1000;
52896
+ useEffect(() => {
52897
+ // Show animation
52898
+ const showTimer = setTimeout(() => setIsVisible(true), 100);
52899
+
52900
+ // Auto close after duration
52901
+ const autoCloseTimer = setTimeout(() => {
52902
+ handleClose();
52903
+ }, durationMs);
52904
+ return () => {
52905
+ clearTimeout(showTimer);
52906
+ clearTimeout(autoCloseTimer);
52907
+ };
52908
+ }, [durationMs]);
52909
+ const handleClose = () => {
52910
+ setIsClosing(true);
52911
+ setTimeout(() => {
52912
+ onClose();
52913
+ }, 800); // Wait for fade out animation (0.8s)
52914
+ };
52915
+ const handleLinkClick = () => {
52916
+ onLinkClick();
52917
+ handleClose();
52918
+ };
52919
+ return /*#__PURE__*/React$1.createElement(ToasterContainer, {
52920
+ $color: color,
52921
+ $width: width,
52922
+ $isVisible: isVisible,
52923
+ $isClosing: isClosing
52924
+ }, /*#__PURE__*/React$1.createElement(IconWrapper, {
52925
+ $color: color
52926
+ }, /*#__PURE__*/React$1.createElement(OkCircleIcon, {
52927
+ color: color,
52928
+ width: "40",
52929
+ height: "40"
52930
+ })), /*#__PURE__*/React$1.createElement(MessageText, null, messageText), /*#__PURE__*/React$1.createElement(LinkText, {
52931
+ $color: color,
52932
+ onClick: handleLinkClick
52933
+ }, linkText));
52934
+ };
52935
+
52936
+ export { AreaChart, BannerEventBoxList, BarChart, BarChartTwoRows, BarChartWithAreaChart, BarChartsByWeeks, BatteryChart, BreakdownPanel, BrushChart, BubbleChart, Build, Button$1 as Button, CollapseData, CollapseHeader, ContainerTable, DialogOverlay$1 as DialogOverlay, DoubleBarSingleLine, DoublePanelDataRow, DownloadProgress, DropdownNew, EventDetailsCard, EventList, Execute, FilterPanel, FilterPop, Heatmap, IconButton$1 as IconButton, Input$2 as Input, InsightsCarousel, ItemManagerPanel, LinkButton, LinnerDataBox, MarketShareDescription, MenuRoute, MessageBox, ModalDrawer, ModalWithOverlay, OneColumnContainer, OverlayDropdown, PerformanceAnalyticsLegend, PieChart, PopupCharts, QuickFilter, RangePop, ReportTable, SearchInput, SingleBarLineCharts, SortPop, TabMenu, Table, ToasterMessageBox, ToggleSwitch, Tooltip$2 as Tooltip, TopToggleList, TotalDoughnutChart, TotalHorizontalCharts, Track, TwoBarCharts, WeeksPicker };
52553
52937
  //# sourceMappingURL=index.esm.js.map