@antsoo-lib/components 0.1.4 → 0.1.6

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 (133) hide show
  1. package/dist/index.mjs +6360 -6412
  2. package/dist/index.umd.js +83 -83
  3. package/dist/src/_util/ActionButton.d.ts +385 -0
  4. package/dist/src/_util/BaseInput.d.ts +80 -0
  5. package/dist/src/_util/BaseInputInner.d.ts +76 -0
  6. package/dist/src/_util/Portal.d.ts +22 -0
  7. package/dist/src/_util/PortalWrapper.d.ts +42 -0
  8. package/dist/src/alert/index.d.ts +158 -0
  9. package/dist/src/auto-complete/index.d.ts +773 -0
  10. package/dist/src/avatar/Avatar.d.ts +88 -0
  11. package/dist/src/badge/Badge.d.ts +128 -0
  12. package/dist/src/badge/Ribbon.d.ts +43 -0
  13. package/dist/src/badge/ScrollNumber.d.ts +28 -0
  14. package/dist/src/breadcrumb/Breadcrumb.d.ts +66 -0
  15. package/dist/src/breadcrumb/BreadcrumbItem.d.ts +1489 -0
  16. package/dist/src/button/button.d.ts +115 -0
  17. package/dist/src/button/buttonTypes.d.ts +59 -0
  18. package/dist/src/card/Card.d.ts +155 -0
  19. package/dist/src/carousel/index.d.ts +576 -0
  20. package/dist/src/cascader/index.d.ts +735 -0
  21. package/dist/src/checkbox/Checkbox.d.ts +117 -0
  22. package/dist/src/checkbox/interface.d.ts +168 -0
  23. package/dist/src/collapse/Collapse.d.ts +133 -0
  24. package/dist/src/collapse/CollapsePanel.d.ts +133 -0
  25. package/dist/src/collapse/PanelContent.d.ts +126 -0
  26. package/dist/src/collapse/commonProps.d.ts +125 -0
  27. package/dist/src/comment/index.d.ts +81 -0
  28. package/dist/src/date-picker/generatePicker/index.d.ts +7404 -0
  29. package/dist/src/descriptions/index.d.ts +173 -0
  30. package/dist/src/drawer/index.d.ts +501 -0
  31. package/dist/src/dropdown/dropdown-button.d.ts +556 -0
  32. package/dist/src/dropdown/dropdown.d.ts +503 -0
  33. package/dist/src/dropdown/props.d.ts +465 -0
  34. package/dist/src/float-button/BackTop.d.ts +67 -0
  35. package/dist/src/float-button/FloatButton.d.ts +57 -0
  36. package/dist/src/float-button/FloatButtonGroup.d.ts +92 -0
  37. package/dist/src/float-button/interface.d.ts +108 -0
  38. package/dist/src/form/Form.d.ts +796 -0
  39. package/dist/src/form/FormItem.d.ts +192 -0
  40. package/dist/src/image/index.d.ts +75 -0
  41. package/dist/src/input/Input.d.ts +198 -0
  42. package/dist/src/input/Password.d.ts +222 -0
  43. package/dist/src/input/ResizableTextArea.d.ts +222 -0
  44. package/dist/src/input/Search.d.ts +199 -0
  45. package/dist/src/input/TextArea.d.ts +223 -0
  46. package/dist/src/input/inputProps.d.ts +211 -0
  47. package/dist/src/input-number/index.d.ts +611 -0
  48. package/dist/src/layout/Sider.d.ts +115 -0
  49. package/dist/src/layout/index.d.ts +298 -0
  50. package/dist/src/list/Item.d.ts +48 -0
  51. package/dist/src/list/ItemMeta.d.ts +27 -0
  52. package/dist/src/list/index.d.ts +962 -0
  53. package/dist/src/mentions/index.d.ts +351 -0
  54. package/dist/src/menu/src/ItemGroup.d.ts +31 -0
  55. package/dist/src/menu/src/MenuItem.d.ts +75 -0
  56. package/dist/src/menu/src/SubMenu.d.ts +87 -0
  57. package/dist/src/modal/Modal.d.ts +1026 -0
  58. package/dist/src/page-header/index.d.ts +456 -0
  59. package/dist/src/pagination/Select.d.ts +723 -0
  60. package/dist/src/popconfirm/index.d.ts +1105 -0
  61. package/dist/src/radio/Group.d.ts +123 -0
  62. package/dist/src/radio/Radio.d.ts +155 -0
  63. package/dist/src/radio/RadioButton.d.ts +107 -0
  64. package/dist/src/rate/Star.d.ts +76 -0
  65. package/dist/src/rate/index.d.ts +160 -0
  66. package/dist/src/result/index.d.ts +70 -0
  67. package/dist/src/select/index.d.ts +567 -0
  68. package/dist/src/slider/SliderTooltip.d.ts +144 -0
  69. package/dist/src/spin/Spin.d.ts +44 -0
  70. package/dist/src/switch/index.d.ts +220 -0
  71. package/dist/src/table/Table.d.ts +1162 -0
  72. package/dist/src/table/index.d.ts +1494 -0
  73. package/dist/src/tabs/src/TabNavList/OperationNode.d.ts +150 -0
  74. package/dist/src/tabs/src/TabNavList/index.d.ts +171 -0
  75. package/dist/src/tabs/src/TabPanelList/TabPane.d.ts +105 -0
  76. package/dist/src/tabs/src/Tabs.d.ts +305 -0
  77. package/dist/src/tag/index.d.ts +102 -0
  78. package/dist/src/timeline/Timeline.d.ts +43 -0
  79. package/dist/src/timeline/TimelineItem.d.ts +50 -0
  80. package/dist/src/tooltip/Tooltip.d.ts +233 -0
  81. package/dist/src/tooltip/index.d.ts +251 -0
  82. package/dist/src/tour/index.d.ts +1024 -0
  83. package/dist/src/tour/interface.d.ts +208 -0
  84. package/dist/src/transfer/ListBody.d.ts +81 -0
  85. package/dist/src/transfer/ListItem.d.ts +70 -0
  86. package/dist/src/transfer/index.d.ts +712 -0
  87. package/dist/src/transfer/list.d.ts +166 -0
  88. package/dist/src/tree/DirectoryTree.d.ts +799 -0
  89. package/dist/src/tree/Tree.d.ts +895 -0
  90. package/dist/src/tree/index.d.ts +1636 -0
  91. package/dist/src/tree-select/index.d.ts +1078 -0
  92. package/dist/src/vc-cascader/Cascader.d.ts +973 -0
  93. package/dist/src/vc-checkbox/Checkbox.d.ts +78 -0
  94. package/dist/src/vc-dialog/Content.d.ts +182 -0
  95. package/dist/src/vc-dialog/Dialog.d.ts +170 -0
  96. package/dist/src/vc-dialog/DialogWrap.d.ts +167 -0
  97. package/dist/src/vc-dialog/IDialogPropTypes.d.ts +80 -0
  98. package/dist/src/vc-drawer/src/DrawerChild.d.ts +165 -0
  99. package/dist/src/vc-drawer/src/IDrawerPropTypes.d.ts +148 -0
  100. package/dist/src/vc-dropdown/Dropdown.d.ts +167 -0
  101. package/dist/src/vc-image/src/Image.d.ts +115 -0
  102. package/dist/src/vc-image/src/Preview.d.ts +293 -0
  103. package/dist/src/vc-input/BaseInput.d.ts +99 -0
  104. package/dist/src/vc-input/Input.d.ts +197 -0
  105. package/dist/src/vc-input/inputProps.d.ts +170 -0
  106. package/dist/src/vc-mentions/src/Mentions.d.ts +94 -0
  107. package/dist/src/vc-mentions/src/mentionsProps.d.ts +127 -0
  108. package/dist/src/vc-overflow/Item.d.ts +35 -0
  109. package/dist/src/vc-overflow/Overflow.d.ts +90 -0
  110. package/dist/src/vc-overflow/RawItem.d.ts +46 -0
  111. package/dist/src/vc-pagination/Options.d.ts +62 -0
  112. package/dist/src/vc-pagination/Pager.d.ts +76 -0
  113. package/dist/src/vc-pagination/Pagination.d.ts +246 -0
  114. package/dist/src/vc-select/BaseSelect.d.ts +579 -0
  115. package/dist/src/vc-select/Select.d.ts +510 -0
  116. package/dist/src/vc-select/Selector/Input.d.ts +187 -0
  117. package/dist/src/vc-slider/src/Range.d.ts +238 -0
  118. package/dist/src/vc-slider/src/Slider.d.ts +238 -0
  119. package/dist/src/vc-slider/src/common/createSlider.d.ts +237 -0
  120. package/dist/src/vc-steps/Step.d.ts +164 -0
  121. package/dist/src/vc-steps/Steps.d.ts +154 -0
  122. package/dist/src/vc-tooltip/src/Content.d.ts +18 -0
  123. package/dist/src/vc-tooltip/src/Tooltip.d.ts +195 -0
  124. package/dist/src/vc-tour/Tour.d.ts +654 -0
  125. package/dist/src/vc-tree/MotionTreeNode.d.ts +123 -0
  126. package/dist/src/vc-tree/Tree.d.ts +439 -0
  127. package/dist/src/vc-tree/TreeNode.d.ts +115 -0
  128. package/dist/src/vc-tree/props.d.ts +354 -0
  129. package/dist/src/vc-tree-select/TreeSelect.d.ts +708 -0
  130. package/dist/src/vc-trigger/Trigger.d.ts +358 -0
  131. package/dist/src/vc-trigger/interface.d.ts +208 -0
  132. package/dist/src/vc-virtual-list/List.d.ts +107 -0
  133. package/package.json +7 -7
