@natoora-libs/core 0.2.46 → 0.2.48-dev-doug-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/index.cjs +9 -308
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.d.cts +1 -3
- package/dist/components/index.d.ts +1 -3
- package/dist/components/index.js +79 -379
- package/dist/components/index.js.map +1 -1
- package/dist/hooks/index.js +0 -1
- package/dist/index.js +0 -2
- package/dist/index.js.map +1 -1
- package/dist/providers/index.js +0 -1
- package/dist/providers/index.js.map +1 -1
- package/dist/utils/index.js +0 -1
- package/package.json +9 -15
- package/dist/chunk-5WRI5ZAA.js +0 -31
- package/dist/chunk-5WRI5ZAA.js.map +0 -1
package/dist/components/index.js
CHANGED
|
@@ -10,295 +10,6 @@ import {
|
|
|
10
10
|
getFlattenedFiltersLabels,
|
|
11
11
|
getSelectOptionFromKeyPress
|
|
12
12
|
} from "../chunk-3UDYWCV6.js";
|
|
13
|
-
import {
|
|
14
|
-
__commonJS,
|
|
15
|
-
__toESM
|
|
16
|
-
} from "../chunk-5WRI5ZAA.js";
|
|
17
|
-
|
|
18
|
-
// ../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/isObject.js
|
|
19
|
-
var require_isObject = __commonJS({
|
|
20
|
-
"../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/isObject.js"(exports, module) {
|
|
21
|
-
function isObject(value) {
|
|
22
|
-
var type = typeof value;
|
|
23
|
-
return value != null && (type == "object" || type == "function");
|
|
24
|
-
}
|
|
25
|
-
module.exports = isObject;
|
|
26
|
-
}
|
|
27
|
-
});
|
|
28
|
-
|
|
29
|
-
// ../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_freeGlobal.js
|
|
30
|
-
var require_freeGlobal = __commonJS({
|
|
31
|
-
"../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_freeGlobal.js"(exports, module) {
|
|
32
|
-
var freeGlobal = typeof global == "object" && global && global.Object === Object && global;
|
|
33
|
-
module.exports = freeGlobal;
|
|
34
|
-
}
|
|
35
|
-
});
|
|
36
|
-
|
|
37
|
-
// ../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_root.js
|
|
38
|
-
var require_root = __commonJS({
|
|
39
|
-
"../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_root.js"(exports, module) {
|
|
40
|
-
var freeGlobal = require_freeGlobal();
|
|
41
|
-
var freeSelf = typeof self == "object" && self && self.Object === Object && self;
|
|
42
|
-
var root = freeGlobal || freeSelf || Function("return this")();
|
|
43
|
-
module.exports = root;
|
|
44
|
-
}
|
|
45
|
-
});
|
|
46
|
-
|
|
47
|
-
// ../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/now.js
|
|
48
|
-
var require_now = __commonJS({
|
|
49
|
-
"../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/now.js"(exports, module) {
|
|
50
|
-
var root = require_root();
|
|
51
|
-
var now = function() {
|
|
52
|
-
return root.Date.now();
|
|
53
|
-
};
|
|
54
|
-
module.exports = now;
|
|
55
|
-
}
|
|
56
|
-
});
|
|
57
|
-
|
|
58
|
-
// ../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_trimmedEndIndex.js
|
|
59
|
-
var require_trimmedEndIndex = __commonJS({
|
|
60
|
-
"../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_trimmedEndIndex.js"(exports, module) {
|
|
61
|
-
var reWhitespace = /\s/;
|
|
62
|
-
function trimmedEndIndex(string) {
|
|
63
|
-
var index = string.length;
|
|
64
|
-
while (index-- && reWhitespace.test(string.charAt(index))) {
|
|
65
|
-
}
|
|
66
|
-
return index;
|
|
67
|
-
}
|
|
68
|
-
module.exports = trimmedEndIndex;
|
|
69
|
-
}
|
|
70
|
-
});
|
|
71
|
-
|
|
72
|
-
// ../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseTrim.js
|
|
73
|
-
var require_baseTrim = __commonJS({
|
|
74
|
-
"../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseTrim.js"(exports, module) {
|
|
75
|
-
var trimmedEndIndex = require_trimmedEndIndex();
|
|
76
|
-
var reTrimStart = /^\s+/;
|
|
77
|
-
function baseTrim(string) {
|
|
78
|
-
return string ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, "") : string;
|
|
79
|
-
}
|
|
80
|
-
module.exports = baseTrim;
|
|
81
|
-
}
|
|
82
|
-
});
|
|
83
|
-
|
|
84
|
-
// ../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_Symbol.js
|
|
85
|
-
var require_Symbol = __commonJS({
|
|
86
|
-
"../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_Symbol.js"(exports, module) {
|
|
87
|
-
var root = require_root();
|
|
88
|
-
var Symbol = root.Symbol;
|
|
89
|
-
module.exports = Symbol;
|
|
90
|
-
}
|
|
91
|
-
});
|
|
92
|
-
|
|
93
|
-
// ../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_getRawTag.js
|
|
94
|
-
var require_getRawTag = __commonJS({
|
|
95
|
-
"../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_getRawTag.js"(exports, module) {
|
|
96
|
-
var Symbol = require_Symbol();
|
|
97
|
-
var objectProto = Object.prototype;
|
|
98
|
-
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
99
|
-
var nativeObjectToString = objectProto.toString;
|
|
100
|
-
var symToStringTag = Symbol ? Symbol.toStringTag : void 0;
|
|
101
|
-
function getRawTag(value) {
|
|
102
|
-
var isOwn = hasOwnProperty.call(value, symToStringTag), tag = value[symToStringTag];
|
|
103
|
-
try {
|
|
104
|
-
value[symToStringTag] = void 0;
|
|
105
|
-
var unmasked = true;
|
|
106
|
-
} catch (e) {
|
|
107
|
-
}
|
|
108
|
-
var result = nativeObjectToString.call(value);
|
|
109
|
-
if (unmasked) {
|
|
110
|
-
if (isOwn) {
|
|
111
|
-
value[symToStringTag] = tag;
|
|
112
|
-
} else {
|
|
113
|
-
delete value[symToStringTag];
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
return result;
|
|
117
|
-
}
|
|
118
|
-
module.exports = getRawTag;
|
|
119
|
-
}
|
|
120
|
-
});
|
|
121
|
-
|
|
122
|
-
// ../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_objectToString.js
|
|
123
|
-
var require_objectToString = __commonJS({
|
|
124
|
-
"../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_objectToString.js"(exports, module) {
|
|
125
|
-
var objectProto = Object.prototype;
|
|
126
|
-
var nativeObjectToString = objectProto.toString;
|
|
127
|
-
function objectToString(value) {
|
|
128
|
-
return nativeObjectToString.call(value);
|
|
129
|
-
}
|
|
130
|
-
module.exports = objectToString;
|
|
131
|
-
}
|
|
132
|
-
});
|
|
133
|
-
|
|
134
|
-
// ../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseGetTag.js
|
|
135
|
-
var require_baseGetTag = __commonJS({
|
|
136
|
-
"../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseGetTag.js"(exports, module) {
|
|
137
|
-
var Symbol = require_Symbol();
|
|
138
|
-
var getRawTag = require_getRawTag();
|
|
139
|
-
var objectToString = require_objectToString();
|
|
140
|
-
var nullTag = "[object Null]";
|
|
141
|
-
var undefinedTag = "[object Undefined]";
|
|
142
|
-
var symToStringTag = Symbol ? Symbol.toStringTag : void 0;
|
|
143
|
-
function baseGetTag(value) {
|
|
144
|
-
if (value == null) {
|
|
145
|
-
return value === void 0 ? undefinedTag : nullTag;
|
|
146
|
-
}
|
|
147
|
-
return symToStringTag && symToStringTag in Object(value) ? getRawTag(value) : objectToString(value);
|
|
148
|
-
}
|
|
149
|
-
module.exports = baseGetTag;
|
|
150
|
-
}
|
|
151
|
-
});
|
|
152
|
-
|
|
153
|
-
// ../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/isObjectLike.js
|
|
154
|
-
var require_isObjectLike = __commonJS({
|
|
155
|
-
"../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/isObjectLike.js"(exports, module) {
|
|
156
|
-
function isObjectLike(value) {
|
|
157
|
-
return value != null && typeof value == "object";
|
|
158
|
-
}
|
|
159
|
-
module.exports = isObjectLike;
|
|
160
|
-
}
|
|
161
|
-
});
|
|
162
|
-
|
|
163
|
-
// ../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/isSymbol.js
|
|
164
|
-
var require_isSymbol = __commonJS({
|
|
165
|
-
"../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/isSymbol.js"(exports, module) {
|
|
166
|
-
var baseGetTag = require_baseGetTag();
|
|
167
|
-
var isObjectLike = require_isObjectLike();
|
|
168
|
-
var symbolTag = "[object Symbol]";
|
|
169
|
-
function isSymbol(value) {
|
|
170
|
-
return typeof value == "symbol" || isObjectLike(value) && baseGetTag(value) == symbolTag;
|
|
171
|
-
}
|
|
172
|
-
module.exports = isSymbol;
|
|
173
|
-
}
|
|
174
|
-
});
|
|
175
|
-
|
|
176
|
-
// ../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/toNumber.js
|
|
177
|
-
var require_toNumber = __commonJS({
|
|
178
|
-
"../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/toNumber.js"(exports, module) {
|
|
179
|
-
var baseTrim = require_baseTrim();
|
|
180
|
-
var isObject = require_isObject();
|
|
181
|
-
var isSymbol = require_isSymbol();
|
|
182
|
-
var NAN = 0 / 0;
|
|
183
|
-
var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;
|
|
184
|
-
var reIsBinary = /^0b[01]+$/i;
|
|
185
|
-
var reIsOctal = /^0o[0-7]+$/i;
|
|
186
|
-
var freeParseInt = parseInt;
|
|
187
|
-
function toNumber(value) {
|
|
188
|
-
if (typeof value == "number") {
|
|
189
|
-
return value;
|
|
190
|
-
}
|
|
191
|
-
if (isSymbol(value)) {
|
|
192
|
-
return NAN;
|
|
193
|
-
}
|
|
194
|
-
if (isObject(value)) {
|
|
195
|
-
var other = typeof value.valueOf == "function" ? value.valueOf() : value;
|
|
196
|
-
value = isObject(other) ? other + "" : other;
|
|
197
|
-
}
|
|
198
|
-
if (typeof value != "string") {
|
|
199
|
-
return value === 0 ? value : +value;
|
|
200
|
-
}
|
|
201
|
-
value = baseTrim(value);
|
|
202
|
-
var isBinary = reIsBinary.test(value);
|
|
203
|
-
return isBinary || reIsOctal.test(value) ? freeParseInt(value.slice(2), isBinary ? 2 : 8) : reIsBadHex.test(value) ? NAN : +value;
|
|
204
|
-
}
|
|
205
|
-
module.exports = toNumber;
|
|
206
|
-
}
|
|
207
|
-
});
|
|
208
|
-
|
|
209
|
-
// ../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/debounce.js
|
|
210
|
-
var require_debounce = __commonJS({
|
|
211
|
-
"../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/debounce.js"(exports, module) {
|
|
212
|
-
var isObject = require_isObject();
|
|
213
|
-
var now = require_now();
|
|
214
|
-
var toNumber = require_toNumber();
|
|
215
|
-
var FUNC_ERROR_TEXT = "Expected a function";
|
|
216
|
-
var nativeMax = Math.max;
|
|
217
|
-
var nativeMin = Math.min;
|
|
218
|
-
function debounce2(func, wait, options) {
|
|
219
|
-
var lastArgs, lastThis, maxWait, result, timerId, lastCallTime, lastInvokeTime = 0, leading = false, maxing = false, trailing = true;
|
|
220
|
-
if (typeof func != "function") {
|
|
221
|
-
throw new TypeError(FUNC_ERROR_TEXT);
|
|
222
|
-
}
|
|
223
|
-
wait = toNumber(wait) || 0;
|
|
224
|
-
if (isObject(options)) {
|
|
225
|
-
leading = !!options.leading;
|
|
226
|
-
maxing = "maxWait" in options;
|
|
227
|
-
maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;
|
|
228
|
-
trailing = "trailing" in options ? !!options.trailing : trailing;
|
|
229
|
-
}
|
|
230
|
-
function invokeFunc(time) {
|
|
231
|
-
var args = lastArgs, thisArg = lastThis;
|
|
232
|
-
lastArgs = lastThis = void 0;
|
|
233
|
-
lastInvokeTime = time;
|
|
234
|
-
result = func.apply(thisArg, args);
|
|
235
|
-
return result;
|
|
236
|
-
}
|
|
237
|
-
function leadingEdge(time) {
|
|
238
|
-
lastInvokeTime = time;
|
|
239
|
-
timerId = setTimeout(timerExpired, wait);
|
|
240
|
-
return leading ? invokeFunc(time) : result;
|
|
241
|
-
}
|
|
242
|
-
function remainingWait(time) {
|
|
243
|
-
var timeSinceLastCall = time - lastCallTime, timeSinceLastInvoke = time - lastInvokeTime, timeWaiting = wait - timeSinceLastCall;
|
|
244
|
-
return maxing ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke) : timeWaiting;
|
|
245
|
-
}
|
|
246
|
-
function shouldInvoke(time) {
|
|
247
|
-
var timeSinceLastCall = time - lastCallTime, timeSinceLastInvoke = time - lastInvokeTime;
|
|
248
|
-
return lastCallTime === void 0 || timeSinceLastCall >= wait || timeSinceLastCall < 0 || maxing && timeSinceLastInvoke >= maxWait;
|
|
249
|
-
}
|
|
250
|
-
function timerExpired() {
|
|
251
|
-
var time = now();
|
|
252
|
-
if (shouldInvoke(time)) {
|
|
253
|
-
return trailingEdge(time);
|
|
254
|
-
}
|
|
255
|
-
timerId = setTimeout(timerExpired, remainingWait(time));
|
|
256
|
-
}
|
|
257
|
-
function trailingEdge(time) {
|
|
258
|
-
timerId = void 0;
|
|
259
|
-
if (trailing && lastArgs) {
|
|
260
|
-
return invokeFunc(time);
|
|
261
|
-
}
|
|
262
|
-
lastArgs = lastThis = void 0;
|
|
263
|
-
return result;
|
|
264
|
-
}
|
|
265
|
-
function cancel() {
|
|
266
|
-
if (timerId !== void 0) {
|
|
267
|
-
clearTimeout(timerId);
|
|
268
|
-
}
|
|
269
|
-
lastInvokeTime = 0;
|
|
270
|
-
lastArgs = lastCallTime = lastThis = timerId = void 0;
|
|
271
|
-
}
|
|
272
|
-
function flush() {
|
|
273
|
-
return timerId === void 0 ? result : trailingEdge(now());
|
|
274
|
-
}
|
|
275
|
-
function debounced() {
|
|
276
|
-
var time = now(), isInvoking = shouldInvoke(time);
|
|
277
|
-
lastArgs = arguments;
|
|
278
|
-
lastThis = this;
|
|
279
|
-
lastCallTime = time;
|
|
280
|
-
if (isInvoking) {
|
|
281
|
-
if (timerId === void 0) {
|
|
282
|
-
return leadingEdge(lastCallTime);
|
|
283
|
-
}
|
|
284
|
-
if (maxing) {
|
|
285
|
-
clearTimeout(timerId);
|
|
286
|
-
timerId = setTimeout(timerExpired, wait);
|
|
287
|
-
return invokeFunc(lastCallTime);
|
|
288
|
-
}
|
|
289
|
-
}
|
|
290
|
-
if (timerId === void 0) {
|
|
291
|
-
timerId = setTimeout(timerExpired, wait);
|
|
292
|
-
}
|
|
293
|
-
return result;
|
|
294
|
-
}
|
|
295
|
-
debounced.cancel = cancel;
|
|
296
|
-
debounced.flush = flush;
|
|
297
|
-
return debounced;
|
|
298
|
-
}
|
|
299
|
-
module.exports = debounce2;
|
|
300
|
-
}
|
|
301
|
-
});
|
|
302
13
|
|
|
303
14
|
// src/components/ActiveFiltersIconButton/ActiveFiltersIconButton.tsx
|
|
304
15
|
import { memo } from "react";
|
|
@@ -6669,7 +6380,7 @@ var NumpadPlus = ({ handleClick, handleUndo }) => {
|
|
|
6669
6380
|
var NumpadPlus_default = NumpadPlus;
|
|
6670
6381
|
|
|
6671
6382
|
// src/components/Pagination/Pagination.tsx
|
|
6672
|
-
import { Pagination, Paper as Paper5, Typography as Typography22
|
|
6383
|
+
import { Pagination, Paper as Paper5, Typography as Typography22 } from "@mui/material";
|
|
6673
6384
|
import { makeStyles as makeStyles33 } from "tss-react/mui";
|
|
6674
6385
|
import { jsx as jsx106, jsxs as jsxs69 } from "react/jsx-runtime";
|
|
6675
6386
|
var paginationHeight = "56px";
|
|
@@ -6684,18 +6395,11 @@ var useStyles33 = makeStyles33()((theme) => ({
|
|
|
6684
6395
|
borderRadius: "0 0 4px 4px",
|
|
6685
6396
|
width: "100%",
|
|
6686
6397
|
height: paginationHeight,
|
|
6687
|
-
overflow: "hidden",
|
|
6688
6398
|
"& > *": {
|
|
6689
6399
|
margin: theme.spacing(2)
|
|
6690
6400
|
},
|
|
6691
|
-
"& .
|
|
6692
|
-
|
|
6693
|
-
},
|
|
6694
|
-
"& .MuiPagination-ul": {
|
|
6695
|
-
flexWrap: "nowrap"
|
|
6696
|
-
},
|
|
6697
|
-
"& .MuiPaginationItem-root": {
|
|
6698
|
-
flexShrink: 0
|
|
6401
|
+
"& .MuiTypography-body1": {
|
|
6402
|
+
fontSize: ".850rem"
|
|
6699
6403
|
}
|
|
6700
6404
|
},
|
|
6701
6405
|
fixed: {
|
|
@@ -6715,9 +6419,7 @@ var PaginationForTable = ({
|
|
|
6715
6419
|
pagination,
|
|
6716
6420
|
position = "relative",
|
|
6717
6421
|
style,
|
|
6718
|
-
updateFilters
|
|
6719
|
-
siblingCount = 1,
|
|
6720
|
-
boundaryCount = 1
|
|
6422
|
+
updateFilters
|
|
6721
6423
|
}) => {
|
|
6722
6424
|
const { classes, cx } = useStyles33();
|
|
6723
6425
|
const handleChange = (event, value) => {
|
|
@@ -6725,7 +6427,7 @@ var PaginationForTable = ({
|
|
|
6725
6427
|
};
|
|
6726
6428
|
const isFixed = position === "fixed";
|
|
6727
6429
|
return /* @__PURE__ */ jsx106(Paper5, { children: /* @__PURE__ */ jsxs69(
|
|
6728
|
-
|
|
6430
|
+
"div",
|
|
6729
6431
|
{
|
|
6730
6432
|
style,
|
|
6731
6433
|
className: cx(classes.root, className, {
|
|
@@ -6736,16 +6438,14 @@ var PaginationForTable = ({
|
|
|
6736
6438
|
"Page: ",
|
|
6737
6439
|
page
|
|
6738
6440
|
] }),
|
|
6739
|
-
/* @__PURE__ */ jsx106(
|
|
6441
|
+
/* @__PURE__ */ jsx106(
|
|
6740
6442
|
Pagination,
|
|
6741
6443
|
{
|
|
6742
6444
|
count: pagination.num_pages,
|
|
6743
|
-
page
|
|
6744
|
-
onChange: handleChange
|
|
6745
|
-
siblingCount,
|
|
6746
|
-
boundaryCount
|
|
6445
|
+
page,
|
|
6446
|
+
onChange: handleChange
|
|
6747
6447
|
}
|
|
6748
|
-
)
|
|
6448
|
+
)
|
|
6749
6449
|
]
|
|
6750
6450
|
}
|
|
6751
6451
|
) });
|
|
@@ -7284,7 +6984,7 @@ var ProductBust = withStyles4(PBust, (theme) => ({
|
|
|
7284
6984
|
var ProductBust_default = ProductBust;
|
|
7285
6985
|
|
|
7286
6986
|
// src/components/RenderAvatar/RenderAvatar.tsx
|
|
7287
|
-
import { Avatar, Badge, Box as
|
|
6987
|
+
import { Avatar, Badge, Box as Box33, Typography as Typography25 } from "@mui/material";
|
|
7288
6988
|
import { withStyles as withStyles5 } from "tss-react/mui";
|
|
7289
6989
|
import { jsx as jsx110, jsxs as jsxs73 } from "react/jsx-runtime";
|
|
7290
6990
|
var RenderAvatar = ({ active }) => {
|
|
@@ -7296,7 +6996,7 @@ var RenderAvatar = ({ active }) => {
|
|
|
7296
6996
|
}
|
|
7297
6997
|
}));
|
|
7298
6998
|
return /* @__PURE__ */ jsxs73(
|
|
7299
|
-
|
|
6999
|
+
Box33,
|
|
7300
7000
|
{
|
|
7301
7001
|
sx: { display: "flex", flexDirection: "column", alignItems: "center" },
|
|
7302
7002
|
children: [
|
|
@@ -7462,7 +7162,7 @@ var RenderContentList = ({
|
|
|
7462
7162
|
var RenderContentList_default = RenderContentList;
|
|
7463
7163
|
|
|
7464
7164
|
// src/components/RowProductCard/RowProductCard.tsx
|
|
7465
|
-
import { Box as
|
|
7165
|
+
import { Box as Box34, Divider as Divider6, Paper as Paper6, Typography as Typography26 } from "@mui/material";
|
|
7466
7166
|
import { makeStyles as makeStyles36 } from "tss-react/mui";
|
|
7467
7167
|
import { Fragment as Fragment11, jsx as jsx112, jsxs as jsxs75 } from "react/jsx-runtime";
|
|
7468
7168
|
var useStyles36 = makeStyles36()((theme) => ({
|
|
@@ -7520,7 +7220,7 @@ var RowProductCard = ({
|
|
|
7520
7220
|
}),
|
|
7521
7221
|
children: [
|
|
7522
7222
|
/* @__PURE__ */ jsxs75(
|
|
7523
|
-
|
|
7223
|
+
Box34,
|
|
7524
7224
|
{
|
|
7525
7225
|
className: classes.upperRow,
|
|
7526
7226
|
sx: {
|
|
@@ -7540,7 +7240,7 @@ var RowProductCard = ({
|
|
|
7540
7240
|
hasColumns ? /* @__PURE__ */ jsxs75(Fragment11, { children: [
|
|
7541
7241
|
/* @__PURE__ */ jsx112(Divider6, { className: classes.divider }),
|
|
7542
7242
|
/* @__PURE__ */ jsx112(
|
|
7543
|
-
|
|
7243
|
+
Box34,
|
|
7544
7244
|
{
|
|
7545
7245
|
sx: {
|
|
7546
7246
|
display: "flex",
|
|
@@ -7562,7 +7262,7 @@ var RowProductCard_default = RowProductCard;
|
|
|
7562
7262
|
|
|
7563
7263
|
// src/components/ScrollableDialog/ScrollableDialog.tsx
|
|
7564
7264
|
import { useEffect as useEffect10, useRef as useRef7, useState as useState13 } from "react";
|
|
7565
|
-
import { Box as
|
|
7265
|
+
import { Box as Box35, Dialog as Dialog4, Divider as Divider7, Fade, Paper as Paper7, Typography as Typography27 } from "@mui/material";
|
|
7566
7266
|
import { makeStyles as makeStyles37 } from "tss-react/mui";
|
|
7567
7267
|
import { jsx as jsx113, jsxs as jsxs76 } from "react/jsx-runtime";
|
|
7568
7268
|
var useStyles37 = makeStyles37()((theme) => ({
|
|
@@ -7674,7 +7374,7 @@ var ScrollableDialog = ({
|
|
|
7674
7374
|
] }),
|
|
7675
7375
|
/* @__PURE__ */ jsx113(Divider7, {}),
|
|
7676
7376
|
footer ? /* @__PURE__ */ jsx113(
|
|
7677
|
-
|
|
7377
|
+
Box35,
|
|
7678
7378
|
{
|
|
7679
7379
|
className: classes.footer,
|
|
7680
7380
|
id: "dialog-footer",
|
|
@@ -7692,7 +7392,7 @@ var ScrollableDialog = ({
|
|
|
7692
7392
|
var ScrollableDialog_default = ScrollableDialog;
|
|
7693
7393
|
|
|
7694
7394
|
// src/components/SearchAndFilterHeader/SearchAndFilterHeader.tsx
|
|
7695
|
-
import { Box as
|
|
7395
|
+
import { Box as Box36, Paper as Paper9 } from "@mui/material";
|
|
7696
7396
|
import { makeStyles as makeStyles39 } from "tss-react/mui";
|
|
7697
7397
|
|
|
7698
7398
|
// src/components/SearchWithFilters/SearchWithFilters.tsx
|
|
@@ -7833,9 +7533,9 @@ var SearchAndFilterHeader = ({
|
|
|
7833
7533
|
searchValue
|
|
7834
7534
|
}) => {
|
|
7835
7535
|
const { classes } = useStyles39();
|
|
7836
|
-
return /* @__PURE__ */ jsx115(Paper9, { children: /* @__PURE__ */ jsxs78(
|
|
7837
|
-
/* @__PURE__ */ jsxs78(
|
|
7838
|
-
/* @__PURE__ */ jsxs78(
|
|
7536
|
+
return /* @__PURE__ */ jsx115(Paper9, { children: /* @__PURE__ */ jsxs78(Box36, { className: classes.wrapper, children: [
|
|
7537
|
+
/* @__PURE__ */ jsxs78(Box36, { className: classes.container, children: [
|
|
7538
|
+
/* @__PURE__ */ jsxs78(Box36, { className: classes.leftSection, children: [
|
|
7839
7539
|
/* @__PURE__ */ jsx115(AppLabel_default, { appName }),
|
|
7840
7540
|
/* @__PURE__ */ jsx115(
|
|
7841
7541
|
SearchWithFilters_default,
|
|
@@ -7848,9 +7548,9 @@ var SearchAndFilterHeader = ({
|
|
|
7848
7548
|
}
|
|
7849
7549
|
)
|
|
7850
7550
|
] }),
|
|
7851
|
-
/* @__PURE__ */ jsx115(
|
|
7551
|
+
/* @__PURE__ */ jsx115(Box36, { children: extraButton })
|
|
7852
7552
|
] }),
|
|
7853
|
-
showFilters ? /* @__PURE__ */ jsx115(
|
|
7553
|
+
showFilters ? /* @__PURE__ */ jsx115(Box36, { children: filtersComponent }) : null,
|
|
7854
7554
|
appliedFiltersComponent
|
|
7855
7555
|
] }) });
|
|
7856
7556
|
};
|
|
@@ -7858,7 +7558,7 @@ var SearchAndFilterHeader_default = SearchAndFilterHeader;
|
|
|
7858
7558
|
|
|
7859
7559
|
// src/components/SearchAndFilterHeader/SearchAndFilterHeaderForTable.tsx
|
|
7860
7560
|
import * as React7 from "react";
|
|
7861
|
-
import { Box as
|
|
7561
|
+
import { Box as Box38 } from "@mui/material";
|
|
7862
7562
|
import { makeStyles as makeStyles41 } from "tss-react/mui";
|
|
7863
7563
|
|
|
7864
7564
|
// src/components/SearchWithFilters/SearchWithFiltersForTable.tsx
|
|
@@ -7868,7 +7568,7 @@ import {
|
|
|
7868
7568
|
ArrowDropUp as ArrowDropUpIcon2,
|
|
7869
7569
|
Search as SearchIcon2
|
|
7870
7570
|
} from "@mui/icons-material";
|
|
7871
|
-
import { Box as
|
|
7571
|
+
import { Box as Box37, Button as Button15, Divider as Divider9, InputBase as InputBase3, Paper as Paper10 } from "@mui/material";
|
|
7872
7572
|
import { makeStyles as makeStyles40 } from "tss-react/mui";
|
|
7873
7573
|
import { Fragment as Fragment12, jsx as jsx116, jsxs as jsxs79 } from "react/jsx-runtime";
|
|
7874
7574
|
var useStyles40 = makeStyles40()((theme) => ({
|
|
@@ -7946,7 +7646,7 @@ var SearchWithFiltersForTable = (props) => {
|
|
|
7946
7646
|
};
|
|
7947
7647
|
const ArrowIcon = isOpen ? ArrowDropUpIcon2 : ArrowDropDownIcon2;
|
|
7948
7648
|
return /* @__PURE__ */ jsxs79(Paper10, { className: classes.c_search, children: [
|
|
7949
|
-
/* @__PURE__ */ jsx116(
|
|
7649
|
+
/* @__PURE__ */ jsx116(Box37, { className: classes.c_search__icon, children: /* @__PURE__ */ jsx116(SearchIcon2, { className: classes.icon, fontSize: "small" }) }),
|
|
7950
7650
|
/* @__PURE__ */ jsx116(
|
|
7951
7651
|
InputBase3,
|
|
7952
7652
|
{
|
|
@@ -8014,8 +7714,8 @@ var SearchAndFilterHeaderForTable = (props) => {
|
|
|
8014
7714
|
searchedValue
|
|
8015
7715
|
} = props;
|
|
8016
7716
|
const { classes } = useStyles41();
|
|
8017
|
-
return /* @__PURE__ */ jsxs80(
|
|
8018
|
-
/* @__PURE__ */ jsxs80(
|
|
7717
|
+
return /* @__PURE__ */ jsxs80(Box38, { className: classes.container, children: [
|
|
7718
|
+
/* @__PURE__ */ jsxs80(Box38, { className: classes.leftSection, children: [
|
|
8019
7719
|
/* @__PURE__ */ jsx117(AppLabel_default, { appName }),
|
|
8020
7720
|
/* @__PURE__ */ jsx117(
|
|
8021
7721
|
SearchWithFiltersForTable_default,
|
|
@@ -8029,7 +7729,7 @@ var SearchAndFilterHeaderForTable = (props) => {
|
|
|
8029
7729
|
}
|
|
8030
7730
|
),
|
|
8031
7731
|
copy && /* @__PURE__ */ jsx117(
|
|
8032
|
-
|
|
7732
|
+
Box38,
|
|
8033
7733
|
{
|
|
8034
7734
|
sx: {
|
|
8035
7735
|
margin: 0.5
|
|
@@ -8038,13 +7738,13 @@ var SearchAndFilterHeaderForTable = (props) => {
|
|
|
8038
7738
|
}
|
|
8039
7739
|
)
|
|
8040
7740
|
] }),
|
|
8041
|
-
/* @__PURE__ */ jsx117(
|
|
7741
|
+
/* @__PURE__ */ jsx117(Box38, { children: button })
|
|
8042
7742
|
] });
|
|
8043
7743
|
};
|
|
8044
7744
|
var SearchAndFilterHeaderForTable_default = React7.memo(SearchAndFilterHeaderForTable);
|
|
8045
7745
|
|
|
8046
7746
|
// src/components/SearchHeader/SearchHeader.tsx
|
|
8047
|
-
import { Box as
|
|
7747
|
+
import { Box as Box39, Paper as Paper11 } from "@mui/material";
|
|
8048
7748
|
import { jsx as jsx118, jsxs as jsxs81 } from "react/jsx-runtime";
|
|
8049
7749
|
var SearchHeader = ({
|
|
8050
7750
|
renderButton,
|
|
@@ -8066,7 +7766,7 @@ var SearchHeader = ({
|
|
|
8066
7766
|
},
|
|
8067
7767
|
children: [
|
|
8068
7768
|
/* @__PURE__ */ jsxs81(
|
|
8069
|
-
|
|
7769
|
+
Box39,
|
|
8070
7770
|
{
|
|
8071
7771
|
sx: {
|
|
8072
7772
|
display: "flex",
|
|
@@ -8074,7 +7774,7 @@ var SearchHeader = ({
|
|
|
8074
7774
|
alignItems: "center"
|
|
8075
7775
|
},
|
|
8076
7776
|
children: [
|
|
8077
|
-
/* @__PURE__ */ jsxs81(
|
|
7777
|
+
/* @__PURE__ */ jsxs81(Box39, { sx: { display: "flex", gap: 1, alignItems: "center" }, children: [
|
|
8078
7778
|
/* @__PURE__ */ jsx118(
|
|
8079
7779
|
SearchFieldDebounced,
|
|
8080
7780
|
{
|
|
@@ -8100,7 +7800,7 @@ var SearchHeader = ({
|
|
|
8100
7800
|
// src/components/SectionName/SectionName.tsx
|
|
8101
7801
|
import HistoryIcon from "@mui/icons-material/History";
|
|
8102
7802
|
import InfoIcon from "@mui/icons-material/Info";
|
|
8103
|
-
import { Box as
|
|
7803
|
+
import { Box as Box40, Divider as Divider10, IconButton as IconButton6, Tooltip as Tooltip10, Typography as Typography28 } from "@mui/material";
|
|
8104
7804
|
import { makeStyles as makeStyles42 } from "tss-react/mui";
|
|
8105
7805
|
import { jsx as jsx119, jsxs as jsxs82 } from "react/jsx-runtime";
|
|
8106
7806
|
var useStyles42 = makeStyles42()((theme) => ({
|
|
@@ -8158,8 +7858,8 @@ var SectionName = ({
|
|
|
8158
7858
|
}
|
|
8159
7859
|
}
|
|
8160
7860
|
};
|
|
8161
|
-
return /* @__PURE__ */ jsxs82(
|
|
8162
|
-
/* @__PURE__ */ jsxs82(
|
|
7861
|
+
return /* @__PURE__ */ jsxs82(Box40, { className: classes.container, children: [
|
|
7862
|
+
/* @__PURE__ */ jsxs82(Box40, { className: classes.titleContainer, children: [
|
|
8163
7863
|
/* @__PURE__ */ jsx119(
|
|
8164
7864
|
Typography28,
|
|
8165
7865
|
{
|
|
@@ -8178,7 +7878,7 @@ var SectionName = ({
|
|
|
8178
7878
|
}
|
|
8179
7879
|
) }) : null
|
|
8180
7880
|
] }),
|
|
8181
|
-
/* @__PURE__ */ jsxs82(
|
|
7881
|
+
/* @__PURE__ */ jsxs82(Box40, { className: classes.actionButtons, children: [
|
|
8182
7882
|
buttonText ? /* @__PURE__ */ jsx119(
|
|
8183
7883
|
ExtendedButton_default,
|
|
8184
7884
|
{
|
|
@@ -8202,7 +7902,7 @@ var SectionName_default = SectionName;
|
|
|
8202
7902
|
// src/components/SmartMultipleSelect/SmartMultipleSelect.tsx
|
|
8203
7903
|
import { useState as useState16 } from "react";
|
|
8204
7904
|
import {
|
|
8205
|
-
Box as
|
|
7905
|
+
Box as Box41,
|
|
8206
7906
|
Checkbox as Checkbox7,
|
|
8207
7907
|
CircularProgress as CircularProgress5,
|
|
8208
7908
|
FormControl as FormControl5,
|
|
@@ -8245,18 +7945,18 @@ var SmartMultipleSelect = ({
|
|
|
8245
7945
|
onChange?.(newValues);
|
|
8246
7946
|
};
|
|
8247
7947
|
const renderMenuContent = () => !menuOptions?.length ? /* @__PURE__ */ jsx120(
|
|
8248
|
-
|
|
7948
|
+
Box41,
|
|
8249
7949
|
{
|
|
8250
7950
|
sx: { display: "flex", justifyContent: "center", alignItems: "center" },
|
|
8251
7951
|
children: /* @__PURE__ */ jsx120(Typography29, { children: emptyMessage })
|
|
8252
7952
|
}
|
|
8253
|
-
) : /* @__PURE__ */ jsx120(
|
|
7953
|
+
) : /* @__PURE__ */ jsx120(Box41, { sx: { display: "flex", flexDirection: "column" }, children: menuOptions?.map((option, index) => {
|
|
8254
7954
|
const selectedValues = values ?? localValues ?? [];
|
|
8255
7955
|
const isSelected = selectedValues.some(
|
|
8256
7956
|
(selected) => selected.value === option.value
|
|
8257
7957
|
);
|
|
8258
7958
|
return /* @__PURE__ */ jsxs83(
|
|
8259
|
-
|
|
7959
|
+
Box41,
|
|
8260
7960
|
{
|
|
8261
7961
|
onClick: () => handleChangeOption(option),
|
|
8262
7962
|
sx: {
|
|
@@ -8299,7 +7999,7 @@ var SmartMultipleSelect = ({
|
|
|
8299
7999
|
return /* @__PURE__ */ jsx120(DynamicOverflowTooltip, { tooltipDescription: valuesString, children: valuesString });
|
|
8300
8000
|
},
|
|
8301
8001
|
children: isLoading ? /* @__PURE__ */ jsx120(
|
|
8302
|
-
|
|
8002
|
+
Box41,
|
|
8303
8003
|
{
|
|
8304
8004
|
sx: {
|
|
8305
8005
|
display: "flex",
|
|
@@ -8542,7 +8242,7 @@ var SmartTableHeaderFilterMenu = ({
|
|
|
8542
8242
|
// src/components/SmartTableHeader/SmartTableHeader.tsx
|
|
8543
8243
|
import { memo as memo22 } from "react";
|
|
8544
8244
|
import {
|
|
8545
|
-
Box as
|
|
8245
|
+
Box as Box42,
|
|
8546
8246
|
Checkbox as Checkbox8,
|
|
8547
8247
|
TableCell,
|
|
8548
8248
|
TableHead,
|
|
@@ -8613,7 +8313,7 @@ var SmartTableHeader = memo22(
|
|
|
8613
8313
|
}
|
|
8614
8314
|
},
|
|
8615
8315
|
children: /* @__PURE__ */ jsxs86(
|
|
8616
|
-
|
|
8316
|
+
Box42,
|
|
8617
8317
|
{
|
|
8618
8318
|
display: "flex",
|
|
8619
8319
|
flexDirection: "row",
|
|
@@ -8669,10 +8369,9 @@ var SmartTableHeader = memo22(
|
|
|
8669
8369
|
);
|
|
8670
8370
|
|
|
8671
8371
|
// src/components/Table/Table.tsx
|
|
8672
|
-
var import_debounce = __toESM(require_debounce(), 1);
|
|
8673
8372
|
import { useLayoutEffect, useState as useState18 } from "react";
|
|
8674
8373
|
import {
|
|
8675
|
-
Box as
|
|
8374
|
+
Box as Box44,
|
|
8676
8375
|
Paper as Paper12,
|
|
8677
8376
|
Table as MUITable,
|
|
8678
8377
|
TableBody,
|
|
@@ -8682,16 +8381,17 @@ import {
|
|
|
8682
8381
|
TableRow as TableRow2,
|
|
8683
8382
|
TableSortLabel as TableSortLabel2
|
|
8684
8383
|
} from "@mui/material";
|
|
8384
|
+
import debounce from "lodash/debounce";
|
|
8685
8385
|
import { makeStyles as makeStyles44 } from "tss-react/mui";
|
|
8686
8386
|
import { v4 as uuidv4 } from "uuid";
|
|
8687
8387
|
|
|
8688
8388
|
// src/components/TableLoading/TableLoading.tsx
|
|
8689
|
-
import { Box as
|
|
8389
|
+
import { Box as Box43, Skeleton as Skeleton4 } from "@mui/material";
|
|
8690
8390
|
import { jsx as jsx125 } from "react/jsx-runtime";
|
|
8691
8391
|
var TableLoading = ({
|
|
8692
8392
|
rowsPerPage,
|
|
8693
8393
|
rowHeight
|
|
8694
|
-
}) => /* @__PURE__ */ jsx125(
|
|
8394
|
+
}) => /* @__PURE__ */ jsx125(Box43, { children: Array.from({ length: rowsPerPage ?? 0 }).map((_, index) => /* @__PURE__ */ jsx125(
|
|
8695
8395
|
Skeleton4,
|
|
8696
8396
|
{
|
|
8697
8397
|
animation: "pulse",
|
|
@@ -8801,7 +8501,7 @@ var Table = ({
|
|
|
8801
8501
|
setRowsPerPage(newRowsPerPage);
|
|
8802
8502
|
}
|
|
8803
8503
|
updateRowsPerPage();
|
|
8804
|
-
const debounced = (
|
|
8504
|
+
const debounced = debounce(updateRowsPerPage, 150);
|
|
8805
8505
|
window.addEventListener("resize", debounced);
|
|
8806
8506
|
return () => {
|
|
8807
8507
|
window.removeEventListener("resize", debounced);
|
|
@@ -8829,7 +8529,7 @@ var Table = ({
|
|
|
8829
8529
|
}
|
|
8830
8530
|
return rowsComponents;
|
|
8831
8531
|
};
|
|
8832
|
-
return /* @__PURE__ */ jsx126(Paper12, { className: classes.root, children: /* @__PURE__ */ jsx126(
|
|
8532
|
+
return /* @__PURE__ */ jsx126(Paper12, { className: classes.root, children: /* @__PURE__ */ jsx126(Box44, { className: classes.paper, children: isLoading ? /* @__PURE__ */ jsx126(TableLoading_default, { rowHeight, rowsPerPage }) : /* @__PURE__ */ jsx126(TableContainer, { className: classes.container, children: /* @__PURE__ */ jsxs87(MUITable, { size: "medium", stickyHeader: true, children: [
|
|
8833
8533
|
/* @__PURE__ */ jsx126(TableHead2, { className: classes.header, children: /* @__PURE__ */ jsx126(TableRow2, { children: headCells?.map((headCell) => /* @__PURE__ */ jsx126(
|
|
8834
8534
|
TableCell2,
|
|
8835
8535
|
{
|
|
@@ -8862,7 +8562,7 @@ import {
|
|
|
8862
8562
|
useEffect as useEffect13,
|
|
8863
8563
|
useRef as useRef8
|
|
8864
8564
|
} from "react";
|
|
8865
|
-
import { Paper as Paper13, Table as Table2, TableBody as TableBody3, TableContainer as TableContainer2, Box as
|
|
8565
|
+
import { Paper as Paper13, Table as Table2, TableBody as TableBody3, TableContainer as TableContainer2, Box as Box46 } from "@mui/material";
|
|
8866
8566
|
|
|
8867
8567
|
// src/components/TableDesktopLoadingState/TableDesktopLoadingState.tsx
|
|
8868
8568
|
import { Skeleton as Skeleton5, TableCell as TableCell3, TableRow as TableRow3 } from "@mui/material";
|
|
@@ -9036,7 +8736,7 @@ var TableDesktopRows = ({
|
|
|
9036
8736
|
};
|
|
9037
8737
|
|
|
9038
8738
|
// src/components/TableDesktopRowSelectionBar/TableDesktopRowSelectionBar.tsx
|
|
9039
|
-
import { Box as
|
|
8739
|
+
import { Box as Box45, Button as Button17, Typography as Typography33 } from "@mui/material";
|
|
9040
8740
|
import { jsx as jsx130, jsxs as jsxs90 } from "react/jsx-runtime";
|
|
9041
8741
|
var TableDesktopRowSelectionBar = ({
|
|
9042
8742
|
isEveryRowInPageSelected,
|
|
@@ -9057,7 +8757,7 @@ var TableDesktopRowSelectionBar = ({
|
|
|
9057
8757
|
return `${numSelectedRows} row${numSelectedRows > 1 ? "s" : ""} selected.`;
|
|
9058
8758
|
};
|
|
9059
8759
|
return isAnyRowSelected ? /* @__PURE__ */ jsxs90(
|
|
9060
|
-
|
|
8760
|
+
Box45,
|
|
9061
8761
|
{
|
|
9062
8762
|
sx: {
|
|
9063
8763
|
p: 1,
|
|
@@ -9292,7 +8992,7 @@ var TableDesktop = ({
|
|
|
9292
8992
|
);
|
|
9293
8993
|
};
|
|
9294
8994
|
return /* @__PURE__ */ jsx132(
|
|
9295
|
-
|
|
8995
|
+
Box46,
|
|
9296
8996
|
{
|
|
9297
8997
|
sx: {
|
|
9298
8998
|
height,
|
|
@@ -9961,7 +9661,7 @@ var TableDesktopEditableField = ({
|
|
|
9961
9661
|
// src/components/TableDesktopFooter/TableDesktopFooter.tsx
|
|
9962
9662
|
import Refresh3 from "@mui/icons-material/Refresh";
|
|
9963
9663
|
import {
|
|
9964
|
-
Box as
|
|
9664
|
+
Box as Box47,
|
|
9965
9665
|
Button as Button18,
|
|
9966
9666
|
MenuItem as MenuItem4,
|
|
9967
9667
|
Pagination as Pagination2,
|
|
@@ -9981,7 +9681,7 @@ var TableDesktopFooter = ({
|
|
|
9981
9681
|
isFetching
|
|
9982
9682
|
}) => {
|
|
9983
9683
|
return /* @__PURE__ */ jsxs93(
|
|
9984
|
-
|
|
9684
|
+
Box47,
|
|
9985
9685
|
{
|
|
9986
9686
|
sx: {
|
|
9987
9687
|
py: 1,
|
|
@@ -10013,7 +9713,7 @@ var TableDesktopFooter = ({
|
|
|
10013
9713
|
)
|
|
10014
9714
|
}
|
|
10015
9715
|
) : null,
|
|
10016
|
-
/* @__PURE__ */ jsxs93(
|
|
9716
|
+
/* @__PURE__ */ jsxs93(Box47, { sx: { display: "flex", ml: "auto", py: 1 }, children: [
|
|
10017
9717
|
pageSize && pageSizeOptions && onPageSizeChange ? /* @__PURE__ */ jsxs93(Stack, { direction: "row", spacing: 2, alignItems: "center", children: [
|
|
10018
9718
|
/* @__PURE__ */ jsx139(Typography35, { fontSize: 12, children: "Rows per page:" }),
|
|
10019
9719
|
/* @__PURE__ */ jsx139(
|
|
@@ -10153,7 +9853,7 @@ import Download from "@mui/icons-material/Download";
|
|
|
10153
9853
|
import KeyboardArrowLeft2 from "@mui/icons-material/KeyboardArrowLeft";
|
|
10154
9854
|
import KeyboardArrowRight2 from "@mui/icons-material/KeyboardArrowRight";
|
|
10155
9855
|
import {
|
|
10156
|
-
Box as
|
|
9856
|
+
Box as Box48,
|
|
10157
9857
|
Button as Button19,
|
|
10158
9858
|
Divider as Divider11,
|
|
10159
9859
|
FormControlLabel as FormControlLabel7,
|
|
@@ -10217,7 +9917,7 @@ var TableDesktopToolbar = ({
|
|
|
10217
9917
|
});
|
|
10218
9918
|
};
|
|
10219
9919
|
return /* @__PURE__ */ jsxs95(
|
|
10220
|
-
|
|
9920
|
+
Box48,
|
|
10221
9921
|
{
|
|
10222
9922
|
sx: {
|
|
10223
9923
|
borderBottom: "1px solid",
|
|
@@ -10226,7 +9926,7 @@ var TableDesktopToolbar = ({
|
|
|
10226
9926
|
},
|
|
10227
9927
|
children: [
|
|
10228
9928
|
/* @__PURE__ */ jsxs95(
|
|
10229
|
-
|
|
9929
|
+
Box48,
|
|
10230
9930
|
{
|
|
10231
9931
|
sx: {
|
|
10232
9932
|
py: 1,
|
|
@@ -10238,7 +9938,7 @@ var TableDesktopToolbar = ({
|
|
|
10238
9938
|
},
|
|
10239
9939
|
children: [
|
|
10240
9940
|
/* @__PURE__ */ jsxs95(
|
|
10241
|
-
|
|
9941
|
+
Box48,
|
|
10242
9942
|
{
|
|
10243
9943
|
sx: {
|
|
10244
9944
|
py: 1,
|
|
@@ -10286,7 +9986,7 @@ var TableDesktopToolbar = ({
|
|
|
10286
9986
|
}
|
|
10287
9987
|
),
|
|
10288
9988
|
/* @__PURE__ */ jsx141(
|
|
10289
|
-
|
|
9989
|
+
Box48,
|
|
10290
9990
|
{
|
|
10291
9991
|
ref: scrollRef,
|
|
10292
9992
|
sx: {
|
|
@@ -10308,7 +10008,7 @@ var TableDesktopToolbar = ({
|
|
|
10308
10008
|
return null;
|
|
10309
10009
|
}
|
|
10310
10010
|
return editableCellType && /* @__PURE__ */ jsx141(
|
|
10311
|
-
|
|
10011
|
+
Box48,
|
|
10312
10012
|
{
|
|
10313
10013
|
sx: { width, flex: "0 0 auto" },
|
|
10314
10014
|
children: /* @__PURE__ */ jsx141(
|
|
@@ -10361,7 +10061,7 @@ var TableDesktopToolbar = ({
|
|
|
10361
10061
|
children: "APPLY"
|
|
10362
10062
|
}
|
|
10363
10063
|
)
|
|
10364
|
-
] }) : /* @__PURE__ */ jsxs95(
|
|
10064
|
+
] }) : /* @__PURE__ */ jsxs95(Box48, { sx: { display: "flex", alignItems: "center", gap: 1 }, children: [
|
|
10365
10065
|
renderInfoIcons,
|
|
10366
10066
|
renderExportCsvDialog ? /* @__PURE__ */ jsx141(Tooltip13, { title: "Download List", children: /* @__PURE__ */ jsx141("span", { style: { display: "flex", alignItems: "center" }, children: /* @__PURE__ */ jsx141(
|
|
10367
10067
|
IconButton8,
|
|
@@ -10476,7 +10176,7 @@ var TableHeader = ({ cells, onSort = null }) => {
|
|
|
10476
10176
|
var TableHeader_default = memo23(TableHeader);
|
|
10477
10177
|
|
|
10478
10178
|
// src/components/TextDivider/TextDivider.tsx
|
|
10479
|
-
import { Box as
|
|
10179
|
+
import { Box as Box49, Typography as Typography37, Divider as Divider12, Button as Button20 } from "@mui/material";
|
|
10480
10180
|
import { makeStyles as makeStyles47 } from "tss-react/mui";
|
|
10481
10181
|
import { jsx as jsx143, jsxs as jsxs96 } from "react/jsx-runtime";
|
|
10482
10182
|
var useStyles47 = makeStyles47()(() => ({
|
|
@@ -10516,7 +10216,7 @@ var TextDivider = ({
|
|
|
10516
10216
|
const { classes } = useStyles47();
|
|
10517
10217
|
const iconColor = color ?? colors.neutral900;
|
|
10518
10218
|
return /* @__PURE__ */ jsxs96(
|
|
10519
|
-
|
|
10219
|
+
Box49,
|
|
10520
10220
|
{
|
|
10521
10221
|
display: "flex",
|
|
10522
10222
|
alignItems: "center",
|
|
@@ -10524,7 +10224,7 @@ var TextDivider = ({
|
|
|
10524
10224
|
className: classes.container,
|
|
10525
10225
|
children: [
|
|
10526
10226
|
/* @__PURE__ */ jsx143(Divider12, { className: classes.leftDivider }),
|
|
10527
|
-
/* @__PURE__ */ jsx143(Button20, { onClick, disabled: !onClick, className: classes.button, children: /* @__PURE__ */ jsxs96(
|
|
10227
|
+
/* @__PURE__ */ jsx143(Button20, { onClick, disabled: !onClick, className: classes.button, children: /* @__PURE__ */ jsxs96(Box49, { className: classes.center, children: [
|
|
10528
10228
|
Icon2 && iconPosition === "left" && /* @__PURE__ */ jsx143(Icon2, { className: classes.icon, style: { color: iconColor } }),
|
|
10529
10229
|
/* @__PURE__ */ jsx143(
|
|
10530
10230
|
Typography37,
|
|
@@ -10651,7 +10351,7 @@ var ThemedDateRangePicker_default = ThemedDateRangePicker;
|
|
|
10651
10351
|
|
|
10652
10352
|
// src/components/TheToolbar/TheToolbar.tsx
|
|
10653
10353
|
import { memo as memo24 } from "react";
|
|
10654
|
-
import { AppBar, Box as
|
|
10354
|
+
import { AppBar, Box as Box50, Toolbar } from "@mui/material";
|
|
10655
10355
|
import { makeStyles as makeStyles49 } from "tss-react/mui";
|
|
10656
10356
|
import { jsx as jsx145, jsxs as jsxs97 } from "react/jsx-runtime";
|
|
10657
10357
|
var useStyles49 = makeStyles49()((theme) => ({
|
|
@@ -10678,9 +10378,9 @@ var TheToolbar = ({
|
|
|
10678
10378
|
isAuthenticated = true
|
|
10679
10379
|
}) => {
|
|
10680
10380
|
const { classes } = useStyles49();
|
|
10681
|
-
return /* @__PURE__ */ jsxs97(
|
|
10381
|
+
return /* @__PURE__ */ jsxs97(Box50, { children: [
|
|
10682
10382
|
/* @__PURE__ */ jsx145(AppBar, { children: /* @__PURE__ */ jsxs97(Toolbar, { className: classes.topBar, children: [
|
|
10683
|
-
isAuthenticated ? /* @__PURE__ */ jsx145(
|
|
10383
|
+
isAuthenticated ? /* @__PURE__ */ jsx145(Box50, { sx: { flexShrink: 0, display: "flex" }, children: /* @__PURE__ */ jsx145(
|
|
10684
10384
|
RoundButton_default,
|
|
10685
10385
|
{
|
|
10686
10386
|
className: classes.menuButton,
|
|
@@ -10689,7 +10389,7 @@ var TheToolbar = ({
|
|
|
10689
10389
|
onClick: handleOpen
|
|
10690
10390
|
}
|
|
10691
10391
|
) }) : null,
|
|
10692
|
-
/* @__PURE__ */ jsx145(
|
|
10392
|
+
/* @__PURE__ */ jsx145(Box50, { sx: { display: { xs: "none", lg: "block" }, flexShrink: 0 }, children: /* @__PURE__ */ jsx145(
|
|
10693
10393
|
CompanyLogo_default,
|
|
10694
10394
|
{
|
|
10695
10395
|
size: "small",
|
|
@@ -10699,7 +10399,7 @@ var TheToolbar = ({
|
|
|
10699
10399
|
}
|
|
10700
10400
|
) }),
|
|
10701
10401
|
/* @__PURE__ */ jsx145(
|
|
10702
|
-
|
|
10402
|
+
Box50,
|
|
10703
10403
|
{
|
|
10704
10404
|
ml: { xs: 0, lg: 2 },
|
|
10705
10405
|
sx: { flexShrink: 0, display: { xs: "none", xl: "block" } },
|
|
@@ -10707,7 +10407,7 @@ var TheToolbar = ({
|
|
|
10707
10407
|
}
|
|
10708
10408
|
),
|
|
10709
10409
|
centerSection ? /* @__PURE__ */ jsx145(
|
|
10710
|
-
|
|
10410
|
+
Box50,
|
|
10711
10411
|
{
|
|
10712
10412
|
sx: {
|
|
10713
10413
|
flexGrow: 1,
|
|
@@ -10717,8 +10417,8 @@ var TheToolbar = ({
|
|
|
10717
10417
|
},
|
|
10718
10418
|
children: centerSection
|
|
10719
10419
|
}
|
|
10720
|
-
) : /* @__PURE__ */ jsx145(
|
|
10721
|
-
/* @__PURE__ */ jsx145(
|
|
10420
|
+
) : /* @__PURE__ */ jsx145(Box50, { sx: { flexGrow: 1 } }),
|
|
10421
|
+
/* @__PURE__ */ jsx145(Box50, { sx: { flexShrink: 0, display: { xs: "none", xl: "block" } }, children: rightSection })
|
|
10722
10422
|
] }) }),
|
|
10723
10423
|
LeftDrawer
|
|
10724
10424
|
] });
|
|
@@ -10771,7 +10471,7 @@ import {
|
|
|
10771
10471
|
Typography as Typography38,
|
|
10772
10472
|
Dialog as Dialog5,
|
|
10773
10473
|
Backdrop,
|
|
10774
|
-
Box as
|
|
10474
|
+
Box as Box51,
|
|
10775
10475
|
Divider as Divider13,
|
|
10776
10476
|
Paper as Paper14,
|
|
10777
10477
|
Fade as Fade2
|
|
@@ -10818,9 +10518,9 @@ var TwoButtonDialog = ({
|
|
|
10818
10518
|
BackdropComponent: Backdrop,
|
|
10819
10519
|
BackdropProps: { timeout: 500 },
|
|
10820
10520
|
children: /* @__PURE__ */ jsx147(Fade2, { in: open, children: /* @__PURE__ */ jsxs98(Paper14, { className: classes.paper, children: [
|
|
10821
|
-
/* @__PURE__ */ jsxs98(
|
|
10521
|
+
/* @__PURE__ */ jsxs98(Box51, { className: classes.mb, children: [
|
|
10822
10522
|
/* @__PURE__ */ jsx147(Typography38, { variant: "h5", component: "div", children: /* @__PURE__ */ jsx147(
|
|
10823
|
-
|
|
10523
|
+
Box51,
|
|
10824
10524
|
{
|
|
10825
10525
|
sx: {
|
|
10826
10526
|
fontWeight: 600
|
|
@@ -10829,7 +10529,7 @@ var TwoButtonDialog = ({
|
|
|
10829
10529
|
}
|
|
10830
10530
|
) }),
|
|
10831
10531
|
/* @__PURE__ */ jsxs98(
|
|
10832
|
-
|
|
10532
|
+
Box51,
|
|
10833
10533
|
{
|
|
10834
10534
|
className: classes.mt,
|
|
10835
10535
|
sx: {
|
|
@@ -10843,7 +10543,7 @@ var TwoButtonDialog = ({
|
|
|
10843
10543
|
)
|
|
10844
10544
|
] }),
|
|
10845
10545
|
/* @__PURE__ */ jsx147(Divider13, {}),
|
|
10846
|
-
/* @__PURE__ */ jsxs98(
|
|
10546
|
+
/* @__PURE__ */ jsxs98(Box51, { className: classes.buttonContainer, children: [
|
|
10847
10547
|
/* @__PURE__ */ jsx147(
|
|
10848
10548
|
FilledButton_default,
|
|
10849
10549
|
{
|