x-runtime-lib 0.8.167 → 0.8.168

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.
@@ -49,7 +49,11 @@ export declare class Sandbox {
49
49
  }): Promise<{
50
50
  [key: string]: any;
51
51
  }>;
52
- callElementSlotMethod(): Promise<void>;
52
+ callElementSlotMethod(methodKey: string, inputs: {
53
+ [key: string]: any;
54
+ }): Promise<{
55
+ [key: string]: any;
56
+ }>;
53
57
  private states;
54
58
  resetStates(): void;
55
59
  getState(stateId: string): any;
@@ -177,10 +177,17 @@ export type ZEvent = {
177
177
  name: string;
178
178
  params?: ZField[];
179
179
  };
180
+ export type ZSlotProperty = {
181
+ key: string;
182
+ name: string;
183
+ type: Type;
184
+ readonly?: boolean;
185
+ };
180
186
  export type ZSlot = {
181
187
  key: string;
182
188
  name: string;
183
- properties?: ZField[];
189
+ multiple?: boolean;
190
+ properties?: ZSlotProperty[];
184
191
  methods?: ZMethod[];
185
192
  events?: ZEvent[];
186
193
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "x-runtime-lib",
3
3
  "private": false,
4
- "version": "0.8.167",
4
+ "version": "0.8.168",
5
5
  "type": "module",
6
6
  "module": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
@@ -35,7 +35,7 @@
35
35
  "vue-i18n": "^11.2.8",
36
36
  "vuetify": "^3.11.6",
37
37
  "x-error-lib": "^0.5.11",
38
- "x-essential-lib": "^0.9.20"
38
+ "x-essential-lib": "^0.9.21"
39
39
  },
40
40
  "devDependencies": {
41
41
  "@eslint/js": "^9.39.2",