fy-components-test 1.0.3 → 1.0.4
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/index.d.ts +148 -10
- package/package.json +1 -1
- package/dist/components/MButton/MButton.vue.d.ts +0 -130
- package/dist/components/MText/Mtext.vue.d.ts +0 -2
- package/dist/typings/components.d.ts +0 -10
- package/dist/typings/test.d.ts +0 -11
- /package/dist/{fy-components-test.js → index.es.js} +0 -0
- /package/dist/{fy-components-test.umd.cjs → index.umd.js} +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,148 @@
|
|
|
1
|
-
import { App } from 'vue';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
import { App } from 'vue';
|
|
2
|
+
import { ComponentOptionsMixin } from 'vue';
|
|
3
|
+
import { ComponentProvideOptions } from 'vue';
|
|
4
|
+
import { DefineComponent } from 'vue';
|
|
5
|
+
import { ExtractPropTypes } from 'vue';
|
|
6
|
+
import { PublicProps } from 'vue';
|
|
7
|
+
|
|
8
|
+
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
9
|
+
new (): {
|
|
10
|
+
$slots: S;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
declare const _default: {
|
|
15
|
+
install: (app: App) => void;
|
|
16
|
+
};
|
|
17
|
+
export default _default;
|
|
18
|
+
|
|
19
|
+
export declare const install: (app: App) => void;
|
|
20
|
+
|
|
21
|
+
export declare const MButton: __VLS_WithTemplateSlots<DefineComponent<ExtractPropTypes< {
|
|
22
|
+
type: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
default: string;
|
|
25
|
+
validator: (value: string) => boolean;
|
|
26
|
+
};
|
|
27
|
+
size: {
|
|
28
|
+
type: StringConstructor;
|
|
29
|
+
default: string;
|
|
30
|
+
validator: (value: string) => boolean;
|
|
31
|
+
};
|
|
32
|
+
plain: {
|
|
33
|
+
type: BooleanConstructor;
|
|
34
|
+
default: boolean;
|
|
35
|
+
};
|
|
36
|
+
round: {
|
|
37
|
+
type: BooleanConstructor;
|
|
38
|
+
default: boolean;
|
|
39
|
+
};
|
|
40
|
+
circle: {
|
|
41
|
+
type: BooleanConstructor;
|
|
42
|
+
default: boolean;
|
|
43
|
+
};
|
|
44
|
+
disabled: {
|
|
45
|
+
type: BooleanConstructor;
|
|
46
|
+
default: boolean;
|
|
47
|
+
};
|
|
48
|
+
loading: {
|
|
49
|
+
type: BooleanConstructor;
|
|
50
|
+
default: boolean;
|
|
51
|
+
};
|
|
52
|
+
icon: {
|
|
53
|
+
type: StringConstructor;
|
|
54
|
+
default: string;
|
|
55
|
+
};
|
|
56
|
+
text: {
|
|
57
|
+
type: StringConstructor;
|
|
58
|
+
default: string;
|
|
59
|
+
};
|
|
60
|
+
autofocus: {
|
|
61
|
+
type: BooleanConstructor;
|
|
62
|
+
default: boolean;
|
|
63
|
+
};
|
|
64
|
+
nativeType: {
|
|
65
|
+
type: StringConstructor;
|
|
66
|
+
default: string;
|
|
67
|
+
validator: (value: string) => boolean;
|
|
68
|
+
};
|
|
69
|
+
tag: {
|
|
70
|
+
type: StringConstructor;
|
|
71
|
+
default: string;
|
|
72
|
+
};
|
|
73
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
74
|
+
click: (...args: any[]) => void;
|
|
75
|
+
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
76
|
+
type: {
|
|
77
|
+
type: StringConstructor;
|
|
78
|
+
default: string;
|
|
79
|
+
validator: (value: string) => boolean;
|
|
80
|
+
};
|
|
81
|
+
size: {
|
|
82
|
+
type: StringConstructor;
|
|
83
|
+
default: string;
|
|
84
|
+
validator: (value: string) => boolean;
|
|
85
|
+
};
|
|
86
|
+
plain: {
|
|
87
|
+
type: BooleanConstructor;
|
|
88
|
+
default: boolean;
|
|
89
|
+
};
|
|
90
|
+
round: {
|
|
91
|
+
type: BooleanConstructor;
|
|
92
|
+
default: boolean;
|
|
93
|
+
};
|
|
94
|
+
circle: {
|
|
95
|
+
type: BooleanConstructor;
|
|
96
|
+
default: boolean;
|
|
97
|
+
};
|
|
98
|
+
disabled: {
|
|
99
|
+
type: BooleanConstructor;
|
|
100
|
+
default: boolean;
|
|
101
|
+
};
|
|
102
|
+
loading: {
|
|
103
|
+
type: BooleanConstructor;
|
|
104
|
+
default: boolean;
|
|
105
|
+
};
|
|
106
|
+
icon: {
|
|
107
|
+
type: StringConstructor;
|
|
108
|
+
default: string;
|
|
109
|
+
};
|
|
110
|
+
text: {
|
|
111
|
+
type: StringConstructor;
|
|
112
|
+
default: string;
|
|
113
|
+
};
|
|
114
|
+
autofocus: {
|
|
115
|
+
type: BooleanConstructor;
|
|
116
|
+
default: boolean;
|
|
117
|
+
};
|
|
118
|
+
nativeType: {
|
|
119
|
+
type: StringConstructor;
|
|
120
|
+
default: string;
|
|
121
|
+
validator: (value: string) => boolean;
|
|
122
|
+
};
|
|
123
|
+
tag: {
|
|
124
|
+
type: StringConstructor;
|
|
125
|
+
default: string;
|
|
126
|
+
};
|
|
127
|
+
}>> & Readonly<{
|
|
128
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
129
|
+
}>, {
|
|
130
|
+
type: string;
|
|
131
|
+
size: string;
|
|
132
|
+
plain: boolean;
|
|
133
|
+
round: boolean;
|
|
134
|
+
circle: boolean;
|
|
135
|
+
disabled: boolean;
|
|
136
|
+
loading: boolean;
|
|
137
|
+
icon: string;
|
|
138
|
+
text: string;
|
|
139
|
+
autofocus: boolean;
|
|
140
|
+
nativeType: string;
|
|
141
|
+
tag: string;
|
|
142
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, {
|
|
143
|
+
default?(_: {}): any;
|
|
144
|
+
}>;
|
|
145
|
+
|
|
146
|
+
export declare const MText: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
147
|
+
|
|
148
|
+
export { }
|
package/package.json
CHANGED
|
@@ -1,130 +0,0 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
-
type: {
|
|
3
|
-
type: StringConstructor;
|
|
4
|
-
default: string;
|
|
5
|
-
validator: (value: string) => boolean;
|
|
6
|
-
};
|
|
7
|
-
size: {
|
|
8
|
-
type: StringConstructor;
|
|
9
|
-
default: string;
|
|
10
|
-
validator: (value: string) => boolean;
|
|
11
|
-
};
|
|
12
|
-
plain: {
|
|
13
|
-
type: BooleanConstructor;
|
|
14
|
-
default: boolean;
|
|
15
|
-
};
|
|
16
|
-
round: {
|
|
17
|
-
type: BooleanConstructor;
|
|
18
|
-
default: boolean;
|
|
19
|
-
};
|
|
20
|
-
circle: {
|
|
21
|
-
type: BooleanConstructor;
|
|
22
|
-
default: boolean;
|
|
23
|
-
};
|
|
24
|
-
disabled: {
|
|
25
|
-
type: BooleanConstructor;
|
|
26
|
-
default: boolean;
|
|
27
|
-
};
|
|
28
|
-
loading: {
|
|
29
|
-
type: BooleanConstructor;
|
|
30
|
-
default: boolean;
|
|
31
|
-
};
|
|
32
|
-
icon: {
|
|
33
|
-
type: StringConstructor;
|
|
34
|
-
default: string;
|
|
35
|
-
};
|
|
36
|
-
text: {
|
|
37
|
-
type: StringConstructor;
|
|
38
|
-
default: string;
|
|
39
|
-
};
|
|
40
|
-
autofocus: {
|
|
41
|
-
type: BooleanConstructor;
|
|
42
|
-
default: boolean;
|
|
43
|
-
};
|
|
44
|
-
nativeType: {
|
|
45
|
-
type: StringConstructor;
|
|
46
|
-
default: string;
|
|
47
|
-
validator: (value: string) => boolean;
|
|
48
|
-
};
|
|
49
|
-
tag: {
|
|
50
|
-
type: StringConstructor;
|
|
51
|
-
default: string;
|
|
52
|
-
};
|
|
53
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
54
|
-
click: (...args: any[]) => void;
|
|
55
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
56
|
-
type: {
|
|
57
|
-
type: StringConstructor;
|
|
58
|
-
default: string;
|
|
59
|
-
validator: (value: string) => boolean;
|
|
60
|
-
};
|
|
61
|
-
size: {
|
|
62
|
-
type: StringConstructor;
|
|
63
|
-
default: string;
|
|
64
|
-
validator: (value: string) => boolean;
|
|
65
|
-
};
|
|
66
|
-
plain: {
|
|
67
|
-
type: BooleanConstructor;
|
|
68
|
-
default: boolean;
|
|
69
|
-
};
|
|
70
|
-
round: {
|
|
71
|
-
type: BooleanConstructor;
|
|
72
|
-
default: boolean;
|
|
73
|
-
};
|
|
74
|
-
circle: {
|
|
75
|
-
type: BooleanConstructor;
|
|
76
|
-
default: boolean;
|
|
77
|
-
};
|
|
78
|
-
disabled: {
|
|
79
|
-
type: BooleanConstructor;
|
|
80
|
-
default: boolean;
|
|
81
|
-
};
|
|
82
|
-
loading: {
|
|
83
|
-
type: BooleanConstructor;
|
|
84
|
-
default: boolean;
|
|
85
|
-
};
|
|
86
|
-
icon: {
|
|
87
|
-
type: StringConstructor;
|
|
88
|
-
default: string;
|
|
89
|
-
};
|
|
90
|
-
text: {
|
|
91
|
-
type: StringConstructor;
|
|
92
|
-
default: string;
|
|
93
|
-
};
|
|
94
|
-
autofocus: {
|
|
95
|
-
type: BooleanConstructor;
|
|
96
|
-
default: boolean;
|
|
97
|
-
};
|
|
98
|
-
nativeType: {
|
|
99
|
-
type: StringConstructor;
|
|
100
|
-
default: string;
|
|
101
|
-
validator: (value: string) => boolean;
|
|
102
|
-
};
|
|
103
|
-
tag: {
|
|
104
|
-
type: StringConstructor;
|
|
105
|
-
default: string;
|
|
106
|
-
};
|
|
107
|
-
}>> & Readonly<{
|
|
108
|
-
onClick?: ((...args: any[]) => any) | undefined;
|
|
109
|
-
}>, {
|
|
110
|
-
type: string;
|
|
111
|
-
size: string;
|
|
112
|
-
plain: boolean;
|
|
113
|
-
round: boolean;
|
|
114
|
-
circle: boolean;
|
|
115
|
-
disabled: boolean;
|
|
116
|
-
loading: boolean;
|
|
117
|
-
icon: string;
|
|
118
|
-
text: string;
|
|
119
|
-
autofocus: boolean;
|
|
120
|
-
nativeType: string;
|
|
121
|
-
tag: string;
|
|
122
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, {
|
|
123
|
-
default?(_: {}): any;
|
|
124
|
-
}>;
|
|
125
|
-
export default _default;
|
|
126
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
127
|
-
new (): {
|
|
128
|
-
$slots: S;
|
|
129
|
-
};
|
|
130
|
-
};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
-
export default _default;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { default as MButton } from '../components/MButton/MButton.vue';
|
|
2
|
-
import { default as MText } from '../components/MText/Mtext.vue';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
declare module 'vue' {
|
|
6
|
-
export interface GlobalComponents {
|
|
7
|
-
MButton: typeof MButton
|
|
8
|
-
MText: typeof MText
|
|
9
|
-
}
|
|
10
|
-
}
|
package/dist/typings/test.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* @FileDescription:
|
|
3
|
-
* @Author: czh
|
|
4
|
-
* @Date: 2026-04-09 16:49:27
|
|
5
|
-
* @LastEditors: czh
|
|
6
|
-
* @LastEditTime: 2026-04-09 17:25:45
|
|
7
|
-
* @FilePath: \ai-ui\packages\components\typings\test.d.ts
|
|
8
|
-
*/
|
|
9
|
-
export namespace MButtonProps {
|
|
10
|
-
export const type: string;
|
|
11
|
-
}
|
|
File without changes
|
|
File without changes
|