@arbidocs/blocks 0.4.128 → 0.4.130

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 (236) hide show
  1. package/README.md +25 -10
  2. package/dist/{StreamedArtifactEditor-EEYAXJ4H.cjs → StreamedArtifactEditor-TQAND4H5.cjs} +6 -5
  3. package/dist/StreamedArtifactEditor-TQAND4H5.cjs.map +1 -0
  4. package/dist/{StreamedArtifactEditor-TDATDYD2.js → StreamedArtifactEditor-XQNANTWM.js} +4 -3
  5. package/dist/StreamedArtifactEditor-XQNANTWM.js.map +1 -0
  6. package/dist/agents/index.cjs +304 -304
  7. package/dist/agents/index.js +12 -12
  8. package/dist/artifacts/ArtifactCodeView.d.ts +6 -0
  9. package/dist/artifacts/ArtifactPreview.d.ts +22 -0
  10. package/dist/artifacts/index.cjs +50 -21
  11. package/dist/artifacts/index.d.ts +3 -0
  12. package/dist/artifacts/index.js +2 -1
  13. package/dist/artifacts/sandbox-policy.d.ts +34 -0
  14. package/dist/artifacts/sandboxDocument.d.ts +7 -0
  15. package/dist/calendar/CalendarPrint.d.ts +25 -0
  16. package/dist/calendar/booking-slots.d.ts +21 -0
  17. package/dist/calendar/index.cjs +440 -243
  18. package/dist/calendar/index.cjs.map +1 -1
  19. package/dist/calendar/index.d.ts +4 -0
  20. package/dist/calendar/index.js +282 -151
  21. package/dist/calendar/index.js.map +1 -1
  22. package/dist/calendar/print-layout.d.ts +16 -0
  23. package/dist/calendar/printCalendar.d.ts +6 -0
  24. package/dist/calls/composite-canvas.d.ts +52 -0
  25. package/dist/calls/index.cjs +376 -3
  26. package/dist/calls/index.cjs.map +1 -1
  27. package/dist/calls/index.d.ts +3 -0
  28. package/dist/calls/index.js +360 -5
  29. package/dist/calls/index.js.map +1 -1
  30. package/dist/calls/ringtone.d.ts +16 -0
  31. package/dist/calls/voice-levels.d.ts +32 -0
  32. package/dist/chat/ThreadVisualizer.d.ts +28 -0
  33. package/dist/chat/index.cjs +156 -140
  34. package/dist/chat/index.d.ts +2 -0
  35. package/dist/chat/index.js +5 -5
  36. package/dist/chat/open-document.d.ts +5 -1
  37. package/dist/chat/thread-diagram.d.ts +26 -0
  38. package/dist/{chunk-7HAM7Y5U.js → chunk-2DFDFOM7.js} +3 -3
  39. package/dist/{chunk-7HAM7Y5U.js.map → chunk-2DFDFOM7.js.map} +1 -1
  40. package/dist/{chunk-54ANPPMV.js → chunk-2PNNCEPH.js} +4 -4
  41. package/dist/{chunk-54ANPPMV.js.map → chunk-2PNNCEPH.js.map} +1 -1
  42. package/dist/{chunk-DQCYCEDR.js → chunk-2Q7FDZAY.js} +3 -3
  43. package/dist/{chunk-DQCYCEDR.js.map → chunk-2Q7FDZAY.js.map} +1 -1
  44. package/dist/{chunk-INW76PEL.cjs → chunk-2YV7FBLO.cjs} +175 -2
  45. package/dist/chunk-2YV7FBLO.cjs.map +1 -0
  46. package/dist/{chunk-S7PSMMRG.js → chunk-444XKG46.js} +3 -3
  47. package/dist/{chunk-S7PSMMRG.js.map → chunk-444XKG46.js.map} +1 -1
  48. package/dist/{chunk-FSBY2S4V.cjs → chunk-4QIIDXLF.cjs} +10 -10
  49. package/dist/{chunk-FSBY2S4V.cjs.map → chunk-4QIIDXLF.cjs.map} +1 -1
  50. package/dist/{chunk-OYMWV45N.js → chunk-4RLCRFZS.js} +63 -13
  51. package/dist/chunk-4RLCRFZS.js.map +1 -0
  52. package/dist/{chunk-NZUQFF35.cjs → chunk-4S5IDT5F.cjs} +234 -5
  53. package/dist/chunk-4S5IDT5F.cjs.map +1 -0
  54. package/dist/{chunk-CJBN5HIS.js → chunk-4UMXQPNA.js} +20 -8
  55. package/dist/chunk-4UMXQPNA.js.map +1 -0
  56. package/dist/{chunk-KELGOCJA.js → chunk-65S53MZK.js} +174 -5
  57. package/dist/chunk-65S53MZK.js.map +1 -0
  58. package/dist/{chunk-IBZJYCYM.js → chunk-66TA5IBN.js} +17 -25
  59. package/dist/chunk-66TA5IBN.js.map +1 -0
  60. package/dist/{chunk-HM23LXUP.cjs → chunk-6AALMYPS.cjs} +3 -3
  61. package/dist/{chunk-HM23LXUP.cjs.map → chunk-6AALMYPS.cjs.map} +1 -1
  62. package/dist/{chunk-OR4CO743.cjs → chunk-AAFX64WD.cjs} +3 -3
  63. package/dist/{chunk-OR4CO743.cjs.map → chunk-AAFX64WD.cjs.map} +1 -1
  64. package/dist/{chunk-MUMH3Z6K.cjs → chunk-ARDHLU73.cjs} +61 -11
  65. package/dist/chunk-ARDHLU73.cjs.map +1 -0
  66. package/dist/chunk-BIXHB4LV.cjs +178 -0
  67. package/dist/chunk-BIXHB4LV.cjs.map +1 -0
  68. package/dist/chunk-C4WSHRR6.cjs +166 -0
  69. package/dist/chunk-C4WSHRR6.cjs.map +1 -0
  70. package/dist/{chunk-ZAVEMQ37.cjs → chunk-DWZXSPMB.cjs} +3 -3
  71. package/dist/{chunk-ZAVEMQ37.cjs.map → chunk-DWZXSPMB.cjs.map} +1 -1
  72. package/dist/{chunk-VW2C2AZL.js → chunk-ENDP7JER.js} +3 -3
  73. package/dist/{chunk-VW2C2AZL.js.map → chunk-ENDP7JER.js.map} +1 -1
  74. package/dist/{chunk-5HFPRI3W.js → chunk-FUTMU4FR.js} +3 -3
  75. package/dist/{chunk-5HFPRI3W.js.map → chunk-FUTMU4FR.js.map} +1 -1
  76. package/dist/{chunk-P5ST47VY.js → chunk-GDBDHOI4.js} +3 -3
  77. package/dist/{chunk-P5ST47VY.js.map → chunk-GDBDHOI4.js.map} +1 -1
  78. package/dist/chunk-GTCC2VAR.js +153 -0
  79. package/dist/chunk-GTCC2VAR.js.map +1 -0
  80. package/dist/{chunk-3BJLNKOB.cjs → chunk-GZPTWHP5.cjs} +22 -10
  81. package/dist/chunk-GZPTWHP5.cjs.map +1 -0
  82. package/dist/{chunk-OUW6G4O2.cjs → chunk-HFGXA5CL.cjs} +4 -4
  83. package/dist/{chunk-OUW6G4O2.cjs.map → chunk-HFGXA5CL.cjs.map} +1 -1
  84. package/dist/{chunk-SWQX6CTT.cjs → chunk-JKB7WT7L.cjs} +2 -2
  85. package/dist/chunk-JKB7WT7L.cjs.map +1 -0
  86. package/dist/{chunk-D4YR56FV.cjs → chunk-KYDRUFWT.cjs} +5 -5
  87. package/dist/{chunk-D4YR56FV.cjs.map → chunk-KYDRUFWT.cjs.map} +1 -1
  88. package/dist/chunk-NS4JD2VR.js +22 -0
  89. package/dist/chunk-NS4JD2VR.js.map +1 -0
  90. package/dist/{chunk-S6BOINC4.cjs → chunk-OGBXV326.cjs} +7 -7
  91. package/dist/{chunk-S6BOINC4.cjs.map → chunk-OGBXV326.cjs.map} +1 -1
  92. package/dist/{chunk-DJM7DLCT.cjs → chunk-OPTBQSCV.cjs} +3 -3
  93. package/dist/{chunk-DJM7DLCT.cjs.map → chunk-OPTBQSCV.cjs.map} +1 -1
  94. package/dist/{chunk-GFYGYME3.js → chunk-OQ7RUNOC.js} +3 -3
  95. package/dist/{chunk-GFYGYME3.js.map → chunk-OQ7RUNOC.js.map} +1 -1
  96. package/dist/{chunk-WV4IDVDQ.cjs → chunk-PJJY6CYL.cjs} +11 -11
  97. package/dist/{chunk-WV4IDVDQ.cjs.map → chunk-PJJY6CYL.cjs.map} +1 -1
  98. package/dist/{chunk-CXLVI3SB.js → chunk-PUCY3UXN.js} +3 -3
  99. package/dist/{chunk-CXLVI3SB.js.map → chunk-PUCY3UXN.js.map} +1 -1
  100. package/dist/{chunk-ZV3BKLFY.cjs → chunk-QDEODGXE.cjs} +5 -5
  101. package/dist/{chunk-ZV3BKLFY.cjs.map → chunk-QDEODGXE.cjs.map} +1 -1
  102. package/dist/{chunk-7BJRLP3U.js → chunk-QYTYW74G.js} +5 -5
  103. package/dist/{chunk-7BJRLP3U.js.map → chunk-QYTYW74G.js.map} +1 -1
  104. package/dist/{chunk-A7NCSZAP.cjs → chunk-QZTNTP75.cjs} +17 -25
  105. package/dist/chunk-QZTNTP75.cjs.map +1 -0
  106. package/dist/{chunk-OB5F4577.cjs → chunk-R26BK7YL.cjs} +4 -4
  107. package/dist/{chunk-OB5F4577.cjs.map → chunk-R26BK7YL.cjs.map} +1 -1
  108. package/dist/{chunk-A2YAC22G.js → chunk-RI6DZA5X.js} +3 -3
  109. package/dist/{chunk-A2YAC22G.js.map → chunk-RI6DZA5X.js.map} +1 -1
  110. package/dist/{chunk-LC2KJSUS.cjs → chunk-SARREDFP.cjs} +46 -46
  111. package/dist/{chunk-LC2KJSUS.cjs.map → chunk-SARREDFP.cjs.map} +1 -1
  112. package/dist/{chunk-ZCHSJUCI.js → chunk-SZX44LCT.js} +231 -6
  113. package/dist/chunk-SZX44LCT.js.map +1 -0
  114. package/dist/{chunk-7QDX2CO4.cjs → chunk-TP6PLDNM.cjs} +4 -4
  115. package/dist/{chunk-7QDX2CO4.cjs.map → chunk-TP6PLDNM.cjs.map} +1 -1
  116. package/dist/{chunk-W27VK32R.cjs → chunk-TT6XV6WM.cjs} +84 -84
  117. package/dist/{chunk-W27VK32R.cjs.map → chunk-TT6XV6WM.cjs.map} +1 -1
  118. package/dist/{chunk-KLOSOT26.js → chunk-UMIY4SQS.js} +11 -11
  119. package/dist/{chunk-KLOSOT26.js.map → chunk-UMIY4SQS.js.map} +1 -1
  120. package/dist/chunk-VG24E4JJ.cjs +26 -0
  121. package/dist/chunk-VG24E4JJ.cjs.map +1 -0
  122. package/dist/{chunk-ECERC6TI.js → chunk-VHJHY7TT.js} +3 -3
  123. package/dist/{chunk-ECERC6TI.js.map → chunk-VHJHY7TT.js.map} +1 -1
  124. package/dist/{chunk-D3N67Q4D.js → chunk-W3VYZXNS.js} +3 -3
  125. package/dist/{chunk-D3N67Q4D.js.map → chunk-W3VYZXNS.js.map} +1 -1
  126. package/dist/{chunk-JK45LSIH.cjs → chunk-WXYQ66KC.cjs} +5 -5
  127. package/dist/{chunk-JK45LSIH.cjs.map → chunk-WXYQ66KC.cjs.map} +1 -1
  128. package/dist/{chunk-ZCF2JJFA.js → chunk-Y3KA6X7B.js} +3 -3
  129. package/dist/{chunk-ZCF2JJFA.js.map → chunk-Y3KA6X7B.js.map} +1 -1
  130. package/dist/{chunk-GYCQ3FNL.js → chunk-YBLIKTJK.js} +2 -2
  131. package/dist/chunk-YBLIKTJK.js.map +1 -0
  132. package/dist/chunk-YNIBUKV5.js +163 -0
  133. package/dist/chunk-YNIBUKV5.js.map +1 -0
  134. package/dist/citations/index.cjs +12 -11
  135. package/dist/citations/index.js +3 -2
  136. package/dist/collaboration/index.cjs +51 -51
  137. package/dist/collaboration/index.js +3 -3
  138. package/dist/components/DroppableContainer.d.ts +6 -0
  139. package/dist/components/GridRowNavigator.d.ts +29 -0
  140. package/dist/components/LoadingIndicator.d.ts +21 -0
  141. package/dist/components/RowNavigatorControls.d.ts +29 -0
  142. package/dist/components/SharedCell.d.ts +27 -0
  143. package/dist/connect/docx.cjs +7 -5
  144. package/dist/connect/docx.cjs.map +1 -1
  145. package/dist/connect/docx.js +6 -4
  146. package/dist/connect/docx.js.map +1 -1
  147. package/dist/connect/index.cjs +270 -227
  148. package/dist/connect/index.cjs.map +1 -1
  149. package/dist/connect/index.d.ts +1 -1
  150. package/dist/connect/index.js +199 -156
  151. package/dist/connect/index.js.map +1 -1
  152. package/dist/connection/ConnectedSettings.d.ts +46 -20
  153. package/dist/connection/ConnectionProvider.d.ts +5 -0
  154. package/dist/connection/mail/ConnectedMailComposer.d.ts +2 -3
  155. package/dist/connection/mail/ConnectedMailbox.d.ts +2 -3
  156. package/dist/connection/mail/MailComposerForm.d.ts +2 -3
  157. package/dist/connection/mail/index.d.ts +2 -2
  158. package/dist/connection/mail/mailbox.d.ts +1 -4
  159. package/dist/connection/mail/types.d.ts +0 -8
  160. package/dist/document-tools/index.cjs +1 -1
  161. package/dist/document-tools/index.js +1 -1
  162. package/dist/facts/fact-citations.d.ts +56 -0
  163. package/dist/facts/fact-table-column-resize.d.ts +18 -0
  164. package/dist/facts/index.cjs +198 -29
  165. package/dist/facts/index.cjs.map +1 -1
  166. package/dist/facts/index.d.ts +2 -1
  167. package/dist/facts/index.js +187 -27
  168. package/dist/facts/index.js.map +1 -1
  169. package/dist/files/index.cjs +4 -4
  170. package/dist/files/index.js +3 -3
  171. package/dist/home/index.cjs +20 -19
  172. package/dist/home/index.cjs.map +1 -1
  173. package/dist/home/index.js +5 -4
  174. package/dist/home/index.js.map +1 -1
  175. package/dist/index.cjs +877 -679
  176. package/dist/index.cjs.map +1 -1
  177. package/dist/index.d.ts +7 -1
  178. package/dist/index.js +207 -30
  179. package/dist/index.js.map +1 -1
  180. package/dist/provider/BlocksProvider.d.ts +39 -4
  181. package/dist/provider/dialogs.d.ts +31 -0
  182. package/dist/retrieval/index.cjs +5 -4
  183. package/dist/retrieval/index.js +3 -2
  184. package/dist/sandboxDocument-JLEETIWW.js +71 -0
  185. package/dist/sandboxDocument-JLEETIWW.js.map +1 -0
  186. package/dist/sandboxDocument-WQUNODSC.cjs +76 -0
  187. package/dist/sandboxDocument-WQUNODSC.cjs.map +1 -0
  188. package/dist/settings/DraggableHeader.d.ts +10 -0
  189. package/dist/settings/FilterChip.d.ts +15 -0
  190. package/dist/settings/MessageJsonTree.d.ts +7 -0
  191. package/dist/settings/MoreInfo.d.ts +25 -0
  192. package/dist/settings/PlanCard.d.ts +1 -1
  193. package/dist/settings/index.cjs +363 -266
  194. package/dist/settings/index.cjs.map +1 -1
  195. package/dist/settings/index.d.ts +4 -1
  196. package/dist/settings/index.js +317 -222
  197. package/dist/settings/index.js.map +1 -1
  198. package/dist/settings/message-schema-hints.d.ts +19 -0
  199. package/dist/shell/index.cjs +48 -47
  200. package/dist/shell/index.js +4 -3
  201. package/dist/site/index.cjs +5 -5
  202. package/dist/site/index.js +1 -1
  203. package/dist/studio/index.cjs +19 -18
  204. package/dist/studio/index.cjs.map +1 -1
  205. package/dist/studio/index.js +11 -10
  206. package/dist/studio/index.js.map +1 -1
  207. package/dist/workflow-canvas/index.cjs +65 -65
  208. package/dist/workflow-canvas/index.js +13 -13
  209. package/dist/workspaces/index.cjs +42 -3
  210. package/dist/workspaces/index.cjs.map +1 -1
  211. package/dist/workspaces/index.d.ts +1 -0
  212. package/dist/workspaces/index.js +38 -3
  213. package/dist/workspaces/index.js.map +1 -1
  214. package/dist/workspaces/workspace-type.d.ts +29 -0
  215. package/node_modules/@arbidocs/coedit/package.json +1 -1
  216. package/package.json +10 -4
  217. package/dist/StreamedArtifactEditor-EEYAXJ4H.cjs.map +0 -1
  218. package/dist/StreamedArtifactEditor-TDATDYD2.js.map +0 -1
  219. package/dist/chunk-3BJLNKOB.cjs.map +0 -1
  220. package/dist/chunk-76JDDMSP.js +0 -31
  221. package/dist/chunk-76JDDMSP.js.map +0 -1
  222. package/dist/chunk-A7NCSZAP.cjs.map +0 -1
  223. package/dist/chunk-C54XEN5T.cjs +0 -34
  224. package/dist/chunk-C54XEN5T.cjs.map +0 -1
  225. package/dist/chunk-CJBN5HIS.js.map +0 -1
  226. package/dist/chunk-GYCQ3FNL.js.map +0 -1
  227. package/dist/chunk-IBZJYCYM.js.map +0 -1
  228. package/dist/chunk-INW76PEL.cjs.map +0 -1
  229. package/dist/chunk-KELGOCJA.js.map +0 -1
  230. package/dist/chunk-MUMH3Z6K.cjs.map +0 -1
  231. package/dist/chunk-NZUQFF35.cjs.map +0 -1
  232. package/dist/chunk-OYMWV45N.js.map +0 -1
  233. package/dist/chunk-SWQX6CTT.cjs.map +0 -1
  234. package/dist/chunk-ZCHSJUCI.js.map +0 -1
  235. package/dist/facts/timezone.d.ts +0 -4
  236. package/dist/settings/FirmPool.d.ts +0 -82
