@unicom-cloud/ui 0.8.149 → 0.8.151

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 (2070) hide show
  1. package/.virtual/_rolldown/runtime.js +19 -0
  2. package/.vite/license.md +3 -0
  3. package/.vite/manifest.json +8214 -0
  4. package/affix/Affix.d.ts +10 -0
  5. package/affix/Affix.js +114 -130
  6. package/affix/index.d.ts +7 -0
  7. package/affix/index.js +7 -5
  8. package/alert/Alert.d.ts +5 -0
  9. package/alert/Alert.js +82 -111
  10. package/alert/index.d.ts +3 -0
  11. package/alert/index.js +7 -5
  12. package/anchor/Anchor.d.ts +10 -0
  13. package/anchor/Anchor.js +146 -190
  14. package/anchor/Link.d.ts +6 -0
  15. package/anchor/Link.js +40 -57
  16. package/anchor/context.d.ts +3 -0
  17. package/anchor/context.js +12 -15
  18. package/anchor/index.d.ts +14 -0
  19. package/anchor/index.js +9 -9
  20. package/anchor/utils.d.ts +5 -0
  21. package/anchor/utils.js +37 -46
  22. package/app/App.js +34 -26
  23. package/app/context.d.ts +4 -0
  24. package/app/context.js +11 -10
  25. package/app/index.js +9 -12
  26. package/app/useApp.d.ts +3 -0
  27. package/app/useApp.js +8 -7
  28. package/auto-complete/AutoComplete.d.ts +11 -0
  29. package/auto-complete/AutoComplete.js +109 -165
  30. package/auto-complete/index.d.ts +20 -0
  31. package/auto-complete/index.js +10 -7
  32. package/auto-complete/interface.d.ts +122 -0
  33. package/avatar/Avatar.d.ts +6 -0
  34. package/avatar/Avatar.js +70 -91
  35. package/avatar/Group.d.ts +6 -0
  36. package/avatar/Group.js +65 -83
  37. package/avatar/context.d.ts +3 -0
  38. package/avatar/context.js +7 -6
  39. package/avatar/index.d.ts +12 -0
  40. package/avatar/index.js +9 -11
  41. package/avatar/interface.d.ts +91 -0
  42. package/back-top/BackTop.d.ts +6 -0
  43. package/back-top/BackTop.js +59 -74
  44. package/back-top/index.d.ts +5 -0
  45. package/back-top/index.js +7 -5
  46. package/badge/Badge.d.ts +7 -0
  47. package/badge/Badge.js +123 -211
  48. package/badge/Count.js +33 -36
  49. package/badge/index.d.ts +10 -0
  50. package/badge/index.js +9 -10
  51. package/badge/utils.d.ts +5 -0
  52. package/badge/utils.js +24 -0
  53. package/breadcrumb/Breadcrumb.d.ts +9 -0
  54. package/breadcrumb/Breadcrumb.js +77 -94
  55. package/breadcrumb/Item.d.ts +8 -0
  56. package/breadcrumb/Item.js +37 -67
  57. package/breadcrumb/context.d.ts +4 -0
  58. package/breadcrumb/context.js +7 -6
  59. package/breadcrumb/index.d.ts +11 -0
  60. package/breadcrumb/index.js +9 -9
  61. package/breadcrumb/interface.d.ts +79 -0
  62. package/button/Button.d.ts +19 -0
  63. package/button/Button.js +102 -157
  64. package/button/Group.d.ts +5 -0
  65. package/button/Group.js +20 -13
  66. package/button/index.d.ts +18 -0
  67. package/button/index.js +11 -10
  68. package/button/interface.d.ts +114 -0
  69. package/calendar/Calendar.d.ts +4 -0
  70. package/calendar/Calendar.js +138 -0
  71. package/calendar/Month.d.ts +15 -0
  72. package/calendar/Month.js +115 -142
  73. package/calendar/WeekList.js +24 -24
  74. package/calendar/Year.d.ts +13 -0
  75. package/calendar/Year.js +82 -78
  76. package/calendar/header/Panel.js +43 -57
  77. package/calendar/header/index.js +95 -109
  78. package/calendar/hook/useCellClassName.js +32 -40
  79. package/calendar/index.d.ts +10 -0
  80. package/calendar/index.js +12 -183
  81. package/card/Card.d.ts +11 -0
  82. package/card/Card.js +73 -0
  83. package/card/Grid.d.ts +5 -0
  84. package/card/Grid.js +20 -26
  85. package/card/Meta.d.ts +5 -0
  86. package/card/Meta.js +35 -31
  87. package/card/index.d.ts +13 -0
  88. package/card/index.js +12 -133
  89. package/carousel/Arrow.d.ts +4 -0
  90. package/carousel/Arrow.js +37 -56
  91. package/carousel/Carousel.d.ts +5 -0
  92. package/carousel/Carousel.js +180 -0
  93. package/carousel/Indicator.d.ts +4 -0
  94. package/carousel/Indicator.js +42 -67
  95. package/carousel/index.d.ts +4 -0
  96. package/carousel/index.js +7 -287
  97. package/cascader/Cascader.d.ts +12 -0
  98. package/cascader/Cascader.js +229 -305
  99. package/cascader/base/node.d.ts +66 -0
  100. package/cascader/base/node.js +87 -95
  101. package/cascader/base/store.d.ts +40 -0
  102. package/cascader/base/store.js +65 -52
  103. package/cascader/hook/useRefCurrent.js +13 -12
  104. package/cascader/index.d.ts +5 -0
  105. package/cascader/index.js +7 -5
  106. package/cascader/interface.d.ts +297 -0
  107. package/cascader/panel/List.d.ts +4 -0
  108. package/cascader/panel/List.js +198 -269
  109. package/cascader/panel/Option.d.ts +23 -0
  110. package/cascader/panel/Option.js +24 -34
  111. package/cascader/panel/Search.d.ts +28 -0
  112. package/cascader/panel/Search.js +138 -161
  113. package/cascader/utils.d.ts +23 -0
  114. package/cascader/utils.js +50 -64
  115. package/checkbox/Checkbox.d.ts +5 -0
  116. package/checkbox/Checkbox.js +87 -138
  117. package/checkbox/Group.d.ts +9 -0
  118. package/checkbox/Group.js +71 -104
  119. package/checkbox/GroupBlock.d.ts +8 -0
  120. package/checkbox/GroupBlock.js +59 -102
  121. package/checkbox/context.js +12 -15
  122. package/checkbox/index.d.ts +12 -0
  123. package/checkbox/index.js +15 -14
  124. package/checkbox/interface.d.ts +102 -0
  125. package/checkbox/useCheckbox.js +49 -45
  126. package/collapse/Collapse.d.ts +11 -0
  127. package/collapse/Collapse.js +75 -119
  128. package/collapse/Item.d.ts +8 -0
  129. package/collapse/Item.js +118 -182
  130. package/collapse/context.d.ts +5 -0
  131. package/collapse/context.js +12 -12
  132. package/collapse/index.d.ts +14 -0
  133. package/collapse/index.js +9 -9
  134. package/color-picker/ColorPicker.d.ts +19 -0
  135. package/color-picker/ColorPicker.js +120 -0
  136. package/color-picker/ControlBar.d.ts +18 -0
  137. package/color-picker/ControlBar.js +45 -64
  138. package/color-picker/InputAlpha.d.ts +7 -0
  139. package/color-picker/InputAlpha.js +21 -23
  140. package/color-picker/InputHex.d.ts +11 -0
  141. package/color-picker/InputHex.js +49 -55
  142. package/color-picker/InputRgb.d.ts +10 -0
  143. package/color-picker/InputRgb.js +67 -63
  144. package/color-picker/Mode.d.ts +8 -0
  145. package/color-picker/Mode.js +8 -12
  146. package/color-picker/Palette.d.ts +7 -0
  147. package/color-picker/Palette.js +34 -35
  148. package/color-picker/Panel.d.ts +31 -0
  149. package/color-picker/Panel.js +227 -284
  150. package/color-picker/colors.d.ts +2 -0
  151. package/color-picker/colors.js +12 -34
  152. package/color-picker/hooks/useColorPicker.d.ts +35 -0
  153. package/color-picker/hooks/useColorPicker.js +101 -120
  154. package/color-picker/hooks/useControlBlock.d.ts +18 -0
  155. package/color-picker/hooks/useControlBlock.js +48 -57
  156. package/color-picker/index.js +20 -188
  157. package/color-picker/interface.d.ts +148 -0
  158. package/color-picker/interface.js +9 -5
  159. package/color-picker/utils.d.ts +23 -0
  160. package/color-picker/utils.js +64 -90
  161. package/comment/Comment.d.ts +6 -0
  162. package/comment/Comment.js +71 -0
  163. package/comment/index.d.ts +6 -0
  164. package/comment/index.js +7 -77
  165. package/config-provider/ConfigProvider.d.ts +6 -0
  166. package/config-provider/ConfigProvider.js +38 -49
  167. package/config-provider/context.d.ts +6 -0
  168. package/config-provider/context.js +26 -28
  169. package/config-provider/index.d.ts +8 -0
  170. package/config-provider/index.js +8 -10
  171. package/config-provider/initUI.js +14 -14
  172. package/config-provider/interface.d.ts +273 -0
  173. package/config-provider/useConfigProvider.js +53 -97
  174. package/constant/index.d.ts +3 -0
  175. package/constant/index.js +6 -6
  176. package/copy/Copy.d.ts +7 -0
  177. package/copy/Copy.js +46 -0
  178. package/copy/index.d.ts +5 -0
  179. package/copy/index.js +7 -71
  180. package/countdown/Countdown.d.ts +4 -0
  181. package/countdown/Countdown.js +63 -0
  182. package/countdown/index.d.ts +4 -0
  183. package/countdown/index.js +7 -115
  184. package/countdown/utils.js +21 -28
  185. package/date-picker/DatePicker.d.ts +11 -0
  186. package/date-picker/DatePicker.js +53 -0
  187. package/date-picker/DatePickerRange.d.ts +3 -0
  188. package/date-picker/DatePickerRange.js +397 -593
  189. package/date-picker/Picker.d.ts +4 -0
  190. package/date-picker/Picker.js +307 -408
  191. package/date-picker/context.d.ts +6 -0
  192. package/date-picker/context.js +7 -9
  193. package/date-picker/hook/useCellClassName.js +52 -81
  194. package/date-picker/index.d.ts +13 -0
  195. package/date-picker/index.js +16 -64
  196. package/date-picker/interface.d.ts +532 -0
  197. package/date-picker/panel/Body.d.ts +30 -0
  198. package/date-picker/panel/Body.js +63 -94
  199. package/date-picker/panel/Footer.js +61 -75
  200. package/date-picker/panel/Header.d.ts +22 -0
  201. package/date-picker/panel/Header.js +84 -100
  202. package/date-picker/panel/Shortcut.d.ts +3 -0
  203. package/date-picker/panel/Shortcut.js +40 -47
  204. package/date-picker/panel/WeekList.js +28 -26
  205. package/date-picker/panel/date/index.js +162 -230
  206. package/date-picker/panel/month/index.d.ts +17 -0
  207. package/date-picker/panel/month/index.js +93 -129
  208. package/date-picker/panel/quarter/index.d.ts +17 -0
  209. package/date-picker/panel/quarter/index.js +79 -111
  210. package/date-picker/panel/range/index.d.ts +28 -0
  211. package/date-picker/panel/range/index.js +169 -270
  212. package/date-picker/panel/week/index.d.ts +16 -0
  213. package/date-picker/panel/week/index.js +34 -50
  214. package/date-picker/panel/year/index.d.ts +16 -0
  215. package/date-picker/panel/year/index.js +59 -87
  216. package/date-picker/utils.d.ts +11 -0
  217. package/date-picker/utils.js +75 -100
  218. package/descriptions/Descriptions.d.ts +4 -0
  219. package/descriptions/Descriptions.js +142 -0
  220. package/descriptions/index.d.ts +4 -0
  221. package/descriptions/index.js +7 -251
  222. package/descriptions/interface.d.ts +80 -0
  223. package/details/Details.d.ts +5 -0
  224. package/details/Details.js +83 -0
  225. package/details/index.d.ts +4 -0
  226. package/details/index.js +7 -121
  227. package/development/Development.js +29 -0
  228. package/development/index.d.ts +4 -0
  229. package/development/index.js +7 -36
  230. package/divider/Divider.d.ts +7 -0
  231. package/divider/Divider.js +51 -0
  232. package/divider/index.d.ts +8 -0
  233. package/divider/index.js +7 -78
  234. package/draggable/Draggable.d.ts +4 -0
  235. package/draggable/Draggable.js +33 -0
  236. package/draggable/Item.d.ts +3 -0
  237. package/draggable/Item.js +51 -67
  238. package/draggable/index.d.ts +8 -0
  239. package/draggable/index.js +8 -39
  240. package/draw/Draw.d.ts +4 -0
  241. package/draw/Draw.js +34 -45
  242. package/draw/constant.js +2 -1
  243. package/draw/index.d.ts +6 -0
  244. package/draw/index.js +7 -6
  245. package/drawer/Drawer.d.ts +5 -0
  246. package/drawer/Drawer.js +200 -269
  247. package/drawer/index.d.ts +3 -0
  248. package/drawer/index.js +7 -5
  249. package/drawer/interface.d.ts +175 -0
  250. package/dropdown/Button.d.ts +4 -0
  251. package/dropdown/Button.js +55 -89
  252. package/dropdown/Dropdown.d.ts +5 -0
  253. package/dropdown/Dropdown.js +93 -0
  254. package/dropdown/index.d.ts +8 -0
  255. package/dropdown/index.js +8 -130
  256. package/dropdown/interface.d.ts +100 -0
  257. package/empty/Empty.d.ts +4 -0
  258. package/empty/Empty.js +27 -0
  259. package/empty/index.d.ts +4 -0
  260. package/empty/index.js +7 -38
  261. package/empty/interface.d.ts +8 -0
  262. package/flex/Flex.d.ts +9 -0
  263. package/flex/Flex.js +39 -0
  264. package/flex/index.d.ts +8 -0
  265. package/flex/index.js +7 -51
  266. package/flex/interface.d.ts +9 -0
  267. package/form/Control.d.ts +51 -0
  268. package/form/Control.js +204 -229
  269. package/form/Form.d.ts +6 -0
  270. package/form/Form.js +146 -169
  271. package/form/FormControl.d.ts +50 -0
  272. package/form/FormControl.js +246 -0
  273. package/form/FormItem.d.ts +7 -0
  274. package/form/FormItem.js +169 -250
  275. package/form/FormItemTip.d.ts +3 -0
  276. package/form/FormItemTip.js +39 -45
  277. package/form/FormLabel.js +44 -74
  278. package/form/FormLabelSymbol.d.ts +3 -0
  279. package/form/FormLabelSymbol.js +19 -0
  280. package/form/FormList.d.ts +6 -0
  281. package/form/FormList.js +85 -100
  282. package/form/FormProvider.d.ts +5 -0
  283. package/form/FormProvider.js +28 -45
  284. package/form/constant.d.ts +2 -0
  285. package/form/constant.js +6 -0
  286. package/form/context.d.ts +15 -0
  287. package/form/context.js +61 -50
  288. package/form/hook/useForm.d.ts +5 -0
  289. package/form/hook/useForm.js +53 -57
  290. package/form/hook/useFormContext.d.ts +10 -0
  291. package/form/hook/useFormContext.js +33 -31
  292. package/form/hook/useFormState.d.ts +3 -0
  293. package/form/hook/useFormState.js +30 -29
  294. package/form/hook/useWatch.d.ts +3 -0
  295. package/form/hook/useWatch.js +33 -33
  296. package/form/index.d.ts +35 -0
  297. package/form/index.js +37 -43
  298. package/form/interface.d.ts +558 -0
  299. package/form/interface.js +16 -10
  300. package/form/promisify.js +14 -13
  301. package/form/store.d.ts +81 -0
  302. package/form/store.js +239 -264
  303. package/form/utils.d.ts +19 -0
  304. package/form/utils.js +73 -77
  305. package/global-provider/GlobalProvider.d.ts +7 -0
  306. package/global-provider/GlobalProvider.js +18 -0
  307. package/global-provider/context.d.ts +3 -0
  308. package/global-provider/context.js +7 -6
  309. package/global-provider/index.d.ts +11 -0
  310. package/global-provider/index.js +11 -20
  311. package/grid/Grid.js +55 -84
  312. package/grid/Item.d.ts +4 -0
  313. package/grid/Item.js +34 -59
  314. package/grid/context.js +7 -6
  315. package/grid/index.d.ts +25 -0
  316. package/grid/index.js +16 -17
  317. package/grid/interface.d.ts +114 -0
  318. package/grid/utils.d.ts +2 -0
  319. package/grid/utils.js +11 -13
  320. package/hooks/index.js +8 -120
  321. package/hooks/use-breakpoint/index.d.ts +3 -0
  322. package/hooks/use-breakpoint/index.js +18 -17
  323. package/hooks/use-computed-state/index.js +7 -6
  324. package/hooks/use-create/index.js +7 -6
  325. package/hooks/use-creation/index.js +7 -6
  326. package/hooks/use-event/index.js +7 -6
  327. package/hooks/use-event-listener/index.js +7 -6
  328. package/hooks/use-force-update/index.js +7 -6
  329. package/hooks/use-fullscreen/index.js +7 -6
  330. package/hooks/use-id/index.js +7 -6
  331. package/hooks/use-in-view/index.js +7 -6
  332. package/hooks/use-intersection-observer/index.js +7 -6
  333. package/hooks/use-intersection-observers/index.js +7 -6
  334. package/hooks/use-interval/index.js +7 -6
  335. package/hooks/use-is-first-render/index.js +7 -6
  336. package/hooks/use-isomorphic-layout-effect/index.js +7 -6
  337. package/hooks/use-keyboard-event/index.js +7 -6
  338. package/hooks/use-latest/index.js +7 -6
  339. package/hooks/use-listen-window-resize/index.js +7 -6
  340. package/hooks/use-media/index.js +7 -6
  341. package/hooks/use-merge-props/index.js +7 -6
  342. package/hooks/use-merge-value/index.js +7 -6
  343. package/hooks/use-move/index.js +7 -6
  344. package/hooks/use-mutation-observers/index.js +7 -6
  345. package/hooks/use-online-status/index.js +7 -6
  346. package/hooks/use-overflow-hidden/index.js +7 -6
  347. package/hooks/use-override-ref/index.js +7 -6
  348. package/hooks/use-persist-callback/index.js +7 -6
  349. package/hooks/use-prefers-color-scheme-dark/index.js +7 -6
  350. package/hooks/use-previous/index.js +7 -6
  351. package/hooks/use-refs/index.js +7 -7
  352. package/hooks/use-resize-observer/index.js +7 -6
  353. package/hooks/use-resize-observers/index.js +7 -6
  354. package/hooks/use-responsive-state/index.js +42 -52
  355. package/hooks/use-set-state/index.js +7 -6
  356. package/hooks/use-state-callback/index.js +7 -6
  357. package/hooks/use-state-with-promise/index.js +7 -6
  358. package/hooks/use-update-effect/index.js +7 -6
  359. package/hooks/use-update-layout-effect/index.js +7 -6
  360. package/hooks/use-verification-code/index.d.ts +3 -0
  361. package/hooks/use-verification-code/index.js +64 -69
  362. package/hooks/use-watch/index.js +7 -6
  363. package/hooks/use-watermark/index.d.ts +3 -0
  364. package/hooks/use-watermark/index.js +142 -157
  365. package/hooks/use-watermark/utils.js +9 -9
  366. package/hooks/use-window-size/index.js +7 -6
  367. package/hooks/useUnmountOnExit.js +13 -10
  368. package/icon/Icon.d.ts +5 -0
  369. package/icon/Icon.js +32 -41
  370. package/icon/addIconFromCdn.js +34 -27
  371. package/icon/index.d.ts +7 -0
  372. package/icon/index.js +13 -11
  373. package/icon-hover/IconHover.d.ts +5 -0
  374. package/icon-hover/IconHover.js +29 -0
  375. package/icon-hover/index.d.ts +6 -0
  376. package/icon-hover/index.js +7 -46
  377. package/icon-hover/interface.d.ts +8 -0
  378. package/icons/file/File.d.ts +4 -0
  379. package/icons/file/File.js +26 -0
  380. package/icons/file/index.d.ts +4 -0
  381. package/icons/file/index.js +7 -33
  382. package/icons/file/interface.d.ts +7 -0
  383. package/icons.js +7 -6
  384. package/image/Image.d.ts +12 -0
  385. package/image/Image.js +154 -199
  386. package/image/ImageFooter.d.ts +13 -0
  387. package/image/ImageFooter.js +57 -46
  388. package/image/ImagePreview.d.ts +7 -0
  389. package/image/ImagePreview.js +400 -481
  390. package/image/ImagePreviewArrow.js +30 -47
  391. package/image/ImagePreviewGroup.d.ts +11 -0
  392. package/image/ImagePreviewGroup.js +103 -126
  393. package/image/ImagePreviewToolbar.d.ts +14 -0
  394. package/image/ImagePreviewToolbar.js +60 -100
  395. package/image/TriggerForToolbar.d.ts +10 -0
  396. package/image/TriggerForToolbar.js +18 -10
  397. package/image/context.d.ts +24 -0
  398. package/image/context.js +18 -19
  399. package/image/index.d.ts +18 -0
  400. package/image/index.js +13 -11
  401. package/image/interface.d.ts +257 -0
  402. package/image/utils/getFixTranslate.js +8 -7
  403. package/image/utils/getScale.d.ts +12 -0
  404. package/image/utils/getScale.js +68 -70
  405. package/image/utils/hook/useImageStatus.js +17 -16
  406. package/image/utils/hook/useShowFooter.d.ts +8 -0
  407. package/image/utils/hook/useShowFooter.js +12 -7
  408. package/index.d.ts +194 -0
  409. package/index.js +918 -890
  410. package/input/Button.d.ts +5 -0
  411. package/input/Button.js +52 -86
  412. package/input/Group.d.ts +7 -0
  413. package/input/Group.js +20 -22
  414. package/input/Input.d.ts +5 -0
  415. package/input/Input.js +140 -218
  416. package/input/InputElement.d.ts +4 -0
  417. package/input/InputElement.js +183 -241
  418. package/input/Number.js +7 -5
  419. package/input/Password.d.ts +5 -0
  420. package/input/Password.js +57 -85
  421. package/input/Search.d.ts +5 -0
  422. package/input/Search.js +53 -81
  423. package/input/Tag.js +7 -5
  424. package/input/Textarea.d.ts +9 -0
  425. package/input/Textarea.js +166 -211
  426. package/input/autoSizeTextareaHeight.js +65 -72
  427. package/input/index.d.ts +23 -0
  428. package/input/index.js +23 -20
  429. package/input/interface.d.ts +318 -0
  430. package/input/useComposition.d.ts +18 -0
  431. package/input/useComposition.js +30 -39
  432. package/input/utils.js +9 -8
  433. package/input-number/InputNumber.d.ts +6 -0
  434. package/input-number/InputNumber.js +158 -0
  435. package/input-number/decimal.js +113 -140
  436. package/input-number/index.d.ts +4 -0
  437. package/input-number/index.js +7 -220
  438. package/input-number/interface.d.ts +128 -0
  439. package/input-number/useSelectionRange.js +24 -26
  440. package/input-number/utils.js +42 -53
  441. package/input-tag/InputTag.d.ts +7 -0
  442. package/input-tag/InputTag.js +280 -359
  443. package/input-tag/constant.d.ts +1 -0
  444. package/input-tag/constant.js +6 -0
  445. package/input-tag/hook/useComputeAutoWidthDelay.d.ts +3 -0
  446. package/input-tag/hook/useComputeAutoWidthDelay.js +12 -0
  447. package/input-tag/index.d.ts +4 -0
  448. package/input-tag/index.js +7 -5
  449. package/input-tag/interface.d.ts +187 -0
  450. package/layout/Content.d.ts +3 -0
  451. package/layout/Content.js +20 -14
  452. package/layout/Footer.d.ts +3 -0
  453. package/layout/Footer.js +20 -14
  454. package/layout/Header.d.ts +3 -0
  455. package/layout/Header.js +20 -14
  456. package/layout/Layout.d.ts +14 -0
  457. package/layout/Layout.js +36 -0
  458. package/layout/Sider.d.ts +8 -0
  459. package/layout/Sider.js +96 -130
  460. package/layout/context.js +8 -7
  461. package/layout/index.d.ts +25 -0
  462. package/layout/index.js +18 -56
  463. package/layout/interface.d.ts +123 -0
  464. package/link/Link.d.ts +6 -0
  465. package/link/Link.js +42 -0
  466. package/link/index.d.ts +6 -0
  467. package/link/index.js +7 -72
  468. package/liquid-fill/LiquidFill.js +168 -0
  469. package/liquid-fill/index.d.ts +4 -0
  470. package/liquid-fill/index.js +7 -222
  471. package/list/Item.d.ts +8 -0
  472. package/list/Item.js +49 -50
  473. package/list/List.d.ts +12 -0
  474. package/list/List.js +185 -0
  475. package/list/Meta.d.ts +4 -0
  476. package/list/Meta.js +32 -20
  477. package/list/index.js +8 -274
  478. package/list/interface.d.ts +189 -0
  479. package/loading/Loading.js +62 -0
  480. package/loading/index.d.ts +4 -0
  481. package/loading/index.js +7 -81
  482. package/locale/ar-EG.d.ts +4 -0
  483. package/locale/ar-EG.js +164 -169
  484. package/locale/de-DE.d.ts +4 -0
  485. package/locale/de-DE.js +164 -169
  486. package/locale/default.js +7 -5
  487. package/locale/en-US.js +183 -198
  488. package/locale/es-ES.d.ts +4 -0
  489. package/locale/es-ES.js +164 -169
  490. package/locale/fr-FR.d.ts +4 -0
  491. package/locale/fr-FR.js +164 -169
  492. package/locale/id-ID.d.ts +4 -0
  493. package/locale/id-ID.js +164 -169
  494. package/locale/it-IT.d.ts +4 -0
  495. package/locale/it-IT.js +164 -169
  496. package/locale/ja-JP.d.ts +4 -0
  497. package/locale/ja-JP.js +219 -226
  498. package/locale/ko-KR.d.ts +4 -0
  499. package/locale/ko-KR.js +164 -169
  500. package/locale/ms-MY.d.ts +4 -0
  501. package/locale/ms-MY.js +164 -169
  502. package/locale/pt-BR.d.ts +4 -0
  503. package/locale/pt-BR.js +164 -169
  504. package/locale/pt-PT.d.ts +4 -0
  505. package/locale/pt-PT.js +164 -169
  506. package/locale/ru-RU.d.ts +4 -0
  507. package/locale/ru-RU.js +164 -169
  508. package/locale/th-TH.d.ts +4 -0
  509. package/locale/th-TH.js +164 -169
  510. package/locale/tr-TR.d.ts +4 -0
  511. package/locale/tr-TR.js +164 -169
  512. package/locale/vi-VN.d.ts +4 -0
  513. package/locale/vi-VN.js +164 -169
  514. package/locale/zh-CN.d.ts +4 -0
  515. package/locale/zh-CN.js +228 -245
  516. package/locale/zh-HK.d.ts +4 -0
  517. package/locale/zh-HK.js +219 -227
  518. package/locale/zh-TW.d.ts +4 -0
  519. package/locale/zh-TW.js +219 -226
  520. package/marquee/Marquee.js +135 -0
  521. package/marquee/index.d.ts +4 -0
  522. package/marquee/index.js +7 -164
  523. package/marquee/interface.d.ts +96 -0
  524. package/mask/Mask.d.ts +5 -0
  525. package/mask/Mask.js +44 -76
  526. package/mask/index.d.ts +6 -0
  527. package/mask/index.js +7 -5
  528. package/masonry/Masonry.js +110 -211
  529. package/masonry/MasonryItem.js +36 -35
  530. package/masonry/hooks/useDelay.d.ts +2 -0
  531. package/masonry/hooks/useDelay.js +13 -12
  532. package/masonry/hooks/useGutter.d.ts +5 -0
  533. package/masonry/hooks/useGutter.js +26 -27
  534. package/masonry/hooks/usePositions.js +25 -24
  535. package/masonry/hooks/useRefs.js +7 -6
  536. package/masonry/index.d.ts +10 -0
  537. package/masonry/index.js +8 -5
  538. package/masonry/interface.d.ts +43 -0
  539. package/mentions/Mentions.d.ts +5 -0
  540. package/mentions/Mentions.js +123 -0
  541. package/mentions/index.d.ts +4 -0
  542. package/mentions/index.js +7 -160
  543. package/mentions/interface.d.ts +88 -0
  544. package/mentions/utils.d.ts +9 -0
  545. package/mentions/utils.js +21 -25
  546. package/menu/Indent.js +14 -17
  547. package/menu/Item.d.ts +6 -0
  548. package/menu/Item.js +75 -124
  549. package/menu/ItemGroup.d.ts +6 -0
  550. package/menu/ItemGroup.js +28 -39
  551. package/menu/Menu.d.ts +3 -0
  552. package/menu/Menu.js +120 -199
  553. package/menu/OverflowWrap.d.ts +9 -0
  554. package/menu/OverflowWrap.js +69 -90
  555. package/menu/context.d.ts +15 -0
  556. package/menu/context.js +7 -6
  557. package/menu/index.d.ts +9 -0
  558. package/menu/index.js +18 -16
  559. package/menu/interface.d.ts +222 -0
  560. package/menu/sub-menu/Inline.d.ts +5 -0
  561. package/menu/sub-menu/Inline.js +84 -113
  562. package/menu/sub-menu/Pop.d.ts +5 -0
  563. package/menu/sub-menu/Pop.js +84 -121
  564. package/menu/sub-menu/index.d.ts +5 -0
  565. package/menu/sub-menu/index.js +22 -18
  566. package/menu/utils.js +74 -80
  567. package/message/Message.d.ts +20 -0
  568. package/message/Message.js +127 -167
  569. package/message/index.js +8 -7
  570. package/message/useMessage.d.ts +5 -0
  571. package/message/useMessage.js +51 -113
  572. package/modal/Confirm.d.ts +15 -0
  573. package/modal/Confirm.js +102 -112
  574. package/modal/Modal.d.ts +19 -0
  575. package/modal/Modal.js +301 -400
  576. package/modal/config.d.ts +9 -0
  577. package/modal/config.js +16 -24
  578. package/modal/index.d.ts +6 -0
  579. package/modal/index.js +8 -7
  580. package/modal/interface.d.ts +191 -0
  581. package/modal/use-modal/Hook.d.ts +7 -0
  582. package/modal/use-modal/Hook.js +46 -52
  583. package/modal/use-modal/index.d.ts +4 -0
  584. package/modal/use-modal/index.js +61 -71
  585. package/notice/Notice.d.ts +4 -0
  586. package/notice/Notice.js +151 -171
  587. package/notice/index.d.ts +4 -0
  588. package/notice/index.js +7 -5
  589. package/notification/Notification.d.ts +22 -0
  590. package/notification/Notification.js +132 -161
  591. package/notification/index.js +7 -6
  592. package/notification/interface.d.ts +85 -0
  593. package/notification/useNotification.d.ts +5 -0
  594. package/notification/useNotification.js +42 -111
  595. package/notification/withNotification.js +46 -57
  596. package/overflow-ellipsis/OverflowEllipsis.d.ts +3 -0
  597. package/overflow-ellipsis/OverflowEllipsis.js +72 -0
  598. package/overflow-ellipsis/OverflowItem.js +22 -29
  599. package/overflow-ellipsis/index.d.ts +6 -0
  600. package/overflow-ellipsis/index.js +8 -80
  601. package/package.json +1 -1
  602. package/page-header/PageHeader.d.ts +6 -0
  603. package/page-header/PageHeader.js +108 -0
  604. package/page-header/index.d.ts +6 -0
  605. package/page-header/index.js +7 -163
  606. package/page-header/interface.d.ts +57 -0
  607. package/pagination/PageItem.d.ts +18 -0
  608. package/pagination/PageItem.js +71 -114
  609. package/pagination/PageJumper.d.ts +13 -0
  610. package/pagination/PageJumper.js +64 -58
  611. package/pagination/PageOption.d.ts +17 -0
  612. package/pagination/PageOption.js +59 -121
  613. package/pagination/Pagination.d.ts +11 -0
  614. package/pagination/Pagination.js +206 -249
  615. package/pagination/index.d.ts +5 -0
  616. package/pagination/index.js +6 -5
  617. package/pagination/interface.d.ts +179 -0
  618. package/pagination/interface.js +9 -5
  619. package/picker/Input.d.ts +3 -0
  620. package/picker/Input.js +92 -135
  621. package/picker/InputRange.d.ts +3 -0
  622. package/picker/InputRange.js +129 -167
  623. package/picker/index.d.ts +3 -0
  624. package/picker/index.js +8 -7
  625. package/picker/interface.d.ts +57 -0
  626. package/popconfirm/Popconfirm.d.ts +6 -0
  627. package/popconfirm/Popconfirm.js +121 -0
  628. package/popconfirm/index.d.ts +6 -0
  629. package/popconfirm/index.js +7 -132
  630. package/popconfirm/interface.d.ts +109 -0
  631. package/popover/Popover.d.ts +6 -0
  632. package/popover/Popover.js +52 -73
  633. package/popover/index.d.ts +5 -0
  634. package/popover/index.js +6 -4
  635. package/popover/interface.d.ts +19 -0
  636. package/portal/Portal.d.ts +3 -0
  637. package/portal/Portal.js +21 -27
  638. package/portal/index.d.ts +4 -0
  639. package/portal/index.js +7 -5
  640. package/progress/CircleProgress.d.ts +8 -0
  641. package/progress/CircleProgress.js +101 -116
  642. package/progress/LineProgess.js +72 -92
  643. package/progress/Progress.d.ts +4 -0
  644. package/progress/Progress.js +82 -0
  645. package/progress/StepProgress.js +50 -65
  646. package/progress/index.d.ts +19 -0
  647. package/progress/index.js +16 -107
  648. package/progress/interface.d.ts +85 -0
  649. package/qr-code/QRCode.d.ts +5 -0
  650. package/qr-code/QRCode.js +50 -77
  651. package/qr-code/index.d.ts +5 -0
  652. package/qr-code/index.js +8 -7
  653. package/qr-code/src/index.js +195 -257
  654. package/qr-code/src/qrcodegen.d.ts +66 -0
  655. package/qr-code/src/qrcodegen.js +782 -943
  656. package/radio/Group.d.ts +8 -0
  657. package/radio/Group.js +81 -122
  658. package/radio/GroupBlock.d.ts +7 -0
  659. package/radio/GroupBlock.js +62 -117
  660. package/radio/Radio.d.ts +5 -0
  661. package/radio/Radio.js +74 -118
  662. package/radio/context.d.ts +2 -0
  663. package/radio/context.js +6 -0
  664. package/radio/index.d.ts +13 -0
  665. package/radio/index.js +15 -11
  666. package/radio/interface.d.ts +102 -0
  667. package/rate/Rate.d.ts +5 -0
  668. package/rate/Rate.js +98 -0
  669. package/rate/index.d.ts +4 -0
  670. package/rate/index.js +7 -135
  671. package/rate/interface.d.ts +66 -0
  672. package/resize-box/ResizeBox.d.ts +13 -0
  673. package/resize-box/ResizeBox.js +143 -0
  674. package/resize-box/ResizeTrigger.js +55 -71
  675. package/resize-box/Split.d.ts +4 -0
  676. package/resize-box/Split.js +95 -132
  677. package/resize-box/SplitGroup.d.ts +4 -0
  678. package/resize-box/SplitGroup.js +145 -197
  679. package/resize-box/index.d.ts +15 -0
  680. package/resize-box/index.js +12 -181
  681. package/result/403.js +720 -695
  682. package/result/404.js +508 -513
  683. package/result/500.js +176 -166
  684. package/result/Result.d.ts +6 -0
  685. package/result/Result.js +71 -0
  686. package/result/index.d.ts +6 -0
  687. package/result/index.js +7 -79
  688. package/rich-text/RichText.d.ts +8 -0
  689. package/rich-text/RichText.js +322 -454
  690. package/rich-text/Toolbar.js +555 -702
  691. package/rich-text/constant.d.ts +1 -0
  692. package/rich-text/constant.js +7 -6
  693. package/rich-text/index.d.ts +11 -0
  694. package/rich-text/index.js +19 -25
  695. package/rich-text/lib/blots/block.js +113 -127
  696. package/rich-text/lib/blots/break.js +19 -28
  697. package/rich-text/lib/blots/container.js +8 -15
  698. package/rich-text/lib/blots/cursor.js +95 -122
  699. package/rich-text/lib/blots/embed.js +46 -57
  700. package/rich-text/lib/blots/inline.js +49 -54
  701. package/rich-text/lib/blots/scroll.d.ts +43 -0
  702. package/rich-text/lib/blots/scroll.js +246 -277
  703. package/rich-text/lib/blots/text.js +15 -24
  704. package/rich-text/lib/core/composition.d.ts +9 -0
  705. package/rich-text/lib/core/composition.js +36 -40
  706. package/rich-text/lib/core/editor.js +241 -280
  707. package/rich-text/lib/core/emitter.js +46 -44
  708. package/rich-text/lib/core/logger.js +18 -17
  709. package/rich-text/lib/core/module.js +13 -13
  710. package/rich-text/lib/core/rich.d.ts +183 -0
  711. package/rich-text/lib/core/rich.js +359 -471
  712. package/rich-text/lib/core/selection.d.ts +71 -0
  713. package/rich-text/lib/core/selection.js +221 -278
  714. package/rich-text/lib/core/theme.js +31 -36
  715. package/rich-text/lib/core/utils/createRegistryWithFormats.js +28 -32
  716. package/rich-text/lib/core/utils/scrollRectIntoView.js +58 -68
  717. package/rich-text/lib/delta/AttributeMap.js +32 -39
  718. package/rich-text/lib/delta/Op.js +9 -8
  719. package/rich-text/lib/delta/OpIterator.js +44 -50
  720. package/rich-text/lib/delta/index.d.ts +53 -0
  721. package/rich-text/lib/delta/index.js +234 -314
  722. package/rich-text/lib/diff/index.js +266 -364
  723. package/rich-text/lib/formats/align.js +20 -28
  724. package/rich-text/lib/formats/background.js +11 -28
  725. package/rich-text/lib/formats/blockquote.js +15 -14
  726. package/rich-text/lib/formats/bold.js +23 -22
  727. package/rich-text/lib/formats/code.js +37 -51
  728. package/rich-text/lib/formats/color.js +16 -36
  729. package/rich-text/lib/formats/direction.js +15 -28
  730. package/rich-text/lib/formats/emoji.js +19 -18
  731. package/rich-text/lib/formats/font.js +51 -67
  732. package/rich-text/lib/formats/formula.js +33 -32
  733. package/rich-text/lib/formats/header.js +24 -25
  734. package/rich-text/lib/formats/hr.js +16 -21
  735. package/rich-text/lib/formats/image.js +45 -47
  736. package/rich-text/lib/formats/indent.js +38 -41
  737. package/rich-text/lib/formats/italic.js +15 -14
  738. package/rich-text/lib/formats/lineHeight.js +11 -21
  739. package/rich-text/lib/formats/link.js +46 -40
  740. package/rich-text/lib/formats/list.js +35 -42
  741. package/rich-text/lib/formats/script.js +21 -22
  742. package/rich-text/lib/formats/size.js +26 -32
  743. package/rich-text/lib/formats/strike.js +15 -14
  744. package/rich-text/lib/formats/table.js +133 -144
  745. package/rich-text/lib/formats/underline.js +13 -12
  746. package/rich-text/lib/formats/video.js +39 -42
  747. package/rich-text/lib/index.js +113 -121
  748. package/rich-text/lib/modules/clipboard.d.ts +44 -0
  749. package/rich-text/lib/modules/clipboard.js +281 -374
  750. package/rich-text/lib/modules/history.d.ts +38 -0
  751. package/rich-text/lib/modules/history.js +115 -113
  752. package/rich-text/lib/modules/image-resize/index.js +78 -81
  753. package/rich-text/lib/modules/image-resize/modules/Base.js +13 -43
  754. package/rich-text/lib/modules/image-resize/modules/DisplaySize.js +40 -49
  755. package/rich-text/lib/modules/image-resize/modules/Resize.js +61 -52
  756. package/rich-text/lib/modules/image-resize/options.js +10 -9
  757. package/rich-text/lib/modules/input.d.ts +8 -0
  758. package/rich-text/lib/modules/input.js +53 -61
  759. package/rich-text/lib/modules/keyboard.d.ts +60 -0
  760. package/rich-text/lib/modules/keyboard.js +415 -508
  761. package/rich-text/lib/modules/normalizeExternalHTML/index.js +10 -9
  762. package/rich-text/lib/modules/normalizeExternalHTML/normalizers/googleDocs.js +20 -17
  763. package/rich-text/lib/modules/normalizeExternalHTML/normalizers/msWord.js +37 -41
  764. package/rich-text/lib/modules/table.d.ts +22 -0
  765. package/rich-text/lib/modules/table.js +112 -102
  766. package/rich-text/lib/modules/toolbar.js +15 -13
  767. package/rich-text/lib/modules/uiNode.d.ts +11 -0
  768. package/rich-text/lib/modules/uiNode.js +51 -72
  769. package/rich-text/lib/modules/uploader.d.ts +17 -0
  770. package/rich-text/lib/modules/uploader.js +44 -46
  771. package/rich-text/lib/parchment/attributor/attributor.js +29 -31
  772. package/rich-text/lib/parchment/attributor/class.js +24 -23
  773. package/rich-text/lib/parchment/attributor/store.d.ts +14 -0
  774. package/rich-text/lib/parchment/attributor/store.js +43 -44
  775. package/rich-text/lib/parchment/attributor/style.js +23 -22
  776. package/rich-text/lib/parchment/blot/abstract/container.js +30 -28
  777. package/rich-text/lib/parchment/blot/abstract/leaf.js +24 -43
  778. package/rich-text/lib/parchment/blot/abstract/parent.js +154 -173
  779. package/rich-text/lib/parchment/blot/abstract/shadow.js +76 -81
  780. package/rich-text/lib/parchment/blot/block.js +70 -75
  781. package/rich-text/lib/parchment/blot/embed.js +17 -17
  782. package/rich-text/lib/parchment/blot/inline.js +72 -78
  783. package/rich-text/lib/parchment/blot/scroll.d.ts +35 -0
  784. package/rich-text/lib/parchment/blot/scroll.js +99 -103
  785. package/rich-text/lib/parchment/blot/text.js +55 -56
  786. package/rich-text/lib/parchment/collection/linked-list.js +85 -105
  787. package/rich-text/lib/parchment/error.js +9 -8
  788. package/rich-text/lib/parchment/index.js +36 -31
  789. package/rich-text/lib/parchment/registry.d.ts +18 -0
  790. package/rich-text/lib/parchment/registry.js +55 -57
  791. package/rich-text/lib/parchment/scope.js +8 -5
  792. package/row-col/Col-.js +63 -85
  793. package/row-col/Col.js +135 -142
  794. package/row-col/Row.js +57 -79
  795. package/row-col/context.js +7 -6
  796. package/row-col/index.d.ts +14 -0
  797. package/row-col/index.js +12 -13
  798. package/segmented/Segmented.js +210 -0
  799. package/segmented/index.d.ts +4 -0
  800. package/segmented/index.js +7 -272
  801. package/segmented/interface.d.ts +123 -0
  802. package/select/Option.d.ts +7 -0
  803. package/select/Option.js +69 -97
  804. package/select/OptionGroup.d.ts +7 -0
  805. package/select/OptionGroup.js +22 -22
  806. package/select/Select.d.ts +11 -0
  807. package/select/Select.js +400 -555
  808. package/select/index.d.ts +16 -0
  809. package/select/index.js +12 -9
  810. package/select/interface.d.ts +295 -0
  811. package/select/utils.d.ts +26 -0
  812. package/select/utils.js +93 -114
  813. package/select-view/Core.js +308 -411
  814. package/select-view/SelectView.js +60 -0
  815. package/select-view/index.d.ts +3 -0
  816. package/select-view/index.js +7 -75
  817. package/select-view/interface.d.ts +148 -0
  818. package/skeleton/Image.d.ts +3 -0
  819. package/skeleton/Image.js +17 -24
  820. package/skeleton/Skeleton.d.ts +7 -0
  821. package/skeleton/Skeleton.js +62 -0
  822. package/skeleton/Text.d.ts +4 -0
  823. package/skeleton/Text.js +23 -27
  824. package/skeleton/index.d.ts +11 -0
  825. package/skeleton/index.js +12 -60
  826. package/slider/Button.d.ts +21 -0
  827. package/slider/Button.js +120 -151
  828. package/slider/Dot.d.ts +17 -0
  829. package/slider/Dot.js +26 -43
  830. package/slider/Input.d.ts +16 -0
  831. package/slider/Input.js +56 -79
  832. package/slider/Mark.d.ts +16 -0
  833. package/slider/Mark.js +26 -28
  834. package/slider/Slider.d.ts +5 -0
  835. package/slider/Slider.js +247 -0
  836. package/slider/Tick.d.ts +14 -0
  837. package/slider/Tick.js +31 -41
  838. package/slider/hook/useInterval.d.ts +24 -0
  839. package/slider/hook/useInterval.js +92 -71
  840. package/slider/hook/useLegalValue.d.ts +16 -0
  841. package/slider/hook/useLegalValue.js +56 -65
  842. package/slider/index.js +18 -318
  843. package/slider/interface.d.ts +119 -0
  844. package/slider/utils.d.ts +11 -0
  845. package/slider/utils.js +50 -64
  846. package/space/Space.d.ts +5 -0
  847. package/space/Space.js +46 -0
  848. package/space/index.d.ts +8 -0
  849. package/space/index.js +7 -58
  850. package/space/interface.d.ts +10 -0
  851. package/speech-synthesis/SpeechSynthesis.d.ts +3 -0
  852. package/speech-synthesis/SpeechSynthesis.js +15 -0
  853. package/speech-synthesis/index.d.ts +4 -0
  854. package/speech-synthesis/index.js +7 -13
  855. package/speech-synthesis/interface.d.ts +7 -0
  856. package/spin/DotLoading.js +32 -25
  857. package/spin/Spin.d.ts +5 -0
  858. package/spin/Spin.js +78 -0
  859. package/spin/index.d.ts +7 -0
  860. package/spin/index.js +8 -113
  861. package/splitter/Panel.js +23 -40
  862. package/splitter/SplitBar.js +96 -157
  863. package/splitter/Splitter.js +86 -140
  864. package/splitter/hooks/useItems.js +23 -26
  865. package/splitter/hooks/useResizable.js +22 -17
  866. package/splitter/hooks/useResize.js +53 -69
  867. package/splitter/hooks/useSizes.js +56 -59
  868. package/splitter/index.d.ts +7 -0
  869. package/splitter/index.js +8 -9
  870. package/statistic/Statistic.d.ts +8 -0
  871. package/statistic/Statistic.js +108 -0
  872. package/statistic/index.d.ts +10 -0
  873. package/statistic/index.js +8 -124
  874. package/statistic/interface.js +8 -5
  875. package/steps/Step.d.ts +4 -0
  876. package/steps/Step.js +61 -68
  877. package/steps/Steps.d.ts +10 -0
  878. package/steps/Steps.js +62 -0
  879. package/steps/index.d.ts +12 -0
  880. package/steps/index.js +11 -97
  881. package/style.css +2 -1
  882. package/suspense-fallback-test/SuspenseFallbackTest.js +7 -0
  883. package/suspense-fallback-test/index.d.ts +2 -0
  884. package/suspense-fallback-test/index.js +7 -6
  885. package/suspense-fallback-test/interface.d.ts +2 -0
  886. package/switch/Switch.d.ts +11 -0
  887. package/switch/Switch.js +75 -0
  888. package/switch/index.d.ts +8 -0
  889. package/switch/index.js +7 -103
  890. package/switch/interface.d.ts +66 -0
  891. package/table/ColGroup.d.ts +13 -0
  892. package/table/ColGroup.js +46 -68
  893. package/table/Table.d.ts +10 -0
  894. package/table/Table.js +501 -660
  895. package/table/constant.d.ts +5 -0
  896. package/table/constant.js +35 -42
  897. package/table/context.js +7 -10
  898. package/table/hook/useColumns.d.ts +3 -0
  899. package/table/hook/useColumns.js +112 -140
  900. package/table/hook/useComponent.d.ts +31 -0
  901. package/table/hook/useComponent.js +25 -24
  902. package/table/hook/useExpand.d.ts +4 -0
  903. package/table/hook/useExpand.js +32 -44
  904. package/table/hook/useRowSelection.d.ts +13 -0
  905. package/table/hook/useRowSelection.js +71 -93
  906. package/table/hook/useSorter.d.ts +8 -0
  907. package/table/hook/useSorter.js +50 -57
  908. package/table/hook/useStickyClassNames.d.ts +3 -0
  909. package/table/hook/useStickyClassNames.js +23 -30
  910. package/table/hook/useStickyOffsets.d.ts +3 -0
  911. package/table/hook/useStickyOffsets.js +27 -28
  912. package/table/hook/useThResizable.js +35 -36
  913. package/table/index.js +40 -39
  914. package/table/interface.d.ts +729 -0
  915. package/table/summary/Cell.js +20 -10
  916. package/table/summary/Row.js +29 -24
  917. package/table/summary/context.d.ts +9 -0
  918. package/table/summary/context.js +7 -6
  919. package/table/summary/index.d.ts +11 -0
  920. package/table/summary/index.js +11 -12
  921. package/table/tbody/DataRecordRenderer.d.ts +11 -0
  922. package/table/tbody/DataRecordRenderer.js +58 -0
  923. package/table/tbody/Td.d.ts +4 -0
  924. package/table/tbody/Td.js +145 -213
  925. package/table/tbody/Tr.d.ts +9 -0
  926. package/table/tbody/Tr.js +153 -196
  927. package/table/tbody/index.d.ts +3 -0
  928. package/table/tbody/index.js +81 -177
  929. package/table/tfoot/index.d.ts +3 -0
  930. package/table/tfoot/index.js +26 -17
  931. package/table/th-resizable/index.js +49 -56
  932. package/table/thead/Column.d.ts +3 -0
  933. package/table/thead/Column.js +193 -261
  934. package/table/thead/index.d.ts +3 -0
  935. package/table/thead/index.js +91 -131
  936. package/table/utils.d.ts +16 -0
  937. package/table/utils.js +71 -107
  938. package/tabs/TabContent.d.ts +3 -0
  939. package/tabs/TabContent.js +36 -51
  940. package/tabs/TabPane.d.ts +4 -0
  941. package/tabs/TabPane.js +27 -33
  942. package/tabs/Tabs.d.ts +11 -0
  943. package/tabs/Tabs.js +137 -185
  944. package/tabs/context.js +7 -7
  945. package/tabs/hook/useDomSize.d.ts +12 -0
  946. package/tabs/hook/useDomSize.js +22 -17
  947. package/tabs/hook/useHeaderScroll.d.ts +12 -0
  948. package/tabs/hook/useHeaderScroll.js +73 -58
  949. package/tabs/index.d.ts +25 -0
  950. package/tabs/index.js +14 -14
  951. package/tabs/interface.d.ts +228 -0
  952. package/tabs/tab-header/DropdownIcon.js +65 -73
  953. package/tabs/tab-header/TabInk.js +58 -65
  954. package/tabs/tab-header/TabNavIcon.d.ts +17 -0
  955. package/tabs/tab-header/TabNavIcon.js +61 -66
  956. package/tabs/tab-header/TabTitle.js +59 -80
  957. package/tabs/tab-header/index.d.ts +4 -0
  958. package/tabs/tab-header/index.js +250 -320
  959. package/tabs/utils.js +20 -23
  960. package/tag/Tag.d.ts +4 -0
  961. package/tag/Tag.js +101 -0
  962. package/tag/index.d.ts +6 -0
  963. package/tag/index.js +8 -152
  964. package/tag/interface.d.ts +70 -0
  965. package/tag/utils.d.ts +1 -0
  966. package/tag/utils.js +19 -0
  967. package/time-picker/Picker.d.ts +3 -0
  968. package/time-picker/Picker.js +173 -231
  969. package/time-picker/TimeColumn.js +46 -59
  970. package/time-picker/TimePicker.d.ts +3 -0
  971. package/time-picker/TimePicker.js +160 -241
  972. package/time-picker/TimePickerRange.d.ts +3 -0
  973. package/time-picker/TimePickerRange.js +45 -59
  974. package/time-picker/context.d.ts +6 -0
  975. package/time-picker/context.js +6 -10
  976. package/time-picker/index.d.ts +10 -0
  977. package/time-picker/index.js +24 -25
  978. package/time-picker/interface.d.ts +264 -0
  979. package/time-picker/utils.js +29 -23
  980. package/timeline/Item.d.ts +8 -0
  981. package/timeline/Item.js +70 -92
  982. package/timeline/Timeline.d.ts +11 -0
  983. package/timeline/Timeline.js +54 -79
  984. package/timeline/index.d.ts +13 -0
  985. package/timeline/index.js +8 -7
  986. package/timer/Timer.js +28 -0
  987. package/timer/index.d.ts +2 -0
  988. package/timer/index.js +7 -39
  989. package/timer/interface.d.ts +6 -0
  990. package/tooltip/Tooltip.d.ts +6 -0
  991. package/tooltip/Tooltip.js +103 -133
  992. package/tooltip/index.d.ts +5 -0
  993. package/tooltip/index.js +7 -5
  994. package/tooltip/interface.d.ts +95 -0
  995. package/tour/Tour.js +211 -0
  996. package/tour/index.d.ts +4 -0
  997. package/tour/index.js +7 -287
  998. package/transfer/Item.d.ts +3 -0
  999. package/transfer/Item.js +76 -113
  1000. package/transfer/List.d.ts +5 -0
  1001. package/transfer/List.js +164 -213
  1002. package/transfer/Transfer.d.ts +5 -0
  1003. package/transfer/Transfer.js +139 -0
  1004. package/transfer/index.d.ts +4 -0
  1005. package/transfer/index.js +7 -192
  1006. package/transfer/interface.d.ts +219 -0
  1007. package/tree/Animation.d.ts +4 -0
  1008. package/tree/Animation.js +103 -101
  1009. package/tree/Context.d.ts +28 -0
  1010. package/tree/Context2.js +7 -0
  1011. package/tree/Node.d.ts +10 -0
  1012. package/tree/Node.js +194 -208
  1013. package/tree/NodeList.js +74 -83
  1014. package/tree/Tree.d.ts +11 -0
  1015. package/tree/Tree.js +425 -540
  1016. package/tree/context.js +7 -6
  1017. package/tree/index.js +20 -9
  1018. package/tree/interface.d.ts +371 -0
  1019. package/tree/utils.d.ts +15 -0
  1020. package/tree/utils.js +62 -72
  1021. package/tree-select/List.d.ts +11 -0
  1022. package/tree-select/List.js +113 -122
  1023. package/tree-select/TreeSelect.d.ts +13 -0
  1024. package/tree-select/TreeSelect.js +213 -0
  1025. package/tree-select/hook/useKeyCache.d.ts +6 -0
  1026. package/tree-select/hook/useKeyCache.js +49 -55
  1027. package/tree-select/hook/useStateValue.d.ts +19 -0
  1028. package/tree-select/hook/useStateValue.js +69 -93
  1029. package/tree-select/hook/useTreeData.d.ts +4 -0
  1030. package/tree-select/hook/useTreeData.js +14 -13
  1031. package/tree-select/index.d.ts +17 -0
  1032. package/tree-select/index.js +14 -7
  1033. package/tree-select/interface.d.ts +196 -0
  1034. package/tree-select/interface.js +15 -13
  1035. package/tree-select/utils.js +9 -8
  1036. package/trigger/Trigger.d.ts +9 -0
  1037. package/trigger/Trigger.js +494 -0
  1038. package/trigger/getPopupStyle.d.ts +14 -0
  1039. package/trigger/getPopupStyle.js +166 -213
  1040. package/trigger/index.d.ts +6 -0
  1041. package/trigger/index.js +8 -622
  1042. package/trigger/interface.d.ts +258 -0
  1043. package/trigger/utils.d.ts +1 -0
  1044. package/trigger/utils.js +15 -0
  1045. package/typography/Base.d.ts +8 -0
  1046. package/typography/Base.js +139 -189
  1047. package/typography/EditContent.d.ts +4 -0
  1048. package/typography/EditContent.js +53 -58
  1049. package/typography/Ellipsis.d.ts +6 -0
  1050. package/typography/Ellipsis.js +140 -174
  1051. package/typography/Operations.d.ts +4 -0
  1052. package/typography/Operations.js +49 -76
  1053. package/typography/Paragraph.d.ts +3 -0
  1054. package/typography/Paragraph.js +21 -25
  1055. package/typography/Text.js +16 -11
  1056. package/typography/Title.d.ts +3 -0
  1057. package/typography/Title.js +18 -12
  1058. package/typography/Typography.d.ts +3 -0
  1059. package/typography/Typography.js +22 -18
  1060. package/typography/index.d.ts +23 -0
  1061. package/typography/index.js +22 -16
  1062. package/typography/interface.d.ts +277 -0
  1063. package/typography/useCssEllipsis.d.ts +6 -0
  1064. package/typography/useCssEllipsis.js +40 -37
  1065. package/typography/useEllipsis.d.ts +21 -0
  1066. package/typography/useEllipsis.js +148 -148
  1067. package/upload/TriggerNode.d.ts +6 -0
  1068. package/upload/TriggerNode.js +86 -114
  1069. package/upload/Upload.d.ts +7 -0
  1070. package/upload/Upload.js +157 -234
  1071. package/upload/Uploader.d.ts +15 -0
  1072. package/upload/Uploader.js +158 -208
  1073. package/upload/constant.d.ts +4 -0
  1074. package/upload/constant.js +10 -9
  1075. package/upload/index.d.ts +26 -0
  1076. package/upload/index.js +16 -9
  1077. package/upload/interface.d.ts +336 -0
  1078. package/upload/list/PictureItem.d.ts +8 -0
  1079. package/upload/list/PictureItem.js +109 -117
  1080. package/upload/list/TextItem.d.ts +8 -0
  1081. package/upload/list/TextItem.js +114 -121
  1082. package/upload/list/UploadProgress.d.ts +14 -0
  1083. package/upload/list/UploadProgress.js +86 -90
  1084. package/upload/list/index.d.ts +6 -0
  1085. package/upload/list/index.js +70 -104
  1086. package/upload/list/utils.d.ts +2 -0
  1087. package/upload/list/utils.js +32 -18
  1088. package/upload/request.d.ts +3 -0
  1089. package/upload/request.js +33 -49
  1090. package/upload/utils.d.ts +4 -0
  1091. package/upload/utils.js +50 -59
  1092. package/utils/callOrReturn.js +4 -6
  1093. package/utils/callbackOriginRef.js +7 -7
  1094. package/utils/caseName.js +7 -7
  1095. package/utils/className.js +7 -8
  1096. package/utils/constant.d.ts +4 -0
  1097. package/utils/constant.js +20 -23
  1098. package/utils/contextHolder.d.ts +10 -0
  1099. package/utils/contextHolder.js +26 -28
  1100. package/utils/copy.js +7 -8
  1101. package/utils/date.js +4 -8
  1102. package/utils/dayjs.js +125 -164
  1103. package/utils/dom.js +4 -14
  1104. package/utils/emitter.js +7 -12
  1105. package/utils/fileRead.js +4 -6
  1106. package/utils/fileToDataURL.js +4 -6
  1107. package/utils/fillNBSP.js +7 -7
  1108. package/utils/findRootElement.js +7 -7
  1109. package/utils/findScrollParent.js +7 -6
  1110. package/utils/getHighlightText.js +7 -7
  1111. package/utils/getHotkeyHandler.d.ts +5 -0
  1112. package/utils/getHotkeyHandler.js +7 -7
  1113. package/utils/getStringLength.js +7 -7
  1114. package/utils/include.js +7 -7
  1115. package/utils/index.js +337 -332
  1116. package/utils/intersectionObserver.js +7 -6
  1117. package/utils/is.d.ts +1 -0
  1118. package/utils/is.js +107 -97
  1119. package/utils/keyboardCode.js +8 -30
  1120. package/utils/lodash.js +5 -64
  1121. package/utils/math.js +4 -10
  1122. package/utils/mergeProps.js +7 -7
  1123. package/utils/mergedToString.js +7 -7
  1124. package/utils/mutationObserver.js +7 -6
  1125. package/utils/names.d.ts +1023 -0
  1126. package/utils/names.js +1030 -1041
  1127. package/utils/omit.js +7 -7
  1128. package/utils/pad.js +4 -6
  1129. package/utils/pick.js +7 -8
  1130. package/utils/pinyin.js +4 -6
  1131. package/utils/react19Adapter.js +2 -1
  1132. package/utils/ref.js +4 -11
  1133. package/utils/resizeObserver.js +7 -6
  1134. package/utils/responsiveObserve.js +64 -79
  1135. package/utils/saveAs.js +7 -7
  1136. package/utils/screenfull.js +7 -7
  1137. package/utils/scrollIntoViewIfNeeded.js +7 -7
  1138. package/utils/setCreateRoot.js +7 -7
  1139. package/utils/setDarkTheme.js +18 -16
  1140. package/utils/setPrimaryColor.js +12 -9
  1141. package/utils/setTheme.js +11 -8
  1142. package/utils/string.js +4 -6
  1143. package/utils/style.js +4 -7
  1144. package/utils/throttleByRaf.js +4 -6
  1145. package/utils/throttleByRaf2.js +4 -6
  1146. package/utils/toArray.js +7 -7
  1147. package/utils/tree.js +4 -12
  1148. package/utils/tween.js +4 -7
  1149. package/utils/uuid.js +4 -7
  1150. package/utils/validate.d.ts +2 -0
  1151. package/utils/validate.js +4 -16
  1152. package/utils/warning.js +4 -6
  1153. package/verification-code/VerificationCode.d.ts +4 -0
  1154. package/verification-code/VerificationCode.js +74 -105
  1155. package/verification-code/index.d.ts +8 -0
  1156. package/verification-code/index.js +8 -7
  1157. package/verification-code/interface.d.ts +74 -0
  1158. package/version/index.d.ts +5 -0
  1159. package/version/index.js +30 -8
  1160. package/virtual-list/Filler.js +36 -31
  1161. package/virtual-list/VirtualList.js +296 -368
  1162. package/virtual-list/constant.js +7 -7
  1163. package/virtual-list/hook/useCacheChildrenNodes.d.ts +4 -0
  1164. package/virtual-list/hook/useCacheChildrenNodes.js +11 -10
  1165. package/virtual-list/hook/useComputeVirtualItemHeight.d.ts +3 -0
  1166. package/virtual-list/hook/useComputeVirtualItemHeight.js +16 -18
  1167. package/virtual-list/index.js +8 -5
  1168. package/virtual-list/interface.d.ts +55 -0
  1169. package/virtual-list/utils/algorithm.d.ts +23 -0
  1170. package/virtual-list/utils/algorithm.js +32 -31
  1171. package/virtual-list/utils/item.js +71 -91
  1172. package/watermark/Watermark.d.ts +3 -0
  1173. package/watermark/Watermark.js +57 -68
  1174. package/watermark/index.d.ts +8 -0
  1175. package/watermark/index.js +8 -7
  1176. package/Affix.js +0 -5
  1177. package/Alert.js +0 -5
  1178. package/Anchor.js +0 -9
  1179. package/App.js +0 -10
  1180. package/AutoComplete.js +0 -7
  1181. package/Avatar.js +0 -10
  1182. package/BackTop.js +0 -5
  1183. package/Badge.js +0 -9
  1184. package/Breadcrumb.js +0 -9
  1185. package/Button.js +0 -9
  1186. package/Calendar.js +0 -21
  1187. package/Card.js +0 -16
  1188. package/Carousel.js +0 -18
  1189. package/Cascader.js +0 -5
  1190. package/Checkbox.js +0 -14
  1191. package/Collapse.js +0 -9
  1192. package/ColorPicker.js +0 -30
  1193. package/Comment.js +0 -13
  1194. package/ConfigProvider.js +0 -9
  1195. package/Constant.js +0 -6
  1196. package/Copy.js +0 -18
  1197. package/Countdown.js +0 -16
  1198. package/DatePicker.js +0 -23
  1199. package/Descriptions.js +0 -66
  1200. package/Details.js +0 -17
  1201. package/Development.js +0 -11
  1202. package/Divider.js +0 -12
  1203. package/Draggable.js +0 -11
  1204. package/Draw.js +0 -6
  1205. package/Drawer.js +0 -5
  1206. package/Dropdown.js +0 -21
  1207. package/Empty.js +0 -11
  1208. package/Flex.js +0 -13
  1209. package/Form.js +0 -30
  1210. package/GlobalProvider.js +0 -11
  1211. package/Grid.js +0 -14
  1212. package/Icon.js +0 -11
  1213. package/IconHover.js +0 -11
  1214. package/Image.js +0 -11
  1215. package/Input.js +0 -20
  1216. package/InputNumber.js +0 -25
  1217. package/InputTag.js +0 -5
  1218. package/Layout.js +0 -23
  1219. package/Link.js +0 -13
  1220. package/LiquidFill.js +0 -14
  1221. package/List.js +0 -23
  1222. package/Loading.js +0 -11
  1223. package/Marquee.js +0 -214
  1224. package/Mask.js +0 -5
  1225. package/Masonry.js +0 -5
  1226. package/Mentions.js +0 -17
  1227. package/Menu.js +0 -16
  1228. package/Message.js +0 -7
  1229. package/Modal.js +0 -7
  1230. package/Notice.js +0 -5
  1231. package/Notification.js +0 -7
  1232. package/OverflowEllipsis.js +0 -14
  1233. package/PageHeader.js +0 -20
  1234. package/Pagination.js +0 -7
  1235. package/Picker.js +0 -7
  1236. package/Popconfirm.js +0 -16
  1237. package/Popover.js +0 -5
  1238. package/Portal.js +0 -5
  1239. package/Progress.js +0 -15
  1240. package/Progress2.js +0 -6
  1241. package/QrCode.js +0 -7
  1242. package/Radio.js +0 -11
  1243. package/Rate.js +0 -20
  1244. package/ResizeBox.js +0 -20
  1245. package/Result.js +0 -18
  1246. package/RichText.js +0 -25
  1247. package/RowCol.js +0 -11
  1248. package/Segmented.js +0 -14
  1249. package/Select.js +0 -9
  1250. package/SelectView.js +0 -12
  1251. package/Skeleton.js +0 -15
  1252. package/Slider.js +0 -26
  1253. package/Space.js +0 -13
  1254. package/SpeechSynthesis.js +0 -10
  1255. package/Spin.js +0 -18
  1256. package/Splitter.js +0 -8
  1257. package/Statistic.js +0 -19
  1258. package/Steps.js +0 -16
  1259. package/SuspenseFallbackTest.js +0 -5
  1260. package/Switch.js +0 -16
  1261. package/Table.js +0 -38
  1262. package/Tabs.js +0 -15
  1263. package/Tag.js +0 -19
  1264. package/TimePicker.js +0 -13
  1265. package/Timeline.js +0 -7
  1266. package/Timer.js +0 -12
  1267. package/Tooltip.js +0 -5
  1268. package/Tour.js +0 -23
  1269. package/Transfer.js +0 -19
  1270. package/Tree.js +0 -9
  1271. package/TreeSelect.js +0 -7
  1272. package/Trigger.js +0 -24
  1273. package/Typography.js +0 -14
  1274. package/Upload.js +0 -9
  1275. package/VerificationCode.js +0 -7
  1276. package/VirtualList.js +0 -5
  1277. package/Watermark.js +0 -7
  1278. package/calendar/Lunar.js +0 -71
  1279. package/hooks/useBreakpoint.js +0 -8
  1280. package/hooks/useComputedState.js +0 -5
  1281. package/hooks/useCreate.js +0 -5
  1282. package/hooks/useCreation.js +0 -5
  1283. package/hooks/useEvent.js +0 -5
  1284. package/hooks/useEventListener.js +0 -5
  1285. package/hooks/useForceUpdate.js +0 -5
  1286. package/hooks/useFullscreen.js +0 -5
  1287. package/hooks/useId.js +0 -5
  1288. package/hooks/useInView.js +0 -5
  1289. package/hooks/useIntersectionObserver.js +0 -5
  1290. package/hooks/useIntersectionObservers.js +0 -5
  1291. package/hooks/useInterval.js +0 -5
  1292. package/hooks/useIsFirstRender.js +0 -5
  1293. package/hooks/useIsomorphicLayoutEffect.js +0 -5
  1294. package/hooks/useKeyboardEvent.js +0 -5
  1295. package/hooks/useLatest.js +0 -5
  1296. package/hooks/useListenWindowResize.js +0 -5
  1297. package/hooks/useMedia.js +0 -5
  1298. package/hooks/useMergeProps.js +0 -5
  1299. package/hooks/useMergeValue.js +0 -5
  1300. package/hooks/useMove.js +0 -5
  1301. package/hooks/useMutationObservers.js +0 -5
  1302. package/hooks/useOnlineStatus.js +0 -5
  1303. package/hooks/useOverflowHidden.js +0 -5
  1304. package/hooks/useOverrideRef.js +0 -5
  1305. package/hooks/usePersistCallback.js +0 -5
  1306. package/hooks/usePrefersColorSchemeDark.js +0 -5
  1307. package/hooks/usePrevious.js +0 -5
  1308. package/hooks/useRefs.js +0 -6
  1309. package/hooks/useResizeObserver.js +0 -5
  1310. package/hooks/useResizeObservers.js +0 -5
  1311. package/hooks/useResponsiveState.js +0 -11
  1312. package/hooks/useSetState.js +0 -5
  1313. package/hooks/useStateCallback.js +0 -5
  1314. package/hooks/useStateWithPromise.js +0 -5
  1315. package/hooks/useUpdateEffect.js +0 -5
  1316. package/hooks/useUpdateLayoutEffect.js +0 -5
  1317. package/hooks/useVerificationCode.js +0 -10
  1318. package/hooks/useWatch.js +0 -5
  1319. package/hooks/useWatermark.js +0 -11
  1320. package/hooks/useWindowSize.js +0 -5
  1321. package/icons/file.js +0 -11
  1322. package/progress2/index.js +0 -6
  1323. package/tree-select/Select.js +0 -262
  1324. package/types/affix/Affix.d.ts +0 -10
  1325. package/types/affix/index.d.ts +0 -3
  1326. package/types/alert/Alert.d.ts +0 -5
  1327. package/types/alert/index.d.ts +0 -3
  1328. package/types/anchor/Anchor.d.ts +0 -12
  1329. package/types/anchor/Link.d.ts +0 -6
  1330. package/types/anchor/context.d.ts +0 -3
  1331. package/types/anchor/index.d.ts +0 -4
  1332. package/types/anchor/utils.d.ts +0 -5
  1333. package/types/app/context.d.ts +0 -4
  1334. package/types/app/useApp.d.ts +0 -3
  1335. package/types/auto-complete/AutoComplete.d.ts +0 -17
  1336. package/types/auto-complete/index.d.ts +0 -4
  1337. package/types/auto-complete/interface.d.ts +0 -122
  1338. package/types/avatar/Avatar.d.ts +0 -8
  1339. package/types/avatar/Group.d.ts +0 -6
  1340. package/types/avatar/context.d.ts +0 -3
  1341. package/types/avatar/index.d.ts +0 -9
  1342. package/types/avatar/interface.d.ts +0 -91
  1343. package/types/back-top/BackTop.d.ts +0 -6
  1344. package/types/back-top/index.d.ts +0 -3
  1345. package/types/badge/Badge.d.ts +0 -11
  1346. package/types/badge/index.d.ts +0 -4
  1347. package/types/breadcrumb/Breadcrumb.d.ts +0 -10
  1348. package/types/breadcrumb/Item.d.ts +0 -8
  1349. package/types/breadcrumb/context.d.ts +0 -4
  1350. package/types/breadcrumb/index.d.ts +0 -6
  1351. package/types/breadcrumb/interface.d.ts +0 -79
  1352. package/types/button/Button.d.ts +0 -19
  1353. package/types/button/Group.d.ts +0 -5
  1354. package/types/button/index.d.ts +0 -4
  1355. package/types/button/interface.d.ts +0 -114
  1356. package/types/calendar/Lunar.d.ts +0 -17
  1357. package/types/calendar/Month.d.ts +0 -15
  1358. package/types/calendar/Year.d.ts +0 -13
  1359. package/types/calendar/index.d.ts +0 -7
  1360. package/types/card/Grid.d.ts +0 -5
  1361. package/types/card/Meta.d.ts +0 -5
  1362. package/types/card/index.d.ts +0 -12
  1363. package/types/carousel/Arrow.d.ts +0 -4
  1364. package/types/carousel/Indicator.d.ts +0 -4
  1365. package/types/carousel/index.d.ts +0 -5
  1366. package/types/cascader/Cascader.d.ts +0 -17
  1367. package/types/cascader/base/node.d.ts +0 -78
  1368. package/types/cascader/base/store.d.ts +0 -44
  1369. package/types/cascader/index.d.ts +0 -5
  1370. package/types/cascader/interface.d.ts +0 -297
  1371. package/types/cascader/panel/List.d.ts +0 -4
  1372. package/types/cascader/panel/Option.d.ts +0 -23
  1373. package/types/cascader/panel/Search.d.ts +0 -28
  1374. package/types/cascader/utils.d.ts +0 -23
  1375. package/types/checkbox/Checkbox.d.ts +0 -18
  1376. package/types/checkbox/Group.d.ts +0 -9
  1377. package/types/checkbox/GroupBlock.d.ts +0 -8
  1378. package/types/checkbox/index.d.ts +0 -5
  1379. package/types/checkbox/interface.d.ts +0 -102
  1380. package/types/collapse/Collapse.d.ts +0 -13
  1381. package/types/collapse/Item.d.ts +0 -8
  1382. package/types/collapse/context.d.ts +0 -5
  1383. package/types/collapse/index.d.ts +0 -5
  1384. package/types/color-picker/ControlBar.d.ts +0 -18
  1385. package/types/color-picker/InputAlpha.d.ts +0 -7
  1386. package/types/color-picker/InputHex.d.ts +0 -11
  1387. package/types/color-picker/InputRgb.d.ts +0 -10
  1388. package/types/color-picker/Mode.d.ts +0 -7
  1389. package/types/color-picker/Palette.d.ts +0 -7
  1390. package/types/color-picker/Panel.d.ts +0 -30
  1391. package/types/color-picker/colors.d.ts +0 -2
  1392. package/types/color-picker/hooks/useColorPicker.d.ts +0 -39
  1393. package/types/color-picker/hooks/useControlBlock.d.ts +0 -18
  1394. package/types/color-picker/index.d.ts +0 -12
  1395. package/types/color-picker/interface.d.ts +0 -148
  1396. package/types/color-picker/utils.d.ts +0 -28
  1397. package/types/comment/index.d.ts +0 -6
  1398. package/types/config-provider/ConfigProvider.d.ts +0 -11
  1399. package/types/config-provider/context.d.ts +0 -5
  1400. package/types/config-provider/index.d.ts +0 -4
  1401. package/types/config-provider/interface.d.ts +0 -273
  1402. package/types/constant/index.d.ts +0 -2
  1403. package/types/copy/index.d.ts +0 -7
  1404. package/types/countdown/index.d.ts +0 -4
  1405. package/types/date-picker/DatePickerRange.d.ts +0 -3
  1406. package/types/date-picker/Picker.d.ts +0 -4
  1407. package/types/date-picker/context.d.ts +0 -6
  1408. package/types/date-picker/index.d.ts +0 -11
  1409. package/types/date-picker/interface.d.ts +0 -530
  1410. package/types/date-picker/panel/Body.d.ts +0 -30
  1411. package/types/date-picker/panel/Header.d.ts +0 -22
  1412. package/types/date-picker/panel/Shortcut.d.ts +0 -3
  1413. package/types/date-picker/panel/month/index.d.ts +0 -17
  1414. package/types/date-picker/panel/quarter/index.d.ts +0 -17
  1415. package/types/date-picker/panel/range/index.d.ts +0 -28
  1416. package/types/date-picker/panel/week/index.d.ts +0 -16
  1417. package/types/date-picker/panel/year/index.d.ts +0 -16
  1418. package/types/date-picker/utils.d.ts +0 -11
  1419. package/types/descriptions/index.d.ts +0 -4
  1420. package/types/descriptions/interface.d.ts +0 -80
  1421. package/types/details/index.d.ts +0 -5
  1422. package/types/divider/index.d.ts +0 -10
  1423. package/types/draggable/Item.d.ts +0 -3
  1424. package/types/draggable/index.d.ts +0 -4
  1425. package/types/draw/Draw.d.ts +0 -6
  1426. package/types/draw/index.d.ts +0 -4
  1427. package/types/drawer/Drawer.d.ts +0 -5
  1428. package/types/drawer/index.d.ts +0 -3
  1429. package/types/drawer/interface.d.ts +0 -175
  1430. package/types/dropdown/Button.d.ts +0 -4
  1431. package/types/dropdown/index.d.ts +0 -10
  1432. package/types/dropdown/interface.d.ts +0 -100
  1433. package/types/empty/index.d.ts +0 -4
  1434. package/types/empty/interface.d.ts +0 -8
  1435. package/types/flex/index.d.ts +0 -11
  1436. package/types/flex/interface.d.ts +0 -9
  1437. package/types/form/Control.d.ts +0 -65
  1438. package/types/form/Form.d.ts +0 -6
  1439. package/types/form/FormItem.d.ts +0 -7
  1440. package/types/form/FormItemTip.d.ts +0 -3
  1441. package/types/form/FormList.d.ts +0 -6
  1442. package/types/form/FormProvider.d.ts +0 -5
  1443. package/types/form/context.d.ts +0 -15
  1444. package/types/form/hook/useForm.d.ts +0 -5
  1445. package/types/form/hook/useFormContext.d.ts +0 -10
  1446. package/types/form/hook/useFormState.d.ts +0 -3
  1447. package/types/form/hook/useWatch.d.ts +0 -3
  1448. package/types/form/index.d.ts +0 -32
  1449. package/types/form/interface.d.ts +0 -552
  1450. package/types/form/store.d.ts +0 -99
  1451. package/types/form/utils.d.ts +0 -17
  1452. package/types/global-provider/context.d.ts +0 -3
  1453. package/types/global-provider/index.d.ts +0 -11
  1454. package/types/grid/Item.d.ts +0 -4
  1455. package/types/grid/index.d.ts +0 -11
  1456. package/types/grid/interface.d.ts +0 -114
  1457. package/types/grid/utils.d.ts +0 -2
  1458. package/types/hooks/use-breakpoint/index.d.ts +0 -3
  1459. package/types/hooks/use-verification-code/index.d.ts +0 -3
  1460. package/types/hooks/use-watermark/index.d.ts +0 -3
  1461. package/types/icon/Icon.d.ts +0 -8
  1462. package/types/icon/index.d.ts +0 -2
  1463. package/types/icon-hover/index.d.ts +0 -6
  1464. package/types/icon-hover/interface.d.ts +0 -8
  1465. package/types/icons/file/index.d.ts +0 -4
  1466. package/types/icons/file/interface.d.ts +0 -7
  1467. package/types/image/Image.d.ts +0 -14
  1468. package/types/image/ImageFooter.d.ts +0 -13
  1469. package/types/image/ImagePreview.d.ts +0 -7
  1470. package/types/image/ImagePreviewGroup.d.ts +0 -11
  1471. package/types/image/ImagePreviewToolbar.d.ts +0 -14
  1472. package/types/image/TriggerForToolbar.d.ts +0 -10
  1473. package/types/image/context.d.ts +0 -24
  1474. package/types/image/index.d.ts +0 -4
  1475. package/types/image/interface.d.ts +0 -257
  1476. package/types/image/utils/getScale.d.ts +0 -13
  1477. package/types/image/utils/hook/useShowFooter.d.ts +0 -8
  1478. package/types/index.d.ts +0 -195
  1479. package/types/input/Button.d.ts +0 -5
  1480. package/types/input/Group.d.ts +0 -7
  1481. package/types/input/Input.d.ts +0 -25
  1482. package/types/input/InputElement.d.ts +0 -4
  1483. package/types/input/Password.d.ts +0 -5
  1484. package/types/input/Search.d.ts +0 -5
  1485. package/types/input/Textarea.d.ts +0 -9
  1486. package/types/input/index.d.ts +0 -8
  1487. package/types/input/interface.d.ts +0 -318
  1488. package/types/input/useComposition.d.ts +0 -18
  1489. package/types/input-number/index.d.ts +0 -6
  1490. package/types/input-number/interface.d.ts +0 -128
  1491. package/types/input-tag/InputTag.d.ts +0 -7
  1492. package/types/input-tag/index.d.ts +0 -3
  1493. package/types/input-tag/interface.d.ts +0 -187
  1494. package/types/layout/Content.d.ts +0 -3
  1495. package/types/layout/Footer.d.ts +0 -3
  1496. package/types/layout/Header.d.ts +0 -3
  1497. package/types/layout/Sider.d.ts +0 -8
  1498. package/types/layout/index.d.ts +0 -16
  1499. package/types/layout/interface.d.ts +0 -123
  1500. package/types/link/index.d.ts +0 -6
  1501. package/types/list/Item.d.ts +0 -8
  1502. package/types/list/Meta.d.ts +0 -4
  1503. package/types/list/index.d.ts +0 -13
  1504. package/types/list/interface.d.ts +0 -189
  1505. package/types/locale/ar-EG.d.ts +0 -4
  1506. package/types/locale/de-DE.d.ts +0 -4
  1507. package/types/locale/es-ES.d.ts +0 -4
  1508. package/types/locale/fr-FR.d.ts +0 -4
  1509. package/types/locale/id-ID.d.ts +0 -4
  1510. package/types/locale/it-IT.d.ts +0 -4
  1511. package/types/locale/ja-JP.d.ts +0 -4
  1512. package/types/locale/ko-KR.d.ts +0 -4
  1513. package/types/locale/ms-MY.d.ts +0 -4
  1514. package/types/locale/pt-BR.d.ts +0 -4
  1515. package/types/locale/pt-PT.d.ts +0 -4
  1516. package/types/locale/ru-RU.d.ts +0 -4
  1517. package/types/locale/th-TH.d.ts +0 -4
  1518. package/types/locale/tr-TR.d.ts +0 -4
  1519. package/types/locale/vi-VN.d.ts +0 -4
  1520. package/types/locale/zh-CN.d.ts +0 -4
  1521. package/types/locale/zh-HK.d.ts +0 -4
  1522. package/types/locale/zh-TW.d.ts +0 -4
  1523. package/types/marquee/interface.d.ts +0 -95
  1524. package/types/marquee-/index.d.ts +0 -8
  1525. package/types/marquee-/interface.d.ts +0 -56
  1526. package/types/mask/Mask.d.ts +0 -5
  1527. package/types/mask/index.d.ts +0 -2
  1528. package/types/masonry/hooks/useDelay.d.ts +0 -2
  1529. package/types/masonry/hooks/useGutter.d.ts +0 -5
  1530. package/types/masonry/index.d.ts +0 -2
  1531. package/types/masonry/interface.d.ts +0 -43
  1532. package/types/mentions/index.d.ts +0 -5
  1533. package/types/mentions/interface.d.ts +0 -88
  1534. package/types/mentions/utils.d.ts +0 -9
  1535. package/types/menu/Item.d.ts +0 -6
  1536. package/types/menu/ItemGroup.d.ts +0 -6
  1537. package/types/menu/Menu.d.ts +0 -16
  1538. package/types/menu/OverflowWrap.d.ts +0 -9
  1539. package/types/menu/context.d.ts +0 -15
  1540. package/types/menu/index.d.ts +0 -4
  1541. package/types/menu/interface.d.ts +0 -222
  1542. package/types/menu/sub-menu/Inline.d.ts +0 -5
  1543. package/types/menu/sub-menu/Pop.d.ts +0 -5
  1544. package/types/menu/sub-menu/index.d.ts +0 -6
  1545. package/types/message/Message.d.ts +0 -20
  1546. package/types/message/index.d.ts +0 -6
  1547. package/types/message/useMessage.d.ts +0 -5
  1548. package/types/modal/Confirm.d.ts +0 -15
  1549. package/types/modal/Modal.d.ts +0 -20
  1550. package/types/modal/config.d.ts +0 -9
  1551. package/types/modal/index.d.ts +0 -4
  1552. package/types/modal/interface.d.ts +0 -191
  1553. package/types/modal/use-modal/Hook.d.ts +0 -7
  1554. package/types/modal/use-modal/index.d.ts +0 -4
  1555. package/types/notice/Notice.d.ts +0 -4
  1556. package/types/notice/index.d.ts +0 -2
  1557. package/types/notification/Notification.d.ts +0 -22
  1558. package/types/notification/index.d.ts +0 -6
  1559. package/types/notification/interface.d.ts +0 -84
  1560. package/types/notification/useNotification.d.ts +0 -5
  1561. package/types/overflow-ellipsis/index.d.ts +0 -5
  1562. package/types/page-header/index.d.ts +0 -7
  1563. package/types/page-header/interface.d.ts +0 -57
  1564. package/types/pagination/PageItem.d.ts +0 -18
  1565. package/types/pagination/PageJumper.d.ts +0 -13
  1566. package/types/pagination/PageOption.d.ts +0 -17
  1567. package/types/pagination/Pagination.d.ts +0 -11
  1568. package/types/pagination/index.d.ts +0 -5
  1569. package/types/pagination/interface.d.ts +0 -179
  1570. package/types/picker/Input.d.ts +0 -3
  1571. package/types/picker/InputRange.d.ts +0 -3
  1572. package/types/picker/index.d.ts +0 -3
  1573. package/types/picker/interface.d.ts +0 -57
  1574. package/types/popconfirm/index.d.ts +0 -6
  1575. package/types/popconfirm/interface.d.ts +0 -108
  1576. package/types/popover/Popover.d.ts +0 -6
  1577. package/types/popover/index.d.ts +0 -3
  1578. package/types/popover/interface.d.ts +0 -19
  1579. package/types/portal/Portal.d.ts +0 -4
  1580. package/types/portal/index.d.ts +0 -4
  1581. package/types/progress/CircleProgress.d.ts +0 -8
  1582. package/types/progress/index.d.ts +0 -4
  1583. package/types/progress/interface.d.ts +0 -84
  1584. package/types/progress2/index.d.ts +0 -1
  1585. package/types/progress2/interface.d.ts +0 -1
  1586. package/types/qr-code/QRCode.d.ts +0 -5
  1587. package/types/qr-code/index.d.ts +0 -4
  1588. package/types/qr-code/src/qrcodegen.d.ts +0 -95
  1589. package/types/qr-code/src/qrcodegen2.d.ts +0 -325
  1590. package/types/radio/Group.d.ts +0 -10
  1591. package/types/radio/GroupBlock.d.ts +0 -7
  1592. package/types/radio/Radio.d.ts +0 -14
  1593. package/types/radio/index.d.ts +0 -6
  1594. package/types/radio/interface.d.ts +0 -102
  1595. package/types/rate/index.d.ts +0 -5
  1596. package/types/rate/interface.d.ts +0 -66
  1597. package/types/resize-box/Split.d.ts +0 -4
  1598. package/types/resize-box/SplitGroup.d.ts +0 -4
  1599. package/types/resize-box/index.d.ts +0 -14
  1600. package/types/result/index.d.ts +0 -6
  1601. package/types/rich-text/RichText.d.ts +0 -8
  1602. package/types/rich-text/constant.d.ts +0 -1
  1603. package/types/rich-text/index.d.ts +0 -6
  1604. package/types/rich-text/lib/blots/scroll.d.ts +0 -44
  1605. package/types/rich-text/lib/core/composition.d.ts +0 -16
  1606. package/types/rich-text/lib/core/rich.d.ts +0 -185
  1607. package/types/rich-text/lib/core/selection.d.ts +0 -74
  1608. package/types/rich-text/lib/delta/index.d.ts +0 -54
  1609. package/types/rich-text/lib/modules/clipboard.d.ts +0 -47
  1610. package/types/rich-text/lib/modules/history.d.ts +0 -39
  1611. package/types/rich-text/lib/modules/input.d.ts +0 -13
  1612. package/types/rich-text/lib/modules/keyboard.d.ts +0 -60
  1613. package/types/rich-text/lib/modules/table.d.ts +0 -22
  1614. package/types/rich-text/lib/modules/uiNode.d.ts +0 -22
  1615. package/types/rich-text/lib/modules/uploader.d.ts +0 -17
  1616. package/types/rich-text/lib/parchment/attributor/store.d.ts +0 -15
  1617. package/types/rich-text/lib/parchment/blot/scroll.d.ts +0 -34
  1618. package/types/rich-text/lib/parchment/registry.d.ts +0 -21
  1619. package/types/row-col/index.d.ts +0 -8
  1620. package/types/segmented/interface.d.ts +0 -123
  1621. package/types/select/Option.d.ts +0 -7
  1622. package/types/select/OptionGroup.d.ts +0 -7
  1623. package/types/select/Select.d.ts +0 -12
  1624. package/types/select/index.d.ts +0 -4
  1625. package/types/select/interface.d.ts +0 -295
  1626. package/types/select/utils.d.ts +0 -25
  1627. package/types/select-view/interface.d.ts +0 -148
  1628. package/types/skeleton/Image.d.ts +0 -3
  1629. package/types/skeleton/Text.d.ts +0 -4
  1630. package/types/skeleton/index.d.ts +0 -7
  1631. package/types/slider/Button.d.ts +0 -21
  1632. package/types/slider/Dot.d.ts +0 -17
  1633. package/types/slider/Input.d.ts +0 -16
  1634. package/types/slider/Mark.d.ts +0 -16
  1635. package/types/slider/Tick.d.ts +0 -14
  1636. package/types/slider/hook/useInterval.d.ts +0 -24
  1637. package/types/slider/hook/useLegalValue.d.ts +0 -16
  1638. package/types/slider/index.d.ts +0 -5
  1639. package/types/slider/interface.d.ts +0 -119
  1640. package/types/slider/utils.d.ts +0 -11
  1641. package/types/space/index.d.ts +0 -7
  1642. package/types/space/interface.d.ts +0 -10
  1643. package/types/speech-synthesis/index.d.ts +0 -3
  1644. package/types/speech-synthesis/interface.d.ts +0 -7
  1645. package/types/speech-synthesis/style/index.d.ts +0 -1
  1646. package/types/spin/index.d.ts +0 -5
  1647. package/types/splitter/index.d.ts +0 -9
  1648. package/types/statistic/index.d.ts +0 -9
  1649. package/types/steps/Step.d.ts +0 -4
  1650. package/types/steps/index.d.ts +0 -11
  1651. package/types/suspense-fallback-test/interface.d.ts +0 -2
  1652. package/types/switch/index.d.ts +0 -11
  1653. package/types/switch/interface.d.ts +0 -66
  1654. package/types/table/ColGroup.d.ts +0 -13
  1655. package/types/table/Table.d.ts +0 -10
  1656. package/types/table/constant.d.ts +0 -4
  1657. package/types/table/hook/useColumns.d.ts +0 -3
  1658. package/types/table/hook/useComponent.d.ts +0 -31
  1659. package/types/table/hook/useExpand.d.ts +0 -4
  1660. package/types/table/hook/useRowSelection.d.ts +0 -13
  1661. package/types/table/hook/useSorter.d.ts +0 -8
  1662. package/types/table/hook/useStickyClassNames.d.ts +0 -3
  1663. package/types/table/hook/useStickyOffsets.d.ts +0 -3
  1664. package/types/table/index.d.ts +0 -19
  1665. package/types/table/interface.d.ts +0 -729
  1666. package/types/table/summary/context.d.ts +0 -9
  1667. package/types/table/summary/index.d.ts +0 -11
  1668. package/types/table/tbody/Td.d.ts +0 -5
  1669. package/types/table/tbody/Tr.d.ts +0 -9
  1670. package/types/table/tbody/index.d.ts +0 -4
  1671. package/types/table/tfoot/index.d.ts +0 -3
  1672. package/types/table/thead/Column.d.ts +0 -3
  1673. package/types/table/thead/index.d.ts +0 -3
  1674. package/types/table/utils.d.ts +0 -17
  1675. package/types/tabs/TabContent.d.ts +0 -3
  1676. package/types/tabs/TabPane.d.ts +0 -5
  1677. package/types/tabs/Tabs.d.ts +0 -13
  1678. package/types/tabs/hook/useDomSize.d.ts +0 -12
  1679. package/types/tabs/hook/useHeaderScroll.d.ts +0 -10
  1680. package/types/tabs/index.d.ts +0 -7
  1681. package/types/tabs/interface.d.ts +0 -228
  1682. package/types/tabs/tab-header/TabNavIcon.d.ts +0 -17
  1683. package/types/tabs/tab-header/index.d.ts +0 -4
  1684. package/types/tag/index.d.ts +0 -6
  1685. package/types/tag/interface.d.ts +0 -70
  1686. package/types/time-picker/Picker.d.ts +0 -3
  1687. package/types/time-picker/TimePicker.d.ts +0 -3
  1688. package/types/time-picker/TimePickerRange.d.ts +0 -3
  1689. package/types/time-picker/context.d.ts +0 -6
  1690. package/types/time-picker/index.d.ts +0 -10
  1691. package/types/time-picker/interface.d.ts +0 -264
  1692. package/types/timeline/Item.d.ts +0 -8
  1693. package/types/timeline/Timeline.d.ts +0 -12
  1694. package/types/timeline/index.d.ts +0 -4
  1695. package/types/timer/interface.d.ts +0 -6
  1696. package/types/tooltip/Tooltip.d.ts +0 -6
  1697. package/types/tooltip/index.d.ts +0 -3
  1698. package/types/tooltip/interface.d.ts +0 -94
  1699. package/types/transfer/Item.d.ts +0 -3
  1700. package/types/transfer/List.d.ts +0 -5
  1701. package/types/transfer/index.d.ts +0 -5
  1702. package/types/transfer/interface.d.ts +0 -219
  1703. package/types/tree/Animation.d.ts +0 -4
  1704. package/types/tree/Context.d.ts +0 -28
  1705. package/types/tree/Node.d.ts +0 -10
  1706. package/types/tree/Tree.d.ts +0 -19
  1707. package/types/tree/index.d.ts +0 -2
  1708. package/types/tree/interface.d.ts +0 -371
  1709. package/types/tree/utils.d.ts +0 -12
  1710. package/types/tree-select/List.d.ts +0 -11
  1711. package/types/tree-select/Select.d.ts +0 -14
  1712. package/types/tree-select/hook/useKeyCache.d.ts +0 -6
  1713. package/types/tree-select/hook/useStateValue.d.ts +0 -19
  1714. package/types/tree-select/hook/useTreeData.d.ts +0 -4
  1715. package/types/tree-select/index.d.ts +0 -4
  1716. package/types/tree-select/interface.d.ts +0 -196
  1717. package/types/trigger/getPopupStyle.d.ts +0 -14
  1718. package/types/trigger/index.d.ts +0 -10
  1719. package/types/trigger/interface.d.ts +0 -257
  1720. package/types/typography/Base.d.ts +0 -8
  1721. package/types/typography/EditContent.d.ts +0 -4
  1722. package/types/typography/Ellipsis.d.ts +0 -6
  1723. package/types/typography/Operations.d.ts +0 -4
  1724. package/types/typography/Paragraph.d.ts +0 -3
  1725. package/types/typography/Title.d.ts +0 -3
  1726. package/types/typography/Typography.d.ts +0 -3
  1727. package/types/typography/index.d.ts +0 -14
  1728. package/types/typography/interface.d.ts +0 -277
  1729. package/types/typography/useCssEllipsis.d.ts +0 -6
  1730. package/types/typography/useEllipsis.d.ts +0 -21
  1731. package/types/upload/TriggerNode.d.ts +0 -6
  1732. package/types/upload/Upload.d.ts +0 -9
  1733. package/types/upload/Uploader.d.ts +0 -15
  1734. package/types/upload/constant.d.ts +0 -4
  1735. package/types/upload/index.d.ts +0 -6
  1736. package/types/upload/interface.d.ts +0 -336
  1737. package/types/upload/list/PictureItem.d.ts +0 -8
  1738. package/types/upload/list/TextItem.d.ts +0 -8
  1739. package/types/upload/list/UploadProgress.d.ts +0 -14
  1740. package/types/upload/list/index.d.ts +0 -6
  1741. package/types/upload/list/utils.d.ts +0 -2
  1742. package/types/upload/request.d.ts +0 -3
  1743. package/types/upload/utils.d.ts +0 -4
  1744. package/types/utils/constant.d.ts +0 -4
  1745. package/types/utils/contextHolder.d.ts +0 -10
  1746. package/types/utils/getHotkeyHandler.d.ts +0 -4
  1747. package/types/utils/is.d.ts +0 -1
  1748. package/types/utils/names.d.ts +0 -1035
  1749. package/types/utils/validate.d.ts +0 -2
  1750. package/types/verification-code/VerificationCode.d.ts +0 -10
  1751. package/types/verification-code/index.d.ts +0 -6
  1752. package/types/verification-code/interface.d.ts +0 -74
  1753. package/types/version/index.d.ts +0 -4
  1754. package/types/virtual-list/hook/useCacheChildrenNodes.d.ts +0 -4
  1755. package/types/virtual-list/hook/useComputeVirtualItemHeight.d.ts +0 -3
  1756. package/types/virtual-list/index.d.ts +0 -4
  1757. package/types/virtual-list/interface.d.ts +0 -55
  1758. package/types/virtual-list/utils/algorithm.d.ts +0 -23
  1759. package/types/watermark/Watermark.d.ts +0 -5
  1760. package/types/watermark/index.d.ts +0 -6
  1761. /package/{types/affix → affix}/interface.d.ts +0 -0
  1762. /package/{types/alert → alert}/interface.d.ts +0 -0
  1763. /package/{types/anchor → anchor}/interface.d.ts +0 -0
  1764. /package/{types/app → app}/App.d.ts +0 -0
  1765. /package/{types/app → app}/index.d.ts +0 -0
  1766. /package/{types/app → app}/interface.d.ts +0 -0
  1767. /package/{types/back-top → back-top}/interface.d.ts +0 -0
  1768. /package/{types/badge → badge}/Count.d.ts +0 -0
  1769. /package/{types/badge → badge}/interface.d.ts +0 -0
  1770. /package/{types/calendar → calendar}/WeekList.d.ts +0 -0
  1771. /package/{types/calendar → calendar}/header/Panel.d.ts +0 -0
  1772. /package/{types/calendar → calendar}/header/index.d.ts +0 -0
  1773. /package/{types/calendar → calendar}/hook/useCellClassName.d.ts +0 -0
  1774. /package/{types/calendar → calendar}/interface.d.ts +0 -0
  1775. /package/{types/card → card}/interface.d.ts +0 -0
  1776. /package/{types/carousel → carousel}/interface.d.ts +0 -0
  1777. /package/{types/cascader → cascader}/hook/useRefCurrent.d.ts +0 -0
  1778. /package/{types/checkbox → checkbox}/context.d.ts +0 -0
  1779. /package/{types/checkbox → checkbox}/useCheckbox.d.ts +0 -0
  1780. /package/{types/collapse → collapse}/interface.d.ts +0 -0
  1781. /package/{types/comment → comment}/interface.d.ts +0 -0
  1782. /package/{types/config-provider → config-provider}/initUI.d.ts +0 -0
  1783. /package/{types/config-provider → config-provider}/useConfigProvider.d.ts +0 -0
  1784. /package/{types/copy → copy}/interface.d.ts +0 -0
  1785. /package/{types/countdown → countdown}/interface.d.ts +0 -0
  1786. /package/{types/countdown → countdown}/utils.d.ts +0 -0
  1787. /package/{types/date-picker → date-picker}/hook/useCellClassName.d.ts +0 -0
  1788. /package/{types/date-picker → date-picker}/panel/Footer.d.ts +0 -0
  1789. /package/{types/date-picker → date-picker}/panel/WeekList.d.ts +0 -0
  1790. /package/{types/date-picker → date-picker}/panel/date/index.d.ts +0 -0
  1791. /package/{types/details → details}/interface.d.ts +0 -0
  1792. /package/{types/development/index.d.ts → development/Development.d.ts} +0 -0
  1793. /package/{types/development → development}/interface.d.ts +0 -0
  1794. /package/{types/divider → divider}/interface.d.ts +0 -0
  1795. /package/{types/draggable → draggable}/interface.d.ts +0 -0
  1796. /package/{types/draw → draw}/constant.d.ts +0 -0
  1797. /package/{types/draw → draw}/interface.d.ts +0 -0
  1798. /package/{types/form → form}/FormLabel.d.ts +0 -0
  1799. /package/{types/form → form}/promisify.d.ts +0 -0
  1800. /package/{types/global-provider → global-provider}/interface.d.ts +0 -0
  1801. /package/{types/grid → grid}/Grid.d.ts +0 -0
  1802. /package/{types/grid → grid}/context.d.ts +0 -0
  1803. /package/{types/hooks → hooks}/index.d.ts +0 -0
  1804. /package/{types/hooks → hooks}/use-computed-state/index.d.ts +0 -0
  1805. /package/{types/hooks → hooks}/use-create/index.d.ts +0 -0
  1806. /package/{types/hooks → hooks}/use-creation/index.d.ts +0 -0
  1807. /package/{types/hooks → hooks}/use-event/index.d.ts +0 -0
  1808. /package/{types/hooks → hooks}/use-event-listener/index.d.ts +0 -0
  1809. /package/{types/hooks → hooks}/use-force-update/index.d.ts +0 -0
  1810. /package/{types/hooks → hooks}/use-fullscreen/index.d.ts +0 -0
  1811. /package/{types/hooks → hooks}/use-id/index.d.ts +0 -0
  1812. /package/{types/hooks → hooks}/use-in-view/index.d.ts +0 -0
  1813. /package/{types/hooks → hooks}/use-intersection-observer/index.d.ts +0 -0
  1814. /package/{types/hooks → hooks}/use-intersection-observers/index.d.ts +0 -0
  1815. /package/{types/hooks → hooks}/use-interval/index.d.ts +0 -0
  1816. /package/{types/hooks → hooks}/use-is-first-render/index.d.ts +0 -0
  1817. /package/{types/hooks → hooks}/use-isomorphic-layout-effect/index.d.ts +0 -0
  1818. /package/{types/hooks → hooks}/use-keyboard-event/index.d.ts +0 -0
  1819. /package/{types/hooks → hooks}/use-latest/index.d.ts +0 -0
  1820. /package/{types/hooks → hooks}/use-listen-window-resize/index.d.ts +0 -0
  1821. /package/{types/hooks → hooks}/use-media/index.d.ts +0 -0
  1822. /package/{types/hooks → hooks}/use-merge-props/index.d.ts +0 -0
  1823. /package/{types/hooks → hooks}/use-merge-value/index.d.ts +0 -0
  1824. /package/{types/hooks → hooks}/use-move/index.d.ts +0 -0
  1825. /package/{types/hooks → hooks}/use-mutation-observers/index.d.ts +0 -0
  1826. /package/{types/hooks → hooks}/use-online-status/index.d.ts +0 -0
  1827. /package/{types/hooks → hooks}/use-overflow-hidden/index.d.ts +0 -0
  1828. /package/{types/hooks → hooks}/use-override-ref/index.d.ts +0 -0
  1829. /package/{types/hooks → hooks}/use-persist-callback/index.d.ts +0 -0
  1830. /package/{types/hooks → hooks}/use-prefers-color-scheme-dark/index.d.ts +0 -0
  1831. /package/{types/hooks → hooks}/use-previous/index.d.ts +0 -0
  1832. /package/{types/hooks → hooks}/use-refs/index.d.ts +0 -0
  1833. /package/{types/hooks → hooks}/use-resize-observer/index.d.ts +0 -0
  1834. /package/{types/hooks → hooks}/use-resize-observers/index.d.ts +0 -0
  1835. /package/{types/hooks → hooks}/use-responsive-state/index.d.ts +0 -0
  1836. /package/{types/hooks → hooks}/use-set-state/index.d.ts +0 -0
  1837. /package/{types/hooks → hooks}/use-state-callback/index.d.ts +0 -0
  1838. /package/{types/hooks → hooks}/use-state-with-promise/index.d.ts +0 -0
  1839. /package/{types/hooks → hooks}/use-update-effect/index.d.ts +0 -0
  1840. /package/{types/hooks → hooks}/use-update-layout-effect/index.d.ts +0 -0
  1841. /package/{types/hooks → hooks}/use-verification-code/interface.d.ts +0 -0
  1842. /package/{types/hooks → hooks}/use-watch/index.d.ts +0 -0
  1843. /package/{types/hooks → hooks}/use-watermark/interface.d.ts +0 -0
  1844. /package/{types/hooks → hooks}/use-watermark/utils.d.ts +0 -0
  1845. /package/{types/hooks → hooks}/use-window-size/index.d.ts +0 -0
  1846. /package/{types/hooks → hooks}/useUnmountOnExit.d.ts +0 -0
  1847. /package/{types/icon → icon}/addIconFromCdn.d.ts +0 -0
  1848. /package/{types/icon → icon}/interface.d.ts +0 -0
  1849. /package/{types/icons.d.ts → icons.d.ts} +0 -0
  1850. /package/{types/image → image}/ImagePreviewArrow.d.ts +0 -0
  1851. /package/{types/image → image}/utils/getFixTranslate.d.ts +0 -0
  1852. /package/{types/image → image}/utils/hook/useImageStatus.d.ts +0 -0
  1853. /package/{types/input → input}/Number.d.ts +0 -0
  1854. /package/{types/input → input}/Tag.d.ts +0 -0
  1855. /package/{types/input → input}/autoSizeTextareaHeight.d.ts +0 -0
  1856. /package/{types/input → input}/utils.d.ts +0 -0
  1857. /package/{types/input-number → input-number}/decimal.d.ts +0 -0
  1858. /package/{types/input-number → input-number}/useSelectionRange.d.ts +0 -0
  1859. /package/{types/input-number → input-number}/utils.d.ts +0 -0
  1860. /package/{types/interface.d.ts → interface.d.ts} +0 -0
  1861. /package/{types/layout → layout}/context.d.ts +0 -0
  1862. /package/{types/link → link}/interface.d.ts +0 -0
  1863. /package/{types/liquid-fill/index.d.ts → liquid-fill/LiquidFill.d.ts} +0 -0
  1864. /package/{types/liquid-fill → liquid-fill}/interface.d.ts +0 -0
  1865. /package/{types/loading/index.d.ts → loading/Loading.d.ts} +0 -0
  1866. /package/{types/loading → loading}/interface.d.ts +0 -0
  1867. /package/{types/locale → locale}/default.d.ts +0 -0
  1868. /package/{types/locale → locale}/en-US.d.ts +0 -0
  1869. /package/{types/locale → locale}/interface.d.ts +0 -0
  1870. /package/{types/marquee/index.d.ts → marquee/Marquee.d.ts} +0 -0
  1871. /package/{types/mask → mask}/interface.d.ts +0 -0
  1872. /package/{types/masonry → masonry}/Masonry.d.ts +0 -0
  1873. /package/{types/masonry → masonry}/MasonryItem.d.ts +0 -0
  1874. /package/{types/masonry → masonry}/hooks/usePositions.d.ts +0 -0
  1875. /package/{types/masonry → masonry}/hooks/useRefs.d.ts +0 -0
  1876. /package/{types/menu → menu}/Indent.d.ts +0 -0
  1877. /package/{types/menu → menu}/utils.d.ts +0 -0
  1878. /package/{types/message → message}/interface.d.ts +0 -0
  1879. /package/{types/notice → notice}/interface.d.ts +0 -0
  1880. /package/{types/notification → notification}/withNotification.d.ts +0 -0
  1881. /package/{types/overflow-ellipsis → overflow-ellipsis}/OverflowItem.d.ts +0 -0
  1882. /package/{types/overflow-ellipsis → overflow-ellipsis}/interface.d.ts +0 -0
  1883. /package/{types/portal → portal}/interface.d.ts +0 -0
  1884. /package/{types/progress → progress}/LineProgess.d.ts +0 -0
  1885. /package/{types/progress → progress}/StepProgress.d.ts +0 -0
  1886. /package/{types/qr-code → qr-code}/examples/demo.d.ts +0 -0
  1887. /package/{types/qr-code → qr-code}/examples/download.d.ts +0 -0
  1888. /package/{types/qr-code → qr-code}/examples/full.d.ts +0 -0
  1889. /package/{types/qr-code → qr-code}/examples/image.d.ts +0 -0
  1890. /package/{types/qr-code → qr-code}/interface.d.ts +0 -0
  1891. /package/{types/qr-code → qr-code}/src/index.d.ts +0 -0
  1892. /package/{types/resize-box → resize-box}/ResizeTrigger.d.ts +0 -0
  1893. /package/{types/resize-box → resize-box}/interface.d.ts +0 -0
  1894. /package/{types/result → result}/403.d.ts +0 -0
  1895. /package/{types/result → result}/404.d.ts +0 -0
  1896. /package/{types/result → result}/500.d.ts +0 -0
  1897. /package/{types/result → result}/interface.d.ts +0 -0
  1898. /package/{types/rich-text → rich-text}/Toolbar.d.ts +0 -0
  1899. /package/{types/rich-text → rich-text}/interface.d.ts +0 -0
  1900. /package/{types/rich-text → rich-text}/lib/blots/block.d.ts +0 -0
  1901. /package/{types/rich-text → rich-text}/lib/blots/break.d.ts +0 -0
  1902. /package/{types/rich-text → rich-text}/lib/blots/container.d.ts +0 -0
  1903. /package/{types/rich-text → rich-text}/lib/blots/cursor.d.ts +0 -0
  1904. /package/{types/rich-text → rich-text}/lib/blots/embed.d.ts +0 -0
  1905. /package/{types/rich-text → rich-text}/lib/blots/inline.d.ts +0 -0
  1906. /package/{types/rich-text → rich-text}/lib/blots/text.d.ts +0 -0
  1907. /package/{types/rich-text → rich-text}/lib/core/editor.d.ts +0 -0
  1908. /package/{types/rich-text → rich-text}/lib/core/emitter.d.ts +0 -0
  1909. /package/{types/rich-text → rich-text}/lib/core/logger.d.ts +0 -0
  1910. /package/{types/rich-text → rich-text}/lib/core/module.d.ts +0 -0
  1911. /package/{types/rich-text → rich-text}/lib/core/theme.d.ts +0 -0
  1912. /package/{types/rich-text → rich-text}/lib/core/utils/createRegistryWithFormats.d.ts +0 -0
  1913. /package/{types/rich-text → rich-text}/lib/core/utils/scrollRectIntoView.d.ts +0 -0
  1914. /package/{types/rich-text → rich-text}/lib/delta/AttributeMap.d.ts +0 -0
  1915. /package/{types/rich-text → rich-text}/lib/delta/Op.d.ts +0 -0
  1916. /package/{types/rich-text → rich-text}/lib/delta/OpIterator.d.ts +0 -0
  1917. /package/{types/rich-text → rich-text}/lib/diff/index.d.ts +0 -0
  1918. /package/{types/rich-text → rich-text}/lib/formats/align.d.ts +0 -0
  1919. /package/{types/rich-text → rich-text}/lib/formats/background.d.ts +0 -0
  1920. /package/{types/rich-text → rich-text}/lib/formats/blockquote.d.ts +0 -0
  1921. /package/{types/rich-text → rich-text}/lib/formats/bold.d.ts +0 -0
  1922. /package/{types/rich-text → rich-text}/lib/formats/code.d.ts +0 -0
  1923. /package/{types/rich-text → rich-text}/lib/formats/color.d.ts +0 -0
  1924. /package/{types/rich-text → rich-text}/lib/formats/direction.d.ts +0 -0
  1925. /package/{types/rich-text → rich-text}/lib/formats/emoji.d.ts +0 -0
  1926. /package/{types/rich-text → rich-text}/lib/formats/font.d.ts +0 -0
  1927. /package/{types/rich-text → rich-text}/lib/formats/formula.d.ts +0 -0
  1928. /package/{types/rich-text → rich-text}/lib/formats/header.d.ts +0 -0
  1929. /package/{types/rich-text → rich-text}/lib/formats/hr.d.ts +0 -0
  1930. /package/{types/rich-text → rich-text}/lib/formats/image.d.ts +0 -0
  1931. /package/{types/rich-text → rich-text}/lib/formats/indent.d.ts +0 -0
  1932. /package/{types/rich-text → rich-text}/lib/formats/italic.d.ts +0 -0
  1933. /package/{types/rich-text → rich-text}/lib/formats/liOl.d.ts +0 -0
  1934. /package/{types/rich-text → rich-text}/lib/formats/liUl.d.ts +0 -0
  1935. /package/{types/rich-text → rich-text}/lib/formats/lineHeight.d.ts +0 -0
  1936. /package/{types/rich-text → rich-text}/lib/formats/link.d.ts +0 -0
  1937. /package/{types/rich-text → rich-text}/lib/formats/list.d.ts +0 -0
  1938. /package/{types/rich-text → rich-text}/lib/formats/script.d.ts +0 -0
  1939. /package/{types/rich-text → rich-text}/lib/formats/size.d.ts +0 -0
  1940. /package/{types/rich-text → rich-text}/lib/formats/strike.d.ts +0 -0
  1941. /package/{types/rich-text → rich-text}/lib/formats/table.d.ts +0 -0
  1942. /package/{types/rich-text → rich-text}/lib/formats/underline.d.ts +0 -0
  1943. /package/{types/rich-text → rich-text}/lib/formats/video.d.ts +0 -0
  1944. /package/{types/rich-text → rich-text}/lib/index.d.ts +0 -0
  1945. /package/{types/rich-text → rich-text}/lib/modules/image-resize/index.d.ts +0 -0
  1946. /package/{types/rich-text → rich-text}/lib/modules/image-resize/modules/Base.d.ts +0 -0
  1947. /package/{types/rich-text → rich-text}/lib/modules/image-resize/modules/DisplaySize.d.ts +0 -0
  1948. /package/{types/rich-text → rich-text}/lib/modules/image-resize/modules/Resize.d.ts +0 -0
  1949. /package/{types/rich-text → rich-text}/lib/modules/image-resize/options.d.ts +0 -0
  1950. /package/{types/rich-text → rich-text}/lib/modules/normalizeExternalHTML/index.d.ts +0 -0
  1951. /package/{types/rich-text → rich-text}/lib/modules/normalizeExternalHTML/normalizers/googleDocs.d.ts +0 -0
  1952. /package/{types/rich-text → rich-text}/lib/modules/normalizeExternalHTML/normalizers/msWord.d.ts +0 -0
  1953. /package/{types/rich-text → rich-text}/lib/modules/tableEmbed.d.ts +0 -0
  1954. /package/{types/rich-text → rich-text}/lib/modules/toolbar copy.d.ts +0 -0
  1955. /package/{types/rich-text → rich-text}/lib/modules/toolbar.d.ts +0 -0
  1956. /package/{types/rich-text → rich-text}/lib/parchment/attributor/attributor.d.ts +0 -0
  1957. /package/{types/rich-text → rich-text}/lib/parchment/attributor/class.d.ts +0 -0
  1958. /package/{types/rich-text → rich-text}/lib/parchment/attributor/style.d.ts +0 -0
  1959. /package/{types/rich-text → rich-text}/lib/parchment/blot/abstract/blot.d.ts +0 -0
  1960. /package/{types/rich-text → rich-text}/lib/parchment/blot/abstract/container.d.ts +0 -0
  1961. /package/{types/rich-text → rich-text}/lib/parchment/blot/abstract/leaf.d.ts +0 -0
  1962. /package/{types/rich-text → rich-text}/lib/parchment/blot/abstract/parent.d.ts +0 -0
  1963. /package/{types/rich-text → rich-text}/lib/parchment/blot/abstract/shadow.d.ts +0 -0
  1964. /package/{types/rich-text → rich-text}/lib/parchment/blot/block.d.ts +0 -0
  1965. /package/{types/rich-text → rich-text}/lib/parchment/blot/embed.d.ts +0 -0
  1966. /package/{types/rich-text → rich-text}/lib/parchment/blot/inline.d.ts +0 -0
  1967. /package/{types/rich-text → rich-text}/lib/parchment/blot/text.d.ts +0 -0
  1968. /package/{types/rich-text → rich-text}/lib/parchment/collection/linked-list.d.ts +0 -0
  1969. /package/{types/rich-text → rich-text}/lib/parchment/collection/linked-node.d.ts +0 -0
  1970. /package/{types/rich-text → rich-text}/lib/parchment/error.d.ts +0 -0
  1971. /package/{types/rich-text → rich-text}/lib/parchment/index.d.ts +0 -0
  1972. /package/{types/rich-text → rich-text}/lib/parchment/scope.d.ts +0 -0
  1973. /package/{types/rich-text → rich-text}/lib/themes/base.d.ts +0 -0
  1974. /package/{types/rich-text → rich-text}/lib/themes/pqb.d.ts +0 -0
  1975. /package/{types/rich-text → rich-text}/lib/ui/tooltip.d.ts +0 -0
  1976. /package/{types/row-col → row-col}/Col-.d.ts +0 -0
  1977. /package/{types/row-col → row-col}/Col.d.ts +0 -0
  1978. /package/{types/row-col → row-col}/Row.d.ts +0 -0
  1979. /package/{types/row-col → row-col}/context.d.ts +0 -0
  1980. /package/{types/row-col → row-col}/interface.d.ts +0 -0
  1981. /package/{types/segmented/index.d.ts → segmented/Segmented.d.ts} +0 -0
  1982. /package/{types/select-view → select-view}/Core.d.ts +0 -0
  1983. /package/{types/select-view/index.d.ts → select-view/SelectView.d.ts} +0 -0
  1984. /package/{types/skeleton → skeleton}/interface.d.ts +0 -0
  1985. /package/{types/spin → spin}/DotLoading.d.ts +0 -0
  1986. /package/{types/spin → spin}/interface.d.ts +0 -0
  1987. /package/{types/splitter → splitter}/Panel.d.ts +0 -0
  1988. /package/{types/splitter → splitter}/SplitBar.d.ts +0 -0
  1989. /package/{types/splitter → splitter}/Splitter.d.ts +0 -0
  1990. /package/{types/splitter → splitter}/hooks/useItems.d.ts +0 -0
  1991. /package/{types/splitter → splitter}/hooks/useResizable.d.ts +0 -0
  1992. /package/{types/splitter → splitter}/hooks/useResize.d.ts +0 -0
  1993. /package/{types/splitter → splitter}/hooks/useSizes.d.ts +0 -0
  1994. /package/{types/splitter → splitter}/interface.d.ts +0 -0
  1995. /package/{types/statistic → statistic}/interface.d.ts +0 -0
  1996. /package/{types/steps → steps}/interface.d.ts +0 -0
  1997. /package/{types/suspense-fallback-test/index.d.ts → suspense-fallback-test/SuspenseFallbackTest.d.ts} +0 -0
  1998. /package/{types/table → table}/context.d.ts +0 -0
  1999. /package/{types/table → table}/hook/useThResizable.d.ts +0 -0
  2000. /package/{types/table → table}/summary/Cell.d.ts +0 -0
  2001. /package/{types/table → table}/summary/Row.d.ts +0 -0
  2002. /package/{types/table → table}/th-resizable/index.d.ts +0 -0
  2003. /package/{types/tabs → tabs}/context.d.ts +0 -0
  2004. /package/{types/tabs → tabs}/tab-header/DropdownIcon.d.ts +0 -0
  2005. /package/{types/tabs → tabs}/tab-header/TabInk.d.ts +0 -0
  2006. /package/{types/tabs → tabs}/tab-header/TabTitle.d.ts +0 -0
  2007. /package/{types/tabs → tabs}/utils.d.ts +0 -0
  2008. /package/{types/time-picker → time-picker}/TimeColumn.d.ts +0 -0
  2009. /package/{types/time-picker → time-picker}/utils.d.ts +0 -0
  2010. /package/{types/timeline → timeline}/interface.d.ts +0 -0
  2011. /package/{types/timer/index.d.ts → timer/Timer.d.ts} +0 -0
  2012. /package/{types/tour/index.d.ts → tour/Tour.d.ts} +0 -0
  2013. /package/{types/tour → tour}/interface.d.ts +0 -0
  2014. /package/{types/tree → tree}/NodeList.d.ts +0 -0
  2015. /package/{types/tree-select → tree-select}/utils.d.ts +0 -0
  2016. /package/{types/typography → typography}/Text.d.ts +0 -0
  2017. /package/{types/utils → utils}/callOrReturn.d.ts +0 -0
  2018. /package/{types/utils → utils}/callbackOriginRef.d.ts +0 -0
  2019. /package/{types/utils → utils}/caseName.d.ts +0 -0
  2020. /package/{types/utils → utils}/className.d.ts +0 -0
  2021. /package/{types/utils → utils}/copy.d.ts +0 -0
  2022. /package/{types/utils → utils}/date.d.ts +0 -0
  2023. /package/{types/utils → utils}/dayjs.d.ts +0 -0
  2024. /package/{types/utils → utils}/dom.d.ts +0 -0
  2025. /package/{types/utils → utils}/emitter.d.ts +0 -0
  2026. /package/{types/utils → utils}/fileRead.d.ts +0 -0
  2027. /package/{types/utils → utils}/fileToDataURL.d.ts +0 -0
  2028. /package/{types/utils → utils}/fillNBSP.d.ts +0 -0
  2029. /package/{types/utils → utils}/findRootElement.d.ts +0 -0
  2030. /package/{types/utils → utils}/findScrollParent.d.ts +0 -0
  2031. /package/{types/utils → utils}/getHighlightText.d.ts +0 -0
  2032. /package/{types/utils → utils}/getStringLength.d.ts +0 -0
  2033. /package/{types/utils → utils}/include.d.ts +0 -0
  2034. /package/{types/utils → utils}/index.d.ts +0 -0
  2035. /package/{types/utils → utils}/intersectionObserver.d.ts +0 -0
  2036. /package/{types/utils → utils}/keyboardCode.d.ts +0 -0
  2037. /package/{types/utils → utils}/lodash.d.ts +0 -0
  2038. /package/{types/utils → utils}/math.d.ts +0 -0
  2039. /package/{types/utils → utils}/mergeProps.d.ts +0 -0
  2040. /package/{types/utils → utils}/mergedToString.d.ts +0 -0
  2041. /package/{types/utils → utils}/mutationObserver.d.ts +0 -0
  2042. /package/{types/utils → utils}/omit.d.ts +0 -0
  2043. /package/{types/utils → utils}/pad.d.ts +0 -0
  2044. /package/{types/utils → utils}/pick.d.ts +0 -0
  2045. /package/{types/utils → utils}/pinyin.d.ts +0 -0
  2046. /package/{types/utils → utils}/react19Adapter.d.ts +0 -0
  2047. /package/{types/utils → utils}/ref.d.ts +0 -0
  2048. /package/{types/utils → utils}/resizeObserver.d.ts +0 -0
  2049. /package/{types/utils → utils}/responsiveObserve.d.ts +0 -0
  2050. /package/{types/utils → utils}/saveAs.d.ts +0 -0
  2051. /package/{types/utils → utils}/screenfull.d.ts +0 -0
  2052. /package/{types/utils → utils}/scrollIntoViewIfNeeded.d.ts +0 -0
  2053. /package/{types/utils → utils}/setCreateRoot.d.ts +0 -0
  2054. /package/{types/utils → utils}/setDarkTheme.d.ts +0 -0
  2055. /package/{types/utils → utils}/setPrimaryColor.d.ts +0 -0
  2056. /package/{types/utils → utils}/setTheme.d.ts +0 -0
  2057. /package/{types/utils → utils}/string.d.ts +0 -0
  2058. /package/{types/utils → utils}/style.d.ts +0 -0
  2059. /package/{types/utils → utils}/throttleByRaf.d.ts +0 -0
  2060. /package/{types/utils → utils}/throttleByRaf2.d.ts +0 -0
  2061. /package/{types/utils → utils}/toArray.d.ts +0 -0
  2062. /package/{types/utils → utils}/tree.d.ts +0 -0
  2063. /package/{types/utils → utils}/tween.d.ts +0 -0
  2064. /package/{types/utils → utils}/uuid.d.ts +0 -0
  2065. /package/{types/utils → utils}/warning.d.ts +0 -0
  2066. /package/{types/virtual-list → virtual-list}/Filler.d.ts +0 -0
  2067. /package/{types/virtual-list → virtual-list}/VirtualList.d.ts +0 -0
  2068. /package/{types/virtual-list → virtual-list}/constant.d.ts +0 -0
  2069. /package/{types/virtual-list → virtual-list}/utils/item.d.ts +0 -0
  2070. /package/{types/watermark → watermark}/interface.d.ts +0 -0
