@ruixinkeji/prism-ui 1.0.11 → 1.0.12
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/components.d.ts +80 -0
- package/package.json +2 -1
package/components.d.ts
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Prism UI - 组件类型定义
|
|
3
|
+
*/
|
|
4
|
+
import { DefineComponent } from 'vue'
|
|
5
|
+
|
|
6
|
+
// 导航栏组件
|
|
7
|
+
export declare const PrismNavBar: DefineComponent<{
|
|
8
|
+
title: string
|
|
9
|
+
icon?: string
|
|
10
|
+
iconColor?: string
|
|
11
|
+
glass?: boolean
|
|
12
|
+
showBack?: boolean
|
|
13
|
+
}>
|
|
14
|
+
|
|
15
|
+
// 底部导航组件
|
|
16
|
+
export declare const PrismTabBar: DefineComponent<{
|
|
17
|
+
current: string
|
|
18
|
+
glass?: boolean
|
|
19
|
+
tabs?: Array<{ path: string; text: string; icon: string }>
|
|
20
|
+
}>
|
|
21
|
+
|
|
22
|
+
// 开关组件
|
|
23
|
+
export declare const PrismSwitch: DefineComponent<{
|
|
24
|
+
modelValue: boolean
|
|
25
|
+
onText?: string
|
|
26
|
+
offText?: string
|
|
27
|
+
showText?: boolean
|
|
28
|
+
square?: boolean
|
|
29
|
+
disabled?: boolean
|
|
30
|
+
}>
|
|
31
|
+
|
|
32
|
+
// 验证码输入
|
|
33
|
+
export declare const PrismCodeInput: DefineComponent<{
|
|
34
|
+
modelValue: string
|
|
35
|
+
length?: number
|
|
36
|
+
}>
|
|
37
|
+
|
|
38
|
+
// 安全密码输入
|
|
39
|
+
export declare const PrismSecureInput: DefineComponent<{
|
|
40
|
+
modelValue: string
|
|
41
|
+
length?: number
|
|
42
|
+
title?: string
|
|
43
|
+
randomOrder?: boolean
|
|
44
|
+
}>
|
|
45
|
+
|
|
46
|
+
// 日期时间选择器
|
|
47
|
+
export declare const PrismDateTimePicker: DefineComponent<{
|
|
48
|
+
modelValue: string | number | Date
|
|
49
|
+
mode?: 'picker' | 'calendar'
|
|
50
|
+
showTime?: boolean
|
|
51
|
+
placeholder?: string
|
|
52
|
+
}>
|
|
53
|
+
|
|
54
|
+
// 城市选择器
|
|
55
|
+
export declare const PrismCityPicker: DefineComponent<{
|
|
56
|
+
modelValue: Array<{ code: string; name: string }>
|
|
57
|
+
mode?: 'picker' | 'cascade'
|
|
58
|
+
level?: number
|
|
59
|
+
placeholder?: string
|
|
60
|
+
}>
|
|
61
|
+
|
|
62
|
+
// 图片选择器
|
|
63
|
+
export declare const PrismImagePicker: DefineComponent<{
|
|
64
|
+
modelValue: string
|
|
65
|
+
defaultImages?: string[]
|
|
66
|
+
uploadText?: string
|
|
67
|
+
disabled?: boolean
|
|
68
|
+
}>
|
|
69
|
+
|
|
70
|
+
// 身份证输入
|
|
71
|
+
export declare const PrismIdCardInput: DefineComponent<{
|
|
72
|
+
modelValue: string
|
|
73
|
+
showInfo?: boolean
|
|
74
|
+
placeholder?: string
|
|
75
|
+
}>
|
|
76
|
+
|
|
77
|
+
// 车牌号输入
|
|
78
|
+
export declare const PrismLicensePlateInput: DefineComponent<{
|
|
79
|
+
modelValue: string
|
|
80
|
+
}>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ruixinkeji/prism-ui",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.12",
|
|
4
4
|
"description": "Prism UI - 现代化玻璃态设计 uni-app 组件库",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "index.esm.js",
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
"store",
|
|
14
14
|
"utils",
|
|
15
15
|
"easycom.json",
|
|
16
|
+
"components.d.ts",
|
|
16
17
|
"index.js",
|
|
17
18
|
"index.esm.js",
|
|
18
19
|
"index.d.ts",
|