sykj 1.0.0 → 1.0.2

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.
Files changed (60) hide show
  1. package/README.md +56 -0
  2. package/dist/style.css +1 -0
  3. package/dist/sy-ui.cjs.js +2 -0
  4. package/dist/sy-ui.es.js +2695 -0
  5. package/dist/sy-ui.umd.js +2 -0
  6. package/index.d.ts +7 -0
  7. package/lib/common.d.ts +23 -0
  8. package/lib/index.d.ts +2 -0
  9. package/main/index.d.ts +2 -0
  10. package/main/utils/copyHtml.d.ts +1 -0
  11. package/main/utils/withInstall.d.ts +4 -0
  12. package/package.json +31 -11
  13. package/packages/button/index.d.ts +49 -0
  14. package/packages/button/src/index.vue.d.ts +28 -0
  15. package/packages/date/index.d.ts +145 -0
  16. package/packages/date/src/index.vue.d.ts +78 -0
  17. package/packages/datetime/index.d.ts +190 -0
  18. package/packages/datetime/src/index.vue.d.ts +105 -0
  19. package/packages/dialog/index.d.ts +48 -0
  20. package/packages/dialog/src/index.vue.d.ts +31 -0
  21. package/packages/directives/index.d.ts +2 -0
  22. package/packages/form/index.d.ts +264 -0
  23. package/packages/form/src/index.vue.d.ts +104 -0
  24. package/packages/hooks/index.d.ts +3 -0
  25. package/packages/hooks/useFakeProgress.d.ts +72 -0
  26. package/packages/hooks/useKeyCombo.d.ts +4 -0
  27. package/packages/hooks/useTheme.d.ts +6 -0
  28. package/packages/icon/index.d.ts +32 -0
  29. package/packages/icon/src/index.vue.d.ts +9 -0
  30. package/packages/input/index.d.ts +64 -0
  31. package/packages/input/src/index.vue.d.ts +40 -0
  32. package/packages/keyboard/index.d.ts +14 -0
  33. package/packages/keyboard/src/Keyboardcon.vue.d.ts +2 -0
  34. package/packages/keyboard/src/utils/fetchFile.d.ts +2 -0
  35. package/packages/keyboard/src/utils/focus.d.ts +2 -0
  36. package/packages/keyboard/src/utils/store.d.ts +19 -0
  37. package/packages/list/index.d.ts +98 -0
  38. package/packages/list/src/index.vue.d.ts +41 -0
  39. package/packages/list/src/item.vue.d.ts +12 -0
  40. package/packages/loading/index.d.ts +14 -0
  41. package/packages/loading/src/Loading1.vue.d.ts +2 -0
  42. package/packages/loading/src/Loading2.vue.d.ts +12 -0
  43. package/packages/loading/src/index.vue.d.ts +5 -0
  44. package/packages/message/index.d.ts +31 -0
  45. package/packages/message/src/index.vue.d.ts +31 -0
  46. package/packages/message-box/index.d.ts +18 -0
  47. package/packages/message-box/src/index.vue.d.ts +20 -0
  48. package/packages/select/index.d.ts +256 -0
  49. package/packages/select/src/index.vue.d.ts +144 -0
  50. package/packages/time/index.d.ts +205 -0
  51. package/packages/time/src/index.vue.d.ts +114 -0
  52. package/baseDict-BDMct_Gn.js +0 -4
  53. package/baseDict-BcPniuRQ.cjs +0 -1
  54. package/chowder-BcPniuRQ.cjs +0 -1
  55. package/chowder-DYxpcVy9.js +0 -4
  56. package/style.css +0 -1
  57. package/sykj.cjs +0 -37
  58. package/sykj.js +0 -2806
  59. package/sykj.umd.cjs +0 -37
  60. /package/{favicon.ico → dist/favicon.ico} +0 -0
