bkui-vue 0.0.1-beta.464 → 0.0.1-beta.466

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 (352) hide show
  1. package/dist/index.cjs.js +63 -67
  2. package/dist/index.esm.js +15211 -14541
  3. package/dist/index.umd.js +65 -69
  4. package/dist/style.css +1 -1
  5. package/dist/style.variable.css +1 -1
  6. package/lib/affix/affix.d.ts +1 -1
  7. package/lib/affix/index.d.ts +58 -34
  8. package/lib/alert/alert.d.ts +1 -1
  9. package/lib/alert/index.d.ts +60 -40
  10. package/lib/alert/index.js +1 -1
  11. package/lib/animate-number/animate-number.d.ts +3 -3
  12. package/lib/animate-number/index.d.ts +60 -27
  13. package/lib/backtop/backtop.d.ts +2 -2
  14. package/lib/backtop/index.d.ts +61 -43
  15. package/lib/badge/badge.d.ts +1 -1
  16. package/lib/badge/index.d.ts +63 -60
  17. package/lib/badge/index.js +1 -1
  18. package/lib/breadcrumb/breadcrumb-item.d.ts +1 -1
  19. package/lib/breadcrumb/breadcrumb.d.ts +2 -2
  20. package/lib/breadcrumb/index.d.ts +61 -39
  21. package/lib/button/button-group.d.ts +4 -4
  22. package/lib/button/button.d.ts +3 -3
  23. package/lib/button/index.d.ts +74 -68
  24. package/lib/button/index.js +1 -1
  25. package/lib/card/card.d.ts +1 -1
  26. package/lib/card/index.d.ts +63 -64
  27. package/lib/card/index.js +1 -1
  28. package/lib/cascader/cascader-panel.d.ts +1 -1
  29. package/lib/cascader/cascader.d.ts +2 -2
  30. package/lib/cascader/index.d.ts +81 -146
  31. package/lib/cascader/index.js +2 -1
  32. package/lib/cascader/index.js.LICENSE.txt +1 -0
  33. package/lib/checkbox/checkbox-group.d.ts +2 -2
  34. package/lib/checkbox/checkbox.d.ts +10 -10
  35. package/lib/checkbox/index.d.ts +76 -64
  36. package/lib/checkbox/index.js +1 -1
  37. package/lib/checkbox/type.d.ts +1 -1
  38. package/lib/code-diff/code-diff.d.ts +6 -6
  39. package/lib/code-diff/index.d.ts +30 -43
  40. package/lib/code-diff/index.js +1 -1
  41. package/lib/collapse/collapse-panel.d.ts +1 -1
  42. package/lib/collapse/collapse.d.ts +1 -1
  43. package/lib/collapse/index.d.ts +68 -74
  44. package/lib/collapse-transition/collapse-transition.d.ts +2 -2
  45. package/lib/color-picker/color-picker.d.ts +2 -2
  46. package/lib/color-picker/components/color-input.d.ts +2 -2
  47. package/lib/color-picker/components/hue-slider.d.ts +2 -2
  48. package/lib/color-picker/components/input-container.d.ts +2 -2
  49. package/lib/color-picker/components/recommend-colors.d.ts +2 -2
  50. package/lib/color-picker/components/saturation-panel.d.ts +2 -2
  51. package/lib/color-picker/index.d.ts +63 -62
  52. package/lib/color-picker/index.js +1 -1
  53. package/lib/config-provider/config-provider.d.ts +3 -3
  54. package/lib/config-provider/index.d.ts +175 -138
  55. package/lib/container/col.d.ts +2 -2
  56. package/lib/container/container.d.ts +2 -2
  57. package/lib/container/index.d.ts +29 -48
  58. package/lib/container/row.d.ts +2 -2
  59. package/lib/date-picker/base/confirm.d.ts +5 -5
  60. package/lib/date-picker/base/date-table.d.ts +3 -3
  61. package/lib/date-picker/base/month-table.d.ts +4 -4
  62. package/lib/date-picker/base/picker-dropdown.d.ts +4 -4
  63. package/lib/date-picker/base/time-spinner.d.ts +2 -2
  64. package/lib/date-picker/base/year-table.d.ts +4 -4
  65. package/lib/date-picker/date-picker.d.ts +37 -28
  66. package/lib/date-picker/index.d.ts +162 -209
  67. package/lib/date-picker/index.js +1 -1
  68. package/lib/date-picker/interface.d.ts +10 -10
  69. package/lib/date-picker/panel/date-range.d.ts +18 -15
  70. package/lib/date-picker/panel/date.d.ts +12 -12
  71. package/lib/date-picker/panel/time-range.d.ts +8 -2
  72. package/lib/date-picker/panel/time.d.ts +5 -2
  73. package/lib/date-picker/props.d.ts +3 -3
  74. package/lib/date-picker/time-picker.d.ts +11 -2
  75. package/lib/dialog/dialog.d.ts +2 -2
  76. package/lib/dialog/index.d.ts +90 -163
  77. package/lib/dialog/index.js +2 -1
  78. package/lib/dialog/index.js.LICENSE.txt +1 -0
  79. package/lib/directives/index.js +1 -1
  80. package/lib/divider/divider.d.ts +2 -2
  81. package/lib/divider/index.d.ts +61 -37
  82. package/lib/dropdown/dropdown-item.d.ts +1 -1
  83. package/lib/dropdown/dropdown-menu.d.ts +2 -2
  84. package/lib/dropdown/dropdown.d.ts +2 -2
  85. package/lib/dropdown/index.d.ts +66 -54
  86. package/lib/exception/exception.d.ts +2 -2
  87. package/lib/exception/index.d.ts +60 -29
  88. package/lib/exception/index.js +1 -1
  89. package/lib/exception/typings/index.d.ts +2 -2
  90. package/lib/fixed-navbar/fixed-navbar.d.ts +1 -1
  91. package/lib/fixed-navbar/index.d.ts +58 -34
  92. package/lib/form/compose-form-item.d.ts +2 -2
  93. package/lib/form/form-item.d.ts +3 -3
  94. package/lib/form/form.d.ts +3 -3
  95. package/lib/form/index.d.ts +62 -40
  96. package/lib/form/index.js +1 -1
  97. package/lib/icon/angle-double-down-line.js +1 -1
  98. package/lib/icon/angle-double-left-line.js +1 -1
  99. package/lib/icon/angle-double-left.js +1 -1
  100. package/lib/icon/angle-double-right-line.js +1 -1
  101. package/lib/icon/angle-double-right.js +1 -1
  102. package/lib/icon/angle-double-up-line.js +1 -1
  103. package/lib/icon/angle-down-fill.js +1 -1
  104. package/lib/icon/angle-down-line.js +1 -1
  105. package/lib/icon/angle-down.js +1 -1
  106. package/lib/icon/angle-left.js +1 -1
  107. package/lib/icon/angle-right.js +1 -1
  108. package/lib/icon/angle-up-fill.js +1 -1
  109. package/lib/icon/angle-up.js +1 -1
  110. package/lib/icon/archive-fill.js +1 -1
  111. package/lib/icon/arrows-left.js +1 -1
  112. package/lib/icon/arrows-right.js +1 -1
  113. package/lib/icon/audio-fill.js +1 -1
  114. package/lib/icon/bk.js +1 -1
  115. package/lib/icon/circle.js +1 -1
  116. package/lib/icon/close-line.js +1 -1
  117. package/lib/icon/close.js +1 -1
  118. package/lib/icon/code.js +1 -1
  119. package/lib/icon/cog-shape.js +1 -1
  120. package/lib/icon/collapse-left.js +1 -1
  121. package/lib/icon/copy-shape.js +1 -1
  122. package/lib/icon/copy.js +1 -1
  123. package/lib/icon/data-shape.js +1 -1
  124. package/lib/icon/del.js +1 -1
  125. package/lib/icon/doc-fill.js +1 -1
  126. package/lib/icon/done.js +1 -1
  127. package/lib/icon/down-shape.js +1 -1
  128. package/lib/icon/down-small.js +1 -1
  129. package/lib/icon/edit-line.js +1 -1
  130. package/lib/icon/ellipsis.js +1 -1
  131. package/lib/icon/enlarge-line.js +1 -1
  132. package/lib/icon/error.js +1 -1
  133. package/lib/icon/excel-fill.js +1 -1
  134. package/lib/icon/exclamation-circle-shape.js +1 -1
  135. package/lib/icon/eye.js +1 -1
  136. package/lib/icon/filliscreen-line.js +1 -1
  137. package/lib/icon/fix-line.js +1 -1
  138. package/lib/icon/fix-shape.js +1 -1
  139. package/lib/icon/folder-open.js +1 -1
  140. package/lib/icon/folder-shape-open.js +1 -1
  141. package/lib/icon/folder-shape.js +1 -1
  142. package/lib/icon/folder.js +1 -1
  143. package/lib/icon/funnel.js +1 -1
  144. package/lib/icon/help-document-fill.js +1 -1
  145. package/lib/icon/help-fill.js +1 -1
  146. package/lib/icon/help.js +1 -1
  147. package/lib/icon/image-fill.js +1 -1
  148. package/lib/icon/img-error.js +1 -1
  149. package/lib/icon/img-placehoulder.js +1 -1
  150. package/lib/icon/index.js +1 -1
  151. package/lib/icon/info-line.js +1 -1
  152. package/lib/icon/info.js +1 -1
  153. package/lib/icon/left-shape.js +1 -1
  154. package/lib/icon/left-turn-line.js +1 -1
  155. package/lib/icon/narrow-line.js +1 -1
  156. package/lib/icon/original.js +1 -1
  157. package/lib/icon/pdf-fill.js +1 -1
  158. package/lib/icon/play-shape.js +1 -1
  159. package/lib/icon/plus.js +1 -1
  160. package/lib/icon/ppt-fill.js +1 -1
  161. package/lib/icon/qq.js +1 -1
  162. package/lib/icon/right-shape.js +1 -1
  163. package/lib/icon/right-turn-line.js +1 -1
  164. package/lib/icon/search.js +1 -1
  165. package/lib/icon/share.js +1 -1
  166. package/lib/icon/spinner.js +1 -1
  167. package/lib/icon/success.js +1 -1
  168. package/lib/icon/switcher-loading.js +1 -1
  169. package/lib/icon/text-file.js +1 -1
  170. package/lib/icon/text-fill.js +1 -1
  171. package/lib/icon/transfer.js +1 -1
  172. package/lib/icon/tree-application-shape.js +1 -1
  173. package/lib/icon/unfull-screen.js +1 -1
  174. package/lib/icon/unvisible.js +1 -1
  175. package/lib/icon/up-shape.js +1 -1
  176. package/lib/icon/upload.js +1 -1
  177. package/lib/icon/video-fill.js +1 -1
  178. package/lib/icon/warn.js +1 -1
  179. package/lib/icon/weixin-pro.js +1 -1
  180. package/lib/icon/weixin.js +1 -1
  181. package/lib/image/image-viewer.d.ts +2 -2
  182. package/lib/image/image.d.ts +1 -1
  183. package/lib/image/index.d.ts +63 -57
  184. package/lib/info-box/index.d.ts +1 -1
  185. package/lib/info-box/index.js +2 -1
  186. package/lib/info-box/index.js.LICENSE.txt +1 -0
  187. package/lib/input/index.d.ts +82 -119
  188. package/lib/input/index.js +1 -1
  189. package/lib/input/input.d.ts +6 -6
  190. package/lib/link/index.d.ts +59 -40
  191. package/lib/link/link.d.ts +1 -1
  192. package/lib/loading/directive.d.ts +2 -2
  193. package/lib/loading/index.d.ts +67 -71
  194. package/lib/loading/index.js +1 -1
  195. package/lib/loading/loading.d.ts +3 -3
  196. package/lib/locale/lang/en.d.ts +1 -1
  197. package/lib/menu/index.d.ts +69 -32
  198. package/lib/menu/index.js +1 -1
  199. package/lib/menu/menu-group.d.ts +2 -2
  200. package/lib/menu/menu-item.d.ts +5 -1
  201. package/lib/menu/menu.d.ts +1 -1
  202. package/lib/menu/submenu.d.ts +5 -1
  203. package/lib/menu/utils.d.ts +1 -1
  204. package/lib/message/index.js +1 -1
  205. package/lib/message/messageConstructor.d.ts +5 -5
  206. package/lib/modal/index.d.ts +84 -123
  207. package/lib/modal/modal.d.ts +3 -3
  208. package/lib/navigation/index.d.ts +84 -65
  209. package/lib/navigation/index.js +1 -1
  210. package/lib/navigation/navigation-title.d.ts +6 -3
  211. package/lib/navigation/navigation.d.ts +10 -3
  212. package/lib/notify/index.js +1 -1
  213. package/lib/notify/notifyConstructor.d.ts +1 -1
  214. package/lib/overflow-title/components/overflow-title.d.ts +2 -2
  215. package/lib/overflow-title/index.d.ts +62 -37
  216. package/lib/overflow-title/props.d.ts +2 -2
  217. package/lib/pagination/index.d.ts +75 -94
  218. package/lib/pagination/index.js +1 -1
  219. package/lib/pagination/pagination.d.ts +6 -6
  220. package/lib/pagination/type.d.ts +1 -1
  221. package/lib/plugin-popover/index.js +1 -1
  222. package/lib/pop-confirm/index.d.ts +66 -63
  223. package/lib/pop-confirm/pop-confirm.d.ts +2 -2
  224. package/lib/popover/arrow.d.ts +1 -1
  225. package/lib/popover/content.d.ts +2 -2
  226. package/lib/popover/index.d.ts +93 -164
  227. package/lib/popover/index.js +1 -1
  228. package/lib/popover/plugin-popover.d.ts +1 -1
  229. package/lib/popover/popover.d.ts +7 -7
  230. package/lib/popover/props.d.ts +4 -4
  231. package/lib/popover/reference.d.ts +1 -1
  232. package/lib/popover/root.d.ts +13 -2
  233. package/lib/popover/use-floating.d.ts +3 -3
  234. package/lib/popover2/index.d.ts +55 -10
  235. package/lib/popover2/popover.d.ts +1 -1
  236. package/lib/process/index.d.ts +60 -46
  237. package/lib/process/index.js +2 -1
  238. package/lib/process/index.js.LICENSE.txt +1 -0
  239. package/lib/process/process.d.ts +2 -2
  240. package/lib/progress/index.d.ts +76 -103
  241. package/lib/progress/index.js +1 -1
  242. package/lib/progress/progress.d.ts +6 -6
  243. package/lib/radio/index.d.ts +63 -41
  244. package/lib/radio/index.js +1 -1
  245. package/lib/radio/radio-button.d.ts +5 -5
  246. package/lib/radio/radio-group.d.ts +2 -2
  247. package/lib/radio/radio.d.ts +2 -2
  248. package/lib/radio/type.d.ts +1 -1
  249. package/lib/rate/index.d.ts +61 -34
  250. package/lib/rate/rate.d.ts +3 -3
  251. package/lib/rate/star.d.ts +1 -1
  252. package/lib/resize-layout/index.d.ts +65 -66
  253. package/lib/resize-layout/index.js +1 -1
  254. package/lib/resize-layout/resize-layout.d.ts +1 -1
  255. package/lib/search-select/index.d.ts +70 -69
  256. package/lib/search-select/index.js +2 -1
  257. package/lib/search-select/index.js.LICENSE.txt +1 -0
  258. package/lib/search-select/input.d.ts +1 -1
  259. package/lib/search-select/menu.d.ts +1 -1
  260. package/lib/search-select/search-select.d.ts +2 -2
  261. package/lib/search-select/selected.d.ts +2 -2
  262. package/lib/search-select/utils.d.ts +4 -4
  263. package/lib/select/index.d.ts +308 -512
  264. package/lib/select/index.js +2 -1
  265. package/lib/select/index.js.LICENSE.txt +1 -0
  266. package/lib/select/option.d.ts +2 -2
  267. package/lib/select/optionGroup.d.ts +2 -2
  268. package/lib/select/select.d.ts +76 -66
  269. package/lib/select/selectTagInput.d.ts +2 -2
  270. package/lib/select/type.d.ts +3 -3
  271. package/lib/shared/index.d.ts +2 -2
  272. package/lib/shared/index.js +1 -1
  273. package/lib/shared/mask-manager.d.ts +2 -2
  274. package/lib/shared/popover.d.ts +1 -1
  275. package/lib/shared/vue-types.d.ts +7 -7
  276. package/lib/sideslider/index.d.ts +84 -125
  277. package/lib/sideslider/index.js +2 -1
  278. package/lib/sideslider/index.js.LICENSE.txt +1 -0
  279. package/lib/sideslider/sideslider.d.ts +3 -3
  280. package/lib/slider/index.d.ts +73 -103
  281. package/lib/slider/index.js +2 -1
  282. package/lib/slider/index.js.LICENSE.txt +1 -0
  283. package/lib/slider/slider-button.d.ts +1 -1
  284. package/lib/slider/slider.d.ts +1 -1
  285. package/lib/steps/index.d.ts +68 -62
  286. package/lib/steps/index.js +2 -1
  287. package/lib/steps/index.js.LICENSE.txt +1 -0
  288. package/lib/steps/steps.d.ts +5 -5
  289. package/lib/swiper/index.d.ts +60 -44
  290. package/lib/swiper/swiper.d.ts +1 -1
  291. package/lib/switcher/index.d.ts +72 -77
  292. package/lib/switcher/index.js +1 -1
  293. package/lib/switcher/switcher.d.ts +3 -3
  294. package/lib/tab/index.d.ts +81 -99
  295. package/lib/tab/index.js +1 -1
  296. package/lib/tab/props.d.ts +1 -1
  297. package/lib/tab/tab-nav.d.ts +2 -2
  298. package/lib/tab/tab-panel.d.ts +2 -2
  299. package/lib/tab/tab.d.ts +3 -3
  300. package/lib/table/components/table-cell.d.ts +2 -2
  301. package/lib/table/components/table-column.d.ts +18 -12
  302. package/lib/table/components/table-row.d.ts +1 -1
  303. package/lib/table/index.d.ts +213 -302
  304. package/lib/table/index.js +1 -1
  305. package/lib/table/plugins/body-empty.d.ts +1 -1
  306. package/lib/table/plugins/col-group.d.ts +2 -2
  307. package/lib/table/plugins/head-filter.d.ts +1 -1
  308. package/lib/table/plugins/head-sort.d.ts +1 -1
  309. package/lib/table/plugins/settings.d.ts +1 -1
  310. package/lib/table/plugins/use-active-columns.d.ts +3 -3
  311. package/lib/table/plugins/use-fixed-column.d.ts +3 -3
  312. package/lib/table/props.d.ts +19 -19
  313. package/lib/table/table.css +3 -0
  314. package/lib/table/table.d.ts +6 -6
  315. package/lib/table/table.less +4 -0
  316. package/lib/table/table.variable.css +3 -0
  317. package/lib/table/use-column.d.ts +4 -4
  318. package/lib/table/use-common.d.ts +1 -1
  319. package/lib/table-column/index.d.ts +113 -106
  320. package/lib/table-column/index.js +1 -1
  321. package/lib/tag/index.d.ts +68 -50
  322. package/lib/tag/index.js +1 -1
  323. package/lib/tag/tag.d.ts +5 -1
  324. package/lib/tag-input/index.d.ts +105 -317
  325. package/lib/tag-input/index.js +1 -1
  326. package/lib/tag-input/list-tag-render.d.ts +2 -2
  327. package/lib/tag-input/tag-input.d.ts +7 -7
  328. package/lib/tag-input/tag-input.less +11 -11
  329. package/lib/tag-input/tag-props.d.ts +3 -3
  330. package/lib/tag-input/tag-render.d.ts +2 -2
  331. package/lib/time-picker/index.d.ts +116 -187
  332. package/lib/timeline/index.d.ts +57 -28
  333. package/lib/timeline/timeline.d.ts +2 -2
  334. package/lib/transfer/index.d.ts +67 -82
  335. package/lib/transfer/transfer.d.ts +1 -1
  336. package/lib/tree/index.d.ts +84 -146
  337. package/lib/tree/index.js +1 -1
  338. package/lib/tree/props.d.ts +4 -4
  339. package/lib/tree/tree.d.ts +3 -3
  340. package/lib/upload/index.d.ts +93 -150
  341. package/lib/upload/index.js +2 -1
  342. package/lib/upload/index.js.LICENSE.txt +1 -0
  343. package/lib/upload/upload-list.d.ts +1 -1
  344. package/lib/upload/upload-trigger.d.ts +1 -1
  345. package/lib/upload/upload.d.ts +4 -4
  346. package/lib/upload/upload.type.d.ts +12 -12
  347. package/lib/upload/use-file-handler.d.ts +1 -24
  348. package/lib/virtual-render/index.d.ts +64 -160
  349. package/lib/virtual-render/index.js +1 -1
  350. package/lib/virtual-render/props.d.ts +1 -1
  351. package/lib/virtual-render/virtual-render.d.ts +16 -3
  352. package/package.json +38 -37
