@arbidocs/blocks 0.4.143 → 0.4.144

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 (130) hide show
  1. package/dist/agents/index.cjs +264 -264
  2. package/dist/agents/index.js +7 -7
  3. package/dist/{chunk-IJST4EBM.js → chunk-2FJMTZNJ.js} +8 -8
  4. package/dist/{chunk-IJST4EBM.js.map → chunk-2FJMTZNJ.js.map} +1 -1
  5. package/dist/{chunk-FJETR2AS.js → chunk-33ZOUJXA.js} +4 -4
  6. package/dist/{chunk-FJETR2AS.js.map → chunk-33ZOUJXA.js.map} +1 -1
  7. package/dist/{chunk-IXWJGOM2.js → chunk-3RJN2VTL.js} +3 -3
  8. package/dist/{chunk-IXWJGOM2.js.map → chunk-3RJN2VTL.js.map} +1 -1
  9. package/dist/{chunk-YKQ2DPIP.js → chunk-444XKG46.js} +3 -3
  10. package/dist/{chunk-YKQ2DPIP.js.map → chunk-444XKG46.js.map} +1 -1
  11. package/dist/{chunk-XVUOMWMD.cjs → chunk-5FTIHRZH.cjs} +4 -4
  12. package/dist/{chunk-XVUOMWMD.cjs.map → chunk-5FTIHRZH.cjs.map} +1 -1
  13. package/dist/{chunk-ECW2R2KF.cjs → chunk-65THHQVB.cjs} +27 -27
  14. package/dist/{chunk-ECW2R2KF.cjs.map → chunk-65THHQVB.cjs.map} +1 -1
  15. package/dist/{chunk-Y4ATWQGV.js → chunk-7NGAWGA3.js} +3 -3
  16. package/dist/{chunk-Y4ATWQGV.js.map → chunk-7NGAWGA3.js.map} +1 -1
  17. package/dist/{chunk-T5B7FM7S.js → chunk-A6J2IBUG.js} +4 -4
  18. package/dist/{chunk-T5B7FM7S.js.map → chunk-A6J2IBUG.js.map} +1 -1
  19. package/dist/{chunk-RB7GX2VT.cjs → chunk-ABUO6PIQ.cjs} +12 -12
  20. package/dist/{chunk-RB7GX2VT.cjs.map → chunk-ABUO6PIQ.cjs.map} +1 -1
  21. package/dist/{chunk-NRFAWUVD.js → chunk-BPBSSMRB.js} +3 -3
  22. package/dist/{chunk-NRFAWUVD.js.map → chunk-BPBSSMRB.js.map} +1 -1
  23. package/dist/{chunk-HAOKT4LC.cjs → chunk-BUWBXJ2N.cjs} +5 -5
  24. package/dist/{chunk-HAOKT4LC.cjs.map → chunk-BUWBXJ2N.cjs.map} +1 -1
  25. package/dist/{chunk-KPZZ5FHE.cjs → chunk-C4WSHRR6.cjs} +12 -32
  26. package/dist/chunk-C4WSHRR6.cjs.map +1 -0
  27. package/dist/{chunk-J5CWKFSC.js → chunk-CYNF5PZI.js} +3 -3
  28. package/dist/{chunk-J5CWKFSC.js.map → chunk-CYNF5PZI.js.map} +1 -1
  29. package/dist/{chunk-VTTZZ4FN.js → chunk-DLBUFHLY.js} +74 -4
  30. package/dist/chunk-DLBUFHLY.js.map +1 -0
  31. package/dist/{chunk-YSHIC4NJ.cjs → chunk-HEMU73OP.cjs} +4 -4
  32. package/dist/{chunk-YSHIC4NJ.cjs.map → chunk-HEMU73OP.cjs.map} +1 -1
  33. package/dist/{chunk-UTTTJSQU.cjs → chunk-HFGXA5CL.cjs} +4 -4
  34. package/dist/{chunk-UTTTJSQU.cjs.map → chunk-HFGXA5CL.cjs.map} +1 -1
  35. package/dist/{chunk-H4D7WKDY.js → chunk-I7WG3JRD.js} +3 -3
  36. package/dist/{chunk-H4D7WKDY.js.map → chunk-I7WG3JRD.js.map} +1 -1
  37. package/dist/{chunk-SZOFGU7W.js → chunk-LYUO3E6V.js} +3 -3
  38. package/dist/{chunk-SZOFGU7W.js.map → chunk-LYUO3E6V.js.map} +1 -1
  39. package/dist/{chunk-TC3RQNEX.cjs → chunk-MJCCBMM5.cjs} +80 -6
  40. package/dist/chunk-MJCCBMM5.cjs.map +1 -0
  41. package/dist/{chunk-LPYEUD2D.cjs → chunk-O2ODDTMA.cjs} +9 -9
  42. package/dist/{chunk-LPYEUD2D.cjs.map → chunk-O2ODDTMA.cjs.map} +1 -1
  43. package/dist/{chunk-5YHEHEJT.js → chunk-ON3TKY5Y.js} +4 -242
  44. package/dist/chunk-ON3TKY5Y.js.map +1 -0
  45. package/dist/{chunk-U73KPFYH.cjs → chunk-QIMVTGKS.cjs} +2 -255
  46. package/dist/chunk-QIMVTGKS.cjs.map +1 -0
  47. package/dist/{chunk-DTROMMDX.cjs → chunk-R26BK7YL.cjs} +4 -4
  48. package/dist/{chunk-DTROMMDX.cjs.map → chunk-R26BK7YL.cjs.map} +1 -1
  49. package/dist/{chunk-U6YVZDOV.cjs → chunk-RA3ZJ45L.cjs} +13 -13
  50. package/dist/{chunk-U6YVZDOV.cjs.map → chunk-RA3ZJ45L.cjs.map} +1 -1
  51. package/dist/{chunk-EF4ZLKRM.js → chunk-RI6DZA5X.js} +3 -3
  52. package/dist/{chunk-EF4ZLKRM.js.map → chunk-RI6DZA5X.js.map} +1 -1
  53. package/dist/{chunk-KMZWKSKO.cjs → chunk-TP6PLDNM.cjs} +8 -8
  54. package/dist/{chunk-KMZWKSKO.cjs.map → chunk-TP6PLDNM.cjs.map} +1 -1
  55. package/dist/{chunk-EYKISBDO.cjs → chunk-WS5EX7DN.cjs} +5 -5
  56. package/dist/{chunk-EYKISBDO.cjs.map → chunk-WS5EX7DN.cjs.map} +1 -1
  57. package/dist/{chunk-C44TDH54.js → chunk-X3TGXEFS.js} +6 -6
  58. package/dist/{chunk-C44TDH54.js.map → chunk-X3TGXEFS.js.map} +1 -1
  59. package/dist/{chunk-O2GW5IY6.cjs → chunk-XGZX22ET.cjs} +38 -38
  60. package/dist/{chunk-O2GW5IY6.cjs.map → chunk-XGZX22ET.cjs.map} +1 -1
  61. package/dist/{chunk-OVR3XMYL.js → chunk-Y3KA6X7B.js} +4 -4
  62. package/dist/{chunk-OVR3XMYL.js.map → chunk-Y3KA6X7B.js.map} +1 -1
  63. package/dist/{chunk-COCGRJLA.cjs → chunk-YFY3TQ6Q.cjs} +7 -7
  64. package/dist/{chunk-COCGRJLA.cjs.map → chunk-YFY3TQ6Q.cjs.map} +1 -1
  65. package/dist/{chunk-TBEVGWY3.js → chunk-YNIBUKV5.js} +14 -32
  66. package/dist/chunk-YNIBUKV5.js.map +1 -0
  67. package/dist/citations/index.cjs +12 -12
  68. package/dist/citations/index.js +3 -3
  69. package/dist/connect/docx.cjs +10 -10
  70. package/dist/connect/docx.js +7 -7
  71. package/dist/connect/index.cjs +322 -709
  72. package/dist/connect/index.cjs.map +1 -1
  73. package/dist/connect/index.d.ts +0 -1
  74. package/dist/connect/index.js +214 -588
  75. package/dist/connect/index.js.map +1 -1
  76. package/dist/connection/ConnectedSettings.d.ts +2 -3
  77. package/dist/facts/index.cjs +3 -3
  78. package/dist/facts/index.js +2 -2
  79. package/dist/files/index.cjs +3 -3
  80. package/dist/files/index.js +2 -2
  81. package/dist/home/index.cjs +20 -20
  82. package/dist/home/index.js +4 -4
  83. package/dist/index.cjs +440 -449
  84. package/dist/index.cjs.map +1 -1
  85. package/dist/index.d.ts +0 -1
  86. package/dist/index.js +16 -17
  87. package/dist/index.js.map +1 -1
  88. package/dist/provider/BlocksProvider.d.ts +1 -5
  89. package/dist/retrieval/index.cjs +4 -4
  90. package/dist/retrieval/index.js +2 -2
  91. package/dist/settings/ServerConnectionControls.d.ts +0 -16
  92. package/dist/settings/index.cjs +241 -178
  93. package/dist/settings/index.cjs.map +1 -1
  94. package/dist/settings/index.d.ts +1 -3
  95. package/dist/settings/index.js +198 -86
  96. package/dist/settings/index.js.map +1 -1
  97. package/dist/shell/index.cjs +44 -44
  98. package/dist/shell/index.js +3 -3
  99. package/dist/site/index.cjs +73 -74
  100. package/dist/site/index.js +2 -3
  101. package/dist/studio/index.cjs +74 -75
  102. package/dist/studio/index.cjs.map +1 -1
  103. package/dist/studio/index.js +5 -6
  104. package/dist/studio/index.js.map +1 -1
  105. package/dist/workflow-canvas/index.cjs +21 -21
  106. package/dist/workflow-canvas/index.js +7 -7
  107. package/dist/workspaces/index.cjs +3 -3
  108. package/dist/workspaces/index.js +2 -2
  109. package/node_modules/@arbidocs/coedit/package.json +1 -1
  110. package/package.json +4 -4
  111. package/dist/chunk-5YHEHEJT.js.map +0 -1
  112. package/dist/chunk-KPZZ5FHE.cjs.map +0 -1
  113. package/dist/chunk-NHZK64TQ.js +0 -75
  114. package/dist/chunk-NHZK64TQ.js.map +0 -1
  115. package/dist/chunk-NWNVWO6L.cjs +0 -80
  116. package/dist/chunk-NWNVWO6L.cjs.map +0 -1
  117. package/dist/chunk-TBEVGWY3.js.map +0 -1
  118. package/dist/chunk-TC3RQNEX.cjs.map +0 -1
  119. package/dist/chunk-U73KPFYH.cjs.map +0 -1
  120. package/dist/chunk-VTTZZ4FN.js.map +0 -1
  121. package/dist/connection/settings-page/ConnectedAccountSettings.d.ts +0 -35
  122. package/dist/connection/settings-page/ConnectedMailSettings.d.ts +0 -13
  123. package/dist/connection/settings-page/ConnectedPremiumModels.d.ts +0 -1
  124. package/dist/connection/settings-page/ConnectedPrivacySettings.d.ts +0 -12
  125. package/dist/connection/settings-page/ConnectedSettingsPage.d.ts +0 -29
  126. package/dist/connection/settings-page/SessionStatusIcon.d.ts +0 -7
  127. package/dist/connection/settings-page/index.d.ts +0 -6
  128. package/dist/provider/settings-section.d.ts +0 -9
  129. package/dist/settings/AppearanceSettings.d.ts +0 -18
  130. package/dist/settings/SettingsPage.d.ts +0 -31