@@ -1,27 +1,27 @@
1
1
  "use client";
2
- export { AgentAvatarField, AgentBar, AgentBarIconButton, AgentBarMenu, AgentBarNotes, AgentBarProbeAnswer, AgentBarQueuedNote, AgentBarStatus, AgentCard, AgentCreateView, AgentCreatedView, AgentCreator, AgentEditView, AgentGallery, AgentMainView, AgentSelect, AgentTypeSelector, CapabilityGrid, CapabilityTile, ConfigField, ConfigForm, ConsentActions, ConsentBulletList, ConsentCard, ConsentFootnote, ConsentHeader, ConsentMessage, ConsentNotice, ConsentPage, ConsentPermissionList, ConsentSection, ConsentStrong, ConsentText, ConversationListView, ConversationTurnSpeaker, CopyableUrl, DEFAULT_AGENT_AVATAR_FIELD_LABELS, DEFAULT_AGENT_BAR_LABELS, DEFAULT_AGENT_CARD_LABELS, DEFAULT_AGENT_CREATOR_LABELS, DEFAULT_AGENT_GALLERY_LABELS, DEFAULT_AGENT_SELECT_LABELS, DEFAULT_AGENT_STEPS_LABELS, DEFAULT_AGENT_TYPE_SELECTOR_LABELS, DEFAULT_AUTHORIZE_AGENT_LABELS, DEFAULT_CONFIG_FIELD_LABELS, DEFAULT_CONFIG_FORM_LABELS, DEFAULT_CONSENT_ACTIONS_LABELS, DEFAULT_COPYABLE_URL_LABELS, DEFAULT_NEW_THREAD_DIALOG_LABELS, DEFAULT_PILL_SELECT_LABELS, DEFAULT_RECURRENCE, DEFAULT_RECURRENCE_BUILDER_LABELS, DEFAULT_SKILL_CARD_LABELS, DEFAULT_SKILL_EDIT_FORM_LABELS, DEFAULT_SKILL_GENERATE_FORM_LABELS, DEFAULT_SKILL_GLOBAL_BADGE_LABELS, DEFAULT_SKILL_ROW_LABELS, DEFAULT_SKILL_VIEW_TOGGLE_LABELS, DEFAULT_SUBAGENT_ROSTER_LABELS, DEFAULT_TASKS_CHROME_LABELS, DEFAULT_TASK_COMPOSER_LABELS, DEFAULT_TASK_LIST_LABELS, DEFAULT_TASK_OUTPUTS_CELL_LABELS, DEFAULT_TASK_PLAN_LABELS, DEFAULT_TASK_RUNS_DIALOG_LABELS, DEFAULT_TASK_STATUS_PILL_LABELS, DEFAULT_TASK_THREAD_CHIP_LABELS, DEFAULT_TASK_TRIGGER_CHIP_LABELS, DEFAULT_THREAD_LAUNCHER_LABELS, DEFAULT_THREAD_STATE_LABELS, DEFAULT_TUPLE_ARRAY_FIELD_LABELS, DEFAULT_UPLOAD_TASK_ITEM_LABELS, DEFAULT_UPLOAD_TASK_LIST_LABELS, DEFAULT_WORKFLOWS_CHROME_LABELS, DEFAULT_WORKFLOW_CONFIG_DIALOG_LABELS, DEFAULT_WORKFLOW_LIST_LABELS, DEFAULT_WORKFLOW_RUN_STATUS_LABELS, DEFAULT_WORKFLOW_THREAD_STRIP_LABELS, DERIVED_NAME_WORDS, EMPTY_NEW_THREAD, GoalCriteria, MAX_TASK_DEPTH, NewThreadDialog, PersonPill, PillSelect, RecurrenceBuilder, STATUS_LABELS, STATUS_ORDER, STATUS_TONE, SkillActionButton, SkillCard, SkillDetail, SkillDetailSection, SkillEditForm, SkillFilterChips, SkillGenerateForm, SkillGlobalBadge, SkillRow, SkillTile, SkillTypeBadge, SkillViewToggle, StepDetail, StepNarration, StepOutcome, StepParams, StepRow, StepSummary, StepTrace, StepTraceSummary, SubAgentLane, SubStepGroup, SubagentRoster, TASK_COLUMN_ORDER, TRIGGER_LABELS, TaskActivityDialog, TaskComposer, TaskFlow, TaskInbox, TaskMoveDialog, TaskOutputsCell, TaskPlan, TaskRunsDialog, TaskStartDialog, TaskStatusPill, TaskTable, TaskThreadChip, TaskTriggerChip, TasksToolbar, ThreadActivity, ThreadLauncher, ThreadNotifyDialog, ThreadStatusLine, TupleArrayField, UploadTaskItem, UploadTaskList, WEEKDAYS, WORKFLOW_COLUMN_ORDER, WorkflowConfigDialog, WorkflowDocumentsField, WorkflowLauncher, WorkflowRunStatus, WorkflowThreadStartedBy, WorkflowThreadStrip, WorkflowsTable, WorkflowsToolbar, agentConfigSectionToValues, agentCreatorToConfigSection, asTaskStatus, authModeFor, buildRRule, buildTaskRows, buildWorkflowScopeSource, compactThreadActivity, composePersona, composerToTaskQuery, composerToWorkRequest, composerToWorkflowRequest, composerToWorkflowUpdate, createTaskColumns, createWorkflowColumns, createsWork, defaultScopeRenderer, defaultTaskComposerValues, deriveAgentName, deriveWorkflowName, descendantIds, describeRRule, filterConversationRows, firstWords, formatElapsed, goalProgress, groupThreadActivity, hasTaskFields, hasTrigger, humanizeSection, indexTasks, inferType, inputDocumentIds, isAgenticWorkflow, isOutOfBounds, isPlainTodo, isSkillRow, isValidAgentName, isoToLocalInput, linkedRunsFromActivity, localInputToIso, matchWorkflowScope, moveTargets, newThreadToRequest, nextCriterionId, ownerExtId, parseRRule, prettifyKey, resolveScopeInputs, skillSlug, stripPersonaPreamble, summarizeAgent, summarizeCapabilities, taskComposerToCreateRequest, taskComposerToUpdateRequest, taskNeedsAccess, taskToComposerValues, useWorkflowPreview, workflowFromSkillMarkdown, workflowStatus, workflowTaskFields, workflowToComposerValues, workflowToSkillMarkdown, workflowTriggerType, workflowWhen } from '../chunk-KLOSOT26.js';
3
- import '../chunk-P5ST47VY.js';
4
- import '../chunk-4XJZ6AAY.js';
5
- import '../chunk-P6GHJSLR.js';
6
- export { ActionStepBody, ApprovalEvidence, AssigneeLine, DEFAULT_SCHEMA_FORM_LABELS, DEFAULT_STEP_BAR_LABELS, DEFAULT_TASK_ACTIVITY_LABELS, DEFAULT_WORKFLOW_RUNNER_LABELS, DEFAULT_WORKFLOW_STEP_PARTS_LABELS, SchemaForm, SendBackControl, TaskActivityTimeline, WorkflowRunner, activeStepId, fromPlanAssignee, fromPlanDocumentRef, fromPlanSteps, isIncompleteSignal, layoutFromPlanSteps, stepWindow, taskActivityHeadline, toPlanAssignee, toPlanDocumentRef, toPlanSteps, useWorkflowView } from '../chunk-54ANPPMV.js';
7
- import '../chunk-XD2M6LIG.js';
8
- import '../chunk-6S5FLMWG.js';
2
+ export { AgentAvatarField, AgentBar, AgentBarIconButton, AgentBarMenu, AgentBarNotes, AgentBarProbeAnswer, AgentBarQueuedNote, AgentBarStatus, AgentCard, AgentCreateView, AgentCreatedView, AgentCreator, AgentEditView, AgentGallery, AgentMainView, AgentSelect, AgentTypeSelector, CapabilityGrid, CapabilityTile, ConfigField, ConfigForm, ConsentActions, ConsentBulletList, ConsentCard, ConsentFootnote, ConsentHeader, ConsentMessage, ConsentNotice, ConsentPage, ConsentPermissionList, ConsentSection, ConsentStrong, ConsentText, ConversationListView, ConversationTurnSpeaker, CopyableUrl, DEFAULT_AGENT_AVATAR_FIELD_LABELS, DEFAULT_AGENT_BAR_LABELS, DEFAULT_AGENT_CARD_LABELS, DEFAULT_AGENT_CREATOR_LABELS, DEFAULT_AGENT_GALLERY_LABELS, DEFAULT_AGENT_SELECT_LABELS, DEFAULT_AGENT_STEPS_LABELS, DEFAULT_AGENT_TYPE_SELECTOR_LABELS, DEFAULT_AUTHORIZE_AGENT_LABELS, DEFAULT_CONFIG_FIELD_LABELS, DEFAULT_CONFIG_FORM_LABELS, DEFAULT_CONSENT_ACTIONS_LABELS, DEFAULT_COPYABLE_URL_LABELS, DEFAULT_NEW_THREAD_DIALOG_LABELS, DEFAULT_PILL_SELECT_LABELS, DEFAULT_RECURRENCE, DEFAULT_RECURRENCE_BUILDER_LABELS, DEFAULT_SKILL_CARD_LABELS, DEFAULT_SKILL_EDIT_FORM_LABELS, DEFAULT_SKILL_GENERATE_FORM_LABELS, DEFAULT_SKILL_GLOBAL_BADGE_LABELS, DEFAULT_SKILL_ROW_LABELS, DEFAULT_SKILL_VIEW_TOGGLE_LABELS, DEFAULT_SUBAGENT_ROSTER_LABELS, DEFAULT_TASKS_CHROME_LABELS, DEFAULT_TASK_COMPOSER_LABELS, DEFAULT_TASK_LIST_LABELS, DEFAULT_TASK_OUTPUTS_CELL_LABELS, DEFAULT_TASK_PLAN_LABELS, DEFAULT_TASK_RUNS_DIALOG_LABELS, DEFAULT_TASK_STATUS_PILL_LABELS, DEFAULT_TASK_THREAD_CHIP_LABELS, DEFAULT_TASK_TRIGGER_CHIP_LABELS, DEFAULT_THREAD_LAUNCHER_LABELS, DEFAULT_THREAD_STATE_LABELS, DEFAULT_TUPLE_ARRAY_FIELD_LABELS, DEFAULT_UPLOAD_TASK_ITEM_LABELS, DEFAULT_UPLOAD_TASK_LIST_LABELS, DEFAULT_WORKFLOWS_CHROME_LABELS, DEFAULT_WORKFLOW_CONFIG_DIALOG_LABELS, DEFAULT_WORKFLOW_LIST_LABELS, DEFAULT_WORKFLOW_RUN_STATUS_LABELS, DEFAULT_WORKFLOW_THREAD_STRIP_LABELS, DERIVED_NAME_WORDS, EMPTY_NEW_THREAD, GoalCriteria, MAX_TASK_DEPTH, NewThreadDialog, PersonPill, PillSelect, RecurrenceBuilder, STATUS_LABELS, STATUS_ORDER, STATUS_TONE, SkillActionButton, SkillCard, SkillDetail, SkillDetailSection, SkillEditForm, SkillFilterChips, SkillGenerateForm, SkillGlobalBadge, SkillRow, SkillTile, SkillTypeBadge, SkillViewToggle, StepDetail, StepNarration, StepOutcome, StepParams, StepRow, StepSummary, StepTrace, StepTraceSummary, SubAgentLane, SubStepGroup, SubagentRoster, TASK_COLUMN_ORDER, TRIGGER_LABELS, TaskActivityDialog, TaskComposer, TaskFlow, TaskInbox, TaskMoveDialog, TaskOutputsCell, TaskPlan, TaskRunsDialog, TaskStartDialog, TaskStatusPill, TaskTable, TaskThreadChip, TaskTriggerChip, TasksToolbar, ThreadActivity, ThreadLauncher, ThreadNotifyDialog, ThreadStatusLine, TupleArrayField, UploadTaskItem, UploadTaskList, WEEKDAYS, WORKFLOW_COLUMN_ORDER, WorkflowConfigDialog, WorkflowDocumentsField, WorkflowLauncher, WorkflowRunStatus, WorkflowThreadStartedBy, WorkflowThreadStrip, WorkflowsTable, WorkflowsToolbar, agentConfigSectionToValues, agentCreatorToConfigSection, asTaskStatus, authModeFor, buildRRule, buildTaskRows, buildWorkflowScopeSource, compactThreadActivity, composePersona, composerToTaskQuery, composerToWorkRequest, composerToWorkflowRequest, composerToWorkflowUpdate, createTaskColumns, createWorkflowColumns, createsWork, defaultScopeRenderer, defaultTaskComposerValues, deriveAgentName, deriveWorkflowName, descendantIds, describeRRule, filterConversationRows, firstWords, formatElapsed, goalProgress, groupThreadActivity, hasTaskFields, hasTrigger, humanizeSection, indexTasks, inferType, inputDocumentIds, isAgenticWorkflow, isOutOfBounds, isPlainTodo, isSkillRow, isValidAgentName, isoToLocalInput, linkedRunsFromActivity, localInputToIso, matchWorkflowScope, moveTargets, newThreadToRequest, nextCriterionId, ownerExtId, parseRRule, prettifyKey, resolveScopeInputs, skillSlug, stripPersonaPreamble, summarizeAgent, summarizeCapabilities, taskComposerToCreateRequest, taskComposerToUpdateRequest, taskNeedsAccess, taskToComposerValues, useWorkflowPreview, workflowFromSkillMarkdown, workflowStatus, workflowTaskFields, workflowToComposerValues, workflowToSkillMarkdown, workflowTriggerType, workflowWhen } from '../chunk-UMIY4SQS.js';
9
3
  import '../chunk-RFXJYIDV.js';
