bkui-vue 0.0.3-beta.2 → 0.0.3-beta.2-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 (249) hide show
  1. package/dist/index.cjs.js +48 -48
  2. package/dist/index.esm.js +10567 -10537
  3. package/dist/index.umd.js +48 -48
  4. package/dist/style.css +1 -1
  5. package/dist/style.variable.css +1 -1
  6. package/lib/affix/index.d.ts +57 -111
  7. package/lib/affix/index.js +19 -19
  8. package/lib/alert/alert.d.ts +1 -1
  9. package/lib/alert/index.d.ts +82 -132
  10. package/lib/alert/index.js +20 -20
  11. package/lib/animate-number/index.d.ts +33 -96
  12. package/lib/backtop/index.d.ts +69 -117
  13. package/lib/badge/badge.d.ts +1 -1
  14. package/lib/badge/index.d.ts +120 -153
  15. package/lib/badge/index.js +19 -19
  16. package/lib/breadcrumb/index.d.ts +67 -119
  17. package/lib/breadcrumb/index.js +17 -17
  18. package/lib/button/button.d.ts +2 -2
  19. package/lib/button/index.d.ts +119 -155
  20. package/lib/button/index.js +19 -20
  21. package/lib/card/card.d.ts +1 -1
  22. package/lib/card/index.d.ts +129 -158
  23. package/lib/card/index.js +20 -22
  24. package/lib/cascader/cascader.d.ts +3 -3
  25. package/lib/cascader/index.d.ts +393 -354
  26. package/lib/cascader/index.js +233 -234
  27. package/lib/checkbox/checkbox.d.ts +1 -1
  28. package/lib/checkbox/index.d.ts +119 -161
  29. package/lib/checkbox/index.js +39 -41
  30. package/lib/code-diff/index.d.ts +65 -82
  31. package/lib/code-diff/index.js +380 -437
  32. package/lib/collapse/index.d.ts +144 -168
  33. package/lib/collapse/index.js +21 -21
  34. package/lib/collapse-transition/index.d.ts +19 -94
  35. package/lib/color-picker/color-picker.d.ts +1 -1
  36. package/lib/color-picker/index.d.ts +128 -154
  37. package/lib/color-picker/index.js +25 -28
  38. package/lib/config-provider/index.d.ts +156 -223
  39. package/lib/config-provider/index.js +19 -19
  40. package/lib/container/container.d.ts +1 -1
  41. package/lib/container/index.d.ts +74 -85
  42. package/lib/container/index.js +19 -19
  43. package/lib/date-picker/base/picker-dropdown.d.ts +1 -1
  44. package/lib/date-picker/base/time-spinner.d.ts +3 -3
  45. package/lib/date-picker/date-picker.d.ts +3 -3
  46. package/lib/date-picker/index.d.ts +384 -351
  47. package/lib/date-picker/index.js +92 -104
  48. package/lib/date-picker/panel/date-range.d.ts +1 -1
  49. package/lib/date-picker/panel/date.d.ts +1 -1
  50. package/lib/date-picker/panel/time-range.d.ts +2 -2
  51. package/lib/date-picker/panel/time.d.ts +1 -1
  52. package/lib/date-picker/time-picker.d.ts +3 -3
  53. package/lib/dialog/index.d.ts +345 -302
  54. package/lib/dialog/index.js +227 -228
  55. package/lib/directives/index.js +27 -27
  56. package/lib/divider/index.d.ts +57 -111
  57. package/lib/dropdown/dropdown.d.ts +1 -1
  58. package/lib/dropdown/index.d.ts +94 -136
  59. package/lib/dropdown/index.js +17 -17
  60. package/lib/exception/index.d.ts +41 -102
  61. package/lib/exception/index.js +18 -19
  62. package/lib/fixed-navbar/index.d.ts +59 -113
  63. package/lib/form/form.d.ts +1 -1
  64. package/lib/form/index.d.ts +80 -132
  65. package/lib/form/index.js +25 -26
  66. package/lib/icon/angle-double-down-line.js +21 -21
  67. package/lib/icon/angle-double-left-line.js +21 -21
  68. package/lib/icon/angle-double-left.js +21 -21
  69. package/lib/icon/angle-double-right-line.js +21 -21
  70. package/lib/icon/angle-double-right.js +21 -21
  71. package/lib/icon/angle-double-up-line.js +21 -21
  72. package/lib/icon/angle-down-fill.js +21 -21
  73. package/lib/icon/angle-down-line.js +21 -21
  74. package/lib/icon/angle-down.js +21 -21
  75. package/lib/icon/angle-left.js +21 -21
  76. package/lib/icon/angle-right.js +21 -21
  77. package/lib/icon/angle-up-fill.js +21 -21
  78. package/lib/icon/angle-up.js +21 -21
  79. package/lib/icon/archive-fill.js +21 -21
  80. package/lib/icon/arrows-left.js +21 -21
  81. package/lib/icon/arrows-right.js +21 -21
  82. package/lib/icon/assistant.js +21 -21
  83. package/lib/icon/audio-fill.js +21 -21
  84. package/lib/icon/bk.js +21 -21
  85. package/lib/icon/circle.js +21 -21
  86. package/lib/icon/close-line.js +21 -21
  87. package/lib/icon/close.js +21 -21
  88. package/lib/icon/code.js +21 -21
  89. package/lib/icon/cog-shape.js +21 -21
  90. package/lib/icon/collapse-left.js +21 -21
  91. package/lib/icon/copy-shape.js +21 -21
  92. package/lib/icon/copy.js +21 -21
  93. package/lib/icon/data-shape.js +21 -21
  94. package/lib/icon/del.js +21 -21
  95. package/lib/icon/doc-fill.js +21 -21
  96. package/lib/icon/done.js +21 -21
  97. package/lib/icon/down-shape.js +21 -21
  98. package/lib/icon/down-small.js +21 -21
  99. package/lib/icon/edit-line.js +21 -21
  100. package/lib/icon/ellipsis.js +21 -21
  101. package/lib/icon/enlarge-line.js +21 -21
  102. package/lib/icon/error.js +21 -21
  103. package/lib/icon/excel-fill.js +21 -21
  104. package/lib/icon/exclamation-circle-shape.js +21 -21
  105. package/lib/icon/eye.js +21 -21
  106. package/lib/icon/filliscreen-line.js +21 -21
  107. package/lib/icon/fix-line.js +21 -21
  108. package/lib/icon/fix-shape.js +21 -21
  109. package/lib/icon/folder-open.js +21 -21
  110. package/lib/icon/folder-shape-open.js +21 -21
  111. package/lib/icon/folder-shape.js +21 -21
  112. package/lib/icon/folder.js +21 -21
  113. package/lib/icon/funnel.js +21 -21
  114. package/lib/icon/grag-fill.js +21 -21
  115. package/lib/icon/help-document-fill.js +21 -21
  116. package/lib/icon/help-fill.js +21 -21
  117. package/lib/icon/help.js +21 -21
  118. package/lib/icon/image-fill.js +22 -22
  119. package/lib/icon/img-error.js +22 -22
  120. package/lib/icon/img-placehoulder.js +22 -22
  121. package/lib/icon/index.js +192 -192
  122. package/lib/icon/info-line.js +22 -22
  123. package/lib/icon/info.js +22 -22
  124. package/lib/icon/left-shape.js +22 -22
  125. package/lib/icon/left-turn-line.js +22 -22
  126. package/lib/icon/loading.js +22 -22
  127. package/lib/icon/narrow-line.js +22 -22
  128. package/lib/icon/original.js +22 -22
  129. package/lib/icon/pdf-fill.js +22 -22
  130. package/lib/icon/play-shape.js +22 -22
  131. package/lib/icon/plus.js +22 -22
  132. package/lib/icon/ppt-fill.js +22 -22
  133. package/lib/icon/qq.js +22 -22
  134. package/lib/icon/right-shape.js +22 -22
  135. package/lib/icon/right-turn-line.js +22 -22
  136. package/lib/icon/search.js +22 -22
  137. package/lib/icon/share.js +22 -22
  138. package/lib/icon/spinner.js +22 -22
  139. package/lib/icon/success.js +22 -22
  140. package/lib/icon/switcher-loading.js +22 -22
  141. package/lib/icon/text-file.js +22 -22
  142. package/lib/icon/text-fill.js +22 -22
  143. package/lib/icon/transfer.js +22 -22
  144. package/lib/icon/tree-application-shape.js +22 -22
  145. package/lib/icon/unfull-screen.js +22 -22
  146. package/lib/icon/unvisible.js +22 -22
  147. package/lib/icon/up-shape.js +22 -22
  148. package/lib/icon/upload.js +22 -22
  149. package/lib/icon/video-fill.js +22 -22
  150. package/lib/icon/warn.js +22 -22
  151. package/lib/icon/weixin-pro.js +22 -22
  152. package/lib/icon/weixin.js +22 -22
  153. package/lib/image/index.d.ts +113 -149
  154. package/lib/image/index.js +19 -19
  155. package/lib/info-box/index.js +229 -230
  156. package/lib/input/index.d.ts +326 -293
  157. package/lib/input/index.js +256 -258
  158. package/lib/link/index.d.ts +73 -122
  159. package/lib/loading/index.d.ts +130 -156
  160. package/lib/loading/index.js +23 -25
  161. package/lib/loading/loading.d.ts +1 -1
  162. package/lib/locale/index.js +0 -4
  163. package/lib/menu/index.d.ts +51 -112
  164. package/lib/menu/index.js +25 -25
  165. package/lib/message/index.js +28 -30
  166. package/lib/message/messageConstructor.d.ts +5 -5
  167. package/lib/modal/index.d.ts +251 -246
  168. package/lib/modal/index.js +24 -24
  169. package/lib/navigation/index.d.ts +152 -188
  170. package/lib/notify/index.js +22 -24
  171. package/lib/notify/notifyConstructor.d.ts +1 -1
  172. package/lib/overflow-title/index.d.ts +314 -242
  173. package/lib/overflow-title/index.js +1 -1
  174. package/lib/pagination/index.d.ts +194 -205
  175. package/lib/pagination/index.js +49 -56
  176. package/lib/plugin-popover/index.js +192 -98
  177. package/lib/pop-confirm/index.d.ts +126 -159
  178. package/lib/pop-confirm/index.js +0 -1
  179. package/lib/pop-confirm/pop-confirm.d.ts +1 -1
  180. package/lib/popover/content.d.ts +1 -1
  181. package/lib/popover/index.d.ts +374 -330
  182. package/lib/popover/index.js +192 -98
  183. package/lib/popover2/index.d.ts +8 -83
  184. package/lib/process/index.d.ts +93 -137
  185. package/lib/process/index.js +225 -226
  186. package/lib/progress/index.d.ts +178 -187
  187. package/lib/progress/index.js +19 -19
  188. package/lib/progress/progress.d.ts +2 -2
  189. package/lib/radio/index.d.ts +83 -135
  190. package/lib/radio/index.js +41 -43
  191. package/lib/rate/index.d.ts +55 -112
  192. package/lib/rate/index.js +19 -20
  193. package/lib/resize-layout/index.d.ts +156 -185
  194. package/lib/resize-layout/index.js +20 -21
  195. package/lib/resize-layout/resize-layout.d.ts +2 -2
  196. package/lib/search-select/index.d.ts +292 -327
  197. package/lib/search-select/index.js +239 -240
  198. package/lib/search-select/input.d.ts +2 -2
  199. package/lib/search-select/search-select.d.ts +3 -3
  200. package/lib/search-select/selected.d.ts +2 -2
  201. package/lib/select/index.d.ts +1234 -1135
  202. package/lib/select/index.js +259 -262
  203. package/lib/select/select.d.ts +121 -161
  204. package/lib/select/selectTagInput.d.ts +2 -2
  205. package/lib/shared/index.js +62 -64
  206. package/lib/sideslider/index.d.ts +237 -226
  207. package/lib/sideslider/index.js +227 -227
  208. package/lib/slider/index.d.ts +204 -204
  209. package/lib/slider/index.js +208 -209
  210. package/lib/steps/index.d.ts +114 -150
  211. package/lib/steps/index.js +227 -228
  212. package/lib/swiper/index.d.ts +81 -127
  213. package/lib/swiper/index.js +18 -18
  214. package/lib/switcher/index.d.ts +152 -174
  215. package/lib/switcher/index.js +20 -22
  216. package/lib/tab/index.d.ts +199 -211
  217. package/lib/tab/index.js +23 -25
  218. package/lib/table/components/table-column.d.ts +2 -2
  219. package/lib/table/index.d.ts +605 -593
  220. package/lib/table/index.js +161 -132
  221. package/lib/table/plugins/use-pagination.d.ts +3 -2
  222. package/lib/table/table.css +12 -5
  223. package/lib/table/table.d.ts +1 -1
  224. package/lib/table/table.less +15 -5
  225. package/lib/table/table.variable.css +12 -5
  226. package/lib/table/use-attributes.d.ts +40 -1
  227. package/lib/table/use-common.d.ts +68 -34
  228. package/lib/table-column/index.d.ts +206 -242
  229. package/lib/table-column/index.js +18 -19
  230. package/lib/tag/index.d.ts +95 -142
  231. package/lib/tag/index.js +19 -19
  232. package/lib/tag-input/index.d.ts +690 -498
  233. package/lib/tag-input/index.js +54 -62
  234. package/lib/tag-input/tag-input.d.ts +5 -5
  235. package/lib/time-picker/index.d.ts +442 -385
  236. package/lib/timeline/index.d.ts +50 -109
  237. package/lib/timeline/index.js +6 -6
  238. package/lib/transfer/index.d.ts +191 -206
  239. package/lib/tree/index.d.ts +334 -293
  240. package/lib/tree/index.js +36 -39
  241. package/lib/tree/tree.d.ts +1 -1
  242. package/lib/tree/use-tree-init.d.ts +1 -1
  243. package/lib/upload/index.d.ts +281 -254
  244. package/lib/upload/index.js +254 -257
  245. package/lib/upload/upload.d.ts +2 -2
  246. package/lib/virtual-render/index.d.ts +337 -242
  247. package/lib/virtual-render/index.js +30 -30
  248. package/lib/virtual-render/virtual-render.d.ts +1 -1
  249. package/package.json +1 -1
