x-state-lib 0.3.20 → 0.3.22

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.
package/dist/index.js CHANGED
@@ -591,15 +591,15 @@ function sa() {
591
591
  const t = {};
592
592
  for (const e in K) {
593
593
  const r = {}, n = K[e];
594
- for (const i in n.props)
595
- r[i] = ia(n.props[i]);
594
+ for (const i in n.properties)
595
+ r[i] = ia(n.properties[i]);
596
596
  t[e] = r;
597
597
  }
598
598
  return t;
599
599
  }
600
600
  function ca() {
601
601
  return {
602
- props: sa()
602
+ properties: sa()
603
603
  };
604
604
  }
605
605
  const fa = (function() {
@@ -84,6 +84,9 @@ export type ActiveObjectApp = {
84
84
  id: string;
85
85
  key: string;
86
86
  alias: string;
87
+ ref?: {
88
+ comp: string | undefined;
89
+ };
87
90
  }[];
88
91
  };
89
92
  export type Depend = {
@@ -1,16 +1,16 @@
1
- import { ZProp } from 'x-runtime-lib';
2
- type Prop = {
1
+ import { ZProperty } from 'x-runtime-lib';
2
+ type Property = {
3
3
  keys: string;
4
4
  names: string[];
5
- raw: ZProp;
5
+ raw: ZProperty;
6
6
  };
7
- type Props = {
7
+ type Properties = {
8
8
  [key: string]: {
9
- [tag: string]: Prop[];
9
+ [tag: string]: Property[];
10
10
  };
11
11
  };
12
12
  export type Runtime = {
13
- props: Props;
13
+ properties: Properties;
14
14
  };
15
15
  export declare function initRuntime(): Runtime;
16
16
  export {};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "x-state-lib",
3
3
  "private": false,
4
- "version": "0.3.20",
4
+ "version": "0.3.22",
5
5
  "type": "module",
6
6
  "module": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
@@ -25,7 +25,7 @@
25
25
  "lodash-es": "^4.17.21",
26
26
  "vue": "^3.5.22",
27
27
  "vuetify": "^3.10.7",
28
- "x-runtime-lib": "^0.8.20"
28
+ "x-runtime-lib": "^0.8.32"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@eslint/js": "^9.38.0",