alex-evo-sh-ui-kit 1.0.0
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/README.md +1 -0
- package/dist/alex-evo-sh-ui-kit.es.js +1626 -0
- package/dist/alex-evo-sh-ui-kit.umd.js +111 -0
- package/dist/helpers/getModalCord.d.ts +15 -0
- package/dist/helpers/stringSplitAndJoin.d.ts +2 -0
- package/dist/helpers/table.d.ts +4 -0
- package/dist/index.css +1 -0
- package/dist/index.d.ts +43 -0
- package/dist/model/menu.d.ts +41 -0
- package/dist/model/point.d.ts +4 -0
- package/dist/model/table.d.ts +33 -0
- package/dist/ui/BaseActionCard/BaseActionCard.d.ts +6 -0
- package/dist/ui/BigContainer/BigContainer.d.ts +11 -0
- package/dist/ui/BottomSheets/BottomSheetsUi.d.ts +7 -0
- package/dist/ui/Button/Button.d.ts +13 -0
- package/dist/ui/Card/Card.d.ts +14 -0
- package/dist/ui/Checkbox/Checkbox.d.ts +9 -0
- package/dist/ui/Chips/Chips.d.ts +8 -0
- package/dist/ui/DatePicker/DatePickers.d.ts +6 -0
- package/dist/ui/DayOfWeek/DayOfWeek.d.ts +7 -0
- package/dist/ui/Dialog/BaseDialog/BaseDialog.d.ts +11 -0
- package/dist/ui/Dialog/BaseDialog/SelectionDialog.d.ts +14 -0
- package/dist/ui/Dialog/BaseDialog/TextDialog.d.ts +13 -0
- package/dist/ui/Dialog/TemplateDialog/BasicTemplateDialog.d.ts +10 -0
- package/dist/ui/Dialog/TemplateDialog/FullScreenTemplateDialog.d.ts +10 -0
- package/dist/ui/Divider/Divider.d.ts +7 -0
- package/dist/ui/FAB/FAB.d.ts +11 -0
- package/dist/ui/FieldContainer/FieldContainer.d.ts +6 -0
- package/dist/ui/GridLayout/GridLayout.d.ts +18 -0
- package/dist/ui/IconButton/IconButton.d.ts +13 -0
- package/dist/ui/List/List.d.ts +9 -0
- package/dist/ui/List/ListItem.d.ts +12 -0
- package/dist/ui/Menu/Menu.d.ts +3 -0
- package/dist/ui/Menu/MenuBlock.d.ts +11 -0
- package/dist/ui/Menu/MenuItem.d.ts +12 -0
- package/dist/ui/Menu/SmallWindowMenu.d.ts +3 -0
- package/dist/ui/Menu/SubMenuItem.d.ts +9 -0
- package/dist/ui/Menu/SubMenuItemBlock.d.ts +10 -0
- package/dist/ui/MoreText/MoreText.d.ts +8 -0
- package/dist/ui/RadioButton/RadioButton.d.ts +15 -0
- package/dist/ui/RunningLine/RunningLine.d.ts +10 -0
- package/dist/ui/ScrollContainer/ScrollContainer.d.ts +7 -0
- package/dist/ui/Search/Search.d.ts +8 -0
- package/dist/ui/Snackbar/Snackbar.d.ts +16 -0
- package/dist/ui/Switch/Switch.d.ts +8 -0
- package/dist/ui/Table/Table.d.ts +5 -0
- package/dist/ui/Table/TableCell.d.ts +10 -0
- package/dist/ui/Table/TableRow.d.ts +14 -0
- package/dist/ui/TextField/TextArea.d.ts +18 -0
- package/dist/ui/TextField/TextField.d.ts +23 -0
- package/dist/ui/TimePickers/EnterTime.d.ts +12 -0
- package/dist/ui/TimePickers/SelectTime.d.ts +12 -0
- package/dist/ui/TimePickers/TimePickers.d.ts +8 -0
- package/package.json +35 -0
|
@@ -0,0 +1,1626 @@
|
|
|
1
|
+
import './index.css';
|
|
2
|
+
import xe, { useState as C, useCallback as R, useEffect as A, forwardRef as nn, createElement as we, useRef as J } from "react";
|
|
3
|
+
var Ee = { exports: {} }, re = {};
|
|
4
|
+
/**
|
|
5
|
+
* @license React
|
|
6
|
+
* react-jsx-runtime.production.min.js
|
|
7
|
+
*
|
|
8
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
9
|
+
*
|
|
10
|
+
* This source code is licensed under the MIT license found in the
|
|
11
|
+
* LICENSE file in the root directory of this source tree.
|
|
12
|
+
*/
|
|
13
|
+
var Ge;
|
|
14
|
+
function Pn() {
|
|
15
|
+
if (Ge)
|
|
16
|
+
return re;
|
|
17
|
+
Ge = 1;
|
|
18
|
+
var n = xe, r = Symbol.for("react.element"), s = Symbol.for("react.fragment"), a = Object.prototype.hasOwnProperty, l = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, o = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
19
|
+
function u(c, i, h) {
|
|
20
|
+
var f, v = {}, m = null, b = null;
|
|
21
|
+
h !== void 0 && (m = "" + h), i.key !== void 0 && (m = "" + i.key), i.ref !== void 0 && (b = i.ref);
|
|
22
|
+
for (f in i)
|
|
23
|
+
a.call(i, f) && !o.hasOwnProperty(f) && (v[f] = i[f]);
|
|
24
|
+
if (c && c.defaultProps)
|
|
25
|
+
for (f in i = c.defaultProps, i)
|
|
26
|
+
v[f] === void 0 && (v[f] = i[f]);
|
|
27
|
+
return { $$typeof: r, type: c, key: m, ref: b, props: v, _owner: l.current };
|
|
28
|
+
}
|
|
29
|
+
return re.Fragment = s, re.jsx = u, re.jsxs = u, re;
|
|
30
|
+
}
|
|
31
|
+
var se = {};
|
|
32
|
+
/**
|
|
33
|
+
* @license React
|
|
34
|
+
* react-jsx-runtime.development.js
|
|
35
|
+
*
|
|
36
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
37
|
+
*
|
|
38
|
+
* This source code is licensed under the MIT license found in the
|
|
39
|
+
* LICENSE file in the root directory of this source tree.
|
|
40
|
+
*/
|
|
41
|
+
var He;
|
|
42
|
+
function $n() {
|
|
43
|
+
return He || (He = 1, process.env.NODE_ENV !== "production" && function() {
|
|
44
|
+
var n = xe, r = Symbol.for("react.element"), s = Symbol.for("react.portal"), a = Symbol.for("react.fragment"), l = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), u = Symbol.for("react.provider"), c = Symbol.for("react.context"), i = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), v = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), b = Symbol.for("react.offscreen"), k = Symbol.iterator, w = "@@iterator";
|
|
45
|
+
function S(t) {
|
|
46
|
+
if (t === null || typeof t != "object")
|
|
47
|
+
return null;
|
|
48
|
+
var d = k && t[k] || t[w];
|
|
49
|
+
return typeof d == "function" ? d : null;
|
|
50
|
+
}
|
|
51
|
+
var D = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
52
|
+
function E(t) {
|
|
53
|
+
{
|
|
54
|
+
for (var d = arguments.length, x = new Array(d > 1 ? d - 1 : 0), p = 1; p < d; p++)
|
|
55
|
+
x[p - 1] = arguments[p];
|
|
56
|
+
B("error", t, x);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
function B(t, d, x) {
|
|
60
|
+
{
|
|
61
|
+
var p = D.ReactDebugCurrentFrame, N = p.getStackAddendum();
|
|
62
|
+
N !== "" && (d += "%s", x = x.concat([N]));
|
|
63
|
+
var T = x.map(function(g) {
|
|
64
|
+
return String(g);
|
|
65
|
+
});
|
|
66
|
+
T.unshift("Warning: " + d), Function.prototype.apply.call(console[t], console, T);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
var j = !1, _ = !1, W = !1, z = !1, Q = !1, G;
|
|
70
|
+
G = Symbol.for("react.module.reference");
|
|
71
|
+
function ie(t) {
|
|
72
|
+
return !!(typeof t == "string" || typeof t == "function" || t === a || t === o || Q || t === l || t === h || t === f || z || t === b || j || _ || W || typeof t == "object" && t !== null && (t.$$typeof === m || t.$$typeof === v || t.$$typeof === u || t.$$typeof === c || t.$$typeof === i || // This needs to include all possible module reference object
|
|
73
|
+
// types supported by any Flight configuration anywhere since
|
|
74
|
+
// we don't know which Flight build this will end up being used
|
|
75
|
+
// with.
|
|
76
|
+
t.$$typeof === G || t.getModuleId !== void 0));
|
|
77
|
+
}
|
|
78
|
+
function K(t, d, x) {
|
|
79
|
+
var p = t.displayName;
|
|
80
|
+
if (p)
|
|
81
|
+
return p;
|
|
82
|
+
var N = d.displayName || d.name || "";
|
|
83
|
+
return N !== "" ? x + "(" + N + ")" : x;
|
|
84
|
+
}
|
|
85
|
+
function Te(t) {
|
|
86
|
+
return t.displayName || "Context";
|
|
87
|
+
}
|
|
88
|
+
function L(t) {
|
|
89
|
+
if (t == null)
|
|
90
|
+
return null;
|
|
91
|
+
if (typeof t.tag == "number" && E("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof t == "function")
|
|
92
|
+
return t.displayName || t.name || null;
|
|
93
|
+
if (typeof t == "string")
|
|
94
|
+
return t;
|
|
95
|
+
switch (t) {
|
|
96
|
+
case a:
|
|
97
|
+
return "Fragment";
|
|
98
|
+
case s:
|
|
99
|
+
return "Portal";
|
|
100
|
+
case o:
|
|
101
|
+
return "Profiler";
|
|
102
|
+
case l:
|
|
103
|
+
return "StrictMode";
|
|
104
|
+
case h:
|
|
105
|
+
return "Suspense";
|
|
106
|
+
case f:
|
|
107
|
+
return "SuspenseList";
|
|
108
|
+
}
|
|
109
|
+
if (typeof t == "object")
|
|
110
|
+
switch (t.$$typeof) {
|
|
111
|
+
case c:
|
|
112
|
+
var d = t;
|
|
113
|
+
return Te(d) + ".Consumer";
|
|
114
|
+
case u:
|
|
115
|
+
var x = t;
|
|
116
|
+
return Te(x._context) + ".Provider";
|
|
117
|
+
case i:
|
|
118
|
+
return K(t, t.render, "ForwardRef");
|
|
119
|
+
case v:
|
|
120
|
+
var p = t.displayName || null;
|
|
121
|
+
return p !== null ? p : L(t.type) || "Memo";
|
|
122
|
+
case m: {
|
|
123
|
+
var N = t, T = N._payload, g = N._init;
|
|
124
|
+
try {
|
|
125
|
+
return L(g(T));
|
|
126
|
+
} catch {
|
|
127
|
+
return null;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
return null;
|
|
132
|
+
}
|
|
133
|
+
var q = Object.assign, ee = 0, Re, _e, Se, Oe, De, Me, Pe;
|
|
134
|
+
function $e() {
|
|
135
|
+
}
|
|
136
|
+
$e.__reactDisabledLog = !0;
|
|
137
|
+
function cn() {
|
|
138
|
+
{
|
|
139
|
+
if (ee === 0) {
|
|
140
|
+
Re = console.log, _e = console.info, Se = console.warn, Oe = console.error, De = console.group, Me = console.groupCollapsed, Pe = console.groupEnd;
|
|
141
|
+
var t = {
|
|
142
|
+
configurable: !0,
|
|
143
|
+
enumerable: !0,
|
|
144
|
+
value: $e,
|
|
145
|
+
writable: !0
|
|
146
|
+
};
|
|
147
|
+
Object.defineProperties(console, {
|
|
148
|
+
info: t,
|
|
149
|
+
log: t,
|
|
150
|
+
warn: t,
|
|
151
|
+
error: t,
|
|
152
|
+
group: t,
|
|
153
|
+
groupCollapsed: t,
|
|
154
|
+
groupEnd: t
|
|
155
|
+
});
|
|
156
|
+
}
|
|
157
|
+
ee++;
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
function ln() {
|
|
161
|
+
{
|
|
162
|
+
if (ee--, ee === 0) {
|
|
163
|
+
var t = {
|
|
164
|
+
configurable: !0,
|
|
165
|
+
enumerable: !0,
|
|
166
|
+
writable: !0
|
|
167
|
+
};
|
|
168
|
+
Object.defineProperties(console, {
|
|
169
|
+
log: q({}, t, {
|
|
170
|
+
value: Re
|
|
171
|
+
}),
|
|
172
|
+
info: q({}, t, {
|
|
173
|
+
value: _e
|
|
174
|
+
}),
|
|
175
|
+
warn: q({}, t, {
|
|
176
|
+
value: Se
|
|
177
|
+
}),
|
|
178
|
+
error: q({}, t, {
|
|
179
|
+
value: Oe
|
|
180
|
+
}),
|
|
181
|
+
group: q({}, t, {
|
|
182
|
+
value: De
|
|
183
|
+
}),
|
|
184
|
+
groupCollapsed: q({}, t, {
|
|
185
|
+
value: Me
|
|
186
|
+
}),
|
|
187
|
+
groupEnd: q({}, t, {
|
|
188
|
+
value: Pe
|
|
189
|
+
})
|
|
190
|
+
});
|
|
191
|
+
}
|
|
192
|
+
ee < 0 && E("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
var je = D.ReactCurrentDispatcher, ve;
|
|
196
|
+
function le(t, d, x) {
|
|
197
|
+
{
|
|
198
|
+
if (ve === void 0)
|
|
199
|
+
try {
|
|
200
|
+
throw Error();
|
|
201
|
+
} catch (N) {
|
|
202
|
+
var p = N.stack.trim().match(/\n( *(at )?)/);
|
|
203
|
+
ve = p && p[1] || "";
|
|
204
|
+
}
|
|
205
|
+
return `
|
|
206
|
+
` + ve + t;
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
var pe = !1, oe;
|
|
210
|
+
{
|
|
211
|
+
var on = typeof WeakMap == "function" ? WeakMap : Map;
|
|
212
|
+
oe = new on();
|
|
213
|
+
}
|
|
214
|
+
function Ae(t, d) {
|
|
215
|
+
if (!t || pe)
|
|
216
|
+
return "";
|
|
217
|
+
{
|
|
218
|
+
var x = oe.get(t);
|
|
219
|
+
if (x !== void 0)
|
|
220
|
+
return x;
|
|
221
|
+
}
|
|
222
|
+
var p;
|
|
223
|
+
pe = !0;
|
|
224
|
+
var N = Error.prepareStackTrace;
|
|
225
|
+
Error.prepareStackTrace = void 0;
|
|
226
|
+
var T;
|
|
227
|
+
T = je.current, je.current = null, cn();
|
|
228
|
+
try {
|
|
229
|
+
if (d) {
|
|
230
|
+
var g = function() {
|
|
231
|
+
throw Error();
|
|
232
|
+
};
|
|
233
|
+
if (Object.defineProperty(g.prototype, "props", {
|
|
234
|
+
set: function() {
|
|
235
|
+
throw Error();
|
|
236
|
+
}
|
|
237
|
+
}), typeof Reflect == "object" && Reflect.construct) {
|
|
238
|
+
try {
|
|
239
|
+
Reflect.construct(g, []);
|
|
240
|
+
} catch (F) {
|
|
241
|
+
p = F;
|
|
242
|
+
}
|
|
243
|
+
Reflect.construct(t, [], g);
|
|
244
|
+
} else {
|
|
245
|
+
try {
|
|
246
|
+
g.call();
|
|
247
|
+
} catch (F) {
|
|
248
|
+
p = F;
|
|
249
|
+
}
|
|
250
|
+
t.call(g.prototype);
|
|
251
|
+
}
|
|
252
|
+
} else {
|
|
253
|
+
try {
|
|
254
|
+
throw Error();
|
|
255
|
+
} catch (F) {
|
|
256
|
+
p = F;
|
|
257
|
+
}
|
|
258
|
+
t();
|
|
259
|
+
}
|
|
260
|
+
} catch (F) {
|
|
261
|
+
if (F && p && typeof F.stack == "string") {
|
|
262
|
+
for (var y = F.stack.split(`
|
|
263
|
+
`), $ = p.stack.split(`
|
|
264
|
+
`), O = y.length - 1, M = $.length - 1; O >= 1 && M >= 0 && y[O] !== $[M]; )
|
|
265
|
+
M--;
|
|
266
|
+
for (; O >= 1 && M >= 0; O--, M--)
|
|
267
|
+
if (y[O] !== $[M]) {
|
|
268
|
+
if (O !== 1 || M !== 1)
|
|
269
|
+
do
|
|
270
|
+
if (O--, M--, M < 0 || y[O] !== $[M]) {
|
|
271
|
+
var I = `
|
|
272
|
+
` + y[O].replace(" at new ", " at ");
|
|
273
|
+
return t.displayName && I.includes("<anonymous>") && (I = I.replace("<anonymous>", t.displayName)), typeof t == "function" && oe.set(t, I), I;
|
|
274
|
+
}
|
|
275
|
+
while (O >= 1 && M >= 0);
|
|
276
|
+
break;
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
} finally {
|
|
280
|
+
pe = !1, je.current = T, ln(), Error.prepareStackTrace = N;
|
|
281
|
+
}
|
|
282
|
+
var Z = t ? t.displayName || t.name : "", X = Z ? le(Z) : "";
|
|
283
|
+
return typeof t == "function" && oe.set(t, X), X;
|
|
284
|
+
}
|
|
285
|
+
function un(t, d, x) {
|
|
286
|
+
return Ae(t, !1);
|
|
287
|
+
}
|
|
288
|
+
function dn(t) {
|
|
289
|
+
var d = t.prototype;
|
|
290
|
+
return !!(d && d.isReactComponent);
|
|
291
|
+
}
|
|
292
|
+
function ue(t, d, x) {
|
|
293
|
+
if (t == null)
|
|
294
|
+
return "";
|
|
295
|
+
if (typeof t == "function")
|
|
296
|
+
return Ae(t, dn(t));
|
|
297
|
+
if (typeof t == "string")
|
|
298
|
+
return le(t);
|
|
299
|
+
switch (t) {
|
|
300
|
+
case h:
|
|
301
|
+
return le("Suspense");
|
|
302
|
+
case f:
|
|
303
|
+
return le("SuspenseList");
|
|
304
|
+
}
|
|
305
|
+
if (typeof t == "object")
|
|
306
|
+
switch (t.$$typeof) {
|
|
307
|
+
case i:
|
|
308
|
+
return un(t.render);
|
|
309
|
+
case v:
|
|
310
|
+
return ue(t.type, d, x);
|
|
311
|
+
case m: {
|
|
312
|
+
var p = t, N = p._payload, T = p._init;
|
|
313
|
+
try {
|
|
314
|
+
return ue(T(N), d, x);
|
|
315
|
+
} catch {
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
return "";
|
|
320
|
+
}
|
|
321
|
+
var ne = Object.prototype.hasOwnProperty, Fe = {}, Ie = D.ReactDebugCurrentFrame;
|
|
322
|
+
function de(t) {
|
|
323
|
+
if (t) {
|
|
324
|
+
var d = t._owner, x = ue(t.type, t._source, d ? d.type : null);
|
|
325
|
+
Ie.setExtraStackFrame(x);
|
|
326
|
+
} else
|
|
327
|
+
Ie.setExtraStackFrame(null);
|
|
328
|
+
}
|
|
329
|
+
function fn(t, d, x, p, N) {
|
|
330
|
+
{
|
|
331
|
+
var T = Function.call.bind(ne);
|
|
332
|
+
for (var g in t)
|
|
333
|
+
if (T(t, g)) {
|
|
334
|
+
var y = void 0;
|
|
335
|
+
try {
|
|
336
|
+
if (typeof t[g] != "function") {
|
|
337
|
+
var $ = Error((p || "React class") + ": " + x + " type `" + g + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof t[g] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
338
|
+
throw $.name = "Invariant Violation", $;
|
|
339
|
+
}
|
|
340
|
+
y = t[g](d, g, p, x, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
341
|
+
} catch (O) {
|
|
342
|
+
y = O;
|
|
343
|
+
}
|
|
344
|
+
y && !(y instanceof Error) && (de(N), 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", x, g, typeof y), de(null)), y instanceof Error && !(y.message in Fe) && (Fe[y.message] = !0, de(N), E("Failed %s type: %s", x, y.message), de(null));
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
var hn = Array.isArray;
|
|
349
|
+
function ye(t) {
|
|
350
|
+
return hn(t);
|
|
351
|
+
}
|
|
352
|
+
function xn(t) {
|
|
353
|
+
{
|
|
354
|
+
var d = typeof Symbol == "function" && Symbol.toStringTag, x = d && t[Symbol.toStringTag] || t.constructor.name || "Object";
|
|
355
|
+
return x;
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
function mn(t) {
|
|
359
|
+
try {
|
|
360
|
+
return Ye(t), !1;
|
|
361
|
+
} catch {
|
|
362
|
+
return !0;
|
|
363
|
+
}
|
|
364
|
+
}
|
|
365
|
+
function Ye(t) {
|
|
366
|
+
return "" + t;
|
|
367
|
+
}
|
|
368
|
+
function Be(t) {
|
|
369
|
+
if (mn(t))
|
|
370
|
+
return E("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", xn(t)), Ye(t);
|
|
371
|
+
}
|
|
372
|
+
var te = D.ReactCurrentOwner, jn = {
|
|
373
|
+
key: !0,
|
|
374
|
+
ref: !0,
|
|
375
|
+
__self: !0,
|
|
376
|
+
__source: !0
|
|
377
|
+
}, We, Le, ge;
|
|
378
|
+
ge = {};
|
|
379
|
+
function vn(t) {
|
|
380
|
+
if (ne.call(t, "ref")) {
|
|
381
|
+
var d = Object.getOwnPropertyDescriptor(t, "ref").get;
|
|
382
|
+
if (d && d.isReactWarning)
|
|
383
|
+
return !1;
|
|
384
|
+
}
|
|
385
|
+
return t.ref !== void 0;
|
|
386
|
+
}
|
|
387
|
+
function pn(t) {
|
|
388
|
+
if (ne.call(t, "key")) {
|
|
389
|
+
var d = Object.getOwnPropertyDescriptor(t, "key").get;
|
|
390
|
+
if (d && d.isReactWarning)
|
|
391
|
+
return !1;
|
|
392
|
+
}
|
|
393
|
+
return t.key !== void 0;
|
|
394
|
+
}
|
|
395
|
+
function yn(t, d) {
|
|
396
|
+
if (typeof t.ref == "string" && te.current && d && te.current.stateNode !== d) {
|
|
397
|
+
var x = L(te.current.type);
|
|
398
|
+
ge[x] || (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', L(te.current.type), t.ref), ge[x] = !0);
|
|
399
|
+
}
|
|
400
|
+
}
|
|
401
|
+
function gn(t, d) {
|
|
402
|
+
{
|
|
403
|
+
var x = function() {
|
|
404
|
+
We || (We = !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)", d));
|
|
405
|
+
};
|
|
406
|
+
x.isReactWarning = !0, Object.defineProperty(t, "key", {
|
|
407
|
+
get: x,
|
|
408
|
+
configurable: !0
|
|
409
|
+
});
|
|
410
|
+
}
|
|
411
|
+
}
|
|
412
|
+
function bn(t, d) {
|
|
413
|
+
{
|
|
414
|
+
var x = function() {
|
|
415
|
+
Le || (Le = !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)", d));
|
|
416
|
+
};
|
|
417
|
+
x.isReactWarning = !0, Object.defineProperty(t, "ref", {
|
|
418
|
+
get: x,
|
|
419
|
+
configurable: !0
|
|
420
|
+
});
|
|
421
|
+
}
|
|
422
|
+
}
|
|
423
|
+
var kn = function(t, d, x, p, N, T, g) {
|
|
424
|
+
var y = {
|
|
425
|
+
// This tag allows us to uniquely identify this as a React Element
|
|
426
|
+
$$typeof: r,
|
|
427
|
+
// Built-in properties that belong on the element
|
|
428
|
+
type: t,
|
|
429
|
+
key: d,
|
|
430
|
+
ref: x,
|
|
431
|
+
props: g,
|
|
432
|
+
// Record the component responsible for creating this element.
|
|
433
|
+
_owner: T
|
|
434
|
+
};
|
|
435
|
+
return y._store = {}, Object.defineProperty(y._store, "validated", {
|
|
436
|
+
configurable: !1,
|
|
437
|
+
enumerable: !1,
|
|
438
|
+
writable: !0,
|
|
439
|
+
value: !1
|
|
440
|
+
}), Object.defineProperty(y, "_self", {
|
|
441
|
+
configurable: !1,
|
|
442
|
+
enumerable: !1,
|
|
443
|
+
writable: !1,
|
|
444
|
+
value: p
|
|
445
|
+
}), Object.defineProperty(y, "_source", {
|
|
446
|
+
configurable: !1,
|
|
447
|
+
enumerable: !1,
|
|
448
|
+
writable: !1,
|
|
449
|
+
value: N
|
|
450
|
+
}), Object.freeze && (Object.freeze(y.props), Object.freeze(y)), y;
|
|
451
|
+
};
|
|
452
|
+
function Nn(t, d, x, p, N) {
|
|
453
|
+
{
|
|
454
|
+
var T, g = {}, y = null, $ = null;
|
|
455
|
+
x !== void 0 && (Be(x), y = "" + x), pn(d) && (Be(d.key), y = "" + d.key), vn(d) && ($ = d.ref, yn(d, N));
|
|
456
|
+
for (T in d)
|
|
457
|
+
ne.call(d, T) && !jn.hasOwnProperty(T) && (g[T] = d[T]);
|
|
458
|
+
if (t && t.defaultProps) {
|
|
459
|
+
var O = t.defaultProps;
|
|
460
|
+
for (T in O)
|
|
461
|
+
g[T] === void 0 && (g[T] = O[T]);
|
|
462
|
+
}
|
|
463
|
+
if (y || $) {
|
|
464
|
+
var M = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
|
|
465
|
+
y && gn(g, M), $ && bn(g, M);
|
|
466
|
+
}
|
|
467
|
+
return kn(t, y, $, N, p, te.current, g);
|
|
468
|
+
}
|
|
469
|
+
}
|
|
470
|
+
var be = D.ReactCurrentOwner, Ve = D.ReactDebugCurrentFrame;
|
|
471
|
+
function H(t) {
|
|
472
|
+
if (t) {
|
|
473
|
+
var d = t._owner, x = ue(t.type, t._source, d ? d.type : null);
|
|
474
|
+
Ve.setExtraStackFrame(x);
|
|
475
|
+
} else
|
|
476
|
+
Ve.setExtraStackFrame(null);
|
|
477
|
+
}
|
|
478
|
+
var ke;
|
|
479
|
+
ke = !1;
|
|
480
|
+
function Ne(t) {
|
|
481
|
+
return typeof t == "object" && t !== null && t.$$typeof === r;
|
|
482
|
+
}
|
|
483
|
+
function ze() {
|
|
484
|
+
{
|
|
485
|
+
if (be.current) {
|
|
486
|
+
var t = L(be.current.type);
|
|
487
|
+
if (t)
|
|
488
|
+
return `
|
|
489
|
+
|
|
490
|
+
Check the render method of \`` + t + "`.";
|
|
491
|
+
}
|
|
492
|
+
return "";
|
|
493
|
+
}
|
|
494
|
+
}
|
|
495
|
+
function Cn(t) {
|
|
496
|
+
return "";
|
|
497
|
+
}
|
|
498
|
+
var Ke = {};
|
|
499
|
+
function wn(t) {
|
|
500
|
+
{
|
|
501
|
+
var d = ze();
|
|
502
|
+
if (!d) {
|
|
503
|
+
var x = typeof t == "string" ? t : t.displayName || t.name;
|
|
504
|
+
x && (d = `
|
|
505
|
+
|
|
506
|
+
Check the top-level render call using <` + x + ">.");
|
|
507
|
+
}
|
|
508
|
+
return d;
|
|
509
|
+
}
|
|
510
|
+
}
|
|
511
|
+
function qe(t, d) {
|
|
512
|
+
{
|
|
513
|
+
if (!t._store || t._store.validated || t.key != null)
|
|
514
|
+
return;
|
|
515
|
+
t._store.validated = !0;
|
|
516
|
+
var x = wn(d);
|
|
517
|
+
if (Ke[x])
|
|
518
|
+
return;
|
|
519
|
+
Ke[x] = !0;
|
|
520
|
+
var p = "";
|
|
521
|
+
t && t._owner && t._owner !== be.current && (p = " It was passed a child from " + L(t._owner.type) + "."), H(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.', x, p), H(null);
|
|
522
|
+
}
|
|
523
|
+
}
|
|
524
|
+
function Xe(t, d) {
|
|
525
|
+
{
|
|
526
|
+
if (typeof t != "object")
|
|
527
|
+
return;
|
|
528
|
+
if (ye(t))
|
|
529
|
+
for (var x = 0; x < t.length; x++) {
|
|
530
|
+
var p = t[x];
|
|
531
|
+
Ne(p) && qe(p, d);
|
|
532
|
+
}
|
|
533
|
+
else if (Ne(t))
|
|
534
|
+
t._store && (t._store.validated = !0);
|
|
535
|
+
else if (t) {
|
|
536
|
+
var N = S(t);
|
|
537
|
+
if (typeof N == "function" && N !== t.entries)
|
|
538
|
+
for (var T = N.call(t), g; !(g = T.next()).done; )
|
|
539
|
+
Ne(g.value) && qe(g.value, d);
|
|
540
|
+
}
|
|
541
|
+
}
|
|
542
|
+
}
|
|
543
|
+
function En(t) {
|
|
544
|
+
{
|
|
545
|
+
var d = t.type;
|
|
546
|
+
if (d == null || typeof d == "string")
|
|
547
|
+
return;
|
|
548
|
+
var x;
|
|
549
|
+
if (typeof d == "function")
|
|
550
|
+
x = d.propTypes;
|
|
551
|
+
else if (typeof d == "object" && (d.$$typeof === i || // Note: Memo only checks outer props here.
|
|
552
|
+
// Inner props are checked in the reconciler.
|
|
553
|
+
d.$$typeof === v))
|
|
554
|
+
x = d.propTypes;
|
|
555
|
+
else
|
|
556
|
+
return;
|
|
557
|
+
if (x) {
|
|
558
|
+
var p = L(d);
|
|
559
|
+
fn(x, t.props, "prop", p, t);
|
|
560
|
+
} else if (d.PropTypes !== void 0 && !ke) {
|
|
561
|
+
ke = !0;
|
|
562
|
+
var N = L(d);
|
|
563
|
+
E("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", N || "Unknown");
|
|
564
|
+
}
|
|
565
|
+
typeof d.getDefaultProps == "function" && !d.getDefaultProps.isReactClassApproved && E("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
566
|
+
}
|
|
567
|
+
}
|
|
568
|
+
function Tn(t) {
|
|
569
|
+
{
|
|
570
|
+
for (var d = Object.keys(t.props), x = 0; x < d.length; x++) {
|
|
571
|
+
var p = d[x];
|
|
572
|
+
if (p !== "children" && p !== "key") {
|
|
573
|
+
H(t), E("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", p), H(null);
|
|
574
|
+
break;
|
|
575
|
+
}
|
|
576
|
+
}
|
|
577
|
+
t.ref !== null && (H(t), E("Invalid attribute `ref` supplied to `React.Fragment`."), H(null));
|
|
578
|
+
}
|
|
579
|
+
}
|
|
580
|
+
var Ue = {};
|
|
581
|
+
function Je(t, d, x, p, N, T) {
|
|
582
|
+
{
|
|
583
|
+
var g = ie(t);
|
|
584
|
+
if (!g) {
|
|
585
|
+
var y = "";
|
|
586
|
+
(t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (y += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
587
|
+
var $ = Cn();
|
|
588
|
+
$ ? y += $ : y += ze();
|
|
589
|
+
var O;
|
|
590
|
+
t === null ? O = "null" : ye(t) ? O = "array" : t !== void 0 && t.$$typeof === r ? (O = "<" + (L(t.type) || "Unknown") + " />", y = " Did you accidentally export a JSX literal instead of a component?") : O = 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", O, y);
|
|
591
|
+
}
|
|
592
|
+
var M = Nn(t, d, x, N, T);
|
|
593
|
+
if (M == null)
|
|
594
|
+
return M;
|
|
595
|
+
if (g) {
|
|
596
|
+
var I = d.children;
|
|
597
|
+
if (I !== void 0)
|
|
598
|
+
if (p)
|
|
599
|
+
if (ye(I)) {
|
|
600
|
+
for (var Z = 0; Z < I.length; Z++)
|
|
601
|
+
Xe(I[Z], t);
|
|
602
|
+
Object.freeze && Object.freeze(I);
|
|
603
|
+
} else
|
|
604
|
+
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.");
|
|
605
|
+
else
|
|
606
|
+
Xe(I, t);
|
|
607
|
+
}
|
|
608
|
+
if (ne.call(d, "key")) {
|
|
609
|
+
var X = L(t), F = Object.keys(d).filter(function(Mn) {
|
|
610
|
+
return Mn !== "key";
|
|
611
|
+
}), Ce = F.length > 0 ? "{key: someKey, " + F.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
612
|
+
if (!Ue[X + Ce]) {
|
|
613
|
+
var Dn = F.length > 0 ? "{" + F.join(": ..., ") + ": ...}" : "{}";
|
|
614
|
+
E(`A props object containing a "key" prop is being spread into JSX:
|
|
615
|
+
let props = %s;
|
|
616
|
+
<%s {...props} />
|
|
617
|
+
React keys must be passed directly to JSX without using spread:
|
|
618
|
+
let props = %s;
|
|
619
|
+
<%s key={someKey} {...props} />`, Ce, X, Dn, X), Ue[X + Ce] = !0;
|
|
620
|
+
}
|
|
621
|
+
}
|
|
622
|
+
return t === a ? Tn(M) : En(M), M;
|
|
623
|
+
}
|
|
624
|
+
}
|
|
625
|
+
function Rn(t, d, x) {
|
|
626
|
+
return Je(t, d, x, !0);
|
|
627
|
+
}
|
|
628
|
+
function _n(t, d, x) {
|
|
629
|
+
return Je(t, d, x, !1);
|
|
630
|
+
}
|
|
631
|
+
var Sn = _n, On = Rn;
|
|
632
|
+
se.Fragment = a, se.jsx = Sn, se.jsxs = On;
|
|
633
|
+
}()), se;
|
|
634
|
+
}
|
|
635
|
+
process.env.NODE_ENV === "production" ? Ee.exports = Pn() : Ee.exports = $n();
|
|
636
|
+
var e = Ee.exports;
|
|
637
|
+
const An = (n) => ce({ ...n, className: (n.className ?? "") + " outline-button" }), P = (n) => ce({ ...n, className: (n.className ?? "") + " text-button" }), Fn = (n) => ce({ ...n, className: (n.className ?? "") + " total-button" }), In = (n) => ce({ ...n, className: (n.className ?? "") + " filled-button" }), ce = (n) => {
|
|
638
|
+
const r = (s) => {
|
|
639
|
+
n.onClick && n.onClick(s);
|
|
640
|
+
let a = document.createElement("span");
|
|
641
|
+
a.classList.add("btn-overlay");
|
|
642
|
+
let l = s.pageX - s.currentTarget.offsetLeft, o = s.pageY - s.currentTarget.offsetTop;
|
|
643
|
+
a.style.left = l + "px", a.style.top = o + "px", s.currentTarget.appendChild(a), setTimeout(() => {
|
|
644
|
+
a.remove();
|
|
645
|
+
}, 500);
|
|
646
|
+
};
|
|
647
|
+
return /* @__PURE__ */ e.jsx("button", { ...n, className: (n.className ?? "") + " btn", onClick: r, children: /* @__PURE__ */ e.jsx("span", { children: n.children }) });
|
|
648
|
+
}, Yn = ({ styleType: n = "base", ...r }) => n === "outline" ? An({ ...r }) : n === "text" ? P({ ...r }) : n === "filledTotal" ? Fn({ ...r }) : n === "filled" ? In({ ...r }) : ce({ ...r }), Bn = ({ children: n, className: r, maxHeight: s, scroll: a, transparent: l }) => /* @__PURE__ */ e.jsx("ul", { style: { overflowY: s ? a ? "scroll" : "hidden" : void 0, maxHeight: s, backgroundColor: l ? "transparent" : void 0 }, className: `list-container ${r} ${a ? "scroll" : ""}`, children: n }), Wn = ({ icon: n, control: r, text: s, header: a, value: l, onClick: o, hovered: u, className: c }) => {
|
|
649
|
+
const i = (h) => {
|
|
650
|
+
h.target.closest(".control-container") || o && o(h);
|
|
651
|
+
};
|
|
652
|
+
return /* @__PURE__ */ e.jsxs("li", { className: ` ${c} list-item-container ${u ? "hovered" : ""}`, onClick: i, children: [
|
|
653
|
+
n ? /* @__PURE__ */ e.jsx("div", { className: "icon-container", children: n }) : l ? /* @__PURE__ */ e.jsx("div", { className: "icon-container", children: l }) : null,
|
|
654
|
+
s ? /* @__PURE__ */ e.jsxs("div", { className: "text-container", children: [
|
|
655
|
+
/* @__PURE__ */ e.jsx("div", { className: "header", children: a }),
|
|
656
|
+
/* @__PURE__ */ e.jsx("div", { className: "text", children: s })
|
|
657
|
+
] }) : /* @__PURE__ */ e.jsx("div", { className: "text-container", children: /* @__PURE__ */ e.jsx("div", { className: "header", children: a }) }),
|
|
658
|
+
r ? /* @__PURE__ */ e.jsx("div", { className: "control-container", children: r }) : null
|
|
659
|
+
] });
|
|
660
|
+
}, ae = ({ transparent: n, icon: r, className: s, onClick: a, onContextMenu: l, disabled: o, classNameContainer: u, style: c }) => {
|
|
661
|
+
const i = (h) => {
|
|
662
|
+
a && a(h);
|
|
663
|
+
let f = document.createElement("span");
|
|
664
|
+
f.classList.add("btn-overlay");
|
|
665
|
+
let v = h.pageX - h.currentTarget.offsetLeft, m = h.pageY - h.currentTarget.offsetTop;
|
|
666
|
+
f.style.left = v + "px", f.style.top = m + "px", h.currentTarget.appendChild(f), setTimeout(() => {
|
|
667
|
+
f.remove();
|
|
668
|
+
}, 500);
|
|
669
|
+
};
|
|
670
|
+
return /* @__PURE__ */ e.jsx("button", { style: { backgroundColor: n ? "transparent" : void 0, ...c }, className: `iconbutton ${s}`, onClick: i, onContextMenu: l, disabled: o, children: /* @__PURE__ */ e.jsx("div", { className: `${u} iconbutton-container`, children: r }) });
|
|
671
|
+
}, Ct = ({ className: n, action: r, imgSrc: s, alt: a, header: l, subhead: o, text: u, children: c, iconButtonCell: i, onClick: h }) => {
|
|
672
|
+
const f = (m) => !(m.target.className === "action-container" || m.target.closest(".action-container") || m.target.className === "icon-button-container" || m.target.closest(".icon-button-container")), v = (m) => {
|
|
673
|
+
if (h && h(m), !f(m))
|
|
674
|
+
return;
|
|
675
|
+
let b = m.currentTarget.closest(".card-container"), k = b == null ? void 0 : b.querySelector(".blick-container");
|
|
676
|
+
if (!k)
|
|
677
|
+
return;
|
|
678
|
+
let w = document.createElement("span");
|
|
679
|
+
w.classList.add("btn-overlay");
|
|
680
|
+
let S = m.pageX - m.currentTarget.offsetLeft, D = m.pageY - m.currentTarget.offsetTop;
|
|
681
|
+
w.style.left = S + "px", w.style.top = D + "px", k.appendChild(w), setTimeout(() => {
|
|
682
|
+
w.remove();
|
|
683
|
+
}, 500);
|
|
684
|
+
};
|
|
685
|
+
return /* @__PURE__ */ e.jsxs("div", { className: `card-container ${n}`, onClick: v, children: [
|
|
686
|
+
/* @__PURE__ */ e.jsx("div", { className: "blick-container" }),
|
|
687
|
+
s ? /* @__PURE__ */ e.jsx("div", { className: "card-img-container", children: /* @__PURE__ */ e.jsx("img", { src: s, alt: a }) }) : null,
|
|
688
|
+
/* @__PURE__ */ e.jsxs("div", { className: "card-content-container", children: [
|
|
689
|
+
/* @__PURE__ */ e.jsxs("div", { className: "card-Headline-container mb-1 font-bold", children: [
|
|
690
|
+
/* @__PURE__ */ e.jsx("div", { className: "headline", children: /* @__PURE__ */ e.jsx("h2", { className: "text-3xl", children: l }) }),
|
|
691
|
+
i ? /* @__PURE__ */ e.jsx("div", { className: "icon-button-container", children: i }) : null
|
|
692
|
+
] }),
|
|
693
|
+
o ? /* @__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: o }) }) }) : null,
|
|
694
|
+
u ? /* @__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: u }) }) }) : null,
|
|
695
|
+
c ? /* @__PURE__ */ e.jsx("div", { className: "card-child-container mb-2", children: c }) : null,
|
|
696
|
+
/* @__PURE__ */ e.jsx("div", { className: "action-container", children: r })
|
|
697
|
+
] })
|
|
698
|
+
] });
|
|
699
|
+
}, Ln = ({ children: n, className: r }) => /* @__PURE__ */ e.jsx("div", { className: `base-action-card ${r ?? ""}`, children: n }), wt = ({ children: n, className: r, id: s, height: a, width: l, pozMove: o }) => {
|
|
700
|
+
const [u, c] = C(!1), [i, h] = C(null), [f, v] = C({ x: 0, y: 0 }), m = (w) => {
|
|
701
|
+
w.button == 1 && (c(!1), h(null), document.body.style.cursor = "auto");
|
|
702
|
+
}, b = (w) => {
|
|
703
|
+
w.button == 1 && (h({ x: w.clientX, y: w.clientY }), c(!0), document.body.style.cursor = "move");
|
|
704
|
+
}, k = R((w) => {
|
|
705
|
+
u && (v((S) => {
|
|
706
|
+
if (!i)
|
|
707
|
+
return S;
|
|
708
|
+
const D = w.clientX - i.x, E = w.clientY - i.y;
|
|
709
|
+
let B = S.x + D, j = S.y + E;
|
|
710
|
+
return { x: B, y: j };
|
|
711
|
+
}), h({ x: w.clientX, y: w.clientY }));
|
|
712
|
+
}, [u, i]);
|
|
713
|
+
return A(() => {
|
|
714
|
+
o && v({ ...o });
|
|
715
|
+
}, [o]), /* @__PURE__ */ e.jsx("div", { id: s, style: { height: a, width: l }, className: `big-container ${r}`, onMouseDown: b, onMouseUp: m, onMouseMove: k, children: /* @__PURE__ */ e.jsx("div", { className: "big-container-content", style: { left: f.x, top: f.y }, children: n }) });
|
|
716
|
+
}, Vn = (n) => {
|
|
717
|
+
const [r, s] = C(!1), a = R(() => {
|
|
718
|
+
s(!0), setTimeout(() => {
|
|
719
|
+
n.onHide(), s(!1);
|
|
720
|
+
}, 200);
|
|
721
|
+
}, [n.onHide]);
|
|
722
|
+
return A(() => {
|
|
723
|
+
n.visible || a();
|
|
724
|
+
}, [n.visible, a]), !n.visible && !r || !n.children ? null : /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
725
|
+
/* @__PURE__ */ e.jsxs("div", { className: `bottom-sheets ${r ? "hide" : ""}`, children: [
|
|
726
|
+
/* @__PURE__ */ e.jsx("div", { className: "bottom-sheets-handle", children: /* @__PURE__ */ e.jsx("span", {}) }),
|
|
727
|
+
/* @__PURE__ */ e.jsx("div", { className: "bottom-sheets-content", children: n.children })
|
|
728
|
+
] }),
|
|
729
|
+
/* @__PURE__ */ e.jsx("div", { className: "backplate bottom-sheets-backplate", style: { zIndex: 1101 }, onClick: a })
|
|
730
|
+
] });
|
|
731
|
+
}, Et = ({ name: n, checked: r, onChange: s, readOnly: a, checkIcon: l }) => /* @__PURE__ */ e.jsxs("label", { className: "checkbox-container", children: [
|
|
732
|
+
/* @__PURE__ */ e.jsx("input", { className: "checkbox", name: n, type: "checkbox", checked: r, onChange: s, readOnly: a }),
|
|
733
|
+
/* @__PURE__ */ e.jsx("span", { children: l || /* @__PURE__ */ e.jsx("span", { className: "checkbox-ckeck-icon", children: "✓" }) })
|
|
734
|
+
] });
|
|
735
|
+
/**
|
|
736
|
+
* @license lucide-react v0.378.0 - ISC
|
|
737
|
+
*
|
|
738
|
+
* This source code is licensed under the ISC license.
|
|
739
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
740
|
+
*/
|
|
741
|
+
const zn = (n) => n.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), tn = (...n) => n.filter((r, s, a) => !!r && a.indexOf(r) === s).join(" ");
|
|
742
|
+
/**
|
|
743
|
+
* @license lucide-react v0.378.0 - ISC
|
|
744
|
+
*
|
|
745
|
+
* This source code is licensed under the ISC license.
|
|
746
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
747
|
+
*/
|
|
748
|
+
var Kn = {
|
|
749
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
750
|
+
width: 24,
|
|
751
|
+
height: 24,
|
|
752
|
+
viewBox: "0 0 24 24",
|
|
753
|
+
fill: "none",
|
|
754
|
+
stroke: "currentColor",
|
|
755
|
+
strokeWidth: 2,
|
|
756
|
+
strokeLinecap: "round",
|
|
757
|
+
strokeLinejoin: "round"
|
|
758
|
+
};
|
|
759
|
+
/**
|
|
760
|
+
* @license lucide-react v0.378.0 - ISC
|
|
761
|
+
*
|
|
762
|
+
* This source code is licensed under the ISC license.
|
|
763
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
764
|
+
*/
|
|
765
|
+
const qn = nn(
|
|
766
|
+
({
|
|
767
|
+
color: n = "currentColor",
|
|
768
|
+
size: r = 24,
|
|
769
|
+
strokeWidth: s = 2,
|
|
770
|
+
absoluteStrokeWidth: a,
|
|
771
|
+
className: l = "",
|
|
772
|
+
children: o,
|
|
773
|
+
iconNode: u,
|
|
774
|
+
...c
|
|
775
|
+
}, i) => we(
|
|
776
|
+
"svg",
|
|
777
|
+
{
|
|
778
|
+
ref: i,
|
|
779
|
+
...Kn,
|
|
780
|
+
width: r,
|
|
781
|
+
height: r,
|
|
782
|
+
stroke: n,
|
|
783
|
+
strokeWidth: a ? Number(s) * 24 / Number(r) : s,
|
|
784
|
+
className: tn("lucide", l),
|
|
785
|
+
...c
|
|
786
|
+
},
|
|
787
|
+
[
|
|
788
|
+
...u.map(([h, f]) => we(h, f)),
|
|
789
|
+
...Array.isArray(o) ? o : [o]
|
|
790
|
+
]
|
|
791
|
+
)
|
|
792
|
+
);
|
|
793
|
+
/**
|
|
794
|
+
* @license lucide-react v0.378.0 - ISC
|
|
795
|
+
*
|
|
796
|
+
* This source code is licensed under the ISC license.
|
|
797
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
798
|
+
*/
|
|
799
|
+
const Y = (n, r) => {
|
|
800
|
+
const s = nn(
|
|
801
|
+
({ className: a, ...l }, o) => we(qn, {
|
|
802
|
+
ref: o,
|
|
803
|
+
iconNode: r,
|
|
804
|
+
className: tn(`lucide-${zn(n)}`, a),
|
|
805
|
+
...l
|
|
806
|
+
})
|
|
807
|
+
);
|
|
808
|
+
return s.displayName = `${n}`, s;
|
|
809
|
+
};
|
|
810
|
+
/**
|
|
811
|
+
* @license lucide-react v0.378.0 - ISC
|
|
812
|
+
*
|
|
813
|
+
* This source code is licensed under the ISC license.
|
|
814
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
815
|
+
*/
|
|
816
|
+
const Xn = Y("AlignJustify", [
|
|
817
|
+
["line", { x1: "3", x2: "21", y1: "6", y2: "6", key: "4m8b97" }],
|
|
818
|
+
["line", { x1: "3", x2: "21", y1: "12", y2: "12", key: "10d38w" }],
|
|
819
|
+
["line", { x1: "3", x2: "21", y1: "18", y2: "18", key: "kwyyxn" }]
|
|
820
|
+
]);
|
|
821
|
+
/**
|
|
822
|
+
* @license lucide-react v0.378.0 - ISC
|
|
823
|
+
*
|
|
824
|
+
* This source code is licensed under the ISC license.
|
|
825
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
826
|
+
*/
|
|
827
|
+
const Un = Y("ArrowLeft", [
|
|
828
|
+
["path", { d: "m12 19-7-7 7-7", key: "1l729n" }],
|
|
829
|
+
["path", { d: "M19 12H5", key: "x3x0zl" }]
|
|
830
|
+
]);
|
|
831
|
+
/**
|
|
832
|
+
* @license lucide-react v0.378.0 - ISC
|
|
833
|
+
*
|
|
834
|
+
* This source code is licensed under the ISC license.
|
|
835
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
836
|
+
*/
|
|
837
|
+
const fe = Y("Check", [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]]);
|
|
838
|
+
/**
|
|
839
|
+
* @license lucide-react v0.378.0 - ISC
|
|
840
|
+
*
|
|
841
|
+
* This source code is licensed under the ISC license.
|
|
842
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
843
|
+
*/
|
|
844
|
+
const Ze = Y("ChevronDown", [
|
|
845
|
+
["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]
|
|
846
|
+
]);
|
|
847
|
+
/**
|
|
848
|
+
* @license lucide-react v0.378.0 - ISC
|
|
849
|
+
*
|
|
850
|
+
* This source code is licensed under the ISC license.
|
|
851
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
852
|
+
*/
|
|
853
|
+
const Jn = Y("CircleX", [
|
|
854
|
+
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
855
|
+
["path", { d: "m15 9-6 6", key: "1uzhvr" }],
|
|
856
|
+
["path", { d: "m9 9 6 6", key: "z0biqf" }]
|
|
857
|
+
]);
|
|
858
|
+
/**
|
|
859
|
+
* @license lucide-react v0.378.0 - ISC
|
|
860
|
+
*
|
|
861
|
+
* This source code is licensed under the ISC license.
|
|
862
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
863
|
+
*/
|
|
864
|
+
const Gn = Y("Clock3", [
|
|
865
|
+
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
866
|
+
["polyline", { points: "12 6 12 12 16.5 12", key: "1aq6pp" }]
|
|
867
|
+
]);
|
|
868
|
+
/**
|
|
869
|
+
* @license lucide-react v0.378.0 - ISC
|
|
870
|
+
*
|
|
871
|
+
* This source code is licensed under the ISC license.
|
|
872
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
873
|
+
*/
|
|
874
|
+
const Hn = Y("EllipsisVertical", [
|
|
875
|
+
["circle", { cx: "12", cy: "12", r: "1", key: "41hilf" }],
|
|
876
|
+
["circle", { cx: "12", cy: "5", r: "1", key: "gxeob9" }],
|
|
877
|
+
["circle", { cx: "12", cy: "19", r: "1", key: "lyex9k" }]
|
|
878
|
+
]);
|
|
879
|
+
/**
|
|
880
|
+
* @license lucide-react v0.378.0 - ISC
|
|
881
|
+
*
|
|
882
|
+
* This source code is licensed under the ISC license.
|
|
883
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
884
|
+
*/
|
|
885
|
+
const Zn = Y("Keyboard", [
|
|
886
|
+
["path", { d: "M10 8h.01", key: "1r9ogq" }],
|
|
887
|
+
["path", { d: "M12 12h.01", key: "1mp3jc" }],
|
|
888
|
+
["path", { d: "M14 8h.01", key: "1primd" }],
|
|
889
|
+
["path", { d: "M16 12h.01", key: "1l6xoz" }],
|
|
890
|
+
["path", { d: "M18 8h.01", key: "emo2bl" }],
|
|
891
|
+
["path", { d: "M6 8h.01", key: "x9i8wu" }],
|
|
892
|
+
["path", { d: "M7 16h10", key: "wp8him" }],
|
|
893
|
+
["path", { d: "M8 12h.01", key: "czm47f" }],
|
|
894
|
+
["rect", { width: "20", height: "16", x: "2", y: "4", rx: "2", key: "18n3k1" }]
|
|
895
|
+
]);
|
|
896
|
+
/**
|
|
897
|
+
* @license lucide-react v0.378.0 - ISC
|
|
898
|
+
*
|
|
899
|
+
* This source code is licensed under the ISC license.
|
|
900
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
901
|
+
*/
|
|
902
|
+
const Qn = Y("Pen", [
|
|
903
|
+
["path", { d: "M17 3a2.85 2.83 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5Z", key: "5qss01" }]
|
|
904
|
+
]);
|
|
905
|
+
/**
|
|
906
|
+
* @license lucide-react v0.378.0 - ISC
|
|
907
|
+
*
|
|
908
|
+
* This source code is licensed under the ISC license.
|
|
909
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
910
|
+
*/
|
|
911
|
+
const et = Y("Search", [
|
|
912
|
+
["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }],
|
|
913
|
+
["path", { d: "m21 21-4.3-4.3", key: "1qie3q" }]
|
|
914
|
+
]);
|
|
915
|
+
/**
|
|
916
|
+
* @license lucide-react v0.378.0 - ISC
|
|
917
|
+
*
|
|
918
|
+
* This source code is licensed under the ISC license.
|
|
919
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
920
|
+
*/
|
|
921
|
+
const nt = Y("Trash2", [
|
|
922
|
+
["path", { d: "M3 6h18", key: "d0wm0j" }],
|
|
923
|
+
["path", { d: "M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6", key: "4alrt4" }],
|
|
924
|
+
["path", { d: "M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2", key: "v07s0e" }],
|
|
925
|
+
["line", { x1: "10", x2: "10", y1: "11", y2: "17", key: "1uufr5" }],
|
|
926
|
+
["line", { x1: "14", x2: "14", y1: "11", y2: "17", key: "xtxkd" }]
|
|
927
|
+
]);
|
|
928
|
+
/**
|
|
929
|
+
* @license lucide-react v0.378.0 - ISC
|
|
930
|
+
*
|
|
931
|
+
* This source code is licensed under the ISC license.
|
|
932
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
933
|
+
*/
|
|
934
|
+
const me = Y("X", [
|
|
935
|
+
["path", { d: "M18 6 6 18", key: "1bl5f8" }],
|
|
936
|
+
["path", { d: "m6 6 12 12", key: "d8bk6v" }]
|
|
937
|
+
]), tt = ({ text: n, onDelete: r, big: s, onClick: a }) => {
|
|
938
|
+
const l = (u) => !(u.target.className === "alex-evo-ui-kit-chips-btn" || u.target.closest(".alex-evo-ui-kit-chips-btn")), o = (u) => {
|
|
939
|
+
l(u) && a && a(u);
|
|
940
|
+
};
|
|
941
|
+
return /* @__PURE__ */ e.jsxs("div", { className: `alex-evo-ui-kit-chips chips ${s ? "big-chips" : ""} ${a ? "hovered" : ""}`, onClick: o, children: [
|
|
942
|
+
/* @__PURE__ */ e.jsx("p", { children: n }),
|
|
943
|
+
r ? /* @__PURE__ */ e.jsx("div", { className: "alex-evo-ui-kit-chips-btn chips-btn", onClick: r, children: /* @__PURE__ */ e.jsx(me, { size: 18 }) }) : null
|
|
944
|
+
] });
|
|
945
|
+
}, rn = ({ styleContainer: n, type: r = "text", transparent: s, readOnly: a, password: l, border: o, onClear: u, icon: c, onChange: i, name: h, value: f, placeholder: v, className: m, validEmptyValue: b, onFocus: k, onBlur: w, error: S, max: D, min: E }) => {
|
|
946
|
+
const B = J(null), [j, _] = C(!1), W = R((Q, G) => _(!!(S || Q && (!G || G === ""))), []);
|
|
947
|
+
A(() => {
|
|
948
|
+
W(b, f);
|
|
949
|
+
}, [f, b, W]);
|
|
950
|
+
const z = () => {
|
|
951
|
+
B.current && B.current.focus();
|
|
952
|
+
};
|
|
953
|
+
return /* @__PURE__ */ e.jsxs("div", { style: n, className: `text-field ${o ? "border" : ""} ${s ? "transparent" : ""} ${m}`, children: [
|
|
954
|
+
c ? /* @__PURE__ */ e.jsx("div", { className: "icon-container", onClick: z, children: c }) : null,
|
|
955
|
+
/* @__PURE__ */ e.jsxs("div", { className: "input-container", onClick: z, children: [
|
|
956
|
+
/* @__PURE__ */ e.jsx(
|
|
957
|
+
"input",
|
|
958
|
+
{
|
|
959
|
+
ref: B,
|
|
960
|
+
max: D,
|
|
961
|
+
min: E,
|
|
962
|
+
readOnly: a,
|
|
963
|
+
required: !0,
|
|
964
|
+
type: l ? "password" : r,
|
|
965
|
+
className: `${j ? "error" : ""}`,
|
|
966
|
+
name: h,
|
|
967
|
+
value: f,
|
|
968
|
+
onChange: i,
|
|
969
|
+
onFocus: k,
|
|
970
|
+
onBlur: w
|
|
971
|
+
}
|
|
972
|
+
),
|
|
973
|
+
/* @__PURE__ */ e.jsx("label", { children: v ? /* @__PURE__ */ e.jsx("span", { children: v }) : null }),
|
|
974
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-field-line" })
|
|
975
|
+
] }),
|
|
976
|
+
u ? /* @__PURE__ */ e.jsx("div", { className: "clear-container", children: /* @__PURE__ */ e.jsx(Jn, { onClick: u }) }) : null
|
|
977
|
+
] });
|
|
978
|
+
}, Tt = ({ styleContainer: n, transparent: r, readOnly: s, border: a, icon: l, onChange: o, name: u, value: c, placeholder: i, className: h, validEmptyValue: f, onFocus: v, onBlur: m, error: b }) => {
|
|
979
|
+
const k = J(null), [w, S] = C(!1), D = R((B, j) => S(!!(b || B && (!j || j === ""))), []);
|
|
980
|
+
A(() => {
|
|
981
|
+
D(f, c);
|
|
982
|
+
}, [c, f, D]);
|
|
983
|
+
const E = () => {
|
|
984
|
+
k.current && k.current.focus();
|
|
985
|
+
};
|
|
986
|
+
return /* @__PURE__ */ e.jsxs("div", { style: n, className: `text-area ${w ? "error" : ""} ${a ? "border" : ""} ${r ? "transparent" : ""} ${h}`, children: [
|
|
987
|
+
l ? /* @__PURE__ */ e.jsx("div", { className: "icon-container", onClick: E, children: l }) : null,
|
|
988
|
+
/* @__PURE__ */ e.jsx("div", { className: "textarea-container", onClick: E, children: /* @__PURE__ */ e.jsx(
|
|
989
|
+
"textarea",
|
|
990
|
+
{
|
|
991
|
+
ref: k,
|
|
992
|
+
readOnly: s,
|
|
993
|
+
required: !0,
|
|
994
|
+
placeholder: i,
|
|
995
|
+
className: `${w ? "error" : ""}`,
|
|
996
|
+
name: u,
|
|
997
|
+
value: c,
|
|
998
|
+
onChange: o,
|
|
999
|
+
onFocus: v,
|
|
1000
|
+
onBlur: m
|
|
1001
|
+
}
|
|
1002
|
+
) })
|
|
1003
|
+
] });
|
|
1004
|
+
}, he = ({ style: n, short: r, text: s }) => s ? /* @__PURE__ */ e.jsxs("div", { style: n, className: `divider-and-text ${r ? "short" : ""}`, children: [
|
|
1005
|
+
/* @__PURE__ */ e.jsx("div", { className: `divider ${r ? "short" : ""}` }),
|
|
1006
|
+
s,
|
|
1007
|
+
/* @__PURE__ */ e.jsx("div", { className: `divider ${r ? "short" : ""}` })
|
|
1008
|
+
] }) : /* @__PURE__ */ e.jsx("div", { style: n, className: `divider ${r ? "short" : ""}` }), rt = ({ name: n, checked: r }) => /* @__PURE__ */ e.jsxs("label", { className: "radio-button-container", children: [
|
|
1009
|
+
/* @__PURE__ */ e.jsx("input", { className: "radio-button", name: n, type: "radio", checked: r, readOnly: !0 }),
|
|
1010
|
+
/* @__PURE__ */ e.jsx("span", {})
|
|
1011
|
+
] }), Rt = ({ name: n, currentValue: r, value: s, onChange: a, readOnly: l, checked: o }) => /* @__PURE__ */ e.jsxs("label", { className: "radio-button-container", children: [
|
|
1012
|
+
/* @__PURE__ */ e.jsx("input", { className: "radio-button", name: n, type: "radio", checked: r === s || o, value: s, onChange: a, readOnly: l }),
|
|
1013
|
+
/* @__PURE__ */ e.jsx("span", {})
|
|
1014
|
+
] }), _t = ({ style: n, icon: r, className: s, onClick: a, onContextMenu: l, children: o }) => /* @__PURE__ */ e.jsxs("button", { style: n, className: `${s} extendedFAB`, onClick: a, onContextMenu: l, children: [
|
|
1015
|
+
r,
|
|
1016
|
+
o ? /* @__PURE__ */ e.jsx("span", { children: o }) : null
|
|
1017
|
+
] }), St = ({ children: n, header: r }) => /* @__PURE__ */ e.jsxs("div", { className: "field-container-ui", children: [
|
|
1018
|
+
/* @__PURE__ */ e.jsx("h4", { children: r }),
|
|
1019
|
+
/* @__PURE__ */ e.jsx("div", { className: "field-container-content", children: n })
|
|
1020
|
+
] }), st = (n) => n === "" ? [] : n.split(",").map((r) => r.trim()), Qe = (n) => n.join(", "), Ot = ({ minWidth: n, value: r, onChange: s, border: a }) => {
|
|
1021
|
+
const [l, o] = C([]), [u, c] = C("");
|
|
1022
|
+
A(() => {
|
|
1023
|
+
console.log("p0"), o(st(r));
|
|
1024
|
+
}, [r]), A(() => {
|
|
1025
|
+
console.log(l);
|
|
1026
|
+
}, [l]);
|
|
1027
|
+
const i = (v) => {
|
|
1028
|
+
c(v.target.value);
|
|
1029
|
+
}, h = R(() => {
|
|
1030
|
+
if (u === "" || l.includes(u))
|
|
1031
|
+
return;
|
|
1032
|
+
const v = [...l, u.trim()];
|
|
1033
|
+
o(v), s && s(Qe(v)), c("");
|
|
1034
|
+
}, [l, u]), f = (v) => {
|
|
1035
|
+
const m = l.filter((b, k) => k !== v);
|
|
1036
|
+
o(m), s && s(Qe(m));
|
|
1037
|
+
};
|
|
1038
|
+
return /* @__PURE__ */ e.jsxs("div", { className: "more-text", style: { minWidth: n }, children: [
|
|
1039
|
+
/* @__PURE__ */ e.jsxs("div", { className: "add value", children: [
|
|
1040
|
+
/* @__PURE__ */ e.jsx(rn, { onChange: i, value: u, border: a }),
|
|
1041
|
+
/* @__PURE__ */ e.jsx(Ln, { children: /* @__PURE__ */ e.jsx(Yn, { onClick: h, children: "add" }) })
|
|
1042
|
+
] }),
|
|
1043
|
+
/* @__PURE__ */ e.jsx("div", { className: "chips-container", children: l.map((v, m) => /* @__PURE__ */ e.jsx(tt, { text: v, onDelete: () => f(m) }, m)) })
|
|
1044
|
+
] });
|
|
1045
|
+
}, Dt = ({ style: n, text: r, className: s, onClick: a, onContextMenu: l }) => {
|
|
1046
|
+
const o = J(null), u = R(() => {
|
|
1047
|
+
if (!o.current)
|
|
1048
|
+
return;
|
|
1049
|
+
let c = o.current.getElementsByTagName("p");
|
|
1050
|
+
c[0] && o.current.clientWidth <= c[0].clientWidth ? (c[0].className = "runing", c[0].innerHTML = `| ${r} | ${r}`) : c[0].className = "";
|
|
1051
|
+
}, [r]);
|
|
1052
|
+
return A(() => {
|
|
1053
|
+
u();
|
|
1054
|
+
}, [u]), /* @__PURE__ */ e.jsx("div", { style: n, ref: o, onClick: a, onContextMenu: l, className: `runing-text ${s}`, children: /* @__PURE__ */ e.jsx("p", { children: r }) });
|
|
1055
|
+
}, Mt = ({ className: n, children: r, height: s }) => /* @__PURE__ */ e.jsx("div", { className: `scroll-container ${n}`, style: { height: s }, children: r }), Pt = ({ onMenu: n, onSearch: r, placeholder: s, autoChenge: a }) => {
|
|
1056
|
+
const l = J(null), [o, u] = C(""), [c, i] = C(!1), h = () => {
|
|
1057
|
+
l.current && (l.current.focus(), i(!0));
|
|
1058
|
+
}, f = () => {
|
|
1059
|
+
l.current && (l.current.focus(), l.current.value = ""), u(""), i(!0), a && r("");
|
|
1060
|
+
}, v = () => {
|
|
1061
|
+
f(), l.current && (l.current.blur(), i(!1));
|
|
1062
|
+
}, m = (k) => {
|
|
1063
|
+
u(k.target.value), a && r(k.target.value);
|
|
1064
|
+
}, b = (k) => {
|
|
1065
|
+
k.code === "Enter" && r(o);
|
|
1066
|
+
};
|
|
1067
|
+
return /* @__PURE__ */ e.jsx("div", { className: "search-container", children: /* @__PURE__ */ e.jsxs("div", { className: "search-field", children: [
|
|
1068
|
+
c ? /* @__PURE__ */ e.jsx("span", { onClick: v, children: /* @__PURE__ */ e.jsx(Un, { size: 24 }) }) : n ? /* @__PURE__ */ e.jsx("span", { onClick: n, children: /* @__PURE__ */ e.jsx(Xn, { size: 24 }) }) : null,
|
|
1069
|
+
/* @__PURE__ */ e.jsx("input", { placeholder: s, type: "text", ref: l, onChange: m, onKeyDown: b, value: o, onFocus: () => i(!0) }),
|
|
1070
|
+
c ? /* @__PURE__ */ e.jsx("span", { onClick: f, children: /* @__PURE__ */ e.jsx(me, { size: 24 }) }) : /* @__PURE__ */ e.jsx("span", { onClick: h, children: /* @__PURE__ */ e.jsx(et, { size: 24 }) })
|
|
1071
|
+
] }) });
|
|
1072
|
+
}, $t = ({ visible: n, text: r, option: s }) => {
|
|
1073
|
+
const a = () => {
|
|
1074
|
+
s != null && s.onHide && s.onHide();
|
|
1075
|
+
};
|
|
1076
|
+
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: [
|
|
1077
|
+
/* @__PURE__ */ e.jsxs("div", { className: "snackbar-content-container", children: [
|
|
1078
|
+
/* @__PURE__ */ e.jsx("div", { className: "snackbar-text", children: r }),
|
|
1079
|
+
s != null && s.onClick ? /* @__PURE__ */ e.jsx("div", { className: "snackbar-button-container", children: /* @__PURE__ */ e.jsx(P, { className: "snackbar-btn", onClick: s.onClick, children: s.buttonText ?? "Action" }) }) : null
|
|
1080
|
+
] }),
|
|
1081
|
+
s != null && s.closeButton ? /* @__PURE__ */ e.jsx("div", { className: "snackbar-close", children: /* @__PURE__ */ e.jsx("span", { onClick: a, children: /* @__PURE__ */ e.jsx(me, {}) }) }) : null
|
|
1082
|
+
] }) : null;
|
|
1083
|
+
}, At = ({ 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 }) }), U = ({ className: n, children: r, header: s, action: a, onHide: l, style: o }) => {
|
|
1084
|
+
function u() {
|
|
1085
|
+
l && l();
|
|
1086
|
+
}
|
|
1087
|
+
return /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1088
|
+
/* @__PURE__ */ e.jsx("div", { onClick: u, style: { zIndex: "999" }, className: "backplate" }),
|
|
1089
|
+
/* @__PURE__ */ e.jsxs("div", { style: o, className: `dialog-container ${n}`, children: [
|
|
1090
|
+
s ? /* @__PURE__ */ e.jsx("div", { className: "dialog-header", children: /* @__PURE__ */ e.jsx("h2", { className: "text-3xl", children: s }) }) : null,
|
|
1091
|
+
/* @__PURE__ */ e.jsx("div", { className: "dialog-content", children: r }),
|
|
1092
|
+
a ? /* @__PURE__ */ e.jsx("div", { className: "dialog-action", children: a }) : null
|
|
1093
|
+
] })
|
|
1094
|
+
] });
|
|
1095
|
+
}, at = ({ onHide: n, onSave: r }) => /* @__PURE__ */ e.jsxs("div", { className: "dialog-button-container", children: [
|
|
1096
|
+
/* @__PURE__ */ e.jsx(P, { onClick: n, children: "cancel" }),
|
|
1097
|
+
r ? /* @__PURE__ */ e.jsx(P, { onClick: r, children: "save" }) : null
|
|
1098
|
+
] }), Ft = ({ style: n, className: r, header: s, children: a, onSave: l, onHide: o }) => {
|
|
1099
|
+
const [u, c] = C(!1), i = R(() => {
|
|
1100
|
+
window.innerWidth < 720 ? c(!0) : c(!1);
|
|
1101
|
+
}, [window.innerWidth]);
|
|
1102
|
+
A(() => {
|
|
1103
|
+
i();
|
|
1104
|
+
}, [i]), A(() => (window.addEventListener("resize", i), () => {
|
|
1105
|
+
window.removeEventListener("resize", i);
|
|
1106
|
+
}), [i]);
|
|
1107
|
+
const h = () => {
|
|
1108
|
+
o && o();
|
|
1109
|
+
}, f = () => {
|
|
1110
|
+
l && l();
|
|
1111
|
+
};
|
|
1112
|
+
return u ? /* @__PURE__ */ e.jsxs("div", { style: n, className: `full-screen-dialog-container ${r}`, children: [
|
|
1113
|
+
/* @__PURE__ */ e.jsxs("div", { className: "full-screen-dialog-header", children: [
|
|
1114
|
+
/* @__PURE__ */ e.jsx("div", { className: "dialog-icon-container", children: /* @__PURE__ */ e.jsx(ae, { transparent: !0, onClick: h, icon: /* @__PURE__ */ e.jsx(me, {}) }) }),
|
|
1115
|
+
/* @__PURE__ */ e.jsx("div", { className: "header", children: s }),
|
|
1116
|
+
/* @__PURE__ */ e.jsx("div", { className: "save-container", children: l ? /* @__PURE__ */ e.jsx(P, { onClick: f, children: "save" }) : null })
|
|
1117
|
+
] }),
|
|
1118
|
+
/* @__PURE__ */ e.jsx("div", { className: "full-screen-dialog-content", style: { overflowY: "auto" }, children: a })
|
|
1119
|
+
] }) : /* @__PURE__ */ e.jsx(U, { style: n, header: s, className: `full-screen-dialog-base-format ${r}`, onHide: h, children: a, action: /* @__PURE__ */ e.jsx(at, { onHide: h, onSave: l ? f : void 0 }) });
|
|
1120
|
+
}, It = ({ styleContainer: n, text: r, header: s, actionText: a, onSuccess: l, onHide: o, onCancel: u }) => {
|
|
1121
|
+
const c = R(() => {
|
|
1122
|
+
l && l(), o && o();
|
|
1123
|
+
}, []), i = R(() => {
|
|
1124
|
+
u && u(), o && o();
|
|
1125
|
+
}, []);
|
|
1126
|
+
return /* @__PURE__ */ e.jsx(U, { style: n, header: s, action: /* @__PURE__ */ e.jsx(ct, { onHide: i, actionText: a, onSuccess: c }), children: /* @__PURE__ */ e.jsx("p", { children: r }) });
|
|
1127
|
+
};
|
|
1128
|
+
function ct({ actionText: n, onSuccess: r, onHide: s }) {
|
|
1129
|
+
return /* @__PURE__ */ e.jsxs("div", { className: "dialog-button-container", children: [
|
|
1130
|
+
/* @__PURE__ */ e.jsx(P, { onClick: s, children: "cancel" }),
|
|
1131
|
+
/* @__PURE__ */ e.jsx(P, { onClick: r, children: n ?? "OK" })
|
|
1132
|
+
] });
|
|
1133
|
+
}
|
|
1134
|
+
function Yt({ onSuccess: n, items: r, header: s, onHide: a, noHide: l = !1, name: o = "dailog_name" }) {
|
|
1135
|
+
const [u, c] = C(void 0), i = R(() => {
|
|
1136
|
+
n && u && n(u), c(void 0), !l && a && a();
|
|
1137
|
+
}, [u]), h = R((f) => {
|
|
1138
|
+
c(f);
|
|
1139
|
+
}, []);
|
|
1140
|
+
return /* @__PURE__ */ e.jsxs(U, { header: s, action: /* @__PURE__ */ e.jsx(it, { onHide: a, onSuccess: i, disabled: u === void 0 }), children: [
|
|
1141
|
+
/* @__PURE__ */ e.jsx(he, { style: { padding: "0px" } }),
|
|
1142
|
+
/* @__PURE__ */ e.jsx(Bn, { className: "transparent", scroll: !0, maxHeight: "200px", children: r.map((f, v) => /* @__PURE__ */ e.jsx("label", { children: /* @__PURE__ */ e.jsx(Wn, { hovered: !0, header: f.title, onClick: () => h(f.data), control: /* @__PURE__ */ e.jsx(rt, { name: o, checked: f.data === u }) }) }, v)) }),
|
|
1143
|
+
/* @__PURE__ */ e.jsx(he, { style: { padding: "0px" } })
|
|
1144
|
+
] });
|
|
1145
|
+
}
|
|
1146
|
+
function it({ onSuccess: n, onHide: r, disabled: s }) {
|
|
1147
|
+
return /* @__PURE__ */ e.jsxs("div", { className: "dialog-button-container", children: [
|
|
1148
|
+
/* @__PURE__ */ e.jsx(P, { onClick: r, children: "cancel" }),
|
|
1149
|
+
/* @__PURE__ */ e.jsx(P, { onClick: n, disabled: s, children: "OK" })
|
|
1150
|
+
] });
|
|
1151
|
+
}
|
|
1152
|
+
const Bt = ({ styleContainer: n, text: r, header: s, onSuccess: a, onHide: l, placeholder: o, type: u = "text", min: c = 0, max: i = 100 }) => {
|
|
1153
|
+
const [h, f] = C(""), v = R(() => {
|
|
1154
|
+
a && a(h), l && l();
|
|
1155
|
+
}, [h]), m = (b) => {
|
|
1156
|
+
u === "number" && (Number(b) < c && (b = String(c)), Number(b) > i && (b = String(i))), f(b);
|
|
1157
|
+
};
|
|
1158
|
+
return /* @__PURE__ */ e.jsxs(U, { style: n, header: s, action: /* @__PURE__ */ e.jsx(lt, { onHide: l, onSuccess: v }), children: [
|
|
1159
|
+
/* @__PURE__ */ e.jsx("p", { children: r }),
|
|
1160
|
+
/* @__PURE__ */ e.jsx("div", { className: "dialog-input-container", children: /* @__PURE__ */ e.jsx(rn, { max: i, min: c, type: u, border: !0, placeholder: o, value: h, onChange: (b) => m(b.target.value) }) })
|
|
1161
|
+
] });
|
|
1162
|
+
};
|
|
1163
|
+
function lt({ onSuccess: n, onHide: r }) {
|
|
1164
|
+
return /* @__PURE__ */ e.jsxs("div", { className: "dialog-button-container", children: [
|
|
1165
|
+
/* @__PURE__ */ e.jsx(P, { onClick: r, children: "cancel" }),
|
|
1166
|
+
/* @__PURE__ */ e.jsx(P, { onClick: n, children: "OK" })
|
|
1167
|
+
] });
|
|
1168
|
+
}
|
|
1169
|
+
const ot = 2050, en = 1900, V = [
|
|
1170
|
+
"January",
|
|
1171
|
+
"February",
|
|
1172
|
+
"March",
|
|
1173
|
+
"April",
|
|
1174
|
+
"May",
|
|
1175
|
+
"June",
|
|
1176
|
+
"July",
|
|
1177
|
+
"August",
|
|
1178
|
+
"September",
|
|
1179
|
+
"October",
|
|
1180
|
+
"November",
|
|
1181
|
+
"December"
|
|
1182
|
+
], ut = () => Array(ot - en).fill(0).map((n, r) => en + r), Wt = ({ onChange: n, onHide: r }) => {
|
|
1183
|
+
const [s] = C(V[(/* @__PURE__ */ new Date()).getMonth()]), [a] = C((/* @__PURE__ */ new Date()).getFullYear()), [l] = C((/* @__PURE__ */ new Date()).getDate()), [o, u] = C(V[(/* @__PURE__ */ new Date()).getMonth()]), [c, i] = C((/* @__PURE__ */ new Date()).getFullYear()), [h, f] = C({
|
|
1184
|
+
day: (/* @__PURE__ */ new Date()).getDate(),
|
|
1185
|
+
type: "NOW_MONTH"
|
|
1186
|
+
/* NOW_MONTH */
|
|
1187
|
+
}), [v, m] = C(
|
|
1188
|
+
"DAYS"
|
|
1189
|
+
/* DAYS */
|
|
1190
|
+
), b = (j, _) => new Date(j, _ + 1, 0).getDate(), k = (j, _, W) => new Date(j, _, W).getDay(), w = (j, _) => {
|
|
1191
|
+
let W = Array(b(j, _)).fill(0).map((ie, K) => ({ type: "NOW_MONTH", day: K + 1 })), z = k(j, _, b(j, _)), Q = Array(7 - z).fill(0).map((ie, K) => ({ type: "NEXT_MONTH", day: K + 1 }));
|
|
1192
|
+
return W = Array(k(j, _, 0)).fill(0).map((ie, K) => ({ type: "PREV_MONTH", day: b(_ ? j : j - 1, _ ? _ - 1 : 11) - K })).reverse().concat(W).concat(Q), W;
|
|
1193
|
+
}, S = (j) => {
|
|
1194
|
+
m(
|
|
1195
|
+
"DAYS"
|
|
1196
|
+
/* DAYS */
|
|
1197
|
+
), i(j);
|
|
1198
|
+
}, D = (j) => {
|
|
1199
|
+
m(
|
|
1200
|
+
"DAYS"
|
|
1201
|
+
/* DAYS */
|
|
1202
|
+
), u(j);
|
|
1203
|
+
}, E = (j) => {
|
|
1204
|
+
f(j);
|
|
1205
|
+
}, B = R(() => {
|
|
1206
|
+
let j = /* @__PURE__ */ new Date();
|
|
1207
|
+
j.setFullYear(c), h.type === "NEXT_MONTH" ? o === V[11] ? (j.setMonth(0), j.setFullYear(c + 1)) : j.setMonth(V.indexOf(o) + 1) : h.type === "PREV_MONTH" ? o === V[0] ? (j.setMonth(11), j.setFullYear(c - 1)) : j.setMonth(V.indexOf(o) - 1) : j.setMonth(V.indexOf(o)), j.setDate(h.day), n && n(j.getFullYear(), j.getMonth(), j.getDate()), r && r();
|
|
1208
|
+
}, [o, c, n, r, h]);
|
|
1209
|
+
return /* @__PURE__ */ e.jsxs(U, { className: "calendar-body-container", style: { maxWidth: "328px" }, children: [
|
|
1210
|
+
/* @__PURE__ */ e.jsxs("div", { className: "calendar-body-select-container", children: [
|
|
1211
|
+
/* @__PURE__ */ e.jsx("div", { className: "month", children: /* @__PURE__ */ e.jsxs("span", { className: v === "MONTHS" ? "active" : "", onClick: () => m(
|
|
1212
|
+
"MONTHS"
|
|
1213
|
+
/* MONTHS */
|
|
1214
|
+
), children: [
|
|
1215
|
+
o,
|
|
1216
|
+
" ",
|
|
1217
|
+
/* @__PURE__ */ e.jsx(Ze, {})
|
|
1218
|
+
] }) }),
|
|
1219
|
+
/* @__PURE__ */ e.jsx("div", { className: "years", children: /* @__PURE__ */ e.jsxs("span", { className: v === "YEARS" ? "active" : "", onClick: () => m(
|
|
1220
|
+
"YEARS"
|
|
1221
|
+
/* YEARS */
|
|
1222
|
+
), children: [
|
|
1223
|
+
c,
|
|
1224
|
+
" ",
|
|
1225
|
+
/* @__PURE__ */ e.jsx(Ze, {})
|
|
1226
|
+
] }) })
|
|
1227
|
+
] }),
|
|
1228
|
+
v === "MONTHS" ? /* @__PURE__ */ e.jsx("div", { className: "calendar-body-months-container", children: V.map((j, _) => /* @__PURE__ */ e.jsxs("div", { className: "calendar-body-months-item", onClick: () => D(j), children: [
|
|
1229
|
+
/* @__PURE__ */ e.jsx("div", { className: "status-container", children: o === j ? /* @__PURE__ */ e.jsx(fe, {}) : null }),
|
|
1230
|
+
/* @__PURE__ */ e.jsx("div", { className: "content", children: j })
|
|
1231
|
+
] }, _)) }) : v === "YEARS" ? /* @__PURE__ */ e.jsx("div", { className: "calendar-body-years-container", children: ut().map((j, _) => /* @__PURE__ */ e.jsxs("div", { className: "calendar-body-year-item", onClick: () => S(j), children: [
|
|
1232
|
+
/* @__PURE__ */ e.jsx("div", { className: "status-container", children: c === j ? /* @__PURE__ */ e.jsx(fe, {}) : null }),
|
|
1233
|
+
/* @__PURE__ */ e.jsx("div", { className: "content", children: j })
|
|
1234
|
+
] }, _)) }) : /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1235
|
+
/* @__PURE__ */ e.jsxs("div", { className: "calendar-body-dayofweek-container", children: [
|
|
1236
|
+
/* @__PURE__ */ e.jsx("span", { children: "M" }),
|
|
1237
|
+
/* @__PURE__ */ e.jsx("span", { children: "T" }),
|
|
1238
|
+
/* @__PURE__ */ e.jsx("span", { children: "W" }),
|
|
1239
|
+
/* @__PURE__ */ e.jsx("span", { children: "T" }),
|
|
1240
|
+
/* @__PURE__ */ e.jsx("span", { children: "F" }),
|
|
1241
|
+
/* @__PURE__ */ e.jsx("span", { children: "S" }),
|
|
1242
|
+
/* @__PURE__ */ e.jsx("span", { children: "S" })
|
|
1243
|
+
] }),
|
|
1244
|
+
/* @__PURE__ */ e.jsx("div", { className: "calendar-body-days-container", children: w(c, V.indexOf(o)).map((j, _) => /* @__PURE__ */ e.jsx("div", { className: `day ${j.type !== "NOW_MONTH" ? "other" : ""} ${l === j.day && c === a && o === s ? "now" : ""} ${j.day === h.day && j.type === h.type ? "select" : ""}`, onClick: () => E(j), children: j.day }, _)) })
|
|
1245
|
+
] }),
|
|
1246
|
+
/* @__PURE__ */ e.jsxs("div", { className: "calendar-body-action-container", children: [
|
|
1247
|
+
/* @__PURE__ */ e.jsx(P, { className: "little m-0", onClick: r, children: "Cancel" }),
|
|
1248
|
+
/* @__PURE__ */ e.jsx(P, { className: "little m-0", onClick: B, children: "OK" })
|
|
1249
|
+
] })
|
|
1250
|
+
] });
|
|
1251
|
+
}, dt = ({ setHours: n, setMinutes: r, switchMode: s, hours: a, minutes: l, onCancel: o, onOK: u }) => {
|
|
1252
|
+
const [c, i] = C(!1), h = R((m) => {
|
|
1253
|
+
n(m), i(!0);
|
|
1254
|
+
}, [n]), f = R((m) => {
|
|
1255
|
+
r(m), i(!1);
|
|
1256
|
+
}, [r]), v = R(() => {
|
|
1257
|
+
i(!1), o();
|
|
1258
|
+
}, []);
|
|
1259
|
+
return /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1260
|
+
/* @__PURE__ */ e.jsx("div", { className: "time-type", children: /* @__PURE__ */ e.jsx("p", { className: "text-sm", children: "Select time" }) }),
|
|
1261
|
+
/* @__PURE__ */ e.jsxs("div", { className: "time-input-container", children: [
|
|
1262
|
+
/* @__PURE__ */ e.jsxs("div", { className: "time-input hours", children: [
|
|
1263
|
+
/* @__PURE__ */ e.jsx("div", { className: "input-container", children: /* @__PURE__ */ e.jsx("input", { disabled: !0, type: "number", min: 0, max: 23, value: a }) }),
|
|
1264
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-sm", children: "Hour" })
|
|
1265
|
+
] }),
|
|
1266
|
+
/* @__PURE__ */ e.jsx("div", { className: "time-separator", children: ":" }),
|
|
1267
|
+
/* @__PURE__ */ e.jsxs("div", { className: "time-input minutes", children: [
|
|
1268
|
+
/* @__PURE__ */ e.jsx("div", { className: "input-container", children: /* @__PURE__ */ e.jsx("input", { disabled: !0, type: "number", value: l, min: 0, max: 60 }) }),
|
|
1269
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-sm", children: "Minute" })
|
|
1270
|
+
] })
|
|
1271
|
+
] }),
|
|
1272
|
+
/* @__PURE__ */ e.jsx("div", { className: "clock-input-container", children: c ? /* @__PURE__ */ e.jsx(ht, { setMinutes: f }) : /* @__PURE__ */ e.jsx(ft, { setHours: h }) }),
|
|
1273
|
+
/* @__PURE__ */ e.jsxs("div", { className: "enter-time-action", children: [
|
|
1274
|
+
/* @__PURE__ */ e.jsx("div", { className: "enter-time-icon", onClick: () => s(), children: /* @__PURE__ */ e.jsx(Zn, {}) }),
|
|
1275
|
+
/* @__PURE__ */ e.jsx(P, { className: "little", onClick: v, children: "Cancel" }),
|
|
1276
|
+
/* @__PURE__ */ e.jsx(P, { className: "little", onClick: u, children: "OK" })
|
|
1277
|
+
] })
|
|
1278
|
+
] });
|
|
1279
|
+
};
|
|
1280
|
+
function ft({ setHours: n }) {
|
|
1281
|
+
return /* @__PURE__ */ e.jsxs("div", { className: "clock-input", children: [
|
|
1282
|
+
/* @__PURE__ */ e.jsxs("div", { className: "clock-input-am", children: [
|
|
1283
|
+
/* @__PURE__ */ e.jsx("span", { onClick: () => n(1), children: "1" }),
|
|
1284
|
+
/* @__PURE__ */ e.jsx("span", { onClick: () => n(2), children: "2" }),
|
|
1285
|
+
/* @__PURE__ */ e.jsx("span", { onClick: () => n(3), children: "3" }),
|
|
1286
|
+
/* @__PURE__ */ e.jsx("span", { onClick: () => n(4), children: "4" }),
|
|
1287
|
+
/* @__PURE__ */ e.jsx("span", { onClick: () => n(5), children: "5" }),
|
|
1288
|
+
/* @__PURE__ */ e.jsx("span", { onClick: () => n(6), children: "6" }),
|
|
1289
|
+
/* @__PURE__ */ e.jsx("span", { onClick: () => n(7), children: "7" }),
|
|
1290
|
+
/* @__PURE__ */ e.jsx("span", { onClick: () => n(8), children: "8" }),
|
|
1291
|
+
/* @__PURE__ */ e.jsx("span", { onClick: () => n(9), children: "9" }),
|
|
1292
|
+
/* @__PURE__ */ e.jsx("span", { onClick: () => n(10), children: "10" }),
|
|
1293
|
+
/* @__PURE__ */ e.jsx("span", { onClick: () => n(11), children: "11" }),
|
|
1294
|
+
/* @__PURE__ */ e.jsx("span", { onClick: () => n(12), children: "12" })
|
|
1295
|
+
] }),
|
|
1296
|
+
/* @__PURE__ */ e.jsxs("div", { className: "clock-input-pm", children: [
|
|
1297
|
+
/* @__PURE__ */ e.jsx("span", { onClick: () => n(13), children: "13" }),
|
|
1298
|
+
/* @__PURE__ */ e.jsx("span", { onClick: () => n(14), children: "14" }),
|
|
1299
|
+
/* @__PURE__ */ e.jsx("span", { onClick: () => n(15), children: "15" }),
|
|
1300
|
+
/* @__PURE__ */ e.jsx("span", { onClick: () => n(16), children: "16" }),
|
|
1301
|
+
/* @__PURE__ */ e.jsx("span", { onClick: () => n(17), children: "17" }),
|
|
1302
|
+
/* @__PURE__ */ e.jsx("span", { onClick: () => n(18), children: "18" }),
|
|
1303
|
+
/* @__PURE__ */ e.jsx("span", { onClick: () => n(19), children: "19" }),
|
|
1304
|
+
/* @__PURE__ */ e.jsx("span", { onClick: () => n(20), children: "20" }),
|
|
1305
|
+
/* @__PURE__ */ e.jsx("span", { onClick: () => n(21), children: "21" }),
|
|
1306
|
+
/* @__PURE__ */ e.jsx("span", { onClick: () => n(22), children: "22" }),
|
|
1307
|
+
/* @__PURE__ */ e.jsx("span", { onClick: () => n(23), children: "23" }),
|
|
1308
|
+
/* @__PURE__ */ e.jsx("span", { onClick: () => n(0), children: "0" })
|
|
1309
|
+
] }),
|
|
1310
|
+
/* @__PURE__ */ e.jsx("span", { className: "center" })
|
|
1311
|
+
] });
|
|
1312
|
+
}
|
|
1313
|
+
function ht({ setMinutes: n }) {
|
|
1314
|
+
return /* @__PURE__ */ e.jsxs("div", { className: "clock-input", children: [
|
|
1315
|
+
/* @__PURE__ */ e.jsxs("div", { className: "clock-input-minute", children: [
|
|
1316
|
+
/* @__PURE__ */ e.jsx("span", { onClick: () => n(0), children: "00" }),
|
|
1317
|
+
/* @__PURE__ */ e.jsx("span", { onClick: () => n(5), children: "05" }),
|
|
1318
|
+
/* @__PURE__ */ e.jsx("span", { onClick: () => n(10), children: "10" }),
|
|
1319
|
+
/* @__PURE__ */ e.jsx("span", { onClick: () => n(15), children: "15" }),
|
|
1320
|
+
/* @__PURE__ */ e.jsx("span", { onClick: () => n(20), children: "20" }),
|
|
1321
|
+
/* @__PURE__ */ e.jsx("span", { onClick: () => n(25), children: "25" }),
|
|
1322
|
+
/* @__PURE__ */ e.jsx("span", { onClick: () => n(30), children: "30" }),
|
|
1323
|
+
/* @__PURE__ */ e.jsx("span", { onClick: () => n(35), children: "35" }),
|
|
1324
|
+
/* @__PURE__ */ e.jsx("span", { onClick: () => n(40), children: "40" }),
|
|
1325
|
+
/* @__PURE__ */ e.jsx("span", { onClick: () => n(45), children: "45" }),
|
|
1326
|
+
/* @__PURE__ */ e.jsx("span", { onClick: () => n(50), children: "50" }),
|
|
1327
|
+
/* @__PURE__ */ e.jsx("span", { onClick: () => n(55), children: "55" })
|
|
1328
|
+
] }),
|
|
1329
|
+
/* @__PURE__ */ e.jsx("span", { className: "center" })
|
|
1330
|
+
] });
|
|
1331
|
+
}
|
|
1332
|
+
const xt = ({ setHours: n, setMinutes: r, switchMode: s, minutes: a, hours: l, onCancel: o, onOK: u }) => {
|
|
1333
|
+
const c = (h) => {
|
|
1334
|
+
let f = Number(h.target.value);
|
|
1335
|
+
f < 0 && (f = 0), f > 23 && (f = 23), n(f);
|
|
1336
|
+
}, i = (h) => {
|
|
1337
|
+
let f = Number(h.target.value);
|
|
1338
|
+
f < 0 && (f = 0), f > 59 && (f = 59), r(f);
|
|
1339
|
+
};
|
|
1340
|
+
return /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1341
|
+
/* @__PURE__ */ e.jsx("div", { className: "time-type", children: /* @__PURE__ */ e.jsx("p", { className: "text-sm", children: "Enter time" }) }),
|
|
1342
|
+
/* @__PURE__ */ e.jsxs("div", { className: "time-input-container", children: [
|
|
1343
|
+
/* @__PURE__ */ e.jsxs("div", { className: "time-input hours", children: [
|
|
1344
|
+
/* @__PURE__ */ e.jsx("div", { className: "input-container", children: /* @__PURE__ */ e.jsx("input", { type: "number", min: 0, max: 23, value: l, onChange: c }) }),
|
|
1345
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-sm", children: "Hour" })
|
|
1346
|
+
] }),
|
|
1347
|
+
/* @__PURE__ */ e.jsx("div", { className: "time-separator", children: ":" }),
|
|
1348
|
+
/* @__PURE__ */ e.jsxs("div", { className: "time-input minutes", children: [
|
|
1349
|
+
/* @__PURE__ */ e.jsx("div", { className: "input-container", children: /* @__PURE__ */ e.jsx("input", { type: "number", value: a, min: 0, max: 59, onChange: i }) }),
|
|
1350
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-sm", children: "Minute" })
|
|
1351
|
+
] })
|
|
1352
|
+
] }),
|
|
1353
|
+
/* @__PURE__ */ e.jsxs("div", { className: "enter-time-action", children: [
|
|
1354
|
+
/* @__PURE__ */ e.jsx("div", { className: "enter-time-icon", onClick: () => s(), children: /* @__PURE__ */ e.jsx(Gn, {}) }),
|
|
1355
|
+
/* @__PURE__ */ e.jsx(P, { className: "little", onClick: o, children: "Cancel" }),
|
|
1356
|
+
/* @__PURE__ */ e.jsx(P, { className: "little", onClick: u, children: "OK" })
|
|
1357
|
+
] })
|
|
1358
|
+
] });
|
|
1359
|
+
}, Lt = (n) => {
|
|
1360
|
+
const [r, s] = C(n.minutes ?? 0), [a, l] = C(n.hours ?? 0), [o, u] = C(!0), c = () => {
|
|
1361
|
+
n.onHide && n.onHide(), s(0), l(0);
|
|
1362
|
+
}, i = R((f) => {
|
|
1363
|
+
s(f), n.onChange && n.onChange(a, f), n.onHide && n.onHide();
|
|
1364
|
+
}, [a]), h = R(() => {
|
|
1365
|
+
n.onChange && n.onChange(a, r), n.onHide && n.onHide();
|
|
1366
|
+
}, [a, r]);
|
|
1367
|
+
return o ? /* @__PURE__ */ e.jsx(U, { className: "enter-time-container", children: /* @__PURE__ */ e.jsx(dt, { setMinutes: i, setHours: l, minutes: r, hours: a, switchMode: () => u(!1), onCancel: c, onOK: h }) }) : /* @__PURE__ */ e.jsx(U, { className: "enter-time-container", children: /* @__PURE__ */ e.jsx(xt, { setMinutes: s, setHours: l, minutes: r, hours: a, switchMode: () => u(!0), onCancel: c, onOK: h }) });
|
|
1368
|
+
}, Vt = ({ onChange: n, value: r, className: s }) => {
|
|
1369
|
+
const [a, l] = C(r || []), o = R((c) => {
|
|
1370
|
+
if (!c)
|
|
1371
|
+
return;
|
|
1372
|
+
let i = a.slice();
|
|
1373
|
+
const h = i.indexOf(c.target.name);
|
|
1374
|
+
h !== -1 && !c.target.checked ? i = i.filter((f, v) => v !== h) : h === -1 && c.target.checked && i.push(c.target.name), l(i), n && n(i);
|
|
1375
|
+
}, [a]), u = R((c) => a.indexOf(c) !== -1, [a]);
|
|
1376
|
+
return /* @__PURE__ */ e.jsx(e.Fragment, { children: /* @__PURE__ */ e.jsxs("div", { className: `days-week-field-container ${s}`, children: [
|
|
1377
|
+
/* @__PURE__ */ e.jsxs("label", { children: [
|
|
1378
|
+
/* @__PURE__ */ e.jsx("input", { type: "checkbox", onChange: o, name: "Mon", checked: u("Mon") }),
|
|
1379
|
+
/* @__PURE__ */ e.jsx("span", { children: "Mon" })
|
|
1380
|
+
] }),
|
|
1381
|
+
/* @__PURE__ */ e.jsxs("label", { children: [
|
|
1382
|
+
/* @__PURE__ */ e.jsx("input", { type: "checkbox", onChange: o, name: "Tue", checked: u("Tue") }),
|
|
1383
|
+
/* @__PURE__ */ e.jsx("span", { children: "Tue" })
|
|
1384
|
+
] }),
|
|
1385
|
+
/* @__PURE__ */ e.jsxs("label", { children: [
|
|
1386
|
+
/* @__PURE__ */ e.jsx("input", { type: "checkbox", onChange: o, name: "Wed", checked: u("Wed") }),
|
|
1387
|
+
/* @__PURE__ */ e.jsx("span", { children: "Wed" })
|
|
1388
|
+
] }),
|
|
1389
|
+
/* @__PURE__ */ e.jsxs("label", { children: [
|
|
1390
|
+
/* @__PURE__ */ e.jsx("input", { type: "checkbox", onChange: o, name: "Thu", checked: u("Thu") }),
|
|
1391
|
+
/* @__PURE__ */ e.jsx("span", { children: "Thu" })
|
|
1392
|
+
] }),
|
|
1393
|
+
/* @__PURE__ */ e.jsxs("label", { children: [
|
|
1394
|
+
/* @__PURE__ */ e.jsx("input", { type: "checkbox", onChange: o, name: "Fri", checked: u("Fri") }),
|
|
1395
|
+
/* @__PURE__ */ e.jsx("span", { children: "Fri" })
|
|
1396
|
+
] }),
|
|
1397
|
+
/* @__PURE__ */ e.jsxs("label", { children: [
|
|
1398
|
+
/* @__PURE__ */ e.jsx("input", { type: "checkbox", onChange: o, name: "Sat", checked: u("Sat") }),
|
|
1399
|
+
/* @__PURE__ */ e.jsx("span", { children: "Sat" })
|
|
1400
|
+
] }),
|
|
1401
|
+
/* @__PURE__ */ e.jsxs("label", { children: [
|
|
1402
|
+
/* @__PURE__ */ e.jsx("input", { type: "checkbox", onChange: o, name: "Sun", checked: u("Sun") }),
|
|
1403
|
+
/* @__PURE__ */ e.jsx("span", { children: "Sun" })
|
|
1404
|
+
] })
|
|
1405
|
+
] }) });
|
|
1406
|
+
}, zt = ({ children: n }) => /* @__PURE__ */ e.jsx("div", { className: "adaptiv-grid-item", children: /* @__PURE__ */ e.jsx("div", { className: "adaptiv-grid-item-container", children: n }) }), Kt = ({ minWith: n, children: r, className: s, gridRowGap: a = "10px", gridColumnGap: l = "5px", itemMinWith: o, itemMaxWith: u, itemWith: c = "400px" }) => {
|
|
1407
|
+
const i = J(null), [h, f] = C([]), v = R(() => {
|
|
1408
|
+
if (!i.current)
|
|
1409
|
+
return;
|
|
1410
|
+
i.current.style.display = "grid", i.current.style.gridRowGap = a, i.current.style.gridColumnGap = l;
|
|
1411
|
+
let k = o ?? c, w = u ?? c;
|
|
1412
|
+
i.current.style.gridTemplateColumns = "repeat(auto-fill, minmax(" + k + ", " + w + "))", i.current.style.gridAutoRows = "0", h.forEach((S) => {
|
|
1413
|
+
S.style.gridAutoRows = "0", S.style.gridAutoColumns = "0";
|
|
1414
|
+
});
|
|
1415
|
+
}, [i.current]), m = R(() => {
|
|
1416
|
+
if (!i.current)
|
|
1417
|
+
return;
|
|
1418
|
+
let k = parseInt(window.getComputedStyle(i.current).getPropertyValue("grid-row-gap")), w = parseInt(window.getComputedStyle(i.current).getPropertyValue("grid-auto-rows"));
|
|
1419
|
+
h.forEach((S) => {
|
|
1420
|
+
let D = 0, E = S.querySelector(".adaptiv-grid-item-container");
|
|
1421
|
+
E && (D = Math.ceil((E.getBoundingClientRect().height + k) / (w + k))), S.style.gridRowEnd = "span " + D;
|
|
1422
|
+
});
|
|
1423
|
+
}, [h, i.current]), b = R(() => {
|
|
1424
|
+
if (i.current) {
|
|
1425
|
+
let k = i.current.querySelectorAll(".adaptiv-grid-item");
|
|
1426
|
+
f(Array.prototype.slice.call(k, 0));
|
|
1427
|
+
}
|
|
1428
|
+
}, [i.current, r]);
|
|
1429
|
+
return A(() => {
|
|
1430
|
+
b();
|
|
1431
|
+
}, [b]), A(() => {
|
|
1432
|
+
v();
|
|
1433
|
+
}, [v]), A(() => {
|
|
1434
|
+
m();
|
|
1435
|
+
}, [m, r]), A(() => (window.addEventListener("resize", m), () => {
|
|
1436
|
+
window.addEventListener("resize", m);
|
|
1437
|
+
}), [m]), /* @__PURE__ */ e.jsx("div", { style: { minWidth: n }, ref: i, className: `adaptiv-grid-layout ${s}`, children: r });
|
|
1438
|
+
}, mt = ({ item: n, isIcon: r, globalClick: s }) => {
|
|
1439
|
+
const a = () => {
|
|
1440
|
+
n.onClick && n.onClick(), s && s();
|
|
1441
|
+
};
|
|
1442
|
+
return /* @__PURE__ */ e.jsxs("div", { className: "menu-sub-item", onClick: a, children: [
|
|
1443
|
+
r ? /* @__PURE__ */ e.jsx("div", { className: "menu-icon-container", children: n.icon }) : null,
|
|
1444
|
+
/* @__PURE__ */ e.jsx("div", { className: "menu-text-container", children: n.title }),
|
|
1445
|
+
/* @__PURE__ */ e.jsx("div", { className: "menu-status-container", children: n.activated ? /* @__PURE__ */ e.jsx(fe, {}) : null })
|
|
1446
|
+
] });
|
|
1447
|
+
}, jt = (n) => n ? {
|
|
1448
|
+
height: Number(window.getComputedStyle(n).getPropertyValue("height").replace("px", "")),
|
|
1449
|
+
width: Number(window.getComputedStyle(n).getPropertyValue("width").replace("px", "")),
|
|
1450
|
+
left: Number(n.getBoundingClientRect().left),
|
|
1451
|
+
top: Number(n.getBoundingClientRect().top)
|
|
1452
|
+
} : void 0, sn = (n, r, s, a) => {
|
|
1453
|
+
let l = { x: n, y: r };
|
|
1454
|
+
if (!s)
|
|
1455
|
+
return l;
|
|
1456
|
+
let o = Number(window.getComputedStyle(s).getPropertyValue("height").replace("px", "")), u = Number(window.getComputedStyle(s).getPropertyValue("width").replace("px", "")), c = r + o - document.documentElement.scrollHeight, i = n + u - document.documentElement.clientWidth;
|
|
1457
|
+
return c > 0 && (l.y = l.y - c - ((a == null ? void 0 : a.marginBottom) ?? 0)), i > 0 && (l.x = l.x - i - ((a == null ? void 0 : a.marginRight) ?? 0)), l;
|
|
1458
|
+
}, vt = ({ items: n, onHide: r, smallDisplay: s, globalClick: a }) => {
|
|
1459
|
+
const l = J(null), [o, u] = C({ left: "0px", top: "0px" });
|
|
1460
|
+
function c(i) {
|
|
1461
|
+
for (let h of i)
|
|
1462
|
+
if (h.icon)
|
|
1463
|
+
return !0;
|
|
1464
|
+
return !1;
|
|
1465
|
+
}
|
|
1466
|
+
return A(() => {
|
|
1467
|
+
if (!l.current)
|
|
1468
|
+
return;
|
|
1469
|
+
let i = jt(l.current.parentElement);
|
|
1470
|
+
if (!i)
|
|
1471
|
+
return;
|
|
1472
|
+
let h = sn(i.left + i.width, i.top, l.current, { marginRight: i.width });
|
|
1473
|
+
u({
|
|
1474
|
+
left: h.x - i.left + "px",
|
|
1475
|
+
top: h.y - i.top + "px"
|
|
1476
|
+
});
|
|
1477
|
+
}, []), /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1478
|
+
/* @__PURE__ */ e.jsx("div", { ref: l, className: "menu-sub-block", style: { ...o }, children: n.map((i, h) => /* @__PURE__ */ e.jsx(mt, { item: i, isIcon: c(n), globalClick: a }, h)) }),
|
|
1479
|
+
s ? null : /* @__PURE__ */ e.jsx("div", { style: { zIndex: 4 }, className: "backplate", onClick: r })
|
|
1480
|
+
] });
|
|
1481
|
+
}, pt = ({ onHide: n, autoHide: r, globalClick: s, item: a, isIcon: l, smallDisplay: o }) => {
|
|
1482
|
+
const [u, c] = C(!1), i = R(() => {
|
|
1483
|
+
a.subItems ? c((h) => !h) : a.onClick && a.onClick(), s && s(), r && n && n();
|
|
1484
|
+
}, [a.onClick]);
|
|
1485
|
+
return /* @__PURE__ */ e.jsxs("div", { className: "menu-item-conatiner", children: [
|
|
1486
|
+
/* @__PURE__ */ e.jsxs("div", { className: "menu-item", onClick: i, children: [
|
|
1487
|
+
l ? /* @__PURE__ */ e.jsx("div", { className: "menu-icon-container", children: a.icon }) : null,
|
|
1488
|
+
/* @__PURE__ */ e.jsx("div", { className: "menu-text-container", children: a.title }),
|
|
1489
|
+
/* @__PURE__ */ e.jsx("div", { className: "menu-status-container", children: a.subItems ? /* @__PURE__ */ e.jsx("span", { className: `menu-status-submenu ${u ? "active" : ""}` }) : a.activated ? /* @__PURE__ */ e.jsx(fe, {}) : /* @__PURE__ */ e.jsx("span", { className: "none-status" }) })
|
|
1490
|
+
] }),
|
|
1491
|
+
u && a.subItems ? /* @__PURE__ */ e.jsx(vt, { items: a.subItems, onHide: () => c(!1), smallDisplay: o }) : null
|
|
1492
|
+
] });
|
|
1493
|
+
};
|
|
1494
|
+
function an({ block: n, smallDisplay: r, onHide: s, globalClick: a, autoHide: l }) {
|
|
1495
|
+
function o(u) {
|
|
1496
|
+
for (let c of u.items)
|
|
1497
|
+
if (c.icon)
|
|
1498
|
+
return !0;
|
|
1499
|
+
return !1;
|
|
1500
|
+
}
|
|
1501
|
+
return /* @__PURE__ */ e.jsx("div", { className: "menu-block", children: n.items.map((u, c) => /* @__PURE__ */ e.jsx(pt, { globalClick: a, autoHide: l, onHide: s, item: u, isIcon: o(n), smallDisplay: r }, c)) });
|
|
1502
|
+
}
|
|
1503
|
+
const yt = 100, qt = (n) => {
|
|
1504
|
+
const r = J(null), [s, a] = C({ left: "0px", top: "0px" }), l = () => {
|
|
1505
|
+
n.onHide && n.onHide();
|
|
1506
|
+
};
|
|
1507
|
+
return A(() => {
|
|
1508
|
+
let o = sn(n.x, n.y, r.current, { marginBottom: yt });
|
|
1509
|
+
a({
|
|
1510
|
+
left: o.x + "px",
|
|
1511
|
+
top: o.y + "px"
|
|
1512
|
+
});
|
|
1513
|
+
}, [n.x, n.y]), n.visible ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1514
|
+
/* @__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((o, u) => /* @__PURE__ */ e.jsxs(xe.Fragment, { children: [
|
|
1515
|
+
u !== 0 ? /* @__PURE__ */ e.jsx(he, {}) : null,
|
|
1516
|
+
/* @__PURE__ */ e.jsx(an, { block: o, smallDisplay: !1, globalClick: n.onClick, autoHide: n.autoHide, onHide: l })
|
|
1517
|
+
] }, u)) }),
|
|
1518
|
+
/* @__PURE__ */ e.jsx("div", { style: { zIndex: 1600 }, className: "backplate", onClick: l, onContextMenu: (o) => {
|
|
1519
|
+
o.preventDefault();
|
|
1520
|
+
} })
|
|
1521
|
+
] }) : null;
|
|
1522
|
+
}, Xt = (n) => {
|
|
1523
|
+
const r = () => {
|
|
1524
|
+
};
|
|
1525
|
+
return /* @__PURE__ */ e.jsx(Vn, { 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(xe.Fragment, { children: [
|
|
1526
|
+
a !== 0 ? /* @__PURE__ */ e.jsx(he, {}) : null,
|
|
1527
|
+
/* @__PURE__ */ e.jsx(an, { block: s, smallDisplay: !0 })
|
|
1528
|
+
] }, a)) }) });
|
|
1529
|
+
};
|
|
1530
|
+
function gt(n) {
|
|
1531
|
+
let r = [];
|
|
1532
|
+
if (n.length > 0)
|
|
1533
|
+
for (let s of n)
|
|
1534
|
+
for (let a in s) {
|
|
1535
|
+
let l = !1;
|
|
1536
|
+
for (let o of r)
|
|
1537
|
+
o.field === a && (l = !0);
|
|
1538
|
+
l || r.push({
|
|
1539
|
+
title: a,
|
|
1540
|
+
field: a
|
|
1541
|
+
});
|
|
1542
|
+
}
|
|
1543
|
+
return r;
|
|
1544
|
+
}
|
|
1545
|
+
const bt = ({ data: n, column: r, color: s, backgroundColor: a }) => {
|
|
1546
|
+
function l(c, i) {
|
|
1547
|
+
for (let h in i)
|
|
1548
|
+
if (c === h)
|
|
1549
|
+
return i[h];
|
|
1550
|
+
}
|
|
1551
|
+
function o(c) {
|
|
1552
|
+
return typeof c == "number" || typeof c == "string" ? { content: c } : c;
|
|
1553
|
+
}
|
|
1554
|
+
function u(c) {
|
|
1555
|
+
return c ? Array.isArray(c) ? c.map((i) => o(i)) : [o(c)] : [];
|
|
1556
|
+
}
|
|
1557
|
+
return /* @__PURE__ */ e.jsx("td", { style: { backgroundColor: a }, children: u(l(r.field, n)).map((c, i) => /* @__PURE__ */ e.jsx("p", { style: { color: c.color ?? s }, className: c.onClick ? "no-click" : "", onClick: c.onClick, children: typeof c.content == "string" || typeof c.content == "number" ? c.content : /* @__PURE__ */ e.jsx(c.content, {}) }, i)) });
|
|
1558
|
+
}, kt = ({ actions: n, item: r, columns: s, onContextMenu: a, onDelete: l, onEdit: o, onClickRow: u, index: c }) => {
|
|
1559
|
+
const i = (f) => !f.target.closest(".no-click"), h = (f) => {
|
|
1560
|
+
i(f) && u && u(r, c);
|
|
1561
|
+
};
|
|
1562
|
+
return /* @__PURE__ */ e.jsxs("tr", { className: "table-row", onClick: h, children: [
|
|
1563
|
+
s.map((f, v) => /* @__PURE__ */ e.jsx(bt, { color: f.color, backgroundColor: f.backgroundColor, column: f, data: r }, v)),
|
|
1564
|
+
n ? /* @__PURE__ */ e.jsx("td", { className: "w-[180px] no-click", children: /* @__PURE__ */ e.jsx("div", { className: "table-edit-button", children: n.map((f, v) => /* @__PURE__ */ e.jsx(ae, { transparent: !0, icon: f.icon, onClick: (m) => f.onClick(m, r, c) }, v)) }) }) : null,
|
|
1565
|
+
a || l || o ? /* @__PURE__ */ e.jsx("td", { className: "w-[180px] table-edit-button no-click", children: /* @__PURE__ */ e.jsxs("div", { className: "table-edit-button", children: [
|
|
1566
|
+
o ? /* @__PURE__ */ e.jsx(ae, { transparent: !0, icon: /* @__PURE__ */ e.jsx(Qn, {}), onClick: () => o(r, c) }) : null,
|
|
1567
|
+
l ? /* @__PURE__ */ e.jsx(ae, { transparent: !0, icon: /* @__PURE__ */ e.jsx(nt, { className: "text-red-500" }), onClick: () => l(r, c) }) : null,
|
|
1568
|
+
a ? /* @__PURE__ */ e.jsx(ae, { transparent: !0, icon: /* @__PURE__ */ e.jsx(Hn, {}), onClick: (f) => a(f, r, c) }) : null
|
|
1569
|
+
] }) }) : null
|
|
1570
|
+
] });
|
|
1571
|
+
}, Ut = ({ data: n, columns: r, onDelete: s, onContextMenu: a, onEdit: l, actions: o, onClickRow: u, adaptive: c }) => {
|
|
1572
|
+
const [i] = C(r ?? gt(n));
|
|
1573
|
+
return /* @__PURE__ */ e.jsx("div", { className: `table-container mt-3 ${u ? "clicked" : ""} ${c ? "auto-rotate" : ""}`, children: /* @__PURE__ */ e.jsxs("table", { children: [
|
|
1574
|
+
/* @__PURE__ */ e.jsx("thead", { children: /* @__PURE__ */ e.jsxs("tr", { children: [
|
|
1575
|
+
i.map((h, f) => /* @__PURE__ */ e.jsx("th", { className: "min-width", children: h.title }, f)),
|
|
1576
|
+
o ? /* @__PURE__ */ e.jsx("th", { className: "table-actions-header", children: "actions" }) : null,
|
|
1577
|
+
s || a || l ? /* @__PURE__ */ e.jsx("th", { className: "table-actions-header" }) : null
|
|
1578
|
+
] }) }),
|
|
1579
|
+
/* @__PURE__ */ e.jsx("tbody", { children: n.map((h, f) => /* @__PURE__ */ e.jsx(kt, { onClickRow: u, actions: o, index: f, columns: i, item: h, onDelete: s, onContextMenu: a, onEdit: l }, f)) })
|
|
1580
|
+
] }) });
|
|
1581
|
+
};
|
|
1582
|
+
export {
|
|
1583
|
+
Ln as BaseActionCard,
|
|
1584
|
+
ce as BaseButton,
|
|
1585
|
+
It as BaseDialog,
|
|
1586
|
+
rt as BaseRadioButton,
|
|
1587
|
+
U as BasicTemplateDialog,
|
|
1588
|
+
wt as BigContainer,
|
|
1589
|
+
Vn as BottomSheetsUi,
|
|
1590
|
+
Yn as Button,
|
|
1591
|
+
Ct as Card,
|
|
1592
|
+
Et as Checkbox,
|
|
1593
|
+
tt as Chips,
|
|
1594
|
+
Vt as DayOfWeekField,
|
|
1595
|
+
he as Divider,
|
|
1596
|
+
_t as FAB,
|
|
1597
|
+
St as FieldContainer,
|
|
1598
|
+
In as FilledButton,
|
|
1599
|
+
Fn as FilledTotalButton,
|
|
1600
|
+
Ft as FullScrinTemplateDialog,
|
|
1601
|
+
Kt as GridLayout,
|
|
1602
|
+
zt as GridLayoutItem,
|
|
1603
|
+
ae as IconButton,
|
|
1604
|
+
Bn as ListContainer,
|
|
1605
|
+
Wn as ListItem,
|
|
1606
|
+
qt as Menu,
|
|
1607
|
+
Ot as MoreText,
|
|
1608
|
+
An as OutlineButton,
|
|
1609
|
+
Rt as RadioButton,
|
|
1610
|
+
Dt as RunningLine,
|
|
1611
|
+
Mt as ScrollContainer,
|
|
1612
|
+
Pt as Search,
|
|
1613
|
+
Yt as SelectionDialog,
|
|
1614
|
+
Xt as SmallWindowMenu,
|
|
1615
|
+
$t as Snackbar,
|
|
1616
|
+
At as Switch,
|
|
1617
|
+
Ut as Table,
|
|
1618
|
+
Tt as TextArea,
|
|
1619
|
+
P as TextButton,
|
|
1620
|
+
Bt as TextDialog,
|
|
1621
|
+
rn as TextField,
|
|
1622
|
+
Lt as TimePicker,
|
|
1623
|
+
jt as getContainerData,
|
|
1624
|
+
sn as getModalWindowCord,
|
|
1625
|
+
Wt as СalendarPickers
|
|
1626
|
+
};
|