@@ -1,10 +1,9 @@
1
1
  "use client";
2
2
  'use strict';
3
3
 
4
- var chunkU73KPFYH_cjs = require('../chunk-U73KPFYH.cjs');
4
+ var chunkQIMVTGKS_cjs = require('../chunk-QIMVTGKS.cjs');
5
5
  var chunk223D4727_cjs = require('../chunk-223D4727.cjs');
6
6
  var chunkQZTNTP75_cjs = require('../chunk-QZTNTP75.cjs');
7
- var chunkNWNVWO6L_cjs = require('../chunk-NWNVWO6L.cjs');
8
7
  var chunkRFIBUWLF_cjs = require('../chunk-RFIBUWLF.cjs');
9
8
  var chunkRQ2Y7USX_cjs = require('../chunk-RQ2Y7USX.cjs');
10
9
  var chunkDVUZTGVL_cjs = require('../chunk-DVUZTGVL.cjs');
@@ -146,6 +145,77 @@ function FloatingPanel({
146
145
  }
147
146
  );
148
147
  }
148
+ function PanelFrame({ testId, className, children }) {
149
+ return /* @__PURE__ */ jsxRuntime.jsx(
150
+ "div",
151
+ {
152
+ "data-slot": "panel-frame",
153
+ "data-testid": testId,
154
+ className: ui.cn("flex h-full min-h-0 flex-col bg-background", className),
155
+ children
156
+ }
157
+ );
158
+ }
159
+ function PanelFrameBody({ className, children }) {
160
+ return /* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "panel-frame-body", className: ui.cn("min-h-0 flex-1 overflow-hidden", className), children });
161
+ }
162
+ function PanelScroll({ variant = "flush", className, children }) {
163
+ return /* @__PURE__ */ jsxRuntime.jsx(
164
+ "div",
165
+ {
166
+ "data-slot": "panel-scroll",
167
+ className: ui.cn("h-full overflow-auto", variant === "padded" && "space-y-4 p-3", className),
168
+ children
169
+ }
170
+ );
171
+ }
172
+ function PanelActionsRow({
173
+ className,
174
+ children
175
+ }) {
176
+ return /* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "panel-actions-row", className: ui.cn("flex justify-end", className), children });
177
+ }
178
+ function PanelAddButton({
179
+ label,
180
+ onClick,
181
+ isCompact,
182
+ icon,
183
+ testId,
184
+ disabledReason
185
+ }) {
186
+ return /* @__PURE__ */ jsxRuntime.jsxs(
187
+ "button",
188
+ {
189
+ type: "button",
190
+ onClick,
191
+ disabled: !!disabledReason,
192
+ title: disabledReason ?? label,
193
+ "data-slot": "panel-add-button",
194
+ "data-testid": testId,
195
+ className: "flex h-8 items-center gap-1.5 rounded-md px-2 text-sm font-medium text-primary transition-colors hover:bg-primary/10 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 disabled:hover:bg-transparent pointer-coarse:h-11 pointer-coarse:min-w-11",
196
+ children: [
197
+ icon,
198
+ isCompact ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: label }) : /* @__PURE__ */ jsxRuntime.jsx("span", { children: "New" })
199
+ ]
200
+ }
201
+ );
202
+ }
203
+ function PanelTitleBar({
204
+ icon,
205
+ title,
206
+ end
207
+ }) {
208
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "panel-title-bar", className: "flex w-full items-center justify-between px-4 py-2", children: [
209
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
210
+ icon,
211
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-medium", children: title })
212
+ ] }),
213
+ end
214
+ ] });
215
+ }
216
+ function PanelNote({ children }) {
217
+ return /* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "panel-note", className: "py-8 text-center text-muted-foreground", children });
218
+ }
149
219
  var DEFAULT_CONFIG_SWITCHER_BAR_LABELS = {
150
220
  placeholder: "Select configuration...",
151
221
  save: "Save",
@@ -395,6 +465,129 @@ function ModelSelectionSection({
395
465
  ] })
396
466
  ] });
397
467
  }
468
+ var DOT = {
469
+ connected: "bg-green-solid",
470
+ connecting: "bg-yellow-solid",
471
+ disconnected: "bg-red-solid",
472
+ offline: "bg-yellow-solid"
473
+ };
474
+ function ServerConnectionButton({
475
+ state,
476
+ label,
477
+ isRefreshing,
478
+ onRefresh,
479
+ testId = "refresh-session-button"
480
+ }) {
481
+ return /* @__PURE__ */ jsxRuntime.jsxs(
482
+ ui.Button,
483
+ {
484
+ type: "button",
485
+ variant: "outline",
486
+ size: "sm",
487
+ onClick: onRefresh,
488
+ disabled: isRefreshing,
489
+ className: "flex items-center gap-2",
490
+ "data-testid": testId,
491
+ "data-state": state,
492
+ children: [
493
+ /* @__PURE__ */ jsxRuntime.jsx(lucideReact.RefreshCw, { className: ui.cn("size-4", isRefreshing && "animate-spin") }),
494
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: ui.cn("size-2 rounded-full", DOT[state]), "aria-hidden": true }),
495
+ label
496
+ ]
497
+ }
498
+ );
499
+ }
500
+ var DEFAULT_WORK_OFFLINE_LABELS = {
501
+ goOnline: "Go online",
502
+ workOffline: "Work offline",
503
+ goOnlineHint: "Reconnect and use ARBI online again",
504
+ workOfflineHint: "Work offline \u2014 read cached docs and queue edits, even though the server is reachable"
505
+ };
506
+ function WorkOfflineToggle({
507
+ isOffline,
508
+ onToggle,
509
+ labels,
510
+ testId = "work-offline-toggle"
511
+ }) {
512
+ const l = { ...DEFAULT_WORK_OFFLINE_LABELS, ...labels };
513
+ return /* @__PURE__ */ jsxRuntime.jsxs(ui.Tooltip, { children: [
514
+ /* @__PURE__ */ jsxRuntime.jsx(ui.TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(
515
+ ui.Button,
516
+ {
517
+ variant: isOffline ? "secondary" : "outline",
518
+ size: "icon",
519
+ onClick: () => onToggle(!isOffline),
520
+ "aria-label": isOffline ? l.goOnline : l.workOffline,
521
+ "aria-pressed": isOffline,
522
+ "data-testid": testId,
523
+ children: isOffline ? /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Wifi, { className: "size-4" }) : /* @__PURE__ */ jsxRuntime.jsx(lucideReact.WifiOff, { className: "size-4" })
524
+ }
525
+ ) }),
526
+ /* @__PURE__ */ jsxRuntime.jsx(ui.TooltipContent, { children: /* @__PURE__ */ jsxRuntime.jsx("p", { children: isOffline ? l.goOnlineHint : l.workOfflineHint }) })
527
+ ] });
528
+ }
529
+ var GRID_ACCENT_CLASSES = [
530
+ "[&_.ag-checkbox-input-wrapper.ag-checked]:!bg-primary",
531
+ "[&_.ag-checkbox-input-wrapper.ag-checked]:!border-primary",
532
+ "[&_.ag-checkbox-input-wrapper.ag-checked]:!text-primary-foreground"
533
+ ];
534
+ var GRID_ACCENT_VARS = {
535
+ "--ag-checkbox-checked-color": "hsl(var(--primary))",
536
+ "--ag-selected-row-background-color": "hsl(var(--accent))"
537
+ };
538
+ function PremiumModelsFrame({
539
+ enabled,
540
+ onEnabledChange,
541
+ title = "Enable Premium Models",
542
+ description = "Third party AI models are priced on a pass-through basis.",
543
+ children,
544
+ toggleTestId
545
+ }) {
546
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "premium-models-frame", children: [
547
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-2 flex items-center gap-3", children: [
548
+ /* @__PURE__ */ jsxRuntime.jsx(
549
+ ui.Switch,
550
+ {
551
+ id: "premiumModelToggle",
552
+ checked: enabled,
553
+ onCheckedChange: onEnabledChange,
554
+ "data-testid": chunkMHVNT4J3_cjs.testIdOr(toggleTestId, { testId: "toggle-premium-model" })
555
+ }
556
+ ),
557
+ /* @__PURE__ */ jsxRuntime.jsxs(
558
+ "label",
559
+ {
560
+ className: "flex cursor-pointer items-center gap-2 text-sm font-medium",
561
+ htmlFor: "premiumModelToggle",
562
+ children: [
563
+ /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Crown, { className: "size-4 text-muted-foreground" }),
564
+ title
565
+ ]
566
+ }
567
+ )
568
+ ] }),
569
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mb-2 text-sm text-muted-foreground", children: description }),
570
+ /* @__PURE__ */ jsxRuntime.jsx(
571
+ "div",
572
+ {
573
+ className: ui.cn(
574
+ "transition-opacity",
575
+ !enabled && "pointer-events-none opacity-50",
576
+ GRID_ACCENT_CLASSES
577
+ ),
578
+ style: GRID_ACCENT_VARS,
579
+ "aria-disabled": !enabled,
580
+ children
581
+ }
582
+ )
583
+ ] });
584
+ }
585
+ function ModelProviderLabel({ logo, children }) {
586
+ return /* @__PURE__ */ jsxRuntime.jsxs("span", { "data-slot": "model-provider", className: "flex items-center gap-1.5", children: [
587
+ logo,
588
+ children
589
+ ] });
590
+ }
398
591
  function ThreadPreviewDialog({
399
592
  open,
400
593
  onOpenChange,
@@ -3470,282 +3663,142 @@ function ErrorDialogView({
3470
3663
  }
3471
3664
  ) });
