| ... | ... | @@ -153,7 +153,7 @@ const DEFAULT_ANNOTATION_THEME: DesktopPreviewAnnotationTheme = { |
| 153 | 153 | fontMono: "ui-monospace, monospace", |
| 154 | 154 | }; |
| 155 | 155 | |
| 156 | | export const buildPreviewPictureInPictureDataUrl = (): string => { |
| 156 | const buildPreviewPictureInPictureDataUrl = (): string => { |
| 157 | 157 | const html = `<!doctype html> |
| 158 | 158 | <html> |
| 159 | 159 | <head> |
| ... | ... | @@ -4271,7 +4271,7 @@ export class PreviewOperationError extends Schema.TaggedErrorClass<PreviewOperat |
| 4271 | 4271 | } |
| 4272 | 4272 | } |
| 4273 | 4273 | |
| 4274 | | export const isPreviewOperationError = Schema.is(PreviewOperationError); |
| 4274 | const isPreviewOperationError = Schema.is(PreviewOperationError); |
| 4275 | 4275 | |
| 4276 | 4276 | export class PreviewArtifactPathOutsideDirectoryError extends Schema.TaggedErrorClass<PreviewArtifactPathOutsideDirectoryError>()( |
| 4277 | 4277 | "PreviewArtifactPathOutsideDirectoryError", |
| ... | ... | @@ -4472,14 +4472,11 @@ export const PreviewManagerError = Schema.Union([ |
| 4472 | 4472 | ]); |
| 4473 | 4473 | export type PreviewManagerError = typeof PreviewManagerError.Type; |
| 4474 | 4474 | |
| 4475 | | export const isPreviewManagerError = Schema.is(PreviewManagerError); |
| 4476 | | export const isPreviewAutomationControlInterruptedError = Schema.is( |
| 4475 | const isPreviewAutomationControlInterruptedError = Schema.is( |
| 4477 | 4476 | PreviewAutomationControlInterruptedError, |
| 4478 | 4477 | ); |
| 4479 | | export const isPreviewAutomationEvaluationError = Schema.is(PreviewAutomationEvaluationError); |
| 4480 | | export const isPreviewAutomationInvalidSelectorError = Schema.is( |
| 4481 | | PreviewAutomationInvalidSelectorError, |
| 4482 | | ); |
| 4478 | const isPreviewAutomationEvaluationError = Schema.is(PreviewAutomationEvaluationError); |
| 4479 | const isPreviewAutomationInvalidSelectorError = Schema.is(PreviewAutomationInvalidSelectorError); |
| 4483 | 4480 | |
| 4484 | 4481 | export class PreviewManager extends Context.Service< |
| 4485 | 4482 | PreviewManager, |
| ... | ... | @@ -4592,6 +4589,7 @@ export class PreviewManager extends Context.Service< |
| 4592 | 4589 | } |
| 4593 | 4590 | >()("@t3tools/desktop/preview/Manager/PreviewManager") {} |
| 4594 | 4591 | |
| 4592 | /** @public Service construction is part of the canonical Effect module API. */ |
| 4595 | 4593 | export const make = Effect.gen(function* PreviewManagerMake() { |
| 4596 | 4594 | const environment = yield* DesktopEnvironment.DesktopEnvironment; |
| 4597 | 4595 | const browserSession = yield* BrowserSession.BrowserSession; |