wui-components-v2 1.1.6 → 1.1.7
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/index.d.ts
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 核心组件包类型声明文件
|
|
3
|
+
*/
|
|
4
|
+
|
|
1
5
|
import type { App } from 'vue'
|
|
2
6
|
import type { ConfigProviderThemeVars } from 'wot-design-uni'
|
|
3
7
|
|
|
@@ -30,7 +34,7 @@ declare const coms: Component[]
|
|
|
30
34
|
* 批量注册组件
|
|
31
35
|
* @param app Vue 应用实例
|
|
32
36
|
*/
|
|
33
|
-
declare function install(app: App): void
|
|
37
|
+
export declare function install(app: App): void
|
|
34
38
|
|
|
35
39
|
// useLocale 组合式函数返回类型
|
|
36
40
|
export interface UseLocaleReturn {
|
|
@@ -71,16 +75,16 @@ export interface UseThemeReturn {
|
|
|
71
75
|
}
|
|
72
76
|
|
|
73
77
|
// 组合式API函数类型声明
|
|
74
|
-
declare function useLocale(): UseLocaleReturn
|
|
75
|
-
declare function useManualTheme(): UseManualThemeReturn
|
|
76
|
-
declare function useTheme(): UseThemeReturn
|
|
78
|
+
export declare function useLocale(): UseLocaleReturn
|
|
79
|
+
export declare function useManualTheme(): UseManualThemeReturn
|
|
80
|
+
export declare function useTheme(): UseThemeReturn
|
|
77
81
|
|
|
78
82
|
// 导出声明
|
|
79
|
-
export { SystemSettings
|
|
83
|
+
export { SystemSettings }
|
|
80
84
|
|
|
81
85
|
// 导出常量
|
|
82
|
-
export const themeColorOptions: ThemeColorOption[]
|
|
83
|
-
export const LocaleOptions: LocaleOption[]
|
|
86
|
+
export declare const themeColorOptions: ThemeColorOption[]
|
|
87
|
+
export declare const LocaleOptions: LocaleOption[]
|
|
84
88
|
|
|
85
89
|
// 默认导出 install 函数
|
|
86
90
|
export default install
|