impact-ui 5.0.4-chatbot.2 → 5.0.5-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. package/dist/components/Chart/index.d.ts.map +1 -1
  2. package/dist/components/Chart/index.js +105 -4
  3. package/dist/components/Chatbot/chatbotGreetingHeader.d.ts.map +1 -1
  4. package/dist/components/Chatbot/chatbotGreetingHeader.js +4 -1
  5. package/dist/components/Chatbot/newChatComponent.d.ts.map +1 -1
  6. package/dist/components/Chatbot/newChatComponent.js +4 -1
  7. package/dist/components/DatePicker/DatePicker.types.d.ts +4 -0
  8. package/dist/components/DatePicker/DatePicker.types.d.ts.map +1 -1
  9. package/dist/components/DatePicker/datePickerInput.d.ts +2 -0
  10. package/dist/components/DatePicker/datePickerInput.d.ts.map +1 -1
  11. package/dist/components/DatePicker/datePickerInput.js +32 -2
  12. package/dist/components/DatePicker/index.d.ts.map +1 -1
  13. package/dist/components/DatePicker/index.js +5 -1
  14. package/dist/components/DatePicker/showMonthYearSelect.d.ts.map +1 -1
  15. package/dist/components/DatePicker/showMonthYearSelect.js +2 -0
  16. package/dist/components/DateRangePicker/index.js +1 -1
  17. package/dist/components/DateRangePicker/showMonthYearSelect.d.ts.map +1 -1
  18. package/dist/components/DateRangePicker/showMonthYearSelect.js +2 -0
  19. package/dist/components/Input/index.js +1 -1
  20. package/dist/components/Select/Select.types.d.ts +7 -0
  21. package/dist/components/Select/Select.types.d.ts.map +1 -1
  22. package/dist/components/Select/index.d.ts.map +1 -1
  23. package/dist/components/Select/index.js +44 -26
  24. package/dist/components/TableV36/AgGridHeader.d.ts.map +1 -1
  25. package/dist/components/TableV36/AgGridHeader.js +107 -115
  26. package/dist/mcp-component-registry.json +2 -2
  27. package/dist/node_modules/@impactsmartsuite/impact-icons/dist/index.js +1040 -75
  28. package/dist/stories/chatBotApiMock.d.ts.map +1 -1
  29. package/package.json +1 -1
@@ -28,7 +28,7 @@ function AgGridHeader({
28
28
  enableHeaderTextWrap = true,
29
29
  ...rest
30
30
  }) {
31
- var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _C, _D, _E, _F, _G, _H, _I, _J, _K, _L, _M, _N, _O, _P, _Q, _R, _S, _T, _U, _V, _W, _X, _Y, _Z, __, _$, _aa, _ba, _ca, _da, _ea, _fa, _ga, _ha, _ia, _ja, _ka, _la, _ma, _na, _oa, _pa, _qa, _ra, _sa, _ta, _ua, _va, _wa;
31
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _C, _D, _E, _F, _G, _H, _I, _J, _K, _L, _M, _N, _O, _P, _Q, _R, _S, _T, _U, _V, _W, _X, _Y, _Z, __, _$, _aa, _ba, _ca, _da, _ea, _fa, _ga, _ha, _ia, _ja, _ka, _la, _ma, _na, _oa, _pa, _qa, _ra, _sa, _ta, _ua, _va, _wa, _xa, _ya;
32
32
  if (!rest.column || !rest.api) {
33
33
  return null;
34
34
  }
@@ -77,10 +77,6 @@ function AgGridHeader({
77
77
  const [hasActiveSearch, setHasActiveSearch] = useState(false);
78
78
  const [selectedDate, setSelectedDate] = useState(null);
79
79
  const [showDatePicker, setShowDatePicker] = useState(false);
80
- const [isInputFocused, setIsInputFocused] = useState(false);
81
- const originalSuppressHeaderKeyboardEventRef = useRef(
82
- (_d = (_c = rest.column) == null ? void 0 : _c.colDef) == null ? void 0 : _d.suppressHeaderKeyboardEvent
83
- );
84
80
  const [isOverflowText, setIsOverflowText] = useState(false);
85
81
  const headerTextRef = useRef(null);
86
82
  const containerRef = useRef(null);
@@ -159,10 +155,10 @@ function AgGridHeader({
159
155
  const options = ((_d2 = (_c2 = rest.column) == null ? void 0 : _c2.colDef) == null ? void 0 : _d2.thirdOptionDropdownOptions) || [];
160
156
  setCurrentDropdownOptions(options);
161
157
  }
162
- }, [(_f = (_e = rest.column) == null ? void 0 : _e.colDef) == null ? void 0 : _f.thirdOptionAsDropdown, (_h = (_g = rest.column) == null ? void 0 : _g.colDef) == null ? void 0 : _h.thirdOptionDropdownOptions]);
158
+ }, [(_d = (_c = rest.column) == null ? void 0 : _c.colDef) == null ? void 0 : _d.thirdOptionAsDropdown, (_f = (_e = rest.column) == null ? void 0 : _e.colDef) == null ? void 0 : _f.thirdOptionDropdownOptions]);
163
159
  const [startDate, setStartDate] = useState(null);
