uview-ultra 4.5.46

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 (1015) hide show
  1. package/LICENSE +20 -0
  2. package/README.md +76 -0
  3. package/changelog.md +1421 -0
  4. package/components/up-action-sheet/actionSheet.js +26 -0
  5. package/components/up-action-sheet/actionSheet.uts +36 -0
  6. package/components/up-action-sheet/props.js +62 -0
  7. package/components/up-action-sheet/props.uts +66 -0
  8. package/components/up-action-sheet/types.uts +86 -0
  9. package/components/up-action-sheet/up-action-sheet.uvue +390 -0
  10. package/components/up-action-sheet/up-action-sheet.vue +348 -0
  11. package/components/up-action-sheet-data/up-action-sheet-data.uvue +112 -0
  12. package/components/up-action-sheet-data/up-action-sheet-data.vue +109 -0
  13. package/components/up-agreement/up-agreement.uvue +80 -0
  14. package/components/up-agreement/up-agreement.vue +91 -0
  15. package/components/up-album/album.js +28 -0
  16. package/components/up-album/album.uts +28 -0
  17. package/components/up-album/props.js +93 -0
  18. package/components/up-album/props.uts +84 -0
  19. package/components/up-album/up-album.uvue +377 -0
  20. package/components/up-album/up-album.vue +261 -0
  21. package/components/up-alert/alert.js +22 -0
  22. package/components/up-alert/alert.uts +22 -0
  23. package/components/up-alert/props.js +46 -0
  24. package/components/up-alert/props.uts +48 -0
  25. package/components/up-alert/up-alert.uvue +286 -0
  26. package/components/up-alert/up-alert.vue +231 -0
  27. package/components/up-avatar/avatar.js +28 -0
  28. package/components/up-avatar/avatar.uts +28 -0
  29. package/components/up-avatar/props.js +82 -0
  30. package/components/up-avatar/props.uts +82 -0
  31. package/components/up-avatar/up-avatar.uvue +242 -0
  32. package/components/up-avatar/up-avatar.vue +168 -0
  33. package/components/up-avatar-group/avatarGroup.js +23 -0
  34. package/components/up-avatar-group/avatarGroup.uts +23 -0
  35. package/components/up-avatar-group/props.js +54 -0
  36. package/components/up-avatar-group/props.uts +55 -0
  37. package/components/up-avatar-group/up-avatar-group.uvue +160 -0
  38. package/components/up-avatar-group/up-avatar-group.vue +109 -0
  39. package/components/up-back-top/backtop.js +27 -0
  40. package/components/up-back-top/backtop.uts +27 -0
  41. package/components/up-back-top/props.js +56 -0
  42. package/components/up-back-top/props.uts +57 -0
  43. package/components/up-back-top/up-back-top.uvue +161 -0
  44. package/components/up-back-top/up-back-top.vue +141 -0
  45. package/components/up-badge/badge.js +27 -0
  46. package/components/up-badge/badge.uts +27 -0
  47. package/components/up-badge/props.js +79 -0
  48. package/components/up-badge/props.uts +89 -0
  49. package/components/up-badge/up-badge.uvue +266 -0
  50. package/components/up-badge/up-badge.vue +157 -0
  51. package/components/up-barcode/up-barcode.uvue +818 -0
  52. package/components/up-barcode/up-barcode.vue +902 -0
  53. package/components/up-box/box.js +24 -0
  54. package/components/up-box/box.uts +24 -0
  55. package/components/up-box/props.js +57 -0
  56. package/components/up-box/props.uts +58 -0
  57. package/components/up-box/up-box.uvue +143 -0
  58. package/components/up-box/up-box.vue +104 -0
  59. package/components/up-button/button.js +42 -0
  60. package/components/up-button/button.uts +42 -0
  61. package/components/up-button/nvue.scss +46 -0
  62. package/components/up-button/props.js +155 -0
  63. package/components/up-button/props.uts +164 -0
  64. package/components/up-button/up-button.uvue +611 -0
  65. package/components/up-button/up-button.vue +456 -0
  66. package/components/up-button/vue.scss +85 -0
  67. package/components/up-calendar/calendar.js +75 -0
  68. package/components/up-calendar/calendar.uts +61 -0
  69. package/components/up-calendar/header.uvue +233 -0
  70. package/components/up-calendar/header.vue +239 -0
  71. package/components/up-calendar/month.uvue +565 -0
  72. package/components/up-calendar/month.vue +709 -0
  73. package/components/up-calendar/props.js +262 -0
  74. package/components/up-calendar/props.uts +244 -0
  75. package/components/up-calendar/types.uts +18 -0
  76. package/components/up-calendar/up-calendar.uvue +829 -0
  77. package/components/up-calendar/up-calendar.vue +922 -0
  78. package/components/up-calendar/util.js +86 -0
  79. package/components/up-calendar/util.uts +93 -0
  80. package/components/up-calendar-strip/calendarStrip.js +36 -0
  81. package/components/up-calendar-strip/props.js +70 -0
  82. package/components/up-calendar-strip/up-calendar-strip.vue +515 -0
  83. package/components/up-canvas/up-canvas.uvue +508 -0
  84. package/components/up-canvas/up-canvas.vue +655 -0
  85. package/components/up-car-keyboard/carKeyboard.js +15 -0
  86. package/components/up-car-keyboard/carKeyboard.uts +16 -0
  87. package/components/up-car-keyboard/props.js +17 -0
  88. package/components/up-car-keyboard/props.uts +27 -0
  89. package/components/up-car-keyboard/up-car-keyboard.uvue +369 -0
  90. package/components/up-car-keyboard/up-car-keyboard.vue +357 -0
  91. package/components/up-card/card.uts +58 -0
  92. package/components/up-card/props.js +140 -0
  93. package/components/up-card/props.uts +150 -0
  94. package/components/up-card/up-card.uvue +308 -0
  95. package/components/up-card/up-card.vue +188 -0
  96. package/components/up-cascader/up-cascader.uvue +427 -0
  97. package/components/up-cascader/up-cascader.vue +331 -0
  98. package/components/up-cate-tab/up-cate-tab.uvue +426 -0
  99. package/components/up-cate-tab/up-cate-tab.vue +374 -0
  100. package/components/up-cell/cell.js +35 -0
  101. package/components/up-cell/cell.uts +35 -0
  102. package/components/up-cell/props.js +113 -0
  103. package/components/up-cell/props.uts +108 -0
  104. package/components/up-cell/up-cell.uvue +336 -0
  105. package/components/up-cell/up-cell.vue +266 -0
  106. package/components/up-cell-group/cellGroup.js +16 -0
  107. package/components/up-cell-group/cellGroup.uts +16 -0
  108. package/components/up-cell-group/props.js +16 -0
  109. package/components/up-cell-group/props.uts +26 -0
  110. package/components/up-cell-group/up-cell-group.uvue +70 -0
  111. package/components/up-cell-group/up-cell-group.vue +72 -0
  112. package/components/up-checkbox/checkbox.js +27 -0
  113. package/components/up-checkbox/checkbox.uts +27 -0
  114. package/components/up-checkbox/props.js +76 -0
  115. package/components/up-checkbox/props.uts +77 -0
  116. package/components/up-checkbox/up-checkbox.uvue +533 -0
  117. package/components/up-checkbox/up-checkbox.vue +409 -0
  118. package/components/up-checkbox-group/checkboxGroup.js +29 -0
  119. package/components/up-checkbox-group/checkboxGroup.uts +29 -0
  120. package/components/up-checkbox-group/props.js +93 -0
  121. package/components/up-checkbox-group/props.uts +84 -0
  122. package/components/up-checkbox-group/up-checkbox-group.uvue +211 -0
  123. package/components/up-checkbox-group/up-checkbox-group.vue +185 -0
  124. package/components/up-choose/up-choose.uvue +130 -0
  125. package/components/up-choose/up-choose.vue +117 -0
  126. package/components/up-circle-progress/circleProgress.js +15 -0
  127. package/components/up-circle-progress/props.js +10 -0
  128. package/components/up-circle-progress/up-circle-progress.vue +187 -0
  129. package/components/up-city-locate/up-city-locate.uvue +188 -0
  130. package/components/up-city-locate/up-city-locate.vue +162 -0
  131. package/components/up-code/code.js +21 -0
  132. package/components/up-code/code.uts +20 -0
  133. package/components/up-code/props.js +36 -0
  134. package/components/up-code/props.uts +47 -0
  135. package/components/up-code/up-code.uvue +184 -0
  136. package/components/up-code/up-code.vue +117 -0
  137. package/components/up-code-input/codeInput.js +29 -0
  138. package/components/up-code-input/codeInput.uts +29 -0
  139. package/components/up-code-input/props.js +90 -0
  140. package/components/up-code-input/props.uts +83 -0
  141. package/components/up-code-input/up-code-input.uvue +365 -0
  142. package/components/up-code-input/up-code-input.vue +269 -0
  143. package/components/up-col/col.js +19 -0
  144. package/components/up-col/col.uts +19 -0
  145. package/components/up-col/props.js +32 -0
  146. package/components/up-col/props.uts +41 -0
  147. package/components/up-col/up-col.uvue +215 -0
  148. package/components/up-col/up-col.vue +160 -0
  149. package/components/up-collapse/collapse.js +17 -0
  150. package/components/up-collapse/collapse.uts +17 -0
  151. package/components/up-collapse/props.js +21 -0
  152. package/components/up-collapse/props.uts +23 -0
  153. package/components/up-collapse/up-collapse.uvue +133 -0
  154. package/components/up-collapse/up-collapse.vue +116 -0
  155. package/components/up-collapse-item/collapseItem.js +26 -0
  156. package/components/up-collapse-item/collapseItem.uts +26 -0
  157. package/components/up-collapse-item/props.js +66 -0
  158. package/components/up-collapse-item/props.uts +69 -0
  159. package/components/up-collapse-item/up-collapse-item.uvue +294 -0
  160. package/components/up-collapse-item/up-collapse-item.vue +279 -0
  161. package/components/up-color-picker/up-color-picker.uvue +1045 -0
  162. package/components/up-color-picker/up-color-picker.vue +1081 -0
  163. package/components/up-column-notice/columnNotice.js +24 -0
  164. package/components/up-column-notice/columnNotice.uts +24 -0
  165. package/components/up-column-notice/props.js +57 -0
  166. package/components/up-column-notice/props.uts +59 -0
  167. package/components/up-column-notice/up-column-notice.uvue +198 -0
  168. package/components/up-column-notice/up-column-notice.vue +162 -0
  169. package/components/up-copy/up-copy.uvue +77 -0
  170. package/components/up-copy/up-copy.vue +75 -0
  171. package/components/up-count-down/countDown.js +18 -0
  172. package/components/up-count-down/countDown.uts +18 -0
  173. package/components/up-count-down/props.js +26 -0
  174. package/components/up-count-down/props.uts +37 -0
  175. package/components/up-count-down/up-count-down.uvue +198 -0
  176. package/components/up-count-down/up-count-down.vue +186 -0
  177. package/components/up-count-down/utils.js +62 -0
  178. package/components/up-count-down/utils.uts +67 -0
  179. package/components/up-count-to/countTo.js +25 -0
  180. package/components/up-count-to/countTo.uts +25 -0
  181. package/components/up-count-to/props.js +61 -0
  182. package/components/up-count-to/props.uts +72 -0
  183. package/components/up-count-to/up-count-to.uvue +309 -0
  184. package/components/up-count-to/up-count-to.vue +209 -0
  185. package/components/up-coupon/up-coupon.uvue +346 -0
  186. package/components/up-coupon/up-coupon.vue +415 -0
  187. package/components/up-cropper/up-cropper.uvue +899 -0
  188. package/components/up-cropper/up-cropper.vue +1392 -0
  189. package/components/up-datetime-picker/datetimePicker.js +40 -0
  190. package/components/up-datetime-picker/datetimePicker.uts +45 -0
  191. package/components/up-datetime-picker/dayjs.esm.min.js +7 -0
  192. package/components/up-datetime-picker/props.js +165 -0
  193. package/components/up-datetime-picker/props.uts +169 -0
  194. package/components/up-datetime-picker/up-datetime-picker.uvue +960 -0
  195. package/components/up-datetime-picker/up-datetime-picker.vue +765 -0
  196. package/components/up-divider/divider.js +23 -0
  197. package/components/up-divider/divider.uts +22 -0
  198. package/components/up-divider/props.js +46 -0
  199. package/components/up-divider/props.uts +57 -0
  200. package/components/up-divider/up-divider.uvue +151 -0
  201. package/components/up-divider/up-divider.vue +112 -0
  202. package/components/up-dragsort/up-dragsort.uvue +821 -0
  203. package/components/up-dragsort/up-dragsort.vue +410 -0
  204. package/components/up-dropdown/dropdown.uts +25 -0
  205. package/components/up-dropdown/props.js +61 -0
  206. package/components/up-dropdown/props.uts +72 -0
  207. package/components/up-dropdown/types.uts +5 -0
  208. package/components/up-dropdown/up-dropdown.uvue +366 -0
  209. package/components/up-dropdown/up-dropdown.vue +297 -0
  210. package/components/up-dropdown-item/dropdown-item.uts +25 -0
  211. package/components/up-dropdown-item/props.js +47 -0
  212. package/components/up-dropdown-item/props.uts +56 -0
  213. package/components/up-dropdown-item/up-dropdown-item.uvue +196 -0
  214. package/components/up-dropdown-item/up-dropdown-item.vue +123 -0
  215. package/components/up-empty/empty.js +26 -0
  216. package/components/up-empty/empty.uts +24 -0
  217. package/components/up-empty/props.js +61 -0
  218. package/components/up-empty/props.uts +71 -0
  219. package/components/up-empty/up-empty.uvue +193 -0
  220. package/components/up-empty/up-empty.vue +116 -0
  221. package/components/up-flex/flex.js +10 -0
  222. package/components/up-flex/flex.uts +10 -0
  223. package/components/up-flex/props.js +12 -0
  224. package/components/up-flex/props.uts +13 -0
  225. package/components/up-flex/up-flex.uvue +71 -0
  226. package/components/up-flex/up-flex.vue +62 -0
  227. package/components/up-float-button/up-float-button.uvue +194 -0
  228. package/components/up-float-button/up-float-button.vue +160 -0
  229. package/components/up-form/form.js +22 -0
  230. package/components/up-form/form.uts +22 -0
  231. package/components/up-form/props.js +47 -0
  232. package/components/up-form/props.uts +57 -0
  233. package/components/up-form/types.uts +18 -0
  234. package/components/up-form/up-form.uvue +480 -0
  235. package/components/up-form/up-form.vue +297 -0
  236. package/components/up-form-item/formItem.js +24 -0
  237. package/components/up-form-item/formItem.uts +24 -0
  238. package/components/up-form-item/props.js +55 -0
  239. package/components/up-form-item/props.uts +65 -0
  240. package/components/up-form-item/up-form-item.uvue +349 -0
  241. package/components/up-form-item/up-form-item.vue +276 -0
  242. package/components/up-gap/gap.js +19 -0
  243. package/components/up-gap/gap.uts +19 -0
  244. package/components/up-gap/props.js +27 -0
  245. package/components/up-gap/props.uts +36 -0
  246. package/components/up-gap/up-gap.uvue +53 -0
  247. package/components/up-gap/up-gap.vue +38 -0
  248. package/components/up-goods-sku/up-goods-sku.uvue +564 -0
  249. package/components/up-goods-sku/up-goods-sku.vue +436 -0
  250. package/components/up-grid/grid.js +17 -0
  251. package/components/up-grid/grid.uts +17 -0
  252. package/components/up-grid/props.js +29 -0
  253. package/components/up-grid/props.uts +37 -0
  254. package/components/up-grid/up-grid.uvue +161 -0
  255. package/components/up-grid/up-grid.vue +119 -0
  256. package/components/up-grid-item/gridItem.js +16 -0
  257. package/components/up-grid-item/gridItem.uts +16 -0
  258. package/components/up-grid-item/props.js +16 -0
  259. package/components/up-grid-item/props.uts +27 -0
  260. package/components/up-grid-item/up-grid-item.uvue +227 -0
  261. package/components/up-grid-item/up-grid-item.vue +244 -0
  262. package/components/up-guide/guide.js +16 -0
  263. package/components/up-guide/props.js +53 -0
  264. package/components/up-guide/up-guide.vue +274 -0
  265. package/components/up-icon/icon.js +36 -0
  266. package/components/up-icon/icon.uts +33 -0
  267. package/components/up-icon/icons.js +426 -0
  268. package/components/up-icon/icons.uts +222 -0
  269. package/components/up-icon/props.js +92 -0
  270. package/components/up-icon/props.uts +101 -0
  271. package/components/up-icon/up-icon.uvue +300 -0
  272. package/components/up-icon/up-icon.vue +259 -0
  273. package/components/up-icon/upicon.ttf +0 -0
  274. package/components/up-icon/util.js +212 -0
  275. package/components/up-image/image.js +30 -0
  276. package/components/up-image/image.uts +30 -0
  277. package/components/up-image/props.js +87 -0
  278. package/components/up-image/props.uts +88 -0
  279. package/components/up-image/up-image.uvue +254 -0
  280. package/components/up-image/up-image.vue +253 -0
  281. package/components/up-index-anchor/indexAnchor.js +19 -0
  282. package/components/up-index-anchor/indexAnchor.uts +19 -0
  283. package/components/up-index-anchor/props.js +31 -0
  284. package/components/up-index-anchor/props.uts +41 -0
  285. package/components/up-index-anchor/up-index-anchor.uvue +146 -0
  286. package/components/up-index-anchor/up-index-anchor.vue +124 -0
  287. package/components/up-index-item/indexItem.uts +15 -0
  288. package/components/up-index-item/props.js +8 -0
  289. package/components/up-index-item/props.uts +15 -0
  290. package/components/up-index-item/up-index-item.uvue +109 -0
  291. package/components/up-index-item/up-index-item.vue +105 -0
  292. package/components/up-index-list/indexList.js +21 -0
  293. package/components/up-index-list/indexList.uts +21 -0
  294. package/components/up-index-list/props.js +41 -0
  295. package/components/up-index-list/props.uts +51 -0
  296. package/components/up-index-list/up-index-list.uvue +594 -0
  297. package/components/up-index-list/up-index-list.vue +643 -0
  298. package/components/up-input/input.js +48 -0
  299. package/components/up-input/input.uts +49 -0
  300. package/components/up-input/props.js +198 -0
  301. package/components/up-input/props.uts +198 -0
  302. package/components/up-input/up-input.uvue +571 -0
  303. package/components/up-input/up-input.vue +441 -0
  304. package/components/up-keyboard/keyboard.js +30 -0
  305. package/components/up-keyboard/keyboard.uts +30 -0
  306. package/components/up-keyboard/props.js +86 -0
  307. package/components/up-keyboard/props.uts +97 -0
  308. package/components/up-keyboard/up-keyboard.uvue +253 -0
  309. package/components/up-keyboard/up-keyboard.vue +188 -0
  310. package/components/up-lazy-load/lazyLoad.uts +19 -0
  311. package/components/up-lazy-load/props.uts +74 -0
  312. package/components/up-lazy-load/up-lazy-load.uvue +340 -0
  313. package/components/up-lazy-load/up-lazy-load.vue +280 -0
  314. package/components/up-line/line.js +20 -0
  315. package/components/up-line/line.uts +20 -0
  316. package/components/up-line/props.js +36 -0
  317. package/components/up-line/props.uts +37 -0
  318. package/components/up-line/up-line.uvue +97 -0
  319. package/components/up-line/up-line.vue +61 -0
  320. package/components/up-line-progress/lineProgress.js +19 -0
  321. package/components/up-line-progress/lineProgress.uts +9 -0
  322. package/components/up-line-progress/props.js +30 -0
  323. package/components/up-line-progress/up-line-progress.uvue +165 -0
  324. package/components/up-line-progress/up-line-progress.vue +155 -0
  325. package/components/up-link/link.js +26 -0
  326. package/components/up-link/link.uts +23 -0
  327. package/components/up-link/props.js +41 -0
  328. package/components/up-link/props.uts +43 -0
  329. package/components/up-link/up-link.uvue +136 -0
  330. package/components/up-link/up-link.vue +75 -0
  331. package/components/up-list/list.js +28 -0
  332. package/components/up-list/list.uts +33 -0
  333. package/components/up-list/props.js +101 -0
  334. package/components/up-list/props.uts +111 -0
  335. package/components/up-list/up-list.uvue +255 -0
  336. package/components/up-list/up-list.vue +230 -0
  337. package/components/up-list-item/listItem.js +15 -0
  338. package/components/up-list-item/listItem.uts +15 -0
  339. package/components/up-list-item/props.js +11 -0
  340. package/components/up-list-item/props.uts +21 -0
  341. package/components/up-list-item/up-list-item.uvue +126 -0
  342. package/components/up-list-item/up-list-item.vue +155 -0
  343. package/components/up-loading-icon/loadingIcon.js +30 -0
  344. package/components/up-loading-icon/loadingIcon.uts +28 -0
  345. package/components/up-loading-icon/props.js +62 -0
  346. package/components/up-loading-icon/props.uts +71 -0
  347. package/components/up-loading-icon/up-loading-icon.uvue +439 -0
  348. package/components/up-loading-icon/up-loading-icon.vue +357 -0
  349. package/components/up-loading-page/loadingPage.js +24 -0
  350. package/components/up-loading-page/loadingPage.uts +24 -0
  351. package/components/up-loading-page/props.js +57 -0
  352. package/components/up-loading-page/props.uts +58 -0
  353. package/components/up-loading-page/up-loading-page.uvue +197 -0
  354. package/components/up-loading-page/up-loading-page.vue +109 -0
  355. package/components/up-loadmore/loadmore.js +32 -0
  356. package/components/up-loadmore/loadmore.uts +32 -0
  357. package/components/up-loadmore/props.js +96 -0
  358. package/components/up-loadmore/props.uts +107 -0
  359. package/components/up-loadmore/up-loadmore.uvue +247 -0
  360. package/components/up-loadmore/up-loadmore.vue +132 -0
  361. package/components/up-markdown/marked.esm.js +7 -0
  362. package/components/up-markdown/up-markdown.uvue +171 -0
  363. package/components/up-markdown/up-markdown.vue +289 -0
  364. package/components/up-message-input/up-message-input.uvue +113 -0
  365. package/components/up-message-input/up-message-input.vue +111 -0
  366. package/components/up-modal/modal.js +36 -0
  367. package/components/up-modal/modal.uts +36 -0
  368. package/components/up-modal/props.js +111 -0
  369. package/components/up-modal/props.uts +113 -0
  370. package/components/up-modal/up-modal.uvue +407 -0
  371. package/components/up-modal/up-modal.vue +268 -0
  372. package/components/up-navbar/navbar.js +33 -0
  373. package/components/up-navbar/navbar.uts +34 -0
  374. package/components/up-navbar/props.js +97 -0
  375. package/components/up-navbar/props.uts +98 -0
  376. package/components/up-navbar/theme-vars.scss +26 -0
  377. package/components/up-navbar/up-navbar.uvue +467 -0
  378. package/components/up-navbar/up-navbar.vue +316 -0
  379. package/components/up-navbar-mini/navbarMini.js +23 -0
  380. package/components/up-navbar-mini/navbarMini.uts +23 -0
  381. package/components/up-navbar-mini/props.js +51 -0
  382. package/components/up-navbar-mini/props.uts +53 -0
  383. package/components/up-navbar-mini/up-navbar-mini.uvue +184 -0
  384. package/components/up-navbar-mini/up-navbar-mini.vue +135 -0
  385. package/components/up-no-network/noNetwork.js +18 -0
  386. package/components/up-no-network/noNetwork.uts +18 -0
  387. package/components/up-no-network/props.js +21 -0
  388. package/components/up-no-network/props.uts +31 -0
  389. package/components/up-no-network/up-no-network.uvue +218 -0
  390. package/components/up-no-network/up-no-network.vue +231 -0
  391. package/components/up-notice-bar/noticeBar.js +27 -0
  392. package/components/up-notice-bar/noticeBar.uts +27 -0
  393. package/components/up-notice-bar/props.js +72 -0
  394. package/components/up-notice-bar/props.uts +74 -0
  395. package/components/up-notice-bar/theme-vars.scss +25 -0
  396. package/components/up-notice-bar/up-notice-bar.uvue +179 -0
  397. package/components/up-notice-bar/up-notice-bar.vue +110 -0
  398. package/components/up-notify/notify.js +22 -0
  399. package/components/up-notify/notify.uts +22 -0
  400. package/components/up-notify/props.js +51 -0
  401. package/components/up-notify/props.uts +56 -0
  402. package/components/up-notify/up-notify.uvue +327 -0
  403. package/components/up-notify/up-notify.vue +248 -0
  404. package/components/up-novel-reader/content-normalizer.js +80 -0
  405. package/components/up-novel-reader/content-normalizer.uts +112 -0
  406. package/components/up-novel-reader/layout-engine.js +222 -0
  407. package/components/up-novel-reader/layout-engine.uts +256 -0
  408. package/components/up-novel-reader/measure-adapter.js +69 -0
  409. package/components/up-novel-reader/measure-adapter.uts +56 -0
  410. package/components/up-novel-reader/novelReader.js +35 -0
  411. package/components/up-novel-reader/novelReader.uts +37 -0
  412. package/components/up-novel-reader/persistence.js +143 -0
  413. package/components/up-novel-reader/persistence.uts +137 -0
  414. package/components/up-novel-reader/props.js +97 -0
  415. package/components/up-novel-reader/props.uts +97 -0
  416. package/components/up-novel-reader/reader-catalog.uvue +92 -0
  417. package/components/up-novel-reader/reader-catalog.vue +202 -0
  418. package/components/up-novel-reader/reader-content.uvue +167 -0
  419. package/components/up-novel-reader/reader-content.vue +227 -0
  420. package/components/up-novel-reader/reader-core.js +158 -0
  421. package/components/up-novel-reader/reader-core.uts +175 -0
  422. package/components/up-novel-reader/reader-settings.uvue +136 -0
  423. package/components/up-novel-reader/reader-settings.vue +215 -0
  424. package/components/up-novel-reader/reader-toolbar.uvue +127 -0
  425. package/components/up-novel-reader/reader-toolbar.vue +303 -0
  426. package/components/up-novel-reader/theme-vars.scss +49 -0
  427. package/components/up-novel-reader/up-novel-reader.uvue +831 -0
  428. package/components/up-novel-reader/up-novel-reader.vue +760 -0
  429. package/components/up-number-box/numberBox.js +40 -0
  430. package/components/up-number-box/numberBox.uts +40 -0
  431. package/components/up-number-box/props.js +145 -0
  432. package/components/up-number-box/props.uts +148 -0
  433. package/components/up-number-box/up-number-box.uvue +630 -0
  434. package/components/up-number-box/up-number-box.vue +417 -0
  435. package/components/up-number-keyboard/numberKeyboard.js +17 -0
  436. package/components/up-number-keyboard/numberKeyboard.uts +17 -0
  437. package/components/up-number-keyboard/props.js +21 -0
  438. package/components/up-number-keyboard/props.uts +32 -0
  439. package/components/up-number-keyboard/up-number-keyboard.uvue +223 -0
  440. package/components/up-number-keyboard/up-number-keyboard.vue +234 -0
  441. package/components/up-overlay/overlay.js +18 -0
  442. package/components/up-overlay/overlay.uts +18 -0
  443. package/components/up-overlay/props.js +26 -0
  444. package/components/up-overlay/props.uts +28 -0
  445. package/components/up-overlay/up-overlay.uvue +96 -0
  446. package/components/up-overlay/up-overlay.vue +67 -0
  447. package/components/up-pagination/up-pagination.uvue +417 -0
  448. package/components/up-pagination/up-pagination.vue +283 -0
  449. package/components/up-parse/node/node.vue +599 -0
  450. package/components/up-parse/parse.js +22 -0
  451. package/components/up-parse/parser.js +1334 -0
  452. package/components/up-parse/props.js +48 -0
  453. package/components/up-parse/props.uts +68 -0
  454. package/components/up-parse/up-parse.uvue +561 -0
  455. package/components/up-parse/up-parse.vue +554 -0
  456. package/components/up-pdf-reader/props.js +19 -0
  457. package/components/up-pdf-reader/props.uts +19 -0
  458. package/components/up-pdf-reader/up-pdf-reader.uvue +83 -0
  459. package/components/up-pdf-reader/up-pdf-reader.vue +58 -0
  460. package/components/up-picker/picker.js +31 -0
  461. package/components/up-picker/picker.uts +31 -0
  462. package/components/up-picker/props.js +108 -0
  463. package/components/up-picker/props.uts +119 -0
  464. package/components/up-picker/up-picker.uvue +550 -0
  465. package/components/up-picker/up-picker.vue +336 -0
  466. package/components/up-picker-column/props.js +7 -0
  467. package/components/up-picker-column/props.uts +7 -0
  468. package/components/up-picker-column/up-picker-column.uvue +25 -0
  469. package/components/up-picker-column/up-picker-column.vue +36 -0
  470. package/components/up-picker-data/up-picker-data.uvue +149 -0
  471. package/components/up-picker-data/up-picker-data.vue +137 -0
  472. package/components/up-popover/props.js +59 -0
  473. package/components/up-popover/props.uts +58 -0
  474. package/components/up-popover/up-popover.uvue +161 -0
  475. package/components/up-popover/up-popover.vue +109 -0
  476. package/components/up-popup/popup.js +30 -0
  477. package/components/up-popup/popup.uts +29 -0
  478. package/components/up-popup/props.js +86 -0
  479. package/components/up-popup/props.uts +96 -0
  480. package/components/up-popup/up-popup.uvue +433 -0
  481. package/components/up-popup/up-popup.vue +378 -0
  482. package/components/up-poster/up-poster.uvue +944 -0
  483. package/components/up-poster/up-poster.vue +628 -0
  484. package/components/up-pull-refresh/up-pull-refresh.uvue +326 -0
  485. package/components/up-pull-refresh/up-pull-refresh.vue +319 -0
  486. package/components/up-qrcode/qrcode.js +1275 -0
  487. package/components/up-qrcode/qrcode.uts +480 -0
  488. package/components/up-qrcode/up-qrcode.uvue +502 -0
  489. package/components/up-qrcode/up-qrcode.vue +493 -0
  490. package/components/up-radio/props.js +71 -0
  491. package/components/up-radio/props.uts +81 -0
  492. package/components/up-radio/radio.js +27 -0
  493. package/components/up-radio/radio.uts +27 -0
  494. package/components/up-radio/up-radio.uvue +512 -0
  495. package/components/up-radio/up-radio.vue +382 -0
  496. package/components/up-radio-group/props.js +95 -0
  497. package/components/up-radio-group/props.uts +90 -0
  498. package/components/up-radio-group/radioGroup.js +30 -0
  499. package/components/up-radio-group/radioGroup.uts +30 -0
  500. package/components/up-radio-group/up-radio-group.uvue +211 -0
  501. package/components/up-radio-group/up-radio-group.vue +184 -0
  502. package/components/up-rate/props.js +80 -0
  503. package/components/up-rate/props.uts +82 -0
  504. package/components/up-rate/rate.js +26 -0
  505. package/components/up-rate/rate.uts +27 -0
  506. package/components/up-rate/up-rate.uvue +484 -0
  507. package/components/up-rate/up-rate.vue +367 -0
  508. package/components/up-read-more/props.js +63 -0
  509. package/components/up-read-more/props.uts +61 -0
  510. package/components/up-read-more/readMore.js +23 -0
  511. package/components/up-read-more/readMore.uts +23 -0
  512. package/components/up-read-more/up-read-more.uvue +252 -0
  513. package/components/up-read-more/up-read-more.vue +169 -0
  514. package/components/up-refresh-virtual-list/up-refresh-virtual-list.uvue +95 -0
  515. package/components/up-refresh-virtual-list/up-refresh-virtual-list.vue +100 -0
  516. package/components/up-root-toast-host/up-root-toast-host.vue +12 -0
  517. package/components/up-row/props.js +22 -0
  518. package/components/up-row/props.uts +31 -0
  519. package/components/up-row/row.js +17 -0
  520. package/components/up-row/row.uts +17 -0
  521. package/components/up-row/up-row.uvue +137 -0
  522. package/components/up-row/up-row.vue +104 -0
  523. package/components/up-row-notice/props.js +41 -0
  524. package/components/up-row-notice/props.uts +43 -0
  525. package/components/up-row-notice/rowNotice.js +21 -0
  526. package/components/up-row-notice/rowNotice.uts +21 -0
  527. package/components/up-row-notice/up-row-notice.uvue +310 -0
  528. package/components/up-row-notice/up-row-notice.vue +346 -0
  529. package/components/up-safe-bottom/props.js +7 -0
  530. package/components/up-safe-bottom/props.uts +6 -0
  531. package/components/up-safe-bottom/up-safe-bottom.uvue +60 -0
  532. package/components/up-safe-bottom/up-safe-bottom.vue +54 -0
  533. package/components/up-scroll-list/nvue.js +31 -0
  534. package/components/up-scroll-list/props.js +36 -0
  535. package/components/up-scroll-list/props.uts +38 -0
  536. package/components/up-scroll-list/scrollList.js +20 -0
  537. package/components/up-scroll-list/scrollList.uts +20 -0
  538. package/components/up-scroll-list/scrollWxs.wxs +50 -0
  539. package/components/up-scroll-list/up-scroll-list.uvue +262 -0
  540. package/components/up-scroll-list/up-scroll-list.vue +253 -0
  541. package/components/up-search/props.js +156 -0
  542. package/components/up-search/props.uts +152 -0
  543. package/components/up-search/search.js +41 -0
  544. package/components/up-search/search.uts +41 -0
  545. package/components/up-search/up-search.uvue +537 -0
  546. package/components/up-search/up-search.vue +347 -0
  547. package/components/up-section/section.js +16 -0
  548. package/components/up-section/section.uts +16 -0
  549. package/components/up-select/up-select.uvue +323 -0
  550. package/components/up-select/up-select.vue +239 -0
  551. package/components/up-short-video/up-short-video.uvue +659 -0
  552. package/components/up-short-video/up-short-video.vue +488 -0
  553. package/components/up-signature/up-signature.uvue +563 -0
  554. package/components/up-signature/up-signature.vue +534 -0
  555. package/components/up-skeleton/props.js +61 -0
  556. package/components/up-skeleton/props.uts +69 -0
  557. package/components/up-skeleton/skeleton.js +25 -0
  558. package/components/up-skeleton/skeleton.uts +22 -0
  559. package/components/up-skeleton/up-skeleton.uvue +279 -0
  560. package/components/up-skeleton/up-skeleton.vue +246 -0
  561. package/components/up-slider/props.js +95 -0
  562. package/components/up-slider/props.uts +102 -0
  563. package/components/up-slider/slider.js +28 -0
  564. package/components/up-slider/slider.uts +25 -0
  565. package/components/up-slider/up-slider.uvue +679 -0
  566. package/components/up-slider/up-slider.vue +524 -0
  567. package/components/up-status-bar/props.js +10 -0
  568. package/components/up-status-bar/props.uts +12 -0
  569. package/components/up-status-bar/statusBar.js +15 -0
  570. package/components/up-status-bar/statusBar.uts +15 -0
  571. package/components/up-status-bar/up-status-bar.uvue +52 -0
  572. package/components/up-status-bar/up-status-bar.vue +46 -0
  573. package/components/up-steps/props.js +41 -0
  574. package/components/up-steps/props.uts +43 -0
  575. package/components/up-steps/steps.js +21 -0
  576. package/components/up-steps/steps.uts +22 -0
  577. package/components/up-steps/up-steps.uvue +153 -0
  578. package/components/up-steps/up-steps.vue +118 -0
  579. package/components/up-steps-item/props.js +31 -0
  580. package/components/up-steps-item/props.uts +33 -0
  581. package/components/up-steps-item/stepsItem.js +18 -0
  582. package/components/up-steps-item/stepsItem.uts +18 -0
  583. package/components/up-steps-item/up-steps-item.uvue +448 -0
  584. package/components/up-steps-item/up-steps-item.vue +349 -0
  585. package/components/up-sticky/props.js +42 -0
  586. package/components/up-sticky/props.uts +52 -0
  587. package/components/up-sticky/sticky.js +20 -0
  588. package/components/up-sticky/sticky.uts +20 -0
  589. package/components/up-sticky/up-sticky.uvue +238 -0
  590. package/components/up-sticky/up-sticky.vue +220 -0
  591. package/components/up-subsection/props.js +66 -0
  592. package/components/up-subsection/props.uts +68 -0
  593. package/components/up-subsection/subsection.js +26 -0
  594. package/components/up-subsection/subsection.uts +26 -0
  595. package/components/up-subsection/theme-vars.scss +41 -0
  596. package/components/up-subsection/up-subsection.uvue +404 -0
  597. package/components/up-subsection/up-subsection.vue +327 -0
  598. package/components/up-swipe-action/props.js +16 -0
  599. package/components/up-swipe-action/props.uts +18 -0
  600. package/components/up-swipe-action/swipeAction.js +15 -0
  601. package/components/up-swipe-action/swipeAction.uts +16 -0
  602. package/components/up-swipe-action/up-swipe-action.uvue +105 -0
  603. package/components/up-swipe-action/up-swipe-action.vue +95 -0
  604. package/components/up-swipe-action-item/alipay.sjs +229 -0
  605. package/components/up-swipe-action-item/index.wxs +252 -0
  606. package/components/up-swipe-action-item/nvue.js +174 -0
  607. package/components/up-swipe-action-item/other.js +178 -0
  608. package/components/up-swipe-action-item/other.uts +176 -0
  609. package/components/up-swipe-action-item/props.js +52 -0
  610. package/components/up-swipe-action-item/props.uts +53 -0
  611. package/components/up-swipe-action-item/swipeActionItem.js +23 -0
  612. package/components/up-swipe-action-item/swipeActionItem.uts +24 -0
  613. package/components/up-swipe-action-item/types.uts +11 -0
  614. package/components/up-swipe-action-item/up-swipe-action-item.uvue +476 -0
  615. package/components/up-swipe-action-item/up-swipe-action-item.vue +752 -0
  616. package/components/up-swipe-action-item/wxs.js +15 -0
  617. package/components/up-swiper/props.js +132 -0
  618. package/components/up-swiper/props.uts +142 -0
  619. package/components/up-swiper/swiper.js +40 -0
  620. package/components/up-swiper/swiper.uts +39 -0
  621. package/components/up-swiper/up-swiper.uvue +455 -0
  622. package/components/up-swiper/up-swiper.vue +274 -0
  623. package/components/up-swiper-indicator/props.js +31 -0
  624. package/components/up-swiper-indicator/props.uts +41 -0
  625. package/components/up-swiper-indicator/swipterIndicator.js +19 -0
  626. package/components/up-swiper-indicator/swipterIndicator.uts +19 -0
  627. package/components/up-swiper-indicator/up-swiper-indicator.uvue +147 -0
  628. package/components/up-swiper-indicator/up-swiper-indicator.vue +112 -0
  629. package/components/up-switch/props.js +64 -0
  630. package/components/up-switch/props.uts +82 -0
  631. package/components/up-switch/switch.js +24 -0
  632. package/components/up-switch/switch.uts +27 -0
  633. package/components/up-switch/theme-vars.scss +41 -0
  634. package/components/up-switch/up-switch.uvue +257 -0
  635. package/components/up-switch/up-switch.vue +211 -0
  636. package/components/up-tabbar/props.js +57 -0
  637. package/components/up-tabbar/props.uts +66 -0
  638. package/components/up-tabbar/tabbar.js +24 -0
  639. package/components/up-tabbar/tabbar.uts +24 -0
  640. package/components/up-tabbar/up-tabbar.uvue +254 -0
  641. package/components/up-tabbar/up-tabbar.vue +208 -0
  642. package/components/up-tabbar-item/midButtonGeometry.js +23 -0
  643. package/components/up-tabbar-item/midButtonGeometry.uts +15 -0
  644. package/components/up-tabbar-item/props.js +71 -0
  645. package/components/up-tabbar-item/props.uts +81 -0
  646. package/components/up-tabbar-item/tabbarItem.js +27 -0
  647. package/components/up-tabbar-item/tabbarItem.uts +27 -0
  648. package/components/up-tabbar-item/up-tabbar-item.uvue +554 -0
  649. package/components/up-tabbar-item/up-tabbar-item.vue +428 -0
  650. package/components/up-table/props.js +7 -0
  651. package/components/up-table/props.uts +39 -0
  652. package/components/up-table/table.uts +21 -0
  653. package/components/up-table/up-table.uvue +128 -0
  654. package/components/up-table/up-table.vue +132 -0
  655. package/components/up-table2/tableRow.uvue +389 -0
  656. package/components/up-table2/tableRow.vue +329 -0
  657. package/components/up-table2/up-table2.uvue +1504 -0
  658. package/components/up-table2/up-table2.vue +911 -0
  659. package/components/up-tabs/props.js +76 -0
  660. package/components/up-tabs/props.uts +73 -0
  661. package/components/up-tabs/tabs.js +34 -0
  662. package/components/up-tabs/tabs.uts +35 -0
  663. package/components/up-tabs/types.uts +19 -0
  664. package/components/up-tabs/up-tabs.uvue +691 -0
  665. package/components/up-tabs/up-tabs.vue +561 -0
  666. package/components/up-tabs-item/props.js +7 -0
  667. package/components/up-tabs-item/props.uts +7 -0
  668. package/components/up-tabs-item/up-tabs-item.uvue +23 -0
  669. package/components/up-tabs-item/up-tabs-item.vue +34 -0
  670. package/components/up-tabs-pro/up-tabs-pro.uvue +242 -0
  671. package/components/up-tabs-pro/up-tabs-pro.vue +202 -0
  672. package/components/up-tag/props.js +91 -0
  673. package/components/up-tag/props.uts +100 -0
  674. package/components/up-tag/tag.js +30 -0
  675. package/components/up-tag/tag.uts +30 -0
  676. package/components/up-tag/theme-vars.scss +21 -0
  677. package/components/up-tag/up-tag.uvue +469 -0
  678. package/components/up-tag/up-tag.vue +377 -0
  679. package/components/up-td/props.js +7 -0
  680. package/components/up-td/props.uts +7 -0
  681. package/components/up-td/td.uts +19 -0
  682. package/components/up-td/up-td.uvue +124 -0
  683. package/components/up-td/up-td.vue +99 -0
  684. package/components/up-text/props.js +123 -0
  685. package/components/up-text/props.uts +159 -0
  686. package/components/up-text/text.js +40 -0
  687. package/components/up-text/text.uts +45 -0
  688. package/components/up-text/up-text.uvue +536 -0
  689. package/components/up-text/up-text.vue +365 -0
  690. package/components/up-text/value.js +87 -0
  691. package/components/up-textarea/props.js +132 -0
  692. package/components/up-textarea/props.uts +130 -0
  693. package/components/up-textarea/textarea.js +40 -0
  694. package/components/up-textarea/textarea.uts +40 -0
  695. package/components/up-textarea/up-textarea.uvue +440 -0
  696. package/components/up-textarea/up-textarea.vue +294 -0
  697. package/components/up-th/props.js +7 -0
  698. package/components/up-th/props.uts +7 -0
  699. package/components/up-th/th.uts +16 -0
  700. package/components/up-th/up-th.uvue +93 -0
  701. package/components/up-th/up-th.vue +69 -0
  702. package/components/up-title/up-title.uvue +27 -0
  703. package/components/up-title/up-title.vue +38 -0
  704. package/components/up-toast/toast.js +30 -0
  705. package/components/up-toast/toast.uts +29 -0
  706. package/components/up-toast/up-toast.uvue +390 -0
  707. package/components/up-toast/up-toast.vue +354 -0
  708. package/components/up-toolbar/props.js +41 -0
  709. package/components/up-toolbar/props.uts +43 -0
  710. package/components/up-toolbar/toolbar.js +21 -0
  711. package/components/up-toolbar/toolbar.uts +20 -0
  712. package/components/up-toolbar/up-toolbar.uvue +162 -0
  713. package/components/up-toolbar/up-toolbar.vue +131 -0
  714. package/components/up-tooltip/props.js +61 -0
  715. package/components/up-tooltip/props.uts +69 -0
  716. package/components/up-tooltip/tooltip.js +25 -0
  717. package/components/up-tooltip/up-tooltip.uvue +514 -0
  718. package/components/up-tooltip/up-tooltip.vue +325 -0
  719. package/components/up-tr/props.js +7 -0
  720. package/components/up-tr/props.uts +7 -0
  721. package/components/up-tr/up-tr.uvue +19 -0
  722. package/components/up-tr/up-tr.vue +37 -0
  723. package/components/up-transition/nvue-ani-map.js +75 -0
  724. package/components/up-transition/props.js +27 -0
  725. package/components/up-transition/props.uts +36 -0
  726. package/components/up-transition/transition.js +18 -0
  727. package/components/up-transition/transition.uts +18 -0
  728. package/components/up-transition/transitionMixin.js +164 -0
  729. package/components/up-transition/up-transition.uvue +182 -0
  730. package/components/up-transition/up-transition.vue +280 -0
  731. package/components/up-transition/vue.ani-style.scss +113 -0
  732. package/components/up-tree/tree-node.uvue +185 -0
  733. package/components/up-tree/tree-node.vue +141 -0
  734. package/components/up-tree/up-tree.uvue +825 -0
  735. package/components/up-tree/up-tree.vue +604 -0
  736. package/components/up-upload/mixin.js +23 -0
  737. package/components/up-upload/mixin.uts +24 -0
  738. package/components/up-upload/props.js +176 -0
  739. package/components/up-upload/props.uts +176 -0
  740. package/components/up-upload/types.uts +38 -0
  741. package/components/up-upload/up-upload.uvue +1131 -0
  742. package/components/up-upload/up-upload.vue +930 -0
  743. package/components/up-upload/upload.js +46 -0
  744. package/components/up-upload/upload.uts +46 -0
  745. package/components/up-upload/utils.js +183 -0
  746. package/components/up-upload/utils.uts +213 -0
  747. package/components/up-video/danmaku.js +96 -0
  748. package/components/up-video/danmaku.uts +106 -0
  749. package/components/up-video/props.js +200 -0
  750. package/components/up-video/types.uts +48 -0
  751. package/components/up-video/up-video.uvue +1451 -0
  752. package/components/up-video/up-video.vue +1349 -0
  753. package/components/up-video/video-danmaku.uvue +296 -0
  754. package/components/up-video/video-danmaku.vue +264 -0
  755. package/components/up-video/video-slider.uvue +210 -0
  756. package/components/up-video/video-slider.vue +201 -0
  757. package/components/up-video/video-utils.js +105 -0
  758. package/components/up-video/video-utils.uts +127 -0
  759. package/components/up-video/video.js +77 -0
  760. package/components/up-video/video.uts +78 -0
  761. package/components/up-view/up-view.uvue +93 -0
  762. package/components/up-view/up-view.vue +95 -0
  763. package/components/up-virtual-list/up-virtual-list.uvue +265 -0
  764. package/components/up-virtual-list/up-virtual-list.vue +241 -0
  765. package/components/up-waterfall/props.uts +49 -0
  766. package/components/up-waterfall/up-waterfall.uvue +456 -0
  767. package/components/up-waterfall/up-waterfall.vue +444 -0
  768. package/components/up-waterfall/waterfall.uts +20 -0
  769. package/index.js +344 -0
  770. package/index.scss +28 -0
  771. package/index.uts +91 -0
  772. package/libs/composable/useFuncIndex.uts +873 -0
  773. package/libs/composable/useUltraUI.js +201 -0
  774. package/libs/composable/useUltraUI.uts +184 -0
  775. package/libs/config/color.js +19 -0
  776. package/libs/config/color.uts +17 -0
  777. package/libs/config/config.js +48 -0
  778. package/libs/config/config.uts +33 -0
  779. package/libs/config/props.js +210 -0
  780. package/libs/config/props.uts +6 -0
  781. package/libs/config/zIndex.js +20 -0
  782. package/libs/config/zIndex.uts +20 -0
  783. package/libs/css/color.scss +311 -0
  784. package/libs/css/common.scss +121 -0
  785. package/libs/css/components.scss +37 -0
  786. package/libs/css/flex.scss +368 -0
  787. package/libs/css/h5.scss +0 -0
  788. package/libs/css/mixin.scss +8 -0
  789. package/libs/css/mp.scss +0 -0
  790. package/libs/css/nvue.scss +0 -0
  791. package/libs/css/theme-legacy-bridge.scss +6 -0
  792. package/libs/css/theme-vars-core.scss +201 -0
  793. package/libs/css/theme-vars.scss +1 -0
  794. package/libs/css/vue.scss +35 -0
  795. package/libs/function/calc.js +70 -0
  796. package/libs/function/colorGradient.js +134 -0
  797. package/libs/function/colorGradient.uts +316 -0
  798. package/libs/function/debounce.js +29 -0
  799. package/libs/function/debounce.uts +33 -0
  800. package/libs/function/digit.js +167 -0
  801. package/libs/function/digit.uts +182 -0
  802. package/libs/function/index.js +853 -0
  803. package/libs/function/index.uts +852 -0
  804. package/libs/function/platform.js +75 -0
  805. package/libs/function/platform.uts +75 -0
  806. package/libs/function/test.js +332 -0
  807. package/libs/function/test.uts +337 -0
  808. package/libs/function/throttle.js +34 -0
  809. package/libs/function/throttle.uts +36 -0
  810. package/libs/i18n/index.js +88 -0
  811. package/libs/i18n/index.uts +141 -0
  812. package/libs/i18n/locale-packs.js +11 -0
  813. package/libs/i18n/locale-packs.uts +11 -0
  814. package/libs/i18n/locales/all.js +23 -0
  815. package/libs/i18n/locales/all.uts +23 -0
  816. package/libs/i18n/locales/de.js +99 -0
  817. package/libs/i18n/locales/de.uts +99 -0
  818. package/libs/i18n/locales/en.js +99 -0
  819. package/libs/i18n/locales/en.uts +99 -0
  820. package/libs/i18n/locales/es.js +99 -0
  821. package/libs/i18n/locales/es.uts +99 -0
  822. package/libs/i18n/locales/fr.js +99 -0
  823. package/libs/i18n/locales/fr.uts +99 -0
  824. package/libs/i18n/locales/ja.js +99 -0
  825. package/libs/i18n/locales/ja.uts +99 -0
  826. package/libs/i18n/locales/ko.js +99 -0
  827. package/libs/i18n/locales/ko.uts +99 -0
  828. package/libs/i18n/locales/ru.js +99 -0
  829. package/libs/i18n/locales/ru.uts +99 -0
  830. package/libs/i18n/locales/th.js +99 -0
  831. package/libs/i18n/locales/th.uts +99 -0
  832. package/libs/i18n/locales/zh-Hans.js +99 -0
  833. package/libs/i18n/locales/zh-Hans.uts +99 -0
  834. package/libs/i18n/locales/zh-Hant.js +99 -0
  835. package/libs/i18n/locales/zh-Hant.uts +99 -0
  836. package/libs/luch-request/adapters/index.js +97 -0
  837. package/libs/luch-request/adapters/index.uts +114 -0
  838. package/libs/luch-request/core/InterceptorManager.js +50 -0
  839. package/libs/luch-request/core/InterceptorManager.uts +41 -0
  840. package/libs/luch-request/core/Request.js +198 -0
  841. package/libs/luch-request/core/Request.uts +134 -0
  842. package/libs/luch-request/core/buildFullPath.js +20 -0
  843. package/libs/luch-request/core/buildFullPath.uts +20 -0
  844. package/libs/luch-request/core/defaults.js +29 -0
  845. package/libs/luch-request/core/defaults.uts +30 -0
  846. package/libs/luch-request/core/dispatchRequest.js +3 -0
  847. package/libs/luch-request/core/dispatchRequest.uts +89 -0
  848. package/libs/luch-request/core/mergeConfig.js +103 -0
  849. package/libs/luch-request/core/mergeConfig.uts +115 -0
  850. package/libs/luch-request/core/settle.js +16 -0
  851. package/libs/luch-request/core/settle.uts +32 -0
  852. package/libs/luch-request/helpers/buildURL.js +69 -0
  853. package/libs/luch-request/helpers/buildURL.uts +64 -0
  854. package/libs/luch-request/helpers/combineURLs.js +14 -0
  855. package/libs/luch-request/helpers/combineURLs.uts +14 -0
  856. package/libs/luch-request/helpers/isAbsoluteURL.js +14 -0
  857. package/libs/luch-request/helpers/isAbsoluteURL.uts +14 -0
  858. package/libs/luch-request/index.d.ts +116 -0
  859. package/libs/luch-request/index.js +3 -0
  860. package/libs/luch-request/index.uts +3 -0
  861. package/libs/luch-request/utils/clone.js +264 -0
  862. package/libs/luch-request/utils/clone.uts +38 -0
  863. package/libs/luch-request/utils.js +131 -0
  864. package/libs/luch-request/utils.uts +66 -0
  865. package/libs/marked-uts/LICENSE +21 -0
  866. package/libs/marked-uts/common/Hooks.uts +71 -0
  867. package/libs/marked-uts/common/Instance.uts +273 -0
  868. package/libs/marked-uts/common/Lexer.uts +1083 -0
  869. package/libs/marked-uts/common/Parser.uts +367 -0
  870. package/libs/marked-uts/common/Renderer.uts +244 -0
  871. package/libs/marked-uts/common/TextRenderer.uts +74 -0
  872. package/libs/marked-uts/common/Tokenizer.uts +1122 -0
  873. package/libs/marked-uts/common/defaults.uts +25 -0
  874. package/libs/marked-uts/common/helpers.uts +165 -0
  875. package/libs/marked-uts/common/marked.uts +8 -0
  876. package/libs/marked-uts/common/rules.uts +603 -0
  877. package/libs/marked-uts/package.json +102 -0
  878. package/libs/marked-uts/readme.md +159 -0
  879. package/libs/marked-uts/utssdk/Hooks.interface.uts +34 -0
  880. package/libs/marked-uts/utssdk/Lexer.interface.uts +51 -0
  881. package/libs/marked-uts/utssdk/Marked.interface.uts +35 -0
  882. package/libs/marked-uts/utssdk/MarkedOptions.interface.uts +155 -0
  883. package/libs/marked-uts/utssdk/Parser.interface.uts +20 -0
  884. package/libs/marked-uts/utssdk/Renderer.interface.uts +34 -0
  885. package/libs/marked-uts/utssdk/Rules.interface.uts +296 -0
  886. package/libs/marked-uts/utssdk/TextRenderer.interface.uts +14 -0
  887. package/libs/marked-uts/utssdk/Tokenizer.interface.uts +38 -0
  888. package/libs/marked-uts/utssdk/Tokens.interface.uts +312 -0
  889. package/libs/marked-uts/utssdk/app-android/config.json +3 -0
  890. package/libs/marked-uts/utssdk/app-android/index.uts +23 -0
  891. package/libs/marked-uts/utssdk/app-android/libs/JSReg3.jar +0 -0
  892. package/libs/marked-uts/utssdk/app-harmony/index.uts +2 -0
  893. package/libs/marked-uts/utssdk/app-ios/config.json +3 -0
  894. package/libs/marked-uts/utssdk/app-ios/index.uts +85 -0
  895. package/libs/marked-uts/utssdk/app-js/index.uts +2 -0
  896. package/libs/marked-uts/utssdk/interface.uts +933 -0
  897. package/libs/marked-uts/utssdk/mp-weixin/index.uts +2 -0
  898. package/libs/marked-uts/utssdk/unierror.uts +39 -0
  899. package/libs/marked-uts/utssdk/web/index.uts +2 -0
  900. package/libs/root/LICENSE +21 -0
  901. package/libs/root/root-toast-host.vue +31 -0
  902. package/libs/root/runtime.js +11 -0
  903. package/libs/theme/runtime.js +440 -0
  904. package/libs/theme/theme.js +681 -0
  905. package/libs/util/async-validator.js +1343 -0
  906. package/libs/util/async-validator.uts +412 -0
  907. package/libs/util/calendar.js +546 -0
  908. package/libs/util/calendar.uts +546 -0
  909. package/libs/util/emitter.js +51 -0
  910. package/libs/util/route.js +124 -0
  911. package/libs/util/route.uts +130 -0
  912. package/libs/vite/app-icon-font.js +95 -0
  913. package/libs/vite/index.js +50 -0
  914. package/libs/vite/utils.js +48 -0
  915. package/libs/vue.js +3 -0
  916. package/libs/vue.uts +8 -0
  917. package/package.json +113 -0
  918. package/theme.scss +116 -0
  919. package/types/common.uts +14 -0
  920. package/types/comps/_common.d.ts +9 -0
  921. package/types/comps/actionSheet.d.ts +125 -0
  922. package/types/comps/album.d.ts +91 -0
  923. package/types/comps/alert.d.ts +55 -0
  924. package/types/comps/avatar.d.ts +85 -0
  925. package/types/comps/avatarGroup.d.ts +62 -0
  926. package/types/comps/backTop.d.ts +74 -0
  927. package/types/comps/badge.d.ts +76 -0
  928. package/types/comps/button.d.ts +169 -0
  929. package/types/comps/calendar.d.ts +271 -0
  930. package/types/comps/calendarStrip.d.ts +115 -0
  931. package/types/comps/cell.d.ts +133 -0
  932. package/types/comps/cellGroup.d.ts +27 -0
  933. package/types/comps/checkbox.d.ts +81 -0
  934. package/types/comps/checkboxGroup.d.ts +93 -0
  935. package/types/comps/code.d.ts +69 -0
  936. package/types/comps/codeInput.d.ts +98 -0
  937. package/types/comps/col.d.ts +43 -0
  938. package/types/comps/collapse.d.ts +52 -0
  939. package/types/comps/collapseItem.d.ts +83 -0
  940. package/types/comps/countDown.d.ts +60 -0
  941. package/types/comps/countTo.d.ts +88 -0
  942. package/types/comps/datetimePicker.d.ts +178 -0
  943. package/types/comps/divider.d.ts +58 -0
  944. package/types/comps/empty.d.ts +72 -0
  945. package/types/comps/form.d.ts +102 -0
  946. package/types/comps/formItem.d.ts +68 -0
  947. package/types/comps/gap.d.ts +35 -0
  948. package/types/comps/grid.d.ts +34 -0
  949. package/types/comps/gridItem.d.ts +28 -0
  950. package/types/comps/guide.d.ts +45 -0
  951. package/types/comps/icon.d.ts +98 -0
  952. package/types/comps/image.d.ts +119 -0
  953. package/types/comps/indexAnchor.d.ts +38 -0
  954. package/types/comps/indexItem.d.ts +18 -0
  955. package/types/comps/indexList.d.ts +39 -0
  956. package/types/comps/input.d.ts +234 -0
  957. package/types/comps/keyboard.d.ts +129 -0
  958. package/types/comps/line.d.ts +44 -0
  959. package/types/comps/lineProgress.d.ts +51 -0
  960. package/types/comps/link.d.ts +51 -0
  961. package/types/comps/list.d.ts +92 -0
  962. package/types/comps/listItem.d.ts +18 -0
  963. package/types/comps/loadMore.d.ts +108 -0
  964. package/types/comps/loadingIcon.d.ts +68 -0
  965. package/types/comps/loadingPage.d.ts +58 -0
  966. package/types/comps/modal.d.ts +115 -0
  967. package/types/comps/navbar.d.ts +113 -0
  968. package/types/comps/navbarMini.d.ts +78 -0
  969. package/types/comps/noNetwork.d.ts +40 -0
  970. package/types/comps/noticeBar.d.ts +85 -0
  971. package/types/comps/notify.d.ts +73 -0
  972. package/types/comps/novelReader.d.ts +103 -0
  973. package/types/comps/numberBox.d.ts +219 -0
  974. package/types/comps/overlay.d.ts +46 -0
  975. package/types/comps/pagination.d.ts +96 -0
  976. package/types/comps/parse.d.ts +101 -0
  977. package/types/comps/picker.d.ts +119 -0
  978. package/types/comps/popup.d.ts +107 -0
  979. package/types/comps/radio.d.ts +81 -0
  980. package/types/comps/radioGroup.d.ts +97 -0
  981. package/types/comps/rate.d.ts +85 -0
  982. package/types/comps/readMore.d.ts +80 -0
  983. package/types/comps/rootToastHost.d.ts +3 -0
  984. package/types/comps/row.d.ts +34 -0
  985. package/types/comps/safeBottom.d.ts +16 -0
  986. package/types/comps/scrollList.d.ts +51 -0
  987. package/types/comps/search.d.ts +167 -0
  988. package/types/comps/skeleton.d.ts +70 -0
  989. package/types/comps/slider.d.ts +79 -0
  990. package/types/comps/statusBar.d.ts +22 -0
  991. package/types/comps/steps.d.ts +48 -0
  992. package/types/comps/stepsItem.d.ts +41 -0
  993. package/types/comps/sticky.d.ts +48 -0
  994. package/types/comps/subsection.d.ts +79 -0
  995. package/types/comps/swipeAction.d.ts +24 -0
  996. package/types/comps/swipeActionItem.d.ts +71 -0
  997. package/types/comps/swiper.d.ts +147 -0
  998. package/types/comps/swiperIndicator.d.ts +37 -0
  999. package/types/comps/switch.d.ts +73 -0
  1000. package/types/comps/tabbar.d.ts +54 -0
  1001. package/types/comps/tabbarItem.d.ts +78 -0
  1002. package/types/comps/tabs.d.ts +91 -0
  1003. package/types/comps/tabsPro.d.ts +64 -0
  1004. package/types/comps/tag.d.ts +93 -0
  1005. package/types/comps/text.d.ts +115 -0
  1006. package/types/comps/textarea.d.ts +163 -0
  1007. package/types/comps/toast.d.ts +59 -0
  1008. package/types/comps/tooltip.d.ts +71 -0
  1009. package/types/comps/transition.d.ts +61 -0
  1010. package/types/comps/upload.d.ts +163 -0
  1011. package/types/comps/video.d.ts +170 -0
  1012. package/types/comps.d.ts +120 -0
  1013. package/types/index.d.ts +374 -0
  1014. package/types/index.uts +11 -0
  1015. package/types/package.json +26 -0