4
+ import '../chunk-4XJZ6AAY.js';
10
5
  import '../chunk-5LXQPP2K.js';
11
- import '../chunk-S7PSMMRG.js';
6
+ import '../chunk-P6GHJSLR.js';
7
+ export { ActionStepBody, ApprovalEvidence, AssigneeLine, DEFAULT_SCHEMA_FORM_LABELS, DEFAULT_STEP_BAR_LABELS, DEFAULT_TASK_ACTIVITY_LABELS, DEFAULT_WORKFLOW_RUNNER_LABELS, DEFAULT_WORKFLOW_STEP_PARTS_LABELS, SchemaForm, SendBackControl, TaskActivityTimeline, WorkflowRunner, activeStepId, fromPlanAssignee, fromPlanDocumentRef, fromPlanSteps, isIncompleteSignal, layoutFromPlanSteps, stepWindow, taskActivityHeadline, toPlanAssignee, toPlanDocumentRef, toPlanSteps, useWorkflowView } from '../chunk-2PNNCEPH.js';
12
8
  import '../chunk-EVUEIBNU.js';
9
+ import '../chunk-6S5FLMWG.js';
13
10
  import '../chunk-NUNKSZKU.js';
14
11
  import '../chunk-YU2KUMGE.js';
15
12
  import '../chunk-N5YEF3LC.js';
