@arbidocs/blocks 0.5.182 → 0.5.184
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 +30 -0
- package/dist/{ClippingPdfViewer-D5BYHEAH.cjs → ClippingPdfViewer-Z6L5DZW5.cjs} +4 -4
- package/dist/{ClippingPdfViewer-D5BYHEAH.cjs.map → ClippingPdfViewer-Z6L5DZW5.cjs.map} +1 -1
- package/dist/{ConnectedCallDock-C5UPUMMJ.cjs → ConnectedCallDock-CF7KF5KM.cjs} +6 -6
- package/dist/{ConnectedCallDock-C5UPUMMJ.cjs.map → ConnectedCallDock-CF7KF5KM.cjs.map} +1 -1
- package/dist/{ConnectedCallRoom-SEMH4DSA.cjs → ConnectedCallRoom-NQOE2RYD.cjs} +6 -6
- package/dist/{ConnectedCallRoom-SEMH4DSA.cjs.map → ConnectedCallRoom-NQOE2RYD.cjs.map} +1 -1
- package/dist/{ConnectedNativeDocxComparison-3MRTTNR2.cjs → ConnectedNativeDocxComparison-2YMF257D.cjs} +12 -11
- package/dist/{ConnectedNativeDocxComparison-3MRTTNR2.cjs.map → ConnectedNativeDocxComparison-2YMF257D.cjs.map} +1 -1
- package/dist/ConnectedPresentation-LNDESKYE.cjs +1 -1
- package/dist/{ConnectedSlidesTab-LEA5OW75.cjs → ConnectedSlidesTab-SYDDGJWM.cjs} +3 -3
- package/dist/{ConnectedSlidesTab-LEA5OW75.cjs.map → ConnectedSlidesTab-SYDDGJWM.cjs.map} +1 -1
- package/dist/{ConnectedStreamedWordArtifact-HNTS6HS4.cjs → ConnectedStreamedWordArtifact-3K5WTQMZ.cjs} +12 -11
- package/dist/{ConnectedStreamedWordArtifact-HNTS6HS4.cjs.map → ConnectedStreamedWordArtifact-3K5WTQMZ.cjs.map} +1 -1
- package/dist/{DocumentReviewCard-RPHIQZ2Y.cjs → DocumentReviewCard-3NNHDWG3.cjs} +17 -15
- package/dist/DocumentReviewCard-3NNHDWG3.cjs.map +1 -0
- package/dist/{FilesViewerDialog-PZ5H435S.cjs → FilesViewerDialog-OKLWGMIO.cjs} +23 -21
- package/dist/FilesViewerDialog-OKLWGMIO.cjs.map +1 -0
- package/dist/{NativeDocxEditor-T7FSMKG3.cjs → NativeDocxEditor-JJQJEYQD.cjs} +8 -7
- package/dist/{NativeDocxEditor-T7FSMKG3.cjs.map → NativeDocxEditor-JJQJEYQD.cjs.map} +1 -1
- package/dist/{WorkspaceTableView-QT63XYII.cjs → WorkspaceTableView-LGDLG3TX.cjs} +8 -8
- package/dist/{WorkspaceTableView-QT63XYII.cjs.map → WorkspaceTableView-LGDLG3TX.cjs.map} +1 -1
- package/dist/agents/index.cjs +164 -164
- package/dist/{ai-XIT4MY3S.cjs → ai-CTJWECJ5.cjs} +14 -14
- package/dist/ai-CTJWECJ5.cjs.map +1 -0
- package/dist/calls/index.cjs +24 -24
- package/dist/chat/index.cjs +30 -30
- package/dist/{chunk-GLFMRQBT.cjs → chunk-3J4R2QFL.cjs} +5 -5
- package/dist/{chunk-GLFMRQBT.cjs.map → chunk-3J4R2QFL.cjs.map} +1 -1
- package/dist/{chunk-DDWLMYRO.cjs → chunk-4XKROAMO.cjs} +8 -3
- package/dist/chunk-4XKROAMO.cjs.map +1 -0
- package/dist/{chunk-ADMNU2CR.cjs → chunk-66IOCKWS.cjs} +37 -10
- package/dist/chunk-66IOCKWS.cjs.map +1 -0
- package/dist/{chunk-L3MYUPSH.cjs → chunk-6AFAYGJW.cjs} +5 -5
- package/dist/{chunk-L3MYUPSH.cjs.map → chunk-6AFAYGJW.cjs.map} +1 -1
- package/dist/{chunk-2D5GZMSK.cjs → chunk-6RYDZ2PS.cjs} +44 -31
- package/dist/chunk-6RYDZ2PS.cjs.map +1 -0
- package/dist/chunk-76S6WTEC.cjs +39 -0
- package/dist/chunk-76S6WTEC.cjs.map +1 -0
- package/dist/{chunk-CYMAF656.cjs → chunk-7YALMXGZ.cjs} +39 -6
- package/dist/chunk-7YALMXGZ.cjs.map +1 -0
- package/dist/{chunk-TJY7XPDE.cjs → chunk-CWECDS4I.cjs} +4 -95
- package/dist/chunk-CWECDS4I.cjs.map +1 -0
- package/dist/{chunk-S4KKJX3G.cjs → chunk-E4CSBOXP.cjs} +32 -32
- package/dist/{chunk-S4KKJX3G.cjs.map → chunk-E4CSBOXP.cjs.map} +1 -1
- package/dist/{chunk-TQATDAJV.cjs → chunk-EBRD3IUG.cjs} +4 -4
- package/dist/{chunk-TQATDAJV.cjs.map → chunk-EBRD3IUG.cjs.map} +1 -1
- package/dist/{chunk-A4HOEGDI.cjs → chunk-ER55JOJV.cjs} +4 -4
- package/dist/{chunk-A4HOEGDI.cjs.map → chunk-ER55JOJV.cjs.map} +1 -1
- package/dist/{chunk-POUMLXMJ.cjs → chunk-FTSXCBUO.cjs} +6 -6
- package/dist/{chunk-POUMLXMJ.cjs.map → chunk-FTSXCBUO.cjs.map} +1 -1
- package/dist/chunk-GISMY7J7.cjs +99 -0
- package/dist/chunk-GISMY7J7.cjs.map +1 -0
- package/dist/{chunk-A7MGQMOV.cjs → chunk-H4N6BZNU.cjs} +3 -3
- package/dist/{chunk-A7MGQMOV.cjs.map → chunk-H4N6BZNU.cjs.map} +1 -1
- package/dist/{chunk-G2B2BWE5.cjs → chunk-HGQGXY5Q.cjs} +4 -4
- package/dist/{chunk-G2B2BWE5.cjs.map → chunk-HGQGXY5Q.cjs.map} +1 -1
- package/dist/{chunk-7H7KIJW2.cjs → chunk-HQ6SK34T.cjs} +3 -3
- package/dist/{chunk-7H7KIJW2.cjs.map → chunk-HQ6SK34T.cjs.map} +1 -1
- package/dist/chunk-HUAABZ2C.cjs +571 -0
- package/dist/chunk-HUAABZ2C.cjs.map +1 -0
- package/dist/{chunk-ICZSVCDT.cjs → chunk-IM6R7DRQ.cjs} +5 -5
- package/dist/{chunk-ICZSVCDT.cjs.map → chunk-IM6R7DRQ.cjs.map} +1 -1
- package/dist/{chunk-LYDSETR7.cjs → chunk-JEHGTPS2.cjs} +3 -3
- package/dist/{chunk-LYDSETR7.cjs.map → chunk-JEHGTPS2.cjs.map} +1 -1
- package/dist/{chunk-4AT2LJ2H.cjs → chunk-K2XLEOGQ.cjs} +6 -6
- package/dist/{chunk-4AT2LJ2H.cjs.map → chunk-K2XLEOGQ.cjs.map} +1 -1
- package/dist/{chunk-MWHVETKN.cjs → chunk-LIJB6XOR.cjs} +47 -7
- package/dist/chunk-LIJB6XOR.cjs.map +1 -0
- package/dist/{chunk-PJ5OQ5VB.cjs → chunk-LNYICHFJ.cjs} +23 -23
- package/dist/{chunk-PJ5OQ5VB.cjs.map → chunk-LNYICHFJ.cjs.map} +1 -1
- package/dist/{chunk-YC72ZCV4.cjs → chunk-LQ5XVFLV.cjs} +149 -92
- package/dist/chunk-LQ5XVFLV.cjs.map +1 -0
- package/dist/{chunk-UC6Z7E6C.cjs → chunk-LRBX4VIG.cjs} +4 -4
- package/dist/{chunk-UC6Z7E6C.cjs.map → chunk-LRBX4VIG.cjs.map} +1 -1
- package/dist/{chunk-I5LXJLO5.cjs → chunk-MZPBZSKS.cjs} +3 -3
- package/dist/{chunk-I5LXJLO5.cjs.map → chunk-MZPBZSKS.cjs.map} +1 -1
- package/dist/{chunk-JITYC4OS.cjs → chunk-NDRE7LD2.cjs} +17 -2
- package/dist/chunk-NDRE7LD2.cjs.map +1 -0
- package/dist/{chunk-YBDHWNFZ.cjs → chunk-OQWJXM4V.cjs} +24 -24
- package/dist/{chunk-YBDHWNFZ.cjs.map → chunk-OQWJXM4V.cjs.map} +1 -1
- package/dist/chunk-PUCYBYBY.cjs +3756 -0
- package/dist/chunk-PUCYBYBY.cjs.map +1 -0
- package/dist/{chunk-4H5DPHZ2.cjs → chunk-Q6DU3DZC.cjs} +4 -4
- package/dist/{chunk-4H5DPHZ2.cjs.map → chunk-Q6DU3DZC.cjs.map} +1 -1
- package/dist/{chunk-HX5SALXN.cjs → chunk-QCFX535U.cjs} +4 -4
- package/dist/{chunk-HX5SALXN.cjs.map → chunk-QCFX535U.cjs.map} +1 -1
- package/dist/chunk-QTGWH6Z2.cjs +18 -0
- package/dist/{chunk-TUURH4NE.cjs.map → chunk-QTGWH6Z2.cjs.map} +1 -1
- package/dist/{chunk-YHABS4UE.cjs → chunk-QYPCNB7P.cjs} +31 -31
- package/dist/{chunk-YHABS4UE.cjs.map → chunk-QYPCNB7P.cjs.map} +1 -1
- package/dist/{chunk-KULGPKLY.cjs → chunk-TBDQGSFI.cjs} +4 -4
- package/dist/{chunk-KULGPKLY.cjs.map → chunk-TBDQGSFI.cjs.map} +1 -1
- package/dist/{chunk-BQOL4XNZ.cjs → chunk-U46OGRCO.cjs} +94 -10
- package/dist/chunk-U46OGRCO.cjs.map +1 -0
- package/dist/{chunk-AWWGV5LL.cjs → chunk-UVMOUOFD.cjs} +28 -28
- package/dist/{chunk-AWWGV5LL.cjs.map → chunk-UVMOUOFD.cjs.map} +1 -1
- package/dist/{chunk-MZ7IUHQA.cjs → chunk-UXWPJ6I5.cjs} +38 -38
- package/dist/chunk-UXWPJ6I5.cjs.map +1 -0
- package/dist/chunk-V5P5MRSR.cjs +21 -0
- package/dist/chunk-V5P5MRSR.cjs.map +1 -0
- package/dist/{chunk-FUKN3PI5.cjs → chunk-VD3HI5RF.cjs} +99 -506
- package/dist/chunk-VD3HI5RF.cjs.map +1 -0
- package/dist/{chunk-6EJ7KD4U.cjs → chunk-WDL3TOMX.cjs} +6 -6
- package/dist/{chunk-6EJ7KD4U.cjs.map → chunk-WDL3TOMX.cjs.map} +1 -1
- package/dist/{chunk-6CPJ5ZOY.cjs → chunk-YM77I6V7.cjs} +3 -3
- package/dist/{chunk-6CPJ5ZOY.cjs.map → chunk-YM77I6V7.cjs.map} +1 -1
- package/dist/{chunk-JKTUL4L3.cjs → chunk-ZON25DCD.cjs} +5 -5
- package/dist/{chunk-JKTUL4L3.cjs.map → chunk-ZON25DCD.cjs.map} +1 -1
- package/dist/{chunk-DKKW7GOJ.cjs → chunk-ZVTLEBFG.cjs} +4 -4
- package/dist/{chunk-DKKW7GOJ.cjs.map → chunk-ZVTLEBFG.cjs.map} +1 -1
- package/dist/components/DetailPanel.d.ts +46 -3
- package/dist/components/DetailPanel.js +94 -10
- package/dist/components/DetailPanel.js.map +2 -2
- package/dist/connect/docx.cjs +16 -15
- package/dist/connect/docx.cjs.map +1 -1
- package/dist/connect/index.cjs +4916 -1817
- package/dist/connect/index.cjs.map +1 -1
- package/dist/connect/index.d.ts +2 -1
- package/dist/connect/index.js +5 -1
- package/dist/connect/index.js.map +2 -2
- package/dist/connect/viewer.cjs +20 -18
- package/dist/connection/databases/ConnectedDatabasesPage.d.ts +22 -1
- package/dist/connection/databases/ConnectedDatabasesPage.js +189 -422
- package/dist/connection/databases/ConnectedDatabasesPage.js.map +2 -2
- package/dist/connection/databases/ConnectedRecentDatabases.d.ts +15 -0
- package/dist/connection/databases/ConnectedRecentDatabases.js +80 -0
- package/dist/connection/databases/ConnectedRecentDatabases.js.map +7 -0
- package/dist/connection/databases/ConnectedSourcesEditor.d.ts +4 -0
- package/dist/connection/databases/ConnectedSourcesEditor.js +126 -0
- package/dist/connection/databases/ConnectedSourcesEditor.js.map +7 -0
- package/dist/connection/databases/DatabaseViewsMenu.d.ts +8 -4
- package/dist/connection/databases/DatabaseViewsMenu.js +60 -27
- package/dist/connection/databases/DatabaseViewsMenu.js.map +2 -2
- package/dist/connection/databases/DatabaseWorkbench.d.ts +10 -0
- package/dist/connection/databases/DatabaseWorkbench.js +681 -0
- package/dist/connection/databases/DatabaseWorkbench.js.map +7 -0
- package/dist/connection/databases/databaseViewState.d.ts +12 -0
- package/dist/connection/databases/databaseViewState.js +50 -0
- package/dist/connection/databases/databaseViewState.js.map +7 -0
- package/dist/connection/databases/fixedPins.d.ts +6 -0
- package/dist/connection/databases/fixedPins.js +19 -0
- package/dist/connection/databases/fixedPins.js.map +7 -0
- package/dist/connection/databases/index.d.ts +6 -1
- package/dist/connection/databases/index.js +9 -1
- package/dist/connection/databases/index.js.map +2 -2
- package/dist/connection/databases/source.d.ts +26 -0
- package/dist/connection/databases/sourceCells.d.ts +14 -0
- package/dist/connection/databases/sourceCells.js +40 -0
- package/dist/connection/databases/sourceCells.js.map +7 -0
- package/dist/connection/databases/toRowView.d.ts +4 -0
- package/dist/connection/databases/toRowView.js +11 -0
- package/dist/connection/databases/toRowView.js.map +7 -0
- package/dist/connection/databases/useApiDatabaseSource.d.ts +11 -0
- package/dist/connection/databases/useApiDatabaseSource.js +473 -0
- package/dist/connection/databases/useApiDatabaseSource.js.map +7 -0
- package/dist/connection/databases/useApiViewStore.d.ts +5 -0
- package/dist/connection/databases/useApiViewStore.js +57 -0
- package/dist/connection/databases/useApiViewStore.js.map +7 -0
- package/dist/connection/databases/useDatabaseCellSources.d.ts +8 -1
- package/dist/connection/databases/useDatabaseCellSources.js +40 -5
- package/dist/connection/databases/useDatabaseCellSources.js.map +2 -2
- package/dist/connection/databases/useDeviceLayoutSettings.d.ts +6 -0
- package/dist/connection/databases/useDeviceLayoutSettings.js +57 -0
- package/dist/connection/databases/useDeviceLayoutSettings.js.map +7 -0
- package/dist/connection/databases/useLayoutRows.d.ts +13 -0
- package/dist/connection/databases/useLayoutRows.js +89 -0
- package/dist/connection/databases/useLayoutRows.js.map +7 -0
- package/dist/connection/databases/useSourceEntries.d.ts +6 -0
- package/dist/connection/databases/useSourceEntries.js +8 -0
- package/dist/connection/databases/useSourceEntries.js.map +7 -0
- package/dist/connection/databases/wireColumns.d.ts +17 -0
- package/dist/connection/databases/wireColumns.js +22 -0
- package/dist/connection/databases/wireColumns.js.map +7 -0
- package/dist/connection/facts/ConnectedFactsPage.d.ts +11 -1
- package/dist/connection/facts/ConnectedFactsPage.js +42 -10
- package/dist/connection/facts/ConnectedFactsPage.js.map +2 -2
- package/dist/connection/facts/FactMarkdownEditor.d.ts +19 -1
- package/dist/connection/facts/FactMarkdownEditor.js +67 -49
- package/dist/connection/facts/FactMarkdownEditor.js.map +2 -2
- package/dist/connection/facts/FactSourcesPopover.d.ts +3 -1
- package/dist/connection/facts/FactSourcesPopover.js +71 -61
- package/dist/connection/facts/FactSourcesPopover.js.map +2 -2
- package/dist/connection/facts/FactsQuickFilters.d.ts +16 -0
- package/dist/connection/facts/FactsQuickFilters.js +57 -0
- package/dist/connection/facts/FactsQuickFilters.js.map +7 -0
- package/dist/connection/facts/documentPickerGroups.d.ts +3 -0
- package/dist/connection/facts/documentPickerGroups.js +21 -0
- package/dist/connection/facts/documentPickerGroups.js.map +7 -0
- package/dist/connection/facts/factsRows.d.ts +49 -0
- package/dist/connection/facts/factsRows.js +103 -0
- package/dist/connection/facts/factsRows.js.map +7 -0
- package/dist/connection/facts/factsScope.d.ts +24 -0
- package/dist/connection/facts/factsScope.js +32 -0
- package/dist/connection/facts/factsScope.js.map +7 -0
- package/dist/connection/facts/factsSource.d.ts +12 -0
- package/dist/connection/facts/factsSource.js +1305 -0
- package/dist/connection/facts/factsSource.js.map +7 -0
- package/dist/connection/facts/useFactActions.d.ts +2 -2
- package/dist/connection/facts/useFactActions.js +4 -0
- package/dist/connection/facts/useFactActions.js.map +2 -2
- package/dist/connection/facts/useFactComposer.d.ts +8 -2
- package/dist/connection/facts/useFactComposer.js +36 -67
- package/dist/connection/facts/useFactComposer.js.map +2 -2
- package/dist/connection/facts/usePassageCollection.d.ts +21 -0
- package/dist/connection/facts/usePassageCollection.js +72 -0
- package/dist/connection/facts/usePassageCollection.js.map +7 -0
- package/dist/connection/facts/view-keys.d.ts +4 -0
- package/dist/connection/facts/view-keys.js +2 -0
- package/dist/connection/facts/view-keys.js.map +2 -2
- package/dist/connection/files/explorer/FileTiles.js +2 -2
- package/dist/connection/files/explorer/FileTiles.js.map +2 -2
- package/dist/connection/files/page/ConnectedFilesPage.js +4 -1
- package/dist/connection/files/page/ConnectedFilesPage.js.map +2 -2
- package/dist/connection/files/views/useTableViews.js +11 -3
- package/dist/connection/files/views/useTableViews.js.map +2 -2
- package/dist/connection/live-blocks/list-rows.d.ts +10 -0
- package/dist/connection/live-blocks/list-rows.js +12 -0
- package/dist/connection/live-blocks/list-rows.js.map +2 -2
- package/dist/connection/pages/TableViewBlock.js +2 -6
- package/dist/connection/pages/TableViewBlock.js.map +2 -2
- package/dist/connection/tags/ConnectedTagsPage.js +4 -1
- package/dist/connection/tags/ConnectedTagsPage.js.map +2 -2
- package/dist/connection/viewer/pdf/PdfPassageHighlights.d.ts +10 -2
- package/dist/connection/viewer/pdf/PdfPassageHighlights.js +57 -26
- package/dist/connection/viewer/pdf/PdfPassageHighlights.js.map +2 -2
- package/dist/connection/viewer/pdf/passageHighlights.d.ts +8 -0
- package/dist/connection/viewer/pdf/passageHighlights.js +15 -0
- package/dist/connection/viewer/pdf/passageHighlights.js.map +2 -2
- package/dist/connection/viewer/pdf/usePdfPassageHighlights.js +31 -5
- package/dist/connection/viewer/pdf/usePdfPassageHighlights.js.map +2 -2
- package/dist/connection/workspace-dashboard/ConnectedWorkspaceDashboard.d.ts +9 -2
- package/dist/connection/workspace-dashboard/ConnectedWorkspaceDashboard.js +16 -6
- package/dist/connection/workspace-dashboard/ConnectedWorkspaceDashboard.js.map +2 -2
- package/dist/dashboards/ConditionsEditor.d.ts +14 -1
- package/dist/dashboards/ConditionsEditor.js +45 -5
- package/dist/dashboards/ConditionsEditor.js.map +2 -2
- package/dist/dashboards/index.cjs +9 -9
- package/dist/databases/ColumnConfigFields.js +1 -1
- package/dist/databases/ColumnConfigFields.js.map +2 -2
- package/dist/databases/DatabaseColumnDialog.d.ts +6 -1
- package/dist/databases/DatabaseColumnDialog.js +44 -3
- package/dist/databases/DatabaseColumnDialog.js.map +2 -2
- package/dist/databases/DatabaseFilterMenu.d.ts +23 -1
- package/dist/databases/DatabaseFilterMenu.js +38 -7
- package/dist/databases/DatabaseFilterMenu.js.map +2 -2
- package/dist/databases/DatabaseList.d.ts +22 -1
- package/dist/databases/DatabaseList.js +44 -9
- package/dist/databases/DatabaseList.js.map +2 -2
- package/dist/databases/DatabaseRowDetail.d.ts +40 -3
- package/dist/databases/DatabaseRowDetail.js +124 -21
- package/dist/databases/DatabaseRowDetail.js.map +2 -2
- package/dist/databases/DatabaseTable.d.ts +44 -5
- package/dist/databases/DatabaseTable.js +165 -15
- package/dist/databases/DatabaseTable.js.map +2 -2
- package/dist/databases/DatabaseToolbar.d.ts +29 -3
- package/dist/databases/DatabaseToolbar.js +148 -96
- package/dist/databases/DatabaseToolbar.js.map +2 -2
- package/dist/databases/DateSpanEditor.d.ts +32 -0
- package/dist/databases/DateSpanEditor.js +155 -0
- package/dist/databases/DateSpanEditor.js.map +7 -0
- package/dist/databases/LabelChip.d.ts +6 -0
- package/dist/databases/LabelChip.js +34 -0
- package/dist/databases/LabelChip.js.map +7 -0
- package/dist/databases/LabelsCell.d.ts +13 -0
- package/dist/databases/LabelsCell.js +38 -0
- package/dist/databases/LabelsCell.js.map +7 -0
- package/dist/databases/LabelsField.d.ts +6 -0
- package/dist/databases/LabelsField.js +17 -0
- package/dist/databases/LabelsField.js.map +7 -0
- package/dist/databases/SourcesCell.d.ts +21 -0
- package/dist/databases/SourcesCell.js +106 -0
- package/dist/databases/SourcesCell.js.map +7 -0
- package/dist/databases/SourcesField.d.ts +7 -0
- package/dist/databases/SourcesField.js +36 -0
- package/dist/databases/SourcesField.js.map +7 -0
- package/dist/databases/column-kits.d.ts +28 -0
- package/dist/databases/column-kits.js +87 -0
- package/dist/databases/column-kits.js.map +7 -0
- package/dist/databases/column-types.d.ts +36 -4
- package/dist/databases/column-types.js +22 -3
- package/dist/databases/column-types.js.map +2 -2
- package/dist/databases/databaseColumns.d.ts +29 -2
- package/dist/databases/databaseColumns.js +180 -47
- package/dist/databases/databaseColumns.js.map +2 -2
- package/dist/databases/index.cjs +154 -76
- package/dist/databases/index.d.ts +12 -5
- package/dist/databases/index.js +17 -0
- package/dist/databases/index.js.map +2 -2
- package/dist/databases/layouts/DatabaseCalendar.d.ts +17 -0
- package/dist/databases/layouts/DatabaseCalendar.js +63 -0
- package/dist/databases/layouts/DatabaseCalendar.js.map +7 -0
- package/dist/databases/layouts/DatabaseGantt.d.ts +9 -0
- package/dist/databases/layouts/DatabaseGantt.js +52 -0
- package/dist/databases/layouts/DatabaseGantt.js.map +7 -0
- package/dist/databases/layouts/DatabaseLayoutSwitcher.d.ts +43 -0
- package/dist/databases/layouts/DatabaseLayoutSwitcher.js +190 -0
- package/dist/databases/layouts/DatabaseLayoutSwitcher.js.map +7 -0
- package/dist/databases/layouts/definitions.d.ts +11 -0
- package/dist/databases/layouts/definitions.js +56 -0
- package/dist/databases/layouts/definitions.js.map +7 -0
- package/dist/databases/layouts/index.d.ts +7 -0
- package/dist/databases/layouts/index.js +27 -0
- package/dist/databases/layouts/index.js.map +7 -0
- package/dist/databases/layouts/resolveLayoutSettings.d.ts +13 -0
- package/dist/databases/layouts/resolveLayoutSettings.js +47 -0
- package/dist/databases/layouts/resolveLayoutSettings.js.map +7 -0
- package/dist/databases/layouts/rowsToTimelineItems.d.ts +19 -0
- package/dist/databases/layouts/rowsToTimelineItems.js +81 -0
- package/dist/databases/layouts/rowsToTimelineItems.js.map +7 -0
- package/dist/databases/layouts/undated.d.ts +6 -0
- package/dist/databases/layouts/undated.js +10 -0
- package/dist/databases/layouts/undated.js.map +7 -0
- package/dist/databases/linkCells.d.ts +50 -1
- package/dist/databases/linkCells.js +28 -7
- package/dist/databases/linkCells.js.map +2 -2
- package/dist/databases/local-query.d.ts +7 -0
- package/dist/databases/local-query.js +89 -0
- package/dist/databases/local-query.js.map +7 -0
- package/dist/databases/source.d.ts +291 -0
- package/dist/databases/sourcesOverflow.d.ts +5 -0
- package/dist/databases/sourcesOverflow.js +10 -0
- package/dist/databases/sourcesOverflow.js.map +7 -0
- package/dist/docx/index.cjs +40 -39
- package/dist/embed/index.cjs +24 -21
- package/dist/facts/FactDateInput.d.ts +3 -1
- package/dist/facts/FactDateInput.js +110 -93
- package/dist/facts/FactDateInput.js.map +2 -2
- package/dist/facts/FactLabelsCell.d.ts +4 -0
- package/dist/facts/FactLabelsCell.js +27 -13
- package/dist/facts/FactLabelsCell.js.map +2 -2
- package/dist/facts/FactPassages.d.ts +6 -1
- package/dist/facts/FactPassages.js +6 -1
- package/dist/facts/FactPassages.js.map +2 -2
- package/dist/facts/FactsScopeEmpty.d.ts +8 -0
- package/dist/facts/FactsScopeEmpty.js +29 -0
- package/dist/facts/FactsScopeEmpty.js.map +7 -0
- package/dist/facts/FactsScopePicker.d.ts +33 -0
- package/dist/facts/FactsScopePicker.js +108 -0
- package/dist/facts/FactsScopePicker.js.map +7 -0
- package/dist/facts/index.cjs +105 -94
- package/dist/facts/index.cjs.map +1 -1
- package/dist/facts/index.d.ts +1 -0
- package/dist/facts/index.js +6 -0
- package/dist/facts/index.js.map +2 -2
- package/dist/files/ExplorerTile.d.ts +2 -2
- package/dist/files/ExplorerTile.js +3 -3
- package/dist/files/ExplorerTile.js.map +1 -1
- package/dist/files/HtmlViewerParts.js +7 -1
- package/dist/files/HtmlViewerParts.js.map +2 -2
- package/dist/files/folders/DocumentsFolderButton.d.ts +3 -1
- package/dist/files/folders/DocumentsFolderButton.js +3 -1
- package/dist/files/folders/DocumentsFolderButton.js.map +2 -2
- package/dist/files/folders/FolderTreePicker.d.ts +3 -1
- package/dist/files/folders/FolderTreePicker.js +23 -3
- package/dist/files/folders/FolderTreePicker.js.map +2 -2
- package/dist/files/index.cjs +251 -249
- package/dist/files/views/gridViews.d.ts +2 -0
- package/dist/files/views/gridViews.js.map +2 -2
- package/dist/home/index.cjs +10 -10
- package/dist/index.cjs +815 -803
- package/dist/index.d.ts +1 -1
- package/dist/index.js +7 -1
- package/dist/index.js.map +2 -2
- package/dist/lib/pointer-hover.d.ts +11 -0
- package/dist/lib/pointer-hover.js +36 -0
- package/dist/lib/pointer-hover.js.map +7 -0
- package/dist/pages/index.cjs +36 -32
- package/dist/pages/index.cjs.map +1 -1
- package/dist/settings/TriStateChips.d.ts +24 -0
- package/dist/settings/TriStateChips.js +124 -0
- package/dist/settings/TriStateChips.js.map +7 -0
- package/dist/settings/index.cjs +137 -137
- package/dist/shell/index.cjs +1 -1
- package/dist/site/index.cjs +32 -31
- package/dist/studio/index.cjs +12 -12
- package/dist/styles.css +1 -1
- package/dist/timeline/TimelineCalendar.js +2 -1
- package/dist/timeline/TimelineCalendar.js.map +2 -2
- package/dist/timeline/TimelineGantt.d.ts +6 -1
- package/dist/timeline/TimelineGantt.js +34 -8
- package/dist/timeline/TimelineGantt.js.map +2 -2
- package/dist/timeline/index.cjs +13 -12
- package/dist/workflow-canvas/index.cjs +32 -30
- package/dist/workflow-canvas/index.cjs.map +1 -1
- package/dist/workspaces/index.cjs +5 -5
- package/node_modules/@arbidocs/coedit/package.json +1 -1
- package/package.json +5 -5
- package/src/components/grid.css +23 -1
- package/dist/DocumentReviewCard-RPHIQZ2Y.cjs.map +0 -1
- package/dist/FilesViewerDialog-PZ5H435S.cjs.map +0 -1
- package/dist/ai-XIT4MY3S.cjs.map +0 -1
- package/dist/chunk-2D5GZMSK.cjs.map +0 -1
- package/dist/chunk-ADMNU2CR.cjs.map +0 -1
- package/dist/chunk-BQOL4XNZ.cjs.map +0 -1
- package/dist/chunk-CYMAF656.cjs.map +0 -1
- package/dist/chunk-DDWLMYRO.cjs.map +0 -1
- package/dist/chunk-FUKN3PI5.cjs.map +0 -1
- package/dist/chunk-JITYC4OS.cjs.map +0 -1
- package/dist/chunk-MWHVETKN.cjs.map +0 -1
- package/dist/chunk-MZ7IUHQA.cjs.map +0 -1
- package/dist/chunk-N33U2SB5.cjs +0 -982
- package/dist/chunk-N33U2SB5.cjs.map +0 -1
- package/dist/chunk-TJY7XPDE.cjs.map +0 -1
- package/dist/chunk-TUURH4NE.cjs +0 -18
- package/dist/chunk-UTYEXDJK.cjs +0 -1396
- package/dist/chunk-UTYEXDJK.cjs.map +0 -1
- package/dist/chunk-YC72ZCV4.cjs.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -33,7 +33,7 @@ export { UsageMeter, usageMeterState, type UsageMeterAllowance, type UsageMeterS
|
|
|
33
33
|
export { Timeline, TimelineCalendar, TimelineGantt, TimelineZoomControl, TIMELINE_ZOOM, formatSpan, parseIso, utcDay, dayKey, monthLabel, type TimelineItem, type TimelineProps, type TimelineViewMode, type TimelineCalendarProps, type TimelineGanttProps, type TimelineZoomControlProps, } from './timeline';
|
|
34
34
|
export { PageHeader, type PageHeaderProps } from './components/PageHeader';
|
|
35
35
|
export { SectionHeading } from './components/SectionHeading';
|
|
36
|
-
export { DetailPanel, DetailBody, DetailEmpty, DetailField, DetailFields, DetailLinkItem, DetailLinkList, DetailLoading, DetailSection, DEFAULT_DETAIL_PANEL_LABELS, type DetailPanelProps, type DetailPanelLabels, type DetailSectionProps, type DetailFieldProps, type DetailLinkItemProps, } from './components/DetailPanel';
|
|
36
|
+
export { DetailPanel, DetailBody, DetailEmpty, DetailField, DetailFields, DetailHint, DetailLinkItem, DetailLinkList, DetailLoading, DetailSaveBar, DetailSection, DEFAULT_DETAIL_PANEL_LABELS, DEFAULT_DETAIL_SAVE_BAR_LABELS, type DetailPanelProps, type DetailPanelLabels, type DetailSectionProps, type DetailFieldProps, type DetailHintProps, type DetailLinkItemProps, type DetailSaveBarProps, type DetailSaveBarLabels, } from './components/DetailPanel';
|
|
37
37
|
export { CollectionDetail, type CollectionDetailProps, type CollectionDetailContext, } from './components/CollectionDetail';
|
|
38
38
|
export { ToneBadge, type Tone, type ToneBadgeProps } from './components/ToneBadge';
|
|
39
39
|
export { TONES, isTone } from './components/tones';
|
package/dist/index.js
CHANGED
|
@@ -106,11 +106,14 @@ import {
|
|
|
106
106
|
DetailEmpty,
|
|
107
107
|
DetailField,
|
|
108
108
|
DetailFields,
|
|
109
|
+
DetailHint,
|
|
109
110
|
DetailLinkItem,
|
|
110
111
|
DetailLinkList,
|
|
111
112
|
DetailLoading,
|
|
113
|
+
DetailSaveBar,
|
|
112
114
|
DetailSection,
|
|
113
|
-
DEFAULT_DETAIL_PANEL_LABELS
|
|
115
|
+
DEFAULT_DETAIL_PANEL_LABELS,
|
|
116
|
+
DEFAULT_DETAIL_SAVE_BAR_LABELS
|
|
114
117
|
} from "./components/DetailPanel.js";
|
|
115
118
|
import {
|
|
116
119
|
CollectionDetail
|
|
@@ -242,6 +245,7 @@ export {
|
|
|
242
245
|
ContactForm,
|
|
243
246
|
Container,
|
|
244
247
|
DEFAULT_DETAIL_PANEL_LABELS,
|
|
248
|
+
DEFAULT_DETAIL_SAVE_BAR_LABELS,
|
|
245
249
|
DEFAULT_ERROR_BOUNDARY_LABELS,
|
|
246
250
|
DEFAULT_FILTER_FIELDS,
|
|
247
251
|
DEFAULT_FILTER_INPUT_LABELS,
|
|
@@ -252,10 +256,12 @@ export {
|
|
|
252
256
|
DetailEmpty,
|
|
253
257
|
DetailField,
|
|
254
258
|
DetailFields,
|
|
259
|
+
DetailHint,
|
|
255
260
|
DetailLinkItem,
|
|
256
261
|
DetailLinkList,
|
|
257
262
|
DetailLoading,
|
|
258
263
|
DetailPanel,
|
|
264
|
+
DetailSaveBar,
|
|
259
265
|
DetailSection,
|
|
260
266
|
DroppableContainer,
|
|
261
267
|
EXPERIMENTAL_NAV_ITEMS,
|
package/dist/index.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../src/index.ts"],
|
|
4
|
-
"sourcesContent": ["/**\n * @arbidocs/blocks \u2014 composable AI-native back-office blocks layered on top of\n * @arbidocs/react. A host app supplies a config (identity, nav, theme, ARBI wiring) and\n * composes capability areas (retrieval, facts, agents, workspaces, citations, collaboration),\n * the theme system, the connection layer and primitives instead of forking them.\n */\n\n// \u2500\u2500 Theme system \u2014 one token model, store factory and editor for every host \u2500\u2500\nexport {\n applyThemeVars,\n clearThemeVars,\n applyFontVars,\n clearFontVars,\n toHslTriplet,\n themeCssVars,\n themeMetaVars,\n THEME_STYLE_ID,\n type ColorToken,\n type ThemeFonts,\n type ThemeTokens,\n type ThemePreset,\n type ThemeEmitMode,\n type ApplyThemeOptions,\n} from './theme/tokens'\nexport {\n createThemeStore,\n applyStoredTheme,\n type ThemeState,\n type ThemeStoreConfig,\n type ThemeBundle,\n} from './theme/store'\nexport { ThemeEditor, type ThemeEditorProps } from './theme/ThemeEditor'\nexport { ThemePreview, type ThemePreviewProps } from './theme/ThemePreview'\nexport { DEFAULT_THEME_PREVIEW_LABELS, type ThemePreviewLabels } from './theme/previewLabels'\nexport {\n deriveColors,\n inferInputs,\n contrastIssues,\n CONTRAST_PAIRS,\n type ThemeInputs,\n type ThemeInputKey,\n type ColorScheme,\n type ContrastPair,\n type ContrastIssue,\n} from './theme/derive'\nexport { contrastRatio, ensureContrast } from './theme/color'\nexport {\n createAppearanceStore,\n type AppearanceBundle,\n type AppearanceDefaults,\n type AppearanceState,\n type AppearanceStoreConfig,\n} from './theme/appearance'\nexport { themeFromCss, type ThemeFromCss, type ThemeFromCssOptions } from './theme/fromCss'\nexport {\n FONT_PAIRINGS,\n getFontPairing,\n matchFontPairing,\n fontPackages,\n type FontPairing,\n} from './theme/fontPairings'\n\n// \u2500\u2500 Contextual tips engine (the tips are the site's content) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\nexport * from './tips'\n\n// \u2500\u2500 Guided runs (\"Show me\", remote control): the cursor, the runner, the registry \u2500\u2500\nexport * from './guided'\n\n// \u2500\u2500 Formatting + testid helpers \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\nexport { tid } from './lib/testid'\nexport {\n formatCurrency,\n initials,\n fmtDate,\n fmtDateTime,\n daysUntil,\n hrs,\n pct,\n formatCount,\n pluralize,\n displayName,\n type CountForms,\n type DisplayNameUser,\n} from './lib/format'\n\n// \u2500\u2500 ARBI deep links \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\nexport {\n buildDeepLinkPath,\n buildDeepLinkUrl,\n parseDeepLinkPath,\n type DeepLinkParams,\n} from './lib/deep-link'\n// The route codec: every address of the app as a typed route, from one route table.\nexport {\n ARBI_ROUTES,\n createRouteCodec,\n hrefFor,\n entityHrefFor,\n isDeepLinkPath,\n parseHref,\n pathRoute,\n readArrivalParams,\n renamedPage,\n type AnyRouteDefinition,\n type ArrivalParams,\n type ArbiRoute,\n type ArbiRouteKind,\n type RouteCodec,\n type RouteDefinition,\n} from './lib/routes'\n\n// \u2500\u2500 Generic UI primitives \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\nexport {\n DataTable,\n type Column,\n type DataTableProps,\n type DataTableSort,\n type DataTableTestIds,\n} from './components/DataTable'\nexport {\n DataTableBlock,\n type DataTableBlockProps,\n type DataTableBlockColumn,\n} from './components/DataTableBlock'\nexport { EmptyState } from './components/EmptyState'\nexport {\n ErrorBoundary,\n DEFAULT_ERROR_BOUNDARY_LABELS,\n type ErrorBoundaryLabels,\n type ErrorBoundaryProps,\n type ErrorBoundaryFallbackProps,\n} from './components/ErrorBoundary'\nexport { LoadingIndicator, type LoadingIndicatorProps } from './components/LoadingIndicator'\nexport { DroppableContainer, type DroppableContainerProps } from './components/DroppableContainer'\nexport {\n RowNavigatorControls,\n type RowNavigatorControlsProps,\n} from './components/RowNavigatorControls'\nexport { GridRowNavigator, type GridRowNavigatorProps } from './components/GridRowNavigator'\nexport { SharedCell, type SharedCellProps, type SharedItem } from './components/SharedCell'\nexport {\n UsageMeter,\n usageMeterState,\n type UsageMeterAllowance,\n type UsageMeterState,\n} from './components/UsageMeter'\n\n// \u2500\u2500 Timeline views \u2014 calendar, Gantt, and the toggle between them \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\nexport {\n Timeline,\n TimelineCalendar,\n TimelineGantt,\n TimelineZoomControl,\n TIMELINE_ZOOM,\n formatSpan,\n parseIso,\n utcDay,\n dayKey,\n monthLabel,\n type TimelineItem,\n type TimelineProps,\n type TimelineViewMode,\n type TimelineCalendarProps,\n type TimelineGanttProps,\n type TimelineZoomControlProps,\n} from './timeline'\nexport { PageHeader, type PageHeaderProps } from './components/PageHeader'\nexport { SectionHeading } from './components/SectionHeading'\nexport {\n DetailPanel,\n DetailBody,\n DetailEmpty,\n DetailField,\n DetailFields,\n DetailLinkItem,\n DetailLinkList,\n DetailLoading,\n DetailSection,\n DEFAULT_DETAIL_PANEL_LABELS,\n type DetailPanelProps,\n type DetailPanelLabels,\n type DetailSectionProps,\n type DetailFieldProps,\n type DetailLinkItemProps,\n} from './components/DetailPanel'\nexport {\n CollectionDetail,\n type CollectionDetailProps,\n type CollectionDetailContext,\n} from './components/CollectionDetail'\nexport { ToneBadge, type Tone, type ToneBadgeProps } from './components/ToneBadge'\nexport { TONES, isTone } from './components/tones'\nexport { Chart, type ChartProps, type ChartSeries } from './components/Chart'\nexport { Toolbar } from './components/Toolbar'\nexport {\n EntityIdentityBar,\n IDENTITY_NAME_MAX_LENGTH,\n type EntityIdentityBarProps,\n type EntityIdentityField,\n} from './components/EntityIdentityBar'\nexport {\n MemberAvatarStack,\n type MemberAvatarStackProps,\n type StackedMember,\n} from './components/MemberAvatarStack'\nexport { MetricCard, type MetricCardProps } from './components/MetricCard'\nexport {\n EntityTooltip,\n EntityTooltipHeader,\n EntityTooltipStats,\n EntityTooltipSection,\n EntityTooltipHint,\n type EntityTooltipHeaderProps,\n type EntityTooltipStat,\n} from './components/EntityTooltip'\nexport { EntityChip, type EntityChipProps } from './components/EntityChip'\nexport { AskBar, type AskBarProps } from './components/AskBar'\nexport { Table, TableHeader, TableBody, TableRow, TableHead, TableCell } from '@arbidocs/react/ui'\n// `Shell.Root` already mounts TooltipProvider for the whole back office; these are\n// re-exported for apps that render tooltips outside the shell (marketing pages,\n// standalone surfaces).\nexport { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider } from '@arbidocs/react/ui'\n// The document tile is defined in @arbidocs/react (blocks depends on react, never the reverse),\n// but it is a general component card, so it is part of the blocks surface too.\n\n// \u2500\u2500 App-level UI areas (clean, view-model driven; see docs/design) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\n// Areas that need a heavy library are NOT re-exported here, so importing the root never loads\n// them: `/files`, `/facts` and `/databases` (AG Grid), `/home` and `/workspaces` (dnd-kit), `/settings` (cmdk),\n// `/connect` (React Query), `/studio` (Puck, router). Import those from their subpath.\nexport * from './chat'\nexport * from './shell'\nexport * from './auth'\nexport * from './retrieval'\nexport * from './agents'\nexport * from './citations'\nexport * from './collaboration'\nexport * from './activity'\nexport * from './tags'\n\n// \u2500\u2500 The host configuration (one `<ArbiHost config>`) and its environment \u2500\u2500\u2500\u2500\u2500\nexport { ArbiHost, useHost, type ArbiHostConfig } from './provider/host'\nexport type { WorkflowsHost, WorkflowCatalogueEntry } from './connection/workflows/support'\nexport {\n createBlocksEnvironment,\n useBlocksDialogs,\n useBlocksEnvironment,\n type BlocksEnvironment,\n type BlocksRuntimeConfig,\n type LinkTarget,\n type OpenCalendarOptions,\n type OpenConversationOptions,\n type OpenDocumentOptions,\n type OpenFilesOptions,\n type OpenMailOptions,\n type OpenNewConversationOptions,\n type OpenWordEditorOptions,\n type OpenWorkflowOptions,\n type ShareRequest,\n type UploadSource,\n} from './provider/environment'\nexport {\n requestSettingsSection,\n useRequestedSettingsSection,\n type SettingsSectionRequest,\n} from './provider/settings-section'\nexport {\n closeAllDialogs,\n closeDialog,\n getDialog,\n openDialog,\n useDialogProps,\n type BlocksDialogKind,\n type BlocksDialogProps,\n type CreateWorkspaceDialogProps,\n type UploadDialogProps,\n} from './provider/dialog-registry'\nexport {\n type ConfirmRequest,\n type ConfirmKind,\n type ChoiceRequest,\n type PromptChoice,\n} from './provider/dialogs'\nexport { BlocksTooltipProvider } from './provider/TooltipScope'\n\n// \u2500\u2500 Website building blocks (marketing / media / navigation / layout) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\nexport { BlockImage, type BlockImageProps } from './components/BlockImage'\nexport { Hero, type HeroProps, type HeroCta } from './components/Hero'\nexport {\n BlockLink,\n type BlockLinkProps,\n type BlockLinkComponent,\n type BlockLinkRenderProps,\n} from './components/blockLink'\nexport { ActionLink, type ActionLinkProps } from './components/ActionLink'\nexport {\n OpenConversationButton,\n type OpenConversationButtonProps,\n} from './components/OpenConversationButton'\nexport { FeatureGrid, type FeatureGridProps, type FeatureItem } from './components/FeatureGrid'\nexport { StatGroup, type StatGroupProps, type StatItem } from './components/StatGroup'\nexport { Testimonial, type TestimonialProps } from './components/Testimonial'\nexport { CTABanner, type CTABannerProps } from './components/CTABanner'\nexport { LogoCloud, type LogoCloudProps, type LogoItem } from './components/LogoCloud'\nexport { FAQ, type FAQProps, type FaqItem } from './components/FAQ'\nexport { RichTextBlock, type RichTextBlockProps } from './components/RichTextBlock'\nexport { Callout, type CalloutProps, type CalloutVariant } from './components/Callout'\nexport { AvatarBlock, type AvatarBlockProps } from './components/AvatarBlock'\nexport { Navbar, type NavbarProps, type NavLink } from './components/Navbar'\nexport { Footer, type FooterProps, type FooterColumn, type FooterLink } from './components/Footer'\nexport { ListBlock, type ListBlockProps, type ListItem } from './components/ListBlock'\nexport { Columns, type ColumnsProps } from './components/Columns'\nexport { Spacer, type SpacerProps } from './components/Spacer'\nexport { Container, type ContainerProps } from './components/Container'\nexport { PricingTable, type PricingTableProps, type PricingPlan } from './components/PricingTable'\nexport { Tabs, type TabsProps, type TabItem } from './components/Tabs'\nexport { Accordion, type AccordionProps, type AccordionItem } from './components/Accordion'\nexport { Gallery, type GalleryProps, type GalleryImage } from './components/Gallery'\nexport {\n VideoEmbed,\n toEmbedUrl,\n type VideoEmbedProps,\n type VideoAspect,\n} from './components/VideoEmbed'\nexport { ContactForm, type ContactFormProps, type ContactField } from './components/ContactForm'\nexport { Banner, type BannerProps, type BannerTone } from './components/Banner'\nexport { MediaText, type MediaTextProps } from './components/MediaText'\nexport { TeamGrid, type TeamGridProps, type TeamMember } from './components/TeamGrid'\nexport * from './components/editorial'\nexport { Steps, type StepsProps, type StepItem } from './components/Steps'\nexport {\n TestimonialGrid,\n type TestimonialGridProps,\n type TestimonialItem,\n} from './components/TestimonialGrid'\n\n// \u2500\u2500 Navigation contracts \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\nexport { type AppNavItem, type AppNavSection } from './nav/types'\nexport { defineActions, type ActionDefinition } from './nav/actions'\nexport { defineNavigation } from './nav/manifest'\nexport { EXPERIMENTAL_NAV_ITEMS, useExperimentalNavItems } from './connection/shell/experimentalNav'\n\nexport {\n FilterInput,\n DEFAULT_FILTER_FIELDS,\n DEFAULT_FILTER_INPUT_LABELS,\n type FilterField,\n type FilterInputProps,\n type FilterInputLabels,\n type FilterInputTestIds,\n} from './shell/FilterInput'\n\n// Heavy components in their own chunks (grid, calendar, Word editor, PDF viewer).\nexport {\n calendarGridChunk,\n docxEditorChunk,\n gridChunk,\n KIT_CHUNK_LOADERS,\n prefetchViewerChunks,\n preloadKitChunks,\n} from './lazy-chunks'\n"],
|
|
5
|
-
"mappings": ";AAQA;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAOK;AACP;AAAA,EACE;AAAA,EACA;AAAA,OAIK;AACP,SAAS,mBAA0C;AACnD,SAAS,oBAA4C;AACrD,SAAS,oCAA6D;AACtE;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAMK;AACP,SAAS,eAAe,sBAAsB;AAC9C;AAAA,EACE;AAAA,OAKK;AACP,SAAS,oBAAiE;AAC1E;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAEK;AAGP,cAAc;AAGd,cAAc;AAGd,SAAS,WAAW;AACpB;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAGK;AAGP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,OAEK;AAEP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAOK;AAGP;AAAA,EACE;AAAA,OAKK;AACP;AAAA,EACE;AAAA,OAGK;AACP,SAAS,kBAAkB;AAC3B;AAAA,EACE;AAAA,EACA;AAAA,OAIK;AACP,SAAS,wBAAoD;AAC7D,SAAS,0BAAwD;AACjE;AAAA,EACE;AAAA,OAEK;AACP,SAAS,wBAAoD;AAC7D,SAAS,kBAAyD;AAClE;AAAA,EACE;AAAA,EACA;AAAA,OAGK;AAGP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAOK;AACP,SAAS,kBAAwC;AACjD,SAAS,sBAAsB;AAC/B;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,
|
|
4
|
+
"sourcesContent": ["/**\n * @arbidocs/blocks \u2014 composable AI-native back-office blocks layered on top of\n * @arbidocs/react. A host app supplies a config (identity, nav, theme, ARBI wiring) and\n * composes capability areas (retrieval, facts, agents, workspaces, citations, collaboration),\n * the theme system, the connection layer and primitives instead of forking them.\n */\n\n// \u2500\u2500 Theme system \u2014 one token model, store factory and editor for every host \u2500\u2500\nexport {\n applyThemeVars,\n clearThemeVars,\n applyFontVars,\n clearFontVars,\n toHslTriplet,\n themeCssVars,\n themeMetaVars,\n THEME_STYLE_ID,\n type ColorToken,\n type ThemeFonts,\n type ThemeTokens,\n type ThemePreset,\n type ThemeEmitMode,\n type ApplyThemeOptions,\n} from './theme/tokens'\nexport {\n createThemeStore,\n applyStoredTheme,\n type ThemeState,\n type ThemeStoreConfig,\n type ThemeBundle,\n} from './theme/store'\nexport { ThemeEditor, type ThemeEditorProps } from './theme/ThemeEditor'\nexport { ThemePreview, type ThemePreviewProps } from './theme/ThemePreview'\nexport { DEFAULT_THEME_PREVIEW_LABELS, type ThemePreviewLabels } from './theme/previewLabels'\nexport {\n deriveColors,\n inferInputs,\n contrastIssues,\n CONTRAST_PAIRS,\n type ThemeInputs,\n type ThemeInputKey,\n type ColorScheme,\n type ContrastPair,\n type ContrastIssue,\n} from './theme/derive'\nexport { contrastRatio, ensureContrast } from './theme/color'\nexport {\n createAppearanceStore,\n type AppearanceBundle,\n type AppearanceDefaults,\n type AppearanceState,\n type AppearanceStoreConfig,\n} from './theme/appearance'\nexport { themeFromCss, type ThemeFromCss, type ThemeFromCssOptions } from './theme/fromCss'\nexport {\n FONT_PAIRINGS,\n getFontPairing,\n matchFontPairing,\n fontPackages,\n type FontPairing,\n} from './theme/fontPairings'\n\n// \u2500\u2500 Contextual tips engine (the tips are the site's content) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\nexport * from './tips'\n\n// \u2500\u2500 Guided runs (\"Show me\", remote control): the cursor, the runner, the registry \u2500\u2500\nexport * from './guided'\n\n// \u2500\u2500 Formatting + testid helpers \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\nexport { tid } from './lib/testid'\nexport {\n formatCurrency,\n initials,\n fmtDate,\n fmtDateTime,\n daysUntil,\n hrs,\n pct,\n formatCount,\n pluralize,\n displayName,\n type CountForms,\n type DisplayNameUser,\n} from './lib/format'\n\n// \u2500\u2500 ARBI deep links \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\nexport {\n buildDeepLinkPath,\n buildDeepLinkUrl,\n parseDeepLinkPath,\n type DeepLinkParams,\n} from './lib/deep-link'\n// The route codec: every address of the app as a typed route, from one route table.\nexport {\n ARBI_ROUTES,\n createRouteCodec,\n hrefFor,\n entityHrefFor,\n isDeepLinkPath,\n parseHref,\n pathRoute,\n readArrivalParams,\n renamedPage,\n type AnyRouteDefinition,\n type ArrivalParams,\n type ArbiRoute,\n type ArbiRouteKind,\n type RouteCodec,\n type RouteDefinition,\n} from './lib/routes'\n\n// \u2500\u2500 Generic UI primitives \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\nexport {\n DataTable,\n type Column,\n type DataTableProps,\n type DataTableSort,\n type DataTableTestIds,\n} from './components/DataTable'\nexport {\n DataTableBlock,\n type DataTableBlockProps,\n type DataTableBlockColumn,\n} from './components/DataTableBlock'\nexport { EmptyState } from './components/EmptyState'\nexport {\n ErrorBoundary,\n DEFAULT_ERROR_BOUNDARY_LABELS,\n type ErrorBoundaryLabels,\n type ErrorBoundaryProps,\n type ErrorBoundaryFallbackProps,\n} from './components/ErrorBoundary'\nexport { LoadingIndicator, type LoadingIndicatorProps } from './components/LoadingIndicator'\nexport { DroppableContainer, type DroppableContainerProps } from './components/DroppableContainer'\nexport {\n RowNavigatorControls,\n type RowNavigatorControlsProps,\n} from './components/RowNavigatorControls'\nexport { GridRowNavigator, type GridRowNavigatorProps } from './components/GridRowNavigator'\nexport { SharedCell, type SharedCellProps, type SharedItem } from './components/SharedCell'\nexport {\n UsageMeter,\n usageMeterState,\n type UsageMeterAllowance,\n type UsageMeterState,\n} from './components/UsageMeter'\n\n// \u2500\u2500 Timeline views \u2014 calendar, Gantt, and the toggle between them \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\nexport {\n Timeline,\n TimelineCalendar,\n TimelineGantt,\n TimelineZoomControl,\n TIMELINE_ZOOM,\n formatSpan,\n parseIso,\n utcDay,\n dayKey,\n monthLabel,\n type TimelineItem,\n type TimelineProps,\n type TimelineViewMode,\n type TimelineCalendarProps,\n type TimelineGanttProps,\n type TimelineZoomControlProps,\n} from './timeline'\nexport { PageHeader, type PageHeaderProps } from './components/PageHeader'\nexport { SectionHeading } from './components/SectionHeading'\nexport {\n DetailPanel,\n DetailBody,\n DetailEmpty,\n DetailField,\n DetailFields,\n DetailHint,\n DetailLinkItem,\n DetailLinkList,\n DetailLoading,\n DetailSaveBar,\n DetailSection,\n DEFAULT_DETAIL_PANEL_LABELS,\n DEFAULT_DETAIL_SAVE_BAR_LABELS,\n type DetailPanelProps,\n type DetailPanelLabels,\n type DetailSectionProps,\n type DetailFieldProps,\n type DetailHintProps,\n type DetailLinkItemProps,\n type DetailSaveBarProps,\n type DetailSaveBarLabels,\n} from './components/DetailPanel'\nexport {\n CollectionDetail,\n type CollectionDetailProps,\n type CollectionDetailContext,\n} from './components/CollectionDetail'\nexport { ToneBadge, type Tone, type ToneBadgeProps } from './components/ToneBadge'\nexport { TONES, isTone } from './components/tones'\nexport { Chart, type ChartProps, type ChartSeries } from './components/Chart'\nexport { Toolbar } from './components/Toolbar'\nexport {\n EntityIdentityBar,\n IDENTITY_NAME_MAX_LENGTH,\n type EntityIdentityBarProps,\n type EntityIdentityField,\n} from './components/EntityIdentityBar'\nexport {\n MemberAvatarStack,\n type MemberAvatarStackProps,\n type StackedMember,\n} from './components/MemberAvatarStack'\nexport { MetricCard, type MetricCardProps } from './components/MetricCard'\nexport {\n EntityTooltip,\n EntityTooltipHeader,\n EntityTooltipStats,\n EntityTooltipSection,\n EntityTooltipHint,\n type EntityTooltipHeaderProps,\n type EntityTooltipStat,\n} from './components/EntityTooltip'\nexport { EntityChip, type EntityChipProps } from './components/EntityChip'\nexport { AskBar, type AskBarProps } from './components/AskBar'\nexport { Table, TableHeader, TableBody, TableRow, TableHead, TableCell } from '@arbidocs/react/ui'\n// `Shell.Root` already mounts TooltipProvider for the whole back office; these are\n// re-exported for apps that render tooltips outside the shell (marketing pages,\n// standalone surfaces).\nexport { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider } from '@arbidocs/react/ui'\n// The document tile is defined in @arbidocs/react (blocks depends on react, never the reverse),\n// but it is a general component card, so it is part of the blocks surface too.\n\n// \u2500\u2500 App-level UI areas (clean, view-model driven; see docs/design) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\n// Areas that need a heavy library are NOT re-exported here, so importing the root never loads\n// them: `/files`, `/facts` and `/databases` (AG Grid), `/home` and `/workspaces` (dnd-kit), `/settings` (cmdk),\n// `/connect` (React Query), `/studio` (Puck, router). Import those from their subpath.\nexport * from './chat'\nexport * from './shell'\nexport * from './auth'\nexport * from './retrieval'\nexport * from './agents'\nexport * from './citations'\nexport * from './collaboration'\nexport * from './activity'\nexport * from './tags'\n\n// \u2500\u2500 The host configuration (one `<ArbiHost config>`) and its environment \u2500\u2500\u2500\u2500\u2500\nexport { ArbiHost, useHost, type ArbiHostConfig } from './provider/host'\nexport type { WorkflowsHost, WorkflowCatalogueEntry } from './connection/workflows/support'\nexport {\n createBlocksEnvironment,\n useBlocksDialogs,\n useBlocksEnvironment,\n type BlocksEnvironment,\n type BlocksRuntimeConfig,\n type LinkTarget,\n type OpenCalendarOptions,\n type OpenConversationOptions,\n type OpenDocumentOptions,\n type OpenFilesOptions,\n type OpenMailOptions,\n type OpenNewConversationOptions,\n type OpenWordEditorOptions,\n type OpenWorkflowOptions,\n type ShareRequest,\n type UploadSource,\n} from './provider/environment'\nexport {\n requestSettingsSection,\n useRequestedSettingsSection,\n type SettingsSectionRequest,\n} from './provider/settings-section'\nexport {\n closeAllDialogs,\n closeDialog,\n getDialog,\n openDialog,\n useDialogProps,\n type BlocksDialogKind,\n type BlocksDialogProps,\n type CreateWorkspaceDialogProps,\n type UploadDialogProps,\n} from './provider/dialog-registry'\nexport {\n type ConfirmRequest,\n type ConfirmKind,\n type ChoiceRequest,\n type PromptChoice,\n} from './provider/dialogs'\nexport { BlocksTooltipProvider } from './provider/TooltipScope'\n\n// \u2500\u2500 Website building blocks (marketing / media / navigation / layout) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\nexport { BlockImage, type BlockImageProps } from './components/BlockImage'\nexport { Hero, type HeroProps, type HeroCta } from './components/Hero'\nexport {\n BlockLink,\n type BlockLinkProps,\n type BlockLinkComponent,\n type BlockLinkRenderProps,\n} from './components/blockLink'\nexport { ActionLink, type ActionLinkProps } from './components/ActionLink'\nexport {\n OpenConversationButton,\n type OpenConversationButtonProps,\n} from './components/OpenConversationButton'\nexport { FeatureGrid, type FeatureGridProps, type FeatureItem } from './components/FeatureGrid'\nexport { StatGroup, type StatGroupProps, type StatItem } from './components/StatGroup'\nexport { Testimonial, type TestimonialProps } from './components/Testimonial'\nexport { CTABanner, type CTABannerProps } from './components/CTABanner'\nexport { LogoCloud, type LogoCloudProps, type LogoItem } from './components/LogoCloud'\nexport { FAQ, type FAQProps, type FaqItem } from './components/FAQ'\nexport { RichTextBlock, type RichTextBlockProps } from './components/RichTextBlock'\nexport { Callout, type CalloutProps, type CalloutVariant } from './components/Callout'\nexport { AvatarBlock, type AvatarBlockProps } from './components/AvatarBlock'\nexport { Navbar, type NavbarProps, type NavLink } from './components/Navbar'\nexport { Footer, type FooterProps, type FooterColumn, type FooterLink } from './components/Footer'\nexport { ListBlock, type ListBlockProps, type ListItem } from './components/ListBlock'\nexport { Columns, type ColumnsProps } from './components/Columns'\nexport { Spacer, type SpacerProps } from './components/Spacer'\nexport { Container, type ContainerProps } from './components/Container'\nexport { PricingTable, type PricingTableProps, type PricingPlan } from './components/PricingTable'\nexport { Tabs, type TabsProps, type TabItem } from './components/Tabs'\nexport { Accordion, type AccordionProps, type AccordionItem } from './components/Accordion'\nexport { Gallery, type GalleryProps, type GalleryImage } from './components/Gallery'\nexport {\n VideoEmbed,\n toEmbedUrl,\n type VideoEmbedProps,\n type VideoAspect,\n} from './components/VideoEmbed'\nexport { ContactForm, type ContactFormProps, type ContactField } from './components/ContactForm'\nexport { Banner, type BannerProps, type BannerTone } from './components/Banner'\nexport { MediaText, type MediaTextProps } from './components/MediaText'\nexport { TeamGrid, type TeamGridProps, type TeamMember } from './components/TeamGrid'\nexport * from './components/editorial'\nexport { Steps, type StepsProps, type StepItem } from './components/Steps'\nexport {\n TestimonialGrid,\n type TestimonialGridProps,\n type TestimonialItem,\n} from './components/TestimonialGrid'\n\n// \u2500\u2500 Navigation contracts \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\nexport { type AppNavItem, type AppNavSection } from './nav/types'\nexport { defineActions, type ActionDefinition } from './nav/actions'\nexport { defineNavigation } from './nav/manifest'\nexport { EXPERIMENTAL_NAV_ITEMS, useExperimentalNavItems } from './connection/shell/experimentalNav'\n\nexport {\n FilterInput,\n DEFAULT_FILTER_FIELDS,\n DEFAULT_FILTER_INPUT_LABELS,\n type FilterField,\n type FilterInputProps,\n type FilterInputLabels,\n type FilterInputTestIds,\n} from './shell/FilterInput'\n\n// Heavy components in their own chunks (grid, calendar, Word editor, PDF viewer).\nexport {\n calendarGridChunk,\n docxEditorChunk,\n gridChunk,\n KIT_CHUNK_LOADERS,\n prefetchViewerChunks,\n preloadKitChunks,\n} from './lazy-chunks'\n"],
|
|
5
|
+
"mappings": ";AAQA;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAOK;AACP;AAAA,EACE;AAAA,EACA;AAAA,OAIK;AACP,SAAS,mBAA0C;AACnD,SAAS,oBAA4C;AACrD,SAAS,oCAA6D;AACtE;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAMK;AACP,SAAS,eAAe,sBAAsB;AAC9C;AAAA,EACE;AAAA,OAKK;AACP,SAAS,oBAAiE;AAC1E;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAEK;AAGP,cAAc;AAGd,cAAc;AAGd,SAAS,WAAW;AACpB;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAGK;AAGP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,OAEK;AAEP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAOK;AAGP;AAAA,EACE;AAAA,OAKK;AACP;AAAA,EACE;AAAA,OAGK;AACP,SAAS,kBAAkB;AAC3B;AAAA,EACE;AAAA,EACA;AAAA,OAIK;AACP,SAAS,wBAAoD;AAC7D,SAAS,0BAAwD;AACjE;AAAA,EACE;AAAA,OAEK;AACP,SAAS,wBAAoD;AAC7D,SAAS,kBAAyD;AAClE;AAAA,EACE;AAAA,EACA;AAAA,OAGK;AAGP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAOK;AACP,SAAS,kBAAwC;AACjD,SAAS,sBAAsB;AAC/B;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OASK;AACP;AAAA,EACE;AAAA,OAGK;AACP,SAAS,iBAAiD;AAC1D,SAAS,OAAO,cAAc;AAC9B,SAAS,aAAgD;AACzD,SAAS,eAAe;AACxB;AAAA,EACE;AAAA,EACA;AAAA,OAGK;AACP;AAAA,EACE;AAAA,OAGK;AACP,SAAS,kBAAwC;AACjD;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAGK;AACP,SAAS,kBAAwC;AACjD,SAAS,cAAgC;AACzC,SAAS,OAAO,aAAa,WAAW,UAAU,WAAW,iBAAiB;AAI9E,SAAS,SAAS,gBAAgB,gBAAgB,uBAAuB;AAQzE,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AAGd,SAAS,UAAU,eAAoC;AAEvD;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,OAcK;AACP;AAAA,EACE;AAAA,EACA;AAAA,OAEK;AACP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAKK;AAOP,SAAS,6BAA6B;AAGtC,SAAS,kBAAwC;AACjD,SAAS,YAA0C;AACnD;AAAA,EACE;AAAA,OAIK;AACP,SAAS,kBAAwC;AACjD;AAAA,EACE;AAAA,OAEK;AACP,SAAS,mBAA4D;AACrE,SAAS,iBAAqD;AAC9D,SAAS,mBAA0C;AACnD,SAAS,iBAAsC;AAC/C,SAAS,iBAAqD;AAC9D,SAAS,WAAwC;AACjD,SAAS,qBAA8C;AACvD,SAAS,eAAuD;AAChE,SAAS,mBAA0C;AACnD,SAAS,cAA8C;AACvD,SAAS,cAAoE;AAC7E,SAAS,iBAAqD;AAC9D,SAAS,eAAkC;AAC3C,SAAS,cAAgC;AACzC,SAAS,iBAAsC;AAC/C,SAAS,oBAA8D;AACvE,SAAS,YAA0C;AACnD,SAAS,iBAA0D;AACnE,SAAS,eAAqD;AAC9D;AAAA,EACE;AAAA,EACA;AAAA,OAGK;AACP,SAAS,mBAA6D;AACtE,SAAS,cAAiD;AAC1D,SAAS,iBAAsC;AAC/C,SAAS,gBAAqD;AAC9D,cAAc;AACd,SAAS,aAA6C;AACtD;AAAA,EACE;AAAA,OAGK;AAIP,SAAS,qBAA4C;AACrD,SAAS,wBAAwB;AACjC,SAAS,wBAAwB,+BAA+B;AAEhE;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,OAKK;AAGP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { MouseEvent, PointerEvent } from 'react';
|
|
2
|
+
declare function over(event: PointerEvent<HTMLElement>): void;
|
|
3
|
+
declare function out(event: PointerEvent<HTMLElement>): void;
|
|
4
|
+
declare function mouseOut(event: MouseEvent<HTMLElement>): void;
|
|
5
|
+
export declare const pointerHover: {
|
|
6
|
+
onPointerEnter: typeof over;
|
|
7
|
+
onPointerMove: typeof over;
|
|
8
|
+
onPointerLeave: typeof out;
|
|
9
|
+
onMouseLeave: typeof mouseOut;
|
|
10
|
+
};
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
const MARK = "data-hover";
|
|
3
|
+
const TOUCH_ECHO_MS = 500;
|
|
4
|
+
let lastTouch = Number.NEGATIVE_INFINITY;
|
|
5
|
+
function isTouch(event) {
|
|
6
|
+
if (event.pointerType !== "touch") return false;
|
|
7
|
+
lastTouch = event.timeStamp;
|
|
8
|
+
return true;
|
|
9
|
+
}
|
|
10
|
+
function over(event) {
|
|
11
|
+
if (isTouch(event)) return;
|
|
12
|
+
const sinceTouch = event.timeStamp - lastTouch;
|
|
13
|
+
if (event.pointerType === "mouse" && sinceTouch >= 0 && sinceTouch < TOUCH_ECHO_MS) return;
|
|
14
|
+
const element = event.currentTarget;
|
|
15
|
+
if (!element.contains(event.target) || element.hasAttribute(MARK)) return;
|
|
16
|
+
element.setAttribute(MARK, "");
|
|
17
|
+
}
|
|
18
|
+
function out(event) {
|
|
19
|
+
if (!isTouch(event)) event.currentTarget.removeAttribute(MARK);
|
|
20
|
+
}
|
|
21
|
+
function mouseOut(event) {
|
|
22
|
+
event.currentTarget.removeAttribute(MARK);
|
|
23
|
+
}
|
|
24
|
+
const pointerHover = {
|
|
25
|
+
onPointerEnter: over,
|
|
26
|
+
// A move too: the mark can go while the pointer stays (see onMouseLeave), and no enter follows.
|
|
27
|
+
onPointerMove: over,
|
|
28
|
+
onPointerLeave: out,
|
|
29
|
+
// A finger tapping elsewhere takes the browser's hover from under a resting mouse, and this
|
|
30
|
+
// element hears of it only as a mouse leaving.
|
|
31
|
+
onMouseLeave: mouseOut
|
|
32
|
+
};
|
|
33
|
+
export {
|
|
34
|
+
pointerHover
|
|
35
|
+
};
|
|
36
|
+
//# sourceMappingURL=pointer-hover.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/lib/pointer-hover.ts"],
|
|
4
|
+
"sourcesContent": ["import type { MouseEvent, PointerEvent } from 'react'\n\n/**\n * Hover that follows the pointer itself, for a highlight the reader must see.\n *\n * Tailwind's `hover:` applies only where the device's main pointer can hover, so on a touch-screen\n * laptop it never shows, even under a mouse. Plain `:hover` shows there, and then stays on whatever\n * a finger tapped last: wrong where a tap changes what the highlight stands for.\n *\n * Spread `pointerHover` on the element and style it with `data-[hover]:`. The mark is on the\n * element while a mouse or a pen is over it, and a touch never sets it.\n */\n\nconst MARK = 'data-hover'\n\n/**\n * iOS repeats a touch as a mouse pointer straight after it (https://bugs.webkit.org/show_bug.cgi?id=214609).\n * A mouse this soon after a touch is that echo, not a hover.\n */\nconst TOUCH_ECHO_MS = 500\n\nlet lastTouch = Number.NEGATIVE_INFINITY\n\nfunction isTouch(event: PointerEvent<HTMLElement>): boolean {\n if (event.pointerType !== 'touch') return false\n lastTouch = event.timeStamp\n return true\n}\n\nfunction over(event: PointerEvent<HTMLElement>) {\n if (isTouch(event)) return\n const sinceTouch = event.timeStamp - lastTouch\n if (event.pointerType === 'mouse' && sinceTouch >= 0 && sinceTouch < TOUCH_ECHO_MS) return\n const element = event.currentTarget\n // A menu the element opens is its child to React wherever it is drawn: over it is not over this.\n if (!element.contains(event.target as Node) || element.hasAttribute(MARK)) return\n element.setAttribute(MARK, '')\n}\n\nfunction out(event: PointerEvent<HTMLElement>) {\n if (!isTouch(event)) event.currentTarget.removeAttribute(MARK)\n}\n\nfunction mouseOut(event: MouseEvent<HTMLElement>) {\n event.currentTarget.removeAttribute(MARK)\n}\n\nexport const pointerHover = {\n onPointerEnter: over,\n // A move too: the mark can go while the pointer stays (see onMouseLeave), and no enter follows.\n onPointerMove: over,\n onPointerLeave: out,\n // A finger tapping elsewhere takes the browser's hover from under a resting mouse, and this\n // element hears of it only as a mouse leaving.\n onMouseLeave: mouseOut,\n}\n"],
|
|
5
|
+
"mappings": ";AAaA,MAAM,OAAO;AAMb,MAAM,gBAAgB;AAEtB,IAAI,YAAY,OAAO;AAEvB,SAAS,QAAQ,OAA2C;AAC1D,MAAI,MAAM,gBAAgB,QAAS,QAAO;AAC1C,cAAY,MAAM;AAClB,SAAO;AACT;AAEA,SAAS,KAAK,OAAkC;AAC9C,MAAI,QAAQ,KAAK,EAAG;AACpB,QAAM,aAAa,MAAM,YAAY;AACrC,MAAI,MAAM,gBAAgB,WAAW,cAAc,KAAK,aAAa,cAAe;AACpF,QAAM,UAAU,MAAM;AAEtB,MAAI,CAAC,QAAQ,SAAS,MAAM,MAAc,KAAK,QAAQ,aAAa,IAAI,EAAG;AAC3E,UAAQ,aAAa,MAAM,EAAE;AAC/B;AAEA,SAAS,IAAI,OAAkC;AAC7C,MAAI,CAAC,QAAQ,KAAK,EAAG,OAAM,cAAc,gBAAgB,IAAI;AAC/D;AAEA,SAAS,SAAS,OAAgC;AAChD,QAAM,cAAc,gBAAgB,IAAI;AAC1C;AAEO,MAAM,eAAe;AAAA,EAC1B,gBAAgB;AAAA;AAAA,EAEhB,eAAe;AAAA,EACf,gBAAgB;AAAA;AAAA;AAAA,EAGhB,cAAc;AAChB;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
package/dist/pages/index.cjs
CHANGED
|
@@ -2,26 +2,30 @@
|
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
4
|
var chunkK5F2VNCX_cjs = require('../chunk-K5F2VNCX.cjs');
|
|
5
|
-
var
|
|
5
|
+
var chunk7YALMXGZ_cjs = require('../chunk-7YALMXGZ.cjs');
|
|
6
6
|
require('../chunk-DWRUGOTQ.cjs');
|
|
7
7
|
require('../chunk-KD66CBYO.cjs');
|
|
8
|
+
require('../chunk-UNSZLNA4.cjs');
|
|
8
9
|
require('../chunk-OHWYQI3B.cjs');
|
|
9
10
|
require('../chunk-ER2MRSLT.cjs');
|
|
10
|
-
require('../chunk-UNSZLNA4.cjs');
|
|
11
11
|
var chunkJ5CBCUQE_cjs = require('../chunk-J5CBCUQE.cjs');
|
|
12
12
|
require('../chunk-JWCVA4LC.cjs');
|
|
13
|
-
var
|
|
13
|
+
var chunk6RYDZ2PS_cjs = require('../chunk-6RYDZ2PS.cjs');
|
|
14
14
|
require('../chunk-223D4727.cjs');
|
|
15
15
|
require('../chunk-DTMBAFIL.cjs');
|
|
16
|
-
require('../chunk-SNUBQMIS.cjs');
|
|
17
16
|
require('../chunk-SOT7NPIB.cjs');
|
|
18
17
|
require('../chunk-3EIO4ZH5.cjs');
|
|
19
|
-
|
|
18
|
+
require('../chunk-76S6WTEC.cjs');
|
|
19
|
+
var chunkLNYICHFJ_cjs = require('../chunk-LNYICHFJ.cjs');
|
|
20
20
|
var chunkYSAUOJA7_cjs = require('../chunk-YSAUOJA7.cjs');
|
|
21
21
|
var chunkJ37DOAGN_cjs = require('../chunk-J37DOAGN.cjs');
|
|
22
22
|
require('../chunk-QEMGGJB6.cjs');
|
|
23
|
-
var
|
|
24
|
-
|
|
23
|
+
var chunkPUCYBYBY_cjs = require('../chunk-PUCYBYBY.cjs');
|
|
24
|
+
require('../chunk-HUAABZ2C.cjs');
|
|
25
|
+
require('../chunk-GISMY7J7.cjs');
|
|
26
|
+
require('../chunk-V5P5MRSR.cjs');
|
|
27
|
+
require('../chunk-SNUBQMIS.cjs');
|
|
28
|
+
var chunkLIJB6XOR_cjs = require('../chunk-LIJB6XOR.cjs');
|
|
25
29
|
var chunkNSD37OF5_cjs = require('../chunk-NSD37OF5.cjs');
|
|
26
30
|
require('../chunk-7G2LJMUG.cjs');
|
|
27
31
|
require('../chunk-WRTEKOQP.cjs');
|
|
@@ -29,6 +33,8 @@ require('../chunk-SK6HQ46Q.cjs');
|
|
|
29
33
|
require('../chunk-WCT6FT2K.cjs');
|
|
30
34
|
require('../chunk-C25KF2TM.cjs');
|
|
31
35
|
require('../chunk-ZU2B2RZK.cjs');
|
|
36
|
+
require('../chunk-U46OGRCO.cjs');
|
|
37
|
+
require('../chunk-66IOCKWS.cjs');
|
|
32
38
|
require('../chunk-BH322H5B.cjs');
|
|
33
39
|
require('../chunk-M55XUF4L.cjs');
|
|
34
40
|
require('../chunk-EVZH6Z5O.cjs');
|
|
@@ -39,9 +45,9 @@ require('../chunk-AHDJXIUB.cjs');
|
|
|
39
45
|
require('../chunk-S3GVFAFB.cjs');
|
|
40
46
|
require('../chunk-6UZC4XVV.cjs');
|
|
41
47
|
require('../chunk-IXCWZ4HC.cjs');
|
|
48
|
+
require('../chunk-DKY67DA6.cjs');
|
|
42
49
|
require('../chunk-SQCCQU3K.cjs');
|
|
43
50
|
require('../chunk-UDSHVNU3.cjs');
|
|
44
|
-
require('../chunk-DKY67DA6.cjs');
|
|
45
51
|
require('../chunk-ZQQVXRYZ.cjs');
|
|
46
52
|
require('../chunk-IPSHAMO2.cjs');
|
|
47
53
|
require('../chunk-ZVEW3JBT.cjs');
|
|
@@ -58,11 +64,11 @@ require('../chunk-GD5OYIOV.cjs');
|
|
|
58
64
|
require('../chunk-VWSOHZK2.cjs');
|
|
59
65
|
require('../chunk-TMX7YFVM.cjs');
|
|
60
66
|
require('../chunk-3YZKDCWY.cjs');
|
|
61
|
-
require('../chunk-PPCATBOY.cjs');
|
|
62
67
|
var chunkZW6FPIFC_cjs = require('../chunk-ZW6FPIFC.cjs');
|
|
63
68
|
var chunkHN56WWBR_cjs = require('../chunk-HN56WWBR.cjs');
|
|
64
69
|
require('../chunk-K67VMSOX.cjs');
|
|
65
70
|
require('../chunk-CVPV4I7Z.cjs');
|
|
71
|
+
require('../chunk-PPCATBOY.cjs');
|
|
66
72
|
require('../chunk-PLIF5CUV.cjs');
|
|
67
73
|
var react$1 = require('react');
|
|
68
74
|
var lucideReact = require('lucide-react');
|
|
@@ -74,7 +80,7 @@ var documentTools = require('@arbidocs/react/document-tools');
|
|
|
74
80
|
var viewers = require('@arbidocs/react/viewers');
|
|
75
81
|
|
|
76
82
|
var PAGE_TEMPLATES = [
|
|
77
|
-
|
|
83
|
+
chunk7YALMXGZ_cjs.WORKSPACE_DASHBOARD_PAGE,
|
|
78
84
|
...chunkYSAUOJA7_cjs.DASHBOARD_TEMPLATES
|
|
79
85
|
];
|
|
80
86
|
function pageOfTemplate(template) {
|
|
@@ -244,7 +250,7 @@ function LiveBlockEditor({
|
|
|
244
250
|
const { config } = value;
|
|
245
251
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid gap-4 sm:grid-cols-3", "data-testid": testId, children: [
|
|
246
252
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
247
|
-
|
|
253
|
+
chunkLIJB6XOR_cjs.EditorSelect,
|
|
248
254
|
{
|
|
249
255
|
label: l.listSource,
|
|
250
256
|
value: config.source,
|
|
@@ -267,7 +273,7 @@ function LiveBlockEditor({
|
|
|
267
273
|
}
|
|
268
274
|
),
|
|
269
275
|
config.source === "facts" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
270
|
-
|
|
276
|
+
chunkLIJB6XOR_cjs.EditorSelect,
|
|
271
277
|
{
|
|
272
278
|
label: l.factsGroups,
|
|
273
279
|
value: config.facts ?? "upcoming_and_newest",
|
|
@@ -286,7 +292,7 @@ function LiveBlockEditor({
|
|
|
286
292
|
const sources = CAROUSEL_SOURCES.filter((s) => s !== "workflows" || workflowsOn);
|
|
287
293
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid gap-4 sm:grid-cols-3", "data-testid": testId, children: [
|
|
288
294
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
289
|
-
|
|
295
|
+
chunkLIJB6XOR_cjs.EditorSelect,
|
|
290
296
|
{
|
|
291
297
|
label: l.carouselSource,
|
|
292
298
|
value: config.source,
|
|
@@ -347,7 +353,7 @@ function NumberField({
|
|
|
347
353
|
testId
|
|
348
354
|
}) {
|
|
349
355
|
const id = react$1.useId();
|
|
350
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
356
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkLIJB6XOR_cjs.EditorField, { label, htmlFor: id, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
351
357
|
ui.Input,
|
|
352
358
|
{
|
|
353
359
|
id,
|
|
@@ -446,7 +452,7 @@ function BlockEditor({
|
|
|
446
452
|
] }),
|
|
447
453
|
value && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
448
454
|
(value.kind === "chart" || value.kind === "metric") && /* @__PURE__ */ jsxRuntime.jsx(
|
|
449
|
-
|
|
455
|
+
chunkLNYICHFJ_cjs.PanelEditor,
|
|
450
456
|
{
|
|
451
457
|
value: react.panelOfBlock(value),
|
|
452
458
|
onChange: setPanel,
|
|
@@ -1173,11 +1179,9 @@ var toRowView = (r) => ({
|
|
|
1173
1179
|
titles: { ...r.titles ?? {} },
|
|
1174
1180
|
shared: r.shared ?? true
|
|
1175
1181
|
});
|
|
1176
|
-
var GRID_TYPES = new Set(chunkN33U2SB5_cjs.DATABASE_COLUMN_TYPES);
|
|
1177
|
-
var isGridType = (type) => GRID_TYPES.has(type);
|
|
1178
1182
|
var toColumnView = (c) => ({
|
|
1179
1183
|
...c,
|
|
1180
|
-
type:
|
|
1184
|
+
type: chunk7YALMXGZ_cjs.kitTypeOf(c.type) ?? "text"
|
|
1181
1185
|
});
|
|
1182
1186
|
function TableViewBlock({
|
|
1183
1187
|
viewId,
|
|
@@ -1200,7 +1204,7 @@ function TableViewBlock({
|
|
|
1200
1204
|
body = /* @__PURE__ */ jsxRuntime.jsx("p", { className: "p-4 text-sm text-muted-foreground", children: l.loading });
|
|
1201
1205
|
} else {
|
|
1202
1206
|
body = /* @__PURE__ */ jsxRuntime.jsx(
|
|
1203
|
-
|
|
1207
|
+
chunkPUCYBYBY_cjs.DatabaseTable,
|
|
1204
1208
|
{
|
|
1205
1209
|
columns,
|
|
1206
1210
|
rows,
|
|
@@ -1255,7 +1259,7 @@ function WithNewFileMenu({ children }) {
|
|
|
1255
1259
|
const [open, setOpen] = react$1.useState(false);
|
|
1256
1260
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
1257
1261
|
children(() => setOpen(true)),
|
|
1258
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1262
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk7YALMXGZ_cjs.ConnectedNewFileMenu, { open, onOpenChange: setOpen })
|
|
1259
1263
|
] });
|
|
1260
1264
|
}
|
|
1261
1265
|
function PageBlockView({
|
|
@@ -1336,18 +1340,18 @@ function PageBlockView({
|
|
|
1336
1340
|
) });
|
|
1337
1341
|
case "list":
|
|
1338
1342
|
return /* @__PURE__ */ jsxRuntime.jsx(LiveBlockCard, { actions, className, testId, children: block.config.source === "documents" ? /* @__PURE__ */ jsxRuntime.jsx(WithNewFileMenu, { children: (onCreateNew) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1339
|
-
|
|
1343
|
+
chunk7YALMXGZ_cjs.ConnectedListBlock,
|
|
1340
1344
|
{
|
|
1341
1345
|
config: block.config,
|
|
1342
1346
|
onCreateNew,
|
|
1343
1347
|
testId: testId && `${testId}-list`
|
|
1344
1348
|
}
|
|
1345
|
-
) }) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
1349
|
+
) }) : /* @__PURE__ */ jsxRuntime.jsx(chunk7YALMXGZ_cjs.ConnectedListBlock, { config: block.config, testId: testId && `${testId}-list` }) });
|
|
1346
1350
|
case "carousel":
|
|
1347
|
-
return /* @__PURE__ */ jsxRuntime.jsx(LiveBlockCard, { actions, className, testId, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1351
|
+
return /* @__PURE__ */ jsxRuntime.jsx(LiveBlockCard, { actions, className, testId, children: /* @__PURE__ */ jsxRuntime.jsx(chunk7YALMXGZ_cjs.ConnectedCarouselBlock, { config: block.config, testId: testId && `${testId}-carousel` }) });
|
|
1348
1352
|
case "agenda":
|
|
1349
1353
|
return /* @__PURE__ */ jsxRuntime.jsx(LiveBlockCard, { actions, className, testId, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1350
|
-
|
|
1354
|
+
chunk7YALMXGZ_cjs.ConnectedAgendaBlock,
|
|
1351
1355
|
{
|
|
1352
1356
|
config: block.config,
|
|
1353
1357
|
className: "border-0 p-0",
|
|
@@ -1355,7 +1359,7 @@ function PageBlockView({
|
|
|
1355
1359
|
}
|
|
1356
1360
|
) });
|
|
1357
1361
|
case "start":
|
|
1358
|
-
return /* @__PURE__ */ jsxRuntime.jsx(LiveBlockCard, { actions, className, testId, children: /* @__PURE__ */ jsxRuntime.jsx(WithNewFileMenu, { children: (onCreateNew) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1362
|
+
return /* @__PURE__ */ jsxRuntime.jsx(LiveBlockCard, { actions, className, testId, children: /* @__PURE__ */ jsxRuntime.jsx(WithNewFileMenu, { children: (onCreateNew) => /* @__PURE__ */ jsxRuntime.jsx(chunk7YALMXGZ_cjs.ConnectedStartBlock, { onCreateNew }) }) });
|
|
1359
1363
|
}
|
|
1360
1364
|
}
|
|
1361
1365
|
function NewPageButton({
|
|
@@ -1611,8 +1615,8 @@ function OpenPageTransferDialog({
|
|
|
1611
1615
|
}) {
|
|
1612
1616
|
const l = { ...DEFAULT_PAGE_TRANSFER_LABELS, ...labels };
|
|
1613
1617
|
const { notify } = chunkHN56WWBR_cjs.useBlocksEnvironment();
|
|
1614
|
-
const { options, nameOf } =
|
|
1615
|
-
const trackTransfer =
|
|
1618
|
+
const { options, nameOf } = chunk7YALMXGZ_cjs.useTransferTargets();
|
|
1619
|
+
const trackTransfer = chunk7YALMXGZ_cjs.useExportStore((state) => state.trackTransfer);
|
|
1616
1620
|
const [targetId, setTargetId] = react$1.useState(null);
|
|
1617
1621
|
const [references, setReferences] = react$1.useState("link");
|
|
1618
1622
|
const [jobId, setJobId] = react$1.useState(null);
|
|
@@ -1624,7 +1628,7 @@ function OpenPageTransferDialog({
|
|
|
1624
1628
|
isFetching: isPlanning,
|
|
1625
1629
|
refetch: refetchPlan
|
|
1626
1630
|
} = react.usePlanWorkspaceTransfer(scope, mode, { enabled: !jobId });
|
|
1627
|
-
const failure =
|
|
1631
|
+
const failure = chunk7YALMXGZ_cjs.planFailure(planError);
|
|
1628
1632
|
const start = react.useStartWorkspaceTransfer();
|
|
1629
1633
|
const cancel = react.useCancelWorkspaceTransfer();
|
|
1630
1634
|
const switchToPages = react.useSwitchToWorkspacePages();
|
|
@@ -1669,7 +1673,7 @@ function OpenPageTransferDialog({
|
|
|
1669
1673
|
if (!jobId) {
|
|
1670
1674
|
body = /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-2", children: [
|
|
1671
1675
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1672
|
-
|
|
1676
|
+
chunk6RYDZ2PS_cjs.ExportWorkspacePicker,
|
|
1673
1677
|
{
|
|
1674
1678
|
workspaces: options,
|
|
1675
1679
|
selectedId: targetId,
|
|
@@ -1678,7 +1682,7 @@ function OpenPageTransferDialog({
|
|
|
1678
1682
|
}
|
|
1679
1683
|
),
|
|
1680
1684
|
documents > 0 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
1681
|
-
|
|
1685
|
+
chunk6RYDZ2PS_cjs.TransferReferencesChooser,
|
|
1682
1686
|
{
|
|
1683
1687
|
value: references,
|
|
1684
1688
|
onChange: setReferences,
|
|
@@ -1692,7 +1696,7 @@ function OpenPageTransferDialog({
|
|
|
1692
1696
|
),
|
|
1693
1697
|
views > 0 && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "pt-2 text-sm text-muted-foreground", "data-testid": `${testId}-views`, children: l.viewsStay(views) }),
|
|
1694
1698
|
failure && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "pt-2", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1695
|
-
|
|
1699
|
+
chunk6RYDZ2PS_cjs.TransferPlanError,
|
|
1696
1700
|
{
|
|
1697
1701
|
detail: typeof failure === "string" ? failure : void 0,
|
|
1698
1702
|
onRetry: () => void refetchPlan(),
|
|
@@ -1726,7 +1730,7 @@ function OpenPageTransferDialog({
|
|
|
1726
1730
|
] });
|
|
1727
1731
|
} else if (!finished || !items) {
|
|
1728
1732
|
body = job ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
1729
|
-
|
|
1733
|
+
chunk6RYDZ2PS_cjs.TransferProgressView,
|
|
1730
1734
|
{
|
|
1731
1735
|
title: l.progress(mode, target),
|
|
1732
1736
|
processed: job.processed ?? 0,
|