@natoora-libs/core 0.2.16-packages-upgrade → 0.2.16
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/{TableDesktop-Z0KE59L4.d.cts → TableDesktop-BrpwT-lM.d.cts} +1 -0
- package/dist/{TableDesktop-Z0KE59L4.d.ts → TableDesktop-BrpwT-lM.d.ts} +1 -0
- package/dist/components/index.cjs +119 -63
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.d.cts +8 -6
- package/dist/components/index.d.ts +8 -6
- package/dist/components/index.js +111 -54
- package/dist/components/index.js.map +1 -1
- package/dist/utils/index.d.cts +1 -1
- package/dist/utils/index.d.ts +1 -1
- package/package.json +31 -20
|
@@ -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-
|
|
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-
|
|
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';
|
|
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,6 +30,8 @@ interface AlertDialogProps {
|
|
|
30
30
|
rejectCopy?: string;
|
|
31
31
|
acceptCopy?: string;
|
|
32
32
|
disabledContentPadding?: boolean;
|
|
33
|
+
disableEnforceFocus?: boolean;
|
|
34
|
+
disableRestoreFocus?: boolean;
|
|
33
35
|
}
|
|
34
36
|
declare const AlertDialog: React.FC<AlertDialogProps>;
|
|
35
37
|
|
|
@@ -194,7 +196,7 @@ interface IRoundButton {
|
|
|
194
196
|
className?: string;
|
|
195
197
|
disabled?: boolean;
|
|
196
198
|
focused?: boolean;
|
|
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';
|
|
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' | 'swapHoriz';
|
|
198
200
|
iconColor?: 'inherit' | 'disabled' | 'primary' | 'secondary' | 'action' | 'error';
|
|
199
201
|
isContrast?: boolean;
|
|
200
202
|
isTableButton?: boolean;
|
|
@@ -829,7 +831,7 @@ interface SearchWithFiltersForTableProps {
|
|
|
829
831
|
}
|
|
830
832
|
declare const _default$5: React.MemoExoticComponent<(props: SearchWithFiltersForTableProps) => react_jsx_runtime.JSX.Element>;
|
|
831
833
|
|
|
832
|
-
interface
|
|
834
|
+
interface SectionNameProps {
|
|
833
835
|
name: string;
|
|
834
836
|
tooltipDescription?: string;
|
|
835
837
|
sectionId?: string;
|
|
@@ -839,7 +841,7 @@ interface ISectionName {
|
|
|
839
841
|
buttonDisabled?: boolean;
|
|
840
842
|
openHistoryLog?: () => void;
|
|
841
843
|
}
|
|
842
|
-
declare const SectionName: ({ name, tooltipDescription, sectionId, handleButtonClick, buttonText, buttonType, buttonDisabled, openHistoryLog, }:
|
|
844
|
+
declare const SectionName: ({ name, tooltipDescription, sectionId, handleButtonClick, buttonText, buttonType, buttonDisabled, openHistoryLog, }: SectionNameProps) => react_jsx_runtime.JSX.Element;
|
|
843
845
|
|
|
844
846
|
type Option = {
|
|
845
847
|
value?: string | number;
|
|
@@ -1072,4 +1074,4 @@ declare const SvgIconCompare: (props: SVGProps<SVGSVGElement>) => react_jsx_runt
|
|
|
1072
1074
|
|
|
1073
1075
|
declare const SvgIconChart: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
1074
1076
|
|
|
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 };
|
|
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 };
|
|
@@ -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-
|
|
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-
|
|
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';
|
|
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,6 +30,8 @@ interface AlertDialogProps {
|
|
|
30
30
|
rejectCopy?: string;
|
|
31
31
|
acceptCopy?: string;
|
|
32
32
|
disabledContentPadding?: boolean;
|
|
33
|
+
disableEnforceFocus?: boolean;
|
|
34
|
+
disableRestoreFocus?: boolean;
|
|
33
35
|
}
|
|
34
36
|
declare const AlertDialog: React.FC<AlertDialogProps>;
|
|
35
37
|
|
|
@@ -194,7 +196,7 @@ interface IRoundButton {
|
|
|
194
196
|
className?: string;
|
|
195
197
|
disabled?: boolean;
|
|
196
198
|
focused?: boolean;
|
|
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';
|
|
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' | 'swapHoriz';
|
|
198
200
|
iconColor?: 'inherit' | 'disabled' | 'primary' | 'secondary' | 'action' | 'error';
|
|
199
201
|
isContrast?: boolean;
|
|
200
202
|
isTableButton?: boolean;
|
|
@@ -829,7 +831,7 @@ interface SearchWithFiltersForTableProps {
|
|
|
829
831
|
}
|
|
830
832
|
declare const _default$5: React.MemoExoticComponent<(props: SearchWithFiltersForTableProps) => react_jsx_runtime.JSX.Element>;
|
|
831
833
|
|
|
832
|
-
interface
|
|
834
|
+
interface SectionNameProps {
|
|
833
835
|
name: string;
|
|
834
836
|
tooltipDescription?: string;
|
|
835
837
|
sectionId?: string;
|
|
@@ -839,7 +841,7 @@ interface ISectionName {
|
|
|
839
841
|
buttonDisabled?: boolean;
|
|
840
842
|
openHistoryLog?: () => void;
|
|
841
843
|
}
|
|
842
|
-
declare const SectionName: ({ name, tooltipDescription, sectionId, handleButtonClick, buttonText, buttonType, buttonDisabled, openHistoryLog, }:
|
|
844
|
+
declare const SectionName: ({ name, tooltipDescription, sectionId, handleButtonClick, buttonText, buttonType, buttonDisabled, openHistoryLog, }: SectionNameProps) => react_jsx_runtime.JSX.Element;
|
|
843
845
|
|
|
844
846
|
type Option = {
|
|
845
847
|
value?: string | number;
|
|
@@ -1072,4 +1074,4 @@ declare const SvgIconCompare: (props: SVGProps<SVGSVGElement>) => react_jsx_runt
|
|
|
1072
1074
|
|
|
1073
1075
|
declare const SvgIconChart: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
1074
1076
|
|
|
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 };
|
|
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 };
|
package/dist/components/index.js
CHANGED
|
@@ -14,9 +14,9 @@ import {
|
|
|
14
14
|
__toESM
|
|
15
15
|
} from "../chunk-5WRI5ZAA.js";
|
|
16
16
|
|
|
17
|
-
// ../node_modules/.pnpm/lodash@4.17.
|
|
17
|
+
// ../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isObject.js
|
|
18
18
|
var require_isObject = __commonJS({
|
|
19
|
-
"../node_modules/.pnpm/lodash@4.17.
|
|
19
|
+
"../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isObject.js"(exports, module) {
|
|
20
20
|
function isObject(value) {
|
|
21
21
|
var type = typeof value;
|
|
22
22
|
return value != null && (type == "object" || type == "function");
|
|
@@ -25,17 +25,17 @@ var require_isObject = __commonJS({
|
|
|
25
25
|
}
|
|
26
26
|
});
|
|
27
27
|
|
|
28
|
-
// ../node_modules/.pnpm/lodash@4.17.
|
|
28
|
+
// ../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_freeGlobal.js
|
|
29
29
|
var require_freeGlobal = __commonJS({
|
|
30
|
-
"../node_modules/.pnpm/lodash@4.17.
|
|
30
|
+
"../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_freeGlobal.js"(exports, module) {
|
|
31
31
|
var freeGlobal = typeof global == "object" && global && global.Object === Object && global;
|
|
32
32
|
module.exports = freeGlobal;
|
|
33
33
|
}
|
|
34
34
|
});
|
|
35
35
|
|
|
36
|
-
// ../node_modules/.pnpm/lodash@4.17.
|
|
36
|
+
// ../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_root.js
|
|
37
37
|
var require_root = __commonJS({
|
|
38
|
-
"../node_modules/.pnpm/lodash@4.17.
|
|
38
|
+
"../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_root.js"(exports, module) {
|
|
39
39
|
var freeGlobal = require_freeGlobal();
|
|
40
40
|
var freeSelf = typeof self == "object" && self && self.Object === Object && self;
|
|
41
41
|
var root = freeGlobal || freeSelf || Function("return this")();
|
|
@@ -43,9 +43,9 @@ var require_root = __commonJS({
|
|
|
43
43
|
}
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
// ../node_modules/.pnpm/lodash@4.17.
|
|
46
|
+
// ../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/now.js
|
|
47
47
|
var require_now = __commonJS({
|
|
48
|
-
"../node_modules/.pnpm/lodash@4.17.
|
|
48
|
+
"../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/now.js"(exports, module) {
|
|
49
49
|
var root = require_root();
|
|
50
50
|
var now = function() {
|
|
51
51
|
return root.Date.now();
|
|
@@ -54,9 +54,9 @@ var require_now = __commonJS({
|
|
|
54
54
|
}
|
|
55
55
|
});
|
|
56
56
|
|
|
57
|
-
// ../node_modules/.pnpm/lodash@4.17.
|
|
57
|
+
// ../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_trimmedEndIndex.js
|
|
58
58
|
var require_trimmedEndIndex = __commonJS({
|
|
59
|
-
"../node_modules/.pnpm/lodash@4.17.
|
|
59
|
+
"../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_trimmedEndIndex.js"(exports, module) {
|
|
60
60
|
var reWhitespace = /\s/;
|
|
61
61
|
function trimmedEndIndex(string) {
|
|
62
62
|
var index = string.length;
|
|
@@ -68,9 +68,9 @@ var require_trimmedEndIndex = __commonJS({
|
|
|
68
68
|
}
|
|
69
69
|
});
|
|
70
70
|
|
|
71
|
-
// ../node_modules/.pnpm/lodash@4.17.
|
|
71
|
+
// ../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseTrim.js
|
|
72
72
|
var require_baseTrim = __commonJS({
|
|
73
|
-
"../node_modules/.pnpm/lodash@4.17.
|
|
73
|
+
"../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseTrim.js"(exports, module) {
|
|
74
74
|
var trimmedEndIndex = require_trimmedEndIndex();
|
|
75
75
|
var reTrimStart = /^\s+/;
|
|
76
76
|
function baseTrim(string) {
|
|
@@ -80,18 +80,18 @@ var require_baseTrim = __commonJS({
|
|
|
80
80
|
}
|
|
81
81
|
});
|
|
82
82
|
|
|
83
|
-
// ../node_modules/.pnpm/lodash@4.17.
|
|
83
|
+
// ../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Symbol.js
|
|
84
84
|
var require_Symbol = __commonJS({
|
|
85
|
-
"../node_modules/.pnpm/lodash@4.17.
|
|
85
|
+
"../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Symbol.js"(exports, module) {
|
|
86
86
|
var root = require_root();
|
|
87
87
|
var Symbol = root.Symbol;
|
|
88
88
|
module.exports = Symbol;
|
|
89
89
|
}
|
|
90
90
|
});
|
|
91
91
|
|
|
92
|
-
// ../node_modules/.pnpm/lodash@4.17.
|
|
92
|
+
// ../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getRawTag.js
|
|
93
93
|
var require_getRawTag = __commonJS({
|
|
94
|
-
"../node_modules/.pnpm/lodash@4.17.
|
|
94
|
+
"../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getRawTag.js"(exports, module) {
|
|
95
95
|
var Symbol = require_Symbol();
|
|
96
96
|
var objectProto = Object.prototype;
|
|
97
97
|
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
@@ -118,9 +118,9 @@ var require_getRawTag = __commonJS({
|
|
|
118
118
|
}
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
// ../node_modules/.pnpm/lodash@4.17.
|
|
121
|
+
// ../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_objectToString.js
|
|
122
122
|
var require_objectToString = __commonJS({
|
|
123
|
-
"../node_modules/.pnpm/lodash@4.17.
|
|
123
|
+
"../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_objectToString.js"(exports, module) {
|
|
124
124
|
var objectProto = Object.prototype;
|
|
125
125
|
var nativeObjectToString = objectProto.toString;
|
|
126
126
|
function objectToString(value) {
|
|
@@ -130,9 +130,9 @@ var require_objectToString = __commonJS({
|
|
|
130
130
|
}
|
|
131
131
|
});
|
|
132
132
|
|
|
133
|
-
// ../node_modules/.pnpm/lodash@4.17.
|
|
133
|
+
// ../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseGetTag.js
|
|
134
134
|
var require_baseGetTag = __commonJS({
|
|
135
|
-
"../node_modules/.pnpm/lodash@4.17.
|
|
135
|
+
"../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseGetTag.js"(exports, module) {
|
|
136
136
|
var Symbol = require_Symbol();
|
|
137
137
|
var getRawTag = require_getRawTag();
|
|
138
138
|
var objectToString = require_objectToString();
|
|
@@ -149,9 +149,9 @@ var require_baseGetTag = __commonJS({
|
|
|
149
149
|
}
|
|
150
150
|
});
|
|
151
151
|
|
|
152
|
-
// ../node_modules/.pnpm/lodash@4.17.
|
|
152
|
+
// ../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isObjectLike.js
|
|
153
153
|
var require_isObjectLike = __commonJS({
|
|
154
|
-
"../node_modules/.pnpm/lodash@4.17.
|
|
154
|
+
"../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isObjectLike.js"(exports, module) {
|
|
155
155
|
function isObjectLike(value) {
|
|
156
156
|
return value != null && typeof value == "object";
|
|
157
157
|
}
|
|
@@ -159,9 +159,9 @@ var require_isObjectLike = __commonJS({
|
|
|
159
159
|
}
|
|
160
160
|
});
|
|
161
161
|
|
|
162
|
-
// ../node_modules/.pnpm/lodash@4.17.
|
|
162
|
+
// ../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isSymbol.js
|
|
163
163
|
var require_isSymbol = __commonJS({
|
|
164
|
-
"../node_modules/.pnpm/lodash@4.17.
|
|
164
|
+
"../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isSymbol.js"(exports, module) {
|
|
165
165
|
var baseGetTag = require_baseGetTag();
|
|
166
166
|
var isObjectLike = require_isObjectLike();
|
|
167
167
|
var symbolTag = "[object Symbol]";
|
|
@@ -172,9 +172,9 @@ var require_isSymbol = __commonJS({
|
|
|
172
172
|
}
|
|
173
173
|
});
|
|
174
174
|
|
|
175
|
-
// ../node_modules/.pnpm/lodash@4.17.
|
|
175
|
+
// ../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/toNumber.js
|
|
176
176
|
var require_toNumber = __commonJS({
|
|
177
|
-
"../node_modules/.pnpm/lodash@4.17.
|
|
177
|
+
"../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/toNumber.js"(exports, module) {
|
|
178
178
|
var baseTrim = require_baseTrim();
|
|
179
179
|
var isObject = require_isObject();
|
|
180
180
|
var isSymbol = require_isSymbol();
|
|
@@ -205,9 +205,9 @@ var require_toNumber = __commonJS({
|
|
|
205
205
|
}
|
|
206
206
|
});
|
|
207
207
|
|
|
208
|
-
// ../node_modules/.pnpm/lodash@4.17.
|
|
208
|
+
// ../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/debounce.js
|
|
209
209
|
var require_debounce = __commonJS({
|
|
210
|
-
"../node_modules/.pnpm/lodash@4.17.
|
|
210
|
+
"../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/debounce.js"(exports, module) {
|
|
211
211
|
var isObject = require_isObject();
|
|
212
212
|
var now = require_now();
|
|
213
213
|
var toNumber = require_toNumber();
|
|
@@ -369,7 +369,9 @@ var AlertDialog = ({
|
|
|
369
369
|
rejectCopy,
|
|
370
370
|
acceptCopy,
|
|
371
371
|
content,
|
|
372
|
-
disabledContentPadding
|
|
372
|
+
disabledContentPadding,
|
|
373
|
+
disableEnforceFocus,
|
|
374
|
+
disableRestoreFocus
|
|
373
375
|
}) => {
|
|
374
376
|
const { classes } = useStyles();
|
|
375
377
|
return /* @__PURE__ */ jsx2(
|
|
@@ -380,6 +382,8 @@ var AlertDialog = ({
|
|
|
380
382
|
maxWidth,
|
|
381
383
|
fullScreen,
|
|
382
384
|
fullWidth,
|
|
385
|
+
disableEnforceFocus,
|
|
386
|
+
disableRestoreFocus,
|
|
383
387
|
children: /* @__PURE__ */ jsxs2(Box, { children: [
|
|
384
388
|
/* @__PURE__ */ jsxs2(Box, { className: classes.topSection, children: [
|
|
385
389
|
alertTitle ? /* @__PURE__ */ jsx2(Typography2, { variant: "h5", className: classes.title, children: alertTitle }) : null,
|
|
@@ -1894,7 +1898,8 @@ import {
|
|
|
1894
1898
|
Send,
|
|
1895
1899
|
ThumbDown,
|
|
1896
1900
|
ThumbUp,
|
|
1897
|
-
Undo
|
|
1901
|
+
Undo,
|
|
1902
|
+
SwapHoriz
|
|
1898
1903
|
} from "@mui/icons-material";
|
|
1899
1904
|
import { Fab, Tooltip as Tooltip5 } from "@mui/material";
|
|
1900
1905
|
import { makeStyles as makeStyles11 } from "tss-react/mui";
|
|
@@ -3284,7 +3289,8 @@ var RoundButton = ({
|
|
|
3284
3289
|
knife: /* @__PURE__ */ jsx70(IconKnife_default, {}),
|
|
3285
3290
|
bicycle: /* @__PURE__ */ jsx70(IconBicycle_default, {}),
|
|
3286
3291
|
heart: /* @__PURE__ */ jsx70(IconHeart_default, {}),
|
|
3287
|
-
airplane: /* @__PURE__ */ jsx70(IconAirplane_default, {})
|
|
3292
|
+
airplane: /* @__PURE__ */ jsx70(IconAirplane_default, {}),
|
|
3293
|
+
swapHoriz: /* @__PURE__ */ jsx70(SwapHoriz, { fontSize: iconSize })
|
|
3288
3294
|
};
|
|
3289
3295
|
const filteredSize = size === "double" ? void 0 : size;
|
|
3290
3296
|
const handleClick = (e) => {
|
|
@@ -4913,10 +4919,12 @@ var useStyles27 = makeStyles27()((theme) => ({
|
|
|
4913
4919
|
borderTop: `1px solid ${colors.neutral400}`,
|
|
4914
4920
|
width: "100%",
|
|
4915
4921
|
height: footerHeight,
|
|
4916
|
-
padding: theme.spacing(0, 2)
|
|
4922
|
+
padding: theme.spacing(0, 2),
|
|
4923
|
+
zIndex: 999
|
|
4917
4924
|
},
|
|
4918
4925
|
fixedOffset: {
|
|
4919
|
-
height: footerHeight
|
|
4926
|
+
height: footerHeight,
|
|
4927
|
+
backgroundColor: "white"
|
|
4920
4928
|
}
|
|
4921
4929
|
}));
|
|
4922
4930
|
var FixedFooter = ({ justifyContent, children }) => {
|
|
@@ -5583,7 +5591,8 @@ var useStyles33 = makeStyles33()((theme) => ({
|
|
|
5583
5591
|
left: 0
|
|
5584
5592
|
},
|
|
5585
5593
|
fixedOffset: {
|
|
5586
|
-
height: paginationHeight
|
|
5594
|
+
height: paginationHeight,
|
|
5595
|
+
backgroundColor: "white"
|
|
5587
5596
|
}
|
|
5588
5597
|
}));
|
|
5589
5598
|
var PaginationForTable = ({
|
|
@@ -6250,7 +6259,7 @@ var RenderAvatar_default = RenderAvatar;
|
|
|
6250
6259
|
|
|
6251
6260
|
// src/components/RenderContentList/RenderContentList.tsx
|
|
6252
6261
|
import { useEffect as useEffect7, useState as useState11, useRef as useRef5 } from "react";
|
|
6253
|
-
import
|
|
6262
|
+
import WarningAmber from "@mui/icons-material/WarningAmber";
|
|
6254
6263
|
import {
|
|
6255
6264
|
List,
|
|
6256
6265
|
ListItemButton,
|
|
@@ -6288,8 +6297,31 @@ var RenderContentList = ({
|
|
|
6288
6297
|
const { classes } = useStyles35();
|
|
6289
6298
|
const [active, setActive] = useState11(activeSection);
|
|
6290
6299
|
const observer = useRef5(null);
|
|
6300
|
+
const isScrolling = useRef5(false);
|
|
6301
|
+
const timeoutScrolling = useRef5(null);
|
|
6291
6302
|
useEffect7(() => {
|
|
6292
|
-
|
|
6303
|
+
if (!activeSection) {
|
|
6304
|
+
return void 0;
|
|
6305
|
+
}
|
|
6306
|
+
isScrolling.current = true;
|
|
6307
|
+
const targetId = transformNameToID(activeSection);
|
|
6308
|
+
setActive(targetId);
|
|
6309
|
+
const element = document.getElementById(targetId);
|
|
6310
|
+
if (element) {
|
|
6311
|
+
element.scrollIntoView({
|
|
6312
|
+
behavior: "smooth",
|
|
6313
|
+
block: "start"
|
|
6314
|
+
});
|
|
6315
|
+
}
|
|
6316
|
+
if (timeoutScrolling.current) {
|
|
6317
|
+
clearTimeout(timeoutScrolling.current);
|
|
6318
|
+
}
|
|
6319
|
+
timeoutScrolling.current = setTimeout(() => {
|
|
6320
|
+
isScrolling.current = false;
|
|
6321
|
+
}, 1e3);
|
|
6322
|
+
return () => {
|
|
6323
|
+
if (timeoutScrolling.current) clearTimeout(timeoutScrolling.current);
|
|
6324
|
+
};
|
|
6293
6325
|
}, [activeSection]);
|
|
6294
6326
|
useEffect7(() => {
|
|
6295
6327
|
const sections = items.map((item) => ({
|
|
@@ -6299,9 +6331,14 @@ var RenderContentList = ({
|
|
|
6299
6331
|
if (observer.current) {
|
|
6300
6332
|
observer.current.disconnect();
|
|
6301
6333
|
}
|
|
6302
|
-
if (sections.length === 0)
|
|
6334
|
+
if (sections.length === 0) {
|
|
6335
|
+
return void 0;
|
|
6336
|
+
}
|
|
6303
6337
|
observer.current = new IntersectionObserver(
|
|
6304
6338
|
(entries) => {
|
|
6339
|
+
if (isScrolling.current) {
|
|
6340
|
+
return;
|
|
6341
|
+
}
|
|
6305
6342
|
const visibleSection = entries.find((entry) => entry.isIntersecting);
|
|
6306
6343
|
if (visibleSection) {
|
|
6307
6344
|
setActive(visibleSection.target.id);
|
|
@@ -6320,6 +6357,21 @@ var RenderContentList = ({
|
|
|
6320
6357
|
observer.current?.disconnect();
|
|
6321
6358
|
};
|
|
6322
6359
|
}, [items]);
|
|
6360
|
+
const handleMenuClick = (id) => {
|
|
6361
|
+
isScrolling.current = true;
|
|
6362
|
+
setActive(id);
|
|
6363
|
+
const element = document.getElementById(id);
|
|
6364
|
+
if (element) {
|
|
6365
|
+
element.scrollIntoView({
|
|
6366
|
+
behavior: "smooth",
|
|
6367
|
+
block: "start"
|
|
6368
|
+
});
|
|
6369
|
+
}
|
|
6370
|
+
if (timeoutScrolling.current) clearTimeout(timeoutScrolling.current);
|
|
6371
|
+
timeoutScrolling.current = setTimeout(() => {
|
|
6372
|
+
isScrolling.current = false;
|
|
6373
|
+
}, 1e3);
|
|
6374
|
+
};
|
|
6323
6375
|
return /* @__PURE__ */ jsx105(
|
|
6324
6376
|
List,
|
|
6325
6377
|
{
|
|
@@ -6333,16 +6385,7 @@ var RenderContentList = ({
|
|
|
6333
6385
|
{
|
|
6334
6386
|
selected: active === id,
|
|
6335
6387
|
classes: { root: classes.root, selected: classes.selected },
|
|
6336
|
-
onClick: () =>
|
|
6337
|
-
setActive(id);
|
|
6338
|
-
const element = document.getElementById(id);
|
|
6339
|
-
if (element) {
|
|
6340
|
-
element.scrollIntoView({
|
|
6341
|
-
behavior: "smooth",
|
|
6342
|
-
block: "start"
|
|
6343
|
-
});
|
|
6344
|
-
}
|
|
6345
|
-
},
|
|
6388
|
+
onClick: () => handleMenuClick(id),
|
|
6346
6389
|
children: [
|
|
6347
6390
|
/* @__PURE__ */ jsx105(ListItemText4, { primary: item }),
|
|
6348
6391
|
(warningItems?.includes(item) || warningItems?.includes(id)) && /* @__PURE__ */ jsx105(Tooltip7, { title: warningMessage, children: /* @__PURE__ */ jsx105(WarningAmber, { color: "warning" }) })
|
|
@@ -6975,7 +7018,8 @@ var SearchHeader = memo18(
|
|
|
6975
7018
|
);
|
|
6976
7019
|
|
|
6977
7020
|
// src/components/SectionName/SectionName.tsx
|
|
6978
|
-
import
|
|
7021
|
+
import HistoryIcon from "@mui/icons-material/History";
|
|
7022
|
+
import InfoIcon from "@mui/icons-material/Info";
|
|
6979
7023
|
import { Box as Box34, Divider as Divider10, IconButton as IconButton4, Tooltip as Tooltip8, Typography as Typography27 } from "@mui/material";
|
|
6980
7024
|
import { makeStyles as makeStyles42 } from "tss-react/mui";
|
|
6981
7025
|
import { jsx as jsx113, jsxs as jsxs77 } from "react/jsx-runtime";
|
|
@@ -7021,14 +7065,26 @@ var SectionName = ({
|
|
|
7021
7065
|
openHistoryLog
|
|
7022
7066
|
}) => {
|
|
7023
7067
|
const { classes } = useStyles42();
|
|
7068
|
+
const handleScroll = (e) => {
|
|
7069
|
+
e.preventDefault();
|
|
7070
|
+
if (sectionId) {
|
|
7071
|
+
const targetId = sectionId.startsWith("#") ? sectionId.slice(1) : sectionId;
|
|
7072
|
+
const element = document.getElementById(targetId);
|
|
7073
|
+
if (element) {
|
|
7074
|
+
element.scrollIntoView({
|
|
7075
|
+
behavior: "smooth",
|
|
7076
|
+
block: "start"
|
|
7077
|
+
});
|
|
7078
|
+
}
|
|
7079
|
+
}
|
|
7080
|
+
};
|
|
7024
7081
|
return /* @__PURE__ */ jsxs77(Box34, { className: classes.container, children: [
|
|
7025
7082
|
/* @__PURE__ */ jsxs77(Box34, { className: classes.titleContainer, children: [
|
|
7026
7083
|
/* @__PURE__ */ jsx113(
|
|
7027
7084
|
Typography27,
|
|
7028
7085
|
{
|
|
7029
7086
|
variant: "h5",
|
|
7030
|
-
|
|
7031
|
-
href: sectionId,
|
|
7087
|
+
onClick: handleScroll,
|
|
7032
7088
|
className: classes.typography,
|
|
7033
7089
|
children: name
|
|
7034
7090
|
}
|
|
@@ -7057,7 +7113,7 @@ var SectionName = ({
|
|
|
7057
7113
|
}
|
|
7058
7114
|
) : null,
|
|
7059
7115
|
openHistoryLog && buttonText && /* @__PURE__ */ jsx113(Divider10, { orientation: "vertical", sx: { height: "24px" } }),
|
|
7060
|
-
openHistoryLog && /* @__PURE__ */ jsx113(IconButton4, { size: "small", onClick: () => openHistoryLog(), children: /* @__PURE__ */ jsx113(
|
|
7116
|
+
openHistoryLog && /* @__PURE__ */ jsx113(IconButton4, { size: "small", onClick: () => openHistoryLog(), children: /* @__PURE__ */ jsx113(HistoryIcon, {}) })
|
|
7061
7117
|
] })
|
|
7062
7118
|
] });
|
|
7063
7119
|
};
|
|
@@ -8247,12 +8303,12 @@ var TableDesktop = ({
|
|
|
8247
8303
|
setIsBulkChangesMode(checked);
|
|
8248
8304
|
if (!checked) {
|
|
8249
8305
|
resetSelectedRows();
|
|
8306
|
+
refetchData?.();
|
|
8250
8307
|
}
|
|
8251
8308
|
};
|
|
8252
8309
|
useEffect11(() => {
|
|
8253
8310
|
if (isRowsFromAllPagesSelected) {
|
|
8254
8311
|
selectAllRowsInPage();
|
|
8255
|
-
selectAllRowsInPage();
|
|
8256
8312
|
}
|
|
8257
8313
|
}, [isRowsFromAllPagesSelected, data]);
|
|
8258
8314
|
const renderBody = () => {
|
|
@@ -8992,6 +9048,7 @@ var TableDesktopToolbar = ({
|
|
|
8992
9048
|
disableBulkChangesMode = false,
|
|
8993
9049
|
isBulkChangesMode,
|
|
8994
9050
|
onChangeBulkChangesMode,
|
|
9051
|
+
onActivateBulkChangesMode,
|
|
8995
9052
|
refetchData,
|
|
8996
9053
|
renderExportCsvDialog,
|
|
8997
9054
|
renderBulkChangesDialog,
|
|
@@ -9016,8 +9073,8 @@ var TableDesktopToolbar = ({
|
|
|
9016
9073
|
const handleChangeBulkChangesMode = (_, checked) => {
|
|
9017
9074
|
setBulkChanges([]);
|
|
9018
9075
|
onChangeBulkChangesMode(checked);
|
|
9019
|
-
if (
|
|
9020
|
-
|
|
9076
|
+
if (checked) {
|
|
9077
|
+
onActivateBulkChangesMode?.();
|
|
9021
9078
|
}
|
|
9022
9079
|
};
|
|
9023
9080
|
const handleUpdateEditableCell = ({
|