kui-vue 5.2.2 → 5.3.0
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.js +2 -2
- package/es/index.js +3385 -363
- package/es/locale/de.js +7 -1
- package/es/locale/el.js +7 -1
- package/es/locale/en.js +7 -1
- package/es/locale/fr.js +7 -1
- package/es/locale/it.js +7 -1
- package/es/locale/ja.js +7 -1
- package/es/locale/ko.js +7 -1
- package/es/locale/ru.js +7 -1
- package/es/locale/th.js +7 -1
- package/es/locale/uk.js +7 -1
- package/es/locale/vi.js +7 -1
- package/es/locale/zh-CN.js +7 -1
- package/es/locale/zh-TW.js +7 -1
- package/lib/index.js +2 -2
- package/lib/locale/de.js +2 -2
- package/lib/locale/el.js +2 -2
- package/lib/locale/en.js +2 -2
- package/lib/locale/fr.js +2 -2
- package/lib/locale/it.js +2 -2
- package/lib/locale/ja.js +2 -2
- package/lib/locale/ko.js +2 -2
- package/lib/locale/ru.js +2 -2
- package/lib/locale/th.js +2 -2
- package/lib/locale/uk.js +2 -2
- package/lib/locale/vi.js +2 -2
- package/lib/locale/zh-CN.js +2 -2
- package/lib/locale/zh-TW.js +2 -2
- package/package.json +20 -19
- package/style/index.css +2 -2
- package/types/avatar/avatar-group.d.ts +1 -1
- package/types/badge/index.d.ts +4 -4
- package/types/color-picker/index.d.ts +1 -1
- package/types/components.d.ts +6 -2
- package/types/date-picker/index.d.ts +1 -1
- package/types/descriptions/descriptions-item.d.ts +1 -1
- package/types/descriptions/descriptions.d.ts +1 -1
- package/types/divider/index.d.ts +1 -1
- package/types/drawer/index.d.ts +1 -1
- package/types/dropdown/dropdown-button.d.ts +1 -1
- package/types/dropdown/dropdown.d.ts +1 -1
- package/types/empty/index.d.ts +1 -1
- package/types/flex/index.d.ts +1 -1
- package/types/global.d.ts +8 -4
- package/types/input/input-box.d.ts +1 -1
- package/types/input/input-group.d.ts +1 -1
- package/types/input/input.d.ts +3 -3
- package/types/input/textarea.d.ts +2 -2
- package/types/input-number/index.d.ts +1 -1
- package/types/layout/index.d.ts +2 -2
- package/types/loading/index.d.ts +1 -1
- package/types/locale/de.d.ts +6 -0
- package/types/locale/el.d.ts +6 -0
- package/types/locale/en.d.ts +6 -0
- package/types/locale/fr.d.ts +6 -0
- package/types/locale/it.d.ts +6 -0
- package/types/locale/ja.d.ts +6 -0
- package/types/locale/ko.d.ts +6 -0
- package/types/locale/ru.d.ts +6 -0
- package/types/locale/th.d.ts +6 -0
- package/types/locale/uk.d.ts +6 -0
- package/types/locale/vi.d.ts +6 -0
- package/types/locale/zh-CN.d.ts +6 -0
- package/types/locale/zh-TW.d.ts +6 -0
- package/types/menu/menu-group.d.ts +1 -1
- package/types/menu/menu-item.d.ts +1 -1
- package/types/menu/menu.d.ts +1 -1
- package/types/menu/sub-menu.d.ts +1 -1
- package/types/modal/modal.d.ts +27 -7
- package/types/page/index.d.ts +1 -1
- package/types/popconfirm/index.d.ts +1 -1
- package/types/poptip/index.d.ts +1 -1
- package/types/progress/index.d.ts +1 -1
- package/types/qrcode/index.d.ts +165 -0
- package/types/radio/radio-button.d.ts +1 -1
- package/types/radio/radio-group.d.ts +1 -1
- package/types/radio/radio.d.ts +1 -1
- package/types/rate/index.d.ts +1 -1
- package/types/rate/star.d.ts +1 -1
- package/types/row-col/col.d.ts +1 -1
- package/types/row-col/row.d.ts +1 -1
- package/types/select/option.d.ts +1 -1
- package/types/select/select.d.ts +1 -1
- package/types/slider/index.d.ts +1 -1
- package/types/space/index.d.ts +1 -1
- package/types/spin/index.d.ts +1 -1
- package/types/stat-card/stat-card.d.ts +1 -1
- package/types/stat-card/stat-number.d.ts +1 -1
- package/types/switch/index.d.ts +1 -1
- package/types/table/index.d.ts +2 -2
- package/types/tabs/tab-panel.d.ts +1 -1
- package/types/tabs/tabs.d.ts +1 -4
- package/types/tag/index.d.ts +1 -1
- package/types/time-line/timeline-item.d.ts +1 -1
- package/types/time-line/timeline.d.ts +1 -1
- package/types/tooltip/index.d.ts +1 -1
- package/types/tree/index.d.ts +1 -1
- package/types/tree-select/index.d.ts +1 -1
- package/types/upload/file-list.d.ts +1 -1
- package/types/upload/index.d.ts +1 -1
- package/types/upload/selector.d.ts +1 -1
- package/types/utils/share.d.ts +12 -0
- package/types/watermark/index.d.ts +197 -0
- package/vetur/attributes.json +149 -37
- package/vetur/tags.json +52 -18
- package/vetur/web-types.json +282 -68
- package/es/affix/index.d.ts +0 -49
- package/es/alert/index.d.ts +0 -61
- package/es/anchor/anchor-link.d.ts +0 -23
- package/es/anchor/anchor.d.ts +0 -67
- package/es/anchor/index.d.ts +0 -5
- package/es/avatar/avatar-group.d.ts +0 -39
- package/es/avatar/avatar.d.ts +0 -43
- package/es/avatar/index.d.ts +0 -5
- package/es/back-top/index.d.ts +0 -46
- package/es/badge/index.d.ts +0 -49
- package/es/base/transition.d.ts +0 -3
- package/es/breadcrumb/breadcrumb-item.d.ts +0 -15
- package/es/breadcrumb/breadcrumb.d.ts +0 -22
- package/es/breadcrumb/index.d.ts +0 -5
- package/es/button/button-group.d.ts +0 -21
- package/es/button/button.d.ts +0 -39
- package/es/button/index.d.ts +0 -5
- package/es/card/index.d.ts +0 -30
- package/es/carousel/carousel-item.d.ts +0 -2
- package/es/carousel/carousel.d.ts +0 -84
- package/es/carousel/index.d.ts +0 -4
- package/es/checkbox/checkbox-group.d.ts +0 -79
- package/es/checkbox/checkbox.d.ts +0 -105
- package/es/checkbox/index.d.ts +0 -6
- package/es/collapse/collapse-panel.d.ts +0 -15
- package/es/collapse/collapse.d.ts +0 -32
- package/es/collapse/index.d.ts +0 -6
- package/es/color-picker/alpha.d.ts +0 -15
- package/es/color-picker/hue.d.ts +0 -17
- package/es/color-picker/index.d.ts +0 -110
- package/es/color-picker/mode.d.ts +0 -25
- package/es/color-picker/paint.d.ts +0 -26
- package/es/color-picker/presets.d.ts +0 -20
- package/es/components.d.ts +0 -113
- package/es/config/context.d.ts +0 -10
- package/es/config/index.d.ts +0 -16
- package/es/const/types.d.ts +0 -19
- package/es/const/var.d.ts +0 -1
- package/es/date-picker/index.d.ts +0 -277
- package/es/descriptions/descriptions-item.d.ts +0 -35
- package/es/descriptions/descriptions.d.ts +0 -54
- package/es/descriptions/index.d.ts +0 -4
- package/es/directives/outsiteclick.d.ts +0 -2
- package/es/directives/resize.d.ts +0 -3
- package/es/directives/scroll.d.ts +0 -2
- package/es/directives/transfer.d.ts +0 -2
- package/es/divider/index.d.ts +0 -42
- package/es/drawer/index.d.ts +0 -177
- package/es/dropdown/dropdown-button.d.ts +0 -45
- package/es/dropdown/dropdown.d.ts +0 -72
- package/es/dropdown/index.d.ts +0 -4
- package/es/dropdown/trigger.d.ts +0 -11
- package/es/empty/index.d.ts +0 -9
- package/es/flex/index.d.ts +0 -45
- package/es/form/form-item.d.ts +0 -24
- package/es/form/form.d.ts +0 -92
- package/es/form/index.d.ts +0 -6
- package/es/form/types.d.ts +0 -14
- package/es/grid/grid-item.d.ts +0 -22
- package/es/grid/grid.d.ts +0 -39
- package/es/grid/index.d.ts +0 -5
- package/es/grid/useBreakpoint.d.ts +0 -3
- package/es/icon/demo/search.d.ts +0 -2
- package/es/icon/demo/tags.d.ts +0 -4
- package/es/icon/index.d.ts +0 -45
- package/es/image/group.d.ts +0 -11
- package/es/image/image.d.ts +0 -45
- package/es/image/index.d.ts +0 -5
- package/es/image/instance.d.ts +0 -2
- package/es/image/preview.d.ts +0 -36
- package/es/image/utils.d.ts +0 -6
- package/es/index.d.ts +0 -10
- package/es/input/index.d.ts +0 -8
- package/es/input/input-box.d.ts +0 -39
- package/es/input/input-group.d.ts +0 -58
- package/es/input/input.d.ts +0 -56
- package/es/input/textarea.d.ts +0 -25
- package/es/input-number/index.d.ts +0 -127
- package/es/layout/index.d.ts +0 -136
- package/es/loading/index.d.ts +0 -16
- package/es/locale/de.d.ts +0 -59
- package/es/locale/el.d.ts +0 -59
- package/es/locale/en.d.ts +0 -59
- package/es/locale/fr.d.ts +0 -59
- package/es/locale/it.d.ts +0 -59
- package/es/locale/ja.d.ts +0 -59
- package/es/locale/ko.d.ts +0 -59
- package/es/locale/ru.d.ts +0 -59
- package/es/locale/th.d.ts +0 -59
- package/es/locale/uk.d.ts +0 -59
- package/es/locale/vi.d.ts +0 -59
- package/es/locale/zh-CN.d.ts +0 -59
- package/es/locale/zh-TW.d.ts +0 -59
- package/es/menu/index.d.ts +0 -7
- package/es/menu/menu-divider.d.ts +0 -2
- package/es/menu/menu-group.d.ts +0 -20
- package/es/menu/menu-item.d.ts +0 -22
- package/es/menu/menu.d.ts +0 -92
- package/es/menu/recursive-menu.d.ts +0 -17
- package/es/menu/sub-menu.d.ts +0 -24
- package/es/message/index.d.ts +0 -23
- package/es/modal/index.d.ts +0 -26
- package/es/modal/modal.d.ts +0 -176
- package/es/modal/toast.d.ts +0 -32
- package/es/notice/container.d.ts +0 -6
- package/es/notice/content.d.ts +0 -54
- package/es/notice/index.d.ts +0 -23
- package/es/notice/instance.d.ts +0 -8
- package/es/page/index.d.ts +0 -115
- package/es/popconfirm/index.d.ts +0 -75
- package/es/poptip/index.d.ts +0 -66
- package/es/progress/index.d.ts +0 -125
- package/es/radio/index.d.ts +0 -7
- package/es/radio/radio-button.d.ts +0 -76
- package/es/radio/radio-group.d.ts +0 -77
- package/es/radio/radio.d.ts +0 -73
- package/es/radio/types.d.ts +0 -5
- package/es/rate/index.d.ts +0 -99
- package/es/rate/star.d.ts +0 -65
- package/es/row-col/col.d.ts +0 -17
- package/es/row-col/index.d.ts +0 -5
- package/es/row-col/row.d.ts +0 -43
- package/es/select/index.d.ts +0 -5
- package/es/select/option.d.ts +0 -23
- package/es/select/select.d.ts +0 -150
- package/es/skeleton/index.d.ts +0 -7
- package/es/skeleton/skeleton-avatar.d.ts +0 -58
- package/es/skeleton/skeleton-button.d.ts +0 -58
- package/es/skeleton/skeleton-image.d.ts +0 -58
- package/es/skeleton/skeleton-text.d.ts +0 -58
- package/es/skeleton/skeleton.d.ts +0 -61
- package/es/skeleton/types.d.ts +0 -29
- package/es/slider/index.d.ts +0 -112
- package/es/slider/thumb.d.ts +0 -58
- package/es/space/index.d.ts +0 -50
- package/es/spin/index.d.ts +0 -58
- package/es/splitter/index.d.ts +0 -4
- package/es/splitter/splitter-panel.d.ts +0 -35
- package/es/splitter/splitter.d.ts +0 -32
- package/es/stat-card/countup.d.ts +0 -56
- package/es/stat-card/index.d.ts +0 -5
- package/es/stat-card/rollup.d.ts +0 -32
- package/es/stat-card/stat-card.d.ts +0 -72
- package/es/stat-card/stat-number.d.ts +0 -100
- package/es/stat-card/utils/countup.d.ts +0 -127
- package/es/stat-card/utils/odometer.d.ts +0 -13
- package/es/switch/index.d.ts +0 -72
- package/es/table/index.d.ts +0 -185
- package/es/tabs/index.d.ts +0 -5
- package/es/tabs/tab-panel.d.ts +0 -22
- package/es/tabs/tabs.d.ts +0 -44
- package/es/tabs/types.d.ts +0 -16
- package/es/tag/index.d.ts +0 -57
- package/es/time-line/index.d.ts +0 -5
- package/es/time-line/timeline-item.d.ts +0 -20
- package/es/time-line/timeline.d.ts +0 -26
- package/es/tooltip/index.d.ts +0 -42
- package/es/tree/index.d.ts +0 -179
- package/es/tree/utils.d.ts +0 -32
- package/es/tree-select/index.d.ts +0 -224
- package/es/upload/file-list.d.ts +0 -59
- package/es/upload/index.d.ts +0 -190
- package/es/upload/selector.d.ts +0 -73
- package/es/utils/checked.d.ts +0 -2
- package/es/utils/color.d.ts +0 -1
- package/es/utils/element.d.ts +0 -4
- package/es/utils/mouse.d.ts +0 -1
- package/es/utils/number.d.ts +0 -6
- package/es/utils/placement.d.ts +0 -16
- package/es/utils/theme.d.ts +0 -5
- package/es/utils/vnode.d.ts +0 -5
- package/es/utils/vue.d.ts +0 -5
package/es/grid/grid-item.d.ts
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { DefineComponent, ExtractPropTypes, HTMLAttributes } from 'vue';
|
|
2
|
-
declare const gridItemProps: {
|
|
3
|
-
span: {
|
|
4
|
-
type: (NumberConstructor | ObjectConstructor | StringConstructor)[];
|
|
5
|
-
default: number;
|
|
6
|
-
};
|
|
7
|
-
rowSpan: {
|
|
8
|
-
type: (NumberConstructor | ObjectConstructor | StringConstructor)[];
|
|
9
|
-
default: number;
|
|
10
|
-
};
|
|
11
|
-
offset: {
|
|
12
|
-
type: (NumberConstructor | ObjectConstructor)[];
|
|
13
|
-
default: number;
|
|
14
|
-
};
|
|
15
|
-
suffix: {
|
|
16
|
-
type: BooleanConstructor;
|
|
17
|
-
default: boolean;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
|
-
export type GridItemProps = Partial<ExtractPropTypes<typeof gridItemProps>> & HTMLAttributes;
|
|
21
|
-
declare const _default: DefineComponent<GridItemProps>;
|
|
22
|
-
export default _default;
|
package/es/grid/grid.d.ts
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { DefineComponent, ExtractPropTypes, HTMLAttributes } from 'vue';
|
|
2
|
-
import { BooleanType } from '../const/types';
|
|
3
|
-
declare const gridProps: {
|
|
4
|
-
cols: {
|
|
5
|
-
type: (NumberConstructor | ObjectConstructor | StringConstructor)[];
|
|
6
|
-
default: number;
|
|
7
|
-
};
|
|
8
|
-
rows: {
|
|
9
|
-
type: (NumberConstructor | ObjectConstructor | StringConstructor)[];
|
|
10
|
-
default: string;
|
|
11
|
-
};
|
|
12
|
-
autoRows: {
|
|
13
|
-
type: StringConstructor;
|
|
14
|
-
default: string;
|
|
15
|
-
};
|
|
16
|
-
xGap: {
|
|
17
|
-
type: (NumberConstructor | ObjectConstructor | StringConstructor)[];
|
|
18
|
-
default: number;
|
|
19
|
-
};
|
|
20
|
-
yGap: {
|
|
21
|
-
type: (NumberConstructor | ObjectConstructor | StringConstructor)[];
|
|
22
|
-
default: number;
|
|
23
|
-
};
|
|
24
|
-
itemMinWidth: {
|
|
25
|
-
type: NumberConstructor;
|
|
26
|
-
};
|
|
27
|
-
align: {
|
|
28
|
-
type: StringConstructor;
|
|
29
|
-
};
|
|
30
|
-
justify: {
|
|
31
|
-
type: StringConstructor;
|
|
32
|
-
};
|
|
33
|
-
debug: {
|
|
34
|
-
type: BooleanType;
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
|
-
export type GridProps = Partial<ExtractPropTypes<typeof gridProps>> & HTMLAttributes;
|
|
38
|
-
declare const _default: DefineComponent<GridProps>;
|
|
39
|
-
export default _default;
|
package/es/grid/index.d.ts
DELETED
package/es/icon/demo/search.d.ts
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{}, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
-
export default _default;
|
package/es/icon/demo/tags.d.ts
DELETED
package/es/icon/index.d.ts
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { ExtractPropTypes, PropType } from 'vue';
|
|
2
|
-
import { BooleanType } from '../const/types';
|
|
3
|
-
export interface IconType {
|
|
4
|
-
d: string;
|
|
5
|
-
s?: string;
|
|
6
|
-
}
|
|
7
|
-
declare const iconProps: {
|
|
8
|
-
type: PropType<IconType[]>;
|
|
9
|
-
size: (NumberConstructor | StringConstructor)[];
|
|
10
|
-
color: StringConstructor;
|
|
11
|
-
spin: BooleanType;
|
|
12
|
-
strokeWidth: {
|
|
13
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
14
|
-
default: number;
|
|
15
|
-
};
|
|
16
|
-
onClick: PropType<(e: PointerEvent) => void>;
|
|
17
|
-
reverseFill: BooleanType;
|
|
18
|
-
};
|
|
19
|
-
export type IconProps = ExtractPropTypes<typeof iconProps>;
|
|
20
|
-
declare const Icon: import('vue').DefineComponent<ExtractPropTypes<{
|
|
21
|
-
type: PropType<IconType[]>;
|
|
22
|
-
size: (NumberConstructor | StringConstructor)[];
|
|
23
|
-
color: StringConstructor;
|
|
24
|
-
spin: BooleanType;
|
|
25
|
-
strokeWidth: {
|
|
26
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
27
|
-
default: number;
|
|
28
|
-
};
|
|
29
|
-
onClick: PropType<(e: PointerEvent) => void>;
|
|
30
|
-
reverseFill: BooleanType;
|
|
31
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
|
|
32
|
-
type: PropType<IconType[]>;
|
|
33
|
-
size: (NumberConstructor | StringConstructor)[];
|
|
34
|
-
color: StringConstructor;
|
|
35
|
-
spin: BooleanType;
|
|
36
|
-
strokeWidth: {
|
|
37
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
38
|
-
default: number;
|
|
39
|
-
};
|
|
40
|
-
onClick: PropType<(e: PointerEvent) => void>;
|
|
41
|
-
reverseFill: BooleanType;
|
|
42
|
-
}>> & Readonly<{}>, {
|
|
43
|
-
strokeWidth: string | number;
|
|
44
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
45
|
-
export default Icon;
|
package/es/image/group.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ExtractPropTypes, PropType } from 'vue';
|
|
2
|
-
declare const imageGroupProps: {
|
|
3
|
-
data: PropType<string[]>;
|
|
4
|
-
};
|
|
5
|
-
export type ImageGroupProps = ExtractPropTypes<typeof imageGroupProps>;
|
|
6
|
-
declare const ImageGroup: import('vue').DefineComponent<ExtractPropTypes<{
|
|
7
|
-
data: PropType<string[]>;
|
|
8
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
|
|
9
|
-
data: PropType<string[]>;
|
|
10
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
11
|
-
export default ImageGroup;
|
package/es/image/image.d.ts
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { CSSProperties, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
-
import { BooleanType } from '../const/types';
|
|
3
|
-
declare const imageProps: {
|
|
4
|
-
alt: StringConstructor;
|
|
5
|
-
src: StringConstructor;
|
|
6
|
-
type: StringConstructor;
|
|
7
|
-
origin: StringConstructor;
|
|
8
|
-
height: (NumberConstructor | StringConstructor)[];
|
|
9
|
-
width: (NumberConstructor | StringConstructor)[];
|
|
10
|
-
placeholder: StringConstructor;
|
|
11
|
-
data: ArrayConstructor;
|
|
12
|
-
imgStyle: PropType<CSSProperties>;
|
|
13
|
-
showPanel: BooleanType;
|
|
14
|
-
onClose: PropType<() => void>;
|
|
15
|
-
onSwitch: PropType<(index: number) => void>;
|
|
16
|
-
};
|
|
17
|
-
export type ImageProps = ExtractPropTypes<typeof imageProps>;
|
|
18
|
-
declare const KImage: import('vue').DefineComponent<ExtractPropTypes<{
|
|
19
|
-
alt: StringConstructor;
|
|
20
|
-
src: StringConstructor;
|
|
21
|
-
type: StringConstructor;
|
|
22
|
-
origin: StringConstructor;
|
|
23
|
-
height: (NumberConstructor | StringConstructor)[];
|
|
24
|
-
width: (NumberConstructor | StringConstructor)[];
|
|
25
|
-
placeholder: StringConstructor;
|
|
26
|
-
data: ArrayConstructor;
|
|
27
|
-
imgStyle: PropType<CSSProperties>;
|
|
28
|
-
showPanel: BooleanType;
|
|
29
|
-
onClose: PropType<() => void>;
|
|
30
|
-
onSwitch: PropType<(index: number) => void>;
|
|
31
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
|
|
32
|
-
alt: StringConstructor;
|
|
33
|
-
src: StringConstructor;
|
|
34
|
-
type: StringConstructor;
|
|
35
|
-
origin: StringConstructor;
|
|
36
|
-
height: (NumberConstructor | StringConstructor)[];
|
|
37
|
-
width: (NumberConstructor | StringConstructor)[];
|
|
38
|
-
placeholder: StringConstructor;
|
|
39
|
-
data: ArrayConstructor;
|
|
40
|
-
imgStyle: PropType<CSSProperties>;
|
|
41
|
-
showPanel: BooleanType;
|
|
42
|
-
onClose: PropType<() => void>;
|
|
43
|
-
onSwitch: PropType<(index: number) => void>;
|
|
44
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
45
|
-
export default KImage;
|
package/es/image/index.d.ts
DELETED
package/es/image/instance.d.ts
DELETED
package/es/image/preview.d.ts
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
import { BooleanType } from '../const/types';
|
|
3
|
-
export interface ImagePreviewProps {
|
|
4
|
-
type?: string;
|
|
5
|
-
src?: string;
|
|
6
|
-
showPanel?: boolean;
|
|
7
|
-
onClose?: () => void;
|
|
8
|
-
onSwitch?: (index: number) => void;
|
|
9
|
-
data?: string[];
|
|
10
|
-
}
|
|
11
|
-
declare const ImagePreview: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
12
|
-
type: StringConstructor;
|
|
13
|
-
src: StringConstructor;
|
|
14
|
-
origin: StringConstructor;
|
|
15
|
-
hasControl: BooleanType;
|
|
16
|
-
value: BooleanType;
|
|
17
|
-
data: {
|
|
18
|
-
type: PropType<string[]>;
|
|
19
|
-
default: () => never[];
|
|
20
|
-
};
|
|
21
|
-
showPanel: BooleanType;
|
|
22
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
23
|
-
type: StringConstructor;
|
|
24
|
-
src: StringConstructor;
|
|
25
|
-
origin: StringConstructor;
|
|
26
|
-
hasControl: BooleanType;
|
|
27
|
-
value: BooleanType;
|
|
28
|
-
data: {
|
|
29
|
-
type: PropType<string[]>;
|
|
30
|
-
default: () => never[];
|
|
31
|
-
};
|
|
32
|
-
showPanel: BooleanType;
|
|
33
|
-
}>> & Readonly<{}>, {
|
|
34
|
-
data: string[];
|
|
35
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
36
|
-
export default ImagePreview;
|
package/es/image/utils.d.ts
DELETED
package/es/index.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { App } from 'vue';
|
|
2
|
-
export * from './components';
|
|
3
|
-
declare const UI: {
|
|
4
|
-
version: string;
|
|
5
|
-
lang: {};
|
|
6
|
-
install: (app: App) => void;
|
|
7
|
-
};
|
|
8
|
-
export declare const install: (app: App) => void;
|
|
9
|
-
export declare const version: string;
|
|
10
|
-
export default UI;
|
package/es/input/index.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { default as Input } from './input';
|
|
2
|
-
import { default as InputGroup } from './input-group';
|
|
3
|
-
import { default as TextArea } from './textarea';
|
|
4
|
-
export type { InputProps } from './input';
|
|
5
|
-
export type { InputGroupProps } from './input-group';
|
|
6
|
-
export type { TextAreaProps } from './textarea';
|
|
7
|
-
export { Input, InputGroup, TextArea };
|
|
8
|
-
export default Input;
|
package/es/input/input-box.d.ts
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { ExtractPropTypes, PropType } from 'vue';
|
|
2
|
-
import { BooleanType } from '../const/types';
|
|
3
|
-
export declare const inputBoxProps: {
|
|
4
|
-
multiple: BooleanType;
|
|
5
|
-
disabled: BooleanType;
|
|
6
|
-
size: StringConstructor;
|
|
7
|
-
type: StringConstructor;
|
|
8
|
-
theme: StringConstructor;
|
|
9
|
-
shape: StringConstructor;
|
|
10
|
-
inputType: StringConstructor;
|
|
11
|
-
value: PropType<string | number | any>;
|
|
12
|
-
showPassword: BooleanType;
|
|
13
|
-
inputRef: PropType<any>;
|
|
14
|
-
};
|
|
15
|
-
export type InputBoxProps = ExtractPropTypes<typeof inputBoxProps>;
|
|
16
|
-
declare const _default: import('vue').DefineComponent<ExtractPropTypes<{
|
|
17
|
-
multiple: BooleanType;
|
|
18
|
-
disabled: BooleanType;
|
|
19
|
-
size: StringConstructor;
|
|
20
|
-
type: StringConstructor;
|
|
21
|
-
theme: StringConstructor;
|
|
22
|
-
shape: StringConstructor;
|
|
23
|
-
inputType: StringConstructor;
|
|
24
|
-
value: PropType<string | number | any>;
|
|
25
|
-
showPassword: BooleanType;
|
|
26
|
-
inputRef: PropType<any>;
|
|
27
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
|
|
28
|
-
multiple: BooleanType;
|
|
29
|
-
disabled: BooleanType;
|
|
30
|
-
size: StringConstructor;
|
|
31
|
-
type: StringConstructor;
|
|
32
|
-
theme: StringConstructor;
|
|
33
|
-
shape: StringConstructor;
|
|
34
|
-
inputType: StringConstructor;
|
|
35
|
-
value: PropType<string | number | any>;
|
|
36
|
-
showPassword: BooleanType;
|
|
37
|
-
inputRef: PropType<any>;
|
|
38
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
39
|
-
export default _default;
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { ExtractPropTypes, PropType } from 'vue';
|
|
2
|
-
import { BooleanType, SizeType, ThemeType } from '../const/types';
|
|
3
|
-
export declare const inputGroupProps: {
|
|
4
|
-
block: {
|
|
5
|
-
type: PropType<boolean | undefined>;
|
|
6
|
-
default: boolean;
|
|
7
|
-
};
|
|
8
|
-
compact: {
|
|
9
|
-
type: BooleanType;
|
|
10
|
-
default: boolean;
|
|
11
|
-
};
|
|
12
|
-
theme: {
|
|
13
|
-
type: PropType<ThemeType>;
|
|
14
|
-
default: string;
|
|
15
|
-
};
|
|
16
|
-
size: {
|
|
17
|
-
type: PropType<SizeType | number | number[]>;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
|
-
export type InputGroupProps = ExtractPropTypes<typeof inputGroupProps>;
|
|
21
|
-
declare const InputGroup: import('vue').DefineComponent<ExtractPropTypes<{
|
|
22
|
-
block: {
|
|
23
|
-
type: PropType<boolean | undefined>;
|
|
24
|
-
default: boolean;
|
|
25
|
-
};
|
|
26
|
-
compact: {
|
|
27
|
-
type: BooleanType;
|
|
28
|
-
default: boolean;
|
|
29
|
-
};
|
|
30
|
-
theme: {
|
|
31
|
-
type: PropType<ThemeType>;
|
|
32
|
-
default: string;
|
|
33
|
-
};
|
|
34
|
-
size: {
|
|
35
|
-
type: PropType<SizeType | number | number[]>;
|
|
36
|
-
};
|
|
37
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
|
|
38
|
-
block: {
|
|
39
|
-
type: PropType<boolean | undefined>;
|
|
40
|
-
default: boolean;
|
|
41
|
-
};
|
|
42
|
-
compact: {
|
|
43
|
-
type: BooleanType;
|
|
44
|
-
default: boolean;
|
|
45
|
-
};
|
|
46
|
-
theme: {
|
|
47
|
-
type: PropType<ThemeType>;
|
|
48
|
-
default: string;
|
|
49
|
-
};
|
|
50
|
-
size: {
|
|
51
|
-
type: PropType<SizeType | number | number[]>;
|
|
52
|
-
};
|
|
53
|
-
}>> & Readonly<{}>, {
|
|
54
|
-
block: boolean | undefined;
|
|
55
|
-
compact: boolean | undefined;
|
|
56
|
-
theme: ThemeType;
|
|
57
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
58
|
-
export default InputGroup;
|
package/es/input/input.d.ts
DELETED
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { DefineComponent, ExtractPropTypes, InputHTMLAttributes, PropType, VNodeChild } from 'vue';
|
|
2
|
-
import { BooleanType, ShapeType, SizeType, ThemeType } from '../const/types';
|
|
3
|
-
import { IconType } from '../icon';
|
|
4
|
-
declare const inputProps: {
|
|
5
|
-
clearable: {
|
|
6
|
-
type: BooleanType;
|
|
7
|
-
default: boolean;
|
|
8
|
-
};
|
|
9
|
-
visiblePasswordIcon: {
|
|
10
|
-
type: BooleanType;
|
|
11
|
-
default: boolean;
|
|
12
|
-
};
|
|
13
|
-
size: {
|
|
14
|
-
type: PropType<SizeType>;
|
|
15
|
-
};
|
|
16
|
-
modelValue: {
|
|
17
|
-
type: PropType<any>;
|
|
18
|
-
};
|
|
19
|
-
disabled: BooleanType;
|
|
20
|
-
type: {
|
|
21
|
-
type: PropType<"text" | "password" | "hidden">;
|
|
22
|
-
default: string;
|
|
23
|
-
};
|
|
24
|
-
icon: PropType<IconType[]>;
|
|
25
|
-
suffix: {
|
|
26
|
-
type: PropType<VNodeChild>;
|
|
27
|
-
};
|
|
28
|
-
prefix: {
|
|
29
|
-
type: PropType<VNodeChild>;
|
|
30
|
-
};
|
|
31
|
-
theme: {
|
|
32
|
-
type: PropType<ThemeType>;
|
|
33
|
-
default: string;
|
|
34
|
-
};
|
|
35
|
-
shape: PropType<ShapeType>;
|
|
36
|
-
inputType: {
|
|
37
|
-
type: StringConstructor;
|
|
38
|
-
default: string;
|
|
39
|
-
};
|
|
40
|
-
onSearch: {
|
|
41
|
-
type: PropType<(value: string) => void>;
|
|
42
|
-
};
|
|
43
|
-
maxlength: NumberConstructor;
|
|
44
|
-
onIconClick: {
|
|
45
|
-
type: PropType<(e: PointerEvent) => void>;
|
|
46
|
-
};
|
|
47
|
-
onClear: {
|
|
48
|
-
type: PropType<() => void>;
|
|
49
|
-
};
|
|
50
|
-
onChange: {
|
|
51
|
-
type: PropType<(value: string) => void>;
|
|
52
|
-
};
|
|
53
|
-
};
|
|
54
|
-
export type InputProps = Partial<ExtractPropTypes<typeof inputProps>> & Omit<InputHTMLAttributes, "onChange">;
|
|
55
|
-
declare const _default: DefineComponent<InputProps>;
|
|
56
|
-
export default _default;
|
package/es/input/textarea.d.ts
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { DefineComponent, ExtractPropTypes, PropType, TextareaHTMLAttributes } from 'vue';
|
|
2
|
-
import { BooleanType, ShapeType, SizeType, ThemeType } from '../const/types';
|
|
3
|
-
export declare const textAreaProps: {
|
|
4
|
-
modelValue: PropType<any>;
|
|
5
|
-
theme: {
|
|
6
|
-
type: PropType<ThemeType>;
|
|
7
|
-
default: string;
|
|
8
|
-
};
|
|
9
|
-
shape: {
|
|
10
|
-
type: PropType<ShapeType>;
|
|
11
|
-
};
|
|
12
|
-
size: PropType<SizeType>;
|
|
13
|
-
placeholder: StringConstructor;
|
|
14
|
-
rows: {
|
|
15
|
-
type: NumberConstructor;
|
|
16
|
-
default: number;
|
|
17
|
-
};
|
|
18
|
-
disabled: BooleanType;
|
|
19
|
-
onChange: {
|
|
20
|
-
type: PropType<(value: string) => void>;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
export type TextAreaProps = Partial<ExtractPropTypes<typeof textAreaProps>> & Omit<TextareaHTMLAttributes, "onChange">;
|
|
24
|
-
declare const _default: DefineComponent<TextAreaProps>;
|
|
25
|
-
export default _default;
|
|
@@ -1,127 +0,0 @@
|
|
|
1
|
-
import { ExtractPropTypes, PropType } from 'vue';
|
|
2
|
-
import { BooleanType, ShapeType, SizeType, ThemeType } from '../const/types';
|
|
3
|
-
import { IconType } from '../icon';
|
|
4
|
-
export declare const inputNumberProps: {
|
|
5
|
-
modelValue: PropType<number | string>;
|
|
6
|
-
min: {
|
|
7
|
-
type: NumberConstructor;
|
|
8
|
-
default: number;
|
|
9
|
-
};
|
|
10
|
-
max: {
|
|
11
|
-
type: NumberConstructor;
|
|
12
|
-
default: number;
|
|
13
|
-
};
|
|
14
|
-
step: {
|
|
15
|
-
type: NumberConstructor;
|
|
16
|
-
default: number;
|
|
17
|
-
};
|
|
18
|
-
precision: NumberConstructor;
|
|
19
|
-
formatter: PropType<(value: string | number) => string>;
|
|
20
|
-
parser: PropType<(value: string) => string | number>;
|
|
21
|
-
disabled: BooleanType;
|
|
22
|
-
readonly: BooleanType;
|
|
23
|
-
controls: {
|
|
24
|
-
type: BooleanType;
|
|
25
|
-
default: boolean;
|
|
26
|
-
};
|
|
27
|
-
suffix: StringConstructor;
|
|
28
|
-
prefix: StringConstructor;
|
|
29
|
-
theme: {
|
|
30
|
-
type: PropType<ThemeType>;
|
|
31
|
-
default: string;
|
|
32
|
-
};
|
|
33
|
-
shape: {
|
|
34
|
-
type: PropType<ShapeType>;
|
|
35
|
-
};
|
|
36
|
-
icon: PropType<IconType[]>;
|
|
37
|
-
size: {
|
|
38
|
-
type: PropType<SizeType>;
|
|
39
|
-
};
|
|
40
|
-
placeholder: StringConstructor;
|
|
41
|
-
onChange: PropType<(value: number) => void>;
|
|
42
|
-
};
|
|
43
|
-
export type InputNumberProps = ExtractPropTypes<typeof inputNumberProps>;
|
|
44
|
-
declare const InputNumber: import('vue').DefineComponent<ExtractPropTypes<{
|
|
45
|
-
modelValue: PropType<number | string>;
|
|
46
|
-
min: {
|
|
47
|
-
type: NumberConstructor;
|
|
48
|
-
default: number;
|
|
49
|
-
};
|
|
50
|
-
max: {
|
|
51
|
-
type: NumberConstructor;
|
|
52
|
-
default: number;
|
|
53
|
-
};
|
|
54
|
-
step: {
|
|
55
|
-
type: NumberConstructor;
|
|
56
|
-
default: number;
|
|
57
|
-
};
|
|
58
|
-
precision: NumberConstructor;
|
|
59
|
-
formatter: PropType<(value: string | number) => string>;
|
|
60
|
-
parser: PropType<(value: string) => string | number>;
|
|
61
|
-
disabled: BooleanType;
|
|
62
|
-
readonly: BooleanType;
|
|
63
|
-
controls: {
|
|
64
|
-
type: BooleanType;
|
|
65
|
-
default: boolean;
|
|
66
|
-
};
|
|
67
|
-
suffix: StringConstructor;
|
|
68
|
-
prefix: StringConstructor;
|
|
69
|
-
theme: {
|
|
70
|
-
type: PropType<ThemeType>;
|
|
71
|
-
default: string;
|
|
72
|
-
};
|
|
73
|
-
shape: {
|
|
74
|
-
type: PropType<ShapeType>;
|
|
75
|
-
};
|
|
76
|
-
icon: PropType<IconType[]>;
|
|
77
|
-
size: {
|
|
78
|
-
type: PropType<SizeType>;
|
|
79
|
-
};
|
|
80
|
-
placeholder: StringConstructor;
|
|
81
|
-
onChange: PropType<(value: number) => void>;
|
|
82
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
|
|
83
|
-
modelValue: PropType<number | string>;
|
|
84
|
-
min: {
|
|
85
|
-
type: NumberConstructor;
|
|
86
|
-
default: number;
|
|
87
|
-
};
|
|
88
|
-
max: {
|
|
89
|
-
type: NumberConstructor;
|
|
90
|
-
default: number;
|
|
91
|
-
};
|
|
92
|
-
step: {
|
|
93
|
-
type: NumberConstructor;
|
|
94
|
-
default: number;
|
|
95
|
-
};
|
|
96
|
-
precision: NumberConstructor;
|
|
97
|
-
formatter: PropType<(value: string | number) => string>;
|
|
98
|
-
parser: PropType<(value: string) => string | number>;
|
|
99
|
-
disabled: BooleanType;
|
|
100
|
-
readonly: BooleanType;
|
|
101
|
-
controls: {
|
|
102
|
-
type: BooleanType;
|
|
103
|
-
default: boolean;
|
|
104
|
-
};
|
|
105
|
-
suffix: StringConstructor;
|
|
106
|
-
prefix: StringConstructor;
|
|
107
|
-
theme: {
|
|
108
|
-
type: PropType<ThemeType>;
|
|
109
|
-
default: string;
|
|
110
|
-
};
|
|
111
|
-
shape: {
|
|
112
|
-
type: PropType<ShapeType>;
|
|
113
|
-
};
|
|
114
|
-
icon: PropType<IconType[]>;
|
|
115
|
-
size: {
|
|
116
|
-
type: PropType<SizeType>;
|
|
117
|
-
};
|
|
118
|
-
placeholder: StringConstructor;
|
|
119
|
-
onChange: PropType<(value: number) => void>;
|
|
120
|
-
}>> & Readonly<{}>, {
|
|
121
|
-
theme: ThemeType;
|
|
122
|
-
step: number;
|
|
123
|
-
min: number;
|
|
124
|
-
max: number;
|
|
125
|
-
controls: boolean | undefined;
|
|
126
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
127
|
-
export default InputNumber;
|