alex-evo-sh-ui-kit 1.0.5 → 1.0.6
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.
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import ve, { useState as N, useCallback as R, useEffect as F, forwardRef as
|
|
1
|
+
import ve, { useState as N, useCallback as R, useEffect as F, forwardRef as on, createElement as _e, useRef as U } from "react";
|
|
2
|
+
import { NavLink as Oe } from "react-router-dom";
|
|
2
3
|
import './index.css';var Se = { exports: {} }, se = {};
|
|
3
4
|
/**
|
|
4
5
|
* @license React
|
|
@@ -9,11 +10,11 @@ import './index.css';var Se = { exports: {} }, se = {};
|
|
|
9
10
|
* This source code is licensed under the MIT license found in the
|
|
10
11
|
* LICENSE file in the root directory of this source tree.
|
|
11
12
|
*/
|
|
12
|
-
var
|
|
13
|
-
function
|
|
14
|
-
if (
|
|
13
|
+
var tn;
|
|
14
|
+
function Vn() {
|
|
15
|
+
if (tn)
|
|
15
16
|
return se;
|
|
16
|
-
|
|
17
|
+
tn = 1;
|
|
17
18
|
var n = ve, r = Symbol.for("react.element"), s = Symbol.for("react.fragment"), a = Object.prototype.hasOwnProperty, c = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, l = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
18
19
|
function d(i, o, h) {
|
|
19
20
|
var u, f = {}, v = null, g = null;
|
|
@@ -37,9 +38,9 @@ var ae = {};
|
|
|
37
38
|
* This source code is licensed under the MIT license found in the
|
|
38
39
|
* LICENSE file in the root directory of this source tree.
|
|
39
40
|
*/
|
|
40
|
-
var
|
|
41
|
-
function
|
|
42
|
-
return
|
|
41
|
+
var rn;
|
|
42
|
+
function zn() {
|
|
43
|
+
return rn || (rn = 1, process.env.NODE_ENV !== "production" && function() {
|
|
43
44
|
var n = ve, r = Symbol.for("react.element"), s = Symbol.for("react.portal"), a = Symbol.for("react.fragment"), c = Symbol.for("react.strict_mode"), l = Symbol.for("react.profiler"), d = Symbol.for("react.provider"), i = 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"), g = Symbol.for("react.offscreen"), y = Symbol.iterator, w = "@@iterator";
|
|
44
45
|
function S(t) {
|
|
45
46
|
if (t === null || typeof t != "object")
|
|
@@ -65,10 +66,10 @@ function Vn() {
|
|
|
65
66
|
T.unshift("Warning: " + x), Function.prototype.apply.call(console[t], console, T);
|
|
66
67
|
}
|
|
67
68
|
}
|
|
68
|
-
var j = !1, _ = !1,
|
|
69
|
+
var j = !1, _ = !1, W = !1, K = !1, ee = !1, H;
|
|
69
70
|
H = Symbol.for("react.module.reference");
|
|
70
71
|
function oe(t) {
|
|
71
|
-
return !!(typeof t == "string" || typeof t == "function" || t === a || t === l || ee || t === c || t === h || t === u || K || t === g || j || _ ||
|
|
72
|
+
return !!(typeof t == "string" || typeof t == "function" || t === a || t === l || ee || t === c || t === h || t === u || K || t === g || j || _ || W || typeof t == "object" && t !== null && (t.$$typeof === v || t.$$typeof === f || t.$$typeof === d || t.$$typeof === i || t.$$typeof === o || // This needs to include all possible module reference object
|
|
72
73
|
// types supported by any Flight configuration anywhere since
|
|
73
74
|
// we don't know which Flight build this will end up being used
|
|
74
75
|
// with.
|
|
@@ -81,7 +82,7 @@ function Vn() {
|
|
|
81
82
|
var C = x.displayName || x.name || "";
|
|
82
83
|
return C !== "" ? m + "(" + C + ")" : m;
|
|
83
84
|
}
|
|
84
|
-
function
|
|
85
|
+
function De(t) {
|
|
85
86
|
return t.displayName || "Context";
|
|
86
87
|
}
|
|
87
88
|
function V(t) {
|
|
@@ -109,10 +110,10 @@ function Vn() {
|
|
|
109
110
|
switch (t.$$typeof) {
|
|
110
111
|
case i:
|
|
111
112
|
var x = t;
|
|
112
|
-
return
|
|
113
|
+
return De(x) + ".Consumer";
|
|
113
114
|
case d:
|
|
114
115
|
var m = t;
|
|
115
|
-
return
|
|
116
|
+
return De(m._context) + ".Provider";
|
|
116
117
|
case o:
|
|
117
118
|
return X(t, t.render, "ForwardRef");
|
|
118
119
|
case f:
|
|
@@ -129,18 +130,18 @@ function Vn() {
|
|
|
129
130
|
}
|
|
130
131
|
return null;
|
|
131
132
|
}
|
|
132
|
-
var q = Object.assign, ne = 0,
|
|
133
|
-
function
|
|
133
|
+
var q = Object.assign, ne = 0, Me, Fe, Pe, Ae, Ie, Ye, Be;
|
|
134
|
+
function Le() {
|
|
134
135
|
}
|
|
135
|
-
|
|
136
|
-
function
|
|
136
|
+
Le.__reactDisabledLog = !0;
|
|
137
|
+
function vn() {
|
|
137
138
|
{
|
|
138
139
|
if (ne === 0) {
|
|
139
|
-
|
|
140
|
+
Me = console.log, Fe = console.info, Pe = console.warn, Ae = console.error, Ie = console.group, Ye = console.groupCollapsed, Be = console.groupEnd;
|
|
140
141
|
var t = {
|
|
141
142
|
configurable: !0,
|
|
142
143
|
enumerable: !0,
|
|
143
|
-
value:
|
|
144
|
+
value: Le,
|
|
144
145
|
writable: !0
|
|
145
146
|
};
|
|
146
147
|
Object.defineProperties(console, {
|
|
@@ -156,7 +157,7 @@ function Vn() {
|
|
|
156
157
|
ne++;
|
|
157
158
|
}
|
|
158
159
|
}
|
|
159
|
-
function
|
|
160
|
+
function jn() {
|
|
160
161
|
{
|
|
161
162
|
if (ne--, ne === 0) {
|
|
162
163
|
var t = {
|
|
@@ -166,25 +167,25 @@ function Vn() {
|
|
|
166
167
|
};
|
|
167
168
|
Object.defineProperties(console, {
|
|
168
169
|
log: q({}, t, {
|
|
169
|
-
value:
|
|
170
|
+
value: Me
|
|
170
171
|
}),
|
|
171
172
|
info: q({}, t, {
|
|
172
|
-
value:
|
|
173
|
+
value: Fe
|
|
173
174
|
}),
|
|
174
175
|
warn: q({}, t, {
|
|
175
|
-
value:
|
|
176
|
+
value: Pe
|
|
176
177
|
}),
|
|
177
178
|
error: q({}, t, {
|
|
178
|
-
value:
|
|
179
|
+
value: Ae
|
|
179
180
|
}),
|
|
180
181
|
group: q({}, t, {
|
|
181
|
-
value:
|
|
182
|
+
value: Ie
|
|
182
183
|
}),
|
|
183
184
|
groupCollapsed: q({}, t, {
|
|
184
|
-
value:
|
|
185
|
+
value: Ye
|
|
185
186
|
}),
|
|
186
187
|
groupEnd: q({}, t, {
|
|
187
|
-
value:
|
|
188
|
+
value: Be
|
|
188
189
|
})
|
|
189
190
|
});
|
|
190
191
|
}
|
|
@@ -207,8 +208,8 @@ function Vn() {
|
|
|
207
208
|
}
|
|
208
209
|
var ye = !1, ue;
|
|
209
210
|
{
|
|
210
|
-
var
|
|
211
|
-
ue = new
|
|
211
|
+
var pn = typeof WeakMap == "function" ? WeakMap : Map;
|
|
212
|
+
ue = new pn();
|
|
212
213
|
}
|
|
213
214
|
function We(t, x) {
|
|
214
215
|
if (!t || ye)
|
|
@@ -223,7 +224,7 @@ function Vn() {
|
|
|
223
224
|
var C = Error.prepareStackTrace;
|
|
224
225
|
Error.prepareStackTrace = void 0;
|
|
225
226
|
var T;
|
|
226
|
-
T = pe.current, pe.current = null,
|
|
227
|
+
T = pe.current, pe.current = null, vn();
|
|
227
228
|
try {
|
|
228
229
|
if (x) {
|
|
229
230
|
var k = function() {
|
|
@@ -276,15 +277,15 @@ function Vn() {
|
|
|
276
277
|
}
|
|
277
278
|
}
|
|
278
279
|
} finally {
|
|
279
|
-
ye = !1, pe.current = T,
|
|
280
|
+
ye = !1, pe.current = T, jn(), Error.prepareStackTrace = C;
|
|
280
281
|
}
|
|
281
282
|
var Q = t ? t.displayName || t.name : "", J = Q ? de(Q) : "";
|
|
282
283
|
return typeof t == "function" && ue.set(t, J), J;
|
|
283
284
|
}
|
|
284
|
-
function
|
|
285
|
+
function gn(t, x, m) {
|
|
285
286
|
return We(t, !1);
|
|
286
287
|
}
|
|
287
|
-
function
|
|
288
|
+
function yn(t) {
|
|
288
289
|
var x = t.prototype;
|
|
289
290
|
return !!(x && x.isReactComponent);
|
|
290
291
|
}
|
|
@@ -292,7 +293,7 @@ function Vn() {
|
|
|
292
293
|
if (t == null)
|
|
293
294
|
return "";
|
|
294
295
|
if (typeof t == "function")
|
|
295
|
-
return We(t,
|
|
296
|
+
return We(t, yn(t));
|
|
296
297
|
if (typeof t == "string")
|
|
297
298
|
return de(t);
|
|
298
299
|
switch (t) {
|
|
@@ -304,7 +305,7 @@ function Vn() {
|
|
|
304
305
|
if (typeof t == "object")
|
|
305
306
|
switch (t.$$typeof) {
|
|
306
307
|
case o:
|
|
307
|
-
return
|
|
308
|
+
return gn(t.render);
|
|
308
309
|
case f:
|
|
309
310
|
return xe(t.type, x, m);
|
|
310
311
|
case v: {
|
|
@@ -317,15 +318,15 @@ function Vn() {
|
|
|
317
318
|
}
|
|
318
319
|
return "";
|
|
319
320
|
}
|
|
320
|
-
var te = Object.prototype.hasOwnProperty,
|
|
321
|
+
var te = Object.prototype.hasOwnProperty, Ve = {}, ze = O.ReactDebugCurrentFrame;
|
|
321
322
|
function he(t) {
|
|
322
323
|
if (t) {
|
|
323
324
|
var x = t._owner, m = xe(t.type, t._source, x ? x.type : null);
|
|
324
|
-
|
|
325
|
+
ze.setExtraStackFrame(m);
|
|
325
326
|
} else
|
|
326
|
-
|
|
327
|
+
ze.setExtraStackFrame(null);
|
|
327
328
|
}
|
|
328
|
-
function
|
|
329
|
+
function bn(t, x, m, p, C) {
|
|
329
330
|
{
|
|
330
331
|
var T = Function.call.bind(te);
|
|
331
332
|
for (var k in t)
|
|
@@ -340,42 +341,42 @@ function Vn() {
|
|
|
340
341
|
} catch ($) {
|
|
341
342
|
b = $;
|
|
342
343
|
}
|
|
343
|
-
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).", p || "React class", m, k, typeof b), he(null)), b instanceof Error && !(b.message in
|
|
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).", p || "React class", m, k, typeof b), he(null)), b instanceof Error && !(b.message in Ve) && (Ve[b.message] = !0, he(C), E("Failed %s type: %s", m, b.message), he(null));
|
|
344
345
|
}
|
|
345
346
|
}
|
|
346
347
|
}
|
|
347
|
-
var
|
|
348
|
+
var kn = Array.isArray;
|
|
348
349
|
function be(t) {
|
|
349
|
-
return
|
|
350
|
+
return kn(t);
|
|
350
351
|
}
|
|
351
|
-
function
|
|
352
|
+
function Nn(t) {
|
|
352
353
|
{
|
|
353
354
|
var x = typeof Symbol == "function" && Symbol.toStringTag, m = x && t[Symbol.toStringTag] || t.constructor.name || "Object";
|
|
354
355
|
return m;
|
|
355
356
|
}
|
|
356
357
|
}
|
|
357
|
-
function
|
|
358
|
+
function Cn(t) {
|
|
358
359
|
try {
|
|
359
|
-
return
|
|
360
|
+
return Ue(t), !1;
|
|
360
361
|
} catch {
|
|
361
362
|
return !0;
|
|
362
363
|
}
|
|
363
364
|
}
|
|
364
|
-
function
|
|
365
|
+
function Ue(t) {
|
|
365
366
|
return "" + t;
|
|
366
367
|
}
|
|
367
|
-
function
|
|
368
|
-
if (
|
|
369
|
-
return E("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",
|
|
368
|
+
function Ke(t) {
|
|
369
|
+
if (Cn(t))
|
|
370
|
+
return E("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Nn(t)), Ue(t);
|
|
370
371
|
}
|
|
371
|
-
var re = O.ReactCurrentOwner,
|
|
372
|
+
var re = O.ReactCurrentOwner, wn = {
|
|
372
373
|
key: !0,
|
|
373
374
|
ref: !0,
|
|
374
375
|
__self: !0,
|
|
375
376
|
__source: !0
|
|
376
|
-
},
|
|
377
|
+
}, Xe, qe, ke;
|
|
377
378
|
ke = {};
|
|
378
|
-
function
|
|
379
|
+
function En(t) {
|
|
379
380
|
if (te.call(t, "ref")) {
|
|
380
381
|
var x = Object.getOwnPropertyDescriptor(t, "ref").get;
|
|
381
382
|
if (x && x.isReactWarning)
|
|
@@ -383,7 +384,7 @@ function Vn() {
|
|
|
383
384
|
}
|
|
384
385
|
return t.ref !== void 0;
|
|
385
386
|
}
|
|
386
|
-
function
|
|
387
|
+
function Tn(t) {
|
|
387
388
|
if (te.call(t, "key")) {
|
|
388
389
|
var x = Object.getOwnPropertyDescriptor(t, "key").get;
|
|
389
390
|
if (x && x.isReactWarning)
|
|
@@ -391,16 +392,16 @@ function Vn() {
|
|
|
391
392
|
}
|
|
392
393
|
return t.key !== void 0;
|
|
393
394
|
}
|
|
394
|
-
function
|
|
395
|
+
function Rn(t, x) {
|
|
395
396
|
if (typeof t.ref == "string" && re.current && x && re.current.stateNode !== x) {
|
|
396
397
|
var m = V(re.current.type);
|
|
397
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', V(re.current.type), t.ref), ke[m] = !0);
|
|
398
399
|
}
|
|
399
400
|
}
|
|
400
|
-
function
|
|
401
|
+
function _n(t, x) {
|
|
401
402
|
{
|
|
402
403
|
var m = function() {
|
|
403
|
-
|
|
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));
|
|
404
405
|
};
|
|
405
406
|
m.isReactWarning = !0, Object.defineProperty(t, "key", {
|
|
406
407
|
get: m,
|
|
@@ -408,10 +409,10 @@ function Vn() {
|
|
|
408
409
|
});
|
|
409
410
|
}
|
|
410
411
|
}
|
|
411
|
-
function
|
|
412
|
+
function Sn(t, x) {
|
|
412
413
|
{
|
|
413
414
|
var m = function() {
|
|
414
|
-
|
|
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));
|
|
415
416
|
};
|
|
416
417
|
m.isReactWarning = !0, Object.defineProperty(t, "ref", {
|
|
417
418
|
get: m,
|
|
@@ -419,7 +420,7 @@ function Vn() {
|
|
|
419
420
|
});
|
|
420
421
|
}
|
|
421
422
|
}
|
|
422
|
-
var
|
|
423
|
+
var $n = function(t, x, m, p, C, T, k) {
|
|
423
424
|
var b = {
|
|
424
425
|
// This tag allows us to uniquely identify this as a React Element
|
|
425
426
|
$$typeof: r,
|
|
@@ -448,12 +449,12 @@ function Vn() {
|
|
|
448
449
|
value: C
|
|
449
450
|
}), Object.freeze && (Object.freeze(b.props), Object.freeze(b)), b;
|
|
450
451
|
};
|
|
451
|
-
function
|
|
452
|
+
function On(t, x, m, p, C) {
|
|
452
453
|
{
|
|
453
454
|
var T, k = {}, b = null, P = null;
|
|
454
|
-
m !== void 0 && (
|
|
455
|
+
m !== void 0 && (Ke(m), b = "" + m), Tn(x) && (Ke(x.key), b = "" + x.key), En(x) && (P = x.ref, Rn(x, C));
|
|
455
456
|
for (T in x)
|
|
456
|
-
te.call(x, T) && !
|
|
457
|
+
te.call(x, T) && !wn.hasOwnProperty(T) && (k[T] = x[T]);
|
|
457
458
|
if (t && t.defaultProps) {
|
|
458
459
|
var $ = t.defaultProps;
|
|
459
460
|
for (T in $)
|
|
@@ -461,25 +462,25 @@ function Vn() {
|
|
|
461
462
|
}
|
|
462
463
|
if (b || P) {
|
|
463
464
|
var D = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
|
|
464
|
-
b &&
|
|
465
|
+
b && _n(k, D), P && Sn(k, D);
|
|
465
466
|
}
|
|
466
|
-
return
|
|
467
|
+
return $n(t, b, P, C, p, re.current, k);
|
|
467
468
|
}
|
|
468
469
|
}
|
|
469
|
-
var Ne = O.ReactCurrentOwner,
|
|
470
|
+
var Ne = O.ReactCurrentOwner, Je = O.ReactDebugCurrentFrame;
|
|
470
471
|
function Z(t) {
|
|
471
472
|
if (t) {
|
|
472
473
|
var x = t._owner, m = xe(t.type, t._source, x ? x.type : null);
|
|
473
|
-
|
|
474
|
+
Je.setExtraStackFrame(m);
|
|
474
475
|
} else
|
|
475
|
-
|
|
476
|
+
Je.setExtraStackFrame(null);
|
|
476
477
|
}
|
|
477
478
|
var Ce;
|
|
478
479
|
Ce = !1;
|
|
479
480
|
function we(t) {
|
|
480
481
|
return typeof t == "object" && t !== null && t.$$typeof === r;
|
|
481
482
|
}
|
|
482
|
-
function
|
|
483
|
+
function Ge() {
|
|
483
484
|
{
|
|
484
485
|
if (Ne.current) {
|
|
485
486
|
var t = V(Ne.current.type);
|
|
@@ -491,7 +492,7 @@ Check the render method of \`` + t + "`.";
|
|
|
491
492
|
return "";
|
|
492
493
|
}
|
|
493
494
|
}
|
|
494
|
-
function
|
|
495
|
+
function Dn(t) {
|
|
495
496
|
{
|
|
496
497
|
if (t !== void 0) {
|
|
497
498
|
var x = t.fileName.replace(/^.*[\\\/]/, ""), m = t.lineNumber;
|
|
@@ -502,10 +503,10 @@ Check your code at ` + x + ":" + m + ".";
|
|
|
502
503
|
return "";
|
|
503
504
|
}
|
|
504
505
|
}
|
|
505
|
-
var
|
|
506
|
-
function
|
|
506
|
+
var He = {};
|
|
507
|
+
function Mn(t) {
|
|
507
508
|
{
|
|
508
|
-
var x =
|
|
509
|
+
var x = Ge();
|
|
509
510
|
if (!x) {
|
|
510
511
|
var m = typeof t == "string" ? t : t.displayName || t.name;
|
|
511
512
|
m && (x = `
|
|
@@ -515,27 +516,27 @@ Check the top-level render call using <` + m + ">.");
|
|
|
515
516
|
return x;
|
|
516
517
|
}
|
|
517
518
|
}
|
|
518
|
-
function
|
|
519
|
+
function Ze(t, x) {
|
|
519
520
|
{
|
|
520
521
|
if (!t._store || t._store.validated || t.key != null)
|
|
521
522
|
return;
|
|
522
523
|
t._store.validated = !0;
|
|
523
|
-
var m =
|
|
524
|
-
if (
|
|
524
|
+
var m = Mn(x);
|
|
525
|
+
if (He[m])
|
|
525
526
|
return;
|
|
526
|
-
|
|
527
|
+
He[m] = !0;
|
|
527
528
|
var p = "";
|
|
528
529
|
t && t._owner && t._owner !== Ne.current && (p = " It was passed a child from " + V(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, p), Z(null);
|
|
529
530
|
}
|
|
530
531
|
}
|
|
531
|
-
function
|
|
532
|
+
function Qe(t, x) {
|
|
532
533
|
{
|
|
533
534
|
if (typeof t != "object")
|
|
534
535
|
return;
|
|
535
536
|
if (be(t))
|
|
536
537
|
for (var m = 0; m < t.length; m++) {
|
|
537
538
|
var p = t[m];
|
|
538
|
-
we(p) &&
|
|
539
|
+
we(p) && Ze(p, x);
|
|
539
540
|
}
|
|
540
541
|
else if (we(t))
|
|
541
542
|
t._store && (t._store.validated = !0);
|
|
@@ -543,11 +544,11 @@ Check the top-level render call using <` + m + ">.");
|
|
|
543
544
|
var C = S(t);
|
|
544
545
|
if (typeof C == "function" && C !== t.entries)
|
|
545
546
|
for (var T = C.call(t), k; !(k = T.next()).done; )
|
|
546
|
-
we(k.value) &&
|
|
547
|
+
we(k.value) && Ze(k.value, x);
|
|
547
548
|
}
|
|
548
549
|
}
|
|
549
550
|
}
|
|
550
|
-
function
|
|
551
|
+
function Fn(t) {
|
|
551
552
|
{
|
|
552
553
|
var x = t.type;
|
|
553
554
|
if (x == null || typeof x == "string")
|
|
@@ -563,7 +564,7 @@ Check the top-level render call using <` + m + ">.");
|
|
|
563
564
|
return;
|
|
564
565
|
if (m) {
|
|
565
566
|
var p = V(x);
|
|
566
|
-
|
|
567
|
+
bn(m, t.props, "prop", p, t);
|
|
567
568
|
} else if (x.PropTypes !== void 0 && !Ce) {
|
|
568
569
|
Ce = !0;
|
|
569
570
|
var C = V(x);
|
|
@@ -572,7 +573,7 @@ Check the top-level render call using <` + m + ">.");
|
|
|
572
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.");
|
|
573
574
|
}
|
|
574
575
|
}
|
|
575
|
-
function
|
|
576
|
+
function Pn(t) {
|
|
576
577
|
{
|
|
577
578
|
for (var x = Object.keys(t.props), m = 0; m < x.length; m++) {
|
|
578
579
|
var p = x[m];
|
|
@@ -584,19 +585,19 @@ Check the top-level render call using <` + m + ">.");
|
|
|
584
585
|
t.ref !== null && (Z(t), E("Invalid attribute `ref` supplied to `React.Fragment`."), Z(null));
|
|
585
586
|
}
|
|
586
587
|
}
|
|
587
|
-
var
|
|
588
|
-
function
|
|
588
|
+
var en = {};
|
|
589
|
+
function nn(t, x, m, p, C, T) {
|
|
589
590
|
{
|
|
590
591
|
var k = oe(t);
|
|
591
592
|
if (!k) {
|
|
592
593
|
var b = "";
|
|
593
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.");
|
|
594
|
-
var P =
|
|
595
|
-
P ? b += P : b +=
|
|
595
|
+
var P = Dn(C);
|
|
596
|
+
P ? b += P : b += Ge();
|
|
596
597
|
var $;
|
|
597
598
|
t === null ? $ = "null" : be(t) ? $ = "array" : t !== void 0 && t.$$typeof === r ? ($ = "<" + (V(t.type) || "Unknown") + " />", b = " Did you accidentally export a JSX literal instead of a component?") : $ = 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", $, b);
|
|
598
599
|
}
|
|
599
|
-
var D =
|
|
600
|
+
var D = On(t, x, m, C, T);
|
|
600
601
|
if (D == null)
|
|
601
602
|
return D;
|
|
602
603
|
if (k) {
|
|
@@ -605,43 +606,43 @@ Check the top-level render call using <` + m + ">.");
|
|
|
605
606
|
if (p)
|
|
606
607
|
if (be(Y)) {
|
|
607
608
|
for (var Q = 0; Q < Y.length; Q++)
|
|
608
|
-
|
|
609
|
+
Qe(Y[Q], t);
|
|
609
610
|
Object.freeze && Object.freeze(Y);
|
|
610
611
|
} else
|
|
611
612
|
E("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
612
613
|
else
|
|
613
|
-
|
|
614
|
+
Qe(Y, t);
|
|
614
615
|
}
|
|
615
616
|
if (te.call(x, "key")) {
|
|
616
617
|
var J = V(t), A = Object.keys(x).filter(function(Wn) {
|
|
617
618
|
return Wn !== "key";
|
|
618
619
|
}), Ee = A.length > 0 ? "{key: someKey, " + A.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
619
|
-
if (!
|
|
620
|
-
var
|
|
620
|
+
if (!en[J + Ee]) {
|
|
621
|
+
var Ln = A.length > 0 ? "{" + A.join(": ..., ") + ": ...}" : "{}";
|
|
621
622
|
E(`A props object containing a "key" prop is being spread into JSX:
|
|
622
623
|
let props = %s;
|
|
623
624
|
<%s {...props} />
|
|
624
625
|
React keys must be passed directly to JSX without using spread:
|
|
625
626
|
let props = %s;
|
|
626
|
-
<%s key={someKey} {...props} />`, Ee, J,
|
|
627
|
+
<%s key={someKey} {...props} />`, Ee, J, Ln, J), en[J + Ee] = !0;
|
|
627
628
|
}
|
|
628
629
|
}
|
|
629
|
-
return t === a ?
|
|
630
|
+
return t === a ? Pn(D) : Fn(D), D;
|
|
630
631
|
}
|
|
631
632
|
}
|
|
632
|
-
function Pn(t, x, m) {
|
|
633
|
-
return en(t, x, m, !0);
|
|
634
|
-
}
|
|
635
633
|
function An(t, x, m) {
|
|
636
|
-
return
|
|
634
|
+
return nn(t, x, m, !0);
|
|
635
|
+
}
|
|
636
|
+
function In(t, x, m) {
|
|
637
|
+
return nn(t, x, m, !1);
|
|
637
638
|
}
|
|
638
|
-
var
|
|
639
|
-
ae.Fragment = a, ae.jsx =
|
|
639
|
+
var Yn = In, Bn = An;
|
|
640
|
+
ae.Fragment = a, ae.jsx = Yn, ae.jsxs = Bn;
|
|
640
641
|
}()), ae;
|
|
641
642
|
}
|
|
642
|
-
process.env.NODE_ENV === "production" ? Se.exports =
|
|
643
|
+
process.env.NODE_ENV === "production" ? Se.exports = Vn() : Se.exports = zn();
|
|
643
644
|
var e = Se.exports;
|
|
644
|
-
const
|
|
645
|
+
const Un = (n) => le({ ...n, className: (n.className ?? "") + " outline-button" }), M = (n) => le({ ...n, className: (n.className ?? "") + " text-button" }), Kn = (n) => le({ ...n, className: (n.className ?? "") + " total-button" }), Xn = (n) => le({ ...n, className: (n.className ?? "") + " filled-button" }), le = (n) => {
|
|
645
646
|
const r = (s) => {
|
|
646
647
|
n.onClick && n.onClick(s);
|
|
647
648
|
let a = document.createElement("span");
|
|
@@ -652,8 +653,8 @@ const zn = (n) => le({ ...n, className: (n.className ?? "") + " outline-button"
|
|
|
652
653
|
}, 500);
|
|
653
654
|
};
|
|
654
655
|
return /* @__PURE__ */ e.jsx("button", { ...n, className: (n.className ?? "") + " btn", onClick: r, children: /* @__PURE__ */ e.jsx("span", { children: n.children }) });
|
|
655
|
-
},
|
|
656
|
-
const
|
|
656
|
+
}, qn = ({ styleType: n = "base", ...r }) => n === "outline" ? Un({ ...r }) : n === "text" ? M({ ...r }) : n === "filledTotal" ? Kn({ ...r }) : n === "filled" ? Xn({ ...r }) : le({ ...r });
|
|
657
|
+
const Jn = ({ children: n, className: r, maxHeight: s, scroll: a, transparent: c }) => /* @__PURE__ */ e.jsx("ul", { style: { overflowY: s ? a ? "scroll" : "hidden" : void 0, maxHeight: s, backgroundColor: c ? "transparent" : void 0 }, className: `list-container ${r} ${a ? "scroll" : ""}`, children: n }), Gn = ({ icon: n, control: r, text: s, header: a, value: c, onClick: l, hovered: d, className: i }) => {
|
|
657
658
|
const o = (h) => {
|
|
658
659
|
h.target.closest(".control-container") || l && l(h);
|
|
659
660
|
};
|
|
@@ -678,7 +679,7 @@ const ie = ({ transparent: n, icon: r, className: s, onClick: a, onContextMenu:
|
|
|
678
679
|
};
|
|
679
680
|
return /* @__PURE__ */ e.jsx("button", { style: { backgroundColor: n ? "transparent" : void 0, ...i }, className: `iconbutton ${s}`, onClick: o, onContextMenu: c, disabled: l, children: /* @__PURE__ */ e.jsx("div", { className: `${d} iconbutton-container`, children: r }) });
|
|
680
681
|
};
|
|
681
|
-
const
|
|
682
|
+
const At = ({ className: n, action: r, imgSrc: s, alt: a, header: c, subhead: l, text: d, children: i, iconButtonCell: o, onClick: h }) => {
|
|
682
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) => {
|
|
683
684
|
if (h && h(v), !u(v))
|
|
684
685
|
return;
|
|
@@ -707,8 +708,8 @@ const Ft = ({ className: n, action: r, imgSrc: s, alt: a, header: c, subhead: l,
|
|
|
707
708
|
] })
|
|
708
709
|
] });
|
|
709
710
|
};
|
|
710
|
-
const
|
|
711
|
-
const
|
|
711
|
+
const Hn = ({ children: n, className: r }) => /* @__PURE__ */ e.jsx("div", { className: `base-action-card ${r ?? ""}`, children: n });
|
|
712
|
+
const It = ({ children: n, className: r, id: s, height: a, width: c, pozMove: l }) => {
|
|
712
713
|
const [d, i] = N(!1), [o, h] = N(null), [u, f] = N({ x: 0, y: 0 }), v = (w) => {
|
|
713
714
|
w.button == 1 && (i(!1), h(null), document.body.style.cursor = "auto");
|
|
714
715
|
}, g = (w) => {
|
|
@@ -726,7 +727,7 @@ const Pt = ({ children: n, className: r, id: s, height: a, width: c, pozMove: l
|
|
|
726
727
|
l && f({ ...l });
|
|
727
728
|
}, [l]), /* @__PURE__ */ e.jsx("div", { id: s, style: { height: a, width: c }, className: `big-container ${r}`, onMouseDown: g, onMouseUp: v, onMouseMove: y, children: /* @__PURE__ */ e.jsx("div", { className: "big-container-content", style: { left: u.x, top: u.y }, children: n }) });
|
|
728
729
|
};
|
|
729
|
-
const
|
|
730
|
+
const Zn = (n) => {
|
|
730
731
|
const [r, s] = N(!1), a = R(() => {
|
|
731
732
|
s(!0), setTimeout(() => {
|
|
732
733
|
n.onHide(), s(!1);
|
|
@@ -742,7 +743,7 @@ const Hn = (n) => {
|
|
|
742
743
|
/* @__PURE__ */ e.jsx("div", { className: "backplate bottom-sheets-backplate", style: { zIndex: 1101 }, onClick: a })
|
|
743
744
|
] });
|
|
744
745
|
};
|
|
745
|
-
const
|
|
746
|
+
const Yt = ({ name: n, checked: r, onChange: s, readOnly: a, checkIcon: c }) => /* @__PURE__ */ e.jsxs("label", { className: "checkbox-container", children: [
|
|
746
747
|
/* @__PURE__ */ e.jsx("input", { className: "checkbox", name: n, type: "checkbox", checked: r, onChange: s, readOnly: a }),
|
|
747
748
|
/* @__PURE__ */ e.jsx("span", { children: c || /* @__PURE__ */ e.jsx("span", { className: "checkbox-ckeck-icon", children: "✓" }) })
|
|
748
749
|
] });
|
|
@@ -752,14 +753,14 @@ const At = ({ name: n, checked: r, onChange: s, readOnly: a, checkIcon: c }) =>
|
|
|
752
753
|
* This source code is licensed under the ISC license.
|
|
753
754
|
* See the LICENSE file in the root directory of this source tree.
|
|
754
755
|
*/
|
|
755
|
-
const
|
|
756
|
+
const Qn = (n) => n.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), dn = (...n) => n.filter((r, s, a) => !!r && a.indexOf(r) === s).join(" ");
|
|
756
757
|
/**
|
|
757
758
|
* @license lucide-react v0.378.0 - ISC
|
|
758
759
|
*
|
|
759
760
|
* This source code is licensed under the ISC license.
|
|
760
761
|
* See the LICENSE file in the root directory of this source tree.
|
|
761
762
|
*/
|
|
762
|
-
var
|
|
763
|
+
var et = {
|
|
763
764
|
xmlns: "http://www.w3.org/2000/svg",
|
|
764
765
|
width: 24,
|
|
765
766
|
height: 24,
|
|
@@ -776,7 +777,7 @@ var Qn = {
|
|
|
776
777
|
* This source code is licensed under the ISC license.
|
|
777
778
|
* See the LICENSE file in the root directory of this source tree.
|
|
778
779
|
*/
|
|
779
|
-
const
|
|
780
|
+
const nt = on(
|
|
780
781
|
({
|
|
781
782
|
color: n = "currentColor",
|
|
782
783
|
size: r = 24,
|
|
@@ -790,12 +791,12 @@ const et = ln(
|
|
|
790
791
|
"svg",
|
|
791
792
|
{
|
|
792
793
|
ref: o,
|
|
793
|
-
...
|
|
794
|
+
...et,
|
|
794
795
|
width: r,
|
|
795
796
|
height: r,
|
|
796
797
|
stroke: n,
|
|
797
798
|
strokeWidth: a ? Number(s) * 24 / Number(r) : s,
|
|
798
|
-
className:
|
|
799
|
+
className: dn("lucide", c),
|
|
799
800
|
...i
|
|
800
801
|
},
|
|
801
802
|
[
|
|
@@ -811,11 +812,11 @@ const et = ln(
|
|
|
811
812
|
* See the LICENSE file in the root directory of this source tree.
|
|
812
813
|
*/
|
|
813
814
|
const I = (n, r) => {
|
|
814
|
-
const s =
|
|
815
|
-
({ className: a, ...c }, l) => _e(
|
|
815
|
+
const s = on(
|
|
816
|
+
({ className: a, ...c }, l) => _e(nt, {
|
|
816
817
|
ref: l,
|
|
817
818
|
iconNode: r,
|
|
818
|
-
className:
|
|
819
|
+
className: dn(`lucide-${Qn(n)}`, a),
|
|
819
820
|
...c
|
|
820
821
|
})
|
|
821
822
|
);
|
|
@@ -827,7 +828,7 @@ const I = (n, r) => {
|
|
|
827
828
|
* This source code is licensed under the ISC license.
|
|
828
829
|
* See the LICENSE file in the root directory of this source tree.
|
|
829
830
|
*/
|
|
830
|
-
const
|
|
831
|
+
const un = I("AlignJustify", [
|
|
831
832
|
["line", { x1: "3", x2: "21", y1: "6", y2: "6", key: "4m8b97" }],
|
|
832
833
|
["line", { x1: "3", x2: "21", y1: "12", y2: "12", key: "10d38w" }],
|
|
833
834
|
["line", { x1: "3", x2: "21", y1: "18", y2: "18", key: "kwyyxn" }]
|
|
@@ -838,7 +839,7 @@ const dn = I("AlignJustify", [
|
|
|
838
839
|
* This source code is licensed under the ISC license.
|
|
839
840
|
* See the LICENSE file in the root directory of this source tree.
|
|
840
841
|
*/
|
|
841
|
-
const
|
|
842
|
+
const tt = I("ArrowLeft", [
|
|
842
843
|
["path", { d: "m12 19-7-7 7-7", key: "1l729n" }],
|
|
843
844
|
["path", { d: "M19 12H5", key: "x3x0zl" }]
|
|
844
845
|
]);
|
|
@@ -855,7 +856,7 @@ const ce = I("Check", [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]]);
|
|
|
855
856
|
* This source code is licensed under the ISC license.
|
|
856
857
|
* See the LICENSE file in the root directory of this source tree.
|
|
857
858
|
*/
|
|
858
|
-
const
|
|
859
|
+
const sn = I("ChevronDown", [
|
|
859
860
|
["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]
|
|
860
861
|
]);
|
|
861
862
|
/**
|
|
@@ -864,7 +865,7 @@ const rn = I("ChevronDown", [
|
|
|
864
865
|
* This source code is licensed under the ISC license.
|
|
865
866
|
* See the LICENSE file in the root directory of this source tree.
|
|
866
867
|
*/
|
|
867
|
-
const
|
|
868
|
+
const rt = I("CircleX", [
|
|
868
869
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
869
870
|
["path", { d: "m15 9-6 6", key: "1uzhvr" }],
|
|
870
871
|
["path", { d: "m9 9 6 6", key: "z0biqf" }]
|
|
@@ -875,7 +876,7 @@ const tt = I("CircleX", [
|
|
|
875
876
|
* This source code is licensed under the ISC license.
|
|
876
877
|
* See the LICENSE file in the root directory of this source tree.
|
|
877
878
|
*/
|
|
878
|
-
const
|
|
879
|
+
const st = I("Clock3", [
|
|
879
880
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
880
881
|
["polyline", { points: "12 6 12 12 16.5 12", key: "1aq6pp" }]
|
|
881
882
|
]);
|
|
@@ -885,7 +886,7 @@ const rt = I("Clock3", [
|
|
|
885
886
|
* This source code is licensed under the ISC license.
|
|
886
887
|
* See the LICENSE file in the root directory of this source tree.
|
|
887
888
|
*/
|
|
888
|
-
const
|
|
889
|
+
const at = I("EllipsisVertical", [
|
|
889
890
|
["circle", { cx: "12", cy: "12", r: "1", key: "41hilf" }],
|
|
890
891
|
["circle", { cx: "12", cy: "5", r: "1", key: "gxeob9" }],
|
|
891
892
|
["circle", { cx: "12", cy: "19", r: "1", key: "lyex9k" }]
|
|
@@ -907,7 +908,7 @@ const $e = I("Ellipsis", [
|
|
|
907
908
|
* This source code is licensed under the ISC license.
|
|
908
909
|
* See the LICENSE file in the root directory of this source tree.
|
|
909
910
|
*/
|
|
910
|
-
const
|
|
911
|
+
const it = I("Keyboard", [
|
|
911
912
|
["path", { d: "M10 8h.01", key: "1r9ogq" }],
|
|
912
913
|
["path", { d: "M12 12h.01", key: "1mp3jc" }],
|
|
913
914
|
["path", { d: "M14 8h.01", key: "1primd" }],
|
|
@@ -924,7 +925,7 @@ const at = I("Keyboard", [
|
|
|
924
925
|
* This source code is licensed under the ISC license.
|
|
925
926
|
* See the LICENSE file in the root directory of this source tree.
|
|
926
927
|
*/
|
|
927
|
-
const
|
|
928
|
+
const ct = I("Pen", [
|
|
928
929
|
["path", { d: "M17 3a2.85 2.83 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5Z", key: "5qss01" }]
|
|
929
930
|
]);
|
|
930
931
|
/**
|
|
@@ -933,7 +934,7 @@ const it = I("Pen", [
|
|
|
933
934
|
* This source code is licensed under the ISC license.
|
|
934
935
|
* See the LICENSE file in the root directory of this source tree.
|
|
935
936
|
*/
|
|
936
|
-
const
|
|
937
|
+
const lt = I("Search", [
|
|
937
938
|
["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }],
|
|
938
939
|
["path", { d: "m21 21-4.3-4.3", key: "1qie3q" }]
|
|
939
940
|
]);
|
|
@@ -943,7 +944,7 @@ const ct = I("Search", [
|
|
|
943
944
|
* This source code is licensed under the ISC license.
|
|
944
945
|
* See the LICENSE file in the root directory of this source tree.
|
|
945
946
|
*/
|
|
946
|
-
const
|
|
947
|
+
const ot = I("Trash2", [
|
|
947
948
|
["path", { d: "M3 6h18", key: "d0wm0j" }],
|
|
948
949
|
["path", { d: "M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6", key: "4alrt4" }],
|
|
949
950
|
["path", { d: "M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2", key: "v07s0e" }],
|
|
@@ -960,7 +961,7 @@ const je = I("X", [
|
|
|
960
961
|
["path", { d: "M18 6 6 18", key: "1bl5f8" }],
|
|
961
962
|
["path", { d: "m6 6 12 12", key: "d8bk6v" }]
|
|
962
963
|
]);
|
|
963
|
-
const
|
|
964
|
+
const dt = ({ text: n, onDelete: r, big: s, onClick: a }) => {
|
|
964
965
|
const c = (d) => !(d.target.className === "alex-evo-ui-kit-chips-btn" || d.target.closest(".alex-evo-ui-kit-chips-btn")), l = (d) => {
|
|
965
966
|
c(d) && a && a(d);
|
|
966
967
|
};
|
|
@@ -969,11 +970,11 @@ const ot = ({ text: n, onDelete: r, big: s, onClick: a }) => {
|
|
|
969
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
|
|
970
971
|
] });
|
|
971
972
|
};
|
|
972
|
-
const
|
|
973
|
-
const B = U(null), [j, _] = N(!1),
|
|
973
|
+
const xn = ({ styleContainer: n, type: r = "text", transparent: s, readOnly: a, password: c, border: l, onClear: d, icon: i, onChange: o, name: h, value: u, placeholder: f, className: v, validEmptyValue: g, onFocus: y, onBlur: w, error: S, max: O, min: E }) => {
|
|
974
|
+
const B = U(null), [j, _] = N(!1), W = R((ee, H) => _(!!(S || ee && (!H || H === ""))), []);
|
|
974
975
|
F(() => {
|
|
975
|
-
|
|
976
|
-
}, [u, g,
|
|
976
|
+
W(g, u);
|
|
977
|
+
}, [u, g, W]);
|
|
977
978
|
const K = () => {
|
|
978
979
|
B.current && B.current.focus();
|
|
979
980
|
};
|
|
@@ -1000,10 +1001,10 @@ const un = ({ styleContainer: n, type: r = "text", transparent: s, readOnly: a,
|
|
|
1000
1001
|
/* @__PURE__ */ e.jsx("label", { children: f ? /* @__PURE__ */ e.jsx("span", { children: f }) : null }),
|
|
1001
1002
|
/* @__PURE__ */ e.jsx("span", { className: "text-field-line" })
|
|
1002
1003
|
] }),
|
|
1003
|
-
d ? /* @__PURE__ */ e.jsx("div", { className: "clear-container", children: /* @__PURE__ */ e.jsx(
|
|
1004
|
+
d ? /* @__PURE__ */ e.jsx("div", { className: "clear-container", children: /* @__PURE__ */ e.jsx(rt, { onClick: d }) }) : null
|
|
1004
1005
|
] });
|
|
1005
1006
|
};
|
|
1006
|
-
const
|
|
1007
|
+
const Bt = ({ styleContainer: n, transparent: r, readOnly: s, border: a, icon: c, onChange: l, name: d, value: i, placeholder: o, className: h, validEmptyValue: u, onFocus: f, onBlur: v, error: g }) => {
|
|
1007
1008
|
const y = U(null), [w, S] = N(!1), O = R((B, j) => S(!!(g || B && (!j || j === ""))), []);
|
|
1008
1009
|
F(() => {
|
|
1009
1010
|
O(u, i);
|
|
@@ -1030,30 +1031,30 @@ const It = ({ styleContainer: n, transparent: r, readOnly: s, border: a, icon: c
|
|
|
1030
1031
|
) })
|
|
1031
1032
|
] });
|
|
1032
1033
|
};
|
|
1033
|
-
const
|
|
1034
|
+
const L = ({ style: n, short: r, text: s }) => s ? /* @__PURE__ */ e.jsxs("div", { style: n, className: `divider-and-text ${r ? "short" : ""}`, children: [
|
|
1034
1035
|
/* @__PURE__ */ e.jsx("div", { className: `divider ${r ? "short" : ""}` }),
|
|
1035
1036
|
s,
|
|
1036
1037
|
/* @__PURE__ */ e.jsx("div", { className: `divider ${r ? "short" : ""}` })
|
|
1037
1038
|
] }) : /* @__PURE__ */ e.jsx("div", { style: n, className: `divider ${r ? "short" : ""}` });
|
|
1038
|
-
const
|
|
1039
|
+
const ut = ({ name: n, checked: r }) => /* @__PURE__ */ e.jsxs("label", { className: "radio-button-container", children: [
|
|
1039
1040
|
/* @__PURE__ */ e.jsx("input", { className: "radio-button", name: n, type: "radio", checked: r, readOnly: !0 }),
|
|
1040
1041
|
/* @__PURE__ */ e.jsx("span", {})
|
|
1041
|
-
] }),
|
|
1042
|
+
] }), Lt = ({ name: n, currentValue: r, value: s, onChange: a, readOnly: c, checked: l }) => /* @__PURE__ */ e.jsxs("label", { className: "radio-button-container", children: [
|
|
1042
1043
|
/* @__PURE__ */ e.jsx("input", { className: "radio-button", name: n, type: "radio", checked: r === s || l, value: s, onChange: a, readOnly: c }),
|
|
1043
1044
|
/* @__PURE__ */ e.jsx("span", {})
|
|
1044
1045
|
] });
|
|
1045
|
-
const
|
|
1046
|
+
const Wt = ({ style: n, icon: r, className: s, onClick: a, onContextMenu: c, children: l }) => /* @__PURE__ */ e.jsxs("button", { style: n, className: `${s} extendedFAB`, onClick: a, onContextMenu: c, children: [
|
|
1046
1047
|
r,
|
|
1047
1048
|
l ? /* @__PURE__ */ e.jsx("span", { children: l }) : null
|
|
1048
1049
|
] });
|
|
1049
|
-
const
|
|
1050
|
+
const Vt = ({ children: n, header: r }) => /* @__PURE__ */ e.jsxs("div", { className: "field-container-ui", children: [
|
|
1050
1051
|
/* @__PURE__ */ e.jsx("h4", { children: r }),
|
|
1051
1052
|
/* @__PURE__ */ e.jsx("div", { className: "field-container-content", children: n })
|
|
1052
|
-
] }),
|
|
1053
|
-
const
|
|
1053
|
+
] }), xt = (n) => n === "" ? [] : n.split(",").map((r) => r.trim()), an = (n) => n.join(", ");
|
|
1054
|
+
const zt = ({ minWidth: n, value: r, onChange: s, border: a }) => {
|
|
1054
1055
|
const [c, l] = N([]), [d, i] = N("");
|
|
1055
1056
|
F(() => {
|
|
1056
|
-
console.log("p0"), l(
|
|
1057
|
+
console.log("p0"), l(xt(r));
|
|
1057
1058
|
}, [r]), F(() => {
|
|
1058
1059
|
console.log(c);
|
|
1059
1060
|
}, [c]);
|
|
@@ -1063,20 +1064,20 @@ const Lt = ({ minWidth: n, value: r, onChange: s, border: a }) => {
|
|
|
1063
1064
|
if (d === "" || c.includes(d))
|
|
1064
1065
|
return;
|
|
1065
1066
|
const f = [...c, d.trim()];
|
|
1066
|
-
l(f), s && s(
|
|
1067
|
+
l(f), s && s(an(f)), i("");
|
|
1067
1068
|
}, [c, d]), u = (f) => {
|
|
1068
1069
|
const v = c.filter((g, y) => y !== f);
|
|
1069
|
-
l(v), s && s(
|
|
1070
|
+
l(v), s && s(an(v));
|
|
1070
1071
|
};
|
|
1071
1072
|
return /* @__PURE__ */ e.jsxs("div", { className: "more-text", style: { minWidth: n }, children: [
|
|
1072
1073
|
/* @__PURE__ */ e.jsxs("div", { className: "add value", children: [
|
|
1073
|
-
/* @__PURE__ */ e.jsx(
|
|
1074
|
-
/* @__PURE__ */ e.jsx(
|
|
1074
|
+
/* @__PURE__ */ e.jsx(xn, { onChange: o, value: d, border: a }),
|
|
1075
|
+
/* @__PURE__ */ e.jsx(Hn, { children: /* @__PURE__ */ e.jsx(qn, { onClick: h, children: "add" }) })
|
|
1075
1076
|
] }),
|
|
1076
|
-
/* @__PURE__ */ e.jsx("div", { className: "chips-container", children: c.map((f, v) => /* @__PURE__ */ e.jsx(
|
|
1077
|
+
/* @__PURE__ */ e.jsx("div", { className: "chips-container", children: c.map((f, v) => /* @__PURE__ */ e.jsx(dt, { text: f, onDelete: () => u(v) }, v)) })
|
|
1077
1078
|
] });
|
|
1078
1079
|
};
|
|
1079
|
-
const
|
|
1080
|
+
const Ut = ({ style: n, text: r, className: s, onClick: a, onContextMenu: c }) => {
|
|
1080
1081
|
const l = U(null), d = R(() => {
|
|
1081
1082
|
if (!l.current)
|
|
1082
1083
|
return;
|
|
@@ -1087,8 +1088,8 @@ const Vt = ({ style: n, text: r, className: s, onClick: a, onContextMenu: c }) =
|
|
|
1087
1088
|
d();
|
|
1088
1089
|
}, [d]), /* @__PURE__ */ e.jsx("div", { style: n, ref: l, onClick: a, onContextMenu: c, className: `runing-text ${s}`, children: /* @__PURE__ */ e.jsx("p", { children: r }) });
|
|
1089
1090
|
};
|
|
1090
|
-
const
|
|
1091
|
-
const
|
|
1091
|
+
const Kt = ({ className: n, children: r, height: s }) => /* @__PURE__ */ e.jsx("div", { className: `scroll-container ${n}`, style: { height: s }, children: r });
|
|
1092
|
+
const Xt = ({ onMenu: n, onSearch: r, placeholder: s, autoChenge: a }) => {
|
|
1092
1093
|
const c = U(null), [l, d] = N(""), [i, o] = N(!1), h = () => {
|
|
1093
1094
|
c.current && (c.current.focus(), o(!0));
|
|
1094
1095
|
}, u = () => {
|
|
@@ -1101,12 +1102,12 @@ const Ut = ({ onMenu: n, onSearch: r, placeholder: s, autoChenge: a }) => {
|
|
|
1101
1102
|
y.code === "Enter" && r(l);
|
|
1102
1103
|
};
|
|
1103
1104
|
return /* @__PURE__ */ e.jsx("div", { className: "search-container", children: /* @__PURE__ */ e.jsxs("div", { className: "search-field", children: [
|
|
1104
|
-
i ? /* @__PURE__ */ e.jsx("span", { onClick: f, children: /* @__PURE__ */ e.jsx(
|
|
1105
|
+
i ? /* @__PURE__ */ e.jsx("span", { onClick: f, children: /* @__PURE__ */ e.jsx(tt, { size: 24 }) }) : n ? /* @__PURE__ */ e.jsx("span", { onClick: n, children: /* @__PURE__ */ e.jsx(un, { size: 24 }) }) : null,
|
|
1105
1106
|
/* @__PURE__ */ e.jsx("input", { placeholder: s, type: "text", ref: c, onChange: v, onKeyDown: g, value: l, onFocus: () => o(!0) }),
|
|
1106
|
-
i ? /* @__PURE__ */ e.jsx("span", { onClick: u, children: /* @__PURE__ */ e.jsx(je, { size: 24 }) }) : /* @__PURE__ */ e.jsx("span", { onClick: h, children: /* @__PURE__ */ e.jsx(
|
|
1107
|
+
i ? /* @__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 }) })
|
|
1107
1108
|
] }) });
|
|
1108
1109
|
};
|
|
1109
|
-
const
|
|
1110
|
+
const qt = ({ visible: n, text: r, option: s }) => {
|
|
1110
1111
|
const a = () => {
|
|
1111
1112
|
s != null && s.onHide && s.onHide();
|
|
1112
1113
|
};
|
|
@@ -1118,9 +1119,9 @@ const Kt = ({ visible: n, text: r, option: s }) => {
|
|
|
1118
1119
|
s != null && s.closeButton ? /* @__PURE__ */ e.jsx("div", { className: "snackbar-close", children: /* @__PURE__ */ e.jsx("span", { onClick: a, children: /* @__PURE__ */ e.jsx(je, {}) }) }) : null
|
|
1119
1120
|
] }) : null;
|
|
1120
1121
|
};
|
|
1121
|
-
const
|
|
1122
|
-
const
|
|
1123
|
-
const [i, o] = N(
|
|
1122
|
+
const Jt = ({ name: n, onChange: r, checked: s, className: a }) => /* @__PURE__ */ e.jsx("div", { className: `swich-container ${a}`, children: /* @__PURE__ */ e.jsx("input", { type: "checkbox", name: n, onChange: r, checked: s }) });
|
|
1123
|
+
const ht = (n) => n === void 0 ? [] : Array.isArray(n) ? n : [n], Gt = ({ multiple: n, value: r, items: s, className: a, onClick: c, onContextMenu: l, onChange: d }) => {
|
|
1124
|
+
const [i, o] = N(ht(r)), h = (u) => {
|
|
1124
1125
|
c && c(u);
|
|
1125
1126
|
const f = u.currentTarget;
|
|
1126
1127
|
if (!n) {
|
|
@@ -1138,22 +1139,22 @@ const xt = (n) => n === void 0 ? [] : Array.isArray(n) ? n : [n], qt = ({ multip
|
|
|
1138
1139
|
/* @__PURE__ */ e.jsx("div", { className: "text-container", children: u })
|
|
1139
1140
|
] }, f) }, f)) });
|
|
1140
1141
|
};
|
|
1141
|
-
const
|
|
1142
|
+
const hn = (n) => n ? {
|
|
1142
1143
|
height: Number(window.getComputedStyle(n).getPropertyValue("height").replace("px", "")),
|
|
1143
1144
|
width: Number(window.getComputedStyle(n).getPropertyValue("width").replace("px", "")),
|
|
1144
1145
|
left: Number(n.getBoundingClientRect().left),
|
|
1145
1146
|
top: Number(n.getBoundingClientRect().top)
|
|
1146
|
-
} : void 0,
|
|
1147
|
+
} : void 0, fn = (n, r, s, a) => {
|
|
1147
1148
|
let c = { x: n, y: r };
|
|
1148
1149
|
if (!s)
|
|
1149
1150
|
return c;
|
|
1150
1151
|
let l = Number(window.getComputedStyle(s).getPropertyValue("height").replace("px", "")), d = Number(window.getComputedStyle(s).getPropertyValue("width").replace("px", "")), i = r + l - document.documentElement.scrollHeight, o = n + d - document.documentElement.clientWidth;
|
|
1151
1152
|
return i > 0 && (c.y = c.y - i - ((a == null ? void 0 : a.marginBottom) ?? 0)), o > 0 && (c.x = c.x - o - ((a == null ? void 0 : a.marginRight) ?? 0)), c;
|
|
1152
1153
|
};
|
|
1153
|
-
function
|
|
1154
|
+
function ft(n, r, s, a, c) {
|
|
1154
1155
|
return a + (c - a) * ((n - r) / (s - r));
|
|
1155
1156
|
}
|
|
1156
|
-
const Te = 0, Re = 100,
|
|
1157
|
+
const Te = 0, Re = 100, Ht = (n) => {
|
|
1157
1158
|
const [r, s] = N(0), [a, c] = N(!1), l = U(null), d = U(null);
|
|
1158
1159
|
F(() => {
|
|
1159
1160
|
n.value ? s(n.value) : s(0);
|
|
@@ -1162,9 +1163,9 @@ const Te = 0, Re = 100, Jt = (n) => {
|
|
|
1162
1163
|
s(Number(f.target.value)), n.onChange(f);
|
|
1163
1164
|
}, o = (f, v, g) => {
|
|
1164
1165
|
if (l.current && d.current) {
|
|
1165
|
-
let y =
|
|
1166
|
+
let y = hn(d.current);
|
|
1166
1167
|
if (y)
|
|
1167
|
-
return
|
|
1168
|
+
return ft(f, v, g, 0, g - v) * (y.width - 20) / (g - v);
|
|
1168
1169
|
}
|
|
1169
1170
|
return 0;
|
|
1170
1171
|
}, h = R((f) => {
|
|
@@ -1196,10 +1197,10 @@ const G = ({ className: n, children: r, header: s, action: a, onHide: c, style:
|
|
|
1196
1197
|
a ? /* @__PURE__ */ e.jsx("div", { className: "dialog-action", children: a }) : null
|
|
1197
1198
|
] })
|
|
1198
1199
|
] });
|
|
1199
|
-
},
|
|
1200
|
+
}, mt = ({ onHide: n, onSave: r }) => /* @__PURE__ */ e.jsxs("div", { className: "dialog-button-container", children: [
|
|
1200
1201
|
/* @__PURE__ */ e.jsx(M, { onClick: n, children: "cancel" }),
|
|
1201
1202
|
r ? /* @__PURE__ */ e.jsx(M, { onClick: r, children: "save" }) : null
|
|
1202
|
-
] }),
|
|
1203
|
+
] }), Zt = ({ style: n, className: r, header: s, children: a, onSave: c, onHide: l }) => {
|
|
1203
1204
|
const [d, i] = N(!1), o = R(() => {
|
|
1204
1205
|
window.innerWidth < 720 ? i(!0) : i(!1);
|
|
1205
1206
|
}, [window.innerWidth]);
|
|
@@ -1220,57 +1221,57 @@ const G = ({ className: n, children: r, header: s, action: a, onHide: c, style:
|
|
|
1220
1221
|
/* @__PURE__ */ e.jsx("div", { className: "save-container", children: c ? /* @__PURE__ */ e.jsx(M, { onClick: u, children: "save" }) : null })
|
|
1221
1222
|
] }),
|
|
1222
1223
|
/* @__PURE__ */ e.jsx("div", { className: "full-screen-dialog-content", style: { overflowY: "auto" }, children: a })
|
|
1223
|
-
] }) : /* @__PURE__ */ e.jsx(G, { style: n, header: s, className: `full-screen-dialog-base-format ${r}`, onHide: h, children: a, action: /* @__PURE__ */ e.jsx(
|
|
1224
|
-
},
|
|
1224
|
+
] }) : /* @__PURE__ */ e.jsx(G, { style: n, header: s, className: `full-screen-dialog-base-format ${r}`, onHide: h, children: a, action: /* @__PURE__ */ e.jsx(mt, { onHide: h, onSave: c ? u : void 0 }) });
|
|
1225
|
+
}, Qt = ({ styleContainer: n, text: r, header: s, actionText: a, onSuccess: c, onHide: l, onCancel: d }) => {
|
|
1225
1226
|
const i = R(() => {
|
|
1226
1227
|
c && c(), l && l();
|
|
1227
1228
|
}, []), o = R(() => {
|
|
1228
1229
|
d && d(), l && l();
|
|
1229
1230
|
}, []);
|
|
1230
|
-
return /* @__PURE__ */ e.jsx(G, { style: n, header: s, action: /* @__PURE__ */ e.jsx(
|
|
1231
|
+
return /* @__PURE__ */ e.jsx(G, { style: n, header: s, action: /* @__PURE__ */ e.jsx(vt, { onHide: o, actionText: a, onSuccess: i }), children: /* @__PURE__ */ e.jsx("p", { children: r }) });
|
|
1231
1232
|
};
|
|
1232
|
-
function
|
|
1233
|
+
function vt({ actionText: n, onSuccess: r, onHide: s }) {
|
|
1233
1234
|
return /* @__PURE__ */ e.jsxs("div", { className: "dialog-button-container", children: [
|
|
1234
1235
|
/* @__PURE__ */ e.jsx(M, { onClick: s, children: "cancel" }),
|
|
1235
1236
|
/* @__PURE__ */ e.jsx(M, { onClick: r, children: n ?? "OK" })
|
|
1236
1237
|
] });
|
|
1237
1238
|
}
|
|
1238
|
-
function
|
|
1239
|
+
function er({ onSuccess: n, items: r, header: s, onHide: a, noHide: c = !1, name: l = "dailog_name" }) {
|
|
1239
1240
|
const [d, i] = N(void 0), o = R(() => {
|
|
1240
1241
|
n && d && n(d), i(void 0), !c && a && a();
|
|
1241
1242
|
}, [d]), h = R((u) => {
|
|
1242
1243
|
i(u);
|
|
1243
1244
|
}, []);
|
|
1244
|
-
return /* @__PURE__ */ e.jsxs(G, { header: s, action: /* @__PURE__ */ e.jsx(
|
|
1245
|
-
/* @__PURE__ */ e.jsx(
|
|
1246
|
-
/* @__PURE__ */ e.jsx(
|
|
1247
|
-
/* @__PURE__ */ e.jsx(
|
|
1245
|
+
return /* @__PURE__ */ e.jsxs(G, { header: s, action: /* @__PURE__ */ e.jsx(jt, { onHide: a, onSuccess: o, disabled: d === void 0 }), children: [
|
|
1246
|
+
/* @__PURE__ */ e.jsx(L, { style: { padding: "0px" } }),
|
|
1247
|
+
/* @__PURE__ */ e.jsx(Jn, { className: "transparent", scroll: !0, maxHeight: "200px", children: r.map((u, f) => /* @__PURE__ */ e.jsx("label", { children: /* @__PURE__ */ e.jsx(Gn, { 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(L, { style: { padding: "0px" } })
|
|
1248
1249
|
] });
|
|
1249
1250
|
}
|
|
1250
|
-
function
|
|
1251
|
+
function jt({ onSuccess: n, onHide: r, disabled: s }) {
|
|
1251
1252
|
return /* @__PURE__ */ e.jsxs("div", { className: "dialog-button-container", children: [
|
|
1252
1253
|
/* @__PURE__ */ e.jsx(M, { onClick: r, children: "cancel" }),
|
|
1253
1254
|
/* @__PURE__ */ e.jsx(M, { onClick: n, disabled: s, children: "OK" })
|
|
1254
1255
|
] });
|
|
1255
1256
|
}
|
|
1256
|
-
const
|
|
1257
|
+
const nr = ({ styleContainer: n, text: r, header: s, onSuccess: a, onHide: c, placeholder: l, type: d = "text", min: i = 0, max: o = 100 }) => {
|
|
1257
1258
|
const [h, u] = N(""), f = R(() => {
|
|
1258
1259
|
a && a(h), c && c();
|
|
1259
1260
|
}, [h]), v = (g) => {
|
|
1260
1261
|
d === "number" && (Number(g) < i && (g = String(i)), Number(g) > o && (g = String(o))), u(g);
|
|
1261
1262
|
};
|
|
1262
|
-
return /* @__PURE__ */ e.jsxs(G, { style: n, header: s, action: /* @__PURE__ */ e.jsx(
|
|
1263
|
+
return /* @__PURE__ */ e.jsxs(G, { style: n, header: s, action: /* @__PURE__ */ e.jsx(pt, { onHide: c, onSuccess: f }), children: [
|
|
1263
1264
|
/* @__PURE__ */ e.jsx("p", { children: r }),
|
|
1264
|
-
/* @__PURE__ */ e.jsx("div", { className: "dialog-input-container", children: /* @__PURE__ */ e.jsx(
|
|
1265
|
+
/* @__PURE__ */ e.jsx("div", { className: "dialog-input-container", children: /* @__PURE__ */ e.jsx(xn, { max: o, min: i, type: d, border: !0, placeholder: l, value: h, onChange: (g) => v(g.target.value) }) })
|
|
1265
1266
|
] });
|
|
1266
1267
|
};
|
|
1267
|
-
function
|
|
1268
|
+
function pt({ onSuccess: n, onHide: r }) {
|
|
1268
1269
|
return /* @__PURE__ */ e.jsxs("div", { className: "dialog-button-container", children: [
|
|
1269
1270
|
/* @__PURE__ */ e.jsx(M, { onClick: r, children: "cancel" }),
|
|
1270
1271
|
/* @__PURE__ */ e.jsx(M, { onClick: n, children: "OK" })
|
|
1271
1272
|
] });
|
|
1272
1273
|
}
|
|
1273
|
-
const
|
|
1274
|
+
const gt = 2050, cn = 1900, z = [
|
|
1274
1275
|
"January",
|
|
1275
1276
|
"February",
|
|
1276
1277
|
"March",
|
|
@@ -1283,7 +1284,7 @@ const pt = 2050, an = 1900, z = [
|
|
|
1283
1284
|
"October",
|
|
1284
1285
|
"November",
|
|
1285
1286
|
"December"
|
|
1286
|
-
],
|
|
1287
|
+
], yt = () => Array(gt - cn).fill(0).map((n, r) => cn + r), tr = ({ onChange: n, onHide: r }) => {
|
|
1287
1288
|
const [s] = N(z[(/* @__PURE__ */ new Date()).getMonth()]), [a] = N((/* @__PURE__ */ new Date()).getFullYear()), [c] = N((/* @__PURE__ */ new Date()).getDate()), [l, d] = N(z[(/* @__PURE__ */ new Date()).getMonth()]), [i, o] = N((/* @__PURE__ */ new Date()).getFullYear()), [h, u] = N({
|
|
1288
1289
|
day: (/* @__PURE__ */ new Date()).getDate(),
|
|
1289
1290
|
type: "NOW_MONTH"
|
|
@@ -1291,9 +1292,9 @@ const pt = 2050, an = 1900, z = [
|
|
|
1291
1292
|
}), [f, v] = N(
|
|
1292
1293
|
"DAYS"
|
|
1293
1294
|
/* DAYS */
|
|
1294
|
-
), g = (j, _) => new Date(j, _ + 1, 0).getDate(), y = (j, _,
|
|
1295
|
-
let
|
|
1296
|
-
return
|
|
1295
|
+
), g = (j, _) => new Date(j, _ + 1, 0).getDate(), y = (j, _, W) => new Date(j, _, W).getDay(), w = (j, _) => {
|
|
1296
|
+
let W = Array(g(j, _)).fill(0).map((oe, X) => ({ type: "NOW_MONTH", day: X + 1 })), K = y(j, _, g(j, _)), ee = Array(7 - K).fill(0).map((oe, X) => ({ type: "NEXT_MONTH", day: X + 1 }));
|
|
1297
|
+
return W = Array(y(j, _, 0)).fill(0).map((oe, X) => ({ type: "PREV_MONTH", day: g(_ ? j : j - 1, _ ? _ - 1 : 11) - X })).reverse().concat(W).concat(ee), W;
|
|
1297
1298
|
}, S = (j) => {
|
|
1298
1299
|
v(
|
|
1299
1300
|
"DAYS"
|
|
@@ -1318,7 +1319,7 @@ const pt = 2050, an = 1900, z = [
|
|
|
1318
1319
|
), children: [
|
|
1319
1320
|
l,
|
|
1320
1321
|
" ",
|
|
1321
|
-
/* @__PURE__ */ e.jsx(
|
|
1322
|
+
/* @__PURE__ */ e.jsx(sn, {})
|
|
1322
1323
|
] }) }),
|
|
1323
1324
|
/* @__PURE__ */ e.jsx("div", { className: "years", children: /* @__PURE__ */ e.jsxs("span", { className: f === "YEARS" ? "active" : "", onClick: () => v(
|
|
1324
1325
|
"YEARS"
|
|
@@ -1326,13 +1327,13 @@ const pt = 2050, an = 1900, z = [
|
|
|
1326
1327
|
), children: [
|
|
1327
1328
|
i,
|
|
1328
1329
|
" ",
|
|
1329
|
-
/* @__PURE__ */ e.jsx(
|
|
1330
|
+
/* @__PURE__ */ e.jsx(sn, {})
|
|
1330
1331
|
] }) })
|
|
1331
1332
|
] }),
|
|
1332
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: [
|
|
1333
1334
|
/* @__PURE__ */ e.jsx("div", { className: "status-container", children: l === j ? /* @__PURE__ */ e.jsx(ce, {}) : null }),
|
|
1334
1335
|
/* @__PURE__ */ e.jsx("div", { className: "content", children: j })
|
|
1335
|
-
] }, _)) }) : f === "YEARS" ? /* @__PURE__ */ e.jsx("div", { className: "calendar-body-years-container", children:
|
|
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: () => S(j), children: [
|
|
1336
1337
|
/* @__PURE__ */ e.jsx("div", { className: "status-container", children: i === j ? /* @__PURE__ */ e.jsx(ce, {}) : null }),
|
|
1337
1338
|
/* @__PURE__ */ e.jsx("div", { className: "content", children: j })
|
|
1338
1339
|
] }, _)) }) : /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
@@ -1353,7 +1354,7 @@ const pt = 2050, an = 1900, z = [
|
|
|
1353
1354
|
] })
|
|
1354
1355
|
] });
|
|
1355
1356
|
};
|
|
1356
|
-
const
|
|
1357
|
+
const bt = ({ setHours: n, setMinutes: r, switchMode: s, hours: a, minutes: c, onCancel: l, onOK: d }) => {
|
|
1357
1358
|
const [i, o] = N(!1), h = R((v) => {
|
|
1358
1359
|
n(v), o(!0);
|
|
1359
1360
|
}, [n]), u = R((v) => {
|
|
@@ -1374,15 +1375,15 @@ const yt = ({ setHours: n, setMinutes: r, switchMode: s, hours: a, minutes: c, o
|
|
|
1374
1375
|
/* @__PURE__ */ e.jsx("span", { className: "text-sm", children: "Minute" })
|
|
1375
1376
|
] })
|
|
1376
1377
|
] }),
|
|
1377
|
-
/* @__PURE__ */ e.jsx("div", { className: "clock-input-container", children: i ? /* @__PURE__ */ e.jsx(
|
|
1378
|
+
/* @__PURE__ */ e.jsx("div", { className: "clock-input-container", children: i ? /* @__PURE__ */ e.jsx(Nt, { setMinutes: u }) : /* @__PURE__ */ e.jsx(kt, { setHours: h }) }),
|
|
1378
1379
|
/* @__PURE__ */ e.jsxs("div", { className: "enter-time-action", children: [
|
|
1379
|
-
/* @__PURE__ */ e.jsx("div", { className: "enter-time-icon", onClick: () => s(), children: /* @__PURE__ */ e.jsx(
|
|
1380
|
+
/* @__PURE__ */ e.jsx("div", { className: "enter-time-icon", onClick: () => s(), children: /* @__PURE__ */ e.jsx(it, {}) }),
|
|
1380
1381
|
/* @__PURE__ */ e.jsx(M, { className: "little", onClick: f, children: "Cancel" }),
|
|
1381
1382
|
/* @__PURE__ */ e.jsx(M, { className: "little", onClick: d, children: "OK" })
|
|
1382
1383
|
] })
|
|
1383
1384
|
] });
|
|
1384
1385
|
};
|
|
1385
|
-
function
|
|
1386
|
+
function kt({ setHours: n }) {
|
|
1386
1387
|
return /* @__PURE__ */ e.jsxs("div", { className: "clock-input", children: [
|
|
1387
1388
|
/* @__PURE__ */ e.jsxs("div", { className: "clock-input-am", children: [
|
|
1388
1389
|
/* @__PURE__ */ e.jsx("span", { onClick: () => n(1), children: "1" }),
|
|
@@ -1415,7 +1416,7 @@ function bt({ setHours: n }) {
|
|
|
1415
1416
|
/* @__PURE__ */ e.jsx("span", { className: "center" })
|
|
1416
1417
|
] });
|
|
1417
1418
|
}
|
|
1418
|
-
function
|
|
1419
|
+
function Nt({ setMinutes: n }) {
|
|
1419
1420
|
return /* @__PURE__ */ e.jsxs("div", { className: "clock-input", children: [
|
|
1420
1421
|
/* @__PURE__ */ e.jsxs("div", { className: "clock-input-minute", children: [
|
|
1421
1422
|
/* @__PURE__ */ e.jsx("span", { onClick: () => n(0), children: "00" }),
|
|
@@ -1434,7 +1435,7 @@ function kt({ setMinutes: n }) {
|
|
|
1434
1435
|
/* @__PURE__ */ e.jsx("span", { className: "center" })
|
|
1435
1436
|
] });
|
|
1436
1437
|
}
|
|
1437
|
-
const
|
|
1438
|
+
const Ct = ({ setHours: n, setMinutes: r, switchMode: s, minutes: a, hours: c, onCancel: l, onOK: d }) => {
|
|
1438
1439
|
const i = (h) => {
|
|
1439
1440
|
let u = Number(h.target.value);
|
|
1440
1441
|
u < 0 && (u = 0), u > 23 && (u = 23), n(u);
|
|
@@ -1456,12 +1457,12 @@ const Nt = ({ setHours: n, setMinutes: r, switchMode: s, minutes: a, hours: c, o
|
|
|
1456
1457
|
] })
|
|
1457
1458
|
] }),
|
|
1458
1459
|
/* @__PURE__ */ e.jsxs("div", { className: "enter-time-action", children: [
|
|
1459
|
-
/* @__PURE__ */ e.jsx("div", { className: "enter-time-icon", onClick: () => s(), children: /* @__PURE__ */ e.jsx(
|
|
1460
|
+
/* @__PURE__ */ e.jsx("div", { className: "enter-time-icon", onClick: () => s(), children: /* @__PURE__ */ e.jsx(st, {}) }),
|
|
1460
1461
|
/* @__PURE__ */ e.jsx(M, { className: "little", onClick: l, children: "Cancel" }),
|
|
1461
1462
|
/* @__PURE__ */ e.jsx(M, { className: "little", onClick: d, children: "OK" })
|
|
1462
1463
|
] })
|
|
1463
1464
|
] });
|
|
1464
|
-
},
|
|
1465
|
+
}, rr = (n) => {
|
|
1465
1466
|
const [r, s] = N(n.minutes ?? 0), [a, c] = N(n.hours ?? 0), [l, d] = N(!0), i = () => {
|
|
1466
1467
|
n.onHide && n.onHide(), s(0), c(0);
|
|
1467
1468
|
}, o = R((u) => {
|
|
@@ -1469,9 +1470,9 @@ const Nt = ({ setHours: n, setMinutes: r, switchMode: s, minutes: a, hours: c, o
|
|
|
1469
1470
|
}, [a]), h = R(() => {
|
|
1470
1471
|
n.onChange && n.onChange(a, r), n.onHide && n.onHide();
|
|
1471
1472
|
}, [a, r]);
|
|
1472
|
-
return l ? /* @__PURE__ */ e.jsx(G, { className: "enter-time-container", children: /* @__PURE__ */ e.jsx(
|
|
1473
|
+
return l ? /* @__PURE__ */ e.jsx(G, { className: "enter-time-container", children: /* @__PURE__ */ e.jsx(bt, { setMinutes: o, setHours: c, minutes: r, hours: a, switchMode: () => d(!1), onCancel: i, onOK: h }) }) : /* @__PURE__ */ e.jsx(G, { className: "enter-time-container", children: /* @__PURE__ */ e.jsx(Ct, { setMinutes: s, setHours: c, minutes: r, hours: a, switchMode: () => d(!0), onCancel: i, onOK: h }) });
|
|
1473
1474
|
};
|
|
1474
|
-
const
|
|
1475
|
+
const sr = ({ onChange: n, value: r, className: s }) => {
|
|
1475
1476
|
const [a, c] = N(r || []), l = R((i) => {
|
|
1476
1477
|
if (!i)
|
|
1477
1478
|
return;
|
|
@@ -1510,7 +1511,7 @@ const tr = ({ onChange: n, value: r, className: s }) => {
|
|
|
1510
1511
|
] })
|
|
1511
1512
|
] }) });
|
|
1512
1513
|
};
|
|
1513
|
-
const
|
|
1514
|
+
const ar = ({ children: n }) => /* @__PURE__ */ e.jsx("div", { className: "adaptiv-grid-item", children: /* @__PURE__ */ e.jsx("div", { className: "adaptiv-grid-item-container", children: n }) }), ir = ({ minWith: n, children: r, className: s, gridRowGap: a = "10px", gridColumnGap: c = "5px", itemMinWith: l, itemMaxWith: d, itemWith: i = "400px" }) => {
|
|
1514
1515
|
const o = U(null), [h, u] = N([]), f = R(() => {
|
|
1515
1516
|
if (!o.current)
|
|
1516
1517
|
return;
|
|
@@ -1543,7 +1544,7 @@ const rr = ({ children: n }) => /* @__PURE__ */ e.jsx("div", { className: "adapt
|
|
|
1543
1544
|
window.addEventListener("resize", v);
|
|
1544
1545
|
}), [v]), /* @__PURE__ */ e.jsx("div", { style: { minWidth: n }, ref: o, className: `adaptiv-grid-layout ${s}`, children: r });
|
|
1545
1546
|
};
|
|
1546
|
-
const
|
|
1547
|
+
const wt = ({ item: n, isIcon: r, globalClick: s }) => {
|
|
1547
1548
|
const a = () => {
|
|
1548
1549
|
n.onClick && n.onClick(), s && s();
|
|
1549
1550
|
};
|
|
@@ -1552,7 +1553,7 @@ const Ct = ({ item: n, isIcon: r, globalClick: s }) => {
|
|
|
1552
1553
|
/* @__PURE__ */ e.jsx("div", { className: "menu-text-container", children: n.title }),
|
|
1553
1554
|
/* @__PURE__ */ e.jsx("div", { className: "menu-status-container", children: n.activated ? /* @__PURE__ */ e.jsx(ce, {}) : null })
|
|
1554
1555
|
] });
|
|
1555
|
-
},
|
|
1556
|
+
}, Et = ({ items: n, onHide: r, smallDisplay: s, globalClick: a }) => {
|
|
1556
1557
|
const c = U(null), [l, d] = N({ left: "0px", top: "0px" });
|
|
1557
1558
|
function i(o) {
|
|
1558
1559
|
for (let h of o)
|
|
@@ -1563,19 +1564,19 @@ const Ct = ({ item: n, isIcon: r, globalClick: s }) => {
|
|
|
1563
1564
|
return F(() => {
|
|
1564
1565
|
if (!c.current)
|
|
1565
1566
|
return;
|
|
1566
|
-
let o =
|
|
1567
|
+
let o = hn(c.current.parentElement);
|
|
1567
1568
|
if (!o)
|
|
1568
1569
|
return;
|
|
1569
|
-
let h =
|
|
1570
|
+
let h = fn(o.left + o.width, o.top, c.current, { marginRight: o.width });
|
|
1570
1571
|
d({
|
|
1571
1572
|
left: h.x - o.left + "px",
|
|
1572
1573
|
top: h.y - o.top + "px"
|
|
1573
1574
|
});
|
|
1574
1575
|
}, []), /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1575
|
-
/* @__PURE__ */ e.jsx("div", { ref: c, className: "menu-sub-block", style: { ...l }, children: n.map((o, h) => /* @__PURE__ */ e.jsx(
|
|
1576
|
+
/* @__PURE__ */ e.jsx("div", { ref: c, className: "menu-sub-block", style: { ...l }, children: n.map((o, h) => /* @__PURE__ */ e.jsx(wt, { item: o, isIcon: i(n), globalClick: a }, h)) }),
|
|
1576
1577
|
s ? null : /* @__PURE__ */ e.jsx("div", { style: { zIndex: 4 }, className: "backplate", onClick: r })
|
|
1577
1578
|
] });
|
|
1578
|
-
},
|
|
1579
|
+
}, Tt = ({ onHide: n, autoHide: r, globalClick: s, item: a, isIcon: c, smallDisplay: l }) => {
|
|
1579
1580
|
const [d, i] = N(!1), o = R(() => {
|
|
1580
1581
|
a.subItems ? i((h) => !h) : a.onClick && a.onClick(), s && s(), r && n && n();
|
|
1581
1582
|
}, [a.onClick]);
|
|
@@ -1585,46 +1586,46 @@ const Ct = ({ item: n, isIcon: r, globalClick: s }) => {
|
|
|
1585
1586
|
/* @__PURE__ */ e.jsx("div", { className: "menu-text-container", children: a.title }),
|
|
1586
1587
|
/* @__PURE__ */ e.jsx("div", { className: "menu-status-container", children: a.subItems ? /* @__PURE__ */ e.jsx("span", { className: `menu-status-submenu ${d ? "active" : ""}` }) : a.activated ? /* @__PURE__ */ e.jsx(ce, {}) : /* @__PURE__ */ e.jsx("span", { className: "none-status" }) })
|
|
1587
1588
|
] }),
|
|
1588
|
-
d && a.subItems ? /* @__PURE__ */ e.jsx(
|
|
1589
|
+
d && a.subItems ? /* @__PURE__ */ e.jsx(Et, { items: a.subItems, onHide: () => i(!1), smallDisplay: l }) : null
|
|
1589
1590
|
] });
|
|
1590
1591
|
};
|
|
1591
|
-
function
|
|
1592
|
+
function mn({ block: n, smallDisplay: r, onHide: s, globalClick: a, autoHide: c }) {
|
|
1592
1593
|
function l(d) {
|
|
1593
1594
|
for (let i of d.items)
|
|
1594
1595
|
if (i.icon)
|
|
1595
1596
|
return !0;
|
|
1596
1597
|
return !1;
|
|
1597
1598
|
}
|
|
1598
|
-
return /* @__PURE__ */ e.jsx("div", { className: "menu-block", children: n.items.map((d, i) => /* @__PURE__ */ e.jsx(
|
|
1599
|
+
return /* @__PURE__ */ e.jsx("div", { className: "menu-block", children: n.items.map((d, i) => /* @__PURE__ */ e.jsx(Tt, { globalClick: a, autoHide: c, onHide: s, item: d, isIcon: l(n), smallDisplay: r }, i)) });
|
|
1599
1600
|
}
|
|
1600
|
-
const
|
|
1601
|
+
const Rt = 100, cr = (n) => {
|
|
1601
1602
|
const r = U(null), [s, a] = N({ left: "0px", top: "0px" }), c = () => {
|
|
1602
1603
|
n.onHide && n.onHide();
|
|
1603
1604
|
};
|
|
1604
1605
|
return F(() => {
|
|
1605
|
-
let l =
|
|
1606
|
+
let l = fn(n.x, n.y, r.current, { marginBottom: Rt });
|
|
1606
1607
|
a({
|
|
1607
1608
|
left: l.x + "px",
|
|
1608
1609
|
top: l.y + "px"
|
|
1609
1610
|
});
|
|
1610
1611
|
}, [n.x, n.y]), n.visible ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1611
1612
|
/* @__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: [
|
|
1612
|
-
d !== 0 ? /* @__PURE__ */ e.jsx(
|
|
1613
|
-
/* @__PURE__ */ e.jsx(
|
|
1613
|
+
d !== 0 ? /* @__PURE__ */ e.jsx(L, {}) : null,
|
|
1614
|
+
/* @__PURE__ */ e.jsx(mn, { block: l, smallDisplay: !1, globalClick: n.onClick, autoHide: n.autoHide, onHide: c })
|
|
1614
1615
|
] }, d)) }),
|
|
1615
1616
|
/* @__PURE__ */ e.jsx("div", { style: { zIndex: 1600 }, className: "backplate", onClick: c, onContextMenu: (l) => {
|
|
1616
1617
|
l.preventDefault();
|
|
1617
1618
|
} })
|
|
1618
1619
|
] }) : null;
|
|
1619
|
-
},
|
|
1620
|
+
}, lr = (n) => {
|
|
1620
1621
|
const r = () => {
|
|
1621
1622
|
};
|
|
1622
|
-
return /* @__PURE__ */ e.jsx(
|
|
1623
|
-
a !== 0 ? /* @__PURE__ */ e.jsx(
|
|
1624
|
-
/* @__PURE__ */ e.jsx(
|
|
1623
|
+
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(L, {}) : null,
|
|
1625
|
+
/* @__PURE__ */ e.jsx(mn, { block: s, smallDisplay: !0 })
|
|
1625
1626
|
] }, a)) }) });
|
|
1626
1627
|
};
|
|
1627
|
-
function
|
|
1628
|
+
function _t(n) {
|
|
1628
1629
|
let r = [];
|
|
1629
1630
|
if (n.length > 0)
|
|
1630
1631
|
for (let s of n)
|
|
@@ -1639,7 +1640,7 @@ function Rt(n) {
|
|
|
1639
1640
|
}
|
|
1640
1641
|
return r;
|
|
1641
1642
|
}
|
|
1642
|
-
const
|
|
1643
|
+
const St = ({ data: n, column: r, color: s, backgroundColor: a }) => {
|
|
1643
1644
|
function c(i, o) {
|
|
1644
1645
|
for (let h in o)
|
|
1645
1646
|
if (i === h)
|
|
@@ -1652,138 +1653,138 @@ const _t = ({ data: n, column: r, color: s, backgroundColor: a }) => {
|
|
|
1652
1653
|
return i ? Array.isArray(i) ? i.map((o) => l(o)) : [l(i)] : [];
|
|
1653
1654
|
}
|
|
1654
1655
|
return /* @__PURE__ */ e.jsx("td", { style: { backgroundColor: a }, children: d(c(r.field, n)).map((i, o) => /* @__PURE__ */ e.jsx("p", { style: { color: i.color ?? s }, className: i.onClick ? "no-click" : "", onClick: i.onClick, children: typeof i.content == "string" || typeof i.content == "number" ? i.content : /* @__PURE__ */ e.jsx(i.content, {}) }, o)) });
|
|
1655
|
-
},
|
|
1656
|
+
}, $t = ({ actions: n, item: r, columns: s, onContextMenu: a, onDelete: c, onEdit: l, onClickRow: d, index: i }) => {
|
|
1656
1657
|
const o = (u) => !u.target.closest(".no-click"), h = (u) => {
|
|
1657
1658
|
o(u) && d && d(r, i);
|
|
1658
1659
|
};
|
|
1659
1660
|
return /* @__PURE__ */ e.jsxs("tr", { className: "table-row", onClick: h, children: [
|
|
1660
|
-
s.map((u, f) => /* @__PURE__ */ e.jsx(
|
|
1661
|
+
s.map((u, f) => /* @__PURE__ */ e.jsx(St, { color: u.color, backgroundColor: u.backgroundColor, column: u, data: r }, f)),
|
|
1661
1662
|
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, i) }, f)) }) }) : null,
|
|
1662
1663
|
a || c || l ? /* @__PURE__ */ e.jsx("td", { className: "w-[180px] table-edit-button no-click", children: /* @__PURE__ */ e.jsxs("div", { className: "table-edit-button", children: [
|
|
1663
|
-
l ? /* @__PURE__ */ e.jsx(ie, { transparent: !0, icon: /* @__PURE__ */ e.jsx(
|
|
1664
|
-
c ? /* @__PURE__ */ e.jsx(ie, { transparent: !0, icon: /* @__PURE__ */ e.jsx(
|
|
1665
|
-
a ? /* @__PURE__ */ e.jsx(ie, { transparent: !0, icon: /* @__PURE__ */ e.jsx(
|
|
1664
|
+
l ? /* @__PURE__ */ e.jsx(ie, { transparent: !0, icon: /* @__PURE__ */ e.jsx(ct, {}), onClick: () => l(r, i) }) : null,
|
|
1665
|
+
c ? /* @__PURE__ */ e.jsx(ie, { transparent: !0, icon: /* @__PURE__ */ e.jsx(ot, { className: "text-red-500" }), onClick: () => c(r, i) }) : null,
|
|
1666
|
+
a ? /* @__PURE__ */ e.jsx(ie, { transparent: !0, icon: /* @__PURE__ */ e.jsx(at, {}), onClick: (u) => a(u, r, i) }) : null
|
|
1666
1667
|
] }) }) : null
|
|
1667
1668
|
] });
|
|
1668
|
-
},
|
|
1669
|
-
const [o] = N(r ??
|
|
1669
|
+
}, or = ({ data: n, columns: r, onDelete: s, onContextMenu: a, onEdit: c, actions: l, onClickRow: d, adaptive: i }) => {
|
|
1670
|
+
const [o] = N(r ?? _t(n));
|
|
1670
1671
|
return /* @__PURE__ */ e.jsx("div", { className: `table-container mt-3 ${d ? "clicked" : ""} ${i ? "auto-rotate" : ""}`, children: /* @__PURE__ */ e.jsxs("table", { children: [
|
|
1671
1672
|
/* @__PURE__ */ e.jsx("thead", { children: /* @__PURE__ */ e.jsxs("tr", { children: [
|
|
1672
1673
|
o.map((h, u) => /* @__PURE__ */ e.jsx("th", { className: "min-width", children: h.title }, u)),
|
|
1673
1674
|
l ? /* @__PURE__ */ e.jsx("th", { className: "table-actions-header", children: "actions" }) : null,
|
|
1674
1675
|
s || a || c ? /* @__PURE__ */ e.jsx("th", { className: "table-actions-header" }) : null
|
|
1675
1676
|
] }) }),
|
|
1676
|
-
/* @__PURE__ */ e.jsx("tbody", { children: n.map((h, u) => /* @__PURE__ */ e.jsx(
|
|
1677
|
+
/* @__PURE__ */ e.jsx("tbody", { children: n.map((h, u) => /* @__PURE__ */ e.jsx($t, { onClickRow: d, actions: l, index: u, columns: o, item: h, onDelete: s, onContextMenu: a, onEdit: c }, u)) })
|
|
1677
1678
|
] }) });
|
|
1678
1679
|
};
|
|
1679
|
-
const
|
|
1680
|
+
const Ot = ({ icon: n, title: r, to: s }) => /* @__PURE__ */ e.jsxs(Oe, { to: s, className: "navigation-item", children: [
|
|
1680
1681
|
/* @__PURE__ */ e.jsx("div", { className: "navigation-item-icon", children: n }),
|
|
1681
1682
|
/* @__PURE__ */ e.jsx("div", { className: "navigation-item-text", children: r })
|
|
1682
|
-
] }),
|
|
1683
|
+
] }), Dt = ({ onClick: n, icon: r, title: s }) => /* @__PURE__ */ e.jsxs("div", { onClick: n, className: "navigation-item", children: [
|
|
1683
1684
|
/* @__PURE__ */ e.jsx("div", { className: "navigation-item-icon", children: r }),
|
|
1684
1685
|
/* @__PURE__ */ e.jsx("div", { className: "navigation-item-text", children: s })
|
|
1685
|
-
] }),
|
|
1686
|
-
const
|
|
1686
|
+
] }), dr = ({ 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
|
+
const ln = ({ onClick: n, icon: r, title: s, to: a }) => /* @__PURE__ */ e.jsxs(Oe, { onClick: n, to: a, className: "navigation-item", children: [
|
|
1687
1688
|
/* @__PURE__ */ e.jsx("div", { className: "navigation-item-icon", children: r }),
|
|
1688
1689
|
/* @__PURE__ */ e.jsx("div", { className: "navigation-item-text", children: s })
|
|
1689
1690
|
] }), fe = ({ onClick: n, icon: r, title: s }) => /* @__PURE__ */ e.jsxs("div", { onClick: n, className: "navigation-item", children: [
|
|
1690
1691
|
/* @__PURE__ */ e.jsx("div", { className: "navigation-item-icon", children: r }),
|
|
1691
1692
|
/* @__PURE__ */ e.jsx("div", { className: "navigation-item-text", children: s })
|
|
1692
|
-
] }),
|
|
1693
|
+
] }), ur = ({ visible: n, firstBtn: r, mainBtn: s, onHide: a, otherBtn: c, backBtn: l, openAlways: d }) => /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1693
1694
|
/* @__PURE__ */ e.jsxs("div", { className: `navigation-drawer-container ${n || d ? "show" : "hide"}`, children: [
|
|
1694
1695
|
r ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1695
1696
|
/* @__PURE__ */ e.jsxs("div", { className: "navigation-block", children: [
|
|
1696
1697
|
/* @__PURE__ */ e.jsx("div", { className: "block-header" }),
|
|
1697
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($e, {}) }) })
|
|
1698
1699
|
] }),
|
|
1699
|
-
/* @__PURE__ */ e.jsx("div", { className: "divider-container", children: /* @__PURE__ */ e.jsx(
|
|
1700
|
+
/* @__PURE__ */ e.jsx("div", { className: "divider-container", children: /* @__PURE__ */ e.jsx(L, {}) })
|
|
1700
1701
|
] }) : null,
|
|
1701
1702
|
/* @__PURE__ */ e.jsxs("div", { className: "navigation-block", children: [
|
|
1702
1703
|
/* @__PURE__ */ e.jsx("div", { className: "block-header" }),
|
|
1703
|
-
/* @__PURE__ */ e.jsx("div", { className: "block-content", children: s && s.map((i, o) => i.type === "button" ? /* @__PURE__ */ e.jsx(fe, { onClick: i.onClick, title: i.text, icon: i.icon }, o) : i.type === "link" ? /* @__PURE__ */ e.jsx(
|
|
1704
|
+
/* @__PURE__ */ e.jsx("div", { className: "block-content", children: s && s.map((i, o) => i.type === "button" ? /* @__PURE__ */ e.jsx(fe, { onClick: i.onClick, title: i.text, icon: i.icon }, o) : i.type === "link" ? /* @__PURE__ */ e.jsx(ln, { onClick: () => a(), title: i.text, icon: i.icon, to: i.to }, o) : null) })
|
|
1704
1705
|
] }),
|
|
1705
|
-
/* @__PURE__ */ e.jsx("div", { className: "divider-container", children: /* @__PURE__ */ e.jsx(
|
|
1706
|
+
/* @__PURE__ */ e.jsx("div", { className: "divider-container", children: /* @__PURE__ */ e.jsx(L, {}) }),
|
|
1706
1707
|
/* @__PURE__ */ e.jsxs("div", { className: "navigation-block", children: [
|
|
1707
1708
|
/* @__PURE__ */ e.jsx("div", { className: "block-header" }),
|
|
1708
|
-
/* @__PURE__ */ e.jsx("div", { className: "block-content", children: c && c.map((i, o) => i.type === "button" ? /* @__PURE__ */ e.jsx(fe, { onClick: i.onClick, title: i.text, icon: i.icon }, o) : i.type === "link" ? /* @__PURE__ */ e.jsx(
|
|
1709
|
+
/* @__PURE__ */ e.jsx("div", { className: "block-content", children: c && c.map((i, o) => i.type === "button" ? /* @__PURE__ */ e.jsx(fe, { onClick: i.onClick, title: i.text, icon: i.icon }, o) : i.type === "link" ? /* @__PURE__ */ e.jsx(ln, { onClick: () => a(), title: i.text, icon: i.icon, to: i.to }, o) : null) })
|
|
1709
1710
|
] }),
|
|
1710
|
-
/* @__PURE__ */ e.jsx("div", { className: "divider-container", children: /* @__PURE__ */ e.jsx(
|
|
1711
|
+
/* @__PURE__ */ e.jsx("div", { className: "divider-container", children: /* @__PURE__ */ e.jsx(L, {}) }),
|
|
1711
1712
|
l ? /* @__PURE__ */ e.jsx("div", { className: "navigation-block", children: /* @__PURE__ */ e.jsx(fe, { onClick: l.onClick, title: l.text, icon: l.icon }) }) : null
|
|
1712
1713
|
] }),
|
|
1713
1714
|
n && !d ? /* @__PURE__ */ e.jsx("div", { className: "backplate", style: { zIndex: 1100 }, onClick: () => a() }) : null
|
|
1714
1715
|
] });
|
|
1715
|
-
const
|
|
1716
|
+
const Mt = ({ icon: n, title: r, to: s }) => /* @__PURE__ */ e.jsxs(Oe, { to: s, className: "navigation-item", children: [
|
|
1716
1717
|
/* @__PURE__ */ e.jsx("div", { className: "navigation-item-icon", children: n }),
|
|
1717
1718
|
/* @__PURE__ */ e.jsx("div", { className: "navigation-item-text", children: r })
|
|
1718
1719
|
] }), me = ({ onClick: n, icon: r, title: s }) => /* @__PURE__ */ e.jsxs("div", { onClick: n, className: "navigation-item", children: [
|
|
1719
1720
|
/* @__PURE__ */ e.jsx("div", { className: "navigation-item-icon", children: r }),
|
|
1720
1721
|
/* @__PURE__ */ e.jsx("div", { className: "navigation-item-text", children: s })
|
|
1721
|
-
] }),
|
|
1722
|
-
n ? /* @__PURE__ */ e.jsx(me, { icon: /* @__PURE__ */ e.jsx(
|
|
1722
|
+
] }), xr = ({ 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
|
+
n ? /* @__PURE__ */ e.jsx(me, { icon: /* @__PURE__ */ e.jsx(un, {}), onClick: n }) : null,
|
|
1723
1724
|
r ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1724
|
-
/* @__PURE__ */ e.jsx(
|
|
1725
|
+
/* @__PURE__ */ e.jsx(L, {}),
|
|
1725
1726
|
/* @__PURE__ */ e.jsx(me, { title: r.text, icon: r.icon ?? /* @__PURE__ */ e.jsx($e, {}), onClick: (c) => {
|
|
1726
1727
|
r.onClick && r.onClick(c);
|
|
1727
1728
|
} }),
|
|
1728
|
-
/* @__PURE__ */ e.jsx(
|
|
1729
|
+
/* @__PURE__ */ e.jsx(L, {})
|
|
1729
1730
|
] }) : null,
|
|
1730
|
-
s && s.map((c, l) => c.type === "button" ? /* @__PURE__ */ e.jsx(me, { onClick: c.onClick, title: c.text, icon: c.icon }, l) : c.type === "link" ? /* @__PURE__ */ e.jsx(
|
|
1731
|
+
s && s.map((c, l) => c.type === "button" ? /* @__PURE__ */ e.jsx(me, { onClick: c.onClick, title: c.text, icon: c.icon }, l) : c.type === "link" ? /* @__PURE__ */ e.jsx(Mt, { title: c.text, icon: c.icon, to: c.to }, l) : null),
|
|
1731
1732
|
a ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1732
|
-
/* @__PURE__ */ e.jsx(
|
|
1733
|
+
/* @__PURE__ */ e.jsx(L, {}),
|
|
1733
1734
|
/* @__PURE__ */ e.jsx(me, { title: a.text, icon: a.icon ?? /* @__PURE__ */ e.jsx($e, {}), onClick: (c) => {
|
|
1734
1735
|
a.onClick && a.onClick(c);
|
|
1735
1736
|
} }),
|
|
1736
|
-
/* @__PURE__ */ e.jsx(
|
|
1737
|
+
/* @__PURE__ */ e.jsx(L, {})
|
|
1737
1738
|
] }) : null
|
|
1738
1739
|
] }) }) });
|
|
1739
1740
|
export {
|
|
1740
|
-
|
|
1741
|
+
Hn as BaseActionCard,
|
|
1741
1742
|
le as BaseButton,
|
|
1742
|
-
|
|
1743
|
-
|
|
1743
|
+
Qt as BaseDialog,
|
|
1744
|
+
ut as BaseRadioButton,
|
|
1744
1745
|
G as BasicTemplateDialog,
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1746
|
+
It as BigContainer,
|
|
1747
|
+
Zn as BottomSheetsUi,
|
|
1748
|
+
qn as Button,
|
|
1749
|
+
At as Card,
|
|
1750
|
+
Yt as Checkbox,
|
|
1751
|
+
dt as Chips,
|
|
1752
|
+
sr as DayOfWeekField,
|
|
1753
|
+
L as Divider,
|
|
1754
|
+
Wt as FAB,
|
|
1755
|
+
Vt as FieldContainer,
|
|
1756
|
+
Xn as FilledButton,
|
|
1757
|
+
Kn as FilledTotalButton,
|
|
1758
|
+
Zt as FullScrinTemplateDialog,
|
|
1759
|
+
ir as GridLayout,
|
|
1760
|
+
ar as GridLayoutItem,
|
|
1760
1761
|
ie as IconButton,
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1762
|
+
Jn as ListContainer,
|
|
1763
|
+
Gn as ListItem,
|
|
1764
|
+
cr as Menu,
|
|
1765
|
+
zt as MoreText,
|
|
1766
|
+
dr as NavigationBar,
|
|
1767
|
+
ur as NavigationDrawer,
|
|
1768
|
+
xr as NavigationRail,
|
|
1769
|
+
Un as OutlineButton,
|
|
1770
|
+
Lt as RadioButton,
|
|
1771
|
+
Ut as RunningLine,
|
|
1772
|
+
Kt as ScrollContainer,
|
|
1773
|
+
Xt as Search,
|
|
1774
|
+
er as SelectionDialog,
|
|
1775
|
+
Gt as SigmentedButton,
|
|
1776
|
+
Ht as Slider,
|
|
1777
|
+
lr as SmallWindowMenu,
|
|
1778
|
+
qt as Snackbar,
|
|
1779
|
+
Jt as Switch,
|
|
1780
|
+
or as Table,
|
|
1781
|
+
Bt as TextArea,
|
|
1781
1782
|
M as TextButton,
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1783
|
+
nr as TextDialog,
|
|
1784
|
+
xn as TextField,
|
|
1785
|
+
rr as TimePicker,
|
|
1786
|
+
hn as getContainerData,
|
|
1787
|
+
fn as getModalWindowCord,
|
|
1788
|
+
ft as map,
|
|
1789
|
+
tr as СalendarPickers
|
|
1789
1790
|
};
|