13
+ import '../chunk-GDBDHOI4.js';
14
+ import '../chunk-444XKG46.js';
15
+ import '../chunk-XD2M6LIG.js';
16
16
  import '../chunk-4WWM3GQ5.js';
17
- import '../chunk-TX2ZICS7.js';
18
- export { DEFAULT_ASSIGNEE_WORDING, DEFAULT_STEP_DOCUMENT_LABELS, DEFAULT_STEP_KIND_LABELS, DEFAULT_STEP_RECORD_LABELS, EMPTY_WORKFLOW_SCOPE, SKILL_PROMPT_FALLBACK_PLACEHOLDER, SKILL_PROMPT_LABEL, STEP_KIND_ICONS, StepDocumentButton, StepDocumentCards, StepRecord, WORKFLOW_STEP_KINDS, assigneeName, buildLaunch, canAssign, composeStepPrompt, composeWorkflowPrompt, defaultInputs, dependsOn, fieldToFrontmatter, fillRunText, fillStepInputs, initialRunInputs, inputsFromContext, isEmptyWorkflowScope, isPersonAction, isPersonStep, isRunFinished, isSteppedWorkflow, isWorkflowScope, nextAction, orderSteps, promptFieldName, reviewInstructions, runFields, runFieldsOf, runThreadTitle, sendBackTargets, skillToWorkflow, splitDocRef, stepConfigProblems, stepDependencies, stepDocuments, stepFields, stepKindOf, stepLevels, stepPhase, stepStatesFromActivity, upstreamSteps, validateInputs, validateStep, validateWorkflowGraph, workflowAccepts, workflowFromFrontmatter, workflowSteps, workflowsAccepting, workflowsForHost } from '../chunk-7HAM7Y5U.js';
19
- import '../chunk-AA3PT6KR.js';
17
+ export { DEFAULT_ASSIGNEE_WORDING, DEFAULT_STEP_DOCUMENT_LABELS, DEFAULT_STEP_KIND_LABELS, DEFAULT_STEP_RECORD_LABELS, EMPTY_WORKFLOW_SCOPE, SKILL_PROMPT_FALLBACK_PLACEHOLDER, SKILL_PROMPT_LABEL, STEP_KIND_ICONS, StepDocumentButton, StepDocumentCards, StepRecord, WORKFLOW_STEP_KINDS, assigneeName, buildLaunch, canAssign, composeStepPrompt, composeWorkflowPrompt, defaultInputs, dependsOn, fieldToFrontmatter, fillRunText, fillStepInputs, initialRunInputs, inputsFromContext, isEmptyWorkflowScope, isPersonAction, isPersonStep, isRunFinished, isSteppedWorkflow, isWorkflowScope, nextAction, orderSteps, promptFieldName, reviewInstructions, runFields, runFieldsOf, runThreadTitle, sendBackTargets, skillToWorkflow, splitDocRef, stepConfigProblems, stepDependencies, stepDocuments, stepFields, stepKindOf, stepLevels, stepPhase, stepStatesFromActivity, upstreamSteps, validateInputs, validateStep, validateWorkflowGraph, workflowAccepts, workflowFromFrontmatter, workflowSteps, workflowsAccepting, workflowsForHost } from '../chunk-2DFDFOM7.js';
20
18
  import '../chunk-AUS3KBHJ.js';