3472
3665
  }
3473
- var SCHEME_OPTIONS = [
3474
- { value: "light", label: "Light", icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Sun, { className: "h-4 w-4" }) },
3475
- { value: "dark", label: "Dark", icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Moon, { className: "h-4 w-4" }) }
3476
- ].map((option) => ({ ...option, testId: `appearance-scheme-${option.value}` }));
3477
- var TEXT_SIZE_OPTIONS = [
3478
- { value: "default", label: "Default" },
3479
- { value: "large", label: "Large" },
3480
- { value: "larger", label: "Larger" }
3481
- ].map((option) => ({ ...option, testId: `appearance-text-size-${option.value}` }));
3482
- var DEFAULT_APPEARANCE_PAIRING_IDS = [
3483
- "office",
3484
- "inter",
3485
- "fraunces-inter",
3486
- "montserrat-nunito"
3487
- ];
3488
- function AppearanceSettings({
3489
- colorScheme,
3490
- onColorSchemeChange,
3491
- textSize,
3492
- onTextSizeChange,
3493
- pairingId,
3494
- onPairingChange,
3495
- pairingIds = DEFAULT_APPEARANCE_PAIRING_IDS,
3496
- onReset
3497
- }) {
3498
- const activePairing = chunkNWNVWO6L_cjs.getFontPairing(pairingId) ?? chunkNWNVWO6L_cjs.getFontPairing(pairingIds[0]);
3499
- return /* @__PURE__ */ jsxRuntime.jsxs(chunkU73KPFYH_cjs.SettingsPanel, { testId: "settings-appearance", children: [
3500
- /* @__PURE__ */ jsxRuntime.jsx(
3501
- chunkU73KPFYH_cjs.SettingsSection,
3502
- {
3503
- title: "Colour scheme",
3504
- action: onReset && /* @__PURE__ */ jsxRuntime.jsxs(
3505
- "button",
3506
- {
3507
- type: "button",
3508
- onClick: onReset,
3509
- className: "flex items-center gap-1.5 py-1 text-sm text-muted-foreground hover:text-foreground pointer-coarse:min-h-11",
3510
- "data-testid": "appearance-reset",
3511
- children: [
3512
- /* @__PURE__ */ jsxRuntime.jsx(lucideReact.RotateCcw, { className: "h-3 w-3" }),
3513
- "Reset"
3514
- ]
3515
- }
3516
- ),
3517
- children: /* @__PURE__ */ jsxRuntime.jsx(
3518
- SegmentedControl,
3519
- {
3520
- value: colorScheme,
3521
- onChange: onColorSchemeChange,
3522
- options: SCHEME_OPTIONS,
3523
- ariaLabel: "Colour scheme"
3524
- }
3525
- )
3526
- }
3527
- ),
3528
- /* @__PURE__ */ jsxRuntime.jsxs(chunkU73KPFYH_cjs.SettingsSection, { title: "Text size", children: [
3529
- /* @__PURE__ */ jsxRuntime.jsx(
3530
- SegmentedControl,
3531
- {
3532
- value: textSize,
3533
- onChange: onTextSizeChange,
3534
- options: TEXT_SIZE_OPTIONS,
3535
- ariaLabel: "Text size"
3536
- }
3537
- ),
3538
- /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-muted-foreground", children: "Makes all text larger, including documents in the viewer and citations. Applied straight away and remembered on this device." })
3539
- ] }),
3540
- /* @__PURE__ */ jsxRuntime.jsxs(chunkU73KPFYH_cjs.SettingsSection, { title: "Typeface", children: [
3541
- /* @__PURE__ */ jsxRuntime.jsxs(ui.Select, { value: pairingId, onValueChange: onPairingChange, children: [
3542
- /* @__PURE__ */ jsxRuntime.jsx(ui.SelectTrigger, { className: "w-full", "data-testid": "appearance-typeface-select", children: /* @__PURE__ */ jsxRuntime.jsx(ui.SelectValue, { children: activePairing && /* @__PURE__ */ jsxRuntime.jsx("span", { style: { fontFamily: activePairing.display }, children: activePairing.label }) }) }),
3543
- /* @__PURE__ */ jsxRuntime.jsx(ui.SelectContent, { children: pairingIds.map((id) => {
3544
- const pairing = chunkNWNVWO6L_cjs.getFontPairing(id);
3545
- if (!pairing) return null;
3546
- return /* @__PURE__ */ jsxRuntime.jsx(ui.SelectItem, { value: id, "data-testid": `appearance-typeface-${id}`, children: /* @__PURE__ */ jsxRuntime.jsx("span", { style: { fontFamily: pairing.display }, children: pairing.label }) }, id);
3547
- }) })
3548
- ] }),
3549
- /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-muted-foreground", children: "Sets the headings and body text across the app. Applied straight away and remembered on this device." })
3550
- ] })
3551
- ] });
3552
- }
3553
3666
 
