@dxos/plugin-presenter 0.8.4-staging.60fe92afc8 → 0.9.1-main.c7dcc2e112
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/dist/lib/neutral/{CollectionPresenterArticle-DFREOQTG.mjs → CollectionPresenterArticle-ZRYWBX2H.mjs} +7 -6
- package/dist/lib/neutral/CollectionPresenterArticle-ZRYWBX2H.mjs.map +7 -0
- package/dist/lib/neutral/{DocumentPresenterContainer-KCDZ2O2C.mjs → DocumentPresenterContainer-5QF4P736.mjs} +7 -6
- package/dist/lib/neutral/DocumentPresenterContainer-5QF4P736.mjs.map +7 -0
- package/dist/lib/neutral/PresenterPlugin.mjs +10 -3
- package/dist/lib/neutral/PresenterPlugin.mjs.map +4 -4
- package/dist/lib/neutral/{PresenterSettings-2G4XD4QY.mjs → PresenterSettings-4YFP4K5G.mjs} +3 -3
- package/dist/lib/neutral/{PresenterSettings-2G4XD4QY.mjs.map → PresenterSettings-4YFP4K5G.mjs.map} +3 -3
- package/dist/lib/neutral/{app-graph-builder-DIEDSRPX.mjs → app-graph-builder-JMQVBFG2.mjs} +7 -23
- package/dist/lib/neutral/app-graph-builder-JMQVBFG2.mjs.map +7 -0
- package/dist/lib/neutral/capabilities/index.mjs +7 -3
- package/dist/lib/neutral/capabilities/index.mjs.map +3 -3
- package/dist/lib/neutral/chunk-63IF7OXT.mjs +19 -0
- package/dist/lib/neutral/chunk-63IF7OXT.mjs.map +7 -0
- package/dist/lib/neutral/{chunk-VVALMI52.mjs → chunk-H5JLSLAO.mjs} +7 -3
- package/dist/lib/neutral/chunk-H5JLSLAO.mjs.map +7 -0
- package/dist/lib/neutral/chunk-MSQDHOPV.mjs +47 -0
- package/dist/lib/neutral/chunk-MSQDHOPV.mjs.map +7 -0
- package/dist/lib/neutral/components/index.mjs +87 -18
- package/dist/lib/neutral/components/index.mjs.map +4 -4
- package/dist/lib/neutral/containers/index.mjs +2 -2
- package/dist/lib/neutral/index.mjs +2 -2
- package/dist/lib/neutral/markdown-extension-HGLRVZDF.mjs +37 -0
- package/dist/lib/neutral/markdown-extension-HGLRVZDF.mjs.map +7 -0
- package/dist/lib/neutral/meta.json +1 -1
- package/dist/lib/neutral/meta.mjs +1 -1
- package/dist/lib/neutral/operation-handler-3ZESW5AK.mjs +13 -0
- package/dist/lib/neutral/operation-handler-3ZESW5AK.mjs.map +7 -0
- package/dist/lib/neutral/operations/index.mjs +9 -0
- package/dist/lib/neutral/operations/index.mjs.map +7 -0
- package/dist/lib/neutral/plugin.mjs +1 -1
- package/dist/lib/neutral/{react-surface-SPJGAJIF.mjs → react-surface-YGBE3TDK.mjs} +4 -4
- package/dist/lib/neutral/react-surface-YGBE3TDK.mjs.map +7 -0
- package/dist/lib/neutral/{settings-R6LRDAAK.mjs → settings-DBV7N5HT.mjs} +3 -3
- package/dist/lib/neutral/{settings-R6LRDAAK.mjs.map → settings-DBV7N5HT.mjs.map} +3 -3
- package/dist/lib/neutral/toggle-presentation-PH7ZJJDD.mjs +60 -0
- package/dist/lib/neutral/toggle-presentation-PH7ZJJDD.mjs.map +7 -0
- package/dist/lib/neutral/translations.mjs +1 -1
- package/dist/lib/neutral/translations.mjs.map +3 -3
- package/dist/lib/neutral/types/index.mjs +1 -1
- package/dist/types/dx.config.d.ts +28 -0
- package/dist/types/dx.config.d.ts.map +1 -0
- package/dist/types/src/PresenterPlugin.d.ts.map +1 -1
- package/dist/types/src/capabilities/app-graph-builder.d.ts.map +1 -1
- package/dist/types/src/capabilities/index.d.ts +6 -3
- package/dist/types/src/capabilities/index.d.ts.map +1 -1
- package/dist/types/src/capabilities/markdown-extension.d.ts +9 -0
- package/dist/types/src/capabilities/markdown-extension.d.ts.map +1 -0
- package/dist/types/src/capabilities/operation-handler.d.ts +6 -0
- package/dist/types/src/capabilities/operation-handler.d.ts.map +1 -0
- package/dist/types/src/capabilities/react-surface.d.ts +2 -2
- package/dist/types/src/capabilities/react-surface.d.ts.map +1 -1
- package/dist/types/src/components/Presenter/PresentationShell.d.ts +18 -0
- package/dist/types/src/components/Presenter/PresentationShell.d.ts.map +1 -0
- package/dist/types/src/components/Presenter/index.d.ts +1 -0
- package/dist/types/src/components/Presenter/index.d.ts.map +1 -1
- package/dist/types/src/containers/CollectionPresenterArticle/CollectionPresenterArticle.d.ts.map +1 -1
- package/dist/types/src/containers/DocumentPresenterContainer/DocumentPresenterContainer.d.ts.map +1 -1
- package/dist/types/src/meta.d.ts +28 -2
- package/dist/types/src/meta.d.ts.map +1 -1
- package/dist/types/src/operations/index.d.ts +3 -0
- package/dist/types/src/operations/index.d.ts.map +1 -0
- package/dist/types/src/operations/toggle-presentation.d.ts +10 -0
- package/dist/types/src/operations/toggle-presentation.d.ts.map +1 -0
- package/dist/types/src/paths.d.ts +3 -0
- package/dist/types/src/paths.d.ts.map +1 -0
- package/dist/types/src/types/PresenterCapabilities.d.ts.map +1 -1
- package/dist/types/src/types/PresenterOperation.d.ts +2 -1
- package/dist/types/src/types/PresenterOperation.d.ts.map +1 -1
- package/dist/types/src/useExitPresenter.d.ts +6 -1
- package/dist/types/src/useExitPresenter.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/dx.config.ts +37 -0
- package/package.json +30 -22
- package/src/PresenterPlugin.test.ts +1 -1
- package/src/PresenterPlugin.tsx +9 -2
- package/src/capabilities/app-graph-builder.ts +5 -21
- package/src/capabilities/index.ts +6 -0
- package/src/capabilities/markdown-extension.ts +45 -0
- package/src/capabilities/operation-handler.ts +16 -0
- package/src/capabilities/react-surface.tsx +7 -7
- package/src/capabilities/settings.ts +2 -2
- package/src/components/Presenter/PresentationShell.tsx +96 -0
- package/src/components/Presenter/index.ts +1 -0
- package/src/components/PresenterSettings/PresenterSettings.tsx +2 -2
- package/src/containers/CollectionPresenterArticle/CollectionPresenterArticle.tsx +14 -20
- package/src/containers/DocumentPresenterContainer/DocumentPresenterContainer.tsx +4 -2
- package/src/meta.ts +2 -30
- package/src/operations/index.ts +7 -0
- package/src/operations/toggle-presentation.ts +59 -0
- package/src/paths.ts +8 -0
- package/src/translations.ts +1 -1
- package/src/types/PresenterCapabilities.ts +3 -1
- package/src/types/PresenterOperation.ts +3 -2
- package/src/useExitPresenter.ts +13 -26
- package/dist/lib/neutral/CollectionPresenterArticle-DFREOQTG.mjs.map +0 -7
- package/dist/lib/neutral/DocumentPresenterContainer-KCDZ2O2C.mjs.map +0 -7
- package/dist/lib/neutral/app-graph-builder-DIEDSRPX.mjs.map +0 -7
- package/dist/lib/neutral/chunk-PPL2FF6R.mjs +0 -38
- package/dist/lib/neutral/chunk-PPL2FF6R.mjs.map +0 -7
- package/dist/lib/neutral/chunk-V323QBC3.mjs +0 -41
- package/dist/lib/neutral/chunk-V323QBC3.mjs.map +0 -7
- package/dist/lib/neutral/chunk-VVALMI52.mjs.map +0 -7
- package/dist/lib/neutral/react-surface-SPJGAJIF.mjs.map +0 -7
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAEzD,eAAO,MAAM,eAAe,iEAA0E,CAAC;AACvG,eAAO,MAAM,iBAAiB,iEAA6E,CAAC;AAC5G,eAAO,MAAM,gBAAgB,oGAG5B,CAAC;AACF,eAAO,MAAM,YAAY,iEAAmE,CAAC;AAC7F,eAAO,MAAM,iBAAiB,iEAAmE,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as Effect from 'effect/Effect';
|
|
2
|
+
import { Capability } from '@dxos/app-framework';
|
|
3
|
+
/**
|
|
4
|
+
* Contributes the present shortcut (Shift+Cmd+P) to the markdown editor so presentation
|
|
5
|
+
* can be toggled while editing without relying on the global navtree keyboard context.
|
|
6
|
+
*/
|
|
7
|
+
declare const _default: (props: void) => Effect.Effect<Capability.Capability<Capability.InterfaceDef<import("@dxos/plugin-markdown").MarkdownExtensionProvider[]>>, never, Capability.Service>;
|
|
8
|
+
export default _default;
|
|
9
|
+
//# sourceMappingURL=markdown-extension.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"markdown-extension.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/markdown-extension.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAgB,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAM/D;;;GAGG"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as Effect from 'effect/Effect';
|
|
2
|
+
import { Capability } from '@dxos/app-framework';
|
|
3
|
+
import type { OperationHandlerSet } from '@dxos/compute';
|
|
4
|
+
declare const _default: (props: OperationHandlerSet.OperationHandlerSet) => Effect.Effect<Capability.ModuleReturn, Error, Capability.Service>;
|
|
5
|
+
export default _default;
|
|
6
|
+
//# sourceMappingURL=operation-handler.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operation-handler.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/operation-handler.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAgB,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAC/D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as Effect from 'effect/Effect';
|
|
2
|
-
import {
|
|
3
|
-
declare const _default: (props: void) => Effect.Effect<Capability.Capability<Capability.InterfaceDef<
|
|
2
|
+
import { Capability } from '@dxos/app-framework';
|
|
3
|
+
declare const _default: (props: void) => Effect.Effect<Capability.Capability<Capability.InterfaceDef<any>>, never, never>;
|
|
4
4
|
export default _default;
|
|
5
5
|
//# sourceMappingURL=react-surface.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"react-surface.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/react-surface.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,
|
|
1
|
+
{"version":3,"file":"react-surface.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/react-surface.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAgB,UAAU,EAAE,MAAM,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React, { type PropsWithChildren } from 'react';
|
|
2
|
+
export type PresentationShellProps = PropsWithChildren<{
|
|
3
|
+
/** Invoked once the exit fade-out has completed. */
|
|
4
|
+
onExit?: () => void;
|
|
5
|
+
/** Fade-in/out duration (ms). */
|
|
6
|
+
fadeDuration?: number;
|
|
7
|
+
/** Duration the [ESC] hint remains visible (ms). */
|
|
8
|
+
hintDuration?: number;
|
|
9
|
+
}>;
|
|
10
|
+
/**
|
|
11
|
+
* Wraps presentation content with a fade-in/out transition, an ESC handler that exits in a
|
|
12
|
+
* single keypress (intercepting before the deck's fullscreen handler), and a transient [ESC]
|
|
13
|
+
* caption shown on enter.
|
|
14
|
+
*/
|
|
15
|
+
export declare const PresentationShell: React.ForwardRefExoticComponent<Omit<PresentationShellProps, "className"> & {
|
|
16
|
+
classNames?: import("@dxos/ui-types").ClassNameValue;
|
|
17
|
+
} & Pick<React.HTMLAttributes<Element>, "children" | "className" | "role" | "style"> & React.RefAttributes<HTMLDivElement>>;
|
|
18
|
+
//# sourceMappingURL=PresentationShell.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PresentationShell.d.ts","sourceRoot":"","sources":["../../../../../src/components/Presenter/PresentationShell.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAA4C,MAAM,OAAO,CAAC;AAKhG,MAAM,MAAM,sBAAsB,GAAG,iBAAiB,CAAC;IACrD,oDAAoD;IACpD,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,iCAAiC;IACjC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,oDAAoD;IACpD,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC,CAAC;AAEH;;;;GAIG;AACH,eAAO,MAAM,iBAAiB;;2HAwE7B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Presenter/index.ts"],"names":[],"mappings":"AAIA,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Presenter/index.ts"],"names":[],"mappings":"AAIA,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,qBAAqB,CAAC"}
|
package/dist/types/src/containers/CollectionPresenterArticle/CollectionPresenterArticle.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CollectionPresenterArticle.d.ts","sourceRoot":"","sources":["../../../../../src/containers/CollectionPresenterArticle/CollectionPresenterArticle.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAGpD,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,KAAK,UAAU,EAAO,MAAM,YAAY,CAAC;AAQlD,MAAM,MAAM,+BAA+B,GAAG,UAAU,CAAC,kBAAkB,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC;AAEnG,eAAO,MAAM,0BAA0B,kCAAmC,+BAA+B,
|
|
1
|
+
{"version":3,"file":"CollectionPresenterArticle.d.ts","sourceRoot":"","sources":["../../../../../src/containers/CollectionPresenterArticle/CollectionPresenterArticle.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAGpD,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,KAAK,UAAU,EAAO,MAAM,YAAY,CAAC;AAQlD,MAAM,MAAM,+BAA+B,GAAG,UAAU,CAAC,kBAAkB,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC;AAEnG,eAAO,MAAM,0BAA0B,kCAAmC,+BAA+B,sBAyBxG,CAAC"}
|
package/dist/types/src/containers/DocumentPresenterContainer/DocumentPresenterContainer.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DocumentPresenterContainer.d.ts","sourceRoot":"","sources":["../../../../../src/containers/DocumentPresenterContainer/DocumentPresenterContainer.tsx"],"names":[],"mappings":"AAIA,OAAc,EAAE,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAOtD,eAAO,MAAM,0BAA0B,EAAE,EAAE,CAAC;IAAE,QAAQ,EAAE,QAAQ,CAAC,QAAQ,CAAA;CAAE,
|
|
1
|
+
{"version":3,"file":"DocumentPresenterContainer.d.ts","sourceRoot":"","sources":["../../../../../src/containers/DocumentPresenterContainer/DocumentPresenterContainer.tsx"],"names":[],"mappings":"AAIA,OAAc,EAAE,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAOtD,eAAO,MAAM,0BAA0B,EAAE,EAAE,CAAC;IAAE,QAAQ,EAAE,QAAQ,CAAC,QAAQ,CAAA;CAAE,CAY1E,CAAC"}
|
package/dist/types/src/meta.d.ts
CHANGED
|
@@ -1,3 +1,29 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
export declare const meta: {
|
|
2
|
+
readonly profile: {
|
|
3
|
+
readonly key: string;
|
|
4
|
+
readonly name: string;
|
|
5
|
+
readonly description?: string | undefined;
|
|
6
|
+
readonly homePage?: string | undefined;
|
|
7
|
+
readonly source?: string | undefined;
|
|
8
|
+
readonly tags?: readonly string[] | undefined;
|
|
9
|
+
readonly screenshots?: readonly {
|
|
10
|
+
readonly light?: string | undefined;
|
|
11
|
+
readonly dark?: string | undefined;
|
|
12
|
+
}[] | undefined;
|
|
13
|
+
readonly icon?: {
|
|
14
|
+
readonly key: string;
|
|
15
|
+
readonly hue?: string | undefined;
|
|
16
|
+
} | undefined;
|
|
17
|
+
readonly dependsOn?: readonly string[] | undefined;
|
|
18
|
+
readonly spec?: string | undefined;
|
|
19
|
+
readonly author?: string | undefined;
|
|
20
|
+
};
|
|
21
|
+
readonly release?: {
|
|
22
|
+
readonly version: string;
|
|
23
|
+
readonly moduleUrl: string;
|
|
24
|
+
readonly dependencies?: {
|
|
25
|
+
readonly [x: string]: string;
|
|
26
|
+
} | undefined;
|
|
27
|
+
} | undefined;
|
|
28
|
+
};
|
|
3
29
|
//# sourceMappingURL=meta.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../src/meta.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../src/meta.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAmC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/operations/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAEpD,eAAO,MAAM,4BAA4B,yCAAkE,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Operation } from '@dxos/compute';
|
|
2
|
+
import { PresenterOperation } from '#types';
|
|
3
|
+
/**
|
|
4
|
+
* Enters or exits presentation for the given object. When `state` is omitted the
|
|
5
|
+
* current presentation state is toggled. Entering fullscreens the presenter companion;
|
|
6
|
+
* exiting reverts fullscreen and re-opens the source object.
|
|
7
|
+
*/
|
|
8
|
+
declare const handler: Operation.WithHandler<typeof PresenterOperation.TogglePresentation>;
|
|
9
|
+
export default handler;
|
|
10
|
+
//# sourceMappingURL=toggle-presentation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toggle-presentation.d.ts","sourceRoot":"","sources":["../../../../src/operations/toggle-presentation.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAI1C,OAAO,EAAE,kBAAkB,EAAE,MAAM,QAAQ,CAAC;AAI5C;;;;GAIG;AACH,QAAA,MAAM,OAAO,EAAE,SAAS,CAAC,WAAW,CAAC,OAAO,kBAAkB,CAAC,kBAAkB,CAmC9E,CAAC;eAEW,OAAO"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"paths.d.ts","sourceRoot":"","sources":["../../../src/paths.ts"],"names":[],"mappings":"AAMA,iFAAiF;AACjF,eAAO,MAAM,mBAAmB,eAAgB,MAAM,KAAG,MAAuD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PresenterCapabilities.d.ts","sourceRoot":"","sources":["../../../../src/types/PresenterCapabilities.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAEpD,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAMjD,eAAO,MAAM,QAAQ,
|
|
1
|
+
{"version":3,"file":"PresenterCapabilities.d.ts","sourceRoot":"","sources":["../../../../src/types/PresenterCapabilities.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAEpD,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAMjD,eAAO,MAAM,QAAQ,sGAEpB,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Capability } from '@dxos/app-framework';
|
|
1
2
|
import { Operation } from '@dxos/compute';
|
|
2
3
|
export declare const TogglePresentation: Operation.Definition<{
|
|
3
4
|
readonly object: ({
|
|
@@ -13,5 +14,5 @@ export declare const TogglePresentation: Operation.Definition<{
|
|
|
13
14
|
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & import("@dxos/echo/Obj").Unknown>;
|
|
14
15
|
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object>);
|
|
15
16
|
readonly state?: boolean | undefined;
|
|
16
|
-
}, void,
|
|
17
|
+
}, void, Capability.Service>;
|
|
17
18
|
//# sourceMappingURL=PresenterOperation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PresenterOperation.d.ts","sourceRoot":"","sources":["../../../../src/types/PresenterOperation.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"PresenterOperation.d.ts","sourceRoot":"","sources":["../../../../src/types/PresenterOperation.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAQ1C,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;4BAY7B,CAAC"}
|
|
@@ -1,5 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Exits presentation for the given object. Delegates to the toggle operation so the
|
|
3
|
+
* fullscreen-revert and re-open run sequentially in a single handler — invoking them
|
|
4
|
+
* separately races, leaving the deck stuck in fullscreen.
|
|
5
|
+
*/
|
|
1
6
|
export declare const useExitPresenter: (object: any) => () => Promise<{
|
|
2
|
-
data?:
|
|
7
|
+
data?: void | undefined;
|
|
3
8
|
error?: Error;
|
|
4
9
|
}>;
|
|
5
10
|
//# sourceMappingURL=useExitPresenter.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useExitPresenter.d.ts","sourceRoot":"","sources":["../../../src/useExitPresenter.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useExitPresenter.d.ts","sourceRoot":"","sources":["../../../src/useExitPresenter.ts"],"names":[],"mappings":"AAUA;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,WAAY,GAAG;;;EAO3C,CAAC"}
|