@natoora-libs/core 0.2.15 → 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 +63 -119
- 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 +54 -111
- 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
|
@@ -55,7 +55,6 @@ type TableDesktopToolbarProps = {
|
|
|
55
55
|
disableBulkChangesMode?: boolean;
|
|
56
56
|
isBulkChangesMode: boolean;
|
|
57
57
|
onChangeBulkChangesMode: (checked: boolean) => void;
|
|
58
|
-
onActivateBulkChangesMode?: () => void;
|
|
59
58
|
renderExportCsvDialog?: (props: ExportCsvDialogProps) => ReactNode;
|
|
60
59
|
renderBulkChangesDialog?: (props: BulkChangesDialogProps) => ReactNode;
|
|
61
60
|
renderTableColumnConfigurationMenu?: (props: TableColumnConfigurationMenuProps) => ReactNode;
|
|
@@ -55,7 +55,6 @@ type TableDesktopToolbarProps = {
|
|
|
55
55
|
disableBulkChangesMode?: boolean;
|
|
56
56
|
isBulkChangesMode: boolean;
|
|
57
57
|
onChangeBulkChangesMode: (checked: boolean) => void;
|
|
58
|
-
onActivateBulkChangesMode?: () => void;
|
|
59
58
|
renderExportCsvDialog?: (props: ExportCsvDialogProps) => ReactNode;
|
|
60
59
|
renderBulkChangesDialog?: (props: BulkChangesDialogProps) => ReactNode;
|
|
61
60
|
renderTableColumnConfigurationMenu?: (props: TableColumnConfigurationMenuProps) => ReactNode;
|
|
@@ -29,9 +29,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
29
29
|
));
|
|
30
30
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
31
31
|
|
|
32
|
-
// ../node_modules/.pnpm/lodash@4.17.
|
|
32
|
+
// ../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/isObject.js
|
|
33
33
|
var require_isObject = __commonJS({
|
|
34
|
-
"../node_modules/.pnpm/lodash@4.17.
|
|
34
|
+
"../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/isObject.js"(exports2, module2) {
|
|
35
35
|
function isObject(value) {
|
|
36
36
|
var type = typeof value;
|
|
37
37
|
return value != null && (type == "object" || type == "function");
|
|
@@ -40,17 +40,17 @@ var require_isObject = __commonJS({
|
|
|
40
40
|
}
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
// ../node_modules/.pnpm/lodash@4.17.
|
|
43
|
+
// ../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_freeGlobal.js
|
|
44
44
|
var require_freeGlobal = __commonJS({
|
|
45
|
-
"../node_modules/.pnpm/lodash@4.17.
|
|
45
|
+
"../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_freeGlobal.js"(exports2, module2) {
|
|
46
46
|
var freeGlobal = typeof global == "object" && global && global.Object === Object && global;
|
|
47
47
|
module2.exports = freeGlobal;
|
|
48
48
|
}
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
// ../node_modules/.pnpm/lodash@4.17.
|
|
51
|
+
// ../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_root.js
|
|
52
52
|
var require_root = __commonJS({
|
|
53
|
-
"../node_modules/.pnpm/lodash@4.17.
|
|
53
|
+
"../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_root.js"(exports2, module2) {
|
|
54
54
|
var freeGlobal = require_freeGlobal();
|
|
55
55
|
var freeSelf = typeof self == "object" && self && self.Object === Object && self;
|
|
56
56
|
var root = freeGlobal || freeSelf || Function("return this")();
|
|
@@ -58,9 +58,9 @@ var require_root = __commonJS({
|
|
|
58
58
|
}
|
|
59
59
|
});
|
|
60
60
|
|
|
61
|
-
// ../node_modules/.pnpm/lodash@4.17.
|
|
61
|
+
// ../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/now.js
|
|
62
62
|
var require_now = __commonJS({
|
|
63
|
-
"../node_modules/.pnpm/lodash@4.17.
|
|
63
|
+
"../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/now.js"(exports2, module2) {
|
|
64
64
|
var root = require_root();
|
|
65
65
|
var now = function() {
|
|
66
66
|
return root.Date.now();
|
|
@@ -69,9 +69,9 @@ var require_now = __commonJS({
|
|
|
69
69
|
}
|
|
70
70
|
});
|
|
71
71
|
|
|
72
|
-
// ../node_modules/.pnpm/lodash@4.17.
|
|
72
|
+
// ../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_trimmedEndIndex.js
|
|
73
73
|
var require_trimmedEndIndex = __commonJS({
|
|
74
|
-
"../node_modules/.pnpm/lodash@4.17.
|
|
74
|
+
"../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_trimmedEndIndex.js"(exports2, module2) {
|
|
75
75
|
var reWhitespace = /\s/;
|
|
76
76
|
function trimmedEndIndex(string) {
|
|
77
77
|
var index = string.length;
|
|
@@ -83,9 +83,9 @@ var require_trimmedEndIndex = __commonJS({
|
|
|
83
83
|
}
|
|
84
84
|
});
|
|
85
85
|
|
|
86
|
-
// ../node_modules/.pnpm/lodash@4.17.
|
|
86
|
+
// ../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseTrim.js
|
|
87
87
|
var require_baseTrim = __commonJS({
|
|
88
|
-
"../node_modules/.pnpm/lodash@4.17.
|
|
88
|
+
"../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseTrim.js"(exports2, module2) {
|
|
89
89
|
var trimmedEndIndex = require_trimmedEndIndex();
|
|
90
90
|
var reTrimStart = /^\s+/;
|
|
91
91
|
function baseTrim(string) {
|
|
@@ -95,18 +95,18 @@ var require_baseTrim = __commonJS({
|
|
|
95
95
|
}
|
|
96
96
|
});
|
|
97
97
|
|
|
98
|
-
// ../node_modules/.pnpm/lodash@4.17.
|
|
98
|
+
// ../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_Symbol.js
|
|
99
99
|
var require_Symbol = __commonJS({
|
|
100
|
-
"../node_modules/.pnpm/lodash@4.17.
|
|
100
|
+
"../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_Symbol.js"(exports2, module2) {
|
|
101
101
|
var root = require_root();
|
|
102
102
|
var Symbol2 = root.Symbol;
|
|
103
103
|
module2.exports = Symbol2;
|
|
104
104
|
}
|
|
105
105
|
});
|
|
106
106
|
|
|
107
|
-
// ../node_modules/.pnpm/lodash@4.17.
|
|
107
|
+
// ../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_getRawTag.js
|
|
108
108
|
var require_getRawTag = __commonJS({
|
|
109
|
-
"../node_modules/.pnpm/lodash@4.17.
|
|
109
|
+
"../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_getRawTag.js"(exports2, module2) {
|
|
110
110
|
var Symbol2 = require_Symbol();
|
|
111
111
|
var objectProto = Object.prototype;
|
|
112
112
|
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
@@ -133,9 +133,9 @@ var require_getRawTag = __commonJS({
|
|
|
133
133
|
}
|
|
134
134
|
});
|
|
135
135
|
|
|
136
|
-
// ../node_modules/.pnpm/lodash@4.17.
|
|
136
|
+
// ../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_objectToString.js
|
|
137
137
|
var require_objectToString = __commonJS({
|
|
138
|
-
"../node_modules/.pnpm/lodash@4.17.
|
|
138
|
+
"../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_objectToString.js"(exports2, module2) {
|
|
139
139
|
var objectProto = Object.prototype;
|
|
140
140
|
var nativeObjectToString = objectProto.toString;
|
|
141
141
|
function objectToString(value) {
|
|
@@ -145,9 +145,9 @@ var require_objectToString = __commonJS({
|
|
|
145
145
|
}
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
// ../node_modules/.pnpm/lodash@4.17.
|
|
148
|
+
// ../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseGetTag.js
|
|
149
149
|
var require_baseGetTag = __commonJS({
|
|
150
|
-
"../node_modules/.pnpm/lodash@4.17.
|
|
150
|
+
"../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseGetTag.js"(exports2, module2) {
|
|
151
151
|
var Symbol2 = require_Symbol();
|
|
152
152
|
var getRawTag = require_getRawTag();
|
|
153
153
|
var objectToString = require_objectToString();
|
|
@@ -164,9 +164,9 @@ var require_baseGetTag = __commonJS({
|
|
|
164
164
|
}
|
|
165
165
|
});
|
|
166
166
|
|
|
167
|
-
// ../node_modules/.pnpm/lodash@4.17.
|
|
167
|
+
// ../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/isObjectLike.js
|
|
168
168
|
var require_isObjectLike = __commonJS({
|
|
169
|
-
"../node_modules/.pnpm/lodash@4.17.
|
|
169
|
+
"../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/isObjectLike.js"(exports2, module2) {
|
|
170
170
|
function isObjectLike(value) {
|
|
171
171
|
return value != null && typeof value == "object";
|
|
172
172
|
}
|
|
@@ -174,9 +174,9 @@ var require_isObjectLike = __commonJS({
|
|
|
174
174
|
}
|
|
175
175
|
});
|
|
176
176
|
|
|
177
|
-
// ../node_modules/.pnpm/lodash@4.17.
|
|
177
|
+
// ../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/isSymbol.js
|
|
178
178
|
var require_isSymbol = __commonJS({
|
|
179
|
-
"../node_modules/.pnpm/lodash@4.17.
|
|
179
|
+
"../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/isSymbol.js"(exports2, module2) {
|
|
180
180
|
var baseGetTag = require_baseGetTag();
|
|
181
181
|
var isObjectLike = require_isObjectLike();
|
|
182
182
|
var symbolTag = "[object Symbol]";
|
|
@@ -187,9 +187,9 @@ var require_isSymbol = __commonJS({
|
|
|
187
187
|
}
|
|
188
188
|
});
|
|
189
189
|
|
|
190
|
-
// ../node_modules/.pnpm/lodash@4.17.
|
|
190
|
+
// ../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/toNumber.js
|
|
191
191
|
var require_toNumber = __commonJS({
|
|
192
|
-
"../node_modules/.pnpm/lodash@4.17.
|
|
192
|
+
"../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/toNumber.js"(exports2, module2) {
|
|
193
193
|
var baseTrim = require_baseTrim();
|
|
194
194
|
var isObject = require_isObject();
|
|
195
195
|
var isSymbol = require_isSymbol();
|
|
@@ -220,9 +220,9 @@ var require_toNumber = __commonJS({
|
|
|
220
220
|
}
|
|
221
221
|
});
|
|
222
222
|
|
|
223
|
-
// ../node_modules/.pnpm/lodash@4.17.
|
|
223
|
+
// ../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/debounce.js
|
|
224
224
|
var require_debounce = __commonJS({
|
|
225
|
-
"../node_modules/.pnpm/lodash@4.17.
|
|
225
|
+
"../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/debounce.js"(exports2, module2) {
|
|
226
226
|
var isObject = require_isObject();
|
|
227
227
|
var now = require_now();
|
|
228
228
|
var toNumber = require_toNumber();
|
|
@@ -480,9 +480,7 @@ var AlertDialog = ({
|
|
|
480
480
|
rejectCopy,
|
|
481
481
|
acceptCopy,
|
|
482
482
|
content,
|
|
483
|
-
disabledContentPadding
|
|
484
|
-
disableEnforceFocus,
|
|
485
|
-
disableRestoreFocus
|
|
483
|
+
disabledContentPadding
|
|
486
484
|
}) => {
|
|
487
485
|
const { classes } = useStyles();
|
|
488
486
|
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
@@ -493,8 +491,6 @@ var AlertDialog = ({
|
|
|
493
491
|
maxWidth,
|
|
494
492
|
fullScreen,
|
|
495
493
|
fullWidth,
|
|
496
|
-
disableEnforceFocus,
|
|
497
|
-
disableRestoreFocus,
|
|
498
494
|
children: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_material2.Box, { children: [
|
|
499
495
|
/* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_material2.Box, { className: classes.topSection, children: [
|
|
500
496
|
alertTitle ? /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_material2.Typography, { variant: "h5", className: classes.title, children: alertTitle }) : null,
|
|
@@ -3563,8 +3559,7 @@ var RoundButton = ({
|
|
|
3563
3559
|
knife: /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(IconKnife_default, {}),
|
|
3564
3560
|
bicycle: /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(IconBicycle_default, {}),
|
|
3565
3561
|
heart: /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(IconHeart_default, {}),
|
|
3566
|
-
airplane: /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(IconAirplane_default, {})
|
|
3567
|
-
swapHoriz: /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(import_icons_material5.SwapHoriz, { fontSize: iconSize })
|
|
3562
|
+
airplane: /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(IconAirplane_default, {})
|
|
3568
3563
|
};
|
|
3569
3564
|
const filteredSize = size === "double" ? void 0 : size;
|
|
3570
3565
|
const handleClick = (e) => {
|
|
@@ -5149,12 +5144,10 @@ var useStyles27 = (0, import_mui29.makeStyles)()((theme) => ({
|
|
|
5149
5144
|
borderTop: `1px solid ${colors.neutral400}`,
|
|
5150
5145
|
width: "100%",
|
|
5151
5146
|
height: footerHeight,
|
|
5152
|
-
padding: theme.spacing(0, 2)
|
|
5153
|
-
zIndex: 999
|
|
5147
|
+
padding: theme.spacing(0, 2)
|
|
5154
5148
|
},
|
|
5155
5149
|
fixedOffset: {
|
|
5156
|
-
height: footerHeight
|
|
5157
|
-
backgroundColor: "white"
|
|
5150
|
+
height: footerHeight
|
|
5158
5151
|
}
|
|
5159
5152
|
}));
|
|
5160
5153
|
var FixedFooter = ({ justifyContent, children }) => {
|
|
@@ -5849,8 +5842,7 @@ var useStyles34 = (0, import_mui36.makeStyles)()((theme) => ({
|
|
|
5849
5842
|
left: 0
|
|
5850
5843
|
},
|
|
5851
5844
|
fixedOffset: {
|
|
5852
|
-
height: paginationHeight
|
|
5853
|
-
backgroundColor: "white"
|
|
5845
|
+
height: paginationHeight
|
|
5854
5846
|
}
|
|
5855
5847
|
}));
|
|
5856
5848
|
var PaginationForTable = ({
|
|
@@ -6512,7 +6504,7 @@ var RenderAvatar_default = RenderAvatar;
|
|
|
6512
6504
|
|
|
6513
6505
|
// src/components/RenderContentList/RenderContentList.tsx
|
|
6514
6506
|
var import_react29 = require("react");
|
|
6515
|
-
var
|
|
6507
|
+
var import_icons_material8 = require("@mui/icons-material");
|
|
6516
6508
|
var import_material53 = require("@mui/material");
|
|
6517
6509
|
var import_mui41 = require("tss-react/mui");
|
|
6518
6510
|
|
|
@@ -6544,31 +6536,8 @@ var RenderContentList = ({
|
|
|
6544
6536
|
const { classes } = useStyles36();
|
|
6545
6537
|
const [active, setActive] = (0, import_react29.useState)(activeSection);
|
|
6546
6538
|
const observer = (0, import_react29.useRef)(null);
|
|
6547
|
-
const isScrolling = (0, import_react29.useRef)(false);
|
|
6548
|
-
const timeoutScrolling = (0, import_react29.useRef)(null);
|
|
6549
6539
|
(0, import_react29.useEffect)(() => {
|
|
6550
|
-
|
|
6551
|
-
return void 0;
|
|
6552
|
-
}
|
|
6553
|
-
isScrolling.current = true;
|
|
6554
|
-
const targetId = transformNameToID(activeSection);
|
|
6555
|
-
setActive(targetId);
|
|
6556
|
-
const element = document.getElementById(targetId);
|
|
6557
|
-
if (element) {
|
|
6558
|
-
element.scrollIntoView({
|
|
6559
|
-
behavior: "smooth",
|
|
6560
|
-
block: "start"
|
|
6561
|
-
});
|
|
6562
|
-
}
|
|
6563
|
-
if (timeoutScrolling.current) {
|
|
6564
|
-
clearTimeout(timeoutScrolling.current);
|
|
6565
|
-
}
|
|
6566
|
-
timeoutScrolling.current = setTimeout(() => {
|
|
6567
|
-
isScrolling.current = false;
|
|
6568
|
-
}, 1e3);
|
|
6569
|
-
return () => {
|
|
6570
|
-
if (timeoutScrolling.current) clearTimeout(timeoutScrolling.current);
|
|
6571
|
-
};
|
|
6540
|
+
setActive(activeSection);
|
|
6572
6541
|
}, [activeSection]);
|
|
6573
6542
|
(0, import_react29.useEffect)(() => {
|
|
6574
6543
|
const sections = items.map((item) => ({
|
|
@@ -6578,14 +6547,9 @@ var RenderContentList = ({
|
|
|
6578
6547
|
if (observer.current) {
|
|
6579
6548
|
observer.current.disconnect();
|
|
6580
6549
|
}
|
|
6581
|
-
if (sections.length === 0)
|
|
6582
|
-
return void 0;
|
|
6583
|
-
}
|
|
6550
|
+
if (sections.length === 0) return;
|
|
6584
6551
|
observer.current = new IntersectionObserver(
|
|
6585
6552
|
(entries) => {
|
|
6586
|
-
if (isScrolling.current) {
|
|
6587
|
-
return;
|
|
6588
|
-
}
|
|
6589
6553
|
const visibleSection = entries.find((entry) => entry.isIntersecting);
|
|
6590
6554
|
if (visibleSection) {
|
|
6591
6555
|
setActive(visibleSection.target.id);
|
|
@@ -6604,21 +6568,6 @@ var RenderContentList = ({
|
|
|
6604
6568
|
observer.current?.disconnect();
|
|
6605
6569
|
};
|
|
6606
6570
|
}, [items]);
|
|
6607
|
-
const handleMenuClick = (id) => {
|
|
6608
|
-
isScrolling.current = true;
|
|
6609
|
-
setActive(id);
|
|
6610
|
-
const element = document.getElementById(id);
|
|
6611
|
-
if (element) {
|
|
6612
|
-
element.scrollIntoView({
|
|
6613
|
-
behavior: "smooth",
|
|
6614
|
-
block: "start"
|
|
6615
|
-
});
|
|
6616
|
-
}
|
|
6617
|
-
if (timeoutScrolling.current) clearTimeout(timeoutScrolling.current);
|
|
6618
|
-
timeoutScrolling.current = setTimeout(() => {
|
|
6619
|
-
isScrolling.current = false;
|
|
6620
|
-
}, 1e3);
|
|
6621
|
-
};
|
|
6622
6571
|
return /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
|
|
6623
6572
|
import_material53.List,
|
|
6624
6573
|
{
|
|
@@ -6632,10 +6581,19 @@ var RenderContentList = ({
|
|
|
6632
6581
|
{
|
|
6633
6582
|
selected: active === id,
|
|
6634
6583
|
classes: { root: classes.root, selected: classes.selected },
|
|
6635
|
-
onClick: () =>
|
|
6584
|
+
onClick: () => {
|
|
6585
|
+
setActive(id);
|
|
6586
|
+
const element = document.getElementById(id);
|
|
6587
|
+
if (element) {
|
|
6588
|
+
element.scrollIntoView({
|
|
6589
|
+
behavior: "smooth",
|
|
6590
|
+
block: "start"
|
|
6591
|
+
});
|
|
6592
|
+
}
|
|
6593
|
+
},
|
|
6636
6594
|
children: [
|
|
6637
6595
|
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(import_material53.ListItemText, { primary: item }),
|
|
6638
|
-
(warningItems?.includes(item) || warningItems?.includes(id)) && /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(import_material53.Tooltip, { title: warningMessage, children: /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
|
|
6596
|
+
(warningItems?.includes(item) || warningItems?.includes(id)) && /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(import_material53.Tooltip, { title: warningMessage, children: /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(import_icons_material8.WarningAmber, { color: "warning" }) })
|
|
6639
6597
|
]
|
|
6640
6598
|
},
|
|
6641
6599
|
id
|
|
@@ -6883,7 +6841,7 @@ var import_mui45 = require("tss-react/mui");
|
|
|
6883
6841
|
// src/components/SearchWithFilters/SearchWithFilters.tsx
|
|
6884
6842
|
var import_react31 = require("react");
|
|
6885
6843
|
var React6 = __toESM(require("react"), 1);
|
|
6886
|
-
var
|
|
6844
|
+
var import_icons_material9 = require("@mui/icons-material");
|
|
6887
6845
|
var import_material56 = require("@mui/material");
|
|
6888
6846
|
var import_mui44 = require("tss-react/mui");
|
|
6889
6847
|
var import_jsx_runtime109 = require("react/jsx-runtime");
|
|
@@ -6947,7 +6905,7 @@ var SearchWithFilters = ({
|
|
|
6947
6905
|
setSearchText(searchValue);
|
|
6948
6906
|
}, [searchValue]);
|
|
6949
6907
|
return /* @__PURE__ */ (0, import_jsx_runtime109.jsxs)(import_material56.Paper, { className: classes.searchContainer, children: [
|
|
6950
|
-
/* @__PURE__ */ (0, import_jsx_runtime109.jsx)(
|
|
6908
|
+
/* @__PURE__ */ (0, import_jsx_runtime109.jsx)(import_icons_material9.Search, { className: classes.icon, fontSize: "small" }),
|
|
6951
6909
|
/* @__PURE__ */ (0, import_jsx_runtime109.jsx)(
|
|
6952
6910
|
import_material56.InputBase,
|
|
6953
6911
|
{
|
|
@@ -6969,7 +6927,7 @@ var SearchWithFilters = ({
|
|
|
6969
6927
|
disabled,
|
|
6970
6928
|
children: [
|
|
6971
6929
|
"Filters",
|
|
6972
|
-
showFilters ? /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(
|
|
6930
|
+
showFilters ? /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(import_icons_material9.ArrowDropUp, {}) : /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(import_icons_material9.ArrowDropDown, {})
|
|
6973
6931
|
]
|
|
6974
6932
|
}
|
|
6975
6933
|
)
|
|
@@ -7044,7 +7002,7 @@ var import_mui47 = require("tss-react/mui");
|
|
|
7044
7002
|
|
|
7045
7003
|
// src/components/SearchWithFilters/SearchWithFiltersForTable.tsx
|
|
7046
7004
|
var import_react32 = require("react");
|
|
7047
|
-
var
|
|
7005
|
+
var import_icons_material10 = require("@mui/icons-material");
|
|
7048
7006
|
var import_material58 = require("@mui/material");
|
|
7049
7007
|
var import_mui46 = require("tss-react/mui");
|
|
7050
7008
|
var import_jsx_runtime111 = require("react/jsx-runtime");
|
|
@@ -7121,9 +7079,9 @@ var SearchWithFiltersForTable = (props) => {
|
|
|
7121
7079
|
enterPressedInSearch();
|
|
7122
7080
|
}
|
|
7123
7081
|
};
|
|
7124
|
-
const ArrowIcon = isOpen ?
|
|
7082
|
+
const ArrowIcon = isOpen ? import_icons_material10.ArrowDropUp : import_icons_material10.ArrowDropDown;
|
|
7125
7083
|
return /* @__PURE__ */ (0, import_jsx_runtime111.jsxs)(import_material58.Paper, { className: classes.c_search, children: [
|
|
7126
|
-
/* @__PURE__ */ (0, import_jsx_runtime111.jsx)(import_material58.Box, { className: classes.c_search__icon, children: /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(
|
|
7084
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsx)(import_material58.Box, { className: classes.c_search__icon, children: /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(import_icons_material10.Search, { className: classes.icon, fontSize: "small" }) }),
|
|
7127
7085
|
/* @__PURE__ */ (0, import_jsx_runtime111.jsx)(
|
|
7128
7086
|
import_material58.InputBase,
|
|
7129
7087
|
{
|
|
@@ -7257,8 +7215,7 @@ var SearchHeader = (0, import_react33.memo)(
|
|
|
7257
7215
|
);
|
|
7258
7216
|
|
|
7259
7217
|
// src/components/SectionName/SectionName.tsx
|
|
7260
|
-
var
|
|
7261
|
-
var import_Info = __toESM(require("@mui/icons-material/Info"), 1);
|
|
7218
|
+
var import_icons_material11 = require("@mui/icons-material");
|
|
7262
7219
|
var import_material61 = require("@mui/material");
|
|
7263
7220
|
var import_mui48 = require("tss-react/mui");
|
|
7264
7221
|
var import_jsx_runtime114 = require("react/jsx-runtime");
|
|
@@ -7304,32 +7261,20 @@ var SectionName = ({
|
|
|
7304
7261
|
openHistoryLog
|
|
7305
7262
|
}) => {
|
|
7306
7263
|
const { classes } = useStyles43();
|
|
7307
|
-
const handleScroll = (e) => {
|
|
7308
|
-
e.preventDefault();
|
|
7309
|
-
if (sectionId) {
|
|
7310
|
-
const targetId = sectionId.startsWith("#") ? sectionId.slice(1) : sectionId;
|
|
7311
|
-
const element = document.getElementById(targetId);
|
|
7312
|
-
if (element) {
|
|
7313
|
-
element.scrollIntoView({
|
|
7314
|
-
behavior: "smooth",
|
|
7315
|
-
block: "start"
|
|
7316
|
-
});
|
|
7317
|
-
}
|
|
7318
|
-
}
|
|
7319
|
-
};
|
|
7320
7264
|
return /* @__PURE__ */ (0, import_jsx_runtime114.jsxs)(import_material61.Box, { className: classes.container, children: [
|
|
7321
7265
|
/* @__PURE__ */ (0, import_jsx_runtime114.jsxs)(import_material61.Box, { className: classes.titleContainer, children: [
|
|
7322
7266
|
/* @__PURE__ */ (0, import_jsx_runtime114.jsx)(
|
|
7323
7267
|
import_material61.Typography,
|
|
7324
7268
|
{
|
|
7325
7269
|
variant: "h5",
|
|
7326
|
-
|
|
7270
|
+
component: "a",
|
|
7271
|
+
href: sectionId,
|
|
7327
7272
|
className: classes.typography,
|
|
7328
7273
|
children: name
|
|
7329
7274
|
}
|
|
7330
7275
|
),
|
|
7331
7276
|
tooltipDescription ? /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(import_material61.Tooltip, { title: tooltipDescription, placement: "right", children: /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(
|
|
7332
|
-
|
|
7277
|
+
import_icons_material11.Info,
|
|
7333
7278
|
{
|
|
7334
7279
|
fontSize: "small",
|
|
7335
7280
|
"data-testid": "InfoIcon",
|
|
@@ -7352,7 +7297,7 @@ var SectionName = ({
|
|
|
7352
7297
|
}
|
|
7353
7298
|
) : null,
|
|
7354
7299
|
openHistoryLog && buttonText && /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(import_material61.Divider, { orientation: "vertical", sx: { height: "24px" } }),
|
|
7355
|
-
openHistoryLog && /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(import_material61.IconButton, { size: "small", onClick: () => openHistoryLog(), children: /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(
|
|
7300
|
+
openHistoryLog && /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(import_material61.IconButton, { size: "small", onClick: () => openHistoryLog(), children: /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(import_icons_material11.History, {}) })
|
|
7356
7301
|
] })
|
|
7357
7302
|
] });
|
|
7358
7303
|
};
|
|
@@ -8500,12 +8445,12 @@ var TableDesktop = ({
|
|
|
8500
8445
|
setIsBulkChangesMode(checked);
|
|
8501
8446
|
if (!checked) {
|
|
8502
8447
|
resetSelectedRows();
|
|
8503
|
-
refetchData?.();
|
|
8504
8448
|
}
|
|
8505
8449
|
};
|
|
8506
8450
|
(0, import_react41.useEffect)(() => {
|
|
8507
8451
|
if (isRowsFromAllPagesSelected) {
|
|
8508
8452
|
selectAllRowsInPage();
|
|
8453
|
+
selectAllRowsInPage();
|
|
8509
8454
|
}
|
|
8510
8455
|
}, [isRowsFromAllPagesSelected, data]);
|
|
8511
8456
|
const renderBody = () => {
|
|
@@ -9224,7 +9169,6 @@ var TableDesktopToolbar = ({
|
|
|
9224
9169
|
disableBulkChangesMode = false,
|
|
9225
9170
|
isBulkChangesMode,
|
|
9226
9171
|
onChangeBulkChangesMode,
|
|
9227
|
-
onActivateBulkChangesMode,
|
|
9228
9172
|
refetchData,
|
|
9229
9173
|
renderExportCsvDialog,
|
|
9230
9174
|
renderBulkChangesDialog,
|
|
@@ -9249,8 +9193,8 @@ var TableDesktopToolbar = ({
|
|
|
9249
9193
|
const handleChangeBulkChangesMode = (_, checked) => {
|
|
9250
9194
|
setBulkChanges([]);
|
|
9251
9195
|
onChangeBulkChangesMode(checked);
|
|
9252
|
-
if (checked) {
|
|
9253
|
-
|
|
9196
|
+
if (!checked) {
|
|
9197
|
+
refetchData?.();
|
|
9254
9198
|
}
|
|
9255
9199
|
};
|
|
9256
9200
|
const handleUpdateEditableCell = ({
|
|
@@ -9457,7 +9401,7 @@ var TableDesktopToolbar = ({
|
|
|
9457
9401
|
|
|
9458
9402
|
// src/components/TableHeader/TableHeader.tsx
|
|
9459
9403
|
var import_react48 = require("react");
|
|
9460
|
-
var
|
|
9404
|
+
var import_icons_material12 = require("@mui/icons-material");
|
|
9461
9405
|
var import_material80 = require("@mui/material");
|
|
9462
9406
|
var import_mui53 = require("tss-react/mui");
|
|
9463
9407
|
var import_jsx_runtime137 = require("react/jsx-runtime");
|
|
@@ -9510,7 +9454,7 @@ var TableHeader = ({ cells, onSort = null }) => {
|
|
|
9510
9454
|
{
|
|
9511
9455
|
className: classes.sortLabel,
|
|
9512
9456
|
direction: cell?.direction || "asc",
|
|
9513
|
-
IconComponent:
|
|
9457
|
+
IconComponent: import_icons_material12.ImportExport,
|
|
9514
9458
|
onClick: () => handleSortClick(cell),
|
|
9515
9459
|
children: cell.label
|
|
9516
9460
|
}
|