@vnejs/plugins.views.scenario.interface 0.1.22 → 0.1.24

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,8 +1,8 @@
1
- import { Module, type ModuleGlobalStateRegistry } from "@vnejs/module";
2
- import type { LineExecHandlerArg } from "@vnejs/plugins.core.scenario.contract";
1
+ import { ModuleCore, type ModuleGlobalStateRegistry } from "@vnejs/module.core";
2
+ import type { LineExecHandlerArg } from "@vnejs/module.core";
3
3
  import type { InterfacePluginConstants, InterfacePluginEvents, InterfacePluginParams, InterfacePluginSettings } from "../types.js";
4
4
  import type { InterfaceForcePayload, InterfaceModuleState, InterfaceSpeakerChangedPayload, InterfaceTextChangedPayload, InterfaceViewPayload } from "../utils/interface.js";
5
- export declare class Interface extends Module<InterfacePluginEvents, InterfacePluginConstants, InterfacePluginSettings, InterfacePluginParams, InterfaceModuleState> {
5
+ export declare class Interface extends ModuleCore<InterfacePluginEvents, InterfacePluginConstants, InterfacePluginSettings, InterfacePluginParams, InterfaceModuleState> {
6
6
  name: string;
7
7
  subscribe: () => void;
8
8
  init: () => Promise<unknown[]> | undefined;
@@ -1,6 +1,6 @@
1
- import { Module } from "@vnejs/module";
1
+ import { ModuleCore } from "@vnejs/module.core";
2
2
  import { tokenizeExecLine } from "@vnejs/helpers";
3
- export class Interface extends Module {
3
+ export class Interface extends ModuleCore {
4
4
  name = "interface";
5
5
  subscribe = () => {
6
6
  this.on(this.EVENTS.INTERFACE.INTERACT, this.onInteract);
@@ -1,2 +1,2 @@
1
1
  import type { InterfaceViewProps } from "../../types.js";
2
- export declare const InterfaceBackdrop: ({ view, transition, PARAMS }: InterfaceViewProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const InterfaceBackdrop: ({ view, transition, PARAMS }: InterfaceViewProps) => import("react").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import type { InterfaceViewProps } from "../../types.js";
2
- export declare const InterfaceViewDialog: (props: InterfaceViewProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const InterfaceViewDialog: (props: InterfaceViewProps) => import("react").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import type { InterfaceViewProps } from "../../types.js";
2
- export declare const InterfaceViewLine: (props: InterfaceViewProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const InterfaceViewLine: (props: InterfaceViewProps) => import("react").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import type { InterfaceViewProps } from "../../types.js";
2
- export declare const InterfaceViewWall: (props: InterfaceViewProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const InterfaceViewWall: (props: InterfaceViewProps) => import("react").JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vnejs/plugins.views.scenario.interface",
3
- "version": "0.1.22",
3
+ "version": "0.1.24",
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.scenario.interface.contract": "~0.0.1"
33
+ "@vnejs/plugins.views.scenario.interface.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.core.scenario.contract": "~0.0.1",
40
- "@vnejs/plugins.core.state.contract": "~0.0.1",
41
- "@vnejs/plugins.text.contract": "~0.0.1",
39
+ "@vnejs/plugins.text.contract": "~0.1.0",
42
40
  "@vnejs/shared": "~0.1.0",
43
41
  "@vnejs/uis.react": "~0.1.0",
44
42
  "@vnejs/uis.utils": "~0.1.0"
@@ -1,7 +1,7 @@
1
- import { Module, type ModuleGlobalStateRegistry } from "@vnejs/module";
1
+ import { ModuleCore, type ModuleGlobalStateRegistry } from "@vnejs/module.core";
2
2
  import { tokenizeExecLine } from "@vnejs/helpers";
3
3
 
4
- import type { LineExecHandlerArg } from "@vnejs/plugins.core.scenario.contract";
4
+ import type { LineExecHandlerArg } from "@vnejs/module.core";
5
5
 
6
6
  import type { InterfacePluginConstants, InterfacePluginEvents, InterfacePluginParams, InterfacePluginSettings } from "../types.js";
7
7
  import type {
@@ -12,7 +12,7 @@ import type {
12
12
  InterfaceViewPayload,
13
13
  } from "../utils/interface.js";
14
14
 
15
- export class Interface extends Module<InterfacePluginEvents, InterfacePluginConstants, InterfacePluginSettings, InterfacePluginParams, InterfaceModuleState> {
15
+ export class Interface extends ModuleCore<InterfacePluginEvents, InterfacePluginConstants, InterfacePluginSettings, InterfacePluginParams, InterfaceModuleState> {
16
16
  name = "interface";
17
17
 
18
18
  subscribe = () => {