@unicom-cloud/ui 0.8.168 → 0.8.169

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 (2653) hide show
  1. package/.virtual/_rolldown/runtime.js +1 -1
  2. package/affix/Affix.d.ts +1 -3
  3. package/affix/Affix.js +67 -64
  4. package/affix/constants.js +2 -0
  5. package/affix/context.d.ts +3 -0
  6. package/affix/context.js +7 -0
  7. package/affix/index.d.ts +4 -3
  8. package/affix/index.js +9 -4
  9. package/affix/interface.d.ts +2 -2
  10. package/affix/style/index.css +1 -0
  11. package/affix/style/index.d.ts +1 -0
  12. package/affix/style/index.js +3 -0
  13. package/alert/Alert.js +58 -57
  14. package/alert/constants.js +2 -0
  15. package/alert/context.d.ts +3 -0
  16. package/alert/context.js +10 -0
  17. package/alert/index.d.ts +3 -0
  18. package/alert/index.js +9 -4
  19. package/alert/style/index.css +1 -0
  20. package/alert/style/index.d.ts +1 -0
  21. package/alert/style/index.js +3 -0
  22. package/anchor/Anchor.js +48 -55
  23. package/anchor/Link.js +2 -2
  24. package/anchor/constants.js +2 -0
  25. package/anchor/context.d.ts +3 -2
  26. package/anchor/context.js +12 -3
  27. package/anchor/index.d.ts +4 -1
  28. package/anchor/index.js +10 -7
  29. package/anchor/style/index.css +1 -0
  30. package/anchor/style/index.d.ts +2 -0
  31. package/anchor/style/index.js +4 -0
  32. package/anchor/utils.js +1 -1
  33. package/animation/Animation.js +18 -14
  34. package/animation/constants.js +2 -0
  35. package/animation/context.d.ts +3 -0
  36. package/animation/context.js +7 -0
  37. package/animation/index.d.ts +2 -0
  38. package/animation/index.js +10 -5
  39. package/animation/style/index.d.ts +1 -0
  40. package/animation/style/index.js +3 -0
  41. package/app/App.js +25 -27
  42. package/app/constants.js +2 -0
  43. package/app/context.d.ts +4 -3
  44. package/app/context.js +5 -4
  45. package/app/index.d.ts +2 -1
  46. package/app/index.js +9 -7
  47. package/app/style/index.css +1 -0
  48. package/app/style/index.d.ts +1 -0
  49. package/app/style/index.js +3 -0
  50. package/app/useApp.js +2 -2
  51. package/auto-complete/AutoComplete.js +58 -54
  52. package/auto-complete/constants.d.ts +0 -0
  53. package/auto-complete/constants.js +2 -0
  54. package/auto-complete/context.d.ts +3 -0
  55. package/auto-complete/context.js +7 -0
  56. package/auto-complete/index.d.ts +2 -0
  57. package/auto-complete/index.js +9 -6
  58. package/auto-complete/style/index.css +1 -0
  59. package/auto-complete/style/index.d.ts +3 -0
  60. package/auto-complete/style/index.js +5 -0
  61. package/avatar/Avatar.d.ts +1 -3
  62. package/avatar/Avatar.js +49 -53
  63. package/avatar/Group.js +3 -3
  64. package/avatar/constants.d.ts +0 -0
  65. package/avatar/constants.js +2 -0
  66. package/avatar/context.d.ts +3 -2
  67. package/avatar/context.js +7 -3
  68. package/avatar/index.d.ts +4 -4
  69. package/avatar/index.js +9 -7
  70. package/avatar/interface.d.ts +2 -2
  71. package/avatar/style/index.css +1 -0
  72. package/avatar/style/index.d.ts +2 -0
  73. package/avatar/style/index.js +4 -0
  74. package/back-top/BackTop.d.ts +1 -3
  75. package/back-top/BackTop.js +44 -44
  76. package/back-top/constants.d.ts +0 -0
  77. package/back-top/constants.js +2 -0
  78. package/back-top/context.d.ts +3 -0
  79. package/back-top/context.js +11 -0
  80. package/back-top/index.d.ts +3 -3
  81. package/back-top/index.js +9 -4
  82. package/back-top/interface.d.ts +2 -2
  83. package/back-top/style/index.css +1 -0
  84. package/back-top/style/index.d.ts +1 -0
  85. package/back-top/style/index.js +3 -0
  86. package/badge/Badge.js +84 -85
  87. package/badge/Count.js +2 -2
  88. package/badge/constants.d.ts +0 -0
  89. package/badge/constants.js +2 -0
  90. package/badge/context.d.ts +3 -0
  91. package/badge/context.js +11 -0
  92. package/badge/index.d.ts +2 -0
  93. package/badge/index.js +10 -7
  94. package/badge/style/index.css +1 -0
  95. package/badge/style/index.d.ts +1 -0
  96. package/badge/style/index.js +3 -0
  97. package/badge/utils.js +1 -1
  98. package/border-beam/BorderBeam.js +20 -17
  99. package/border-beam/constants.d.ts +0 -0
  100. package/border-beam/constants.js +2 -0
  101. package/border-beam/context.d.ts +3 -0
  102. package/border-beam/context.js +7 -0
  103. package/border-beam/index.d.ts +2 -0
  104. package/border-beam/index.js +12 -7
  105. package/border-beam/style/index.css +1 -0
  106. package/border-beam/style/index.d.ts +1 -0
  107. package/border-beam/style/index.js +3 -0
  108. package/breadcrumb/Breadcrumb.js +46 -44
  109. package/breadcrumb/Item.js +6 -6
  110. package/breadcrumb/constants.d.ts +0 -0
  111. package/breadcrumb/constants.js +2 -0
  112. package/breadcrumb/context.d.ts +2 -0
  113. package/breadcrumb/context.js +5 -4
  114. package/breadcrumb/index.d.ts +2 -0
  115. package/breadcrumb/index.js +9 -7
  116. package/breadcrumb/style/index.css +1 -0
  117. package/breadcrumb/style/index.d.ts +2 -0
  118. package/breadcrumb/style/index.js +4 -0
  119. package/button/Button.js +48 -49
  120. package/button/Group.js +1 -1
  121. package/button/Toggle.js +1 -1
  122. package/button/constants.d.ts +0 -0
  123. package/button/constants.js +2 -0
  124. package/button/context.d.ts +9 -0
  125. package/button/context.js +11 -0
  126. package/button/index.d.ts +8 -0
  127. package/button/index.js +11 -8
  128. package/button/style/index.css +1 -0
  129. package/button/style/index.d.ts +1 -0
  130. package/button/style/index.js +3 -0
  131. package/calendar/Calendar.js +92 -95
  132. package/calendar/Month.js +4 -4
  133. package/calendar/WeekList.js +1 -1
  134. package/calendar/Year.js +2 -2
  135. package/calendar/constants.d.ts +0 -0
  136. package/calendar/constants.js +2 -0
  137. package/calendar/context.d.ts +3 -0
  138. package/calendar/context.js +13 -0
  139. package/calendar/header/Panel.js +1 -1
  140. package/calendar/header/index.js +3 -3
  141. package/calendar/hooks/useCellClassName.js +34 -0
  142. package/calendar/index.d.ts +2 -0
  143. package/calendar/index.js +11 -8
  144. package/calendar/style/index.css +1 -0
  145. package/calendar/style/index.d.ts +3 -0
  146. package/calendar/style/index.js +5 -0
  147. package/card/Card.js +48 -48
  148. package/card/Grid.js +1 -1
  149. package/card/Meta.js +1 -1
  150. package/card/constants.d.ts +0 -0
  151. package/card/constants.js +2 -0
  152. package/card/context.d.ts +3 -0
  153. package/card/context.js +10 -0
  154. package/card/index.d.ts +2 -0
  155. package/card/index.js +7 -4
  156. package/card/style/index.css +1 -0
  157. package/card/style/index.d.ts +2 -0
  158. package/card/style/index.js +4 -0
  159. package/carousel/Arrow.js +1 -1
  160. package/carousel/Carousel.js +82 -87
  161. package/carousel/Indicator.js +1 -1
  162. package/carousel/constants.d.ts +0 -0
  163. package/carousel/constants.js +2 -0
  164. package/carousel/context.d.ts +3 -0
  165. package/carousel/context.js +16 -0
  166. package/carousel/index.d.ts +2 -0
  167. package/carousel/index.js +9 -4
  168. package/carousel/style/index.css +1 -0
  169. package/carousel/style/index.d.ts +1 -0
  170. package/carousel/style/index.js +3 -0
  171. package/cascader/Cascader.js +151 -155
  172. package/cascader/base/node.js +2 -2
  173. package/cascader/base/store.js +1 -1
  174. package/cascader/constants.d.ts +7 -0
  175. package/cascader/constants.js +13 -0
  176. package/cascader/context.d.ts +3 -0
  177. package/cascader/context.js +17 -0
  178. package/cascader/hooks/useRefCurrent.js +14 -0
  179. package/cascader/index.d.ts +2 -0
  180. package/cascader/index.js +9 -4
  181. package/cascader/panel/List.js +28 -28
  182. package/cascader/panel/Option.js +2 -2
  183. package/cascader/panel/Search.js +16 -16
  184. package/cascader/style/index.css +1 -0
  185. package/cascader/style/index.d.ts +5 -0
  186. package/cascader/style/index.js +7 -0
  187. package/cascader/utils.d.ts +0 -7
  188. package/cascader/utils.js +25 -32
  189. package/checkbox/Checkbox.js +17 -14
  190. package/checkbox/Group.js +4 -4
  191. package/checkbox/GroupBlock.js +3 -3
  192. package/checkbox/constants.d.ts +0 -0
  193. package/checkbox/constants.js +2 -0
  194. package/checkbox/context.d.ts +3 -0
  195. package/checkbox/context.js +3 -3
  196. package/checkbox/index.d.ts +2 -0
  197. package/checkbox/index.js +13 -11
  198. package/checkbox/style/index.css +1 -0
  199. package/checkbox/style/index.d.ts +1 -0
  200. package/checkbox/style/index.js +3 -0
  201. package/checkbox/useCheckbox.js +1 -1
  202. package/collapse/Collapse.js +45 -47
  203. package/collapse/Item.js +2 -2
  204. package/collapse/constants.d.ts +0 -0
  205. package/collapse/constants.js +2 -0
  206. package/collapse/context.d.ts +2 -0
  207. package/collapse/context.js +8 -3
  208. package/collapse/index.d.ts +2 -0
  209. package/collapse/index.js +9 -7
  210. package/collapse/style/index.css +1 -0
  211. package/collapse/style/index.d.ts +1 -0
  212. package/collapse/style/index.js +3 -0
  213. package/collapse/utils.js +1 -1
  214. package/color-picker/ColorPicker.js +79 -80
  215. package/color-picker/ControlBar.js +1 -1
  216. package/color-picker/InputAlpha.js +1 -1
  217. package/color-picker/InputHex.js +1 -1
  218. package/color-picker/InputRgb.js +1 -1
  219. package/color-picker/Mode.js +1 -1
  220. package/color-picker/Palette.js +1 -1
  221. package/color-picker/Panel.js +74 -74
  222. package/color-picker/colors.js +1 -1
  223. package/color-picker/constants.d.ts +0 -0
  224. package/color-picker/constants.js +2 -0
  225. package/color-picker/context.d.ts +3 -0
  226. package/color-picker/context.js +11 -0
  227. package/color-picker/hooks/useColorPicker.d.ts +1 -1
  228. package/color-picker/hooks/useColorPicker.js +1 -1
  229. package/color-picker/hooks/useControlBlock.js +1 -1
  230. package/color-picker/index.d.ts +2 -0
  231. package/color-picker/index.js +19 -16
  232. package/color-picker/interface.js +1 -1
  233. package/color-picker/style/index.css +1 -0
  234. package/color-picker/style/index.d.ts +3 -0
  235. package/color-picker/style/index.js +5 -0
  236. package/color-picker/utils.d.ts +1 -1
  237. package/color-picker/utils.js +1 -1
  238. package/comment/Comment.js +52 -48
  239. package/comment/constants.d.ts +0 -0
  240. package/comment/constants.js +2 -0
  241. package/comment/context.d.ts +3 -0
  242. package/comment/context.js +7 -0
  243. package/comment/index.d.ts +2 -0
  244. package/comment/index.js +9 -4
  245. package/comment/style/index.css +1 -0
  246. package/comment/style/index.d.ts +1 -0
  247. package/comment/style/index.js +3 -0
  248. package/config-provider/ConfigProvider.js +11 -11
  249. package/config-provider/constants.d.ts +0 -0
  250. package/config-provider/constants.js +2 -0
  251. package/config-provider/context.d.ts +21 -0
  252. package/config-provider/context.js +4 -4
  253. package/config-provider/index.d.ts +1 -0
  254. package/config-provider/index.js +2 -1
  255. package/config-provider/initUI.js +1 -1
  256. package/config-provider/interface.d.ts +6 -0
  257. package/config-provider/style/index.d.ts +1 -0
  258. package/config-provider/style/index.js +3 -0
  259. package/config-provider/useConfigProvider.js +2 -2
  260. package/config-provider/utils.js +2 -2
  261. package/constants/index.d.ts +2 -0
  262. package/constants/index.js +6 -0
  263. package/copy/Copy.d.ts +1 -1
  264. package/copy/Copy.js +37 -35
  265. package/copy/constants.d.ts +0 -0
  266. package/copy/constants.js +2 -0
  267. package/copy/context.d.ts +3 -0
  268. package/copy/context.js +7 -0
  269. package/copy/index.d.ts +2 -0
  270. package/copy/index.js +9 -4
  271. package/copy/style/index.css +1 -0
  272. package/copy/style/index.d.ts +2 -0
  273. package/copy/style/index.js +4 -0
  274. package/countdown/Countdown.js +43 -42
  275. package/countdown/constants.d.ts +0 -0
  276. package/countdown/constants.js +2 -0
  277. package/countdown/context.d.ts +3 -0
  278. package/countdown/context.js +10 -0
  279. package/countdown/index.d.ts +2 -0
  280. package/countdown/index.js +9 -4
  281. package/countdown/style/index.css +1 -0
  282. package/countdown/style/index.d.ts +2 -0
  283. package/countdown/style/index.js +4 -0
  284. package/countdown/utils.js +1 -1
  285. package/date-picker/DatePicker.d.ts +6 -5
  286. package/date-picker/DatePicker.js +5 -5
  287. package/date-picker/Picker.js +208 -211
  288. package/date-picker/Range.d.ts +3 -0
  289. package/date-picker/Range.js +404 -0
  290. package/date-picker/constants.d.ts +0 -0
  291. package/date-picker/constants.js +2 -0
  292. package/date-picker/context.d.ts +4 -2
  293. package/date-picker/context.js +9 -3
  294. package/date-picker/hooks/useCellClassName.js +53 -0
  295. package/date-picker/index.d.ts +4 -2
  296. package/date-picker/index.js +13 -18
  297. package/date-picker/panel/Body.js +2 -2
  298. package/date-picker/panel/Footer.js +4 -4
  299. package/date-picker/panel/Header.js +2 -2
  300. package/date-picker/panel/Shortcut.d.ts +1 -1
  301. package/date-picker/panel/Shortcut.js +2 -2
  302. package/date-picker/panel/WeekList.js +1 -1
  303. package/date-picker/panel/date/index.js +3 -3
  304. package/date-picker/panel/month/index.js +2 -2
  305. package/date-picker/panel/quarter/index.js +2 -2
  306. package/date-picker/panel/range/index.js +2 -2
  307. package/date-picker/panel/week/index.js +2 -2
  308. package/date-picker/panel/year/index.js +3 -3
  309. package/date-picker/style/index.css +1 -0
  310. package/date-picker/style/index.d.ts +6 -0
  311. package/date-picker/style/index.js +8 -0
  312. package/date-picker/utils.js +2 -2
  313. package/descriptions/Descriptions.js +83 -83
  314. package/descriptions/constants.d.ts +0 -0
  315. package/descriptions/constants.js +2 -0
  316. package/descriptions/context.d.ts +3 -0
  317. package/descriptions/context.js +11 -0
  318. package/descriptions/index.d.ts +2 -0
  319. package/descriptions/index.js +9 -4
  320. package/descriptions/style/index.css +1 -0
  321. package/descriptions/style/index.d.ts +1 -0
  322. package/descriptions/style/index.js +3 -0
  323. package/details/Details.js +57 -54
  324. package/details/constants.d.ts +0 -0
  325. package/details/constants.js +2 -0
  326. package/details/context.d.ts +3 -0
  327. package/details/context.js +7 -0
  328. package/details/index.d.ts +2 -0
  329. package/details/index.js +9 -4
  330. package/details/style/index.css +1 -0
  331. package/details/style/index.d.ts +1 -0
  332. package/details/style/index.js +3 -0
  333. package/development/Development.js +25 -20
  334. package/development/constants.d.ts +0 -0
  335. package/development/constants.js +2 -0
  336. package/development/context.d.ts +3 -0
  337. package/development/context.js +7 -0
  338. package/development/index.d.ts +2 -0
  339. package/development/index.js +9 -4
  340. package/development/style/index.css +1 -0
  341. package/development/style/index.d.ts +1 -0
  342. package/development/style/index.js +3 -0
  343. package/divider/Divider.js +34 -34
  344. package/divider/constants.d.ts +0 -0
  345. package/divider/constants.js +2 -0
  346. package/divider/context.d.ts +3 -0
  347. package/divider/context.js +10 -0
  348. package/divider/index.d.ts +2 -0
  349. package/divider/index.js +8 -5
  350. package/divider/style/index.css +1 -0
  351. package/divider/style/index.d.ts +1 -0
  352. package/divider/style/index.js +3 -0
  353. package/draggable/Draggable.js +27 -22
  354. package/draggable/Item.js +1 -1
  355. package/draggable/constants.d.ts +0 -0
  356. package/draggable/constants.js +2 -0
  357. package/draggable/context.d.ts +3 -0
  358. package/draggable/context.js +7 -0
  359. package/draggable/index.d.ts +2 -0
  360. package/draggable/index.js +9 -6
  361. package/draggable/style/index.css +1 -0
  362. package/draggable/style/index.d.ts +1 -0
  363. package/draggable/style/index.js +3 -0
  364. package/draw/Draw.d.ts +3 -1
  365. package/draw/Draw.js +102 -31
  366. package/draw/LICENSE +20 -0
  367. package/draw/common/binary-heap.d.ts +12 -0
  368. package/draw/common/binary-heap.js +52 -0
  369. package/draw/common/bounds.d.ts +10 -0
  370. package/draw/common/bounds.js +3 -0
  371. package/draw/common/colors.d.ts +21 -0
  372. package/draw/common/colors.js +109 -0
  373. package/draw/common/constants.d.ts +345 -0
  374. package/draw/common/constants.js +218 -0
  375. package/draw/common/editorInterface.d.ts +34 -0
  376. package/draw/common/editorInterface.js +39 -0
  377. package/draw/common/emitter.d.ts +16 -0
  378. package/draw/common/emitter.js +31 -0
  379. package/draw/common/font-metadata.d.ts +43 -0
  380. package/draw/common/font-metadata.js +94 -0
  381. package/draw/common/index.d.ts +14 -0
  382. package/draw/common/index.js +16 -0
  383. package/draw/common/keys.d.ts +187 -0
  384. package/draw/common/keys.js +87 -0
  385. package/draw/common/points.d.ts +9 -0
  386. package/draw/common/points.js +22 -0
  387. package/draw/common/promise-pool.d.ts +5 -0
  388. package/draw/common/promise-pool.js +24 -0
  389. package/draw/common/queue.d.ts +7 -0
  390. package/draw/common/queue.js +25 -0
  391. package/draw/common/random.d.ts +3 -0
  392. package/draw/common/random.js +9 -0
  393. package/draw/common/url.d.ts +7 -0
  394. package/draw/common/url.js +16 -0
  395. package/draw/common/utility-types.d.ts +37 -0
  396. package/draw/common/utils.d.ts +281 -0
  397. package/draw/common/utils.js +227 -0
  398. package/draw/constants.d.ts +1 -0
  399. package/draw/constants.js +6 -0
  400. package/draw/context.d.ts +3 -0
  401. package/draw/context.js +7 -0
  402. package/draw/core/actions/actionAddToLibrary.d.ts +467 -0
  403. package/draw/core/actions/actionAddToLibrary.js +50 -0
  404. package/draw/core/actions/actionAlign.d.ts +109 -0
  405. package/draw/core/actions/actionAlign.js +159 -0
  406. package/draw/core/actions/actionBoundText.d.ts +348 -0
  407. package/draw/core/actions/actionBoundText.js +160 -0
  408. package/draw/core/actions/actionCanvas.d.ts +2147 -0
  409. package/draw/core/actions/actionCanvas.js +332 -0
  410. package/draw/core/actions/actionClipboard.d.ts +387 -0
  411. package/draw/core/actions/actionClipboard.js +197 -0
  412. package/draw/core/actions/actionCropEditor.d.ts +168 -0
  413. package/draw/core/actions/actionCropEditor.js +48 -0
  414. package/draw/core/actions/actionDeleteSelected.d.ts +503 -0
  415. package/draw/core/actions/actionDeleteSelected.js +144 -0
  416. package/draw/core/actions/actionDistribute.d.ts +34 -0
  417. package/draw/core/actions/actionDistribute.js +68 -0
  418. package/draw/core/actions/actionDuplicateSelection.d.ts +17 -0
  419. package/draw/core/actions/actionDuplicateSelection.js +78 -0
  420. package/draw/core/actions/actionElementLink.d.ts +192 -0
  421. package/draw/core/actions/actionElementLink.js +79 -0
  422. package/draw/core/actions/actionElementLock.d.ts +335 -0
  423. package/draw/core/actions/actionElementLock.js +103 -0
  424. package/draw/core/actions/actionEmbeddable.d.ts +165 -0
  425. package/draw/core/actions/actionEmbeddable.js +29 -0
  426. package/draw/core/actions/actionExport.d.ts +341 -0
  427. package/draw/core/actions/actionExport.js +232 -0
  428. package/draw/core/actions/actionFinalize.d.ts +13 -0
  429. package/draw/core/actions/actionFinalize.js +143 -0
  430. package/draw/core/actions/actionFlip.d.ts +34 -0
  431. package/draw/core/actions/actionFlip.js +82 -0
  432. package/draw/core/actions/actionFrame.d.ts +1127 -0
  433. package/draw/core/actions/actionFrame.js +138 -0
  434. package/draw/core/actions/actionGroup.d.ts +338 -0
  435. package/draw/core/actions/actionGroup.js +130 -0
  436. package/draw/core/actions/actionHistory.d.ts +9 -0
  437. package/draw/core/actions/actionHistory.js +44 -0
  438. package/draw/core/actions/actionLinearEditor.d.ts +664 -0
  439. package/draw/core/actions/actionLinearEditor.js +104 -0
  440. package/draw/core/actions/actionMenu.d.ts +160 -0
  441. package/draw/core/actions/actionMenu.js +32 -0
  442. package/draw/core/actions/actionProperties.d.ts +384 -0
  443. package/draw/core/actions/actionProperties.js +792 -0
  444. package/draw/core/actions/actionSelectAll.d.ts +165 -0
  445. package/draw/core/actions/actionSelectAll.js +39 -0
  446. package/draw/core/actions/actionStyles.d.ts +183 -0
  447. package/draw/core/actions/actionStyles.js +93 -0
  448. package/draw/core/actions/actionTextAutoResize.d.ts +17 -0
  449. package/draw/core/actions/actionTextAutoResize.js +44 -0
  450. package/draw/core/actions/actionToggleGridMode.d.ts +171 -0
  451. package/draw/core/actions/actionToggleGridMode.js +37 -0
  452. package/draw/core/actions/actionToggleObjectsSnapMode.d.ts +169 -0
  453. package/draw/core/actions/actionToggleObjectsSnapMode.js +34 -0
  454. package/draw/core/actions/actionToggleSearchMenu.d.ts +164 -0
  455. package/draw/core/actions/actionToggleSearchMenu.js +45 -0
  456. package/draw/core/actions/actionToggleShapeSwitch.d.ts +19 -0
  457. package/draw/core/actions/actionToggleStats.d.ts +168 -0
  458. package/draw/core/actions/actionToggleStats.js +37 -0
  459. package/draw/core/actions/actionToggleViewMode.d.ts +169 -0
  460. package/draw/core/actions/actionToggleViewMode.js +34 -0
  461. package/draw/core/actions/actionToggleZenMode.d.ts +169 -0
  462. package/draw/core/actions/actionToggleZenMode.js +34 -0
  463. package/draw/core/actions/actionZindex.d.ts +74 -0
  464. package/draw/core/actions/actionZindex.js +107 -0
  465. package/draw/core/actions/index.d.ts +26 -0
  466. package/draw/core/actions/index.js +28 -0
  467. package/draw/core/actions/manager.d.ts +21 -0
  468. package/draw/core/actions/manager.js +64 -0
  469. package/draw/core/actions/register.d.ts +5 -0
  470. package/draw/core/actions/register.js +6 -0
  471. package/draw/core/actions/shortcuts.d.ts +4 -0
  472. package/draw/core/actions/shortcuts.js +58 -0
  473. package/draw/core/actions/types.d.ts +47 -0
  474. package/draw/core/analytics.d.ts +1 -0
  475. package/draw/core/analytics.js +19 -0
  476. package/draw/core/animated-trail.d.ts +32 -0
  477. package/draw/core/animated-trail.js +83 -0
  478. package/draw/core/animation-frame-handler.d.ts +11 -0
  479. package/draw/core/animation-frame-handler.js +51 -0
  480. package/draw/core/appState.d.ts +101 -0
  481. package/draw/core/appState.js +569 -0
  482. package/draw/core/charts.d.ts +27 -0
  483. package/draw/core/charts.js +263 -0
  484. package/draw/core/clients.d.ts +14 -0
  485. package/draw/core/clients.js +38 -0
  486. package/draw/core/clipboard.d.ts +107 -0
  487. package/draw/core/clipboard.js +250 -0
  488. package/draw/core/components/Actions.d.ts +28 -0
  489. package/draw/core/components/Actions.js +493 -0
  490. package/draw/core/components/ActiveConfirmDialog.d.ts +4 -0
  491. package/draw/core/components/ActiveConfirmDialog.js +32 -0
  492. package/draw/core/components/App.d.ts +363 -0
  493. package/draw/core/components/App.js +4076 -0
  494. package/draw/core/components/BraveMeasureTextError.d.ts +2 -0
  495. package/draw/core/components/BraveMeasureTextError.js +23 -0
  496. package/draw/core/components/ButtonIconCycle.d.ts +11 -0
  497. package/draw/core/components/ButtonSeparator.d.ts +1 -0
  498. package/draw/core/components/ContextMenu.d.ts +14 -0
  499. package/draw/core/components/ContextMenu.js +59 -0
  500. package/draw/core/components/ConvertElementTypePopup.d.ts +22 -0
  501. package/draw/core/components/ConvertElementTypePopup.js +318 -0
  502. package/draw/core/components/DarkModeToggle.d.ts +6 -0
  503. package/draw/core/components/DarkModeToggle.js +22 -0
  504. package/draw/core/components/DiagramToCodePlugin/index.d.ts +4 -0
  505. package/draw/core/components/DiagramToCodePlugin/index.js +13 -0
  506. package/draw/core/components/ElementCanvasButtons.d.ts +6 -0
  507. package/draw/core/components/ElementCanvasButtons.js +34 -0
  508. package/draw/core/components/ElementLinkDialog.d.ts +11 -0
  509. package/draw/core/components/ElementLinkDialog.js +112 -0
  510. package/draw/core/components/Ellipsify.d.ts +3 -0
  511. package/draw/core/components/Ellipsify.js +16 -0
  512. package/draw/core/components/ErrorDialog.d.ts +5 -0
  513. package/draw/core/components/ErrorDialog.js +36 -0
  514. package/draw/core/components/ExportDialog.d.ts +14 -0
  515. package/draw/core/components/ExportDialog.js +34 -0
  516. package/draw/core/components/EyeDropper.d.ts +25 -0
  517. package/draw/core/components/EyeDropper.js +84 -0
  518. package/draw/core/components/FixedSideContainer.d.ts +8 -0
  519. package/draw/core/components/FixedSideContainer.js +12 -0
  520. package/draw/core/components/Footer.d.ts +13 -0
  521. package/draw/core/components/Footer.js +118 -0
  522. package/draw/core/components/HandButton.d.ts +9 -0
  523. package/draw/core/components/HandButton.js +26 -0
  524. package/draw/core/components/HelpDialog.d.ts +2 -0
  525. package/draw/core/components/HelpDialog.js +407 -0
  526. package/draw/core/components/HintViewer.d.ts +10 -0
  527. package/draw/core/components/HintViewer.js +96 -0
  528. package/draw/core/components/ImageExportDialog.d.ts +14 -0
  529. package/draw/core/components/ImageExportDialog.js +243 -0
  530. package/draw/core/components/InitializeApp.d.ts +10 -0
  531. package/draw/core/components/InitializeApp.js +25 -0
  532. package/draw/core/components/InlineIcon.d.ts +5 -0
  533. package/draw/core/components/InlineIcon.js +19 -0
  534. package/draw/core/components/Island.d.ts +9 -0
  535. package/draw/core/components/Island.js +17 -0
  536. package/draw/core/components/LaserPointerButton.d.ts +9 -0
  537. package/draw/core/components/LaserPointerButton.js +24 -0
  538. package/draw/core/components/LayerUI.d.ts +30 -0
  539. package/draw/core/components/LayerUI.js +373 -0
  540. package/draw/core/components/LibraryMenu.d.ts +9 -0
  541. package/draw/core/components/LibraryMenu.js +133 -0
  542. package/draw/core/components/LibraryMenuItems.d.ts +14 -0
  543. package/draw/core/components/LibraryMenuItems.js +274 -0
  544. package/draw/core/components/LibraryMenuSection.d.ts +23 -0
  545. package/draw/core/components/LibraryMenuSection.js +37 -0
  546. package/draw/core/components/LibraryUnit.d.ts +13 -0
  547. package/draw/core/components/LibraryUnit.js +52 -0
  548. package/draw/core/components/LinkButton.d.ts +4 -0
  549. package/draw/core/components/LoadingMessage.d.ts +5 -0
  550. package/draw/core/components/LoadingMessage.js +32 -0
  551. package/draw/core/components/LockButton.d.ts +9 -0
  552. package/draw/core/components/LockButton.js +25 -0
  553. package/draw/core/components/MagicButton.d.ts +9 -0
  554. package/draw/core/components/MagicButton.js +22 -0
  555. package/draw/core/components/OverwriteConfirm/OverwriteConfirmState.d.ts +22 -0
  556. package/draw/core/components/OverwriteConfirm/OverwriteConfirmState.js +22 -0
  557. package/draw/core/components/OverwriteConfirm/index.d.ts +4 -0
  558. package/draw/core/components/OverwriteConfirm/index.js +94 -0
  559. package/draw/core/components/PasteChartDialog.d.ts +7 -0
  560. package/draw/core/components/PasteChartDialog.js +78 -0
  561. package/draw/core/components/PenModeButton.d.ts +11 -0
  562. package/draw/core/components/PenModeButton.js +23 -0
  563. package/draw/core/components/Popover.d.ts +15 -0
  564. package/draw/core/components/Popover.js +58 -0
  565. package/draw/core/components/ProjectName.d.ts +9 -0
  566. package/draw/core/components/ProjectName.js +39 -0
  567. package/draw/core/components/Range.d.ts +7 -0
  568. package/draw/core/components/Range.js +37 -0
  569. package/draw/core/components/SVGLayer.d.ts +6 -0
  570. package/draw/core/components/SVGLayer.js +19 -0
  571. package/draw/core/components/ScrollableList.d.ts +7 -0
  572. package/draw/core/components/SearchMenu.d.ts +4 -0
  573. package/draw/core/components/SearchMenu.js +381 -0
  574. package/draw/core/components/Stack.d.ts +14 -0
  575. package/draw/core/components/Stack.js +31 -0
  576. package/draw/core/components/Stats/Angle.d.ts +11 -0
  577. package/draw/core/components/Stats/Angle.js +45 -0
  578. package/draw/core/components/Stats/CanvasGrid.d.ts +10 -0
  579. package/draw/core/components/Stats/CanvasGrid.js +25 -0
  580. package/draw/core/components/Stats/Collapsible.d.ts +10 -0
  581. package/draw/core/components/Stats/Collapsible.js +26 -0
  582. package/draw/core/components/Stats/Dimension.d.ts +11 -0
  583. package/draw/core/components/Stats/Dimension.js +106 -0
  584. package/draw/core/components/Stats/DragInput.d.ts +43 -0
  585. package/draw/core/components/Stats/DragInput.js +133 -0
  586. package/draw/core/components/Stats/FontSize.d.ts +11 -0
  587. package/draw/core/components/Stats/FontSize.js +38 -0
  588. package/draw/core/components/Stats/MultiAngle.d.ts +11 -0
  589. package/draw/core/components/Stats/MultiAngle.js +53 -0
  590. package/draw/core/components/Stats/MultiDimension.d.ts +14 -0
  591. package/draw/core/components/Stats/MultiDimension.js +125 -0
  592. package/draw/core/components/Stats/MultiFontSize.d.ts +12 -0
  593. package/draw/core/components/Stats/MultiFontSize.js +51 -0
  594. package/draw/core/components/Stats/MultiPosition.d.ts +14 -0
  595. package/draw/core/components/Stats/MultiPosition.js +73 -0
  596. package/draw/core/components/Stats/Position.d.ts +12 -0
  597. package/draw/core/components/Stats/Position.js +67 -0
  598. package/draw/core/components/Stats/index.d.ts +34 -0
  599. package/draw/core/components/Stats/index.js +263 -0
  600. package/draw/core/components/Stats/utils.d.ts +19 -0
  601. package/draw/core/components/Stats/utils.js +67 -0
  602. package/draw/core/components/Toast.d.ts +6 -0
  603. package/draw/core/components/Toast.js +21 -0
  604. package/draw/core/components/Tooltip.d.ts +7 -0
  605. package/draw/core/components/Trans.d.ts +7 -0
  606. package/draw/core/components/Trans.js +33 -0
  607. package/draw/core/components/UnlockPopup.d.ts +7 -0
  608. package/draw/core/components/UnlockPopup.js +46 -0
  609. package/draw/core/components/canvases/InteractiveCanvas.d.ts +33 -0
  610. package/draw/core/components/canvases/InteractiveCanvas.js +119 -0
  611. package/draw/core/components/canvases/NewElementCanvas.d.ts +14 -0
  612. package/draw/core/components/canvases/NewElementCanvas.js +33 -0
  613. package/draw/core/components/canvases/StaticCanvas.d.ts +19 -0
  614. package/draw/core/components/canvases/StaticCanvas.js +64 -0
  615. package/draw/core/components/canvases/index.d.ts +3 -0
  616. package/draw/core/components/canvases/index.js +4 -0
  617. package/draw/core/components/context.d.ts +29 -0
  618. package/draw/core/components/context.js +43 -0
  619. package/draw/core/components/hoc/withInternalFallback.d.ts +4 -0
  620. package/draw/core/components/hooks.d.ts +23 -0
  621. package/draw/core/components/hooks.js +10 -0
  622. package/draw/core/components/icons.d.ts +62 -0
  623. package/draw/core/components/icons.js +584 -0
  624. package/draw/core/components/main-menu/DefaultItems.d.ts +38 -0
  625. package/draw/core/components/main-menu/DefaultItems.js +145 -0
  626. package/draw/core/components/main-menu/MenuItem.d.ts +24 -0
  627. package/draw/core/components/main-menu/MenuItem.js +55 -0
  628. package/draw/core/components/main-menu/common.d.ts +6 -0
  629. package/draw/core/components/main-menu/common.js +20 -0
  630. package/draw/core/components/shapes.d.ts +190 -0
  631. package/draw/core/components/shapes.js +96 -0
  632. package/draw/core/context/tunnels.d.ts +132 -0
  633. package/draw/core/context/tunnels.js +30 -0
  634. package/draw/core/context/ui-appState.d.ts +4 -0
  635. package/draw/core/context/ui-appState.js +7 -0
  636. package/draw/core/cursor.d.ts +5 -0
  637. package/draw/core/cursor.js +28 -0
  638. package/draw/core/data/EditorLocalStorage.d.ts +8 -0
  639. package/draw/core/data/ai/types.d.ts +242 -0
  640. package/draw/core/data/blob.d.ts +357 -0
  641. package/draw/core/data/blob.js +171 -0
  642. package/draw/core/data/encode.d.ts +55 -0
  643. package/draw/core/data/encode.js +38 -0
  644. package/draw/core/data/encryption.d.ts +9 -0
  645. package/draw/core/data/encryption.js +4 -0
  646. package/draw/core/data/filesystem.d.ts +21 -0
  647. package/draw/core/data/filesystem.js +44 -0
  648. package/draw/core/data/image.d.ts +9 -0
  649. package/draw/core/data/image.js +35 -0
  650. package/draw/core/data/index.d.ts +3 -0
  651. package/draw/core/data/index.js +5 -0
  652. package/draw/core/data/json.d.ts +168 -0
  653. package/draw/core/data/json.js +51 -0
  654. package/draw/core/data/library.d.ts +116 -0
  655. package/draw/core/data/library.js +279 -0
  656. package/draw/core/data/reconcile.d.ts +7 -0
  657. package/draw/core/data/reconcile.js +32 -0
  658. package/draw/core/data/resave.d.ts +5 -0
  659. package/draw/core/data/resave.js +23 -0
  660. package/draw/core/data/restore.d.ts +39 -0
  661. package/draw/core/data/restore.js +331 -0
  662. package/draw/core/data/types.d.ts +48 -0
  663. package/draw/core/data/utils.d.ts +20 -0
  664. package/draw/core/data/utils.js +84 -0
  665. package/draw/core/deburr.d.ts +1 -0
  666. package/draw/core/deburr.js +197 -0
  667. package/draw/core/editor-jotai.d.ts +7 -0
  668. package/draw/core/editor-jotai.js +11 -0
  669. package/draw/core/eraser/index.d.ts +10 -0
  670. package/draw/core/eraser/index.js +109 -0
  671. package/draw/core/errors.d.ts +43 -0
  672. package/draw/core/errors.js +22 -0
  673. package/draw/core/fonts/DrawFontFace.d.ts +8 -0
  674. package/draw/core/fonts/DrawFontFace.js +29 -0
  675. package/draw/core/fonts/Fonts.d.ts +42 -0
  676. package/draw/core/fonts/Fonts.js +100 -0
  677. package/draw/core/fonts/index.d.ts +1 -0
  678. package/draw/core/fonts/index.js +3 -0
  679. package/draw/core/gesture.d.ts +6 -0
  680. package/draw/core/gesture.js +12 -0
  681. package/draw/core/history.d.ts +46 -0
  682. package/draw/core/history.js +90 -0
  683. package/draw/core/hooks/useCallbackRefState.d.ts +1 -0
  684. package/draw/core/hooks/useCopiedIndicator.d.ts +5 -0
  685. package/draw/core/hooks/useCopiedIndicator.js +20 -0
  686. package/draw/core/hooks/useCreatePortalContainer.d.ts +4 -0
  687. package/draw/core/hooks/useCreatePortalContainer.js +28 -0
  688. package/draw/core/hooks/useEmitter.d.ts +2 -0
  689. package/draw/core/hooks/useEmitter.js +17 -0
  690. package/draw/core/hooks/useLibraryItemSvg.d.ts +11 -0
  691. package/draw/core/hooks/useLibraryItemSvg.js +52 -0
  692. package/draw/core/hooks/useOutsideClick.d.ts +21 -0
  693. package/draw/core/hooks/useOutsideClick.js +28 -0
  694. package/draw/core/hooks/useScrollPosition.d.ts +1 -0
  695. package/draw/core/hooks/useScrollPosition.js +23 -0
  696. package/draw/core/hooks/useStable.d.ts +1 -0
  697. package/draw/core/hooks/useStable.js +10 -0
  698. package/draw/core/hooks/useStableCallback.d.ts +4 -0
  699. package/draw/core/hooks/useTextEditorFocus.d.ts +14 -0
  700. package/draw/core/hooks/useTextEditorFocus.js +39 -0
  701. package/draw/core/hooks/useTransition.d.ts +2 -0
  702. package/draw/core/hooks/useTransition.js +10 -0
  703. package/draw/core/i18n.d.ts +24 -0
  704. package/draw/core/i18n.js +40 -0
  705. package/draw/core/laser-trails.d.ts +17 -0
  706. package/draw/core/laser-trails.js +60 -0
  707. package/draw/core/lasso/index.d.ts +11 -0
  708. package/draw/core/lasso/index.js +104 -0
  709. package/draw/core/lasso/utils.d.ts +13 -0
  710. package/draw/core/lasso/utils.js +41 -0
  711. package/draw/core/locales/percentages.json.js +62 -0
  712. package/draw/core/locales/zh-CN.json.js +704 -0
  713. package/draw/core/mermaid.d.ts +1 -0
  714. package/draw/core/polyfill.d.ts +2 -0
  715. package/draw/core/polyfill.js +6 -0
  716. package/draw/core/reactUtils.d.ts +14 -0
  717. package/draw/core/reactUtils.js +24 -0
  718. package/draw/core/renderer/animation.d.ts +10 -0
  719. package/draw/core/renderer/animation.js +43 -0
  720. package/draw/core/renderer/helpers.d.ts +16 -0
  721. package/draw/core/renderer/helpers.js +16 -0
  722. package/draw/core/renderer/interactiveScene.d.ts +14 -0
  723. package/draw/core/renderer/interactiveScene.js +392 -0
  724. package/draw/core/renderer/renderNewElementScene.d.ts +7 -0
  725. package/draw/core/renderer/renderNewElementScene.js +40 -0
  726. package/draw/core/renderer/renderSnaps.d.ts +2 -0
  727. package/draw/core/renderer/renderSnaps.js +39 -0
  728. package/draw/core/renderer/roundRect.d.ts +11 -0
  729. package/draw/core/renderer/roundRect.js +8 -0
  730. package/draw/core/renderer/staticScene.d.ts +14 -0
  731. package/draw/core/renderer/staticScene.js +106 -0
  732. package/draw/core/renderer/staticSvgScene.d.ts +5 -0
  733. package/draw/core/renderer/staticSvgScene.js +200 -0
  734. package/draw/core/scene/Renderer.d.ts +30 -0
  735. package/draw/core/scene/Renderer.js +55 -0
  736. package/draw/core/scene/export.d.ts +35 -0
  737. package/draw/core/scene/export.js +198 -0
  738. package/draw/core/scene/index.d.ts +3 -0
  739. package/draw/core/scene/index.js +7 -0
  740. package/draw/core/scene/normalize.d.ts +4 -0
  741. package/draw/core/scene/normalize.js +10 -0
  742. package/draw/core/scene/scroll.d.ts +18 -0
  743. package/draw/core/scene/scroll.js +52 -0
  744. package/draw/core/scene/scrollbars.d.ts +11 -0
  745. package/draw/core/scene/scrollbars.js +44 -0
  746. package/draw/core/scene/types.d.ts +138 -0
  747. package/draw/core/scene/zoom.d.ts +12 -0
  748. package/draw/core/scene/zoom.js +13 -0
  749. package/draw/core/shortcut.d.ts +1 -0
  750. package/draw/core/shortcut.js +9 -0
  751. package/draw/core/snapping.d.ts +109 -0
  752. package/draw/core/snapping.js +544 -0
  753. package/draw/core/workers.d.ts +28 -0
  754. package/draw/core/wysiwyg/textWysiwyg.d.ts +24 -0
  755. package/draw/core/wysiwyg/textWysiwyg.js +223 -0
  756. package/draw/element/Scene.d.ts +66 -0
  757. package/draw/element/Scene.js +157 -0
  758. package/draw/element/align.d.ts +8 -0
  759. package/draw/element/align.js +36 -0
  760. package/draw/element/arrows/focus.d.ts +27 -0
  761. package/draw/element/arrows/focus.js +142 -0
  762. package/draw/element/arrows/helpers.d.ts +6 -0
  763. package/draw/element/arrows/helpers.js +16 -0
  764. package/draw/element/binding.d.ts +128 -0
  765. package/draw/element/binding.js +550 -0
  766. package/draw/element/bounds.d.ts +79 -0
  767. package/draw/element/bounds.js +492 -0
  768. package/draw/element/collision.d.ts +37 -0
  769. package/draw/element/collision.js +179 -0
  770. package/draw/element/comparisons.d.ts +8 -0
  771. package/draw/element/comparisons.js +6 -0
  772. package/draw/element/containerCache.d.ts +11 -0
  773. package/draw/element/containerCache.js +11 -0
  774. package/draw/element/cropElement.d.ts +19 -0
  775. package/draw/element/cropElement.js +165 -0
  776. package/draw/element/delta.d.ts +166 -0
  777. package/draw/element/delta.js +544 -0
  778. package/draw/element/distance.d.ts +3 -0
  779. package/draw/element/distance.js +41 -0
  780. package/draw/element/distribute.d.ts +8 -0
  781. package/draw/element/distribute.js +53 -0
  782. package/draw/element/dragElements.d.ts +33 -0
  783. package/draw/element/dragElements.js +93 -0
  784. package/draw/element/duplicate.d.ts +63 -0
  785. package/draw/element/duplicate.js +107 -0
  786. package/draw/element/elbowArrow.d.ts +16 -0
  787. package/draw/element/elbowArrow.js +555 -0
  788. package/draw/element/elementLink.d.ts +13 -0
  789. package/draw/element/elementLink.js +50 -0
  790. package/draw/element/embeddable.d.ts +6 -0
  791. package/draw/element/embeddable.js +58 -0
  792. package/draw/element/flowchart.d.ts +22 -0
  793. package/draw/element/flowchart.js +246 -0
  794. package/draw/element/fractionalIndex.d.ts +57 -0
  795. package/draw/element/fractionalIndex.js +102 -0
  796. package/draw/element/frame.d.ts +74 -0
  797. package/draw/element/frame.js +194 -0
  798. package/draw/element/groups.d.ts +34 -0
  799. package/draw/element/groups.js +137 -0
  800. package/draw/element/heading.d.ts +16 -0
  801. package/draw/element/heading.js +38 -0
  802. package/draw/element/image.d.ts +22 -0
  803. package/draw/element/image.js +59 -0
  804. package/draw/element/index.d.ts +58 -0
  805. package/draw/element/index.js +65 -0
  806. package/draw/element/is.d.ts +2 -0
  807. package/draw/element/is.js +6 -0
  808. package/draw/element/linearElementEditor.d.ts +114 -0
  809. package/draw/element/linearElementEditor.js +602 -0
  810. package/draw/element/mutateElement.d.ts +23 -0
  811. package/draw/element/mutateElement.js +68 -0
  812. package/draw/element/newElement.d.ts +62 -0
  813. package/draw/element/newElement.js +165 -0
  814. package/draw/element/positionElementsOnGrid.d.ts +2 -0
  815. package/draw/element/positionElementsOnGrid.js +47 -0
  816. package/draw/element/renderElement.d.ts +25 -0
  817. package/draw/element/renderElement.js +235 -0
  818. package/draw/element/resizeElements.d.ts +32 -0
  819. package/draw/element/resizeElements.js +401 -0
  820. package/draw/element/resizeTest.d.ts +15 -0
  821. package/draw/element/resizeTest.js +93 -0
  822. package/draw/element/selection.d.ts +474 -0
  823. package/draw/element/selection.js +75 -0
  824. package/draw/element/shape.d.ts +41 -0
  825. package/draw/element/shape.js +366 -0
  826. package/draw/element/showSelectedShapeActions.d.ts +3 -0
  827. package/draw/element/showSelectedShapeActions.js +7 -0
  828. package/draw/element/sizeHelpers.d.ts +35 -0
  829. package/draw/element/sizeHelpers.js +74 -0
  830. package/draw/element/sortElements.d.ts +2 -0
  831. package/draw/element/sortElements.js +31 -0
  832. package/draw/element/store.d.ts +196 -0
  833. package/draw/element/store.js +332 -0
  834. package/draw/element/textElement.d.ts +40 -0
  835. package/draw/element/textElement.js +131 -0
  836. package/draw/element/textMeasurements.d.ts +39 -0
  837. package/draw/element/textMeasurements.js +66 -0
  838. package/draw/element/textWrapping.d.ts +13 -0
  839. package/draw/element/textWrapping.js +149 -0
  840. package/draw/element/transform.d.ts +81 -0
  841. package/draw/element/transform.js +288 -0
  842. package/draw/element/transformHandles.d.ts +35 -0
  843. package/draw/element/transformHandles.js +67 -0
  844. package/draw/element/typeChecks.d.ts +54 -0
  845. package/draw/element/typeChecks.js +30 -0
  846. package/draw/element/types.d.ts +291 -0
  847. package/draw/element/utils.d.ts +33 -0
  848. package/draw/element/utils.js +137 -0
  849. package/draw/element/visualdebug.d.ts +58 -0
  850. package/draw/element/zindex.d.ts +13 -0
  851. package/draw/element/zindex.js +149 -0
  852. package/draw/index.d.ts +48 -2
  853. package/draw/index.js +63 -4
  854. package/draw/interface.d.ts +707 -1
  855. package/draw/libs/browser-fs-access/directory-open.d.mts +5 -0
  856. package/draw/libs/browser-fs-access/directory-open.js +12 -0
  857. package/draw/libs/browser-fs-access/file-open.d.mts +5 -0
  858. package/draw/libs/browser-fs-access/file-open.js +12 -0
  859. package/draw/libs/browser-fs-access/file-save.d.mts +5 -0
  860. package/draw/libs/browser-fs-access/file-save.js +12 -0
  861. package/draw/libs/browser-fs-access/fs-access/directory-open.d.mts +8 -0
  862. package/draw/libs/browser-fs-access/fs-access/directory-open.js +25 -0
  863. package/draw/libs/browser-fs-access/fs-access/file-open.d.mts +2 -0
  864. package/draw/libs/browser-fs-access/fs-access/file-open.js +28 -0
  865. package/draw/libs/browser-fs-access/fs-access/file-save.d.mts +2 -0
  866. package/draw/libs/browser-fs-access/fs-access/file-save.js +31 -0
  867. package/draw/libs/browser-fs-access/index.d.ts +10 -0
  868. package/draw/libs/browser-fs-access/index.js +28 -0
  869. package/draw/libs/browser-fs-access/legacy/directory-open.d.mts +8 -0
  870. package/draw/libs/browser-fs-access/legacy/directory-open.js +18 -0
  871. package/draw/libs/browser-fs-access/legacy/file-open.d.mts +2 -0
  872. package/draw/libs/browser-fs-access/legacy/file-open.js +15 -0
  873. package/draw/libs/browser-fs-access/legacy/file-save.d.mts +2 -0
  874. package/draw/libs/browser-fs-access/legacy/file-save.js +31 -0
  875. package/draw/libs/browser-fs-access/supported.d.mts +22 -0
  876. package/draw/libs/browser-fs-access/supported.js +14 -0
  877. package/draw/libs/canvas-roundrect-polyfill/LICENSE +21 -0
  878. package/draw/libs/canvas-roundrect-polyfill/index.d.ts +2 -0
  879. package/draw/libs/canvas-roundrect-polyfill/index.js +74 -0
  880. package/draw/libs/fractional-indexing/index.d.ts +23 -0
  881. package/draw/libs/fractional-indexing/index.js +110 -0
  882. package/draw/libs/fuzzy/index.d.ts +10 -0
  883. package/draw/libs/fuzzy/index.js +40 -0
  884. package/draw/libs/glur/LICENSE +20 -0
  885. package/draw/libs/glur/index.d.ts +2 -0
  886. package/draw/libs/glur/index.js +37 -0
  887. package/draw/libs/glur/mono16.d.ts +2 -0
  888. package/draw/libs/glur/mono16.js +33 -0
  889. package/draw/libs/hachure-fill/index.d.ts +4 -0
  890. package/draw/libs/hachure-fill/index.js +79 -0
  891. package/draw/libs/image-blob-reduce/index.d.ts +36 -0
  892. package/draw/libs/image-blob-reduce/index.js +96 -0
  893. package/draw/libs/image-blob-reduce/lib/image_traverse.d.ts +6 -0
  894. package/draw/libs/image-blob-reduce/lib/image_traverse.js +212 -0
  895. package/draw/libs/image-blob-reduce/lib/jpeg_plugins.d.ts +11 -0
  896. package/draw/libs/image-blob-reduce/lib/jpeg_plugins.js +57 -0
  897. package/draw/libs/image-blob-reduce/lib/utils.d.ts +14 -0
  898. package/draw/libs/image-blob-reduce/lib/utils.js +21 -0
  899. package/draw/libs/jotai/index.d.ts +2 -0
  900. package/draw/libs/jotai/index.js +24 -0
  901. package/draw/libs/jotai/react/Provider.d.ts +16 -0
  902. package/draw/libs/jotai/react/Provider.js +16 -0
  903. package/draw/libs/jotai/react/useAtom.d.ts +13 -0
  904. package/draw/libs/jotai/react/useAtom.js +10 -0
  905. package/draw/libs/jotai/react/useAtomValue.d.ts +9 -0
  906. package/draw/libs/jotai/react/useAtomValue.js +73 -0
  907. package/draw/libs/jotai/react/useSetAtom.d.ts +7 -0
  908. package/draw/libs/jotai/react/useSetAtom.js +11 -0
  909. package/draw/libs/jotai/react/utils/useAtomCallback.d.ts +5 -0
  910. package/draw/libs/jotai/react/utils/useAtomCallback.js +4 -0
  911. package/draw/libs/jotai/react/utils/useHydrateAtoms.d.ts +14 -0
  912. package/draw/libs/jotai/react/utils/useHydrateAtoms.js +16 -0
  913. package/draw/libs/jotai/react/utils/useReducerAtom.d.ts +14 -0
  914. package/draw/libs/jotai/react/utils/useReducerAtom.js +4 -0
  915. package/draw/libs/jotai/react/utils/useResetAtom.d.ts +6 -0
  916. package/draw/libs/jotai/react/utils/useResetAtom.js +5 -0
  917. package/draw/libs/jotai/react/utils.d.ts +4 -0
  918. package/draw/libs/jotai/react/utils.js +6 -0
  919. package/draw/libs/jotai/react.d.ts +4 -0
  920. package/draw/libs/jotai/react.js +6 -0
  921. package/draw/libs/jotai/utils.d.ts +2 -0
  922. package/draw/libs/jotai/utils.js +6 -0
  923. package/draw/libs/jotai/vanilla/atom.d.ts +47 -0
  924. package/draw/libs/jotai/vanilla/atom.js +18 -0
  925. package/draw/libs/jotai/vanilla/internals.d.ts +165 -0
  926. package/draw/libs/jotai/vanilla/internals.js +303 -0
  927. package/draw/libs/jotai/vanilla/store.d.ts +5 -0
  928. package/draw/libs/jotai/vanilla/store.js +17 -0
  929. package/draw/libs/jotai/vanilla/typeUtils.d.ts +7 -0
  930. package/draw/libs/jotai/vanilla/utils/atomFamily.d.ts +55 -0
  931. package/draw/libs/jotai/vanilla/utils/atomFamily.js +3 -0
  932. package/draw/libs/jotai/vanilla/utils/atomWithDefault.d.ts +6 -0
  933. package/draw/libs/jotai/vanilla/utils/atomWithLazy.d.ts +2 -0
  934. package/draw/libs/jotai/vanilla/utils/atomWithObservable.d.ts +32 -0
  935. package/draw/libs/jotai/vanilla/utils/atomWithReducer.d.ts +3 -0
  936. package/draw/libs/jotai/vanilla/utils/atomWithRefresh.d.ts +6 -0
  937. package/draw/libs/jotai/vanilla/utils/atomWithReset.d.ts +8 -0
  938. package/draw/libs/jotai/vanilla/utils/atomWithStorage.d.ts +50 -0
  939. package/draw/libs/jotai/vanilla/utils/atomWithStorage.js +53 -0
  940. package/draw/libs/jotai/vanilla/utils/constants.d.ts +1 -0
  941. package/draw/libs/jotai/vanilla/utils/freezeAtom.d.ts +6 -0
  942. package/draw/libs/jotai/vanilla/utils/loadable.d.ts +33 -0
  943. package/draw/libs/jotai/vanilla/utils/selectAtom.d.ts +2 -0
  944. package/draw/libs/jotai/vanilla/utils/splitAtom.d.ts +16 -0
  945. package/draw/libs/jotai/vanilla/utils/unwrap.d.ts +5 -0
  946. package/draw/libs/jotai/vanilla/utils.d.ts +14 -0
  947. package/draw/libs/jotai/vanilla/utils.js +4 -0
  948. package/draw/libs/jotai/vanilla.d.ts +4 -0
  949. package/draw/libs/jotai-scope/ScopeProvider/index.d.ts +27 -0
  950. package/draw/libs/jotai-scope/ScopeProvider/index.js +47 -0
  951. package/draw/libs/jotai-scope/ScopeProvider/scope.d.ts +16 -0
  952. package/draw/libs/jotai-scope/ScopeProvider/scope.js +264 -0
  953. package/draw/libs/jotai-scope/createIsolation.d.ts +19 -0
  954. package/draw/libs/jotai-scope/createIsolation.js +50 -0
  955. package/draw/libs/jotai-scope/index.d.ts +3 -0
  956. package/draw/libs/jotai-scope/index.js +14 -0
  957. package/draw/libs/jotai-scope/types.d.ts +53 -0
  958. package/draw/libs/jotai-scope/utils.d.ts +6 -0
  959. package/draw/libs/jotai-scope/utils.js +12 -0
  960. package/draw/libs/laser-pointer/index.d.ts +2 -0
  961. package/draw/libs/laser-pointer/index.js +8 -0
  962. package/draw/libs/laser-pointer/math.d.ts +16 -0
  963. package/draw/libs/laser-pointer/math.js +72 -0
  964. package/draw/libs/laser-pointer/simplify.d.ts +2 -0
  965. package/draw/libs/laser-pointer/simplify.js +29 -0
  966. package/draw/libs/laser-pointer/state.d.ts +31 -0
  967. package/draw/libs/laser-pointer/state.js +155 -0
  968. package/draw/libs/markdown-to-text/index.d.ts +20 -0
  969. package/draw/libs/markdown-to-text/index.js +17 -0
  970. package/draw/libs/math/angle.d.ts +19 -0
  971. package/draw/libs/math/angle.js +24 -0
  972. package/draw/libs/math/constants.d.ts +3 -0
  973. package/draw/libs/math/constants.js +56 -0
  974. package/draw/libs/math/curve.d.ts +74 -0
  975. package/draw/libs/math/curve.js +126 -0
  976. package/draw/libs/math/ellipse.d.ts +44 -0
  977. package/draw/libs/math/ellipse.js +44 -0
  978. package/draw/libs/math/index.d.ts +13 -0
  979. package/draw/libs/math/index.js +105 -0
  980. package/draw/libs/math/line.d.ts +17 -0
  981. package/draw/libs/math/line.js +17 -0
  982. package/draw/libs/math/point.d.ts +122 -0
  983. package/draw/libs/math/point.js +48 -0
  984. package/draw/libs/math/polygon.d.ts +6 -0
  985. package/draw/libs/math/polygon.js +42 -0
  986. package/draw/libs/math/range.d.ts +42 -0
  987. package/draw/libs/math/range.js +17 -0
  988. package/draw/libs/math/rectangle.d.ts +5 -0
  989. package/draw/libs/math/rectangle.js +25 -0
  990. package/draw/libs/math/segment.d.ts +40 -0
  991. package/draw/libs/math/segment.js +38 -0
  992. package/draw/libs/math/triangle.d.ts +11 -0
  993. package/draw/libs/math/triangle.js +9 -0
  994. package/draw/libs/math/types.d.ts +106 -0
  995. package/draw/libs/math/utils.d.ts +7 -0
  996. package/draw/libs/math/utils.js +12 -0
  997. package/draw/libs/math/vector.d.ts +94 -0
  998. package/draw/libs/math/vector.js +41 -0
  999. package/draw/libs/multimath/index.d.ts +21 -0
  1000. package/draw/libs/multimath/index.js +66 -0
  1001. package/draw/libs/multimath/lib/base64decode.d.ts +1 -0
  1002. package/draw/libs/multimath/lib/base64decode.js +8 -0
  1003. package/draw/libs/multimath/lib/wa_detect.d.ts +1 -0
  1004. package/draw/libs/multimath/lib/wa_detect.js +68 -0
  1005. package/draw/libs/nanoid/index.d.ts +5 -0
  1006. package/draw/libs/nanoid/index.js +23 -0
  1007. package/draw/libs/nanoid/nanoid.d.ts +1 -0
  1008. package/draw/libs/nanoid/url-alphabet/index.d.ts +1 -0
  1009. package/draw/libs/nanoid/url-alphabet/index.js +6 -0
  1010. package/draw/libs/pako/index.d.ts +323 -0
  1011. package/draw/libs/pako/index.js +1445 -0
  1012. package/draw/libs/path-data-parser/absolutize.d.ts +2 -0
  1013. package/draw/libs/path-data-parser/absolutize.js +140 -0
  1014. package/draw/libs/path-data-parser/index.d.ts +3 -0
  1015. package/draw/libs/path-data-parser/index.js +15 -0
  1016. package/draw/libs/path-data-parser/normalize.d.ts +2 -0
  1017. package/draw/libs/path-data-parser/normalize.js +168 -0
  1018. package/draw/libs/path-data-parser/parser.d.ts +6 -0
  1019. package/draw/libs/path-data-parser/parser.js +90 -0
  1020. package/draw/libs/perfect-freehand/getStroke.d.ts +20 -0
  1021. package/draw/libs/perfect-freehand/getStroke.js +10 -0
  1022. package/draw/libs/perfect-freehand/getStrokeOutlinePoints.d.ts +16 -0
  1023. package/draw/libs/perfect-freehand/getStrokeOutlinePoints.js +73 -0
  1024. package/draw/libs/perfect-freehand/getStrokePoints.d.ts +20 -0
  1025. package/draw/libs/perfect-freehand/getStrokePoints.js +45 -0
  1026. package/draw/libs/perfect-freehand/getStrokeRadius.d.ts +9 -0
  1027. package/draw/libs/perfect-freehand/getStrokeRadius.js +8 -0
  1028. package/draw/libs/perfect-freehand/index.d.ts +6 -0
  1029. package/draw/libs/perfect-freehand/index.js +15 -0
  1030. package/draw/libs/perfect-freehand/types.d.ts +42 -0
  1031. package/draw/libs/perfect-freehand/vec.d.ts +117 -0
  1032. package/draw/libs/perfect-freehand/vec.js +54 -0
  1033. package/draw/libs/pica/index.d.ts +29 -0
  1034. package/draw/libs/pica/index.js +250 -0
  1035. package/draw/libs/pica/lib/mathlib.d.ts +10 -0
  1036. package/draw/libs/pica/lib/mathlib.js +22 -0
  1037. package/draw/libs/pica/lib/mm_resize/convolve.d.ts +11 -0
  1038. package/draw/libs/pica/lib/mm_resize/convolve.js +51 -0
  1039. package/draw/libs/pica/lib/mm_resize/convolve_wasm_base64.d.ts +2 -0
  1040. package/draw/libs/pica/lib/mm_resize/convolve_wasm_base64.js +6 -0
  1041. package/draw/libs/pica/lib/mm_resize/index.d.ts +11 -0
  1042. package/draw/libs/pica/lib/mm_resize/index.js +14 -0
  1043. package/draw/libs/pica/lib/mm_resize/resize.d.ts +1 -0
  1044. package/draw/libs/pica/lib/mm_resize/resize.js +23 -0
  1045. package/draw/libs/pica/lib/mm_resize/resize_filter_gen.d.ts +1 -0
  1046. package/draw/libs/pica/lib/mm_resize/resize_filter_gen.js +24 -0
  1047. package/draw/libs/pica/lib/mm_resize/resize_filter_info.d.ts +45 -0
  1048. package/draw/libs/pica/lib/mm_resize/resize_filter_info.js +58 -0
  1049. package/draw/libs/pica/lib/mm_resize/resize_wasm.d.ts +1 -0
  1050. package/draw/libs/pica/lib/mm_resize/resize_wasm.js +46 -0
  1051. package/draw/libs/pica/lib/mm_unsharp_mask/index.d.ts +10 -0
  1052. package/draw/libs/pica/lib/mm_unsharp_mask/index.js +14 -0
  1053. package/draw/libs/pica/lib/mm_unsharp_mask/unsharp_mask.d.ts +1 -0
  1054. package/draw/libs/pica/lib/mm_unsharp_mask/unsharp_mask.js +19 -0
  1055. package/draw/libs/pica/lib/mm_unsharp_mask/unsharp_mask_wasm.d.ts +1 -0
  1056. package/draw/libs/pica/lib/mm_unsharp_mask/unsharp_mask_wasm.js +14 -0
  1057. package/draw/libs/pica/lib/mm_unsharp_mask/unsharp_mask_wasm_base64.d.ts +2 -0
  1058. package/draw/libs/pica/lib/mm_unsharp_mask/unsharp_mask_wasm_base64.js +6 -0
  1059. package/draw/libs/pica/lib/pool.d.ts +14 -0
  1060. package/draw/libs/pica/lib/pool.js +18 -0
  1061. package/draw/libs/pica/lib/stepper.d.ts +1 -0
  1062. package/draw/libs/pica/lib/stepper.js +15 -0
  1063. package/draw/libs/pica/lib/tiler.d.ts +18 -0
  1064. package/draw/libs/pica/lib/tiler.js +38 -0
  1065. package/draw/libs/pica/lib/utils.d.ts +9 -0
  1066. package/draw/libs/pica/lib/utils.js +91 -0
  1067. package/draw/libs/pica/lib/worker.d.ts +1 -0
  1068. package/draw/libs/pica/lib/worker.js +19 -0
  1069. package/draw/libs/png-chunk-text/decode.d.ts +5 -0
  1070. package/draw/libs/png-chunk-text/decode.js +18 -0
  1071. package/draw/libs/png-chunk-text/encode.d.ts +5 -0
  1072. package/draw/libs/png-chunk-text/encode.js +22 -0
  1073. package/draw/libs/png-chunk-text/index.d.ts +8 -0
  1074. package/draw/libs/png-chunk-text/index.js +16 -0
  1075. package/draw/libs/png-chunks-encode/index.d.ts +2 -0
  1076. package/draw/libs/png-chunks-encode/index.js +30 -0
  1077. package/draw/libs/png-chunks-extract/index.d.ts +5 -0
  1078. package/draw/libs/png-chunks-extract/index.js +39 -0
  1079. package/draw/libs/points-on-curve/curve-to-bezier.d.ts +2 -0
  1080. package/draw/libs/points-on-curve/curve-to-bezier.js +26 -0
  1081. package/draw/libs/points-on-curve/index.d.ts +4 -0
  1082. package/draw/libs/points-on-curve/index.js +73 -0
  1083. package/draw/libs/points-on-path/index.d.ts +3 -0
  1084. package/draw/libs/points-on-path/index.js +43 -0
  1085. package/draw/libs/promise-pool/LICENSE +19 -0
  1086. package/draw/libs/promise-pool/index.js +93 -0
  1087. package/draw/libs/roughjs/canvas.d.ts +19 -0
  1088. package/draw/libs/roughjs/canvas.js +95 -0
  1089. package/draw/libs/roughjs/core.d.ts +85 -0
  1090. package/draw/libs/roughjs/core.js +6 -0
  1091. package/draw/libs/roughjs/fillers/dashed-filler.d.ts +8 -0
  1092. package/draw/libs/roughjs/fillers/dashed-filler.js +32 -0
  1093. package/draw/libs/roughjs/fillers/dot-filler.d.ts +8 -0
  1094. package/draw/libs/roughjs/fillers/dot-filler.js +36 -0
  1095. package/draw/libs/roughjs/fillers/filler-interface.d.ts +11 -0
  1096. package/draw/libs/roughjs/fillers/filler.d.ts +3 -0
  1097. package/draw/libs/roughjs/fillers/filler.js +36 -0
  1098. package/draw/libs/roughjs/fillers/hachure-filler.d.ts +10 -0
  1099. package/draw/libs/roughjs/fillers/hachure-filler.js +27 -0
  1100. package/draw/libs/roughjs/fillers/hatch-filler.d.ts +6 -0
  1101. package/draw/libs/roughjs/fillers/hatch-filler.js +12 -0
  1102. package/draw/libs/roughjs/fillers/index.d.ts +9 -0
  1103. package/draw/libs/roughjs/fillers/scan-line-hachure.d.ts +3 -0
  1104. package/draw/libs/roughjs/fillers/scan-line-hachure.js +12 -0
  1105. package/draw/libs/roughjs/fillers/zigzag-filler.d.ts +6 -0
  1106. package/draw/libs/roughjs/fillers/zigzag-filler.js +20 -0
  1107. package/draw/libs/roughjs/fillers/zigzag-line-filler.d.ts +8 -0
  1108. package/draw/libs/roughjs/fillers/zigzag-line-filler.js +34 -0
  1109. package/draw/libs/roughjs/generator.d.ts +19 -0
  1110. package/draw/libs/roughjs/generator.js +204 -0
  1111. package/draw/libs/roughjs/geometry.d.ts +9 -0
  1112. package/draw/libs/roughjs/geometry.js +9 -0
  1113. package/draw/libs/roughjs/index.d.ts +9 -0
  1114. package/draw/libs/roughjs/index.js +54 -0
  1115. package/draw/libs/roughjs/math.d.ts +6 -0
  1116. package/draw/libs/roughjs/math.js +17 -0
  1117. package/draw/libs/roughjs/renderer.d.ts +28 -0
  1118. package/draw/libs/roughjs/renderer.js +336 -0
  1119. package/draw/libs/roughjs/rough.d.ts +11 -0
  1120. package/draw/libs/roughjs/rough.js +22 -0
  1121. package/draw/libs/roughjs/svg.d.ts +20 -0
  1122. package/draw/libs/roughjs/svg.js +84 -0
  1123. package/draw/libs/sliced/index.d.ts +9 -0
  1124. package/draw/libs/sliced/index.js +14 -0
  1125. package/draw/libs/webworkify/index.d.ts +3 -0
  1126. package/draw/libs/webworkify/index.js +18 -0
  1127. package/draw/style/index.css +1 -0
  1128. package/draw/style/index.d.ts +1 -0
  1129. package/draw/style/index.js +3 -0
  1130. package/draw/utils/bbox.d.ts +9 -0
  1131. package/draw/utils/bbox.js +32 -0
  1132. package/draw/utils/export.d.ts +36 -0
  1133. package/draw/utils/export.js +77 -0
  1134. package/draw/utils/index.d.ts +12 -0
  1135. package/draw/utils/index.js +22 -0
  1136. package/draw/utils/shape.d.ts +57 -0
  1137. package/draw/utils/shape.js +81 -0
  1138. package/draw/utils/withinBounds.d.ts +19 -0
  1139. package/draw/utils/withinBounds.js +61 -0
  1140. package/drawer/Drawer.js +95 -103
  1141. package/drawer/constants.d.ts +4 -0
  1142. package/drawer/constants.js +6 -0
  1143. package/drawer/context.d.ts +3 -0
  1144. package/drawer/context.js +19 -0
  1145. package/drawer/index.d.ts +2 -0
  1146. package/drawer/index.js +9 -6
  1147. package/drawer/style/index.css +1 -0
  1148. package/drawer/style/index.d.ts +2 -0
  1149. package/drawer/style/index.js +4 -0
  1150. package/drawer/use-drawer/Hook.js +11 -9
  1151. package/drawer/use-drawer/index.js +1 -1
  1152. package/dropdown/Button.d.ts +1 -1
  1153. package/dropdown/Button.js +2 -2
  1154. package/dropdown/Dropdown.js +55 -55
  1155. package/dropdown/constants.d.ts +0 -0
  1156. package/dropdown/constants.js +2 -0
  1157. package/dropdown/context.d.ts +3 -0
  1158. package/dropdown/context.js +11 -0
  1159. package/dropdown/index.d.ts +3 -1
  1160. package/dropdown/index.js +9 -6
  1161. package/dropdown/style/index.css +1 -0
  1162. package/dropdown/style/index.d.ts +3 -0
  1163. package/dropdown/style/index.js +5 -0
  1164. package/empty/Empty.js +22 -18
  1165. package/empty/constants.d.ts +0 -0
  1166. package/empty/constants.js +2 -0
  1167. package/empty/context.d.ts +3 -0
  1168. package/empty/context.js +7 -0
  1169. package/empty/index.d.ts +2 -0
  1170. package/empty/index.js +9 -4
  1171. package/empty/style/index.css +1 -0
  1172. package/empty/style/index.d.ts +1 -0
  1173. package/empty/style/index.js +3 -0
  1174. package/flex/Flex.js +24 -20
  1175. package/flex/constants.d.ts +0 -0
  1176. package/flex/constants.js +2 -0
  1177. package/flex/context.d.ts +3 -0
  1178. package/flex/context.js +7 -0
  1179. package/flex/index.d.ts +2 -0
  1180. package/flex/index.js +8 -5
  1181. package/flex/style/index.d.ts +1 -0
  1182. package/flex/style/index.js +3 -0
  1183. package/form/Control.d.ts +31 -32
  1184. package/form/Control.js +248 -200
  1185. package/form/Form.js +78 -90
  1186. package/form/Item.js +192 -0
  1187. package/form/ItemLabel.js +48 -0
  1188. package/form/ItemTip.js +41 -0
  1189. package/form/LabelSymbol.js +20 -0
  1190. package/form/List.js +83 -0
  1191. package/form/Provider.js +29 -0
  1192. package/form/constants.js +9 -0
  1193. package/form/context.d.ts +3 -1
  1194. package/form/context.js +19 -5
  1195. package/form/hooks/useForm.js +56 -0
  1196. package/form/hooks/useFormContext.js +34 -0
  1197. package/form/hooks/useFormState.js +31 -0
  1198. package/form/hooks/useWatch.js +34 -0
  1199. package/form/index.d.ts +14 -12
  1200. package/form/index.js +31 -29
  1201. package/form/interface.js +1 -1
  1202. package/form/promisify.js +1 -1
  1203. package/form/store.d.ts +1 -1
  1204. package/form/store.js +36 -36
  1205. package/form/style/index.css +1 -0
  1206. package/form/style/index.d.ts +2 -0
  1207. package/form/style/index.js +4 -0
  1208. package/form/utils.js +14 -14
  1209. package/global-provider/GlobalProvider.js +1 -1
  1210. package/global-provider/constants.d.ts +0 -0
  1211. package/global-provider/constants.js +2 -0
  1212. package/global-provider/context.js +1 -1
  1213. package/global-provider/index.d.ts +1 -0
  1214. package/global-provider/index.js +2 -1
  1215. package/global-provider/style/index.d.ts +1 -0
  1216. package/global-provider/style/index.js +3 -0
  1217. package/grid/Grid.js +33 -34
  1218. package/grid/Item.d.ts +1 -1
  1219. package/grid/Item.js +3 -3
  1220. package/grid/constants.d.ts +0 -0
  1221. package/grid/constants.js +2 -0
  1222. package/grid/context.d.ts +2 -0
  1223. package/grid/context.js +8 -3
  1224. package/grid/index.d.ts +4 -1
  1225. package/grid/index.js +9 -7
  1226. package/grid/style/index.css +1 -0
  1227. package/grid/style/index.d.ts +1 -0
  1228. package/grid/style/index.js +3 -0
  1229. package/grid/utils.js +1 -1
  1230. package/hooks/index.js +1 -1
  1231. package/hooks/use-breakpoint/index.js +1 -1
  1232. package/hooks/use-computed-state/index.js +1 -1
  1233. package/hooks/use-controllable-value/index.js +1 -1
  1234. package/hooks/use-create/index.js +1 -1
  1235. package/hooks/use-creation/index.js +1 -1
  1236. package/hooks/use-effect-event/index.js +1 -1
  1237. package/hooks/use-event/index.js +1 -1
  1238. package/hooks/use-event-listener/index.js +1 -1
  1239. package/hooks/use-force-update/index.js +1 -1
  1240. package/hooks/use-fullscreen/index.js +1 -1
  1241. package/hooks/use-id/index.js +1 -1
  1242. package/hooks/use-intersection-observer/index.js +1 -1
  1243. package/hooks/use-intersection-observers/index.js +1 -1
  1244. package/hooks/use-interval/index.js +1 -1
  1245. package/hooks/use-is-first-render/index.js +1 -1
  1246. package/hooks/use-isomorphic-layout-effect/index.js +1 -1
  1247. package/hooks/use-keyboard-event/index.js +1 -1
  1248. package/hooks/use-latest/index.js +1 -1
  1249. package/hooks/use-listen-window-resize/index.js +1 -1
  1250. package/hooks/use-media/index.js +1 -1
  1251. package/hooks/use-memoized-fn/index.js +1 -1
  1252. package/hooks/use-merge-props/index.js +1 -1
  1253. package/hooks/use-move/index.js +1 -1
  1254. package/hooks/use-mutation-observers/index.js +1 -1
  1255. package/hooks/use-online-status/index.js +1 -1
  1256. package/hooks/use-overflow-hidden/index.js +1 -1
  1257. package/hooks/use-override-ref/index.js +1 -1
  1258. package/hooks/use-persist-callback/index.js +1 -1
  1259. package/hooks/use-prefers-color-scheme-dark/index.js +1 -1
  1260. package/hooks/use-previous/index.js +1 -1
  1261. package/hooks/use-refs/index.js +1 -1
  1262. package/hooks/use-resize-observer/index.js +1 -1
  1263. package/hooks/use-resize-observers/index.js +1 -1
  1264. package/hooks/use-responsive-state/index.js +1 -1
  1265. package/hooks/use-set-state/index.js +1 -1
  1266. package/hooks/use-state-callback/index.js +1 -1
  1267. package/hooks/use-state-with-promise/index.js +1 -1
  1268. package/hooks/use-update-effect/index.js +1 -1
  1269. package/hooks/use-update-layout-effect/index.js +1 -1
  1270. package/hooks/use-verification-code/index.js +1 -1
  1271. package/hooks/use-watch/index.js +1 -1
  1272. package/hooks/use-watermark/index.js +18 -18
  1273. package/hooks/use-watermark/utils.js +1 -1
  1274. package/hooks/use-window-size/index.js +1 -1
  1275. package/hooks/useUnmountOnExit.js +1 -1
  1276. package/icon/Icon.d.ts +2 -4
  1277. package/icon/Icon.js +22 -23
  1278. package/icon/addIconFromCdn.js +1 -1
  1279. package/icon/constants.d.ts +0 -0
  1280. package/icon/constants.js +2 -0
  1281. package/icon/context.d.ts +3 -0
  1282. package/icon/context.js +11 -0
  1283. package/icon/index.d.ts +12 -1
  1284. package/icon/index.js +12 -9
  1285. package/icon/style/index.css +1 -0
  1286. package/icon/style/index.d.ts +1 -0
  1287. package/icon/style/index.js +3 -0
  1288. package/icon-hover/IconHover.js +26 -24
  1289. package/icon-hover/constants.d.ts +0 -0
  1290. package/icon-hover/constants.js +2 -0
  1291. package/icon-hover/context.d.ts +3 -0
  1292. package/icon-hover/context.js +7 -0
  1293. package/icon-hover/index.d.ts +2 -0
  1294. package/icon-hover/index.js +9 -4
  1295. package/icon-hover/style/index.css +1 -0
  1296. package/icon-hover/style/index.d.ts +1 -0
  1297. package/icon-hover/style/index.js +3 -0
  1298. package/icons/file/File.js +20 -16
  1299. package/icons/file/constants.d.ts +0 -0
  1300. package/icons/file/context.d.ts +3 -0
  1301. package/icons/file/context.js +7 -0
  1302. package/icons/file/index.d.ts +1 -0
  1303. package/icons/file/index.js +3 -2
  1304. package/icons/file/style/index.d.ts +0 -1
  1305. package/icons/file/style/index.js +3 -0
  1306. package/icons.js +1 -1
  1307. package/image/Footer.d.ts +13 -0
  1308. package/image/Footer.js +58 -0
  1309. package/image/Image.js +66 -66
  1310. package/image/Preview.js +371 -0
  1311. package/image/PreviewArrow.js +30 -0
  1312. package/image/PreviewGroup.js +112 -0
  1313. package/image/PreviewToolbar.js +61 -0
  1314. package/image/TriggerForToolbar.js +1 -1
  1315. package/image/constants.d.ts +0 -0
  1316. package/image/constants.js +2 -0
  1317. package/image/context.d.ts +5 -1
  1318. package/image/context.js +31 -5
  1319. package/image/hooks/useImageStatus.js +18 -0
  1320. package/image/hooks/useShowFooter.js +13 -0
  1321. package/image/index.d.ts +6 -4
  1322. package/image/index.js +11 -9
  1323. package/image/style/index.css +1 -0
  1324. package/image/style/index.d.ts +1 -0
  1325. package/image/style/index.js +3 -0
  1326. package/image/utils/getFixTranslate.js +1 -1
  1327. package/image/utils/getScale.js +1 -1
  1328. package/index.d.ts +0 -2
  1329. package/index.js +485 -505
  1330. package/input/Button.js +2 -2
  1331. package/input/Core.js +8 -6
  1332. package/input/Group.js +2 -2
  1333. package/input/Input.js +52 -48
  1334. package/input/Password.js +2 -2
  1335. package/input/Search.js +2 -2
  1336. package/input/Textarea.js +2 -2
  1337. package/input/autoSizeTextareaHeight.js +1 -1
  1338. package/input/constants.js +1 -1
  1339. package/input/context.d.ts +3 -0
  1340. package/input/context.js +7 -0
  1341. package/input/index.d.ts +4 -0
  1342. package/input/index.js +23 -24
  1343. package/input/style/index.css +1 -0
  1344. package/input/style/index.d.ts +2 -0
  1345. package/input/style/index.js +4 -0
  1346. package/input/useComposition.js +1 -1
  1347. package/input/utils.js +1 -1
  1348. package/input-number/InputNumber.js +56 -58
  1349. package/input-number/constants.d.ts +0 -0
  1350. package/input-number/constants.js +2 -0
  1351. package/input-number/context.d.ts +3 -0
  1352. package/input-number/context.js +13 -0
  1353. package/input-number/decimal.js +1 -1
  1354. package/input-number/hooks/useSelectionRange.js +25 -0
  1355. package/input-number/index.d.ts +2 -0
  1356. package/input-number/index.js +9 -4
  1357. package/input-number/style/index.css +1 -0
  1358. package/input-number/style/index.d.ts +2 -0
  1359. package/input-number/style/index.js +4 -0
  1360. package/input-number/utils.js +1 -1
  1361. package/input-tag/InputTag.js +163 -159
  1362. package/input-tag/constants.js +6 -0
  1363. package/input-tag/context.d.ts +3 -0
  1364. package/input-tag/context.js +7 -0
  1365. package/input-tag/hooks/useComputeAutoWidthDelay.js +12 -0
  1366. package/input-tag/index.d.ts +2 -0
  1367. package/input-tag/index.js +9 -4
  1368. package/input-tag/style/index.css +1 -0
  1369. package/input-tag/style/index.d.ts +2 -0
  1370. package/input-tag/style/index.js +4 -0
  1371. package/layout/Content.js +1 -1
  1372. package/layout/Footer.js +1 -1
  1373. package/layout/Header.js +1 -1
  1374. package/layout/Layout.js +24 -20
  1375. package/layout/Sider.js +3 -3
  1376. package/layout/constants.d.ts +0 -0
  1377. package/layout/constants.js +2 -0
  1378. package/layout/context.d.ts +3 -0
  1379. package/layout/context.js +3 -3
  1380. package/layout/index.d.ts +2 -0
  1381. package/layout/index.js +15 -13
  1382. package/layout/style/index.css +1 -0
  1383. package/layout/style/index.d.ts +3 -0
  1384. package/layout/style/index.js +5 -0
  1385. package/link/Link.js +35 -32
  1386. package/link/constants.d.ts +0 -0
  1387. package/link/constants.js +2 -0
  1388. package/link/context.d.ts +3 -0
  1389. package/link/context.js +7 -0
  1390. package/link/index.d.ts +2 -0
  1391. package/link/index.js +9 -4
  1392. package/link/style/index.css +1 -0
  1393. package/link/style/index.d.ts +1 -0
  1394. package/link/style/index.js +3 -0
  1395. package/liquid-fill/LiquidFill.js +73 -87
  1396. package/liquid-fill/constants.d.ts +0 -0
  1397. package/liquid-fill/constants.js +2 -0
  1398. package/liquid-fill/context.d.ts +3 -0
  1399. package/liquid-fill/context.js +25 -0
  1400. package/liquid-fill/index.d.ts +2 -0
  1401. package/liquid-fill/index.js +9 -4
  1402. package/liquid-fill/style/index.css +1 -0
  1403. package/liquid-fill/style/index.d.ts +1 -0
  1404. package/liquid-fill/style/index.js +3 -0
  1405. package/list/Item.js +2 -2
  1406. package/list/List.js +44 -46
  1407. package/list/Meta.js +1 -1
  1408. package/list/constants.d.ts +0 -0
  1409. package/list/constants.js +2 -0
  1410. package/list/context.d.ts +3 -0
  1411. package/list/context.js +13 -0
  1412. package/list/index.d.ts +2 -0
  1413. package/list/index.js +7 -4
  1414. package/list/style/index.css +1 -0
  1415. package/list/style/index.d.ts +5 -0
  1416. package/list/style/index.js +7 -0
  1417. package/loading/Loading.js +40 -36
  1418. package/loading/constants.d.ts +0 -0
  1419. package/loading/constants.js +2 -0
  1420. package/loading/context.d.ts +3 -0
  1421. package/loading/context.js +7 -0
  1422. package/loading/index.d.ts +2 -0
  1423. package/loading/index.js +9 -4
  1424. package/loading/style/index.d.ts +1 -0
  1425. package/loading/style/index.js +3 -0
  1426. package/locale/ar-EG.js +1 -1
  1427. package/locale/de-DE.js +1 -1
  1428. package/locale/default.js +1 -1
  1429. package/locale/en-US.js +1 -1
  1430. package/locale/es-ES.js +1 -1
  1431. package/locale/fr-FR.js +1 -1
  1432. package/locale/id-ID.js +1 -1
  1433. package/locale/it-IT.js +1 -1
  1434. package/locale/ja-JP.js +20 -20
  1435. package/locale/ko-KR.js +1 -1
  1436. package/locale/ms-MY.js +1 -1
  1437. package/locale/pt-BR.js +1 -1
  1438. package/locale/pt-PT.js +1 -1
  1439. package/locale/ru-RU.js +1 -1
  1440. package/locale/th-TH.js +1 -1
  1441. package/locale/tr-TR.js +1 -1
  1442. package/locale/vi-VN.js +1 -1
  1443. package/locale/zh-CN.js +19 -19
  1444. package/locale/zh-HK.js +20 -20
  1445. package/locale/zh-TW.js +20 -20
  1446. package/marquee/Marquee.js +44 -50
  1447. package/marquee/constants.d.ts +0 -0
  1448. package/marquee/constants.js +2 -0
  1449. package/marquee/context.d.ts +3 -0
  1450. package/marquee/context.js +16 -0
  1451. package/marquee/index.d.ts +2 -0
  1452. package/marquee/index.js +9 -4
  1453. package/marquee/style/index.css +1 -0
  1454. package/marquee/style/index.d.ts +1 -0
  1455. package/marquee/style/index.js +3 -0
  1456. package/mask/Mask.d.ts +1 -3
  1457. package/mask/Mask.js +28 -29
  1458. package/mask/constants.js +10 -0
  1459. package/mask/context.d.ts +3 -0
  1460. package/mask/context.js +11 -0
  1461. package/mask/index.d.ts +3 -3
  1462. package/mask/index.js +9 -4
  1463. package/mask/interface.d.ts +2 -2
  1464. package/mask/style/index.css +1 -0
  1465. package/mask/style/index.d.ts +1 -0
  1466. package/mask/style/index.js +3 -0
  1467. package/masonry/Item.js +1 -1
  1468. package/masonry/Masonry.js +57 -54
  1469. package/masonry/constants.d.ts +0 -0
  1470. package/masonry/constants.js +2 -0
  1471. package/masonry/context.d.ts +3 -0
  1472. package/masonry/context.js +7 -0
  1473. package/masonry/hooks/useDelay.js +1 -1
  1474. package/masonry/hooks/useGutter.js +1 -1
  1475. package/masonry/hooks/usePositions.js +1 -1
  1476. package/masonry/hooks/useRefs.js +1 -1
  1477. package/masonry/index.d.ts +2 -0
  1478. package/masonry/index.js +7 -4
  1479. package/masonry/style/index.css +1 -0
  1480. package/masonry/style/index.d.ts +1 -0
  1481. package/masonry/style/index.js +3 -0
  1482. package/mentions/Mentions.js +37 -39
  1483. package/mentions/constants.d.ts +0 -0
  1484. package/mentions/constants.js +2 -0
  1485. package/mentions/context.d.ts +3 -0
  1486. package/mentions/context.js +13 -0
  1487. package/mentions/index.d.ts +2 -0
  1488. package/mentions/index.js +9 -4
  1489. package/mentions/style/index.css +1 -0
  1490. package/mentions/style/index.d.ts +1 -0
  1491. package/mentions/style/index.js +3 -0
  1492. package/mentions/utils.js +1 -1
  1493. package/menu/Indent.js +1 -1
  1494. package/menu/Item.js +1 -1
  1495. package/menu/ItemGroup.js +1 -1
  1496. package/menu/Menu.js +75 -81
  1497. package/menu/OverflowWrap.js +2 -2
  1498. package/menu/constants.d.ts +0 -0
  1499. package/menu/constants.js +2 -0
  1500. package/menu/context.d.ts +3 -1
  1501. package/menu/context.js +12 -3
  1502. package/menu/index.d.ts +3 -1
  1503. package/menu/index.js +14 -12
  1504. package/menu/style/index.css +1 -0
  1505. package/menu/style/index.d.ts +3 -0
  1506. package/menu/style/index.js +5 -0
  1507. package/menu/sub-menu/Inline.d.ts +2 -1
  1508. package/menu/sub-menu/Inline.js +2 -2
  1509. package/menu/sub-menu/Pop.d.ts +2 -1
  1510. package/menu/sub-menu/Pop.js +3 -3
  1511. package/menu/sub-menu/index.d.ts +1 -1
  1512. package/menu/sub-menu/index.js +2 -2
  1513. package/menu/utils.js +1 -1
  1514. package/message/Message.js +76 -72
  1515. package/message/config.js +1 -1
  1516. package/message/constants.js +1 -1
  1517. package/message/context.d.ts +3 -0
  1518. package/message/context.js +7 -0
  1519. package/message/hooks/useMessage.d.ts +4 -0
  1520. package/message/hooks/useMessage.js +52 -0
  1521. package/message/index.d.ts +3 -1
  1522. package/message/index.js +9 -6
  1523. package/message/interface.d.ts +3 -5
  1524. package/message/style/index.css +1 -0
  1525. package/message/style/index.d.ts +1 -0
  1526. package/message/style/index.js +3 -0
  1527. package/message/utils.js +1 -1
  1528. package/modal/Modal.js +189 -207
  1529. package/modal/config.js +1 -1
  1530. package/modal/confirm.js +12 -12
  1531. package/modal/constants.js +1 -1
  1532. package/modal/context.d.ts +3 -0
  1533. package/modal/context.js +17 -0
  1534. package/modal/index.d.ts +2 -0
  1535. package/modal/index.js +11 -8
  1536. package/modal/interface.d.ts +3 -0
  1537. package/modal/style/index.css +1 -0
  1538. package/modal/style/index.d.ts +2 -0
  1539. package/modal/style/index.js +4 -0
  1540. package/modal/use-modal/Hook.js +11 -9
  1541. package/modal/use-modal/index.js +1 -1
  1542. package/modal/utils.js +1 -1
  1543. package/notice/Notice.js +47 -49
  1544. package/notice/config.js +1 -1
  1545. package/notice/constants.js +1 -1
  1546. package/notice/context.d.ts +3 -0
  1547. package/notice/context.js +13 -0
  1548. package/notice/index.d.ts +2 -0
  1549. package/notice/index.js +10 -7
  1550. package/notice/style/index.d.ts +1 -0
  1551. package/notice/style/index.js +3 -0
  1552. package/notice/utils.js +1 -1
  1553. package/notice/withNotice.js +1 -1
  1554. package/notification/Notification.js +77 -73
  1555. package/notification/config.js +1 -1
  1556. package/notification/constants.js +1 -1
  1557. package/notification/context.d.ts +3 -0
  1558. package/notification/context.js +7 -0
  1559. package/notification/hooks/useNotification.d.ts +4 -0
  1560. package/notification/hooks/useNotification.js +53 -0
  1561. package/notification/index.d.ts +3 -1
  1562. package/notification/index.js +9 -6
  1563. package/notification/style/index.css +1 -0
  1564. package/notification/style/index.d.ts +1 -0
  1565. package/notification/style/index.js +3 -0
  1566. package/notification/utils.js +1 -1
  1567. package/overflow-ellipsis/Item.js +22 -0
  1568. package/overflow-ellipsis/OverflowEllipsis.js +42 -37
  1569. package/overflow-ellipsis/constants.d.ts +0 -0
  1570. package/overflow-ellipsis/constants.js +2 -0
  1571. package/overflow-ellipsis/context.d.ts +3 -0
  1572. package/overflow-ellipsis/context.js +7 -0
  1573. package/overflow-ellipsis/index.d.ts +4 -2
  1574. package/overflow-ellipsis/index.js +10 -5
  1575. package/overflow-ellipsis/style/index.css +1 -0
  1576. package/overflow-ellipsis/style/index.d.ts +1 -0
  1577. package/overflow-ellipsis/style/index.js +3 -0
  1578. package/package.json +1 -1
  1579. package/page-header/PageHeader.js +74 -70
  1580. package/page-header/constants.d.ts +0 -0
  1581. package/page-header/constants.js +2 -0
  1582. package/page-header/context.d.ts +3 -0
  1583. package/page-header/context.js +7 -0
  1584. package/page-header/index.d.ts +2 -0
  1585. package/page-header/index.js +9 -4
  1586. package/page-header/style/index.css +1 -0
  1587. package/page-header/style/index.d.ts +2 -0
  1588. package/page-header/style/index.js +4 -0
  1589. package/pagination/Item.js +2 -2
  1590. package/pagination/Jumper.js +2 -2
  1591. package/pagination/Pagination.js +98 -99
  1592. package/pagination/PreNextButton.js +2 -2
  1593. package/pagination/PreNextJump.js +2 -2
  1594. package/pagination/SizeOption.js +3 -3
  1595. package/pagination/constants.d.ts +0 -0
  1596. package/pagination/constants.js +2 -0
  1597. package/pagination/context.d.ts +3 -0
  1598. package/pagination/context.js +11 -0
  1599. package/pagination/index.d.ts +2 -0
  1600. package/pagination/index.js +10 -5
  1601. package/pagination/interface.js +1 -1
  1602. package/pagination/style/index.css +1 -0
  1603. package/pagination/style/index.d.ts +3 -0
  1604. package/pagination/style/index.js +5 -0
  1605. package/pagination/utils.js +1 -1
  1606. package/picker/Input.js +1 -1
  1607. package/picker/InputRange.js +1 -1
  1608. package/picker/constants.d.ts +0 -0
  1609. package/picker/constants.js +2 -0
  1610. package/picker/context.d.ts +0 -0
  1611. package/picker/context.js +2 -0
  1612. package/picker/index.d.ts +1 -0
  1613. package/picker/index.js +7 -6
  1614. package/picker/style/index.css +1 -0
  1615. package/picker/style/index.d.ts +1 -0
  1616. package/picker/style/index.js +3 -0
  1617. package/popconfirm/Popconfirm.js +40 -43
  1618. package/popconfirm/constants.d.ts +0 -0
  1619. package/popconfirm/constants.js +2 -0
  1620. package/popconfirm/context.d.ts +3 -0
  1621. package/popconfirm/context.js +16 -0
  1622. package/popconfirm/index.d.ts +2 -0
  1623. package/popconfirm/index.js +9 -4
  1624. package/popconfirm/style/index.css +1 -0
  1625. package/popconfirm/style/index.d.ts +4 -0
  1626. package/popconfirm/style/index.js +6 -0
  1627. package/popover/Popover.js +36 -37
  1628. package/popover/constants.d.ts +0 -0
  1629. package/popover/constants.js +2 -0
  1630. package/popover/context.d.ts +3 -0
  1631. package/popover/context.js +11 -0
  1632. package/popover/index.d.ts +2 -0
  1633. package/popover/index.js +9 -4
  1634. package/popover/style/index.css +1 -0
  1635. package/popover/style/index.d.ts +2 -0
  1636. package/popover/style/index.js +4 -0
  1637. package/portal/Portal.js +25 -23
  1638. package/portal/constants.d.ts +0 -0
  1639. package/portal/constants.js +2 -0
  1640. package/portal/context.d.ts +3 -0
  1641. package/portal/context.js +7 -0
  1642. package/portal/index.d.ts +2 -0
  1643. package/portal/index.js +9 -4
  1644. package/portal/style/index.d.ts +1 -0
  1645. package/portal/style/index.js +3 -0
  1646. package/progress/Circle.js +102 -0
  1647. package/progress/Line.js +74 -0
  1648. package/progress/Progress.js +51 -54
  1649. package/progress/Step.js +51 -0
  1650. package/progress/constants.d.ts +0 -0
  1651. package/progress/constants.js +2 -0
  1652. package/progress/context.d.ts +3 -0
  1653. package/progress/context.js +13 -0
  1654. package/progress/index.d.ts +6 -31
  1655. package/progress/index.js +12 -9
  1656. package/progress/style/index.css +1 -0
  1657. package/progress/style/index.d.ts +2 -0
  1658. package/progress/style/index.js +4 -0
  1659. package/qr-code/QRCode.js +31 -37
  1660. package/qr-code/constants.d.ts +0 -0
  1661. package/qr-code/constants.js +2 -0
  1662. package/qr-code/context.d.ts +3 -0
  1663. package/qr-code/context.js +17 -0
  1664. package/qr-code/index.d.ts +2 -0
  1665. package/qr-code/index.js +9 -6
  1666. package/qr-code/src/index.js +1 -1
  1667. package/qr-code/src/qrcodegen.js +1 -1
  1668. package/qr-code/style/index.css +1 -0
  1669. package/qr-code/style/index.d.ts +1 -0
  1670. package/qr-code/style/index.js +3 -0
  1671. package/radio/Group.js +3 -3
  1672. package/radio/GroupBlock.js +3 -3
  1673. package/radio/Radio.js +62 -59
  1674. package/radio/constants.d.ts +0 -0
  1675. package/radio/constants.js +2 -0
  1676. package/radio/context.d.ts +3 -1
  1677. package/radio/context.js +3 -3
  1678. package/radio/index.d.ts +2 -0
  1679. package/radio/index.js +12 -10
  1680. package/radio/style/index.css +1 -0
  1681. package/radio/style/index.d.ts +1 -0
  1682. package/radio/style/index.js +3 -0
  1683. package/rate/Rate.js +32 -33
  1684. package/rate/constants.d.ts +0 -0
  1685. package/rate/constants.js +2 -0
  1686. package/rate/context.d.ts +3 -0
  1687. package/rate/context.js +11 -0
  1688. package/rate/index.d.ts +2 -0
  1689. package/rate/index.js +9 -4
  1690. package/rate/style/index.css +1 -0
  1691. package/rate/style/index.d.ts +2 -0
  1692. package/rate/style/index.js +4 -0
  1693. package/resize-box/ResizeBox.js +75 -76
  1694. package/resize-box/ResizeTrigger.js +1 -1
  1695. package/resize-box/Split.js +13 -13
  1696. package/resize-box/SplitGroup.js +14 -14
  1697. package/resize-box/constants.d.ts +0 -0
  1698. package/resize-box/constants.js +2 -0
  1699. package/resize-box/context.d.ts +3 -0
  1700. package/resize-box/context.js +12 -0
  1701. package/resize-box/index.d.ts +2 -0
  1702. package/resize-box/index.js +11 -8
  1703. package/resize-box/style/index.css +1 -0
  1704. package/resize-box/style/index.d.ts +1 -0
  1705. package/resize-box/style/index.js +3 -0
  1706. package/result/403.js +1 -1
  1707. package/result/404.js +1 -1
  1708. package/result/500.js +1 -1
  1709. package/result/Result.js +57 -53
  1710. package/result/constants.d.ts +0 -0
  1711. package/result/constants.js +2 -0
  1712. package/result/context.d.ts +3 -0
  1713. package/result/context.js +7 -0
  1714. package/result/index.d.ts +2 -0
  1715. package/result/index.js +9 -4
  1716. package/result/style/index.css +1 -0
  1717. package/result/style/index.d.ts +1 -0
  1718. package/result/style/index.js +3 -0
  1719. package/rich-text/RichText.d.ts +1 -1
  1720. package/rich-text/RichText.js +110 -106
  1721. package/rich-text/Toolbar.d.ts +2 -1
  1722. package/rich-text/Toolbar.js +234 -250
  1723. package/rich-text/constants.js +7 -0
  1724. package/rich-text/context.d.ts +3 -0
  1725. package/rich-text/context.js +7 -0
  1726. package/rich-text/index.d.ts +9 -7
  1727. package/rich-text/index.js +25 -22
  1728. package/rich-text/interface.d.ts +4 -2
  1729. package/rich-text/libs/blots/block.js +115 -0
  1730. package/rich-text/libs/blots/break.js +20 -0
  1731. package/rich-text/libs/blots/container.js +8 -0
  1732. package/rich-text/libs/blots/cursor.js +97 -0
  1733. package/rich-text/libs/blots/embed.js +47 -0
  1734. package/rich-text/libs/blots/inline.js +50 -0
  1735. package/rich-text/libs/blots/scroll.js +249 -0
  1736. package/rich-text/libs/blots/text.js +17 -0
  1737. package/rich-text/libs/core/composition.js +38 -0
  1738. package/rich-text/libs/core/editor.js +248 -0
  1739. package/rich-text/libs/core/emitter.d.ts +38 -0
  1740. package/rich-text/libs/core/emitter.js +47 -0
  1741. package/rich-text/libs/core/logger.js +20 -0
  1742. package/rich-text/libs/core/module.js +14 -0
  1743. package/rich-text/libs/core/rich.d.ts +183 -0
  1744. package/rich-text/libs/core/rich.js +369 -0
  1745. package/rich-text/libs/core/selection.js +222 -0
  1746. package/rich-text/libs/core/theme.js +32 -0
  1747. package/rich-text/libs/core/utils/createRegistryWithFormats.js +29 -0
  1748. package/rich-text/libs/core/utils/scrollRectIntoView.js +59 -0
  1749. package/rich-text/libs/delta/AttributeMap.js +37 -0
  1750. package/rich-text/libs/delta/Op.js +10 -0
  1751. package/rich-text/libs/delta/OpIterator.js +45 -0
  1752. package/rich-text/libs/delta/index.js +235 -0
  1753. package/rich-text/libs/diff/index.js +285 -0
  1754. package/rich-text/libs/formats/align.js +20 -0
  1755. package/rich-text/libs/formats/background.js +11 -0
  1756. package/rich-text/libs/formats/blockquote.js +16 -0
  1757. package/rich-text/libs/formats/bold.js +25 -0
  1758. package/rich-text/libs/formats/code.js +37 -0
  1759. package/rich-text/libs/formats/color.js +16 -0
  1760. package/rich-text/libs/formats/direction.js +15 -0
  1761. package/rich-text/libs/formats/emoji.js +20 -0
  1762. package/rich-text/libs/formats/font.js +51 -0
  1763. package/rich-text/libs/formats/formula.js +35 -0
  1764. package/rich-text/libs/formats/header.js +25 -0
  1765. package/rich-text/libs/formats/hr.js +17 -0
  1766. package/rich-text/libs/formats/image.js +46 -0
  1767. package/rich-text/libs/formats/indent.js +38 -0
  1768. package/rich-text/libs/formats/italic.js +16 -0
  1769. package/rich-text/libs/formats/lineHeight.js +12 -0
  1770. package/rich-text/libs/formats/link.js +47 -0
  1771. package/rich-text/libs/formats/list.js +37 -0
  1772. package/rich-text/libs/formats/script.js +23 -0
  1773. package/rich-text/libs/formats/size.js +27 -0
  1774. package/rich-text/libs/formats/strike.js +16 -0
  1775. package/rich-text/libs/formats/table.js +134 -0
  1776. package/rich-text/libs/formats/underline.js +16 -0
  1777. package/rich-text/libs/formats/video.js +40 -0
  1778. package/rich-text/libs/index.js +117 -0
  1779. package/rich-text/libs/modules/clipboard.js +295 -0
  1780. package/rich-text/libs/modules/history.js +119 -0
  1781. package/rich-text/libs/modules/image-resize/index.js +80 -0
  1782. package/rich-text/libs/modules/image-resize/modules/Base.js +14 -0
  1783. package/rich-text/libs/modules/image-resize/modules/DisplaySize.js +41 -0
  1784. package/rich-text/libs/modules/image-resize/modules/Resize.js +62 -0
  1785. package/rich-text/libs/modules/image-resize/options.js +11 -0
  1786. package/rich-text/libs/modules/input.js +54 -0
  1787. package/rich-text/libs/modules/keyboard.js +423 -0
  1788. package/rich-text/libs/modules/normalizeExternalHTML/index.js +12 -0
  1789. package/rich-text/libs/modules/normalizeExternalHTML/normalizers/googleDocs.js +22 -0
  1790. package/rich-text/libs/modules/normalizeExternalHTML/normalizers/msWord.js +39 -0
  1791. package/rich-text/libs/modules/table.js +113 -0
  1792. package/rich-text/libs/modules/toolbar copy.d.ts +0 -0
  1793. package/rich-text/libs/modules/toolbar.js +18 -0
  1794. package/rich-text/libs/modules/uiNode.js +52 -0
  1795. package/rich-text/libs/modules/uploader.js +46 -0
  1796. package/rich-text/libs/parchment/attributor/attributor.js +30 -0
  1797. package/rich-text/libs/parchment/attributor/class.js +26 -0
  1798. package/rich-text/libs/parchment/attributor/store.js +44 -0
  1799. package/rich-text/libs/parchment/attributor/style.js +25 -0
  1800. package/rich-text/libs/parchment/blot/abstract/container.js +32 -0
  1801. package/rich-text/libs/parchment/blot/abstract/leaf.js +25 -0
  1802. package/rich-text/libs/parchment/blot/abstract/parent.js +156 -0
  1803. package/rich-text/libs/parchment/blot/abstract/shadow.js +78 -0
  1804. package/rich-text/libs/parchment/blot/block.js +71 -0
  1805. package/rich-text/libs/parchment/blot/embed.js +18 -0
  1806. package/rich-text/libs/parchment/blot/inline.js +73 -0
  1807. package/rich-text/libs/parchment/blot/scroll.js +100 -0
  1808. package/rich-text/libs/parchment/blot/text.js +56 -0
  1809. package/rich-text/libs/parchment/collection/linked-list.js +86 -0
  1810. package/rich-text/libs/parchment/error.js +10 -0
  1811. package/rich-text/libs/parchment/index.js +36 -0
  1812. package/rich-text/libs/parchment/registry.js +56 -0
  1813. package/rich-text/libs/parchment/scope.js +8 -0
  1814. package/rich-text/style/index.css +1 -0
  1815. package/rich-text/style/index.d.ts +1 -0
  1816. package/rich-text/style/index.js +3 -0
  1817. package/router-error/RouterError.d.ts +4 -0
  1818. package/router-error/RouterError.js +82 -0
  1819. package/router-error/constants.d.ts +0 -0
  1820. package/router-error/constants.js +2 -0
  1821. package/router-error/context.d.ts +3 -0
  1822. package/router-error/context.js +7 -0
  1823. package/router-error/index.d.ts +3 -1
  1824. package/router-error/index.js +5 -75
  1825. package/router-error/interface.d.ts +8 -0
  1826. package/router-error/style/index.d.ts +0 -1
  1827. package/router-error/style/index.js +1 -2
  1828. package/row-col/Col.js +65 -96
  1829. package/row-col/Row.js +36 -39
  1830. package/row-col/constants.d.ts +1 -0
  1831. package/row-col/constants.js +6 -0
  1832. package/row-col/context.d.ts +5 -0
  1833. package/row-col/context.js +8 -3
  1834. package/row-col/index.d.ts +2 -0
  1835. package/row-col/index.js +11 -9
  1836. package/row-col/style/index.css +1 -0
  1837. package/row-col/style/index.d.ts +1 -0
  1838. package/row-col/style/index.js +3 -0
  1839. package/segmented/Segmented.js +82 -89
  1840. package/segmented/constants.d.ts +0 -0
  1841. package/segmented/constants.js +2 -0
  1842. package/segmented/context.d.ts +3 -0
  1843. package/segmented/context.js +18 -0
  1844. package/segmented/index.d.ts +2 -0
  1845. package/segmented/index.js +9 -4
  1846. package/segmented/style/index.css +1 -0
  1847. package/segmented/style/index.d.ts +1 -0
  1848. package/segmented/style/index.js +3 -0
  1849. package/select/Option.js +1 -1
  1850. package/select/OptionGroup.js +1 -1
  1851. package/select/Select.js +195 -197
  1852. package/select/constants.d.ts +0 -0
  1853. package/select/constants.js +2 -0
  1854. package/select/context.d.ts +3 -0
  1855. package/select/context.js +13 -0
  1856. package/select/index.d.ts +2 -0
  1857. package/select/index.js +7 -4
  1858. package/select/style/index.css +1 -0
  1859. package/select/style/index.d.ts +5 -0
  1860. package/select/style/index.js +7 -0
  1861. package/select/utils.js +1 -1
  1862. package/select-view/Core.js +3 -3
  1863. package/select-view/SelectView.js +43 -39
  1864. package/select-view/constants.d.ts +0 -0
  1865. package/select-view/constants.js +2 -0
  1866. package/select-view/context.d.ts +3 -0
  1867. package/select-view/context.js +7 -0
  1868. package/select-view/index.d.ts +2 -0
  1869. package/select-view/index.js +10 -7
  1870. package/select-view/style/index.d.ts +1 -0
  1871. package/select-view/style/index.js +3 -0
  1872. package/skeleton/Image.js +1 -1
  1873. package/skeleton/Skeleton.js +42 -42
  1874. package/skeleton/Text.d.ts +1 -1
  1875. package/skeleton/Text.js +1 -1
  1876. package/skeleton/constants.d.ts +0 -0
  1877. package/skeleton/constants.js +2 -0
  1878. package/skeleton/context.d.ts +3 -0
  1879. package/skeleton/context.js +10 -0
  1880. package/skeleton/index.d.ts +2 -0
  1881. package/skeleton/index.js +11 -8
  1882. package/skeleton/style/index.css +1 -0
  1883. package/skeleton/style/index.d.ts +1 -0
  1884. package/skeleton/style/index.js +3 -0
  1885. package/slider/Button.js +7 -7
  1886. package/slider/Dot.d.ts +1 -1
  1887. package/slider/Dot.js +1 -1
  1888. package/slider/Input.js +1 -1
  1889. package/slider/Mark.d.ts +1 -1
  1890. package/slider/Mark.js +1 -1
  1891. package/slider/Slider.js +188 -189
  1892. package/slider/Tick.d.ts +1 -1
  1893. package/slider/Tick.js +1 -1
  1894. package/slider/constants.d.ts +0 -0
  1895. package/slider/constants.js +2 -0
  1896. package/slider/context.d.ts +3 -0
  1897. package/slider/context.js +11 -0
  1898. package/slider/hooks/useInterval.js +94 -0
  1899. package/slider/hooks/useLegalValue.js +58 -0
  1900. package/slider/index.d.ts +2 -0
  1901. package/slider/index.js +15 -12
  1902. package/slider/style/index.css +1 -0
  1903. package/slider/style/index.d.ts +4 -0
  1904. package/slider/style/index.js +6 -0
  1905. package/slider/utils.d.ts +1 -1
  1906. package/slider/utils.js +1 -1
  1907. package/space/Space.js +29 -29
  1908. package/space/constants.d.ts +0 -0
  1909. package/space/constants.js +2 -0
  1910. package/space/context.d.ts +3 -0
  1911. package/space/context.js +10 -0
  1912. package/space/index.d.ts +2 -0
  1913. package/space/index.js +8 -5
  1914. package/space/style/index.d.ts +1 -0
  1915. package/space/style/index.js +3 -0
  1916. package/speech-synthesis/SpeechSynthesis.js +18 -10
  1917. package/speech-synthesis/constants.d.ts +0 -0
  1918. package/speech-synthesis/constants.js +2 -0
  1919. package/speech-synthesis/context.d.ts +3 -0
  1920. package/speech-synthesis/context.js +7 -0
  1921. package/speech-synthesis/index.d.ts +2 -0
  1922. package/speech-synthesis/index.js +9 -4
  1923. package/speech-synthesis/style/index.d.ts +1 -0
  1924. package/speech-synthesis/style/index.js +3 -0
  1925. package/spin/DotLoading.js +1 -1
  1926. package/spin/Spin.js +69 -65
  1927. package/spin/constants.d.ts +0 -0
  1928. package/spin/constants.js +2 -0
  1929. package/spin/context.d.ts +3 -0
  1930. package/spin/context.js +7 -0
  1931. package/spin/index.d.ts +2 -0
  1932. package/spin/index.js +9 -6
  1933. package/spin/style/index.css +1 -0
  1934. package/spin/style/index.d.ts +1 -0
  1935. package/spin/style/index.js +3 -0
  1936. package/splitter/Bar.js +97 -0
  1937. package/splitter/Panel.js +5 -5
  1938. package/splitter/Splitter.js +61 -58
  1939. package/splitter/constants.d.ts +0 -0
  1940. package/splitter/constants.js +2 -0
  1941. package/splitter/context.d.ts +3 -0
  1942. package/splitter/context.js +7 -0
  1943. package/splitter/hooks/useItems.js +1 -1
  1944. package/splitter/hooks/useResizable.js +1 -1
  1945. package/splitter/hooks/useResize.js +1 -1
  1946. package/splitter/hooks/useSizes.js +1 -1
  1947. package/splitter/index.d.ts +2 -0
  1948. package/splitter/index.js +9 -6
  1949. package/splitter/style/index.css +1 -0
  1950. package/splitter/style/index.d.ts +1 -0
  1951. package/splitter/style/index.js +3 -0
  1952. package/statistic/Statistic.js +32 -31
  1953. package/statistic/constants.d.ts +0 -0
  1954. package/statistic/constants.js +2 -0
  1955. package/statistic/context.d.ts +3 -0
  1956. package/statistic/context.js +10 -0
  1957. package/statistic/index.d.ts +3 -0
  1958. package/statistic/index.js +7 -4
  1959. package/statistic/interface.js +1 -1
  1960. package/statistic/style/index.css +1 -0
  1961. package/statistic/style/index.d.ts +2 -0
  1962. package/statistic/style/index.js +4 -0
  1963. package/steps/Item.js +64 -0
  1964. package/steps/Steps.js +39 -42
  1965. package/steps/constants.d.ts +0 -0
  1966. package/steps/constants.js +2 -0
  1967. package/steps/context.d.ts +3 -0
  1968. package/steps/context.js +13 -0
  1969. package/steps/index.d.ts +4 -2
  1970. package/steps/index.js +10 -7
  1971. package/steps/style/index.css +1 -0
  1972. package/steps/style/index.d.ts +1 -0
  1973. package/steps/style/index.js +3 -0
  1974. package/style/constants.d.ts +0 -0
  1975. package/style/constants.js +2 -0
  1976. package/style/constants.ts +0 -0
  1977. package/style/global.less +24 -0
  1978. package/style/index.less +1 -0
  1979. package/style/variables-css.less +1079 -0
  1980. package/style/variables.less +0 -1109
  1981. package/style.css +1 -2
  1982. package/suspense-fallback-test/SuspenseFallbackTest.js +1 -1
  1983. package/suspense-fallback-test/constants.d.ts +0 -0
  1984. package/suspense-fallback-test/constants.js +2 -0
  1985. package/suspense-fallback-test/context.d.ts +0 -0
  1986. package/suspense-fallback-test/context.js +2 -0
  1987. package/suspense-fallback-test/index.d.ts +2 -0
  1988. package/suspense-fallback-test/index.js +2 -1
  1989. package/suspense-fallback-test/style/index.d.ts +1 -0
  1990. package/suspense-fallback-test/style/index.js +3 -0
  1991. package/switch/Switch.js +61 -59
  1992. package/switch/constants.d.ts +0 -0
  1993. package/switch/constants.js +2 -0
  1994. package/switch/context.d.ts +3 -0
  1995. package/switch/context.js +10 -0
  1996. package/switch/index.d.ts +2 -0
  1997. package/switch/index.js +7 -4
  1998. package/switch/interface.d.ts +7 -0
  1999. package/switch/style/index.css +1 -0
  2000. package/switch/style/index.d.ts +1 -0
  2001. package/switch/style/index.js +3 -0
  2002. package/table/ColGroup.js +2 -2
  2003. package/table/Table.js +250 -261
  2004. package/table/constants.js +36 -0
  2005. package/table/context.d.ts +2 -0
  2006. package/table/context.js +15 -4
  2007. package/table/hooks/useColumns.js +115 -0
  2008. package/table/hooks/useComponent.js +27 -0
  2009. package/table/hooks/useExpand.js +33 -0
  2010. package/table/hooks/useRowSelection.js +73 -0
  2011. package/table/hooks/useSorter.js +51 -0
  2012. package/table/hooks/useStickyClassNames.js +25 -0
  2013. package/table/hooks/useStickyOffsets.js +28 -0
  2014. package/table/hooks/useThResizable.js +31 -0
  2015. package/table/index.d.ts +11 -9
  2016. package/table/index.js +37 -35
  2017. package/table/style/index.css +1 -0
  2018. package/table/style/index.d.ts +11 -0
  2019. package/table/style/index.js +13 -0
  2020. package/table/summary/Cell.js +1 -1
  2021. package/table/summary/Row.js +1 -1
  2022. package/table/summary/context.js +1 -1
  2023. package/table/summary/index.js +1 -1
  2024. package/table/tbody/DataRecordRenderer.js +3 -3
  2025. package/table/tbody/Td.js +4 -4
  2026. package/table/tbody/Tr.js +6 -6
  2027. package/table/tbody/index.js +2 -2
  2028. package/table/tfoot/index.js +1 -1
  2029. package/table/th-resizable/index.js +8 -7
  2030. package/table/th-resizable/style/index.css +1 -0
  2031. package/table/th-resizable/style/index.d.ts +1 -0
  2032. package/table/th-resizable/style/index.js +3 -0
  2033. package/table/thead/Column.js +10 -10
  2034. package/table/thead/index.js +4 -4
  2035. package/table/utils.js +1 -1
  2036. package/tabs/TabContent.js +23 -22
  2037. package/tabs/TabPane.js +1 -1
  2038. package/tabs/Tabs.js +80 -76
  2039. package/tabs/constants.d.ts +1 -0
  2040. package/tabs/constants.js +11 -0
  2041. package/tabs/context.d.ts +5 -3
  2042. package/tabs/context.js +12 -4
  2043. package/tabs/hooks/useDomSize.js +23 -0
  2044. package/tabs/hooks/useHeaderScroll.d.ts +13 -0
  2045. package/tabs/hooks/useHeaderScroll.js +76 -0
  2046. package/tabs/index.d.ts +4 -2
  2047. package/tabs/index.js +13 -11
  2048. package/tabs/interface.d.ts +1 -6
  2049. package/tabs/style/index.css +1 -0
  2050. package/tabs/style/index.d.ts +2 -0
  2051. package/tabs/style/index.js +4 -0
  2052. package/tabs/tab-header/DropdownIcon.js +34 -33
  2053. package/tabs/tab-header/TabInk.js +16 -16
  2054. package/tabs/tab-header/TabNavIcon.d.ts +2 -2
  2055. package/tabs/tab-header/TabNavIcon.js +45 -44
  2056. package/tabs/tab-header/TabTitle.d.ts +1 -1
  2057. package/tabs/tab-header/TabTitle.js +1 -1
  2058. package/tabs/tab-header/index.js +115 -117
  2059. package/tabs/utils.d.ts +5 -1
  2060. package/tabs/utils.js +12 -3
  2061. package/tag/Tag.js +73 -70
  2062. package/tag/constants.d.ts +0 -0
  2063. package/tag/constants.js +2 -0
  2064. package/tag/context.d.ts +3 -0
  2065. package/tag/context.js +7 -0
  2066. package/tag/index.d.ts +2 -0
  2067. package/tag/index.js +10 -5
  2068. package/tag/style/index.css +1 -0
  2069. package/tag/style/index.d.ts +1 -0
  2070. package/tag/style/index.js +3 -0
  2071. package/tag/utils.js +1 -1
  2072. package/time-picker/Picker.js +76 -79
  2073. package/time-picker/TimeColumn.js +1 -1
  2074. package/time-picker/TimePicker.js +69 -67
  2075. package/time-picker/TimePickerRange.js +1 -1
  2076. package/time-picker/constants.d.ts +0 -0
  2077. package/time-picker/constants.js +2 -0
  2078. package/time-picker/context.d.ts +3 -1
  2079. package/time-picker/context.js +9 -3
  2080. package/time-picker/index.d.ts +1 -0
  2081. package/time-picker/index.js +10 -8
  2082. package/time-picker/style/index.css +1 -0
  2083. package/time-picker/style/index.d.ts +4 -0
  2084. package/time-picker/style/index.js +6 -0
  2085. package/time-picker/utils.js +1 -1
  2086. package/time-picker/withTimePicker.js +1 -1
  2087. package/timeline/Item.js +2 -2
  2088. package/timeline/Timeline.js +33 -35
  2089. package/timeline/constants.d.ts +0 -0
  2090. package/timeline/constants.js +2 -0
  2091. package/timeline/context.d.ts +3 -0
  2092. package/timeline/context.js +13 -0
  2093. package/timeline/index.d.ts +2 -0
  2094. package/timeline/index.js +9 -6
  2095. package/timeline/style/index.css +1 -0
  2096. package/timeline/style/index.d.ts +1 -0
  2097. package/timeline/style/index.js +3 -0
  2098. package/timer/Timer.js +19 -15
  2099. package/timer/constants.d.ts +0 -0
  2100. package/timer/constants.js +2 -0
  2101. package/timer/context.d.ts +3 -0
  2102. package/timer/context.js +7 -0
  2103. package/timer/index.d.ts +2 -0
  2104. package/timer/index.js +9 -4
  2105. package/timer/style/index.d.ts +1 -0
  2106. package/timer/style/index.js +3 -0
  2107. package/toast/Toast.d.ts +1 -0
  2108. package/toast/Toast.js +1 -1
  2109. package/toast/constants.d.ts +0 -0
  2110. package/toast/constants.js +2 -0
  2111. package/toast/context.d.ts +0 -0
  2112. package/toast/context.js +2 -0
  2113. package/toast/index.d.ts +2 -0
  2114. package/toast/index.js +3 -2
  2115. package/toast/style/index.d.ts +1 -0
  2116. package/toast/style/index.js +3 -0
  2117. package/tooltip/Tooltip.js +59 -62
  2118. package/tooltip/constants.d.ts +0 -0
  2119. package/tooltip/constants.js +2 -0
  2120. package/tooltip/context.d.ts +3 -0
  2121. package/tooltip/context.js +14 -0
  2122. package/tooltip/index.d.ts +2 -0
  2123. package/tooltip/index.js +9 -4
  2124. package/tooltip/style/index.css +1 -0
  2125. package/tooltip/style/index.d.ts +2 -0
  2126. package/tooltip/style/index.js +4 -0
  2127. package/tour/Tour.js +97 -105
  2128. package/tour/constants.d.ts +0 -0
  2129. package/tour/constants.js +2 -0
  2130. package/tour/context.d.ts +3 -0
  2131. package/tour/context.js +18 -0
  2132. package/tour/index.d.ts +2 -0
  2133. package/tour/index.js +9 -4
  2134. package/tour/style/index.css +1 -0
  2135. package/tour/style/index.d.ts +1 -0
  2136. package/tour/style/index.js +3 -0
  2137. package/transfer/Item.js +1 -1
  2138. package/transfer/List.js +1 -1
  2139. package/transfer/Transfer.js +77 -80
  2140. package/transfer/constants.d.ts +0 -0
  2141. package/transfer/constants.js +2 -0
  2142. package/transfer/context.d.ts +3 -0
  2143. package/transfer/context.js +14 -0
  2144. package/transfer/index.d.ts +2 -0
  2145. package/transfer/index.js +9 -4
  2146. package/transfer/style/index.css +1 -0
  2147. package/transfer/style/index.d.ts +5 -0
  2148. package/transfer/style/index.js +7 -0
  2149. package/transition/constants.d.ts +0 -0
  2150. package/transition/constants.js +2 -0
  2151. package/transition/context.d.ts +0 -0
  2152. package/transition/context.js +2 -0
  2153. package/transition/index.d.ts +1 -0
  2154. package/transition/index.js +2 -1
  2155. package/transition/style/index.d.ts +1 -0
  2156. package/transition/style/index.js +3 -0
  2157. package/tree/Animation.js +2 -2
  2158. package/tree/Node.js +1 -1
  2159. package/tree/NodeList.d.ts +1 -1
  2160. package/tree/NodeList.js +1 -1
  2161. package/tree/Tree.js +221 -232
  2162. package/tree/constants.d.ts +10 -0
  2163. package/tree/constants.js +16 -0
  2164. package/tree/context.d.ts +2 -0
  2165. package/tree/context.js +14 -4
  2166. package/tree/index.d.ts +3 -1
  2167. package/tree/index.js +15 -13
  2168. package/tree/interface.d.ts +1 -1
  2169. package/tree/style/index.css +1 -0
  2170. package/tree/style/index.d.ts +2 -0
  2171. package/tree/style/index.js +4 -0
  2172. package/tree/utils.js +2 -2
  2173. package/tree-select/List.js +1 -1
  2174. package/tree-select/TreeSelect.js +135 -136
  2175. package/tree-select/constants.d.ts +10 -0
  2176. package/tree-select/constants.js +7 -0
  2177. package/tree-select/context.d.ts +3 -0
  2178. package/tree-select/context.js +13 -0
  2179. package/tree-select/hooks/useKeyCache.js +49 -0
  2180. package/tree-select/hooks/useStateValue.js +69 -0
  2181. package/tree-select/hooks/useTreeData.js +15 -0
  2182. package/tree-select/index.d.ts +2 -0
  2183. package/tree-select/index.js +12 -9
  2184. package/tree-select/style/index.css +1 -0
  2185. package/tree-select/style/index.d.ts +4 -0
  2186. package/tree-select/style/index.js +6 -0
  2187. package/tree-select/utils.d.ts +0 -10
  2188. package/tree-select/utils.js +3 -12
  2189. package/trigger/Trigger.js +135 -154
  2190. package/trigger/constants.d.ts +0 -0
  2191. package/trigger/constants.js +2 -0
  2192. package/trigger/context.d.ts +3 -0
  2193. package/trigger/context.js +27 -0
  2194. package/trigger/getPopupStyle.js +1 -1
  2195. package/trigger/index.d.ts +2 -0
  2196. package/trigger/index.js +10 -5
  2197. package/trigger/style/index.css +1 -0
  2198. package/trigger/style/index.d.ts +1 -0
  2199. package/trigger/style/index.js +3 -0
  2200. package/trigger/utils.js +1 -1
  2201. package/typewriter/Typewriter.js +19 -16
  2202. package/typewriter/constants.d.ts +0 -0
  2203. package/typewriter/constants.js +2 -0
  2204. package/typewriter/context.d.ts +3 -0
  2205. package/typewriter/context.js +7 -0
  2206. package/typewriter/index.d.ts +2 -0
  2207. package/typewriter/index.js +9 -4
  2208. package/typewriter/style/index.d.ts +1 -0
  2209. package/typewriter/style/index.js +3 -0
  2210. package/typography/Base.js +67 -62
  2211. package/typography/EditContent.js +1 -1
  2212. package/typography/Ellipsis.js +2 -2
  2213. package/typography/Operations.js +1 -1
  2214. package/typography/Paragraph.js +1 -1
  2215. package/typography/Text.js +1 -1
  2216. package/typography/Title.js +1 -1
  2217. package/typography/Typography.js +21 -16
  2218. package/typography/constants.d.ts +0 -0
  2219. package/typography/constants.js +2 -0
  2220. package/typography/context.d.ts +3 -0
  2221. package/typography/context.js +7 -0
  2222. package/typography/hooks/useCssEllipsis.d.ts +6 -0
  2223. package/typography/hooks/useCssEllipsis.js +41 -0
  2224. package/typography/hooks/useEllipsis.d.ts +21 -0
  2225. package/typography/hooks/useEllipsis.js +149 -0
  2226. package/typography/index.d.ts +4 -2
  2227. package/typography/index.js +19 -16
  2228. package/typography/style/index.css +1 -0
  2229. package/typography/style/index.d.ts +4 -0
  2230. package/typography/style/index.js +6 -0
  2231. package/upload/TriggerNode.js +1 -1
  2232. package/upload/Upload.js +48 -50
  2233. package/upload/Uploader.js +2 -2
  2234. package/upload/constants.js +11 -0
  2235. package/upload/context.d.ts +3 -0
  2236. package/upload/context.js +13 -0
  2237. package/upload/index.d.ts +3 -1
  2238. package/upload/index.js +14 -11
  2239. package/upload/list/PictureItem.js +3 -3
  2240. package/upload/list/TextItem.js +4 -4
  2241. package/upload/list/UploadProgress.js +5 -5
  2242. package/upload/list/index.js +2 -2
  2243. package/upload/list/utils.js +1 -1
  2244. package/upload/request.js +2 -2
  2245. package/upload/style/index.css +1 -0
  2246. package/upload/style/index.d.ts +5 -0
  2247. package/upload/style/index.js +7 -0
  2248. package/upload/utils.js +1 -1
  2249. package/utils/callOrReturn.js +1 -1
  2250. package/utils/callbackOriginRef.js +1 -1
  2251. package/utils/caseName.js +1 -1
  2252. package/utils/className.js +1 -1
  2253. package/utils/constants.d.ts +5 -0
  2254. package/utils/constants.js +24 -0
  2255. package/utils/contextHolder.js +1 -1
  2256. package/utils/copy.js +1 -1
  2257. package/utils/createGlobalConfigFunction.js +1 -1
  2258. package/utils/css.js +1 -1
  2259. package/utils/date.js +1 -1
  2260. package/utils/dayjs.js +2 -2
  2261. package/utils/document.d.ts +1 -0
  2262. package/utils/document.js +10 -0
  2263. package/utils/dom.js +1 -1
  2264. package/utils/emitter.js +1 -1
  2265. package/utils/file.js +1 -1
  2266. package/utils/fileRead.js +1 -1
  2267. package/utils/fileToDataURL.js +1 -1
  2268. package/utils/fillNBSP.js +1 -1
  2269. package/utils/findRootElement.js +1 -1
  2270. package/utils/findScrollParent.js +1 -1
  2271. package/utils/getHighlightText.js +1 -1
  2272. package/utils/getHotkeyHandler.js +1 -1
  2273. package/utils/getScrollBarHeight.js +1 -1
  2274. package/utils/getScrollBarSize.js +1 -1
  2275. package/utils/getScrollBarWidth.js +1 -1
  2276. package/utils/getStringLength.js +1 -1
  2277. package/utils/include.js +1 -1
  2278. package/utils/index.d.ts +1 -1
  2279. package/utils/index.js +53 -53
  2280. package/utils/intersectionObserver.js +1 -1
  2281. package/utils/is.js +1 -1
  2282. package/utils/keyboardCode.d.ts +3 -3
  2283. package/utils/keyboardCode.js +4 -4
  2284. package/utils/lodash.js +1 -1
  2285. package/utils/math.js +1 -1
  2286. package/utils/mergeProps.js +1 -1
  2287. package/utils/mergedToString.js +1 -1
  2288. package/utils/mutationObserver.js +1 -1
  2289. package/utils/names.d.ts +1 -0
  2290. package/utils/names.js +2 -2
  2291. package/utils/object.js +1 -1
  2292. package/utils/omit.js +1 -1
  2293. package/utils/pad.js +1 -1
  2294. package/utils/pick.js +1 -1
  2295. package/utils/pinyin.js +1 -1
  2296. package/utils/react19Adapter.js +1 -1
  2297. package/utils/ref.js +1 -1
  2298. package/utils/resizeObserver.js +1 -1
  2299. package/utils/responsiveObserve.js +1 -1
  2300. package/utils/saveAs.js +1 -1
  2301. package/utils/screenfull.js +1 -1
  2302. package/utils/scrollIntoViewIfNeeded.js +1 -1
  2303. package/utils/setCreateRoot.js +1 -1
  2304. package/utils/setDarkTheme.js +2 -2
  2305. package/utils/setPrimaryColor.js +2 -2
  2306. package/utils/setTheme.js +2 -2
  2307. package/utils/string.d.ts +1 -1
  2308. package/utils/string.js +2 -2
  2309. package/utils/style.js +1 -1
  2310. package/utils/throttleByRequestAnimationFrame.js +1 -1
  2311. package/utils/tinycolor.js +1 -1
  2312. package/utils/toArray.js +1 -1
  2313. package/utils/tree.js +1 -1
  2314. package/utils/tunnel.js +8 -2
  2315. package/utils/tween.js +1 -1
  2316. package/utils/uuid.js +1 -1
  2317. package/utils/validate.js +1 -1
  2318. package/utils/warning.js +1 -1
  2319. package/verification-code/VerificationCode.js +51 -48
  2320. package/verification-code/constants.d.ts +0 -0
  2321. package/verification-code/constants.js +2 -0
  2322. package/verification-code/context.d.ts +3 -0
  2323. package/verification-code/context.js +7 -0
  2324. package/verification-code/index.d.ts +2 -0
  2325. package/verification-code/index.js +7 -4
  2326. package/verification-code/style/index.css +1 -0
  2327. package/verification-code/style/index.d.ts +2 -0
  2328. package/verification-code/style/index.js +4 -0
  2329. package/version/index.js +8 -8
  2330. package/virtual-list/Filler.js +1 -1
  2331. package/virtual-list/VirtualList.js +159 -154
  2332. package/virtual-list/constants.js +7 -0
  2333. package/virtual-list/context.d.ts +3 -0
  2334. package/virtual-list/context.js +7 -0
  2335. package/virtual-list/hooks/useCacheChildrenNodes.js +13 -0
  2336. package/virtual-list/hooks/useComputeVirtualItemHeight.js +17 -0
  2337. package/virtual-list/index.d.ts +2 -0
  2338. package/virtual-list/index.js +9 -6
  2339. package/virtual-list/style/index.d.ts +1 -0
  2340. package/virtual-list/style/index.js +3 -0
  2341. package/virtual-list/utils/algorithm.js +1 -1
  2342. package/virtual-list/utils/item.js +1 -1
  2343. package/watermark/Watermark.js +38 -34
  2344. package/watermark/constants.d.ts +0 -0
  2345. package/watermark/constants.js +2 -0
  2346. package/watermark/context.d.ts +3 -0
  2347. package/watermark/context.js +7 -0
  2348. package/watermark/index.d.ts +2 -0
  2349. package/watermark/index.js +7 -4
  2350. package/watermark/style/index.d.ts +1 -0
  2351. package/watermark/style/index.js +3 -0
  2352. package/.vite/license.md +0 -3
  2353. package/.vite/manifest.json +0 -8807
  2354. package/calendar/hook/useCellClassName.js +0 -34
  2355. package/cascader/hook/useRefCurrent.js +0 -14
  2356. package/constant/index.d.ts +0 -3
  2357. package/constant/index.js +0 -6
  2358. package/date-picker/DatePickerRange.d.ts +0 -3
  2359. package/date-picker/DatePickerRange.js +0 -404
  2360. package/date-picker/hook/useCellClassName.js +0 -53
  2361. package/draw/constant.js +0 -2
  2362. package/form/FormControl.d.ts +0 -50
  2363. package/form/FormControl.js +0 -256
  2364. package/form/FormItem.js +0 -192
  2365. package/form/FormItemLabel.js +0 -48
  2366. package/form/FormItemTip.js +0 -41
  2367. package/form/FormLabelSymbol.js +0 -20
  2368. package/form/FormList.js +0 -83
  2369. package/form/FormProvider.js +0 -29
  2370. package/form/constant.js +0 -9
  2371. package/form/hook/useForm.js +0 -56
  2372. package/form/hook/useFormContext.js +0 -34
  2373. package/form/hook/useFormState.js +0 -31
  2374. package/form/hook/useWatch.js +0 -34
  2375. package/image/ImageFooter.d.ts +0 -13
  2376. package/image/ImageFooter.js +0 -58
  2377. package/image/ImagePreview.js +0 -418
  2378. package/image/ImagePreviewArrow.js +0 -30
  2379. package/image/ImagePreviewGroup.js +0 -112
  2380. package/image/ImagePreviewToolbar.js +0 -61
  2381. package/image/hook/useImageStatus.js +0 -18
  2382. package/image/hook/useShowFooter.js +0 -13
  2383. package/input-number/useSelectionRange.js +0 -25
  2384. package/input-tag/constant.js +0 -6
  2385. package/input-tag/hook/useComputeAutoWidthDelay.js +0 -12
  2386. package/mask/constant.js +0 -10
  2387. package/message/useMessage.d.ts +0 -4
  2388. package/message/useMessage.js +0 -52
  2389. package/notification/useNotification.d.ts +0 -4
  2390. package/notification/useNotification.js +0 -53
  2391. package/overflow-ellipsis/OverflowItem.js +0 -22
  2392. package/progress/CircleProgress.js +0 -102
  2393. package/progress/LineProgess.js +0 -74
  2394. package/progress/StepProgress.js +0 -51
  2395. package/rich-text/constant.js +0 -7
  2396. package/rich-text/lib/blots/block.js +0 -115
  2397. package/rich-text/lib/blots/break.js +0 -20
  2398. package/rich-text/lib/blots/container.js +0 -8
  2399. package/rich-text/lib/blots/cursor.js +0 -97
  2400. package/rich-text/lib/blots/embed.js +0 -47
  2401. package/rich-text/lib/blots/inline.js +0 -50
  2402. package/rich-text/lib/blots/scroll.js +0 -249
  2403. package/rich-text/lib/blots/text.js +0 -17
  2404. package/rich-text/lib/core/composition.js +0 -38
  2405. package/rich-text/lib/core/editor.js +0 -248
  2406. package/rich-text/lib/core/emitter.d.ts +0 -38
  2407. package/rich-text/lib/core/emitter.js +0 -47
  2408. package/rich-text/lib/core/logger.js +0 -20
  2409. package/rich-text/lib/core/module.js +0 -14
  2410. package/rich-text/lib/core/rich.d.ts +0 -183
  2411. package/rich-text/lib/core/rich.js +0 -369
  2412. package/rich-text/lib/core/selection.js +0 -222
  2413. package/rich-text/lib/core/theme.js +0 -32
  2414. package/rich-text/lib/core/utils/createRegistryWithFormats.js +0 -29
  2415. package/rich-text/lib/core/utils/scrollRectIntoView.js +0 -59
  2416. package/rich-text/lib/delta/AttributeMap.js +0 -37
  2417. package/rich-text/lib/delta/Op.js +0 -10
  2418. package/rich-text/lib/delta/OpIterator.js +0 -45
  2419. package/rich-text/lib/delta/index.js +0 -235
  2420. package/rich-text/lib/diff/index.js +0 -285
  2421. package/rich-text/lib/formats/align.js +0 -20
  2422. package/rich-text/lib/formats/background.js +0 -11
  2423. package/rich-text/lib/formats/blockquote.js +0 -16
  2424. package/rich-text/lib/formats/bold.js +0 -25
  2425. package/rich-text/lib/formats/code.js +0 -37
  2426. package/rich-text/lib/formats/color.js +0 -16
  2427. package/rich-text/lib/formats/direction.js +0 -15
  2428. package/rich-text/lib/formats/emoji.js +0 -20
  2429. package/rich-text/lib/formats/font.js +0 -51
  2430. package/rich-text/lib/formats/formula.js +0 -35
  2431. package/rich-text/lib/formats/header.js +0 -25
  2432. package/rich-text/lib/formats/hr.js +0 -17
  2433. package/rich-text/lib/formats/image.js +0 -46
  2434. package/rich-text/lib/formats/indent.js +0 -38
  2435. package/rich-text/lib/formats/italic.js +0 -16
  2436. package/rich-text/lib/formats/lineHeight.js +0 -12
  2437. package/rich-text/lib/formats/link.js +0 -47
  2438. package/rich-text/lib/formats/list.js +0 -37
  2439. package/rich-text/lib/formats/script.js +0 -23
  2440. package/rich-text/lib/formats/size.js +0 -27
  2441. package/rich-text/lib/formats/strike.js +0 -16
  2442. package/rich-text/lib/formats/table.js +0 -134
  2443. package/rich-text/lib/formats/underline.js +0 -16
  2444. package/rich-text/lib/formats/video.js +0 -40
  2445. package/rich-text/lib/index.js +0 -117
  2446. package/rich-text/lib/modules/clipboard.js +0 -295
  2447. package/rich-text/lib/modules/history.js +0 -119
  2448. package/rich-text/lib/modules/image-resize/index.js +0 -80
  2449. package/rich-text/lib/modules/image-resize/modules/Base.js +0 -14
  2450. package/rich-text/lib/modules/image-resize/modules/DisplaySize.js +0 -41
  2451. package/rich-text/lib/modules/image-resize/modules/Resize.js +0 -62
  2452. package/rich-text/lib/modules/image-resize/options.js +0 -11
  2453. package/rich-text/lib/modules/input.js +0 -54
  2454. package/rich-text/lib/modules/keyboard.js +0 -423
  2455. package/rich-text/lib/modules/normalizeExternalHTML/index.js +0 -12
  2456. package/rich-text/lib/modules/normalizeExternalHTML/normalizers/googleDocs.js +0 -22
  2457. package/rich-text/lib/modules/normalizeExternalHTML/normalizers/msWord.js +0 -39
  2458. package/rich-text/lib/modules/table.js +0 -113
  2459. package/rich-text/lib/modules/toolbar.js +0 -18
  2460. package/rich-text/lib/modules/uiNode.js +0 -52
  2461. package/rich-text/lib/modules/uploader.js +0 -46
  2462. package/rich-text/lib/parchment/attributor/attributor.js +0 -30
  2463. package/rich-text/lib/parchment/attributor/class.js +0 -26
  2464. package/rich-text/lib/parchment/attributor/store.js +0 -44
  2465. package/rich-text/lib/parchment/attributor/style.js +0 -25
  2466. package/rich-text/lib/parchment/blot/abstract/container.js +0 -32
  2467. package/rich-text/lib/parchment/blot/abstract/leaf.js +0 -25
  2468. package/rich-text/lib/parchment/blot/abstract/parent.js +0 -156
  2469. package/rich-text/lib/parchment/blot/abstract/shadow.js +0 -78
  2470. package/rich-text/lib/parchment/blot/block.js +0 -71
  2471. package/rich-text/lib/parchment/blot/embed.js +0 -18
  2472. package/rich-text/lib/parchment/blot/inline.js +0 -73
  2473. package/rich-text/lib/parchment/blot/scroll.js +0 -100
  2474. package/rich-text/lib/parchment/blot/text.js +0 -56
  2475. package/rich-text/lib/parchment/collection/linked-list.js +0 -86
  2476. package/rich-text/lib/parchment/error.js +0 -10
  2477. package/rich-text/lib/parchment/index.js +0 -36
  2478. package/rich-text/lib/parchment/registry.js +0 -56
  2479. package/rich-text/lib/parchment/scope.js +0 -8
  2480. package/row-col/Col-.d.ts +0 -4
  2481. package/row-col/Col-.js +0 -65
  2482. package/slider/hook/useInterval.js +0 -94
  2483. package/slider/hook/useLegalValue.js +0 -58
  2484. package/splitter/SplitBar.js +0 -97
  2485. package/steps/Step.js +0 -64
  2486. package/table/constant.js +0 -36
  2487. package/table/hook/useColumns.js +0 -115
  2488. package/table/hook/useComponent.js +0 -27
  2489. package/table/hook/useExpand.js +0 -33
  2490. package/table/hook/useRowSelection.js +0 -73
  2491. package/table/hook/useSorter.js +0 -51
  2492. package/table/hook/useStickyClassNames.js +0 -25
  2493. package/table/hook/useStickyOffsets.js +0 -28
  2494. package/table/hook/useThResizable.js +0 -31
  2495. package/tabs/hook/useDomSize.js +0 -23
  2496. package/tabs/hook/useHeaderScroll.d.ts +0 -12
  2497. package/tabs/hook/useHeaderScroll.js +0 -75
  2498. package/tree-select/hook/useKeyCache.js +0 -49
  2499. package/tree-select/hook/useStateValue.js +0 -70
  2500. package/tree-select/hook/useTreeData.js +0 -15
  2501. package/typography/useCssEllipsis.d.ts +0 -6
  2502. package/typography/useCssEllipsis.js +0 -41
  2503. package/typography/useEllipsis.d.ts +0 -21
  2504. package/typography/useEllipsis.js +0 -149
  2505. package/upload/constant.js +0 -11
  2506. package/utils/constant.d.ts +0 -5
  2507. package/utils/constant.js +0 -24
  2508. package/virtual-list/constant.js +0 -7
  2509. package/virtual-list/hook/useCacheChildrenNodes.js +0 -13
  2510. package/virtual-list/hook/useComputeVirtualItemHeight.js +0 -17
  2511. /package/{draw/constant.d.ts → affix/constants.d.ts} +0 -0
  2512. /package/{rich-text/lib/modules/toolbar copy.d.ts → alert/constants.d.ts} +0 -0
  2513. /package/{rich-text/lib/themes/base.d.ts → anchor/constants.d.ts} +0 -0
  2514. /package/{rich-text/lib/themes/pqb.d.ts → animation/constants.d.ts} +0 -0
  2515. /package/{rich-text/lib/ui/tooltip.d.ts → app/constants.d.ts} +0 -0
  2516. /package/calendar/{hook → hooks}/useCellClassName.d.ts +0 -0
  2517. /package/cascader/{hook → hooks}/useRefCurrent.d.ts +0 -0
  2518. /package/date-picker/{hook → hooks}/useCellClassName.d.ts +0 -0
  2519. /package/form/{FormItem.d.ts → Item.d.ts} +0 -0
  2520. /package/form/{FormItemLabel.d.ts → ItemLabel.d.ts} +0 -0
  2521. /package/form/{FormItemTip.d.ts → ItemTip.d.ts} +0 -0
  2522. /package/form/{FormLabelSymbol.d.ts → LabelSymbol.d.ts} +0 -0
  2523. /package/form/{FormList.d.ts → List.d.ts} +0 -0
  2524. /package/form/{FormProvider.d.ts → Provider.d.ts} +0 -0
  2525. /package/form/{constant.d.ts → constants.d.ts} +0 -0
  2526. /package/form/{hook → hooks}/useForm.d.ts +0 -0
  2527. /package/form/{hook → hooks}/useFormContext.d.ts +0 -0
  2528. /package/form/{hook → hooks}/useFormState.d.ts +0 -0
  2529. /package/form/{hook → hooks}/useWatch.d.ts +0 -0
  2530. /package/image/{ImagePreview.d.ts → Preview.d.ts} +0 -0
  2531. /package/image/{ImagePreviewArrow.d.ts → PreviewArrow.d.ts} +0 -0
  2532. /package/image/{ImagePreviewGroup.d.ts → PreviewGroup.d.ts} +0 -0
  2533. /package/image/{ImagePreviewToolbar.d.ts → PreviewToolbar.d.ts} +0 -0
  2534. /package/image/{hook → hooks}/useImageStatus.d.ts +0 -0
  2535. /package/image/{hook → hooks}/useShowFooter.d.ts +0 -0
  2536. /package/input-number/{useSelectionRange.d.ts → hooks/useSelectionRange.d.ts} +0 -0
  2537. /package/input-tag/{constant.d.ts → constants.d.ts} +0 -0
  2538. /package/input-tag/{hook → hooks}/useComputeAutoWidthDelay.d.ts +0 -0
  2539. /package/mask/{constant.d.ts → constants.d.ts} +0 -0
  2540. /package/overflow-ellipsis/{OverflowItem.d.ts → Item.d.ts} +0 -0
  2541. /package/progress/{CircleProgress.d.ts → Circle.d.ts} +0 -0
  2542. /package/progress/{LineProgess.d.ts → Line.d.ts} +0 -0
  2543. /package/progress/{StepProgress.d.ts → Step.d.ts} +0 -0
  2544. /package/rich-text/{constant.d.ts → constants.d.ts} +0 -0
  2545. /package/rich-text/{lib → libs}/LICENSE +0 -0
  2546. /package/rich-text/{lib → libs}/blots/block.d.ts +0 -0
  2547. /package/rich-text/{lib → libs}/blots/break.d.ts +0 -0
  2548. /package/rich-text/{lib → libs}/blots/container.d.ts +0 -0
  2549. /package/rich-text/{lib → libs}/blots/cursor.d.ts +0 -0
  2550. /package/rich-text/{lib → libs}/blots/embed.d.ts +0 -0
  2551. /package/rich-text/{lib → libs}/blots/inline.d.ts +0 -0
  2552. /package/rich-text/{lib → libs}/blots/scroll.d.ts +0 -0
  2553. /package/rich-text/{lib → libs}/blots/text.d.ts +0 -0
  2554. /package/rich-text/{lib → libs}/core/composition.d.ts +0 -0
  2555. /package/rich-text/{lib → libs}/core/editor.d.ts +0 -0
  2556. /package/rich-text/{lib → libs}/core/logger.d.ts +0 -0
  2557. /package/rich-text/{lib → libs}/core/module.d.ts +0 -0
  2558. /package/rich-text/{lib → libs}/core/selection.d.ts +0 -0
  2559. /package/rich-text/{lib → libs}/core/theme.d.ts +0 -0
  2560. /package/rich-text/{lib → libs}/core/utils/createRegistryWithFormats.d.ts +0 -0
  2561. /package/rich-text/{lib → libs}/core/utils/scrollRectIntoView.d.ts +0 -0
  2562. /package/rich-text/{lib → libs}/delta/AttributeMap.d.ts +0 -0
  2563. /package/rich-text/{lib → libs}/delta/LICENSE +0 -0
  2564. /package/rich-text/{lib → libs}/delta/Op.d.ts +0 -0
  2565. /package/rich-text/{lib → libs}/delta/OpIterator.d.ts +0 -0
  2566. /package/rich-text/{lib → libs}/delta/index.d.ts +0 -0
  2567. /package/rich-text/{lib → libs}/diff/index.d.ts +0 -0
  2568. /package/rich-text/{lib → libs}/formats/align.d.ts +0 -0
  2569. /package/rich-text/{lib → libs}/formats/background.d.ts +0 -0
  2570. /package/rich-text/{lib → libs}/formats/blockquote.d.ts +0 -0
  2571. /package/rich-text/{lib → libs}/formats/bold.d.ts +0 -0
  2572. /package/rich-text/{lib → libs}/formats/code.d.ts +0 -0
  2573. /package/rich-text/{lib → libs}/formats/color.d.ts +0 -0
  2574. /package/rich-text/{lib → libs}/formats/direction.d.ts +0 -0
  2575. /package/rich-text/{lib → libs}/formats/emoji.d.ts +0 -0
  2576. /package/rich-text/{lib → libs}/formats/font.d.ts +0 -0
  2577. /package/rich-text/{lib → libs}/formats/formula.d.ts +0 -0
  2578. /package/rich-text/{lib → libs}/formats/header.d.ts +0 -0
  2579. /package/rich-text/{lib → libs}/formats/hr.d.ts +0 -0
  2580. /package/rich-text/{lib → libs}/formats/image.d.ts +0 -0
  2581. /package/rich-text/{lib → libs}/formats/indent.d.ts +0 -0
  2582. /package/rich-text/{lib → libs}/formats/italic.d.ts +0 -0
  2583. /package/rich-text/{lib → libs}/formats/liOl.d.ts +0 -0
  2584. /package/rich-text/{lib → libs}/formats/liUl.d.ts +0 -0
  2585. /package/rich-text/{lib → libs}/formats/lineHeight.d.ts +0 -0
  2586. /package/rich-text/{lib → libs}/formats/link.d.ts +0 -0
  2587. /package/rich-text/{lib → libs}/formats/list.d.ts +0 -0
  2588. /package/rich-text/{lib → libs}/formats/script.d.ts +0 -0
  2589. /package/rich-text/{lib → libs}/formats/size.d.ts +0 -0
  2590. /package/rich-text/{lib → libs}/formats/strike.d.ts +0 -0
  2591. /package/rich-text/{lib → libs}/formats/table.d.ts +0 -0
  2592. /package/rich-text/{lib → libs}/formats/underline.d.ts +0 -0
  2593. /package/rich-text/{lib → libs}/formats/video.d.ts +0 -0
  2594. /package/rich-text/{lib → libs}/index.d.ts +0 -0
  2595. /package/rich-text/{lib → libs}/modules/clipboard.d.ts +0 -0
  2596. /package/rich-text/{lib → libs}/modules/history.d.ts +0 -0
  2597. /package/rich-text/{lib → libs}/modules/image-resize/index.d.ts +0 -0
  2598. /package/rich-text/{lib → libs}/modules/image-resize/modules/Base.d.ts +0 -0
  2599. /package/rich-text/{lib → libs}/modules/image-resize/modules/DisplaySize.d.ts +0 -0
  2600. /package/rich-text/{lib → libs}/modules/image-resize/modules/Resize.d.ts +0 -0
  2601. /package/rich-text/{lib → libs}/modules/image-resize/options.d.ts +0 -0
  2602. /package/rich-text/{lib → libs}/modules/input.d.ts +0 -0
  2603. /package/rich-text/{lib → libs}/modules/keyboard.d.ts +0 -0
  2604. /package/rich-text/{lib → libs}/modules/normalizeExternalHTML/index.d.ts +0 -0
  2605. /package/rich-text/{lib → libs}/modules/normalizeExternalHTML/normalizers/googleDocs.d.ts +0 -0
  2606. /package/rich-text/{lib → libs}/modules/normalizeExternalHTML/normalizers/msWord.d.ts +0 -0
  2607. /package/rich-text/{lib → libs}/modules/table.d.ts +0 -0
  2608. /package/rich-text/{lib → libs}/modules/tableEmbed.d.ts +0 -0
  2609. /package/rich-text/{lib → libs}/modules/toolbar.d.ts +0 -0
  2610. /package/rich-text/{lib → libs}/modules/uiNode.d.ts +0 -0
  2611. /package/rich-text/{lib → libs}/modules/uploader.d.ts +0 -0
  2612. /package/rich-text/{lib → libs}/parchment/LICENSE +0 -0
  2613. /package/rich-text/{lib → libs}/parchment/attributor/attributor.d.ts +0 -0
  2614. /package/rich-text/{lib → libs}/parchment/attributor/class.d.ts +0 -0
  2615. /package/rich-text/{lib → libs}/parchment/attributor/store.d.ts +0 -0
  2616. /package/rich-text/{lib → libs}/parchment/attributor/style.d.ts +0 -0
  2617. /package/rich-text/{lib → libs}/parchment/blot/abstract/blot.d.ts +0 -0
  2618. /package/rich-text/{lib → libs}/parchment/blot/abstract/container.d.ts +0 -0
  2619. /package/rich-text/{lib → libs}/parchment/blot/abstract/leaf.d.ts +0 -0
  2620. /package/rich-text/{lib → libs}/parchment/blot/abstract/parent.d.ts +0 -0
  2621. /package/rich-text/{lib → libs}/parchment/blot/abstract/shadow.d.ts +0 -0
  2622. /package/rich-text/{lib → libs}/parchment/blot/block.d.ts +0 -0
  2623. /package/rich-text/{lib → libs}/parchment/blot/embed.d.ts +0 -0
  2624. /package/rich-text/{lib → libs}/parchment/blot/inline.d.ts +0 -0
  2625. /package/rich-text/{lib → libs}/parchment/blot/scroll.d.ts +0 -0
  2626. /package/rich-text/{lib → libs}/parchment/blot/text.d.ts +0 -0
  2627. /package/rich-text/{lib → libs}/parchment/collection/linked-list.d.ts +0 -0
  2628. /package/rich-text/{lib → libs}/parchment/collection/linked-node.d.ts +0 -0
  2629. /package/rich-text/{lib → libs}/parchment/error.d.ts +0 -0
  2630. /package/rich-text/{lib → libs}/parchment/index.d.ts +0 -0
  2631. /package/rich-text/{lib → libs}/parchment/registry.d.ts +0 -0
  2632. /package/rich-text/{lib → libs}/parchment/scope.d.ts +0 -0
  2633. /package/slider/{hook → hooks}/useInterval.d.ts +0 -0
  2634. /package/slider/{hook → hooks}/useLegalValue.d.ts +0 -0
  2635. /package/splitter/{SplitBar.d.ts → Bar.d.ts} +0 -0
  2636. /package/steps/{Step.d.ts → Item.d.ts} +0 -0
  2637. /package/table/{constant.d.ts → constants.d.ts} +0 -0
  2638. /package/table/{hook → hooks}/useColumns.d.ts +0 -0
  2639. /package/table/{hook → hooks}/useComponent.d.ts +0 -0
  2640. /package/table/{hook → hooks}/useExpand.d.ts +0 -0
  2641. /package/table/{hook → hooks}/useRowSelection.d.ts +0 -0
  2642. /package/table/{hook → hooks}/useSorter.d.ts +0 -0
  2643. /package/table/{hook → hooks}/useStickyClassNames.d.ts +0 -0
  2644. /package/table/{hook → hooks}/useStickyOffsets.d.ts +0 -0
  2645. /package/table/{hook → hooks}/useThResizable.d.ts +0 -0
  2646. /package/tabs/{hook → hooks}/useDomSize.d.ts +0 -0
  2647. /package/tree-select/{hook → hooks}/useKeyCache.d.ts +0 -0
  2648. /package/tree-select/{hook → hooks}/useStateValue.d.ts +0 -0
  2649. /package/tree-select/{hook → hooks}/useTreeData.d.ts +0 -0
  2650. /package/upload/{constant.d.ts → constants.d.ts} +0 -0
  2651. /package/virtual-list/{constant.d.ts → constants.d.ts} +0 -0
  2652. /package/virtual-list/{hook → hooks}/useCacheChildrenNodes.d.ts +0 -0
  2653. /package/virtual-list/{hook → hooks}/useComputeVirtualItemHeight.d.ts +0 -0
