@umriss-ui/core 0.5.0 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/dist/core.js +167 -148
- package/dist/de.d.ts +27 -0
- package/dist/index.d.ts +27 -0
- package/dist/wording/de.js +22 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -50,6 +50,20 @@ module on the caller's side that carries `"use client"` and imports from there.
|
|
|
50
50
|
|
|
51
51
|
---
|
|
52
52
|
|
|
53
|
+
## 0.6.0 – The wording of the grouping (Sep. 2026)
|
|
54
|
+
|
|
55
|
+
### Added
|
|
56
|
+
|
|
57
|
+
- **The wording of the table's grouping and aggregates**, English and German:
|
|
58
|
+
the footer's minimum, maximum, range, count, distinct values and an aggregate
|
|
59
|
+
of one's own; the grouping section and its entry per column, "Grouped by",
|
|
60
|
+
removing the grouping or a level, fold all and unfold all, "No value",
|
|
61
|
+
"continued", the fold's and the group box's names, and the calendar week. A
|
|
62
|
+
caller who builds a complete `Wording` of their own has nineteen entries to
|
|
63
|
+
add.
|
|
64
|
+
|
|
65
|
+
---
|
|
66
|
+
|
|
53
67
|
## 0.5.0 – The wording of the calculation (Sep. 2026)
|
|
54
68
|
|
|
55
69
|
### Added
|
package/dist/core.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./core.css";
|
|
2
|
-
import { useMemo as se, useContext as He, createContext as
|
|
2
|
+
import { useMemo as se, useContext as He, createContext as je, forwardRef as ae, useId as De, useRef as R, useEffect as ne, useState as I, useCallback as X, useLayoutEffect as Ge, cloneElement as $n, useImperativeHandle as jt } from "react";
|
|
3
3
|
import { jsx as s, jsxs as k, Fragment as we } from "react/jsx-runtime";
|
|
4
4
|
import { D as Et, a as Dn, s as or } from "./formats-DrB9TuzO.js";
|
|
5
5
|
import { createPortal as Vt } from "react-dom";
|
|
@@ -145,6 +145,25 @@ const sr = "_alert_1rqhr_12 _text_1hv7a_23", ir = "_content_1rqhr_26", ar = "_ti
|
|
|
145
145
|
booleanNo: "No",
|
|
146
146
|
footerSum: "Sum",
|
|
147
147
|
footerAverage: "Average",
|
|
148
|
+
footerMinimum: "Minimum",
|
|
149
|
+
footerMaximum: "Maximum",
|
|
150
|
+
footerRange: "Range",
|
|
151
|
+
footerCount: "Count",
|
|
152
|
+
footerDistinct: "Distinct values",
|
|
153
|
+
footerAggregate: "Aggregate",
|
|
154
|
+
grouping: "Grouping",
|
|
155
|
+
groupBy: (e) => `Group by ${e}`,
|
|
156
|
+
groupedBy: "Grouped by",
|
|
157
|
+
removeGrouping: "Remove grouping",
|
|
158
|
+
removeGroupingLevel: (e) => `Stop grouping by ${e}`,
|
|
159
|
+
foldAll: "Fold all",
|
|
160
|
+
unfoldAll: "Unfold all",
|
|
161
|
+
groupNoValue: "No value",
|
|
162
|
+
groupContinued: "continued",
|
|
163
|
+
foldGroup: (e, t) => `Fold ${e}, ${t}`,
|
|
164
|
+
unfoldGroup: (e, t) => `Unfold ${e}, ${t}`,
|
|
165
|
+
selectGroup: (e) => `Select ${e}`,
|
|
166
|
+
calendarWeek: (e, t) => `Week ${e}, ${t}`,
|
|
148
167
|
entries: (e, t) => e === 1 ? "1 entry" : `${t} entries`,
|
|
149
168
|
selectedCount: (e, t) => `${t} selected`,
|
|
150
169
|
noEntries: "No entries",
|
|
@@ -249,7 +268,7 @@ const sr = "_alert_1rqhr_12 _text_1hv7a_23", ir = "_content_1rqhr_26", ar = "_ti
|
|
|
249
268
|
}, Tn = {
|
|
250
269
|
formats: Et,
|
|
251
270
|
wording: st
|
|
252
|
-
}, Mn =
|
|
271
|
+
}, Mn = je(null);
|
|
253
272
|
function _r(e) {
|
|
254
273
|
if (!e) return Tn;
|
|
255
274
|
const { presets: t, ...n } = e.wording ?? {};
|
|
@@ -367,7 +386,7 @@ const Tr = "_button_182pk_4 _ring_1hv7a_65 _text_1hv7a_23", Mr = "_sm_182pk_46",
|
|
|
367
386
|
message: Fr,
|
|
368
387
|
hint: Ir,
|
|
369
388
|
error: Br
|
|
370
|
-
}, Ut =
|
|
389
|
+
}, Ut = je(null);
|
|
371
390
|
function Ie() {
|
|
372
391
|
return He(Ut);
|
|
373
392
|
}
|
|
@@ -409,19 +428,19 @@ function Ln() {
|
|
|
409
428
|
const e = window.visualViewport;
|
|
410
429
|
return e ? { top: e.offsetTop, left: e.offsetLeft, width: e.width, height: e.height } : { width: window.innerWidth, height: window.innerHeight };
|
|
411
430
|
}
|
|
412
|
-
const zr = "_panel_1nxpu_8 _text_1hv7a_23",
|
|
431
|
+
const zr = "_panel_1nxpu_8 _text_1hv7a_23", Gr = "_above_1nxpu_21", ln = {
|
|
413
432
|
panel: zr,
|
|
414
|
-
above:
|
|
415
|
-
}, Yt =
|
|
433
|
+
above: Gr
|
|
434
|
+
}, Yt = je(null);
|
|
416
435
|
function Xd(e, t) {
|
|
417
436
|
const n = He(Yt);
|
|
418
437
|
return e !== void 0 ? e : n != null && n.densityGiven ? n.density === "compact" ? "compact" : "regular" : t;
|
|
419
438
|
}
|
|
420
|
-
const
|
|
439
|
+
const jr = {
|
|
421
440
|
density: "comfortable",
|
|
422
441
|
portalTarget: null,
|
|
423
442
|
toast: {}
|
|
424
|
-
}, Kt = () => He(Yt) ??
|
|
443
|
+
}, Kt = () => He(Yt) ?? jr, Qd = () => Kt().density, Vr = () => Kt().toast;
|
|
425
444
|
function Xt() {
|
|
426
445
|
const { portalTarget: e } = Kt();
|
|
427
446
|
return se(
|
|
@@ -493,15 +512,15 @@ function Ze({
|
|
|
493
512
|
)
|
|
494
513
|
);
|
|
495
514
|
}, [n, i, a, c, l]);
|
|
496
|
-
return
|
|
515
|
+
return Ge(() => {
|
|
497
516
|
e && E(Rn(n.current, D));
|
|
498
|
-
}, [e, n, D]),
|
|
517
|
+
}, [e, n, D]), Ge(() => {
|
|
499
518
|
!e || !M || q();
|
|
500
519
|
}, [e, M, q]), ne(() => {
|
|
501
520
|
if (!e) return;
|
|
502
521
|
const b = (U) => {
|
|
503
|
-
var
|
|
504
|
-
return ((
|
|
522
|
+
var j, Q;
|
|
523
|
+
return ((j = w.current) == null ? void 0 : j.contains(U)) || ((Q = n.current) == null ? void 0 : Q.contains(U)) || (y.current ?? []).some((me) => {
|
|
505
524
|
var A;
|
|
506
525
|
return (A = me.current) == null ? void 0 : A.contains(U);
|
|
507
526
|
});
|
|
@@ -515,11 +534,11 @@ function Ze({
|
|
|
515
534
|
Y || (Y = requestAnimationFrame(() => {
|
|
516
535
|
Y = 0, q();
|
|
517
536
|
}));
|
|
518
|
-
},
|
|
537
|
+
}, G = () => {
|
|
519
538
|
u ? _(!1) : L();
|
|
520
539
|
}, T = window.visualViewport;
|
|
521
|
-
return document.addEventListener("mousedown", F), document.addEventListener("keydown", V), window.addEventListener("scroll",
|
|
522
|
-
T == null || T.removeEventListener("resize", L), T == null || T.removeEventListener("scroll", L), document.removeEventListener("mousedown", F), document.removeEventListener("keydown", V), window.removeEventListener("scroll",
|
|
540
|
+
return document.addEventListener("mousedown", F), document.addEventListener("keydown", V), window.addEventListener("scroll", G, !0), window.addEventListener("resize", G), T == null || T.addEventListener("resize", L), T == null || T.addEventListener("scroll", L), () => {
|
|
541
|
+
T == null || T.removeEventListener("resize", L), T == null || T.removeEventListener("scroll", L), document.removeEventListener("mousedown", F), document.removeEventListener("keydown", V), window.removeEventListener("scroll", G, !0), window.removeEventListener("resize", G), Y && cancelAnimationFrame(Y);
|
|
523
542
|
};
|
|
524
543
|
}, [e, n, _, q, u]), !e || !M ? null : Vt(
|
|
525
544
|
/* @__PURE__ */ s(
|
|
@@ -552,7 +571,7 @@ const Ur = "_panel_12yoy_4", Yr = "_item_12yoy_15", Kr = "_danger_12yoy_44", Xr
|
|
|
552
571
|
danger: Kr,
|
|
553
572
|
separator: Xr,
|
|
554
573
|
content: Qr
|
|
555
|
-
}, Qt =
|
|
574
|
+
}, Qt = je(null);
|
|
556
575
|
function Pn(e, t, n) {
|
|
557
576
|
var i, a, c, l;
|
|
558
577
|
const r = Array.from((t == null ? void 0 : t.querySelectorAll('[role="menuitem"]:not([disabled])')) ?? []);
|
|
@@ -694,7 +713,7 @@ const Jr = "_group_1886q_9", eo = "_split_1886q_97", to = "_trigger_1886q_97", n
|
|
|
694
713
|
headerRight: mo,
|
|
695
714
|
collapseButton: _o,
|
|
696
715
|
flush: go
|
|
697
|
-
}, Zt =
|
|
716
|
+
}, Zt = je(null);
|
|
698
717
|
function nu({
|
|
699
718
|
collapsible: e = !1,
|
|
700
719
|
defaultCollapsed: t = !1,
|
|
@@ -755,7 +774,7 @@ const vo = "_wrapper_1sdoe_4 _text_1hv7a_23", yo = "_input_1sdoe_13", bo = "_box
|
|
|
755
774
|
label: xo
|
|
756
775
|
}, Jt = ae(function({ label: t, indeterminate: n = !1, className: r, id: o, ...i }, a) {
|
|
757
776
|
const c = R(null);
|
|
758
|
-
|
|
777
|
+
jt(a, () => c.current), ne(() => {
|
|
759
778
|
c.current && (c.current.indeterminate = n);
|
|
760
779
|
}, [n]);
|
|
761
780
|
const l = Ie(), d = o ?? (l == null ? void 0 : l.id);
|
|
@@ -940,13 +959,13 @@ const Io = "_hidden_69gri_7", Bo = "_focusable_69gri_20 _text_1hv7a_23", un = {
|
|
|
940
959
|
children: o
|
|
941
960
|
}
|
|
942
961
|
);
|
|
943
|
-
}), Ho = "_dialog_1yu65_7 _text_1hv7a_23", Oo = "_pane_1yu65_2", Wo = "_field_1yu65_86 _field_1hv7a_34", zo = "_bodyWrap_1yu65_125",
|
|
962
|
+
}), Ho = "_dialog_1yu65_7 _text_1hv7a_23", Oo = "_pane_1yu65_2", Wo = "_field_1yu65_86 _field_1hv7a_34", zo = "_bodyWrap_1yu65_125", Go = "_body_1yu65_125", jo = "_list_1yu65_146 _scroll_1hv7a_40", Vo = "_groupHeading_1yu65_156", Uo = "_row_1yu65_165", Yo = "_rowActive_1yu65_176", Ko = "_icon_1yu65_180", Xo = "_name_1yu65_189", Qo = "_mark_1yu65_200", Zo = "_group_1yu65_156", Jo = "_noFinds_1yu65_211", es = "_footer_1yu65_220", ts = "_key_1yu65_236", ge = {
|
|
944
963
|
dialog: Ho,
|
|
945
964
|
pane: Oo,
|
|
946
965
|
field: Wo,
|
|
947
966
|
bodyWrap: zo,
|
|
948
|
-
body:
|
|
949
|
-
list:
|
|
967
|
+
body: Go,
|
|
968
|
+
list: jo,
|
|
950
969
|
groupHeading: Vo,
|
|
951
970
|
row: Uo,
|
|
952
971
|
rowActive: Yo,
|
|
@@ -1004,7 +1023,7 @@ function su({
|
|
|
1004
1023
|
var A;
|
|
1005
1024
|
q !== null && ((A = document.getElementById(It(a, q))) == null || A.scrollIntoView({ block: "nearest" }));
|
|
1006
1025
|
}, [q, a]);
|
|
1007
|
-
const L = R(null), [
|
|
1026
|
+
const L = R(null), [G, T] = I(0);
|
|
1008
1027
|
ne(() => {
|
|
1009
1028
|
const A = L.current;
|
|
1010
1029
|
if (!e || A === null) return;
|
|
@@ -1016,7 +1035,7 @@ function su({
|
|
|
1016
1035
|
if (F(), _.length === 0) return;
|
|
1017
1036
|
const B = _.findIndex((te) => te.kandidat.id === q), z = tn(B === -1 ? 0 : B, _.length, A);
|
|
1018
1037
|
w(_[z].kandidat.id);
|
|
1019
|
-
},
|
|
1038
|
+
}, j = (A) => {
|
|
1020
1039
|
if (!A.nativeEvent.isComposing) {
|
|
1021
1040
|
if (A.key === "ArrowDown") {
|
|
1022
1041
|
A.preventDefault(), U(1);
|
|
@@ -1066,10 +1085,10 @@ function su({
|
|
|
1066
1085
|
onChange: (A) => {
|
|
1067
1086
|
F(), m(A.target.value);
|
|
1068
1087
|
},
|
|
1069
|
-
onKeyDown:
|
|
1088
|
+
onKeyDown: j
|
|
1070
1089
|
}
|
|
1071
1090
|
),
|
|
1072
|
-
/* @__PURE__ */ s("div", { className: ge.bodyWrap, style: { height: `${
|
|
1091
|
+
/* @__PURE__ */ s("div", { className: ge.bodyWrap, style: { height: `${G}px` }, children: /* @__PURE__ */ k("div", { ref: L, className: ge.body, children: [
|
|
1073
1092
|
_.length > 0 && /* @__PURE__ */ s(
|
|
1074
1093
|
"div",
|
|
1075
1094
|
{
|
|
@@ -1274,12 +1293,12 @@ function lu({
|
|
|
1274
1293
|
}, b = () => {
|
|
1275
1294
|
m(!1), w(null);
|
|
1276
1295
|
}, F = (L) => {
|
|
1277
|
-
var
|
|
1278
|
-
L.disabled || (n(L.value), b(), (
|
|
1296
|
+
var G;
|
|
1297
|
+
L.disabled || (n(L.value), b(), (G = N.current) == null || G.focus());
|
|
1279
1298
|
};
|
|
1280
1299
|
ne(() => {
|
|
1281
|
-
var L,
|
|
1282
|
-
f && ((
|
|
1300
|
+
var L, G;
|
|
1301
|
+
f && ((G = (L = M.current) == null ? void 0 : L.querySelector(`[data-index="${y}"]`)) == null || G.scrollIntoView({ block: "nearest" }));
|
|
1283
1302
|
}, [f, y]);
|
|
1284
1303
|
const V = (L) => {
|
|
1285
1304
|
if (!L.nativeEvent.isComposing) {
|
|
@@ -1289,7 +1308,7 @@ function lu({
|
|
|
1289
1308
|
return;
|
|
1290
1309
|
}
|
|
1291
1310
|
if (_.length === 0) return;
|
|
1292
|
-
g((
|
|
1311
|
+
g((G) => tn(G, _.length, L.key === "ArrowDown" ? 1 : -1));
|
|
1293
1312
|
return;
|
|
1294
1313
|
}
|
|
1295
1314
|
if (L.key === "Enter") {
|
|
@@ -1327,8 +1346,8 @@ function lu({
|
|
|
1327
1346
|
},
|
|
1328
1347
|
onKeyDown: V,
|
|
1329
1348
|
onBlur: (L) => {
|
|
1330
|
-
var
|
|
1331
|
-
(
|
|
1349
|
+
var G;
|
|
1350
|
+
(G = M.current) != null && G.contains(L.relatedTarget) || b();
|
|
1332
1351
|
}
|
|
1333
1352
|
}
|
|
1334
1353
|
),
|
|
@@ -1359,21 +1378,21 @@ function lu({
|
|
|
1359
1378
|
anchorRef: N,
|
|
1360
1379
|
width: "anchor",
|
|
1361
1380
|
className: Se.panel,
|
|
1362
|
-
children: /* @__PURE__ */ s("div", { ref: M, role: "listbox", id: E, className: Se.list, "aria-label": u, children: _.length === 0 ? /* @__PURE__ */ s("div", { className: Se.empty, children: p }) : _.map((L,
|
|
1381
|
+
children: /* @__PURE__ */ s("div", { ref: M, role: "listbox", id: E, className: Se.list, "aria-label": u, children: _.length === 0 ? /* @__PURE__ */ s("div", { className: Se.empty, children: p }) : _.map((L, G) => /* @__PURE__ */ k(
|
|
1363
1382
|
"div",
|
|
1364
1383
|
{
|
|
1365
|
-
id: `${E}-${
|
|
1366
|
-
"data-index":
|
|
1384
|
+
id: `${E}-${G}`,
|
|
1385
|
+
"data-index": G,
|
|
1367
1386
|
role: "option",
|
|
1368
1387
|
"aria-selected": L.value === t,
|
|
1369
1388
|
"aria-disabled": L.disabled || void 0,
|
|
1370
1389
|
className: P(
|
|
1371
1390
|
Se.option,
|
|
1372
|
-
|
|
1391
|
+
G === y && Se.active,
|
|
1373
1392
|
L.value === t && Se.selected,
|
|
1374
1393
|
L.disabled && Se.optionDisabled
|
|
1375
1394
|
),
|
|
1376
|
-
onMouseEnter: () => g(
|
|
1395
|
+
onMouseEnter: () => g(G),
|
|
1377
1396
|
onMouseDown: (T) => T.preventDefault(),
|
|
1378
1397
|
onClick: () => F(L),
|
|
1379
1398
|
children: [
|
|
@@ -1475,8 +1494,8 @@ const Ws = {
|
|
|
1475
1494
|
ArrowRight: 1,
|
|
1476
1495
|
ArrowUp: -7,
|
|
1477
1496
|
ArrowDown: 7
|
|
1478
|
-
}, zs = (e) => Ws[e],
|
|
1479
|
-
trigger:
|
|
1497
|
+
}, zs = (e) => Ws[e], Gs = (e, t) => e.getMonth() !== t.getMonth() || e.getFullYear() !== t.getFullYear(), js = "_trigger_10qsh_4", Vs = "_sm_10qsh_38", Us = "_invalid_10qsh_44", Ys = "_value_10qsh_53", Ks = "_placeholder_10qsh_64", Xs = "_icon_10qsh_70", Qs = "_panel_10qsh_79 _text_1hv7a_23", Zs = "_head_10qsh_89", Js = "_month_10qsh_97", ei = "_page_10qsh_102 _ring_1hv7a_65", ti = "_weekdays_10qsh_122", ni = "_grid_10qsh_123", ri = "_day_10qsh_142 _ring_1hv7a_65", oi = "_otherMonth_10qsh_165", si = "_today_10qsh_169", ii = "_selected_10qsh_175", ai = "_foot_10qsh_182", ci = "_timeRow_10qsh_195", li = "_timeLabel_10qsh_205", di = "_timeGroup_10qsh_213", ui = "_timeFieldWrap_10qsh_223", hi = "_timeField_10qsh_223 _field_1hv7a_34", fi = "_timeStepper_10qsh_262", pi = "_timeSeparator_10qsh_312", mi = "_dstHint_10qsh_318", _i = "_dstChoice_10qsh_325", gi = "_dstButtons_10qsh_331", vi = "_footLeft_10qsh_336", yi = "_triggerWrap_10qsh_345 _text_1hv7a_23", bi = "_triggerClear_10qsh_354", wi = "_rangeDash_10qsh_402", ki = "_rangePanel_10qsh_407 _text_1hv7a_23", xi = "_rangeRight_10qsh_415", Ni = "_rangeBody_10qsh_419", $i = "_presetColumn_10qsh_425", Di = "_preset_10qsh_425 _ring_1hv7a_65", Ti = "_presetActive_10qsh_454", Mi = "_monthPair_10qsh_461", Ci = "_monthColumn_10qsh_466", Si = "_pageSpacer_10qsh_501", Ai = "_dayEmpty_10qsh_507", Li = "_inRange_10qsh_514", Ri = "_rangeFrom_10qsh_524", Pi = "_rangeTo_10qsh_526", qi = "_rangeSingle_10qsh_528", Ei = "_inPreview_10qsh_546", Fi = "_previewEnd_10qsh_551", Ii = "_footNote_10qsh_558", Bi = "_timeRangeRow_10qsh_578", Hi = "_timeHalf_10qsh_587", Oi = "_timeHalfHead_10qsh_595", Wi = "_timeDate_10qsh_602", zi = "_footNoteRight_10qsh_609", Gi = "_timeFieldDisabled_10qsh_615", C = {
|
|
1498
|
+
trigger: js,
|
|
1480
1499
|
sm: Vs,
|
|
1481
1500
|
invalid: Us,
|
|
1482
1501
|
value: Ys,
|
|
@@ -1529,7 +1548,7 @@ const Ws = {
|
|
|
1529
1548
|
timeHalfHead: Oi,
|
|
1530
1549
|
timeDate: Wi,
|
|
1531
1550
|
footNoteRight: zi,
|
|
1532
|
-
timeFieldDisabled:
|
|
1551
|
+
timeFieldDisabled: Gi
|
|
1533
1552
|
};
|
|
1534
1553
|
st.weekdays;
|
|
1535
1554
|
function Nt({
|
|
@@ -1563,7 +1582,7 @@ function Nt({
|
|
|
1563
1582
|
if (F !== void 0) {
|
|
1564
1583
|
b.preventDefault();
|
|
1565
1584
|
const V = it(r, F);
|
|
1566
|
-
o(V),
|
|
1585
|
+
o(V), Gs(V, t) && n(Ce(V));
|
|
1567
1586
|
return;
|
|
1568
1587
|
}
|
|
1569
1588
|
(b.key === "Enter" || b.key === " ") && (b.preventDefault(), a(r));
|
|
@@ -1588,7 +1607,7 @@ function Nt({
|
|
|
1588
1607
|
const F = b.getMonth() === t.getMonth();
|
|
1589
1608
|
if (!F && f)
|
|
1590
1609
|
return /* @__PURE__ */ s("span", { className: C.dayEmpty, "aria-hidden": "true" }, b.toISOString());
|
|
1591
|
-
const V = Re(b, r) && (F || !f), Y = Re(b, D), L = Re(b, _),
|
|
1610
|
+
const V = Re(b, r) && (F || !f), Y = Re(b, D), L = Re(b, _), G = Y && L, T = !!D && !!_ && !Y && !L && Bt(D, b) && Bt(b, _), U = !_ && Re(b, c);
|
|
1592
1611
|
return /* @__PURE__ */ s(
|
|
1593
1612
|
"button",
|
|
1594
1613
|
{
|
|
@@ -1605,9 +1624,9 @@ function Nt({
|
|
|
1605
1624
|
Re(b, E) && C.today,
|
|
1606
1625
|
T && C.inRange,
|
|
1607
1626
|
T && q && C.inPreview,
|
|
1608
|
-
(Y || U) && !
|
|
1609
|
-
L && !
|
|
1610
|
-
|
|
1627
|
+
(Y || U) && !G && C.rangeFrom,
|
|
1628
|
+
L && !G && C.rangeTo,
|
|
1629
|
+
G && C.rangeSingle,
|
|
1611
1630
|
L && q && C.previewEnd
|
|
1612
1631
|
),
|
|
1613
1632
|
onClick: () => a(b),
|
|
@@ -1621,12 +1640,12 @@ function Nt({
|
|
|
1621
1640
|
)
|
|
1622
1641
|
] });
|
|
1623
1642
|
}
|
|
1624
|
-
const Ht = (e) => $e(e),
|
|
1643
|
+
const Ht = (e) => $e(e), ji = (e, t) => new Date(e.getFullYear(), e.getMonth(), e.getDate(), 23, 59, t ? 59 : 0), Vi = (e, t) => e.getTime() <= t.getTime() ? [e, t] : [t, e], Bn = (e, t) => $e(e).getTime() <= $e(t).getTime() ? [e, t] : [t, e];
|
|
1625
1644
|
function Hn(e, t, n, r) {
|
|
1626
1645
|
const [o, i] = Bn(e, t);
|
|
1627
1646
|
return {
|
|
1628
1647
|
from: Ht(o),
|
|
1629
|
-
to: n === "day" ? Ht(i) :
|
|
1648
|
+
to: n === "day" ? Ht(i) : ji(i, r)
|
|
1630
1649
|
};
|
|
1631
1650
|
}
|
|
1632
1651
|
function Mt({
|
|
@@ -1879,7 +1898,7 @@ function hu({
|
|
|
1879
1898
|
invalid: a,
|
|
1880
1899
|
clearable: c = !1
|
|
1881
1900
|
}) {
|
|
1882
|
-
const l = Ie(), d = ce(), u = Ve(), p = r ?? d.dateTimePlaceholder, h = a ?? (l == null ? void 0 : l.invalid) ?? !1, [f, m] = I(!1), [v, w] = I(() => Ce(e ?? /* @__PURE__ */ new Date())), [y, g] = I(() => e ?? /* @__PURE__ */ new Date()), [N, M] = I(e), [E, D] = I("00"), [_, q] = I("00"), [b, F] = I("00"), [V, Y] = I("earlier"), L = R(null),
|
|
1901
|
+
const l = Ie(), d = ce(), u = Ve(), p = r ?? d.dateTimePlaceholder, h = a ?? (l == null ? void 0 : l.invalid) ?? !1, [f, m] = I(!1), [v, w] = I(() => Ce(e ?? /* @__PURE__ */ new Date())), [y, g] = I(() => e ?? /* @__PURE__ */ new Date()), [N, M] = I(e), [E, D] = I("00"), [_, q] = I("00"), [b, F] = I("00"), [V, Y] = I("earlier"), L = R(null), G = R(null), T = R(null), U = R(null), j = R(null), Q = R(null), me = De(), A = () => {
|
|
1883
1902
|
const oe = e ?? /* @__PURE__ */ new Date();
|
|
1884
1903
|
w(Ce(oe)), g(oe), M(e ? oe : null), D(Xe(e ? oe.getHours() : 0)), q(Xe(e ? oe.getMinutes() : 0)), F(Xe(e && n ? oe.getSeconds() : 0)), Y(e ? Ot(e) : "earlier"), m(!0);
|
|
1885
1904
|
}, B = (oe = !0) => {
|
|
@@ -1901,7 +1920,7 @@ function hu({
|
|
|
1901
1920
|
/* @__PURE__ */ s(
|
|
1902
1921
|
Mt,
|
|
1903
1922
|
{
|
|
1904
|
-
wrapRef:
|
|
1923
|
+
wrapRef: G,
|
|
1905
1924
|
triggerRef: L,
|
|
1906
1925
|
panel: { id: me, open: f, onToggle: () => f ? m(!1) : A() },
|
|
1907
1926
|
field: l,
|
|
@@ -1927,7 +1946,7 @@ function hu({
|
|
|
1927
1946
|
oe || m(!1);
|
|
1928
1947
|
},
|
|
1929
1948
|
anchorRef: L,
|
|
1930
|
-
insideRefs: [
|
|
1949
|
+
insideRefs: [G],
|
|
1931
1950
|
role: "dialog",
|
|
1932
1951
|
ariaLabel: d.dateTimePanel,
|
|
1933
1952
|
id: me,
|
|
@@ -1960,9 +1979,9 @@ function hu({
|
|
|
1960
1979
|
children: [
|
|
1961
1980
|
/* @__PURE__ */ s("span", { className: C.timeLabel, children: d.timeOfDay }),
|
|
1962
1981
|
/* @__PURE__ */ k("div", { className: C.timeGroup, children: [
|
|
1963
|
-
/* @__PURE__ */ s(ht, { own: U, value: E, onValue: D, max: 23, label: d.hour, next:
|
|
1982
|
+
/* @__PURE__ */ s(ht, { own: U, value: E, onValue: D, max: 23, label: d.hour, next: j }),
|
|
1964
1983
|
/* @__PURE__ */ s("span", { className: C.timeSeparator, children: ":" }),
|
|
1965
|
-
/* @__PURE__ */ s(ht, { own:
|
|
1984
|
+
/* @__PURE__ */ s(ht, { own: j, value: _, onValue: q, max: 59, label: d.minute, next: n ? Q : void 0 }),
|
|
1966
1985
|
n && /* @__PURE__ */ k(we, { children: [
|
|
1967
1986
|
/* @__PURE__ */ s("span", { className: C.timeSeparator, children: ":" }),
|
|
1968
1987
|
/* @__PURE__ */ s(ht, { own: Q, value: b, onValue: F, max: 59, label: d.second })
|
|
@@ -2103,14 +2122,14 @@ function pu({
|
|
|
2103
2122
|
}, L = (B = !0) => {
|
|
2104
2123
|
var z;
|
|
2105
2124
|
v(!1), E(null), _(null), B && ((z = q.current) == null || z.focus());
|
|
2106
|
-
},
|
|
2125
|
+
}, G = (B, z) => {
|
|
2107
2126
|
t(Hn(B, z, "day", !1)), L();
|
|
2108
2127
|
}, T = (B) => {
|
|
2109
2128
|
if (!M) {
|
|
2110
2129
|
E(B), N(B);
|
|
2111
2130
|
return;
|
|
2112
2131
|
}
|
|
2113
|
-
|
|
2132
|
+
G(M, B);
|
|
2114
2133
|
};
|
|
2115
2134
|
ne(() => {
|
|
2116
2135
|
var z, te;
|
|
@@ -2118,7 +2137,7 @@ function pu({
|
|
|
2118
2137
|
const B = F.current;
|
|
2119
2138
|
B && (z = document.activeElement) != null && z.closest(`.${C.grid}`) && ((te = B.querySelector('[data-active="true"]')) == null || te.focus());
|
|
2120
2139
|
}, [g, m]);
|
|
2121
|
-
const U = M ?? (e == null ? void 0 : e.from) ?? null,
|
|
2140
|
+
const U = M ?? (e == null ? void 0 : e.from) ?? null, j = M ? null : (e == null ? void 0 : e.to) ?? null, Q = M ? D : null, me = (() => {
|
|
2122
2141
|
if (M && D) {
|
|
2123
2142
|
const [B, z] = $e(D).getTime() < $e(M).getTime() ? [D, M] : [M, D], te = $t(B, z);
|
|
2124
2143
|
return d.rangePreview(u.dateShort(B), u.dateShort(z), te);
|
|
@@ -2183,7 +2202,7 @@ function pu({
|
|
|
2183
2202
|
isActive: A,
|
|
2184
2203
|
onChoose: (B) => {
|
|
2185
2204
|
const z = B.range();
|
|
2186
|
-
|
|
2205
|
+
G(z.from, z.to);
|
|
2187
2206
|
}
|
|
2188
2207
|
}
|
|
2189
2208
|
),
|
|
@@ -2196,7 +2215,7 @@ function pu({
|
|
|
2196
2215
|
onActive: N,
|
|
2197
2216
|
onPick: T,
|
|
2198
2217
|
bandFrom: U,
|
|
2199
|
-
bandTo:
|
|
2218
|
+
bandTo: j,
|
|
2200
2219
|
previewTo: Q,
|
|
2201
2220
|
onHoverDay: _
|
|
2202
2221
|
}
|
|
@@ -2240,9 +2259,9 @@ function mu({
|
|
|
2240
2259
|
clearable: c = !1,
|
|
2241
2260
|
presets: l
|
|
2242
2261
|
}) {
|
|
2243
|
-
const d = Ie(), u = ce(), p = Ve(), h = r ?? u.dateRangePlaceholder, f = i ?? (d == null ? void 0 : d.invalid) ?? !1, m = se(() => l ?? rn(u), [l, u]), [v, w] = I(!1), [y, g] = I(() => Ce((e == null ? void 0 : e.from) ?? /* @__PURE__ */ new Date())), [N, M] = I(() => (e == null ? void 0 : e.from) ?? /* @__PURE__ */ new Date()), [E, D] = I(null), [_, q] = I(null), [b, F] = I(null), [V, Y] = I(Lt), [L,
|
|
2262
|
+
const d = Ie(), u = ce(), p = Ve(), h = r ?? u.dateRangePlaceholder, f = i ?? (d == null ? void 0 : d.invalid) ?? !1, m = se(() => l ?? rn(u), [l, u]), [v, w] = I(!1), [y, g] = I(() => Ce((e == null ? void 0 : e.from) ?? /* @__PURE__ */ new Date())), [N, M] = I(() => (e == null ? void 0 : e.from) ?? /* @__PURE__ */ new Date()), [E, D] = I(null), [_, q] = I(null), [b, F] = I(null), [V, Y] = I(Lt), [L, G] = I(() => Rt(n)), [T, U] = I(!0), [j, Q] = I("earlier"), [me, A] = I("earlier"), B = R(null), z = R(null), te = R(null), xe = R(null), qe = R(null), oe = R(null), K = R(null), _e = R(null), ye = R(null), Ne = R(null), $ = De(), H = () => {
|
|
2244
2263
|
const Z = (e == null ? void 0 : e.from) ?? /* @__PURE__ */ new Date();
|
|
2245
|
-
g(Ce(Z)), M(Z), D(e ? $e(e.from) : null), q(e ? $e(e.to) : null), Y(e ? fn(e.from, n) : Lt),
|
|
2264
|
+
g(Ce(Z)), M(Z), D(e ? $e(e.from) : null), q(e ? $e(e.to) : null), Y(e ? fn(e.from, n) : Lt), G(e ? fn(e.to, n) : Rt(n)), U(e ? Ji(e.from, e.to, n) : !0), Q(e ? Ot(e.from) : "earlier"), A(e ? Ot(e.to) : "earlier"), F(null), w(!0);
|
|
2246
2265
|
}, S = (Z = !0) => {
|
|
2247
2266
|
var J;
|
|
2248
2267
|
w(!1), F(null), Z && ((J = B.current) == null || J.focus());
|
|
@@ -2268,7 +2287,7 @@ function mu({
|
|
|
2268
2287
|
const x = T ? Lt : V, O = se(
|
|
2269
2288
|
() => T ? Rt(n) : L,
|
|
2270
2289
|
[T, n, L]
|
|
2271
|
-
), ee = se(() => pn(E, x, n), [E, x, n]), ie = se(() => pn(_, O, n), [_, O, n]), le = se(() => mn(ee,
|
|
2290
|
+
), ee = se(() => pn(E, x, n), [E, x, n]), ie = se(() => pn(_, O, n), [_, O, n]), le = se(() => mn(ee, j), [ee, j]), ue = se(() => mn(ie, me), [ie, me]), de = () => {
|
|
2272
2291
|
if (!le || !ue) return;
|
|
2273
2292
|
const [Z, J] = Vi(le, ue);
|
|
2274
2293
|
t({ from: Z, to: J }), S();
|
|
@@ -2437,11 +2456,11 @@ function mu({
|
|
|
2437
2456
|
},
|
|
2438
2457
|
children: [
|
|
2439
2458
|
vt("from", E, V, Y, [xe, qe, oe], K),
|
|
2440
|
-
vt("to", _, L,
|
|
2459
|
+
vt("to", _, L, G, [K, _e, ye])
|
|
2441
2460
|
]
|
|
2442
2461
|
}
|
|
2443
2462
|
),
|
|
2444
|
-
sn(u.sideFrom, ee,
|
|
2463
|
+
sn(u.sideFrom, ee, j, Q),
|
|
2445
2464
|
sn(u.sideTo, ie, me, A)
|
|
2446
2465
|
] })
|
|
2447
2466
|
] }),
|
|
@@ -2592,18 +2611,18 @@ const ua = "_input_14ex4_4 _field_1hv7a_34", ha = "_sm_14ex4_40", fa = "_numeric
|
|
|
2592
2611
|
]
|
|
2593
2612
|
}
|
|
2594
2613
|
);
|
|
2595
|
-
}), wa = "_stack_9r3lk_4", ka = "_grid_9r3lk_9",
|
|
2614
|
+
}), wa = "_stack_9r3lk_4", ka = "_grid_9r3lk_9", Gn = {
|
|
2596
2615
|
stack: wa,
|
|
2597
2616
|
grid: ka
|
|
2598
|
-
},
|
|
2617
|
+
}, jn = (e) => `var(--u-space-${e})`, vu = ae(function({ direction: t = "column", gap: n = 3, align: r, justify: o, wrap: i = !1, className: a, style: c, children: l, ...d }, u) {
|
|
2599
2618
|
return /* @__PURE__ */ s(
|
|
2600
2619
|
"div",
|
|
2601
2620
|
{
|
|
2602
2621
|
ref: u,
|
|
2603
|
-
className: P(
|
|
2622
|
+
className: P(Gn.stack, a),
|
|
2604
2623
|
style: {
|
|
2605
2624
|
flexDirection: t,
|
|
2606
|
-
gap:
|
|
2625
|
+
gap: jn(n),
|
|
2607
2626
|
alignItems: r,
|
|
2608
2627
|
justifyContent: o,
|
|
2609
2628
|
flexWrap: i ? "wrap" : void 0,
|
|
@@ -2618,10 +2637,10 @@ const ua = "_input_14ex4_4 _field_1hv7a_34", ha = "_sm_14ex4_40", fa = "_numeric
|
|
|
2618
2637
|
"div",
|
|
2619
2638
|
{
|
|
2620
2639
|
ref: l,
|
|
2621
|
-
className: P(
|
|
2640
|
+
className: P(Gn.grid, o),
|
|
2622
2641
|
style: {
|
|
2623
2642
|
gridTemplateColumns: n ? `repeat(auto-fit, minmax(min(${n}, 100%), 1fr))` : `repeat(${t}, minmax(0, 1fr))`,
|
|
2624
|
-
gap:
|
|
2643
|
+
gap: jn(r),
|
|
2625
2644
|
...i
|
|
2626
2645
|
},
|
|
2627
2646
|
...c,
|
|
@@ -2679,7 +2698,7 @@ const Ta = "_wrapper_f3ja0_4 _text_1hv7a_23", Ma = "_sm_f3ja0_26", Ca = "_invali
|
|
|
2679
2698
|
onKeyDown: w,
|
|
2680
2699
|
...y
|
|
2681
2700
|
}, g) {
|
|
2682
|
-
const N = Ie(), M = ce(), E = Ve(), D = (K) => E.number(K, a), _ = se(() => or(E), [E]), q = (K) => xa(K, _), b = u ?? (N == null ? void 0 : N.invalid) ?? !1, F = se(() => ({ min: r, max: o, decimals: a }), [r, o, a]), [V, Y] = I(() => t === null ? "" : D(t)), [L,
|
|
2701
|
+
const N = Ie(), M = ce(), E = Ve(), D = (K) => E.number(K, a), _ = se(() => or(E), [E]), q = (K) => xa(K, _), b = u ?? (N == null ? void 0 : N.invalid) ?? !1, F = se(() => ({ min: r, max: o, decimals: a }), [r, o, a]), [V, Y] = I(() => t === null ? "" : D(t)), [L, G] = I(!1);
|
|
2683
2702
|
ne(() => {
|
|
2684
2703
|
L || Y(t === null ? "" : D(t));
|
|
2685
2704
|
}, [t, L, a, E]);
|
|
@@ -2692,10 +2711,10 @@ const Ta = "_wrapper_f3ja0_4 _text_1hv7a_23", Ma = "_sm_f3ja0_26", Ca = "_invali
|
|
|
2692
2711
|
Y(D(_e)), n(_e);
|
|
2693
2712
|
}, U = R(V);
|
|
2694
2713
|
U.current = V;
|
|
2695
|
-
const
|
|
2696
|
-
|
|
2714
|
+
const j = R(t);
|
|
2715
|
+
j.current = t;
|
|
2697
2716
|
const Q = (K, _e = 1) => {
|
|
2698
|
-
const ye = q(U.current) ??
|
|
2717
|
+
const ye = q(U.current) ?? j.current ?? 0;
|
|
2699
2718
|
T(Da(ye, K, i, _e));
|
|
2700
2719
|
}, me = (K) => {
|
|
2701
2720
|
w == null || w(K), !K.defaultPrevented && (K.key !== "ArrowUp" && K.key !== "ArrowDown" || (K.preventDefault(), Q(K.key === "ArrowUp" ? 1 : -1, K.shiftKey ? 10 : 1)));
|
|
@@ -2762,10 +2781,10 @@ const Ta = "_wrapper_f3ja0_4 _text_1hv7a_23", Ma = "_sm_f3ja0_26", Ca = "_invali
|
|
|
2762
2781
|
...y,
|
|
2763
2782
|
onKeyDown: me,
|
|
2764
2783
|
onFocus: (K) => {
|
|
2765
|
-
m == null || m(K),
|
|
2784
|
+
m == null || m(K), G(!0);
|
|
2766
2785
|
},
|
|
2767
2786
|
onBlur: (K) => {
|
|
2768
|
-
v == null || v(K),
|
|
2787
|
+
v == null || v(K), G(!1), T(q(K.currentTarget.value));
|
|
2769
2788
|
}
|
|
2770
2789
|
}
|
|
2771
2790
|
),
|
|
@@ -2777,7 +2796,7 @@ const Ta = "_wrapper_f3ja0_4 _text_1hv7a_23", Ma = "_sm_f3ja0_26", Ca = "_invali
|
|
|
2777
2796
|
]
|
|
2778
2797
|
}
|
|
2779
2798
|
);
|
|
2780
|
-
}), Pa = "_dialog_105hh_8 _text_1hv7a_23", qa = "_spacerTop_105hh_30", Ea = "_spacerBottom_105hh_35", Fa = "_sheet_105hh_2", Ia = "_sm_105hh_52", Ba = "_md_105hh_53", Ha = "_lg_105hh_54", Oa = "_header_105hh_102", Wa = "_headerText_105hh_110", za = "_title_105hh_117",
|
|
2799
|
+
}), Pa = "_dialog_105hh_8 _text_1hv7a_23", qa = "_spacerTop_105hh_30", Ea = "_spacerBottom_105hh_35", Fa = "_sheet_105hh_2", Ia = "_sm_105hh_52", Ba = "_md_105hh_53", Ha = "_lg_105hh_54", Oa = "_header_105hh_102", Wa = "_headerText_105hh_110", za = "_title_105hh_117", Ga = "_description_105hh_125", ja = "_close_105hh_132 _ring_1hv7a_65", Va = "_footer_105hh_158", Ua = "_body_105hh_162 _scroll_1hv7a_40", Ya = "_modalIn_105hh_1", Ka = "_modalOut_105hh_1", Xa = "_backdropIn_105hh_1", Qa = "_backdropOut_105hh_1", Fe = {
|
|
2781
2800
|
dialog: Pa,
|
|
2782
2801
|
spacerTop: qa,
|
|
2783
2802
|
spacerBottom: Ea,
|
|
@@ -2788,15 +2807,15 @@ const Ta = "_wrapper_f3ja0_4 _text_1hv7a_23", Ma = "_sm_f3ja0_26", Ca = "_invali
|
|
|
2788
2807
|
header: Oa,
|
|
2789
2808
|
headerText: Wa,
|
|
2790
2809
|
title: za,
|
|
2791
|
-
description:
|
|
2792
|
-
close:
|
|
2810
|
+
description: Ga,
|
|
2811
|
+
close: ja,
|
|
2793
2812
|
footer: Va,
|
|
2794
2813
|
body: Ua,
|
|
2795
2814
|
modalIn: Ya,
|
|
2796
2815
|
modalOut: Ka,
|
|
2797
2816
|
backdropIn: Xa,
|
|
2798
2817
|
backdropOut: Qa
|
|
2799
|
-
}, Un =
|
|
2818
|
+
}, Un = je(null);
|
|
2800
2819
|
function Za({
|
|
2801
2820
|
open: e,
|
|
2802
2821
|
onClose: t,
|
|
@@ -2916,14 +2935,14 @@ function xu({
|
|
|
2916
2935
|
}, L = X((x) => {
|
|
2917
2936
|
var O;
|
|
2918
2937
|
x && ((O = q.current) == null || O.focus());
|
|
2919
|
-
}, []),
|
|
2938
|
+
}, []), G = se(
|
|
2920
2939
|
() => g === "selected" ? e.filter((x) => M.has(x.value)) : e,
|
|
2921
2940
|
[e, g, M]
|
|
2922
|
-
), T = se(() => En(
|
|
2941
|
+
), T = se(() => En(G, w), [G, w]), U = (x) => {
|
|
2923
2942
|
n(
|
|
2924
2943
|
t.includes(x) ? t.filter((O) => O !== x) : [...t, x]
|
|
2925
2944
|
);
|
|
2926
|
-
},
|
|
2945
|
+
}, j = (x) => {
|
|
2927
2946
|
n(t.filter((O) => O !== x));
|
|
2928
2947
|
}, Q = se(() => No(T), [T]), me = () => n($o(t, Q)), A = () => n(Do(t, Q)), B = () => n(To(t, Q)), z = () => {
|
|
2929
2948
|
var x;
|
|
@@ -2958,7 +2977,7 @@ function xu({
|
|
|
2958
2977
|
return;
|
|
2959
2978
|
}
|
|
2960
2979
|
const ie = ee.indexOf(O);
|
|
2961
|
-
ie !== -1 && (x.key === "ArrowRight" ? (x.preventDefault(), (ue = ee[ie + 1] ?? _.current) == null || ue.focus()) : x.key === "ArrowLeft" ? (x.preventDefault(), (de = ee[ie - 1]) == null || de.focus()) : (x.key === "Delete" || x.key === "Backspace") && O.dataset.value && (x.preventDefault(),
|
|
2980
|
+
ie !== -1 && (x.key === "ArrowRight" ? (x.preventDefault(), (ue = ee[ie + 1] ?? _.current) == null || ue.focus()) : x.key === "ArrowLeft" ? (x.preventDefault(), (de = ee[ie - 1]) == null || de.focus()) : (x.key === "Delete" || x.key === "Backspace") && O.dataset.value && (x.preventDefault(), j(O.dataset.value), requestAnimationFrame(() => {
|
|
2962
2981
|
var be;
|
|
2963
2982
|
const fe = qe();
|
|
2964
2983
|
(be = fe[Math.min(ie, fe.length - 1)] ?? _.current) == null || be.focus();
|
|
@@ -2987,7 +3006,7 @@ function xu({
|
|
|
2987
3006
|
}
|
|
2988
3007
|
ye(fe);
|
|
2989
3008
|
}, []);
|
|
2990
|
-
|
|
3009
|
+
Ge(() => {
|
|
2991
3010
|
H();
|
|
2992
3011
|
}), ne(() => {
|
|
2993
3012
|
const x = D.current;
|
|
@@ -3020,7 +3039,7 @@ function xu({
|
|
|
3020
3039
|
className: re.chip,
|
|
3021
3040
|
"aria-label": d.removeSelectedValue(x.label),
|
|
3022
3041
|
onClick: (O) => {
|
|
3023
|
-
O.stopPropagation(),
|
|
3042
|
+
O.stopPropagation(), j(x.value);
|
|
3024
3043
|
},
|
|
3025
3044
|
children: [
|
|
3026
3045
|
/* @__PURE__ */ s("span", { className: re.chipLabel, children: x.label }),
|
|
@@ -3155,7 +3174,7 @@ function xu({
|
|
|
3155
3174
|
role: "group",
|
|
3156
3175
|
"aria-label": d.options,
|
|
3157
3176
|
onKeyDown: xe,
|
|
3158
|
-
children: T.length === 0 ? /* @__PURE__ */ s("div", { className: re.empty, children: g === "selected" &&
|
|
3177
|
+
children: T.length === 0 ? /* @__PURE__ */ s("div", { className: re.empty, children: g === "selected" && G.length === 0 ? d.nothingSelected : h }) : T.map((x) => /* @__PURE__ */ s(
|
|
3159
3178
|
Jt,
|
|
3160
3179
|
{
|
|
3161
3180
|
className: re.option,
|
|
@@ -3200,16 +3219,16 @@ const Nc = "_group_1rlbr_8 _text_1hv7a_23", $c = "_horizontal_1rlbr_15", Dc = "_
|
|
|
3200
3219
|
const f = Ie(), m = De(), v = l ?? (f == null ? void 0 : f.id) ?? m, w = R(null), y = n !== void 0, g = t.filter((D) => !D.disabled && !c), N = (D) => {
|
|
3201
3220
|
o == null || o(D.value);
|
|
3202
3221
|
}, M = (D) => {
|
|
3203
|
-
var
|
|
3222
|
+
var G, T, U, j;
|
|
3204
3223
|
if (u == null || u(D), D.defaultPrevented) return;
|
|
3205
3224
|
const _ = D.key === "ArrowDown" || D.key === "ArrowRight", q = D.key === "ArrowUp" || D.key === "ArrowLeft";
|
|
3206
3225
|
if (!_ && !q || g.length === 0) return;
|
|
3207
3226
|
D.preventDefault();
|
|
3208
|
-
const b = (y ? n : (T = (
|
|
3227
|
+
const b = (y ? n : (T = (G = w.current) == null ? void 0 : G.querySelector("input:checked")) == null ? void 0 : T.value) ?? null, F = g.findIndex((Q) => Q.value === b), V = F === -1 ? 0 : (F + (_ ? 1 : -1) + g.length) % g.length, Y = g[V];
|
|
3209
3228
|
if (!Y) return;
|
|
3210
|
-
(
|
|
3229
|
+
(j = Array.from(
|
|
3211
3230
|
((U = w.current) == null ? void 0 : U.querySelectorAll('input[type="radio"]')) ?? []
|
|
3212
|
-
).find((Q) => Q.value === Y.value)) == null ||
|
|
3231
|
+
).find((Q) => Q.value === Y.value)) == null || j.focus(), N(Y);
|
|
3213
3232
|
}, E = (D) => {
|
|
3214
3233
|
var q;
|
|
3215
3234
|
return y ? D.disabled || c ? -1 : n === D.value || !g.some((b) => b.value === n) && ((q = g[0]) == null ? void 0 : q.value) === D.value ? 0 : -1 : void 0;
|
|
@@ -3327,10 +3346,10 @@ function Du({ width: e, height: t, circle: n = !1, className: r, style: o, ...i
|
|
|
3327
3346
|
}
|
|
3328
3347
|
);
|
|
3329
3348
|
}
|
|
3330
|
-
const zc = "_group_aix02_7",
|
|
3349
|
+
const zc = "_group_aix02_7", Gc = "_tag_aix02_16 _text_1hv7a_23", jc = "_removable_aix02_31", Vc = "_disabled_aix02_41", Uc = "_text_aix02_45", Yc = "_neutral_aix02_52", Kc = "_accent_aix02_57", Xc = "_success_aix02_62", Qc = "_warning_aix02_67", Zc = "_danger_aix02_72", Jc = "_remove_aix02_79", ot = {
|
|
3331
3350
|
group: zc,
|
|
3332
|
-
tag:
|
|
3333
|
-
removable:
|
|
3351
|
+
tag: Gc,
|
|
3352
|
+
removable: jc,
|
|
3334
3353
|
disabled: Vc,
|
|
3335
3354
|
text: Uc,
|
|
3336
3355
|
neutral: Yc,
|
|
@@ -3339,7 +3358,7 @@ const zc = "_group_aix02_7", jc = "_tag_aix02_16 _text_1hv7a_23", Gc = "_removab
|
|
|
3339
3358
|
warning: Qc,
|
|
3340
3359
|
danger: Zc,
|
|
3341
3360
|
remove: Jc
|
|
3342
|
-
}, Yn =
|
|
3361
|
+
}, Yn = je(!1), Tu = ae(function({ className: t, children: n, onKeyDown: r, onFocus: o, ...i }, a) {
|
|
3343
3362
|
const c = R(null), l = X(
|
|
3344
3363
|
() => {
|
|
3345
3364
|
var h;
|
|
@@ -3447,7 +3466,7 @@ const zc = "_group_aix02_7", jc = "_tag_aix02_16 _text_1hv7a_23", Gc = "_removab
|
|
|
3447
3466
|
indicator: tl,
|
|
3448
3467
|
tab: nl,
|
|
3449
3468
|
panel: rl
|
|
3450
|
-
}, Kn =
|
|
3469
|
+
}, Kn = je(null);
|
|
3451
3470
|
function on(e) {
|
|
3452
3471
|
const t = He(Kn);
|
|
3453
3472
|
if (!t)
|
|
@@ -3469,7 +3488,7 @@ function Su({ className: e, children: t, onKeyDown: n, ...r }) {
|
|
|
3469
3488
|
}
|
|
3470
3489
|
c({ left: p.offsetLeft, width: p.offsetWidth });
|
|
3471
3490
|
}, []);
|
|
3472
|
-
|
|
3491
|
+
Ge(() => {
|
|
3473
3492
|
l();
|
|
3474
3493
|
}, [l, o.value]), ne(() => {
|
|
3475
3494
|
var p;
|
|
@@ -3562,7 +3581,7 @@ const ol = (e, t) => t === void 0 ? void 0 : t - e.length, sl = (e, t, n) => !n
|
|
|
3562
3581
|
...h
|
|
3563
3582
|
}, f) {
|
|
3564
3583
|
const m = Ie(), v = n ?? (m == null ? void 0 : m.invalid) ?? !1, w = R(null);
|
|
3565
|
-
|
|
3584
|
+
jt(f, () => w.current);
|
|
3566
3585
|
const y = X(() => {
|
|
3567
3586
|
const b = w.current;
|
|
3568
3587
|
if (!b || !r) return;
|
|
@@ -3570,7 +3589,7 @@ const ol = (e, t) => t === void 0 ? void 0 : t - e.length, sl = (e, t, n) => !n
|
|
|
3570
3589
|
const F = Number.parseFloat(getComputedStyle(b).lineHeight) || 0;
|
|
3571
3590
|
b.style.height = `${sl(b.scrollHeight, F, o)}px`, b.style.overflowY = o && b.scrollHeight > b.clientHeight ? "auto" : "hidden";
|
|
3572
3591
|
}, [r, o]);
|
|
3573
|
-
|
|
3592
|
+
Ge(y, [y, h.value, h.defaultValue]), ne(() => {
|
|
3574
3593
|
var F;
|
|
3575
3594
|
if (!r) return;
|
|
3576
3595
|
let b = !1;
|
|
@@ -3631,7 +3650,7 @@ const ol = (e, t) => t === void 0 ? void 0 : t - e.length, sl = (e, t, n) => !n
|
|
|
3631
3650
|
descriptionText: $l,
|
|
3632
3651
|
close: Dl,
|
|
3633
3652
|
toastIn: Tl
|
|
3634
|
-
}, Xn =
|
|
3653
|
+
}, Xn = je(null);
|
|
3635
3654
|
function Pu() {
|
|
3636
3655
|
const e = He(Xn);
|
|
3637
3656
|
if (!e)
|
|
@@ -3972,15 +3991,15 @@ function Fu({
|
|
|
3972
3991
|
}
|
|
3973
3992
|
);
|
|
3974
3993
|
}
|
|
3975
|
-
const
|
|
3976
|
-
function
|
|
3994
|
+
const Gl = { from: 0, to: 0, before: 0, after: 0 };
|
|
3995
|
+
function jl({
|
|
3977
3996
|
count: e,
|
|
3978
3997
|
rowHeight: t,
|
|
3979
3998
|
scrollTop: n,
|
|
3980
3999
|
viewportHeight: r,
|
|
3981
4000
|
overscan: o = 4
|
|
3982
4001
|
}) {
|
|
3983
|
-
if (e <= 0 || t <= 0) return
|
|
4002
|
+
if (e <= 0 || t <= 0) return Gl;
|
|
3984
4003
|
const i = Math.max(0, n), a = Math.floor(i / t), c = Math.ceil(Math.max(0, r) / t) + 1, l = Math.max(0, a - o), d = Math.min(e, a + c + o);
|
|
3985
4004
|
return {
|
|
3986
4005
|
from: l,
|
|
@@ -3999,7 +4018,7 @@ function Ul(e, t) {
|
|
|
3999
4018
|
const m = o.current;
|
|
4000
4019
|
m && a(m.scrollTop);
|
|
4001
4020
|
}, []);
|
|
4002
|
-
|
|
4021
|
+
Ge(() => {
|
|
4003
4022
|
const m = o.current;
|
|
4004
4023
|
if (!m) return;
|
|
4005
4024
|
const v = () => l(m.clientHeight);
|
|
@@ -4014,7 +4033,7 @@ function Ul(e, t) {
|
|
|
4014
4033
|
const w = v.getBoundingClientRect().height;
|
|
4015
4034
|
w > 0 && Math.abs(w - d) > 0.5 && u(w);
|
|
4016
4035
|
}, [e, c, d]);
|
|
4017
|
-
const h =
|
|
4036
|
+
const h = jl({ count: e, rowHeight: d, scrollTop: i, viewportHeight: c, overscan: r }), f = X(
|
|
4018
4037
|
(m) => {
|
|
4019
4038
|
const v = o.current;
|
|
4020
4039
|
if (!v) return;
|
|
@@ -4306,7 +4325,7 @@ function Bu(e, t) {
|
|
|
4306
4325
|
() => new Set(r ?? [])
|
|
4307
4326
|
), [E, D] = I(
|
|
4308
4327
|
() => new Set(o ?? [])
|
|
4309
|
-
), [_, q] = I(i), [b, F] = I(null), [V, Y] = I(""), [L,
|
|
4328
|
+
), [_, q] = I(i), [b, F] = I(null), [V, Y] = I(""), [L, G] = I(0), T = se(
|
|
4310
4329
|
() => ({
|
|
4311
4330
|
expanded: a ?? N,
|
|
4312
4331
|
checked: c ?? E,
|
|
@@ -4332,7 +4351,7 @@ function Bu(e, t) {
|
|
|
4332
4351
|
);
|
|
4333
4352
|
ne(() => {
|
|
4334
4353
|
}, [e, n]);
|
|
4335
|
-
const
|
|
4354
|
+
const j = X(
|
|
4336
4355
|
(S) => {
|
|
4337
4356
|
S.expanded !== T.expanded && (a === void 0 && M(S.expanded), p == null || p(S.expanded)), S.checked !== T.checked && (c === void 0 && D(S.checked), h == null || h(S.checked)), S.anchor !== T.anchor && (d === void 0 && F(S.anchor), m == null || m(S.anchor)), S.active !== T.active && (l === void 0 && q(S.active), f == null || f(S.active));
|
|
4338
4357
|
},
|
|
@@ -4355,50 +4374,50 @@ function Bu(e, t) {
|
|
|
4355
4374
|
const W = Q(S);
|
|
4356
4375
|
if (W === void 0 || !W.branch || W.empty) return;
|
|
4357
4376
|
const x = !W.expanded;
|
|
4358
|
-
|
|
4377
|
+
j(x ? Qn(T, S) : Zn(T, S)), x && W.unloaded && (y == null || y(W.node));
|
|
4359
4378
|
},
|
|
4360
|
-
[Q, T,
|
|
4379
|
+
[Q, T, j, y]
|
|
4361
4380
|
), A = X(
|
|
4362
4381
|
(S) => {
|
|
4363
|
-
|
|
4382
|
+
j(yn(bn(e, n, T, S), S));
|
|
4364
4383
|
},
|
|
4365
|
-
[e, n, T,
|
|
4384
|
+
[e, n, T, j]
|
|
4366
4385
|
), B = X(
|
|
4367
4386
|
(S) => {
|
|
4368
4387
|
const W = T.anchor ?? T.active;
|
|
4369
|
-
W !== null &&
|
|
4388
|
+
W !== null && j(Wt(e, n, T, Xl(U, W, S), !0));
|
|
4370
4389
|
},
|
|
4371
|
-
[e, n, T, U,
|
|
4390
|
+
[e, n, T, U, j]
|
|
4372
4391
|
), z = X(
|
|
4373
4392
|
(S) => {
|
|
4374
4393
|
const W = vn(U, T, S);
|
|
4375
|
-
W.active === null || W.active === T.active ||
|
|
4394
|
+
W.active === null || W.active === T.active || j(
|
|
4376
4395
|
yn(
|
|
4377
4396
|
bn(e, n, W, W.active),
|
|
4378
4397
|
W.active
|
|
4379
4398
|
)
|
|
4380
4399
|
);
|
|
4381
4400
|
},
|
|
4382
|
-
[U, T, e, n,
|
|
4401
|
+
[U, T, e, n, j]
|
|
4383
4402
|
), te = X(
|
|
4384
|
-
() =>
|
|
4385
|
-
[e, n, T,
|
|
4403
|
+
() => j(Ql(e, n, T)),
|
|
4404
|
+
[e, n, T, j]
|
|
4386
4405
|
), xe = X(
|
|
4387
4406
|
(S) => {
|
|
4388
|
-
|
|
4407
|
+
j(ze(T, S));
|
|
4389
4408
|
const W = Q(S);
|
|
4390
4409
|
W !== void 0 && (w == null || w(W.node));
|
|
4391
4410
|
},
|
|
4392
|
-
[T,
|
|
4411
|
+
[T, j, Q, w]
|
|
4393
4412
|
), qe = X(
|
|
4394
|
-
(S) =>
|
|
4395
|
-
[U, T,
|
|
4413
|
+
(S) => j(vn(U, T, S)),
|
|
4414
|
+
[U, T, j]
|
|
4396
4415
|
), oe = X(
|
|
4397
4416
|
(S) => {
|
|
4398
4417
|
const { snapshot: W, reached: x } = ed(e, n, T, S);
|
|
4399
|
-
return x === null ? null : (
|
|
4418
|
+
return x === null ? null : (j(ze(W, x)), G((O) => O + 1), x);
|
|
4400
4419
|
},
|
|
4401
|
-
[e, n, T,
|
|
4420
|
+
[e, n, T, j]
|
|
4402
4421
|
), K = X(
|
|
4403
4422
|
(S) => {
|
|
4404
4423
|
const W = Jl(e, n, S);
|
|
@@ -4406,15 +4425,15 @@ function Bu(e, t) {
|
|
|
4406
4425
|
},
|
|
4407
4426
|
[e, n, oe]
|
|
4408
4427
|
), _e = X(() => {
|
|
4409
|
-
|
|
4410
|
-
}, [e, n, T,
|
|
4411
|
-
|
|
4412
|
-
}, [T,
|
|
4428
|
+
j({ ...T, expanded: new Set(td(e, n)) });
|
|
4429
|
+
}, [e, n, T, j]), ye = X(() => {
|
|
4430
|
+
j({ ...T, expanded: /* @__PURE__ */ new Set() });
|
|
4431
|
+
}, [T, j]), Ne = X(
|
|
4413
4432
|
(S) => {
|
|
4414
4433
|
const W = Zl(U, S, T.active);
|
|
4415
|
-
W !== null &&
|
|
4434
|
+
W !== null && j(ze(T, W));
|
|
4416
4435
|
},
|
|
4417
|
-
[U, T,
|
|
4436
|
+
[U, T, j]
|
|
4418
4437
|
), $ = X(
|
|
4419
4438
|
(S) => {
|
|
4420
4439
|
u === void 0 && Y(S), v == null || v(S);
|
|
@@ -4547,9 +4566,9 @@ function dd({ content: e, children: t, delay: n = 300 }) {
|
|
|
4547
4566
|
}, y = () => {
|
|
4548
4567
|
m.current && clearTimeout(m.current), o(!1);
|
|
4549
4568
|
};
|
|
4550
|
-
|
|
4569
|
+
Ge(() => {
|
|
4551
4570
|
r && u(Rn(h.current, p));
|
|
4552
|
-
}, [r, p]),
|
|
4571
|
+
}, [r, p]), Ge(() => {
|
|
4553
4572
|
var D;
|
|
4554
4573
|
if (!r || !d) return;
|
|
4555
4574
|
const N = (D = h.current) == null ? void 0 : D.getBoundingClientRect(), M = f.current;
|
|
@@ -4723,7 +4742,7 @@ function Ld({
|
|
|
4723
4742
|
a !== null && /* @__PURE__ */ s("span", { className: We.age, children: n.relative(a) })
|
|
4724
4743
|
] });
|
|
4725
4744
|
}
|
|
4726
|
-
function
|
|
4745
|
+
function Gu({
|
|
4727
4746
|
label: e,
|
|
4728
4747
|
value: t,
|
|
4729
4748
|
unit: n,
|
|
@@ -4771,7 +4790,7 @@ function Rd(e, t) {
|
|
|
4771
4790
|
function rr(e, t) {
|
|
4772
4791
|
return 2 * t.padding + t.grip + e * (t.gap + t.tool);
|
|
4773
4792
|
}
|
|
4774
|
-
function
|
|
4793
|
+
function Gt(e, t, n, r) {
|
|
4775
4794
|
const o = rr(t, r), i = wt(e), a = (i ? n.height : n.width) - 2 * r.margin, c = (i ? n.width : n.height) - 2 * r.margin;
|
|
4776
4795
|
return o <= a && r.thickness <= c;
|
|
4777
4796
|
}
|
|
@@ -4796,7 +4815,7 @@ function Nn(e, t) {
|
|
|
4796
4815
|
function qd(e, t, n, r) {
|
|
4797
4816
|
return [...bt].sort(
|
|
4798
4817
|
(o, i) => Nn(e, o) - Nn(e, i) || xn.indexOf(o) - xn.indexOf(i)
|
|
4799
|
-
).find((o) =>
|
|
4818
|
+
).find((o) => Gt(o, t, n, r));
|
|
4800
4819
|
}
|
|
4801
4820
|
const Ed = "_root_guuz1_22 _text_1hv7a_23", Fd = "_strip_guuz1_31", Id = "_gripSlot_guuz1_111", Bd = "_grip_guuz1_111 _ring_1hv7a_65", Hd = "_tool_guuz1_157 _ring_1hv7a_65", Od = "_inMode_guuz1_187", Wd = "_refusal_guuz1_199", rt = {
|
|
4802
4821
|
root: Ed,
|
|
@@ -4814,7 +4833,7 @@ function _t(e, t) {
|
|
|
4814
4833
|
const n = Number.parseFloat(e.getPropertyValue(t));
|
|
4815
4834
|
return Number.isFinite(n) ? n : 0;
|
|
4816
4835
|
}
|
|
4817
|
-
const
|
|
4836
|
+
const ju = ae(function({
|
|
4818
4837
|
tools: t,
|
|
4819
4838
|
place: n,
|
|
4820
4839
|
defaultPlace: r = nr,
|
|
@@ -4828,7 +4847,7 @@ const Gu = ae(function({
|
|
|
4828
4847
|
}, p) {
|
|
4829
4848
|
var Ne;
|
|
4830
4849
|
const h = ce(), f = R(null), m = R(null);
|
|
4831
|
-
|
|
4850
|
+
jt(p, () => f.current, []);
|
|
4832
4851
|
const [v, w] = I(r), y = n !== void 0, g = n ?? v, N = R(g);
|
|
4833
4852
|
N.current = g;
|
|
4834
4853
|
const [M, E] = I(null), [D, _] = I(""), q = R(null);
|
|
@@ -4875,13 +4894,13 @@ const Gu = ae(function({
|
|
|
4875
4894
|
strip: H.getBoundingClientRect(),
|
|
4876
4895
|
children: qt(H).map((W) => W.getBoundingClientRect())
|
|
4877
4896
|
};
|
|
4878
|
-
}, []),
|
|
4897
|
+
}, []), G = X(() => {
|
|
4879
4898
|
q.current !== null && (clearTimeout(q.current), q.current = null), E(null);
|
|
4880
4899
|
}, []), T = X(
|
|
4881
4900
|
($) => {
|
|
4882
|
-
$ !== N.current && (V.current = L(N.current),
|
|
4901
|
+
$ !== N.current && (V.current = L(N.current), G(), y || w($), N.current = $, o == null || o($), _(h.dockPlaced(h.dockPlace($))));
|
|
4883
4902
|
},
|
|
4884
|
-
[y,
|
|
4903
|
+
[y, G, L, o, h]
|
|
4885
4904
|
), U = X(
|
|
4886
4905
|
($, H, S, W) => {
|
|
4887
4906
|
const x = rr(S, H);
|
|
@@ -4896,10 +4915,10 @@ const Gu = ae(function({
|
|
|
4896
4915
|
}, ee) : null;
|
|
4897
4916
|
},
|
|
4898
4917
|
[h]
|
|
4899
|
-
),
|
|
4918
|
+
), j = X(
|
|
4900
4919
|
($, H, S, W) => {
|
|
4901
4920
|
if ($ !== N.current) {
|
|
4902
|
-
if (H !== null && S !== null && !
|
|
4921
|
+
if (H !== null && S !== null && !Gt($, t.length, H, S)) {
|
|
4903
4922
|
U($, S, t.length, W);
|
|
4904
4923
|
return;
|
|
4905
4924
|
}
|
|
@@ -4928,11 +4947,11 @@ const Gu = ae(function({
|
|
|
4928
4947
|
const Ee = N.current;
|
|
4929
4948
|
if (W !== null) {
|
|
4930
4949
|
const Je = Rd({ x: he.clientX, y: he.clientY }, W);
|
|
4931
|
-
Je === N.current ?
|
|
4950
|
+
Je === N.current ? G() : j(Je, W, x, !1);
|
|
4932
4951
|
}
|
|
4933
4952
|
N.current !== Ee && (ie = he.clientX, le = he.clientY), ue(he.clientX, he.clientY);
|
|
4934
4953
|
}, fe = () => {
|
|
4935
|
-
Q.current = null, H.removeEventListener("pointermove", de), H.removeEventListener("pointerup", be), H.removeEventListener("pointercancel", be), window.removeEventListener("keydown", ke, !0), H.hasPointerCapture(S) && H.releasePointerCapture(S), delete H.dataset.dragging, H.style.transform = "",
|
|
4954
|
+
Q.current = null, H.removeEventListener("pointermove", de), H.removeEventListener("pointerup", be), H.removeEventListener("pointercancel", be), window.removeEventListener("keydown", ke, !0), H.hasPointerCapture(S) && H.releasePointerCapture(S), delete H.dataset.dragging, H.style.transform = "", G();
|
|
4936
4955
|
}, be = (he) => {
|
|
4937
4956
|
he.pointerId === S && fe();
|
|
4938
4957
|
}, ke = (he) => {
|
|
@@ -4941,7 +4960,7 @@ const Gu = ae(function({
|
|
|
4941
4960
|
H.addEventListener("pointermove", de), H.addEventListener("pointerup", be), H.addEventListener("pointercancel", be), window.addEventListener("keydown", ke, !0), Q.current = fe;
|
|
4942
4961
|
}, A = ($) => {
|
|
4943
4962
|
const H = Pd($.key);
|
|
4944
|
-
H !== void 0 && ($.preventDefault(),
|
|
4963
|
+
H !== void 0 && ($.preventDefault(), j(H, F(), b(), !0));
|
|
4945
4964
|
}, B = t.filter(($) => $.disabled !== !0), [z, te] = I(null), xe = ($) => {
|
|
4946
4965
|
var H;
|
|
4947
4966
|
return Array.from(((H = m.current) == null ? void 0 : H.querySelectorAll("[data-tool]")) ?? []).find((S) => S.dataset.tool === $);
|
|
@@ -4957,7 +4976,7 @@ const Gu = ae(function({
|
|
|
4957
4976
|
}, K = ($) => {
|
|
4958
4977
|
te($.id), c == null || c($.id), i !== void 0 && i !== $.id && (a == null || a($.id));
|
|
4959
4978
|
};
|
|
4960
|
-
|
|
4979
|
+
Ge(() => {
|
|
4961
4980
|
const $ = V.current;
|
|
4962
4981
|
if ($ !== null && $.place === g) return;
|
|
4963
4982
|
_e();
|
|
@@ -5007,7 +5026,7 @@ const Gu = ae(function({
|
|
|
5007
5026
|
if ($ === null || typeof ResizeObserver > "u") return;
|
|
5008
5027
|
const H = new ResizeObserver(() => {
|
|
5009
5028
|
const S = F(), W = b();
|
|
5010
|
-
if (S === null || W === null ||
|
|
5029
|
+
if (S === null || W === null || Gt(N.current, t.length, S, W)) return;
|
|
5011
5030
|
const x = qd(N.current, t.length, S, W);
|
|
5012
5031
|
x !== void 0 && T(x);
|
|
5013
5032
|
});
|
|
@@ -5070,7 +5089,7 @@ const Gu = ae(function({
|
|
|
5070
5089
|
});
|
|
5071
5090
|
function Vu({ open: e, onOpenChange: t, position: n, ariaLabel: r, children: o }) {
|
|
5072
5091
|
const i = R(null), a = R(null);
|
|
5073
|
-
|
|
5092
|
+
Ge(() => {
|
|
5074
5093
|
if (!e) return;
|
|
5075
5094
|
const u = document.activeElement;
|
|
5076
5095
|
a.current = u instanceof HTMLElement && u !== document.body ? u : null;
|
|
@@ -5141,7 +5160,7 @@ export {
|
|
|
5141
5160
|
hu as DateTimePicker,
|
|
5142
5161
|
mu as DateTimeRangePicker,
|
|
5143
5162
|
_u as Divider,
|
|
5144
|
-
|
|
5163
|
+
ju as Dock,
|
|
5145
5164
|
gu as EmptyState,
|
|
5146
5165
|
Kd as FormField,
|
|
5147
5166
|
Hr as FormFieldBoundary,
|
|
@@ -5173,7 +5192,7 @@ export {
|
|
|
5173
5192
|
Sn as Spinner,
|
|
5174
5193
|
tu as SplitButton,
|
|
5175
5194
|
vu as Stack,
|
|
5176
|
-
|
|
5195
|
+
Gu as Stat,
|
|
5177
5196
|
Au as Tab,
|
|
5178
5197
|
Su as TabList,
|
|
5179
5198
|
Lu as TabPanel,
|
|
@@ -5228,5 +5247,5 @@ export {
|
|
|
5228
5247
|
Ul as useVirtual,
|
|
5229
5248
|
ce as useWording,
|
|
5230
5249
|
zu as verdictWeight,
|
|
5231
|
-
|
|
5250
|
+
jl as visibleWindow
|
|
5232
5251
|
};
|
package/dist/de.d.ts
CHANGED
|
@@ -241,6 +241,33 @@ declare interface Wording {
|
|
|
241
241
|
/** The kind of a footer number, read out before the number. */
|
|
242
242
|
footerSum: string;
|
|
243
243
|
footerAverage: string;
|
|
244
|
+
footerMinimum: string;
|
|
245
|
+
footerMaximum: string;
|
|
246
|
+
footerRange: string;
|
|
247
|
+
footerCount: string;
|
|
248
|
+
footerDistinct: string;
|
|
249
|
+
/** An aggregate the application computes itself. */
|
|
250
|
+
footerAggregate: string;
|
|
251
|
+
/** The grouping section of the column menu, and the menu entry per column. */
|
|
252
|
+
grouping: string;
|
|
253
|
+
groupBy: (label: string) => string;
|
|
254
|
+
/** The grouping's tag in the table toolbar: "Grouped by" Line › Customer. */
|
|
255
|
+
groupedBy: string;
|
|
256
|
+
removeGrouping: string;
|
|
257
|
+
removeGroupingLevel: (label: string) => string;
|
|
258
|
+
foldAll: string;
|
|
259
|
+
unfoldAll: string;
|
|
260
|
+
/** The group of rows without a value. */
|
|
261
|
+
groupNoValue: string;
|
|
262
|
+
/** Beside a group repeated at the top of a page that begins inside it. */
|
|
263
|
+
groupContinued: string;
|
|
264
|
+
/** The fold of a group, with its value and its count. */
|
|
265
|
+
foldGroup: (name: string, count: string) => string;
|
|
266
|
+
unfoldGroup: (name: string, count: string) => string;
|
|
267
|
+
/** The box that selects every row of a group. */
|
|
268
|
+
selectGroup: (name: string) => string;
|
|
269
|
+
/** A group of the week key: "Week 42, 2026". */
|
|
270
|
+
calendarWeek: (week: number, year: number) => string;
|
|
244
271
|
/** "128 entries" in the pagination bar; the plural belongs to the language. */
|
|
245
272
|
entries: (count: number, formatted: string) => string;
|
|
246
273
|
/** "3 selected" in the pagination bar and the table toolbar. */
|
package/dist/index.d.ts
CHANGED
|
@@ -2199,6 +2199,33 @@ export declare interface Wording {
|
|
|
2199
2199
|
/** The kind of a footer number, read out before the number. */
|
|
2200
2200
|
footerSum: string;
|
|
2201
2201
|
footerAverage: string;
|
|
2202
|
+
footerMinimum: string;
|
|
2203
|
+
footerMaximum: string;
|
|
2204
|
+
footerRange: string;
|
|
2205
|
+
footerCount: string;
|
|
2206
|
+
footerDistinct: string;
|
|
2207
|
+
/** An aggregate the application computes itself. */
|
|
2208
|
+
footerAggregate: string;
|
|
2209
|
+
/** The grouping section of the column menu, and the menu entry per column. */
|
|
2210
|
+
grouping: string;
|
|
2211
|
+
groupBy: (label: string) => string;
|
|
2212
|
+
/** The grouping's tag in the table toolbar: "Grouped by" Line › Customer. */
|
|
2213
|
+
groupedBy: string;
|
|
2214
|
+
removeGrouping: string;
|
|
2215
|
+
removeGroupingLevel: (label: string) => string;
|
|
2216
|
+
foldAll: string;
|
|
2217
|
+
unfoldAll: string;
|
|
2218
|
+
/** The group of rows without a value. */
|
|
2219
|
+
groupNoValue: string;
|
|
2220
|
+
/** Beside a group repeated at the top of a page that begins inside it. */
|
|
2221
|
+
groupContinued: string;
|
|
2222
|
+
/** The fold of a group, with its value and its count. */
|
|
2223
|
+
foldGroup: (name: string, count: string) => string;
|
|
2224
|
+
unfoldGroup: (name: string, count: string) => string;
|
|
2225
|
+
/** The box that selects every row of a group. */
|
|
2226
|
+
selectGroup: (name: string) => string;
|
|
2227
|
+
/** A group of the week key: "Week 42, 2026". */
|
|
2228
|
+
calendarWeek: (week: number, year: number) => string;
|
|
2202
2229
|
/** "128 entries" in the pagination bar; the plural belongs to the language. */
|
|
2203
2230
|
entries: (count: number, formatted: string) => string;
|
|
2204
2231
|
/** "3 selected" in the pagination bar and the table toolbar. */
|
package/dist/wording/de.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { f as i } from "../formats-DrB9TuzO.js";
|
|
2
|
-
const
|
|
2
|
+
const a = i("de-DE"), l = {
|
|
3
3
|
clearInput: "Eingabe leeren",
|
|
4
4
|
clearSelection: "Auswahl leeren",
|
|
5
5
|
decreaseValue: "Wert verringern",
|
|
@@ -126,6 +126,25 @@ const l = i("de-DE"), r = {
|
|
|
126
126
|
booleanNo: "Nein",
|
|
127
127
|
footerSum: "Summe",
|
|
128
128
|
footerAverage: "Durchschnitt",
|
|
129
|
+
footerMinimum: "Minimum",
|
|
130
|
+
footerMaximum: "Maximum",
|
|
131
|
+
footerRange: "Spanne",
|
|
132
|
+
footerCount: "Anzahl",
|
|
133
|
+
footerDistinct: "Verschiedene Werte",
|
|
134
|
+
footerAggregate: "Aggregat",
|
|
135
|
+
grouping: "Gruppierung",
|
|
136
|
+
groupBy: (e) => `Nach ${e} gruppieren`,
|
|
137
|
+
groupedBy: "Gruppiert nach",
|
|
138
|
+
removeGrouping: "Gruppierung aufheben",
|
|
139
|
+
removeGroupingLevel: (e) => `Nicht mehr nach ${e} gruppieren`,
|
|
140
|
+
foldAll: "Alle zuklappen",
|
|
141
|
+
unfoldAll: "Alle aufklappen",
|
|
142
|
+
groupNoValue: "Kein Wert",
|
|
143
|
+
groupContinued: "Fortsetzung",
|
|
144
|
+
foldGroup: (e, n) => `${e} zuklappen, ${n}`,
|
|
145
|
+
unfoldGroup: (e, n) => `${e} aufklappen, ${n}`,
|
|
146
|
+
selectGroup: (e) => `${e} auswählen`,
|
|
147
|
+
calendarWeek: (e, n) => `KW ${e}/${n}`,
|
|
129
148
|
entries: (e, n) => e === 1 ? "1 Eintrag" : `${n} Einträge`,
|
|
130
149
|
selectedCount: (e, n) => `${n} ausgewählt`,
|
|
131
150
|
noEntries: "Keine Einträge",
|
|
@@ -229,6 +248,6 @@ const l = i("de-DE"), r = {
|
|
|
229
248
|
calculationOperandCount: (e) => `${e} Operanden`
|
|
230
249
|
};
|
|
231
250
|
export {
|
|
232
|
-
|
|
233
|
-
|
|
251
|
+
a as GERMAN_FORMATS,
|
|
252
|
+
l as GERMAN_WORDING
|
|
234
253
|
};
|