x-runtime-lib 0.1.1 → 0.1.3

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,2 +1,2 @@
1
- import { ItemMeta } from '../../../../types';
2
- export declare const densityItemsV1: ItemMeta[];
1
+ import { ZItemMeta } from '../../../../types';
2
+ export declare const densityItemsV1: ZItemMeta[];
@@ -1,2 +1,2 @@
1
- import { EventMeta } from '../../../../types';
2
- export declare const events: EventMeta[];
1
+ import { ZEventMeta } from '../../../../types';
2
+ export declare const events: ZEventMeta[];
@@ -1,2 +1,2 @@
1
- import { MethodMeta } from '../../../../types';
2
- export declare const methods: MethodMeta[];
1
+ import { ZMethodMeta } from '../../../../types';
2
+ export declare const methods: ZMethodMeta[];
@@ -1,5 +1,5 @@
1
- import { PropMeta } from '../../../../types';
1
+ import { ZPropMeta } from '../../../../types';
2
2
  export declare const props: {
3
- pageCommon: PropMeta[];
4
- compCommon: PropMeta[];
3
+ pageCommon: ZPropMeta[];
4
+ compCommon: ZPropMeta[];
5
5
  };
@@ -1,4 +1,4 @@
1
- export type EventMeta = {
1
+ export type ZEventMeta = {
2
2
  key: string;
3
3
  name: string;
4
4
  params?: {
@@ -6,7 +6,7 @@ export type EventMeta = {
6
6
  name: string;
7
7
  }[];
8
8
  };
9
- export type MethodMeta = {
9
+ export type ZMethodMeta = {
10
10
  key: string;
11
11
  name: string;
12
12
  inputs?: {
@@ -18,16 +18,17 @@ export type MethodMeta = {
18
18
  name: string;
19
19
  }[];
20
20
  };
21
- export type ItemMeta = {
21
+ export type ZItemMeta = {
22
22
  title: string;
23
23
  value: string;
24
24
  };
25
- export type PropMeta = {
25
+ export type ZPropMeta = {
26
26
  key: string;
27
+ keyFlag?: boolean;
27
28
  name: string;
29
+ children?: ZPropMeta[];
28
30
  ui?: 'void' | 'strInput' | 'numInput' | 'select';
31
+ items?: ZItemMeta[];
32
+ array?: boolean;
29
33
  default?: unknown;
30
- items?: ItemMeta[];
31
- parent?: boolean;
32
- children?: PropMeta[];
33
34
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "x-runtime-lib",
3
3
  "private": false,
4
- "version": "0.1.1",
4
+ "version": "0.1.3",
5
5
  "type": "module",
6
6
  "module": "dist/index.js",
7
7
  "types": "dist/index.d.ts",