@ai-matrx/vault 0.1.25 → 0.1.26

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/dist/index.js CHANGED
@@ -164,7 +164,54 @@ import { Dialog, DialogContent, DialogDescription, DialogHeader, DialogTitle } f
164
164
  import { Button, Field } from "@ai-matrx/design-system/controls";
165
165
 
166
166
  // src/glyphs.tsx
167
- import { GlobeIcon } from "@ai-matrx/design-system/icons";
167
+ import {
168
+ GlobeIcon,
169
+ ArchiveIcon,
170
+ ArrowUpDownIcon,
171
+ BuildingIcon,
172
+ CameraIcon,
173
+ CheckIcon,
174
+ ChevronDownIcon,
175
+ ChevronLeftIcon,
176
+ ChevronRightIcon,
177
+ ClockIcon,
178
+ CodeIcon,
179
+ CreditCardIcon,
180
+ DatabaseIcon,
181
+ DownloadIcon,
182
+ ExternalLinkIcon,
183
+ EyeIcon,
184
+ EyeOffIcon,
185
+ FilePageIcon,
186
+ FileTextIcon,
187
+ FingerprintPatternIcon,
188
+ KeyIcon,
189
+ LayoutGridIcon,
190
+ ListIcon,
191
+ LockIcon,
192
+ MoreHorizontalIcon,
193
+ MoveIcon,
194
+ PencilIcon,
195
+ PlugIcon,
196
+ PlusIcon,
197
+ PowerIcon,
198
+ QrCodeIcon,
199
+ RefreshCwIcon,
200
+ RotateCcwIcon,
201
+ SendIcon,
202
+ ServerIcon,
203
+ ShareIcon,
204
+ ShieldIcon,
205
+ SlidersVerticalIcon,
206
+ StarIcon,
207
+ TagIcon,
208
+ TerminalIcon,
209
+ TrashIcon,
210
+ UploadIcon,
211
+ UserIcon,
212
+ UserRoundIcon,
213
+ XIcon
214
+ } from "@ai-matrx/design-system/icons";
168
215
  import { Fragment, jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
169
216
  function glyph(paths, air = [1, 1]) {
170
217
  const style = { "--matrx-glyph-air-l": air[0], "--matrx-glyph-air-r": air[1] };
@@ -172,71 +219,27 @@ function glyph(paths, air = [1, 1]) {
172
219
  return /* @__PURE__ */ jsx2("svg", { className, style, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: paths });
173
220
  };
174
221
  }
175
- var KeyGlyph = glyph(/* @__PURE__ */ jsxs2(Fragment, { children: [
176
- /* @__PURE__ */ jsx2("circle", { cx: "7.5", cy: "15.5", r: "5.5" }),
177
- /* @__PURE__ */ jsx2("path", { d: "m21 2-9.6 9.6M15.5 7.5l3 3" })
178
- ] }), [1, 2]);
179
- var NoteGlyph = glyph(/* @__PURE__ */ jsxs2(Fragment, { children: [
180
- /* @__PURE__ */ jsx2("path", { d: "M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z" }),
181
- /* @__PURE__ */ jsx2("path", { d: "M14 2v4a2 2 0 0 0 2 2h4M16 13H8M16 17H8" })
182
- ] }), [3, 3]);
183
- var CardGlyph = glyph(/* @__PURE__ */ jsxs2(Fragment, { children: [
184
- /* @__PURE__ */ jsx2("rect", { x: "2", y: "5", width: "20", height: "14", rx: "2" }),
185
- /* @__PURE__ */ jsx2("path", { d: "M2 10h20" })
186
- ] }), [1, 1]);
187
- var PersonGlyph = glyph(/* @__PURE__ */ jsxs2(Fragment, { children: [
188
- /* @__PURE__ */ jsx2("circle", { cx: "12", cy: "8", r: "5" }),
189
- /* @__PURE__ */ jsx2("path", { d: "M20 21a8 8 0 0 0-16 0" })
190
- ] }), [3, 3]);
191
- var DatabaseGlyph = glyph(/* @__PURE__ */ jsxs2(Fragment, { children: [
192
- /* @__PURE__ */ jsx2("ellipse", { cx: "12", cy: "5", rx: "9", ry: "3" }),
193
- /* @__PURE__ */ jsx2("path", { d: "M3 5v14a9 3 0 0 0 18 0V5M3 12a9 3 0 0 0 18 0" })
194
- ] }), [2, 2]);
195
- var ServerGlyph = glyph(/* @__PURE__ */ jsxs2(Fragment, { children: [
196
- /* @__PURE__ */ jsx2("rect", { x: "2", y: "2", width: "20", height: "8", rx: "2" }),
197
- /* @__PURE__ */ jsx2("rect", { x: "2", y: "14", width: "20", height: "8", rx: "2" }),
198
- /* @__PURE__ */ jsx2("path", { d: "M6 6h.01M6 18h.01" })
199
- ] }), [1, 1]);
200
- var TerminalGlyph = glyph(/* @__PURE__ */ jsx2(Fragment, { children: /* @__PURE__ */ jsx2("path", { d: "m4 17 6-6-6-6M12 19h8" }) }), [3, 3]);
201
- var FileGlyph = glyph(/* @__PURE__ */ jsxs2(Fragment, { children: [
202
- /* @__PURE__ */ jsx2("path", { d: "M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z" }),
203
- /* @__PURE__ */ jsx2("path", { d: "M14 2v4a2 2 0 0 0 2 2h4" })
204
- ] }), [3, 3]);
205
- var CodeGlyph = glyph(/* @__PURE__ */ jsx2(Fragment, { children: /* @__PURE__ */ jsx2("path", { d: "m16 18 6-6-6-6M8 6l-6 6 6 6" }) }), [1, 1]);
206
- var StarGlyph = glyph(/* @__PURE__ */ jsx2("path", { d: "M12 2l3.1 6.3 6.9 1-5 4.9 1.2 6.8L12 17.8 5.8 21l1.2-6.8-5-4.9 6.9-1z" }), [1, 1]);
207
- var PlusGlyph = glyph(/* @__PURE__ */ jsx2("path", { d: "M12 5v14M5 12h14" }), [4, 4]);
208
- var EyeGlyph = glyph(/* @__PURE__ */ jsxs2(Fragment, { children: [
209
- /* @__PURE__ */ jsx2("path", { d: "M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7-10-7-10-7z" }),
210
- /* @__PURE__ */ jsx2("circle", { cx: "12", cy: "12", r: "3" })
211
- ] }), [1, 1]);
212
- var EyeOffGlyph = glyph(/* @__PURE__ */ jsx2(Fragment, { children: /* @__PURE__ */ jsx2("path", { d: "M10.7 5.1A10.4 10.4 0 0 1 12 5c6.4 0 10 7 10 7a17 17 0 0 1-2.2 3.2M6.6 6.6A17 17 0 0 0 2 12s3.6 7 10 7a9.7 9.7 0 0 0 5.4-1.6M2 2l20 20" }) }), [1, 1]);
213
- var LockGlyph = glyph(/* @__PURE__ */ jsxs2(Fragment, { children: [
214
- /* @__PURE__ */ jsx2("rect", { x: "3", y: "11", width: "18", height: "11", rx: "2" }),
215
- /* @__PURE__ */ jsx2("path", { d: "M7 11V7a5 5 0 0 1 10 0v4" })
216
- ] }), [2, 2]);
217
- var ExternalGlyph = glyph(/* @__PURE__ */ jsx2(Fragment, { children: /* @__PURE__ */ jsx2("path", { d: "M15 3h6v6M10 14 21 3M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6" }) }), [2, 2]);
218
- var TrashGlyph = glyph(/* @__PURE__ */ jsx2(Fragment, { children: /* @__PURE__ */ jsx2("path", { d: "M3 6h18M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2M19 6l-1 14a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2L5 6" }) }), [2, 2]);
219
- var ArchiveGlyph = glyph(/* @__PURE__ */ jsxs2(Fragment, { children: [
220
- /* @__PURE__ */ jsx2("rect", { x: "2", y: "3", width: "20", height: "5", rx: "1" }),
221
- /* @__PURE__ */ jsx2("path", { d: "M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8M10 12h4" })
222
- ] }), [1, 1]);
223
- var TagGlyph = glyph(/* @__PURE__ */ jsxs2(Fragment, { children: [
224
- /* @__PURE__ */ jsx2("path", { d: "M12.6 2.6A2 2 0 0 0 11.2 2H4a2 2 0 0 0-2 2v7.2a2 2 0 0 0 .6 1.4l8.7 8.7a2.4 2.4 0 0 0 3.4 0l6.6-6.6a2.4 2.4 0 0 0 0-3.4z" }),
225
- /* @__PURE__ */ jsx2("circle", { cx: "7.5", cy: "7.5", r: ".5" })
226
- ] }), [1, 1]);
227
- var ShieldGlyph = glyph(/* @__PURE__ */ jsx2(Fragment, { children: /* @__PURE__ */ jsx2("path", { d: "M20 13c0 5-3.5 7.5-7.7 8.9a1 1 0 0 1-.6 0C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.2-2.7a1.2 1.2 0 0 1 1.6 0C14.5 3.8 17 5 19 5a1 1 0 0 1 1 1z" }) }), [3, 3]);
228
- var BuildingGlyph = glyph(/* @__PURE__ */ jsxs2(Fragment, { children: [
229
- /* @__PURE__ */ jsx2("rect", { x: "4", y: "2", width: "16", height: "20", rx: "2" }),
230
- /* @__PURE__ */ jsx2("path", { d: "M9 22v-4h6v4M8 6h.01M16 6h.01M12 6h.01M12 10h.01M12 14h.01M16 10h.01M16 14h.01M8 10h.01M8 14h.01" })
231
- ] }), [3, 3]);
232
- var ChevronLeftGlyph = glyph(/* @__PURE__ */ jsx2("path", { d: "m15 18-6-6 6-6" }), [8, 8]);
233
- var GridGlyph = glyph(/* @__PURE__ */ jsxs2(Fragment, { children: [
234
- /* @__PURE__ */ jsx2("rect", { x: "3", y: "3", width: "7", height: "7", rx: "1" }),
235
- /* @__PURE__ */ jsx2("rect", { x: "14", y: "3", width: "7", height: "7", rx: "1" }),
236
- /* @__PURE__ */ jsx2("rect", { x: "3", y: "14", width: "7", height: "7", rx: "1" }),
237
- /* @__PURE__ */ jsx2("rect", { x: "14", y: "14", width: "7", height: "7", rx: "1" })
238
- ] }), [2, 2]);
239
- var PlugGlyph = glyph(/* @__PURE__ */ jsx2(Fragment, { children: /* @__PURE__ */ jsx2("path", { d: "M12 22v-5M9 8V2M15 8V2M18 8v5a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V8z" }) }), [5, 5]);
222
+ var KeyGlyph = KeyIcon;
223
+ var NoteGlyph = FileTextIcon;
224
+ var PersonGlyph = UserRoundIcon;
225
+ var DatabaseGlyph = DatabaseIcon;
226
+ var ServerGlyph = ServerIcon;
227
+ var TerminalGlyph = TerminalIcon;
228
+ var FileGlyph = FilePageIcon;
229
+ var CodeGlyph = CodeIcon;
230
+ var StarGlyph = StarIcon;
231
+ var PlusGlyph = PlusIcon;
232
+ var EyeGlyph = EyeIcon;
233
+ var EyeOffGlyph = EyeOffIcon;
234
+ var LockGlyph = LockIcon;
235
+ var ExternalGlyph = ExternalLinkIcon;
236
+ var TrashGlyph = TrashIcon;
237
+ var TagGlyph = TagIcon;
238
+ var ShieldGlyph = ShieldIcon;
239
+ var BuildingGlyph = BuildingIcon;
240
+ var ChevronLeftGlyph = ChevronLeftIcon;
241
+ var GridGlyph = LayoutGridIcon;
242
+ var PlugGlyph = PlugIcon;
240
243
  var FAMILY_GLYPHS = {
241
244
  databases: DatabaseGlyph,
242
245
  server_network: ServerGlyph,
@@ -250,78 +253,34 @@ function definitionGlyph(key, family) {
250
253
  if (key === "username_password" || key === "website_login") return GlobeIcon;
251
254
  return FAMILY_GLYPHS[family] ?? KeyGlyph;
252
255
  }
253
- var XGlyph = glyph(/* @__PURE__ */ jsx2("path", { d: "M18 6 6 18M6 6l12 12" }), [5, 5]);
254
- var PencilGlyph = glyph(/* @__PURE__ */ jsxs2(Fragment, { children: [
255
- /* @__PURE__ */ jsx2("path", { d: "M12 20h9" }),
256
- /* @__PURE__ */ jsx2("path", { d: "M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4z" })
257
- ] }), [2, 2]);
258
- var ClockGlyph = glyph(/* @__PURE__ */ jsxs2(Fragment, { children: [
259
- /* @__PURE__ */ jsx2("circle", { cx: "12", cy: "12", r: "10" }),
260
- /* @__PURE__ */ jsx2("path", { d: "M12 6v6l4 2" })
261
- ] }), [1, 1]);
262
- var MoreGlyph = glyph(/* @__PURE__ */ jsxs2(Fragment, { children: [
263
- /* @__PURE__ */ jsx2("circle", { cx: "12", cy: "12", r: "1" }),
264
- /* @__PURE__ */ jsx2("circle", { cx: "19", cy: "12", r: "1" }),
265
- /* @__PURE__ */ jsx2("circle", { cx: "5", cy: "12", r: "1" })
266
- ] }), [3, 3]);
267
- var ShareGlyph = glyph(/* @__PURE__ */ jsx2(Fragment, { children: /* @__PURE__ */ jsx2("path", { d: "M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8M16 6l-4-4-4 4M12 2v13" }) }), [3, 3]);
268
- var ListGlyph = glyph(/* @__PURE__ */ jsx2("path", { d: "M8 6h13M8 12h13M8 18h13M3 6h.01M3 12h.01M3 18h.01" }), [2, 2]);
269
- var ImportGlyph = glyph(/* @__PURE__ */ jsx2("path", { d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4M7 10l5 5 5-5M12 15V3" }), [2, 2]);
270
- var ExportGlyph = glyph(/* @__PURE__ */ jsx2("path", { d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4M17 8l-5-5-5 5M12 3v12" }), [2, 2]);
271
- var ChevronDownGlyph = glyph(/* @__PURE__ */ jsx2("path", { d: "m6 9 6 6 6-6" }), [5, 5]);
272
- var ChevronRightGlyph = glyph(/* @__PURE__ */ jsx2("path", { d: "m9 18 6-6-6-6" }), [8, 8]);
273
- var SortGlyph = glyph(/* @__PURE__ */ jsx2("path", { d: "m3 16 4 4 4-4M7 20V4M21 8l-4-4-4 4M17 4v16" }), [2, 2]);
274
- var UserGlyph = glyph(/* @__PURE__ */ jsxs2(Fragment, { children: [
275
- /* @__PURE__ */ jsx2("circle", { cx: "12", cy: "8", r: "4" }),
276
- /* @__PURE__ */ jsx2("path", { d: "M6 21v-2a4 4 0 0 1 4-4h4a4 4 0 0 1 4 4v2" })
277
- ] }), [5, 5]);
278
- var MoveGlyph = glyph(/* @__PURE__ */ jsx2("path", { d: "M5 9 2 12l3 3M9 5l3-3 3 3M15 19l-3 3-3-3M19 9l3 3-3 3M2 12h20M12 2v20" }), [1, 1]);
256
+ var XGlyph = XIcon;
257
+ var PencilGlyph = PencilIcon;
258
+ var ClockGlyph = ClockIcon;
259
+ var MoreGlyph = MoreHorizontalIcon;
260
+ var ShareGlyph = ShareIcon;
261
+ var ListGlyph = ListIcon;
262
+ var ImportGlyph = DownloadIcon;
263
+ var ExportGlyph = UploadIcon;
264
+ var ChevronDownGlyph = ChevronDownIcon;
265
+ var ChevronRightGlyph = ChevronRightIcon;
266
+ var SortGlyph = ArrowUpDownIcon;
267
+ var UserGlyph = UserIcon;
268
+ var MoveGlyph = MoveIcon;
279
269
  var SafeGlyph = glyph(/* @__PURE__ */ jsxs2(Fragment, { children: [
280
270
  /* @__PURE__ */ jsx2("rect", { x: "3", y: "3", width: "18", height: "18", rx: "2" }),
281
271
  /* @__PURE__ */ jsx2("circle", { cx: "12", cy: "12", r: "4" }),
282
272
  /* @__PURE__ */ jsx2("path", { d: "M12 8v1M12 15v1M8 12h1M15 12h1" })
283
273
  ] }), [2, 2]);
284
- var RestoreGlyph = glyph(/* @__PURE__ */ jsxs2(Fragment, { children: [
285
- /* @__PURE__ */ jsx2("path", { d: "M3 12a9 9 0 1 0 3-6.7L3 8" }),
286
- /* @__PURE__ */ jsx2("path", { d: "M3 3v5h5" })
287
- ] }), [2, 2]);
288
- var QrGlyph = glyph(/* @__PURE__ */ jsxs2(Fragment, { children: [
289
- /* @__PURE__ */ jsx2("rect", { x: "3", y: "3", width: "7", height: "7", rx: "1" }),
290
- /* @__PURE__ */ jsx2("rect", { x: "14", y: "3", width: "7", height: "7", rx: "1" }),
291
- /* @__PURE__ */ jsx2("rect", { x: "3", y: "14", width: "7", height: "7", rx: "1" }),
292
- /* @__PURE__ */ jsx2("path", { d: "M14 14h3v3h-3zM20 14v.01M14 20h.01M17 20h4v-3" })
293
- ] }), [2, 2]);
294
- var CameraGlyph = glyph(/* @__PURE__ */ jsxs2(Fragment, { children: [
295
- /* @__PURE__ */ jsx2("path", { d: "M14.5 4h-5L7 7H4a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-3z" }),
296
- /* @__PURE__ */ jsx2("circle", { cx: "12", cy: "13", r: "3" })
297
- ] }), [1, 1]);
298
- var CheckGlyph = glyph(/* @__PURE__ */ jsx2("path", { d: "M20 6 9 17l-5-5" }), [3, 3]);
299
- var PowerGlyph = glyph(/* @__PURE__ */ jsxs2(Fragment, { children: [
300
- /* @__PURE__ */ jsx2("path", { d: "M12 2v10" }),
301
- /* @__PURE__ */ jsx2("path", { d: "M18.4 6.6a9 9 0 1 1-12.77.04" })
302
- ] }), [2, 2]);
303
- var RefreshGlyph = glyph(/* @__PURE__ */ jsxs2(Fragment, { children: [
304
- /* @__PURE__ */ jsx2("path", { d: "M21 12a9 9 0 0 1-15.5 6.2L3 16" }),
305
- /* @__PURE__ */ jsx2("path", { d: "M3 12a9 9 0 0 1 15.5-6.2L21 8" }),
306
- /* @__PURE__ */ jsx2("path", { d: "M21 3v5h-5M3 21v-5h5" })
307
- ] }), [2, 2]);
308
- var SlidersGlyph = glyph(/* @__PURE__ */ jsx2(Fragment, { children: /* @__PURE__ */ jsx2("path", { d: "M4 21v-7M4 10V3M12 21v-9M12 8V3M20 21v-5M20 12V3M1 14h6M9 8h6M17 16h6" }) }), [0, 0]);
309
- var UploadGlyph = glyph(/* @__PURE__ */ jsxs2(Fragment, { children: [
310
- /* @__PURE__ */ jsx2("path", { d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" }),
311
- /* @__PURE__ */ jsx2("path", { d: "m17 8-5-5-5 5M12 3v12" })
312
- ] }), [2, 2]);
313
- var FingerprintGlyph = glyph(/* @__PURE__ */ jsxs2(Fragment, { children: [
314
- /* @__PURE__ */ jsx2("path", { d: "M12 10a2 2 0 0 0-2 2c0 1.02-.1 2.51-.26 4" }),
315
- /* @__PURE__ */ jsx2("path", { d: "M14 13.12c0 2.38 0 6.38-1 8.88" }),
316
- /* @__PURE__ */ jsx2("path", { d: "M17.29 21.02c.12-.6.43-2.3.5-3.02" }),
317
- /* @__PURE__ */ jsx2("path", { d: "M2 12a10 10 0 0 1 18-6" }),
318
- /* @__PURE__ */ jsx2("path", { d: "M2 16h.01" }),
319
- /* @__PURE__ */ jsx2("path", { d: "M21.8 16c.2-2 .131-5.354 0-6" }),
320
- /* @__PURE__ */ jsx2("path", { d: "M5 19.5C5.5 18 6 15 6 12a6 6 0 0 1 .34-2" }),
321
- /* @__PURE__ */ jsx2("path", { d: "M8.65 22c.21-.66.45-1.32.57-2" }),
322
- /* @__PURE__ */ jsx2("path", { d: "M9 6.8a6 6 0 0 1 9 5.2v2" })
323
- ] }), [1, 1]);
324
- var SendGlyph = glyph(/* @__PURE__ */ jsx2("path", { d: "M14.5 21.7a.5.5 0 0 0 .9 0L22 3a.5.5 0 0 0-.6-.6L2.3 9.1a.5.5 0 0 0 0 .9l7.9 3.2a2 2 0 0 1 1.1 1.1zM21.9 2.1 10.9 13.1" }), [1, 1]);
274
+ var RestoreGlyph = RotateCcwIcon;
275
+ var QrGlyph = QrCodeIcon;
276
+ var CameraGlyph = CameraIcon;
277
+ var CheckGlyph = CheckIcon;
278
+ var PowerGlyph = PowerIcon;
279
+ var RefreshGlyph = RefreshCwIcon;
280
+ var SlidersGlyph = SlidersVerticalIcon;
281
+ var UploadGlyph = UploadIcon;
282
+ var FingerprintGlyph = FingerprintPatternIcon;
283
+ var SendGlyph = SendIcon;
325
284
 
326
285
  // src/auth/identity.ts
327
286
  var CONFIRM_RETURN_KEY = "matrx-vault:confirming-as";
@@ -4887,7 +4846,7 @@ import { Badge as Badge5, Button as Button16, Field as Field7, SegmentedControl
4887
4846
  import { cn as cn9 } from "@ai-matrx/design-system";
4888
4847
  import { confirm as confirm6 } from "@ai-matrx/kit/confirm-opener";
4889
4848
  import { downloadFile as downloadFile3 } from "@ai-matrx/kit/download";
4890
- import { DownloadIcon } from "@ai-matrx/design-system/icons";
4849
+ import { DownloadIcon as DownloadIcon2 } from "@ai-matrx/design-system/icons";
4891
4850
  import { Fragment as Fragment13, jsx as jsx20, jsxs as jsxs19 } from "react/jsx-runtime";
4892
4851
  var messageOf2 = (e, fallback) => wasCancelled(e) ? null : e instanceof Error ? e.message : fallback;
4893
4852
  var TOO_BIG = "Files over 25 MB can't be stored.";
@@ -4963,7 +4922,7 @@ function FilesSection({ item, port, editing, onChanged }) {
4963
4922
  {
4964
4923
  label: a.label,
4965
4924
  hint: a.description || void 0,
4966
- actions: a.handling === "sealed" ? /* @__PURE__ */ jsx20(Badge5, { icon: /* @__PURE__ */ jsx20(LockGlyph, {}), children: "Never shown" }) : canDownload(item, a) ? /* @__PURE__ */ jsx20(Button16, { variant: "quiet", icon: /* @__PURE__ */ jsx20(DownloadIcon, {}), "aria-label": `Download ${a.fileName}`, disabled: busy !== null, onClick: () => void download(a) }) : null,
4925
+ actions: a.handling === "sealed" ? /* @__PURE__ */ jsx20(Badge5, { icon: /* @__PURE__ */ jsx20(LockGlyph, {}), children: "Never shown" }) : canDownload(item, a) ? /* @__PURE__ */ jsx20(Button16, { variant: "quiet", icon: /* @__PURE__ */ jsx20(DownloadIcon2, {}), "aria-label": `Download ${a.fileName}`, disabled: busy !== null, onClick: () => void download(a) }) : null,
4967
4926
  children: /* @__PURE__ */ jsx20(FileName, { file: a })
4968
4927
  },
4969
4928
  a.id
@@ -4994,7 +4953,7 @@ function EditableFile({ port, item: it, file: a, busy: b, run: go, onDownload, o
4994
4953
  label: a.label,
4995
4954
  hint: a.description || void 0,
4996
4955
  actions: /* @__PURE__ */ jsxs19(Fragment13, { children: [
4997
- canDownload(it, a) ? /* @__PURE__ */ jsx20(Button16, { variant: "quiet", icon: /* @__PURE__ */ jsx20(DownloadIcon, {}), "aria-label": `Download ${a.fileName}`, disabled: b !== null, onClick: onDownload }) : null,
4956
+ canDownload(it, a) ? /* @__PURE__ */ jsx20(Button16, { variant: "quiet", icon: /* @__PURE__ */ jsx20(DownloadIcon2, {}), "aria-label": `Download ${a.fileName}`, disabled: b !== null, onClick: onDownload }) : null,
4998
4957
  /* @__PURE__ */ jsx20(Button16, { variant: "quiet", icon: /* @__PURE__ */ jsx20(PencilGlyph, {}), "aria-label": `Edit ${a.label}`, pressed: open, disabled: b !== null, onClick: () => setOpen((o) => !o) }),
4999
4958
  /* @__PURE__ */ jsx20(Button16, { variant: "quiet", icon: /* @__PURE__ */ jsx20(UploadGlyph, {}), "aria-label": `Replace ${a.fileName}`, disabled: b !== null, onClick: () => replacer.current?.click() }),
5000
4959
  /* @__PURE__ */ jsx20(Button16, { variant: "quiet", icon: /* @__PURE__ */ jsx20(TrashGlyph, {}), "aria-label": `Delete ${a.label}`, disabled: b !== null, onClick: () => void remove() }),