x-runtime-lib 0.7.20 → 0.7.21

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.
@@ -0,0 +1,3 @@
1
+ export declare function useReactive(): {
2
+ reactives: any;
3
+ };
package/dist/index.js CHANGED
@@ -6819,6 +6819,7 @@ async function Xa(t) {
6819
6819
  export {
6820
6820
  qa as badgeV1,
6821
6821
  xt as barChartV1,
6822
+ Za as basicTypes,
6822
6823
  xi as breakpoints,
6823
6824
  rr as btnGroupV1,
6824
6825
  ar as btnToggleV1,
@@ -6838,7 +6839,6 @@ export {
6838
6839
  Da as duplicateNodes,
6839
6840
  re as elements,
6840
6841
  Ua as ensureContext,
6841
- Za as fieldTypes,
6842
6842
  Ja as fileInputV1,
6843
6843
  Ct as flexLayoutEntryV1,
6844
6844
  he as flexLayoutV1,
@@ -1,25 +1,32 @@
1
- export declare const fieldTypes: readonly ["string", "number", "boolean", "list", "object"];
2
- export type FieldType = (typeof fieldTypes)[number];
1
+ export declare const basicTypes: readonly ["string", "number", "boolean", "list", "object"];
2
+ export type BasicType = (typeof basicTypes)[number];
3
3
  export type Field = {
4
4
  id: string;
5
5
  name: string;
6
- type: FieldType;
6
+ type: BasicType;
7
+ desc: string;
8
+ };
9
+ export type Reactive = {
10
+ id: string;
11
+ name: string;
12
+ type: BasicType;
7
13
  desc: string;
8
14
  };
9
15
  export type Argument = {
10
16
  id: string;
11
17
  name: string;
12
- type: FieldType;
18
+ type: BasicType;
13
19
  desc: string;
14
20
  };
15
21
  export type PageMeta = {
16
22
  version: string;
17
23
  arguments: Argument[];
24
+ reactives: Reactive[];
18
25
  };
19
26
  export type Property = {
20
27
  id: string;
21
28
  name: string;
22
- type: FieldType;
29
+ type: BasicType;
23
30
  desc: string;
24
31
  };
25
32
  export type Method = {
@@ -40,4 +47,5 @@ export type CompMeta = {
40
47
  properties: Property[];
41
48
  methods: Method[];
42
49
  events: Event[];
50
+ reactives: Reactive[];
43
51
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "x-runtime-lib",
3
3
  "private": false,
4
- "version": "0.7.20",
4
+ "version": "0.7.21",
5
5
  "type": "module",
6
6
  "module": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
@@ -31,7 +31,7 @@
31
31
  "vue-i18n": "^11.1.11",
32
32
  "vuetify": "^3.9.3",
33
33
  "x-error-lib": "^0.5.5",
34
- "x-essential-lib": "^0.8.26"
34
+ "x-essential-lib": "^0.8.27"
35
35
  },
36
36
  "devDependencies": {
37
37
  "@eslint/js": "^9.32.0",