@gyyxds/zy-ui 0.0.0-stage → 0.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 (66) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/CONTRIBUTING.md +102 -0
  3. package/README.md +370 -2
  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 +1962 -0
  66. package/package.json +81 -4
@@ -0,0 +1,44 @@
1
+ type __VLS_Props = {
2
+ type?: string;
3
+ /** 承载的动效:focus 聚焦光环 / underline 下划线扫过 / gradient 渐变光晕 / brutalist 粗野硬投影 */
4
+ effect?: 'focus' | 'underline' | 'gradient' | 'brutalist';
5
+ /** 浮动标签(配 effect="underline"):逐字错峰上浮并换成强调色,聚焦或有值时留在上方;给了它占位符就交给标签 */
6
+ label?: string;
7
+ /** 实色主题下的键帽凸起形态;基础主题不改变外观 */
8
+ raised?: boolean;
9
+ /** 尺寸:large / default / small(对齐 Element) */
10
+ size?: 'large' | 'default' | 'small';
11
+ placeholder?: string;
12
+ clearable?: boolean;
13
+ disabled?: boolean;
14
+ };
15
+ type __VLS_ModelProps = {
16
+ modelValue?: string;
17
+ };
18
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
19
+ declare var __VLS_11: string, __VLS_12: any;
20
+ type __VLS_Slots = {} & {
21
+ [K in NonNullable<typeof __VLS_11>]?: (props: typeof __VLS_12) => any;
22
+ };
23
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
24
+ "update:modelValue": (value: string) => any;
25
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
26
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
27
+ }>, {
28
+ size: "large" | "default" | "small";
29
+ type: string;
30
+ effect: "focus" | "underline" | "gradient" | "brutalist";
31
+ label: string;
32
+ disabled: boolean;
33
+ placeholder: string;
34
+ clearable: boolean;
35
+ raised: boolean;
36
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
37
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
38
+ declare const _default: typeof __VLS_export;
39
+ export default _default;
40
+ type __VLS_WithSlots<T, S> = T & {
41
+ new (): {
42
+ $slots: S;
43
+ };
44
+ };
@@ -0,0 +1,88 @@
1
+ export declare const ZyInput: import("../utils/withInstall").SFCWithInstall<{
2
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
3
+ type?: string;
4
+ effect?: "focus" | "underline" | "gradient" | "brutalist";
5
+ label?: string;
6
+ raised?: boolean;
7
+ size?: "large" | "default" | "small";
8
+ placeholder?: string;
9
+ clearable?: boolean;
10
+ disabled?: boolean;
11
+ } & {
12
+ modelValue?: string;
13
+ }> & Readonly<{
14
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
15
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
16
+ "update:modelValue": (value: string) => any;
17
+ }, import("vue").PublicProps, {
18
+ size: "large" | "default" | "small";
19
+ type: string;
20
+ effect: "focus" | "underline" | "gradient" | "brutalist";
21
+ label: string;
22
+ disabled: boolean;
23
+ placeholder: string;
24
+ clearable: boolean;
25
+ raised: boolean;
26
+ }, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
27
+ P: {};
28
+ B: {};
29
+ D: {};
30
+ C: {};
31
+ M: {};
32
+ Defaults: {};
33
+ }, Readonly<{
34
+ type?: string;
35
+ effect?: "focus" | "underline" | "gradient" | "brutalist";
36
+ label?: string;
37
+ raised?: boolean;
38
+ size?: "large" | "default" | "small";
39
+ placeholder?: string;
40
+ clearable?: boolean;
41
+ disabled?: boolean;
42
+ } & {
43
+ modelValue?: string;
44
+ }> & Readonly<{
45
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
46
+ }>, {}, {}, {}, {}, {
47
+ size: "large" | "default" | "small";
48
+ type: string;
49
+ effect: "focus" | "underline" | "gradient" | "brutalist";
50
+ label: string;
51
+ disabled: boolean;
52
+ placeholder: string;
53
+ clearable: boolean;
54
+ raised: boolean;
55
+ }>;
56
+ __isFragment?: never;
57
+ __isTeleport?: never;
58
+ __isSuspense?: never;
59
+ } & import("vue").ComponentOptionsBase<Readonly<{
60
+ type?: string;
61
+ effect?: "focus" | "underline" | "gradient" | "brutalist";
62
+ label?: string;
63
+ raised?: boolean;
64
+ size?: "large" | "default" | "small";
65
+ placeholder?: string;
66
+ clearable?: boolean;
67
+ disabled?: boolean;
68
+ } & {
69
+ modelValue?: string;
70
+ }> & Readonly<{
71
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
72
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
73
+ "update:modelValue": (value: string) => any;
74
+ }, string, {
75
+ size: "large" | "default" | "small";
76
+ type: string;
77
+ effect: "focus" | "underline" | "gradient" | "brutalist";
78
+ label: string;
79
+ disabled: boolean;
80
+ placeholder: string;
81
+ clearable: boolean;
82
+ raised: boolean;
83
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
84
+ $slots: {
85
+ [x: string]: ((props: any) => any) | undefined;
86
+ };
87
+ })>;
88
+ export default ZyInput;
@@ -0,0 +1,22 @@
1
+ type __VLS_Props = {
2
+ /** 加载类型:点环 dots / 心电描线 line / 故障字 text / 柱形 bar,加新类型就往下续 */
3
+ type?: 'dots' | 'line' | 'text' | 'bar';
4
+ /** 颜色:默认跟随所在文字(currentColor) */
5
+ color?: string;
6
+ /** 速度单位:一程时长 = speed × 5(点环是一圈,线型是一趟) */
7
+ speed?: string;
8
+ /** 宽:数字按 px。不传时各类型用自己的原始尺寸(点环 64,线型 550) */
9
+ width?: number | string;
10
+ /** 高:数字按 px。不传时点环跟着宽度走成方形,线型按画布比例走 */
11
+ height?: number | string;
12
+ /** 无障碍名称:不传则对读屏隐藏(旁边有文案时用默认值即可) */
13
+ label?: string;
14
+ };
15
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
16
+ type: "dots" | "line" | "text" | "bar";
17
+ color: string;
18
+ label: string;
19
+ speed: string;
20
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
21
+ declare const _default: typeof __VLS_export;
22
+ export default _default;
@@ -0,0 +1,21 @@
1
+ export declare const ZyLoading: import("../utils/withInstall").SFCWithInstall<import("vue").DefineComponent<{
2
+ type?: "dots" | "line" | "text" | "bar";
3
+ color?: string;
4
+ speed?: string;
5
+ width?: number | string;
6
+ height?: number | string;
7
+ label?: string;
8
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
9
+ type?: "dots" | "line" | "text" | "bar";
10
+ color?: string;
11
+ speed?: string;
12
+ width?: number | string;
13
+ height?: number | string;
14
+ label?: string;
15
+ }> & Readonly<{}>, {
16
+ type: "dots" | "line" | "text" | "bar";
17
+ color: string;
18
+ label: string;
19
+ speed: string;
20
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>>;
21
+ export default ZyLoading;
@@ -0,0 +1,50 @@
1
+ import type { MegaMenuBrand, MegaMenuItem } from './types';
2
+ type __VLS_Props = {
3
+ /** 导航项:有 panel = 下拉,没 panel + href = 普通链接 */
4
+ items?: MegaMenuItem[];
5
+ /** 受控展开项(v-model:open);不传则自己管 */
6
+ open?: string | null;
7
+ /** 导航区的无障碍名称 */
8
+ label?: string;
9
+ /** 左侧品牌区(也可以整块用 #brand 插槽接管) */
10
+ brand?: MegaMenuBrand | null;
11
+ };
12
+ declare var __VLS_1: {}, __VLS_4: `panel-${string}`, __VLS_5: {
13
+ item: MegaMenuItem;
14
+ }, __VLS_37: {};
15
+ type __VLS_Slots = {} & {
16
+ [K in NonNullable<typeof __VLS_4>]?: (props: typeof __VLS_5) => any;
17
+ } & {
18
+ brand?: (props: typeof __VLS_1) => any;
19
+ } & {
20
+ actions?: (props: typeof __VLS_37) => any;
21
+ };
22
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
23
+ "update:open": (value: string | null) => any;
24
+ navigate: (payload: {
25
+ item: MegaMenuItem;
26
+ title: string;
27
+ href?: string;
28
+ event: MouseEvent;
29
+ }) => any;
30
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
31
+ "onUpdate:open"?: ((value: string | null) => any) | undefined;
32
+ onNavigate?: ((payload: {
33
+ item: MegaMenuItem;
34
+ title: string;
35
+ href?: string;
36
+ event: MouseEvent;
37
+ }) => any) | undefined;
38
+ }>, {
39
+ label: string;
40
+ items: MegaMenuItem[];
41
+ brand: MegaMenuBrand | null;
42
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
43
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
44
+ declare const _default: typeof __VLS_export;
45
+ export default _default;
46
+ type __VLS_WithSlots<T, S> = T & {
47
+ new (): {
48
+ $slots: S;
49
+ };
50
+ };
@@ -0,0 +1,92 @@
1
+ export declare const ZyMegaMenu: import("../utils/withInstall").SFCWithInstall<{
2
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
3
+ items?: import("./types").MegaMenuItem[];
4
+ open?: string | null;
5
+ label?: string;
6
+ brand?: import("./types").MegaMenuBrand | null;
7
+ }> & Readonly<{
8
+ "onUpdate:open"?: ((value: string | null) => any) | undefined;
9
+ onNavigate?: ((payload: {
10
+ item: import("./types").MegaMenuItem;
11
+ title: string;
12
+ href?: string;
13
+ event: MouseEvent;
14
+ }) => any) | undefined;
15
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
16
+ "update:open": (value: string | null) => any;
17
+ navigate: (payload: {
18
+ item: import("./types").MegaMenuItem;
19
+ title: string;
20
+ href?: string;
21
+ event: MouseEvent;
22
+ }) => any;
23
+ }, import("vue").PublicProps, {
24
+ label: string;
25
+ items: import("./types").MegaMenuItem[];
26
+ brand: import("./types").MegaMenuBrand | null;
27
+ }, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
28
+ P: {};
29
+ B: {};
30
+ D: {};
31
+ C: {};
32
+ M: {};
33
+ Defaults: {};
34
+ }, Readonly<{
35
+ items?: import("./types").MegaMenuItem[];
36
+ open?: string | null;
37
+ label?: string;
38
+ brand?: import("./types").MegaMenuBrand | null;
39
+ }> & Readonly<{
40
+ "onUpdate:open"?: ((value: string | null) => any) | undefined;
41
+ onNavigate?: ((payload: {
42
+ item: import("./types").MegaMenuItem;
43
+ title: string;
44
+ href?: string;
45
+ event: MouseEvent;
46
+ }) => any) | undefined;
47
+ }>, {}, {}, {}, {}, {
48
+ label: string;
49
+ items: import("./types").MegaMenuItem[];
50
+ brand: import("./types").MegaMenuBrand | null;
51
+ }>;
52
+ __isFragment?: never;
53
+ __isTeleport?: never;
54
+ __isSuspense?: never;
55
+ } & import("vue").ComponentOptionsBase<Readonly<{
56
+ items?: import("./types").MegaMenuItem[];
57
+ open?: string | null;
58
+ label?: string;
59
+ brand?: import("./types").MegaMenuBrand | null;
60
+ }> & Readonly<{
61
+ "onUpdate:open"?: ((value: string | null) => any) | undefined;
62
+ onNavigate?: ((payload: {
63
+ item: import("./types").MegaMenuItem;
64
+ title: string;
65
+ href?: string;
66
+ event: MouseEvent;
67
+ }) => any) | undefined;
68
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
69
+ "update:open": (value: string | null) => any;
70
+ navigate: (payload: {
71
+ item: import("./types").MegaMenuItem;
72
+ title: string;
73
+ href?: string;
74
+ event: MouseEvent;
75
+ }) => any;
76
+ }, string, {
77
+ label: string;
78
+ items: import("./types").MegaMenuItem[];
79
+ brand: import("./types").MegaMenuBrand | null;
80
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
81
+ $slots: {
82
+ [x: `panel-${string}`]: ((props: {
83
+ item: import("./types").MegaMenuItem;
84
+ }) => any) | undefined;
85
+ } & {
86
+ brand?: (props: {}) => any;
87
+ } & {
88
+ actions?: (props: {}) => any;
89
+ };
90
+ })>;
91
+ export type { MegaMenuBrand, MegaMenuCard, MegaMenuGroup, MegaMenuGroupLink, MegaMenuIcon, MegaMenuItem, MegaMenuLink, MegaMenuNavigatePayload, MegaMenuPanel, } from './types';
92
+ export default ZyMegaMenu;
@@ -0,0 +1,77 @@
1
+ import type { Component } from 'vue';
2
+ /** 图标:本库图标名(`src/assets/icons` 的文件名)或任意组件 */
3
+ export type MegaMenuIcon = string | Component;
4
+ /** 面板里的一个大块(两列网格 / 单列列表) */
5
+ export interface MegaMenuLink {
6
+ title: string;
7
+ desc?: string;
8
+ href?: string;
9
+ icon?: MegaMenuIcon;
10
+ /** 标题右侧的小徽标,如「新」 */
11
+ badge?: string;
12
+ }
13
+ /** 分组里的小链接 */
14
+ export interface MegaMenuGroupLink {
15
+ title: string;
16
+ href?: string;
17
+ icon?: MegaMenuIcon;
18
+ }
19
+ export interface MegaMenuGroup {
20
+ title: string;
21
+ links: MegaMenuGroupLink[];
22
+ }
23
+ /** 面板里那块「引导卡」 */
24
+ export interface MegaMenuCard {
25
+ kicker?: string;
26
+ title: string;
27
+ desc?: string;
28
+ link?: {
29
+ title: string;
30
+ href?: string;
31
+ };
32
+ }
33
+ /** 面板:三种布局覆盖常见的大菜单 */
34
+ export interface MegaMenuPanel {
35
+ /**
36
+ * grid = 两列大块(组件目录那类)· list = 单列大块(场景那类)·
37
+ * groups = 左引导卡 + 右分组(资源那类)
38
+ */
39
+ layout?: 'grid' | 'list' | 'groups';
40
+ links?: MegaMenuLink[];
41
+ card?: MegaMenuCard;
42
+ groups?: MegaMenuGroup[];
43
+ /** 底部一条:左侧说明 + 右侧行动链接 */
44
+ footer?: {
45
+ note?: string;
46
+ link?: {
47
+ title: string;
48
+ href?: string;
49
+ };
50
+ };
51
+ /** 面板宽度(px),缺省按布局 620 / 380 / 600 */
52
+ width?: number;
53
+ /** 面板相对触发器的左偏移(px),缺省 groups 为 -150、其余 0 */
54
+ offset?: number;
55
+ }
56
+ export interface MegaMenuItem {
57
+ key: string;
58
+ label: string;
59
+ /** 有面板 = 下拉;没面板 + href = 普通链接 */
60
+ panel?: MegaMenuPanel;
61
+ href?: string;
62
+ }
63
+ export interface MegaMenuBrand {
64
+ name: string;
65
+ /** 标记里的一个字 / 符号,如 ◈ */
66
+ mark?: string;
67
+ /** 名字后面的小字,如「组件库」 */
68
+ sub?: string;
69
+ href?: string;
70
+ }
71
+ /** `navigate` 事件载荷:拦下默认跳转、自己交给路由 */
72
+ export interface MegaMenuNavigatePayload {
73
+ item: MegaMenuItem;
74
+ title: string;
75
+ href?: string;
76
+ event: MouseEvent;
77
+ }
@@ -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 ZyPagination: 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 ZyPagination;
@@ -0,0 +1,21 @@
1
+ type __VLS_Props = {
2
+ /** 标题;也可以用 #header 插槽完全接管标题栏 */
3
+ title?: string;
4
+ };
5
+ declare var __VLS_1: {}, __VLS_3: {};
6
+ type __VLS_Slots = {} & {
7
+ header?: (props: typeof __VLS_1) => any;
8
+ } & {
9
+ default?: (props: typeof __VLS_3) => any;
10
+ };
11
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
12
+ title: string;
13
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
14
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
15
+ declare const _default: typeof __VLS_export;
16
+ export default _default;
17
+ type __VLS_WithSlots<T, S> = T & {
18
+ new (): {
19
+ $slots: S;
20
+ };
21
+ };
@@ -0,0 +1,32 @@
1
+ export declare const ZyPanel: import("../utils/withInstall").SFCWithInstall<{
2
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
3
+ title?: string;
4
+ }> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
5
+ title: string;
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
+ title?: string;
15
+ }> & Readonly<{}>, {}, {}, {}, {}, {
16
+ title: string;
17
+ }>;
18
+ __isFragment?: never;
19
+ __isTeleport?: never;
20
+ __isSuspense?: never;
21
+ } & import("vue").ComponentOptionsBase<Readonly<{
22
+ title?: string;
23
+ }> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
24
+ title: string;
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
+ header?: (props: {}) => any;
28
+ } & {
29
+ default?: (props: {}) => any;
30
+ };
31
+ })>;
32
+ export default ZyPanel;
@@ -0,0 +1,24 @@
1
+ type __VLS_Props = {
2
+ percentage?: number;
3
+ type?: 'line' | 'circle' | 'dashboard';
4
+ strokeWidth?: number;
5
+ showText?: boolean;
6
+ };
7
+ declare var __VLS_10: string, __VLS_11: any;
8
+ type __VLS_Slots = {} & {
9
+ [K in NonNullable<typeof __VLS_10>]?: (props: typeof __VLS_11) => any;
10
+ };
11
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
12
+ type: "line" | "circle" | "dashboard";
13
+ percentage: number;
14
+ strokeWidth: number;
15
+ showText: boolean;
16
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
17
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
18
+ declare const _default: typeof __VLS_export;
19
+ export default _default;
20
+ type __VLS_WithSlots<T, S> = T & {
21
+ new (): {
22
+ $slots: S;
23
+ };
24
+ };
@@ -0,0 +1,48 @@
1
+ export declare const ZyProgress: import("../utils/withInstall").SFCWithInstall<{
2
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
3
+ percentage?: number;
4
+ type?: "line" | "circle" | "dashboard";
5
+ strokeWidth?: number;
6
+ showText?: boolean;
7
+ }> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
8
+ type: "line" | "circle" | "dashboard";
9
+ percentage: number;
10
+ strokeWidth: number;
11
+ showText: 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<{
20
+ percentage?: number;
21
+ type?: "line" | "circle" | "dashboard";
22
+ strokeWidth?: number;
23
+ showText?: boolean;
24
+ }> & Readonly<{}>, {}, {}, {}, {}, {
25
+ type: "line" | "circle" | "dashboard";
26
+ percentage: number;
27
+ strokeWidth: number;
28
+ showText: boolean;
29
+ }>;
30
+ __isFragment?: never;
31
+ __isTeleport?: never;
32
+ __isSuspense?: never;
33
+ } & import("vue").ComponentOptionsBase<Readonly<{
34
+ percentage?: number;
35
+ type?: "line" | "circle" | "dashboard";
36
+ strokeWidth?: number;
37
+ showText?: boolean;
38
+ }> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
39
+ type: "line" | "circle" | "dashboard";
40
+ percentage: number;
41
+ strokeWidth: number;
42
+ showText: boolean;
43
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
44
+ $slots: {
45
+ [x: string]: ((props: any) => any) | undefined;
46
+ };
47
+ })>;
48
+ export default ZyProgress;
@@ -0,0 +1,37 @@
1
+ type __VLS_Props = {
2
+ /** 变体(不传时继承 ZyRadioGroup):'' 辉光选中点 + 过冲弹跳 / underline 隐藏圆点、标签下划线从中间展开 */
3
+ effect?: '' | 'underline';
4
+ /** 尺寸:不传时继承 ZyRadioGroup / 表单 / 全局配置 */
5
+ size?: 'large' | 'default' | 'small';
6
+ /** 组内取值(配合 ZyRadioGroup 使用) */
7
+ value?: string | number | boolean;
8
+ /** 文本标签(不传则用默认插槽) */
9
+ label?: string | number | boolean;
10
+ /** 禁用:不传时继承 ZyRadioGroup */
11
+ disabled?: boolean;
12
+ };
13
+ type __VLS_ModelProps = {
14
+ modelValue?: string | number | boolean | undefined;
15
+ };
16
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
17
+ declare var __VLS_10: string, __VLS_11: any, __VLS_13: {};
18
+ type __VLS_Slots = {} & {
19
+ [K in NonNullable<typeof __VLS_10>]?: (props: typeof __VLS_11) => any;
20
+ } & {
21
+ default?: (props: typeof __VLS_13) => any;
22
+ };
23
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
24
+ "update:modelValue": (value: string | number | boolean | undefined) => any;
25
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
26
+ "onUpdate:modelValue"?: ((value: string | number | boolean | undefined) => any) | undefined;
27
+ }>, {
28
+ disabled: boolean;
29
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
30
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
31
+ declare const _default: typeof __VLS_export;
32
+ export default _default;
33
+ type __VLS_WithSlots<T, S> = T & {
34
+ new (): {
35
+ $slots: S;
36
+ };
37
+ };
@@ -0,0 +1,35 @@
1
+ type __VLS_Props = {
2
+ /** 尺寸:不传时继承 ZyRadioGroup / 表单 / 全局配置 */
3
+ size?: 'large' | 'default' | 'small';
4
+ /** 组内取值(配合 ZyRadioGroup 使用) */
5
+ value?: string | number | boolean;
6
+ /** 文本标签(不传则用默认插槽) */
7
+ label?: string | number | boolean;
8
+ /** 禁用:不传时继承 ZyRadioGroup */
9
+ disabled?: boolean;
10
+ };
11
+ type __VLS_ModelProps = {
12
+ modelValue?: string | number | boolean | undefined;
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: string | number | boolean | undefined) => any;
23
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
24
+ "onUpdate:modelValue"?: ((value: string | number | boolean | undefined) => any) | undefined;
25
+ }>, {
26
+ disabled: boolean;
27
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
28
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
29
+ declare const _default: typeof __VLS_export;
30
+ export default _default;
31
+ type __VLS_WithSlots<T, S> = T & {
32
+ new (): {
33
+ $slots: S;
34
+ };
35
+ };
@@ -0,0 +1,32 @@
1
+ type __VLS_Props = {
2
+ /** 组内 ZyRadio 继承的单选变体:'' 基础形态(辉光圆点 + 过冲弹跳)/ underline 标签下划线 */
3
+ effect?: '' | 'underline';
4
+ /** 尺寸:不传时继承表单 / 全局配置 */
5
+ size?: 'large' | 'default' | 'small';
6
+ disabled?: boolean;
7
+ };
8
+ type __VLS_ModelProps = {
9
+ modelValue?: string | number | undefined;
10
+ };
11
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
12
+ declare var __VLS_11: string, __VLS_12: any, __VLS_14: {};
13
+ type __VLS_Slots = {} & {
14
+ [K in NonNullable<typeof __VLS_11>]?: (props: typeof __VLS_12) => any;
15
+ } & {
16
+ default?: (props: typeof __VLS_14) => any;
17
+ };
18
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
19
+ "update:modelValue": (value: string | number | undefined) => any;
20
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
21
+ "onUpdate:modelValue"?: ((value: string | number | undefined) => any) | undefined;
22
+ }>, {
23
+ disabled: boolean;
24
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
25
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
26
+ declare const _default: typeof __VLS_export;
27
+ export default _default;
28
+ type __VLS_WithSlots<T, S> = T & {
29
+ new (): {
30
+ $slots: S;
31
+ };
32
+ };