elcrm 0.8.78 → 0.8.80
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/Form/Select.d.ts +2 -1
- package/dist/index.es.js +283 -263
- package/dist/index.umd.js +7 -7
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -492,7 +492,7 @@ function Lr() {
|
|
|
492
492
|
return typeof v == "function" ? v : null;
|
|
493
493
|
}
|
|
494
494
|
var k = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
495
|
-
function
|
|
495
|
+
function S(c) {
|
|
496
496
|
{
|
|
497
497
|
for (var v = arguments.length, j = new Array(v > 1 ? v - 1 : 0), I = 1; I < v; I++)
|
|
498
498
|
j[I - 1] = arguments[I];
|
|
@@ -509,10 +509,10 @@ function Lr() {
|
|
|
509
509
|
P.unshift("Warning: " + v), Function.prototype.apply.call(console[c], console, P);
|
|
510
510
|
}
|
|
511
511
|
}
|
|
512
|
-
var T = !1, y = !1,
|
|
512
|
+
var T = !1, y = !1, b = !1, E = !1, D = !1, A;
|
|
513
513
|
A = Symbol.for("react.module.reference");
|
|
514
514
|
function H(c) {
|
|
515
|
-
return !!(typeof c == "string" || typeof c == "function" || c === r || c === i || D || c === s || c === _ || c === u ||
|
|
515
|
+
return !!(typeof c == "string" || typeof c == "function" || c === r || c === i || D || c === s || c === _ || c === u || E || c === h || T || y || b || typeof c == "object" && c !== null && (c.$$typeof === f || c.$$typeof === m || c.$$typeof === o || c.$$typeof === l || c.$$typeof === d || // This needs to include all possible module reference object
|
|
516
516
|
// types supported by any Flight configuration anywhere since
|
|
517
517
|
// we don't know which Flight build this will end up being used
|
|
518
518
|
// with.
|
|
@@ -531,7 +531,7 @@ function Lr() {
|
|
|
531
531
|
function B(c) {
|
|
532
532
|
if (c == null)
|
|
533
533
|
return null;
|
|
534
|
-
if (typeof c.tag == "number" &&
|
|
534
|
+
if (typeof c.tag == "number" && S("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof c == "function")
|
|
535
535
|
return c.displayName || c.name || null;
|
|
536
536
|
if (typeof c == "string")
|
|
537
537
|
return c;
|
|
@@ -632,7 +632,7 @@ function Lr() {
|
|
|
632
632
|
})
|
|
633
633
|
});
|
|
634
634
|
}
|
|
635
|
-
J < 0 &&
|
|
635
|
+
J < 0 && S("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
636
636
|
}
|
|
637
637
|
}
|
|
638
638
|
var rt = k.ReactCurrentDispatcher, st;
|
|
@@ -784,7 +784,7 @@ function Lr() {
|
|
|
784
784
|
} catch (z) {
|
|
785
785
|
M = z;
|
|
786
786
|
}
|
|
787
|
-
M && !(M instanceof Error) && (Ye($),
|
|
787
|
+
M && !(M instanceof Error) && (Ye($), S("%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).", I || "React class", j, F, typeof M), Ye(null)), M instanceof Error && !(M.message in Zt) && (Zt[M.message] = !0, Ye($), S("Failed %s type: %s", j, M.message), Ye(null));
|
|
788
788
|
}
|
|
789
789
|
}
|
|
790
790
|
}
|
|
@@ -810,7 +810,7 @@ function Lr() {
|
|
|
810
810
|
}
|
|
811
811
|
function Kt(c) {
|
|
812
812
|
if (ia(c))
|
|
813
|
-
return
|
|
813
|
+
return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", sa(c)), Ut(c);
|
|
814
814
|
}
|
|
815
815
|
var Ie = k.ReactCurrentOwner, oa = {
|
|
816
816
|
key: !0,
|
|
@@ -838,13 +838,13 @@ function Lr() {
|
|
|
838
838
|
function da(c, v) {
|
|
839
839
|
if (typeof c.ref == "string" && Ie.current && v && Ie.current.stateNode !== v) {
|
|
840
840
|
var j = B(Ie.current.type);
|
|
841
|
-
lt[j] || (
|
|
841
|
+
lt[j] || (S('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', B(Ie.current.type), c.ref), lt[j] = !0);
|
|
842
842
|
}
|
|
843
843
|
}
|
|
844
844
|
function _a(c, v) {
|
|
845
845
|
{
|
|
846
846
|
var j = function() {
|
|
847
|
-
Wt || (Wt = !0,
|
|
847
|
+
Wt || (Wt = !0, S("%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)", v));
|
|
848
848
|
};
|
|
849
849
|
j.isReactWarning = !0, Object.defineProperty(c, "key", {
|
|
850
850
|
get: j,
|
|
@@ -855,7 +855,7 @@ function Lr() {
|
|
|
855
855
|
function ua(c, v) {
|
|
856
856
|
{
|
|
857
857
|
var j = function() {
|
|
858
|
-
Ht || (Ht = !0,
|
|
858
|
+
Ht || (Ht = !0, S("%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)", v));
|
|
859
859
|
};
|
|
860
860
|
j.isReactWarning = !0, Object.defineProperty(c, "ref", {
|
|
861
861
|
get: j,
|
|
@@ -961,7 +961,7 @@ Check the top-level render call using <` + j + ">.");
|
|
|
961
961
|
return;
|
|
962
962
|
qt[j] = !0;
|
|
963
963
|
var I = "";
|
|
964
|
-
c && c._owner && c._owner !== ct.current && (I = " It was passed a child from " + B(c._owner.type) + "."), ye(c),
|
|
964
|
+
c && c._owner && c._owner !== ct.current && (I = " It was passed a child from " + B(c._owner.type) + "."), ye(c), S('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', j, I), ye(null);
|
|
965
965
|
}
|
|
966
966
|
}
|
|
967
967
|
function Xt(c, v) {
|
|
@@ -1003,9 +1003,9 @@ Check the top-level render call using <` + j + ">.");
|
|
|
1003
1003
|
} else if (v.PropTypes !== void 0 && !dt) {
|
|
1004
1004
|
dt = !0;
|
|
1005
1005
|
var $ = B(v);
|
|
1006
|
-
|
|
1006
|
+
S("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", $ || "Unknown");
|
|
1007
1007
|
}
|
|
1008
|
-
typeof v.getDefaultProps == "function" && !v.getDefaultProps.isReactClassApproved &&
|
|
1008
|
+
typeof v.getDefaultProps == "function" && !v.getDefaultProps.isReactClassApproved && S("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
1009
1009
|
}
|
|
1010
1010
|
}
|
|
1011
1011
|
function xa(c) {
|
|
@@ -1013,11 +1013,11 @@ Check the top-level render call using <` + j + ">.");
|
|
|
1013
1013
|
for (var v = Object.keys(c.props), j = 0; j < v.length; j++) {
|
|
1014
1014
|
var I = v[j];
|
|
1015
1015
|
if (I !== "children" && I !== "key") {
|
|
1016
|
-
ye(c),
|
|
1016
|
+
ye(c), S("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", I), ye(null);
|
|
1017
1017
|
break;
|
|
1018
1018
|
}
|
|
1019
1019
|
}
|
|
1020
|
-
c.ref !== null && (ye(c),
|
|
1020
|
+
c.ref !== null && (ye(c), S("Invalid attribute `ref` supplied to `React.Fragment`."), ye(null));
|
|
1021
1021
|
}
|
|
1022
1022
|
}
|
|
1023
1023
|
var Qt = {};
|
|
@@ -1030,7 +1030,7 @@ Check the top-level render call using <` + j + ">.");
|
|
|
1030
1030
|
var X = ha();
|
|
1031
1031
|
X ? M += X : M += Vt();
|
|
1032
1032
|
var z;
|
|
1033
|
-
c === null ? z = "null" : ot(c) ? z = "array" : c !== void 0 && c.$$typeof === t ? (z = "<" + (B(c.type) || "Unknown") + " />", M = " Did you accidentally export a JSX literal instead of a component?") : z = typeof c,
|
|
1033
|
+
c === null ? z = "null" : ot(c) ? z = "array" : c !== void 0 && c.$$typeof === t ? (z = "<" + (B(c.type) || "Unknown") + " />", M = " Did you accidentally export a JSX literal instead of a component?") : z = typeof c, S("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", z, M);
|
|
1034
1034
|
}
|
|
1035
1035
|
var W = ma(c, v, j, $, P);
|
|
1036
1036
|
if (W == null)
|
|
@@ -1044,7 +1044,7 @@ Check the top-level render call using <` + j + ">.");
|
|
|
1044
1044
|
Xt(ae[we], c);
|
|
1045
1045
|
Object.freeze && Object.freeze(ae);
|
|
1046
1046
|
} else
|
|
1047
|
-
|
|
1047
|
+
S("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
1048
1048
|
else
|
|
1049
1049
|
Xt(ae, c);
|
|
1050
1050
|
}
|
|
@@ -1054,7 +1054,7 @@ Check the top-level render call using <` + j + ">.");
|
|
|
1054
1054
|
}), ut = Q.length > 0 ? "{key: someKey, " + Q.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
1055
1055
|
if (!Qt[xe + ut]) {
|
|
1056
1056
|
var ya = Q.length > 0 ? "{" + Q.join(": ..., ") + ": ...}" : "{}";
|
|
1057
|
-
|
|
1057
|
+
S(`A props object containing a "key" prop is being spread into JSX:
|
|
1058
1058
|
let props = %s;
|
|
1059
1059
|
<%s {...props} />
|
|
1060
1060
|
React keys must be passed directly to JSX without using spread:
|
|
@@ -1695,10 +1695,10 @@ function js(e) {
|
|
|
1695
1695
|
}
|
|
1696
1696
|
const ys = (e) => {
|
|
1697
1697
|
function t(N, T) {
|
|
1698
|
-
var y,
|
|
1698
|
+
var y, E, b;
|
|
1699
1699
|
N = N ?? "", T = T ?? 1;
|
|
1700
|
-
for (var y = [],
|
|
1701
|
-
y.push(N.slice(
|
|
1700
|
+
for (var y = [], b = 0, E = N.length; b < E; )
|
|
1701
|
+
y.push(N.slice(b, b += T));
|
|
1702
1702
|
return y;
|
|
1703
1703
|
}
|
|
1704
1704
|
function a(N, T) {
|
|
@@ -1784,8 +1784,8 @@ const ys = (e) => {
|
|
|
1784
1784
|
) : x.push(
|
|
1785
1785
|
i > 0 ? r.a10[o] : r[h][o - 1]
|
|
1786
1786
|
), m.length > k + 1)) {
|
|
1787
|
-
var
|
|
1788
|
-
x.push(a(_,
|
|
1787
|
+
var S = r["u" + (k + 1)];
|
|
1788
|
+
x.push(a(_, S));
|
|
1789
1789
|
}
|
|
1790
1790
|
} else
|
|
1791
1791
|
x.push(r.null);
|
|
@@ -3038,7 +3038,7 @@ function go() {
|
|
|
3038
3038
|
let [e, t] = g.useState({});
|
|
3039
3039
|
return !e.active && !e.payment ? "" : /* @__PURE__ */ n.jsx("div", { className: po.payment, children: "Истек срок оплаты! Доступ доступен до 16.04.2024" });
|
|
3040
3040
|
}
|
|
3041
|
-
const
|
|
3041
|
+
const rc = ({ children: e, ...t }) => {
|
|
3042
3042
|
let a = {};
|
|
3043
3043
|
return a.enCode = (r) => JSON.stringify(r).toString(), a.deCode = (r) => JSON.parse(r), /* @__PURE__ */ n.jsxs("div", { className: "app", children: [
|
|
3044
3044
|
/* @__PURE__ */ n.jsx(go, {}),
|
|
@@ -3131,7 +3131,7 @@ function Rn({ list: e, onClick: t, active: a, size: r, view: s }) {
|
|
|
3131
3131
|
}
|
|
3132
3132
|
const Lo = ({ onClick: e, label: t, link: a, active: r }) => /* @__PURE__ */ n.jsx("li", { "tabs-active": String(r === a), onClick: () => e(a), children: t });
|
|
3133
3133
|
Rn.defaultProps = { size: "M", view: "H" };
|
|
3134
|
-
const
|
|
3134
|
+
const sc = { Section: Co, Main: yo, Item: Mo, Tabs: Rn }, ic = { Icon: Ji, Item: Ct, Active: Xi }, oc = { Send: es, Line: En };
|
|
3135
3135
|
function Fo() {
|
|
3136
3136
|
return /* @__PURE__ */ n.jsx("svg", { viewBox: "0 0 462.86 359.96", children: /* @__PURE__ */ n.jsx(
|
|
3137
3137
|
"path",
|
|
@@ -3141,7 +3141,7 @@ function Fo() {
|
|
|
3141
3141
|
}
|
|
3142
3142
|
) });
|
|
3143
3143
|
}
|
|
3144
|
-
const
|
|
3144
|
+
const lc = { Logo: Fo, Sprite: no, Symbol: ao }, Bo = "_sort_1yrvt_1", $o = {
|
|
3145
3145
|
sort: Bo
|
|
3146
3146
|
};
|
|
3147
3147
|
let nt = {};
|
|
@@ -3218,7 +3218,7 @@ function Zo(e, t, a) {
|
|
|
3218
3218
|
function zo(e) {
|
|
3219
3219
|
nt.count(e);
|
|
3220
3220
|
}
|
|
3221
|
-
const
|
|
3221
|
+
const cc = { Init: Oo, useValue: Ao, Set: Go, Run: Zo, Count: zo }, Je = {}, Dn = {};
|
|
3222
3222
|
function Uo(e) {
|
|
3223
3223
|
const [t, a] = g.useState({}), r = async (s) => {
|
|
3224
3224
|
a(
|
|
@@ -3236,7 +3236,7 @@ function Ko(e, t) {
|
|
|
3236
3236
|
break;
|
|
3237
3237
|
}
|
|
3238
3238
|
}
|
|
3239
|
-
const
|
|
3239
|
+
const dc = { useMenu: Uo, setUpdate: Ko };
|
|
3240
3240
|
class Wo {
|
|
3241
3241
|
constructor(t = "el", a = "db") {
|
|
3242
3242
|
ft(this, "storeName");
|
|
@@ -3348,7 +3348,7 @@ const Re = () => (mt || (mt = new Wo()), mt), ge = (e, t, a = Re()) => a._withID
|
|
|
3348
3348
|
a({ type: "load", base: r });
|
|
3349
3349
|
else
|
|
3350
3350
|
return r[e];
|
|
3351
|
-
}, al = (e) => U[e],
|
|
3351
|
+
}, al = (e) => U[e], _c = {
|
|
3352
3352
|
id: nl,
|
|
3353
3353
|
get: de,
|
|
3354
3354
|
set: ge,
|
|
@@ -3374,7 +3374,7 @@ const Re = () => (mt || (mt = new Wo()), mt), ge = (e, t, a = Re()) => a._withID
|
|
|
3374
3374
|
}, document.onkeyup = function(r) {
|
|
3375
3375
|
a.length = 0;
|
|
3376
3376
|
};
|
|
3377
|
-
},
|
|
3377
|
+
}, uc = { useKey: rl }, sl = "_s_18bde_1", il = "_loadingB_18bde_1", ol = "_ul_18bde_31", ll = {
|
|
3378
3378
|
s: sl,
|
|
3379
3379
|
loadingB: il,
|
|
3380
3380
|
ul: ol
|
|
@@ -3449,7 +3449,7 @@ function dl({
|
|
|
3449
3449
|
}
|
|
3450
3450
|
);
|
|
3451
3451
|
}
|
|
3452
|
-
const
|
|
3452
|
+
const fc = { Widget: Hi }, In = ({ onClick: e, active: t }) => (t = !!t, /* @__PURE__ */ n.jsx(
|
|
3453
3453
|
"div",
|
|
3454
3454
|
{
|
|
3455
3455
|
role: "switch",
|
|
@@ -3490,13 +3490,13 @@ function Pe({
|
|
|
3490
3490
|
onSave: h,
|
|
3491
3491
|
className: C = ""
|
|
3492
3492
|
}) {
|
|
3493
|
-
let p = !!(o && (e === "" || e === void 0)), x = (
|
|
3494
|
-
t && t({ value:
|
|
3495
|
-
}, k = (
|
|
3496
|
-
|
|
3497
|
-
},
|
|
3498
|
-
}, N = (
|
|
3499
|
-
|
|
3493
|
+
let p = !!(o && (e === "" || e === void 0)), x = (E) => {
|
|
3494
|
+
t && t({ value: E.target.textContent, name: a });
|
|
3495
|
+
}, k = (E) => {
|
|
3496
|
+
E.key === "Enter" && E.preventDefault();
|
|
3497
|
+
}, S = (E) => {
|
|
3498
|
+
}, N = (E) => {
|
|
3499
|
+
E.preventDefault(), navigator.clipboard.writeText(E.target.textContent).then(
|
|
3500
3500
|
function() {
|
|
3501
3501
|
$e.Copy("Данные в буфер обмене");
|
|
3502
3502
|
},
|
|
@@ -3510,17 +3510,17 @@ function Pe({
|
|
|
3510
3510
|
T.field = "input", C && (T.className = C);
|
|
3511
3511
|
const y = {};
|
|
3512
3512
|
r && (y.placeholder = r), l && d && (y.edit = "");
|
|
3513
|
-
const
|
|
3514
|
-
ue.Blur(
|
|
3513
|
+
const b = (E) => {
|
|
3514
|
+
ue.Blur(E), h && h({ value: E.target.textContent, name: a });
|
|
3515
3515
|
};
|
|
3516
3516
|
return /* @__PURE__ */ n.jsxs("dl", { ...T, children: [
|
|
3517
3517
|
s ? /* @__PURE__ */ n.jsx("dt", { children: s }) : "",
|
|
3518
3518
|
/* @__PURE__ */ n.jsx(
|
|
3519
3519
|
"dd",
|
|
3520
3520
|
{
|
|
3521
|
-
onPaste:
|
|
3521
|
+
onPaste: S,
|
|
3522
3522
|
onInput: x,
|
|
3523
|
-
onBlur:
|
|
3523
|
+
onBlur: b,
|
|
3524
3524
|
onKeyDown: k,
|
|
3525
3525
|
onContextMenu: N,
|
|
3526
3526
|
contentEditable: l && d ? "plaintext-only" : "false",
|
|
@@ -3577,9 +3577,9 @@ function Mn({
|
|
|
3577
3577
|
}, h = (k) => {
|
|
3578
3578
|
k.keyCode === 16 && (_.current.shift = !1);
|
|
3579
3579
|
}, C = (k) => {
|
|
3580
|
-
k.preventDefault(), navigator.clipboard.readText().then((
|
|
3581
|
-
window.document.execCommand("insertText", !1,
|
|
3582
|
-
}).catch((
|
|
3580
|
+
k.preventDefault(), navigator.clipboard.readText().then((S) => {
|
|
3581
|
+
window.document.execCommand("insertText", !1, S);
|
|
3582
|
+
}).catch((S) => {
|
|
3583
3583
|
});
|
|
3584
3584
|
}, p = () => {
|
|
3585
3585
|
a(!1);
|
|
@@ -3727,9 +3727,9 @@ function Bn({
|
|
|
3727
3727
|
}, h = (p) => {
|
|
3728
3728
|
p.preventDefault(), navigator.clipboard.readText().then((x) => {
|
|
3729
3729
|
let k = x.split("");
|
|
3730
|
-
for (let
|
|
3731
|
-
let N = document.getElementById("n" +
|
|
3732
|
-
N && (N.textContent = k[
|
|
3730
|
+
for (let S = 1; S <= k.length; S++) {
|
|
3731
|
+
let N = document.getElementById("n" + S);
|
|
3732
|
+
N && (N.textContent = k[S - 1]);
|
|
3733
3733
|
}
|
|
3734
3734
|
}).catch((x) => {
|
|
3735
3735
|
});
|
|
@@ -3913,8 +3913,8 @@ const fl = (e) => {
|
|
|
3913
3913
|
d: parseInt(s.getDate()),
|
|
3914
3914
|
m: parseInt(s.getMonth()) + 1
|
|
3915
3915
|
}, [l, d] = g.useState({ y: o.y, m: o.m }), _ = (y) => {
|
|
3916
|
-
let
|
|
3917
|
-
return
|
|
3916
|
+
let b = y.getDay();
|
|
3917
|
+
return b === 0 && (b = 7), b - 1;
|
|
3918
3918
|
}, u = ["пн", "вт", "ср", "чт", "пт", "сб", "вс"], m = l.m - 1, f = new Date(l.y, m), h = [];
|
|
3919
3919
|
for (let y = 0; y < _(f); y++)
|
|
3920
3920
|
h.push(0);
|
|
@@ -3923,15 +3923,15 @@ const fl = (e) => {
|
|
|
3923
3923
|
let C = () => {
|
|
3924
3924
|
a(!1);
|
|
3925
3925
|
}, p = () => {
|
|
3926
|
-
|
|
3926
|
+
S(l.m + 1, l.y);
|
|
3927
3927
|
}, x = () => {
|
|
3928
|
-
|
|
3928
|
+
S(l.m - 1, l.y);
|
|
3929
3929
|
}, k = (y) => {
|
|
3930
3930
|
e.onValue(
|
|
3931
3931
|
l.y + "-" + K.Number(2, l.m) + "-" + K.Number(2, y)
|
|
3932
3932
|
), C();
|
|
3933
|
-
},
|
|
3934
|
-
|
|
3933
|
+
}, S = (y, b) => {
|
|
3934
|
+
b = y > 12 ? b + 1 : y < 1 ? b - 1 : b, y = y > 12 ? 1 : y < 1 ? 12 : y, d({ y: b, m: y });
|
|
3935
3935
|
}, N = window.innerHeight - e.position.y + 33 < 320 ? e.position.y - 312 : e.position.y + 33, T = window.innerWidth - e.position.x < 265 ? e.position.x - 235 : e.position.x;
|
|
3936
3936
|
return /* @__PURE__ */ n.jsx(n.Fragment, { children: t ? /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
3937
3937
|
/* @__PURE__ */ n.jsx(
|
|
@@ -3978,15 +3978,15 @@ const fl = (e) => {
|
|
|
3978
3978
|
) })
|
|
3979
3979
|
] }),
|
|
3980
3980
|
/* @__PURE__ */ n.jsxs("div", { "grid-calendar": "", children: [
|
|
3981
|
-
u.map((y,
|
|
3982
|
-
h.map((y,
|
|
3981
|
+
u.map((y, b) => /* @__PURE__ */ n.jsx("p", { children: y }, "v" + b)),
|
|
3982
|
+
h.map((y, b) => /* @__PURE__ */ n.jsx("span", { children: y !== 0 ? /* @__PURE__ */ n.jsx(
|
|
3983
3983
|
"b",
|
|
3984
3984
|
{
|
|
3985
3985
|
color: i.y === l.y && i.m === l.m && i.d === y ? "_FFEB3B" : "",
|
|
3986
3986
|
onClick: () => k(y),
|
|
3987
3987
|
children: y
|
|
3988
3988
|
}
|
|
3989
|
-
) : /* @__PURE__ */ n.jsx("p", {}) },
|
|
3989
|
+
) : /* @__PURE__ */ n.jsx("p", {}) }, b))
|
|
3990
3990
|
] })
|
|
3991
3991
|
]
|
|
3992
3992
|
}
|
|
@@ -4011,13 +4011,13 @@ function It({
|
|
|
4011
4011
|
options: C,
|
|
4012
4012
|
className: p
|
|
4013
4013
|
}) {
|
|
4014
|
-
let [x, k] = g.useState(e),
|
|
4014
|
+
let [x, k] = g.useState(e), S = (y) => {
|
|
4015
4015
|
if (!(l && _) || !f)
|
|
4016
4016
|
return;
|
|
4017
|
-
let
|
|
4018
|
-
tt.Open(
|
|
4019
|
-
callback: (
|
|
4020
|
-
t && t({ value:
|
|
4017
|
+
let b = f.split(".");
|
|
4018
|
+
tt.Open(b[0], b[1], {
|
|
4019
|
+
callback: (E) => {
|
|
4020
|
+
t && t({ value: E, name: a }), k(E);
|
|
4021
4021
|
},
|
|
4022
4022
|
onValue: t,
|
|
4023
4023
|
options: C,
|
|
@@ -4034,7 +4034,7 @@ function It({
|
|
|
4034
4034
|
"dd",
|
|
4035
4035
|
{
|
|
4036
4036
|
...T,
|
|
4037
|
-
onClick:
|
|
4037
|
+
onClick: S,
|
|
4038
4038
|
edit: (l && _) + "",
|
|
4039
4039
|
"data-after": u,
|
|
4040
4040
|
children: x
|
|
@@ -4114,13 +4114,13 @@ function Pn({
|
|
|
4114
4114
|
}, C = (x) => {
|
|
4115
4115
|
if (!i || !o)
|
|
4116
4116
|
return;
|
|
4117
|
-
const k = x.target.getBoundingClientRect(),
|
|
4117
|
+
const k = x.target.getBoundingClientRect(), S = k.left, N = k.top;
|
|
4118
4118
|
Ee.setListener(
|
|
4119
4119
|
"form",
|
|
4120
4120
|
/* @__PURE__ */ n.jsx(
|
|
4121
4121
|
ml,
|
|
4122
4122
|
{
|
|
4123
|
-
position: { x:
|
|
4123
|
+
position: { x: S, y: N },
|
|
4124
4124
|
onValue: h,
|
|
4125
4125
|
date: m
|
|
4126
4126
|
},
|
|
@@ -4157,7 +4157,7 @@ const ml = (e) => {
|
|
|
4157
4157
|
d(l - 1);
|
|
4158
4158
|
}, f = (k) => {
|
|
4159
4159
|
e.onValue(l + "-" + K.Number(2, k)), _();
|
|
4160
|
-
}, h = (k) => i.y === o.y && i.m === k ? "_FFEB3B" : "", C = Array(12).fill("").map((k,
|
|
4160
|
+
}, h = (k) => i.y === o.y && i.m === k ? "_FFEB3B" : "", C = Array(12).fill("").map((k, S) => S + 1), p = window.innerHeight - e.position.y + 33 < 320 ? e.position.y - 312 : e.position.y + 33, x = window.innerWidth - e.position.x < 265 ? e.position.x - 235 : e.position.x;
|
|
4161
4161
|
return /* @__PURE__ */ n.jsx(n.Fragment, { children: t ? /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
4162
4162
|
/* @__PURE__ */ n.jsx(
|
|
4163
4163
|
"div",
|
|
@@ -4198,7 +4198,7 @@ const ml = (e) => {
|
|
|
4198
4198
|
}
|
|
4199
4199
|
) })
|
|
4200
4200
|
] }),
|
|
4201
|
-
/* @__PURE__ */ n.jsx("div", { "grid-month": "", children: C.map((k,
|
|
4201
|
+
/* @__PURE__ */ n.jsx("div", { "grid-month": "", children: C.map((k, S) => /* @__PURE__ */ n.jsx(
|
|
4202
4202
|
"span",
|
|
4203
4203
|
{
|
|
4204
4204
|
onClick: () => {
|
|
@@ -4207,7 +4207,7 @@ const ml = (e) => {
|
|
|
4207
4207
|
color: h(k),
|
|
4208
4208
|
children: /* @__PURE__ */ n.jsx("b", { children: K.Month(k).abc })
|
|
4209
4209
|
},
|
|
4210
|
-
|
|
4210
|
+
S
|
|
4211
4211
|
)) })
|
|
4212
4212
|
]
|
|
4213
4213
|
}
|
|
@@ -4268,7 +4268,7 @@ function Mt({
|
|
|
4268
4268
|
}) {
|
|
4269
4269
|
let C = () => s ? /* @__PURE__ */ n.jsx("dt", { children: s }) : "", p = () => i ? /* @__PURE__ */ n.jsx("em", { children: i }) : "";
|
|
4270
4270
|
r = r !== void 0 ? r : !0, t = t !== void 0 ? t : !0, l = !!(l && (d === "" || d === void 0)) && !(r && t), _ = _ !== void 0 ? _ : "", a = a !== void 0 ? a : 99;
|
|
4271
|
-
let k = !1,
|
|
4271
|
+
let k = !1, S = (D) => {
|
|
4272
4272
|
e && e({ value: D.target.textContent, name: m });
|
|
4273
4273
|
}, N = (D) => {
|
|
4274
4274
|
if (!(k && D.which === 86)) {
|
|
@@ -4289,17 +4289,17 @@ function Mt({
|
|
|
4289
4289
|
}).catch((A) => {
|
|
4290
4290
|
});
|
|
4291
4291
|
};
|
|
4292
|
-
const
|
|
4293
|
-
|
|
4294
|
-
let
|
|
4295
|
-
return r && t ? (
|
|
4292
|
+
const b = {};
|
|
4293
|
+
b.field = "input", u && (b.className = u);
|
|
4294
|
+
let E = {};
|
|
4295
|
+
return r && t ? (E.edit = "true", E.contentEditable = "plaintext-only") : E.contentEditable = "false", _ && (E.placeholder = _), f && (E.after = f), l ? /* @__PURE__ */ n.jsx(n.Fragment, {}) : /* @__PURE__ */ n.jsxs("dl", { ...b, children: [
|
|
4296
4296
|
C(),
|
|
4297
4297
|
/* @__PURE__ */ n.jsx(
|
|
4298
4298
|
"dd",
|
|
4299
4299
|
{
|
|
4300
|
-
...
|
|
4300
|
+
...E,
|
|
4301
4301
|
onPaste: y,
|
|
4302
|
-
onInput:
|
|
4302
|
+
onInput: S,
|
|
4303
4303
|
onKeyDown: N,
|
|
4304
4304
|
onKeyUp: T,
|
|
4305
4305
|
suppressContentEditableWarning: !0,
|
|
@@ -4332,13 +4332,13 @@ function An({
|
|
|
4332
4332
|
}, h = (k) => {
|
|
4333
4333
|
k.key === "Enter" && k.preventDefault();
|
|
4334
4334
|
}, C = (k) => {
|
|
4335
|
-
k.preventDefault(), navigator.clipboard.readText().then((
|
|
4335
|
+
k.preventDefault(), navigator.clipboard.readText().then((S) => {
|
|
4336
4336
|
window.document.execCommand(
|
|
4337
4337
|
"insertText",
|
|
4338
4338
|
!1,
|
|
4339
|
-
|
|
4339
|
+
S.replace(/(\r\n|\n|\r)/gm, " ")
|
|
4340
4340
|
);
|
|
4341
|
-
}).catch((
|
|
4341
|
+
}).catch((S) => {
|
|
4342
4342
|
});
|
|
4343
4343
|
};
|
|
4344
4344
|
const p = {};
|
|
@@ -5761,7 +5761,7 @@ function Lt({
|
|
|
5761
5761
|
className: h = ""
|
|
5762
5762
|
}) {
|
|
5763
5763
|
d = d !== void 0 ? d : !0, _ = _ !== void 0 ? _ : !0, l = !!(l && (e === "" || e === void 0)) && !(d && _), g.useRef(null);
|
|
5764
|
-
let p = "+_(___) ___-__-__", x = !0, k = 0,
|
|
5764
|
+
let p = "+_(___) ___-__-__", x = !0, k = 0, S = (Z, B) => {
|
|
5765
5765
|
let q = document.createRange(), J = window.getSelection();
|
|
5766
5766
|
q.setStart(B.childNodes[0], Z), q.collapse(!0), J.removeAllRanges(), J.addRange(q), B.focus();
|
|
5767
5767
|
}, N = (Z) => {
|
|
@@ -5794,9 +5794,9 @@ function Lt({
|
|
|
5794
5794
|
function(B) {
|
|
5795
5795
|
}
|
|
5796
5796
|
);
|
|
5797
|
-
},
|
|
5797
|
+
}, b = T(e), E = (Z) => {
|
|
5798
5798
|
let B = T(Z.target.textContent);
|
|
5799
|
-
Z.target.textContent = B.q, B.i = B.q.lastIndexOf(B.v.substr(-1)), B.i < B.q.length && B.q !== p ? B.i++ : B.i = B.q.indexOf("_"),
|
|
5799
|
+
Z.target.textContent = B.q, B.i = B.q.lastIndexOf(B.v.substr(-1)), B.i < B.q.length && B.q !== p ? B.i++ : B.i = B.q.indexOf("_"), S(B.i, Z.target), t && t({ value: B.q.replace(/\D/g, ""), name: r });
|
|
5800
5800
|
}, D = (Z) => {
|
|
5801
5801
|
Z.key === "Enter" && Z.preventDefault();
|
|
5802
5802
|
};
|
|
@@ -5815,12 +5815,12 @@ function Lt({
|
|
|
5815
5815
|
{
|
|
5816
5816
|
...ne,
|
|
5817
5817
|
onPaste: N,
|
|
5818
|
-
onInput:
|
|
5818
|
+
onInput: E,
|
|
5819
5819
|
onKeyDown: D,
|
|
5820
5820
|
onContextMenu: y,
|
|
5821
5821
|
onBlur: A,
|
|
5822
5822
|
suppressContentEditableWarning: !0,
|
|
5823
|
-
children:
|
|
5823
|
+
children: b.q
|
|
5824
5824
|
}
|
|
5825
5825
|
),
|
|
5826
5826
|
o && /* @__PURE__ */ n.jsx("em", { children: o })
|
|
@@ -5874,49 +5874,58 @@ function Ft({
|
|
|
5874
5874
|
className: _,
|
|
5875
5875
|
name: u,
|
|
5876
5876
|
after: m,
|
|
5877
|
-
view: f
|
|
5877
|
+
view: f,
|
|
5878
|
+
order: h
|
|
5878
5879
|
}) {
|
|
5879
|
-
const
|
|
5880
|
+
const C = g.useRef();
|
|
5880
5881
|
s = !!(s && (i === "" || l[i].n === void 0)) && !(a && r);
|
|
5881
|
-
let
|
|
5882
|
-
|
|
5883
|
-
},
|
|
5882
|
+
let x = i !== void 0 && i !== "" ? l[i].n : i, k = (y) => {
|
|
5883
|
+
C.current.textContent = l[y].n, o && o({ value: y, name: u });
|
|
5884
|
+
}, S = (y) => {
|
|
5884
5885
|
if (!(a && r))
|
|
5885
5886
|
return;
|
|
5886
|
-
const
|
|
5887
|
+
const b = y.target.getBoundingClientRect();
|
|
5887
5888
|
Ee.setListener(
|
|
5888
5889
|
"form",
|
|
5889
5890
|
/* @__PURE__ */ n.jsx(
|
|
5890
5891
|
hl,
|
|
5891
5892
|
{
|
|
5892
|
-
parent:
|
|
5893
|
-
onValue:
|
|
5893
|
+
parent: b,
|
|
5894
|
+
onValue: k,
|
|
5894
5895
|
view: f,
|
|
5895
5896
|
className: _,
|
|
5896
|
-
options: l
|
|
5897
|
+
options: l,
|
|
5898
|
+
order: h
|
|
5897
5899
|
},
|
|
5898
5900
|
(/* @__PURE__ */ new Date()).getTime()
|
|
5899
5901
|
)
|
|
5900
5902
|
);
|
|
5901
|
-
},
|
|
5902
|
-
return d && (
|
|
5903
|
+
}, N = { field: "select", className: _ }, T = { onClick: S };
|
|
5904
|
+
return d && (T.placeholder = d), m && (T.after = m), a && r && (T.edit = ""), s ? "" : /* @__PURE__ */ n.jsxs("dl", { ...N, children: [
|
|
5903
5905
|
e && /* @__PURE__ */ n.jsx("dt", { children: e }),
|
|
5904
|
-
/* @__PURE__ */ n.jsx("dd", { ...
|
|
5906
|
+
/* @__PURE__ */ n.jsx("dd", { ...T, ref: C, children: x }),
|
|
5905
5907
|
t && /* @__PURE__ */ n.jsx("em", { children: t })
|
|
5906
5908
|
] });
|
|
5907
5909
|
}
|
|
5908
|
-
const hl = ({
|
|
5909
|
-
|
|
5910
|
-
|
|
5911
|
-
|
|
5912
|
-
|
|
5913
|
-
|
|
5914
|
-
|
|
5910
|
+
const hl = ({
|
|
5911
|
+
onValue: e,
|
|
5912
|
+
parent: t,
|
|
5913
|
+
view: a,
|
|
5914
|
+
className: r,
|
|
5915
|
+
options: s,
|
|
5916
|
+
order: i
|
|
5917
|
+
}) => {
|
|
5918
|
+
let [o, l] = g.useState(!0), d = () => {
|
|
5919
|
+
l(!1);
|
|
5920
|
+
}, _ = (f) => {
|
|
5921
|
+
l(!1), e(f);
|
|
5922
|
+
}, u = window.innerHeight - t.y + t.height < 320 ? t.y - 312 : t.y + 33, m = window.innerWidth - t.x < 265 ? t.x - 235 : t.x;
|
|
5923
|
+
return /* @__PURE__ */ n.jsx(n.Fragment, { children: o ? /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
5915
5924
|
/* @__PURE__ */ n.jsx(
|
|
5916
5925
|
"div",
|
|
5917
5926
|
{
|
|
5918
5927
|
"data-select": "backdrop",
|
|
5919
|
-
onClick:
|
|
5928
|
+
onClick: d
|
|
5920
5929
|
},
|
|
5921
5930
|
(/* @__PURE__ */ new Date()).getTime()
|
|
5922
5931
|
),
|
|
@@ -5926,26 +5935,37 @@ const hl = ({ onValue: e, parent: t, view: a, className: r, options: s }) => {
|
|
|
5926
5935
|
className: r,
|
|
5927
5936
|
"data-select": "background " + a,
|
|
5928
5937
|
style: {
|
|
5929
|
-
top:
|
|
5930
|
-
left:
|
|
5938
|
+
top: u + "px",
|
|
5939
|
+
left: m + "px",
|
|
5931
5940
|
width: t.width
|
|
5932
5941
|
},
|
|
5933
|
-
children: /* @__PURE__ */ n.jsx(
|
|
5934
|
-
(m, f) => s[m].s === 1 ? /* @__PURE__ */ n.jsx(
|
|
5935
|
-
"li",
|
|
5936
|
-
{
|
|
5937
|
-
onClick: () => {
|
|
5938
|
-
d(m);
|
|
5939
|
-
},
|
|
5940
|
-
children: s[m].n
|
|
5941
|
-
},
|
|
5942
|
-
f
|
|
5943
|
-
) : ""
|
|
5944
|
-
) })
|
|
5942
|
+
children: /* @__PURE__ */ n.jsx(pl, { order: i, options: s, link: _ })
|
|
5945
5943
|
}
|
|
5946
5944
|
)
|
|
5947
5945
|
] }) : "" });
|
|
5948
|
-
}
|
|
5946
|
+
}, pl = ({ order: e, options: t, link: a }) => e ? /* @__PURE__ */ n.jsx("ul", { children: e.map(
|
|
5947
|
+
(r, s) => t[r].s === 1 ? /* @__PURE__ */ n.jsx(
|
|
5948
|
+
"li",
|
|
5949
|
+
{
|
|
5950
|
+
onClick: () => {
|
|
5951
|
+
a(r);
|
|
5952
|
+
},
|
|
5953
|
+
children: t[r].n
|
|
5954
|
+
},
|
|
5955
|
+
s
|
|
5956
|
+
) : ""
|
|
5957
|
+
) }) : /* @__PURE__ */ n.jsx("ul", { children: Object.keys(t).map(
|
|
5958
|
+
(r, s) => t[r].s === 1 ? /* @__PURE__ */ n.jsx(
|
|
5959
|
+
"li",
|
|
5960
|
+
{
|
|
5961
|
+
onClick: () => {
|
|
5962
|
+
a(r);
|
|
5963
|
+
},
|
|
5964
|
+
children: t[r].n
|
|
5965
|
+
},
|
|
5966
|
+
s
|
|
5967
|
+
) : ""
|
|
5968
|
+
) });
|
|
5949
5969
|
function Bt(e) {
|
|
5950
5970
|
let t = () => e.title ? /* @__PURE__ */ n.jsx("dt", { children: e.title }) : "", a = () => e.error ? /* @__PURE__ */ n.jsx("em", { children: e.error }) : "", r = e.edit !== void 0 ? e.edit : !0, s = e.active !== void 0 ? e.active : !0, o = !!(e.hide && (e.default === "" || e.options[e.default] === void 0)) && !(r && s), l = e.placeholder !== void 0 ? e.placeholder : "", d = (h) => {
|
|
5951
5971
|
u(e.options[h]), e.onValue({ value: h, name: e.name });
|
|
@@ -5958,7 +5978,7 @@ function Bt(e) {
|
|
|
5958
5978
|
Ee.setListener(
|
|
5959
5979
|
"form",
|
|
5960
5980
|
/* @__PURE__ */ n.jsx(
|
|
5961
|
-
|
|
5981
|
+
gl,
|
|
5962
5982
|
{
|
|
5963
5983
|
parent: C,
|
|
5964
5984
|
onValue: d,
|
|
@@ -5990,7 +6010,7 @@ function Bt(e) {
|
|
|
5990
6010
|
}
|
|
5991
6011
|
);
|
|
5992
6012
|
}
|
|
5993
|
-
const
|
|
6013
|
+
const gl = ({ onValue: e, parent: t, view: a, options: r }) => {
|
|
5994
6014
|
let [s, i] = g.useState(!0), o = () => {
|
|
5995
6015
|
i(!1);
|
|
5996
6016
|
}, l = (m) => {
|
|
@@ -6214,10 +6234,10 @@ function Zn({
|
|
|
6214
6234
|
t && t({ value: y.target.innerText, name: a });
|
|
6215
6235
|
}, k = (y) => {
|
|
6216
6236
|
h && h({ value: y.target.innerText, name: a });
|
|
6217
|
-
},
|
|
6218
|
-
y.preventDefault(), navigator.clipboard.readText().then((
|
|
6219
|
-
window.document.execCommand("insertText", !1,
|
|
6220
|
-
}).catch((
|
|
6237
|
+
}, S = (y) => {
|
|
6238
|
+
y.preventDefault(), navigator.clipboard.readText().then((b) => {
|
|
6239
|
+
window.document.execCommand("insertText", !1, b);
|
|
6240
|
+
}).catch((b) => {
|
|
6221
6241
|
});
|
|
6222
6242
|
};
|
|
6223
6243
|
const N = {};
|
|
@@ -6228,7 +6248,7 @@ function Zn({
|
|
|
6228
6248
|
/* @__PURE__ */ n.jsx(
|
|
6229
6249
|
"dd",
|
|
6230
6250
|
{
|
|
6231
|
-
onPaste:
|
|
6251
|
+
onPaste: S,
|
|
6232
6252
|
onBlur: k,
|
|
6233
6253
|
onInput: x,
|
|
6234
6254
|
contentEditable: l && d ? "plaintext-only" : "false",
|
|
@@ -6260,20 +6280,20 @@ function zn({
|
|
|
6260
6280
|
let p = !!(o && (e === "" || e === void 0)), x = K.Date(e === void 0 ? /* @__PURE__ */ new Date() : e, "HH:MM"), k = g.useRef(null);
|
|
6261
6281
|
if (!(l && d) && !u || !(l && d) && p)
|
|
6262
6282
|
return "";
|
|
6263
|
-
let
|
|
6264
|
-
k.current.textContent =
|
|
6265
|
-
}, N = (
|
|
6266
|
-
h && h({ value:
|
|
6267
|
-
}, T = (
|
|
6268
|
-
const D =
|
|
6283
|
+
let S = (E) => {
|
|
6284
|
+
k.current.textContent = E, t && t({ value: E, name: a });
|
|
6285
|
+
}, N = (E) => {
|
|
6286
|
+
h && h({ value: E, name: a });
|
|
6287
|
+
}, T = (E) => {
|
|
6288
|
+
const D = E.target.getBoundingClientRect(), A = D.left, H = D.top;
|
|
6269
6289
|
Ee.setListener(
|
|
6270
6290
|
"form",
|
|
6271
6291
|
/* @__PURE__ */ n.jsx(
|
|
6272
|
-
|
|
6292
|
+
xl,
|
|
6273
6293
|
{
|
|
6274
6294
|
positions: { x: A, y: H },
|
|
6275
6295
|
onSave: N,
|
|
6276
|
-
onValue:
|
|
6296
|
+
onValue: S,
|
|
6277
6297
|
date: x
|
|
6278
6298
|
},
|
|
6279
6299
|
(/* @__PURE__ */ new Date()).getTime()
|
|
@@ -6282,8 +6302,8 @@ function zn({
|
|
|
6282
6302
|
};
|
|
6283
6303
|
const y = {};
|
|
6284
6304
|
y.field = "input", C && (y.className = C);
|
|
6285
|
-
const
|
|
6286
|
-
return r && (
|
|
6305
|
+
const b = {};
|
|
6306
|
+
return r && (b.placeholder = r), /* @__PURE__ */ n.jsx(n.Fragment, { children: m === "icon" ? /* @__PURE__ */ n.jsx(
|
|
6287
6307
|
"i",
|
|
6288
6308
|
{
|
|
6289
6309
|
"data-icon": "F043",
|
|
@@ -6291,11 +6311,11 @@ function zn({
|
|
|
6291
6311
|
}
|
|
6292
6312
|
) : /* @__PURE__ */ n.jsxs("dl", { ...y, children: [
|
|
6293
6313
|
s ? /* @__PURE__ */ n.jsx("dt", { children: s }) : "",
|
|
6294
|
-
/* @__PURE__ */ n.jsx("dd", { onClick: T, ref: k, ...
|
|
6314
|
+
/* @__PURE__ */ n.jsx("dd", { onClick: T, ref: k, ...b, children: x }),
|
|
6295
6315
|
i ? /* @__PURE__ */ n.jsx("em", { children: i }) : ""
|
|
6296
6316
|
] }) });
|
|
6297
6317
|
}
|
|
6298
|
-
const
|
|
6318
|
+
const xl = ({ positions: e, onSave: t, onValue: a, date: r }) => {
|
|
6299
6319
|
let s = r.split(":"), i = {
|
|
6300
6320
|
h: K.Number(2, s[0]),
|
|
6301
6321
|
m: K.Number(2, s[1])
|
|
@@ -6313,11 +6333,11 @@ const gl = ({ positions: e, onSave: t, onValue: a, date: r }) => {
|
|
|
6313
6333
|
_ = !0;
|
|
6314
6334
|
}, C = () => {
|
|
6315
6335
|
_ = !1, o = o === "hour" ? "time" : "hour", f.body.current.setAttribute("active", o);
|
|
6316
|
-
}, p = (
|
|
6336
|
+
}, p = (b) => {
|
|
6317
6337
|
if (_) {
|
|
6318
6338
|
let D = Math.atan2(
|
|
6319
|
-
|
|
6320
|
-
|
|
6339
|
+
b.pageX - (l.x + 78),
|
|
6340
|
+
b.pageY - (l.y + 78)
|
|
6321
6341
|
) * (180 / Math.PI) * -1 + 180;
|
|
6322
6342
|
f[o].current.style.transform = "rotate(" + D + "deg)", o === "hour" ? (i = {
|
|
6323
6343
|
...i,
|
|
@@ -6327,45 +6347,45 @@ const gl = ({ positions: e, onSave: t, onValue: a, date: r }) => {
|
|
|
6327
6347
|
m: K.Number(2, parseInt(String(D / 6), 10))
|
|
6328
6348
|
}, f.timeText.current.textContent = i.m), a(i.h + ":" + i.m);
|
|
6329
6349
|
}
|
|
6330
|
-
}, x = (
|
|
6350
|
+
}, x = (b) => {
|
|
6331
6351
|
if (o === "hour")
|
|
6332
|
-
if (
|
|
6333
|
-
u +=
|
|
6334
|
-
let
|
|
6335
|
-
if (m !==
|
|
6336
|
-
m =
|
|
6352
|
+
if (b.deltaY > 0) {
|
|
6353
|
+
u += b.deltaY;
|
|
6354
|
+
let E = parseInt(String(u / 50));
|
|
6355
|
+
if (m !== E) {
|
|
6356
|
+
m = E;
|
|
6337
6357
|
let D = parseInt(i.h, 10) + 1;
|
|
6338
6358
|
D = D > 23 ? 0 : D, i = { ...i, h: K.Number(2, D) }, f.hourText.current.textContent = i.h, f[o].current.style.transform = "rotate(" + i.h * 15 + "deg)";
|
|
6339
6359
|
}
|
|
6340
6360
|
} else {
|
|
6341
|
-
u -=
|
|
6342
|
-
let
|
|
6343
|
-
if (m !==
|
|
6344
|
-
m =
|
|
6361
|
+
u -= b.deltaY;
|
|
6362
|
+
let E = parseInt(String(u / 50));
|
|
6363
|
+
if (m !== E) {
|
|
6364
|
+
m = E;
|
|
6345
6365
|
let D = parseInt(i.h, 10) - 1;
|
|
6346
6366
|
D = D < 0 ? 23 : D, i = { ...i, h: K.Number(2, D) }, f.hourText.current.textContent = i.h, f[o].current.style.transform = "rotate(" + i.h * 15 + "deg)";
|
|
6347
6367
|
}
|
|
6348
6368
|
}
|
|
6349
|
-
else if (
|
|
6350
|
-
u +=
|
|
6351
|
-
let
|
|
6352
|
-
if (m !==
|
|
6353
|
-
m =
|
|
6369
|
+
else if (b.deltaY > 0) {
|
|
6370
|
+
u += b.deltaY;
|
|
6371
|
+
let E = parseInt(String(u / 50));
|
|
6372
|
+
if (m !== E) {
|
|
6373
|
+
m = E;
|
|
6354
6374
|
let D = parseInt(i.m, 10) + 1;
|
|
6355
6375
|
D = D > 59 ? 0 : D, i = { ...i, m: K.Number(2, D) }, f.timeText.current.textContent = i.m, f[o].current.style.transform = "rotate(" + i.m * 6 + "deg)";
|
|
6356
6376
|
}
|
|
6357
6377
|
} else {
|
|
6358
|
-
u -=
|
|
6359
|
-
let
|
|
6360
|
-
if (m !==
|
|
6361
|
-
m =
|
|
6378
|
+
u -= b.deltaY;
|
|
6379
|
+
let E = parseInt(String(u / 50));
|
|
6380
|
+
if (m !== E) {
|
|
6381
|
+
m = E;
|
|
6362
6382
|
let D = parseInt(i.m, 10) - 1;
|
|
6363
6383
|
D = D < 0 ? 59 : D, i = { ...i, m: K.Number(2, D) }, f.timeText.current.textContent = i.m, f[o].current.style.transform = "rotate(" + i.m * 6 + "deg)";
|
|
6364
6384
|
}
|
|
6365
6385
|
}
|
|
6366
6386
|
a(i.h + ":" + i.m);
|
|
6367
|
-
}, [k,
|
|
6368
|
-
|
|
6387
|
+
}, [k, S] = g.useState(!0), N = () => {
|
|
6388
|
+
S(!1), t(i.h + ":" + i.m);
|
|
6369
6389
|
}, T = window.innerHeight - e.y + 33 < 320 ? e.y - 312 : e.y + 33, y = window.innerWidth - e.x < 265 ? e.x - 235 : e.x;
|
|
6370
6390
|
return /* @__PURE__ */ n.jsx(n.Fragment, { children: k ? /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
6371
6391
|
/* @__PURE__ */ n.jsx(
|
|
@@ -6435,7 +6455,7 @@ function Un({
|
|
|
6435
6455
|
] })
|
|
6436
6456
|
] });
|
|
6437
6457
|
}
|
|
6438
|
-
const
|
|
6458
|
+
const vl = ({ label: e, onValue: t, value: a, name: r, item: s }) => {
|
|
6439
6459
|
const [i, o] = g.useState(!!a);
|
|
6440
6460
|
g.useEffect(() => {
|
|
6441
6461
|
o(!!a);
|
|
@@ -6495,7 +6515,7 @@ function Wn({
|
|
|
6495
6515
|
}, [e]);
|
|
6496
6516
|
let k = () => {
|
|
6497
6517
|
x([...p, ""]);
|
|
6498
|
-
},
|
|
6518
|
+
}, S = (A) => {
|
|
6499
6519
|
p.splice(A, 1), p.length === 0 && p.push(""), x([...p]), f !== void 0 && f({ value: p.join(C), name: a });
|
|
6500
6520
|
}, N = !!(o && (e === "" || e === void 0)), T = (A) => {
|
|
6501
6521
|
};
|
|
@@ -6503,10 +6523,10 @@ function Wn({
|
|
|
6503
6523
|
return "";
|
|
6504
6524
|
const y = {};
|
|
6505
6525
|
y.field = "group", h && (y.className = h);
|
|
6506
|
-
const
|
|
6526
|
+
const b = (A, H) => {
|
|
6507
6527
|
ue.Blur(A), p[H] = A.target.textContent, f && f({ value: p.join(C), name: a });
|
|
6508
6528
|
};
|
|
6509
|
-
let
|
|
6529
|
+
let E = (A, H) => {
|
|
6510
6530
|
p[H] = A.target.textContent, t && t({ value: p.join(C), name: a });
|
|
6511
6531
|
}, D = (A) => {
|
|
6512
6532
|
A.key === "Enter" && A.preventDefault();
|
|
@@ -6535,14 +6555,14 @@ function Wn({
|
|
|
6535
6555
|
/* @__PURE__ */ n.jsx(
|
|
6536
6556
|
"span",
|
|
6537
6557
|
{
|
|
6538
|
-
onInput: (ne) =>
|
|
6558
|
+
onInput: (ne) => E(ne, H),
|
|
6539
6559
|
edit: "true",
|
|
6540
6560
|
name: a,
|
|
6541
6561
|
placeholder: r,
|
|
6542
6562
|
onPaste: T,
|
|
6543
6563
|
contentEditable: l && d ? "plaintext-only" : "false",
|
|
6544
6564
|
onKeyDown: D,
|
|
6545
|
-
onBlur: (ne) =>
|
|
6565
|
+
onBlur: (ne) => b(ne, H),
|
|
6546
6566
|
suppressContentEditableWarning: !0,
|
|
6547
6567
|
children: p[H]
|
|
6548
6568
|
}
|
|
@@ -6551,7 +6571,7 @@ function Wn({
|
|
|
6551
6571
|
"i",
|
|
6552
6572
|
{
|
|
6553
6573
|
onClick: () => {
|
|
6554
|
-
|
|
6574
|
+
S(H);
|
|
6555
6575
|
},
|
|
6556
6576
|
children: /* @__PURE__ */ n.jsxs(
|
|
6557
6577
|
"svg",
|
|
@@ -6575,7 +6595,7 @@ function Wn({
|
|
|
6575
6595
|
i && /* @__PURE__ */ n.jsx("em", { children: i })
|
|
6576
6596
|
] });
|
|
6577
6597
|
}
|
|
6578
|
-
const
|
|
6598
|
+
const Cl = (e) => (e = e !== void 0 && e !== "" ? e.split(",") : [], e.reduce((t, a) => (t[a] = !0, t), {}));
|
|
6579
6599
|
function Hn({
|
|
6580
6600
|
value: e,
|
|
6581
6601
|
onValue: t,
|
|
@@ -6594,13 +6614,13 @@ function Hn({
|
|
|
6594
6614
|
options: C,
|
|
6595
6615
|
className: p
|
|
6596
6616
|
}) {
|
|
6597
|
-
const [x, k] = g.useState(
|
|
6617
|
+
const [x, k] = g.useState(Cl(e)), S = (y) => {
|
|
6598
6618
|
if (!(l && _) || !f)
|
|
6599
6619
|
return;
|
|
6600
|
-
let
|
|
6601
|
-
tt.Open(
|
|
6602
|
-
callback: (
|
|
6603
|
-
t && t({ value:
|
|
6620
|
+
let b = f.split(".");
|
|
6621
|
+
tt.Open(b[0], b[1], {
|
|
6622
|
+
callback: (E) => {
|
|
6623
|
+
t && t({ value: E, name: a }), k(E);
|
|
6604
6624
|
},
|
|
6605
6625
|
onValue: t,
|
|
6606
6626
|
options: C,
|
|
@@ -6613,7 +6633,7 @@ function Hn({
|
|
|
6613
6633
|
return r && (T.placeholder = r), o ? /* @__PURE__ */ n.jsx(n.Fragment, {}) : /* @__PURE__ */ n.jsxs("dl", { ...N, children: [
|
|
6614
6634
|
/* @__PURE__ */ n.jsxs("dt", { children: [
|
|
6615
6635
|
s,
|
|
6616
|
-
/* @__PURE__ */ n.jsx("i", { onClick:
|
|
6636
|
+
/* @__PURE__ */ n.jsx("i", { onClick: S, children: /* @__PURE__ */ n.jsxs(
|
|
6617
6637
|
"svg",
|
|
6618
6638
|
{
|
|
6619
6639
|
width: "20",
|
|
@@ -6639,15 +6659,15 @@ function Hn({
|
|
|
6639
6659
|
edit: (l && _) + "",
|
|
6640
6660
|
"data-after": u,
|
|
6641
6661
|
children: Object.keys(x).map((y) => {
|
|
6642
|
-
var
|
|
6643
|
-
return /* @__PURE__ */ n.jsx("div", { className: "field_group_item", children: (
|
|
6662
|
+
var b;
|
|
6663
|
+
return /* @__PURE__ */ n.jsx("div", { className: "field_group_item", children: (b = C[y]) == null ? void 0 : b.label }, y);
|
|
6644
6664
|
})
|
|
6645
6665
|
}
|
|
6646
6666
|
),
|
|
6647
6667
|
i && /* @__PURE__ */ n.jsx("em", { children: i })
|
|
6648
6668
|
] });
|
|
6649
6669
|
}
|
|
6650
|
-
function
|
|
6670
|
+
function kl({
|
|
6651
6671
|
value: e,
|
|
6652
6672
|
onValue: t,
|
|
6653
6673
|
name: a,
|
|
@@ -6667,30 +6687,30 @@ function Cl({
|
|
|
6667
6687
|
className: x = ""
|
|
6668
6688
|
}) {
|
|
6669
6689
|
const k = g.useId();
|
|
6670
|
-
let
|
|
6671
|
-
if (!(d && _) && !m || !(d && _) &&
|
|
6690
|
+
let S = !!(l && (e === "" || e === void 0)), [N, T] = g.useState(i);
|
|
6691
|
+
if (!(d && _) && !m || !(d && _) && S)
|
|
6672
6692
|
return "";
|
|
6673
|
-
const y = async (
|
|
6693
|
+
const y = async (E) => {
|
|
6674
6694
|
if (f) {
|
|
6675
|
-
let D =
|
|
6695
|
+
let D = yl(E, f, e || "default");
|
|
6676
6696
|
t == null || t({ name: a, value: D }), T(URL.createObjectURL(D));
|
|
6677
6697
|
} else
|
|
6678
|
-
t == null || t({ name: a, value:
|
|
6679
|
-
},
|
|
6680
|
-
return
|
|
6698
|
+
t == null || t({ name: a, value: E }), T(URL.createObjectURL(E));
|
|
6699
|
+
}, b = {};
|
|
6700
|
+
return b.field = "file", x && (b.className = x), /* @__PURE__ */ n.jsxs("dl", { ...b, children: [
|
|
6681
6701
|
s && /* @__PURE__ */ n.jsxs("dt", { children: [
|
|
6682
6702
|
s,
|
|
6683
6703
|
" "
|
|
6684
6704
|
] }),
|
|
6685
|
-
/* @__PURE__ */ n.jsxs(
|
|
6705
|
+
/* @__PURE__ */ n.jsxs(jl, { onFiles: y, children: [
|
|
6686
6706
|
/* @__PURE__ */ n.jsx(
|
|
6687
6707
|
"input",
|
|
6688
6708
|
{
|
|
6689
6709
|
id: k,
|
|
6690
6710
|
type: "file",
|
|
6691
6711
|
multiple: !0,
|
|
6692
|
-
onChange: (
|
|
6693
|
-
|
|
6712
|
+
onChange: (E) => {
|
|
6713
|
+
E.target.files[0] && y(E.target.files[0]);
|
|
6694
6714
|
}
|
|
6695
6715
|
}
|
|
6696
6716
|
),
|
|
@@ -6700,7 +6720,7 @@ function Cl({
|
|
|
6700
6720
|
o && /* @__PURE__ */ n.jsx("em", { children: o })
|
|
6701
6721
|
] });
|
|
6702
6722
|
}
|
|
6703
|
-
const
|
|
6723
|
+
const jl = ({ children: e, onFiles: t }) => {
|
|
6704
6724
|
const a = g.useRef(null);
|
|
6705
6725
|
return g.useEffect(() => {
|
|
6706
6726
|
if (a.preventDefaults)
|
|
@@ -6726,24 +6746,24 @@ const kl = ({ children: e, onFiles: t }) => {
|
|
|
6726
6746
|
r.addEventListener(s, a.unhighlight, !1);
|
|
6727
6747
|
}), r.addEventListener("drop", a.onHandleDrop, !1);
|
|
6728
6748
|
}, []), /* @__PURE__ */ n.jsx("dd", { ref: a, children: e });
|
|
6729
|
-
},
|
|
6749
|
+
}, yl = (e, t, a) => {
|
|
6730
6750
|
var r = document.getElementsByTagName("body")[0], s = document.createElement("canvas");
|
|
6731
6751
|
r.appendChild(s);
|
|
6732
6752
|
const i = s.getContext("2d"), o = new Image();
|
|
6733
6753
|
o.addEventListener("load", () => {
|
|
6734
6754
|
i.drawImage(o, 0, 0);
|
|
6735
|
-
const l = t === "png" ? s.toDataURL() : s.toDataURL(`image/${t}`), d =
|
|
6755
|
+
const l = t === "png" ? s.toDataURL() : s.toDataURL(`image/${t}`), d = wl(l, a);
|
|
6736
6756
|
return s.remove(), d;
|
|
6737
6757
|
}), o.src = URL.createObjectURL(e);
|
|
6738
6758
|
};
|
|
6739
|
-
function
|
|
6759
|
+
function wl(e, t) {
|
|
6740
6760
|
let a = e.split(","), r = a[0].match(/:(.*?);/)[1], s = atob(a[1]), i = s.length, o = new Uint8Array(i);
|
|
6741
6761
|
for (; i--; )
|
|
6742
6762
|
o[i] = s.charCodeAt(i);
|
|
6743
6763
|
return new File([o], t, { type: r });
|
|
6744
6764
|
}
|
|
6745
6765
|
const fe = {};
|
|
6746
|
-
function
|
|
6766
|
+
function bl(e) {
|
|
6747
6767
|
const [t, a] = g.useState({}), r = g.useRef(e);
|
|
6748
6768
|
return fe.u = (s) => {
|
|
6749
6769
|
r.current = { ...r.current, [s.name]: s.value };
|
|
@@ -6753,16 +6773,16 @@ function wl(e) {
|
|
|
6753
6773
|
a(Date.now());
|
|
6754
6774
|
}, [r.current, fe.n];
|
|
6755
6775
|
}
|
|
6756
|
-
function
|
|
6776
|
+
function Sl(e) {
|
|
6757
6777
|
fe.u(e), e.reload && fe.r();
|
|
6758
6778
|
}
|
|
6759
|
-
function
|
|
6779
|
+
function El() {
|
|
6760
6780
|
fe.r && fe.r();
|
|
6761
6781
|
}
|
|
6762
|
-
const
|
|
6782
|
+
const mc = {
|
|
6763
6783
|
Color: $n,
|
|
6764
6784
|
Date: Nt,
|
|
6765
|
-
Image:
|
|
6785
|
+
Image: kl,
|
|
6766
6786
|
Code: Bn,
|
|
6767
6787
|
Check: Un,
|
|
6768
6788
|
Switch: In,
|
|
@@ -6786,14 +6806,14 @@ const fc = {
|
|
|
6786
6806
|
Users: Bt,
|
|
6787
6807
|
String: Pe,
|
|
6788
6808
|
Form: bt,
|
|
6789
|
-
runReload:
|
|
6790
|
-
useData:
|
|
6791
|
-
setValue:
|
|
6792
|
-
Palette:
|
|
6809
|
+
runReload: El,
|
|
6810
|
+
useData: bl,
|
|
6811
|
+
setValue: Sl,
|
|
6812
|
+
Palette: vl,
|
|
6793
6813
|
Toogle: Kn,
|
|
6794
6814
|
Group: Wn,
|
|
6795
6815
|
Options: Hn
|
|
6796
|
-
},
|
|
6816
|
+
}, hc = {
|
|
6797
6817
|
Color: $n,
|
|
6798
6818
|
Date: Nt,
|
|
6799
6819
|
Code: Bn,
|
|
@@ -6821,12 +6841,12 @@ const fc = {
|
|
|
6821
6841
|
Toogle: Kn,
|
|
6822
6842
|
Group: Wn,
|
|
6823
6843
|
Options: Hn
|
|
6824
|
-
},
|
|
6825
|
-
spinner:
|
|
6826
|
-
l:
|
|
6827
|
-
loadingB:
|
|
6844
|
+
}, Rl = "_spinner_o487n_1", Dl = "_l_o487n_75", Nl = "_loadingB_o487n_1", Yn = {
|
|
6845
|
+
spinner: Rl,
|
|
6846
|
+
l: Dl,
|
|
6847
|
+
loadingB: Nl
|
|
6828
6848
|
};
|
|
6829
|
-
function
|
|
6849
|
+
function Il() {
|
|
6830
6850
|
return /* @__PURE__ */ n.jsx("div", { className: Yn.spinner, children: /* @__PURE__ */ n.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 483 484", children: /* @__PURE__ */ n.jsx(
|
|
6831
6851
|
"path",
|
|
6832
6852
|
{
|
|
@@ -6835,18 +6855,18 @@ function Nl() {
|
|
|
6835
6855
|
}
|
|
6836
6856
|
) }) });
|
|
6837
6857
|
}
|
|
6838
|
-
function
|
|
6858
|
+
function Tl() {
|
|
6839
6859
|
return /* @__PURE__ */ n.jsxs("div", { className: Yn.l, children: [
|
|
6840
6860
|
/* @__PURE__ */ n.jsx("i", {}),
|
|
6841
6861
|
/* @__PURE__ */ n.jsx("i", {}),
|
|
6842
6862
|
/* @__PURE__ */ n.jsx("i", {})
|
|
6843
6863
|
] });
|
|
6844
6864
|
}
|
|
6845
|
-
const
|
|
6846
|
-
s:
|
|
6865
|
+
const pc = { Spinner: Il, Inline: Tl }, Ml = "_s_t9swc_1", mn = {
|
|
6866
|
+
s: Ml
|
|
6847
6867
|
};
|
|
6848
6868
|
let $t;
|
|
6849
|
-
function
|
|
6869
|
+
function Ll({ className: e, placeholder: t }) {
|
|
6850
6870
|
let a = (o) => {
|
|
6851
6871
|
$t(o.target.textContent);
|
|
6852
6872
|
}, r = (o) => {
|
|
@@ -6870,7 +6890,7 @@ function Ml({ className: e, placeholder: t }) {
|
|
|
6870
6890
|
}
|
|
6871
6891
|
);
|
|
6872
6892
|
}
|
|
6873
|
-
function
|
|
6893
|
+
function Fl(e, t, a) {
|
|
6874
6894
|
let r = [], s = 1, i = 0, o = {}, l = 50;
|
|
6875
6895
|
return o[s] = [], e.forEach((d) => {
|
|
6876
6896
|
d.text.toLowerCase().indexOf(t) > -1 && r.push(d.id);
|
|
@@ -6878,17 +6898,17 @@ function Ll(e, t, a) {
|
|
|
6878
6898
|
i++, i <= l || (s++, i = 1, o[s] = []), o[s].push(a[d]);
|
|
6879
6899
|
}), o;
|
|
6880
6900
|
}
|
|
6881
|
-
function
|
|
6901
|
+
function Bl(e) {
|
|
6882
6902
|
$t = e;
|
|
6883
6903
|
}
|
|
6884
|
-
function
|
|
6904
|
+
function $l(e) {
|
|
6885
6905
|
$t = e;
|
|
6886
6906
|
}
|
|
6887
|
-
const
|
|
6888
|
-
f:
|
|
6907
|
+
const gc = { Field: Ll, Run: Fl, Get: Bl, useValue: $l }, Pl = "_f_q3r0i_1", Ol = {
|
|
6908
|
+
f: Pl
|
|
6889
6909
|
};
|
|
6890
6910
|
let ie = {};
|
|
6891
|
-
function
|
|
6911
|
+
function Al(e, t) {
|
|
6892
6912
|
switch (t.type) {
|
|
6893
6913
|
case "open":
|
|
6894
6914
|
return {
|
|
@@ -6938,8 +6958,8 @@ function Ol(e, t) {
|
|
|
6938
6958
|
throw new Error();
|
|
6939
6959
|
}
|
|
6940
6960
|
}
|
|
6941
|
-
function
|
|
6942
|
-
const [e, t] = g.useReducer(
|
|
6961
|
+
function Gl() {
|
|
6962
|
+
const [e, t] = g.useReducer(Al, {
|
|
6943
6963
|
open: !1,
|
|
6944
6964
|
view: null,
|
|
6945
6965
|
data: {},
|
|
@@ -6957,7 +6977,7 @@ function Al() {
|
|
|
6957
6977
|
/* @__PURE__ */ n.jsxs(
|
|
6958
6978
|
"div",
|
|
6959
6979
|
{
|
|
6960
|
-
className:
|
|
6980
|
+
className: Ol.f,
|
|
6961
6981
|
onClick: () => {
|
|
6962
6982
|
t({ type: "open", open: !0 });
|
|
6963
6983
|
},
|
|
@@ -6982,7 +7002,7 @@ function Al() {
|
|
|
6982
7002
|
),
|
|
6983
7003
|
/* @__PURE__ */ n.jsxs("div", { className: "filter m", children: [
|
|
6984
7004
|
/* @__PURE__ */ n.jsx("div", { className: "filter l", children: Object.keys(e.data).map((a) => /* @__PURE__ */ n.jsx(
|
|
6985
|
-
|
|
7005
|
+
Wl,
|
|
6986
7006
|
{
|
|
6987
7007
|
data: a,
|
|
6988
7008
|
dispatch: t,
|
|
@@ -7004,16 +7024,16 @@ function Al() {
|
|
|
7004
7024
|
] }) : /* @__PURE__ */ n.jsx(n.Fragment, {})
|
|
7005
7025
|
] });
|
|
7006
7026
|
}
|
|
7007
|
-
function
|
|
7027
|
+
function Zl(e) {
|
|
7008
7028
|
ie.get = e;
|
|
7009
7029
|
}
|
|
7010
|
-
function
|
|
7030
|
+
function zl(e) {
|
|
7011
7031
|
ie.set !== void 0 && ie.set(e);
|
|
7012
7032
|
}
|
|
7013
|
-
function
|
|
7033
|
+
function Ul(e) {
|
|
7014
7034
|
ie.reset !== void 0 && ie.reset(e);
|
|
7015
7035
|
}
|
|
7016
|
-
function
|
|
7036
|
+
function Kl(e, t, a, r) {
|
|
7017
7037
|
let s = [], i = 1, o = 0, l = {}, d = 50;
|
|
7018
7038
|
return l[i] = [], r === !0 && (Object.keys(t).forEach((_) => {
|
|
7019
7039
|
Number.parseInt(t[_]) !== 999 && (e = e.filter(
|
|
@@ -7028,7 +7048,7 @@ function Ul(e, t, a, r) {
|
|
|
7028
7048
|
function Vn(e) {
|
|
7029
7049
|
ie.count(e);
|
|
7030
7050
|
}
|
|
7031
|
-
function
|
|
7051
|
+
function Wl({ data: e, state: t, dispatch: a }) {
|
|
7032
7052
|
let r = () => {
|
|
7033
7053
|
a({ type: "view", view: e });
|
|
7034
7054
|
}, s = () => {
|
|
@@ -7051,7 +7071,7 @@ function Kl({ data: e, state: t, dispatch: a }) {
|
|
|
7051
7071
|
) : ""
|
|
7052
7072
|
] }),
|
|
7053
7073
|
/* @__PURE__ */ n.jsx("div", { className: "filter u", "set-active": (t.view === e) + "", children: Object.keys(t.data[e].list).map((i, o) => /* @__PURE__ */ n.jsx(
|
|
7054
|
-
|
|
7074
|
+
Hl,
|
|
7055
7075
|
{
|
|
7056
7076
|
data: t.data[e].list[i],
|
|
7057
7077
|
head: e,
|
|
@@ -7063,7 +7083,7 @@ function Kl({ data: e, state: t, dispatch: a }) {
|
|
|
7063
7083
|
)) })
|
|
7064
7084
|
] });
|
|
7065
7085
|
}
|
|
7066
|
-
function
|
|
7086
|
+
function Hl({ data: e, head: t, state: a, dispatch: r, type: s }) {
|
|
7067
7087
|
if (s !== "999" && e.count === void 0)
|
|
7068
7088
|
return "";
|
|
7069
7089
|
const i = () => {
|
|
@@ -7082,11 +7102,11 @@ function Wl({ data: e, head: t, state: a, dispatch: r, type: s }) {
|
|
|
7082
7102
|
}
|
|
7083
7103
|
);
|
|
7084
7104
|
}
|
|
7085
|
-
const
|
|
7086
|
-
p:
|
|
7087
|
-
l:
|
|
7105
|
+
const xc = { Button: Gl, useValue: Zl, Set: zl, Run: Kl, Count: Vn, Reset: Ul }, vc = { Bell: _s, Send: ls, Add: os }, Yl = "_p_djnh1_1", Vl = "_l_djnh1_38", qn = {
|
|
7106
|
+
p: Yl,
|
|
7107
|
+
l: Vl
|
|
7088
7108
|
};
|
|
7089
|
-
function
|
|
7109
|
+
function ql(e) {
|
|
7090
7110
|
let t = 3, a = e.page, r = e.count, s = [], i = () => {
|
|
7091
7111
|
s.push({ page: 1 }), s.push({ text: "..." });
|
|
7092
7112
|
}, o = () => {
|
|
@@ -7104,7 +7124,7 @@ function Vl(e) {
|
|
|
7104
7124
|
/* @__PURE__ */ n.jsx("i", { onClick: () => e.onChangePage(a + 1), children: /* @__PURE__ */ n.jsx("svg", { viewBox: "0 0 24 24", children: /* @__PURE__ */ n.jsx("path", { d: "M8.19486 5.40705C8.52237 4.96235 9.14837 4.86736 9.59306 5.19488C9.93847 5.44927 10.2668 5.70372 10.5528 5.92689C11.1236 6.3724 11.8882 6.98573 12.6556 7.65208C13.4181 8.31412 14.2064 9.04815 14.8119 9.73344C15.1136 10.0749 15.3911 10.4279 15.5986 10.7721C15.7895 11.0888 16 11.524 16 12.0001C16 12.4762 15.7895 12.9115 15.5986 13.2282C15.3911 13.5724 15.1136 13.9253 14.8119 14.2668C14.2064 14.9521 13.4181 15.6861 12.6556 16.3482C11.8882 17.0145 11.1236 17.6278 10.5528 18.0734C10.2668 18.2965 9.93847 18.551 9.59307 18.8054C9.14837 19.1329 8.52237 19.0379 8.19486 18.5932C8.0632 18.4144 7.99983 18.2064 8.00001 18.0002L8 12.0001L8 6.00007C7.99983 5.79387 8.0632 5.58581 8.19486 5.40705Z" }) }) })
|
|
7105
7125
|
] });
|
|
7106
7126
|
}
|
|
7107
|
-
function
|
|
7127
|
+
function Jl(e, t) {
|
|
7108
7128
|
switch (t.type) {
|
|
7109
7129
|
case "load":
|
|
7110
7130
|
return {
|
|
@@ -7126,7 +7146,7 @@ function ql(e, t) {
|
|
|
7126
7146
|
}
|
|
7127
7147
|
}
|
|
7128
7148
|
function Jn({ load: e, list: t, item: a }) {
|
|
7129
|
-
const r = g.useRef(null), [s, i] = g.useReducer(
|
|
7149
|
+
const r = g.useRef(null), [s, i] = g.useReducer(Jl, {
|
|
7130
7150
|
load: !1,
|
|
7131
7151
|
list: [],
|
|
7132
7152
|
data: {},
|
|
@@ -7152,7 +7172,7 @@ function Jn({ load: e, list: t, item: a }) {
|
|
|
7152
7172
|
/* @__PURE__ */ n.jsx("i", {})
|
|
7153
7173
|
] }) }) }),
|
|
7154
7174
|
s.load && s.list !== void 0 ? /* @__PURE__ */ n.jsx(
|
|
7155
|
-
|
|
7175
|
+
ql,
|
|
7156
7176
|
{
|
|
7157
7177
|
page: s.page,
|
|
7158
7178
|
count: s.size,
|
|
@@ -7161,15 +7181,15 @@ function Jn({ load: e, list: t, item: a }) {
|
|
|
7161
7181
|
) : /* @__PURE__ */ n.jsx(n.Fragment, {})
|
|
7162
7182
|
] });
|
|
7163
7183
|
}
|
|
7164
|
-
const
|
|
7165
|
-
function
|
|
7184
|
+
const Cc = { Pagination: Jn };
|
|
7185
|
+
function Xl({ head: e, load: t, list: a, item: r }) {
|
|
7166
7186
|
const s = e;
|
|
7167
7187
|
return /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
7168
7188
|
/* @__PURE__ */ n.jsx(s, {}),
|
|
7169
7189
|
Dt.getSetting("s05") === 1 ? /* @__PURE__ */ n.jsx(Jn, { list: a, load: t, item: r }) : /* @__PURE__ */ n.jsx(dl, { list: a, load: t, item: r })
|
|
7170
7190
|
] });
|
|
7171
7191
|
}
|
|
7172
|
-
function
|
|
7192
|
+
function Ql(e, t) {
|
|
7173
7193
|
switch (t.type) {
|
|
7174
7194
|
case "load":
|
|
7175
7195
|
return {
|
|
@@ -7211,14 +7231,14 @@ function Xl(e, t) {
|
|
|
7211
7231
|
}
|
|
7212
7232
|
}
|
|
7213
7233
|
const St = {};
|
|
7214
|
-
function
|
|
7234
|
+
function ec(e) {
|
|
7215
7235
|
St.get = e;
|
|
7216
7236
|
}
|
|
7217
|
-
function
|
|
7237
|
+
function tc(e) {
|
|
7218
7238
|
St.get && St.get(e);
|
|
7219
7239
|
}
|
|
7220
|
-
const
|
|
7221
|
-
function
|
|
7240
|
+
const kc = { View: Xl, Reducer: Ql, useValue: ec, setValue: tc }, jc = { Get: ps }, yc = { Open: eo };
|
|
7241
|
+
function wc({ active: e, onActive: t, id: a, name: r }) {
|
|
7222
7242
|
const [s, i] = g.useState(!!e);
|
|
7223
7243
|
g.useEffect(() => {
|
|
7224
7244
|
i(!!e);
|
|
@@ -7244,42 +7264,42 @@ function yc({ active: e, onActive: t, id: a, name: r }) {
|
|
|
7244
7264
|
}
|
|
7245
7265
|
export {
|
|
7246
7266
|
Eo as Action,
|
|
7247
|
-
|
|
7267
|
+
oc as Alert,
|
|
7248
7268
|
an as Api,
|
|
7249
|
-
|
|
7250
|
-
|
|
7251
|
-
|
|
7269
|
+
dc as Badge,
|
|
7270
|
+
ic as Bookmarks,
|
|
7271
|
+
rc as Browser,
|
|
7252
7272
|
pi as Button,
|
|
7253
|
-
|
|
7273
|
+
jc as Company,
|
|
7254
7274
|
fn as Component,
|
|
7255
|
-
|
|
7275
|
+
_c as DataBase,
|
|
7256
7276
|
Ee as Event,
|
|
7257
7277
|
Ee as Events,
|
|
7258
|
-
|
|
7259
|
-
|
|
7260
|
-
|
|
7278
|
+
fc as Files,
|
|
7279
|
+
xc as Filter,
|
|
7280
|
+
mc as Form,
|
|
7261
7281
|
K as Format,
|
|
7262
|
-
|
|
7263
|
-
|
|
7282
|
+
uc as HotKey,
|
|
7283
|
+
lc as Icon,
|
|
7264
7284
|
uo as Init,
|
|
7265
|
-
|
|
7266
|
-
|
|
7267
|
-
|
|
7285
|
+
hc as Input,
|
|
7286
|
+
kc as List,
|
|
7287
|
+
pc as Loading,
|
|
7268
7288
|
tt as Modal,
|
|
7269
7289
|
$e as Notice,
|
|
7270
|
-
|
|
7271
|
-
|
|
7272
|
-
|
|
7290
|
+
vc as Notifications,
|
|
7291
|
+
Cc as Pagination,
|
|
7292
|
+
yc as Phone,
|
|
7273
7293
|
qe as Router,
|
|
7274
7294
|
dl as Scrolling,
|
|
7275
|
-
|
|
7276
|
-
|
|
7295
|
+
gc as Search,
|
|
7296
|
+
sc as Setting,
|
|
7277
7297
|
et as Sistym,
|
|
7278
7298
|
_e as Socket,
|
|
7279
7299
|
se as Store,
|
|
7280
|
-
|
|
7300
|
+
wc as Switch,
|
|
7281
7301
|
xo as Tabs,
|
|
7282
|
-
|
|
7302
|
+
cc as Triage,
|
|
7283
7303
|
Dt as User,
|
|
7284
7304
|
O as WebRTC
|
|
7285
7305
|
};
|