@@ -1,943 +1,782 @@
1
- /* 2026-03-02 09:28:59 */
2
- var A;
3
- ((w) => {
4
- class r {
5
- /*-- Constructor (low level) and fields --*/
6
- // Creates a new QR Code with the given version number,
7
- // error correction level, data codeword bytes, and mask number.
8
- // This is a low-level API that most users should not use directly.
9
- // A mid-level API is the encodeSegments() function.
10
- constructor(t, s, e, i) {
11
- if (this.version = t, this.errorCorrectionLevel = s, this.modules = [], this.isFunction = [], t < r.MIN_VERSION || t > r.MAX_VERSION)
12
- throw new RangeError("Version value out of range");
13
- if (i < -1 || i > 7) throw new RangeError("Mask value out of range");
14
- this.size = t * 4 + 17;
15
- const o = [];
16
- for (let n = 0; n < this.size; n++) o.push(!1);
17
- for (let n = 0; n < this.size; n++)
18
- this.modules.push(o.slice()), this.isFunction.push(o.slice());
19
- this.drawFunctionPatterns();
20
- const a = this.addEccAndInterleave(e);
21
- if (this.drawCodewords(a), i == -1) {
22
- let n = 1e9;
23
- for (let u = 0; u < 8; u++) {
24
- this.applyMask(u), this.drawFormatBits(u);
25
- const l = this.getPenaltyScore();
26
- l < n && (i = u, n = l), this.applyMask(u);
27
- }
28
- }
29
- d(0 <= i && i <= 7), this.mask = i, this.applyMask(i), this.drawFormatBits(i), this.isFunction = [];
30
- }
31
- /*-- Static factory functions (high level) --*/
32
- // Returns a QR Code representing the given Unicode text string at the given error correction level.
33
- // As a conservative upper bound, this function is guaranteed to succeed for strings that have 738 or fewer
34
- // Unicode code points (not UTF-16 code units) if the low error correction level is used. The smallest possible
35
- // QR Code version is automatically chosen for the output. The ECC level of the result may be higher than the
36
- // ecl argument if it can be done without increasing the version.
37
- static encodeText(t, s) {
38
- const e = w.QrSegment.makeSegments(t);
39
- return r.encodeSegments(e, s);
40
- }
41
- // Returns a QR Code representing the given binary data at the given error correction level.
42
- // This function always encodes using the binary segment mode, not any text mode. The maximum number of
43
- // bytes allowed is 2953. The smallest possible QR Code version is automatically chosen for the output.
44
- // The ECC level of the result may be higher than the ecl argument if it can be done without increasing the version.
45
- static encodeBinary(t, s) {
46
- const e = w.QrSegment.makeBytes(t);
47
- return r.encodeSegments([e], s);
48
- }
49
- /*-- Static factory functions (mid level) --*/
50
- // Returns a QR Code representing the given segments with the given encoding parameters.
51
- // The smallest possible QR Code version within the given range is automatically
52
- // chosen for the output. Iff boostEcl is true, then the ECC level of the result
53
- // may be higher than the ecl argument if it can be done without increasing the
54
- // version. The mask number is either between 0 to 7 (inclusive) to force that
55
- // mask, or -1 to automatically choose an appropriate mask (which may be slow).
56
- // This function allows the user to create a custom sequence of segments that switches
57
- // between modes (such as alphanumeric and byte) to encode text in less space.
58
- // This is a mid-level API; the high-level API is encodeText() and encodeBinary().
59
- static encodeSegments(t, s, e = 1, i = 40, o = -1, a = !0) {
60
- if (!(r.MIN_VERSION <= e && e <= i && i <= r.MAX_VERSION) || o < -1 || o > 7)
61
- throw new RangeError("Invalid value");
62
- let n, u;
63
- for (n = e; ; n++) {
64
- const f = r.getNumDataCodewords(n, s) * 8, E = c.getTotalBits(t, n);
65
- if (E <= f) {
66
- u = E;
67
- break;
68
- }
69
- if (n >= i)
70
- throw new RangeError("Data too long");
71
- }
72
- for (const f of [
73
- r.Ecc.MEDIUM,
74
- r.Ecc.QUARTILE,
75
- r.Ecc.HIGH
76
- ])
77
- a && u <= r.getNumDataCodewords(n, f) * 8 && (s = f);
78
- const l = [];
79
- for (const f of t) {
80
- h(f.mode.modeBits, 4, l), h(f.numChars, f.mode.numCharCountBits(n), l);
81
- for (const E of f.getData()) l.push(E);
82
- }
83
- d(l.length == u);
84
- const g = r.getNumDataCodewords(n, s) * 8;
85
- d(l.length <= g), h(0, Math.min(4, g - l.length), l), h(0, (8 - l.length % 8) % 8, l), d(l.length % 8 == 0);
86
- for (let f = 236; l.length < g; f ^= 253)
87
- h(f, 8, l);
88
- const M = [];
89
- for (; M.length * 8 < l.length; ) M.push(0);
90
- return l.forEach(
91
- (f, E) => M[E >>> 3] |= f << 7 - (E & 7)
92
- ), new r(n, s, M, o);
93
- }
94
- /*-- Accessor methods --*/
95
- // Returns the color of the module (pixel) at the given coordinates, which is false
96
- // for light or true for dark. The top left corner has the coordinates (x=0, y=0).
97
- // If the given coordinates are out of bounds, then false (light) is returned.
98
- getModule(t, s) {
99
- return 0 <= t && t < this.size && 0 <= s && s < this.size && this.modules[s][t];
100
- }
101
- // Modified to expose modules for easy access
102
- getModules() {
103
- return this.modules;
104
- }
105
- /*-- Private helper methods for constructor: Drawing function modules --*/
106
- // Reads this object's version field, and draws and marks all function modules.
107
- drawFunctionPatterns() {
108
- for (let e = 0; e < this.size; e++)
109
- this.setFunctionModule(6, e, e % 2 == 0), this.setFunctionModule(e, 6, e % 2 == 0);
110
- this.drawFinderPattern(3, 3), this.drawFinderPattern(this.size - 4, 3), this.drawFinderPattern(3, this.size - 4);
111
- const t = this.getAlignmentPatternPositions(), s = t.length;
112
- for (let e = 0; e < s; e++)
113
- for (let i = 0; i < s; i++)
114
- e == 0 && i == 0 || e == 0 && i == s - 1 || e == s - 1 && i == 0 || this.drawAlignmentPattern(t[e], t[i]);
115
- this.drawFormatBits(0), this.drawVersion();
116
- }
117
- // Draws two copies of the format bits (with its own error correction code)
118
- // based on the given mask and this object's error correction level field.
119
- drawFormatBits(t) {
120
- const s = this.errorCorrectionLevel.formatBits << 3 | t;
121
- let e = s;
122
- for (let o = 0; o < 10; o++) e = e << 1 ^ (e >>> 9) * 1335;
123
- const i = (s << 10 | e) ^ 21522;
124
- d(i >>> 15 == 0);
125
- for (let o = 0; o <= 5; o++)
126
- this.setFunctionModule(8, o, m(i, o));
127
- this.setFunctionModule(8, 7, m(i, 6)), this.setFunctionModule(8, 8, m(i, 7)), this.setFunctionModule(7, 8, m(i, 8));
128
- for (let o = 9; o < 15; o++)
129
- this.setFunctionModule(14 - o, 8, m(i, o));
130
- for (let o = 0; o < 8; o++)
131
- this.setFunctionModule(this.size - 1 - o, 8, m(i, o));
132
- for (let o = 8; o < 15; o++)
133
- this.setFunctionModule(8, this.size - 15 + o, m(i, o));
134
- this.setFunctionModule(8, this.size - 8, !0);
135
- }
136
- // Draws two copies of the version bits (with its own error correction code),
137
- // based on this object's version field, iff 7 <= version <= 40.
138
- drawVersion() {
139
- if (this.version < 7) return;
140
- let t = this.version;
141
- for (let e = 0; e < 12; e++) t = t << 1 ^ (t >>> 11) * 7973;
142
- const s = this.version << 12 | t;
143
- d(s >>> 18 == 0);
144
- for (let e = 0; e < 18; e++) {
145
- const i = m(s, e), o = this.size - 11 + e % 3, a = Math.floor(e / 3);
146
- this.setFunctionModule(o, a, i), this.setFunctionModule(a, o, i);
147
- }
148
- }
149
- // Draws a 9*9 finder pattern including the border separator,
150
- // with the center module at (x, y). Modules can be out of bounds.
151
- drawFinderPattern(t, s) {
152
- for (let e = -4; e <= 4; e++)
153
- for (let i = -4; i <= 4; i++) {
154
- const o = Math.max(Math.abs(i), Math.abs(e)), a = t + i, n = s + e;
155
- 0 <= a && a < this.size && 0 <= n && n < this.size && this.setFunctionModule(a, n, o != 2 && o != 4);
156
- }
157
- }
158
- // Draws a 5*5 alignment pattern, with the center module
159
- // at (x, y). All modules must be in bounds.
160
- drawAlignmentPattern(t, s) {
161
- for (let e = -2; e <= 2; e++)
162
- for (let i = -2; i <= 2; i++)
163
- this.setFunctionModule(
164
- t + i,
165
- s + e,
166
- Math.max(Math.abs(i), Math.abs(e)) != 1
167
- );
168
- }
169
- // Sets the color of a module and marks it as a function module.
170
- // Only used by the constructor. Coordinates must be in bounds.
171
- setFunctionModule(t, s, e) {
172
- this.modules[s][t] = e, this.isFunction[s][t] = !0;
173
- }
174
- /*-- Private helper methods for constructor: Codewords and masking --*/
175
- // Returns a new byte string representing the given data with the appropriate error correction
176
- // codewords appended to it, based on this object's version and error correction level.
177
- addEccAndInterleave(t) {
178
- const s = this.version, e = this.errorCorrectionLevel;
179
- if (t.length != r.getNumDataCodewords(s, e))
180
- throw new RangeError("Invalid argument");
181
- const i = r.NUM_ERROR_CORRECTION_BLOCKS[e.ordinal][s], o = r.ECC_CODEWORDS_PER_BLOCK[e.ordinal][s], a = Math.floor(
182
- r.getNumRawDataModules(s) / 8
183
- ), n = i - a % i, u = Math.floor(a / i), l = [], g = r.reedSolomonComputeDivisor(o);
184
- for (let f = 0, E = 0; f < i; f++) {
185
- const N = t.slice(
186
- E,
187
- E + u - o + (f < n ? 0 : 1)
188
- );
189
- E += N.length;
190
- const P = r.reedSolomonComputeRemainder(N, g);
191
- f < n && N.push(0), l.push(N.concat(P));
192
- }
193
- const M = [];
194
- for (let f = 0; f < l[0].length; f++)
195
- l.forEach((E, N) => {
196
- (f != u - o || N >= n) && M.push(E[f]);
197
- });
198
- return d(M.length == a), M;
199
- }
200
- // Draws the given sequence of 8-bit codewords (data and error correction) onto the entire
201
- // data area of this QR Code. Function modules need to be marked off before this is called.
202
- drawCodewords(t) {
203
- if (t.length != Math.floor(r.getNumRawDataModules(this.version) / 8))
204
- throw new RangeError("Invalid argument");
205
- let s = 0;
206
- for (let e = this.size - 1; e >= 1; e -= 2) {
207
- e == 6 && (e = 5);
208
- for (let i = 0; i < this.size; i++)
209
- for (let o = 0; o < 2; o++) {
210
- const a = e - o, u = (e + 1 & 2) == 0 ? this.size - 1 - i : i;
211
- !this.isFunction[u][a] && s < t.length * 8 && (this.modules[u][a] = m(t[s >>> 3], 7 - (s & 7)), s++);
212
- }
213
- }
214
- d(s == t.length * 8);
215
- }
216
- // XORs the codeword modules in this QR Code with the given mask pattern.
217
- // The function modules must be marked and the codeword bits must be drawn
218
- // before masking. Due to the arithmetic of XOR, calling applyMask() with
219
- // the same mask value a second time will undo the mask. A final well-formed
220
- // QR Code needs exactly one (not zero, two, etc.) mask applied.
221
- applyMask(t) {
222
- if (t < 0 || t > 7) throw new RangeError("Mask value out of range");
223
- for (let s = 0; s < this.size; s++)
224
- for (let e = 0; e < this.size; e++) {
225
- let i;
226
- switch (t) {
227
- case 0:
228
- i = (e + s) % 2 == 0;
229
- break;
230
- case 1:
231
- i = s % 2 == 0;
232
- break;
233
- case 2:
234
- i = e % 3 == 0;
235
- break;
236
- case 3:
237
- i = (e + s) % 3 == 0;
238
- break;
239
- case 4:
240
- i = (Math.floor(e / 3) + Math.floor(s / 2)) % 2 == 0;
241
- break;
242
- case 5:
243
- i = e * s % 2 + e * s % 3 == 0;
244
- break;
245
- case 6:
246
- i = (e * s % 2 + e * s % 3) % 2 == 0;
247
- break;
248
- case 7:
249
- i = ((e + s) % 2 + e * s % 3) % 2 == 0;
250
- break;
251
- default:
252
- throw new Error("Unreachable");
253
- }
254
- !this.isFunction[s][e] && i && (this.modules[s][e] = !this.modules[s][e]);
255
- }
256
- }
257
- // Calculates and returns the penalty score based on state of this QR Code's current modules.
258
- // This is used by the automatic mask choice algorithm to find the mask pattern that yields the lowest score.
259
- getPenaltyScore() {
260
- let t = 0;
261
- for (let o = 0; o < this.size; o++) {
262
- let a = !1, n = 0;
263
- const u = [0, 0, 0, 0, 0, 0, 0];
264
- for (let l = 0; l < this.size; l++)
265
- this.modules[o][l] == a ? (n++, n == 5 ? t += r.PENALTY_N1 : n > 5 && t++) : (this.finderPenaltyAddHistory(n, u), a || (t += this.finderPenaltyCountPatterns(u) * r.PENALTY_N3), a = this.modules[o][l], n = 1);
266
- t += this.finderPenaltyTerminateAndCount(a, n, u) * r.PENALTY_N3;
267
- }
268
- for (let o = 0; o < this.size; o++) {
269
- let a = !1, n = 0;
270
- const u = [0, 0, 0, 0, 0, 0, 0];
271
- for (let l = 0; l < this.size; l++)
272
- this.modules[l][o] == a ? (n++, n == 5 ? t += r.PENALTY_N1 : n > 5 && t++) : (this.finderPenaltyAddHistory(n, u), a || (t += this.finderPenaltyCountPatterns(u) * r.PENALTY_N3), a = this.modules[l][o], n = 1);
273
- t += this.finderPenaltyTerminateAndCount(a, n, u) * r.PENALTY_N3;
274
- }
275
- for (let o = 0; o < this.size - 1; o++)
276
- for (let a = 0; a < this.size - 1; a++) {
277
- const n = this.modules[o][a];
278
- n == this.modules[o][a + 1] && n == this.modules[o + 1][a] && n == this.modules[o + 1][a + 1] && (t += r.PENALTY_N2);
279
- }
280
- let s = 0;
281
- for (const o of this.modules)
282
- s = o.reduce((a, n) => a + (n ? 1 : 0), s);
283
- const e = this.size * this.size, i = Math.ceil(Math.abs(s * 20 - e * 10) / e) - 1;
284
- return d(0 <= i && i <= 9), t += i * r.PENALTY_N4, d(0 <= t && t <= 2568888), t;
285
- }
286
- /*-- Private helper functions --*/
287
- // Returns an ascending list of positions of alignment patterns for this version number.
288
- // Each position is in the range [0,177), and are used on both the x and y axes.
289
- // This could be implemented as lookup table of 40 variable-length lists of integers.
290
- getAlignmentPatternPositions() {
291
- if (this.version == 1) return [];
292
- {
293
- const t = Math.floor(this.version / 7) + 2, s = Math.floor(
294
- (this.version * 8 + t * 3 + 5) / (t * 4 - 4)
295
- ) * 2, e = [6];
296
- for (let i = this.size - 7; e.length < t; i -= s)
297
- e.splice(1, 0, i);
298
- return e;
299
- }
300
- }
301
- // Returns the number of data bits that can be stored in a QR Code of the given version number, after
302
- // all function modules are excluded. This includes remainder bits, so it might not be a multiple of 8.
303
- // The result is in the range [208, 29648]. This could be implemented as a 40-entry lookup table.
304
- static getNumRawDataModules(t) {
305
- if (t < r.MIN_VERSION || t > r.MAX_VERSION)
306
- throw new RangeError("Version number out of range");
307
- let s = (16 * t + 128) * t + 64;
308
- if (t >= 2) {
309
- const e = Math.floor(t / 7) + 2;
310
- s -= (25 * e - 10) * e - 55, t >= 7 && (s -= 36);
311
- }
312
- return d(208 <= s && s <= 29648), s;
313
- }
314
- // Returns the number of 8-bit data (i.e. not error correction) codewords contained in any
315
- // QR Code of the given version number and error correction level, with remainder bits discarded.
316
- // This stateless pure function could be implemented as a (40*4)-cell lookup table.
317
- static getNumDataCodewords(t, s) {
318
- return Math.floor(r.getNumRawDataModules(t) / 8) - r.ECC_CODEWORDS_PER_BLOCK[s.ordinal][t] * r.NUM_ERROR_CORRECTION_BLOCKS[s.ordinal][t];
319
- }
320
- // Returns a Reed-Solomon ECC generator polynomial for the given degree. This could be
321
- // implemented as a lookup table over all possible parameter values, instead of as an algorithm.
322
- static reedSolomonComputeDivisor(t) {
323
- if (t < 1 || t > 255)
324
- throw new RangeError("Degree out of range");
325
- const s = [];
326
- for (let i = 0; i < t - 1; i++) s.push(0);
327
- s.push(1);
328
- let e = 1;
329
- for (let i = 0; i < t; i++) {
330
- for (let o = 0; o < s.length; o++)
331
- s[o] = r.reedSolomonMultiply(s[o], e), o + 1 < s.length && (s[o] ^= s[o + 1]);
332
- e = r.reedSolomonMultiply(e, 2);
333
- }
334
- return s;
335
- }
336
- // Returns the Reed-Solomon error correction codeword for the given data and divisor polynomials.
337
- static reedSolomonComputeRemainder(t, s) {
338
- const e = s.map((i) => 0);
339
- for (const i of t) {
340
- const o = i ^ e.shift();
341
- e.push(0), s.forEach(
342
- (a, n) => e[n] ^= r.reedSolomonMultiply(a, o)
343
- );
344
- }
345
- return e;
346
- }
347
- // Returns the product of the two given field elements modulo GF(2^8/0x11D). The arguments and result
348
- // are unsigned 8-bit integers. This could be implemented as a lookup table of 256*256 entries of uint8.
349
- static reedSolomonMultiply(t, s) {
350
- if (t >>> 8 || s >>> 8)
351
- throw new RangeError("Byte out of range");
352
- let e = 0;
353
- for (let i = 7; i >= 0; i--)
354
- e = e << 1 ^ (e >>> 7) * 285, e ^= (s >>> i & 1) * t;
355
- return d(e >>> 8 == 0), e;
356
- }
357
- // Can only be called immediately after a light run is added, and
358
- // returns either 0, 1, or 2. A helper function for getPenaltyScore().
359
- finderPenaltyCountPatterns(t) {
360
- const s = t[1];
361
- d(s <= this.size * 3);
362
- const e = s > 0 && t[2] == s && t[3] == s * 3 && t[4] == s && t[5] == s;
363
- return (e && t[0] >= s * 4 && t[6] >= s ? 1 : 0) + (e && t[6] >= s * 4 && t[0] >= s ? 1 : 0);
364
- }
365
- // Must be called at the end of a line (row or column) of modules. A helper function for getPenaltyScore().
366
- finderPenaltyTerminateAndCount(t, s, e) {
367
- return t && (this.finderPenaltyAddHistory(s, e), s = 0), s += this.size, this.finderPenaltyAddHistory(s, e), this.finderPenaltyCountPatterns(e);
368
- }
369
- // Pushes the given value to the front and drops the last value. A helper function for getPenaltyScore().
370
- finderPenaltyAddHistory(t, s) {
371
- s[0] == 0 && (t += this.size), s.pop(), s.unshift(t);
372
- }
373
- static {
374
- this.MIN_VERSION = 1;
375
- }
376
- static {
377
- this.MAX_VERSION = 40;
378
- }
379
- static {
380
- this.PENALTY_N1 = 3;
381
- }
382
- static {
383
- this.PENALTY_N2 = 3;
384
- }
385
- static {
386
- this.PENALTY_N3 = 40;
387
- }
388
- static {
389
- this.PENALTY_N4 = 10;
390
- }
391
- static {
392
- this.ECC_CODEWORDS_PER_BLOCK = [
393
- // Version: (note that index 0 is for padding, and is set to an illegal value)
394
- //0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40 Error correction level
395
- [
396
- -1,
397
- 7,
398
- 10,
399
- 15,
400
- 20,
401
- 26,
402
- 18,
403
- 20,
404
- 24,
405
- 30,
406
- 18,
407
- 20,
408
- 24,
409
- 26,
410
- 30,
411
- 22,
412
- 24,
413
- 28,
414
- 30,
415
- 28,
416
- 28,
417
- 28,
418
- 28,
419
- 30,
420
- 30,
421
- 26,
422
- 28,
423
- 30,
424
- 30,
425
- 30,
426
- 30,
427
- 30,
428
- 30,
429
- 30,
430
- 30,
431
- 30,
432
- 30,
433
- 30,
434
- 30,
435
- 30,
436
- 30
437
- ],
438
- // Low
439
- [
440
- -1,
441
- 10,
442
- 16,
443
- 26,
444
- 18,
445
- 24,
446
- 16,
447
- 18,
448
- 22,
449
- 22,
450
- 26,
451
- 30,
452
- 22,
453
- 22,
454
- 24,
455
- 24,
456
- 28,
457
- 28,
458
- 26,
459
- 26,
460
- 26,
461
- 26,
462
- 28,
463
- 28,
464
- 28,
465
- 28,
466
- 28,
467
- 28,
468
- 28,
469
- 28,
470
- 28,
471
- 28,
472
- 28,
473
- 28,
474
- 28,
475
- 28,
476
- 28,
477
- 28,
478
- 28,
479
- 28,
480
- 28
481
- ],
482
- // Medium
483
- [
484
- -1,
485
- 13,
486
- 22,
487
- 18,
488
- 26,
489
- 18,
490
- 24,
491
- 18,
492
- 22,
493
- 20,
494
- 24,
495
- 28,
496
- 26,
497
- 24,
498
- 20,
499
- 30,
500
- 24,
501
- 28,
502
- 28,
503
- 26,
504
- 30,
505
- 28,
506
- 30,
507
- 30,
508
- 30,
509
- 30,
510
- 28,
511
- 30,
512
- 30,
513
- 30,
514
- 30,
515
- 30,
516
- 30,
517
- 30,
518
- 30,
519
- 30,
520
- 30,
521
- 30,
522
- 30,
523
- 30,
524
- 30
525
- ],
526
- // Quartile
527
- [
528
- -1,
529
- 17,
530
- 28,
531
- 22,
532
- 16,
533
- 22,
534
- 28,
535
- 26,
536
- 26,
537
- 24,
538
- 28,
539
- 24,
540
- 28,
541
- 22,
542
- 24,
543
- 24,
544
- 30,
545
- 28,
546
- 28,
547
- 26,
548
- 28,
549
- 30,
550
- 24,
551
- 30,
552
- 30,
553
- 30,
554
- 30,
555
- 30,
556
- 30,
557
- 30,
558
- 30,
559
- 30,
560
- 30,
561
- 30,
562
- 30,
563
- 30,
564
- 30,
565
- 30,
566
- 30,
567
- 30,
568
- 30
569
- ]
570
- // High
571
- ];
572
- }
573
- static {
574
- this.NUM_ERROR_CORRECTION_BLOCKS = [
575
- // Version: (note that index 0 is for padding, and is set to an illegal value)
576
- //0, 1, 2, 3, 4, 5, 6, 7, 8, 9,10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40 Error correction level
577
- [
578
- -1,
579
- 1,
580
- 1,
581
- 1,
582
- 1,
583
- 1,
584
- 2,
585
- 2,
586
- 2,
587
- 2,
588
- 4,
589
- 4,
590
- 4,
591
- 4,
592
- 4,
593
- 6,
594
- 6,
595
- 6,
596
- 6,
597
- 7,
598
- 8,
599
- 8,
600
- 9,
601
- 9,
602
- 10,
603
- 12,
604
- 12,
605
- 12,
606
- 13,
607
- 14,
608
- 15,
609
- 16,
610
- 17,
611
- 18,
612
- 19,
613
- 19,
614
- 20,
615
- 21,
616
- 22,
617
- 24,
618
- 25
619
- ],
620
- // Low
621
- [
622
- -1,
623
- 1,
624
- 1,
625
- 1,
626
- 2,
627
- 2,
628
- 4,
629
- 4,
630
- 4,
631
- 5,
632
- 5,
633
- 5,
634
- 8,
635
- 9,
636
- 9,
637
- 10,
638
- 10,
639
- 11,
640
- 13,
641
- 14,
642
- 16,
643
- 17,
644
- 17,
645
- 18,
646
- 20,
647
- 21,
648
- 23,
649
- 25,
650
- 26,
651
- 28,
652
- 29,
653
- 31,
654
- 33,
655
- 35,
656
- 37,
657
- 38,
658
- 40,
659
- 43,
660
- 45,
661
- 47,
662
- 49
663
- ],
664
- // Medium
665
- [
666
- -1,
667
- 1,
668
- 1,
669
- 2,
670
- 2,
671
- 4,
672
- 4,
673
- 6,
674
- 6,
675
- 8,
676
- 8,
677
- 8,
678
- 10,
679
- 12,
680
- 16,
681
- 12,
682
- 17,
683
- 16,
684
- 18,
685
- 21,
686
- 20,
687
- 23,
688
- 23,
689
- 25,
690
- 27,
691
- 29,
692
- 34,
693
- 34,
694
- 35,
695
- 38,
696
- 40,
697
- 43,
698
- 45,
699
- 48,
700
- 51,
701
- 53,
702
- 56,
703
- 59,
704
- 62,
705
- 65,
706
- 68
707
- ],
708
- // Quartile
709
- [
710
- -1,
711
- 1,
712
- 1,
713
- 2,
714
- 4,
715
- 4,
716
- 4,
717
- 5,
718
- 6,
719
- 8,
720
- 8,
721
- 11,
722
- 11,
723
- 16,
724
- 16,
725
- 18,
726
- 16,
727
- 19,
728
- 21,
729
- 25,
730
- 25,
731
- 25,
732
- 34,
733
- 30,
734
- 32,
735
- 35,
736
- 37,
737
- 40,
738
- 42,
739
- 45,
740
- 48,
741
- 51,
742
- 54,
743
- 57,
744
- 60,
745
- 63,
746
- 66,
747
- 70,
748
- 74,
749
- 77,
750
- 81
751
- ]
752
- // High
753
- ];
754
- }
755
- }
756
- w.QrCode = r;
757
- function h(R, t, s) {
758
- if (t < 0 || t > 31 || R >>> t)
759
- throw new RangeError("Value out of range");
760
- for (let e = t - 1; e >= 0; e--)
761
- s.push(R >>> e & 1);
762
- }
763
- function m(R, t) {
764
- return (R >>> t & 1) != 0;
765
- }
766
- function d(R) {
767
- if (!R) throw new Error("Assertion error");
768
- }
769
- class c {
770
- /*-- Constructor (low level) and fields --*/
771
- // Creates a new QR Code segment with the given attributes and data.
772
- // The character count (numChars) must agree with the mode and the bit buffer length,
773
- // but the constraint isn't checked. The given bit buffer is cloned and stored.
774
- constructor(t, s, e) {
775
- if (this.mode = t, this.numChars = s, this.bitData = e, s < 0) throw new RangeError("Invalid argument");
776
- this.bitData = e.slice();
777
- }
778
- /*-- Static factory functions (mid level) --*/
779
- // Returns a segment representing the given binary data encoded in
780
- // byte mode. All input byte arrays are acceptable. Any text string
781
- // can be converted to UTF-8 bytes and encoded as a byte mode segment.
782
- static makeBytes(t) {
783
- const s = [];
784
- for (const e of t) h(e, 8, s);
785
- return new c(c.Mode.BYTE, t.length, s);
786
- }
787
- // Returns a segment representing the given string of decimal digits encoded in numeric mode.
788
- static makeNumeric(t) {
789
- if (!c.isNumeric(t))
790
- throw new RangeError("String contains non-numeric characters");
791
- const s = [];
792
- for (let e = 0; e < t.length; ) {
793
- const i = Math.min(t.length - e, 3);
794
- h(parseInt(t.substring(e, e + i), 10), i * 3 + 1, s), e += i;
795
- }
796
- return new c(c.Mode.NUMERIC, t.length, s);
797
- }
798
- // Returns a segment representing the given text string encoded in alphanumeric mode.
799
- // The characters allowed are: 0 to 9, A to Z (uppercase only), space,
800
- // dollar, percent, asterisk, plus, hyphen, period, slash, colon.
801
- static makeAlphanumeric(t) {
802
- if (!c.isAlphanumeric(t))
803
- throw new RangeError(
804
- "String contains unencodable characters in alphanumeric mode"
805
- );
806
- const s = [];
807
- let e;
808
- for (e = 0; e + 2 <= t.length; e += 2) {
809
- let i = c.ALPHANUMERIC_CHARSET.indexOf(t.charAt(e)) * 45;
810
- i += c.ALPHANUMERIC_CHARSET.indexOf(t.charAt(e + 1)), h(i, 11, s);
811
- }
812
- return e < t.length && h(
813
- c.ALPHANUMERIC_CHARSET.indexOf(t.charAt(e)),
814
- 6,
815
- s
816
- ), new c(c.Mode.ALPHANUMERIC, t.length, s);
817
- }
818
- // Returns a new mutable list of zero or more segments to represent the given Unicode text string.
819
- // The result may use various segment modes and switch modes to optimize the length of the bit stream.
820
- static makeSegments(t) {
821
- return t == "" ? [] : c.isNumeric(t) ? [c.makeNumeric(t)] : c.isAlphanumeric(t) ? [c.makeAlphanumeric(t)] : [c.makeBytes(c.toUtf8ByteArray(t))];
822
- }
823
- // Returns a segment representing an Extended Channel Interpretation
824
- // (ECI) designator with the given assignment value.
825
- static makeEci(t) {
826
- const s = [];
827
- if (t < 0)
828
- throw new RangeError("ECI assignment value out of range");
829
- if (t < 128) h(t, 8, s);
830
- else if (t < 16384)
831
- h(2, 2, s), h(t, 14, s);
832
- else if (t < 1e6)
833
- h(6, 3, s), h(t, 21, s);
834
- else throw new RangeError("ECI assignment value out of range");
835
- return new c(c.Mode.ECI, 0, s);
836
- }
837
- // Tests whether the given string can be encoded as a segment in numeric mode.
838
- // A string is encodable iff each character is in the range 0 to 9.
839
- static isNumeric(t) {
840
- return c.NUMERIC_REGEX.test(t);
841
- }
842
- // Tests whether the given string can be encoded as a segment in alphanumeric mode.
843
- // A string is encodable iff each character is in the following set: 0 to 9, A to Z
844
- // (uppercase only), space, dollar, percent, asterisk, plus, hyphen, period, slash, colon.
845
- static isAlphanumeric(t) {
846
- return c.ALPHANUMERIC_REGEX.test(t);
847
- }
848
- /*-- Methods --*/
849
- // Returns a new copy of the data bits of this segment.
850
- getData() {
851
- return this.bitData.slice();
852
- }
853
- // (Package-private) Calculates and returns the number of bits needed to encode the given segments at
854
- // the given version. The result is infinity if a segment has too many characters to fit its length field.
855
- static getTotalBits(t, s) {
856
- let e = 0;
857
- for (const i of t) {
858
- const o = i.mode.numCharCountBits(s);
859
- if (i.numChars >= 1 << o) return 1 / 0;
860
- e += 4 + o + i.bitData.length;
861
- }
862
- return e;
863
- }
864
- // Returns a new array of bytes representing the given string encoded in UTF-8.
865
- static toUtf8ByteArray(t) {
866
- t = encodeURI(t);
867
- const s = [];
868
- for (let e = 0; e < t.length; e++)
869
- t.charAt(e) != "%" ? s.push(t.charCodeAt(e)) : (s.push(parseInt(t.substring(e + 1, e + 3), 16)), e += 2);
870
- return s;
871
- }
872
- static {
873
- this.NUMERIC_REGEX = /^[0-9]*$/;
874
- }
875
- static {
876
- this.ALPHANUMERIC_REGEX = /^[A-Z0-9 $%*+./:-]*$/;
877
- }
878
- static {
879
- this.ALPHANUMERIC_CHARSET = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:";
880
- }
881
- }
882
- w.QrSegment = c;
883
- })(A || (A = {}));
884
- ((w) => {
885
- ((r) => {
886
- class h {
887
- // The QR Code can tolerate about 30% erroneous codewords
888
- /*-- Constructor and fields --*/
889
- constructor(d, c) {
890
- this.ordinal = d, this.formatBits = c;
891
- }
892
- static {
893
- this.LOW = new h(0, 1);
894
- }
895
- static {
896
- this.MEDIUM = new h(1, 0);
897
- }
898
- static {
899
- this.QUARTILE = new h(2, 3);
900
- }
901
- static {
902
- this.HIGH = new h(3, 2);
903
- }
904
- }
905
- r.Ecc = h;
906
- })(w.QrCode || (w.QrCode = {}));
907
- })(A || (A = {}));
908
- ((w) => {
909
- ((r) => {
910
- class h {
911
- /*-- Constructor and fields --*/
912
- constructor(d, c) {
913
- this.modeBits = d, this.numBitsCharCount = c;
914
- }
915
- static {
916
- this.NUMERIC = new h(1, [10, 12, 14]);
917
- }
918
- static {
919
- this.ALPHANUMERIC = new h(2, [9, 11, 13]);
920
- }
921
- static {
922
- this.BYTE = new h(4, [8, 16, 16]);
923
- }
924
- static {
925
- this.KANJI = new h(8, [8, 10, 12]);
926
- }
927
- static {
928
- this.ECI = new h(7, [0, 0, 0]);
929
- }
930
- /*-- Method --*/
931
- // (Package-private) Returns the bit width of the character count field for a segment in
932
- // this mode in a QR Code at the given version number. The result is in the range [0, 16].
933
- numCharCountBits(d) {
934
- return this.numBitsCharCount[Math.floor((d + 7) / 17)];
935
- }
936
- }
937
- r.Mode = h;
938
- })(w.QrSegment || (w.QrSegment = {}));
939
- })(A || (A = {}));
940
- const p = A;
941
- export {
942
- p as default
943
- };
1
+ /* 潘启宝 2026-03-24 15:26:28 星期二 */
2
+ //#region components/pc/qr-code/src/qrcodegen.ts
3
+ var e;
4
+ (function(t) {
5
+ class n {
6
+ static encodeText(t, r) {
7
+ let i = e.QrSegment.makeSegments(t);
8
+ return n.encodeSegments(i, r);
9
+ }
10
+ static encodeBinary(t, r) {
11
+ let i = e.QrSegment.makeBytes(t);
12
+ return n.encodeSegments([i], r);
13
+ }
14
+ static encodeSegments(e, t, i = 1, s = 40, c = -1, l = !0) {
15
+ if (!(n.MIN_VERSION <= i && i <= s && s <= n.MAX_VERSION) || c < -1 || c > 7) throw RangeError("Invalid value");
16
+ let u, d;
17
+ for (u = i;; u++) {
18
+ let r = n.#m(u, t) * 8, i = o.getTotalBits(e, u);
19
+ if (i <= r) {
20
+ d = i;
21
+ break;
22
+ }
23
+ if (u >= s) throw RangeError("Data too long");
24
+ }
25
+ for (let e of [
26
+ n.Ecc.MEDIUM,
27
+ n.Ecc.QUARTILE,
28
+ n.Ecc.HIGH
29
+ ]) l && d <= n.#m(u, e) * 8 && (t = e);
30
+ let f = [];
31
+ for (let t of e) {
32
+ r(t.mode.modeBits, 4, f), r(t.numChars, t.mode.numCharCountBits(u), f);
33
+ for (let e of t.getData()) f.push(e);
34
+ }
35
+ a(f.length == d);
36
+ let p = n.#m(u, t) * 8;
37
+ a(f.length <= p), r(0, Math.min(4, p - f.length), f), r(0, (8 - f.length % 8) % 8, f), a(f.length % 8 == 0);
38
+ for (let e = 236; f.length < p; e ^= 253) r(e, 8, f);
39
+ let m = [];
40
+ for (; m.length * 8 < f.length;) m.push(0);
41
+ return f.forEach((e, t) => m[t >>> 3] |= e << 7 - (t & 7)), new n(u, t, m, c);
42
+ }
43
+ #e = [];
44
+ #t = [];
45
+ constructor(e, t, r, i) {
46
+ if (this.version = e, this.errorCorrectionLevel = t, e < n.MIN_VERSION || e > n.MAX_VERSION) throw RangeError("Version value out of range");
47
+ if (i < -1 || i > 7) throw RangeError("Mask value out of range");
48
+ this.size = e * 4 + 17;
49
+ let o = [];
50
+ for (let e = 0; e < this.size; e++) o.push(!1);
51
+ for (let e = 0; e < this.size; e++) this.#e.push(o.slice()), this.#t.push(o.slice());
52
+ this.#n();
53
+ let s = this.#c(r);
54
+ if (this.#l(s), i == -1) {
55
+ let e = 1e9;
56
+ for (let t = 0; t < 8; t++) {
57
+ this.#u(t), this.#r(t);
58
+ let n = this.#d();
59
+ n < e && (i = t, e = n), this.#u(t);
60
+ }
61
+ }
62
+ a(0 <= i && i <= 7), this.mask = i, this.#u(i), this.#r(i), this.#t = [];
63
+ }
64
+ getModule(e, t) {
65
+ return 0 <= e && e < this.size && 0 <= t && t < this.size && this.#e[t][e];
66
+ }
67
+ getModules() {
68
+ return this.#e;
69
+ }
70
+ #n() {
71
+ for (let e = 0; e < this.size; e++) this.#s(6, e, e % 2 == 0), this.#s(e, 6, e % 2 == 0);
72
+ this.#a(3, 3), this.#a(this.size - 4, 3), this.#a(3, this.size - 4);
73
+ let e = this.#f(), t = e.length;
74
+ for (let n = 0; n < t; n++) for (let r = 0; r < t; r++) n == 0 && r == 0 || n == 0 && r == t - 1 || n == t - 1 && r == 0 || this.#o(e[n], e[r]);
75
+ this.#r(0), this.#i();
76
+ }
77
+ #r(e) {
78
+ let t = this.errorCorrectionLevel.formatBits << 3 | e, n = t;
79
+ for (let e = 0; e < 10; e++) n = n << 1 ^ (n >>> 9) * 1335;
80
+ let r = (t << 10 | n) ^ 21522;
81
+ a(r >>> 15 == 0);
82
+ for (let e = 0; e <= 5; e++) this.#s(8, e, i(r, e));
83
+ this.#s(8, 7, i(r, 6)), this.#s(8, 8, i(r, 7)), this.#s(7, 8, i(r, 8));
84
+ for (let e = 9; e < 15; e++) this.#s(14 - e, 8, i(r, e));
85
+ for (let e = 0; e < 8; e++) this.#s(this.size - 1 - e, 8, i(r, e));
86
+ for (let e = 8; e < 15; e++) this.#s(8, this.size - 15 + e, i(r, e));
87
+ this.#s(8, this.size - 8, !0);
88
+ }
89
+ #i() {
90
+ if (this.version < 7) return;
91
+ let e = this.version;
92
+ for (let t = 0; t < 12; t++) e = e << 1 ^ (e >>> 11) * 7973;
93
+ let t = this.version << 12 | e;
94
+ a(t >>> 18 == 0);
95
+ for (let e = 0; e < 18; e++) {
96
+ let n = i(t, e), r = this.size - 11 + e % 3, a = Math.floor(e / 3);
97
+ this.#s(r, a, n), this.#s(a, r, n);
98
+ }
99
+ }
100
+ #a(e, t) {
101
+ for (let n = -4; n <= 4; n++) for (let r = -4; r <= 4; r++) {
102
+ let i = Math.max(Math.abs(r), Math.abs(n)), a = e + r, o = t + n;
103
+ 0 <= a && a < this.size && 0 <= o && o < this.size && this.#s(a, o, i != 2 && i != 4);
104
+ }
105
+ }
106
+ #o(e, t) {
107
+ for (let n = -2; n <= 2; n++) for (let r = -2; r <= 2; r++) this.#s(e + r, t + n, Math.max(Math.abs(r), Math.abs(n)) != 1);
108
+ }
109
+ #s(e, t, n) {
110
+ this.#e[t][e] = n, this.#t[t][e] = !0;
111
+ }
112
+ #c(e) {
113
+ let t = this.version, r = this.errorCorrectionLevel;
114
+ if (e.length != n.#m(t, r)) throw RangeError("Invalid argument");
115
+ let i = n.#E[r.ordinal][t], o = n.#T[r.ordinal][t], s = Math.floor(n.#p(t) / 8), c = i - s % i, l = Math.floor(s / i), u = [], d = n.#h(o);
116
+ for (let t = 0, r = 0; t < i; t++) {
117
+ let i = e.slice(r, r + l - o + (t < c ? 0 : 1));
118
+ r += i.length;
119
+ let a = n.#g(i, d);
120
+ t < c && i.push(0), u.push(i.concat(a));
121
+ }
122
+ let f = [];
123
+ for (let e = 0; e < u[0].length; e++) u.forEach((t, n) => {
124
+ (e != l - o || n >= c) && f.push(t[e]);
125
+ });
126
+ return a(f.length == s), f;
127
+ }
128
+ #l(e) {
129
+ if (e.length != Math.floor(n.#p(this.version) / 8)) throw RangeError("Invalid argument");
130
+ let t = 0;
131
+ for (let n = this.size - 1; n >= 1; n -= 2) {
132
+ n == 6 && (n = 5);
133
+ for (let r = 0; r < this.size; r++) for (let a = 0; a < 2; a++) {
134
+ let o = n - a, s = n + 1 & 2 ? r : this.size - 1 - r;
135
+ !this.#t[s][o] && t < e.length * 8 && (this.#e[s][o] = i(e[t >>> 3], 7 - (t & 7)), t++);
136
+ }
137
+ }
138
+ a(t == e.length * 8);
139
+ }
140
+ #u(e) {
141
+ if (e < 0 || e > 7) throw RangeError("Mask value out of range");
142
+ for (let t = 0; t < this.size; t++) for (let n = 0; n < this.size; n++) {
143
+ let r;
144
+ switch (e) {
145
+ case 0:
146
+ r = (n + t) % 2 == 0;
147
+ break;
148
+ case 1:
149
+ r = t % 2 == 0;
150
+ break;
151
+ case 2:
152
+ r = n % 3 == 0;
153
+ break;
154
+ case 3:
155
+ r = (n + t) % 3 == 0;
156
+ break;
157
+ case 4:
158
+ r = (Math.floor(n / 3) + Math.floor(t / 2)) % 2 == 0;
159
+ break;
160
+ case 5:
161
+ r = n * t % 2 + n * t % 3 == 0;
162
+ break;
163
+ case 6:
164
+ r = (n * t % 2 + n * t % 3) % 2 == 0;
165
+ break;
166
+ case 7:
167
+ r = ((n + t) % 2 + n * t % 3) % 2 == 0;
168
+ break;
169
+ default: throw Error("Unreachable");
170
+ }
171
+ !this.#t[t][n] && r && (this.#e[t][n] = !this.#e[t][n]);
172
+ }
173
+ }
174
+ #d() {
175
+ let e = 0;
176
+ for (let t = 0; t < this.size; t++) {
177
+ let r = !1, i = 0, a = [
178
+ 0,
179
+ 0,
180
+ 0,
181
+ 0,
182
+ 0,
183
+ 0,
184
+ 0
185
+ ];
186
+ for (let o = 0; o < this.size; o++) this.#e[t][o] == r ? (i++, i == 5 ? e += n.#x : i > 5 && e++) : (this.#b(i, a), r || (e += this.#v(a) * n.#C), r = this.#e[t][o], i = 1);
187
+ e += this.#y(r, i, a) * n.#C;
188
+ }
189
+ for (let t = 0; t < this.size; t++) {
190
+ let r = !1, i = 0, a = [
191
+ 0,
192
+ 0,
193
+ 0,
194
+ 0,
195
+ 0,
196
+ 0,
197
+ 0
198
+ ];
199
+ for (let o = 0; o < this.size; o++) this.#e[o][t] == r ? (i++, i == 5 ? e += n.#x : i > 5 && e++) : (this.#b(i, a), r || (e += this.#v(a) * n.#C), r = this.#e[o][t], i = 1);
200
+ e += this.#y(r, i, a) * n.#C;
201
+ }
202
+ for (let t = 0; t < this.size - 1; t++) for (let r = 0; r < this.size - 1; r++) {
203
+ let i = this.#e[t][r];
204
+ i == this.#e[t][r + 1] && i == this.#e[t + 1][r] && i == this.#e[t + 1][r + 1] && (e += n.#S);
205
+ }
206
+ let t = 0;
207
+ for (let e of this.#e) t = e.reduce((e, t) => e + (t ? 1 : 0), t);
208
+ let r = this.size * this.size, i = Math.ceil(Math.abs(t * 20 - r * 10) / r) - 1;
209
+ return a(0 <= i && i <= 9), e += i * n.#w, a(0 <= e && e <= 2568888), e;
210
+ }
211
+ #f() {
212
+ if (this.version == 1) return [];
213
+ {
214
+ let e = Math.floor(this.version / 7) + 2, t = Math.floor((this.version * 8 + e * 3 + 5) / (e * 4 - 4)) * 2, n = [6];
215
+ for (let r = this.size - 7; n.length < e; r -= t) n.splice(1, 0, r);
216
+ return n;
217
+ }
218
+ }
219
+ static #p(e) {
220
+ if (e < n.MIN_VERSION || e > n.MAX_VERSION) throw RangeError("Version number out of range");
221
+ let t = (16 * e + 128) * e + 64;
222
+ if (e >= 2) {
223
+ let n = Math.floor(e / 7) + 2;
224
+ t -= (25 * n - 10) * n - 55, e >= 7 && (t -= 36);
225
+ }
226
+ return a(208 <= t && t <= 29648), t;
227
+ }
228
+ static #m(e, t) {
229
+ return Math.floor(n.#p(e) / 8) - n.#T[t.ordinal][e] * n.#E[t.ordinal][e];
230
+ }
231
+ static #h(e) {
232
+ if (e < 1 || e > 255) throw RangeError("Degree out of range");
233
+ let t = [];
234
+ for (let n = 0; n < e - 1; n++) t.push(0);
235
+ t.push(1);
236
+ let r = 1;
237
+ for (let i = 0; i < e; i++) {
238
+ for (let e = 0; e < t.length; e++) t[e] = n.#_(t[e], r), e + 1 < t.length && (t[e] ^= t[e + 1]);
239
+ r = n.#_(r, 2);
240
+ }
241
+ return t;
242
+ }
243
+ static #g(e, t) {
244
+ let r = t.map((e) => 0);
245
+ for (let i of e) {
246
+ let e = i ^ r.shift();
247
+ r.push(0), t.forEach((t, i) => r[i] ^= n.#_(t, e));
248
+ }
249
+ return r;
250
+ }
251
+ static #_(e, t) {
252
+ if (e >>> 8 || t >>> 8) throw RangeError("Byte out of range");
253
+ let n = 0;
254
+ for (let r = 7; r >= 0; r--) n = n << 1 ^ (n >>> 7) * 285, n ^= (t >>> r & 1) * e;
255
+ return a(n >>> 8 == 0), n;
256
+ }
257
+ #v(e) {
258
+ let t = e[1];
259
+ a(t <= this.size * 3);
260
+ let n = t > 0 && e[2] == t && e[3] == t * 3 && e[4] == t && e[5] == t;
261
+ return (n && e[0] >= t * 4 && e[6] >= t ? 1 : 0) + (n && e[6] >= t * 4 && e[0] >= t ? 1 : 0);
262
+ }
263
+ #y(e, t, n) {
264
+ return e && (this.#b(t, n), t = 0), t += this.size, this.#b(t, n), this.#v(n);
265
+ }
266
+ #b(e, t) {
267
+ t[0] == 0 && (e += this.size), t.pop(), t.unshift(e);
268
+ }
269
+ static {
270
+ this.MIN_VERSION = 1;
271
+ }
272
+ static {
273
+ this.MAX_VERSION = 40;
274
+ }
275
+ static #x = 3;
276
+ static #S = 3;
277
+ static #C = 40;
278
+ static #w = 10;
279
+ static #T = [
280
+ [
281
+ -1,
282
+ 7,
283
+ 10,
284
+ 15,
285
+ 20,
286
+ 26,
287
+ 18,
288
+ 20,
289
+ 24,
290
+ 30,
291
+ 18,
292
+ 20,
293
+ 24,
294
+ 26,
295
+ 30,
296
+ 22,
297
+ 24,
298
+ 28,
299
+ 30,
300
+ 28,
301
+ 28,
302
+ 28,
303
+ 28,
304
+ 30,
305
+ 30,
306
+ 26,
307
+ 28,
308
+ 30,
309
+ 30,
310
+ 30,
311
+ 30,
312
+ 30,
313
+ 30,
314
+ 30,
315
+ 30,
316
+ 30,
317
+ 30,
318
+ 30,
319
+ 30,
320
+ 30,
321
+ 30
322
+ ],
323
+ [
324
+ -1,
325
+ 10,
326
+ 16,
327
+ 26,
328
+ 18,
329
+ 24,
330
+ 16,
331
+ 18,
332
+ 22,
333
+ 22,
334
+ 26,
335
+ 30,
336
+ 22,
337
+ 22,
338
+ 24,
339
+ 24,
340
+ 28,
341
+ 28,
342
+ 26,
343
+ 26,
344
+ 26,
345
+ 26,
346
+ 28,
347
+ 28,
348
+ 28,
349
+ 28,
350
+ 28,
351
+ 28,
352
+ 28,
353
+ 28,
354
+ 28,
355
+ 28,
356
+ 28,
357
+ 28,
358
+ 28,
359
+ 28,
360
+ 28,
361
+ 28,
362
+ 28,
363
+ 28,
364
+ 28
365
+ ],
366
+ [
367
+ -1,
368
+ 13,
369
+ 22,
370
+ 18,
371
+ 26,
372
+ 18,
373
+ 24,
374
+ 18,
375
+ 22,
376
+ 20,
377
+ 24,
378
+ 28,
379
+ 26,
380
+ 24,
381
+ 20,
382
+ 30,
383
+ 24,
384
+ 28,
385
+ 28,
386
+ 26,
387
+ 30,
388
+ 28,
389
+ 30,
390
+ 30,
391
+ 30,
392
+ 30,
393
+ 28,
394
+ 30,
395
+ 30,
396
+ 30,
397
+ 30,
398
+ 30,
399
+ 30,
400
+ 30,
401
+ 30,
402
+ 30,
403
+ 30,
404
+ 30,
405
+ 30,
406
+ 30,
407
+ 30
408
+ ],
409
+ [
410
+ -1,
411
+ 17,
412
+ 28,
413
+ 22,
414
+ 16,
415
+ 22,
416
+ 28,
417
+ 26,
418
+ 26,
419
+ 24,
420
+ 28,
421
+ 24,
422
+ 28,
423
+ 22,
424
+ 24,
425
+ 24,
426
+ 30,
427
+ 28,
428
+ 28,
429
+ 26,
430
+ 28,
431
+ 30,
432
+ 24,
433
+ 30,
434
+ 30,
435
+ 30,
436
+ 30,
437
+ 30,
438
+ 30,
439
+ 30,
440
+ 30,
441
+ 30,
442
+ 30,
443
+ 30,
444
+ 30,
445
+ 30,
446
+ 30,
447
+ 30,
448
+ 30,
449
+ 30,
450
+ 30
451
+ ]
452
+ ];
453
+ static #E = [
454
+ [
455
+ -1,
456
+ 1,
457
+ 1,
458
+ 1,
459
+ 1,
460
+ 1,
461
+ 2,
462
+ 2,
463
+ 2,
464
+ 2,
465
+ 4,
466
+ 4,
467
+ 4,
468
+ 4,
469
+ 4,
470
+ 6,
471
+ 6,
472
+ 6,
473
+ 6,
474
+ 7,
475
+ 8,
476
+ 8,
477
+ 9,
478
+ 9,
479
+ 10,
480
+ 12,
481
+ 12,
482
+ 12,
483
+ 13,
484
+ 14,
485
+ 15,
486
+ 16,
487
+ 17,
488
+ 18,
489
+ 19,
490
+ 19,
491
+ 20,
492
+ 21,
493
+ 22,
494
+ 24,
495
+ 25
496
+ ],
497
+ [
498
+ -1,
499
+ 1,
500
+ 1,
501
+ 1,
502
+ 2,
503
+ 2,
504
+ 4,
505
+ 4,
506
+ 4,
507
+ 5,
508
+ 5,
509
+ 5,
510
+ 8,
511
+ 9,
512
+ 9,
513
+ 10,
514
+ 10,
515
+ 11,
516
+ 13,
517
+ 14,
518
+ 16,
519
+ 17,
520
+ 17,
521
+ 18,
522
+ 20,
523
+ 21,
524
+ 23,
525
+ 25,
526
+ 26,
527
+ 28,
528
+ 29,
529
+ 31,
530
+ 33,
531
+ 35,
532
+ 37,
533
+ 38,
534
+ 40,
535
+ 43,
536
+ 45,
537
+ 47,
538
+ 49
539
+ ],
540
+ [
541
+ -1,
542
+ 1,
543
+ 1,
544
+ 2,
545
+ 2,
546
+ 4,
547
+ 4,
548
+ 6,
549
+ 6,
550
+ 8,
551
+ 8,
552
+ 8,
553
+ 10,
554
+ 12,
555
+ 16,
556
+ 12,
557
+ 17,
558
+ 16,
559
+ 18,
560
+ 21,
561
+ 20,
562
+ 23,
563
+ 23,
564
+ 25,
565
+ 27,
566
+ 29,
567
+ 34,
568
+ 34,
569
+ 35,
570
+ 38,
571
+ 40,
572
+ 43,
573
+ 45,
574
+ 48,
575
+ 51,
576
+ 53,
577
+ 56,
578
+ 59,
579
+ 62,
580
+ 65,
581
+ 68
582
+ ],
583
+ [
584
+ -1,
585
+ 1,
586
+ 1,
587
+ 2,
588
+ 4,
589
+ 4,
590
+ 4,
591
+ 5,
592
+ 6,
593
+ 8,
594
+ 8,
595
+ 11,
596
+ 11,
597
+ 16,
598
+ 16,
599
+ 18,
600
+ 16,
601
+ 19,
602
+ 21,
603
+ 25,
604
+ 25,
605
+ 25,
606
+ 34,
607
+ 30,
608
+ 32,
609
+ 35,
610
+ 37,
611
+ 40,
612
+ 42,
613
+ 45,
614
+ 48,
615
+ 51,
616
+ 54,
617
+ 57,
618
+ 60,
619
+ 63,
620
+ 66,
621
+ 70,
622
+ 74,
623
+ 77,
624
+ 81
625
+ ]
626
+ ];
627
+ }
628
+ t.QrCode = n;
629
+ function r(e, t, n) {
630
+ if (t < 0 || t > 31 || e >>> t) throw RangeError("Value out of range");
631
+ for (let r = t - 1; r >= 0; r--) n.push(e >>> r & 1);
632
+ }
633
+ function i(e, t) {
634
+ return (e >>> t & 1) != 0;
635
+ }
636
+ function a(e) {
637
+ if (!e) throw Error("Assertion error");
638
+ }
639
+ class o {
640
+ static makeBytes(e) {
641
+ let t = [];
642
+ for (let n of e) r(n, 8, t);
643
+ return new o(o.Mode.BYTE, e.length, t);
644
+ }
645
+ static makeNumeric(e) {
646
+ if (!o.isNumeric(e)) throw RangeError("String contains non-numeric characters");
647
+ let t = [];
648
+ for (let n = 0; n < e.length;) {
649
+ let i = Math.min(e.length - n, 3);
650
+ r(parseInt(e.substring(n, n + i), 10), i * 3 + 1, t), n += i;
651
+ }
652
+ return new o(o.Mode.NUMERIC, e.length, t);
653
+ }
654
+ static makeAlphanumeric(e) {
655
+ if (!o.isAlphanumeric(e)) throw RangeError("String contains unencodable characters in alphanumeric mode");
656
+ let t = [], n;
657
+ for (n = 0; n + 2 <= e.length; n += 2) {
658
+ let i = o.#r.indexOf(e.charAt(n)) * 45;
659
+ i += o.#r.indexOf(e.charAt(n + 1)), r(i, 11, t);
660
+ }
661
+ return n < e.length && r(o.#r.indexOf(e.charAt(n)), 6, t), new o(o.Mode.ALPHANUMERIC, e.length, t);
662
+ }
663
+ static makeSegments(e) {
664
+ return e == "" ? [] : o.isNumeric(e) ? [o.makeNumeric(e)] : o.isAlphanumeric(e) ? [o.makeAlphanumeric(e)] : [o.makeBytes(o.#e(e))];
665
+ }
666
+ static makeEci(e) {
667
+ let t = [];
668
+ if (e < 0) throw RangeError("ECI assignment value out of range");
669
+ if (e < 128) r(e, 8, t);
670
+ else if (e < 16384) r(2, 2, t), r(e, 14, t);
671
+ else if (e < 1e6) r(6, 3, t), r(e, 21, t);
672
+ else throw RangeError("ECI assignment value out of range");
673
+ return new o(o.Mode.ECI, 0, t);
674
+ }
675
+ static isNumeric(e) {
676
+ return o.#t.test(e);
677
+ }
678
+ static isAlphanumeric(e) {
679
+ return o.#n.test(e);
680
+ }
681
+ constructor(e, t, n) {
682
+ if (this.mode = e, this.numChars = t, this.bitData = n, t < 0) throw RangeError("Invalid argument");
683
+ this.bitData = n.slice();
684
+ }
685
+ getData() {
686
+ return this.bitData.slice();
687
+ }
688
+ static getTotalBits(e, t) {
689
+ let n = 0;
690
+ for (let r of e) {
691
+ let e = r.mode.numCharCountBits(t);
692
+ if (r.numChars >= 1 << e) return Infinity;
693
+ n += 4 + e + r.bitData.length;
694
+ }
695
+ return n;
696
+ }
697
+ static #e(e) {
698
+ e = encodeURI(e);
699
+ let t = [];
700
+ for (let n = 0; n < e.length; n++) e.charAt(n) == "%" ? (t.push(parseInt(e.substring(n + 1, n + 3), 16)), n += 2) : t.push(e.charCodeAt(n));
701
+ return t;
702
+ }
703
+ static #t = /^[0-9]*$/;
704
+ static #n = /^[A-Z0-9 $%*+./:-]*$/;
705
+ static #r = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:";
706
+ }
707
+ t.QrSegment = o;
708
+ })(e ||= {}), (function(e) {
709
+ let t;
710
+ (function(e) {
711
+ class t {
712
+ static {
713
+ this.LOW = new t(0, 1);
714
+ }
715
+ static {
716
+ this.MEDIUM = new t(1, 0);
717
+ }
718
+ static {
719
+ this.QUARTILE = new t(2, 3);
720
+ }
721
+ static {
722
+ this.HIGH = new t(3, 2);
723
+ }
724
+ constructor(e, t) {
725
+ this.ordinal = e, this.formatBits = t;
726
+ }
727
+ }
728
+ e.Ecc = t;
729
+ })(t ||= e.QrCode ||= {});
730
+ })(e ||= {}), (function(e) {
731
+ let t;
732
+ (function(e) {
733
+ class t {
734
+ static {
735
+ this.NUMERIC = new t(1, [
736
+ 10,
737
+ 12,
738
+ 14
739
+ ]);
740
+ }
741
+ static {
742
+ this.ALPHANUMERIC = new t(2, [
743
+ 9,
744
+ 11,
745
+ 13
746
+ ]);
747
+ }
748
+ static {
749
+ this.BYTE = new t(4, [
750
+ 8,
751
+ 16,
752
+ 16
753
+ ]);
754
+ }
755
+ static {
756
+ this.KANJI = new t(8, [
757
+ 8,
758
+ 10,
759
+ 12
760
+ ]);
761
+ }
762
+ static {
763
+ this.ECI = new t(7, [
764
+ 0,
765
+ 0,
766
+ 0
767
+ ]);
768
+ }
769
+ constructor(e, t) {
770
+ this.modeBits = e, this.numBitsCharCount = t;
771
+ }
772
+ numCharCountBits(e) {
773
+ return this.numBitsCharCount[Math.floor((e + 7) / 17)];
774
+ }
775
+ }
776
+ e.Mode = t;
777
+ })(t ||= e.QrSegment ||= {});
778
+ })(e ||= {});
779
+ var t = e;
780
+ //#endregion
781
+ export { t as default };
782
+ /* 独立思考,明辨是非 */