@hanzo/dev 4.2.0 → 4.2.2

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 (115) hide show
  1. package/dist/{BinaryViewer-CmFUK4zZ.js → BinaryViewer-CeQaKnXQ.js} +19 -19
  2. package/dist/{ChatMarkdown-nvEI7iCv.js → ChatMarkdown-DqKVAYd6.js} +2460 -2460
  3. package/dist/{DevicePanel-v5e3sEIf.js → DevicePanel-D-pksK3r.js} +532 -532
  4. package/dist/{DeviceStreamView-CCIfmbxH.js → DeviceStreamView-DsCoOzDV.js} +377 -377
  5. package/dist/{DiffCommentAnnotation-BPTN_2a6.js → DiffCommentAnnotation-CCtanhmq.js} +227 -227
  6. package/dist/{DiffFileTree-B_br90vY.js → DiffFileTree-BhEDIwzm.js} +13 -13
  7. package/dist/{DiffPanel-V5R5TPuK.js → DiffPanel-BPZ6Ru_G.js} +328 -328
  8. package/dist/{DiffWorkerPoolProvider-BwFR-Fc9.js → DiffWorkerPoolProvider-8Qh-Y5iP.js} +3 -3
  9. package/dist/{DocumentPages-VSn83vty.js → DocumentPages-MN1xyIRb.js} +3 -3
  10. package/dist/{ExpandedImageDialog-CAorLacL.js → ExpandedImageDialog-tCY2TFXU.js} +404 -404
  11. package/dist/{FileExplorerPane-CeHulcPz.js → FileExplorerPane-BgJw-BA4.js} +4 -4
  12. package/dist/{FilePreviewPanel-BVNLvWOc.js → FilePreviewPanel-DHteid8j.js} +1089 -1089
  13. package/dist/{FontFilePreview-Dj8Blcay.js → FontFilePreview-COxgoDy5.js} +2 -2
  14. package/dist/{FontViewer-CLDdwhSr.js → FontViewer-jxARaj1f.js} +5 -5
  15. package/dist/{HanzoConnectAccountPages-BEzYfu2l.js → HanzoConnectAccountPages-BM2mB27b.js} +357 -357
  16. package/dist/{HanzoConnectSidebarSignIn-BhD6-Up5.js → HanzoConnectSidebarSignIn-BSOkKAjH.js} +3 -3
  17. package/dist/{Icons-CvSmt8vD.js → Icons-CdegMw5l.js} +1 -1
  18. package/dist/{LargeTextViewer-DfFnYGCw.js → LargeTextViewer-BX5-yWcy.js} +8 -8
  19. package/dist/{MermaidDiagram-CTolIzQD.js → MermaidDiagram-sVLnox7j.js} +8 -8
  20. package/dist/{MermaidFilePreview-CP2zP4FU.js → MermaidFilePreview-BqB2exZU.js} +2 -2
  21. package/dist/{MermaidViewer-BDfYkS9E.js → MermaidViewer-B0WYx1jk.js} +3 -3
  22. package/dist/{NotebookPreview-Cybs5uM0.js → NotebookPreview-B_7pSd7A.js} +10 -10
  23. package/dist/{OfficeFilePreview-7JsmSoKU.js → OfficeFilePreview-BJsNoaju.js} +2 -2
  24. package/dist/{OfficeViewer-CJoojlJK.js → OfficeViewer-TgdFnOtV.js} +10 -10
  25. package/dist/{OpenInPicker-BIMWUxBP.js → OpenInPicker-B3gPcFs6.js} +287 -287
  26. package/dist/{OpenXmlOfficeViewer-C24Kj8DM.js → OpenXmlOfficeViewer-C18a0NFP.js} +4 -4
  27. package/dist/{PdfViewer-Cf1iD759.js → PdfViewer-BanXvPmz.js} +16 -16
  28. package/dist/{PreviewFaviconIcon-zFOuzIxe.js → PreviewFaviconIcon-Dzjf4QXZ.js} +892 -892
  29. package/dist/{PreviewImage-oY5YnuTr.js → PreviewImage-Ct8eWJb8.js} +3 -3
  30. package/dist/{PreviewImageContent-n6eLzY99.js → PreviewImageContent-Dd8dzt9u.js} +3 -3
  31. package/dist/{PreviewPanel-Bo4Lt02m.js → PreviewPanel-BnsoHObW.js} +489 -489
  32. package/dist/{PreviewPanelShell-DhXLeN5j.js → PreviewPanelShell-Dezxjg0T.js} +71 -71
  33. package/dist/{ProjectIconPickerDialog-D0kFzt8f.js → ProjectIconPickerDialog-LomrzROv.js} +29 -29
  34. package/dist/{ProjectMonogram-D35xrrXQ.js → ProjectMonogram-D21--FQY.js} +1 -1
  35. package/dist/{ProviderAuthTerminal-DfsXnu7A.js → ProviderAuthTerminal-CYalqlUB.js} +3 -3
  36. package/dist/{PullRequestCodeTab-Dv_0kVad.js → PullRequestCodeTab-Jt9jdq55.js} +476 -476
  37. package/dist/{PullRequestReviewAnnotation-LeuwO-iH.js → PullRequestReviewAnnotation-xg3n0doV.js} +334 -334
  38. package/dist/{ReadOnlySourcePreview-D__IA5g1.js → ReadOnlySourcePreview-BYlRPbKI.js} +5 -5
  39. package/dist/{RelativeTime-BMRprQS8.js → RelativeTime-DQhoNsWZ.js} +2 -2
  40. package/dist/{RightPanelResizeHandle-BLbSz-gk.js → RightPanelResizeHandle-PumvYb9P.js} +2 -2
  41. package/dist/{ThemeEditorPanel-CUDdsRsE.js → ThemeEditorPanel-BmXXpaCI.js} +196 -196
  42. package/dist/{ThreadTerminalDrawer-BF3Ix0q_.js → ThreadTerminalDrawer-Cf4l2axO.js} +461 -461
  43. package/dist/{VirtualTablePreview-dajviAfu.js → VirtualTablePreview-mA6DOFwb.js} +1 -1
  44. package/dist/{anchoredCopyToast-DnUtg1n_.js → anchoredCopyToast-BVa_dlBU.js} +2 -2
  45. package/dist/{assetUrls-DkY7vXfM.js → assetUrls-D8lRk7Xd.js} +45 -45
  46. package/dist/{browserLinkTarget-CA46wnQC.js → browserLinkTarget-CCzAioAu.js} +18 -18
  47. package/dist/builder/api/models.d.ts +2 -0
  48. package/dist/builder/api/models.js +6 -1
  49. package/dist/builder/api/sandbox.d.ts +2 -0
  50. package/dist/builder/api/sandbox.js +3 -1
  51. package/dist/builder/desk.d.ts +6 -0
  52. package/dist/builder/desk.js +79 -14
  53. package/dist/builder/mind.d.ts +5 -5
  54. package/dist/builder/mind.js +35 -14
  55. package/dist/builder/pane.d.ts +1 -1
  56. package/dist/builder/pane.js +1 -1
  57. package/dist/builder/panel.js +5 -5
  58. package/dist/builder/preview-fallback.d.ts +47 -0
  59. package/dist/builder/preview-fallback.js +341 -0
  60. package/dist/{changedFileKind-D6QYvIez.js → changedFileKind-OIp-fuQd.js} +5 -5
  61. package/dist/{collapsible-DFT41MdC.js → collapsible-CDT6JKbk.js} +1 -1
  62. package/dist/{color-picker-CshqBbpY.js → color-picker-kSVcH92L.js} +16 -16
  63. package/dist/core.d.ts +38 -0
  64. package/dist/core.js +1 -1
  65. package/dist/{decodeImagePreview-DnfFEjhw.js → decodeImagePreview-DbkSuh7q.js} +2 -2
  66. package/dist/{delimitedPreview-BiEpdYOj.js → delimitedPreview-DbbXcqOT.js} +1 -1
  67. package/dist/{dialog-DhQtWGRa.js → dialog-EmpqFZiK.js} +40 -40
  68. package/dist/{embed-c030vUqM.js → embed-CzXFS50X.js} +39626 -38922
  69. package/dist/{empty-Bm5EzcG8.js → empty-ChM6gdzn.js} +1 -1
  70. package/dist/{errors-DrFQSJW3.js → errors-D8_Zn8KN.js} +2 -2
  71. package/dist/{fileContextMenu-BBo91omq.js → fileContextMenu-hdALQktP.js} +54 -54
  72. package/dist/{fileExplorerLabel-AikEChiS.js → fileExplorerLabel-DMdkA7jY.js} +507 -507
  73. package/dist/{fileSurfaceChrome-Cqkvn8RQ.js → fileSurfaceChrome-BDyKklTq.js} +26 -26
  74. package/dist/{hanzoWebAnalytics-CCxpTzcI.js → hanzoWebAnalytics-B1eETW-7.js} +1 -1
  75. package/dist/index.css +1 -1
  76. package/dist/{input-group-DEJEuwc9.js → input-group-BZ_QN-y7.js} +1 -1
  77. package/dist/{keybindings-C5tK_GAk.js → keybindings-D0pBlT1k.js} +7812 -7806
  78. package/dist/keymap.js +1 -1
  79. package/dist/{lucideIconByName-DUaXKH0V.js → lucideIconByName-CXY44V8P.js} +6835 -6848
  80. package/dist/{mediaReference-Bt_mh-ag.js → mediaReference-3wc4ZfY8.js} +95 -95
  81. package/dist/mediaSource-jW5c7b4r.js +70 -0
  82. package/dist/{modelPickerVisibility-Jue3CLfc.js → modelPickerVisibility-DBTc5r1G.js} +1 -1
  83. package/dist/{network-BbwqRm8c.js → network-wuXD7-is.js} +1 -1
  84. package/dist/{popover-anNQdce7.js → popover-BAyP2Tdr.js} +1 -1
  85. package/dist/{presentation-D9mVPBHm.js → presentation-68y8EAuH.js} +299 -299
  86. package/dist/{previewFailureMessages-BKpsSGX5.js → previewFailureMessages-CFguipaK.js} +3 -3
  87. package/dist/query-BPk2W3QN.js +63 -0
  88. package/dist/{readBinaryPreview-BAQ4fFjm.js → readBinaryPreview-DgDAUfzQ.js} +2 -2
  89. package/dist/{refresh-icon-BYx64to1.js → refresh-icon-Vo5ImiQL.js} +1 -1
  90. package/dist/{scroll-area-ChvX8uOh.js → scroll-area-CEoyjC7h.js} +1 -1
  91. package/dist/{select-DumYjny_.js → select-DLFnkZsI.js} +2 -2
  92. package/dist/{session-_kmiSv2A.js → session-Decc4Fo5.js} +1063 -1063
  93. package/dist/{skeleton-CJqwfMSF.js → skeleton-BOKpAZv6.js} +1 -1
  94. package/dist/{switch-COwevwaq.js → switch-DjpPjtQN.js} +2 -2
  95. package/dist/{themePalette-Dl_7omVL.js → themePalette-C-GtwwqV.js} +977 -977
  96. package/dist/{threadSearch-BHyWwcV3.js → threadSearch-sHEENLiT.js} +162 -162
  97. package/dist/{toggle-CEO6qTxB.js → toggle-B4F0EEtI.js} +1 -1
  98. package/dist/{toggle-group-BHovdMDl.js → toggle-group-l8hRPswr.js} +2 -2
  99. package/dist/{use-atom-command-ByoYq_K6.js → use-atom-command-XemtT1Gv.js} +1 -1
  100. package/dist/{useAriaLabelledBy-DPSISlnL.js → useAriaLabelledBy-CibvSz-b.js} +1 -1
  101. package/dist/{useFileMetadata-e7zsixVX.js → useFileMetadata-ChvPTfBY.js} +33 -33
  102. package/dist/{useFloatingRootContext-CJ9stHca.js → useFloatingRootContext-ppoGvqar.js} +1 -1
  103. package/dist/{useLiveRefresh-BkKJKXhH.js → useLiveRefresh-aHkPuz6N.js} +172 -172
  104. package/dist/{useNextRenderData-CyUmSAgz.js → useNextRenderData-Jm142a1q.js} +1 -1
  105. package/dist/{useSettings-DYG9Dmro.js → useSettings-Due4XCTB.js} +139 -139
  106. package/dist/{useTextFieldSpeech-COa9XcRx.js → useTextFieldSpeech-XN9r-f-r.js} +1404 -1404
  107. package/dist/useTheme-B9hvAuzL.js +411 -0
  108. package/dist/{utils-515nQ17G.js → utils-DtKQl-D3.js} +6184 -6172
  109. package/dist/{wizard-i86ViMRc.js → wizard-DjD4UNew.js} +3 -3
  110. package/dist/{workspaceFocus-BV1_9KiH.js → workspaceFocus-MR1plm6A.js} +144 -144
  111. package/dist/{zap-e0OsRjBR.js → zap-iwsUKtvA.js} +30 -17
  112. package/package.json +17 -17
  113. package/dist/mediaSource-zI7JWid4.js +0 -70
  114. package/dist/query-BxrrBAp6.js +0 -63
  115. package/dist/useTheme-D2ZM1gvV.js +0 -376
