@gyyxds/zy-ui 0.0.0-stage → 0.0.1

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 (66) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/CONTRIBUTING.md +99 -0
  3. package/README.md +162 -3
  4. package/dist/zy-ui/alert/ZyAlert.vue.d.ts +26 -0
  5. package/dist/zy-ui/alert/index.d.ts +54 -0
  6. package/dist/zy-ui/badge/ZyBadge.vue.d.ts +37 -0
  7. package/dist/zy-ui/badge/index.d.ts +66 -0
  8. package/dist/zy-ui/button/ZyButton.vue.d.ts +45 -0
  9. package/dist/zy-ui/button/index.d.ts +74 -0
  10. package/dist/zy-ui/card/ZyCard.vue.d.ts +24 -0
  11. package/dist/zy-ui/card/index.d.ts +38 -0
  12. package/dist/zy-ui/checkbox/ZyCheckbox.vue.d.ts +36 -0
  13. package/dist/zy-ui/checkbox/ZyCheckboxGroup.vue.d.ts +31 -0
  14. package/dist/zy-ui/checkbox/index.d.ts +113 -0
  15. package/dist/zy-ui/code-input/ZyCodeInput.vue.d.ts +38 -0
  16. package/dist/zy-ui/code-input/index.d.ts +37 -0
  17. package/dist/zy-ui/date-picker/ZyDatePicker.vue.d.ts +3 -0
  18. package/dist/zy-ui/date-picker/index.d.ts +2 -0
  19. package/dist/zy-ui/dialog/ZyDialog.vue.d.ts +48 -0
  20. package/dist/zy-ui/dialog/index.d.ts +88 -0
  21. package/dist/zy-ui/divider/ZyDivider.vue.d.ts +20 -0
  22. package/dist/zy-ui/divider/index.d.ts +32 -0
  23. package/dist/zy-ui/icon/ZyIcon.vue.d.ts +17 -0
  24. package/dist/zy-ui/icon/index.d.ts +16 -0
  25. package/dist/zy-ui/index.d.ts +1332 -0
  26. package/dist/zy-ui/input/ZyInput.vue.d.ts +44 -0
  27. package/dist/zy-ui/input/index.d.ts +88 -0
  28. package/dist/zy-ui/loading/ZyLoading.vue.d.ts +22 -0
  29. package/dist/zy-ui/loading/index.d.ts +21 -0
  30. package/dist/zy-ui/mega-menu/ZyMegaMenu.vue.d.ts +50 -0
  31. package/dist/zy-ui/mega-menu/index.d.ts +92 -0
  32. package/dist/zy-ui/mega-menu/types.d.ts +77 -0
  33. package/dist/zy-ui/pagination/ZyPagination.vue.d.ts +3 -0
  34. package/dist/zy-ui/pagination/index.d.ts +2 -0
  35. package/dist/zy-ui/panel/ZyPanel.vue.d.ts +21 -0
  36. package/dist/zy-ui/panel/index.d.ts +32 -0
  37. package/dist/zy-ui/progress/ZyProgress.vue.d.ts +24 -0
  38. package/dist/zy-ui/progress/index.d.ts +48 -0
  39. package/dist/zy-ui/radio/ZyRadio.vue.d.ts +37 -0
  40. package/dist/zy-ui/radio/ZyRadioButton.vue.d.ts +35 -0
  41. package/dist/zy-ui/radio/ZyRadioGroup.vue.d.ts +32 -0
  42. package/dist/zy-ui/radio/index.d.ts +169 -0
  43. package/dist/zy-ui/radio/radio-context.d.ts +8 -0
  44. package/dist/zy-ui/select/ZySelect.vue.d.ts +40 -0
  45. package/dist/zy-ui/select/index.d.ts +78 -0
  46. package/dist/zy-ui/slide-verify/ZySlideVerify.vue.d.ts +46 -0
  47. package/dist/zy-ui/slide-verify/index.d.ts +50 -0
  48. package/dist/zy-ui/space/ZySpace.vue.d.ts +25 -0
  49. package/dist/zy-ui/space/index.d.ts +44 -0
  50. package/dist/zy-ui/switch/ZySwitch.vue.d.ts +25 -0
  51. package/dist/zy-ui/switch/index.d.ts +25 -0
  52. package/dist/zy-ui/table/ZyTable.vue.d.ts +21 -0
  53. package/dist/zy-ui/table/index.d.ts +32 -0
  54. package/dist/zy-ui/tag/ZyTag.vue.d.ts +28 -0
  55. package/dist/zy-ui/tag/index.d.ts +46 -0
  56. package/dist/zy-ui/themes/basic.css +832 -0
  57. package/dist/zy-ui/themes/material.css +37 -0
  58. package/dist/zy-ui/themes/solid.css +2350 -0
  59. package/dist/zy-ui/time-picker/ZyTimePicker.vue.d.ts +3 -0
  60. package/dist/zy-ui/time-picker/index.d.ts +2 -0
  61. package/dist/zy-ui/tree/ZyTree.vue.d.ts +28 -0
  62. package/dist/zy-ui/tree/index.d.ts +44 -0
  63. package/dist/zy-ui/utils/withInstall.d.ts +11 -0
  64. package/dist/zy-ui/zy-ui.css +2 -0
  65. package/dist/zy-ui/zy-ui.js +1937 -0
  66. package/package.json +82 -6