19
+ import '../chunk-AA3PT6KR.js';
21
20
  import '../chunk-SLSBJRWW.js';
22
21
  import '../chunk-NPLYHR2E.js';
23
22
  import '../chunk-7F6CBP3Z.js';
24
- import '../chunk-76JDDMSP.js';
23
+ import '../chunk-YNIBUKV5.js';
24
+ import '../chunk-TX2ZICS7.js';
25
25
  import '../chunk-OXF2IFXG.js';
26
26
  import '../chunk-VUNV25KB.js';
27
27
  //# sourceMappingURL=index.js.map
@@ -0,0 +1,6 @@
1
+ export interface ArtifactCodeViewProps {
2
+ source: string;
3
+ fileName?: string;
4
+ }
5
+ /** The source of a live (html/react) artifact, shown for copying. Changes are made by asking the assistant. */
6
+ export declare function ArtifactCodeView({ source, fileName }: ArtifactCodeViewProps): import("react").JSX.Element;
@@ -0,0 +1,22 @@
1
+ import type { ArtifactPreviewKind } from '@arbidocs/react/artifacts';
2
+ import { type ArtifactRuntime } from './sandbox-policy';
3
+ /** Where the host serves the generated sandbox runtime (`react-runtime.js`, `tailwind.js`). */
4
+ export declare const DEFAULT_ARTIFACT_RUNTIME_URL = "/artifact-runtime/";
5
+ /**
6
+ * Fetches the generated sandbox runtime once per URL; it is inlined into each preview. The host
7
+ * builds and serves the two files (ARBI: scripts/build-artifact-runtime.mjs → public/artifact-runtime).
8
+ */
9
+ export declare function loadArtifactRuntime(runtimeUrl?: string): Promise<ArtifactRuntime>;
10
+ export interface ArtifactPreviewProps {
11
+ kind: ArtifactPreviewKind;
12
+ source: string;
13
+ /** Content is still being generated; the preview waits for the finished artifact. */
14
+ isStreaming?: boolean;
15
+ /** Folder serving the sandbox runtime files (default {@link DEFAULT_ARTIFACT_RUNTIME_URL}). */
16
+ runtimeUrl?: string;
17
+ }
18
+ /**
19
+ * Renders an LLM-written html/react artifact in a script-only sandboxed iframe (no same-origin, no
20
+ * network; see `sandboxDocument`). Failures show one calm message; details go to the console.
21
+ */
22
+ export declare function ArtifactPreview({ kind, source, isStreaming, runtimeUrl, }: ArtifactPreviewProps): import("react").JSX.Element;
@@ -1,92 +1,121 @@
1
1
  "use client";