@@ -1,18 +1,18 @@
1
1
  import { c as e, n as t } from "./messages-yqmY7G5x.js";
2
- import { Qc as n, S_ as r, x_ as i, y_ as a } from "./utils-515nQ17G.js";
2
+ import { C_ as n, Qc as r, S_ as i, b_ as a } from "./utils-DtKQl-D3.js";
3
3
  import { i as o } from "./search-3oqTSaO6.js";
4
4
  import { t as s } from "./chevron-left-CVxU9FkT.js";
5
5
  import { n as c, t as l } from "./folder-B5cotRW5.js";
6
- import { a as u, c as d, o as f, s as p, t as m } from "./select-DumYjny_.js";
7
- import { a as h, i as g, o as _, t as v } from "./PreviewImage-oY5YnuTr.js";
8
- import { a as ee, i as y, o as b, s as x } from "./fileSurfaceChrome-Cqkvn8RQ.js";
9
- import { n as S, t as te } from "./previewFailureMessages-BKpsSGX5.js";
10
- import { t as ne } from "./readBinaryPreview-BAQ4fFjm.js";
6
+ import { a as u, c as d, o as f, s as p, t as m } from "./select-DLFnkZsI.js";
7
+ import { a as h, i as g, o as _, t as v } from "./PreviewImage-Ct8eWJb8.js";
8
+ import { a as ee, i as y, o as b, s as x } from "./fileSurfaceChrome-BDyKklTq.js";
9
+ import { n as S, t as te } from "./previewFailureMessages-CFguipaK.js";
10
+ import { t as ne } from "./readBinaryPreview-DgDAUfzQ.js";
11
11
  import { Suspense as C, lazy as re, useEffect as ie, useRef as ae, useState as w } from "react";