@@ -0,0 +1,36 @@
1
+ type __VLS_Props = {
2
+ /** 变体(不传时继承 ZyCheckboxGroup):'' 方形填充 + 回弹勾选 / checkmark 方框描边不填充 / tick 实心圆打勾 */
3
+ effect?: '' | 'checkmark' | 'tick';
4
+ /** 尺寸:不传时继承 ZyCheckboxGroup / 表单 / 全局配置 */
5
+ size?: 'large' | 'default' | 'small';
6
+ /** 组内取值(配合 ZyCheckboxGroup 使用) */
7
+ value?: string | number | boolean;
8
+ /** 禁用:不传时继承 ZyCheckboxGroup */
9
+ disabled?: boolean;
10
+ };
11
+ type __VLS_ModelProps = {
12
+ modelValue?: boolean;
13
+ };
14
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
15
+ declare var __VLS_10: string, __VLS_11: any, __VLS_13: {};
16
+ type __VLS_Slots = {} & {
17
+ [K in NonNullable<typeof __VLS_10>]?: (props: typeof __VLS_11) => any;
18
+ } & {
19
+ default?: (props: typeof __VLS_13) => any;
20
+ };
21
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
22
+ "update:modelValue": (value: boolean) => any;
23
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
24
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
25
+ }>, {
26
+ effect: "" | "checkmark" | "tick";
27
+ disabled: boolean;
28
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
29
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
30
+ declare const _default: typeof __VLS_export;
31
+ export default _default;
32
+ type __VLS_WithSlots<T, S> = T & {
33
+ new (): {
34
+ $slots: S;
35
+ };
36
+ };
@@ -0,0 +1,31 @@
1
+ type __VLS_Props = {
2
+ /** 尺寸:large / default / small(对齐 Element) */
3
+ size?: 'large' | 'default' | 'small';
4
+ disabled?: boolean;
5
+ };
6
+ type __VLS_ModelProps = {
7
+ modelValue?: (string | number)[];
8
+ };
9
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
10
+ declare var __VLS_10: string, __VLS_11: any, __VLS_13: {};
11
+ type __VLS_Slots = {} & {
12
+ [K in NonNullable<typeof __VLS_10>]?: (props: typeof __VLS_11) => any;
13
+ } & {
14
+ default?: (props: typeof __VLS_13) => any;
15
+ };
16
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
17
+ "update:modelValue": (value: (string | number)[]) => any;
18
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
19
+ "onUpdate:modelValue"?: ((value: (string | number)[]) => any) | undefined;
20
+ }>, {
21
+ size: "default" | "small" | "large";
22
+ disabled: boolean;
23
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
24
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
25
+ declare const _default: typeof __VLS_export;
26
+ export default _default;
27
+ type __VLS_WithSlots<T, S> = T & {
28
+ new (): {
29
+ $slots: S;
30
+ };
31
+ };
@@ -0,0 +1,113 @@
1
+ export declare const ZyCheckbox: import("../utils/withInstall").SFCWithInstall<{
2
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
3
+ effect?: "" | "checkmark" | "tick";
4
+ size?: "large" | "default" | "small";
5
+ value?: string | number | boolean;
6
+ disabled?: boolean;
7
+ } & {
8
+ modelValue?: boolean;
9
+ }> & Readonly<{
10
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
11
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
12
+ "update:modelValue": (value: boolean) => any;
13
+ }, import("vue").PublicProps, {
14
+ effect: "" | "checkmark" | "tick";
15
+ disabled: boolean;
16
+ }, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
17
+ P: {};
18
+ B: {};
19
+ D: {};
20
+ C: {};
21
+ M: {};
22
+ Defaults: {};
23
+ }, Readonly<{
24
+ effect?: "" | "checkmark" | "tick";
25
+ size?: "large" | "default" | "small";
26
+ value?: string | number | boolean;
27
+ disabled?: boolean;
28
+ } & {
29
+ modelValue?: boolean;
30
+ }> & Readonly<{
31
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
32
+ }>, {}, {}, {}, {}, {
33
+ effect: "" | "checkmark" | "tick";
34
+ disabled: boolean;
35
+ }>;
36
+ __isFragment?: never;
37
+ __isTeleport?: never;
38
+ __isSuspense?: never;
39
+ } & import("vue").ComponentOptionsBase<Readonly<{
40
+ effect?: "" | "checkmark" | "tick";
41
+ size?: "large" | "default" | "small";
42
+ value?: string | number | boolean;
43
+ disabled?: boolean;
44
+ } & {
45
+ modelValue?: boolean;
46
+ }> & Readonly<{
47
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
48
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
49
+ "update:modelValue": (value: boolean) => any;
50
+ }, string, {
51
+ effect: "" | "checkmark" | "tick";
52
+ disabled: boolean;
53
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
54
+ $slots: {
55
+ [x: string]: ((props: any) => any) | undefined;
56
+ } & {
57
+ default?: (props: {}) => any;
58
+ };
59
+ })>;
60
+ export declare const ZyCheckboxGroup: import("../utils/withInstall").SFCWithInstall<{
61
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
62
+ size?: "large" | "default" | "small";
63
+ disabled?: boolean;
64
+ } & {
65
+ modelValue?: (string | number)[];
66
+ }> & Readonly<{
67
+ "onUpdate:modelValue"?: ((value: (string | number)[]) => any) | undefined;
68
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
69
+ "update:modelValue": (value: (string | number)[]) => any;
70
+ }, import("vue").PublicProps, {
71
+ size: "default" | "small" | "large";
72
+ disabled: boolean;
73
+ }, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
74
+ P: {};
75
+ B: {};
76
+ D: {};
77
+ C: {};
78
+ M: {};
79
+ Defaults: {};
80
+ }, Readonly<{
81
+ size?: "large" | "default" | "small";
82
+ disabled?: boolean;
83
+ } & {
84
+ modelValue?: (string | number)[];
85
+ }> & Readonly<{
86
+ "onUpdate:modelValue"?: ((value: (string | number)[]) => any) | undefined;
87
+ }>, {}, {}, {}, {}, {
88
+ size: "default" | "small" | "large";
89
+ disabled: boolean;
90
+ }>;
91
+ __isFragment?: never;
92
+ __isTeleport?: never;
93
+ __isSuspense?: never;
94
+ } & import("vue").ComponentOptionsBase<Readonly<{
95
+ size?: "large" | "default" | "small";
96
+ disabled?: boolean;
97
+ } & {
98
+ modelValue?: (string | number)[];
99
+ }> & Readonly<{
100
+ "onUpdate:modelValue"?: ((value: (string | number)[]) => any) | undefined;
101
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
102
+ "update:modelValue": (value: (string | number)[]) => any;
103
+ }, string, {
104
+ size: "default" | "small" | "large";
105
+ disabled: boolean;
106
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
107
+ $slots: {
108
+ [x: string]: ((props: any) => any) | undefined;
109
+ } & {
110
+ default?: (props: {}) => any;
111
+ };
112
+ })>;
113
+ export default ZyCheckbox;
@@ -0,0 +1,38 @@
1
+ type __VLS_Props = {
2
+ /** 位数 */
3
+ length?: number;
4
+ /** 校验状态:error 从后往前抽空并清掉验证码;success 各格并成色带 + 打勾,同时锁住输入 */
5
+ status?: 'idle' | 'error' | 'success';
6
+ /** 格子尺寸:large 52 / default 44 / small 36(高度按 1.18 倍) */
7
+ size?: 'large' | 'default' | 'small';
8
+ /** 掩码:格子显示圆点而不是数字 */
9
+ mask?: boolean;
10
+ /** 当前格的闪烁光标 */
11
+ caret?: boolean;
12
+ disabled?: boolean;
13
+ };
14
+ type __VLS_ModelProps = {
15
+ /** 验证码(只保留数字):v-model */
16
+ modelValue?: string;
17
+ };
18
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
19
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {
20
+ focus: () => void | undefined;
21
+ blur: () => void | undefined;
22
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
23
+ "update:modelValue": (value: string) => any;
24
+ } & {
25
+ complete: (code: string) => any;
26
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
27
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
28
+ onComplete?: ((code: string) => any) | undefined;
29
+ }>, {
30
+ size: "default" | "small" | "large";
31
+ length: number;
32
+ mask: boolean;
33
+ disabled: boolean;
34
+ status: "success" | "error" | "idle";
35
+ caret: boolean;
36
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
37
+ declare const _default: typeof __VLS_export;
38
+ export default _default;
@@ -0,0 +1,37 @@
1
+ export declare const ZyCodeInput: import("../utils/withInstall").SFCWithInstall<import("vue").DefineComponent<{
2
+ length?: number;
3
+ status?: "idle" | "error" | "success";
4
+ size?: "large" | "default" | "small";
5
+ mask?: boolean;
6
+ caret?: boolean;
7
+ disabled?: boolean;
8
+ } & {
9
+ modelValue?: string;
10
+ }, {
11
+ focus: () => void | undefined;
12
+ blur: () => void | undefined;
13
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
14
+ "update:modelValue": (value: string) => any;
15
+ } & {
16
+ complete: (code: string) => any;
17
+ }, string, import("vue").PublicProps, Readonly<{
18
+ length?: number;
19
+ status?: "idle" | "error" | "success";
20
+ size?: "large" | "default" | "small";
21
+ mask?: boolean;
22
+ caret?: boolean;
23
+ disabled?: boolean;
24
+ } & {
25
+ modelValue?: string;
26
+ }> & Readonly<{
27
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
28
+ onComplete?: ((code: string) => any) | undefined;
29
+ }>, {
30
+ size: "default" | "small" | "large";
31
+ length: number;
32
+ mask: boolean;
33
+ disabled: boolean;
34
+ status: "success" | "error" | "idle";
35
+ caret: boolean;
36
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>>;
37
+ export default ZyCodeInput;
@@ -0,0 +1,3 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
@@ -0,0 +1,2 @@
1
+ export declare const ZyDatePicker: import("../utils/withInstall").SFCWithInstall<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
2
+ export default ZyDatePicker;
@@ -0,0 +1,48 @@
1
+ type __VLS_Props = {
2
+ title?: string;
3
+ width?: string;
4
+ /** 标题左侧的图标名(src/assets/icons 下的文件名),留空则不显示图标块 */
5
+ icon?: string;
6
+ /** 挂到 body 上,默认 true:关掉会留在原地,被祖先的 transform / overflow 困住(遮罩只盖住那一块) */
7
+ appendToBody?: boolean;
8
+ /** 点遮罩关闭,默认 false:表单里误点一次就把填的内容丢了 */
9
+ closeOnClickModal?: boolean;
10
+ showClose?: boolean;
11
+ /** 关闭即销毁内容,表单弹窗常用(避免上次输入残留) */
12
+ destroyOnClose?: boolean;
13
+ };
14
+ type __VLS_ModelProps = {
15
+ modelValue?: boolean;
16
+ };
17
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
18
+ declare var __VLS_10: string, __VLS_11: any, __VLS_14: {}, __VLS_21: {}, __VLS_24: {};
19
+ type __VLS_Slots = {} & {
20
+ [K in NonNullable<typeof __VLS_10>]?: (props: typeof __VLS_11) => any;
21
+ } & {
22
+ header?: (props: typeof __VLS_14) => any;
23
+ } & {
24
+ default?: (props: typeof __VLS_21) => any;
25
+ } & {
26
+ footer?: (props: typeof __VLS_24) => any;
27
+ };
28
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
29
+ "update:modelValue": (value: boolean) => any;
30
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
31
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
32
+ }>, {
33
+ title: string;
34
+ icon: string;
35
+ width: string;
36
+ appendToBody: boolean;
37
+ closeOnClickModal: boolean;
38
+ showClose: boolean;
39
+ destroyOnClose: boolean;
40
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
41
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
42
+ declare const _default: typeof __VLS_export;
43
+ export default _default;
44
+ type __VLS_WithSlots<T, S> = T & {
45
+ new (): {
46
+ $slots: S;
47
+ };
48
+ };
@@ -0,0 +1,88 @@
1
+ export declare const ZyDialog: import("../utils/withInstall").SFCWithInstall<{
2
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
3
+ title?: string;
4
+ width?: string;
5
+ icon?: string;
6
+ appendToBody?: boolean;
7
+ closeOnClickModal?: boolean;
8
+ showClose?: boolean;
9
+ destroyOnClose?: boolean;
10
+ } & {
11
+ modelValue?: boolean;
12
+ }> & Readonly<{
13
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
14
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
15
+ "update:modelValue": (value: boolean) => any;
16
+ }, import("vue").PublicProps, {
17
+ title: string;
18
+ icon: string;
19
+ width: string;
20
+ appendToBody: boolean;
21
+ closeOnClickModal: boolean;
22
+ showClose: boolean;
23
+ destroyOnClose: 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
+ title?: string;
33
+ width?: string;
34
+ icon?: string;
35
+ appendToBody?: boolean;
36
+ closeOnClickModal?: boolean;
37
+ showClose?: boolean;
38
+ destroyOnClose?: boolean;
39
+ } & {
40
+ modelValue?: boolean;
41
+ }> & Readonly<{
42
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
43
+ }>, {}, {}, {}, {}, {
44
+ title: string;
45
+ icon: string;
46
+ width: string;
47
+ appendToBody: boolean;
48
+ closeOnClickModal: boolean;
49
+ showClose: boolean;
50
+ destroyOnClose: boolean;
51
+ }>;
52
+ __isFragment?: never;
53
+ __isTeleport?: never;
54
+ __isSuspense?: never;
55
+ } & import("vue").ComponentOptionsBase<Readonly<{
56
+ title?: string;
57
+ width?: string;
58
+ icon?: string;
59
+ appendToBody?: boolean;
60
+ closeOnClickModal?: boolean;
61
+ showClose?: boolean;
62
+ destroyOnClose?: boolean;
63
+ } & {
64
+ modelValue?: boolean;
65
+ }> & Readonly<{
66
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
67
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
68
+ "update:modelValue": (value: boolean) => any;
69
+ }, string, {
70
+ title: string;
71
+ icon: string;
72
+ width: string;
73
+ appendToBody: boolean;
74
+ closeOnClickModal: boolean;
75
+ showClose: boolean;
76
+ destroyOnClose: boolean;
77
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
78
+ $slots: {
79
+ [x: string]: ((props: any) => any) | undefined;
80
+ } & {
81
+ header?: (props: {}) => any;
82
+ } & {
83
+ default?: (props: {}) => any;
84
+ } & {
85
+ footer?: (props: {}) => any;
86
+ };
87
+ })>;
88
+ export default ZyDialog;
@@ -0,0 +1,20 @@
1
+ type __VLS_Props = {
2
+ contentPosition?: 'left' | 'center' | 'right';
3
+ };
4
+ declare var __VLS_10: string, __VLS_11: any, __VLS_13: {};
5
+ type __VLS_Slots = {} & {
6
+ [K in NonNullable<typeof __VLS_10>]?: (props: typeof __VLS_11) => any;
7
+ } & {
8
+ default?: (props: typeof __VLS_13) => any;
9
+ };
10
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
11
+ contentPosition: "center" | "right" | "left";
12
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
14
+ declare const _default: typeof __VLS_export;
15
+ export default _default;
16
+ type __VLS_WithSlots<T, S> = T & {
17
+ new (): {
18
+ $slots: S;
19
+ };
20
+ };
@@ -0,0 +1,32 @@
1
+ export declare const ZyDivider: import("../utils/withInstall").SFCWithInstall<{
2
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
3
+ contentPosition?: "left" | "center" | "right";
4
+ }> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
5
+ contentPosition: "center" | "right" | "left";
6
+ }, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
7
+ P: {};
8
+ B: {};
9
+ D: {};
10
+ C: {};
11
+ M: {};
12
+ Defaults: {};
13
+ }, Readonly<{
14
+ contentPosition?: "left" | "center" | "right";
15
+ }> & Readonly<{}>, {}, {}, {}, {}, {
16
+ contentPosition: "center" | "right" | "left";
17
+ }>;
18
+ __isFragment?: never;
19
+ __isTeleport?: never;
20
+ __isSuspense?: never;
21
+ } & import("vue").ComponentOptionsBase<Readonly<{
22
+ contentPosition?: "left" | "center" | "right";
23
+ }> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
24
+ contentPosition: "center" | "right" | "left";
25
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
26
+ $slots: {
27
+ [x: string]: ((props: any) => any) | undefined;
28
+ } & {
29
+ default?: (props: {}) => any;
30
+ };
31
+ })>;
32
+ export default ZyDivider;
@@ -0,0 +1,17 @@
1
+ type __VLS_Props = {
2
+ /** 图标名,对应 src/assets/icons/ 下的文件名(不含 .svg),如 btn-search */
3
+ name: string;
4
+ /** 边长:数字按 px,默认 24(图标本体就是 24 画布);也可直接给 CSS 值 */
5
+ size?: number | string;
6
+ /** 无障碍名称;不传则对读屏隐藏(纯装饰) */
7
+ label?: string;
8
+ /** 持续旋转(配合提交中 / 加载中) */
9
+ spin?: boolean;
10
+ };
11
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
12
+ size: string | number;
13
+ label: string;
14
+ spin: boolean;
15
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
16
+ declare const _default: typeof __VLS_export;
17
+ export default _default;
@@ -0,0 +1,16 @@
1
+ export declare const ZyIcon: import("../utils/withInstall").SFCWithInstall<import("vue").DefineComponent<{
2
+ name: string;
3
+ size?: number | string;
4
+ label?: string;
5
+ spin?: boolean;
6
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
7
+ name: string;
8
+ size?: number | string;
9
+ label?: string;
10
+ spin?: boolean;
11
+ }> & Readonly<{}>, {
12
+ size: string | number;
13
+ label: string;
14
+ spin: boolean;
15
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>>;
16
+ export default ZyIcon;