@crewlethq/ui 0.168.2 → 0.170.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -0
- package/dist/AddPill/index.js +1 -1
- package/dist/{AddPill-OP3MMVZG.css → AddPill-XLESL6BA.css} +4 -3
- package/dist/AgentHandoffPanel/index.js +9 -9
- package/dist/AppShell/index.js +5 -5
- package/dist/ArrangeList/index.js +2 -2
- package/dist/ArtifactBar/index.js +1 -1
- package/dist/ArtifactCard/index.js +2 -2
- package/dist/AuthLayout/index.js +1 -1
- package/dist/BriefCard/index.js +1 -1
- package/dist/ChatThread/index.js +3 -3
- package/dist/Combobox/index.js +2 -2
- package/dist/CommandPalette/index.js +5 -5
- package/dist/CommentThread/index.js +9 -9
- package/dist/Composer/index.js +5 -5
- package/dist/DataGrid/index.js +6 -6
- package/dist/DataTable/index.js +4 -4
- package/dist/DataView/index.js +6 -6
- package/dist/DatasetSource/index.js +1 -1
- package/dist/DeepWorkCard/index.js +1 -1
- package/dist/DocTabsEditor/index.js +6 -6
- package/dist/DockColumn/index.js +1 -1
- package/dist/DurationField/index.js +5 -5
- package/dist/EditingStatus/index.js +2 -2
- package/dist/EntityList/index.js +1 -1
- package/dist/InlineEditor/index.js +3 -3
- package/dist/KeyValueRows/index.js +3 -3
- package/dist/ListInput/index.js +6 -6
- package/dist/NumberField/index.js +3 -3
- package/dist/OpenInAppCard/index.js +1 -1
- package/dist/OrgLabel/index.js +1 -1
- package/dist/{OrgLabel-F2PW7B73.css → OrgLabel-WCI3OIFL.css} +4 -3
- package/dist/OrgNode/index.js +2 -2
- package/dist/OrgTable/index.js +10 -10
- package/dist/PeekRail/index.js +3 -3
- package/dist/PrincipalPicker/index.js +3 -3
- package/dist/ProposalCard/index.js +8 -8
- package/dist/RailList/index.js +5 -5
- package/dist/RefusalCard/index.js +1 -1
- package/dist/ResultTableCard/index.js +1 -1
- package/dist/RichEditor/index.js +1 -1
- package/dist/SectionFrame/index.js +3 -3
- package/dist/Select/index.js +2 -2
- package/dist/SendKeys/index.js +2 -2
- package/dist/SettingForm/index.js +3 -3
- package/dist/SettingsTable/index.js +1 -1
- package/dist/SetupWizard/index.js +1 -1
- package/dist/ShareDialog/index.js +5 -5
- package/dist/SheetColumnEditor/index.js +7 -7
- package/dist/SidebarNav/index.js +2 -2
- package/dist/SlideFilmstrip/index.js +4 -4
- package/dist/StatusCard/index.js +1 -1
- package/dist/Switcher/index.js +5 -5
- package/dist/TableCells/index.js +1 -1
- package/dist/TimeRangePicker/index.js +4 -4
- package/dist/TimeWindowPicker/index.js +5 -5
- package/dist/ToolCallLog/index.js +4 -4
- package/dist/TreeCanvas/index.js +2 -2
- package/dist/TreeGrid/index.js +7 -7
- package/dist/ValueField/ValueField.d.ts +25 -3
- package/dist/ValueField/index.js +6 -4
- package/dist/ValueField-JK7JPVR6.css +47 -0
- package/dist/{chunk-P5DKWJMS.js → chunk-4CWYA2JT.js} +1 -1
- package/dist/{chunk-5W3EYO5Q.js → chunk-5CCM3DDA.js} +1 -1
- package/dist/{chunk-Q3PUOZEA.js → chunk-5F7OTYQ2.js} +2 -2
- package/dist/{chunk-ULZPOVTO.js → chunk-7DAKU2OY.js} +1 -1
- package/dist/{chunk-COKMMM7K.js → chunk-7M3Q7KLW.js} +1 -1
- package/dist/{chunk-DXC4K33F.js → chunk-AEFOONLV.js} +90 -8
- package/dist/{chunk-HK7R34BA.js → chunk-AR6M6MVH.js} +1 -1
- package/dist/{chunk-YJVEU5OQ.js → chunk-EVL624AD.js} +3 -3
- package/dist/{chunk-VKGXIXC5.js → chunk-HPJI7OTO.js} +1 -1
- package/dist/{chunk-OU6O6CFN.js → chunk-HUM74TP7.js} +1 -1
- package/dist/{chunk-CRKFCTOR.js → chunk-JH2IATUQ.js} +1 -1
- package/dist/{chunk-D65E6U5R.js → chunk-KBQT4N4M.js} +3 -3
- package/dist/{chunk-4UDI7RRE.js → chunk-LJ34CMGR.js} +1 -1
- package/dist/{chunk-LXA6DJ6E.js → chunk-MJ6UBW5G.js} +2 -2
- package/dist/{chunk-PFP5HHZF.js → chunk-NIM7LEEI.js} +1 -1
- package/dist/{chunk-BFJPUEZP.js → chunk-QSTZXYTO.js} +3 -3
- package/dist/{chunk-ZQE2BHQA.js → chunk-R6H7JKJO.js} +1 -1
- package/dist/{chunk-ARIYL6YO.js → chunk-UPHGEO37.js} +2 -2
- package/dist/{chunk-NIIID2TS.js → chunk-VT3HYYFS.js} +1 -1
- package/dist/{chunk-WPFK5F4Q.js → chunk-YVDPF5TX.js} +2 -2
- package/dist/{chunk-T6HFLCXB.js → chunk-Z6SXPD36.js} +1 -1
- package/dist/generated/index.js +87 -87
- package/dist/index.js +87 -87
- package/dist/styles.css +45 -9
- package/package.json +3 -3
- package/dist/ValueField-EIBD6RYS.css +0 -13
- package/dist/{Editor-CL2RZDZG.js → Editor-2MLZ74FV.js} +3 -3
- package/dist/{chunk-4MMH7LHV.js → chunk-2WJG2XR6.js} +1 -1
- package/dist/{chunk-VHVN5OQ3.js → chunk-2XVCR52U.js} +1 -1
- package/dist/{chunk-GNNJDQ5J.js → chunk-37TZXS42.js} +1 -1
- package/dist/{chunk-NRUKK6G5.js → chunk-46SMLXUH.js} +1 -1
- package/dist/{chunk-R2R7IKQ6.js → chunk-5VBMMKTU.js} +1 -1
- package/dist/{chunk-KRF3GQ63.js → chunk-6N53ZWRM.js} +1 -1
- package/dist/{chunk-657WR3MX.js → chunk-D5UVJL4I.js} +1 -1
- package/dist/{chunk-TIOFWBL5.js → chunk-ERMI5DYK.js} +1 -1
- package/dist/{chunk-GVRBOOOA.js → chunk-G3MTRPCU.js} +2 -2
- package/dist/{chunk-QFGUP7RL.js → chunk-GSPTEY5A.js} +1 -1
- package/dist/{chunk-YMNV6GHW.js → chunk-KQ5LFNVA.js} +2 -2
- package/dist/{chunk-VEIJ5IOK.js → chunk-NQ5BJ3QS.js} +1 -1
- package/dist/{chunk-TGAK4TEX.js → chunk-OD7GIET6.js} +1 -1
- package/dist/{chunk-IGOKQN7W.js → chunk-OM2MKGDO.js} +1 -1
- package/dist/{chunk-ZJGGXYFS.js → chunk-SH4J3IWI.js} +1 -1
- package/dist/{chunk-BJXMDDIA.js → chunk-U43EBQKB.js} +1 -1
- package/dist/{chunk-IF6JQS5Z.js → chunk-UZHVEQDO.js} +1 -1
- package/dist/{chunk-UZMXC5T6.js → chunk-YUVQUJND.js} +1 -1
- package/dist/{chunk-2G6TDWIL.js → chunk-ZOSUKKD7.js} +1 -1
|
@@ -1,13 +1,15 @@
|
|
|
1
|
-
import { Select } from './chunk-
|
|
2
|
-
import { Combobox } from './chunk-
|
|
1
|
+
import { Select } from './chunk-D5UVJL4I.js';
|
|
2
|
+
import { Combobox } from './chunk-SH4J3IWI.js';
|
|
3
|
+
import { Button } from './chunk-34K3XN47.js';
|
|
3
4
|
import { FormField, Textarea, InputAffix } from './chunk-XB3ITOJB.js';
|
|
5
|
+
import { cx } from './chunk-ODEQTPFM.js';
|
|
4
6
|
import './Input-YVCNNTYT.css';
|
|
5
7
|
import './VisuallyHidden-OUYVMKEH.css';
|
|
6
8
|
import './HitArea-QUOS6ZDJ.css';
|
|
7
9
|
import './Combobox-GHT43K32.css';
|
|
8
10
|
import './Select-2FAOIL73.css';
|
|
9
|
-
import './ValueField-
|
|
10
|
-
import { useId,
|
|
11
|
+
import './ValueField-JK7JPVR6.css';
|
|
12
|
+
import { useId, useState, useRef } from 'react';
|
|
11
13
|
import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
|
|
12
14
|
|
|
13
15
|
// src/ValueField/references.ts
|
|
@@ -65,8 +67,12 @@ function urlSchemeOf(value) {
|
|
|
65
67
|
}
|
|
66
68
|
var DEFAULT_LABELS = {
|
|
67
69
|
references: "Secrets",
|
|
68
|
-
choose: "Choose one"
|
|
70
|
+
choose: "Choose one",
|
|
71
|
+
chooseFile: "Choose file",
|
|
72
|
+
fileTooLarge: "That file is too large to be a key. Choose the key file itself.",
|
|
73
|
+
fileUnreadable: "That file could not be read. Choose it again, or paste its contents."
|
|
69
74
|
};
|
|
75
|
+
var MAX_FILE_BYTES = 64 * 1024;
|
|
70
76
|
function ValueField({
|
|
71
77
|
label,
|
|
72
78
|
mark,
|
|
@@ -85,6 +91,8 @@ function ValueField({
|
|
|
85
91
|
onReferencesNeeded,
|
|
86
92
|
isReference = isWholeReference,
|
|
87
93
|
rows = 3,
|
|
94
|
+
accept,
|
|
95
|
+
maxFileBytes = MAX_FILE_BYTES,
|
|
88
96
|
helperOnFocus,
|
|
89
97
|
labels,
|
|
90
98
|
className
|
|
@@ -94,7 +102,25 @@ function ValueField({
|
|
|
94
102
|
const affixId = `${id}-affix`;
|
|
95
103
|
const picker = kind === "choice" || kind === "handle";
|
|
96
104
|
const reference = isReference(value);
|
|
97
|
-
const masked = kind === "secret" && !reference;
|
|
105
|
+
const masked = (kind === "secret" || kind === "secret-multiline") && !reference;
|
|
106
|
+
const [fileProblem, setFileProblem] = useState("");
|
|
107
|
+
const filePicker = useRef(null);
|
|
108
|
+
async function picked(event) {
|
|
109
|
+
const file = event.currentTarget.files?.[0];
|
|
110
|
+
event.currentTarget.value = "";
|
|
111
|
+
if (!file) return;
|
|
112
|
+
if (file.size > maxFileBytes) {
|
|
113
|
+
setFileProblem(words.fileTooLarge);
|
|
114
|
+
return;
|
|
115
|
+
}
|
|
116
|
+
try {
|
|
117
|
+
const text = await file.text();
|
|
118
|
+
setFileProblem("");
|
|
119
|
+
onChange(text);
|
|
120
|
+
} catch {
|
|
121
|
+
setFileProblem(words.fileUnreadable);
|
|
122
|
+
}
|
|
123
|
+
}
|
|
98
124
|
const tight = kind === "url" || kind === "id" || kind === "email";
|
|
99
125
|
const own = kind === "url" ? urlSchemeOf(value) : "";
|
|
100
126
|
const referenceBase = own === "" && value.trimStart().startsWith("$");
|
|
@@ -156,7 +182,7 @@ function ValueField({
|
|
|
156
182
|
requiredNews: required === true && markRequired === true,
|
|
157
183
|
helper,
|
|
158
184
|
helperOnFocus,
|
|
159
|
-
error,
|
|
185
|
+
error: error ?? (fileProblem || void 0),
|
|
160
186
|
describedBy: affix ? affixId : void 0,
|
|
161
187
|
children: (field) => picker ? /* @__PURE__ */ jsx(
|
|
162
188
|
Select,
|
|
@@ -172,7 +198,63 @@ function ValueField({
|
|
|
172
198
|
required: required === true,
|
|
173
199
|
"aria-describedby": field.describedBy
|
|
174
200
|
}
|
|
175
|
-
) : kind === "multiline" ? /* @__PURE__ */
|
|
201
|
+
) : kind === "secret-multiline" ? /* @__PURE__ */ jsxs("span", { className: "crewlet-value-field__key", children: [
|
|
202
|
+
/* @__PURE__ */ jsx(
|
|
203
|
+
Textarea,
|
|
204
|
+
{
|
|
205
|
+
id: field.id,
|
|
206
|
+
rows,
|
|
207
|
+
value,
|
|
208
|
+
placeholder,
|
|
209
|
+
disabled,
|
|
210
|
+
autoComplete: "off",
|
|
211
|
+
spellCheck: false,
|
|
212
|
+
autoCapitalize: "off",
|
|
213
|
+
autoCorrect: "off",
|
|
214
|
+
"data-1p-ignore": true,
|
|
215
|
+
"data-lpignore": "true",
|
|
216
|
+
"data-bwignore": true,
|
|
217
|
+
className: cx(
|
|
218
|
+
"crewlet-value-field__key-box",
|
|
219
|
+
masked && "crewlet-value-field__key-box--masked",
|
|
220
|
+
reference && "crewlet-value-field__key-box--reference"
|
|
221
|
+
),
|
|
222
|
+
autoFocus,
|
|
223
|
+
"aria-describedby": field.describedBy,
|
|
224
|
+
"aria-required": required === true || void 0,
|
|
225
|
+
error: field.invalid,
|
|
226
|
+
onChange: (event) => {
|
|
227
|
+
setFileProblem("");
|
|
228
|
+
onChange(event.target.value);
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
),
|
|
232
|
+
/* @__PURE__ */ jsxs("span", { className: "crewlet-value-field__key-actions", children: [
|
|
233
|
+
/* @__PURE__ */ jsx(
|
|
234
|
+
Button,
|
|
235
|
+
{
|
|
236
|
+
size: "small",
|
|
237
|
+
variant: "secondary",
|
|
238
|
+
disabled: disabled === true,
|
|
239
|
+
onClick: () => filePicker.current?.click(),
|
|
240
|
+
"aria-label": `${words.chooseFile}: ${label}`,
|
|
241
|
+
children: words.chooseFile
|
|
242
|
+
}
|
|
243
|
+
),
|
|
244
|
+
/* @__PURE__ */ jsx(
|
|
245
|
+
"input",
|
|
246
|
+
{
|
|
247
|
+
ref: filePicker,
|
|
248
|
+
type: "file",
|
|
249
|
+
accept,
|
|
250
|
+
hidden: true,
|
|
251
|
+
tabIndex: -1,
|
|
252
|
+
"aria-hidden": "true",
|
|
253
|
+
onChange: (event) => void picked(event)
|
|
254
|
+
}
|
|
255
|
+
)
|
|
256
|
+
] })
|
|
257
|
+
] }) : kind === "multiline" ? /* @__PURE__ */ jsx(
|
|
176
258
|
Textarea,
|
|
177
259
|
{
|
|
178
260
|
id: field.id,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Timeline } from './chunk-XDUXAQIS.js';
|
|
2
2
|
import { Section } from './chunk-WFCWPXJN.js';
|
|
3
|
-
import { Composer } from './chunk-
|
|
3
|
+
import { Composer } from './chunk-7DAKU2OY.js';
|
|
4
4
|
import { Disclosure } from './chunk-D5O64CVE.js';
|
|
5
5
|
import { ArtifactPanel } from './chunk-W4EWRZU4.js';
|
|
6
6
|
import { Button } from './chunk-34K3XN47.js';
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { PageHeader } from './chunk-FPDIHEM4.js';
|
|
2
2
|
import { FilterPill } from './chunk-UL7X5F5W.js';
|
|
3
|
-
import { DataTable } from './chunk-
|
|
3
|
+
import { DataTable } from './chunk-GSPTEY5A.js';
|
|
4
4
|
import { DateTimePicker } from './chunk-5TQRAZQG.js';
|
|
5
5
|
import { useListbox, useOptionKeys } from './chunk-KW7T23RT.js';
|
|
6
6
|
import { Toolbar } from './chunk-NPEI2QAN.js';
|
|
7
7
|
import { Popover } from './chunk-AJFA2XDQ.js';
|
|
8
|
-
import { RelativeTime } from './chunk-GBKBME7Q.js';
|
|
9
8
|
import { Menu } from './chunk-EUET4PNC.js';
|
|
10
|
-
import {
|
|
9
|
+
import { RelativeTime } from './chunk-GBKBME7Q.js';
|
|
11
10
|
import { Kbd } from './chunk-VBBLHS2Y.js';
|
|
12
11
|
import { Button } from './chunk-34K3XN47.js';
|
|
12
|
+
import { Input } from './chunk-XB3ITOJB.js';
|
|
13
13
|
import { IconButton } from './chunk-XHTQ4X4P.js';
|
|
14
14
|
import { Count } from './chunk-Y5CMDLQM.js';
|
|
15
15
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ValueField } from './chunk-
|
|
1
|
+
import { ValueField } from './chunk-AEFOONLV.js';
|
|
2
2
|
import { RefusalStrip, ReceiptStrip } from './chunk-3XXFU4XP.js';
|
|
3
3
|
import { ChangeList } from './chunk-5D7RMXM2.js';
|
|
4
4
|
import { StatusCard } from './chunk-PGLERBQT.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { TreeGrid } from './chunk-
|
|
2
|
-
import { OrgLabel } from './chunk-
|
|
1
|
+
import { TreeGrid } from './chunk-LJ34CMGR.js';
|
|
2
|
+
import { OrgLabel } from './chunk-NIM7LEEI.js';
|
|
3
3
|
import { createTreeModel, treeParent } from './chunk-MY374UUD.js';
|
|
4
|
-
import { AddPill } from './chunk-
|
|
4
|
+
import { AddPill } from './chunk-5CCM3DDA.js';
|
|
5
5
|
import { IconButton } from './chunk-XHTQ4X4P.js';
|
|
6
6
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
7
7
|
import './OrgTable-5NXRECVP.css';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useTreeState, treeExpandable, treeLevel, treePosInSet, treeSetSize, treeItemAction, treePrevious, treeNext, treeStep } from './chunk-MY374UUD.js';
|
|
2
|
-
import { fitGridColumns } from './chunk-
|
|
2
|
+
import { fitGridColumns } from './chunk-2XVCR52U.js';
|
|
3
3
|
import { GRID_FOOT_LABELS, parseGridSort, overrunning, squeezedCells, tableTrack, GRID_ICON_TRACK, GridHeadCell, alignOf, rowLinkTitle, headerWord, GridFoot, droppedNames, nextGridSort, sortByValue } from './chunk-D33XINR4.js';
|
|
4
4
|
import { LayerNodeBridge } from './chunk-CUEPPDBC.js';
|
|
5
5
|
import { Checkbox } from './chunk-TGENJXOJ.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Select } from './chunk-
|
|
1
|
+
import { Select } from './chunk-D5UVJL4I.js';
|
|
2
2
|
import { today, shiftMonth, CalendarGrid, compareDays } from './chunk-EE3DJMSQ.js';
|
|
3
3
|
import { Popover } from './chunk-AJFA2XDQ.js';
|
|
4
|
-
import { Input } from './chunk-XB3ITOJB.js';
|
|
5
4
|
import { Button } from './chunk-34K3XN47.js';
|
|
5
|
+
import { Input } from './chunk-XB3ITOJB.js';
|
|
6
6
|
import { IconButton } from './chunk-XHTQ4X4P.js';
|
|
7
7
|
import { isComposing } from './chunk-EDPMHSLZ.js';
|
|
8
8
|
import { useFocusModality } from './chunk-4ITETIGZ.js';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { Select } from './chunk-
|
|
1
|
+
import { Select } from './chunk-D5UVJL4I.js';
|
|
2
2
|
import { SHEET_LABELS, SHEET_COLUMN_TYPES, optionHue, retypeColumn } from './chunk-LFSIKGRQ.js';
|
|
3
3
|
import { HueSwatch } from './chunk-PETPFNNE.js';
|
|
4
4
|
import { NODE_HUES, NODE_HUE_NAMES } from './chunk-AYKXMIOR.js';
|
|
5
|
-
import { Checkbox } from './chunk-TGENJXOJ.js';
|
|
6
5
|
import { Menu } from './chunk-EUET4PNC.js';
|
|
7
|
-
import {
|
|
6
|
+
import { Checkbox } from './chunk-TGENJXOJ.js';
|
|
8
7
|
import { Kbd } from './chunk-VBBLHS2Y.js';
|
|
9
8
|
import { Button } from './chunk-34K3XN47.js';
|
|
9
|
+
import { FormField, Input } from './chunk-XB3ITOJB.js';
|
|
10
10
|
import { IconButton } from './chunk-XHTQ4X4P.js';
|
|
11
11
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
12
12
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CopyButton } from './chunk-HUIAYSOC.js';
|
|
2
|
-
import { ChatThread } from './chunk-
|
|
2
|
+
import { ChatThread } from './chunk-37TZXS42.js';
|
|
3
3
|
import { Spinner } from './chunk-XSPCITPN.js';
|
|
4
4
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
5
5
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { SidebarNav, NavItem } from './chunk-
|
|
2
|
-
import { Select } from './chunk-
|
|
1
|
+
import { SidebarNav, NavItem } from './chunk-5VBMMKTU.js';
|
|
2
|
+
import { Select } from './chunk-D5UVJL4I.js';
|
|
3
3
|
import { Card } from './chunk-354NVZ6M.js';
|
|
4
4
|
import { Text } from './chunk-475DOAWF.js';
|
|
5
5
|
import './RailList-PXWNLVOJ.css';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Select } from './chunk-
|
|
1
|
+
import { Select } from './chunk-D5UVJL4I.js';
|
|
2
2
|
import { Modal } from './chunk-HHV5WHTT.js';
|
|
3
3
|
import { CopyButton } from './chunk-HUIAYSOC.js';
|
|
4
4
|
import { Callout } from './chunk-I4NRQIRF.js';
|
|
5
5
|
import { PrincipalAvatar } from './chunk-265IX4YA.js';
|
|
6
|
-
import { useMediaMatch } from './chunk-COS6LJ4K.js';
|
|
7
6
|
import { Button } from './chunk-34K3XN47.js';
|
|
7
|
+
import { useMediaMatch } from './chunk-COS6LJ4K.js';
|
|
8
8
|
import { IconButton } from './chunk-XHTQ4X4P.js';
|
|
9
9
|
import { useHeadingLevel, headingTag } from './chunk-PQADV6P6.js';
|
|
10
10
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
@@ -9,7 +9,7 @@ import { jsx } from 'react/jsx-runtime';
|
|
|
9
9
|
var engine = null;
|
|
10
10
|
var loading = null;
|
|
11
11
|
function loadEngine() {
|
|
12
|
-
loading ??= import('./Editor-
|
|
12
|
+
loading ??= import('./Editor-2MLZ74FV.js').then(
|
|
13
13
|
(module) => {
|
|
14
14
|
engine = module.Editor;
|
|
15
15
|
return engine;
|