@arbidocs/blocks 0.3.185 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +122 -0
- package/dist/agents/approvals/AuthorizeAgentParts.d.ts +79 -0
- package/dist/agents/approvals/ConsentPage.d.ts +76 -0
- package/dist/agents/approvals/ConsentParts.d.ts +37 -0
- package/dist/agents/approvals/index.d.ts +3 -0
- package/dist/agents/config/ConfigField.d.ts +43 -0
- package/dist/agents/config/ConfigForm.d.ts +35 -0
- package/dist/agents/config/TupleArrayField.d.ts +32 -0
- package/dist/agents/config/index.d.ts +4 -0
- package/dist/agents/config/schema-utils.d.ts +28 -0
- package/dist/agents/definitions/AgentCard.d.ts +63 -0
- package/dist/agents/definitions/AgentCreator.d.ts +118 -0
- package/dist/agents/definitions/AgentEditorParts.d.ts +63 -0
- package/dist/agents/definitions/AgentGallery.d.ts +29 -0
- package/dist/agents/definitions/index.d.ts +4 -0
- package/dist/agents/index.cjs +595 -0
- package/dist/agents/index.cjs.map +1 -0
- package/dist/agents/index.d.ts +7 -0
- package/dist/agents/index.js +14 -0
- package/dist/agents/index.js.map +1 -0
- package/dist/agents/runs/AgentBar.d.ts +103 -0
- package/dist/agents/runs/AgentSteps.d.ts +157 -0
- package/dist/agents/runs/SubagentRoster.d.ts +37 -0
- package/dist/agents/runs/index.d.ts +3 -0
- package/dist/agents/skills/SkillBrowserParts.d.ts +70 -0
- package/dist/agents/skills/SkillCard.d.ts +48 -0
- package/dist/agents/skills/SkillForms.d.ts +64 -0
- package/dist/agents/skills/SkillParts.d.ts +31 -0
- package/dist/agents/skills/SkillRow.d.ts +34 -0
- package/dist/agents/skills/index.d.ts +5 -0
- package/dist/agents/tasks/LiveRunsBanner.d.ts +26 -0
- package/dist/agents/tasks/RecurrenceBuilder.d.ts +36 -0
- package/dist/agents/tasks/TaskComposer.d.ts +108 -0
- package/dist/agents/tasks/TaskPlan.d.ts +78 -0
- package/dist/agents/tasks/TaskRowActions.d.ts +43 -0
- package/dist/agents/tasks/TaskRunsDialog.d.ts +45 -0
- package/dist/agents/tasks/TasksChrome.d.ts +36 -0
- package/dist/agents/tasks/UploadTaskItem.d.ts +39 -0
- package/dist/agents/tasks/UploadTaskList.d.ts +35 -0
- package/dist/agents/tasks/elapsed.d.ts +2 -0
- package/dist/agents/tasks/index.d.ts +13 -0
- package/dist/agents/tasks/rrule.d.ts +36 -0
- package/dist/agents/tasks/taskColumns.d.ts +68 -0
- package/dist/agents/tasks/taskLabels.d.ts +26 -0
- package/dist/agents/workflows/AgentSelect.d.ts +33 -0
- package/dist/agents/workflows/SchemaForm.d.ts +37 -0
- package/dist/agents/workflows/WorkflowConfigDialog.d.ts +73 -0
- package/dist/agents/workflows/WorkflowLauncher.d.ts +38 -0
- package/dist/agents/workflows/index.d.ts +6 -0
- package/dist/agents/workflows/types.d.ts +125 -0
- package/dist/agents/workflows/workflow.d.ts +62 -0
- package/dist/auth/AuthFooter.d.ts +56 -0
- package/dist/auth/AuthForm.d.ts +105 -0
- package/dist/auth/AuthLayout.d.ts +46 -0
- package/dist/auth/PasswordStrengthInput.d.ts +44 -0
- package/dist/auth/RecoveryDialogs.d.ts +90 -0
- package/dist/auth/SsoLoginButton.d.ts +19 -0
- package/dist/auth/index.cjs +123 -0
- package/dist/auth/index.cjs.map +1 -0
- package/dist/auth/index.d.ts +6 -0
- package/dist/auth/index.js +6 -0
- package/dist/auth/index.js.map +1 -0
- package/dist/builder/AgentsPanel.d.ts +9 -0
- package/dist/builder/ModuleManager.d.ts +6 -0
- package/dist/builder/VerticalBuilder.d.ts +32 -0
- package/dist/builder/agents/store.d.ts +21 -0
- package/dist/builder/export.d.ts +30 -0
- package/dist/builder/modules/registry.d.ts +11 -0
- package/dist/builder/modules/store.d.ts +29 -0
- package/dist/builder/modules/types.d.ts +29 -0
- package/dist/builder/types.d.ts +28 -0
- package/dist/chat/BranchControls.d.ts +33 -0
- package/dist/chat/Composer.d.ts +156 -0
- package/dist/chat/ContextChip.d.ts +19 -0
- package/dist/chat/ContextPanel.d.ts +108 -0
- package/dist/chat/ConversationEmpty.d.ts +53 -0
- package/dist/chat/ConversationLayout.d.ts +40 -0
- package/dist/chat/ConversationParts.d.ts +62 -0
- package/dist/chat/ConversationSearchView.d.ts +57 -0
- package/dist/chat/LabelPinRow.d.ts +30 -0
- package/dist/chat/Message.d.ts +189 -0
- package/dist/chat/MessageAlert.d.ts +25 -0
- package/dist/chat/MessageList.d.ts +102 -0
- package/dist/chat/ModelPicker.d.ts +103 -0
- package/dist/chat/PendingAnswerBar.d.ts +36 -0
- package/dist/chat/PinnedDocChip.d.ts +22 -0
- package/dist/chat/SlashMenu.d.ts +57 -0
- package/dist/chat/ThreadMap.d.ts +45 -0
- package/dist/chat/index.cjs +423 -0
- package/dist/chat/index.cjs.map +1 -0
- package/dist/chat/index.d.ts +21 -0
- package/dist/chat/index.js +6 -0
- package/dist/chat/index.js.map +1 -0
- package/dist/chat/test-id.d.ts +16 -0
- package/dist/chat/useStreamAnnouncement.d.ts +19 -0
- package/dist/chunk-223D4727.cjs +50 -0
- package/dist/chunk-223D4727.cjs.map +1 -0
- package/dist/chunk-2K33YGM6.cjs +1846 -0
- package/dist/chunk-2K33YGM6.cjs.map +1 -0
- package/dist/chunk-2ORA62OF.js +266 -0
- package/dist/chunk-2ORA62OF.js.map +1 -0
- package/dist/chunk-4EZVCGRL.js +803 -0
- package/dist/chunk-4EZVCGRL.js.map +1 -0
- package/dist/chunk-54Q3RNJU.cjs +516 -0
- package/dist/chunk-54Q3RNJU.cjs.map +1 -0
- package/dist/chunk-5B4PXAKI.cjs +287 -0
- package/dist/chunk-5B4PXAKI.cjs.map +1 -0
- package/dist/chunk-6HIPFEID.cjs +574 -0
- package/dist/chunk-6HIPFEID.cjs.map +1 -0
- package/dist/{chunk-FZ2S6VAZ.js → chunk-6P6AEQJB.js} +413 -1132
- package/dist/chunk-6P6AEQJB.js.map +1 -0
- package/dist/chunk-76JDDMSP.js +31 -0
- package/dist/chunk-76JDDMSP.js.map +1 -0
- package/dist/chunk-7F6CBP3Z.js +12 -0
- package/dist/chunk-7F6CBP3Z.js.map +1 -0
- package/dist/chunk-7G2LJMUG.cjs +45 -0
- package/dist/chunk-7G2LJMUG.cjs.map +1 -0
- package/dist/chunk-7PEELPMA.js +1799 -0
- package/dist/chunk-7PEELPMA.js.map +1 -0
- package/dist/chunk-A2YAC22G.js +93 -0
- package/dist/chunk-A2YAC22G.js.map +1 -0
- package/dist/chunk-ADOKTJHV.cjs +262 -0
- package/dist/chunk-ADOKTJHV.cjs.map +1 -0
- package/dist/chunk-AE5FHFZ5.cjs +272 -0
- package/dist/chunk-AE5FHFZ5.cjs.map +1 -0
- package/dist/chunk-AXIZ2MDV.js +751 -0
- package/dist/chunk-AXIZ2MDV.js.map +1 -0
- package/dist/chunk-AZQDNYH4.js +2865 -0
- package/dist/chunk-AZQDNYH4.js.map +1 -0
- package/dist/chunk-C54XEN5T.cjs +34 -0
- package/dist/chunk-C54XEN5T.cjs.map +1 -0
- package/dist/chunk-CQCC7LE7.js +210 -0
- package/dist/chunk-CQCC7LE7.js.map +1 -0
- package/dist/chunk-CRIKTUEU.cjs +47 -0
- package/dist/chunk-CRIKTUEU.cjs.map +1 -0
- package/dist/chunk-CTZ5745I.js +564 -0
- package/dist/chunk-CTZ5745I.js.map +1 -0
- package/dist/chunk-DPLRHEJZ.js +78 -0
- package/dist/chunk-DPLRHEJZ.js.map +1 -0
- package/dist/{chunk-DBAUZD7A.cjs → chunk-DREI7EQ2.cjs} +437 -1152
- package/dist/chunk-DREI7EQ2.cjs.map +1 -0
- package/dist/chunk-ELR74ME6.cjs +68 -0
- package/dist/chunk-ELR74ME6.cjs.map +1 -0
- package/dist/chunk-G3G7LZPM.cjs +205 -0
- package/dist/chunk-G3G7LZPM.cjs.map +1 -0
- package/dist/chunk-GDFWJ73C.cjs +2973 -0
- package/dist/chunk-GDFWJ73C.cjs.map +1 -0
- package/dist/chunk-ITGHMJOM.js +5528 -0
- package/dist/chunk-ITGHMJOM.js.map +1 -0
- package/dist/chunk-J2BGSWXM.cjs +990 -0
- package/dist/chunk-J2BGSWXM.cjs.map +1 -0
- package/dist/chunk-K4BGOPGG.js +79 -0
- package/dist/chunk-K4BGOPGG.js.map +1 -0
- package/dist/chunk-LGBAZD37.js +341 -0
- package/dist/chunk-LGBAZD37.js.map +1 -0
- package/dist/chunk-LRUCMZK6.cjs +680 -0
- package/dist/chunk-LRUCMZK6.cjs.map +1 -0
- package/dist/chunk-MHVNT4J3.cjs +15 -0
- package/dist/chunk-MHVNT4J3.cjs.map +1 -0
- package/dist/chunk-NBV56SGU.js +42 -0
- package/dist/chunk-NBV56SGU.js.map +1 -0
- package/dist/chunk-NPLYHR2E.js +13 -0
- package/dist/chunk-NPLYHR2E.js.map +1 -0
- package/dist/chunk-NUNKSZKU.js +203 -0
- package/dist/chunk-NUNKSZKU.js.map +1 -0
- package/dist/chunk-OB5F4577.cjs +40 -0
- package/dist/chunk-OB5F4577.cjs.map +1 -0
- package/dist/chunk-OBLSURHV.js +973 -0
- package/dist/chunk-OBLSURHV.js.map +1 -0
- package/dist/chunk-OUW6G4O2.cjs +96 -0
- package/dist/chunk-OUW6G4O2.cjs.map +1 -0
- package/dist/chunk-OVEQERPO.js +66 -0
- package/dist/chunk-OVEQERPO.js.map +1 -0
- package/dist/chunk-P6GHJSLR.js +34 -0
- package/dist/chunk-P6GHJSLR.js.map +1 -0
- package/dist/chunk-PCB2BPN3.cjs +41 -0
- package/dist/chunk-PCB2BPN3.cjs.map +1 -0
- package/dist/chunk-PPCATBOY.cjs +15 -0
- package/dist/chunk-PPCATBOY.cjs.map +1 -0
- package/dist/chunk-QN42OA5J.js +887 -0
- package/dist/chunk-QN42OA5J.js.map +1 -0
- package/dist/chunk-QXEJXIP4.js +675 -0
- package/dist/chunk-QXEJXIP4.js.map +1 -0
- package/dist/chunk-RC6VTY2H.js +47 -0
- package/dist/chunk-RC6VTY2H.js.map +1 -0
- package/dist/chunk-RFIBUWLF.cjs +232 -0
- package/dist/chunk-RFIBUWLF.cjs.map +1 -0
- package/dist/chunk-S7PSMMRG.js +38 -0
- package/dist/chunk-S7PSMMRG.js.map +1 -0
- package/dist/chunk-SCFYPAG6.cjs +18 -0
- package/dist/chunk-SCFYPAG6.cjs.map +1 -0
- package/dist/chunk-SYDHKKRZ.cjs +818 -0
- package/dist/chunk-SYDHKKRZ.cjs.map +1 -0
- package/dist/chunk-TX2ZICS7.js +139 -0
- package/dist/chunk-TX2ZICS7.js.map +1 -0
- package/dist/chunk-TYZUCAT7.js +787 -0
- package/dist/chunk-TYZUCAT7.js.map +1 -0
- package/dist/chunk-U2E3WT3J.js +45 -0
- package/dist/chunk-U2E3WT3J.js.map +1 -0
- package/dist/chunk-UBNVIIBT.js +284 -0
- package/dist/chunk-UBNVIIBT.js.map +1 -0
- package/dist/chunk-UFHMLHIR.cjs +66 -0
- package/dist/chunk-UFHMLHIR.cjs.map +1 -0
- package/dist/chunk-UJE32SST.js +39 -0
- package/dist/chunk-UJE32SST.js.map +1 -0
- package/dist/chunk-ULWRNGGE.cjs +146 -0
- package/dist/chunk-ULWRNGGE.cjs.map +1 -0
- package/dist/chunk-UWGIB3VQ.js +64 -0
- package/dist/chunk-UWGIB3VQ.js.map +1 -0
- package/dist/chunk-V4ISCZJ7.cjs +207 -0
- package/dist/chunk-V4ISCZJ7.cjs.map +1 -0
- package/dist/chunk-VFUWWH52.cjs +83 -0
- package/dist/chunk-VFUWWH52.cjs.map +1 -0
- package/dist/chunk-VILAPTCB.js +259 -0
- package/dist/chunk-VILAPTCB.js.map +1 -0
- package/dist/chunk-VLCY46K6.cjs +82 -0
- package/dist/chunk-VLCY46K6.cjs.map +1 -0
- package/dist/chunk-VPPX5XUF.cjs +813 -0
- package/dist/chunk-VPPX5XUF.cjs.map +1 -0
- package/dist/chunk-WJMEXTVD.cjs +122 -0
- package/dist/chunk-WJMEXTVD.cjs.map +1 -0
- package/dist/chunk-WTNMWEBC.js +504 -0
- package/dist/chunk-WTNMWEBC.js.map +1 -0
- package/dist/chunk-WW6EOVZA.js +112 -0
- package/dist/chunk-WW6EOVZA.js.map +1 -0
- package/dist/chunk-XNBAXRY7.cjs +5673 -0
- package/dist/chunk-XNBAXRY7.cjs.map +1 -0
- package/dist/chunk-XQ7PKKDY.cjs +787 -0
- package/dist/chunk-XQ7PKKDY.cjs.map +1 -0
- package/dist/chunk-XZIYRKLW.cjs +347 -0
- package/dist/chunk-XZIYRKLW.cjs.map +1 -0
- package/dist/chunk-YBXCZEWS.js +187 -0
- package/dist/chunk-YBXCZEWS.js.map +1 -0
- package/dist/chunk-YDHO4AVL.js +16 -0
- package/dist/chunk-YDHO4AVL.js.map +1 -0
- package/dist/chunk-ZORQ5M3W.cjs +934 -0
- package/dist/chunk-ZORQ5M3W.cjs.map +1 -0
- package/dist/chunk-ZW6FPIFC.cjs +36 -0
- package/dist/chunk-ZW6FPIFC.cjs.map +1 -0
- package/dist/citations/CitationEditor.d.ts +58 -0
- package/dist/citations/PassagePill.d.ts +49 -0
- package/dist/citations/QuietMarks.d.ts +81 -0
- package/dist/citations/index.cjs +47 -0
- package/dist/citations/index.cjs.map +1 -0
- package/dist/citations/index.d.ts +3 -0
- package/dist/citations/index.js +6 -0
- package/dist/citations/index.js.map +1 -0
- package/dist/collaboration/contacts/AddContactsParts.d.ts +46 -0
- package/dist/collaboration/contacts/index.d.ts +1 -0
- package/dist/collaboration/direct-messages/DirectMessages.d.ts +33 -0
- package/dist/collaboration/direct-messages/DmParts.d.ts +139 -0
- package/dist/collaboration/direct-messages/index.d.ts +2 -0
- package/dist/collaboration/index.cjs +141 -0
- package/dist/collaboration/index.cjs.map +1 -0
- package/dist/collaboration/index.d.ts +5 -0
- package/dist/collaboration/index.js +8 -0
- package/dist/collaboration/index.js.map +1 -0
- package/dist/collaboration/mail/MailFolderTree.d.ts +34 -0
- package/dist/collaboration/mail/index.d.ts +2 -0
- package/dist/collaboration/mail/mailFolders.d.ts +25 -0
- package/dist/collaboration/members/WorkspaceMembers.d.ts +74 -0
- package/dist/collaboration/members/index.d.ts +1 -0
- package/dist/collaboration/sharing/ShareControl.d.ts +38 -0
- package/dist/collaboration/sharing/index.d.ts +1 -0
- package/dist/components/Accordion.d.ts +12 -0
- package/dist/components/ActionLink.d.ts +18 -0
- package/dist/components/AskBar.d.ts +48 -0
- package/dist/components/AvatarBlock.d.ts +9 -0
- package/dist/components/Banner.d.ts +12 -0
- package/dist/components/BlockImage.d.ts +18 -0
- package/dist/components/CTABanner.d.ts +17 -0
- package/dist/components/Callout.d.ts +9 -0
- package/dist/components/Chart.d.ts +35 -0
- package/dist/components/CollectionDetail.d.ts +23 -0
- package/dist/components/Columns.d.ts +11 -0
- package/dist/components/ContactForm.d.ts +54 -0
- package/dist/components/Container.d.ts +11 -0
- package/dist/components/DataTable.d.ts +47 -0
- package/dist/components/DataTableBlock.d.ts +26 -0
- package/dist/components/EmptyState.d.ts +11 -0
- package/dist/components/EntityChip.d.ts +24 -0
- package/dist/components/EntityIdentityBar.d.ts +90 -0
- package/dist/components/EntityTooltip.d.ts +43 -0
- package/dist/components/FAQ.d.ts +14 -0
- package/dist/components/FeatureGrid.d.ts +18 -0
- package/dist/components/Footer.d.ts +25 -0
- package/dist/components/Gallery.d.ts +15 -0
- package/dist/components/Hero.d.ts +35 -0
- package/dist/components/ListBlock.d.ts +10 -0
- package/dist/components/LogoCloud.d.ts +12 -0
- package/dist/components/MediaText.d.ts +15 -0
- package/dist/components/MemberAvatarStack.d.ts +36 -0
- package/dist/components/MetricCard.d.ts +28 -0
- package/dist/components/Navbar.d.ts +39 -0
- package/dist/components/PageHeader.d.ts +15 -0
- package/dist/components/PricingTable.d.ts +19 -0
- package/dist/components/RichTextBlock.d.ts +10 -0
- package/dist/components/SectionHeading.d.ts +11 -0
- package/dist/components/Spacer.d.ts +7 -0
- package/dist/components/StatGroup.d.ts +12 -0
- package/dist/components/Steps.d.ts +12 -0
- package/dist/components/Tabs.d.ts +15 -0
- package/dist/components/TeamGrid.d.ts +30 -0
- package/dist/components/Testimonial.d.ts +9 -0
- package/dist/components/TestimonialGrid.d.ts +13 -0
- package/dist/components/ToneBadge.d.ts +18 -0
- package/dist/components/Toolbar.d.ts +11 -0
- package/dist/components/UsageMeter.d.ts +21 -0
- package/dist/components/VideoEmbed.d.ts +16 -0
- package/dist/components/assetImage.d.ts +16 -0
- package/dist/components/assetResolver.d.ts +57 -0
- package/dist/components/blockLink.d.ts +26 -0
- package/dist/components/editorial/ArticleList.d.ts +32 -0
- package/dist/components/editorial/Bands.d.ts +29 -0
- package/dist/components/editorial/EditorialHeading.d.ts +17 -0
- package/dist/components/editorial/EditorialHero.d.ts +46 -0
- package/dist/components/editorial/EditorialSection.d.ts +47 -0
- package/dist/components/editorial/Eyebrow.d.ts +14 -0
- package/dist/components/editorial/PanelGrid.d.ts +45 -0
- package/dist/components/editorial/ProfileCard.d.ts +27 -0
- package/dist/components/editorial/PullQuote.d.ts +17 -0
- package/dist/components/editorial/Reveal.d.ts +15 -0
- package/dist/components/editorial/index.d.ts +12 -0
- package/dist/components/editorial/lists.d.ts +42 -0
- package/dist/components/editorial/tone.d.ts +33 -0
- package/dist/components/tones.d.ts +14 -0
- package/dist/connect/index.cjs +65 -0
- package/dist/connect/index.cjs.map +1 -0
- package/dist/connect/index.d.ts +8 -0
- package/dist/connect/index.js +28 -0
- package/dist/connect/index.js.map +1 -0
- package/dist/connection/ArbiAppProvider.d.ts +16 -0
- package/dist/connection/ConnectionProvider.d.ts +50 -0
- package/dist/connection/ai.d.ts +99 -0
- package/dist/connection/types.d.ts +54 -0
- package/dist/connection/useImageGen.d.ts +22 -0
- package/dist/facts/FactComposer.d.ts +75 -0
- package/dist/facts/FactDateInput.d.ts +34 -0
- package/dist/facts/FactLabelsCell.d.ts +35 -0
- package/dist/facts/FactPassages.d.ts +52 -0
- package/dist/facts/FactRowActions.d.ts +18 -0
- package/dist/facts/FactSearchParts.d.ts +80 -0
- package/dist/facts/FactSourceGroup.d.ts +26 -0
- package/dist/facts/FactTimelineViews.d.ts +37 -0
- package/dist/facts/FactsBulkBar.d.ts +53 -0
- package/dist/facts/FactsEmptyState.d.ts +38 -0
- package/dist/facts/FactsFieldsButton.d.ts +21 -0
- package/dist/facts/FactsFilterInput.d.ts +46 -0
- package/dist/facts/FactsTable.d.ts +28 -0
- package/dist/facts/FactsToolbar.d.ts +53 -0
- package/dist/facts/FactsViewToggle.d.ts +38 -0
- package/dist/facts/fact-date.d.ts +22 -0
- package/dist/facts/fact-row.d.ts +32 -0
- package/dist/facts/fact-text.d.ts +14 -0
- package/dist/facts/factColumns.d.ts +88 -0
- package/dist/facts/index.cjs +2401 -0
- package/dist/facts/index.cjs.map +1 -0
- package/dist/facts/index.d.ts +35 -0
- package/dist/facts/index.js +2343 -0
- package/dist/facts/index.js.map +1 -0
- package/dist/facts/timezone.d.ts +4 -0
- package/dist/files/AiReviewDialog.d.ts +77 -0
- package/dist/files/DocStatusIcon.d.ts +12 -0
- package/dist/files/DocumentGrid.d.ts +27 -0
- package/dist/files/Explorer.d.ts +10 -0
- package/dist/files/ExplorerSurface.d.ts +34 -0
- package/dist/files/ExplorerTile.d.ts +142 -0
- package/dist/files/ExportParts.d.ts +114 -0
- package/dist/files/FieldParts.d.ts +64 -0
- package/dist/files/FilesPage.d.ts +20 -0
- package/dist/files/FilesToolbar.d.ts +59 -0
- package/dist/files/FolderPicker.d.ts +82 -0
- package/dist/files/GridView.d.ts +59 -0
- package/dist/files/HtmlViewerParts.d.ts +183 -0
- package/dist/files/MoveToFolderDialog.d.ts +32 -0
- package/dist/files/RedlineParts.d.ts +72 -0
- package/dist/files/SelectionBar.d.ts +65 -0
- package/dist/files/StatusPill.d.ts +23 -0
- package/dist/files/TagPassagePanel.d.ts +60 -0
- package/dist/files/UploadDropzone.d.ts +33 -0
- package/dist/files/UploadFooter.d.ts +59 -0
- package/dist/files/UploadParts.d.ts +78 -0
- package/dist/files/UploadSources.d.ts +77 -0
- package/dist/files/VersionTimeline.d.ts +60 -0
- package/dist/files/ViewToggle.d.ts +53 -0
- package/dist/files/ViewerChrome.d.ts +152 -0
- package/dist/files/ViewerLayout.d.ts +32 -0
- package/dist/files/ViewerParts.d.ts +62 -0
- package/dist/files/bulk/BulkActionsBar.d.ts +76 -0
- package/dist/files/bulk/FolderFilterButton.d.ts +35 -0
- package/dist/files/bulk/index.d.ts +2 -0
- package/dist/files/cells/DocumentNameCell.d.ts +31 -0
- package/dist/files/cells/FolderCell.d.ts +25 -0
- package/dist/files/cells/HoverIconCell.d.ts +21 -0
- package/dist/files/cells/LabelMultiSelect.d.ts +50 -0
- package/dist/files/cells/RelatedDocsCell.d.ts +22 -0
- package/dist/files/cells/TagColumnParts.d.ts +29 -0
- package/dist/files/cells/index.d.ts +6 -0
- package/dist/files/documentGridLayout.d.ts +31 -0
- package/dist/files/grid-test-ids.d.ts +18 -0
- package/dist/files/import/CalendarImportRow.d.ts +26 -0
- package/dist/files/import/ImportParts.d.ts +114 -0
- package/dist/files/import/TaskSection.d.ts +51 -0
- package/dist/files/import/UrlInputDialogView.d.ts +63 -0
- package/dist/files/import/VendorLogo.d.ts +15 -0
- package/dist/files/import/index.d.ts +5 -0
- package/dist/files/index.cjs +7555 -0
- package/dist/files/index.cjs.map +1 -0
- package/dist/files/index.d.ts +34 -0
- package/dist/files/index.js +7340 -0
- package/dist/files/index.js.map +1 -0
- package/dist/files/page/FilesAddMenu.d.ts +30 -0
- package/dist/files/page/FilesPageParts.d.ts +24 -0
- package/dist/files/page/FilesPageTitle.d.ts +24 -0
- package/dist/files/page/index.d.ts +3 -0
- package/dist/files/tags/BulkTagEditor.d.ts +136 -0
- package/dist/files/tags/DocTagPopover.d.ts +113 -0
- package/dist/files/tags/TagManager.d.ts +54 -0
- package/dist/files/tags/index.d.ts +3 -0
- package/dist/files/views/FieldsEditorParts.d.ts +151 -0
- package/dist/files/views/FieldsManagerParts.d.ts +17 -0
- package/dist/files/views/TagFormParts.d.ts +109 -0
- package/dist/files/views/ViewSelectorMenu.d.ts +66 -0
- package/dist/files/views/fieldsEditorModel.d.ts +43 -0
- package/dist/files/views/index.d.ts +5 -0
- package/dist/home/ActionMenuDialog.d.ts +26 -0
- package/dist/home/AddFilesFirst.d.ts +22 -0
- package/dist/home/CardHeaderBar.d.ts +40 -0
- package/dist/home/CollapsibleSection.d.ts +43 -0
- package/dist/home/CreateTile.d.ts +17 -0
- package/dist/home/DashboardParts.d.ts +32 -0
- package/dist/home/FactsStrip.d.ts +41 -0
- package/dist/home/FoldSection.d.ts +19 -0
- package/dist/home/GettingStartedStrip.d.ts +49 -0
- package/dist/home/Greeting.d.ts +18 -0
- package/dist/home/HomeLayout.d.ts +28 -0
- package/dist/home/KeyValueRow.d.ts +43 -0
- package/dist/home/ProjectBandParts.d.ts +70 -0
- package/dist/home/QuickActionDialogHeader.d.ts +21 -0
- package/dist/home/RecentList.d.ts +48 -0
- package/dist/home/ScopePicker.d.ts +65 -0
- package/dist/home/StartTiles.d.ts +33 -0
- package/dist/home/index.cjs +854 -0
- package/dist/home/index.cjs.map +1 -0
- package/dist/home/index.d.ts +37 -0
- package/dist/home/index.js +763 -0
- package/dist/home/index.js.map +1 -0
- package/dist/home/sections.d.ts +33 -0
- package/dist/index.cjs +1992 -5547
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +72 -1716
- package/dist/index.js +142 -5316
- package/dist/index.js.map +1 -1
- package/dist/lib/balanced-columns.d.ts +8 -0
- package/dist/lib/format.d.ts +37 -0
- package/dist/lib/observe-resize.d.ts +6 -0
- package/dist/lib/password-strength.d.ts +24 -0
- package/dist/lib/sidebar-mode.d.ts +46 -0
- package/dist/lib/testid.d.ts +7 -0
- package/dist/lib/use-drawer.d.ts +11 -0
- package/dist/lib/useControllableState.d.ts +5 -0
- package/dist/lib/useDismissibleCard.d.ts +15 -0
- package/dist/lib/useListKeyNav.d.ts +42 -0
- package/dist/lib/useLongPaste.d.ts +15 -0
- package/dist/lib/useRestoreFocus.d.ts +11 -0
- package/dist/lib/useScopeSelection.d.ts +34 -0
- package/dist/nav/types.d.ts +19 -0
- package/dist/provider/BlocksProvider.d.ts +20 -0
- package/dist/provider/TooltipScope.d.ts +9 -0
- package/dist/record/index.cjs +2 -4
- package/dist/record/index.cjs.map +1 -1
- package/dist/record/index.d.ts +12 -16
- package/dist/record/index.js +2 -4
- package/dist/record/index.js.map +1 -1
- package/dist/retrieval/HighlightText.d.ts +21 -0
- package/dist/retrieval/SearchEmptyState.d.ts +39 -0
- package/dist/retrieval/SearchGroupHeader.d.ts +21 -0
- package/dist/retrieval/SearchHit.d.ts +36 -0
- package/dist/retrieval/SearchPage.d.ts +187 -0
- package/dist/retrieval/SearchPagination.d.ts +21 -0
- package/dist/retrieval/highlight.d.ts +21 -0
- package/dist/retrieval/index.cjs +160 -0
- package/dist/retrieval/index.cjs.map +1 -0
- package/dist/retrieval/index.d.ts +7 -0
- package/dist/retrieval/index.js +7 -0
- package/dist/retrieval/index.js.map +1 -0
- package/dist/settings/AccountDialogs.d.ts +89 -0
- package/dist/settings/AvatarPicker.d.ts +25 -0
- package/dist/settings/Billing.d.ts +113 -0
- package/dist/settings/ConfigSwitcherBar.d.ts +46 -0
- package/dist/settings/ConfirmDialog.d.ts +28 -0
- package/dist/settings/ConnectionCard.d.ts +58 -0
- package/dist/settings/ConversationSettingsParts.d.ts +53 -0
- package/dist/settings/DocumentPicker.d.ts +57 -0
- package/dist/settings/EmailWorkspaceDialogView.d.ts +60 -0
- package/dist/settings/ErrorDialog.d.ts +36 -0
- package/dist/settings/FloatingPanel.d.ts +32 -0
- package/dist/settings/JsonTree.d.ts +24 -0
- package/dist/settings/LogoutDialog.d.ts +51 -0
- package/dist/settings/ModalBreadcrumbHeader.d.ts +32 -0
- package/dist/settings/ModalScaffold.d.ts +60 -0
- package/dist/settings/MultiSelect.d.ts +111 -0
- package/dist/settings/NotificationCategoryList.d.ts +26 -0
- package/dist/settings/PanelFrame.d.ts +47 -0
- package/dist/settings/PasswordChangeDialog.d.ts +64 -0
- package/dist/settings/PlanBadge.d.ts +14 -0
- package/dist/settings/PlanCard.d.ts +97 -0
- package/dist/settings/PremiumModelsFrame.d.ts +17 -0
- package/dist/settings/ProfileCard.d.ts +67 -0
- package/dist/settings/Projects.d.ts +108 -0
- package/dist/settings/QuotaMeter.d.ts +31 -0
- package/dist/settings/ReferralCredit.d.ts +46 -0
- package/dist/settings/SegmentedControl.d.ts +20 -0
- package/dist/settings/ServerConnectionControls.d.ts +31 -0
- package/dist/settings/SettingsPanel.d.ts +61 -0
- package/dist/settings/SettingsSwitchRow.d.ts +21 -0
- package/dist/settings/SubscriptionParts.d.ts +215 -0
- package/dist/settings/SupportPanel.d.ts +32 -0
- package/dist/settings/SyncDialogParts.d.ts +155 -0
- package/dist/settings/ThreadPreviewDialog.d.ts +18 -0
- package/dist/settings/TipsEditorDialog.d.ts +94 -0
- package/dist/settings/TriStateFilterMenu.d.ts +66 -0
- package/dist/settings/Usage.d.ts +102 -0
- package/dist/settings/WelcomeDialog.d.ts +79 -0
- package/dist/settings/index.cjs +5131 -0
- package/dist/settings/index.cjs.map +1 -0
- package/dist/settings/index.d.ts +38 -0
- package/dist/settings/index.js +4922 -0
- package/dist/settings/index.js.map +1 -0
- package/dist/shell/ActionCluster.d.ts +33 -0
- package/dist/shell/AskField.d.ts +76 -0
- package/dist/shell/InfoBar.d.ts +20 -0
- package/dist/shell/MobileBars.d.ts +47 -0
- package/dist/shell/OfflinePill.d.ts +28 -0
- package/dist/shell/RemoteControlPill.d.ts +23 -0
- package/dist/shell/Shell.d.ts +123 -0
- package/dist/shell/Sidebar.d.ts +104 -0
- package/dist/shell/SidebarBadgeRow.d.ts +29 -0
- package/dist/shell/SidebarRowAction.d.ts +24 -0
- package/dist/shell/StatusRow.d.ts +20 -0
- package/dist/shell/TabHeader.d.ts +70 -0
- package/dist/shell/TipCard.d.ts +46 -0
- package/dist/shell/ToolButton.d.ts +12 -0
- package/dist/shell/Workspace.d.ts +90 -0
- package/dist/shell/index.cjs +187 -0
- package/dist/shell/index.cjs.map +1 -0
- package/dist/shell/index.d.ts +20 -0
- package/dist/shell/index.js +10 -0
- package/dist/shell/index.js.map +1 -0
- package/dist/shell/sidebar-context.d.ts +19 -0
- package/dist/shell/types.d.ts +48 -0
- package/dist/site/index.cjs +173 -90
- package/dist/site/index.d.ts +60 -4
- package/dist/site/index.js +8 -1
- package/dist/studio/PageRenderer.d.ts +35 -0
- package/dist/studio/Section.d.ts +24 -0
- package/dist/studio/StudioEditor.d.ts +32 -0
- package/dist/studio/aiFields.d.ts +17 -0
- package/dist/studio/blockKit.d.ts +36 -0
- package/dist/studio/blocksConfig.d.ts +42 -0
- package/dist/studio/imageFields.d.ts +14 -0
- package/dist/studio/index.cjs +3353 -0
- package/dist/studio/index.cjs.map +1 -0
- package/dist/studio/index.d.ts +32 -0
- package/dist/studio/index.js +3297 -0
- package/dist/studio/index.js.map +1 -0
- package/dist/studio/liveData.d.ts +4 -0
- package/dist/studio/liveWidgetRuntime.d.ts +41 -0
- package/dist/studio/persistence.d.ts +38 -0
- package/dist/studio/publish.d.ts +39 -0
- package/dist/studio/siteBlocks.d.ts +14 -0
- package/dist/studio/types.d.ts +46 -0
- package/dist/studio/websiteBlocks.d.ts +4 -0
- package/dist/studio/widgets.d.ts +20 -0
- package/dist/theme/ThemeEditor.d.ts +16 -0
- package/dist/theme/fontPairings.d.ts +48 -0
- package/dist/theme/store.d.ts +53 -0
- package/dist/theme/tokens.d.ts +105 -0
- package/dist/timeline/Timeline.d.ts +27 -0
- package/dist/timeline/TimelineCalendar.d.ts +54 -0
- package/dist/timeline/TimelineGantt.d.ts +71 -0
- package/dist/timeline/TimelineZoomControl.d.ts +17 -0
- package/dist/timeline/index.cjs +50 -0
- package/dist/timeline/index.cjs.map +1 -0
- package/dist/timeline/index.d.ts +13 -0
- package/dist/timeline/index.js +5 -0
- package/dist/timeline/index.js.map +1 -0
- package/dist/timeline/span.d.ts +29 -0
- package/dist/timeline/types.d.ts +30 -0
- package/dist/workspaces/WorkspaceBadges.d.ts +27 -0
- package/dist/workspaces/WorkspaceCard.d.ts +142 -0
- package/dist/workspaces/WorkspaceFormParts.d.ts +98 -0
- package/dist/workspaces/WorkspaceGroup.d.ts +31 -0
- package/dist/workspaces/WorkspaceSettingsParts.d.ts +70 -0
- package/dist/workspaces/index.cjs +690 -0
- package/dist/workspaces/index.cjs.map +1 -0
- package/dist/workspaces/index.d.ts +9 -0
- package/dist/workspaces/index.js +661 -0
- package/dist/workspaces/index.js.map +1 -0
- package/package.json +154 -9
- package/src/blocks.css +365 -0
- package/src/components/grid.css +60 -107
- package/src/source.css +20 -0
- package/src/studio/studio.css +3 -3
- package/src/tokens.css +226 -0
- package/dist/chunk-DBAUZD7A.cjs.map +0 -1
- package/dist/chunk-FZ2S6VAZ.js.map +0 -1
- package/dist/index-DduoEosi.d.cts +0 -846
- package/dist/index-DduoEosi.d.ts +0 -846
- package/dist/index.d.cts +0 -1717
- package/dist/record/index.d.cts +0 -96
- package/dist/site/index.d.cts +0 -4
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
/** Every fixed string of the sync dialog footer. */
|
|
3
|
+
export interface SyncDialogFooterLabels {
|
|
4
|
+
cancel: string;
|
|
5
|
+
save: string;
|
|
6
|
+
}
|
|
7
|
+
export declare const DEFAULT_SYNC_DIALOG_FOOTER_LABELS: SyncDialogFooterLabels;
|
|
8
|
+
export interface SyncDialogFooterProps {
|
|
9
|
+
onCancel: () => void;
|
|
10
|
+
onSave: () => void;
|
|
11
|
+
saveDisabled?: boolean;
|
|
12
|
+
isSaving?: boolean;
|
|
13
|
+
cancelButton?: {
|
|
14
|
+
testId?: string;
|
|
15
|
+
};
|
|
16
|
+
saveButton?: {
|
|
17
|
+
testId?: string;
|
|
18
|
+
};
|
|
19
|
+
labels?: Partial<SyncDialogFooterLabels>;
|
|
20
|
+
}
|
|
21
|
+
/** Cancel / Save pair of a connector sync dialog; Save shows a spinner while saving. */
|
|
22
|
+
export declare function SyncDialogFooter({ onCancel, onSave, saveDisabled, isSaving, cancelButton, saveButton, labels, }: SyncDialogFooterProps): import("react").JSX.Element;
|
|
23
|
+
/** Body of a sync dialog: the fields, spaced. */
|
|
24
|
+
export declare function SyncDialogBody({ children }: {
|
|
25
|
+
children: ReactNode;
|
|
26
|
+
}): import("react").JSX.Element;
|
|
27
|
+
export interface SyncFieldProps {
|
|
28
|
+
label?: ReactNode;
|
|
29
|
+
htmlFor?: string;
|
|
30
|
+
/** Right-aligned controls on the label row (e.g. expand all / collapse all). */
|
|
31
|
+
actions?: ReactNode;
|
|
32
|
+
/** Muted explanation under the control. */
|
|
33
|
+
hint?: ReactNode;
|
|
34
|
+
children: ReactNode;
|
|
35
|
+
}
|
|
36
|
+
/** A labelled field of a sync dialog. */
|
|
37
|
+
export declare function SyncField({ label, htmlFor, actions, hint, children }: SyncFieldProps): import("react").JSX.Element;
|
|
38
|
+
/** Small link-styled button (expand all, select all ...). */
|
|
39
|
+
export declare function SyncLinkButton({ onClick, testId, children, }: {
|
|
40
|
+
onClick: () => void;
|
|
41
|
+
testId?: string;
|
|
42
|
+
children: ReactNode;
|
|
43
|
+
}): import("react").JSX.Element;
|
|
44
|
+
/** Row of {@link SyncLinkButton}s. */
|
|
45
|
+
export declare function SyncLinkRow({ children }: {
|
|
46
|
+
children: ReactNode;
|
|
47
|
+
}): import("react").JSX.Element;
|
|
48
|
+
export interface SyncSelectOption {
|
|
49
|
+
value: string;
|
|
50
|
+
label: ReactNode;
|
|
51
|
+
}
|
|
52
|
+
export interface SyncSelectProps {
|
|
53
|
+
id?: string;
|
|
54
|
+
testId?: string;
|
|
55
|
+
value: string;
|
|
56
|
+
onValueChange: (value: string) => void;
|
|
57
|
+
options: SyncSelectOption[];
|
|
58
|
+
placeholder?: string;
|
|
59
|
+
}
|
|
60
|
+
/** Select of a sync dialog (workspace, backfill window ...). */
|
|
61
|
+
export declare function SyncSelect({ id, testId, value, onValueChange, options, placeholder, }: SyncSelectProps): import("react").JSX.Element;
|
|
62
|
+
export interface SyncOptionToggleProps {
|
|
63
|
+
checked: boolean;
|
|
64
|
+
onCheckedChange: (checked: boolean) => void;
|
|
65
|
+
title: ReactNode;
|
|
66
|
+
description?: ReactNode;
|
|
67
|
+
testId?: string;
|
|
68
|
+
}
|
|
69
|
+
/** A checkbox option with a title and a muted explanation. */
|
|
70
|
+
export declare function SyncOptionToggle({ checked, onCheckedChange, title, description, testId, }: SyncOptionToggleProps): import("react").JSX.Element;
|
|
71
|
+
/** The import options of a dialog, spaced. */
|
|
72
|
+
export declare function SyncOptions({ children }: {
|
|
73
|
+
children: ReactNode;
|
|
74
|
+
}): import("react").JSX.Element;
|
|
75
|
+
/** Inline spinner + message while a list loads. */
|
|
76
|
+
export declare function SyncLoading({ children, compact }: {
|
|
77
|
+
children: ReactNode;
|
|
78
|
+
compact?: boolean;
|
|
79
|
+
}): import("react").JSX.Element;
|
|
80
|
+
/** Muted one-liner (nothing found ...). */
|
|
81
|
+
export declare function SyncNote({ children, testId }: {
|
|
82
|
+
children: ReactNode;
|
|
83
|
+
testId?: string;
|
|
84
|
+
}): import("react").JSX.Element;
|
|
85
|
+
/** Muted small paragraph (the reconnect hint of calendars). */
|
|
86
|
+
export declare function SyncSmallNote({ children, testId }: {
|
|
87
|
+
children: ReactNode;
|
|
88
|
+
testId?: string;
|
|
89
|
+
}): import("react").JSX.Element;
|
|
90
|
+
export interface SyncReconnectNoticeProps {
|
|
91
|
+
message: ReactNode;
|
|
92
|
+
onReconnect: () => void;
|
|
93
|
+
isPending?: boolean;
|
|
94
|
+
testId?: string;
|
|
95
|
+
label?: string;
|
|
96
|
+
}
|
|
97
|
+
/** A load failure the user fixes by re-authorizing the account. */
|
|
98
|
+
export declare function SyncReconnectNotice({ message, onReconnect, isPending, testId, label, }: SyncReconnectNoticeProps): import("react").JSX.Element;
|
|
99
|
+
/** Scrolling frame of a folder tree. */
|
|
100
|
+
export declare function SyncTreeFrame({ children }: {
|
|
101
|
+
children: ReactNode;
|
|
102
|
+
}): import("react").JSX.Element;
|
|
103
|
+
export interface SyncCheckListItem {
|
|
104
|
+
id: string;
|
|
105
|
+
label: string;
|
|
106
|
+
testId?: string;
|
|
107
|
+
}
|
|
108
|
+
export interface SyncCheckListProps {
|
|
109
|
+
items: SyncCheckListItem[];
|
|
110
|
+
selected: string[];
|
|
111
|
+
onToggle: (id: string) => void;
|
|
112
|
+
}
|
|
113
|
+
/** Flat, scrolling list of checkable items (a calendar has no folder tree). */
|
|
114
|
+
export declare function SyncCheckList({ items, selected, onToggle }: SyncCheckListProps): import("react").JSX.Element;
|
|
115
|
+
/** Every fixed string of a lazy folder row. */
|
|
116
|
+
export interface SyncFolderRowLabels {
|
|
117
|
+
collapse: string;
|
|
118
|
+
expand: string;
|
|
119
|
+
loading: string;
|
|
120
|
+
noSubfolders: string;
|
|
121
|
+
}
|
|
122
|
+
export declare const DEFAULT_SYNC_FOLDER_ROW_LABELS: SyncFolderRowLabels;
|
|
123
|
+
export interface SyncFolderRowProps {
|
|
124
|
+
id: string;
|
|
125
|
+
name: string;
|
|
126
|
+
depth: number;
|
|
127
|
+
/** Show the expand caret (false when nothing importable is beneath). */
|
|
128
|
+
hasChildren: boolean;
|
|
129
|
+
isExpanded: boolean;
|
|
130
|
+
onToggleExpanded: () => void;
|
|
131
|
+
/** Grouping nodes (SharePoint sites) are shown but cannot be selected. */
|
|
132
|
+
isSelectable: boolean;
|
|
133
|
+
checked: boolean;
|
|
134
|
+
/** An ancestor is selected: this folder is implicitly included. */
|
|
135
|
+
disabled: boolean;
|
|
136
|
+
onCheckedChange: () => void;
|
|
137
|
+
/** Importable files beneath; undefined while unknown. */
|
|
138
|
+
count?: number;
|
|
139
|
+
isCountLoading?: boolean;
|
|
140
|
+
/** Nested rows (the host renders them, lazily). */
|
|
141
|
+
children?: ReactNode;
|
|
142
|
+
labels?: Partial<SyncFolderRowLabels>;
|
|
143
|
+
}
|
|
144
|
+
/**
|
|
145
|
+
* One row of the lazy drive folder tree: caret, selection checkbox, name and file count. The
|
|
146
|
+
* host fetches the children when expanded and renders them as `children` (or a status line).
|
|
147
|
+
*/
|
|
148
|
+
export declare function SyncFolderRow({ id, name, depth, hasChildren, isExpanded, onToggleExpanded, isSelectable, checked, disabled, onCheckedChange, count, isCountLoading, children, labels, }: SyncFolderRowProps): import("react").JSX.Element;
|
|
149
|
+
/** Status line under an expanded folder (loading / no subfolders), indented to its children. */
|
|
150
|
+
export declare function SyncFolderStatus({ depth, kind, labels, }: {
|
|
151
|
+
/** Depth of the folder the status belongs to. */
|
|
152
|
+
depth: number;
|
|
153
|
+
kind: 'loading' | 'empty';
|
|
154
|
+
labels?: Partial<SyncFolderRowLabels>;
|
|
155
|
+
}): import("react").JSX.Element;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
export interface ThreadPreviewCrumb {
|
|
3
|
+
icon?: ReactNode;
|
|
4
|
+
label: string;
|
|
5
|
+
}
|
|
6
|
+
export interface ThreadPreviewDialogProps {
|
|
7
|
+
open: boolean;
|
|
8
|
+
onOpenChange: (open: boolean) => void;
|
|
9
|
+
/** Breadcrumb in the header, e.g. workspace / conversation / "Threads preview". */
|
|
10
|
+
crumbs: ThreadPreviewCrumb[];
|
|
11
|
+
description?: string;
|
|
12
|
+
/** Width in px (the host measures what the visualisation needs); capped at 95vw. */
|
|
13
|
+
width: number;
|
|
14
|
+
testId?: string;
|
|
15
|
+
children: ReactNode;
|
|
16
|
+
}
|
|
17
|
+
/** Large dialog that hosts a visualisation under a breadcrumb header. */
|
|
18
|
+
export declare function ThreadPreviewDialog({ open, onOpenChange, crumbs, description, width, testId, children, }: ThreadPreviewDialogProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
/** Every fixed string of the tips editor. */
|
|
2
|
+
export interface TipsEditorLabels {
|
|
3
|
+
titleList: string;
|
|
4
|
+
titleNew: string;
|
|
5
|
+
titleEdit: string;
|
|
6
|
+
descriptionList: string;
|
|
7
|
+
descriptionNew: string;
|
|
8
|
+
descriptionEdit: string;
|
|
9
|
+
hiddenOff: string;
|
|
10
|
+
customSuffix: string;
|
|
11
|
+
editTip: string;
|
|
12
|
+
deleteTip: string;
|
|
13
|
+
addTip: string;
|
|
14
|
+
testerTitle: string;
|
|
15
|
+
run: string;
|
|
16
|
+
cancel: string;
|
|
17
|
+
newTipIdentity: string;
|
|
18
|
+
customTipIdentity: string;
|
|
19
|
+
builtInTipIdentity: (code: string) => string;
|
|
20
|
+
yourNewTip: string;
|
|
21
|
+
placement: string;
|
|
22
|
+
message: string;
|
|
23
|
+
button: string;
|
|
24
|
+
noButton: string;
|
|
25
|
+
platformAction: string;
|
|
26
|
+
actionSequence: string;
|
|
27
|
+
externalLink: string;
|
|
28
|
+
buttonLabel: string;
|
|
29
|
+
action: string;
|
|
30
|
+
sequence: string;
|
|
31
|
+
url: string;
|
|
32
|
+
back: string;
|
|
33
|
+
save: string;
|
|
34
|
+
saving: string;
|
|
35
|
+
}
|
|
36
|
+
export declare const DEFAULT_TIPS_EDITOR_LABELS: TipsEditorLabels;
|
|
37
|
+
export interface TipOption {
|
|
38
|
+
value: string;
|
|
39
|
+
label: string;
|
|
40
|
+
}
|
|
41
|
+
export interface TipListRow {
|
|
42
|
+
code: string;
|
|
43
|
+
message: string;
|
|
44
|
+
/** Where it shows, already worded ("Home", "All pages"). */
|
|
45
|
+
placementLabel: string;
|
|
46
|
+
isHidden: boolean;
|
|
47
|
+
isCustom: boolean;
|
|
48
|
+
}
|
|
49
|
+
export type TipTarget = 'none' | 'action' | 'sequence' | 'url';
|
|
50
|
+
/** The edit form's values. */
|
|
51
|
+
export interface TipFormValues {
|
|
52
|
+
/** null while creating a new custom tip. */
|
|
53
|
+
code: string | null;
|
|
54
|
+
isCustom: boolean;
|
|
55
|
+
/** The tip's message at open time: the header identity. */
|
|
56
|
+
original: string;
|
|
57
|
+
placement: string;
|
|
58
|
+
message: string;
|
|
59
|
+
target: TipTarget;
|
|
60
|
+
ctaLabel: string;
|
|
61
|
+
ctaAction: string;
|
|
62
|
+
ctaSequence: string;
|
|
63
|
+
ctaHref: string;
|
|
64
|
+
}
|
|
65
|
+
export interface TipsEditorDialogProps {
|
|
66
|
+
open: boolean;
|
|
67
|
+
onOpenChange: (open: boolean) => void;
|
|
68
|
+
/** `null` shows the list. */
|
|
69
|
+
form: TipFormValues | null;
|
|
70
|
+
onFormChange: (patch: Partial<TipFormValues>) => void;
|
|
71
|
+
onFormBack: () => void;
|
|
72
|
+
onFormSave: () => void;
|
|
73
|
+
rows: TipListRow[];
|
|
74
|
+
onEditRow: (code: string) => void;
|
|
75
|
+
onDeleteRow: (code: string) => void;
|
|
76
|
+
onAdd: () => void;
|
|
77
|
+
busy: boolean;
|
|
78
|
+
error: string | null;
|
|
79
|
+
placementOptions: TipOption[];
|
|
80
|
+
actionOptions: TipOption[];
|
|
81
|
+
sequenceOptions: TipOption[];
|
|
82
|
+
/** Sequence the shared runner is executing right now. */
|
|
83
|
+
activeSequenceId: string | null;
|
|
84
|
+
onRunSequence: (id: string) => void;
|
|
85
|
+
onCancelSequence: () => void;
|
|
86
|
+
messageMaxChars: number;
|
|
87
|
+
ctaLabelMaxChars: number;
|
|
88
|
+
labels?: Partial<TipsEditorLabels>;
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* Contextual-tips editor: every tip in a list (edit, delete, add) or one tip's form (placement,
|
|
92
|
+
* message, optional button), plus a tester that runs action sequences. Persistence is the host's.
|
|
93
|
+
*/
|
|
94
|
+
export declare function TipsEditorDialog({ open, onOpenChange, form, onFormChange, onFormBack, onFormSave, rows, onEditRow, onDeleteRow, onAdd, busy, error, placementOptions, actionOptions, sequenceOptions, activeSequenceId, onRunSequence, onCancelSequence, messageMaxChars, ctaLabelMaxChars, labels, }: TipsEditorDialogProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
/** include keeps matches, exclude drops them, null is indifferent. */
|
|
3
|
+
export type TriState = 'include' | 'exclude' | null;
|
|
4
|
+
export interface TriStateOption<T extends string = string> {
|
|
5
|
+
id: T;
|
|
6
|
+
label: string;
|
|
7
|
+
icon?: ReactNode;
|
|
8
|
+
count: number;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
/** Indent level (nested options such as folders). */
|
|
11
|
+
depth?: number;
|
|
12
|
+
}
|
|
13
|
+
export interface TriStateGroup<T extends string = string> {
|
|
14
|
+
label: string;
|
|
15
|
+
options: T[];
|
|
16
|
+
collapsible?: boolean;
|
|
17
|
+
}
|
|
18
|
+
/** Every fixed string of the filter menu. */
|
|
19
|
+
export interface TriStateFilterMenuLabels {
|
|
20
|
+
clear: string;
|
|
21
|
+
}
|
|
22
|
+
export declare const DEFAULT_TRI_STATE_FILTER_MENU_LABELS: TriStateFilterMenuLabels;
|
|
23
|
+
export interface HoverHandlers {
|
|
24
|
+
onMouseEnter: () => void;
|
|
25
|
+
onMouseLeave: () => void;
|
|
26
|
+
}
|
|
27
|
+
export interface TriStateFilterMenuProps<T extends string> {
|
|
28
|
+
/** Test id of the trigger. */
|
|
29
|
+
testId: string;
|
|
30
|
+
open: boolean;
|
|
31
|
+
onOpenChange: (open: boolean) => void;
|
|
32
|
+
title?: string;
|
|
33
|
+
filterStates: Map<T, TriState>;
|
|
34
|
+
onFiltersChange: (filters: Map<T, TriState>) => void;
|
|
35
|
+
options: TriStateOption<T>[];
|
|
36
|
+
groups?: TriStateGroup<T>[];
|
|
37
|
+
/** Between the header and the options (e.g. a toggle). */
|
|
38
|
+
topContent?: ReactNode;
|
|
39
|
+
/** Before a group, keyed by the group's label. */
|
|
40
|
+
groupTopContent?: Record<string, ReactNode>;
|
|
41
|
+
/** After `topContent` (e.g. a folder navigator). */
|
|
42
|
+
folderContent?: ReactNode;
|
|
43
|
+
/** After every group (e.g. a source toggle). */
|
|
44
|
+
bottomContent?: ReactNode;
|
|
45
|
+
/** Label next to the filter icon of the trigger. */
|
|
46
|
+
triggerLabel?: string;
|
|
47
|
+
/** Shows the active styling even with no tri-state filter set. */
|
|
48
|
+
hasExternalActiveState?: boolean;
|
|
49
|
+
/** Never show the active styling (chips carry the indication instead). */
|
|
50
|
+
suppressTriggerActiveStyle?: boolean;
|
|
51
|
+
/** Replaces the default trigger styling (e.g. flush inside a unified widget). */
|
|
52
|
+
triggerClassName?: string;
|
|
53
|
+
/** A chevron after the icon/label instead of the dots: the trigger reads as a dropdown segment. */
|
|
54
|
+
renderChevron?: boolean;
|
|
55
|
+
/** Open only on an explicit click, never on hover (trigger embedded in another control). */
|
|
56
|
+
disableHoverOpen?: boolean;
|
|
57
|
+
/** Exposes the hover handlers so a wider hover target (a tab header) can drive the menu. */
|
|
58
|
+
onHoverHandlers?: (handlers: HoverHandlers) => void;
|
|
59
|
+
labels?: Partial<TriStateFilterMenuLabels>;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Tri-state filter dropdown. Opens on hover (pointer) or click (locks it open until clicked
|
|
63
|
+
* away); the open state is controlled so a host can persist it. Options cycle
|
|
64
|
+
* neutral, include, exclude.
|
|
65
|
+
*/
|
|
66
|
+
export declare function TriStateFilterMenu<T extends string>({ testId, open, onOpenChange, title, filterStates, onFiltersChange, options, groups, topContent, groupTopContent, folderContent, bottomContent, triggerLabel, hasExternalActiveState, suppressTriggerActiveStyle, triggerClassName, renderChevron, disableHoverOpen, onHoverHandlers, labels, }: TriStateFilterMenuProps<T>): import("react").JSX.Element;
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
/** Every fixed string of the usage line chart. `emptyLabel` prop wins. */
|
|
3
|
+
export interface UsageLineChartLabels {
|
|
4
|
+
noDailyData: string;
|
|
5
|
+
}
|
|
6
|
+
export declare const DEFAULT_USAGE_LINE_CHART_LABELS: UsageLineChartLabels;
|
|
7
|
+
/** Every fixed string of the proportion bar. */
|
|
8
|
+
export interface UsageProportionBarLabels {
|
|
9
|
+
/** Bar tooltip when the metric is tokens: "3k tokens". */
|
|
10
|
+
tokens: (formatted: string) => string;
|
|
11
|
+
/** Bar tooltip when the metric is credits: "1,200 credits". */
|
|
12
|
+
credits: (formatted: string) => string;
|
|
13
|
+
/** Row suffix: "3k tok". */
|
|
14
|
+
tokensShort: (formatted: string) => string;
|
|
15
|
+
}
|
|
16
|
+
export declare const DEFAULT_USAGE_PROPORTION_BAR_LABELS: UsageProportionBarLabels;
|
|
17
|
+
/** Every fixed string of the usage panel. `emptyMessage` / `errorMessage` props win. */
|
|
18
|
+
export interface UsagePanelLabels {
|
|
19
|
+
empty: string;
|
|
20
|
+
error: string;
|
|
21
|
+
}
|
|
22
|
+
export declare const DEFAULT_USAGE_PANEL_LABELS: UsagePanelLabels;
|
|
23
|
+
export interface UsageSeries {
|
|
24
|
+
key: string;
|
|
25
|
+
values: number[];
|
|
26
|
+
}
|
|
27
|
+
export interface UsageLineChartProps {
|
|
28
|
+
/** ISO dates (`YYYY-MM-DD`), one per point. */
|
|
29
|
+
dates: string[];
|
|
30
|
+
series: UsageSeries[];
|
|
31
|
+
/** Formats an axis-label date, e.g. "Jun 12". */
|
|
32
|
+
formatDate: (date: string) => string;
|
|
33
|
+
/** Formats a value in the hover readout. */
|
|
34
|
+
formatValue: (value: number) => string;
|
|
35
|
+
emptyLabel?: string;
|
|
36
|
+
labels?: Partial<UsageLineChartLabels>;
|
|
37
|
+
}
|
|
38
|
+
/** SVG line chart with a tap/hover readout (a tap selects a day, so touch works). */
|
|
39
|
+
export declare function UsageLineChart({ dates, series, formatDate, formatValue, emptyLabel, labels, }: UsageLineChartProps): import("react").JSX.Element;
|
|
40
|
+
/** Series legend; hidden for a single unnamed total. */
|
|
41
|
+
export declare function UsageLegend({ series }: {
|
|
42
|
+
series: UsageSeries[];
|
|
43
|
+
}): import("react").JSX.Element | null;
|
|
44
|
+
export type UsageMetric = 'credits' | 'tokens';
|
|
45
|
+
export interface UsageShare {
|
|
46
|
+
label: string;
|
|
47
|
+
/** Raw amount in the active metric, for the bar width. */
|
|
48
|
+
amount: number;
|
|
49
|
+
/** Formatted credits, e.g. "1,200". */
|
|
50
|
+
credits: string;
|
|
51
|
+
/** Formatted tokens, e.g. "3k". */
|
|
52
|
+
tokens: string;
|
|
53
|
+
}
|
|
54
|
+
/** Stacked proportion bar plus a per-item list with credits, tokens and share. */
|
|
55
|
+
export declare function UsageProportionBar({ items, metric, labels, }: {
|
|
56
|
+
items: UsageShare[];
|
|
57
|
+
metric: UsageMetric;
|
|
58
|
+
labels?: Partial<UsageProportionBarLabels>;
|
|
59
|
+
}): import("react").JSX.Element | null;
|
|
60
|
+
export interface UsageStat {
|
|
61
|
+
key: string;
|
|
62
|
+
value: ReactNode;
|
|
63
|
+
label: ReactNode;
|
|
64
|
+
}
|
|
65
|
+
/** Row of summary tiles (credits, requests, tokens). */
|
|
66
|
+
export declare function UsageSummary({ stats }: {
|
|
67
|
+
stats: UsageStat[];
|
|
68
|
+
}): import("react").JSX.Element;
|
|
69
|
+
/** Credit coin glyph used beside credit amounts. */
|
|
70
|
+
export declare function CreditsGlyph({ className }: {
|
|
71
|
+
className?: string;
|
|
72
|
+
}): import("react").JSX.Element;
|
|
73
|
+
export interface UsageToggleProps<T extends string> {
|
|
74
|
+
value: T;
|
|
75
|
+
onChange: (value: T) => void;
|
|
76
|
+
options: {
|
|
77
|
+
value: T;
|
|
78
|
+
label: string;
|
|
79
|
+
}[];
|
|
80
|
+
ariaLabel: string;
|
|
81
|
+
/** `fill`: options share the row (breakdown); `compact`: small pill (period, metric). */
|
|
82
|
+
size?: 'compact' | 'fill';
|
|
83
|
+
}
|
|
84
|
+
/** Small single-choice toggle for the usage panel (hidden when printing). */
|
|
85
|
+
export declare function UsageToggle<T extends string>({ value, onChange, options, ariaLabel, size, }: UsageToggleProps<T>): import("react").JSX.Element;
|
|
86
|
+
export interface UsagePanelProps {
|
|
87
|
+
state: 'loading' | 'error' | 'empty' | 'ready';
|
|
88
|
+
/** Period toggle on the left of the top row. */
|
|
89
|
+
period: ReactNode;
|
|
90
|
+
/** Icon buttons on the right of the top row (download, print). */
|
|
91
|
+
actions?: ReactNode;
|
|
92
|
+
/** The period's date span, shown under the top row. */
|
|
93
|
+
dateRange?: string | null;
|
|
94
|
+
/** Shown for `empty`, e.g. "No usage yet this month." */
|
|
95
|
+
emptyMessage?: string;
|
|
96
|
+
errorMessage?: string;
|
|
97
|
+
labels?: Partial<UsagePanelLabels>;
|
|
98
|
+
/** Rendered for `ready`. */
|
|
99
|
+
children?: ReactNode;
|
|
100
|
+
}
|
|
101
|
+
/** Frame of the usage breakdown: toolbar row, then loading / error / empty / content. */
|
|
102
|
+
export declare function UsagePanel({ state, period, actions, dateRange, emptyMessage, errorMessage, labels, children, }: UsagePanelProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
import type { LucideIcon } from 'lucide-react';
|
|
3
|
+
/** Every fixed string of the welcome dialog. */
|
|
4
|
+
export interface WelcomeDialogLabels {
|
|
5
|
+
/** Title: "Welcome, Ada!" (`firstName` is absent for anonymous). */
|
|
6
|
+
welcome: (firstName?: string) => string;
|
|
7
|
+
description: string;
|
|
8
|
+
currentPlan: string;
|
|
9
|
+
seeUpgradeOptions: string;
|
|
10
|
+
/** Text before the bold referral offer. */
|
|
11
|
+
referralBefore: string;
|
|
12
|
+
/** Text after the bold referral offer. */
|
|
13
|
+
referralAfter: string;
|
|
14
|
+
inviteContact: string;
|
|
15
|
+
/** Text before the bold reward balance. */
|
|
16
|
+
currentRewards: string;
|
|
17
|
+
continue: string;
|
|
18
|
+
}
|
|
19
|
+
export declare const DEFAULT_WELCOME_DIALOG_LABELS: WelcomeDialogLabels;
|
|
20
|
+
/** Every fixed string of the invite-contacts dialog. */
|
|
21
|
+
export interface InviteContactsDialogLabels {
|
|
22
|
+
title: string;
|
|
23
|
+
description: string;
|
|
24
|
+
}
|
|
25
|
+
export declare const DEFAULT_INVITE_CONTACTS_DIALOG_LABELS: InviteContactsDialogLabels;
|
|
26
|
+
export interface WelcomeQuotaView {
|
|
27
|
+
key: string;
|
|
28
|
+
icon?: LucideIcon;
|
|
29
|
+
label: string;
|
|
30
|
+
/** Formatted used-of-limit, e.g. "40 / 500 MB". */
|
|
31
|
+
value: string;
|
|
32
|
+
pct: number;
|
|
33
|
+
/** Inline hint after the label, e.g. "resets Aug 31, 2026". */
|
|
34
|
+
hint?: string;
|
|
35
|
+
}
|
|
36
|
+
export interface WelcomeDialogProps {
|
|
37
|
+
open: boolean;
|
|
38
|
+
/** Closing the dialog (Continue is the single, deliberate exit; there is no close X). */
|
|
39
|
+
onClose: () => void;
|
|
40
|
+
/** Greeting name; the title reads "Welcome, {name}!". */
|
|
41
|
+
firstName?: string;
|
|
42
|
+
/** Show the gift icon (a reward balance exists) instead of the sparkles. */
|
|
43
|
+
hasReward: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* Corner picker naming the project the numbers belong to (credits are per project). The host
|
|
46
|
+
* supplies it, since the choice of control and its state are the host's.
|
|
47
|
+
*/
|
|
48
|
+
projectPicker?: ReactNode;
|
|
49
|
+
/** Plan badge for the selected project. */
|
|
50
|
+
planBadge: ReactNode;
|
|
51
|
+
quotas: WelcomeQuotaView[];
|
|
52
|
+
onSeePlans: () => void;
|
|
53
|
+
/** The standing referral offer, e.g. "£20 off your plan". */
|
|
54
|
+
referralOfferLabel: string;
|
|
55
|
+
onInvite: () => void;
|
|
56
|
+
/** Held reward balance, formatted. Hidden when absent. */
|
|
57
|
+
rewardBalanceLabel?: string;
|
|
58
|
+
labels?: Partial<WelcomeDialogLabels>;
|
|
59
|
+
/** Dialog test id (default `welcome-modal`). */
|
|
60
|
+
testId?: string;
|
|
61
|
+
/** Part ids; defaults are the current ids. `quota` is a prefix (`<prefix>-<quota key>`). */
|
|
62
|
+
testIds?: Partial<Record<'copy' | 'quota' | 'showPlans' | 'earn' | 'dismiss', string>>;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* The once-per-session snapshot for free users: where you stand (plan and quotas), the standing
|
|
66
|
+
* referral offer, and any reward balance. Continue is the primary action; the upgrade and invite
|
|
67
|
+
* doors are deliberately secondary.
|
|
68
|
+
*/
|
|
69
|
+
export declare function WelcomeDialog({ open, onClose, firstName, hasReward, projectPicker, planBadge, quotas, onSeePlans, referralOfferLabel, onInvite, rewardBalanceLabel, labels, testId, testIds, }: WelcomeDialogProps): import("react").JSX.Element;
|
|
70
|
+
export interface InviteContactsDialogProps {
|
|
71
|
+
open: boolean;
|
|
72
|
+
onClose: () => void;
|
|
73
|
+
/** The invite form (it carries the referral pitch itself). */
|
|
74
|
+
children: ReactNode;
|
|
75
|
+
testId?: string;
|
|
76
|
+
labels?: Partial<InviteContactsDialogLabels>;
|
|
77
|
+
}
|
|
78
|
+
/** Dialog around the invite form, swapped in for the welcome dialog when inviting. */
|
|
79
|
+
export declare function InviteContactsDialog({ open, onClose, children, testId, labels, }: InviteContactsDialogProps): import("react").JSX.Element;
|