@arbidocs/blocks 0.5.119 → 0.5.121
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/dist/ClippingMediaViewer-B6WG7Q64.cjs +156 -0
- package/dist/ClippingMediaViewer-B6WG7Q64.cjs.map +1 -0
- package/dist/ClippingPdfViewer-6GCVTV3V.cjs +79 -0
- package/dist/ClippingPdfViewer-6GCVTV3V.cjs.map +1 -0
- package/dist/{ConnectedCallDock-WER7R222.cjs → ConnectedCallDock-DC5V5OUJ.cjs} +25 -23
- package/dist/ConnectedCallDock-DC5V5OUJ.cjs.map +1 -0
- package/dist/{ConnectedCallRoom-T7OBQTYP.cjs → ConnectedCallRoom-FQLXWTFB.cjs} +18 -16
- package/dist/{ConnectedCallRoom-T7OBQTYP.cjs.map → ConnectedCallRoom-FQLXWTFB.cjs.map} +1 -1
- package/dist/{ConnectedNativeDocxComparison-546ILGLW.cjs → ConnectedNativeDocxComparison-4Q5S7VLD.cjs} +17 -17
- package/dist/{ConnectedNativeDocxComparison-546ILGLW.cjs.map → ConnectedNativeDocxComparison-4Q5S7VLD.cjs.map} +1 -1
- package/dist/ConnectedPresentation-4HLDZDWV.cjs +183 -0
- package/dist/ConnectedPresentation-4HLDZDWV.cjs.map +1 -0
- package/dist/{ConnectedProductionSetDialog-LHB4VQWC.cjs → ConnectedProductionSetDialog-4EAY6KAZ.cjs} +3 -3
- package/dist/{ConnectedProductionSetDialog-LHB4VQWC.cjs.map → ConnectedProductionSetDialog-4EAY6KAZ.cjs.map} +1 -1
- package/dist/ConnectedSlidesTab-7QDE2CZD.cjs +234 -0
- package/dist/ConnectedSlidesTab-7QDE2CZD.cjs.map +1 -0
- package/dist/{ConnectedStreamedWordArtifact-S2ZFZLZQ.cjs → ConnectedStreamedWordArtifact-FFOQJBOI.cjs} +17 -17
- package/dist/{ConnectedStreamedWordArtifact-S2ZFZLZQ.cjs.map → ConnectedStreamedWordArtifact-FFOQJBOI.cjs.map} +1 -1
- package/dist/{DocumentReviewCard-ZSBZBGFK.cjs → DocumentReviewCard-SNWVEZ7S.cjs} +19 -18
- package/dist/DocumentReviewCard-SNWVEZ7S.cjs.map +1 -0
- package/dist/{FilesViewerDialog-6UKR5WEF.cjs → FilesViewerDialog-IZI63FOV.cjs} +54 -47
- package/dist/FilesViewerDialog-IZI63FOV.cjs.map +1 -0
- package/dist/{GridViewImpl-ZMJJWTOM.cjs → GridViewImpl-LTYET77Q.cjs} +3 -3
- package/dist/GridViewImpl-LTYET77Q.cjs.map +1 -0
- package/dist/{WorkspaceTableView-J3C6VH4T.cjs → WorkspaceTableView-TEIRB6VJ.cjs} +11 -10
- package/dist/WorkspaceTableView-TEIRB6VJ.cjs.map +1 -0
- package/dist/agents/index.cjs +297 -297
- package/dist/agents/tasks/ConversationListView.js +10 -2
- package/dist/agents/tasks/ConversationListView.js.map +2 -2
- package/dist/agents/tasks/TaskTable.js +5 -4
- package/dist/agents/tasks/TaskTable.js.map +2 -2
- package/dist/agents/tasks/WorkflowsTable.js +4 -5
- package/dist/agents/tasks/WorkflowsTable.js.map +2 -2
- package/dist/agents/tasks/taskColumns.js +1 -1
- package/dist/agents/tasks/taskColumns.js.map +1 -1
- package/dist/agents/tasks/taskTableLabels.js +1 -1
- package/dist/agents/tasks/taskTableLabels.js.map +1 -1
- package/dist/agents/tasks/workflowTableLabels.js +1 -1
- package/dist/agents/tasks/workflowTableLabels.js.map +1 -1
- package/dist/{ai-IM4A23YT.cjs → ai-KBYNRNZ6.cjs} +28 -26
- package/dist/ai-KBYNRNZ6.cjs.map +1 -0
- package/dist/calls/connected/CallControls.d.ts +2 -0
- package/dist/calls/connected/CallControls.js +71 -9
- package/dist/calls/connected/CallControls.js.map +2 -2
- package/dist/calls/connected/ShareDocumentDialog.d.ts +14 -0
- package/dist/calls/connected/ShareDocumentDialog.js +77 -0
- package/dist/calls/connected/ShareDocumentDialog.js.map +7 -0
- package/dist/calls/index.cjs +121 -121
- package/dist/chat/index.cjs +9 -8
- package/dist/{chunk-T23UTIRI.cjs → chunk-2PZT3J34.cjs} +6 -6
- package/dist/{chunk-T23UTIRI.cjs.map → chunk-2PZT3J34.cjs.map} +1 -1
- package/dist/{chunk-SGYSDABK.cjs → chunk-2W5E62EY.cjs} +6 -6
- package/dist/{chunk-SGYSDABK.cjs.map → chunk-2W5E62EY.cjs.map} +1 -1
- package/dist/{chunk-TDO5UWXF.cjs → chunk-3SCNXNHI.cjs} +5 -5
- package/dist/{chunk-TDO5UWXF.cjs.map → chunk-3SCNXNHI.cjs.map} +1 -1
- package/dist/{chunk-KTQOGT2L.cjs → chunk-474GPLCM.cjs} +7 -7
- package/dist/{chunk-KTQOGT2L.cjs.map → chunk-474GPLCM.cjs.map} +1 -1
- package/dist/{chunk-TP5PGWIO.cjs → chunk-4IOYQLKG.cjs} +3 -3
- package/dist/{chunk-TP5PGWIO.cjs.map → chunk-4IOYQLKG.cjs.map} +1 -1
- package/dist/{chunk-NY3YUCOW.cjs → chunk-4NPCDS2X.cjs} +3 -3
- package/dist/{chunk-NY3YUCOW.cjs.map → chunk-4NPCDS2X.cjs.map} +1 -1
- package/dist/{chunk-CPG7II4E.cjs → chunk-4RBQ44RY.cjs} +28 -28
- package/dist/chunk-4RBQ44RY.cjs.map +1 -0
- package/dist/{chunk-BQ5RIWWT.cjs → chunk-4VZZWYEC.cjs} +3 -3
- package/dist/{chunk-BQ5RIWWT.cjs.map → chunk-4VZZWYEC.cjs.map} +1 -1
- package/dist/{chunk-Y24V6HPR.cjs → chunk-52KGMAO5.cjs} +15 -15
- package/dist/{chunk-Y24V6HPR.cjs.map → chunk-52KGMAO5.cjs.map} +1 -1
- package/dist/{chunk-HB2O4THB.cjs → chunk-5534FYXP.cjs} +4 -4
- package/dist/{chunk-HB2O4THB.cjs.map → chunk-5534FYXP.cjs.map} +1 -1
- package/dist/chunk-5GCCUXMT.cjs +63 -0
- package/dist/chunk-5GCCUXMT.cjs.map +1 -0
- package/dist/chunk-5LTIZ44D.cjs +95 -0
- package/dist/chunk-5LTIZ44D.cjs.map +1 -0
- package/dist/{chunk-YGXOKB5Z.cjs → chunk-734NPQNR.cjs} +4 -4
- package/dist/{chunk-YGXOKB5Z.cjs.map → chunk-734NPQNR.cjs.map} +1 -1
- package/dist/{chunk-SB4M3ITT.cjs → chunk-7VUJGHMY.cjs} +444 -100
- package/dist/chunk-7VUJGHMY.cjs.map +1 -0
- package/dist/chunk-AFQTQC7A.cjs +35 -0
- package/dist/chunk-AFQTQC7A.cjs.map +1 -0
- package/dist/{chunk-XKVPSOKP.cjs → chunk-AY6EZSZB.cjs} +4 -4
- package/dist/{chunk-XKVPSOKP.cjs.map → chunk-AY6EZSZB.cjs.map} +1 -1
- package/dist/{chunk-TT4IF52H.cjs → chunk-BVAT4EVC.cjs} +40 -41
- package/dist/chunk-BVAT4EVC.cjs.map +1 -0
- package/dist/{chunk-VGCTYTEW.cjs → chunk-C2OICDMI.cjs} +10 -10
- package/dist/{chunk-VGCTYTEW.cjs.map → chunk-C2OICDMI.cjs.map} +1 -1
- package/dist/{chunk-CPR6EHG7.cjs → chunk-DR2AH7JL.cjs} +179 -55
- package/dist/chunk-DR2AH7JL.cjs.map +1 -0
- package/dist/{chunk-NJCK6V6U.cjs → chunk-EATIFPKP.cjs} +4 -60
- package/dist/chunk-EATIFPKP.cjs.map +1 -0
- package/dist/{chunk-B3LZITVF.cjs → chunk-EHP6OH5D.cjs} +11 -451
- package/dist/chunk-EHP6OH5D.cjs.map +1 -0
- package/dist/{chunk-DDIW4HLU.cjs → chunk-ENGL7P3I.cjs} +46 -37
- package/dist/chunk-ENGL7P3I.cjs.map +1 -0
- package/dist/{chunk-QHOHDNBU.cjs → chunk-FKFQCK3C.cjs} +4 -4
- package/dist/{chunk-QHOHDNBU.cjs.map → chunk-FKFQCK3C.cjs.map} +1 -1
- package/dist/{chunk-6UTKM5AB.cjs → chunk-GKVE5JGB.cjs} +76 -76
- package/dist/chunk-GKVE5JGB.cjs.map +1 -0
- package/dist/{chunk-B2HNNG25.cjs → chunk-GPX5VC57.cjs} +50 -50
- package/dist/{chunk-B2HNNG25.cjs.map → chunk-GPX5VC57.cjs.map} +1 -1
- package/dist/{chunk-WAV762GP.cjs → chunk-GQXPNIRE.cjs} +6 -6
- package/dist/{chunk-WAV762GP.cjs.map → chunk-GQXPNIRE.cjs.map} +1 -1
- package/dist/chunk-GX2EBMJW.cjs +133 -0
- package/dist/chunk-GX2EBMJW.cjs.map +1 -0
- package/dist/{chunk-7OPOPYV6.cjs → chunk-H5OLHP2U.cjs} +3 -3
- package/dist/{chunk-7OPOPYV6.cjs.map → chunk-H5OLHP2U.cjs.map} +1 -1
- package/dist/chunk-HYUKPHCT.cjs +66 -0
- package/dist/chunk-HYUKPHCT.cjs.map +1 -0
- package/dist/{chunk-NNUK5ZM7.cjs → chunk-JQLWKNJO.cjs} +29 -27
- package/dist/chunk-JQLWKNJO.cjs.map +1 -0
- package/dist/{chunk-OEREKAAP.cjs → chunk-JZEYHDWJ.cjs} +75 -75
- package/dist/{chunk-OEREKAAP.cjs.map → chunk-JZEYHDWJ.cjs.map} +1 -1
- package/dist/{chunk-PGJYD67F.cjs → chunk-KNGZZC4O.cjs} +7 -6
- package/dist/chunk-KNGZZC4O.cjs.map +1 -0
- package/dist/{chunk-NIE3N6OM.cjs → chunk-KP5AITQ4.cjs} +10 -10
- package/dist/{chunk-NIE3N6OM.cjs.map → chunk-KP5AITQ4.cjs.map} +1 -1
- package/dist/{chunk-YYPZOEED.cjs → chunk-LHWOKOMP.cjs} +23 -2
- package/dist/chunk-LHWOKOMP.cjs.map +1 -0
- package/dist/{chunk-57NHXEU2.cjs → chunk-MXBXZXXQ.cjs} +5 -5
- package/dist/{chunk-57NHXEU2.cjs.map → chunk-MXBXZXXQ.cjs.map} +1 -1
- package/dist/{chunk-WXUU3COI.cjs → chunk-MZ2KZXNU.cjs} +3 -3
- package/dist/{chunk-WXUU3COI.cjs.map → chunk-MZ2KZXNU.cjs.map} +1 -1
- package/dist/chunk-NAJN32MF.cjs +154 -0
- package/dist/chunk-NAJN32MF.cjs.map +1 -0
- package/dist/{chunk-557MJ4IH.cjs → chunk-NLOETJCB.cjs} +17 -154
- package/dist/chunk-NLOETJCB.cjs.map +1 -0
- package/dist/{chunk-4XJEHKVZ.cjs → chunk-PIYYBPHH.cjs} +4 -4
- package/dist/{chunk-4XJEHKVZ.cjs.map → chunk-PIYYBPHH.cjs.map} +1 -1
- package/dist/chunk-Q3XJUXID.cjs +4774 -0
- package/dist/chunk-Q3XJUXID.cjs.map +1 -0
- package/dist/{chunk-325GVZE6.cjs → chunk-Q6DQGGP4.cjs} +3 -3
- package/dist/{chunk-325GVZE6.cjs.map → chunk-Q6DQGGP4.cjs.map} +1 -1
- package/dist/chunk-QFXILJMJ.cjs +458 -0
- package/dist/chunk-QFXILJMJ.cjs.map +1 -0
- package/dist/{chunk-R7CJEIA5.cjs → chunk-RYVZDFVO.cjs} +8 -9
- package/dist/chunk-RYVZDFVO.cjs.map +1 -0
- package/dist/{chunk-VLCY46K6.cjs → chunk-TG2GM7WJ.cjs} +4 -3
- package/dist/chunk-TG2GM7WJ.cjs.map +1 -0
- package/dist/{chunk-EOG6OT5I.cjs → chunk-TXP2N3DC.cjs} +4 -4
- package/dist/{chunk-EOG6OT5I.cjs.map → chunk-TXP2N3DC.cjs.map} +1 -1
- package/dist/{chunk-KXIRVKCJ.cjs → chunk-UUENH4BJ.cjs} +3 -3
- package/dist/{chunk-KXIRVKCJ.cjs.map → chunk-UUENH4BJ.cjs.map} +1 -1
- package/dist/chunk-VJ5ZLRBD.cjs +27 -0
- package/dist/chunk-VJ5ZLRBD.cjs.map +1 -0
- package/dist/{chunk-P77YTTJ3.cjs → chunk-W6B3RYTX.cjs} +4 -4
- package/dist/{chunk-P77YTTJ3.cjs.map → chunk-W6B3RYTX.cjs.map} +1 -1
- package/dist/chunk-WOOOMTTA.cjs +19 -0
- package/dist/chunk-WOOOMTTA.cjs.map +1 -0
- package/dist/{chunk-ZPPMAL5P.cjs → chunk-WQMR3O2D.cjs} +6 -10
- package/dist/chunk-WQMR3O2D.cjs.map +1 -0
- package/dist/{chunk-CJYWHUZR.cjs → chunk-XCKHOXRP.cjs} +4 -4
- package/dist/{chunk-CJYWHUZR.cjs.map → chunk-XCKHOXRP.cjs.map} +1 -1
- package/dist/{chunk-6WMMZLEV.cjs → chunk-XJEXFEWG.cjs} +2 -27
- package/dist/chunk-XJEXFEWG.cjs.map +1 -0
- package/dist/chunk-XK4TVJKD.cjs +73 -0
- package/dist/chunk-XK4TVJKD.cjs.map +1 -0
- package/dist/chunk-XTR26TNE.cjs +1358 -0
- package/dist/chunk-XTR26TNE.cjs.map +1 -0
- package/dist/{chunk-E7TE2WVT.cjs → chunk-ZVEW3JBT.cjs} +3 -3
- package/dist/{chunk-E7TE2WVT.cjs.map → chunk-ZVEW3JBT.cjs.map} +1 -1
- package/dist/collaboration/index.cjs +73 -73
- package/dist/collaboration/sharing/ShareControl.js +10 -2
- package/dist/collaboration/sharing/ShareControl.js.map +2 -2
- package/dist/components/SharedCell.d.ts +2 -4
- package/dist/components/SharedCell.js +4 -8
- package/dist/components/SharedCell.js.map +2 -2
- package/dist/components/ZoomSlider.d.ts +25 -0
- package/dist/components/ZoomSlider.js +59 -0
- package/dist/components/ZoomSlider.js.map +7 -0
- package/dist/connect/docx.cjs +20 -20
- package/dist/connect/index.cjs +1210 -1264
- package/dist/connect/index.cjs.map +1 -1
- package/dist/connect/viewer.cjs +42 -36
- package/dist/connection/ai.d.ts +1 -1
- package/dist/connection/facts/factPageColumns.js +3 -9
- package/dist/connection/facts/factPageColumns.js.map +2 -2
- package/dist/connection/files/ConnectedNewFileMenu.d.ts +2 -1
- package/dist/connection/files/ConnectedNewFileMenu.js +9 -3
- package/dist/connection/files/ConnectedNewFileMenu.js.map +2 -2
- package/dist/connection/files/explorer/ConnectedFilesExplorer.js +1 -1
- package/dist/connection/files/explorer/ConnectedFilesExplorer.js.map +2 -2
- package/dist/connection/files/explorer/FileTiles.js +1 -1
- package/dist/connection/files/explorer/FileTiles.js.map +2 -2
- package/dist/connection/files/fields/documentField.js +1 -1
- package/dist/connection/files/fields/documentField.js.map +2 -2
- package/dist/connection/files/grid/cells.js +1 -3
- package/dist/connection/files/grid/cells.js.map +2 -2
- package/dist/connection/files/grid/documentColumns.js +4 -3
- package/dist/connection/files/grid/documentColumns.js.map +2 -2
- package/dist/connection/files/page/DocumentsFilterBarActions.js +17 -28
- package/dist/connection/files/page/DocumentsFilterBarActions.js.map +2 -2
- package/dist/connection/mail/useMailboxDefaults.js +1 -1
- package/dist/connection/mail/useMailboxDefaults.js.map +2 -2
- package/dist/connection/panels/useSessionPanelMode.js +3 -2
- package/dist/connection/panels/useSessionPanelMode.js.map +2 -2
- package/dist/connection/presentation/ClippingMediaViewer.d.ts +12 -0
- package/dist/connection/presentation/ClippingMediaViewer.js +153 -0
- package/dist/connection/presentation/ClippingMediaViewer.js.map +7 -0
- package/dist/connection/presentation/ClippingPdfViewer.d.ts +22 -0
- package/dist/connection/presentation/ClippingPdfViewer.js +75 -0
- package/dist/connection/presentation/ClippingPdfViewer.js.map +7 -0
- package/dist/connection/presentation/ConnectedPresentation.d.ts +12 -0
- package/dist/connection/presentation/ConnectedPresentation.js +100 -0
- package/dist/connection/presentation/ConnectedPresentation.js.map +7 -0
- package/dist/connection/presentation/ConnectedSlidesTab.d.ts +20 -0
- package/dist/connection/presentation/ConnectedSlidesTab.js +220 -0
- package/dist/connection/presentation/ConnectedSlidesTab.js.map +7 -0
- package/dist/connection/presentation/CropClipDialog.d.ts +11 -0
- package/dist/connection/presentation/CropClipDialog.js +86 -0
- package/dist/connection/presentation/CropClipDialog.js.map +7 -0
- package/dist/connection/presentation/GenerateTile.d.ts +4 -0
- package/dist/connection/presentation/GenerateTile.js +24 -0
- package/dist/connection/presentation/GenerateTile.js.map +7 -0
- package/dist/connection/presentation/LabelColumnMenu.d.ts +8 -0
- package/dist/connection/presentation/LabelColumnMenu.js +38 -0
- package/dist/connection/presentation/LabelColumnMenu.js.map +7 -0
- package/dist/connection/presentation/PresentationDialogs.d.ts +39 -0
- package/dist/connection/presentation/PresentationDialogs.js +295 -0
- package/dist/connection/presentation/PresentationDialogs.js.map +7 -0
- package/dist/connection/presentation/PresentationFileCard.d.ts +10 -0
- package/dist/connection/presentation/PresentationFileCard.js +35 -0
- package/dist/connection/presentation/PresentationFileCard.js.map +7 -0
- package/dist/connection/presentation/PresentationPill.d.ts +8 -0
- package/dist/connection/presentation/PresentationPill.js +44 -0
- package/dist/connection/presentation/PresentationPill.js.map +7 -0
- package/dist/connection/presentation/PresentationSlot.d.ts +7 -0
- package/dist/connection/presentation/PresentationSlot.js +35 -0
- package/dist/connection/presentation/PresentationSlot.js.map +7 -0
- package/dist/connection/presentation/requests.d.ts +16 -0
- package/dist/connection/presentation/requests.js +20 -0
- package/dist/connection/presentation/requests.js.map +7 -0
- package/dist/connection/presentation/useImageGeneration.d.ts +11 -0
- package/dist/connection/presentation/useImageGeneration.js +66 -0
- package/dist/connection/presentation/useImageGeneration.js.map +7 -0
- package/dist/connection/presentation/useLabelColumns.d.ts +15 -0
- package/dist/connection/presentation/useLabelColumns.js +33 -0
- package/dist/connection/presentation/useLabelColumns.js.map +7 -0
- package/dist/connection/presentation/usePresentationController.d.ts +15 -0
- package/dist/connection/presentation/usePresentationController.js +118 -0
- package/dist/connection/presentation/usePresentationController.js.map +7 -0
- package/dist/connection/presentation/usePresentationFiles.d.ts +44 -0
- package/dist/connection/presentation/usePresentationFiles.js +307 -0
- package/dist/connection/presentation/usePresentationFiles.js.map +7 -0
- package/dist/connection/presentation/useViewerClipping.d.ts +14 -0
- package/dist/connection/presentation/useViewerClipping.js +18 -0
- package/dist/connection/presentation/useViewerClipping.js.map +7 -0
- package/dist/connection/sharing/WorkspaceMembersList.d.ts +4 -0
- package/dist/connection/sharing/WorkspaceMembersList.js +34 -0
- package/dist/connection/sharing/WorkspaceMembersList.js.map +7 -0
- package/dist/connection/shell/ConnectedAppShell.js +9 -1
- package/dist/connection/shell/ConnectedAppShell.js.map +2 -2
- package/dist/connection/viewer/CleanViewControl.d.ts +8 -0
- package/dist/connection/viewer/CleanViewControl.js +76 -0
- package/dist/connection/viewer/CleanViewControl.js.map +7 -0
- package/dist/connection/viewer/ConnectedDocumentViewer.js +31 -31
- package/dist/connection/viewer/ConnectedDocumentViewer.js.map +2 -2
- package/dist/connection/viewer/ViewerCropModal.d.ts +5 -0
- package/dist/connection/viewer/ViewerCropModal.js +22 -0
- package/dist/connection/viewer/ViewerCropModal.js.map +7 -0
- package/dist/connection/viewer/ViewerPdfPane.d.ts +3 -1
- package/dist/connection/viewer/ViewerPdfPane.js +57 -2
- package/dist/connection/viewer/ViewerPdfPane.js.map +2 -2
- package/dist/connection/viewer/drafts.js +6 -4
- package/dist/connection/viewer/drafts.js.map +2 -2
- package/dist/connection/viewer/pdf/PdfPassageHighlights.d.ts +12 -0
- package/dist/connection/viewer/pdf/PdfPassageHighlights.js +36 -0
- package/dist/connection/viewer/pdf/PdfPassageHighlights.js.map +7 -0
- package/dist/connection/viewer/pdf/passageHighlights.d.ts +26 -0
- package/dist/connection/viewer/pdf/passageHighlights.js +40 -0
- package/dist/connection/viewer/pdf/passageHighlights.js.map +7 -0
- package/dist/connection/viewer/pdf/usePdfPassageHighlights.d.ts +9 -0
- package/dist/connection/viewer/pdf/usePdfPassageHighlights.js +47 -0
- package/dist/connection/viewer/pdf/usePdfPassageHighlights.js.map +7 -0
- package/dist/connection/viewer/shareDocument.d.ts +11 -0
- package/dist/connection/viewer/shareDocument.js +11 -0
- package/dist/connection/viewer/shareDocument.js.map +7 -0
- package/dist/connection/viewer/slidesTabChunk.d.ts +2 -0
- package/dist/connection/viewer/slidesTabChunk.js +9 -0
- package/dist/connection/viewer/slidesTabChunk.js.map +7 -0
- package/dist/connection/viewer/useCleanView.d.ts +14 -0
- package/dist/connection/viewer/useCleanView.js +29 -0
- package/dist/connection/viewer/useCleanView.js.map +7 -0
- package/dist/connection/viewer/useViewedDocument.d.ts +1 -0
- package/dist/connection/viewer/useViewedDocument.js +9 -1
- package/dist/connection/viewer/useViewedDocument.js.map +2 -2
- package/dist/connection/viewer/useViewerTabs.js +18 -4
- package/dist/connection/viewer/useViewerTabs.js.map +2 -2
- package/dist/connection/workflows/ConnectedWorkflowStart.d.ts +14 -2
- package/dist/connection/workflows/ConnectedWorkflowStart.js +5 -2
- package/dist/connection/workflows/ConnectedWorkflowStart.js.map +2 -2
- package/dist/connection/workflows/workflowsPageLabels.js +1 -1
- package/dist/connection/workflows/workflowsPageLabels.js.map +1 -1
- package/dist/dashboards/index.cjs +1 -1
- package/dist/databases/index.cjs +49 -49
- package/dist/document-tools/DocumentToolButtons.d.ts +2 -0
- package/dist/document-tools/DocumentToolButtons.js +22 -1
- package/dist/document-tools/DocumentToolButtons.js.map +2 -2
- package/dist/document-tools/index.cjs +16 -12
- package/dist/document-tools/index.d.ts +1 -1
- package/dist/document-tools/index.js +2 -0
- package/dist/document-tools/index.js.map +2 -2
- package/dist/embed/index.cjs +43 -41
- package/dist/facts/factColumns.js +3 -3
- package/dist/facts/factColumns.js.map +1 -1
- package/dist/facts/index.cjs +42 -42
- package/dist/files/GridViewImpl.js +1 -1
- package/dist/files/GridViewImpl.js.map +2 -2
- package/dist/files/HtmlViewerParts.js +7 -15
- package/dist/files/HtmlViewerParts.js.map +2 -2
- package/dist/files/ViewerChrome.d.ts +5 -1
- package/dist/files/ViewerChrome.js +16 -6
- package/dist/files/ViewerChrome.js.map +2 -2
- package/dist/files/index.cjs +226 -226
- package/dist/files/navigator/DocumentSearchList.js +1 -1
- package/dist/files/navigator/DocumentSearchList.js.map +2 -2
- package/dist/index.cjs +1668 -1666
- package/dist/index.cjs.map +1 -1
- package/dist/presentation/BoxActionBar.d.ts +11 -0
- package/dist/presentation/BoxActionBar.js +182 -0
- package/dist/presentation/BoxActionBar.js.map +7 -0
- package/dist/presentation/ClipActionBar.d.ts +26 -0
- package/dist/presentation/ClipActionBar.js +103 -0
- package/dist/presentation/ClipActionBar.js.map +7 -0
- package/dist/presentation/ClipCaptureOverlay.d.ts +14 -0
- package/dist/presentation/ClipCaptureOverlay.js +69 -0
- package/dist/presentation/ClipCaptureOverlay.js.map +7 -0
- package/dist/presentation/ClipImage.d.ts +21 -0
- package/dist/presentation/ClipImage.js +119 -0
- package/dist/presentation/ClipImage.js.map +7 -0
- package/dist/presentation/ClipTray.d.ts +11 -0
- package/dist/presentation/ClipTray.js +152 -0
- package/dist/presentation/ClipTray.js.map +7 -0
- package/dist/presentation/ClipViewControls.d.ts +11 -0
- package/dist/presentation/ClipViewControls.js +142 -0
- package/dist/presentation/ClipViewControls.js.map +7 -0
- package/dist/presentation/DesignMenu.d.ts +8 -0
- package/dist/presentation/DesignMenu.js +199 -0
- package/dist/presentation/DesignMenu.js.map +7 -0
- package/dist/presentation/LayoutMenu.d.ts +17 -0
- package/dist/presentation/LayoutMenu.js +122 -0
- package/dist/presentation/LayoutMenu.js.map +7 -0
- package/dist/presentation/MediaClip.d.ts +15 -0
- package/dist/presentation/MediaClip.js +67 -0
- package/dist/presentation/MediaClip.js.map +7 -0
- package/dist/presentation/Notice.d.ts +6 -0
- package/dist/presentation/Notice.js +43 -0
- package/dist/presentation/Notice.js.map +7 -0
- package/dist/presentation/PresentationStage.d.ts +32 -0
- package/dist/presentation/PresentationStage.js +232 -0
- package/dist/presentation/PresentationStage.js.map +7 -0
- package/dist/presentation/PresenterView.d.ts +16 -0
- package/dist/presentation/PresenterView.js +69 -0
- package/dist/presentation/PresenterView.js.map +7 -0
- package/dist/presentation/SlideDecor.d.ts +25 -0
- package/dist/presentation/SlideDecor.js +189 -0
- package/dist/presentation/SlideDecor.js.map +7 -0
- package/dist/presentation/SlidesEditor.d.ts +25 -0
- package/dist/presentation/SlidesEditor.js +359 -0
- package/dist/presentation/SlidesEditor.js.map +7 -0
- package/dist/presentation/StageBox.d.ts +30 -0
- package/dist/presentation/StageBox.js +281 -0
- package/dist/presentation/StageBox.js.map +7 -0
- package/dist/presentation/StageItem.d.ts +37 -0
- package/dist/presentation/StageItem.js +211 -0
- package/dist/presentation/StageItem.js.map +7 -0
- package/dist/presentation/box-style.d.ts +6 -0
- package/dist/presentation/box-style.js +19 -0
- package/dist/presentation/box-style.js.map +7 -0
- package/dist/presentation/boxes.d.ts +105 -0
- package/dist/presentation/boxes.js +103 -0
- package/dist/presentation/boxes.js.map +7 -0
- package/dist/presentation/draw-boxes.d.ts +8 -0
- package/dist/presentation/draw-boxes.js +130 -0
- package/dist/presentation/draw-boxes.js.map +7 -0
- package/dist/presentation/export-boxes.d.ts +10 -0
- package/dist/presentation/export-boxes.js +74 -0
- package/dist/presentation/export-boxes.js.map +7 -0
- package/dist/presentation/export-pptx.d.ts +16 -0
- package/dist/presentation/export-pptx.js +194 -0
- package/dist/presentation/export-pptx.js.map +7 -0
- package/dist/presentation/import-pptx.d.ts +35 -0
- package/dist/presentation/import-pptx.js +659 -0
- package/dist/presentation/import-pptx.js.map +7 -0
- package/dist/presentation/merge-outside-edits.d.ts +12 -0
- package/dist/presentation/merge-outside-edits.js +35 -0
- package/dist/presentation/merge-outside-edits.js.map +7 -0
- package/dist/presentation/model.d.ts +201 -0
- package/dist/presentation/model.js +271 -0
- package/dist/presentation/model.js.map +7 -0
- package/dist/presentation/panel-id.d.ts +34 -0
- package/dist/presentation/panel-id.js +24 -0
- package/dist/presentation/panel-id.js.map +7 -0
- package/dist/presentation/persistence.d.ts +121 -0
- package/dist/presentation/persistence.js +141 -0
- package/dist/presentation/persistence.js.map +7 -0
- package/dist/presentation/pptx-data.d.ts +22 -0
- package/dist/presentation/pptx-data.js +83 -0
- package/dist/presentation/pptx-data.js.map +7 -0
- package/dist/presentation/pptx-xml.d.ts +90 -0
- package/dist/presentation/pptx-xml.js +333 -0
- package/dist/presentation/pptx-xml.js.map +7 -0
- package/dist/presentation/render-slides.d.ts +58 -0
- package/dist/presentation/render-slides.js +309 -0
- package/dist/presentation/render-slides.js.map +7 -0
- package/dist/presentation/saved-boxes.d.ts +11 -0
- package/dist/presentation/saved-boxes.js +80 -0
- package/dist/presentation/saved-boxes.js.map +7 -0
- package/dist/presentation/slide-layout.d.ts +54 -0
- package/dist/presentation/slide-layout.js +117 -0
- package/dist/presentation/slide-layout.js.map +7 -0
- package/dist/presentation/stage-videos.d.ts +5 -0
- package/dist/presentation/stage-videos.js +19 -0
- package/dist/presentation/stage-videos.js.map +7 -0
- package/dist/presentation/store.d.ts +203 -0
- package/dist/presentation/store.js +429 -0
- package/dist/presentation/store.js.map +7 -0
- package/dist/presentation/theme.d.ts +102 -0
- package/dist/presentation/theme.js +276 -0
- package/dist/presentation/theme.js.map +7 -0
- package/dist/presentation/useClipDrag.d.ts +26 -0
- package/dist/presentation/useClipDrag.js +65 -0
- package/dist/presentation/useClipDrag.js.map +7 -0
- package/dist/presentation/useObjectUrl.d.ts +6 -0
- package/dist/presentation/useObjectUrl.js +15 -0
- package/dist/presentation/useObjectUrl.js.map +7 -0
- package/dist/presentation/usePresenterKeys.d.ts +13 -0
- package/dist/presentation/usePresenterKeys.js +62 -0
- package/dist/presentation/usePresenterKeys.js.map +7 -0
- package/dist/settings/index.cjs +151 -150
- package/dist/shell/PanelPortal.js +1 -0
- package/dist/shell/PanelPortal.js.map +2 -2
- package/dist/shell/index.cjs +112 -110
- package/dist/shell/panel-windows.d.ts +2 -0
- package/dist/shell/panel-windows.js +7 -2
- package/dist/shell/panel-windows.js.map +2 -2
- package/dist/studio/index.cjs +28 -26
- package/dist/studio/index.cjs.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/workflow-canvas/index.cjs +58 -57
- package/dist/workflow-canvas/index.cjs.map +1 -1
- package/node_modules/@arbidocs/coedit/package.json +1 -1
- package/package.json +6 -5
- package/dist/ConnectedCallDock-WER7R222.cjs.map +0 -1
- package/dist/DocumentReviewCard-ZSBZBGFK.cjs.map +0 -1
- package/dist/FilesViewerDialog-6UKR5WEF.cjs.map +0 -1
- package/dist/GridViewImpl-ZMJJWTOM.cjs.map +0 -1
- package/dist/WorkspaceTableView-J3C6VH4T.cjs.map +0 -1
- package/dist/ai-IM4A23YT.cjs.map +0 -1
- package/dist/chunk-557MJ4IH.cjs.map +0 -1
- package/dist/chunk-6UTKM5AB.cjs.map +0 -1
- package/dist/chunk-6WMMZLEV.cjs.map +0 -1
- package/dist/chunk-B3LZITVF.cjs.map +0 -1
- package/dist/chunk-CPG7II4E.cjs.map +0 -1
- package/dist/chunk-CPR6EHG7.cjs.map +0 -1
- package/dist/chunk-DDIW4HLU.cjs.map +0 -1
- package/dist/chunk-NJCK6V6U.cjs.map +0 -1
- package/dist/chunk-NNUK5ZM7.cjs.map +0 -1
- package/dist/chunk-PGJYD67F.cjs.map +0 -1
- package/dist/chunk-R7CJEIA5.cjs.map +0 -1
- package/dist/chunk-SB4M3ITT.cjs.map +0 -1
- package/dist/chunk-TT4IF52H.cjs.map +0 -1
- package/dist/chunk-VLCY46K6.cjs.map +0 -1
- package/dist/chunk-YYPZOEED.cjs.map +0 -1
- package/dist/chunk-ZPPMAL5P.cjs.map +0 -1
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
4
|
var chunkVZKTOGZR_cjs = require('../chunk-VZKTOGZR.cjs');
|
|
5
|
-
var
|
|
5
|
+
var chunkTXP2N3DC_cjs = require('../chunk-TXP2N3DC.cjs');
|
|
6
6
|
require('../chunk-7G2LJMUG.cjs');
|
|
7
|
-
var
|
|
8
|
-
require('../chunk-
|
|
7
|
+
var chunkTG2GM7WJ_cjs = require('../chunk-TG2GM7WJ.cjs');
|
|
8
|
+
require('../chunk-ZVEW3JBT.cjs');
|
|
9
9
|
var chunkMOIZ2R5X_cjs = require('../chunk-MOIZ2R5X.cjs');
|
|
10
10
|
require('../chunk-ULWRNGGE.cjs');
|
|
11
11
|
require('../chunk-PLIF5CUV.cjs');
|
|
@@ -34,283 +34,283 @@ Object.defineProperty(exports, "vCardFilename", {
|
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "ActionMenu", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkTXP2N3DC_cjs.ActionMenu; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "AddContactsForm", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkTXP2N3DC_cjs.AddContactsForm; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "AddContactsResults", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkTXP2N3DC_cjs.AddContactsResults; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "DEFAULT_ADD_CONTACTS_LABELS", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkTXP2N3DC_cjs.DEFAULT_ADD_CONTACTS_LABELS; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "DEFAULT_CONTACT_INVITE_LABELS", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkTXP2N3DC_cjs.DEFAULT_CONTACT_INVITE_LABELS; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "DEFAULT_CONTACT_OUTCOME_LABELS", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkTXP2N3DC_cjs.DEFAULT_CONTACT_OUTCOME_LABELS; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "DEFAULT_DM_ACCESS_REQUEST_BANNER_LABELS", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkTXP2N3DC_cjs.DEFAULT_DM_ACCESS_REQUEST_BANNER_LABELS; }
|
|
62
62
|
});
|
|
63
63
|
Object.defineProperty(exports, "DEFAULT_DM_GRANT_ACCESS_DIALOG_LABELS", {
|
|
64
64
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunkTXP2N3DC_cjs.DEFAULT_DM_GRANT_ACCESS_DIALOG_LABELS; }
|
|
66
66
|
});
|
|
67
67
|
Object.defineProperty(exports, "DEFAULT_DM_THREAD_FRAME_LABELS", {
|
|
68
68
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunkTXP2N3DC_cjs.DEFAULT_DM_THREAD_FRAME_LABELS; }
|
|
70
70
|
});
|
|
71
71
|
Object.defineProperty(exports, "DEFAULT_MAIL_FOLDER_TREE_LABELS", {
|
|
72
72
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
73
|
+
get: function () { return chunkTXP2N3DC_cjs.DEFAULT_MAIL_FOLDER_TREE_LABELS; }
|
|
74
74
|
});
|
|
75
75
|
Object.defineProperty(exports, "DEFAULT_RECIPIENT_PICKER_LABELS", {
|
|
76
76
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
77
|
+
get: function () { return chunkTXP2N3DC_cjs.DEFAULT_RECIPIENT_PICKER_LABELS; }
|
|
78
78
|
});
|
|
79
79
|
Object.defineProperty(exports, "DmAccessRequestBanner", {
|
|
80
80
|
enumerable: true,
|
|
81
|
-
get: function () { return
|
|
81
|
+
get: function () { return chunkTXP2N3DC_cjs.DmAccessRequestBanner; }
|
|
82
82
|
});
|
|
83
83
|
Object.defineProperty(exports, "DmGrantAccessDialogView", {
|
|
84
84
|
enumerable: true,
|
|
85
|
-
get: function () { return
|
|
85
|
+
get: function () { return chunkTXP2N3DC_cjs.DmGrantAccessDialogView; }
|
|
86
86
|
});
|
|
87
87
|
Object.defineProperty(exports, "DmInviteAvatar", {
|
|
88
88
|
enumerable: true,
|
|
89
|
-
get: function () { return
|
|
89
|
+
get: function () { return chunkTXP2N3DC_cjs.DmInviteAvatar; }
|
|
90
90
|
});
|
|
91
91
|
Object.defineProperty(exports, "DmThreadFrame", {
|
|
92
92
|
enumerable: true,
|
|
93
|
-
get: function () { return
|
|
93
|
+
get: function () { return chunkTXP2N3DC_cjs.DmThreadFrame; }
|
|
94
94
|
});
|
|
95
95
|
Object.defineProperty(exports, "EMPTY_CONTACT_FORM", {
|
|
96
96
|
enumerable: true,
|
|
97
|
-
get: function () { return
|
|
97
|
+
get: function () { return chunkTXP2N3DC_cjs.EMPTY_CONTACT_FORM; }
|
|
98
98
|
});
|
|
99
99
|
Object.defineProperty(exports, "MAX_INVITE_EMAILS", {
|
|
100
100
|
enumerable: true,
|
|
101
|
-
get: function () { return
|
|
101
|
+
get: function () { return chunkTXP2N3DC_cjs.MAX_INVITE_EMAILS; }
|
|
102
102
|
});
|
|
103
103
|
Object.defineProperty(exports, "MailActionBar", {
|
|
104
104
|
enumerable: true,
|
|
105
|
-
get: function () { return
|
|
105
|
+
get: function () { return chunkTXP2N3DC_cjs.MailActionBar; }
|
|
106
106
|
});
|
|
107
107
|
Object.defineProperty(exports, "MailConversationView", {
|
|
108
108
|
enumerable: true,
|
|
109
|
-
get: function () { return
|
|
109
|
+
get: function () { return chunkTXP2N3DC_cjs.MailConversationView; }
|
|
110
110
|
});
|
|
111
111
|
Object.defineProperty(exports, "MailDeliveryBadge", {
|
|
112
112
|
enumerable: true,
|
|
113
|
-
get: function () { return
|
|
113
|
+
get: function () { return chunkTXP2N3DC_cjs.MailDeliveryBadge; }
|
|
114
114
|
});
|
|
115
115
|
Object.defineProperty(exports, "MailDeliveryList", {
|
|
116
116
|
enumerable: true,
|
|
117
|
-
get: function () { return
|
|
117
|
+
get: function () { return chunkTXP2N3DC_cjs.MailDeliveryList; }
|
|
118
118
|
});
|
|
119
119
|
Object.defineProperty(exports, "MailDocumentPicker", {
|
|
120
120
|
enumerable: true,
|
|
121
|
-
get: function () { return
|
|
121
|
+
get: function () { return chunkTXP2N3DC_cjs.MailDocumentPicker; }
|
|
122
122
|
});
|
|
123
123
|
Object.defineProperty(exports, "MailFlagButton", {
|
|
124
124
|
enumerable: true,
|
|
125
|
-
get: function () { return
|
|
125
|
+
get: function () { return chunkTXP2N3DC_cjs.MailFlagButton; }
|
|
126
126
|
});
|
|
127
127
|
Object.defineProperty(exports, "MailFolderTree", {
|
|
128
128
|
enumerable: true,
|
|
129
|
-
get: function () { return
|
|
129
|
+
get: function () { return chunkTXP2N3DC_cjs.MailFolderTree; }
|
|
130
130
|
});
|
|
131
131
|
Object.defineProperty(exports, "MailGrid", {
|
|
132
132
|
enumerable: true,
|
|
133
|
-
get: function () { return
|
|
133
|
+
get: function () { return chunkTXP2N3DC_cjs.MailGrid; }
|
|
134
134
|
});
|
|
135
135
|
Object.defineProperty(exports, "MailMessageContent", {
|
|
136
136
|
enumerable: true,
|
|
137
|
-
get: function () { return
|
|
137
|
+
get: function () { return chunkTXP2N3DC_cjs.MailMessageContent; }
|
|
138
138
|
});
|
|
139
139
|
Object.defineProperty(exports, "MailMessagePreview", {
|
|
140
140
|
enumerable: true,
|
|
141
|
-
get: function () { return
|
|
141
|
+
get: function () { return chunkTXP2N3DC_cjs.MailMessagePreview; }
|
|
142
142
|
});
|
|
143
143
|
Object.defineProperty(exports, "MailMessageView", {
|
|
144
144
|
enumerable: true,
|
|
145
|
-
get: function () { return
|
|
145
|
+
get: function () { return chunkTXP2N3DC_cjs.MailMessageView; }
|
|
146
146
|
});
|
|
147
147
|
Object.defineProperty(exports, "MemberBulkActions", {
|
|
148
148
|
enumerable: true,
|
|
149
|
-
get: function () { return
|
|
149
|
+
get: function () { return chunkTXP2N3DC_cjs.MemberBulkActions; }
|
|
150
150
|
});
|
|
151
151
|
Object.defineProperty(exports, "MemberListLoading", {
|
|
152
152
|
enumerable: true,
|
|
153
|
-
get: function () { return
|
|
153
|
+
get: function () { return chunkTXP2N3DC_cjs.MemberListLoading; }
|
|
154
154
|
});
|
|
155
155
|
Object.defineProperty(exports, "MemberMutedText", {
|
|
156
156
|
enumerable: true,
|
|
157
|
-
get: function () { return
|
|
157
|
+
get: function () { return chunkTXP2N3DC_cjs.MemberMutedText; }
|
|
158
158
|
});
|
|
159
159
|
Object.defineProperty(exports, "MemberNameCell", {
|
|
160
160
|
enumerable: true,
|
|
161
|
-
get: function () { return
|
|
161
|
+
get: function () { return chunkTXP2N3DC_cjs.MemberNameCell; }
|
|
162
162
|
});
|
|
163
163
|
Object.defineProperty(exports, "MemberRoleCell", {
|
|
164
164
|
enumerable: true,
|
|
165
|
-
get: function () { return
|
|
165
|
+
get: function () { return chunkTXP2N3DC_cjs.MemberRoleCell; }
|
|
166
166
|
});
|
|
167
167
|
Object.defineProperty(exports, "NEEDS_CONNECTION", {
|
|
168
168
|
enumerable: true,
|
|
169
|
-
get: function () { return
|
|
169
|
+
get: function () { return chunkTXP2N3DC_cjs.NEEDS_CONNECTION; }
|
|
170
170
|
});
|
|
171
171
|
Object.defineProperty(exports, "PlainMailBodyEditor", {
|
|
172
172
|
enumerable: true,
|
|
173
|
-
get: function () { return
|
|
173
|
+
get: function () { return chunkTXP2N3DC_cjs.PlainMailBodyEditor; }
|
|
174
174
|
});
|
|
175
175
|
Object.defineProperty(exports, "RecipientPicker", {
|
|
176
176
|
enumerable: true,
|
|
177
|
-
get: function () { return
|
|
177
|
+
get: function () { return chunkTXP2N3DC_cjs.RecipientPicker; }
|
|
178
178
|
});
|
|
179
179
|
Object.defineProperty(exports, "RoleSelect", {
|
|
180
180
|
enumerable: true,
|
|
181
|
-
get: function () { return
|
|
181
|
+
get: function () { return chunkTXP2N3DC_cjs.RoleSelect; }
|
|
182
182
|
});
|
|
183
183
|
Object.defineProperty(exports, "applyContactInviteResults", {
|
|
184
184
|
enumerable: true,
|
|
185
|
-
get: function () { return
|
|
185
|
+
get: function () { return chunkTXP2N3DC_cjs.applyContactInviteResults; }
|
|
186
186
|
});
|
|
187
187
|
Object.defineProperty(exports, "buildMailFolderTree", {
|
|
188
188
|
enumerable: true,
|
|
189
|
-
get: function () { return
|
|
189
|
+
get: function () { return chunkTXP2N3DC_cjs.buildMailFolderTree; }
|
|
190
190
|
});
|
|
191
191
|
Object.defineProperty(exports, "contactName", {
|
|
192
192
|
enumerable: true,
|
|
193
|
-
get: function () { return
|
|
193
|
+
get: function () { return chunkTXP2N3DC_cjs.contactName; }
|
|
194
194
|
});
|
|
195
195
|
Object.defineProperty(exports, "contactOutcomeMessage", {
|
|
196
196
|
enumerable: true,
|
|
197
|
-
get: function () { return
|
|
197
|
+
get: function () { return chunkTXP2N3DC_cjs.contactOutcomeMessage; }
|
|
198
198
|
});
|
|
199
199
|
Object.defineProperty(exports, "contactStatusLabel", {
|
|
200
200
|
enumerable: true,
|
|
201
|
-
get: function () { return
|
|
201
|
+
get: function () { return chunkTXP2N3DC_cjs.contactStatusLabel; }
|
|
202
202
|
});
|
|
203
203
|
Object.defineProperty(exports, "contactToForm", {
|
|
204
204
|
enumerable: true,
|
|
205
|
-
get: function () { return
|
|
205
|
+
get: function () { return chunkTXP2N3DC_cjs.contactToForm; }
|
|
206
206
|
});
|
|
207
207
|
Object.defineProperty(exports, "descendantFolderIds", {
|
|
208
208
|
enumerable: true,
|
|
209
|
-
get: function () { return
|
|
209
|
+
get: function () { return chunkTXP2N3DC_cjs.descendantFolderIds; }
|
|
210
210
|
});
|
|
211
211
|
Object.defineProperty(exports, "draftMailCompose", {
|
|
212
212
|
enumerable: true,
|
|
213
|
-
get: function () { return
|
|
213
|
+
get: function () { return chunkTXP2N3DC_cjs.draftMailCompose; }
|
|
214
214
|
});
|
|
215
215
|
Object.defineProperty(exports, "emailTokens", {
|
|
216
216
|
enumerable: true,
|
|
217
|
-
get: function () { return
|
|
217
|
+
get: function () { return chunkTXP2N3DC_cjs.emailTokens; }
|
|
218
218
|
});
|
|
219
219
|
Object.defineProperty(exports, "emptyMailCompose", {
|
|
220
220
|
enumerable: true,
|
|
221
|
-
get: function () { return
|
|
221
|
+
get: function () { return chunkTXP2N3DC_cjs.emptyMailCompose; }
|
|
222
222
|
});
|
|
223
223
|
Object.defineProperty(exports, "failContactInvites", {
|
|
224
224
|
enumerable: true,
|
|
225
|
-
get: function () { return
|
|
225
|
+
get: function () { return chunkTXP2N3DC_cjs.failContactInvites; }
|
|
226
226
|
});
|
|
227
227
|
Object.defineProperty(exports, "formToContactCard", {
|
|
228
228
|
enumerable: true,
|
|
229
|
-
get: function () { return
|
|
229
|
+
get: function () { return chunkTXP2N3DC_cjs.formToContactCard; }
|
|
230
230
|
});
|
|
231
231
|
Object.defineProperty(exports, "hasCalendarPart", {
|
|
232
232
|
enumerable: true,
|
|
233
|
-
get: function () { return
|
|
233
|
+
get: function () { return chunkTXP2N3DC_cjs.hasCalendarPart; }
|
|
234
234
|
});
|
|
235
235
|
Object.defineProperty(exports, "inviteEmail", {
|
|
236
236
|
enumerable: true,
|
|
237
|
-
get: function () { return
|
|
237
|
+
get: function () { return chunkTXP2N3DC_cjs.inviteEmail; }
|
|
238
238
|
});
|
|
239
239
|
Object.defineProperty(exports, "isInboxFolder", {
|
|
240
240
|
enumerable: true,
|
|
241
|
-
get: function () { return
|
|
241
|
+
get: function () { return chunkTXP2N3DC_cjs.isInboxFolder; }
|
|
242
242
|
});
|
|
243
243
|
Object.defineProperty(exports, "isInvitableEmail", {
|
|
244
244
|
enumerable: true,
|
|
245
|
-
get: function () { return
|
|
245
|
+
get: function () { return chunkTXP2N3DC_cjs.isInvitableEmail; }
|
|
246
246
|
});
|
|
247
247
|
Object.defineProperty(exports, "mailAddressLabel", {
|
|
248
248
|
enumerable: true,
|
|
249
|
-
get: function () { return
|
|
249
|
+
get: function () { return chunkTXP2N3DC_cjs.mailAddressLabel; }
|
|
250
250
|
});
|
|
251
251
|
Object.defineProperty(exports, "matchesContact", {
|
|
252
252
|
enumerable: true,
|
|
253
|
-
get: function () { return
|
|
253
|
+
get: function () { return chunkTXP2N3DC_cjs.matchesContact; }
|
|
254
254
|
});
|
|
255
255
|
Object.defineProperty(exports, "normalizeVCardDate", {
|
|
256
256
|
enumerable: true,
|
|
257
|
-
get: function () { return
|
|
257
|
+
get: function () { return chunkTXP2N3DC_cjs.normalizeVCardDate; }
|
|
258
258
|
});
|
|
259
259
|
Object.defineProperty(exports, "parseEmails", {
|
|
260
260
|
enumerable: true,
|
|
261
|
-
get: function () { return
|
|
261
|
+
get: function () { return chunkTXP2N3DC_cjs.parseEmails; }
|
|
262
262
|
});
|
|
263
263
|
Object.defineProperty(exports, "parseMailRecipients", {
|
|
264
264
|
enumerable: true,
|
|
265
|
-
get: function () { return
|
|
265
|
+
get: function () { return chunkTXP2N3DC_cjs.parseMailRecipients; }
|
|
266
266
|
});
|
|
267
267
|
Object.defineProperty(exports, "planContactInvites", {
|
|
268
268
|
enumerable: true,
|
|
269
|
-
get: function () { return
|
|
269
|
+
get: function () { return chunkTXP2N3DC_cjs.planContactInvites; }
|
|
270
270
|
});
|
|
271
271
|
Object.defineProperty(exports, "primaryEmail", {
|
|
272
272
|
enumerable: true,
|
|
273
|
-
get: function () { return
|
|
273
|
+
get: function () { return chunkTXP2N3DC_cjs.primaryEmail; }
|
|
274
274
|
});
|
|
275
275
|
Object.defineProperty(exports, "replyMailCompose", {
|
|
276
276
|
enumerable: true,
|
|
277
|
-
get: function () { return
|
|
277
|
+
get: function () { return chunkTXP2N3DC_cjs.replyMailCompose; }
|
|
278
278
|
});
|
|
279
279
|
Object.defineProperty(exports, "summarizeContactInvites", {
|
|
280
280
|
enumerable: true,
|
|
281
|
-
get: function () { return
|
|
281
|
+
get: function () { return chunkTXP2N3DC_cjs.summarizeContactInvites; }
|
|
282
282
|
});
|
|
283
283
|
Object.defineProperty(exports, "summarizeImport", {
|
|
284
284
|
enumerable: true,
|
|
285
|
-
get: function () { return
|
|
285
|
+
get: function () { return chunkTXP2N3DC_cjs.summarizeImport; }
|
|
286
286
|
});
|
|
287
287
|
Object.defineProperty(exports, "summarizeUnsentInvites", {
|
|
288
288
|
enumerable: true,
|
|
289
|
-
get: function () { return
|
|
289
|
+
get: function () { return chunkTXP2N3DC_cjs.summarizeUnsentInvites; }
|
|
290
290
|
});
|
|
291
291
|
Object.defineProperty(exports, "toAddContactsRow", {
|
|
292
292
|
enumerable: true,
|
|
293
|
-
get: function () { return
|
|
293
|
+
get: function () { return chunkTXP2N3DC_cjs.toAddContactsRow; }
|
|
294
294
|
});
|
|
295
295
|
Object.defineProperty(exports, "toAddContactsRows", {
|
|
296
296
|
enumerable: true,
|
|
297
|
-
get: function () { return
|
|
297
|
+
get: function () { return chunkTXP2N3DC_cjs.toAddContactsRows; }
|
|
298
298
|
});
|
|
299
299
|
Object.defineProperty(exports, "toggleMailFolder", {
|
|
300
300
|
enumerable: true,
|
|
301
|
-
get: function () { return
|
|
301
|
+
get: function () { return chunkTXP2N3DC_cjs.toggleMailFolder; }
|
|
302
302
|
});
|
|
303
303
|
Object.defineProperty(exports, "validateContactForm", {
|
|
304
304
|
enumerable: true,
|
|
305
|
-
get: function () { return
|
|
305
|
+
get: function () { return chunkTXP2N3DC_cjs.validateContactForm; }
|
|
306
306
|
});
|
|
307
307
|
Object.defineProperty(exports, "DEFAULT_SHARE_CONTROL_LABELS", {
|
|
308
308
|
enumerable: true,
|
|
309
|
-
get: function () { return
|
|
309
|
+
get: function () { return chunkTG2GM7WJ_cjs.DEFAULT_SHARE_CONTROL_LABELS; }
|
|
310
310
|
});
|
|
311
311
|
Object.defineProperty(exports, "ShareControl", {
|
|
312
312
|
enumerable: true,
|
|
313
|
-
get: function () { return
|
|
313
|
+
get: function () { return chunkTG2GM7WJ_cjs.ShareControl; }
|
|
314
314
|
});
|
|
315
315
|
Object.defineProperty(exports, "DEFAULT_DM_INVITE_CHIP_LABELS", {
|
|
316
316
|
enumerable: true,
|
|
@@ -1,7 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { Share2 } from "lucide-react";
|
|
4
|
-
import {
|
|
4
|
+
import {
|
|
5
|
+
Button,
|
|
6
|
+
Tooltip,
|
|
7
|
+
TooltipContent,
|
|
8
|
+
TooltipTrigger,
|
|
9
|
+
cn,
|
|
10
|
+
SharingEntity
|
|
11
|
+
} from "@arbidocs/react/ui";
|
|
5
12
|
const DEFAULT_SHARE_CONTROL_LABELS = {
|
|
6
13
|
share: "Share",
|
|
7
14
|
shared: "Shared",
|
|
@@ -57,7 +64,8 @@ function ShareControl({
|
|
|
57
64
|
/* @__PURE__ */ jsx(TooltipTrigger, { asChild: true, onFocusCapture: (e) => e.stopPropagation(), children: /* @__PURE__ */ jsx("span", { className: "inline-flex", children: button }) }),
|
|
58
65
|
/* @__PURE__ */ jsx(TooltipContent, { children: tooltipText })
|
|
59
66
|
] }) : button,
|
|
60
|
-
showState && /* @__PURE__ */ jsx(
|
|
67
|
+
showState && state !== "mixed" && /* @__PURE__ */ jsx(SharingEntity, { shared: state === "shared", "data-testid": stateTestId }),
|
|
68
|
+
showState && state === "mixed" && /* @__PURE__ */ jsx(
|
|
61
69
|
"span",
|
|
62
70
|
{
|
|
63
71
|
"data-slot": "share-state",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/collaboration/sharing/ShareControl.tsx"],
|
|
4
|
-
"sourcesContent": ["import { Share2 } from 'lucide-react'\nimport {
|
|
5
|
-
"mappings": ";
|
|
4
|
+
"sourcesContent": ["import { Share2 } from 'lucide-react'\nimport {\n Button,\n Tooltip,\n TooltipContent,\n TooltipTrigger,\n cn,\n SharingEntity,\n} from '@arbidocs/react/ui'\nimport { testIdOr } from '../../chat/test-id'\n\n/** Visibility of the selection: every item shared, none shared, or a mix. */\nexport type ShareState = 'shared' | 'private' | 'mixed'\n\n/** Every fixed string of the share control. Pass a partial `labels` to translate or reword. */\nexport interface ShareControlLabels {\n share: string\n shared: string\n private: string\n mixed: string\n}\n\nexport const DEFAULT_SHARE_CONTROL_LABELS: ShareControlLabels = {\n share: 'Share',\n shared: 'Shared',\n private: 'Private',\n mixed: 'Partly shared',\n}\n\nexport interface ShareControlProps {\n state: ShareState\n /** `true` = make visible to the workspace, `false` = make private again. */\n onToggle: (shouldShare: boolean) => void\n disabled?: boolean\n /** Tooltip while disabled (why the user cannot change visibility). */\n disabledTooltip?: string\n /** What a click does in the current state (tooltip). Falls back to the label. */\n tooltip?: string\n /** `outline` for a header, `ghost` inside a floating bar. */\n variant?: 'outline' | 'ghost'\n /** Icon-only button (narrow headers); the accessible name stays \"Share\". */\n compact?: boolean\n /** Show the muted state pill (\"Shared\" / \"Private\") after the button. */\n showState?: boolean\n className?: string\n labels?: Partial<ShareControlLabels>\n /** Test id of the button (the app passes the current id). */\n testId?: string\n /** Test id of the state pill. */\n stateTestId?: string\n}\n\n/**\n * Share control: an outline (or ghost) \"Share\" button that flips visibility, with the current\n * state spelled out in a muted pill. Neutral tones only: sharing is a plain state, not an AI\n * moment, so there is no accent or cyan switch that could read as \"on\" while its label reads \"off\".\n */\nexport function ShareControl({\n state,\n onToggle,\n disabled = false,\n disabledTooltip,\n tooltip,\n variant = 'outline',\n compact = false,\n showState = true,\n className,\n labels,\n testId,\n stateTestId,\n}: ShareControlProps) {\n const l = { ...DEFAULT_SHARE_CONTROL_LABELS, ...labels }\n const stateLabel = state === 'shared' ? l.shared : state === 'mixed' ? l.mixed : l.private\n const tooltipText = disabled ? disabledTooltip : (tooltip ?? l.share)\n\n const button = (\n <Button\n type=\"button\"\n variant={variant}\n size={compact ? 'icon' : 'sm'}\n disabled={disabled}\n aria-label={l.share}\n aria-pressed={state === 'mixed' ? 'mixed' : state === 'shared'}\n data-slot=\"share-button\"\n data-testid={testId}\n onClick={(e) => {\n e.stopPropagation()\n onToggle(state !== 'shared')\n }}\n className=\"pointer-coarse:min-h-11 pointer-coarse:min-w-11\"\n >\n <Share2 className=\"size-4\" />\n {!compact && <span>{l.share}</span>}\n </Button>\n )\n\n return (\n <div\n data-slot=\"share-control\"\n className={cn('inline-flex shrink-0 items-center gap-2', className)}\n >\n {tooltipText ? (\n <Tooltip>\n {/* A disabled button swallows pointer events, so the tooltip hangs off a wrapper. */}\n <TooltipTrigger asChild onFocusCapture={(e) => e.stopPropagation()}>\n <span className=\"inline-flex\">{button}</span>\n </TooltipTrigger>\n <TooltipContent>{tooltipText}</TooltipContent>\n </Tooltip>\n ) : (\n button\n )}\n {showState && state !== 'mixed' && (\n <SharingEntity shared={state === 'shared'} data-testid={stateTestId} />\n )}\n {showState && state === 'mixed' && (\n <span\n data-slot=\"share-state\"\n data-state={state}\n data-testid={stateTestId}\n className=\"inline-flex h-6 items-center rounded-full bg-muted px-2 text-xs font-medium text-muted-foreground\"\n >\n {stateLabel}\n </span>\n )}\n </div>\n )\n}\n"],
|
|
5
|
+
"mappings": ";AA4EI,SAeE,KAfF;AA5EJ,SAAS,cAAc;AACvB;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AAcA,MAAM,+BAAmD;AAAA,EAC9D,OAAO;AAAA,EACP,QAAQ;AAAA,EACR,SAAS;AAAA,EACT,OAAO;AACT;AA8BO,SAAS,aAAa;AAAA,EAC3B;AAAA,EACA;AAAA,EACA,WAAW;AAAA,EACX;AAAA,EACA;AAAA,EACA,UAAU;AAAA,EACV,UAAU;AAAA,EACV,YAAY;AAAA,EACZ;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,GAAsB;AACpB,QAAM,IAAI,EAAE,GAAG,8BAA8B,GAAG,OAAO;AACvD,QAAM,aAAa,UAAU,WAAW,EAAE,SAAS,UAAU,UAAU,EAAE,QAAQ,EAAE;AACnF,QAAM,cAAc,WAAW,kBAAmB,WAAW,EAAE;AAE/D,QAAM,SACJ;AAAA,IAAC;AAAA;AAAA,MACC,MAAK;AAAA,MACL;AAAA,MACA,MAAM,UAAU,SAAS;AAAA,MACzB;AAAA,MACA,cAAY,EAAE;AAAA,MACd,gBAAc,UAAU,UAAU,UAAU,UAAU;AAAA,MACtD,aAAU;AAAA,MACV,eAAa;AAAA,MACb,SAAS,CAAC,MAAM;AACd,UAAE,gBAAgB;AAClB,iBAAS,UAAU,QAAQ;AAAA,MAC7B;AAAA,MACA,WAAU;AAAA,MAEV;AAAA,4BAAC,UAAO,WAAU,UAAS;AAAA,QAC1B,CAAC,WAAW,oBAAC,UAAM,YAAE,OAAM;AAAA;AAAA;AAAA,EAC9B;AAGF,SACE;AAAA,IAAC;AAAA;AAAA,MACC,aAAU;AAAA,MACV,WAAW,GAAG,2CAA2C,SAAS;AAAA,MAEjE;AAAA,sBACC,qBAAC,WAEC;AAAA,8BAAC,kBAAe,SAAO,MAAC,gBAAgB,CAAC,MAAM,EAAE,gBAAgB,GAC/D,8BAAC,UAAK,WAAU,eAAe,kBAAO,GACxC;AAAA,UACA,oBAAC,kBAAgB,uBAAY;AAAA,WAC/B,IAEA;AAAA,QAED,aAAa,UAAU,WACtB,oBAAC,iBAAc,QAAQ,UAAU,UAAU,eAAa,aAAa;AAAA,QAEtE,aAAa,UAAU,WACtB;AAAA,UAAC;AAAA;AAAA,YACC,aAAU;AAAA,YACV,cAAY;AAAA,YACZ,eAAa;AAAA,YACb,WAAU;AAAA,YAET;AAAA;AAAA,QACH;AAAA;AAAA;AAAA,EAEJ;AAEJ;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Generic grid cell renderer for shared/private visibility state.
|
|
5
5
|
* Works with any entity that has an external_id and shared/is_shared field.
|
|
6
|
-
*
|
|
6
|
+
* Shown as the Sharing badge (Only me / Workspace); clicking it toggles.
|
|
7
7
|
*/
|
|
8
8
|
export interface SharedItem {
|
|
9
9
|
external_id: string;
|
|
@@ -18,9 +18,7 @@ export interface SharedCellProps<T extends SharedItem> {
|
|
|
18
18
|
/** Replaces the default tooltips (e.g. documents say who can see the file). */
|
|
19
19
|
tooltipActive?: string;
|
|
20
20
|
tooltipInactive?: string;
|
|
21
|
-
/** The host's name for a workspace, used in the default tooltips. */
|
|
22
|
-
workspaceLabel?: string;
|
|
23
21
|
}
|
|
24
|
-
declare function SharedCellComponent<T extends SharedItem>({ item, onToggle, disabled, disabledTooltip, tooltipActive, tooltipInactive,
|
|
22
|
+
declare function SharedCellComponent<T extends SharedItem>({ item, onToggle, disabled, disabledTooltip, tooltipActive, tooltipInactive, }: SharedCellProps<T>): import("react").JSX.Element;
|
|
25
23
|
export declare const SharedCell: typeof SharedCellComponent;
|
|
26
24
|
export {};
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
import { SharingEntity } from "@arbidocs/react/ui";
|
|
3
4
|
import { memo } from "react";
|
|
4
|
-
import { VisibilityToggle } from "@arbidocs/react/ui";
|
|
5
5
|
function SharedCellComponent({
|
|
6
6
|
item,
|
|
7
7
|
onToggle,
|
|
8
8
|
disabled = false,
|
|
9
9
|
disabledTooltip,
|
|
10
10
|
tooltipActive,
|
|
11
|
-
tooltipInactive
|
|
12
|
-
workspaceLabel
|
|
11
|
+
tooltipInactive
|
|
13
12
|
}) {
|
|
14
13
|
const isShared = item.shared ?? item.is_shared ?? false;
|
|
15
14
|
return /* @__PURE__ */ jsx(
|
|
@@ -18,16 +17,14 @@ function SharedCellComponent({
|
|
|
18
17
|
className: "flex justify-center items-center h-full",
|
|
19
18
|
"data-testid": `shared-cell-${item.external_id}`,
|
|
20
19
|
children: /* @__PURE__ */ jsx(
|
|
21
|
-
|
|
20
|
+
SharingEntity,
|
|
22
21
|
{
|
|
23
|
-
|
|
22
|
+
shared: isShared,
|
|
24
23
|
onToggle,
|
|
25
24
|
disabled,
|
|
26
25
|
disabledTooltip,
|
|
27
|
-
showLabel: false,
|
|
28
26
|
tooltipActive,
|
|
29
27
|
tooltipInactive,
|
|
30
|
-
workspaceLabel,
|
|
31
28
|
"data-testid": `${isShared ? "active-share-button" : "inactive-share-button"}`
|
|
32
29
|
}
|
|
33
30
|
)
|
|
@@ -42,7 +39,6 @@ function arePropsEqual(prevProps, nextProps) {
|
|
|
42
39
|
if (prevProps.disabledTooltip !== nextProps.disabledTooltip) return false;
|
|
43
40
|
if (prevProps.tooltipActive !== nextProps.tooltipActive) return false;
|
|
44
41
|
if (prevProps.tooltipInactive !== nextProps.tooltipInactive) return false;
|
|
45
|
-
if (prevProps.workspaceLabel !== nextProps.workspaceLabel) return false;
|
|
46
42
|
return true;
|
|
47
43
|
}
|
|
48
44
|
const SharedCell = memo(SharedCellComponent, arePropsEqual);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/components/SharedCell.tsx"],
|
|
4
|
-
"sourcesContent": ["/**\n * SharedCell Component\n *\n * Generic grid cell renderer for shared/private visibility state.\n * Works with any entity that has an external_id and shared/is_shared field.\n *
|
|
5
|
-
"mappings": ";
|
|
4
|
+
"sourcesContent": ["/**\n * SharedCell Component\n *\n * Generic grid cell renderer for shared/private visibility state.\n * Works with any entity that has an external_id and shared/is_shared field.\n * Shown as the Sharing badge (Only me / Workspace); clicking it toggles.\n */\n\nimport { SharingEntity } from '@arbidocs/react/ui'\nimport { memo } from 'react'\n\nexport interface SharedItem {\n external_id: string\n shared?: boolean | null\n is_shared?: boolean | null\n}\n\nexport interface SharedCellProps<T extends SharedItem> {\n item: T\n onToggle: (shouldShare: boolean) => void\n disabled?: boolean\n disabledTooltip?: string\n /** Replaces the default tooltips (e.g. documents say who can see the file). */\n tooltipActive?: string\n tooltipInactive?: string\n}\n\nfunction SharedCellComponent<T extends SharedItem>({\n item,\n onToggle,\n disabled = false,\n disabledTooltip,\n tooltipActive,\n tooltipInactive,\n}: SharedCellProps<T>) {\n const isShared = item.shared ?? item.is_shared ?? false\n\n return (\n <div\n className=\"flex justify-center items-center h-full\"\n data-testid={`shared-cell-${item.external_id}`}\n >\n <SharingEntity\n shared={isShared}\n onToggle={onToggle}\n disabled={disabled}\n disabledTooltip={disabledTooltip}\n tooltipActive={tooltipActive}\n tooltipInactive={tooltipInactive}\n data-testid={`${isShared ? 'active-share-button' : 'inactive-share-button'}`}\n />\n </div>\n )\n}\n\n// Type-safe memo wrapper\nfunction arePropsEqual<T extends SharedItem>(\n prevProps: SharedCellProps<T>,\n nextProps: SharedCellProps<T>\n): boolean {\n if (prevProps.item.external_id !== nextProps.item.external_id) return false\n if (prevProps.item.shared !== nextProps.item.shared) return false\n if (prevProps.item.is_shared !== nextProps.item.is_shared) return false\n if (prevProps.disabled !== nextProps.disabled) return false\n if (prevProps.disabledTooltip !== nextProps.disabledTooltip) return false\n if (prevProps.tooltipActive !== nextProps.tooltipActive) return false\n if (prevProps.tooltipInactive !== nextProps.tooltipInactive) return false\n // Note: onToggle is not compared as it should be stable (useCallback)\n return true\n}\n\nexport const SharedCell = memo(SharedCellComponent, arePropsEqual) as typeof SharedCellComponent\n"],
|
|
5
|
+
"mappings": ";AA0CM;AAlCN,SAAS,qBAAqB;AAC9B,SAAS,YAAY;AAkBrB,SAAS,oBAA0C;AAAA,EACjD;AAAA,EACA;AAAA,EACA,WAAW;AAAA,EACX;AAAA,EACA;AAAA,EACA;AACF,GAAuB;AACrB,QAAM,WAAW,KAAK,UAAU,KAAK,aAAa;AAElD,SACE;AAAA,IAAC;AAAA;AAAA,MACC,WAAU;AAAA,MACV,eAAa,eAAe,KAAK,WAAW;AAAA,MAE5C;AAAA,QAAC;AAAA;AAAA,UACC,QAAQ;AAAA,UACR;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA,eAAa,GAAG,WAAW,wBAAwB,uBAAuB;AAAA;AAAA,MAC5E;AAAA;AAAA,EACF;AAEJ;AAGA,SAAS,cACP,WACA,WACS;AACT,MAAI,UAAU,KAAK,gBAAgB,UAAU,KAAK,YAAa,QAAO;AACtE,MAAI,UAAU,KAAK,WAAW,UAAU,KAAK,OAAQ,QAAO;AAC5D,MAAI,UAAU,KAAK,cAAc,UAAU,KAAK,UAAW,QAAO;AAClE,MAAI,UAAU,aAAa,UAAU,SAAU,QAAO;AACtD,MAAI,UAAU,oBAAoB,UAAU,gBAAiB,QAAO;AACpE,MAAI,UAAU,kBAAkB,UAAU,cAAe,QAAO;AAChE,MAAI,UAAU,oBAAoB,UAAU,gBAAiB,QAAO;AAEpE,SAAO;AACT;AAEO,MAAM,aAAa,KAAK,qBAAqB,aAAa;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The app's zoom control: a small bordered pill with a zoom-out button and a slider (the files
|
|
3
|
+
* explorer's tile size, a presentation clip's zoom…), optionally followed by the value.
|
|
4
|
+
*/
|
|
5
|
+
import type { ReactNode } from 'react';
|
|
6
|
+
export interface ZoomSliderProps {
|
|
7
|
+
value: number;
|
|
8
|
+
min: number;
|
|
9
|
+
max: number;
|
|
10
|
+
step?: number;
|
|
11
|
+
/** How far the zoom-out button steps (default `step`). */
|
|
12
|
+
zoomOutStep?: number;
|
|
13
|
+
onChange: (value: number) => void;
|
|
14
|
+
/** The slider's accessible name (e.g. "Tile size"). */
|
|
15
|
+
label: string;
|
|
16
|
+
/** The zoom-out button's accessible name. Default "Zoom out". */
|
|
17
|
+
zoomOutLabel?: string;
|
|
18
|
+
/** Shown after the slider (e.g. "150%"). */
|
|
19
|
+
valueLabel?: ReactNode;
|
|
20
|
+
className?: string;
|
|
21
|
+
sliderClassName?: string;
|
|
22
|
+
testId?: string;
|
|
23
|
+
zoomOutTestId?: string;
|
|
24
|
+
}
|
|
25
|
+
export declare function ZoomSlider({ value, min, max, step, zoomOutStep, onChange, label, zoomOutLabel, valueLabel, className, sliderClassName, testId, zoomOutTestId, }: ZoomSliderProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { ZoomOut } from "lucide-react";
|
|
4
|
+
import { Slider, cn } from "@arbidocs/react/ui";
|
|
5
|
+
function ZoomSlider({
|
|
6
|
+
value,
|
|
7
|
+
min,
|
|
8
|
+
max,
|
|
9
|
+
step = 1,
|
|
10
|
+
zoomOutStep = step,
|
|
11
|
+
onChange,
|
|
12
|
+
label,
|
|
13
|
+
zoomOutLabel = "Zoom out",
|
|
14
|
+
valueLabel,
|
|
15
|
+
className,
|
|
16
|
+
sliderClassName,
|
|
17
|
+
testId,
|
|
18
|
+
zoomOutTestId
|
|
19
|
+
}) {
|
|
20
|
+
return /* @__PURE__ */ jsxs(
|
|
21
|
+
"div",
|
|
22
|
+
{
|
|
23
|
+
className: cn("flex h-7 items-center gap-1.5 rounded-md border border-input px-2", className),
|
|
24
|
+
children: [
|
|
25
|
+
/* @__PURE__ */ jsx(
|
|
26
|
+
"button",
|
|
27
|
+
{
|
|
28
|
+
type: "button",
|
|
29
|
+
"aria-label": zoomOutLabel,
|
|
30
|
+
title: zoomOutLabel,
|
|
31
|
+
"data-testid": zoomOutTestId,
|
|
32
|
+
onClick: () => onChange(Math.max(min, value - zoomOutStep)),
|
|
33
|
+
disabled: value <= min,
|
|
34
|
+
className: "text-muted-foreground hover:text-foreground disabled:opacity-40 pointer-coarse:-m-[15px] pointer-coarse:p-[15px]",
|
|
35
|
+
children: /* @__PURE__ */ jsx(ZoomOut, { className: "h-3.5 w-3.5" })
|
|
36
|
+
}
|
|
37
|
+
),
|
|
38
|
+
/* @__PURE__ */ jsx(
|
|
39
|
+
Slider,
|
|
40
|
+
{
|
|
41
|
+
value: [value],
|
|
42
|
+
min,
|
|
43
|
+
max,
|
|
44
|
+
step,
|
|
45
|
+
onValueChange: ([next]) => onChange(next),
|
|
46
|
+
"aria-label": label,
|
|
47
|
+
"data-testid": testId,
|
|
48
|
+
className: cn("w-20", sliderClassName)
|
|
49
|
+
}
|
|
50
|
+
),
|
|
51
|
+
valueLabel !== void 0 && /* @__PURE__ */ jsx("span", { className: "shrink-0 text-xs tabular-nums text-muted-foreground", children: valueLabel })
|
|
52
|
+
]
|
|
53
|
+
}
|
|
54
|
+
);
|
|
55
|
+
}
|
|
56
|
+
export {
|
|
57
|
+
ZoomSlider
|
|
58
|
+
};
|
|
59
|
+
//# sourceMappingURL=ZoomSlider.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/components/ZoomSlider.tsx"],
|
|
4
|
+
"sourcesContent": ["/**\n * The app's zoom control: a small bordered pill with a zoom-out button and a slider (the files\n * explorer's tile size, a presentation clip's zoom\u2026), optionally followed by the value.\n */\n\nimport type { ReactNode } from 'react'\nimport { ZoomOut } from 'lucide-react'\nimport { Slider, cn } from '@arbidocs/react/ui'\n\nexport interface ZoomSliderProps {\n value: number\n min: number\n max: number\n step?: number\n /** How far the zoom-out button steps (default `step`). */\n zoomOutStep?: number\n onChange: (value: number) => void\n /** The slider's accessible name (e.g. \"Tile size\"). */\n label: string\n /** The zoom-out button's accessible name. Default \"Zoom out\". */\n zoomOutLabel?: string\n /** Shown after the slider (e.g. \"150%\"). */\n valueLabel?: ReactNode\n className?: string\n sliderClassName?: string\n testId?: string\n zoomOutTestId?: string\n}\n\nexport function ZoomSlider({\n value,\n min,\n max,\n step = 1,\n zoomOutStep = step,\n onChange,\n label,\n zoomOutLabel = 'Zoom out',\n valueLabel,\n className,\n sliderClassName,\n testId,\n zoomOutTestId,\n}: ZoomSliderProps) {\n return (\n <div\n className={cn('flex h-7 items-center gap-1.5 rounded-md border border-input px-2', className)}\n >\n <button\n type=\"button\"\n aria-label={zoomOutLabel}\n title={zoomOutLabel}\n data-testid={zoomOutTestId}\n onClick={() => onChange(Math.max(min, value - zoomOutStep))}\n disabled={value <= min}\n className=\"text-muted-foreground hover:text-foreground disabled:opacity-40 pointer-coarse:-m-[15px] pointer-coarse:p-[15px]\"\n >\n <ZoomOut className=\"h-3.5 w-3.5\" />\n </button>\n <Slider\n value={[value]}\n min={min}\n max={max}\n step={step}\n onValueChange={([next]) => onChange(next)}\n aria-label={label}\n data-testid={testId}\n className={cn('w-20', sliderClassName)}\n />\n {valueLabel !== undefined && (\n <span className=\"shrink-0 text-xs tabular-nums text-muted-foreground\">{valueLabel}</span>\n )}\n </div>\n )\n}\n"],
|
|
5
|
+
"mappings": ";AA6CI,SAYI,KAZJ;AAvCJ,SAAS,eAAe;AACxB,SAAS,QAAQ,UAAU;AAsBpB,SAAS,WAAW;AAAA,EACzB;AAAA,EACA;AAAA,EACA;AAAA,EACA,OAAO;AAAA,EACP,cAAc;AAAA,EACd;AAAA,EACA;AAAA,EACA,eAAe;AAAA,EACf;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,GAAoB;AAClB,SACE;AAAA,IAAC;AAAA;AAAA,MACC,WAAW,GAAG,qEAAqE,SAAS;AAAA,MAE5F;AAAA;AAAA,UAAC;AAAA;AAAA,YACC,MAAK;AAAA,YACL,cAAY;AAAA,YACZ,OAAO;AAAA,YACP,eAAa;AAAA,YACb,SAAS,MAAM,SAAS,KAAK,IAAI,KAAK,QAAQ,WAAW,CAAC;AAAA,YAC1D,UAAU,SAAS;AAAA,YACnB,WAAU;AAAA,YAEV,8BAAC,WAAQ,WAAU,eAAc;AAAA;AAAA,QACnC;AAAA,QACA;AAAA,UAAC;AAAA;AAAA,YACC,OAAO,CAAC,KAAK;AAAA,YACb;AAAA,YACA;AAAA,YACA;AAAA,YACA,eAAe,CAAC,CAAC,IAAI,MAAM,SAAS,IAAI;AAAA,YACxC,cAAY;AAAA,YACZ,eAAa;AAAA,YACb,WAAW,GAAG,QAAQ,eAAe;AAAA;AAAA,QACvC;AAAA,QACC,eAAe,UACd,oBAAC,UAAK,WAAU,uDAAuD,sBAAW;AAAA;AAAA;AAAA,EAEtF;AAEJ;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|