duoyun-ui 2.2.3 → 2.2.9

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 (809) hide show
  1. package/elements/badge.d.ts +2 -16
  2. package/elements/badge.d.ts.map +1 -1
  3. package/elements/badge.js +4 -158
  4. package/elements/badge.js.map +1 -1
  5. package/elements/banner.d.ts +2 -17
  6. package/elements/banner.d.ts.map +1 -1
  7. package/elements/banner.js +4 -127
  8. package/elements/banner.js.map +1 -1
  9. package/elements/base/chart.d.ts +2 -2
  10. package/elements/base/resize.d.ts +1 -22
  11. package/elements/base/resize.d.ts.map +1 -1
  12. package/elements/base/resize.js +1 -95
  13. package/elements/base/resize.js.map +1 -1
  14. package/elements/base/scroll.d.ts +1 -8
  15. package/elements/base/scroll.d.ts.map +1 -1
  16. package/elements/base/scroll.js +1 -157
  17. package/elements/base/scroll.js.map +1 -1
  18. package/elements/base/visible.d.ts +1 -18
  19. package/elements/base/visible.d.ts.map +1 -1
  20. package/elements/base/visible.js +1 -112
  21. package/elements/base/visible.js.map +1 -1
  22. package/elements/button.d.ts +2 -24
  23. package/elements/button.d.ts.map +1 -1
  24. package/elements/button.js +7 -287
  25. package/elements/button.js.map +1 -1
  26. package/elements/checkbox.d.ts +3 -21
  27. package/elements/checkbox.d.ts.map +1 -1
  28. package/elements/checkbox.js +6 -180
  29. package/elements/checkbox.js.map +1 -1
  30. package/elements/code-block.d.ts +2 -7
  31. package/elements/code-block.d.ts.map +1 -1
  32. package/elements/code-block.js +4 -432
  33. package/elements/code-block.js.map +1 -1
  34. package/elements/collapse.d.ts +3 -29
  35. package/elements/collapse.d.ts.map +1 -1
  36. package/elements/collapse.js +6 -197
  37. package/elements/collapse.js.map +1 -1
  38. package/elements/compartment.d.ts +2 -5
  39. package/elements/compartment.d.ts.map +1 -1
  40. package/elements/compartment.js +4 -23
  41. package/elements/compartment.js.map +1 -1
  42. package/elements/contextmenu.d.ts +5 -42
  43. package/elements/contextmenu.d.ts.map +1 -1
  44. package/elements/contextmenu.js +8 -285
  45. package/elements/contextmenu.js.map +1 -1
  46. package/elements/countdown.d.ts +2 -12
  47. package/elements/countdown.d.ts.map +1 -1
  48. package/elements/countdown.js +4 -94
  49. package/elements/countdown.js.map +1 -1
  50. package/elements/divider.d.ts +2 -8
  51. package/elements/divider.d.ts.map +1 -1
  52. package/elements/divider.js +4 -129
  53. package/elements/divider.js.map +1 -1
  54. package/elements/empty.d.ts +2 -8
  55. package/elements/empty.d.ts.map +1 -1
  56. package/elements/empty.js +4 -59
  57. package/elements/empty.js.map +1 -1
  58. package/elements/grouped-picker.d.ts +29 -0
  59. package/elements/grouped-picker.d.ts.map +1 -0
  60. package/elements/grouped-picker.js +199 -0
  61. package/elements/grouped-picker.js.map +1 -0
  62. package/elements/input.d.ts +4 -36
  63. package/elements/input.d.ts.map +1 -1
  64. package/elements/input.js +6 -489
  65. package/elements/input.js.map +1 -1
  66. package/elements/letters.d.ts +2 -36
  67. package/elements/letters.d.ts.map +1 -1
  68. package/elements/letters.js +10 -677
  69. package/elements/letters.js.map +1 -1
  70. package/elements/link.d.ts +3 -5
  71. package/elements/link.d.ts.map +1 -1
  72. package/elements/link.js +6 -38
  73. package/elements/link.js.map +1 -1
  74. package/elements/list.d.ts +5 -58
  75. package/elements/list.d.ts.map +1 -1
  76. package/elements/list.js +19 -664
  77. package/elements/list.js.map +1 -1
  78. package/elements/modal.d.ts +5 -63
  79. package/elements/modal.d.ts.map +1 -1
  80. package/elements/modal.js +13 -411
  81. package/elements/modal.js.map +1 -1
  82. package/elements/options.d.ts +4 -32
  83. package/elements/options.d.ts.map +1 -1
  84. package/elements/options.js +5 -254
  85. package/elements/options.js.map +1 -1
  86. package/elements/page-loadbar.js +1 -1
  87. package/elements/paragraph.d.ts +2 -2
  88. package/elements/paragraph.d.ts.map +1 -1
  89. package/elements/paragraph.js +4 -45
  90. package/elements/paragraph.js.map +1 -1
  91. package/elements/placeholder.d.ts +2 -14
  92. package/elements/placeholder.d.ts.map +1 -1
  93. package/elements/placeholder.js +4 -114
  94. package/elements/placeholder.js.map +1 -1
  95. package/elements/radio.d.ts +5 -24
  96. package/elements/radio.d.ts.map +1 -1
  97. package/elements/radio.js +7 -165
  98. package/elements/radio.js.map +1 -1
  99. package/elements/rate.d.ts +2 -12
  100. package/elements/rate.d.ts.map +1 -1
  101. package/elements/rate.js +4 -142
  102. package/elements/rate.js.map +1 -1
  103. package/elements/rolling-number.d.ts +2 -12
  104. package/elements/rolling-number.d.ts.map +1 -1
  105. package/elements/rolling-number.js +4 -434
  106. package/elements/rolling-number.js.map +1 -1
  107. package/elements/scroll-box.d.ts +2 -2
  108. package/elements/scroll-box.d.ts.map +1 -1
  109. package/elements/scroll-box.js +4 -5
  110. package/elements/scroll-box.js.map +1 -1
  111. package/elements/segmented.d.ts +3 -20
  112. package/elements/segmented.d.ts.map +1 -1
  113. package/elements/segmented.js +4 -192
  114. package/elements/segmented.js.map +1 -1
  115. package/elements/slider.d.ts +2 -20
  116. package/elements/slider.d.ts.map +1 -1
  117. package/elements/slider.js +4 -261
  118. package/elements/slider.js.map +1 -1
  119. package/elements/sort-box.d.ts +1 -2
  120. package/elements/sort-box.d.ts.map +1 -1
  121. package/elements/sort-box.js +4 -15
  122. package/elements/sort-box.js.map +1 -1
  123. package/elements/space.d.ts +2 -4
  124. package/elements/space.d.ts.map +1 -1
  125. package/elements/space.js +4 -37
  126. package/elements/space.js.map +1 -1
  127. package/elements/switch.d.ts +2 -11
  128. package/elements/switch.d.ts.map +1 -1
  129. package/elements/switch.js +5 -134
  130. package/elements/switch.js.map +1 -1
  131. package/elements/tag.d.ts +3 -16
  132. package/elements/tag.d.ts.map +1 -1
  133. package/elements/tag.js +4 -133
  134. package/elements/tag.js.map +1 -1
  135. package/elements/toast.js +1 -1
  136. package/elements/wait.js +1 -1
  137. package/helper/error.js +2 -39
  138. package/helper/error.js.map +1 -1
  139. package/helper/webapp.d.ts +4 -5
  140. package/helper/webapp.d.ts.map +1 -1
  141. package/helper/webapp.js +5 -11
  142. package/helper/webapp.js.map +1 -1
  143. package/lib/animations.d.ts +1 -10
  144. package/lib/animations.d.ts.map +1 -1
  145. package/lib/animations.js +1 -29
  146. package/lib/animations.js.map +1 -1
  147. package/lib/cache.d.ts +1 -18
  148. package/lib/cache.d.ts.map +1 -1
  149. package/lib/cache.js +1 -62
  150. package/lib/cache.js.map +1 -1
  151. package/lib/color.d.ts +1 -37
  152. package/lib/color.d.ts.map +1 -1
  153. package/lib/color.js +1 -98
  154. package/lib/color.js.map +1 -1
  155. package/lib/decorators.d.ts +1 -2
  156. package/lib/decorators.d.ts.map +1 -1
  157. package/lib/decorators.js +1 -16
  158. package/lib/decorators.js.map +1 -1
  159. package/lib/easing.d.ts +1 -78
  160. package/lib/easing.d.ts.map +1 -1
  161. package/lib/easing.js +1 -139
  162. package/lib/easing.js.map +1 -1
  163. package/lib/element.d.ts +1 -18
  164. package/lib/element.d.ts.map +1 -1
  165. package/lib/element.js +1 -131
  166. package/lib/element.js.map +1 -1
  167. package/lib/encode.d.ts +1 -10
  168. package/lib/encode.d.ts.map +1 -1
  169. package/lib/encode.js +1 -48
  170. package/lib/encode.js.map +1 -1
  171. package/lib/hotkeys.d.ts +1 -43
  172. package/lib/hotkeys.d.ts.map +1 -1
  173. package/lib/hotkeys.js +1 -247
  174. package/lib/hotkeys.js.map +1 -1
  175. package/lib/icons.d.ts +1 -114
  176. package/lib/icons.d.ts.map +1 -1
  177. package/lib/icons.js +1 -90
  178. package/lib/icons.js.map +1 -1
  179. package/lib/image.d.ts +1 -39
  180. package/lib/image.d.ts.map +1 -1
  181. package/lib/image.js +1 -140
  182. package/lib/image.js.map +1 -1
  183. package/lib/locale.d.ts +1 -87
  184. package/lib/locale.d.ts.map +1 -1
  185. package/lib/locale.js +1 -8
  186. package/lib/locale.js.map +1 -1
  187. package/lib/map.d.ts +1 -8
  188. package/lib/map.d.ts.map +1 -1
  189. package/lib/map.js +1 -31
  190. package/lib/map.js.map +1 -1
  191. package/lib/number.d.ts +1 -94
  192. package/lib/number.d.ts.map +1 -1
  193. package/lib/number.js +1 -169
  194. package/lib/number.js.map +1 -1
  195. package/lib/patterns.d.ts +1 -9
  196. package/lib/patterns.d.ts.map +1 -1
  197. package/lib/patterns.js +1 -11
  198. package/lib/patterns.js.map +1 -1
  199. package/lib/styles.d.ts +1 -4
  200. package/lib/styles.d.ts.map +1 -1
  201. package/lib/styles.js +1 -28
  202. package/lib/styles.js.map +1 -1
  203. package/lib/theme.d.ts +1 -85
  204. package/lib/theme.d.ts.map +1 -1
  205. package/lib/theme.js +6 -70
  206. package/lib/theme.js.map +1 -1
  207. package/lib/time.d.ts +1 -81
  208. package/lib/time.d.ts.map +1 -1
  209. package/lib/time.js +1 -255
  210. package/lib/time.js.map +1 -1
  211. package/lib/timer.d.ts +1 -25
  212. package/lib/timer.d.ts.map +1 -1
  213. package/lib/timer.js +1 -106
  214. package/lib/timer.js.map +1 -1
  215. package/lib/types.d.ts +1 -13
  216. package/lib/types.d.ts.map +1 -1
  217. package/lib/types.js +1 -16
  218. package/lib/types.js.map +1 -1
  219. package/lib/utils.d.ts +1 -80
  220. package/lib/utils.d.ts.map +1 -1
  221. package/lib/utils.js +1 -244
  222. package/lib/utils.js.map +1 -1
  223. package/locales/en.d.ts +1 -37
  224. package/locales/en.d.ts.map +1 -1
  225. package/locales/en.js +1 -36
  226. package/locales/en.js.map +1 -1
  227. package/locales/zh.d.ts +1 -3
  228. package/locales/zh.d.ts.map +1 -1
  229. package/locales/zh.js +1 -37
  230. package/locales/zh.js.map +1 -1
  231. package/package.json +3 -5
  232. package/patterns/console.d.ts +1 -1
  233. package/patterns/form.d.ts +5 -3
  234. package/patterns/form.d.ts.map +1 -1
  235. package/patterns/form.js +16 -3
  236. package/patterns/form.js.map +1 -1
  237. package/react/DyActionText.d.ts +19 -0
  238. package/react/DyActionText.js +18 -0
  239. package/react/DyActiveLink.d.ts +15 -0
  240. package/react/DyActiveLink.js +18 -0
  241. package/react/DyAlert.d.ts +19 -0
  242. package/react/DyAlert.js +18 -0
  243. package/react/DyAreaChart.d.ts +46 -0
  244. package/react/DyAreaChart.js +18 -0
  245. package/react/DyAvatar.d.ts +23 -0
  246. package/react/DyAvatar.js +18 -0
  247. package/react/DyAvatarGroup.d.ts +22 -0
  248. package/react/DyAvatarGroup.js +18 -0
  249. package/react/DyBadge.d.ts +15 -0
  250. package/react/DyBadge.js +18 -0
  251. package/react/DyBanner.d.ts +15 -0
  252. package/react/DyBanner.js +18 -0
  253. package/react/DyBarChart.d.ts +23 -0
  254. package/react/DyBarChart.js +18 -0
  255. package/react/DyBreadcrumbs.d.ts +20 -0
  256. package/react/DyBreadcrumbs.js +18 -0
  257. package/react/DyButton.d.ts +15 -0
  258. package/react/DyButton.js +18 -0
  259. package/react/DyCalendar.d.ts +23 -0
  260. package/react/DyCalendar.js +18 -0
  261. package/react/DyCard.d.ts +24 -0
  262. package/react/DyCard.js +18 -0
  263. package/react/DyCarousel.d.ts +25 -0
  264. package/react/DyCarousel.js +18 -0
  265. package/react/DyCascader.d.ts +22 -0
  266. package/react/DyCascader.js +18 -0
  267. package/react/DyCascaderPicker.d.ts +27 -0
  268. package/react/DyCascaderPicker.js +22 -0
  269. package/react/DyChartTooltip.d.ts +15 -0
  270. package/react/DyChartTooltip.js +18 -0
  271. package/react/DyChartZoom.d.ts +20 -0
  272. package/react/DyChartZoom.js +18 -0
  273. package/react/DyCheckbox.d.ts +15 -0
  274. package/react/DyCheckbox.js +18 -0
  275. package/react/DyCheckboxGroup.d.ts +15 -0
  276. package/react/DyCheckboxGroup.js +18 -0
  277. package/react/DyCoachMark.d.ts +20 -0
  278. package/react/DyCoachMark.js +18 -0
  279. package/react/DyCodeBlock.d.ts +15 -0
  280. package/react/DyCodeBlock.js +18 -0
  281. package/react/DyCollapse.d.ts +15 -0
  282. package/react/DyCollapse.js +18 -0
  283. package/react/DyCollapsePanel.d.ts +15 -0
  284. package/react/DyCollapsePanel.js +18 -0
  285. package/react/DyColorPanel.d.ts +19 -0
  286. package/react/DyColorPanel.js +18 -0
  287. package/react/DyColorPicker.d.ts +22 -0
  288. package/react/DyColorPicker.js +22 -0
  289. package/react/DyCompartment.d.ts +15 -0
  290. package/react/DyCompartment.js +18 -0
  291. package/react/DyContextmenu.d.ts +15 -0
  292. package/react/DyContextmenu.js +18 -0
  293. package/react/DyCopy.d.ts +21 -0
  294. package/react/DyCopy.js +18 -0
  295. package/react/DyCountdown.d.ts +15 -0
  296. package/react/DyCountdown.js +18 -0
  297. package/react/DyDatePanel.d.ts +22 -0
  298. package/react/DyDatePanel.js +18 -0
  299. package/react/DyDatePicker.d.ts +26 -0
  300. package/react/DyDatePicker.js +22 -0
  301. package/react/DyDateRangePanel.d.ts +18 -0
  302. package/react/DyDateRangePanel.js +18 -0
  303. package/react/DyDateRangePicker.d.ts +26 -0
  304. package/react/DyDateRangePicker.js +22 -0
  305. package/react/DyDivider.d.ts +15 -0
  306. package/react/DyDivider.js +18 -0
  307. package/react/DyDonutChart.d.ts +20 -0
  308. package/react/DyDonutChart.js +18 -0
  309. package/react/DyDrawer.d.ts +15 -0
  310. package/react/DyDrawer.js +18 -0
  311. package/react/DyDropArea.d.ts +23 -0
  312. package/react/DyDropArea.js +18 -0
  313. package/react/DyEmpty.d.ts +15 -0
  314. package/react/DyEmpty.js +18 -0
  315. package/react/DyFilePicker.d.ts +27 -0
  316. package/react/DyFilePicker.js +22 -0
  317. package/react/DyForm.d.ts +24 -0
  318. package/react/DyForm.js +34 -0
  319. package/react/DyFormItem.d.ts +47 -0
  320. package/react/DyFormItem.js +31 -0
  321. package/react/DyFormItemInlineGroup.d.ts +15 -0
  322. package/react/DyFormItemInlineGroup.js +18 -0
  323. package/react/DyGesture.d.ts +15 -0
  324. package/react/DyGesture.js +18 -0
  325. package/react/DyGroupedPicker.d.ts +27 -0
  326. package/react/DyGroupedPicker.js +22 -0
  327. package/react/DyHeading.d.ts +17 -0
  328. package/react/DyHeading.js +18 -0
  329. package/react/DyHelpText.d.ts +17 -0
  330. package/react/DyHelpText.js +18 -0
  331. package/react/DyIcons.d.ts +15 -0
  332. package/react/DyIcons.js +18 -0
  333. package/react/DyImagePreview.d.ts +20 -0
  334. package/react/DyImagePreview.js +18 -0
  335. package/react/DyInput.d.ts +15 -0
  336. package/react/DyInput.js +18 -0
  337. package/react/DyInputCapture.d.ts +15 -0
  338. package/react/DyInputCapture.js +18 -0
  339. package/react/DyInputGroup.d.ts +15 -0
  340. package/react/DyInputGroup.js +18 -0
  341. package/react/DyKeyboardAccess.d.ts +19 -0
  342. package/react/DyKeyboardAccess.js +18 -0
  343. package/react/DyLegend.d.ts +20 -0
  344. package/react/DyLegend.js +18 -0
  345. package/react/DyLetters.d.ts +15 -0
  346. package/react/DyLetters.js +18 -0
  347. package/react/DyLightRoute.d.ts +15 -0
  348. package/react/DyLightRoute.js +18 -0
  349. package/react/DyLineChart.d.ts +15 -0
  350. package/react/DyLineChart.js +18 -0
  351. package/react/DyLink.d.ts +15 -0
  352. package/react/DyLink.js +18 -0
  353. package/react/DyList.d.ts +17 -0
  354. package/react/DyList.js +18 -0
  355. package/react/DyLoading.d.ts +15 -0
  356. package/react/DyLoading.js +18 -0
  357. package/react/DyMeter.d.ts +24 -0
  358. package/react/DyMeter.js +18 -0
  359. package/react/DyMore.d.ts +20 -0
  360. package/react/DyMore.js +18 -0
  361. package/react/DyMoreSlot.d.ts +17 -0
  362. package/react/DyMoreSlot.js +18 -0
  363. package/react/DyOptions.d.ts +15 -0
  364. package/react/DyOptions.js +18 -0
  365. package/react/DyPageLoadbar.d.ts +15 -0
  366. package/react/DyPageLoadbar.js +18 -0
  367. package/react/DyPagination.d.ts +23 -0
  368. package/react/DyPagination.js +18 -0
  369. package/react/DyParagraph.d.ts +15 -0
  370. package/react/DyParagraph.js +18 -0
  371. package/react/DyPatConsole.d.ts +25 -0
  372. package/react/DyPatConsole.js +18 -0
  373. package/react/DyPatFilterForm.d.ts +20 -0
  374. package/react/DyPatFilterForm.js +18 -0
  375. package/react/DyPatFooter.d.ts +23 -0
  376. package/react/DyPatFooter.js +18 -0
  377. package/react/DyPatForm.d.ts +20 -0
  378. package/react/DyPatForm.js +18 -0
  379. package/react/DyPatNav.d.ts +21 -0
  380. package/react/DyPatNav.js +18 -0
  381. package/react/DyPatTable.d.ts +32 -0
  382. package/react/DyPatTable.js +18 -0
  383. package/react/DyPicker.d.ts +28 -0
  384. package/react/DyPicker.js +22 -0
  385. package/react/DyPlaceholder.d.ts +15 -0
  386. package/react/DyPlaceholder.js +18 -0
  387. package/react/DyPopover.d.ts +27 -0
  388. package/react/DyPopover.js +22 -0
  389. package/react/DyPopoverGhost.d.ts +17 -0
  390. package/react/DyPopoverGhost.js +18 -0
  391. package/react/DyProgress.d.ts +18 -0
  392. package/react/DyProgress.js +18 -0
  393. package/react/DyRadarChart.d.ts +22 -0
  394. package/react/DyRadarChart.js +18 -0
  395. package/react/DyRadio.d.ts +15 -0
  396. package/react/DyRadio.js +18 -0
  397. package/react/DyRadioGroup.d.ts +15 -0
  398. package/react/DyRadioGroup.js +18 -0
  399. package/react/DyRate.d.ts +15 -0
  400. package/react/DyRate.js +18 -0
  401. package/react/DyReflect.d.ts +15 -0
  402. package/react/DyReflect.js +18 -0
  403. package/react/DyResult.d.ts +21 -0
  404. package/react/DyResult.js +18 -0
  405. package/react/DyRollingNumber.d.ts +15 -0
  406. package/react/DyRollingNumber.js +18 -0
  407. package/react/DyRoute.d.ts +15 -0
  408. package/react/DyRoute.js +18 -0
  409. package/react/DySankeyChart.d.ts +21 -0
  410. package/react/DySankeyChart.js +18 -0
  411. package/react/DyScatterChart.d.ts +17 -0
  412. package/react/DyScatterChart.js +18 -0
  413. package/react/DyScrollBox.d.ts +15 -0
  414. package/react/DyScrollBox.js +18 -0
  415. package/react/DySegmented.d.ts +15 -0
  416. package/react/DySegmented.js +18 -0
  417. package/react/DySelect.d.ts +37 -0
  418. package/react/DySelect.js +25 -0
  419. package/react/DySelectionBox.d.ts +18 -0
  420. package/react/DySelectionBox.js +18 -0
  421. package/react/DySelectionBoxMask.d.ts +15 -0
  422. package/react/DySelectionBoxMask.js +18 -0
  423. package/react/DyShortcutRecord.d.ts +23 -0
  424. package/react/DyShortcutRecord.js +18 -0
  425. package/react/DySideNavigation.d.ts +18 -0
  426. package/react/DySideNavigation.js +18 -0
  427. package/react/DySlider.d.ts +15 -0
  428. package/react/DySlider.js +18 -0
  429. package/react/DySortBox.d.ts +17 -0
  430. package/react/DySortBox.js +18 -0
  431. package/react/DySortHandle.d.ts +15 -0
  432. package/react/DySortHandle.js +18 -0
  433. package/react/DySortItem.d.ts +15 -0
  434. package/react/DySortItem.js +18 -0
  435. package/react/DySpace.d.ts +15 -0
  436. package/react/DySpace.js +18 -0
  437. package/react/DyStatistic.d.ts +25 -0
  438. package/react/DyStatistic.js +18 -0
  439. package/react/DyStatusLight.d.ts +17 -0
  440. package/react/DyStatusLight.js +18 -0
  441. package/react/DySwitch.d.ts +15 -0
  442. package/react/DySwitch.js +18 -0
  443. package/react/DyTabPanel.d.ts +17 -0
  444. package/react/DyTabPanel.js +18 -0
  445. package/react/DyTable.d.ts +36 -0
  446. package/react/DyTable.js +25 -0
  447. package/react/DyTabs.d.ts +21 -0
  448. package/react/DyTabs.js +18 -0
  449. package/react/DyTag.d.ts +15 -0
  450. package/react/DyTag.js +18 -0
  451. package/react/DyTextMask.d.ts +20 -0
  452. package/react/DyTextMask.js +18 -0
  453. package/react/DyTimePanel.d.ts +19 -0
  454. package/react/DyTimePanel.js +18 -0
  455. package/react/DyTimePicker.d.ts +25 -0
  456. package/react/DyTimePicker.js +22 -0
  457. package/react/DyTimeline.d.ts +17 -0
  458. package/react/DyTimeline.js +18 -0
  459. package/react/DyTitle.d.ts +15 -0
  460. package/react/DyTitle.js +18 -0
  461. package/react/DyToast.d.ts +17 -0
  462. package/react/DyToast.js +18 -0
  463. package/react/DyTooltip.d.ts +15 -0
  464. package/react/DyTooltip.js +18 -0
  465. package/react/DyTree.d.ts +29 -0
  466. package/react/DyTree.js +31 -0
  467. package/react/DyUnsafe.d.ts +15 -0
  468. package/react/DyUnsafe.js +18 -0
  469. package/react/DyUse.d.ts +15 -0
  470. package/react/DyUse.js +18 -0
  471. package/react/DyVestaboard.d.ts +21 -0
  472. package/react/DyVestaboard.js +18 -0
  473. package/react/DyWait.d.ts +17 -0
  474. package/react/DyWait.js +18 -0
  475. package/svelte/action-text.d.ts +13 -0
  476. package/svelte/action-text.js +2 -0
  477. package/svelte/alert.d.ts +13 -0
  478. package/svelte/alert.js +2 -0
  479. package/svelte/area-chart.d.ts +40 -0
  480. package/svelte/area-chart.js +2 -0
  481. package/svelte/avatar.d.ts +16 -0
  482. package/svelte/avatar.js +2 -0
  483. package/svelte/badge.d.ts +9 -0
  484. package/svelte/badge.js +2 -0
  485. package/svelte/banner.d.ts +9 -0
  486. package/svelte/banner.js +2 -0
  487. package/svelte/bar-chart.d.ts +17 -0
  488. package/svelte/bar-chart.js +2 -0
  489. package/svelte/breadcrumbs.d.ts +14 -0
  490. package/svelte/breadcrumbs.js +2 -0
  491. package/svelte/button.d.ts +9 -0
  492. package/svelte/button.js +2 -0
  493. package/svelte/calendar.d.ts +17 -0
  494. package/svelte/calendar.js +2 -0
  495. package/svelte/card.d.ts +18 -0
  496. package/svelte/card.js +2 -0
  497. package/svelte/carousel.d.ts +19 -0
  498. package/svelte/carousel.js +2 -0
  499. package/svelte/cascader-picker.d.ts +19 -0
  500. package/svelte/cascader-picker.js +2 -0
  501. package/svelte/cascader.d.ts +16 -0
  502. package/svelte/cascader.js +2 -0
  503. package/svelte/chart-tooltip.d.ts +9 -0
  504. package/svelte/chart-tooltip.js +2 -0
  505. package/svelte/chart-zoom.d.ts +14 -0
  506. package/svelte/chart-zoom.js +2 -0
  507. package/svelte/checkbox.d.ts +9 -0
  508. package/svelte/checkbox.js +2 -0
  509. package/svelte/coach-mark.d.ts +14 -0
  510. package/svelte/coach-mark.js +2 -0
  511. package/svelte/code-block.d.ts +9 -0
  512. package/svelte/code-block.js +2 -0
  513. package/svelte/collapse.d.ts +9 -0
  514. package/svelte/collapse.js +2 -0
  515. package/svelte/color-panel.d.ts +13 -0
  516. package/svelte/color-panel.js +2 -0
  517. package/svelte/color-picker.d.ts +14 -0
  518. package/svelte/color-picker.js +2 -0
  519. package/svelte/compartment.d.ts +9 -0
  520. package/svelte/compartment.js +2 -0
  521. package/svelte/contextmenu.d.ts +9 -0
  522. package/svelte/contextmenu.js +2 -0
  523. package/svelte/copy.d.ts +15 -0
  524. package/svelte/copy.js +2 -0
  525. package/svelte/countdown.d.ts +9 -0
  526. package/svelte/countdown.js +2 -0
  527. package/svelte/date-panel.d.ts +16 -0
  528. package/svelte/date-panel.js +2 -0
  529. package/svelte/date-picker.d.ts +18 -0
  530. package/svelte/date-picker.js +2 -0
  531. package/svelte/date-range-panel.d.ts +12 -0
  532. package/svelte/date-range-panel.js +2 -0
  533. package/svelte/date-range-picker.d.ts +18 -0
  534. package/svelte/date-range-picker.js +2 -0
  535. package/svelte/divider.d.ts +9 -0
  536. package/svelte/divider.js +2 -0
  537. package/svelte/donut-chart.d.ts +14 -0
  538. package/svelte/donut-chart.js +2 -0
  539. package/svelte/drawer.d.ts +9 -0
  540. package/svelte/drawer.js +2 -0
  541. package/svelte/drop-area.d.ts +17 -0
  542. package/svelte/drop-area.js +2 -0
  543. package/svelte/empty.d.ts +9 -0
  544. package/svelte/empty.js +2 -0
  545. package/svelte/file-picker.d.ts +19 -0
  546. package/svelte/file-picker.js +2 -0
  547. package/svelte/form.d.ts +36 -0
  548. package/svelte/form.js +2 -0
  549. package/svelte/gesture.d.ts +9 -0
  550. package/svelte/gesture.js +2 -0
  551. package/svelte/grouped-picker.d.ts +19 -0
  552. package/svelte/grouped-picker.js +2 -0
  553. package/svelte/heading.d.ts +11 -0
  554. package/svelte/heading.js +2 -0
  555. package/svelte/help-text.d.ts +11 -0
  556. package/svelte/help-text.js +2 -0
  557. package/svelte/icons.d.ts +9 -0
  558. package/svelte/icons.js +2 -0
  559. package/svelte/image-preview.d.ts +14 -0
  560. package/svelte/image-preview.js +2 -0
  561. package/svelte/input-capture.d.ts +9 -0
  562. package/svelte/input-capture.js +2 -0
  563. package/svelte/input.d.ts +9 -0
  564. package/svelte/input.js +2 -0
  565. package/svelte/keyboard-access.d.ts +13 -0
  566. package/svelte/keyboard-access.js +2 -0
  567. package/svelte/legend.d.ts +14 -0
  568. package/svelte/legend.js +2 -0
  569. package/svelte/letters.d.ts +9 -0
  570. package/svelte/letters.js +2 -0
  571. package/svelte/line-chart.d.ts +9 -0
  572. package/svelte/line-chart.js +2 -0
  573. package/svelte/link.d.ts +9 -0
  574. package/svelte/link.js +2 -0
  575. package/svelte/list.d.ts +11 -0
  576. package/svelte/list.js +2 -0
  577. package/svelte/loading.d.ts +9 -0
  578. package/svelte/loading.js +2 -0
  579. package/svelte/meter.d.ts +18 -0
  580. package/svelte/meter.js +2 -0
  581. package/svelte/more.d.ts +11 -0
  582. package/svelte/more.js +2 -0
  583. package/svelte/options.d.ts +9 -0
  584. package/svelte/options.js +2 -0
  585. package/svelte/page-loadbar.d.ts +9 -0
  586. package/svelte/page-loadbar.js +2 -0
  587. package/svelte/pagination.d.ts +17 -0
  588. package/svelte/pagination.js +2 -0
  589. package/svelte/paragraph.d.ts +9 -0
  590. package/svelte/paragraph.js +2 -0
  591. package/svelte/pat-console.d.ts +19 -0
  592. package/svelte/pat-console.js +2 -0
  593. package/svelte/pat-filter-form.d.ts +14 -0
  594. package/svelte/pat-filter-form.js +2 -0
  595. package/svelte/pat-footer.d.ts +17 -0
  596. package/svelte/pat-footer.js +2 -0
  597. package/svelte/pat-form.d.ts +14 -0
  598. package/svelte/pat-form.js +2 -0
  599. package/svelte/pat-nav.d.ts +15 -0
  600. package/svelte/pat-nav.js +2 -0
  601. package/svelte/pat-table.d.ts +26 -0
  602. package/svelte/pat-table.js +2 -0
  603. package/svelte/picker.d.ts +20 -0
  604. package/svelte/picker.js +2 -0
  605. package/svelte/placeholder.d.ts +9 -0
  606. package/svelte/placeholder.js +2 -0
  607. package/svelte/popover.d.ts +11 -0
  608. package/svelte/popover.js +2 -0
  609. package/svelte/progress.d.ts +12 -0
  610. package/svelte/progress.js +2 -0
  611. package/svelte/radar-chart.d.ts +16 -0
  612. package/svelte/radar-chart.js +2 -0
  613. package/svelte/radio.d.ts +9 -0
  614. package/svelte/radio.js +2 -0
  615. package/svelte/rate.d.ts +9 -0
  616. package/svelte/rate.js +2 -0
  617. package/svelte/reflect.d.ts +9 -0
  618. package/svelte/reflect.js +2 -0
  619. package/svelte/result.d.ts +15 -0
  620. package/svelte/result.js +2 -0
  621. package/svelte/rolling-number.d.ts +9 -0
  622. package/svelte/rolling-number.js +2 -0
  623. package/svelte/route.d.ts +9 -0
  624. package/svelte/route.js +2 -0
  625. package/svelte/sankey-chart.d.ts +15 -0
  626. package/svelte/sankey-chart.js +2 -0
  627. package/svelte/scatter-chart.d.ts +11 -0
  628. package/svelte/scatter-chart.js +2 -0
  629. package/svelte/scroll-box.d.ts +9 -0
  630. package/svelte/scroll-box.js +2 -0
  631. package/svelte/segmented.d.ts +9 -0
  632. package/svelte/segmented.js +2 -0
  633. package/svelte/select.d.ts +28 -0
  634. package/svelte/select.js +2 -0
  635. package/svelte/selection-box.d.ts +9 -0
  636. package/svelte/selection-box.js +2 -0
  637. package/svelte/shortcut-record.d.ts +17 -0
  638. package/svelte/shortcut-record.js +2 -0
  639. package/svelte/side-navigation.d.ts +12 -0
  640. package/svelte/side-navigation.js +2 -0
  641. package/svelte/slider.d.ts +9 -0
  642. package/svelte/slider.js +2 -0
  643. package/svelte/sort-box.d.ts +9 -0
  644. package/svelte/sort-box.js +2 -0
  645. package/svelte/space.d.ts +9 -0
  646. package/svelte/space.js +2 -0
  647. package/svelte/statistic.d.ts +19 -0
  648. package/svelte/statistic.js +2 -0
  649. package/svelte/status-light.d.ts +11 -0
  650. package/svelte/status-light.js +2 -0
  651. package/svelte/switch.d.ts +9 -0
  652. package/svelte/switch.js +2 -0
  653. package/svelte/table.d.ts +27 -0
  654. package/svelte/table.js +2 -0
  655. package/svelte/tabs.d.ts +11 -0
  656. package/svelte/tabs.js +2 -0
  657. package/svelte/tag.d.ts +9 -0
  658. package/svelte/tag.js +2 -0
  659. package/svelte/text-mask.d.ts +14 -0
  660. package/svelte/text-mask.js +2 -0
  661. package/svelte/time-panel.d.ts +13 -0
  662. package/svelte/time-panel.js +2 -0
  663. package/svelte/time-picker.d.ts +17 -0
  664. package/svelte/time-picker.js +2 -0
  665. package/svelte/timeline.d.ts +11 -0
  666. package/svelte/timeline.js +2 -0
  667. package/svelte/title.d.ts +9 -0
  668. package/svelte/title.js +2 -0
  669. package/svelte/toast.d.ts +11 -0
  670. package/svelte/toast.js +2 -0
  671. package/svelte/tooltip.d.ts +9 -0
  672. package/svelte/tooltip.js +2 -0
  673. package/svelte/tree.d.ts +18 -0
  674. package/svelte/tree.js +2 -0
  675. package/svelte/unsafe.d.ts +9 -0
  676. package/svelte/unsafe.js +2 -0
  677. package/svelte/use.d.ts +9 -0
  678. package/svelte/use.js +2 -0
  679. package/svelte/vestaboard.d.ts +15 -0
  680. package/svelte/vestaboard.js +2 -0
  681. package/svelte/wait.d.ts +11 -0
  682. package/svelte/wait.js +2 -0
  683. package/vue/DyActionText.vue +44 -0
  684. package/vue/DyActiveLink.vue +42 -0
  685. package/vue/DyAlert.vue +44 -0
  686. package/vue/DyAreaChart.vue +70 -0
  687. package/vue/DyAvatar.vue +48 -0
  688. package/vue/DyAvatarGroup.vue +47 -0
  689. package/vue/DyBadge.vue +42 -0
  690. package/vue/DyBanner.vue +42 -0
  691. package/vue/DyBarChart.vue +48 -0
  692. package/vue/DyBreadcrumbs.vue +45 -0
  693. package/vue/DyButton.vue +42 -0
  694. package/vue/DyCalendar.vue +47 -0
  695. package/vue/DyCard.vue +49 -0
  696. package/vue/DyCarousel.vue +49 -0
  697. package/vue/DyCascader.vue +46 -0
  698. package/vue/DyCascaderPicker.vue +53 -0
  699. package/vue/DyChartTooltip.vue +42 -0
  700. package/vue/DyChartZoom.vue +44 -0
  701. package/vue/DyCheckbox.vue +42 -0
  702. package/vue/DyCheckboxGroup.vue +42 -0
  703. package/vue/DyCoachMark.vue +45 -0
  704. package/vue/DyCodeBlock.vue +42 -0
  705. package/vue/DyCollapse.vue +42 -0
  706. package/vue/DyCollapsePanel.vue +42 -0
  707. package/vue/DyColorPanel.vue +43 -0
  708. package/vue/DyColorPicker.vue +48 -0
  709. package/vue/DyCompartment.vue +42 -0
  710. package/vue/DyContextmenu.vue +42 -0
  711. package/vue/DyCopy.vue +45 -0
  712. package/vue/DyCountdown.vue +42 -0
  713. package/vue/DyDatePanel.vue +46 -0
  714. package/vue/DyDatePicker.vue +52 -0
  715. package/vue/DyDateRangePanel.vue +42 -0
  716. package/vue/DyDateRangePicker.vue +52 -0
  717. package/vue/DyDivider.vue +42 -0
  718. package/vue/DyDonutChart.vue +45 -0
  719. package/vue/DyDrawer.vue +42 -0
  720. package/vue/DyDropArea.vue +47 -0
  721. package/vue/DyEmpty.vue +42 -0
  722. package/vue/DyFilePicker.vue +53 -0
  723. package/vue/DyForm.vue +66 -0
  724. package/vue/DyFormItem.vue +85 -0
  725. package/vue/DyFormItemInlineGroup.vue +42 -0
  726. package/vue/DyGesture.vue +42 -0
  727. package/vue/DyGroupedPicker.vue +53 -0
  728. package/vue/DyHeading.vue +42 -0
  729. package/vue/DyHelpText.vue +42 -0
  730. package/vue/DyIcons.vue +42 -0
  731. package/vue/DyImagePreview.vue +45 -0
  732. package/vue/DyInput.vue +42 -0
  733. package/vue/DyInputCapture.vue +42 -0
  734. package/vue/DyInputGroup.vue +42 -0
  735. package/vue/DyKeyboardAccess.vue +43 -0
  736. package/vue/DyLegend.vue +44 -0
  737. package/vue/DyLetters.vue +42 -0
  738. package/vue/DyLightRoute.vue +42 -0
  739. package/vue/DyLineChart.vue +42 -0
  740. package/vue/DyLink.vue +42 -0
  741. package/vue/DyList.vue +42 -0
  742. package/vue/DyLoading.vue +42 -0
  743. package/vue/DyMeter.vue +49 -0
  744. package/vue/DyMore.vue +45 -0
  745. package/vue/DyMoreSlot.vue +42 -0
  746. package/vue/DyOptions.vue +42 -0
  747. package/vue/DyPageLoadbar.vue +42 -0
  748. package/vue/DyPagination.vue +47 -0
  749. package/vue/DyParagraph.vue +42 -0
  750. package/vue/DyPatConsole.vue +50 -0
  751. package/vue/DyPatFilterForm.vue +44 -0
  752. package/vue/DyPatFooter.vue +47 -0
  753. package/vue/DyPatForm.vue +44 -0
  754. package/vue/DyPatNav.vue +46 -0
  755. package/vue/DyPatTable.vue +56 -0
  756. package/vue/DyPicker.vue +54 -0
  757. package/vue/DyPlaceholder.vue +42 -0
  758. package/vue/DyPopover.vue +53 -0
  759. package/vue/DyPopoverGhost.vue +42 -0
  760. package/vue/DyProgress.vue +43 -0
  761. package/vue/DyRadarChart.vue +47 -0
  762. package/vue/DyRadio.vue +42 -0
  763. package/vue/DyRadioGroup.vue +42 -0
  764. package/vue/DyRate.vue +42 -0
  765. package/vue/DyReflect.vue +42 -0
  766. package/vue/DyResult.vue +46 -0
  767. package/vue/DyRollingNumber.vue +42 -0
  768. package/vue/DyRoute.vue +42 -0
  769. package/vue/DySankeyChart.vue +46 -0
  770. package/vue/DyScatterChart.vue +42 -0
  771. package/vue/DyScrollBox.vue +42 -0
  772. package/vue/DySegmented.vue +42 -0
  773. package/vue/DySelect.vue +67 -0
  774. package/vue/DySelectionBox.vue +42 -0
  775. package/vue/DySelectionBoxMask.vue +42 -0
  776. package/vue/DyShortcutRecord.vue +47 -0
  777. package/vue/DySideNavigation.vue +43 -0
  778. package/vue/DySlider.vue +42 -0
  779. package/vue/DySortBox.vue +42 -0
  780. package/vue/DySortHandle.vue +42 -0
  781. package/vue/DySortItem.vue +42 -0
  782. package/vue/DySpace.vue +42 -0
  783. package/vue/DyStatistic.vue +50 -0
  784. package/vue/DyStatusLight.vue +42 -0
  785. package/vue/DySwitch.vue +42 -0
  786. package/vue/DyTabPanel.vue +42 -0
  787. package/vue/DyTable.vue +66 -0
  788. package/vue/DyTabs.vue +45 -0
  789. package/vue/DyTag.vue +42 -0
  790. package/vue/DyTextMask.vue +45 -0
  791. package/vue/DyTimePanel.vue +43 -0
  792. package/vue/DyTimePicker.vue +51 -0
  793. package/vue/DyTimeline.vue +42 -0
  794. package/vue/DyTitle.vue +42 -0
  795. package/vue/DyToast.vue +42 -0
  796. package/vue/DyTooltip.vue +42 -0
  797. package/vue/DyTree.vue +67 -0
  798. package/vue/DyUnsafe.vue +42 -0
  799. package/vue/DyUse.vue +42 -0
  800. package/vue/DyVestaboard.vue +46 -0
  801. package/vue/DyWait.vue +42 -0
  802. package/elements/flow.d.ts +0 -52
  803. package/elements/flow.d.ts.map +0 -1
  804. package/elements/flow.js +0 -703
  805. package/elements/flow.js.map +0 -1
  806. package/elements/map.d.ts +0 -48
  807. package/elements/map.d.ts.map +0 -1
  808. package/elements/map.js +0 -396
  809. package/elements/map.js.map +0 -1