164
160
  const [endDate, setEndDate] = useState(null);
165
- const isMultiSelect = (_j = (_i = rest.column) == null ? void 0 : _i.colDef) == null ? void 0 : _j.enableMultiSelect;
161
+ const isMultiSelect = (_h = (_g = rest.column) == null ? void 0 : _g.colDef) == null ? void 0 : _h.enableMultiSelect;
166
162
  const [isDropdownOpen, setIsDropdownOpen] = useState(false);
167
163
  const [selectedDropdownOption, setSelectedDropdownOption] = useState(isMultiSelect ? [] : null);
168
164
  const [currentDropdownOptions, setCurrentDropdownOptions] = useState([]);
@@ -417,20 +413,21 @@ function AgGridHeader({
417
413
  var _a2;
418
414
  const colDef = (_a2 = rest.column) == null ? void 0 : _a2.colDef;
419
415
  if (!colDef) return;
420
- if (isInputFocused) {
421
- if (originalSuppressHeaderKeyboardEventRef.current === void 0) {
422
- originalSuppressHeaderKeyboardEventRef.current = colDef.suppressHeaderKeyboardEvent;
416
+ const original = colDef.suppressHeaderKeyboardEvent;
417
+ const isEditableElement = (el) => !!el && (el.tagName === "INPUT" || el.tagName === "TEXTAREA" || el.tagName === "SELECT" || el.isContentEditable);
418
+ colDef.suppressHeaderKeyboardEvent = (params) => {
419
+ var _a3;
420
+ const eventTarget = (_a3 = params == null ? void 0 : params.event) == null ? void 0 : _a3.target;
421
+ const active = typeof document !== "undefined" ? document.activeElement : null;
422
+ if (isEditableElement(eventTarget) || isEditableElement(active)) {
423
+ return true;
423
424
  }
424
- colDef.suppressHeaderKeyboardEvent = () => true;
425
- } else {
426
- colDef.suppressHeaderKeyboardEvent = originalSuppressHeaderKeyboardEventRef.current;
427
- }
425
+ return typeof original === "function" ? original(params) : !!original;
426
+ };
428
427
  return () => {
429
- if (colDef) {
430
- colDef.suppressHeaderKeyboardEvent = originalSuppressHeaderKeyboardEventRef.current;
431
- }
428
+ colDef.suppressHeaderKeyboardEvent = original;
432
429
  };
433
- }, [isInputFocused, (_k = rest.column) == null ? void 0 : _k.colId]);
430
+ }, [(_i = rest.column) == null ? void 0 : _i.colDef, (_j = rest.column) == null ? void 0 : _j.colId]);
434
431
  useEffect(() => {
435
432
  if (containerRef.current) {
436
433
  setContainerHeight(containerRef.current.clientHeight);
@@ -448,15 +445,15 @@ function AgGridHeader({
448
445
  "div",
449
446
  {
450
447
  ref: containerRef,
451
- className: `custom-ag-header-container ${((_m = (_l = rest.column) == null ? void 0 : _l.colDef) == null ? void 0 : _m.checkboxSelection) || ((_n = rest.column) == null ? void 0 : _n.colId) === "ag-Grid-SelectionColumn" ? "checkbox-selection" : ""} ${((_p = (_o = rest.column) == null ? void 0 : _o.colDef) == null ? void 0 : _p.customHeaderIcons) || !(((_r = (_q = rest.column) == null ? void 0 : _q.colDef) == null ? void 0 : _r.suppressHeaderMenuButton) ?? ((_t = (_s = rest.column) == null ? void 0 : _s.colDef) == null ? void 0 : _t.suppressMenu)) || ((_v = (_u = rest.column) == null ? void 0 : _u.colDef) == null ? void 0 : _v.isSearchable) ? "with-icons" : ""}`,
448
+ className: `custom-ag-header-container ${((_l = (_k = rest.column) == null ? void 0 : _k.colDef) == null ? void 0 : _l.checkboxSelection) || ((_m = rest.column) == null ? void 0 : _m.colId) === "ag-Grid-SelectionColumn" ? "checkbox-selection" : ""} ${((_o = (_n = rest.column) == null ? void 0 : _n.colDef) == null ? void 0 : _o.customHeaderIcons) || !(((_q = (_p = rest.column) == null ? void 0 : _p.colDef) == null ? void 0 : _q.suppressHeaderMenuButton) ?? ((_s = (_r = rest.column) == null ? void 0 : _r.colDef) == null ? void 0 : _s.suppressMenu)) || ((_u = (_t = rest.column) == null ? void 0 : _t.colDef) == null ? void 0 : _u.isSearchable) ? "with-icons" : ""}`,
452
449
  onClick: () => rest.onClick(),
453
450
  children: showDatePicker ? /* @__PURE__ */ jsxs("div", { className: `ia-search-input-field ia-search-input-narrow`, children: [
454
- ((_x = (_w = rest.column) == null ? void 0 : _w.colDef) == null ? void 0 : _x.thirdOptionAsDateRangePicker) ? /* @__PURE__ */ jsx(
451
+ ((_w = (_v = rest.column) == null ? void 0 : _v.colDef) == null ? void 0 : _w.thirdOptionAsDateRangePicker) ? /* @__PURE__ */ jsx(
455
452
  DateRangePicker,
456
453
  {
457
454
  fullWidth: true,
458
455
  withPortal: true,
459
- customIcon: ((_z = (_y = rest.column) == null ? void 0 : _y.colDef) == null ? void 0 : _z.advanceSearchEnabled) && /* @__PURE__ */ jsx(
456
+ customIcon: ((_y = (_x = rest.column) == null ? void 0 : _x.colDef) == null ? void 0 : _y.advanceSearchEnabled) && /* @__PURE__ */ jsx(
460
457
  default_1,
461
458
  {
462
459
  className: "ia-search-input-field-custom-icon",
@@ -473,7 +470,7 @@ function AgGridHeader({
473
470
  }
474
471
  }
475
472
  ),
476
- displayFormat: ((_B = (_A = rest.column) == null ? void 0 : _A.colDef) == null ? void 0 : _B.displayFormat) || "MM-DD-YYYY",
473
+ displayFormat: ((_A = (_z = rest.column) == null ? void 0 : _z.colDef) == null ? void 0 : _A.displayFormat) || "MM-DD-YYYY",
477
474
  endDate,
478
475
  handleDatesChange: (start, end) => {
479
476
  setStartDate(start);
@@ -504,14 +501,16 @@ function AgGridHeader({
504
501
  DatePicker,
505
502
  {
506
503
  fullWidth: true,
504
+ isClearable: true,
507
505
  showMonthYearSelect: true,
508
506
  withPortal: true,
509
- customIcon: ((_D = (_C = rest.column) == null ? void 0 : _C.colDef) == null ? void 0 : _D.advanceSearchEnabled) && /* @__PURE__ */ jsx(
507
+ customIcon: ((_C = (_B = rest.column) == null ? void 0 : _B.colDef) == null ? void 0 : _C.advanceSearchEnabled) && /* @__PURE__ */ jsx(
510
508
  default_1,
511
509
  {
512
510
  className: "ia-search-input-field-custom-icon",
513
- onClick: () => {
511
+ onClick: (e) => {
514
512
  var _a2, _b2, _c2, _d2, _e2, _f2;
513
+ e.stopPropagation();
515
514
  if (rest.onAdvanceSearchClick) {
516
515
  rest.onAdvanceSearchClick(rest.column);
517
516
  return;
@@ -522,12 +521,16 @@ function AgGridHeader({
522
521
  }
523
522
  }
524
523
  ),
525
- displayFormat: ((_F = (_E = rest.column) == null ? void 0 : _E.colDef) == null ? void 0 : _F.displayFormat) || "MM-DD-YYYY",
524
+ displayFormat: ((_E = (_D = rest.column) == null ? void 0 : _D.colDef) == null ? void 0 : _E.displayFormat) || "MM-DD-YYYY",
526
525
  maxDate: /* @__PURE__ */ new Date("2100-12-31"),
527
526
  minDate: /* @__PURE__ */ new Date("2000-01-01"),
528
527
  placeholder: "Select Date",
529
528
  selectedDate,
530
529
  setSelectedDate,
530
+ onClearIconClick: () => {
531
+ setSelectedDate(null);
532
+ handleSearchChange(null);
533
+ },
531
534
  onPrimaryButtonClick: () => {
532
535
  handleSearchChange(selectedDate);
533
536
  setShowDatePicker(false);
@@ -558,9 +561,9 @@ function AgGridHeader({
558
561
  "div",
559
562
  {
560
563
  className: `ia-search-input-field ia-search-input-narrow
561
- ${((_H = (_G = rest.column) == null ? void 0 : _G.colDef) == null ? void 0 : _H.thirdOptionAsDropdown) ? "with-dropdown" : ""}`,
564
+ ${((_G = (_F = rest.column) == null ? void 0 : _F.colDef) == null ? void 0 : _G.thirdOptionAsDropdown) ? "with-dropdown" : ""}`,
562
565
  children: [
563
- ((_J = (_I = rest.column) == null ? void 0 : _I.colDef) == null ? void 0 : _J.thirdOptionAsDropdown) && !((_L = (_K = rest.column) == null ? void 0 : _K.colDef) == null ? void 0 : _L.toShowDuplicateColumnInAdvanceSearch) ? /* @__PURE__ */ jsxs(
566
+ ((_I = (_H = rest.column) == null ? void 0 : _H.colDef) == null ? void 0 : _I.thirdOptionAsDropdown) && !((_K = (_J = rest.column) == null ? void 0 : _J.colDef) == null ? void 0 : _K.toShowDuplicateColumnInAdvanceSearch) ? /* @__PURE__ */ jsx(
564
567
  "div",
565
568
  {
566
569
  id: "ia-select-option-dropdown-container",
@@ -570,94 +573,83 @@ function AgGridHeader({
570
573
  width: "100%",
571
574
  minWidth: 0
572
575
  },
573
- children: [
574
- /* @__PURE__ */ jsx(
575
- Select,
576
- {
577
- currentOptions: currentDropdownOptions,
578
- dropDownPortalClassName: "ag-select-dropdown-portal",
579
- initialOptions: (_N = (_M = rest == null ? void 0 : rest.column) == null ? void 0 : _M.colDef) == null ? void 0 : _N.thirdOptionDropdownOptions,
580
- isClearable: true,
581
- isMulti: (_P = (_O = rest == null ? void 0 : rest.column) == null ? void 0 : _O.colDef) == null ? void 0 : _P.enableMultiSelect,
582
- isOpen: isDropdownOpen,
583
- isSelectAll,
584
- isWithSearch: (_R = (_Q = rest == null ? void 0 : rest.column) == null ? void 0 : _Q.colDef) == null ? void 0 : _R.enableSearch,
585
- placeholder: "Select option",
586
- selectedOptions: selectedDropdownOption,
587
- setCurrentOptions: setCurrentDropdownOptions,
588
- setIsOpen: setIsDropdownOpen,
589
- setIsSelectAll,
590
- setSelectedOptions: (option) => {
591
- setSelectedDropdownOption(option);
592
- if (!isMultiSelect) {
593
- if (option) {
594
- const value = typeof option === "object" ? option.value : option;
595
- setHasActiveSearch(true);
596
- handleSearchChange(value);
597
- } else {
598
- setHasActiveSearch(false);
599
- handleSearchChange(null);
600
- }
576
+ children: /* @__PURE__ */ jsx(
577
+ Select,
578
+ {
579
+ currentOptions: currentDropdownOptions,
580
+ dropDownPortalClassName: "ag-select-dropdown-portal",
581
+ initialOptions: (_M = (_L = rest == null ? void 0 : rest.column) == null ? void 0 : _L.colDef) == null ? void 0 : _M.thirdOptionDropdownOptions,
582
+ isClearable: true,
583
+ isMulti: (_O = (_N = rest == null ? void 0 : rest.column) == null ? void 0 : _N.colDef) == null ? void 0 : _O.enableMultiSelect,
584
+ isOpen: isDropdownOpen,
585
+ isSelectAll,
586
+ isWithSearch: (_Q = (_P = rest == null ? void 0 : rest.column) == null ? void 0 : _P.colDef) == null ? void 0 : _Q.enableSearch,
587
+ placeholder: "Select option",
588
+ selectedOptions: selectedDropdownOption,
589
+ setCurrentOptions: setCurrentDropdownOptions,
590
+ setIsOpen: setIsDropdownOpen,
591
+ setIsSelectAll,
592
+ setSelectedOptions: (option) => {
593
+ setSelectedDropdownOption(option);
594
+ if (!isMultiSelect) {
595
+ if (option) {
596
+ const value = typeof option === "object" ? option.value : option;
597
+ setHasActiveSearch(true);
598
+ handleSearchChange(value);
599
+ } else {
600
+ setHasActiveSearch(false);
601
+ handleSearchChange(null);
601
602
  }
602
- },
603
- toggleSelectAll: (_T = (_S = rest == null ? void 0 : rest.column) == null ? void 0 : _S.colDef) == null ? void 0 : _T.enableMultiSelect,
604
- onClearAll: () => {
605
- setSelectedDropdownOption(isMultiSelect ? [] : null);
606
- setHasActiveSearch(false);
607
- handleSearchChange(null);
608
- setIsSelectAll(false);
609
- },
610
- onDropdownClose: () => {
611
- if (isMultiSelect) {
612
- if ((selectedDropdownOption == null ? void 0 : selectedDropdownOption.length) > 0) {
613
- setHasActiveSearch(true);
614
- handleSearchChange(selectedDropdownOption);
615
- } else {
616
- setHasActiveSearch(false);
617
- handleSearchChange(null);
618
- }
603
+ }
604
+ },
605
+ toggleSelectAll: (_S = (_R = rest == null ? void 0 : rest.column) == null ? void 0 : _R.colDef) == null ? void 0 : _S.enableMultiSelect,
606
+ onClearAll: () => {
607
+ setSelectedDropdownOption(isMultiSelect ? [] : null);
608
+ setHasActiveSearch(false);
609
+ handleSearchChange(null);
610
+ setIsSelectAll(false);
611
+ },
612
+ onDropdownClose: () => {
613
+ if (isMultiSelect) {
614
+ if ((selectedDropdownOption == null ? void 0 : selectedDropdownOption.length) > 0) {
615
+ setHasActiveSearch(true);
616
+ handleSearchChange(selectedDropdownOption);
617
+ } else {
618
+ setHasActiveSearch(false);
619
+ handleSearchChange(null);
619
620
  }
620
- },
621
- withPortal: true,
622
- minWidth: "100%",
623
- ...(_V = (_U = rest.column) == null ? void 0 : _U.colDef) == null ? void 0 : _V.selectProps
624
- }
625
- ),
626
- ((_X = (_W = rest.column) == null ? void 0 : _W.colDef) == null ? void 0 : _X.advanceSearchEnabled) && /* @__PURE__ */ jsx(
627
- default_1,
628
- {
629
- className: "ia-search-input-field-custom-icon",
630
- id: "toggle-advance-search-icon",
631
- style: {
632
- position: "absolute",
633
- right: (Array.isArray(selectedDropdownOption) ? selectedDropdownOption.length > 0 : !!selectedDropdownOption) ? "44px" : "28px",
634
- top: "50%",
635
- transform: "translateY(-50%)",
636
- cursor: "pointer",
637
- zIndex: 1,
638
- pointerEvents: "auto"
639
- },
640
- onClick: (e) => {
641
- var _a2, _b2, _c2, _d2, _e2, _f2;
642
- e.stopPropagation();
643
- if (rest.onAdvanceSearchClick) {
644
- rest.onAdvanceSearchClick(rest.column);
645
- return;
621
+ }
622
+ },
623
+ withPortal: true,
624
+ minWidth: "100%",
625
+ ...(_U = (_T = rest.column) == null ? void 0 : _T.colDef) == null ? void 0 : _U.selectProps,
626
+ customIcon: ((_W = (_V = rest.column) == null ? void 0 : _V.colDef) == null ? void 0 : _W.advanceSearchEnabled) ? /* @__PURE__ */ jsx(
627
+ default_1,
628
+ {
629
+ className: "ia-search-input-field-custom-icon",
630
+ id: "toggle-advance-search-icon",
631
+ onClick: (e) => {
632
+ var _a2, _b2, _c2, _d2, _e2, _f2;
633
+ e.stopPropagation();
634
+ if (rest.onAdvanceSearchClick) {
635
+ rest.onAdvanceSearchClick(rest.column);
636
+ return;
637
+ }
638
+ rest.toggleAdvanceSearch(
639
+ ((_b2 = (_a2 = rest.column) == null ? void 0 : _a2.colDef) == null ? void 0 : _b2.toShowDuplicateColumnInAdvanceSearch) ? ((_d2 = (_c2 = rest.column) == null ? void 0 : _c2.colDef) == null ? void 0 : _d2.columnFieldsInAdvanceSearch) ? (_f2 = (_e2 = rest.column) == null ? void 0 : _e2.colDef) == null ? void 0 : _f2.columnFieldsInAdvanceSearch : rest.column.colId : rest.column.colId
640
+ );
646
641
  }
647
- rest.toggleAdvanceSearch(
648
- ((_b2 = (_a2 = rest.column) == null ? void 0 : _a2.colDef) == null ? void 0 : _b2.toShowDuplicateColumnInAdvanceSearch) ? ((_d2 = (_c2 = rest.column) == null ? void 0 : _c2.colDef) == null ? void 0 : _d2.columnFieldsInAdvanceSearch) ? (_f2 = (_e2 = rest.column) == null ? void 0 : _e2.colDef) == null ? void 0 : _f2.columnFieldsInAdvanceSearch : rest.column.colId : rest.column.colId
649
- );
650
642
  }
651
- }
652
- )
653
- ]
643
+ ) : (_Z = (_Y = (_X = rest.column) == null ? void 0 : _X.colDef) == null ? void 0 : _Y.selectProps) == null ? void 0 : _Z.customIcon
644
+ }
645
+ )
654
646
  }
655
647
  ) : /* @__PURE__ */ jsx(
656
648
  Input,
657
649
  {
658
650
  ref: inputRef,
659
- iconClickOnDisabled: (_Z = (_Y = rest.column) == null ? void 0 : _Y.colDef) == null ? void 0 : _Z.toShowDuplicateColumnInAdvanceSearch,
660
- isDisabled: (_$ = (__ = rest.column) == null ? void 0 : __.colDef) == null ? void 0 : _$.toShowDuplicateColumnInAdvanceSearch,
651
+ iconClickOnDisabled: (_$ = (__ = rest.column) == null ? void 0 : __.colDef) == null ? void 0 : _$.toShowDuplicateColumnInAdvanceSearch,
652
+ isDisabled: (_ba = (_aa = rest.column) == null ? void 0 : _aa.colDef) == null ? void 0 : _ba.toShowDuplicateColumnInAdvanceSearch,
661
653
  placeholder: "Search",
662
654
  rightIcon: /* @__PURE__ */ jsxs(Fragment, { children: [
663
655
  searchText.toString().length > 0 && /* @__PURE__ */ jsx(
@@ -671,7 +663,7 @@ function AgGridHeader({
671
663
  }
672
664
  }
673
665
  ),
674
- ((_ba = (_aa = rest.column) == null ? void 0 : _aa.colDef) == null ? void 0 : _ba.advanceSearchEnabled) && /* @__PURE__ */ jsx(
666
+ ((_da = (_ca = rest.column) == null ? void 0 : _ca.colDef) == null ? void 0 : _da.advanceSearchEnabled) && /* @__PURE__ */ jsx(
675
667
  default_1,
676
668
  {
677
669
  onClick: () => {
@@ -716,9 +708,9 @@ function AgGridHeader({
716
708
  /* @__PURE__ */ jsxs(
717
709
  "div",
718
710
  {
719
- className: `ag-header-cell-text ${((_da = (_ca = rest.column) == null ? void 0 : _ca.colDef) == null ? void 0 : _da.sortable) ? "sortable" : ""} ${enableHeaderTextWrap ? "header-wrap-enabled" : ""}`,
711
+ className: `ag-header-cell-text ${((_fa = (_ea = rest.column) == null ? void 0 : _ea.colDef) == null ? void 0 : _fa.sortable) ? "sortable" : ""} ${enableHeaderTextWrap ? "header-wrap-enabled" : ""}`,
720
712
  children: [
721
- ((_fa = (_ea = rest.column) == null ? void 0 : _ea.colDef) == null ? void 0 : _fa.field) === "Selection" || ((_ha = (_ga = rest.column) == null ? void 0 : _ga.colDef) == null ? void 0 : _ha.checkboxSelection) || ((_ia = rest.column) == null ? void 0 : _ia.colId) === "ag-Grid-SelectionColumn" ? children : /* @__PURE__ */ jsx(
713
+ ((_ha = (_ga = rest.column) == null ? void 0 : _ga.colDef) == null ? void 0 : _ha.field) === "Selection" || ((_ja = (_ia = rest.column) == null ? void 0 : _ia.colDef) == null ? void 0 : _ja.checkboxSelection) || ((_ka = rest.column) == null ? void 0 : _ka.colId) === "ag-Grid-SelectionColumn" ? children : /* @__PURE__ */ jsx(
722
714
  "div",
723
715
  {
724
716
  ref: headerTextRef,
@@ -736,13 +728,13 @@ function AgGridHeader({
736
728
  orientation: "top",
737
729
  title: isOverflowText && children !== "Selection" ? children : "",
738
730
  variant: "tertiary",
739
- children: typeof children === "string" && ((_ja = rest.context) == null ? void 0 : _ja.columnSearchText) ? /* @__PURE__ */ jsx(HighlightedText, { searchText: rest.context.columnSearchText, text: children }) : children
731
+ children: typeof children === "string" && ((_la = rest.context) == null ? void 0 : _la.columnSearchText) ? /* @__PURE__ */ jsx(HighlightedText, { searchText: rest.context.columnSearchText, text: children }) : children
740
732
  }
741
733
  )
742
734
  }
743
735
  ),
744
- (_la = (_ka = rest.column) == null ? void 0 : _ka.colDef) == null ? void 0 : _la.headerIcons,
745
- ((_na = (_ma = rest.column) == null ? void 0 : _ma.colDef) == null ? void 0 : _na.sortable) && /* @__PURE__ */ jsx(
736
+ (_na = (_ma = rest.column) == null ? void 0 : _ma.colDef) == null ? void 0 : _na.headerIcons,
737
+ ((_pa = (_oa = rest.column) == null ? void 0 : _oa.colDef) == null ? void 0 : _pa.sortable) && /* @__PURE__ */ jsx(
746
738
  "img",
747
739
  {
748
740
  alt: "TableSortIcon",
@@ -759,10 +751,10 @@ function AgGridHeader({
759
751
  {
760
752
  className: `ia-icon-div ${hasActiveSearch ? "has-active-search" : ""} ${menuVisible ? "menu-visible" : ""}`,
761
753
  children: [
762
- (_qa = (_pa = (_oa = rest.column) == null ? void 0 : _oa.colDef) == null ? void 0 : _pa.customHeaderIcons) == null ? void 0 : _qa.map((icon) => {
754
+ (_sa = (_ra = (_qa = rest.column) == null ? void 0 : _qa.colDef) == null ? void 0 : _ra.customHeaderIcons) == null ? void 0 : _sa.map((icon) => {
763
755
  return icon;
764
756
  }),
765
- ((_sa = (_ra = rest.column) == null ? void 0 : _ra.colDef) == null ? void 0 : _sa.isSearchable) && (hasActiveSearch || !showInputField) && /* @__PURE__ */ jsx(Badge, { invisible: !hasActiveSearch, variant: "dot", children: /* @__PURE__ */ jsx(
757
+ ((_ua = (_ta = rest.column) == null ? void 0 : _ta.colDef) == null ? void 0 : _ua.isSearchable) && (hasActiveSearch || !showInputField) && /* @__PURE__ */ jsx(Badge, { invisible: !hasActiveSearch, variant: "dot", children: /* @__PURE__ */ jsx(
766
758
  default_1$2,
767
759
  {
768
760
  fontSize: "small",
@@ -783,7 +775,7 @@ function AgGridHeader({
783
775
  } : handleSearch
784
776
  }
785
777
  ) }),
786
- !(((_ua = (_ta = rest.column) == null ? void 0 : _ta.colDef) == null ? void 0 : _ua.suppressHeaderMenuButton) ?? ((_wa = (_va = rest.column) == null ? void 0 : _va.colDef) == null ? void 0 : _wa.suppressMenu)) && /* @__PURE__ */ jsx("div", { className: "custom-ag-header-icons", children: /* @__PURE__ */ jsx(
778
+ !(((_wa = (_va = rest.column) == null ? void 0 : _va.colDef) == null ? void 0 : _wa.suppressHeaderMenuButton) ?? ((_ya = (_xa = rest.column) == null ? void 0 : _xa.colDef) == null ? void 0 : _ya.suppressMenu)) && /* @__PURE__ */ jsx("div", { className: "custom-ag-header-icons", children: /* @__PURE__ */ jsx(
787
779
  "button",
788
780
  {
789
781
  ref: menuRef,
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 1,
3
- "generatedAt": "2026-11-17T10:08:50.446Z",
3
+ "generatedAt": "2026-11-27T06:38:48.084Z",
4
4
  "components": {
5
5
  "Menu": {
6
6
  "title": "Components/Menu",
@@ -1339,7 +1339,7 @@
1339
1339
  "seriesData": "[",
1340
1340
  "name": "Corn",
1341
1341
  "data": "Array.from(",
1342
- "length": 51
1342
+ "length": 15
1343
1343
  },
1344
1344
  "NegativeColumn": {
1345
1345
  "graphTitle": "Column with Negative Values",