@natoora-libs/core 0.2.48 → 0.2.49-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 +20 -297
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.d.cts +3 -1
- package/dist/components/index.d.ts +3 -1
- package/dist/components/index.js +90 -368
- 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 +5 -3
- 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.18.1/node_modules/lodash/isObject.js
|
|
19
|
-
var require_isObject = __commonJS({
|
|
20
|
-
"../node_modules/.pnpm/lodash@4.18.1/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.18.1/node_modules/lodash/_freeGlobal.js
|
|
30
|
-
var require_freeGlobal = __commonJS({
|
|
31
|
-
"../node_modules/.pnpm/lodash@4.18.1/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.18.1/node_modules/lodash/_root.js
|
|
38
|
-
var require_root = __commonJS({
|
|
39
|
-
"../node_modules/.pnpm/lodash@4.18.1/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.18.1/node_modules/lodash/now.js
|
|
48
|
-
var require_now = __commonJS({
|
|
49
|
-
"../node_modules/.pnpm/lodash@4.18.1/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.18.1/node_modules/lodash/_trimmedEndIndex.js
|
|
59
|
-
var require_trimmedEndIndex = __commonJS({
|
|
60
|
-
"../node_modules/.pnpm/lodash@4.18.1/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.18.1/node_modules/lodash/_baseTrim.js
|
|
73
|
-
var require_baseTrim = __commonJS({
|
|
74
|
-
"../node_modules/.pnpm/lodash@4.18.1/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.18.1/node_modules/lodash/_Symbol.js
|
|
85
|
-
var require_Symbol = __commonJS({
|
|
86
|
-
"../node_modules/.pnpm/lodash@4.18.1/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.18.1/node_modules/lodash/_getRawTag.js
|
|
94
|
-
var require_getRawTag = __commonJS({
|
|
95
|
-
"../node_modules/.pnpm/lodash@4.18.1/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.18.1/node_modules/lodash/_objectToString.js
|
|
123
|
-
var require_objectToString = __commonJS({
|
|
124
|
-
"../node_modules/.pnpm/lodash@4.18.1/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.18.1/node_modules/lodash/_baseGetTag.js
|
|
135
|
-
var require_baseGetTag = __commonJS({
|
|
136
|
-
"../node_modules/.pnpm/lodash@4.18.1/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.18.1/node_modules/lodash/isObjectLike.js
|
|
154
|
-
var require_isObjectLike = __commonJS({
|
|
155
|
-
"../node_modules/.pnpm/lodash@4.18.1/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.18.1/node_modules/lodash/isSymbol.js
|
|
164
|
-
var require_isSymbol = __commonJS({
|
|
165
|
-
"../node_modules/.pnpm/lodash@4.18.1/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.18.1/node_modules/lodash/toNumber.js
|
|
177
|
-
var require_toNumber = __commonJS({
|
|
178
|
-
"../node_modules/.pnpm/lodash@4.18.1/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.18.1/node_modules/lodash/debounce.js
|
|
210
|
-
var require_debounce = __commonJS({
|
|
211
|
-
"../node_modules/.pnpm/lodash@4.18.1/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 } from "@mui/material";
|
|
6383
|
+
import { Pagination, Paper as Paper5, Typography as Typography22, Box as Box33 } 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,11 +6395,18 @@ var useStyles33 = makeStyles33()((theme) => ({
|
|
|
6684
6395
|
borderRadius: "0 0 4px 4px",
|
|
6685
6396
|
width: "100%",
|
|
6686
6397
|
height: paginationHeight,
|
|
6398
|
+
overflow: "hidden",
|
|
6687
6399
|
"& > *": {
|
|
6688
6400
|
margin: theme.spacing(2)
|
|
6689
6401
|
},
|
|
6690
|
-
"& .
|
|
6691
|
-
|
|
6402
|
+
"& .MuiPagination-root": {
|
|
6403
|
+
minWidth: 0
|
|
6404
|
+
},
|
|
6405
|
+
"& .MuiPagination-ul": {
|
|
6406
|
+
flexWrap: "nowrap"
|
|
6407
|
+
},
|
|
6408
|
+
"& .MuiPaginationItem-root": {
|
|
6409
|
+
flexShrink: 0
|
|
6692
6410
|
}
|
|
6693
6411
|
},
|
|
6694
6412
|
fixed: {
|
|
@@ -6708,7 +6426,9 @@ var PaginationForTable = ({
|
|
|
6708
6426
|
pagination,
|
|
6709
6427
|
position = "relative",
|
|
6710
6428
|
style,
|
|
6711
|
-
updateFilters
|
|
6429
|
+
updateFilters,
|
|
6430
|
+
siblingCount = 1,
|
|
6431
|
+
boundaryCount = 1
|
|
6712
6432
|
}) => {
|
|
6713
6433
|
const { classes, cx } = useStyles33();
|
|
6714
6434
|
const handleChange = (event, value) => {
|
|
@@ -6716,7 +6436,7 @@ var PaginationForTable = ({
|
|
|
6716
6436
|
};
|
|
6717
6437
|
const isFixed = position === "fixed";
|
|
6718
6438
|
return /* @__PURE__ */ jsx106(Paper5, { children: /* @__PURE__ */ jsxs69(
|
|
6719
|
-
|
|
6439
|
+
Box33,
|
|
6720
6440
|
{
|
|
6721
6441
|
style,
|
|
6722
6442
|
className: cx(classes.root, className, {
|
|
@@ -6727,14 +6447,16 @@ var PaginationForTable = ({
|
|
|
6727
6447
|
"Page: ",
|
|
6728
6448
|
page
|
|
6729
6449
|
] }),
|
|
6730
|
-
/* @__PURE__ */ jsx106(
|
|
6450
|
+
/* @__PURE__ */ jsx106(Box33, { style: { overflowX: "auto", maxWidth: 400 }, children: /* @__PURE__ */ jsx106(
|
|
6731
6451
|
Pagination,
|
|
6732
6452
|
{
|
|
6733
6453
|
count: pagination.num_pages,
|
|
6734
|
-
page,
|
|
6735
|
-
onChange: handleChange
|
|
6454
|
+
page: Number(page),
|
|
6455
|
+
onChange: handleChange,
|
|
6456
|
+
siblingCount,
|
|
6457
|
+
boundaryCount
|
|
6736
6458
|
}
|
|
6737
|
-
)
|
|
6459
|
+
) })
|
|
6738
6460
|
]
|
|
6739
6461
|
}
|
|
6740
6462
|
) });
|
|
@@ -7273,7 +6995,7 @@ var ProductBust = withStyles4(PBust, (theme) => ({
|
|
|
7273
6995
|
var ProductBust_default = ProductBust;
|
|
7274
6996
|
|
|
7275
6997
|
// src/components/RenderAvatar/RenderAvatar.tsx
|
|
7276
|
-
import { Avatar, Badge, Box as
|
|
6998
|
+
import { Avatar, Badge, Box as Box34, Typography as Typography25 } from "@mui/material";
|
|
7277
6999
|
import { withStyles as withStyles5 } from "tss-react/mui";
|
|
7278
7000
|
import { jsx as jsx110, jsxs as jsxs73 } from "react/jsx-runtime";
|
|
7279
7001
|
var RenderAvatar = ({ active }) => {
|
|
@@ -7285,7 +7007,7 @@ var RenderAvatar = ({ active }) => {
|
|
|
7285
7007
|
}
|
|
7286
7008
|
}));
|
|
7287
7009
|
return /* @__PURE__ */ jsxs73(
|
|
7288
|
-
|
|
7010
|
+
Box34,
|
|
7289
7011
|
{
|
|
7290
7012
|
sx: { display: "flex", flexDirection: "column", alignItems: "center" },
|
|
7291
7013
|
children: [
|
|
@@ -7451,7 +7173,7 @@ var RenderContentList = ({
|
|
|
7451
7173
|
var RenderContentList_default = RenderContentList;
|
|
7452
7174
|
|
|
7453
7175
|
// src/components/RowProductCard/RowProductCard.tsx
|
|
7454
|
-
import { Box as
|
|
7176
|
+
import { Box as Box35, Divider as Divider6, Paper as Paper6, Typography as Typography26 } from "@mui/material";
|
|
7455
7177
|
import { makeStyles as makeStyles36 } from "tss-react/mui";
|
|
7456
7178
|
import { Fragment as Fragment11, jsx as jsx112, jsxs as jsxs75 } from "react/jsx-runtime";
|
|
7457
7179
|
var useStyles36 = makeStyles36()((theme) => ({
|
|
@@ -7509,7 +7231,7 @@ var RowProductCard = ({
|
|
|
7509
7231
|
}),
|
|
7510
7232
|
children: [
|
|
7511
7233
|
/* @__PURE__ */ jsxs75(
|
|
7512
|
-
|
|
7234
|
+
Box35,
|
|
7513
7235
|
{
|
|
7514
7236
|
className: classes.upperRow,
|
|
7515
7237
|
sx: {
|
|
@@ -7529,7 +7251,7 @@ var RowProductCard = ({
|
|
|
7529
7251
|
hasColumns ? /* @__PURE__ */ jsxs75(Fragment11, { children: [
|
|
7530
7252
|
/* @__PURE__ */ jsx112(Divider6, { className: classes.divider }),
|
|
7531
7253
|
/* @__PURE__ */ jsx112(
|
|
7532
|
-
|
|
7254
|
+
Box35,
|
|
7533
7255
|
{
|
|
7534
7256
|
sx: {
|
|
7535
7257
|
display: "flex",
|
|
@@ -7551,7 +7273,7 @@ var RowProductCard_default = RowProductCard;
|
|
|
7551
7273
|
|
|
7552
7274
|
// src/components/ScrollableDialog/ScrollableDialog.tsx
|
|
7553
7275
|
import { useEffect as useEffect10, useRef as useRef7, useState as useState13 } from "react";
|
|
7554
|
-
import { Box as
|
|
7276
|
+
import { Box as Box36, Dialog as Dialog4, Divider as Divider7, Fade, Paper as Paper7, Typography as Typography27 } from "@mui/material";
|
|
7555
7277
|
import { makeStyles as makeStyles37 } from "tss-react/mui";
|
|
7556
7278
|
import { jsx as jsx113, jsxs as jsxs76 } from "react/jsx-runtime";
|
|
7557
7279
|
var useStyles37 = makeStyles37()((theme) => ({
|
|
@@ -7663,7 +7385,7 @@ var ScrollableDialog = ({
|
|
|
7663
7385
|
] }),
|
|
7664
7386
|
/* @__PURE__ */ jsx113(Divider7, {}),
|
|
7665
7387
|
footer ? /* @__PURE__ */ jsx113(
|
|
7666
|
-
|
|
7388
|
+
Box36,
|
|
7667
7389
|
{
|
|
7668
7390
|
className: classes.footer,
|
|
7669
7391
|
id: "dialog-footer",
|
|
@@ -7681,7 +7403,7 @@ var ScrollableDialog = ({
|
|
|
7681
7403
|
var ScrollableDialog_default = ScrollableDialog;
|
|
7682
7404
|
|
|
7683
7405
|
// src/components/SearchAndFilterHeader/SearchAndFilterHeader.tsx
|
|
7684
|
-
import { Box as
|
|
7406
|
+
import { Box as Box37, Paper as Paper9 } from "@mui/material";
|
|
7685
7407
|
import { makeStyles as makeStyles39 } from "tss-react/mui";
|
|
7686
7408
|
|
|
7687
7409
|
// src/components/SearchWithFilters/SearchWithFilters.tsx
|
|
@@ -7822,9 +7544,9 @@ var SearchAndFilterHeader = ({
|
|
|
7822
7544
|
searchValue
|
|
7823
7545
|
}) => {
|
|
7824
7546
|
const { classes } = useStyles39();
|
|
7825
|
-
return /* @__PURE__ */ jsx115(Paper9, { children: /* @__PURE__ */ jsxs78(
|
|
7826
|
-
/* @__PURE__ */ jsxs78(
|
|
7827
|
-
/* @__PURE__ */ jsxs78(
|
|
7547
|
+
return /* @__PURE__ */ jsx115(Paper9, { children: /* @__PURE__ */ jsxs78(Box37, { className: classes.wrapper, children: [
|
|
7548
|
+
/* @__PURE__ */ jsxs78(Box37, { className: classes.container, children: [
|
|
7549
|
+
/* @__PURE__ */ jsxs78(Box37, { className: classes.leftSection, children: [
|
|
7828
7550
|
/* @__PURE__ */ jsx115(AppLabel_default, { appName }),
|
|
7829
7551
|
/* @__PURE__ */ jsx115(
|
|
7830
7552
|
SearchWithFilters_default,
|
|
@@ -7837,9 +7559,9 @@ var SearchAndFilterHeader = ({
|
|
|
7837
7559
|
}
|
|
7838
7560
|
)
|
|
7839
7561
|
] }),
|
|
7840
|
-
/* @__PURE__ */ jsx115(
|
|
7562
|
+
/* @__PURE__ */ jsx115(Box37, { children: extraButton })
|
|
7841
7563
|
] }),
|
|
7842
|
-
showFilters ? /* @__PURE__ */ jsx115(
|
|
7564
|
+
showFilters ? /* @__PURE__ */ jsx115(Box37, { children: filtersComponent }) : null,
|
|
7843
7565
|
appliedFiltersComponent
|
|
7844
7566
|
] }) });
|
|
7845
7567
|
};
|
|
@@ -7847,7 +7569,7 @@ var SearchAndFilterHeader_default = SearchAndFilterHeader;
|
|
|
7847
7569
|
|
|
7848
7570
|
// src/components/SearchAndFilterHeader/SearchAndFilterHeaderForTable.tsx
|
|
7849
7571
|
import * as React7 from "react";
|
|
7850
|
-
import { Box as
|
|
7572
|
+
import { Box as Box39 } from "@mui/material";
|
|
7851
7573
|
import { makeStyles as makeStyles41 } from "tss-react/mui";
|
|
7852
7574
|
|
|
7853
7575
|
// src/components/SearchWithFilters/SearchWithFiltersForTable.tsx
|
|
@@ -7857,7 +7579,7 @@ import {
|
|
|
7857
7579
|
ArrowDropUp as ArrowDropUpIcon2,
|
|
7858
7580
|
Search as SearchIcon2
|
|
7859
7581
|
} from "@mui/icons-material";
|
|
7860
|
-
import { Box as
|
|
7582
|
+
import { Box as Box38, Button as Button15, Divider as Divider9, InputBase as InputBase3, Paper as Paper10 } from "@mui/material";
|
|
7861
7583
|
import { makeStyles as makeStyles40 } from "tss-react/mui";
|
|
7862
7584
|
import { Fragment as Fragment12, jsx as jsx116, jsxs as jsxs79 } from "react/jsx-runtime";
|
|
7863
7585
|
var useStyles40 = makeStyles40()((theme) => ({
|
|
@@ -7935,7 +7657,7 @@ var SearchWithFiltersForTable = (props) => {
|
|
|
7935
7657
|
};
|
|
7936
7658
|
const ArrowIcon = isOpen ? ArrowDropUpIcon2 : ArrowDropDownIcon2;
|
|
7937
7659
|
return /* @__PURE__ */ jsxs79(Paper10, { className: classes.c_search, children: [
|
|
7938
|
-
/* @__PURE__ */ jsx116(
|
|
7660
|
+
/* @__PURE__ */ jsx116(Box38, { className: classes.c_search__icon, children: /* @__PURE__ */ jsx116(SearchIcon2, { className: classes.icon, fontSize: "small" }) }),
|
|
7939
7661
|
/* @__PURE__ */ jsx116(
|
|
7940
7662
|
InputBase3,
|
|
7941
7663
|
{
|
|
@@ -8003,8 +7725,8 @@ var SearchAndFilterHeaderForTable = (props) => {
|
|
|
8003
7725
|
searchedValue
|
|
8004
7726
|
} = props;
|
|
8005
7727
|
const { classes } = useStyles41();
|
|
8006
|
-
return /* @__PURE__ */ jsxs80(
|
|
8007
|
-
/* @__PURE__ */ jsxs80(
|
|
7728
|
+
return /* @__PURE__ */ jsxs80(Box39, { className: classes.container, children: [
|
|
7729
|
+
/* @__PURE__ */ jsxs80(Box39, { className: classes.leftSection, children: [
|
|
8008
7730
|
/* @__PURE__ */ jsx117(AppLabel_default, { appName }),
|
|
8009
7731
|
/* @__PURE__ */ jsx117(
|
|
8010
7732
|
SearchWithFiltersForTable_default,
|
|
@@ -8018,7 +7740,7 @@ var SearchAndFilterHeaderForTable = (props) => {
|
|
|
8018
7740
|
}
|
|
8019
7741
|
),
|
|
8020
7742
|
copy && /* @__PURE__ */ jsx117(
|
|
8021
|
-
|
|
7743
|
+
Box39,
|
|
8022
7744
|
{
|
|
8023
7745
|
sx: {
|
|
8024
7746
|
margin: 0.5
|
|
@@ -8027,13 +7749,13 @@ var SearchAndFilterHeaderForTable = (props) => {
|
|
|
8027
7749
|
}
|
|
8028
7750
|
)
|
|
8029
7751
|
] }),
|
|
8030
|
-
/* @__PURE__ */ jsx117(
|
|
7752
|
+
/* @__PURE__ */ jsx117(Box39, { children: button })
|
|
8031
7753
|
] });
|
|
8032
7754
|
};
|
|
8033
7755
|
var SearchAndFilterHeaderForTable_default = React7.memo(SearchAndFilterHeaderForTable);
|
|
8034
7756
|
|
|
8035
7757
|
// src/components/SearchHeader/SearchHeader.tsx
|
|
8036
|
-
import { Box as
|
|
7758
|
+
import { Box as Box40, Paper as Paper11 } from "@mui/material";
|
|
8037
7759
|
import { jsx as jsx118, jsxs as jsxs81 } from "react/jsx-runtime";
|
|
8038
7760
|
var SearchHeader = ({
|
|
8039
7761
|
renderButton,
|
|
@@ -8055,7 +7777,7 @@ var SearchHeader = ({
|
|
|
8055
7777
|
},
|
|
8056
7778
|
children: [
|
|
8057
7779
|
/* @__PURE__ */ jsxs81(
|
|
8058
|
-
|
|
7780
|
+
Box40,
|
|
8059
7781
|
{
|
|
8060
7782
|
sx: {
|
|
8061
7783
|
display: "flex",
|
|
@@ -8063,7 +7785,7 @@ var SearchHeader = ({
|
|
|
8063
7785
|
alignItems: "center"
|
|
8064
7786
|
},
|
|
8065
7787
|
children: [
|
|
8066
|
-
/* @__PURE__ */ jsxs81(
|
|
7788
|
+
/* @__PURE__ */ jsxs81(Box40, { sx: { display: "flex", gap: 1, alignItems: "center" }, children: [
|
|
8067
7789
|
/* @__PURE__ */ jsx118(
|
|
8068
7790
|
SearchFieldDebounced,
|
|
8069
7791
|
{
|
|
@@ -8089,7 +7811,7 @@ var SearchHeader = ({
|
|
|
8089
7811
|
// src/components/SectionName/SectionName.tsx
|
|
8090
7812
|
import HistoryIcon from "@mui/icons-material/History";
|
|
8091
7813
|
import InfoIcon from "@mui/icons-material/Info";
|
|
8092
|
-
import { Box as
|
|
7814
|
+
import { Box as Box41, Divider as Divider10, IconButton as IconButton6, Tooltip as Tooltip10, Typography as Typography28 } from "@mui/material";
|
|
8093
7815
|
import { makeStyles as makeStyles42 } from "tss-react/mui";
|
|
8094
7816
|
import { jsx as jsx119, jsxs as jsxs82 } from "react/jsx-runtime";
|
|
8095
7817
|
var useStyles42 = makeStyles42()((theme) => ({
|
|
@@ -8147,8 +7869,8 @@ var SectionName = ({
|
|
|
8147
7869
|
}
|
|
8148
7870
|
}
|
|
8149
7871
|
};
|
|
8150
|
-
return /* @__PURE__ */ jsxs82(
|
|
8151
|
-
/* @__PURE__ */ jsxs82(
|
|
7872
|
+
return /* @__PURE__ */ jsxs82(Box41, { className: classes.container, children: [
|
|
7873
|
+
/* @__PURE__ */ jsxs82(Box41, { className: classes.titleContainer, children: [
|
|
8152
7874
|
/* @__PURE__ */ jsx119(
|
|
8153
7875
|
Typography28,
|
|
8154
7876
|
{
|
|
@@ -8167,7 +7889,7 @@ var SectionName = ({
|
|
|
8167
7889
|
}
|
|
8168
7890
|
) }) : null
|
|
8169
7891
|
] }),
|
|
8170
|
-
/* @__PURE__ */ jsxs82(
|
|
7892
|
+
/* @__PURE__ */ jsxs82(Box41, { className: classes.actionButtons, children: [
|
|
8171
7893
|
buttonText ? /* @__PURE__ */ jsx119(
|
|
8172
7894
|
ExtendedButton_default,
|
|
8173
7895
|
{
|
|
@@ -8191,7 +7913,7 @@ var SectionName_default = SectionName;
|
|
|
8191
7913
|
// src/components/SmartMultipleSelect/SmartMultipleSelect.tsx
|
|
8192
7914
|
import { useState as useState16 } from "react";
|
|
8193
7915
|
import {
|
|
8194
|
-
Box as
|
|
7916
|
+
Box as Box42,
|
|
8195
7917
|
Checkbox as Checkbox7,
|
|
8196
7918
|
CircularProgress as CircularProgress5,
|
|
8197
7919
|
FormControl as FormControl5,
|
|
@@ -8234,18 +7956,18 @@ var SmartMultipleSelect = ({
|
|
|
8234
7956
|
onChange?.(newValues);
|
|
8235
7957
|
};
|
|
8236
7958
|
const renderMenuContent = () => !menuOptions?.length ? /* @__PURE__ */ jsx120(
|
|
8237
|
-
|
|
7959
|
+
Box42,
|
|
8238
7960
|
{
|
|
8239
7961
|
sx: { display: "flex", justifyContent: "center", alignItems: "center" },
|
|
8240
7962
|
children: /* @__PURE__ */ jsx120(Typography29, { children: emptyMessage })
|
|
8241
7963
|
}
|
|
8242
|
-
) : /* @__PURE__ */ jsx120(
|
|
7964
|
+
) : /* @__PURE__ */ jsx120(Box42, { sx: { display: "flex", flexDirection: "column" }, children: menuOptions?.map((option, index) => {
|
|
8243
7965
|
const selectedValues = values ?? localValues ?? [];
|
|
8244
7966
|
const isSelected = selectedValues.some(
|
|
8245
7967
|
(selected) => selected.value === option.value
|
|
8246
7968
|
);
|
|
8247
7969
|
return /* @__PURE__ */ jsxs83(
|
|
8248
|
-
|
|
7970
|
+
Box42,
|
|
8249
7971
|
{
|
|
8250
7972
|
onClick: () => handleChangeOption(option),
|
|
8251
7973
|
sx: {
|
|
@@ -8288,7 +8010,7 @@ var SmartMultipleSelect = ({
|
|
|
8288
8010
|
return /* @__PURE__ */ jsx120(DynamicOverflowTooltip, { tooltipDescription: valuesString, children: valuesString });
|
|
8289
8011
|
},
|
|
8290
8012
|
children: isLoading ? /* @__PURE__ */ jsx120(
|
|
8291
|
-
|
|
8013
|
+
Box42,
|
|
8292
8014
|
{
|
|
8293
8015
|
sx: {
|
|
8294
8016
|
display: "flex",
|
|
@@ -8531,7 +8253,7 @@ var SmartTableHeaderFilterMenu = ({
|
|
|
8531
8253
|
// src/components/SmartTableHeader/SmartTableHeader.tsx
|
|
8532
8254
|
import { memo as memo22 } from "react";
|
|
8533
8255
|
import {
|
|
8534
|
-
Box as
|
|
8256
|
+
Box as Box43,
|
|
8535
8257
|
Checkbox as Checkbox8,
|
|
8536
8258
|
TableCell,
|
|
8537
8259
|
TableHead,
|
|
@@ -8602,7 +8324,7 @@ var SmartTableHeader = memo22(
|
|
|
8602
8324
|
}
|
|
8603
8325
|
},
|
|
8604
8326
|
children: /* @__PURE__ */ jsxs86(
|
|
8605
|
-
|
|
8327
|
+
Box43,
|
|
8606
8328
|
{
|
|
8607
8329
|
display: "flex",
|
|
8608
8330
|
flexDirection: "row",
|
|
@@ -8658,10 +8380,9 @@ var SmartTableHeader = memo22(
|
|
|
8658
8380
|
);
|
|
8659
8381
|
|
|
8660
8382
|
// src/components/Table/Table.tsx
|
|
8661
|
-
var import_debounce = __toESM(require_debounce(), 1);
|
|
8662
8383
|
import { useLayoutEffect, useState as useState18 } from "react";
|
|
8663
8384
|
import {
|
|
8664
|
-
Box as
|
|
8385
|
+
Box as Box45,
|
|
8665
8386
|
Paper as Paper12,
|
|
8666
8387
|
Table as MUITable,
|
|
8667
8388
|
TableBody,
|
|
@@ -8671,16 +8392,17 @@ import {
|
|
|
8671
8392
|
TableRow as TableRow2,
|
|
8672
8393
|
TableSortLabel as TableSortLabel2
|
|
8673
8394
|
} from "@mui/material";
|
|
8395
|
+
import debounce from "lodash/debounce";
|
|
8674
8396
|
import { makeStyles as makeStyles44 } from "tss-react/mui";
|
|
8675
8397
|
import { v4 as uuidv4 } from "uuid";
|
|
8676
8398
|
|
|
8677
8399
|
// src/components/TableLoading/TableLoading.tsx
|
|
8678
|
-
import { Box as
|
|
8400
|
+
import { Box as Box44, Skeleton as Skeleton4 } from "@mui/material";
|
|
8679
8401
|
import { jsx as jsx125 } from "react/jsx-runtime";
|
|
8680
8402
|
var TableLoading = ({
|
|
8681
8403
|
rowsPerPage,
|
|
8682
8404
|
rowHeight
|
|
8683
|
-
}) => /* @__PURE__ */ jsx125(
|
|
8405
|
+
}) => /* @__PURE__ */ jsx125(Box44, { children: Array.from({ length: rowsPerPage ?? 0 }).map((_, index) => /* @__PURE__ */ jsx125(
|
|
8684
8406
|
Skeleton4,
|
|
8685
8407
|
{
|
|
8686
8408
|
animation: "pulse",
|
|
@@ -8790,7 +8512,7 @@ var Table = ({
|
|
|
8790
8512
|
setRowsPerPage(newRowsPerPage);
|
|
8791
8513
|
}
|
|
8792
8514
|
updateRowsPerPage();
|
|
8793
|
-
const debounced = (
|
|
8515
|
+
const debounced = debounce(updateRowsPerPage, 150);
|
|
8794
8516
|
window.addEventListener("resize", debounced);
|
|
8795
8517
|
return () => {
|
|
8796
8518
|
window.removeEventListener("resize", debounced);
|
|
@@ -8818,7 +8540,7 @@ var Table = ({
|
|
|
8818
8540
|
}
|
|
8819
8541
|
return rowsComponents;
|
|
8820
8542
|
};
|
|
8821
|
-
return /* @__PURE__ */ jsx126(Paper12, { className: classes.root, children: /* @__PURE__ */ jsx126(
|
|
8543
|
+
return /* @__PURE__ */ jsx126(Paper12, { className: classes.root, children: /* @__PURE__ */ jsx126(Box45, { 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: [
|
|
8822
8544
|
/* @__PURE__ */ jsx126(TableHead2, { className: classes.header, children: /* @__PURE__ */ jsx126(TableRow2, { children: headCells?.map((headCell) => /* @__PURE__ */ jsx126(
|
|
8823
8545
|
TableCell2,
|
|
8824
8546
|
{
|
|
@@ -8851,7 +8573,7 @@ import {
|
|
|
8851
8573
|
useEffect as useEffect13,
|
|
8852
8574
|
useRef as useRef8
|
|
8853
8575
|
} from "react";
|
|
8854
|
-
import { Paper as Paper13, Table as Table2, TableBody as TableBody3, TableContainer as TableContainer2, Box as
|
|
8576
|
+
import { Paper as Paper13, Table as Table2, TableBody as TableBody3, TableContainer as TableContainer2, Box as Box47 } from "@mui/material";
|
|
8855
8577
|
|
|
8856
8578
|
// src/components/TableDesktopLoadingState/TableDesktopLoadingState.tsx
|
|
8857
8579
|
import { Skeleton as Skeleton5, TableCell as TableCell3, TableRow as TableRow3 } from "@mui/material";
|
|
@@ -9025,7 +8747,7 @@ var TableDesktopRows = ({
|
|
|
9025
8747
|
};
|
|
9026
8748
|
|
|
9027
8749
|
// src/components/TableDesktopRowSelectionBar/TableDesktopRowSelectionBar.tsx
|
|
9028
|
-
import { Box as
|
|
8750
|
+
import { Box as Box46, Button as Button17, Typography as Typography33 } from "@mui/material";
|
|
9029
8751
|
import { jsx as jsx130, jsxs as jsxs90 } from "react/jsx-runtime";
|
|
9030
8752
|
var TableDesktopRowSelectionBar = ({
|
|
9031
8753
|
isEveryRowInPageSelected,
|
|
@@ -9046,7 +8768,7 @@ var TableDesktopRowSelectionBar = ({
|
|
|
9046
8768
|
return `${numSelectedRows} row${numSelectedRows > 1 ? "s" : ""} selected.`;
|
|
9047
8769
|
};
|
|
9048
8770
|
return isAnyRowSelected ? /* @__PURE__ */ jsxs90(
|
|
9049
|
-
|
|
8771
|
+
Box46,
|
|
9050
8772
|
{
|
|
9051
8773
|
sx: {
|
|
9052
8774
|
p: 1,
|
|
@@ -9281,7 +9003,7 @@ var TableDesktop = ({
|
|
|
9281
9003
|
);
|
|
9282
9004
|
};
|
|
9283
9005
|
return /* @__PURE__ */ jsx132(
|
|
9284
|
-
|
|
9006
|
+
Box47,
|
|
9285
9007
|
{
|
|
9286
9008
|
sx: {
|
|
9287
9009
|
height,
|
|
@@ -9950,7 +9672,7 @@ var TableDesktopEditableField = ({
|
|
|
9950
9672
|
// src/components/TableDesktopFooter/TableDesktopFooter.tsx
|
|
9951
9673
|
import Refresh3 from "@mui/icons-material/Refresh";
|
|
9952
9674
|
import {
|
|
9953
|
-
Box as
|
|
9675
|
+
Box as Box48,
|
|
9954
9676
|
Button as Button18,
|
|
9955
9677
|
MenuItem as MenuItem4,
|
|
9956
9678
|
Pagination as Pagination2,
|
|
@@ -9970,7 +9692,7 @@ var TableDesktopFooter = ({
|
|
|
9970
9692
|
isFetching
|
|
9971
9693
|
}) => {
|
|
9972
9694
|
return /* @__PURE__ */ jsxs93(
|
|
9973
|
-
|
|
9695
|
+
Box48,
|
|
9974
9696
|
{
|
|
9975
9697
|
sx: {
|
|
9976
9698
|
py: 1,
|
|
@@ -10002,7 +9724,7 @@ var TableDesktopFooter = ({
|
|
|
10002
9724
|
)
|
|
10003
9725
|
}
|
|
10004
9726
|
) : null,
|
|
10005
|
-
/* @__PURE__ */ jsxs93(
|
|
9727
|
+
/* @__PURE__ */ jsxs93(Box48, { sx: { display: "flex", ml: "auto", py: 1 }, children: [
|
|
10006
9728
|
pageSize && pageSizeOptions && onPageSizeChange ? /* @__PURE__ */ jsxs93(Stack, { direction: "row", spacing: 2, alignItems: "center", children: [
|
|
10007
9729
|
/* @__PURE__ */ jsx139(Typography35, { fontSize: 12, children: "Rows per page:" }),
|
|
10008
9730
|
/* @__PURE__ */ jsx139(
|
|
@@ -10142,7 +9864,7 @@ import Download from "@mui/icons-material/Download";
|
|
|
10142
9864
|
import KeyboardArrowLeft2 from "@mui/icons-material/KeyboardArrowLeft";
|
|
10143
9865
|
import KeyboardArrowRight2 from "@mui/icons-material/KeyboardArrowRight";
|
|
10144
9866
|
import {
|
|
10145
|
-
Box as
|
|
9867
|
+
Box as Box49,
|
|
10146
9868
|
Button as Button19,
|
|
10147
9869
|
Divider as Divider11,
|
|
10148
9870
|
FormControlLabel as FormControlLabel7,
|
|
@@ -10206,7 +9928,7 @@ var TableDesktopToolbar = ({
|
|
|
10206
9928
|
});
|
|
10207
9929
|
};
|
|
10208
9930
|
return /* @__PURE__ */ jsxs95(
|
|
10209
|
-
|
|
9931
|
+
Box49,
|
|
10210
9932
|
{
|
|
10211
9933
|
sx: {
|
|
10212
9934
|
borderBottom: "1px solid",
|
|
@@ -10215,7 +9937,7 @@ var TableDesktopToolbar = ({
|
|
|
10215
9937
|
},
|
|
10216
9938
|
children: [
|
|
10217
9939
|
/* @__PURE__ */ jsxs95(
|
|
10218
|
-
|
|
9940
|
+
Box49,
|
|
10219
9941
|
{
|
|
10220
9942
|
sx: {
|
|
10221
9943
|
py: 1,
|
|
@@ -10227,7 +9949,7 @@ var TableDesktopToolbar = ({
|
|
|
10227
9949
|
},
|
|
10228
9950
|
children: [
|
|
10229
9951
|
/* @__PURE__ */ jsxs95(
|
|
10230
|
-
|
|
9952
|
+
Box49,
|
|
10231
9953
|
{
|
|
10232
9954
|
sx: {
|
|
10233
9955
|
py: 1,
|
|
@@ -10275,7 +9997,7 @@ var TableDesktopToolbar = ({
|
|
|
10275
9997
|
}
|
|
10276
9998
|
),
|
|
10277
9999
|
/* @__PURE__ */ jsx141(
|
|
10278
|
-
|
|
10000
|
+
Box49,
|
|
10279
10001
|
{
|
|
10280
10002
|
ref: scrollRef,
|
|
10281
10003
|
sx: {
|
|
@@ -10297,7 +10019,7 @@ var TableDesktopToolbar = ({
|
|
|
10297
10019
|
return null;
|
|
10298
10020
|
}
|
|
10299
10021
|
return editableCellType && /* @__PURE__ */ jsx141(
|
|
10300
|
-
|
|
10022
|
+
Box49,
|
|
10301
10023
|
{
|
|
10302
10024
|
sx: { width, flex: "0 0 auto" },
|
|
10303
10025
|
children: /* @__PURE__ */ jsx141(
|
|
@@ -10350,7 +10072,7 @@ var TableDesktopToolbar = ({
|
|
|
10350
10072
|
children: "APPLY"
|
|
10351
10073
|
}
|
|
10352
10074
|
)
|
|
10353
|
-
] }) : /* @__PURE__ */ jsxs95(
|
|
10075
|
+
] }) : /* @__PURE__ */ jsxs95(Box49, { sx: { display: "flex", alignItems: "center", gap: 1 }, children: [
|
|
10354
10076
|
renderInfoIcons,
|
|
10355
10077
|
renderExportCsvDialog ? /* @__PURE__ */ jsx141(Tooltip13, { title: "Download List", children: /* @__PURE__ */ jsx141("span", { style: { display: "flex", alignItems: "center" }, children: /* @__PURE__ */ jsx141(
|
|
10356
10078
|
IconButton8,
|
|
@@ -10465,7 +10187,7 @@ var TableHeader = ({ cells, onSort = null }) => {
|
|
|
10465
10187
|
var TableHeader_default = memo23(TableHeader);
|
|
10466
10188
|
|
|
10467
10189
|
// src/components/TextDivider/TextDivider.tsx
|
|
10468
|
-
import { Box as
|
|
10190
|
+
import { Box as Box50, Typography as Typography37, Divider as Divider12, Button as Button20 } from "@mui/material";
|
|
10469
10191
|
import { makeStyles as makeStyles47 } from "tss-react/mui";
|
|
10470
10192
|
import { jsx as jsx143, jsxs as jsxs96 } from "react/jsx-runtime";
|
|
10471
10193
|
var useStyles47 = makeStyles47()(() => ({
|
|
@@ -10505,7 +10227,7 @@ var TextDivider = ({
|
|
|
10505
10227
|
const { classes } = useStyles47();
|
|
10506
10228
|
const iconColor = color ?? colors.neutral900;
|
|
10507
10229
|
return /* @__PURE__ */ jsxs96(
|
|
10508
|
-
|
|
10230
|
+
Box50,
|
|
10509
10231
|
{
|
|
10510
10232
|
display: "flex",
|
|
10511
10233
|
alignItems: "center",
|
|
@@ -10513,7 +10235,7 @@ var TextDivider = ({
|
|
|
10513
10235
|
className: classes.container,
|
|
10514
10236
|
children: [
|
|
10515
10237
|
/* @__PURE__ */ jsx143(Divider12, { className: classes.leftDivider }),
|
|
10516
|
-
/* @__PURE__ */ jsx143(Button20, { onClick, disabled: !onClick, className: classes.button, children: /* @__PURE__ */ jsxs96(
|
|
10238
|
+
/* @__PURE__ */ jsx143(Button20, { onClick, disabled: !onClick, className: classes.button, children: /* @__PURE__ */ jsxs96(Box50, { className: classes.center, children: [
|
|
10517
10239
|
Icon2 && iconPosition === "left" && /* @__PURE__ */ jsx143(Icon2, { className: classes.icon, style: { color: iconColor } }),
|
|
10518
10240
|
/* @__PURE__ */ jsx143(
|
|
10519
10241
|
Typography37,
|
|
@@ -10640,7 +10362,7 @@ var ThemedDateRangePicker_default = ThemedDateRangePicker;
|
|
|
10640
10362
|
|
|
10641
10363
|
// src/components/TheToolbar/TheToolbar.tsx
|
|
10642
10364
|
import { memo as memo24 } from "react";
|
|
10643
|
-
import { AppBar, Box as
|
|
10365
|
+
import { AppBar, Box as Box51, Toolbar } from "@mui/material";
|
|
10644
10366
|
import { makeStyles as makeStyles49 } from "tss-react/mui";
|
|
10645
10367
|
import { jsx as jsx145, jsxs as jsxs97 } from "react/jsx-runtime";
|
|
10646
10368
|
var useStyles49 = makeStyles49()((theme) => ({
|
|
@@ -10667,9 +10389,9 @@ var TheToolbar = ({
|
|
|
10667
10389
|
isAuthenticated = true
|
|
10668
10390
|
}) => {
|
|
10669
10391
|
const { classes } = useStyles49();
|
|
10670
|
-
return /* @__PURE__ */ jsxs97(
|
|
10392
|
+
return /* @__PURE__ */ jsxs97(Box51, { children: [
|
|
10671
10393
|
/* @__PURE__ */ jsx145(AppBar, { children: /* @__PURE__ */ jsxs97(Toolbar, { className: classes.topBar, children: [
|
|
10672
|
-
isAuthenticated ? /* @__PURE__ */ jsx145(
|
|
10394
|
+
isAuthenticated ? /* @__PURE__ */ jsx145(Box51, { sx: { flexShrink: 0, display: "flex" }, children: /* @__PURE__ */ jsx145(
|
|
10673
10395
|
RoundButton_default,
|
|
10674
10396
|
{
|
|
10675
10397
|
className: classes.menuButton,
|
|
@@ -10678,7 +10400,7 @@ var TheToolbar = ({
|
|
|
10678
10400
|
onClick: handleOpen
|
|
10679
10401
|
}
|
|
10680
10402
|
) }) : null,
|
|
10681
|
-
/* @__PURE__ */ jsx145(
|
|
10403
|
+
/* @__PURE__ */ jsx145(Box51, { sx: { display: { xs: "none", lg: "block" }, flexShrink: 0 }, children: /* @__PURE__ */ jsx145(
|
|
10682
10404
|
CompanyLogo_default,
|
|
10683
10405
|
{
|
|
10684
10406
|
size: "small",
|
|
@@ -10688,7 +10410,7 @@ var TheToolbar = ({
|
|
|
10688
10410
|
}
|
|
10689
10411
|
) }),
|
|
10690
10412
|
/* @__PURE__ */ jsx145(
|
|
10691
|
-
|
|
10413
|
+
Box51,
|
|
10692
10414
|
{
|
|
10693
10415
|
ml: { xs: 0, lg: 2 },
|
|
10694
10416
|
sx: { flexShrink: 0, display: { xs: "none", xl: "block" } },
|
|
@@ -10696,7 +10418,7 @@ var TheToolbar = ({
|
|
|
10696
10418
|
}
|
|
10697
10419
|
),
|
|
10698
10420
|
centerSection ? /* @__PURE__ */ jsx145(
|
|
10699
|
-
|
|
10421
|
+
Box51,
|
|
10700
10422
|
{
|
|
10701
10423
|
sx: {
|
|
10702
10424
|
flexGrow: 1,
|
|
@@ -10706,8 +10428,8 @@ var TheToolbar = ({
|
|
|
10706
10428
|
},
|
|
10707
10429
|
children: centerSection
|
|
10708
10430
|
}
|
|
10709
|
-
) : /* @__PURE__ */ jsx145(
|
|
10710
|
-
/* @__PURE__ */ jsx145(
|
|
10431
|
+
) : /* @__PURE__ */ jsx145(Box51, { sx: { flexGrow: 1 } }),
|
|
10432
|
+
/* @__PURE__ */ jsx145(Box51, { sx: { flexShrink: 0, display: { xs: "none", xl: "block" } }, children: rightSection })
|
|
10711
10433
|
] }) }),
|
|
10712
10434
|
LeftDrawer
|
|
10713
10435
|
] });
|
|
@@ -10760,7 +10482,7 @@ import {
|
|
|
10760
10482
|
Typography as Typography38,
|
|
10761
10483
|
Dialog as Dialog5,
|
|
10762
10484
|
Backdrop,
|
|
10763
|
-
Box as
|
|
10485
|
+
Box as Box52,
|
|
10764
10486
|
Divider as Divider13,
|
|
10765
10487
|
Paper as Paper14,
|
|
10766
10488
|
Fade as Fade2
|
|
@@ -10807,9 +10529,9 @@ var TwoButtonDialog = ({
|
|
|
10807
10529
|
BackdropComponent: Backdrop,
|
|
10808
10530
|
BackdropProps: { timeout: 500 },
|
|
10809
10531
|
children: /* @__PURE__ */ jsx147(Fade2, { in: open, children: /* @__PURE__ */ jsxs98(Paper14, { className: classes.paper, children: [
|
|
10810
|
-
/* @__PURE__ */ jsxs98(
|
|
10532
|
+
/* @__PURE__ */ jsxs98(Box52, { className: classes.mb, children: [
|
|
10811
10533
|
/* @__PURE__ */ jsx147(Typography38, { variant: "h5", component: "div", children: /* @__PURE__ */ jsx147(
|
|
10812
|
-
|
|
10534
|
+
Box52,
|
|
10813
10535
|
{
|
|
10814
10536
|
sx: {
|
|
10815
10537
|
fontWeight: 600
|
|
@@ -10818,7 +10540,7 @@ var TwoButtonDialog = ({
|
|
|
10818
10540
|
}
|
|
10819
10541
|
) }),
|
|
10820
10542
|
/* @__PURE__ */ jsxs98(
|
|
10821
|
-
|
|
10543
|
+
Box52,
|
|
10822
10544
|
{
|
|
10823
10545
|
className: classes.mt,
|
|
10824
10546
|
sx: {
|
|
@@ -10832,7 +10554,7 @@ var TwoButtonDialog = ({
|
|
|
10832
10554
|
)
|
|
10833
10555
|
] }),
|
|
10834
10556
|
/* @__PURE__ */ jsx147(Divider13, {}),
|
|
10835
|
-
/* @__PURE__ */ jsxs98(
|
|
10557
|
+
/* @__PURE__ */ jsxs98(Box52, { className: classes.buttonContainer, children: [
|
|
10836
10558
|
/* @__PURE__ */ jsx147(
|
|
10837
10559
|
FilledButton_default,
|
|
10838
10560
|
{
|