2
2
  'use strict';
3
3
 
4
- var chunkINW76PEL_cjs = require('../chunk-INW76PEL.cjs');
4
+ var chunk2YV7FBLO_cjs = require('../chunk-2YV7FBLO.cjs');
5
+ var chunkVG24E4JJ_cjs = require('../chunk-VG24E4JJ.cjs');
5
6
  var chunkQVBZESYQ_cjs = require('../chunk-QVBZESYQ.cjs');
6
7
  require('../chunk-MHVNT4J3.cjs');
7
8
  require('../chunk-DES3K4SD.cjs');
8
9
 
9
10
 
10
11
 
12
+ Object.defineProperty(exports, "ArtifactCodeView", {
13
+ enumerable: true,
14
+ get: function () { return chunk2YV7FBLO_cjs.ArtifactCodeView; }
15
+ });
11
16
  Object.defineProperty(exports, "ArtifactCompareBar", {
12
17
  enumerable: true,
13
- get: function () { return chunkINW76PEL_cjs.ArtifactCompareBar; }
18
+ get: function () { return chunk2YV7FBLO_cjs.ArtifactCompareBar; }
14
19
  });
15
20
  Object.defineProperty(exports, "ArtifactEditor", {
16
21
  enumerable: true,
17
- get: function () { return chunkINW76PEL_cjs.ArtifactEditor; }
22
+ get: function () { return chunk2YV7FBLO_cjs.ArtifactEditor; }
18
23
  });
19
24
  Object.defineProperty(exports, "ArtifactEditorBody", {
20
25
  enumerable: true,
21
- get: function () { return chunkINW76PEL_cjs.ArtifactEditorBody; }
26
+ get: function () { return chunk2YV7FBLO_cjs.ArtifactEditorBody; }
27
+ });
28
+ Object.defineProperty(exports, "ArtifactPreview", {
29
+ enumerable: true,
30
+ get: function () { return chunk2YV7FBLO_cjs.ArtifactPreview; }
22
31
  });
23
32
  Object.defineProperty(exports, "ArtifactRedlineView", {
24
33
  enumerable: true,
25
- get: function () { return chunkINW76PEL_cjs.ArtifactRedlineView; }
34
+ get: function () { return chunk2YV7FBLO_cjs.ArtifactRedlineView; }
26
35
  });
27
36
  Object.defineProperty(exports, "ArtifactToolbar", {
28
37
  enumerable: true,
29
- get: function () { return chunkINW76PEL_cjs.ArtifactToolbar; }
38
+ get: function () { return chunk2YV7FBLO_cjs.ArtifactToolbar; }
30
39
  });
31
40
  Object.defineProperty(exports, "ArtifactVersionBar", {
32
41
  enumerable: true,
33
- get: function () { return chunkINW76PEL_cjs.ArtifactVersionBar; }
42
+ get: function () { return chunk2YV7FBLO_cjs.ArtifactVersionBar; }
34
43
  });
35
44
  Object.defineProperty(exports, "DEFAULT_ARTIFACT_COMPARE_BAR_LABELS", {
36
45
  enumerable: true,
37
- get: function () { return chunkINW76PEL_cjs.DEFAULT_ARTIFACT_COMPARE_BAR_LABELS; }
46
+ get: function () { return chunk2YV7FBLO_cjs.DEFAULT_ARTIFACT_COMPARE_BAR_LABELS; }
38
47
  });