3554
3667
  Object.defineProperty(exports, "ActiveSessionsDialog", {
3555
3668
  enumerable: true,
3556
- get: function () { return chunkU73KPFYH_cjs.ActiveSessionsDialog; }
3669
+ get: function () { return chunkQIMVTGKS_cjs.ActiveSessionsDialog; }
3557
3670
  });
3558
3671
  Object.defineProperty(exports, "AvatarPicker", {
3559
3672
  enumerable: true,
3560
- get: function () { return chunkU73KPFYH_cjs.AvatarPicker; }
3673
+ get: function () { return chunkQIMVTGKS_cjs.AvatarPicker; }
3561
3674
  });
3562
3675
  Object.defineProperty(exports, "DEFAULT_ACTIVE_SESSIONS_DIALOG_LABELS", {
3563
3676
  enumerable: true,
3564
- get: function () { return chunkU73KPFYH_cjs.DEFAULT_ACTIVE_SESSIONS_DIALOG_LABELS; }
3677
+ get: function () { return chunkQIMVTGKS_cjs.DEFAULT_ACTIVE_SESSIONS_DIALOG_LABELS; }
3565
3678
  });
3566
3679
  Object.defineProperty(exports, "DEFAULT_AVATAR_PICKER_LABELS", {
3567
3680
  enumerable: true,
3568
- get: function () { return chunkU73KPFYH_cjs.DEFAULT_AVATAR_PICKER_LABELS; }
3681
+ get: function () { return chunkQIMVTGKS_cjs.DEFAULT_AVATAR_PICKER_LABELS; }
3569
3682
  });
