@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.
Files changed (108) hide show
  1. package/README.md +10 -0
  2. package/dist/AddPill/index.js +1 -1
  3. package/dist/{AddPill-OP3MMVZG.css → AddPill-XLESL6BA.css} +4 -3
  4. package/dist/AgentHandoffPanel/index.js +9 -9
  5. package/dist/AppShell/index.js +5 -5
  6. package/dist/ArrangeList/index.js +2 -2
  7. package/dist/ArtifactBar/index.js +1 -1
  8. package/dist/ArtifactCard/index.js +2 -2
  9. package/dist/AuthLayout/index.js +1 -1
  10. package/dist/BriefCard/index.js +1 -1
  11. package/dist/ChatThread/index.js +3 -3
  12. package/dist/Combobox/index.js +2 -2
  13. package/dist/CommandPalette/index.js +5 -5
  14. package/dist/CommentThread/index.js +9 -9
  15. package/dist/Composer/index.js +5 -5
  16. package/dist/DataGrid/index.js +6 -6
  17. package/dist/DataTable/index.js +4 -4
  18. package/dist/DataView/index.js +6 -6
  19. package/dist/DatasetSource/index.js +1 -1
  20. package/dist/DeepWorkCard/index.js +1 -1
  21. package/dist/DocTabsEditor/index.js +6 -6
  22. package/dist/DockColumn/index.js +1 -1
  23. package/dist/DurationField/index.js +5 -5
  24. package/dist/EditingStatus/index.js +2 -2
  25. package/dist/EntityList/index.js +1 -1
  26. package/dist/InlineEditor/index.js +3 -3
  27. package/dist/KeyValueRows/index.js +3 -3
  28. package/dist/ListInput/index.js +6 -6
  29. package/dist/NumberField/index.js +3 -3
  30. package/dist/OpenInAppCard/index.js +1 -1
  31. package/dist/OrgLabel/index.js +1 -1
  32. package/dist/{OrgLabel-F2PW7B73.css → OrgLabel-WCI3OIFL.css} +4 -3
  33. package/dist/OrgNode/index.js +2 -2
  34. package/dist/OrgTable/index.js +10 -10
  35. package/dist/PeekRail/index.js +3 -3
  36. package/dist/PrincipalPicker/index.js +3 -3
  37. package/dist/ProposalCard/index.js +8 -8
  38. package/dist/RailList/index.js +5 -5
  39. package/dist/RefusalCard/index.js +1 -1
  40. package/dist/ResultTableCard/index.js +1 -1
  41. package/dist/RichEditor/index.js +1 -1
  42. package/dist/SectionFrame/index.js +3 -3
  43. package/dist/Select/index.js +2 -2
  44. package/dist/SendKeys/index.js +2 -2
  45. package/dist/SettingForm/index.js +3 -3
  46. package/dist/SettingsTable/index.js +1 -1
  47. package/dist/SetupWizard/index.js +1 -1
  48. package/dist/ShareDialog/index.js +5 -5
  49. package/dist/SheetColumnEditor/index.js +7 -7
  50. package/dist/SidebarNav/index.js +2 -2
  51. package/dist/SlideFilmstrip/index.js +4 -4
  52. package/dist/StatusCard/index.js +1 -1
  53. package/dist/Switcher/index.js +5 -5
  54. package/dist/TableCells/index.js +1 -1
  55. package/dist/TimeRangePicker/index.js +4 -4
  56. package/dist/TimeWindowPicker/index.js +5 -5
  57. package/dist/ToolCallLog/index.js +4 -4
  58. package/dist/TreeCanvas/index.js +2 -2
  59. package/dist/TreeGrid/index.js +7 -7
  60. package/dist/ValueField/ValueField.d.ts +25 -3
  61. package/dist/ValueField/index.js +6 -4
  62. package/dist/ValueField-JK7JPVR6.css +47 -0
  63. package/dist/{chunk-P5DKWJMS.js → chunk-4CWYA2JT.js} +1 -1
  64. package/dist/{chunk-5W3EYO5Q.js → chunk-5CCM3DDA.js} +1 -1
  65. package/dist/{chunk-Q3PUOZEA.js → chunk-5F7OTYQ2.js} +2 -2
  66. package/dist/{chunk-ULZPOVTO.js → chunk-7DAKU2OY.js} +1 -1
  67. package/dist/{chunk-COKMMM7K.js → chunk-7M3Q7KLW.js} +1 -1
  68. package/dist/{chunk-DXC4K33F.js → chunk-AEFOONLV.js} +90 -8
  69. package/dist/{chunk-HK7R34BA.js → chunk-AR6M6MVH.js} +1 -1
  70. package/dist/{chunk-YJVEU5OQ.js → chunk-EVL624AD.js} +3 -3
  71. package/dist/{chunk-VKGXIXC5.js → chunk-HPJI7OTO.js} +1 -1
  72. package/dist/{chunk-OU6O6CFN.js → chunk-HUM74TP7.js} +1 -1
  73. package/dist/{chunk-CRKFCTOR.js → chunk-JH2IATUQ.js} +1 -1
  74. package/dist/{chunk-D65E6U5R.js → chunk-KBQT4N4M.js} +3 -3
  75. package/dist/{chunk-4UDI7RRE.js → chunk-LJ34CMGR.js} +1 -1
  76. package/dist/{chunk-LXA6DJ6E.js → chunk-MJ6UBW5G.js} +2 -2
  77. package/dist/{chunk-PFP5HHZF.js → chunk-NIM7LEEI.js} +1 -1
  78. package/dist/{chunk-BFJPUEZP.js → chunk-QSTZXYTO.js} +3 -3
  79. package/dist/{chunk-ZQE2BHQA.js → chunk-R6H7JKJO.js} +1 -1
  80. package/dist/{chunk-ARIYL6YO.js → chunk-UPHGEO37.js} +2 -2
  81. package/dist/{chunk-NIIID2TS.js → chunk-VT3HYYFS.js} +1 -1
  82. package/dist/{chunk-WPFK5F4Q.js → chunk-YVDPF5TX.js} +2 -2
  83. package/dist/{chunk-T6HFLCXB.js → chunk-Z6SXPD36.js} +1 -1
  84. package/dist/generated/index.js +87 -87
  85. package/dist/index.js +87 -87
  86. package/dist/styles.css +45 -9
  87. package/package.json +3 -3
  88. package/dist/ValueField-EIBD6RYS.css +0 -13
  89. package/dist/{Editor-CL2RZDZG.js → Editor-2MLZ74FV.js} +3 -3
  90. package/dist/{chunk-4MMH7LHV.js → chunk-2WJG2XR6.js} +1 -1
  91. package/dist/{chunk-VHVN5OQ3.js → chunk-2XVCR52U.js} +1 -1
  92. package/dist/{chunk-GNNJDQ5J.js → chunk-37TZXS42.js} +1 -1
  93. package/dist/{chunk-NRUKK6G5.js → chunk-46SMLXUH.js} +1 -1
  94. package/dist/{chunk-R2R7IKQ6.js → chunk-5VBMMKTU.js} +1 -1
  95. package/dist/{chunk-KRF3GQ63.js → chunk-6N53ZWRM.js} +1 -1
  96. package/dist/{chunk-657WR3MX.js → chunk-D5UVJL4I.js} +1 -1
  97. package/dist/{chunk-TIOFWBL5.js → chunk-ERMI5DYK.js} +1 -1
  98. package/dist/{chunk-GVRBOOOA.js → chunk-G3MTRPCU.js} +2 -2
  99. package/dist/{chunk-QFGUP7RL.js → chunk-GSPTEY5A.js} +1 -1
  100. package/dist/{chunk-YMNV6GHW.js → chunk-KQ5LFNVA.js} +2 -2
  101. package/dist/{chunk-VEIJ5IOK.js → chunk-NQ5BJ3QS.js} +1 -1
  102. package/dist/{chunk-TGAK4TEX.js → chunk-OD7GIET6.js} +1 -1
  103. package/dist/{chunk-IGOKQN7W.js → chunk-OM2MKGDO.js} +1 -1
  104. package/dist/{chunk-ZJGGXYFS.js → chunk-SH4J3IWI.js} +1 -1
  105. package/dist/{chunk-BJXMDDIA.js → chunk-U43EBQKB.js} +1 -1
  106. package/dist/{chunk-IF6JQS5Z.js → chunk-UZHVEQDO.js} +1 -1
  107. package/dist/{chunk-UZMXC5T6.js → chunk-YUVQUJND.js} +1 -1
  108. package/dist/{chunk-2G6TDWIL.js → chunk-ZOSUKKD7.js} +1 -1
