@ug666/ui-vue 0.1.0
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/components/accordion.vue.d.ts +108 -0
- package/dist/components/accordion.vue.d.ts.map +1 -0
- package/dist/components/alert.vue.d.ts +41 -0
- package/dist/components/alert.vue.d.ts.map +1 -0
- package/dist/components/avatar-group.vue.d.ts +26 -0
- package/dist/components/avatar-group.vue.d.ts.map +1 -0
- package/dist/components/avatar.vue.d.ts +84 -0
- package/dist/components/avatar.vue.d.ts.map +1 -0
- package/dist/components/badge.vue.d.ts +28 -0
- package/dist/components/badge.vue.d.ts.map +1 -0
- package/dist/components/breadcrumb.vue.d.ts +75 -0
- package/dist/components/breadcrumb.vue.d.ts.map +1 -0
- package/dist/components/button.vue.d.ts +48 -0
- package/dist/components/button.vue.d.ts.map +1 -0
- package/dist/components/card.vue.d.ts +63 -0
- package/dist/components/card.vue.d.ts.map +1 -0
- package/dist/components/checkbox.vue.d.ts +42 -0
- package/dist/components/checkbox.vue.d.ts.map +1 -0
- package/dist/components/context/accordion-context.d.ts +22 -0
- package/dist/components/context/accordion-context.d.ts.map +1 -0
- package/dist/components/context/avatar-context.d.ts +8 -0
- package/dist/components/context/avatar-context.d.ts.map +1 -0
- package/dist/components/context/context-menu-context.d.ts +17 -0
- package/dist/components/context/context-menu-context.d.ts.map +1 -0
- package/dist/components/context/drawer-context.d.ts +13 -0
- package/dist/components/context/drawer-context.d.ts.map +1 -0
- package/dist/components/context/dropdown-context.d.ts +13 -0
- package/dist/components/context/dropdown-context.d.ts.map +1 -0
- package/dist/components/context/form-context.d.ts +11 -0
- package/dist/components/context/form-context.d.ts.map +1 -0
- package/dist/components/context/navigation-menu-context.d.ts +14 -0
- package/dist/components/context/navigation-menu-context.d.ts.map +1 -0
- package/dist/components/context/popover-context.d.ts +17 -0
- package/dist/components/context/popover-context.d.ts.map +1 -0
- package/dist/components/context/radio-context.d.ts +13 -0
- package/dist/components/context/radio-context.d.ts.map +1 -0
- package/dist/components/context/tabs-context.d.ts +9 -0
- package/dist/components/context/tabs-context.d.ts.map +1 -0
- package/dist/components/context/tooltip-context.d.ts +13 -0
- package/dist/components/context/tooltip-context.d.ts.map +1 -0
- package/dist/components/context-menu.vue.d.ts +116 -0
- package/dist/components/context-menu.vue.d.ts.map +1 -0
- package/dist/components/descriptions.vue.d.ts +77 -0
- package/dist/components/descriptions.vue.d.ts.map +1 -0
- package/dist/components/dialog.vue.d.ts +37 -0
- package/dist/components/dialog.vue.d.ts.map +1 -0
- package/dist/components/drawer.vue.d.ts +140 -0
- package/dist/components/drawer.vue.d.ts.map +1 -0
- package/dist/components/dropdown.vue.d.ts +137 -0
- package/dist/components/dropdown.vue.d.ts.map +1 -0
- package/dist/components/empty-state.vue.d.ts +37 -0
- package/dist/components/empty-state.vue.d.ts.map +1 -0
- package/dist/components/form.vue.d.ts +167 -0
- package/dist/components/form.vue.d.ts.map +1 -0
- package/dist/components/input.vue.d.ts +56 -0
- package/dist/components/input.vue.d.ts.map +1 -0
- package/dist/components/label.vue.d.ts +30 -0
- package/dist/components/label.vue.d.ts.map +1 -0
- package/dist/components/modal.vue.d.ts +53 -0
- package/dist/components/modal.vue.d.ts.map +1 -0
- package/dist/components/navigation-menu.vue.d.ts +112 -0
- package/dist/components/navigation-menu.vue.d.ts.map +1 -0
- package/dist/components/number-input.vue.d.ts +38 -0
- package/dist/components/number-input.vue.d.ts.map +1 -0
- package/dist/components/otp-input.vue.d.ts +25 -0
- package/dist/components/otp-input.vue.d.ts.map +1 -0
- package/dist/components/pagination.vue.d.ts +21 -0
- package/dist/components/pagination.vue.d.ts.map +1 -0
- package/dist/components/popover.vue.d.ts +100 -0
- package/dist/components/popover.vue.d.ts.map +1 -0
- package/dist/components/progress.vue.d.ts +20 -0
- package/dist/components/progress.vue.d.ts.map +1 -0
- package/dist/components/radio-group.vue.d.ts +41 -0
- package/dist/components/radio-group.vue.d.ts.map +1 -0
- package/dist/components/radio.vue.d.ts +28 -0
- package/dist/components/radio.vue.d.ts.map +1 -0
- package/dist/components/select.vue.d.ts +57 -0
- package/dist/components/select.vue.d.ts.map +1 -0
- package/dist/components/separator.vue.d.ts +14 -0
- package/dist/components/separator.vue.d.ts.map +1 -0
- package/dist/components/sheet.vue.d.ts +54 -0
- package/dist/components/sheet.vue.d.ts.map +1 -0
- package/dist/components/sidebar.vue.d.ts +40 -0
- package/dist/components/sidebar.vue.d.ts.map +1 -0
- package/dist/components/skeleton.vue.d.ts +13 -0
- package/dist/components/skeleton.vue.d.ts.map +1 -0
- package/dist/components/slider.vue.d.ts +34 -0
- package/dist/components/slider.vue.d.ts.map +1 -0
- package/dist/components/spinner.vue.d.ts +16 -0
- package/dist/components/spinner.vue.d.ts.map +1 -0
- package/dist/components/statistic.vue.d.ts +47 -0
- package/dist/components/statistic.vue.d.ts.map +1 -0
- package/dist/components/steps.vue.d.ts +31 -0
- package/dist/components/steps.vue.d.ts.map +1 -0
- package/dist/components/switch.vue.d.ts +32 -0
- package/dist/components/switch.vue.d.ts.map +1 -0
- package/dist/components/table.vue.d.ts +63 -0
- package/dist/components/table.vue.d.ts.map +1 -0
- package/dist/components/tabs.vue.d.ts +114 -0
- package/dist/components/tabs.vue.d.ts.map +1 -0
- package/dist/components/tag.vue.d.ts +45 -0
- package/dist/components/tag.vue.d.ts.map +1 -0
- package/dist/components/textarea.vue.d.ts +54 -0
- package/dist/components/textarea.vue.d.ts.map +1 -0
- package/dist/components/toast-state.d.ts +29 -0
- package/dist/components/toast-state.d.ts.map +1 -0
- package/dist/components/toast.vue.d.ts +12 -0
- package/dist/components/toast.vue.d.ts.map +1 -0
- package/dist/components/tooltip.vue.d.ts +63 -0
- package/dist/components/tooltip.vue.d.ts.map +1 -0
- package/dist/composables/index.cjs +1 -0
- package/dist/composables/index.d.ts +21 -0
- package/dist/composables/index.d.ts.map +1 -0
- package/dist/composables/index.js +2 -0
- package/dist/composables/use-click-outside.d.ts +17 -0
- package/dist/composables/use-click-outside.d.ts.map +1 -0
- package/dist/composables/use-copy-to-clipboard.d.ts +21 -0
- package/dist/composables/use-copy-to-clipboard.d.ts.map +1 -0
- package/dist/composables/use-debounce.d.ts +17 -0
- package/dist/composables/use-debounce.d.ts.map +1 -0
- package/dist/composables/use-event-listener.d.ts +25 -0
- package/dist/composables/use-event-listener.d.ts.map +1 -0
- package/dist/composables/use-form.d.ts +31 -0
- package/dist/composables/use-form.d.ts.map +1 -0
- package/dist/composables/use-hotkeys.d.ts +27 -0
- package/dist/composables/use-hotkeys.d.ts.map +1 -0
- package/dist/composables/use-interval.d.ts +20 -0
- package/dist/composables/use-interval.d.ts.map +1 -0
- package/dist/composables/use-local-storage.d.ts +17 -0
- package/dist/composables/use-local-storage.d.ts.map +1 -0
- package/dist/composables/use-media-query.d.ts +14 -0
- package/dist/composables/use-media-query.d.ts.map +1 -0
- package/dist/composables/use-mounted.d.ts +19 -0
- package/dist/composables/use-mounted.d.ts.map +1 -0
- package/dist/composables/use-pagination.d.ts +36 -0
- package/dist/composables/use-pagination.d.ts.map +1 -0
- package/dist/composables/use-timeout.d.ts +20 -0
- package/dist/composables/use-timeout.d.ts.map +1 -0
- package/dist/composables/use-toast.d.ts +16 -0
- package/dist/composables/use-toast.d.ts.map +1 -0
- package/dist/composables/use-toggle.d.ts +25 -0
- package/dist/composables/use-toggle.d.ts.map +1 -0
- package/dist/composables-BwdwEG7n.js +296 -0
- package/dist/composables-BwdwEG7n.js.map +1 -0
- package/dist/composables-Cxcf-3ov.cjs +2 -0
- package/dist/composables-Cxcf-3ov.cjs.map +1 -0
- package/dist/index.cjs +2 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.ts +53 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +2941 -0
- package/dist/index.js.map +1 -0
- package/dist/tokens.css +9 -0
- package/package.json +51 -0
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { Component } from 'vue';
|
|
2
|
+
interface Props {
|
|
3
|
+
/** 空状态图标组件 */
|
|
4
|
+
icon?: Component;
|
|
5
|
+
/** 标题文字 */
|
|
6
|
+
title?: string;
|
|
7
|
+
/** 描述文字 */
|
|
8
|
+
description?: string;
|
|
9
|
+
/** 容器额外 CSS 类名 */
|
|
10
|
+
class?: string;
|
|
11
|
+
}
|
|
12
|
+
declare function __VLS_template(): {
|
|
13
|
+
attrs: Partial<{}>;
|
|
14
|
+
slots: {
|
|
15
|
+
icon?(_: {}): any;
|
|
16
|
+
title?(_: {}): any;
|
|
17
|
+
description?(_: {}): any;
|
|
18
|
+
action?(_: {}): any;
|
|
19
|
+
};
|
|
20
|
+
refs: {};
|
|
21
|
+
rootEl: HTMLDivElement;
|
|
22
|
+
};
|
|
23
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
24
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
25
|
+
icon: Component;
|
|
26
|
+
class: string;
|
|
27
|
+
title: string;
|
|
28
|
+
description: string;
|
|
29
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
30
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
31
|
+
export default _default;
|
|
32
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
33
|
+
new (): {
|
|
34
|
+
$slots: S;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
//# sourceMappingURL=empty-state.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"empty-state.vue.d.ts","sourceRoot":"","sources":["../../src/components/empty-state.vue"],"names":[],"mappings":"AAKA;AAgEA,OAAO,EAAY,KAAK,SAAS,EAAE,MAAM,KAAK,CAAA;AAO9C,UAAU,KAAK;IACb,cAAc;IACd,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,WAAW;IACX,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW;IACX,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,kBAAkB;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAsBD,iBAAS,cAAc;WAoET,OAAO,IAA6B;;sBAbxB,GAAG;uBACF,GAAG;6BACG,GAAG;wBACR,GAAG;;;;EAe9B;AAUD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;UAjHZ,SAAS;WAMR,MAAM;WAJN,MAAM;iBAEA,MAAM;wFAqHpB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
export declare const UFormField: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
/** 字段名称,用于关联 label/message */
|
|
3
|
+
name: {
|
|
4
|
+
type: StringConstructor;
|
|
5
|
+
required: true;
|
|
6
|
+
};
|
|
7
|
+
/** 字段错误信息,有值时 UFormMessage 显示红色提示 */
|
|
8
|
+
error: {
|
|
9
|
+
type: StringConstructor;
|
|
10
|
+
default: undefined;
|
|
11
|
+
};
|
|
12
|
+
/** 额外 CSS 类名 */
|
|
13
|
+
class: {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
default: undefined;
|
|
16
|
+
};
|
|
17
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
18
|
+
[key: string]: any;
|
|
19
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
20
|
+
/** 字段名称,用于关联 label/message */
|
|
21
|
+
name: {
|
|
22
|
+
type: StringConstructor;
|
|
23
|
+
required: true;
|
|
24
|
+
};
|
|
25
|
+
/** 字段错误信息,有值时 UFormMessage 显示红色提示 */
|
|
26
|
+
error: {
|
|
27
|
+
type: StringConstructor;
|
|
28
|
+
default: undefined;
|
|
29
|
+
};
|
|
30
|
+
/** 额外 CSS 类名 */
|
|
31
|
+
class: {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
default: undefined;
|
|
34
|
+
};
|
|
35
|
+
}>> & Readonly<{}>, {
|
|
36
|
+
class: string;
|
|
37
|
+
error: string;
|
|
38
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
39
|
+
export declare const UFormItem: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
40
|
+
/** 额外 CSS 类名 */
|
|
41
|
+
class: {
|
|
42
|
+
type: StringConstructor;
|
|
43
|
+
default: undefined;
|
|
44
|
+
};
|
|
45
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
46
|
+
[key: string]: any;
|
|
47
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
48
|
+
/** 额外 CSS 类名 */
|
|
49
|
+
class: {
|
|
50
|
+
type: StringConstructor;
|
|
51
|
+
default: undefined;
|
|
52
|
+
};
|
|
53
|
+
}>> & Readonly<{}>, {
|
|
54
|
+
class: string;
|
|
55
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
56
|
+
export declare const UFormLabel: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
57
|
+
/** 是否为必填项,显示红色星号 */
|
|
58
|
+
required: {
|
|
59
|
+
type: BooleanConstructor;
|
|
60
|
+
default: boolean;
|
|
61
|
+
};
|
|
62
|
+
/** 覆盖关联的控件 id */
|
|
63
|
+
for: {
|
|
64
|
+
type: StringConstructor;
|
|
65
|
+
default: undefined;
|
|
66
|
+
};
|
|
67
|
+
/** 额外 CSS 类名 */
|
|
68
|
+
class: {
|
|
69
|
+
type: StringConstructor;
|
|
70
|
+
default: undefined;
|
|
71
|
+
};
|
|
72
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
73
|
+
[key: string]: any;
|
|
74
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
75
|
+
/** 是否为必填项,显示红色星号 */
|
|
76
|
+
required: {
|
|
77
|
+
type: BooleanConstructor;
|
|
78
|
+
default: boolean;
|
|
79
|
+
};
|
|
80
|
+
/** 覆盖关联的控件 id */
|
|
81
|
+
for: {
|
|
82
|
+
type: StringConstructor;
|
|
83
|
+
default: undefined;
|
|
84
|
+
};
|
|
85
|
+
/** 额外 CSS 类名 */
|
|
86
|
+
class: {
|
|
87
|
+
type: StringConstructor;
|
|
88
|
+
default: undefined;
|
|
89
|
+
};
|
|
90
|
+
}>> & Readonly<{}>, {
|
|
91
|
+
class: string;
|
|
92
|
+
for: string;
|
|
93
|
+
required: boolean;
|
|
94
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
95
|
+
export declare const UFormControl: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
96
|
+
/** 额外 CSS 类名 */
|
|
97
|
+
class: {
|
|
98
|
+
type: StringConstructor;
|
|
99
|
+
default: undefined;
|
|
100
|
+
};
|
|
101
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
102
|
+
[key: string]: any;
|
|
103
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
104
|
+
/** 额外 CSS 类名 */
|
|
105
|
+
class: {
|
|
106
|
+
type: StringConstructor;
|
|
107
|
+
default: undefined;
|
|
108
|
+
};
|
|
109
|
+
}>> & Readonly<{}>, {
|
|
110
|
+
class: string;
|
|
111
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
112
|
+
export declare const UFormDescription: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
113
|
+
/** 额外 CSS 类名 */
|
|
114
|
+
class: {
|
|
115
|
+
type: StringConstructor;
|
|
116
|
+
default: undefined;
|
|
117
|
+
};
|
|
118
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
119
|
+
[key: string]: any;
|
|
120
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
121
|
+
/** 额外 CSS 类名 */
|
|
122
|
+
class: {
|
|
123
|
+
type: StringConstructor;
|
|
124
|
+
default: undefined;
|
|
125
|
+
};
|
|
126
|
+
}>> & Readonly<{}>, {
|
|
127
|
+
class: string;
|
|
128
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
129
|
+
export declare const UFormMessage: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
130
|
+
/** 额外 CSS 类名 */
|
|
131
|
+
class: {
|
|
132
|
+
type: StringConstructor;
|
|
133
|
+
default: undefined;
|
|
134
|
+
};
|
|
135
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
136
|
+
[key: string]: any;
|
|
137
|
+
}> | null, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
138
|
+
/** 额外 CSS 类名 */
|
|
139
|
+
class: {
|
|
140
|
+
type: StringConstructor;
|
|
141
|
+
default: undefined;
|
|
142
|
+
};
|
|
143
|
+
}>> & Readonly<{}>, {
|
|
144
|
+
class: string;
|
|
145
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
146
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
147
|
+
/** 额外 CSS 类名 */
|
|
148
|
+
class?: string;
|
|
149
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
150
|
+
submit: (event: SubmitEvent) => any;
|
|
151
|
+
}, string, import('vue').PublicProps, Readonly<{
|
|
152
|
+
/** 额外 CSS 类名 */
|
|
153
|
+
class?: string;
|
|
154
|
+
}> & Readonly<{
|
|
155
|
+
onSubmit?: ((event: SubmitEvent) => any) | undefined;
|
|
156
|
+
}>, {
|
|
157
|
+
class: string;
|
|
158
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLFormElement>, {
|
|
159
|
+
default?(_: {}): any;
|
|
160
|
+
}>;
|
|
161
|
+
export default _default;
|
|
162
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
163
|
+
new (): {
|
|
164
|
+
$slots: S;
|
|
165
|
+
};
|
|
166
|
+
};
|
|
167
|
+
//# sourceMappingURL=form.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form.vue.d.ts","sourceRoot":"","sources":["../../src/components/form.vue"],"names":[],"mappings":"AAsRA,eAAO,MAAM,UAAU;IAGnB,8BAA8B;;;;;IAK9B,qCAAqC;;;;;IAKrC,gBAAgB;;;;;;;;IAVhB,8BAA8B;;;;;IAK9B,qCAAqC;;;;;IAKrC,gBAAgB;;;;;;;;4EAsBlB,CAAA;AAIF,eAAO,MAAM,SAAS;IAGlB,gBAAgB;;;;;;;;IAAhB,gBAAgB;;;;;;;4EAUlB,CAAA;AAIF,eAAO,MAAM,UAAU;IAGnB,oBAAoB;;;;;IAKpB,iBAAiB;;;;;IAKjB,gBAAgB;;;;;;;;IAVhB,oBAAoB;;;;;IAKpB,iBAAiB;;;;;IAKjB,gBAAgB;;;;;;;;;4EAqBlB,CAAA;AAIF,eAAO,MAAM,YAAY;IAGrB,gBAAgB;;;;;;;;IAAhB,gBAAgB;;;;;;;4EA6BlB,CAAA;AAIF,eAAO,MAAM,gBAAgB;IAGzB,gBAAgB;;;;;;;;IAAhB,gBAAgB;;;;;;;4EAalB,CAAA;AAIF,eAAO,MAAM,YAAY;IAGrB,gBAAgB;;;;;;;;IAAhB,gBAAgB;;;;;;;4EAyBlB,CACD;;IAOG,gBAAgB;YACR,MAAM;;;;IADd,gBAAgB;YACR,MAAM;;;;WAAN,MAAM;;qBAuCW,GAAG;;AA9ChC,wBAqFK;AAaL,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
/** 输入框标签文本 */
|
|
3
|
+
label?: string;
|
|
4
|
+
/** 错误提示文本,有值时边框变红 */
|
|
5
|
+
error?: string;
|
|
6
|
+
/** 帮助说明文本 */
|
|
7
|
+
helperText?: string;
|
|
8
|
+
/** 输入框 id,不传则自动生成 */
|
|
9
|
+
id?: string;
|
|
10
|
+
/** 输入框类型 */
|
|
11
|
+
type?: string;
|
|
12
|
+
/** 是否禁用 */
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
/** 占位文本 */
|
|
15
|
+
placeholder?: string;
|
|
16
|
+
/** 额外 CSS 类名 */
|
|
17
|
+
class?: string;
|
|
18
|
+
}
|
|
19
|
+
type __VLS_Props = Props;
|
|
20
|
+
declare function focus(): void;
|
|
21
|
+
declare function blur(): void;
|
|
22
|
+
declare function select(): void;
|
|
23
|
+
type __VLS_PublicProps = {
|
|
24
|
+
modelValue?: string | number | undefined;
|
|
25
|
+
} & __VLS_Props;
|
|
26
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
|
|
27
|
+
focus: typeof focus;
|
|
28
|
+
blur: typeof blur;
|
|
29
|
+
select: typeof select;
|
|
30
|
+
el: import('vue').Ref<HTMLInputElement | null, HTMLInputElement | null>;
|
|
31
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
32
|
+
input: (event: Event) => any;
|
|
33
|
+
blur: (event: FocusEvent) => any;
|
|
34
|
+
focus: (event: FocusEvent) => any;
|
|
35
|
+
change: (event: Event) => any;
|
|
36
|
+
"update:modelValue": (value: string | number | undefined) => any;
|
|
37
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
38
|
+
onInput?: ((event: Event) => any) | undefined;
|
|
39
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
40
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
41
|
+
onChange?: ((event: Event) => any) | undefined;
|
|
42
|
+
"onUpdate:modelValue"?: ((value: string | number | undefined) => any) | undefined;
|
|
43
|
+
}>, {
|
|
44
|
+
disabled: boolean;
|
|
45
|
+
class: string;
|
|
46
|
+
type: string;
|
|
47
|
+
label: string;
|
|
48
|
+
id: string;
|
|
49
|
+
error: string;
|
|
50
|
+
helperText: string;
|
|
51
|
+
placeholder: string;
|
|
52
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
53
|
+
inputRef: HTMLInputElement;
|
|
54
|
+
}, any>;
|
|
55
|
+
export default _default;
|
|
56
|
+
//# sourceMappingURL=input.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"input.vue.d.ts","sourceRoot":"","sources":["../../src/components/input.vue"],"names":[],"mappings":"AAKA;AA0JA,UAAU,KAAK;IACb,cAAc;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,qBAAqB;IACrB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,aAAa;IACb,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,qBAAqB;IACrB,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,YAAY;IACZ,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,WAAW;IACX,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,WAAW;IACX,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,gBAAgB;IAChB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,KAAK,WAAW,GAAG,KAAK,CAAC;AA8DzB,iBAAS,KAAK,SAEb;AAED,iBAAS,IAAI,SAEZ;AAED,iBAAS,MAAM,SAEd;AA4BD,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC;CACxC,GAAG,WAAW,CAAC;;;;;;;;;;;;;;;;;;;cA7GH,OAAO;WAIV,MAAM;UANP,MAAM;WARL,MAAM;QAMT,MAAM;WAJH,MAAM;gBAED,MAAM;iBAQL,MAAM;;;;AAkMtB,wBAUG"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
/** 关联表单控件 id */
|
|
3
|
+
for?: string;
|
|
4
|
+
/** 是否为必填项,显示红色星号 */
|
|
5
|
+
required?: boolean;
|
|
6
|
+
/** 额外 CSS 类名 */
|
|
7
|
+
class?: string;
|
|
8
|
+
}
|
|
9
|
+
declare function __VLS_template(): {
|
|
10
|
+
attrs: Partial<{}>;
|
|
11
|
+
slots: {
|
|
12
|
+
default?(_: {}): any;
|
|
13
|
+
};
|
|
14
|
+
refs: {};
|
|
15
|
+
rootEl: HTMLLabelElement;
|
|
16
|
+
};
|
|
17
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
18
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
19
|
+
class: string;
|
|
20
|
+
for: string;
|
|
21
|
+
required: boolean;
|
|
22
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLLabelElement>;
|
|
23
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
24
|
+
export default _default;
|
|
25
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
26
|
+
new (): {
|
|
27
|
+
$slots: S;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
//# sourceMappingURL=label.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"label.vue.d.ts","sourceRoot":"","sources":["../../src/components/label.vue"],"names":[],"mappings":"AAKA;AAmDA,UAAU,KAAK;IACb,gBAAgB;IAChB,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,oBAAoB;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,gBAAgB;IAChB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAuBD,iBAAS,cAAc;WA+BT,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AAUD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;WAvEX,MAAM;SAJR,MAAM;cAED,OAAO;0FAiFlB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
/** 对话框标题 */
|
|
3
|
+
title?: string;
|
|
4
|
+
/** 内容区域最大宽度类名 */
|
|
5
|
+
maxWidth?: string;
|
|
6
|
+
/** 是否点击遮罩关闭 */
|
|
7
|
+
closeOnOverlay?: boolean;
|
|
8
|
+
/** 是否按下 ESC 关闭 */
|
|
9
|
+
closeOnEsc?: boolean;
|
|
10
|
+
/** 是否显示关闭按钮 */
|
|
11
|
+
showCloseButton?: boolean;
|
|
12
|
+
/** 根节点额外 CSS 类名 */
|
|
13
|
+
class?: string;
|
|
14
|
+
}
|
|
15
|
+
type __VLS_Props = Props;
|
|
16
|
+
type __VLS_PublicProps = {
|
|
17
|
+
'open'?: boolean;
|
|
18
|
+
} & __VLS_Props;
|
|
19
|
+
declare function __VLS_template(): {
|
|
20
|
+
attrs: Partial<{}>;
|
|
21
|
+
slots: {
|
|
22
|
+
header?(_: {}): any;
|
|
23
|
+
default?(_: {}): any;
|
|
24
|
+
footer?(_: {}): any;
|
|
25
|
+
};
|
|
26
|
+
refs: {};
|
|
27
|
+
rootEl: any;
|
|
28
|
+
};
|
|
29
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
30
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
31
|
+
close: () => any;
|
|
32
|
+
openChange: (open: boolean) => any;
|
|
33
|
+
"update:open": (value: boolean) => any;
|
|
34
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
35
|
+
onClose?: (() => any) | undefined;
|
|
36
|
+
onOpenChange?: ((open: boolean) => any) | undefined;
|
|
37
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
38
|
+
}>, {
|
|
39
|
+
class: string;
|
|
40
|
+
title: string;
|
|
41
|
+
maxWidth: string;
|
|
42
|
+
closeOnOverlay: boolean;
|
|
43
|
+
closeOnEsc: boolean;
|
|
44
|
+
showCloseButton: boolean;
|
|
45
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
46
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
47
|
+
export default _default;
|
|
48
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
49
|
+
new (): {
|
|
50
|
+
$slots: S;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
//# sourceMappingURL=modal.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"modal.vue.d.ts","sourceRoot":"","sources":["../../src/components/modal.vue"],"names":[],"mappings":"AAKA;AA0JA,UAAU,KAAK;IACb,YAAY;IACZ,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,iBAAiB;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,eAAe;IACf,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,kBAAkB;IAClB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,eAAe;IACf,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,mBAAmB;IACnB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,KAAK,WAAW,GAAG,KAAK,CAAC;AAwFzB,KAAK,iBAAiB,GAAG;IACzB,MAAM,CAAC,EAAE,OAAO,CAAC;CAChB,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WAgGT,OAAO,IAA6B;;wBAZtB,GAAG;yBACD,GAAG;wBACJ,GAAG;;;;EAe/B;AAgBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;WAxNX,MAAM;WAVN,MAAM;cAEH,MAAM;oBAEA,OAAO;gBAEX,OAAO;qBAEF,OAAO;6EAmOzB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
/** 导航菜单项容器,可包含 Link 或 Trigger + Content */
|
|
2
|
+
export declare const UNavigationMenuItem: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
|
+
/** 额外 CSS 类名 */
|
|
4
|
+
class: {
|
|
5
|
+
type: StringConstructor;
|
|
6
|
+
default: undefined;
|
|
7
|
+
};
|
|
8
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
9
|
+
[key: string]: any;
|
|
10
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
11
|
+
/** 额外 CSS 类名 */
|
|
12
|
+
class: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
default: undefined;
|
|
15
|
+
};
|
|
16
|
+
}>> & Readonly<{}>, {
|
|
17
|
+
class: string;
|
|
18
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
19
|
+
/** 直接跳转的导航链接 */
|
|
20
|
+
export declare const UNavigationMenuLink: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
21
|
+
/** 链接地址 */
|
|
22
|
+
href: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
default: undefined;
|
|
25
|
+
};
|
|
26
|
+
/** 是否为当前激活页 */
|
|
27
|
+
active: {
|
|
28
|
+
type: BooleanConstructor;
|
|
29
|
+
default: boolean;
|
|
30
|
+
};
|
|
31
|
+
/** 额外 CSS 类名 */
|
|
32
|
+
class: {
|
|
33
|
+
type: StringConstructor;
|
|
34
|
+
default: undefined;
|
|
35
|
+
};
|
|
36
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
37
|
+
[key: string]: any;
|
|
38
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
39
|
+
/** 链接地址 */
|
|
40
|
+
href: {
|
|
41
|
+
type: StringConstructor;
|
|
42
|
+
default: undefined;
|
|
43
|
+
};
|
|
44
|
+
/** 是否为当前激活页 */
|
|
45
|
+
active: {
|
|
46
|
+
type: BooleanConstructor;
|
|
47
|
+
default: boolean;
|
|
48
|
+
};
|
|
49
|
+
/** 额外 CSS 类名 */
|
|
50
|
+
class: {
|
|
51
|
+
type: StringConstructor;
|
|
52
|
+
default: undefined;
|
|
53
|
+
};
|
|
54
|
+
}>> & Readonly<{}>, {
|
|
55
|
+
class: string;
|
|
56
|
+
href: string;
|
|
57
|
+
active: boolean;
|
|
58
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
59
|
+
/** 带下拉面板的触发器按钮 */
|
|
60
|
+
export declare const UNavigationMenuTrigger: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
61
|
+
/** 额外 CSS 类名 */
|
|
62
|
+
class: {
|
|
63
|
+
type: StringConstructor;
|
|
64
|
+
default: undefined;
|
|
65
|
+
};
|
|
66
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
67
|
+
[key: string]: any;
|
|
68
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
69
|
+
/** 额外 CSS 类名 */
|
|
70
|
+
class: {
|
|
71
|
+
type: StringConstructor;
|
|
72
|
+
default: undefined;
|
|
73
|
+
};
|
|
74
|
+
}>> & Readonly<{}>, {
|
|
75
|
+
class: string;
|
|
76
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
77
|
+
/** 下拉面板内容 */
|
|
78
|
+
export declare const UNavigationMenuContent: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
79
|
+
/** 额外 CSS 类名 */
|
|
80
|
+
class: {
|
|
81
|
+
type: StringConstructor;
|
|
82
|
+
default: undefined;
|
|
83
|
+
};
|
|
84
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
85
|
+
[key: string]: any;
|
|
86
|
+
}> | null, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
87
|
+
/** 额外 CSS 类名 */
|
|
88
|
+
class: {
|
|
89
|
+
type: StringConstructor;
|
|
90
|
+
default: undefined;
|
|
91
|
+
};
|
|
92
|
+
}>> & Readonly<{}>, {
|
|
93
|
+
class: string;
|
|
94
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
95
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
96
|
+
/** 额外 CSS 类名 */
|
|
97
|
+
class?: string;
|
|
98
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
99
|
+
/** 额外 CSS 类名 */
|
|
100
|
+
class?: string;
|
|
101
|
+
}> & Readonly<{}>, {
|
|
102
|
+
class: string;
|
|
103
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLElement>, {
|
|
104
|
+
default?(_: {}): any;
|
|
105
|
+
}>;
|
|
106
|
+
export default _default;
|
|
107
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
108
|
+
new (): {
|
|
109
|
+
$slots: S;
|
|
110
|
+
};
|
|
111
|
+
};
|
|
112
|
+
//# sourceMappingURL=navigation-menu.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"navigation-menu.vue.d.ts","sourceRoot":"","sources":["../../src/components/navigation-menu.vue"],"names":[],"mappings":"AAoQA,2CAA2C;AAC3C,eAAO,MAAM,mBAAmB;IAG5B,gBAAgB;;;;;;;;IAAhB,gBAAgB;;;;;;;4EAmClB,CAAA;AAEF,gBAAgB;AAChB,eAAO,MAAM,mBAAmB;IAG5B,WAAW;;;;;IAKX,eAAe;;;;;IAKf,gBAAgB;;;;;;;;IAVhB,WAAW;;;;;IAKX,eAAe;;;;;IAKf,gBAAgB;;;;;;;;;4EAoBlB,CAAA;AAEF,kBAAkB;AAClB,eAAO,MAAM,sBAAsB;IAG/B,gBAAgB;;;;;;;;IAAhB,gBAAgB;;;;;;;4EAuClB,CAAA;AAEF,aAAa;AACb,eAAO,MAAM,sBAAsB;IAG/B,gBAAgB;;;;;;;;IAAhB,gBAAgB;;;;;;;4EAuBlB,CACD;;IAOC,gBAAgB;YACR,MAAM;;IADd,gBAAgB;YACR,MAAM;;WAAN,MAAM;;qBAoCa,GAAG;;AA3ChC,wBA+EK;AAaL,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
type NumberInputSize = 'sm' | 'default' | 'lg';
|
|
2
|
+
interface Props {
|
|
3
|
+
/** 当前值,配合 v-model 使用 */
|
|
4
|
+
modelValue?: number;
|
|
5
|
+
/** 初始值(非受控) */
|
|
6
|
+
defaultValue?: number;
|
|
7
|
+
/** 最小值 */
|
|
8
|
+
min?: number;
|
|
9
|
+
/** 最大值 */
|
|
10
|
+
max?: number;
|
|
11
|
+
/** 步进值,默认 1 */
|
|
12
|
+
step?: number;
|
|
13
|
+
/** 小数位数,默认 0 */
|
|
14
|
+
precision?: number;
|
|
15
|
+
/** 是否禁用 */
|
|
16
|
+
disabled?: boolean;
|
|
17
|
+
/** 占位文本 */
|
|
18
|
+
placeholder?: string;
|
|
19
|
+
/** 尺寸变体 */
|
|
20
|
+
size?: NumberInputSize;
|
|
21
|
+
/** 额外 class */
|
|
22
|
+
class?: string;
|
|
23
|
+
}
|
|
24
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
25
|
+
change: (value: number) => any;
|
|
26
|
+
"update:modelValue": (value: number) => any;
|
|
27
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
28
|
+
onChange?: ((value: number) => any) | undefined;
|
|
29
|
+
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
30
|
+
}>, {
|
|
31
|
+
size: NumberInputSize;
|
|
32
|
+
disabled: boolean;
|
|
33
|
+
defaultValue: number;
|
|
34
|
+
step: number;
|
|
35
|
+
precision: number;
|
|
36
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
37
|
+
export default _default;
|
|
38
|
+
//# sourceMappingURL=number-input.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"number-input.vue.d.ts","sourceRoot":"","sources":["../../src/components/number-input.vue"],"names":[],"mappings":"AAKA;AAoNA,KAAK,eAAe,GAAG,IAAI,GAAG,SAAS,GAAG,IAAI,CAAA;AAE9C,UAAU,KAAK;IACb,wBAAwB;IACxB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,eAAe;IACf,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,UAAU;IACV,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,UAAU;IACV,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,eAAe;IACf,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,gBAAgB;IAChB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,WAAW;IACX,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,WAAW;IACX,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,WAAW;IACX,IAAI,CAAC,EAAE,eAAe,CAAA;IACtB,eAAe;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;;;;;;;;UAHQ,eAAe;cAJX,OAAO;kBAVH,MAAM;UAMd,MAAM;eAED,MAAM;;AAyNpB,wBASG"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
/** 验证码位数,默认 6 */
|
|
3
|
+
length?: number;
|
|
4
|
+
/** 是否禁用 */
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
/** 根节点额外 CSS 类名 */
|
|
7
|
+
class?: string;
|
|
8
|
+
}
|
|
9
|
+
type __VLS_Props = Props;
|
|
10
|
+
type __VLS_PublicProps = {
|
|
11
|
+
modelValue?: string;
|
|
12
|
+
} & __VLS_Props;
|
|
13
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
14
|
+
"update:modelValue": (value: string) => any;
|
|
15
|
+
complete: (value: string) => any;
|
|
16
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
17
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
18
|
+
onComplete?: ((value: string) => any) | undefined;
|
|
19
|
+
}>, {
|
|
20
|
+
disabled: boolean;
|
|
21
|
+
class: string;
|
|
22
|
+
length: number;
|
|
23
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
24
|
+
export default _default;
|
|
25
|
+
//# sourceMappingURL=otp-input.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"otp-input.vue.d.ts","sourceRoot":"","sources":["../../src/components/otp-input.vue"],"names":[],"mappings":"AAsKA,UAAU,KAAK;IACb,iBAAiB;IACjB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,WAAW;IACX,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,mBAAmB;IACnB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,KAAK,WAAW,GAAG,KAAK,CAAC;AAmHzB,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC;CACnB,GAAG,WAAW,CAAC;;;;;;;;cA1HH,OAAO;WAEV,MAAM;YAJL,MAAM;;AAqMjB,wBASG"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
/** 总页数 */
|
|
3
|
+
totalPages: number;
|
|
4
|
+
/** 额外 CSS 类名 */
|
|
5
|
+
class?: string;
|
|
6
|
+
}
|
|
7
|
+
type __VLS_Props = Props;
|
|
8
|
+
type __VLS_PublicProps = {
|
|
9
|
+
'page'?: number;
|
|
10
|
+
} & __VLS_Props;
|
|
11
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
|
+
pageChange: (page: number) => any;
|
|
13
|
+
"update:page": (value: number) => any;
|
|
14
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
15
|
+
onPageChange?: ((page: number) => any) | undefined;
|
|
16
|
+
"onUpdate:page"?: ((value: number) => any) | undefined;
|
|
17
|
+
}>, {
|
|
18
|
+
class: string;
|
|
19
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
20
|
+
export default _default;
|
|
21
|
+
//# sourceMappingURL=pagination.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pagination.vue.d.ts","sourceRoot":"","sources":["../../src/components/pagination.vue"],"names":[],"mappings":"AAKA;AAgJA,UAAU,KAAK;IACb,UAAU;IACV,UAAU,EAAE,MAAM,CAAA;IAClB,gBAAgB;IAChB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,KAAK,WAAW,GAAG,KAAK,CAAC;AAwEzB,KAAK,iBAAiB,GAAG;IACzB,MAAM,CAAC,EAAE,MAAM,CAAC;CACf,GAAG,WAAW,CAAC;;;;;;;;WA7EN,MAAM;;AA4LhB,wBASG"}
|