@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,277 @@
|
|
|
1
|
+
import { parse, postprocess, preprocess } from 'micromark';
|
|
2
|
+
import { gfm } from 'micromark-extension-gfm';
|
|
3
|
+
// Split-view scroll sync between a raw markdown editor and its rendered
|
|
4
|
+
// preview. A naive ratio sync (scrollTop / scrollRange) drifts badly because
|
|
5
|
+
// a markdown source line and its rendered block have very different heights
|
|
6
|
+
// (a `## heading` is one short line in source but a tall heading block in
|
|
7
|
+
// preview). Instead we anchor on every top-level block: each block's source
|
|
8
|
+
// line maps to one top-level DOM element in the preview, and we piecewise-
|
|
9
|
+
// linearly interpolate scroll position between those anchor pairs so
|
|
10
|
+
// matching blocks line up at the top edge of both panes.
|
|
11
|
+
const CONTAINER_TOKENS = new Set(['blockQuote', 'listOrdered', 'listUnordered']);
|
|
12
|
+
const FLOW_BLOCK_TOKENS = new Set([
|
|
13
|
+
'atxHeading',
|
|
14
|
+
'setextHeading',
|
|
15
|
+
'paragraph',
|
|
16
|
+
'codeFenced',
|
|
17
|
+
'codeIndented',
|
|
18
|
+
'htmlFlow',
|
|
19
|
+
'thematicBreak',
|
|
20
|
+
'table',
|
|
21
|
+
]);
|
|
22
|
+
// Computed styles that influence text wrapping/line height. Copied from the
|
|
23
|
+
// textarea onto a hidden mirror so the mirror wraps identically. `box-sizing`,
|
|
24
|
+
// `width`, and borders are forced separately so the content box matches
|
|
25
|
+
// regardless of the textarea's own box model.
|
|
26
|
+
const MIRROR_COPIED_STYLES = [
|
|
27
|
+
'font-family',
|
|
28
|
+
'font-size',
|
|
29
|
+
'font-weight',
|
|
30
|
+
'font-style',
|
|
31
|
+
'font-variant',
|
|
32
|
+
'line-height',
|
|
33
|
+
'letter-spacing',
|
|
34
|
+
'word-spacing',
|
|
35
|
+
'text-transform',
|
|
36
|
+
'text-indent',
|
|
37
|
+
'tab-size',
|
|
38
|
+
'white-space',
|
|
39
|
+
'overflow-wrap',
|
|
40
|
+
'word-break',
|
|
41
|
+
'padding-top',
|
|
42
|
+
'padding-right',
|
|
43
|
+
'padding-bottom',
|
|
44
|
+
'padding-left',
|
|
45
|
+
];
|
|
46
|
+
function hasVerticalProgression(offsets) {
|
|
47
|
+
if (offsets.length <= 1)
|
|
48
|
+
return true;
|
|
49
|
+
// `offsets` is a module-private function's only argument, always built
|
|
50
|
+
// internally (by `measureEditorBlockOffsets`/`measurePreviewBlockOffsets`
|
|
51
|
+
// via `new Array(...).fill(0)` or `.map()`) as a dense array — `offsets[0]`
|
|
52
|
+
// is always defined once the `length <= 1` guard above has passed, so the
|
|
53
|
+
// `?? 0` fallback this used to have was dead code for every real caller
|
|
54
|
+
// (same pattern as this file's `basenameOf`-style precedents elsewhere in
|
|
55
|
+
// this package).
|
|
56
|
+
const first = offsets[0];
|
|
57
|
+
return offsets.some((offset, index) => index > 0 && offset > first + 0.5);
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* 1-based source start line of every top-level markdown block, in document
|
|
61
|
+
* order. Nested blocks (list items, blockquote contents) collapse into their
|
|
62
|
+
* top-level container so the result lines up 1:1 with the preview article's
|
|
63
|
+
* direct element children.
|
|
64
|
+
*/
|
|
65
|
+
export function extractMarkdownBlockLines(markdown) {
|
|
66
|
+
if (!markdown)
|
|
67
|
+
return [];
|
|
68
|
+
let events;
|
|
69
|
+
try {
|
|
70
|
+
events = postprocess(parse({ extensions: [gfm()] })
|
|
71
|
+
.document()
|
|
72
|
+
.write(preprocess()(markdown, undefined, true)));
|
|
73
|
+
}
|
|
74
|
+
catch {
|
|
75
|
+
return [];
|
|
76
|
+
}
|
|
77
|
+
const lines = [];
|
|
78
|
+
let depth = 0;
|
|
79
|
+
for (const event of events) {
|
|
80
|
+
const phase = event[0];
|
|
81
|
+
const token = event[1];
|
|
82
|
+
const type = token.type;
|
|
83
|
+
if (CONTAINER_TOKENS.has(type)) {
|
|
84
|
+
if (phase === 'enter') {
|
|
85
|
+
if (depth === 0)
|
|
86
|
+
lines.push(token.start.line);
|
|
87
|
+
depth += 1;
|
|
88
|
+
}
|
|
89
|
+
else {
|
|
90
|
+
depth = Math.max(0, depth - 1);
|
|
91
|
+
}
|
|
92
|
+
continue;
|
|
93
|
+
}
|
|
94
|
+
if (phase === 'enter' && depth === 0 && FLOW_BLOCK_TOKENS.has(type)) {
|
|
95
|
+
lines.push(token.start.line);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
return lines;
|
|
99
|
+
}
|
|
100
|
+
function escapeMirrorText(value) {
|
|
101
|
+
return value.replace(/&/g, '&').replace(/</g, '<').replace(/>/g, '>');
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* Pixel offset (within the textarea's scrollable content) of each block's
|
|
105
|
+
* start line, accounting for soft-wrapping. Measured with a hidden mirror that
|
|
106
|
+
* mimics the textarea's wrapping so the offsets stay accurate even when long
|
|
107
|
+
* lines wrap. Returns `null` when measurement is not possible.
|
|
108
|
+
*/
|
|
109
|
+
export function measureEditorBlockOffsets(textarea, blockLines, text) {
|
|
110
|
+
// The `typeof document === 'undefined'` half of this guard is real,
|
|
111
|
+
// intentional SSR-safety API contract (documented in this function's own
|
|
112
|
+
// JSDoc), but is empirically unreachable through this repo's actual call
|
|
113
|
+
// graph today: its only caller (`useMarkdownScrollSync`) only ever
|
|
114
|
+
// invokes it with an already browser-mounted `HTMLTextAreaElement` ref,
|
|
115
|
+
// which cannot exist without `document` already existing. A real test
|
|
116
|
+
// would require either reintroducing this package's own documented
|
|
117
|
+
// `@vitest/coverage-v8` jsdom/node branch-merge bug (see
|
|
118
|
+
// `features/html-viewer/dependencies`'s precedent in
|
|
119
|
+
// packages/ui/source-map.md) or hand-faking this function's full
|
|
120
|
+
// `innerHTML`/`querySelectorAll`/`getComputedStyle` surface under plain
|
|
121
|
+
// Node — disproportionate to a defensive guard with no reachable path.
|
|
122
|
+
// See packages/ui/source-map.md's 2026-07-22 dated entry.
|
|
123
|
+
if (blockLines.length === 0 || typeof document === 'undefined')
|
|
124
|
+
return null;
|
|
125
|
+
const computed = window.getComputedStyle(textarea);
|
|
126
|
+
const mirror = document.createElement('div');
|
|
127
|
+
const style = mirror.style;
|
|
128
|
+
for (const prop of MIRROR_COPIED_STYLES) {
|
|
129
|
+
style.setProperty(prop, computed.getPropertyValue(prop));
|
|
130
|
+
}
|
|
131
|
+
// Reproduce the textarea content-box width regardless of its box model.
|
|
132
|
+
style.boxSizing = 'border-box';
|
|
133
|
+
style.borderWidth = '0';
|
|
134
|
+
style.margin = '0';
|
|
135
|
+
style.position = 'absolute';
|
|
136
|
+
style.top = '0';
|
|
137
|
+
style.left = '-9999px';
|
|
138
|
+
style.height = 'auto';
|
|
139
|
+
style.overflow = 'hidden';
|
|
140
|
+
style.visibility = 'hidden';
|
|
141
|
+
style.pointerEvents = 'none';
|
|
142
|
+
style.width = `${textarea.clientWidth}px`;
|
|
143
|
+
if (style.whiteSpace === 'normal' || !style.whiteSpace)
|
|
144
|
+
style.whiteSpace = 'pre-wrap';
|
|
145
|
+
const lines = text.split('\n');
|
|
146
|
+
const markersByLine = new Map();
|
|
147
|
+
blockLines.forEach((line, blockIndex) => {
|
|
148
|
+
const lineIndex = Math.max(0, Math.min(lines.length - 1, line - 1));
|
|
149
|
+
const existing = markersByLine.get(lineIndex);
|
|
150
|
+
if (existing)
|
|
151
|
+
existing.push(blockIndex);
|
|
152
|
+
else
|
|
153
|
+
markersByLine.set(lineIndex, [blockIndex]);
|
|
154
|
+
});
|
|
155
|
+
let buffer = '';
|
|
156
|
+
for (let i = 0; i < lines.length; i += 1) {
|
|
157
|
+
const markers = markersByLine.get(i);
|
|
158
|
+
if (markers) {
|
|
159
|
+
for (const blockIndex of markers)
|
|
160
|
+
buffer += `<span data-md-block="${blockIndex}"></span>`;
|
|
161
|
+
}
|
|
162
|
+
// `text.split('\n')` always yields a dense array (never a hole), so
|
|
163
|
+
// `lines[i]` for `i` in `[0, lines.length)` is always a defined string
|
|
164
|
+
// (possibly `''`) — the `?? ''` fallback this used to have was dead
|
|
165
|
+
// code for every real string input, removed rather than tested around
|
|
166
|
+
// (same pattern as `utils/auto-open-file.ts`'s `basenameOf`).
|
|
167
|
+
buffer += escapeMirrorText(lines[i]);
|
|
168
|
+
if (i < lines.length - 1)
|
|
169
|
+
buffer += '\n';
|
|
170
|
+
}
|
|
171
|
+
mirror.innerHTML = buffer;
|
|
172
|
+
document.body.appendChild(mirror);
|
|
173
|
+
const offsets = new Array(blockLines.length).fill(0);
|
|
174
|
+
try {
|
|
175
|
+
const markers = mirror.querySelectorAll('span[data-md-block]');
|
|
176
|
+
for (const marker of Array.from(markers)) {
|
|
177
|
+
const blockIndex = Number(marker.getAttribute('data-md-block'));
|
|
178
|
+
if (Number.isInteger(blockIndex) && blockIndex >= 0 && blockIndex < offsets.length) {
|
|
179
|
+
offsets[blockIndex] = marker.offsetTop;
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
finally {
|
|
184
|
+
document.body.removeChild(mirror);
|
|
185
|
+
}
|
|
186
|
+
if (!hasVerticalProgression(offsets))
|
|
187
|
+
return null;
|
|
188
|
+
return offsets;
|
|
189
|
+
}
|
|
190
|
+
/**
|
|
191
|
+
* Pixel offset (within the preview pane's scrollable content) of each rendered
|
|
192
|
+
* top-level block element. Returns `null` when the rendered article's direct
|
|
193
|
+
* element children do not match the expected block count — the caller then
|
|
194
|
+
* falls back to ratio sync rather than risk a wrong mapping.
|
|
195
|
+
*
|
|
196
|
+
* `previewSelector` identifies the preview article's root inside `pane`
|
|
197
|
+
* (defaults to `.markdown-rendered`, matching most markdown renderers'
|
|
198
|
+
* conventional root class).
|
|
199
|
+
*/
|
|
200
|
+
export function measurePreviewBlockOffsets(pane, blockCount, previewSelector = '.markdown-rendered') {
|
|
201
|
+
if (blockCount === 0)
|
|
202
|
+
return null;
|
|
203
|
+
const article = pane.querySelector(previewSelector);
|
|
204
|
+
if (!article)
|
|
205
|
+
return null;
|
|
206
|
+
const children = Array.from(article.children).filter((child) => child instanceof HTMLElement);
|
|
207
|
+
if (children.length !== blockCount)
|
|
208
|
+
return null;
|
|
209
|
+
const paneRect = pane.getBoundingClientRect();
|
|
210
|
+
const contentTop = paneRect.top - pane.scrollTop;
|
|
211
|
+
const offsets = children.map((child) => child.getBoundingClientRect().top - contentTop);
|
|
212
|
+
if (!hasVerticalProgression(offsets))
|
|
213
|
+
return null;
|
|
214
|
+
return offsets;
|
|
215
|
+
}
|
|
216
|
+
/**
|
|
217
|
+
* Build a monotonic anchor array spanning the full scrollable range: a `0`
|
|
218
|
+
* anchor at the top, the per-block offsets, and the total `scrollHeight` at the
|
|
219
|
+
* bottom, clamped non-decreasing so interpolation stays stable.
|
|
220
|
+
*/
|
|
221
|
+
export function buildScrollAnchors(blockOffsets, scrollHeight) {
|
|
222
|
+
const anchors = [0, ...blockOffsets, Math.max(0, scrollHeight)];
|
|
223
|
+
let previous = 0;
|
|
224
|
+
for (let i = 0; i < anchors.length; i += 1) {
|
|
225
|
+
const raw = anchors[i] ?? 0;
|
|
226
|
+
let value = Math.max(0, Math.min(scrollHeight, Number.isFinite(raw) ? raw : 0));
|
|
227
|
+
if (value < previous)
|
|
228
|
+
value = previous;
|
|
229
|
+
anchors[i] = value;
|
|
230
|
+
previous = value;
|
|
231
|
+
}
|
|
232
|
+
return anchors;
|
|
233
|
+
}
|
|
234
|
+
/**
|
|
235
|
+
* Map a scroll position from the source pane to the target pane using paired
|
|
236
|
+
* anchor arrays (same length, both monotonic). Linear interpolation within the
|
|
237
|
+
* bracketing segment.
|
|
238
|
+
*/
|
|
239
|
+
export function mapScrollPosition(value, source, target) {
|
|
240
|
+
const count = Math.min(source.length, target.length);
|
|
241
|
+
if (count === 0)
|
|
242
|
+
return value;
|
|
243
|
+
if (count === 1)
|
|
244
|
+
return target[0] ?? 0;
|
|
245
|
+
if (value <= (source[0] ?? 0))
|
|
246
|
+
return target[0] ?? 0;
|
|
247
|
+
if (value >= (source[count - 1] ?? 0))
|
|
248
|
+
return target[count - 1] ?? 0;
|
|
249
|
+
let low = 0;
|
|
250
|
+
let high = count - 1;
|
|
251
|
+
while (high - low > 1) {
|
|
252
|
+
const mid = (low + high) >> 1;
|
|
253
|
+
if ((source[mid] ?? 0) <= value)
|
|
254
|
+
low = mid;
|
|
255
|
+
else
|
|
256
|
+
high = mid;
|
|
257
|
+
}
|
|
258
|
+
const sourceLow = source[low] ?? 0;
|
|
259
|
+
const sourceHigh = source[high] ?? 0;
|
|
260
|
+
const targetLow = target[low] ?? 0;
|
|
261
|
+
const targetHigh = target[high] ?? 0;
|
|
262
|
+
// `span` is provably > 0 here, for *any* input array (not just a
|
|
263
|
+
// monotonic one): the early clamp checks above guarantee
|
|
264
|
+
// `source[0] <= value < source[count - 1]` before the search loop ever
|
|
265
|
+
// runs, and the loop's own invariant — `low` only ever advances when
|
|
266
|
+
// `source[mid] <= value`, `high` only ever advances when
|
|
267
|
+
// `source[mid] > value` — means `sourceLow <= value < sourceHigh` holds
|
|
268
|
+
// at every exit, loop-iteration count included. So `sourceHigh >
|
|
269
|
+
// sourceLow` always, and a `span > 0 ? ... : 0` guard against
|
|
270
|
+
// division-by-zero was dead code for every possible call, not a real
|
|
271
|
+
// defensive branch — removed rather than tested around (see
|
|
272
|
+
// packages/ui/source-map.md's 2026-07-22 dated entry for the full proof).
|
|
273
|
+
const span = sourceHigh - sourceLow;
|
|
274
|
+
const fraction = (value - sourceLow) / span;
|
|
275
|
+
return targetLow + fraction * (targetHigh - targetLow);
|
|
276
|
+
}
|
|
277
|
+
//# sourceMappingURL=markdown-scroll-sync.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
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I,CAAC,IAAI,CAAC,CAAC;QAC9B,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,IAAI,KAAK;YAAE,GAAG,GAAG,GAAG,CAAC;;YACtC,IAAI,GAAG,GAAG,CAAC;IAClB,CAAC;IACD,MAAM,SAAS,GAAG,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;IACnC,MAAM,UAAU,GAAG,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACrC,MAAM,SAAS,GAAG,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;IACnC,MAAM,UAAU,GAAG,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACrC,iEAAiE;IACjE,yDAAyD;IACzD,uEAAuE;IACvE,qEAAqE;IACrE,yDAAyD;IACzD,wEAAwE;IACxE,iEAAiE;IACjE,8DAA8D;IAC9D,qEAAqE;IACrE,4DAA4D;IAC5D,0EAA0E;IAC1E,MAAM,IAAI,GAAG,UAAU,GAAG,SAAS,CAAC;IACpC,MAAM,QAAQ,GAAG,CAAC,KAAK,GAAG,SAAS,CAAC,GAAG,IAAI,CAAC;IAC5C,OAAO,SAAS,GAAG,QAAQ,GAAG,CAAC,UAAU,GAAG,SAAS,CAAC,CAAC;AACzD,CAAC"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Desktop notification + short synthesized sound-cue system for
|
|
3
|
+
* "long-running task finished" style completion signals.
|
|
4
|
+
*
|
|
5
|
+
* Origin: `utils/notifications.ts`. Genericized in two places (see
|
|
6
|
+
* `packages/ui/source-map.md`):
|
|
7
|
+
* - `labelKey: keyof Dict` (OD's fixed translation dictionary type)
|
|
8
|
+
* widened to a plain `string` — this package's i18n feature has no
|
|
9
|
+
* fixed `Dict` shape for a sound catalog to key into.
|
|
10
|
+
* - The hard-coded `'/od-notifications-sw.js'` service-worker URL and
|
|
11
|
+
* `'od-task-'` notification tag prefix are now caller-supplied
|
|
12
|
+
* options (defaulting to generic, non-product-branded values).
|
|
13
|
+
*/
|
|
14
|
+
export type SoundId = string;
|
|
15
|
+
export interface SoundOption {
|
|
16
|
+
id: SoundId;
|
|
17
|
+
labelKey: string;
|
|
18
|
+
}
|
|
19
|
+
export declare const SUCCESS_SOUNDS: SoundOption[];
|
|
20
|
+
export declare const FAILURE_SOUNDS: SoundOption[];
|
|
21
|
+
export declare const DEFAULT_SUCCESS_SOUND_ID: SoundId;
|
|
22
|
+
export declare const DEFAULT_FAILURE_SOUND_ID: SoundId;
|
|
23
|
+
/** Plays a registered sound id. No-ops silently on any failure (never throws into UI code). */
|
|
24
|
+
export declare function playSound(id: SoundId): void;
|
|
25
|
+
export declare function previewSuccess(id: SoundId): void;
|
|
26
|
+
export declare function previewFailure(id: SoundId): void;
|
|
27
|
+
export declare function notificationPermission(): NotificationPermission | 'unsupported';
|
|
28
|
+
export declare function requestNotificationPermission(): Promise<NotificationPermission | 'unsupported'>;
|
|
29
|
+
export interface CompletionNotificationOpts {
|
|
30
|
+
status: 'succeeded' | 'failed';
|
|
31
|
+
title: string;
|
|
32
|
+
body: string;
|
|
33
|
+
onClick?: () => void;
|
|
34
|
+
/** Service-worker script URL to register for the `showNotification` path.
|
|
35
|
+
* Omit to skip the service-worker path entirely and go straight to the
|
|
36
|
+
* `Notification` constructor. */
|
|
37
|
+
serviceWorkerUrl?: string;
|
|
38
|
+
/** Prefix for the notification `tag` (`${tagPrefix}-${status}`). Defaults
|
|
39
|
+
* to `'task'`. */
|
|
40
|
+
tagPrefix?: string;
|
|
41
|
+
}
|
|
42
|
+
export type CompletionNotificationResult = 'shown' | 'unsupported' | 'permission-denied' | 'failed';
|
|
43
|
+
/**
|
|
44
|
+
* Shows a completion notification, preferring the service-worker path (if
|
|
45
|
+
* `serviceWorkerUrl` is supplied and registration succeeds) and falling
|
|
46
|
+
* back to the direct `Notification` constructor.
|
|
47
|
+
*
|
|
48
|
+
* @overallScore 100
|
|
49
|
+
*/
|
|
50
|
+
export declare function showCompletionNotification(opts: CompletionNotificationOpts): Promise<CompletionNotificationResult>;
|
|
51
|
+
//# sourceMappingURL=notifications.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notifications.d.ts","sourceRoot":"","sources":["../../src/utils/notifications.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,MAAM,MAAM,OAAO,GAAG,MAAM,CAAC;AAE7B,MAAM,WAAW,WAAW;IAC1B,EAAE,EAAE,OAAO,CAAC;IACZ,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,eAAO,MAAM,cAAc,EAAE,WAAW,EAKvC,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,WAAW,EAIvC,CAAC;AAEF,eAAO,MAAM,wBAAwB,EAAE,OAAgB,CAAC;AACxD,eAAO,MAAM,wBAAwB,EAAE,OAAgB,CAAC;AAiHxD,+FAA+F;AAC/F,wBAAgB,SAAS,CAAC,EAAE,EAAE,OAAO,GAAG,IAAI,CAU3C;AAED,wBAAgB,cAAc,CAAC,EAAE,EAAE,OAAO,GAAG,IAAI,CAEhD;AAED,wBAAgB,cAAc,CAAC,EAAE,EAAE,OAAO,GAAG,IAAI,CAEhD;AAED,wBAAgB,sBAAsB,IAAI,sBAAsB,GAAG,aAAa,CAG/E;AAED,wBAAsB,6BAA6B,IAAI,OAAO,CAAC,sBAAsB,GAAG,aAAa,CAAC,CAUrG;AAED,MAAM,WAAW,0BAA0B;IACzC,MAAM,EAAE,WAAW,GAAG,QAAQ,CAAC;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB;;sCAEkC;IAClC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;uBACmB;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,MAAM,4BAA4B,GAAG,OAAO,GAAG,aAAa,GAAG,mBAAmB,GAAG,QAAQ,CAAC;AAoEpG;;;;;;GAMG;AACH,wBAAsB,0BAA0B,CAC9C,IAAI,EAAE,0BAA0B,GAC/B,OAAO,CAAC,4BAA4B,CAAC,CAIvC"}
|
|
@@ -0,0 +1,238 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Desktop notification + short synthesized sound-cue system for
|
|
3
|
+
* "long-running task finished" style completion signals.
|
|
4
|
+
*
|
|
5
|
+
* Origin: `utils/notifications.ts`. Genericized in two places (see
|
|
6
|
+
* `packages/ui/source-map.md`):
|
|
7
|
+
* - `labelKey: keyof Dict` (OD's fixed translation dictionary type)
|
|
8
|
+
* widened to a plain `string` — this package's i18n feature has no
|
|
9
|
+
* fixed `Dict` shape for a sound catalog to key into.
|
|
10
|
+
* - The hard-coded `'/od-notifications-sw.js'` service-worker URL and
|
|
11
|
+
* `'od-task-'` notification tag prefix are now caller-supplied
|
|
12
|
+
* options (defaulting to generic, non-product-branded values).
|
|
13
|
+
*/
|
|
14
|
+
export const SUCCESS_SOUNDS = [
|
|
15
|
+
{ id: 'ding', labelKey: 'notifications.sound.ding' },
|
|
16
|
+
{ id: 'chime', labelKey: 'notifications.sound.chime' },
|
|
17
|
+
{ id: 'two-tone-up', labelKey: 'notifications.sound.twoToneUp' },
|
|
18
|
+
{ id: 'pluck', labelKey: 'notifications.sound.pluck' },
|
|
19
|
+
];
|
|
20
|
+
export const FAILURE_SOUNDS = [
|
|
21
|
+
{ id: 'buzz', labelKey: 'notifications.sound.buzz' },
|
|
22
|
+
{ id: 'two-tone-down', labelKey: 'notifications.sound.twoToneDown' },
|
|
23
|
+
{ id: 'thud', labelKey: 'notifications.sound.thud' },
|
|
24
|
+
];
|
|
25
|
+
export const DEFAULT_SUCCESS_SOUND_ID = 'ding';
|
|
26
|
+
export const DEFAULT_FAILURE_SOUND_ID = 'buzz';
|
|
27
|
+
let ctx = null;
|
|
28
|
+
const activeNotifications = new Set();
|
|
29
|
+
function getCtx() {
|
|
30
|
+
if (typeof window === 'undefined')
|
|
31
|
+
return null;
|
|
32
|
+
const Ctor = window.AudioContext ?? window.webkitAudioContext;
|
|
33
|
+
if (!Ctor)
|
|
34
|
+
return null;
|
|
35
|
+
if (!ctx) {
|
|
36
|
+
try {
|
|
37
|
+
ctx = new Ctor();
|
|
38
|
+
}
|
|
39
|
+
catch {
|
|
40
|
+
return null;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
if (ctx && ctx.state === 'suspended') {
|
|
44
|
+
void ctx.resume().catch(() => {
|
|
45
|
+
// Autoplay policy can refuse — fall through silently. The next
|
|
46
|
+
// user-gesture-driven call will retry.
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
return ctx;
|
|
50
|
+
}
|
|
51
|
+
function playTones(c, tones) {
|
|
52
|
+
const now = c.currentTime;
|
|
53
|
+
for (const tone of tones) {
|
|
54
|
+
const osc = c.createOscillator();
|
|
55
|
+
const gain = c.createGain();
|
|
56
|
+
osc.type = tone.type;
|
|
57
|
+
osc.frequency.value = tone.freq;
|
|
58
|
+
const peak = tone.gain;
|
|
59
|
+
const startAt = now + tone.start;
|
|
60
|
+
const endAt = startAt + tone.duration;
|
|
61
|
+
// Short attack to avoid clicks; exponential-ish decay via a linear
|
|
62
|
+
// ramp to near-zero (exponentialRamp can't reach exactly 0).
|
|
63
|
+
gain.gain.setValueAtTime(0.0001, startAt);
|
|
64
|
+
gain.gain.linearRampToValueAtTime(peak, startAt + Math.min(0.005, tone.duration * 0.2));
|
|
65
|
+
gain.gain.exponentialRampToValueAtTime(0.0001, endAt);
|
|
66
|
+
let last = osc;
|
|
67
|
+
if (tone.lowpass) {
|
|
68
|
+
const lp = c.createBiquadFilter();
|
|
69
|
+
lp.type = 'lowpass';
|
|
70
|
+
lp.frequency.value = tone.lowpass;
|
|
71
|
+
osc.connect(lp);
|
|
72
|
+
last = lp;
|
|
73
|
+
}
|
|
74
|
+
last.connect(gain);
|
|
75
|
+
gain.connect(c.destination);
|
|
76
|
+
osc.start(startAt);
|
|
77
|
+
osc.stop(endAt + 0.02);
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
const SOUND_PLAYERS = {
|
|
81
|
+
ding: (c) => {
|
|
82
|
+
playTones(c, [{ freq: 880, type: 'sine', start: 0, duration: 0.25, gain: 0.22 }]);
|
|
83
|
+
},
|
|
84
|
+
chime: (c) => {
|
|
85
|
+
playTones(c, [
|
|
86
|
+
{ freq: 880, type: 'triangle', start: 0, duration: 0.4, gain: 0.18 },
|
|
87
|
+
{ freq: 1320, type: 'triangle', start: 0, duration: 0.4, gain: 0.12 },
|
|
88
|
+
]);
|
|
89
|
+
},
|
|
90
|
+
'two-tone-up': (c) => {
|
|
91
|
+
playTones(c, [
|
|
92
|
+
{ freq: 660, type: 'square', start: 0, duration: 0.08, gain: 0.16 },
|
|
93
|
+
{ freq: 990, type: 'square', start: 0.09, duration: 0.08, gain: 0.16 },
|
|
94
|
+
]);
|
|
95
|
+
},
|
|
96
|
+
pluck: (c) => {
|
|
97
|
+
playTones(c, [{ freq: 220, type: 'sawtooth', start: 0, duration: 0.15, gain: 0.22, lowpass: 1200 }]);
|
|
98
|
+
},
|
|
99
|
+
buzz: (c) => {
|
|
100
|
+
playTones(c, [
|
|
101
|
+
{ freq: 165, type: 'square', start: 0, duration: 0.06, gain: 0.2 },
|
|
102
|
+
{ freq: 165, type: 'square', start: 0.1, duration: 0.06, gain: 0.2 },
|
|
103
|
+
{ freq: 165, type: 'square', start: 0.2, duration: 0.06, gain: 0.2 },
|
|
104
|
+
]);
|
|
105
|
+
},
|
|
106
|
+
'two-tone-down': (c) => {
|
|
107
|
+
playTones(c, [
|
|
108
|
+
{ freq: 880, type: 'sine', start: 0, duration: 0.12, gain: 0.2 },
|
|
109
|
+
{ freq: 440, type: 'sine', start: 0.13, duration: 0.12, gain: 0.2 },
|
|
110
|
+
]);
|
|
111
|
+
},
|
|
112
|
+
thud: (c) => {
|
|
113
|
+
playTones(c, [{ freq: 80, type: 'sine', start: 0, duration: 0.12, gain: 0.32 }]);
|
|
114
|
+
},
|
|
115
|
+
};
|
|
116
|
+
/** Plays a registered sound id. No-ops silently on any failure (never throws into UI code). */
|
|
117
|
+
export function playSound(id) {
|
|
118
|
+
const c = getCtx();
|
|
119
|
+
if (!c)
|
|
120
|
+
return;
|
|
121
|
+
const player = SOUND_PLAYERS[id];
|
|
122
|
+
if (!player)
|
|
123
|
+
return;
|
|
124
|
+
try {
|
|
125
|
+
player(c);
|
|
126
|
+
}
|
|
127
|
+
catch {
|
|
128
|
+
// A node creation/connection failure should never throw out to UI code.
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
export function previewSuccess(id) {
|
|
132
|
+
playSound(id);
|
|
133
|
+
}
|
|
134
|
+
export function previewFailure(id) {
|
|
135
|
+
playSound(id);
|
|
136
|
+
}
|
|
137
|
+
export function notificationPermission() {
|
|
138
|
+
if (typeof Notification === 'undefined')
|
|
139
|
+
return 'unsupported';
|
|
140
|
+
return Notification.permission;
|
|
141
|
+
}
|
|
142
|
+
export async function requestNotificationPermission() {
|
|
143
|
+
if (typeof Notification === 'undefined')
|
|
144
|
+
return 'unsupported';
|
|
145
|
+
if (Notification.permission === 'granted' || Notification.permission === 'denied') {
|
|
146
|
+
return Notification.permission;
|
|
147
|
+
}
|
|
148
|
+
try {
|
|
149
|
+
return await Notification.requestPermission();
|
|
150
|
+
}
|
|
151
|
+
catch {
|
|
152
|
+
return 'denied';
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
function notificationOptionsFor(opts) {
|
|
156
|
+
const tag = `${opts.tagPrefix ?? 'task'}-${opts.status}`;
|
|
157
|
+
return {
|
|
158
|
+
body: opts.body,
|
|
159
|
+
tag,
|
|
160
|
+
renotify: true,
|
|
161
|
+
data: {
|
|
162
|
+
status: opts.status,
|
|
163
|
+
url: typeof window === 'undefined' ? '/' : window.location.href,
|
|
164
|
+
},
|
|
165
|
+
};
|
|
166
|
+
}
|
|
167
|
+
async function showViaServiceWorker(opts) {
|
|
168
|
+
if (!opts.serviceWorkerUrl)
|
|
169
|
+
return null;
|
|
170
|
+
if (typeof navigator === 'undefined' || !('serviceWorker' in navigator))
|
|
171
|
+
return null;
|
|
172
|
+
try {
|
|
173
|
+
const registration = await navigator.serviceWorker.register(opts.serviceWorkerUrl);
|
|
174
|
+
const readyRegistration = await navigator.serviceWorker.ready.catch(() => registration);
|
|
175
|
+
if (!readyRegistration.showNotification)
|
|
176
|
+
return null;
|
|
177
|
+
await readyRegistration.showNotification(opts.title, notificationOptionsFor(opts));
|
|
178
|
+
return 'shown';
|
|
179
|
+
}
|
|
180
|
+
catch {
|
|
181
|
+
return null;
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
// `showViaConstructor`'s only caller (`showCompletionNotification`) already
|
|
185
|
+
// checks `typeof Notification === 'undefined'` and
|
|
186
|
+
// `Notification.permission !== 'granted'` before ever calling this
|
|
187
|
+
// function, so re-checking either here is unreachable dead code — removed
|
|
188
|
+
// rather than tested around (this file's `ToneSpec.gain` default is the
|
|
189
|
+
// same pattern above).
|
|
190
|
+
function showViaConstructor(opts) {
|
|
191
|
+
try {
|
|
192
|
+
const note = new Notification(opts.title, notificationOptionsFor(opts));
|
|
193
|
+
activeNotifications.add(note);
|
|
194
|
+
const release = () => {
|
|
195
|
+
note.onclick = null;
|
|
196
|
+
note.onclose = null;
|
|
197
|
+
note.onerror = null;
|
|
198
|
+
activeNotifications.delete(note);
|
|
199
|
+
};
|
|
200
|
+
note.onclick = () => {
|
|
201
|
+
try {
|
|
202
|
+
if (typeof window !== 'undefined')
|
|
203
|
+
window.focus();
|
|
204
|
+
}
|
|
205
|
+
catch {
|
|
206
|
+
/* ignore */
|
|
207
|
+
}
|
|
208
|
+
opts.onClick?.();
|
|
209
|
+
try {
|
|
210
|
+
note.close();
|
|
211
|
+
}
|
|
212
|
+
catch {
|
|
213
|
+
/* ignore */
|
|
214
|
+
}
|
|
215
|
+
};
|
|
216
|
+
note.onclose = release;
|
|
217
|
+
note.onerror = release;
|
|
218
|
+
return 'shown';
|
|
219
|
+
}
|
|
220
|
+
catch {
|
|
221
|
+
return 'failed';
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
/**
|
|
225
|
+
* Shows a completion notification, preferring the service-worker path (if
|
|
226
|
+
* `serviceWorkerUrl` is supplied and registration succeeds) and falling
|
|
227
|
+
* back to the direct `Notification` constructor.
|
|
228
|
+
*
|
|
229
|
+
* @overallScore 100
|
|
230
|
+
*/
|
|
231
|
+
export async function showCompletionNotification(opts) {
|
|
232
|
+
if (typeof Notification === 'undefined')
|
|
233
|
+
return 'unsupported';
|
|
234
|
+
if (Notification.permission !== 'granted')
|
|
235
|
+
return 'permission-denied';
|
|
236
|
+
return (await showViaServiceWorker(opts)) ?? showViaConstructor(opts);
|
|
237
|
+
}
|
|
238
|
+
//# sourceMappingURL=notifications.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notifications.js","sourceRoot":"","sources":["../../src/utils/notifications.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AASH,MAAM,CAAC,MAAM,cAAc,GAAkB;IAC3C,EAAE,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,0BAA0B,EAAE;IACpD,EAAE,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,2BAA2B,EAAE;IACtD,EAAE,EAAE,EAAE,aAAa,EAAE,QAAQ,EAAE,+BAA+B,EAAE;IAChE,EAAE,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,2BAA2B,EAAE;CACvD,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAAkB;IAC3C,EAAE,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,0BAA0B,EAAE;IACpD,EAAE,EAAE,EAAE,eAAe,EAAE,QAAQ,EAAE,iCAAiC,EAAE;IACpE,EAAE,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,0BAA0B,EAAE;CACrD,CAAC;AAEF,MAAM,CAAC,MA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;YAAC,MAAM,CAAC;gBACP,YAAY;YACd,CAAC;YACD,IAAI,CAAC,OAAO,EAAE,EAAE,CAAC;YACjB,IAAI,CAAC;gBACH,IAAI,CAAC,KAAK,EAAE,CAAC;YACf,CAAC;YAAC,MAAM,CAAC;gBACP,YAAY;YACd,CAAC;QACH,CAAC,CAAC;QACF,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,OAAO,OAAO,CAAC;IACjB,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,QAAQ,CAAC;IAClB,CAAC;AACH,CAAC;AAED;;;;;;GAMG;AACH,MAAM,CAAC,KAAK,UAAU,0BAA0B,CAC9C,IAAgC;IAEhC,IAAI,OAAO,YAAY,KAAK,WAAW;QAAE,OAAO,aAAa,CAAC;IAC9D,IAAI,YAAY,CAAC,UAAU,KAAK,SAAS;QAAE,OAAO,mBAAmB,CAAC;IACtE,OAAO,CAAC,MAAM,oBAAoB,CAAC,IAAI,CAAC,CAAC,IAAI,kBAAkB,CAAC,IAAI,CAAC,CAAC;AACxE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"platform.d.ts","sourceRoot":"","sources":["../../src/utils/platform.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,wBAAgB,aAAa,IAAI,OAAO,CAEvC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Origin: `utils/platform.ts` — ported verbatim, no OD coupling (zero
|
|
3
|
+
* imports, pure `navigator.platform` sniff).
|
|
4
|
+
*/
|
|
5
|
+
export function isMacPlatform() {
|
|
6
|
+
return typeof navigator !== 'undefined' && /Mac|iPod|iPhone|iPad/.test(navigator.platform);
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=platform.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"platform.js","sourceRoot":"","sources":["../../src/utils/platform.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,UAAU,aAAa;IAC3B,OAAO,OAAO,SAAS,KAAK,WAAW,IAAI,sBAAsB,CAAC,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC;AAC7F,CAAC"}
|