@@ -6,25 +6,25 @@ export declare const enum EThemes {
6
6
  DRAGGABLE = "draggable",
7
7
  PICTURE = "picture"
8
8
  }
9
- export declare type Theme = Lowercase<keyof typeof EThemes>;
9
+ export type Theme = Lowercase<keyof typeof EThemes>;
10
10
  export declare const enum EUploadStatus {
11
11
  NEW = "new",
12
12
  UPLOADING = "uploading",
13
13
  SUCCESS = "success",
14
14
  FAIL = "fail"
15
15
  }
16
- export declare type UploadStatus = Lowercase<keyof typeof EUploadStatus>;
17
- export declare type FormDataAttr = {
16
+ export type UploadStatus = Lowercase<keyof typeof EUploadStatus>;
17
+ export type FormDataAttr = {
18
18
  name: string;
19
19
  value: string | Blob | [string | Blob, string];
20
20
  };
21
- export declare type HeaderDataAttr = {
21
+ export type HeaderDataAttr = {
22
22
  name: string;
23
23
  value: string;
24
24
  };
25
- export declare type ExtraFormData = Record<string, string | Blob | [string | Blob, string]>;
26
- export declare type UploadFiles = UploadFile[];
27
- export declare type UploadFile = {
25
+ export type ExtraFormData = Record<string, string | Blob | [string | Blob, string]>;
26
+ export type UploadFiles = UploadFile[];
27
+ export type UploadFile = {
28
28
  name: string;
29
29
  status: UploadStatus;
30
30
  statusText?: string;
@@ -39,7 +39,7 @@ export declare type UploadFile = {
39
39
  export interface UploadRawFile extends File {
40
40
  uid: number;
41
41
  }
42
- export declare type MaxSize = {
42
+ export type MaxSize = {
43
43
  maxFileSize: number;
44
44
  maxImgSize: number;
45
45
  };
@@ -51,8 +51,8 @@ export interface APIResponse {
51
51
  data: unknown;
52
52
  message?: string;
53
53
  }
54
- export declare type SuccessResponse = APIResponse | XMLHttpRequestResponseType | unknown;
55
- export declare type UploadProps = ExtractPropTypes<typeof uploadProps>;
54
+ export type SuccessResponse = APIResponse | XMLHttpRequestResponseType | unknown;
55
+ export type UploadProps = ExtractPropTypes<typeof uploadProps>;
56
56
  export interface UploadRequestOptions {
57
57
  action: string;
58
58
  method: string;
@@ -71,8 +71,8 @@ export interface UploadRequestOptions {
71
71
  onSuccess: (res: SuccessResponse) => void;
72
72
  onComplete: () => void;
73
73
  }
74
- export declare type UploadRequestHandler = (options: UploadRequestOptions) => XMLHttpRequest | Promise<unknown>;
75
- export declare type HookHandler = (uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
74
+ export type UploadRequestHandler = (options: UploadRequestOptions) => XMLHttpRequest | Promise<unknown>;
75
+ export type HookHandler = (uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
76
76
  export interface UploadHanderHooks {
77
77
  onRemove: HookHandler;
78
78
  }
@@ -9,30 +9,7 @@ declare const _default: (props: UploadProps, hooks: UploadHanderHooks) => {
9
9
  size: number;
10
10
  uid: number;
11
11
  url?: string;
12
- raw: {
13
- uid: number;
14
- readonly lastModified: number;
15
- readonly name: string;
16
- readonly webkitRelativePath: string;
17
- readonly size: number;
18
- readonly type: string;
19
- arrayBuffer: {
20
- (): Promise<ArrayBuffer>;
21
- (): Promise<ArrayBuffer>;
22
- };
23
- slice: {
24
- (start?: number, end?: number, contentType?: string): Blob;
25
- (start?: number, end?: number, contentType?: string): Blob;
26
- };
27
- stream: {
28
- (): ReadableStream<any>;
29
- (): NodeJS.ReadableStream;
30
- };
31
- text: {
32
- (): Promise<string>;
33
- (): Promise<string>;
34
- };
35
- };
12
+ raw: UploadRawFile;
36
13
  isPic?: boolean;
37
14
  }[]>;
38
15
  handlePreprocess: (file: UploadRawFile) => any;
@@ -2,158 +2,43 @@ declare const BkVirtualRender: {
2
2
  new (...args: any[]): {
3
3
  $: import("vue").ComponentInternalInstance;
4
4
  $data: {};
5
- $props: Partial<{
6
- width: string | number;
7
- height: string | number;
8
- enabled: boolean;
9
- list: unknown[];
10
- lineHeight: any;
11
- minHeight: number;
12
- scrollEvent: boolean;
13
- className: string | {
5
+ $props: {
6
+ [x: `on${Capitalize<string>}`]: (...args: any[]) => any;
7
+ width?: string | number;
8
+ height?: string | number;
9
+ enabled?: boolean;
10
+ list?: unknown[];
11
+ lineHeight?: any;
12
+ minHeight?: number;
13
+ scrollEvent?: boolean;
14
+ className?: string | {
14
15
  [key: string]: any;
15
16
  };
16
- contentClassName: string | {
17
+ contentClassName?: string | {
17
18
  [key: string]: any;
18
19
  };
19
- contentStyle: {
20
+ contentStyle?: {
20
21
  [key: string]: any;
21
22
  };
22
- scrollXName: string;
23
- scrollYName: string;
24
- groupItemCount: number;
25
- preloadItemCount: number;
26
- renderAs: string;
27
- contentAs: string;
28
- scrollOffsetTop: number;
29
- scrollPosition: string;
30
- abosuteHeight: string | number;
31
- throttleDelay: number;
32
- rowKey: string;
33
- keepAlive: boolean;
34
- }> & Omit<Readonly<import("vue").ExtractPropTypes<{
35
- onContentScroll: FunctionConstructor;
36
- list: import("vue-types").VueTypeValidableDef<unknown[]> & {
37
- default: () => unknown[];
38
- } & {
39
- default: () => unknown[];
40
- };
41
- enabled: import("vue-types").VueTypeValidableDef<boolean> & {
42
- default: boolean;
43
- } & {
44
- default: boolean;
45
- };
46
- scrollEvent: import("vue-types").VueTypeValidableDef<boolean> & {
47
- default: boolean;
48
- } & {
49
- default: boolean;
50
- };
51
- lineHeight: import("vue-types").VueTypeDef<any> & {
52
- default: any;
53
- };
54
- minHeight: import("vue-types").VueTypeValidableDef<number> & {
55
- default: number;
56
- } & {
57
- default: number;
58
- };
59
- height: import("vue-types").VueTypeDef<string | number> & {
60
- default: string | number;
61
- };
62
- width: import("vue-types").VueTypeDef<string | number> & {
63
- default: string | number;
64
- };
65
- className: import("vue-types").VueTypeDef<string | string[] | {
66
- [key: string]: any;
67
- } | {
68
- [key: string]: any;
69
- }[]> & {
70
- default: string | (() => {
71
- [key: string]: any;
72
- }) | (() => string[]) | (() => {
73
- [key: string]: any;
74
- }[]);
75
- };
76
- contentClassName: import("vue-types").VueTypeDef<string | string[] | {
77
- [key: string]: any;
78
- } | {
79
- [key: string]: any;
80
- }[]> & {
81
- default: string | (() => {
82
- [key: string]: any;
83
- }) | (() => string[]) | (() => {
84
- [key: string]: any;
85
- }[]);
86
- };
87
- contentStyle: import("vue-types").VueTypeValidableDef<{
88
- [key: string]: any;
89
- }> & {
90
- default: () => {
91
- [key: string]: any;
92
- };
93
- } & {
94
- default: () => {
95
- [key: string]: any;
96
- };
97
- };
98
- scrollXName: import("vue-types").VueTypeValidableDef<string> & {
99
- default: string;
100
- } & {
101
- default: string;
102
- };
103
- scrollYName: import("vue-types").VueTypeValidableDef<string> & {
104
- default: string;
105
- } & {
106
- default: string;
107
- };
108
- groupItemCount: import("vue-types").VueTypeValidableDef<number> & {
109
- default: number;
110
- } & {
111
- default: number;
112
- };
113
- preloadItemCount: import("vue-types").VueTypeValidableDef<number> & {
114
- default: number;
115
- } & {
116
- default: number;
117
- };
118
- renderAs: import("vue-types").VueTypeValidableDef<string> & {
119
- default: string;
120
- } & {
121
- default: string;
122
- };
123
- contentAs: import("vue-types").VueTypeValidableDef<string> & {
124
- default: string;
125
- } & {
126
- default: string;
127
- };
128
- scrollOffsetTop: import("vue-types").VueTypeValidableDef<number> & {
129
- default: number;
130
- } & {
131
- default: number;
132
- };
133
- scrollPosition: import("vue-types").VueTypeValidableDef<string> & {
134
- default: string;
135
- } & {
136
- default: string;
137
- };
138
- abosuteHeight: import("vue-types").VueTypeDef<string | number> & {
139
- default: string | number;
140
- };
141
- throttleDelay: import("vue-types").VueTypeValidableDef<number> & {
142
- default: number;
143
- } & {
144
- default: number;
145
- };
146
- rowKey: import("vue-types").VueTypeValidableDef<string> & {
147
- default: string;
148
- } & {
149
- default: string;
150
- };
151
- keepAlive: import("vue-types").VueTypeValidableDef<boolean> & {
152
- default: boolean;
153
- } & {
154
- default: boolean;
155
- };
156
- }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "width" | "height" | "enabled" | "list" | "lineHeight" | "minHeight" | "scrollEvent" | "className" | "contentClassName" | "contentStyle" | "scrollXName" | "scrollYName" | "groupItemCount" | "preloadItemCount" | "renderAs" | "contentAs" | "scrollOffsetTop" | "scrollPosition" | "abosuteHeight" | "throttleDelay" | "rowKey" | "keepAlive">;
23
+ scrollXName?: string;
24
+ scrollYName?: string;
25
+ groupItemCount?: number;
26
+ preloadItemCount?: number;
27
+ renderAs?: string;
28
+ contentAs?: string;
29
+ scrollOffsetTop?: number;
30
+ scrollPosition?: string;
31
+ abosuteHeight?: string | number;
32
+ throttleDelay?: number;
33
+ rowKey?: string;
34
+ keepAlive?: boolean;
35
+ class?: unknown;
36
+ style?: unknown;
37
+ key?: string | number | symbol;
38
+ ref?: import("vue").VNodeRef;
39
+ ref_for?: boolean;
40
+ ref_key?: string;
41
+ };
157
42
  $attrs: {
158
43
  [x: string]: unknown;
159
44
  };
@@ -161,11 +46,14 @@ declare const BkVirtualRender: {
161
46
  [x: string]: unknown;
162
47
  };
163
48
  $slots: Readonly<{
164
- [name: string]: import("vue").Slot;
49
+ default?: any;
50
+ beforeContent?: any;
51
+ afterContent?: any;
52
+ afterSection?: any;
165
53
  }>;
166
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
167
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
168
- $emit: ((event: string, ...args: any[]) => void) | ((event: string, ...args: any[]) => void);
54
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
55
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
56
+ $emit: (event: string, ...args: any[]) => void;
169
57
  $el: any;
170
58
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
171
59
  onContentScroll: FunctionConstructor;
@@ -289,9 +177,11 @@ declare const BkVirtualRender: {
289
177
  } & {
290
178
  default: boolean;
291
179
  };
292
- }>>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
180
+ }>> & {
181
+ [x: `on${Capitalize<string>}`]: (...args: any[]) => any;
182
+ }, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
293
183
  [key: string]: any;
294
- }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, {
184
+ }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, string[], string, {
295
185
  width: string | number;
296
186
  height: string | number;
297
187
  enabled: boolean;
@@ -320,7 +210,12 @@ declare const BkVirtualRender: {
320
210
  throttleDelay: number;
321
211
  rowKey: string;
322
212
  keepAlive: boolean;
323
- }> & {
213
+ }, {}, string, import("vue").SlotsType<{
214
+ default?: any;
215
+ beforeContent?: any;
216
+ afterContent?: any;
217
+ afterSection?: any;
218
+ }>> & {
324
219
  beforeCreate?: (() => void) | (() => void)[];
325
220
  created?: (() => void) | (() => void)[];
326
221
  beforeMount?: (() => void) | (() => void)[];
@@ -335,11 +230,11 @@ declare const BkVirtualRender: {
335
230
  unmounted?: (() => void) | (() => void)[];
336
231
  renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
337
232
  renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
338
- errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void)[];
233
+ 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)[];
339
234
  };
340
235
  $forceUpdate: () => void;
341
236
  $nextTick: typeof import("vue").nextTick;
342
- $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
237
+ $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;
343
238
  } & Readonly<import("vue").ExtractPropTypes<{
344
239
  onContentScroll: FunctionConstructor;
345
240
  list: import("vue-types").VueTypeValidableDef<unknown[]> & {
@@ -462,9 +357,11 @@ declare const BkVirtualRender: {
462
357
  } & {
463
358
  default: boolean;
464
359
  };
465
- }>> & import("vue").ShallowUnwrapRef<() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
360
+ }>> & {
361
+ [x: `on${Capitalize<string>}`]: (...args: any[]) => any;
362
+ } & import("vue").ShallowUnwrapRef<() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
466
363
  [key: string]: any;
467
- }>> & {} & {} & import("vue").ComponentCustomProperties;
364
+ }>> & {} & import("vue").ComponentCustomProperties & {};
468
365
  __isFragment?: never;
469
366
  __isTeleport?: never;
470
367
  __isSuspense?: never;
@@ -590,9 +487,11 @@ declare const BkVirtualRender: {
590
487
  } & {
591
488
  default: boolean;
592
489
  };
593
- }>>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
490
+ }>> & {
491
+ [x: `on${Capitalize<string>}`]: (...args: any[]) => any;
492
+ }, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
594
493
  [key: string]: any;
595
- }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, "content-scroll", {
494
+ }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, string[], string, {
596
495
  width: string | number;
597
496
  height: string | number;
598
497
  enabled: boolean;
@@ -621,5 +520,10 @@ declare const BkVirtualRender: {
621
520
  throttleDelay: number;
622
521
  rowKey: string;
623
522
  keepAlive: boolean;
624
- }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
523
+ }, {}, string, import("vue").SlotsType<{
524
+ default?: any;
525
+ beforeContent?: any;
526
+ afterContent?: any;
527
+ afterSection?: any;
528
+ }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]>;
625
529
  export default BkVirtualRender;
@@ -1 +1 @@
1
- !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("../shared"),require("vue"),require("lodash"));else if("function"==typeof define&&define.amd)define(["../shared","vue","lodash"],t);else{var o="object"==typeof exports?t(require("../shared"),require("vue"),require("lodash")):t(e["../shared"],e.vue,e.lodash);for(var r in o)("object"==typeof exports?exports:e)[r]=o[r]}}(self,((e,t,o)=>(()=>{"use strict";var r={4212:t=>{t.exports=e},467:e=>{e.exports=o},748:e=>{e.exports=t}},n={};function l(e){var t=n[e];if(void 0!==t)return t.exports;var o=n[e]={exports:{}};return r[e](o,o.exports,l),o.exports}l.d=(e,t)=>{for(var o in t)l.o(t,o)&&!l.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},l.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),l.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var s={};return(()=>{l.r(s),l.d(s,{default:()=>m});var e=l(4212);function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}function o(e){return function(e){if(Array.isArray(e))return t(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,o){if(e){if("string"==typeof e)return t(e,o);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?t(e,o):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}var n=l(748),i={onContentScroll:Function},a=Object.assign({list:e.PropTypes.array.def([]),enabled:e.PropTypes.bool.def(!0),scrollEvent:e.PropTypes.bool.def(!1),lineHeight:e.PropTypes.oneOfType([e.PropTypes.number,e.PropTypes.func]).def(30),minHeight:e.PropTypes.number.def(30),height:e.PropTypes.oneOfType([e.PropTypes.string.def("100%"),e.PropTypes.number]).def("100%"),width:e.PropTypes.oneOfType([e.PropTypes.string.def("100%"),e.PropTypes.number]).def("100%"),className:e.PropTypes.oneOfType([e.PropTypes.arrayOf(e.PropTypes.string),e.PropTypes.object,e.PropTypes.arrayOf(e.PropTypes.object),e.PropTypes.string]).def(""),contentClassName:e.PropTypes.oneOfType([e.PropTypes.arrayOf(e.PropTypes.string),e.PropTypes.object,e.PropTypes.arrayOf(e.PropTypes.object),e.PropTypes.string]).def(""),contentStyle:e.PropTypes.object.def({}),scrollXName:e.PropTypes.string.def((0,e.resolveClassName)("F-scroll-x")),scrollYName:e.PropTypes.string.def((0,e.resolveClassName)("F-scroll-y")),groupItemCount:e.PropTypes.number.def(1),preloadItemCount:e.PropTypes.number.def(1),renderAs:e.PropTypes.string.def("div"),contentAs:e.PropTypes.string.def("div"),scrollOffsetTop:e.PropTypes.number.def(0),scrollPosition:e.PropTypes.string.def("content"),abosuteHeight:e.PropTypes.oneOfType([e.PropTypes.string.def("auto"),e.PropTypes.number]).def("auto"),throttleDelay:e.PropTypes.number.def(60),rowKey:e.PropTypes.string.def(void 0),keepAlive:e.PropTypes.bool.def(!1)},i),u=l(467),c=void 0;function p(e,t,o,r){for(var n=0,l=0,s=0,i=0;n<e;n++){if(l+(i=r(n,[n*o,(n+1)*o,"virtual"]))>t){s=t-l;break}l+=i}return{startIndex:n,height:l,diffHeight:s}}function f(e,t,o,r,n){if(r){var l=r.scrollTop,s=r.scrollLeft,i=o.scrollTop,a=o.count,u=o.groupItemCount,c=o.startIndex,f=o.endIndex,d=o.scrollLeft,v=r.offsetHeight,y=0,h=0,m=0;if("number"==typeof e&&(y=Math.floor(l/e),h=Math.ceil(v/e)+y,m=l%e),"function"==typeof e){var g=p(a,l,u,e);y=g.startIndex>0?g.startIndex:0,m=g.diffHeight,h=p(a,v,u,e).startIndex+y+1}if(l!==i||y!==c||h!==f||d!==s){var b=r.scrollHeight-r.offsetHeight-r.scrollTop;"function"==typeof t&&t(n,y,h,l,m,s,{bottom:b>=0?b:0})}}}function d(e,t,o){var r=o.value,n=r.lineHeight,l=void 0===n?30:n,s=r.handleScrollCallback,i=r.pagination,a=void 0===i?{}:i;if(r.onlyScroll){var u=t.scrollTop,c=t.scrollLeft,p=t.scrollHeight-t.offsetHeight-t.scrollTop;s(e,null,null,u,u,c,{bottom:p>=0?p:0})}else{var d=a.startIndex,v=a.endIndex,y=a.groupItemCount,h=a.count;f(l,s,{scrollTop:a.scrollTop,startIndex:d,endIndex:v,groupItemCount:y,count:h,scrollLeft:a.scrollLeft},t,e)}}var v=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:60;return(0,u.throttle)((function(e,t,o){return d(e,t,o)}),e)};const y={mounted:function(e,t){var o=e.parentNode,r=t.value.throttleDelay;o.addEventListener("scroll",(function(e){!function(e,t,o){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:60;Reflect.apply(v(r),c,[e,t,o])}(e,o,t,r)}))},unbind:function(e){if(e){var t=e.parentNode;if(!t)return;t.removeEventListener("scroll",v)}}},h=(0,n.defineComponent)({name:"VirtualRender",directives:{bkVirtualRender:y},props:a,emits:["content-scroll"],setup:function(t,l){var s=this,i=t.renderAs,a=t.contentAs,u=function(e){return"string"==typeof e?[e]:"object"!==r(e)||Array.isArray(e)?e:[e]};if(!t.enabled){var c=function(e,t){var o=e.renderAs,r=e.contentAs,l=(0,n.resolveDirective)("bkVirtualRender"),s={lineHeight:e.lineHeight,handleScrollCallback:function(e,o,r,n,l,s,i){t.emit("content-scroll",[e,{translateY:l,translateX:s,pos:i}])},pagination:{},throttleDelay:e.throttleDelay,onlyScroll:e.scrollEvent},i=(0,n.ref)(null);return t.expose({scrollTo:function(e){var t=e.left,o=void 0===t?0:t,r=e.top,n=void 0===r?0:r;i.value.scrollTo(o,n)}}),{rendAsTag:function(){var a,u,c,p,f,d,v,y,h,m,g,b;return(0,n.h)(o,{class:e.className,ref:i},[null!==(c=null===(u=(a=t.slots).beforeContent)||void 0===u?void 0:u.call(a))&&void 0!==c?c:"",(0,n.withDirectives)((0,n.h)(r,{class:e.contentClassName,style:e.contentStyle},[null!==(d=null===(f=(p=t.slots).default)||void 0===f?void 0:f.call(p,{data:e.list}))&&void 0!==d?d:""]),[[l,s]]),null!==(h=null===(y=(v=t.slots).afterContent)||void 0===y?void 0:y.call(v))&&void 0!==h?h:"",null!==(b=null===(g=(m=t.slots).afterSection)||void 0===g?void 0:g.call(m))&&void 0!==b?b:""])}}}(t,l);return c.rendAsTag}var p=(0,n.ref)(null),d=(0,n.reactive)({startIndex:0,endIndex:0,scrollTop:1,scrollLeft:0,translateY:0,translateX:0,count:0,pos:{},groupItemCount:t.groupItemCount}),v=function(e,t,o,r,n,s,i){d.startIndex=t,d.endIndex=o,d.scrollTop=r,d.translateY=n,d.translateX=s,d.scrollLeft=s,d.pos=i,l.emit("content-scroll",[e,d])};(0,n.onMounted)((function(){(0,n.nextTick)((function(){g(t.list),b()}))})),(0,n.watch)((function(){return t.list}),(function(){var e;e={left:d.scrollLeft,top:d.scrollTop},y(),b(),t.keepAlive&&A(e)}),{deep:!0}),(0,n.watch)((function(){return t.lineHeight}),(function(){y(),b()}));var y=function(){g(t.list)},h=(0,n.ref)(0),m=(0,n.ref)(0),g=function(e){if(h.value=Math.ceil((e||[]).length/t.groupItemCount),d.count=h.value,d.startIndex=0,d.endIndex=0,d.translateY=0,d.scrollTop=0,"string"==typeof t.abosuteHeight&&"auto"===t.abosuteHeight)if("function"==typeof t.lineHeight){m.value=0;for(var o=0,r=0;r<h.value;r++){var n=t.lineHeight.call(s,r,e.slice(r*t.groupItemCount,t.groupItemCount));o+="number"==typeof n?n:0}m.value=o}else m.value=t.lineHeight*h.value;else m.value=t.abosuteHeight},b=function(){var e,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{left:0,top:0},r=null===(e=p.value)||void 0===e?void 0:e.parentNode;console.log("afterListDataReset pagination",d),f(t.lineHeight,v,d,r,null),o&&p.value&&A(o)},T=(0,n.computed)((function(){return void 0!==t.rowKey?t.list:(t.list||[]).map((function(e,t){return Object.assign(Object.assign({},e),{$index:t})}))})),P=(0,n.computed)((function(){return T.value.slice(d.startIndex*t.groupItemCount,(d.endIndex+t.preloadItemCount)*t.groupItemCount)})),x=(0,n.computed)((function(){return"content"===t.scrollPosition?{top:"".concat(d.scrollTop+t.scrollOffsetTop,"px"),transform:"translateY(-".concat(d.translateY,"px)")}:{}})),I=(0,n.computed)((function(){return Object.assign({height:"number"==typeof t.height?"".concat(t.height,"px"):t.height,width:"number"==typeof t.width?"".concat(t.width,"px"):t.width,display:"inline-block"},"container"===t.scrollPosition?x.value:{})})),C=(0,n.computed)((function(){var e="number"==typeof t.abosuteHeight&&0===t.abosuteHeight;return{height:"".concat(m.value<t.minHeight?t.minHeight:m.value,"px"),display:e?"none":"block"}})),H=(0,n.computed)((function(){return[(0,e.resolveClassName)("virtual-render"),t.scrollXName,t.scrollYName].concat(o(u(t.className)),["container"===t.scrollPosition?(0,e.resolveClassName)("virtual-content"):""])})),S=(0,n.computed)((function(){return["content"===t.scrollPosition?(0,e.resolveClassName)("virtual-content"):""].concat(o(u(t.contentClassName)))})),O=(0,n.resolveDirective)("bkVirtualRender"),j={lineHeight:t.lineHeight,handleScrollCallback:v,pagination:d,throttleDelay:t.throttleDelay},A=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{left:0,top:0},t=e.left,o=e.top;p.value.scrollTo(t,o)};return l.expose({reset:function(){y(),b()},scrollTo:A}),function(){var o,r,s,u,c,f,d,v,y,h,m,g;return(0,n.h)(i||"div",{ref:p,class:H.value,style:I.value},[null!==(s=null===(r=(o=l.slots).beforeContent)||void 0===r?void 0:r.call(o))&&void 0!==s?s:"",(0,n.withDirectives)((0,n.h)(a||"div",{class:S.value,style:Object.assign(Object.assign({},x.value),t.contentStyle)},[null!==(f=null===(c=(u=l.slots).default)||void 0===c?void 0:c.call(u,{data:P.value}))&&void 0!==f?f:""]),[[O,j]]),null!==(y=null===(v=(d=l.slots).afterContent)||void 0===v?void 0:v.call(d))&&void 0!==y?y:"",(0,n.h)("div",{class:[(0,e.resolveClassName)("virtual-section")],style:C.value}),null!==(g=null===(m=(h=l.slots).afterSection)||void 0===m?void 0:m.call(h))&&void 0!==g?g:""])}}}),m=(0,e.withInstall)(h)})(),s})()));
1
+ !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("../shared"),require("vue"),require("lodash"));else if("function"==typeof define&&define.amd)define(["../shared","vue","lodash"],t);else{var o="object"==typeof exports?t(require("../shared"),require("vue"),require("lodash")):t(e["../shared"],e.vue,e.lodash);for(var r in o)("object"==typeof exports?exports:e)[r]=o[r]}}(self,((e,t,o)=>(()=>{"use strict";var r={4212:t=>{t.exports=e},467:e=>{e.exports=o},748:e=>{e.exports=t}},n={};function l(e){var t=n[e];if(void 0!==t)return t.exports;var o=n[e]={exports:{}};return r[e](o,o.exports,l),o.exports}l.d=(e,t)=>{for(var o in t)l.o(t,o)&&!l.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},l.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),l.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var s={};return(()=>{l.r(s),l.d(s,{default:()=>y});var e=l(4212);function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}function o(e){return function(e){if(Array.isArray(e))return t(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,o){if(e){if("string"==typeof e)return t(e,o);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?t(e,o):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}var n=l(748),i={onContentScroll:Function},a=Object.assign({list:e.PropTypes.array.def([]),enabled:e.PropTypes.bool.def(!0),scrollEvent:e.PropTypes.bool.def(!1),lineHeight:e.PropTypes.oneOfType([e.PropTypes.number,e.PropTypes.func]).def(30),minHeight:e.PropTypes.number.def(30),height:e.PropTypes.oneOfType([e.PropTypes.string.def("100%"),e.PropTypes.number]).def("100%"),width:e.PropTypes.oneOfType([e.PropTypes.string.def("100%"),e.PropTypes.number]).def("100%"),className:e.PropTypes.oneOfType([e.PropTypes.arrayOf(e.PropTypes.string),e.PropTypes.object,e.PropTypes.arrayOf(e.PropTypes.object),e.PropTypes.string]).def(""),contentClassName:e.PropTypes.oneOfType([e.PropTypes.arrayOf(e.PropTypes.string),e.PropTypes.object,e.PropTypes.arrayOf(e.PropTypes.object),e.PropTypes.string]).def(""),contentStyle:e.PropTypes.object.def({}),scrollXName:e.PropTypes.string.def((0,e.resolveClassName)("F-scroll-x")),scrollYName:e.PropTypes.string.def((0,e.resolveClassName)("F-scroll-y")),groupItemCount:e.PropTypes.number.def(1),preloadItemCount:e.PropTypes.number.def(1),renderAs:e.PropTypes.string.def("div"),contentAs:e.PropTypes.string.def("div"),scrollOffsetTop:e.PropTypes.number.def(0),scrollPosition:e.PropTypes.string.def("content"),abosuteHeight:e.PropTypes.oneOfType([e.PropTypes.string.def("auto"),e.PropTypes.number]).def("auto"),throttleDelay:e.PropTypes.number.def(60),rowKey:e.PropTypes.string.def(void 0),keepAlive:e.PropTypes.bool.def(!1)},i),u=l(467);function c(e,t,o,r){for(var n=0,l=0,s=0,i=0;n<e;n++){if(l+(i=r(n,[n*o,(n+1)*o,"virtual"]))>t){s=t-l;break}l+=i}return{startIndex:n,height:l,diffHeight:s}}function p(e,t,o,r,n){if(r){var l=r.scrollTop,s=r.scrollLeft,i=o.scrollTop,a=o.count,u=o.groupItemCount,p=o.startIndex,f=o.endIndex,d=o.scrollLeft,v=r.offsetHeight,y=0,h=0,m=0;if("number"==typeof e&&(y=Math.floor(l/e),h=Math.ceil(v/e)+y,m=l%e),"function"==typeof e){var g=c(a,l,u,e);y=g.startIndex>0?g.startIndex:0,m=g.diffHeight,h=c(a,v,u,e).startIndex+y+1}if(l!==i||y!==p||h!==f||d!==s){var b=r.scrollHeight-r.offsetHeight-r.scrollTop;"function"==typeof t&&t(n,y,h,l,m,s,{bottom:b>=0?b:0})}}}var f=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:60;return(0,u.throttle)((function(e,t,o){return function(e,t,o){var r=o.value,n=r.lineHeight,l=void 0===n?30:n,s=r.handleScrollCallback,i=r.pagination,a=void 0===i?{}:i;if(r.onlyScroll){var u=t.scrollTop,c=t.scrollLeft,f=t.scrollHeight-t.offsetHeight-t.scrollTop;s(e,null,null,u,u,c,{bottom:f>=0?f:0})}else{var d=a.startIndex,v=a.endIndex,y=a.groupItemCount,h=a.count;p(l,s,{scrollTop:a.scrollTop,startIndex:d,endIndex:v,groupItemCount:y,count:h,scrollLeft:a.scrollLeft},t,e)}}(e,t,o)}),e)};const d={mounted:function(e,t){var o=e.parentNode,r=t.value.throttleDelay;o.addEventListener("scroll",(function(e){!function(e,t,o){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:60;Reflect.apply(f(r),void 0,[e,t,o])}(e,o,t,r)}))},unbind:function(e){if(e){var t=e.parentNode;if(!t)return;t.removeEventListener("scroll",f)}}},v=(0,n.defineComponent)({name:"VirtualRender",directives:{bkVirtualRender:d},props:a,emits:["content-scroll"],slots:Object,setup:function(t,l){var s=this,i=t.renderAs,a=t.contentAs,u=function(e){return"string"==typeof e?[e]:"object"!==r(e)||Array.isArray(e)?e:[e]};if(!t.enabled){var c=function(e,t){var o=e.renderAs,r=e.contentAs,l=(0,n.resolveDirective)("bkVirtualRender"),s={lineHeight:e.lineHeight,handleScrollCallback:function(e,o,r,n,l,s,i){t.emit("content-scroll",[e,{translateY:l,translateX:s,pos:i}])},pagination:{},throttleDelay:e.throttleDelay,onlyScroll:e.scrollEvent},i=(0,n.ref)(null);return t.expose({scrollTo:function(e){var t=e.left,o=void 0===t?0:t,r=e.top,n=void 0===r?0:r;i.value.scrollTo(o,n)}}),{rendAsTag:function(){var a,u,c,p,f,d,v,y,h,m,g,b;return(0,n.h)(o,{class:e.className,ref:i},[null!==(c=null===(u=(a=t.slots).beforeContent)||void 0===u?void 0:u.call(a))&&void 0!==c?c:"",(0,n.withDirectives)((0,n.h)(r,{class:e.contentClassName,style:e.contentStyle},[null!==(d=null===(f=(p=t.slots).default)||void 0===f?void 0:f.call(p,{data:e.list}))&&void 0!==d?d:""]),[[l,s]]),null!==(h=null===(y=(v=t.slots).afterContent)||void 0===y?void 0:y.call(v))&&void 0!==h?h:"",null!==(b=null===(g=(m=t.slots).afterSection)||void 0===g?void 0:g.call(m))&&void 0!==b?b:""])}}}(t,l);return c.rendAsTag}var f=(0,n.ref)(null),d=(0,n.reactive)({startIndex:0,endIndex:0,scrollTop:1,scrollLeft:0,translateY:0,translateX:0,count:0,pos:{},groupItemCount:t.groupItemCount}),v=function(e,t,o,r,n,s,i){d.startIndex=t,d.endIndex=o,d.scrollTop=r,d.translateY=n,d.translateX=s,d.scrollLeft=s,d.pos=i,l.emit("content-scroll",[e,d])};(0,n.onMounted)((function(){(0,n.nextTick)((function(){g(t.list),b()}))})),(0,n.watch)((function(){return t.list}),(function(){var e;e={left:d.scrollLeft,top:d.scrollTop},y(),b(),t.keepAlive&&A(e)}),{deep:!0}),(0,n.watch)((function(){return t.lineHeight}),(function(){y(),b()}));var y=function(){g(t.list)},h=(0,n.ref)(0),m=(0,n.ref)(0),g=function(e){if(h.value=Math.ceil((e||[]).length/t.groupItemCount),d.count=h.value,d.startIndex=0,d.endIndex=0,d.translateY=0,d.scrollTop=0,"string"==typeof t.abosuteHeight&&"auto"===t.abosuteHeight)if("function"==typeof t.lineHeight){m.value=0;for(var o=0,r=0;r<h.value;r++){var n=t.lineHeight.call(s,r,e.slice(r*t.groupItemCount,t.groupItemCount));o+="number"==typeof n?n:0}m.value=o}else m.value=t.lineHeight*h.value;else m.value=t.abosuteHeight},b=function(){var e,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{left:0,top:0},r=null===(e=f.value)||void 0===e?void 0:e.parentNode;p(t.lineHeight,v,d,r,null),o&&f.value&&A(o)},T=(0,n.computed)((function(){return void 0!==t.rowKey?t.list:(t.list||[]).map((function(e,t){return Object.assign(Object.assign({},e),{$index:t})}))})),P=(0,n.computed)((function(){return T.value.slice(d.startIndex*t.groupItemCount,(d.endIndex+t.preloadItemCount)*t.groupItemCount)})),x=(0,n.computed)((function(){return"content"===t.scrollPosition?{top:"".concat(d.scrollTop+t.scrollOffsetTop,"px"),transform:"translateY(-".concat(d.translateY,"px)")}:{}})),I=(0,n.computed)((function(){return Object.assign({height:"number"==typeof t.height?"".concat(t.height,"px"):t.height,width:"number"==typeof t.width?"".concat(t.width,"px"):t.width,display:"inline-block"},"container"===t.scrollPosition?x.value:{})})),C=(0,n.computed)((function(){var e="number"==typeof t.abosuteHeight&&0===t.abosuteHeight;return{height:"".concat(m.value<t.minHeight?t.minHeight:m.value,"px"),display:e?"none":"block"}})),H=(0,n.computed)((function(){return[(0,e.resolveClassName)("virtual-render"),t.scrollXName,t.scrollYName].concat(o(u(t.className)),["container"===t.scrollPosition?(0,e.resolveClassName)("virtual-content"):""])})),O=(0,n.computed)((function(){return["content"===t.scrollPosition?(0,e.resolveClassName)("virtual-content"):""].concat(o(u(t.contentClassName)))})),S=(0,n.resolveDirective)("bkVirtualRender"),j={lineHeight:t.lineHeight,handleScrollCallback:v,pagination:d,throttleDelay:t.throttleDelay},A=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{left:0,top:0},t=e.left,o=e.top;f.value.scrollTo(t,o)};return l.expose({reset:function(){y(),b()},scrollTo:A}),function(){var o,r,s,u,c,p,d,v,y,h,m,g;return(0,n.h)(i||"div",{ref:f,class:H.value,style:I.value},[null!==(s=null===(r=(o=l.slots).beforeContent)||void 0===r?void 0:r.call(o))&&void 0!==s?s:"",(0,n.withDirectives)((0,n.h)(a||"div",{class:O.value,style:Object.assign(Object.assign({},x.value),t.contentStyle)},[null!==(p=null===(c=(u=l.slots).default)||void 0===c?void 0:c.call(u,{data:P.value}))&&void 0!==p?p:""]),[[S,j]]),null!==(y=null===(v=(d=l.slots).afterContent)||void 0===v?void 0:v.call(d))&&void 0!==y?y:"",(0,n.h)("div",{class:[(0,e.resolveClassName)("virtual-section")],style:C.value}),null!==(g=null===(m=(h=l.slots).afterSection)||void 0===m?void 0:m.call(h))&&void 0!==g?g:""])}}}),y=(0,e.withInstall)(v)})(),s})()));
@@ -178,4 +178,4 @@ export declare const virtualRenderProps: {
178
178
  default: boolean;
179
179
  };