3570
3683
  Object.defineProperty(exports, "DEFAULT_DELETE_ACCOUNT_DIALOG_LABELS", {
3571
3684
  enumerable: true,
3572
- get: function () { return chunkU73KPFYH_cjs.DEFAULT_DELETE_ACCOUNT_DIALOG_LABELS; }
3685
+ get: function () { return chunkQIMVTGKS_cjs.DEFAULT_DELETE_ACCOUNT_DIALOG_LABELS; }
3573
3686
  });
3574
3687
  Object.defineProperty(exports, "DEFAULT_IDENTITY_VERIFICATION_LABELS", {
3575
3688
  enumerable: true,
3576
- get: function () { return chunkU73KPFYH_cjs.DEFAULT_IDENTITY_VERIFICATION_LABELS; }
3689
+ get: function () { return chunkQIMVTGKS_cjs.DEFAULT_IDENTITY_VERIFICATION_LABELS; }
3577
3690
  });
3578
3691
  Object.defineProperty(exports, "DEFAULT_LOGOUT_DIALOG_LABELS", {
3579
3692
  enumerable: true,
3580
- get: function () { return chunkU73KPFYH_cjs.DEFAULT_LOGOUT_DIALOG_LABELS; }
3693
+ get: function () { return chunkQIMVTGKS_cjs.DEFAULT_LOGOUT_DIALOG_LABELS; }
3581
3694
  });
3582
3695
  Object.defineProperty(exports, "DEFAULT_PASSWORD_CHANGE_DIALOG_LABELS", {
3583
3696
  enumerable: true,
3584
- get: function () { return chunkU73KPFYH_cjs.DEFAULT_PASSWORD_CHANGE_DIALOG_LABELS; }
3697
+ get: function () { return chunkQIMVTGKS_cjs.DEFAULT_PASSWORD_CHANGE_DIALOG_LABELS; }
3585
3698
  });
