@vnejs/plugins.views.screens.credits 0.1.13 → 0.1.15
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.
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import type { LineExecHandlerArg } from "@vnejs/
|
|
1
|
+
import { ModuleCore } from "@vnejs/module.core";
|
|
2
|
+
import type { LineExecHandlerArg } from "@vnejs/module.core";
|
|
3
3
|
import type { CreditsPluginConstants, CreditsPluginEvents, CreditsPluginParams, CreditsPluginSettings } from "../types.js";
|
|
4
|
-
export declare class Credits extends
|
|
4
|
+
export declare class Credits extends ModuleCore<CreditsPluginEvents, CreditsPluginConstants, CreditsPluginSettings, CreditsPluginParams> {
|
|
5
5
|
name: string;
|
|
6
6
|
init: () => Promise<unknown[]> | undefined;
|
|
7
7
|
onLineExec: ({ line }?: LineExecHandlerArg) => Promise<unknown[]> | undefined;
|
package/dist/modules/credits.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { tokenizeExecLine } from "@vnejs/helpers";
|
|
2
|
-
import {
|
|
3
|
-
export class Credits extends
|
|
2
|
+
import { ModuleCore } from "@vnejs/module.core";
|
|
3
|
+
export class Credits extends ModuleCore {
|
|
4
4
|
name = "credits";
|
|
5
5
|
init = () => this.emit(this.EVENTS.SCENARIO.LINE_EXEC_REG, { module: this.name, handler: this.onLineExec });
|
|
6
6
|
onLineExec = ({ line = "" } = {}) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vnejs/plugins.views.screens.credits",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.15",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -30,15 +30,13 @@
|
|
|
30
30
|
"author": "",
|
|
31
31
|
"license": "ISC",
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@vnejs/plugins.views.screens.credits.contract": "~0.0
|
|
33
|
+
"@vnejs/plugins.views.screens.credits.contract": "~0.1.0"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
36
|
"@vnejs/helpers": "~0.1.0",
|
|
37
|
-
"@vnejs/module": "~0.1.0",
|
|
37
|
+
"@vnejs/module.core": "~0.1.0",
|
|
38
38
|
"@vnejs/module.components": "~0.1.0",
|
|
39
|
-
"@vnejs/plugins.controls.contract": "~0.0
|
|
40
|
-
"@vnejs/plugins.core.scenario.contract": "~0.0.1",
|
|
41
|
-
"@vnejs/plugins.core.state.contract": "~0.0.1",
|
|
39
|
+
"@vnejs/plugins.controls.contract": "~0.1.0",
|
|
42
40
|
"@vnejs/shared": "~0.1.0",
|
|
43
41
|
"@vnejs/uis.react": "~0.1.0"
|
|
44
42
|
},
|
package/src/modules/credits.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { tokenizeExecLine } from "@vnejs/helpers";
|
|
2
|
-
import {
|
|
2
|
+
import { ModuleCore } from "@vnejs/module.core";
|
|
3
3
|
|
|
4
|
-
import type { LineExecHandlerArg } from "@vnejs/
|
|
4
|
+
import type { LineExecHandlerArg } from "@vnejs/module.core";
|
|
5
5
|
|
|
6
6
|
import type { CreditsPluginConstants, CreditsPluginEvents, CreditsPluginParams, CreditsPluginSettings } from "../types.js";
|
|
7
7
|
|
|
8
|
-
export class Credits extends
|
|
8
|
+
export class Credits extends ModuleCore<CreditsPluginEvents, CreditsPluginConstants, CreditsPluginSettings, CreditsPluginParams> {
|
|
9
9
|
name = "credits";
|
|
10
10
|
|
|
11
11
|
init = () => this.emit(this.EVENTS.SCENARIO.LINE_EXEC_REG, { module: this.name, handler: this.onLineExec });
|