@vkontakte/videoplayer-interactive 1.0.28 → 1.0.29-dev.6887ae27.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/es2015.cjs.js +7 -7
- package/es2015.esm.js +7 -7
- package/es2018.cjs.js +7 -7
- package/es2018.esm.js +7 -7
- package/esnext.cjs.js +7 -7
- package/esnext.esm.js +7 -7
- package/evergreen.esm.js +7 -7
- package/package.json +4 -4
- package/types/index.d.ts +2 -3
- package/types/manifest/index.d.ts +3 -0
- package/types/{movika.core/manifest/types.d.ts → manifest/utils.d.ts} +23 -6
- package/types/modules/Graph/Graph.d.ts +3 -2
- package/types/modules/Interactives/Interactives.d.ts +20 -18
- package/types/modules/Interactives/Layout.d.ts +7 -7
- package/types/modules/Interactives/containers/ChoiceContainer.d.ts +3 -3
- package/types/modules/Interactives/containers/Container.d.ts +4 -4
- package/types/modules/Interactives/controls/Control.d.ts +3 -4
- package/types/modules/Interactives/controls/types.d.ts +4 -5
- package/types/modules/Interactives/index.d.ts +2 -2
- package/types/modules/Interactives/types.d.ts +3 -3
- package/types/modules/Interactives/utils/GameController.d.ts +18 -15
- package/types/modules/Interactives/utils/GroupsStack.d.ts +5 -5
- package/types/modules/Interactives/utils/HistoryController.d.ts +3 -2
- package/types/modules/Interactives/utils/InteractiveEvents.d.ts +2 -2
- package/types/modules/Interactives/utils/SelectBranches.d.ts +6 -4
- package/types/modules/Interactives/utils/SelectBranches.types.d.ts +18 -14
- package/types/modules/Interactives/utils/events.d.ts +31 -8
- package/types/modules/Interactives/utils/events.types.d.ts +47 -0
- package/types/modules/Interactives/utils/fallbackStrategies.d.ts +6 -6
- package/types/modules/Interactives/utils/gameUtils.d.ts +14 -14
- package/types/modules/Interactives/utils/getInteractiveRanges.d.ts +1 -1
- package/types/modules/Interactives/utils/renderingUtils.d.ts +9 -7
- package/types/modules/Loaders/vkVideoLoader/types.d.ts +2 -2
- package/types/modules/Loaders/vkVideoLoader/utils.d.ts +0 -2
- package/types/modules/ManifestController/ManifestController.d.ts +11 -12
- package/types/modules/ManifestController/utils.d.ts +6 -6
- package/types/modules/SeamlessController/SeamlessController.d.ts +2 -2
- package/types/modules/SeamlessController/utils.d.ts +2 -2
- package/types/modules/SeekToInteractiveController/SeekToInteractiveController.d.ts +2 -2
- package/types/utils/LastFrame.d.ts +1 -1
- package/types/utils/chapterHelpers.d.ts +1 -1
- package/types/utils/extractVkMovieId.d.ts +1 -1
- package/types/movika.core/manifest/index.d.ts +0 -28
- package/types/movika.core/manifest/manifest_3_2/chapter.d.ts +0 -63
- package/types/movika.core/manifest/manifest_3_2/control.d.ts +0 -67
- package/types/movika.core/manifest/manifest_3_2/manifest.d.ts +0 -50
- package/types/movika.core/manifest/manifest_3_2/template.d.ts +0 -34
- package/types/movika.core/manifest/manifest_3_3/chapter.d.ts +0 -72
- package/types/movika.core/manifest/manifest_3_3/control.d.ts +0 -66
- package/types/movika.core/manifest/manifest_3_3/graph.d.ts +0 -73
- package/types/movika.core/manifest/manifest_3_3/manifest.d.ts +0 -52
- package/types/movika.core/manifest/manifest_3_3/template.d.ts +0 -34
- package/types/movika.core/manifest/migrations/index.d.ts +0 -1
- package/types/movika.core/manifest/migrations/migrateManifestToLatestVersion.d.ts +0 -1
- package/types/movika.core/manifest/migrations/migrate_from_3_0_to_3_1.d.ts +0 -21
- package/types/movika.core/manifest/migrations/migrate_from_3_1_to_3_2.d.ts +0 -2
- package/types/movika.core/manifest/migrations/migrate_from_3_2_to_3_3.d.ts +0 -8
- package/types/movika.core/manifest/utils.d.ts +0 -5
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export function migrateManifestToLatestVersion(manifest: any): any;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export const DEFAULT_MANIFEST_VERSION: "3.1";
|
|
2
|
-
export namespace FALLBACK_STRATEGY_TO_ACTION_TYPE {
|
|
3
|
-
let _default: string;
|
|
4
|
-
export { _default as default };
|
|
5
|
-
export let random: string;
|
|
6
|
-
export let weightlessRandom: string;
|
|
7
|
-
export let max: string;
|
|
8
|
-
export let min: string;
|
|
9
|
-
}
|
|
10
|
-
export namespace defaultEvent {
|
|
11
|
-
let type: string;
|
|
12
|
-
namespace action {
|
|
13
|
-
let type_1: string;
|
|
14
|
-
export { type_1 as type };
|
|
15
|
-
export namespace args {
|
|
16
|
-
let shouldOpenNow: boolean;
|
|
17
|
-
let isDetachContainer: boolean;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
export function migrate_from_3_0_to_3_1(manifest: any): any;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { Manifest_3_2 } from '../manifest_3_2/manifest';
|
|
2
|
-
import type { ChapterEvent, ContainerEvent } from '../manifest_3_3/chapter';
|
|
3
|
-
import type { GraphCustomChapter, GraphDesign } from '../manifest_3_3/graph';
|
|
4
|
-
import type { Manifest_3_3 } from '../manifest_3_3/manifest';
|
|
5
|
-
export declare const DEFAULT_MANIFEST_VERSION = "3.3";
|
|
6
|
-
export declare const createDefaultGraphDesign: (chapters?: GraphCustomChapter[] | undefined) => GraphDesign;
|
|
7
|
-
export declare const expectEvent: ContainerEvent & ChapterEvent;
|
|
8
|
-
export declare const migrate_from_3_2_to_3_3: (manifest: Manifest_3_2) => Manifest_3_3;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export function isSupportedManifest(manifestVersion: string): boolean;
|
|
2
|
-
export function isValidManifest(manifest: object): boolean;
|
|
3
|
-
export function isTextControl(controlItem: any): boolean;
|
|
4
|
-
export function isButtonControl(controlItem: any): boolean;
|
|
5
|
-
export function isAreaControl(controlItem: any): boolean;
|