@@ -0,0 +1,117 @@
1
+ import { CheckboxChangeEvent } from './interface';
2
+ import { DefineComponent, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ import { VueTypeValidableDef } from 'vue-types';
4
+ import { MouseEventHandler } from '../_util/EventInterface';
5
+ import { VueNode } from '../_util/type';
6
+ declare const _default: DefineComponent<ExtractPropTypes<{
7
+ indeterminate: {
8
+ type: BooleanConstructor;
9
+ default: boolean;
10
+ };
11
+ prefixCls: StringConstructor;
12
+ defaultChecked: {
13
+ type: BooleanConstructor;
14
+ default: boolean;
15
+ };
16
+ checked: {
17
+ type: BooleanConstructor;
18
+ default: boolean;
19
+ };
20
+ disabled: {
21
+ type: BooleanConstructor;
22
+ default: boolean;
23
+ };
24
+ isGroup: {
25
+ type: BooleanConstructor;
26
+ default: boolean;
27
+ };
28
+ value: VueTypeValidableDef<any>;
29
+ name: StringConstructor;
30
+ id: StringConstructor;
31
+ type: {
32
+ type: PropType<"checkbox">;
33
+ default: "checkbox";
34
+ };
35
+ autofocus: {
36
+ type: BooleanConstructor;
37
+ default: boolean;
38
+ };
39
+ onChange: {
40
+ type: PropType<(e: CheckboxChangeEvent) => void>;
41
+ default: (e: CheckboxChangeEvent) => void;
42
+ };
43
+ 'onUpdate:checked': {
44
+ type: PropType<(checked: boolean) => void>;
45
+ default: (checked: boolean) => void;
46
+ };
47
+ onClick: {
48
+ type: PropType<MouseEventHandler>;
49
+ default: MouseEventHandler;
50
+ };
51
+ skipGroup: {
52
+ type: BooleanConstructor;
53
+ default: boolean;
54
+ };
55
+ }>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
56
+ indeterminate: {
57
+ type: BooleanConstructor;
58
+ default: boolean;
59
+ };
60
+ prefixCls: StringConstructor;
61
+ defaultChecked: {
62
+ type: BooleanConstructor;
63
+ default: boolean;
64
+ };
65
+ checked: {
66
+ type: BooleanConstructor;
67
+ default: boolean;
68
+ };
69
+ disabled: {
70
+ type: BooleanConstructor;
71
+ default: boolean;
72
+ };
73
+ isGroup: {
74
+ type: BooleanConstructor;
75
+ default: boolean;
76
+ };
77
+ value: VueTypeValidableDef<any>;
78
+ name: StringConstructor;
79
+ id: StringConstructor;
80
+ type: {
81
+ type: PropType<"checkbox">;
82
+ default: "checkbox";
83
+ };
84
+ autofocus: {
85
+ type: BooleanConstructor;
86
+ default: boolean;
87
+ };
88
+ onChange: {
89
+ type: PropType<(e: CheckboxChangeEvent) => void>;
90
+ default: (e: CheckboxChangeEvent) => void;
91
+ };
92
+ 'onUpdate:checked': {
93
+ type: PropType<(checked: boolean) => void>;
94
+ default: (checked: boolean) => void;
95
+ };
96
+ onClick: {
97
+ type: PropType<MouseEventHandler>;
98
+ default: MouseEventHandler;
99
+ };
100
+ skipGroup: {
101
+ type: BooleanConstructor;
102
+ default: boolean;
103
+ };
104
+ }>> & Readonly<{}>, {
105
+ type: "checkbox";
106
+ disabled: boolean;
107
+ onChange: (e: CheckboxChangeEvent) => void;
108
+ onClick: MouseEventHandler;
109
+ autofocus: boolean;
110
+ checked: boolean;
111
+ 'onUpdate:checked': (checked: boolean) => void;
112
+ defaultChecked: boolean;
113
+ indeterminate: boolean;
114
+ isGroup: boolean;
115
+ skipGroup: boolean;
116
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
117
+ export default _default;
@@ -0,0 +1,168 @@
1
+ import { ExtractPropTypes, InjectionKey, Ref, PropType } from 'vue';
2
+ import { MouseEventHandler } from '../_util/EventInterface';
3
+ import { VueNode } from '../_util/type';
4
+ import { VueTypeValidableDef } from 'vue-types';
5
+ export type CheckboxValueType = string | number | boolean;
6
+ export interface CheckboxOptionType {
7
+ label?: VueNode;
8
+ value: CheckboxValueType;
9
+ disabled?: boolean;
10
+ indeterminate?: boolean;
11
+ onChange?: (e: CheckboxChangeEvent) => void;
12
+ }
13
+ export interface CheckboxChangeEvent {
14
+ target: CheckboxChangeEventTarget;
15
+ stopPropagation: () => void;
16
+ preventDefault: () => void;
17
+ nativeEvent: MouseEvent;
18
+ }
19
+ export interface CheckboxChangeEventTarget extends CheckboxProps {
20
+ checked: boolean;
21
+ }
22
+ export declare const abstractCheckboxGroupProps: () => {
23
+ name: StringConstructor;
24
+ prefixCls: StringConstructor;
25
+ options: {
26
+ type: PropType<(string | number | CheckboxOptionType)[]>;
27
+ default: (string | number | CheckboxOptionType)[];
28
+ };
29
+ disabled: BooleanConstructor;
30
+ id: StringConstructor;
31
+ };
32
+ export declare const checkboxGroupProps: () => {
33
+ defaultValue: {
34
+ type: PropType<CheckboxValueType[]>;
35
+ default: CheckboxValueType[];
36
+ };
37
+ value: {
38
+ type: PropType<CheckboxValueType[]>;
39
+ default: CheckboxValueType[];
40
+ };
41
+ onChange: {
42
+ type: PropType<(checkedValue: Array<CheckboxValueType>) => void>;
43
+ default: (checkedValue: Array<CheckboxValueType>) => void;
44
+ };
45
+ 'onUpdate:value': {
46
+ type: PropType<(checkedValue: Array<CheckboxValueType>) => void>;
47
+ default: (checkedValue: Array<CheckboxValueType>) => void;
48
+ };
49
+ name: StringConstructor;
50
+ prefixCls: StringConstructor;
51
+ options: {
52
+ type: PropType<(string | number | CheckboxOptionType)[]>;
53
+ default: (string | number | CheckboxOptionType)[];
54
+ };
55
+ disabled: BooleanConstructor;
56
+ id: StringConstructor;
57
+ };
58
+ export type CheckboxGroupProps = Partial<ExtractPropTypes<ReturnType<typeof checkboxGroupProps>>>;
59
+ export declare const abstractCheckboxProps: () => {
60
+ prefixCls: StringConstructor;
61
+ defaultChecked: {
62
+ type: BooleanConstructor;
63
+ default: boolean;
64
+ };
65
+ checked: {
66
+ type: BooleanConstructor;
67
+ default: boolean;
68
+ };
69
+ disabled: {
70
+ type: BooleanConstructor;
71
+ default: boolean;
72
+ };
73
+ isGroup: {
74
+ type: BooleanConstructor;
75
+ default: boolean;
76
+ };
77
+ value: VueTypeValidableDef<any>;
78
+ name: StringConstructor;
79
+ id: StringConstructor;
80
+ indeterminate: {
81
+ type: BooleanConstructor;
82
+ default: boolean;
83
+ };
84
+ type: {
85
+ type: PropType<"checkbox">;
86
+ default: "checkbox";
87
+ };
88
+ autofocus: {
89
+ type: BooleanConstructor;
90
+ default: boolean;
91
+ };
92
+ onChange: {
93
+ type: PropType<(e: CheckboxChangeEvent) => void>;
94
+ default: (e: CheckboxChangeEvent) => void;
95
+ };
96
+ 'onUpdate:checked': {
97
+ type: PropType<(checked: boolean) => void>;
98
+ default: (checked: boolean) => void;
99
+ };
100
+ onClick: {
101
+ type: PropType<MouseEventHandler>;
102
+ default: MouseEventHandler;
103
+ };
104
+ skipGroup: {
105
+ type: BooleanConstructor;
106
+ default: boolean;
107
+ };
108
+ };
109
+ export declare const checkboxProps: () => {
110
+ indeterminate: {
111
+ type: BooleanConstructor;
112
+ default: boolean;
113
+ };
114
+ prefixCls: StringConstructor;
115
+ defaultChecked: {
116
+ type: BooleanConstructor;
117
+ default: boolean;
118
+ };
119
+ checked: {
120
+ type: BooleanConstructor;
121
+ default: boolean;
122
+ };
123
+ disabled: {
124
+ type: BooleanConstructor;
125
+ default: boolean;
126
+ };
127
+ isGroup: {
128
+ type: BooleanConstructor;
129
+ default: boolean;
130
+ };
131
+ value: VueTypeValidableDef<any>;
132
+ name: StringConstructor;
133
+ id: StringConstructor;
134
+ type: {
135
+ type: PropType<"checkbox">;
136
+ default: "checkbox";
137
+ };
138
+ autofocus: {
139
+ type: BooleanConstructor;
140
+ default: boolean;
141
+ };
142
+ onChange: {
143
+ type: PropType<(e: CheckboxChangeEvent) => void>;
144
+ default: (e: CheckboxChangeEvent) => void;
145
+ };
146
+ 'onUpdate:checked': {
147
+ type: PropType<(checked: boolean) => void>;
148
+ default: (checked: boolean) => void;
149
+ };
150
+ onClick: {
151
+ type: PropType<MouseEventHandler>;
152
+ default: MouseEventHandler;
153
+ };
154
+ skipGroup: {
155
+ type: BooleanConstructor;
156
+ default: boolean;
157
+ };
158
+ };
159
+ export type CheckboxProps = Partial<ExtractPropTypes<ReturnType<typeof checkboxProps>>>;
160
+ export interface CheckboxGroupContext {
161
+ cancelValue: (id: symbol) => void;
162
+ registerValue: (id: symbol, value: string) => void;
163
+ toggleOption: (option: CheckboxOptionType) => void;
164
+ name: Ref<string>;
165
+ disabled: Ref<boolean>;
166
+ mergedValue: Ref<CheckboxValueType[]>;
167
+ }
168
+ export declare const CheckboxGroupContextKey: InjectionKey<CheckboxGroupContext>;
@@ -0,0 +1,133 @@
1
+ import { ExtractPropTypes, DefineComponent, PropType, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ import { CustomSlotsType, Key, VueNode } from '../_util/type';
3
+ import { CollapsePanelProps } from './CollapsePanel';
4
+ import { CollapsibleType, collapseProps, ActiveKeyType, PanelProps } from './commonProps';
5
+ import { VueTypeValidableDef } from 'vue-types';
6
+ export { collapseProps };
7
+ export type CollapseProps = Partial<ExtractPropTypes<ReturnType<typeof collapseProps>>>;
8
+ declare const _default: DefineComponent<ExtractPropTypes<{
9
+ prefixCls: StringConstructor;
10
+ activeKey: {
11
+ type: PropType<ActiveKeyType>;
12
+ default: ActiveKeyType;
13
+ };
14
+ defaultActiveKey: {
15
+ type: PropType<ActiveKeyType>;
16
+ default: ActiveKeyType;
17
+ };
18
+ accordion: {
19
+ type: BooleanConstructor;
20
+ default: boolean;
21
+ };
22
+ destroyInactivePanel: {
23
+ type: BooleanConstructor;
24
+ default: boolean;
25
+ };
26
+ bordered: {
27
+ type: BooleanConstructor;
28
+ default: boolean;
29
+ };
30
+ expandIcon: {
31
+ type: PropType<(panelProps: PanelProps) => any>;
32
+ default: (panelProps: PanelProps) => any;
33
+ };
34
+ openAnimation: VueTypeValidableDef<{
35
+ [key: string]: any;
36
+ }> & {
37
+ default: () => {
38
+ [key: string]: any;
39
+ };
40
+ };
41
+ expandIconPosition: {
42
+ type: PropType<"end" | "start">;
43
+ default: "end" | "start";
44
+ };
45
+ collapsible: {
46
+ type: PropType<CollapsibleType>;
47
+ default: CollapsibleType;
48
+ };
49
+ ghost: {
50
+ type: BooleanConstructor;
51
+ default: boolean;
52
+ };
53
+ onChange: {
54
+ type: PropType<(key: Key | Key[]) => void>;
55
+ default: (key: Key | Key[]) => void;
56
+ };
57
+ 'onUpdate:activeKey': {
58
+ type: PropType<(key: Key | Key[]) => void>;
59
+ default: (key: Key | Key[]) => void;
60
+ };
61
+ }>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{
62
+ prefixCls: StringConstructor;
63
+ activeKey: {
64
+ type: PropType<ActiveKeyType>;
65
+ default: ActiveKeyType;
66
+ };
67
+ defaultActiveKey: {
68
+ type: PropType<ActiveKeyType>;
69
+ default: ActiveKeyType;
70
+ };
71
+ accordion: {
72
+ type: BooleanConstructor;
73
+ default: boolean;
74
+ };
75
+ destroyInactivePanel: {
76
+ type: BooleanConstructor;
77
+ default: boolean;
78
+ };
79
+ bordered: {
80
+ type: BooleanConstructor;
81
+ default: boolean;
82
+ };
83
+ expandIcon: {
84
+ type: PropType<(panelProps: PanelProps) => any>;
85
+ default: (panelProps: PanelProps) => any;
86
+ };
87
+ openAnimation: VueTypeValidableDef<{
88
+ [key: string]: any;
89
+ }> & {
90
+ default: () => {
91
+ [key: string]: any;
92
+ };
93
+ };
94
+ expandIconPosition: {
95
+ type: PropType<"end" | "start">;
96
+ default: "end" | "start";
97
+ };
98
+ collapsible: {
99
+ type: PropType<CollapsibleType>;
100
+ default: CollapsibleType;
101
+ };
102
+ ghost: {
103
+ type: BooleanConstructor;
104
+ default: boolean;
105
+ };
106
+ onChange: {
107
+ type: PropType<(key: Key | Key[]) => void>;
108
+ default: (key: Key | Key[]) => void;
109
+ };
110
+ 'onUpdate:activeKey': {
111
+ type: PropType<(key: Key | Key[]) => void>;
112
+ default: (key: Key | Key[]) => void;
113
+ };
114
+ }>> & Readonly<{}>, {
115
+ onChange: (key: Key | Key[]) => void;
116
+ ghost: boolean;
117
+ bordered: boolean;
118
+ activeKey: ActiveKeyType;
119
+ openAnimation: {
120
+ [key: string]: any;
121
+ };
122
+ expandIcon: (panelProps: PanelProps) => any;
123
+ 'onUpdate:activeKey': (key: Key | Key[]) => void;
124
+ defaultActiveKey: ActiveKeyType;
125
+ destroyInactivePanel: boolean;
126
+ accordion: boolean;
127
+ collapsible: CollapsibleType;
128
+ expandIconPosition: "end" | "start";
129
+ }, CustomSlotsType<{
130
+ default?: any;
131
+ expandIcon?: CollapsePanelProps;
132
+ }>, {}, {}, string, ComponentProvideOptions, true, {}, any>;
133
+ export default _default;
@@ -0,0 +1,133 @@
1
+ import { ExtractPropTypes, DefineComponent, PropType, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ import { CustomSlotsType, Key } from '../_util/type';
3
+ import { collapsePanelProps, PanelProps, CollapsibleType } from './commonProps';
4
+ import { VueTypeValidableDef } from 'vue-types';
5
+ export { collapsePanelProps };
6
+ export type CollapsePanelProps = Partial<ExtractPropTypes<ReturnType<typeof collapsePanelProps>>>;
7
+ declare const _default: DefineComponent<ExtractPropTypes<{
8
+ openAnimation: VueTypeValidableDef<{
9
+ [key: string]: any;
10
+ }> & {
11
+ default: () => {
12
+ [key: string]: any;
13
+ };
14
+ };
15
+ prefixCls: StringConstructor;
16
+ header: VueTypeValidableDef<any>;
17
+ headerClass: StringConstructor;
18
+ showArrow: {
19
+ type: BooleanConstructor;
20
+ default: boolean;
21
+ };
22
+ isActive: {
23
+ type: BooleanConstructor;
24
+ default: boolean;
25
+ };
26
+ destroyInactivePanel: {
27
+ type: BooleanConstructor;
28
+ default: boolean;
29
+ };
30
+ disabled: {
31
+ type: BooleanConstructor;
32
+ default: boolean;
33
+ };
34
+ accordion: {
35
+ type: BooleanConstructor;
36
+ default: boolean;
37
+ };
38
+ forceRender: {
39
+ type: BooleanConstructor;
40
+ default: boolean;
41
+ };
42
+ expandIcon: {
43
+ type: PropType<(panelProps: PanelProps) => any>;
44
+ default: (panelProps: PanelProps) => any;
45
+ };
46
+ extra: VueTypeValidableDef<any>;
47
+ panelKey: {
48
+ type: PropType<string | number>;
49
+ default: string | number;
50
+ };
51
+ collapsible: {
52
+ type: PropType<CollapsibleType>;
53
+ default: CollapsibleType;
54
+ };
55
+ role: StringConstructor;
56
+ onItemClick: {
57
+ type: PropType<(panelKey: Key) => void>;
58
+ default: (panelKey: Key) => void;
59
+ };
60
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{
61
+ openAnimation: VueTypeValidableDef<{
62
+ [key: string]: any;
63
+ }> & {
64
+ default: () => {
65
+ [key: string]: any;
66
+ };
67
+ };
68
+ prefixCls: StringConstructor;
69
+ header: VueTypeValidableDef<any>;
70
+ headerClass: StringConstructor;
71
+ showArrow: {
72
+ type: BooleanConstructor;
73
+ default: boolean;
74
+ };
75
+ isActive: {
76
+ type: BooleanConstructor;
77
+ default: boolean;
78
+ };
79
+ destroyInactivePanel: {
80
+ type: BooleanConstructor;
81
+ default: boolean;
82
+ };
83
+ disabled: {
84
+ type: BooleanConstructor;
85
+ default: boolean;
86
+ };
87
+ accordion: {
88
+ type: BooleanConstructor;
89
+ default: boolean;
90
+ };
91
+ forceRender: {
92
+ type: BooleanConstructor;
93
+ default: boolean;
94
+ };
95
+ expandIcon: {
96
+ type: PropType<(panelProps: PanelProps) => any>;
97
+ default: (panelProps: PanelProps) => any;
98
+ };
99
+ extra: VueTypeValidableDef<any>;
100
+ panelKey: {
101
+ type: PropType<string | number>;
102
+ default: string | number;
103
+ };
104
+ collapsible: {
105
+ type: PropType<CollapsibleType>;
106
+ default: CollapsibleType;
107
+ };
108
+ role: StringConstructor;
109
+ onItemClick: {
110
+ type: PropType<(panelKey: Key) => void>;
111
+ default: (panelKey: Key) => void;
112
+ };
113
+ }>> & Readonly<{}>, {
114
+ disabled: boolean;
115
+ forceRender: boolean;
116
+ openAnimation: {
117
+ [key: string]: any;
118
+ };
119
+ showArrow: boolean;
120
+ expandIcon: (panelProps: PanelProps) => any;
121
+ onItemClick: (panelKey: Key) => void;
122
+ isActive: boolean;
123
+ destroyInactivePanel: boolean;
124
+ accordion: boolean;
125
+ panelKey: string | number;
126
+ collapsible: CollapsibleType;
127
+ }, CustomSlotsType<{
128
+ expandIcon?: any;
129
+ extra?: any;
130
+ header?: any;
131
+ default?: any;
132
+ }>, {}, {}, string, ComponentProvideOptions, true, {}, any>;
133
+ export default _default;
@@ -0,0 +1,126 @@
1
+ import { DefineComponent, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ import { VueTypeValidableDef } from 'vue-types';
3
+ import { PanelProps, CollapsibleType } from './commonProps';
4
+ import { Key } from '../_util/type';
5
+ declare const _default: DefineComponent<ExtractPropTypes<{
6
+ openAnimation: VueTypeValidableDef<{
7
+ [key: string]: any;
8
+ }> & {
9
+ default: () => {
10
+ [key: string]: any;
11
+ };
12
+ };
13
+ prefixCls: StringConstructor;
14
+ header: VueTypeValidableDef<any>;
15
+ headerClass: StringConstructor;
16
+ showArrow: {
17
+ type: BooleanConstructor;
18
+ default: boolean;
19
+ };
20
+ isActive: {
21
+ type: BooleanConstructor;
22
+ default: boolean;
23
+ };
24
+ destroyInactivePanel: {
25
+ type: BooleanConstructor;
26
+ default: boolean;
27
+ };
28
+ disabled: {
29
+ type: BooleanConstructor;
30
+ default: boolean;
31
+ };
32
+ accordion: {
33
+ type: BooleanConstructor;
34
+ default: boolean;
35
+ };
36
+ forceRender: {
37
+ type: BooleanConstructor;
38
+ default: boolean;
39
+ };
40
+ expandIcon: {
41
+ type: PropType<(panelProps: PanelProps) => any>;
42
+ default: (panelProps: PanelProps) => any;
43
+ };
44
+ extra: VueTypeValidableDef<any>;
45
+ panelKey: {
46
+ type: PropType<string | number>;
47
+ default: string | number;
48
+ };
49
+ collapsible: {
50
+ type: PropType<CollapsibleType>;
51
+ default: CollapsibleType;
52
+ };
53
+ role: StringConstructor;
54
+ onItemClick: {
55
+ type: PropType<(panelKey: Key) => void>;
56
+ default: (panelKey: Key) => void;
57
+ };
58
+ }>, () => import("vue/jsx-runtime").JSX.Element | null, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
59
+ openAnimation: VueTypeValidableDef<{
60
+ [key: string]: any;
61
+ }> & {
62
+ default: () => {
63
+ [key: string]: any;
64
+ };
65
+ };
66
+ prefixCls: StringConstructor;
67
+ header: VueTypeValidableDef<any>;
68
+ headerClass: StringConstructor;
69
+ showArrow: {
70
+ type: BooleanConstructor;
71
+ default: boolean;
72
+ };
73
+ isActive: {
74
+ type: BooleanConstructor;
75
+ default: boolean;
76
+ };
77
+ destroyInactivePanel: {
78
+ type: BooleanConstructor;
79
+ default: boolean;
80
+ };
81
+ disabled: {
82
+ type: BooleanConstructor;
83
+ default: boolean;
84
+ };
85
+ accordion: {
86
+ type: BooleanConstructor;
87
+ default: boolean;
88
+ };
89
+ forceRender: {
90
+ type: BooleanConstructor;
91
+ default: boolean;
92
+ };
93
+ expandIcon: {
94
+ type: PropType<(panelProps: PanelProps) => any>;
95
+ default: (panelProps: PanelProps) => any;
96
+ };
97
+ extra: VueTypeValidableDef<any>;
98
+ panelKey: {
99
+ type: PropType<string | number>;
100
+ default: string | number;
101
+ };
102
+ collapsible: {
103
+ type: PropType<CollapsibleType>;
104
+ default: CollapsibleType;
105
+ };
106
+ role: StringConstructor;
107
+ onItemClick: {
108
+ type: PropType<(panelKey: Key) => void>;
109
+ default: (panelKey: Key) => void;
110
+ };
111
+ }>> & Readonly<{}>, {
112
+ disabled: boolean;
113
+ forceRender: boolean;
114
+ openAnimation: {
115
+ [key: string]: any;
116
+ };
117
+ showArrow: boolean;
118
+ expandIcon: (panelProps: PanelProps) => any;
119
+ onItemClick: (panelKey: Key) => void;
120
+ isActive: boolean;
121
+ destroyInactivePanel: boolean;
122
+ accordion: boolean;
123
+ panelKey: string | number;
124
+ collapsible: CollapsibleType;
125
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
126
+ export default _default;