@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.
- package/CHANGELOG.md +23 -0
- package/CONTRIBUTING.md +102 -0
- package/README.md +370 -2
- package/dist/zy-ui/alert/ZyAlert.vue.d.ts +26 -0
- package/dist/zy-ui/alert/index.d.ts +54 -0
- package/dist/zy-ui/badge/ZyBadge.vue.d.ts +37 -0
- package/dist/zy-ui/badge/index.d.ts +66 -0
- package/dist/zy-ui/button/ZyButton.vue.d.ts +45 -0
- package/dist/zy-ui/button/index.d.ts +74 -0
- package/dist/zy-ui/card/ZyCard.vue.d.ts +24 -0
- package/dist/zy-ui/card/index.d.ts +38 -0
- package/dist/zy-ui/checkbox/ZyCheckbox.vue.d.ts +36 -0
- package/dist/zy-ui/checkbox/ZyCheckboxGroup.vue.d.ts +31 -0
- package/dist/zy-ui/checkbox/index.d.ts +113 -0
- package/dist/zy-ui/code-input/ZyCodeInput.vue.d.ts +38 -0
- package/dist/zy-ui/code-input/index.d.ts +37 -0
- package/dist/zy-ui/date-picker/ZyDatePicker.vue.d.ts +3 -0
- package/dist/zy-ui/date-picker/index.d.ts +2 -0
- package/dist/zy-ui/dialog/ZyDialog.vue.d.ts +48 -0
- package/dist/zy-ui/dialog/index.d.ts +88 -0
- package/dist/zy-ui/divider/ZyDivider.vue.d.ts +20 -0
- package/dist/zy-ui/divider/index.d.ts +32 -0
- package/dist/zy-ui/icon/ZyIcon.vue.d.ts +17 -0
- package/dist/zy-ui/icon/index.d.ts +16 -0
- package/dist/zy-ui/index.d.ts +1332 -0
- package/dist/zy-ui/input/ZyInput.vue.d.ts +44 -0
- package/dist/zy-ui/input/index.d.ts +88 -0
- package/dist/zy-ui/loading/ZyLoading.vue.d.ts +22 -0
- package/dist/zy-ui/loading/index.d.ts +21 -0
- package/dist/zy-ui/mega-menu/ZyMegaMenu.vue.d.ts +50 -0
- package/dist/zy-ui/mega-menu/index.d.ts +92 -0
- package/dist/zy-ui/mega-menu/types.d.ts +77 -0
- package/dist/zy-ui/pagination/ZyPagination.vue.d.ts +3 -0
- package/dist/zy-ui/pagination/index.d.ts +2 -0
- package/dist/zy-ui/panel/ZyPanel.vue.d.ts +21 -0
- package/dist/zy-ui/panel/index.d.ts +32 -0
- package/dist/zy-ui/progress/ZyProgress.vue.d.ts +24 -0
- package/dist/zy-ui/progress/index.d.ts +48 -0
- package/dist/zy-ui/radio/ZyRadio.vue.d.ts +37 -0
- package/dist/zy-ui/radio/ZyRadioButton.vue.d.ts +35 -0
- package/dist/zy-ui/radio/ZyRadioGroup.vue.d.ts +32 -0
- package/dist/zy-ui/radio/index.d.ts +169 -0
- package/dist/zy-ui/radio/radio-context.d.ts +8 -0
- package/dist/zy-ui/select/ZySelect.vue.d.ts +40 -0
- package/dist/zy-ui/select/index.d.ts +78 -0
- package/dist/zy-ui/slide-verify/ZySlideVerify.vue.d.ts +46 -0
- package/dist/zy-ui/slide-verify/index.d.ts +50 -0
- package/dist/zy-ui/space/ZySpace.vue.d.ts +25 -0
- package/dist/zy-ui/space/index.d.ts +44 -0
- package/dist/zy-ui/switch/ZySwitch.vue.d.ts +25 -0
- package/dist/zy-ui/switch/index.d.ts +25 -0
- package/dist/zy-ui/table/ZyTable.vue.d.ts +21 -0
- package/dist/zy-ui/table/index.d.ts +32 -0
- package/dist/zy-ui/tag/ZyTag.vue.d.ts +28 -0
- package/dist/zy-ui/tag/index.d.ts +46 -0
- package/dist/zy-ui/themes/basic.css +832 -0
- package/dist/zy-ui/themes/material.css +37 -0
- package/dist/zy-ui/themes/solid.css +2350 -0
- package/dist/zy-ui/time-picker/ZyTimePicker.vue.d.ts +3 -0
- package/dist/zy-ui/time-picker/index.d.ts +2 -0
- package/dist/zy-ui/tree/ZyTree.vue.d.ts +28 -0
- package/dist/zy-ui/tree/index.d.ts +44 -0
- package/dist/zy-ui/utils/withInstall.d.ts +11 -0
- package/dist/zy-ui/zy-ui.css +2 -0
- package/dist/zy-ui/zy-ui.js +1962 -0
- package/package.json +81 -4
|
@@ -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: "left" | "center" | "right";
|
|
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: "left" | "center" | "right";
|
|
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: "left" | "center" | "right";
|
|
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: "left" | "center" | "right";
|
|
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: number | string;
|
|
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: number | string;
|
|
13
|
+
label: string;
|
|
14
|
+
spin: boolean;
|
|
15
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>>;
|
|
16
|
+
export default ZyIcon;
|