@kvaser/canking-api 7.1.0-beta.231 → 7.1.0-beta.241
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 +101 -37
- package/dist/controls/CanIdentifierControl.d.ts +21 -3
- package/dist/controls/ColumnItemControl.d.ts +36 -0
- package/dist/controls/OneLineButton.d.ts +1 -1
- package/dist/controls/index.d.ts +2 -0
- package/dist/controls.js +1 -1
- package/dist/controls.mjs +1385 -1141
- package/dist/grpc.mjs +114 -114
- package/dist/index.js +1 -1
- package/dist/measurement_settings.js +1 -1
- package/dist/measurement_settings.mjs +449 -403
- package/dist/models.js +1 -1
- package/dist/models.mjs +30 -30
- package/dist/protos/app_service.d.ts +1 -1
- package/dist/protos/device_service.d.ts +1 -1
- package/dist/protos/frame_params.d.ts +6 -0
- package/dist/protos/measurement_service.d.ts +1 -1
- package/dist/status_params.js +1 -1
- package/dist/status_params.mjs +1780 -1780
- package/doc/assets/material-style.css +105 -14
- package/doc/assets/navigation.js +1 -1
- package/doc/assets/search.js +1 -1
- package/doc/functions/controls.ColumnItemControl.html +175 -0
- package/doc/functions/controls.OneLineButton.html +4 -4
- package/doc/functions/controls.useColumnItem.html +176 -0
- package/doc/functions/controls.useColumnItems.html +177 -0
- package/doc/index.html +87 -43
- package/doc/interfaces/controls.CanIdentifierFrameControlProps.html +4 -2
- package/doc/interfaces/controls.CanIdentifierGeneratorControlProps.html +6 -2
- package/doc/interfaces/controls.CanIdentifierGeneratorSettingsControlProps.html +6 -2
- package/doc/interfaces/controls.ColumnItemControlProps.html +177 -0
- package/doc/interfaces/models.SignalValue.html +4 -2
- package/doc/interfaces/models.WriteFrame.html +6 -2
- package/doc/modules/controls.html +4 -0
- package/index.js +14 -0
- package/licenses/ELECTRON-TOOLKIT-PRELOAD_MIT.TXT +21 -0
- package/licenses/FAST-DEEP-EQUAL_MIT.TXT +21 -0
- package/licenses/GOOGLE-PROTOBUF_(BSD-3-CLAUSE AND APACHE-2.0).TXT +29 -0
- package/licenses/REACT-DOM_MIT.TXT +21 -0
- package/licenses/REACT_MIT.TXT +21 -0
- package/licenses/UUID_MIT.TXT +9 -0
- package/licenses/licenses.css +22 -0
- package/licenses/licenses.html +67 -0
- package/package.json +10 -16
- package/scripts/createCanKingExtension.js +0 -403
- package/scripts/index.js +0 -39
- package/scripts/template/_.eslintrc.cjs +0 -38
- package/scripts/template/_.gitignore +0 -24
- package/scripts/template/_.npmrc +0 -2
- package/scripts/template/_.prettierrc +0 -8
- package/scripts/template/_.vscode/_launch.json +0 -28
- package/scripts/template/_index.html +0 -15
- package/scripts/template/_tsconfig.app.json +0 -27
- package/scripts/template/_tsconfig.json +0 -11
- package/scripts/template/_tsconfig.node.json +0 -13
- package/scripts/template/_vite.config.ts +0 -7
- package/scripts/template/src/App.tsx +0 -12
- package/scripts/template/src/WorkspaceView/index.tsx +0 -47
- package/scripts/template/src/main.css +0 -9
- package/scripts/template/src/main.tsx +0 -19
- package/scripts/template/src/vite-env.d.ts +0 -1
package/dist/controls.mjs
CHANGED
|
@@ -1,115 +1,345 @@
|
|
|
1
|
-
import { u as
|
|
2
|
-
import { C as
|
|
3
|
-
import { jsx as
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import {
|
|
7
|
-
import
|
|
1
|
+
import { u as H, a as We, b as re, c as De, d as Ue } from "./index.mjs";
|
|
2
|
+
import { C as br, D as mr, L as pr, g as vr, f as xr, M as Cr, O as Sr, R as Nr, U as yr, W as Ir, e as $r, r as Fr } from "./index.mjs";
|
|
3
|
+
import { jsx as c, jsxs as L, Fragment as J } from "react/jsx-runtime";
|
|
4
|
+
import * as Y from "react";
|
|
5
|
+
import oe, { useCallback as F, useRef as $e, useState as A, useEffect as k, useMemo as j } from "react";
|
|
6
|
+
import { FormControlLabel as Fe, Checkbox as ze, Box as Q, styled as W, Button as Ke, IconButton as we, Popover as Xe, MenuItem as se, FormControl as Me, Stack as Re, TextField as Ge, InputAdornment as he, Radio as qe, RadioGroup as Ye, Divider as He, Tooltip as ne, InputLabel as Je, Select as Qe, FormHelperText as Ze, ListSubheader as Ve, TableContainer as en, Table as nn, TableHead as tn, TableRow as ge, TableCell as be, TableBody as rn, Toolbar as an, Typography as Te, ToggleButtonGroup as ln, toggleButtonGroupClasses as me, ButtonGroup as on, buttonGroupClasses as Z, Paper as dn, ToggleButton as sn, Menu as un, ListItemIcon as cn, ListItemText as pe } from "@mui/material";
|
|
7
|
+
import { LineArrowDownIcon as _e, LineArrowUpIcon as fn } from "./icons.mjs";
|
|
8
|
+
import ue from "fast-deep-equal";
|
|
8
9
|
import "long";
|
|
9
|
-
import { C as
|
|
10
|
-
function
|
|
10
|
+
import { C as U, W as hn } from "./measurement_settings.mjs";
|
|
11
|
+
function Ae({
|
|
11
12
|
id: e = void 0,
|
|
12
|
-
label:
|
|
13
|
-
checked:
|
|
14
|
-
onChange:
|
|
15
|
-
disabled:
|
|
16
|
-
size:
|
|
17
|
-
sx:
|
|
13
|
+
label: n,
|
|
14
|
+
checked: t,
|
|
15
|
+
onChange: r,
|
|
16
|
+
disabled: a = !1,
|
|
17
|
+
size: i = "small",
|
|
18
|
+
sx: f = void 0
|
|
18
19
|
}) {
|
|
19
|
-
const
|
|
20
|
-
if (
|
|
21
|
-
|
|
20
|
+
const d = F((l) => {
|
|
21
|
+
if (l.key === "Enter" && !l.ctrlKey && !l.altKey && !l.shiftKey) {
|
|
22
|
+
l.preventDefault();
|
|
22
23
|
return;
|
|
23
24
|
}
|
|
24
25
|
}, []);
|
|
25
|
-
return /* @__PURE__ */
|
|
26
|
-
|
|
26
|
+
return /* @__PURE__ */ c(
|
|
27
|
+
Fe,
|
|
27
28
|
{
|
|
28
29
|
id: e,
|
|
29
30
|
"aria-label": e,
|
|
30
|
-
disabled:
|
|
31
|
-
"aria-disabled":
|
|
32
|
-
control: /* @__PURE__ */
|
|
33
|
-
label:
|
|
31
|
+
disabled: a,
|
|
32
|
+
"aria-disabled": a,
|
|
33
|
+
control: /* @__PURE__ */ c(ze, { size: i, checked: t, onChange: (l, s) => r(s), onKeyDown: d }),
|
|
34
|
+
label: n,
|
|
34
35
|
slotProps: { typography: { noWrap: !0 } },
|
|
35
|
-
sx:
|
|
36
|
+
sx: f
|
|
36
37
|
}
|
|
37
38
|
);
|
|
38
39
|
}
|
|
39
|
-
|
|
40
|
+
var V = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
41
|
+
function Le(e) {
|
|
42
|
+
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
43
|
+
}
|
|
44
|
+
function gn(e) {
|
|
45
|
+
var n = typeof e;
|
|
46
|
+
return e != null && (n == "object" || n == "function");
|
|
47
|
+
}
|
|
48
|
+
var ce = gn, bn = typeof V == "object" && V && V.Object === Object && V, mn = bn, pn = mn, vn = typeof self == "object" && self && self.Object === Object && self, xn = pn || vn || Function("return this")(), Ee = xn, Cn = Ee, Sn = function() {
|
|
49
|
+
return Cn.Date.now();
|
|
50
|
+
}, Nn = Sn, yn = /\s/;
|
|
51
|
+
function In(e) {
|
|
52
|
+
for (var n = e.length; n-- && yn.test(e.charAt(n)); )
|
|
53
|
+
;
|
|
54
|
+
return n;
|
|
55
|
+
}
|
|
56
|
+
var $n = In, Fn = $n, wn = /^\s+/;
|
|
57
|
+
function Mn(e) {
|
|
58
|
+
return e && e.slice(0, Fn(e) + 1).replace(wn, "");
|
|
59
|
+
}
|
|
60
|
+
var Rn = Mn, Tn = Ee, _n = Tn.Symbol, Be = _n, ve = Be, Oe = Object.prototype, An = Oe.hasOwnProperty, Ln = Oe.toString, q = ve ? ve.toStringTag : void 0;
|
|
61
|
+
function En(e) {
|
|
62
|
+
var n = An.call(e, q), t = e[q];
|
|
63
|
+
try {
|
|
64
|
+
e[q] = void 0;
|
|
65
|
+
var r = !0;
|
|
66
|
+
} catch {
|
|
67
|
+
}
|
|
68
|
+
var a = Ln.call(e);
|
|
69
|
+
return r && (n ? e[q] = t : delete e[q]), a;
|
|
70
|
+
}
|
|
71
|
+
var Bn = En, On = Object.prototype, kn = On.toString;
|
|
72
|
+
function jn(e) {
|
|
73
|
+
return kn.call(e);
|
|
74
|
+
}
|
|
75
|
+
var Pn = jn, xe = Be, Wn = Bn, Dn = Pn, Un = "[object Null]", zn = "[object Undefined]", Ce = xe ? xe.toStringTag : void 0;
|
|
76
|
+
function Kn(e) {
|
|
77
|
+
return e == null ? e === void 0 ? zn : Un : Ce && Ce in Object(e) ? Wn(e) : Dn(e);
|
|
78
|
+
}
|
|
79
|
+
var Xn = Kn;
|
|
80
|
+
function Gn(e) {
|
|
81
|
+
return e != null && typeof e == "object";
|
|
82
|
+
}
|
|
83
|
+
var qn = Gn, Yn = Xn, Hn = qn, Jn = "[object Symbol]";
|
|
84
|
+
function Qn(e) {
|
|
85
|
+
return typeof e == "symbol" || Hn(e) && Yn(e) == Jn;
|
|
86
|
+
}
|
|
87
|
+
var Zn = Qn, Vn = Rn, Se = ce, et = Zn, Ne = NaN, nt = /^[-+]0x[0-9a-f]+$/i, tt = /^0b[01]+$/i, rt = /^0o[0-7]+$/i, at = parseInt;
|
|
88
|
+
function lt(e) {
|
|
89
|
+
if (typeof e == "number")
|
|
90
|
+
return e;
|
|
91
|
+
if (et(e))
|
|
92
|
+
return Ne;
|
|
93
|
+
if (Se(e)) {
|
|
94
|
+
var n = typeof e.valueOf == "function" ? e.valueOf() : e;
|
|
95
|
+
e = Se(n) ? n + "" : n;
|
|
96
|
+
}
|
|
97
|
+
if (typeof e != "string")
|
|
98
|
+
return e === 0 ? e : +e;
|
|
99
|
+
e = Vn(e);
|
|
100
|
+
var t = tt.test(e);
|
|
101
|
+
return t || rt.test(e) ? at(e.slice(2), t ? 2 : 8) : nt.test(e) ? Ne : +e;
|
|
102
|
+
}
|
|
103
|
+
var it = lt, ot = ce, le = Nn, ye = it, dt = "Expected a function", st = Math.max, ut = Math.min;
|
|
104
|
+
function ct(e, n, t) {
|
|
105
|
+
var r, a, i, f, d, l, s = 0, g = !1, x = !1, y = !0;
|
|
106
|
+
if (typeof e != "function")
|
|
107
|
+
throw new TypeError(dt);
|
|
108
|
+
n = ye(n) || 0, ot(t) && (g = !!t.leading, x = "maxWait" in t, i = x ? st(ye(t.maxWait) || 0, n) : i, y = "trailing" in t ? !!t.trailing : y);
|
|
109
|
+
function C(o) {
|
|
110
|
+
var M = r, E = a;
|
|
111
|
+
return r = a = void 0, s = o, f = e.apply(E, M), f;
|
|
112
|
+
}
|
|
113
|
+
function S(o) {
|
|
114
|
+
return s = o, d = setTimeout(T, n), g ? C(o) : f;
|
|
115
|
+
}
|
|
116
|
+
function I(o) {
|
|
117
|
+
var M = o - l, E = o - s, P = n - M;
|
|
118
|
+
return x ? ut(P, i - E) : P;
|
|
119
|
+
}
|
|
120
|
+
function w(o) {
|
|
121
|
+
var M = o - l, E = o - s;
|
|
122
|
+
return l === void 0 || M >= n || M < 0 || x && E >= i;
|
|
123
|
+
}
|
|
124
|
+
function T() {
|
|
125
|
+
var o = le();
|
|
126
|
+
if (w(o))
|
|
127
|
+
return N(o);
|
|
128
|
+
d = setTimeout(T, I(o));
|
|
129
|
+
}
|
|
130
|
+
function N(o) {
|
|
131
|
+
return d = void 0, y && r ? C(o) : (r = a = void 0, f);
|
|
132
|
+
}
|
|
133
|
+
function m() {
|
|
134
|
+
d !== void 0 && clearTimeout(d), s = 0, r = l = a = d = void 0;
|
|
135
|
+
}
|
|
136
|
+
function h() {
|
|
137
|
+
return d === void 0 ? f : N(le());
|
|
138
|
+
}
|
|
139
|
+
function v() {
|
|
140
|
+
var o = le(), M = w(o);
|
|
141
|
+
if (r = arguments, a = this, l = o, M) {
|
|
142
|
+
if (d === void 0)
|
|
143
|
+
return S(l);
|
|
144
|
+
if (x)
|
|
145
|
+
return clearTimeout(d), d = setTimeout(T, n), C(l);
|
|
146
|
+
}
|
|
147
|
+
return d === void 0 && (d = setTimeout(T, n)), f;
|
|
148
|
+
}
|
|
149
|
+
return v.cancel = m, v.flush = h, v;
|
|
150
|
+
}
|
|
151
|
+
var ke = ct;
|
|
152
|
+
const ft = /* @__PURE__ */ Le(ke);
|
|
153
|
+
var ht = ke, gt = ce, bt = "Expected a function";
|
|
154
|
+
function mt(e, n, t) {
|
|
155
|
+
var r = !0, a = !0;
|
|
156
|
+
if (typeof e != "function")
|
|
157
|
+
throw new TypeError(bt);
|
|
158
|
+
return gt(t) && (r = "leading" in t ? !!t.leading : r, a = "trailing" in t ? !!t.trailing : a), ht(e, n, {
|
|
159
|
+
leading: r,
|
|
160
|
+
maxWait: n,
|
|
161
|
+
trailing: a
|
|
162
|
+
});
|
|
163
|
+
}
|
|
164
|
+
var pt = mt;
|
|
165
|
+
const vt = /* @__PURE__ */ Le(pt), xt = (e, n, t, r) => {
|
|
166
|
+
switch (n) {
|
|
167
|
+
case "debounce":
|
|
168
|
+
return ft(e, t, r);
|
|
169
|
+
case "throttle":
|
|
170
|
+
return vt(e, t, r);
|
|
171
|
+
default:
|
|
172
|
+
return e;
|
|
173
|
+
}
|
|
174
|
+
}, Ct = (
|
|
175
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
176
|
+
(e) => {
|
|
177
|
+
const n = Y.useRef(e);
|
|
178
|
+
return Y.useEffect(() => {
|
|
179
|
+
n.current = e;
|
|
180
|
+
}), Y.useMemo(() => (...t) => {
|
|
181
|
+
var r;
|
|
182
|
+
return (r = n.current) === null || r === void 0 ? void 0 : r.call(n, ...t);
|
|
183
|
+
}, []);
|
|
184
|
+
}
|
|
185
|
+
), St = (
|
|
186
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
187
|
+
(e) => {
|
|
188
|
+
const [n, t] = Y.useState((e == null ? void 0 : e.current) || null);
|
|
189
|
+
return e && setTimeout(() => {
|
|
190
|
+
e.current !== n && t(e.current);
|
|
191
|
+
}, 0), { refProxy: Y.useMemo(() => new Proxy((a) => {
|
|
192
|
+
a !== n && t(a);
|
|
193
|
+
}, {
|
|
194
|
+
get(a, i) {
|
|
195
|
+
return i === "current" ? n : a[i];
|
|
196
|
+
},
|
|
197
|
+
set(a, i, f) {
|
|
198
|
+
return i === "current" ? t(f) : a[i] = f, !0;
|
|
199
|
+
}
|
|
200
|
+
}), [n]), refElement: n, setRefElement: t };
|
|
201
|
+
}
|
|
202
|
+
), Nt = (e, n) => n === "border-box" ? {
|
|
203
|
+
width: e.borderBoxSize[0].inlineSize,
|
|
204
|
+
height: e.borderBoxSize[0].blockSize
|
|
205
|
+
} : n === "content-box" ? {
|
|
206
|
+
width: e.contentBoxSize[0].inlineSize,
|
|
207
|
+
height: e.contentBoxSize[0].blockSize
|
|
208
|
+
} : {
|
|
209
|
+
width: e.contentRect.width,
|
|
210
|
+
height: e.contentRect.height
|
|
211
|
+
};
|
|
212
|
+
function yt({ skipOnMount: e = !1, refreshMode: n, refreshRate: t = 1e3, refreshOptions: r, handleWidth: a = !0, handleHeight: i = !0, targetRef: f, observerOptions: d, onResize: l } = {}) {
|
|
213
|
+
const s = $e(e), g = Ct(l), [x, y] = A({
|
|
214
|
+
width: void 0,
|
|
215
|
+
height: void 0
|
|
216
|
+
}), { refProxy: C, refElement: S } = St(f), { box: I } = d || {}, w = F((N) => {
|
|
217
|
+
if (!a && !i)
|
|
218
|
+
return;
|
|
219
|
+
if (s.current) {
|
|
220
|
+
s.current = !1;
|
|
221
|
+
return;
|
|
222
|
+
}
|
|
223
|
+
const m = (h, v) => a && h.width !== v.width || i && h.height !== v.height;
|
|
224
|
+
N.forEach((h) => {
|
|
225
|
+
const v = Nt(h, I);
|
|
226
|
+
y((o) => m(o, v) ? (g == null || g({
|
|
227
|
+
width: v.width,
|
|
228
|
+
height: v.height,
|
|
229
|
+
entry: h
|
|
230
|
+
}), v) : o);
|
|
231
|
+
});
|
|
232
|
+
}, [a, i, s, I]), T = F(xt(w, n, t, r), [
|
|
233
|
+
w,
|
|
234
|
+
n,
|
|
235
|
+
t,
|
|
236
|
+
r
|
|
237
|
+
]);
|
|
238
|
+
return k(() => {
|
|
239
|
+
let N;
|
|
240
|
+
return S ? (N = new window.ResizeObserver(T), N.observe(S, d)) : (x.width || x.height) && (g == null || g({
|
|
241
|
+
width: null,
|
|
242
|
+
height: null,
|
|
243
|
+
entry: null
|
|
244
|
+
}), y({ width: void 0, height: void 0 })), () => {
|
|
245
|
+
var m, h, v;
|
|
246
|
+
(m = N == null ? void 0 : N.disconnect) === null || m === void 0 || m.call(N), (v = (h = T).cancel) === null || v === void 0 || v.call(h);
|
|
247
|
+
};
|
|
248
|
+
}, [T, S]), Object.assign({ ref: C }, x);
|
|
249
|
+
}
|
|
250
|
+
const It = () => {
|
|
251
|
+
const { ref: e, width: n } = yt();
|
|
252
|
+
return {
|
|
253
|
+
ref: e,
|
|
254
|
+
width: n
|
|
255
|
+
};
|
|
256
|
+
}, $t = (...e) => {
|
|
257
|
+
const [n, t] = A();
|
|
258
|
+
return k(() => {
|
|
259
|
+
const r = e.filter((a) => a.width !== void 0).map((a) => Number(a.width.toFixed(1)));
|
|
260
|
+
if (r.length === e.length) {
|
|
261
|
+
const a = Math.max(...r);
|
|
262
|
+
t((i) => i === void 0 ? a : i);
|
|
263
|
+
}
|
|
264
|
+
}, [e]), n;
|
|
265
|
+
};
|
|
266
|
+
function Ft({ columnItem: e, width: n = void 0, children: t = void 0 }) {
|
|
267
|
+
return /* @__PURE__ */ c("div", { ref: e.ref, children: /* @__PURE__ */ c(Q, { sx: { width: n }, children: t }) });
|
|
268
|
+
}
|
|
269
|
+
const te = W(Ke)(() => ({
|
|
40
270
|
whiteSpace: "nowrap",
|
|
41
271
|
minWidth: "max-content"
|
|
42
272
|
}));
|
|
43
|
-
function
|
|
44
|
-
const
|
|
45
|
-
(
|
|
46
|
-
|
|
273
|
+
function er({ items: e, onSelect: n, onClose: t = void 0 }) {
|
|
274
|
+
const r = F(
|
|
275
|
+
(a) => {
|
|
276
|
+
n(a), t && t();
|
|
47
277
|
},
|
|
48
|
-
[
|
|
278
|
+
[t, n]
|
|
49
279
|
);
|
|
50
|
-
return /* @__PURE__ */
|
|
280
|
+
return /* @__PURE__ */ c(J, { children: e.map((a) => /* @__PURE__ */ c(se, { onClick: () => r(a.key), children: a.text }, a.key)) });
|
|
51
281
|
}
|
|
52
|
-
function
|
|
282
|
+
function wt({
|
|
53
283
|
id: e = "dropdown-button",
|
|
54
|
-
startIcon:
|
|
55
|
-
endIcon:
|
|
56
|
-
text:
|
|
57
|
-
variant:
|
|
58
|
-
color:
|
|
59
|
-
size:
|
|
60
|
-
disabled:
|
|
61
|
-
children:
|
|
284
|
+
startIcon: n = void 0,
|
|
285
|
+
endIcon: t = void 0,
|
|
286
|
+
text: r = void 0,
|
|
287
|
+
variant: a = "outlined",
|
|
288
|
+
color: i = void 0,
|
|
289
|
+
size: f = "medium",
|
|
290
|
+
disabled: d = !1,
|
|
291
|
+
children: l
|
|
62
292
|
}) {
|
|
63
|
-
const [
|
|
64
|
-
|
|
65
|
-
}, []),
|
|
66
|
-
|
|
67
|
-
}, []),
|
|
68
|
-
onClose:
|
|
293
|
+
const [s, g] = A(null), x = !!s, y = F((I) => {
|
|
294
|
+
g(I.currentTarget);
|
|
295
|
+
}, []), C = F(() => {
|
|
296
|
+
g(null);
|
|
297
|
+
}, []), S = oe.cloneElement(oe.Children.only(l), {
|
|
298
|
+
onClose: C
|
|
69
299
|
});
|
|
70
|
-
return /* @__PURE__ */
|
|
71
|
-
!
|
|
72
|
-
|
|
300
|
+
return /* @__PURE__ */ L(J, { children: [
|
|
301
|
+
!r && /* @__PURE__ */ c(
|
|
302
|
+
we,
|
|
73
303
|
{
|
|
74
304
|
id: e,
|
|
75
305
|
"data-testid": e,
|
|
76
|
-
"aria-controls":
|
|
306
|
+
"aria-controls": x ? `${e}-popover` : void 0,
|
|
77
307
|
"aria-haspopup": "true",
|
|
78
|
-
"aria-expanded":
|
|
79
|
-
onClick:
|
|
80
|
-
size:
|
|
81
|
-
color:
|
|
82
|
-
disabled:
|
|
83
|
-
children:
|
|
308
|
+
"aria-expanded": x ? "true" : void 0,
|
|
309
|
+
onClick: y,
|
|
310
|
+
size: f,
|
|
311
|
+
color: i,
|
|
312
|
+
disabled: d,
|
|
313
|
+
children: n
|
|
84
314
|
}
|
|
85
315
|
),
|
|
86
|
-
|
|
87
|
-
|
|
316
|
+
r && /* @__PURE__ */ c(
|
|
317
|
+
te,
|
|
88
318
|
{
|
|
89
319
|
id: e,
|
|
90
320
|
"data-testid": e,
|
|
91
|
-
"aria-controls":
|
|
321
|
+
"aria-controls": x ? `${e}-popover` : void 0,
|
|
92
322
|
"aria-haspopup": "true",
|
|
93
|
-
"aria-expanded":
|
|
94
|
-
variant:
|
|
323
|
+
"aria-expanded": x ? "true" : void 0,
|
|
324
|
+
variant: a,
|
|
95
325
|
disableElevation: !0,
|
|
96
|
-
onClick:
|
|
97
|
-
startIcon:
|
|
98
|
-
endIcon:
|
|
99
|
-
size:
|
|
100
|
-
color:
|
|
101
|
-
disabled:
|
|
102
|
-
children:
|
|
326
|
+
onClick: y,
|
|
327
|
+
startIcon: n,
|
|
328
|
+
endIcon: t ?? /* @__PURE__ */ c(_e, {}),
|
|
329
|
+
size: f,
|
|
330
|
+
color: i,
|
|
331
|
+
disabled: d,
|
|
332
|
+
children: r
|
|
103
333
|
}
|
|
104
334
|
),
|
|
105
|
-
/* @__PURE__ */
|
|
106
|
-
|
|
335
|
+
/* @__PURE__ */ c(
|
|
336
|
+
Xe,
|
|
107
337
|
{
|
|
108
338
|
id: `${e}-popover`,
|
|
109
339
|
"aria-labelledby": e,
|
|
110
|
-
anchorEl:
|
|
111
|
-
open:
|
|
112
|
-
onClose:
|
|
340
|
+
anchorEl: s,
|
|
341
|
+
open: x,
|
|
342
|
+
onClose: C,
|
|
113
343
|
anchorOrigin: {
|
|
114
344
|
vertical: "bottom",
|
|
115
345
|
horizontal: "left"
|
|
@@ -118,744 +348,744 @@ function Qe({
|
|
|
118
348
|
vertical: "top",
|
|
119
349
|
horizontal: "left"
|
|
120
350
|
},
|
|
121
|
-
children:
|
|
351
|
+
children: S
|
|
122
352
|
}
|
|
123
353
|
)
|
|
124
354
|
] });
|
|
125
355
|
}
|
|
126
|
-
const
|
|
356
|
+
const Mt = W("div")(({ top: e, left: n, width: t, height: r }) => ({
|
|
127
357
|
top: e,
|
|
128
|
-
left:
|
|
129
|
-
width:
|
|
130
|
-
height:
|
|
358
|
+
left: n,
|
|
359
|
+
width: t,
|
|
360
|
+
height: r,
|
|
131
361
|
position: "absolute",
|
|
132
362
|
zIndex: 1
|
|
133
|
-
})),
|
|
363
|
+
})), Rt = W("div")(({ top: e, left: n, width: t, height: r, position: a, theme: i }) => ({
|
|
134
364
|
top: e,
|
|
135
|
-
left:
|
|
136
|
-
width:
|
|
137
|
-
height:
|
|
365
|
+
left: n,
|
|
366
|
+
width: t,
|
|
367
|
+
height: r,
|
|
138
368
|
position: "absolute",
|
|
139
369
|
zIndex: 2,
|
|
140
|
-
color:
|
|
141
|
-
backgroundColor:
|
|
370
|
+
color: i.palette.primary.contrastText,
|
|
371
|
+
backgroundColor: i.palette.primary.main,
|
|
142
372
|
display: "flex",
|
|
143
|
-
flexDirection:
|
|
144
|
-
borderTopLeftRadius:
|
|
145
|
-
borderTopRightRadius:
|
|
146
|
-
borderBottomRightRadius:
|
|
147
|
-
borderBottomLeftRadius:
|
|
148
|
-
})),
|
|
149
|
-
function
|
|
373
|
+
flexDirection: a === "left" || a === "right" ? "column" : "row",
|
|
374
|
+
borderTopLeftRadius: a === "top" || a === "left" ? 0 : 8,
|
|
375
|
+
borderTopRightRadius: a === "top" || a === "right" ? 0 : 8,
|
|
376
|
+
borderBottomRightRadius: a === "bottom" || a === "right" ? 0 : 8,
|
|
377
|
+
borderBottomLeftRadius: a === "bottom" || a === "left" ? 0 : 8
|
|
378
|
+
})), ee = 8;
|
|
379
|
+
function nr({
|
|
150
380
|
id: e = void 0,
|
|
151
|
-
position:
|
|
152
|
-
parentWidth:
|
|
153
|
-
parentHeight:
|
|
154
|
-
maxLength:
|
|
155
|
-
dropDownSize:
|
|
156
|
-
autoHideTimeout:
|
|
157
|
-
forceShow:
|
|
158
|
-
children:
|
|
381
|
+
position: n,
|
|
382
|
+
parentWidth: t,
|
|
383
|
+
parentHeight: r,
|
|
384
|
+
maxLength: a,
|
|
385
|
+
dropDownSize: i,
|
|
386
|
+
autoHideTimeout: f = 0,
|
|
387
|
+
forceShow: d = !1,
|
|
388
|
+
children: l = null
|
|
159
389
|
}) {
|
|
160
|
-
const
|
|
161
|
-
switch (
|
|
390
|
+
const s = j(() => {
|
|
391
|
+
switch (n) {
|
|
162
392
|
case "left":
|
|
163
393
|
case "right":
|
|
164
|
-
return Math.min(
|
|
394
|
+
return Math.min(a, r);
|
|
165
395
|
case "top":
|
|
166
396
|
case "bottom":
|
|
167
|
-
return Math.min(
|
|
397
|
+
return Math.min(a, t);
|
|
168
398
|
default:
|
|
169
|
-
return
|
|
399
|
+
return a;
|
|
170
400
|
}
|
|
171
|
-
}, [
|
|
172
|
-
switch (
|
|
401
|
+
}, [a, r, t, n]), g = j(() => {
|
|
402
|
+
switch (n) {
|
|
173
403
|
case "left":
|
|
174
404
|
case "right":
|
|
175
|
-
return (
|
|
405
|
+
return (r - s) / 2;
|
|
176
406
|
case "top":
|
|
177
407
|
return 0;
|
|
178
408
|
case "bottom":
|
|
179
|
-
return
|
|
409
|
+
return r - ee;
|
|
180
410
|
default:
|
|
181
411
|
return 0;
|
|
182
412
|
}
|
|
183
|
-
}, [
|
|
184
|
-
switch (
|
|
413
|
+
}, [s, r, n]), x = j(() => {
|
|
414
|
+
switch (n) {
|
|
185
415
|
case "left":
|
|
186
416
|
return 0;
|
|
187
417
|
case "right":
|
|
188
|
-
return
|
|
418
|
+
return t - ee;
|
|
189
419
|
case "top":
|
|
190
420
|
case "bottom":
|
|
191
|
-
return (
|
|
421
|
+
return (t - s) / 2;
|
|
192
422
|
default:
|
|
193
423
|
return 0;
|
|
194
424
|
}
|
|
195
|
-
}, [
|
|
196
|
-
switch (
|
|
425
|
+
}, [s, t, n]), y = j(() => {
|
|
426
|
+
switch (n) {
|
|
197
427
|
case "left":
|
|
198
428
|
case "right":
|
|
199
|
-
return
|
|
429
|
+
return ee;
|
|
200
430
|
case "top":
|
|
201
431
|
case "bottom":
|
|
202
|
-
return
|
|
432
|
+
return s;
|
|
203
433
|
default:
|
|
204
434
|
return 0;
|
|
205
435
|
}
|
|
206
|
-
}, [
|
|
207
|
-
switch (
|
|
436
|
+
}, [s, n]), C = j(() => {
|
|
437
|
+
switch (n) {
|
|
208
438
|
case "left":
|
|
209
439
|
case "right":
|
|
210
|
-
return
|
|
440
|
+
return s;
|
|
211
441
|
case "top":
|
|
212
442
|
case "bottom":
|
|
213
|
-
return
|
|
443
|
+
return ee;
|
|
214
444
|
default:
|
|
215
445
|
return 0;
|
|
216
446
|
}
|
|
217
|
-
}, [
|
|
218
|
-
switch (
|
|
447
|
+
}, [s, n]), S = j(() => {
|
|
448
|
+
switch (n) {
|
|
219
449
|
case "left":
|
|
220
450
|
case "right":
|
|
221
|
-
return (
|
|
451
|
+
return (r - s) / 2;
|
|
222
452
|
case "top":
|
|
223
453
|
return 0;
|
|
224
454
|
case "bottom":
|
|
225
|
-
return
|
|
455
|
+
return r - i;
|
|
226
456
|
default:
|
|
227
457
|
return 0;
|
|
228
458
|
}
|
|
229
|
-
}, [
|
|
230
|
-
switch (
|
|
459
|
+
}, [i, s, r, n]), I = j(() => {
|
|
460
|
+
switch (n) {
|
|
231
461
|
case "left":
|
|
232
462
|
return 0;
|
|
233
463
|
case "right":
|
|
234
|
-
return
|
|
464
|
+
return t - i;
|
|
235
465
|
case "top":
|
|
236
466
|
case "bottom":
|
|
237
|
-
return (
|
|
467
|
+
return (t - s) / 2;
|
|
238
468
|
default:
|
|
239
469
|
return 0;
|
|
240
470
|
}
|
|
241
|
-
}, [
|
|
242
|
-
switch (
|
|
471
|
+
}, [i, s, t, n]), w = j(() => {
|
|
472
|
+
switch (n) {
|
|
243
473
|
case "left":
|
|
244
474
|
case "right":
|
|
245
|
-
return
|
|
475
|
+
return i;
|
|
246
476
|
case "top":
|
|
247
477
|
case "bottom":
|
|
248
|
-
return
|
|
478
|
+
return s;
|
|
249
479
|
default:
|
|
250
480
|
return 0;
|
|
251
481
|
}
|
|
252
|
-
}, [
|
|
253
|
-
switch (
|
|
482
|
+
}, [i, s, n]), T = j(() => {
|
|
483
|
+
switch (n) {
|
|
254
484
|
case "left":
|
|
255
485
|
case "right":
|
|
256
|
-
return
|
|
486
|
+
return s;
|
|
257
487
|
case "top":
|
|
258
488
|
case "bottom":
|
|
259
|
-
return
|
|
489
|
+
return i;
|
|
260
490
|
default:
|
|
261
491
|
return 0;
|
|
262
492
|
}
|
|
263
|
-
}, [
|
|
264
|
-
(
|
|
265
|
-
|
|
493
|
+
}, [i, s, n]), [N, m] = A(!1), h = F(
|
|
494
|
+
(o) => {
|
|
495
|
+
o.buttons === 0 && f && m(!0);
|
|
266
496
|
},
|
|
267
|
-
[
|
|
268
|
-
),
|
|
269
|
-
|
|
497
|
+
[f]
|
|
498
|
+
), v = F(() => {
|
|
499
|
+
m(!1);
|
|
270
500
|
}, []);
|
|
271
|
-
return
|
|
272
|
-
let
|
|
273
|
-
return
|
|
274
|
-
|
|
501
|
+
return k(() => {
|
|
502
|
+
let o;
|
|
503
|
+
return N && f && (o = setTimeout(() => m(!1), f)), () => {
|
|
504
|
+
o && clearTimeout(o);
|
|
275
505
|
};
|
|
276
|
-
}, [
|
|
277
|
-
/* @__PURE__ */
|
|
278
|
-
|
|
506
|
+
}, [f, N]), /* @__PURE__ */ L(J, { children: [
|
|
507
|
+
/* @__PURE__ */ c(
|
|
508
|
+
Mt,
|
|
279
509
|
{
|
|
280
510
|
id: e,
|
|
281
|
-
top:
|
|
282
|
-
left:
|
|
283
|
-
width:
|
|
284
|
-
height:
|
|
511
|
+
top: g,
|
|
512
|
+
left: x,
|
|
513
|
+
width: y,
|
|
514
|
+
height: C,
|
|
285
515
|
"aria-haspopup": "true",
|
|
286
|
-
onMouseEnter:
|
|
516
|
+
onMouseEnter: h
|
|
287
517
|
}
|
|
288
518
|
),
|
|
289
|
-
(
|
|
290
|
-
|
|
519
|
+
(N || d === !0) && /* @__PURE__ */ c(
|
|
520
|
+
Rt,
|
|
291
521
|
{
|
|
292
|
-
top:
|
|
293
|
-
left:
|
|
294
|
-
width:
|
|
295
|
-
height:
|
|
296
|
-
position:
|
|
297
|
-
onMouseLeave:
|
|
298
|
-
children:
|
|
522
|
+
top: S,
|
|
523
|
+
left: I,
|
|
524
|
+
width: w,
|
|
525
|
+
height: T,
|
|
526
|
+
position: n,
|
|
527
|
+
onMouseLeave: v,
|
|
528
|
+
children: l
|
|
299
529
|
}
|
|
300
530
|
)
|
|
301
531
|
] });
|
|
302
532
|
}
|
|
303
|
-
function
|
|
533
|
+
function de({
|
|
304
534
|
children: e,
|
|
305
|
-
fullWidth:
|
|
306
|
-
spacing:
|
|
307
|
-
alignItems:
|
|
535
|
+
fullWidth: n = !0,
|
|
536
|
+
spacing: t = "4px",
|
|
537
|
+
alignItems: r = "center"
|
|
308
538
|
}) {
|
|
309
|
-
return /* @__PURE__ */
|
|
539
|
+
return /* @__PURE__ */ c(Me, { margin: "dense", fullWidth: n, variant: "standard", children: /* @__PURE__ */ c(Re, { direction: "row", spacing: t, alignItems: r, children: e }) });
|
|
310
540
|
}
|
|
311
|
-
const
|
|
312
|
-
...
|
|
313
|
-
})),
|
|
314
|
-
...
|
|
541
|
+
const Tt = W("input")(({ variant: e, theme: n }) => ({
|
|
542
|
+
...n.typography[e]
|
|
543
|
+
})), _t = W("span")(({ variant: e, theme: n }) => ({
|
|
544
|
+
...n.typography[e]
|
|
315
545
|
}));
|
|
316
|
-
function
|
|
317
|
-
const
|
|
318
|
-
(
|
|
546
|
+
function At({ value: e, onChange: n, ariaLabel: t = void 0, variant: r = "body1" }) {
|
|
547
|
+
const a = $e(null), [i, f] = A(e), d = F(
|
|
548
|
+
(g) => f(g.target.value),
|
|
319
549
|
[]
|
|
320
|
-
),
|
|
321
|
-
(
|
|
322
|
-
(
|
|
550
|
+
), l = F(
|
|
551
|
+
(g) => {
|
|
552
|
+
(g.key === "Enter" || g.key === "Escape") && (g.key === "Escape" && (f(e), g.currentTarget.value = e), g.currentTarget.blur());
|
|
323
553
|
},
|
|
324
554
|
[e]
|
|
325
|
-
),
|
|
326
|
-
(
|
|
327
|
-
|
|
555
|
+
), s = F(
|
|
556
|
+
(g) => {
|
|
557
|
+
n(g.target.value);
|
|
328
558
|
},
|
|
329
|
-
[
|
|
559
|
+
[n]
|
|
330
560
|
);
|
|
331
|
-
return
|
|
332
|
-
var
|
|
333
|
-
(
|
|
334
|
-
}, []), /* @__PURE__ */
|
|
335
|
-
|
|
561
|
+
return k(() => {
|
|
562
|
+
var g;
|
|
563
|
+
(g = a.current) == null || g.focus();
|
|
564
|
+
}, []), /* @__PURE__ */ c(
|
|
565
|
+
Tt,
|
|
336
566
|
{
|
|
337
|
-
ref:
|
|
338
|
-
variant:
|
|
567
|
+
ref: a,
|
|
568
|
+
variant: r ?? "body1",
|
|
339
569
|
type: "text",
|
|
340
|
-
"aria-label":
|
|
341
|
-
value:
|
|
342
|
-
onChange:
|
|
343
|
-
onKeyDown:
|
|
344
|
-
onBlur:
|
|
570
|
+
"aria-label": t,
|
|
571
|
+
value: i,
|
|
572
|
+
onChange: d,
|
|
573
|
+
onKeyDown: l,
|
|
574
|
+
onBlur: s
|
|
345
575
|
}
|
|
346
576
|
);
|
|
347
577
|
}
|
|
348
|
-
function
|
|
349
|
-
return /* @__PURE__ */
|
|
350
|
-
e && /* @__PURE__ */
|
|
351
|
-
!e && /* @__PURE__ */
|
|
578
|
+
function tr({ editMode: e, value: n, onValueChange: t, ariaLabel: r = void 0, variant: a = "body1" }) {
|
|
579
|
+
return /* @__PURE__ */ L(J, { children: [
|
|
580
|
+
e && /* @__PURE__ */ c(At, { ariaLabel: r, value: n, onChange: t, variant: a }),
|
|
581
|
+
!e && /* @__PURE__ */ c(_t, { variant: a ?? "body1", children: n })
|
|
352
582
|
] });
|
|
353
583
|
}
|
|
354
|
-
function
|
|
584
|
+
function Lt({
|
|
355
585
|
id: e = void 0,
|
|
356
|
-
label:
|
|
357
|
-
helperText:
|
|
358
|
-
value:
|
|
359
|
-
onChange:
|
|
360
|
-
onBlur:
|
|
361
|
-
disabled:
|
|
362
|
-
error:
|
|
363
|
-
required:
|
|
364
|
-
margin:
|
|
365
|
-
size:
|
|
366
|
-
fullWidth:
|
|
367
|
-
inputMode:
|
|
368
|
-
pattern:
|
|
369
|
-
startAdornment:
|
|
370
|
-
endAdornment:
|
|
371
|
-
sx:
|
|
372
|
-
sxStartAdornment:
|
|
373
|
-
sxEndAdornment:
|
|
586
|
+
label: n = void 0,
|
|
587
|
+
helperText: t = "",
|
|
588
|
+
value: r,
|
|
589
|
+
onChange: a = void 0,
|
|
590
|
+
onBlur: i = void 0,
|
|
591
|
+
disabled: f = !1,
|
|
592
|
+
error: d = !1,
|
|
593
|
+
required: l = !1,
|
|
594
|
+
margin: s = "dense",
|
|
595
|
+
size: g = "small",
|
|
596
|
+
fullWidth: x = !1,
|
|
597
|
+
inputMode: y = void 0,
|
|
598
|
+
pattern: C = void 0,
|
|
599
|
+
startAdornment: S = void 0,
|
|
600
|
+
endAdornment: I = void 0,
|
|
601
|
+
sx: w = void 0,
|
|
602
|
+
sxStartAdornment: T = void 0,
|
|
603
|
+
sxEndAdornment: N = void 0
|
|
374
604
|
}) {
|
|
375
|
-
const
|
|
376
|
-
(
|
|
377
|
-
|
|
605
|
+
const m = F(
|
|
606
|
+
(M) => {
|
|
607
|
+
a && a(M.target.value);
|
|
378
608
|
},
|
|
379
|
-
[
|
|
380
|
-
),
|
|
381
|
-
if (
|
|
382
|
-
|
|
609
|
+
[a]
|
|
610
|
+
), h = F((M) => {
|
|
611
|
+
if (M.key === "Enter" && !M.ctrlKey && !M.altKey && !M.shiftKey) {
|
|
612
|
+
M.preventDefault(), M.stopPropagation(), document.activeElement instanceof HTMLElement && document.activeElement.blur();
|
|
383
613
|
return;
|
|
384
614
|
}
|
|
385
|
-
}, []),
|
|
386
|
-
return /* @__PURE__ */
|
|
387
|
-
|
|
615
|
+
}, []), v = T ?? { marginBottom: 1 }, o = N ?? { marginBottom: 1 };
|
|
616
|
+
return /* @__PURE__ */ c(
|
|
617
|
+
Ge,
|
|
388
618
|
{
|
|
389
619
|
id: e,
|
|
390
620
|
"aria-label": e,
|
|
391
621
|
type: "text",
|
|
392
|
-
label:
|
|
393
|
-
helperText:
|
|
394
|
-
margin:
|
|
395
|
-
size:
|
|
396
|
-
fullWidth:
|
|
622
|
+
label: n,
|
|
623
|
+
helperText: t,
|
|
624
|
+
margin: s,
|
|
625
|
+
size: g,
|
|
626
|
+
fullWidth: x,
|
|
397
627
|
variant: "standard",
|
|
398
|
-
value:
|
|
399
|
-
onChange:
|
|
400
|
-
onBlur:
|
|
401
|
-
disabled:
|
|
402
|
-
"aria-disabled":
|
|
403
|
-
error:
|
|
404
|
-
required:
|
|
628
|
+
value: r,
|
|
629
|
+
onChange: m,
|
|
630
|
+
onBlur: i,
|
|
631
|
+
disabled: f,
|
|
632
|
+
"aria-disabled": f,
|
|
633
|
+
error: d,
|
|
634
|
+
required: l,
|
|
405
635
|
slotProps: {
|
|
406
636
|
input: {
|
|
407
|
-
startAdornment:
|
|
408
|
-
endAdornment:
|
|
637
|
+
startAdornment: S ? /* @__PURE__ */ c(he, { position: "start", sx: { ...v }, children: S }) : null,
|
|
638
|
+
endAdornment: I ? /* @__PURE__ */ c(he, { position: "end", sx: { ...o }, children: I }) : null
|
|
409
639
|
},
|
|
410
640
|
htmlInput: {
|
|
411
|
-
inputMode:
|
|
412
|
-
pattern:
|
|
641
|
+
inputMode: y,
|
|
642
|
+
pattern: C
|
|
413
643
|
}
|
|
414
644
|
},
|
|
415
|
-
sx:
|
|
416
|
-
onKeyDown:
|
|
645
|
+
sx: w,
|
|
646
|
+
onKeyDown: h
|
|
417
647
|
}
|
|
418
648
|
);
|
|
419
649
|
}
|
|
420
|
-
function
|
|
650
|
+
function G({
|
|
421
651
|
id: e,
|
|
422
|
-
label:
|
|
423
|
-
helperText:
|
|
424
|
-
value:
|
|
425
|
-
onChange:
|
|
426
|
-
onBlur:
|
|
427
|
-
disabled:
|
|
428
|
-
required:
|
|
429
|
-
margin:
|
|
430
|
-
size:
|
|
431
|
-
fullWidth:
|
|
432
|
-
inputMode:
|
|
433
|
-
pattern:
|
|
434
|
-
startAdornment:
|
|
435
|
-
endAdornment:
|
|
436
|
-
sx:
|
|
437
|
-
sxStartAdornment:
|
|
438
|
-
sxEndAdornment:
|
|
439
|
-
error:
|
|
440
|
-
onErrorChange:
|
|
441
|
-
onValidate:
|
|
442
|
-
numberType:
|
|
443
|
-
minValue:
|
|
444
|
-
maxValue:
|
|
652
|
+
label: n = void 0,
|
|
653
|
+
helperText: t = "",
|
|
654
|
+
value: r,
|
|
655
|
+
onChange: a = void 0,
|
|
656
|
+
onBlur: i = void 0,
|
|
657
|
+
disabled: f = !1,
|
|
658
|
+
required: d = !1,
|
|
659
|
+
margin: l = "dense",
|
|
660
|
+
size: s = "small",
|
|
661
|
+
fullWidth: g = !1,
|
|
662
|
+
inputMode: x = void 0,
|
|
663
|
+
pattern: y = void 0,
|
|
664
|
+
startAdornment: C = void 0,
|
|
665
|
+
endAdornment: S = void 0,
|
|
666
|
+
sx: I = void 0,
|
|
667
|
+
sxStartAdornment: w = void 0,
|
|
668
|
+
sxEndAdornment: T = void 0,
|
|
669
|
+
error: N = void 0,
|
|
670
|
+
onErrorChange: m = void 0,
|
|
671
|
+
onValidate: h = void 0,
|
|
672
|
+
numberType: v = "int",
|
|
673
|
+
minValue: o = void 0,
|
|
674
|
+
maxValue: M = void 0
|
|
445
675
|
}) {
|
|
446
|
-
const [E,
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
}, [
|
|
450
|
-
|
|
451
|
-
}, [
|
|
452
|
-
const
|
|
453
|
-
(
|
|
454
|
-
const
|
|
455
|
-
let
|
|
456
|
-
return
|
|
676
|
+
const [E, P] = A(r), [_, B] = A(N !== void 0 ? N : !1);
|
|
677
|
+
k(() => {
|
|
678
|
+
P((u) => r !== u ? r : u);
|
|
679
|
+
}, [r]), k(() => {
|
|
680
|
+
B((u) => N !== void 0 && N !== u ? N : u);
|
|
681
|
+
}, [N]);
|
|
682
|
+
const z = F(
|
|
683
|
+
(u) => {
|
|
684
|
+
const $ = Number.parseInt(u, u.startsWith("0x") ? 16 : 10);
|
|
685
|
+
let b = Number.isNaN($);
|
|
686
|
+
return b || (b = o !== void 0 && $ < o), b || (b = M !== void 0 && $ > M), { val: u, err: b };
|
|
457
687
|
},
|
|
458
|
-
[
|
|
459
|
-
),
|
|
460
|
-
(
|
|
461
|
-
let
|
|
462
|
-
if (
|
|
463
|
-
return
|
|
464
|
-
const
|
|
465
|
-
return
|
|
688
|
+
[M, o]
|
|
689
|
+
), K = F(
|
|
690
|
+
(u) => {
|
|
691
|
+
let $ = !1;
|
|
692
|
+
if (u.endsWith(",") || u.endsWith("."))
|
|
693
|
+
return $ = !0, { val: u, err: $ };
|
|
694
|
+
const b = Number.parseFloat(u.replace(",", "."));
|
|
695
|
+
return $ = Number.isNaN(b), $ || ($ = o !== void 0 && b < o), $ || ($ = M !== void 0 && b > M), { val: b.toString(), err: $ };
|
|
466
696
|
},
|
|
467
|
-
[
|
|
468
|
-
),
|
|
469
|
-
(
|
|
470
|
-
[
|
|
471
|
-
),
|
|
472
|
-
(
|
|
473
|
-
let
|
|
474
|
-
return !
|
|
697
|
+
[M, o]
|
|
698
|
+
), X = F(
|
|
699
|
+
(u) => v === "int" ? z(u) : K(u),
|
|
700
|
+
[v, K, z]
|
|
701
|
+
), D = F(
|
|
702
|
+
(u, $) => {
|
|
703
|
+
let b = u, O = !1;
|
|
704
|
+
return !d && (b === void 0 || b === "") ? { val: b, err: O } : (v !== void 0 && ({ val: b, err: O } = X(u)), !O && h && ({ val: b, err: O } = h(b, $)), { val: b, err: O });
|
|
475
705
|
},
|
|
476
|
-
[
|
|
477
|
-
),
|
|
478
|
-
(
|
|
479
|
-
const { val:
|
|
480
|
-
(
|
|
706
|
+
[h, X]
|
|
707
|
+
), R = F(
|
|
708
|
+
(u) => {
|
|
709
|
+
const { val: $, err: b } = D(u, "change");
|
|
710
|
+
(N === void 0 || N === !1) && B(b), P(b ? u : $), !b && a && a($);
|
|
481
711
|
},
|
|
482
|
-
[
|
|
483
|
-
),
|
|
484
|
-
const { val:
|
|
485
|
-
(
|
|
486
|
-
}, [
|
|
487
|
-
return
|
|
488
|
-
|
|
489
|
-
}, [
|
|
490
|
-
|
|
712
|
+
[a, D]
|
|
713
|
+
), p = F(() => {
|
|
714
|
+
const { val: u, err: $ } = D(E, "blur");
|
|
715
|
+
(N === void 0 || N === !1) && B($), !$ && i && i(u);
|
|
716
|
+
}, [i, D, E]);
|
|
717
|
+
return k(() => {
|
|
718
|
+
m && m(_);
|
|
719
|
+
}, [_, m]), /* @__PURE__ */ c(
|
|
720
|
+
Lt,
|
|
491
721
|
{
|
|
492
722
|
id: e,
|
|
493
|
-
label:
|
|
494
|
-
helperText:
|
|
723
|
+
label: n,
|
|
724
|
+
helperText: t,
|
|
495
725
|
value: E,
|
|
496
|
-
onChange:
|
|
497
|
-
onBlur:
|
|
498
|
-
disabled:
|
|
499
|
-
error:
|
|
500
|
-
required:
|
|
501
|
-
margin:
|
|
502
|
-
size:
|
|
503
|
-
fullWidth:
|
|
504
|
-
inputMode:
|
|
505
|
-
pattern:
|
|
506
|
-
startAdornment:
|
|
507
|
-
endAdornment:
|
|
508
|
-
sx:
|
|
509
|
-
sxStartAdornment:
|
|
510
|
-
sxEndAdornment:
|
|
726
|
+
onChange: R,
|
|
727
|
+
onBlur: p,
|
|
728
|
+
disabled: f,
|
|
729
|
+
error: _,
|
|
730
|
+
required: d,
|
|
731
|
+
margin: l,
|
|
732
|
+
size: s,
|
|
733
|
+
fullWidth: g,
|
|
734
|
+
inputMode: x,
|
|
735
|
+
pattern: y,
|
|
736
|
+
startAdornment: C,
|
|
737
|
+
endAdornment: S,
|
|
738
|
+
sx: I,
|
|
739
|
+
sxStartAdornment: w,
|
|
740
|
+
sxEndAdornment: T
|
|
511
741
|
}
|
|
512
742
|
);
|
|
513
743
|
}
|
|
514
|
-
function
|
|
744
|
+
function rr({
|
|
515
745
|
minValue: e,
|
|
516
|
-
maxValue:
|
|
517
|
-
onChange:
|
|
518
|
-
onBlur:
|
|
519
|
-
minError:
|
|
520
|
-
onMinErrorChange:
|
|
521
|
-
maxError:
|
|
522
|
-
onMaxErrorChange:
|
|
523
|
-
onMinValidate:
|
|
524
|
-
onMaxValidate:
|
|
525
|
-
minDisabled:
|
|
526
|
-
maxDisabled:
|
|
527
|
-
unit:
|
|
528
|
-
lowerLimit:
|
|
529
|
-
upperLimit:
|
|
746
|
+
maxValue: n,
|
|
747
|
+
onChange: t = void 0,
|
|
748
|
+
onBlur: r = void 0,
|
|
749
|
+
minError: a = void 0,
|
|
750
|
+
onMinErrorChange: i = void 0,
|
|
751
|
+
maxError: f = void 0,
|
|
752
|
+
onMaxErrorChange: d = void 0,
|
|
753
|
+
onMinValidate: l = void 0,
|
|
754
|
+
onMaxValidate: s = void 0,
|
|
755
|
+
minDisabled: g = !1,
|
|
756
|
+
maxDisabled: x = !1,
|
|
757
|
+
unit: y = void 0,
|
|
758
|
+
lowerLimit: C = void 0,
|
|
759
|
+
upperLimit: S = void 0
|
|
530
760
|
}) {
|
|
531
|
-
const
|
|
532
|
-
|
|
533
|
-
), [E,
|
|
534
|
-
|
|
761
|
+
const I = H(), w = Number.parseInt(e), T = Number.parseInt(n), [N, m] = A(e.toString()), [h, v] = A(n.toString()), [o, M] = A(
|
|
762
|
+
a === !0 || Number.isNaN(w) || w < (C ?? 0) || S && w > S || !Number.isNaN(T) && w >= T
|
|
763
|
+
), [E, P] = A(
|
|
764
|
+
f === !0 || Number.isNaN(T) || T < (C ?? 0) || S && T > S || !Number.isNaN(w) && w >= T
|
|
535
765
|
);
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
}, [e]),
|
|
539
|
-
|
|
540
|
-
}, [
|
|
541
|
-
|
|
542
|
-
}, [
|
|
543
|
-
|
|
544
|
-
}, [
|
|
545
|
-
const
|
|
546
|
-
(
|
|
547
|
-
const
|
|
548
|
-
return { val:
|
|
766
|
+
k(() => {
|
|
767
|
+
m((R) => e.toString() !== R ? e.toString() : R);
|
|
768
|
+
}, [e]), k(() => {
|
|
769
|
+
M((R) => a !== void 0 && a !== R ? a : R);
|
|
770
|
+
}, [a]), k(() => {
|
|
771
|
+
v((R) => n.toString() !== R ? n.toString() : R);
|
|
772
|
+
}, [n]), k(() => {
|
|
773
|
+
P((R) => f !== void 0 && f !== R ? f : R);
|
|
774
|
+
}, [f]);
|
|
775
|
+
const _ = F(
|
|
776
|
+
(R) => {
|
|
777
|
+
const p = Number.parseInt(R, R.startsWith("0x") ? 16 : 10), u = Number.parseInt(h), $ = Number.isNaN(p) || p < (C ?? 0) || S && p > S || !Number.isNaN(u) && p >= u;
|
|
778
|
+
return { val: R, err: $ };
|
|
549
779
|
},
|
|
550
|
-
[
|
|
551
|
-
),
|
|
552
|
-
(
|
|
553
|
-
const
|
|
554
|
-
return { val:
|
|
780
|
+
[h, C, S]
|
|
781
|
+
), B = F(
|
|
782
|
+
(R) => {
|
|
783
|
+
const p = Number.parseInt(R, R.startsWith("0x") ? 16 : 10), u = Number.parseInt(N), $ = Number.isNaN(p) || p < (C ?? 0) || S && p > S || !Number.isNaN(u) && u >= p;
|
|
784
|
+
return { val: R, err: $ };
|
|
555
785
|
},
|
|
556
|
-
[
|
|
557
|
-
),
|
|
558
|
-
(
|
|
559
|
-
let { val:
|
|
560
|
-
if (!
|
|
561
|
-
|
|
786
|
+
[N, C, S]
|
|
787
|
+
), z = F(
|
|
788
|
+
(R) => {
|
|
789
|
+
let { val: p, err: u } = _(R);
|
|
790
|
+
if (!u && l && ({ val: p, err: u } = l(R, "change")), (a === void 0 || a === !1) && M(u), u)
|
|
791
|
+
t && t(R, h);
|
|
562
792
|
else {
|
|
563
|
-
const
|
|
564
|
-
|
|
793
|
+
const $ = Number.parseInt(p, p.startsWith("0x") ? 16 : 10).toString();
|
|
794
|
+
m($), t && t($, h);
|
|
565
795
|
}
|
|
566
796
|
},
|
|
567
|
-
[
|
|
568
|
-
),
|
|
569
|
-
(
|
|
570
|
-
let { val:
|
|
571
|
-
!
|
|
797
|
+
[_, l, a, t, h]
|
|
798
|
+
), K = F(
|
|
799
|
+
(R) => {
|
|
800
|
+
let { val: p, err: u } = _(R);
|
|
801
|
+
!u && l && ({ val: p, err: u } = l(p, "blur")), M(u), !u && r && r(p, h);
|
|
572
802
|
},
|
|
573
|
-
[
|
|
574
|
-
),
|
|
575
|
-
(
|
|
576
|
-
let { val:
|
|
577
|
-
if (!
|
|
578
|
-
|
|
803
|
+
[_, l, r, h]
|
|
804
|
+
), X = F(
|
|
805
|
+
(R) => {
|
|
806
|
+
let { val: p, err: u } = B(R);
|
|
807
|
+
if (!u && s && ({ val: p, err: u } = s(R, "change")), (f === void 0 || f === !1) && P(u), u)
|
|
808
|
+
t && t(N, R);
|
|
579
809
|
else {
|
|
580
|
-
const
|
|
581
|
-
$
|
|
810
|
+
const $ = Number.parseInt(p, p.startsWith("0x") ? 16 : 10).toString();
|
|
811
|
+
v($), t && t(N, $);
|
|
582
812
|
}
|
|
583
813
|
},
|
|
584
|
-
[
|
|
585
|
-
),
|
|
586
|
-
(
|
|
587
|
-
let { val:
|
|
588
|
-
!
|
|
814
|
+
[B, s, f, t, N]
|
|
815
|
+
), D = F(
|
|
816
|
+
(R) => {
|
|
817
|
+
let { val: p, err: u } = B(R);
|
|
818
|
+
!u && s && ({ val: p, err: u } = s(p, "blur")), P(u), !u && r && r(N, p);
|
|
589
819
|
},
|
|
590
|
-
[
|
|
820
|
+
[B, s, r, N]
|
|
591
821
|
);
|
|
592
|
-
return
|
|
593
|
-
|
|
594
|
-
}, [E,
|
|
595
|
-
/* @__PURE__ */
|
|
596
|
-
|
|
822
|
+
return k(() => {
|
|
823
|
+
i && i(o), d && d(E);
|
|
824
|
+
}, [E, o, d, i]), /* @__PURE__ */ L(J, { children: [
|
|
825
|
+
/* @__PURE__ */ c(
|
|
826
|
+
G,
|
|
597
827
|
{
|
|
598
828
|
id: "min-value",
|
|
599
|
-
disabled:
|
|
829
|
+
disabled: g,
|
|
600
830
|
inputMode: "numeric",
|
|
601
831
|
fullWidth: !0,
|
|
602
|
-
value:
|
|
603
|
-
onChange:
|
|
604
|
-
onBlur:
|
|
605
|
-
startAdornment:
|
|
606
|
-
endAdornment:
|
|
832
|
+
value: N,
|
|
833
|
+
onChange: z,
|
|
834
|
+
onBlur: K,
|
|
835
|
+
startAdornment: I.getString("LabelFrom"),
|
|
836
|
+
endAdornment: y,
|
|
607
837
|
numberType: "int",
|
|
608
|
-
error:
|
|
609
|
-
onErrorChange:
|
|
838
|
+
error: o,
|
|
839
|
+
onErrorChange: M
|
|
610
840
|
}
|
|
611
841
|
),
|
|
612
|
-
/* @__PURE__ */
|
|
613
|
-
|
|
842
|
+
/* @__PURE__ */ c(
|
|
843
|
+
G,
|
|
614
844
|
{
|
|
615
845
|
id: "max-value",
|
|
616
|
-
disabled:
|
|
846
|
+
disabled: x,
|
|
617
847
|
inputMode: "numeric",
|
|
618
848
|
fullWidth: !0,
|
|
619
|
-
value:
|
|
620
|
-
onChange:
|
|
621
|
-
onBlur:
|
|
622
|
-
startAdornment:
|
|
623
|
-
endAdornment:
|
|
849
|
+
value: h,
|
|
850
|
+
onChange: X,
|
|
851
|
+
onBlur: D,
|
|
852
|
+
startAdornment: I.getString("LabelTo"),
|
|
853
|
+
endAdornment: y,
|
|
624
854
|
numberType: "int",
|
|
625
855
|
error: E,
|
|
626
|
-
onErrorChange:
|
|
856
|
+
onErrorChange: P
|
|
627
857
|
}
|
|
628
858
|
)
|
|
629
859
|
] });
|
|
630
860
|
}
|
|
631
|
-
function
|
|
861
|
+
function ie({
|
|
632
862
|
id: e = void 0,
|
|
633
|
-
label:
|
|
634
|
-
value:
|
|
635
|
-
disabled:
|
|
636
|
-
size:
|
|
637
|
-
sx:
|
|
863
|
+
label: n,
|
|
864
|
+
value: t,
|
|
865
|
+
disabled: r = !1,
|
|
866
|
+
size: a = "small",
|
|
867
|
+
sx: i = void 0
|
|
638
868
|
}) {
|
|
639
|
-
return /* @__PURE__ */
|
|
640
|
-
|
|
869
|
+
return /* @__PURE__ */ c(
|
|
870
|
+
Fe,
|
|
641
871
|
{
|
|
642
872
|
id: e,
|
|
643
873
|
"aria-label": e,
|
|
644
|
-
value:
|
|
645
|
-
disabled:
|
|
646
|
-
"aria-disabled":
|
|
647
|
-
control: /* @__PURE__ */
|
|
648
|
-
label:
|
|
874
|
+
value: t,
|
|
875
|
+
disabled: r,
|
|
876
|
+
"aria-disabled": r,
|
|
877
|
+
control: /* @__PURE__ */ c(qe, { size: a }),
|
|
878
|
+
label: n,
|
|
649
879
|
componentsProps: { typography: { noWrap: !0 } },
|
|
650
|
-
sx:
|
|
880
|
+
sx: i
|
|
651
881
|
}
|
|
652
882
|
);
|
|
653
883
|
}
|
|
654
|
-
function
|
|
884
|
+
function Et({
|
|
655
885
|
children: e,
|
|
656
|
-
id:
|
|
657
|
-
value:
|
|
658
|
-
onChange:
|
|
886
|
+
id: n = void 0,
|
|
887
|
+
value: t,
|
|
888
|
+
onChange: r
|
|
659
889
|
}) {
|
|
660
|
-
return /* @__PURE__ */
|
|
890
|
+
return /* @__PURE__ */ c(Ye, { id: n, "aria-label": n, value: t, onChange: (a, i) => r(i), children: e });
|
|
661
891
|
}
|
|
662
|
-
const
|
|
892
|
+
const Bt = W(Q, {
|
|
663
893
|
shouldForwardProp: (e) => e !== "collapsed"
|
|
664
|
-
})(({ collapsed: e, theme:
|
|
894
|
+
})(({ collapsed: e, theme: n }) => ({
|
|
665
895
|
paddingTop: e ? "4px" : "8px",
|
|
666
896
|
paddingLeft: "2px",
|
|
667
897
|
paddingRight: "2px",
|
|
668
898
|
paddingBottom: e ? "0px" : "2px",
|
|
669
899
|
marginTop: "2px",
|
|
670
900
|
"&:hover, &:focus-within": {
|
|
671
|
-
background:
|
|
901
|
+
background: n.palette.action.hover
|
|
672
902
|
}
|
|
673
|
-
})),
|
|
903
|
+
})), je = W("span")(({ theme: e }) => ({
|
|
674
904
|
color: e.palette.divider
|
|
675
|
-
})),
|
|
905
|
+
})), Ot = W(je)(() => ({
|
|
676
906
|
"&:hover": {
|
|
677
907
|
cursor: "pointer"
|
|
678
908
|
}
|
|
679
|
-
})),
|
|
909
|
+
})), kt = W(we)(({ theme: e }) => ({
|
|
680
910
|
color: e.palette.divider,
|
|
681
911
|
padding: "0px"
|
|
682
912
|
}));
|
|
683
|
-
function
|
|
913
|
+
function fe({
|
|
684
914
|
textAlign: e = "left",
|
|
685
|
-
text:
|
|
686
|
-
summary:
|
|
687
|
-
children:
|
|
688
|
-
collapsible:
|
|
689
|
-
collapsed:
|
|
690
|
-
collapsedChange:
|
|
915
|
+
text: n = void 0,
|
|
916
|
+
summary: t = void 0,
|
|
917
|
+
children: r = void 0,
|
|
918
|
+
collapsible: a = !1,
|
|
919
|
+
collapsed: i = !1,
|
|
920
|
+
collapsedChange: f = void 0
|
|
691
921
|
}) {
|
|
692
|
-
const
|
|
693
|
-
|
|
694
|
-
const
|
|
695
|
-
(
|
|
696
|
-
|
|
922
|
+
const d = We(), l = H(), [s, g] = A(i);
|
|
923
|
+
k(() => g(i), [i]);
|
|
924
|
+
const x = F(
|
|
925
|
+
(y) => {
|
|
926
|
+
f ? f(y) : g(y);
|
|
697
927
|
},
|
|
698
|
-
[
|
|
928
|
+
[f]
|
|
699
929
|
);
|
|
700
|
-
return /* @__PURE__ */
|
|
701
|
-
|
|
702
|
-
/* @__PURE__ */
|
|
703
|
-
|
|
704
|
-
|
|
930
|
+
return /* @__PURE__ */ L(Bt, { collapsed: s, children: [
|
|
931
|
+
n && /* @__PURE__ */ c(He, { textAlign: e, variant: "fullWidth", children: a ? /* @__PURE__ */ L(Re, { direction: "row", spacing: 1, alignItems: "center", children: [
|
|
932
|
+
/* @__PURE__ */ L(Ot, { onClick: () => x(!s), children: [
|
|
933
|
+
n.toLocaleUpperCase(d),
|
|
934
|
+
s && t ? ` (${t})` : ""
|
|
705
935
|
] }),
|
|
706
|
-
/* @__PURE__ */
|
|
707
|
-
|
|
936
|
+
/* @__PURE__ */ c(
|
|
937
|
+
ne,
|
|
708
938
|
{
|
|
709
|
-
title:
|
|
710
|
-
children: /* @__PURE__ */
|
|
939
|
+
title: s ? l == null ? void 0 : l.getString("TooltipExpandSection", n) : l == null ? void 0 : l.getString("TooltipCollapseSection", n),
|
|
940
|
+
children: /* @__PURE__ */ c(kt, { onClick: () => x(!s), children: s ? /* @__PURE__ */ c(_e, {}) : /* @__PURE__ */ c(fn, {}) })
|
|
711
941
|
}
|
|
712
942
|
)
|
|
713
|
-
] }) : /* @__PURE__ */
|
|
714
|
-
!
|
|
943
|
+
] }) : /* @__PURE__ */ c(je, { children: n.toLocaleUpperCase(d) }) }),
|
|
944
|
+
!s && r
|
|
715
945
|
] });
|
|
716
946
|
}
|
|
717
|
-
function
|
|
947
|
+
function Ie({
|
|
718
948
|
id: e,
|
|
719
|
-
label:
|
|
720
|
-
showLabel:
|
|
721
|
-
helperText:
|
|
722
|
-
options:
|
|
723
|
-
value:
|
|
724
|
-
onChange:
|
|
725
|
-
disabled:
|
|
726
|
-
required:
|
|
727
|
-
margin:
|
|
728
|
-
size:
|
|
729
|
-
fullWidth:
|
|
730
|
-
minWidth:
|
|
731
|
-
prefixTextWithValue:
|
|
949
|
+
label: n,
|
|
950
|
+
showLabel: t = !1,
|
|
951
|
+
helperText: r = "",
|
|
952
|
+
options: a,
|
|
953
|
+
value: i,
|
|
954
|
+
onChange: f,
|
|
955
|
+
disabled: d = !1,
|
|
956
|
+
required: l = !1,
|
|
957
|
+
margin: s = "dense",
|
|
958
|
+
size: g = "small",
|
|
959
|
+
fullWidth: x = !1,
|
|
960
|
+
minWidth: y = void 0,
|
|
961
|
+
prefixTextWithValue: C = !1
|
|
732
962
|
}) {
|
|
733
|
-
const
|
|
734
|
-
(
|
|
735
|
-
typeof
|
|
963
|
+
const S = F(
|
|
964
|
+
(m) => {
|
|
965
|
+
typeof m.target.value == "string" ? f("") : f(m.target.value);
|
|
736
966
|
},
|
|
737
|
-
[
|
|
738
|
-
),
|
|
739
|
-
(
|
|
740
|
-
[
|
|
741
|
-
),
|
|
742
|
-
(
|
|
743
|
-
const
|
|
744
|
-
/* @__PURE__ */
|
|
967
|
+
[f]
|
|
968
|
+
), I = F(
|
|
969
|
+
(m) => m.map((h) => /* @__PURE__ */ c(se, { "aria-label": `menu-item-${h.value}`, value: h.value, children: C ? `${h.value} - ${h.displayText}` : h.displayText }, h.value)),
|
|
970
|
+
[C]
|
|
971
|
+
), w = F(
|
|
972
|
+
(m, h) => {
|
|
973
|
+
const v = [
|
|
974
|
+
/* @__PURE__ */ c(Ve, { color: "primary", children: m }, m)
|
|
745
975
|
];
|
|
746
|
-
return
|
|
747
|
-
},
|
|
748
|
-
[R]
|
|
749
|
-
), y = S(
|
|
750
|
-
(p) => {
|
|
751
|
-
const i = [];
|
|
752
|
-
return p.forEach(($, N) => {
|
|
753
|
-
i.push(...I(N, $));
|
|
754
|
-
}), i;
|
|
976
|
+
return v.push(...I(h)), v;
|
|
755
977
|
},
|
|
756
978
|
[I]
|
|
757
|
-
),
|
|
758
|
-
(
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
979
|
+
), T = F(
|
|
980
|
+
(m) => {
|
|
981
|
+
const h = [];
|
|
982
|
+
return m.forEach((v, o) => {
|
|
983
|
+
h.push(...w(o, v));
|
|
984
|
+
}), h;
|
|
985
|
+
},
|
|
986
|
+
[w]
|
|
987
|
+
), N = F(
|
|
988
|
+
(m) => {
|
|
989
|
+
let h = "";
|
|
990
|
+
if (a instanceof Map)
|
|
991
|
+
a.forEach((v, o) => {
|
|
992
|
+
if (h === "") {
|
|
993
|
+
const M = v.find((E) => E.value === m);
|
|
994
|
+
M && (h = C ? `${M.value} - ${o} - ${M.displayText}` : `${o} - ${M.displayText}`);
|
|
765
995
|
}
|
|
766
996
|
});
|
|
767
997
|
else {
|
|
768
|
-
const
|
|
769
|
-
|
|
998
|
+
const v = a.find((o) => o.value === m);
|
|
999
|
+
v && (h = C ? `${v.value} - ${v.displayText}` : v.displayText);
|
|
770
1000
|
}
|
|
771
|
-
return
|
|
1001
|
+
return h === "" && (h = l ? `${n} *` : n), h;
|
|
772
1002
|
},
|
|
773
|
-
[
|
|
1003
|
+
[n, a, C, l]
|
|
774
1004
|
);
|
|
775
|
-
return /* @__PURE__ */
|
|
776
|
-
|
|
777
|
-
/* @__PURE__ */
|
|
778
|
-
|
|
1005
|
+
return /* @__PURE__ */ L(Me, { fullWidth: x, variant: "standard", sx: { minWidth: y }, margin: s, size: g, children: [
|
|
1006
|
+
t && /* @__PURE__ */ c(Je, { id: `${e}-label`, children: l ? `${n} *` : n }),
|
|
1007
|
+
/* @__PURE__ */ L(
|
|
1008
|
+
Qe,
|
|
779
1009
|
{
|
|
780
1010
|
labelId: `${e}-label`,
|
|
781
1011
|
"aria-label": e,
|
|
782
1012
|
id: e,
|
|
783
|
-
value:
|
|
784
|
-
renderValue:
|
|
785
|
-
onChange:
|
|
786
|
-
displayEmpty: !
|
|
787
|
-
disabled:
|
|
788
|
-
"aria-disabled":
|
|
1013
|
+
value: i,
|
|
1014
|
+
renderValue: N,
|
|
1015
|
+
onChange: S,
|
|
1016
|
+
displayEmpty: !t,
|
|
1017
|
+
disabled: d,
|
|
1018
|
+
"aria-disabled": d,
|
|
789
1019
|
children: [
|
|
790
|
-
|
|
791
|
-
|
|
1020
|
+
a instanceof Map && T(a),
|
|
1021
|
+
a instanceof Array && I(a)
|
|
792
1022
|
]
|
|
793
1023
|
}
|
|
794
1024
|
),
|
|
795
|
-
|
|
1025
|
+
r && /* @__PURE__ */ c(Ze, { children: r })
|
|
796
1026
|
] });
|
|
797
1027
|
}
|
|
798
|
-
const
|
|
1028
|
+
const ar = W(Q)(({ height: e, width: n }) => ({
|
|
799
1029
|
height: e,
|
|
800
|
-
width:
|
|
1030
|
+
width: n,
|
|
801
1031
|
padding: "4px",
|
|
802
1032
|
overflow: "auto"
|
|
803
1033
|
}));
|
|
804
|
-
function
|
|
805
|
-
return /* @__PURE__ */
|
|
1034
|
+
function jt({ label: e, variant: n = "h6" }) {
|
|
1035
|
+
return /* @__PURE__ */ c(an, { children: /* @__PURE__ */ c(Te, { sx: { flex: "1 1 100%" }, variant: n, id: "tableTitle", component: "div", children: e }) });
|
|
806
1036
|
}
|
|
807
|
-
function
|
|
1037
|
+
function lr({
|
|
808
1038
|
data: e,
|
|
809
|
-
dataKey:
|
|
810
|
-
selectedKey:
|
|
811
|
-
onClickRow:
|
|
812
|
-
columns:
|
|
813
|
-
label:
|
|
814
|
-
labelVariant:
|
|
815
|
-
maxHeight:
|
|
816
|
-
size:
|
|
817
|
-
stickyHeader:
|
|
818
|
-
hover:
|
|
1039
|
+
dataKey: n,
|
|
1040
|
+
selectedKey: t = void 0,
|
|
1041
|
+
onClickRow: r = void 0,
|
|
1042
|
+
columns: a,
|
|
1043
|
+
label: i = void 0,
|
|
1044
|
+
labelVariant: f = "h6",
|
|
1045
|
+
maxHeight: d = void 0,
|
|
1046
|
+
size: l = "medium",
|
|
1047
|
+
stickyHeader: s = !1,
|
|
1048
|
+
hover: g = !1
|
|
819
1049
|
}) {
|
|
820
|
-
const
|
|
821
|
-
(
|
|
822
|
-
|
|
1050
|
+
const x = F(
|
|
1051
|
+
(y) => {
|
|
1052
|
+
r && r(y);
|
|
823
1053
|
},
|
|
824
|
-
[
|
|
1054
|
+
[r]
|
|
825
1055
|
);
|
|
826
|
-
return /* @__PURE__ */
|
|
827
|
-
|
|
828
|
-
/* @__PURE__ */
|
|
829
|
-
/* @__PURE__ */
|
|
1056
|
+
return /* @__PURE__ */ L(Q, { children: [
|
|
1057
|
+
i && /* @__PURE__ */ c(jt, { label: i, variant: f }),
|
|
1058
|
+
/* @__PURE__ */ c(en, { children: /* @__PURE__ */ L(nn, { "aria-labelledby": "tableTitle", size: l, stickyHeader: s, sx: { maxHeight: d }, padding: "none", children: [
|
|
1059
|
+
/* @__PURE__ */ c(tn, { children: /* @__PURE__ */ c(ge, { children: a.map((y) => (
|
|
830
1060
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
831
|
-
/* @__PURE__ */
|
|
1061
|
+
/* @__PURE__ */ c(be, { ...y.headProps, children: y.headCell }, y.key)
|
|
832
1062
|
)) }) }),
|
|
833
|
-
/* @__PURE__ */
|
|
834
|
-
const
|
|
835
|
-
return /* @__PURE__ */
|
|
836
|
-
|
|
1063
|
+
/* @__PURE__ */ c(rn, { children: e.map((y) => {
|
|
1064
|
+
const C = n(y);
|
|
1065
|
+
return /* @__PURE__ */ c(ge, { hover: g, selected: C === t, onClick: () => x(y), children: a.map((S) => /* @__PURE__ */ c(
|
|
1066
|
+
be,
|
|
837
1067
|
{
|
|
838
|
-
...
|
|
839
|
-
children:
|
|
1068
|
+
...S.dataProps,
|
|
1069
|
+
children: S.dataCell(y)
|
|
840
1070
|
},
|
|
841
|
-
`${
|
|
842
|
-
)) },
|
|
1071
|
+
`${C}-${S.key}`
|
|
1072
|
+
)) }, C);
|
|
843
1073
|
}) })
|
|
844
1074
|
] }) })
|
|
845
1075
|
] });
|
|
846
1076
|
}
|
|
847
|
-
const
|
|
1077
|
+
const ir = W("div")(({ theme: e }) => ({
|
|
848
1078
|
borderBottom: "1px solid",
|
|
849
1079
|
borderColor: e.palette.divider
|
|
850
|
-
})),
|
|
851
|
-
[`& .${
|
|
1080
|
+
})), Pt = W(ln)(({ theme: e }) => ({
|
|
1081
|
+
[`& .${me.grouped}`]: {
|
|
852
1082
|
margin: e.spacing(0.5),
|
|
853
1083
|
padding: e.spacing(1.25),
|
|
854
1084
|
minWidth: 24,
|
|
855
1085
|
color: e.palette.action.active,
|
|
856
1086
|
border: 0,
|
|
857
1087
|
borderRadius: e.shape.borderRadius,
|
|
858
|
-
[`&.${
|
|
1088
|
+
[`&.${me.disabled}`]: {
|
|
859
1089
|
border: 0
|
|
860
1090
|
}
|
|
861
1091
|
}
|
|
@@ -863,225 +1093,225 @@ const Lt = U("div")(({ theme: e }) => ({
|
|
|
863
1093
|
// marginLeft: -1,
|
|
864
1094
|
// borderLeft: '1px solid transparent',
|
|
865
1095
|
// },
|
|
866
|
-
})),
|
|
867
|
-
[`& .${
|
|
1096
|
+
})), Wt = W(on)(({ theme: e }) => ({
|
|
1097
|
+
[`& .${Z.grouped}`]: {
|
|
868
1098
|
margin: e.spacing(0.5),
|
|
869
1099
|
padding: e.spacing(1.25),
|
|
870
1100
|
minWidth: 24,
|
|
871
1101
|
color: e.palette.action.active,
|
|
872
1102
|
border: 0,
|
|
873
1103
|
borderRadius: e.shape.borderRadius,
|
|
874
|
-
[`&.${
|
|
1104
|
+
[`&.${Z.disabled}`]: {
|
|
875
1105
|
border: 0
|
|
876
1106
|
}
|
|
877
1107
|
},
|
|
878
|
-
[`& .${
|
|
1108
|
+
[`& .${Z.middleButton},& .${Z.lastButton}`]: {
|
|
879
1109
|
marginLeft: -1,
|
|
880
1110
|
borderLeft: "1px solid transparent"
|
|
881
1111
|
}
|
|
882
1112
|
}));
|
|
883
|
-
function
|
|
1113
|
+
function Pe({
|
|
884
1114
|
onClick: e,
|
|
885
|
-
icon:
|
|
886
|
-
text:
|
|
887
|
-
size:
|
|
888
|
-
variant:
|
|
889
|
-
color:
|
|
890
|
-
tooltip:
|
|
891
|
-
ariaLabel:
|
|
892
|
-
children:
|
|
893
|
-
disabled:
|
|
1115
|
+
icon: n = void 0,
|
|
1116
|
+
text: t = void 0,
|
|
1117
|
+
size: r = "small",
|
|
1118
|
+
variant: a = void 0,
|
|
1119
|
+
color: i = "inherit",
|
|
1120
|
+
tooltip: f = void 0,
|
|
1121
|
+
ariaLabel: d = void 0,
|
|
1122
|
+
children: l = void 0,
|
|
1123
|
+
disabled: s = !1
|
|
894
1124
|
}) {
|
|
895
|
-
return
|
|
896
|
-
|
|
1125
|
+
return l ? /* @__PURE__ */ c(
|
|
1126
|
+
wt,
|
|
897
1127
|
{
|
|
898
|
-
size: typeof
|
|
899
|
-
variant:
|
|
900
|
-
color:
|
|
901
|
-
startIcon:
|
|
902
|
-
text:
|
|
903
|
-
disabled:
|
|
904
|
-
children:
|
|
1128
|
+
size: typeof r == "string" ? r : "small",
|
|
1129
|
+
variant: a,
|
|
1130
|
+
color: i,
|
|
1131
|
+
startIcon: n,
|
|
1132
|
+
text: t,
|
|
1133
|
+
disabled: s,
|
|
1134
|
+
children: l
|
|
905
1135
|
}
|
|
906
|
-
) :
|
|
907
|
-
|
|
1136
|
+
) : t ? /* @__PURE__ */ L(
|
|
1137
|
+
te,
|
|
908
1138
|
{
|
|
909
|
-
size: typeof
|
|
910
|
-
variant:
|
|
911
|
-
color:
|
|
912
|
-
"aria-label":
|
|
1139
|
+
size: typeof r == "string" ? r : "small",
|
|
1140
|
+
variant: a,
|
|
1141
|
+
color: i,
|
|
1142
|
+
"aria-label": d,
|
|
913
1143
|
onClick: e,
|
|
914
|
-
startIcon:
|
|
915
|
-
disabled:
|
|
1144
|
+
startIcon: n,
|
|
1145
|
+
disabled: s,
|
|
916
1146
|
children: [
|
|
917
|
-
|
|
918
|
-
!
|
|
1147
|
+
f && /* @__PURE__ */ c(ne, { placement: "bottom-start", title: f, children: /* @__PURE__ */ c("span", { children: t }) }),
|
|
1148
|
+
!f && t
|
|
919
1149
|
]
|
|
920
1150
|
}
|
|
921
|
-
) : /* @__PURE__ */
|
|
922
|
-
|
|
1151
|
+
) : /* @__PURE__ */ L(
|
|
1152
|
+
te,
|
|
923
1153
|
{
|
|
924
|
-
size: typeof
|
|
925
|
-
variant:
|
|
926
|
-
color:
|
|
927
|
-
"aria-label":
|
|
1154
|
+
size: typeof r == "string" ? r : "small",
|
|
1155
|
+
variant: a,
|
|
1156
|
+
color: i,
|
|
1157
|
+
"aria-label": d,
|
|
928
1158
|
onClick: e,
|
|
929
|
-
disabled:
|
|
1159
|
+
disabled: s,
|
|
930
1160
|
sx: {
|
|
931
|
-
height: typeof
|
|
932
|
-
width: typeof
|
|
1161
|
+
height: typeof r == "number" ? `${r}px` : void 0,
|
|
1162
|
+
width: typeof r == "number" ? `${r}px` : void 0
|
|
933
1163
|
},
|
|
934
1164
|
children: [
|
|
935
|
-
|
|
936
|
-
!
|
|
1165
|
+
f && /* @__PURE__ */ c(ne, { placement: "bottom-start", title: f, children: /* @__PURE__ */ c("span", { children: n }) }),
|
|
1166
|
+
!f && n
|
|
937
1167
|
]
|
|
938
1168
|
}
|
|
939
1169
|
);
|
|
940
1170
|
}
|
|
941
|
-
function
|
|
1171
|
+
function Dt({
|
|
942
1172
|
buttons: e,
|
|
943
|
-
size:
|
|
944
|
-
ariaLabel:
|
|
945
|
-
orientation:
|
|
1173
|
+
size: n = "small",
|
|
1174
|
+
ariaLabel: t = void 0,
|
|
1175
|
+
orientation: r = "horizontal"
|
|
946
1176
|
}) {
|
|
947
|
-
return /* @__PURE__ */
|
|
948
|
-
|
|
1177
|
+
return /* @__PURE__ */ c(Wt, { size: n, "aria-label": t, orientation: r, children: e.map((a, i) => /* @__PURE__ */ c(
|
|
1178
|
+
Pe,
|
|
949
1179
|
{
|
|
950
|
-
onClick:
|
|
951
|
-
icon:
|
|
952
|
-
text:
|
|
953
|
-
size:
|
|
954
|
-
variant:
|
|
955
|
-
color:
|
|
956
|
-
tooltip:
|
|
957
|
-
ariaLabel:
|
|
958
|
-
disabled:
|
|
959
|
-
children:
|
|
1180
|
+
onClick: a.onClick,
|
|
1181
|
+
icon: a.icon,
|
|
1182
|
+
text: a.text,
|
|
1183
|
+
size: a.size,
|
|
1184
|
+
variant: a.variant,
|
|
1185
|
+
color: a.color,
|
|
1186
|
+
tooltip: a.tooltip,
|
|
1187
|
+
ariaLabel: a.ariaLabel,
|
|
1188
|
+
disabled: a.disabled,
|
|
1189
|
+
children: a.children
|
|
960
1190
|
},
|
|
961
|
-
|
|
1191
|
+
i
|
|
962
1192
|
)) });
|
|
963
1193
|
}
|
|
964
|
-
function
|
|
1194
|
+
function Ut({
|
|
965
1195
|
value: e,
|
|
966
|
-
onChange:
|
|
967
|
-
size:
|
|
968
|
-
ariaLabel:
|
|
969
|
-
exclusive:
|
|
970
|
-
buttons:
|
|
971
|
-
orientation:
|
|
1196
|
+
onChange: n,
|
|
1197
|
+
size: t = "small",
|
|
1198
|
+
ariaLabel: r = void 0,
|
|
1199
|
+
exclusive: a = void 0,
|
|
1200
|
+
buttons: i,
|
|
1201
|
+
orientation: f = "horizontal"
|
|
972
1202
|
}) {
|
|
973
|
-
return /* @__PURE__ */
|
|
974
|
-
|
|
1203
|
+
return /* @__PURE__ */ c(
|
|
1204
|
+
Pt,
|
|
975
1205
|
{
|
|
976
|
-
size:
|
|
1206
|
+
size: t,
|
|
977
1207
|
value: e,
|
|
978
|
-
onChange: (
|
|
979
|
-
"aria-label":
|
|
980
|
-
exclusive:
|
|
981
|
-
orientation:
|
|
982
|
-
children:
|
|
983
|
-
|
|
1208
|
+
onChange: (d, l) => n(l),
|
|
1209
|
+
"aria-label": r,
|
|
1210
|
+
exclusive: a,
|
|
1211
|
+
orientation: f,
|
|
1212
|
+
children: i.map((d, l) => /* @__PURE__ */ L(
|
|
1213
|
+
sn,
|
|
984
1214
|
{
|
|
985
|
-
size: typeof
|
|
986
|
-
value:
|
|
987
|
-
"aria-label":
|
|
1215
|
+
size: typeof t == "string" ? t : "small",
|
|
1216
|
+
value: d.value,
|
|
1217
|
+
"aria-label": d.ariaLabel,
|
|
988
1218
|
sx: {
|
|
989
|
-
height: typeof
|
|
990
|
-
width: typeof
|
|
991
|
-
padding:
|
|
992
|
-
margin:
|
|
1219
|
+
height: typeof t == "number" ? `${t}px` : void 0,
|
|
1220
|
+
width: typeof t == "number" ? `${t}px` : void 0,
|
|
1221
|
+
padding: d.size === "small" || typeof t == "number" ? 1 : void 0,
|
|
1222
|
+
margin: d.size === "small" || typeof t == "number" ? 0 : void 0
|
|
993
1223
|
},
|
|
994
|
-
disabled:
|
|
1224
|
+
disabled: d.disabled,
|
|
995
1225
|
children: [
|
|
996
|
-
|
|
997
|
-
!
|
|
1226
|
+
d.tooltip && /* @__PURE__ */ c(ne, { placement: "bottom-start", title: d.tooltip, children: /* @__PURE__ */ c("span", { children: d.icon }) }),
|
|
1227
|
+
!d.tooltip && d.icon
|
|
998
1228
|
]
|
|
999
1229
|
},
|
|
1000
|
-
|
|
1230
|
+
l
|
|
1001
1231
|
))
|
|
1002
1232
|
}
|
|
1003
1233
|
);
|
|
1004
1234
|
}
|
|
1005
|
-
function
|
|
1235
|
+
function or({
|
|
1006
1236
|
items: e,
|
|
1007
|
-
height:
|
|
1008
|
-
width:
|
|
1009
|
-
justifyContent:
|
|
1010
|
-
borderSize:
|
|
1011
|
-
padding:
|
|
1012
|
-
backgroundColor:
|
|
1013
|
-
orientation:
|
|
1237
|
+
height: n = 34,
|
|
1238
|
+
width: t = 34,
|
|
1239
|
+
justifyContent: r = "left",
|
|
1240
|
+
borderSize: a = 1,
|
|
1241
|
+
padding: i = 1,
|
|
1242
|
+
backgroundColor: f = void 0,
|
|
1243
|
+
orientation: d = "horizontal"
|
|
1014
1244
|
}) {
|
|
1015
|
-
return /* @__PURE__ */
|
|
1016
|
-
|
|
1245
|
+
return /* @__PURE__ */ c(
|
|
1246
|
+
dn,
|
|
1017
1247
|
{
|
|
1018
1248
|
elevation: 0,
|
|
1019
1249
|
sx: {
|
|
1020
1250
|
display: "flex",
|
|
1021
1251
|
alignItems: "center",
|
|
1022
|
-
justifyContent:
|
|
1023
|
-
border: (
|
|
1252
|
+
justifyContent: r,
|
|
1253
|
+
border: (l) => `${a}px solid ${l.palette.divider}`,
|
|
1024
1254
|
flexWrap: "wrap",
|
|
1025
|
-
height:
|
|
1026
|
-
minHeight:
|
|
1027
|
-
width:
|
|
1028
|
-
minWidth:
|
|
1029
|
-
paddingLeft:
|
|
1030
|
-
paddingRight:
|
|
1031
|
-
paddingTop:
|
|
1032
|
-
paddingBottom:
|
|
1255
|
+
height: d === "horizontal" ? `${n}px` : "100%",
|
|
1256
|
+
minHeight: d === "horizontal" ? `${n}px` : void 0,
|
|
1257
|
+
width: d === "vertical" ? `${t}px` : "100%",
|
|
1258
|
+
minWidth: d === "vertical" ? `${t}px` : void 0,
|
|
1259
|
+
paddingLeft: d === "horizontal" ? i : 0,
|
|
1260
|
+
paddingRight: d === "horizontal" ? i : 0,
|
|
1261
|
+
paddingTop: d === "vertical" ? i : 0,
|
|
1262
|
+
paddingBottom: d === "vertical" ? i : 0,
|
|
1033
1263
|
borderRadius: "0px",
|
|
1034
|
-
backgroundColor:
|
|
1264
|
+
backgroundColor: f
|
|
1035
1265
|
},
|
|
1036
|
-
children: e.map((
|
|
1266
|
+
children: e.map((l, s) => l.label ? (
|
|
1037
1267
|
// eslint-disable-next-line react/no-array-index-key
|
|
1038
|
-
/* @__PURE__ */
|
|
1039
|
-
) :
|
|
1040
|
-
|
|
1268
|
+
/* @__PURE__ */ c(Te, { variant: l.label.variant, component: "div", children: l.label.text }, s)
|
|
1269
|
+
) : l.toggleButtonGroup ? /* @__PURE__ */ c(
|
|
1270
|
+
Ut,
|
|
1041
1271
|
{
|
|
1042
|
-
value:
|
|
1043
|
-
onChange:
|
|
1044
|
-
ariaLabel:
|
|
1045
|
-
exclusive:
|
|
1046
|
-
buttons:
|
|
1047
|
-
orientation:
|
|
1272
|
+
value: l.toggleButtonGroup.value,
|
|
1273
|
+
onChange: l.toggleButtonGroup.onChange,
|
|
1274
|
+
ariaLabel: l.toggleButtonGroup.ariaLabel,
|
|
1275
|
+
exclusive: l.toggleButtonGroup.exclusive,
|
|
1276
|
+
buttons: l.toggleButtonGroup.buttons,
|
|
1277
|
+
orientation: d
|
|
1048
1278
|
},
|
|
1049
|
-
|
|
1050
|
-
) :
|
|
1051
|
-
|
|
1279
|
+
s
|
|
1280
|
+
) : l.button ? /* @__PURE__ */ c(
|
|
1281
|
+
Pe,
|
|
1052
1282
|
{
|
|
1053
|
-
onClick:
|
|
1054
|
-
icon:
|
|
1055
|
-
text:
|
|
1056
|
-
variant:
|
|
1057
|
-
color:
|
|
1058
|
-
tooltip:
|
|
1059
|
-
ariaLabel:
|
|
1060
|
-
disabled:
|
|
1283
|
+
onClick: l.button.onClick,
|
|
1284
|
+
icon: l.button.icon,
|
|
1285
|
+
text: l.button.text,
|
|
1286
|
+
variant: l.button.variant,
|
|
1287
|
+
color: l.button.color,
|
|
1288
|
+
tooltip: l.button.tooltip,
|
|
1289
|
+
ariaLabel: l.button.ariaLabel,
|
|
1290
|
+
disabled: l.button.disabled
|
|
1061
1291
|
},
|
|
1062
|
-
|
|
1063
|
-
) :
|
|
1292
|
+
s
|
|
1293
|
+
) : l.buttonGroup ? (
|
|
1064
1294
|
// eslint-disable-next-line react/no-array-index-key
|
|
1065
|
-
/* @__PURE__ */
|
|
1066
|
-
|
|
1295
|
+
/* @__PURE__ */ c(
|
|
1296
|
+
Dt,
|
|
1067
1297
|
{
|
|
1068
|
-
ariaLabel:
|
|
1069
|
-
buttons:
|
|
1070
|
-
orientation:
|
|
1298
|
+
ariaLabel: l.buttonGroup.ariaLabel,
|
|
1299
|
+
buttons: l.buttonGroup.buttons,
|
|
1300
|
+
orientation: d
|
|
1071
1301
|
},
|
|
1072
|
-
|
|
1302
|
+
s
|
|
1073
1303
|
)
|
|
1074
|
-
) :
|
|
1304
|
+
) : l.other)
|
|
1075
1305
|
}
|
|
1076
1306
|
);
|
|
1077
1307
|
}
|
|
1078
|
-
function
|
|
1079
|
-
const [
|
|
1080
|
-
(
|
|
1081
|
-
e.length !== 0 && (
|
|
1082
|
-
|
|
1083
|
-
mouseX:
|
|
1084
|
-
mouseY:
|
|
1308
|
+
function dr({ options: e, onSelect: n, children: t = void 0 }) {
|
|
1309
|
+
const [r, a] = oe.useState(null), i = F(
|
|
1310
|
+
(l) => {
|
|
1311
|
+
e.length !== 0 && (l.preventDefault(), a(
|
|
1312
|
+
r === null ? {
|
|
1313
|
+
mouseX: l.clientX + 2,
|
|
1314
|
+
mouseY: l.clientY - 6
|
|
1085
1315
|
} : (
|
|
1086
1316
|
// repeated contextmenu when it is already open closes it with Chrome 84 on Ubuntu
|
|
1087
1317
|
// Other native context menus might behave different.
|
|
@@ -1090,433 +1320,440 @@ function Bt({ options: e, onSelect: t, children: r = void 0 }) {
|
|
|
1090
1320
|
)
|
|
1091
1321
|
));
|
|
1092
1322
|
},
|
|
1093
|
-
[
|
|
1094
|
-
),
|
|
1095
|
-
|
|
1096
|
-
}, []),
|
|
1097
|
-
(
|
|
1098
|
-
|
|
1323
|
+
[r, e.length]
|
|
1324
|
+
), f = F(() => {
|
|
1325
|
+
a(null);
|
|
1326
|
+
}, []), d = F(
|
|
1327
|
+
(l) => {
|
|
1328
|
+
n(l), f();
|
|
1099
1329
|
},
|
|
1100
|
-
[
|
|
1330
|
+
[f, n]
|
|
1101
1331
|
);
|
|
1102
|
-
return /* @__PURE__ */
|
|
1103
|
-
|
|
1104
|
-
/* @__PURE__ */
|
|
1105
|
-
|
|
1332
|
+
return /* @__PURE__ */ L("div", { onContextMenu: i, style: { cursor: "context-menu" }, children: [
|
|
1333
|
+
t,
|
|
1334
|
+
/* @__PURE__ */ c(
|
|
1335
|
+
un,
|
|
1106
1336
|
{
|
|
1107
|
-
open:
|
|
1108
|
-
onClose:
|
|
1337
|
+
open: r !== null,
|
|
1338
|
+
onClose: f,
|
|
1109
1339
|
anchorReference: "anchorPosition",
|
|
1110
|
-
anchorPosition:
|
|
1111
|
-
children: e.map((
|
|
1112
|
-
|
|
1113
|
-
/* @__PURE__ */
|
|
1114
|
-
|
|
1115
|
-
] },
|
|
1340
|
+
anchorPosition: r !== null ? { top: r.mouseY, left: r.mouseX } : void 0,
|
|
1341
|
+
children: e.map((l) => /* @__PURE__ */ L(se, { onClick: () => d(l.value), children: [
|
|
1342
|
+
l.icon && /* @__PURE__ */ c(cn, { children: l.icon }),
|
|
1343
|
+
/* @__PURE__ */ c(pe, { children: l.displayText }),
|
|
1344
|
+
l.shortcut && /* @__PURE__ */ c(pe, { sx: { pl: 2, textAlign: "right" }, children: l.shortcut })
|
|
1345
|
+
] }, l.value))
|
|
1116
1346
|
}
|
|
1117
1347
|
)
|
|
1118
1348
|
] });
|
|
1119
1349
|
}
|
|
1120
|
-
function
|
|
1350
|
+
function zt({
|
|
1121
1351
|
canIdentifier: e,
|
|
1122
|
-
canIdentifierType:
|
|
1123
|
-
onCanIdentifierChange:
|
|
1124
|
-
onErrorsChange:
|
|
1125
|
-
hideSection:
|
|
1126
|
-
disabled:
|
|
1127
|
-
collapsible:
|
|
1128
|
-
collapsed:
|
|
1129
|
-
collapsedChange:
|
|
1352
|
+
canIdentifierType: n,
|
|
1353
|
+
onCanIdentifierChange: t,
|
|
1354
|
+
onErrorsChange: r = void 0,
|
|
1355
|
+
hideSection: a = !1,
|
|
1356
|
+
disabled: i = !1,
|
|
1357
|
+
collapsible: f = !1,
|
|
1358
|
+
collapsed: d = !1,
|
|
1359
|
+
collapsedChange: l = void 0
|
|
1130
1360
|
}) {
|
|
1131
|
-
const
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
}, [
|
|
1135
|
-
const [
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
}, [
|
|
1139
|
-
const
|
|
1140
|
-
|
|
1141
|
-
}, []),
|
|
1142
|
-
(
|
|
1143
|
-
let
|
|
1144
|
-
if (
|
|
1145
|
-
const
|
|
1146
|
-
if (Number.isNaN(
|
|
1147
|
-
return
|
|
1148
|
-
|
|
1149
|
-
} else if (
|
|
1150
|
-
const
|
|
1151
|
-
if (Number.isNaN(
|
|
1152
|
-
return
|
|
1153
|
-
|
|
1361
|
+
const s = H(), g = re(), [x, y] = A(!1);
|
|
1362
|
+
k(() => {
|
|
1363
|
+
r && r(x);
|
|
1364
|
+
}, [x, r]);
|
|
1365
|
+
const [C, S] = A(n);
|
|
1366
|
+
k(() => {
|
|
1367
|
+
S(n);
|
|
1368
|
+
}, [n]);
|
|
1369
|
+
const I = F((m) => {
|
|
1370
|
+
S(m ? "extended" : "standard");
|
|
1371
|
+
}, []), w = F(
|
|
1372
|
+
(m) => {
|
|
1373
|
+
let h = m, v = !1;
|
|
1374
|
+
if (h.length > 2 && h.toLowerCase().startsWith("0x") && (h = h.substring(2), v = !0), h = h.toUpperCase(), C === "extended") {
|
|
1375
|
+
const o = parseInt(h, v ? 16 : g);
|
|
1376
|
+
if (Number.isNaN(o) || o < 0 || o > 536870911)
|
|
1377
|
+
return t(m, C), { val: m, err: !0 };
|
|
1378
|
+
h = `${o.toString(g).toUpperCase()}`;
|
|
1379
|
+
} else if (C === "standard") {
|
|
1380
|
+
const o = parseInt(h, v ? 16 : g);
|
|
1381
|
+
if (Number.isNaN(o) || o < 0 || o > 2047)
|
|
1382
|
+
return t(m, C), { val: m, err: !0 };
|
|
1383
|
+
h = `${o.toString(g).toUpperCase()}`;
|
|
1154
1384
|
}
|
|
1155
|
-
return
|
|
1385
|
+
return t(h, C), { val: m, err: !1 };
|
|
1156
1386
|
},
|
|
1157
|
-
[
|
|
1158
|
-
),
|
|
1159
|
-
(
|
|
1160
|
-
if (
|
|
1161
|
-
let
|
|
1162
|
-
if (
|
|
1163
|
-
const
|
|
1164
|
-
(Number.isNaN(
|
|
1165
|
-
} else if (
|
|
1166
|
-
const
|
|
1167
|
-
(Number.isNaN(
|
|
1387
|
+
[C, g, t]
|
|
1388
|
+
), T = F(
|
|
1389
|
+
(m) => {
|
|
1390
|
+
if (m !== C) {
|
|
1391
|
+
let h = !1, v = e;
|
|
1392
|
+
if (m === "standard") {
|
|
1393
|
+
const o = parseInt(v, g);
|
|
1394
|
+
(Number.isNaN(o) || o < 0 || o > 2047) && (h = !0);
|
|
1395
|
+
} else if (m === "extended") {
|
|
1396
|
+
const o = parseInt(v, g);
|
|
1397
|
+
(Number.isNaN(o) || o < 0 || o > 536870911) && (h = !0);
|
|
1168
1398
|
}
|
|
1169
|
-
|
|
1399
|
+
t(v, m), y(h);
|
|
1170
1400
|
}
|
|
1171
1401
|
},
|
|
1172
|
-
[
|
|
1173
|
-
),
|
|
1174
|
-
() => /* @__PURE__ */
|
|
1175
|
-
/* @__PURE__ */
|
|
1176
|
-
|
|
1402
|
+
[C, e, t, g]
|
|
1403
|
+
), N = j(
|
|
1404
|
+
() => /* @__PURE__ */ L(de, { spacing: 4, children: [
|
|
1405
|
+
/* @__PURE__ */ c(
|
|
1406
|
+
G,
|
|
1177
1407
|
{
|
|
1178
1408
|
id: "constant-id",
|
|
1179
1409
|
fullWidth: !0,
|
|
1180
1410
|
value: e,
|
|
1181
|
-
onBlur:
|
|
1182
|
-
error:
|
|
1183
|
-
onErrorChange:
|
|
1184
|
-
disabled:
|
|
1411
|
+
onBlur: w,
|
|
1412
|
+
error: x,
|
|
1413
|
+
onErrorChange: y,
|
|
1414
|
+
disabled: i
|
|
1185
1415
|
}
|
|
1186
1416
|
),
|
|
1187
|
-
/* @__PURE__ */
|
|
1188
|
-
|
|
1417
|
+
/* @__PURE__ */ c(
|
|
1418
|
+
Ae,
|
|
1189
1419
|
{
|
|
1190
1420
|
id: "id-type",
|
|
1191
|
-
label:
|
|
1192
|
-
checked:
|
|
1193
|
-
onChange: (
|
|
1194
|
-
|
|
1421
|
+
label: s.getString("LabelUseExtendedIdentifier"),
|
|
1422
|
+
checked: C === "extended",
|
|
1423
|
+
onChange: (m) => {
|
|
1424
|
+
I(m), T(m ? "extended" : "standard");
|
|
1195
1425
|
},
|
|
1196
|
-
disabled:
|
|
1426
|
+
disabled: i
|
|
1197
1427
|
}
|
|
1198
1428
|
)
|
|
1199
1429
|
] }),
|
|
1200
1430
|
[
|
|
1201
1431
|
e,
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1432
|
+
C,
|
|
1433
|
+
i,
|
|
1434
|
+
x,
|
|
1435
|
+
s,
|
|
1436
|
+
T,
|
|
1437
|
+
w
|
|
1208
1438
|
]
|
|
1209
1439
|
);
|
|
1210
|
-
return
|
|
1211
|
-
|
|
1440
|
+
return a ? N : /* @__PURE__ */ c(
|
|
1441
|
+
fe,
|
|
1212
1442
|
{
|
|
1213
|
-
text:
|
|
1443
|
+
text: s.getString("LabelCanIdentifier"),
|
|
1214
1444
|
summary: e,
|
|
1215
|
-
collapsible:
|
|
1216
|
-
collapsed:
|
|
1217
|
-
collapsedChange:
|
|
1218
|
-
children:
|
|
1445
|
+
collapsible: f,
|
|
1446
|
+
collapsed: d,
|
|
1447
|
+
collapsedChange: l,
|
|
1448
|
+
children: N
|
|
1219
1449
|
}
|
|
1220
1450
|
);
|
|
1221
1451
|
}
|
|
1222
|
-
function
|
|
1452
|
+
function sr({
|
|
1223
1453
|
frame: e,
|
|
1224
|
-
onFrameChange:
|
|
1225
|
-
onErrorsChange:
|
|
1454
|
+
onFrameChange: n,
|
|
1455
|
+
onErrorsChange: t = void 0,
|
|
1456
|
+
hideSection: r = !1,
|
|
1226
1457
|
collapsible: a = !1,
|
|
1227
|
-
collapsed:
|
|
1228
|
-
collapsedChange:
|
|
1458
|
+
collapsed: i = !1,
|
|
1459
|
+
collapsedChange: f = void 0
|
|
1229
1460
|
}) {
|
|
1230
|
-
var
|
|
1231
|
-
const
|
|
1461
|
+
var x;
|
|
1462
|
+
const d = re(), l = j(
|
|
1232
1463
|
() => {
|
|
1233
|
-
var
|
|
1234
|
-
return ((
|
|
1464
|
+
var y, C;
|
|
1465
|
+
return ((C = (y = e.canFrameFlags) == null ? void 0 : y.flags) == null ? void 0 : C.includes(U.CAN_FRAME_FLAG_EXT)) === !0 ? "extended" : "standard";
|
|
1235
1466
|
},
|
|
1236
|
-
[(
|
|
1237
|
-
),
|
|
1238
|
-
(
|
|
1239
|
-
var
|
|
1240
|
-
let
|
|
1241
|
-
|
|
1242
|
-
const
|
|
1243
|
-
|
|
1244
|
-
const
|
|
1245
|
-
if (
|
|
1246
|
-
const
|
|
1247
|
-
|
|
1467
|
+
[(x = e.canFrameFlags) == null ? void 0 : x.flags]
|
|
1468
|
+
), s = j(() => `${(e.id ?? 0).toString(d).toUpperCase()}`, [l, e.id, d]), g = F(
|
|
1469
|
+
(y, C) => {
|
|
1470
|
+
var N;
|
|
1471
|
+
let S = e.id ?? 0;
|
|
1472
|
+
S = parseInt(y, d);
|
|
1473
|
+
const I = (N = e.canFrameFlags) != null && N.flags ? { flags: [...e.canFrameFlags.flags] } : { flags: [] }, w = I.flags.indexOf(U.CAN_FRAME_FLAG_STD);
|
|
1474
|
+
w !== -1 && I.flags.splice(w, 1);
|
|
1475
|
+
const T = I.flags.indexOf(U.CAN_FRAME_FLAG_EXT);
|
|
1476
|
+
if (T !== -1 && I.flags.splice(T, 1), C === "extended" ? I.flags.push(U.CAN_FRAME_FLAG_EXT) : C === "standard" && I.flags.push(U.CAN_FRAME_FLAG_STD), S !== e.id || !ue(I, e.canFrameFlags)) {
|
|
1477
|
+
const m = { ...e };
|
|
1478
|
+
m.id = S, m.canFrameFlags = I, n(m);
|
|
1248
1479
|
}
|
|
1249
1480
|
},
|
|
1250
|
-
[e,
|
|
1481
|
+
[e, d, n]
|
|
1251
1482
|
);
|
|
1252
|
-
return /* @__PURE__ */
|
|
1253
|
-
|
|
1483
|
+
return /* @__PURE__ */ c(
|
|
1484
|
+
zt,
|
|
1254
1485
|
{
|
|
1255
|
-
canIdentifier:
|
|
1256
|
-
canIdentifierType:
|
|
1257
|
-
onCanIdentifierChange:
|
|
1258
|
-
onErrorsChange:
|
|
1486
|
+
canIdentifier: s,
|
|
1487
|
+
canIdentifierType: l,
|
|
1488
|
+
onCanIdentifierChange: g,
|
|
1489
|
+
onErrorsChange: t,
|
|
1490
|
+
hideSection: r,
|
|
1259
1491
|
collapsible: a,
|
|
1260
|
-
collapsed:
|
|
1261
|
-
collapsedChange:
|
|
1492
|
+
collapsed: i,
|
|
1493
|
+
collapsedChange: f
|
|
1262
1494
|
}
|
|
1263
1495
|
);
|
|
1264
1496
|
}
|
|
1265
|
-
function
|
|
1497
|
+
function Kt({
|
|
1266
1498
|
canIdentifier: e,
|
|
1267
|
-
identifierGeneratorType:
|
|
1268
|
-
minCanIdentifier:
|
|
1269
|
-
maxCanIdentifier:
|
|
1270
|
-
canIdentifierType:
|
|
1271
|
-
onChange:
|
|
1272
|
-
onErrorsChange:
|
|
1273
|
-
canIdentifierGeneratorSettingsError:
|
|
1274
|
-
disabled:
|
|
1275
|
-
collapsible:
|
|
1276
|
-
collapsed:
|
|
1277
|
-
collapsedChange:
|
|
1499
|
+
identifierGeneratorType: n,
|
|
1500
|
+
minCanIdentifier: t,
|
|
1501
|
+
maxCanIdentifier: r,
|
|
1502
|
+
canIdentifierType: a,
|
|
1503
|
+
onChange: i,
|
|
1504
|
+
onErrorsChange: f = void 0,
|
|
1505
|
+
canIdentifierGeneratorSettingsError: d = void 0,
|
|
1506
|
+
disabled: l = !1,
|
|
1507
|
+
collapsible: s = !1,
|
|
1508
|
+
collapsed: g = !1,
|
|
1509
|
+
collapsedChange: x = void 0,
|
|
1510
|
+
showSelectMessageDialogChange: y,
|
|
1511
|
+
showSignalValuesTable: C
|
|
1278
1512
|
}) {
|
|
1279
|
-
const
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
}, [
|
|
1283
|
-
const
|
|
1284
|
-
|
|
1285
|
-
}, []),
|
|
1286
|
-
(
|
|
1287
|
-
let
|
|
1288
|
-
if (
|
|
1289
|
-
const
|
|
1290
|
-
if (Number.isNaN(
|
|
1291
|
-
return
|
|
1292
|
-
|
|
1293
|
-
} else if (
|
|
1294
|
-
const
|
|
1295
|
-
if (Number.isNaN(
|
|
1296
|
-
return
|
|
1297
|
-
|
|
1513
|
+
const S = H(), I = re(), [w, T] = A(!1), [N, m] = A(!1), [h, v] = A(!1), [o, M] = A(a);
|
|
1514
|
+
k(() => {
|
|
1515
|
+
M(a);
|
|
1516
|
+
}, [a]);
|
|
1517
|
+
const E = F((p) => {
|
|
1518
|
+
M(p ? "extended" : "standard");
|
|
1519
|
+
}, []), P = F(
|
|
1520
|
+
(p) => {
|
|
1521
|
+
let u = p, $ = !1;
|
|
1522
|
+
if (u.length > 2 && u.toLowerCase().startsWith("0x") && (u = u.substring(2), $ = !0), u = u.toUpperCase(), o === "extended") {
|
|
1523
|
+
const b = parseInt(u, $ ? 16 : I);
|
|
1524
|
+
if (Number.isNaN(b) || b < 0 || b > 536870911)
|
|
1525
|
+
return i(p, n, t, r, o), { val: p, err: !0 };
|
|
1526
|
+
u = `${b.toString(I).toUpperCase()}`;
|
|
1527
|
+
} else if (o === "standard") {
|
|
1528
|
+
const b = parseInt(u, $ ? 16 : I);
|
|
1529
|
+
if (Number.isNaN(b) || b < 0 || b > 2047)
|
|
1530
|
+
return i(p, n, t, r, o), { val: p, err: !0 };
|
|
1531
|
+
u = `${b.toString(I).toUpperCase()}`;
|
|
1298
1532
|
}
|
|
1299
|
-
return
|
|
1533
|
+
return i(u, n, t, r, o), { val: p, err: !1 };
|
|
1300
1534
|
},
|
|
1301
|
-
[
|
|
1302
|
-
),
|
|
1303
|
-
(
|
|
1304
|
-
let
|
|
1305
|
-
if (
|
|
1306
|
-
if (
|
|
1307
|
-
return
|
|
1308
|
-
|
|
1309
|
-
} else if (
|
|
1310
|
-
if (
|
|
1311
|
-
return
|
|
1312
|
-
|
|
1535
|
+
[o, n, r, t, I, i]
|
|
1536
|
+
), _ = F(
|
|
1537
|
+
(p, u, $) => {
|
|
1538
|
+
let b = p, O = -1, ae = !1;
|
|
1539
|
+
if (b.length > 2 && b.toLowerCase().startsWith("0x") && (b = b.substring(2), ae = !0), b = b.toUpperCase(), u === "extended") {
|
|
1540
|
+
if (O = parseInt(b, ae ? 16 : I), Number.isNaN(O) || O < 0 || O > 536870911)
|
|
1541
|
+
return $(p), { val: p, err: !0, id: O };
|
|
1542
|
+
b = `${O.toString(I).toUpperCase()}`;
|
|
1543
|
+
} else if (u === "standard") {
|
|
1544
|
+
if (O = parseInt(b, ae ? 16 : I), Number.isNaN(O) || O < 0 || O > 2047)
|
|
1545
|
+
return $(p), { val: p, err: !0, id: O };
|
|
1546
|
+
b = `${O.toString(I).toUpperCase()}`;
|
|
1313
1547
|
}
|
|
1314
|
-
return
|
|
1548
|
+
return $(b), { val: b, err: !1, id: O };
|
|
1315
1549
|
},
|
|
1316
|
-
[
|
|
1317
|
-
),
|
|
1318
|
-
(
|
|
1319
|
-
const
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
(
|
|
1323
|
-
),
|
|
1324
|
-
|
|
1325
|
-
|
|
1550
|
+
[I]
|
|
1551
|
+
), B = F(
|
|
1552
|
+
(p) => {
|
|
1553
|
+
const u = _(
|
|
1554
|
+
p,
|
|
1555
|
+
o,
|
|
1556
|
+
(b) => i(e, n, b, r, o)
|
|
1557
|
+
), $ = _(
|
|
1558
|
+
r,
|
|
1559
|
+
o,
|
|
1326
1560
|
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
1327
1561
|
() => {
|
|
1328
1562
|
}
|
|
1329
1563
|
);
|
|
1330
|
-
return !
|
|
1564
|
+
return !u.err && !$.err && (u.id >= $.id ? (u.err = !0, m(!0)) : m(!1)), { val: u.val, err: u.err };
|
|
1331
1565
|
},
|
|
1332
1566
|
[
|
|
1333
1567
|
e,
|
|
1568
|
+
o,
|
|
1569
|
+
n,
|
|
1570
|
+
r,
|
|
1334
1571
|
i,
|
|
1335
|
-
|
|
1336
|
-
a,
|
|
1337
|
-
l,
|
|
1338
|
-
E
|
|
1572
|
+
_
|
|
1339
1573
|
]
|
|
1340
|
-
),
|
|
1341
|
-
(
|
|
1342
|
-
const
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
(
|
|
1346
|
-
),
|
|
1347
|
-
|
|
1348
|
-
|
|
1574
|
+
), z = F(
|
|
1575
|
+
(p) => {
|
|
1576
|
+
const u = _(
|
|
1577
|
+
p,
|
|
1578
|
+
o,
|
|
1579
|
+
(b) => i(e, n, t, b, o)
|
|
1580
|
+
), $ = _(
|
|
1581
|
+
t,
|
|
1582
|
+
o,
|
|
1349
1583
|
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
1350
1584
|
() => {
|
|
1351
1585
|
}
|
|
1352
1586
|
);
|
|
1353
|
-
return
|
|
1587
|
+
return !$.err && !u.err && ($.id >= u.id ? (u.err = !0, v(!0)) : v(!1)), { val: u.val, err: u.err };
|
|
1354
1588
|
},
|
|
1355
1589
|
[
|
|
1356
1590
|
e,
|
|
1357
|
-
|
|
1591
|
+
o,
|
|
1592
|
+
n,
|
|
1358
1593
|
t,
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
E
|
|
1594
|
+
i,
|
|
1595
|
+
_
|
|
1362
1596
|
]
|
|
1363
|
-
), K =
|
|
1364
|
-
(
|
|
1365
|
-
if (
|
|
1366
|
-
let
|
|
1367
|
-
const
|
|
1368
|
-
}),
|
|
1597
|
+
), K = F(
|
|
1598
|
+
(p) => {
|
|
1599
|
+
if (p !== o) {
|
|
1600
|
+
let u = e;
|
|
1601
|
+
const $ = _(t, p, () => {
|
|
1602
|
+
}), b = _(r, p, () => {
|
|
1369
1603
|
});
|
|
1370
|
-
|
|
1604
|
+
i(u, n, $.val, b.val, p);
|
|
1371
1605
|
}
|
|
1372
1606
|
},
|
|
1373
1607
|
[
|
|
1374
|
-
|
|
1608
|
+
o,
|
|
1375
1609
|
e,
|
|
1376
|
-
|
|
1377
|
-
r,
|
|
1378
|
-
a,
|
|
1379
|
-
l,
|
|
1610
|
+
_,
|
|
1380
1611
|
t,
|
|
1381
|
-
|
|
1612
|
+
r,
|
|
1613
|
+
i,
|
|
1614
|
+
n,
|
|
1615
|
+
I
|
|
1382
1616
|
]
|
|
1383
|
-
),
|
|
1384
|
-
(
|
|
1385
|
-
let
|
|
1386
|
-
const
|
|
1387
|
-
}),
|
|
1617
|
+
), X = F(
|
|
1618
|
+
(p) => {
|
|
1619
|
+
let u = e;
|
|
1620
|
+
const $ = _(t, o, () => {
|
|
1621
|
+
}), b = _(r, o, () => {
|
|
1388
1622
|
});
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1623
|
+
C(p === "constant"), i(
|
|
1624
|
+
u,
|
|
1625
|
+
p,
|
|
1626
|
+
$.val,
|
|
1627
|
+
b.val,
|
|
1628
|
+
o
|
|
1395
1629
|
);
|
|
1396
1630
|
},
|
|
1397
1631
|
[
|
|
1398
|
-
|
|
1632
|
+
o,
|
|
1399
1633
|
e,
|
|
1400
|
-
|
|
1401
|
-
r,
|
|
1402
|
-
a,
|
|
1403
|
-
l,
|
|
1634
|
+
_,
|
|
1404
1635
|
t,
|
|
1405
|
-
|
|
1636
|
+
r,
|
|
1637
|
+
i,
|
|
1638
|
+
n,
|
|
1639
|
+
I
|
|
1406
1640
|
]
|
|
1407
1641
|
);
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
),
|
|
1642
|
+
k(() => {
|
|
1643
|
+
f && f(
|
|
1644
|
+
n === "constant" && w || (n === "random" || n === "scan") && (N || h)
|
|
1645
|
+
), d && (d.current = n === "constant" && w || (n === "random" || n === "scan") && (N || h));
|
|
1412
1646
|
}, [
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
])
|
|
1420
|
-
|
|
1647
|
+
w,
|
|
1648
|
+
d,
|
|
1649
|
+
n,
|
|
1650
|
+
h,
|
|
1651
|
+
N,
|
|
1652
|
+
f
|
|
1653
|
+
]);
|
|
1654
|
+
const D = It(), R = $t(D);
|
|
1655
|
+
return /* @__PURE__ */ c(
|
|
1656
|
+
fe,
|
|
1421
1657
|
{
|
|
1422
|
-
text:
|
|
1423
|
-
summary:
|
|
1424
|
-
collapsible:
|
|
1425
|
-
collapsed:
|
|
1426
|
-
collapsedChange:
|
|
1427
|
-
children: /* @__PURE__ */
|
|
1428
|
-
|
|
1658
|
+
text: S.getString("LabelCanIdentifier"),
|
|
1659
|
+
summary: n === "constant" ? e : n === "random" ? `${S.getString("LabelRandom")} ${t}-${r}` : `${S.getString("LabelScan")} ${t}-${r}`,
|
|
1660
|
+
collapsible: s,
|
|
1661
|
+
collapsed: g,
|
|
1662
|
+
collapsedChange: x,
|
|
1663
|
+
children: /* @__PURE__ */ L(
|
|
1664
|
+
Et,
|
|
1429
1665
|
{
|
|
1430
1666
|
id: "identifier-radio-group",
|
|
1431
|
-
value:
|
|
1432
|
-
onChange: (
|
|
1433
|
-
|
|
1667
|
+
value: n,
|
|
1668
|
+
onChange: (p) => {
|
|
1669
|
+
X(p);
|
|
1434
1670
|
},
|
|
1435
1671
|
children: [
|
|
1436
|
-
/* @__PURE__ */
|
|
1437
|
-
/* @__PURE__ */
|
|
1438
|
-
|
|
1672
|
+
/* @__PURE__ */ L(de, { spacing: 4, children: [
|
|
1673
|
+
/* @__PURE__ */ c(
|
|
1674
|
+
ie,
|
|
1439
1675
|
{
|
|
1440
1676
|
id: "constant-id-radio",
|
|
1441
1677
|
value: "constant",
|
|
1442
|
-
label:
|
|
1678
|
+
label: S.getString("LabelConstantIdentifier"),
|
|
1443
1679
|
sx: { marginLeft: "-11px !important" },
|
|
1444
|
-
disabled:
|
|
1680
|
+
disabled: l
|
|
1445
1681
|
}
|
|
1446
1682
|
),
|
|
1447
|
-
/* @__PURE__ */
|
|
1448
|
-
|
|
1683
|
+
/* @__PURE__ */ c(
|
|
1684
|
+
G,
|
|
1449
1685
|
{
|
|
1450
1686
|
id: "constant-id",
|
|
1451
1687
|
fullWidth: !0,
|
|
1452
1688
|
value: e,
|
|
1453
|
-
error:
|
|
1454
|
-
onErrorChange:
|
|
1455
|
-
disabled:
|
|
1456
|
-
required:
|
|
1457
|
-
onBlur:
|
|
1689
|
+
error: w,
|
|
1690
|
+
onErrorChange: T,
|
|
1691
|
+
disabled: l || n !== "constant",
|
|
1692
|
+
required: n === "constant",
|
|
1693
|
+
onBlur: P
|
|
1458
1694
|
}
|
|
1459
1695
|
),
|
|
1460
|
-
/* @__PURE__ */
|
|
1461
|
-
|
|
1696
|
+
/* @__PURE__ */ c(
|
|
1697
|
+
Ae,
|
|
1462
1698
|
{
|
|
1463
1699
|
id: "id-type",
|
|
1464
|
-
label:
|
|
1465
|
-
checked:
|
|
1466
|
-
onChange: (
|
|
1467
|
-
|
|
1700
|
+
label: S.getString("LabelUseExtendedIdentifier"),
|
|
1701
|
+
checked: o === "extended",
|
|
1702
|
+
onChange: (p) => {
|
|
1703
|
+
E(p), K(p ? "extended" : "standard");
|
|
1468
1704
|
},
|
|
1469
|
-
disabled:
|
|
1705
|
+
disabled: l
|
|
1470
1706
|
}
|
|
1471
|
-
)
|
|
1707
|
+
),
|
|
1708
|
+
/* @__PURE__ */ c(Ft, { columnItem: D, width: R, children: /* @__PURE__ */ c(te, { onClick: () => y(!0), variant: "outlined", size: "large", children: S.getString("ButtonSelectMessage") }) })
|
|
1472
1709
|
] }),
|
|
1473
|
-
/* @__PURE__ */
|
|
1474
|
-
/* @__PURE__ */
|
|
1475
|
-
|
|
1710
|
+
/* @__PURE__ */ L(de, { spacing: 4, children: [
|
|
1711
|
+
/* @__PURE__ */ c(
|
|
1712
|
+
ie,
|
|
1476
1713
|
{
|
|
1477
1714
|
id: "random-identifier-radio",
|
|
1478
1715
|
value: "random",
|
|
1479
|
-
label:
|
|
1716
|
+
label: S.getString("LabelRandomIdentifier"),
|
|
1480
1717
|
sx: { marginLeft: "-11px !important" },
|
|
1481
|
-
disabled:
|
|
1718
|
+
disabled: l
|
|
1482
1719
|
}
|
|
1483
1720
|
),
|
|
1484
|
-
/* @__PURE__ */
|
|
1485
|
-
|
|
1721
|
+
/* @__PURE__ */ c(
|
|
1722
|
+
ie,
|
|
1486
1723
|
{
|
|
1487
1724
|
id: "scan-identifier-radio",
|
|
1488
1725
|
value: "scan",
|
|
1489
|
-
label:
|
|
1490
|
-
disabled:
|
|
1726
|
+
label: S.getString("LabelScanIdentifier"),
|
|
1727
|
+
disabled: l
|
|
1491
1728
|
}
|
|
1492
1729
|
),
|
|
1493
|
-
/* @__PURE__ */
|
|
1494
|
-
|
|
1730
|
+
/* @__PURE__ */ c(
|
|
1731
|
+
G,
|
|
1495
1732
|
{
|
|
1496
1733
|
id: "identifier-min",
|
|
1497
|
-
disabled:
|
|
1498
|
-
required:
|
|
1734
|
+
disabled: l || n !== "random" && n !== "scan",
|
|
1735
|
+
required: n === "random" || n === "scan",
|
|
1499
1736
|
fullWidth: !0,
|
|
1500
|
-
value:
|
|
1501
|
-
error:
|
|
1502
|
-
onErrorChange:
|
|
1503
|
-
startAdornment:
|
|
1504
|
-
onBlur:
|
|
1737
|
+
value: t ?? "",
|
|
1738
|
+
error: N,
|
|
1739
|
+
onErrorChange: m,
|
|
1740
|
+
startAdornment: S.getString("LabelFrom"),
|
|
1741
|
+
onBlur: B,
|
|
1505
1742
|
sxStartAdornment: { marginBottom: 0.8 }
|
|
1506
1743
|
}
|
|
1507
1744
|
),
|
|
1508
|
-
/* @__PURE__ */
|
|
1509
|
-
|
|
1745
|
+
/* @__PURE__ */ c(
|
|
1746
|
+
G,
|
|
1510
1747
|
{
|
|
1511
1748
|
id: "identifier-max",
|
|
1512
|
-
disabled:
|
|
1513
|
-
required:
|
|
1749
|
+
disabled: l || n !== "random" && n !== "scan",
|
|
1750
|
+
required: n === "random" || n === "scan",
|
|
1514
1751
|
fullWidth: !0,
|
|
1515
|
-
value:
|
|
1516
|
-
error:
|
|
1517
|
-
onErrorChange:
|
|
1518
|
-
startAdornment:
|
|
1519
|
-
onBlur:
|
|
1752
|
+
value: r ?? "",
|
|
1753
|
+
error: h,
|
|
1754
|
+
onErrorChange: v,
|
|
1755
|
+
startAdornment: S.getString("LabelTo"),
|
|
1756
|
+
onBlur: z,
|
|
1520
1757
|
sxStartAdornment: { marginBottom: 0.8 }
|
|
1521
1758
|
}
|
|
1522
1759
|
)
|
|
@@ -1527,188 +1764,195 @@ function ht({
|
|
|
1527
1764
|
}
|
|
1528
1765
|
);
|
|
1529
1766
|
}
|
|
1530
|
-
function
|
|
1767
|
+
function ur({
|
|
1531
1768
|
settings: e,
|
|
1532
|
-
onSettingsChange:
|
|
1533
|
-
onErrorsChange:
|
|
1534
|
-
canIdentifierGeneratorSettingsError:
|
|
1535
|
-
disabled:
|
|
1536
|
-
collapsible:
|
|
1537
|
-
collapsed:
|
|
1538
|
-
collapsedChange:
|
|
1769
|
+
onSettingsChange: n,
|
|
1770
|
+
onErrorsChange: t = void 0,
|
|
1771
|
+
canIdentifierGeneratorSettingsError: r = void 0,
|
|
1772
|
+
disabled: a = !1,
|
|
1773
|
+
collapsible: i = !1,
|
|
1774
|
+
collapsed: f = !1,
|
|
1775
|
+
collapsedChange: d = void 0,
|
|
1776
|
+
showSelectMessageDialogChange: l,
|
|
1777
|
+
showSignalValuesTable: s
|
|
1539
1778
|
}) {
|
|
1540
|
-
var
|
|
1541
|
-
const
|
|
1779
|
+
var T, N, m;
|
|
1780
|
+
const g = re(), x = j(
|
|
1542
1781
|
() => {
|
|
1543
|
-
var
|
|
1544
|
-
return ((
|
|
1782
|
+
var h, v, o;
|
|
1783
|
+
return ((o = (v = (h = e.frame) == null ? void 0 : h.canFrameFlags) == null ? void 0 : v.flags) == null ? void 0 : o.includes(U.CAN_FRAME_FLAG_EXT)) === !0 ? "extended" : "standard";
|
|
1545
1784
|
},
|
|
1546
|
-
[(
|
|
1547
|
-
),
|
|
1548
|
-
var
|
|
1549
|
-
return `${(((
|
|
1550
|
-
}, [
|
|
1551
|
-
(
|
|
1552
|
-
var
|
|
1553
|
-
const
|
|
1554
|
-
if (
|
|
1555
|
-
const
|
|
1556
|
-
|
|
1785
|
+
[(N = (T = e.frame) == null ? void 0 : T.canFrameFlags) == null ? void 0 : N.flags]
|
|
1786
|
+
), y = j(() => {
|
|
1787
|
+
var v;
|
|
1788
|
+
return `${(((v = e.frame) == null ? void 0 : v.id) ?? 0).toString(g).toUpperCase()}`;
|
|
1789
|
+
}, [g, (m = e.frame) == null ? void 0 : m.id]), C = j(() => `${(e.identifierMin ?? 0).toString(g).toUpperCase()}`, [g, e.identifierMin]), S = j(() => `${(e.identifierMax ?? 0).toString(g).toUpperCase()}`, [g, e.identifierMax]), I = j(() => e.randomIdentifier === !0 ? "random" : e.scanIdentifier === !0 ? "scan" : "constant", [e.randomIdentifier, e.scanIdentifier]), w = F(
|
|
1790
|
+
(h, v, o, M, E) => {
|
|
1791
|
+
var R, p, u, $;
|
|
1792
|
+
const P = E, _ = parseInt(h, g), B = (p = (R = e.frame) == null ? void 0 : R.canFrameFlags) != null && p.flags ? { flags: [...e.frame.canFrameFlags.flags] } : { flags: [] }, z = B.flags.indexOf(U.CAN_FRAME_FLAG_STD), K = parseInt(o, g), X = parseInt(M, g), D = B.flags.indexOf(U.CAN_FRAME_FLAG_EXT);
|
|
1793
|
+
if (z !== -1 && B.flags.splice(z, 1), D !== -1 && B.flags.splice(D, 1), P === "extended" ? B.flags.push(U.CAN_FRAME_FLAG_EXT) : P === "standard" && B.flags.push(U.CAN_FRAME_FLAG_STD), _ !== ((u = e.frame) == null ? void 0 : u.id) || !ue(B, ($ = e.frame) == null ? void 0 : $.canFrameFlags) || v !== I || K !== e.identifierMin || X !== e.identifierMax) {
|
|
1794
|
+
const b = { ...e };
|
|
1795
|
+
b.frame = e.frame ? { ...e.frame } : hn.fromPartial({
|
|
1557
1796
|
id: 0,
|
|
1558
|
-
canFrameFlags: { flags: [
|
|
1797
|
+
canFrameFlags: { flags: [U.CAN_FRAME_FLAG_STD] },
|
|
1559
1798
|
data: Array.from({ length: 8 }, () => 0)
|
|
1560
|
-
}),
|
|
1799
|
+
}), b.frame.id = _, b.frame.canFrameFlags = B, v === "constant" ? (b.randomIdentifier = !1, b.scanIdentifier = !1) : v === "random" ? (b.randomIdentifier = !0, b.scanIdentifier = !1) : v === "scan" && (b.randomIdentifier = !1, b.scanIdentifier = !0), b.identifierMin = K, b.identifierMax = X, n(b);
|
|
1561
1800
|
}
|
|
1562
1801
|
},
|
|
1563
|
-
[
|
|
1802
|
+
[I, g, n, e]
|
|
1564
1803
|
);
|
|
1565
|
-
return /* @__PURE__ */
|
|
1566
|
-
|
|
1804
|
+
return /* @__PURE__ */ c(
|
|
1805
|
+
Kt,
|
|
1567
1806
|
{
|
|
1568
|
-
canIdentifier:
|
|
1569
|
-
identifierGeneratorType:
|
|
1570
|
-
minCanIdentifier:
|
|
1571
|
-
maxCanIdentifier:
|
|
1572
|
-
canIdentifierType:
|
|
1573
|
-
onChange:
|
|
1574
|
-
onErrorsChange:
|
|
1575
|
-
canIdentifierGeneratorSettingsError:
|
|
1576
|
-
disabled:
|
|
1577
|
-
collapsible:
|
|
1578
|
-
collapsed:
|
|
1579
|
-
collapsedChange:
|
|
1807
|
+
canIdentifier: y,
|
|
1808
|
+
identifierGeneratorType: I,
|
|
1809
|
+
minCanIdentifier: C,
|
|
1810
|
+
maxCanIdentifier: S,
|
|
1811
|
+
canIdentifierType: x,
|
|
1812
|
+
onChange: w,
|
|
1813
|
+
onErrorsChange: t,
|
|
1814
|
+
canIdentifierGeneratorSettingsError: r,
|
|
1815
|
+
disabled: a,
|
|
1816
|
+
collapsible: i,
|
|
1817
|
+
collapsed: f,
|
|
1818
|
+
collapsedChange: d,
|
|
1819
|
+
showSelectMessageDialogChange: l,
|
|
1820
|
+
showSignalValuesTable: s
|
|
1580
1821
|
}
|
|
1581
1822
|
);
|
|
1582
1823
|
}
|
|
1583
|
-
function
|
|
1584
|
-
const [
|
|
1585
|
-
return
|
|
1586
|
-
|
|
1587
|
-
var
|
|
1588
|
-
const
|
|
1589
|
-
var
|
|
1590
|
-
const
|
|
1591
|
-
var
|
|
1592
|
-
return
|
|
1593
|
-
})) == null ? void 0 :
|
|
1594
|
-
return
|
|
1595
|
-
}).map((
|
|
1596
|
-
value:
|
|
1597
|
-
displayText:
|
|
1598
|
-
canFdMode:
|
|
1599
|
-
identifier:
|
|
1824
|
+
function Xt(e, n, t, r) {
|
|
1825
|
+
const [a, i] = A(""), [f, d] = A([]);
|
|
1826
|
+
return k(() => {
|
|
1827
|
+
d((l) => {
|
|
1828
|
+
var g;
|
|
1829
|
+
const s = (g = t == null ? void 0 : t.sources) == null ? void 0 : g.filter((x) => {
|
|
1830
|
+
var C, S;
|
|
1831
|
+
const y = (S = (C = r == null ? void 0 : r.find((I) => {
|
|
1832
|
+
var w;
|
|
1833
|
+
return I.nodeId === ((w = x.baseNode) == null ? void 0 : w.identifier);
|
|
1834
|
+
})) == null ? void 0 : C.errorStatus) == null ? void 0 : S.errors;
|
|
1835
|
+
return y === void 0 || y === "" ? x.baseNode && x.channelSettings && x.channelSettings.canConfiguration && (!n || x.channelSettings.canConfiguration.silentMode !== !0) : !1;
|
|
1836
|
+
}).map((x) => ({
|
|
1837
|
+
value: x.channelSettings.channelNumber,
|
|
1838
|
+
displayText: x.baseNode.name,
|
|
1839
|
+
canFdMode: x.channelSettings.canConfiguration.canMode > 0,
|
|
1840
|
+
identifier: x.baseNode.identifier
|
|
1600
1841
|
}));
|
|
1601
|
-
return !
|
|
1842
|
+
return !s || ue(l, s) ? l : s;
|
|
1602
1843
|
});
|
|
1603
|
-
}, [
|
|
1604
|
-
const
|
|
1605
|
-
l
|
|
1606
|
-
}, [e,
|
|
1607
|
-
channelOptions:
|
|
1608
|
-
selectedChannelOption:
|
|
1844
|
+
}, [n, t == null ? void 0 : t.sources, r]), k(() => {
|
|
1845
|
+
const l = f.find((s) => s.identifier === e);
|
|
1846
|
+
i(l ? (s) => l.value === s ? s : l.value : "");
|
|
1847
|
+
}, [e, f]), {
|
|
1848
|
+
channelOptions: f,
|
|
1849
|
+
selectedChannelOption: a
|
|
1609
1850
|
};
|
|
1610
1851
|
}
|
|
1611
|
-
function
|
|
1852
|
+
function cr({
|
|
1612
1853
|
channelIdentifier: e,
|
|
1613
|
-
onChannelIdentifierChange:
|
|
1614
|
-
hideSilentChannels:
|
|
1615
|
-
hideSectionControl:
|
|
1616
|
-
disabled:
|
|
1617
|
-
collapsible:
|
|
1618
|
-
collapsed:
|
|
1619
|
-
collapsedChange:
|
|
1854
|
+
onChannelIdentifierChange: n,
|
|
1855
|
+
hideSilentChannels: t = !1,
|
|
1856
|
+
hideSectionControl: r = !1,
|
|
1857
|
+
disabled: a = !1,
|
|
1858
|
+
collapsible: i = !1,
|
|
1859
|
+
collapsed: f = !1,
|
|
1860
|
+
collapsedChange: d = void 0
|
|
1620
1861
|
}) {
|
|
1621
|
-
var
|
|
1622
|
-
const
|
|
1862
|
+
var S;
|
|
1863
|
+
const l = De(), s = Ue(), g = H(), { channelOptions: x, selectedChannelOption: y } = Xt(
|
|
1623
1864
|
e,
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
),
|
|
1628
|
-
(
|
|
1629
|
-
const
|
|
1630
|
-
|
|
1865
|
+
t === !0,
|
|
1866
|
+
l,
|
|
1867
|
+
s
|
|
1868
|
+
), C = F(
|
|
1869
|
+
(I) => {
|
|
1870
|
+
const w = x.find((m) => m.value === I), T = (w == null ? void 0 : w.identifier) ?? "", N = (w == null ? void 0 : w.canFdMode) === !0;
|
|
1871
|
+
n(T, N);
|
|
1631
1872
|
},
|
|
1632
|
-
[
|
|
1873
|
+
[x, n]
|
|
1633
1874
|
);
|
|
1634
|
-
return
|
|
1635
|
-
|
|
1875
|
+
return r === !0 ? /* @__PURE__ */ c(
|
|
1876
|
+
Ie,
|
|
1636
1877
|
{
|
|
1637
1878
|
id: "channel",
|
|
1638
|
-
label:
|
|
1879
|
+
label: g.getString("LabelChannel"),
|
|
1639
1880
|
fullWidth: !0,
|
|
1640
|
-
value:
|
|
1641
|
-
onChange:
|
|
1642
|
-
options:
|
|
1881
|
+
value: y,
|
|
1882
|
+
onChange: C,
|
|
1883
|
+
options: x,
|
|
1643
1884
|
required: !0,
|
|
1644
|
-
disabled:
|
|
1885
|
+
disabled: a
|
|
1645
1886
|
}
|
|
1646
|
-
) : /* @__PURE__ */
|
|
1647
|
-
|
|
1887
|
+
) : /* @__PURE__ */ c(
|
|
1888
|
+
fe,
|
|
1648
1889
|
{
|
|
1649
|
-
text:
|
|
1650
|
-
summary:
|
|
1651
|
-
collapsible:
|
|
1652
|
-
collapsed:
|
|
1653
|
-
collapsedChange:
|
|
1654
|
-
children: /* @__PURE__ */
|
|
1655
|
-
|
|
1890
|
+
text: g.getString("LabelChannel"),
|
|
1891
|
+
summary: y === "" || (S = x.find((I) => I.value === y)) == null ? void 0 : S.displayText,
|
|
1892
|
+
collapsible: i,
|
|
1893
|
+
collapsed: f,
|
|
1894
|
+
collapsedChange: d,
|
|
1895
|
+
children: /* @__PURE__ */ c(
|
|
1896
|
+
Ie,
|
|
1656
1897
|
{
|
|
1657
1898
|
id: "channel",
|
|
1658
|
-
label:
|
|
1899
|
+
label: g.getString("LabelChannel"),
|
|
1659
1900
|
fullWidth: !0,
|
|
1660
|
-
value:
|
|
1661
|
-
onChange:
|
|
1662
|
-
options:
|
|
1901
|
+
value: y,
|
|
1902
|
+
onChange: C,
|
|
1903
|
+
options: x,
|
|
1663
1904
|
required: !0,
|
|
1664
|
-
disabled:
|
|
1905
|
+
disabled: a
|
|
1665
1906
|
}
|
|
1666
1907
|
)
|
|
1667
1908
|
}
|
|
1668
1909
|
);
|
|
1669
1910
|
}
|
|
1670
|
-
const
|
|
1911
|
+
const fr = W(Q)(() => ({
|
|
1671
1912
|
height: "100%",
|
|
1672
1913
|
width: "100%",
|
|
1673
1914
|
padding: "4px",
|
|
1674
1915
|
overflow: "auto"
|
|
1675
1916
|
}));
|
|
1676
1917
|
export {
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
fe as
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1918
|
+
cr as CanChannelSelectControl,
|
|
1919
|
+
zt as CanIdentifierControl,
|
|
1920
|
+
sr as CanIdentifierFrameControl,
|
|
1921
|
+
Kt as CanIdentifierGeneratorControl,
|
|
1922
|
+
ur as CanIdentifierGeneratorSettingsControl,
|
|
1923
|
+
br as CanKingDataProvider,
|
|
1924
|
+
Ae as CheckboxControl,
|
|
1925
|
+
Ft as ColumnItemControl,
|
|
1926
|
+
dr as ContextMenu,
|
|
1927
|
+
mr as DevicesContext,
|
|
1928
|
+
wt as DropdownButton,
|
|
1929
|
+
er as DropdownButtonTextItems,
|
|
1930
|
+
nr as DropdownPanel,
|
|
1931
|
+
fr as FillBox,
|
|
1932
|
+
de as FormControlRow,
|
|
1933
|
+
tr as InlineEditor,
|
|
1934
|
+
pr as LocalizedStrings,
|
|
1935
|
+
vr as LogMessagesContext,
|
|
1936
|
+
xr as MeasurementSetupContext,
|
|
1937
|
+
Cr as MeasurementStatusContext,
|
|
1938
|
+
rr as NumberRangeControl,
|
|
1939
|
+
te as OneLineButton,
|
|
1940
|
+
Sr as OnlineStatusContext,
|
|
1941
|
+
ie as RadioControl,
|
|
1942
|
+
Et as RadioGroupControl,
|
|
1943
|
+
Nr as RunningPeriodicTransmissionsContext,
|
|
1944
|
+
fe as SectionControl,
|
|
1945
|
+
Ie as SelectControl,
|
|
1946
|
+
ar as SizedBox,
|
|
1947
|
+
lr as TableControl,
|
|
1948
|
+
ir as TabsPanel,
|
|
1949
|
+
Lt as TextControl,
|
|
1950
|
+
or as ToolbarControl,
|
|
1951
|
+
yr as UserSettingsContext,
|
|
1952
|
+
G as ValidateableTextControl,
|
|
1953
|
+
Ir as WorkspacePanesContext,
|
|
1954
|
+
$r as addEventListener,
|
|
1955
|
+
Fr as removeEventListener,
|
|
1956
|
+
It as useColumnItem,
|
|
1957
|
+
$t as useColumnItems
|
|
1714
1958
|
};
|