tool_ui1 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/affix/Affix.vue.d.ts +29 -0
- package/dist/affix/Affix.vue.d.ts.map +1 -0
- package/dist/affix/index.d.ts +49 -0
- package/dist/affix/index.d.ts.map +1 -0
- package/dist/avatar/Avatar.vue.d.ts +29 -0
- package/dist/avatar/Avatar.vue.d.ts.map +1 -0
- package/dist/avatar/index.d.ts +49 -0
- package/dist/avatar/index.d.ts.map +1 -0
- package/dist/button/Button.vue.d.ts +56 -0
- package/dist/button/Button.vue.d.ts.map +1 -0
- package/dist/button/index.d.ts +126 -0
- package/dist/button/index.d.ts.map +1 -0
- package/dist/card/Card.vue.d.ts +24 -0
- package/dist/card/Card.vue.d.ts.map +1 -0
- package/dist/card/index.d.ts +32 -0
- package/dist/card/index.d.ts.map +1 -0
- package/dist/checkbox/Checkbox.vue.d.ts +44 -0
- package/dist/checkbox/Checkbox.vue.d.ts.map +1 -0
- package/dist/checkbox/CheckboxGroup.vue.d.ts +31 -0
- package/dist/checkbox/CheckboxGroup.vue.d.ts.map +1 -0
- package/dist/checkbox/context.d.ts +9 -0
- package/dist/checkbox/context.d.ts.map +1 -0
- package/dist/checkbox/index.d.ts +125 -0
- package/dist/checkbox/index.d.ts.map +1 -0
- package/dist/dialog/Dialog.vue.d.ts +42 -0
- package/dist/dialog/Dialog.vue.d.ts.map +1 -0
- package/dist/dialog/index.d.ts +83 -0
- package/dist/dialog/index.d.ts.map +1 -0
- package/dist/index.d.ts +21 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/input/Input.vue.d.ts +24 -0
- package/dist/input/Input.vue.d.ts.map +1 -0
- package/dist/input/index.d.ts +29 -0
- package/dist/input/index.d.ts.map +1 -0
- package/dist/input-label/InputLabel.vue.d.ts +35 -0
- package/dist/input-label/InputLabel.vue.d.ts.map +1 -0
- package/dist/input-label/index.d.ts +42 -0
- package/dist/input-label/index.d.ts.map +1 -0
- package/dist/menu/Menu.vue.d.ts +22 -0
- package/dist/menu/Menu.vue.d.ts.map +1 -0
- package/dist/menu/index.d.ts +20 -0
- package/dist/menu/index.d.ts.map +1 -0
- package/dist/message/Message.vue.d.ts +25 -0
- package/dist/message/Message.vue.d.ts.map +1 -0
- package/dist/message/index.d.ts +64 -0
- package/dist/message/index.d.ts.map +1 -0
- package/dist/radio/Radio.vue.d.ts +32 -0
- package/dist/radio/Radio.vue.d.ts.map +1 -0
- package/dist/radio/RadioGroup.vue.d.ts +30 -0
- package/dist/radio/RadioGroup.vue.d.ts.map +1 -0
- package/dist/radio/context.d.ts +8 -0
- package/dist/radio/context.d.ts.map +1 -0
- package/dist/radio/index.d.ts +102 -0
- package/dist/radio/index.d.ts.map +1 -0
- package/dist/select/Select.vue.d.ts +19 -0
- package/dist/select/Select.vue.d.ts.map +1 -0
- package/dist/select/index.d.ts +25 -0
- package/dist/select/index.d.ts.map +1 -0
- package/dist/style.css +1 -0
- package/dist/switch/Switch.vue.d.ts +20 -0
- package/dist/switch/Switch.vue.d.ts.map +1 -0
- package/dist/switch/index.d.ts +24 -0
- package/dist/switch/index.d.ts.map +1 -0
- package/dist/table/Table.vue.d.ts +81 -0
- package/dist/table/Table.vue.d.ts.map +1 -0
- package/dist/table/index.d.ts +105 -0
- package/dist/table/index.d.ts.map +1 -0
- package/dist/tag/Tag.vue.d.ts +31 -0
- package/dist/tag/Tag.vue.d.ts.map +1 -0
- package/dist/tag/index.d.ts +53 -0
- package/dist/tag/index.d.ts.map +1 -0
- package/dist/theme/applyTheme.d.ts +5 -0
- package/dist/theme/applyTheme.d.ts.map +1 -0
- package/dist/theme/createThemeCode.d.ts +3 -0
- package/dist/theme/createThemeCode.d.ts.map +1 -0
- package/dist/theme/index.cjs +3 -0
- package/dist/theme/index.d.ts +4 -0
- package/dist/theme/index.d.ts.map +1 -0
- package/dist/theme/index.js +45 -0
- package/dist/theme/tokens.d.ts +23 -0
- package/dist/theme/tokens.d.ts.map +1 -0
- package/dist/theme-editor/ThemeEditor.vue.d.ts +8 -0
- package/dist/theme-editor/ThemeEditor.vue.d.ts.map +1 -0
- package/dist/theme-editor/ThemeEditorDialog.vue.d.ts +16 -0
- package/dist/theme-editor/ThemeEditorDialog.vue.d.ts.map +1 -0
- package/dist/theme-editor/index.d.ts +3 -0
- package/dist/theme-editor/index.d.ts.map +1 -0
- package/dist/u1design.cjs +1 -0
- package/dist/u1design.js +1252 -0
- package/package.json +54 -0
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
export declare const U1Checkbox: {
|
|
2
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
3
|
+
modelValue?: import('./context').U1CheckboxValue;
|
|
4
|
+
label?: import('./context').U1CheckboxValue;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
indeterminate?: boolean;
|
|
7
|
+
trueValue?: import('./context').U1CheckboxValue;
|
|
8
|
+
falseValue?: import('./context').U1CheckboxValue;
|
|
9
|
+
}> & Readonly<{
|
|
10
|
+
"onUpdate:modelValue"?: ((value: import('./context').U1CheckboxValue) => any) | undefined;
|
|
11
|
+
onChange?: ((value: import('./context').U1CheckboxValue) => any) | undefined;
|
|
12
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
13
|
+
"update:modelValue": (value: import('./context').U1CheckboxValue) => any;
|
|
14
|
+
change: (value: import('./context').U1CheckboxValue) => any;
|
|
15
|
+
}, import('vue').PublicProps, {
|
|
16
|
+
disabled: boolean;
|
|
17
|
+
label: import('./context').U1CheckboxValue;
|
|
18
|
+
modelValue: import('./context').U1CheckboxValue;
|
|
19
|
+
indeterminate: boolean;
|
|
20
|
+
trueValue: import('./context').U1CheckboxValue;
|
|
21
|
+
falseValue: import('./context').U1CheckboxValue;
|
|
22
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
23
|
+
inputRef: HTMLInputElement;
|
|
24
|
+
}, HTMLLabelElement, import('vue').ComponentProvideOptions, {
|
|
25
|
+
P: {};
|
|
26
|
+
B: {};
|
|
27
|
+
D: {};
|
|
28
|
+
C: {};
|
|
29
|
+
M: {};
|
|
30
|
+
Defaults: {};
|
|
31
|
+
}, Readonly<{
|
|
32
|
+
modelValue?: import('./context').U1CheckboxValue;
|
|
33
|
+
label?: import('./context').U1CheckboxValue;
|
|
34
|
+
disabled?: boolean;
|
|
35
|
+
indeterminate?: boolean;
|
|
36
|
+
trueValue?: import('./context').U1CheckboxValue;
|
|
37
|
+
falseValue?: import('./context').U1CheckboxValue;
|
|
38
|
+
}> & Readonly<{
|
|
39
|
+
"onUpdate:modelValue"?: ((value: import('./context').U1CheckboxValue) => any) | undefined;
|
|
40
|
+
onChange?: ((value: import('./context').U1CheckboxValue) => any) | undefined;
|
|
41
|
+
}>, {}, {}, {}, {}, {
|
|
42
|
+
disabled: boolean;
|
|
43
|
+
label: import('./context').U1CheckboxValue;
|
|
44
|
+
modelValue: import('./context').U1CheckboxValue;
|
|
45
|
+
indeterminate: boolean;
|
|
46
|
+
trueValue: import('./context').U1CheckboxValue;
|
|
47
|
+
falseValue: import('./context').U1CheckboxValue;
|
|
48
|
+
}>;
|
|
49
|
+
__isFragment?: never;
|
|
50
|
+
__isTeleport?: never;
|
|
51
|
+
__isSuspense?: never;
|
|
52
|
+
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
53
|
+
modelValue?: import('./context').U1CheckboxValue;
|
|
54
|
+
label?: import('./context').U1CheckboxValue;
|
|
55
|
+
disabled?: boolean;
|
|
56
|
+
indeterminate?: boolean;
|
|
57
|
+
trueValue?: import('./context').U1CheckboxValue;
|
|
58
|
+
falseValue?: import('./context').U1CheckboxValue;
|
|
59
|
+
}> & Readonly<{
|
|
60
|
+
"onUpdate:modelValue"?: ((value: import('./context').U1CheckboxValue) => any) | undefined;
|
|
61
|
+
onChange?: ((value: import('./context').U1CheckboxValue) => any) | undefined;
|
|
62
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
63
|
+
"update:modelValue": (value: import('./context').U1CheckboxValue) => any;
|
|
64
|
+
change: (value: import('./context').U1CheckboxValue) => any;
|
|
65
|
+
}, string, {
|
|
66
|
+
disabled: boolean;
|
|
67
|
+
label: import('./context').U1CheckboxValue;
|
|
68
|
+
modelValue: import('./context').U1CheckboxValue;
|
|
69
|
+
indeterminate: boolean;
|
|
70
|
+
trueValue: import('./context').U1CheckboxValue;
|
|
71
|
+
falseValue: import('./context').U1CheckboxValue;
|
|
72
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
73
|
+
$slots: {
|
|
74
|
+
default?(_: {}): any;
|
|
75
|
+
};
|
|
76
|
+
});
|
|
77
|
+
export declare const U1CheckboxGroup: {
|
|
78
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
79
|
+
modelValue: import('./context').U1CheckboxValue[];
|
|
80
|
+
disabled?: boolean;
|
|
81
|
+
}> & Readonly<{
|
|
82
|
+
"onUpdate:modelValue"?: ((value: import('./context').U1CheckboxValue[]) => any) | undefined;
|
|
83
|
+
onChange?: ((value: import('./context').U1CheckboxValue[]) => any) | undefined;
|
|
84
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
85
|
+
"update:modelValue": (value: import('./context').U1CheckboxValue[]) => any;
|
|
86
|
+
change: (value: import('./context').U1CheckboxValue[]) => any;
|
|
87
|
+
}, import('vue').PublicProps, {
|
|
88
|
+
disabled: boolean;
|
|
89
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
90
|
+
P: {};
|
|
91
|
+
B: {};
|
|
92
|
+
D: {};
|
|
93
|
+
C: {};
|
|
94
|
+
M: {};
|
|
95
|
+
Defaults: {};
|
|
96
|
+
}, Readonly<{
|
|
97
|
+
modelValue: import('./context').U1CheckboxValue[];
|
|
98
|
+
disabled?: boolean;
|
|
99
|
+
}> & Readonly<{
|
|
100
|
+
"onUpdate:modelValue"?: ((value: import('./context').U1CheckboxValue[]) => any) | undefined;
|
|
101
|
+
onChange?: ((value: import('./context').U1CheckboxValue[]) => any) | undefined;
|
|
102
|
+
}>, {}, {}, {}, {}, {
|
|
103
|
+
disabled: boolean;
|
|
104
|
+
}>;
|
|
105
|
+
__isFragment?: never;
|
|
106
|
+
__isTeleport?: never;
|
|
107
|
+
__isSuspense?: never;
|
|
108
|
+
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
109
|
+
modelValue: import('./context').U1CheckboxValue[];
|
|
110
|
+
disabled?: boolean;
|
|
111
|
+
}> & Readonly<{
|
|
112
|
+
"onUpdate:modelValue"?: ((value: import('./context').U1CheckboxValue[]) => any) | undefined;
|
|
113
|
+
onChange?: ((value: import('./context').U1CheckboxValue[]) => any) | undefined;
|
|
114
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
115
|
+
"update:modelValue": (value: import('./context').U1CheckboxValue[]) => any;
|
|
116
|
+
change: (value: import('./context').U1CheckboxValue[]) => any;
|
|
117
|
+
}, string, {
|
|
118
|
+
disabled: boolean;
|
|
119
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
120
|
+
$slots: {
|
|
121
|
+
default?(_: {}): any;
|
|
122
|
+
};
|
|
123
|
+
});
|
|
124
|
+
export default U1Checkbox;
|
|
125
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/checkbox/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAW,CAAA;AAClC,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAgB,CAAA;AAC5C,eAAe,UAAU,CAAA"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
modelValue?: boolean;
|
|
3
|
+
title?: string;
|
|
4
|
+
width?: string;
|
|
5
|
+
top?: string | number;
|
|
6
|
+
showClose?: boolean;
|
|
7
|
+
lockScroll?: boolean;
|
|
8
|
+
draggable?: boolean;
|
|
9
|
+
};
|
|
10
|
+
declare function __VLS_template(): {
|
|
11
|
+
attrs: Partial<{}>;
|
|
12
|
+
slots: {
|
|
13
|
+
header?(_: {}): any;
|
|
14
|
+
default?(_: {}): any;
|
|
15
|
+
};
|
|
16
|
+
refs: {};
|
|
17
|
+
rootEl: any;
|
|
18
|
+
};
|
|
19
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
20
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
21
|
+
close: () => any;
|
|
22
|
+
"update:modelValue": (value: boolean) => any;
|
|
23
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
24
|
+
onClose?: (() => any) | undefined;
|
|
25
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
26
|
+
}>, {
|
|
27
|
+
top: string | number;
|
|
28
|
+
title: string;
|
|
29
|
+
modelValue: boolean;
|
|
30
|
+
width: string;
|
|
31
|
+
showClose: boolean;
|
|
32
|
+
lockScroll: boolean;
|
|
33
|
+
draggable: boolean;
|
|
34
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
35
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
36
|
+
export default _default;
|
|
37
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
38
|
+
new (): {
|
|
39
|
+
$slots: S;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
//# sourceMappingURL=Dialog.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Dialog.vue.d.ts","sourceRoot":"","sources":["../../src/dialog/Dialog.vue"],"names":[],"mappings":"AAyBA;AAiKA,KAAK,WAAW,GAAG;IACf,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACrB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB,CAAC;AAqIJ,iBAAS,cAAc;WAsDT,OAAO,IAA6B;;wBAXtB,GAAG;yBACF,GAAG;;;;EAe/B;AAcD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;SAnNX,MAAM,GAAG,MAAM;WAFb,MAAM;gBADD,OAAO;WAEZ,MAAM;eAEF,OAAO;gBACN,OAAO;eACR,OAAO;6EAwNrB,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,83 @@
|
|
|
1
|
+
export declare const U1Dialog: {
|
|
2
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
3
|
+
modelValue?: boolean;
|
|
4
|
+
title?: string;
|
|
5
|
+
width?: string;
|
|
6
|
+
top?: string | number;
|
|
7
|
+
showClose?: boolean;
|
|
8
|
+
lockScroll?: boolean;
|
|
9
|
+
draggable?: boolean;
|
|
10
|
+
}> & Readonly<{
|
|
11
|
+
onClose?: (() => any) | undefined;
|
|
12
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
13
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
14
|
+
close: () => any;
|
|
15
|
+
"update:modelValue": (value: boolean) => any;
|
|
16
|
+
}, import('vue').PublicProps, {
|
|
17
|
+
top: string | number;
|
|
18
|
+
title: string;
|
|
19
|
+
modelValue: boolean;
|
|
20
|
+
width: string;
|
|
21
|
+
showClose: boolean;
|
|
22
|
+
lockScroll: boolean;
|
|
23
|
+
draggable: boolean;
|
|
24
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
25
|
+
P: {};
|
|
26
|
+
B: {};
|
|
27
|
+
D: {};
|
|
28
|
+
C: {};
|
|
29
|
+
M: {};
|
|
30
|
+
Defaults: {};
|
|
31
|
+
}, Readonly<{
|
|
32
|
+
modelValue?: boolean;
|
|
33
|
+
title?: string;
|
|
34
|
+
width?: string;
|
|
35
|
+
top?: string | number;
|
|
36
|
+
showClose?: boolean;
|
|
37
|
+
lockScroll?: boolean;
|
|
38
|
+
draggable?: boolean;
|
|
39
|
+
}> & Readonly<{
|
|
40
|
+
onClose?: (() => any) | undefined;
|
|
41
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
42
|
+
}>, {}, {}, {}, {}, {
|
|
43
|
+
top: string | number;
|
|
44
|
+
title: string;
|
|
45
|
+
modelValue: boolean;
|
|
46
|
+
width: string;
|
|
47
|
+
showClose: boolean;
|
|
48
|
+
lockScroll: boolean;
|
|
49
|
+
draggable: boolean;
|
|
50
|
+
}>;
|
|
51
|
+
__isFragment?: never;
|
|
52
|
+
__isTeleport?: never;
|
|
53
|
+
__isSuspense?: never;
|
|
54
|
+
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
55
|
+
modelValue?: boolean;
|
|
56
|
+
title?: string;
|
|
57
|
+
width?: string;
|
|
58
|
+
top?: string | number;
|
|
59
|
+
showClose?: boolean;
|
|
60
|
+
lockScroll?: boolean;
|
|
61
|
+
draggable?: boolean;
|
|
62
|
+
}> & Readonly<{
|
|
63
|
+
onClose?: (() => any) | undefined;
|
|
64
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
65
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
66
|
+
close: () => any;
|
|
67
|
+
"update:modelValue": (value: boolean) => any;
|
|
68
|
+
}, string, {
|
|
69
|
+
top: string | number;
|
|
70
|
+
title: string;
|
|
71
|
+
modelValue: boolean;
|
|
72
|
+
width: string;
|
|
73
|
+
showClose: boolean;
|
|
74
|
+
lockScroll: boolean;
|
|
75
|
+
draggable: boolean;
|
|
76
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
77
|
+
$slots: {
|
|
78
|
+
header?(_: {}): any;
|
|
79
|
+
default?(_: {}): any;
|
|
80
|
+
};
|
|
81
|
+
});
|
|
82
|
+
export default U1Dialog;
|
|
83
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/dialog/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAS,CAAA;AAC9B,eAAe,QAAQ,CAAA"}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Plugin } from 'vue';
|
|
2
|
+
import { U1Affix } from './affix';
|
|
3
|
+
import { U1Avatar } from './avatar';
|
|
4
|
+
import { U1Button } from './button';
|
|
5
|
+
import { U1Card } from './card';
|
|
6
|
+
import { U1Checkbox, U1CheckboxGroup } from './checkbox';
|
|
7
|
+
import { U1Dialog } from './dialog';
|
|
8
|
+
import { U1Input } from './input';
|
|
9
|
+
import { U1InputLabel } from './input-label';
|
|
10
|
+
import { U1Menu } from './menu';
|
|
11
|
+
import { U1Message, U1MessageComponent } from './message';
|
|
12
|
+
import { U1Radio, U1RadioGroup } from './radio';
|
|
13
|
+
import { U1Select } from './select';
|
|
14
|
+
import { U1Switch } from './switch';
|
|
15
|
+
import { U1Table } from './table';
|
|
16
|
+
import { U1Tag } from './tag';
|
|
17
|
+
import { U1ThemeEditor, U1ThemeEditorDialog } from './theme-editor';
|
|
18
|
+
declare const U1Design: Plugin;
|
|
19
|
+
export { U1Affix, U1Button, U1Input, U1InputLabel, U1Radio, U1RadioGroup, U1Checkbox, U1CheckboxGroup, U1Card, U1Select, U1Switch, U1Avatar, U1Tag, U1Message, U1MessageComponent, U1Dialog, U1Table, U1Menu, U1ThemeEditor, U1ThemeEditorDialog };
|
|
20
|
+
export default U1Design;
|
|
21
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAO,MAAM,EAAE,MAAM,KAAK,CAAA;AACtC,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AACjC,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAA;AACnC,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAA;AACnC,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAC/B,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,YAAY,CAAA;AACxD,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAA;AACnC,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AACjC,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAC5C,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAC/B,OAAO,EAAE,SAAS,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAA;AACzD,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAA;AACnC,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAA;AACnC,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AACjC,OAAO,EAAE,KAAK,EAAE,MAAM,OAAO,CAAA;AAC7B,OAAO,EAAE,aAAa,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAA;AACnE,OAAO,oBAAoB,CAAA;AAwB3B,QAAA,MAAM,QAAQ,EAAE,MAWf,CAAA;AAED,OAAO,EACL,OAAO,EACP,QAAQ,EACR,OAAO,EACP,YAAY,EACZ,OAAO,EACP,YAAY,EACZ,UAAU,EACV,eAAe,EACf,MAAM,EACN,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,KAAK,EACL,SAAS,EACT,kBAAkB,EAClB,QAAQ,EACR,OAAO,EACP,MAAM,EACN,aAAa,EACb,mBAAmB,EACpB,CAAA;AACD,eAAe,QAAQ,CAAA"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
modelValue?: string;
|
|
3
|
+
placeholder?: string;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
clearable?: boolean;
|
|
6
|
+
showPassword?: boolean;
|
|
7
|
+
};
|
|
8
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
9
|
+
clear: () => any;
|
|
10
|
+
"update:modelValue": (value: string) => any;
|
|
11
|
+
change: (value: string) => any;
|
|
12
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
13
|
+
onClear?: (() => any) | undefined;
|
|
14
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
15
|
+
onChange?: ((value: string) => any) | undefined;
|
|
16
|
+
}>, {
|
|
17
|
+
disabled: boolean;
|
|
18
|
+
modelValue: string;
|
|
19
|
+
placeholder: string;
|
|
20
|
+
clearable: boolean;
|
|
21
|
+
showPassword: boolean;
|
|
22
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
23
|
+
export default _default;
|
|
24
|
+
//# sourceMappingURL=Input.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Input.vue.d.ts","sourceRoot":"","sources":["../../src/input/Input.vue"],"names":[],"mappings":"AAyBA;AA8FA,KAAK,WAAW,GAAG;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB,CAAC;;;;;;;;;;cAHW,OAAO;gBAFL,MAAM;iBACL,MAAM;eAER,OAAO;kBACJ,OAAO;;AAoI1B,wBASG"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export declare const U1Input: import('vue').DefineComponent<{
|
|
2
|
+
modelValue?: string;
|
|
3
|
+
placeholder?: string;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
clearable?: boolean;
|
|
6
|
+
showPassword?: boolean;
|
|
7
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
8
|
+
clear: () => any;
|
|
9
|
+
"update:modelValue": (value: string) => any;
|
|
10
|
+
change: (value: string) => any;
|
|
11
|
+
}, string, import('vue').PublicProps, Readonly<{
|
|
12
|
+
modelValue?: string;
|
|
13
|
+
placeholder?: string;
|
|
14
|
+
disabled?: boolean;
|
|
15
|
+
clearable?: boolean;
|
|
16
|
+
showPassword?: boolean;
|
|
17
|
+
}> & Readonly<{
|
|
18
|
+
onClear?: (() => any) | undefined;
|
|
19
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
20
|
+
onChange?: ((value: string) => any) | undefined;
|
|
21
|
+
}>, {
|
|
22
|
+
disabled: boolean;
|
|
23
|
+
modelValue: string;
|
|
24
|
+
placeholder: string;
|
|
25
|
+
clearable: boolean;
|
|
26
|
+
showPassword: boolean;
|
|
27
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
28
|
+
export default U1Input;
|
|
29
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/input/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;yFAAQ,CAAA;AAC5B,eAAe,OAAO,CAAA"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
type InputLabelValue = string | number;
|
|
2
|
+
type InputLabelType = 'text' | 'number';
|
|
3
|
+
type LabelPosition = 'left' | 'right';
|
|
4
|
+
type __VLS_Props = {
|
|
5
|
+
modelValue?: InputLabelValue;
|
|
6
|
+
label?: string;
|
|
7
|
+
labelWidth?: string | number;
|
|
8
|
+
labelPosition?: LabelPosition;
|
|
9
|
+
inputWidth?: string | number;
|
|
10
|
+
placeholder?: string;
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
readonly?: boolean;
|
|
13
|
+
type?: InputLabelType;
|
|
14
|
+
show?: boolean;
|
|
15
|
+
};
|
|
16
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
17
|
+
"update:modelValue": (value: string) => any;
|
|
18
|
+
change: (value: string) => any;
|
|
19
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
20
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
21
|
+
onChange?: ((value: string) => any) | undefined;
|
|
22
|
+
}>, {
|
|
23
|
+
disabled: boolean;
|
|
24
|
+
show: boolean;
|
|
25
|
+
type: InputLabelType;
|
|
26
|
+
label: string;
|
|
27
|
+
modelValue: InputLabelValue;
|
|
28
|
+
placeholder: string;
|
|
29
|
+
labelWidth: string | number;
|
|
30
|
+
labelPosition: LabelPosition;
|
|
31
|
+
inputWidth: string | number;
|
|
32
|
+
readonly: boolean;
|
|
33
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
34
|
+
export default _default;
|
|
35
|
+
//# sourceMappingURL=InputLabel.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InputLabel.vue.d.ts","sourceRoot":"","sources":["../../src/input-label/InputLabel.vue"],"names":[],"mappings":"AA6BA;AAsJA,KAAK,eAAe,GAAG,MAAM,GAAG,MAAM,CAAA;AACtC,KAAK,cAAc,GAAG,MAAM,GAAG,QAAQ,CAAA;AACvC,KAAK,aAAa,GAAG,MAAM,GAAG,OAAO,CAAA;AAErC,KAAK,WAAW,GAAG;IACf,UAAU,CAAC,EAAE,eAAe,CAAA;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAC5B,aAAa,CAAC,EAAE,aAAa,CAAA;IAC7B,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAC5B,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,CAAC,EAAE,cAAc,CAAA;IACrB,IAAI,CAAC,EAAE,OAAO,CAAA;CACf,CAAC;;;;;;;;cAJW,OAAO;UAGX,OAAO;UADP,cAAc;WAPb,MAAM;gBADD,eAAe;iBAKd,MAAM;gBAHP,MAAM,GAAG,MAAM;mBACZ,aAAa;gBAChB,MAAM,GAAG,MAAM;cAGjB,OAAO;;AA2LtB,wBASG"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
export declare const U1InputLabel: import('vue').DefineComponent<{
|
|
2
|
+
modelValue?: string | number;
|
|
3
|
+
label?: string;
|
|
4
|
+
labelWidth?: string | number;
|
|
5
|
+
labelPosition?: "left" | "right";
|
|
6
|
+
inputWidth?: string | number;
|
|
7
|
+
placeholder?: string;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
readonly?: boolean;
|
|
10
|
+
type?: "number" | "text";
|
|
11
|
+
show?: boolean;
|
|
12
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
13
|
+
"update:modelValue": (value: string) => any;
|
|
14
|
+
change: (value: string) => any;
|
|
15
|
+
}, string, import('vue').PublicProps, Readonly<{
|
|
16
|
+
modelValue?: string | number;
|
|
17
|
+
label?: string;
|
|
18
|
+
labelWidth?: string | number;
|
|
19
|
+
labelPosition?: "left" | "right";
|
|
20
|
+
inputWidth?: string | number;
|
|
21
|
+
placeholder?: string;
|
|
22
|
+
disabled?: boolean;
|
|
23
|
+
readonly?: boolean;
|
|
24
|
+
type?: "number" | "text";
|
|
25
|
+
show?: boolean;
|
|
26
|
+
}> & Readonly<{
|
|
27
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
28
|
+
onChange?: ((value: string) => any) | undefined;
|
|
29
|
+
}>, {
|
|
30
|
+
disabled: boolean;
|
|
31
|
+
show: boolean;
|
|
32
|
+
type: "number" | "text";
|
|
33
|
+
label: string;
|
|
34
|
+
modelValue: string | number;
|
|
35
|
+
placeholder: string;
|
|
36
|
+
labelWidth: string | number;
|
|
37
|
+
labelPosition: "left" | "right";
|
|
38
|
+
inputWidth: string | number;
|
|
39
|
+
readonly: boolean;
|
|
40
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
41
|
+
export default U1InputLabel;
|
|
42
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/input-label/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yFAAa,CAAA;AACtC,eAAe,YAAY,CAAA"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export interface U1MenuItem {
|
|
2
|
+
index: string;
|
|
3
|
+
label: string;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
}
|
|
6
|
+
type __VLS_Props = {
|
|
7
|
+
items: U1MenuItem[];
|
|
8
|
+
active?: string;
|
|
9
|
+
mode?: 'vertical' | 'horizontal';
|
|
10
|
+
};
|
|
11
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
|
+
select: (value: string) => any;
|
|
13
|
+
"update:active": (value: string) => any;
|
|
14
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
15
|
+
onSelect?: ((value: string) => any) | undefined;
|
|
16
|
+
"onUpdate:active"?: ((value: string) => any) | undefined;
|
|
17
|
+
}>, {
|
|
18
|
+
active: string;
|
|
19
|
+
mode: "vertical" | "horizontal";
|
|
20
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLElement>;
|
|
21
|
+
export default _default;
|
|
22
|
+
//# sourceMappingURL=Menu.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Menu.vue.d.ts","sourceRoot":"","sources":["../../src/menu/Menu.vue"],"names":[],"mappings":"AAqBA;AA6DA,MAAM,WAAW,UAAU;IACzB,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AAED,KAAK,WAAW,GAAG;IACf,KAAK,EAAE,UAAU,EAAE,CAAA;IACnB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,IAAI,CAAC,EAAE,UAAU,GAAG,YAAY,CAAA;CACjC,CAAC;;;;;;;;YAFS,MAAM;UACR,UAAU,GAAG,YAAY;;AAiGpC,wBASG"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export declare const U1Menu: import('vue').DefineComponent<{
|
|
2
|
+
items: import('./Menu.vue').U1MenuItem[];
|
|
3
|
+
active?: string;
|
|
4
|
+
mode?: "vertical" | "horizontal";
|
|
5
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
6
|
+
select: (value: string) => any;
|
|
7
|
+
"update:active": (value: string) => any;
|
|
8
|
+
}, string, import('vue').PublicProps, Readonly<{
|
|
9
|
+
items: import('./Menu.vue').U1MenuItem[];
|
|
10
|
+
active?: string;
|
|
11
|
+
mode?: "vertical" | "horizontal";
|
|
12
|
+
}> & Readonly<{
|
|
13
|
+
onSelect?: ((value: string) => any) | undefined;
|
|
14
|
+
"onUpdate:active"?: ((value: string) => any) | undefined;
|
|
15
|
+
}>, {
|
|
16
|
+
active: string;
|
|
17
|
+
mode: "vertical" | "horizontal";
|
|
18
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLElement>;
|
|
19
|
+
export default U1Menu;
|
|
20
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/menu/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;qFAAO,CAAA;AAC1B,eAAe,MAAM,CAAA"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
type?: 'success' | 'warning' | 'info' | 'error';
|
|
3
|
+
message: string;
|
|
4
|
+
showClose?: boolean;
|
|
5
|
+
repeatNum?: number;
|
|
6
|
+
dangerouslyUseHTMLString?: boolean;
|
|
7
|
+
offset?: number;
|
|
8
|
+
placement?: 'top' | 'top-left' | 'top-right' | 'bottom' | 'bottom-left' | 'bottom-right';
|
|
9
|
+
zIndex?: number;
|
|
10
|
+
};
|
|
11
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
|
+
close: () => any;
|
|
13
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
14
|
+
onClose?: (() => any) | undefined;
|
|
15
|
+
}>, {
|
|
16
|
+
offset: number;
|
|
17
|
+
zIndex: number;
|
|
18
|
+
type: "success" | "warning" | "info" | "error";
|
|
19
|
+
showClose: boolean;
|
|
20
|
+
repeatNum: number;
|
|
21
|
+
dangerouslyUseHTMLString: boolean;
|
|
22
|
+
placement: "top" | "top-left" | "top-right" | "bottom" | "bottom-left" | "bottom-right";
|
|
23
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
24
|
+
export default _default;
|
|
25
|
+
//# sourceMappingURL=Message.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Message.vue.d.ts","sourceRoot":"","sources":["../../src/message/Message.vue"],"names":[],"mappings":"AAeA;AAsGA,KAAK,WAAW,GAAG;IACf,IAAI,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,MAAM,GAAG,OAAO,CAAA;IAC/C,OAAO,EAAE,MAAM,CAAA;IACf,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,wBAAwB,CAAC,EAAE,OAAO,CAAA;IAClC,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,SAAS,CAAC,EAAE,KAAK,GAAG,UAAU,GAAG,WAAW,GAAG,QAAQ,GAAG,aAAa,GAAG,cAAc,CAAA;IACxF,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB,CAAC;;;;;;YAHS,MAAM;YAEN,MAAM;UAPR,SAAS,GAAG,SAAS,GAAG,MAAM,GAAG,OAAO;eAEnC,OAAO;eACP,MAAM;8BACS,OAAO;eAEtB,KAAK,GAAG,UAAU,GAAG,WAAW,GAAG,QAAQ,GAAG,aAAa,GAAG,cAAc;;AAwJ5F,wBAQG"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { default as MessageComponent } from './Message.vue';
|
|
2
|
+
export type U1MessageType = 'success' | 'warning' | 'info' | 'error';
|
|
3
|
+
export type U1MessagePlacement = 'top' | 'top-left' | 'top-right' | 'bottom' | 'bottom-left' | 'bottom-right';
|
|
4
|
+
export interface U1MessageOptions {
|
|
5
|
+
message: string;
|
|
6
|
+
type?: U1MessageType;
|
|
7
|
+
duration?: number;
|
|
8
|
+
showClose?: boolean;
|
|
9
|
+
grouping?: boolean;
|
|
10
|
+
dangerouslyUseHTMLString?: boolean;
|
|
11
|
+
offset?: number;
|
|
12
|
+
placement?: U1MessagePlacement;
|
|
13
|
+
zIndex?: number;
|
|
14
|
+
onClose?: () => void;
|
|
15
|
+
}
|
|
16
|
+
export interface U1MessageHandler {
|
|
17
|
+
close: () => void;
|
|
18
|
+
}
|
|
19
|
+
export interface U1MessageService {
|
|
20
|
+
(options: string | U1MessageOptions): U1MessageHandler;
|
|
21
|
+
success: (options: string | Omit<U1MessageOptions, 'type'>) => U1MessageHandler;
|
|
22
|
+
warning: (options: string | Omit<U1MessageOptions, 'type'>) => U1MessageHandler;
|
|
23
|
+
info: (options: string | Omit<U1MessageOptions, 'type'>) => U1MessageHandler;
|
|
24
|
+
error: (options: string | Omit<U1MessageOptions, 'type'>) => U1MessageHandler;
|
|
25
|
+
closeAll: (type?: U1MessageType) => void;
|
|
26
|
+
install?: (app: {
|
|
27
|
+
component: (name: string, component: typeof MessageComponent) => void;
|
|
28
|
+
}) => void;
|
|
29
|
+
}
|
|
30
|
+
declare const U1Message: U1MessageService;
|
|
31
|
+
export declare const U1MessageComponent: import('vue').DefineComponent<{
|
|
32
|
+
type?: "success" | "warning" | "info" | "error";
|
|
33
|
+
message: string;
|
|
34
|
+
showClose?: boolean;
|
|
35
|
+
repeatNum?: number;
|
|
36
|
+
dangerouslyUseHTMLString?: boolean;
|
|
37
|
+
offset?: number;
|
|
38
|
+
placement?: "top" | "top-left" | "top-right" | "bottom" | "bottom-left" | "bottom-right";
|
|
39
|
+
zIndex?: number;
|
|
40
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
41
|
+
close: () => any;
|
|
42
|
+
}, string, import('vue').PublicProps, Readonly<{
|
|
43
|
+
type?: "success" | "warning" | "info" | "error";
|
|
44
|
+
message: string;
|
|
45
|
+
showClose?: boolean;
|
|
46
|
+
repeatNum?: number;
|
|
47
|
+
dangerouslyUseHTMLString?: boolean;
|
|
48
|
+
offset?: number;
|
|
49
|
+
placement?: "top" | "top-left" | "top-right" | "bottom" | "bottom-left" | "bottom-right";
|
|
50
|
+
zIndex?: number;
|
|
51
|
+
}> & Readonly<{
|
|
52
|
+
onClose?: (() => any) | undefined;
|
|
53
|
+
}>, {
|
|
54
|
+
offset: number;
|
|
55
|
+
zIndex: number;
|
|
56
|
+
type: "success" | "warning" | "info" | "error";
|
|
57
|
+
showClose: boolean;
|
|
58
|
+
repeatNum: number;
|
|
59
|
+
dangerouslyUseHTMLString: boolean;
|
|
60
|
+
placement: "top" | "top-left" | "top-right" | "bottom" | "bottom-left" | "bottom-right";
|
|
61
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
62
|
+
export { U1Message };
|
|
63
|
+
export default U1Message;
|
|
64
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/message/index.ts"],"names":[],"mappings":"AAEA,OAAO,gBAAgB,MAAM,eAAe,CAAA;AAE5C,MAAM,MAAM,aAAa,GAAG,SAAS,GAAG,SAAS,GAAG,MAAM,GAAG,OAAO,CAAA;AACpE,MAAM,MAAM,kBAAkB,GAAG,KAAK,GAAG,UAAU,GAAG,WAAW,GAAG,QAAQ,GAAG,aAAa,GAAG,cAAc,CAAA;AAE7G,MAAM,WAAW,gBAAgB;IAC/B,OAAO,EAAE,MAAM,CAAA;IACf,IAAI,CAAC,EAAE,aAAa,CAAA;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,wBAAwB,CAAC,EAAE,OAAO,CAAA;IAClC,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,SAAS,CAAC,EAAE,kBAAkB,CAAA;IAC9B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;CACrB;AAED,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,MAAM,IAAI,CAAA;CAClB;AAED,MAAM,WAAW,gBAAgB;IAC/B,CAAC,OAAO,EAAE,MAAM,GAAG,gBAAgB,GAAG,gBAAgB,CAAA;IACtD,OAAO,EAAE,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC,gBAAgB,EAAE,MAAM,CAAC,KAAK,gBAAgB,CAAA;IAC/E,OAAO,EAAE,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC,gBAAgB,EAAE,MAAM,CAAC,KAAK,gBAAgB,CAAA;IAC/E,IAAI,EAAE,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC,gBAAgB,EAAE,MAAM,CAAC,KAAK,gBAAgB,CAAA;IAC5E,KAAK,EAAE,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC,gBAAgB,EAAE,MAAM,CAAC,KAAK,gBAAgB,CAAA;IAC7E,QAAQ,EAAE,CAAC,IAAI,CAAC,EAAE,aAAa,KAAK,IAAI,CAAA;IACxC,OAAO,CAAC,EAAE,CAAC,GAAG,EAAE;QAAE,SAAS,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,OAAO,gBAAgB,KAAK,IAAI,CAAA;KAAE,KAAK,IAAI,CAAA;CACnG;AAiJD,QAAA,MAAM,SAAS,EAAoB,gBAAgB,CAAA;AAenD,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6EAAmB,CAAA;AAClD,OAAO,EAAE,SAAS,EAAE,CAAA;AACpB,eAAe,SAAS,CAAA"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
modelValue?: string | number | boolean;
|
|
3
|
+
label: string | number | boolean;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
};
|
|
6
|
+
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
8
|
+
slots: {
|
|
9
|
+
default?(_: {}): any;
|
|
10
|
+
};
|
|
11
|
+
refs: {};
|
|
12
|
+
rootEl: HTMLLabelElement;
|
|
13
|
+
};
|
|
14
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
16
|
+
"update:modelValue": (value: string | number | boolean) => any;
|
|
17
|
+
change: (value: string | number | boolean) => any;
|
|
18
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
19
|
+
"onUpdate:modelValue"?: ((value: string | number | boolean) => any) | undefined;
|
|
20
|
+
onChange?: ((value: string | number | boolean) => any) | undefined;
|
|
21
|
+
}>, {
|
|
22
|
+
disabled: boolean;
|
|
23
|
+
modelValue: string | number | boolean;
|
|
24
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLLabelElement>;
|
|
25
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
26
|
+
export default _default;
|
|
27
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
28
|
+
new (): {
|
|
29
|
+
$slots: S;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
//# sourceMappingURL=Radio.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Radio.vue.d.ts","sourceRoot":"","sources":["../../src/radio/Radio.vue"],"names":[],"mappings":"AAwBA;AAiFA,KAAK,WAAW,GAAG;IACf,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAA;IACtC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAA;IAChC,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAC;AA2CJ,iBAAS,cAAc;WA8CT,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AAaD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;cA7GN,OAAO;gBAFL,MAAM,GAAG,MAAM,GAAG,OAAO;0FAwHxC,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"}
|