@natoora-libs/core 0.2.14 → 0.2.16-packages-upgrade
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-BrpwT-lM.d.cts → TableDesktop-Z0KE59L4.d.cts} +0 -1
- package/dist/{TableDesktop-BrpwT-lM.d.ts → TableDesktop-Z0KE59L4.d.ts} +0 -1
- package/dist/components/index.cjs +64 -124
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.d.cts +6 -8
- package/dist/components/index.d.ts +6 -8
- package/dist/components/index.js +55 -116
- 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 +20 -31
|
@@ -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-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';
|
|
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
|
|
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, }:
|
|
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,
|
|
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-
|
|
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-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';
|
|
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
|
|
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, }:
|
|
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,
|
|
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 };
|
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.23/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.23/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.23/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.23/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.23/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.23/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.23/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.23/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.23/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.23/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.23/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.23/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.23/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.23/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.23/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.23/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.23/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.23/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.23/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.23/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.23/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.23/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.23/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.23/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.23/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.23/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.23/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.23/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,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,8 +1894,7 @@ import {
|
|
|
1898
1894
|
Send,
|
|
1899
1895
|
ThumbDown,
|
|
1900
1896
|
ThumbUp,
|
|
1901
|
-
Undo
|
|
1902
|
-
SwapHoriz
|
|
1897
|
+
Undo
|
|
1903
1898
|
} from "@mui/icons-material";
|
|
1904
1899
|
import { Fab, Tooltip as Tooltip5 } from "@mui/material";
|
|
1905
1900
|
import { makeStyles as makeStyles11 } from "tss-react/mui";
|
|
@@ -3289,8 +3284,7 @@ var RoundButton = ({
|
|
|
3289
3284
|
knife: /* @__PURE__ */ jsx70(IconKnife_default, {}),
|
|
3290
3285
|
bicycle: /* @__PURE__ */ jsx70(IconBicycle_default, {}),
|
|
3291
3286
|
heart: /* @__PURE__ */ jsx70(IconHeart_default, {}),
|
|
3292
|
-
airplane: /* @__PURE__ */ jsx70(IconAirplane_default, {})
|
|
3293
|
-
swapHoriz: /* @__PURE__ */ jsx70(SwapHoriz, { fontSize: iconSize })
|
|
3287
|
+
airplane: /* @__PURE__ */ jsx70(IconAirplane_default, {})
|
|
3294
3288
|
};
|
|
3295
3289
|
const filteredSize = size === "double" ? void 0 : size;
|
|
3296
3290
|
const handleClick = (e) => {
|
|
@@ -4919,12 +4913,10 @@ var useStyles27 = makeStyles27()((theme) => ({
|
|
|
4919
4913
|
borderTop: `1px solid ${colors.neutral400}`,
|
|
4920
4914
|
width: "100%",
|
|
4921
4915
|
height: footerHeight,
|
|
4922
|
-
padding: theme.spacing(0, 2)
|
|
4923
|
-
zIndex: 999
|
|
4916
|
+
padding: theme.spacing(0, 2)
|
|
4924
4917
|
},
|
|
4925
4918
|
fixedOffset: {
|
|
4926
|
-
height: footerHeight
|
|
4927
|
-
backgroundColor: "white"
|
|
4919
|
+
height: footerHeight
|
|
4928
4920
|
}
|
|
4929
4921
|
}));
|
|
4930
4922
|
var FixedFooter = ({ justifyContent, children }) => {
|
|
@@ -5591,8 +5583,7 @@ var useStyles33 = makeStyles33()((theme) => ({
|
|
|
5591
5583
|
left: 0
|
|
5592
5584
|
},
|
|
5593
5585
|
fixedOffset: {
|
|
5594
|
-
height: paginationHeight
|
|
5595
|
-
backgroundColor: "white"
|
|
5586
|
+
height: paginationHeight
|
|
5596
5587
|
}
|
|
5597
5588
|
}));
|
|
5598
5589
|
var PaginationForTable = ({
|
|
@@ -6259,7 +6250,7 @@ var RenderAvatar_default = RenderAvatar;
|
|
|
6259
6250
|
|
|
6260
6251
|
// src/components/RenderContentList/RenderContentList.tsx
|
|
6261
6252
|
import { useEffect as useEffect7, useState as useState11, useRef as useRef5 } from "react";
|
|
6262
|
-
import WarningAmber from "@mui/icons-material
|
|
6253
|
+
import { WarningAmber } from "@mui/icons-material";
|
|
6263
6254
|
import {
|
|
6264
6255
|
List,
|
|
6265
6256
|
ListItemButton,
|
|
@@ -6297,31 +6288,8 @@ var RenderContentList = ({
|
|
|
6297
6288
|
const { classes } = useStyles35();
|
|
6298
6289
|
const [active, setActive] = useState11(activeSection);
|
|
6299
6290
|
const observer = useRef5(null);
|
|
6300
|
-
const isScrolling = useRef5(false);
|
|
6301
|
-
const timeoutScrolling = useRef5(null);
|
|
6302
6291
|
useEffect7(() => {
|
|
6303
|
-
|
|
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
|
-
};
|
|
6292
|
+
setActive(activeSection);
|
|
6325
6293
|
}, [activeSection]);
|
|
6326
6294
|
useEffect7(() => {
|
|
6327
6295
|
const sections = items.map((item) => ({
|
|
@@ -6331,14 +6299,9 @@ var RenderContentList = ({
|
|
|
6331
6299
|
if (observer.current) {
|
|
6332
6300
|
observer.current.disconnect();
|
|
6333
6301
|
}
|
|
6334
|
-
if (sections.length === 0)
|
|
6335
|
-
return void 0;
|
|
6336
|
-
}
|
|
6302
|
+
if (sections.length === 0) return;
|
|
6337
6303
|
observer.current = new IntersectionObserver(
|
|
6338
6304
|
(entries) => {
|
|
6339
|
-
if (isScrolling.current) {
|
|
6340
|
-
return;
|
|
6341
|
-
}
|
|
6342
6305
|
const visibleSection = entries.find((entry) => entry.isIntersecting);
|
|
6343
6306
|
if (visibleSection) {
|
|
6344
6307
|
setActive(visibleSection.target.id);
|
|
@@ -6357,21 +6320,6 @@ var RenderContentList = ({
|
|
|
6357
6320
|
observer.current?.disconnect();
|
|
6358
6321
|
};
|
|
6359
6322
|
}, [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
|
-
};
|
|
6375
6323
|
return /* @__PURE__ */ jsx105(
|
|
6376
6324
|
List,
|
|
6377
6325
|
{
|
|
@@ -6385,7 +6333,16 @@ var RenderContentList = ({
|
|
|
6385
6333
|
{
|
|
6386
6334
|
selected: active === id,
|
|
6387
6335
|
classes: { root: classes.root, selected: classes.selected },
|
|
6388
|
-
onClick: () =>
|
|
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
|
+
},
|
|
6389
6346
|
children: [
|
|
6390
6347
|
/* @__PURE__ */ jsx105(ListItemText4, { primary: item }),
|
|
6391
6348
|
(warningItems?.includes(item) || warningItems?.includes(id)) && /* @__PURE__ */ jsx105(Tooltip7, { title: warningMessage, children: /* @__PURE__ */ jsx105(WarningAmber, { color: "warning" }) })
|
|
@@ -7018,8 +6975,7 @@ var SearchHeader = memo18(
|
|
|
7018
6975
|
);
|
|
7019
6976
|
|
|
7020
6977
|
// src/components/SectionName/SectionName.tsx
|
|
7021
|
-
import
|
|
7022
|
-
import InfoIcon from "@mui/icons-material/Info";
|
|
6978
|
+
import { History as History2, Info as InfoIcon } from "@mui/icons-material";
|
|
7023
6979
|
import { Box as Box34, Divider as Divider10, IconButton as IconButton4, Tooltip as Tooltip8, Typography as Typography27 } from "@mui/material";
|
|
7024
6980
|
import { makeStyles as makeStyles42 } from "tss-react/mui";
|
|
7025
6981
|
import { jsx as jsx113, jsxs as jsxs77 } from "react/jsx-runtime";
|
|
@@ -7065,26 +7021,14 @@ var SectionName = ({
|
|
|
7065
7021
|
openHistoryLog
|
|
7066
7022
|
}) => {
|
|
7067
7023
|
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
|
-
};
|
|
7081
7024
|
return /* @__PURE__ */ jsxs77(Box34, { className: classes.container, children: [
|
|
7082
7025
|
/* @__PURE__ */ jsxs77(Box34, { className: classes.titleContainer, children: [
|
|
7083
7026
|
/* @__PURE__ */ jsx113(
|
|
7084
7027
|
Typography27,
|
|
7085
7028
|
{
|
|
7086
7029
|
variant: "h5",
|
|
7087
|
-
|
|
7030
|
+
component: "a",
|
|
7031
|
+
href: sectionId,
|
|
7088
7032
|
className: classes.typography,
|
|
7089
7033
|
children: name
|
|
7090
7034
|
}
|
|
@@ -7113,7 +7057,7 @@ var SectionName = ({
|
|
|
7113
7057
|
}
|
|
7114
7058
|
) : null,
|
|
7115
7059
|
openHistoryLog && buttonText && /* @__PURE__ */ jsx113(Divider10, { orientation: "vertical", sx: { height: "24px" } }),
|
|
7116
|
-
openHistoryLog && /* @__PURE__ */ jsx113(IconButton4, { size: "small", onClick: () => openHistoryLog(), children: /* @__PURE__ */ jsx113(
|
|
7060
|
+
openHistoryLog && /* @__PURE__ */ jsx113(IconButton4, { size: "small", onClick: () => openHistoryLog(), children: /* @__PURE__ */ jsx113(History2, {}) })
|
|
7117
7061
|
] })
|
|
7118
7062
|
] });
|
|
7119
7063
|
};
|
|
@@ -8303,12 +8247,12 @@ var TableDesktop = ({
|
|
|
8303
8247
|
setIsBulkChangesMode(checked);
|
|
8304
8248
|
if (!checked) {
|
|
8305
8249
|
resetSelectedRows();
|
|
8306
|
-
refetchData?.();
|
|
8307
8250
|
}
|
|
8308
8251
|
};
|
|
8309
8252
|
useEffect11(() => {
|
|
8310
8253
|
if (isRowsFromAllPagesSelected) {
|
|
8311
8254
|
selectAllRowsInPage();
|
|
8255
|
+
selectAllRowsInPage();
|
|
8312
8256
|
}
|
|
8313
8257
|
}, [isRowsFromAllPagesSelected, data]);
|
|
8314
8258
|
const renderBody = () => {
|
|
@@ -9048,7 +8992,6 @@ var TableDesktopToolbar = ({
|
|
|
9048
8992
|
disableBulkChangesMode = false,
|
|
9049
8993
|
isBulkChangesMode,
|
|
9050
8994
|
onChangeBulkChangesMode,
|
|
9051
|
-
onActivateBulkChangesMode,
|
|
9052
8995
|
refetchData,
|
|
9053
8996
|
renderExportCsvDialog,
|
|
9054
8997
|
renderBulkChangesDialog,
|
|
@@ -9073,8 +9016,8 @@ var TableDesktopToolbar = ({
|
|
|
9073
9016
|
const handleChangeBulkChangesMode = (_, checked) => {
|
|
9074
9017
|
setBulkChanges([]);
|
|
9075
9018
|
onChangeBulkChangesMode(checked);
|
|
9076
|
-
if (checked) {
|
|
9077
|
-
|
|
9019
|
+
if (!checked) {
|
|
9020
|
+
refetchData?.();
|
|
9078
9021
|
}
|
|
9079
9022
|
};
|
|
9080
9023
|
const handleUpdateEditableCell = ({
|
|
@@ -9528,11 +9471,7 @@ var useStyles49 = makeStyles49()((theme) => ({
|
|
|
9528
9471
|
topBar: {
|
|
9529
9472
|
display: "flex",
|
|
9530
9473
|
gap: theme.spacing(1),
|
|
9531
|
-
backgroundColor: colors.topBar
|
|
9532
|
-
maxWidth: 2e3,
|
|
9533
|
-
margin: "0 auto",
|
|
9534
|
-
left: 0,
|
|
9535
|
-
right: 0
|
|
9474
|
+
backgroundColor: colors.topBar
|
|
9536
9475
|
}
|
|
9537
9476
|
}));
|
|
9538
9477
|
var TheToolbar = ({
|