x-runtime-lib 0.8.132 → 0.8.133

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,5 +1,6 @@
1
1
  import { RefContext } from '@/types';
2
2
  type __VLS_Props = {
3
+ nodeId: string;
3
4
  refContext: RefContext;
4
5
  value: any;
5
6
  };
@@ -1,4 +1,3 @@
1
- import { ElementProps } from '@/types';
2
1
  interface Params {
3
2
  inputs: {
4
3
  [key: string]: any;
@@ -7,5 +6,5 @@ interface Params {
7
6
  [key: string]: any;
8
7
  };
9
8
  }
10
- export declare function useElementMethod(props: ElementProps, methodKey: string, hook: (params: Params) => void): void;
9
+ export declare function useElementMethod(nodeId: string, methodKey: string, hook: (params: Params) => void): void;
11
10
  export {};
@@ -0,0 +1,10 @@
1
+ interface Params {
2
+ inputs: {
3
+ [key: string]: any;
4
+ };
5
+ outputs: {
6
+ [key: string]: any;
7
+ };
8
+ }
9
+ export declare function useElementSlotMethod(nodeId: string, elementKey: string, slotKey: string, methodKey: string, hook: (params: Params) => void): void;
10
+ export {};
@@ -0,0 +1 @@
1
+ export declare function useElementSlotProperty(): void;
@@ -2,3 +2,5 @@ export * from './elementBase';
2
2
  export * from './elementDebug';
3
3
  export * from './elementMethod';
4
4
  export * from './elementProperty';
5
+ export * from './elementSlotMethod';
6
+ export * from './elementSlotProperty';