3586
3699
  Object.defineProperty(exports, "DEFAULT_PROFILE_CARD_LABELS", {
3587
3700
  enumerable: true,
3588
- get: function () { return chunkU73KPFYH_cjs.DEFAULT_PROFILE_CARD_LABELS; }
3701
+ get: function () { return chunkQIMVTGKS_cjs.DEFAULT_PROFILE_CARD_LABELS; }
3589
3702
  });
3590
3703
  Object.defineProperty(exports, "DEFAULT_SETTINGS_DANGER_ZONE_LABELS", {
3591
3704
  enumerable: true,
3592
- get: function () { return chunkU73KPFYH_cjs.DEFAULT_SETTINGS_DANGER_ZONE_LABELS; }
3593
- });
3594
- Object.defineProperty(exports, "DEFAULT_WORK_OFFLINE_LABELS", {
3595
- enumerable: true,
3596
- get: function () { return chunkU73KPFYH_cjs.DEFAULT_WORK_OFFLINE_LABELS; }
3705
+ get: function () { return chunkQIMVTGKS_cjs.DEFAULT_SETTINGS_DANGER_ZONE_LABELS; }
3597
3706
  });
3598
3707
  Object.defineProperty(exports, "DeleteAccountDialog", {
3599
3708
  enumerable: true,
3600
- get: function () { return chunkU73KPFYH_cjs.DeleteAccountDialog; }
3709
+ get: function () { return chunkQIMVTGKS_cjs.DeleteAccountDialog; }
3601
3710
  });
3602
3711
  Object.defineProperty(exports, "DraggableHeader", {
3603
3712
  enumerable: true,
3604
- get: function () { return chunkU73KPFYH_cjs.DraggableHeader; }
3713
+ get: function () { return chunkQIMVTGKS_cjs.DraggableHeader; }
3605
3714
  });
3606
3715
  Object.defineProperty(exports, "EMAIL_NOTIFICATION_CATEGORIES", {
3607
3716
  enumerable: true,
3608
- get: function () { return chunkU73KPFYH_cjs.EMAIL_NOTIFICATION_CATEGORIES; }
3717
+ get: function () { return chunkQIMVTGKS_cjs.EMAIL_NOTIFICATION_CATEGORIES; }
3609
3718
  });
3610
3719
  Object.defineProperty(exports, "EMAIL_NOTIFICATION_KEYS", {
3611
3720
  enumerable: true,
3612
- get: function () { return chunkU73KPFYH_cjs.EMAIL_NOTIFICATION_KEYS; }
3721
+ get: function () { return chunkQIMVTGKS_cjs.EMAIL_NOTIFICATION_KEYS; }
3613
3722
  });
3614
3723
  Object.defineProperty(exports, "IdentityVerificationCard", {
3615
3724
  enumerable: true,
3616
- get: function () { return chunkU73KPFYH_cjs.IdentityVerificationCard; }
3725
+ get: function () { return chunkQIMVTGKS_cjs.IdentityVerificationCard; }
3617
3726
  });
3618
3727
  Object.defineProperty(exports, "IdentityVerificationDialog", {
3619
3728
  enumerable: true,
3620
- get: function () { return chunkU73KPFYH_cjs.IdentityVerificationDialog; }
3729
+ get: function () { return chunkQIMVTGKS_cjs.IdentityVerificationDialog; }
3621
3730
  });
3622
3731
  Object.defineProperty(exports, "LogoutDialog", {
3623
3732
  enumerable: true,
3624
- get: function () { return chunkU73KPFYH_cjs.LogoutDialog; }
3625
- });
3626
- Object.defineProperty(exports, "ModelProviderLabel", {
3627
- enumerable: true,
3628
- get: function () { return chunkU73KPFYH_cjs.ModelProviderLabel; }
3733
+ get: function () { return chunkQIMVTGKS_cjs.LogoutDialog; }
3629
3734
  });
3630
3735
  Object.defineProperty(exports, "NotificationCategoryList", {
3631
3736
  enumerable: true,
3632
- get: function () { return chunkU73KPFYH_cjs.NotificationCategoryList; }
3633
- });
3634
- Object.defineProperty(exports, "PanelActionsRow", {
3635
- enumerable: true,
3636
- get: function () { return chunkU73KPFYH_cjs.PanelActionsRow; }
3637
- });
3638
- Object.defineProperty(exports, "PanelAddButton", {
3639
- enumerable: true,
3640
- get: function () { return chunkU73KPFYH_cjs.PanelAddButton; }
3641
- });
3642
- Object.defineProperty(exports, "PanelFrame", {
3643
- enumerable: true,
3644
- get: function () { return chunkU73KPFYH_cjs.PanelFrame; }
3645
- });
3646
- Object.defineProperty(exports, "PanelFrameBody", {
3647
- enumerable: true,
3648
- get: function () { return chunkU73KPFYH_cjs.PanelFrameBody; }
3649
- });
3650
- Object.defineProperty(exports, "PanelNote", {
3651
- enumerable: true,
3652
- get: function () { return chunkU73KPFYH_cjs.PanelNote; }
3653
- });
3654
- Object.defineProperty(exports, "PanelScroll", {
3655
- enumerable: true,
3656
- get: function () { return chunkU73KPFYH_cjs.PanelScroll; }
3657
- });
3658
- Object.defineProperty(exports, "PanelTitleBar", {
3659
- enumerable: true,
3660
- get: function () { return chunkU73KPFYH_cjs.PanelTitleBar; }
3737
+ get: function () { return chunkQIMVTGKS_cjs.NotificationCategoryList; }
3661
3738
  });
