@natoora-libs/core 0.2.12-dev-doug-3 → 0.2.12-dev-po

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.
@@ -1,8 +1,8 @@
1
1
  import * as React from 'react';
2
2
  import React__default, { MouseEvent, ReactNode, FC, ReactElement, ComponentType, ChangeEvent, ComponentProps, SVGProps } from 'react';
3
3
  import * as react_jsx_runtime from 'react/jsx-runtime';
4
- import { H as HeadCell, a as HeaderFilters, b as HeaderFilterOptions, c as HeaderFilterObject, T as TableDesktopProps, O as Order, R as RowId } from '../TableDesktop-BrpwT-lM.cjs';
5
- export { B as BulkChanges, j as BulkChangesDialogProps, E as EditableCellType, k as ExportCsvDialogProps, i as TableColumnConfigurationMenuProps, d as TableDesktop, e as TableDesktopFooter, f as TableDesktopFooterProps, g as TableDesktopToolbar, h as TableDesktopToolbarProps, U as UpdateEditableCellParams } from '../TableDesktop-BrpwT-lM.cjs';
4
+ import { H as HeadCell, a as HeaderFilters, b as HeaderFilterOptions, c as HeaderFilterObject, T as TableDesktopProps, O as Order, R as RowId } from '../TableDesktop-Z0KE59L4.cjs';
5
+ export { B as BulkChanges, j as BulkChangesDialogProps, E as EditableCellType, k as ExportCsvDialogProps, i as TableColumnConfigurationMenuProps, d as TableDesktop, e as TableDesktopFooter, f as TableDesktopFooterProps, g as TableDesktopToolbar, h as TableDesktopToolbarProps, U as UpdateEditableCellParams } from '../TableDesktop-Z0KE59L4.cjs';
6
6
  import { Control, ControllerRenderProps, ControllerFieldState, UseFormTrigger, UseFormReturn, FieldValues } from 'react-hook-form';
7
7
  import { UseMutateAsyncFunction } from 'react-query';
8
8
  import { SxProps, Theme, SelectProps, MenuProps, Typography } from '@mui/material';
@@ -30,8 +30,6 @@ interface AlertDialogProps {
30
30
  rejectCopy?: string;
31
31
  acceptCopy?: string;
32
32
  disabledContentPadding?: boolean;
33
- disableEnforceFocus?: boolean;
34
- disableRestoreFocus?: boolean;
35
33
  }
36
34
  declare const AlertDialog: React.FC<AlertDialogProps>;
37
35
 
