@a2simcode/ui 0.0.63 → 0.0.64

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.
@@ -112,7 +112,7 @@ export interface LayerProvideType {
112
112
  */
113
113
  export interface PageProvideType {
114
114
  /** 注册方法到事件总线 */
115
- registerMethod: (id: string, method: string, handler: (...args: any[]) => void) => () => void;
115
+ registerMethod: (id: string, handler: (method: string, ...args: any[]) => void) => () => void;
116
116
  [key: string]: any;
117
117
  }
118
118
  /**
@@ -17,8 +17,8 @@ export declare const JPage: {
17
17
  call: (id: string, method: string, options: {
18
18
  immediate?: boolean;
19
19
  } | null, ...args: any[]) => any;
20
- on: (id: string, method: string, handler: (...args: any[]) => void) => void;
21
- off: (id: string, method: string, handler?: (...args: any[]) => void) => void;
20
+ on: (id: string, handler: (method: string, ...args: any[]) => void) => void;
21
+ off: (id: string, handler?: (method: string, ...args: any[]) => void) => void;
22
22
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
23
23
  actions: Record<string, any>;
24
24
  noPadding: boolean;
@@ -48,8 +48,8 @@ export declare const JPage: {
48
48
  call: (id: string, method: string, options: {
49
49
  immediate?: boolean;
50
50
  } | null, ...args: any[]) => any;
51
- on: (id: string, method: string, handler: (...args: any[]) => void) => void;
52
- off: (id: string, method: string, handler?: (...args: any[]) => void) => void;
51
+ on: (id: string, handler: (method: string, ...args: any[]) => void) => void;
52
+ off: (id: string, handler?: (method: string, ...args: any[]) => void) => void;
53
53
  }, {}, {}, {}, {
54
54
  actions: Record<string, any>;
55
55
  noPadding: boolean;
@@ -76,8 +76,8 @@ export declare const JPage: {
76
76
  call: (id: string, method: string, options: {
77
77
  immediate?: boolean;
78
78
  } | null, ...args: any[]) => any;
79
- on: (id: string, method: string, handler: (...args: any[]) => void) => void;
80
- off: (id: string, method: string, handler?: (...args: any[]) => void) => void;
79
+ on: (id: string, handler: (method: string, ...args: any[]) => void) => void;
80
+ off: (id: string, handler?: (method: string, ...args: any[]) => void) => void;
81
81
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
82
82
  actions: Record<string, any>;
83
83
  noPadding: boolean;
@@ -27,8 +27,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
27
27
  call: (id: string, method: string, options: {
28
28
  immediate?: boolean;
29
29
  } | null, ...args: any[]) => any;
30
- on: (id: string, method: string, handler: (...args: any[]) => void) => void;
31
- off: (id: string, method: string, handler?: (...args: any[]) => void) => void;
30
+ on: (id: string, handler: (method: string, ...args: any[]) => void) => void;
31
+ off: (id: string, handler?: (method: string, ...args: any[]) => void) => void;
32
32
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
33
33
  /**
34
34
  * @zh 模版