3662
3739
  Object.defineProperty(exports, "PasswordChangeDialog", {
3663
3740
  enumerable: true,
3664
- get: function () { return chunkU73KPFYH_cjs.PasswordChangeDialog; }
3665
- });
3666
- Object.defineProperty(exports, "PremiumModelsFrame", {
3667
- enumerable: true,
3668
- get: function () { return chunkU73KPFYH_cjs.PremiumModelsFrame; }
3741
+ get: function () { return chunkQIMVTGKS_cjs.PasswordChangeDialog; }
3669
3742
  });
3670
3743
  Object.defineProperty(exports, "ProfileCard", {
3671
3744
  enumerable: true,
3672
- get: function () { return chunkU73KPFYH_cjs.ProfileCard; }
3745
+ get: function () { return chunkQIMVTGKS_cjs.ProfileCard; }
3673
3746
  });
3674
3747
  Object.defineProperty(exports, "RequireVerified", {
3675
3748
  enumerable: true,
3676
- get: function () { return chunkU73KPFYH_cjs.RequireVerified; }
3677
- });
3678
- Object.defineProperty(exports, "ServerConnectionButton", {
3679
- enumerable: true,
3680
- get: function () { return chunkU73KPFYH_cjs.ServerConnectionButton; }
3749
+ get: function () { return chunkQIMVTGKS_cjs.RequireVerified; }
3681
3750
  });
3682
3751
  Object.defineProperty(exports, "SettingsActionRow", {
3683
3752
  enumerable: true,
3684
- get: function () { return chunkU73KPFYH_cjs.SettingsActionRow; }
3753
+ get: function () { return chunkQIMVTGKS_cjs.SettingsActionRow; }
3685
3754
  });
3686
3755
  Object.defineProperty(exports, "SettingsCard", {
3687
3756
  enumerable: true,
3688
- get: function () { return chunkU73KPFYH_cjs.SettingsCard; }
3757
+ get: function () { return chunkQIMVTGKS_cjs.SettingsCard; }
3689
3758
  });
3690
3759
  Object.defineProperty(exports, "SettingsDangerZone", {
3691
3760
  enumerable: true,
3692
- get: function () { return chunkU73KPFYH_cjs.SettingsDangerZone; }
3693
- });
3694
- Object.defineProperty(exports, "SettingsPage", {
3695
- enumerable: true,
3696
- get: function () { return chunkU73KPFYH_cjs.SettingsPage; }
3761
+ get: function () { return chunkQIMVTGKS_cjs.SettingsDangerZone; }
3697
3762
  });
3698
3763
  Object.defineProperty(exports, "SettingsPanel", {
3699
3764
  enumerable: true,
3700
- get: function () { return chunkU73KPFYH_cjs.SettingsPanel; }
3765
+ get: function () { return chunkQIMVTGKS_cjs.SettingsPanel; }
3701
3766
  });
3702
3767
  Object.defineProperty(exports, "SettingsRow", {
3703
3768
  enumerable: true,
3704
- get: function () { return chunkU73KPFYH_cjs.SettingsRow; }
3769
+ get: function () { return chunkQIMVTGKS_cjs.SettingsRow; }
3705
3770
  });
3706
3771
  Object.defineProperty(exports, "SettingsSection", {
3707
3772
  enumerable: true,
3708
- get: function () { return chunkU73KPFYH_cjs.SettingsSection; }
3773
+ get: function () { return chunkQIMVTGKS_cjs.SettingsSection; }
3709
3774
  });
3710
3775
  Object.defineProperty(exports, "SettingsSwitchGroup", {
3711
3776
  enumerable: true,
3712
- get: function () { return chunkU73KPFYH_cjs.SettingsSwitchGroup; }
3777
+ get: function () { return chunkQIMVTGKS_cjs.SettingsSwitchGroup; }
3713
3778
  });
3714
3779
  Object.defineProperty(exports, "SettingsSwitchRow", {
3715
3780
  enumerable: true,
3716
- get: function () { return chunkU73KPFYH_cjs.SettingsSwitchRow; }
3717
- });
3718
- Object.defineProperty(exports, "WorkOfflineToggle", {
3719
- enumerable: true,
3720
- get: function () { return chunkU73KPFYH_cjs.WorkOfflineToggle; }
3781
+ get: function () { return chunkQIMVTGKS_cjs.SettingsSwitchRow; }
3721
3782
  });
3722
3783
  Object.defineProperty(exports, "formatSessionTtl", {
3723
3784
  enumerable: true,
3724
- get: function () { return chunkU73KPFYH_cjs.formatSessionTtl; }
3725
- });
3726
- Object.defineProperty(exports, "resolveSettingsSection", {
3727
- enumerable: true,
3728
- get: function () { return chunkU73KPFYH_cjs.resolveSettingsSection; }
3729
- });
3730
- Object.defineProperty(exports, "serverConnectionView", {
3731
- enumerable: true,
3732
- get: function () { return chunkU73KPFYH_cjs.serverConnectionView; }
3785
+ get: function () { return chunkQIMVTGKS_cjs.formatSessionTtl; }
3733
3786
  });
3734
3787
  Object.defineProperty(exports, "toActiveSessionViews", {
3735
3788
  enumerable: true,
3736
- get: function () { return chunkU73KPFYH_cjs.toActiveSessionViews; }
3789
+ get: function () { return chunkQIMVTGKS_cjs.toActiveSessionViews; }
3737
3790
  });
3738
3791
  Object.defineProperty(exports, "toDeleteBlockerViews", {
3739
3792
  enumerable: true,
3740
- get: function () { return chunkU73KPFYH_cjs.toDeleteBlockerViews; }
3793
+ get: function () { return chunkQIMVTGKS_cjs.toDeleteBlockerViews; }
3741
3794
  });
3742
3795
  Object.defineProperty(exports, "toLogoutSessionViews", {
3743
3796
  enumerable: true,
3744
- get: function () { return chunkU73KPFYH_cjs.toLogoutSessionViews; }
3797
+ get: function () { return chunkQIMVTGKS_cjs.toLogoutSessionViews; }
3745
3798
  });