@@ -0,0 +1,37 @@
1
+ /* 潘启宝 2026-06-25 08:58:50 星期四 山东省济南市 */
2
+ import { __exportAll as e } from "../../../.virtual/_rolldown/runtime.js";
3
+ //#region components/pc/draw/libs/glur/index.js
4
+ var t = /* @__PURE__ */ e({
5
+ blurRGBA: () => f,
6
+ default: () => f
7
+ }), n, r, i, a, o, s, c, l;
8
+ function u(e) {
9
+ e < .5 && (e = .5);
10
+ var t = Math.exp(.726 * .726) / e, u = Math.exp(-t), d = Math.exp(-2 * t), f = (1 - u) * (1 - u) / (1 + 2 * t * u - d);
11
+ return n = f, r = f * (t - 1) * u, i = f * (t + 1) * u, a = -f * d, o = 2 * u, s = -d, c = (n + r) / (1 - o - s), l = (i + a) / (1 - o - s), new Float32Array([
12
+ n,
13
+ r,
14
+ i,
15
+ a,
16
+ o,
17
+ s,
18
+ c,
19
+ l
20
+ ]);
21
+ }
22
+ function d(e, t, n, r, i, a) {
23
+ var o, s, c, l, u, d, f, p, m, h, g, _, v, y, b, x, S, C, w, T, E, D, O, k, A, j, M, N, P, F;
24
+ for (A = 0; A < a; A++) {
25
+ for (D = A * i, O = A, k = 0, o = e[D], s = o & 255, c = o >> 8 & 255, l = o >> 16 & 255, u = o >> 24 & 255, C = s * r[6], w = c * r[6], T = l * r[6], E = u * r[6], y = C, b = w, x = T, S = E, M = r[0], N = r[1], P = r[4], F = r[5], j = 0; j < i; j++) o = e[D], d = o & 255, f = o >> 8 & 255, p = o >> 16 & 255, m = o >> 24 & 255, h = d * M + s * N + y * P + C * F, g = f * M + c * N + b * P + w * F, _ = p * M + l * N + x * P + T * F, v = m * M + u * N + S * P + E * F, C = y, w = b, T = x, E = S, y = h, b = g, x = _, S = v, s = d, c = f, l = p, u = m, n[k] = y, n[k + 1] = b, n[k + 2] = x, n[k + 3] = S, k += 4, D++;
26
+ for (D--, k -= 4, O += a * (i - 1), o = e[D], s = o & 255, c = o >> 8 & 255, l = o >> 16 & 255, u = o >> 24 & 255, C = s * r[7], w = c * r[7], T = l * r[7], E = u * r[7], y = C, b = w, x = T, S = E, d = s, f = c, p = l, m = u, M = r[2], N = r[3], j = i - 1; j >= 0; j--) h = d * M + s * N + y * P + C * F, g = f * M + c * N + b * P + w * F, _ = p * M + l * N + x * P + T * F, v = m * M + u * N + S * P + E * F, C = y, w = b, T = x, E = S, y = h, b = g, x = _, S = v, s = d, c = f, l = p, u = m, o = e[D], d = o & 255, f = o >> 8 & 255, p = o >> 16 & 255, m = o >> 24 & 255, o = (n[k] + y << 0) + (n[k + 1] + b << 8) + (n[k + 2] + x << 16) + (n[k + 3] + S << 24), t[O] = o, D--, k -= 4, O -= a;
27
+ }
28
+ }
29
+ function f(e, t, n, r) {
30
+ if (r) {
31
+ var i = new Uint32Array(e.buffer), a = new Uint32Array(i.length), o = new Float32Array(Math.max(t, n) * 4), s = u(r);
32
+ d(i, a, o, s, t, n, r), d(a, i, o, s, n, t, r);
33
+ }
34
+ }
35
+ //#endregion
36
+ export { t as glur_exports };
37
+ /* 独立思考,明辨是非 */
@@ -0,0 +1,2 @@
1
+ export default blurMono16;
2
+ declare function blurMono16(src: any, width: any, height: any, radius: any): void;
@@ -0,0 +1,33 @@
1
+ /* 潘启宝 2026-06-25 08:58:50 星期四 山东省济南市 */
2
+ //#region components/pc/draw/libs/glur/mono16.js
3
+ var e, t, n, r, i, a, o, s;
4
+ function c(c) {
5
+ c < .5 && (c = .5);
6
+ var l = Math.exp(.726 * .726) / c, u = Math.exp(-l), d = Math.exp(-2 * l), f = (1 - u) * (1 - u) / (1 + 2 * l * u - d);
7
+ return e = f, t = f * (l - 1) * u, n = f * (l + 1) * u, r = -f * d, i = 2 * u, a = -d, o = (e + t) / (1 - i - a), s = (n + r) / (1 - i - a), new Float32Array([
8
+ e,
9
+ t,
10
+ n,
11
+ r,
12
+ i,
13
+ a,
14
+ o,
15
+ s
16
+ ]);
17
+ }
18
+ function l(e, t, n, r, i, a) {
19
+ var o, s, c, l, u, d, f, p, m, h, g, _, v, y;
20
+ for (m = 0; m < a; m++) {
21
+ for (d = m * i, f = m, p = 0, o = e[d], u = o * r[6], l = u, g = r[0], _ = r[1], v = r[4], y = r[5], h = 0; h < i; h++) s = e[d], c = s * g + o * _ + l * v + u * y, u = l, l = c, o = s, n[p] = l, p++, d++;
22
+ for (d--, p--, f += a * (i - 1), o = e[d], u = o * r[7], l = u, s = o, g = r[2], _ = r[3], h = i - 1; h >= 0; h--) c = s * g + o * _ + l * v + u * y, u = l, l = c, o = s, s = e[d], t[f] = n[p] + l, d--, p--, f -= a;
23
+ }
24
+ }
25
+ function u(e, t, n, r) {
26
+ if (r) {
27
+ var i = new Uint16Array(e.length), a = new Float32Array(Math.max(t, n)), o = c(r);
28
+ l(e, i, a, o, t, n, r), l(i, e, a, o, n, t, r);
29
+ }
30
+ }
31
+ //#endregion
32
+ export { u as default };
33
+ /* 独立思考,明辨是非 */
@@ -0,0 +1,4 @@
1
+ export type Point = [number, number];
2
+ export type Line = [Point, Point];
3
+ export type Polygon = Point[];
4
+ export declare function hachureLines(polygons: Polygon | Polygon[], hachureGap: number, hachureAngle: number, hachureStepOffset?: number): Line[];
@@ -0,0 +1,79 @@
1
+ /* 潘启宝 2026-06-25 08:58:50 星期四 山东省济南市 */
2
+ import { __exportAll as e } from "../../../.virtual/_rolldown/runtime.js";
3
+ //#region components/pc/draw/libs/hachure-fill/index.ts
4
+ var t = /* @__PURE__ */ e({ hachureLines: () => a });
5
+ function n(e, t, n) {
6
+ if (e && e.length) {
7
+ let [r, i] = t, a = Math.PI / 180 * n, o = Math.cos(a), s = Math.sin(a);
8
+ for (let t of e) {
9
+ let [e, n] = t;
10
+ t[0] = (e - r) * o - (n - i) * s + r, t[1] = (e - r) * s + (n - i) * o + i;
11
+ }
12
+ }
13
+ }
14
+ function r(e, t, r) {
15
+ let i = [];
16
+ e.forEach((e) => i.push(...e)), n(i, t, r);
17
+ }
18
+ function i(e, t) {
19
+ return e[0] === t[0] && e[1] === t[1];
20
+ }
21
+ function a(e, t, i, a = 1) {
22
+ let s = i, c = Math.max(t, .1), l = e[0] && e[0][0] && typeof e[0][0] == "number" ? [e] : e, u = [0, 0];
23
+ if (s) for (let e of l) n(e, u, s);
24
+ let d = o(l, c, a);
25
+ if (s) {
26
+ for (let e of l) n(e, u, -s);
27
+ r(d, u, -s);
28
+ }
29
+ return d;
30
+ }
31
+ function o(e, t, n) {
32
+ let r = [];
33
+ for (let t of e) {
34
+ let e = [...t];
35
+ i(e[0], e[e.length - 1]) || e.push([e[0][0], e[0][1]]), e.length > 2 && r.push(e);
36
+ }
37
+ let a = [];
38
+ t = Math.max(t, .1);
39
+ let o = [];
40
+ for (let e of r) for (let t = 0; t < e.length - 1; t++) {
41
+ let n = e[t], r = e[t + 1];
42
+ if (n[1] !== r[1]) {
43
+ let e = Math.min(n[1], r[1]);
44
+ o.push({
45
+ ymin: e,
46
+ ymax: Math.max(n[1], r[1]),
47
+ x: e === n[1] ? n[0] : r[0],
48
+ islope: (r[0] - n[0]) / (r[1] - n[1])
49
+ });
50
+ }
51
+ }
52
+ if (o.sort((e, t) => e.ymin < t.ymin ? -1 : e.ymin > t.ymin ? 1 : e.x < t.x ? -1 : e.x > t.x ? 1 : e.ymax === t.ymax ? 0 : (e.ymax - t.ymax) / Math.abs(e.ymax - t.ymax)), !o.length) return a;
53
+ let s = [], c = o[0].ymin, l = 0;
54
+ for (; s.length || o.length;) {
55
+ if (o.length) {
56
+ let e = -1;
57
+ for (let t = 0; t < o.length && !(o[t].ymin > c); t++) e = t;
58
+ o.splice(0, e + 1).forEach((e) => {
59
+ s.push({
60
+ s: c,
61
+ edge: e
62
+ });
63
+ });
64
+ }
65
+ if (s = s.filter((e) => !(e.edge.ymax <= c)), s.sort((e, t) => e.edge.x === t.edge.x ? 0 : (e.edge.x - t.edge.x) / Math.abs(e.edge.x - t.edge.x)), (n !== 1 || l % t === 0) && s.length > 1) for (let e = 0; e < s.length; e += 2) {
66
+ let t = e + 1;
67
+ if (t >= s.length) break;
68
+ let n = s[e].edge, r = s[t].edge;
69
+ a.push([[Math.round(n.x), c], [Math.round(r.x), c]]);
70
+ }
71
+ c += n, s.forEach((e) => {
72
+ e.edge.x = e.edge.x + n * e.edge.islope;
73
+ }), l++;
74
+ }
75
+ return a;
76
+ }
77
+ //#endregion
78
+ export { a as hachureLines, t as hachure_fill_exports };
79
+ /* 独立思考,明辨是非 */
@@ -0,0 +1,36 @@
1
+ export default ImageBlobReduce;
2
+ export function ImageBlobReduce(options: any): ImageBlobReduce;
3
+ export class ImageBlobReduce {
4
+ constructor(options: any);
5
+ pica: any;
6
+ initialized: boolean | undefined;
7
+ utils: {
8
+ assign: {
9
+ <T extends {}, U>(target: T, source: U): T & U;
10
+ <T extends {}, U, V>(target: T, source1: U, source2: V): T & U & V;
11
+ <T extends {}, U, V, W>(target: T, source1: U, source2: V, source3: W): T & U & V & W;
12
+ (target: object, ...sources: any[]): any;
13
+ };
14
+ pick: {
15
+ <T extends object, U extends keyof T>(object: T, ...props: Array<import("lodash").Many<U>>): Pick<T, U>;
16
+ <T>(object: T | null | undefined, ...props: Array<import("lodash").Many<import("lodash").PropertyPath>>): import("lodash").PartialObject<T>;
17
+ };
18
+ pick_pica_resize_options: (from: any) => Pick<any, "alpha" | "cancelToken" | "unsharpAmount" | "unsharpRadius" | "unsharpThreshold">;
19
+ } | undefined;
20
+ use(plugin: any, ...args: any[]): this;
21
+ init(): void;
22
+ toBlob(blob: any, options: any): Promise<any>;
23
+ toCanvas(blob: any, options: any): Promise<any>;
24
+ before(method_name: any, fn: any): this;
25
+ after(method_name: any, fn: any): this;
26
+ _blob_to_image(env: any): Promise<any>;
27
+ _calculate_size(env: any): Promise<any>;
28
+ _transform(env: any): any;
29
+ _cleanup(env: any): Promise<any>;
30
+ _create_blob(env: any): any;
31
+ _getUint8Array(blob: any): any;
32
+ }
33
+ export namespace ImageBlobReduce {
34
+ export { pica };
35
+ }
36
+ import pica from '../pica';
@@ -0,0 +1,96 @@
1
+ /* 潘启宝 2026-06-25 08:58:50 星期四 山东省济南市 */
2
+ import { __exportAll as e } from "../../../.virtual/_rolldown/runtime.js";
3
+ import t from "../pica/index.js";
4
+ import n from "./lib/jpeg_plugins.js";
5
+ import r from "./lib/utils.js";
6
+ //#region components/pc/draw/libs/image-blob-reduce/index.js
7
+ var i = /* @__PURE__ */ e({
8
+ ImageBlobReduce: () => a,
9
+ default: () => a
10
+ });
11
+ function a(e) {
12
+ if (!(this instanceof a)) return new a(e);
13
+ e ||= {}, this.pica = e.pica || t({}), this.initialized = !1, this.utils = r;
14
+ }
15
+ a.prototype.use = function(e) {
16
+ var t = [this].concat(Array.prototype.slice.call(arguments, 1));
17
+ return e.apply(e, t), this;
18
+ }, a.prototype.init = function() {
19
+ this.use(n.assign);
20
+ }, a.prototype.toBlob = function(e, t) {
21
+ var n = {
22
+ blob: e,
23
+ opts: r.assign({ max: Infinity }, t)
24
+ };
25
+ return this.initialized ||= (this.init(), !0), Promise.resolve(n).then(this._blob_to_image).then(this._calculate_size).then(this._transform).then(this._cleanup).then(this._create_blob).then(function(e) {
26
+ return e.out_canvas.width = e.out_canvas.height = 0, e.out_blob;
27
+ });
28
+ }, a.prototype.toCanvas = function(e, t) {
29
+ var n = {
30
+ blob: e,
31
+ opts: r.assign({ max: Infinity }, t)
32
+ };
33
+ return this.initialized ||= (this.init(), !0), Promise.resolve(n).then(this._blob_to_image).then(this._calculate_size).then(this._transform).then(this._cleanup).then(function(e) {
34
+ return e.out_canvas;
35
+ });
36
+ }, a.prototype.before = function(e, t) {
37
+ if (!this[e]) throw Error("Method \"" + e + "\" does not exist");
38
+ if (typeof t != "function") throw Error("Invalid argument \"fn\", function expected");
39
+ var n = this[e], r = this;
40
+ return this[e] = function(e) {
41
+ return t.call(r, e).then(function(e) {
42
+ return n.call(r, e);
43
+ });
44
+ }, this;
45
+ }, a.prototype.after = function(e, t) {
46
+ if (!this[e]) throw Error("Method \"" + e + "\" does not exist");
47
+ if (typeof t != "function") throw Error("Invalid argument \"fn\", function expected");
48
+ var n = this[e], r = this;
49
+ return this[e] = function(e) {
50
+ return n.call(r, e).then(function(e) {
51
+ return t.call(r, e);
52
+ });
53
+ }, this;
54
+ }, a.prototype._blob_to_image = function(e) {
55
+ var t = window.URL || window.webkitURL || window.mozURL || window.msURL;
56
+ return e.image = document.createElement("img"), e.image_url = t.createObjectURL(e.blob), e.image.src = e.image_url, new Promise(function(t, n) {
57
+ e.image.onerror = function() {
58
+ n(/* @__PURE__ */ Error("ImageBlobReduce: failed to create Image() from blob"));
59
+ }, e.image.onload = function() {
60
+ t(e);
61
+ };
62
+ });
63
+ }, a.prototype._calculate_size = function(e) {
64
+ var t = e.opts.max / Math.max(e.image.width, e.image.height);
65
+ return t > 1 && (t = 1), e.transform_width = Math.max(Math.round(e.image.width * t), 1), e.transform_height = Math.max(Math.round(e.image.height * t), 1), e.scale_factor = t, Promise.resolve(e);
66
+ }, a.prototype._transform = function(e) {
67
+ e.out_canvas = this.pica.options.createCanvas(e.transform_width, e.transform_height), e.transform_width = null, e.transform_height = null;
68
+ var t = { alpha: e.blob.type === "image/png" };
69
+ return this.utils.assign(t, this.utils.pick_pica_resize_options(e.opts)), this.pica.resize(e.image, e.out_canvas, t).then(function() {
70
+ return e;
71
+ });
72
+ }, a.prototype._cleanup = function(e) {
73
+ e.image.src = "", e.image = null;
74
+ var t = window.URL || window.webkitURL || window.mozURL || window.msURL;
75
+ return t.revokeObjectURL && t.revokeObjectURL(e.image_url), e.image_url = null, Promise.resolve(e);
76
+ }, a.prototype._create_blob = function(e) {
77
+ return this.pica.toBlob(e.out_canvas, e.blob.type).then(function(t) {
78
+ return e.out_blob = t, e;
79
+ });
80
+ }, a.prototype._getUint8Array = function(e) {
81
+ return e.arrayBuffer ? e.arrayBuffer().then(function(e) {
82
+ return new Uint8Array(e);
83
+ }) : new Promise(function(t, n) {
84
+ var r = new FileReader();
85
+ r.readAsArrayBuffer(e), r.onload = function() {
86
+ t(new Uint8Array(r.result));
87
+ }, r.onerror = function() {
88
+ n(/* @__PURE__ */ Error("ImageBlobReduce: failed to load data from input blob")), r.abort();
89
+ }, r.onabort = function() {
90
+ n(/* @__PURE__ */ Error("ImageBlobReduce: failed to load data from input blob (aborted)"));
91
+ };
92
+ });
93
+ }, a.pica = t;
94
+ //#endregion
95
+ export { a as default, i as image_blob_reduce_exports };
96
+ /* 独立思考,明辨是非 */
@@ -0,0 +1,6 @@
1
+ export function is_jpeg(jpeg_bin: any): boolean;
2
+ export function jpeg_segments_each(jpeg_bin: any, on_segment: any): void;
3
+ export function jpeg_segments_filter(jpeg_bin: any, on_segment: any): Uint8Array<ArrayBuffer>;
4
+ export function jpeg_exif_tags_each(jpeg_bin: any, on_exif_entry: any): void;
5
+ export function jpeg_exif_tags_filter(jpeg_bin: any, on_exif_entry: any): Uint8Array<ArrayBuffer>;
6
+ export function jpeg_add_comment(jpeg_bin: any, comment: any): Uint8Array<ArrayBuffer>;
@@ -0,0 +1,212 @@
1
+ /* 潘启宝 2026-06-25 08:58:50 星期四 山东省济南市 */
2
+ //#region components/pc/draw/libs/image-blob-reduce/lib/image_traverse.js
3
+ function e(e, t) {
4
+ var n = Error(e);
5
+ return n.code = t, n;
6
+ }
7
+ function t(e) {
8
+ for (var t = e.toString(16).toUpperCase(), n = 2 - t.length; n > 0; n--) t = "0" + t;
9
+ return "0x" + t;
10
+ }
11
+ function n(e) {
12
+ try {
13
+ return decodeURIComponent(escape(e));
14
+ } catch {
15
+ return e;
16
+ }
17
+ }
18
+ function r(e) {
19
+ return Object.prototype.toString.call(e) === "[object Uint8Array]";
20
+ }
21
+ function i(t, n, r) {
22
+ this.input = t.subarray(n, r), this.start = n;
23
+ var i = String.fromCharCode.apply(null, this.input.subarray(0, 4));
24
+ if (i !== "II*\0" && i !== "MM\0*") throw e("invalid TIFF signature", "EBADDATA");
25
+ this.big_endian = i[0] === "M";
26
+ }
27
+ i.prototype.each = function(e) {
28
+ this.aborted = !1;
29
+ var t = this.read_uint32(4);
30
+ for (this.ifds_to_read = [{
31
+ id: 0,
32
+ offset: t
33
+ }]; this.ifds_to_read.length > 0 && !this.aborted;) {
34
+ var n = this.ifds_to_read.shift();
35
+ n.offset && this.scan_ifd(n.id, n.offset, e);
36
+ }
37
+ }, i.prototype.filter = function(t) {
38
+ var n = {};
39
+ n.ifd0 = {
40
+ id: 0,
41
+ entries: []
42
+ }, this.each(function(e) {
43
+ t(e) === !1 && !e.is_subifd_link || e.is_subifd_link && e.count !== 1 && e.format !== 4 || (n["ifd" + e.ifd] || (n["ifd" + e.ifd] = {
44
+ id: e.ifd,
45
+ entries: []
46
+ }), n["ifd" + e.ifd].entries.push(e));
47
+ }), delete n.ifd1;
48
+ var r = 8;
49
+ Object.keys(n).forEach(function(e) {
50
+ r += 2, n[e].entries.forEach(function(e) {
51
+ r += 12 + (e.data_length > 4 ? Math.ceil(e.data_length / 2) * 2 : 0);
52
+ }), r += 4;
53
+ }), this.output = new Uint8Array(r), this.output[0] = this.output[1] = (this.big_endian ? "M" : "I").charCodeAt(0), this.write_uint16(2, 42);
54
+ var i = 8, a = this;
55
+ if (this.write_uint32(4, i), Object.keys(n).forEach(function(e) {
56
+ n[e].written_offset = i;
57
+ var t = i, r = t + 2 + n[e].entries.length * 12 + 4;
58
+ i = r, a.write_uint16(t, n[e].entries.length), n[e].entries.sort(function(e, t) {
59
+ return e.tag - t.tag;
60
+ }).forEach(function(e, r) {
61
+ var o = t + 2 + r * 12;
62
+ a.write_uint16(o, e.tag), a.write_uint16(o + 2, e.format), a.write_uint32(o + 4, e.count), e.is_subifd_link ? n["ifd" + e.tag] && (n["ifd" + e.tag].link_offset = o + 8) : e.data_length <= 4 ? a.output.set(a.input.subarray(e.data_offset - a.start, e.data_offset - a.start + 4), o + 8) : (a.write_uint32(o + 8, i), a.output.set(a.input.subarray(e.data_offset - a.start, e.data_offset - a.start + e.data_length), i), i += Math.ceil(e.data_length / 2) * 2);
63
+ });
64
+ var o = n["ifd" + (n[e].id + 1)];
65
+ o && (o.link_offset = r - 4);
66
+ }), Object.keys(n).forEach(function(e) {
67
+ n[e].written_offset && n[e].link_offset && a.write_uint32(n[e].link_offset, n[e].written_offset);
68
+ }), this.output.length !== i) throw e("internal error: incorrect buffer size allocated");
69
+ return this.output;
70
+ }, i.prototype.read_uint16 = function(t) {
71
+ var n = this.input;
72
+ if (t + 2 > n.length) throw e("unexpected EOF", "EBADDATA");
73
+ return this.big_endian ? n[t] * 256 + n[t + 1] : n[t] + n[t + 1] * 256;
74
+ }, i.prototype.read_uint32 = function(t) {
75
+ var n = this.input;
76
+ if (t + 4 > n.length) throw e("unexpected EOF", "EBADDATA");
77
+ return this.big_endian ? n[t] * 16777216 + n[t + 1] * 65536 + n[t + 2] * 256 + n[t + 3] : n[t] + n[t + 1] * 256 + n[t + 2] * 65536 + n[t + 3] * 16777216;
78
+ }, i.prototype.write_uint16 = function(e, t) {
79
+ var n = this.output;
80
+ this.big_endian ? (n[e] = t >>> 8 & 255, n[e + 1] = t & 255) : (n[e] = t & 255, n[e + 1] = t >>> 8 & 255);
81
+ }, i.prototype.write_uint32 = function(e, t) {
82
+ var n = this.output;
83
+ this.big_endian ? (n[e] = t >>> 24 & 255, n[e + 1] = t >>> 16 & 255, n[e + 2] = t >>> 8 & 255, n[e + 3] = t & 255) : (n[e] = t & 255, n[e + 1] = t >>> 8 & 255, n[e + 2] = t >>> 16 & 255, n[e + 3] = t >>> 24 & 255);
84
+ }, i.prototype.is_subifd_link = function(e, t) {
85
+ return e === 0 && t === 34665 || e === 0 && t === 34853 || e === 34665 && t === 40965;
86
+ }, i.prototype.exif_format_length = function(e) {
87
+ switch (e) {
88
+ case 1:
89
+ case 2:
90
+ case 6:
91
+ case 7: return 1;
92
+ case 3:
93
+ case 8: return 2;
94
+ case 4:
95
+ case 9:
96
+ case 11: return 4;
97
+ case 5:
98
+ case 10:
99
+ case 12: return 8;
100
+ default: return 0;
101
+ }
102
+ }, i.prototype.exif_format_read = function(e, t) {
103
+ var n;
104
+ switch (e) {
105
+ case 1:
106
+ case 2: return n = this.input[t], n;
107
+ case 6: return n = this.input[t], n | (n & 128) * 33554430;
108
+ case 3: return n = this.read_uint16(t), n;
109
+ case 8: return n = this.read_uint16(t), n | (n & 32768) * 131070;
110
+ case 4: return n = this.read_uint32(t), n;
111
+ case 9: return n = this.read_uint32(t), n | 0;
112
+ case 5:
113
+ case 10:
114
+ case 11:
115
+ case 12: return null;
116
+ case 7: return null;
117
+ default: return null;
118
+ }
119
+ }, i.prototype.scan_ifd = function(t, r, i) {
120
+ var a = this.read_uint16(r);
121
+ r += 2;
122
+ for (var o = 0; o < a; o++) {
123
+ var s = this.read_uint16(r), c = this.read_uint16(r + 2), l = this.read_uint32(r + 4), u = this.exif_format_length(c), d = l * u, f = d <= 4 ? r + 8 : this.read_uint32(r + 8), p = !1;
124
+ if (f + d > this.input.length) throw e("unexpected EOF", "EBADDATA");
125
+ for (var m = [], h = f, g = 0; g < l; g++, h += u) {
126
+ var _ = this.exif_format_read(c, h);
127
+ if (_ === null) {
128
+ m = null;
129
+ break;
130
+ }
131
+ m.push(_);
132
+ }
133
+ if (Array.isArray(m) && c === 2) {
134
+ try {
135
+ m = n(String.fromCharCode.apply(null, m));
136
+ } catch {
137
+ m = null;
138
+ }
139
+ m && m[m.length - 1] === "\0" && (m = m.slice(0, -1));
140
+ }
141
+ if (this.is_subifd_link(t, s) && Array.isArray(m) && Number.isInteger(m[0]) && m[0] > 0 && (this.ifds_to_read.push({
142
+ id: s,
143
+ offset: m[0]
144
+ }), p = !0), i({
145
+ is_big_endian: this.big_endian,
146
+ ifd: t,
147
+ tag: s,
148
+ format: c,
149
+ count: l,
150
+ entry_offset: r + this.start,
151
+ data_length: d,
152
+ data_offset: f + this.start,
153
+ value: m,
154
+ is_subifd_link: p
155
+ }) === !1) {
156
+ this.aborted = !0;
157
+ return;
158
+ }
159
+ r += 12;
160
+ }
161
+ t === 0 && this.ifds_to_read.push({
162
+ id: 1,
163
+ offset: this.read_uint32(r)
164
+ });
165
+ };
166
+ var a = function(e) {
167
+ return e.length >= 4 && e[0] === 255 && e[1] === 216 && e[2] === 255;
168
+ }, o = function(n, i) {
169
+ if (!r(n)) throw e("Invalid argument (jpeg_bin), Uint8Array expected", "EINVAL");
170
+ if (typeof i != "function") throw e("Invalid argument (on_segment), Function expected", "EINVAL");
171
+ if (!a(n)) throw e("Unknown file format", "ENOTJPEG");
172
+ for (var o = 0, s = n.length, c = !1;;) {
173
+ var l, u;
174
+ if (o + 1 >= s) throw e("Unexpected EOF", "EBADDATA");
175
+ var d = n[o], f = n[o + 1];
176
+ if (d === 255 && f === 255) l = 255, u = 1;
177
+ else if (d === 255 && f !== 0) {
178
+ if (l = f, u = 2, !(208 <= l && l <= 217 || l === 1)) {
179
+ if (o + 3 >= s) throw e("Unexpected EOF", "EBADDATA");
180
+ if (u += n[o + 2] * 256 + n[o + 3], u < 2) throw e("Invalid segment length", "EBADDATA");
181
+ if (o + u - 1 >= s) throw e("Unexpected EOF", "EBADDATA");
182
+ }
183
+ c && (l >= 208 && l <= 215 || (c = !1)), l === 218 && (c = !0);
184
+ } else if (c) for (var p = o + 1;; p++) {
185
+ if (p >= s) throw e("Unexpected EOF", "EBADDATA");
186
+ if (n[p] === 255) {
187
+ if (p + 1 >= s) throw e("Unexpected EOF", "EBADDATA");
188
+ if (n[p + 1] !== 0) {
189
+ l = 0, u = p - o;
190
+ break;
191
+ }
192
+ }
193
+ }
194
+ else throw e("Unexpected byte at segment start: " + t(d) + " (offset " + t(o) + ")", "EBADDATA");
195
+ if (i({
196
+ code: l,
197
+ offset: o,
198
+ length: u
199
+ }) === !1 || l === 217) break;
200
+ o += u;
201
+ }
202
+ }, s = function(t, n) {
203
+ if (!r(t)) throw e("Invalid argument (jpeg_bin), Uint8Array expected", "EINVAL");
204
+ if (typeof n != "function") throw e("Invalid argument (on_exif_entry), Function expected", "EINVAL");
205
+ o(t, function(e) {
206
+ if (e.code === 218) return !1;
207
+ if (e.code === 225 && e.length >= 10 && t[e.offset + 4] === 69 && t[e.offset + 5] === 120 && t[e.offset + 6] === 105 && t[e.offset + 7] === 102 && t[e.offset + 8] === 0 && t[e.offset + 9] === 0) return new i(t, e.offset + 10, e.offset + e.length).each(n), !1;
208
+ });
209
+ };
210
+ //#endregion
211
+ export { a as is_jpeg, s as jpeg_exif_tags_each, o as jpeg_segments_each };
212
+ /* 独立思考,明辨是非 */
@@ -0,0 +1,11 @@
1
+ declare namespace _default {
2
+ export { assign };
3
+ export { jpeg_attach_orig_segments };
4
+ export { jpeg_patch_exif };
5
+ export { jpeg_rotate_canvas };
6
+ }
7
+ export default _default;
8
+ declare function assign(reducer: any): void;
9
+ declare function jpeg_attach_orig_segments(env: any): Promise<any>;
10
+ declare function jpeg_patch_exif(env: any): any;
11
+ declare function jpeg_rotate_canvas(env: any): Promise<any>;
@@ -0,0 +1,57 @@
1
+ /* 潘启宝 2026-06-25 08:58:50 星期四 山东省济南市 */
2
+ import { is_jpeg as e, jpeg_exif_tags_each as t, jpeg_segments_each as n } from "./image_traverse.js";
3
+ //#region components/pc/draw/libs/image-blob-reduce/lib/jpeg_plugins.js
4
+ function r(n) {
5
+ return this._getUint8Array(n.blob).then(function(r) {
6
+ if (n.is_jpeg = e(r), !n.is_jpeg) return Promise.resolve(n);
7
+ n.orig_blob = n.blob;
8
+ try {
9
+ var i, a;
10
+ if (t(r, function(e) {
11
+ if (e.tag === 274 && Array.isArray(e.value)) return n.orientation = e.value[0] || 1, i = e.is_big_endian, a = e.data_offset, !1;
12
+ }), a) {
13
+ var o = i ? new Uint8Array([0, 1]) : new Uint8Array([1, 0]);
14
+ n.blob = new Blob([
15
+ r.slice(0, a),
16
+ o,
17
+ r.slice(a + 2)
18
+ ], { type: "image/jpeg" });
19
+ }
20
+ } catch {}
21
+ return n;
22
+ });
23
+ }
24
+ function i(e) {
25
+ if (!e.is_jpeg) return Promise.resolve(e);
26
+ var t = e.orientation - 1;
27
+ if (!t) return Promise.resolve(e);
28
+ var n = t & 4 ? this.pica.options.createCanvas(e.out_canvas.height, e.out_canvas.width) : this.pica.options.createCanvas(e.out_canvas.width, e.out_canvas.height), r = n.getContext("2d");
29
+ return r.save(), t & 1 && r.transform(-1, 0, 0, 1, n.width, 0), t & 2 && r.transform(-1, 0, 0, -1, n.width, n.height), t & 4 && r.transform(0, 1, 1, 0, 0, 0), r.drawImage(e.out_canvas, 0, 0), r.restore(), e.out_canvas.width = e.out_canvas.height = 0, e.out_canvas = n, Promise.resolve(e);
30
+ }
31
+ function a(t) {
32
+ return t.is_jpeg ? Promise.all([this._getUint8Array(t.blob), this._getUint8Array(t.out_blob)]).then(function(r) {
33
+ var i = r[0], a = r[1];
34
+ if (!e(i)) return Promise.resolve(t);
35
+ var o = [];
36
+ return n(i, function(e) {
37
+ if (e.code === 218) return !1;
38
+ o.push(e);
39
+ }), o = o.filter(function(e) {
40
+ return e.code === 226 ? !1 : e.code >= 224 && e.code < 240 || e.code === 254;
41
+ }).map(function(e) {
42
+ return i.slice(e.offset, e.offset + e.length);
43
+ }), t.out_blob = new Blob([a.slice(0, 2)].concat(o, [a.slice(20)]), { type: "image/jpeg" }), t;
44
+ }) : Promise.resolve(t);
45
+ }
46
+ function o(e) {
47
+ e.before("_blob_to_image", r), e.after("_transform", i), e.after("_create_blob", a);
48
+ }
49
+ var s = {
50
+ assign: o,
51
+ jpeg_attach_orig_segments: a,
52
+ jpeg_patch_exif: r,
53
+ jpeg_rotate_canvas: i
54
+ };
55
+ //#endregion
56
+ export { s as default };
57
+ /* 独立思考,明辨是非 */
@@ -0,0 +1,14 @@
1
+ declare namespace _default {
2
+ export { assign };
3
+ export { pick };
4
+ export { pick_pica_resize_options };
5
+ }
6
+ export default _default;
7
+ declare const assign: {
8
+ <T extends {}, U>(target: T, source: U): T & U;
9
+ <T extends {}, U, V>(target: T, source1: U, source2: V): T & U & V;
10
+ <T extends {}, U, V, W>(target: T, source1: U, source2: V, source3: W): T & U & V & W;
11
+ (target: object, ...sources: any[]): any;
12
+ };
13
+ import pick from 'lodash/pick';
14
+ declare function pick_pica_resize_options(from: any): Pick<any, "alpha" | "cancelToken" | "unsharpAmount" | "unsharpRadius" | "unsharpThreshold">;
@@ -0,0 +1,21 @@
1
+ /* 潘启宝 2026-06-25 08:58:50 星期四 山东省济南市 */
2
+ import e from "lodash/pick";
3
+ //#region components/pc/draw/libs/image-blob-reduce/lib/utils.js
4
+ var t = Object.assign;
5
+ function n(t) {
6
+ return e(t, [
7
+ "alpha",
8
+ "unsharpAmount",
9
+ "unsharpRadius",
10
+ "unsharpThreshold",
11
+ "cancelToken"
12
+ ]);
13
+ }
14
+ var r = {
15
+ assign: t,
16
+ pick: e,
17
+ pick_pica_resize_options: n
18
+ };
19
+ //#endregion
20
+ export { r as default };
21
+ /* 独立思考,明辨是非 */
@@ -0,0 +1,2 @@
1
+ export * from './vanilla.ts';
2
+ export * from './react.ts';
@@ -0,0 +1,24 @@
1
+ /* 潘启宝 2026-06-25 08:58:50 星期四 山东省济南市 */
2
+ import { __exportAll as e } from "../../../.virtual/_rolldown/runtime.js";
3
+ import { atom as t } from "./vanilla/atom.js";
4
+ import { INTERNAL_overrideCreateStore as n, createStore as r, getDefaultStore as i } from "./vanilla/store.js";
5
+ import { Provider as a, useStore as o } from "./react/Provider.js";
6
+ import { useAtomValue as s } from "./react/useAtomValue.js";
7
+ import { useSetAtom as c } from "./react/useSetAtom.js";
8
+ import { useAtom as l } from "./react/useAtom.js";
9
+ import "./react.js";
10
+ //#region components/pc/draw/libs/jotai/index.ts
11
+ var u = /* @__PURE__ */ e({
12
+ INTERNAL_overrideCreateStore: () => n,
13
+ Provider: () => a,
14
+ atom: () => t,
15
+ createStore: () => r,
16
+ getDefaultStore: () => i,
17
+ useAtom: () => l,
18
+ useAtomValue: () => s,
19
+ useSetAtom: () => c,
20
+ useStore: () => o
21
+ });
22
+ //#endregion
23
+ export { u as jotai_exports };
24
+ /* 独立思考,明辨是非 */
@@ -0,0 +1,16 @@
1
+ import { type FunctionComponent, type ReactElement, type ReactNode } from 'react';
2
+ import { createStore } from '../vanilla.ts';
3
+ type Store = ReturnType<typeof createStore>;
4
+ type Options = {
5
+ store?: Store;
6
+ };
7
+ export declare function useStore(options?: Options): Store;
8
+ export declare function Provider({ children, store, }: {
9
+ children?: ReactNode;
10
+ store?: Store;
11
+ }): ReactElement<{
12
+ value: Store | undefined;
13
+ }, FunctionComponent<{
14
+ value: Store;
15
+ }>>;
16
+ export {};