@@ -1,207 +1,5 @@
1
1
  declare const BkPagination: {
2
- new (...args: any[]): {
3
- $: import("vue").ComponentInternalInstance;
4
- $data: {};
5
- $props: {
6
- type?: string;
7
- small?: boolean;
8
- disabled?: boolean;
9
- layout?: string[];
10
- location?: string;
11
- count?: number;
12
- modelValue?: number;
13
- beforeChange?: (...args: any[]) => any;
14
- prevText?: string;
15
- nextText?: string;
16
- align?: string;
17
- limit?: number;
18
- limitList?: number[];
19
- showLimit?: boolean;
20
- showTotalCount?: boolean;
21
- class?: unknown;
22
- style?: unknown;
23
- onChange?: (...args: any[]) => any;
24
- ref?: import("vue").VNodeRef;
25
- key?: string | number | symbol;
26
- ref_for?: boolean;
27
- ref_key?: string;
28
- onVnodeBeforeMount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
29
- [key: string]: any;
30
- }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
31
- [key: string]: any;
32
- }>) => void)[];
33
- onVnodeMounted?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
34
- [key: string]: any;
35
- }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
36
- [key: string]: any;
37
- }>) => void)[];
38
- onVnodeBeforeUpdate?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
39
- [key: string]: any;
40
- }>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
41
- [key: string]: any;
42
- }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
43
- [key: string]: any;
44
- }>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
45
- [key: string]: any;
46
- }>) => void)[];
47
- onVnodeUpdated?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
48
- [key: string]: any;
49
- }>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
50
- [key: string]: any;
51
- }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
52
- [key: string]: any;
53
- }>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
54
- [key: string]: any;
55
- }>) => void)[];
56
- onVnodeBeforeUnmount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
57
- [key: string]: any;
58
- }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
59
- [key: string]: any;
60
- }>) => void)[];
61
- onVnodeUnmounted?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
62
- [key: string]: any;
63
- }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
64
- [key: string]: any;
65
- }>) => void)[];
66
- readonly size?: "default" | "small" | "large" | "huge";
67
- "onUpdate:modelValue"?: (...args: any[]) => any;
68
- "onUpdate:limit"?: (...args: any[]) => any;
69
- onLimitChange?: (...args: any[]) => any;
70
- };
71
- $attrs: {
72
- [x: string]: unknown;
73
- };
74
- $refs: {
75
- [x: string]: unknown;
76
- };
77
- $slots: Readonly<{
78
- [name: string]: import("vue").Slot<any>;
79
- }>;
80
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
81
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
82
- $emit: (event: "change" | "update:modelValue" | "update:limit" | "limitChange", ...args: any[]) => void;
83
- $el: any;
84
- $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
85
- modelValue: import("vue-types").VueTypeValidableDef<number> & {
86
- default: number;
87
- } & {
88
- default: number;
89
- };
90
- count: import("vue-types").VueTypeValidableDef<number> & {
91
- default: number;
92
- } & {
93
- default: number;
94
- } & {
95
- required: true;
96
- };
97
- limit: import("vue-types").VueTypeValidableDef<number> & {
98
- default: number;
99
- } & {
100
- default: number;
101
- };
102
- limitList: import("vue-types").VueTypeDef<number[]> & {
103
- default: () => number[];
104
- };
105
- showLimit: import("vue-types").VueTypeValidableDef<boolean> & {
106
- default: boolean;
107
- } & {
108
- default: boolean;
109
- };
110
- type: import("vue-types").VueTypeDef<string> & {
111
- default: string;
112
- };
113
- location: import("vue-types").VueTypeDef<string> & {
114
- default: string;
115
- };
116
- align: import("vue-types").VueTypeDef<string> & {
117
- default: string;
118
- };
119
- size: import("vue-types").VueTypeDef<"default" | "small" | "large" | "huge">;
120
- small: import("vue-types").VueTypeValidableDef<boolean> & {
121
- default: boolean;
122
- } & {
123
- default: boolean;
124
- };
125
- showTotalCount: import("vue-types").VueTypeValidableDef<boolean> & {
126
- default: boolean;
127
- } & {
128
- default: boolean;
129
- };
130
- prevText: import("vue-types").VueTypeValidableDef<string> & {
131
- default: string;
132
- };
133
- nextText: import("vue-types").VueTypeValidableDef<string> & {
134
- default: string;
135
- };
136
- disabled: import("vue-types").VueTypeValidableDef<boolean> & {
137
- default: boolean;
138
- } & {
139
- default: boolean;
140
- };
141
- beforeChange: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
142
- default: (...args: any[]) => any;
143
- };
144
- layout: import("vue-types").VueTypeDef<string[]> & {
145
- default: () => string[];
146
- };
147
- }>> & {
148
- onChange?: (...args: any[]) => any;
149
- "onUpdate:modelValue"?: (...args: any[]) => any;
150
- "onUpdate:limit"?: (...args: any[]) => any;
151
- onLimitChange?: (...args: any[]) => any;
152
- }, {
153
- totalPageNum: import("vue").Ref<number>;
154
- renderTotal: ({ isFirst, isLast }: {
155
- isFirst: any;
156
- isLast: any;
157
- }) => JSX.Element;
158
- renderList: ({ isFirst, isLast }: {
159
- isFirst: any;
160
- isLast: any;
161
- }) => JSX.Element;
162
- renderLimit: ({ isFirst, isLast }: {
163
- isFirst: any;
164
- isLast: any;
165
- }) => JSX.Element;
166
- renderSmallList: () => JSX.Element;
167
- resolveClassName: (cls: string) => string;
168
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue" | "update:limit" | "limitChange")[], string, {
169
- type: string;
170
- small: boolean;
171
- disabled: boolean;
172
- layout: string[];
173
- location: string;
174
- count: number;
175
- modelValue: number;
176
- beforeChange: (...args: any[]) => any;
177
- prevText: string;
178
- nextText: string;
179
- align: string;
180
- limit: number;
181
- limitList: number[];
182
- showLimit: boolean;
183
- showTotalCount: boolean;
184
- }, {}, string, {}> & {
185
- beforeCreate?: (() => void) | (() => void)[];
186
- created?: (() => void) | (() => void)[];
187
- beforeMount?: (() => void) | (() => void)[];
188
- mounted?: (() => void) | (() => void)[];
189
- beforeUpdate?: (() => void) | (() => void)[];
190
- updated?: (() => void) | (() => void)[];
191
- activated?: (() => void) | (() => void)[];
192
- deactivated?: (() => void) | (() => void)[];
193
- beforeDestroy?: (() => void) | (() => void)[];
194
- beforeUnmount?: (() => void) | (() => void)[];
195
- destroyed?: (() => void) | (() => void)[];
196
- unmounted?: (() => void) | (() => void)[];
197
- renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
198
- renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
199
- errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>, info: string) => boolean | void)[];
200
- };
201
- $forceUpdate: () => void;
202
- $nextTick: typeof import("vue").nextTick;
203
- $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
204
- } & Readonly<import("vue").ExtractPropTypes<{
2
+ new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
205
3
  modelValue: import("vue-types").VueTypeValidableDef<number> & {
206
4
  default: number;
207
5
  } & {
@@ -269,7 +67,7 @@ declare const BkPagination: {
269
67
  "onUpdate:modelValue"?: (...args: any[]) => any;
270
68
  "onUpdate:limit"?: (...args: any[]) => any;
271
69
  onLimitChange?: (...args: any[]) => any;
272
- } & import("vue").ShallowUnwrapRef<{
70
+ }, {
273
71
  totalPageNum: import("vue").Ref<number>;
274
72
  renderTotal: ({ isFirst, isLast }: {
275
73
  isFirst: any;
@@ -285,7 +83,198 @@ declare const BkPagination: {
285
83
  }) => JSX.Element;
286
84
  renderSmallList: () => JSX.Element;
287
85
  resolveClassName: (cls: string) => string;
288
- }> & {} & import("vue").ComponentCustomProperties & {};
86
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue" | "update:limit" | "limitChange")[], import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
87
+ modelValue: import("vue-types").VueTypeValidableDef<number> & {
88
+ default: number;
89
+ } & {
90
+ default: number;
91
+ };
92
+ count: import("vue-types").VueTypeValidableDef<number> & {
93
+ default: number;
94
+ } & {
95
+ default: number;
96
+ } & {
97
+ required: true;
98
+ };
99
+ limit: import("vue-types").VueTypeValidableDef<number> & {
100
+ default: number;
101
+ } & {
102
+ default: number;
103
+ };
104
+ limitList: import("vue-types").VueTypeDef<number[]> & {
105
+ default: () => number[];
106
+ };
107
+ showLimit: import("vue-types").VueTypeValidableDef<boolean> & {
108
+ default: boolean;
109
+ } & {
110
+ default: boolean;
111
+ };
112
+ type: import("vue-types").VueTypeDef<string> & {
113
+ default: string;
114
+ };
115
+ location: import("vue-types").VueTypeDef<string> & {
116
+ default: string;
117
+ };
118
+ align: import("vue-types").VueTypeDef<string> & {
119
+ default: string;
120
+ };
121
+ size: import("vue-types").VueTypeDef<"default" | "small" | "large" | "huge">;
122
+ small: import("vue-types").VueTypeValidableDef<boolean> & {
123
+ default: boolean;
124
+ } & {
125
+ default: boolean;
126
+ };
127
+ showTotalCount: import("vue-types").VueTypeValidableDef<boolean> & {
128
+ default: boolean;
129
+ } & {
130
+ default: boolean;
131
+ };
132
+ prevText: import("vue-types").VueTypeValidableDef<string> & {
133
+ default: string;
134
+ };
135
+ nextText: import("vue-types").VueTypeValidableDef<string> & {
136
+ default: string;
137
+ };
138
+ disabled: import("vue-types").VueTypeValidableDef<boolean> & {
139
+ default: boolean;
140
+ } & {
141
+ default: boolean;
142
+ };
143
+ beforeChange: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
144
+ default: (...args: any[]) => any;
145
+ };
146
+ layout: import("vue-types").VueTypeDef<string[]> & {
147
+ default: () => string[];
148
+ };
149
+ }>> & {
150
+ onChange?: (...args: any[]) => any;
151
+ "onUpdate:modelValue"?: (...args: any[]) => any;
152
+ "onUpdate:limit"?: (...args: any[]) => any;
153
+ onLimitChange?: (...args: any[]) => any;
154
+ }, {
155
+ type: string;
156
+ small: boolean;
157
+ disabled: boolean;
158
+ layout: string[];
159
+ location: string;
160
+ count: number;
161
+ modelValue: number;
162
+ beforeChange: (...args: any[]) => any;
163
+ prevText: string;
164
+ nextText: string;
165
+ align: string;
166
+ limit: number;
167
+ limitList: number[];
168
+ showLimit: boolean;
169
+ showTotalCount: boolean;
170
+ }, true, {}, {}, {
171
+ P: {};
172
+ B: {};
173
+ D: {};
174
+ C: {};
175
+ M: {};
176
+ Defaults: {};
177
+ }, Readonly<import("vue").ExtractPropTypes<{
178
+ modelValue: import("vue-types").VueTypeValidableDef<number> & {
179
+ default: number;
180
+ } & {
181
+ default: number;
182
+ };
183
+ count: import("vue-types").VueTypeValidableDef<number> & {
184
+ default: number;
185
+ } & {
186
+ default: number;
187
+ } & {
188
+ required: true;
189
+ };
190
+ limit: import("vue-types").VueTypeValidableDef<number> & {
191
+ default: number;
192
+ } & {
193
+ default: number;
194
+ };
195
+ limitList: import("vue-types").VueTypeDef<number[]> & {
196
+ default: () => number[];
197
+ };
198
+ showLimit: import("vue-types").VueTypeValidableDef<boolean> & {
199
+ default: boolean;
200
+ } & {
201
+ default: boolean;
202
+ };
203
+ type: import("vue-types").VueTypeDef<string> & {
204
+ default: string;
205
+ };
206
+ location: import("vue-types").VueTypeDef<string> & {
207
+ default: string;
208
+ };
209
+ align: import("vue-types").VueTypeDef<string> & {
210
+ default: string;
211
+ };
212
+ size: import("vue-types").VueTypeDef<"default" | "small" | "large" | "huge">;
213
+ small: import("vue-types").VueTypeValidableDef<boolean> & {
214
+ default: boolean;
215
+ } & {
216
+ default: boolean;
217
+ };
218
+ showTotalCount: import("vue-types").VueTypeValidableDef<boolean> & {
219
+ default: boolean;
220
+ } & {
221
+ default: boolean;
222
+ };
223
+ prevText: import("vue-types").VueTypeValidableDef<string> & {
224
+ default: string;
225
+ };
226
+ nextText: import("vue-types").VueTypeValidableDef<string> & {
227
+ default: string;
228
+ };
229
+ disabled: import("vue-types").VueTypeValidableDef<boolean> & {
230
+ default: boolean;
231
+ } & {
232
+ default: boolean;
233
+ };
234
+ beforeChange: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
235
+ default: (...args: any[]) => any;
236
+ };
237
+ layout: import("vue-types").VueTypeDef<string[]> & {
238
+ default: () => string[];
239
+ };
240
+ }>> & {
241
+ onChange?: (...args: any[]) => any;
242
+ "onUpdate:modelValue"?: (...args: any[]) => any;
243
+ "onUpdate:limit"?: (...args: any[]) => any;
244
+ onLimitChange?: (...args: any[]) => any;
245
+ }, {
246
+ totalPageNum: import("vue").Ref<number>;
247
+ renderTotal: ({ isFirst, isLast }: {
248
+ isFirst: any;
249
+ isLast: any;
250
+ }) => JSX.Element;
251
+ renderList: ({ isFirst, isLast }: {
252
+ isFirst: any;
253
+ isLast: any;
254
+ }) => JSX.Element;
255
+ renderLimit: ({ isFirst, isLast }: {
256
+ isFirst: any;
257
+ isLast: any;
258
+ }) => JSX.Element;
259
+ renderSmallList: () => JSX.Element;
260
+ resolveClassName: (cls: string) => string;
261
+ }, {}, {}, {}, {
262
+ type: string;
263
+ small: boolean;
264
+ disabled: boolean;
265
+ layout: string[];
266
+ location: string;
267
+ count: number;
268
+ modelValue: number;
269
+ beforeChange: (...args: any[]) => any;
270
+ prevText: string;
271
+ nextText: string;
272
+ align: string;
273
+ limit: number;
274
+ limitList: number[];
275
+ showLimit: boolean;
276
+ showTotalCount: boolean;
277
+ }>;
289
278
  __isFragment?: never;
