@ai-matrx/vault 0.1.24 → 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/CHANGELOG.md +13 -0
- package/dist/index.cjs +47 -135
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +98 -139
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.26
|
|
4
|
+
|
|
5
|
+
- **`glyphs.tsx` draws only `SafeGlyph` itself.** The other 46 vault glyphs (`KeyGlyph`, `CardGlyph`, `EyeGlyph`, `QrGlyph`, ...) are aliases of the matching `@ai-matrx/design-system/icons` glyphs, so they now render the exact lucide 1.48 drawing and carry the `lucide-<name>` optical-trim class instead of a hand-set `--matrx-glyph-air-*` style. Every export name and the `Glyph` type are unchanged. Consumer action: none.
|
|
6
|
+
|
|
7
|
+
## 0.1.25
|
|
8
|
+
|
|
9
|
+
SOURCE CHANGED WITH NO RELEASE NOTE. This release shipped source changes that nobody described in an Unreleased entry,
|
|
10
|
+
so they may include breaking API changes. Consumer action is UNKNOWN: read the diff before upgrading.
|
|
11
|
+
Diff: `git diff 39e135b031 7dd0861691 -- apps/shared/vault/src`
|
|
12
|
+
|
|
13
|
+
Changed shipped source files (1):
|
|
14
|
+
- `apps/shared/vault/src/lists/logic.ts`
|
|
15
|
+
|
|
3
16
|
## 0.1.24
|
|
4
17
|
|
|
5
18
|
- **A copy or reveal that needs "Confirm it's you" is never silent.** Closing the prompt says "Not confirmed, so nothing was done" once, from `IdentityGate` (every caller already stays quiet about a cancel via `wasCancelled`), so the row buttons, the row's More menu, a host's right-click menu (`rowMenuEntriesAt`) and the keyboard all end in either the copy or a message. Guard: `src/review-0-1-23.test.tsx` § 1. Consumer action: none (a host that passes `notify` receives the line with kind `info`).
|
package/dist/index.cjs
CHANGED
|
@@ -242,71 +242,27 @@ function glyph(paths, air = [1, 1]) {
|
|
|
242
242
|
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("svg", { className, style, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: paths });
|
|
243
243
|
};
|
|
244
244
|
}
|
|
245
|
-
var KeyGlyph =
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
var
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
var
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
var
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
var
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
var
|
|
266
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("rect", { x: "2", y: "2", width: "20", height: "8", rx: "2" }),
|
|
267
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("rect", { x: "2", y: "14", width: "20", height: "8", rx: "2" }),
|
|
268
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("path", { d: "M6 6h.01M6 18h.01" })
|
|
269
|
-
] }), [1, 1]);
|
|
270
|
-
var TerminalGlyph = glyph(/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_jsx_runtime2.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("path", { d: "m4 17 6-6-6-6M12 19h8" }) }), [3, 3]);
|
|
271
|
-
var FileGlyph = glyph(/* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_jsx_runtime2.Fragment, { children: [
|
|
272
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("path", { d: "M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z" }),
|
|
273
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("path", { d: "M14 2v4a2 2 0 0 0 2 2h4" })
|
|
274
|
-
] }), [3, 3]);
|
|
275
|
-
var CodeGlyph = glyph(/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_jsx_runtime2.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("path", { d: "m16 18 6-6-6-6M8 6l-6 6 6 6" }) }), [1, 1]);
|
|
276
|
-
var StarGlyph = glyph(/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("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]);
|
|
277
|
-
var PlusGlyph = glyph(/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("path", { d: "M12 5v14M5 12h14" }), [4, 4]);
|
|
278
|
-
var EyeGlyph = glyph(/* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_jsx_runtime2.Fragment, { children: [
|
|
279
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("path", { d: "M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7-10-7-10-7z" }),
|
|
280
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("circle", { cx: "12", cy: "12", r: "3" })
|
|
281
|
-
] }), [1, 1]);
|
|
282
|
-
var EyeOffGlyph = glyph(/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_jsx_runtime2.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("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]);
|
|
283
|
-
var LockGlyph = glyph(/* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_jsx_runtime2.Fragment, { children: [
|
|
284
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("rect", { x: "3", y: "11", width: "18", height: "11", rx: "2" }),
|
|
285
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("path", { d: "M7 11V7a5 5 0 0 1 10 0v4" })
|
|
286
|
-
] }), [2, 2]);
|
|
287
|
-
var ExternalGlyph = glyph(/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_jsx_runtime2.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("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]);
|
|
288
|
-
var TrashGlyph = glyph(/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_jsx_runtime2.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("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]);
|
|
289
|
-
var ArchiveGlyph = glyph(/* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_jsx_runtime2.Fragment, { children: [
|
|
290
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("rect", { x: "2", y: "3", width: "20", height: "5", rx: "1" }),
|
|
291
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("path", { d: "M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8M10 12h4" })
|
|
292
|
-
] }), [1, 1]);
|
|
293
|
-
var TagGlyph = glyph(/* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_jsx_runtime2.Fragment, { children: [
|
|
294
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("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" }),
|
|
295
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("circle", { cx: "7.5", cy: "7.5", r: ".5" })
|
|
296
|
-
] }), [1, 1]);
|
|
297
|
-
var ShieldGlyph = glyph(/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_jsx_runtime2.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("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]);
|
|
298
|
-
var BuildingGlyph = glyph(/* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_jsx_runtime2.Fragment, { children: [
|
|
299
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("rect", { x: "4", y: "2", width: "16", height: "20", rx: "2" }),
|
|
300
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("path", { d: "M9 22v-4h6v4M8 6h.01M16 6h.01M12 6h.01M12 10h.01M12 14h.01M16 10h.01M16 14h.01M8 10h.01M8 14h.01" })
|
|
301
|
-
] }), [3, 3]);
|
|
302
|
-
var ChevronLeftGlyph = glyph(/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("path", { d: "m15 18-6-6 6-6" }), [8, 8]);
|
|
303
|
-
var GridGlyph = glyph(/* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_jsx_runtime2.Fragment, { children: [
|
|
304
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("rect", { x: "3", y: "3", width: "7", height: "7", rx: "1" }),
|
|
305
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("rect", { x: "14", y: "3", width: "7", height: "7", rx: "1" }),
|
|
306
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("rect", { x: "3", y: "14", width: "7", height: "7", rx: "1" }),
|
|
307
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("rect", { x: "14", y: "14", width: "7", height: "7", rx: "1" })
|
|
308
|
-
] }), [2, 2]);
|
|
309
|
-
var PlugGlyph = glyph(/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_jsx_runtime2.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("path", { d: "M12 22v-5M9 8V2M15 8V2M18 8v5a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V8z" }) }), [5, 5]);
|
|
245
|
+
var KeyGlyph = import_icons.KeyIcon;
|
|
246
|
+
var NoteGlyph = import_icons.FileTextIcon;
|
|
247
|
+
var PersonGlyph = import_icons.UserRoundIcon;
|
|
248
|
+
var DatabaseGlyph = import_icons.DatabaseIcon;
|
|
249
|
+
var ServerGlyph = import_icons.ServerIcon;
|
|
250
|
+
var TerminalGlyph = import_icons.TerminalIcon;
|
|
251
|
+
var FileGlyph = import_icons.FilePageIcon;
|
|
252
|
+
var CodeGlyph = import_icons.CodeIcon;
|
|
253
|
+
var StarGlyph = import_icons.StarIcon;
|
|
254
|
+
var PlusGlyph = import_icons.PlusIcon;
|
|
255
|
+
var EyeGlyph = import_icons.EyeIcon;
|
|
256
|
+
var EyeOffGlyph = import_icons.EyeOffIcon;
|
|
257
|
+
var LockGlyph = import_icons.LockIcon;
|
|
258
|
+
var ExternalGlyph = import_icons.ExternalLinkIcon;
|
|
259
|
+
var TrashGlyph = import_icons.TrashIcon;
|
|
260
|
+
var TagGlyph = import_icons.TagIcon;
|
|
261
|
+
var ShieldGlyph = import_icons.ShieldIcon;
|
|
262
|
+
var BuildingGlyph = import_icons.BuildingIcon;
|
|
263
|
+
var ChevronLeftGlyph = import_icons.ChevronLeftIcon;
|
|
264
|
+
var GridGlyph = import_icons.LayoutGridIcon;
|
|
265
|
+
var PlugGlyph = import_icons.PlugIcon;
|
|
310
266
|
var FAMILY_GLYPHS = {
|
|
311
267
|
databases: DatabaseGlyph,
|
|
312
268
|
server_network: ServerGlyph,
|
|
@@ -320,78 +276,34 @@ function definitionGlyph(key, family) {
|
|
|
320
276
|
if (key === "username_password" || key === "website_login") return import_icons.GlobeIcon;
|
|
321
277
|
return FAMILY_GLYPHS[family] ?? KeyGlyph;
|
|
322
278
|
}
|
|
323
|
-
var XGlyph =
|
|
324
|
-
var PencilGlyph =
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
var
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
var
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
] }), [3, 3]);
|
|
337
|
-
var ShareGlyph = glyph(/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_jsx_runtime2.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("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]);
|
|
338
|
-
var ListGlyph = glyph(/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("path", { d: "M8 6h13M8 12h13M8 18h13M3 6h.01M3 12h.01M3 18h.01" }), [2, 2]);
|
|
339
|
-
var ImportGlyph = glyph(/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("path", { d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4M7 10l5 5 5-5M12 15V3" }), [2, 2]);
|
|
340
|
-
var ExportGlyph = glyph(/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("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]);
|
|
341
|
-
var ChevronDownGlyph = glyph(/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("path", { d: "m6 9 6 6 6-6" }), [5, 5]);
|
|
342
|
-
var ChevronRightGlyph = glyph(/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("path", { d: "m9 18 6-6-6-6" }), [8, 8]);
|
|
343
|
-
var SortGlyph = glyph(/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("path", { d: "m3 16 4 4 4-4M7 20V4M21 8l-4-4-4 4M17 4v16" }), [2, 2]);
|
|
344
|
-
var UserGlyph = glyph(/* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_jsx_runtime2.Fragment, { children: [
|
|
345
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("circle", { cx: "12", cy: "8", r: "4" }),
|
|
346
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("path", { d: "M6 21v-2a4 4 0 0 1 4-4h4a4 4 0 0 1 4 4v2" })
|
|
347
|
-
] }), [5, 5]);
|
|
348
|
-
var MoveGlyph = glyph(/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("path", { d: "M5 9 2 12l3 3M9 5l3-3 3 3M15 19l-3 3-3-3M19 9l3 3-3 3M2 12h20M12 2v20" }), [1, 1]);
|
|
279
|
+
var XGlyph = import_icons.XIcon;
|
|
280
|
+
var PencilGlyph = import_icons.PencilIcon;
|
|
281
|
+
var ClockGlyph = import_icons.ClockIcon;
|
|
282
|
+
var MoreGlyph = import_icons.MoreHorizontalIcon;
|
|
283
|
+
var ShareGlyph = import_icons.ShareIcon;
|
|
284
|
+
var ListGlyph = import_icons.ListIcon;
|
|
285
|
+
var ImportGlyph = import_icons.DownloadIcon;
|
|
286
|
+
var ExportGlyph = import_icons.UploadIcon;
|
|
287
|
+
var ChevronDownGlyph = import_icons.ChevronDownIcon;
|
|
288
|
+
var ChevronRightGlyph = import_icons.ChevronRightIcon;
|
|
289
|
+
var SortGlyph = import_icons.ArrowUpDownIcon;
|
|
290
|
+
var UserGlyph = import_icons.UserIcon;
|
|
291
|
+
var MoveGlyph = import_icons.MoveIcon;
|
|
349
292
|
var SafeGlyph = glyph(/* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_jsx_runtime2.Fragment, { children: [
|
|
350
293
|
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("rect", { x: "3", y: "3", width: "18", height: "18", rx: "2" }),
|
|
351
294
|
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("circle", { cx: "12", cy: "12", r: "4" }),
|
|
352
295
|
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("path", { d: "M12 8v1M12 15v1M8 12h1M15 12h1" })
|
|
353
296
|
] }), [2, 2]);
|
|
354
|
-
var RestoreGlyph =
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
var
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
var CameraGlyph = glyph(/* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_jsx_runtime2.Fragment, { children: [
|
|
365
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("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" }),
|
|
366
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("circle", { cx: "12", cy: "13", r: "3" })
|
|
367
|
-
] }), [1, 1]);
|
|
368
|
-
var CheckGlyph = glyph(/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("path", { d: "M20 6 9 17l-5-5" }), [3, 3]);
|
|
369
|
-
var PowerGlyph = glyph(/* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_jsx_runtime2.Fragment, { children: [
|
|
370
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("path", { d: "M12 2v10" }),
|
|
371
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("path", { d: "M18.4 6.6a9 9 0 1 1-12.77.04" })
|
|
372
|
-
] }), [2, 2]);
|
|
373
|
-
var RefreshGlyph = glyph(/* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_jsx_runtime2.Fragment, { children: [
|
|
374
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("path", { d: "M21 12a9 9 0 0 1-15.5 6.2L3 16" }),
|
|
375
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("path", { d: "M3 12a9 9 0 0 1 15.5-6.2L21 8" }),
|
|
376
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("path", { d: "M21 3v5h-5M3 21v-5h5" })
|
|
377
|
-
] }), [2, 2]);
|
|
378
|
-
var SlidersGlyph = glyph(/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_jsx_runtime2.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("path", { d: "M4 21v-7M4 10V3M12 21v-9M12 8V3M20 21v-5M20 12V3M1 14h6M9 8h6M17 16h6" }) }), [0, 0]);
|
|
379
|
-
var UploadGlyph = glyph(/* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_jsx_runtime2.Fragment, { children: [
|
|
380
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("path", { d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" }),
|
|
381
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("path", { d: "m17 8-5-5-5 5M12 3v12" })
|
|
382
|
-
] }), [2, 2]);
|
|
383
|
-
var FingerprintGlyph = glyph(/* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_jsx_runtime2.Fragment, { children: [
|
|
384
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("path", { d: "M12 10a2 2 0 0 0-2 2c0 1.02-.1 2.51-.26 4" }),
|
|
385
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("path", { d: "M14 13.12c0 2.38 0 6.38-1 8.88" }),
|
|
386
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("path", { d: "M17.29 21.02c.12-.6.43-2.3.5-3.02" }),
|
|
387
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("path", { d: "M2 12a10 10 0 0 1 18-6" }),
|
|
388
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("path", { d: "M2 16h.01" }),
|
|
389
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("path", { d: "M21.8 16c.2-2 .131-5.354 0-6" }),
|
|
390
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("path", { d: "M5 19.5C5.5 18 6 15 6 12a6 6 0 0 1 .34-2" }),
|
|
391
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("path", { d: "M8.65 22c.21-.66.45-1.32.57-2" }),
|
|
392
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("path", { d: "M9 6.8a6 6 0 0 1 9 5.2v2" })
|
|
393
|
-
] }), [1, 1]);
|
|
394
|
-
var SendGlyph = glyph(/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("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]);
|
|
297
|
+
var RestoreGlyph = import_icons.RotateCcwIcon;
|
|
298
|
+
var QrGlyph = import_icons.QrCodeIcon;
|
|
299
|
+
var CameraGlyph = import_icons.CameraIcon;
|
|
300
|
+
var CheckGlyph = import_icons.CheckIcon;
|
|
301
|
+
var PowerGlyph = import_icons.PowerIcon;
|
|
302
|
+
var RefreshGlyph = import_icons.RefreshCwIcon;
|
|
303
|
+
var SlidersGlyph = import_icons.SlidersVerticalIcon;
|
|
304
|
+
var UploadGlyph = import_icons.UploadIcon;
|
|
305
|
+
var FingerprintGlyph = import_icons.FingerprintPatternIcon;
|
|
306
|
+
var SendGlyph = import_icons.SendIcon;
|
|
395
307
|
|
|
396
308
|
// src/auth/identity.ts
|
|
397
309
|
var CONFIRM_RETURN_KEY = "matrx-vault:confirming-as";
|
|
@@ -6776,6 +6688,7 @@ var import_controls25 = require("@ai-matrx/design-system/controls");
|
|
|
6776
6688
|
var import_format9 = require("@ai-matrx/kit/format");
|
|
6777
6689
|
|
|
6778
6690
|
// src/lists/logic.ts
|
|
6691
|
+
var import_uuid = require("@ai-matrx/kit/uuid");
|
|
6779
6692
|
var ENTITY_TYPE = "credential_item";
|
|
6780
6693
|
var rowsOf = (data) => (Array.isArray(data) ? data : []).filter((r) => r && r.entity_type === ENTITY_TYPE && typeof r.entity_id === "string");
|
|
6781
6694
|
function favoriteIds(data) {
|
|
@@ -6806,7 +6719,6 @@ var REFUSALS = [
|
|
|
6806
6719
|
"native_manifest_invalid"
|
|
6807
6720
|
];
|
|
6808
6721
|
var isRefusal = (v) => REFUSALS.includes(v);
|
|
6809
|
-
var isUuid = (v) => typeof v === "string" && /^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i.test(v);
|
|
6810
6722
|
var isCount = (v) => typeof v === "number" && Number.isInteger(v) && v >= 0;
|
|
6811
6723
|
var INCOMPLETE = "Recovery details were incomplete. Reload Trash and try again.";
|
|
6812
6724
|
function parseRecoveryPreview(raw) {
|
|
@@ -6816,11 +6728,11 @@ function parseRecoveryPreview(raw) {
|
|
|
6816
6728
|
const prior = r.prior_was_disabled;
|
|
6817
6729
|
if (r.supported) {
|
|
6818
6730
|
const passkeys = r.native_passkeys_count === void 0 ? 0 : r.native_passkeys_count;
|
|
6819
|
-
if (!isCount(r.fields_count) || !isCount(r.attachments_count) || passkeys !== 0 && passkeys !== 1 || passkeys === 1 && r.fields_count < 1 || typeof prior !== "boolean" || !
|
|
6731
|
+
if (!isCount(r.fields_count) || !isCount(r.attachments_count) || passkeys !== 0 && passkeys !== 1 || passkeys === 1 && r.fields_count < 1 || typeof prior !== "boolean" || !(0, import_uuid.isRfc9562Uuid)(r.deletion_id) || (r.reason ?? null) !== null) throw new Error(INCOMPLETE);
|
|
6820
6732
|
return { supported: true, deletionId: r.deletion_id, fields: r.fields_count, attachments: r.attachments_count, passkeys, priorWasDisabled: prior };
|
|
6821
6733
|
}
|
|
6822
6734
|
const deletionId = r.deletion_id ?? null;
|
|
6823
|
-
if (deletionId !== null && !
|
|
6735
|
+
if (deletionId !== null && !(0, import_uuid.isRfc9562Uuid)(deletionId) || prior != null && typeof prior !== "boolean" || (r.fields_count ?? null) !== null || (r.attachments_count ?? null) !== null || !isRefusal(r.reason)) throw new Error(INCOMPLETE);
|
|
6824
6736
|
return { supported: false, deletionId, reason: r.reason, priorWasDisabled: typeof prior === "boolean" ? prior : null };
|
|
6825
6737
|
}
|
|
6826
6738
|
function refusalText(reason) {
|