alex-evo-sh-ui-kit 1.0.3 → 1.0.5
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 +1107 -1782
- package/dist/alex-evo-sh-ui-kit.umd.js +29 -56
- package/dist/index.css +1 -1
- package/dist/index.d.ts +1 -0
- package/package.json +1 -3
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import "react-dom";
|
|
4
|
-
import './index.css';var Xe = { exports: {} }, de = {};
|
|
1
|
+
import ve, { useState as N, useCallback as R, useEffect as F, forwardRef as ln, createElement as _e, useRef as U } from "react";
|
|
2
|
+
import './index.css';var Se = { exports: {} }, se = {};
|
|
5
3
|
/**
|
|
6
4
|
* @license React
|
|
7
5
|
* react-jsx-runtime.production.min.js
|
|
@@ -11,25 +9,25 @@ import './index.css';var Xe = { exports: {} }, de = {};
|
|
|
11
9
|
* This source code is licensed under the MIT license found in the
|
|
12
10
|
* LICENSE file in the root directory of this source tree.
|
|
13
11
|
*/
|
|
14
|
-
var
|
|
15
|
-
function
|
|
16
|
-
if (
|
|
17
|
-
return
|
|
18
|
-
|
|
19
|
-
var
|
|
20
|
-
function
|
|
21
|
-
var
|
|
22
|
-
|
|
23
|
-
for (
|
|
24
|
-
a.call(o,
|
|
25
|
-
if (
|
|
26
|
-
for (
|
|
27
|
-
|
|
28
|
-
return { $$typeof:
|
|
12
|
+
var nn;
|
|
13
|
+
function Ln() {
|
|
14
|
+
if (nn)
|
|
15
|
+
return se;
|
|
16
|
+
nn = 1;
|
|
17
|
+
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
|
+
function d(i, o, h) {
|
|
19
|
+
var u, f = {}, v = null, g = null;
|
|
20
|
+
h !== void 0 && (v = "" + h), o.key !== void 0 && (v = "" + o.key), o.ref !== void 0 && (g = o.ref);
|
|
21
|
+
for (u in o)
|
|
22
|
+
a.call(o, u) && !l.hasOwnProperty(u) && (f[u] = o[u]);
|
|
23
|
+
if (i && i.defaultProps)
|
|
24
|
+
for (u in o = i.defaultProps, o)
|
|
25
|
+
f[u] === void 0 && (f[u] = o[u]);
|
|
26
|
+
return { $$typeof: r, type: i, key: v, ref: g, props: f, _owner: c.current };
|
|
29
27
|
}
|
|
30
|
-
return
|
|
28
|
+
return se.Fragment = s, se.jsx = d, se.jsxs = d, se;
|
|
31
29
|
}
|
|
32
|
-
var
|
|
30
|
+
var ae = {};
|
|
33
31
|
/**
|
|
34
32
|
* @license React
|
|
35
33
|
* react-jsx-runtime.development.js
|
|
@@ -39,91 +37,91 @@ var fe = {};
|
|
|
39
37
|
* This source code is licensed under the MIT license found in the
|
|
40
38
|
* LICENSE file in the root directory of this source tree.
|
|
41
39
|
*/
|
|
42
|
-
var
|
|
43
|
-
function
|
|
44
|
-
return
|
|
45
|
-
var
|
|
46
|
-
function
|
|
47
|
-
if (
|
|
40
|
+
var tn;
|
|
41
|
+
function Vn() {
|
|
42
|
+
return tn || (tn = 1, process.env.NODE_ENV !== "production" && function() {
|
|
43
|
+
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
|
+
function S(t) {
|
|
45
|
+
if (t === null || typeof t != "object")
|
|
48
46
|
return null;
|
|
49
|
-
var
|
|
50
|
-
return typeof
|
|
47
|
+
var x = y && t[y] || t[w];
|
|
48
|
+
return typeof x == "function" ? x : null;
|
|
51
49
|
}
|
|
52
|
-
var O =
|
|
53
|
-
function
|
|
50
|
+
var O = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
51
|
+
function E(t) {
|
|
54
52
|
{
|
|
55
|
-
for (var
|
|
56
|
-
|
|
57
|
-
|
|
53
|
+
for (var x = arguments.length, m = new Array(x > 1 ? x - 1 : 0), p = 1; p < x; p++)
|
|
54
|
+
m[p - 1] = arguments[p];
|
|
55
|
+
B("error", t, m);
|
|
58
56
|
}
|
|
59
57
|
}
|
|
60
|
-
function
|
|
58
|
+
function B(t, x, m) {
|
|
61
59
|
{
|
|
62
|
-
var
|
|
63
|
-
|
|
64
|
-
var
|
|
65
|
-
return String(
|
|
60
|
+
var p = O.ReactDebugCurrentFrame, C = p.getStackAddendum();
|
|
61
|
+
C !== "" && (x += "%s", m = m.concat([C]));
|
|
62
|
+
var T = m.map(function(k) {
|
|
63
|
+
return String(k);
|
|
66
64
|
});
|
|
67
|
-
|
|
65
|
+
T.unshift("Warning: " + x), Function.prototype.apply.call(console[t], console, T);
|
|
68
66
|
}
|
|
69
67
|
}
|
|
70
|
-
var
|
|
71
|
-
|
|
72
|
-
function
|
|
73
|
-
return !!(typeof
|
|
68
|
+
var j = !1, _ = !1, L = !1, K = !1, ee = !1, H;
|
|
69
|
+
H = Symbol.for("react.module.reference");
|
|
70
|
+
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 || _ || L || 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
|
|
74
72
|
// types supported by any Flight configuration anywhere since
|
|
75
73
|
// we don't know which Flight build this will end up being used
|
|
76
74
|
// with.
|
|
77
|
-
|
|
75
|
+
t.$$typeof === H || t.getModuleId !== void 0));
|
|
78
76
|
}
|
|
79
|
-
function X(
|
|
80
|
-
var
|
|
81
|
-
if (
|
|
82
|
-
return
|
|
83
|
-
var
|
|
84
|
-
return
|
|
77
|
+
function X(t, x, m) {
|
|
78
|
+
var p = t.displayName;
|
|
79
|
+
if (p)
|
|
80
|
+
return p;
|
|
81
|
+
var C = x.displayName || x.name || "";
|
|
82
|
+
return C !== "" ? m + "(" + C + ")" : m;
|
|
85
83
|
}
|
|
86
|
-
function
|
|
87
|
-
return
|
|
84
|
+
function Oe(t) {
|
|
85
|
+
return t.displayName || "Context";
|
|
88
86
|
}
|
|
89
|
-
function
|
|
90
|
-
if (
|
|
87
|
+
function V(t) {
|
|
88
|
+
if (t == null)
|
|
91
89
|
return null;
|
|
92
|
-
if (typeof
|
|
93
|
-
return
|
|
94
|
-
if (typeof
|
|
95
|
-
return
|
|
96
|
-
switch (
|
|
90
|
+
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")
|
|
91
|
+
return t.displayName || t.name || null;
|
|
92
|
+
if (typeof t == "string")
|
|
93
|
+
return t;
|
|
94
|
+
switch (t) {
|
|
97
95
|
case a:
|
|
98
96
|
return "Fragment";
|
|
99
|
-
case
|
|
97
|
+
case s:
|
|
100
98
|
return "Portal";
|
|
101
99
|
case l:
|
|
102
100
|
return "Profiler";
|
|
103
|
-
case
|
|
101
|
+
case c:
|
|
104
102
|
return "StrictMode";
|
|
105
|
-
case
|
|
103
|
+
case h:
|
|
106
104
|
return "Suspense";
|
|
107
|
-
case
|
|
105
|
+
case u:
|
|
108
106
|
return "SuspenseList";
|
|
109
107
|
}
|
|
110
|
-
if (typeof
|
|
111
|
-
switch (
|
|
112
|
-
case
|
|
113
|
-
var
|
|
114
|
-
return
|
|
115
|
-
case
|
|
116
|
-
var
|
|
117
|
-
return
|
|
108
|
+
if (typeof t == "object")
|
|
109
|
+
switch (t.$$typeof) {
|
|
110
|
+
case i:
|
|
111
|
+
var x = t;
|
|
112
|
+
return Oe(x) + ".Consumer";
|
|
113
|
+
case d:
|
|
114
|
+
var m = t;
|
|
115
|
+
return Oe(m._context) + ".Provider";
|
|
118
116
|
case o:
|
|
119
|
-
return X(
|
|
120
|
-
case
|
|
121
|
-
var
|
|
122
|
-
return
|
|
123
|
-
case
|
|
124
|
-
var
|
|
117
|
+
return X(t, t.render, "ForwardRef");
|
|
118
|
+
case f:
|
|
119
|
+
var p = t.displayName || null;
|
|
120
|
+
return p !== null ? p : V(t.type) || "Memo";
|
|
121
|
+
case v: {
|
|
122
|
+
var C = t, T = C._payload, k = C._init;
|
|
125
123
|
try {
|
|
126
|
-
return
|
|
124
|
+
return V(k(T));
|
|
127
125
|
} catch {
|
|
128
126
|
return null;
|
|
129
127
|
}
|
|
@@ -131,622 +129,622 @@ function Dn() {
|
|
|
131
129
|
}
|
|
132
130
|
return null;
|
|
133
131
|
}
|
|
134
|
-
var
|
|
135
|
-
function
|
|
132
|
+
var q = Object.assign, ne = 0, De, Me, Fe, Pe, Ae, Ie, Ye;
|
|
133
|
+
function Be() {
|
|
136
134
|
}
|
|
137
|
-
|
|
138
|
-
function
|
|
135
|
+
Be.__reactDisabledLog = !0;
|
|
136
|
+
function mn() {
|
|
139
137
|
{
|
|
140
|
-
if (
|
|
141
|
-
|
|
142
|
-
var
|
|
138
|
+
if (ne === 0) {
|
|
139
|
+
De = console.log, Me = console.info, Fe = console.warn, Pe = console.error, Ae = console.group, Ie = console.groupCollapsed, Ye = console.groupEnd;
|
|
140
|
+
var t = {
|
|
143
141
|
configurable: !0,
|
|
144
142
|
enumerable: !0,
|
|
145
|
-
value:
|
|
143
|
+
value: Be,
|
|
146
144
|
writable: !0
|
|
147
145
|
};
|
|
148
146
|
Object.defineProperties(console, {
|
|
149
|
-
info:
|
|
150
|
-
log:
|
|
151
|
-
warn:
|
|
152
|
-
error:
|
|
153
|
-
group:
|
|
154
|
-
groupCollapsed:
|
|
155
|
-
groupEnd:
|
|
147
|
+
info: t,
|
|
148
|
+
log: t,
|
|
149
|
+
warn: t,
|
|
150
|
+
error: t,
|
|
151
|
+
group: t,
|
|
152
|
+
groupCollapsed: t,
|
|
153
|
+
groupEnd: t
|
|
156
154
|
});
|
|
157
155
|
}
|
|
158
|
-
|
|
156
|
+
ne++;
|
|
159
157
|
}
|
|
160
158
|
}
|
|
161
|
-
function
|
|
159
|
+
function vn() {
|
|
162
160
|
{
|
|
163
|
-
if (
|
|
164
|
-
var
|
|
161
|
+
if (ne--, ne === 0) {
|
|
162
|
+
var t = {
|
|
165
163
|
configurable: !0,
|
|
166
164
|
enumerable: !0,
|
|
167
165
|
writable: !0
|
|
168
166
|
};
|
|
169
167
|
Object.defineProperties(console, {
|
|
170
|
-
log:
|
|
171
|
-
value:
|
|
168
|
+
log: q({}, t, {
|
|
169
|
+
value: De
|
|
172
170
|
}),
|
|
173
|
-
info:
|
|
174
|
-
value:
|
|
171
|
+
info: q({}, t, {
|
|
172
|
+
value: Me
|
|
175
173
|
}),
|
|
176
|
-
warn:
|
|
177
|
-
value:
|
|
174
|
+
warn: q({}, t, {
|
|
175
|
+
value: Fe
|
|
178
176
|
}),
|
|
179
|
-
error:
|
|
180
|
-
value:
|
|
177
|
+
error: q({}, t, {
|
|
178
|
+
value: Pe
|
|
181
179
|
}),
|
|
182
|
-
group:
|
|
183
|
-
value:
|
|
180
|
+
group: q({}, t, {
|
|
181
|
+
value: Ae
|
|
184
182
|
}),
|
|
185
|
-
groupCollapsed:
|
|
186
|
-
value:
|
|
183
|
+
groupCollapsed: q({}, t, {
|
|
184
|
+
value: Ie
|
|
187
185
|
}),
|
|
188
|
-
groupEnd:
|
|
189
|
-
value:
|
|
186
|
+
groupEnd: q({}, t, {
|
|
187
|
+
value: Ye
|
|
190
188
|
})
|
|
191
189
|
});
|
|
192
190
|
}
|
|
193
|
-
|
|
191
|
+
ne < 0 && E("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
194
192
|
}
|
|
195
193
|
}
|
|
196
|
-
var
|
|
197
|
-
function
|
|
194
|
+
var pe = O.ReactCurrentDispatcher, ge;
|
|
195
|
+
function de(t, x, m) {
|
|
198
196
|
{
|
|
199
|
-
if (
|
|
197
|
+
if (ge === void 0)
|
|
200
198
|
try {
|
|
201
199
|
throw Error();
|
|
202
|
-
} catch (
|
|
203
|
-
var
|
|
204
|
-
|
|
200
|
+
} catch (C) {
|
|
201
|
+
var p = C.stack.trim().match(/\n( *(at )?)/);
|
|
202
|
+
ge = p && p[1] || "";
|
|
205
203
|
}
|
|
206
204
|
return `
|
|
207
|
-
` +
|
|
205
|
+
` + ge + t;
|
|
208
206
|
}
|
|
209
207
|
}
|
|
210
|
-
var
|
|
208
|
+
var ye = !1, ue;
|
|
211
209
|
{
|
|
212
|
-
var
|
|
213
|
-
|
|
210
|
+
var jn = typeof WeakMap == "function" ? WeakMap : Map;
|
|
211
|
+
ue = new jn();
|
|
214
212
|
}
|
|
215
|
-
function
|
|
216
|
-
if (!
|
|
213
|
+
function We(t, x) {
|
|
214
|
+
if (!t || ye)
|
|
217
215
|
return "";
|
|
218
216
|
{
|
|
219
|
-
var
|
|
220
|
-
if (
|
|
221
|
-
return
|
|
217
|
+
var m = ue.get(t);
|
|
218
|
+
if (m !== void 0)
|
|
219
|
+
return m;
|
|
222
220
|
}
|
|
223
|
-
var
|
|
224
|
-
|
|
225
|
-
var
|
|
221
|
+
var p;
|
|
222
|
+
ye = !0;
|
|
223
|
+
var C = Error.prepareStackTrace;
|
|
226
224
|
Error.prepareStackTrace = void 0;
|
|
227
|
-
var
|
|
228
|
-
|
|
225
|
+
var T;
|
|
226
|
+
T = pe.current, pe.current = null, mn();
|
|
229
227
|
try {
|
|
230
|
-
if (
|
|
231
|
-
var
|
|
228
|
+
if (x) {
|
|
229
|
+
var k = function() {
|
|
232
230
|
throw Error();
|
|
233
231
|
};
|
|
234
|
-
if (Object.defineProperty(
|
|
232
|
+
if (Object.defineProperty(k.prototype, "props", {
|
|
235
233
|
set: function() {
|
|
236
234
|
throw Error();
|
|
237
235
|
}
|
|
238
236
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
239
237
|
try {
|
|
240
|
-
Reflect.construct(
|
|
241
|
-
} catch (
|
|
242
|
-
|
|
238
|
+
Reflect.construct(k, []);
|
|
239
|
+
} catch (A) {
|
|
240
|
+
p = A;
|
|
243
241
|
}
|
|
244
|
-
Reflect.construct(
|
|
242
|
+
Reflect.construct(t, [], k);
|
|
245
243
|
} else {
|
|
246
244
|
try {
|
|
247
|
-
|
|
248
|
-
} catch (
|
|
249
|
-
|
|
245
|
+
k.call();
|
|
246
|
+
} catch (A) {
|
|
247
|
+
p = A;
|
|
250
248
|
}
|
|
251
|
-
|
|
249
|
+
t.call(k.prototype);
|
|
252
250
|
}
|
|
253
251
|
} else {
|
|
254
252
|
try {
|
|
255
253
|
throw Error();
|
|
256
|
-
} catch (
|
|
257
|
-
|
|
254
|
+
} catch (A) {
|
|
255
|
+
p = A;
|
|
258
256
|
}
|
|
259
|
-
|
|
257
|
+
t();
|
|
260
258
|
}
|
|
261
|
-
} catch (
|
|
262
|
-
if (
|
|
263
|
-
for (var
|
|
264
|
-
`),
|
|
265
|
-
`), $ =
|
|
266
|
-
|
|
267
|
-
for (; $ >= 1 &&
|
|
268
|
-
if (
|
|
269
|
-
if ($ !== 1 ||
|
|
259
|
+
} catch (A) {
|
|
260
|
+
if (A && p && typeof A.stack == "string") {
|
|
261
|
+
for (var b = A.stack.split(`
|
|
262
|
+
`), P = p.stack.split(`
|
|
263
|
+
`), $ = b.length - 1, D = P.length - 1; $ >= 1 && D >= 0 && b[$] !== P[D]; )
|
|
264
|
+
D--;
|
|
265
|
+
for (; $ >= 1 && D >= 0; $--, D--)
|
|
266
|
+
if (b[$] !== P[D]) {
|
|
267
|
+
if ($ !== 1 || D !== 1)
|
|
270
268
|
do
|
|
271
|
-
if ($--,
|
|
272
|
-
var
|
|
273
|
-
` +
|
|
274
|
-
return
|
|
269
|
+
if ($--, D--, D < 0 || b[$] !== P[D]) {
|
|
270
|
+
var Y = `
|
|
271
|
+
` + b[$].replace(" at new ", " at ");
|
|
272
|
+
return t.displayName && Y.includes("<anonymous>") && (Y = Y.replace("<anonymous>", t.displayName)), typeof t == "function" && ue.set(t, Y), Y;
|
|
275
273
|
}
|
|
276
|
-
while ($ >= 1 &&
|
|
274
|
+
while ($ >= 1 && D >= 0);
|
|
277
275
|
break;
|
|
278
276
|
}
|
|
279
277
|
}
|
|
280
278
|
} finally {
|
|
281
|
-
|
|
279
|
+
ye = !1, pe.current = T, vn(), Error.prepareStackTrace = C;
|
|
282
280
|
}
|
|
283
|
-
var
|
|
284
|
-
return typeof
|
|
281
|
+
var Q = t ? t.displayName || t.name : "", J = Q ? de(Q) : "";
|
|
282
|
+
return typeof t == "function" && ue.set(t, J), J;
|
|
285
283
|
}
|
|
286
|
-
function
|
|
287
|
-
return
|
|
284
|
+
function pn(t, x, m) {
|
|
285
|
+
return We(t, !1);
|
|
288
286
|
}
|
|
289
|
-
function
|
|
290
|
-
var
|
|
291
|
-
return !!(
|
|
287
|
+
function gn(t) {
|
|
288
|
+
var x = t.prototype;
|
|
289
|
+
return !!(x && x.isReactComponent);
|
|
292
290
|
}
|
|
293
|
-
function
|
|
294
|
-
if (
|
|
291
|
+
function xe(t, x, m) {
|
|
292
|
+
if (t == null)
|
|
295
293
|
return "";
|
|
296
|
-
if (typeof
|
|
297
|
-
return
|
|
298
|
-
if (typeof
|
|
299
|
-
return
|
|
300
|
-
switch (
|
|
301
|
-
case
|
|
302
|
-
return
|
|
303
|
-
case
|
|
304
|
-
return
|
|
294
|
+
if (typeof t == "function")
|
|
295
|
+
return We(t, gn(t));
|
|
296
|
+
if (typeof t == "string")
|
|
297
|
+
return de(t);
|
|
298
|
+
switch (t) {
|
|
299
|
+
case h:
|
|
300
|
+
return de("Suspense");
|
|
301
|
+
case u:
|
|
302
|
+
return de("SuspenseList");
|
|
305
303
|
}
|
|
306
|
-
if (typeof
|
|
307
|
-
switch (
|
|
304
|
+
if (typeof t == "object")
|
|
305
|
+
switch (t.$$typeof) {
|
|
308
306
|
case o:
|
|
309
|
-
return
|
|
310
|
-
case
|
|
311
|
-
return
|
|
312
|
-
case
|
|
313
|
-
var
|
|
307
|
+
return pn(t.render);
|
|
308
|
+
case f:
|
|
309
|
+
return xe(t.type, x, m);
|
|
310
|
+
case v: {
|
|
311
|
+
var p = t, C = p._payload, T = p._init;
|
|
314
312
|
try {
|
|
315
|
-
return
|
|
313
|
+
return xe(T(C), x, m);
|
|
316
314
|
} catch {
|
|
317
315
|
}
|
|
318
316
|
}
|
|
319
317
|
}
|
|
320
318
|
return "";
|
|
321
319
|
}
|
|
322
|
-
var
|
|
323
|
-
function
|
|
324
|
-
if (
|
|
325
|
-
var
|
|
326
|
-
|
|
320
|
+
var te = Object.prototype.hasOwnProperty, Le = {}, Ve = O.ReactDebugCurrentFrame;
|
|
321
|
+
function he(t) {
|
|
322
|
+
if (t) {
|
|
323
|
+
var x = t._owner, m = xe(t.type, t._source, x ? x.type : null);
|
|
324
|
+
Ve.setExtraStackFrame(m);
|
|
327
325
|
} else
|
|
328
|
-
|
|
326
|
+
Ve.setExtraStackFrame(null);
|
|
329
327
|
}
|
|
330
|
-
function
|
|
328
|
+
function yn(t, x, m, p, C) {
|
|
331
329
|
{
|
|
332
|
-
var
|
|
333
|
-
for (var
|
|
334
|
-
if (
|
|
335
|
-
var
|
|
330
|
+
var T = Function.call.bind(te);
|
|
331
|
+
for (var k in t)
|
|
332
|
+
if (T(t, k)) {
|
|
333
|
+
var b = void 0;
|
|
336
334
|
try {
|
|
337
|
-
if (typeof
|
|
338
|
-
var
|
|
339
|
-
throw
|
|
335
|
+
if (typeof t[k] != "function") {
|
|
336
|
+
var P = Error((p || "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`.");
|
|
337
|
+
throw P.name = "Invariant Violation", P;
|
|
340
338
|
}
|
|
341
|
-
|
|
339
|
+
b = t[k](x, k, p, m, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
342
340
|
} catch ($) {
|
|
343
|
-
|
|
341
|
+
b = $;
|
|
344
342
|
}
|
|
345
|
-
|
|
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 Le) && (Le[b.message] = !0, he(C), E("Failed %s type: %s", m, b.message), he(null));
|
|
346
344
|
}
|
|
347
345
|
}
|
|
348
346
|
}
|
|
349
|
-
var
|
|
350
|
-
function
|
|
351
|
-
return
|
|
347
|
+
var bn = Array.isArray;
|
|
348
|
+
function be(t) {
|
|
349
|
+
return bn(t);
|
|
352
350
|
}
|
|
353
|
-
function
|
|
351
|
+
function kn(t) {
|
|
354
352
|
{
|
|
355
|
-
var
|
|
356
|
-
return
|
|
353
|
+
var x = typeof Symbol == "function" && Symbol.toStringTag, m = x && t[Symbol.toStringTag] || t.constructor.name || "Object";
|
|
354
|
+
return m;
|
|
357
355
|
}
|
|
358
356
|
}
|
|
359
|
-
function
|
|
357
|
+
function Nn(t) {
|
|
360
358
|
try {
|
|
361
|
-
return
|
|
359
|
+
return ze(t), !1;
|
|
362
360
|
} catch {
|
|
363
361
|
return !0;
|
|
364
362
|
}
|
|
365
363
|
}
|
|
366
|
-
function
|
|
367
|
-
return "" +
|
|
364
|
+
function ze(t) {
|
|
365
|
+
return "" + t;
|
|
368
366
|
}
|
|
369
|
-
function
|
|
370
|
-
if (
|
|
371
|
-
return
|
|
367
|
+
function Ue(t) {
|
|
368
|
+
if (Nn(t))
|
|
369
|
+
return E("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", kn(t)), ze(t);
|
|
372
370
|
}
|
|
373
|
-
var
|
|
371
|
+
var re = O.ReactCurrentOwner, Cn = {
|
|
374
372
|
key: !0,
|
|
375
373
|
ref: !0,
|
|
376
374
|
__self: !0,
|
|
377
375
|
__source: !0
|
|
378
|
-
},
|
|
379
|
-
|
|
380
|
-
function
|
|
381
|
-
if (
|
|
382
|
-
var
|
|
383
|
-
if (
|
|
376
|
+
}, Ke, Xe, ke;
|
|
377
|
+
ke = {};
|
|
378
|
+
function wn(t) {
|
|
379
|
+
if (te.call(t, "ref")) {
|
|
380
|
+
var x = Object.getOwnPropertyDescriptor(t, "ref").get;
|
|
381
|
+
if (x && x.isReactWarning)
|
|
384
382
|
return !1;
|
|
385
383
|
}
|
|
386
|
-
return
|
|
384
|
+
return t.ref !== void 0;
|
|
387
385
|
}
|
|
388
|
-
function
|
|
389
|
-
if (
|
|
390
|
-
var
|
|
391
|
-
if (
|
|
386
|
+
function En(t) {
|
|
387
|
+
if (te.call(t, "key")) {
|
|
388
|
+
var x = Object.getOwnPropertyDescriptor(t, "key").get;
|
|
389
|
+
if (x && x.isReactWarning)
|
|
392
390
|
return !1;
|
|
393
391
|
}
|
|
394
|
-
return
|
|
392
|
+
return t.key !== void 0;
|
|
395
393
|
}
|
|
396
|
-
function
|
|
397
|
-
if (typeof
|
|
398
|
-
var
|
|
399
|
-
|
|
394
|
+
function Tn(t, x) {
|
|
395
|
+
if (typeof t.ref == "string" && re.current && x && re.current.stateNode !== x) {
|
|
396
|
+
var m = V(re.current.type);
|
|
397
|
+
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);
|
|
400
398
|
}
|
|
401
399
|
}
|
|
402
|
-
function
|
|
400
|
+
function Rn(t, x) {
|
|
403
401
|
{
|
|
404
|
-
var
|
|
405
|
-
|
|
402
|
+
var m = function() {
|
|
403
|
+
Ke || (Ke = !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));
|
|
406
404
|
};
|
|
407
|
-
|
|
408
|
-
get:
|
|
405
|
+
m.isReactWarning = !0, Object.defineProperty(t, "key", {
|
|
406
|
+
get: m,
|
|
409
407
|
configurable: !0
|
|
410
408
|
});
|
|
411
409
|
}
|
|
412
410
|
}
|
|
413
|
-
function
|
|
411
|
+
function _n(t, x) {
|
|
414
412
|
{
|
|
415
|
-
var
|
|
416
|
-
|
|
413
|
+
var m = function() {
|
|
414
|
+
Xe || (Xe = !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));
|
|
417
415
|
};
|
|
418
|
-
|
|
419
|
-
get:
|
|
416
|
+
m.isReactWarning = !0, Object.defineProperty(t, "ref", {
|
|
417
|
+
get: m,
|
|
420
418
|
configurable: !0
|
|
421
419
|
});
|
|
422
420
|
}
|
|
423
421
|
}
|
|
424
|
-
var
|
|
425
|
-
var
|
|
422
|
+
var Sn = function(t, x, m, p, C, T, k) {
|
|
423
|
+
var b = {
|
|
426
424
|
// This tag allows us to uniquely identify this as a React Element
|
|
427
|
-
$$typeof:
|
|
425
|
+
$$typeof: r,
|
|
428
426
|
// Built-in properties that belong on the element
|
|
429
|
-
type:
|
|
430
|
-
key:
|
|
431
|
-
ref:
|
|
432
|
-
props:
|
|
427
|
+
type: t,
|
|
428
|
+
key: x,
|
|
429
|
+
ref: m,
|
|
430
|
+
props: k,
|
|
433
431
|
// Record the component responsible for creating this element.
|
|
434
|
-
_owner:
|
|
432
|
+
_owner: T
|
|
435
433
|
};
|
|
436
|
-
return
|
|
434
|
+
return b._store = {}, Object.defineProperty(b._store, "validated", {
|
|
437
435
|
configurable: !1,
|
|
438
436
|
enumerable: !1,
|
|
439
437
|
writable: !0,
|
|
440
438
|
value: !1
|
|
441
|
-
}), Object.defineProperty(
|
|
439
|
+
}), Object.defineProperty(b, "_self", {
|
|
442
440
|
configurable: !1,
|
|
443
441
|
enumerable: !1,
|
|
444
442
|
writable: !1,
|
|
445
|
-
value:
|
|
446
|
-
}), Object.defineProperty(
|
|
443
|
+
value: p
|
|
444
|
+
}), Object.defineProperty(b, "_source", {
|
|
447
445
|
configurable: !1,
|
|
448
446
|
enumerable: !1,
|
|
449
447
|
writable: !1,
|
|
450
|
-
value:
|
|
451
|
-
}), Object.freeze && (Object.freeze(
|
|
448
|
+
value: C
|
|
449
|
+
}), Object.freeze && (Object.freeze(b.props), Object.freeze(b)), b;
|
|
452
450
|
};
|
|
453
|
-
function
|
|
451
|
+
function $n(t, x, m, p, C) {
|
|
454
452
|
{
|
|
455
|
-
var
|
|
456
|
-
|
|
457
|
-
for (
|
|
458
|
-
|
|
459
|
-
if (
|
|
460
|
-
var $ =
|
|
461
|
-
for (
|
|
462
|
-
|
|
453
|
+
var T, k = {}, b = null, P = null;
|
|
454
|
+
m !== void 0 && (Ue(m), b = "" + m), En(x) && (Ue(x.key), b = "" + x.key), wn(x) && (P = x.ref, Tn(x, C));
|
|
455
|
+
for (T in x)
|
|
456
|
+
te.call(x, T) && !Cn.hasOwnProperty(T) && (k[T] = x[T]);
|
|
457
|
+
if (t && t.defaultProps) {
|
|
458
|
+
var $ = t.defaultProps;
|
|
459
|
+
for (T in $)
|
|
460
|
+
k[T] === void 0 && (k[T] = $[T]);
|
|
463
461
|
}
|
|
464
|
-
if (
|
|
465
|
-
var
|
|
466
|
-
|
|
462
|
+
if (b || P) {
|
|
463
|
+
var D = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
|
|
464
|
+
b && Rn(k, D), P && _n(k, D);
|
|
467
465
|
}
|
|
468
|
-
return
|
|
466
|
+
return Sn(t, b, P, C, p, re.current, k);
|
|
469
467
|
}
|
|
470
468
|
}
|
|
471
|
-
var
|
|
472
|
-
function
|
|
473
|
-
if (
|
|
474
|
-
var
|
|
475
|
-
|
|
469
|
+
var Ne = O.ReactCurrentOwner, qe = O.ReactDebugCurrentFrame;
|
|
470
|
+
function Z(t) {
|
|
471
|
+
if (t) {
|
|
472
|
+
var x = t._owner, m = xe(t.type, t._source, x ? x.type : null);
|
|
473
|
+
qe.setExtraStackFrame(m);
|
|
476
474
|
} else
|
|
477
|
-
|
|
475
|
+
qe.setExtraStackFrame(null);
|
|
478
476
|
}
|
|
479
|
-
var
|
|
480
|
-
|
|
481
|
-
function
|
|
482
|
-
return typeof
|
|
477
|
+
var Ce;
|
|
478
|
+
Ce = !1;
|
|
479
|
+
function we(t) {
|
|
480
|
+
return typeof t == "object" && t !== null && t.$$typeof === r;
|
|
483
481
|
}
|
|
484
|
-
function
|
|
482
|
+
function Je() {
|
|
485
483
|
{
|
|
486
|
-
if (
|
|
487
|
-
var
|
|
488
|
-
if (
|
|
484
|
+
if (Ne.current) {
|
|
485
|
+
var t = V(Ne.current.type);
|
|
486
|
+
if (t)
|
|
489
487
|
return `
|
|
490
488
|
|
|
491
|
-
Check the render method of \`` +
|
|
489
|
+
Check the render method of \`` + t + "`.";
|
|
492
490
|
}
|
|
493
491
|
return "";
|
|
494
492
|
}
|
|
495
493
|
}
|
|
496
|
-
function
|
|
494
|
+
function On(t) {
|
|
497
495
|
{
|
|
498
|
-
if (
|
|
499
|
-
var
|
|
496
|
+
if (t !== void 0) {
|
|
497
|
+
var x = t.fileName.replace(/^.*[\\\/]/, ""), m = t.lineNumber;
|
|
500
498
|
return `
|
|
501
499
|
|
|
502
|
-
Check your code at ` +
|
|
500
|
+
Check your code at ` + x + ":" + m + ".";
|
|
503
501
|
}
|
|
504
502
|
return "";
|
|
505
503
|
}
|
|
506
504
|
}
|
|
507
|
-
var
|
|
508
|
-
function
|
|
505
|
+
var Ge = {};
|
|
506
|
+
function Dn(t) {
|
|
509
507
|
{
|
|
510
|
-
var
|
|
511
|
-
if (!
|
|
512
|
-
var
|
|
513
|
-
|
|
508
|
+
var x = Je();
|
|
509
|
+
if (!x) {
|
|
510
|
+
var m = typeof t == "string" ? t : t.displayName || t.name;
|
|
511
|
+
m && (x = `
|
|
514
512
|
|
|
515
|
-
Check the top-level render call using <` +
|
|
513
|
+
Check the top-level render call using <` + m + ">.");
|
|
516
514
|
}
|
|
517
|
-
return
|
|
515
|
+
return x;
|
|
518
516
|
}
|
|
519
517
|
}
|
|
520
|
-
function
|
|
518
|
+
function He(t, x) {
|
|
521
519
|
{
|
|
522
|
-
if (!
|
|
520
|
+
if (!t._store || t._store.validated || t.key != null)
|
|
523
521
|
return;
|
|
524
|
-
|
|
525
|
-
var
|
|
526
|
-
if (
|
|
522
|
+
t._store.validated = !0;
|
|
523
|
+
var m = Dn(x);
|
|
524
|
+
if (Ge[m])
|
|
527
525
|
return;
|
|
528
|
-
|
|
529
|
-
var
|
|
530
|
-
|
|
526
|
+
Ge[m] = !0;
|
|
527
|
+
var p = "";
|
|
528
|
+
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);
|
|
531
529
|
}
|
|
532
530
|
}
|
|
533
|
-
function
|
|
531
|
+
function Ze(t, x) {
|
|
534
532
|
{
|
|
535
|
-
if (typeof
|
|
533
|
+
if (typeof t != "object")
|
|
536
534
|
return;
|
|
537
|
-
if (
|
|
538
|
-
for (var
|
|
539
|
-
var
|
|
540
|
-
|
|
535
|
+
if (be(t))
|
|
536
|
+
for (var m = 0; m < t.length; m++) {
|
|
537
|
+
var p = t[m];
|
|
538
|
+
we(p) && He(p, x);
|
|
541
539
|
}
|
|
542
|
-
else if (
|
|
543
|
-
|
|
544
|
-
else if (
|
|
545
|
-
var
|
|
546
|
-
if (typeof
|
|
547
|
-
for (var
|
|
548
|
-
|
|
540
|
+
else if (we(t))
|
|
541
|
+
t._store && (t._store.validated = !0);
|
|
542
|
+
else if (t) {
|
|
543
|
+
var C = S(t);
|
|
544
|
+
if (typeof C == "function" && C !== t.entries)
|
|
545
|
+
for (var T = C.call(t), k; !(k = T.next()).done; )
|
|
546
|
+
we(k.value) && He(k.value, x);
|
|
549
547
|
}
|
|
550
548
|
}
|
|
551
549
|
}
|
|
552
|
-
function
|
|
550
|
+
function Mn(t) {
|
|
553
551
|
{
|
|
554
|
-
var
|
|
555
|
-
if (
|
|
552
|
+
var x = t.type;
|
|
553
|
+
if (x == null || typeof x == "string")
|
|
556
554
|
return;
|
|
557
|
-
var
|
|
558
|
-
if (typeof
|
|
559
|
-
|
|
560
|
-
else if (typeof
|
|
555
|
+
var m;
|
|
556
|
+
if (typeof x == "function")
|
|
557
|
+
m = x.propTypes;
|
|
558
|
+
else if (typeof x == "object" && (x.$$typeof === o || // Note: Memo only checks outer props here.
|
|
561
559
|
// Inner props are checked in the reconciler.
|
|
562
|
-
|
|
563
|
-
|
|
560
|
+
x.$$typeof === f))
|
|
561
|
+
m = x.propTypes;
|
|
564
562
|
else
|
|
565
563
|
return;
|
|
566
|
-
if (
|
|
567
|
-
var
|
|
568
|
-
|
|
569
|
-
} else if (
|
|
570
|
-
|
|
571
|
-
var
|
|
572
|
-
|
|
564
|
+
if (m) {
|
|
565
|
+
var p = V(x);
|
|
566
|
+
yn(m, t.props, "prop", p, t);
|
|
567
|
+
} else if (x.PropTypes !== void 0 && !Ce) {
|
|
568
|
+
Ce = !0;
|
|
569
|
+
var C = V(x);
|
|
570
|
+
E("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", C || "Unknown");
|
|
573
571
|
}
|
|
574
|
-
typeof
|
|
572
|
+
typeof x.getDefaultProps == "function" && !x.getDefaultProps.isReactClassApproved && E("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
575
573
|
}
|
|
576
574
|
}
|
|
577
|
-
function
|
|
575
|
+
function Fn(t) {
|
|
578
576
|
{
|
|
579
|
-
for (var
|
|
580
|
-
var
|
|
581
|
-
if (
|
|
582
|
-
|
|
577
|
+
for (var x = Object.keys(t.props), m = 0; m < x.length; m++) {
|
|
578
|
+
var p = x[m];
|
|
579
|
+
if (p !== "children" && p !== "key") {
|
|
580
|
+
Z(t), E("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", p), Z(null);
|
|
583
581
|
break;
|
|
584
582
|
}
|
|
585
583
|
}
|
|
586
|
-
|
|
584
|
+
t.ref !== null && (Z(t), E("Invalid attribute `ref` supplied to `React.Fragment`."), Z(null));
|
|
587
585
|
}
|
|
588
586
|
}
|
|
589
|
-
var
|
|
590
|
-
function
|
|
587
|
+
var Qe = {};
|
|
588
|
+
function en(t, x, m, p, C, T) {
|
|
591
589
|
{
|
|
592
|
-
var
|
|
593
|
-
if (!
|
|
594
|
-
var
|
|
595
|
-
(
|
|
596
|
-
var
|
|
597
|
-
|
|
590
|
+
var k = oe(t);
|
|
591
|
+
if (!k) {
|
|
592
|
+
var b = "";
|
|
593
|
+
(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 = On(C);
|
|
595
|
+
P ? b += P : b += Je();
|
|
598
596
|
var $;
|
|
599
|
-
|
|
597
|
+
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);
|
|
600
598
|
}
|
|
601
|
-
var
|
|
602
|
-
if (
|
|
603
|
-
return
|
|
604
|
-
if (
|
|
605
|
-
var
|
|
606
|
-
if (
|
|
607
|
-
if (
|
|
608
|
-
if (
|
|
609
|
-
for (var
|
|
610
|
-
|
|
611
|
-
Object.freeze && Object.freeze(
|
|
599
|
+
var D = $n(t, x, m, C, T);
|
|
600
|
+
if (D == null)
|
|
601
|
+
return D;
|
|
602
|
+
if (k) {
|
|
603
|
+
var Y = x.children;
|
|
604
|
+
if (Y !== void 0)
|
|
605
|
+
if (p)
|
|
606
|
+
if (be(Y)) {
|
|
607
|
+
for (var Q = 0; Q < Y.length; Q++)
|
|
608
|
+
Ze(Y[Q], t);
|
|
609
|
+
Object.freeze && Object.freeze(Y);
|
|
612
610
|
} else
|
|
613
|
-
|
|
611
|
+
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.");
|
|
614
612
|
else
|
|
615
|
-
|
|
613
|
+
Ze(Y, t);
|
|
616
614
|
}
|
|
617
|
-
if (
|
|
618
|
-
var
|
|
619
|
-
return
|
|
620
|
-
}),
|
|
621
|
-
if (!
|
|
622
|
-
var
|
|
623
|
-
|
|
615
|
+
if (te.call(x, "key")) {
|
|
616
|
+
var J = V(t), A = Object.keys(x).filter(function(Wn) {
|
|
617
|
+
return Wn !== "key";
|
|
618
|
+
}), Ee = A.length > 0 ? "{key: someKey, " + A.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
619
|
+
if (!Qe[J + Ee]) {
|
|
620
|
+
var Bn = A.length > 0 ? "{" + A.join(": ..., ") + ": ...}" : "{}";
|
|
621
|
+
E(`A props object containing a "key" prop is being spread into JSX:
|
|
624
622
|
let props = %s;
|
|
625
623
|
<%s {...props} />
|
|
626
624
|
React keys must be passed directly to JSX without using spread:
|
|
627
625
|
let props = %s;
|
|
628
|
-
<%s key={someKey} {...props} />`,
|
|
626
|
+
<%s key={someKey} {...props} />`, Ee, J, Bn, J), Qe[J + Ee] = !0;
|
|
629
627
|
}
|
|
630
628
|
}
|
|
631
|
-
return
|
|
629
|
+
return t === a ? Fn(D) : Mn(D), D;
|
|
632
630
|
}
|
|
633
631
|
}
|
|
634
|
-
function
|
|
635
|
-
return
|
|
632
|
+
function Pn(t, x, m) {
|
|
633
|
+
return en(t, x, m, !0);
|
|
636
634
|
}
|
|
637
|
-
function
|
|
638
|
-
return
|
|
635
|
+
function An(t, x, m) {
|
|
636
|
+
return en(t, x, m, !1);
|
|
639
637
|
}
|
|
640
|
-
var
|
|
641
|
-
|
|
642
|
-
}()),
|
|
638
|
+
var In = An, Yn = Pn;
|
|
639
|
+
ae.Fragment = a, ae.jsx = In, ae.jsxs = Yn;
|
|
640
|
+
}()), ae;
|
|
643
641
|
}
|
|
644
|
-
process.env.NODE_ENV === "production" ?
|
|
645
|
-
var
|
|
646
|
-
const
|
|
647
|
-
const
|
|
648
|
-
|
|
642
|
+
process.env.NODE_ENV === "production" ? Se.exports = Ln() : Se.exports = Vn();
|
|
643
|
+
var e = Se.exports;
|
|
644
|
+
const zn = (n) => le({ ...n, className: (n.className ?? "") + " outline-button" }), M = (n) => le({ ...n, className: (n.className ?? "") + " text-button" }), Un = (n) => le({ ...n, className: (n.className ?? "") + " total-button" }), Kn = (n) => le({ ...n, className: (n.className ?? "") + " filled-button" }), le = (n) => {
|
|
645
|
+
const r = (s) => {
|
|
646
|
+
n.onClick && n.onClick(s);
|
|
649
647
|
let a = document.createElement("span");
|
|
650
648
|
a.classList.add("btn-overlay");
|
|
651
|
-
let
|
|
652
|
-
a.style.left =
|
|
649
|
+
let c = s.pageX - s.currentTarget.offsetLeft, l = s.pageY - s.currentTarget.offsetTop;
|
|
650
|
+
a.style.left = c + "px", a.style.top = l + "px", s.currentTarget.appendChild(a), setTimeout(() => {
|
|
653
651
|
a.remove();
|
|
654
652
|
}, 500);
|
|
655
653
|
};
|
|
656
|
-
return /* @__PURE__ */
|
|
657
|
-
},
|
|
658
|
-
const
|
|
659
|
-
const o = (
|
|
660
|
-
|
|
654
|
+
return /* @__PURE__ */ e.jsx("button", { ...n, className: (n.className ?? "") + " btn", onClick: r, children: /* @__PURE__ */ e.jsx("span", { children: n.children }) });
|
|
655
|
+
}, Xn = ({ styleType: n = "base", ...r }) => n === "outline" ? zn({ ...r }) : n === "text" ? M({ ...r }) : n === "filledTotal" ? Un({ ...r }) : n === "filled" ? Kn({ ...r }) : le({ ...r });
|
|
656
|
+
const qn = ({ 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 }), Jn = ({ icon: n, control: r, text: s, header: a, value: c, onClick: l, hovered: d, className: i }) => {
|
|
657
|
+
const o = (h) => {
|
|
658
|
+
h.target.closest(".control-container") || l && l(h);
|
|
661
659
|
};
|
|
662
|
-
return /* @__PURE__ */
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
/* @__PURE__ */
|
|
666
|
-
/* @__PURE__ */
|
|
667
|
-
] }) : /* @__PURE__ */
|
|
668
|
-
|
|
660
|
+
return /* @__PURE__ */ e.jsxs("li", { className: ` ${i} list-item-container ${d ? "hovered" : ""}`, onClick: o, children: [
|
|
661
|
+
n ? /* @__PURE__ */ e.jsx("div", { className: "icon-container", children: n }) : c ? /* @__PURE__ */ e.jsx("div", { className: "icon-container", children: c }) : null,
|
|
662
|
+
s ? /* @__PURE__ */ e.jsxs("div", { className: "text-container", children: [
|
|
663
|
+
/* @__PURE__ */ e.jsx("div", { className: "header", children: a }),
|
|
664
|
+
/* @__PURE__ */ e.jsx("div", { className: "text", children: s })
|
|
665
|
+
] }) : /* @__PURE__ */ e.jsx("div", { className: "text-container", children: /* @__PURE__ */ e.jsx("div", { className: "header", children: a }) }),
|
|
666
|
+
r ? /* @__PURE__ */ e.jsx("div", { className: "control-container", children: r }) : null
|
|
669
667
|
] });
|
|
670
668
|
};
|
|
671
|
-
const
|
|
672
|
-
const o = (
|
|
673
|
-
a && a(
|
|
674
|
-
let
|
|
675
|
-
|
|
676
|
-
let
|
|
677
|
-
|
|
678
|
-
|
|
669
|
+
const ie = ({ transparent: n, icon: r, className: s, onClick: a, onContextMenu: c, disabled: l, classNameContainer: d, style: i }) => {
|
|
670
|
+
const o = (h) => {
|
|
671
|
+
a && a(h);
|
|
672
|
+
let u = document.createElement("span");
|
|
673
|
+
u.classList.add("btn-overlay");
|
|
674
|
+
let f = h.pageX - h.currentTarget.offsetLeft, v = h.pageY - h.currentTarget.offsetTop;
|
|
675
|
+
u.style.left = f + "px", u.style.top = v + "px", h.currentTarget.appendChild(u), setTimeout(() => {
|
|
676
|
+
u.remove();
|
|
679
677
|
}, 500);
|
|
680
678
|
};
|
|
681
|
-
return /* @__PURE__ */
|
|
679
|
+
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 }) });
|
|
682
680
|
};
|
|
683
|
-
const
|
|
684
|
-
const
|
|
685
|
-
if (
|
|
681
|
+
const Ft = ({ className: n, action: r, imgSrc: s, alt: a, header: c, subhead: l, text: d, children: i, iconButtonCell: o, onClick: h }) => {
|
|
682
|
+
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
|
+
if (h && h(v), !u(v))
|
|
686
684
|
return;
|
|
687
|
-
let
|
|
688
|
-
if (!
|
|
685
|
+
let g = v.currentTarget.closest(".card-container"), y = g == null ? void 0 : g.querySelector(".blick-container");
|
|
686
|
+
if (!y)
|
|
689
687
|
return;
|
|
690
|
-
let
|
|
691
|
-
|
|
692
|
-
let
|
|
693
|
-
|
|
694
|
-
|
|
688
|
+
let w = document.createElement("span");
|
|
689
|
+
w.classList.add("btn-overlay");
|
|
690
|
+
let S = v.pageX - v.currentTarget.offsetLeft, O = v.pageY - v.currentTarget.offsetTop;
|
|
691
|
+
w.style.left = S + "px", w.style.top = O + "px", y.appendChild(w), setTimeout(() => {
|
|
692
|
+
w.remove();
|
|
695
693
|
}, 500);
|
|
696
694
|
};
|
|
697
|
-
return /* @__PURE__ */
|
|
698
|
-
/* @__PURE__ */
|
|
699
|
-
|
|
700
|
-
/* @__PURE__ */
|
|
701
|
-
/* @__PURE__ */
|
|
702
|
-
/* @__PURE__ */
|
|
703
|
-
o ? /* @__PURE__ */
|
|
695
|
+
return /* @__PURE__ */ e.jsxs("div", { className: `card-container ${n}`, onClick: f, children: [
|
|
696
|
+
/* @__PURE__ */ e.jsx("div", { className: "blick-container" }),
|
|
697
|
+
s ? /* @__PURE__ */ e.jsx("div", { className: "card-img-container", children: /* @__PURE__ */ e.jsx("img", { src: s, alt: a }) }) : null,
|
|
698
|
+
/* @__PURE__ */ e.jsxs("div", { className: "card-content-container", children: [
|
|
699
|
+
/* @__PURE__ */ e.jsxs("div", { className: "card-Headline-container mb-1 font-bold", children: [
|
|
700
|
+
/* @__PURE__ */ e.jsx("div", { className: "headline", children: /* @__PURE__ */ e.jsx("h2", { className: "text-3xl", children: c }) }),
|
|
701
|
+
o ? /* @__PURE__ */ e.jsx("div", { className: "icon-button-container", children: o }) : null
|
|
704
702
|
] }),
|
|
705
|
-
l ? /* @__PURE__ */
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
/* @__PURE__ */
|
|
703
|
+
l ? /* @__PURE__ */ e.jsx("div", { className: "card-subhead-container mb-1", children: /* @__PURE__ */ e.jsx("div", { className: "subhead", children: /* @__PURE__ */ e.jsx("h3", { className: "text-xl", children: l }) }) }) : null,
|
|
704
|
+
d ? /* @__PURE__ */ e.jsx("div", { className: "card-text-container mb-1", children: /* @__PURE__ */ e.jsx("div", { className: "text", children: /* @__PURE__ */ e.jsx("p", { className: "text-sm", children: d }) }) }) : null,
|
|
705
|
+
i ? /* @__PURE__ */ e.jsx("div", { className: "card-child-container mb-2", children: i }) : null,
|
|
706
|
+
/* @__PURE__ */ e.jsx("div", { className: "action-container", children: r })
|
|
709
707
|
] })
|
|
710
708
|
] });
|
|
711
709
|
};
|
|
712
|
-
const
|
|
713
|
-
const
|
|
714
|
-
const [
|
|
715
|
-
|
|
716
|
-
},
|
|
717
|
-
|
|
718
|
-
},
|
|
719
|
-
|
|
710
|
+
const Gn = ({ children: n, className: r }) => /* @__PURE__ */ e.jsx("div", { className: `base-action-card ${r ?? ""}`, children: n });
|
|
711
|
+
const Pt = ({ children: n, className: r, id: s, height: a, width: c, pozMove: l }) => {
|
|
712
|
+
const [d, i] = N(!1), [o, h] = N(null), [u, f] = N({ x: 0, y: 0 }), v = (w) => {
|
|
713
|
+
w.button == 1 && (i(!1), h(null), document.body.style.cursor = "auto");
|
|
714
|
+
}, g = (w) => {
|
|
715
|
+
w.button == 1 && (h({ x: w.clientX, y: w.clientY }), i(!0), document.body.style.cursor = "move");
|
|
716
|
+
}, y = R((w) => {
|
|
717
|
+
d && (f((S) => {
|
|
720
718
|
if (!o)
|
|
721
|
-
return
|
|
722
|
-
const O =
|
|
723
|
-
let
|
|
724
|
-
return { x:
|
|
725
|
-
}),
|
|
726
|
-
}, [
|
|
727
|
-
return
|
|
728
|
-
l &&
|
|
729
|
-
}, [l]), /* @__PURE__ */
|
|
719
|
+
return S;
|
|
720
|
+
const O = w.clientX - o.x, E = w.clientY - o.y;
|
|
721
|
+
let B = S.x + O, j = S.y + E;
|
|
722
|
+
return { x: B, y: j };
|
|
723
|
+
}), h({ x: w.clientX, y: w.clientY }));
|
|
724
|
+
}, [d, o]);
|
|
725
|
+
return F(() => {
|
|
726
|
+
l && f({ ...l });
|
|
727
|
+
}, [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 }) });
|
|
730
728
|
};
|
|
731
|
-
const
|
|
732
|
-
const [
|
|
733
|
-
|
|
734
|
-
|
|
729
|
+
const Hn = (n) => {
|
|
730
|
+
const [r, s] = N(!1), a = R(() => {
|
|
731
|
+
s(!0), setTimeout(() => {
|
|
732
|
+
n.onHide(), s(!1);
|
|
735
733
|
}, 200);
|
|
736
|
-
}, [
|
|
737
|
-
return
|
|
738
|
-
|
|
739
|
-
}, [
|
|
740
|
-
/* @__PURE__ */
|
|
741
|
-
/* @__PURE__ */
|
|
742
|
-
/* @__PURE__ */
|
|
734
|
+
}, [n.onHide]);
|
|
735
|
+
return F(() => {
|
|
736
|
+
n.visible || a();
|
|
737
|
+
}, [n.visible, a]), !n.visible && !r || !n.children ? null : /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
738
|
+
/* @__PURE__ */ e.jsxs("div", { className: `bottom-sheets ${r ? "hide" : ""}`, children: [
|
|
739
|
+
/* @__PURE__ */ e.jsx("div", { className: "bottom-sheets-handle", children: /* @__PURE__ */ e.jsx("span", {}) }),
|
|
740
|
+
/* @__PURE__ */ e.jsx("div", { className: "bottom-sheets-content", children: n.children })
|
|
743
741
|
] }),
|
|
744
|
-
/* @__PURE__ */
|
|
742
|
+
/* @__PURE__ */ e.jsx("div", { className: "backplate bottom-sheets-backplate", style: { zIndex: 1101 }, onClick: a })
|
|
745
743
|
] });
|
|
746
744
|
};
|
|
747
|
-
const
|
|
748
|
-
/* @__PURE__ */
|
|
749
|
-
/* @__PURE__ */
|
|
745
|
+
const At = ({ name: n, checked: r, onChange: s, readOnly: a, checkIcon: c }) => /* @__PURE__ */ e.jsxs("label", { className: "checkbox-container", children: [
|
|
746
|
+
/* @__PURE__ */ e.jsx("input", { className: "checkbox", name: n, type: "checkbox", checked: r, onChange: s, readOnly: a }),
|
|
747
|
+
/* @__PURE__ */ e.jsx("span", { children: c || /* @__PURE__ */ e.jsx("span", { className: "checkbox-ckeck-icon", children: "✓" }) })
|
|
750
748
|
] });
|
|
751
749
|
/**
|
|
752
750
|
* @license lucide-react v0.378.0 - ISC
|
|
@@ -754,14 +752,14 @@ const ha = ({ name: e, checked: n, onChange: r, readOnly: a, checkIcon: s }) =>
|
|
|
754
752
|
* This source code is licensed under the ISC license.
|
|
755
753
|
* See the LICENSE file in the root directory of this source tree.
|
|
756
754
|
*/
|
|
757
|
-
const
|
|
755
|
+
const Zn = (n) => n.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), on = (...n) => n.filter((r, s, a) => !!r && a.indexOf(r) === s).join(" ");
|
|
758
756
|
/**
|
|
759
757
|
* @license lucide-react v0.378.0 - ISC
|
|
760
758
|
*
|
|
761
759
|
* This source code is licensed under the ISC license.
|
|
762
760
|
* See the LICENSE file in the root directory of this source tree.
|
|
763
761
|
*/
|
|
764
|
-
var
|
|
762
|
+
var Qn = {
|
|
765
763
|
xmlns: "http://www.w3.org/2000/svg",
|
|
766
764
|
width: 24,
|
|
767
765
|
height: 24,
|
|
@@ -778,30 +776,30 @@ var Un = {
|
|
|
778
776
|
* This source code is licensed under the ISC license.
|
|
779
777
|
* See the LICENSE file in the root directory of this source tree.
|
|
780
778
|
*/
|
|
781
|
-
const
|
|
779
|
+
const et = ln(
|
|
782
780
|
({
|
|
783
|
-
color:
|
|
784
|
-
size:
|
|
785
|
-
strokeWidth:
|
|
781
|
+
color: n = "currentColor",
|
|
782
|
+
size: r = 24,
|
|
783
|
+
strokeWidth: s = 2,
|
|
786
784
|
absoluteStrokeWidth: a,
|
|
787
|
-
className:
|
|
785
|
+
className: c = "",
|
|
788
786
|
children: l,
|
|
789
|
-
iconNode:
|
|
790
|
-
...
|
|
791
|
-
}, o) =>
|
|
787
|
+
iconNode: d,
|
|
788
|
+
...i
|
|
789
|
+
}, o) => _e(
|
|
792
790
|
"svg",
|
|
793
791
|
{
|
|
794
792
|
ref: o,
|
|
795
|
-
...
|
|
796
|
-
width:
|
|
797
|
-
height:
|
|
798
|
-
stroke:
|
|
799
|
-
strokeWidth: a ? Number(
|
|
800
|
-
className:
|
|
801
|
-
...
|
|
793
|
+
...Qn,
|
|
794
|
+
width: r,
|
|
795
|
+
height: r,
|
|
796
|
+
stroke: n,
|
|
797
|
+
strokeWidth: a ? Number(s) * 24 / Number(r) : s,
|
|
798
|
+
className: on("lucide", c),
|
|
799
|
+
...i
|
|
802
800
|
},
|
|
803
801
|
[
|
|
804
|
-
...
|
|
802
|
+
...d.map(([h, u]) => _e(h, u)),
|
|
805
803
|
...Array.isArray(l) ? l : [l]
|
|
806
804
|
]
|
|
807
805
|
)
|
|
@@ -812,16 +810,16 @@ const Bn = At(
|
|
|
812
810
|
* This source code is licensed under the ISC license.
|
|
813
811
|
* See the LICENSE file in the root directory of this source tree.
|
|
814
812
|
*/
|
|
815
|
-
const
|
|
816
|
-
const
|
|
817
|
-
({ className: a, ...
|
|
813
|
+
const I = (n, r) => {
|
|
814
|
+
const s = ln(
|
|
815
|
+
({ className: a, ...c }, l) => _e(et, {
|
|
818
816
|
ref: l,
|
|
819
|
-
iconNode:
|
|
820
|
-
className:
|
|
821
|
-
...
|
|
817
|
+
iconNode: r,
|
|
818
|
+
className: on(`lucide-${Zn(n)}`, a),
|
|
819
|
+
...c
|
|
822
820
|
})
|
|
823
821
|
);
|
|
824
|
-
return
|
|
822
|
+
return s.displayName = `${n}`, s;
|
|
825
823
|
};
|
|
826
824
|
/**
|
|
827
825
|
* @license lucide-react v0.378.0 - ISC
|
|
@@ -829,7 +827,7 @@ const U = (e, n) => {
|
|
|
829
827
|
* This source code is licensed under the ISC license.
|
|
830
828
|
* See the LICENSE file in the root directory of this source tree.
|
|
831
829
|
*/
|
|
832
|
-
const
|
|
830
|
+
const dn = I("AlignJustify", [
|
|
833
831
|
["line", { x1: "3", x2: "21", y1: "6", y2: "6", key: "4m8b97" }],
|
|
834
832
|
["line", { x1: "3", x2: "21", y1: "12", y2: "12", key: "10d38w" }],
|
|
835
833
|
["line", { x1: "3", x2: "21", y1: "18", y2: "18", key: "kwyyxn" }]
|
|
@@ -840,7 +838,7 @@ const Vt = U("AlignJustify", [
|
|
|
840
838
|
* This source code is licensed under the ISC license.
|
|
841
839
|
* See the LICENSE file in the root directory of this source tree.
|
|
842
840
|
*/
|
|
843
|
-
const
|
|
841
|
+
const nt = I("ArrowLeft", [
|
|
844
842
|
["path", { d: "m12 19-7-7 7-7", key: "1l729n" }],
|
|
845
843
|
["path", { d: "M19 12H5", key: "x3x0zl" }]
|
|
846
844
|
]);
|
|
@@ -850,14 +848,14 @@ const Yn = U("ArrowLeft", [
|
|
|
850
848
|
* This source code is licensed under the ISC license.
|
|
851
849
|
* See the LICENSE file in the root directory of this source tree.
|
|
852
850
|
*/
|
|
853
|
-
const
|
|
851
|
+
const ce = I("Check", [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]]);
|
|
854
852
|
/**
|
|
855
853
|
* @license lucide-react v0.378.0 - ISC
|
|
856
854
|
*
|
|
857
855
|
* This source code is licensed under the ISC license.
|
|
858
856
|
* See the LICENSE file in the root directory of this source tree.
|
|
859
857
|
*/
|
|
860
|
-
const
|
|
858
|
+
const rn = I("ChevronDown", [
|
|
861
859
|
["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]
|
|
862
860
|
]);
|
|
863
861
|
/**
|
|
@@ -866,7 +864,7 @@ const _t = U("ChevronDown", [
|
|
|
866
864
|
* This source code is licensed under the ISC license.
|
|
867
865
|
* See the LICENSE file in the root directory of this source tree.
|
|
868
866
|
*/
|
|
869
|
-
const
|
|
867
|
+
const tt = I("CircleX", [
|
|
870
868
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
871
869
|
["path", { d: "m15 9-6 6", key: "1uzhvr" }],
|
|
872
870
|
["path", { d: "m9 9 6 6", key: "z0biqf" }]
|
|
@@ -877,7 +875,7 @@ const zn = U("CircleX", [
|
|
|
877
875
|
* This source code is licensed under the ISC license.
|
|
878
876
|
* See the LICENSE file in the root directory of this source tree.
|
|
879
877
|
*/
|
|
880
|
-
const
|
|
878
|
+
const rt = I("Clock3", [
|
|
881
879
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
882
880
|
["polyline", { points: "12 6 12 12 16.5 12", key: "1aq6pp" }]
|
|
883
881
|
]);
|
|
@@ -887,7 +885,7 @@ const Kn = U("Clock3", [
|
|
|
887
885
|
* This source code is licensed under the ISC license.
|
|
888
886
|
* See the LICENSE file in the root directory of this source tree.
|
|
889
887
|
*/
|
|
890
|
-
const
|
|
888
|
+
const st = I("EllipsisVertical", [
|
|
891
889
|
["circle", { cx: "12", cy: "12", r: "1", key: "41hilf" }],
|
|
892
890
|
["circle", { cx: "12", cy: "5", r: "1", key: "gxeob9" }],
|
|
893
891
|
["circle", { cx: "12", cy: "19", r: "1", key: "lyex9k" }]
|
|
@@ -898,7 +896,7 @@ const qn = U("EllipsisVertical", [
|
|
|
898
896
|
* This source code is licensed under the ISC license.
|
|
899
897
|
* See the LICENSE file in the root directory of this source tree.
|
|
900
898
|
*/
|
|
901
|
-
const
|
|
899
|
+
const $e = I("Ellipsis", [
|
|
902
900
|
["circle", { cx: "12", cy: "12", r: "1", key: "41hilf" }],
|
|
903
901
|
["circle", { cx: "19", cy: "12", r: "1", key: "1wjl8i" }],
|
|
904
902
|
["circle", { cx: "5", cy: "12", r: "1", key: "1pcz8c" }]
|
|
@@ -909,7 +907,7 @@ const Je = U("Ellipsis", [
|
|
|
909
907
|
* This source code is licensed under the ISC license.
|
|
910
908
|
* See the LICENSE file in the root directory of this source tree.
|
|
911
909
|
*/
|
|
912
|
-
const
|
|
910
|
+
const at = I("Keyboard", [
|
|
913
911
|
["path", { d: "M10 8h.01", key: "1r9ogq" }],
|
|
914
912
|
["path", { d: "M12 12h.01", key: "1mp3jc" }],
|
|
915
913
|
["path", { d: "M14 8h.01", key: "1primd" }],
|
|
@@ -926,7 +924,7 @@ const Xn = U("Keyboard", [
|
|
|
926
924
|
* This source code is licensed under the ISC license.
|
|
927
925
|
* See the LICENSE file in the root directory of this source tree.
|
|
928
926
|
*/
|
|
929
|
-
const
|
|
927
|
+
const it = I("Pen", [
|
|
930
928
|
["path", { d: "M17 3a2.85 2.83 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5Z", key: "5qss01" }]
|
|
931
929
|
]);
|
|
932
930
|
/**
|
|
@@ -935,7 +933,7 @@ const Jn = U("Pen", [
|
|
|
935
933
|
* This source code is licensed under the ISC license.
|
|
936
934
|
* See the LICENSE file in the root directory of this source tree.
|
|
937
935
|
*/
|
|
938
|
-
const
|
|
936
|
+
const ct = I("Search", [
|
|
939
937
|
["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }],
|
|
940
938
|
["path", { d: "m21 21-4.3-4.3", key: "1qie3q" }]
|
|
941
939
|
]);
|
|
@@ -945,7 +943,7 @@ const Gn = U("Search", [
|
|
|
945
943
|
* This source code is licensed under the ISC license.
|
|
946
944
|
* See the LICENSE file in the root directory of this source tree.
|
|
947
945
|
*/
|
|
948
|
-
const
|
|
946
|
+
const lt = I("Trash2", [
|
|
949
947
|
["path", { d: "M3 6h18", key: "d0wm0j" }],
|
|
950
948
|
["path", { d: "M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6", key: "4alrt4" }],
|
|
951
949
|
["path", { d: "M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2", key: "v07s0e" }],
|
|
@@ -958,321 +956,321 @@ const Hn = U("Trash2", [
|
|
|
958
956
|
* This source code is licensed under the ISC license.
|
|
959
957
|
* See the LICENSE file in the root directory of this source tree.
|
|
960
958
|
*/
|
|
961
|
-
const
|
|
959
|
+
const je = I("X", [
|
|
962
960
|
["path", { d: "M18 6 6 18", key: "1bl5f8" }],
|
|
963
961
|
["path", { d: "m6 6 12 12", key: "d8bk6v" }]
|
|
964
962
|
]);
|
|
965
|
-
const
|
|
966
|
-
const
|
|
967
|
-
|
|
963
|
+
const ot = ({ text: n, onDelete: r, big: s, onClick: a }) => {
|
|
964
|
+
const c = (d) => !(d.target.className === "alex-evo-ui-kit-chips-btn" || d.target.closest(".alex-evo-ui-kit-chips-btn")), l = (d) => {
|
|
965
|
+
c(d) && a && a(d);
|
|
968
966
|
};
|
|
969
|
-
return /* @__PURE__ */
|
|
970
|
-
/* @__PURE__ */
|
|
971
|
-
|
|
967
|
+
return /* @__PURE__ */ e.jsxs("div", { className: `alex-evo-ui-kit-chips chips ${s ? "big-chips" : ""} ${a ? "hovered" : ""}`, onClick: l, children: [
|
|
968
|
+
/* @__PURE__ */ e.jsx("p", { children: n }),
|
|
969
|
+
r ? /* @__PURE__ */ e.jsx("div", { className: "alex-evo-ui-kit-chips-btn chips-btn", onClick: r, children: /* @__PURE__ */ e.jsx(je, { size: 18 }) }) : null
|
|
972
970
|
] });
|
|
973
971
|
};
|
|
974
|
-
const
|
|
975
|
-
const
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
}, [
|
|
979
|
-
const
|
|
980
|
-
|
|
972
|
+
const un = ({ 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 }) => {
|
|
973
|
+
const B = U(null), [j, _] = N(!1), L = R((ee, H) => _(!!(S || ee && (!H || H === ""))), []);
|
|
974
|
+
F(() => {
|
|
975
|
+
L(g, u);
|
|
976
|
+
}, [u, g, L]);
|
|
977
|
+
const K = () => {
|
|
978
|
+
B.current && B.current.focus();
|
|
981
979
|
};
|
|
982
|
-
return /* @__PURE__ */
|
|
983
|
-
|
|
984
|
-
/* @__PURE__ */
|
|
985
|
-
/* @__PURE__ */
|
|
980
|
+
return /* @__PURE__ */ e.jsxs("div", { style: n, className: `text-field ${l ? "border" : ""} ${s ? "transparent" : ""} ${v}`, children: [
|
|
981
|
+
i ? /* @__PURE__ */ e.jsx("div", { className: "icon-container", onClick: K, children: i }) : null,
|
|
982
|
+
/* @__PURE__ */ e.jsxs("div", { className: "input-container", onClick: K, children: [
|
|
983
|
+
/* @__PURE__ */ e.jsx(
|
|
986
984
|
"input",
|
|
987
985
|
{
|
|
988
|
-
ref:
|
|
986
|
+
ref: B,
|
|
989
987
|
max: O,
|
|
990
|
-
min:
|
|
988
|
+
min: E,
|
|
991
989
|
readOnly: a,
|
|
992
990
|
required: !0,
|
|
993
|
-
type:
|
|
994
|
-
className: `${
|
|
995
|
-
name:
|
|
996
|
-
value:
|
|
991
|
+
type: c ? "password" : r,
|
|
992
|
+
className: `${j ? "error" : ""}`,
|
|
993
|
+
name: h,
|
|
994
|
+
value: u,
|
|
997
995
|
onChange: o,
|
|
998
|
-
onFocus:
|
|
999
|
-
onBlur:
|
|
996
|
+
onFocus: y,
|
|
997
|
+
onBlur: w
|
|
1000
998
|
}
|
|
1001
999
|
),
|
|
1002
|
-
/* @__PURE__ */
|
|
1003
|
-
/* @__PURE__ */
|
|
1000
|
+
/* @__PURE__ */ e.jsx("label", { children: f ? /* @__PURE__ */ e.jsx("span", { children: f }) : null }),
|
|
1001
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-field-line" })
|
|
1004
1002
|
] }),
|
|
1005
|
-
|
|
1003
|
+
d ? /* @__PURE__ */ e.jsx("div", { className: "clear-container", children: /* @__PURE__ */ e.jsx(tt, { onClick: d }) }) : null
|
|
1006
1004
|
] });
|
|
1007
1005
|
};
|
|
1008
|
-
const
|
|
1009
|
-
const
|
|
1010
|
-
|
|
1011
|
-
O(
|
|
1012
|
-
}, [
|
|
1013
|
-
const
|
|
1014
|
-
|
|
1006
|
+
const It = ({ 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
|
+
const y = U(null), [w, S] = N(!1), O = R((B, j) => S(!!(g || B && (!j || j === ""))), []);
|
|
1008
|
+
F(() => {
|
|
1009
|
+
O(u, i);
|
|
1010
|
+
}, [i, u, O]);
|
|
1011
|
+
const E = () => {
|
|
1012
|
+
y.current && y.current.focus();
|
|
1015
1013
|
};
|
|
1016
|
-
return /* @__PURE__ */
|
|
1017
|
-
|
|
1018
|
-
/* @__PURE__ */
|
|
1014
|
+
return /* @__PURE__ */ e.jsxs("div", { style: n, className: `text-area ${w ? "error" : ""} ${a ? "border" : ""} ${r ? "transparent" : ""} ${h}`, children: [
|
|
1015
|
+
c ? /* @__PURE__ */ e.jsx("div", { className: "icon-container", onClick: E, children: c }) : null,
|
|
1016
|
+
/* @__PURE__ */ e.jsx("div", { className: "textarea-container", onClick: E, children: /* @__PURE__ */ e.jsx(
|
|
1019
1017
|
"textarea",
|
|
1020
1018
|
{
|
|
1021
|
-
ref:
|
|
1022
|
-
readOnly:
|
|
1019
|
+
ref: y,
|
|
1020
|
+
readOnly: s,
|
|
1023
1021
|
required: !0,
|
|
1024
1022
|
placeholder: o,
|
|
1025
|
-
className: `${
|
|
1026
|
-
name:
|
|
1027
|
-
value:
|
|
1023
|
+
className: `${w ? "error" : ""}`,
|
|
1024
|
+
name: d,
|
|
1025
|
+
value: i,
|
|
1028
1026
|
onChange: l,
|
|
1029
|
-
onFocus:
|
|
1030
|
-
onBlur:
|
|
1027
|
+
onFocus: f,
|
|
1028
|
+
onBlur: v
|
|
1031
1029
|
}
|
|
1032
1030
|
) })
|
|
1033
1031
|
] });
|
|
1034
1032
|
};
|
|
1035
|
-
const
|
|
1036
|
-
/* @__PURE__ */
|
|
1037
|
-
|
|
1038
|
-
/* @__PURE__ */
|
|
1039
|
-
] }) : /* @__PURE__ */
|
|
1040
|
-
const
|
|
1041
|
-
/* @__PURE__ */
|
|
1042
|
-
/* @__PURE__ */
|
|
1043
|
-
] }),
|
|
1044
|
-
/* @__PURE__ */
|
|
1045
|
-
/* @__PURE__ */
|
|
1033
|
+
const W = ({ style: n, short: r, text: s }) => s ? /* @__PURE__ */ e.jsxs("div", { style: n, className: `divider-and-text ${r ? "short" : ""}`, children: [
|
|
1034
|
+
/* @__PURE__ */ e.jsx("div", { className: `divider ${r ? "short" : ""}` }),
|
|
1035
|
+
s,
|
|
1036
|
+
/* @__PURE__ */ e.jsx("div", { className: `divider ${r ? "short" : ""}` })
|
|
1037
|
+
] }) : /* @__PURE__ */ e.jsx("div", { style: n, className: `divider ${r ? "short" : ""}` });
|
|
1038
|
+
const dt = ({ name: n, checked: r }) => /* @__PURE__ */ e.jsxs("label", { className: "radio-button-container", children: [
|
|
1039
|
+
/* @__PURE__ */ e.jsx("input", { className: "radio-button", name: n, type: "radio", checked: r, readOnly: !0 }),
|
|
1040
|
+
/* @__PURE__ */ e.jsx("span", {})
|
|
1041
|
+
] }), Yt = ({ name: n, currentValue: r, value: s, onChange: a, readOnly: c, checked: l }) => /* @__PURE__ */ e.jsxs("label", { className: "radio-button-container", children: [
|
|
1042
|
+
/* @__PURE__ */ e.jsx("input", { className: "radio-button", name: n, type: "radio", checked: r === s || l, value: s, onChange: a, readOnly: c }),
|
|
1043
|
+
/* @__PURE__ */ e.jsx("span", {})
|
|
1046
1044
|
] });
|
|
1047
|
-
const
|
|
1048
|
-
|
|
1049
|
-
l ? /* @__PURE__ */
|
|
1045
|
+
const Bt = ({ 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
|
+
r,
|
|
1047
|
+
l ? /* @__PURE__ */ e.jsx("span", { children: l }) : null
|
|
1050
1048
|
] });
|
|
1051
|
-
const
|
|
1052
|
-
/* @__PURE__ */
|
|
1053
|
-
/* @__PURE__ */
|
|
1054
|
-
] }),
|
|
1055
|
-
const
|
|
1056
|
-
const [
|
|
1057
|
-
|
|
1058
|
-
console.log("p0"), l(
|
|
1059
|
-
}, [
|
|
1060
|
-
console.log(
|
|
1061
|
-
}, [
|
|
1062
|
-
const o = (
|
|
1063
|
-
|
|
1064
|
-
},
|
|
1065
|
-
if (
|
|
1049
|
+
const Wt = ({ children: n, header: r }) => /* @__PURE__ */ e.jsxs("div", { className: "field-container-ui", children: [
|
|
1050
|
+
/* @__PURE__ */ e.jsx("h4", { children: r }),
|
|
1051
|
+
/* @__PURE__ */ e.jsx("div", { className: "field-container-content", children: n })
|
|
1052
|
+
] }), ut = (n) => n === "" ? [] : n.split(",").map((r) => r.trim()), sn = (n) => n.join(", ");
|
|
1053
|
+
const Lt = ({ minWidth: n, value: r, onChange: s, border: a }) => {
|
|
1054
|
+
const [c, l] = N([]), [d, i] = N("");
|
|
1055
|
+
F(() => {
|
|
1056
|
+
console.log("p0"), l(ut(r));
|
|
1057
|
+
}, [r]), F(() => {
|
|
1058
|
+
console.log(c);
|
|
1059
|
+
}, [c]);
|
|
1060
|
+
const o = (f) => {
|
|
1061
|
+
i(f.target.value);
|
|
1062
|
+
}, h = R(() => {
|
|
1063
|
+
if (d === "" || c.includes(d))
|
|
1066
1064
|
return;
|
|
1067
|
-
const
|
|
1068
|
-
l(
|
|
1069
|
-
}, [
|
|
1070
|
-
const
|
|
1071
|
-
l(
|
|
1065
|
+
const f = [...c, d.trim()];
|
|
1066
|
+
l(f), s && s(sn(f)), i("");
|
|
1067
|
+
}, [c, d]), u = (f) => {
|
|
1068
|
+
const v = c.filter((g, y) => y !== f);
|
|
1069
|
+
l(v), s && s(sn(v));
|
|
1072
1070
|
};
|
|
1073
|
-
return /* @__PURE__ */
|
|
1074
|
-
/* @__PURE__ */
|
|
1075
|
-
/* @__PURE__ */
|
|
1076
|
-
/* @__PURE__ */
|
|
1071
|
+
return /* @__PURE__ */ e.jsxs("div", { className: "more-text", style: { minWidth: n }, children: [
|
|
1072
|
+
/* @__PURE__ */ e.jsxs("div", { className: "add value", children: [
|
|
1073
|
+
/* @__PURE__ */ e.jsx(un, { onChange: o, value: d, border: a }),
|
|
1074
|
+
/* @__PURE__ */ e.jsx(Gn, { children: /* @__PURE__ */ e.jsx(Xn, { onClick: h, children: "add" }) })
|
|
1077
1075
|
] }),
|
|
1078
|
-
/* @__PURE__ */
|
|
1076
|
+
/* @__PURE__ */ e.jsx("div", { className: "chips-container", children: c.map((f, v) => /* @__PURE__ */ e.jsx(ot, { text: f, onDelete: () => u(v) }, v)) })
|
|
1079
1077
|
] });
|
|
1080
1078
|
};
|
|
1081
|
-
const
|
|
1082
|
-
const l =
|
|
1079
|
+
const Vt = ({ style: n, text: r, className: s, onClick: a, onContextMenu: c }) => {
|
|
1080
|
+
const l = U(null), d = R(() => {
|
|
1083
1081
|
if (!l.current)
|
|
1084
1082
|
return;
|
|
1085
|
-
let
|
|
1086
|
-
|
|
1087
|
-
}, [
|
|
1088
|
-
return
|
|
1089
|
-
|
|
1090
|
-
}, [
|
|
1083
|
+
let i = l.current.getElementsByTagName("p");
|
|
1084
|
+
i[0] && l.current.clientWidth <= i[0].clientWidth ? (i[0].className = "runing", i[0].innerHTML = `| ${r} | ${r}`) : i[0].className = "";
|
|
1085
|
+
}, [r]);
|
|
1086
|
+
return F(() => {
|
|
1087
|
+
d();
|
|
1088
|
+
}, [d]), /* @__PURE__ */ e.jsx("div", { style: n, ref: l, onClick: a, onContextMenu: c, className: `runing-text ${s}`, children: /* @__PURE__ */ e.jsx("p", { children: r }) });
|
|
1091
1089
|
};
|
|
1092
|
-
const
|
|
1093
|
-
const
|
|
1094
|
-
const
|
|
1095
|
-
|
|
1090
|
+
const zt = ({ className: n, children: r, height: s }) => /* @__PURE__ */ e.jsx("div", { className: `scroll-container ${n}`, style: { height: s }, children: r });
|
|
1091
|
+
const Ut = ({ onMenu: n, onSearch: r, placeholder: s, autoChenge: a }) => {
|
|
1092
|
+
const c = U(null), [l, d] = N(""), [i, o] = N(!1), h = () => {
|
|
1093
|
+
c.current && (c.current.focus(), o(!0));
|
|
1094
|
+
}, u = () => {
|
|
1095
|
+
c.current && (c.current.focus(), c.current.value = ""), d(""), o(!0), a && r("");
|
|
1096
1096
|
}, f = () => {
|
|
1097
|
-
|
|
1098
|
-
},
|
|
1099
|
-
|
|
1100
|
-
},
|
|
1101
|
-
|
|
1102
|
-
}, j = (g) => {
|
|
1103
|
-
g.code === "Enter" && n(l);
|
|
1097
|
+
u(), c.current && (c.current.blur(), o(!1));
|
|
1098
|
+
}, v = (y) => {
|
|
1099
|
+
d(y.target.value), a && r(y.target.value);
|
|
1100
|
+
}, g = (y) => {
|
|
1101
|
+
y.code === "Enter" && r(l);
|
|
1104
1102
|
};
|
|
1105
|
-
return /* @__PURE__ */
|
|
1106
|
-
|
|
1107
|
-
/* @__PURE__ */
|
|
1108
|
-
|
|
1103
|
+
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(nt, { size: 24 }) }) : n ? /* @__PURE__ */ e.jsx("span", { onClick: n, children: /* @__PURE__ */ e.jsx(dn, { size: 24 }) }) : null,
|
|
1105
|
+
/* @__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(ct, { size: 24 }) })
|
|
1109
1107
|
] }) });
|
|
1110
1108
|
};
|
|
1111
|
-
const
|
|
1109
|
+
const Kt = ({ visible: n, text: r, option: s }) => {
|
|
1112
1110
|
const a = () => {
|
|
1113
|
-
|
|
1111
|
+
s != null && s.onHide && s.onHide();
|
|
1114
1112
|
};
|
|
1115
|
-
return
|
|
1116
|
-
/* @__PURE__ */
|
|
1117
|
-
/* @__PURE__ */
|
|
1118
|
-
|
|
1113
|
+
return n ? /* @__PURE__ */ e.jsxs("div", { className: `snackbar-container ${s == null ? void 0 : s.className}`, style: { backgroundColor: s == null ? void 0 : s.backgroundColor, color: s == null ? void 0 : s.color }, children: [
|
|
1114
|
+
/* @__PURE__ */ e.jsxs("div", { className: "snackbar-content-container", children: [
|
|
1115
|
+
/* @__PURE__ */ e.jsx("div", { className: "snackbar-text", children: r }),
|
|
1116
|
+
s != null && s.onClick ? /* @__PURE__ */ e.jsx("div", { className: "snackbar-button-container", children: /* @__PURE__ */ e.jsx(M, { className: "snackbar-btn", onClick: s.onClick, children: s.buttonText ?? "Action" }) }) : null
|
|
1119
1117
|
] }),
|
|
1120
|
-
|
|
1118
|
+
s != null && s.closeButton ? /* @__PURE__ */ e.jsx("div", { className: "snackbar-close", children: /* @__PURE__ */ e.jsx("span", { onClick: a, children: /* @__PURE__ */ e.jsx(je, {}) }) }) : null
|
|
1121
1119
|
] }) : null;
|
|
1122
1120
|
};
|
|
1123
|
-
const
|
|
1124
|
-
const
|
|
1125
|
-
const [
|
|
1126
|
-
|
|
1127
|
-
const
|
|
1128
|
-
if (!
|
|
1129
|
-
if (!
|
|
1121
|
+
const Xt = ({ 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 }) });
|
|
1122
|
+
const xt = (n) => n === void 0 ? [] : Array.isArray(n) ? n : [n], qt = ({ multiple: n, value: r, items: s, className: a, onClick: c, onContextMenu: l, onChange: d }) => {
|
|
1123
|
+
const [i, o] = N(xt(r)), h = (u) => {
|
|
1124
|
+
c && c(u);
|
|
1125
|
+
const f = u.currentTarget;
|
|
1126
|
+
if (!n) {
|
|
1127
|
+
if (!f.dataset.el)
|
|
1130
1128
|
return;
|
|
1131
|
-
o([
|
|
1129
|
+
o([f.dataset.el]), d && d([f.dataset.el], u);
|
|
1132
1130
|
return;
|
|
1133
1131
|
}
|
|
1134
|
-
const
|
|
1135
|
-
let
|
|
1136
|
-
|
|
1132
|
+
const v = i.filter((y) => y === f.dataset.el);
|
|
1133
|
+
let g = i.slice();
|
|
1134
|
+
v.length > 0 && f.dataset.el ? g = g.filter((y) => y !== f.dataset.el) : f.dataset.el && g.push(f.dataset.el), o(g), d && d(g, u);
|
|
1137
1135
|
};
|
|
1138
|
-
return /* @__PURE__ */
|
|
1139
|
-
|
|
1140
|
-
/* @__PURE__ */
|
|
1141
|
-
] },
|
|
1136
|
+
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 ${i.includes(u) ? "active" : ""}`, children: [
|
|
1137
|
+
i.includes(u) ? /* @__PURE__ */ e.jsx("div", { className: "icon-container", children: /* @__PURE__ */ e.jsx(ce, {}) }) : null,
|
|
1138
|
+
/* @__PURE__ */ e.jsx("div", { className: "text-container", children: u })
|
|
1139
|
+
] }, f) }, f)) });
|
|
1142
1140
|
};
|
|
1143
|
-
const
|
|
1144
|
-
height: Number(window.getComputedStyle(
|
|
1145
|
-
width: Number(window.getComputedStyle(
|
|
1146
|
-
left: Number(
|
|
1147
|
-
top: Number(
|
|
1148
|
-
} : void 0,
|
|
1149
|
-
let
|
|
1150
|
-
if (!
|
|
1151
|
-
return
|
|
1152
|
-
let l = Number(window.getComputedStyle(
|
|
1153
|
-
return
|
|
1141
|
+
const xn = (n) => n ? {
|
|
1142
|
+
height: Number(window.getComputedStyle(n).getPropertyValue("height").replace("px", "")),
|
|
1143
|
+
width: Number(window.getComputedStyle(n).getPropertyValue("width").replace("px", "")),
|
|
1144
|
+
left: Number(n.getBoundingClientRect().left),
|
|
1145
|
+
top: Number(n.getBoundingClientRect().top)
|
|
1146
|
+
} : void 0, hn = (n, r, s, a) => {
|
|
1147
|
+
let c = { x: n, y: r };
|
|
1148
|
+
if (!s)
|
|
1149
|
+
return c;
|
|
1150
|
+
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
|
+
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;
|
|
1154
1152
|
};
|
|
1155
|
-
function
|
|
1156
|
-
return a + (
|
|
1153
|
+
function ht(n, r, s, a, c) {
|
|
1154
|
+
return a + (c - a) * ((n - r) / (s - r));
|
|
1157
1155
|
}
|
|
1158
|
-
const
|
|
1159
|
-
const [
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
}, [
|
|
1163
|
-
const
|
|
1164
|
-
|
|
1165
|
-
}, o = (
|
|
1166
|
-
if (l.current &&
|
|
1167
|
-
let
|
|
1168
|
-
if (
|
|
1169
|
-
return
|
|
1156
|
+
const Te = 0, Re = 100, Jt = (n) => {
|
|
1157
|
+
const [r, s] = N(0), [a, c] = N(!1), l = U(null), d = U(null);
|
|
1158
|
+
F(() => {
|
|
1159
|
+
n.value ? s(n.value) : s(0);
|
|
1160
|
+
}, [n.value]);
|
|
1161
|
+
const i = (f) => {
|
|
1162
|
+
s(Number(f.target.value)), n.onChange(f);
|
|
1163
|
+
}, o = (f, v, g) => {
|
|
1164
|
+
if (l.current && d.current) {
|
|
1165
|
+
let y = xn(d.current);
|
|
1166
|
+
if (y)
|
|
1167
|
+
return ht(f, v, g, 0, g - v) * (y.width - 20) / (g - v);
|
|
1170
1168
|
}
|
|
1171
1169
|
return 0;
|
|
1172
|
-
},
|
|
1173
|
-
|
|
1174
|
-
}, [
|
|
1175
|
-
|
|
1176
|
-
}, [
|
|
1177
|
-
return /* @__PURE__ */
|
|
1178
|
-
|
|
1179
|
-
/* @__PURE__ */
|
|
1180
|
-
/* @__PURE__ */
|
|
1181
|
-
/* @__PURE__ */
|
|
1182
|
-
/* @__PURE__ */
|
|
1170
|
+
}, h = R((f) => {
|
|
1171
|
+
c(!0), n.onFocus && n.onFocus(f);
|
|
1172
|
+
}, [n.onFocus]), u = R((f) => {
|
|
1173
|
+
c(!1), n.onBlur && n.onBlur(f);
|
|
1174
|
+
}, [n.onBlur]);
|
|
1175
|
+
return /* @__PURE__ */ e.jsx("div", { className: "range", children: /* @__PURE__ */ e.jsxs("div", { className: "field", children: [
|
|
1176
|
+
n.maxMinDisplay ? /* @__PURE__ */ e.jsx("div", { className: "value left", children: n.min ?? Te }) : null,
|
|
1177
|
+
/* @__PURE__ */ e.jsxs("div", { className: "field-range-container", children: [
|
|
1178
|
+
/* @__PURE__ */ e.jsx("div", { className: "slider-value", ref: l, style: { width: o(r, n.min ?? Te, n.max ?? Re) }, children: /* @__PURE__ */ e.jsxs("div", { className: "slider-tooltip", style: { display: a ? "block" : "none" }, children: [
|
|
1179
|
+
/* @__PURE__ */ e.jsx("span", { className: "slider-tooltip-container" }),
|
|
1180
|
+
/* @__PURE__ */ e.jsx("span", { className: "slider-tooltip-value", children: r })
|
|
1183
1181
|
] }) }),
|
|
1184
|
-
/* @__PURE__ */
|
|
1182
|
+
/* @__PURE__ */ e.jsx("input", { onMouseUp: n.onMouseUp, ref: d, step: n.step, type: "range", min: n.min ?? Te, max: n.max ?? Re, onChange: i, value: r, onFocus: h, onBlur: u })
|
|
1185
1183
|
] }),
|
|
1186
|
-
|
|
1184
|
+
n.maxMinDisplay ? /* @__PURE__ */ e.jsx("div", { className: "value right", children: n.max ?? Re }) : null
|
|
1187
1185
|
] }) });
|
|
1188
1186
|
};
|
|
1189
|
-
const
|
|
1190
|
-
function
|
|
1191
|
-
|
|
1187
|
+
const G = ({ className: n, children: r, header: s, action: a, onHide: c, style: l }) => {
|
|
1188
|
+
function d() {
|
|
1189
|
+
c && c();
|
|
1192
1190
|
}
|
|
1193
|
-
return /* @__PURE__ */
|
|
1194
|
-
/* @__PURE__ */
|
|
1195
|
-
/* @__PURE__ */
|
|
1196
|
-
|
|
1197
|
-
/* @__PURE__ */
|
|
1198
|
-
a ? /* @__PURE__ */
|
|
1191
|
+
return /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1192
|
+
/* @__PURE__ */ e.jsx("div", { onClick: d, style: { zIndex: "999" }, className: "backplate" }),
|
|
1193
|
+
/* @__PURE__ */ e.jsxs("div", { style: l, className: `dialog-container ${n}`, children: [
|
|
1194
|
+
s ? /* @__PURE__ */ e.jsx("div", { className: "dialog-header", children: /* @__PURE__ */ e.jsx("h2", { className: "text-3xl", children: s }) }) : null,
|
|
1195
|
+
/* @__PURE__ */ e.jsx("div", { className: "dialog-content", children: r }),
|
|
1196
|
+
a ? /* @__PURE__ */ e.jsx("div", { className: "dialog-action", children: a }) : null
|
|
1199
1197
|
] })
|
|
1200
1198
|
] });
|
|
1201
|
-
},
|
|
1202
|
-
/* @__PURE__ */
|
|
1203
|
-
|
|
1204
|
-
] }),
|
|
1205
|
-
const [
|
|
1206
|
-
window.innerWidth < 720 ?
|
|
1199
|
+
}, ft = ({ onHide: n, onSave: r }) => /* @__PURE__ */ e.jsxs("div", { className: "dialog-button-container", children: [
|
|
1200
|
+
/* @__PURE__ */ e.jsx(M, { onClick: n, children: "cancel" }),
|
|
1201
|
+
r ? /* @__PURE__ */ e.jsx(M, { onClick: r, children: "save" }) : null
|
|
1202
|
+
] }), Gt = ({ style: n, className: r, header: s, children: a, onSave: c, onHide: l }) => {
|
|
1203
|
+
const [d, i] = N(!1), o = R(() => {
|
|
1204
|
+
window.innerWidth < 720 ? i(!0) : i(!1);
|
|
1207
1205
|
}, [window.innerWidth]);
|
|
1208
|
-
|
|
1206
|
+
F(() => {
|
|
1209
1207
|
o();
|
|
1210
|
-
}, [o]),
|
|
1208
|
+
}, [o]), F(() => (window.addEventListener("resize", o), () => {
|
|
1211
1209
|
window.removeEventListener("resize", o);
|
|
1212
1210
|
}), [o]);
|
|
1213
|
-
const
|
|
1211
|
+
const h = () => {
|
|
1214
1212
|
l && l();
|
|
1215
|
-
},
|
|
1216
|
-
|
|
1213
|
+
}, u = () => {
|
|
1214
|
+
c && c();
|
|
1217
1215
|
};
|
|
1218
|
-
return
|
|
1219
|
-
/* @__PURE__ */
|
|
1220
|
-
/* @__PURE__ */
|
|
1221
|
-
/* @__PURE__ */
|
|
1222
|
-
/* @__PURE__ */
|
|
1216
|
+
return d ? /* @__PURE__ */ e.jsxs("div", { style: n, className: `full-screen-dialog-container ${r}`, children: [
|
|
1217
|
+
/* @__PURE__ */ e.jsxs("div", { className: "full-screen-dialog-header", children: [
|
|
1218
|
+
/* @__PURE__ */ e.jsx("div", { className: "dialog-icon-container", children: /* @__PURE__ */ e.jsx(ie, { transparent: !0, onClick: h, icon: /* @__PURE__ */ e.jsx(je, {}) }) }),
|
|
1219
|
+
/* @__PURE__ */ e.jsx("div", { className: "header", children: s }),
|
|
1220
|
+
/* @__PURE__ */ e.jsx("div", { className: "save-container", children: c ? /* @__PURE__ */ e.jsx(M, { onClick: u, children: "save" }) : null })
|
|
1223
1221
|
] }),
|
|
1224
|
-
/* @__PURE__ */
|
|
1225
|
-
] }) : /* @__PURE__ */
|
|
1226
|
-
},
|
|
1227
|
-
const
|
|
1228
|
-
|
|
1229
|
-
}, []), o =
|
|
1230
|
-
|
|
1222
|
+
/* @__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(ft, { onHide: h, onSave: c ? u : void 0 }) });
|
|
1224
|
+
}, Ht = ({ styleContainer: n, text: r, header: s, actionText: a, onSuccess: c, onHide: l, onCancel: d }) => {
|
|
1225
|
+
const i = R(() => {
|
|
1226
|
+
c && c(), l && l();
|
|
1227
|
+
}, []), o = R(() => {
|
|
1228
|
+
d && d(), l && l();
|
|
1231
1229
|
}, []);
|
|
1232
|
-
return /* @__PURE__ */
|
|
1230
|
+
return /* @__PURE__ */ e.jsx(G, { style: n, header: s, action: /* @__PURE__ */ e.jsx(mt, { onHide: o, actionText: a, onSuccess: i }), children: /* @__PURE__ */ e.jsx("p", { children: r }) });
|
|
1233
1231
|
};
|
|
1234
|
-
function
|
|
1235
|
-
return /* @__PURE__ */
|
|
1236
|
-
/* @__PURE__ */
|
|
1237
|
-
/* @__PURE__ */
|
|
1232
|
+
function mt({ actionText: n, onSuccess: r, onHide: s }) {
|
|
1233
|
+
return /* @__PURE__ */ e.jsxs("div", { className: "dialog-button-container", children: [
|
|
1234
|
+
/* @__PURE__ */ e.jsx(M, { onClick: s, children: "cancel" }),
|
|
1235
|
+
/* @__PURE__ */ e.jsx(M, { onClick: r, children: n ?? "OK" })
|
|
1238
1236
|
] });
|
|
1239
1237
|
}
|
|
1240
|
-
function
|
|
1241
|
-
const [
|
|
1242
|
-
|
|
1243
|
-
}, [
|
|
1244
|
-
|
|
1238
|
+
function Zt({ onSuccess: n, items: r, header: s, onHide: a, noHide: c = !1, name: l = "dailog_name" }) {
|
|
1239
|
+
const [d, i] = N(void 0), o = R(() => {
|
|
1240
|
+
n && d && n(d), i(void 0), !c && a && a();
|
|
1241
|
+
}, [d]), h = R((u) => {
|
|
1242
|
+
i(u);
|
|
1245
1243
|
}, []);
|
|
1246
|
-
return /* @__PURE__ */
|
|
1247
|
-
/* @__PURE__ */
|
|
1248
|
-
/* @__PURE__ */
|
|
1249
|
-
/* @__PURE__ */
|
|
1244
|
+
return /* @__PURE__ */ e.jsxs(G, { header: s, action: /* @__PURE__ */ e.jsx(vt, { onHide: a, onSuccess: o, disabled: d === void 0 }), children: [
|
|
1245
|
+
/* @__PURE__ */ e.jsx(W, { style: { padding: "0px" } }),
|
|
1246
|
+
/* @__PURE__ */ e.jsx(qn, { 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(dt, { name: l, checked: u.data === d }) }) }, f)) }),
|
|
1247
|
+
/* @__PURE__ */ e.jsx(W, { style: { padding: "0px" } })
|
|
1250
1248
|
] });
|
|
1251
1249
|
}
|
|
1252
|
-
function
|
|
1253
|
-
return /* @__PURE__ */
|
|
1254
|
-
/* @__PURE__ */
|
|
1255
|
-
/* @__PURE__ */
|
|
1250
|
+
function vt({ onSuccess: n, onHide: r, disabled: s }) {
|
|
1251
|
+
return /* @__PURE__ */ e.jsxs("div", { className: "dialog-button-container", children: [
|
|
1252
|
+
/* @__PURE__ */ e.jsx(M, { onClick: r, children: "cancel" }),
|
|
1253
|
+
/* @__PURE__ */ e.jsx(M, { onClick: n, disabled: s, children: "OK" })
|
|
1256
1254
|
] });
|
|
1257
1255
|
}
|
|
1258
|
-
const
|
|
1259
|
-
const [
|
|
1260
|
-
a && a(
|
|
1261
|
-
}, [
|
|
1262
|
-
|
|
1256
|
+
const Qt = ({ styleContainer: n, text: r, header: s, onSuccess: a, onHide: c, placeholder: l, type: d = "text", min: i = 0, max: o = 100 }) => {
|
|
1257
|
+
const [h, u] = N(""), f = R(() => {
|
|
1258
|
+
a && a(h), c && c();
|
|
1259
|
+
}, [h]), v = (g) => {
|
|
1260
|
+
d === "number" && (Number(g) < i && (g = String(i)), Number(g) > o && (g = String(o))), u(g);
|
|
1263
1261
|
};
|
|
1264
|
-
return /* @__PURE__ */
|
|
1265
|
-
/* @__PURE__ */
|
|
1266
|
-
/* @__PURE__ */
|
|
1262
|
+
return /* @__PURE__ */ e.jsxs(G, { style: n, header: s, action: /* @__PURE__ */ e.jsx(jt, { onHide: c, onSuccess: f }), children: [
|
|
1263
|
+
/* @__PURE__ */ e.jsx("p", { children: r }),
|
|
1264
|
+
/* @__PURE__ */ e.jsx("div", { className: "dialog-input-container", children: /* @__PURE__ */ e.jsx(un, { max: o, min: i, type: d, border: !0, placeholder: l, value: h, onChange: (g) => v(g.target.value) }) })
|
|
1267
1265
|
] });
|
|
1268
1266
|
};
|
|
1269
|
-
function
|
|
1270
|
-
return /* @__PURE__ */
|
|
1271
|
-
/* @__PURE__ */
|
|
1272
|
-
/* @__PURE__ */
|
|
1267
|
+
function jt({ onSuccess: n, onHide: r }) {
|
|
1268
|
+
return /* @__PURE__ */ e.jsxs("div", { className: "dialog-button-container", children: [
|
|
1269
|
+
/* @__PURE__ */ e.jsx(M, { onClick: r, children: "cancel" }),
|
|
1270
|
+
/* @__PURE__ */ e.jsx(M, { onClick: n, children: "OK" })
|
|
1273
1271
|
] });
|
|
1274
1272
|
}
|
|
1275
|
-
const
|
|
1273
|
+
const pt = 2050, an = 1900, z = [
|
|
1276
1274
|
"January",
|
|
1277
1275
|
"February",
|
|
1278
1276
|
"March",
|
|
@@ -1285,1180 +1283,507 @@ const lr = 2050, Ot = 1900, J = [
|
|
|
1285
1283
|
"October",
|
|
1286
1284
|
"November",
|
|
1287
1285
|
"December"
|
|
1288
|
-
],
|
|
1289
|
-
const [
|
|
1286
|
+
], gt = () => Array(pt - an).fill(0).map((n, r) => an + r), er = ({ onChange: n, onHide: r }) => {
|
|
1287
|
+
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({
|
|
1290
1288
|
day: (/* @__PURE__ */ new Date()).getDate(),
|
|
1291
1289
|
type: "NOW_MONTH"
|
|
1292
1290
|
/* NOW_MONTH */
|
|
1293
|
-
}), [
|
|
1291
|
+
}), [f, v] = N(
|
|
1294
1292
|
"DAYS"
|
|
1295
1293
|
/* DAYS */
|
|
1296
|
-
),
|
|
1297
|
-
let
|
|
1298
|
-
return
|
|
1299
|
-
},
|
|
1300
|
-
|
|
1294
|
+
), g = (j, _) => new Date(j, _ + 1, 0).getDate(), y = (j, _, L) => new Date(j, _, L).getDay(), w = (j, _) => {
|
|
1295
|
+
let L = 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 }));
|
|
1296
|
+
return L = Array(y(j, _, 0)).fill(0).map((oe, X) => ({ type: "PREV_MONTH", day: g(_ ? j : j - 1, _ ? _ - 1 : 11) - X })).reverse().concat(L).concat(ee), L;
|
|
1297
|
+
}, S = (j) => {
|
|
1298
|
+
v(
|
|
1301
1299
|
"DAYS"
|
|
1302
1300
|
/* DAYS */
|
|
1303
|
-
), o(
|
|
1304
|
-
}, O = (
|
|
1305
|
-
|
|
1301
|
+
), o(j);
|
|
1302
|
+
}, O = (j) => {
|
|
1303
|
+
v(
|
|
1306
1304
|
"DAYS"
|
|
1307
1305
|
/* DAYS */
|
|
1308
|
-
),
|
|
1309
|
-
},
|
|
1310
|
-
|
|
1311
|
-
},
|
|
1312
|
-
let
|
|
1313
|
-
|
|
1314
|
-
}, [l,
|
|
1315
|
-
return /* @__PURE__ */
|
|
1316
|
-
/* @__PURE__ */
|
|
1317
|
-
/* @__PURE__ */
|
|
1306
|
+
), d(j);
|
|
1307
|
+
}, E = (j) => {
|
|
1308
|
+
u(j);
|
|
1309
|
+
}, B = R(() => {
|
|
1310
|
+
let j = /* @__PURE__ */ new Date();
|
|
1311
|
+
j.setFullYear(i), h.type === "NEXT_MONTH" ? l === z[11] ? (j.setMonth(0), j.setFullYear(i + 1)) : j.setMonth(z.indexOf(l) + 1) : h.type === "PREV_MONTH" ? l === z[0] ? (j.setMonth(11), j.setFullYear(i - 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();
|
|
1312
|
+
}, [l, i, n, r, h]);
|
|
1313
|
+
return /* @__PURE__ */ e.jsxs(G, { className: "calendar-body-container", style: { maxWidth: "328px" }, children: [
|
|
1314
|
+
/* @__PURE__ */ e.jsxs("div", { className: "calendar-body-select-container", children: [
|
|
1315
|
+
/* @__PURE__ */ e.jsx("div", { className: "month", children: /* @__PURE__ */ e.jsxs("span", { className: f === "MONTHS" ? "active" : "", onClick: () => v(
|
|
1318
1316
|
"MONTHS"
|
|
1319
1317
|
/* MONTHS */
|
|
1320
1318
|
), children: [
|
|
1321
1319
|
l,
|
|
1322
1320
|
" ",
|
|
1323
|
-
/* @__PURE__ */
|
|
1321
|
+
/* @__PURE__ */ e.jsx(rn, {})
|
|
1324
1322
|
] }) }),
|
|
1325
|
-
/* @__PURE__ */
|
|
1323
|
+
/* @__PURE__ */ e.jsx("div", { className: "years", children: /* @__PURE__ */ e.jsxs("span", { className: f === "YEARS" ? "active" : "", onClick: () => v(
|
|
1326
1324
|
"YEARS"
|
|
1327
1325
|
/* YEARS */
|
|
1328
1326
|
), children: [
|
|
1329
|
-
|
|
1327
|
+
i,
|
|
1330
1328
|
" ",
|
|
1331
|
-
/* @__PURE__ */
|
|
1329
|
+
/* @__PURE__ */ e.jsx(rn, {})
|
|
1332
1330
|
] }) })
|
|
1333
1331
|
] }),
|
|
1334
|
-
|
|
1335
|
-
/* @__PURE__ */
|
|
1336
|
-
/* @__PURE__ */
|
|
1337
|
-
] },
|
|
1338
|
-
/* @__PURE__ */
|
|
1339
|
-
/* @__PURE__ */
|
|
1340
|
-
] },
|
|
1341
|
-
/* @__PURE__ */
|
|
1342
|
-
/* @__PURE__ */
|
|
1343
|
-
/* @__PURE__ */
|
|
1344
|
-
/* @__PURE__ */
|
|
1345
|
-
/* @__PURE__ */
|
|
1346
|
-
/* @__PURE__ */
|
|
1347
|
-
/* @__PURE__ */
|
|
1348
|
-
/* @__PURE__ */
|
|
1332
|
+
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
|
+
/* @__PURE__ */ e.jsx("div", { className: "status-container", children: l === j ? /* @__PURE__ */ e.jsx(ce, {}) : null }),
|
|
1334
|
+
/* @__PURE__ */ e.jsx("div", { className: "content", children: j })
|
|
1335
|
+
] }, _)) }) : f === "YEARS" ? /* @__PURE__ */ e.jsx("div", { className: "calendar-body-years-container", children: gt().map((j, _) => /* @__PURE__ */ e.jsxs("div", { className: "calendar-body-year-item", onClick: () => S(j), children: [
|
|
1336
|
+
/* @__PURE__ */ e.jsx("div", { className: "status-container", children: i === j ? /* @__PURE__ */ e.jsx(ce, {}) : null }),
|
|
1337
|
+
/* @__PURE__ */ e.jsx("div", { className: "content", children: j })
|
|
1338
|
+
] }, _)) }) : /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1339
|
+
/* @__PURE__ */ e.jsxs("div", { className: "calendar-body-dayofweek-container", children: [
|
|
1340
|
+
/* @__PURE__ */ e.jsx("span", { children: "M" }),
|
|
1341
|
+
/* @__PURE__ */ e.jsx("span", { children: "T" }),
|
|
1342
|
+
/* @__PURE__ */ e.jsx("span", { children: "W" }),
|
|
1343
|
+
/* @__PURE__ */ e.jsx("span", { children: "T" }),
|
|
1344
|
+
/* @__PURE__ */ e.jsx("span", { children: "F" }),
|
|
1345
|
+
/* @__PURE__ */ e.jsx("span", { children: "S" }),
|
|
1346
|
+
/* @__PURE__ */ e.jsx("span", { children: "S" })
|
|
1349
1347
|
] }),
|
|
1350
|
-
/* @__PURE__ */
|
|
1348
|
+
/* @__PURE__ */ e.jsx("div", { className: "calendar-body-days-container", children: w(i, z.indexOf(l)).map((j, _) => /* @__PURE__ */ e.jsx("div", { className: `day ${j.type !== "NOW_MONTH" ? "other" : ""} ${c === j.day && i === a && l === s ? "now" : ""} ${j.day === h.day && j.type === h.type ? "select" : ""}`, onClick: () => E(j), children: j.day }, _)) })
|
|
1351
1349
|
] }),
|
|
1352
|
-
/* @__PURE__ */
|
|
1353
|
-
/* @__PURE__ */
|
|
1354
|
-
/* @__PURE__ */
|
|
1350
|
+
/* @__PURE__ */ e.jsxs("div", { className: "calendar-body-action-container", children: [
|
|
1351
|
+
/* @__PURE__ */ e.jsx(M, { className: "little m-0", onClick: r, children: "Cancel" }),
|
|
1352
|
+
/* @__PURE__ */ e.jsx(M, { className: "little m-0", onClick: B, children: "OK" })
|
|
1355
1353
|
] })
|
|
1356
1354
|
] });
|
|
1357
1355
|
};
|
|
1358
|
-
const
|
|
1359
|
-
const [
|
|
1360
|
-
|
|
1361
|
-
}, [
|
|
1362
|
-
|
|
1363
|
-
}, [
|
|
1356
|
+
const yt = ({ setHours: n, setMinutes: r, switchMode: s, hours: a, minutes: c, onCancel: l, onOK: d }) => {
|
|
1357
|
+
const [i, o] = N(!1), h = R((v) => {
|
|
1358
|
+
n(v), o(!0);
|
|
1359
|
+
}, [n]), u = R((v) => {
|
|
1360
|
+
r(v), o(!1);
|
|
1361
|
+
}, [r]), f = R(() => {
|
|
1364
1362
|
o(!1), l();
|
|
1365
1363
|
}, []);
|
|
1366
|
-
return /* @__PURE__ */
|
|
1367
|
-
/* @__PURE__ */
|
|
1368
|
-
/* @__PURE__ */
|
|
1369
|
-
/* @__PURE__ */
|
|
1370
|
-
/* @__PURE__ */
|
|
1371
|
-
/* @__PURE__ */
|
|
1364
|
+
return /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1365
|
+
/* @__PURE__ */ e.jsx("div", { className: "time-type", children: /* @__PURE__ */ e.jsx("p", { className: "text-sm", children: "Select time" }) }),
|
|
1366
|
+
/* @__PURE__ */ e.jsxs("div", { className: "time-input-container", children: [
|
|
1367
|
+
/* @__PURE__ */ e.jsxs("div", { className: "time-input hours", children: [
|
|
1368
|
+
/* @__PURE__ */ e.jsx("div", { className: "input-container", children: /* @__PURE__ */ e.jsx("input", { disabled: !0, type: "number", min: 0, max: 23, value: a }) }),
|
|
1369
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-sm", children: "Hour" })
|
|
1372
1370
|
] }),
|
|
1373
|
-
/* @__PURE__ */
|
|
1374
|
-
/* @__PURE__ */
|
|
1375
|
-
/* @__PURE__ */
|
|
1376
|
-
/* @__PURE__ */
|
|
1371
|
+
/* @__PURE__ */ e.jsx("div", { className: "time-separator", children: ":" }),
|
|
1372
|
+
/* @__PURE__ */ e.jsxs("div", { className: "time-input minutes", children: [
|
|
1373
|
+
/* @__PURE__ */ e.jsx("div", { className: "input-container", children: /* @__PURE__ */ e.jsx("input", { disabled: !0, type: "number", value: c, min: 0, max: 60 }) }),
|
|
1374
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-sm", children: "Minute" })
|
|
1377
1375
|
] })
|
|
1378
1376
|
] }),
|
|
1379
|
-
/* @__PURE__ */
|
|
1380
|
-
/* @__PURE__ */
|
|
1381
|
-
/* @__PURE__ */
|
|
1382
|
-
/* @__PURE__ */
|
|
1383
|
-
/* @__PURE__ */
|
|
1377
|
+
/* @__PURE__ */ e.jsx("div", { className: "clock-input-container", children: i ? /* @__PURE__ */ e.jsx(kt, { setMinutes: u }) : /* @__PURE__ */ e.jsx(bt, { setHours: h }) }),
|
|
1378
|
+
/* @__PURE__ */ e.jsxs("div", { className: "enter-time-action", children: [
|
|
1379
|
+
/* @__PURE__ */ e.jsx("div", { className: "enter-time-icon", onClick: () => s(), children: /* @__PURE__ */ e.jsx(at, {}) }),
|
|
1380
|
+
/* @__PURE__ */ e.jsx(M, { className: "little", onClick: f, children: "Cancel" }),
|
|
1381
|
+
/* @__PURE__ */ e.jsx(M, { className: "little", onClick: d, children: "OK" })
|
|
1384
1382
|
] })
|
|
1385
1383
|
] });
|
|
1386
1384
|
};
|
|
1387
|
-
function
|
|
1388
|
-
return /* @__PURE__ */
|
|
1389
|
-
/* @__PURE__ */
|
|
1390
|
-
/* @__PURE__ */
|
|
1391
|
-
/* @__PURE__ */
|
|
1392
|
-
/* @__PURE__ */
|
|
1393
|
-
/* @__PURE__ */
|
|
1394
|
-
/* @__PURE__ */
|
|
1395
|
-
/* @__PURE__ */
|
|
1396
|
-
/* @__PURE__ */
|
|
1397
|
-
/* @__PURE__ */
|
|
1398
|
-
/* @__PURE__ */
|
|
1399
|
-
/* @__PURE__ */
|
|
1400
|
-
/* @__PURE__ */
|
|
1401
|
-
/* @__PURE__ */
|
|
1385
|
+
function bt({ setHours: n }) {
|
|
1386
|
+
return /* @__PURE__ */ e.jsxs("div", { className: "clock-input", children: [
|
|
1387
|
+
/* @__PURE__ */ e.jsxs("div", { className: "clock-input-am", children: [
|
|
1388
|
+
/* @__PURE__ */ e.jsx("span", { onClick: () => n(1), children: "1" }),
|
|
1389
|
+
/* @__PURE__ */ e.jsx("span", { onClick: () => n(2), children: "2" }),
|
|
1390
|
+
/* @__PURE__ */ e.jsx("span", { onClick: () => n(3), children: "3" }),
|
|
1391
|
+
/* @__PURE__ */ e.jsx("span", { onClick: () => n(4), children: "4" }),
|
|
1392
|
+
/* @__PURE__ */ e.jsx("span", { onClick: () => n(5), children: "5" }),
|
|
1393
|
+
/* @__PURE__ */ e.jsx("span", { onClick: () => n(6), children: "6" }),
|
|
1394
|
+
/* @__PURE__ */ e.jsx("span", { onClick: () => n(7), children: "7" }),
|
|
1395
|
+
/* @__PURE__ */ e.jsx("span", { onClick: () => n(8), children: "8" }),
|
|
1396
|
+
/* @__PURE__ */ e.jsx("span", { onClick: () => n(9), children: "9" }),
|
|
1397
|
+
/* @__PURE__ */ e.jsx("span", { onClick: () => n(10), children: "10" }),
|
|
1398
|
+
/* @__PURE__ */ e.jsx("span", { onClick: () => n(11), children: "11" }),
|
|
1399
|
+
/* @__PURE__ */ e.jsx("span", { onClick: () => n(12), children: "12" })
|
|
1402
1400
|
] }),
|
|
1403
|
-
/* @__PURE__ */
|
|
1404
|
-
/* @__PURE__ */
|
|
1405
|
-
/* @__PURE__ */
|
|
1406
|
-
/* @__PURE__ */
|
|
1407
|
-
/* @__PURE__ */
|
|
1408
|
-
/* @__PURE__ */
|
|
1409
|
-
/* @__PURE__ */
|
|
1410
|
-
/* @__PURE__ */
|
|
1411
|
-
/* @__PURE__ */
|
|
1412
|
-
/* @__PURE__ */
|
|
1413
|
-
/* @__PURE__ */
|
|
1414
|
-
/* @__PURE__ */
|
|
1415
|
-
/* @__PURE__ */
|
|
1401
|
+
/* @__PURE__ */ e.jsxs("div", { className: "clock-input-pm", children: [
|
|
1402
|
+
/* @__PURE__ */ e.jsx("span", { onClick: () => n(13), children: "13" }),
|
|
1403
|
+
/* @__PURE__ */ e.jsx("span", { onClick: () => n(14), children: "14" }),
|
|
1404
|
+
/* @__PURE__ */ e.jsx("span", { onClick: () => n(15), children: "15" }),
|
|
1405
|
+
/* @__PURE__ */ e.jsx("span", { onClick: () => n(16), children: "16" }),
|
|
1406
|
+
/* @__PURE__ */ e.jsx("span", { onClick: () => n(17), children: "17" }),
|
|
1407
|
+
/* @__PURE__ */ e.jsx("span", { onClick: () => n(18), children: "18" }),
|
|
1408
|
+
/* @__PURE__ */ e.jsx("span", { onClick: () => n(19), children: "19" }),
|
|
1409
|
+
/* @__PURE__ */ e.jsx("span", { onClick: () => n(20), children: "20" }),
|
|
1410
|
+
/* @__PURE__ */ e.jsx("span", { onClick: () => n(21), children: "21" }),
|
|
1411
|
+
/* @__PURE__ */ e.jsx("span", { onClick: () => n(22), children: "22" }),
|
|
1412
|
+
/* @__PURE__ */ e.jsx("span", { onClick: () => n(23), children: "23" }),
|
|
1413
|
+
/* @__PURE__ */ e.jsx("span", { onClick: () => n(0), children: "0" })
|
|
1416
1414
|
] }),
|
|
1417
|
-
/* @__PURE__ */
|
|
1415
|
+
/* @__PURE__ */ e.jsx("span", { className: "center" })
|
|
1418
1416
|
] });
|
|
1419
1417
|
}
|
|
1420
|
-
function
|
|
1421
|
-
return /* @__PURE__ */
|
|
1422
|
-
/* @__PURE__ */
|
|
1423
|
-
/* @__PURE__ */
|
|
1424
|
-
/* @__PURE__ */
|
|
1425
|
-
/* @__PURE__ */
|
|
1426
|
-
/* @__PURE__ */
|
|
1427
|
-
/* @__PURE__ */
|
|
1428
|
-
/* @__PURE__ */
|
|
1429
|
-
/* @__PURE__ */
|
|
1430
|
-
/* @__PURE__ */
|
|
1431
|
-
/* @__PURE__ */
|
|
1432
|
-
/* @__PURE__ */
|
|
1433
|
-
/* @__PURE__ */
|
|
1434
|
-
/* @__PURE__ */
|
|
1418
|
+
function kt({ setMinutes: n }) {
|
|
1419
|
+
return /* @__PURE__ */ e.jsxs("div", { className: "clock-input", children: [
|
|
1420
|
+
/* @__PURE__ */ e.jsxs("div", { className: "clock-input-minute", children: [
|
|
1421
|
+
/* @__PURE__ */ e.jsx("span", { onClick: () => n(0), children: "00" }),
|
|
1422
|
+
/* @__PURE__ */ e.jsx("span", { onClick: () => n(5), children: "05" }),
|
|
1423
|
+
/* @__PURE__ */ e.jsx("span", { onClick: () => n(10), children: "10" }),
|
|
1424
|
+
/* @__PURE__ */ e.jsx("span", { onClick: () => n(15), children: "15" }),
|
|
1425
|
+
/* @__PURE__ */ e.jsx("span", { onClick: () => n(20), children: "20" }),
|
|
1426
|
+
/* @__PURE__ */ e.jsx("span", { onClick: () => n(25), children: "25" }),
|
|
1427
|
+
/* @__PURE__ */ e.jsx("span", { onClick: () => n(30), children: "30" }),
|
|
1428
|
+
/* @__PURE__ */ e.jsx("span", { onClick: () => n(35), children: "35" }),
|
|
1429
|
+
/* @__PURE__ */ e.jsx("span", { onClick: () => n(40), children: "40" }),
|
|
1430
|
+
/* @__PURE__ */ e.jsx("span", { onClick: () => n(45), children: "45" }),
|
|
1431
|
+
/* @__PURE__ */ e.jsx("span", { onClick: () => n(50), children: "50" }),
|
|
1432
|
+
/* @__PURE__ */ e.jsx("span", { onClick: () => n(55), children: "55" })
|
|
1435
1433
|
] }),
|
|
1436
|
-
/* @__PURE__ */
|
|
1434
|
+
/* @__PURE__ */ e.jsx("span", { className: "center" })
|
|
1437
1435
|
] });
|
|
1438
1436
|
}
|
|
1439
|
-
const
|
|
1440
|
-
const
|
|
1441
|
-
let
|
|
1442
|
-
|
|
1443
|
-
}, o = (
|
|
1444
|
-
let
|
|
1445
|
-
|
|
1437
|
+
const Nt = ({ setHours: n, setMinutes: r, switchMode: s, minutes: a, hours: c, onCancel: l, onOK: d }) => {
|
|
1438
|
+
const i = (h) => {
|
|
1439
|
+
let u = Number(h.target.value);
|
|
1440
|
+
u < 0 && (u = 0), u > 23 && (u = 23), n(u);
|
|
1441
|
+
}, o = (h) => {
|
|
1442
|
+
let u = Number(h.target.value);
|
|
1443
|
+
u < 0 && (u = 0), u > 59 && (u = 59), r(u);
|
|
1446
1444
|
};
|
|
1447
|
-
return /* @__PURE__ */
|
|
1448
|
-
/* @__PURE__ */
|
|
1449
|
-
/* @__PURE__ */
|
|
1450
|
-
/* @__PURE__ */
|
|
1451
|
-
/* @__PURE__ */
|
|
1452
|
-
/* @__PURE__ */
|
|
1445
|
+
return /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1446
|
+
/* @__PURE__ */ e.jsx("div", { className: "time-type", children: /* @__PURE__ */ e.jsx("p", { className: "text-sm", children: "Enter time" }) }),
|
|
1447
|
+
/* @__PURE__ */ e.jsxs("div", { className: "time-input-container", children: [
|
|
1448
|
+
/* @__PURE__ */ e.jsxs("div", { className: "time-input hours", children: [
|
|
1449
|
+
/* @__PURE__ */ e.jsx("div", { className: "input-container", children: /* @__PURE__ */ e.jsx("input", { type: "number", min: 0, max: 23, value: c, onChange: i }) }),
|
|
1450
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-sm", children: "Hour" })
|
|
1453
1451
|
] }),
|
|
1454
|
-
/* @__PURE__ */
|
|
1455
|
-
/* @__PURE__ */
|
|
1456
|
-
/* @__PURE__ */
|
|
1457
|
-
/* @__PURE__ */
|
|
1452
|
+
/* @__PURE__ */ e.jsx("div", { className: "time-separator", children: ":" }),
|
|
1453
|
+
/* @__PURE__ */ e.jsxs("div", { className: "time-input minutes", children: [
|
|
1454
|
+
/* @__PURE__ */ e.jsx("div", { className: "input-container", children: /* @__PURE__ */ e.jsx("input", { type: "number", value: a, min: 0, max: 59, onChange: o }) }),
|
|
1455
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-sm", children: "Minute" })
|
|
1458
1456
|
] })
|
|
1459
1457
|
] }),
|
|
1460
|
-
/* @__PURE__ */
|
|
1461
|
-
/* @__PURE__ */
|
|
1462
|
-
/* @__PURE__ */
|
|
1463
|
-
/* @__PURE__ */
|
|
1458
|
+
/* @__PURE__ */ e.jsxs("div", { className: "enter-time-action", children: [
|
|
1459
|
+
/* @__PURE__ */ e.jsx("div", { className: "enter-time-icon", onClick: () => s(), children: /* @__PURE__ */ e.jsx(rt, {}) }),
|
|
1460
|
+
/* @__PURE__ */ e.jsx(M, { className: "little", onClick: l, children: "Cancel" }),
|
|
1461
|
+
/* @__PURE__ */ e.jsx(M, { className: "little", onClick: d, children: "OK" })
|
|
1464
1462
|
] })
|
|
1465
1463
|
] });
|
|
1466
|
-
},
|
|
1467
|
-
const [
|
|
1468
|
-
|
|
1469
|
-
}, o =
|
|
1470
|
-
|
|
1471
|
-
}, [a]),
|
|
1472
|
-
|
|
1473
|
-
}, [a,
|
|
1474
|
-
return l ? /* @__PURE__ */
|
|
1464
|
+
}, nr = (n) => {
|
|
1465
|
+
const [r, s] = N(n.minutes ?? 0), [a, c] = N(n.hours ?? 0), [l, d] = N(!0), i = () => {
|
|
1466
|
+
n.onHide && n.onHide(), s(0), c(0);
|
|
1467
|
+
}, o = R((u) => {
|
|
1468
|
+
s(u), n.onChange && n.onChange(a, u), n.onHide && n.onHide();
|
|
1469
|
+
}, [a]), h = R(() => {
|
|
1470
|
+
n.onChange && n.onChange(a, r), n.onHide && n.onHide();
|
|
1471
|
+
}, [a, r]);
|
|
1472
|
+
return l ? /* @__PURE__ */ e.jsx(G, { className: "enter-time-container", children: /* @__PURE__ */ e.jsx(yt, { 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(Nt, { setMinutes: s, setHours: c, minutes: r, hours: a, switchMode: () => d(!0), onCancel: i, onOK: h }) });
|
|
1475
1473
|
};
|
|
1476
|
-
const
|
|
1477
|
-
const [a,
|
|
1478
|
-
if (!
|
|
1474
|
+
const tr = ({ onChange: n, value: r, className: s }) => {
|
|
1475
|
+
const [a, c] = N(r || []), l = R((i) => {
|
|
1476
|
+
if (!i)
|
|
1479
1477
|
return;
|
|
1480
1478
|
let o = a.slice();
|
|
1481
|
-
const
|
|
1482
|
-
|
|
1483
|
-
}, [a]),
|
|
1484
|
-
return /* @__PURE__ */
|
|
1485
|
-
/* @__PURE__ */
|
|
1486
|
-
/* @__PURE__ */
|
|
1487
|
-
/* @__PURE__ */
|
|
1479
|
+
const h = o.indexOf(i.target.name);
|
|
1480
|
+
h !== -1 && !i.target.checked ? o = o.filter((u, f) => f !== h) : h === -1 && i.target.checked && o.push(i.target.name), c(o), n && n(o);
|
|
1481
|
+
}, [a]), d = R((i) => a.indexOf(i) !== -1, [a]);
|
|
1482
|
+
return /* @__PURE__ */ e.jsx(e.Fragment, { children: /* @__PURE__ */ e.jsxs("div", { className: `days-week-field-container ${s}`, children: [
|
|
1483
|
+
/* @__PURE__ */ e.jsxs("label", { children: [
|
|
1484
|
+
/* @__PURE__ */ e.jsx("input", { type: "checkbox", onChange: l, name: "Mon", checked: d("Mon") }),
|
|
1485
|
+
/* @__PURE__ */ e.jsx("span", { children: "Mon" })
|
|
1488
1486
|
] }),
|
|
1489
|
-
/* @__PURE__ */
|
|
1490
|
-
/* @__PURE__ */
|
|
1491
|
-
/* @__PURE__ */
|
|
1487
|
+
/* @__PURE__ */ e.jsxs("label", { children: [
|
|
1488
|
+
/* @__PURE__ */ e.jsx("input", { type: "checkbox", onChange: l, name: "Tue", checked: d("Tue") }),
|
|
1489
|
+
/* @__PURE__ */ e.jsx("span", { children: "Tue" })
|
|
1492
1490
|
] }),
|
|
1493
|
-
/* @__PURE__ */
|
|
1494
|
-
/* @__PURE__ */
|
|
1495
|
-
/* @__PURE__ */
|
|
1491
|
+
/* @__PURE__ */ e.jsxs("label", { children: [
|
|
1492
|
+
/* @__PURE__ */ e.jsx("input", { type: "checkbox", onChange: l, name: "Wed", checked: d("Wed") }),
|
|
1493
|
+
/* @__PURE__ */ e.jsx("span", { children: "Wed" })
|
|
1496
1494
|
] }),
|
|
1497
|
-
/* @__PURE__ */
|
|
1498
|
-
/* @__PURE__ */
|
|
1499
|
-
/* @__PURE__ */
|
|
1495
|
+
/* @__PURE__ */ e.jsxs("label", { children: [
|
|
1496
|
+
/* @__PURE__ */ e.jsx("input", { type: "checkbox", onChange: l, name: "Thu", checked: d("Thu") }),
|
|
1497
|
+
/* @__PURE__ */ e.jsx("span", { children: "Thu" })
|
|
1500
1498
|
] }),
|
|
1501
|
-
/* @__PURE__ */
|
|
1502
|
-
/* @__PURE__ */
|
|
1503
|
-
/* @__PURE__ */
|
|
1499
|
+
/* @__PURE__ */ e.jsxs("label", { children: [
|
|
1500
|
+
/* @__PURE__ */ e.jsx("input", { type: "checkbox", onChange: l, name: "Fri", checked: d("Fri") }),
|
|
1501
|
+
/* @__PURE__ */ e.jsx("span", { children: "Fri" })
|
|
1504
1502
|
] }),
|
|
1505
|
-
/* @__PURE__ */
|
|
1506
|
-
/* @__PURE__ */
|
|
1507
|
-
/* @__PURE__ */
|
|
1503
|
+
/* @__PURE__ */ e.jsxs("label", { children: [
|
|
1504
|
+
/* @__PURE__ */ e.jsx("input", { type: "checkbox", onChange: l, name: "Sat", checked: d("Sat") }),
|
|
1505
|
+
/* @__PURE__ */ e.jsx("span", { children: "Sat" })
|
|
1508
1506
|
] }),
|
|
1509
|
-
/* @__PURE__ */
|
|
1510
|
-
/* @__PURE__ */
|
|
1511
|
-
/* @__PURE__ */
|
|
1507
|
+
/* @__PURE__ */ e.jsxs("label", { children: [
|
|
1508
|
+
/* @__PURE__ */ e.jsx("input", { type: "checkbox", onChange: l, name: "Sun", checked: d("Sun") }),
|
|
1509
|
+
/* @__PURE__ */ e.jsx("span", { children: "Sun" })
|
|
1512
1510
|
] })
|
|
1513
1511
|
] }) });
|
|
1514
1512
|
};
|
|
1515
|
-
const
|
|
1516
|
-
const o =
|
|
1513
|
+
const rr = ({ children: n }) => /* @__PURE__ */ e.jsx("div", { className: "adaptiv-grid-item", children: /* @__PURE__ */ e.jsx("div", { className: "adaptiv-grid-item-container", children: n }) }), sr = ({ minWith: n, children: r, className: s, gridRowGap: a = "10px", gridColumnGap: c = "5px", itemMinWith: l, itemMaxWith: d, itemWith: i = "400px" }) => {
|
|
1514
|
+
const o = U(null), [h, u] = N([]), f = R(() => {
|
|
1517
1515
|
if (!o.current)
|
|
1518
1516
|
return;
|
|
1519
|
-
o.current.style.display = "grid", o.current.style.gridRowGap = a, o.current.style.gridColumnGap =
|
|
1520
|
-
let
|
|
1521
|
-
o.current.style.gridTemplateColumns = "repeat(auto-fill, minmax(" +
|
|
1522
|
-
|
|
1517
|
+
o.current.style.display = "grid", o.current.style.gridRowGap = a, o.current.style.gridColumnGap = c;
|
|
1518
|
+
let y = l ?? i, w = d ?? i;
|
|
1519
|
+
o.current.style.gridTemplateColumns = "repeat(auto-fill, minmax(" + y + ", " + w + "))", o.current.style.gridAutoRows = "0", h.forEach((S) => {
|
|
1520
|
+
S.style.gridAutoRows = "0", S.style.gridAutoColumns = "0";
|
|
1523
1521
|
});
|
|
1524
|
-
}, [o.current]),
|
|
1522
|
+
}, [o.current]), v = R(() => {
|
|
1525
1523
|
if (!o.current)
|
|
1526
1524
|
return;
|
|
1527
|
-
let
|
|
1528
|
-
|
|
1529
|
-
let O = 0,
|
|
1530
|
-
|
|
1525
|
+
let y = parseInt(window.getComputedStyle(o.current).getPropertyValue("grid-row-gap")), w = parseInt(window.getComputedStyle(o.current).getPropertyValue("grid-auto-rows"));
|
|
1526
|
+
h.forEach((S) => {
|
|
1527
|
+
let O = 0, E = S.querySelector(".adaptiv-grid-item-container");
|
|
1528
|
+
E && (O = Math.ceil((E.getBoundingClientRect().height + y) / (w + y))), S.style.gridRowEnd = "span " + O;
|
|
1531
1529
|
});
|
|
1532
|
-
}, [
|
|
1530
|
+
}, [h, o.current]), g = R(() => {
|
|
1533
1531
|
if (o.current) {
|
|
1534
|
-
let
|
|
1535
|
-
|
|
1532
|
+
let y = o.current.querySelectorAll(".adaptiv-grid-item");
|
|
1533
|
+
u(Array.prototype.slice.call(y, 0));
|
|
1536
1534
|
}
|
|
1537
|
-
}, [o.current,
|
|
1538
|
-
return
|
|
1539
|
-
|
|
1540
|
-
}, [
|
|
1541
|
-
|
|
1542
|
-
}, [
|
|
1543
|
-
|
|
1544
|
-
}, [
|
|
1545
|
-
window.addEventListener("resize",
|
|
1546
|
-
}), [
|
|
1535
|
+
}, [o.current, r]);
|
|
1536
|
+
return F(() => {
|
|
1537
|
+
g();
|
|
1538
|
+
}, [g]), F(() => {
|
|
1539
|
+
f();
|
|
1540
|
+
}, [f]), F(() => {
|
|
1541
|
+
v();
|
|
1542
|
+
}, [v, r]), F(() => (window.addEventListener("resize", v), () => {
|
|
1543
|
+
window.addEventListener("resize", v);
|
|
1544
|
+
}), [v]), /* @__PURE__ */ e.jsx("div", { style: { minWidth: n }, ref: o, className: `adaptiv-grid-layout ${s}`, children: r });
|
|
1547
1545
|
};
|
|
1548
|
-
const
|
|
1546
|
+
const Ct = ({ item: n, isIcon: r, globalClick: s }) => {
|
|
1549
1547
|
const a = () => {
|
|
1550
|
-
|
|
1548
|
+
n.onClick && n.onClick(), s && s();
|
|
1551
1549
|
};
|
|
1552
|
-
return /* @__PURE__ */
|
|
1553
|
-
|
|
1554
|
-
/* @__PURE__ */
|
|
1555
|
-
/* @__PURE__ */
|
|
1550
|
+
return /* @__PURE__ */ e.jsxs("div", { className: "menu-sub-item", onClick: a, children: [
|
|
1551
|
+
r ? /* @__PURE__ */ e.jsx("div", { className: "menu-icon-container", children: n.icon }) : null,
|
|
1552
|
+
/* @__PURE__ */ e.jsx("div", { className: "menu-text-container", children: n.title }),
|
|
1553
|
+
/* @__PURE__ */ e.jsx("div", { className: "menu-status-container", children: n.activated ? /* @__PURE__ */ e.jsx(ce, {}) : null })
|
|
1556
1554
|
] });
|
|
1557
|
-
},
|
|
1558
|
-
const
|
|
1559
|
-
function
|
|
1560
|
-
for (let
|
|
1561
|
-
if (
|
|
1555
|
+
}, wt = ({ items: n, onHide: r, smallDisplay: s, globalClick: a }) => {
|
|
1556
|
+
const c = U(null), [l, d] = N({ left: "0px", top: "0px" });
|
|
1557
|
+
function i(o) {
|
|
1558
|
+
for (let h of o)
|
|
1559
|
+
if (h.icon)
|
|
1562
1560
|
return !0;
|
|
1563
1561
|
return !1;
|
|
1564
1562
|
}
|
|
1565
|
-
return
|
|
1566
|
-
if (!
|
|
1563
|
+
return F(() => {
|
|
1564
|
+
if (!c.current)
|
|
1567
1565
|
return;
|
|
1568
|
-
let o =
|
|
1566
|
+
let o = xn(c.current.parentElement);
|
|
1569
1567
|
if (!o)
|
|
1570
1568
|
return;
|
|
1571
|
-
let
|
|
1572
|
-
|
|
1573
|
-
left:
|
|
1574
|
-
top:
|
|
1569
|
+
let h = hn(o.left + o.width, o.top, c.current, { marginRight: o.width });
|
|
1570
|
+
d({
|
|
1571
|
+
left: h.x - o.left + "px",
|
|
1572
|
+
top: h.y - o.top + "px"
|
|
1575
1573
|
});
|
|
1576
|
-
}, []), /* @__PURE__ */
|
|
1577
|
-
/* @__PURE__ */
|
|
1578
|
-
|
|
1574
|
+
}, []), /* @__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(Ct, { item: o, isIcon: i(n), globalClick: a }, h)) }),
|
|
1576
|
+
s ? null : /* @__PURE__ */ e.jsx("div", { style: { zIndex: 4 }, className: "backplate", onClick: r })
|
|
1579
1577
|
] });
|
|
1580
|
-
},
|
|
1581
|
-
const [
|
|
1582
|
-
a.subItems ?
|
|
1578
|
+
}, Et = ({ onHide: n, autoHide: r, globalClick: s, item: a, isIcon: c, smallDisplay: l }) => {
|
|
1579
|
+
const [d, i] = N(!1), o = R(() => {
|
|
1580
|
+
a.subItems ? i((h) => !h) : a.onClick && a.onClick(), s && s(), r && n && n();
|
|
1583
1581
|
}, [a.onClick]);
|
|
1584
|
-
return /* @__PURE__ */
|
|
1585
|
-
/* @__PURE__ */
|
|
1586
|
-
|
|
1587
|
-
/* @__PURE__ */
|
|
1588
|
-
/* @__PURE__ */
|
|
1582
|
+
return /* @__PURE__ */ e.jsxs("div", { className: "menu-item-conatiner", children: [
|
|
1583
|
+
/* @__PURE__ */ e.jsxs("div", { className: "menu-item", onClick: o, children: [
|
|
1584
|
+
c ? /* @__PURE__ */ e.jsx("div", { className: "menu-icon-container", children: a.icon }) : null,
|
|
1585
|
+
/* @__PURE__ */ e.jsx("div", { className: "menu-text-container", children: a.title }),
|
|
1586
|
+
/* @__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" }) })
|
|
1589
1587
|
] }),
|
|
1590
|
-
|
|
1588
|
+
d && a.subItems ? /* @__PURE__ */ e.jsx(wt, { items: a.subItems, onHide: () => i(!1), smallDisplay: l }) : null
|
|
1591
1589
|
] });
|
|
1592
1590
|
};
|
|
1593
|
-
function
|
|
1594
|
-
function l(
|
|
1595
|
-
for (let
|
|
1596
|
-
if (
|
|
1591
|
+
function fn({ block: n, smallDisplay: r, onHide: s, globalClick: a, autoHide: c }) {
|
|
1592
|
+
function l(d) {
|
|
1593
|
+
for (let i of d.items)
|
|
1594
|
+
if (i.icon)
|
|
1597
1595
|
return !0;
|
|
1598
1596
|
return !1;
|
|
1599
1597
|
}
|
|
1600
|
-
return /* @__PURE__ */
|
|
1598
|
+
return /* @__PURE__ */ e.jsx("div", { className: "menu-block", children: n.items.map((d, i) => /* @__PURE__ */ e.jsx(Et, { globalClick: a, autoHide: c, onHide: s, item: d, isIcon: l(n), smallDisplay: r }, i)) });
|
|
1601
1599
|
}
|
|
1602
|
-
const
|
|
1603
|
-
const
|
|
1604
|
-
|
|
1600
|
+
const Tt = 100, ar = (n) => {
|
|
1601
|
+
const r = U(null), [s, a] = N({ left: "0px", top: "0px" }), c = () => {
|
|
1602
|
+
n.onHide && n.onHide();
|
|
1605
1603
|
};
|
|
1606
|
-
return
|
|
1607
|
-
let l =
|
|
1604
|
+
return F(() => {
|
|
1605
|
+
let l = hn(n.x, n.y, r.current, { marginBottom: Tt });
|
|
1608
1606
|
a({
|
|
1609
1607
|
left: l.x + "px",
|
|
1610
1608
|
top: l.y + "px"
|
|
1611
1609
|
});
|
|
1612
|
-
}, [
|
|
1613
|
-
/* @__PURE__ */
|
|
1614
|
-
|
|
1615
|
-
/* @__PURE__ */
|
|
1616
|
-
] },
|
|
1617
|
-
/* @__PURE__ */
|
|
1610
|
+
}, [n.x, n.y]), n.visible ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1611
|
+
/* @__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(W, {}) : null,
|
|
1613
|
+
/* @__PURE__ */ e.jsx(fn, { block: l, smallDisplay: !1, globalClick: n.onClick, autoHide: n.autoHide, onHide: c })
|
|
1614
|
+
] }, d)) }),
|
|
1615
|
+
/* @__PURE__ */ e.jsx("div", { style: { zIndex: 1600 }, className: "backplate", onClick: c, onContextMenu: (l) => {
|
|
1618
1616
|
l.preventDefault();
|
|
1619
1617
|
} })
|
|
1620
1618
|
] }) : null;
|
|
1621
|
-
},
|
|
1622
|
-
const
|
|
1619
|
+
}, ir = (n) => {
|
|
1620
|
+
const r = () => {
|
|
1623
1621
|
};
|
|
1624
|
-
return /* @__PURE__ */
|
|
1625
|
-
a !== 0 ? /* @__PURE__ */
|
|
1626
|
-
/* @__PURE__ */
|
|
1622
|
+
return /* @__PURE__ */ e.jsx(Hn, { 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: [
|
|
1623
|
+
a !== 0 ? /* @__PURE__ */ e.jsx(W, {}) : null,
|
|
1624
|
+
/* @__PURE__ */ e.jsx(fn, { block: s, smallDisplay: !0 })
|
|
1627
1625
|
] }, a)) }) });
|
|
1628
1626
|
};
|
|
1629
|
-
function
|
|
1630
|
-
let
|
|
1631
|
-
if (
|
|
1632
|
-
for (let
|
|
1633
|
-
for (let a in
|
|
1634
|
-
let
|
|
1635
|
-
for (let l of
|
|
1636
|
-
l.field === a && (
|
|
1637
|
-
|
|
1627
|
+
function Rt(n) {
|
|
1628
|
+
let r = [];
|
|
1629
|
+
if (n.length > 0)
|
|
1630
|
+
for (let s of n)
|
|
1631
|
+
for (let a in s) {
|
|
1632
|
+
let c = !1;
|
|
1633
|
+
for (let l of r)
|
|
1634
|
+
l.field === a && (c = !0);
|
|
1635
|
+
c || r.push({
|
|
1638
1636
|
title: a,
|
|
1639
1637
|
field: a
|
|
1640
1638
|
});
|
|
1641
1639
|
}
|
|
1642
|
-
return
|
|
1640
|
+
return r;
|
|
1643
1641
|
}
|
|
1644
|
-
const
|
|
1645
|
-
function
|
|
1646
|
-
for (let
|
|
1647
|
-
if (
|
|
1648
|
-
return o[
|
|
1642
|
+
const _t = ({ data: n, column: r, color: s, backgroundColor: a }) => {
|
|
1643
|
+
function c(i, o) {
|
|
1644
|
+
for (let h in o)
|
|
1645
|
+
if (i === h)
|
|
1646
|
+
return o[h];
|
|
1649
1647
|
}
|
|
1650
|
-
function l(
|
|
1651
|
-
return typeof
|
|
1648
|
+
function l(i) {
|
|
1649
|
+
return typeof i == "number" || typeof i == "string" ? { content: i } : i;
|
|
1652
1650
|
}
|
|
1653
|
-
function
|
|
1654
|
-
return
|
|
1651
|
+
function d(i) {
|
|
1652
|
+
return i ? Array.isArray(i) ? i.map((o) => l(o)) : [l(i)] : [];
|
|
1655
1653
|
}
|
|
1656
|
-
return /* @__PURE__ */
|
|
1657
|
-
},
|
|
1658
|
-
const o = (
|
|
1659
|
-
o(
|
|
1654
|
+
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
|
+
}, St = ({ actions: n, item: r, columns: s, onContextMenu: a, onDelete: c, onEdit: l, onClickRow: d, index: i }) => {
|
|
1656
|
+
const o = (u) => !u.target.closest(".no-click"), h = (u) => {
|
|
1657
|
+
o(u) && d && d(r, i);
|
|
1660
1658
|
};
|
|
1661
|
-
return /* @__PURE__ */
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
a ||
|
|
1665
|
-
l ? /* @__PURE__ */
|
|
1666
|
-
|
|
1667
|
-
a ? /* @__PURE__ */
|
|
1659
|
+
return /* @__PURE__ */ e.jsxs("tr", { className: "table-row", onClick: h, children: [
|
|
1660
|
+
s.map((u, f) => /* @__PURE__ */ e.jsx(_t, { color: u.color, backgroundColor: u.backgroundColor, column: u, data: r }, f)),
|
|
1661
|
+
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
|
+
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(it, {}), onClick: () => l(r, i) }) : null,
|
|
1664
|
+
c ? /* @__PURE__ */ e.jsx(ie, { transparent: !0, icon: /* @__PURE__ */ e.jsx(lt, { className: "text-red-500" }), onClick: () => c(r, i) }) : null,
|
|
1665
|
+
a ? /* @__PURE__ */ e.jsx(ie, { transparent: !0, icon: /* @__PURE__ */ e.jsx(st, {}), onClick: (u) => a(u, r, i) }) : null
|
|
1668
1666
|
] }) }) : null
|
|
1669
1667
|
] });
|
|
1670
|
-
},
|
|
1671
|
-
const [o] =
|
|
1672
|
-
return /* @__PURE__ */
|
|
1673
|
-
/* @__PURE__ */
|
|
1674
|
-
o.map((
|
|
1675
|
-
l ? /* @__PURE__ */
|
|
1676
|
-
|
|
1668
|
+
}, cr = ({ data: n, columns: r, onDelete: s, onContextMenu: a, onEdit: c, actions: l, onClickRow: d, adaptive: i }) => {
|
|
1669
|
+
const [o] = N(r ?? Rt(n));
|
|
1670
|
+
return /* @__PURE__ */ e.jsx("div", { className: `table-container mt-3 ${d ? "clicked" : ""} ${i ? "auto-rotate" : ""}`, children: /* @__PURE__ */ e.jsxs("table", { children: [
|
|
1671
|
+
/* @__PURE__ */ e.jsx("thead", { children: /* @__PURE__ */ e.jsxs("tr", { children: [
|
|
1672
|
+
o.map((h, u) => /* @__PURE__ */ e.jsx("th", { className: "min-width", children: h.title }, u)),
|
|
1673
|
+
l ? /* @__PURE__ */ e.jsx("th", { className: "table-actions-header", children: "actions" }) : null,
|
|
1674
|
+
s || a || c ? /* @__PURE__ */ e.jsx("th", { className: "table-actions-header" }) : null
|
|
1677
1675
|
] }) }),
|
|
1678
|
-
/* @__PURE__ */
|
|
1676
|
+
/* @__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: c }, u)) })
|
|
1679
1677
|
] }) });
|
|
1680
1678
|
};
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
*/
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
}
|
|
1701
|
-
var Dt;
|
|
1702
|
-
(function(e) {
|
|
1703
|
-
e.Pop = "POP", e.Push = "PUSH", e.Replace = "REPLACE";
|
|
1704
|
-
})(Dt || (Dt = {}));
|
|
1705
|
-
function F(e, n) {
|
|
1706
|
-
if (e === !1 || e === null || typeof e > "u")
|
|
1707
|
-
throw new Error(n);
|
|
1708
|
-
}
|
|
1709
|
-
function ve(e, n) {
|
|
1710
|
-
if (!e) {
|
|
1711
|
-
typeof console < "u" && console.warn(n);
|
|
1712
|
-
try {
|
|
1713
|
-
throw new Error(n);
|
|
1714
|
-
} catch {
|
|
1715
|
-
}
|
|
1716
|
-
}
|
|
1717
|
-
}
|
|
1718
|
-
function He(e) {
|
|
1719
|
-
let {
|
|
1720
|
-
pathname: n = "/",
|
|
1721
|
-
search: r = "",
|
|
1722
|
-
hash: a = ""
|
|
1723
|
-
} = e;
|
|
1724
|
-
return r && r !== "?" && (n += r.charAt(0) === "?" ? r : "?" + r), a && a !== "#" && (n += a.charAt(0) === "#" ? a : "#" + a), n;
|
|
1725
|
-
}
|
|
1726
|
-
function Yt(e) {
|
|
1727
|
-
let n = {};
|
|
1728
|
-
if (e) {
|
|
1729
|
-
let r = e.indexOf("#");
|
|
1730
|
-
r >= 0 && (n.hash = e.substr(r), e = e.substr(0, r));
|
|
1731
|
-
let a = e.indexOf("?");
|
|
1732
|
-
a >= 0 && (n.search = e.substr(a), e = e.substr(0, a)), e && (n.pathname = e);
|
|
1733
|
-
}
|
|
1734
|
-
return n;
|
|
1735
|
-
}
|
|
1736
|
-
var Pt;
|
|
1737
|
-
(function(e) {
|
|
1738
|
-
e.data = "data", e.deferred = "deferred", e.redirect = "redirect", e.error = "error";
|
|
1739
|
-
})(Pt || (Pt = {}));
|
|
1740
|
-
function $t(e, n) {
|
|
1741
|
-
typeof e == "string" && (e = {
|
|
1742
|
-
path: e,
|
|
1743
|
-
caseSensitive: !1,
|
|
1744
|
-
end: !0
|
|
1745
|
-
});
|
|
1746
|
-
let [r, a] = yr(e.path, e.caseSensitive, e.end), s = n.match(r);
|
|
1747
|
-
if (!s)
|
|
1748
|
-
return null;
|
|
1749
|
-
let l = s[0], u = l.replace(/(.)\/+$/, "$1"), c = s.slice(1);
|
|
1750
|
-
return {
|
|
1751
|
-
params: a.reduce((d, f, m) => {
|
|
1752
|
-
let {
|
|
1753
|
-
paramName: x,
|
|
1754
|
-
isOptional: j
|
|
1755
|
-
} = f;
|
|
1756
|
-
if (x === "*") {
|
|
1757
|
-
let C = c[m] || "";
|
|
1758
|
-
u = l.slice(0, l.length - C.length).replace(/(.)\/+$/, "$1");
|
|
1759
|
-
}
|
|
1760
|
-
const g = c[m];
|
|
1761
|
-
return j && !g ? d[x] = void 0 : d[x] = (g || "").replace(/%2F/g, "/"), d;
|
|
1762
|
-
}, {}),
|
|
1763
|
-
pathname: l,
|
|
1764
|
-
pathnameBase: u,
|
|
1765
|
-
pattern: e
|
|
1766
|
-
};
|
|
1767
|
-
}
|
|
1768
|
-
function yr(e, n, r) {
|
|
1769
|
-
n === void 0 && (n = !1), r === void 0 && (r = !0), ve(e === "*" || !e.endsWith("*") || e.endsWith("/*"), 'Route path "' + e + '" will be treated as if it were ' + ('"' + e.replace(/\*$/, "/*") + '" because the `*` character must ') + "always follow a `/` in the pattern. To get rid of this warning, " + ('please change the route path to "' + e.replace(/\*$/, "/*") + '".'));
|
|
1770
|
-
let a = [], s = "^" + e.replace(/\/*\*?$/, "").replace(/^\/*/, "/").replace(/[\\.*+^${}|()[\]]/g, "\\$&").replace(/\/:([\w-]+)(\?)?/g, (u, c, o) => (a.push({
|
|
1771
|
-
paramName: c,
|
|
1772
|
-
isOptional: o != null
|
|
1773
|
-
}), o ? "/?([^\\/]+)?" : "/([^\\/]+)"));
|
|
1774
|
-
return e.endsWith("*") ? (a.push({
|
|
1775
|
-
paramName: "*"
|
|
1776
|
-
}), s += e === "*" || e === "/*" ? "(.*)$" : "(?:\\/(.+)|\\/*)$") : r ? s += "\\/*$" : e !== "" && e !== "/" && (s += "(?:(?=\\/|$))"), [new RegExp(s, n ? void 0 : "i"), a];
|
|
1777
|
-
}
|
|
1778
|
-
function se(e, n) {
|
|
1779
|
-
if (n === "/")
|
|
1780
|
-
return e;
|
|
1781
|
-
if (!e.toLowerCase().startsWith(n.toLowerCase()))
|
|
1782
|
-
return null;
|
|
1783
|
-
let r = n.endsWith("/") ? n.length - 1 : n.length, a = e.charAt(r);
|
|
1784
|
-
return a && a !== "/" ? null : e.slice(r) || "/";
|
|
1785
|
-
}
|
|
1786
|
-
function br(e, n) {
|
|
1787
|
-
n === void 0 && (n = "/");
|
|
1788
|
-
let {
|
|
1789
|
-
pathname: r,
|
|
1790
|
-
search: a = "",
|
|
1791
|
-
hash: s = ""
|
|
1792
|
-
} = typeof e == "string" ? Yt(e) : e;
|
|
1793
|
-
return {
|
|
1794
|
-
pathname: r ? r.startsWith("/") ? r : Nr(r, n) : n,
|
|
1795
|
-
search: kr(a),
|
|
1796
|
-
hash: wr(s)
|
|
1797
|
-
};
|
|
1798
|
-
}
|
|
1799
|
-
function Nr(e, n) {
|
|
1800
|
-
let r = n.replace(/\/+$/, "").split("/");
|
|
1801
|
-
return e.split("/").forEach((s) => {
|
|
1802
|
-
s === ".." ? r.length > 1 && r.pop() : s !== "." && r.push(s);
|
|
1803
|
-
}), r.length > 1 ? r.join("/") : "/";
|
|
1804
|
-
}
|
|
1805
|
-
function ze(e, n, r, a) {
|
|
1806
|
-
return "Cannot include a '" + e + "' character in a manually specified " + ("`to." + n + "` field [" + JSON.stringify(a) + "]. Please separate it out to the ") + ("`to." + r + "` field. Alternatively you may provide the full path as ") + 'a string in <Link to="..."> and the router will parse it for you.';
|
|
1807
|
-
}
|
|
1808
|
-
function Cr(e) {
|
|
1809
|
-
return e.filter((n, r) => r === 0 || n.route.path && n.route.path.length > 0);
|
|
1810
|
-
}
|
|
1811
|
-
function zt(e, n) {
|
|
1812
|
-
let r = Cr(e);
|
|
1813
|
-
return n ? r.map((a, s) => s === e.length - 1 ? a.pathname : a.pathnameBase) : r.map((a) => a.pathnameBase);
|
|
1814
|
-
}
|
|
1815
|
-
function Kt(e, n, r, a) {
|
|
1816
|
-
a === void 0 && (a = !1);
|
|
1817
|
-
let s;
|
|
1818
|
-
typeof e == "string" ? s = Yt(e) : (s = Ge({}, e), F(!s.pathname || !s.pathname.includes("?"), ze("?", "pathname", "search", s)), F(!s.pathname || !s.pathname.includes("#"), ze("#", "pathname", "hash", s)), F(!s.search || !s.search.includes("#"), ze("#", "search", "hash", s)));
|
|
1819
|
-
let l = e === "" || s.pathname === "", u = l ? "/" : s.pathname, c;
|
|
1820
|
-
if (u == null)
|
|
1821
|
-
c = r;
|
|
1822
|
-
else {
|
|
1823
|
-
let m = n.length - 1;
|
|
1824
|
-
if (!a && u.startsWith("..")) {
|
|
1825
|
-
let x = u.split("/");
|
|
1826
|
-
for (; x[0] === ".."; )
|
|
1827
|
-
x.shift(), m -= 1;
|
|
1828
|
-
s.pathname = x.join("/");
|
|
1829
|
-
}
|
|
1830
|
-
c = m >= 0 ? n[m] : "/";
|
|
1831
|
-
}
|
|
1832
|
-
let o = br(s, c), d = u && u !== "/" && u.endsWith("/"), f = (l || u === ".") && r.endsWith("/");
|
|
1833
|
-
return !o.pathname.endsWith("/") && (d || f) && (o.pathname += "/"), o;
|
|
1834
|
-
}
|
|
1835
|
-
const Qe = (e) => e.join("/").replace(/\/\/+/g, "/"), kr = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, wr = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e, qt = ["post", "put", "patch", "delete"];
|
|
1836
|
-
new Set(qt);
|
|
1837
|
-
const Er = ["get", ...qt];
|
|
1838
|
-
new Set(Er);
|
|
1839
|
-
/**
|
|
1840
|
-
* React Router v6.23.0
|
|
1841
|
-
*
|
|
1842
|
-
* Copyright (c) Remix Software Inc.
|
|
1843
|
-
*
|
|
1844
|
-
* This source code is licensed under the MIT license found in the
|
|
1845
|
-
* LICENSE.md file in the root directory of this source tree.
|
|
1846
|
-
*
|
|
1847
|
-
* @license MIT
|
|
1848
|
-
*/
|
|
1849
|
-
function Ze() {
|
|
1850
|
-
return Ze = Object.assign ? Object.assign.bind() : function(e) {
|
|
1851
|
-
for (var n = 1; n < arguments.length; n++) {
|
|
1852
|
-
var r = arguments[n];
|
|
1853
|
-
for (var a in r)
|
|
1854
|
-
Object.prototype.hasOwnProperty.call(r, a) && (e[a] = r[a]);
|
|
1855
|
-
}
|
|
1856
|
-
return e;
|
|
1857
|
-
}, Ze.apply(this, arguments);
|
|
1858
|
-
}
|
|
1859
|
-
const Oe = /* @__PURE__ */ N.createContext(null);
|
|
1860
|
-
process.env.NODE_ENV !== "production" && (Oe.displayName = "DataRouter");
|
|
1861
|
-
const Xt = /* @__PURE__ */ N.createContext(null);
|
|
1862
|
-
process.env.NODE_ENV !== "production" && (Xt.displayName = "DataRouterState");
|
|
1863
|
-
const Rr = /* @__PURE__ */ N.createContext(null);
|
|
1864
|
-
process.env.NODE_ENV !== "production" && (Rr.displayName = "Await");
|
|
1865
|
-
const H = /* @__PURE__ */ N.createContext(null);
|
|
1866
|
-
process.env.NODE_ENV !== "production" && (H.displayName = "Navigation");
|
|
1867
|
-
const et = /* @__PURE__ */ N.createContext(null);
|
|
1868
|
-
process.env.NODE_ENV !== "production" && (et.displayName = "Location");
|
|
1869
|
-
const le = /* @__PURE__ */ N.createContext({
|
|
1870
|
-
outlet: null,
|
|
1871
|
-
matches: [],
|
|
1872
|
-
isDataRoute: !1
|
|
1873
|
-
});
|
|
1874
|
-
process.env.NODE_ENV !== "production" && (le.displayName = "Route");
|
|
1875
|
-
const Sr = /* @__PURE__ */ N.createContext(null);
|
|
1876
|
-
process.env.NODE_ENV !== "production" && (Sr.displayName = "RouteError");
|
|
1877
|
-
function _r(e, n) {
|
|
1878
|
-
let {
|
|
1879
|
-
relative: r
|
|
1880
|
-
} = n === void 0 ? {} : n;
|
|
1881
|
-
tt() || (process.env.NODE_ENV !== "production" ? F(
|
|
1882
|
-
!1,
|
|
1883
|
-
// TODO: This error is probably because they somehow have 2 versions of the
|
|
1884
|
-
// router loaded. We can help them understand how to avoid that.
|
|
1885
|
-
"useHref() may be used only in the context of a <Router> component."
|
|
1886
|
-
) : F(!1));
|
|
1887
|
-
let {
|
|
1888
|
-
basename: a,
|
|
1889
|
-
navigator: s
|
|
1890
|
-
} = N.useContext(H), {
|
|
1891
|
-
hash: l,
|
|
1892
|
-
pathname: u,
|
|
1893
|
-
search: c
|
|
1894
|
-
} = je(e, {
|
|
1895
|
-
relative: r
|
|
1896
|
-
}), o = u;
|
|
1897
|
-
return a !== "/" && (o = u === "/" ? a : Qe([a, u])), s.createHref({
|
|
1898
|
-
pathname: o,
|
|
1899
|
-
search: c,
|
|
1900
|
-
hash: l
|
|
1901
|
-
});
|
|
1902
|
-
}
|
|
1903
|
-
function tt() {
|
|
1904
|
-
return N.useContext(et) != null;
|
|
1905
|
-
}
|
|
1906
|
-
function pe() {
|
|
1907
|
-
return tt() || (process.env.NODE_ENV !== "production" ? F(
|
|
1908
|
-
!1,
|
|
1909
|
-
// TODO: This error is probably because they somehow have 2 versions of the
|
|
1910
|
-
// router loaded. We can help them understand how to avoid that.
|
|
1911
|
-
"useLocation() may be used only in the context of a <Router> component."
|
|
1912
|
-
) : F(!1)), N.useContext(et).location;
|
|
1913
|
-
}
|
|
1914
|
-
const Jt = "You should call navigate() in a React.useEffect(), not when your component is first rendered.";
|
|
1915
|
-
function Gt(e) {
|
|
1916
|
-
N.useContext(H).static || N.useLayoutEffect(e);
|
|
1917
|
-
}
|
|
1918
|
-
function Tr() {
|
|
1919
|
-
let {
|
|
1920
|
-
isDataRoute: e
|
|
1921
|
-
} = N.useContext(le);
|
|
1922
|
-
return e ? Fr() : Or();
|
|
1923
|
-
}
|
|
1924
|
-
function Or() {
|
|
1925
|
-
tt() || (process.env.NODE_ENV !== "production" ? F(
|
|
1926
|
-
!1,
|
|
1927
|
-
// TODO: This error is probably because they somehow have 2 versions of the
|
|
1928
|
-
// router loaded. We can help them understand how to avoid that.
|
|
1929
|
-
"useNavigate() may be used only in the context of a <Router> component."
|
|
1930
|
-
) : F(!1));
|
|
1931
|
-
let e = N.useContext(Oe), {
|
|
1932
|
-
basename: n,
|
|
1933
|
-
future: r,
|
|
1934
|
-
navigator: a
|
|
1935
|
-
} = N.useContext(H), {
|
|
1936
|
-
matches: s
|
|
1937
|
-
} = N.useContext(le), {
|
|
1938
|
-
pathname: l
|
|
1939
|
-
} = pe(), u = JSON.stringify(zt(s, r.v7_relativeSplatPath)), c = N.useRef(!1);
|
|
1940
|
-
return Gt(() => {
|
|
1941
|
-
c.current = !0;
|
|
1942
|
-
}), N.useCallback(function(d, f) {
|
|
1943
|
-
if (f === void 0 && (f = {}), process.env.NODE_ENV !== "production" && ve(c.current, Jt), !c.current)
|
|
1944
|
-
return;
|
|
1945
|
-
if (typeof d == "number") {
|
|
1946
|
-
a.go(d);
|
|
1947
|
-
return;
|
|
1948
|
-
}
|
|
1949
|
-
let m = Kt(d, JSON.parse(u), l, f.relative === "path");
|
|
1950
|
-
e == null && n !== "/" && (m.pathname = m.pathname === "/" ? n : Qe([n, m.pathname])), (f.replace ? a.replace : a.push)(m, f.state, f);
|
|
1951
|
-
}, [n, a, u, l, e]);
|
|
1952
|
-
}
|
|
1953
|
-
function je(e, n) {
|
|
1954
|
-
let {
|
|
1955
|
-
relative: r
|
|
1956
|
-
} = n === void 0 ? {} : n, {
|
|
1957
|
-
future: a
|
|
1958
|
-
} = N.useContext(H), {
|
|
1959
|
-
matches: s
|
|
1960
|
-
} = N.useContext(le), {
|
|
1961
|
-
pathname: l
|
|
1962
|
-
} = pe(), u = JSON.stringify(zt(s, a.v7_relativeSplatPath));
|
|
1963
|
-
return N.useMemo(() => Kt(e, JSON.parse(u), l, r === "path"), [e, u, l, r]);
|
|
1964
|
-
}
|
|
1965
|
-
var Ht = /* @__PURE__ */ function(e) {
|
|
1966
|
-
return e.UseBlocker = "useBlocker", e.UseRevalidator = "useRevalidator", e.UseNavigateStable = "useNavigate", e;
|
|
1967
|
-
}(Ht || {}), nt = /* @__PURE__ */ function(e) {
|
|
1968
|
-
return e.UseBlocker = "useBlocker", e.UseLoaderData = "useLoaderData", e.UseActionData = "useActionData", e.UseRouteError = "useRouteError", e.UseNavigation = "useNavigation", e.UseRouteLoaderData = "useRouteLoaderData", e.UseMatches = "useMatches", e.UseRevalidator = "useRevalidator", e.UseNavigateStable = "useNavigate", e.UseRouteId = "useRouteId", e;
|
|
1969
|
-
}(nt || {});
|
|
1970
|
-
function Zt(e) {
|
|
1971
|
-
return e + " must be used within a data router. See https://reactrouter.com/routers/picking-a-router.";
|
|
1972
|
-
}
|
|
1973
|
-
function Dr(e) {
|
|
1974
|
-
let n = N.useContext(Oe);
|
|
1975
|
-
return n || (process.env.NODE_ENV !== "production" ? F(!1, Zt(e)) : F(!1)), n;
|
|
1976
|
-
}
|
|
1977
|
-
function Pr(e) {
|
|
1978
|
-
let n = N.useContext(le);
|
|
1979
|
-
return n || (process.env.NODE_ENV !== "production" ? F(!1, Zt(e)) : F(!1)), n;
|
|
1980
|
-
}
|
|
1981
|
-
function Qt(e) {
|
|
1982
|
-
let n = Pr(e), r = n.matches[n.matches.length - 1];
|
|
1983
|
-
return r.route.id || (process.env.NODE_ENV !== "production" ? F(!1, e + ' can only be used on routes that contain a unique "id"') : F(!1)), r.route.id;
|
|
1984
|
-
}
|
|
1985
|
-
function $r() {
|
|
1986
|
-
return Qt(nt.UseRouteId);
|
|
1987
|
-
}
|
|
1988
|
-
function Fr() {
|
|
1989
|
-
let {
|
|
1990
|
-
router: e
|
|
1991
|
-
} = Dr(Ht.UseNavigateStable), n = Qt(nt.UseNavigateStable), r = N.useRef(!1);
|
|
1992
|
-
return Gt(() => {
|
|
1993
|
-
r.current = !0;
|
|
1994
|
-
}), N.useCallback(function(s, l) {
|
|
1995
|
-
l === void 0 && (l = {}), process.env.NODE_ENV !== "production" && ve(r.current, Jt), r.current && (typeof s == "number" ? e.navigate(s) : e.navigate(s, Ze({
|
|
1996
|
-
fromRouteId: n
|
|
1997
|
-
}, l)));
|
|
1998
|
-
}, [e, n]);
|
|
1999
|
-
}
|
|
2000
|
-
new Promise(() => {
|
|
2001
|
-
});
|
|
2002
|
-
/**
|
|
2003
|
-
* React Router DOM v6.23.0
|
|
2004
|
-
*
|
|
2005
|
-
* Copyright (c) Remix Software Inc.
|
|
2006
|
-
*
|
|
2007
|
-
* This source code is licensed under the MIT license found in the
|
|
2008
|
-
* LICENSE.md file in the root directory of this source tree.
|
|
2009
|
-
*
|
|
2010
|
-
* @license MIT
|
|
2011
|
-
*/
|
|
2012
|
-
function ie() {
|
|
2013
|
-
return ie = Object.assign ? Object.assign.bind() : function(e) {
|
|
2014
|
-
for (var n = 1; n < arguments.length; n++) {
|
|
2015
|
-
var r = arguments[n];
|
|
2016
|
-
for (var a in r)
|
|
2017
|
-
Object.prototype.hasOwnProperty.call(r, a) && (e[a] = r[a]);
|
|
2018
|
-
}
|
|
2019
|
-
return e;
|
|
2020
|
-
}, ie.apply(this, arguments);
|
|
2021
|
-
}
|
|
2022
|
-
function rt(e, n) {
|
|
2023
|
-
if (e == null)
|
|
2024
|
-
return {};
|
|
2025
|
-
var r = {}, a = Object.keys(e), s, l;
|
|
2026
|
-
for (l = 0; l < a.length; l++)
|
|
2027
|
-
s = a[l], !(n.indexOf(s) >= 0) && (r[s] = e[s]);
|
|
2028
|
-
return r;
|
|
2029
|
-
}
|
|
2030
|
-
const Ee = "get", Re = "application/x-www-form-urlencoded";
|
|
2031
|
-
function De(e) {
|
|
2032
|
-
return e != null && typeof e.tagName == "string";
|
|
2033
|
-
}
|
|
2034
|
-
function Mr(e) {
|
|
2035
|
-
return De(e) && e.tagName.toLowerCase() === "button";
|
|
2036
|
-
}
|
|
2037
|
-
function Ar(e) {
|
|
2038
|
-
return De(e) && e.tagName.toLowerCase() === "form";
|
|
2039
|
-
}
|
|
2040
|
-
function Lr(e) {
|
|
2041
|
-
return De(e) && e.tagName.toLowerCase() === "input";
|
|
2042
|
-
}
|
|
2043
|
-
function Vr(e) {
|
|
2044
|
-
return !!(e.metaKey || e.altKey || e.ctrlKey || e.shiftKey);
|
|
2045
|
-
}
|
|
2046
|
-
function Ir(e, n) {
|
|
2047
|
-
return e.button === 0 && // Ignore everything but left clicks
|
|
2048
|
-
(!n || n === "_self") && // Let browser handle "target=_blank" etc.
|
|
2049
|
-
!Vr(e);
|
|
2050
|
-
}
|
|
2051
|
-
let Ce = null;
|
|
2052
|
-
function Wr() {
|
|
2053
|
-
if (Ce === null)
|
|
2054
|
-
try {
|
|
2055
|
-
new FormData(
|
|
2056
|
-
document.createElement("form"),
|
|
2057
|
-
// @ts-expect-error if FormData supports the submitter parameter, this will throw
|
|
2058
|
-
0
|
|
2059
|
-
), Ce = !1;
|
|
2060
|
-
} catch {
|
|
2061
|
-
Ce = !0;
|
|
2062
|
-
}
|
|
2063
|
-
return Ce;
|
|
2064
|
-
}
|
|
2065
|
-
const Ur = /* @__PURE__ */ new Set(["application/x-www-form-urlencoded", "multipart/form-data", "text/plain"]);
|
|
2066
|
-
function Ke(e) {
|
|
2067
|
-
return e != null && !Ur.has(e) ? (process.env.NODE_ENV !== "production" && ve(!1, '"' + e + '" is not a valid `encType` for `<Form>`/`<fetcher.Form>` ' + ('and will default to "' + Re + '"')), null) : e;
|
|
2068
|
-
}
|
|
2069
|
-
function Br(e, n) {
|
|
2070
|
-
let r, a, s, l, u;
|
|
2071
|
-
if (Ar(e)) {
|
|
2072
|
-
let c = e.getAttribute("action");
|
|
2073
|
-
a = c ? se(c, n) : null, r = e.getAttribute("method") || Ee, s = Ke(e.getAttribute("enctype")) || Re, l = new FormData(e);
|
|
2074
|
-
} else if (Mr(e) || Lr(e) && (e.type === "submit" || e.type === "image")) {
|
|
2075
|
-
let c = e.form;
|
|
2076
|
-
if (c == null)
|
|
2077
|
-
throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');
|
|
2078
|
-
let o = e.getAttribute("formaction") || c.getAttribute("action");
|
|
2079
|
-
if (a = o ? se(o, n) : null, r = e.getAttribute("formmethod") || c.getAttribute("method") || Ee, s = Ke(e.getAttribute("formenctype")) || Ke(c.getAttribute("enctype")) || Re, l = new FormData(c, e), !Wr()) {
|
|
2080
|
-
let {
|
|
2081
|
-
name: d,
|
|
2082
|
-
type: f,
|
|
2083
|
-
value: m
|
|
2084
|
-
} = e;
|
|
2085
|
-
if (f === "image") {
|
|
2086
|
-
let x = d ? d + "." : "";
|
|
2087
|
-
l.append(x + "x", "0"), l.append(x + "y", "0");
|
|
2088
|
-
} else
|
|
2089
|
-
d && l.append(d, m);
|
|
2090
|
-
}
|
|
2091
|
-
} else {
|
|
2092
|
-
if (De(e))
|
|
2093
|
-
throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');
|
|
2094
|
-
r = Ee, a = null, s = Re, u = e;
|
|
2095
|
-
}
|
|
2096
|
-
return l && s === "text/plain" && (u = l, l = void 0), {
|
|
2097
|
-
action: a,
|
|
2098
|
-
method: r.toLowerCase(),
|
|
2099
|
-
encType: s,
|
|
2100
|
-
formData: l,
|
|
2101
|
-
body: u
|
|
2102
|
-
};
|
|
2103
|
-
}
|
|
2104
|
-
const Yr = ["onClick", "relative", "reloadDocument", "replace", "state", "target", "to", "preventScrollReset", "unstable_viewTransition"], zr = ["aria-current", "caseSensitive", "className", "end", "style", "to", "unstable_viewTransition", "children"], Kr = ["fetcherKey", "navigate", "reloadDocument", "replace", "state", "method", "action", "onSubmit", "relative", "preventScrollReset", "unstable_viewTransition"], qr = "6";
|
|
2105
|
-
try {
|
|
2106
|
-
window.__reactRouterVersion = qr;
|
|
2107
|
-
} catch {
|
|
2108
|
-
}
|
|
2109
|
-
const en = /* @__PURE__ */ N.createContext({
|
|
2110
|
-
isTransitioning: !1
|
|
2111
|
-
});
|
|
2112
|
-
process.env.NODE_ENV !== "production" && (en.displayName = "ViewTransition");
|
|
2113
|
-
const Xr = /* @__PURE__ */ N.createContext(/* @__PURE__ */ new Map());
|
|
2114
|
-
process.env.NODE_ENV !== "production" && (Xr.displayName = "Fetchers");
|
|
2115
|
-
process.env.NODE_ENV;
|
|
2116
|
-
const Jr = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u", Gr = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, tn = /* @__PURE__ */ N.forwardRef(function(n, r) {
|
|
2117
|
-
let {
|
|
2118
|
-
onClick: a,
|
|
2119
|
-
relative: s,
|
|
2120
|
-
reloadDocument: l,
|
|
2121
|
-
replace: u,
|
|
2122
|
-
state: c,
|
|
2123
|
-
target: o,
|
|
2124
|
-
to: d,
|
|
2125
|
-
preventScrollReset: f,
|
|
2126
|
-
unstable_viewTransition: m
|
|
2127
|
-
} = n, x = rt(n, Yr), {
|
|
2128
|
-
basename: j
|
|
2129
|
-
} = N.useContext(H), g, C = !1;
|
|
2130
|
-
if (typeof d == "string" && Gr.test(d) && (g = d, Jr))
|
|
2131
|
-
try {
|
|
2132
|
-
let S = new URL(window.location.href), p = d.startsWith("//") ? new URL(S.protocol + d) : new URL(d), T = se(p.pathname, j);
|
|
2133
|
-
p.origin === S.origin && T != null ? d = T + p.search + p.hash : C = !0;
|
|
2134
|
-
} catch {
|
|
2135
|
-
process.env.NODE_ENV !== "production" && ve(!1, '<Link to="' + d + '"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.');
|
|
2136
|
-
}
|
|
2137
|
-
let _ = _r(d, {
|
|
2138
|
-
relative: s
|
|
2139
|
-
}), O = Qr(d, {
|
|
2140
|
-
replace: u,
|
|
2141
|
-
state: c,
|
|
2142
|
-
target: o,
|
|
2143
|
-
preventScrollReset: f,
|
|
2144
|
-
relative: s,
|
|
2145
|
-
unstable_viewTransition: m
|
|
2146
|
-
});
|
|
2147
|
-
function y(S) {
|
|
2148
|
-
a && a(S), S.defaultPrevented || O(S);
|
|
2149
|
-
}
|
|
2150
|
-
return (
|
|
2151
|
-
// eslint-disable-next-line jsx-a11y/anchor-has-content
|
|
2152
|
-
/* @__PURE__ */ N.createElement("a", ie({}, x, {
|
|
2153
|
-
href: g || _,
|
|
2154
|
-
onClick: C || l ? a : y,
|
|
2155
|
-
ref: r,
|
|
2156
|
-
target: o
|
|
2157
|
-
}))
|
|
2158
|
-
);
|
|
2159
|
-
});
|
|
2160
|
-
process.env.NODE_ENV !== "production" && (tn.displayName = "Link");
|
|
2161
|
-
const Pe = /* @__PURE__ */ N.forwardRef(function(n, r) {
|
|
2162
|
-
let {
|
|
2163
|
-
"aria-current": a = "page",
|
|
2164
|
-
caseSensitive: s = !1,
|
|
2165
|
-
className: l = "",
|
|
2166
|
-
end: u = !1,
|
|
2167
|
-
style: c,
|
|
2168
|
-
to: o,
|
|
2169
|
-
unstable_viewTransition: d,
|
|
2170
|
-
children: f
|
|
2171
|
-
} = n, m = rt(n, zr), x = je(o, {
|
|
2172
|
-
relative: m.relative
|
|
2173
|
-
}), j = pe(), g = N.useContext(Xt), {
|
|
2174
|
-
navigator: C,
|
|
2175
|
-
basename: _
|
|
2176
|
-
} = N.useContext(H), O = g != null && // Conditional usage is OK here because the usage of a data router is static
|
|
2177
|
-
// eslint-disable-next-line react-hooks/rules-of-hooks
|
|
2178
|
-
sa(x) && d === !0, y = C.encodeLocation ? C.encodeLocation(x).pathname : x.pathname, S = j.pathname, p = g && g.navigation && g.navigation.location ? g.navigation.location.pathname : null;
|
|
2179
|
-
s || (S = S.toLowerCase(), p = p ? p.toLowerCase() : null, y = y.toLowerCase()), p && _ && (p = se(p, _) || p);
|
|
2180
|
-
const T = y !== "/" && y.endsWith("/") ? y.length - 1 : y.length;
|
|
2181
|
-
let I = S === y || !u && S.startsWith(y) && S.charAt(T) === "/", z = p != null && (p === y || !u && p.startsWith(y) && p.charAt(y.length) === "/"), q = {
|
|
2182
|
-
isActive: I,
|
|
2183
|
-
isPending: z,
|
|
2184
|
-
isTransitioning: O
|
|
2185
|
-
}, Z = I ? a : void 0, Q;
|
|
2186
|
-
typeof l == "function" ? Q = l(q) : Q = [l, I ? "active" : null, z ? "pending" : null, O ? "transitioning" : null].filter(Boolean).join(" ");
|
|
2187
|
-
let X = typeof c == "function" ? c(q) : c;
|
|
2188
|
-
return /* @__PURE__ */ N.createElement(tn, ie({}, m, {
|
|
2189
|
-
"aria-current": Z,
|
|
2190
|
-
className: Q,
|
|
2191
|
-
ref: r,
|
|
2192
|
-
style: X,
|
|
2193
|
-
to: o,
|
|
2194
|
-
unstable_viewTransition: d
|
|
2195
|
-
}), typeof f == "function" ? f(q) : f);
|
|
2196
|
-
});
|
|
2197
|
-
process.env.NODE_ENV !== "production" && (Pe.displayName = "NavLink");
|
|
2198
|
-
const Hr = /* @__PURE__ */ N.forwardRef((e, n) => {
|
|
2199
|
-
let {
|
|
2200
|
-
fetcherKey: r,
|
|
2201
|
-
navigate: a,
|
|
2202
|
-
reloadDocument: s,
|
|
2203
|
-
replace: l,
|
|
2204
|
-
state: u,
|
|
2205
|
-
method: c = Ee,
|
|
2206
|
-
action: o,
|
|
2207
|
-
onSubmit: d,
|
|
2208
|
-
relative: f,
|
|
2209
|
-
preventScrollReset: m,
|
|
2210
|
-
unstable_viewTransition: x
|
|
2211
|
-
} = e, j = rt(e, Kr), g = ra(), C = aa(o, {
|
|
2212
|
-
relative: f
|
|
2213
|
-
}), _ = c.toLowerCase() === "get" ? "get" : "post", O = (y) => {
|
|
2214
|
-
if (d && d(y), y.defaultPrevented)
|
|
2215
|
-
return;
|
|
2216
|
-
y.preventDefault();
|
|
2217
|
-
let S = y.nativeEvent.submitter, p = (S == null ? void 0 : S.getAttribute("formmethod")) || c;
|
|
2218
|
-
g(S || y.currentTarget, {
|
|
2219
|
-
fetcherKey: r,
|
|
2220
|
-
method: p,
|
|
2221
|
-
navigate: a,
|
|
2222
|
-
replace: l,
|
|
2223
|
-
state: u,
|
|
2224
|
-
relative: f,
|
|
2225
|
-
preventScrollReset: m,
|
|
2226
|
-
unstable_viewTransition: x
|
|
2227
|
-
});
|
|
2228
|
-
};
|
|
2229
|
-
return /* @__PURE__ */ N.createElement("form", ie({
|
|
2230
|
-
ref: n,
|
|
2231
|
-
method: _,
|
|
2232
|
-
action: C,
|
|
2233
|
-
onSubmit: s ? d : O
|
|
2234
|
-
}, j));
|
|
2235
|
-
});
|
|
2236
|
-
process.env.NODE_ENV !== "production" && (Hr.displayName = "Form");
|
|
2237
|
-
process.env.NODE_ENV;
|
|
2238
|
-
var Se;
|
|
2239
|
-
(function(e) {
|
|
2240
|
-
e.UseScrollRestoration = "useScrollRestoration", e.UseSubmit = "useSubmit", e.UseSubmitFetcher = "useSubmitFetcher", e.UseFetcher = "useFetcher", e.useViewTransitionState = "useViewTransitionState";
|
|
2241
|
-
})(Se || (Se = {}));
|
|
2242
|
-
var Ft;
|
|
2243
|
-
(function(e) {
|
|
2244
|
-
e.UseFetcher = "useFetcher", e.UseFetchers = "useFetchers", e.UseScrollRestoration = "useScrollRestoration";
|
|
2245
|
-
})(Ft || (Ft = {}));
|
|
2246
|
-
function Zr(e) {
|
|
2247
|
-
return e + " must be used within a data router. See https://reactrouter.com/routers/picking-a-router.";
|
|
2248
|
-
}
|
|
2249
|
-
function nn(e) {
|
|
2250
|
-
let n = N.useContext(Oe);
|
|
2251
|
-
return n || (process.env.NODE_ENV !== "production" ? F(!1, Zr(e)) : F(!1)), n;
|
|
2252
|
-
}
|
|
2253
|
-
function Qr(e, n) {
|
|
2254
|
-
let {
|
|
2255
|
-
target: r,
|
|
2256
|
-
replace: a,
|
|
2257
|
-
state: s,
|
|
2258
|
-
preventScrollReset: l,
|
|
2259
|
-
relative: u,
|
|
2260
|
-
unstable_viewTransition: c
|
|
2261
|
-
} = n === void 0 ? {} : n, o = Tr(), d = pe(), f = je(e, {
|
|
2262
|
-
relative: u
|
|
2263
|
-
});
|
|
2264
|
-
return N.useCallback((m) => {
|
|
2265
|
-
if (Ir(m, r)) {
|
|
2266
|
-
m.preventDefault();
|
|
2267
|
-
let x = a !== void 0 ? a : He(d) === He(f);
|
|
2268
|
-
o(e, {
|
|
2269
|
-
replace: x,
|
|
2270
|
-
state: s,
|
|
2271
|
-
preventScrollReset: l,
|
|
2272
|
-
relative: u,
|
|
2273
|
-
unstable_viewTransition: c
|
|
2274
|
-
});
|
|
2275
|
-
}
|
|
2276
|
-
}, [d, o, f, a, s, r, e, l, u, c]);
|
|
2277
|
-
}
|
|
2278
|
-
function ea() {
|
|
2279
|
-
if (typeof document > "u")
|
|
2280
|
-
throw new Error("You are calling submit during the server render. Try calling submit within a `useEffect` or callback instead.");
|
|
2281
|
-
}
|
|
2282
|
-
let ta = 0, na = () => "__" + String(++ta) + "__";
|
|
2283
|
-
function ra() {
|
|
2284
|
-
let {
|
|
2285
|
-
router: e
|
|
2286
|
-
} = nn(Se.UseSubmit), {
|
|
2287
|
-
basename: n
|
|
2288
|
-
} = N.useContext(H), r = $r();
|
|
2289
|
-
return N.useCallback(function(a, s) {
|
|
2290
|
-
s === void 0 && (s = {}), ea();
|
|
2291
|
-
let {
|
|
2292
|
-
action: l,
|
|
2293
|
-
method: u,
|
|
2294
|
-
encType: c,
|
|
2295
|
-
formData: o,
|
|
2296
|
-
body: d
|
|
2297
|
-
} = Br(a, n);
|
|
2298
|
-
if (s.navigate === !1) {
|
|
2299
|
-
let f = s.fetcherKey || na();
|
|
2300
|
-
e.fetch(f, r, s.action || l, {
|
|
2301
|
-
preventScrollReset: s.preventScrollReset,
|
|
2302
|
-
formData: o,
|
|
2303
|
-
body: d,
|
|
2304
|
-
formMethod: s.method || u,
|
|
2305
|
-
formEncType: s.encType || c,
|
|
2306
|
-
unstable_flushSync: s.unstable_flushSync
|
|
2307
|
-
});
|
|
2308
|
-
} else
|
|
2309
|
-
e.navigate(s.action || l, {
|
|
2310
|
-
preventScrollReset: s.preventScrollReset,
|
|
2311
|
-
formData: o,
|
|
2312
|
-
body: d,
|
|
2313
|
-
formMethod: s.method || u,
|
|
2314
|
-
formEncType: s.encType || c,
|
|
2315
|
-
replace: s.replace,
|
|
2316
|
-
state: s.state,
|
|
2317
|
-
fromRouteId: r,
|
|
2318
|
-
unstable_flushSync: s.unstable_flushSync,
|
|
2319
|
-
unstable_viewTransition: s.unstable_viewTransition
|
|
2320
|
-
});
|
|
2321
|
-
}, [e, n, r]);
|
|
2322
|
-
}
|
|
2323
|
-
function aa(e, n) {
|
|
2324
|
-
let {
|
|
2325
|
-
relative: r
|
|
2326
|
-
} = n === void 0 ? {} : n, {
|
|
2327
|
-
basename: a
|
|
2328
|
-
} = N.useContext(H), s = N.useContext(le);
|
|
2329
|
-
s || (process.env.NODE_ENV !== "production" ? F(!1, "useFormAction must be used inside a RouteContext") : F(!1));
|
|
2330
|
-
let [l] = s.matches.slice(-1), u = ie({}, je(e || ".", {
|
|
2331
|
-
relative: r
|
|
2332
|
-
})), c = pe();
|
|
2333
|
-
if (e == null) {
|
|
2334
|
-
u.search = c.search;
|
|
2335
|
-
let o = new URLSearchParams(u.search);
|
|
2336
|
-
o.has("index") && o.get("index") === "" && (o.delete("index"), u.search = o.toString() ? "?" + o.toString() : "");
|
|
2337
|
-
}
|
|
2338
|
-
return (!e || e === ".") && l.route.index && (u.search = u.search ? u.search.replace(/^\?/, "?index&") : "?index"), a !== "/" && (u.pathname = u.pathname === "/" ? a : Qe([a, u.pathname])), He(u);
|
|
2339
|
-
}
|
|
2340
|
-
function sa(e, n) {
|
|
2341
|
-
n === void 0 && (n = {});
|
|
2342
|
-
let r = N.useContext(en);
|
|
2343
|
-
r == null && (process.env.NODE_ENV !== "production" ? F(!1, "`unstable_useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?") : F(!1));
|
|
2344
|
-
let {
|
|
2345
|
-
basename: a
|
|
2346
|
-
} = nn(Se.useViewTransitionState), s = je(e, {
|
|
2347
|
-
relative: n.relative
|
|
2348
|
-
});
|
|
2349
|
-
if (!r.isTransitioning)
|
|
2350
|
-
return !1;
|
|
2351
|
-
let l = se(r.currentLocation.pathname, a) || r.currentLocation.pathname, u = se(r.nextLocation.pathname, a) || r.nextLocation.pathname;
|
|
2352
|
-
return $t(s.pathname, u) != null || $t(s.pathname, l) != null;
|
|
2353
|
-
}
|
|
2354
|
-
const ia = ({ icon: e, title: n, to: r }) => /* @__PURE__ */ t.jsxs(Pe, { to: r, className: "navigation-item", children: [
|
|
2355
|
-
/* @__PURE__ */ t.jsx("div", { className: "navigation-item-icon", children: e }),
|
|
2356
|
-
/* @__PURE__ */ t.jsx("div", { className: "navigation-item-text", children: n })
|
|
2357
|
-
] }), la = ({ onClick: e, icon: n, title: r }) => /* @__PURE__ */ t.jsxs("div", { onClick: e, className: "navigation-item", children: [
|
|
2358
|
-
/* @__PURE__ */ t.jsx("div", { className: "navigation-item-icon", children: n }),
|
|
2359
|
-
/* @__PURE__ */ t.jsx("div", { className: "navigation-item-text", children: r })
|
|
2360
|
-
] }), La = ({ btns: e }) => /* @__PURE__ */ t.jsx("div", { className: "navigation-bar-container", children: /* @__PURE__ */ t.jsx("div", { className: "block-content", children: e.map((n, r) => n.type === "button" ? /* @__PURE__ */ t.jsx(la, { icon: n.icon, onClick: n.onClick, title: n.text }, r) : n.type === "link" ? /* @__PURE__ */ t.jsx(ia, { icon: n.icon, to: n.to, title: n.text }, r) : null) }) });
|
|
2361
|
-
const Mt = ({ onClick: e, icon: n, title: r, to: a }) => /* @__PURE__ */ t.jsxs(Pe, { onClick: e, to: a, className: "navigation-item", children: [
|
|
2362
|
-
/* @__PURE__ */ t.jsx("div", { className: "navigation-item-icon", children: n }),
|
|
2363
|
-
/* @__PURE__ */ t.jsx("div", { className: "navigation-item-text", children: r })
|
|
2364
|
-
] }), ke = ({ onClick: e, icon: n, title: r }) => /* @__PURE__ */ t.jsxs("div", { onClick: e, className: "navigation-item", children: [
|
|
2365
|
-
/* @__PURE__ */ t.jsx("div", { className: "navigation-item-icon", children: n }),
|
|
2366
|
-
/* @__PURE__ */ t.jsx("div", { className: "navigation-item-text", children: r })
|
|
2367
|
-
] }), Va = ({ visible: e, firstBtn: n, mainBtn: r, onHide: a, otherBtn: s, backBtn: l, openAlways: u }) => /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
2368
|
-
/* @__PURE__ */ t.jsxs("div", { className: `navigation-drawer-container ${e || u ? "show" : "hide"}`, children: [
|
|
2369
|
-
n ? /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
2370
|
-
/* @__PURE__ */ t.jsxs("div", { className: "navigation-block", children: [
|
|
2371
|
-
/* @__PURE__ */ t.jsx("div", { className: "block-header" }),
|
|
2372
|
-
/* @__PURE__ */ t.jsx("div", { className: "block-content", children: /* @__PURE__ */ t.jsx(ke, { onClick: n.onClick, title: n.text, icon: n.icon ?? /* @__PURE__ */ t.jsx(Je, {}) }) })
|
|
1679
|
+
const $t = ({ icon: n, title: r, to: s }) => /* @__PURE__ */ e.jsxs("a", { href: s, className: `navigation-item ${window.location.pathname === s ? "active" : ""}`, children: [
|
|
1680
|
+
/* @__PURE__ */ e.jsx("div", { className: "navigation-item-icon", children: n }),
|
|
1681
|
+
/* @__PURE__ */ e.jsx("div", { className: "navigation-item-text", children: r })
|
|
1682
|
+
] }), Ot = ({ onClick: n, icon: r, title: s }) => /* @__PURE__ */ e.jsxs("div", { onClick: n, className: "navigation-item", children: [
|
|
1683
|
+
/* @__PURE__ */ e.jsx("div", { className: "navigation-item-icon", children: r }),
|
|
1684
|
+
/* @__PURE__ */ e.jsx("div", { className: "navigation-item-text", children: s })
|
|
1685
|
+
] }), lr = ({ 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(Ot, { icon: r.icon, onClick: r.onClick, title: r.text }, s) : r.type === "link" ? /* @__PURE__ */ e.jsx($t, { icon: r.icon, to: r.to, title: r.text }, s) : null) }) });
|
|
1686
|
+
const cn = ({ onClick: n, icon: r, title: s, to: a }) => /* @__PURE__ */ e.jsxs("a", { onClick: n, href: a, className: `navigation-item ${window.location.pathname === a ? "active" : ""}`, children: [
|
|
1687
|
+
/* @__PURE__ */ e.jsx("div", { className: "navigation-item-icon", children: r }),
|
|
1688
|
+
/* @__PURE__ */ e.jsx("div", { className: "navigation-item-text", children: s })
|
|
1689
|
+
] }), fe = ({ onClick: n, icon: r, title: s }) => /* @__PURE__ */ e.jsxs("div", { onClick: n, className: "navigation-item", children: [
|
|
1690
|
+
/* @__PURE__ */ e.jsx("div", { className: "navigation-item-icon", children: r }),
|
|
1691
|
+
/* @__PURE__ */ e.jsx("div", { className: "navigation-item-text", children: s })
|
|
1692
|
+
] }), or = ({ visible: n, firstBtn: r, mainBtn: s, onHide: a, otherBtn: c, backBtn: l, openAlways: d }) => /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1693
|
+
/* @__PURE__ */ e.jsxs("div", { className: `navigation-drawer-container ${n || d ? "show" : "hide"}`, children: [
|
|
1694
|
+
r ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1695
|
+
/* @__PURE__ */ e.jsxs("div", { className: "navigation-block", children: [
|
|
1696
|
+
/* @__PURE__ */ e.jsx("div", { className: "block-header" }),
|
|
1697
|
+
/* @__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, {}) }) })
|
|
2373
1698
|
] }),
|
|
2374
|
-
/* @__PURE__ */
|
|
1699
|
+
/* @__PURE__ */ e.jsx("div", { className: "divider-container", children: /* @__PURE__ */ e.jsx(W, {}) })
|
|
2375
1700
|
] }) : null,
|
|
2376
|
-
/* @__PURE__ */
|
|
2377
|
-
/* @__PURE__ */
|
|
2378
|
-
/* @__PURE__ */
|
|
1701
|
+
/* @__PURE__ */ e.jsxs("div", { className: "navigation-block", children: [
|
|
1702
|
+
/* @__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(cn, { onClick: () => a(), title: i.text, icon: i.icon, to: i.to }, o) : null) })
|
|
2379
1704
|
] }),
|
|
2380
|
-
/* @__PURE__ */
|
|
2381
|
-
/* @__PURE__ */
|
|
2382
|
-
/* @__PURE__ */
|
|
2383
|
-
/* @__PURE__ */
|
|
1705
|
+
/* @__PURE__ */ e.jsx("div", { className: "divider-container", children: /* @__PURE__ */ e.jsx(W, {}) }),
|
|
1706
|
+
/* @__PURE__ */ e.jsxs("div", { className: "navigation-block", children: [
|
|
1707
|
+
/* @__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(cn, { onClick: () => a(), title: i.text, icon: i.icon, to: i.to }, o) : null) })
|
|
2384
1709
|
] }),
|
|
2385
|
-
/* @__PURE__ */
|
|
2386
|
-
l ? /* @__PURE__ */
|
|
1710
|
+
/* @__PURE__ */ e.jsx("div", { className: "divider-container", children: /* @__PURE__ */ e.jsx(W, {}) }),
|
|
1711
|
+
l ? /* @__PURE__ */ e.jsx("div", { className: "navigation-block", children: /* @__PURE__ */ e.jsx(fe, { onClick: l.onClick, title: l.text, icon: l.icon }) }) : null
|
|
2387
1712
|
] }),
|
|
2388
|
-
|
|
1713
|
+
n && !d ? /* @__PURE__ */ e.jsx("div", { className: "backplate", style: { zIndex: 1100 }, onClick: () => a() }) : null
|
|
2389
1714
|
] });
|
|
2390
|
-
const
|
|
2391
|
-
/* @__PURE__ */
|
|
2392
|
-
/* @__PURE__ */
|
|
2393
|
-
] }),
|
|
2394
|
-
/* @__PURE__ */
|
|
2395
|
-
/* @__PURE__ */
|
|
2396
|
-
] }),
|
|
2397
|
-
|
|
2398
|
-
|
|
2399
|
-
/* @__PURE__ */
|
|
2400
|
-
/* @__PURE__ */
|
|
2401
|
-
|
|
1715
|
+
const Dt = ({ icon: n, title: r, to: s }) => /* @__PURE__ */ e.jsxs("a", { href: s, className: `navigation-item ${window.location.pathname === s ? "active" : ""}`, children: [
|
|
1716
|
+
/* @__PURE__ */ e.jsx("div", { className: "navigation-item-icon", children: n }),
|
|
1717
|
+
/* @__PURE__ */ e.jsx("div", { className: "navigation-item-text", children: r })
|
|
1718
|
+
] }), me = ({ onClick: n, icon: r, title: s }) => /* @__PURE__ */ e.jsxs("div", { onClick: n, className: "navigation-item", children: [
|
|
1719
|
+
/* @__PURE__ */ e.jsx("div", { className: "navigation-item-icon", children: r }),
|
|
1720
|
+
/* @__PURE__ */ e.jsx("div", { className: "navigation-item-text", children: s })
|
|
1721
|
+
] }), dr = ({ 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: [
|
|
1722
|
+
n ? /* @__PURE__ */ e.jsx(me, { icon: /* @__PURE__ */ e.jsx(dn, {}), onClick: n }) : null,
|
|
1723
|
+
r ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1724
|
+
/* @__PURE__ */ e.jsx(W, {}),
|
|
1725
|
+
/* @__PURE__ */ e.jsx(me, { title: r.text, icon: r.icon ?? /* @__PURE__ */ e.jsx($e, {}), onClick: (c) => {
|
|
1726
|
+
r.onClick && r.onClick(c);
|
|
2402
1727
|
} }),
|
|
2403
|
-
/* @__PURE__ */
|
|
1728
|
+
/* @__PURE__ */ e.jsx(W, {})
|
|
2404
1729
|
] }) : null,
|
|
2405
|
-
|
|
2406
|
-
a ? /* @__PURE__ */
|
|
2407
|
-
/* @__PURE__ */
|
|
2408
|
-
/* @__PURE__ */
|
|
2409
|
-
a.onClick && a.onClick(
|
|
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(Dt, { title: c.text, icon: c.icon, to: c.to }, l) : null),
|
|
1731
|
+
a ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1732
|
+
/* @__PURE__ */ e.jsx(W, {}),
|
|
1733
|
+
/* @__PURE__ */ e.jsx(me, { title: a.text, icon: a.icon ?? /* @__PURE__ */ e.jsx($e, {}), onClick: (c) => {
|
|
1734
|
+
a.onClick && a.onClick(c);
|
|
2410
1735
|
} }),
|
|
2411
|
-
/* @__PURE__ */
|
|
1736
|
+
/* @__PURE__ */ e.jsx(W, {})
|
|
2412
1737
|
] }) : null
|
|
2413
1738
|
] }) }) });
|
|
2414
1739
|
export {
|
|
2415
|
-
|
|
2416
|
-
|
|
2417
|
-
|
|
2418
|
-
|
|
2419
|
-
|
|
2420
|
-
|
|
2421
|
-
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
-
|
|
2425
|
-
|
|
2426
|
-
|
|
2427
|
-
|
|
2428
|
-
|
|
2429
|
-
|
|
2430
|
-
|
|
2431
|
-
|
|
2432
|
-
|
|
2433
|
-
|
|
2434
|
-
|
|
2435
|
-
|
|
2436
|
-
|
|
2437
|
-
|
|
2438
|
-
|
|
2439
|
-
|
|
2440
|
-
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
|
|
2451
|
-
|
|
2452
|
-
|
|
2453
|
-
|
|
2454
|
-
|
|
2455
|
-
|
|
2456
|
-
|
|
2457
|
-
|
|
2458
|
-
|
|
2459
|
-
|
|
2460
|
-
|
|
2461
|
-
|
|
2462
|
-
|
|
2463
|
-
|
|
1740
|
+
Gn as BaseActionCard,
|
|
1741
|
+
le as BaseButton,
|
|
1742
|
+
Ht as BaseDialog,
|
|
1743
|
+
dt as BaseRadioButton,
|
|
1744
|
+
G as BasicTemplateDialog,
|
|
1745
|
+
Pt as BigContainer,
|
|
1746
|
+
Hn as BottomSheetsUi,
|
|
1747
|
+
Xn as Button,
|
|
1748
|
+
Ft as Card,
|
|
1749
|
+
At as Checkbox,
|
|
1750
|
+
ot as Chips,
|
|
1751
|
+
tr as DayOfWeekField,
|
|
1752
|
+
W as Divider,
|
|
1753
|
+
Bt as FAB,
|
|
1754
|
+
Wt as FieldContainer,
|
|
1755
|
+
Kn as FilledButton,
|
|
1756
|
+
Un as FilledTotalButton,
|
|
1757
|
+
Gt as FullScrinTemplateDialog,
|
|
1758
|
+
sr as GridLayout,
|
|
1759
|
+
rr as GridLayoutItem,
|
|
1760
|
+
ie as IconButton,
|
|
1761
|
+
qn as ListContainer,
|
|
1762
|
+
Jn as ListItem,
|
|
1763
|
+
ar as Menu,
|
|
1764
|
+
Lt as MoreText,
|
|
1765
|
+
lr as NavigationBar,
|
|
1766
|
+
or as NavigationDrawer,
|
|
1767
|
+
dr as NavigationRail,
|
|
1768
|
+
zn as OutlineButton,
|
|
1769
|
+
Yt as RadioButton,
|
|
1770
|
+
Vt as RunningLine,
|
|
1771
|
+
zt as ScrollContainer,
|
|
1772
|
+
Ut as Search,
|
|
1773
|
+
Zt as SelectionDialog,
|
|
1774
|
+
qt as SigmentedButton,
|
|
1775
|
+
Jt as Slider,
|
|
1776
|
+
ir as SmallWindowMenu,
|
|
1777
|
+
Kt as Snackbar,
|
|
1778
|
+
Xt as Switch,
|
|
1779
|
+
cr as Table,
|
|
1780
|
+
It as TextArea,
|
|
1781
|
+
M as TextButton,
|
|
1782
|
+
Qt as TextDialog,
|
|
1783
|
+
un as TextField,
|
|
1784
|
+
nr as TimePicker,
|
|
1785
|
+
xn as getContainerData,
|
|
1786
|
+
hn as getModalWindowCord,
|
|
1787
|
+
ht as map,
|
|
1788
|
+
er as СalendarPickers
|
|
2464
1789
|
};
|