@@ -0,0 +1,48 @@
1
+ export declare const SyDialog: {
2
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("./src/index.vue").Props> & Readonly<{
3
+ onOpen?: ((...args: any[]) => any) | undefined;
4
+ onClose?: ((...args: any[]) => any) | undefined;
5
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
6
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
+ open: (...args: any[]) => void;
8
+ close: (...args: any[]) => void;
9
+ "update:modelValue": (...args: any[]) => void;
10
+ }, import("vue").PublicProps, {
11
+ closeOnClickMask: boolean;
12
+ }, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
13
+ P: {};
14
+ B: {};
15
+ D: {};
16
+ C: {};
17
+ M: {};
18
+ Defaults: {};
19
+ }, Readonly<import("./src/index.vue").Props> & Readonly<{
20
+ onOpen?: ((...args: any[]) => any) | undefined;
21
+ onClose?: ((...args: any[]) => any) | undefined;
22
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
23
+ }>, {}, {}, {}, {}, {
24
+ closeOnClickMask: boolean;
25
+ }>;
26
+ __isFragment?: undefined;
27
+ __isTeleport?: undefined;
28
+ __isSuspense?: undefined;
29
+ } & import("vue").ComponentOptionsBase<Readonly<import("./src/index.vue").Props> & Readonly<{
30
+ onOpen?: ((...args: any[]) => any) | undefined;
31
+ onClose?: ((...args: any[]) => any) | undefined;
32
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
33
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
34
+ open: (...args: any[]) => void;
35
+ close: (...args: any[]) => void;
36
+ "update:modelValue": (...args: any[]) => void;
37
+ }, string, {
38
+ closeOnClickMask: boolean;
39
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & (import("vue").VNodeProps & (import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & ((new () => {
40
+ $slots: {
41
+ header?: ((props: {}) => any) | undefined;
42
+ } & {
43
+ default?: ((props: {}) => any) | undefined;
44
+ } & {
45
+ footer?: ((props: {}) => any) | undefined;
46
+ };
47
+ }) & import("vue").Plugin)));
48
+ export default SyDialog;
@@ -0,0 +1,31 @@
1
+ export interface Props {
2
+ modelValue: boolean;
3
+ title?: string;
4
+ closeOnClickMask?: boolean;
5
+ titleAlign?: 'left' | 'center' | 'right';
6
+ }
7
+ declare var __VLS_9: {}, __VLS_11: {}, __VLS_13: {};
8
+ type __VLS_Slots = {} & {
9
+ header?: (props: typeof __VLS_9) => any;
10
+ } & {
11
+ default?: (props: typeof __VLS_11) => any;
12
+ } & {
13
+ footer?: (props: typeof __VLS_13) => any;
14
+ };
15
+ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
16
+ open: (...args: any[]) => void;
17
+ close: (...args: any[]) => void;
18
+ "update:modelValue": (...args: any[]) => void;
19
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
20
+ onOpen?: ((...args: any[]) => any) | undefined;
21
+ onClose?: ((...args: any[]) => any) | undefined;
22
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
23
+ }>, {
24
+ closeOnClickMask: boolean;
25
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, __VLS_Slots>;
26
+ export default _default;
27
+ type __VLS_WithSlots<T, S> = T & {
28
+ new (): {
29
+ $slots: S;
30
+ };
31
+ };
@@ -0,0 +1,2 @@
1
+ import type { App } from 'vue';
2
+ export declare function registerDirectives(app: App): void;
@@ -0,0 +1,264 @@
1
+ export declare const SyForm: {
2
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
3
+ model: {
4
+ type: import("vue").PropType<any>;
5
+ default: null;
6
+ };
7
+ FormRules: {
8
+ type: import("vue").PropType<any>;
9
+ default: () => {};
10
+ };
11
+ FormProp: {
12
+ type: import("vue").PropType<{
13
+ label: string;
14
+ prop: string;
15
+ type: "select" | "time" | "text" | "date" | "password" | "datetime" | "custom";
16
+ placeholder: string;
17
+ maxlength: string | number;
18
+ options: any[];
19
+ customHtml: any;
20
+ customOptionHtml: any;
21
+ valueKey: string;
22
+ labelKey: string;
23
+ handleClose: () => void;
24
+ handleClick: () => void;
25
+ loadingOption: boolean;
26
+ show: boolean;
27
+ rules: any;
28
+ multiple: boolean;
29
+ filterable: boolean;
30
+ selectHeight: number;
31
+ }[]>;
32
+ default: () => never[];
33
+ };
34
+ labelPosition: {
35
+ type: StringConstructor;
36
+ default: string;
37
+ };
38
+ loading: {
39
+ type: BooleanConstructor;
40
+ default: boolean;
41
+ };
42
+ submitText: {
43
+ type: StringConstructor;
44
+ default: string;
45
+ };
46
+ submitType: {
47
+ type: StringConstructor;
48
+ default: string;
49
+ };
50
+ }>> & Readonly<{
51
+ onSubmit?: ((...args: any[]) => any) | undefined;
52
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
53
+ }>, {
54
+ resetFields: () => void;
55
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
56
+ submit: (...args: any[]) => void;
57
+ "update:modelValue": (...args: any[]) => void;
58
+ }, import("vue").PublicProps, {
59
+ loading: boolean;
60
+ model: any;
61
+ FormRules: any;
62
+ FormProp: {
63
+ label: string;
64
+ prop: string;
65
+ type: "select" | "time" | "text" | "date" | "password" | "datetime" | "custom";
66
+ placeholder: string;
67
+ maxlength: string | number;
68
+ options: any[];
69
+ customHtml: any;
70
+ customOptionHtml: any;
71
+ valueKey: string;
72
+ labelKey: string;
73
+ handleClose: () => void;
74
+ handleClick: () => void;
75
+ loadingOption: boolean;
76
+ show: boolean;
77
+ rules: any;
78
+ multiple: boolean;
79
+ filterable: boolean;
80
+ selectHeight: number;
81
+ }[];
82
+ labelPosition: string;
83
+ submitText: string;
84
+ submitType: string;
85
+ }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
86
+ P: {};
87
+ B: {};
88
+ D: {};
89
+ C: {};
90
+ M: {};
91
+ Defaults: {};
92
+ }, Readonly<import("vue").ExtractPropTypes<{
93
+ model: {
94
+ type: import("vue").PropType<any>;
95
+ default: null;
96
+ };
97
+ FormRules: {
98
+ type: import("vue").PropType<any>;
99
+ default: () => {};
100
+ };
101
+ FormProp: {
102
+ type: import("vue").PropType<{
103
+ label: string;
104
+ prop: string;
105
+ type: "select" | "time" | "text" | "date" | "password" | "datetime" | "custom";
106
+ placeholder: string;
107
+ maxlength: string | number;
108
+ options: any[];
109
+ customHtml: any;
110
+ customOptionHtml: any;
111
+ valueKey: string;
112
+ labelKey: string;
113
+ handleClose: () => void;
114
+ handleClick: () => void;
115
+ loadingOption: boolean;
116
+ show: boolean;
117
+ rules: any;
118
+ multiple: boolean;
119
+ filterable: boolean;
120
+ selectHeight: number;
121
+ }[]>;
122
+ default: () => never[];
123
+ };
124
+ labelPosition: {
125
+ type: StringConstructor;
126
+ default: string;
127
+ };
128
+ loading: {
129
+ type: BooleanConstructor;
130
+ default: boolean;
131
+ };
132
+ submitText: {
133
+ type: StringConstructor;
134
+ default: string;
135
+ };
136
+ submitType: {
137
+ type: StringConstructor;
138
+ default: string;
139
+ };
140
+ }>> & Readonly<{
141
+ onSubmit?: ((...args: any[]) => any) | undefined;
142
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
143
+ }>, {
144
+ resetFields: () => void;
145
+ }, {}, {}, {}, {
146
+ loading: boolean;
147
+ model: any;
148
+ FormRules: any;
149
+ FormProp: {
150
+ label: string;
151
+ prop: string;
152
+ type: "select" | "time" | "text" | "date" | "password" | "datetime" | "custom";
153
+ placeholder: string;
154
+ maxlength: string | number;
155
+ options: any[];
156
+ customHtml: any;
157
+ customOptionHtml: any;
158
+ valueKey: string;
159
+ labelKey: string;
160
+ handleClose: () => void;
161
+ handleClick: () => void;
162
+ loadingOption: boolean;
163
+ show: boolean;
164
+ rules: any;
165
+ multiple: boolean;
166
+ filterable: boolean;
167
+ selectHeight: number;
168
+ }[];
169
+ labelPosition: string;
170
+ submitText: string;
171
+ submitType: string;
172
+ }>;
173
+ __isFragment?: undefined;
174
+ __isTeleport?: undefined;
175
+ __isSuspense?: undefined;
176
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
177
+ model: {
178
+ type: import("vue").PropType<any>;
179
+ default: null;
180
+ };
181
+ FormRules: {
182
+ type: import("vue").PropType<any>;
183
+ default: () => {};
184
+ };
185
+ FormProp: {
186
+ type: import("vue").PropType<{
187
+ label: string;
188
+ prop: string;
189
+ type: "select" | "time" | "text" | "date" | "password" | "datetime" | "custom";
190
+ placeholder: string;
191
+ maxlength: string | number;
192
+ options: any[];
193
+ customHtml: any;
194
+ customOptionHtml: any;
195
+ valueKey: string;
196
+ labelKey: string;
197
+ handleClose: () => void;
198
+ handleClick: () => void;
199
+ loadingOption: boolean;
200
+ show: boolean;
201
+ rules: any;
202
+ multiple: boolean;
203
+ filterable: boolean;
204
+ selectHeight: number;
205
+ }[]>;
206
+ default: () => never[];
207
+ };
208
+ labelPosition: {
209
+ type: StringConstructor;
210
+ default: string;
211
+ };
212
+ loading: {
213
+ type: BooleanConstructor;
214
+ default: boolean;
215
+ };
216
+ submitText: {
217
+ type: StringConstructor;
218
+ default: string;
219
+ };
220
+ submitType: {
221
+ type: StringConstructor;
222
+ default: string;
223
+ };
224
+ }>> & Readonly<{
225
+ onSubmit?: ((...args: any[]) => any) | undefined;
226
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
227
+ }>, {
228
+ resetFields: () => void;
229
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
230
+ submit: (...args: any[]) => void;
231
+ "update:modelValue": (...args: any[]) => void;
232
+ }, string, {
233
+ loading: boolean;
234
+ model: any;
235
+ FormRules: any;
236
+ FormProp: {
237
+ label: string;
238
+ prop: string;
239
+ type: "select" | "time" | "text" | "date" | "password" | "datetime" | "custom";
240
+ placeholder: string;
241
+ maxlength: string | number;
242
+ options: any[];
243
+ customHtml: any;
244
+ customOptionHtml: any;
245
+ valueKey: string;
246
+ labelKey: string;
247
+ handleClose: () => void;
248
+ handleClick: () => void;
249
+ loadingOption: boolean;
250
+ show: boolean;
251
+ rules: any;
252
+ multiple: boolean;
253
+ filterable: boolean;
254
+ selectHeight: number;
255
+ }[];
256
+ labelPosition: string;
257
+ submitText: string;
258
+ submitType: string;
259
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & (import("vue").VNodeProps & (import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & ((new () => {
260
+ $slots: {
261
+ default?: ((props: {}) => any) | undefined;
262
+ };
263
+ }) & import("vue").Plugin)));
264
+ export default SyForm;
@@ -0,0 +1,104 @@
1
+ import { type PropType } from 'vue';
2
+ type FormProp = {
3
+ label: string;
4
+ prop: string;
5
+ type: 'text' | 'password' | 'select' | 'date' | 'time' | 'datetime' | 'custom';
6
+ placeholder: string;
7
+ maxlength: string | number;
8
+ options: any[];
9
+ customHtml: any;
10
+ customOptionHtml: any;
11
+ valueKey: string;
12
+ labelKey: string;
13
+ handleClose: () => void;
14
+ handleClick: () => void;
15
+ loadingOption: boolean;
16
+ show: boolean;
17
+ rules: any;
18
+ multiple: boolean;
19
+ filterable: boolean;
20
+ selectHeight: number;
21
+ };
22
+ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
23
+ model: {
24
+ type: PropType<any>;
25
+ default: null;
26
+ };
27
+ FormRules: {
28
+ type: PropType<any>;
29
+ default: () => {};
30
+ };
31
+ FormProp: {
32
+ type: PropType<FormProp[]>;
33
+ default: () => never[];
34
+ };
35
+ labelPosition: {
36
+ type: StringConstructor;
37
+ default: string;
38
+ };
39
+ loading: {
40
+ type: BooleanConstructor;
41
+ default: boolean;
42
+ };
43
+ submitText: {
44
+ type: StringConstructor;
45
+ default: string;
46
+ };
47
+ submitType: {
48
+ type: StringConstructor;
49
+ default: string;
50
+ };
51
+ }>, {
52
+ resetFields: () => void;
53
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
54
+ submit: (...args: any[]) => void;
55
+ "update:modelValue": (...args: any[]) => void;
56
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
57
+ model: {
58
+ type: PropType<any>;
59
+ default: null;
60
+ };
61
+ FormRules: {
62
+ type: PropType<any>;
63
+ default: () => {};
64
+ };
65
+ FormProp: {
66
+ type: PropType<FormProp[]>;
67
+ default: () => never[];
68
+ };
69
+ labelPosition: {
70
+ type: StringConstructor;
71
+ default: string;
72
+ };
73
+ loading: {
74
+ type: BooleanConstructor;
75
+ default: boolean;
76
+ };
77
+ submitText: {
78
+ type: StringConstructor;
79
+ default: string;
80
+ };
81
+ submitType: {
82
+ type: StringConstructor;
83
+ default: string;
84
+ };
85
+ }>> & Readonly<{
86
+ onSubmit?: ((...args: any[]) => any) | undefined;
87
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
88
+ }>, {
89
+ loading: boolean;
90
+ model: any;
91
+ FormRules: any;
92
+ FormProp: FormProp[];
93
+ labelPosition: string;
94
+ submitText: string;
95
+ submitType: string;
96
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
97
+ default?: ((props: {}) => any) | undefined;
98
+ }>;
99
+ export default _default;
100
+ type __VLS_WithSlots<T, S> = T & {
101
+ new (): {
102
+ $slots: S;
103
+ };
104
+ };
@@ -0,0 +1,3 @@
1
+ export * from './useTheme';
2
+ export * from './useFakeProgress';
3
+ export * from './useKeyCombo';
@@ -0,0 +1,72 @@
1
+ interface FakeProgressOptions {
2
+ /**
3
+ * 🐇 起步阶段【最大增长速度】
4
+ * - 单次最大增加百分比
5
+ * - 数值越大:前期跑得越猛
6
+ * - 建议范围:6 ~ 12
7
+ * @default 8
8
+ */
9
+ fastMax?: number;
10
+ /**
11
+ * 🐢 起步阶段【最小增长速度】
12
+ * - 单次最小增加百分比
13
+ * - 控制“最慢能有多慢”
14
+ * - 建议范围:2 ~ 5
15
+ * @default 3
16
+ */
17
+ fastMin?: number;
18
+ /**
19
+ * 🍃 缓慢阶段最大增长速度
20
+ * - 进入 80% 之后的“龟速爬行”
21
+ * - 数值越小:越像真实加载
22
+ * @default 2
23
+ */
24
+ slowMax?: number;
25
+ /**
26
+ * 🚀 快速阶段结束的百分比位置
27
+ * - 到这里之前都是“假装很快”
28
+ * - 之后开始明显变慢
29
+ * @default 80
30
+ */
31
+ fastEnd?: number;
32
+ /**
33
+ * ⛰️ 缓慢阶段结束的百分比位置
34
+ * - 95% 是最常见的“卡住心理点”
35
+ * - 再往后就交给 finish 冲刺
36
+ * @default 95
37
+ */
38
+ slowEnd?: number;
39
+ /**
40
+ * ⏱️ 主循环刷新间隔(毫秒)
41
+ * - 控制进度“跳动频率”
42
+ * - 越小越丝滑,越大越一格一格跳
43
+ * - 建议:100 ~ 300
44
+ * @default 200
45
+ */
46
+ stepInterval?: number;
47
+ /**
48
+ * 🏁 完成阶段每一跳增加的百分比
49
+ * - finish() 之后的冲刺速度
50
+ * - 数值越大:收尾越“嗖”一下
51
+ * @default 5
52
+ */
53
+ finishStep?: number;
54
+ /**
55
+ * ⚡ 完成阶段刷新间隔(毫秒)
56
+ * - 冲刺阶段的跳动频率
57
+ * - 通常比 stepInterval 更小
58
+ * @default 50
59
+ */
60
+ finishInterval?: number;
61
+ }
62
+ export declare function useFakeProgress(options?: FakeProgressOptions): {
63
+ progress: import("vue").Ref<number, number>;
64
+ start: () => void;
65
+ finish: () => Promise<void>;
66
+ pause: () => void;
67
+ resume: () => void;
68
+ reset: () => void;
69
+ onChange: (fn: (p: number) => void) => void;
70
+ bindPromise: (task: Promise<any>) => Promise<void>;
71
+ };
72
+ export {};
@@ -0,0 +1,4 @@
1
+ import { type Ref } from 'vue';
2
+ export type Key = string;
3
+ export type KeyCombo = readonly Key[];
4
+ export declare function useKeyCombo(targetRef: Ref<HTMLElement | null> | null, combo: KeyCombo, onMatch: () => void): void;
@@ -0,0 +1,6 @@
1
+ export declare function useTheme(): {
2
+ theme: import("vue").Ref<"light" | "dark", "light" | "dark">;
3
+ isDark: import("vue").ComputedRef<boolean>;
4
+ toggleTheme: () => void;
5
+ setTheme: (t: 'light' | 'dark') => void;
6
+ };
@@ -0,0 +1,32 @@
1
+ export declare const SyIcon: {
2
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
3
+ name: string;
4
+ size?: string | number | undefined;
5
+ color?: string | undefined;
6
+ }> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
7
+ size: string | number;
8
+ }, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
9
+ P: {};
10
+ B: {};
11
+ D: {};
12
+ C: {};
13
+ M: {};
14
+ Defaults: {};
15
+ }, Readonly<{
16
+ name: string;
17
+ size?: string | number | undefined;
18
+ color?: string | undefined;
19
+ }> & Readonly<{}>, {}, {}, {}, {}, {
20
+ size: string | number;
21
+ }>;
22
+ __isFragment?: undefined;
23
+ __isTeleport?: undefined;
24
+ __isSuspense?: undefined;
25
+ } & import("vue").ComponentOptionsBase<Readonly<{
26
+ name: string;
27
+ size?: string | number | undefined;
28
+ color?: string | undefined;
29
+ }> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
30
+ size: string | number;
31
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & (import("vue").VNodeProps & (import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin));
32
+ export default SyIcon;
@@ -0,0 +1,9 @@
1
+ type __VLS_Props = {
2
+ name: string;
3
+ size?: number | string;
4
+ color?: string;
5
+ };
6
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
7
+ size: string | number;
8
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
+ export default _default;
@@ -0,0 +1,64 @@
1
+ export declare const SyInput: {
2
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("./src/index.vue").Props> & Readonly<{
3
+ onBlur?: ((evt: FocusEvent) => any) | undefined;
4
+ onFocus?: ((evt: FocusEvent) => any) | undefined;
5
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
6
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
7
+ blur: (evt: FocusEvent) => any;
8
+ focus: (evt: FocusEvent) => any;
9
+ "update:modelValue": (value: string) => any;
10
+ }, import("vue").PublicProps, {
11
+ type: string;
12
+ size: "small" | "medium" | "large";
13
+ disabled: boolean;
14
+ placeholder: string;
15
+ clearable: boolean;
16
+ align: "left" | "center" | "right";
17
+ maxlength: string | number;
18
+ }, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
19
+ P: {};
20
+ B: {};
21
+ D: {};
22
+ C: {};
23
+ M: {};
24
+ Defaults: {};
25
+ }, Readonly<import("./src/index.vue").Props> & Readonly<{
26
+ onBlur?: ((evt: FocusEvent) => any) | undefined;
27
+ onFocus?: ((evt: FocusEvent) => any) | undefined;
28
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
29
+ }>, {}, {}, {}, {}, {
30
+ type: string;
31
+ size: "small" | "medium" | "large";
32
+ disabled: boolean;
33
+ placeholder: string;
34
+ clearable: boolean;
35
+ align: "left" | "center" | "right";
36
+ maxlength: string | number;
37
+ }>;
38
+ __isFragment?: undefined;
39
+ __isTeleport?: undefined;
40
+ __isSuspense?: undefined;
41
+ } & import("vue").ComponentOptionsBase<Readonly<import("./src/index.vue").Props> & Readonly<{
42
+ onBlur?: ((evt: FocusEvent) => any) | undefined;
43
+ onFocus?: ((evt: FocusEvent) => any) | undefined;
44
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
45
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
46
+ blur: (evt: FocusEvent) => any;
47
+ focus: (evt: FocusEvent) => any;
48
+ "update:modelValue": (value: string) => any;
49
+ }, string, {
50
+ type: string;
51
+ size: "small" | "medium" | "large";
52
+ disabled: boolean;
53
+ placeholder: string;
54
+ clearable: boolean;
55
+ align: "left" | "center" | "right";
56
+ maxlength: string | number;
57
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & (import("vue").VNodeProps & (import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & ((new () => {
58
+ $slots: {
59
+ prefix?: ((props: {}) => any) | undefined;
60
+ } & {
61
+ suffix?: ((props: {}) => any) | undefined;
62
+ };
63
+ }) & import("vue").Plugin)));
64
+ export default SyInput;