290
279
  __isTeleport?: never;
291
280
  __isSuspense?: never;
@@ -39,38 +39,38 @@ var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
39
39
  var y = x => () => x
40
40
  const external_shared_namespaceObject = x({ ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.PropTypes, ["classes"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.classes, ["withInstall"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.withInstall });
41
41
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
42
- function _typeof(obj) {
42
+ function _typeof(o) {
43
43
  "@babel/helpers - typeof";
44
44
 
45
- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
46
- return typeof obj;
47
- } : function (obj) {
48
- return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
49
- }, _typeof(obj);
45
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
46
+ return typeof o;
47
+ } : function (o) {
48
+ return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
49
+ }, _typeof(o);
50
50
  }
51
51
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
52
52
 
53
- function _toPrimitive(input, hint) {
54
- if (_typeof(input) !== "object" || input === null) return input;
55
- var prim = input[Symbol.toPrimitive];
56
- if (prim !== undefined) {
57
- var res = prim.call(input, hint || "default");
58
- if (_typeof(res) !== "object") return res;
53
+ function toPrimitive(t, r) {
54
+ if ("object" != _typeof(t) || !t) return t;
55
+ var e = t[Symbol.toPrimitive];
56
+ if (void 0 !== e) {
57
+ var i = e.call(t, r || "default");
58
+ if ("object" != _typeof(i)) return i;
59
59
  throw new TypeError("@@toPrimitive must return a primitive value.");
60
60
  }
61
- return (hint === "string" ? String : Number)(input);
61
+ return ("string" === r ? String : Number)(t);
62
62
  }
63
63
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
64
64
 
65
65
 
66
- function _toPropertyKey(arg) {
67
- var key = _toPrimitive(arg, "string");
68
- return _typeof(key) === "symbol" ? key : String(key);
66
+ function toPropertyKey(t) {
67
+ var i = toPrimitive(t, "string");
68
+ return "symbol" == _typeof(i) ? i : String(i);
69
69
  }
70
70
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
71
71
 
72
72
  function _defineProperty(obj, key, value) {
73
- key = _toPropertyKey(key);
73
+ key = toPropertyKey(key);
74
74
  if (key in obj) {
75
75
  Object.defineProperty(obj, key, {
76
76
  value: value,
@@ -88,31 +88,31 @@ function _arrayWithHoles(arr) {
88
88
  if (Array.isArray(arr)) return arr;
89
89
  }
90
90
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
91
- function _iterableToArrayLimit(arr, i) {
92
- var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"];
93
- if (null != _i) {
94
- var _s,
95
- _e,
96
- _x,
97
- _r,
98
- _arr = [],
99
- _n = !0,
100
- _d = !1;
91
+ function _iterableToArrayLimit(r, l) {
92
+ var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
93
+ if (null != t) {
94
+ var e,
95
+ n,
96
+ i,
97
+ u,
98
+ a = [],
99
+ f = !0,
100
+ o = !1;
101
101
  try {
102
- if (_x = (_i = _i.call(arr)).next, 0 === i) {
103
- if (Object(_i) !== _i) return;
104
- _n = !1;
105
- } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0);
106
- } catch (err) {
107
- _d = !0, _e = err;
102
+ if (i = (t = t.call(r)).next, 0 === l) {
103
+ if (Object(t) !== t) return;
104
+ f = !1;
105
+ } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
106
+ } catch (r) {
107
+ o = !0, n = r;
108
108
  } finally {
109
109
  try {
110
- if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return;
110
+ if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return;
111
111
  } finally {
112
- if (_d) throw _e;
112
+ if (o) throw n;
113
113
  }
114
114
  }
115
- return _arr;
115
+ return a;
116
116
  }
117
117
  }
118
118
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
@@ -227,14 +227,13 @@ function _isSlot(s) {
227
227
  resolveClassName = _usePrefix.resolveClassName;
228
228
  var render = function render(_ref) {
229
229
  var _slot;
230
- var _ref2;
231
230
  var isFirst = _ref.isFirst,
232
231
  isLast = _ref.isLast;
233
232
  if (!proxy.showLimit) {
234
233
  return null;
235
234
  }
236
235
  return (0,external_vue_namespaceObject.createVNode)("div", (0,external_vue_namespaceObject.mergeProps)({
237
- "class": (_ref2 = {}, _defineProperty(_ref2, resolveClassName('pagination-limit'), true), _defineProperty(_ref2, 'is-first', isFirst), _defineProperty(_ref2, 'is-last', isLast), _ref2)
236
+ "class": _defineProperty(_defineProperty(_defineProperty({}, resolveClassName('pagination-limit'), true), 'is-first', isFirst), 'is-last', isLast)
238
237
  }, {
239
238
  disabled: proxy.disabled
240
239
  }), [(0,external_vue_namespaceObject.createVNode)("div", null, [t.value.eachPage]), (0,external_vue_namespaceObject.createVNode)(external_select_namespaceObject["default"], {
@@ -400,16 +399,15 @@ var PAGE_ITEMS_NUM = 5;
400
399
  var _usePrefix = (0,external_config_provider_namespaceObject.usePrefix)(),
401
400
  resolveClassName = _usePrefix.resolveClassName;
402
401
  var render = function render(_ref) {
403
- var _ref2, _ref3, _ref4, _ref6, _ref7;
404
402
  var isFirst = _ref.isFirst,
405
403
  isLast = _ref.isLast;
406
404
  return (0,external_vue_namespaceObject.createVNode)("div", {
407
- "class": (_ref2 = {}, _defineProperty(_ref2, "".concat(resolveClassName('pagination-list')), true), _defineProperty(_ref2, 'is-first', isFirst), _defineProperty(_ref2, 'is-last', isLast), _ref2)
405
+ "class": _defineProperty(_defineProperty(_defineProperty({}, "".concat(resolveClassName('pagination-list')), true), 'is-first', isFirst), 'is-last', isLast)
408
406
  }, [(0,external_vue_namespaceObject.createVNode)("div", {
409
- "class": (_ref3 = {}, _defineProperty(_ref3, "".concat(resolveClassName('pagination-list-pre')), true), _defineProperty(_ref3, 'is-disabled', isPagePreDisabled.value), _ref3),
407
+ "class": _defineProperty(_defineProperty({}, "".concat(resolveClassName('pagination-list-pre')), true), 'is-disabled', isPagePreDisabled.value),
410
408
  "onClick": handlePrePage
411
409
  }, [proxy.prevText || (0,external_vue_namespaceObject.createVNode)(external_icon_namespaceObject.AngleLeft, null, null)]), (0,external_vue_namespaceObject.createVNode)("div", {
412
- "class": (_ref4 = {}, _defineProperty(_ref4, "".concat(resolveClassName('pagination-list-item')), true), _defineProperty(_ref4, 'is-active', localCurrent.value === 1), _ref4),
410
+ "class": _defineProperty(_defineProperty({}, "".concat(resolveClassName('pagination-list-item')), true), 'is-active', localCurrent.value === 1),
413
411
  "key": "1",
414
412
  "onClick": function onClick() {
415
413
  return handleItemClick(1);
@@ -419,9 +417,8 @@ var PAGE_ITEMS_NUM = 5;
419
417
  "class": "".concat(resolveClassName('pagination-list-pre-batch')),
420
418
  "onClick": handlePreBatch
421
419
  }, [(0,external_vue_namespaceObject.createVNode)(external_icon_namespaceObject.Ellipsis, null, null)]), list.value.map(function (num) {
422
- var _ref5;
423
420
  return (0,external_vue_namespaceObject.createVNode)("div", {
424
- "class": (_ref5 = {}, _defineProperty(_ref5, "".concat(resolveClassName('pagination-list-item')), true), _defineProperty(_ref5, 'is-active', localCurrent.value === num), _ref5),
421
+ "class": _defineProperty(_defineProperty({}, "".concat(resolveClassName('pagination-list-item')), true), 'is-active', localCurrent.value === num),
425
422
  "key": num,
426
423
  "onClick": function onClick() {
427
424
  return handleItemClick(num);
@@ -432,13 +429,13 @@ var PAGE_ITEMS_NUM = 5;
432
429
  "class": "".concat(resolveClassName('pagination-list-next-batch')),
433
430
  "onClick": handleNextBatch
434
431
  }, [(0,external_vue_namespaceObject.createVNode)(external_icon_namespaceObject.Ellipsis, null, null)]), proxy.totalPageNum > 1 && (0,external_vue_namespaceObject.createVNode)("div", {
435
- "class": (_ref6 = {}, _defineProperty(_ref6, "".concat(resolveClassName('pagination-list-item')), true), _defineProperty(_ref6, 'is-active', localCurrent.value === proxy.totalPageNum), _ref6),
432
+ "class": _defineProperty(_defineProperty({}, "".concat(resolveClassName('pagination-list-item')), true), 'is-active', localCurrent.value === proxy.totalPageNum),
436
433
  "key": "last",
437
434
  "onClick": function onClick() {
438
435
  return handleItemClick(proxy.totalPageNum);
439
436
  }
440
437
  }, [proxy.totalPageNum]), (0,external_vue_namespaceObject.createVNode)("div", {
441
- "class": (_ref7 = {}, _defineProperty(_ref7, "".concat(resolveClassName('pagination-list-pre')), true), _defineProperty(_ref7, 'is-disabled', isPageNextDisabled.value), _ref7),
438
+ "class": _defineProperty(_defineProperty({}, "".concat(resolveClassName('pagination-list-pre')), true), 'is-disabled', isPageNextDisabled.value),
442
439
  "onClick": handleNextPage
443
440
  }, [proxy.nextText || (0,external_vue_namespaceObject.createVNode)(external_icon_namespaceObject.AngleRight, null, null)])]);
444
441
  };
@@ -600,11 +597,10 @@ const external_popover_namespaceObject = external_popover_x({ ["default"]: () =>
600
597
  var _usePrefix = (0,external_config_provider_namespaceObject.usePrefix)(),
601
598
  resolveClassName = _usePrefix.resolveClassName;
602
599
  var render = function render() {
603
- var _ref, _ref3;
604
600
  return (0,external_vue_namespaceObject.createVNode)("div", {
605
601
  "class": "".concat(resolveClassName('pagination-small-list'))
606
602
  }, [(0,external_vue_namespaceObject.createVNode)("div", {
607
- "class": (_ref = {}, _defineProperty(_ref, "".concat(resolveClassName('pagination-btn-pre')), true), _defineProperty(_ref, 'is-disabled', isPagePreDisabled.value), _ref),
603
+ "class": _defineProperty(_defineProperty({}, "".concat(resolveClassName('pagination-btn-pre')), true), 'is-disabled', isPagePreDisabled.value),
608
604
  "onClick": handlePrePage
609
605
  }, [(0,external_vue_namespaceObject.createVNode)(external_icon_namespaceObject.AngleLeft, null, null)]), (0,external_vue_namespaceObject.createVNode)(external_popover_namespaceObject["default"], {
610
606
  "theme": "light",
@@ -615,9 +611,8 @@ const external_popover_namespaceObject = external_popover_x({ ["default"]: () =>
615
611
  "placement": "bottom"
616
612
  }, {
617
613
  "default": function _default() {
618
- var _ref2;
619
614
  return (0,external_vue_namespaceObject.createVNode)("div", {
620
- "class": (_ref2 = {}, _defineProperty(_ref2, "".concat(resolveClassName('pagination-picker')), true), _defineProperty(_ref2, 'is-focused', isFocused.value), _ref2)
615
+ "class": _defineProperty(_defineProperty({}, "".concat(resolveClassName('pagination-picker')), true), 'is-focused', isFocused.value)
621
616
  }, [(0,external_vue_namespaceObject.createVNode)("span", {
622
617
  "ref": inputRef,
623
618
  "class": "".concat(resolveClassName('pagination-editor')),
@@ -648,7 +643,7 @@ const external_popover_namespaceObject = external_popover_x({ ["default"]: () =>
648
643
  })]);
649
644
  }
650
645
  }), (0,external_vue_namespaceObject.createVNode)("div", {
651
- "class": (_ref3 = {}, _defineProperty(_ref3, "".concat(resolveClassName('pagination-btn-next')), true), _defineProperty(_ref3, 'is-disabled', isPageNextDisabled.value), _ref3),
646
+ "class": _defineProperty(_defineProperty({}, "".concat(resolveClassName('pagination-btn-next')), true), 'is-disabled', isPageNextDisabled.value),
652
647
  "onClick": handleNextPage
653
648
  }, [(0,external_vue_namespaceObject.createVNode)(external_icon_namespaceObject.AngleRight, null, null)])]);
654
649
  };
@@ -689,7 +684,6 @@ const external_popover_namespaceObject = external_popover_x({ ["default"]: () =>
689
684
 
690
685
  /* harmony default export */ const use_total = (function (t) {
691
686
  return function (_ref) {
692
- var _ref2;
693
687
  var isFirst = _ref.isFirst,
694
688
  isLast = _ref.isLast;
695
689
  var _getCurrentInstance = (0,external_vue_namespaceObject.getCurrentInstance)(),
@@ -700,7 +694,7 @@ const external_popover_namespaceObject = external_popover_x({ ["default"]: () =>
700
694
  var _usePrefix = (0,external_config_provider_namespaceObject.usePrefix)(),
701
695
  resolveClassName = _usePrefix.resolveClassName;
702
696
  return (0,external_vue_namespaceObject.createVNode)("div", (0,external_vue_namespaceObject.mergeProps)({
703
- "class": (_ref2 = {}, _defineProperty(_ref2, "".concat(resolveClassName('pagination-total')), true), _defineProperty(_ref2, 'is-first', isFirst), _defineProperty(_ref2, 'is-last', isLast), _ref2)
697
+ "class": _defineProperty(_defineProperty(_defineProperty({}, "".concat(resolveClassName('pagination-total')), true), 'is-first', isFirst), 'is-last', isLast)
704
698
  }, {
705
699
  disabled: props.disabled
706
700
  }), [t.value.total, (0,external_vue_namespaceObject.createVNode)("div", {
@@ -826,9 +820,8 @@ var paginationProps = {
826
820
  };
827
821
  },
828
822
  render: function render() {
829
- var _classes,
830
- _this = this;
831
- var paginationClass = (0,external_shared_namespaceObject.classes)((_classes = {}, _defineProperty(_classes, "".concat(this.resolveClassName('pagination')), true), _defineProperty(_classes, "".concat(this.resolveClassName("pagination--".concat(this.size))), true), _defineProperty(_classes, "is-align-".concat(this.align), true), _classes));
823
+ var _this = this;
824
+ var paginationClass = (0,external_shared_namespaceObject.classes)(_defineProperty(_defineProperty(_defineProperty({}, "".concat(this.resolveClassName('pagination')), true), "".concat(this.resolveClassName("pagination--".concat(this.size))), true), "is-align-".concat(this.align), true));
832
825
  var layoutMap = {
833
826
  total: this.renderTotal,
834
827
  list: this.small ? this.renderSmallList : this.renderList,