x-runtime-lib 0.7.23 → 0.7.25

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,7 +1,7 @@
1
1
  import { BaseProps } from '../../../../../types';
2
- declare var __VLS_10: {};
2
+ declare var __VLS_7: {};
3
3
  type __VLS_Slots = {} & {
4
- default?: (props: typeof __VLS_10) => any;
4
+ default?: (props: typeof __VLS_7) => any;
5
5
  };
6
6
  declare const __VLS_component: import("vue").DefineComponent<BaseProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<BaseProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
7
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
@@ -1,4 +1,4 @@
1
- import { ComputedRef, Ref } from 'vue';
2
- export declare function useColorV1(dark: Ref<boolean>, raw: ComputedRef<any>): {
3
- color: ComputedRef<any>;
1
+ import { Ref } from 'vue';
2
+ export declare function useColorV1(dark: Ref<boolean>, raw: Ref<any>): {
3
+ color: import("vue").ComputedRef<any>;
4
4
  };
@@ -0,0 +1,4 @@
1
+ import { Ref } from 'vue';
2
+ export declare function useThemeV1(dark: Ref<boolean>): {
3
+ theme: import("vue").ComputedRef<"dark" | "light">;
4
+ };
@@ -0,0 +1,2 @@
1
+ import { BaseProps, Sandbox } from '../../../types';
2
+ export declare function useCallMethod(sandbox: Sandbox, props: BaseProps, hook: (params: unknown) => void): void;
@@ -0,0 +1,4 @@
1
+ import { BaseProps, Sandbox } from '../../../types';
2
+ export declare function useProp(sandbox: Sandbox, props: BaseProps, keys: string[], json?: boolean): {
3
+ prop: import("vue").Ref<any, any>;
4
+ };
@@ -0,0 +1,3 @@
1
+ export declare function useReactive(): {
2
+ reactives: any;
3
+ };
@@ -0,0 +1,4 @@
1
+ import { Ref } from 'vue';
2
+ export declare function useTheme(dark: Ref<boolean>): {
3
+ theme: import("vue").ComputedRef<"dark" | "light">;
4
+ };
@@ -8,4 +8,6 @@ export * from './common/color/v1';
8
8
  export * from './common/margin/v1';
9
9
  export * from './common/padding/v1';
10
10
  export * from './common/size/v1';
11
- export * from './misc/method';
11
+ export * from './core/method';
12
+ export * from './core/prop';
13
+ export * from './core/theme';