alex-evo-sh-ui-kit 1.0.7 → 1.0.9
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/alex-evo-sh-ui-kit.es.js +194 -178
- package/dist/alex-evo-sh-ui-kit.umd.js +11 -11
- package/dist/index.css +1 -1
- package/dist/index.d.ts +4 -2
- package/dist/model/navigation.d.ts +1 -0
- package/dist/ui/Layout/ColumnLayout/ColumnLayout.d.ts +17 -0
- package/dist/ui/NavigationDrawer/NavButton.d.ts +2 -1
- package/dist/ui/NavigationRail/NavButton.d.ts +2 -1
- package/package.json +1 -1
- /package/dist/ui/{GridLayout → Layout/GridLayout}/GridLayout.d.ts +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import ve, { useState as N, useCallback as R, useEffect as F, forwardRef as on, createElement as _e, useRef as U } from "react";
|
|
2
2
|
import { NavLink as Oe } from "react-router-dom";
|
|
3
|
-
import './index.css';var
|
|
3
|
+
import './index.css';var $e = { exports: {} }, se = {};
|
|
4
4
|
/**
|
|
5
5
|
* @license React
|
|
6
6
|
* react-jsx-runtime.production.min.js
|
|
@@ -17,14 +17,14 @@ function zn() {
|
|
|
17
17
|
tn = 1;
|
|
18
18
|
var n = ve, r = Symbol.for("react.element"), s = Symbol.for("react.fragment"), a = Object.prototype.hasOwnProperty, i = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, l = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
19
19
|
function d(c, o, h) {
|
|
20
|
-
var u, f = {}, v = null,
|
|
21
|
-
h !== void 0 && (v = "" + h), o.key !== void 0 && (v = "" + o.key), o.ref !== void 0 && (
|
|
20
|
+
var u, f = {}, v = null, p = null;
|
|
21
|
+
h !== void 0 && (v = "" + h), o.key !== void 0 && (v = "" + o.key), o.ref !== void 0 && (p = o.ref);
|
|
22
22
|
for (u in o)
|
|
23
23
|
a.call(o, u) && !l.hasOwnProperty(u) && (f[u] = o[u]);
|
|
24
24
|
if (c && c.defaultProps)
|
|
25
25
|
for (u in o = c.defaultProps, o)
|
|
26
26
|
f[u] === void 0 && (f[u] = o[u]);
|
|
27
|
-
return { $$typeof: r, type: c, key: v, ref:
|
|
27
|
+
return { $$typeof: r, type: c, key: v, ref: p, props: f, _owner: i.current };
|
|
28
28
|
}
|
|
29
29
|
return se.Fragment = s, se.jsx = d, se.jsxs = d, se;
|
|
30
30
|
}
|
|
@@ -41,8 +41,8 @@ var ae = {};
|
|
|
41
41
|
var rn;
|
|
42
42
|
function Un() {
|
|
43
43
|
return rn || (rn = 1, process.env.NODE_ENV !== "production" && function() {
|
|
44
|
-
var n = ve, r = Symbol.for("react.element"), s = Symbol.for("react.portal"), a = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), l = Symbol.for("react.profiler"), d = Symbol.for("react.provider"), c = Symbol.for("react.context"), o = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), f = Symbol.for("react.memo"), v = Symbol.for("react.lazy"),
|
|
45
|
-
function
|
|
44
|
+
var n = ve, r = Symbol.for("react.element"), s = Symbol.for("react.portal"), a = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), l = Symbol.for("react.profiler"), d = Symbol.for("react.provider"), c = Symbol.for("react.context"), o = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), f = Symbol.for("react.memo"), v = Symbol.for("react.lazy"), p = Symbol.for("react.offscreen"), y = Symbol.iterator, w = "@@iterator";
|
|
45
|
+
function $(t) {
|
|
46
46
|
if (t === null || typeof t != "object")
|
|
47
47
|
return null;
|
|
48
48
|
var x = y && t[y] || t[w];
|
|
@@ -51,14 +51,14 @@ function Un() {
|
|
|
51
51
|
var O = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
52
52
|
function E(t) {
|
|
53
53
|
{
|
|
54
|
-
for (var x = arguments.length, m = new Array(x > 1 ? x - 1 : 0),
|
|
55
|
-
m[
|
|
56
|
-
|
|
54
|
+
for (var x = arguments.length, m = new Array(x > 1 ? x - 1 : 0), g = 1; g < x; g++)
|
|
55
|
+
m[g - 1] = arguments[g];
|
|
56
|
+
L("error", t, m);
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
|
-
function
|
|
59
|
+
function L(t, x, m) {
|
|
60
60
|
{
|
|
61
|
-
var
|
|
61
|
+
var g = O.ReactDebugCurrentFrame, C = g.getStackAddendum();
|
|
62
62
|
C !== "" && (x += "%s", m = m.concat([C]));
|
|
63
63
|
var T = m.map(function(k) {
|
|
64
64
|
return String(k);
|
|
@@ -66,26 +66,26 @@ function Un() {
|
|
|
66
66
|
T.unshift("Warning: " + x), Function.prototype.apply.call(console[t], console, T);
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
|
-
var j = !1, _ = !1,
|
|
69
|
+
var j = !1, _ = !1, V = !1, K = !1, ee = !1, H;
|
|
70
70
|
H = Symbol.for("react.module.reference");
|
|
71
71
|
function oe(t) {
|
|
72
|
-
return !!(typeof t == "string" || typeof t == "function" || t === a || t === l || ee || t === i || t === h || t === u || K || t ===
|
|
72
|
+
return !!(typeof t == "string" || typeof t == "function" || t === a || t === l || ee || t === i || t === h || t === u || K || t === p || j || _ || V || typeof t == "object" && t !== null && (t.$$typeof === v || t.$$typeof === f || t.$$typeof === d || t.$$typeof === c || t.$$typeof === o || // This needs to include all possible module reference object
|
|
73
73
|
// types supported by any Flight configuration anywhere since
|
|
74
74
|
// we don't know which Flight build this will end up being used
|
|
75
75
|
// with.
|
|
76
76
|
t.$$typeof === H || t.getModuleId !== void 0));
|
|
77
77
|
}
|
|
78
78
|
function X(t, x, m) {
|
|
79
|
-
var
|
|
80
|
-
if (
|
|
81
|
-
return
|
|
79
|
+
var g = t.displayName;
|
|
80
|
+
if (g)
|
|
81
|
+
return g;
|
|
82
82
|
var C = x.displayName || x.name || "";
|
|
83
83
|
return C !== "" ? m + "(" + C + ")" : m;
|
|
84
84
|
}
|
|
85
85
|
function De(t) {
|
|
86
86
|
return t.displayName || "Context";
|
|
87
87
|
}
|
|
88
|
-
function
|
|
88
|
+
function B(t) {
|
|
89
89
|
if (t == null)
|
|
90
90
|
return null;
|
|
91
91
|
if (typeof t.tag == "number" && E("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof t == "function")
|
|
@@ -117,12 +117,12 @@ function Un() {
|
|
|
117
117
|
case o:
|
|
118
118
|
return X(t, t.render, "ForwardRef");
|
|
119
119
|
case f:
|
|
120
|
-
var
|
|
121
|
-
return
|
|
120
|
+
var g = t.displayName || null;
|
|
121
|
+
return g !== null ? g : B(t.type) || "Memo";
|
|
122
122
|
case v: {
|
|
123
123
|
var C = t, T = C._payload, k = C._init;
|
|
124
124
|
try {
|
|
125
|
-
return
|
|
125
|
+
return B(k(T));
|
|
126
126
|
} catch {
|
|
127
127
|
return null;
|
|
128
128
|
}
|
|
@@ -130,18 +130,18 @@ function Un() {
|
|
|
130
130
|
}
|
|
131
131
|
return null;
|
|
132
132
|
}
|
|
133
|
-
var q = Object.assign, ne = 0, Me, Fe, Pe, Ae, Ie, Ye,
|
|
134
|
-
function
|
|
133
|
+
var q = Object.assign, ne = 0, Me, Fe, Pe, Ae, Ie, Ye, Le;
|
|
134
|
+
function We() {
|
|
135
135
|
}
|
|
136
|
-
|
|
136
|
+
We.__reactDisabledLog = !0;
|
|
137
137
|
function jn() {
|
|
138
138
|
{
|
|
139
139
|
if (ne === 0) {
|
|
140
|
-
Me = console.log, Fe = console.info, Pe = console.warn, Ae = console.error, Ie = console.group, Ye = console.groupCollapsed,
|
|
140
|
+
Me = console.log, Fe = console.info, Pe = console.warn, Ae = console.error, Ie = console.group, Ye = console.groupCollapsed, Le = console.groupEnd;
|
|
141
141
|
var t = {
|
|
142
142
|
configurable: !0,
|
|
143
143
|
enumerable: !0,
|
|
144
|
-
value:
|
|
144
|
+
value: We,
|
|
145
145
|
writable: !0
|
|
146
146
|
};
|
|
147
147
|
Object.defineProperties(console, {
|
|
@@ -185,7 +185,7 @@ function Un() {
|
|
|
185
185
|
value: Ye
|
|
186
186
|
}),
|
|
187
187
|
groupEnd: q({}, t, {
|
|
188
|
-
value:
|
|
188
|
+
value: Le
|
|
189
189
|
})
|
|
190
190
|
});
|
|
191
191
|
}
|
|
@@ -199,8 +199,8 @@ function Un() {
|
|
|
199
199
|
try {
|
|
200
200
|
throw Error();
|
|
201
201
|
} catch (C) {
|
|
202
|
-
var
|
|
203
|
-
ge =
|
|
202
|
+
var g = C.stack.trim().match(/\n( *(at )?)/);
|
|
203
|
+
ge = g && g[1] || "";
|
|
204
204
|
}
|
|
205
205
|
return `
|
|
206
206
|
` + ge + t;
|
|
@@ -211,7 +211,7 @@ function Un() {
|
|
|
211
211
|
var gn = typeof WeakMap == "function" ? WeakMap : Map;
|
|
212
212
|
ue = new gn();
|
|
213
213
|
}
|
|
214
|
-
function
|
|
214
|
+
function Ve(t, x) {
|
|
215
215
|
if (!t || ye)
|
|
216
216
|
return "";
|
|
217
217
|
{
|
|
@@ -219,7 +219,7 @@ function Un() {
|
|
|
219
219
|
if (m !== void 0)
|
|
220
220
|
return m;
|
|
221
221
|
}
|
|
222
|
-
var
|
|
222
|
+
var g;
|
|
223
223
|
ye = !0;
|
|
224
224
|
var C = Error.prepareStackTrace;
|
|
225
225
|
Error.prepareStackTrace = void 0;
|
|
@@ -238,14 +238,14 @@ function Un() {
|
|
|
238
238
|
try {
|
|
239
239
|
Reflect.construct(k, []);
|
|
240
240
|
} catch (A) {
|
|
241
|
-
|
|
241
|
+
g = A;
|
|
242
242
|
}
|
|
243
243
|
Reflect.construct(t, [], k);
|
|
244
244
|
} else {
|
|
245
245
|
try {
|
|
246
246
|
k.call();
|
|
247
247
|
} catch (A) {
|
|
248
|
-
|
|
248
|
+
g = A;
|
|
249
249
|
}
|
|
250
250
|
t.call(k.prototype);
|
|
251
251
|
}
|
|
@@ -253,26 +253,26 @@ function Un() {
|
|
|
253
253
|
try {
|
|
254
254
|
throw Error();
|
|
255
255
|
} catch (A) {
|
|
256
|
-
|
|
256
|
+
g = A;
|
|
257
257
|
}
|
|
258
258
|
t();
|
|
259
259
|
}
|
|
260
260
|
} catch (A) {
|
|
261
|
-
if (A &&
|
|
261
|
+
if (A && g && typeof A.stack == "string") {
|
|
262
262
|
for (var b = A.stack.split(`
|
|
263
|
-
`), P =
|
|
264
|
-
`),
|
|
263
|
+
`), P = g.stack.split(`
|
|
264
|
+
`), S = b.length - 1, D = P.length - 1; S >= 1 && D >= 0 && b[S] !== P[D]; )
|
|
265
265
|
D--;
|
|
266
|
-
for (;
|
|
267
|
-
if (b[
|
|
268
|
-
if (
|
|
266
|
+
for (; S >= 1 && D >= 0; S--, D--)
|
|
267
|
+
if (b[S] !== P[D]) {
|
|
268
|
+
if (S !== 1 || D !== 1)
|
|
269
269
|
do
|
|
270
|
-
if (
|
|
270
|
+
if (S--, D--, D < 0 || b[S] !== P[D]) {
|
|
271
271
|
var Y = `
|
|
272
|
-
` + b[
|
|
272
|
+
` + b[S].replace(" at new ", " at ");
|
|
273
273
|
return t.displayName && Y.includes("<anonymous>") && (Y = Y.replace("<anonymous>", t.displayName)), typeof t == "function" && ue.set(t, Y), Y;
|
|
274
274
|
}
|
|
275
|
-
while (
|
|
275
|
+
while (S >= 1 && D >= 0);
|
|
276
276
|
break;
|
|
277
277
|
}
|
|
278
278
|
}
|
|
@@ -283,7 +283,7 @@ function Un() {
|
|
|
283
283
|
return typeof t == "function" && ue.set(t, G), G;
|
|
284
284
|
}
|
|
285
285
|
function yn(t, x, m) {
|
|
286
|
-
return
|
|
286
|
+
return Ve(t, !1);
|
|
287
287
|
}
|
|
288
288
|
function bn(t) {
|
|
289
289
|
var x = t.prototype;
|
|
@@ -293,7 +293,7 @@ function Un() {
|
|
|
293
293
|
if (t == null)
|
|
294
294
|
return "";
|
|
295
295
|
if (typeof t == "function")
|
|
296
|
-
return
|
|
296
|
+
return Ve(t, bn(t));
|
|
297
297
|
if (typeof t == "string")
|
|
298
298
|
return de(t);
|
|
299
299
|
switch (t) {
|
|
@@ -309,7 +309,7 @@ function Un() {
|
|
|
309
309
|
case f:
|
|
310
310
|
return xe(t.type, x, m);
|
|
311
311
|
case v: {
|
|
312
|
-
var
|
|
312
|
+
var g = t, C = g._payload, T = g._init;
|
|
313
313
|
try {
|
|
314
314
|
return xe(T(C), x, m);
|
|
315
315
|
} catch {
|
|
@@ -318,7 +318,7 @@ function Un() {
|
|
|
318
318
|
}
|
|
319
319
|
return "";
|
|
320
320
|
}
|
|
321
|
-
var te = Object.prototype.hasOwnProperty,
|
|
321
|
+
var te = Object.prototype.hasOwnProperty, Be = {}, ze = O.ReactDebugCurrentFrame;
|
|
322
322
|
function he(t) {
|
|
323
323
|
if (t) {
|
|
324
324
|
var x = t._owner, m = xe(t.type, t._source, x ? x.type : null);
|
|
@@ -326,7 +326,7 @@ function Un() {
|
|
|
326
326
|
} else
|
|
327
327
|
ze.setExtraStackFrame(null);
|
|
328
328
|
}
|
|
329
|
-
function kn(t, x, m,
|
|
329
|
+
function kn(t, x, m, g, C) {
|
|
330
330
|
{
|
|
331
331
|
var T = Function.call.bind(te);
|
|
332
332
|
for (var k in t)
|
|
@@ -334,14 +334,14 @@ function Un() {
|
|
|
334
334
|
var b = void 0;
|
|
335
335
|
try {
|
|
336
336
|
if (typeof t[k] != "function") {
|
|
337
|
-
var P = Error((
|
|
337
|
+
var P = Error((g || "React class") + ": " + m + " type `" + k + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof t[k] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
338
338
|
throw P.name = "Invariant Violation", P;
|
|
339
339
|
}
|
|
340
|
-
b = t[k](x, k,
|
|
341
|
-
} catch (
|
|
342
|
-
b =
|
|
340
|
+
b = t[k](x, k, g, m, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
341
|
+
} catch (S) {
|
|
342
|
+
b = S;
|
|
343
343
|
}
|
|
344
|
-
b && !(b instanceof Error) && (he(C), E("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",
|
|
344
|
+
b && !(b instanceof Error) && (he(C), E("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", g || "React class", m, k, typeof b), he(null)), b instanceof Error && !(b.message in Be) && (Be[b.message] = !0, he(C), E("Failed %s type: %s", m, b.message), he(null));
|
|
345
345
|
}
|
|
346
346
|
}
|
|
347
347
|
}
|
|
@@ -394,11 +394,11 @@ function Un() {
|
|
|
394
394
|
}
|
|
395
395
|
function _n(t, x) {
|
|
396
396
|
if (typeof t.ref == "string" && re.current && x && re.current.stateNode !== x) {
|
|
397
|
-
var m =
|
|
398
|
-
ke[m] || (E('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',
|
|
397
|
+
var m = B(re.current.type);
|
|
398
|
+
ke[m] || (E('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', B(re.current.type), t.ref), ke[m] = !0);
|
|
399
399
|
}
|
|
400
400
|
}
|
|
401
|
-
function
|
|
401
|
+
function $n(t, x) {
|
|
402
402
|
{
|
|
403
403
|
var m = function() {
|
|
404
404
|
Xe || (Xe = !0, E("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", x));
|
|
@@ -409,7 +409,7 @@ function Un() {
|
|
|
409
409
|
});
|
|
410
410
|
}
|
|
411
411
|
}
|
|
412
|
-
function
|
|
412
|
+
function Sn(t, x) {
|
|
413
413
|
{
|
|
414
414
|
var m = function() {
|
|
415
415
|
qe || (qe = !0, E("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", x));
|
|
@@ -420,7 +420,7 @@ function Un() {
|
|
|
420
420
|
});
|
|
421
421
|
}
|
|
422
422
|
}
|
|
423
|
-
var On = function(t, x, m,
|
|
423
|
+
var On = function(t, x, m, g, C, T, k) {
|
|
424
424
|
var b = {
|
|
425
425
|
// This tag allows us to uniquely identify this as a React Element
|
|
426
426
|
$$typeof: r,
|
|
@@ -441,7 +441,7 @@ function Un() {
|
|
|
441
441
|
configurable: !1,
|
|
442
442
|
enumerable: !1,
|
|
443
443
|
writable: !1,
|
|
444
|
-
value:
|
|
444
|
+
value: g
|
|
445
445
|
}), Object.defineProperty(b, "_source", {
|
|
446
446
|
configurable: !1,
|
|
447
447
|
enumerable: !1,
|
|
@@ -449,22 +449,22 @@ function Un() {
|
|
|
449
449
|
value: C
|
|
450
450
|
}), Object.freeze && (Object.freeze(b.props), Object.freeze(b)), b;
|
|
451
451
|
};
|
|
452
|
-
function Dn(t, x, m,
|
|
452
|
+
function Dn(t, x, m, g, C) {
|
|
453
453
|
{
|
|
454
454
|
var T, k = {}, b = null, P = null;
|
|
455
455
|
m !== void 0 && (Ke(m), b = "" + m), Rn(x) && (Ke(x.key), b = "" + x.key), Tn(x) && (P = x.ref, _n(x, C));
|
|
456
456
|
for (T in x)
|
|
457
457
|
te.call(x, T) && !En.hasOwnProperty(T) && (k[T] = x[T]);
|
|
458
458
|
if (t && t.defaultProps) {
|
|
459
|
-
var
|
|
460
|
-
for (T in
|
|
461
|
-
k[T] === void 0 && (k[T] =
|
|
459
|
+
var S = t.defaultProps;
|
|
460
|
+
for (T in S)
|
|
461
|
+
k[T] === void 0 && (k[T] = S[T]);
|
|
462
462
|
}
|
|
463
463
|
if (b || P) {
|
|
464
464
|
var D = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
|
|
465
|
-
b &&
|
|
465
|
+
b && $n(k, D), P && Sn(k, D);
|
|
466
466
|
}
|
|
467
|
-
return On(t, b, P, C,
|
|
467
|
+
return On(t, b, P, C, g, re.current, k);
|
|
468
468
|
}
|
|
469
469
|
}
|
|
470
470
|
var Ne = O.ReactCurrentOwner, Ge = O.ReactDebugCurrentFrame;
|
|
@@ -483,7 +483,7 @@ function Un() {
|
|
|
483
483
|
function Je() {
|
|
484
484
|
{
|
|
485
485
|
if (Ne.current) {
|
|
486
|
-
var t =
|
|
486
|
+
var t = B(Ne.current.type);
|
|
487
487
|
if (t)
|
|
488
488
|
return `
|
|
489
489
|
|
|
@@ -525,8 +525,8 @@ Check the top-level render call using <` + m + ">.");
|
|
|
525
525
|
if (He[m])
|
|
526
526
|
return;
|
|
527
527
|
He[m] = !0;
|
|
528
|
-
var
|
|
529
|
-
t && t._owner && t._owner !== Ne.current && (
|
|
528
|
+
var g = "";
|
|
529
|
+
t && t._owner && t._owner !== Ne.current && (g = " It was passed a child from " + B(t._owner.type) + "."), Z(t), E('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', m, g), Z(null);
|
|
530
530
|
}
|
|
531
531
|
}
|
|
532
532
|
function Qe(t, x) {
|
|
@@ -535,13 +535,13 @@ Check the top-level render call using <` + m + ">.");
|
|
|
535
535
|
return;
|
|
536
536
|
if (be(t))
|
|
537
537
|
for (var m = 0; m < t.length; m++) {
|
|
538
|
-
var
|
|
539
|
-
we(
|
|
538
|
+
var g = t[m];
|
|
539
|
+
we(g) && Ze(g, x);
|
|
540
540
|
}
|
|
541
541
|
else if (we(t))
|
|
542
542
|
t._store && (t._store.validated = !0);
|
|
543
543
|
else if (t) {
|
|
544
|
-
var C =
|
|
544
|
+
var C = $(t);
|
|
545
545
|
if (typeof C == "function" && C !== t.entries)
|
|
546
546
|
for (var T = C.call(t), k; !(k = T.next()).done; )
|
|
547
547
|
we(k.value) && Ze(k.value, x);
|
|
@@ -563,11 +563,11 @@ Check the top-level render call using <` + m + ">.");
|
|
|
563
563
|
else
|
|
564
564
|
return;
|
|
565
565
|
if (m) {
|
|
566
|
-
var
|
|
567
|
-
kn(m, t.props, "prop",
|
|
566
|
+
var g = B(x);
|
|
567
|
+
kn(m, t.props, "prop", g, t);
|
|
568
568
|
} else if (x.PropTypes !== void 0 && !Ce) {
|
|
569
569
|
Ce = !0;
|
|
570
|
-
var C =
|
|
570
|
+
var C = B(x);
|
|
571
571
|
E("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", C || "Unknown");
|
|
572
572
|
}
|
|
573
573
|
typeof x.getDefaultProps == "function" && !x.getDefaultProps.isReactClassApproved && E("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
@@ -576,9 +576,9 @@ Check the top-level render call using <` + m + ">.");
|
|
|
576
576
|
function An(t) {
|
|
577
577
|
{
|
|
578
578
|
for (var x = Object.keys(t.props), m = 0; m < x.length; m++) {
|
|
579
|
-
var
|
|
580
|
-
if (
|
|
581
|
-
Z(t), E("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",
|
|
579
|
+
var g = x[m];
|
|
580
|
+
if (g !== "children" && g !== "key") {
|
|
581
|
+
Z(t), E("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", g), Z(null);
|
|
582
582
|
break;
|
|
583
583
|
}
|
|
584
584
|
}
|
|
@@ -586,7 +586,7 @@ Check the top-level render call using <` + m + ">.");
|
|
|
586
586
|
}
|
|
587
587
|
}
|
|
588
588
|
var en = {};
|
|
589
|
-
function nn(t, x, m,
|
|
589
|
+
function nn(t, x, m, g, C, T) {
|
|
590
590
|
{
|
|
591
591
|
var k = oe(t);
|
|
592
592
|
if (!k) {
|
|
@@ -594,8 +594,8 @@ Check the top-level render call using <` + m + ">.");
|
|
|
594
594
|
(t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (b += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
595
595
|
var P = Mn(C);
|
|
596
596
|
P ? b += P : b += Je();
|
|
597
|
-
var
|
|
598
|
-
t === null ?
|
|
597
|
+
var S;
|
|
598
|
+
t === null ? S = "null" : be(t) ? S = "array" : t !== void 0 && t.$$typeof === r ? (S = "<" + (B(t.type) || "Unknown") + " />", b = " Did you accidentally export a JSX literal instead of a component?") : S = typeof t, E("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", S, b);
|
|
599
599
|
}
|
|
600
600
|
var D = Dn(t, x, m, C, T);
|
|
601
601
|
if (D == null)
|
|
@@ -603,7 +603,7 @@ Check the top-level render call using <` + m + ">.");
|
|
|
603
603
|
if (k) {
|
|
604
604
|
var Y = x.children;
|
|
605
605
|
if (Y !== void 0)
|
|
606
|
-
if (
|
|
606
|
+
if (g)
|
|
607
607
|
if (be(Y)) {
|
|
608
608
|
for (var Q = 0; Q < Y.length; Q++)
|
|
609
609
|
Qe(Y[Q], t);
|
|
@@ -614,17 +614,17 @@ Check the top-level render call using <` + m + ">.");
|
|
|
614
614
|
Qe(Y, t);
|
|
615
615
|
}
|
|
616
616
|
if (te.call(x, "key")) {
|
|
617
|
-
var G =
|
|
618
|
-
return
|
|
617
|
+
var G = B(t), A = Object.keys(x).filter(function(Bn) {
|
|
618
|
+
return Bn !== "key";
|
|
619
619
|
}), Ee = A.length > 0 ? "{key: someKey, " + A.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
620
620
|
if (!en[G + Ee]) {
|
|
621
|
-
var
|
|
621
|
+
var Vn = A.length > 0 ? "{" + A.join(": ..., ") + ": ...}" : "{}";
|
|
622
622
|
E(`A props object containing a "key" prop is being spread into JSX:
|
|
623
623
|
let props = %s;
|
|
624
624
|
<%s {...props} />
|
|
625
625
|
React keys must be passed directly to JSX without using spread:
|
|
626
626
|
let props = %s;
|
|
627
|
-
<%s key={someKey} {...props} />`, Ee, G,
|
|
627
|
+
<%s key={someKey} {...props} />`, Ee, G, Vn, G), en[G + Ee] = !0;
|
|
628
628
|
}
|
|
629
629
|
}
|
|
630
630
|
return t === a ? An(D) : Pn(D), D;
|
|
@@ -636,12 +636,12 @@ React keys must be passed directly to JSX without using spread:
|
|
|
636
636
|
function Yn(t, x, m) {
|
|
637
637
|
return nn(t, x, m, !1);
|
|
638
638
|
}
|
|
639
|
-
var
|
|
640
|
-
ae.Fragment = a, ae.jsx =
|
|
639
|
+
var Ln = Yn, Wn = In;
|
|
640
|
+
ae.Fragment = a, ae.jsx = Ln, ae.jsxs = Wn;
|
|
641
641
|
}()), ae;
|
|
642
642
|
}
|
|
643
|
-
process.env.NODE_ENV === "production" ?
|
|
644
|
-
var e =
|
|
643
|
+
process.env.NODE_ENV === "production" ? $e.exports = zn() : $e.exports = Un();
|
|
644
|
+
var e = $e.exports;
|
|
645
645
|
const Kn = (n) => le({ ...n, className: (n.className ?? "") + " outline-button" }), M = (n) => le({ ...n, className: (n.className ?? "") + " text-button" }), Xn = (n) => le({ ...n, className: (n.className ?? "") + " total-button" }), qn = (n) => le({ ...n, className: (n.className ?? "") + " filled-button" }), le = (n) => {
|
|
646
646
|
const r = (s) => {
|
|
647
647
|
n.onClick && n.onClick(s);
|
|
@@ -683,13 +683,13 @@ const Yt = ({ className: n, action: r, imgSrc: s, alt: a, header: i, subhead: l,
|
|
|
683
683
|
const u = (v) => !(v.target.className === "action-container" || v.target.closest(".action-container") || v.target.className === "icon-button-container" || v.target.closest(".icon-button-container")), f = (v) => {
|
|
684
684
|
if (h && h(v), !u(v))
|
|
685
685
|
return;
|
|
686
|
-
let
|
|
686
|
+
let p = v.currentTarget.closest(".card-container"), y = p == null ? void 0 : p.querySelector(".blick-container");
|
|
687
687
|
if (!y)
|
|
688
688
|
return;
|
|
689
689
|
let w = document.createElement("span");
|
|
690
690
|
w.classList.add("btn-overlay");
|
|
691
|
-
let
|
|
692
|
-
w.style.left =
|
|
691
|
+
let $ = v.pageX - v.currentTarget.offsetLeft, O = v.pageY - v.currentTarget.offsetTop;
|
|
692
|
+
w.style.left = $ + "px", w.style.top = O + "px", y.appendChild(w), setTimeout(() => {
|
|
693
693
|
w.remove();
|
|
694
694
|
}, 500);
|
|
695
695
|
};
|
|
@@ -709,23 +709,23 @@ const Yt = ({ className: n, action: r, imgSrc: s, alt: a, header: i, subhead: l,
|
|
|
709
709
|
] });
|
|
710
710
|
};
|
|
711
711
|
const Hn = ({ children: n, className: r }) => /* @__PURE__ */ e.jsx("div", { className: `base-action-card ${r ?? ""}`, children: n });
|
|
712
|
-
const
|
|
712
|
+
const Lt = ({ children: n, className: r, id: s, height: a, width: i, pozMove: l }) => {
|
|
713
713
|
const [d, c] = N(!1), [o, h] = N(null), [u, f] = N({ x: 0, y: 0 }), v = (w) => {
|
|
714
714
|
w.button == 1 && (c(!1), h(null), document.body.style.cursor = "auto");
|
|
715
|
-
},
|
|
715
|
+
}, p = (w) => {
|
|
716
716
|
w.button == 1 && (h({ x: w.clientX, y: w.clientY }), c(!0), document.body.style.cursor = "move");
|
|
717
717
|
}, y = R((w) => {
|
|
718
|
-
d && (f((
|
|
718
|
+
d && (f(($) => {
|
|
719
719
|
if (!o)
|
|
720
|
-
return
|
|
720
|
+
return $;
|
|
721
721
|
const O = w.clientX - o.x, E = w.clientY - o.y;
|
|
722
|
-
let
|
|
723
|
-
return { x:
|
|
722
|
+
let L = $.x + O, j = $.y + E;
|
|
723
|
+
return { x: L, y: j };
|
|
724
724
|
}), h({ x: w.clientX, y: w.clientY }));
|
|
725
725
|
}, [d, o]);
|
|
726
726
|
return F(() => {
|
|
727
727
|
l && f({ ...l });
|
|
728
|
-
}, [l]), /* @__PURE__ */ e.jsx("div", { id: s, style: { height: a, width: i }, className: `big-container ${r}`, onMouseDown:
|
|
728
|
+
}, [l]), /* @__PURE__ */ e.jsx("div", { id: s, style: { height: a, width: i }, className: `big-container ${r}`, onMouseDown: p, onMouseUp: v, onMouseMove: y, children: /* @__PURE__ */ e.jsx("div", { className: "big-container-content", style: { left: u.x, top: u.y }, children: n }) });
|
|
729
729
|
};
|
|
730
730
|
const Zn = (n) => {
|
|
731
731
|
const [r, s] = N(!1), a = R(() => {
|
|
@@ -743,7 +743,7 @@ const Zn = (n) => {
|
|
|
743
743
|
/* @__PURE__ */ e.jsx("div", { className: "backplate bottom-sheets-backplate", style: { zIndex: 1101 }, onClick: a })
|
|
744
744
|
] });
|
|
745
745
|
};
|
|
746
|
-
const
|
|
746
|
+
const Wt = ({ name: n, checked: r, onChange: s, readOnly: a, checkIcon: i }) => /* @__PURE__ */ e.jsxs("label", { className: "checkbox-container", children: [
|
|
747
747
|
/* @__PURE__ */ e.jsx("input", { className: "checkbox", name: n, type: "checkbox", checked: r, onChange: s, readOnly: a }),
|
|
748
748
|
/* @__PURE__ */ e.jsx("span", { children: i || /* @__PURE__ */ e.jsx("span", { className: "checkbox-ckeck-icon", children: "✓" }) })
|
|
749
749
|
] });
|
|
@@ -897,7 +897,7 @@ const at = I("EllipsisVertical", [
|
|
|
897
897
|
* This source code is licensed under the ISC license.
|
|
898
898
|
* See the LICENSE file in the root directory of this source tree.
|
|
899
899
|
*/
|
|
900
|
-
const
|
|
900
|
+
const Se = I("Ellipsis", [
|
|
901
901
|
["circle", { cx: "12", cy: "12", r: "1", key: "41hilf" }],
|
|
902
902
|
["circle", { cx: "19", cy: "12", r: "1", key: "1wjl8i" }],
|
|
903
903
|
["circle", { cx: "5", cy: "12", r: "1", key: "1pcz8c" }]
|
|
@@ -970,13 +970,13 @@ const dt = ({ text: n, onDelete: r, big: s, onClick: a }) => {
|
|
|
970
970
|
r ? /* @__PURE__ */ e.jsx("div", { className: "alex-evo-ui-kit-chips-btn chips-btn", onClick: r, children: /* @__PURE__ */ e.jsx(je, { size: 18 }) }) : null
|
|
971
971
|
] });
|
|
972
972
|
};
|
|
973
|
-
const hn = ({ styleContainer: n, type: r = "text", transparent: s, readOnly: a, password: i, border: l, onClear: d, icon: c, onChange: o, name: h, value: u, placeholder: f, className: v, validEmptyValue:
|
|
974
|
-
const
|
|
973
|
+
const hn = ({ styleContainer: n, type: r = "text", transparent: s, readOnly: a, password: i, border: l, onClear: d, icon: c, onChange: o, name: h, value: u, placeholder: f, className: v, validEmptyValue: p, onFocus: y, onBlur: w, error: $, max: O, min: E }) => {
|
|
974
|
+
const L = U(null), [j, _] = N(!1), V = R((ee, H) => _(!!($ || ee && (!H || H === ""))), []);
|
|
975
975
|
F(() => {
|
|
976
|
-
|
|
977
|
-
}, [u,
|
|
976
|
+
V(p, u);
|
|
977
|
+
}, [u, p, V]);
|
|
978
978
|
const K = () => {
|
|
979
|
-
|
|
979
|
+
L.current && L.current.focus();
|
|
980
980
|
};
|
|
981
981
|
return /* @__PURE__ */ e.jsxs("div", { style: n, className: `text-field ${l ? "border" : ""} ${s ? "transparent" : ""} ${v}`, children: [
|
|
982
982
|
c ? /* @__PURE__ */ e.jsx("div", { className: "icon-container", onClick: K, children: c }) : null,
|
|
@@ -984,7 +984,7 @@ const hn = ({ styleContainer: n, type: r = "text", transparent: s, readOnly: a,
|
|
|
984
984
|
/* @__PURE__ */ e.jsx(
|
|
985
985
|
"input",
|
|
986
986
|
{
|
|
987
|
-
ref:
|
|
987
|
+
ref: L,
|
|
988
988
|
max: O,
|
|
989
989
|
min: E,
|
|
990
990
|
readOnly: a,
|
|
@@ -1004,8 +1004,8 @@ const hn = ({ styleContainer: n, type: r = "text", transparent: s, readOnly: a,
|
|
|
1004
1004
|
d ? /* @__PURE__ */ e.jsx("div", { className: "clear-container", children: /* @__PURE__ */ e.jsx(rt, { onClick: d }) }) : null
|
|
1005
1005
|
] });
|
|
1006
1006
|
};
|
|
1007
|
-
const
|
|
1008
|
-
const y = U(null), [w,
|
|
1007
|
+
const Vt = ({ styleContainer: n, transparent: r, readOnly: s, border: a, icon: i, onChange: l, name: d, value: c, placeholder: o, className: h, validEmptyValue: u, onFocus: f, onBlur: v, error: p }) => {
|
|
1008
|
+
const y = U(null), [w, $] = N(!1), O = R((L, j) => $(!!(p || L && (!j || j === ""))), []);
|
|
1009
1009
|
F(() => {
|
|
1010
1010
|
O(u, c);
|
|
1011
1011
|
}, [c, u, O]);
|
|
@@ -1031,7 +1031,7 @@ const Wt = ({ styleContainer: n, transparent: r, readOnly: s, border: a, icon: i
|
|
|
1031
1031
|
) })
|
|
1032
1032
|
] });
|
|
1033
1033
|
};
|
|
1034
|
-
const
|
|
1034
|
+
const W = ({ style: n, short: r, text: s }) => s ? /* @__PURE__ */ e.jsxs("div", { style: n, className: `divider-and-text ${r ? "short" : ""}`, children: [
|
|
1035
1035
|
/* @__PURE__ */ e.jsx("div", { className: `divider ${r ? "short" : ""}` }),
|
|
1036
1036
|
s,
|
|
1037
1037
|
/* @__PURE__ */ e.jsx("div", { className: `divider ${r ? "short" : ""}` })
|
|
@@ -1039,7 +1039,7 @@ const L = ({ style: n, short: r, text: s }) => s ? /* @__PURE__ */ e.jsxs("div",
|
|
|
1039
1039
|
const ut = ({ name: n, checked: r }) => /* @__PURE__ */ e.jsxs("label", { className: "radio-button-container", children: [
|
|
1040
1040
|
/* @__PURE__ */ e.jsx("input", { className: "radio-button", name: n, type: "radio", checked: r, readOnly: !0 }),
|
|
1041
1041
|
/* @__PURE__ */ e.jsx("span", {})
|
|
1042
|
-
] }),
|
|
1042
|
+
] }), Bt = ({ name: n, currentValue: r, value: s, onChange: a, readOnly: i, checked: l }) => /* @__PURE__ */ e.jsxs("label", { className: "radio-button-container", children: [
|
|
1043
1043
|
/* @__PURE__ */ e.jsx("input", { className: "radio-button", name: n, type: "radio", checked: r === s || l, value: s, onChange: a, readOnly: i }),
|
|
1044
1044
|
/* @__PURE__ */ e.jsx("span", {})
|
|
1045
1045
|
] });
|
|
@@ -1066,7 +1066,7 @@ const Kt = ({ minWidth: n, value: r, onChange: s, border: a }) => {
|
|
|
1066
1066
|
const f = [...i, d.trim()];
|
|
1067
1067
|
l(f), s && s(an(f)), c("");
|
|
1068
1068
|
}, [i, d]), u = (f) => {
|
|
1069
|
-
const v = i.filter((
|
|
1069
|
+
const v = i.filter((p, y) => y !== f);
|
|
1070
1070
|
l(v), s && s(an(v));
|
|
1071
1071
|
};
|
|
1072
1072
|
return /* @__PURE__ */ e.jsxs("div", { className: "more-text", style: { minWidth: n }, children: [
|
|
@@ -1098,12 +1098,12 @@ const Gt = ({ onMenu: n, onSearch: r, placeholder: s, autoChenge: a }) => {
|
|
|
1098
1098
|
u(), i.current && (i.current.blur(), o(!1));
|
|
1099
1099
|
}, v = (y) => {
|
|
1100
1100
|
d(y.target.value), a && r(y.target.value);
|
|
1101
|
-
},
|
|
1101
|
+
}, p = (y) => {
|
|
1102
1102
|
y.code === "Enter" && r(l);
|
|
1103
1103
|
};
|
|
1104
1104
|
return /* @__PURE__ */ e.jsx("div", { className: "search-container", children: /* @__PURE__ */ e.jsxs("div", { className: "search-field", children: [
|
|
1105
1105
|
c ? /* @__PURE__ */ e.jsx("span", { onClick: f, children: /* @__PURE__ */ e.jsx(tt, { size: 24 }) }) : n ? /* @__PURE__ */ e.jsx("span", { onClick: n, children: /* @__PURE__ */ e.jsx(xn, { size: 24 }) }) : null,
|
|
1106
|
-
/* @__PURE__ */ e.jsx("input", { placeholder: s, type: "text", ref: i, onChange: v, onKeyDown:
|
|
1106
|
+
/* @__PURE__ */ e.jsx("input", { placeholder: s, type: "text", ref: i, onChange: v, onKeyDown: p, value: l, onFocus: () => o(!0) }),
|
|
1107
1107
|
c ? /* @__PURE__ */ e.jsx("span", { onClick: u, children: /* @__PURE__ */ e.jsx(je, { size: 24 }) }) : /* @__PURE__ */ e.jsx("span", { onClick: h, children: /* @__PURE__ */ e.jsx(lt, { size: 24 }) })
|
|
1108
1108
|
] }) });
|
|
1109
1109
|
};
|
|
@@ -1131,8 +1131,8 @@ const ht = (n) => n === void 0 ? [] : Array.isArray(n) ? n : [n], Zt = ({ multip
|
|
|
1131
1131
|
return;
|
|
1132
1132
|
}
|
|
1133
1133
|
const v = c.filter((y) => y === f.dataset.el);
|
|
1134
|
-
let
|
|
1135
|
-
v.length > 0 && f.dataset.el ?
|
|
1134
|
+
let p = c.slice();
|
|
1135
|
+
v.length > 0 && f.dataset.el ? p = p.filter((y) => y !== f.dataset.el) : f.dataset.el && p.push(f.dataset.el), o(p), d && d(p, u);
|
|
1136
1136
|
};
|
|
1137
1137
|
return /* @__PURE__ */ e.jsx("div", { className: `sigmentedbutton-container ${a ?? ""}`, children: s.map((u, f) => /* @__PURE__ */ e.jsx("div", { className: "sigmentedbutton-item-container", children: /* @__PURE__ */ e.jsxs("button", { "data-el": u, onContextMenu: l, onClick: h, className: `sigmentedbutton-item-button ${c.includes(u) ? "active" : ""}`, children: [
|
|
1138
1138
|
c.includes(u) ? /* @__PURE__ */ e.jsx("div", { className: "icon-container", children: /* @__PURE__ */ e.jsx(ce, {}) }) : null,
|
|
@@ -1161,11 +1161,11 @@ const Te = 0, Re = 100, Qt = (n) => {
|
|
|
1161
1161
|
}, [n.value]);
|
|
1162
1162
|
const c = (f) => {
|
|
1163
1163
|
s(Number(f.target.value)), n.onChange(f);
|
|
1164
|
-
}, o = (f, v,
|
|
1164
|
+
}, o = (f, v, p) => {
|
|
1165
1165
|
if (l.current && d.current) {
|
|
1166
1166
|
let y = fn(d.current);
|
|
1167
1167
|
if (y)
|
|
1168
|
-
return ft(f, v,
|
|
1168
|
+
return ft(f, v, p, 0, p - v) * (y.width - 20) / (p - v);
|
|
1169
1169
|
}
|
|
1170
1170
|
return 0;
|
|
1171
1171
|
}, h = R((f) => {
|
|
@@ -1243,9 +1243,9 @@ function tr({ onSuccess: n, items: r, header: s, onHide: a, noHide: i = !1, name
|
|
|
1243
1243
|
c(u);
|
|
1244
1244
|
}, []);
|
|
1245
1245
|
return /* @__PURE__ */ e.jsxs(J, { header: s, action: /* @__PURE__ */ e.jsx(jt, { onHide: a, onSuccess: o, disabled: d === void 0 }), children: [
|
|
1246
|
-
/* @__PURE__ */ e.jsx(
|
|
1246
|
+
/* @__PURE__ */ e.jsx(W, { style: { padding: "0px" } }),
|
|
1247
1247
|
/* @__PURE__ */ e.jsx(Gn, { className: "transparent", scroll: !0, maxHeight: "200px", children: r.map((u, f) => /* @__PURE__ */ e.jsx("label", { children: /* @__PURE__ */ e.jsx(Jn, { hovered: !0, header: u.title, onClick: () => h(u.data), control: /* @__PURE__ */ e.jsx(ut, { name: l, checked: u.data === d }) }) }, f)) }),
|
|
1248
|
-
/* @__PURE__ */ e.jsx(
|
|
1248
|
+
/* @__PURE__ */ e.jsx(W, { style: { padding: "0px" } })
|
|
1249
1249
|
] });
|
|
1250
1250
|
}
|
|
1251
1251
|
function jt({ onSuccess: n, onHide: r, disabled: s }) {
|
|
@@ -1257,12 +1257,12 @@ function jt({ onSuccess: n, onHide: r, disabled: s }) {
|
|
|
1257
1257
|
const rr = ({ styleContainer: n, text: r, header: s, onSuccess: a, onHide: i, placeholder: l, type: d = "text", min: c = 0, max: o = 100 }) => {
|
|
1258
1258
|
const [h, u] = N(""), f = R(() => {
|
|
1259
1259
|
a && a(h), i && i();
|
|
1260
|
-
}, [h]), v = (
|
|
1261
|
-
d === "number" && (Number(
|
|
1260
|
+
}, [h]), v = (p) => {
|
|
1261
|
+
d === "number" && (Number(p) < c && (p = String(c)), Number(p) > o && (p = String(o))), u(p);
|
|
1262
1262
|
};
|
|
1263
1263
|
return /* @__PURE__ */ e.jsxs(J, { style: n, header: s, action: /* @__PURE__ */ e.jsx(pt, { onHide: i, onSuccess: f }), children: [
|
|
1264
1264
|
/* @__PURE__ */ e.jsx("p", { children: r }),
|
|
1265
|
-
/* @__PURE__ */ e.jsx("div", { className: "dialog-input-container", children: /* @__PURE__ */ e.jsx(hn, { max: o, min: c, type: d, border: !0, placeholder: l, value: h, onChange: (
|
|
1265
|
+
/* @__PURE__ */ e.jsx("div", { className: "dialog-input-container", children: /* @__PURE__ */ e.jsx(hn, { max: o, min: c, type: d, border: !0, placeholder: l, value: h, onChange: (p) => v(p.target.value) }) })
|
|
1266
1266
|
] });
|
|
1267
1267
|
};
|
|
1268
1268
|
function pt({ onSuccess: n, onHide: r }) {
|
|
@@ -1292,10 +1292,10 @@ const gt = 2050, cn = 1900, z = [
|
|
|
1292
1292
|
}), [f, v] = N(
|
|
1293
1293
|
"DAYS"
|
|
1294
1294
|
/* DAYS */
|
|
1295
|
-
),
|
|
1296
|
-
let
|
|
1297
|
-
return
|
|
1298
|
-
},
|
|
1295
|
+
), p = (j, _) => new Date(j, _ + 1, 0).getDate(), y = (j, _, V) => new Date(j, _, V).getDay(), w = (j, _) => {
|
|
1296
|
+
let V = Array(p(j, _)).fill(0).map((oe, X) => ({ type: "NOW_MONTH", day: X + 1 })), K = y(j, _, p(j, _)), ee = Array(7 - K).fill(0).map((oe, X) => ({ type: "NEXT_MONTH", day: X + 1 }));
|
|
1297
|
+
return V = Array(y(j, _, 0)).fill(0).map((oe, X) => ({ type: "PREV_MONTH", day: p(_ ? j : j - 1, _ ? _ - 1 : 11) - X })).reverse().concat(V).concat(ee), V;
|
|
1298
|
+
}, $ = (j) => {
|
|
1299
1299
|
v(
|
|
1300
1300
|
"DAYS"
|
|
1301
1301
|
/* DAYS */
|
|
@@ -1307,7 +1307,7 @@ const gt = 2050, cn = 1900, z = [
|
|
|
1307
1307
|
), d(j);
|
|
1308
1308
|
}, E = (j) => {
|
|
1309
1309
|
u(j);
|
|
1310
|
-
},
|
|
1310
|
+
}, L = R(() => {
|
|
1311
1311
|
let j = /* @__PURE__ */ new Date();
|
|
1312
1312
|
j.setFullYear(c), h.type === "NEXT_MONTH" ? l === z[11] ? (j.setMonth(0), j.setFullYear(c + 1)) : j.setMonth(z.indexOf(l) + 1) : h.type === "PREV_MONTH" ? l === z[0] ? (j.setMonth(11), j.setFullYear(c - 1)) : j.setMonth(z.indexOf(l) - 1) : j.setMonth(z.indexOf(l)), j.setDate(h.day), n && n(j.getFullYear(), j.getMonth(), j.getDate()), r && r();
|
|
1313
1313
|
}, [l, c, n, r, h]);
|
|
@@ -1333,7 +1333,7 @@ const gt = 2050, cn = 1900, z = [
|
|
|
1333
1333
|
f === "MONTHS" ? /* @__PURE__ */ e.jsx("div", { className: "calendar-body-months-container", children: z.map((j, _) => /* @__PURE__ */ e.jsxs("div", { className: "calendar-body-months-item", onClick: () => O(j), children: [
|
|
1334
1334
|
/* @__PURE__ */ e.jsx("div", { className: "status-container", children: l === j ? /* @__PURE__ */ e.jsx(ce, {}) : null }),
|
|
1335
1335
|
/* @__PURE__ */ e.jsx("div", { className: "content", children: j })
|
|
1336
|
-
] }, _)) }) : f === "YEARS" ? /* @__PURE__ */ e.jsx("div", { className: "calendar-body-years-container", children: yt().map((j, _) => /* @__PURE__ */ e.jsxs("div", { className: "calendar-body-year-item", onClick: () =>
|
|
1336
|
+
] }, _)) }) : f === "YEARS" ? /* @__PURE__ */ e.jsx("div", { className: "calendar-body-years-container", children: yt().map((j, _) => /* @__PURE__ */ e.jsxs("div", { className: "calendar-body-year-item", onClick: () => $(j), children: [
|
|
1337
1337
|
/* @__PURE__ */ e.jsx("div", { className: "status-container", children: c === j ? /* @__PURE__ */ e.jsx(ce, {}) : null }),
|
|
1338
1338
|
/* @__PURE__ */ e.jsx("div", { className: "content", children: j })
|
|
1339
1339
|
] }, _)) }) : /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
@@ -1350,7 +1350,7 @@ const gt = 2050, cn = 1900, z = [
|
|
|
1350
1350
|
] }),
|
|
1351
1351
|
/* @__PURE__ */ e.jsxs("div", { className: "calendar-body-action-container", children: [
|
|
1352
1352
|
/* @__PURE__ */ e.jsx(M, { className: "little m-0", onClick: r, children: "Cancel" }),
|
|
1353
|
-
/* @__PURE__ */ e.jsx(M, { className: "little m-0", onClick:
|
|
1353
|
+
/* @__PURE__ */ e.jsx(M, { className: "little m-0", onClick: L, children: "OK" })
|
|
1354
1354
|
] })
|
|
1355
1355
|
] });
|
|
1356
1356
|
};
|
|
@@ -1517,26 +1517,26 @@ const cr = ({ children: n }) => /* @__PURE__ */ e.jsx("div", { className: "adapt
|
|
|
1517
1517
|
return;
|
|
1518
1518
|
o.current.style.display = "grid", o.current.style.gridRowGap = a, o.current.style.gridColumnGap = i;
|
|
1519
1519
|
let y = l ?? c, w = d ?? c;
|
|
1520
|
-
o.current.style.gridTemplateColumns = "repeat(auto-fill, minmax(" + y + ", " + w + "))", o.current.style.gridAutoRows = "0", h.forEach((
|
|
1521
|
-
|
|
1520
|
+
o.current.style.gridTemplateColumns = "repeat(auto-fill, minmax(" + y + ", " + w + "))", o.current.style.gridAutoRows = "0", h.forEach(($) => {
|
|
1521
|
+
$.style.gridAutoRows = "0", $.style.gridAutoColumns = "0";
|
|
1522
1522
|
});
|
|
1523
1523
|
}, [o.current]), v = R(() => {
|
|
1524
1524
|
if (!o.current)
|
|
1525
1525
|
return;
|
|
1526
1526
|
let y = parseInt(window.getComputedStyle(o.current).getPropertyValue("grid-row-gap")), w = parseInt(window.getComputedStyle(o.current).getPropertyValue("grid-auto-rows"));
|
|
1527
|
-
h.forEach((
|
|
1528
|
-
let O = 0, E =
|
|
1529
|
-
E && (O = Math.ceil((E.getBoundingClientRect().height + y) / (w + y))),
|
|
1527
|
+
h.forEach(($) => {
|
|
1528
|
+
let O = 0, E = $.querySelector(".adaptiv-grid-item-container");
|
|
1529
|
+
E && (O = Math.ceil((E.getBoundingClientRect().height + y) / (w + y))), $.style.gridRowEnd = "span " + O;
|
|
1530
1530
|
});
|
|
1531
|
-
}, [h, o.current]),
|
|
1531
|
+
}, [h, o.current]), p = R(() => {
|
|
1532
1532
|
if (o.current) {
|
|
1533
1533
|
let y = o.current.querySelectorAll(".adaptiv-grid-item");
|
|
1534
1534
|
u(Array.prototype.slice.call(y, 0));
|
|
1535
1535
|
}
|
|
1536
1536
|
}, [o.current, r]);
|
|
1537
1537
|
return F(() => {
|
|
1538
|
-
|
|
1539
|
-
}, [
|
|
1538
|
+
p();
|
|
1539
|
+
}, [p]), F(() => {
|
|
1540
1540
|
f();
|
|
1541
1541
|
}, [f]), F(() => {
|
|
1542
1542
|
v();
|
|
@@ -1544,6 +1544,21 @@ const cr = ({ children: n }) => /* @__PURE__ */ e.jsx("div", { className: "adapt
|
|
|
1544
1544
|
window.addEventListener("resize", v);
|
|
1545
1545
|
}), [v]), /* @__PURE__ */ e.jsx("div", { style: { minWidth: n }, ref: o, className: `adaptiv-grid-layout ${s}`, children: r });
|
|
1546
1546
|
};
|
|
1547
|
+
const or = ({ onClick: n, onContextMenu: r, className: s, style: a, countColumn: i, items: l, onClickColl: d, classNameColumn: c }) => {
|
|
1548
|
+
const o = (u, f) => {
|
|
1549
|
+
let v = new Array(u).fill([]).map((p) => new Array());
|
|
1550
|
+
for (const p of f) {
|
|
1551
|
+
if (p.indexCol >= v.length) {
|
|
1552
|
+
console.error(`invalid index count. indexCol = ${p.indexCol}, column count = ${u}`);
|
|
1553
|
+
continue;
|
|
1554
|
+
}
|
|
1555
|
+
v[p.indexCol].push(p.node);
|
|
1556
|
+
}
|
|
1557
|
+
return v;
|
|
1558
|
+
}, h = d || (() => {
|
|
1559
|
+
});
|
|
1560
|
+
return /* @__PURE__ */ e.jsx("div", { onClick: n, onContextMenu: r, style: { ...a, gridTemplateColumns: `repeat(${i}, 1fr)` }, className: `alex-evo-sh-ui-kit-column-layout ${s}`, children: o(i, l).map((u, f) => /* @__PURE__ */ e.jsx("div", { onClick: (v) => h(f, v), className: `alex-evo-sh-ui-kit-column-layout-coll ${c}`, children: u.map((v, p) => /* @__PURE__ */ e.jsx("div", { className: "alex-evo-sh-ui-kit-column-layout-item", children: v }, p)) }, f)) });
|
|
1561
|
+
};
|
|
1547
1562
|
const wt = ({ item: n, isIcon: r, globalClick: s }) => {
|
|
1548
1563
|
const a = () => {
|
|
1549
1564
|
n.onClick && n.onClick(), s && s();
|
|
@@ -1598,7 +1613,7 @@ function vn({ block: n, smallDisplay: r, onHide: s, globalClick: a, autoHide: i
|
|
|
1598
1613
|
}
|
|
1599
1614
|
return /* @__PURE__ */ e.jsx("div", { className: "menu-block", children: n.items.map((d, c) => /* @__PURE__ */ e.jsx(Tt, { globalClick: a, autoHide: i, onHide: s, item: d, isIcon: l(n), smallDisplay: r }, c)) });
|
|
1600
1615
|
}
|
|
1601
|
-
const Rt = 100,
|
|
1616
|
+
const Rt = 100, dr = (n) => {
|
|
1602
1617
|
const r = U(null), [s, a] = N({ left: "0px", top: "0px" }), i = () => {
|
|
1603
1618
|
n.onHide && n.onHide();
|
|
1604
1619
|
};
|
|
@@ -1610,18 +1625,18 @@ const Rt = 100, or = (n) => {
|
|
|
1610
1625
|
});
|
|
1611
1626
|
}, [n.x, n.y]), n.visible ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1612
1627
|
/* @__PURE__ */ e.jsx("div", { ref: r, className: "menu-container", style: { ...s, opacity: s.top !== "0px" ? "100%" : "0%", width: n.width, maxWidth: n.width ? "100%" : void 0 }, children: n.blocks.map((l, d) => /* @__PURE__ */ e.jsxs(ve.Fragment, { children: [
|
|
1613
|
-
d !== 0 ? /* @__PURE__ */ e.jsx(
|
|
1628
|
+
d !== 0 ? /* @__PURE__ */ e.jsx(W, {}) : null,
|
|
1614
1629
|
/* @__PURE__ */ e.jsx(vn, { block: l, smallDisplay: !1, globalClick: n.onClick, autoHide: n.autoHide, onHide: i })
|
|
1615
1630
|
] }, d)) }),
|
|
1616
1631
|
/* @__PURE__ */ e.jsx("div", { style: { zIndex: 1600 }, className: "backplate", onClick: i, onContextMenu: (l) => {
|
|
1617
1632
|
l.preventDefault();
|
|
1618
1633
|
} })
|
|
1619
1634
|
] }) : null;
|
|
1620
|
-
},
|
|
1635
|
+
}, ur = (n) => {
|
|
1621
1636
|
const r = () => {
|
|
1622
1637
|
};
|
|
1623
1638
|
return /* @__PURE__ */ e.jsx(Zn, { onHide: n.onHide || r, visible: n.visible, children: /* @__PURE__ */ e.jsx("div", { className: "bottom-sheets-menu-container", children: n.blocks.map((s, a) => /* @__PURE__ */ e.jsxs(ve.Fragment, { children: [
|
|
1624
|
-
a !== 0 ? /* @__PURE__ */ e.jsx(
|
|
1639
|
+
a !== 0 ? /* @__PURE__ */ e.jsx(W, {}) : null,
|
|
1625
1640
|
/* @__PURE__ */ e.jsx(vn, { block: s, smallDisplay: !0 })
|
|
1626
1641
|
] }, a)) }) });
|
|
1627
1642
|
};
|
|
@@ -1640,7 +1655,7 @@ function _t(n) {
|
|
|
1640
1655
|
}
|
|
1641
1656
|
return r;
|
|
1642
1657
|
}
|
|
1643
|
-
const
|
|
1658
|
+
const $t = ({ data: n, column: r, color: s, backgroundColor: a }) => {
|
|
1644
1659
|
function i(c, o) {
|
|
1645
1660
|
for (let h in o)
|
|
1646
1661
|
if (c === h)
|
|
@@ -1653,12 +1668,12 @@ const St = ({ data: n, column: r, color: s, backgroundColor: a }) => {
|
|
|
1653
1668
|
return c ? Array.isArray(c) ? c.map((o) => l(o)) : [l(c)] : [];
|
|
1654
1669
|
}
|
|
1655
1670
|
return /* @__PURE__ */ e.jsx("td", { style: { backgroundColor: a }, children: d(i(r.field, n)).map((c, o) => /* @__PURE__ */ e.jsx("p", { style: { color: c.color ?? s }, className: c.onClick ? "no-click" : "", onClick: c.onClick, children: typeof c.content == "string" || typeof c.content == "number" ? c.content : /* @__PURE__ */ e.jsx(c.content, {}) }, o)) });
|
|
1656
|
-
},
|
|
1671
|
+
}, St = ({ actions: n, item: r, columns: s, onContextMenu: a, onDelete: i, onEdit: l, onClickRow: d, index: c }) => {
|
|
1657
1672
|
const o = (u) => !u.target.closest(".no-click"), h = (u) => {
|
|
1658
1673
|
o(u) && d && d(r, c);
|
|
1659
1674
|
};
|
|
1660
1675
|
return /* @__PURE__ */ e.jsxs("tr", { className: "table-row", onClick: h, children: [
|
|
1661
|
-
s.map((u, f) => /* @__PURE__ */ e.jsx(
|
|
1676
|
+
s.map((u, f) => /* @__PURE__ */ e.jsx($t, { color: u.color, backgroundColor: u.backgroundColor, column: u, data: r }, f)),
|
|
1662
1677
|
n ? /* @__PURE__ */ e.jsx("td", { className: "w-[180px] no-click", children: /* @__PURE__ */ e.jsx("div", { className: "table-edit-button", children: n.map((u, f) => /* @__PURE__ */ e.jsx(ie, { transparent: !0, icon: u.icon, onClick: (v) => u.onClick(v, r, c) }, f)) }) }) : null,
|
|
1663
1678
|
a || i || l ? /* @__PURE__ */ e.jsx("td", { className: "w-[180px] table-edit-button no-click", children: /* @__PURE__ */ e.jsxs("div", { className: "table-edit-button", children: [
|
|
1664
1679
|
l ? /* @__PURE__ */ e.jsx(ie, { transparent: !0, icon: /* @__PURE__ */ e.jsx(ct, {}), onClick: () => l(r, c) }) : null,
|
|
@@ -1666,7 +1681,7 @@ const St = ({ data: n, column: r, color: s, backgroundColor: a }) => {
|
|
|
1666
1681
|
a ? /* @__PURE__ */ e.jsx(ie, { transparent: !0, icon: /* @__PURE__ */ e.jsx(at, {}), onClick: (u) => a(u, r, c) }) : null
|
|
1667
1682
|
] }) }) : null
|
|
1668
1683
|
] });
|
|
1669
|
-
},
|
|
1684
|
+
}, xr = ({ data: n, columns: r, onDelete: s, onContextMenu: a, onEdit: i, actions: l, onClickRow: d, adaptive: c }) => {
|
|
1670
1685
|
const [o] = N(r ?? _t(n));
|
|
1671
1686
|
return /* @__PURE__ */ e.jsx("div", { className: `table-container mt-3 ${d ? "clicked" : ""} ${c ? "auto-rotate" : ""}`, children: /* @__PURE__ */ e.jsxs("table", { children: [
|
|
1672
1687
|
/* @__PURE__ */ e.jsx("thead", { children: /* @__PURE__ */ e.jsxs("tr", { children: [
|
|
@@ -1674,7 +1689,7 @@ const St = ({ data: n, column: r, color: s, backgroundColor: a }) => {
|
|
|
1674
1689
|
l ? /* @__PURE__ */ e.jsx("th", { className: "table-actions-header", children: "actions" }) : null,
|
|
1675
1690
|
s || a || i ? /* @__PURE__ */ e.jsx("th", { className: "table-actions-header" }) : null
|
|
1676
1691
|
] }) }),
|
|
1677
|
-
/* @__PURE__ */ e.jsx("tbody", { children: n.map((h, u) => /* @__PURE__ */ e.jsx(
|
|
1692
|
+
/* @__PURE__ */ e.jsx("tbody", { children: n.map((h, u) => /* @__PURE__ */ e.jsx(St, { onClickRow: d, actions: l, index: u, columns: o, item: h, onDelete: s, onContextMenu: a, onEdit: i }, u)) })
|
|
1678
1693
|
] }) });
|
|
1679
1694
|
};
|
|
1680
1695
|
const Ot = ({ icon: n, title: r, to: s }) => /* @__PURE__ */ e.jsxs(Oe, { to: s, className: "navigation-item", children: [
|
|
@@ -1683,58 +1698,58 @@ const Ot = ({ icon: n, title: r, to: s }) => /* @__PURE__ */ e.jsxs(Oe, { to: s,
|
|
|
1683
1698
|
] }), Dt = ({ onClick: n, icon: r, title: s }) => /* @__PURE__ */ e.jsxs("div", { onClick: n, className: "navigation-item", children: [
|
|
1684
1699
|
/* @__PURE__ */ e.jsx("div", { className: "navigation-item-icon", children: r }),
|
|
1685
1700
|
/* @__PURE__ */ e.jsx("div", { className: "navigation-item-text", children: s })
|
|
1686
|
-
] }),
|
|
1701
|
+
] }), hr = ({ btns: n }) => /* @__PURE__ */ e.jsx("div", { className: "navigation-bar-container", children: /* @__PURE__ */ e.jsx("div", { className: "block-content", children: n.map((r, s) => r.type === "button" ? /* @__PURE__ */ e.jsx(Dt, { icon: r.icon, onClick: r.onClick, title: r.text }, s) : r.type === "link" ? /* @__PURE__ */ e.jsx(Ot, { icon: r.icon, to: r.to, title: r.text }, s) : null) }) });
|
|
1687
1702
|
const ln = ({ onClick: n, icon: r, title: s, to: a }) => /* @__PURE__ */ e.jsxs(Oe, { onClick: n, to: a, className: "navigation-item", children: [
|
|
1688
1703
|
/* @__PURE__ */ e.jsx("div", { className: "navigation-item-icon", children: r }),
|
|
1689
1704
|
/* @__PURE__ */ e.jsx("div", { className: "navigation-item-text", children: s })
|
|
1690
|
-
] }), fe = ({ onClick: n, icon: r, title: s }) => /* @__PURE__ */ e.jsxs("div", { onClick: n, className:
|
|
1705
|
+
] }), fe = ({ onClick: n, icon: r, title: s, active: a = !1 }) => /* @__PURE__ */ e.jsxs("div", { onClick: n, className: `navigation-item ${a ? "active" : ""}`, children: [
|
|
1691
1706
|
/* @__PURE__ */ e.jsx("div", { className: "navigation-item-icon", children: r }),
|
|
1692
1707
|
/* @__PURE__ */ e.jsx("div", { className: "navigation-item-text", children: s })
|
|
1693
|
-
] }),
|
|
1708
|
+
] }), fr = ({ visible: n, firstBtn: r, mainBtn: s, onHide: a, otherBtn: i, backBtn: l, openAlways: d }) => /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1694
1709
|
/* @__PURE__ */ e.jsxs("div", { className: `navigation-drawer-container ${n || d ? "show" : "hide"}`, children: [
|
|
1695
1710
|
r ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1696
1711
|
/* @__PURE__ */ e.jsxs("div", { className: "navigation-block", children: [
|
|
1697
1712
|
/* @__PURE__ */ e.jsx("div", { className: "block-header" }),
|
|
1698
|
-
/* @__PURE__ */ e.jsx("div", { className: "block-content", children: /* @__PURE__ */ e.jsx(fe, { onClick: r.onClick, title: r.text, icon: r.icon ?? /* @__PURE__ */ e.jsx(
|
|
1713
|
+
/* @__PURE__ */ e.jsx("div", { className: "block-content", children: /* @__PURE__ */ e.jsx(fe, { active: r.active, onClick: r.onClick, title: r.text, icon: r.icon ?? /* @__PURE__ */ e.jsx(Se, {}) }) })
|
|
1699
1714
|
] }),
|
|
1700
|
-
/* @__PURE__ */ e.jsx("div", { className: "divider-container", children: /* @__PURE__ */ e.jsx(
|
|
1715
|
+
/* @__PURE__ */ e.jsx("div", { className: "divider-container", children: /* @__PURE__ */ e.jsx(W, {}) })
|
|
1701
1716
|
] }) : null,
|
|
1702
1717
|
/* @__PURE__ */ e.jsxs("div", { className: "navigation-block", children: [
|
|
1703
1718
|
/* @__PURE__ */ e.jsx("div", { className: "block-header" }),
|
|
1704
|
-
/* @__PURE__ */ e.jsx("div", { className: "block-content", children: s && s.map((c, o) => c.type === "button" ? /* @__PURE__ */ e.jsx(fe, { onClick: c.onClick, title: c.text, icon: c.icon }, o) : c.type === "link" ? /* @__PURE__ */ e.jsx(ln, { onClick: () => a(), title: c.text, icon: c.icon, to: c.to }, o) : null) })
|
|
1719
|
+
/* @__PURE__ */ e.jsx("div", { className: "block-content", children: s && s.map((c, o) => c.type === "button" ? /* @__PURE__ */ e.jsx(fe, { active: c.active, onClick: c.onClick, title: c.text, icon: c.icon }, o) : c.type === "link" ? /* @__PURE__ */ e.jsx(ln, { onClick: () => a(), title: c.text, icon: c.icon, to: c.to }, o) : null) })
|
|
1705
1720
|
] }),
|
|
1706
|
-
/* @__PURE__ */ e.jsx("div", { className: "divider-container", children: /* @__PURE__ */ e.jsx(
|
|
1721
|
+
/* @__PURE__ */ e.jsx("div", { className: "divider-container", children: /* @__PURE__ */ e.jsx(W, {}) }),
|
|
1707
1722
|
/* @__PURE__ */ e.jsxs("div", { className: "navigation-block", children: [
|
|
1708
1723
|
/* @__PURE__ */ e.jsx("div", { className: "block-header" }),
|
|
1709
|
-
/* @__PURE__ */ e.jsx("div", { className: "block-content", children: i && i.map((c, o) => c.type === "button" ? /* @__PURE__ */ e.jsx(fe, { onClick: c.onClick, title: c.text, icon: c.icon }, o) : c.type === "link" ? /* @__PURE__ */ e.jsx(ln, { onClick: () => a(), title: c.text, icon: c.icon, to: c.to }, o) : null) })
|
|
1724
|
+
/* @__PURE__ */ e.jsx("div", { className: "block-content", children: i && i.map((c, o) => c.type === "button" ? /* @__PURE__ */ e.jsx(fe, { active: c.active, onClick: c.onClick, title: c.text, icon: c.icon }, o) : c.type === "link" ? /* @__PURE__ */ e.jsx(ln, { onClick: () => a(), title: c.text, icon: c.icon, to: c.to }, o) : null) })
|
|
1710
1725
|
] }),
|
|
1711
|
-
/* @__PURE__ */ e.jsx("div", { className: "divider-container", children: /* @__PURE__ */ e.jsx(
|
|
1712
|
-
l ? /* @__PURE__ */ e.jsx("div", { className: "navigation-block", children: /* @__PURE__ */ e.jsx(fe, { onClick: l.onClick, title: l.text, icon: l.icon }) }) : null
|
|
1726
|
+
/* @__PURE__ */ e.jsx("div", { className: "divider-container", children: /* @__PURE__ */ e.jsx(W, {}) }),
|
|
1727
|
+
l ? /* @__PURE__ */ e.jsx("div", { className: "navigation-block", children: /* @__PURE__ */ e.jsx(fe, { active: l.active, onClick: l.onClick, title: l.text, icon: l.icon }) }) : null
|
|
1713
1728
|
] }),
|
|
1714
1729
|
n && !d ? /* @__PURE__ */ e.jsx("div", { className: "backplate", style: { zIndex: 1100 }, onClick: () => a() }) : null
|
|
1715
1730
|
] });
|
|
1716
1731
|
const Mt = ({ icon: n, title: r, to: s }) => /* @__PURE__ */ e.jsxs(Oe, { to: s, className: "navigation-item", children: [
|
|
1717
1732
|
/* @__PURE__ */ e.jsx("div", { className: "navigation-item-icon", children: n }),
|
|
1718
1733
|
/* @__PURE__ */ e.jsx("div", { className: "navigation-item-text", children: r })
|
|
1719
|
-
] }), me = ({ onClick: n, icon: r, title: s }) => /* @__PURE__ */ e.jsxs("div", { onClick: n, className:
|
|
1734
|
+
] }), me = ({ onClick: n, icon: r, title: s, active: a = !1 }) => /* @__PURE__ */ e.jsxs("div", { onClick: n, className: `navigation-item ${a ? "active" : ""}`, children: [
|
|
1720
1735
|
/* @__PURE__ */ e.jsx("div", { className: "navigation-item-icon", children: r }),
|
|
1721
1736
|
/* @__PURE__ */ e.jsx("div", { className: "navigation-item-text", children: s })
|
|
1722
|
-
] }),
|
|
1737
|
+
] }), mr = ({ onToggleMenu: n, firstBtn: r, mainBtn: s, backBtn: a }) => /* @__PURE__ */ e.jsx("div", { className: "navigation-rail-container", children: /* @__PURE__ */ e.jsx("div", { className: "navigation-block", children: /* @__PURE__ */ e.jsxs("div", { className: "block-content", children: [
|
|
1723
1738
|
n ? /* @__PURE__ */ e.jsx(me, { icon: /* @__PURE__ */ e.jsx(xn, {}), onClick: n }) : null,
|
|
1724
1739
|
r ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1725
|
-
/* @__PURE__ */ e.jsx(
|
|
1726
|
-
/* @__PURE__ */ e.jsx(me, { title: r.text, icon: r.icon ?? /* @__PURE__ */ e.jsx(
|
|
1740
|
+
/* @__PURE__ */ e.jsx(W, {}),
|
|
1741
|
+
/* @__PURE__ */ e.jsx(me, { active: r.active, title: r.text, icon: r.icon ?? /* @__PURE__ */ e.jsx(Se, {}), onClick: (i) => {
|
|
1727
1742
|
r.onClick && r.onClick(i);
|
|
1728
1743
|
} }),
|
|
1729
|
-
/* @__PURE__ */ e.jsx(
|
|
1744
|
+
/* @__PURE__ */ e.jsx(W, {})
|
|
1730
1745
|
] }) : null,
|
|
1731
|
-
s && s.map((i, l) => i.type === "button" ? /* @__PURE__ */ e.jsx(me, { onClick: i.onClick, title: i.text, icon: i.icon }, l) : i.type === "link" ? /* @__PURE__ */ e.jsx(Mt, { title: i.text, icon: i.icon, to: i.to }, l) : null),
|
|
1746
|
+
s && s.map((i, l) => i.type === "button" ? /* @__PURE__ */ e.jsx(me, { active: i.active, onClick: i.onClick, title: i.text, icon: i.icon }, l) : i.type === "link" ? /* @__PURE__ */ e.jsx(Mt, { title: i.text, icon: i.icon, to: i.to }, l) : null),
|
|
1732
1747
|
a ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1733
|
-
/* @__PURE__ */ e.jsx(
|
|
1734
|
-
/* @__PURE__ */ e.jsx(me, { title: a.text, icon: a.icon ?? /* @__PURE__ */ e.jsx(
|
|
1748
|
+
/* @__PURE__ */ e.jsx(W, {}),
|
|
1749
|
+
/* @__PURE__ */ e.jsx(me, { active: a.active, title: a.text, icon: a.icon ?? /* @__PURE__ */ e.jsx(Se, {}), onClick: (i) => {
|
|
1735
1750
|
a.onClick && a.onClick(i);
|
|
1736
1751
|
} }),
|
|
1737
|
-
/* @__PURE__ */ e.jsx(
|
|
1752
|
+
/* @__PURE__ */ e.jsx(W, {})
|
|
1738
1753
|
] }) : null
|
|
1739
1754
|
] }) }) });
|
|
1740
1755
|
function Ft(n) {
|
|
@@ -1751,7 +1766,7 @@ const Pt = (n) => {
|
|
|
1751
1766
|
const r = Ft(n);
|
|
1752
1767
|
return r ? `linear-gradient(135deg, rgba(${r.r}, ${r.g}, ${r.b}, 0.1), rgba(${r.r}, ${r.g}, ${r.b}, 0))` : "linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0))";
|
|
1753
1768
|
};
|
|
1754
|
-
const
|
|
1769
|
+
const vr = ({ className: n, text: r, title: s, hexColor: a, hexBackground: i, style: l, btn: d }) => /* @__PURE__ */ e.jsxs("div", { className: `alex-evo-sh-ui-kit-empty-page ${n ?? ""}`, style: { background: Pt(i), color: a, ...l }, children: [
|
|
1755
1770
|
/* @__PURE__ */ e.jsx("h2", { children: s }),
|
|
1756
1771
|
r ? /* @__PURE__ */ e.jsx("p", { children: r }) : null,
|
|
1757
1772
|
d ? /* @__PURE__ */ e.jsx(dn, { styleType: d.styleType ?? "filled", style: d.style, className: d.className, onClick: d.onClick, children: d.text }) : null
|
|
@@ -1762,15 +1777,16 @@ export {
|
|
|
1762
1777
|
nr as BaseDialog,
|
|
1763
1778
|
ut as BaseRadioButton,
|
|
1764
1779
|
J as BasicTemplateDialog,
|
|
1765
|
-
|
|
1780
|
+
Lt as BigContainer,
|
|
1766
1781
|
Zn as BottomSheetsUi,
|
|
1767
1782
|
dn as Button,
|
|
1768
1783
|
Yt as Card,
|
|
1769
|
-
|
|
1784
|
+
Wt as Checkbox,
|
|
1770
1785
|
dt as Chips,
|
|
1786
|
+
or as ColumnLayout,
|
|
1771
1787
|
ir as DayOfWeekField,
|
|
1772
|
-
|
|
1773
|
-
|
|
1788
|
+
W as Divider,
|
|
1789
|
+
vr as EmptyPage,
|
|
1774
1790
|
zt as FAB,
|
|
1775
1791
|
Ut as FieldContainer,
|
|
1776
1792
|
qn as FilledButton,
|
|
@@ -1781,24 +1797,24 @@ export {
|
|
|
1781
1797
|
ie as IconButton,
|
|
1782
1798
|
Gn as ListContainer,
|
|
1783
1799
|
Jn as ListItem,
|
|
1784
|
-
|
|
1800
|
+
dr as Menu,
|
|
1785
1801
|
Kt as MoreText,
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1802
|
+
hr as NavigationBar,
|
|
1803
|
+
fr as NavigationDrawer,
|
|
1804
|
+
mr as NavigationRail,
|
|
1789
1805
|
Kn as OutlineButton,
|
|
1790
|
-
|
|
1806
|
+
Bt as RadioButton,
|
|
1791
1807
|
Xt as RunningLine,
|
|
1792
1808
|
qt as ScrollContainer,
|
|
1793
1809
|
Gt as Search,
|
|
1794
1810
|
tr as SelectionDialog,
|
|
1795
1811
|
Zt as SigmentedButton,
|
|
1796
1812
|
Qt as Slider,
|
|
1797
|
-
|
|
1813
|
+
ur as SmallWindowMenu,
|
|
1798
1814
|
Jt as Snackbar,
|
|
1799
1815
|
Ht as Switch,
|
|
1800
|
-
|
|
1801
|
-
|
|
1816
|
+
xr as Table,
|
|
1817
|
+
Vt as TextArea,
|
|
1802
1818
|
M as TextButton,
|
|
1803
1819
|
rr as TextDialog,
|
|
1804
1820
|
hn as TextField,
|