package/changelog.md ADDED
@@ -0,0 +1,1421 @@
1
+ ## 4.5.46
2
+ fix: 修复 uni-app Vue3(.js/.vue)侧无法编译与运行的 12 处问题,并补全 168 处导入扩展名
3
+
4
+ uview-ultra 是双实现:`.uts`/`.uvue` 走 uni-app x 编译链,`.js`/`.vue` 走 uni-app Vue3 编译链。此前只有 uni-app x 工程,`.js`/`.vue` 那一套从未进入任何编译链,缺陷只能等用户反馈。本次搭了独立的 uni-app Vue3 工程做全量编译门禁与 126 个示例页逐页运行时验证,并修掉暴露出的问题。
5
+
6
+ Vue3 侧编译期问题:
7
+ - `libs/config/props.js`:补回 `registerComponentProps()`。3.x 有这个 API,4.x 移植时漏了,而 `up-calendar-strip` / `up-guide` 的 `props.js` 都在 import 它,构建报 `does not provide an export named 'registerComponentProps'`
8
+ - `up-grid/props.js`:`crtProp` 未声明(漏了 `const crtProp = defProps.grid`)
9
+ - `up-action-sheet.vue` / `up-text.vue`:`defineProps` 里展开了局部 const `buttonProps`,而 defineProps 的参数会被 hoist 到 setup 之外,编译器直接拒绝,改为内联进字面量
10
+ - `up-parse.vue`:`defineOptions` 里 `, components:` 与 `#ifdef MP-WEIXIN` 的 `options` 块共用同一个逗号,非小程序平台裁掉 options 后变成双逗号,编译报 `Unexpected token`
11
+ - `libs/function/index.js`:补 `getDeviceInfo()` 与 `upGetRect()`。`.vue` 侧一直在 import,`.js` 侧却没有实现,构建报 `not exported by`
12
+ - `up-album/props.js`:`defProps` 被换成了本地 `album.js`,`defProps.image` 为 undefined,读 `.shape` 直接抛。改回 `registerComponentProps(AlbumDefaultProps)`,与 3.x 一致
13
+ - `index.js`:去掉 `export default` 里未定义的 `UpNoNetwork`(`index.uts` 与 3.x 都不导出它,运行期直接报 `UpNoNetwork is not defined`);H5 分支不再 glob `./components/up-*/up-*.uvue`,Vue3 编译器不认识 uvue 语法
14
+
15
+ Vue3 侧运行期问题:
16
+ - `up-tabbar.vue`:`children` 里可能混进非 `tabbar-item` 的实例,调用 `updateFromParent` 前加 `typeof` 判断(`up-steps.vue` 本来就有这个防御)
17
+ - `up-list-item.vue`:`children` 是父级 `up-list` 共用的,里面会混进 `up-cell`,取 `lastChild.rect` 前判空,并按 uvue 侧语义补 `?? 0`
18
+ - `up-qrcode.vue`:`Object.assign(Object.create(componentProxy), ...)` 会走 `[[Set]]` 命中 Vue 组件实例代理的 set 陷阱并抛 `'set' on proxy: trap returned falsish`,改用 `Object.defineProperties`
19
+ - `up-poster.vue`:`rpx2px` 全库不存在,改用 `uni.upx2px`
20
+
21
+ 影响面最大的一类是导入解析:uni-app 的 `resolve.extensions` 是 `['.uts', '.mjs', '.js', ...]`,`.uts` 排在第一位,而且非 uni-app x 构建也是这个顺序(见 `@dcloudio/uni-cli-shared` 的 `COMMON_EXTENSIONS`)。凡是「同名 `.js` 与 `.uts` 并存、导入又省略扩展名」的地方,在 Vue3 工程里都会解析到 `.uts`,被 esbuild 当 UTS 解析而失败;目录导入(如 `libs/i18n`)会解析到 `index.uts`,运行期直接报 `UTSJSONObject is not defined`。本次给 `.js`/`.vue` 里 168 处相对导入补全了显式 `.js` 扩展名,涉及 96 个文件。
22
+
23
+ 验证方式:新增独立的 uni-app Vue3 工程(`ly-ultra-ui/uview-ultra-uni-app`),六段门禁——示例页漂移 / 导入解析 / SFC 全量编译 / no-undef / 模块加载冒烟 / 真实 `uni build`(H5),全绿;126 个示例页 Playwright 逐页运行时冒烟全部通过。
24
+
25
+ ## 4.5.45
26
+ feat: 新增 up-video 视频播放器,并适配 uni-app-x 蒸汽模式(HBuilderX 5.26)
27
+
28
+ HBuilderX 5.26 起 uni-app-x 进入蒸汽模式(vapor),运行期与编译器均有变化:不再支持 \p{...} Unicode 属性转义、scroll-view 移除 scroll-x/scroll-y/enable-flex,部分运行期 API 与 UTS 注解处理方式也发生改变。本次一并修复由此暴露的组件缺陷,并对齐 uview-plus 3.8.127 / 3.8.128 的上游修复。
29
+
30
+ 新增:
31
+ - up-video(对齐 uview-plus u-video):自绘控制层的播放器,支持倍速、音量、封面、锁屏、返回、全屏
32
+ - video-danmaku 弹幕层:归一化、时间游标二分查找、轨道分配,支持滚动 / 顶部 / 底部三种模式
33
+ - video-slider:进度与音量共用的拖动条;配套选集面板、贴片广告(前置 / 暂停 / 后置)与暂停贴片
34
+ - 注册进 props 配置、10 种语言 i18n、types/comps/video.d.ts;新增示例页 pages/componentsD/video
35
+ - 说明:uni-app-x 的 video 为原生组件无法承载子节点,控制层改用同级绝对定位覆盖层;进全屏请走原生全屏按钮
36
+
37
+ 蒸汽模式(vapor)适配与缺陷修复:
38
+ - marked-uts:\p{P}\p{S} 等 Unicode 属性转义改为等价 ASCII 字面量字符类(设备 JS 引擎不支持会直接 SyntaxError 白屏),并保留 u 标志
39
+ - marked-uts/Tokenizer:@Suppress 注解补 #ifndef VUE3-VAPOR 守卫,修复 Suppress is not defined
40
+ - 组件模板不再遮蔽全局 $up(index.uts 注册的 UPUtils 实例):移除 import * as $up,改为直接调用 addUnit / addStyle / getPx
41
+ - up-loading-icon:删除触发 vue.useVaporCssVars 的死代码 $radius: v-bind(size)px,修复按钮页等打开即报错
42
+ - scroll-view:迁移到新版 direction(scroll-x/scroll-y/enable-flex 已移除),涉及 up-table2 / up-list / up-choose / up-cascader / up-cate-tab / up-calendar / up-action-sheet / up-goods-sku / up-virtual-list / up-pull-refresh / up-novel-reader / up-dragsort / up-dropdown-item 等;表格列固定随之恢复生效
43
+ - up-checkbox:disabled / labelDisabled 同时识别布尔与字符串,修复 <up-checkbox disabled> 禁用无效
44
+ - up-row / up-gap / up-card / up-dropdown-item:默认值取值函数与配置类型不匹配(对字符串配置用 getNumber/getBoolean)导致 null,已修正并补显式默认值
45
+ - up-button:textSize 已含 px 又拼接一次导致字号异常(约 11px → 14px)
46
+ - up-dropdown-item:scroll-view 被误写为 view 且带 scroll-y="false",已改回 <scroll-view direction="vertical">
47
+ - up-dropdown-item / up-grid-item / useUltraUI:跨组件读取 $data['children'] 在新版下为 undefined,改用父组件暴露的 $callMethod('getChildren')
48
+ - up-textarea:placeholder-style 统一传字符串、新增 cursor 数字计算(-1 表示不指定),修复原生类型校验告警与 ClassCastException
49
+ - up-tabbar:内联样式不再拼接 !important(新版不支持),修复 border-*-color 非法值
50
+ - up-short-video:传给 up-slider 的 innerStyle 改为 UTSJSONObject,修复 prop 类型校验告警
51
+ - libs/function/test.uts:修正 date() 判断反转(数字时间戳被误判非法),修复 up-text 日期模式误报
52
+ - up-novel-reader:readPersistedState 对空串 / 非法 JSON 加保护,避免 JSON.parse 抛原生异常
53
+ - up-dropdown / up-lazy-load:修正 translate3D / transition3d 拼写
54
+
55
+ 对齐 uview-plus 3.8.127 / 3.8.128:
56
+ - up-slider:点击轨道时不再丢弃 updateValue 返回值,直接触发 change;补 sliderRect 宽度为 0 的兜底
57
+ - up-datetime-picker:空值不再被夹取成 minDate / minHour:minMinute,外部清空后输入框保持为空;confirm 时先按各列当前显示值取真值;getBoundary / updateIndexs 补空值兜底,避免 Invalid Date 产生 NaN
58
+ - up-car-keyboard:补「警」字(省份切分 30~37);up-car-keyboard / up-number-keyboard 退格键改为 tap 单删 + touchstart 600ms 长按递推,短按不再连删,PC 端浏览器无 touch 时也可删除
59
+ - up-parse:parser.js 支持 quill 的 align-left / align-right / justify class
60
+ - up-calendar:onScroll 在各月份 top 未测量出来时不再把副标题钉到最后一个月;scrollIntoDefaultMonth 同步更新 monthIndex
61
+ - up-collapse-item:init() 在父组件 value 为 null / undefined 时不再重置已展开状态;展开动画结束后把高度交还内容,避免异步变高的内容被裁切;快速连点只认最后一次动画回调
62
+ - up-cate-tab:leftMenuStatus 仅在选中项真正变化时同步 update:current,消除重复通知
63
+ - up-textarea:confirmType 默认改为 return(回车换行,与原生一致),新增 confirmHold 属性
64
+ - up-cell:必填星号改用真实 <text> 节点渲染(原 :before 伪元素在 nvue / 小程序下不显示且通栏布局会跑出屏幕);补上此前完全缺失的 required 属性;修正 aclass= 笔误
65
+ - up-upload:H5 下 chooseVideo 返回的真实 File 对象透传给 uni.uploadFile,修复部分 webview 读 blob: 得到空内容导致上传失败(#801)
66
+
67
+ 小程序相关修复:
68
+ - up-search:placeholder-class 改为非 scoped 样式块 + CSS 变量下发颜色,解决 scoped 类名匹配不到小程序内部 placeholder 节点的问题
69
+ - up-icon:字体加载失败后由定时器重试有限次数,不再立刻释放请求锁(#844)
70
+ - 解决 mp-weixin 编译挂死:up-pull-refresh / up-novel-reader 中 uni-app-x 不支持的 v-bind 改为显式属性传递
71
+
72
+ 示例与其它:
73
+ - 移除 90 个示例页根节点的 App 专用 scroll-view 包装层(蒸汽模式下页面本身可滚动,保留会触发嵌套滚动告警)
74
+ - 修复示例页中的 HTML / SVG 标签:empty 页 <div> 改 <view>,slider 页内联 <svg> 改用 up-icon
75
+ - types:新增 pagination.d.ts 并在 comps.d.ts 注册,补齐 numberBox / form 的类型与事件载荷
76
+
77
+ ## 4.5.44
78
+ fix: 修复 up-markdown 在 uni-app-x 4.72+(含蒸汽模式)Android 端编译报错,以及 up-signature 的 UTS 编译错误
79
+
80
+ marked-uts 为兼容旧版 uni-app-x Android 端的 JS 正则引入了原生模块 io.dcloud.uts.jsreg.JSReg,该模块在 uni-app-x 4.72+ 已移除,但相关 import 仅用 #ifdef APP-ANDROID 包裹、未按版本裁剪,导致新版编译时无法解析(Could not resolve "io.dcloud.uts.jsreg.JSReg"),markdown 解析为空、页面空白。同时 up-signature 的 uvue 实现存在 ref 先于使用声明、NodeInfo 坐标可空赋值两处 UTS 编译错误,导致 App-Android 端无法编译通过。
81
+
82
+ - marked-uts:Tokenizer.uts 删除未使用的 JSReg import;rules.uts 的 callJSReg import 与 utssdk/app-android/index.uts 的 JSReg import、callJSReg 定义统一补上 #ifdef uniVersion < 4.72 版本条件,4.72+ 走原生正则分支,旧版(< 4.72)行为保持不变
83
+ - up-signature:rectLeft / rectTop 两个 ref 移到 getTouchPoint 之前声明,修复 UTS “找不到名称 rectLeft/rectTop” 报错
84
+ - up-signature:rect.left / rect.top 为可空类型(Number?),改用 normalizeNumber 兜底赋值,修复与 Number 的类型不匹配
85
+ - 仅影响 App-Android,H5 / 小程序 / 鸿蒙 / uni-app-x 其它端不受影响
86
+
87
+ ## 4.5.43
88
+ feat: 新增 up-flex 弹性布局容器组件
89
+
90
+ 新增 up-flex 弹性布局容器,用于快速搭建 flex 布局,替代手写 display:flex 样式;同时提供 Vue 与 uvue(uni-app-x)两套实现,覆盖 App / H5 / 小程序 / 鸿蒙。
91
+
92
+ - 新增 up-flex 组件:通过 direction / justify / align / wrap / gap 属性控制主轴方向、主轴与交叉轴对齐、是否换行以及子元素间距
93
+ - justify 支持 start / end 简写,内部自动映射为 flex-start / flex-end,与 CSS 原生取值兼容
94
+ - gap 支持数字或字符串,非 0 时自动补单位;默认 direction=row、justify=flex-start、align=stretch、wrap=false、gap=0
95
+ - 提供默认插槽承载子元素,支持 click 事件与 customStyle 自定义样式
96
+ - 全部默认值集中在 libs/config/props.js,可通过全局配置统一覆盖
97
+
98
+ ## 4.5.42
99
+ fix: 修复签名组件在 App 端无法绘制、笔迹闪退,并补齐 up-canvas 画布能力
100
+
101
+ up-signature 在 App 端存在无法落笔、笔迹一闪即消失与落点偏移的问题;同时 up-canvas 相比 3.x 缺少画布就绪事件与禁止滚动属性,业务组件无法对齐使用。
102
+
103
+ - up-canvas 补齐 ready 事件:初始化完成后回调(携带宽高),与 3.x u-canvas 对齐,业务组件可在画布就绪后再响应绘制
104
+ - up-canvas 补齐 disable-scroll 属性并透传到 canvas 节点
105
+ - up-signature(Vue 与 uvue 两条实现)改为等待画布就绪后再接受绘制,修复上下文异步就绪时首笔丢失
106
+ - 修复笔迹画出后立即消失:touchMove 改为「增量线段」绘制(beginPath + moveTo 上一点 + lineTo 当前点 + stroke)并使用 draw(true) 保留已绘制内容,不再每次 draw(false) 清空命令队列
107
+ - 修复 App 端坐标错乱、笔迹落到画布外:触摸坐标减去画布位置换算到画布坐标系(Vue 端优先取画布相对坐标)
108
+ - 收尾不再 closePath,避免手写笔迹出现回连直线;撤销回放逻辑保持兼容
109
+ - 覆盖 APP-PLUS / APP-HARMONY / uni-app-x / NVUE,微信小程序与 H5 行为保持不变
110
+
111
+ ## 4.5.41
112
+ fix: App 端图标字体改用 static 本地字体,新增通用 Vite 插件入口 UpVite
113
+
114
+ up-icon 的 Vue 运行时(App-vue / App-nvue)一直通过 import iconFontUrl from './upicon.ttf?url' 加载字体。这条路径在 iOS App 端不生效——App 本地字体必须落在 uni-app 约定的 static 目录下,否则图标不显示。uview-plus 已经修正过同一个问题(?url 改为 static),uview-ultra 当时对齐的是修正前的版本,没有跟进。uvue 路径本身早已使用 /static/iconfont/iconfont.ttf,本次只调整 Vue 路径。
115
+
116
+ - 新增通用 Vite 插件入口 UpVite(uni_modules/uview-ultra/libs/vite/index.js)。App 构建时把 components/up-icon/upicon.ttf 复制到 static/app-plus/uview-ultra/,并兜底移除已编译进产物的远程 @font-face,避免本地字体与远程字体同时加载
117
+ - 本地图标字体是 UpVite 的第一个 feature,后续组件库新增构建期能力只需在插件内追加,业务项目不需要再改自己的 vite.config
118
+ - App / App-nvue 默认优先加载本地字体;App-Vue 在 uni.loadFontFace 失败后回退 config.iconUrl(每个页面只回退一次),App-nvue 因 dom.addRule 没有失败回调、注册前用 plus.io.resolveLocalFileSystemURL 探测字体文件
119
+ - up-icon.vue 的 App Vue 字体注册时机改到 onMounted:页面未挂载时取不到 getCurrentPages(),原先在 setup 时机注册会被直接跳过
120
+ - util.js 新增 App Vue 页面级加载状态并导出 isLoaded
121
+ - 新增 verify:app-local-icon-font 回归校验
122
+ - 未注册插件的项目会回退 config.iconUrl,行为与改造前等价,升级不会丢图标;不希望使用本地字体可传 UpVite({ appStaticIconFont: false })
123
+ - uvue / uni-app-x、H5、小程序均不受影响
124
+
125
+ ## 4.5.40
126
+ fix: 修复 up-row-notice 横向滚动空格丢失
127
+
128
+ - 修复文本按 20 个字符切分后,空格落在独立 text 节点首尾时被 nowrap 折叠的问题;Vue 与 UVue 两端均保留原文空白且不换行。
129
+ - 新增 verify:row-notice-space 回归校验,覆盖空格位于第二个 text 节点首部的边界场景。
130
+
131
+ ## 4.5.39
132
+ fix: 修复 up-button 零延迟节流锁死,补齐组件类型导出
133
+
134
+ - 修复 throttle(func, 0) 仍依赖异步定时器释放全局锁的问题:up-button 默认 throttleTime 为 0 时,真机首次点击后可能因定时器未释放而无法继续点击;现在零延迟节流直接同步执行回调,不再创建定时器。
135
+ - types/index.d.ts 的包入口声明修正为 uview-ultra,并从组件类型文件同步导出 129 个公开类型(Props、Slots、Ref 等),ref<FormRef>() 等类型可以直接从包名导入。
136
+ - types/comps.d.ts 的模板类型提示补齐 up-、u-、u-- 三种组件前缀,组件清单只维护一份,避免前缀提示漂移。
137
+ - 新增 verify:button-throttle 与 verify:types-barrel-exports 回归校验。
138
+
139
+ ## 4.5.38
140
+ fix: 修复 up-datetime-picker 的 format 属性不支持库自身 yyyy-mm-dd 写法 (#537)
141
+
142
+ issue #537 反馈 `<up-datetime-picker format="yyyy-mm-dd">` 选完日期后不按 format 显示。
143
+
144
+ 根因是 format 直接交给 dayjs 格式化。dayjs 的 token 是大写的 `YYYY-MM-DD`,而 uview-ultra 自己的 `timeFormat`(`$u.timeFormat`)用的是小写 `yyyy-mm-dd`(默认值就是 `'yyyy-mm-dd'`,`up-text` 的 format 也是同一套写法)。于是按库里的通用写法传 `'yyyy-mm-dd'` 时,dayjs 只认得其中的 `mm`(分钟) 与 `dd`(星期),输入框显示成 `'yyyy-00-Th'`,datetime 模式下是 `'yyyy-13-Su 09:04'`。Vue 与 UVue 两端同一成因。
145
+
146
+ - Vue/UVue `getInputValue` 中 format 出现小写 y 就按 timeFormat 的规则格式化,大写的 dayjs 写法保持原样
147
+ - Vue `correctValue` 用新增的 `parseDateValue` 统一解析绑定值成毫秒时间戳:number、纯数字字符串、'2024-10-24'、'2024/10/24 15:08:09'、Date 对象都能识别,仍然解析不出来才退回 minDate。此前用 `test.date(value)` 只认 10/13 位时间戳与 yyyy-mm-dd 形态的字符串,Date 对象与 12 位(2001 年前)毫秒时间戳会被判为非法并被替换成 minDate(默认当前年份-10),选择器停在十年前。UVue 版的 `correctValue` 本就自行解析,无此问题
148
+ - 补齐 `hasInput`、`placeholder`、`format` 的类型声明,此前三者在 `types/comps/datetimePicker.d.ts` 中缺失
149
+ - demo 页面新增 hasInput + format 示例,展示库自身的 yyyy-mm-dd hh:MM 写法
150
+ - 新增 `verify:datetime-picker-format` 回归校验:真实挂载组件断言两种 format 写法、字符串/时间戳/12 位时间戳绑定值、非法值回退与边界夹取,未修的代码上 format 用例全部失败
151
+
152
+ ## 4.5.37
153
+ fix: 修复 up-waterfall 在 App 切换 tabbar 后瀑布流有数据但不渲染
154
+
155
+ App 端从瀑布流页面切走 tabbar 再切回,列表数据已更新但页面空白或停留在旧内容,需杀进程重进才恢复。
156
+
157
+ 根因在 `useUltraUI` 的 `$uGetRect`:此前只在 `rect` 为真值时 `resolve`。页面被 tabbar 切走隐藏后节点已不参与布局,`boundingClientRect` 会回调 `null`,两个分支都不命中,Promise 永不 settle。`up-waterfall` 的 `getColumnHeights()` 在此永久挂起,`runDistributionQueue` 的 `finally` 无法执行,`distributionRunning` 永久为 `true`;切回页面后新数据只能入队,`if (!distributionRunning)` 挡住了消费者,于是数据在但列表不渲染。
158
+
159
+ - `$uGetRect` 对 `null` 查询结果兜底 `resolve` 零尺寸节点信息(`all` 时返回 `[]`),与卸载分支的既有约定一致。该修复对所有依赖节点测量的组件生效,不限于瀑布流
160
+ - `clear()` 与 `redistributeData()` 强制重置 `distributionRunning`、`distributionPromise`,使外部刷新、切换列数、清空数据都能重新解锁
161
+ - 新增 `runToken` 归属机制:锁被强制重置后由新循环接管,旧循环若从挂起中恢复只能安静退出,不会清掉接管者的运行状态,也不会与新循环同时写入 `columnList` 造成重复分配与错乱列高
162
+ - 分配循环的每个 await 点改用 `isStaleDistribution()` 同时校验 `generation` 与 `runToken`
163
+ - 新增 `verify:waterfall-lock-reset` 回归校验
164
+
165
+ ## 4.5.36
166
+ fix: 修复组件卸载后查询节点导致 APP 与鸿蒙端报错
167
+
168
+ 切换页面时 APP 与鸿蒙端会出现大面积 `Uncaught TypeError: Cannot read properties of undefined (reading '$') at uni-app-view.umd.js`,功能不受影响但日志被淹没,H5 端不出现。
169
+
170
+ 原因是组件卸载后仍在执行的异步回调继续发起节点查询:APP 端 service 层取的是已失效的 `$el.nodeId`,视图层按该 id 查映射表时,对应条目在元素移除时已被删除,读到 undefined 再取 `.$` 即抛错。H5 端直接取 `$el`,没有这层 nodeId 映射,因此不复现。
171
+
172
+ - `useUltraUI` 的 `$uGetRect` 与 `upCreateIntersectionObserver` 集中拦截,覆盖 26 个走 `$uGetRect` 的组件与 3 个交叉观察器组件,卸载后不再把组件交给原生查询
173
+ - 卸载后 `$uGetRect` 返回零尺寸节点信息、`upCreateIntersectionObserver` 返回空观察器,均保持原有调用形态,调用方无需改写
174
+ - 卸载标记由 `useUltraUI` 的 `onBeforeUnmount` 同步置位,早于 Vue 内部异步置位的 `isUnmounted`;未套用 `useUltraUI` 的组件退回 Vue 自身标记
175
+ - 守卫置于条件编译之外,确保 app-harmony 端同样生效
176
+ - 新增 `verify:unmounted-node-query` 回归校验,同时断言挂载期间必须正常发起查询、卸载后必须完全不发起,并逐平台校验守卫存在
177
+
178
+ 该问题在 tabs、sticky、subsection、waterfall、index-list 等所有依赖节点测量的组件上成因相同,本次为统一修复。
179
+
180
+ 本次仅修 Vue 端(classic uni-app)。uni-app x 原生端没有这层 nodeId 映射表,`.uvue` 变体不复现该报错,故不在范围内。
181
+
182
+ ## 4.5.35
183
+ optimize: up-select 遮罩默认可见但更浅
184
+
185
+ - `up-select`(Vue 与 UVue)`overlayOpacity` 默认值由 `0.01` 调整为 `0.15`:此前的 0.01 几乎不可见,用户无法察觉下拉已接管整页点击;0.15 明显浅于 `up-popup` 的 `0.5`,不会压暗页面
186
+ - 遮罩仍由 `up-overlay` 渲染,`overlay`、`overlayStyle`、`zIndex`、`duration` 语义不变;需要完全透明的场景显式传 `:overlay-opacity="0"`,需要更深传更大值
187
+ - 新增 verify:select-overlay-opacity 回归校验
188
+
189
+ ## 4.5.34
190
+ fix: 修复 up-tabbar 中间凸起按钮圆弧边框裁剪越界
191
+
192
+ - `up-tabbar` / `up-tabbar-item`(Vue 与 UVue)改按 tabbar 顶部和中间圆形按钮的实际位置计算边框裁剪高度,不再依赖固定文字/无文字基线
193
+ - 兼容有文字、无文字、`midButtonOffsetY` 自定义偏移及 `border` 开关,避免圆弧边框超出 tabbar 顶部或被错误截断
194
+
195
+ ## 4.5.33
196
+ feat: up-navbar 新增 iOS 大标题模式
197
+
198
+ 新增 `mode` 属性,`ios` 值提供现代 iOS 系统应用的导航栏体验:进入页面时导航栏背景透明、标题以 34px 左对齐显示;向下滚动时大标题被压缩进导航栏,标题过渡为常规居中形态并由下方浮现,同时背景淡入。
199
+
200
+ - 新增 `mode` 属性,可选 `default`(默认)与 `ios`,非法值按 `default` 处理
201
+ - 新增 `scrollTop` 属性接收页面滚动距离,需由页面 `onPageScroll` 传入;不传时停留在大标题展开态
202
+ - 大标题渲染在 in-flow 层靠原生滚动位移,不经过 JS,避免逐帧回传造成拖影
203
+ - 背景与居中标题的透明度曲线分段递进(0-0.5 与 0.75-1),确保任何滚动位置都不出现两段标题文字互相透出
204
+ - 居中标题在淡入的同时由下方 12px 上浮就位,带 0.15s 过渡补齐离散滚动事件之间的空隙
205
+ - 新增 `--up-navbar-glass-bg-color` 与 `--up-navbar-glass-blur` 主题变量
206
+ - UVue 与 Vue 两份实现同步,共用同一套属性与曲线参数
207
+
208
+ 平台差异:`backdrop-filter` 在 WebView 类端(Web、H5、微信小程序 iOS 等)生效,呈现真实毛玻璃。App 原生端(UVue)的支持情况取决于渲染器:若不生效,磨砂表现为 0.82 不透明底色。该不透明度本身即构成文字可读性下限,因此无论模糊是否生效都不会出现文字与下方内容读串。大标题压缩与居中标题上浮不依赖 `backdrop-filter`,两端均可工作。
209
+
210
+ 另修复 APP 端示例页缺失滚动容器的问题:APP 端页面根节点不会自动滚动,需显式包一层 `scroll-view`。navbarIos 示例页在 APP 端改从容器 `@scroll` 取 `e.detail.scrollTop`(`scroll-view` 内的滚动不触发页面级 `onPageScroll`),非 APP 端仍走 `onPageScroll`。同时为 gap、grid、code、color、countDown、countTo、switch、table、calendar、form、navbar、scrollList、text、datetimePicker 等内容超屏的示例页补上相同容器。
211
+
212
+ 已知边界:`ios` 模式下 `fixed` 与 `placeholder` 被忽略——固定层恒定固定,in-flow 层恒定渲染,因为该层承载的是大标题这一实际内容而非可选占位。`default` 模式的结构、样式与属性语义完全不变。
213
+
214
+ ## 4.5.32
215
+ fix: 修复小程序端使用交叉观察器组件时控制台报枚举实例键告警(uview-plus #864)
216
+
217
+ - 新增公共方法 `upCreateIntersectionObserver(comp, options)`:优先调用组件实例上的同名方法(内部已完成实例解包,不会把 Vue 代理外泄给原生 API),APP 端实例上没有该方法时回退到全局 API
218
+ - up-sticky、up-lazy-load、up-cate-tab(均为 Vue 版)改用该方法,小程序端不再输出 `Avoid app logic that relies on enumerating keys on a component instance` 告警
219
+ - up-sticky 的 thresholds 原样透传。不能改传 comp.$scope:APP 端页面的 $scope 仅为 `{ $getAppWebview }`,会被全局 API 误判成 options 参数,导致真实配置被静默丢弃
220
+ - up-parse/node 的观察器位于 `#ifdef H5 || APP-PLUS` 条件编译块内,不会编译进小程序,故保持不变;uni-app x(UVue)版本次未改动
221
+ - 新增 verify:up-create-intersection-observer 回归校验
222
+
223
+ ## 4.5.31(2026-08-20)
224
+ feat: up-cropper 支持裁剪业务侧已有的图片路径
225
+
226
+ - up-cropper(UVue/Vue)`chooseImage(index, params, data)` 新增 `params.imageSrc`:传入非空路径时直接裁剪该图片,不再打开系统选图;空值或非字符串仍保持原有选图行为
227
+ - up-cropper(Vue)抽取共享 `loadImage(path)`,系统选图与外部路径复用同一套图片信息读取、裁剪框初始化与绘制流程
228
+ - up-cropper(UVue)“重选”按钮固定回到系统选图,不会重复加载传入的 `imageSrc`
229
+ - 新增 up-cropper `imageSrc` 回归校验与「裁剪已有图片」示例
230
+
231
+ ## 4.5.30
232
+ fix/feat: up-popup 关闭事件补齐,新增 closed 事件
233
+
234
+ - up-popup(Vue/UVue)由外部直接将 show 置为 false 关闭时补发 close,此前仅点击遮罩或关闭图标才触发,v-model:show 控制弹窗的业务收不到关闭通知
235
+ - up-popup 新增 closed 事件,在离场动画结束、弹窗真正消失后触发;close 表示关闭动作发生(动画开始前),closed 表示已关闭完毕,需等弹窗消失后再跳转或重置数据的场景请监听 closed
236
+ - pageInline 模式不执行离场动画,closed 由 show 变化补发,保证内联渲染下同样可收到
237
+ - 内部关闭动作与外部改 show 之间做去重,任意关闭方式下 close 只发出一次
238
+ - closed 透传至 up-picker、up-action-sheet、up-keyboard、up-calendar、up-color-picker、up-goods-sku、up-datetime-picker、up-picker-data,Vue 与 uni-app x 双端一致;up-calendar 仅主体弹窗触发,关闭内部时间选择器不会误报
239
+ - 补充 onClosed 类型声明(popup / picker / datetimePicker / actionSheet / keyboard / calendar),新增 verify:popup-close-events 回归校验
240
+
241
+ ## 4.5.29
242
+ fix: 修复 HarmonyOS Canvas 绘制与跨端运行问题
243
+
244
+ - up-canvas(UVue/Vue)修复 HarmonyOS Canvas 上下文条件编译、首帧时序、DPR 坐标换算和 transparent 颜色解析,二维码恢复完整清晰绘制
245
+ - up-poster 预加载图片后按配置顺序统一绘制,恢复渐变背景、卡片、文字、商品图与二维码;补充中文换行兜底和画布初始化错误处理
246
+ - up-calendar 修复 H5 运行时 monthsItem 类型别名擦除导致的 ReferenceError
247
+ - up-novel-reader 修复 HarmonyOS 编译时 Regex 未定义
248
+ - up-barcode 补充画布上下文判空;新增 Harmony Canvas、Poster 和 Calendar 回归校验
249
+
250
+ ## 4.5.28
251
+ feat/fix: up-tabs 属性、事件与 up-tabs-pro
252
+
253
+ - up-tabs 的 click 事件在保留 item、index 参数的同时追加原始点击事件;新增 capsule、card、pill-arrow、tag 四种形态模式
254
+ - 新增 Vue 与 UniApp X 双端 up-tabs-pro,支持受控 current、作用域内容插槽以及 click、longPress、change 事件透传
255
+ - 修复 up-tabs 与 up-tabs-pro 在 UniApp X Android 端的 Number 转换、作用域插槽类型推断和样式对象类型兼容问题
256
+
257
+ ## 4.5.27
258
+ optimize/fix: up-novel-reader 工具栏悬浮 + luch-request UTS 版重写
259
+
260
+ - up-novel-reader(UVue):顶/底工具栏改为悬浮(position:absolute),正文区域始终占满全高,工具栏显隐不再挤压/改变正文布局
261
+ - luch-request UTS 版重写:修复其在 UniApp X(Android)端无法编译的问题,公开接口与 JS 版保持一致(config/response 为 UTSJSONObject,取值用 ['key']);去对象 spread / Object.prototype.toString.call / Object.keys(any) / fn.call,改用 UTSJSONObject 与 Array.isArray/instanceof/typeof;then/catch 回调参数与拦截器 fulfilled/rejected 放宽为 any|null;内联对象类型改具名 class
262
+ - uts 入口 index.uts 导出 Request 类与全局 http 实例(对齐 JS 入口);真机 7/7 纯函数用例通过、真实 GET 请求链路验证
263
+
264
+ ## 4.5.26
265
+ fix: 修复 DatetimePicker 动态边界,及 up-novel-reader 在 App(uni-app x)端的编译与样式问题
266
+
267
+ - up-datetime-picker(Vue/UVue):动态修改 minMinute/minHour 等边界值时保留当前已选值,仅按新边界重新校正并重建各列,不再回退到 modelValue;新增 change 去重,边界变化程序化重建列不再重复上抛 change;已选值超出新边界时自动夹取到合法范围并补发一次 change;UVue 端补全此前被注释、未接通的 modelValue/mode/边界值响应式
268
+ - up-novel-reader(UVue):修复此前无法通过 uni-app x(Android)编译的一系列问题——不支持的 CSS 值(vh/vw、color/border-radius:inherit、display:block、min-height:100% 等)改用 px/百分比/样式绑定;UTSJSONObject Any? 类型不匹配、setup 函数前向引用(Kotlin 局部函数不提升需按依赖排序)、props 与局部 ref/defineExpose 命名冲突、nextTick(async)、数组 API(toMutableArray/removeAt)等
269
+ - up-novel-reader(UVue):修复 App 端因 display:flex 默认竖向导致工具栏/设置/目录横排错乱的问题(补 flex-direction:row)
270
+
271
+ ## 4.5.25
272
+ fix: 修复文档构建错误
273
+
274
+ - 修复 barcode 与 goodsSku 文档中的 Markdown 表格类型参数被解析为 Vue 属性的问题
275
+ - 修复 coupon 文档中的错误链接,确保文档构建死链校验通过
276
+
277
+ ## 4.5.24
278
+ feat: 新增 up-novel-reader 小说阅读器组件
279
+
280
+ - 支持 scroll/page 双模式、目录、设置、主题、书签、进度恢复、阅读时长和安全区
281
+ - Vue 与 UVue 保持同一公开 API
282
+
283
+ ## 4.5.23
284
+ fix: 修复 up-text 无单位行高显示异常
285
+
286
+ - Vue 与 UVue 版 up-text 支持 1.1、1.2 等无单位行高倍率,避免被误转为 px 后单行文本裁剪成虚线
287
+ - 继续兼容 20 等像素数值和显式单位行高
288
+
289
+ ## 4.5.22
290
+ fix: 修复 overlay 动态挂载二维码时的 Canvas 初始化竞态
291
+
292
+ - Vue 与 UVue 版 up-qrcode 统一迁移到 up-canvas,由画布组件集中管理节点、context、DPR、图片加载与导出
293
+ - up-canvas 共享同一实例的 in-flight 初始化 Promise,增加 refresh 强制重新初始化入口,避免重复创建 context、重设尺寸或清空画布导致二维码只绘制局部
294
+ - Vue H5 继续交由 uni-h5 内置 HiDPI 处理;Vue 小程序与 UVue Canvas 在宿主层重设 backing store 并只应用一次 pixelRatio 变换
295
+ - 增加 overlay 内二维码示例和 Vue/UVue 静态回归校验
296
+
297
+ ## 4.5.21
298
+ fix: 修复 up-waterfall 快速更新时并发分配错乱
299
+
300
+ - Vue 与 UVue 版改用共享队列串行消费多批数据,避免异步分配循环交错
301
+ - clear 或全量重排时取消过期任务,避免旧数据继续写回已清空的列
302
+ - 中间插入、重排或列表缩短等非纯追加变化执行全量重排,避免数据错列、重复或丢失
303
+ - 同步 uview-plus issue #1047,并补充双端结构与 Vue 行为回归校验
304
+
305
+ ## 4.5.20(2026-08-04)
306
+ fix: 修复 uni-app x 跨端编译与 Android 运行时兼容问题
307
+
308
+ - 修复 up-calendar 未设置 closeable 时 Android Boolean 空值拆箱崩溃,并保留 pageInline 动态默认行为
309
+ - 修复多个组件的 H5 严格类型告警及 Android 平台类型不兼容
310
+ - 修复 Android 布局查询空结果、组件导航重复触发及不支持的 view 文本样式告警
311
+ ## 4.5.19
312
+ fix: 修复 H5 严格类型检查告警
313
+
314
+ - 修复 up-search label prop 使用 null 构造器导致的 TS2769 编译错误
315
+ - 移除 up-tabbar、up-tabbar-item、up-calendar 中会破坏 Vue props 推断的 null 构造器
316
+ - 为 steps、radio、picker、text、number-box、popup、tag、rate、swipe-action、checkbox、subsection、waterfall、skeleton、swiper、tabs 等组件增加安全空值兜底
317
+ - 收窄 calendar、form、async-validator、canvas、图片加载和滚动事件相关类型,消除 H5 UTS/TypeScript 编译告警
318
+ - 恢复 up-row 的子组件注册方法,并处理节点尺寸查询为空,修复 H5 运行时 `getChildren not found` 和读取空节点 `width` 的异常
319
+
320
+ ## 4.5.18
321
+ fix: 修复自定义 action-sheet 插槽点击不关闭
322
+
323
+ - Vue 与 UVue 版 up-action-sheet 的自定义 slot 点击现在遵守 closeOnClickAction
324
+ - Vue 版兼容 up-cell 默认阻止事件冒泡的场景
325
+ - 同步 uview-plus issue #905,并补充对应验证脚本
326
+
327
+ ## 4.5.17
328
+ feat: swipe-action-item 新增 scrolling / v-model:scrolling,用于横向滑动时联动暂停页面或 scroll-view 容器滚动。
329
+ fix: 补充 touchcancel、关闭、禁用和卸载释放逻辑,避免外部滚动锁状态卡住。
330
+ docs: 更新防止页面或容器滚动示例,说明 page-meta 与 scroll-view 用法。
331
+
332
+ ## 4.5.16
333
+ fix: 同步文本组件 flex1 默认行为
334
+
335
+ - up-text 默认不再占满剩余空间,未显式开启 flex1 时避免影响父级布局
336
+ - 为 Vue 与 uvue 文本组件补齐 flex1 配置、props 与类型声明
337
+ - 仅在 flex1 为 true 时写入 flex 和宽度样式,与 uview-plus 保持一致
338
+
339
+ ## 4.5.15
340
+ fix: 修复 plain 按钮默认白底
341
+
342
+ - plain 镂空按钮默认背景改为透明,避免深色背景下出现白色底块
343
+ - 同步 Vue 与 uvue 按钮实现,保持多端 plain 表现一致
344
+ - 补充验证脚本,覆盖 plain 按钮默认背景兜底
345
+
346
+ ## 4.5.14
347
+ fix: 修复 tabbar 中间按钮圆弧边框颜色
348
+
349
+ - 中间按钮上半圆边框跟随 tabbar 的 `borderColor` 属性,避免圆弧与顶部边框颜色不一致
350
+ - `borderColor` 为空时继续使用主题边框色 fallback,保持默认表现不变
351
+ - uview-ultra 同步 Vue 与 uvue 实现,保证两个组件库样式一致
352
+
353
+ ## 4.5.13
354
+ fix: 修复 tabbar 中间按钮上半圆边框
355
+
356
+ - 中间按钮改为 64px 圆形边框裁剪方案,透明或半透明 tabbar 背景下不再依赖纯色遮罩
357
+ - 根据 `midButtonOffsetY` 自动计算上半圆边框裁剪高度,兼容有文字和无文字布局
358
+ - 修复微信小程序中间按钮图标层级,避免被内层圆形背景遮住
359
+
360
+ ## 4.5.12
361
+ docs: 完善 swiper vertical 纵向滑动说明(#936)
362
+
363
+ - 补充 Vue 与 uni-app x 的 `vertical` 属性注释、纵向滑动示例与自动校验
364
+ - 文档明确 `vertical` 透传原生 swiper,默认 `false` 保持横向兼容
365
+
366
+ ## 4.5.11
367
+ fix: 同步 .w-full 盒模型样式
368
+
369
+ - 公共样式补充 `.w-full { box-sizing: border-box; }`,与 uview-plus 对齐
370
+ - 避免宽度 100% 工具类在 padding/border 场景下撑破布局
371
+ - 同步忽略本地 `cachePath/` 调试产物
372
+
373
+ ## 4.5.10
374
+ fix: slider 支持自定义模式小数步长
375
+
376
+ - 同步 uview-plus:Vue / uvue 自定义 slider 的 `step` 支持 `0.1`、`0.5` 等小数和字符串数字,避免旧逻辑将小数步长格式化为 `NaN`
377
+ - 普通滑块和区间双滑块统一按 `min + n * step` 对齐步进值
378
+ - `useNative=true` 仍透传给 uni-app 原生 slider,具体小数表现取决于目标平台
379
+
380
+ ## 4.5.9
381
+ feat!: i18n 语言包按需注册,默认仅内置 zh-Hans(#908)
382
+
383
+ - 重大变更:默认不再打包 en/es/fr/de/ko/ja/ru/zh-Hant 等语言包
384
+ - JS/UTS 支持 registerLocale/hasLocale/getLocale/setLocale
385
+ - 包入口导出 en/ja/.../allLocales,可用 allLocales 一键恢复旧行为
386
+ - 未注册语言回退 zh-Hans;组件 t() 与 underscore key 变换保持不变
387
+
388
+ ## 4.5.8
389
+ feat: cropper 支持并文档化 inner 限制裁剪框在图片内
390
+
391
+ - 同步 uview-plus #921:暴露 `inner` 属性,开启后拖动/缩放保持裁剪框在图片内,并禁用旋转
392
+ - 修复 `chooseImage` 开启 `inner` 时未同步禁用旋转的问题
393
+ - `inner + canChangeSize` 时调整裁剪框也限制在图片显示范围内(vue/uvue)
394
+ - 补充组件示例与文档说明
395
+
396
+ ## 4.5.7
397
+ fix: App 端内置图标字体改为包内本地加载
398
+
399
+ - 同步 uview-plus #1044:App / App-nvue 内置 up-icon 字体改为从包内 upicon.ttf 加载,不再依赖 alicdn 网络请求
400
+ - 使用 upicon.ttf?url 由构建产物发射本地字体资源,配合 uni.loadFontFace / weex addRule,避免弱网阻塞页面渲染
401
+ - 无需手动拷贝到 static;Vue 入口导出 fontUtil 便于可选手动加载
402
+
403
+ ## 4.5.6
404
+ fix: 同步修复 swipeAction 关闭态右侧删除按钮露边
405
+
406
+ - 同步 uview-plus #843:H5 关闭态内容层与容器 1px 亚像素缝隙导致删除按钮露边
407
+ - vue/uvue 同步补齐内容层覆盖、box-shadow 封边与容器合成层裁剪
408
+
409
+ ## 4.5.5
410
+ feat: 发布 uview-ultra 4.5.5,Vue 组件全面 script setup 化
411
+
412
+ - 143 个 Vue `.vue` 组件迁移为 true `<script setup>`,新增 `useUltraUI.js` 替代运行时 mixin 能力
413
+ - 移除 Vue 侧遗留 `libs/mixin` 与全局 `Vue.mixin` 注册;公共 props/方法改为组件显式接入
414
+ - 修复 up-swipe-action-item 关闭态右侧删除按钮 H5 亚像素露边(同步 uview-plus #843,vue/uvue)
415
+ - 保留 APP-NVUE 条件编译与 proxy/$refs 适配;calendar popup 透传与 navbar interceptor 已对齐
416
+
417
+ ## 4.5.4
418
+ feat: 适配蒸汽模式与 BEM 样式,兼容样式隔离 2.0
419
+
420
+ - 多组件 uvue/vue 样式改为 BEM,减少深层选择器,适配蒸汽模式(Vapor)与 HBuilderX 样式隔离 2.0
421
+ - 涉及 button、card、choose、select、table2、tree、coupon、dragsort、pagination、scroll-list、swiper-indicator 等组件
422
+ - 若业务侧有自定义样式覆盖内部 class,请按 BEM 命名同步调整
423
+ - 补充 AGEMTS 变更日志同步规则:用户可感知变更后同步写入 uview-plus-doc4 changelog
424
+
425
+ ## 4.5.3
426
+ 适配 HBuilderX 5.0+ 样式隔离策略 2.0 向下兼容:
427
+ 1. 开启 styleIsolationVersion=2
428
+ 2. 组件/页面 uvue 统一 styleIsolation=app-and-page,允许全局与页面 class 影响组件
429
+ 3. 修复 defineOptions 尾逗号导致 UTS 编译失败的问题
430
+ 4. Android UTS 编译校验通过
431
+
432
+ ## 4.5.2
433
+ fix: 发布 uview-ultra 4.5.2,修复拖拽层级并清理 UTS mixin
434
+
435
+ - 修复 up-dragsort 向上拖拽只能移动一层的问题,调整拖拽排序计算与示例页联动。
436
+ - 清理 UTS 版本遗留 mixin 与无用 composable,移除全局 mixin 注册,组件改为显式公共 props,action-sheet 保留 button/openType 事件转发。
437
+ - up-calendar 新增 closeable、closeIconPos、zoom 透传,pageInline 场景列表高度不再保留底部弹层占位。
438
+ - 补充 Vue runtime parity 后续实施计划,并忽略本地生成调试产物。
439
+
440
+ ## 4.5.1
441
+ fix: 修复日历组件透传弹层属性
442
+
443
+ - up-calendar 主弹层透传 overlay、duration、overlayStyle、overlayOpacity、zIndex、safeAreaInsetBottom、safeAreaInsetTop、bgColor 等 up-popup 配置。
444
+ - 支持在 pageInline 页面内嵌场景通过 safeAreaInsetBottom=false 关闭底部安全区占位。
445
+ - 同步补齐 Vue、UVue 默认值、props 与类型声明,并对齐 uview-plus 的日历弹层透传实现。
446
+
447
+ ## 4.5.0
448
+ feat: 发布 4.5.0,完成 uvue Composition API 与 Android UTS 兼容性升级
449
+
450
+ 本版本重点提升 uni-app x / Android 端的 uvue 组件可编译性、运行稳定性和组件示例可用性,是一次面向 v4 主线的兼容性增强版本。
451
+
452
+ 主要更新:
453
+ - 大规模推进 uvue 组件 Composition API 化,统一使用 `<script setup lang="uts">`、`defineProps`、`defineEmits`、`defineExpose`、`computed`、`watch`、生命周期 hooks 等写法,降低 Options API、mixin 和 UTS 编译限制之间的冲突。
454
+ - 补齐组件间父子通信与实例暴露能力,多个组件改为通过组合式工具维护 parentData、getProps、getRefs、setStatus、open/close、初始化和测量方法,保持既有组件 API 与示例调用方式兼容。
455
+ - 修复 Android UTS 编译中的严格比较、空数组判断、字符串长度判断、平台条件样式等兼容性问题,减少 HBuilderX / uni-app x 编译期 warning 和潜在运行期阻塞。
456
+ - 优化 swipe-action-item 在 Android / iOS app 端的样式条件编译,避免 `touch-action` 在 app-uvue-css 下产生非标准属性警告,同时保留 Web/小程序侧滚动手势兼容处理。
457
+ - 修复 tabs、text 等组件在 UTS 编译场景中的比较表达式兼容问题,避免 Android class 编译阶段因类型推断差异产生 warning。
458
+ - 同步调整大量示例页与组件页的 uvue 写法,提升 Android 调试基座中组件列表、基础组件、表单组件、数据组件和模板页的加载稳定性。
459
+ - 保持现有 `up-*` 组件命名、属性、事件与插槽使用方式不变,升级后无需调整已有业务调用。
460
+
461
+ 验证结果:
462
+ - 使用 HBuilderX 5.07 与 MuMu Android 模拟器 `emulator-5554` 完成 uni-app x Android 编译与运行验证。
463
+ - Android 端已成功启动 `uview-plus4`,日志显示 `UTS编译完毕`、`App Launch`、`应用【uview-plus4】已启动`。
464
+ - 已检查运行期日志,未发现项目级 `FATAL EXCEPTION`、`AndroidRuntime`、`ReferenceError`、`TypeError`、`SyntaxError`、`app-service.js` 错误。
465
+ - 已截图检查组件首页显示,组件列表正常渲染,无白屏、崩溃页或明显布局缺失。
466
+
467
+ 兼容性说明:
468
+ - 本版本聚焦 uview-ultra v4 在 uni-app x / Android UTS 下的兼容性与运行稳定性。
469
+ - 既有 Vue3、uni-app、uni-app x 使用入口保持不变。
470
+ - 发布包继续保持免费源码插件形式,适配平台声明不变。
471
+
472
+ ## 4.4.21
473
+ fix: 修复navbar全局左侧点击拦截上下文
474
+
475
+ ## 4.4.20
476
+ fix(action-sheet): 修复 description 上下间距不生效
477
+
478
+ ## 4.4.19
479
+ fix: 修复日历打开卡顿与底部确定按钮不显示
480
+
481
+ - 恢复 uvue 端日历确认按钮渲染
482
+ - 避免打开/选择日期时重复全量生成月份数据
483
+ - 缓存区间中间态颜色,降低 range 选择卡顿
484
+ - 同步 pageInline 场景 none 过渡修复
485
+
486
+ ## 4.4.18
487
+ fix: 修复日历打开卡顿与底部确定按钮不显示
488
+
489
+ - 恢复 uvue 端日历确认按钮渲染
490
+ - 避免打开/选择日期时重复全量生成月份数据
491
+ - 缓存区间中间态颜色,降低 range 选择卡顿
492
+ - 同步 pageInline 场景 none 过渡修复
493
+
494
+ ## 4.4.17
495
+ fix: 修复日历打开卡顿与底部确定按钮不显示
496
+
497
+ - 恢复 uvue 端日历确认按钮渲染
498
+ - 避免打开/选择日期时重复全量生成月份数据
499
+ - 缓存区间中间态颜色,降低 range 选择卡顿
500
+ - 同步 pageInline 场景 none 过渡修复
501
+
502
+ ## 4.4.16
503
+ fix: 修复日历打开卡顿与底部确定按钮不显示
504
+
505
+ - 恢复 uvue 端日历确认按钮渲染
506
+ - 避免打开/选择日期时重复全量生成月份数据
507
+ - 缓存区间中间态颜色,降低 range 选择卡顿
508
+ - 同步 pageInline 场景 none 过渡修复
509
+
510
+ ## 4.4.15
511
+ fix(number-box): integer=false 时改用 digit 键盘,支持输入小数
512
+
513
+ ## 4.4.14
514
+ fix(calendar): 修复真机 UTS 下 Number 构造导致的编译错误
515
+ fix(lazy-load,swipe-action-item): 修复 Android UTS 编译阻塞问题
516
+
517
+ ## 4.4.13
518
+ fix(calendar): 修复真机 UTS 下 Number 构造导致的编译错误
519
+ fix(lazy-load,swipe-action-item): 修复 Android UTS 编译阻塞问题
520
+
521
+ ## 4.4.12
522
+ fix(up-textarea): 修复 count 开启时 v-model 为空导致字数统计报错,vue/uvue 同步处理
523
+
524
+ ## 4.4.11
525
+ chore: 给radio和checkbox组件添加选中样式名及插槽变量
526
+
527
+ ## 4.4.10(2026-06-11)
528
+ fix(calendar): 修复今天按钮点击后未选中日期的问题
529
+
530
+ 今天按钮在跳转到今天所在月份后,会复用日历原有日期点击逻辑选中今天,并按 showConfirm 配置保持确认行为一致;同步覆盖 vue 与 uvue 实现。
531
+
532
+ ## 4.4.9(2026-06-08)
533
+ feat: add UTS version of luch-request for UniApp X compatibility
534
+
535
+ - 创建完整的 UTS 版本实现,支持 UniApp X 项目
536
+ - 保持与原 JavaScript 版本完全相同的 API 接口
537
+ - 针对 UTS 限制进行适配:
538
+ * 移除 arguments 对象,使用 rest 参数
539
+ * 移除 delete 操作符,使用对象重建
540
+ * 移除 prototype 操作,使用标准 class 语法
541
+ * 简化 clone 函数,移除 Buffer/Map/Set/RegExp 处理
542
+ * 移除 for...in 循环,使用 Object.keys()
543
+ * 移除 URLSearchParams 支持
544
+ * 添加完整的 TypeScript 类型注解
545
+
546
+ ## 4.4.8(2026-06-05)
547
+ fix(radio,subsection): 修复 issue#850 两个类型/行为不一致问题
548
+
549
+ - up-radio.vue / up-radio.uvue: 补充 label 具名插槽实现,与 .d.ts 中
550
+ RadioSlots['label'] 声明保持一致(原来 label 仅通过 prop 渲染,无插槽)
551
+ - up-subsection/subsection.js: 补全 disabled/activeColorKeyName/
552
+ inactiveColorKeyName 默认值,修复 disabled 默认值为 undefined 的问题
553
+
554
+ ## 4.4.7(2026-06-04)
555
+ feat(calendar): 日历顶部增加时分秒选择能力
556
+
557
+ - 新增 enableTime、timePrecision、defaultTime 配置,支持单选与区间首尾模式在顶部点击时间区域后弹出居中 picker 进行时间编辑。
558
+ -确认返回仍为字符串数组:单选与区间首尾模式返回日期时间字符串;区间 all 模式按约定不展示时间选择并保持原日期数组返回;同日区间增加结束时间不能早于开始时间的校验。
559
+
560
+ ## 4.4.6(2026-06-03)
561
+ fix(table2): 修复微信小程序中重复 slot name="cell" 导致的报错 (#839)
562
+
563
+ 在固定列浮动视图(up-table-fixed-shadow)的 MP-WEIXIN 条件编译块中,
564
+ 将 <slot name="cell"> 改为直接内联渲染,消除同组件内同名 slot 的冲突。
565
+
566
+ - up-table2.vue:固定列浮动区 #ifdef MP-WEIXIN 分支移除重复 slot,改为
567
+ 直接渲染 item.row[col.key]
568
+ - up-table2.uvue:固定列浮动区同样移除重复 slot,改为直接渲染
569
+ getCellText() 的结果
570
+
571
+ ## 4.4.5(2026-06-02)
572
+ fix(picker): 修复异步columns加载时defaultIndex位置不更新的问题 (#841)
573
+
574
+ 问题:当columns从接口动态返回时(初始为空数组,延迟后赋值),
575
+ defaultIndex已提前设置好innerIndex,columns变化时innerIndex值未改变,
576
+ picker-view的:value绑定不触发重新渲染,导致滚动位置停留在第0项。
577
+
578
+ 修复:在setColumns中检测是否有列从空变为有数据,若是则先清空innerIndex,
579
+ 再在$nextTick中恢复目标值,强制picker-view重新滚动到defaultIndex指定位置。
580
+ 同步修复vue和uvue两个版本。
581
+
582
+ ## 4.4.4(2026-06-01)
583
+ fix(calendar): 修复隐藏挂载场景首日偏移异常
584
+
585
+ 问题原因:日历在容器隐藏时初始化可能拿到宽度 0,导致首日 margin-left 计算异常。
586
+ 改动范围:
587
+ 1) month.vue:为宽度计算增加 windowWidth 兜底,并在非 APP-NVUE 使用百分比首日偏移。
588
+ 2) month.uvue:首日偏移改为百分比计算,同时保留宽度查询兜底。
589
+ 影响说明:仅调整日历首日布局偏移,不改变日期选择与事件回调逻辑。
590
+
591
+ ## 4.4.3(2026-05-31)
592
+ 扩展 up-datetime-picker 支持小时与秒级选择
593
+
594
+ - 在 uvue 实现中新增 datehour、timesecond、datetimesecond 模式处理逻辑
595
+ - 增加 minSecond/maxSecond 秒级边界并补齐列生成、回显与变更计算
596
+ - 同步更新 TypeScript 类型定义,确保模式与新属性可被正确提示和约束
597
+
598
+ ## 4.4.2(2026-05-30)
599
+ feat: add pageInline prop to up-popup, up-picker, up-datetime-picker
600
+
601
+ When pageInline=true the picker renders inline on the page rather than
602
+ as a floating popup — fixes scroll-to-default-value issue on Android/
603
+ HarmonyOS (issue #941 equivalent) and enables always-visible inline
604
+ datetime/picker use cases.
605
+
606
+ ## 4.4.1(2026-05-29)
607
+ fix(avatar): 修复 uvue 头像 src 监听导致默认图覆盖问题
608
+
609
+ - up-avatar.uvue: 仅在 src 为空/空白时触发 errorHandler
610
+ - up-avatar.uvue: 移除 onMounted 中对 avatarUrl 的二次重置,避免覆盖回退结果
611
+
612
+ ## 4.4.0(2026-05-27)
613
+ feat: 新增更多组件与示例页,修复多平台兼容问题
614
+
615
+ 新增安卓演示组件(25 个):
616
+ - up-popover, up-pagination, up-agreement, up-float-button
617
+ - up-coupon, up-select, up-dragsort, up-signature, up-color-picker
618
+ - up-cascader, up-tree, up-choose, up-virtual-list, up-pull-refresh
619
+ - up-refresh-virtual-list, up-city-locate, up-goods-sku, up-pdf-reader
620
+ - up-markdown, up-short-video, up-barcode, up-poster, up-cropper
621
+ - up-lazy-load, up-qrcode
622
+
623
+ 新增安卓基础/兼容组件(4 个):
624
+ - up-canvas, up-cate-tab, up-view, up-message-input
625
+
626
+ 新增数据组件(2 个):
627
+ - up-action-sheet-data, up-picker-data
628
+
629
+ 恢复/补齐安卓端功能(18 处):
630
+ - up-cascader 多级联动、up-color-picker 调色、up-cate-tab 联动滚动
631
+ - up-poster 二维码和渐变绘制、up-cropper 裁剪交互
632
+ - up-signature 多语言文案、up-barcode/up-qrcode 图片导出
633
+ - up-waterfall 列间距和自适应列数、up-loading-icon 旋转动画
634
+ - up-code-input 光标闪烁、up-checkbox 表单校验联动
635
+ - up-notify/up-toast 完成回调、up-index-list 对象索引项支持
636
+ - up-upload 读取回调/确认事件/自动上传/文件选择结果返回
637
+ - up-line-progress 安卓实现
638
+
639
+ 修复安卓端崩溃与异常(12 处):
640
+ - up-col Promise 强转 number 导致 ClassCastException
641
+ - up-rate NullPointerException
642
+ - up-number-box Integer 强转 String 的 ClassCastException(2 处)
643
+ - up-pagination NPE 及 block 组件不识别
644
+ - up-select data() 中访问 props 导致 NPE
645
+ - up-picker 数组越界 IndexOutOfBoundsException
646
+ - up-calendar selected 数组越界
647
+ - up-popup 内容被遮罩层遮挡
648
+ - up-count-down/up-datetime-picker/up-skeleton/up-subsection 数值比较
649
+ - up-notify 顶部判断、up-popup 布尔比较
650
+
651
+ 修复跨平台与 UI 问题(10 处):
652
+ - up-cell 自定义图标 H5 不显示及安卓图片过大
653
+ - up-calendar 默认显示 2000-01、打开卡顿(延迟初始化优化)
654
+ - up-select 箭头跑到文字下方
655
+ - up-slider 滑块无法显示及区间数值重叠
656
+ - up-table2 合并单元格文字遮挡及 H5 横向滚动
657
+ - up-barcode EAN/UPC 格式无法显示
658
+ - up-parse 安卓富文本渲染、up-markdown 安卓渲染能力
659
+ - up-qrcode 安卓画布绘制尺寸与显示、新增静区配置
660
+ - navbar/messageInput/readMore/floatButton/dragsort 多个问题
661
+ - 过渡组件方向动画
662
+
663
+ 补充示例与资源:
664
+ - up-tooltip/up-title/up-copy/up-tabbar/up-index-list 演示入口
665
+ - up-section 默认配置、组件 D 示例页滚动容器
666
+ - swipeAction/tooltip 注册到 pages.json
667
+ - 模板示例页、公共数据、静态资源、pdfjs 资源
668
+
669
+
670
+ ## 4.3.33(2026-05-26)
671
+ style: 统一剩余组件示例页标题 DOM 结构并发布
672
+
673
+ ## 4.3.32(2026-05-19)
674
+ feat: 日历组件新增今天快捷按钮并支持回到当月
675
+
676
+ 本次在 up-calendar 的 vue/uvue 实现中增加 showToday 配置与今天按钮交互,点击后可快速定位到今天所在月份,并对今天日期做独立高亮(不覆盖现有选中态)。同时补充 js/uts 多语言键 up_calendar_today 及类型声明,确保各端行为一致。
677
+ ## 4.3.31(2026-05-15)
678
+ style: 统一组件示例页标题 DOM 结构
679
+
680
+ - 将示例区块标题外层标签由 text 替换为 view 包裹结构
681
+ - 内部文本 class 统一调整为 text,优化样式作用域与布局兼容性
682
+ - 同步更新 alert、badge 及 code 组件的演示页面
683
+
684
+ ## 4.3.30(2026-05-14)
685
+ refactor: 统一调整组件示例页标题DOM结构
686
+
687
+ - 将 loadmore 与 scrollList 示例页标题外层标签由 text 替换为 view 包裹结构
688
+ - 优化标题容器布局能力,便于后续统一样式管理与对齐处理
689
+
690
+ ## 4.3.29(2026-05-13)
691
+ refactor: 统一调整组件示例页标题DOM结构
692
+
693
+ - 将 radio、sticky、swipeAction 示例页中的标题元素由 `<text>` 替换为 `<view>` 包裹 `<text>` 的结构
694
+ - 优化标题容器布局能力,便于后续统一添加样式或对齐处理
695
+ - 保持原有文本内容与类名逻辑不变,仅调整外层容器标签
696
+
697
+ ## 4.3.28(2026-05-11)
698
+ style: 统一组件示例页标题结构以优化样式布局
699
+
700
+ - 将 image、line、link 及 loading-icon 示例页的标题外层标签由 text 替换为 view
701
+ - 内部文本节点统一追加 text 类名以适配最新样式规范
702
+ - 优化演示区块 DOM 结构,提升多端布局一致性与渲染兼容性
703
+
704
+ ## 4.3.27(2026-05-11)
705
+ refactor: 迁移示例页至组合式API并新增表格演示
706
+
707
+ - 将 card、form、countDown 等示例页的 Options API 迁移至 <script setup> 组合式语法
708
+ - 统一替换 $refs 方法调用为 $callMethod 配合类型断言,适配 UTS/TS 强类型环境
709
+ - 新增 table2 组件演示页,覆盖基础渲染、排序筛选、固定列、树形结构及单元格合并等场景
710
+ - calendar 示例页补充单月切换模式下的单选、区间与多选日期用例
711
+ - 调整 grid、skeleton 等页面的标题 DOM 结构,统一外层包裹 view 容器
712
+ - 修正 card 示例页的样式类名前缀并更新部分静态资源链接
713
+
714
+ ## 4.3.26(2026-05-09)
715
+ style: 调整 gap 示例页标题 DOM 结构
716
+
717
+ - 使用 view 容器包裹原有 text 标题节点
718
+ - 为内部 text 元素添加 text 类名以支持样式定制
719
+ - 统一修改基本案例、自定义颜色、高度及边距四个模块的标题结构
720
+
721
+ ## 4.3.25(2026-05-08)
722
+ chore: 更新 empty 组件演示页资源链接与图片格式
723
+
724
+ - 将静态资源基础域名从旧 CDN 迁移至新域名并启用 HTTPS
725
+ - 统一将示例图片文件后缀由 png 更改为 jpg
726
+ - 调整演示效果标题的 DOM 结构,外层增加 view 容器包裹
727
+
728
+ ## 4.3.24(2026-05-07)
729
+ style: 优化 divider 示例页标题结构
730
+
731
+ - 将各示例区块的标题 text 标签改为 view 包裹 text 结构,并统一 class 为 text
732
+ - 调整 DOM 层级以适配新样式规范,解决原有 text 标签直接作为容器可能引发的布局问题
733
+ - 覆盖基本案例、虚线、细线、点代替文字、文本左右对齐及自定义颜色等全部演示模块
734
+
735
+ ## 4.3.23(2026-05-06)
736
+ fix: 修复复选框示例数据绑定并优化标题布局结构
737
+
738
+ - 将各组件示例页的标题文本统一包裹至 view 容器并添加 text 类名
739
+ - 修正 checkbox 示例中 label 属性绑定错误,恢复为 item['name']
740
+ - 调整 checkboxChange 方法签名,增加 name 参数并启用控制台日志
741
+ - 统一代码缩进与换行格式,提升示例页代码可读性
742
+
743
+ ## 4.3.22(2026-04-30)
744
+ feat: 新增 subsection 禁用与动态颜色及 swiper 纵向滑动支持
745
+
746
+ - up-subsection 新增 disabled 属性,禁用时拦截点击事件并应用置灰样式
747
+ - up-subsection 新增 activeColorKeyName 与 inactiveColorKeyName,支持从列表数据动态读取颜色
748
+ - up-swiper 新增 vertical 属性,支持配置轮播图滑动方向为纵向
749
+ - up-transition 移除根节点 touchmove 事件监听,优化页面滚动交互体验
750
+
751
+ ## 4.3.21(2026-04-29)
752
+ fix: 优化数字输入框清空与失焦边界校验逻辑
753
+
754
+ - 输入过程中允许临时清空,不再立即回退至最小值
755
+ - 将边界值修正与值变更触发逻辑统一移至失焦事件处理
756
+ - 同步修复 .vue 与 .uvue 双端组件的输入交互逻辑
757
+
758
+ ## 4.3.20(2026-04-28)
759
+ fix: 修复微信小程序中交叉观察器上下文触发 Vue 告警
760
+
761
+ - 将交叉观察器创建方法的上下文参数替换为 this.$scope 优先回退至 this
762
+ - 避免在微信小程序环境下传入组件代理实例时触发 Vue 的 keys 枚举告警
763
+ - 补充组件样式文件末尾缺失的换行符
764
+
765
+ ## 4.3.19(2026-04-28)
766
+ refactor: 重构 empty 组件并增强 tabbar-item 路由同步
767
+
768
+ - 将 up-empty 迁移至 `<script setup>` 语法,使用 `computed` 与 `defineProps` 重构响应式逻辑
769
+ - up-empty 图标提示文案全面接入 `t()` 国际化函数,移除硬编码文本并修正模板样式合并方式
770
+ - up-tabbar-item 新增基于页面路由的激活状态同步机制,支持通过 `name` 路径自动匹配高亮
771
+ - up-tabbar-item 引入定时器轮询路由变化,并完善组件挂载与卸载时的生命周期清理逻辑
772
+ - up-grid-item 注释废弃的 `$upGridItem` 全局事件监听代码,移除冗余逻辑
773
+
774
+ ## 4.3.18(2026-04-27)
775
+ refactor: 重构评分组件逻辑并增强数值与边界处理
776
+
777
+ - 统一 Vue2/Vue3 的 activeIndex 初始化与监听逻辑,移除条件编译分支
778
+ - 新增 normalizeActiveIndex 等辅助方法,安全解析 props 并限制数值范围
779
+ - 引入 ensureRateMetrics 校验布局尺寸,避免 rateWidth 为 NaN 导致计算异常
780
+ - 在触摸与点击事件处理前增加边界守卫,拦截无效坐标与未初始化状态
781
+ - 规范化 emitEvent 输出值,确保 change 事件与双向绑定数据一致性
782
+ - 调整示例页标题 DOM 结构,优化样式兼容性
783
+
784
+ ## 4.3.17(2026-04-26)
785
+ feat: 新增 up-table2 高级表格组件及路由配置
786
+
787
+ - 新增 up-table2 主组件及 tableRow 递归行组件,提供 Vue 与 UVue 双版本实现
788
+ - 内置树形数据展开、单元格合并、列排序、数据过滤、行多选及固定列等高级功能
789
+ - 优化表头固定与横向滚动交互,支持滚动阴影提示与斑马纹/高亮行样式
790
+ - 更新页面路由配置与示例组件菜单,新增 Table2 演示入口并移除 Form 适配中标识
791
+ - 补充表格组件演示所需的静态图标资源
792
+
793
+ ## 4.3.16(2026-04-24)
794
+ fix: 优化 datetime-picker 同步逻辑并补充多组件类型定义
795
+
796
+ - 重构 up-datetime-picker 列构建逻辑,抽离 buildColumns 方法
797
+ - 新增 columnsEqual 对比函数,避免列数据未变化时重复渲染
798
+ - 引入 syncColumnsAfterChange 延迟更新选中索引,修复列数据变更时的索引错位问题
799
+ - 补充 album 组件 onPreview 事件与 stop 属性类型
800
+ - 修正 radio 组件插槽定义,区分 icon 与 label 插槽
801
+ - 新增 subsection 组件动态颜色字段键名及 disabled 属性类型
802
+ - 补充 swiper 组件 vertical 纵向滑动属性类型
803
+
804
+ ## 4.3.15(2026-04-24)
805
+ feat: 日历组件新增单月切换模式并修复日期计算逻辑
806
+
807
+ - 新增 monthSwitch 属性,支持非滚动的单月切换交互模式
808
+ - 头部组件新增年月切换按钮及禁用状态控制,适配新交互
809
+ - 恢复并修正 month 组件的日期宽度计算与首行偏移样式逻辑
810
+ - 修正默认日期判空条件及选中数组克隆方式,避免数据引用污染
811
+
812
+ ## 4.3.14(2026-04-22)
813
+ refactor: 下拉菜单组件重构为 Vue3 script setup 语法
814
+
815
+ - 将 Options API 全面替换为 Composition API 语法结构
816
+ - 使用 defineProps/defineEmits/ref/computed/watch 替代原有选项式写法
817
+ - 引入 useUltraUI 组合式函数管理父子实例通信,移除 $parent 直接调用
818
+ - 模板绑定统一改为 props.xxx 访问,并适配 $up.addUnit 工具方法
819
+ - 增加 Vue2/Vue3 条件编译以兼容 v-model 属性与事件触发逻辑
820
+ - 通过 defineExpose 显式暴露 init/close/setActive 等核心方法
821
+
822
+ ## 4.3.13(2026-04-21)
823
+ refactor: 将 up-divider 组件重构为 setup 语法
824
+
825
+ - 模板样式绑定调整为调用全局 $up.addStyle 方法
826
+ - 脚本逻辑由 Options API 迁移至 <script setup> 组合式语法
827
+ - 使用 defineProps 内联声明属性并对接默认配置,移除原有 mixin 依赖
828
+ - 计算属性与事件处理函数改为直接声明,清理冗余注释
829
+
830
+ ## 4.3.12(2026-04-20)
831
+ fix: 修复 NVUE 环境下折叠面板高度计算异常
832
+
833
+ - 优化 APP-NVUE 条件下 getComponentRect 回调的返回值处理逻辑
834
+ - 增加空值保护并显式将 height 设为 auto,避免布局渲染异常
835
+
836
+ ## 4.3.11(2026-04-20)
837
+ feat: up-album 新增 stop 属性与 preview 事件
838
+
839
+ - 新增 stop 布尔属性,支持在触发内置预览时阻止点击事件冒泡
840
+ - 新增 preview 事件,当关闭内置预览时向外抛出图片列表与当前索引
841
+ - 重构 onPreviewTap 方法,统一接收事件对象并拆分内置与自定义预览逻辑
842
+ - 同步更新多端文件的默认配置、Props 定义与 Emits 声明
843
+
844
+ ## 4.3.10(2026-04-19)
845
+ refactor: 迁移 count-to 至 setup 语法并增强 picker 滚动稳定性及datetime-picker快速滚动优化
846
+
847
+ - 将 count-to 组件全面迁移至组合式 API,合并动画帧与计数逻辑以提升可维护性
848
+ - 为 datetime-picker 新增安全取值与类型转换辅助函数,解决快速滚动时的越界与空值异常
849
+ - 优化日期边界计算与正则解析逻辑,增加非法日期兜底、范围校验及 NaN 防护
850
+ - 完善 show 状态监听与 close 交互逻辑,确保输入框模式下的面板显隐状态严格同步
851
+
852
+ ## 4.3.9(2026-04-17)
853
+ refactor: 将 up-copy 与 up-count-down 迁移至 script setup 语法
854
+
855
+ - 将组件逻辑从 Options API 迁移至 <script setup lang="uts"> 组合式 API
856
+ - 使用 defineProps 与 defineEmits 替代原有配置,移除 mixin 混入依赖
857
+ - 采用 ref 管理内部状态,配合 watch 与生命周期钩子处理副作用与清理
858
+ - 通过 defineExpose 显式暴露倒计时控制方法,规范外部调用接口
859
+ - 调整倒计时递归函数声明方式以兼容 app-android 平台,并统一接入默认配置
860
+
861
+ ## 4.3.8(2026-04-16)
862
+ fix: 修复栅格样式合并问题并增强折叠面板类型安全
863
+
864
+ - 修正 up-col 组件样式合并逻辑,移除冗余的 deepMerge 调用,确保 customStyle 正确生效
865
+ - 为 up-collapse-item 的 accordion 属性增加空值判断,避免未定义时触发类型断言异常
866
+ - 在 up-collapse 组件中为 expanded 状态补充 as boolean 类型断言,提升 UTS 环境下的类型安全性
867
+ - 新增 AI 调试与验证规范文档,明确 HBuilderX CLI 编译校验流程及提交前强制验证规则
868
+
869
+ ## 4.3.7(2026-04-16)
870
+ fix: 修正 checkbox 事件传参顺序并清理冗余逻辑
871
+
872
+ - 移除单元格分组组件中重复定义的 border 属性
873
+ - 调整 change 事件触发时机至 v-model 更新后,确保状态同步
874
+ - 为 change 事件补充第二参数,返回当前操作复选框的选中状态与 name 值
875
+ - 简化复选框组件中 disabled 与 labelDisabled 的空值判断逻辑
876
+ - 增加 borderBottom 属性读取前的非空校验,防止潜在报错
877
+
878
+ ## 4.3.6(2026-04-16)
879
+ fix: 修正 checkbox 事件传参顺序并清理冗余逻辑
880
+
881
+ - 移除单元格分组组件中重复定义的 border 属性
882
+ - 调整 change 事件触发时机至 v-model 更新后,确保状态同步
883
+ - 为 change 事件补充第二参数,返回当前操作复选框的选中状态与 name 值
884
+ - 简化复选框组件中 disabled 与 labelDisabled 的空值判断逻辑
885
+ - 增加 borderBottom 属性读取前的非空校验,防止潜在报错
886
+
887
+ ## 4.3.5(2026-04-15)
888
+ refactor: 提取日历公共类型并清理组件冗余代码
889
+
890
+ - 将日历月份组件的日期类型抽离至独立 types.uts 文件,并重命名为 UPCalendarMonthsItemDate 实现跨组件复用
891
+ - 同步更新日历主组件与月份组件的类型引用、函数参数标注及数组声明,修正 Number 为 number
892
+ - 移除头像组件中冗余的 customStyle 属性定义
893
+ - 为操作面板的 select 事件参数补充 UTSJSONObject 类型断言以通过 UTS 类型检查
894
+ - 统一日历组件中部分模式判断与数组长度比较的运算符为 ==
895
+
896
+ ## 4.3.4(2026-04-15)
897
+ refactor: 优化核心工具函数类型定义与空值处理逻辑
898
+
899
+ - 优化 timeFormat 与 toast 函数参数类型,增加空值拦截逻辑避免运行时异常
900
+ - 重构 getProperty 嵌套属性获取逻辑,补充中间节点类型校验并简化遍历流程
901
+ - 放宽 setProperty 赋值参数类型限制以支持任意数据类型写入
902
+ - 移除配置模块中残留的调试打印语句
903
+ - 调整多行文本省略样式中 CSS 属性声明顺序,提升跨端渲染兼容性
904
+ ## 4.3.3(2026-04-14)
905
+ fix: 修复 useUltraUI 中父组件属性与 refs 的键值判断逻辑
906
+
907
+ - 将 propsData 与 refsData 的键值检查改为 UTSJSONObject.keys().includes()
908
+ - 提升键存在性判断的准确性,避免直接访问可能引发的空值或类型异常
909
+ - 确保仅当父组件明确传递对应字段时才同步数据至 parentData
910
+ ## 4.3.2(2026-04-14)
911
+ refactor: 重写 async-validator 适配 UTS 环境
912
+
913
+ - 移除旧版 JS 兼容代码与冗余校验函数,全面采用 UTS 类型系统重写核心逻辑
914
+ - 重构 Schema 类,使用 Promise 递归调用替代原有回调与 asyncMap 机制实现串行校验
915
+ - 新增 normalizeRuleObject 统一处理规则对象,严格适配 UPFormRuleItem 类型定义
916
+ - 简化内置校验器实现,移除深层对象嵌套校验与复杂异步并行映射逻辑
917
+ - 标记消息模板替换、正则模式匹配及异步验证器 Promise 处理为待完善项
918
+
919
+ ## 4.3.1(2026-04-14)
920
+ fix(i18n): 修复新版本HBuilderX下多语言报错
921
+
922
+ - 将 `uni_modules/uview-ultra/libs/i18n/locales` 下多语言资源从 `*.json` 调整为 `*.js`(保留原内容)
923
+ - 新增各语言 `*.uts` 资源文件,补齐 uni-app x/UTS 侧可直接导入的本地化模块
924
+ - 更新 `libs/i18n/index.js` 与 `libs/i18n/index.uts` 的导入路径,分别指向对应平台资源
925
+ - 调整 `components/page-nav/page-nav.vue` 为 `script setup` 写法,保持原有展示与跳转逻辑
926
+
927
+ ## 4.3.0(2026-04-14)
928
+ add(form): 新增 uni-app x 表单校验支持及 Android 兼容问题
929
+
930
+ - 重构 `up-form`/`up-form-item` 为 `script setup`,统一通过 `defineExpose + $callMethod` 交互,移除对子组件 `$data` 的直接访问
931
+ - 修复表单校验链路:规则读取、触发器过滤、字段消息回写、Promise 回调处理,避免校验结果丢失
932
+ - 增加 `UPFormRuleItem` 类型定义并在 `types/index.uts` 导出,统一表单规则结构
933
+ - 修复 async-validator 在 uni-app x Android 的多处兼容问题(空值强转、函数调用、first 选项判空、字段聚合 NPE)
934
+ - 调整 `up-form-item` 默认 `rules` 结构与取值逻辑,保证规则在 UTS 下可稳定识别
935
+ - 重新启用 `pages/componentsC/form/form` 页面路由并同步相关配置格式
936
+
937
+ ## 4.2.60(2026-03-08)
938
+ refactor: 【组合式API重构】 up-gap组件(uni-app-x)
939
+
940
+ ## 4.2.59(2026-03-07)
941
+ refactor: 【组合式API重构】 优化up-loading-icon、up-index-anchor等(uni-app-x)
942
+
943
+ ## 4.2.58(2026-03-07)
944
+ refactor: 【组合式API重构】 优化up-td、up-row等(uni-app-x)
945
+
946
+ ## 4.2.57(2026-03-06)
947
+ refactor: 【组合式API重构】 优化up-waterfall(uni-app-x)
948
+
949
+ ## 4.2.56(2026-03-05)
950
+ refactor: 【组合式API重构】 优化getParent(uni-app-x)
951
+
952
+ ## 4.2.55(2026-03-05)
953
+ refactor: 【组合式API重构】 优化colorGradent支持常用名称颜色(uni-app-x)
954
+
955
+ ## 4.2.54(2026-03-04)
956
+ refactor: 【组合式API重构】 优化index.uts(uni-app-x)
957
+
958
+ ## 4.2.53(2026-03-02)
959
+ refactor: 【组合式API重构】 up-column-notice组件(uni-app-x)
960
+
961
+ ## 4.2.52(2026-02-27)
962
+ refactor: 【组合式API重构】 up-car-keyboard组件(uni-app-x)
963
+
964
+ ## 4.2.51(2026-02-26)
965
+ refactor: 【组合式API重构】 up-button组件(uni-app-x)
966
+
967
+ ## 4.2.50(2026-02-26)
968
+ refactor: 【组合式API重构】 up-icon组件(uni-app-x)
969
+
970
+ ## 4.2.49(2026-02-25)
971
+ refactor: 【组合式API重构】 up-image组件(uni-app-x)
972
+
973
+ ## 4.2.48(2026-02-23)
974
+ refactor: 【组合式API重构】 up-input输入框组件(uni-app-x)
975
+
976
+ ## 4.2.47(2026-02-14)
977
+ refactor: 【组合式API重构】 up-grid宫格组件(uni-app-x)
978
+
979
+ ## 4.2.46(2026-02-13)
980
+ refactor: 【组合式API重构】 up-index-list索引列表组件(uni-app-x)
981
+
982
+ ## 4.2.45(2026-02-12)
983
+ refactor: 【组合式API重构】 修复up-row-notice组件在app-android箭头函数导致递归报错(uni-app-x)
984
+
985
+ ## 4.2.44(2026-02-12)
986
+ refactor: 【组合式API重构】 up-datetime-picker组件(uni-app-x)
987
+
988
+ ## 4.2.43(2026-02-09)
989
+ refactor: 【组合式API重构】 up-row-notice组件(uni-app-x)
990
+
991
+ ## 4.2.42(2026-02-07)
992
+ refactor: 【组合式API重构】 up-collapse组件(uni-app-x)
993
+
994
+ ## 4.2.41(2026-02-07)
995
+ refactor: 【组合式API重构】 优化up-action-sheet组件(uni-app-x)
996
+
997
+ ## 4.2.40(2026-02-06)
998
+ refactor: 【组合式API重构】 修复up-cell组件(uni-app-x)
999
+
1000
+ ## 4.2.39(2026-02-06)
1001
+ improvment: 优化mixin等
1002
+
1003
+ ## 4.2.38(2026-02-05)
1004
+ refactor: 【组合式API重构】 支持template中使用$u.addUnit $u.addStyle $u.timeFormat(uni-app-x)
1005
+
1006
+ ## 4.2.37(2026-02-05)
1007
+ refactor: 【组合式API重构】 新增up-title组件(uni-app-x)
1008
+
1009
+ ## 4.2.36(2026-02-05)
1010
+ refactor: 【组合式API重构】 up-card组件(uni-app-x)
1011
+
1012
+ ## 4.2.35(2026-02-04)
1013
+ refactor: 【组合式API重构】 up-cell组件(uni-app-x)
1014
+
1015
+ ## 4.2.34(2026-02-03)
1016
+ refactor: 【组合式API重构】 up-cell-group组件(uni-app-x)
1017
+
1018
+ ## 4.2.33(2026-02-03)
1019
+ refactor: 【组合式API重构】 up-box组件(uni-app-x)
1020
+
1021
+ ## 4.2.32(2026-02-02)
1022
+ refactor: 【组合式API重构】 优化up-avatar组件(uni-app-x)
1023
+
1024
+ ## 4.2.31(2026-02-02)
1025
+ refactor: 【组合式API重构】 优化up-col组件(uni-app-x)
1026
+
1027
+ ## 4.2.30(2026-02-02)
1028
+ refactor: 【组合式API重构】 修复up-number-box组件(uni-app-x)
1029
+
1030
+ ## 4.2.29(2026-01-31)
1031
+ refactor: 【组合式API重构】 修复up-col组件(uni-app-x)
1032
+
1033
+ ## 4.2.28(2026-01-31)
1034
+ refactor: 【组合式API重构】 steps示例优化warning(uni-app-x)
1035
+
1036
+ ## 4.2.27(2026-01-30)
1037
+ refactor: 【组合式API重构】 subsection示例优化warning(uni-app-x)
1038
+
1039
+ ## 4.2.26(2026-01-30)
1040
+ refactor: 【组合式API重构】 swiper示例优化warning(uni-app-x)
1041
+
1042
+ ## 4.2.25(2026-01-30)
1043
+ refactor: 【组合式API重构】 tabs示例优化warning(uni-app-x)
1044
+
1045
+ ## 4.2.24(2026-01-29)
1046
+ refactor: 【组合式API重构】 text示例优化warning(uni-app-x)
1047
+
1048
+ ## 4.2.23(2026-01-29)
1049
+ refactor: 【组合式API重构】 textarea示例优化warning(uni-app-x)
1050
+
1051
+ ## 4.2.22(2026-01-29)
1052
+ refactor: 【组合式API重构】 tooltip示例优化warning(uni-app-x)
1053
+
1054
+ ## 4.2.21(2026-01-28)
1055
+ refactor: 【组合式API重构】 up-count-downr优化(uni-app-x)
1056
+
1057
+ ## 4.2.20(2026-01-28)
1058
+ refactor: 【组合式API重构】 up- picker优化(uni-app-x)
1059
+
1060
+ ## 4.2.19(2026-01-28)
1061
+ refactor: 【组合式API重构】 up-item-steps优化(uni-app-x)
1062
+
1063
+ ## 4.2.18(2026-01-28)
1064
+ refactor: 【组合式API重构】 up-subsection优化(uni-app-x)
1065
+
1066
+ ## 4.2.17(2026-01-28)
1067
+ refactor: 【组合式API重构】 up-textarea优化(uni-app-x)
1068
+
1069
+ ## 4.2.16(2026-01-28)
1070
+ refactor: 【组合式API重构】 up-checkbox-group组件与up-collapse-item优化(uni-app-x)
1071
+
1072
+ ## 4.2.15(2026-01-27)
1073
+ fix: 修复refactor: 【组合式API重构】 up-badge组件(uni-app-x)
1074
+
1075
+ ## 4.2.14(2026-01-27)
1076
+ fix: 修复refactor: 【组合式API重构】 up-badge组件(uni-app-x)
1077
+
1078
+ ## 4.2.13(2026-01-27)
1079
+ fix: 修复refactor: 【组合式API重构】 up-code-input组件(uni-app-x)
1080
+
1081
+ ## 4.2.12(2026-01-27)
1082
+ fix: 修复refactor: 【组合式API重构】 up-col组件(uni-app-x)
1083
+
1084
+ ## 4.2.11(2026-01-27)
1085
+ fix: 修复refactor: 【组合式API重构】 up-row组件(uni-app-x)
1086
+
1087
+ ## 4.2.10(2026-01-27)
1088
+ refactor: 【组合式API重构】 up-upload组件优化(uni-app-x)
1089
+
1090
+ ## 4.2.9(2026-01-27)
1091
+ refactor: 【组合式API重构】 up-checkbox组件优化(uni-app-x)
1092
+
1093
+ ## 4.2.8(2026-01-26)
1094
+ refactor: 【组合式API重构】 up-table组件(uni-app-x)
1095
+
1096
+ ## 4.2.7(2026-01-26)
1097
+ refactor: 【组合式API重构】 up-td组件(uni-app-x)
1098
+
1099
+ ## 4.2.6(2026-01-26)
1100
+ refactor: 【组合式API重构】 up-th组件(uni-app-x)
1101
+
1102
+ ## 4.2.5(2026-01-26)
1103
+ refactor: 【组合式API重构】 up-tr组件(uni-app-x)
1104
+
1105
+ ## 4.2.4(2026-01-26)
1106
+ refactor: 【组合式API重构】 优化完善组件父子关系管理组合式函数(uni-app-x)
1107
+
1108
+ ## 4.2.3(2026-01-25)
1109
+ refactor: 【组合式API重构】 修复addUnit错误返回auto导致样式异常(uni-app-x)
1110
+
1111
+ ## 4.2.2(2026-01-24)
1112
+ refactor: 【组合式API重构】 up-code组件(uni-app-x)
1113
+
1114
+ ## 4.2.1(2026-01-24)
1115
+ fix: 修复upload类型报错
1116
+
1117
+ ## 4.2.0(2026-01-24)
1118
+ fix: 处理H5端编译大量warning
1119
+
1120
+ change: LICENSE协议变更
1121
+
1122
+ ## 4.1.29(2026-01-24)
1123
+ refactor: 【组合式API重构】 父子组件架构支持组合式函数hooks方式(uni-app-x)
1124
+
1125
+ refactor: 【组合式API重构】 up-checkbox组件(uni-app-x)
1126
+
1127
+ refactor: 【组合式API重构】 up-checkbox-group组件(uni-app-x)
1128
+
1129
+ ## 4.1.28(2026-01-23)
1130
+ refactor: 【组合式API重构】 back-top组件(uni-app-x)
1131
+
1132
+ ## 4.1.27(2026-01-23)
1133
+ fix: 修复index.uts
1134
+
1135
+ ## 4.1.26(2026-01-23)
1136
+ fix: 修复input组件warning
1137
+
1138
+ ## 4.1.25(2026-01-23)
1139
+ fix: 优化up-tabbar组件change事件(uni-app-x)
1140
+
1141
+ ## 4.1.24(2026-01-23)
1142
+ fix: 修复throttle方法及up-button点击事件不触发问题(uni-app-x)
1143
+
1144
+ ## 4.1.23(2026-01-23)
1145
+ fix: up-picker组件warning处理
1146
+
1147
+ ## 4.1.22(2026-01-22)
1148
+ fix: code-input组件warning处理
1149
+
1150
+ ## 4.1.21(2026-01-22)
1151
+ refactor: 【组合式API重构】 avatar-group组件(uni-app-x)
1152
+
1153
+ ## 4.1.20(2026-01-22)
1154
+ refactor: 【组合式API重构】avatar组件(uni-app-x)
1155
+
1156
+ ## 4.1.19(2026-01-22)
1157
+ fix: 完善up-code组件
1158
+
1159
+ ## 4.1.18(2026-01-21)
1160
+ improvment: 优化inedx.uts导出
1161
+
1162
+ ## 4.1.17(2026-01-21)
1163
+ refactor: 【组合式API重构】 up-alert组件(uni-app-x)
1164
+
1165
+ ## 4.1.16(2026-01-21)
1166
+ fix: 修复checkbox组件warning
1167
+
1168
+ ## 4.1.15(2026-01-21)
1169
+ fix: 修复action-sheet组件warning
1170
+
1171
+ ## 4.1.14(2026-01-21)
1172
+ fix: 修复calendar组件warning
1173
+
1174
+ ## 4.1.13(2026-01-21)
1175
+ fix: 修复datetimepicker组件warning
1176
+
1177
+ ## 4.1.12(2026-01-21)
1178
+ fix: 修复picker组件warning
1179
+
1180
+ ## 4.1.11(2026-01-20)
1181
+ fix: 修复scroll-list组件warning
1182
+
1183
+ ## 4.1.10(2026-01-20)
1184
+ fix: 修复avatar组件warning
1185
+
1186
+ ## 4.1.9(2026-01-20)
1187
+ add: 在template中无法使用addStyle所以新增内置$upAddStyle支持
1188
+
1189
+ ## 4.1.8(2026-01-20)
1190
+ add: 在template中无法使用addUnit所以新增内置$upAddUnit支持
1191
+
1192
+ ## 4.1.7(2026-01-20)
1193
+ fix: 修复完善up-collapse-item子组件
1194
+
1195
+ ## 4.1.6(2026-01-20)
1196
+ refactor: 【组合式API重构】 常用方法优化(uni-app-x)
1197
+
1198
+ ## 4.1.5(2026-01-20)
1199
+ fix: 修复up-count-to组件语法(uni-app-x)
1200
+
1201
+ ## 4.1.4(2026-01-20)
1202
+ fix: 修复touch.uts语法(uni-app-x)
1203
+
1204
+ ## 4.1.3(2026-01-19)
1205
+ refactor: 【组合式API重构】album组件和action-sheet组件(uni-app-x)
1206
+
1207
+ ## 4.1.2(2026-01-19)
1208
+ refactor: 【组合式API重构】album组件(uni-app-x)
1209
+
1210
+ ## 4.1.1(2026-01-19)
1211
+ refactor: 组合式API重构之全局mixin转为组合式API(uni-app-x)
1212
+
1213
+ ## 4.1.0(2026-01-19)
1214
+ refactor: 【组合式API重构】action-sheet组件(uni-app-x)
1215
+
1216
+ ## 4.0.146(2026-01-17)
1217
+ fix: 修复radio组件props类型转换
1218
+
1219
+ ## 4.0.145(2026-01-16)
1220
+ fix: 修复radio组件props报warning
1221
+
1222
+ ## 4.0.144(2026-01-16)
1223
+ fix: 修复count-to组件props报warning
1224
+
1225
+ ## 4.0.143(2026-01-16)
1226
+ ​fix: 修复grid-item报wanning Object is possibly 'null'​
1227
+
1228
+ ## 4.0.142(2026-01-15)
1229
+ fix: 修复bem方法冗余语句
1230
+
1231
+ ## 4.0.141(2026-01-15)
1232
+ fix: 修复radio组件使用size参数warning
1233
+
1234
+ ## 4.0.140(2026-01-15)
1235
+ fix: 修复throttle方法Function类型
1236
+
1237
+ ## 4.0.139(2026-01-15)
1238
+ fix: 修复throttle方法Function类型
1239
+
1240
+ ## 4.0.138(2026-01-15)
1241
+ fix: warning: Identity equality for arguments of types 'Number' and 'Int' can be unstable because of implicit boxing
1242
+
1243
+ ## 4.0.137(2026-01-15)
1244
+ fix: 修复button和avatar-group语法
1245
+
1246
+ ## 4.0.136(2026-01-15)
1247
+ fix: 修复button组件warning: Type 'String' is not assignable to type 'string'
1248
+
1249
+ ## 4.0.135(2026-01-15)
1250
+ fix: 修复badge组件value参数warning
1251
+
1252
+ ## 4.0.134(2026-01-15)
1253
+ fix: 修复avatar-group组件warning
1254
+
1255
+ ## 4.0.133(2026-01-15)
1256
+ fix: 修复parse组件props缺少)(uni-app)
1257
+
1258
+ ## 4.0.132(2026-01-15)
1259
+ improvment: upGetRect方法从mixin迁移至function为组合式API适配(uni-app-x)
1260
+
1261
+ ## 4.0.131(2026-01-15)
1262
+ improvment: bem方法迁移至function工具中(uni-app-x)
1263
+
1264
+ ## 4.0.130(2026-01-14)
1265
+ fix:恢复code组件props类型
1266
+
1267
+ ## 4.0.129(2026-01-14)
1268
+ fix: 优化digit工具方法(uni-app-x)
1269
+
1270
+ ## 4.0.128(2026-01-14)
1271
+ fix: 修复tabs组建warning
1272
+
1273
+ ## 4.0.127(2026-01-13)
1274
+ fix: 修复list组件在支付宝小程序下scrolltolower无法触发(uni-app、uni-app-x) #422
1275
+
1276
+ ## 4.0.126(2026-01-13)
1277
+ fix: 修复throttle
1278
+
1279
+ ## 4.0.125(2026-01-13)
1280
+ fix: 修复upload组件类型转换问题
1281
+
1282
+ ## 4.0.124(2026-01-13)
1283
+ fix: 修复icon组件报错
1284
+
1285
+ ## 4.0.123(2026-01-13)
1286
+ fix: 修复icon组件warning
1287
+
1288
+ ## 4.0.122(2026-01-12)
1289
+ fix: 修复swiper-action组件warning
1290
+
1291
+ ## 4.0.121(2026-01-12)
1292
+ fix: 修复sticky组件warning
1293
+
1294
+ ## 4.0.120(2026-01-12)
1295
+ fix: 修复mixin语法问题(uin-app-x)
1296
+
1297
+ ## 4.0.119(2026-01-10)
1298
+ improvment: dropdown组建warning修复
1299
+
1300
+ ## 4.0.118(2026-01-10)
1301
+ improvment: 内置dayjs防止未安装依赖(uni-app)
1302
+
1303
+ ## 4.0.117(2026-01-09)
1304
+ fix: 修复tabs组件props使用相关warning
1305
+
1306
+ ## 4.0.116(2026-01-09)
1307
+ fix: 修复loading-icon组件toString使用warning
1308
+
1309
+ ## 4.0.115(2026-01-09)
1310
+ improvment: 优化getParent方法warning
1311
+
1312
+ ## 4.0.114(2026-01-09)
1313
+ improvment: 修复tag组件warning(uni-app-x)
1314
+
1315
+ ## 4.0.113(2026-01-08)
1316
+ fix: 修复code-input组件animation样式warning
1317
+
1318
+ ## 4.0.112(2026-01-08)
1319
+ fix: 修复count-down数值对比warning
1320
+
1321
+ ## 4.0.111(2026-01-08)
1322
+ fix: 修复loading-icon样式warning
1323
+
1324
+ ## 4.0.110(2026-01-08)
1325
+ fix: 修复qrcode组件在App不显示logo(uni-app)
1326
+
1327
+ improvment: qrcode逻辑优化封装(uni-app)
1328
+
1329
+ fix: nvue下采用webview支持二维码显示logo(因为gcanvas不支持图片渲染)(uni-app)
1330
+
1331
+ ## 4.0.109(2026-01-08)
1332
+ improvment: 使用官方已经支持的uni.setClipboardData代替三方插件
1333
+
1334
+ ## 4.0.108(2026-01-07)
1335
+ fix: 优化多个组件props增强鸿蒙兼容性
1336
+
1337
+ ## 4.0.107(2026-01-07)
1338
+ fix: 修复count-to组件warning
1339
+
1340
+ ## 4.0.106(2026-01-07)
1341
+ fix: 修复upload组件warning
1342
+
1343
+ ## 4.0.105(2026-01-07)
1344
+ fix: 临时去除qrcode引起报错
1345
+
1346
+ ## 4.0.104(2026-01-07)
1347
+ fix: 修复fles.scss样式兼容性warning
1348
+
1349
+ ## 4.0.103(2026-01-06)
1350
+ fix: 修复--uni-safe-area-inset缺少var
1351
+
1352
+ ## 4.0.102(2026-01-06)
1353
+ fix: 修复i18n的warning
1354
+
1355
+ ## 4.0.101(2026-01-06)
1356
+ fix: property value `inherit` is not supported for `line-height`
1357
+
1358
+ ## 4.0.100(2026-01-06)
1359
+ fix: 修复loading-icon组件颜色样式默认值
1360
+
1361
+ ## 4.0.99(2026-01-06)
1362
+ fix: 修复number-box样式warning
1363
+
1364
+ ## 4.0.98(2026-01-05)
1365
+ fix: 修复loading-page样式warning
1366
+
1367
+ ## 4.0.97(2026-01-05)
1368
+ fix: uni-app-x下安全区域使用--uni-safe-area-inset
1369
+
1370
+ ## 4.0.96(2026-01-05)
1371
+ fix: 修复digit工具方法
1372
+
1373
+ ## 4.0.95(2026-01-05)
1374
+ fix: 修复icon组件部分warning
1375
+
1376
+ ## 4.0.94(2026-01-04)
1377
+ improvment: 修复transition组件warning
1378
+
1379
+ ## 4.0.93(2026-01-04)
1380
+ improvment: 修复tabs组件css警告
1381
+
1382
+ ## 4.0.92(2026-01-04)
1383
+ fix: 修复演示首页图标不显示
1384
+
1385
+ fix: list-item等组件报错
1386
+
1387
+ ## 4.0.91(2026-01-04)
1388
+ 更新Readme
1389
+
1390
+ ## 4.0.90(2026-01-03)
1391
+ fix: 修复box组件示例sass变量前缀
1392
+
1393
+ ## 4.0.89(2025-12-31)
1394
+ improvment: number-box等组件warning处理
1395
+
1396
+ ## 4.0.8(2025-12-30)
1397
+ fix: 修复 transition组件适配后warning
1398
+
1399
+ ## 4.0.7(2025-12-29)
1400
+ fix: 修复list-item组件warning
1401
+
1402
+ ## 4.0.6(2025-12-29)
1403
+ fix: transition动画warning修复
1404
+
1405
+ ## 4.0.5(2025-12-29)
1406
+ fix: 修复Readme标签内容
1407
+
1408
+ ## 4.0.4(2025-12-29)
1409
+ fix: colorGradient方法适配uts
1410
+
1411
+ ## 4.0.3(2025-12-27)
1412
+ fix: 增加uni_modules插件依赖
1413
+
1414
+ ## 4.0.2(2025-12-26)
1415
+ LICENSE更新
1416
+
1417
+ ## 4.0.1(2025-12-26)
1418
+ fix: 修复文档网址
1419
+
1420
+ ## 4.0.0(2025-12-26)
1421
+ 初步发布uni-app-x版本