kui-vue 3.6.4 → 3.6.5
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/components/drawer/demo/target.md +1 -0
- package/components/dropdown/demo/cascading.md +30 -16
- package/components/form/demo/withmodal.md +4 -4
- package/components/layout/demo/layout2.md +26 -13
- package/components/layout/demo/layout3.md +15 -8
- package/components/menu/demo/accordion.md +44 -22
- package/components/menu/demo/basic.md +35 -20
- package/components/menu/demo/collapsed.md +37 -19
- package/components/menu/demo/inline.md +44 -23
- package/components/menu/demo/mode.md +42 -26
- package/components/menu/demo/theme.md +34 -18
- package/components/menu/demo/vertical.md +34 -18
- package/components/menu/menu.jsx +8 -2
- package/components/menu/menuitem.jsx +4 -4
- package/components/menu/recursiveMenu.jsx +39 -0
- package/components/menu/styles/index.less +3 -3
- package/components/select/select.jsx +1 -1
- package/components/treeselect/treeselect.jsx +2 -2
- package/dist/k-ui.cjs.js +3 -2
- package/dist/k-ui.css +4 -3
- package/dist/k-ui.d.ts +75 -73
- package/dist/k-ui.esm.js +3 -2
- package/dist/k-ui.umd.js +3 -2
- package/dist/locale/de.js +2 -1
- package/dist/locale/el.js +2 -1
- package/dist/locale/en.js +2 -1
- package/dist/locale/fr.js +2 -1
- package/dist/locale/it.js +2 -1
- package/dist/locale/ja.js +2 -1
- package/dist/locale/ko.js +2 -1
- package/dist/locale/ru.js +2 -1
- package/dist/locale/th.js +2 -1
- package/dist/locale/uk.js +2 -1
- package/dist/locale/vi.js +2 -1
- package/dist/locale/zh-CN.js +2 -1
- package/dist/locale/zh-TW.js +2 -1
- package/package.json +1 -1
- package/types/index.d.ts +8 -8
- package/types/menu/Menu.d.ts +1 -0
package/dist/k-ui.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* kui-vue v3.6.
|
|
2
|
+
* kui-vue v3.6.5
|
|
3
3
|
* Copyright 2017-present, kui-vue.
|
|
4
4
|
* All rights reserved.
|
|
5
|
+
* Homepage: https://k-ui.cn
|
|
5
6
|
* Author: Qiu / https://chuchur.com
|
|
6
7
|
*/
|
|
7
8
|
|
|
@@ -25,6 +26,24 @@ interface Affix extends Vue {
|
|
|
25
26
|
/** Affix Vue component type */
|
|
26
27
|
declare const Affix: VueConstructor<Affix>;
|
|
27
28
|
|
|
29
|
+
/** Avatar component props */
|
|
30
|
+
interface AvatarProps {
|
|
31
|
+
icon?: string | any[];
|
|
32
|
+
shape?: string;
|
|
33
|
+
/** default: default */
|
|
34
|
+
size?: number | string;
|
|
35
|
+
src?: string;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/** Avatar component instance */
|
|
39
|
+
interface Avatar extends Vue {
|
|
40
|
+
$props: AvatarProps;
|
|
41
|
+
$emit(event: string, ...args: any[]): this;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/** Avatar Vue component type */
|
|
45
|
+
declare const Avatar: VueConstructor<Avatar>;
|
|
46
|
+
|
|
28
47
|
/** Alert component props */
|
|
29
48
|
interface AlertProps {
|
|
30
49
|
/** default: warning */
|
|
@@ -45,23 +64,26 @@ interface Alert extends Vue {
|
|
|
45
64
|
/** Alert Vue component type */
|
|
46
65
|
declare const Alert: VueConstructor<Alert>;
|
|
47
66
|
|
|
48
|
-
/**
|
|
49
|
-
interface
|
|
50
|
-
|
|
51
|
-
|
|
67
|
+
/** Badge component props */
|
|
68
|
+
interface BadgeProps {
|
|
69
|
+
count?: string | number;
|
|
70
|
+
dot?: boolean;
|
|
71
|
+
color?: string;
|
|
52
72
|
/** default: default */
|
|
53
|
-
|
|
54
|
-
|
|
73
|
+
status?: string;
|
|
74
|
+
text?: string;
|
|
75
|
+
/** default: 99 */
|
|
76
|
+
maxCount?: number;
|
|
55
77
|
}
|
|
56
78
|
|
|
57
|
-
/**
|
|
58
|
-
interface
|
|
59
|
-
$props:
|
|
79
|
+
/** Badge component instance */
|
|
80
|
+
interface Badge extends Vue {
|
|
81
|
+
$props: BadgeProps;
|
|
60
82
|
$emit(event: string, ...args: any[]): this;
|
|
61
83
|
}
|
|
62
84
|
|
|
63
|
-
/**
|
|
64
|
-
declare const
|
|
85
|
+
/** Badge Vue component type */
|
|
86
|
+
declare const Badge: VueConstructor<Badge>;
|
|
65
87
|
|
|
66
88
|
/** BackTop component props */
|
|
67
89
|
interface BackTopProps {
|
|
@@ -82,27 +104,6 @@ interface BackTop extends Vue {
|
|
|
82
104
|
/** BackTop Vue component type */
|
|
83
105
|
declare const BackTop: VueConstructor<BackTop>;
|
|
84
106
|
|
|
85
|
-
/** Badge component props */
|
|
86
|
-
interface BadgeProps {
|
|
87
|
-
count?: string | number;
|
|
88
|
-
dot?: boolean;
|
|
89
|
-
color?: string;
|
|
90
|
-
/** default: default */
|
|
91
|
-
status?: string;
|
|
92
|
-
text?: string;
|
|
93
|
-
/** default: 99 */
|
|
94
|
-
maxCount?: number;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
/** Badge component instance */
|
|
98
|
-
interface Badge extends Vue {
|
|
99
|
-
$props: BadgeProps;
|
|
100
|
-
$emit(event: string, ...args: any[]): this;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
/** Badge Vue component type */
|
|
104
|
-
declare const Badge: VueConstructor<Badge>;
|
|
105
|
-
|
|
106
107
|
/** Breadcrumb component props */
|
|
107
108
|
interface BreadcrumbProps {
|
|
108
109
|
/** default: / */
|
|
@@ -828,6 +829,7 @@ interface MenuProps {
|
|
|
828
829
|
/** default: undefined */
|
|
829
830
|
value?: any[];
|
|
830
831
|
accordion?: boolean;
|
|
832
|
+
items?: any[];
|
|
831
833
|
inlineCollapsed?: boolean;
|
|
832
834
|
/** default: undefined */
|
|
833
835
|
openKeys?: any[];
|
|
@@ -1367,46 +1369,6 @@ interface Spin extends Vue {
|
|
|
1367
1369
|
/** Spin Vue component type */
|
|
1368
1370
|
declare const Spin: VueConstructor<Spin>;
|
|
1369
1371
|
|
|
1370
|
-
/** StatCard component props */
|
|
1371
|
-
interface StatCardProps {
|
|
1372
|
-
title?: string;
|
|
1373
|
-
/** default: undefined */
|
|
1374
|
-
items?: any[];
|
|
1375
|
-
statNumberType?: string;
|
|
1376
|
-
}
|
|
1377
|
-
|
|
1378
|
-
/** StatCard component instance */
|
|
1379
|
-
interface StatCard extends Vue {
|
|
1380
|
-
$props: StatCardProps;
|
|
1381
|
-
$emit(event: string, ...args: any[]): this;
|
|
1382
|
-
}
|
|
1383
|
-
|
|
1384
|
-
/** StatCard Vue component type */
|
|
1385
|
-
declare const StatCard: VueConstructor<StatCard>;
|
|
1386
|
-
|
|
1387
|
-
/** StatNumber component props */
|
|
1388
|
-
interface StatNumberProps {
|
|
1389
|
-
value?: number;
|
|
1390
|
-
separator?: string;
|
|
1391
|
-
/** default: 1 */
|
|
1392
|
-
duration?: number;
|
|
1393
|
-
/** default: 0 */
|
|
1394
|
-
precision?: number;
|
|
1395
|
-
/** default: countup */
|
|
1396
|
-
type?: string;
|
|
1397
|
-
prefix?: string;
|
|
1398
|
-
suffix?: string;
|
|
1399
|
-
}
|
|
1400
|
-
|
|
1401
|
-
/** StatNumber component instance */
|
|
1402
|
-
interface StatNumber extends Vue {
|
|
1403
|
-
$props: StatNumberProps;
|
|
1404
|
-
$emit(event: string, ...args: any[]): this;
|
|
1405
|
-
}
|
|
1406
|
-
|
|
1407
|
-
/** StatNumber Vue component type */
|
|
1408
|
-
declare const StatNumber: VueConstructor<StatNumber>;
|
|
1409
|
-
|
|
1410
1372
|
/** Switch component props */
|
|
1411
1373
|
interface SwitchProps {
|
|
1412
1374
|
/** default: false */
|
|
@@ -1691,5 +1653,45 @@ interface Upload extends Vue {
|
|
|
1691
1653
|
/** Upload Vue component type */
|
|
1692
1654
|
declare const Upload: VueConstructor<Upload>;
|
|
1693
1655
|
|
|
1656
|
+
/** StatCard component props */
|
|
1657
|
+
interface StatCardProps {
|
|
1658
|
+
title?: string;
|
|
1659
|
+
/** default: undefined */
|
|
1660
|
+
items?: any[];
|
|
1661
|
+
statNumberType?: string;
|
|
1662
|
+
}
|
|
1663
|
+
|
|
1664
|
+
/** StatCard component instance */
|
|
1665
|
+
interface StatCard extends Vue {
|
|
1666
|
+
$props: StatCardProps;
|
|
1667
|
+
$emit(event: string, ...args: any[]): this;
|
|
1668
|
+
}
|
|
1669
|
+
|
|
1670
|
+
/** StatCard Vue component type */
|
|
1671
|
+
declare const StatCard: VueConstructor<StatCard>;
|
|
1672
|
+
|
|
1673
|
+
/** StatNumber component props */
|
|
1674
|
+
interface StatNumberProps {
|
|
1675
|
+
value?: number;
|
|
1676
|
+
separator?: string;
|
|
1677
|
+
/** default: 1 */
|
|
1678
|
+
duration?: number;
|
|
1679
|
+
/** default: 0 */
|
|
1680
|
+
precision?: number;
|
|
1681
|
+
/** default: countup */
|
|
1682
|
+
type?: string;
|
|
1683
|
+
prefix?: string;
|
|
1684
|
+
suffix?: string;
|
|
1685
|
+
}
|
|
1686
|
+
|
|
1687
|
+
/** StatNumber component instance */
|
|
1688
|
+
interface StatNumber extends Vue {
|
|
1689
|
+
$props: StatNumberProps;
|
|
1690
|
+
$emit(event: string, ...args: any[]): this;
|
|
1691
|
+
}
|
|
1692
|
+
|
|
1693
|
+
/** StatNumber Vue component type */
|
|
1694
|
+
declare const StatNumber: VueConstructor<StatNumber>;
|
|
1695
|
+
|
|
1694
1696
|
export { Affix, Alert, Avatar, BackTop, Badge, Breadcrumb, BreadcrumbItem, Button, ButtonGroup, Card, Carousel, CarouselItem, Checkbox, CheckboxGroup, Col, Collapse, CollapsePanel, ColorPicker, DatePicker, Descriptions, DescriptionsItem, Divider, Drawer, Dropdown, DropdownButton, Empty, Flex, Form, Icon, ImageGroup, Input, InputGroup, InputNumber, KImage, Menu, MenuDivider, MenuGroup, MenuItem, Modal, Option, Page, Popconfirm, Poptip, Progress, Radio, RadioButton, RadioGroup, Rate, Row, Select, Skeleton, SkeletonAvatar, SkeletonButton, SkeletonImage, SkeletonText, Slider, Space, Spin, StatCard, StatNumber, SubMenu, Switch, TabPanel, Table, Tabs, Tag, TextArea, TimeLine, TimeLineItem, Tooltip, Tree, TreeSelect, Upload, formitem, loading, sider };
|
|
1695
1697
|
export type { AffixProps, AlertProps, AvatarProps, BackTopProps, BadgeProps, BreadcrumbItemProps, BreadcrumbProps, ButtonGroupProps, ButtonProps, CardProps, CarouselItemProps, CarouselProps, CheckboxGroupProps, CheckboxProps, ColProps, CollapsePanelProps, CollapseProps, ColorPickerProps, DatePickerProps, DescriptionsItemProps, DescriptionsProps, DividerProps, DrawerProps, DropdownButtonProps, DropdownProps, EmptyProps, FlexProps, FormProps, IconProps, ImageGroupProps, InputGroupProps, InputNumberProps, InputProps, KImageProps, MenuDividerProps, MenuGroupProps, MenuItemProps, MenuProps, ModalProps, OptionProps, PageProps, PopconfirmProps, PoptipProps, ProgressProps, RadioButtonProps, RadioGroupProps, RadioProps, RateProps, RowProps, SelectProps, SkeletonAvatarProps, SkeletonButtonProps, SkeletonImageProps, SkeletonProps, SkeletonTextProps, SliderProps, SpaceProps, SpinProps, StatCardProps, StatNumberProps, SubMenuProps, SwitchProps, TabPanelProps, TableProps, TabsProps, TagProps, TextAreaProps, TimeLineItemProps, TimeLineProps, TooltipProps, TreeProps, TreeSelectProps, UploadProps, formitemProps, loadingProps, siderProps };
|