@ansible/ansible-ui-framework 2.4.372 → 2.4.373
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +268 -274
- package/index.umd.cjs +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
@@ -18,7 +18,7 @@ var HD = (n, e, t, i) => ({
|
|
18
18
|
}
|
19
19
|
});
|
20
20
|
import * as ne from "react";
|
21
|
-
import F, { useState as Ve, useCallback as ze, useEffect as wt, useRef as mi, useContext as is, createElement as Zq, createContext as cc, useId as vse, Fragment as Xd, useMemo as
|
21
|
+
import F, { useState as Ve, useCallback as ze, useEffect as wt, useRef as mi, useContext as is, createElement as Zq, createContext as cc, useId as vse, Fragment as Xd, useMemo as ht, Component as _se, isValidElement as o4, Children as bL, cloneElement as bse, useLayoutEffect as Xq } from "react";
|
22
22
|
import { Tooltip as ea, Switch as Qq, ButtonVariant as Fc, Dropdown as Jq, DropdownSeparator as yse, DropdownItem as lS, DropdownToggle as eK, KebabToggle as Cse, Button as zt, Split as dh, DropdownPosition as yL, Flex as cr, FlexItem as xn, AlertGroup as wse, Alert as CL, AlertActionCloseButton as Sse, Popover as wL, Stack as sa, StackItem as af, FormGroup as SL, Select as tK, SelectVariant as xse, SelectOption as ls, Modal as m0, ModalVariant as p0, Form as nK, ClipboardCopy as Lse, Truncate as cS, SplitItem as zo, LabelGroup as iK, Label as gw, PageSection as $o, Card as rK, CardHeader as oK, Text as Md, Title as Hl, CardBody as xL, Bullseye as sK, ProgressStepper as kse, ProgressStep as Dse, Skeleton as Ya, DescriptionListGroup as dm, DescriptionListTerm as kT, DescriptionListDescription as hm, DescriptionList as uS, DropdownToggleCheckbox as Ese, SearchInput as aK, MenuToggle as lK, Spinner as s4, Chip as DT, ChipGroup as cK, ToolbarItem as fs, DatePicker as f7, isValidDate as g7, InputGroup as LL, TextInputGroup as Tse, TextInputGroupMain as Ise, TextInputGroupUtilities as Ase, ToolbarToggleGroup as uK, ToolbarGroup as Y_, ToolbarFilter as Ose, ToggleGroup as dK, ToggleGroupItem as mw, ToolbarContent as hK, Toolbar as ET, Pagination as fK, PaginationVariant as gK, EmptyState as a4, EmptyStateVariant as l4, EmptyStateIcon as c4, EmptyStateBody as Gm, EmptyStatePrimary as Nse, Divider as dS, ModalBoxBody as Z_, CardTitle as Mse, CardActions as Pse, Checkbox as u4, CardFooter as Rse, DataList as Fse, DataListItem as Bse, DataListItemRow as Vse, DataListCheck as Wse, DataListItemCells as $se, DataListCell as m7, DataListAction as jse, EmptyStateSecondaryActions as Hse, Progress as zse, ProgressSize as Use, ProgressVariant as p7, Icon as qse, SelectGroup as Kse, TextArea as Gse, TextInput as mK, ActionGroup as Yse, Grid as Zse, PageSectionVariants as v7, PageNavigation as Xse, Breadcrumb as Qse, BreadcrumbItem as Jse, Masthead as eae, MastheadMain as tae, MastheadToggle as nae, PageToggleButton as iae, Tab as rae, PageSectionTypes as pK, Tabs as vK } from "@patternfly/react-core";
|
23
23
|
import { CircleIcon as oae, ExternalLinkAltIcon as _K, OutlinedQuestionCircleIcon as bK, HelpIcon as sae, SyncAltIcon as d4, TimesIcon as yK, TimesCircleIcon as aae, ArrowRightIcon as lae, FilterIcon as CK, SortAmountDownIcon as cae, SortAmountUpIcon as uae, SortNumericDownAltIcon as dae, SortNumericUpIcon as hae, SortAlphaDownAltIcon as fae, SortAlphaUpIcon as gae, ColumnsIcon as mae, TableIcon as pae, ListIcon as vae, ThLargeIcon as _ae, ExclamationCircleIcon as wK, PlusCircleIcon as bae, CubesIcon as yae, SearchIcon as SK, PendingIcon as Cae, CheckCircleIcon as wae, ExclamationTriangleIcon as Sae, EyeIcon as h4, EyeSlashIcon as f4, CopyIcon as xae, AngleRightIcon as Lae, BarsIcon as kae } from "@patternfly/react-icons";
|
24
24
|
import { Link as kL } from "react-router-dom";
|
@@ -644,13 +644,13 @@ Check the top-level render call using <` + Be + ">.");
|
|
644
644
|
return q === i ? jg(Ri) : Dh(Ri), Ri;
|
645
645
|
}
|
646
646
|
}
|
647
|
-
function
|
647
|
+
function ct(q, De, Be) {
|
648
648
|
return Eh(q, De, Be, !0);
|
649
649
|
}
|
650
650
|
function me(q, De, Be) {
|
651
651
|
return Eh(q, De, Be, !1);
|
652
652
|
}
|
653
|
-
var je = me, st =
|
653
|
+
var je = me, st = ct;
|
654
654
|
J0.Fragment = i, J0.jsx = je, J0.jsxs = st;
|
655
655
|
}()), J0;
|
656
656
|
}
|
@@ -2225,17 +2225,17 @@ function b4(n) {
|
|
2225
2225
|
} = n;
|
2226
2226
|
let { actions: d } = n;
|
2227
2227
|
d = d.filter((L) => !jK(L, a)), d = zle(d);
|
2228
|
-
const [h, f] = Ve(!1), g =
|
2228
|
+
const [h, f] = Ve(!1), g = ht(
|
2229
2229
|
() => !d.every(
|
2230
2230
|
(L) => !("selection" in L) || L.selection !== hi.Multiple
|
2231
2231
|
),
|
2232
2232
|
[d]
|
2233
|
-
), m =
|
2233
|
+
), m = ht(
|
2234
2234
|
() => d.find(
|
2235
2235
|
(L) => L.type !== yr.Seperator && L.icon !== void 0
|
2236
2236
|
) !== void 0,
|
2237
2237
|
[d]
|
2238
|
-
), p =
|
2238
|
+
), p = ht(
|
2239
2239
|
() => d.find(
|
2240
2240
|
(L) => L.type !== yr.Seperator && L.type === yr.Switch
|
2241
2241
|
) !== void 0,
|
@@ -2526,10 +2526,10 @@ function Xle(n) {
|
|
2526
2526
|
function L1(n) {
|
2527
2527
|
const { actions: e, selectedItem: t, iconOnly: i, onOpen: r } = n, o = bs(
|
2528
2528
|
n.collapse !== "never" && n.collapse !== "always" ? n.collapse ?? "lg" : "lg"
|
2529
|
-
), s = n.collapse !== "never" && (n.collapse === "always" || !o), a =
|
2529
|
+
), s = n.collapse !== "never" && (n.collapse === "always" || !o), a = ht(
|
2530
2530
|
() => e.filter((f) => !jK(f, t)),
|
2531
2531
|
[e, t]
|
2532
|
-
), l =
|
2532
|
+
), l = ht(() => s ? [] : a == null ? void 0 : a.filter(M7), [s, a]), c = ht(() => s ? a : (a == null ? void 0 : a.filter((f) => !M7(f))) ?? [], [s, a]), [u, d] = Ve({});
|
2533
2533
|
wt(() => {
|
2534
2534
|
Object.values(u).find((f) => f) ? r == null || r(!0) : r == null || r(!1);
|
2535
2535
|
}, [r, u]);
|
@@ -7927,7 +7927,7 @@ function ide(n) {
|
|
7927
7927
|
] });
|
7928
7928
|
}
|
7929
7929
|
function Zbt(n) {
|
7930
|
-
const e =
|
7930
|
+
const e = ht(() => new Date(n.start ?? 0).valueOf(), [n.start]), t = ht(() => new Date(n.finish ?? 0).valueOf(), [n.finish]), [i, r] = Ve(Math.max(0, t - e.valueOf()));
|
7931
7931
|
wt(() => {
|
7932
7932
|
const u = setInterval(() => {
|
7933
7933
|
e && (n.finish ? r(Math.max(0, t - e)) : r(Math.max(0, Date.now() - e)));
|
@@ -31904,13 +31904,13 @@ function ho(n) {
|
|
31904
31904
|
}
|
31905
31905
|
}
|
31906
31906
|
function WJ(n) {
|
31907
|
-
return
|
31907
|
+
return ht(
|
31908
31908
|
() => n.filter((e) => !(e.table === "hidden" || e.table === "description" || e.table === "expanded")),
|
31909
31909
|
[n]
|
31910
31910
|
);
|
31911
31911
|
}
|
31912
31912
|
function gUe(n) {
|
31913
|
-
return
|
31913
|
+
return ht(
|
31914
31914
|
() => n.filter(
|
31915
31915
|
(e) => e.list !== "hidden"
|
31916
31916
|
/* Hidden */
|
@@ -31919,7 +31919,7 @@ function gUe(n) {
|
|
31919
31919
|
);
|
31920
31920
|
}
|
31921
31921
|
function mUe(n) {
|
31922
|
-
return
|
31922
|
+
return ht(
|
31923
31923
|
() => n.filter(
|
31924
31924
|
(e) => e.card !== "hidden"
|
31925
31925
|
/* Hidden */
|
@@ -31928,7 +31928,7 @@ function mUe(n) {
|
|
31928
31928
|
);
|
31929
31929
|
}
|
31930
31930
|
function $J(n) {
|
31931
|
-
return
|
31931
|
+
return ht(
|
31932
31932
|
() => n.filter(
|
31933
31933
|
(e) => e.modal !== "hidden"
|
31934
31934
|
/* Hidden */
|
@@ -31948,22 +31948,22 @@ function i1t(n, e) {
|
|
31948
31948
|
}
|
31949
31949
|
}
|
31950
31950
|
function pUe(n) {
|
31951
|
-
return
|
31951
|
+
return ht(
|
31952
31952
|
() => n.filter((e) => e.table === "hidden" ? !1 : e.table === "description"),
|
31953
31953
|
[n]
|
31954
31954
|
);
|
31955
31955
|
}
|
31956
31956
|
function vUe(n) {
|
31957
|
-
return
|
31957
|
+
return ht(
|
31958
31958
|
() => n.filter((e) => e.table === "hidden" ? !1 : e.table === "expanded"),
|
31959
31959
|
[n]
|
31960
31960
|
);
|
31961
31961
|
}
|
31962
31962
|
function r1t(n) {
|
31963
|
-
return
|
31963
|
+
return ht(() => n.map((e) => ({ ...e, sort: void 0 })), [n]);
|
31964
31964
|
}
|
31965
31965
|
function o1t(n) {
|
31966
|
-
return
|
31966
|
+
return ht(
|
31967
31967
|
() => n.map((e) => ({
|
31968
31968
|
...e,
|
31969
31969
|
table: e.table === "expanded" ? void 0 : e.table
|
@@ -32050,7 +32050,7 @@ function CUe(n) {
|
|
32050
32050
|
function wUe(n) {
|
32051
32051
|
const [e, t] = Ve(!1), i = bs("sm"), [r] = Ji(), { pageItems: o, selectedItems: s, selectItems: a, unselectAll: l } = n, c = n.itemCount !== void 0 && n.itemCount > 0 && o && o.length > 0 && (o ?? []).every((p) => s == null ? void 0 : s.includes(p)), u = ze(() => {
|
32052
32052
|
c ? l == null || l() : a == null || a(o ?? []);
|
32053
|
-
}, [c, l, a, o]), d =
|
32053
|
+
}, [c, l, a, o]), d = ht(() => i ? s && s.length > 0 ? `${s.length} selected` : "" : s && s.length > 0 ? `${s.length}` : "", [i, s]), h = ht(() => {
|
32054
32054
|
const p = s ? s.length : 0;
|
32055
32055
|
return /* @__PURE__ */ x.jsx(
|
32056
32056
|
eK,
|
@@ -32071,7 +32071,7 @@ function wUe(n) {
|
|
32071
32071
|
onToggle: (_) => t(_)
|
32072
32072
|
}
|
32073
32073
|
);
|
32074
|
-
}, [s, c, u, d]), f =
|
32074
|
+
}, [s, c, u, d]), f = ht(() => /* @__PURE__ */ x.jsx(
|
32075
32075
|
lS,
|
32076
32076
|
{
|
32077
32077
|
id: "select-none",
|
@@ -32081,7 +32081,7 @@ function wUe(n) {
|
|
32081
32081
|
children: n.selectNoneText ?? r.selectNone
|
32082
32082
|
},
|
32083
32083
|
"select-none"
|
32084
|
-
), [n.selectNoneText, r.selectNone, l]), g =
|
32084
|
+
), [n.selectNoneText, r.selectNone, l]), g = ht(() => /* @__PURE__ */ x.jsx(
|
32085
32085
|
lS,
|
32086
32086
|
{
|
32087
32087
|
id: "select-page",
|
@@ -32091,7 +32091,7 @@ function wUe(n) {
|
|
32091
32091
|
children: `Select ${(o == null ? void 0 : o.length) ?? 0} page items`
|
32092
32092
|
},
|
32093
32093
|
"select-page"
|
32094
|
-
), [a, o]), m =
|
32094
|
+
), [a, o]), m = ht(
|
32095
32095
|
() => [f, g],
|
32096
32096
|
[f, g]
|
32097
32097
|
);
|
@@ -33685,18 +33685,18 @@ const FR = (n) => {
|
|
33685
33685
|
};
|
33686
33686
|
FR.displayName = "SelectOption";
|
33687
33687
|
function Vd(n) {
|
33688
|
-
const { t: e } = to(), { id: t, icon: i, value: r, onSelect: o, options: s, placeholder: a } = n, [l, c] = Ve(!1), u =
|
33689
|
-
() => s.find((
|
33688
|
+
const { t: e } = to(), { id: t, icon: i, value: r, onSelect: o, options: s, placeholder: a } = n, [l, c] = Ve(!1), u = ht(
|
33689
|
+
() => s.find((_) => r === _.value),
|
33690
33690
|
[s, r]
|
33691
|
-
), d = (
|
33691
|
+
), d = (_) => /* @__PURE__ */ x.jsxs(
|
33692
33692
|
lK,
|
33693
33693
|
{
|
33694
33694
|
id: t,
|
33695
|
-
ref:
|
33696
|
-
onClick: () => c((
|
33695
|
+
ref: _,
|
33696
|
+
onClick: () => c((v) => !v),
|
33697
33697
|
isExpanded: l,
|
33698
|
-
onKeyDown: (
|
33699
|
-
switch (
|
33698
|
+
onKeyDown: (v) => {
|
33699
|
+
switch (v.key) {
|
33700
33700
|
default:
|
33701
33701
|
c(!0);
|
33702
33702
|
break;
|
@@ -33708,9 +33708,9 @@ function Vd(n) {
|
|
33708
33708
|
]
|
33709
33709
|
}
|
33710
33710
|
), h = ze(
|
33711
|
-
(
|
33712
|
-
const
|
33713
|
-
|
33711
|
+
(_, v) => {
|
33712
|
+
const b = s.find((y) => y.key !== void 0 ? y.key === v : y.label === v);
|
33713
|
+
b && (o(b.value), c(!1));
|
33714
33714
|
},
|
33715
33715
|
[o, s]
|
33716
33716
|
), [f, g] = Ve(""), m = mi(null);
|
@@ -33719,12 +33719,9 @@ function Vd(n) {
|
|
33719
33719
|
}, [l]), wt(() => {
|
33720
33720
|
n.isRequired && !u && s.length > 0 && o(s[0].value);
|
33721
33721
|
}, [o, s, n.isRequired, u]);
|
33722
|
-
const p =
|
33723
|
-
() => s.filter((
|
33722
|
+
const p = ht(
|
33723
|
+
() => s.filter((_) => f === "" ? !0 : _.label.toLowerCase().includes(f.toLowerCase())),
|
33724
33724
|
[s, f]
|
33725
|
-
), _ = lt(
|
33726
|
-
() => p.length > 10 || f,
|
33727
|
-
[f, p.length]
|
33728
33725
|
);
|
33729
33726
|
return /* @__PURE__ */ x.jsx("div", { className: "page-single-select", children: /* @__PURE__ */ x.jsxs(
|
33730
33727
|
_b,
|
@@ -33736,26 +33733,26 @@ function Vd(n) {
|
|
33736
33733
|
toggle: d,
|
33737
33734
|
style: { zIndex: l ? 9999 : void 0 },
|
33738
33735
|
children: [
|
33739
|
-
|
33736
|
+
/* @__PURE__ */ x.jsx("div", { className: "page-select-header", children: /* @__PURE__ */ x.jsx(
|
33740
33737
|
aK,
|
33741
33738
|
{
|
33742
33739
|
id: t ? `${t}-search` : void 0,
|
33743
33740
|
ref: m,
|
33744
33741
|
value: f,
|
33745
|
-
onChange: (
|
33746
|
-
onClear: (
|
33747
|
-
|
33742
|
+
onChange: (_, v) => g(v),
|
33743
|
+
onClear: (_) => {
|
33744
|
+
_.stopPropagation(), g("");
|
33748
33745
|
}
|
33749
33746
|
}
|
33750
33747
|
) }),
|
33751
|
-
p.length === 0 ? /* @__PURE__ */ x.jsx("div", { style: { margin: 16 }, children: e("No results found") }) : /* @__PURE__ */ x.jsx(RR, { className: "page-select-list", children: p.map((
|
33748
|
+
p.length === 0 ? /* @__PURE__ */ x.jsx("div", { style: { margin: 16 }, children: e("No results found") }) : /* @__PURE__ */ x.jsx(RR, { className: "page-select-list", children: p.map((_) => /* @__PURE__ */ x.jsx(
|
33752
33749
|
FR,
|
33753
33750
|
{
|
33754
|
-
itemId:
|
33755
|
-
description:
|
33756
|
-
children:
|
33751
|
+
itemId: _.key !== void 0 ? _.key : _.label,
|
33752
|
+
description: _.description,
|
33753
|
+
children: _.label
|
33757
33754
|
},
|
33758
|
-
|
33755
|
+
_.key !== void 0 ? _.key : _.label
|
33759
33756
|
)) }),
|
33760
33757
|
n.footer && /* @__PURE__ */ x.jsx("div", { className: "page-select-footer", children: n.footer })
|
33761
33758
|
]
|
@@ -33845,19 +33842,19 @@ function aKe(n) {
|
|
33845
33842
|
) : /* @__PURE__ */ x.jsx(zt, { id: n.id, variant: "control", isLoading: !0, children: n.queryPlaceholder ?? e("Loading options...") });
|
33846
33843
|
}
|
33847
33844
|
function iee(n) {
|
33848
|
-
const { t: e } = to(), { id: t, icon: i, placeholder: r, values: o, onSelect: s, options: a, variant: l, disableClearSelection: c } = n, [u, d] = Ve(!1), h =
|
33849
|
-
() => a.filter((
|
33845
|
+
const { t: e } = to(), { id: t, icon: i, placeholder: r, values: o, onSelect: s, options: a, variant: l, disableClearSelection: c } = n, [u, d] = Ve(!1), h = ht(
|
33846
|
+
() => a.filter((y) => o == null ? !1 : o.includes(y.value)),
|
33850
33847
|
[a, o]
|
33851
|
-
), f = (
|
33848
|
+
), f = (y) => /* @__PURE__ */ x.jsxs(
|
33852
33849
|
lK,
|
33853
33850
|
{
|
33854
33851
|
isFullWidth: !0,
|
33855
33852
|
id: t,
|
33856
|
-
ref:
|
33857
|
-
onClick: () => d((
|
33853
|
+
ref: y,
|
33854
|
+
onClick: () => d((w) => !w),
|
33858
33855
|
isExpanded: u,
|
33859
|
-
onKeyDown: (
|
33860
|
-
switch (
|
33856
|
+
onKeyDown: (w) => {
|
33857
|
+
switch (w.key) {
|
33861
33858
|
default:
|
33862
33859
|
d(!0);
|
33863
33860
|
break;
|
@@ -33874,7 +33871,7 @@ function iee(n) {
|
|
33874
33871
|
children: h.length
|
33875
33872
|
}
|
33876
33873
|
) : /* @__PURE__ */ x.jsxs(x.Fragment, { children: [
|
33877
|
-
/* @__PURE__ */ x.jsx(cK, { children: h.map((
|
33874
|
+
/* @__PURE__ */ x.jsx(cK, { children: h.map((w) => /* @__PURE__ */ x.jsx(DT, { isReadOnly: !0, style: { marginTop: -2, marginBottom: -2 }, children: w.label }, w.label)) }),
|
33878
33875
|
!c && /* @__PURE__ */ x.jsx(
|
33879
33876
|
yK,
|
33880
33877
|
{
|
@@ -33888,11 +33885,11 @@ function iee(n) {
|
|
33888
33885
|
] }) }) : /* @__PURE__ */ x.jsx("span", { className: "page-select-placeholder", children: r })
|
33889
33886
|
]
|
33890
33887
|
}
|
33891
|
-
), g =
|
33892
|
-
(
|
33893
|
-
s((
|
33894
|
-
const
|
33895
|
-
return
|
33888
|
+
), g = ht(() => h.map((y) => y.label), [h]), m = ze(
|
33889
|
+
(y, w) => {
|
33890
|
+
s((k) => {
|
33891
|
+
const L = a.find((D) => D.key !== void 0 ? D.key === w : D.label === w);
|
33892
|
+
return L && ((k == null ? void 0 : k.find((D) => D === L.value)) !== void 0 ? k = k.filter((D) => D !== L.value) : (k = k ? [...k] : [], k.push(L.value))), k;
|
33896
33893
|
});
|
33897
33894
|
},
|
33898
33895
|
[s, a]
|
@@ -33900,12 +33897,9 @@ function iee(n) {
|
|
33900
33897
|
wt(() => {
|
33901
33898
|
_(""), u && v.current && v.current.focus();
|
33902
33899
|
}, [u]);
|
33903
|
-
const b =
|
33904
|
-
() => a.filter((
|
33900
|
+
const b = ht(
|
33901
|
+
() => a.filter((y) => p === "" ? !0 : y.label.toLowerCase().includes(p.toLowerCase())),
|
33905
33902
|
[a, p]
|
33906
|
-
), y = lt(
|
33907
|
-
() => b.length > 10 || p,
|
33908
|
-
[p, b.length]
|
33909
33903
|
);
|
33910
33904
|
return /* @__PURE__ */ x.jsx("div", { className: "page-multi-select", children: /* @__PURE__ */ x.jsxs(
|
33911
33905
|
_b,
|
@@ -33917,28 +33911,28 @@ function iee(n) {
|
|
33917
33911
|
toggle: f,
|
33918
33912
|
style: { zIndex: u ? 9999 : void 0 },
|
33919
33913
|
children: [
|
33920
|
-
|
33914
|
+
/* @__PURE__ */ x.jsx("div", { className: "page-select-header", children: /* @__PURE__ */ x.jsx(
|
33921
33915
|
aK,
|
33922
33916
|
{
|
33923
33917
|
id: t ? `${t}-search` : void 0,
|
33924
33918
|
ref: v,
|
33925
33919
|
value: p,
|
33926
|
-
onChange: (
|
33927
|
-
onClear: (
|
33928
|
-
|
33920
|
+
onChange: (y, w) => _(w),
|
33921
|
+
onClear: (y) => {
|
33922
|
+
y.stopPropagation(), _("");
|
33929
33923
|
}
|
33930
33924
|
}
|
33931
33925
|
) }),
|
33932
|
-
b.length === 0 ? /* @__PURE__ */ x.jsx("div", { style: { margin: 16 }, children: e("No results found") }) : /* @__PURE__ */ x.jsx(RR, { className: "page-select-list", children: b.map((
|
33926
|
+
b.length === 0 ? /* @__PURE__ */ x.jsx("div", { style: { margin: 16 }, children: e("No results found") }) : /* @__PURE__ */ x.jsx(RR, { className: "page-select-list", children: b.map((y) => /* @__PURE__ */ x.jsx(
|
33933
33927
|
FR,
|
33934
33928
|
{
|
33935
|
-
itemId:
|
33936
|
-
description:
|
33929
|
+
itemId: y.key !== void 0 ? y.key : y.label,
|
33930
|
+
description: y.description ? /* @__PURE__ */ x.jsx("div", { style: { maxWidth: 300 }, children: y.description }) : void 0,
|
33937
33931
|
hasCheck: !0,
|
33938
|
-
isSelected: h.includes(
|
33939
|
-
children:
|
33932
|
+
isSelected: h.includes(y),
|
33933
|
+
children: y.label
|
33940
33934
|
},
|
33941
|
-
|
33935
|
+
y.key !== void 0 ? y.key : y.label
|
33942
33936
|
)) }),
|
33943
33937
|
n.footer && /* @__PURE__ */ x.jsx("div", { className: "page-select-footer", children: n.footer })
|
33944
33938
|
]
|
@@ -34409,7 +34403,7 @@ function _W(n) {
|
|
34409
34403
|
}
|
34410
34404
|
}
|
34411
34405
|
function gKe(n) {
|
34412
|
-
const { sort: e, setSort: t, sortDirection: i, setSortDirection: r, sortOptions: o } = n, s = o == null ? void 0 : o.find((u) => u.value === e), a = s ? s.type : void 0, [l] = Ji(), c =
|
34406
|
+
const { sort: e, setSort: t, sortDirection: i, setSortDirection: r, sortOptions: o } = n, s = o == null ? void 0 : o.find((u) => u.value === e), a = s ? s.type : void 0, [l] = Ji(), c = ht(() => {
|
34413
34407
|
switch (a) {
|
34414
34408
|
case "text":
|
34415
34409
|
switch (i) {
|
@@ -34487,7 +34481,7 @@ function mKe(n) {
|
|
34487
34481
|
);
|
34488
34482
|
}
|
34489
34483
|
function pKe(n) {
|
34490
|
-
return
|
34484
|
+
return ht(() => {
|
34491
34485
|
const t = [];
|
34492
34486
|
for (const i of n)
|
34493
34487
|
if (i.sort) {
|
@@ -34810,7 +34804,7 @@ function l1t(n, e, t) {
|
|
34810
34804
|
e,
|
34811
34805
|
t == null ? void 0 : t.search
|
34812
34806
|
), { paged: b, page: y, setPage: w, perPage: k, setPerPage: L } = Ek(m), D = ze(() => a(b), [b, a]), E = ze(() => a(m), [m, a]);
|
34813
|
-
return
|
34807
|
+
return ht(
|
34814
34808
|
() => ({
|
34815
34809
|
allSelected: c,
|
34816
34810
|
filtered: f,
|
@@ -34914,11 +34908,11 @@ function ree(n, e, t) {
|
|
34914
34908
|
[s]
|
34915
34909
|
), d = ze(() => {
|
34916
34910
|
r((g) => Object.keys(g).length > 0 ? {} : g);
|
34917
|
-
}, []), h =
|
34911
|
+
}, []), h = ht(() => Object.values(i), [i]), f = ht(
|
34918
34912
|
() => h.length === n.length,
|
34919
34913
|
[n.length, h.length]
|
34920
34914
|
);
|
34921
|
-
return
|
34915
|
+
return ht(
|
34922
34916
|
() => ({
|
34923
34917
|
selectedItems: h,
|
34924
34918
|
selectItem: o,
|
@@ -35012,11 +35006,11 @@ function LKe(n, e) {
|
|
35012
35006
|
l(n ?? []);
|
35013
35007
|
}, [n, l]), u = ze(() => {
|
35014
35008
|
i((f) => Object.keys(f).length > 0 ? {} : f);
|
35015
|
-
}, []), d =
|
35009
|
+
}, []), d = ht(() => Object.values(t), [t]), h = ht(
|
35016
35010
|
() => d.length === (n == null ? void 0 : n.length),
|
35017
35011
|
[n, d.length]
|
35018
35012
|
);
|
35019
|
-
return
|
35013
|
+
return ht(
|
35020
35014
|
() => ({
|
35021
35015
|
selectedItems: d,
|
35022
35016
|
selectItem: r,
|
@@ -35044,8 +35038,8 @@ function LKe(n, e) {
|
|
35044
35038
|
);
|
35045
35039
|
}
|
35046
35040
|
function oee(n) {
|
35047
|
-
const [e, t] = Ve(), { direction: i, sortFn: r } = e ?? {}, o =
|
35048
|
-
return
|
35041
|
+
const [e, t] = Ve(), { direction: i, sortFn: r } = e ?? {}, o = ht(() => n ? r ? i === "asc" ? [...n.sort(r)] : [...n.sort(r).reverse()] : n : [], [i, n, r]);
|
35042
|
+
return ht(() => ({ sorted: o, sort: e, setSort: t }), [e, o]);
|
35049
35043
|
}
|
35050
35044
|
function see(n, e) {
|
35051
35045
|
const t = mi({
|
@@ -35067,7 +35061,7 @@ function see(n, e) {
|
|
35067
35061
|
);
|
35068
35062
|
return wt(() => {
|
35069
35063
|
a(i ? n.filter(l) : n);
|
35070
|
-
}, [n, i, l]),
|
35064
|
+
}, [n, i, l]), ht(
|
35071
35065
|
function() {
|
35072
35066
|
return { filtered: s, setFilterFn: o };
|
35073
35067
|
},
|
@@ -35099,7 +35093,7 @@ function kKe(n, e, t) {
|
|
35099
35093
|
l(
|
35100
35094
|
r && c ? n.map(h).filter((f) => f.score < 0.5).sort((f, g) => f.score - g.score).map((f) => f.item) : n
|
35101
35095
|
);
|
35102
|
-
}, [c, n, r, h]),
|
35096
|
+
}, [c, n, r, h]), ht(
|
35103
35097
|
function() {
|
35104
35098
|
return { searched: a, search: c, setSearch: d, setSearchFn: s };
|
35105
35099
|
},
|
@@ -35121,7 +35115,7 @@ function Ek(n) {
|
|
35121
35115
|
});
|
35122
35116
|
}, [i, o, n]), wt(() => {
|
35123
35117
|
i > Math.ceil(n.length / o) && r(1);
|
35124
|
-
}, [i, o, n.length]),
|
35118
|
+
}, [i, o, n.length]), ht(() => ({ paged: e, page: i, setPage: r, perPage: o, setPerPage: s }), [i, e, o]);
|
35125
35119
|
}
|
35126
35120
|
const W5 = {
|
35127
35121
|
button: "pf-c-button",
|
@@ -35339,7 +35333,7 @@ function EKe(n) {
|
|
35339
35333
|
}
|
35340
35334
|
} catch {
|
35341
35335
|
}
|
35342
|
-
}), l =
|
35336
|
+
}), l = ht(() => s ? n.items.map((h) => {
|
35343
35337
|
if (o) {
|
35344
35338
|
const f = s.find((g) => g.key === i(h));
|
35345
35339
|
f && f.state && o(h, f.state);
|
@@ -35348,7 +35342,7 @@ function EKe(n) {
|
|
35348
35342
|
}).sort((h, f) => {
|
35349
35343
|
const g = s.findIndex((p) => p.key === i(h)), m = s.findIndex((p) => p.key === i(f));
|
35350
35344
|
return g === -1 && m === -1 ? 0 : g === -1 ? 1 : m === -1 ? -1 : g - m;
|
35351
|
-
}) : n.items, [s, i, o, n.items]), c =
|
35345
|
+
}) : n.items, [s, i, o, n.items]), c = ht(() => s ? l.filter((h) => {
|
35352
35346
|
const f = s.find((g) => g.key === i(h));
|
35353
35347
|
return f ? f.enabled : !0;
|
35354
35348
|
}) : l, [l, s, i]), u = ze(
|
@@ -35426,7 +35420,7 @@ function TKe(n) {
|
|
35426
35420
|
);
|
35427
35421
|
}
|
35428
35422
|
function IKe(n, e, t, i, r) {
|
35429
|
-
const { t: o } = to(), s =
|
35423
|
+
const { t: o } = to(), s = ht(() => {
|
35430
35424
|
const d = [{ header: o("Column Name"), cell: (h) => h.header }];
|
35431
35425
|
return t || d.push({
|
35432
35426
|
header: o("Table View"),
|
@@ -35691,7 +35685,7 @@ function jKe(n) {
|
|
35691
35685
|
itemActions: s,
|
35692
35686
|
showSelect: a,
|
35693
35687
|
defaultCardSubtitle: l
|
35694
|
-
} = n, c =
|
35688
|
+
} = n, c = ht(() => t(e), [e, t]), u = !!(i != null && i(e)), d = ze(() => {
|
35695
35689
|
i != null && i(e) ? o == null || o(e) : r == null || r(e);
|
35696
35690
|
}, [i, e, r, o]), h = s !== void 0 && s.length > 0, f = a || h;
|
35697
35691
|
return /* @__PURE__ */ x.jsxs(
|
@@ -35769,7 +35763,7 @@ function jKe(n) {
|
|
35769
35763
|
);
|
35770
35764
|
}
|
35771
35765
|
function HKe(n, e) {
|
35772
|
-
const t =
|
35766
|
+
const t = ht(() => {
|
35773
35767
|
let c, u, d;
|
35774
35768
|
const h = [];
|
35775
35769
|
let f;
|
@@ -35812,7 +35806,7 @@ function HKe(n, e) {
|
|
35812
35806
|
labelColumn: f
|
35813
35807
|
};
|
35814
35808
|
}, [n]), { nameColumn: i, subtitleColumn: r, descriptionColumn: o, countColumns: s, cardColumns: a, labelColumn: l } = t;
|
35815
|
-
return
|
35809
|
+
return ht(() => (c) => {
|
35816
35810
|
var f, g;
|
35817
35811
|
let u = !!o;
|
35818
35812
|
o != null && o.value && !o.value(c) && (u = !1);
|
@@ -35855,7 +35849,7 @@ function zKe(n) {
|
|
35855
35849
|
rowActions: a,
|
35856
35850
|
showSelect: l,
|
35857
35851
|
defaultSubtitle: c
|
35858
|
-
} = n, u = HKe(i, e), d =
|
35852
|
+
} = n, u = HKe(i, e), d = ht(() => /* @__PURE__ */ x.jsx(OKe, { size: 400, children: t == null ? void 0 : t.map((h) => /* @__PURE__ */ x.jsx(
|
35859
35853
|
jKe,
|
35860
35854
|
{
|
35861
35855
|
item: h,
|
@@ -35905,7 +35899,7 @@ function UKe(n) {
|
|
35905
35899
|
return /* @__PURE__ */ x.jsx(Fse, { "aria-label": "TODO", style: { marginTop: -1, maxWidth: "100%", overflow: "hidden" }, children: t == null ? void 0 : t.map(u) });
|
35906
35900
|
}
|
35907
35901
|
function qKe(n, e, t, i, r, o, s, a) {
|
35908
|
-
const l =
|
35902
|
+
const l = ht(() => {
|
35909
35903
|
let _, v, b;
|
35910
35904
|
const y = [];
|
35911
35905
|
let w;
|
@@ -36177,7 +36171,7 @@ function XKe(n) {
|
|
36177
36171
|
clearAllFilters: u,
|
36178
36172
|
onSelect: d,
|
36179
36173
|
unselectAll: h
|
36180
|
-
} = n, f = WJ(n.tableColumns), g = pUe(n.tableColumns), m = vUe(n.tableColumns), p =
|
36174
|
+
} = n, f = WJ(n.tableColumns), g = pUe(n.tableColumns), m = vUe(n.tableColumns), p = ht(() => {
|
36181
36175
|
const A = [];
|
36182
36176
|
if (g.length)
|
36183
36177
|
for (const T of g)
|
@@ -36708,7 +36702,7 @@ function aGe(n) {
|
|
36708
36702
|
isDanger: h
|
36709
36703
|
} = n, [f, g] = Tu(), [m] = Ji(), p = ze(() => {
|
36710
36704
|
g(void 0), c == null || c();
|
36711
|
-
}, [c, g]), _ =
|
36705
|
+
}, [c, g]), _ = ht(() => a && t.some(a) ? t.sort((D, E) => Tw(a(D), a(E))) : t, [t, a]), v = Ek(_), [b, y] = Ve(!u), w = ht(() => a && t.some(a) ? [
|
36712
36706
|
{
|
36713
36707
|
header: "",
|
36714
36708
|
cell: (D) => a(D) ? /* @__PURE__ */ x.jsx(
|
@@ -36721,7 +36715,7 @@ function aGe(n) {
|
|
36721
36715
|
) : null
|
36722
36716
|
},
|
36723
36717
|
...s
|
36724
|
-
] : s, [s, a, t]), k =
|
36718
|
+
] : s, [s, a, t]), k = ht(() => a ? t.filter((D) => !a(D)) : t, [a, t]), L = $J(w);
|
36725
36719
|
return /* @__PURE__ */ x.jsx(
|
36726
36720
|
m0,
|
36727
36721
|
{
|
@@ -38737,7 +38731,7 @@ function Zee(n, e) {
|
|
38737
38731
|
};
|
38738
38732
|
return t.snippet = WGe(t), new vo(e, t);
|
38739
38733
|
}
|
38740
|
-
function
|
38734
|
+
function dt(n, e) {
|
38741
38735
|
throw Zee(n, e);
|
38742
38736
|
}
|
38743
38737
|
function Kx(n, e) {
|
@@ -38746,15 +38740,15 @@ function Kx(n, e) {
|
|
38746
38740
|
var NW = {
|
38747
38741
|
YAML: function(e, t, i) {
|
38748
38742
|
var r, o, s;
|
38749
|
-
e.version !== null &&
|
38743
|
+
e.version !== null && dt(e, "duplication of %YAML directive"), i.length !== 1 && dt(e, "YAML directive accepts exactly one argument"), r = /^([0-9]+)\.([0-9]+)$/.exec(i[0]), r === null && dt(e, "ill-formed argument of the YAML directive"), o = parseInt(r[1], 10), s = parseInt(r[2], 10), o !== 1 && dt(e, "unacceptable YAML version of the document"), e.version = i[0], e.checkLineBreaks = s < 2, s !== 1 && s !== 2 && Kx(e, "unsupported YAML version of the document");
|
38750
38744
|
},
|
38751
38745
|
TAG: function(e, t, i) {
|
38752
38746
|
var r, o;
|
38753
|
-
i.length !== 2 &&
|
38747
|
+
i.length !== 2 && dt(e, "TAG directive accepts exactly two arguments"), r = i[0], o = i[1], qee.test(r) || dt(e, "ill-formed tag handle (first argument) of the TAG directive"), nh.call(e.tagMap, r) && dt(e, 'there is a previously declared suffix for "' + r + '" tag handle'), Kee.test(o) || dt(e, "ill-formed tag prefix (second argument) of the TAG directive");
|
38754
38748
|
try {
|
38755
38749
|
o = decodeURIComponent(o);
|
38756
38750
|
} catch {
|
38757
|
-
|
38751
|
+
dt(e, "tag prefix is malformed: " + o);
|
38758
38752
|
}
|
38759
38753
|
e.tagMap[r] = o;
|
38760
38754
|
}
|
@@ -38764,22 +38758,22 @@ function Wd(n, e, t, i) {
|
|
38764
38758
|
if (e < t) {
|
38765
38759
|
if (a = n.input.slice(e, t), i)
|
38766
38760
|
for (r = 0, o = a.length; r < o; r += 1)
|
38767
|
-
s = a.charCodeAt(r), s === 9 || 32 <= s && s <= 1114111 ||
|
38761
|
+
s = a.charCodeAt(r), s === 9 || 32 <= s && s <= 1114111 || dt(n, "expected valid JSON character");
|
38768
38762
|
else
|
38769
|
-
TYe.test(a) &&
|
38763
|
+
TYe.test(a) && dt(n, "the stream contains non-printable characters");
|
38770
38764
|
n.result += a;
|
38771
38765
|
}
|
38772
38766
|
}
|
38773
38767
|
function MW(n, e, t, i) {
|
38774
38768
|
var r, o, s, a;
|
38775
|
-
for (or.isObject(t) ||
|
38769
|
+
for (or.isObject(t) || dt(n, "cannot merge mappings; the provided source object is unacceptable"), r = Object.keys(t), s = 0, a = r.length; s < a; s += 1)
|
38776
38770
|
o = r[s], nh.call(e, o) || (e[o] = t[o], i[o] = !0);
|
38777
38771
|
}
|
38778
38772
|
function Sm(n, e, t, i, r, o, s, a, l) {
|
38779
38773
|
var c, u;
|
38780
38774
|
if (Array.isArray(r))
|
38781
38775
|
for (r = Array.prototype.slice.call(r), c = 0, u = r.length; c < u; c += 1)
|
38782
|
-
Array.isArray(r[c]) &&
|
38776
|
+
Array.isArray(r[c]) && dt(n, "nested arrays are not supported inside keys"), typeof r == "object" && AW(r[c]) === "[object Object]" && (r[c] = "[object Object]");
|
38783
38777
|
if (typeof r == "object" && AW(r) === "[object Object]" && (r = "[object Object]"), r = String(r), e === null && (e = {}), i === "tag:yaml.org,2002:merge")
|
38784
38778
|
if (Array.isArray(o))
|
38785
38779
|
for (c = 0, u = o.length; c < u; c += 1)
|
@@ -38787,7 +38781,7 @@ function Sm(n, e, t, i, r, o, s, a, l) {
|
|
38787
38781
|
else
|
38788
38782
|
MW(n, e, o, t);
|
38789
38783
|
else
|
38790
|
-
!n.json && !nh.call(t, r) && nh.call(e, r) && (n.line = s || n.line, n.lineStart = a || n.lineStart, n.position = l || n.position,
|
38784
|
+
!n.json && !nh.call(t, r) && nh.call(e, r) && (n.line = s || n.line, n.lineStart = a || n.lineStart, n.position = l || n.position, dt(n, "duplicated mapping key")), r === "__proto__" ? Object.defineProperty(e, r, {
|
38791
38785
|
configurable: !0,
|
38792
38786
|
enumerable: !0,
|
38793
38787
|
writable: !0,
|
@@ -38797,7 +38791,7 @@ function Sm(n, e, t, i, r, o, s, a, l) {
|
|
38797
38791
|
}
|
38798
38792
|
function UR(n) {
|
38799
38793
|
var e;
|
38800
|
-
e = n.input.charCodeAt(n.position), e === 10 ? n.position++ : e === 13 ? (n.position++, n.input.charCodeAt(n.position) === 10 && n.position++) :
|
38794
|
+
e = n.input.charCodeAt(n.position), e === 10 ? n.position++ : e === 13 ? (n.position++, n.input.charCodeAt(n.position) === 10 && n.position++) : dt(n, "a line break is expected"), n.line += 1, n.lineStart = n.position, n.firstTabInLine = -1;
|
38801
38795
|
}
|
38802
38796
|
function Ki(n, e, t) {
|
38803
38797
|
for (var i = 0, r = n.input.charCodeAt(n.position); r !== 0; ) {
|
@@ -38861,8 +38855,8 @@ function BYe(n, e) {
|
|
38861
38855
|
else
|
38862
38856
|
return !0;
|
38863
38857
|
else
|
38864
|
-
Yl(t) ? (Wd(n, i, r, !0), qR(n, Ki(n, !1, e)), i = r = n.position) : n.position === n.lineStart && Ik(n) ?
|
38865
|
-
|
38858
|
+
Yl(t) ? (Wd(n, i, r, !0), qR(n, Ki(n, !1, e)), i = r = n.position) : n.position === n.lineStart && Ik(n) ? dt(n, "unexpected end of the document within a single quoted scalar") : (n.position++, r = n.position);
|
38859
|
+
dt(n, "unexpected end of the stream within a single quoted scalar");
|
38866
38860
|
}
|
38867
38861
|
function VYe(n, e) {
|
38868
38862
|
var t, i, r, o, s, a;
|
@@ -38878,15 +38872,15 @@ function VYe(n, e) {
|
|
38878
38872
|
n.result += Yee[a], n.position++;
|
38879
38873
|
else if ((s = NYe(a)) > 0) {
|
38880
38874
|
for (r = s, o = 0; r > 0; r--)
|
38881
|
-
a = n.input.charCodeAt(++n.position), (s = OYe(a)) >= 0 ? o = (o << 4) + s :
|
38875
|
+
a = n.input.charCodeAt(++n.position), (s = OYe(a)) >= 0 ? o = (o << 4) + s : dt(n, "expected hexadecimal character");
|
38882
38876
|
n.result += PYe(o), n.position++;
|
38883
38877
|
} else
|
38884
|
-
|
38878
|
+
dt(n, "unknown escape sequence");
|
38885
38879
|
t = i = n.position;
|
38886
38880
|
} else
|
38887
|
-
Yl(a) ? (Wd(n, t, i, !0), qR(n, Ki(n, !1, e)), t = i = n.position) : n.position === n.lineStart && Ik(n) ?
|
38881
|
+
Yl(a) ? (Wd(n, t, i, !0), qR(n, Ki(n, !1, e)), t = i = n.position) : n.position === n.lineStart && Ik(n) ? dt(n, "unexpected end of the document within a double quoted scalar") : (n.position++, i = n.position);
|
38888
38882
|
}
|
38889
|
-
|
38883
|
+
dt(n, "unexpected end of the stream within a double quoted scalar");
|
38890
38884
|
}
|
38891
38885
|
function WYe(n, e) {
|
38892
38886
|
var t = !0, i, r, o, s = n.tag, a, l = n.anchor, c, u, d, h, f, g = /* @__PURE__ */ Object.create(null), m, p, _, v;
|
@@ -38899,9 +38893,9 @@ function WYe(n, e) {
|
|
38899
38893
|
for (n.anchor !== null && (n.anchorMap[n.anchor] = a), v = n.input.charCodeAt(++n.position); v !== 0; ) {
|
38900
38894
|
if (Ki(n, !0, e), v = n.input.charCodeAt(n.position), v === u)
|
38901
38895
|
return n.position++, n.tag = s, n.anchor = l, n.kind = f ? "mapping" : "sequence", n.result = a, !0;
|
38902
|
-
t ? v === 44 &&
|
38896
|
+
t ? v === 44 && dt(n, "expected the node content, but found ','") : dt(n, "missed comma between flow collection entries"), p = m = _ = null, d = h = !1, v === 63 && (c = n.input.charCodeAt(n.position + 1), Ko(c) && (d = h = !0, n.position++, Ki(n, !0, e))), i = n.line, r = n.lineStart, o = n.position, Vp(n, e, Ux, !1, !0), p = n.tag, m = n.result, Ki(n, !0, e), v = n.input.charCodeAt(n.position), (h || n.line === i) && v === 58 && (d = !0, v = n.input.charCodeAt(++n.position), Ki(n, !0, e), Vp(n, e, Ux, !1, !0), _ = n.result), f ? Sm(n, a, g, p, m, _, i, r, o) : d ? a.push(Sm(n, null, g, p, m, _, i, r, o)) : a.push(m), Ki(n, !0, e), v = n.input.charCodeAt(n.position), v === 44 ? (t = !0, v = n.input.charCodeAt(++n.position)) : t = !1;
|
38903
38897
|
}
|
38904
|
-
|
38898
|
+
dt(n, "unexpected end of the stream within a flow collection");
|
38905
38899
|
}
|
38906
38900
|
function $Ye(n, e) {
|
38907
38901
|
var t, i, r = K5, o = !1, s = !1, a = e, l = 0, c = !1, u, d;
|
@@ -38913,9 +38907,9 @@ function $Ye(n, e) {
|
|
38913
38907
|
return !1;
|
38914
38908
|
for (n.kind = "scalar", n.result = ""; d !== 0; )
|
38915
38909
|
if (d = n.input.charCodeAt(++n.position), d === 43 || d === 45)
|
38916
|
-
K5 === r ? r = d === 43 ? IW : EYe :
|
38910
|
+
K5 === r ? r = d === 43 ? IW : EYe : dt(n, "repeat of a chomping mode identifier");
|
38917
38911
|
else if ((u = MYe(d)) >= 0)
|
38918
|
-
u === 0 ?
|
38912
|
+
u === 0 ? dt(n, "bad explicit indentation width of a block scalar; it cannot be less than one") : s ? dt(n, "repeat of an indentation width identifier") : (a = e + u - 1, s = !0);
|
38919
38913
|
else
|
38920
38914
|
break;
|
38921
38915
|
if (Ef(d)) {
|
@@ -38954,13 +38948,13 @@ function PW(n, e) {
|
|
38954
38948
|
var t, i = n.tag, r = n.anchor, o = [], s, a = !1, l;
|
38955
38949
|
if (n.firstTabInLine !== -1)
|
38956
38950
|
return !1;
|
38957
|
-
for (n.anchor !== null && (n.anchorMap[n.anchor] = o), l = n.input.charCodeAt(n.position); l !== 0 && (n.firstTabInLine !== -1 && (n.position = n.firstTabInLine,
|
38951
|
+
for (n.anchor !== null && (n.anchorMap[n.anchor] = o), l = n.input.charCodeAt(n.position); l !== 0 && (n.firstTabInLine !== -1 && (n.position = n.firstTabInLine, dt(n, "tab characters must not be used in indentation")), !(l !== 45 || (s = n.input.charCodeAt(n.position + 1), !Ko(s)))); ) {
|
38958
38952
|
if (a = !0, n.position++, Ki(n, !0, -1) && n.lineIndent <= e) {
|
38959
38953
|
o.push(null), l = n.input.charCodeAt(n.position);
|
38960
38954
|
continue;
|
38961
38955
|
}
|
38962
38956
|
if (t = n.line, Vp(n, e, Uee, !1, !0), o.push(n.result), Ki(n, !0, -1), l = n.input.charCodeAt(n.position), (n.line === t || n.lineIndent > e) && l !== 0)
|
38963
|
-
|
38957
|
+
dt(n, "bad indentation of a sequence entry");
|
38964
38958
|
else if (n.lineIndent < e)
|
38965
38959
|
break;
|
38966
38960
|
}
|
@@ -38971,8 +38965,8 @@ function jYe(n, e, t) {
|
|
38971
38965
|
if (n.firstTabInLine !== -1)
|
38972
38966
|
return !1;
|
38973
38967
|
for (n.anchor !== null && (n.anchorMap[n.anchor] = d), v = n.input.charCodeAt(n.position); v !== 0; ) {
|
38974
|
-
if (!p && n.firstTabInLine !== -1 && (n.position = n.firstTabInLine,
|
38975
|
-
v === 63 ? (p && (Sm(n, d, h, f, g, null, s, a, l), f = g = m = null), _ = !0, p = !0, r = !0) : p ? (p = !1, r = !0) :
|
38968
|
+
if (!p && n.firstTabInLine !== -1 && (n.position = n.firstTabInLine, dt(n, "tab characters must not be used in indentation")), i = n.input.charCodeAt(n.position + 1), o = n.line, (v === 63 || v === 58) && Ko(i))
|
38969
|
+
v === 63 ? (p && (Sm(n, d, h, f, g, null, s, a, l), f = g = m = null), _ = !0, p = !0, r = !0) : p ? (p = !1, r = !0) : dt(n, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), n.position += 1, v = i;
|
38976
38970
|
else {
|
38977
38971
|
if (s = n.line, a = n.lineStart, l = n.position, !Vp(n, t, zee, !1, !0))
|
38978
38972
|
break;
|
@@ -38980,18 +38974,18 @@ function jYe(n, e, t) {
|
|
38980
38974
|
for (v = n.input.charCodeAt(n.position); Ef(v); )
|
38981
38975
|
v = n.input.charCodeAt(++n.position);
|
38982
38976
|
if (v === 58)
|
38983
|
-
v = n.input.charCodeAt(++n.position), Ko(v) ||
|
38977
|
+
v = n.input.charCodeAt(++n.position), Ko(v) || dt(n, "a whitespace character is expected after the key-value separator within a block mapping"), p && (Sm(n, d, h, f, g, null, s, a, l), f = g = m = null), _ = !0, p = !1, r = !1, f = n.tag, g = n.result;
|
38984
38978
|
else if (_)
|
38985
|
-
|
38979
|
+
dt(n, "can not read an implicit mapping pair; a colon is missed");
|
38986
38980
|
else
|
38987
38981
|
return n.tag = c, n.anchor = u, !0;
|
38988
38982
|
} else if (_)
|
38989
|
-
|
38983
|
+
dt(n, "can not read a block mapping entry; a multiline key may not be an implicit key");
|
38990
38984
|
else
|
38991
38985
|
return n.tag = c, n.anchor = u, !0;
|
38992
38986
|
}
|
38993
38987
|
if ((n.line === o || n.lineIndent > e) && (p && (s = n.line, a = n.lineStart, l = n.position), Vp(n, e, qx, !0, r) && (p ? g = n.result : m = n.result), p || (Sm(n, d, h, f, g, m, s, a, l), f = g = m = null), Ki(n, !0, -1), v = n.input.charCodeAt(n.position)), (n.line === o || n.lineIndent > e) && v !== 0)
|
38994
|
-
|
38988
|
+
dt(n, "bad indentation of a mapping entry");
|
38995
38989
|
else if (n.lineIndent < e)
|
38996
38990
|
break;
|
38997
38991
|
}
|
@@ -39001,31 +38995,31 @@ function HYe(n) {
|
|
39001
38995
|
var e, t = !1, i = !1, r, o, s;
|
39002
38996
|
if (s = n.input.charCodeAt(n.position), s !== 33)
|
39003
38997
|
return !1;
|
39004
|
-
if (n.tag !== null &&
|
38998
|
+
if (n.tag !== null && dt(n, "duplication of a tag property"), s = n.input.charCodeAt(++n.position), s === 60 ? (t = !0, s = n.input.charCodeAt(++n.position)) : s === 33 ? (i = !0, r = "!!", s = n.input.charCodeAt(++n.position)) : r = "!", e = n.position, t) {
|
39005
38999
|
do
|
39006
39000
|
s = n.input.charCodeAt(++n.position);
|
39007
39001
|
while (s !== 0 && s !== 62);
|
39008
|
-
n.position < n.length ? (o = n.input.slice(e, n.position), s = n.input.charCodeAt(++n.position)) :
|
39002
|
+
n.position < n.length ? (o = n.input.slice(e, n.position), s = n.input.charCodeAt(++n.position)) : dt(n, "unexpected end of the stream within a verbatim tag");
|
39009
39003
|
} else {
|
39010
39004
|
for (; s !== 0 && !Ko(s); )
|
39011
|
-
s === 33 && (i ?
|
39012
|
-
o = n.input.slice(e, n.position), AYe.test(o) &&
|
39005
|
+
s === 33 && (i ? dt(n, "tag suffix cannot contain exclamation marks") : (r = n.input.slice(e - 1, n.position + 1), qee.test(r) || dt(n, "named tag handle cannot contain such characters"), i = !0, e = n.position + 1)), s = n.input.charCodeAt(++n.position);
|
39006
|
+
o = n.input.slice(e, n.position), AYe.test(o) && dt(n, "tag suffix cannot contain flow indicator characters");
|
39013
39007
|
}
|
39014
|
-
o && !Kee.test(o) &&
|
39008
|
+
o && !Kee.test(o) && dt(n, "tag name cannot contain such characters: " + o);
|
39015
39009
|
try {
|
39016
39010
|
o = decodeURIComponent(o);
|
39017
39011
|
} catch {
|
39018
|
-
|
39012
|
+
dt(n, "tag name is malformed: " + o);
|
39019
39013
|
}
|
39020
|
-
return t ? n.tag = o : nh.call(n.tagMap, r) ? n.tag = n.tagMap[r] + o : r === "!" ? n.tag = "!" + o : r === "!!" ? n.tag = "tag:yaml.org,2002:" + o :
|
39014
|
+
return t ? n.tag = o : nh.call(n.tagMap, r) ? n.tag = n.tagMap[r] + o : r === "!" ? n.tag = "!" + o : r === "!!" ? n.tag = "tag:yaml.org,2002:" + o : dt(n, 'undeclared tag handle "' + r + '"'), !0;
|
39021
39015
|
}
|
39022
39016
|
function zYe(n) {
|
39023
39017
|
var e, t;
|
39024
39018
|
if (t = n.input.charCodeAt(n.position), t !== 38)
|
39025
39019
|
return !1;
|
39026
|
-
for (n.anchor !== null &&
|
39020
|
+
for (n.anchor !== null && dt(n, "duplication of an anchor property"), t = n.input.charCodeAt(++n.position), e = n.position; t !== 0 && !Ko(t) && !wm(t); )
|
39027
39021
|
t = n.input.charCodeAt(++n.position);
|
39028
|
-
return n.position === e &&
|
39022
|
+
return n.position === e && dt(n, "name of an anchor node must contain at least one character"), n.anchor = n.input.slice(e, n.position), !0;
|
39029
39023
|
}
|
39030
39024
|
function UYe(n) {
|
39031
39025
|
var e, t, i;
|
@@ -39033,17 +39027,17 @@ function UYe(n) {
|
|
39033
39027
|
return !1;
|
39034
39028
|
for (i = n.input.charCodeAt(++n.position), e = n.position; i !== 0 && !Ko(i) && !wm(i); )
|
39035
39029
|
i = n.input.charCodeAt(++n.position);
|
39036
|
-
return n.position === e &&
|
39030
|
+
return n.position === e && dt(n, "name of an alias node must contain at least one character"), t = n.input.slice(e, n.position), nh.call(n.anchorMap, t) || dt(n, 'unidentified alias "' + t + '"'), n.result = n.anchorMap[t], Ki(n, !0, -1), !0;
|
39037
39031
|
}
|
39038
39032
|
function Vp(n, e, t, i, r) {
|
39039
39033
|
var o, s, a, l = 1, c = !1, u = !1, d, h, f, g, m, p;
|
39040
39034
|
if (n.listener !== null && n.listener("open", n), n.tag = null, n.anchor = null, n.kind = null, n.result = null, o = s = a = qx === t || Uee === t, i && Ki(n, !0, -1) && (c = !0, n.lineIndent > e ? l = 1 : n.lineIndent === e ? l = 0 : n.lineIndent < e && (l = -1)), l === 1)
|
39041
39035
|
for (; HYe(n) || zYe(n); )
|
39042
39036
|
Ki(n, !0, -1) ? (c = !0, a = o, n.lineIndent > e ? l = 1 : n.lineIndent === e ? l = 0 : n.lineIndent < e && (l = -1)) : a = !1;
|
39043
|
-
if (a && (a = c || r), (l === 1 || qx === t) && (Ux === t || zee === t ? m = e : m = e + 1, p = n.position - n.lineStart, l === 1 ? a && (PW(n, p) || jYe(n, p, m)) || WYe(n, m) ? u = !0 : (s && $Ye(n, m) || BYe(n, m) || VYe(n, m) ? u = !0 : UYe(n) ? (u = !0, (n.tag !== null || n.anchor !== null) &&
|
39037
|
+
if (a && (a = c || r), (l === 1 || qx === t) && (Ux === t || zee === t ? m = e : m = e + 1, p = n.position - n.lineStart, l === 1 ? a && (PW(n, p) || jYe(n, p, m)) || WYe(n, m) ? u = !0 : (s && $Ye(n, m) || BYe(n, m) || VYe(n, m) ? u = !0 : UYe(n) ? (u = !0, (n.tag !== null || n.anchor !== null) && dt(n, "alias node should not have any properties")) : FYe(n, m, Ux === t) && (u = !0, n.tag === null && (n.tag = "?")), n.anchor !== null && (n.anchorMap[n.anchor] = n.result)) : l === 0 && (u = a && PW(n, p))), n.tag === null)
|
39044
39038
|
n.anchor !== null && (n.anchorMap[n.anchor] = n.result);
|
39045
39039
|
else if (n.tag === "?") {
|
39046
|
-
for (n.result !== null && n.kind !== "scalar" &&
|
39040
|
+
for (n.result !== null && n.kind !== "scalar" && dt(n, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + n.kind + '"'), d = 0, h = n.implicitTypes.length; d < h; d += 1)
|
39047
39041
|
if (g = n.implicitTypes[d], g.resolve(n.result)) {
|
39048
39042
|
n.result = g.construct(n.result), n.tag = g.tag, n.anchor !== null && (n.anchorMap[n.anchor] = n.result);
|
39049
39043
|
break;
|
@@ -39057,7 +39051,7 @@ function Vp(n, e, t, i, r) {
|
|
39057
39051
|
g = f[d];
|
39058
39052
|
break;
|
39059
39053
|
}
|
39060
|
-
g ||
|
39054
|
+
g || dt(n, "unknown tag !<" + n.tag + ">"), n.result !== null && g.kind !== n.kind && dt(n, "unacceptable node kind for !<" + n.tag + '> tag; it should be "' + g.kind + '", not "' + n.kind + '"'), g.resolve(n.result, n.tag) ? (n.result = g.construct(n.result, n.tag), n.anchor !== null && (n.anchorMap[n.anchor] = n.result)) : dt(n, "cannot resolve a node with !<" + n.tag + "> explicit tag");
|
39061
39055
|
}
|
39062
39056
|
return n.listener !== null && n.listener("close", n), n.tag !== null || n.anchor !== null || u;
|
39063
39057
|
}
|
@@ -39066,7 +39060,7 @@ function qYe(n) {
|
|
39066
39060
|
for (n.version = null, n.checkLineBreaks = n.legacy, n.tagMap = /* @__PURE__ */ Object.create(null), n.anchorMap = /* @__PURE__ */ Object.create(null); (s = n.input.charCodeAt(n.position)) !== 0 && (Ki(n, !0, -1), s = n.input.charCodeAt(n.position), !(n.lineIndent > 0 || s !== 37)); ) {
|
39067
39061
|
for (o = !0, s = n.input.charCodeAt(++n.position), t = n.position; s !== 0 && !Ko(s); )
|
39068
39062
|
s = n.input.charCodeAt(++n.position);
|
39069
|
-
for (i = n.input.slice(t, n.position), r = [], i.length < 1 &&
|
39063
|
+
for (i = n.input.slice(t, n.position), r = [], i.length < 1 && dt(n, "directive name must not be less than one character in length"); s !== 0; ) {
|
39070
39064
|
for (; Ef(s); )
|
39071
39065
|
s = n.input.charCodeAt(++n.position);
|
39072
39066
|
if (s === 35) {
|
@@ -39083,12 +39077,12 @@ function qYe(n) {
|
|
39083
39077
|
}
|
39084
39078
|
s !== 0 && UR(n), nh.call(NW, i) ? NW[i](n, i, r) : Kx(n, 'unknown document directive "' + i + '"');
|
39085
39079
|
}
|
39086
|
-
if (Ki(n, !0, -1), n.lineIndent === 0 && n.input.charCodeAt(n.position) === 45 && n.input.charCodeAt(n.position + 1) === 45 && n.input.charCodeAt(n.position + 2) === 45 ? (n.position += 3, Ki(n, !0, -1)) : o &&
|
39080
|
+
if (Ki(n, !0, -1), n.lineIndent === 0 && n.input.charCodeAt(n.position) === 45 && n.input.charCodeAt(n.position + 1) === 45 && n.input.charCodeAt(n.position + 2) === 45 ? (n.position += 3, Ki(n, !0, -1)) : o && dt(n, "directives end mark is expected"), Vp(n, n.lineIndent - 1, qx, !1, !0), Ki(n, !0, -1), n.checkLineBreaks && IYe.test(n.input.slice(e, n.position)) && Kx(n, "non-ASCII line breaks are interpreted as content"), n.documents.push(n.result), n.position === n.lineStart && Ik(n)) {
|
39087
39081
|
n.input.charCodeAt(n.position) === 46 && (n.position += 3, Ki(n, !0, -1));
|
39088
39082
|
return;
|
39089
39083
|
}
|
39090
39084
|
if (n.position < n.length - 1)
|
39091
|
-
|
39085
|
+
dt(n, "end of the stream or a document separator is expected");
|
39092
39086
|
else
|
39093
39087
|
return;
|
39094
39088
|
}
|
@@ -39096,7 +39090,7 @@ function Xee(n, e) {
|
|
39096
39090
|
n = String(n), e = e || {}, n.length !== 0 && (n.charCodeAt(n.length - 1) !== 10 && n.charCodeAt(n.length - 1) !== 13 && (n += `
|
39097
39091
|
`), n.charCodeAt(0) === 65279 && (n = n.slice(1)));
|
39098
39092
|
var t = new RYe(n, e), i = n.indexOf("\0");
|
39099
|
-
for (i !== -1 && (t.position = i,
|
39093
|
+
for (i !== -1 && (t.position = i, dt(t, "null byte is not allowed in input")), t.input += "\0"; t.input.charCodeAt(t.position) === 32; )
|
39100
39094
|
t.lineIndent += 1, t.position += 1;
|
39101
39095
|
for (; t.position < t.length - 1; )
|
39102
39096
|
qYe(t);
|
@@ -56547,44 +56541,44 @@ function Fne() {
|
|
56547
56541
|
}
|
56548
56542
|
$r("afterSanitizeAttributes", me, null);
|
56549
56543
|
}
|
56550
|
-
}, Eh = function
|
56544
|
+
}, Eh = function ct(me) {
|
56551
56545
|
var je = void 0, st = Cc(me);
|
56552
56546
|
for ($r("beforeSanitizeShadowDOM", me, null); je = st.nextNode(); )
|
56553
|
-
$r("uponSanitizeShadowNode", je, null), !kh(je) && (je.content instanceof r &&
|
56547
|
+
$r("uponSanitizeShadowNode", je, null), !kh(je) && (je.content instanceof r && ct(je.content), jg(je));
|
56554
56548
|
$r("afterSanitizeShadowDOM", me, null);
|
56555
56549
|
};
|
56556
|
-
return e.sanitize = function(
|
56550
|
+
return e.sanitize = function(ct, me) {
|
56557
56551
|
var je = void 0, st = void 0, q = void 0, De = void 0, Be = void 0;
|
56558
|
-
if (Vt = !
|
56559
|
-
if (typeof
|
56552
|
+
if (Vt = !ct, Vt && (ct = "<!-->"), typeof ct != "string" && !wc(ct)) {
|
56553
|
+
if (typeof ct.toString != "function")
|
56560
56554
|
throw dj("toString is not a function");
|
56561
|
-
if (
|
56555
|
+
if (ct = ct.toString(), typeof ct != "string")
|
56562
56556
|
throw dj("dirty is not a string, aborting");
|
56563
56557
|
}
|
56564
56558
|
if (!e.isSupported) {
|
56565
56559
|
if (zv(n.toStaticHTML) === "object" || typeof n.toStaticHTML == "function") {
|
56566
|
-
if (typeof
|
56567
|
-
return n.toStaticHTML(
|
56568
|
-
if (wc(
|
56569
|
-
return n.toStaticHTML(
|
56560
|
+
if (typeof ct == "string")
|
56561
|
+
return n.toStaticHTML(ct);
|
56562
|
+
if (wc(ct))
|
56563
|
+
return n.toStaticHTML(ct.outerHTML);
|
56570
56564
|
}
|
56571
|
-
return
|
56565
|
+
return ct;
|
56572
56566
|
}
|
56573
|
-
if (Xe || At(me), e.removed = [], typeof
|
56574
|
-
if (
|
56575
|
-
je = xa("<!---->"), st = je.ownerDocument.importNode(
|
56567
|
+
if (Xe || At(me), e.removed = [], typeof ct == "string" && ($ = !1), !$)
|
56568
|
+
if (ct instanceof s)
|
56569
|
+
je = xa("<!---->"), st = je.ownerDocument.importNode(ct, !0), st.nodeType === 1 && st.nodeName === "BODY" || st.nodeName === "HTML" ? je = st : je.appendChild(st);
|
56576
56570
|
else {
|
56577
56571
|
if (!Fe && !ge && !X && // eslint-disable-next-line unicorn/prefer-includes
|
56578
|
-
|
56579
|
-
return w && ve ? w.createHTML(
|
56580
|
-
if (je = xa(
|
56572
|
+
ct.indexOf("<") === -1)
|
56573
|
+
return w && ve ? w.createHTML(ct) : ct;
|
56574
|
+
if (je = xa(ct), !je)
|
56581
56575
|
return Fe ? null : k;
|
56582
56576
|
}
|
56583
56577
|
je && Je && mr(je.firstChild);
|
56584
|
-
for (var rt = Cc($ ?
|
56578
|
+
for (var rt = Cc($ ? ct : je); q = rt.nextNode(); )
|
56585
56579
|
q.nodeType === 3 && q === De || kh(q) || (q.content instanceof r && Eh(q.content), jg(q), De = q);
|
56586
56580
|
if (De = null, $)
|
56587
|
-
return
|
56581
|
+
return ct;
|
56588
56582
|
if (Fe) {
|
56589
56583
|
if (j)
|
56590
56584
|
for (Be = A.call(je.ownerDocument); je.firstChild; )
|
@@ -56595,20 +56589,20 @@ function Fne() {
|
|
56595
56589
|
}
|
56596
56590
|
var Wt = X ? je.outerHTML : je.innerHTML;
|
56597
56591
|
return ge && (Wt = Zu(Wt, B, " "), Wt = Zu(Wt, J, " ")), w && ve ? w.createHTML(Wt) : Wt;
|
56598
|
-
}, e.setConfig = function(
|
56599
|
-
At(
|
56592
|
+
}, e.setConfig = function(ct) {
|
56593
|
+
At(ct), Xe = !0;
|
56600
56594
|
}, e.clearConfig = function() {
|
56601
56595
|
Et = null, Xe = !1;
|
56602
|
-
}, e.isValidAttribute = function(
|
56596
|
+
}, e.isValidAttribute = function(ct, me, je) {
|
56603
56597
|
Et || At({});
|
56604
|
-
var st = qh(
|
56598
|
+
var st = qh(ct), q = qh(me);
|
56605
56599
|
return Dh(st, q, je);
|
56606
|
-
}, e.addHook = function(
|
56607
|
-
typeof me == "function" && (R[
|
56608
|
-
}, e.removeHook = function(
|
56609
|
-
R[
|
56610
|
-
}, e.removeHooks = function(
|
56611
|
-
R[
|
56600
|
+
}, e.addHook = function(ct, me) {
|
56601
|
+
typeof me == "function" && (R[ct] = R[ct] || [], yv(R[ct], me));
|
56602
|
+
}, e.removeHook = function(ct) {
|
56603
|
+
R[ct] && cj(R[ct]);
|
56604
|
+
}, e.removeHooks = function(ct) {
|
56605
|
+
R[ct] && (R[ct] = []);
|
56612
56606
|
}, e.removeAllHooks = function() {
|
56613
56607
|
R = {};
|
56614
56608
|
}, e;
|
@@ -57030,7 +57024,7 @@ function oit(n) {
|
|
57030
57024
|
const e = n;
|
57031
57025
|
return !!(e && typeof e.preventDefault == "function" && typeof e.stopPropagation == "function");
|
57032
57026
|
}
|
57033
|
-
const
|
57027
|
+
const ut = {
|
57034
57028
|
stop: (n, e) => (n.preventDefault(), e && n.stopPropagation(), n)
|
57035
57029
|
};
|
57036
57030
|
function sit(n) {
|
@@ -74814,24 +74808,24 @@ class nre {
|
|
74814
74808
|
this.parent = null, this.left = null, this.right = null;
|
74815
74809
|
}
|
74816
74810
|
}
|
74817
|
-
const
|
74818
|
-
|
74819
|
-
|
74820
|
-
|
74811
|
+
const lt = new nre(null, 0, 0);
|
74812
|
+
lt.parent = lt;
|
74813
|
+
lt.left = lt;
|
74814
|
+
lt.right = lt;
|
74821
74815
|
on(
|
74822
|
-
|
74816
|
+
lt,
|
74823
74817
|
0
|
74824
74818
|
/* NodeColor.Black */
|
74825
74819
|
);
|
74826
74820
|
class FE {
|
74827
74821
|
constructor() {
|
74828
|
-
this.root =
|
74822
|
+
this.root = lt, this.requestNormalizeDelta = !1;
|
74829
74823
|
}
|
74830
74824
|
intervalSearch(e, t, i, r, o, s) {
|
74831
|
-
return this.root ===
|
74825
|
+
return this.root === lt ? [] : Ilt(this, e, t, i, r, o, s);
|
74832
74826
|
}
|
74833
74827
|
search(e, t, i, r) {
|
74834
|
-
return this.root ===
|
74828
|
+
return this.root === lt ? [] : Tlt(this, e, t, i, r);
|
74835
74829
|
}
|
74836
74830
|
/**
|
74837
74831
|
* Will not set `cachedAbsoluteStart` nor `cachedAbsoluteEnd` on the returned nodes!
|
@@ -74878,12 +74872,12 @@ class FE {
|
|
74878
74872
|
}
|
74879
74873
|
function Slt(n) {
|
74880
74874
|
let e = n.root, t = 0;
|
74881
|
-
for (; e !==
|
74882
|
-
if (e.left !==
|
74875
|
+
for (; e !== lt; ) {
|
74876
|
+
if (e.left !== lt && !Yi(e.left)) {
|
74883
74877
|
e = e.left;
|
74884
74878
|
continue;
|
74885
74879
|
}
|
74886
|
-
if (e.right !==
|
74880
|
+
if (e.right !== lt && !Yi(e.right)) {
|
74887
74881
|
t += e.delta, e = e.right;
|
74888
74882
|
continue;
|
74889
74883
|
}
|
@@ -74919,7 +74913,7 @@ function Llt(n, e, t) {
|
|
74919
74913
|
let i = n.root, r = 0, o = 0, s = 0, a = 0;
|
74920
74914
|
const l = [];
|
74921
74915
|
let c = 0;
|
74922
|
-
for (; i !==
|
74916
|
+
for (; i !== lt; ) {
|
74923
74917
|
if (Yi(i)) {
|
74924
74918
|
tn(i.left, !1), tn(i.right, !1), i === i.parent.right && (r -= i.parent.delta), i = i.parent;
|
74925
74919
|
continue;
|
@@ -74929,7 +74923,7 @@ function Llt(n, e, t) {
|
|
74929
74923
|
tn(i, !0);
|
74930
74924
|
continue;
|
74931
74925
|
}
|
74932
|
-
if (i.left !==
|
74926
|
+
if (i.left !== lt) {
|
74933
74927
|
i = i.left;
|
74934
74928
|
continue;
|
74935
74929
|
}
|
@@ -74938,7 +74932,7 @@ function Llt(n, e, t) {
|
|
74938
74932
|
tn(i, !0);
|
74939
74933
|
continue;
|
74940
74934
|
}
|
74941
|
-
if (a = r + i.end, a >= e && (i.setCachedOffsets(s, a, 0), l[c++] = i), tn(i, !0), i.right !==
|
74935
|
+
if (a = r + i.end, a >= e && (i.setCachedOffsets(s, a, 0), l[c++] = i), tn(i, !0), i.right !== lt && !Yi(i.right)) {
|
74942
74936
|
r += i.delta, i = i.right;
|
74943
74937
|
continue;
|
74944
74938
|
}
|
@@ -74948,7 +74942,7 @@ function Llt(n, e, t) {
|
|
74948
74942
|
function klt(n, e, t, i) {
|
74949
74943
|
let r = n.root, o = 0, s = 0, a = 0;
|
74950
74944
|
const l = i - (t - e);
|
74951
|
-
for (; r !==
|
74945
|
+
for (; r !== lt; ) {
|
74952
74946
|
if (Yi(r)) {
|
74953
74947
|
tn(r.left, !1), tn(r.right, !1), r === r.parent.right && (o -= r.parent.delta), lh(r), r = r.parent;
|
74954
74948
|
continue;
|
@@ -74958,7 +74952,7 @@ function klt(n, e, t, i) {
|
|
74958
74952
|
tn(r, !0);
|
74959
74953
|
continue;
|
74960
74954
|
}
|
74961
|
-
if (r.left !==
|
74955
|
+
if (r.left !== lt) {
|
74962
74956
|
r = r.left;
|
74963
74957
|
continue;
|
74964
74958
|
}
|
@@ -74967,7 +74961,7 @@ function klt(n, e, t, i) {
|
|
74967
74961
|
r.start += l, r.end += l, r.delta += l, (r.delta < -1073741824 || r.delta > 1073741824) && (n.requestNormalizeDelta = !0), tn(r, !0);
|
74968
74962
|
continue;
|
74969
74963
|
}
|
74970
|
-
if (tn(r, !0), r.right !==
|
74964
|
+
if (tn(r, !0), r.right !== lt && !Yi(r.right)) {
|
74971
74965
|
o += r.delta, r = r.right;
|
74972
74966
|
continue;
|
74973
74967
|
}
|
@@ -74978,16 +74972,16 @@ function Dlt(n, e) {
|
|
74978
74972
|
let t = n.root;
|
74979
74973
|
const i = [];
|
74980
74974
|
let r = 0;
|
74981
|
-
for (; t !==
|
74975
|
+
for (; t !== lt; ) {
|
74982
74976
|
if (Yi(t)) {
|
74983
74977
|
tn(t.left, !1), tn(t.right, !1), t = t.parent;
|
74984
74978
|
continue;
|
74985
74979
|
}
|
74986
|
-
if (t.left !==
|
74980
|
+
if (t.left !== lt && !Yi(t.left)) {
|
74987
74981
|
t = t.left;
|
74988
74982
|
continue;
|
74989
74983
|
}
|
74990
|
-
if (t.ownerId === e && (i[r++] = t), tn(t, !0), t.right !==
|
74984
|
+
if (t.ownerId === e && (i[r++] = t), tn(t, !0), t.right !== lt && !Yi(t.right)) {
|
74991
74985
|
t = t.right;
|
74992
74986
|
continue;
|
74993
74987
|
}
|
@@ -74998,16 +74992,16 @@ function Elt(n) {
|
|
74998
74992
|
let e = n.root;
|
74999
74993
|
const t = [];
|
75000
74994
|
let i = 0;
|
75001
|
-
for (; e !==
|
74995
|
+
for (; e !== lt; ) {
|
75002
74996
|
if (Yi(e)) {
|
75003
74997
|
tn(e.left, !1), tn(e.right, !1), e = e.parent;
|
75004
74998
|
continue;
|
75005
74999
|
}
|
75006
|
-
if (e.left !==
|
75000
|
+
if (e.left !== lt && !Yi(e.left)) {
|
75007
75001
|
e = e.left;
|
75008
75002
|
continue;
|
75009
75003
|
}
|
75010
|
-
if (e.right !==
|
75004
|
+
if (e.right !== lt && !Yi(e.right)) {
|
75011
75005
|
e = e.right;
|
75012
75006
|
continue;
|
75013
75007
|
}
|
@@ -75019,18 +75013,18 @@ function Tlt(n, e, t, i, r) {
|
|
75019
75013
|
let o = n.root, s = 0, a = 0, l = 0;
|
75020
75014
|
const c = [];
|
75021
75015
|
let u = 0;
|
75022
|
-
for (; o !==
|
75016
|
+
for (; o !== lt; ) {
|
75023
75017
|
if (Yi(o)) {
|
75024
75018
|
tn(o.left, !1), tn(o.right, !1), o === o.parent.right && (s -= o.parent.delta), o = o.parent;
|
75025
75019
|
continue;
|
75026
75020
|
}
|
75027
|
-
if (o.left !==
|
75021
|
+
if (o.left !== lt && !Yi(o.left)) {
|
75028
75022
|
o = o.left;
|
75029
75023
|
continue;
|
75030
75024
|
}
|
75031
75025
|
a = s + o.start, l = s + o.end, o.setCachedOffsets(a, l, i);
|
75032
75026
|
let d = !0;
|
75033
|
-
if (e && o.ownerId && o.ownerId !== e && (d = !1), t && ere(o) && (d = !1), r && !tre(o) && (d = !1), d && (c[u++] = o), tn(o, !0), o.right !==
|
75027
|
+
if (e && o.ownerId && o.ownerId !== e && (d = !1), t && ere(o) && (d = !1), r && !tre(o) && (d = !1), d && (c[u++] = o), tn(o, !0), o.right !== lt && !Yi(o.right)) {
|
75034
75028
|
s += o.delta, o = o.right;
|
75035
75029
|
continue;
|
75036
75030
|
}
|
@@ -75041,7 +75035,7 @@ function Ilt(n, e, t, i, r, o, s) {
|
|
75041
75035
|
let a = n.root, l = 0, c = 0, u = 0, d = 0;
|
75042
75036
|
const h = [];
|
75043
75037
|
let f = 0;
|
75044
|
-
for (; a !==
|
75038
|
+
for (; a !== lt; ) {
|
75045
75039
|
if (Yi(a)) {
|
75046
75040
|
tn(a.left, !1), tn(a.right, !1), a === a.parent.right && (l -= a.parent.delta), a = a.parent;
|
75047
75041
|
continue;
|
@@ -75051,7 +75045,7 @@ function Ilt(n, e, t, i, r, o, s) {
|
|
75051
75045
|
tn(a, !0);
|
75052
75046
|
continue;
|
75053
75047
|
}
|
75054
|
-
if (a.left !==
|
75048
|
+
if (a.left !== lt) {
|
75055
75049
|
a = a.left;
|
75056
75050
|
continue;
|
75057
75051
|
}
|
@@ -75065,7 +75059,7 @@ function Ilt(n, e, t, i, r, o, s) {
|
|
75065
75059
|
let g = !0;
|
75066
75060
|
i && a.ownerId && a.ownerId !== i && (g = !1), r && ere(a) && (g = !1), s && !tre(a) && (g = !1), g && (h[f++] = a);
|
75067
75061
|
}
|
75068
|
-
if (tn(a, !0), a.right !==
|
75062
|
+
if (tn(a, !0), a.right !== lt && !Yi(a.right)) {
|
75069
75063
|
l += a.delta, a = a.right;
|
75070
75064
|
continue;
|
75071
75065
|
}
|
@@ -75073,8 +75067,8 @@ function Ilt(n, e, t, i, r, o, s) {
|
|
75073
75067
|
return tn(n.root, !1), h;
|
75074
75068
|
}
|
75075
75069
|
function CH(n, e) {
|
75076
|
-
if (n.root ===
|
75077
|
-
return e.parent =
|
75070
|
+
if (n.root === lt)
|
75071
|
+
return e.parent = lt, e.left = lt, e.right = lt, on(
|
75078
75072
|
e,
|
75079
75073
|
0
|
75080
75074
|
/* NodeColor.Black */
|
@@ -75140,17 +75134,17 @@ function Alt(n, e) {
|
|
75140
75134
|
const r = e.start, o = e.end;
|
75141
75135
|
for (; ; )
|
75142
75136
|
if (Nlt(r, o, i.start + t, i.end + t) < 0)
|
75143
|
-
if (i.left ===
|
75137
|
+
if (i.left === lt) {
|
75144
75138
|
e.start -= t, e.end -= t, e.maxEnd -= t, i.left = e;
|
75145
75139
|
break;
|
75146
75140
|
} else
|
75147
75141
|
i = i.left;
|
75148
|
-
else if (i.right ===
|
75142
|
+
else if (i.right === lt) {
|
75149
75143
|
e.start -= t + i.delta, e.end -= t + i.delta, e.maxEnd -= t + i.delta, i.right = e;
|
75150
75144
|
break;
|
75151
75145
|
} else
|
75152
75146
|
t += i.delta, i = i.right;
|
75153
|
-
e.parent = i, e.left =
|
75147
|
+
e.parent = i, e.left = lt, e.right = lt, on(
|
75154
75148
|
e,
|
75155
75149
|
1
|
75156
75150
|
/* NodeColor.Red */
|
@@ -75158,16 +75152,16 @@ function Alt(n, e) {
|
|
75158
75152
|
}
|
75159
75153
|
function wH(n, e) {
|
75160
75154
|
let t, i;
|
75161
|
-
if (e.left ===
|
75155
|
+
if (e.left === lt ? (t = e.right, i = e, t.delta += e.delta, (t.delta < -1073741824 || t.delta > 1073741824) && (n.requestNormalizeDelta = !0), t.start += e.delta, t.end += e.delta) : e.right === lt ? (t = e.left, i = e) : (i = Olt(e.right), t = i.right, t.start += i.delta, t.end += i.delta, t.delta += i.delta, (t.delta < -1073741824 || t.delta > 1073741824) && (n.requestNormalizeDelta = !0), i.start += e.delta, i.end += e.delta, i.delta = e.delta, (i.delta < -1073741824 || i.delta > 1073741824) && (n.requestNormalizeDelta = !0)), i === n.root) {
|
75162
75156
|
n.root = t, on(
|
75163
75157
|
t,
|
75164
75158
|
0
|
75165
75159
|
/* NodeColor.Black */
|
75166
|
-
), e.detach(), BE(), lh(t), n.root.parent =
|
75160
|
+
), e.detach(), BE(), lh(t), n.root.parent = lt;
|
75167
75161
|
return;
|
75168
75162
|
}
|
75169
75163
|
const r = qr(i) === 1;
|
75170
|
-
if (i === i.parent.left ? i.parent.left = t : i.parent.right = t, i === e ? t.parent = i.parent : (i.parent === e ? t.parent = i : t.parent = i.parent, i.left = e.left, i.right = e.right, i.parent = e.parent, on(i, qr(e)), e === n.root ? n.root = i : e === e.parent.left ? e.parent.left = i : e.parent.right = i, i.left !==
|
75164
|
+
if (i === i.parent.left ? i.parent.left = t : i.parent.right = t, i === e ? t.parent = i.parent : (i.parent === e ? t.parent = i : t.parent = i.parent, i.left = e.left, i.right = e.right, i.parent = e.parent, on(i, qr(e)), e === n.root ? n.root = i : e === e.parent.left ? e.parent.left = i : e.parent.right = i, i.left !== lt && (i.left.parent = i), i.right !== lt && (i.right.parent = i)), e.detach(), r) {
|
75171
75165
|
rd(t.parent), i !== e && (rd(i), rd(i.parent)), BE();
|
75172
75166
|
return;
|
75173
75167
|
}
|
@@ -75238,28 +75232,28 @@ function wH(n, e) {
|
|
75238
75232
|
), BE();
|
75239
75233
|
}
|
75240
75234
|
function Olt(n) {
|
75241
|
-
for (; n.left !==
|
75235
|
+
for (; n.left !== lt; )
|
75242
75236
|
n = n.left;
|
75243
75237
|
return n;
|
75244
75238
|
}
|
75245
75239
|
function BE() {
|
75246
|
-
|
75240
|
+
lt.parent = lt, lt.delta = 0, lt.start = 0, lt.end = 0;
|
75247
75241
|
}
|
75248
75242
|
function O_(n, e) {
|
75249
75243
|
const t = e.right;
|
75250
|
-
t.delta += e.delta, (t.delta < -1073741824 || t.delta > 1073741824) && (n.requestNormalizeDelta = !0), t.start += e.delta, t.end += e.delta, e.right = t.left, t.left !==
|
75244
|
+
t.delta += e.delta, (t.delta < -1073741824 || t.delta > 1073741824) && (n.requestNormalizeDelta = !0), t.start += e.delta, t.end += e.delta, e.right = t.left, t.left !== lt && (t.left.parent = e), t.parent = e.parent, e.parent === lt ? n.root = t : e === e.parent.left ? e.parent.left = t : e.parent.right = t, t.left = e, e.parent = t, lh(e), lh(t);
|
75251
75245
|
}
|
75252
75246
|
function N_(n, e) {
|
75253
75247
|
const t = e.left;
|
75254
|
-
e.delta -= t.delta, (e.delta < -1073741824 || e.delta > 1073741824) && (n.requestNormalizeDelta = !0), e.start -= t.delta, e.end -= t.delta, e.left = t.right, t.right !==
|
75248
|
+
e.delta -= t.delta, (e.delta < -1073741824 || e.delta > 1073741824) && (n.requestNormalizeDelta = !0), e.start -= t.delta, e.end -= t.delta, e.left = t.right, t.right !== lt && (t.right.parent = e), t.parent = e.parent, e.parent === lt ? n.root = t : e === e.parent.right ? e.parent.right = t : e.parent.left = t, t.right = e, e.parent = t, lh(e), lh(t);
|
75255
75249
|
}
|
75256
75250
|
function ire(n) {
|
75257
75251
|
let e = n.end;
|
75258
|
-
if (n.left !==
|
75252
|
+
if (n.left !== lt) {
|
75259
75253
|
const t = n.left.maxEnd;
|
75260
75254
|
t > e && (e = t);
|
75261
75255
|
}
|
75262
|
-
if (n.right !==
|
75256
|
+
if (n.right !== lt) {
|
75263
75257
|
const t = n.right.maxEnd + n.delta;
|
75264
75258
|
t > e && (e = t);
|
75265
75259
|
}
|
@@ -75269,7 +75263,7 @@ function lh(n) {
|
|
75269
75263
|
n.maxEnd = ire(n);
|
75270
75264
|
}
|
75271
75265
|
function rd(n) {
|
75272
|
-
for (; n !==
|
75266
|
+
for (; n !== lt; ) {
|
75273
75267
|
const e = ire(n);
|
75274
75268
|
if (n.maxEnd === e)
|
75275
75269
|
return;
|
@@ -84379,7 +84373,7 @@ class Vo extends xe {
|
|
84379
84373
|
}))), this._register(Nut.event((d) => this.hoverDelay = d)), this.layoutProvider = t, this.orthogonalStartSash = i.orthogonalStartSash, this.orthogonalEndSash = i.orthogonalEndSash, this.orientation = i.orientation || 0, this.orientation === 1 ? (this.el.classList.add("horizontal"), this.el.classList.remove("vertical")) : (this.el.classList.remove("horizontal"), this.el.classList.add("vertical")), this.el.classList.toggle("debug", Tut), this.layout();
|
84380
84374
|
}
|
84381
84375
|
onPointerStart(e, t) {
|
84382
|
-
|
84376
|
+
ut.stop(e);
|
84383
84377
|
let i = !1;
|
84384
84378
|
if (!e.__orthogonalSashEvent) {
|
84385
84379
|
const g = this.getOrthogonalSash(e);
|
@@ -84398,11 +84392,11 @@ class Vo extends xe {
|
|
84398
84392
|
}, d = new et();
|
84399
84393
|
u(), i || this.onDidEnablementChange.event(u, null, d);
|
84400
84394
|
const h = (g) => {
|
84401
|
-
|
84395
|
+
ut.stop(g, !1);
|
84402
84396
|
const m = { startX: o, currentX: g.pageX, startY: s, currentY: g.pageY, altKey: a };
|
84403
84397
|
this._onDidChange.fire(m);
|
84404
84398
|
}, f = (g) => {
|
84405
|
-
|
84399
|
+
ut.stop(g, !1), this.el.removeChild(c), this.el.classList.remove("active"), this._onDidEnd.fire(), d.dispose();
|
84406
84400
|
for (const m of r)
|
84407
84401
|
m.classList.remove(HH);
|
84408
84402
|
};
|
@@ -85774,8 +85768,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
85774
85768
|
return $r.type === "space";
|
85775
85769
|
}), wc = fl.every(function($r) {
|
85776
85770
|
for (var kh = $r.raw.split(""), Dh = 0, jg = s(kh), Eh; !(Eh = jg()).done; ) {
|
85777
|
-
var
|
85778
|
-
if (
|
85771
|
+
var ct = Eh.value;
|
85772
|
+
if (ct === `
|
85779
85773
|
` && (Dh += 1), Dh > 1)
|
85780
85774
|
return !0;
|
85781
85775
|
}
|
@@ -88313,7 +88307,7 @@ class Kdt {
|
|
88313
88307
|
if (this.enabled)
|
88314
88308
|
return;
|
88315
88309
|
let e = !1;
|
88316
|
-
const t = this.enabledDisposables.add(He.chain(this.enabledDisposables.add(new _t(this.view.domNode, "keydown")).event)).filter((o) => !Yd(o.target)).filter(() => this.mode === Rl.Automatic || this.triggered).map((o) => new un(o)).filter((o) => e || this.keyboardNavigationEventFilter(o)).filter((o) => this.delegate.mightProducePrintableCharacter(o)).forEach((o) =>
|
88310
|
+
const t = this.enabledDisposables.add(He.chain(this.enabledDisposables.add(new _t(this.view.domNode, "keydown")).event)).filter((o) => !Yd(o.target)).filter(() => this.mode === Rl.Automatic || this.triggered).map((o) => new un(o)).filter((o) => e || this.keyboardNavigationEventFilter(o)).filter((o) => this.delegate.mightProducePrintableCharacter(o)).forEach((o) => ut.stop(o, !0)).map((o) => o.browserEvent.key).event, i = He.debounce(t, () => null, 800, void 0, void 0, void 0, this.enabledDisposables);
|
88317
88311
|
He.reduce(He.any(t, i), (o, s) => s === null ? null : (o || "") + s, void 0, this.enabledDisposables)(this.onInput, this, this.enabledDisposables), i(this.onClear, this, this.enabledDisposables), t(() => e = !0, void 0, this.enabledDisposables), i(() => e = !1, void 0, this.enabledDisposables), this.enabled = !0, this.triggered = !1;
|
88318
88312
|
}
|
88319
88313
|
disable() {
|
@@ -88711,7 +88705,7 @@ class _c {
|
|
88711
88705
|
*/
|
88712
88706
|
get onContextMenu() {
|
88713
88707
|
let e = !1;
|
88714
|
-
const t = this.disposables.add(He.chain(this.disposables.add(new _t(this.view.domNode, "keydown")).event)).map((o) => new un(o)).filter((o) => e = o.keyCode === 58 || o.shiftKey && o.keyCode === 68).map((o) =>
|
88708
|
+
const t = this.disposables.add(He.chain(this.disposables.add(new _t(this.view.domNode, "keydown")).event)).map((o) => new un(o)).filter((o) => e = o.keyCode === 58 || o.shiftKey && o.keyCode === 68).map((o) => ut.stop(o, !0)).filter(() => !1).event, i = this.disposables.add(He.chain(this.disposables.add(new _t(this.view.domNode, "keyup")).event)).forEach(() => e = !1).map((o) => new un(o)).filter((o) => o.keyCode === 58 || o.shiftKey && o.keyCode === 68).map((o) => ut.stop(o, !0)).map(({ browserEvent: o }) => {
|
88715
88709
|
const s = this.getFocus(), a = s.length ? s[0] : void 0, l = typeof a < "u" ? this.view.element(a) : void 0, c = typeof a < "u" ? this.view.domElement(a) : this.view.domNode;
|
88716
88710
|
return { index: a, element: l, anchor: c, browserEvent: o };
|
88717
88711
|
}).event, r = this.disposables.add(He.chain(this.view.onContextMenu)).filter((o) => !e).map(({ element: o, index: s, browserEvent: a }) => ({ element: o, index: s, anchor: new qa(a), browserEvent: a })).event;
|
@@ -89015,7 +89009,7 @@ class Fl extends xe {
|
|
89015
89009
|
this.contextViewProvider = e, this.selectDropDownContainer = nt(".monaco-select-box-dropdown-container"), this.selectDropDownContainer.classList.add("monaco-select-box-dropdown-padding"), this.selectionDetailsPane = We(this.selectDropDownContainer, mf(".select-box-details-pane"));
|
89016
89010
|
const t = We(this.selectDropDownContainer, mf(".select-box-dropdown-container-width-control")), i = We(t, mf(".width-control-div"));
|
89017
89011
|
this.widthControlElement = document.createElement("span"), this.widthControlElement.className = "option-text-width-control", We(i, this.widthControlElement), this._dropDownPosition = 0, this.styleElement = va(this.selectDropDownContainer), this.selectDropDownContainer.setAttribute("draggable", "true"), this._register(_e(this.selectDropDownContainer, Ie.DRAG_START, (r) => {
|
89018
|
-
|
89012
|
+
ut.stop(r, !0);
|
89019
89013
|
}));
|
89020
89014
|
}
|
89021
89015
|
registerListeners() {
|
@@ -89025,19 +89019,19 @@ class Fl extends xe {
|
|
89025
89019
|
selected: t.target.value
|
89026
89020
|
}), this.options[this.selected] && this.options[this.selected].text && (this.selectElement.title = this.options[this.selected].text);
|
89027
89021
|
})), this._register(_e(this.selectElement, Ie.CLICK, (t) => {
|
89028
|
-
|
89022
|
+
ut.stop(t), this._isVisible ? this.hideSelectDropDown(!0) : this.showSelectDropDown();
|
89029
89023
|
})), this._register(_e(this.selectElement, Ie.MOUSE_DOWN, (t) => {
|
89030
|
-
|
89024
|
+
ut.stop(t);
|
89031
89025
|
}));
|
89032
89026
|
let e;
|
89033
89027
|
this._register(_e(this.selectElement, "touchstart", (t) => {
|
89034
89028
|
e = this._isVisible;
|
89035
89029
|
})), this._register(_e(this.selectElement, "touchend", (t) => {
|
89036
|
-
|
89030
|
+
ut.stop(t), e ? this.hideSelectDropDown(!0) : this.showSelectDropDown();
|
89037
89031
|
})), this._register(_e(this.selectElement, Ie.KEY_DOWN, (t) => {
|
89038
89032
|
const i = new un(t);
|
89039
89033
|
let r = !1;
|
89040
|
-
Pt ? (i.keyCode === 18 || i.keyCode === 16 || i.keyCode === 10 || i.keyCode === 3) && (r = !0) : (i.keyCode === 18 && i.altKey || i.keyCode === 16 && i.altKey || i.keyCode === 10 || i.keyCode === 3) && (r = !0), r && (this.showSelectDropDown(),
|
89034
|
+
Pt ? (i.keyCode === 18 || i.keyCode === 16 || i.keyCode === 10 || i.keyCode === 3) && (r = !0) : (i.keyCode === 18 && i.altKey || i.keyCode === 16 && i.altKey || i.keyCode === 10 || i.keyCode === 3) && (r = !0), r && (this.showSelectDropDown(), ut.stop(t, !0));
|
89041
89035
|
}));
|
89042
89036
|
}
|
89043
89037
|
get onDidSelect() {
|
@@ -89221,7 +89215,7 @@ class Fl extends xe {
|
|
89221
89215
|
onPointerUp(e) {
|
89222
89216
|
if (!this.selectList.length)
|
89223
89217
|
return;
|
89224
|
-
|
89218
|
+
ut.stop(e);
|
89225
89219
|
const t = e.target;
|
89226
89220
|
if (!t || t.classList.contains("slider"))
|
89227
89221
|
return;
|
@@ -89269,11 +89263,11 @@ class Fl extends xe {
|
|
89269
89263
|
// List keyboard controller
|
89270
89264
|
// List exit - active - hide ContextView dropdown, reset selection, return focus to parent select
|
89271
89265
|
onEscape(e) {
|
89272
|
-
|
89266
|
+
ut.stop(e), this.select(this._currentSelection), this.hideSelectDropDown(!0);
|
89273
89267
|
}
|
89274
89268
|
// List exit - active - hide ContextView dropdown, return focus to parent select, fire onDidSelect if change
|
89275
89269
|
onEnter(e) {
|
89276
|
-
|
89270
|
+
ut.stop(e), this.selected !== this._currentSelection && (this._currentSelection = this.selected, this._onDidSelect.fire({
|
89277
89271
|
index: this.selectElement.selectedIndex,
|
89278
89272
|
selected: this.options[this.selected].text
|
89279
89273
|
}), this.options[this.selected] && this.options[this.selected].text && (this.selectElement.title = this.options[this.selected].text)), this.hideSelectDropDown(!0);
|
@@ -89281,7 +89275,7 @@ class Fl extends xe {
|
|
89281
89275
|
// List navigation - have to handle a disabled option (jump over)
|
89282
89276
|
onDownArrow(e) {
|
89283
89277
|
if (this.selected < this.options.length - 1) {
|
89284
|
-
|
89278
|
+
ut.stop(e, !0);
|
89285
89279
|
const t = this.options[this.selected + 1].isDisabled;
|
89286
89280
|
if (t && this.options.length > this.selected + 2)
|
89287
89281
|
this.selected += 2;
|
@@ -89294,23 +89288,23 @@ class Fl extends xe {
|
|
89294
89288
|
}
|
89295
89289
|
}
|
89296
89290
|
onUpArrow(e) {
|
89297
|
-
this.selected > 0 && (
|
89291
|
+
this.selected > 0 && (ut.stop(e, !0), this.options[this.selected - 1].isDisabled && this.selected > 1 ? this.selected -= 2 : this.selected--, this.select(this.selected), this.selectList.setFocus([this.selected]), this.selectList.reveal(this.selectList.getFocus()[0]));
|
89298
89292
|
}
|
89299
89293
|
onPageUp(e) {
|
89300
|
-
|
89294
|
+
ut.stop(e), this.selectList.focusPreviousPage(), setTimeout(() => {
|
89301
89295
|
this.selected = this.selectList.getFocus()[0], this.options[this.selected].isDisabled && this.selected < this.options.length - 1 && (this.selected++, this.selectList.setFocus([this.selected])), this.selectList.reveal(this.selected), this.select(this.selected);
|
89302
89296
|
}, 1);
|
89303
89297
|
}
|
89304
89298
|
onPageDown(e) {
|
89305
|
-
|
89299
|
+
ut.stop(e), this.selectList.focusNextPage(), setTimeout(() => {
|
89306
89300
|
this.selected = this.selectList.getFocus()[0], this.options[this.selected].isDisabled && this.selected > 0 && (this.selected--, this.selectList.setFocus([this.selected])), this.selectList.reveal(this.selected), this.select(this.selected);
|
89307
89301
|
}, 1);
|
89308
89302
|
}
|
89309
89303
|
onHome(e) {
|
89310
|
-
|
89304
|
+
ut.stop(e), !(this.options.length < 2) && (this.selected = 0, this.options[this.selected].isDisabled && this.selected > 1 && this.selected++, this.selectList.setFocus([this.selected]), this.selectList.reveal(this.selected), this.select(this.selected));
|
89311
89305
|
}
|
89312
89306
|
onEnd(e) {
|
89313
|
-
|
89307
|
+
ut.stop(e), !(this.options.length < 2) && (this.selected = this.options.length - 1, this.options[this.selected].isDisabled && this.selected > 1 && this.selected--, this.selectList.setFocus([this.selected]), this.selectList.reveal(this.selected), this.select(this.selected));
|
89314
89308
|
}
|
89315
89309
|
// Mimic option first character navigation of native select
|
89316
89310
|
onCharacter(e) {
|
@@ -89318,7 +89312,7 @@ class Fl extends xe {
|
|
89318
89312
|
let i = -1;
|
89319
89313
|
for (let r = 0; r < this.options.length - 1; r++)
|
89320
89314
|
if (i = (r + this.selected + 1) % this.options.length, this.options[i].text.charAt(0).toUpperCase() === t && !this.options[i].isDisabled) {
|
89321
|
-
this.select(i), this.selectList.setFocus([i]), this.selectList.reveal(this.selectList.getFocus()[0]),
|
89315
|
+
this.select(i), this.selectList.setFocus([i]), this.selectList.reveal(this.selectList.getFocus()[0]), ut.stop(e);
|
89322
89316
|
break;
|
89323
89317
|
}
|
89324
89318
|
}
|
@@ -89339,7 +89333,7 @@ class rht extends xe {
|
|
89339
89333
|
this.selectElement.focus();
|
89340
89334
|
}));
|
89341
89335
|
}), this._register(pi(this.selectElement, "click", (e) => {
|
89342
|
-
|
89336
|
+
ut.stop(e, !0);
|
89343
89337
|
})), this._register(pi(this.selectElement, "change", (e) => {
|
89344
89338
|
this.selectElement.title = e.target.value, this._onDidSelect.fire({
|
89345
89339
|
index: e.target.selectedIndex,
|
@@ -89441,22 +89435,22 @@ class Fa extends xe {
|
|
89441
89435
|
var o;
|
89442
89436
|
return (o = r.dataTransfer) === null || o === void 0 ? void 0 : o.setData(Lre.TEXT, this._action.label);
|
89443
89437
|
}))), this._register(_e(t, en.Tap, (r) => this.onClick(r, !0))), this._register(_e(t, Ie.MOUSE_DOWN, (r) => {
|
89444
|
-
i ||
|
89438
|
+
i || ut.stop(r, !0), this._action.enabled && r.button === 0 && t.classList.add("active");
|
89445
89439
|
})), Pt && this._register(_e(t, Ie.CONTEXT_MENU, (r) => {
|
89446
89440
|
r.button === 0 && r.ctrlKey === !0 && this.onClick(r);
|
89447
89441
|
})), this._register(_e(t, Ie.CLICK, (r) => {
|
89448
|
-
|
89442
|
+
ut.stop(r, !0), this.options && this.options.isMenu || this.onClick(r);
|
89449
89443
|
})), this._register(_e(t, Ie.DBLCLICK, (r) => {
|
89450
|
-
|
89444
|
+
ut.stop(r, !0);
|
89451
89445
|
})), [Ie.MOUSE_UP, Ie.MOUSE_OUT].forEach((r) => {
|
89452
89446
|
this._register(_e(t, r, (o) => {
|
89453
|
-
|
89447
|
+
ut.stop(o), t.classList.remove("active");
|
89454
89448
|
}));
|
89455
89449
|
});
|
89456
89450
|
}
|
89457
89451
|
onClick(e, t = !1) {
|
89458
89452
|
var i;
|
89459
|
-
|
89453
|
+
ut.stop(e, !0);
|
89460
89454
|
const r = jo(this._context) ? !((i = this.options) === null || i === void 0) && i.useEventAsContext ? e : { preserveFocus: t } : this._context;
|
89461
89455
|
this.actionRunner.run(this._action, r);
|
89462
89456
|
}
|
@@ -89739,7 +89733,7 @@ class lg extends xe {
|
|
89739
89733
|
let a;
|
89740
89734
|
const l = Object.assign({ hoverDelegate: this.options.hoverDelegate }, t);
|
89741
89735
|
this.options.actionViewItemProvider && (a = this.options.actionViewItemProvider(o, l)), a || (a = new _3(this.context, o, l)), this.options.allowContextMenu || this.viewItemDisposables.set(a, _e(s, Ie.CONTEXT_MENU, (c) => {
|
89742
|
-
|
89736
|
+
ut.stop(c, !0);
|
89743
89737
|
})), a.actionRunner = this._actionRunner, a.setActionContext(this.context), a.render(s), this.focusable && a instanceof Fa && this.viewItems.length === 0 && a.setFocusable(!0), r === null || r < 0 || r >= this.actionsList.children.length ? (this.actionsList.appendChild(s), this.viewItems.push(a)) : (this.actionsList.insertBefore(s, this.actionsList.children[r]), this.viewItems.splice(r, 0, a), r++);
|
89744
89738
|
}), typeof this.focusedItem == "number" && this.focus(this.focusedItem), this.refreshRole();
|
89745
89739
|
}
|
@@ -95851,7 +95845,7 @@ class Kft extends Zp {
|
|
95851
95845
|
let i = t.labelRenderer;
|
95852
95846
|
i || (i = (o) => (o.textContent = t.label || "", null));
|
95853
95847
|
for (const o of [Ie.CLICK, Ie.MOUSE_DOWN, en.Tap])
|
95854
|
-
this._register(_e(this.element, o, (s) =>
|
95848
|
+
this._register(_e(this.element, o, (s) => ut.stop(s, !0)));
|
95855
95849
|
for (const o of [Ie.MOUSE_DOWN, en.Tap])
|
95856
95850
|
this._register(_e(this._label, o, (s) => {
|
95857
95851
|
s instanceof MouseEvent && (s.detail > 1 || s.button !== 0) || (this.visible ? this.hide() : this.show());
|
@@ -95864,7 +95858,7 @@ class Kft extends Zp {
|
|
95864
95858
|
) || s.equals(
|
95865
95859
|
10
|
95866
95860
|
/* KeyCode.Space */
|
95867
|
-
)) && (
|
95861
|
+
)) && (ut.stop(o, !0), this.visible ? this.hide() : this.show());
|
95868
95862
|
}));
|
95869
95863
|
const r = i(this._label);
|
95870
95864
|
r && this._register(r), this._register(ln.addTarget(this._label));
|
@@ -96655,7 +96649,7 @@ class _p extends lg {
|
|
96655
96649
|
}), i.enableMnemonics && this.menuDisposables.add(_e(o, Ie.KEY_DOWN, (l) => {
|
96656
96650
|
const c = l.key.toLocaleLowerCase();
|
96657
96651
|
if (this.mnemonics.has(c)) {
|
96658
|
-
|
96652
|
+
ut.stop(l, !0);
|
96659
96653
|
const u = this.mnemonics.get(c);
|
96660
96654
|
if (u.length === 1 && (u[0] instanceof jz && u[0].container && this.focusItemByElement(u[0].container), u[0].onClick(l)), u.length > 1) {
|
96661
96655
|
const d = u.shift();
|
@@ -96670,13 +96664,13 @@ class _p extends lg {
|
|
96670
96664
|
) || c.equals(
|
96671
96665
|
11
|
96672
96666
|
/* KeyCode.PageUp */
|
96673
|
-
) ? (this.focusedItem = this.viewItems.length - 1, this.focusNext(),
|
96667
|
+
) ? (this.focusedItem = this.viewItems.length - 1, this.focusNext(), ut.stop(l, !0)) : (c.equals(
|
96674
96668
|
13
|
96675
96669
|
/* KeyCode.End */
|
96676
96670
|
) || c.equals(
|
96677
96671
|
12
|
96678
96672
|
/* KeyCode.PageDown */
|
96679
|
-
)) && (this.focusedItem = 0, this.focusPrevious(),
|
96673
|
+
)) && (this.focusedItem = 0, this.focusPrevious(), ut.stop(l, !0));
|
96680
96674
|
})), this._register(_e(this.domNode, Ie.MOUSE_OUT, (l) => {
|
96681
96675
|
const c = l.relatedTarget;
|
96682
96676
|
ko(c, this.domNode) || (this.focusedItem = void 0, this.updateFocus(), l.stopPropagation());
|
@@ -96714,7 +96708,7 @@ class _p extends lg {
|
|
96714
96708
|
}));
|
96715
96709
|
const a = this.scrollableElement.getDomNode();
|
96716
96710
|
a.style.position = "", this.styleScrollElement(a, r), this._register(_e(o, en.Change, (l) => {
|
96717
|
-
|
96711
|
+
ut.stop(l, !0);
|
96718
96712
|
const c = this.scrollableElement.getScrollPosition().scrollTop;
|
96719
96713
|
this.scrollableElement.setScrollPosition({ scrollTop: c - l.translationY });
|
96720
96714
|
})), this._register(_e(a, Ie.MOUSE_UP, (l) => {
|
@@ -96803,7 +96797,7 @@ class uoe extends Fa {
|
|
96803
96797
|
}
|
96804
96798
|
this.runOnceToEnableMouseUp = new Fr(() => {
|
96805
96799
|
this.element && (this._register(_e(this.element, Ie.MOUSE_UP, (o) => {
|
96806
|
-
if (
|
96800
|
+
if (ut.stop(o, !0), pa) {
|
96807
96801
|
if (new qa(o).rightButton)
|
96808
96802
|
return;
|
96809
96803
|
this.onClick(o);
|
@@ -96812,7 +96806,7 @@ class uoe extends Fa {
|
|
96812
96806
|
this.onClick(o);
|
96813
96807
|
}, 0);
|
96814
96808
|
})), this._register(_e(this.element, Ie.CONTEXT_MENU, (o) => {
|
96815
|
-
|
96809
|
+
ut.stop(o, !0);
|
96816
96810
|
})));
|
96817
96811
|
}, 100), this._register(this.runOnceToEnableMouseUp);
|
96818
96812
|
}
|
@@ -96889,7 +96883,7 @@ class jz extends uoe {
|
|
96889
96883
|
) || i.equals(
|
96890
96884
|
3
|
96891
96885
|
/* KeyCode.Enter */
|
96892
|
-
)) && (
|
96886
|
+
)) && (ut.stop(t, !0), this.createSubmenu(!0));
|
96893
96887
|
})), this._register(_e(this.element, Ie.KEY_DOWN, (t) => {
|
96894
96888
|
const i = new un(t);
|
96895
96889
|
Kd() === this.item && (i.equals(
|
@@ -96898,7 +96892,7 @@ class jz extends uoe {
|
|
96898
96892
|
) || i.equals(
|
96899
96893
|
3
|
96900
96894
|
/* KeyCode.Enter */
|
96901
|
-
)) &&
|
96895
|
+
)) && ut.stop(t, !0);
|
96902
96896
|
})), this._register(_e(this.element, Ie.MOUSE_OVER, (t) => {
|
96903
96897
|
this.mouseOver || (this.mouseOver = !0, this.showScheduler.schedule());
|
96904
96898
|
})), this._register(_e(this.element, Ie.MOUSE_LEAVE, (t) => {
|
@@ -96912,7 +96906,7 @@ class jz extends uoe {
|
|
96912
96906
|
updateEnabled() {
|
96913
96907
|
}
|
96914
96908
|
onClick(e) {
|
96915
|
-
|
96909
|
+
ut.stop(e, !0), this.cleanupExistingSubmenu(!1), this.createSubmenu(!0);
|
96916
96910
|
}
|
96917
96911
|
cleanupExistingSubmenu(e) {
|
96918
96912
|
if (this.parentData.submenu && (e || this.parentData.submenu !== this.mysubmenu)) {
|
@@ -96945,12 +96939,12 @@ class jz extends uoe {
|
|
96945
96939
|
new un(c).equals(
|
96946
96940
|
15
|
96947
96941
|
/* KeyCode.LeftArrow */
|
96948
|
-
) && (
|
96942
|
+
) && (ut.stop(c, !0), this.parentData.parent.focus(), this.cleanupExistingSubmenu(!0));
|
96949
96943
|
})), this.submenuDisposables.add(_e(this.submenuContainer, Ie.KEY_DOWN, (c) => {
|
96950
96944
|
new un(c).equals(
|
96951
96945
|
15
|
96952
96946
|
/* KeyCode.LeftArrow */
|
96953
|
-
) &&
|
96947
|
+
) && ut.stop(c, !0);
|
96954
96948
|
})), this.submenuDisposables.add(this.parentData.submenu.onDidCancel(() => {
|
96955
96949
|
this.parentData.parent.focus(), this.cleanupExistingSubmenu(!0);
|
96956
96950
|
})), this.parentData.submenu.focus(e), this.mysubmenu = this.parentData.submenu;
|
@@ -99224,7 +99218,7 @@ class Vgt extends Mg {
|
|
99224
99218
|
) && (f === 0 ? g = d.length - 1 : g = f - 1), h.equals(
|
99225
99219
|
9
|
99226
99220
|
/* KeyCode.Escape */
|
99227
|
-
) ? (d[f].blur(), this.inputBox.focus()) : g >= 0 && d[g].focus(),
|
99221
|
+
) ? (d[f].blur(), this.inputBox.focus()) : g >= 0 && d[g].focus(), ut.stop(h, !0);
|
99228
99222
|
}
|
99229
99223
|
}
|
99230
99224
|
});
|
@@ -102241,7 +102235,7 @@ class aU extends xe {
|
|
102241
102235
|
this._element.style.color = r || "", this._element.style.backgroundColor = i || "", t.supportShortLabel && (this._labelShortElement = document.createElement("div"), this._labelShortElement.classList.add("monaco-button-label-short"), this._element.appendChild(this._labelShortElement), this._labelElement = document.createElement("div"), this._labelElement.classList.add("monaco-button-label"), this._element.appendChild(this._labelElement), this._element.classList.add("monaco-text-button-with-short-label")), e.appendChild(this._element), this._register(ln.addTarget(this._element)), [Ie.CLICK, en.Tap].forEach((o) => {
|
102242
102236
|
this._register(_e(this._element, o, (s) => {
|
102243
102237
|
if (!this.enabled) {
|
102244
|
-
|
102238
|
+
ut.stop(s);
|
102245
102239
|
return;
|
102246
102240
|
}
|
102247
102241
|
this._onDidClick.fire(s);
|
@@ -102258,7 +102252,7 @@ class aU extends xe {
|
|
102258
102252
|
)) ? (this._onDidClick.fire(o), a = !0) : s.equals(
|
102259
102253
|
9
|
102260
102254
|
/* KeyCode.Escape */
|
102261
|
-
) && (this._element.blur(), a = !0), a &&
|
102255
|
+
) && (this._element.blur(), a = !0), a && ut.stop(s, !0);
|
102262
102256
|
})), this._register(_e(this._element, Ie.MOUSE_OVER, (o) => {
|
102263
102257
|
this._element.classList.contains("disabled") || this.updateBackground(!0);
|
102264
102258
|
})), this._register(_e(this._element, Ie.MOUSE_OUT, (o) => {
|
@@ -102729,7 +102723,7 @@ function Wmt(n, e, t) {
|
|
102729
102723
|
const a = nt("a", { href: o.href, title: s, tabIndex: r++ }, o.label);
|
102730
102724
|
a.style.textDecoration = "underline";
|
102731
102725
|
const l = (f) => {
|
102732
|
-
oit(f) &&
|
102726
|
+
oit(f) && ut.stop(f, !0), t.callback(o.href);
|
102733
102727
|
}, c = t.disposables.add(new _t(a, Ie.CLICK)).event, u = t.disposables.add(new _t(a, Ie.KEY_DOWN)).event, d = t.disposables.add(He.chain(u)).filter((f) => {
|
102734
102728
|
const g = new un(f);
|
102735
102729
|
return g.equals(
|
@@ -103647,16 +103641,16 @@ class d1 extends My {
|
|
103647
103641
|
})), this.visibleDisposables.add((this._hideInput ? this.ui.list : this.ui.inputBox).onKeyDown((e) => {
|
103648
103642
|
switch (e.keyCode) {
|
103649
103643
|
case 18:
|
103650
|
-
this.ui.list.focus(Ci.Next), this.canSelectMany && this.ui.list.domFocus(),
|
103644
|
+
this.ui.list.focus(Ci.Next), this.canSelectMany && this.ui.list.domFocus(), ut.stop(e, !0);
|
103651
103645
|
break;
|
103652
103646
|
case 16:
|
103653
|
-
this.ui.list.getFocusedElements().length ? this.ui.list.focus(Ci.Previous) : this.ui.list.focus(Ci.Last), this.canSelectMany && this.ui.list.domFocus(),
|
103647
|
+
this.ui.list.getFocusedElements().length ? this.ui.list.focus(Ci.Previous) : this.ui.list.focus(Ci.Last), this.canSelectMany && this.ui.list.domFocus(), ut.stop(e, !0);
|
103654
103648
|
break;
|
103655
103649
|
case 12:
|
103656
|
-
this.ui.list.focus(Ci.NextPage), this.canSelectMany && this.ui.list.domFocus(),
|
103650
|
+
this.ui.list.focus(Ci.NextPage), this.canSelectMany && this.ui.list.domFocus(), ut.stop(e, !0);
|
103657
103651
|
break;
|
103658
103652
|
case 11:
|
103659
|
-
this.ui.list.focus(Ci.PreviousPage), this.canSelectMany && this.ui.list.domFocus(),
|
103653
|
+
this.ui.list.focus(Ci.PreviousPage), this.canSelectMany && this.ui.list.domFocus(), ut.stop(e, !0);
|
103660
103654
|
break;
|
103661
103655
|
case 17:
|
103662
103656
|
if (!this._canAcceptInBackground || !this.ui.inputBox.isSelectionAtEnd())
|
@@ -103664,10 +103658,10 @@ class d1 extends My {
|
|
103664
103658
|
this.activeItems[0] && (this._selectedItems = [this.activeItems[0]], this.onDidChangeSelectionEmitter.fire(this.selectedItems), this.handleAccept(!0));
|
103665
103659
|
break;
|
103666
103660
|
case 14:
|
103667
|
-
(e.ctrlKey || e.metaKey) && !e.shiftKey && !e.altKey && (this.ui.list.focus(Ci.First),
|
103661
|
+
(e.ctrlKey || e.metaKey) && !e.shiftKey && !e.altKey && (this.ui.list.focus(Ci.First), ut.stop(e, !0));
|
103668
103662
|
break;
|
103669
103663
|
case 13:
|
103670
|
-
(e.ctrlKey || e.metaKey) && !e.shiftKey && !e.altKey && (this.ui.list.focus(Ci.Last),
|
103664
|
+
(e.ctrlKey || e.metaKey) && !e.shiftKey && !e.altKey && (this.ui.list.focus(Ci.Last), ut.stop(e, !0));
|
103671
103665
|
break;
|
103672
103666
|
}
|
103673
103667
|
})), this.visibleDisposables.add(this.ui.onDidAccept(() => {
|
@@ -103853,10 +103847,10 @@ class ID extends xe {
|
|
103853
103847
|
const N = new un(T);
|
103854
103848
|
switch (N.keyCode) {
|
103855
103849
|
case 3:
|
103856
|
-
|
103850
|
+
ut.stop(T, !0), this.enabled && this.onDidAcceptEmitter.fire();
|
103857
103851
|
break;
|
103858
103852
|
case 9:
|
103859
|
-
|
103853
|
+
ut.stop(T, !0), this.hide(u1.Gesture);
|
103860
103854
|
break;
|
103861
103855
|
case 2:
|
103862
103856
|
if (!N.altKey && !N.ctrlKey && !N.metaKey) {
|
@@ -103871,11 +103865,11 @@ class ID extends xe {
|
|
103871
103865
|
R.push(".quick-input-html-widget");
|
103872
103866
|
}
|
103873
103867
|
const B = e.querySelectorAll(R.join(", "));
|
103874
|
-
N.shiftKey && N.target === B[0] ? (
|
103868
|
+
N.shiftKey && N.target === B[0] ? (ut.stop(T, !0), A.clearFocus()) : !N.shiftKey && ko(N.target, B[B.length - 1]) && (ut.stop(T, !0), B[0].focus());
|
103875
103869
|
}
|
103876
103870
|
break;
|
103877
103871
|
case 10:
|
103878
|
-
N.ctrlKey && (
|
103872
|
+
N.ctrlKey && (ut.stop(T, !0), this.getUI().list.toggleHover());
|
103879
103873
|
break;
|
103880
103874
|
}
|
103881
103875
|
})), this.ui = {
|
@@ -114791,7 +114785,7 @@ function gse() {
|
|
114791
114785
|
}
|
114792
114786
|
function Obt() {
|
114793
114787
|
var r, o;
|
114794
|
-
const n = gse(), e = ((r = n.location) == null ? void 0 : r.pathname) || "/", t =
|
114788
|
+
const n = gse(), e = ((r = n.location) == null ? void 0 : r.pathname) || "/", t = ht(
|
114795
114789
|
() => {
|
114796
114790
|
var s;
|
114797
114791
|
return new URLSearchParams(((s = n.location) == null ? void 0 : s.search) ?? "/");
|
@@ -114893,7 +114887,7 @@ function Nbt(n) {
|
|
114893
114887
|
(y = b.location) == null ? void 0 : y.search
|
114894
114888
|
]), wt(() => {
|
114895
114889
|
localStorage.setItem("perPage", u.toString());
|
114896
|
-
}, [u]),
|
114890
|
+
}, [u]), ht(
|
114897
114891
|
() => ({
|
114898
114892
|
page: l,
|
114899
114893
|
setPage: c,
|
@@ -114947,7 +114941,7 @@ function Jyt(n) {
|
|
114947
114941
|
const p = Ek(g.filtered), { setPage: _, setPerPage: v } = p;
|
114948
114942
|
wt(() => _(a), [a, p, _]), wt(() => v(l), [l, p, v]);
|
114949
114943
|
const b = LKe(e, t);
|
114950
|
-
return
|
114944
|
+
return ht(() => ({
|
114951
114945
|
itemCount: e ? g.filtered.length : void 0,
|
114952
114946
|
pageItems: e ? p.paged : void 0,
|
114953
114947
|
error: n.error,
|