180
180
  };
181
- export declare type VirtualRenderProps = Readonly<ExtractPropTypes<typeof virtualRenderProps>>;
181
+ export type VirtualRenderProps = Readonly<ExtractPropTypes<typeof virtualRenderProps>>;
@@ -1,3 +1,9 @@
1
+ /**
2
+ * @file virtual-render
3
+ *
4
+ * Copyright © 2012-2019 Tencent BlueKing. All Rights Reserved. 蓝鲸智云 版权所有
5
+ */
6
+ import { SlotsType } from 'vue';
1
7
  declare const _default: import("vue").DefineComponent<{
2
8
  onContentScroll: FunctionConstructor;
3
9
  list: import("vue-types").VueTypeValidableDef<unknown[]> & {
@@ -122,7 +128,7 @@ declare const _default: import("vue").DefineComponent<{
122
128
  };
123
129
  }, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
124
130
  [key: string]: any;
125
- }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, "content-scroll", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
131
+ }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, string[], string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
126
132
  onContentScroll: FunctionConstructor;
127
133
  list: import("vue-types").VueTypeValidableDef<unknown[]> & {
128
134
  default: () => unknown[];
@@ -244,7 +250,9 @@ declare const _default: import("vue").DefineComponent<{
244
250
  } & {
245
251
  default: boolean;
246
252
  };
247
- }>>, {
253
+ }>> & {
254
+ [x: `on${Capitalize<string>}`]: (...args: any[]) => any;
255
+ }, {
248
256
  width: string | number;
249
257
  height: string | number;
250
258
  enabled: boolean;
@@ -273,5 +281,10 @@ declare const _default: import("vue").DefineComponent<{
273
281
  throttleDelay: number;
274
282
  rowKey: string;
275
283
  keepAlive: boolean;
276
- }>;
284
+ }, SlotsType<{
285
+ default?: any;
286
+ beforeContent?: any;
287
+ afterContent?: any;
288
+ afterSection?: any;
289
+ }>>;
277
290
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bkui-vue",
3
- "version": "0.0.1-beta.464",
3
+ "version": "0.0.1-beta.466",
4
4
  "workspaces": {
5
5
  "packages": [
6
6
  "packages/!(**.bak)*",
@@ -38,45 +38,46 @@
38
38
  "cz": "git-cz"
39
39
  },
40
40
  "devDependencies": {
41
- "@babel/core": "~7.17.9",
42
- "@babel/plugin-transform-runtime": "~7.17.0",
43
- "@babel/preset-env": "~7.16.11",
44
- "@babel/preset-typescript": "~7.16.7",
41
+ "@babel/core": "~7.22.9",
42
+ "@babel/plugin-transform-runtime": "~7.22.9",
43
+ "@babel/preset-env": "~7.22.9",
44
+ "@babel/preset-typescript": "~7.22.5",
45
45
  "@blueking/magicbox-header": "~1.1.60",
46
46
  "@commitlint/cli": "~16.2.3",
47
47
  "@commitlint/config-conventional": "~16.2.1",
48
- "@types/jest": "~27.4.1",
49
- "@types/lodash": "~4.14.194",
50
- "@types/node": "~17.0.23",
48
+ "@types/jest": "~29.5.3",
49
+ "@types/lodash": "~4.14.196",
50
+ "@types/node": "~20.4.5",
51
51
  "@types/postcss-less": "~4.0.2",
52
52
  "@typescript-eslint/eslint-plugin": "~5.19.0",
53
53
  "@typescript-eslint/parser": "~5.19.0",
54
54
  "@vitejs/plugin-vue": "~4.2.3",
55
55
  "@vitejs/plugin-vue-jsx": "~3.0.1",
56
- "@vue/babel-plugin-jsx": "~1.1.1",
56
+ "@vue/babel-plugin-jsx": "~1.1.5",
57
57
  "@vue/eslint-config-standard": "~6.1.0",
58
58
  "@vue/eslint-config-typescript": "~10.0.0",
59
- "@vue/test-utils": "~2.1.0",
60
- "@vue/vue3-jest": "~29.1.1",
61
- "babel-jest": "~27.5.1",
59
+ "@vue/test-utils": "~2.4.1",
60
+ "@vue/vue3-jest": "~29.2.4",
61
+ "babel-jest": "~29.6.2",
62
62
  "clipboard": "~2.0.8",
63
- "commitizen": "~4.2.4",
63
+ "commitizen": "~4.3.0",
64
64
  "conventional-changelog-cli": "~2.2.2",
65
65
  "cross-env": "~7.0.3",
66
- "css-loader": "~6.7.1",
66
+ "css-loader": "~6.8.1",
67
67
  "cz-lerna-changelog": "~2.0.3",
68
- "eslint": "~8.13.0",
68
+ "eslint": "~8.46.0",
69
69
  "eslint-config-tencent": "~1.0.4",
70
- "eslint-plugin-codecc": "~0.1.0",
71
- "eslint-plugin-import": "~2.26.0",
70
+ "eslint-plugin-codecc": "~0.2.0",
71
+ "eslint-plugin-import": "~2.28.0",
72
72
  "eslint-plugin-node": "~11.1.0",
73
73
  "eslint-plugin-prettier": "~4.0.0",
74
- "eslint-plugin-promise": "~6.0.0",
74
+ "eslint-plugin-promise": "~6.1.1",
75
75
  "eslint-plugin-simple-import-sort": "~7.0.0",
76
76
  "eslint-plugin-vue": "~8.6.0",
77
- "highlight.js": "~11.5.1",
77
+ "highlight.js": "~11.8.0",
78
78
  "husky": "~7.0.1",
79
- "jest": "~27.5.1",
79
+ "jest": "~29.6.2",
80
+ "jest-environment-jsdom": "~29.6.2",
80
81
  "jest-transform-stub": "~2.0.0",
81
82
  "lerna": "~4.0.0",
82
83
  "less-loader": "~10.2.0",
@@ -84,27 +85,27 @@
84
85
  "markdown-it-container": "~3.0.0",
85
86
  "normalize-wheel": "~1.0.1",
86
87
  "npm-run-all": "~4.1.5",
87
- "plop": "~3.0.5",
88
- "postcss": "~8.4.12",
89
- "postcss-html": "~1.4.1",
88
+ "plop": "~3.1.2",
89
+ "postcss": "~8.4.27",
90
+ "postcss-html": "~1.5.0",
90
91
  "postcss-less": "~6.0.0",
91
92
  "prettier": "~2.6.2",
92
- "prismjs": "~1.27.0",
93
+ "prismjs": "~1.29.0",
93
94
  "resize-observer-polyfill": "~1.5.1",
94
- "rimraf": "~3.0.2",
95
+ "rimraf": "~5.0.1",
95
96
  "stylelint": "~14.6.1",
96
- "stylelint-config-recommended-vue": "~1.4.0",
97
+ "stylelint-config-recommended-vue": "~1.5.0",
97
98
  "stylelint-order": "~5.0.0",
98
99
  "stylelint-scss": "~4.2.0",
99
- "ts-jest": "~27.1.4",
100
- "ts-node": "~10.7.0",
101
- "typescript": "~4.6.3",
102
- "vite": "~4.4.6",
103
- "vite-plugin-md": "~0.12.4",
104
- "vue": "^3.2.0",
100
+ "ts-jest": "~29.1.1",
101
+ "ts-node": "~10.9.1",
102
+ "typescript": "~4.9.5",
103
+ "vite": "~4.4.7",
104
+ "vite-plugin-vue-markdown": "~0.23.7",
105
+ "vue": "~3.3.4",
105
106
  "vue-eslint-parser": "~8.3.0",
106
107
  "vue-i18n": "~9.2.2",
107
- "vue-router": "~4.0.14",
108
+ "vue-router": "~4.2.4",
108
109
  "vue-types": "~4.1.1"
109
110
  },
110
111
  "peerDependencies": {
@@ -137,13 +138,13 @@
137
138
  }
138
139
  },
139
140
  "dependencies": {
140
- "@floating-ui/dom": "~0.5.2",
141
- "@popperjs/core": "~2.11.5",
142
- "date-fns": "~2.28.0",
141
+ "@floating-ui/dom": "~1.5.0",
142
+ "@popperjs/core": "~2.11.8",
143
+ "date-fns": "~2.30.0",
143
144
  "js-calendar": "~1.2.3",
144
145
  "json-formatter-js": "~2.3.4",
145
146
  "lodash": "~4.17.21",
146
- "tinycolor2": "~1.4.1",
147
+ "tinycolor2": "~1.6.0",
147
148
  "vue-types": "~4.1.1"
148
149
  }
149
150
  }