12
12
  import { c as T } from "react/compiler-runtime";
13
13
  import { Fragment as oe, jsx as E, jsxs as D } from "react/jsx-runtime";
14
14
  // src/components/files/BinaryViewer.tsx
15
- var O = re(() => import("./ReadOnlySourcePreview-D__IA5g1.js").then((e) => e.n)), k = (e, t) => t("{count, plural, one {{formatted} row} other {{formatted} rows}}", {
15
+ var O = re(() => import("./ReadOnlySourcePreview-BYlRPbKI.js").then((e) => e.n)), k = (e, t) => t("{count, plural, one {{formatted} row} other {{formatted} rows}}", {
16
16
  count: e,
17
17
  formatted: e.toLocaleString()
18
18
  }), se = (e, t) => t("{count, plural, one {{formatted} column} other {{formatted} columns}}", {
@@ -23,7 +23,7 @@ var O = re(() => import("./ReadOnlySourcePreview-D__IA5g1.js").then((e) => e.n))
23
23
  formatted: e.toLocaleString()
24
24
  });
25
25
  function le(e) {
26
- let t = T(25), n = r(), [i, o] = w(null), s;
26
+ let t = T(25), r = n(), [i, o] = w(null), s;
27
27
  t[0] === e.path ? s = t[1] : (s = h({ name: e.path }), t[0] = e.path, t[1] = s);
28
28
  let c = s, l;
29
29
  bb0: {
@@ -61,9 +61,9 @@ function le(e) {
61
61
  }
62
62
  if (!u) {
63
63
  let e;
64
- t[12] === n ? e = t[13] : (e = n("Only UTF-8 text and images can be opened inside an archive."), t[12] = n, t[13] = e);
65
- let r;
66
- return t[14] === e ? r = t[15] : (r = /* @__PURE__ */ E(ee, { message: e }), t[14] = e, t[15] = r), r;
64
+ t[12] === r ? e = t[13] : (e = r("Only UTF-8 text and images can be opened inside an archive."), t[12] = r, t[13] = e);
65
+ let n;
66
+ return t[14] === e ? n = t[15] : (n = /* @__PURE__ */ E(ee, { message: e }), t[14] = e, t[15] = n), n;
67
67
  }
68
68
  let p;
69
69
  t[16] === u.truncated ? p = t[17] : (p = u.truncated ? /* @__PURE__ */ E(x, { children: /* @__PURE__ */ E(a, { children: "Preview limited to the first 1 MB." }) }) : null, t[16] = u.truncated, t[17] = p);
@@ -81,7 +81,7 @@ function le(e) {
81
81
  return t[22] !== p || t[23] !== y ? (S = /* @__PURE__ */ D(oe, { children: [p, y] }), t[22] = p, t[23] = y, t[24] = S) : S = t[24], S;
82
82
  }
83
83
  function ue(h) {
84
- let g = T(41), _ = r(), v = i(), [C, re] = w(null), [O, ue] = w(null), [A, me] = w(null), [j, he] = w(null), [M, N] = w(null), [P, F] = w(""), [I, ge] = w(null), [L, _e] = w(""), [R, ve] = w(0), [z, B] = w(!0), [V, H] = w(null), U = ae(null), W = ae(null), G;
84
+ let g = T(41), _ = n(), v = i(), [C, re] = w(null), [O, ue] = w(null), [A, me] = w(null), [j, he] = w(null), [M, N] = w(null), [P, F] = w(""), [I, ge] = w(null), [L, _e] = w(""), [R, ve] = w(0), [z, B] = w(!0), [V, H] = w(null), U = ae(null), W = ae(null), G;
85
85
  g[0] === Symbol.for("react.memo_cache_sentinel") ? (G = (n) => {
86
86
  B(!0), H(null), W.current && clearTimeout(W.current), W.current = setTimeout(() => {
87
87
  H(t(e("This file took too long to preview. Close it and try again."))), B(!1), U.current?.terminate(), U.current = null;
@@ -141,7 +141,7 @@ function ue(h) {
141
141
  page: e
142
142
  });
143
143
  }, g[25] = L, g[26] = t);
144
- let r = t, i = /* @__PURE__ */ new Map(), S;
144
+ let n = t, i = /* @__PURE__ */ new Map(), S;
145
145
  g[27] === O?.entries ? S = g[28] : (S = O?.entries ?? [], g[27] = O?.entries, g[28] = S);
146
146
  for (let e of S) {
147
147
  if (!e.path.startsWith(P)) continue;
@@ -172,7 +172,7 @@ function ue(h) {
172
172
  }),
173
173
  /* @__PURE__ */ D("span", {
174
174
  className: "shrink-0 text-muted-foreground",
175
- children: [ce(O.entries.length, _), C === null ? "" : ` · ${n(C, v)}`]
175
+ children: [ce(O.entries.length, _), C === null ? "" : ` · ${r(C, v)}`]
176
176
  })
177
177
  ]
178
178
  }) : null, g[29] = O, g[30] = P, g[31] = _, g[32] = v, g[33] = I, g[34] = C, g[35] = X) : X = g[35], Z = A && e ? /* @__PURE__ */ D(oe, { children: [
@@ -184,7 +184,7 @@ function ue(h) {
184
184
  children: /* @__PURE__ */ D(m, {
185
185
  value: L,
186
186
  onValueChange: (e) => {
187
- !z && e !== null && r(0, e);
187
+ !z && e !== null && n(0, e);
188
188
  },
189
189
  children: [/* @__PURE__ */ E(p, {
190
190
  "aria-label": _("Table", { $context: "noun, database table picker" }),
@@ -211,7 +211,7 @@ function ue(h) {
211
211
  /* @__PURE__ */ E(y, {
212
212
  label: _("Previous rows"),
213
213
  disabled: z || R === 0,
214
- onPress: () => r(R - 1),
214
+ onPress: () => n(R - 1),
215
215
  children: /* @__PURE__ */ E(s, { className: "size-3.5" })
216
216
  }),
217
217
  /* @__PURE__ */ E("span", {
@@ -226,7 +226,7 @@ function ue(h) {
226
226
  /* @__PURE__ */ E(y, {
227
227
  label: _("Next rows"),
228
228
  disabled: z || (R + 1) * 50 >= e.count,
229
- onPress: () => r(R + 1),
229
+ onPress: () => n(R + 1),
230
230
  children: /* @__PURE__ */ E(o, { className: "size-3.5" })
231
231
  })
232
232
  ]
@@ -239,7 +239,7 @@ function ue(h) {
239
239
  " ·",
240
240
  " ",
241
241
  j ? se(j.columns.length, _) : _("… columns"),
242
- C === null ? "" : ` · ${n(C, v)}`
242
+ C === null ? "" : ` · ${r(C, v)}`
243
243
  ]
244
244
  }),
245
245
  /* @__PURE__ */ E(x, { children: /* @__PURE__ */ E(a, { children: "Read-only. Up to 50 columns and 1,024 characters per cell. Blob contents are omitted." }) })
@@ -304,7 +304,7 @@ function ue(h) {
304
304
  }),
305
305
  /* @__PURE__ */ E("td", {
306
306
  className: "w-20 border-b border-border/60 px-3 py-2 text-right whitespace-nowrap text-muted-foreground tabular-nums",
307
- children: n(e.size, v)
307
+ children: r(e.size, v)
308
308
  }),
309
309
  /* @__PURE__ */ E("td", {
310
310
  className: "w-28 border-b border-border/60 px-3 py-2 text-right whitespace-nowrap text-muted-foreground",