39
48
  Object.defineProperty(exports, "DEFAULT_ARTIFACT_EDITOR_STATUS_LABELS", {
40
49
  enumerable: true,
41
- get: function () { return chunkINW76PEL_cjs.DEFAULT_ARTIFACT_EDITOR_STATUS_LABELS; }
50
+ get: function () { return chunk2YV7FBLO_cjs.DEFAULT_ARTIFACT_EDITOR_STATUS_LABELS; }
51
+ });
52
+ Object.defineProperty(exports, "DEFAULT_ARTIFACT_RUNTIME_URL", {
53
+ enumerable: true,
54
+ get: function () { return chunk2YV7FBLO_cjs.DEFAULT_ARTIFACT_RUNTIME_URL; }
42
55
  });
43
56
  Object.defineProperty(exports, "DEFAULT_ARTIFACT_TOOLBAR_LABELS", {
44
57
  enumerable: true,
45
- get: function () { return chunkINW76PEL_cjs.DEFAULT_ARTIFACT_TOOLBAR_LABELS; }
58
+ get: function () { return chunk2YV7FBLO_cjs.DEFAULT_ARTIFACT_TOOLBAR_LABELS; }
46
59
  });
47
60
  Object.defineProperty(exports, "DEFAULT_ARTIFACT_VERSION_BAR_LABELS", {
48
61
  enumerable: true,
49
- get: function () { return chunkINW76PEL_cjs.DEFAULT_ARTIFACT_VERSION_BAR_LABELS; }
62
+ get: function () { return chunk2YV7FBLO_cjs.DEFAULT_ARTIFACT_VERSION_BAR_LABELS; }
50
63
  });
51
64
  Object.defineProperty(exports, "DEFAULT_REDLINE_LABELS", {
52
65
  enumerable: true,
53
- get: function () { return chunkINW76PEL_cjs.DEFAULT_REDLINE_LABELS; }
66
+ get: function () { return chunk2YV7FBLO_cjs.DEFAULT_REDLINE_LABELS; }
54
67
  });
55
68
  Object.defineProperty(exports, "DEFAULT_VERSION_TIMELINE_LABELS", {
56
69
  enumerable: true,
57
- get: function () { return chunkINW76PEL_cjs.DEFAULT_VERSION_TIMELINE_LABELS; }
70
+ get: function () { return chunk2YV7FBLO_cjs.DEFAULT_VERSION_TIMELINE_LABELS; }
58
71
  });
59
72
  Object.defineProperty(exports, "RedlineComputing", {
60
73
  enumerable: true,
61
- get: function () { return chunkINW76PEL_cjs.RedlineComputing; }
74
+ get: function () { return chunk2YV7FBLO_cjs.RedlineComputing; }
62
75
  });
63
76
  Object.defineProperty(exports, "RedlineDocument", {
64
77
  enumerable: true,
65
- get: function () { return chunkINW76PEL_cjs.RedlineDocument; }
78
+ get: function () { return chunk2YV7FBLO_cjs.RedlineDocument; }
66
79
  });
67
80
  Object.defineProperty(exports, "RedlineFrame", {
68
81
  enumerable: true,
69
- get: function () { return chunkINW76PEL_cjs.RedlineFrame; }
82
+ get: function () { return chunk2YV7FBLO_cjs.RedlineFrame; }
70
83
  });
71
84
  Object.defineProperty(exports, "RedlineHeader", {
72
85
  enumerable: true,
73
- get: function () { return chunkINW76PEL_cjs.RedlineHeader; }
86
+ get: function () { return chunk2YV7FBLO_cjs.RedlineHeader; }
74
87
  });
75
88
  Object.defineProperty(exports, "RedlineMark", {
76
89
  enumerable: true,
77
- get: function () { return chunkINW76PEL_cjs.RedlineMark; }
90
+ get: function () { return chunk2YV7FBLO_cjs.RedlineMark; }
78
91
  });
79
92
  Object.defineProperty(exports, "RedlineRevertGutter", {
80
93
  enumerable: true,
81
- get: function () { return chunkINW76PEL_cjs.RedlineRevertGutter; }
94
+ get: function () { return chunk2YV7FBLO_cjs.RedlineRevertGutter; }
82
95
  });
83
96
  Object.defineProperty(exports, "RedlineStatus", {
84
97
  enumerable: true,
85
- get: function () { return chunkINW76PEL_cjs.RedlineStatus; }
98
+ get: function () { return chunk2YV7FBLO_cjs.RedlineStatus; }
86
99
  });
87
100
  Object.defineProperty(exports, "VersionTimeline", {
88
101
  enumerable: true,
89
- get: function () { return chunkINW76PEL_cjs.VersionTimeline; }
102
+ get: function () { return chunk2YV7FBLO_cjs.VersionTimeline; }
103
+ });
104
+ Object.defineProperty(exports, "loadArtifactRuntime", {
105
+ enumerable: true,
106
+ get: function () { return chunk2YV7FBLO_cjs.loadArtifactRuntime; }
107
+ });
108
+ Object.defineProperty(exports, "ARTIFACT_CSP", {
109
+ enumerable: true,
110
+ get: function () { return chunkVG24E4JJ_cjs.ARTIFACT_CSP; }
111
+ });
112
+ Object.defineProperty(exports, "ARTIFACT_MESSAGE_TAG", {
113
+ enumerable: true,
114
+ get: function () { return chunkVG24E4JJ_cjs.ARTIFACT_MESSAGE_TAG; }
115
+ });
116
+ Object.defineProperty(exports, "ARTIFACT_SANDBOX", {
117
+ enumerable: true,
118
+ get: function () { return chunkVG24E4JJ_cjs.ARTIFACT_SANDBOX; }
90
119
  });