@@ -1,4 +1,4 @@
1
- import { EditingStatus } from './chunk-KRF3GQ63.js';
1
+ import { EditingStatus } from './chunk-6N53ZWRM.js';
2
2
  import { Kbd } from './chunk-VBBLHS2Y.js';
3
3
  import { Button } from './chunk-34K3XN47.js';
4
4
  import { isComposing } from './chunk-EDPMHSLZ.js';
@@ -1,13 +1,15 @@
1
- import { Select } from './chunk-657WR3MX.js';
2
- import { Combobox } from './chunk-ZJGGXYFS.js';
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-EIBD6RYS.css';
10
- import { useId, useRef, useState } from 'react';
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__ */ jsx(
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-ULZPOVTO.js';
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-QFGUP7RL.js';
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 { Input } from './chunk-XB3ITOJB.js';
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 { Select } from './chunk-657WR3MX.js';
1
+ import { Select } from './chunk-D5UVJL4I.js';
2
2
  import { typedNumber, NumberField } from './chunk-VL5MV6JO.js';
3
3
  import { PresetChips } from './chunk-NQG5H34R.js';
4
4
  import { cx } from './chunk-ODEQTPFM.js';
@@ -1,4 +1,4 @@
1
- import { ValueField } from './chunk-DXC4K33F.js';
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,4 +1,4 @@
1
- import { OrgLabel } from './chunk-PFP5HHZF.js';
1
+ import { OrgLabel } from './chunk-NIM7LEEI.js';
2
2
  import { cx } from './chunk-ODEQTPFM.js';
3
3
  import './OrgNode-6OCBAIBK.css';
4
4
  import { jsx, jsxs } from 'react/jsx-runtime';
@@ -1,7 +1,7 @@
1
- import { TreeGrid } from './chunk-4UDI7RRE.js';
2
- import { OrgLabel } from './chunk-PFP5HHZF.js';
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-5W3EYO5Q.js';
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-VHVN5OQ3.js';
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-657WR3MX.js';
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,6 +1,6 @@
1
1
  import { Avatar } from './chunk-YMFFGPFE.js';
2
2
  import { cx } from './chunk-ODEQTPFM.js';
3
- import './OrgLabel-F2PW7B73.css';
3
+ import './OrgLabel-WCI3OIFL.css';
4
4
  import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
5
5
 
6
6
  function OrgLabel(props) {
@@ -1,12 +1,12 @@
1
- import { Select } from './chunk-657WR3MX.js';
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 { FormField, Input } from './chunk-XB3ITOJB.js';
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-GNNJDQ5J.js';
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-R2R7IKQ6.js';
2
- import { Select } from './chunk-657WR3MX.js';
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,4 +1,4 @@
1
- import { Combobox } from './chunk-ZJGGXYFS.js';
1
+ import { Combobox } from './chunk-SH4J3IWI.js';
2
2
  import { PRINCIPAL_KINDS, PrincipalAvatar } from './chunk-265IX4YA.js';
3
3
  import { cx } from './chunk-ODEQTPFM.js';
4
4
  import './PrincipalPicker-P6UYHDJR.css';
@@ -1,10 +1,10 @@
1
- import { Select } from './chunk-657WR3MX.js';
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-CL2RZDZG.js').then(
12
+ loading ??= import('./Editor-2MLZ74FV.js').then(
13
13
  (module) => {
14
14
  engine = module.Editor;
15
15
  return engine;