x-runtime-lib 0.8.19 → 0.8.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.
@@ -5,7 +5,7 @@ export interface Node {
5
5
  alias?: string;
6
6
  };
7
7
  ref?: {
8
- comp: undefined | string;
8
+ comp: string | undefined;
9
9
  };
10
10
  children?: Node[];
11
11
  }
@@ -4,4 +4,5 @@ export * from './context';
4
4
  export * from './data';
5
5
  export * from './depend';
6
6
  export * from './element';
7
+ export * from './kind';
7
8
  export * from './meta';
@@ -0,0 +1,6 @@
1
+ export type PropertyKind = 'elementProperty' | 'refProperty' | 'customProperty' | 'elementSlotProperty' | 'customSlotProperty';
2
+ export type MethodKind = 'elementMethod' | 'refMethod' | 'customMethod' | 'elementSlotMethod' | 'customSlotMethod';
3
+ export type EventKind = 'elementEvent' | 'refEvent' | 'customEvent' | 'propertyChangeEvent' | 'stateChangeEvent';
4
+ export declare function toPropertyName(names: string[], kind: PropertyKind): string;
5
+ export declare function toMethodName(names: string[], kind: MethodKind): string;
6
+ export declare function toEventName(names: string[], kind: EventKind): string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "x-runtime-lib",
3
3
  "private": false,
4
- "version": "0.8.19",
4
+ "version": "0.8.21",
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.1.12",
36
36
  "vuetify": "^3.10.7",
37
37
  "x-error-lib": "^0.5.9",
38
- "x-essential-lib": "^0.9.1"
38
+ "x-essential-lib": "^0.9.2"
39
39
  },
40
40
  "devDependencies": {
41
41
  "@eslint/js": "^9.38.0",