@abyss-project/commons-front-core 18.1.2 → 18.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +5 -0
- package/dist/{Tabs-MVmpclcZ.js → Tabs-g7OaInVW.js} +46 -44
- package/dist/{editors-D0JP2AdM.js → editors-DdGMdSh2.js} +26 -26
- package/dist/editors.js +1 -1
- package/dist/{index-BXwVo31B.js → index-8LPOJLO8.js} +2 -2
- package/dist/{index-BTQOcRMg.js → index-B12llGmk.js} +4 -4
- package/dist/{index-BhfgX3oc.js → index-BFZvgteF.js} +2 -2
- package/dist/{index-WbhbeBj8.js → index-BPF_Eb0U.js} +3 -3
- package/dist/{index-CTbeT-N0.js → index-Be4u6vqC.js} +1 -1
- package/dist/{index-tTzlUmYK.js → index-CH4DiDpu.js} +2 -2
- package/dist/{index-DWOXLAjk.js → index-CH67WfFq.js} +2 -2
- package/dist/{index-COEwfkxf.js → index-CJ4-H8Ku.js} +3 -3
- package/dist/{index-P3mYGVW9.js → index-CNjQ-GTe.js} +2 -2
- package/dist/{index-CxQaYgoB.js → index-CNx-Ok-t.js} +2 -2
- package/dist/{index-DOniqiUF.js → index-CYGd_IjS.js} +2 -2
- package/dist/{index-DB03r0_G.js → index-CbH8XAvZ.js} +2 -2
- package/dist/{index-CTmmM3bQ.js → index-Cwo-CFS8.js} +4 -4
- package/dist/{index-B7TbdCxd.js → index-DBctH8lu.js} +2 -2
- package/dist/{index-DHwatinf.js → index-DMAlgOv6.js} +2 -2
- package/dist/{index-BiBtwp14.js → index-DSIctaR0.js} +4 -4
- package/dist/{index-CorW4VOJ.js → index-DfGQhHnK.js} +3 -3
- package/dist/{index-DS7PaGaq.js → index-Vgp_uo0Y.js} +3 -3
- package/dist/{index-BgK7ZufI.js → index-_7HwdzPE.js} +2 -2
- package/dist/{index-CVRa0oBj.js → index-cA9H4vaN.js} +2 -2
- package/dist/{index-WnQHBsCS.js → index-zu64GUZu.js} +2 -2
- package/dist/index.js +4 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Changelog — @abyss-project/commons-front-core
|
|
2
2
|
|
|
3
|
+
## 18.1.3
|
|
4
|
+
|
|
5
|
+
- `DeliverySubscriptions`: the URL of a mobile card really wraps: the card's primary line is nowrap and ellipsised, the URL now overrides it.
|
|
6
|
+
- `Callout`: on a narrow screen, a long unbreakable content (a `CopyField`) no longer pushes the text out of the callout.
|
|
7
|
+
|
|
3
8
|
## 18.1.2
|
|
4
9
|
|
|
5
10
|
- `DeliverySubscriptions`: on the mobile card the URL is shown whole and wraps (no middle ellipsis); the history column header « Code de réponse » / « Response code » becomes « Code HTTP » / « HTTP code » so it is no longer cut.
|
|
@@ -12,8 +12,8 @@ import { a as A, p as o, h as D, d as Z, D as K, e as yn, t as De, s as de, g as
|
|
|
12
12
|
import { i as xn, b as Cn, r as kn, u as Sn, A as In, E as Fn } from "./index-C27b790L.js";
|
|
13
13
|
import X from "@mui/material/Button";
|
|
14
14
|
import { byteSizeIEC as Mn } from "@abyss-project/main";
|
|
15
|
-
import
|
|
16
|
-
import
|
|
15
|
+
import Wn from "@mui/icons-material/FileUploadOutlined";
|
|
16
|
+
import On, { autocompleteClasses as Se } from "@mui/material/Autocomplete";
|
|
17
17
|
import Ie from "@mui/material/CircularProgress";
|
|
18
18
|
import ae from "@mui/material/IconButton";
|
|
19
19
|
import me from "@mui/material/OutlinedInput";
|
|
@@ -143,6 +143,8 @@ const Ge = {
|
|
|
143
143
|
gap: o(e.design.space[1]),
|
|
144
144
|
flex: "1 1 auto",
|
|
145
145
|
minWidth: 0,
|
|
146
|
+
// In the column layout of a narrow screen, `alignItems: flex-start` sizes the text to its content.
|
|
147
|
+
maxWidth: "100%",
|
|
146
148
|
paddingTop: o(e.design.space[1] / 2),
|
|
147
149
|
lineHeight: e.typography.body2.lineHeight,
|
|
148
150
|
overflowWrap: "anywhere"
|
|
@@ -282,15 +284,15 @@ const U = (e) => e.id ?? e.name, qe = (e, n, t) => (n === void 0 || e.sizeOctet
|
|
|
282
284
|
listStyle: "none",
|
|
283
285
|
borderLeft: D(e.design.tokens["border.subtle"]),
|
|
284
286
|
marginLeft: o(e.design.space[3])
|
|
285
|
-
})),
|
|
287
|
+
})), We = l("li")({ listStyle: "none" });
|
|
286
288
|
function Je({
|
|
287
289
|
folders: e,
|
|
288
290
|
files: n,
|
|
289
291
|
context: t
|
|
290
292
|
}) {
|
|
291
293
|
return /* @__PURE__ */ x(J, { children: [
|
|
292
|
-
e.map((r) => /* @__PURE__ */ i(
|
|
293
|
-
n.filter((r) => qe(r, t.maxSize, t.accept)).map((r) => /* @__PURE__ */ i(
|
|
294
|
+
e.map((r) => /* @__PURE__ */ i(We, { children: /* @__PURE__ */ i(ut, { folder: r, context: t }) }, r.id ?? r.name)),
|
|
295
|
+
n.filter((r) => qe(r, t.maxSize, t.accept)).map((r) => /* @__PURE__ */ i(We, { children: /* @__PURE__ */ i(ct, { file: r, context: t }) }, U(r)))
|
|
294
296
|
] });
|
|
295
297
|
}
|
|
296
298
|
function dt({
|
|
@@ -385,7 +387,7 @@ function ut({
|
|
|
385
387
|
) })
|
|
386
388
|
] });
|
|
387
389
|
}
|
|
388
|
-
const
|
|
390
|
+
const Oe = "shared", Te = {
|
|
389
391
|
"org-common": 0,
|
|
390
392
|
"perso-in-org": 1,
|
|
391
393
|
project: 2,
|
|
@@ -505,8 +507,8 @@ const We = "shared", Te = {
|
|
|
505
507
|
textTransform: "uppercase",
|
|
506
508
|
color: t["text.muted"]
|
|
507
509
|
};
|
|
508
|
-
}),
|
|
509
|
-
function
|
|
510
|
+
}), Wt = l("ul")({ margin: 0, padding: 0 });
|
|
511
|
+
function Ot({
|
|
510
512
|
cloudPicker: e,
|
|
511
513
|
onImport: n,
|
|
512
514
|
multiple: t = !1,
|
|
@@ -524,7 +526,7 @@ function Wt({
|
|
|
524
526
|
refresh: h,
|
|
525
527
|
onCreateCloud: m,
|
|
526
528
|
fetchCloudRepository: p
|
|
527
|
-
} = e, f = P(), [b, v] = F(null), [M,
|
|
529
|
+
} = e, f = P(), [b, v] = F(null), [M, W] = F(null), [O, S] = F(
|
|
528
530
|
"loading"
|
|
529
531
|
/* Loading */
|
|
530
532
|
), [T, z] = F([]), [R, ee] = F(!1), [re, _] = F(!1), j = ge(() => {
|
|
@@ -573,7 +575,7 @@ function Wt({
|
|
|
573
575
|
),
|
|
574
576
|
...(C ?? []).map(
|
|
575
577
|
H(
|
|
576
|
-
|
|
578
|
+
Oe,
|
|
577
579
|
f.formatMessage({ id: "ds.business.cloud-import.section-shared" })
|
|
578
580
|
)
|
|
579
581
|
)
|
|
@@ -590,7 +592,7 @@ function Wt({
|
|
|
590
592
|
if (w.id === void 0)
|
|
591
593
|
throw new Error("A Space without an id has no tree");
|
|
592
594
|
const k = await he.current(w.id);
|
|
593
|
-
I === ce.current && (
|
|
595
|
+
I === ce.current && (W(k), S(
|
|
594
596
|
"ready"
|
|
595
597
|
/* Ready */
|
|
596
598
|
));
|
|
@@ -685,7 +687,7 @@ function Wt({
|
|
|
685
687
|
const fn = Cn(
|
|
686
688
|
d,
|
|
687
689
|
G.space,
|
|
688
|
-
G.sectionKey ===
|
|
690
|
+
G.sectionKey === Oe
|
|
689
691
|
), ye = f.formatMessage({
|
|
690
692
|
id: "ds.business.cloud-import.refresh"
|
|
691
693
|
}), ve = f.formatMessage({
|
|
@@ -702,7 +704,7 @@ function Wt({
|
|
|
702
704
|
),
|
|
703
705
|
/* @__PURE__ */ x(gt, { children: [
|
|
704
706
|
/* @__PURE__ */ i(
|
|
705
|
-
|
|
707
|
+
On,
|
|
706
708
|
{
|
|
707
709
|
fullWidth: !0,
|
|
708
710
|
disableClearable: !0,
|
|
@@ -722,7 +724,7 @@ function Wt({
|
|
|
722
724
|
},
|
|
723
725
|
renderGroup: (w) => /* @__PURE__ */ x(Ft, { children: [
|
|
724
726
|
/* @__PURE__ */ i(Mt, { children: w.group }),
|
|
725
|
-
/* @__PURE__ */ i(
|
|
727
|
+
/* @__PURE__ */ i(Wt, { children: w.children })
|
|
726
728
|
] }, w.key),
|
|
727
729
|
renderOption: ({ key: w, ...I }, k) => /* @__PURE__ */ x(xt, { ...I, children: [
|
|
728
730
|
/* @__PURE__ */ i(en, { "aria-hidden": !0, children: we(k) }),
|
|
@@ -755,7 +757,7 @@ function Wt({
|
|
|
755
757
|
ae,
|
|
756
758
|
{
|
|
757
759
|
"aria-label": ye,
|
|
758
|
-
disabled:
|
|
760
|
+
disabled: O === "loading" || y,
|
|
759
761
|
onClick: () => void cn(),
|
|
760
762
|
children: /* @__PURE__ */ i(zn, { "aria-hidden": !0 })
|
|
761
763
|
}
|
|
@@ -773,7 +775,7 @@ function Wt({
|
|
|
773
775
|
) })
|
|
774
776
|
] }),
|
|
775
777
|
/* @__PURE__ */ i(ft, { children: f.formatMessage({ id: "ds.business.cloud-import.filtered-hint" }) }),
|
|
776
|
-
|
|
778
|
+
O === "loading" && /* @__PURE__ */ i(ne, { children: /* @__PURE__ */ i(
|
|
777
779
|
Ie,
|
|
778
780
|
{
|
|
779
781
|
size: 24,
|
|
@@ -782,7 +784,7 @@ function Wt({
|
|
|
782
784
|
})
|
|
783
785
|
}
|
|
784
786
|
) }),
|
|
785
|
-
|
|
787
|
+
O === "failed" && /* @__PURE__ */ x(ne, { role: "alert", children: [
|
|
786
788
|
f.formatMessage({ id: "ds.business.cloud-import.tree-error" }),
|
|
787
789
|
/* @__PURE__ */ i(
|
|
788
790
|
X,
|
|
@@ -793,7 +795,7 @@ function Wt({
|
|
|
793
795
|
}
|
|
794
796
|
)
|
|
795
797
|
] }),
|
|
796
|
-
|
|
798
|
+
O === "ready" && M !== null && (M.folders.length === 0 && M.files.length === 0 ? /* @__PURE__ */ x(ne, { children: [
|
|
797
799
|
/* @__PURE__ */ i(Ne, { "aria-hidden": !0 }),
|
|
798
800
|
f.formatMessage({ id: "ds.business.cloud-import.empty-space" })
|
|
799
801
|
] }) : /* @__PURE__ */ i(
|
|
@@ -848,7 +850,7 @@ function Tt({
|
|
|
848
850
|
size: He.Medium,
|
|
849
851
|
title: c.formatMessage({ id: "ds.business.cloud-import.title" }),
|
|
850
852
|
children: e && /* @__PURE__ */ i(
|
|
851
|
-
|
|
853
|
+
Ot,
|
|
852
854
|
{
|
|
853
855
|
cloudPicker: r,
|
|
854
856
|
multiple: s,
|
|
@@ -941,9 +943,9 @@ function wr({
|
|
|
941
943
|
displayEmpty: !0,
|
|
942
944
|
renderValue: (v) => {
|
|
943
945
|
const M = Array.isArray(v) ? v : [v];
|
|
944
|
-
return y && M.length === 0 ? /* @__PURE__ */ i(Pt, { "aria-hidden": !0, children: e }) : /* @__PURE__ */ i(pe, { children: M.map((
|
|
945
|
-
var
|
|
946
|
-
return ((
|
|
946
|
+
return y && M.length === 0 ? /* @__PURE__ */ i(Pt, { "aria-hidden": !0, children: e }) : /* @__PURE__ */ i(pe, { children: M.map((W) => {
|
|
947
|
+
var O;
|
|
948
|
+
return ((O = f.get(W)) == null ? void 0 : O.label) ?? W;
|
|
947
949
|
}).join(", ") });
|
|
948
950
|
},
|
|
949
951
|
"aria-describedby": a ? p : void 0,
|
|
@@ -1058,7 +1060,7 @@ function xr({
|
|
|
1058
1060
|
z.length === 1 ? "too-big" : "some-too-big"
|
|
1059
1061
|
/* SomeTooBig */
|
|
1060
1062
|
) : h(null), re.length > 0 && e(re);
|
|
1061
|
-
}, { getRootProps: M, getInputProps:
|
|
1063
|
+
}, { getRootProps: M, getInputProps: W, isDragActive: O, open: S } = Sn({
|
|
1062
1064
|
onDrop: v,
|
|
1063
1065
|
multiple: n,
|
|
1064
1066
|
accept: t,
|
|
@@ -1077,13 +1079,13 @@ function xr({
|
|
|
1077
1079
|
"aria-describedby": b !== null ? y : void 0,
|
|
1078
1080
|
children: [
|
|
1079
1081
|
d !== void 0 && /* @__PURE__ */ i(Nt, { id: C, children: d }),
|
|
1080
|
-
/* @__PURE__ */ x(_t, { ...M({ onClick: S }), active:
|
|
1081
|
-
/* @__PURE__ */ i("input", { ...
|
|
1082
|
+
/* @__PURE__ */ x(_t, { ...M({ onClick: S }), active: O, children: [
|
|
1083
|
+
/* @__PURE__ */ i("input", { ...W({ "aria-hidden": !0 }) }),
|
|
1082
1084
|
c ?? /* @__PURE__ */ x(J, { children: [
|
|
1083
|
-
/* @__PURE__ */ i(Bt, { "aria-hidden": !0, children: /* @__PURE__ */ i(
|
|
1085
|
+
/* @__PURE__ */ i(Bt, { "aria-hidden": !0, children: /* @__PURE__ */ i(Wn, {}) }),
|
|
1084
1086
|
/* @__PURE__ */ i(Vt, { children: g.formatMessage(
|
|
1085
1087
|
{
|
|
1086
|
-
id:
|
|
1088
|
+
id: O ? "ds.inputs.drop-zone.release" : "ds.inputs.drop-zone.prompt"
|
|
1087
1089
|
},
|
|
1088
1090
|
{ multiple: String(n) }
|
|
1089
1091
|
) })
|
|
@@ -1161,10 +1163,10 @@ function Jt({
|
|
|
1161
1163
|
}) {
|
|
1162
1164
|
const g = P(), C = bn(), y = N(), [u, h] = F(""), [m, p] = F(!1), [f, b] = F(!1), [v, M] = F(e);
|
|
1163
1165
|
e !== v && (M(e), e && (h(""), b(!1)));
|
|
1164
|
-
const
|
|
1166
|
+
const W = !m && (d === void 0 || u === d), O = s !== "default", S = () => {
|
|
1165
1167
|
m || c();
|
|
1166
1168
|
}, T = () => {
|
|
1167
|
-
if (!
|
|
1169
|
+
if (!W)
|
|
1168
1170
|
return;
|
|
1169
1171
|
b(!1);
|
|
1170
1172
|
let R;
|
|
@@ -1196,7 +1198,7 @@ function Jt({
|
|
|
1196
1198
|
{
|
|
1197
1199
|
variant: "outlined",
|
|
1198
1200
|
disabled: m,
|
|
1199
|
-
autoFocus: d === void 0 &&
|
|
1201
|
+
autoFocus: d === void 0 && O,
|
|
1200
1202
|
onClick: S,
|
|
1201
1203
|
children: g.formatMessage({ id: "ds.layers.confirm-dialog.cancel" })
|
|
1202
1204
|
}
|
|
@@ -1208,9 +1210,9 @@ function Jt({
|
|
|
1208
1210
|
form: y,
|
|
1209
1211
|
variant: "contained",
|
|
1210
1212
|
color: Zt[s],
|
|
1211
|
-
disabled: !
|
|
1213
|
+
disabled: !W,
|
|
1212
1214
|
loading: m,
|
|
1213
|
-
autoFocus: d === void 0 && !
|
|
1215
|
+
autoFocus: d === void 0 && !O,
|
|
1214
1216
|
sx: s === "warning" ? {
|
|
1215
1217
|
"&:not(.Mui-disabled)": {
|
|
1216
1218
|
color: Qt(
|
|
@@ -1419,9 +1421,9 @@ function Ir({
|
|
|
1419
1421
|
maximumFractionDigits: r
|
|
1420
1422
|
}),
|
|
1421
1423
|
[m, r]
|
|
1422
|
-
), [b, v] = F(!1), [M,
|
|
1424
|
+
), [b, v] = F(!1), [M, W] = F(() => f(n));
|
|
1423
1425
|
return V(() => {
|
|
1424
|
-
b ||
|
|
1426
|
+
b || W(f(n));
|
|
1425
1427
|
}, [n, b, f]), /* @__PURE__ */ i(ao, { labelHidden: a, children: /* @__PURE__ */ i(Ve, { label: e, help: g, error: C, children: /* @__PURE__ */ i(
|
|
1426
1428
|
me,
|
|
1427
1429
|
{
|
|
@@ -1433,10 +1435,10 @@ function Ir({
|
|
|
1433
1435
|
"data-testid": y
|
|
1434
1436
|
},
|
|
1435
1437
|
onFocus: () => {
|
|
1436
|
-
v(!0), n !== null &&
|
|
1438
|
+
v(!0), n !== null && W(String(n).replace(".", p.decimal));
|
|
1437
1439
|
},
|
|
1438
1440
|
onChange: (S) => {
|
|
1439
|
-
|
|
1441
|
+
W(S.target.value);
|
|
1440
1442
|
const T = Re(S.target.value, p);
|
|
1441
1443
|
T !== null ? t(T) : S.target.value === "" && t(null);
|
|
1442
1444
|
},
|
|
@@ -1451,7 +1453,7 @@ function Ir({
|
|
|
1451
1453
|
)
|
|
1452
1454
|
);
|
|
1453
1455
|
}
|
|
1454
|
-
t(S),
|
|
1456
|
+
t(S), W(f(S));
|
|
1455
1457
|
},
|
|
1456
1458
|
endAdornment: h ? /* @__PURE__ */ i(Un, { position: "end", children: h }) : void 0
|
|
1457
1459
|
}
|
|
@@ -1483,7 +1485,7 @@ const Fr = { l: 0.72, c: 0.12 }, Mr = [
|
|
|
1483
1485
|
"#37bda2",
|
|
1484
1486
|
"#18b9c9",
|
|
1485
1487
|
"#4eb0e5"
|
|
1486
|
-
],
|
|
1488
|
+
], Wr = "#767676", Or = rn[6], Tr = "#111a2f", Rr = "#5674be", lo = /^#?([0-9a-f]{6})$/i, q = (e) => {
|
|
1487
1489
|
const n = lo.exec(e.trim());
|
|
1488
1490
|
return n ? `#${n[1].toLowerCase()}` : null;
|
|
1489
1491
|
}, co = l("div")(({ theme: e }) => ({
|
|
@@ -1831,7 +1833,7 @@ const So = 2, Io = /* @__PURE__ */ new Set(["Enter", " "]), Fo = l("div", {
|
|
|
1831
1833
|
},
|
|
1832
1834
|
...y
|
|
1833
1835
|
};
|
|
1834
|
-
}, ln = (e) => e !== "variant",
|
|
1836
|
+
}, ln = (e) => e !== "variant", Wo = l(Yn, { shouldForwardProp: ln })(({ theme: e, variant: n }) => an(e, n)), Oo = l("button", { shouldForwardProp: ln })(({ theme: e, variant: n }) => an(e, n)), To = l("span")(({ theme: e }) => {
|
|
1835
1837
|
const { tokens: n, space: t, radii: r, fonts: s, typeScale: d } = e.design;
|
|
1836
1838
|
return {
|
|
1837
1839
|
display: "inline-flex",
|
|
@@ -1930,7 +1932,7 @@ function Ar({
|
|
|
1930
1932
|
onClick: () => t == null ? void 0 : t(p.value)
|
|
1931
1933
|
};
|
|
1932
1934
|
return p.to !== void 0 ? /* @__PURE__ */ i(
|
|
1933
|
-
|
|
1935
|
+
Wo,
|
|
1934
1936
|
{
|
|
1935
1937
|
to: p.to,
|
|
1936
1938
|
"aria-current": b ? "page" : void 0,
|
|
@@ -1938,7 +1940,7 @@ function Ar({
|
|
|
1938
1940
|
children: v
|
|
1939
1941
|
},
|
|
1940
1942
|
p.value
|
|
1941
|
-
) : /* @__PURE__ */ i(
|
|
1943
|
+
) : /* @__PURE__ */ i(Oo, { type: "button", ...M, children: v }, p.value);
|
|
1942
1944
|
})
|
|
1943
1945
|
}
|
|
1944
1946
|
) });
|
|
@@ -1959,7 +1961,7 @@ export {
|
|
|
1959
1961
|
Yt as d,
|
|
1960
1962
|
Jt as e,
|
|
1961
1963
|
Co as f,
|
|
1962
|
-
|
|
1964
|
+
Ot as g,
|
|
1963
1965
|
Er as h,
|
|
1964
1966
|
eo as i,
|
|
1965
1967
|
Cr as j,
|
|
@@ -1968,8 +1970,8 @@ export {
|
|
|
1968
1970
|
Mr as m,
|
|
1969
1971
|
q as n,
|
|
1970
1972
|
rn as o,
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
+
Wr as p,
|
|
1974
|
+
Or as q,
|
|
1973
1975
|
Tr as r,
|
|
1974
1976
|
Rr as s,
|
|
1975
1977
|
kr as u
|
|
@@ -16,7 +16,7 @@ import zQ from "@mui/material/CircularProgress";
|
|
|
16
16
|
import mo from "@mui/material/FormControlLabel";
|
|
17
17
|
import WV from "@mui/material/OutlinedInput";
|
|
18
18
|
import DM from "@mui/material/Switch";
|
|
19
|
-
import { R as wb, F as pV, C as bF, a as MF, h as Mu, S as iZ, D as _z, k as JO, T as GO, N as fM, A as yO, u as BO, d as XO, j as YO } from "./Tabs-
|
|
19
|
+
import { R as wb, F as pV, C as bF, a as MF, h as Mu, S as iZ, D as _z, k as JO, T as GO, N as fM, A as yO, u as BO, d as XO, j as YO } from "./Tabs-g7OaInVW.js";
|
|
20
20
|
import { PDFDocument as Ka, PDFTextField as qz, PDFCheckBox as $z, PDFDropdown as t9, PDFRadioGroup as e9, PDFOptionList as kO, degrees as Ib, StandardFonts as SN, BlendMode as zO, rgb as LO } from "pdf-lib";
|
|
21
21
|
import * as _G from "pdfjs-dist";
|
|
22
22
|
import DO from "@mui/icons-material/OpenInNew";
|
|
@@ -14225,7 +14225,7 @@ function Ut(l) {
|
|
|
14225
14225
|
return new CH(oS.define(l));
|
|
14226
14226
|
}
|
|
14227
14227
|
function ra(l) {
|
|
14228
|
-
return import("./index-
|
|
14228
|
+
return import("./index-DMAlgOv6.js").then((t) => t.sql({ dialect: t[l] }));
|
|
14229
14229
|
}
|
|
14230
14230
|
const Y7 = [
|
|
14231
14231
|
// New-style language modes
|
|
@@ -14233,7 +14233,7 @@ const Y7 = [
|
|
|
14233
14233
|
name: "C",
|
|
14234
14234
|
extensions: ["c", "h", "ino"],
|
|
14235
14235
|
load() {
|
|
14236
|
-
return import("./index-
|
|
14236
|
+
return import("./index-cA9H4vaN.js").then((l) => l.cpp());
|
|
14237
14237
|
}
|
|
14238
14238
|
}),
|
|
14239
14239
|
/* @__PURE__ */ A.of({
|
|
@@ -14241,7 +14241,7 @@ const Y7 = [
|
|
|
14241
14241
|
alias: ["cpp"],
|
|
14242
14242
|
extensions: ["cpp", "c++", "cc", "cxx", "hpp", "h++", "hh", "hxx"],
|
|
14243
14243
|
load() {
|
|
14244
|
-
return import("./index-
|
|
14244
|
+
return import("./index-cA9H4vaN.js").then((l) => l.cpp());
|
|
14245
14245
|
}
|
|
14246
14246
|
}),
|
|
14247
14247
|
/* @__PURE__ */ A.of({
|
|
@@ -14256,14 +14256,14 @@ const Y7 = [
|
|
|
14256
14256
|
name: "CSS",
|
|
14257
14257
|
extensions: ["css"],
|
|
14258
14258
|
load() {
|
|
14259
|
-
return import("./index-
|
|
14259
|
+
return import("./index-CH4DiDpu.js").then((l) => l.css());
|
|
14260
14260
|
}
|
|
14261
14261
|
}),
|
|
14262
14262
|
/* @__PURE__ */ A.of({
|
|
14263
14263
|
name: "Go",
|
|
14264
14264
|
extensions: ["go"],
|
|
14265
14265
|
load() {
|
|
14266
|
-
return import("./index-
|
|
14266
|
+
return import("./index-BFZvgteF.js").then((l) => l.go());
|
|
14267
14267
|
}
|
|
14268
14268
|
}),
|
|
14269
14269
|
/* @__PURE__ */ A.of({
|
|
@@ -14271,14 +14271,14 @@ const Y7 = [
|
|
|
14271
14271
|
alias: ["xhtml"],
|
|
14272
14272
|
extensions: ["html", "htm", "handlebars", "hbs"],
|
|
14273
14273
|
load() {
|
|
14274
|
-
return import("./index-
|
|
14274
|
+
return import("./index-B12llGmk.js").then((l) => l.html());
|
|
14275
14275
|
}
|
|
14276
14276
|
}),
|
|
14277
14277
|
/* @__PURE__ */ A.of({
|
|
14278
14278
|
name: "Java",
|
|
14279
14279
|
extensions: ["java"],
|
|
14280
14280
|
load() {
|
|
14281
|
-
return import("./index-
|
|
14281
|
+
return import("./index-CNx-Ok-t.js").then((l) => l.java());
|
|
14282
14282
|
}
|
|
14283
14283
|
}),
|
|
14284
14284
|
/* @__PURE__ */ A.of({
|
|
@@ -14286,7 +14286,7 @@ const Y7 = [
|
|
|
14286
14286
|
alias: ["ecmascript", "js", "node"],
|
|
14287
14287
|
extensions: ["js", "mjs", "cjs"],
|
|
14288
14288
|
load() {
|
|
14289
|
-
return import("./index-
|
|
14289
|
+
return import("./index-DBctH8lu.js").then((l) => l.javascript());
|
|
14290
14290
|
}
|
|
14291
14291
|
}),
|
|
14292
14292
|
/* @__PURE__ */ A.of({
|
|
@@ -14294,28 +14294,28 @@ const Y7 = [
|
|
|
14294
14294
|
alias: ["json5"],
|
|
14295
14295
|
extensions: ["json", "map"],
|
|
14296
14296
|
load() {
|
|
14297
|
-
return import("./index-
|
|
14297
|
+
return import("./index-_7HwdzPE.js").then((l) => l.json());
|
|
14298
14298
|
}
|
|
14299
14299
|
}),
|
|
14300
14300
|
/* @__PURE__ */ A.of({
|
|
14301
14301
|
name: "JSX",
|
|
14302
14302
|
extensions: ["jsx"],
|
|
14303
14303
|
load() {
|
|
14304
|
-
return import("./index-
|
|
14304
|
+
return import("./index-DBctH8lu.js").then((l) => l.javascript({ jsx: !0 }));
|
|
14305
14305
|
}
|
|
14306
14306
|
}),
|
|
14307
14307
|
/* @__PURE__ */ A.of({
|
|
14308
14308
|
name: "LESS",
|
|
14309
14309
|
extensions: ["less"],
|
|
14310
14310
|
load() {
|
|
14311
|
-
return import("./index-
|
|
14311
|
+
return import("./index-DfGQhHnK.js").then((l) => l.less());
|
|
14312
14312
|
}
|
|
14313
14313
|
}),
|
|
14314
14314
|
/* @__PURE__ */ A.of({
|
|
14315
14315
|
name: "Liquid",
|
|
14316
14316
|
extensions: ["liquid"],
|
|
14317
14317
|
load() {
|
|
14318
|
-
return import("./index-
|
|
14318
|
+
return import("./index-Vgp_uo0Y.js").then((l) => l.liquid());
|
|
14319
14319
|
}
|
|
14320
14320
|
}),
|
|
14321
14321
|
/* @__PURE__ */ A.of({
|
|
@@ -14328,7 +14328,7 @@ const Y7 = [
|
|
|
14328
14328
|
name: "Markdown",
|
|
14329
14329
|
extensions: ["md", "markdown", "mkd"],
|
|
14330
14330
|
load() {
|
|
14331
|
-
return import("./index-
|
|
14331
|
+
return import("./index-CNjQ-GTe.js").then((l) => l.markdown());
|
|
14332
14332
|
}
|
|
14333
14333
|
}),
|
|
14334
14334
|
/* @__PURE__ */ A.of({
|
|
@@ -14347,7 +14347,7 @@ const Y7 = [
|
|
|
14347
14347
|
name: "PHP",
|
|
14348
14348
|
extensions: ["php", "php3", "php4", "php5", "php7", "phtml"],
|
|
14349
14349
|
load() {
|
|
14350
|
-
return import("./index-
|
|
14350
|
+
return import("./index-CJ4-H8Ku.js").then((l) => l.php());
|
|
14351
14351
|
}
|
|
14352
14352
|
}),
|
|
14353
14353
|
/* @__PURE__ */ A.of({
|
|
@@ -14368,28 +14368,28 @@ const Y7 = [
|
|
|
14368
14368
|
extensions: ["BUILD", "bzl", "py", "pyw"],
|
|
14369
14369
|
filename: /^(BUCK|BUILD)$/,
|
|
14370
14370
|
load() {
|
|
14371
|
-
return import("./index-
|
|
14371
|
+
return import("./index-zu64GUZu.js").then((l) => l.python());
|
|
14372
14372
|
}
|
|
14373
14373
|
}),
|
|
14374
14374
|
/* @__PURE__ */ A.of({
|
|
14375
14375
|
name: "Rust",
|
|
14376
14376
|
extensions: ["rs"],
|
|
14377
14377
|
load() {
|
|
14378
|
-
return import("./index-
|
|
14378
|
+
return import("./index-CbH8XAvZ.js").then((l) => l.rust());
|
|
14379
14379
|
}
|
|
14380
14380
|
}),
|
|
14381
14381
|
/* @__PURE__ */ A.of({
|
|
14382
14382
|
name: "Sass",
|
|
14383
14383
|
extensions: ["sass"],
|
|
14384
14384
|
load() {
|
|
14385
|
-
return import("./index-
|
|
14385
|
+
return import("./index-BPF_Eb0U.js").then((l) => l.sass({ indented: !0 }));
|
|
14386
14386
|
}
|
|
14387
14387
|
}),
|
|
14388
14388
|
/* @__PURE__ */ A.of({
|
|
14389
14389
|
name: "SCSS",
|
|
14390
14390
|
extensions: ["scss"],
|
|
14391
14391
|
load() {
|
|
14392
|
-
return import("./index-
|
|
14392
|
+
return import("./index-BPF_Eb0U.js").then((l) => l.sass());
|
|
14393
14393
|
}
|
|
14394
14394
|
}),
|
|
14395
14395
|
/* @__PURE__ */ A.of({
|
|
@@ -14409,7 +14409,7 @@ const Y7 = [
|
|
|
14409
14409
|
name: "TSX",
|
|
14410
14410
|
extensions: ["tsx"],
|
|
14411
14411
|
load() {
|
|
14412
|
-
return import("./index-
|
|
14412
|
+
return import("./index-DBctH8lu.js").then((l) => l.javascript({ jsx: !0, typescript: !0 }));
|
|
14413
14413
|
}
|
|
14414
14414
|
}),
|
|
14415
14415
|
/* @__PURE__ */ A.of({
|
|
@@ -14417,14 +14417,14 @@ const Y7 = [
|
|
|
14417
14417
|
alias: ["ts"],
|
|
14418
14418
|
extensions: ["ts", "mts", "cts"],
|
|
14419
14419
|
load() {
|
|
14420
|
-
return import("./index-
|
|
14420
|
+
return import("./index-DBctH8lu.js").then((l) => l.javascript({ typescript: !0 }));
|
|
14421
14421
|
}
|
|
14422
14422
|
}),
|
|
14423
14423
|
/* @__PURE__ */ A.of({
|
|
14424
14424
|
name: "WebAssembly",
|
|
14425
14425
|
extensions: ["wat", "wast"],
|
|
14426
14426
|
load() {
|
|
14427
|
-
return import("./index-
|
|
14427
|
+
return import("./index-CYGd_IjS.js").then((l) => l.wast());
|
|
14428
14428
|
}
|
|
14429
14429
|
}),
|
|
14430
14430
|
/* @__PURE__ */ A.of({
|
|
@@ -14432,7 +14432,7 @@ const Y7 = [
|
|
|
14432
14432
|
alias: ["rss", "wsdl", "xsd"],
|
|
14433
14433
|
extensions: ["xml", "xsl", "xsd", "svg"],
|
|
14434
14434
|
load() {
|
|
14435
|
-
return import("./index-
|
|
14435
|
+
return import("./index-CH67WfFq.js").then((l) => l.xml());
|
|
14436
14436
|
}
|
|
14437
14437
|
}),
|
|
14438
14438
|
/* @__PURE__ */ A.of({
|
|
@@ -14440,7 +14440,7 @@ const Y7 = [
|
|
|
14440
14440
|
alias: ["yml"],
|
|
14441
14441
|
extensions: ["yaml", "yml"],
|
|
14442
14442
|
load() {
|
|
14443
|
-
return import("./index-
|
|
14443
|
+
return import("./index-8LPOJLO8.js").then((l) => l.yaml());
|
|
14444
14444
|
}
|
|
14445
14445
|
}),
|
|
14446
14446
|
// Legacy modes ported from CodeMirror 5
|
|
@@ -15236,13 +15236,13 @@ const Y7 = [
|
|
|
15236
15236
|
name: "Vue",
|
|
15237
15237
|
extensions: ["vue"],
|
|
15238
15238
|
load() {
|
|
15239
|
-
return import("./index-
|
|
15239
|
+
return import("./index-DSIctaR0.js").then((l) => l.vue());
|
|
15240
15240
|
}
|
|
15241
15241
|
}),
|
|
15242
15242
|
/* @__PURE__ */ A.of({
|
|
15243
15243
|
name: "Angular Template",
|
|
15244
15244
|
load() {
|
|
15245
|
-
return import("./index-
|
|
15245
|
+
return import("./index-Cwo-CFS8.js").then((l) => l.angular());
|
|
15246
15246
|
}
|
|
15247
15247
|
})
|
|
15248
15248
|
], k7 = "#e5c07b", G5 = "#e06c75", z7 = "#56b6c2", L7 = "#ffffff", kV = "#abb2bf", D2 = "#7d8799", D7 = "#61afef", f7 = "#98c379", y5 = "#d19a66", w7 = "#c678dd", I7 = "#21252b", B5 = "#2c313a", X5 = "#282c34", HN = "#353a42", x7 = "#3E4451", Y5 = "#528bff", C7 = /* @__PURE__ */ At.theme({
|
package/dist/editors.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Q as o, R as s, S as r, M as t, O as i, K as n, Y as d, U as g, W as p, X as E, V as l, Z as f } from "./editors-
|
|
1
|
+
import { Q as o, R as s, S as r, M as t, O as i, K as n, Y as d, U as g, W as p, X as E, V as l, Z as f } from "./editors-DdGMdSh2.js";
|
|
2
2
|
export {
|
|
3
3
|
o as CodeEditor,
|
|
4
4
|
s as ExpressionCodeEditor,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { L as W, E as i, C as B } from "./index-
|
|
2
|
-
import { s as U, t as n, a as C, L as b, p as E, i as u, f as M, j as v, g as N } from "./editors-
|
|
1
|
+
import { L as W, E as i, C as B } from "./index-Be4u6vqC.js";
|
|
2
|
+
import { s as U, t as n, a as C, L as b, p as E, i as u, f as M, j as v, g as N } from "./editors-DdGMdSh2.js";
|
|
3
3
|
const c = 63, D = 64, j = 1, A = 2, y = 3, H = 4, Z = 5, F = 6, I = 7, z = 65, K = 66, J = 8, OO = 9, eO = 10, aO = 11, rO = 12, V = 13, tO = 19, nO = 20, oO = 29, PO = 33, QO = 34, sO = 47, lO = 0, T = 1, g = 2, d = 3, m = 4;
|
|
4
4
|
class s {
|
|
5
5
|
constructor(e, a, r) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { L as be, E as $, C as Pe } from "./index-
|
|
2
|
-
import { p as xe, s as Te, t as h, E as Ve, a as we, L as ye, e as K, h as ve, i as Xe, f as ke, H as $e } from "./editors-
|
|
3
|
-
import { cssLanguage as J, css as _e } from "./index-
|
|
4
|
-
import { typescriptLanguage as qe, jsxLanguage as Ce, tsxLanguage as Qe, javascriptLanguage as R, javascript as Ae } from "./index-
|
|
1
|
+
import { L as be, E as $, C as Pe } from "./index-Be4u6vqC.js";
|
|
2
|
+
import { p as xe, s as Te, t as h, E as Ve, a as we, L as ye, e as K, h as ve, i as Xe, f as ke, H as $e } from "./editors-DdGMdSh2.js";
|
|
3
|
+
import { cssLanguage as J, css as _e } from "./index-CH4DiDpu.js";
|
|
4
|
+
import { typescriptLanguage as qe, jsxLanguage as Ce, tsxLanguage as Qe, javascriptLanguage as R, javascript as Ae } from "./index-DBctH8lu.js";
|
|
5
5
|
const Ye = 54, Me = 1, Re = 55, Ee = 2, Ze = 56, Be = 3, z = 4, ze = 5, X = 6, ee = 7, te = 8, ae = 9, le = 10, We = 11, De = 12, Ne = 13, _ = 57, Ge = 14, W = 58, re = 20, Ie = 22, ne = 23, je = 24, Y = 26, se = 27, Ue = 28, Le = 31, Fe = 34, He = 36, Ke = 37, Je = 0, et = 1, tt = {
|
|
6
6
|
area: !0,
|
|
7
7
|
base: !0,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { L as s, E as R, a as Y, C as x } from "./index-
|
|
2
|
-
import { s as w, t as O, a as d, n as X, L as k, b as h, d as f, i as u, f as y, c as l, j as g, m as j, g as U, e as G, o as b, I as Z } from "./editors-
|
|
1
|
+
import { L as s, E as R, a as Y, C as x } from "./index-Be4u6vqC.js";
|
|
2
|
+
import { s as w, t as O, a as d, n as X, L as k, b as h, d as f, i as u, f as y, c as l, j as g, m as j, g as U, e as G, o as b, I as Z } from "./editors-DdGMdSh2.js";
|
|
3
3
|
const _ = 177, q = 179, E = 184, v = 12, C = 13, D = 17, z = 20, F = 25, B = 53, N = 95, I = 142, L = 144, A = 145, J = 148, M = 10, H = 13, K = 32, OO = 9, $ = 47, QO = 41, eO = 125, aO = new R((Q, e) => {
|
|
4
4
|
for (let n = 0, a = Q.next; (e.context && (a < 0 || a == M || a == H || a == $ && Q.peek(n + 1) == $) || a == QO || a == eO) && Q.acceptToken(_), !(a != K && a != OO); )
|
|
5
5
|
a = Q.peek(++n);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { L as v, E as i, C as _ } from "./index-
|
|
2
|
-
import { s as W, t as e, a as g, L as x, f as p, i as U, g as V, c as E } from "./editors-
|
|
3
|
-
import { defineCSSCompletionSource as N } from "./index-
|
|
1
|
+
import { L as v, E as i, C as _ } from "./index-Be4u6vqC.js";
|
|
2
|
+
import { s as W, t as e, a as g, L as x, f as p, i as U, g as V, c as E } from "./editors-DdGMdSh2.js";
|
|
3
|
+
import { defineCSSCompletionSource as N } from "./index-CH4DiDpu.js";
|
|
4
4
|
const j = 168, X = 169, C = 170, I = 1, D = 2, w = 3, L = 171, F = 172, Y = 4, z = 173, K = 5, A = 174, T = 175, Z = 176, s = 177, G = 6, q = 7, B = 8, H = 9, c = 0, R = [
|
|
5
5
|
9,
|
|
6
6
|
10,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { L as w, E as p, a as Y } from "./index-
|
|
2
|
-
import { s as x, t as r, a as q, L as j, e as G, i as R, f as T, c as E, g as _, o as C, I as U } from "./editors-
|
|
1
|
+
import { L as w, E as p, a as Y } from "./index-Be4u6vqC.js";
|
|
2
|
+
import { s as x, t as r, a as q, L as j, e as G, i as R, f as T, c as E, g as _, o as C, I as U } from "./editors-DdGMdSh2.js";
|
|
3
3
|
const V = 122, g = 1, Z = 123, W = 124, b = 2, N = 125, I = 3, F = 4, X = [
|
|
4
4
|
9,
|
|
5
5
|
10,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { L as G, E as A, C as N } from "./index-
|
|
2
|
-
import { s as I, t as p, E as Y, a as j, L as U, e as k, h as Z, i as B, f as D, H as M } from "./editors-
|
|
1
|
+
import { L as G, E as A, C as N } from "./index-Be4u6vqC.js";
|
|
2
|
+
import { s as I, t as p, E as Y, a as j, L as U, e as k, h as Z, i as B, f as D, H as M } from "./editors-DdGMdSh2.js";
|
|
3
3
|
const h = 1, F = 2, L = 3, H = 4, K = 5, J = 36, ee = 37, te = 38, Oe = 11, oe = 13;
|
|
4
4
|
function re(e) {
|
|
5
5
|
return e == 45 || e == 46 || e == 58 || e >= 65 && e <= 90 || e == 95 || e >= 97 && e <= 122 || e >= 161;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { L as V, E as X } from "./index-
|
|
2
|
-
import { s as d, t as $, a as Z, L as R, p as s, i as t, f as y, c, j as U, g as l } from "./editors-
|
|
3
|
-
import { html as w } from "./index-
|
|
1
|
+
import { L as V, E as X } from "./index-Be4u6vqC.js";
|
|
2
|
+
import { s as d, t as $, a as Z, L as R, p as s, i as t, f as y, c, j as U, g as l } from "./editors-DdGMdSh2.js";
|
|
3
|
+
import { html as w } from "./index-B12llGmk.js";
|
|
4
4
|
const W = 1, p = 2, q = 275, u = 3, b = 276, _ = 277, f = 278, k = 4, m = 5, G = 6, x = 7, z = 8, h = 9, g = 10, v = 11, j = 12, E = 13, I = 14, N = 15, L = 16, F = 17, C = 18, H = 19, A = 20, K = 21, D = 22, B = 23, M = 24, J = 25, OO = 26, $O = 27, QO = 28, iO = 29, aO = 30, TO = 31, PO = 32, XO = 33, SO = 34, cO = 35, eO = 36, oO = 37, _O = 38, zO = 39, nO = 40, rO = 41, YO = 42, VO = 43, dO = 44, ZO = 45, RO = 46, sO = 47, tO = 48, yO = 49, UO = 50, lO = 51, wO = 52, WO = 53, pO = 54, qO = 55, uO = 56, bO = 57, fO = 58, kO = 59, mO = 60, GO = 61, xO = 62, e = 63, hO = 64, gO = 65, vO = 66, jO = {
|
|
5
5
|
abstract: k,
|
|
6
6
|
and: m,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { P as nt, k as j, l as v, q as st, N as Ae, s as Be, p as it, t as c, T as E, r as ot, L as le, u as at, v as lt, w as ht, x as ft, e as _, h as P, y as T, z as ut, f as Ie, i as dt, A as pt, C as ct, B as mt, F as he, G as gt } from "./editors-
|
|
2
|
-
import { html as kt, htmlCompletionSource as Lt } from "./index-
|
|
1
|
+
import { P as nt, k as j, l as v, q as st, N as Ae, s as Be, p as it, t as c, T as E, r as ot, L as le, u as at, v as lt, w as ht, x as ft, e as _, h as P, y as T, z as ut, f as Ie, i as dt, A as pt, C as ct, B as mt, F as he, G as gt } from "./editors-DdGMdSh2.js";
|
|
2
|
+
import { html as kt, htmlCompletionSource as Lt } from "./index-B12llGmk.js";
|
|
3
3
|
class $ {
|
|
4
4
|
static create(e, r, n, s, i) {
|
|
5
5
|
let o = s + (s << 8) + e + (r << 4) | 0;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { L as r } from "./index-
|
|
2
|
-
import { s as e, t as O, a as s, L as X, i as l, f as Y, c as $, j as S, m as o, g as t } from "./editors-
|
|
1
|
+
import { L as r } from "./index-Be4u6vqC.js";
|
|
2
|
+
import { s as e, t as O, a as s, L as X, i as l, f as Y, c as $, j as S, m as o, g as t } from "./editors-DdGMdSh2.js";
|
|
3
3
|
const Z = e({
|
|
4
4
|
null: O.null,
|
|
5
5
|
instanceof: O.operatorKeyword,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as O, L as r, i as b, f as s, s as a, j as t, g as P, t as e } from "./editors-
|
|
2
|
-
import { L as n } from "./index-
|
|
1
|
+
import { a as O, L as r, i as b, f as s, s as a, j as t, g as P, t as e } from "./editors-DdGMdSh2.js";
|
|
2
|
+
import { L as n } from "./index-Be4u6vqC.js";
|
|
3
3
|
const S = { __proto__: null, anyref: 34, dataref: 34, eqref: 34, externref: 34, i31ref: 34, funcref: 34, i8: 34, i16: 34, i32: 34, i64: 34, f32: 34, f64: 34 }, i = /* @__PURE__ */ n.deserialize({
|
|
4
4
|
version: 14,
|
|
5
5
|
states: "!^Q]QPOOOqQPO'#CbOOQO'#Cd'#CdOOQO'#Cl'#ClOOQO'#Ch'#ChQ]QPOOOOQO,58|,58|OxQPO,58|OOQO-E6f-E6fOOQO1G.h1G.h",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { L as o, E as a } from "./index-
|
|
2
|
-
import { s as Z, t as Q, a as _, L as q, i as l, f as w, c as r, g as V } from "./editors-
|
|
1
|
+
import { L as o, E as a } from "./index-Be4u6vqC.js";
|
|
2
|
+
import { s as Z, t as Q, a as _, L as q, i as l, f as w, c as r, g as V } from "./editors-DdGMdSh2.js";
|
|
3
3
|
const g = 1, R = 2, b = 3, y = 4, T = 5, s = 98, c = 101, v = 102, t = 114, p = 69, X = 48, W = 46, d = 43, f = 45, Y = 35, z = 34, x = 124, U = 60, h = 62;
|
|
4
4
|
function n(O) {
|
|
5
5
|
return O >= 48 && O <= 57;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as g, L as P, p as l, s as q, t as r } from "./editors-
|
|
2
|
-
import { html as c } from "./index-
|
|
3
|
-
import { javascriptLanguage as i } from "./index-
|
|
4
|
-
import { L as R, E as p } from "./index-
|
|
1
|
+
import { a as g, L as P, p as l, s as q, t as r } from "./editors-DdGMdSh2.js";
|
|
2
|
+
import { html as c } from "./index-B12llGmk.js";
|
|
3
|
+
import { javascriptLanguage as i } from "./index-DBctH8lu.js";
|
|
4
|
+
import { L as R, E as p } from "./index-Be4u6vqC.js";
|
|
5
5
|
const b = 1, $ = 33, m = 34, v = 35, x = 36, W = /* @__PURE__ */ new p((O) => {
|
|
6
6
|
let t = O.pos;
|
|
7
7
|
for (; ; ) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { L as M, E as X, a as h, C as E } from "./index-
|
|
2
|
-
import { s as A, t as i, E as C, a as J, n as o, L as I, b as B, d as D, e as u, h as K, i as N, f as H, c as g, j as F, m as OO, g as aO, J as j, x as QO, o as iO, I as eO } from "./editors-
|
|
1
|
+
import { L as M, E as X, a as h, C as E } from "./index-Be4u6vqC.js";
|
|
2
|
+
import { s as A, t as i, E as C, a as J, n as o, L as I, b as B, d as D, e as u, h as K, i as N, f as H, c as g, j as F, m as OO, g as aO, J as j, x as QO, o as iO, I as eO } from "./editors-DdGMdSh2.js";
|
|
3
3
|
const $O = 315, rO = 316, v = 1, tO = 2, lO = 3, nO = 4, oO = 317, sO = 319, ZO = 320, PO = 5, pO = 6, cO = 0, q = [
|
|
4
4
|
9,
|
|
5
5
|
10,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { L as te, a as re, i as ae, f as ne, s as ie, c as se, t as i, b as oe, d as le, e as ce } from "./editors-
|
|
2
|
-
import { L as de, E as me } from "./index-
|
|
1
|
+
import { L as te, a as re, i as ae, f as ne, s as ie, c as se, t as i, b as oe, d as le, e as ce } from "./editors-DdGMdSh2.js";
|
|
2
|
+
import { L as de, E as me } from "./index-Be4u6vqC.js";
|
|
3
3
|
const ue = 36, B = 1, pe = 2, y = 3, C = 4, fe = 5, _e = 6, ge = 7, he = 8, ye = 9, be = 10, ve = 11, ke = 12, xe = 13, Oe = 14, we = 15, Qe = 16, Ce = 17, X = 18, Se = 19, A = 20, E = 21, I = 22, qe = 23, Pe = 24;
|
|
4
4
|
function q(t) {
|
|
5
5
|
return t >= 65 && t <= 90 || t >= 97 && t <= 122 || t >= 48 && t <= 57;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as p, L as u, p as n, s as l, t as e } from "./editors-
|
|
2
|
-
import { html as m } from "./index-
|
|
3
|
-
import { javascriptLanguage as b } from "./index-
|
|
4
|
-
import { L as S, a as r } from "./index-
|
|
1
|
+
import { a as p, L as u, p as n, s as l, t as e } from "./editors-DdGMdSh2.js";
|
|
2
|
+
import { html as m } from "./index-B12llGmk.js";
|
|
3
|
+
import { javascriptLanguage as b } from "./index-DBctH8lu.js";
|
|
4
|
+
import { L as S, a as r } from "./index-Be4u6vqC.js";
|
|
5
5
|
const c = /* @__PURE__ */ S.deserialize({
|
|
6
6
|
version: 14,
|
|
7
7
|
states: "%pOVOWOOObQPOOOpOSO'#C_OOOO'#Cp'#CpQVOWOOQxQPOOO!TQQOOQ!YQPOOOOOO,58y,58yO!_OSO,58yOOOO-E6n-E6nO!dQQO'#CqQ{QPOOO!iQPOOQ{QPOOO!qQPOOOOOO1G.e1G.eOOQO,59],59]OOQO-E6o-E6oO!yOpO'#CiO#RO`O'#CiQOQPOOO#ZO#tO'#CmO#fO!bO'#CmOOQO,59T,59TO#qOpO,59TO#vO`O,59TOOOO'#Cr'#CrO#{O#tO,59XOOQO,59X,59XOOOO'#Cs'#CsO$WO!bO,59XOOQO1G.o1G.oOOOO-E6p-E6pOOQO1G.s1G.sOOOO-E6q-E6q",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as t, L as i, i as n, f as $, c as y, g as P, s as X, t as O } from "./editors-
|
|
2
|
-
import { defineCSSCompletionSource as m } from "./index-
|
|
3
|
-
import { L as c, E as S } from "./index-
|
|
1
|
+
import { a as t, L as i, i as n, f as $, c as y, g as P, s as X, t as O } from "./editors-DdGMdSh2.js";
|
|
2
|
+
import { defineCSSCompletionSource as m } from "./index-CH4DiDpu.js";
|
|
3
|
+
import { L as c, E as S } from "./index-Be4u6vqC.js";
|
|
4
4
|
const f = 110, l = 1, s = 2, r = [
|
|
5
5
|
9,
|
|
6
6
|
10,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { E as d, L as y, h as b, a as _, p as g, e as u, s as S, i as T, f as k, j as W, t } from "./editors-
|
|
2
|
-
import { html as j } from "./index-
|
|
3
|
-
import { L as X, E as p } from "./index-
|
|
1
|
+
import { E as d, L as y, h as b, a as _, p as g, e as u, s as S, i as T, f as k, j as W, t } from "./editors-DdGMdSh2.js";
|
|
2
|
+
import { html as j } from "./index-B12llGmk.js";
|
|
3
|
+
import { L as X, E as p } from "./index-Be4u6vqC.js";
|
|
4
4
|
const Y = 1, U = 2, G = 3, R = 179, z = 4, v = 180, x = 5, Z = 181, V = 6;
|
|
5
5
|
function E(O) {
|
|
6
6
|
return O >= 65 && O <= 90 || O >= 97 && O <= 122;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { L as s } from "./index-
|
|
2
|
-
import { s as n, t as r, a as o, L as P, i as Q, f as i, c as a, g as c } from "./editors-
|
|
1
|
+
import { L as s } from "./index-Be4u6vqC.js";
|
|
2
|
+
import { s as n, t as r, a as o, L as P, i as Q, f as i, c as a, g as c } from "./editors-DdGMdSh2.js";
|
|
3
3
|
const g = n({
|
|
4
4
|
String: r.string,
|
|
5
5
|
Number: r.number,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { L as o, E as t } from "./index-
|
|
2
|
-
import { s, t as Q, a as j, L as x, i as f, f as c, c as a, j as W, m as S, g as l } from "./editors-
|
|
1
|
+
import { L as o, E as t } from "./index-Be4u6vqC.js";
|
|
2
|
+
import { s, t as Q, a as j, L as x, i as f, f as c, c as a, j as W, m as S, g as l } from "./editors-DdGMdSh2.js";
|
|
3
3
|
const r = 1, q = 2, u = 3, n = 82, Z = 76, V = 117, T = 85, z = 97, w = 122, m = 65, b = 90, y = 95, i = 48, Y = 34, v = 40, P = 41, _ = 32, U = 62, p = new t((O) => {
|
|
4
4
|
if (O.next == Z || O.next == T ? O.advance() : O.next == V && (O.advance(), O.next == i + 8 && O.advance()), O.next != n || (O.advance(), O.next != Y)) return;
|
|
5
5
|
O.advance();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { L as D, E as h, C as L } from "./index-
|
|
2
|
-
import { s as H, t as n, b as B, a as K, L as M, e as OO, i as eO, f as iO, j as f, g as aO, o as nO, I as rO, d as QO, n as d } from "./editors-
|
|
1
|
+
import { L as D, E as h, C as L } from "./index-Be4u6vqC.js";
|
|
2
|
+
import { s as H, t as n, b as B, a as K, L as M, e as OO, i as eO, f as iO, j as f, g as aO, o as nO, I as rO, d as QO, n as d } from "./editors-DdGMdSh2.js";
|
|
3
3
|
const tO = 1, Z = 194, j = 195, oO = 196, x = 197, dO = 198, sO = 199, lO = 200, TO = 2, E = 3, u = 201, SO = 24, pO = 25, qO = 49, gO = 50, PO = 55, mO = 56, $O = 57, hO = 59, cO = 60, fO = 61, XO = 62, yO = 63, zO = 65, WO = 238, vO = 71, RO = 241, kO = 242, _O = 243, xO = 244, uO = 245, UO = 246, bO = 247, VO = 248, Y = 72, GO = 249, wO = 250, ZO = 251, jO = 252, EO = 253, YO = 254, FO = 255, CO = 256, JO = 73, AO = 77, IO = 263, NO = 112, DO = 130, LO = 151, HO = 152, BO = 155, p = 10, q = 13, k = 32, c = 9, _ = 35, KO = 40, MO = 46, R = 123, U = 125, F = 39, C = 34, b = 92, Oe = 111, ee = 120, ie = 78, ae = 117, ne = 85, re = /* @__PURE__ */ new Set([
|
|
4
4
|
pO,
|
|
5
5
|
qO,
|
package/dist/index.js
CHANGED
|
@@ -4,8 +4,8 @@ import { styled as d, useTheme as We, keyframes as Vl, getContrastRatio as Sr, d
|
|
|
4
4
|
import { useIntl as ae } from "react-intl";
|
|
5
5
|
import { p as i, M as co, c as uo, h as z, d as le, D as X, t as ge, a as U, e as Qe, i as q, u as K, g as Te, s as Sn, w as Ae, S as Oe, B as Yl, k as kr, j as Ct, l as Ke, b as To, m as Xe, n as Os, o as Pe, q as vn, r as jl, v as Ji, x as Zl, T as Do, y as ql, z as Bn, A as d0, C as c0 } from "./Surface-B_wIEB3b.js";
|
|
6
6
|
import { R as kI, I as RI, F as MI, f as _I, G as II, H as TI, E as DI } from "./Surface-B_wIEB3b.js";
|
|
7
|
-
import { R as mt, F as Ye, C as be, a as he, D as u0, b as p0, c as g0, I as h0, u as Kl, d as Ue, A as f0, e as xt, N as yi, f as m0 } from "./Tabs-
|
|
8
|
-
import { i as AI, q as OI, r as LI, p as $I, s as WI, o as PI, m as NI, l as FI, g as HI, h as BI, j as zI, S as GI, k as UI, T as VI, n as YI } from "./Tabs-
|
|
7
|
+
import { R as mt, F as Ye, C as be, a as he, D as u0, b as p0, c as g0, I as h0, u as Kl, d as Ue, A as f0, e as xt, N as yi, f as m0 } from "./Tabs-g7OaInVW.js";
|
|
8
|
+
import { i as AI, q as OI, r as LI, p as $I, s as WI, o as PI, m as NI, l as FI, g as HI, h as BI, j as zI, S as GI, k as UI, T as VI, n as YI } from "./Tabs-g7OaInVW.js";
|
|
9
9
|
import Rr, { useState as R, useRef as ee, useEffect as se, useMemo as me, useCallback as Z, useId as Se, Children as Xl, Fragment as Ql, cloneElement as y0, createContext as Xo, useSyncExternalStore as No, useContext as Tn, forwardRef as b0, useLayoutEffect as Nt, isValidElement as v0 } from "react";
|
|
10
10
|
import { u as pn, Q as Jl, v as ed, r as td, aY as nd, B as St, af as x0, a8 as Jn, aa as od, aZ as w0, a_ as id, ac as C0, ab as sd, C as Bt, aX as rd, a$ as ad, o as pt, ag as ld, y as S0, b0 as dd, b1 as Mr, b2 as k0, b3 as R0, b4 as M0, b5 as _0, a as I0, b6 as T0, b7 as D0, b8 as E0, ad as A0, b9 as cd, D as O0, H as L0, a4 as $0, a5 as W0, ba as bi, bb as zn, ao as P0, ai as N0, al as F0, bc as H0, av as B0, A as z0, q as G0, an as U0, aw as V0, aB as es, bd as Y0, be as j0, bf as Z0 } from "./design-theme-Bcu3EMIB.js";
|
|
11
11
|
import { ap as ZI, ak as qI, as as KI, bD as XI, bl as QI, bj as JI, bk as eT, bg as tT, bu as nT, bo as oT, bB as iT, br as sT, bC as rT, bv as aT, ar as lT, bF as dT, bi as cT, am as uT, bh as pT, bq as gT, bx as hT, bw as fT, bp as mT, bs as yT, bm as bT, au as vT, bA as xT, bz as wT, by as CT, bn as ST, bE as kT, at as RT, bt as MT, aj as _T } from "./design-theme-Bcu3EMIB.js";
|
|
@@ -7528,6 +7528,8 @@ const so = d("span")(({ theme: e }) => ({
|
|
|
7528
7528
|
overflow: "hidden",
|
|
7529
7529
|
textOverflow: "ellipsis"
|
|
7530
7530
|
}), z5 = d("span")({ flex: "none" }), G5 = d("span")(({ theme: e }) => ({
|
|
7531
|
+
display: "block",
|
|
7532
|
+
whiteSpace: "normal",
|
|
7531
7533
|
minWidth: 0,
|
|
7532
7534
|
maxWidth: "100%",
|
|
7533
7535
|
overflowWrap: "anywhere",
|