sag_components 2.0.0-beta209 → 2.0.0-beta211

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.js CHANGED
@@ -2104,7 +2104,7 @@ const NoDataFoundMessage = props => {
2104
2104
  }, noDataText));
2105
2105
  };
2106
2106
 
2107
- const scrollableStyles$f = `
2107
+ const scrollableStyles$g = `
2108
2108
  overflow-y: auto;
2109
2109
 
2110
2110
  &::-webkit-scrollbar {
@@ -2133,7 +2133,7 @@ const ControlsContainer$e = styled__default["default"].div`
2133
2133
  display: flex;
2134
2134
  align-items: center;
2135
2135
  @media (max-width: 1536px) {
2136
- ${scrollableStyles$f}
2136
+ ${scrollableStyles$g}
2137
2137
  }
2138
2138
 
2139
2139
  > * {
@@ -3815,7 +3815,7 @@ const SearchInput$1 = props => {
3815
3815
  }));
3816
3816
  };
3817
3817
 
3818
- const scrollableStyles$e = `
3818
+ const scrollableStyles$f = `
3819
3819
  overflow-y: auto;
3820
3820
 
3821
3821
  &::-webkit-scrollbar {
@@ -3898,7 +3898,7 @@ const PresentationSlider = styled__default["default"].div`
3898
3898
  `;
3899
3899
  const Body = styled__default["default"].div`
3900
3900
  width: 100%;
3901
- ${scrollableStyles$e}
3901
+ ${scrollableStyles$f}
3902
3902
  position: relative;
3903
3903
  overflow-x: hidden;
3904
3904
  box-sizing: border-box;
@@ -8752,7 +8752,7 @@ const MenuItemUpIcon = _ref => {
8752
8752
  };
8753
8753
 
8754
8754
  /* eslint-disable no-nested-ternary */
8755
- const scrollableStyles$d = `
8755
+ const scrollableStyles$e = `
8756
8756
  overflow-y: auto;
8757
8757
 
8758
8758
  &::-webkit-scrollbar {
@@ -8896,7 +8896,7 @@ const OptionsSubContainer$3 = styled__default["default"].ul`
8896
8896
  z-index: 101;
8897
8897
  top: 100%;
8898
8898
  /* left: 0; */
8899
- ${scrollableStyles$d}
8899
+ ${scrollableStyles$e}
8900
8900
  list-style: none;
8901
8901
  font-weight: 400;
8902
8902
  margin: 0;
@@ -9246,7 +9246,7 @@ const CheckBoxNotCheckedIcon = _ref => {
9246
9246
  };
9247
9247
 
9248
9248
  /* eslint-disable no-nested-ternary */
9249
- const scrollableStyles$c = `
9249
+ const scrollableStyles$d = `
9250
9250
  overflow-y: auto;
9251
9251
 
9252
9252
  &::-webkit-scrollbar {
@@ -9391,7 +9391,7 @@ const OptionsSubContainer$2 = styled__default["default"].ul`
9391
9391
  z-index: 101;
9392
9392
  top: 100%;
9393
9393
  /* left: 0; */
9394
- ${scrollableStyles$c}
9394
+ ${scrollableStyles$d}
9395
9395
  list-style: none;
9396
9396
  font-weight: 400;
9397
9397
  margin: 0;
@@ -10590,23 +10590,24 @@ const QuarterPopupPicker = ({
10590
10590
  };
10591
10591
 
10592
10592
  /* eslint-disable import/no-extraneous-dependencies */
10593
- const QuarterPicker = ({
10594
- availableQuarters,
10595
- // ["Q1-2024"]
10596
- label,
10597
- onChange,
10598
- borderRadius,
10599
- required,
10600
- width,
10601
- height,
10602
- placeholder,
10603
- disabled,
10604
- borderColor,
10605
- borderColorFocus,
10606
- textColor,
10607
- selectedValue,
10608
- startYear
10609
- }) => {
10593
+ const QuarterPicker = _ref => {
10594
+ let {
10595
+ availableQuarters,
10596
+ // ["Q1-2024"]
10597
+ label,
10598
+ onChange,
10599
+ borderRadius,
10600
+ required,
10601
+ width,
10602
+ height,
10603
+ placeholder,
10604
+ disabled,
10605
+ borderColor,
10606
+ borderColorFocus,
10607
+ textColor,
10608
+ selectedValue,
10609
+ startYear
10610
+ } = _ref;
10610
10611
  const [isFocused, setIsFocused] = React$1.useState(false);
10611
10612
  const [isOpen, setIsOpen] = React$1.useState(false);
10612
10613
  const [value, setValue] = React$1.useState('');
@@ -11048,22 +11049,23 @@ const MonthPopupPicker = ({
11048
11049
  };
11049
11050
 
11050
11051
  /* eslint-disable import/no-extraneous-dependencies */
11051
- const MonthPicker = ({
11052
- availableMonths,
11053
- label,
11054
- onChange,
11055
- borderRadius,
11056
- required,
11057
- width,
11058
- height,
11059
- placeholder,
11060
- disabled,
11061
- borderColor,
11062
- borderColorFocus,
11063
- textColor,
11064
- selectedValue,
11065
- startYear
11066
- }) => {
11052
+ const MonthPicker = _ref => {
11053
+ let {
11054
+ availableMonths,
11055
+ label,
11056
+ onChange,
11057
+ borderRadius,
11058
+ required,
11059
+ width,
11060
+ height,
11061
+ placeholder,
11062
+ disabled,
11063
+ borderColor,
11064
+ borderColorFocus,
11065
+ textColor,
11066
+ selectedValue,
11067
+ startYear
11068
+ } = _ref;
11067
11069
  const [isFocused, setIsFocused] = React$1.useState(false);
11068
11070
  const [isOpen, setIsOpen] = React$1.useState(false);
11069
11071
  const [value, setValue] = React$1.useState('');
@@ -11990,7 +11992,7 @@ const SortIcon$1 = _ref => {
11990
11992
  }))));
11991
11993
  };
11992
11994
 
11993
- const scrollableStyles$b = `
11995
+ const scrollableStyles$c = `
11994
11996
  overflow-y: auto;
11995
11997
 
11996
11998
  &::-webkit-scrollbar {
@@ -12225,7 +12227,7 @@ const TableWrapper$3 = styled__default["default"].div`
12225
12227
  border: 1px solid #dddddd;
12226
12228
  border-radius: ${props => props.columnsNumber > props.maxColumnsNumber ? ' 12px 12px 6px 6px' : '12px'};
12227
12229
  overflow-x: ${props => props.columnsNumber > props.maxColumnsNumber ? 'auto' : 'hidden'};
12228
- ${scrollableStyles$b}
12230
+ ${scrollableStyles$c}
12229
12231
  `;
12230
12232
  const Table$3 = styled__default["default"].table`
12231
12233
  font-family: "Poppins", sans-serif;
@@ -13302,7 +13304,7 @@ const BannerEventBoxList = props => {
13302
13304
  })), showDraft && /*#__PURE__*/React__default["default"].createElement(DraftTag$1, null, "DRAFT")) : children));
13303
13305
  };
13304
13306
 
13305
- const scrollableStyles$a = `
13307
+ const scrollableStyles$b = `
13306
13308
  overflow-y: auto;
13307
13309
 
13308
13310
  &::-webkit-scrollbar {
@@ -13339,7 +13341,7 @@ const Modal$1 = styled__default["default"].div`
13339
13341
  width: 79%;
13340
13342
  max-width: 1500px;
13341
13343
  margin: 0 auto;
13342
- ${scrollableStyles$a}
13344
+ ${scrollableStyles$b}
13343
13345
  `;
13344
13346
  const ModalHeader$2 = styled__default["default"].div`
13345
13347
  display: flex;
@@ -13348,7 +13350,7 @@ const ModalHeader$2 = styled__default["default"].div`
13348
13350
  margin-bottom: 32px;
13349
13351
  `;
13350
13352
  const ModalBody$1 = styled__default["default"].div`
13351
- ${scrollableStyles$a}
13353
+ ${scrollableStyles$b}
13352
13354
  max-height: 80vh;
13353
13355
  `;
13354
13356
  const ModalTitle$2 = styled__default["default"].h5`
@@ -24174,21 +24176,22 @@ const DeleteIcon = styled__default["default"].div`
24174
24176
  position: absolute;
24175
24177
  `;
24176
24178
 
24177
- const QuickFilterDropdownSingle = ({
24178
- label,
24179
- hoverColor,
24180
- options,
24181
- selectedValue,
24182
- placeHolder,
24183
- onChange,
24184
- disabled,
24185
- width,
24186
- error,
24187
- errorMessage,
24188
- xIconShow,
24189
- labelColor,
24190
- showLabelOnTop
24191
- }) => {
24179
+ const QuickFilterDropdownSingle = _ref => {
24180
+ let {
24181
+ label,
24182
+ hoverColor,
24183
+ options,
24184
+ selectedValue,
24185
+ placeHolder,
24186
+ onChange,
24187
+ disabled,
24188
+ width,
24189
+ error,
24190
+ errorMessage,
24191
+ xIconShow,
24192
+ labelColor,
24193
+ showLabelOnTop
24194
+ } = _ref;
24192
24195
  const [isFocused, setIsFocused] = React$1.useState(false);
24193
24196
  const [showOptions, setShowOptions] = React$1.useState(false);
24194
24197
  const [inputValue, setInputValue] = React$1.useState("");
@@ -24405,101 +24408,98 @@ QuickFilterDropdownSingle.defaultProps = {
24405
24408
  showLabelOnTop: true
24406
24409
  };
24407
24410
 
24411
+ const scrollableStyles$a = `
24412
+ overflow-y: auto;
24413
+ &::-webkit-scrollbar {
24414
+ width: 4px;
24415
+ }
24416
+ &::-webkit-scrollbar-track {
24417
+ background: #E8E8E8;
24418
+ border-radius: 5px;
24419
+ }
24420
+ &::-webkit-scrollbar-thumb {
24421
+ background: #D0D0D0;
24422
+ border-radius: 5px;
24423
+ }
24424
+ `;
24408
24425
  const DropdownWrapper = styled__default["default"].div`
24409
- position: relative;
24410
- display: flex;
24411
- flex-direction: column;
24412
- align-content: center;
24413
- justify-content: center;
24414
- align-items: flex-start;
24415
- width: ${props => props.width || '300px'};
24416
- font-family: "Poppins", sans-serif;
24417
- font-weight: 400;
24426
+ position: relative;
24427
+ display: flex;
24428
+ flex-direction: column;
24429
+ align-content: center;
24430
+ justify-content: center;
24431
+ align-items: flex-start;
24432
+ width: ${props => props.width || '300px'};
24433
+ min-width: ${props => props.width || '300px'};
24434
+ max-width: ${props => props.width || '300px'};
24435
+ font-family: "Poppins", sans-serif;
24436
+ font-weight: 400;
24418
24437
  font-size: 14px;
24419
24438
  border-radius: 10px;
24420
24439
  `;
24421
24440
  const Label$5 = styled__default["default"].label`
24422
- font-size: ${props => props.isFocused || props.hasValue ? '14px' : '14px'};
24423
- font-weight: 400;
24424
- padding-inline-end: 5px;
24425
- padding-inline-start: 5px;
24426
- margin-right: 10px;
24427
- z-index: 2;
24428
- color: ${props => props.error ? 'red' : props.disabled ? '#888' : props.labelColor};
24429
- background-color: ${props => props.showLabelOnTop ? 'white' : 'transparent'} ;
24430
- position: absolute;
24431
- top: ${props => props.isFocused || props.hasValue ? '0px' : '27px'};
24432
- left: ${props => props.isFocused || props.hasValue ? '23px' : '10px'};
24433
- font-family: Poppins;
24434
- transform: translateY(-50%);
24435
- transition: ${props => props.showLabelOnTop ? 'top 0.3s ease, font-size 0.3s ease, color 0.3s ease' : ''} ;
24441
+ font-size: 14px;
24442
+ font-weight: 500;
24443
+ color: ${props => props.disabled ? '#D0D0D0' : '212121'};
24444
+ white-space: nowrap;
24445
+ `;
24446
+ const InputContainer$2 = styled__default["default"].div`
24436
24447
  display: flex;
24448
+ justify-content: space-between;
24449
+ align-content: center;
24450
+ white-space: pre-wrap;
24437
24451
  align-items: center;
24452
+ overflow: hidden;
24453
+ padding: 6px 16px;
24454
+ margin-bottom: 8px;
24455
+ height: ${props => props.height || '38px'};
24456
+ min-height: ${props => props.height || '38px'};
24457
+ max-height: ${props => props.height || '38px'};
24458
+ width: 100%;
24438
24459
  box-sizing: border-box;
24439
- gap: 4px;
24440
- &:hover {
24441
- cursor: ${props => props.disabled ? 'not-allowed' : 'pointer'};
24442
- }
24443
- `;
24444
- const InputContainer$2 = styled__default["default"].div`
24445
- display: flex;
24446
- flex-direction: row;
24447
- flex-wrap: nowrap;
24448
- justify-content: flex-start;
24449
- align-content: center;
24450
- white-space: pre-wrap;
24451
- align-items: center;
24452
- overflow: hidden;
24453
- padding: 0 5px 0 0;
24454
- margin-bottom: 8px;
24455
- gap: 4px;
24456
- width: 100%;
24457
- height: 100%;
24458
- box-sizing: border-box;
24459
- background-color: transparent;
24460
- border: 1px solid ${props => props.disabled ? '#bdbdbd' : props.error ? 'red' : '#B1B1B1'};
24461
- font-family: "Poppins", sans-serif;
24462
- font-weight: 400;
24463
- font-size: 14px;
24464
- border-radius: 12px;
24465
- outline: none;
24466
- color: ${props => props.disabled ? '#888' : '#212121'};
24460
+ border: 1px solid
24461
+ ${props => props.disabled ? '#bdbdbd' : props.error ? 'red' : '#B1B1B1'};
24462
+ font-family: "Poppins", sans-serif;
24463
+ font-weight: 400;
24464
+ font-size: 14px;
24465
+ border-radius: 9px;
24466
+ outline: none;
24467
+ color: ${props => props.disabled ? '#888' : '#212121'};
24468
+
24467
24469
  &:hover {
24468
- border: 1px solid ${props => props.disabled ? '#bdbdbd' : props.error ? 'red' : props.labelColor || '#212121'};
24470
+ border: 1px solid
24471
+ ${props => props.disabled ? '#bdbdbd' : props.error ? 'red' : props.hoverColor || '#212121'};
24469
24472
  cursor: ${props => props.disabled ? 'not-allowed' : 'pointer'};
24470
24473
  }
24471
- &:focus {
24472
- border: 1px solid ${props => props.disabled ? '#bdbdbd' : props.error ? 'red' : props.labelColor || '#212121'};
24474
+
24475
+ &:focus {
24476
+ border: 1px solid
24477
+ ${props => props.disabled ? '#bdbdbd' : props.error ? 'red' : props.labelColor || '#212121'};
24473
24478
  }
24474
24479
  `;
24475
24480
  const InputSubContainer$1 = styled__default["default"].div`
24476
- display: flex;
24477
- flex-direction: column;
24478
- flex-wrap: nowrap;
24479
- align-content: center;
24480
- align-items: flex-start;
24481
- justify-content: center;
24482
- white-space: pre-wrap;
24483
- overflow: hidden;
24484
- padding: 10px 4px 10px 10px;
24485
- width: 100%;
24486
- height: 50px;
24487
- box-sizing: border-box;
24488
- background-color: transparent;
24489
- border-radius: 12px;
24490
- outline: none;
24491
- color: ${props => props.disabled ? '#888' : '#212121'};
24481
+ display: flex;
24482
+ align-items: center;
24483
+ color: ${props => props.disabled ? '#888' : '#212121'};
24484
+ gap: 4px;
24485
+ flex: 1;
24486
+ overflow: hidden;
24487
+ min-width: 0;
24488
+ max-width: calc(100% - 40px);
24492
24489
  `;
24493
24490
  const StyledInput$2 = styled__default["default"].input`
24494
- width: calc(100% - 20px);
24495
- height: 25px;
24496
- font-family: Poppins;
24491
+ width: 100%;
24492
+ height: 20px;
24493
+ font-family: "Poppins";
24497
24494
  font-weight: 400;
24498
24495
  font-size: 14px;
24499
- outline: none;
24500
- background-color: transparent;
24501
- color: ${props => props.disabled ? '#888' : '#212121'};
24502
- border: none;
24496
+ outline: none;
24497
+ color: ${props => props.disabled ? '#888' : '#212121'};
24498
+ border: none;
24499
+ background-color: transparent;
24500
+ &::placeholder {
24501
+ color: ${props => props.disabled ? '#D0D0D0' : '#b1b1b1'};
24502
+ }
24503
24503
  `;
24504
24504
  const OptionsContainer$1 = styled__default["default"].div`
24505
24505
  margin: 0;
@@ -24526,10 +24526,12 @@ const OptionsSubContainer = styled__default["default"].ul`
24526
24526
  background-color: #fff;
24527
24527
  display: ${props => props.showoptions && props.filteredoptions?.length > 0 ? 'block' : 'none'};
24528
24528
  box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1);
24529
- max-height: 400px;
24530
- overflow: auto;
24529
+ max-height: ${props => props.dropdownHeight || '400px'};
24530
+ ${scrollableStyles$a}
24531
24531
  `;
24532
24532
  const OptionItem = styled__default["default"].li`
24533
+ display: flex;
24534
+ align-items: center;
24533
24535
  gap: 8px;
24534
24536
  padding: 10px;
24535
24537
  cursor: pointer;
@@ -24550,34 +24552,34 @@ const ErrorMessage$1 = styled__default["default"].div`
24550
24552
  margin-top: 5px;
24551
24553
  `;
24552
24554
  const SelectedOptionsContainer = styled__default["default"].div`
24553
- display: flex;
24554
- flex-direction: row;
24555
- flex-wrap: nowrap;
24556
- justify-content: flex-start;
24557
- align-content: center;
24558
- align-items: center;
24559
- white-space: pre-wrap;
24560
- overflow: hidden;
24561
- padding: 0;
24562
- font-weight: 400;
24563
- border-top: none;
24564
- border-radius: 4px;
24565
- background-color: #fff;
24566
- gap: 4px;
24567
- `;
24568
- const SelectedOptionItem = styled__default["default"].div`
24569
- display: flex;
24570
- margin: 0;
24571
- flex-wrap: nowrap;
24572
- white-space: pre-wrap;
24555
+ display: flex;
24556
+ flex-direction: row;
24557
+ align-items: center;
24558
+ gap: 4px;
24559
+ flex-wrap: nowrap;
24573
24560
  overflow: hidden;
24561
+ flex-shrink: 0;
24562
+ min-width: 0;
24563
+ max-width: 170px;
24564
+ `;
24565
+ const SelectedOptionItem = styled__default["default"].div`
24566
+ display: flex;
24567
+ align-items: center;
24574
24568
  cursor: pointer;
24575
24569
  color: #212121;
24576
24570
  background-color: #E3E4E5;
24577
- border-radius: 4px;
24578
- align-items: center;
24579
- padding: 4px 6px;
24571
+ border-radius: 4px;
24572
+ padding: 2px 4px;
24580
24573
  font-size: 12px;
24574
+ height: 20px;
24575
+ white-space: nowrap;
24576
+ flex-shrink: 0;
24577
+ width: 65px;
24578
+ max-width: 65px;
24579
+ min-width: 65px;
24580
+ overflow: hidden;
24581
+ text-overflow: ellipsis;
24582
+ box-sizing: border-box;
24581
24583
  `;
24582
24584
  const IconContainer$2 = styled__default["default"].div`
24583
24585
  display: flex;
@@ -24585,23 +24587,26 @@ const IconContainer$2 = styled__default["default"].div`
24585
24587
  cursor: pointer;
24586
24588
  `;
24587
24589
 
24588
- const QuickFilterDropdownMultiSelection = ({
24589
- label,
24590
- labelEmptyValue,
24591
- options,
24592
- selectedValue,
24593
- placeHolder,
24594
- onChange,
24595
- required,
24596
- disabled,
24597
- width,
24598
- error,
24599
- errorMessage,
24600
- labelColor,
24601
- xIconShow,
24602
- checkBoxColor,
24603
- showLabelOnTop
24604
- }) => {
24590
+ const QuickFilterDropdownMultiSelection = _ref => {
24591
+ let {
24592
+ label,
24593
+ labelEmptyValue,
24594
+ options,
24595
+ selectedValue,
24596
+ placeHolder,
24597
+ onChange,
24598
+ required,
24599
+ disabled,
24600
+ width,
24601
+ height,
24602
+ error,
24603
+ errorMessage,
24604
+ labelColor,
24605
+ xIconShow,
24606
+ checkBoxColor,
24607
+ showLabelOnTop,
24608
+ dropdownHeight
24609
+ } = _ref;
24605
24610
  const [isFocused, setIsFocused] = React$1.useState(false);
24606
24611
  const [showOptions, setShowOptions] = React$1.useState(false);
24607
24612
  const [inputValue, setInputValue] = React$1.useState('');
@@ -24712,33 +24717,35 @@ const QuickFilterDropdownMultiSelection = ({
24712
24717
  const displaySelectedOptions = () => {
24713
24718
  const content = /*#__PURE__*/React__default["default"].createElement(SelectedOptionsContainer, {
24714
24719
  className: "SelectedOptionsContainer"
24715
- }, selectedOptions?.map((option, index) => index < 2 ? /*#__PURE__*/React__default["default"].createElement(SelectedOptionItem, {
24716
- className: "SelectedOptionItem",
24717
- key: option.value,
24718
- onClick: () => {
24719
- toggleOption(option);
24720
- setIsFocused(true);
24721
- if (inputRef?.current) {
24722
- inputRef?.current?.focus();
24723
- }
24720
+ }, selectedOptions?.map((option, index) => {
24721
+ if (index < 2) {
24722
+ return /*#__PURE__*/React__default["default"].createElement(SelectedOptionItem, {
24723
+ className: "SelectedOptionItem",
24724
+ key: option.value,
24725
+ onClick: () => {
24726
+ toggleOption(option);
24727
+ setIsFocused(true);
24728
+ if (inputRef?.current) {
24729
+ inputRef?.current?.focus();
24730
+ }
24731
+ }
24732
+ }, option.label && option.label?.length > 5 ? `${option.label?.substring(0, 5)}...` : option.label, /*#__PURE__*/React__default["default"].createElement(CloseXIcon, {
24733
+ width: "8px",
24734
+ height: "8px",
24735
+ fill: "#212121"
24736
+ }));
24724
24737
  }
24725
- }, option.label && option.label?.length > 10 ? `${option.label?.substring(0, 10)}... ` : `${option.label} `, /*#__PURE__*/React__default["default"].createElement(CloseXIcon, {
24726
- width: "8px",
24727
- height: "8px",
24728
- fill: "#212121"
24729
- })) : ' '), selectedOptions.length > 2 ? /*#__PURE__*/React__default["default"].createElement(SelectedOptionItem, {
24738
+ return null;
24739
+ }), selectedOptions.length > 2 && /*#__PURE__*/React__default["default"].createElement(SelectedOptionItem, {
24730
24740
  className: "SelectedOptionItem"
24731
- }, selectedOptions.length - 2, "+") : '');
24741
+ }, "+", selectedOptions.length - 2));
24732
24742
  return content;
24733
24743
  };
24734
24744
  const getLabel = () => {
24735
24745
  if (!showLabelOnTop && isFocused) {
24736
24746
  return '';
24737
24747
  }
24738
- if (selectedOptions?.length > 0) {
24739
- return label;
24740
- }
24741
- return labelEmptyValue;
24748
+ return label;
24742
24749
  };
24743
24750
  const getRequired = () => {
24744
24751
  if (!showLabelOnTop && isFocused) {
@@ -24747,18 +24754,12 @@ const QuickFilterDropdownMultiSelection = ({
24747
24754
  if (!showLabelOnTop && !label && selectedOptions?.length > 0) {
24748
24755
  return '';
24749
24756
  }
24750
- if (required) {
24751
- return /*#__PURE__*/React__default["default"].createElement("span", {
24752
- style: {
24753
- color: 'red'
24754
- }
24755
- }, "*");
24756
- }
24757
24757
  return '';
24758
24758
  };
24759
24759
  return /*#__PURE__*/React__default["default"].createElement(DropdownWrapper, {
24760
24760
  className: "DropdownWrapper",
24761
24761
  width: width,
24762
+ height: height,
24762
24763
  onMouseEnter: () => setHoverInputContainer(true),
24763
24764
  onMouseLeave: () => setHoverInputContainer(false)
24764
24765
  }, /*#__PURE__*/React__default["default"].createElement(InputContainer$2, {
@@ -24766,7 +24767,8 @@ const QuickFilterDropdownMultiSelection = ({
24766
24767
  labelColor: labelColor,
24767
24768
  disabled: disabled,
24768
24769
  error: error,
24769
- isFocused: isFocused
24770
+ isFocused: isFocused,
24771
+ height: height
24770
24772
  }, /*#__PURE__*/React__default["default"].createElement(InputSubContainer$1, {
24771
24773
  className: "InputSubContainer",
24772
24774
  ref: containerRef,
@@ -24784,7 +24786,7 @@ const QuickFilterDropdownMultiSelection = ({
24784
24786
  errorMessage: errorMessage,
24785
24787
  onClick: handleLabelClick,
24786
24788
  showLabelOnTop: showLabelOnTop
24787
- }, getLabel(), getRequired()), displaySelectedOptions(), showOptions ? /*#__PURE__*/React__default["default"].createElement(StyledInput$2, {
24789
+ }, getLabel(), getRequired()), displaySelectedOptions(), /*#__PURE__*/React__default["default"].createElement(StyledInput$2, {
24788
24790
  className: "StyledInput",
24789
24791
  ref: inputRef,
24790
24792
  value: inputValue,
@@ -24793,10 +24795,10 @@ const QuickFilterDropdownMultiSelection = ({
24793
24795
  onClick: handleLabelClick,
24794
24796
  type: "search",
24795
24797
  disabled: disabled,
24796
- placeholder: isFocused ? placeHolder || 'Type to search...' : '',
24798
+ placeholder: placeHolder,
24797
24799
  error: error,
24798
24800
  isFocused: isFocused
24799
- }) : ' '), selectedOptions.length > 0 && xIconShow && /*#__PURE__*/React__default["default"].createElement(IconContainer$2, {
24801
+ })), selectedOptions.length > 0 && xIconShow && /*#__PURE__*/React__default["default"].createElement(IconContainer$2, {
24800
24802
  className: "IconContainer",
24801
24803
  onClick: handleClearClick
24802
24804
  }, /*#__PURE__*/React__default["default"].createElement(CloseXIcon, {
@@ -24825,13 +24827,14 @@ const QuickFilterDropdownMultiSelection = ({
24825
24827
  className: "OptionsSubContainer",
24826
24828
  showoptions: showOptions,
24827
24829
  disabled: disabled,
24828
- filteredoptions: filteredoptions
24830
+ filteredoptions: filteredoptions,
24831
+ dropdownHeight: dropdownHeight
24829
24832
  }, filteredoptions.map(option => /*#__PURE__*/React__default["default"].createElement(OptionItem, {
24830
24833
  className: "OptionItem",
24831
24834
  key: option.value,
24832
24835
  onClick: () => toggleOption(option),
24833
24836
  selected: isDropdowned(option)
24834
- }, highlightText(option.label, inputValue), /*#__PURE__*/React__default["default"].createElement(IconContainer$2, {
24837
+ }, /*#__PURE__*/React__default["default"].createElement(IconContainer$2, {
24835
24838
  className: "IconContainer"
24836
24839
  }, selectedOptions.find(itemSelectedOptions => option.value === itemSelectedOptions.value) ? /*#__PURE__*/React__default["default"].createElement(CheckBoxCheckedIcon, {
24837
24840
  width: "14px",
@@ -24841,7 +24844,7 @@ const QuickFilterDropdownMultiSelection = ({
24841
24844
  width: "14px",
24842
24845
  height: "14px",
24843
24846
  color: disabled ? '#888' : '#212121'
24844
- })), option.label)))));
24847
+ })), highlightText(option.label, inputValue))))));
24845
24848
  };
24846
24849
  QuickFilterDropdownMultiSelection.propTypes = {
24847
24850
  placeHolder: PropTypes.string,
@@ -24851,6 +24854,8 @@ QuickFilterDropdownMultiSelection.propTypes = {
24851
24854
  checkBoxColor: PropTypes.string,
24852
24855
  required: PropTypes.bool,
24853
24856
  width: PropTypes.string,
24857
+ height: PropTypes.string,
24858
+ dropdownHeight: PropTypes.string,
24854
24859
  disabled: PropTypes.bool,
24855
24860
  error: PropTypes.bool,
24856
24861
  errorMessage: '',
@@ -24874,6 +24879,8 @@ QuickFilterDropdownMultiSelection.defaultProps = {
24874
24879
  checkBoxColor: '#229E38',
24875
24880
  required: true,
24876
24881
  width: '300px',
24882
+ height: '38px',
24883
+ dropdownHeight: '500px',
24877
24884
  disabled: false,
24878
24885
  error: false,
24879
24886
  errorMessage: '',
@@ -24910,7 +24917,9 @@ const QuickFilter = _ref => {
24910
24917
  labelColor = "#066768",
24911
24918
  placeHolder = "Select From List",
24912
24919
  width = "auto",
24920
+ height = "38px",
24913
24921
  checkBoxColor = "#229E38",
24922
+ dropdownHeight = "500px",
24914
24923
  onChange = value => {},
24915
24924
  options = [],
24916
24925
  selectedValue = []
@@ -24926,6 +24935,8 @@ const QuickFilter = _ref => {
24926
24935
  checkBoxColor: checkBoxColor,
24927
24936
  options: options,
24928
24937
  width: width,
24938
+ height: height,
24939
+ dropdownHeight: dropdownHeight,
24929
24940
  disabled: disabled,
24930
24941
  error: error,
24931
24942
  errorMessage: errorMessage,
@@ -36043,9 +36054,9 @@ const ToggleSlider = styled__default["default"].span`
36043
36054
  }
36044
36055
  `;
36045
36056
 
36046
- /**
36047
- * ToggleSwitch component for on/off states.
36048
- * Supports small/large sizes and disabled state.
36057
+ /**
36058
+ * ToggleSwitch component for on/off states.
36059
+ * Supports small/large sizes and disabled state.
36049
36060
  */
36050
36061
  function ToggleSwitch(_ref) {
36051
36062
  let {
@@ -44813,7 +44824,6 @@ const NewItemList = ({
44813
44824
  }), /*#__PURE__*/React__default["default"].createElement(VendorSearchResult, null, search !== "" ? `${filteredItems.length === 0 ? "No" : filteredItems.length} Vendors Found` : " ")), /*#__PURE__*/React__default["default"].createElement(VendorListWrapper$1, {
44814
44825
  headerHeight: headerHeight
44815
44826
  }, /*#__PURE__*/React__default["default"].createElement(VendorList$1, null, filteredItems.map((item, idx) => {
44816
- console.log("item", item);
44817
44827
  let packagesLength = 0;
44818
44828
  let sentPackagesLength = 0;
44819
44829
  if (item.packages !== null) {
@@ -45167,11 +45177,6 @@ const NewSubitemList = props => {
45167
45177
  setSelectedPackage(item);
45168
45178
  handleSubitemDetail(item); // Pass the package object for editing
45169
45179
  };
45170
-
45171
- // useEffect(() => {
45172
- // console.log("Vendor items updated:", vendorItems);
45173
- // console.log("Props:", props);
45174
- // }, [vendorItems]);
45175
45180
  const setupTooltip = (el, tooltipText) => {
45176
45181
  if (el && tooltipText) {
45177
45182
  const rect = el.getBoundingClientRect();
@@ -45412,7 +45417,6 @@ const NewSubitem = ({
45412
45417
  // Form state
45413
45418
  const [isApplyEnabled, setIsApplyEnabled] = React$1.useState(negotiatedBrands.trim().length > 2);
45414
45419
  React$1.useEffect(() => {
45415
- console.log("packageObject", vendor);
45416
45420
  if (!packageObject) return;
45417
45421
  if (!packageObject.brands) return;
45418
45422
  setNegotiatedBrands(packageObject.brands);
@@ -47023,9 +47027,9 @@ var layers = [
47023
47027
  c: {
47024
47028
  a: 0,
47025
47029
  k: [
47026
- 0.1628,
47027
- 0.9172,
47028
- 0.7915,
47030
+ 0.03529411764705882,
47031
+ 0.403921568627451,
47032
+ 0.40784313725490196,
47029
47033
  1
47030
47034
  ],
47031
47035
  ix: 4
@@ -47280,9 +47284,9 @@ var layers = [
47280
47284
  c: {
47281
47285
  a: 0,
47282
47286
  k: [
47283
- 0,
47284
- 1,
47285
- 0.8333,
47287
+ 0.03529411764705882,
47288
+ 0.403921568627451,
47289
+ 0.40784313725490196,
47286
47290
  1
47287
47291
  ],
47288
47292
  ix: 3
@@ -47310,9 +47314,9 @@ var layers = [
47310
47314
  c: {
47311
47315
  a: 0,
47312
47316
  k: [
47313
- 0,
47314
- 1,
47315
- 0.8333,
47317
+ 0.03529411764705882,
47318
+ 0.403921568627451,
47319
+ 0.40784313725490196,
47316
47320
  1
47317
47321
  ],
47318
47322
  ix: 4
@@ -47693,9 +47697,9 @@ var layers = [
47693
47697
  c: {
47694
47698
  a: 0,
47695
47699
  k: [
47696
- 0,
47697
- 1,
47698
- 0.8333,
47700
+ 0.03529411764705882,
47701
+ 0.403921568627451,
47702
+ 0.40784313725490196,
47699
47703
  1
47700
47704
  ],
47701
47705
  ix: 3
@@ -47723,9 +47727,9 @@ var layers = [
47723
47727
  c: {
47724
47728
  a: 0,
47725
47729
  k: [
47726
- 0,
47727
- 1,
47728
- 0.8333,
47730
+ 0.03529411764705882,
47731
+ 0.403921568627451,
47732
+ 0.40784313725490196,
47729
47733
  1
47730
47734
  ],
47731
47735
  ix: 4
@@ -48106,9 +48110,9 @@ var layers = [
48106
48110
  c: {
48107
48111
  a: 0,
48108
48112
  k: [
48109
- 0,
48110
- 1,
48111
- 0.8333,
48113
+ 0.03529411764705882,
48114
+ 0.403921568627451,
48115
+ 0.40784313725490196,
48112
48116
  1
48113
48117
  ],
48114
48118
  ix: 3
@@ -48136,9 +48140,9 @@ var layers = [
48136
48140
  c: {
48137
48141
  a: 0,
48138
48142
  k: [
48139
- 0,
48140
- 1,
48141
- 0.8333,
48143
+ 0.03529411764705882,
48144
+ 0.403921568627451,
48145
+ 0.40784313725490196,
48142
48146
  1
48143
48147
  ],
48144
48148
  ix: 4
@@ -48519,9 +48523,9 @@ var layers = [
48519
48523
  c: {
48520
48524
  a: 0,
48521
48525
  k: [
48522
- 0,
48523
- 1,
48524
- 0.8333,
48526
+ 0.03529411764705882,
48527
+ 0.403921568627451,
48528
+ 0.40784313725490196,
48525
48529
  1
48526
48530
  ],
48527
48531
  ix: 3
@@ -48549,9 +48553,9 @@ var layers = [
48549
48553
  c: {
48550
48554
  a: 0,
48551
48555
  k: [
48552
- 0,
48553
- 1,
48554
- 0.8333,
48556
+ 0.03529411764705882,
48557
+ 0.403921568627451,
48558
+ 0.40784313725490196,
48555
48559
  1
48556
48560
  ],
48557
48561
  ix: 4
@@ -48932,9 +48936,9 @@ var layers = [
48932
48936
  c: {
48933
48937
  a: 0,
48934
48938
  k: [
48935
- 0,
48936
- 1,
48937
- 0.8333,
48939
+ 0.03529411764705882,
48940
+ 0.403921568627451,
48941
+ 0.40784313725490196,
48938
48942
  1
48939
48943
  ],
48940
48944
  ix: 3
@@ -48962,9 +48966,9 @@ var layers = [
48962
48966
  c: {
48963
48967
  a: 0,
48964
48968
  k: [
48965
- 0,
48966
- 1,
48967
- 0.8333,
48969
+ 0.03529411764705882,
48970
+ 0.403921568627451,
48971
+ 0.40784313725490196,
48968
48972
  1
48969
48973
  ],
48970
48974
  ix: 4
@@ -49345,9 +49349,9 @@ var layers = [
49345
49349
  c: {
49346
49350
  a: 0,
49347
49351
  k: [
49348
- 0,
49349
- 1,
49350
- 0.8333,
49352
+ 0.03529411764705882,
49353
+ 0.403921568627451,
49354
+ 0.40784313725490196,
49351
49355
  1
49352
49356
  ],
49353
49357
  ix: 3
@@ -49375,9 +49379,9 @@ var layers = [
49375
49379
  c: {
49376
49380
  a: 0,
49377
49381
  k: [
49378
- 0,
49379
- 1,
49380
- 0.8333,
49382
+ 0.03529411764705882,
49383
+ 0.403921568627451,
49384
+ 0.40784313725490196,
49381
49385
  1
49382
49386
  ],
49383
49387
  ix: 4
@@ -49758,9 +49762,9 @@ var layers = [
49758
49762
  c: {
49759
49763
  a: 0,
49760
49764
  k: [
49761
- 0,
49762
- 1,
49763
- 0.8333,
49765
+ 0.03529411764705882,
49766
+ 0.403921568627451,
49767
+ 0.40784313725490196,
49764
49768
  1
49765
49769
  ],
49766
49770
  ix: 3
@@ -49788,9 +49792,9 @@ var layers = [
49788
49792
  c: {
49789
49793
  a: 0,
49790
49794
  k: [
49791
- 0,
49792
- 1,
49793
- 0.8333,
49795
+ 0.03529411764705882,
49796
+ 0.403921568627451,
49797
+ 0.40784313725490196,
49794
49798
  1
49795
49799
  ],
49796
49800
  ix: 4
@@ -50171,9 +50175,9 @@ var layers = [
50171
50175
  c: {
50172
50176
  a: 0,
50173
50177
  k: [
50174
- 0,
50175
- 1,
50176
- 0.8333,
50178
+ 0.03529411764705882,
50179
+ 0.403921568627451,
50180
+ 0.40784313725490196,
50177
50181
  1
50178
50182
  ],
50179
50183
  ix: 3
@@ -50201,9 +50205,9 @@ var layers = [
50201
50205
  c: {
50202
50206
  a: 0,
50203
50207
  k: [
50204
- 0,
50205
- 1,
50206
- 0.8333,
50208
+ 0.03529411764705882,
50209
+ 0.403921568627451,
50210
+ 0.40784313725490196,
50207
50211
  1
50208
50212
  ],
50209
50213
  ix: 4
@@ -50584,9 +50588,9 @@ var layers = [
50584
50588
  c: {
50585
50589
  a: 0,
50586
50590
  k: [
50587
- 0,
50588
- 1,
50589
- 0.8333,
50591
+ 0.03529411764705882,
50592
+ 0.403921568627451,
50593
+ 0.40784313725490196,
50590
50594
  1
50591
50595
  ],
50592
50596
  ix: 3
@@ -50614,9 +50618,9 @@ var layers = [
50614
50618
  c: {
50615
50619
  a: 0,
50616
50620
  k: [
50617
- 0,
50618
- 1,
50619
- 0.8333,
50621
+ 0.03529411764705882,
50622
+ 0.403921568627451,
50623
+ 0.40784313725490196,
50620
50624
  1
50621
50625
  ],
50622
50626
  ix: 4
@@ -50997,9 +51001,9 @@ var layers = [
50997
51001
  c: {
50998
51002
  a: 0,
50999
51003
  k: [
51000
- 0,
51001
- 1,
51002
- 0.8333,
51004
+ 0.03529411764705882,
51005
+ 0.403921568627451,
51006
+ 0.40784313725490196,
51003
51007
  1
51004
51008
  ],
51005
51009
  ix: 3
@@ -51027,9 +51031,9 @@ var layers = [
51027
51031
  c: {
51028
51032
  a: 0,
51029
51033
  k: [
51030
- 0,
51031
- 1,
51032
- 0.8333,
51034
+ 0.03529411764705882,
51035
+ 0.403921568627451,
51036
+ 0.40784313725490196,
51033
51037
  1
51034
51038
  ],
51035
51039
  ix: 4
@@ -51410,9 +51414,9 @@ var layers = [
51410
51414
  c: {
51411
51415
  a: 0,
51412
51416
  k: [
51413
- 0,
51414
- 1,
51415
- 0.8333,
51417
+ 0.03529411764705882,
51418
+ 0.403921568627451,
51419
+ 0.40784313725490196,
51416
51420
  1
51417
51421
  ],
51418
51422
  ix: 3
@@ -51440,9 +51444,9 @@ var layers = [
51440
51444
  c: {
51441
51445
  a: 0,
51442
51446
  k: [
51443
- 0,
51444
- 1,
51445
- 0.8333,
51447
+ 0.03529411764705882,
51448
+ 0.403921568627451,
51449
+ 0.40784313725490196,
51446
51450
  1
51447
51451
  ],
51448
51452
  ix: 4
@@ -51823,9 +51827,9 @@ var layers = [
51823
51827
  c: {
51824
51828
  a: 0,
51825
51829
  k: [
51826
- 0,
51827
- 1,
51828
- 0.8333,
51830
+ 0.03529411764705882,
51831
+ 0.403921568627451,
51832
+ 0.40784313725490196,
51829
51833
  1
51830
51834
  ],
51831
51835
  ix: 3
@@ -51853,9 +51857,9 @@ var layers = [
51853
51857
  c: {
51854
51858
  a: 0,
51855
51859
  k: [
51856
- 0,
51857
- 1,
51858
- 0.8333,
51860
+ 0.03529411764705882,
51861
+ 0.403921568627451,
51862
+ 0.40784313725490196,
51859
51863
  1
51860
51864
  ],
51861
51865
  ix: 4
@@ -52236,9 +52240,9 @@ var layers = [
52236
52240
  c: {
52237
52241
  a: 0,
52238
52242
  k: [
52239
- 0,
52240
- 1,
52241
- 0.8333,
52243
+ 0.03529411764705882,
52244
+ 0.403921568627451,
52245
+ 0.40784313725490196,
52242
52246
  1
52243
52247
  ],
52244
52248
  ix: 3
@@ -52266,9 +52270,9 @@ var layers = [
52266
52270
  c: {
52267
52271
  a: 0,
52268
52272
  k: [
52269
- 0,
52270
- 1,
52271
- 0.8333,
52273
+ 0.03529411764705882,
52274
+ 0.403921568627451,
52275
+ 0.40784313725490196,
52272
52276
  1
52273
52277
  ],
52274
52278
  ix: 4
@@ -52649,9 +52653,9 @@ var layers = [
52649
52653
  c: {
52650
52654
  a: 0,
52651
52655
  k: [
52652
- 0,
52653
- 1,
52654
- 0.8333,
52656
+ 0.03529411764705882,
52657
+ 0.403921568627451,
52658
+ 0.40784313725490196,
52655
52659
  1
52656
52660
  ],
52657
52661
  ix: 3
@@ -52679,9 +52683,9 @@ var layers = [
52679
52683
  c: {
52680
52684
  a: 0,
52681
52685
  k: [
52682
- 0,
52683
- 1,
52684
- 0.8333,
52686
+ 0.03529411764705882,
52687
+ 0.403921568627451,
52688
+ 0.40784313725490196,
52685
52689
  1
52686
52690
  ],
52687
52691
  ix: 4
@@ -53062,9 +53066,9 @@ var layers = [
53062
53066
  c: {
53063
53067
  a: 0,
53064
53068
  k: [
53065
- 0,
53066
- 0.6941,
53067
- 0.5765,
53069
+ 0.03529411764705882,
53070
+ 0.403921568627451,
53071
+ 0.40784313725490196,
53068
53072
  1
53069
53073
  ],
53070
53074
  ix: 3
@@ -53092,9 +53096,9 @@ var layers = [
53092
53096
  c: {
53093
53097
  a: 0,
53094
53098
  k: [
53095
- 0,
53096
- 1,
53097
- 0.8333,
53099
+ 0.03529411764705882,
53100
+ 0.403921568627451,
53101
+ 0.40784313725490196,
53098
53102
  1
53099
53103
  ],
53100
53104
  ix: 4
@@ -53475,9 +53479,9 @@ var layers = [
53475
53479
  c: {
53476
53480
  a: 0,
53477
53481
  k: [
53478
- 0,
53479
- 1,
53480
- 0.8333,
53482
+ 0.03529411764705882,
53483
+ 0.403921568627451,
53484
+ 0.40784313725490196,
53481
53485
  1
53482
53486
  ],
53483
53487
  ix: 3
@@ -53505,9 +53509,9 @@ var layers = [
53505
53509
  c: {
53506
53510
  a: 0,
53507
53511
  k: [
53508
- 0,
53509
- 1,
53510
- 0.8333,
53512
+ 0.03529411764705882,
53513
+ 0.403921568627451,
53514
+ 0.40784313725490196,
53511
53515
  1
53512
53516
  ],
53513
53517
  ix: 4
@@ -53962,9 +53966,9 @@ var layers = [
53962
53966
  c: {
53963
53967
  a: 0,
53964
53968
  k: [
53965
- 0.05,
53966
- 0.95,
53967
- 0.8,
53969
+ 0.03529411764705882,
53970
+ 0.403921568627451,
53971
+ 0.40784313725490196,
53968
53972
  1
53969
53973
  ],
53970
53974
  ix: 3
@@ -53992,9 +53996,9 @@ var layers = [
53992
53996
  c: {
53993
53997
  a: 0,
53994
53998
  k: [
53995
- 1,
53996
- 1,
53997
- 1,
53999
+ 0.03529411764705882,
54000
+ 0.403921568627451,
54001
+ 0.40784313725490196,
53998
54002
  1
53999
54003
  ],
54000
54004
  ix: 4