3746
3799
  Object.defineProperty(exports, "toNotificationCategories", {
3747
3800
  enumerable: true,
3748
- get: function () { return chunkU73KPFYH_cjs.toNotificationCategories; }
3801
+ get: function () { return chunkQIMVTGKS_cjs.toNotificationCategories; }
3749
3802
  });
3750
3803
  Object.defineProperty(exports, "ModalBreadcrumbHeader", {
3751
3804
  enumerable: true,
@@ -3803,7 +3856,6 @@ Object.defineProperty(exports, "ModalSectionTitle", {
3803
3856
  enumerable: true,
3804
3857
  get: function () { return chunkULWRNGGE_cjs.ModalSectionTitle; }
3805
3858
  });
3806
- exports.AppearanceSettings = AppearanceSettings;
3807
3859
  exports.CONVERSATION_TITLE_MAX = CONVERSATION_TITLE_MAX;
3808
3860
  exports.CheckoutDialogFrame = CheckoutDialogFrame;
3809
3861
  exports.ConfigSwitcherBar = ConfigSwitcherBar;
@@ -3812,7 +3864,6 @@ exports.ConnectionsEmpty = ConnectionsEmpty;
3812
3864
  exports.ConnectionsError = ConnectionsError;
3813
3865
  exports.ConnectionsLoading = ConnectionsLoading;
3814
3866
  exports.ConversationTitleSection = ConversationTitleSection;
3815
- exports.DEFAULT_APPEARANCE_PAIRING_IDS = DEFAULT_APPEARANCE_PAIRING_IDS;
3816
3867
  exports.DEFAULT_CHECKOUT_DIALOG_LABELS = DEFAULT_CHECKOUT_DIALOG_LABELS;
3817
3868
  exports.DEFAULT_CONFIG_SWITCHER_BAR_LABELS = DEFAULT_CONFIG_SWITCHER_BAR_LABELS;
3818
3869
  exports.DEFAULT_CONNECTION_CARD_LABELS = DEFAULT_CONNECTION_CARD_LABELS;
@@ -3843,6 +3894,7 @@ exports.DEFAULT_USAGE_LINE_CHART_LABELS = DEFAULT_USAGE_LINE_CHART_LABELS;
3843
3894
  exports.DEFAULT_USAGE_PANEL_LABELS = DEFAULT_USAGE_PANEL_LABELS;
3844
3895
  exports.DEFAULT_USAGE_PROPORTION_BAR_LABELS = DEFAULT_USAGE_PROPORTION_BAR_LABELS;
3845
3896
  exports.DEFAULT_WELCOME_DIALOG_LABELS = DEFAULT_WELCOME_DIALOG_LABELS;
3897
+ exports.DEFAULT_WORK_OFFLINE_LABELS = DEFAULT_WORK_OFFLINE_LABELS;
3846
3898
  exports.DailyCapField = DailyCapField;
3847
3899
  exports.EmailWorkspaceDialogView = EmailWorkspaceDialogView;
3848
3900
  exports.ErrorDialogView = ErrorDialogView;
@@ -3854,9 +3906,17 @@ exports.InvoicesDialog = InvoicesDialog;
3854
3906
  exports.JsonTree = JsonTree;
3855
3907
  exports.MemberProjectRow = MemberProjectRow;
3856
3908
  exports.MessageJsonTree = MessageJsonTree;
3909
+ exports.ModelProviderLabel = ModelProviderLabel;
3857
3910
  exports.ModelSelectionSection = ModelSelectionSection;
3858
3911
  exports.MoreInfo = MoreInfo;
3859
3912
  exports.MoreInfoList = MoreInfoList;
3913
+ exports.PanelActionsRow = PanelActionsRow;
3914
+ exports.PanelAddButton = PanelAddButton;
3915
+ exports.PanelFrame = PanelFrame;
3916
+ exports.PanelFrameBody = PanelFrameBody;
3917
+ exports.PanelNote = PanelNote;
3918
+ exports.PanelScroll = PanelScroll;
3919
+ exports.PanelTitleBar = PanelTitleBar;
3860
3920
  exports.PlanActionButton = PlanActionButton;
3861
3921
  exports.PlanActionRow = PlanActionRow;
3862
3922
  exports.PlanBadge = PlanBadge;
@@ -3870,6 +3930,7 @@ exports.PlanPickerHeader = PlanPickerHeader;
3870
3930
  exports.PlanStack = PlanStack;
3871
3931
  exports.PlanTierOption = PlanTierOption;
3872
3932
  exports.PlanTransition = PlanTransition;
3933
+ exports.PremiumModelsFrame = PremiumModelsFrame;
3873
3934
  exports.PricingToggle = PricingToggle;
3874
3935
  exports.ProjectCardView = ProjectCardView;
3875
3936
  exports.ProjectDetailHeader = ProjectDetailHeader;
@@ -3890,6 +3951,7 @@ exports.RenameDialog = RenameDialog;
3890
3951
  exports.RowButton = RowButton;
3891
3952
  exports.RowIconAction = RowIconAction;
3892
3953
  exports.SegmentedControl = SegmentedControl;
3954
+ exports.ServerConnectionButton = ServerConnectionButton;
3893
3955
  exports.SharedProjectRow = SharedProjectRow;
3894
3956
  exports.SharedProjectsSection = SharedProjectsSection;
3895
3957
  exports.SubscriptionSectionView = SubscriptionSectionView;
@@ -3925,5 +3987,6 @@ exports.UsageSummary = UsageSummary;
3925
3987
  exports.UsageToggle = UsageToggle;
3926
3988
  exports.WelcomeDialog = WelcomeDialog;
3927
3989
  exports.WelcomeProjectPicker = WelcomeProjectPicker;
3990
+ exports.WorkOfflineToggle = WorkOfflineToggle;
3928
3991
  //# sourceMappingURL=index.cjs.map
3929
3992
  //# sourceMappingURL=index.cjs.map