@@ -196,7 +194,7 @@ interface IRoundButton {
196
194
  className?: string;
197
195
  disabled?: boolean;
198
196
  focused?: boolean;
199
- icon?: 'add' | 'apps' | 'arrowBack' | 'arrowForward' | 'avocado' | 'backspaceOutlined' | 'banana' | 'block' | 'bulk' | 'callSplit' | 'chevronRight' | 'chevronUp' | 'chevronDown' | 'close' | 'delete' | 'done' | 'edit' | 'email' | 'grape' | 'groupAdd' | 'history' | 'menu' | 'notes' | 'refresh' | 'remove' | 'search' | 'send' | 'strawberry' | 'thumbDown' | 'threeDots' | 'thumbUp' | 'undo' | 'play' | 'snail' | 'bus' | 'spoon' | 'fork' | 'car' | 'knife' | 'bicycle' | 'heart' | 'airplane' | 'threeDots';
197
+ icon?: 'add' | 'apps' | 'arrowBack' | 'arrowForward' | 'avocado' | 'backspaceOutlined' | 'banana' | 'block' | 'bulk' | 'callSplit' | 'chevronRight' | 'chevronUp' | 'chevronDown' | 'close' | 'delete' | 'done' | 'edit' | 'email' | 'grape' | 'groupAdd' | 'history' | 'menu' | 'notes' | 'refresh' | 'remove' | 'search' | 'send' | 'strawberry' | 'thumbDown' | 'threeDots' | 'thumbUp' | 'undo' | 'play' | 'snail' | 'bus' | 'spoon' | 'fork' | 'car' | 'knife' | 'bicycle' | 'heart' | 'airplane' | 'threeDots' | 'swapHoriz';
200
198
  iconColor?: 'inherit' | 'disabled' | 'primary' | 'secondary' | 'action' | 'error';
201
199
  isContrast?: boolean;
202
200
  isTableButton?: boolean;
@@ -831,7 +829,7 @@ interface SearchWithFiltersForTableProps {
831
829
  }
832
830
  declare const _default$5: React.MemoExoticComponent<(props: SearchWithFiltersForTableProps) => react_jsx_runtime.JSX.Element>;
833
831
 
834
- interface SectionNameProps {
832
+ interface ISectionName {
835
833
  name: string;
836
834
  tooltipDescription?: string;
837
835
  sectionId?: string;
@@ -841,7 +839,7 @@ interface SectionNameProps {
841
839
  buttonDisabled?: boolean;
842
840
  openHistoryLog?: () => void;
843
841
  }
844
- declare const SectionName: ({ name, tooltipDescription, sectionId, handleButtonClick, buttonText, buttonType, buttonDisabled, openHistoryLog, }: SectionNameProps) => react_jsx_runtime.JSX.Element;
842
+ declare const SectionName: ({ name, tooltipDescription, sectionId, handleButtonClick, buttonText, buttonType, buttonDisabled, openHistoryLog, }: ISectionName) => react_jsx_runtime.JSX.Element;
845
843
 
846
844
  type Option = {
847
845
  value?: string | number;
@@ -1074,4 +1072,4 @@ declare const SvgIconCompare: (props: SVGProps<SVGSVGElement>) => react_jsx_runt
1074
1072
 
1075
1073
  declare const SvgIconChart: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
1076
1074
 
1077
- export { ActiveFiltersIconButton, AlertDialog, AlertDialogFullScreen, AppLabel, AppliedTableFiltersDisplay, AutocompleteFilterMenuContent, BackHeader, BottomBar, _default$k as BoxButton, CheckboxFilterMenuContent, ClearFiltersConfirmationDialog, CompanyLogo, ConfirmationDialog, ControlledCheckbox, ControlledNumberInput, ControlledNumericField, ControlledSelectWithArray, ControlledSelectWithObject, ControlledValidTextInput, DataGrid, Date, _default$c as DeleteSubstitutionDialogContent, _default$b as DeleteUserDialogContent, DynamicOverflowTooltip, _default$j as ExtendedButton, FileCard, _default$i as FilledButton, _default$h as FilledButtonLg, _default$a as FilledLabel, FilterGroupSelector, FilterOptionsCheckboxes, FilterSimpleSelector, _default$9 as FixedFooter, HeadCell, Header, HeaderFilterObject, HeaderFilterOptions, HeaderFilters, SvgIconChart as IconChart, SvgIconCompare as IconCompare, _default$g as ImageButton, LabeledValueList, VirtualizedList as List, Loading, LocationsSectionInfo, Notes, Numpad, _default$8 as NumpadInput, NumpadPlus, type Option, Order, _default$f as OutlinedButton, _default$e as OutlinedButtonLg, PaginationForTable as Pagination, PhoneInput, _default$d as Pin, ActionButton as PinnedApp, PlusMinusInput, ProductBust, ProductImage, RenderAvatar, RenderContentList, RoundButton, RowId, RowProductCard, ScrollableDialog, SearchAndFilterHeader, _default$7 as SearchAndFilterHeaderForTable, SearchFieldDebounced, SearchHeader, _default$6 as SearchWithFilters, _default$5 as SearchWithFiltersForTable, SectionName, SmartMultipleSelect, SmartSelect, SmartTableHeader, SmartTableHeaderFilterMenu, SquareButton, _default$4 as SquareLabel, _default$3 as Switch, Table, TableDesktopCell, TableDesktopEditableField, TableEmptyResult, _default$2 as TableHeader, TableLoading, TextDivider, _default$1 as TheToolbar, ThemedDateRangePicker, ToastMessage, TwoButtonDialog, UploadButton, _default as UserBust, icons };
1075
+ export { ActiveFiltersIconButton, AlertDialog, AlertDialogFullScreen, AppLabel, AppliedTableFiltersDisplay, AutocompleteFilterMenuContent, BackHeader, BottomBar, _default$k as BoxButton, CheckboxFilterMenuContent, ClearFiltersConfirmationDialog, CompanyLogo, ConfirmationDialog, ControlledCheckbox, ControlledNumberInput, ControlledNumericField, ControlledSelectWithArray, ControlledSelectWithObject, ControlledValidTextInput, DataGrid, Date, _default$c as DeleteSubstitutionDialogContent, _default$b as DeleteUserDialogContent, DynamicOverflowTooltip, _default$j as ExtendedButton, FileCard, _default$i as FilledButton, _default$h as FilledButtonLg, _default$a as FilledLabel, FilterGroupSelector, FilterOptionsCheckboxes, FilterSimpleSelector, _default$9 as FixedFooter, HeadCell, Header, HeaderFilterObject, HeaderFilterOptions, HeaderFilters, SvgIconChart as IconChart, SvgIconCompare as IconCompare, _default$g as ImageButton, LabeledValueList, VirtualizedList as List, Loading, LocationsSectionInfo, Notes, Numpad, _default$8 as NumpadInput, NumpadPlus, Order, _default$f as OutlinedButton, _default$e as OutlinedButtonLg, PaginationForTable as Pagination, PhoneInput, _default$d as Pin, ActionButton as PinnedApp, PlusMinusInput, ProductBust, ProductImage, RenderAvatar, RenderContentList, RoundButton, RowId, RowProductCard, ScrollableDialog, SearchAndFilterHeader, _default$7 as SearchAndFilterHeaderForTable, SearchFieldDebounced, SearchHeader, _default$6 as SearchWithFilters, _default$5 as SearchWithFiltersForTable, SectionName, SmartMultipleSelect, SmartSelect, SmartTableHeader, SmartTableHeaderFilterMenu, SquareButton, _default$4 as SquareLabel, _default$3 as Switch, Table, TableDesktopCell, TableDesktopEditableField, TableEmptyResult, _default$2 as TableHeader, TableLoading, TextDivider, _default$1 as TheToolbar, ThemedDateRangePicker, ToastMessage, TwoButtonDialog, UploadButton, _default as UserBust, icons };
@@ -1,8 +1,8 @@
1
1
  import * as React from 'react';
2
2
  import React__default, { MouseEvent, ReactNode, FC, ReactElement, ComponentType, ChangeEvent, ComponentProps, SVGProps } from 'react';
3
3
  import * as react_jsx_runtime from 'react/jsx-runtime';
4
- import { H as HeadCell, a as HeaderFilters, b as HeaderFilterOptions, c as HeaderFilterObject, T as TableDesktopProps, O as Order, R as RowId } from '../TableDesktop-BrpwT-lM.js';
5
- export { B as BulkChanges, j as BulkChangesDialogProps, E as EditableCellType, k as ExportCsvDialogProps, i as TableColumnConfigurationMenuProps, d as TableDesktop, e as TableDesktopFooter, f as TableDesktopFooterProps, g as TableDesktopToolbar, h as TableDesktopToolbarProps, U as UpdateEditableCellParams } from '../TableDesktop-BrpwT-lM.js';
4
+ import { H as HeadCell, a as HeaderFilters, b as HeaderFilterOptions, c as HeaderFilterObject, T as TableDesktopProps, O as Order, R as RowId } from '../TableDesktop-Z0KE59L4.js';
5
+ export { B as BulkChanges, j as BulkChangesDialogProps, E as EditableCellType, k as ExportCsvDialogProps, i as TableColumnConfigurationMenuProps, d as TableDesktop, e as TableDesktopFooter, f as TableDesktopFooterProps, g as TableDesktopToolbar, h as TableDesktopToolbarProps, U as UpdateEditableCellParams } from '../TableDesktop-Z0KE59L4.js';
6
6
  import { Control, ControllerRenderProps, ControllerFieldState, UseFormTrigger, UseFormReturn, FieldValues } from 'react-hook-form';
7
7
  import { UseMutateAsyncFunction } from 'react-query';
8
8
  import { SxProps, Theme, SelectProps, MenuProps, Typography } from '@mui/material';
@@ -30,8 +30,6 @@ interface AlertDialogProps {
30
30
  rejectCopy?: string;
31
31
  acceptCopy?: string;
32
32
  disabledContentPadding?: boolean;
33
- disableEnforceFocus?: boolean;
34
- disableRestoreFocus?: boolean;
35
33
  }
36
34
  declare const AlertDialog: React.FC<AlertDialogProps>;
37
35
 
@@ -196,7 +194,7 @@ interface IRoundButton {
196
194
  className?: string;
197
195
  disabled?: boolean;
198
196
  focused?: boolean;
199
- icon?: 'add' | 'apps' | 'arrowBack' | 'arrowForward' | 'avocado' | 'backspaceOutlined' | 'banana' | 'block' | 'bulk' | 'callSplit' | 'chevronRight' | 'chevronUp' | 'chevronDown' | 'close' | 'delete' | 'done' | 'edit' | 'email' | 'grape' | 'groupAdd' | 'history' | 'menu' | 'notes' | 'refresh' | 'remove' | 'search' | 'send' | 'strawberry' | 'thumbDown' | 'threeDots' | 'thumbUp' | 'undo' | 'play' | 'snail' | 'bus' | 'spoon' | 'fork' | 'car' | 'knife' | 'bicycle' | 'heart' | 'airplane' | 'threeDots';
197
+ icon?: 'add' | 'apps' | 'arrowBack' | 'arrowForward' | 'avocado' | 'backspaceOutlined' | 'banana' | 'block' | 'bulk' | 'callSplit' | 'chevronRight' | 'chevronUp' | 'chevronDown' | 'close' | 'delete' | 'done' | 'edit' | 'email' | 'grape' | 'groupAdd' | 'history' | 'menu' | 'notes' | 'refresh' | 'remove' | 'search' | 'send' | 'strawberry' | 'thumbDown' | 'threeDots' | 'thumbUp' | 'undo' | 'play' | 'snail' | 'bus' | 'spoon' | 'fork' | 'car' | 'knife' | 'bicycle' | 'heart' | 'airplane' | 'threeDots' | 'swapHoriz';
200
198
  iconColor?: 'inherit' | 'disabled' | 'primary' | 'secondary' | 'action' | 'error';
201
199
  isContrast?: boolean;
202
200
  isTableButton?: boolean;
@@ -831,7 +829,7 @@ interface SearchWithFiltersForTableProps {
831
829
  }
832
830
  declare const _default$5: React.MemoExoticComponent<(props: SearchWithFiltersForTableProps) => react_jsx_runtime.JSX.Element>;
833
831
 
834
- interface SectionNameProps {
832
+ interface ISectionName {
835
833
  name: string;
836
834
  tooltipDescription?: string;
837
835
  sectionId?: string;
@@ -841,7 +839,7 @@ interface SectionNameProps {
841
839
  buttonDisabled?: boolean;
842
840
  openHistoryLog?: () => void;
843
841
  }
844
- declare const SectionName: ({ name, tooltipDescription, sectionId, handleButtonClick, buttonText, buttonType, buttonDisabled, openHistoryLog, }: SectionNameProps) => react_jsx_runtime.JSX.Element;
842
+ declare const SectionName: ({ name, tooltipDescription, sectionId, handleButtonClick, buttonText, buttonType, buttonDisabled, openHistoryLog, }: ISectionName) => react_jsx_runtime.JSX.Element;
845
843
 
846
844
  type Option = {
847
845
  value?: string | number;
@@ -1074,4 +1072,4 @@ declare const SvgIconCompare: (props: SVGProps<SVGSVGElement>) => react_jsx_runt
1074
1072
 
1075
1073
  declare const SvgIconChart: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
1076
1074
 
1077
- export { ActiveFiltersIconButton, AlertDialog, AlertDialogFullScreen, AppLabel, AppliedTableFiltersDisplay, AutocompleteFilterMenuContent, BackHeader, BottomBar, _default$k as BoxButton, CheckboxFilterMenuContent, ClearFiltersConfirmationDialog, CompanyLogo, ConfirmationDialog, ControlledCheckbox, ControlledNumberInput, ControlledNumericField, ControlledSelectWithArray, ControlledSelectWithObject, ControlledValidTextInput, DataGrid, Date, _default$c as DeleteSubstitutionDialogContent, _default$b as DeleteUserDialogContent, DynamicOverflowTooltip, _default$j as ExtendedButton, FileCard, _default$i as FilledButton, _default$h as FilledButtonLg, _default$a as FilledLabel, FilterGroupSelector, FilterOptionsCheckboxes, FilterSimpleSelector, _default$9 as FixedFooter, HeadCell, Header, HeaderFilterObject, HeaderFilterOptions, HeaderFilters, SvgIconChart as IconChart, SvgIconCompare as IconCompare, _default$g as ImageButton, LabeledValueList, VirtualizedList as List, Loading, LocationsSectionInfo, Notes, Numpad, _default$8 as NumpadInput, NumpadPlus, type Option, Order, _default$f as OutlinedButton, _default$e as OutlinedButtonLg, PaginationForTable as Pagination, PhoneInput, _default$d as Pin, ActionButton as PinnedApp, PlusMinusInput, ProductBust, ProductImage, RenderAvatar, RenderContentList, RoundButton, RowId, RowProductCard, ScrollableDialog, SearchAndFilterHeader, _default$7 as SearchAndFilterHeaderForTable, SearchFieldDebounced, SearchHeader, _default$6 as SearchWithFilters, _default$5 as SearchWithFiltersForTable, SectionName, SmartMultipleSelect, SmartSelect, SmartTableHeader, SmartTableHeaderFilterMenu, SquareButton, _default$4 as SquareLabel, _default$3 as Switch, Table, TableDesktopCell, TableDesktopEditableField, TableEmptyResult, _default$2 as TableHeader, TableLoading, TextDivider, _default$1 as TheToolbar, ThemedDateRangePicker, ToastMessage, TwoButtonDialog, UploadButton, _default as UserBust, icons };
1075
+ export { ActiveFiltersIconButton, AlertDialog, AlertDialogFullScreen, AppLabel, AppliedTableFiltersDisplay, AutocompleteFilterMenuContent, BackHeader, BottomBar, _default$k as BoxButton, CheckboxFilterMenuContent, ClearFiltersConfirmationDialog, CompanyLogo, ConfirmationDialog, ControlledCheckbox, ControlledNumberInput, ControlledNumericField, ControlledSelectWithArray, ControlledSelectWithObject, ControlledValidTextInput, DataGrid, Date, _default$c as DeleteSubstitutionDialogContent, _default$b as DeleteUserDialogContent, DynamicOverflowTooltip, _default$j as ExtendedButton, FileCard, _default$i as FilledButton, _default$h as FilledButtonLg, _default$a as FilledLabel, FilterGroupSelector, FilterOptionsCheckboxes, FilterSimpleSelector, _default$9 as FixedFooter, HeadCell, Header, HeaderFilterObject, HeaderFilterOptions, HeaderFilters, SvgIconChart as IconChart, SvgIconCompare as IconCompare, _default$g as ImageButton, LabeledValueList, VirtualizedList as List, Loading, LocationsSectionInfo, Notes, Numpad, _default$8 as NumpadInput, NumpadPlus, Order, _default$f as OutlinedButton, _default$e as OutlinedButtonLg, PaginationForTable as Pagination, PhoneInput, _default$d as Pin, ActionButton as PinnedApp, PlusMinusInput, ProductBust, ProductImage, RenderAvatar, RenderContentList, RoundButton, RowId, RowProductCard, ScrollableDialog, SearchAndFilterHeader, _default$7 as SearchAndFilterHeaderForTable, SearchFieldDebounced, SearchHeader, _default$6 as SearchWithFilters, _default$5 as SearchWithFiltersForTable, SectionName, SmartMultipleSelect, SmartSelect, SmartTableHeader, SmartTableHeaderFilterMenu, SquareButton, _default$4 as SquareLabel, _default$3 as Switch, Table, TableDesktopCell, TableDesktopEditableField, TableEmptyResult, _default$2 as TableHeader, TableLoading, TextDivider, _default$1 as TheToolbar, ThemedDateRangePicker, ToastMessage, TwoButtonDialog, UploadButton, _default as UserBust, icons };
@@ -369,9 +369,7 @@ var AlertDialog = ({
369
369
  rejectCopy,
370
370
  acceptCopy,
371
371
  content,
372
- disabledContentPadding,
373
- disableEnforceFocus,
374
- disableRestoreFocus
372
+ disabledContentPadding
375
373
  }) => {
376
374
  const { classes } = useStyles();
377
375
  return /* @__PURE__ */ jsx2(
@@ -382,8 +380,6 @@ var AlertDialog = ({
382
380
  maxWidth,
383
381
  fullScreen,
384
382
  fullWidth,
385
- disableEnforceFocus,
386
- disableRestoreFocus,
387
383
  children: /* @__PURE__ */ jsxs2(Box, { children: [
388
384
  /* @__PURE__ */ jsxs2(Box, { className: classes.topSection, children: [
389
385
  alertTitle ? /* @__PURE__ */ jsx2(Typography2, { variant: "h5", className: classes.title, children: alertTitle }) : null,
@@ -1898,7 +1894,8 @@ import {
1898
1894
  Send,
1899
1895
  ThumbDown,
1900
1896
  ThumbUp,
1901
- Undo
1897
+ Undo,
1898
+ SwapHoriz
1902
1899
  } from "@mui/icons-material";
1903
1900
  import { Fab, Tooltip as Tooltip5 } from "@mui/material";
1904
1901
  import { makeStyles as makeStyles11 } from "tss-react/mui";
@@ -3288,7 +3285,8 @@ var RoundButton = ({
3288
3285
  knife: /* @__PURE__ */ jsx70(IconKnife_default, {}),
3289
3286
  bicycle: /* @__PURE__ */ jsx70(IconBicycle_default, {}),
3290
3287
  heart: /* @__PURE__ */ jsx70(IconHeart_default, {}),
3291
- airplane: /* @__PURE__ */ jsx70(IconAirplane_default, {})
3288
+ airplane: /* @__PURE__ */ jsx70(IconAirplane_default, {}),
3289
+ swapHoriz: /* @__PURE__ */ jsx70(SwapHoriz, { fontSize: iconSize })
3292
3290
  };
3293
3291
  const filteredSize = size === "double" ? void 0 : size;
3294
3292
  const handleClick = (e) => {
@@ -4917,10 +4915,12 @@ var useStyles27 = makeStyles27()((theme) => ({
4917
4915
  borderTop: `1px solid ${colors.neutral400}`,
4918
4916
  width: "100%",
4919
4917
  height: footerHeight,
4920
- padding: theme.spacing(0, 2)
4918
+ padding: theme.spacing(0, 2),
4919
+ zIndex: 999
4921
4920
  },
4922
4921
  fixedOffset: {
4923
- height: footerHeight
4922
+ height: footerHeight,
4923
+ backgroundColor: "white"
4924
4924
  }
4925
4925
  }));
4926
4926
  var FixedFooter = ({ justifyContent, children }) => {
@@ -5587,7 +5587,8 @@ var useStyles33 = makeStyles33()((theme) => ({
5587
5587
  left: 0
5588
5588
  },
5589
5589
  fixedOffset: {
5590
- height: paginationHeight
5590
+ height: paginationHeight,
5591
+ backgroundColor: "white"
5591
5592
  }
5592
5593
  }));
5593
5594
  var PaginationForTable = ({
@@ -6254,7 +6255,7 @@ var RenderAvatar_default = RenderAvatar;
6254
6255
 
6255
6256
  // src/components/RenderContentList/RenderContentList.tsx
6256
6257
  import { useEffect as useEffect7, useState as useState11, useRef as useRef5 } from "react";
6257
- import WarningAmber from "@mui/icons-material/WarningAmber";
6258
+ import { WarningAmber } from "@mui/icons-material";
6258
6259
  import {
6259
6260
  List,
6260
6261
  ListItemButton,
@@ -6292,32 +6293,8 @@ var RenderContentList = ({
6292
6293
  const { classes } = useStyles35();
6293
6294
  const [active, setActive] = useState11(activeSection);
6294
6295
  const observer = useRef5(null);
6295
- const isScrolling = useRef5(false);
6296
- const timeoutScrolling = useRef5(null);
6297
6296
  useEffect7(() => {
6298
- if (!activeSection) {
6299
- return void 0;
6300
- }
6301
- isScrolling.current = true;
6302
- const targetId = transformNameToID(activeSection);
6303
- setActive(targetId);
6304
- const element = document.getElementById(targetId);
6305
- if (element) {
6306
- element.scrollIntoView({
6307
- behavior: "smooth",
6308
- block: "start"
6309
- });
6310
- }
6311
- if (timeoutScrolling.current) {
6312
- clearTimeout(timeoutScrolling.current);
6313
- }
6314
- ;
6315
- timeoutScrolling.current = setTimeout(() => {
6316
- isScrolling.current = false;
6317
- }, 1e3);
6318
- return () => {
6319
- if (timeoutScrolling.current) clearTimeout(timeoutScrolling.current);
6320
- };
6297
+ setActive(activeSection);
6321
6298
  }, [activeSection]);
6322
6299
  useEffect7(() => {
6323
6300
  const sections = items.map((item) => ({
@@ -6327,14 +6304,9 @@ var RenderContentList = ({
6327
6304
  if (observer.current) {
6328
6305
  observer.current.disconnect();
6329
6306
  }
6330
- if (sections.length === 0) {
6331
- return void 0;
6332
- }
6307
+ if (sections.length === 0) return;
6333
6308
  observer.current = new IntersectionObserver(
6334
6309
  (entries) => {
6335
- if (isScrolling.current) {
6336
- return;
6337
- }
6338
6310
  const visibleSection = entries.find((entry) => entry.isIntersecting);
6339
6311
  if (visibleSection) {
6340
6312
  setActive(visibleSection.target.id);
@@ -6353,21 +6325,6 @@ var RenderContentList = ({
6353
6325
  observer.current?.disconnect();
6354
6326
  };
6355
6327
  }, [items]);
6356
- const handleMenuClick = (id) => {
6357
- isScrolling.current = true;
6358
- setActive(id);
6359
- const element = document.getElementById(id);
6360
- if (element) {
6361
- element.scrollIntoView({
6362
- behavior: "smooth",
6363
- block: "start"
6364
- });
6365
- }
6366
- if (timeoutScrolling.current) clearTimeout(timeoutScrolling.current);
6367
- timeoutScrolling.current = setTimeout(() => {
6368
- isScrolling.current = false;
6369
- }, 1e3);
6370
- };
6371
6328
  return /* @__PURE__ */ jsx105(
6372
6329
  List,
6373
6330
  {
@@ -6381,7 +6338,16 @@ var RenderContentList = ({
6381
6338
  {
6382
6339
  selected: active === id,
6383
6340
  classes: { root: classes.root, selected: classes.selected },
6384
- onClick: () => handleMenuClick(id),
6341
+ onClick: () => {
6342
+ setActive(id);
6343
+ const element = document.getElementById(id);
6344
+ if (element) {
6345
+ element.scrollIntoView({
6346
+ behavior: "smooth",
6347
+ block: "start"
6348
+ });
6349
+ }
6350
+ },
6385
6351
  children: [
6386
6352
  /* @__PURE__ */ jsx105(ListItemText4, { primary: item }),
6387
6353
  (warningItems?.includes(item) || warningItems?.includes(id)) && /* @__PURE__ */ jsx105(Tooltip7, { title: warningMessage, children: /* @__PURE__ */ jsx105(WarningAmber, { color: "warning" }) })
@@ -7014,8 +6980,7 @@ var SearchHeader = memo18(
7014
6980
  );
7015
6981
 
7016
6982
  // src/components/SectionName/SectionName.tsx
7017
- import HistoryIcon from "@mui/icons-material/History";
7018
- import InfoIcon from "@mui/icons-material/Info";
6983
+ import { History as History2, Info as InfoIcon } from "@mui/icons-material";
7019
6984
  import { Box as Box34, Divider as Divider10, IconButton as IconButton4, Tooltip as Tooltip8, Typography as Typography27 } from "@mui/material";
7020
6985
  import { makeStyles as makeStyles42 } from "tss-react/mui";
7021
6986
  import { jsx as jsx113, jsxs as jsxs77 } from "react/jsx-runtime";
@@ -7061,26 +7026,14 @@ var SectionName = ({
7061
7026
  openHistoryLog
7062
7027
  }) => {
7063
7028
  const { classes } = useStyles42();
7064
- const handleScroll = (e) => {
7065
- e.preventDefault();
7066
- if (sectionId) {
7067
- const targetId = sectionId.startsWith("#") ? sectionId.slice(1) : sectionId;
7068
- const element = document.getElementById(targetId);
7069
- if (element) {
7070
- element.scrollIntoView({
7071
- behavior: "smooth",
7072
- block: "start"
7073
- });
7074
- }
7075
- }
7076
- };
7077
7029
  return /* @__PURE__ */ jsxs77(Box34, { className: classes.container, children: [
7078
7030
  /* @__PURE__ */ jsxs77(Box34, { className: classes.titleContainer, children: [
7079
7031
  /* @__PURE__ */ jsx113(
7080
7032
  Typography27,
7081
7033
  {
7082
7034
  variant: "h5",
7083
- onClick: handleScroll,
7035
+ component: "a",
7036
+ href: sectionId,
7084
7037
  className: classes.typography,
7085
7038
  children: name
7086
7039
  }
@@ -7109,7 +7062,7 @@ var SectionName = ({
7109
7062
  }
7110
7063
  ) : null,
7111
7064
  openHistoryLog && buttonText && /* @__PURE__ */ jsx113(Divider10, { orientation: "vertical", sx: { height: "24px" } }),
7112
- openHistoryLog && /* @__PURE__ */ jsx113(IconButton4, { size: "small", onClick: () => openHistoryLog(), children: /* @__PURE__ */ jsx113(HistoryIcon, {}) })
7065
+ openHistoryLog && /* @__PURE__ */ jsx113(IconButton4, { size: "small", onClick: () => openHistoryLog(), children: /* @__PURE__ */ jsx113(History2, {}) })
7113
7066
  ] })
7114
7067
  ] });
7115
7068
  };
@@ -8299,12 +8252,12 @@ var TableDesktop = ({
8299
8252
  setIsBulkChangesMode(checked);
8300
8253
  if (!checked) {
8301
8254
  resetSelectedRows();
8302
- refetchData?.();
8303
8255
  }
8304
8256
  };
8305
8257
  useEffect11(() => {
8306
8258
  if (isRowsFromAllPagesSelected) {
8307
8259
  selectAllRowsInPage();
8260
+ selectAllRowsInPage();
8308
8261
  }
8309
8262
  }, [isRowsFromAllPagesSelected, data]);
8310
8263
  const renderBody = () => {
@@ -9044,7 +8997,6 @@ var TableDesktopToolbar = ({
9044
8997
  disableBulkChangesMode = false,
9045
8998
  isBulkChangesMode,
9046
8999
  onChangeBulkChangesMode,
9047
- onActivateBulkChangesMode,
9048
9000
  refetchData,
9049
9001
  renderExportCsvDialog,
9050
9002
  renderBulkChangesDialog,
@@ -9069,8 +9021,8 @@ var TableDesktopToolbar = ({
9069
9021
  const handleChangeBulkChangesMode = (_, checked) => {
9070
9022
  setBulkChanges([]);
9071
9023
  onChangeBulkChangesMode(checked);
9072
- if (checked) {
9073
- onActivateBulkChangesMode?.();
9024
+ if (!checked) {
9025
+ refetchData?.();
9074
9026
  }
9075
9027
  };
9076
9028
  const handleUpdateEditableCell = ({
@@ -9524,7 +9476,11 @@ var useStyles49 = makeStyles49()((theme) => ({
9524
9476
  topBar: {
9525
9477
  display: "flex",
9526
9478
  gap: theme.spacing(1),
9527
- backgroundColor: colors.topBar
9479
+ backgroundColor: colors.topBar,
9480
+ maxWidth: 2e3,
9481
+ margin: "0 auto",
9482
+ left: 0,
9483
+ right: 0
9528
9484
  }
9529
9485
  }));
9530
9486
  var TheToolbar = ({