@jini-ai/ui 0.1.0
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/LICENSE +201 -0
- package/README.md +277 -0
- package/dist/browser/index.d.ts +4 -0
- package/dist/browser/index.d.ts.map +1 -0
- package/dist/browser/index.js +10 -0
- package/dist/browser/index.js.map +1 -0
- package/dist/browser/useDismissOnOutsideOrEscape.d.ts +18 -0
- package/dist/browser/useDismissOnOutsideOrEscape.d.ts.map +1 -0
- package/dist/browser/useDismissOnOutsideOrEscape.js +42 -0
- package/dist/browser/useDismissOnOutsideOrEscape.js.map +1 -0
- package/dist/browser/useFileDropTarget.d.ts +25 -0
- package/dist/browser/useFileDropTarget.d.ts.map +1 -0
- package/dist/browser/useFileDropTarget.js +64 -0
- package/dist/browser/useFileDropTarget.js.map +1 -0
- package/dist/browser/useGlobalKeydown.d.ts +16 -0
- package/dist/browser/useGlobalKeydown.d.ts.map +1 -0
- package/dist/browser/useGlobalKeydown.js +60 -0
- package/dist/browser/useGlobalKeydown.js.map +1 -0
- package/dist/browser/useModalWindowDragGuard.d.ts +35 -0
- package/dist/browser/useModalWindowDragGuard.d.ts.map +1 -0
- package/dist/browser/useModalWindowDragGuard.js +51 -0
- package/dist/browser/useModalWindowDragGuard.js.map +1 -0
- package/dist/components/AgentIcon.d.ts +15 -0
- package/dist/components/AgentIcon.d.ts.map +1 -0
- package/dist/components/AgentIcon.js +80 -0
- package/dist/components/AgentIcon.js.map +1 -0
- package/dist/components/AppChromeHeader.d.ts +19 -0
- package/dist/components/AppChromeHeader.d.ts.map +1 -0
- package/dist/components/AppChromeHeader.js +11 -0
- package/dist/components/AppChromeHeader.js.map +1 -0
- package/dist/components/CustomSelect.d.ts +28 -0
- package/dist/components/CustomSelect.d.ts.map +1 -0
- package/dist/components/CustomSelect.js +167 -0
- package/dist/components/CustomSelect.js.map +1 -0
- package/dist/components/ExportDiagnosticsButton.d.ts +40 -0
- package/dist/components/ExportDiagnosticsButton.d.ts.map +1 -0
- package/dist/components/ExportDiagnosticsButton.js +112 -0
- package/dist/components/ExportDiagnosticsButton.js.map +1 -0
- package/dist/components/Icon.d.ts +15 -0
- package/dist/components/Icon.d.ts.map +1 -0
- package/dist/components/Icon.js +236 -0
- package/dist/components/Icon.js.map +1 -0
- package/dist/components/KitErrorBoundary.d.ts +13 -0
- package/dist/components/KitErrorBoundary.d.ts.map +1 -0
- package/dist/components/KitErrorBoundary.js +30 -0
- package/dist/components/KitErrorBoundary.js.map +1 -0
- package/dist/components/LanguageMenu.d.ts +23 -0
- package/dist/components/LanguageMenu.d.ts.map +1 -0
- package/dist/components/LanguageMenu.js +44 -0
- package/dist/components/LanguageMenu.js.map +1 -0
- package/dist/components/Loading.d.ts +27 -0
- package/dist/components/Loading.d.ts.map +1 -0
- package/dist/components/Loading.js +24 -0
- package/dist/components/Loading.js.map +1 -0
- package/dist/components/PaletteTweaks.d.ts +11 -0
- package/dist/components/PaletteTweaks.d.ts.map +1 -0
- package/dist/components/PaletteTweaks.js +65 -0
- package/dist/components/PaletteTweaks.js.map +1 -0
- package/dist/components/RemixIcon.d.ts +15 -0
- package/dist/components/RemixIcon.d.ts.map +1 -0
- package/dist/components/RemixIcon.js +19 -0
- package/dist/components/RemixIcon.js.map +1 -0
- package/dist/components/Toast.d.ts +18 -0
- package/dist/components/Toast.d.ts.map +1 -0
- package/dist/components/Toast.js +70 -0
- package/dist/components/Toast.js.map +1 -0
- package/dist/components/TooltipLayer.d.ts +9 -0
- package/dist/components/TooltipLayer.d.ts.map +1 -0
- package/dist/components/TooltipLayer.js +289 -0
- package/dist/components/TooltipLayer.js.map +1 -0
- package/dist/components/WorkingDirPicker.d.ts +47 -0
- package/dist/components/WorkingDirPicker.d.ts.map +1 -0
- package/dist/components/WorkingDirPicker.js +63 -0
- package/dist/components/WorkingDirPicker.js.map +1 -0
- package/dist/features/agent-tools/model-context.d.ts +30 -0
- package/dist/features/agent-tools/model-context.d.ts.map +1 -0
- package/dist/features/agent-tools/model-context.js +29 -0
- package/dist/features/agent-tools/model-context.js.map +1 -0
- package/dist/features/agent-tools/types.d.ts +34 -0
- package/dist/features/agent-tools/types.d.ts.map +1 -0
- package/dist/features/agent-tools/types.js +18 -0
- package/dist/features/agent-tools/types.js.map +1 -0
- package/dist/features/asset-grid/constants.d.ts +10 -0
- package/dist/features/asset-grid/constants.d.ts.map +1 -0
- package/dist/features/asset-grid/constants.js +10 -0
- package/dist/features/asset-grid/constants.js.map +1 -0
- package/dist/features/asset-grid/dependencies.d.ts +22 -0
- package/dist/features/asset-grid/dependencies.d.ts.map +1 -0
- package/dist/features/asset-grid/dependencies.js +70 -0
- package/dist/features/asset-grid/dependencies.js.map +1 -0
- package/dist/features/asset-grid/index.d.ts +32 -0
- package/dist/features/asset-grid/index.d.ts.map +1 -0
- package/dist/features/asset-grid/index.js +16 -0
- package/dist/features/asset-grid/index.js.map +1 -0
- package/dist/features/asset-grid/ports.d.ts +42 -0
- package/dist/features/asset-grid/ports.d.ts.map +1 -0
- package/dist/features/asset-grid/ports.js +2 -0
- package/dist/features/asset-grid/ports.js.map +1 -0
- package/dist/features/asset-grid/react/components/AssetCard.d.ts +25 -0
- package/dist/features/asset-grid/react/components/AssetCard.d.ts.map +1 -0
- package/dist/features/asset-grid/react/components/AssetCard.js +27 -0
- package/dist/features/asset-grid/react/components/AssetCard.js.map +1 -0
- package/dist/features/asset-grid/react/components/AssetGrid.d.ts +45 -0
- package/dist/features/asset-grid/react/components/AssetGrid.d.ts.map +1 -0
- package/dist/features/asset-grid/react/components/AssetGrid.js +113 -0
- package/dist/features/asset-grid/react/components/AssetGrid.js.map +1 -0
- package/dist/features/asset-grid/react/components/AssetGridBody.d.ts +19 -0
- package/dist/features/asset-grid/react/components/AssetGridBody.d.ts.map +1 -0
- package/dist/features/asset-grid/react/components/AssetGridBody.js +21 -0
- package/dist/features/asset-grid/react/components/AssetGridBody.js.map +1 -0
- package/dist/features/asset-grid/react/components/AssetGridToolbar.d.ts +23 -0
- package/dist/features/asset-grid/react/components/AssetGridToolbar.d.ts.map +1 -0
- package/dist/features/asset-grid/react/components/AssetGridToolbar.js +9 -0
- package/dist/features/asset-grid/react/components/AssetGridToolbar.js.map +1 -0
- package/dist/features/asset-grid/react/components/DeleteConfirmDialog.d.ts +15 -0
- package/dist/features/asset-grid/react/components/DeleteConfirmDialog.d.ts.map +1 -0
- package/dist/features/asset-grid/react/components/DeleteConfirmDialog.js +33 -0
- package/dist/features/asset-grid/react/components/DeleteConfirmDialog.js.map +1 -0
- package/dist/features/asset-grid/react/components/SelectionActionBar.d.ts +11 -0
- package/dist/features/asset-grid/react/components/SelectionActionBar.d.ts.map +1 -0
- package/dist/features/asset-grid/react/components/SelectionActionBar.js +8 -0
- package/dist/features/asset-grid/react/components/SelectionActionBar.js.map +1 -0
- package/dist/features/asset-grid/react/components/SelectionBand.d.ts +7 -0
- package/dist/features/asset-grid/react/components/SelectionBand.d.ts.map +1 -0
- package/dist/features/asset-grid/react/components/SelectionBand.js +8 -0
- package/dist/features/asset-grid/react/components/SelectionBand.js.map +1 -0
- package/dist/features/asset-grid/react/hooks/useAssetGridData.d.ts +38 -0
- package/dist/features/asset-grid/react/hooks/useAssetGridData.d.ts.map +1 -0
- package/dist/features/asset-grid/react/hooks/useAssetGridData.js +55 -0
- package/dist/features/asset-grid/react/hooks/useAssetGridData.js.map +1 -0
- package/dist/features/asset-grid/react/hooks/useAssetGridKeyboardShortcuts.d.ts +15 -0
- package/dist/features/asset-grid/react/hooks/useAssetGridKeyboardShortcuts.d.ts.map +1 -0
- package/dist/features/asset-grid/react/hooks/useAssetGridKeyboardShortcuts.js +30 -0
- package/dist/features/asset-grid/react/hooks/useAssetGridKeyboardShortcuts.js.map +1 -0
- package/dist/features/asset-grid/react/hooks/useAssetGridLiveUpdates.d.ts +40 -0
- package/dist/features/asset-grid/react/hooks/useAssetGridLiveUpdates.d.ts.map +1 -0
- package/dist/features/asset-grid/react/hooks/useAssetGridLiveUpdates.js +119 -0
- package/dist/features/asset-grid/react/hooks/useAssetGridLiveUpdates.js.map +1 -0
- package/dist/features/asset-grid/react/hooks/useAssetGridSelection.d.ts +12 -0
- package/dist/features/asset-grid/react/hooks/useAssetGridSelection.d.ts.map +1 -0
- package/dist/features/asset-grid/react/hooks/useAssetGridSelection.js +23 -0
- package/dist/features/asset-grid/react/hooks/useAssetGridSelection.js.map +1 -0
- package/dist/features/asset-grid/react/hooks/useRubberBandDrag.d.ts +19 -0
- package/dist/features/asset-grid/react/hooks/useRubberBandDrag.d.ts.map +1 -0
- package/dist/features/asset-grid/react/hooks/useRubberBandDrag.js +112 -0
- package/dist/features/asset-grid/react/hooks/useRubberBandDrag.js.map +1 -0
- package/dist/features/asset-grid/rules.d.ts +72 -0
- package/dist/features/asset-grid/rules.d.ts.map +1 -0
- package/dist/features/asset-grid/rules.js +219 -0
- package/dist/features/asset-grid/rules.js.map +1 -0
- package/dist/features/asset-grid/types.d.ts +68 -0
- package/dist/features/asset-grid/types.d.ts.map +1 -0
- package/dist/features/asset-grid/types.js +9 -0
- package/dist/features/asset-grid/types.js.map +1 -0
- package/dist/features/asset-tree-browser/constants.d.ts +23 -0
- package/dist/features/asset-tree-browser/constants.d.ts.map +1 -0
- package/dist/features/asset-tree-browser/constants.js +22 -0
- package/dist/features/asset-tree-browser/constants.js.map +1 -0
- package/dist/features/asset-tree-browser/dependencies.d.ts +14 -0
- package/dist/features/asset-tree-browser/dependencies.d.ts.map +1 -0
- package/dist/features/asset-tree-browser/dependencies.js +66 -0
- package/dist/features/asset-tree-browser/dependencies.js.map +1 -0
- package/dist/features/asset-tree-browser/index.d.ts +46 -0
- package/dist/features/asset-tree-browser/index.d.ts.map +1 -0
- package/dist/features/asset-tree-browser/index.js +23 -0
- package/dist/features/asset-tree-browser/index.js.map +1 -0
- package/dist/features/asset-tree-browser/ports.d.ts +53 -0
- package/dist/features/asset-tree-browser/ports.d.ts.map +1 -0
- package/dist/features/asset-tree-browser/ports.js +15 -0
- package/dist/features/asset-tree-browser/ports.js.map +1 -0
- package/dist/features/asset-tree-browser/react/components/AssetTreeBreadcrumbs.d.ts +9 -0
- package/dist/features/asset-tree-browser/react/components/AssetTreeBreadcrumbs.d.ts.map +1 -0
- package/dist/features/asset-tree-browser/react/components/AssetTreeBreadcrumbs.js +11 -0
- package/dist/features/asset-tree-browser/react/components/AssetTreeBreadcrumbs.js.map +1 -0
- package/dist/features/asset-tree-browser/react/components/AssetTreeBrowser.d.ts +63 -0
- package/dist/features/asset-tree-browser/react/components/AssetTreeBrowser.d.ts.map +1 -0
- package/dist/features/asset-tree-browser/react/components/AssetTreeBrowser.js +150 -0
- package/dist/features/asset-tree-browser/react/components/AssetTreeBrowser.js.map +1 -0
- package/dist/features/asset-tree-browser/react/components/AssetTreeEmptyState.d.ts +8 -0
- package/dist/features/asset-tree-browser/react/components/AssetTreeEmptyState.d.ts.map +1 -0
- package/dist/features/asset-tree-browser/react/components/AssetTreeEmptyState.js +8 -0
- package/dist/features/asset-tree-browser/react/components/AssetTreeEmptyState.js.map +1 -0
- package/dist/features/asset-tree-browser/react/components/AssetTreeFileRow.d.ts +33 -0
- package/dist/features/asset-tree-browser/react/components/AssetTreeFileRow.d.ts.map +1 -0
- package/dist/features/asset-tree-browser/react/components/AssetTreeFileRow.js +68 -0
- package/dist/features/asset-tree-browser/react/components/AssetTreeFileRow.js.map +1 -0
- package/dist/features/asset-tree-browser/react/components/AssetTreeFolderRow.d.ts +12 -0
- package/dist/features/asset-tree-browser/react/components/AssetTreeFolderRow.d.ts.map +1 -0
- package/dist/features/asset-tree-browser/react/components/AssetTreeFolderRow.js +8 -0
- package/dist/features/asset-tree-browser/react/components/AssetTreeFolderRow.js.map +1 -0
- package/dist/features/asset-tree-browser/react/components/AssetTreeRowMenu.d.ts +33 -0
- package/dist/features/asset-tree-browser/react/components/AssetTreeRowMenu.d.ts.map +1 -0
- package/dist/features/asset-tree-browser/react/components/AssetTreeRowMenu.js +15 -0
- package/dist/features/asset-tree-browser/react/components/AssetTreeRowMenu.js.map +1 -0
- package/dist/features/asset-tree-browser/react/components/AssetTreeSelectionBar.d.ts +13 -0
- package/dist/features/asset-tree-browser/react/components/AssetTreeSelectionBar.d.ts.map +1 -0
- package/dist/features/asset-tree-browser/react/components/AssetTreeSelectionBar.js +8 -0
- package/dist/features/asset-tree-browser/react/components/AssetTreeSelectionBar.js.map +1 -0
- package/dist/features/asset-tree-browser/react/components/AssetTreeToolbar.d.ts +14 -0
- package/dist/features/asset-tree-browser/react/components/AssetTreeToolbar.d.ts.map +1 -0
- package/dist/features/asset-tree-browser/react/components/AssetTreeToolbar.js +17 -0
- package/dist/features/asset-tree-browser/react/components/AssetTreeToolbar.js.map +1 -0
- package/dist/features/asset-tree-browser/react/components/AssetTreeUploadErrorBanner.d.ts +8 -0
- package/dist/features/asset-tree-browser/react/components/AssetTreeUploadErrorBanner.d.ts.map +1 -0
- package/dist/features/asset-tree-browser/react/components/AssetTreeUploadErrorBanner.js +8 -0
- package/dist/features/asset-tree-browser/react/components/AssetTreeUploadErrorBanner.js.map +1 -0
- package/dist/features/asset-tree-browser/react/components/FilePreviewPane.d.ts +39 -0
- package/dist/features/asset-tree-browser/react/components/FilePreviewPane.d.ts.map +1 -0
- package/dist/features/asset-tree-browser/react/components/FilePreviewPane.js +22 -0
- package/dist/features/asset-tree-browser/react/components/FilePreviewPane.js.map +1 -0
- package/dist/features/asset-tree-browser/react/hooks/useAssetTreeBatchActions.d.ts +30 -0
- package/dist/features/asset-tree-browser/react/hooks/useAssetTreeBatchActions.d.ts.map +1 -0
- package/dist/features/asset-tree-browser/react/hooks/useAssetTreeBatchActions.js +63 -0
- package/dist/features/asset-tree-browser/react/hooks/useAssetTreeBatchActions.js.map +1 -0
- package/dist/features/asset-tree-browser/react/hooks/useAssetTreeClipboardPasteUpload.d.ts +22 -0
- package/dist/features/asset-tree-browser/react/hooks/useAssetTreeClipboardPasteUpload.d.ts.map +1 -0
- package/dist/features/asset-tree-browser/react/hooks/useAssetTreeClipboardPasteUpload.js +22 -0
- package/dist/features/asset-tree-browser/react/hooks/useAssetTreeClipboardPasteUpload.js.map +1 -0
- package/dist/features/asset-tree-browser/react/hooks/useAssetTreeCopyLocalPath.d.ts +13 -0
- package/dist/features/asset-tree-browser/react/hooks/useAssetTreeCopyLocalPath.d.ts.map +1 -0
- package/dist/features/asset-tree-browser/react/hooks/useAssetTreeCopyLocalPath.js +21 -0
- package/dist/features/asset-tree-browser/react/hooks/useAssetTreeCopyLocalPath.js.map +1 -0
- package/dist/features/asset-tree-browser/react/hooks/useAssetTreeDragUpload.d.ts +9 -0
- package/dist/features/asset-tree-browser/react/hooks/useAssetTreeDragUpload.d.ts.map +1 -0
- package/dist/features/asset-tree-browser/react/hooks/useAssetTreeDragUpload.js +8 -0
- package/dist/features/asset-tree-browser/react/hooks/useAssetTreeDragUpload.js.map +1 -0
- package/dist/features/asset-tree-browser/react/hooks/useAssetTreeNavigation.d.ts +30 -0
- package/dist/features/asset-tree-browser/react/hooks/useAssetTreeNavigation.d.ts.map +1 -0
- package/dist/features/asset-tree-browser/react/hooks/useAssetTreeNavigation.js +43 -0
- package/dist/features/asset-tree-browser/react/hooks/useAssetTreeNavigation.js.map +1 -0
- package/dist/features/asset-tree-browser/react/hooks/useAssetTreePreview.d.ts +18 -0
- package/dist/features/asset-tree-browser/react/hooks/useAssetTreePreview.d.ts.map +1 -0
- package/dist/features/asset-tree-browser/react/hooks/useAssetTreePreview.js +37 -0
- package/dist/features/asset-tree-browser/react/hooks/useAssetTreePreview.js.map +1 -0
- package/dist/features/asset-tree-browser/react/hooks/useAssetTreeRename.d.ts +28 -0
- package/dist/features/asset-tree-browser/react/hooks/useAssetTreeRename.d.ts.map +1 -0
- package/dist/features/asset-tree-browser/react/hooks/useAssetTreeRename.js +51 -0
- package/dist/features/asset-tree-browser/react/hooks/useAssetTreeRename.js.map +1 -0
- package/dist/features/asset-tree-browser/react/hooks/useAssetTreeRowMenu.d.ts +19 -0
- package/dist/features/asset-tree-browser/react/hooks/useAssetTreeRowMenu.d.ts.map +1 -0
- package/dist/features/asset-tree-browser/react/hooks/useAssetTreeRowMenu.js +24 -0
- package/dist/features/asset-tree-browser/react/hooks/useAssetTreeRowMenu.js.map +1 -0
- package/dist/features/asset-tree-browser/react/hooks/useAssetTreeSelection.d.ts +29 -0
- package/dist/features/asset-tree-browser/react/hooks/useAssetTreeSelection.d.ts.map +1 -0
- package/dist/features/asset-tree-browser/react/hooks/useAssetTreeSelection.js +51 -0
- package/dist/features/asset-tree-browser/react/hooks/useAssetTreeSelection.js.map +1 -0
- package/dist/features/asset-tree-browser/rules.d.ts +103 -0
- package/dist/features/asset-tree-browser/rules.d.ts.map +1 -0
- package/dist/features/asset-tree-browser/rules.js +254 -0
- package/dist/features/asset-tree-browser/rules.js.map +1 -0
- package/dist/features/asset-tree-browser/types.d.ts +104 -0
- package/dist/features/asset-tree-browser/types.d.ts.map +1 -0
- package/dist/features/asset-tree-browser/types.js +12 -0
- package/dist/features/asset-tree-browser/types.js.map +1 -0
- package/dist/features/browser-chrome/constants.d.ts +13 -0
- package/dist/features/browser-chrome/constants.d.ts.map +1 -0
- package/dist/features/browser-chrome/constants.js +13 -0
- package/dist/features/browser-chrome/constants.js.map +1 -0
- package/dist/features/browser-chrome/dependencies.d.ts +26 -0
- package/dist/features/browser-chrome/dependencies.d.ts.map +1 -0
- package/dist/features/browser-chrome/dependencies.js +57 -0
- package/dist/features/browser-chrome/dependencies.js.map +1 -0
- package/dist/features/browser-chrome/index.d.ts +15 -0
- package/dist/features/browser-chrome/index.d.ts.map +1 -0
- package/dist/features/browser-chrome/index.js +8 -0
- package/dist/features/browser-chrome/index.js.map +1 -0
- package/dist/features/browser-chrome/ports.d.ts +16 -0
- package/dist/features/browser-chrome/ports.d.ts.map +1 -0
- package/dist/features/browser-chrome/ports.js +2 -0
- package/dist/features/browser-chrome/ports.js.map +1 -0
- package/dist/features/browser-chrome/react/components/BrowserViewportControls.d.ts +20 -0
- package/dist/features/browser-chrome/react/components/BrowserViewportControls.d.ts.map +1 -0
- package/dist/features/browser-chrome/react/components/BrowserViewportControls.js +38 -0
- package/dist/features/browser-chrome/react/components/BrowserViewportControls.js.map +1 -0
- package/dist/features/browser-chrome/react/hooks/useBrowserBridgeRegistration.d.ts +27 -0
- package/dist/features/browser-chrome/react/hooks/useBrowserBridgeRegistration.d.ts.map +1 -0
- package/dist/features/browser-chrome/react/hooks/useBrowserBridgeRegistration.js +38 -0
- package/dist/features/browser-chrome/react/hooks/useBrowserBridgeRegistration.js.map +1 -0
- package/dist/features/browser-chrome/react/hooks/useBrowserHistory.d.ts +27 -0
- package/dist/features/browser-chrome/react/hooks/useBrowserHistory.d.ts.map +1 -0
- package/dist/features/browser-chrome/react/hooks/useBrowserHistory.js +48 -0
- package/dist/features/browser-chrome/react/hooks/useBrowserHistory.js.map +1 -0
- package/dist/features/browser-chrome/react/hooks/useBrowserNavigationStack.d.ts +24 -0
- package/dist/features/browser-chrome/react/hooks/useBrowserNavigationStack.d.ts.map +1 -0
- package/dist/features/browser-chrome/react/hooks/useBrowserNavigationStack.js +69 -0
- package/dist/features/browser-chrome/react/hooks/useBrowserNavigationStack.js.map +1 -0
- package/dist/features/browser-chrome/rules.d.ts +68 -0
- package/dist/features/browser-chrome/rules.d.ts.map +1 -0
- package/dist/features/browser-chrome/rules.js +269 -0
- package/dist/features/browser-chrome/rules.js.map +1 -0
- package/dist/features/browser-chrome/types.d.ts +42 -0
- package/dist/features/browser-chrome/types.d.ts.map +1 -0
- package/dist/features/browser-chrome/types.js +15 -0
- package/dist/features/browser-chrome/types.js.map +1 -0
- package/dist/features/command-palette/constants.d.ts +5 -0
- package/dist/features/command-palette/constants.d.ts.map +1 -0
- package/dist/features/command-palette/constants.js +5 -0
- package/dist/features/command-palette/constants.js.map +1 -0
- package/dist/features/command-palette/dependencies.d.ts +12 -0
- package/dist/features/command-palette/dependencies.d.ts.map +1 -0
- package/dist/features/command-palette/dependencies.js +41 -0
- package/dist/features/command-palette/dependencies.js.map +1 -0
- package/dist/features/command-palette/index.d.ts +9 -0
- package/dist/features/command-palette/index.d.ts.map +1 -0
- package/dist/features/command-palette/index.js +7 -0
- package/dist/features/command-palette/index.js.map +1 -0
- package/dist/features/command-palette/ports.d.ts +5 -0
- package/dist/features/command-palette/ports.d.ts.map +1 -0
- package/dist/features/command-palette/ports.js +6 -0
- package/dist/features/command-palette/ports.js.map +1 -0
- package/dist/features/command-palette/react/components/CommandPalette.d.ts +26 -0
- package/dist/features/command-palette/react/components/CommandPalette.d.ts.map +1 -0
- package/dist/features/command-palette/react/components/CommandPalette.js +35 -0
- package/dist/features/command-palette/react/components/CommandPalette.js.map +1 -0
- package/dist/features/command-palette/react/components/CommandPaletteRow.d.ts +10 -0
- package/dist/features/command-palette/react/components/CommandPaletteRow.d.ts.map +1 -0
- package/dist/features/command-palette/react/components/CommandPaletteRow.js +6 -0
- package/dist/features/command-palette/react/components/CommandPaletteRow.js.map +1 -0
- package/dist/features/command-palette/react/hooks/useCommandPalette.d.ts +38 -0
- package/dist/features/command-palette/react/hooks/useCommandPalette.d.ts.map +1 -0
- package/dist/features/command-palette/react/hooks/useCommandPalette.js +70 -0
- package/dist/features/command-palette/react/hooks/useCommandPalette.js.map +1 -0
- package/dist/features/command-palette/rules.d.ts +21 -0
- package/dist/features/command-palette/rules.d.ts.map +1 -0
- package/dist/features/command-palette/rules.js +72 -0
- package/dist/features/command-palette/rules.js.map +1 -0
- package/dist/features/command-palette/types.d.ts +21 -0
- package/dist/features/command-palette/types.d.ts.map +1 -0
- package/dist/features/command-palette/types.js +2 -0
- package/dist/features/command-palette/types.js.map +1 -0
- package/dist/features/connectors/ConnectorsBrowser.d.ts +33 -0
- package/dist/features/connectors/ConnectorsBrowser.d.ts.map +1 -0
- package/dist/features/connectors/ConnectorsBrowser.js +59 -0
- package/dist/features/connectors/ConnectorsBrowser.js.map +1 -0
- package/dist/features/connectors/components/ConnectorAlertList.d.ts +9 -0
- package/dist/features/connectors/components/ConnectorAlertList.d.ts.map +1 -0
- package/dist/features/connectors/components/ConnectorAlertList.js +12 -0
- package/dist/features/connectors/components/ConnectorAlertList.js.map +1 -0
- package/dist/features/connectors/components/ConnectorCard.d.ts +19 -0
- package/dist/features/connectors/components/ConnectorCard.d.ts.map +1 -0
- package/dist/features/connectors/components/ConnectorCard.js +60 -0
- package/dist/features/connectors/components/ConnectorCard.js.map +1 -0
- package/dist/features/connectors/components/ConnectorDetailDrawer.d.ts +31 -0
- package/dist/features/connectors/components/ConnectorDetailDrawer.d.ts.map +1 -0
- package/dist/features/connectors/components/ConnectorDetailDrawer.js +69 -0
- package/dist/features/connectors/components/ConnectorDetailDrawer.js.map +1 -0
- package/dist/features/connectors/components/ConnectorGate.d.ts +10 -0
- package/dist/features/connectors/components/ConnectorGate.d.ts.map +1 -0
- package/dist/features/connectors/components/ConnectorGate.js +7 -0
- package/dist/features/connectors/components/ConnectorGate.js.map +1 -0
- package/dist/features/connectors/components/ConnectorGrid.d.ts +29 -0
- package/dist/features/connectors/components/ConnectorGrid.d.ts.map +1 -0
- package/dist/features/connectors/components/ConnectorGrid.js +13 -0
- package/dist/features/connectors/components/ConnectorGrid.js.map +1 -0
- package/dist/features/connectors/components/ConnectorLogo.d.ts +15 -0
- package/dist/features/connectors/components/ConnectorLogo.d.ts.map +1 -0
- package/dist/features/connectors/components/ConnectorLogo.js +30 -0
- package/dist/features/connectors/components/ConnectorLogo.js.map +1 -0
- package/dist/features/connectors/components/ConnectorSearchBar.d.ts +11 -0
- package/dist/features/connectors/components/ConnectorSearchBar.d.ts.map +1 -0
- package/dist/features/connectors/components/ConnectorSearchBar.js +24 -0
- package/dist/features/connectors/components/ConnectorSearchBar.js.map +1 -0
- package/dist/features/connectors/components/ProviderTabBar.d.ts +10 -0
- package/dist/features/connectors/components/ProviderTabBar.d.ts.map +1 -0
- package/dist/features/connectors/components/ProviderTabBar.js +12 -0
- package/dist/features/connectors/components/ProviderTabBar.js.map +1 -0
- package/dist/features/connectors/constants.d.ts +19 -0
- package/dist/features/connectors/constants.d.ts.map +1 -0
- package/dist/features/connectors/constants.js +21 -0
- package/dist/features/connectors/constants.js.map +1 -0
- package/dist/features/connectors/dependencies.d.ts +17 -0
- package/dist/features/connectors/dependencies.d.ts.map +1 -0
- package/dist/features/connectors/dependencies.js +147 -0
- package/dist/features/connectors/dependencies.js.map +1 -0
- package/dist/features/connectors/hooks/useConnectorAuthorization.d.ts +29 -0
- package/dist/features/connectors/hooks/useConnectorAuthorization.d.ts.map +1 -0
- package/dist/features/connectors/hooks/useConnectorAuthorization.js +226 -0
- package/dist/features/connectors/hooks/useConnectorAuthorization.js.map +1 -0
- package/dist/features/connectors/hooks/useConnectorCatalog.d.ts +24 -0
- package/dist/features/connectors/hooks/useConnectorCatalog.d.ts.map +1 -0
- package/dist/features/connectors/hooks/useConnectorCatalog.js +57 -0
- package/dist/features/connectors/hooks/useConnectorCatalog.js.map +1 -0
- package/dist/features/connectors/hooks/useConnectorDetail.d.ts +25 -0
- package/dist/features/connectors/hooks/useConnectorDetail.d.ts.map +1 -0
- package/dist/features/connectors/hooks/useConnectorDetail.js +88 -0
- package/dist/features/connectors/hooks/useConnectorDetail.js.map +1 -0
- package/dist/features/connectors/hooks/useWiredConnectorsBrowser.d.ts +40 -0
- package/dist/features/connectors/hooks/useWiredConnectorsBrowser.d.ts.map +1 -0
- package/dist/features/connectors/hooks/useWiredConnectorsBrowser.js +38 -0
- package/dist/features/connectors/hooks/useWiredConnectorsBrowser.js.map +1 -0
- package/dist/features/connectors/index.d.ts +33 -0
- package/dist/features/connectors/index.d.ts.map +1 -0
- package/dist/features/connectors/index.js +17 -0
- package/dist/features/connectors/index.js.map +1 -0
- package/dist/features/connectors/ports.d.ts +52 -0
- package/dist/features/connectors/ports.d.ts.map +1 -0
- package/dist/features/connectors/ports.js +2 -0
- package/dist/features/connectors/ports.js.map +1 -0
- package/dist/features/connectors/rules.d.ts +58 -0
- package/dist/features/connectors/rules.d.ts.map +1 -0
- package/dist/features/connectors/rules.js +387 -0
- package/dist/features/connectors/rules.js.map +1 -0
- package/dist/features/connectors/types.d.ts +86 -0
- package/dist/features/connectors/types.d.ts.map +1 -0
- package/dist/features/connectors/types.js +8 -0
- package/dist/features/connectors/types.js.map +1 -0
- package/dist/features/file-dropzone/constants.d.ts +25 -0
- package/dist/features/file-dropzone/constants.d.ts.map +1 -0
- package/dist/features/file-dropzone/constants.js +52 -0
- package/dist/features/file-dropzone/constants.js.map +1 -0
- package/dist/features/file-dropzone/index.d.ts +17 -0
- package/dist/features/file-dropzone/index.d.ts.map +1 -0
- package/dist/features/file-dropzone/index.js +10 -0
- package/dist/features/file-dropzone/index.js.map +1 -0
- package/dist/features/file-dropzone/react/components/FileDropzone.d.ts +55 -0
- package/dist/features/file-dropzone/react/components/FileDropzone.d.ts.map +1 -0
- package/dist/features/file-dropzone/react/components/FileDropzone.js +61 -0
- package/dist/features/file-dropzone/react/components/FileDropzone.js.map +1 -0
- package/dist/features/file-dropzone/react/components/FileDropzoneLightbox.d.ts +9 -0
- package/dist/features/file-dropzone/react/components/FileDropzoneLightbox.d.ts.map +1 -0
- package/dist/features/file-dropzone/react/components/FileDropzoneLightbox.js +44 -0
- package/dist/features/file-dropzone/react/components/FileDropzoneLightbox.js.map +1 -0
- package/dist/features/file-dropzone/react/components/FileDropzoneNameList.d.ts +9 -0
- package/dist/features/file-dropzone/react/components/FileDropzoneNameList.d.ts.map +1 -0
- package/dist/features/file-dropzone/react/components/FileDropzoneNameList.js +10 -0
- package/dist/features/file-dropzone/react/components/FileDropzoneNameList.js.map +1 -0
- package/dist/features/file-dropzone/react/components/FileDropzoneThumbnailGrid.d.ts +10 -0
- package/dist/features/file-dropzone/react/components/FileDropzoneThumbnailGrid.d.ts.map +1 -0
- package/dist/features/file-dropzone/react/components/FileDropzoneThumbnailGrid.js +44 -0
- package/dist/features/file-dropzone/react/components/FileDropzoneThumbnailGrid.js.map +1 -0
- package/dist/features/file-dropzone/react/hooks/useFileDialogTracking.d.ts +35 -0
- package/dist/features/file-dropzone/react/hooks/useFileDialogTracking.d.ts.map +1 -0
- package/dist/features/file-dropzone/react/hooks/useFileDialogTracking.js +113 -0
- package/dist/features/file-dropzone/react/hooks/useFileDialogTracking.js.map +1 -0
- package/dist/features/file-dropzone/react/hooks/useFileDropzone.d.ts +44 -0
- package/dist/features/file-dropzone/react/hooks/useFileDropzone.d.ts.map +1 -0
- package/dist/features/file-dropzone/react/hooks/useFileDropzone.js +135 -0
- package/dist/features/file-dropzone/react/hooks/useFileDropzone.js.map +1 -0
- package/dist/features/file-dropzone/react/hooks/useFileDropzonePreviews.d.ts +9 -0
- package/dist/features/file-dropzone/react/hooks/useFileDropzonePreviews.d.ts.map +1 -0
- package/dist/features/file-dropzone/react/hooks/useFileDropzonePreviews.js +133 -0
- package/dist/features/file-dropzone/react/hooks/useFileDropzonePreviews.js.map +1 -0
- package/dist/features/file-dropzone/rules.d.ts +17 -0
- package/dist/features/file-dropzone/rules.d.ts.map +1 -0
- package/dist/features/file-dropzone/rules.js +63 -0
- package/dist/features/file-dropzone/rules.js.map +1 -0
- package/dist/features/file-dropzone/types.d.ts +21 -0
- package/dist/features/file-dropzone/types.d.ts.map +1 -0
- package/dist/features/file-dropzone/types.js +14 -0
- package/dist/features/file-dropzone/types.js.map +1 -0
- package/dist/features/html-viewer/constants.d.ts +16 -0
- package/dist/features/html-viewer/constants.d.ts.map +1 -0
- package/dist/features/html-viewer/constants.js +16 -0
- package/dist/features/html-viewer/constants.js.map +1 -0
- package/dist/features/html-viewer/dependencies.d.ts +8 -0
- package/dist/features/html-viewer/dependencies.d.ts.map +1 -0
- package/dist/features/html-viewer/dependencies.js +51 -0
- package/dist/features/html-viewer/dependencies.js.map +1 -0
- package/dist/features/html-viewer/index.d.ts +18 -0
- package/dist/features/html-viewer/index.d.ts.map +1 -0
- package/dist/features/html-viewer/index.js +10 -0
- package/dist/features/html-viewer/index.js.map +1 -0
- package/dist/features/html-viewer/ports.d.ts +25 -0
- package/dist/features/html-viewer/ports.d.ts.map +1 -0
- package/dist/features/html-viewer/ports.js +2 -0
- package/dist/features/html-viewer/ports.js.map +1 -0
- package/dist/features/html-viewer/react/components/DeckNavigationControls.d.ts +11 -0
- package/dist/features/html-viewer/react/components/DeckNavigationControls.d.ts.map +1 -0
- package/dist/features/html-viewer/react/components/DeckNavigationControls.js +10 -0
- package/dist/features/html-viewer/react/components/DeckNavigationControls.js.map +1 -0
- package/dist/features/html-viewer/react/components/PresentMenu.d.ts +10 -0
- package/dist/features/html-viewer/react/components/PresentMenu.d.ts.map +1 -0
- package/dist/features/html-viewer/react/components/PresentMenu.js +17 -0
- package/dist/features/html-viewer/react/components/PresentMenu.js.map +1 -0
- package/dist/features/html-viewer/react/components/ZoomMenu.d.ts +11 -0
- package/dist/features/html-viewer/react/components/ZoomMenu.d.ts.map +1 -0
- package/dist/features/html-viewer/react/components/ZoomMenu.js +12 -0
- package/dist/features/html-viewer/react/components/ZoomMenu.js.map +1 -0
- package/dist/features/html-viewer/react/hooks/useDeckNavigation.d.ts +24 -0
- package/dist/features/html-viewer/react/hooks/useDeckNavigation.d.ts.map +1 -0
- package/dist/features/html-viewer/react/hooks/useDeckNavigation.js +37 -0
- package/dist/features/html-viewer/react/hooks/useDeckNavigation.js.map +1 -0
- package/dist/features/html-viewer/react/hooks/usePresentMode.d.ts +14 -0
- package/dist/features/html-viewer/react/hooks/usePresentMode.d.ts.map +1 -0
- package/dist/features/html-viewer/react/hooks/usePresentMode.js +28 -0
- package/dist/features/html-viewer/react/hooks/usePresentMode.js.map +1 -0
- package/dist/features/html-viewer/react/hooks/useZoomControl.d.ts +16 -0
- package/dist/features/html-viewer/react/hooks/useZoomControl.d.ts.map +1 -0
- package/dist/features/html-viewer/react/hooks/useZoomControl.js +22 -0
- package/dist/features/html-viewer/react/hooks/useZoomControl.js.map +1 -0
- package/dist/features/html-viewer/rules.d.ts +22 -0
- package/dist/features/html-viewer/rules.d.ts.map +1 -0
- package/dist/features/html-viewer/rules.js +48 -0
- package/dist/features/html-viewer/rules.js.map +1 -0
- package/dist/features/html-viewer/types.d.ts +20 -0
- package/dist/features/html-viewer/types.d.ts.map +1 -0
- package/dist/features/html-viewer/types.js +12 -0
- package/dist/features/html-viewer/types.js.map +1 -0
- package/dist/features/i18n/context.d.ts +63 -0
- package/dist/features/i18n/context.d.ts.map +1 -0
- package/dist/features/i18n/context.js +87 -0
- package/dist/features/i18n/context.js.map +1 -0
- package/dist/features/i18n/index.d.ts +6 -0
- package/dist/features/i18n/index.d.ts.map +1 -0
- package/dist/features/i18n/index.js +3 -0
- package/dist/features/i18n/index.js.map +1 -0
- package/dist/features/i18n/locale.d.ts +69 -0
- package/dist/features/i18n/locale.d.ts.map +1 -0
- package/dist/features/i18n/locale.js +86 -0
- package/dist/features/i18n/locale.js.map +1 -0
- package/dist/features/i18n/types.d.ts +26 -0
- package/dist/features/i18n/types.d.ts.map +1 -0
- package/dist/features/i18n/types.js +12 -0
- package/dist/features/i18n/types.js.map +1 -0
- package/dist/features/iframe-pool/constants.d.ts +2 -0
- package/dist/features/iframe-pool/constants.d.ts.map +1 -0
- package/dist/features/iframe-pool/constants.js +2 -0
- package/dist/features/iframe-pool/constants.js.map +1 -0
- package/dist/features/iframe-pool/index.d.ts +9 -0
- package/dist/features/iframe-pool/index.d.ts.map +1 -0
- package/dist/features/iframe-pool/index.js +7 -0
- package/dist/features/iframe-pool/index.js.map +1 -0
- package/dist/features/iframe-pool/react/components/IframeKeepAliveProvider.d.ts +16 -0
- package/dist/features/iframe-pool/react/components/IframeKeepAliveProvider.d.ts.map +1 -0
- package/dist/features/iframe-pool/react/components/IframeKeepAliveProvider.js +85 -0
- package/dist/features/iframe-pool/react/components/IframeKeepAliveProvider.js.map +1 -0
- package/dist/features/iframe-pool/react/components/PooledIframe.d.ts +12 -0
- package/dist/features/iframe-pool/react/components/PooledIframe.d.ts.map +1 -0
- package/dist/features/iframe-pool/react/components/PooledIframe.js +53 -0
- package/dist/features/iframe-pool/react/components/PooledIframe.js.map +1 -0
- package/dist/features/iframe-pool/react/dom-sync.d.ts +15 -0
- package/dist/features/iframe-pool/react/dom-sync.d.ts.map +1 -0
- package/dist/features/iframe-pool/react/dom-sync.js +119 -0
- package/dist/features/iframe-pool/react/dom-sync.js.map +1 -0
- package/dist/features/iframe-pool/react/hooks/useIframeKeepAlivePool.d.ts +10 -0
- package/dist/features/iframe-pool/react/hooks/useIframeKeepAlivePool.d.ts.map +1 -0
- package/dist/features/iframe-pool/react/hooks/useIframeKeepAlivePool.js +63 -0
- package/dist/features/iframe-pool/react/hooks/useIframeKeepAlivePool.js.map +1 -0
- package/dist/features/iframe-pool/react/pool-context.d.ts +3 -0
- package/dist/features/iframe-pool/react/pool-context.d.ts.map +1 -0
- package/dist/features/iframe-pool/react/pool-context.js +3 -0
- package/dist/features/iframe-pool/react/pool-context.js.map +1 -0
- package/dist/features/iframe-pool/rules.d.ts +17 -0
- package/dist/features/iframe-pool/rules.d.ts.map +1 -0
- package/dist/features/iframe-pool/rules.js +34 -0
- package/dist/features/iframe-pool/rules.js.map +1 -0
- package/dist/features/iframe-pool/types.d.ts +24 -0
- package/dist/features/iframe-pool/types.d.ts.map +1 -0
- package/dist/features/iframe-pool/types.js +2 -0
- package/dist/features/iframe-pool/types.js.map +1 -0
- package/dist/features/lexical-rich-text-editor/constants.d.ts +16 -0
- package/dist/features/lexical-rich-text-editor/constants.d.ts.map +1 -0
- package/dist/features/lexical-rich-text-editor/constants.js +18 -0
- package/dist/features/lexical-rich-text-editor/constants.js.map +1 -0
- package/dist/features/lexical-rich-text-editor/deserialize.d.ts +9 -0
- package/dist/features/lexical-rich-text-editor/deserialize.d.ts.map +1 -0
- package/dist/features/lexical-rich-text-editor/deserialize.js +55 -0
- package/dist/features/lexical-rich-text-editor/deserialize.js.map +1 -0
- package/dist/features/lexical-rich-text-editor/index.d.ts +12 -0
- package/dist/features/lexical-rich-text-editor/index.d.ts.map +1 -0
- package/dist/features/lexical-rich-text-editor/index.js +11 -0
- package/dist/features/lexical-rich-text-editor/index.js.map +1 -0
- package/dist/features/lexical-rich-text-editor/mention-node.d.ts +56 -0
- package/dist/features/lexical-rich-text-editor/mention-node.d.ts.map +1 -0
- package/dist/features/lexical-rich-text-editor/mention-node.js +142 -0
- package/dist/features/lexical-rich-text-editor/mention-node.js.map +1 -0
- package/dist/features/lexical-rich-text-editor/mention-parser.d.ts +47 -0
- package/dist/features/lexical-rich-text-editor/mention-parser.d.ts.map +1 -0
- package/dist/features/lexical-rich-text-editor/mention-parser.js +239 -0
- package/dist/features/lexical-rich-text-editor/mention-parser.js.map +1 -0
- package/dist/features/lexical-rich-text-editor/react/components/CaretFloatingLayer.d.ts +20 -0
- package/dist/features/lexical-rich-text-editor/react/components/CaretFloatingLayer.d.ts.map +1 -0
- package/dist/features/lexical-rich-text-editor/react/components/CaretFloatingLayer.js +33 -0
- package/dist/features/lexical-rich-text-editor/react/components/CaretFloatingLayer.js.map +1 -0
- package/dist/features/lexical-rich-text-editor/react/components/RichTextInput.d.ts +61 -0
- package/dist/features/lexical-rich-text-editor/react/components/RichTextInput.d.ts.map +1 -0
- package/dist/features/lexical-rich-text-editor/react/components/RichTextInput.js +154 -0
- package/dist/features/lexical-rich-text-editor/react/components/RichTextInput.js.map +1 -0
- package/dist/features/lexical-rich-text-editor/react/hooks/useCaretFloatingLayerPosition.d.ts +15 -0
- package/dist/features/lexical-rich-text-editor/react/hooks/useCaretFloatingLayerPosition.d.ts.map +1 -0
- package/dist/features/lexical-rich-text-editor/react/hooks/useCaretFloatingLayerPosition.js +54 -0
- package/dist/features/lexical-rich-text-editor/react/hooks/useCaretFloatingLayerPosition.js.map +1 -0
- package/dist/features/lexical-rich-text-editor/react/hooks/useKeyboardCommands.d.ts +11 -0
- package/dist/features/lexical-rich-text-editor/react/hooks/useKeyboardCommands.d.ts.map +1 -0
- package/dist/features/lexical-rich-text-editor/react/hooks/useKeyboardCommands.js +70 -0
- package/dist/features/lexical-rich-text-editor/react/hooks/useKeyboardCommands.js.map +1 -0
- package/dist/features/lexical-rich-text-editor/react/hooks/useMentionAtomicNavigation.d.ts +8 -0
- package/dist/features/lexical-rich-text-editor/react/hooks/useMentionAtomicNavigation.d.ts.map +1 -0
- package/dist/features/lexical-rich-text-editor/react/hooks/useMentionAtomicNavigation.js +63 -0
- package/dist/features/lexical-rich-text-editor/react/hooks/useMentionAtomicNavigation.js.map +1 -0
- package/dist/features/lexical-rich-text-editor/react/hooks/useMentionColorStamping.d.ts +18 -0
- package/dist/features/lexical-rich-text-editor/react/hooks/useMentionColorStamping.d.ts.map +1 -0
- package/dist/features/lexical-rich-text-editor/react/hooks/useMentionColorStamping.js +64 -0
- package/dist/features/lexical-rich-text-editor/react/hooks/useMentionColorStamping.js.map +1 -0
- package/dist/features/lexical-rich-text-editor/react/hooks/usePasteFiles.d.ts +5 -0
- package/dist/features/lexical-rich-text-editor/react/hooks/usePasteFiles.d.ts.map +1 -0
- package/dist/features/lexical-rich-text-editor/react/hooks/usePasteFiles.js +24 -0
- package/dist/features/lexical-rich-text-editor/react/hooks/usePasteFiles.js.map +1 -0
- package/dist/features/lexical-rich-text-editor/react/hooks/useSeededValue.d.ts +21 -0
- package/dist/features/lexical-rich-text-editor/react/hooks/useSeededValue.d.ts.map +1 -0
- package/dist/features/lexical-rich-text-editor/react/hooks/useSeededValue.js +35 -0
- package/dist/features/lexical-rich-text-editor/react/hooks/useSeededValue.js.map +1 -0
- package/dist/features/lexical-rich-text-editor/react/hooks/useSyncedOnChange.d.ts +10 -0
- package/dist/features/lexical-rich-text-editor/react/hooks/useSyncedOnChange.d.ts.map +1 -0
- package/dist/features/lexical-rich-text-editor/react/hooks/useSyncedOnChange.js +29 -0
- package/dist/features/lexical-rich-text-editor/react/hooks/useSyncedOnChange.js.map +1 -0
- package/dist/features/lexical-rich-text-editor/react/hooks/useTriggerDetection.d.ts +6 -0
- package/dist/features/lexical-rich-text-editor/react/hooks/useTriggerDetection.d.ts.map +1 -0
- package/dist/features/lexical-rich-text-editor/react/hooks/useTriggerDetection.js +39 -0
- package/dist/features/lexical-rich-text-editor/react/hooks/useTriggerDetection.js.map +1 -0
- package/dist/features/lexical-rich-text-editor/react/test-support/lexical-harness.d.ts +11 -0
- package/dist/features/lexical-rich-text-editor/react/test-support/lexical-harness.d.ts.map +1 -0
- package/dist/features/lexical-rich-text-editor/react/test-support/lexical-harness.js +35 -0
- package/dist/features/lexical-rich-text-editor/react/test-support/lexical-harness.js.map +1 -0
- package/dist/features/lexical-rich-text-editor/rules.d.ts +83 -0
- package/dist/features/lexical-rich-text-editor/rules.d.ts.map +1 -0
- package/dist/features/lexical-rich-text-editor/rules.js +317 -0
- package/dist/features/lexical-rich-text-editor/rules.js.map +1 -0
- package/dist/features/lexical-rich-text-editor/serialize.d.ts +8 -0
- package/dist/features/lexical-rich-text-editor/serialize.d.ts.map +1 -0
- package/dist/features/lexical-rich-text-editor/serialize.js +44 -0
- package/dist/features/lexical-rich-text-editor/serialize.js.map +1 -0
- package/dist/features/lexical-rich-text-editor/types.d.ts +83 -0
- package/dist/features/lexical-rich-text-editor/types.d.ts.map +1 -0
- package/dist/features/lexical-rich-text-editor/types.js +15 -0
- package/dist/features/lexical-rich-text-editor/types.js.map +1 -0
- package/dist/features/list-detail-panel/index.d.ts +7 -0
- package/dist/features/list-detail-panel/index.d.ts.map +1 -0
- package/dist/features/list-detail-panel/index.js +4 -0
- package/dist/features/list-detail-panel/index.js.map +1 -0
- package/dist/features/list-detail-panel/react/components/ListDetailPanel.d.ts +40 -0
- package/dist/features/list-detail-panel/react/components/ListDetailPanel.d.ts.map +1 -0
- package/dist/features/list-detail-panel/react/components/ListDetailPanel.js +23 -0
- package/dist/features/list-detail-panel/react/components/ListDetailPanel.js.map +1 -0
- package/dist/features/list-detail-panel/react/hooks/useListDetailSelection.d.ts +17 -0
- package/dist/features/list-detail-panel/react/hooks/useListDetailSelection.d.ts.map +1 -0
- package/dist/features/list-detail-panel/react/hooks/useListDetailSelection.js +23 -0
- package/dist/features/list-detail-panel/react/hooks/useListDetailSelection.js.map +1 -0
- package/dist/features/list-detail-panel/rules.d.ts +13 -0
- package/dist/features/list-detail-panel/rules.d.ts.map +1 -0
- package/dist/features/list-detail-panel/rules.js +22 -0
- package/dist/features/list-detail-panel/rules.js.map +1 -0
- package/dist/features/list-detail-panel/types.d.ts +22 -0
- package/dist/features/list-detail-panel/types.d.ts.map +1 -0
- package/dist/features/list-detail-panel/types.js +15 -0
- package/dist/features/list-detail-panel/types.js.map +1 -0
- package/dist/features/memory/async-commit-guard.d.ts +30 -0
- package/dist/features/memory/async-commit-guard.d.ts.map +1 -0
- package/dist/features/memory/async-commit-guard.js +12 -0
- package/dist/features/memory/async-commit-guard.js.map +1 -0
- package/dist/features/memory/constants.d.ts +42 -0
- package/dist/features/memory/constants.d.ts.map +1 -0
- package/dist/features/memory/constants.js +87 -0
- package/dist/features/memory/constants.js.map +1 -0
- package/dist/features/memory/dependencies.d.ts +68 -0
- package/dist/features/memory/dependencies.d.ts.map +1 -0
- package/dist/features/memory/dependencies.js +229 -0
- package/dist/features/memory/dependencies.js.map +1 -0
- package/dist/features/memory/formatters.d.ts +37 -0
- package/dist/features/memory/formatters.d.ts.map +1 -0
- package/dist/features/memory/formatters.js +343 -0
- package/dist/features/memory/formatters.js.map +1 -0
- package/dist/features/memory/index.d.ts +27 -0
- package/dist/features/memory/index.d.ts.map +1 -0
- package/dist/features/memory/index.js +26 -0
- package/dist/features/memory/index.js.map +1 -0
- package/dist/features/memory/ports.d.ts +53 -0
- package/dist/features/memory/ports.d.ts.map +1 -0
- package/dist/features/memory/ports.js +2 -0
- package/dist/features/memory/ports.js.map +1 -0
- package/dist/features/memory/react/components/MemoryAdvancedModal.d.ts +16 -0
- package/dist/features/memory/react/components/MemoryAdvancedModal.d.ts.map +1 -0
- package/dist/features/memory/react/components/MemoryAdvancedModal.js +45 -0
- package/dist/features/memory/react/components/MemoryAdvancedModal.js.map +1 -0
- package/dist/features/memory/react/components/MemoryConnectedPanel.d.ts +39 -0
- package/dist/features/memory/react/components/MemoryConnectedPanel.d.ts.map +1 -0
- package/dist/features/memory/react/components/MemoryConnectedPanel.js +56 -0
- package/dist/features/memory/react/components/MemoryConnectedPanel.js.map +1 -0
- package/dist/features/memory/react/components/MemoryEntryCard.d.ts +10 -0
- package/dist/features/memory/react/components/MemoryEntryCard.d.ts.map +1 -0
- package/dist/features/memory/react/components/MemoryEntryCard.js +16 -0
- package/dist/features/memory/react/components/MemoryEntryCard.js.map +1 -0
- package/dist/features/memory/react/components/MemoryExtractionCard.d.ts +9 -0
- package/dist/features/memory/react/components/MemoryExtractionCard.d.ts.map +1 -0
- package/dist/features/memory/react/components/MemoryExtractionCard.js +20 -0
- package/dist/features/memory/react/components/MemoryExtractionCard.js.map +1 -0
- package/dist/features/memory/react/components/MemoryHooksPanel.d.ts +8 -0
- package/dist/features/memory/react/components/MemoryHooksPanel.d.ts.map +1 -0
- package/dist/features/memory/react/components/MemoryHooksPanel.js +48 -0
- package/dist/features/memory/react/components/MemoryHooksPanel.js.map +1 -0
- package/dist/features/memory/react/components/MemoryHowPanel.d.ts +7 -0
- package/dist/features/memory/react/components/MemoryHowPanel.d.ts.map +1 -0
- package/dist/features/memory/react/components/MemoryHowPanel.js +12 -0
- package/dist/features/memory/react/components/MemoryHowPanel.js.map +1 -0
- package/dist/features/memory/react/components/MemoryList.d.ts +22 -0
- package/dist/features/memory/react/components/MemoryList.d.ts.map +1 -0
- package/dist/features/memory/react/components/MemoryList.js +27 -0
- package/dist/features/memory/react/components/MemoryList.js.map +1 -0
- package/dist/features/memory/react/components/MemoryManualEditor.d.ts +17 -0
- package/dist/features/memory/react/components/MemoryManualEditor.d.ts.map +1 -0
- package/dist/features/memory/react/components/MemoryManualEditor.js +63 -0
- package/dist/features/memory/react/components/MemoryManualEditor.js.map +1 -0
- package/dist/features/memory/react/hooks/useMemoryConfig.hooks.d.ts +29 -0
- package/dist/features/memory/react/hooks/useMemoryConfig.hooks.d.ts.map +1 -0
- package/dist/features/memory/react/hooks/useMemoryConfig.hooks.js +219 -0
- package/dist/features/memory/react/hooks/useMemoryConfig.hooks.js.map +1 -0
- package/dist/features/memory/react/hooks/useMemoryConnectors.hooks.d.ts +57 -0
- package/dist/features/memory/react/hooks/useMemoryConnectors.hooks.d.ts.map +1 -0
- package/dist/features/memory/react/hooks/useMemoryConnectors.hooks.js +517 -0
- package/dist/features/memory/react/hooks/useMemoryConnectors.hooks.js.map +1 -0
- package/dist/features/memory/react/hooks/useMemoryEntries.hooks.d.ts +52 -0
- package/dist/features/memory/react/hooks/useMemoryEntries.hooks.d.ts.map +1 -0
- package/dist/features/memory/react/hooks/useMemoryEntries.hooks.js +341 -0
- package/dist/features/memory/react/hooks/useMemoryEntries.hooks.js.map +1 -0
- package/dist/features/memory/react/hooks/useMemoryExtractions.hooks.d.ts +21 -0
- package/dist/features/memory/react/hooks/useMemoryExtractions.hooks.d.ts.map +1 -0
- package/dist/features/memory/react/hooks/useMemoryExtractions.hooks.js +181 -0
- package/dist/features/memory/react/hooks/useMemoryExtractions.hooks.js.map +1 -0
- package/dist/features/memory/react/hooks/useMemoryExtractions.store.d.ts +69 -0
- package/dist/features/memory/react/hooks/useMemoryExtractions.store.d.ts.map +1 -0
- package/dist/features/memory/react/hooks/useMemoryExtractions.store.js +269 -0
- package/dist/features/memory/react/hooks/useMemoryExtractions.store.js.map +1 -0
- package/dist/features/memory/react/hooks/useMemoryFlash.hooks.d.ts +12 -0
- package/dist/features/memory/react/hooks/useMemoryFlash.hooks.d.ts.map +1 -0
- package/dist/features/memory/react/hooks/useMemoryFlash.hooks.js +24 -0
- package/dist/features/memory/react/hooks/useMemoryFlash.hooks.js.map +1 -0
- package/dist/features/memory/react/hooks/useMemoryNavigation.hooks.d.ts +24 -0
- package/dist/features/memory/react/hooks/useMemoryNavigation.hooks.d.ts.map +1 -0
- package/dist/features/memory/react/hooks/useMemoryNavigation.hooks.js +37 -0
- package/dist/features/memory/react/hooks/useMemoryNavigation.hooks.js.map +1 -0
- package/dist/features/memory/react/render-markdown.d.ts +2 -0
- package/dist/features/memory/react/render-markdown.d.ts.map +1 -0
- package/dist/features/memory/react/render-markdown.js +24 -0
- package/dist/features/memory/react/render-markdown.js.map +1 -0
- package/dist/features/memory/rules.d.ts +44 -0
- package/dist/features/memory/rules.d.ts.map +1 -0
- package/dist/features/memory/rules.js +73 -0
- package/dist/features/memory/rules.js.map +1 -0
- package/dist/features/memory/types.d.ts +157 -0
- package/dist/features/memory/types.d.ts.map +1 -0
- package/dist/features/memory/types.js +2 -0
- package/dist/features/memory/types.js.map +1 -0
- package/dist/features/mention-autocomplete/constants.d.ts +9 -0
- package/dist/features/mention-autocomplete/constants.d.ts.map +1 -0
- package/dist/features/mention-autocomplete/constants.js +9 -0
- package/dist/features/mention-autocomplete/constants.js.map +1 -0
- package/dist/features/mention-autocomplete/index.d.ts +17 -0
- package/dist/features/mention-autocomplete/index.d.ts.map +1 -0
- package/dist/features/mention-autocomplete/index.js +9 -0
- package/dist/features/mention-autocomplete/index.js.map +1 -0
- package/dist/features/mention-autocomplete/react/components/MentionAutocomplete.d.ts +44 -0
- package/dist/features/mention-autocomplete/react/components/MentionAutocomplete.d.ts.map +1 -0
- package/dist/features/mention-autocomplete/react/components/MentionAutocomplete.js +35 -0
- package/dist/features/mention-autocomplete/react/components/MentionAutocomplete.js.map +1 -0
- package/dist/features/mention-autocomplete/react/components/MentionCategoryTabs.d.ts +12 -0
- package/dist/features/mention-autocomplete/react/components/MentionCategoryTabs.d.ts.map +1 -0
- package/dist/features/mention-autocomplete/react/components/MentionCategoryTabs.js +15 -0
- package/dist/features/mention-autocomplete/react/components/MentionCategoryTabs.js.map +1 -0
- package/dist/features/mention-autocomplete/react/components/MentionResultItem.d.ts +17 -0
- package/dist/features/mention-autocomplete/react/components/MentionResultItem.d.ts.map +1 -0
- package/dist/features/mention-autocomplete/react/components/MentionResultItem.js +14 -0
- package/dist/features/mention-autocomplete/react/components/MentionResultItem.js.map +1 -0
- package/dist/features/mention-autocomplete/react/components/MentionResultsList.d.ts +17 -0
- package/dist/features/mention-autocomplete/react/components/MentionResultsList.d.ts.map +1 -0
- package/dist/features/mention-autocomplete/react/components/MentionResultsList.js +10 -0
- package/dist/features/mention-autocomplete/react/components/MentionResultsList.js.map +1 -0
- package/dist/features/mention-autocomplete/react/components/SelectedMentionChips.d.ts +12 -0
- package/dist/features/mention-autocomplete/react/components/SelectedMentionChips.d.ts.map +1 -0
- package/dist/features/mention-autocomplete/react/components/SelectedMentionChips.js +11 -0
- package/dist/features/mention-autocomplete/react/components/SelectedMentionChips.js.map +1 -0
- package/dist/features/mention-autocomplete/react/hooks/useMentionAutocomplete.d.ts +56 -0
- package/dist/features/mention-autocomplete/react/hooks/useMentionAutocomplete.d.ts.map +1 -0
- package/dist/features/mention-autocomplete/react/hooks/useMentionAutocomplete.js +115 -0
- package/dist/features/mention-autocomplete/react/hooks/useMentionAutocomplete.js.map +1 -0
- package/dist/features/mention-autocomplete/rules.d.ts +54 -0
- package/dist/features/mention-autocomplete/rules.d.ts.map +1 -0
- package/dist/features/mention-autocomplete/rules.js +109 -0
- package/dist/features/mention-autocomplete/rules.js.map +1 -0
- package/dist/features/mention-autocomplete/types.d.ts +56 -0
- package/dist/features/mention-autocomplete/types.d.ts.map +1 -0
- package/dist/features/mention-autocomplete/types.js +20 -0
- package/dist/features/mention-autocomplete/types.js.map +1 -0
- package/dist/features/observability/boot-timing.d.ts +32 -0
- package/dist/features/observability/boot-timing.d.ts.map +1 -0
- package/dist/features/observability/boot-timing.js +129 -0
- package/dist/features/observability/boot-timing.js.map +1 -0
- package/dist/features/observability/iframe.d.ts +35 -0
- package/dist/features/observability/iframe.d.ts.map +1 -0
- package/dist/features/observability/iframe.js +62 -0
- package/dist/features/observability/iframe.js.map +1 -0
- package/dist/features/observability/index.d.ts +19 -0
- package/dist/features/observability/index.d.ts.map +1 -0
- package/dist/features/observability/index.js +10 -0
- package/dist/features/observability/index.js.map +1 -0
- package/dist/features/observability/install.d.ts +39 -0
- package/dist/features/observability/install.d.ts.map +1 -0
- package/dist/features/observability/install.js +54 -0
- package/dist/features/observability/install.js.map +1 -0
- package/dist/features/observability/long-task.d.ts +26 -0
- package/dist/features/observability/long-task.d.ts.map +1 -0
- package/dist/features/observability/long-task.js +82 -0
- package/dist/features/observability/long-task.js.map +1 -0
- package/dist/features/observability/ports.d.ts +14 -0
- package/dist/features/observability/ports.d.ts.map +1 -0
- package/dist/features/observability/ports.js +4 -0
- package/dist/features/observability/ports.js.map +1 -0
- package/dist/features/observability/resource-error.d.ts +21 -0
- package/dist/features/observability/resource-error.d.ts.map +1 -0
- package/dist/features/observability/resource-error.js +65 -0
- package/dist/features/observability/resource-error.js.map +1 -0
- package/dist/features/observability/stuck-run.d.ts +41 -0
- package/dist/features/observability/stuck-run.d.ts.map +1 -0
- package/dist/features/observability/stuck-run.js +113 -0
- package/dist/features/observability/stuck-run.js.map +1 -0
- package/dist/features/observability/visibility.d.ts +25 -0
- package/dist/features/observability/visibility.d.ts.map +1 -0
- package/dist/features/observability/visibility.js +68 -0
- package/dist/features/observability/visibility.js.map +1 -0
- package/dist/features/observability/white-screen.d.ts +52 -0
- package/dist/features/observability/white-screen.d.ts.map +1 -0
- package/dist/features/observability/white-screen.js +190 -0
- package/dist/features/observability/white-screen.js.map +1 -0
- package/dist/features/progress-card/components/ProgressCard.d.ts +19 -0
- package/dist/features/progress-card/components/ProgressCard.d.ts.map +1 -0
- package/dist/features/progress-card/components/ProgressCard.js +30 -0
- package/dist/features/progress-card/components/ProgressCard.js.map +1 -0
- package/dist/features/progress-card/index.d.ts +7 -0
- package/dist/features/progress-card/index.d.ts.map +1 -0
- package/dist/features/progress-card/index.js +4 -0
- package/dist/features/progress-card/index.js.map +1 -0
- package/dist/features/progress-card/reference-adapters.d.ts +93 -0
- package/dist/features/progress-card/reference-adapters.d.ts.map +1 -0
- package/dist/features/progress-card/reference-adapters.js +279 -0
- package/dist/features/progress-card/reference-adapters.js.map +1 -0
- package/dist/features/progress-card/rules.d.ts +27 -0
- package/dist/features/progress-card/rules.d.ts.map +1 -0
- package/dist/features/progress-card/rules.js +69 -0
- package/dist/features/progress-card/rules.js.map +1 -0
- package/dist/features/progress-card/types.d.ts +35 -0
- package/dist/features/progress-card/types.d.ts.map +1 -0
- package/dist/features/progress-card/types.js +9 -0
- package/dist/features/progress-card/types.js.map +1 -0
- package/dist/features/resource-dashboard/constants.d.ts +7 -0
- package/dist/features/resource-dashboard/constants.d.ts.map +1 -0
- package/dist/features/resource-dashboard/constants.js +7 -0
- package/dist/features/resource-dashboard/constants.js.map +1 -0
- package/dist/features/resource-dashboard/dependencies.d.ts +48 -0
- package/dist/features/resource-dashboard/dependencies.d.ts.map +1 -0
- package/dist/features/resource-dashboard/dependencies.js +94 -0
- package/dist/features/resource-dashboard/dependencies.js.map +1 -0
- package/dist/features/resource-dashboard/index.d.ts +33 -0
- package/dist/features/resource-dashboard/index.d.ts.map +1 -0
- package/dist/features/resource-dashboard/index.js +26 -0
- package/dist/features/resource-dashboard/index.js.map +1 -0
- package/dist/features/resource-dashboard/ports.d.ts +56 -0
- package/dist/features/resource-dashboard/ports.d.ts.map +1 -0
- package/dist/features/resource-dashboard/ports.js +2 -0
- package/dist/features/resource-dashboard/ports.js.map +1 -0
- package/dist/features/resource-dashboard/react/components/ResourceBoard.d.ts +40 -0
- package/dist/features/resource-dashboard/react/components/ResourceBoard.d.ts.map +1 -0
- package/dist/features/resource-dashboard/react/components/ResourceBoard.js +64 -0
- package/dist/features/resource-dashboard/react/components/ResourceBoard.js.map +1 -0
- package/dist/features/resource-dashboard/react/components/ResourceBoardToolbar.d.ts +39 -0
- package/dist/features/resource-dashboard/react/components/ResourceBoardToolbar.d.ts.map +1 -0
- package/dist/features/resource-dashboard/react/components/ResourceBoardToolbar.js +14 -0
- package/dist/features/resource-dashboard/react/components/ResourceBoardToolbar.js.map +1 -0
- package/dist/features/resource-dashboard/react/components/ResourceBoardView.d.ts +65 -0
- package/dist/features/resource-dashboard/react/components/ResourceBoardView.d.ts.map +1 -0
- package/dist/features/resource-dashboard/react/components/ResourceBoardView.js +14 -0
- package/dist/features/resource-dashboard/react/components/ResourceBoardView.js.map +1 -0
- package/dist/features/resource-dashboard/react/components/ResourceCard.d.ts +33 -0
- package/dist/features/resource-dashboard/react/components/ResourceCard.d.ts.map +1 -0
- package/dist/features/resource-dashboard/react/components/ResourceCard.js +37 -0
- package/dist/features/resource-dashboard/react/components/ResourceCard.js.map +1 -0
- package/dist/features/resource-dashboard/react/components/ResourceKanbanBoard.d.ts +31 -0
- package/dist/features/resource-dashboard/react/components/ResourceKanbanBoard.d.ts.map +1 -0
- package/dist/features/resource-dashboard/react/components/ResourceKanbanBoard.js +32 -0
- package/dist/features/resource-dashboard/react/components/ResourceKanbanBoard.js.map +1 -0
- package/dist/features/resource-dashboard/react/components/ResourceMetrics.d.ts +13 -0
- package/dist/features/resource-dashboard/react/components/ResourceMetrics.d.ts.map +1 -0
- package/dist/features/resource-dashboard/react/components/ResourceMetrics.js +13 -0
- package/dist/features/resource-dashboard/react/components/ResourceMetrics.js.map +1 -0
- package/dist/features/resource-dashboard/react/components/ResourceRowList.d.ts +32 -0
- package/dist/features/resource-dashboard/react/components/ResourceRowList.d.ts.map +1 -0
- package/dist/features/resource-dashboard/react/components/ResourceRowList.js +25 -0
- package/dist/features/resource-dashboard/react/components/ResourceRowList.js.map +1 -0
- package/dist/features/resource-dashboard/react/components/ResourceRowListItem.d.ts +28 -0
- package/dist/features/resource-dashboard/react/components/ResourceRowListItem.d.ts.map +1 -0
- package/dist/features/resource-dashboard/react/components/ResourceRowListItem.js +14 -0
- package/dist/features/resource-dashboard/react/components/ResourceRowListItem.js.map +1 -0
- package/dist/features/resource-dashboard/react/components/ResourceRowListView.d.ts +48 -0
- package/dist/features/resource-dashboard/react/components/ResourceRowListView.d.ts.map +1 -0
- package/dist/features/resource-dashboard/react/components/ResourceRowListView.js +18 -0
- package/dist/features/resource-dashboard/react/components/ResourceRowListView.js.map +1 -0
- package/dist/features/resource-dashboard/react/components/ResourceRunHistoryList.d.ts +22 -0
- package/dist/features/resource-dashboard/react/components/ResourceRunHistoryList.d.ts.map +1 -0
- package/dist/features/resource-dashboard/react/components/ResourceRunHistoryList.js +20 -0
- package/dist/features/resource-dashboard/react/components/ResourceRunHistoryList.js.map +1 -0
- package/dist/features/resource-dashboard/react/components/StatusPill.d.ts +18 -0
- package/dist/features/resource-dashboard/react/components/StatusPill.d.ts.map +1 -0
- package/dist/features/resource-dashboard/react/components/StatusPill.js +16 -0
- package/dist/features/resource-dashboard/react/components/StatusPill.js.map +1 -0
- package/dist/features/resource-dashboard/react/hooks/useResourceBoard.d.ts +78 -0
- package/dist/features/resource-dashboard/react/hooks/useResourceBoard.d.ts.map +1 -0
- package/dist/features/resource-dashboard/react/hooks/useResourceBoard.js +220 -0
- package/dist/features/resource-dashboard/react/hooks/useResourceBoard.js.map +1 -0
- package/dist/features/resource-dashboard/react/hooks/useResourceRowList.d.ts +47 -0
- package/dist/features/resource-dashboard/react/hooks/useResourceRowList.d.ts.map +1 -0
- package/dist/features/resource-dashboard/react/hooks/useResourceRowList.js +137 -0
- package/dist/features/resource-dashboard/react/hooks/useResourceRowList.js.map +1 -0
- package/dist/features/resource-dashboard/rules.d.ts +44 -0
- package/dist/features/resource-dashboard/rules.d.ts.map +1 -0
- package/dist/features/resource-dashboard/rules.js +124 -0
- package/dist/features/resource-dashboard/rules.js.map +1 -0
- package/dist/features/resource-dashboard/types.d.ts +123 -0
- package/dist/features/resource-dashboard/types.d.ts.map +1 -0
- package/dist/features/resource-dashboard/types.js +30 -0
- package/dist/features/resource-dashboard/types.js.map +1 -0
- package/dist/features/revision-review/index.d.ts +5 -0
- package/dist/features/revision-review/index.d.ts.map +1 -0
- package/dist/features/revision-review/index.js +4 -0
- package/dist/features/revision-review/index.js.map +1 -0
- package/dist/features/revision-review/react/components/RevisionDiffCard.d.ts +19 -0
- package/dist/features/revision-review/react/components/RevisionDiffCard.d.ts.map +1 -0
- package/dist/features/revision-review/react/components/RevisionDiffCard.js +19 -0
- package/dist/features/revision-review/react/components/RevisionDiffCard.js.map +1 -0
- package/dist/features/revision-review/react/components/RevisionHistoryList.d.ts +7 -0
- package/dist/features/revision-review/react/components/RevisionHistoryList.d.ts.map +1 -0
- package/dist/features/revision-review/react/components/RevisionHistoryList.js +9 -0
- package/dist/features/revision-review/react/components/RevisionHistoryList.js.map +1 -0
- package/dist/features/revision-review/rules.d.ts +13 -0
- package/dist/features/revision-review/rules.d.ts.map +1 -0
- package/dist/features/revision-review/rules.js +26 -0
- package/dist/features/revision-review/rules.js.map +1 -0
- package/dist/features/revision-review/types.d.ts +25 -0
- package/dist/features/revision-review/types.d.ts.map +1 -0
- package/dist/features/revision-review/types.js +2 -0
- package/dist/features/revision-review/types.js.map +1 -0
- package/dist/features/rich-text-input/constants.d.ts +16 -0
- package/dist/features/rich-text-input/constants.d.ts.map +1 -0
- package/dist/features/rich-text-input/constants.js +18 -0
- package/dist/features/rich-text-input/constants.js.map +1 -0
- package/dist/features/rich-text-input/deserialize.d.ts +9 -0
- package/dist/features/rich-text-input/deserialize.d.ts.map +1 -0
- package/dist/features/rich-text-input/deserialize.js +55 -0
- package/dist/features/rich-text-input/deserialize.js.map +1 -0
- package/dist/features/rich-text-input/index.d.ts +12 -0
- package/dist/features/rich-text-input/index.d.ts.map +1 -0
- package/dist/features/rich-text-input/index.js +11 -0
- package/dist/features/rich-text-input/index.js.map +1 -0
- package/dist/features/rich-text-input/mention-node.d.ts +56 -0
- package/dist/features/rich-text-input/mention-node.d.ts.map +1 -0
- package/dist/features/rich-text-input/mention-node.js +142 -0
- package/dist/features/rich-text-input/mention-node.js.map +1 -0
- package/dist/features/rich-text-input/mention-parser.d.ts +47 -0
- package/dist/features/rich-text-input/mention-parser.d.ts.map +1 -0
- package/dist/features/rich-text-input/mention-parser.js +239 -0
- package/dist/features/rich-text-input/mention-parser.js.map +1 -0
- package/dist/features/rich-text-input/react/components/CaretFloatingLayer.d.ts +20 -0
- package/dist/features/rich-text-input/react/components/CaretFloatingLayer.d.ts.map +1 -0
- package/dist/features/rich-text-input/react/components/CaretFloatingLayer.js +33 -0
- package/dist/features/rich-text-input/react/components/CaretFloatingLayer.js.map +1 -0
- package/dist/features/rich-text-input/react/components/RichTextInput.d.ts +61 -0
- package/dist/features/rich-text-input/react/components/RichTextInput.d.ts.map +1 -0
- package/dist/features/rich-text-input/react/components/RichTextInput.js +154 -0
- package/dist/features/rich-text-input/react/components/RichTextInput.js.map +1 -0
- package/dist/features/rich-text-input/react/hooks/useCaretFloatingLayerPosition.d.ts +15 -0
- package/dist/features/rich-text-input/react/hooks/useCaretFloatingLayerPosition.d.ts.map +1 -0
- package/dist/features/rich-text-input/react/hooks/useCaretFloatingLayerPosition.js +54 -0
- package/dist/features/rich-text-input/react/hooks/useCaretFloatingLayerPosition.js.map +1 -0
- package/dist/features/rich-text-input/react/hooks/useKeyboardCommands.d.ts +11 -0
- package/dist/features/rich-text-input/react/hooks/useKeyboardCommands.d.ts.map +1 -0
- package/dist/features/rich-text-input/react/hooks/useKeyboardCommands.js +70 -0
- package/dist/features/rich-text-input/react/hooks/useKeyboardCommands.js.map +1 -0
- package/dist/features/rich-text-input/react/hooks/useMentionAtomicNavigation.d.ts +8 -0
- package/dist/features/rich-text-input/react/hooks/useMentionAtomicNavigation.d.ts.map +1 -0
- package/dist/features/rich-text-input/react/hooks/useMentionAtomicNavigation.js +63 -0
- package/dist/features/rich-text-input/react/hooks/useMentionAtomicNavigation.js.map +1 -0
- package/dist/features/rich-text-input/react/hooks/useMentionColorStamping.d.ts +18 -0
- package/dist/features/rich-text-input/react/hooks/useMentionColorStamping.d.ts.map +1 -0
- package/dist/features/rich-text-input/react/hooks/useMentionColorStamping.js +64 -0
- package/dist/features/rich-text-input/react/hooks/useMentionColorStamping.js.map +1 -0
- package/dist/features/rich-text-input/react/hooks/usePasteFiles.d.ts +5 -0
- package/dist/features/rich-text-input/react/hooks/usePasteFiles.d.ts.map +1 -0
- package/dist/features/rich-text-input/react/hooks/usePasteFiles.js +24 -0
- package/dist/features/rich-text-input/react/hooks/usePasteFiles.js.map +1 -0
- package/dist/features/rich-text-input/react/hooks/useSeededValue.d.ts +21 -0
- package/dist/features/rich-text-input/react/hooks/useSeededValue.d.ts.map +1 -0
- package/dist/features/rich-text-input/react/hooks/useSeededValue.js +35 -0
- package/dist/features/rich-text-input/react/hooks/useSeededValue.js.map +1 -0
- package/dist/features/rich-text-input/react/hooks/useSyncedOnChange.d.ts +10 -0
- package/dist/features/rich-text-input/react/hooks/useSyncedOnChange.d.ts.map +1 -0
- package/dist/features/rich-text-input/react/hooks/useSyncedOnChange.js +29 -0
- package/dist/features/rich-text-input/react/hooks/useSyncedOnChange.js.map +1 -0
- package/dist/features/rich-text-input/react/hooks/useTriggerDetection.d.ts +6 -0
- package/dist/features/rich-text-input/react/hooks/useTriggerDetection.d.ts.map +1 -0
- package/dist/features/rich-text-input/react/hooks/useTriggerDetection.js +39 -0
- package/dist/features/rich-text-input/react/hooks/useTriggerDetection.js.map +1 -0
- package/dist/features/rich-text-input/react/test-support/lexical-harness.d.ts +11 -0
- package/dist/features/rich-text-input/react/test-support/lexical-harness.d.ts.map +1 -0
- package/dist/features/rich-text-input/react/test-support/lexical-harness.js +35 -0
- package/dist/features/rich-text-input/react/test-support/lexical-harness.js.map +1 -0
- package/dist/features/rich-text-input/rules.d.ts +83 -0
- package/dist/features/rich-text-input/rules.d.ts.map +1 -0
- package/dist/features/rich-text-input/rules.js +317 -0
- package/dist/features/rich-text-input/rules.js.map +1 -0
- package/dist/features/rich-text-input/serialize.d.ts +8 -0
- package/dist/features/rich-text-input/serialize.d.ts.map +1 -0
- package/dist/features/rich-text-input/serialize.js +44 -0
- package/dist/features/rich-text-input/serialize.js.map +1 -0
- package/dist/features/rich-text-input/types.d.ts +83 -0
- package/dist/features/rich-text-input/types.d.ts.map +1 -0
- package/dist/features/rich-text-input/types.js +15 -0
- package/dist/features/rich-text-input/types.js.map +1 -0
- package/dist/features/schedule-picker/constants.d.ts +12 -0
- package/dist/features/schedule-picker/constants.d.ts.map +1 -0
- package/dist/features/schedule-picker/constants.js +24 -0
- package/dist/features/schedule-picker/constants.js.map +1 -0
- package/dist/features/schedule-picker/index.d.ts +16 -0
- package/dist/features/schedule-picker/index.d.ts.map +1 -0
- package/dist/features/schedule-picker/index.js +9 -0
- package/dist/features/schedule-picker/index.js.map +1 -0
- package/dist/features/schedule-picker/react/components/RecurringSchedulePicker.d.ts +31 -0
- package/dist/features/schedule-picker/react/components/RecurringSchedulePicker.d.ts.map +1 -0
- package/dist/features/schedule-picker/react/components/RecurringSchedulePicker.js +30 -0
- package/dist/features/schedule-picker/react/components/RecurringSchedulePicker.js.map +1 -0
- package/dist/features/schedule-picker/react/components/ScheduleFields.d.ts +14 -0
- package/dist/features/schedule-picker/react/components/ScheduleFields.d.ts.map +1 -0
- package/dist/features/schedule-picker/react/components/ScheduleFields.js +16 -0
- package/dist/features/schedule-picker/react/components/ScheduleFields.js.map +1 -0
- package/dist/features/schedule-picker/react/components/ScheduleKindTabs.d.ts +9 -0
- package/dist/features/schedule-picker/react/components/ScheduleKindTabs.d.ts.map +1 -0
- package/dist/features/schedule-picker/react/components/ScheduleKindTabs.js +8 -0
- package/dist/features/schedule-picker/react/components/ScheduleKindTabs.js.map +1 -0
- package/dist/features/schedule-picker/react/components/ScheduleSummary.d.ts +23 -0
- package/dist/features/schedule-picker/react/components/ScheduleSummary.d.ts.map +1 -0
- package/dist/features/schedule-picker/react/components/ScheduleSummary.js +32 -0
- package/dist/features/schedule-picker/react/components/ScheduleSummary.js.map +1 -0
- package/dist/features/schedule-picker/react/components/WeekdayGrid.d.ts +9 -0
- package/dist/features/schedule-picker/react/components/WeekdayGrid.d.ts.map +1 -0
- package/dist/features/schedule-picker/react/components/WeekdayGrid.js +8 -0
- package/dist/features/schedule-picker/react/components/WeekdayGrid.js.map +1 -0
- package/dist/features/schedule-picker/react/hooks/useRecurringSchedulePicker.d.ts +38 -0
- package/dist/features/schedule-picker/react/hooks/useRecurringSchedulePicker.d.ts.map +1 -0
- package/dist/features/schedule-picker/react/hooks/useRecurringSchedulePicker.js +58 -0
- package/dist/features/schedule-picker/react/hooks/useRecurringSchedulePicker.js.map +1 -0
- package/dist/features/schedule-picker/rules.d.ts +40 -0
- package/dist/features/schedule-picker/rules.d.ts.map +1 -0
- package/dist/features/schedule-picker/rules.js +105 -0
- package/dist/features/schedule-picker/rules.js.map +1 -0
- package/dist/features/schedule-picker/types.d.ts +70 -0
- package/dist/features/schedule-picker/types.d.ts.map +1 -0
- package/dist/features/schedule-picker/types.js +9 -0
- package/dist/features/schedule-picker/types.js.map +1 -0
- package/dist/features/settings-dialog/index.d.ts +7 -0
- package/dist/features/settings-dialog/index.d.ts.map +1 -0
- package/dist/features/settings-dialog/index.js +4 -0
- package/dist/features/settings-dialog/index.js.map +1 -0
- package/dist/features/settings-dialog/react/components/SettingsDialogShell.d.ts +49 -0
- package/dist/features/settings-dialog/react/components/SettingsDialogShell.d.ts.map +1 -0
- package/dist/features/settings-dialog/react/components/SettingsDialogShell.js +55 -0
- package/dist/features/settings-dialog/react/components/SettingsDialogShell.js.map +1 -0
- package/dist/features/settings-dialog/react/hooks/useSettingsDialogShell.d.ts +39 -0
- package/dist/features/settings-dialog/react/hooks/useSettingsDialogShell.d.ts.map +1 -0
- package/dist/features/settings-dialog/react/hooks/useSettingsDialogShell.js +50 -0
- package/dist/features/settings-dialog/react/hooks/useSettingsDialogShell.js.map +1 -0
- package/dist/features/settings-dialog/rules.d.ts +13 -0
- package/dist/features/settings-dialog/rules.d.ts.map +1 -0
- package/dist/features/settings-dialog/rules.js +21 -0
- package/dist/features/settings-dialog/rules.js.map +1 -0
- package/dist/features/settings-dialog/tabs/appearance/constants.d.ts +12 -0
- package/dist/features/settings-dialog/tabs/appearance/constants.d.ts.map +1 -0
- package/dist/features/settings-dialog/tabs/appearance/constants.js +10 -0
- package/dist/features/settings-dialog/tabs/appearance/constants.js.map +1 -0
- package/dist/features/settings-dialog/tabs/appearance/index.d.ts +6 -0
- package/dist/features/settings-dialog/tabs/appearance/index.d.ts.map +1 -0
- package/dist/features/settings-dialog/tabs/appearance/index.js +3 -0
- package/dist/features/settings-dialog/tabs/appearance/index.js.map +1 -0
- package/dist/features/settings-dialog/tabs/appearance/react/components/AppearanceTab.d.ts +29 -0
- package/dist/features/settings-dialog/tabs/appearance/react/components/AppearanceTab.d.ts.map +1 -0
- package/dist/features/settings-dialog/tabs/appearance/react/components/AppearanceTab.js +31 -0
- package/dist/features/settings-dialog/tabs/appearance/react/components/AppearanceTab.js.map +1 -0
- package/dist/features/settings-dialog/tabs/appearance/types.d.ts +12 -0
- package/dist/features/settings-dialog/tabs/appearance/types.d.ts.map +1 -0
- package/dist/features/settings-dialog/tabs/appearance/types.js +8 -0
- package/dist/features/settings-dialog/tabs/appearance/types.js.map +1 -0
- package/dist/features/settings-dialog/tabs/instructions/index.d.ts +3 -0
- package/dist/features/settings-dialog/tabs/instructions/index.d.ts.map +1 -0
- package/dist/features/settings-dialog/tabs/instructions/index.js +2 -0
- package/dist/features/settings-dialog/tabs/instructions/index.js.map +1 -0
- package/dist/features/settings-dialog/tabs/instructions/react/components/InstructionsTab.d.ts +25 -0
- package/dist/features/settings-dialog/tabs/instructions/react/components/InstructionsTab.d.ts.map +1 -0
- package/dist/features/settings-dialog/tabs/instructions/react/components/InstructionsTab.js +16 -0
- package/dist/features/settings-dialog/tabs/instructions/react/components/InstructionsTab.js.map +1 -0
- package/dist/features/settings-dialog/tabs/integrations/constants.d.ts +8 -0
- package/dist/features/settings-dialog/tabs/integrations/constants.d.ts.map +1 -0
- package/dist/features/settings-dialog/tabs/integrations/constants.js +15 -0
- package/dist/features/settings-dialog/tabs/integrations/constants.js.map +1 -0
- package/dist/features/settings-dialog/tabs/integrations/dependencies.d.ts +16 -0
- package/dist/features/settings-dialog/tabs/integrations/dependencies.d.ts.map +1 -0
- package/dist/features/settings-dialog/tabs/integrations/dependencies.js +38 -0
- package/dist/features/settings-dialog/tabs/integrations/dependencies.js.map +1 -0
- package/dist/features/settings-dialog/tabs/integrations/index.d.ts +19 -0
- package/dist/features/settings-dialog/tabs/integrations/index.d.ts.map +1 -0
- package/dist/features/settings-dialog/tabs/integrations/index.js +10 -0
- package/dist/features/settings-dialog/tabs/integrations/index.js.map +1 -0
- package/dist/features/settings-dialog/tabs/integrations/ports.d.ts +21 -0
- package/dist/features/settings-dialog/tabs/integrations/ports.d.ts.map +1 -0
- package/dist/features/settings-dialog/tabs/integrations/ports.js +2 -0
- package/dist/features/settings-dialog/tabs/integrations/ports.js.map +1 -0
- package/dist/features/settings-dialog/tabs/integrations/react/components/ClientPicker.d.ts +27 -0
- package/dist/features/settings-dialog/tabs/integrations/react/components/ClientPicker.d.ts.map +1 -0
- package/dist/features/settings-dialog/tabs/integrations/react/components/ClientPicker.js +31 -0
- package/dist/features/settings-dialog/tabs/integrations/react/components/ClientPicker.js.map +1 -0
- package/dist/features/settings-dialog/tabs/integrations/react/components/CodexInstallToggleButton.d.ts +12 -0
- package/dist/features/settings-dialog/tabs/integrations/react/components/CodexInstallToggleButton.d.ts.map +1 -0
- package/dist/features/settings-dialog/tabs/integrations/react/components/CodexInstallToggleButton.js +21 -0
- package/dist/features/settings-dialog/tabs/integrations/react/components/CodexInstallToggleButton.js.map +1 -0
- package/dist/features/settings-dialog/tabs/integrations/react/components/IntegrationsTab.d.ts +27 -0
- package/dist/features/settings-dialog/tabs/integrations/react/components/IntegrationsTab.d.ts.map +1 -0
- package/dist/features/settings-dialog/tabs/integrations/react/components/IntegrationsTab.js +54 -0
- package/dist/features/settings-dialog/tabs/integrations/react/components/IntegrationsTab.js.map +1 -0
- package/dist/features/settings-dialog/tabs/integrations/react/components/SnippetBlock.d.ts +17 -0
- package/dist/features/settings-dialog/tabs/integrations/react/components/SnippetBlock.d.ts.map +1 -0
- package/dist/features/settings-dialog/tabs/integrations/react/components/SnippetBlock.js +53 -0
- package/dist/features/settings-dialog/tabs/integrations/react/components/SnippetBlock.js.map +1 -0
- package/dist/features/settings-dialog/tabs/integrations/react/hooks/useCodexInstallToggle.d.ts +39 -0
- package/dist/features/settings-dialog/tabs/integrations/react/hooks/useCodexInstallToggle.d.ts.map +1 -0
- package/dist/features/settings-dialog/tabs/integrations/react/hooks/useCodexInstallToggle.js +82 -0
- package/dist/features/settings-dialog/tabs/integrations/react/hooks/useCodexInstallToggle.js.map +1 -0
- package/dist/features/settings-dialog/tabs/integrations/react/hooks/useMcpInstallInfo.d.ts +26 -0
- package/dist/features/settings-dialog/tabs/integrations/react/hooks/useMcpInstallInfo.d.ts.map +1 -0
- package/dist/features/settings-dialog/tabs/integrations/react/hooks/useMcpInstallInfo.js +56 -0
- package/dist/features/settings-dialog/tabs/integrations/react/hooks/useMcpInstallInfo.js.map +1 -0
- package/dist/features/settings-dialog/tabs/integrations/rules.d.ts +45 -0
- package/dist/features/settings-dialog/tabs/integrations/rules.d.ts.map +1 -0
- package/dist/features/settings-dialog/tabs/integrations/rules.js +181 -0
- package/dist/features/settings-dialog/tabs/integrations/rules.js.map +1 -0
- package/dist/features/settings-dialog/tabs/integrations/types.d.ts +58 -0
- package/dist/features/settings-dialog/tabs/integrations/types.d.ts.map +1 -0
- package/dist/features/settings-dialog/tabs/integrations/types.js +15 -0
- package/dist/features/settings-dialog/tabs/integrations/types.js.map +1 -0
- package/dist/features/settings-dialog/tabs/language/index.d.ts +4 -0
- package/dist/features/settings-dialog/tabs/language/index.d.ts.map +1 -0
- package/dist/features/settings-dialog/tabs/language/index.js +2 -0
- package/dist/features/settings-dialog/tabs/language/index.js.map +1 -0
- package/dist/features/settings-dialog/tabs/language/react/components/LanguageTab.d.ts +15 -0
- package/dist/features/settings-dialog/tabs/language/react/components/LanguageTab.d.ts.map +1 -0
- package/dist/features/settings-dialog/tabs/language/react/components/LanguageTab.js +18 -0
- package/dist/features/settings-dialog/tabs/language/react/components/LanguageTab.js.map +1 -0
- package/dist/features/settings-dialog/tabs/language/types.d.ts +15 -0
- package/dist/features/settings-dialog/tabs/language/types.d.ts.map +1 -0
- package/dist/features/settings-dialog/tabs/language/types.js +2 -0
- package/dist/features/settings-dialog/tabs/language/types.js.map +1 -0
- package/dist/features/settings-dialog/tabs/notifications/constants.d.ts +3 -0
- package/dist/features/settings-dialog/tabs/notifications/constants.d.ts.map +1 -0
- package/dist/features/settings-dialog/tabs/notifications/constants.js +8 -0
- package/dist/features/settings-dialog/tabs/notifications/constants.js.map +1 -0
- package/dist/features/settings-dialog/tabs/notifications/index.d.ts +5 -0
- package/dist/features/settings-dialog/tabs/notifications/index.d.ts.map +1 -0
- package/dist/features/settings-dialog/tabs/notifications/index.js +3 -0
- package/dist/features/settings-dialog/tabs/notifications/index.js.map +1 -0
- package/dist/features/settings-dialog/tabs/notifications/react/components/NotificationsTab.d.ts +33 -0
- package/dist/features/settings-dialog/tabs/notifications/react/components/NotificationsTab.d.ts.map +1 -0
- package/dist/features/settings-dialog/tabs/notifications/react/components/NotificationsTab.js +71 -0
- package/dist/features/settings-dialog/tabs/notifications/react/components/NotificationsTab.js.map +1 -0
- package/dist/features/settings-dialog/tabs/notifications/types.d.ts +15 -0
- package/dist/features/settings-dialog/tabs/notifications/types.d.ts.map +1 -0
- package/dist/features/settings-dialog/tabs/notifications/types.js +2 -0
- package/dist/features/settings-dialog/tabs/notifications/types.js.map +1 -0
- package/dist/features/settings-dialog/tabs/privacy/index.d.ts +5 -0
- package/dist/features/settings-dialog/tabs/privacy/index.d.ts.map +1 -0
- package/dist/features/settings-dialog/tabs/privacy/index.js +3 -0
- package/dist/features/settings-dialog/tabs/privacy/index.js.map +1 -0
- package/dist/features/settings-dialog/tabs/privacy/react/components/PrivacyTab.d.ts +34 -0
- package/dist/features/settings-dialog/tabs/privacy/react/components/PrivacyTab.d.ts.map +1 -0
- package/dist/features/settings-dialog/tabs/privacy/react/components/PrivacyTab.js +36 -0
- package/dist/features/settings-dialog/tabs/privacy/react/components/PrivacyTab.js.map +1 -0
- package/dist/features/settings-dialog/tabs/privacy/rules.d.ts +31 -0
- package/dist/features/settings-dialog/tabs/privacy/rules.d.ts.map +1 -0
- package/dist/features/settings-dialog/tabs/privacy/rules.js +70 -0
- package/dist/features/settings-dialog/tabs/privacy/rules.js.map +1 -0
- package/dist/features/settings-dialog/tabs/privacy/types.d.ts +26 -0
- package/dist/features/settings-dialog/tabs/privacy/types.d.ts.map +1 -0
- package/dist/features/settings-dialog/tabs/privacy/types.js +13 -0
- package/dist/features/settings-dialog/tabs/privacy/types.js.map +1 -0
- package/dist/features/settings-dialog/types.d.ts +46 -0
- package/dist/features/settings-dialog/types.d.ts.map +1 -0
- package/dist/features/settings-dialog/types.js +18 -0
- package/dist/features/settings-dialog/types.js.map +1 -0
- package/dist/features/sketch-editor/constants.d.ts +46 -0
- package/dist/features/sketch-editor/constants.d.ts.map +1 -0
- package/dist/features/sketch-editor/constants.js +104 -0
- package/dist/features/sketch-editor/constants.js.map +1 -0
- package/dist/features/sketch-editor/dependencies.d.ts +4 -0
- package/dist/features/sketch-editor/dependencies.d.ts.map +1 -0
- package/dist/features/sketch-editor/dependencies.js +18 -0
- package/dist/features/sketch-editor/dependencies.js.map +1 -0
- package/dist/features/sketch-editor/dom.d.ts +38 -0
- package/dist/features/sketch-editor/dom.d.ts.map +1 -0
- package/dist/features/sketch-editor/dom.js +263 -0
- package/dist/features/sketch-editor/dom.js.map +1 -0
- package/dist/features/sketch-editor/index.d.ts +21 -0
- package/dist/features/sketch-editor/index.d.ts.map +1 -0
- package/dist/features/sketch-editor/index.js +13 -0
- package/dist/features/sketch-editor/index.js.map +1 -0
- package/dist/features/sketch-editor/ports.d.ts +52 -0
- package/dist/features/sketch-editor/ports.d.ts.map +1 -0
- package/dist/features/sketch-editor/ports.js +2 -0
- package/dist/features/sketch-editor/ports.js.map +1 -0
- package/dist/features/sketch-editor/react/components/SketchEditor.d.ts +53 -0
- package/dist/features/sketch-editor/react/components/SketchEditor.d.ts.map +1 -0
- package/dist/features/sketch-editor/react/components/SketchEditor.js +74 -0
- package/dist/features/sketch-editor/react/components/SketchEditor.js.map +1 -0
- package/dist/features/sketch-editor/react/components/SketchMainMenu.d.ts +19 -0
- package/dist/features/sketch-editor/react/components/SketchMainMenu.d.ts.map +1 -0
- package/dist/features/sketch-editor/react/components/SketchMainMenu.js +9 -0
- package/dist/features/sketch-editor/react/components/SketchMainMenu.js.map +1 -0
- package/dist/features/sketch-editor/react/components/SketchSaveStateBadge.d.ts +7 -0
- package/dist/features/sketch-editor/react/components/SketchSaveStateBadge.d.ts.map +1 -0
- package/dist/features/sketch-editor/react/components/SketchSaveStateBadge.js +7 -0
- package/dist/features/sketch-editor/react/components/SketchSaveStateBadge.js.map +1 -0
- package/dist/features/sketch-editor/react/dependencies-fake.d.ts +4 -0
- package/dist/features/sketch-editor/react/dependencies-fake.d.ts.map +1 -0
- package/dist/features/sketch-editor/react/dependencies-fake.js +76 -0
- package/dist/features/sketch-editor/react/dependencies-fake.js.map +1 -0
- package/dist/features/sketch-editor/react/hooks/useSketchDomEnhancements.d.ts +27 -0
- package/dist/features/sketch-editor/react/hooks/useSketchDomEnhancements.d.ts.map +1 -0
- package/dist/features/sketch-editor/react/hooks/useSketchDomEnhancements.js +78 -0
- package/dist/features/sketch-editor/react/hooks/useSketchDomEnhancements.js.map +1 -0
- package/dist/features/sketch-editor/react/hooks/useSketchSaveWorkflow.d.ts +41 -0
- package/dist/features/sketch-editor/react/hooks/useSketchSaveWorkflow.d.ts.map +1 -0
- package/dist/features/sketch-editor/react/hooks/useSketchSaveWorkflow.js +127 -0
- package/dist/features/sketch-editor/react/hooks/useSketchSaveWorkflow.js.map +1 -0
- package/dist/features/sketch-editor/react/hooks/useSketchScene.d.ts +28 -0
- package/dist/features/sketch-editor/react/hooks/useSketchScene.d.ts.map +1 -0
- package/dist/features/sketch-editor/react/hooks/useSketchScene.js +87 -0
- package/dist/features/sketch-editor/react/hooks/useSketchScene.js.map +1 -0
- package/dist/features/sketch-editor/react/hooks/useSketchTheme.d.ts +5 -0
- package/dist/features/sketch-editor/react/hooks/useSketchTheme.d.ts.map +1 -0
- package/dist/features/sketch-editor/react/hooks/useSketchTheme.js +22 -0
- package/dist/features/sketch-editor/react/hooks/useSketchTheme.js.map +1 -0
- package/dist/features/sketch-editor/rules.d.ts +66 -0
- package/dist/features/sketch-editor/rules.d.ts.map +1 -0
- package/dist/features/sketch-editor/rules.js +257 -0
- package/dist/features/sketch-editor/rules.js.map +1 -0
- package/dist/features/sketch-editor/types.d.ts +45 -0
- package/dist/features/sketch-editor/types.d.ts.map +1 -0
- package/dist/features/sketch-editor/types.js +8 -0
- package/dist/features/sketch-editor/types.js.map +1 -0
- package/dist/features/source-config-list/constants.d.ts +15 -0
- package/dist/features/source-config-list/constants.d.ts.map +1 -0
- package/dist/features/source-config-list/constants.js +15 -0
- package/dist/features/source-config-list/constants.js.map +1 -0
- package/dist/features/source-config-list/dependencies.d.ts +40 -0
- package/dist/features/source-config-list/dependencies.d.ts.map +1 -0
- package/dist/features/source-config-list/dependencies.js +75 -0
- package/dist/features/source-config-list/dependencies.js.map +1 -0
- package/dist/features/source-config-list/index.d.ts +23 -0
- package/dist/features/source-config-list/index.d.ts.map +1 -0
- package/dist/features/source-config-list/index.js +12 -0
- package/dist/features/source-config-list/index.js.map +1 -0
- package/dist/features/source-config-list/ports.d.ts +55 -0
- package/dist/features/source-config-list/ports.d.ts.map +1 -0
- package/dist/features/source-config-list/ports.js +2 -0
- package/dist/features/source-config-list/ports.js.map +1 -0
- package/dist/features/source-config-list/react/components/SourceConfigAddForm.d.ts +40 -0
- package/dist/features/source-config-list/react/components/SourceConfigAddForm.d.ts.map +1 -0
- package/dist/features/source-config-list/react/components/SourceConfigAddForm.js +25 -0
- package/dist/features/source-config-list/react/components/SourceConfigAddForm.js.map +1 -0
- package/dist/features/source-config-list/react/components/SourceConfigField.d.ts +28 -0
- package/dist/features/source-config-list/react/components/SourceConfigField.d.ts.map +1 -0
- package/dist/features/source-config-list/react/components/SourceConfigField.js +21 -0
- package/dist/features/source-config-list/react/components/SourceConfigField.js.map +1 -0
- package/dist/features/source-config-list/react/components/SourceConfigItemCard.d.ts +35 -0
- package/dist/features/source-config-list/react/components/SourceConfigItemCard.d.ts.map +1 -0
- package/dist/features/source-config-list/react/components/SourceConfigItemCard.js +41 -0
- package/dist/features/source-config-list/react/components/SourceConfigItemCard.js.map +1 -0
- package/dist/features/source-config-list/react/components/SourceConfigList.d.ts +33 -0
- package/dist/features/source-config-list/react/components/SourceConfigList.d.ts.map +1 -0
- package/dist/features/source-config-list/react/components/SourceConfigList.js +49 -0
- package/dist/features/source-config-list/react/components/SourceConfigList.js.map +1 -0
- package/dist/features/source-config-list/react/components/SourceConfigListView.d.ts +30 -0
- package/dist/features/source-config-list/react/components/SourceConfigListView.d.ts.map +1 -0
- package/dist/features/source-config-list/react/components/SourceConfigListView.js +16 -0
- package/dist/features/source-config-list/react/components/SourceConfigListView.js.map +1 -0
- package/dist/features/source-config-list/react/components/SourceConfigTestControl.d.ts +19 -0
- package/dist/features/source-config-list/react/components/SourceConfigTestControl.d.ts.map +1 -0
- package/dist/features/source-config-list/react/components/SourceConfigTestControl.js +15 -0
- package/dist/features/source-config-list/react/components/SourceConfigTestControl.js.map +1 -0
- package/dist/features/source-config-list/react/hooks/useSourceConfigAddForm.d.ts +35 -0
- package/dist/features/source-config-list/react/hooks/useSourceConfigAddForm.d.ts.map +1 -0
- package/dist/features/source-config-list/react/hooks/useSourceConfigAddForm.js +55 -0
- package/dist/features/source-config-list/react/hooks/useSourceConfigAddForm.js.map +1 -0
- package/dist/features/source-config-list/react/hooks/useSourceConfigList.d.ts +55 -0
- package/dist/features/source-config-list/react/hooks/useSourceConfigList.d.ts.map +1 -0
- package/dist/features/source-config-list/react/hooks/useSourceConfigList.js +142 -0
- package/dist/features/source-config-list/react/hooks/useSourceConfigList.js.map +1 -0
- package/dist/features/source-config-list/rules.d.ts +46 -0
- package/dist/features/source-config-list/rules.d.ts.map +1 -0
- package/dist/features/source-config-list/rules.js +122 -0
- package/dist/features/source-config-list/rules.js.map +1 -0
- package/dist/features/source-config-list/types.d.ts +101 -0
- package/dist/features/source-config-list/types.d.ts.map +1 -0
- package/dist/features/source-config-list/types.js +17 -0
- package/dist/features/source-config-list/types.js.map +1 -0
- package/dist/features/tab-launcher-menu/constants.d.ts +6 -0
- package/dist/features/tab-launcher-menu/constants.d.ts.map +1 -0
- package/dist/features/tab-launcher-menu/constants.js +6 -0
- package/dist/features/tab-launcher-menu/constants.js.map +1 -0
- package/dist/features/tab-launcher-menu/index.d.ts +8 -0
- package/dist/features/tab-launcher-menu/index.d.ts.map +1 -0
- package/dist/features/tab-launcher-menu/index.js +7 -0
- package/dist/features/tab-launcher-menu/index.js.map +1 -0
- package/dist/features/tab-launcher-menu/react/components/TabLauncherActionRow.d.ts +9 -0
- package/dist/features/tab-launcher-menu/react/components/TabLauncherActionRow.d.ts.map +1 -0
- package/dist/features/tab-launcher-menu/react/components/TabLauncherActionRow.js +5 -0
- package/dist/features/tab-launcher-menu/react/components/TabLauncherActionRow.js.map +1 -0
- package/dist/features/tab-launcher-menu/react/components/TabLauncherMenu.d.ts +27 -0
- package/dist/features/tab-launcher-menu/react/components/TabLauncherMenu.d.ts.map +1 -0
- package/dist/features/tab-launcher-menu/react/components/TabLauncherMenu.js +42 -0
- package/dist/features/tab-launcher-menu/react/components/TabLauncherMenu.js.map +1 -0
- package/dist/features/tab-launcher-menu/react/components/TabLauncherResultRow.d.ts +14 -0
- package/dist/features/tab-launcher-menu/react/components/TabLauncherResultRow.d.ts.map +1 -0
- package/dist/features/tab-launcher-menu/react/components/TabLauncherResultRow.js +5 -0
- package/dist/features/tab-launcher-menu/react/components/TabLauncherResultRow.js.map +1 -0
- package/dist/features/tab-launcher-menu/react/hooks/useTabLauncherMenu.d.ts +43 -0
- package/dist/features/tab-launcher-menu/react/hooks/useTabLauncherMenu.d.ts.map +1 -0
- package/dist/features/tab-launcher-menu/react/hooks/useTabLauncherMenu.js +120 -0
- package/dist/features/tab-launcher-menu/react/hooks/useTabLauncherMenu.js.map +1 -0
- package/dist/features/tab-launcher-menu/rules.d.ts +19 -0
- package/dist/features/tab-launcher-menu/rules.d.ts.map +1 -0
- package/dist/features/tab-launcher-menu/rules.js +63 -0
- package/dist/features/tab-launcher-menu/rules.js.map +1 -0
- package/dist/features/tab-launcher-menu/types.d.ts +56 -0
- package/dist/features/tab-launcher-menu/types.d.ts.map +1 -0
- package/dist/features/tab-launcher-menu/types.js +2 -0
- package/dist/features/tab-launcher-menu/types.js.map +1 -0
- package/dist/features/tab-strip/constants.d.ts +8 -0
- package/dist/features/tab-strip/constants.d.ts.map +1 -0
- package/dist/features/tab-strip/constants.js +8 -0
- package/dist/features/tab-strip/constants.js.map +1 -0
- package/dist/features/tab-strip/dependencies.d.ts +9 -0
- package/dist/features/tab-strip/dependencies.d.ts.map +1 -0
- package/dist/features/tab-strip/dependencies.js +21 -0
- package/dist/features/tab-strip/dependencies.js.map +1 -0
- package/dist/features/tab-strip/index.d.ts +13 -0
- package/dist/features/tab-strip/index.d.ts.map +1 -0
- package/dist/features/tab-strip/index.js +8 -0
- package/dist/features/tab-strip/index.js.map +1 -0
- package/dist/features/tab-strip/ports.d.ts +16 -0
- package/dist/features/tab-strip/ports.d.ts.map +1 -0
- package/dist/features/tab-strip/ports.js +4 -0
- package/dist/features/tab-strip/ports.js.map +1 -0
- package/dist/features/tab-strip/react/components/TabStrip.d.ts +40 -0
- package/dist/features/tab-strip/react/components/TabStrip.d.ts.map +1 -0
- package/dist/features/tab-strip/react/components/TabStrip.js +28 -0
- package/dist/features/tab-strip/react/components/TabStrip.js.map +1 -0
- package/dist/features/tab-strip/react/components/TabStripItem.d.ts +30 -0
- package/dist/features/tab-strip/react/components/TabStripItem.d.ts.map +1 -0
- package/dist/features/tab-strip/react/components/TabStripItem.js +48 -0
- package/dist/features/tab-strip/react/components/TabStripItem.js.map +1 -0
- package/dist/features/tab-strip/react/hooks/useTabStripDragReorder.d.ts +59 -0
- package/dist/features/tab-strip/react/hooks/useTabStripDragReorder.d.ts.map +1 -0
- package/dist/features/tab-strip/react/hooks/useTabStripDragReorder.js +130 -0
- package/dist/features/tab-strip/react/hooks/useTabStripDragReorder.js.map +1 -0
- package/dist/features/tab-strip/rules.d.ts +64 -0
- package/dist/features/tab-strip/rules.d.ts.map +1 -0
- package/dist/features/tab-strip/rules.js +111 -0
- package/dist/features/tab-strip/rules.js.map +1 -0
- package/dist/features/tab-strip/types.d.ts +55 -0
- package/dist/features/tab-strip/types.d.ts.map +1 -0
- package/dist/features/tab-strip/types.js +2 -0
- package/dist/features/tab-strip/types.js.map +1 -0
- package/dist/features/version-manager/constants.d.ts +17 -0
- package/dist/features/version-manager/constants.d.ts.map +1 -0
- package/dist/features/version-manager/constants.js +17 -0
- package/dist/features/version-manager/constants.js.map +1 -0
- package/dist/features/version-manager/dependencies.d.ts +17 -0
- package/dist/features/version-manager/dependencies.d.ts.map +1 -0
- package/dist/features/version-manager/dependencies.js +49 -0
- package/dist/features/version-manager/dependencies.js.map +1 -0
- package/dist/features/version-manager/index.d.ts +19 -0
- package/dist/features/version-manager/index.d.ts.map +1 -0
- package/dist/features/version-manager/index.js +11 -0
- package/dist/features/version-manager/index.js.map +1 -0
- package/dist/features/version-manager/ports.d.ts +53 -0
- package/dist/features/version-manager/ports.d.ts.map +1 -0
- package/dist/features/version-manager/ports.js +2 -0
- package/dist/features/version-manager/ports.js.map +1 -0
- package/dist/features/version-manager/react/components/VersionManagerModal.d.ts +28 -0
- package/dist/features/version-manager/react/components/VersionManagerModal.d.ts.map +1 -0
- package/dist/features/version-manager/react/components/VersionManagerModal.js +69 -0
- package/dist/features/version-manager/react/components/VersionManagerModal.js.map +1 -0
- package/dist/features/version-manager/react/components/VersionPreviewFrame.d.ts +17 -0
- package/dist/features/version-manager/react/components/VersionPreviewFrame.d.ts.map +1 -0
- package/dist/features/version-manager/react/components/VersionPreviewFrame.js +16 -0
- package/dist/features/version-manager/react/components/VersionPreviewFrame.js.map +1 -0
- package/dist/features/version-manager/react/components/VersionPromptPopover.d.ts +24 -0
- package/dist/features/version-manager/react/components/VersionPromptPopover.d.ts.map +1 -0
- package/dist/features/version-manager/react/components/VersionPromptPopover.js +24 -0
- package/dist/features/version-manager/react/components/VersionPromptPopover.js.map +1 -0
- package/dist/features/version-manager/react/components/VersionRestoreControl.d.ts +10 -0
- package/dist/features/version-manager/react/components/VersionRestoreControl.d.ts.map +1 -0
- package/dist/features/version-manager/react/components/VersionRestoreControl.js +19 -0
- package/dist/features/version-manager/react/components/VersionRestoreControl.js.map +1 -0
- package/dist/features/version-manager/react/components/VersionSidebar.d.ts +21 -0
- package/dist/features/version-manager/react/components/VersionSidebar.d.ts.map +1 -0
- package/dist/features/version-manager/react/components/VersionSidebar.js +14 -0
- package/dist/features/version-manager/react/components/VersionSidebar.js.map +1 -0
- package/dist/features/version-manager/react/hooks/usePreviewCanvasSize.d.ts +10 -0
- package/dist/features/version-manager/react/hooks/usePreviewCanvasSize.d.ts.map +1 -0
- package/dist/features/version-manager/react/hooks/usePreviewCanvasSize.js +38 -0
- package/dist/features/version-manager/react/hooks/usePreviewCanvasSize.js.map +1 -0
- package/dist/features/version-manager/react/hooks/useVersionManager.d.ts +67 -0
- package/dist/features/version-manager/react/hooks/useVersionManager.d.ts.map +1 -0
- package/dist/features/version-manager/react/hooks/useVersionManager.js +287 -0
- package/dist/features/version-manager/react/hooks/useVersionManager.js.map +1 -0
- package/dist/features/version-manager/rules.d.ts +76 -0
- package/dist/features/version-manager/rules.d.ts.map +1 -0
- package/dist/features/version-manager/rules.js +162 -0
- package/dist/features/version-manager/rules.js.map +1 -0
- package/dist/features/version-manager/types.d.ts +66 -0
- package/dist/features/version-manager/types.d.ts.map +1 -0
- package/dist/features/version-manager/types.js +12 -0
- package/dist/features/version-manager/types.js.map +1 -0
- package/dist/features/viewer-shell/constants.d.ts +11 -0
- package/dist/features/viewer-shell/constants.d.ts.map +1 -0
- package/dist/features/viewer-shell/constants.js +14 -0
- package/dist/features/viewer-shell/constants.js.map +1 -0
- package/dist/features/viewer-shell/dependencies.d.ts +8 -0
- package/dist/features/viewer-shell/dependencies.d.ts.map +1 -0
- package/dist/features/viewer-shell/dependencies.js +16 -0
- package/dist/features/viewer-shell/dependencies.js.map +1 -0
- package/dist/features/viewer-shell/index.d.ts +40 -0
- package/dist/features/viewer-shell/index.d.ts.map +1 -0
- package/dist/features/viewer-shell/index.js +21 -0
- package/dist/features/viewer-shell/index.js.map +1 -0
- package/dist/features/viewer-shell/ports.d.ts +23 -0
- package/dist/features/viewer-shell/ports.d.ts.map +1 -0
- package/dist/features/viewer-shell/ports.js +2 -0
- package/dist/features/viewer-shell/ports.js.map +1 -0
- package/dist/features/viewer-shell/react/components/AudioViewerBody.d.ts +11 -0
- package/dist/features/viewer-shell/react/components/AudioViewerBody.d.ts.map +1 -0
- package/dist/features/viewer-shell/react/components/AudioViewerBody.js +9 -0
- package/dist/features/viewer-shell/react/components/AudioViewerBody.js.map +1 -0
- package/dist/features/viewer-shell/react/components/CodeWithLines.d.ts +7 -0
- package/dist/features/viewer-shell/react/components/CodeWithLines.d.ts.map +1 -0
- package/dist/features/viewer-shell/react/components/CodeWithLines.js +10 -0
- package/dist/features/viewer-shell/react/components/CodeWithLines.js.map +1 -0
- package/dist/features/viewer-shell/react/components/CommentSideDock.d.ts +10 -0
- package/dist/features/viewer-shell/react/components/CommentSideDock.d.ts.map +1 -0
- package/dist/features/viewer-shell/react/components/CommentSideDock.js +11 -0
- package/dist/features/viewer-shell/react/components/CommentSideDock.js.map +1 -0
- package/dist/features/viewer-shell/react/components/CommentSidePanel.d.ts +60 -0
- package/dist/features/viewer-shell/react/components/CommentSidePanel.d.ts.map +1 -0
- package/dist/features/viewer-shell/react/components/CommentSidePanel.js +91 -0
- package/dist/features/viewer-shell/react/components/CommentSidePanel.js.map +1 -0
- package/dist/features/viewer-shell/react/components/ImageViewerBody.d.ts +9 -0
- package/dist/features/viewer-shell/react/components/ImageViewerBody.d.ts.map +1 -0
- package/dist/features/viewer-shell/react/components/ImageViewerBody.js +8 -0
- package/dist/features/viewer-shell/react/components/ImageViewerBody.js.map +1 -0
- package/dist/features/viewer-shell/react/components/JsonPanel.d.ts +8 -0
- package/dist/features/viewer-shell/react/components/JsonPanel.d.ts.map +1 -0
- package/dist/features/viewer-shell/react/components/JsonPanel.js +9 -0
- package/dist/features/viewer-shell/react/components/JsonPanel.js.map +1 -0
- package/dist/features/viewer-shell/react/components/MarkdownSplitPane.d.ts +51 -0
- package/dist/features/viewer-shell/react/components/MarkdownSplitPane.d.ts.map +1 -0
- package/dist/features/viewer-shell/react/components/MarkdownSplitPane.js +43 -0
- package/dist/features/viewer-shell/react/components/MarkdownSplitPane.js.map +1 -0
- package/dist/features/viewer-shell/react/components/SegmentedToggle.d.ts +23 -0
- package/dist/features/viewer-shell/react/components/SegmentedToggle.d.ts.map +1 -0
- package/dist/features/viewer-shell/react/components/SegmentedToggle.js +23 -0
- package/dist/features/viewer-shell/react/components/SegmentedToggle.js.map +1 -0
- package/dist/features/viewer-shell/react/components/SvgSourcePane.d.ts +23 -0
- package/dist/features/viewer-shell/react/components/SvgSourcePane.d.ts.map +1 -0
- package/dist/features/viewer-shell/react/components/SvgSourcePane.js +18 -0
- package/dist/features/viewer-shell/react/components/SvgSourcePane.js.map +1 -0
- package/dist/features/viewer-shell/react/components/VideoViewerBody.d.ts +7 -0
- package/dist/features/viewer-shell/react/components/VideoViewerBody.d.ts.map +1 -0
- package/dist/features/viewer-shell/react/components/VideoViewerBody.js +7 -0
- package/dist/features/viewer-shell/react/components/VideoViewerBody.js.map +1 -0
- package/dist/features/viewer-shell/react/components/ViewerFileActions.d.ts +17 -0
- package/dist/features/viewer-shell/react/components/ViewerFileActions.d.ts.map +1 -0
- package/dist/features/viewer-shell/react/components/ViewerFileActions.js +14 -0
- package/dist/features/viewer-shell/react/components/ViewerFileActions.js.map +1 -0
- package/dist/features/viewer-shell/react/components/ViewerShell.d.ts +31 -0
- package/dist/features/viewer-shell/react/components/ViewerShell.d.ts.map +1 -0
- package/dist/features/viewer-shell/react/components/ViewerShell.js +18 -0
- package/dist/features/viewer-shell/react/components/ViewerShell.js.map +1 -0
- package/dist/features/viewer-shell/react/components/ViewportSwitcher.d.ts +27 -0
- package/dist/features/viewer-shell/react/components/ViewportSwitcher.d.ts.map +1 -0
- package/dist/features/viewer-shell/react/components/ViewportSwitcher.js +40 -0
- package/dist/features/viewer-shell/react/components/ViewportSwitcher.js.map +1 -0
- package/dist/features/viewer-shell/react/components/ViewportToggleGroup.d.ts +17 -0
- package/dist/features/viewer-shell/react/components/ViewportToggleGroup.d.ts.map +1 -0
- package/dist/features/viewer-shell/react/components/ViewportToggleGroup.js +19 -0
- package/dist/features/viewer-shell/react/components/ViewportToggleGroup.js.map +1 -0
- package/dist/features/viewer-shell/react/hooks/useCommentReorder.d.ts +19 -0
- package/dist/features/viewer-shell/react/hooks/useCommentReorder.d.ts.map +1 -0
- package/dist/features/viewer-shell/react/hooks/useCommentReorder.js +71 -0
- package/dist/features/viewer-shell/react/hooks/useCommentReorder.js.map +1 -0
- package/dist/features/viewer-shell/react/hooks/useCopyToClipboard.d.ts +22 -0
- package/dist/features/viewer-shell/react/hooks/useCopyToClipboard.d.ts.map +1 -0
- package/dist/features/viewer-shell/react/hooks/useCopyToClipboard.js +46 -0
- package/dist/features/viewer-shell/react/hooks/useCopyToClipboard.js.map +1 -0
- package/dist/features/viewer-shell/react/hooks/useMarkdownScrollSync.d.ts +32 -0
- package/dist/features/viewer-shell/react/hooks/useMarkdownScrollSync.d.ts.map +1 -0
- package/dist/features/viewer-shell/react/hooks/useMarkdownScrollSync.js +157 -0
- package/dist/features/viewer-shell/react/hooks/useMarkdownScrollSync.js.map +1 -0
- package/dist/features/viewer-shell/rules.d.ts +93 -0
- package/dist/features/viewer-shell/rules.d.ts.map +1 -0
- package/dist/features/viewer-shell/rules.js +248 -0
- package/dist/features/viewer-shell/rules.js.map +1 -0
- package/dist/features/viewer-shell/types.d.ts +78 -0
- package/dist/features/viewer-shell/types.d.ts.map +1 -0
- package/dist/features/viewer-shell/types.js +19 -0
- package/dist/features/viewer-shell/types.js.map +1 -0
- package/dist/hooks/useCoalescedCallback.d.ts +35 -0
- package/dist/hooks/useCoalescedCallback.d.ts.map +1 -0
- package/dist/hooks/useCoalescedCallback.js +61 -0
- package/dist/hooks/useCoalescedCallback.js.map +1 -0
- package/dist/hooks/useDebouncedValue.d.ts +2 -0
- package/dist/hooks/useDebouncedValue.d.ts.map +1 -0
- package/dist/hooks/useDebouncedValue.js +14 -0
- package/dist/hooks/useDebouncedValue.js.map +1 -0
- package/dist/hooks/useInView.d.ts +19 -0
- package/dist/hooks/useInView.d.ts.map +1 -0
- package/dist/hooks/useInView.js +39 -0
- package/dist/hooks/useInView.js.map +1 -0
- package/dist/hooks/useResizableSplitPane.d.ts +44 -0
- package/dist/hooks/useResizableSplitPane.d.ts.map +1 -0
- package/dist/hooks/useResizableSplitPane.js +259 -0
- package/dist/hooks/useResizableSplitPane.js.map +1 -0
- package/dist/hooks/useStableHandler.d.ts +10 -0
- package/dist/hooks/useStableHandler.d.ts.map +1 -0
- package/dist/hooks/useStableHandler.js +17 -0
- package/dist/hooks/useStableHandler.js.map +1 -0
- package/dist/index.d.ts +86 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +90 -0
- package/dist/index.js.map +1 -0
- package/dist/react/components/AgentIcon.d.ts +15 -0
- package/dist/react/components/AgentIcon.d.ts.map +1 -0
- package/dist/react/components/AgentIcon.js +80 -0
- package/dist/react/components/AgentIcon.js.map +1 -0
- package/dist/react/components/AppChromeHeader.d.ts +19 -0
- package/dist/react/components/AppChromeHeader.d.ts.map +1 -0
- package/dist/react/components/AppChromeHeader.js +11 -0
- package/dist/react/components/AppChromeHeader.js.map +1 -0
- package/dist/react/components/BrandLogo.d.ts +77 -0
- package/dist/react/components/BrandLogo.d.ts.map +1 -0
- package/dist/react/components/BrandLogo.js +93 -0
- package/dist/react/components/BrandLogo.js.map +1 -0
- package/dist/react/components/CompactToggle.d.ts +10 -0
- package/dist/react/components/CompactToggle.d.ts.map +1 -0
- package/dist/react/components/CompactToggle.js +13 -0
- package/dist/react/components/CompactToggle.js.map +1 -0
- package/dist/react/components/ComponentKitPreview.d.ts +47 -0
- package/dist/react/components/ComponentKitPreview.d.ts.map +1 -0
- package/dist/react/components/ComponentKitPreview.js +43 -0
- package/dist/react/components/ComponentKitPreview.js.map +1 -0
- package/dist/react/components/CustomSelect.d.ts +158 -0
- package/dist/react/components/CustomSelect.d.ts.map +1 -0
- package/dist/react/components/CustomSelect.js +268 -0
- package/dist/react/components/CustomSelect.js.map +1 -0
- package/dist/react/components/EdgeScrollZones.d.ts +3 -0
- package/dist/react/components/EdgeScrollZones.d.ts.map +1 -0
- package/dist/react/components/EdgeScrollZones.js +6 -0
- package/dist/react/components/EdgeScrollZones.js.map +1 -0
- package/dist/react/components/EditorIcon.d.ts +16 -0
- package/dist/react/components/EditorIcon.d.ts.map +1 -0
- package/dist/react/components/EditorIcon.js +75 -0
- package/dist/react/components/EditorIcon.js.map +1 -0
- package/dist/react/components/ExportDiagnosticsButton.d.ts +110 -0
- package/dist/react/components/ExportDiagnosticsButton.d.ts.map +1 -0
- package/dist/react/components/ExportDiagnosticsButton.js +150 -0
- package/dist/react/components/ExportDiagnosticsButton.js.map +1 -0
- package/dist/react/components/FileImportPanel.d.ts +15 -0
- package/dist/react/components/FileImportPanel.d.ts.map +1 -0
- package/dist/react/components/FileImportPanel.js +17 -0
- package/dist/react/components/FileImportPanel.js.map +1 -0
- package/dist/react/components/HeaderActionsMenu.d.ts +72 -0
- package/dist/react/components/HeaderActionsMenu.d.ts.map +1 -0
- package/dist/react/components/HeaderActionsMenu.js +111 -0
- package/dist/react/components/HeaderActionsMenu.js.map +1 -0
- package/dist/react/components/Icon.d.ts +15 -0
- package/dist/react/components/Icon.d.ts.map +1 -0
- package/dist/react/components/Icon.js +236 -0
- package/dist/react/components/Icon.js.map +1 -0
- package/dist/react/components/ImportChoice.d.ts +11 -0
- package/dist/react/components/ImportChoice.d.ts.map +1 -0
- package/dist/react/components/ImportChoice.js +15 -0
- package/dist/react/components/ImportChoice.js.map +1 -0
- package/dist/react/components/KitErrorBoundary.d.ts +13 -0
- package/dist/react/components/KitErrorBoundary.d.ts.map +1 -0
- package/dist/react/components/KitErrorBoundary.js +30 -0
- package/dist/react/components/KitErrorBoundary.js.map +1 -0
- package/dist/react/components/LanguageMenu.d.ts +69 -0
- package/dist/react/components/LanguageMenu.d.ts.map +1 -0
- package/dist/react/components/LanguageMenu.js +102 -0
- package/dist/react/components/LanguageMenu.js.map +1 -0
- package/dist/react/components/Loading.d.ts +27 -0
- package/dist/react/components/Loading.d.ts.map +1 -0
- package/dist/react/components/Loading.js +24 -0
- package/dist/react/components/Loading.js.map +1 -0
- package/dist/react/components/Notice.d.ts +14 -0
- package/dist/react/components/Notice.d.ts.map +1 -0
- package/dist/react/components/Notice.js +23 -0
- package/dist/react/components/Notice.js.map +1 -0
- package/dist/react/components/OnboardingChipField.d.ts +21 -0
- package/dist/react/components/OnboardingChipField.d.ts.map +1 -0
- package/dist/react/components/OnboardingChipField.js +19 -0
- package/dist/react/components/OnboardingChipField.js.map +1 -0
- package/dist/react/components/OnboardingDropdown.d.ts +133 -0
- package/dist/react/components/OnboardingDropdown.d.ts.map +1 -0
- package/dist/react/components/OnboardingDropdown.js +257 -0
- package/dist/react/components/OnboardingDropdown.js.map +1 -0
- package/dist/react/components/OnboardingPanelHeader.d.ts +7 -0
- package/dist/react/components/OnboardingPanelHeader.d.ts.map +1 -0
- package/dist/react/components/OnboardingPanelHeader.js +5 -0
- package/dist/react/components/OnboardingPanelHeader.js.map +1 -0
- package/dist/react/components/OptionCards.d.ts +14 -0
- package/dist/react/components/OptionCards.d.ts.map +1 -0
- package/dist/react/components/OptionCards.js +5 -0
- package/dist/react/components/OptionCards.js.map +1 -0
- package/dist/react/components/PaletteTweaks.d.ts +65 -0
- package/dist/react/components/PaletteTweaks.d.ts.map +1 -0
- package/dist/react/components/PaletteTweaks.js +116 -0
- package/dist/react/components/PaletteTweaks.js.map +1 -0
- package/dist/react/components/PillButton.d.ts +33 -0
- package/dist/react/components/PillButton.d.ts.map +1 -0
- package/dist/react/components/PillButton.js +14 -0
- package/dist/react/components/PillButton.js.map +1 -0
- package/dist/react/components/PopoverItem.d.ts +24 -0
- package/dist/react/components/PopoverItem.d.ts.map +1 -0
- package/dist/react/components/PopoverItem.js +12 -0
- package/dist/react/components/PopoverItem.js.map +1 -0
- package/dist/react/components/PopoverMenu.d.ts +15 -0
- package/dist/react/components/PopoverMenu.d.ts.map +1 -0
- package/dist/react/components/PopoverMenu.js +13 -0
- package/dist/react/components/PopoverMenu.js.map +1 -0
- package/dist/react/components/RemixIcon.d.ts +15 -0
- package/dist/react/components/RemixIcon.d.ts.map +1 -0
- package/dist/react/components/RemixIcon.js +19 -0
- package/dist/react/components/RemixIcon.js.map +1 -0
- package/dist/react/components/StatCard.d.ts +7 -0
- package/dist/react/components/StatCard.d.ts.map +1 -0
- package/dist/react/components/StatCard.js +5 -0
- package/dist/react/components/StatCard.js.map +1 -0
- package/dist/react/components/Toast.d.ts +95 -0
- package/dist/react/components/Toast.d.ts.map +1 -0
- package/dist/react/components/Toast.js +131 -0
- package/dist/react/components/Toast.js.map +1 -0
- package/dist/react/components/ToggleRow.d.ts +10 -0
- package/dist/react/components/ToggleRow.d.ts.map +1 -0
- package/dist/react/components/ToggleRow.js +13 -0
- package/dist/react/components/ToggleRow.js.map +1 -0
- package/dist/react/components/TokenChip.d.ts +8 -0
- package/dist/react/components/TokenChip.d.ts.map +1 -0
- package/dist/react/components/TokenChip.js +6 -0
- package/dist/react/components/TokenChip.js.map +1 -0
- package/dist/react/components/TooltipLayer.d.ts +55 -0
- package/dist/react/components/TooltipLayer.d.ts.map +1 -0
- package/dist/react/components/TooltipLayer.js +294 -0
- package/dist/react/components/TooltipLayer.js.map +1 -0
- package/dist/react/components/ValueChip.d.ts +8 -0
- package/dist/react/components/ValueChip.d.ts.map +1 -0
- package/dist/react/components/ValueChip.js +6 -0
- package/dist/react/components/ValueChip.js.map +1 -0
- package/dist/react/components/WorkingDirPicker.d.ts +133 -0
- package/dist/react/components/WorkingDirPicker.d.ts.map +1 -0
- package/dist/react/components/WorkingDirPicker.js +183 -0
- package/dist/react/components/WorkingDirPicker.js.map +1 -0
- package/dist/react/hooks/useBrandFonts.d.ts +22 -0
- package/dist/react/hooks/useBrandFonts.d.ts.map +1 -0
- package/dist/react/hooks/useBrandFonts.js +75 -0
- package/dist/react/hooks/useBrandFonts.js.map +1 -0
- package/dist/react/hooks/useCoalescedCallback.d.ts +35 -0
- package/dist/react/hooks/useCoalescedCallback.d.ts.map +1 -0
- package/dist/react/hooks/useCoalescedCallback.js +61 -0
- package/dist/react/hooks/useCoalescedCallback.js.map +1 -0
- package/dist/react/hooks/useDebouncedValue.d.ts +2 -0
- package/dist/react/hooks/useDebouncedValue.d.ts.map +1 -0
- package/dist/react/hooks/useDebouncedValue.js +14 -0
- package/dist/react/hooks/useDebouncedValue.js.map +1 -0
- package/dist/react/hooks/useEdgeAutoScroll.d.ts +18 -0
- package/dist/react/hooks/useEdgeAutoScroll.d.ts.map +1 -0
- package/dist/react/hooks/useEdgeAutoScroll.js +80 -0
- package/dist/react/hooks/useEdgeAutoScroll.js.map +1 -0
- package/dist/react/hooks/useInView.d.ts +19 -0
- package/dist/react/hooks/useInView.d.ts.map +1 -0
- package/dist/react/hooks/useInView.js +39 -0
- package/dist/react/hooks/useInView.js.map +1 -0
- package/dist/react/hooks/useResizableSplitPane.d.ts +44 -0
- package/dist/react/hooks/useResizableSplitPane.d.ts.map +1 -0
- package/dist/react/hooks/useResizableSplitPane.js +259 -0
- package/dist/react/hooks/useResizableSplitPane.js.map +1 -0
- package/dist/react/hooks/useStableHandler.d.ts +10 -0
- package/dist/react/hooks/useStableHandler.d.ts.map +1 -0
- package/dist/react/hooks/useStableHandler.js +17 -0
- package/dist/react/hooks/useStableHandler.js.map +1 -0
- package/dist/utils/appearance.d.ts +32 -0
- package/dist/utils/appearance.d.ts.map +1 -0
- package/dist/utils/appearance.js +78 -0
- package/dist/utils/appearance.js.map +1 -0
- package/dist/utils/auto-open-file.d.ts +19 -0
- package/dist/utils/auto-open-file.d.ts.map +1 -0
- package/dist/utils/auto-open-file.js +161 -0
- package/dist/utils/auto-open-file.js.map +1 -0
- package/dist/utils/color-math.d.ts +34 -0
- package/dist/utils/color-math.d.ts.map +1 -0
- package/dist/utils/color-math.js +79 -0
- package/dist/utils/color-math.js.map +1 -0
- package/dist/utils/copy-to-clipboard.d.ts +11 -0
- package/dist/utils/copy-to-clipboard.d.ts.map +1 -0
- package/dist/utils/copy-to-clipboard.js +56 -0
- package/dist/utils/copy-to-clipboard.js.map +1 -0
- package/dist/utils/design-md.d.ts +27 -0
- package/dist/utils/design-md.d.ts.map +1 -0
- package/dist/utils/design-md.js +94 -0
- package/dist/utils/design-md.js.map +1 -0
- package/dist/utils/dom-subscriptions.d.ts +50 -0
- package/dist/utils/dom-subscriptions.d.ts.map +1 -0
- package/dist/utils/dom-subscriptions.js +116 -0
- package/dist/utils/dom-subscriptions.js.map +1 -0
- package/dist/utils/file-system-errors.d.ts +12 -0
- package/dist/utils/file-system-errors.d.ts.map +1 -0
- package/dist/utils/file-system-errors.js +30 -0
- package/dist/utils/file-system-errors.js.map +1 -0
- package/dist/utils/file-transfer.d.ts +10 -0
- package/dist/utils/file-transfer.d.ts.map +1 -0
- package/dist/utils/file-transfer.js +125 -0
- package/dist/utils/file-transfer.js.map +1 -0
- package/dist/utils/ime-composing.d.ts +18 -0
- package/dist/utils/ime-composing.d.ts.map +1 -0
- package/dist/utils/ime-composing.js +20 -0
- package/dist/utils/ime-composing.js.map +1 -0
- package/dist/utils/index.d.ts +9 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/index.js +17 -0
- package/dist/utils/index.js.map +1 -0
- package/dist/utils/localized-url.d.ts +7 -0
- package/dist/utils/localized-url.d.ts.map +1 -0
- package/dist/utils/localized-url.js +16 -0
- package/dist/utils/localized-url.js.map +1 -0
- package/dist/utils/markdown-scroll-sync.d.ts +38 -0
- package/dist/utils/markdown-scroll-sync.d.ts.map +1 -0
- package/dist/utils/markdown-scroll-sync.js +277 -0
- package/dist/utils/markdown-scroll-sync.js.map +1 -0
- package/dist/utils/notifications.d.ts +51 -0
- package/dist/utils/notifications.d.ts.map +1 -0
- package/dist/utils/notifications.js +238 -0
- package/dist/utils/notifications.js.map +1 -0
- package/dist/utils/platform.d.ts +6 -0
- package/dist/utils/platform.d.ts.map +1 -0
- package/dist/utils/platform.js +8 -0
- package/dist/utils/platform.js.map +1 -0
- package/dist/utils/polygon-selection.d.ts +65 -0
- package/dist/utils/polygon-selection.d.ts.map +1 -0
- package/dist/utils/polygon-selection.js +123 -0
- package/dist/utils/polygon-selection.js.map +1 -0
- package/dist/utils/scroll-tabs-with-wheel.d.ts +19 -0
- package/dist/utils/scroll-tabs-with-wheel.d.ts.map +1 -0
- package/dist/utils/scroll-tabs-with-wheel.js +47 -0
- package/dist/utils/scroll-tabs-with-wheel.js.map +1 -0
- package/dist/utils/smooth-scroll-to-top.d.ts +30 -0
- package/dist/utils/smooth-scroll-to-top.d.ts.map +1 -0
- package/dist/utils/smooth-scroll-to-top.js +120 -0
- package/dist/utils/smooth-scroll-to-top.js.map +1 -0
- package/dist/utils/sse.d.ts +26 -0
- package/dist/utils/sse.d.ts.map +1 -0
- package/dist/utils/sse.js +51 -0
- package/dist/utils/sse.js.map +1 -0
- package/dist/utils/timezone.d.ts +18 -0
- package/dist/utils/timezone.d.ts.map +1 -0
- package/dist/utils/timezone.js +69 -0
- package/dist/utils/timezone.js.map +1 -0
- package/dist/utils/uuid.d.ts +30 -0
- package/dist/utils/uuid.d.ts.map +1 -0
- package/dist/utils/uuid.js +53 -0
- package/dist/utils/uuid.js.map +1 -0
- package/dist/utils/visual-stability.d.ts +14 -0
- package/dist/utils/visual-stability.d.ts.map +1 -0
- package/dist/utils/visual-stability.js +23 -0
- package/dist/utils/visual-stability.js.map +1 -0
- package/dist/utils/zip.d.ts +19 -0
- package/dist/utils/zip.d.ts.map +1 -0
- package/dist/utils/zip.js +132 -0
- package/dist/utils/zip.js.map +1 -0
- package/dist/vitest-chat-entry.d.ts +13 -0
- package/dist/vitest-chat-entry.d.ts.map +1 -0
- package/dist/vitest-chat-entry.js +13 -0
- package/dist/vitest-chat-entry.js.map +1 -0
- package/package.json +63 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useBrowserNavigationStack.d.ts","sourceRoot":"","sources":["../../../../../src/features/browser-chrome/react/hooks/useBrowserNavigationStack.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,sBAAsB,EAA0B,MAAM,gBAAgB,CAAC;AAErF,OAAO,EAOL,KAAK,uBAAuB,EAC7B,MAAM,gBAAgB,CAAC;AAExB,MAAM,WAAW,gCAAgC;IAC/C,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,sBAAsB,CAAC;IACnC,sFAAsF;IACtF,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,sBAAsB,KAAK,IAAI,CAAC;CACtD;AAED,MAAM,WAAW,2BAA2B;IAC1C,eAAe,EAAE,sBAAsB,EAAE,CAAC;IAC1C,eAAe,EAAE,MAAM,CAAC;IACxB,YAAY,EAAE,sBAAsB,GAAG,SAAS,CAAC;IACjD,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,OAAO,CAAC;IACnB,YAAY,EAAE,OAAO,CAAC;IACtB,gBAAgB,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,uBAAuB,KAAK,IAAI,CAAC;IAC3F,MAAM,EAAE,MAAM,sBAAsB,GAAG,IAAI,CAAC;IAC5C,SAAS,EAAE,MAAM,sBAAsB,GAAG,IAAI,CAAC;IAC/C,kBAAkB,EAAE,CAAC,KAAK,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7C,KAAK,EAAE,CAAC,UAAU,CAAC,EAAE,MAAM,EAAE,YAAY,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;CAC7D;AAED,wBAAgB,yBAAyB,CAAC,OAAO,GAAE,gCAAqC,GAAG,2BAA2B,CAuErH"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { useCallback, useEffect, useRef, useState } from 'react';
|
|
2
|
+
import { DEFAULT_HOME_NAVIGATION_ENTRY, EMPTY_URL } from '../../constants.js';
|
|
3
|
+
import { initialNavigationState, recordNavigation as recordNavigationRule, resolveNavigationHistoryDelta, updateCurrentNavigationTitle, canGoBack as canGoBackRule, canGoForward as canGoForwardRule, } from '../../rules.js';
|
|
4
|
+
export function useBrowserNavigationStack(options = {}) {
|
|
5
|
+
const homeEntry = options.homeEntry ?? DEFAULT_HOME_NAVIGATION_ENTRY;
|
|
6
|
+
const initial = initialNavigationState(options.initialUrl, options.initialTitle, homeEntry);
|
|
7
|
+
const [state, setState] = useState({
|
|
8
|
+
navigationStack: initial.navigationStack,
|
|
9
|
+
navigationIndex: initial.navigationIndex,
|
|
10
|
+
});
|
|
11
|
+
const [addressValue, setAddressValue] = useState(initial.addressValue);
|
|
12
|
+
const onNavigateRef = useRef(options.onNavigate);
|
|
13
|
+
onNavigateRef.current = options.onNavigate;
|
|
14
|
+
const lastNotifiedRef = useRef(undefined);
|
|
15
|
+
const stateRef = useRef(state);
|
|
16
|
+
stateRef.current = state;
|
|
17
|
+
// Non-null assertion, not a guard: every state transition this hook
|
|
18
|
+
// performs (initialNavigationState / recordNavigation /
|
|
19
|
+
// resolveNavigationHistoryDelta / updateCurrentNavigationTitle, all in
|
|
20
|
+
// rules.ts) preserves `navigationStack.length >= 1` and
|
|
21
|
+
// `0 <= navigationIndex < navigationStack.length`, so this index read is
|
|
22
|
+
// always in range at runtime — `noUncheckedIndexedAccess` just can't prove
|
|
23
|
+
// that statically.
|
|
24
|
+
const currentEntry = state.navigationStack[state.navigationIndex];
|
|
25
|
+
useEffect(() => {
|
|
26
|
+
const last = lastNotifiedRef.current;
|
|
27
|
+
if (last && last.url === currentEntry.url && last.title === currentEntry.title)
|
|
28
|
+
return;
|
|
29
|
+
lastNotifiedRef.current = currentEntry;
|
|
30
|
+
onNavigateRef.current?.(currentEntry);
|
|
31
|
+
}, [currentEntry]);
|
|
32
|
+
const recordNavigation = useCallback((url, title, recordOptions) => {
|
|
33
|
+
setState((current) => recordNavigationRule(current, url, title, { homeLabel: homeEntry.title, ...(recordOptions ?? {}) }));
|
|
34
|
+
setAddressValue(url === EMPTY_URL ? '' : url);
|
|
35
|
+
}, [homeEntry.title]);
|
|
36
|
+
const navigateHistoryDelta = useCallback((delta) => {
|
|
37
|
+
const result = resolveNavigationHistoryDelta(stateRef.current, delta);
|
|
38
|
+
if (!result)
|
|
39
|
+
return null;
|
|
40
|
+
setState(result.state);
|
|
41
|
+
setAddressValue(result.entry.url === EMPTY_URL ? '' : result.entry.url);
|
|
42
|
+
return result.entry;
|
|
43
|
+
}, []);
|
|
44
|
+
const goBack = useCallback(() => navigateHistoryDelta(-1), [navigateHistoryDelta]);
|
|
45
|
+
const goForward = useCallback(() => navigateHistoryDelta(1), [navigateHistoryDelta]);
|
|
46
|
+
const updateCurrentTitle = useCallback((title) => {
|
|
47
|
+
setState((current) => updateCurrentNavigationTitle(current, title));
|
|
48
|
+
}, []);
|
|
49
|
+
const reset = useCallback((initialUrl, initialTitle) => {
|
|
50
|
+
const next = initialNavigationState(initialUrl, initialTitle, homeEntry);
|
|
51
|
+
setState({ navigationStack: next.navigationStack, navigationIndex: next.navigationIndex });
|
|
52
|
+
setAddressValue(next.addressValue);
|
|
53
|
+
lastNotifiedRef.current = undefined;
|
|
54
|
+
}, [homeEntry]);
|
|
55
|
+
return {
|
|
56
|
+
navigationStack: state.navigationStack,
|
|
57
|
+
navigationIndex: state.navigationIndex,
|
|
58
|
+
currentEntry,
|
|
59
|
+
addressValue,
|
|
60
|
+
canGoBack: canGoBackRule(state),
|
|
61
|
+
canGoForward: canGoForwardRule(state),
|
|
62
|
+
recordNavigation,
|
|
63
|
+
goBack,
|
|
64
|
+
goForward,
|
|
65
|
+
updateCurrentTitle,
|
|
66
|
+
reset,
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
//# sourceMappingURL=useBrowserNavigationStack.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useBrowserNavigationStack.js","sourceRoot":"","sources":["../../../../../src/features/browser-chrome/react/hooks/useBrowserNavigationStack.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEjE,OAAO,EAAE,6BAA6B,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC9E,OAAO,EACL,sBAAsB,EACtB,gBAAgB,IAAI,oBAAoB,EACxC,6BAA6B,EAC7B,4BAA4B,EAC5B,SAAS,IAAI,aAAa,EAC1B,YAAY,IAAI,gBAAgB,GAEjC,MAAM,gBAAgB,CAAC;AAwBxB,MAAM,UAAU,yBAAyB,CAAC,UAA4C,EAAE;IACtF,MAAM,SAAS,GAAG,OAAO,CAAC,SAAS,IAAI,6BAA6B,CAAC;IACrE,MAAM,OAAO,GAAG,sBAAsB,CAAC,OAAO,CAAC,UAAU,EAAE,OAAO,CAAC,YAAY,EAAE,SAAS,CAAC,CAAC;IAC5F,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,QAAQ,CAAyB;QACzD,eAAe,EAAE,OAAO,CAAC,eAAe;QACxC,eAAe,EAAE,OAAO,CAAC,eAAe;KACzC,CAAC,CAAC;IACH,MAAM,CAAC,YAAY,EAAE,eAAe,CAAC,GAAG,QAAQ,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC;IAEvE,MAAM,aAAa,GAAG,MAAM,CAAC,OAAO,CAAC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AAS,CAAC;IACtC,CAAC,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC;IAEhB,OAAO;QACL,eAAe,EAAE,KAAK,CAAC,eAAe;QACtC,eAAe,EAAE,KAAK,CAAC,eAAe;QACtC,YAAY;QACZ,YAAY;QACZ,SAAS,EAAE,aAAa,CAAC,KAAK,CAAC;QAC/B,YAAY,EAAE,gBAAgB,CAAC,KAAK,CAAC;QACrC,gBAAgB;QAChB,MAAM;QACN,SAAS;QACT,kBAAkB;QAClB,KAAK;KACN,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import type { AddressDisplayParts, BrowserHistoryEntry, BrowserNavigationEntry, BrowserNavigationState } from './types.js';
|
|
2
|
+
export interface NormalizeBrowserAddressOptions {
|
|
3
|
+
/**
|
|
4
|
+
* Absolute-path prefixes (e.g. `['api', 'artifacts']`) that should resolve
|
|
5
|
+
* against `appOrigin` instead of being treated as a local file path. A host
|
|
6
|
+
* whose app serves its own routes under the same origin the browser tab is
|
|
7
|
+
* embedded in supplies this; omit both to always fall back to `file://`.
|
|
8
|
+
*/
|
|
9
|
+
appRoutePrefixes?: string[];
|
|
10
|
+
/** Origin `appRoutePrefixes` matches resolve against — typically the host's `window.location.origin`. */
|
|
11
|
+
appOrigin?: string;
|
|
12
|
+
}
|
|
13
|
+
export declare function normalizeBrowserAddress(rawAddress: string, options?: NormalizeBrowserAddressOptions): string;
|
|
14
|
+
export declare function labelFromUrl(url: string, homeLabel?: string): string;
|
|
15
|
+
export declare function formatAddressDisplayParts(url: string, title?: string, homeLabel?: string): AddressDisplayParts;
|
|
16
|
+
export declare function formatAddressDisplay(url: string, title?: string, homeLabel?: string): string;
|
|
17
|
+
export declare function hostnameFromUrl(url: string): string;
|
|
18
|
+
export declare function faviconUrl(url: string): string | undefined;
|
|
19
|
+
export declare function isHistoryUrl(url: string): boolean;
|
|
20
|
+
export declare function sameUrl(left: string, right: string): boolean;
|
|
21
|
+
export declare function isHistoryEntry(value: unknown): value is BrowserHistoryEntry;
|
|
22
|
+
/** Namespace + scope key -> storage key. Namespace defaults to a generic Jini prefix (see `constants.ts`); scope key is host-supplied (e.g. a project or tab id). */
|
|
23
|
+
export declare function historyStorageKey(namespace: string, scopeKey: string): string;
|
|
24
|
+
/** Parses a raw JSON storage payload into a sorted, deduped, limit-capped history list. Never throws — returns `[]` on any malformed input. */
|
|
25
|
+
export declare function parseHistoryPayload(raw: string, limit?: number): BrowserHistoryEntry[];
|
|
26
|
+
export declare function serializeHistoryPayload(history: BrowserHistoryEntry[], limit?: number): string;
|
|
27
|
+
export interface MergeHistoryEntryMeta {
|
|
28
|
+
title?: string;
|
|
29
|
+
iconUrl?: string;
|
|
30
|
+
}
|
|
31
|
+
export interface MergeHistoryEntryOptions {
|
|
32
|
+
/** Pass `false` to update an entry's metadata without counting a visit (e.g. a back/forward replay). Defaults to counting. */
|
|
33
|
+
countVisit?: boolean;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Merges a visited URL into a history list: updates the existing entry in
|
|
37
|
+
* place (bumping it to the front) or inserts a new one, returning the SAME
|
|
38
|
+
* array reference when nothing actually changed (so callers can skip a
|
|
39
|
+
* re-render/re-save). `now` is injectable for deterministic tests.
|
|
40
|
+
*/
|
|
41
|
+
export declare function mergeHistoryEntry(history: BrowserHistoryEntry[], url: string, meta?: MergeHistoryEntryMeta, options?: MergeHistoryEntryOptions, now?: number): BrowserHistoryEntry[];
|
|
42
|
+
export declare function initialNavigationState(initialUrl?: string, initialTitle?: string, homeEntry?: BrowserNavigationEntry): BrowserNavigationState & {
|
|
43
|
+
url: string;
|
|
44
|
+
addressValue: string;
|
|
45
|
+
};
|
|
46
|
+
export interface RecordNavigationOptions {
|
|
47
|
+
replacePendingTarget?: boolean;
|
|
48
|
+
pendingTarget?: string | null;
|
|
49
|
+
homeLabel?: string;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Records a navigation into the stack: updates the current entry in place if
|
|
53
|
+
* the URL matches it (or an adjacent back/forward entry, or a pending-load
|
|
54
|
+
* target), otherwise truncates any forward history and appends a new entry —
|
|
55
|
+
* the same "linear stack with in-place back/forward matching" model a real
|
|
56
|
+
* browser's history uses.
|
|
57
|
+
*/
|
|
58
|
+
export declare function recordNavigation(state: BrowserNavigationState, url: string, title?: string, options?: RecordNavigationOptions): BrowserNavigationState;
|
|
59
|
+
export declare function updateCurrentNavigationTitle(state: BrowserNavigationState, title?: string): BrowserNavigationState;
|
|
60
|
+
export interface NavigationHistoryDeltaResult {
|
|
61
|
+
state: BrowserNavigationState;
|
|
62
|
+
entry: BrowserNavigationEntry;
|
|
63
|
+
}
|
|
64
|
+
/** Resolves a back (`delta: -1`) or forward (`delta: 1`) step. Returns `null` at either end of the stack. */
|
|
65
|
+
export declare function resolveNavigationHistoryDelta(state: BrowserNavigationState, delta: -1 | 1): NavigationHistoryDeltaResult | null;
|
|
66
|
+
export declare function canGoBack(state: BrowserNavigationState): boolean;
|
|
67
|
+
export declare function canGoForward(state: BrowserNavigationState): boolean;
|
|
68
|
+
//# sourceMappingURL=rules.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rules.d.ts","sourceRoot":"","sources":["../../../src/features/browser-chrome/rules.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,mBAAmB,EACnB,mBAAmB,EACnB,sBAAsB,EACtB,sBAAsB,EACvB,MAAM,YAAY,CAAC;AAOpB,MAAM,WAAW,8BAA8B;IAC7C;;;;;OAKG;IACH,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC5B,yGAAyG;IACzG,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAMD,wBAAgB,uBAAuB,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,GAAE,8BAAmC,GAAG,MAAM,CAiBhH;AAED,wBAAgB,YAAY,CAAC,GAAG,EAAE,MAAM,EAAE,SAAS,GAAE,MAA4C,GAAG,MAAM,CAQzG;AAED,w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^${}()|[\]\\]/g, '\\$&');
|
|
4
|
+
}
|
|
5
|
+
export function normalizeBrowserAddress(rawAddress, options = {}) {
|
|
6
|
+
const value = rawAddress.trim();
|
|
7
|
+
if (!value)
|
|
8
|
+
return EMPTY_URL;
|
|
9
|
+
if (value === EMPTY_URL)
|
|
10
|
+
return EMPTY_URL;
|
|
11
|
+
if (/^(https?|file):\/\//i.test(value))
|
|
12
|
+
return value;
|
|
13
|
+
if (/^localhost(:\d+)?(\/.*)?$/i.test(value))
|
|
14
|
+
return `http://${value}`;
|
|
15
|
+
if (/^(127\.0\.0\.1|0\.0\.0\.0)(:\d+)?(\/.*)?$/i.test(value))
|
|
16
|
+
return `http://${value}`;
|
|
17
|
+
if (value.startsWith('/')) {
|
|
18
|
+
const { appRoutePrefixes = [], appOrigin } = options;
|
|
19
|
+
if (appOrigin && appRoutePrefixes.length > 0) {
|
|
20
|
+
const prefixPattern = new RegExp(`^/(${appRoutePrefixes.map(escapeRegExp).join('|')})(/|$)`);
|
|
21
|
+
if (prefixPattern.test(value))
|
|
22
|
+
return new URL(value, appOrigin).toString();
|
|
23
|
+
}
|
|
24
|
+
return `file://${encodeURI(value)}`;
|
|
25
|
+
}
|
|
26
|
+
if (/^[\w.-]+\.[a-z]{2,}(:\d+)?(\/.*)?$/i.test(value))
|
|
27
|
+
return `https://${value}`;
|
|
28
|
+
return `https://www.google.com/search?q=${encodeURIComponent(value)}`;
|
|
29
|
+
}
|
|
30
|
+
export function labelFromUrl(url, homeLabel = DEFAULT_HOME_NAVIGATION_ENTRY.title) {
|
|
31
|
+
if (url === EMPTY_URL)
|
|
32
|
+
return homeLabel;
|
|
33
|
+
try {
|
|
34
|
+
const parsed = new URL(url);
|
|
35
|
+
return parsed.hostname.replace(/^www\./, '') || url;
|
|
36
|
+
}
|
|
37
|
+
catch {
|
|
38
|
+
return url;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
export function formatAddressDisplayParts(url, title, homeLabel = DEFAULT_HOME_NAVIGATION_ENTRY.title) {
|
|
42
|
+
if (url === EMPTY_URL)
|
|
43
|
+
return { url: '' };
|
|
44
|
+
const cleanTitle = title?.trim();
|
|
45
|
+
if (!cleanTitle)
|
|
46
|
+
return { url };
|
|
47
|
+
const fallback = labelFromUrl(url, homeLabel);
|
|
48
|
+
if (cleanTitle === fallback || cleanTitle === url)
|
|
49
|
+
return { url };
|
|
50
|
+
return { url: url.replace(/\/+$/, ''), title: cleanTitle };
|
|
51
|
+
}
|
|
52
|
+
export function formatAddressDisplay(url, title, homeLabel = DEFAULT_HOME_NAVIGATION_ENTRY.title) {
|
|
53
|
+
const parts = formatAddressDisplayParts(url, title, homeLabel);
|
|
54
|
+
if (!parts.url)
|
|
55
|
+
return '';
|
|
56
|
+
if (!parts.title)
|
|
57
|
+
return parts.url;
|
|
58
|
+
return `${parts.url} / ${parts.title}`;
|
|
59
|
+
}
|
|
60
|
+
export function hostnameFromUrl(url) {
|
|
61
|
+
try {
|
|
62
|
+
return new URL(url).hostname.replace(/^www\./, '');
|
|
63
|
+
}
|
|
64
|
+
catch {
|
|
65
|
+
return url;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
function isHttpLikeUrl(url) {
|
|
69
|
+
return /^https?:\/\//i.test(url);
|
|
70
|
+
}
|
|
71
|
+
export function faviconUrl(url) {
|
|
72
|
+
if (!isHttpLikeUrl(url))
|
|
73
|
+
return undefined;
|
|
74
|
+
try {
|
|
75
|
+
return new URL('/favicon.ico', new URL(url).origin).toString();
|
|
76
|
+
}
|
|
77
|
+
catch {
|
|
78
|
+
return undefined;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
export function isHistoryUrl(url) {
|
|
82
|
+
return url !== EMPTY_URL && (isHttpLikeUrl(url) || /^file:\/\//i.test(url));
|
|
83
|
+
}
|
|
84
|
+
export function sameUrl(left, right) {
|
|
85
|
+
return left.replace(/\/+$/, '') === right.replace(/\/+$/, '');
|
|
86
|
+
}
|
|
87
|
+
function cleanIconUrl(url) {
|
|
88
|
+
const value = url?.trim();
|
|
89
|
+
if (!value)
|
|
90
|
+
return undefined;
|
|
91
|
+
if (/^https?:\/\//i.test(value) || /^data:image\//i.test(value))
|
|
92
|
+
return value;
|
|
93
|
+
return undefined;
|
|
94
|
+
}
|
|
95
|
+
// ---------------------------------------------------------------------------
|
|
96
|
+
// History entries
|
|
97
|
+
// ---------------------------------------------------------------------------
|
|
98
|
+
export function isHistoryEntry(value) {
|
|
99
|
+
if (typeof value !== 'object' || value == null || Array.isArray(value))
|
|
100
|
+
return false;
|
|
101
|
+
const record = value;
|
|
102
|
+
return (typeof record.url === 'string'
|
|
103
|
+
&& typeof record.title === 'string'
|
|
104
|
+
&& typeof record.lastVisitedAt === 'number'
|
|
105
|
+
&& typeof record.visitCount === 'number'
|
|
106
|
+
&& (record.iconUrl === undefined || typeof record.iconUrl === 'string'));
|
|
107
|
+
}
|
|
108
|
+
/** Namespace + scope key -> storage key. Namespace defaults to a generic Jini prefix (see `constants.ts`); scope key is host-supplied (e.g. a project or tab id). */
|
|
109
|
+
export function historyStorageKey(namespace, scopeKey) {
|
|
110
|
+
return `${namespace}:${scopeKey}`;
|
|
111
|
+
}
|
|
112
|
+
/** Parses a raw JSON storage payload into a sorted, deduped, limit-capped history list. Never throws — returns `[]` on any malformed input. */
|
|
113
|
+
export function parseHistoryPayload(raw, limit = HISTORY_LIMIT) {
|
|
114
|
+
try {
|
|
115
|
+
const parsed = JSON.parse(raw);
|
|
116
|
+
if (!Array.isArray(parsed))
|
|
117
|
+
return [];
|
|
118
|
+
return parsed
|
|
119
|
+
.filter(isHistoryEntry)
|
|
120
|
+
.sort((left, right) => right.lastVisitedAt - left.lastVisitedAt)
|
|
121
|
+
.slice(0, limit);
|
|
122
|
+
}
|
|
123
|
+
catch {
|
|
124
|
+
return [];
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
export function serializeHistoryPayload(history, limit = HISTORY_LIMIT) {
|
|
128
|
+
return JSON.stringify(history.slice(0, limit));
|
|
129
|
+
}
|
|
130
|
+
/**
|
|
131
|
+
* Merges a visited URL into a history list: updates the existing entry in
|
|
132
|
+
* place (bumping it to the front) or inserts a new one, returning the SAME
|
|
133
|
+
* array reference when nothing actually changed (so callers can skip a
|
|
134
|
+
* re-render/re-save). `now` is injectable for deterministic tests.
|
|
135
|
+
*/
|
|
136
|
+
export function mergeHistoryEntry(history, url, meta = {}, options = {}, now = Date.now()) {
|
|
137
|
+
if (!isHistoryUrl(url))
|
|
138
|
+
return history;
|
|
139
|
+
const existing = history.find((entry) => sameUrl(entry.url, url));
|
|
140
|
+
// `isHistoryUrl` above already excludes `EMPTY_URL`, so `labelFromUrl`'s
|
|
141
|
+
// home-label branch can never trigger here — no `homeLabel` option to pass.
|
|
142
|
+
const nextTitle = meta.title && meta.title.trim()
|
|
143
|
+
? meta.title.trim()
|
|
144
|
+
: existing?.title || labelFromUrl(url);
|
|
145
|
+
const nextIconUrl = cleanIconUrl(meta.iconUrl) || existing?.iconUrl || faviconUrl(url);
|
|
146
|
+
const visitIncrement = options.countVisit === false ? 0 : 1;
|
|
147
|
+
const entry = existing
|
|
148
|
+
? {
|
|
149
|
+
...existing,
|
|
150
|
+
...(nextIconUrl !== undefined ? { iconUrl: nextIconUrl } : {}),
|
|
151
|
+
title: nextTitle,
|
|
152
|
+
lastVisitedAt: visitIncrement > 0 ? now : existing.lastVisitedAt,
|
|
153
|
+
visitCount: existing.visitCount + visitIncrement,
|
|
154
|
+
}
|
|
155
|
+
: {
|
|
156
|
+
...(nextIconUrl !== undefined ? { iconUrl: nextIconUrl } : {}),
|
|
157
|
+
title: nextTitle,
|
|
158
|
+
url,
|
|
159
|
+
lastVisitedAt: now,
|
|
160
|
+
visitCount: 1,
|
|
161
|
+
};
|
|
162
|
+
if (existing
|
|
163
|
+
&& existing.title === entry.title
|
|
164
|
+
&& existing.iconUrl === entry.iconUrl
|
|
165
|
+
&& existing.lastVisitedAt === entry.lastVisitedAt
|
|
166
|
+
&& existing.visitCount === entry.visitCount) {
|
|
167
|
+
return history;
|
|
168
|
+
}
|
|
169
|
+
return [entry, ...history.filter((item) => !sameUrl(item.url, url))].slice(0, HISTORY_LIMIT);
|
|
170
|
+
}
|
|
171
|
+
// ---------------------------------------------------------------------------
|
|
172
|
+
// Navigation stack
|
|
173
|
+
// ---------------------------------------------------------------------------
|
|
174
|
+
export function initialNavigationState(initialUrl, initialTitle, homeEntry = DEFAULT_HOME_NAVIGATION_ENTRY) {
|
|
175
|
+
const trimmedUrl = initialUrl?.trim();
|
|
176
|
+
const url = trimmedUrl && isHistoryUrl(trimmedUrl) ? trimmedUrl : EMPTY_URL;
|
|
177
|
+
if (url === EMPTY_URL) {
|
|
178
|
+
return {
|
|
179
|
+
addressValue: '',
|
|
180
|
+
navigationIndex: 0,
|
|
181
|
+
navigationStack: [homeEntry],
|
|
182
|
+
url,
|
|
183
|
+
};
|
|
184
|
+
}
|
|
185
|
+
const title = initialTitle?.trim() || labelFromUrl(url, homeEntry.title);
|
|
186
|
+
return {
|
|
187
|
+
addressValue: url,
|
|
188
|
+
navigationIndex: 0,
|
|
189
|
+
navigationStack: [{ title, url }],
|
|
190
|
+
url,
|
|
191
|
+
};
|
|
192
|
+
}
|
|
193
|
+
/**
|
|
194
|
+
* Records a navigation into the stack: updates the current entry in place if
|
|
195
|
+
* the URL matches it (or an adjacent back/forward entry, or a pending-load
|
|
196
|
+
* target), otherwise truncates any forward history and appends a new entry —
|
|
197
|
+
* the same "linear stack with in-place back/forward matching" model a real
|
|
198
|
+
* browser's history uses.
|
|
199
|
+
*/
|
|
200
|
+
export function recordNavigation(state, url, title, options = {}) {
|
|
201
|
+
if (url !== EMPTY_URL && !isHistoryUrl(url))
|
|
202
|
+
return state;
|
|
203
|
+
const { navigationStack: stack, navigationIndex: index } = state;
|
|
204
|
+
// Bug fix: this used to hardcode DEFAULT_HOME_NAVIGATION_ENTRY.title here,
|
|
205
|
+
// ignoring a caller-supplied `options.homeLabel` — so a host configuring a
|
|
206
|
+
// custom `homeEntry` (via useBrowserNavigationStack) would see the entry's
|
|
207
|
+
// title silently revert to "New Tab" on any navigation back to EMPTY_URL,
|
|
208
|
+
// even though `initialNavigationState`/`labelFromUrl` both honor the
|
|
209
|
+
// custom label correctly. Falls back to the generic default only when no
|
|
210
|
+
// homeLabel is supplied.
|
|
211
|
+
const nextTitle = url === EMPTY_URL
|
|
212
|
+
? (options.homeLabel ?? DEFAULT_HOME_NAVIGATION_ENTRY.title)
|
|
213
|
+
: title && title.trim()
|
|
214
|
+
? title.trim()
|
|
215
|
+
: labelFromUrl(url, options.homeLabel);
|
|
216
|
+
const nextEntry = { title: nextTitle, url };
|
|
217
|
+
const updateEntry = (entries, entryIndex) => {
|
|
218
|
+
const existing = entries[entryIndex];
|
|
219
|
+
const next = entries.slice();
|
|
220
|
+
next[entryIndex] = { title: nextTitle || existing?.title || labelFromUrl(url, options.homeLabel), url };
|
|
221
|
+
return next;
|
|
222
|
+
};
|
|
223
|
+
const currentEntry = index >= 0 ? stack[index] : undefined;
|
|
224
|
+
const shouldReplacePending = Boolean(options.replacePendingTarget && options.pendingTarget && currentEntry && sameUrl(currentEntry.url, options.pendingTarget));
|
|
225
|
+
if (currentEntry && (sameUrl(currentEntry.url, url) || shouldReplacePending)) {
|
|
226
|
+
return { navigationStack: updateEntry(stack, index), navigationIndex: index };
|
|
227
|
+
}
|
|
228
|
+
const previousIndex = index - 1;
|
|
229
|
+
if (previousIndex >= 0 && sameUrl(stack[previousIndex]?.url ?? '', url)) {
|
|
230
|
+
return { navigationStack: updateEntry(stack, previousIndex), navigationIndex: previousIndex };
|
|
231
|
+
}
|
|
232
|
+
const nextIndex = index + 1;
|
|
233
|
+
if (nextIndex < stack.length && sameUrl(stack[nextIndex]?.url ?? '', url)) {
|
|
234
|
+
return { navigationStack: updateEntry(stack, nextIndex), navigationIndex: nextIndex };
|
|
235
|
+
}
|
|
236
|
+
const base = index >= 0 ? stack.slice(0, index + 1) : [];
|
|
237
|
+
const nextStack = [...base, nextEntry].slice(-HISTORY_LIMIT);
|
|
238
|
+
return { navigationStack: nextStack, navigationIndex: nextStack.length - 1 };
|
|
239
|
+
}
|
|
240
|
+
export function updateCurrentNavigationTitle(state, title) {
|
|
241
|
+
const trimmedTitle = title?.trim();
|
|
242
|
+
const { navigationStack: stack, navigationIndex: index } = state;
|
|
243
|
+
if (!trimmedTitle || index < 0)
|
|
244
|
+
return state;
|
|
245
|
+
const currentEntry = stack[index];
|
|
246
|
+
if (!currentEntry || currentEntry.title === trimmedTitle)
|
|
247
|
+
return state;
|
|
248
|
+
const nextStack = stack.slice();
|
|
249
|
+
nextStack[index] = { ...currentEntry, title: trimmedTitle };
|
|
250
|
+
return { navigationStack: nextStack, navigationIndex: index };
|
|
251
|
+
}
|
|
252
|
+
/** Resolves a back (`delta: -1`) or forward (`delta: 1`) step. Returns `null` at either end of the stack. */
|
|
253
|
+
export function resolveNavigationHistoryDelta(state, delta) {
|
|
254
|
+
const targetIndex = state.navigationIndex + delta;
|
|
255
|
+
const entry = state.navigationStack[targetIndex];
|
|
256
|
+
if (!entry)
|
|
257
|
+
return null;
|
|
258
|
+
return {
|
|
259
|
+
state: { navigationStack: state.navigationStack.slice(), navigationIndex: targetIndex },
|
|
260
|
+
entry,
|
|
261
|
+
};
|
|
262
|
+
}
|
|
263
|
+
export function canGoBack(state) {
|
|
264
|
+
return state.navigationIndex > 0;
|
|
265
|
+
}
|
|
266
|
+
export function canGoForward(state) {
|
|
267
|
+
return state.navigationIndex >= 0 && state.navigationIndex < state.navigationStack.length - 1;
|
|
268
|
+
}
|
|
269
|
+
//# sourceMappingURL=rules.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rules.js","sourceRoot":"","sources":["../../../src/features/browser-chrome/rules.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,6BAA6B,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAkBzF,SAAS,YAAY,CAAC,KAAa;IACjC,OA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AEb,MAAM,WAAW,GAAG,KAAK,CAAC,eAAe,GAAG,KAAK,CAAC;IAClD,MAAM,KAAK,GAAG,KAAK,CAAC,eAAe,CAAC,WAAW,CAAC,CAAC;IACjD,IAAI,CAAC,KAAK;QAAE,OAAO,IAAI,CAAC;IACxB,OAAO;QACL,KAAK,EAAE,EAAE,eAAe,EAAE,KAAK,CAAC,eAAe,CAAC,KAAK,EAAE,EAAE,eAAe,EAAE,WAAW,EAAE;QACvF,KAAK;KACN,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,SAAS,CAAC,KAA6B;IACrD,OAAO,KAAK,CAAC,eAAe,GAAG,CAAC,CAAC;AACnC,CAAC;AAED,MAAM,UAAU,YAAY,CAAC,KAA6B;IACxD,OAAO,KAAK,CAAC,eAAe,IAAI,CAAC,IAAI,KAAK,CAAC,eAAe,GAAG,KAAK,CAAC,eAAe,CAAC,MAAM,GAAG,CAAC,CAAC;AAChG,CAAC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
export type BrowserViewportId = 'desktop' | 'tablet' | 'mobile';
|
|
2
|
+
export interface BrowserViewportPreset {
|
|
3
|
+
id: BrowserViewportId;
|
|
4
|
+
/** Plain-English default label. Wrap with useT() at the call site — see the i18n policy. */
|
|
5
|
+
label: string;
|
|
6
|
+
/** Plain-English default tooltip/title text. */
|
|
7
|
+
title: string;
|
|
8
|
+
width: number | null;
|
|
9
|
+
height: number | null;
|
|
10
|
+
}
|
|
11
|
+
export interface BrowserHistoryEntry {
|
|
12
|
+
iconUrl?: string;
|
|
13
|
+
title: string;
|
|
14
|
+
url: string;
|
|
15
|
+
lastVisitedAt: number;
|
|
16
|
+
visitCount: number;
|
|
17
|
+
}
|
|
18
|
+
export interface BrowserNavigationEntry {
|
|
19
|
+
title: string;
|
|
20
|
+
url: string;
|
|
21
|
+
}
|
|
22
|
+
export interface BrowserNavigationState {
|
|
23
|
+
navigationStack: BrowserNavigationEntry[];
|
|
24
|
+
navigationIndex: number;
|
|
25
|
+
}
|
|
26
|
+
export interface AddressDisplayParts {
|
|
27
|
+
url: string;
|
|
28
|
+
title?: string;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* A host-supplied handle to the live browser surface (webview or iframe),
|
|
32
|
+
* exposed so a host can wire its own bridge (e.g. re-reading the rendered
|
|
33
|
+
* DOM for some external purpose) through `BrowserBridgeRegistrationPort`.
|
|
34
|
+
* Deliberately narrow — only the capabilities every embeddable-browser host
|
|
35
|
+
* plausibly needs, not any one host's specific consumption of them.
|
|
36
|
+
*/
|
|
37
|
+
export interface BrowserTabHandle {
|
|
38
|
+
isEmbeddedSurfaceAvailable: boolean;
|
|
39
|
+
getURL: () => string;
|
|
40
|
+
executeJavaScript?: (code: string, hasUserGesture?: boolean) => unknown;
|
|
41
|
+
}
|
|
42
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/features/browser-chrome/types.ts"],"names":[],"mappings":"AAcA,MAAM,MAAM,iBAAiB,GAAG,SAAS,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAEhE,MAAM,WAAW,qBAAqB;IACpC,EAAE,EAAE,iBAAiB,CAAC;IACtB,4FAA4F;IAC5F,KAAK,EAAE,MAAM,CAAC;IACd,gDAAgD;IAChD,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;CACvB;AAED,MAAM,WAAW,mBAAmB;IAClC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,sBAAsB;IACrC,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;CACb;AAED,MAAM,WAAW,sBAAsB;IACrC,eAAe,EAAE,sBAAsB,EAAE,CAAC;IAC1C,eAAe,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,WAAW,mBAAmB;IAClC,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;;;;;GAMG;AACH,MAAM,WAAW,gBAAgB;IAC/B,0BAA0B,EAAE,OAAO,CAAC;IACpC,MAAM,EAAE,MAAM,MAAM,CAAC;IACrB,iBAAiB,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,cAAc,CAAC,EAAE,OAAO,KAAK,OAAO,CAAC;CACzE"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// Generic "embeddable webview/iframe browser tab" primitive: a navigation
|
|
2
|
+
// stack, address-bar normalization, history/favicon utilities, and a
|
|
3
|
+
// responsive viewport-preset switcher. A host renders the actual webview or
|
|
4
|
+
// iframe and owns navigation/comment/AI-tooling business logic on top of
|
|
5
|
+
// this — this feature only owns the address/history/viewport bookkeeping.
|
|
6
|
+
//
|
|
7
|
+
// Coverage note: this file is `export type`/`export interface` only —
|
|
8
|
+
// TypeScript erases it to an empty module (verified via the package's own
|
|
9
|
+
// esbuild transform: zero emitted statements), so v8/istanbul coverage has
|
|
10
|
+
// no executable line to measure and reports 0/0 as 0% rather than N/A.
|
|
11
|
+
// Excluded from the feature's coverage run via `--coverage.exclude` (see
|
|
12
|
+
// packages/ui/source-map.md's browser-chrome section) rather than chasing a
|
|
13
|
+
// phantom gap.
|
|
14
|
+
export {};
|
|
15
|
+
//# sourceMappingURL=types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/features/browser-chrome/types.ts"],"names":[],"mappings":"AAAA,0EAA0E;AAC1E,qEAAqE;AACrE,4EAA4E;AAC5E,yEAAyE;AACzE,0EAA0E;AAC1E,EAAE;AACF,sEAAsE;AACtE,0EAA0E;AAC1E,2EAA2E;AAC3E,uEAAuE;AACvE,yEAAyE;AACzE,4EAA4E;AAC5E,eAAe"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const MAX_RESULTS = 50;
|
|
2
|
+
export declare const DEFAULT_RECENTS_LIMIT = 6;
|
|
3
|
+
export declare const DEFAULT_RECENTS_STORAGE_NAMESPACE = "jini:command-palette:recents";
|
|
4
|
+
export declare const DEFAULT_SCOPE_KEY = "default";
|
|
5
|
+
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/features/command-palette/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW,KAAK,CAAC;AAC9B,eAAO,MAAM,qBAAqB,IAAI,CAAC;AACvC,eAAO,MAAM,iCAAiC,iCAAiC,CAAC;AAChF,eAAO,MAAM,iBAAiB,YAAY,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/features/command-palette/constants.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,WAAW,GAAG,EAAE,CAAC;AAC9B,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC;AACvC,MAAM,CAAC,MAAM,iCAAiC,GAAG,8BAA8B,CAAC;AAChF,MAAM,CAAC,MAAM,iBAAiB,GAAG,SAAS,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { CommandPaletteRecentsPort } from './ports.js';
|
|
2
|
+
/**
|
|
3
|
+
* Real, SSR-guarded `localStorage`-backed recents storage — only touches
|
|
4
|
+
* generic browser APIs, so (same reasoning as `features/browser-chrome`'s
|
|
5
|
+
* history storage) this ships as a real implementation rather than a
|
|
6
|
+
* fake/test double.
|
|
7
|
+
*/
|
|
8
|
+
export declare function createLocalStorageRecents(options?: {
|
|
9
|
+
namespace?: string;
|
|
10
|
+
limit?: number;
|
|
11
|
+
}): CommandPaletteRecentsPort;
|
|
12
|
+
//# sourceMappingURL=dependencies.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dependencies.d.ts","sourceRoot":"","sources":["../../../src/features/command-palette/dependencies.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,YAAY,CAAC;AAM5D;;;;;GAKG;AACH,wBAAgB,yBAAyB,CACvC,OAAO,GAAE;IAAE,SAAS,CAAC,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAO,GACnD,yBAAyB,CA0B3B"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { DEFAULT_RECENTS_LIMIT, DEFAULT_RECENTS_STORAGE_NAMESPACE } from './constants.js';
|
|
2
|
+
import { parseRecentIds, pushRecentId } from './rules.js';
|
|
3
|
+
function storageKey(namespace, scopeKey) {
|
|
4
|
+
return `${namespace}:${scopeKey}`;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Real, SSR-guarded `localStorage`-backed recents storage — only touches
|
|
8
|
+
* generic browser APIs, so (same reasoning as `features/browser-chrome`'s
|
|
9
|
+
* history storage) this ships as a real implementation rather than a
|
|
10
|
+
* fake/test double.
|
|
11
|
+
*/
|
|
12
|
+
export function createLocalStorageRecents(options = {}) {
|
|
13
|
+
const namespace = options.namespace ?? DEFAULT_RECENTS_STORAGE_NAMESPACE;
|
|
14
|
+
const limit = options.limit ?? DEFAULT_RECENTS_LIMIT;
|
|
15
|
+
const read = (scopeKey) => {
|
|
16
|
+
if (typeof window === 'undefined')
|
|
17
|
+
return [];
|
|
18
|
+
try {
|
|
19
|
+
const raw = window.localStorage.getItem(storageKey(namespace, scopeKey));
|
|
20
|
+
return raw ? parseRecentIds(raw) : [];
|
|
21
|
+
}
|
|
22
|
+
catch {
|
|
23
|
+
return [];
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
return {
|
|
27
|
+
read,
|
|
28
|
+
push(scopeKey, id) {
|
|
29
|
+
if (typeof window === 'undefined')
|
|
30
|
+
return;
|
|
31
|
+
try {
|
|
32
|
+
const next = pushRecentId(read(scopeKey), id, limit);
|
|
33
|
+
window.localStorage.setItem(storageKey(namespace, scopeKey), JSON.stringify(next));
|
|
34
|
+
}
|
|
35
|
+
catch {
|
|
36
|
+
// Quota exceeded or private mode — recents are best-effort, drop silently.
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
//# sourceMappingURL=dependencies.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dependencies.js","sourceRoot":"","sources":["../../../src/features/command-palette/dependencies.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,iCAAiC,EAAE,MAAM,gBAAgB,CAAC;AAC1F,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAG1D,SAAS,UAAU,CAAC,SAAiB,EAAE,QAAgB;IACrD,OAAO,GAAG,SAAS,IAAI,QAAQ,EAAE,CAAC;AACpC,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,yBAAyB,CACvC,UAAkD,EAAE;IAEpD,MAAM,SAAS,GAAG,OAAO,CAAC,SAAS,IAAI,iCAAiC,CAAC;IACzE,MAAM,KAAK,GAAG,OAAO,CAAC,KAAK,IAAI,qBAAqB,CAAC;IAErD,MAAM,IAAI,GAAG,CAAC,QAAgB,EAAY,EAAE;QAC1C,IAAI,OAAO,MAAM,KAAK,WAAW;YAAE,OAAO,EAAE,CAAC;QAC7C,IAAI,CAAC;YACH,MAAM,GAAG,GAAG,MAAM,CAAC,YAAY,CAAC,OAAO,CAAC,UAAU,CAAC,SAAS,EAAE,QAAQ,CAAC,CAAC,CAAC;YACzE,OAAO,GAAG,CAAC,CAAC,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QACxC,CAAC;QAAC,MAAM,CAAC;YACP,OAAO,EAAE,CAAC;QACZ,CAAC;IACH,CAAC,CAAC;IAEF,OAAO;QACL,IAAI;QACJ,IAAI,CAAC,QAAQ,EAAE,EAAE;YACf,IAAI,OAAO,MAAM,KAAK,WAAW;gBAAE,OAAO;YAC1C,IAAI,CAAC;gBACH,MAAM,IAAI,GAAG,YAAY,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,KAAK,CAAC,CAAC;gBACrD,MAAM,CAAC,YAAY,CAAC,OAAO,CAAC,UAAU,CAAC,SAAS,EAAE,QAAQ,CAAC,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC;YACrF,CAAC;YAAC,MAAM,CAAC;gBACP,2EAA2E;YAC7E,CAAC;QACH,CAAC;KACF,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export type { CommandPaletteItem, CommandPaletteResult } from './types.js';
|
|
2
|
+
export { MAX_RESULTS, DEFAULT_RECENTS_LIMIT, DEFAULT_RECENTS_STORAGE_NAMESPACE, DEFAULT_SCOPE_KEY } from './constants.js';
|
|
3
|
+
export { scoreItemMatch, rankItems, nextCursor, parseRecentIds, pushRecentId } from './rules.js';
|
|
4
|
+
export type { CommandPaletteRecentsPort } from './ports.js';
|
|
5
|
+
export { createLocalStorageRecents } from './dependencies.js';
|
|
6
|
+
export { useCommandPalette, useWiredCommandPalette, type UseCommandPaletteOptions, type CommandPaletteController, } from './react/hooks/useCommandPalette.js';
|
|
7
|
+
export { CommandPaletteRow, type CommandPaletteRowProps } from './react/components/CommandPaletteRow.js';
|
|
8
|
+
export { CommandPalette, type CommandPaletteProps } from './react/components/CommandPalette.js';
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/features/command-palette/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAC3E,OAAO,EAAE,WAAW,EAAE,qBAAqB,EAAE,iCAAiC,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAC1H,OAAO,EAAE,cAAc,EAAE,SAAS,EAAE,UAAU,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AACjG,YAAY,EAAE,yBAAyB,EAAE,MAAM,YAAY,CAAC;AAC5D,OAAO,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EACL,iBAAiB,EACjB,sBAAsB,EACtB,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,GAC9B,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAE,iBAAiB,EAAE,KAAK,sBAAsB,EAAE,MAAM,yCAAyC,CAAC;AACzG,OAAO,EAAE,cAAc,EAAE,KAAK,mBAAmB,EAAE,MAAM,sCAAsC,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { MAX_RESULTS, DEFAULT_RECENTS_LIMIT, DEFAULT_RECENTS_STORAGE_NAMESPACE, DEFAULT_SCOPE_KEY } from './constants.js';
|
|
2
|
+
export { scoreItemMatch, rankItems, nextCursor, parseRecentIds, pushRecentId } from './rules.js';
|
|
3
|
+
export { createLocalStorageRecents } from './dependencies.js';
|
|
4
|
+
export { useCommandPalette, useWiredCommandPalette, } from './react/hooks/useCommandPalette.js';
|
|
5
|
+
export { CommandPaletteRow } from './react/components/CommandPaletteRow.js';
|
|
6
|
+
export { CommandPalette } from './react/components/CommandPalette.js';
|
|
7
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/features/command-palette/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,qBAAqB,EAAE,iCAAiC,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAC1H,OAAO,EAAE,cAAc,EAAE,SAAS,EAAE,UAAU,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAEjG,OAAO,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EACL,iBAAiB,EACjB,sBAAsB,GAGvB,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAE,iBAAiB,EAA+B,MAAM,yCAAyC,CAAC;AACzG,OAAO,EAAE,cAAc,EAA4B,MAAM,sCAAsC,CAAC"}
|