91
120
  Object.defineProperty(exports, "DEFAULT_STREAMED_ARTIFACT_FRAME_LABELS", {
92
121
  enumerable: true,
@@ -7,3 +7,6 @@ export { ArtifactRedlineView, type ArtifactRedlineState, type ArtifactRedlineVie
7
7
  export { VersionTimeline, DEFAULT_VERSION_TIMELINE_LABELS, type VersionTimelineProps, type VersionTimelineLabels, type VersionTimelineTestIds, type VersionEntry, type TranslationEntry, } from './VersionTimeline';
8
8
  export { RedlineComputing, RedlineDocument, RedlineFrame, RedlineHeader, RedlineMark, RedlineRevertGutter, RedlineStatus, DEFAULT_REDLINE_LABELS, type RedlineLabels, type RedlineDocumentProps, type RedlineFrameProps, type RedlineHeaderProps, type RedlineMarkerView, type RedlineRegionKind, type RedlineStatusKind, } from './RedlineParts';
9
9
  export { StreamedArtifactFrame, DEFAULT_STREAMED_ARTIFACT_FRAME_LABELS, type StreamedArtifactFrameLabels, type StreamedArtifactFrameProps, type StreamedArtifactFramePhase, type StreamedArtifactFrameTestIds, } from './StreamedArtifactFrame';
10
+ export { ArtifactPreview, DEFAULT_ARTIFACT_RUNTIME_URL, loadArtifactRuntime, type ArtifactPreviewProps, } from './ArtifactPreview';
11
+ export { ArtifactCodeView, type ArtifactCodeViewProps } from './ArtifactCodeView';
12
+ export { ARTIFACT_CSP, ARTIFACT_MESSAGE_TAG, ARTIFACT_SANDBOX, type ArtifactRuntime, type ArtifactSandboxMessage, } from './sandbox-policy';
@@ -1,5 +1,6 @@
1
1
  "use client";
2
- export { ArtifactCompareBar, ArtifactEditor, ArtifactEditorBody, ArtifactRedlineView, ArtifactToolbar, ArtifactVersionBar, DEFAULT_ARTIFACT_COMPARE_BAR_LABELS, DEFAULT_ARTIFACT_EDITOR_STATUS_LABELS, DEFAULT_ARTIFACT_TOOLBAR_LABELS, DEFAULT_ARTIFACT_VERSION_BAR_LABELS, DEFAULT_REDLINE_LABELS, DEFAULT_VERSION_TIMELINE_LABELS, RedlineComputing, RedlineDocument, RedlineFrame, RedlineHeader, RedlineMark, RedlineRevertGutter, RedlineStatus, VersionTimeline } from '../chunk-KELGOCJA.js';
2
+ export { ArtifactCodeView, ArtifactCompareBar, ArtifactEditor, ArtifactEditorBody, ArtifactPreview, ArtifactRedlineView, ArtifactToolbar, ArtifactVersionBar, DEFAULT_ARTIFACT_COMPARE_BAR_LABELS, DEFAULT_ARTIFACT_EDITOR_STATUS_LABELS, DEFAULT_ARTIFACT_RUNTIME_URL, DEFAULT_ARTIFACT_TOOLBAR_LABELS, DEFAULT_ARTIFACT_VERSION_BAR_LABELS, DEFAULT_REDLINE_LABELS, DEFAULT_VERSION_TIMELINE_LABELS, RedlineComputing, RedlineDocument, RedlineFrame, RedlineHeader, RedlineMark, RedlineRevertGutter, RedlineStatus, VersionTimeline, loadArtifactRuntime } from '../chunk-65S53MZK.js';
3
+ export { ARTIFACT_CSP, ARTIFACT_MESSAGE_TAG, ARTIFACT_SANDBOX } from '../chunk-NS4JD2VR.js';
3
4
  export { DEFAULT_STREAMED_ARTIFACT_FRAME_LABELS, StreamedArtifactFrame } from '../chunk-LOJVUGBJ.js';
4
5
  import '../chunk-7F6CBP3Z.js';
5
6
  import '../chunk-VUNV25KB.js';
@@ -0,0 +1,34 @@
1
+ /**
2
+ * The artifact sandbox's fixed policy: iframe sandbox flags, CSP, the message marker and the runtime
3
+ * shape. Kept apart from `sandboxDocument` (which pulls in the JSX compiler) so the preview can render
4
+ * its frame attributes without loading the compiler until an artifact is actually shown.
5
+ */
6
+ /** Exactly this and nothing else. Do not add allow-same-origin (it voids the sandbox). */
7
+ export declare const ARTIFACT_SANDBOX = "allow-scripts";
8
+ export declare const ARTIFACT_CSP: string;
9
+ /** Marker on every message the sandbox posts to the app. */
10
+ export declare const ARTIFACT_MESSAGE_TAG = "__arbiArtifact";
11
+ /**
12
+ * Source text of the generated runtime (scripts/build-artifact-runtime.mjs). It is inlined into the
13
+ * document: a frame with an opaque origin cannot load blob: URLs from the app, and inlining needs no
14
+ * network or CSP exception.
15
+ */
16
+ export interface ArtifactRuntime {
17
+ /** React + ReactDOM as one IIFE. */
18
+ react: string;
19
+ /** Tailwind v4 browser build. */
20
+ tailwind: string;
21
+ }
22
+ export type ArtifactSandboxMessage = {
23
+ [ARTIFACT_MESSAGE_TAG]: true;
24
+ type: 'ready';
25
+ } | {
26
+ [ARTIFACT_MESSAGE_TAG]: true;
27
+ type: 'console';
28
+ level: string;
29
+ text: string;
30
+ } | {
31
+ [ARTIFACT_MESSAGE_TAG]: true;
32
+ type: 'error';
33
+ text: string;
34
+ };
@@ -0,0 +1,7 @@
1
+ import type { ArtifactPreviewKind } from '@arbidocs/react/artifacts';
2
+ import { type ArtifactRuntime } from './sandbox-policy';
3
+ export declare function buildHtmlSandboxDocument(source: string, runtime: ArtifactRuntime): string;
4
+ /** Compiles an artifact's JSX file to plain JS (CommonJS), or throws with a readable message. */
5
+ export declare function compileReactArtifact(source: string): string;
6
+ export declare function buildReactSandboxDocument(source: string, runtime: ArtifactRuntime): string;
7
+ export declare function buildSandboxDocument(kind: ArtifactPreviewKind, source: string, runtime: ArtifactRuntime): string;
@@ -0,0 +1,25 @@
1
+ import { type CalendarEvent, type PrintView } from './print-layout';
2
+ export interface PrintCalendarInfo {
3
+ id: string;
4
+ name?: string | null;
5
+ color?: string | null;
6
+ }
7
+ export interface CalendarPrintProps {
8
+ events: CalendarEvent[];
9
+ view: PrintView;
10
+ /** Anchor date YYYY-MM-DD (the day, a day in the week / month, or the agenda's first day). */
11
+ date: string;
12
+ timeZone: string;
13
+ /** 0 = Sunday … 6 = Saturday (calendar settings `week_start`). Default 1 (Monday). */
14
+ weekStart?: number;
15
+ /** Agenda length in days. Default 30. */
16
+ agendaDays?: number;
17
+ /** Heading; defaults to a description of the range. */
18
+ title?: string;
19
+ calendars?: PrintCalendarInfo[];
20
+ /** Hide on screen (only shown when printing). Default false. */
21
+ screenHidden?: boolean;
22
+ /** Show location and description in agenda / day views. Default true. */
23
+ showDetails?: boolean;
24
+ }
25
+ export declare function CalendarPrint({ events, view, date, timeZone, weekStart, agendaDays, title, calendars, screenHidden, showDetails, }: CalendarPrintProps): import("react").JSX.Element;
@@ -0,0 +1,21 @@
1
+ export interface SlotView {
2
+ /** ISO instant to send back as `start` */
3
+ start: string;
4
+ /** Wall time in the visitor's zone, e.g. "9:00 AM" */
5
+ label: string;
6
+ }
7
+ export interface SlotDay {
8
+ /** YYYY-MM-DD in the visitor's zone */
9
+ date: string;
10
+ /** e.g. "Monday, November 2" */
11
+ label: string;
12
+ slots: SlotView[];
13
+ }
14
+ export declare function formatSlotTime(instant: string, zone: string, locale?: string): string;
15
+ /** A YYYY-MM-DD date as a weekday + day label. */
16
+ export declare function formatDayLabel(date: string, locale?: string): string;
17
+ export declare function groupSlotsByDay(slots: readonly string[], zone: string, locale?: string): SlotDay[];
18
+ /** "Monday, November 2, 9:00 – 9:30 AM (Europe/Berlin)"-style range for the confirmation. */
19
+ export declare function formatSlotRange(start: string, end: string, zone: string, locale?: string): string;
20
+ /** The zones a visitor can pick from, with `current` always among them. */
21
+ export declare function zoneOptions(current: string): string[];