@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,75 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
function simplePath(path) {
|
|
3
|
+
return (size) => {
|
|
4
|
+
const s = size * 0.76;
|
|
5
|
+
return (_jsx("svg", { width: s, height: s, viewBox: "0 0 24 24", fill: "currentColor", "aria-hidden": "true", children: _jsx("path", { d: path }) }));
|
|
6
|
+
};
|
|
7
|
+
}
|
|
8
|
+
function vscodeLogo(size) {
|
|
9
|
+
const s = size * 0.76;
|
|
10
|
+
return (_jsx("svg", { width: s, height: s, viewBox: "0 0 24 24", fill: "currentColor", "aria-hidden": "true", children: _jsx("path", { d: "M23.15 2.587 18.21.21a1.494 1.494 0 0 0-1.705.29l-9.46 8.63-4.12-3.128a.999.999 0 0 0-1.276.057L.327 7.261A1 1 0 0 0 .326 8.74L3.899 12 .326 15.26a1 1 0 0 0 .001 1.479L1.65 17.94a.999.999 0 0 0 1.276.057l4.12-3.128 9.46 8.63a1.492 1.492 0 0 0 1.704.29l4.942-2.377A1.5 1.5 0 0 0 24 20.06V3.939a1.5 1.5 0 0 0-.85-1.352Zm-5.146 14.861L10.826 12l7.178-5.448v10.896Z" }) }));
|
|
11
|
+
}
|
|
12
|
+
function finderLogo(size) {
|
|
13
|
+
const s = size * 0.78;
|
|
14
|
+
return (_jsxs("svg", { width: s, height: s, viewBox: "0 0 24 24", "aria-hidden": "true", children: [_jsx("rect", { width: "24", height: "24", rx: "5.4", fill: "#2f9bff" }), _jsx("path", { d: "M12 0h6.6A5.4 5.4 0 0 1 24 5.4v13.2a5.4 5.4 0 0 1-5.4 5.4H12Z", fill: "#77c2ff" }), _jsx("path", { d: "M11.6 2.2c-1.4 2.4-2.1 5.5-2.1 9.8s.7 7.4 2.1 9.8", fill: "none", stroke: "#0b4f93", strokeWidth: "1.2", strokeLinecap: "round" }), _jsx("path", { d: "M7.4 9.1h.1M16.4 9.1h.1", stroke: "#0b4f93", strokeWidth: "1.8", strokeLinecap: "round" }), _jsx("path", { d: "M7.4 15.2c2.9 1.6 6.3 1.6 9.2 0", fill: "none", stroke: "#0b4f93", strokeWidth: "1.2", strokeLinecap: "round" })] }));
|
|
15
|
+
}
|
|
16
|
+
function terminalLogo(size) {
|
|
17
|
+
const s = size * 0.76;
|
|
18
|
+
return (_jsxs("svg", { width: s, height: s, viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [_jsx("rect", { x: "1.5", y: "3", width: "21", height: "18", rx: "3", fill: "#111" }), _jsx("path", { d: "m6.2 8 4 4-4 4", stroke: "#9be37a", strokeWidth: "2.2", strokeLinecap: "round", strokeLinejoin: "round" }), _jsx("path", { d: "M12.8 16h5", stroke: "#9be37a", strokeWidth: "2.2", strokeLinecap: "round" })] }));
|
|
19
|
+
}
|
|
20
|
+
function folderLogo(size) {
|
|
21
|
+
const s = size * 0.76;
|
|
22
|
+
return (_jsxs("svg", { width: s, height: s, viewBox: "0 0 24 24", "aria-hidden": "true", children: [_jsx("path", { d: "M2.75 5.75A2.75 2.75 0 0 1 5.5 3h4.32c.74 0 1.43.36 1.86.96l1.1 1.54h5.72a2.75 2.75 0 0 1 2.75 2.75v9.5a2.75 2.75 0 0 1-2.75 2.75h-13A2.75 2.75 0 0 1 2.75 17.75z", fill: "currentColor" }), _jsx("path", { d: "M3.7 8.1h16.6", stroke: "#ffffff", strokeWidth: "1.25", strokeLinecap: "round", opacity: ".7" })] }));
|
|
23
|
+
}
|
|
24
|
+
function qoderLogo(size) {
|
|
25
|
+
const s = size * 0.76;
|
|
26
|
+
return (_jsxs("svg", { width: s, height: s, viewBox: "0 0 24 24", "aria-hidden": "true", children: [_jsx("rect", { width: "24", height: "24", rx: "5", fill: "#ffb15e" }), _jsx("path", { d: "M12 4 20 12l-8 8-8-8 8-8Z", fill: "#667085" }), _jsx("path", { d: "M12 8.2 15.8 12 12 15.8 8.2 12 12 8.2Z", fill: "#1f2937", opacity: ".2" })] }));
|
|
27
|
+
}
|
|
28
|
+
function antigravityLogo(size) {
|
|
29
|
+
const s = size * 0.78;
|
|
30
|
+
return (_jsxs("svg", { width: s, height: s, viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [_jsx("rect", { width: "24", height: "24", rx: "5", fill: "#f8fafd" }), _jsx("path", { d: "M6.5 15.4c1.5 2.4 5.1 3.2 8 1.8 2.9-1.4 4.2-4.5 2.7-6.9", stroke: "#4285f4", strokeWidth: "2.1", strokeLinecap: "round" }), _jsx("path", { d: "M17.5 8.6c-1.5-2.4-5.1-3.2-8-1.8-2.9 1.4-4.2 4.5-2.7 6.9", stroke: "#ea4335", strokeWidth: "2.1", strokeLinecap: "round" }), _jsx("path", { d: "M8.2 8.3 12 12l3.8 3.7", stroke: "#34a853", strokeWidth: "2.1", strokeLinecap: "round" }), _jsx("circle", { cx: "12", cy: "12", r: "2", fill: "#fbbc04" })] }));
|
|
31
|
+
}
|
|
32
|
+
const cursorPath = 'M11.503.131 1.891 5.678a.84.84 0 0 0-.42.726v11.188c0 .3.162.575.42.724l9.609 5.55a1 1 0 0 0 .998 0l9.61-5.55a.84.84 0 0 0 .42-.724V6.404a.84.84 0 0 0-.42-.726L12.497.131a1.01 1.01 0 0 0-.996 0M2.657 6.338h18.55c.263 0 .43.287.297.515L12.23 22.918c-.062.107-.229.064-.229-.06V12.335a.59.59 0 0 0-.295-.51l-9.11-5.257c-.109-.063-.064-.23.061-.23';
|
|
33
|
+
const zedPath = 'M2.25 1.5a.75.75 0 0 0-.75.75v16.5H0V2.25A2.25 2.25 0 0 1 2.25 0h20.095c1.002 0 1.504 1.212.795 1.92L10.764 14.298h3.486V12.75h1.5v1.922a1.125 1.125 0 0 1-1.125 1.125H9.264l-2.578 2.578h11.689V9h1.5v9.375a1.5 1.5 0 0 1-1.5 1.5H5.185L2.562 22.5H21.75a.75.75 0 0 0 .75-.75V5.25H24v16.5A2.25 2.25 0 0 1 21.75 24H1.655C.653 24 .151 22.788.86 22.08L13.19 9.75H9.75v1.5h-1.5V9.375A1.125 1.125 0 0 1 9.375 8.25h5.314l2.625-2.625H5.625V15h-1.5V5.625a1.5 1.5 0 0 1 1.5-1.5h13.19L21.438 1.5z';
|
|
34
|
+
const windsurfPath = 'M23.55 5.067c-1.2038-.002-2.1806.973-2.1806 2.1765v4.8676c0 .972-.8035 1.7594-1.7597 1.7594-.568 0-1.1352-.286-1.4718-.7659l-4.9713-7.1003c-.4125-.5896-1.0837-.941-1.8103-.941-1.1334 0-2.1533.9635-2.1533 2.153v4.8957c0 .972-.7969 1.7594-1.7596 1.7594-.57 0-1.1363-.286-1.4728-.7658L.4076 5.1598C.2822 4.9798 0 5.0688 0 5.2882v4.2452c0 .2147.0656.4228.1884.599l5.4748 7.8183c.3234.462.8006.8052 1.3509.9298 1.3771.313 2.6446-.747 2.6446-2.0977v-4.893c0-.972.7875-1.7593 1.7596-1.7593h.003a1.798 1.798 0 0 1 1.4718.7658l4.9723 7.0994c.4135.5905 1.05.941 1.8093.941 1.1587 0 2.1515-.9645 2.1515-2.153v-4.8948c0-.972.7875-1.7594 1.7596-1.7594h.194a.22.22 0 0 0 .2204-.2202v-4.622a.22.22 0 0 0-.2203-.2203Z';
|
|
35
|
+
const xcodePath = 'M19.06 5.3327c.4517-.1936.7744-.2581 1.097-.1936.5163.1291.7744.5163.968.7098.1936.3872.9034.7744 1.2261.8389.2581.0645.7098-.6453 1.0325-1.2906.3227-.5808.5163-1.3552.4517-1.5488-.0645-.1936-.968-.5808-1.1616-.5808-.1291 0-.3872.1291-.8389.0645-.4517-.0645-.9034-.5808-1.1616-.968-.4517-.6453-1.097-1.0325-1.6778-1.3552-.6453-.3227-1.3552-.5163-2.065-.6453-1.0325-.2581-2.065-.4517-3.0975-.3227-.5808.0645-1.2906.1291-1.8069.3227-.0645 0-.1936.1936-.0645.1936s.5808.0645.5808.0645-.5807.1292-.5807.2583c0 .1291.0645.1291.1291.1291.0645 0 1.4842-.0645 2.065 0 .6453.1291 1.3552.4517 1.8069 1.2261.7744 1.4197.4517 2.7749.2581 3.2266-.968 2.1295-8.6472 15.2294-9.0344 16.1328-.3873.9034-.5163 1.4842.5807 2.065s1.6778.3227 2.0005-.0645c.3872-.5163 7.0339-17.1654 9.2925-18.2624zm-3.6138 8.7117h1.5488c1.0325 0 1.2261.5163 1.2261.7098.0645.5163-.1936 1.1616-1.2261 1.1616h-.968l.7744 1.2906c.4517.7744.2581 1.1616 0 1.4197-.3872.3872-1.2261.3872-1.6778-.4517l-.9034-1.5488c-.6453 1.4197-1.2906 2.9684-2.065 4.7753h4.0009c1.9359 0 3.5492-1.6133 3.5492-3.5492V6.5588c-.0645-.1291-.1936-.0645-.2581 0-.3872.4517-1.4842 2.0004-4.001 7.4856zm-9.8087 8.0019h-.3227c-2.3231 0-4.1945-1.8714-4.1945-4.1945V7.0105c0-2.3231 1.8714-4.1945 4.1945-4.1945h9.3571c-.1936-.1936-.968-.5163-1.7423-.4517-.3227 0-.968.1291-1.3552-.1291-.3872-.3227-.3227-.5163-.9034-.5163H4.9277c-2.6458 0-4.7753 2.1295-4.7753 4.7753v11.7447c0 2.6458 2.1295 4.7753 4.4527 4.7108.6452 0 .8388-.5162 1.0324-.9034zM20.4152 6.9459v10.9058c0 2.3231-1.8714 4.1945-4.1945 4.1945H11.897s-.3872 1.0325.8389 1.0325h3.8719c2.6458 0 4.7753-2.1295 4.7753-4.7753V8.8173c.0646-.9034-.7098-1.4842-.9679-1.8714zm-18.5851.0646v10.8413c0 1.9359 1.6133 3.5492 3.5492 3.5492h.5808c0-.0645.7744-1.4197 2.4522-4.2591.1936-.3872.4517-.7744.7098-1.2261H4.4114c-.5808 0-.9034-.3872-.968-.7098-.1291-.5163.1936-1.1616.9034-1.1616h2.3877l3.033-5.2916s-.7098-1.2906-.9034-1.6133c-.2582-.4517-.1291-.9034.129-1.1615.3872-.3872 1.0325-.5808 1.6778.4517l.2581.3872.2581-.3872c.5808-.8389.968-.7744 1.2906-.7098.5163.1291.8389.7098.3872 1.6133L8.864 14.0444h1.3552c.4517-.7744.9034-1.5488 1.3552-2.3877-.0645-.3227-.1291-.7098-.0645-1.0325.0645-.5163.3227-.968.6453-1.3552l.3872.6453c1.2261-2.1295 2.1295-3.9364 2.3877-4.6463.1291-.3872.3227-1.1616.1291-1.8069H5.3794c-2.0005.0001-3.5493 1.6134-3.5493 3.5494zM4.605 17.7872c0-.0645.7744-1.4197.7744-1.4197 1.2261-.3227 1.8069.4517 1.8714.5163 0 0-.8389 1.4842-1.097 1.7423s-.5808.3227-.9034.2581c-.5164-.129-.839-.6453-.6454-1.097z';
|
|
36
|
+
const webstormPath = 'M0 0v24h24V0H0zm17.889 2.889c1.444 0 2.667.444 3.667 1.278l-1.111 1.667c-.889-.611-1.722-1-2.556-1s-1.278.389-1.278.889v.056c0 .667.444.889 2.111 1.333 2 .556 3.111 1.278 3.111 3v.056c0 2-1.5 3.111-3.611 3.111-1.5-.056-3-.611-4.167-1.667l1.278-1.556c.889.722 1.833 1.222 2.944 1.222.889 0 1.389-.333 1.389-.944v-.056c0-.556-.333-.833-2-1.278-2-.5-3.222-1.056-3.222-3.056v-.056c0-1.833 1.444-3 3.444-3zm-16.111.222h2.278l1.5 5.778 1.722-5.778h1.667l1.667 5.778 1.5-5.778h2.333l-2.833 9.944H9.723L8.112 7.277l-1.667 5.778H4.612L1.779 3.111zm.5 16.389h9V21h-9v-1.5z';
|
|
37
|
+
const ideaPath = 'M0 0v24h24V0zm3.723 3.111h5v1.834h-1.39v6.277h1.39v1.834h-5v-1.834h1.444V4.945H3.723zm11.055 0H17v6.5c0 .612-.055 1.111-.222 1.556-.167.444-.39.777-.723 1.11-.277.279-.666.557-1.11.668a3.933 3.933 0 0 1-1.445.278c-.778 0-1.444-.167-1.944-.445a4.81 4.81 0 0 1-1.279-1.056l1.39-1.555c.277.334.555.555.833.722.277.167.611.278.945.278.389 0 .721-.111 1-.389.221-.278.333-.667.333-1.278zM2.222 19.5h9V21h-9z';
|
|
38
|
+
const warpPath = 'M12.035 2.723h9.253A2.712 2.712 0 0 1 24 5.435v10.529a2.712 2.712 0 0 1-2.712 2.713H8.047Zm-1.681 2.6L6.766 19.677h5.598l-.399 1.6H2.712A2.712 2.712 0 0 1 0 18.565V8.036a2.712 2.712 0 0 1 2.712-2.712Z';
|
|
39
|
+
const EDITORS = {
|
|
40
|
+
vscode: { bg: '#007ACC', fg: '#ffffff', glyph: vscodeLogo },
|
|
41
|
+
cursor: { bg: '#0a0a0a', fg: '#ffffff', glyph: simplePath(cursorPath) },
|
|
42
|
+
windsurf: { bg: '#f7fffb', fg: '#0b100f', glyph: simplePath(windsurfPath) },
|
|
43
|
+
zed: { bg: '#1348DC', fg: '#ffffff', glyph: simplePath(zedPath) },
|
|
44
|
+
qoder: { bg: '#ffb15e', fg: '#1f2937', glyph: qoderLogo },
|
|
45
|
+
antigravity: { bg: '#ffffff', fg: '#1f2937', glyph: antigravityLogo },
|
|
46
|
+
webstorm: { bg: '#000000', fg: '#ffffff', glyph: simplePath(webstormPath) },
|
|
47
|
+
idea: { bg: '#000000', fg: '#ffffff', glyph: simplePath(ideaPath) },
|
|
48
|
+
xcode: { bg: '#147EFB', fg: '#ffffff', glyph: simplePath(xcodePath) },
|
|
49
|
+
finder: { bg: '#3097f6', fg: '#ffffff', glyph: finderLogo },
|
|
50
|
+
explorer: { bg: '#fbbf24', fg: '#1a1a1a', glyph: folderLogo },
|
|
51
|
+
'file-manager': { bg: '#6b7280', fg: '#ffffff', glyph: folderLogo },
|
|
52
|
+
terminal: { bg: '#111111', fg: '#9be37a', glyph: terminalLogo },
|
|
53
|
+
warp: { bg: '#01A4FF', fg: '#ffffff', glyph: simplePath(warpPath) },
|
|
54
|
+
};
|
|
55
|
+
/**
|
|
56
|
+
* Renders a host-supplied editor/target's brand mark by string key, with a
|
|
57
|
+
* graceful neutral folder-tile fallback for unregistered ids. Same
|
|
58
|
+
* lookup-table shape as `Icon`/`AgentIcon`/`RemixIcon`, but keyed on inline
|
|
59
|
+
* SVG glyphs + a bg/fg color pair instead of an external asset or webfont
|
|
60
|
+
* glyph — every mark here is drawn inline so the tile's background/foreground
|
|
61
|
+
* colors can be set per-brand without extra image requests.
|
|
62
|
+
*/
|
|
63
|
+
export function EditorIcon({ editorId, size = 16 }) {
|
|
64
|
+
const visual = EDITORS[editorId];
|
|
65
|
+
if (!visual) {
|
|
66
|
+
return (_jsx("span", { className: "editor-icon", style: {
|
|
67
|
+
width: size,
|
|
68
|
+
height: size,
|
|
69
|
+
background: '#9ca3af',
|
|
70
|
+
color: '#ffffff',
|
|
71
|
+
}, children: _jsx("svg", { width: size * 0.6, height: size * 0.6, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: _jsx("path", { d: "M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2z" }) }) }));
|
|
72
|
+
}
|
|
73
|
+
return (_jsx("span", { className: "editor-icon", style: { width: size, height: size, background: visual.bg, color: visual.fg }, children: visual.glyph(size) }));
|
|
74
|
+
}
|
|
75
|
+
//# sourceMappingURL=EditorIcon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EditorIcon.js","sourceRoot":"","sources":["../../../src/react/components/EditorIcon.tsx"],"names":[],"mappings":";AAcA,SAAS,UAAU,CAAC,IAAY;IAC9B,OAAO,CAAC,IAAY,EAAE,EAAE;QACtB,MAAM,CAAC,GAAG,IAAI,GAAG,IAAI,CAAC;QACtB,OAAO,CACL,cAAK,K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AAM,CAAC,KAAK,CAAC,IAAI,CAAC,GACd,CACR,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Injectable bridge for a native (e.g. Electron) shell that can save the
|
|
3
|
+
* exported archive via a native save dialog. When not supplied, the button
|
|
4
|
+
* falls back to a browser download via `exportPath`.
|
|
5
|
+
*/
|
|
6
|
+
export interface DesktopExportBridge {
|
|
7
|
+
exportDiagnostics(): Promise<{
|
|
8
|
+
ok: true;
|
|
9
|
+
path: string;
|
|
10
|
+
} | {
|
|
11
|
+
ok: false;
|
|
12
|
+
cancelled: true;
|
|
13
|
+
} | {
|
|
14
|
+
ok: false;
|
|
15
|
+
cancelled: false;
|
|
16
|
+
message: string;
|
|
17
|
+
}>;
|
|
18
|
+
}
|
|
19
|
+
export declare const STATUS_CLEAR_MS = 6000;
|
|
20
|
+
export type ExportStatus = {
|
|
21
|
+
kind: 'idle';
|
|
22
|
+
} | {
|
|
23
|
+
kind: 'busy';
|
|
24
|
+
} | {
|
|
25
|
+
kind: 'success';
|
|
26
|
+
message: string;
|
|
27
|
+
} | {
|
|
28
|
+
kind: 'error';
|
|
29
|
+
message: string;
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* Extract a filename from a `Content-Disposition` header, understanding the
|
|
33
|
+
* RFC 5987 `filename*=UTF-8''…`, the quoted `filename="…"`, and the bare
|
|
34
|
+
* `filename=…` forms. Returns null when the header is absent or carries no
|
|
35
|
+
* filename token. The non-null assertion on the alternation is sound: each of
|
|
36
|
+
* the three regex branches captures a non-empty group, so a successful match
|
|
37
|
+
* always yields a defined `raw`.
|
|
38
|
+
*/
|
|
39
|
+
export declare function fileNameFromHeader(header: string | null): string | null;
|
|
40
|
+
/** Timestamped `<prefix>-<iso>.zip` name for the browser-download fallback. */
|
|
41
|
+
export declare function fallbackFilename(prefix: string): string;
|
|
42
|
+
/**
|
|
43
|
+
* Fetch the archive from a same-origin HTTP endpoint and trigger a browser
|
|
44
|
+
* download via a transient anchor. Resolves with the saved filename; throws an
|
|
45
|
+
* Error (carrying the server message when available) on a non-OK response.
|
|
46
|
+
*/
|
|
47
|
+
export declare function exportViaHttp(exportPath: string, filenamePrefix: string): Promise<{
|
|
48
|
+
filename: string;
|
|
49
|
+
}>;
|
|
50
|
+
export type ExportLabels = Partial<{
|
|
51
|
+
button: string;
|
|
52
|
+
exporting: string;
|
|
53
|
+
success: (path: string) => string;
|
|
54
|
+
failed: (message: string) => string;
|
|
55
|
+
}>;
|
|
56
|
+
export interface ExportDiagnosticsButtonProps {
|
|
57
|
+
/** HTTP endpoint used when no `desktopBridge` is supplied. */
|
|
58
|
+
exportPath?: string;
|
|
59
|
+
/** Filename prefix for the browser-download fallback. */
|
|
60
|
+
filenamePrefix?: string;
|
|
61
|
+
/** Native-shell export bridge (e.g. Electron's contextBridge API). When
|
|
62
|
+
* present, used instead of the HTTP fallback. */
|
|
63
|
+
desktopBridge?: DesktopExportBridge;
|
|
64
|
+
labels?: ExportLabels;
|
|
65
|
+
}
|
|
66
|
+
export declare const DEFAULT_EXPORT_LABELS: {
|
|
67
|
+
button: string;
|
|
68
|
+
exporting: string;
|
|
69
|
+
success: (path: string) => string;
|
|
70
|
+
failed: (message: string) => string;
|
|
71
|
+
};
|
|
72
|
+
export type ResolvedExportLabels = typeof DEFAULT_EXPORT_LABELS;
|
|
73
|
+
/** Merge host label overrides onto the built-in English defaults. */
|
|
74
|
+
export declare function resolveExportLabels(labels?: ExportLabels): ResolvedExportLabels;
|
|
75
|
+
export interface UseAutoClearStatusResult {
|
|
76
|
+
status: ExportStatus;
|
|
77
|
+
setStatus: (next: ExportStatus) => void;
|
|
78
|
+
/** (Re)arm a timer that returns the status to `idle` after `clearMs`. */
|
|
79
|
+
scheduleClear: () => void;
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Owns the export status plus a single self-cancelling "clear back to idle"
|
|
83
|
+
* timer. Re-arming replaces any pending timer, and the timer is cancelled on
|
|
84
|
+
* unmount so it never fires against an unmounted tree. Exported for isolated
|
|
85
|
+
* testing (drive it with fake timers).
|
|
86
|
+
*/
|
|
87
|
+
export declare function useAutoClearStatus(clearMs?: number): UseAutoClearStatusResult;
|
|
88
|
+
export interface UseExportDiagnosticsResult {
|
|
89
|
+
status: ExportStatus;
|
|
90
|
+
busy: boolean;
|
|
91
|
+
labels: ResolvedExportLabels;
|
|
92
|
+
/** Run an export (native bridge if present, else HTTP). No-ops while busy. */
|
|
93
|
+
runExport: () => Promise<void>;
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* All of the button's behavior — status transitions, the native/HTTP branch,
|
|
97
|
+
* and the busy re-entrancy guard — with no rendering. The `if (busy) return`
|
|
98
|
+
* guard is unreachable through the rendered button (it's `disabled` while
|
|
99
|
+
* busy) but reachable by calling `runExport` twice through this hook.
|
|
100
|
+
* {@link ExportDiagnosticsButton} is the dumb consumer.
|
|
101
|
+
*/
|
|
102
|
+
export declare function useExportDiagnostics(props: ExportDiagnosticsButtonProps): UseExportDiagnosticsResult;
|
|
103
|
+
/**
|
|
104
|
+
* Renders a labeled button with a short status line below it. Works with
|
|
105
|
+
* either a native shell (via `desktopBridge`) or a browser download
|
|
106
|
+
* (via `exportPath`, a same-origin HTTP endpoint that returns the archive).
|
|
107
|
+
* All logic lives in {@link useExportDiagnostics}; this is a dumb render.
|
|
108
|
+
*/
|
|
109
|
+
export declare function ExportDiagnosticsButton(props: ExportDiagnosticsButtonProps): import("react").JSX.Element;
|
|
110
|
+
//# sourceMappingURL=ExportDiagnosticsButton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ExportDiagnosticsButton.d.ts","sourceRoot":"","sources":["../../../src/react/components/ExportDiagnosticsButton.tsx"],"names":[],"mappings":"AAGA;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAClC,iBAAiB,IAAI,OAAO,CACxB;QAAE,EAAE,EAAE,IAAI,CAAC;QAAC,IAAI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ACkD;IAClD,aAAa,CAAC,EAAE,mBAAmB,CAAC;IACpC,MAAM,CAAC,EAAE,YAAY,CAAC;CACvB;AAED,eAAO,MAAM,qBAAqB;;;oBAGhB,MAAM;sBACJ,MAAM;CACzB,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG,OAAO,qBAAqB,CAAC;AAEhE,qEAAqE;AACrE,wBAAgB,mBAAmB,CAAC,MAAM,CAAC,EAAE,YAAY,GAAG,oBAAoB,CAE/E;AAED,MAAM,WAAW,wBAAwB;IACvC,MAAM,EAAE,YAAY,CAAC;IACrB,SAAS,EAAE,CAAC,IAAI,EAAE,YAAY,KAAK,IAAI,CAAC;IACxC,yEAAyE;IACzE,aAAa,EAAE,MAAM,IAAI,CAAC;CAC3B;AAED;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,OAAO,GAAE,MAAwB,GAAG,wBAAwB,CAc9F;AAED,MAAM,WAAW,0BAA0B;IACzC,MAAM,EAAE,YAAY,CAAC;IACrB,IAAI,EAAE,OAAO,CAAC;IACd,MAAM,EAAE,oBAAoB,CAAC;IAC7B,8EAA8E;IAC9E,SAAS,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;CAChC;AAED;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,4BAA4B,GAAG,0BAA0B,CAwCpG;AAED;;;;;GAKG;AACH,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,4BAA4B,+BAqB1E"}
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { useCallback, useEffect, useRef, useState } from 'react';
|
|
3
|
+
import { Icon } from './Icon';
|
|
4
|
+
export const STATUS_CLEAR_MS = 6000;
|
|
5
|
+
/**
|
|
6
|
+
* Extract a filename from a `Content-Disposition` header, understanding the
|
|
7
|
+
* RFC 5987 `filename*=UTF-8''…`, the quoted `filename="…"`, and the bare
|
|
8
|
+
* `filename=…` forms. Returns null when the header is absent or carries no
|
|
9
|
+
* filename token. The non-null assertion on the alternation is sound: each of
|
|
10
|
+
* the three regex branches captures a non-empty group, so a successful match
|
|
11
|
+
* always yields a defined `raw`.
|
|
12
|
+
*/
|
|
13
|
+
export function fileNameFromHeader(header) {
|
|
14
|
+
if (header == null)
|
|
15
|
+
return null;
|
|
16
|
+
const match = /filename\*=UTF-8''([^;\n]+)|filename="([^"]+)"|filename=([^;\n]+)/i.exec(header);
|
|
17
|
+
if (match == null)
|
|
18
|
+
return null;
|
|
19
|
+
const raw = (match[1] ?? match[2] ?? match[3]);
|
|
20
|
+
try {
|
|
21
|
+
return decodeURIComponent(raw.trim());
|
|
22
|
+
}
|
|
23
|
+
catch {
|
|
24
|
+
return raw.trim();
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
/** Timestamped `<prefix>-<iso>.zip` name for the browser-download fallback. */
|
|
28
|
+
export function fallbackFilename(prefix) {
|
|
29
|
+
const stamp = new Date().toISOString().replace(/[:.]/g, '-');
|
|
30
|
+
return `${prefix}-${stamp}.zip`;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Fetch the archive from a same-origin HTTP endpoint and trigger a browser
|
|
34
|
+
* download via a transient anchor. Resolves with the saved filename; throws an
|
|
35
|
+
* Error (carrying the server message when available) on a non-OK response.
|
|
36
|
+
*/
|
|
37
|
+
export async function exportViaHttp(exportPath, filenamePrefix) {
|
|
38
|
+
const res = await fetch(exportPath, { credentials: 'same-origin' });
|
|
39
|
+
if (!res.ok) {
|
|
40
|
+
let message = `${res.status} ${res.statusText}`;
|
|
41
|
+
try {
|
|
42
|
+
const body = await res.json();
|
|
43
|
+
if (body && typeof body.message === 'string')
|
|
44
|
+
message = body.message;
|
|
45
|
+
}
|
|
46
|
+
catch {
|
|
47
|
+
// ignore body parse errors
|
|
48
|
+
}
|
|
49
|
+
throw new Error(message);
|
|
50
|
+
}
|
|
51
|
+
const blob = await res.blob();
|
|
52
|
+
const filename = fileNameFromHeader(res.headers.get('content-disposition')) ?? fallbackFilename(filenamePrefix);
|
|
53
|
+
const url = URL.createObjectURL(blob);
|
|
54
|
+
try {
|
|
55
|
+
const link = document.createElement('a');
|
|
56
|
+
link.href = url;
|
|
57
|
+
link.download = filename;
|
|
58
|
+
document.body.appendChild(link);
|
|
59
|
+
link.click();
|
|
60
|
+
link.remove();
|
|
61
|
+
}
|
|
62
|
+
finally {
|
|
63
|
+
URL.revokeObjectURL(url);
|
|
64
|
+
}
|
|
65
|
+
return { filename };
|
|
66
|
+
}
|
|
67
|
+
export const DEFAULT_EXPORT_LABELS = {
|
|
68
|
+
button: 'Export diagnostics',
|
|
69
|
+
exporting: 'Exporting…',
|
|
70
|
+
success: (path) => `Exported to ${path}`,
|
|
71
|
+
failed: (message) => `Export failed: ${message}`,
|
|
72
|
+
};
|
|
73
|
+
/** Merge host label overrides onto the built-in English defaults. */
|
|
74
|
+
export function resolveExportLabels(labels) {
|
|
75
|
+
return { ...DEFAULT_EXPORT_LABELS, ...labels };
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* Owns the export status plus a single self-cancelling "clear back to idle"
|
|
79
|
+
* timer. Re-arming replaces any pending timer, and the timer is cancelled on
|
|
80
|
+
* unmount so it never fires against an unmounted tree. Exported for isolated
|
|
81
|
+
* testing (drive it with fake timers).
|
|
82
|
+
*/
|
|
83
|
+
export function useAutoClearStatus(clearMs = STATUS_CLEAR_MS) {
|
|
84
|
+
const [status, setStatus] = useState({ kind: 'idle' });
|
|
85
|
+
const clearTimer = useRef(null);
|
|
86
|
+
useEffect(() => () => {
|
|
87
|
+
if (clearTimer.current != null)
|
|
88
|
+
clearTimeout(clearTimer.current);
|
|
89
|
+
}, []);
|
|
90
|
+
const scheduleClear = useCallback(() => {
|
|
91
|
+
if (clearTimer.current != null)
|
|
92
|
+
clearTimeout(clearTimer.current);
|
|
93
|
+
clearTimer.current = setTimeout(() => setStatus({ kind: 'idle' }), clearMs);
|
|
94
|
+
}, [clearMs]);
|
|
95
|
+
return { status, setStatus, scheduleClear };
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* All of the button's behavior — status transitions, the native/HTTP branch,
|
|
99
|
+
* and the busy re-entrancy guard — with no rendering. The `if (busy) return`
|
|
100
|
+
* guard is unreachable through the rendered button (it's `disabled` while
|
|
101
|
+
* busy) but reachable by calling `runExport` twice through this hook.
|
|
102
|
+
* {@link ExportDiagnosticsButton} is the dumb consumer.
|
|
103
|
+
*/
|
|
104
|
+
export function useExportDiagnostics(props) {
|
|
105
|
+
const { exportPath = '/api/diagnostics/export', filenamePrefix = 'diagnostics', desktopBridge, labels, } = props;
|
|
106
|
+
const t = resolveExportLabels(labels);
|
|
107
|
+
const { status, setStatus, scheduleClear } = useAutoClearStatus();
|
|
108
|
+
const runExport = useCallback(async () => {
|
|
109
|
+
if (status.kind === 'busy')
|
|
110
|
+
return;
|
|
111
|
+
setStatus({ kind: 'busy' });
|
|
112
|
+
try {
|
|
113
|
+
if (desktopBridge != null) {
|
|
114
|
+
const result = await desktopBridge.exportDiagnostics();
|
|
115
|
+
if (result.ok) {
|
|
116
|
+
setStatus({ kind: 'success', message: t.success(result.path) });
|
|
117
|
+
scheduleClear();
|
|
118
|
+
return;
|
|
119
|
+
}
|
|
120
|
+
if (result.cancelled) {
|
|
121
|
+
setStatus({ kind: 'idle' });
|
|
122
|
+
return;
|
|
123
|
+
}
|
|
124
|
+
setStatus({ kind: 'error', message: t.failed(result.message) });
|
|
125
|
+
scheduleClear();
|
|
126
|
+
return;
|
|
127
|
+
}
|
|
128
|
+
const { filename } = await exportViaHttp(exportPath, filenamePrefix);
|
|
129
|
+
setStatus({ kind: 'success', message: t.success(filename) });
|
|
130
|
+
scheduleClear();
|
|
131
|
+
}
|
|
132
|
+
catch (error) {
|
|
133
|
+
const message = error instanceof Error ? error.message : String(error);
|
|
134
|
+
setStatus({ kind: 'error', message: t.failed(message) });
|
|
135
|
+
scheduleClear();
|
|
136
|
+
}
|
|
137
|
+
}, [desktopBridge, exportPath, filenamePrefix, scheduleClear, setStatus, status.kind, t]);
|
|
138
|
+
return { status, busy: status.kind === 'busy', labels: t, runExport };
|
|
139
|
+
}
|
|
140
|
+
/**
|
|
141
|
+
* Renders a labeled button with a short status line below it. Works with
|
|
142
|
+
* either a native shell (via `desktopBridge`) or a browser download
|
|
143
|
+
* (via `exportPath`, a same-origin HTTP endpoint that returns the archive).
|
|
144
|
+
* All logic lives in {@link useExportDiagnostics}; this is a dumb render.
|
|
145
|
+
*/
|
|
146
|
+
export function ExportDiagnosticsButton(props) {
|
|
147
|
+
const { status, busy, labels: t, runExport } = useExportDiagnostics(props);
|
|
148
|
+
return (_jsxs("div", { className: "diagnostics-export-row", children: [_jsxs("button", { type: "button", className: "ghost diagnostics-export-button", onClick: () => void runExport(), disabled: busy, "data-status": status.kind, children: [_jsx(Icon, { name: "download", size: 14 }), _jsx("span", { children: busy ? t.exporting : t.button })] }), status.kind === 'success' || status.kind === 'error' ? (_jsx("p", { className: `diagnostics-export-status ${status.kind}`, role: "status", children: status.message })) : null] }));
|
|
149
|
+
}
|
|
150
|
+
//# sourceMappingURL=ExportDiagnosticsButton.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ExportDiagnosticsButton.js","sourceRoot":"","sources":["../../../src/react/components/ExportDiagnosticsButton.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjE,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAe9B,MAAM,CAAC,MAAM,eAAe,GAAG,IAAI,CAAC;AAQpC;;;;;;;GAOG;AACH,MAAM,UAAU,kBAAkB,CAAC,MAAqB;IACtD,IAAI,MAAM,IAAI,IAAI;QAAE,OAAO,IAAI,CAAC;IAChC,MAAM,KAAK,GAAG,oEAAoE,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IAChG,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SAAS,EAAE,CAAC;AACxE,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,uBAAuB,CAAC,KAAmC;IACzE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC,EAAE,SAAS,EAAE,GAAG,oBAAoB,CAAC,KAAK,CAAC,CAAC;IAC3E,OAAO,CACL,eAAK,SAAS,EAAC,wBAAwB,aACrC,kBACE,IAAI,EAAC,QAAQ,EACb,SAAS,EAAC,iCAAiC,EAC3C,OAAO,EAAE,GAAG,EAAE,CAAC,KAAK,SAAS,EAAE,EAC/B,QAAQ,EAAE,IAAI,iBACD,MAAM,CAAC,IAAI,aAExB,KAAC,IAAI,IAAC,IAAI,EAAC,UAAU,EAAC,IAAI,EAAE,EAAE,GAAI,EAClC,yBAAO,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,GAAQ,IACrC,EACR,MAAM,CAAC,IAAI,KAAK,SAAS,IAAI,MAAM,CAAC,IAAI,KAAK,OAAO,CAAC,CAAC,CAAC,CACtD,YAAG,SAAS,EAAE,6BAA6B,MAAM,CAAC,IAAI,EAAE,EAAE,IAAI,EAAC,QAAQ,YACpE,MAAM,CAAC,OAAO,GACb,CACL,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface FileImportPanelProps {
|
|
2
|
+
title: string;
|
|
3
|
+
body: string;
|
|
4
|
+
accept?: string;
|
|
5
|
+
working: boolean;
|
|
6
|
+
fileLabel: string;
|
|
7
|
+
/** Renders a folder picker (`webkitdirectory`) instead of a single-file picker. */
|
|
8
|
+
folder?: boolean;
|
|
9
|
+
canSubmit: boolean;
|
|
10
|
+
onChange: (files: File[]) => void;
|
|
11
|
+
onImport: () => void;
|
|
12
|
+
className?: string;
|
|
13
|
+
}
|
|
14
|
+
export declare function FileImportPanel({ title, body, accept, working, fileLabel, folder, canSubmit, onChange, onImport, className, }: FileImportPanelProps): import("react").JSX.Element;
|
|
15
|
+
//# sourceMappingURL=FileImportPanel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FileImportPanel.d.ts","sourceRoot":"","sources":["../../../src/react/components/FileImportPanel.tsx"],"names":[],"mappings":"AAUA,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,mFAAmF;IACnF,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,KAAK,IAAI,CAAC;IAClC,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,eAAe,CAAC,EAC9B,KAAK,EACL,IAAI,EACJ,MAAM,EACN,OAAO,EACP,SAAS,EACT,MAAM,EACN,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,SAAS,GACV,EAAE,oBAAoB,+BAiCtB"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
// File/folder picker card with a title, body copy, a native file input, and
|
|
3
|
+
// an import button that flips to a working/busy label. Origin:
|
|
4
|
+
// `FileImportPanel` in `PluginsView.tsx` (OD) — the origin
|
|
5
|
+
// hardcoded its "Import"/"Importing…" button copy directly in JSX (title/
|
|
6
|
+
// body/fileLabel were already caller-supplied props); that copy now goes
|
|
7
|
+
// through `useT()` per this package's i18n policy. See
|
|
8
|
+
// packages/ui/source-map.md.
|
|
9
|
+
import { useT } from '../../features/i18n/index.js';
|
|
10
|
+
export function FileImportPanel({ title, body, accept, working, fileLabel, folder, canSubmit, onChange, onImport, className, }) {
|
|
11
|
+
const t = useT();
|
|
12
|
+
const directoryProps = folder
|
|
13
|
+
? { webkitdirectory: '', directory: '' }
|
|
14
|
+
: {};
|
|
15
|
+
return (_jsxs("section", { className: ['plugins-view__install-card', className].filter(Boolean).join(' '), children: [_jsxs("div", { children: [_jsx("h3", { children: title }), _jsx("p", { children: body })] }), _jsxs("label", { className: "plugins-import-modal__file", children: [_jsx("input", { type: "file", "data-testid": folder ? 'plugins-folder-input' : 'plugins-zip-input', ...(accept ? { accept } : {}), ...directoryProps, multiple: folder, disabled: working, onChange: (event) => onChange(Array.from(event.currentTarget.files ?? [])) }), _jsx("span", { children: fileLabel })] }), _jsx("button", { type: "button", className: "plugins-view__primary", onClick: onImport, disabled: working || !canSubmit, children: working ? t('Importing…') : t('Import') })] }));
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=FileImportPanel.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FileImportPanel.js","sourceRoot":"","sources":["../../../src/react/components/FileImportPanel.tsx"],"names":[],"mappings":";AAAA,4EAA4E;AAC5E,+DAA+D;AAC/D,2DAA2D;AAC3D,0EAA0E;AAC1E,yEAAyE;AACzE,uDAAuD;AACvD,6BAA6B;AAE7B,OAAO,EAAE,IAAI,EAAE,MAAM,8BAA8B,CAAC;AAgBpD,MAAM,UAAU,eAAe,CAAC,EAC9B,KAAK,EACL,IAAI,EACJ,MAAM,EACN,OAAO,EACP,SAAS,EACT,MAAM,EACN,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,SAAS,GACY;IACrB,MAAM,CAAC,GAAG,IAAI,EAAE,CAAC;IACjB,MAAM,cAAc,GAAG,MAAM;QAC3B,CAAC,CAAE,EAAE,eAAe,EAAE,EAAE,EAAE,SAAS,EAAE,EAAE,EAA6B;QACpE,CAAC,CAAC,EAAE,CAAC;IACP,OAAO,CACL,mBAAS,SAAS,EAAE,CAAC,4BAA4B,EAAE,SAAS,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,aACrF,0BACE,uBAAK,KAAK,GAAM,EAChB,sBAAI,IAAI,GAAK,IACT,EACN,iBAAO,SAAS,EAAC,4BAA4B,aAC3C,gBACE,IAAI,EAAC,MAAM,iBACE,MAAM,CAAC,CAAC,CAAC,sBAAsB,CAAC,CAAC,CAAC,mBAAmB,KAC9D,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,KAC1B,cAAc,EAClB,QAAQ,EAAE,MAAM,EAChB,QAAQ,EAAE,OAAO,EACjB,QAAQ,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,aAAa,CAAC,KAAK,IAAI,EAAE,CAAC,CAAC,GAC1E,EACF,yBAAO,SAAS,GAAQ,IAClB,EACR,iBACE,IAAI,EAAC,QAAQ,EACb,SAAS,EAAC,uBAAuB,EACjC,OAAO,EAAE,QAAQ,EACjB,QAAQ,EAAE,OAAO,IAAI,CAAC,SAAS,YAE9B,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,GACjC,IACD,CACX,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { type MutableRefObject } from 'react';
|
|
2
|
+
import { type IconName } from './Icon';
|
|
3
|
+
export interface HeaderMenuAction {
|
|
4
|
+
id: string;
|
|
5
|
+
label: string;
|
|
6
|
+
icon: IconName;
|
|
7
|
+
onClick: () => void;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
loading?: boolean;
|
|
10
|
+
/** Toggles render with checkbox semantics + a trailing check when active. */
|
|
11
|
+
active?: boolean;
|
|
12
|
+
}
|
|
13
|
+
export interface HeaderActionsMenuProps {
|
|
14
|
+
/** Each inner array renders as one visually-divided group; empty groups are skipped. */
|
|
15
|
+
groups: HeaderMenuAction[][];
|
|
16
|
+
/** Accessible label for the trigger button and the popover menu. */
|
|
17
|
+
label: string;
|
|
18
|
+
/** Custom hook override for dependency injection / testing. */
|
|
19
|
+
useHeaderActionsMenu?: typeof useHeaderActionsMenu;
|
|
20
|
+
}
|
|
21
|
+
/** Drops empty groups so only groups with at least one action render. */
|
|
22
|
+
export declare function filterVisibleActionGroups(groups: HeaderMenuAction[][]): HeaderMenuAction[][];
|
|
23
|
+
/** The single key that dismisses the menu. */
|
|
24
|
+
export declare function isHeaderMenuDismissKey(key: string): boolean;
|
|
25
|
+
/**
|
|
26
|
+
* Whether a pointer event landed outside the menu (and should therefore close
|
|
27
|
+
* it). A missing container never counts as "outside".
|
|
28
|
+
*/
|
|
29
|
+
export declare function isOutsideHeaderMenu(container: HTMLElement | null, target: EventTarget | null): boolean;
|
|
30
|
+
/** ARIA role: plain menuitem, or checkbox semantics when the item is a toggle. */
|
|
31
|
+
export declare function headerMenuItemRole(active: boolean | undefined): 'menuitem' | 'menuitemcheckbox';
|
|
32
|
+
/** `aria-checked` value: only meaningful (and only set) for toggle items. */
|
|
33
|
+
export declare function headerMenuItemAriaChecked(active: boolean | undefined): boolean | undefined;
|
|
34
|
+
/** The icon to render — the spinner while loading, otherwise the item's icon. */
|
|
35
|
+
export declare function headerMenuItemIcon(item: HeaderMenuAction): IconName;
|
|
36
|
+
/** Disabled while explicitly disabled or loading. */
|
|
37
|
+
export declare function headerMenuItemDisabled(item: HeaderMenuAction): boolean;
|
|
38
|
+
/** `aria-busy` value: `true` while loading, otherwise unset. */
|
|
39
|
+
export declare function headerMenuItemBusy(item: HeaderMenuAction): true | undefined;
|
|
40
|
+
export interface HeaderActionsMenuDisclosure {
|
|
41
|
+
open: boolean;
|
|
42
|
+
toggle: () => void;
|
|
43
|
+
close: () => void;
|
|
44
|
+
}
|
|
45
|
+
/** Open/close state for the popover with stable toggle/close callbacks. */
|
|
46
|
+
export declare function useHeaderActionsMenuDisclosure(): HeaderActionsMenuDisclosure;
|
|
47
|
+
/** Memoized list of non-empty groups. */
|
|
48
|
+
export declare function useVisibleActionGroups(groups: HeaderMenuAction[][]): HeaderMenuAction[][];
|
|
49
|
+
/**
|
|
50
|
+
* While `open`, closes the menu on an outside `mousedown` or an Escape keydown.
|
|
51
|
+
* Listeners are only attached while open and torn down on close/unmount.
|
|
52
|
+
*/
|
|
53
|
+
export declare function useHeaderActionsMenuDismiss(params: {
|
|
54
|
+
open: boolean;
|
|
55
|
+
onDismiss: () => void;
|
|
56
|
+
containerRef: MutableRefObject<HTMLElement | null>;
|
|
57
|
+
}): void;
|
|
58
|
+
export interface UseHeaderActionsMenuResult {
|
|
59
|
+
open: boolean;
|
|
60
|
+
toggle: () => void;
|
|
61
|
+
close: () => void;
|
|
62
|
+
containerRef: MutableRefObject<HTMLDivElement | null>;
|
|
63
|
+
visibleGroups: HeaderMenuAction[][];
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Composes the menu's whole behavior — disclosure, the visible-group filter,
|
|
67
|
+
* and the outside/Escape dismissal — so {@link HeaderActionsMenu} is a dumb
|
|
68
|
+
* render.
|
|
69
|
+
*/
|
|
70
|
+
export declare function useHeaderActionsMenu(groups: HeaderMenuAction[][]): UseHeaderActionsMenuResult;
|
|
71
|
+
export declare function HeaderActionsMenu({ groups, label, useHeaderActionsMenu: useHeaderActionsMenuHook, }: HeaderActionsMenuProps): import("react").JSX.Element | null;
|
|
72
|
+
//# sourceMappingURL=HeaderActionsMenu.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HeaderActionsMenu.d.ts","sourceRoot":"","sources":["../../../src/react/components/HeaderActionsMenu.tsx"],"names":[],"mappings":"AAKA,OAAO,EAOL,KAAK,gBAAgB,EACtB,MAAM,OAAO,CAAC;AAEf,OAAO,EAAQ,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAE7C,MAAM,WAAW,gBAAgB;IAC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3E;AAMD,MAAM,WAAW,2BAA2B;IAC1C,IAAI,EAAE,OAAO,CAAC;IACd,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,KAAK,EAAE,MAAM,IAAI,CAAC;CACnB;AAED,2EAA2E;AAC3E,wBAAgB,8BAA8B,IAAI,2BAA2B,CAK5E;AAED,yCAAyC;AACzC,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,gBAAgB,EAAE,EAAE,GAAG,gBAAgB,EAAE,EAAE,CAEzF;AAED;;;GAGG;AACH,wBAAgB,2BAA2B,CAAC,MAAM,EAAE;IAClD,IAAI,EAAE,OAAO,CAAC;IACd,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,YAAY,EAAE,gBAAgB,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;CACpD,GAAG,IAAI,CAiBP;AAED,MAAM,WAAW,0BAA0B;IACzC,IAAI,EAAE,OAAO,CAAC;IACd,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,YAAY,EAAE,gBAAgB,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;IACtD,aAAa,EAAE,gBAAgB,EAAE,EAAE,CAAC;CACrC;AAED;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,gBAAgB,EAAE,EAAE,GAAG,0BAA0B,CAM7F;AAMD,wBAAgB,iBAAiB,CAAC,EAChC,MAAM,EACN,KAAK,EACL,oBAAoB,EAAE,wBAA+C,GACtE,EAAE,sBAAsB,sCAyDxB"}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
// HeaderActionsMenu — a compact "More" overflow menu for a sticky/compact
|
|
3
|
+
// header: a single trigger button that opens a grouped popover of actions
|
|
4
|
+
// (divided into visually-separated groups, empty groups skipped). Closes on
|
|
5
|
+
// outside click or Escape.
|
|
6
|
+
import { Fragment, useCallback, useEffect, useMemo, useRef, useState, } from 'react';
|
|
7
|
+
import { Icon } from './Icon';
|
|
8
|
+
// ---------------------------------------------------------------------------
|
|
9
|
+
// Pure helpers — no React, directly unit-testable.
|
|
10
|
+
// ---------------------------------------------------------------------------
|
|
11
|
+
/** Drops empty groups so only groups with at least one action render. */
|
|
12
|
+
export function filterVisibleActionGroups(groups) {
|
|
13
|
+
return groups.filter((group) => group.length > 0);
|
|
14
|
+
}
|
|
15
|
+
/** The single key that dismisses the menu. */
|
|
16
|
+
export function isHeaderMenuDismissKey(key) {
|
|
17
|
+
return key === 'Escape';
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Whether a pointer event landed outside the menu (and should therefore close
|
|
21
|
+
* it). A missing container never counts as "outside".
|
|
22
|
+
*/
|
|
23
|
+
export function isOutsideHeaderMenu(container, target) {
|
|
24
|
+
if (!container)
|
|
25
|
+
return false;
|
|
26
|
+
return !container.contains(target);
|
|
27
|
+
}
|
|
28
|
+
/** ARIA role: plain menuitem, or checkbox semantics when the item is a toggle. */
|
|
29
|
+
export function headerMenuItemRole(active) {
|
|
30
|
+
return active === undefined ? 'menuitem' : 'menuitemcheckbox';
|
|
31
|
+
}
|
|
32
|
+
/** `aria-checked` value: only meaningful (and only set) for toggle items. */
|
|
33
|
+
export function headerMenuItemAriaChecked(active) {
|
|
34
|
+
return active === undefined ? undefined : active;
|
|
35
|
+
}
|
|
36
|
+
/** The icon to render — the spinner while loading, otherwise the item's icon. */
|
|
37
|
+
export function headerMenuItemIcon(item) {
|
|
38
|
+
return item.loading ? 'spinner' : item.icon;
|
|
39
|
+
}
|
|
40
|
+
/** Disabled while explicitly disabled or loading. */
|
|
41
|
+
export function headerMenuItemDisabled(item) {
|
|
42
|
+
return Boolean(item.disabled || item.loading);
|
|
43
|
+
}
|
|
44
|
+
/** `aria-busy` value: `true` while loading, otherwise unset. */
|
|
45
|
+
export function headerMenuItemBusy(item) {
|
|
46
|
+
return item.loading || undefined;
|
|
47
|
+
}
|
|
48
|
+
/** Open/close state for the popover with stable toggle/close callbacks. */
|
|
49
|
+
export function useHeaderActionsMenuDisclosure() {
|
|
50
|
+
const [open, setOpen] = useState(false);
|
|
51
|
+
const toggle = useCallback(() => setOpen((value) => !value), []);
|
|
52
|
+
const close = useCallback(() => setOpen(false), []);
|
|
53
|
+
return { open, toggle, close };
|
|
54
|
+
}
|
|
55
|
+
/** Memoized list of non-empty groups. */
|
|
56
|
+
export function useVisibleActionGroups(groups) {
|
|
57
|
+
return useMemo(() => filterVisibleActionGroups(groups), [groups]);
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* While `open`, closes the menu on an outside `mousedown` or an Escape keydown.
|
|
61
|
+
* Listeners are only attached while open and torn down on close/unmount.
|
|
62
|
+
*/
|
|
63
|
+
export function useHeaderActionsMenuDismiss(params) {
|
|
64
|
+
const { open, onDismiss, containerRef } = params;
|
|
65
|
+
useEffect(() => {
|
|
66
|
+
if (!open)
|
|
67
|
+
return undefined;
|
|
68
|
+
function onPointerDown(event) {
|
|
69
|
+
if (isOutsideHeaderMenu(containerRef.current, event.target))
|
|
70
|
+
onDismiss();
|
|
71
|
+
}
|
|
72
|
+
function onKeyDown(event) {
|
|
73
|
+
if (isHeaderMenuDismissKey(event.key))
|
|
74
|
+
onDismiss();
|
|
75
|
+
}
|
|
76
|
+
document.addEventListener('mousedown', onPointerDown);
|
|
77
|
+
document.addEventListener('keydown', onKeyDown);
|
|
78
|
+
return () => {
|
|
79
|
+
document.removeEventListener('mousedown', onPointerDown);
|
|
80
|
+
document.removeEventListener('keydown', onKeyDown);
|
|
81
|
+
};
|
|
82
|
+
}, [open, onDismiss, containerRef]);
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* Composes the menu's whole behavior — disclosure, the visible-group filter,
|
|
86
|
+
* and the outside/Escape dismissal — so {@link HeaderActionsMenu} is a dumb
|
|
87
|
+
* render.
|
|
88
|
+
*/
|
|
89
|
+
export function useHeaderActionsMenu(groups) {
|
|
90
|
+
const containerRef = useRef(null);
|
|
91
|
+
const { open, toggle, close } = useHeaderActionsMenuDisclosure();
|
|
92
|
+
const visibleGroups = useVisibleActionGroups(groups);
|
|
93
|
+
useHeaderActionsMenuDismiss({ open, onDismiss: close, containerRef });
|
|
94
|
+
return { open, toggle, close, containerRef, visibleGroups };
|
|
95
|
+
}
|
|
96
|
+
// ---------------------------------------------------------------------------
|
|
97
|
+
// Component — dumb render, all logic delegated above.
|
|
98
|
+
// ---------------------------------------------------------------------------
|
|
99
|
+
export function HeaderActionsMenu({ groups, label, useHeaderActionsMenu: useHeaderActionsMenuHook = useHeaderActionsMenu, }) {
|
|
100
|
+
const { open, toggle, close, containerRef, visibleGroups } = useHeaderActionsMenuHook(groups);
|
|
101
|
+
if (visibleGroups.length === 0)
|
|
102
|
+
return null;
|
|
103
|
+
return (_jsxs("div", { className: "jini-header-actions-menu", ref: containerRef, children: [_jsx("button", { type: "button", className: "jini-header-actions-menu-trigger", onClick: toggle, "aria-haspopup": "menu", "aria-expanded": open, "aria-label": label, title: label, "data-testid": "header-actions-menu-trigger", children: _jsx(Icon, { name: "more-horizontal", size: 16 }) }), open ? (_jsx("div", { className: "jini-header-actions-menu-popover", role: "menu", "aria-label": label, children: visibleGroups.map((group, groupIndex) => (
|
|
104
|
+
// `visibleGroups` is `groups.filter((g) => g.length > 0)`, so
|
|
105
|
+
// `group[0]` is always defined here.
|
|
106
|
+
_jsxs(Fragment, { children: [groupIndex > 0 ? _jsx("div", { className: "jini-header-actions-menu-divider", "aria-hidden": true }) : null, group.map((item) => (_jsxs("button", { type: "button", role: headerMenuItemRole(item.active), "aria-checked": headerMenuItemAriaChecked(item.active), className: "jini-header-actions-menu-item", disabled: headerMenuItemDisabled(item), "aria-busy": headerMenuItemBusy(item), onClick: () => {
|
|
107
|
+
item.onClick();
|
|
108
|
+
close();
|
|
109
|
+
}, children: [_jsx("span", { className: "jini-header-actions-menu-item-icon", "aria-hidden": true, children: _jsx(Icon, { name: headerMenuItemIcon(item), size: 15 }) }), _jsx("span", { className: "jini-header-actions-menu-item-label", children: item.label }), item.active ? (_jsx("span", { className: "jini-header-actions-menu-item-check", "aria-hidden": true, children: _jsx(Icon, { name: "check", size: 14 }) })) : null] }, item.id)))] }, group[0].id))) })) : null] }));
|
|
110
|
+
}
|
|
111
|
+
//# sourceMappingURL=HeaderActionsMenu.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HeaderActionsMenu.js","sourceRoot":"","sources":["../../../src/react/components/HeaderActionsMenu.tsx"],"names":[],"mappings":";AAAA,0EAA0E;AAC1E,0EAA0E;AAC1E,4EAA4E;AAC5E,2BAA2B;AAE3B,OAAO,EACL,QAAQ,EACR,WAAW,EACX,SAAS,EACT,OAAO,EACP,MAAM,EACN,QAAQ,GAET,MAAM,OAAO,CAAC;AAEf,OAAO,EAAE,IAAI,EAAiB,MAAM,QAAQ,CAAC;AAsB7C,8EAA8E;AAC9E,mDAAmD;AACnD,8EAA8E;AAE9E,yEAAyE;AACzE,MAAM,UAAU,yBAAyB,CAAC,MAA4B;IACpE,OAAO,MAAM,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;AACpD,CAAC;AAED,8CAA8C;AAC9C,MAAM,UAAU,sBAAsB,CAAC,GAAW;IAChD,OAAO,GAAG,KAAK,QAAQ,CAAC;AAC1B,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,mBAAmB,CACjC,SAA6B,EAC7B,MAA0B;IAE1B,IAAI,CAAC,SAAS;QAAE,OAAO,KAAK,CAAC;IAC7B,OAAO,CAAC,SAAS,CAAC,QAAQ,CAAC,MAAqB,CAAC,CAAC;AACpD,CAAC;AAED,kFAAkF;AAClF,MAAM,UAAU,kBAAkB,CAAC,MAA2B;IAC5D,OAAO,MAAM,KAAK,SAAS,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,kBAAkB,CAAC;AAChE,CAA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