@@ -0,0 +1,27 @@
1
+ import { HTMLAttributes, RefAttributes } from 'react';
2
+ import { ForwardRefExoticComponent } from 'react';
3
+ import { DuoyunPopoverElement } from '../elements/popover';
4
+ export * from '../elements/popover';
5
+ export type DyPopoverProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunPopoverElement> & {
6
+ debug?: DuoyunPopoverElement['debug'];
7
+ unreachable?: DuoyunPopoverElement['unreachable'];
8
+ disabled?: DuoyunPopoverElement['disabled'];
9
+ trigger?: DuoyunPopoverElement['trigger'];
10
+ position?: DuoyunPopoverElement['position'];
11
+ content?: DuoyunPopoverElement['content'];
12
+ 'onopen'?: (event: CustomEvent<Parameters<DuoyunPopoverElement['open']>[0]>) => void;
13
+ 'onclose'?: (event: CustomEvent<Parameters<DuoyunPopoverElement['close']>[0]>) => void;
14
+ ghostStyle?: DuoyunPopoverElement['ghostStyle'];
15
+ };
16
+ export type DyPopoverExpose = {
17
+ popoverElement: DuoyunPopoverElement['popoverElement'];
18
+ };
19
+ declare global {
20
+ namespace JSX {
21
+ interface IntrinsicElements {
22
+ 'dy-popover': DyPopoverProps;
23
+ }
24
+ }
25
+ }
26
+ export declare const DyPopover: ForwardRefExoticComponent<Omit<DyPopoverProps, "ref"> & RefAttributes<DyPopoverExpose>>;
27
+ export default DyPopover;
@@ -0,0 +1,22 @@
1
+ import React from 'react';
2
+ import { forwardRef, useImperativeHandle, useRef, useLayoutEffect } from 'react';
3
+ export * from '../elements/popover';
4
+ export const DyPopover = forwardRef(function (props, ref) {
5
+ const elementRef = useRef(null);
6
+ useImperativeHandle(ref, () => {
7
+ return {
8
+ get popoverElement() {
9
+ return elementRef.current.popoverElement;
10
+ },
11
+ };
12
+ }, []);
13
+ // React Bug?
14
+ useLayoutEffect(() => {
15
+ const element = elementRef.current;
16
+ ["debug", "unreachable", "disabled", "trigger", "position", "content", "ghostStyle"].map(name => {
17
+ element[name] = props[name];
18
+ });
19
+ }, []);
20
+ return React.createElement("dy-popover", { ref: elementRef, ...props });
21
+ });
22
+ export default DyPopover;
@@ -0,0 +1,17 @@
1
+ import { HTMLAttributes, RefAttributes } from 'react';
2
+ import { ForwardRefExoticComponent } from 'react';
3
+ import { DuoyunPopoverGhostElement } from '../elements/popover';
4
+ export * from '../elements/popover';
5
+ export type DyPopoverGhostProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunPopoverGhostElement> & {
6
+ 'onclose'?: (event: CustomEvent<Parameters<DuoyunPopoverGhostElement['close']>[0]>) => void;
7
+ };
8
+ export type DyPopoverGhostExpose = {};
9
+ declare global {
10
+ namespace JSX {
11
+ interface IntrinsicElements {
12
+ 'dy-popover-ghost': DyPopoverGhostProps;
13
+ }
14
+ }
15
+ }
16
+ export declare const DyPopoverGhost: ForwardRefExoticComponent<Omit<DyPopoverGhostProps, "ref"> & RefAttributes<DyPopoverGhostExpose>>;
17
+ export default DyPopoverGhost;
@@ -0,0 +1,18 @@
1
+ import React from 'react';
2
+ import { forwardRef, useImperativeHandle, useRef, useLayoutEffect } from 'react';
3
+ export * from '../elements/popover';
4
+ export const DyPopoverGhost = forwardRef(function (props, ref) {
5
+ const elementRef = useRef(null);
6
+ useImperativeHandle(ref, () => {
7
+ return {};
8
+ }, []);
9
+ // React Bug?
10
+ useLayoutEffect(() => {
11
+ const element = elementRef.current;
12
+ [].map(name => {
13
+ element[name] = props[name];
14
+ });
15
+ }, []);
16
+ return React.createElement("dy-popover-ghost", { ref: elementRef, ...props });
17
+ });
18
+ export default DyPopoverGhost;
@@ -0,0 +1,18 @@
1
+ import { HTMLAttributes, RefAttributes } from 'react';
2
+ import { ForwardRefExoticComponent } from 'react';
3
+ import { DuoyunProgressElement } from '../elements/progress';
4
+ export * from '../elements/progress';
5
+ export type DyProgressProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunProgressElement> & {
6
+ estimate?: DuoyunProgressElement['estimate'];
7
+ calculateColor?: DuoyunProgressElement['calculateColor'];
8
+ };
9
+ export type DyProgressExpose = {};
10
+ declare global {
11
+ namespace JSX {
12
+ interface IntrinsicElements {
13
+ 'dy-progress': DyProgressProps;
14
+ }
15
+ }
16
+ }
17
+ export declare const DyProgress: ForwardRefExoticComponent<Omit<DyProgressProps, "ref"> & RefAttributes<DyProgressExpose>>;
18
+ export default DyProgress;
@@ -0,0 +1,18 @@
1
+ import React from 'react';
2
+ import { forwardRef, useImperativeHandle, useRef, useLayoutEffect } from 'react';
3
+ export * from '../elements/progress';
4
+ export const DyProgress = forwardRef(function (props, ref) {
5
+ const elementRef = useRef(null);
6
+ useImperativeHandle(ref, () => {
7
+ return {};
8
+ }, []);
9
+ // React Bug?
10
+ useLayoutEffect(() => {
11
+ const element = elementRef.current;
12
+ ["estimate", "calculateColor"].map(name => {
13
+ element[name] = props[name];
14
+ });
15
+ }, []);
16
+ return React.createElement("dy-progress", { ref: elementRef, ...props });
17
+ });
18
+ export default DyProgress;
@@ -0,0 +1,22 @@
1
+ import { HTMLAttributes, RefAttributes } from 'react';
2
+ import { ForwardRefExoticComponent } from 'react';
3
+ import { DuoyunRadarChartElement } from '../elements/radar-chart';
4
+ export * from '../elements/radar-chart';
5
+ export type DyRadarChartProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunRadarChartElement> & {
6
+ dimensions?: DuoyunRadarChartElement['dimensions'];
7
+ sequences?: DuoyunRadarChartElement['sequences'];
8
+ showPoint?: DuoyunRadarChartElement['showPoint'];
9
+ showArea?: DuoyunRadarChartElement['showArea'];
10
+ xAxi?: DuoyunRadarChartElement['xAxi'];
11
+ yAxi?: DuoyunRadarChartElement['yAxi'];
12
+ };
13
+ export type DyRadarChartExpose = {};
14
+ declare global {
15
+ namespace JSX {
16
+ interface IntrinsicElements {
17
+ 'dy-radar-chart': DyRadarChartProps;
18
+ }
19
+ }
20
+ }
21
+ export declare const DyRadarChart: ForwardRefExoticComponent<Omit<DyRadarChartProps, "ref"> & RefAttributes<DyRadarChartExpose>>;
22
+ export default DyRadarChart;
@@ -0,0 +1,18 @@
1
+ import React from 'react';
2
+ import { forwardRef, useImperativeHandle, useRef, useLayoutEffect } from 'react';
3
+ export * from '../elements/radar-chart';
4
+ export const DyRadarChart = forwardRef(function (props, ref) {
5
+ const elementRef = useRef(null);
6
+ useImperativeHandle(ref, () => {
7
+ return {};
8
+ }, []);
9
+ // React Bug?
10
+ useLayoutEffect(() => {
11
+ const element = elementRef.current;
12
+ ["dimensions", "sequences", "showPoint", "showArea", "xAxi", "yAxi"].map(name => {
13
+ element[name] = props[name];
14
+ });
15
+ }, []);
16
+ return React.createElement("dy-radar-chart", { ref: elementRef, ...props });
17
+ });
18
+ export default DyRadarChart;
@@ -0,0 +1,15 @@
1
+ import { HTMLAttributes, RefAttributes } from 'react';
2
+ import { ForwardRefExoticComponent } from 'react';
3
+ import { DuoyunRadioElement } from '../elements/radio';
4
+ export * from '../elements/radio';
5
+ export type DyRadioProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunRadioElement> & {};
6
+ export type DyRadioExpose = {};
7
+ declare global {
8
+ namespace JSX {
9
+ interface IntrinsicElements {
10
+ 'dy-radio': DyRadioProps;
11
+ }
12
+ }
13
+ }
14
+ export declare const DyRadio: ForwardRefExoticComponent<Omit<DyRadioProps, "ref"> & RefAttributes<DyRadioExpose>>;
15
+ export default DyRadio;
@@ -0,0 +1,18 @@
1
+ import React from 'react';
2
+ import { forwardRef, useImperativeHandle, useRef, useLayoutEffect } from 'react';
3
+ export * from '../elements/radio';
4
+ export const DyRadio = forwardRef(function (props, ref) {
5
+ const elementRef = useRef(null);
6
+ useImperativeHandle(ref, () => {
7
+ return {};
8
+ }, []);
9
+ // React Bug?
10
+ useLayoutEffect(() => {
11
+ const element = elementRef.current;
12
+ [].map(name => {
13
+ element[name] = props[name];
14
+ });
15
+ }, []);
16
+ return React.createElement("dy-radio", { ref: elementRef, ...props });
17
+ });
18
+ export default DyRadio;
@@ -0,0 +1,15 @@
1
+ import { HTMLAttributes, RefAttributes } from 'react';
2
+ import { ForwardRefExoticComponent } from 'react';
3
+ import { DuoyunRadioGroupElement } from '../elements/radio';
4
+ export * from '../elements/radio';
5
+ export type DyRadioGroupProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunRadioGroupElement> & {};
6
+ export type DyRadioGroupExpose = {};
7
+ declare global {
8
+ namespace JSX {
9
+ interface IntrinsicElements {
10
+ 'dy-radio-group': DyRadioGroupProps;
11
+ }
12
+ }
13
+ }
14
+ export declare const DyRadioGroup: ForwardRefExoticComponent<Omit<DyRadioGroupProps, "ref"> & RefAttributes<DyRadioGroupExpose>>;
15
+ export default DyRadioGroup;
@@ -0,0 +1,18 @@
1
+ import React from 'react';
2
+ import { forwardRef, useImperativeHandle, useRef, useLayoutEffect } from 'react';
3
+ export * from '../elements/radio';
4
+ export const DyRadioGroup = forwardRef(function (props, ref) {
5
+ const elementRef = useRef(null);
6
+ useImperativeHandle(ref, () => {
7
+ return {};
8
+ }, []);
9
+ // React Bug?
10
+ useLayoutEffect(() => {
11
+ const element = elementRef.current;
12
+ [].map(name => {
13
+ element[name] = props[name];
14
+ });
15
+ }, []);
16
+ return React.createElement("dy-radio-group", { ref: elementRef, ...props });
17
+ });
18
+ export default DyRadioGroup;
@@ -0,0 +1,15 @@
1
+ import { HTMLAttributes, RefAttributes } from 'react';
2
+ import { ForwardRefExoticComponent } from 'react';
3
+ import { DuoyunRateElement } from '../elements/rate';
4
+ export * from '../elements/rate';
5
+ export type DyRateProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunRateElement> & {};
6
+ export type DyRateExpose = {};
7
+ declare global {
8
+ namespace JSX {
9
+ interface IntrinsicElements {
10
+ 'dy-rate': DyRateProps;
11
+ }
12
+ }
13
+ }
14
+ export declare const DyRate: ForwardRefExoticComponent<Omit<DyRateProps, "ref"> & RefAttributes<DyRateExpose>>;
15
+ export default DyRate;
@@ -0,0 +1,18 @@
1
+ import React from 'react';
2
+ import { forwardRef, useImperativeHandle, useRef, useLayoutEffect } from 'react';
3
+ export * from '../elements/rate';
4
+ export const DyRate = forwardRef(function (props, ref) {
5
+ const elementRef = useRef(null);
6
+ useImperativeHandle(ref, () => {
7
+ return {};
8
+ }, []);
9
+ // React Bug?
10
+ useLayoutEffect(() => {
11
+ const element = elementRef.current;
12
+ [].map(name => {
13
+ element[name] = props[name];
14
+ });
15
+ }, []);
16
+ return React.createElement("dy-rate", { ref: elementRef, ...props });
17
+ });
18
+ export default DyRate;
@@ -0,0 +1,15 @@
1
+ import { HTMLAttributes, RefAttributes } from 'react';
2
+ import { ForwardRefExoticComponent } from 'react';
3
+ import { DuoyunReflectElement } from '../elements/reflect';
4
+ export * from '../elements/reflect';
5
+ export type DyReflectProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunReflectElement> & {};
6
+ export type DyReflectExpose = {};
7
+ declare global {
8
+ namespace JSX {
9
+ interface IntrinsicElements {
10
+ 'dy-reflect': DyReflectProps;
11
+ }
12
+ }
13
+ }
14
+ export declare const DyReflect: ForwardRefExoticComponent<Omit<DyReflectProps, "ref"> & RefAttributes<DyReflectExpose>>;
15
+ export default DyReflect;
@@ -0,0 +1,18 @@
1
+ import React from 'react';
2
+ import { forwardRef, useImperativeHandle, useRef, useLayoutEffect } from 'react';
3
+ export * from '../elements/reflect';
4
+ export const DyReflect = forwardRef(function (props, ref) {
5
+ const elementRef = useRef(null);
6
+ useImperativeHandle(ref, () => {
7
+ return {};
8
+ }, []);
9
+ // React Bug?
10
+ useLayoutEffect(() => {
11
+ const element = elementRef.current;
12
+ [].map(name => {
13
+ element[name] = props[name];
14
+ });
15
+ }, []);
16
+ return React.createElement("dy-reflect", { ref: elementRef, ...props });
17
+ });
18
+ export default DyReflect;
@@ -0,0 +1,21 @@
1
+ import { HTMLAttributes, RefAttributes } from 'react';
2
+ import { ForwardRefExoticComponent } from 'react';
3
+ import { DuoyunResultElement } from '../elements/result';
4
+ export * from '../elements/result';
5
+ export type DyResultProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunResultElement> & {
6
+ status?: DuoyunResultElement['status'];
7
+ header?: DuoyunResultElement['header'];
8
+ description?: DuoyunResultElement['description'];
9
+ icon?: DuoyunResultElement['icon'];
10
+ illustrator?: DuoyunResultElement['illustrator'];
11
+ };
12
+ export type DyResultExpose = {};
13
+ declare global {
14
+ namespace JSX {
15
+ interface IntrinsicElements {
16
+ 'dy-result': DyResultProps;
17
+ }
18
+ }
19
+ }
20
+ export declare const DyResult: ForwardRefExoticComponent<Omit<DyResultProps, "ref"> & RefAttributes<DyResultExpose>>;
21
+ export default DyResult;
@@ -0,0 +1,18 @@
1
+ import React from 'react';
2
+ import { forwardRef, useImperativeHandle, useRef, useLayoutEffect } from 'react';
3
+ export * from '../elements/result';
4
+ export const DyResult = forwardRef(function (props, ref) {
5
+ const elementRef = useRef(null);
6
+ useImperativeHandle(ref, () => {
7
+ return {};
8
+ }, []);
9
+ // React Bug?
10
+ useLayoutEffect(() => {
11
+ const element = elementRef.current;
12
+ ["status", "header", "description", "icon", "illustrator"].map(name => {
13
+ element[name] = props[name];
14
+ });
15
+ }, []);
16
+ return React.createElement("dy-result", { ref: elementRef, ...props });
17
+ });
18
+ export default DyResult;
@@ -0,0 +1,15 @@
1
+ import { HTMLAttributes, RefAttributes } from 'react';
2
+ import { ForwardRefExoticComponent } from 'react';
3
+ import { DuoyunRollingNumberElement } from '../elements/rolling-number';
4
+ export * from '../elements/rolling-number';
5
+ export type DyRollingNumberProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunRollingNumberElement> & {};
6
+ export type DyRollingNumberExpose = {};
7
+ declare global {
8
+ namespace JSX {
9
+ interface IntrinsicElements {
10
+ 'dy-rolling-number': DyRollingNumberProps;
11
+ }
12
+ }
13
+ }
14
+ export declare const DyRollingNumber: ForwardRefExoticComponent<Omit<DyRollingNumberProps, "ref"> & RefAttributes<DyRollingNumberExpose>>;
15
+ export default DyRollingNumber;
@@ -0,0 +1,18 @@
1
+ import React from 'react';
2
+ import { forwardRef, useImperativeHandle, useRef, useLayoutEffect } from 'react';
3
+ export * from '../elements/rolling-number';
4
+ export const DyRollingNumber = forwardRef(function (props, ref) {
5
+ const elementRef = useRef(null);
6
+ useImperativeHandle(ref, () => {
7
+ return {};
8
+ }, []);
9
+ // React Bug?
10
+ useLayoutEffect(() => {
11
+ const element = elementRef.current;
12
+ [].map(name => {
13
+ element[name] = props[name];
14
+ });
15
+ }, []);
16
+ return React.createElement("dy-rolling-number", { ref: elementRef, ...props });
17
+ });
18
+ export default DyRollingNumber;
@@ -0,0 +1,15 @@
1
+ import { HTMLAttributes, RefAttributes } from 'react';
2
+ import { ForwardRefExoticComponent } from 'react';
3
+ import { DuoyunRouteElement } from '../elements/route';
4
+ export * from '../elements/route';
5
+ export type DyRouteProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunRouteElement> & {};
6
+ export type DyRouteExpose = {};
7
+ declare global {
8
+ namespace JSX {
9
+ interface IntrinsicElements {
10
+ 'dy-route': DyRouteProps;
11
+ }
12
+ }
13
+ }
14
+ export declare const DyRoute: ForwardRefExoticComponent<Omit<DyRouteProps, "ref"> & RefAttributes<DyRouteExpose>>;
15
+ export default DyRoute;
@@ -0,0 +1,18 @@
1
+ import React from 'react';
2
+ import { forwardRef, useImperativeHandle, useRef, useLayoutEffect } from 'react';
3
+ export * from '../elements/route';
4
+ export const DyRoute = forwardRef(function (props, ref) {
5
+ const elementRef = useRef(null);
6
+ useImperativeHandle(ref, () => {
7
+ return {};
8
+ }, []);
9
+ // React Bug?
10
+ useLayoutEffect(() => {
11
+ const element = elementRef.current;
12
+ [].map(name => {
13
+ element[name] = props[name];
14
+ });
15
+ }, []);
16
+ return React.createElement("dy-route", { ref: elementRef, ...props });
17
+ });
18
+ export default DyRoute;
@@ -0,0 +1,21 @@
1
+ import { HTMLAttributes, RefAttributes } from 'react';
2
+ import { ForwardRefExoticComponent } from 'react';
3
+ import { DuoyunSankeyChartElement } from '../elements/sankey-chart';
4
+ export * from '../elements/sankey-chart';
5
+ export type DySankeyChartProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunSankeyChartElement> & {
6
+ data?: DuoyunSankeyChartElement['data'];
7
+ nodeWidth?: DuoyunSankeyChartElement['nodeWidth'];
8
+ nodePadding?: DuoyunSankeyChartElement['nodePadding'];
9
+ xAxi?: DuoyunSankeyChartElement['xAxi'];
10
+ yAxi?: DuoyunSankeyChartElement['yAxi'];
11
+ };
12
+ export type DySankeyChartExpose = {};
13
+ declare global {
14
+ namespace JSX {
15
+ interface IntrinsicElements {
16
+ 'dy-sankey-chart': DySankeyChartProps;
17
+ }
18
+ }
19
+ }
20
+ export declare const DySankeyChart: ForwardRefExoticComponent<Omit<DySankeyChartProps, "ref"> & RefAttributes<DySankeyChartExpose>>;
21
+ export default DySankeyChart;
@@ -0,0 +1,18 @@
1
+ import React from 'react';
2
+ import { forwardRef, useImperativeHandle, useRef, useLayoutEffect } from 'react';
3
+ export * from '../elements/sankey-chart';
4
+ export const DySankeyChart = forwardRef(function (props, ref) {
5
+ const elementRef = useRef(null);
6
+ useImperativeHandle(ref, () => {
7
+ return {};
8
+ }, []);
9
+ // React Bug?
10
+ useLayoutEffect(() => {
11
+ const element = elementRef.current;
12
+ ["data", "nodeWidth", "nodePadding", "xAxi", "yAxi"].map(name => {
13
+ element[name] = props[name];
14
+ });
15
+ }, []);
16
+ return React.createElement("dy-sankey-chart", { ref: elementRef, ...props });
17
+ });
18
+ export default DySankeyChart;
@@ -0,0 +1,17 @@
1
+ import { HTMLAttributes, RefAttributes } from 'react';
2
+ import { ForwardRefExoticComponent } from 'react';
3
+ import { DuoyunScatterChartElement } from '../elements/scatter-chart';
4
+ export * from '../elements/scatter-chart';
5
+ export type DyScatterChartProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunScatterChartElement> & {
6
+ sequences?: DuoyunScatterChartElement['sequences'];
7
+ };
8
+ export type DyScatterChartExpose = {};
9
+ declare global {
10
+ namespace JSX {
11
+ interface IntrinsicElements {
12
+ 'dy-scatter-chart': DyScatterChartProps;
13
+ }
14
+ }
15
+ }
16
+ export declare const DyScatterChart: ForwardRefExoticComponent<Omit<DyScatterChartProps, "ref"> & RefAttributes<DyScatterChartExpose>>;
17
+ export default DyScatterChart;
@@ -0,0 +1,18 @@
1
+ import React from 'react';
2
+ import { forwardRef, useImperativeHandle, useRef, useLayoutEffect } from 'react';
3
+ export * from '../elements/scatter-chart';
4
+ export const DyScatterChart = forwardRef(function (props, ref) {
5
+ const elementRef = useRef(null);
6
+ useImperativeHandle(ref, () => {
7
+ return {};
8
+ }, []);
9
+ // React Bug?
10
+ useLayoutEffect(() => {
11
+ const element = elementRef.current;
12
+ ["sequences"].map(name => {
13
+ element[name] = props[name];
14
+ });
15
+ }, []);
16
+ return React.createElement("dy-scatter-chart", { ref: elementRef, ...props });
17
+ });
18
+ export default DyScatterChart;
@@ -0,0 +1,15 @@
1
+ import { HTMLAttributes, RefAttributes } from 'react';
2
+ import { ForwardRefExoticComponent } from 'react';
3
+ import { DuoyunScrollBoxElement } from '../elements/scroll-box';
4
+ export * from '../elements/scroll-box';
5
+ export type DyScrollBoxProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunScrollBoxElement> & {};
6
+ export type DyScrollBoxExpose = {};
7
+ declare global {
8
+ namespace JSX {
9
+ interface IntrinsicElements {
10
+ 'dy-scroll-box': DyScrollBoxProps;
11
+ }
12
+ }
13
+ }
14
+ export declare const DyScrollBox: ForwardRefExoticComponent<Omit<DyScrollBoxProps, "ref"> & RefAttributes<DyScrollBoxExpose>>;
15
+ export default DyScrollBox;
@@ -0,0 +1,18 @@
1
+ import React from 'react';
2
+ import { forwardRef, useImperativeHandle, useRef, useLayoutEffect } from 'react';
3
+ export * from '../elements/scroll-box';
4
+ export const DyScrollBox = forwardRef(function (props, ref) {
5
+ const elementRef = useRef(null);
6
+ useImperativeHandle(ref, () => {
7
+ return {};
8
+ }, []);
9
+ // React Bug?
10
+ useLayoutEffect(() => {
11
+ const element = elementRef.current;
12
+ [].map(name => {
13
+ element[name] = props[name];
14
+ });
15
+ }, []);
16
+ return React.createElement("dy-scroll-box", { ref: elementRef, ...props });
17
+ });
18
+ export default DyScrollBox;
@@ -0,0 +1,15 @@
1
+ import { HTMLAttributes, RefAttributes } from 'react';
2
+ import { ForwardRefExoticComponent } from 'react';
3
+ import { DuoyunSegmentedElement } from '../elements/segmented';
4
+ export * from '../elements/segmented';
5
+ export type DySegmentedProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunSegmentedElement> & {};
6
+ export type DySegmentedExpose = {};
7
+ declare global {
8
+ namespace JSX {
9
+ interface IntrinsicElements {
10
+ 'dy-segmented': DySegmentedProps;
11
+ }
12
+ }
13
+ }
14
+ export declare const DySegmented: ForwardRefExoticComponent<Omit<DySegmentedProps, "ref"> & RefAttributes<DySegmentedExpose>>;
15
+ export default DySegmented;
@@ -0,0 +1,18 @@
1
+ import React from 'react';
2
+ import { forwardRef, useImperativeHandle, useRef, useLayoutEffect } from 'react';
3
+ export * from '../elements/segmented';
4
+ export const DySegmented = forwardRef(function (props, ref) {
5
+ const elementRef = useRef(null);
6
+ useImperativeHandle(ref, () => {
7
+ return {};
8
+ }, []);
9
+ // React Bug?
10
+ useLayoutEffect(() => {
11
+ const element = elementRef.current;
12
+ [].map(name => {
13
+ element[name] = props[name];
14
+ });
15
+ }, []);
16
+ return React.createElement("dy-segmented", { ref: elementRef, ...props });
17
+ });
18
+ export default DySegmented;
@@ -0,0 +1,37 @@
1
+ import { HTMLAttributes, RefAttributes } from 'react';
2
+ import { ForwardRefExoticComponent } from 'react';
3
+ import { DuoyunSelectElement } from '../elements/select';
4
+ export * from '../elements/select';
5
+ export type DySelectProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunSelectElement> & {
6
+ multiple?: DuoyunSelectElement['multiple'];
7
+ disabled?: DuoyunSelectElement['disabled'];
8
+ searchable?: DuoyunSelectElement['searchable'];
9
+ keepsearch?: DuoyunSelectElement['keepsearch'];
10
+ inline?: DuoyunSelectElement['inline'];
11
+ placeholder?: DuoyunSelectElement['placeholder'];
12
+ borderless?: DuoyunSelectElement['borderless'];
13
+ pinselected?: DuoyunSelectElement['pinselected'];
14
+ loading?: DuoyunSelectElement['loading'];
15
+ dropdownStyle?: DuoyunSelectElement['dropdownStyle'];
16
+ options?: DuoyunSelectElement['options'];
17
+ adder?: DuoyunSelectElement['adder'];
18
+ value?: DuoyunSelectElement['value'];
19
+ renderLabel?: DuoyunSelectElement['renderLabel'];
20
+ renderTag?: DuoyunSelectElement['renderTag'];
21
+ active?: DuoyunSelectElement['active'];
22
+ 'onchange'?: (event: CustomEvent<Parameters<DuoyunSelectElement['change']>[0]>) => void;
23
+ 'onsearch'?: (event: CustomEvent<Parameters<DuoyunSelectElement['search']>[0]>) => void;
24
+ };
25
+ export type DySelectExpose = {
26
+ showPicker: DuoyunSelectElement['showPicker'];
27
+ setSearch: DuoyunSelectElement['setSearch'];
28
+ };
29
+ declare global {
30
+ namespace JSX {
31
+ interface IntrinsicElements {
32
+ 'dy-select': DySelectProps;
33
+ }
34
+ }
35
+ }
36
+ export declare const DySelect: ForwardRefExoticComponent<Omit<DySelectProps, "ref"> & RefAttributes<DySelectExpose>>;
37
+ export default DySelect;
@@ -0,0 +1,25 @@
1
+ import React from 'react';
2
+ import { forwardRef, useImperativeHandle, useRef, useLayoutEffect } from 'react';
3
+ export * from '../elements/select';
4
+ export const DySelect = forwardRef(function (props, ref) {
5
+ const elementRef = useRef(null);
6
+ useImperativeHandle(ref, () => {
7
+ return {
8
+ showPicker(...args) {
9
+ return elementRef.current.showPicker(...args);
10
+ },
11
+ setSearch(...args) {
12
+ return elementRef.current.setSearch(...args);
13
+ },
14
+ };
15
+ }, []);
16
+ // React Bug?
17
+ useLayoutEffect(() => {
18
+ const element = elementRef.current;
19
+ ["multiple", "disabled", "searchable", "keepsearch", "inline", "placeholder", "borderless", "pinselected", "loading", "dropdownStyle", "options", "adder", "value", "renderLabel", "renderTag", "active"].map(name => {
20
+ element[name] = props[name];
21
+ });
22
+ }, []);
23
+ return React.createElement("dy-select", { ref: elementRef, ...props });
24
+ });
25
+ export default DySelect;