duoyun-ui 2.2.1 → 2.2.3

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 (701) hide show
  1. package/elements/avatar.d.ts +0 -1
  2. package/elements/avatar.d.ts.map +1 -1
  3. package/elements/avatar.js +5 -18
  4. package/elements/avatar.js.map +1 -1
  5. package/elements/bar-chart.d.ts.map +1 -1
  6. package/elements/base/chart.d.ts.map +1 -1
  7. package/elements/base/scroll.d.ts.map +1 -1
  8. package/elements/base/scroll.js +0 -1
  9. package/elements/base/scroll.js.map +1 -1
  10. package/elements/carousel.d.ts.map +1 -1
  11. package/elements/cascader-picker.d.ts +2 -2
  12. package/elements/cascader-picker.d.ts.map +1 -1
  13. package/elements/cascader-picker.js +2 -2
  14. package/elements/cascader-picker.js.map +1 -1
  15. package/elements/chart-tooltip.d.ts.map +1 -1
  16. package/elements/coach-mark.d.ts +1 -1
  17. package/elements/coach-mark.d.ts.map +1 -1
  18. package/elements/coach-mark.js +2 -1
  19. package/elements/coach-mark.js.map +1 -1
  20. package/elements/code-block.d.ts.map +1 -1
  21. package/elements/code-block.js +33 -20
  22. package/elements/code-block.js.map +1 -1
  23. package/elements/collapse.d.ts +2 -20
  24. package/elements/collapse.d.ts.map +1 -1
  25. package/elements/collapse.js +7 -35
  26. package/elements/collapse.js.map +1 -1
  27. package/elements/color-panel.js +1 -1
  28. package/elements/color-panel.js.map +1 -1
  29. package/elements/compartment.d.ts +3 -3
  30. package/elements/compartment.d.ts.map +1 -1
  31. package/elements/compartment.js +16 -7
  32. package/elements/compartment.js.map +1 -1
  33. package/elements/countdown.d.ts +1 -1
  34. package/elements/countdown.d.ts.map +1 -1
  35. package/elements/countdown.js +1 -1
  36. package/elements/countdown.js.map +1 -1
  37. package/elements/date-picker.js +1 -1
  38. package/elements/date-picker.js.map +1 -1
  39. package/elements/date-range-picker.js +1 -1
  40. package/elements/date-range-picker.js.map +1 -1
  41. package/elements/flow.js +1 -1
  42. package/elements/flow.js.map +1 -1
  43. package/elements/form.js +2 -2
  44. package/elements/form.js.map +1 -1
  45. package/elements/input.d.ts.map +1 -1
  46. package/elements/input.js +6 -4
  47. package/elements/input.js.map +1 -1
  48. package/elements/letters.d.ts +38 -0
  49. package/elements/letters.d.ts.map +1 -0
  50. package/elements/letters.js +723 -0
  51. package/elements/letters.js.map +1 -0
  52. package/elements/list.d.ts +0 -1
  53. package/elements/list.d.ts.map +1 -1
  54. package/elements/list.js +3 -10
  55. package/elements/list.js.map +1 -1
  56. package/elements/meter.js +1 -1
  57. package/elements/meter.js.map +1 -1
  58. package/elements/modal.d.ts.map +1 -1
  59. package/elements/modal.js +29 -14
  60. package/elements/modal.js.map +1 -1
  61. package/elements/result.d.ts +5 -5
  62. package/elements/result.d.ts.map +1 -1
  63. package/elements/result.js +3 -3
  64. package/elements/result.js.map +1 -1
  65. package/elements/rolling-number.d.ts +14 -0
  66. package/elements/rolling-number.d.ts.map +1 -0
  67. package/elements/rolling-number.js +486 -0
  68. package/elements/rolling-number.js.map +1 -0
  69. package/elements/segmented.d.ts.map +1 -1
  70. package/elements/segmented.js +1 -0
  71. package/elements/segmented.js.map +1 -1
  72. package/elements/select.d.ts +5 -4
  73. package/elements/select.d.ts.map +1 -1
  74. package/elements/select.js +7 -4
  75. package/elements/select.js.map +1 -1
  76. package/elements/selection-box.js +4 -4
  77. package/elements/selection-box.js.map +1 -1
  78. package/elements/slider.js +1 -1
  79. package/elements/slider.js.map +1 -1
  80. package/elements/sort-box.js +1 -1
  81. package/elements/sort-box.js.map +1 -1
  82. package/elements/statistic.js +1 -1
  83. package/elements/statistic.js.map +1 -1
  84. package/elements/time-picker.js +1 -1
  85. package/elements/time-picker.js.map +1 -1
  86. package/elements/timeline.d.ts.map +1 -1
  87. package/elements/timeline.js +0 -1
  88. package/elements/timeline.js.map +1 -1
  89. package/elements/wait.d.ts.map +1 -1
  90. package/lib/cache.d.ts +1 -0
  91. package/lib/cache.d.ts.map +1 -1
  92. package/lib/cache.js +5 -0
  93. package/lib/cache.js.map +1 -1
  94. package/lib/decorators.d.ts +3 -0
  95. package/lib/decorators.d.ts.map +1 -0
  96. package/lib/decorators.js +17 -0
  97. package/lib/decorators.js.map +1 -0
  98. package/lib/easing.d.ts +79 -0
  99. package/lib/easing.d.ts.map +1 -0
  100. package/lib/easing.js +140 -0
  101. package/lib/easing.js.map +1 -0
  102. package/lib/encode.d.ts +1 -1
  103. package/lib/encode.d.ts.map +1 -1
  104. package/lib/encode.js +1 -1
  105. package/lib/encode.js.map +1 -1
  106. package/lib/hotkeys.d.ts.map +1 -1
  107. package/lib/hotkeys.js +1 -1
  108. package/lib/hotkeys.js.map +1 -1
  109. package/lib/locale.d.ts +1 -1
  110. package/lib/locale.d.ts.map +1 -1
  111. package/lib/map.d.ts +1 -0
  112. package/lib/map.d.ts.map +1 -1
  113. package/lib/map.js +10 -1
  114. package/lib/map.js.map +1 -1
  115. package/lib/patterns.d.ts.map +1 -1
  116. package/lib/patterns.js +3 -3
  117. package/lib/patterns.js.map +1 -1
  118. package/lib/time.d.ts +2 -1
  119. package/lib/time.d.ts.map +1 -1
  120. package/lib/time.js +4 -3
  121. package/lib/time.js.map +1 -1
  122. package/lib/timer.d.ts.map +1 -1
  123. package/lib/utils.d.ts +3 -2
  124. package/lib/utils.d.ts.map +1 -1
  125. package/lib/utils.js +18 -13
  126. package/lib/utils.js.map +1 -1
  127. package/package.json +2 -2
  128. package/patterns/console.d.ts +1 -1
  129. package/patterns/form.d.ts +2 -14
  130. package/patterns/form.d.ts.map +1 -1
  131. package/patterns/form.js +26 -19
  132. package/patterns/form.js.map +1 -1
  133. package/react/DyActionText.d.ts +0 -19
  134. package/react/DyActionText.js +0 -18
  135. package/react/DyActiveLink.d.ts +0 -15
  136. package/react/DyActiveLink.js +0 -18
  137. package/react/DyAlert.d.ts +0 -19
  138. package/react/DyAlert.js +0 -18
  139. package/react/DyAreaChart.d.ts +0 -46
  140. package/react/DyAreaChart.js +0 -18
  141. package/react/DyAvatar.d.ts +0 -23
  142. package/react/DyAvatar.js +0 -18
  143. package/react/DyAvatarGroup.d.ts +0 -22
  144. package/react/DyAvatarGroup.js +0 -18
  145. package/react/DyBadge.d.ts +0 -23
  146. package/react/DyBadge.js +0 -18
  147. package/react/DyBanner.d.ts +0 -20
  148. package/react/DyBanner.js +0 -18
  149. package/react/DyBarChart.d.ts +0 -23
  150. package/react/DyBarChart.js +0 -18
  151. package/react/DyBreadcrumbs.d.ts +0 -20
  152. package/react/DyBreadcrumbs.js +0 -18
  153. package/react/DyButton.d.ts +0 -29
  154. package/react/DyButton.js +0 -18
  155. package/react/DyCalendar.d.ts +0 -23
  156. package/react/DyCalendar.js +0 -18
  157. package/react/DyCard.d.ts +0 -24
  158. package/react/DyCard.js +0 -18
  159. package/react/DyCarousel.d.ts +0 -25
  160. package/react/DyCarousel.js +0 -18
  161. package/react/DyCascader.d.ts +0 -22
  162. package/react/DyCascader.js +0 -18
  163. package/react/DyCascaderPicker.d.ts +0 -27
  164. package/react/DyCascaderPicker.js +0 -22
  165. package/react/DyChartTooltip.d.ts +0 -15
  166. package/react/DyChartTooltip.js +0 -18
  167. package/react/DyChartZoom.d.ts +0 -20
  168. package/react/DyChartZoom.js +0 -18
  169. package/react/DyCheckbox.d.ts +0 -21
  170. package/react/DyCheckbox.js +0 -18
  171. package/react/DyCheckboxGroup.d.ts +0 -21
  172. package/react/DyCheckboxGroup.js +0 -18
  173. package/react/DyCoachMark.d.ts +0 -25
  174. package/react/DyCoachMark.js +0 -18
  175. package/react/DyCodeBlock.d.ts +0 -19
  176. package/react/DyCodeBlock.js +0 -18
  177. package/react/DyCollapse.d.ts +0 -19
  178. package/react/DyCollapse.js +0 -18
  179. package/react/DyCollapsePanel.d.ts +0 -20
  180. package/react/DyCollapsePanel.js +0 -18
  181. package/react/DyColorPanel.d.ts +0 -19
  182. package/react/DyColorPanel.js +0 -18
  183. package/react/DyColorPicker.d.ts +0 -22
  184. package/react/DyColorPicker.js +0 -22
  185. package/react/DyCompartment.d.ts +0 -17
  186. package/react/DyCompartment.js +0 -18
  187. package/react/DyContextmenu.d.ts +0 -15
  188. package/react/DyContextmenu.js +0 -18
  189. package/react/DyCopy.d.ts +0 -21
  190. package/react/DyCopy.js +0 -18
  191. package/react/DyCountdown.d.ts +0 -19
  192. package/react/DyCountdown.js +0 -18
  193. package/react/DyDatePanel.d.ts +0 -22
  194. package/react/DyDatePanel.js +0 -18
  195. package/react/DyDatePicker.d.ts +0 -26
  196. package/react/DyDatePicker.js +0 -22
  197. package/react/DyDateRangePanel.d.ts +0 -18
  198. package/react/DyDateRangePanel.js +0 -18
  199. package/react/DyDateRangePicker.d.ts +0 -26
  200. package/react/DyDateRangePicker.js +0 -22
  201. package/react/DyDivider.d.ts +0 -20
  202. package/react/DyDivider.js +0 -18
  203. package/react/DyDonutChart.d.ts +0 -20
  204. package/react/DyDonutChart.js +0 -18
  205. package/react/DyDrawer.d.ts +0 -35
  206. package/react/DyDrawer.js +0 -18
  207. package/react/DyDropArea.d.ts +0 -23
  208. package/react/DyDropArea.js +0 -18
  209. package/react/DyEmpty.d.ts +0 -19
  210. package/react/DyEmpty.js +0 -18
  211. package/react/DyFilePicker.d.ts +0 -27
  212. package/react/DyFilePicker.js +0 -22
  213. package/react/DyFlow.d.ts +0 -24
  214. package/react/DyFlow.js +0 -18
  215. package/react/DyFlowCanvas.d.ts +0 -29
  216. package/react/DyFlowCanvas.js +0 -18
  217. package/react/DyForm.d.ts +0 -24
  218. package/react/DyForm.js +0 -34
  219. package/react/DyFormItem.d.ts +0 -47
  220. package/react/DyFormItem.js +0 -31
  221. package/react/DyFormItemInlineGroup.d.ts +0 -15
  222. package/react/DyFormItemInlineGroup.js +0 -18
  223. package/react/DyGesture.d.ts +0 -15
  224. package/react/DyGesture.js +0 -18
  225. package/react/DyHeading.d.ts +0 -17
  226. package/react/DyHeading.js +0 -18
  227. package/react/DyHelpText.d.ts +0 -17
  228. package/react/DyHelpText.js +0 -18
  229. package/react/DyIcons.d.ts +0 -15
  230. package/react/DyIcons.js +0 -18
  231. package/react/DyImagePreview.d.ts +0 -20
  232. package/react/DyImagePreview.js +0 -18
  233. package/react/DyInput.d.ts +0 -36
  234. package/react/DyInput.js +0 -18
  235. package/react/DyInputCapture.d.ts +0 -15
  236. package/react/DyInputCapture.js +0 -18
  237. package/react/DyInputGroup.d.ts +0 -15
  238. package/react/DyInputGroup.js +0 -18
  239. package/react/DyKeyboardAccess.d.ts +0 -19
  240. package/react/DyKeyboardAccess.js +0 -18
  241. package/react/DyLegend.d.ts +0 -24
  242. package/react/DyLegend.js +0 -18
  243. package/react/DyLightRoute.d.ts +0 -15
  244. package/react/DyLightRoute.js +0 -18
  245. package/react/DyLineChart.d.ts +0 -15
  246. package/react/DyLineChart.js +0 -18
  247. package/react/DyLink.d.ts +0 -15
  248. package/react/DyLink.js +0 -18
  249. package/react/DyList.d.ts +0 -31
  250. package/react/DyList.js +0 -18
  251. package/react/DyListItem.d.ts +0 -24
  252. package/react/DyListItem.js +0 -18
  253. package/react/DyListOutside.d.ts +0 -15
  254. package/react/DyListOutside.js +0 -18
  255. package/react/DyLoading.d.ts +0 -15
  256. package/react/DyLoading.js +0 -18
  257. package/react/DyMap.d.ts +0 -32
  258. package/react/DyMap.js +0 -18
  259. package/react/DyMeter.d.ts +0 -24
  260. package/react/DyMeter.js +0 -18
  261. package/react/DyMore.d.ts +0 -20
  262. package/react/DyMore.js +0 -18
  263. package/react/DyMoreSlot.d.ts +0 -17
  264. package/react/DyMoreSlot.js +0 -18
  265. package/react/DyOptions.d.ts +0 -19
  266. package/react/DyOptions.js +0 -18
  267. package/react/DyPageLoadbar.d.ts +0 -15
  268. package/react/DyPageLoadbar.js +0 -18
  269. package/react/DyPagination.d.ts +0 -23
  270. package/react/DyPagination.js +0 -18
  271. package/react/DyParagraph.d.ts +0 -15
  272. package/react/DyParagraph.js +0 -18
  273. package/react/DyPatConsole.d.ts +0 -25
  274. package/react/DyPatConsole.js +0 -18
  275. package/react/DyPatFilterForm.d.ts +0 -20
  276. package/react/DyPatFilterForm.js +0 -18
  277. package/react/DyPatFooter.d.ts +0 -23
  278. package/react/DyPatFooter.js +0 -18
  279. package/react/DyPatForm.d.ts +0 -19
  280. package/react/DyPatForm.js +0 -18
  281. package/react/DyPatNav.d.ts +0 -21
  282. package/react/DyPatNav.js +0 -18
  283. package/react/DyPatTable.d.ts +0 -32
  284. package/react/DyPatTable.js +0 -18
  285. package/react/DyPicker.d.ts +0 -28
  286. package/react/DyPicker.js +0 -22
  287. package/react/DyPlaceholder.d.ts +0 -24
  288. package/react/DyPlaceholder.js +0 -18
  289. package/react/DyPopover.d.ts +0 -27
  290. package/react/DyPopover.js +0 -22
  291. package/react/DyPopoverGhost.d.ts +0 -17
  292. package/react/DyPopoverGhost.js +0 -18
  293. package/react/DyProgress.d.ts +0 -18
  294. package/react/DyProgress.js +0 -18
  295. package/react/DyRadarChart.d.ts +0 -22
  296. package/react/DyRadarChart.js +0 -18
  297. package/react/DyRadio.d.ts +0 -20
  298. package/react/DyRadio.js +0 -18
  299. package/react/DyRadioGroup.d.ts +0 -21
  300. package/react/DyRadioGroup.js +0 -18
  301. package/react/DyRate.d.ts +0 -21
  302. package/react/DyRate.js +0 -18
  303. package/react/DyReflect.d.ts +0 -15
  304. package/react/DyReflect.js +0 -18
  305. package/react/DyResult.d.ts +0 -21
  306. package/react/DyResult.js +0 -18
  307. package/react/DyRoute.d.ts +0 -15
  308. package/react/DyRoute.js +0 -18
  309. package/react/DySankeyChart.d.ts +0 -21
  310. package/react/DySankeyChart.js +0 -18
  311. package/react/DyScatterChart.d.ts +0 -17
  312. package/react/DyScatterChart.js +0 -18
  313. package/react/DyScrollBox.d.ts +0 -15
  314. package/react/DyScrollBox.js +0 -18
  315. package/react/DySegmented.d.ts +0 -22
  316. package/react/DySegmented.js +0 -18
  317. package/react/DySelect.d.ts +0 -36
  318. package/react/DySelect.js +0 -22
  319. package/react/DySelectionBox.d.ts +0 -18
  320. package/react/DySelectionBox.js +0 -18
  321. package/react/DySelectionBoxMask.d.ts +0 -15
  322. package/react/DySelectionBoxMask.js +0 -18
  323. package/react/DyShortcutRecord.d.ts +0 -23
  324. package/react/DyShortcutRecord.js +0 -18
  325. package/react/DySideNavigation.d.ts +0 -18
  326. package/react/DySideNavigation.js +0 -18
  327. package/react/DySlider.d.ts +0 -26
  328. package/react/DySlider.js +0 -18
  329. package/react/DySortBox.d.ts +0 -17
  330. package/react/DySortBox.js +0 -18
  331. package/react/DySortHandle.d.ts +0 -15
  332. package/react/DySortHandle.js +0 -18
  333. package/react/DySortItem.d.ts +0 -17
  334. package/react/DySortItem.js +0 -18
  335. package/react/DySpace.d.ts +0 -18
  336. package/react/DySpace.js +0 -18
  337. package/react/DyStatistic.d.ts +0 -25
  338. package/react/DyStatistic.js +0 -18
  339. package/react/DyStatusLight.d.ts +0 -17
  340. package/react/DyStatusLight.js +0 -18
  341. package/react/DySwitch.d.ts +0 -21
  342. package/react/DySwitch.js +0 -18
  343. package/react/DyTabPanel.d.ts +0 -17
  344. package/react/DyTabPanel.js +0 -18
  345. package/react/DyTable.d.ts +0 -36
  346. package/react/DyTable.js +0 -25
  347. package/react/DyTabs.d.ts +0 -21
  348. package/react/DyTabs.js +0 -18
  349. package/react/DyTag.d.ts +0 -23
  350. package/react/DyTag.js +0 -18
  351. package/react/DyTextMask.d.ts +0 -20
  352. package/react/DyTextMask.js +0 -18
  353. package/react/DyTimePanel.d.ts +0 -19
  354. package/react/DyTimePanel.js +0 -18
  355. package/react/DyTimePicker.d.ts +0 -25
  356. package/react/DyTimePicker.js +0 -22
  357. package/react/DyTimeline.d.ts +0 -17
  358. package/react/DyTimeline.js +0 -18
  359. package/react/DyTitle.d.ts +0 -15
  360. package/react/DyTitle.js +0 -18
  361. package/react/DyToast.d.ts +0 -17
  362. package/react/DyToast.js +0 -18
  363. package/react/DyTooltip.d.ts +0 -15
  364. package/react/DyTooltip.js +0 -18
  365. package/react/DyTree.d.ts +0 -29
  366. package/react/DyTree.js +0 -31
  367. package/react/DyUnsafe.d.ts +0 -15
  368. package/react/DyUnsafe.js +0 -18
  369. package/react/DyUse.d.ts +0 -15
  370. package/react/DyUse.js +0 -18
  371. package/react/DyVestaboard.d.ts +0 -21
  372. package/react/DyVestaboard.js +0 -18
  373. package/react/DyWait.d.ts +0 -17
  374. package/react/DyWait.js +0 -18
  375. package/svelte/action-text.d.ts +0 -13
  376. package/svelte/action-text.js +0 -2
  377. package/svelte/alert.d.ts +0 -13
  378. package/svelte/alert.js +0 -2
  379. package/svelte/area-chart.d.ts +0 -40
  380. package/svelte/area-chart.js +0 -2
  381. package/svelte/avatar.d.ts +0 -16
  382. package/svelte/avatar.js +0 -2
  383. package/svelte/badge.d.ts +0 -17
  384. package/svelte/badge.js +0 -2
  385. package/svelte/banner.d.ts +0 -14
  386. package/svelte/banner.js +0 -2
  387. package/svelte/bar-chart.d.ts +0 -17
  388. package/svelte/bar-chart.js +0 -2
  389. package/svelte/breadcrumbs.d.ts +0 -14
  390. package/svelte/breadcrumbs.js +0 -2
  391. package/svelte/button.d.ts +0 -23
  392. package/svelte/button.js +0 -2
  393. package/svelte/calendar.d.ts +0 -17
  394. package/svelte/calendar.js +0 -2
  395. package/svelte/card.d.ts +0 -18
  396. package/svelte/card.js +0 -2
  397. package/svelte/carousel.d.ts +0 -19
  398. package/svelte/carousel.js +0 -2
  399. package/svelte/cascader-picker.d.ts +0 -19
  400. package/svelte/cascader-picker.js +0 -2
  401. package/svelte/cascader.d.ts +0 -16
  402. package/svelte/cascader.js +0 -2
  403. package/svelte/chart-tooltip.d.ts +0 -9
  404. package/svelte/chart-tooltip.js +0 -2
  405. package/svelte/chart-zoom.d.ts +0 -14
  406. package/svelte/chart-zoom.js +0 -2
  407. package/svelte/checkbox.d.ts +0 -15
  408. package/svelte/checkbox.js +0 -2
  409. package/svelte/coach-mark.d.ts +0 -19
  410. package/svelte/coach-mark.js +0 -2
  411. package/svelte/code-block.d.ts +0 -13
  412. package/svelte/code-block.js +0 -2
  413. package/svelte/collapse.d.ts +0 -13
  414. package/svelte/collapse.js +0 -2
  415. package/svelte/color-panel.d.ts +0 -13
  416. package/svelte/color-panel.js +0 -2
  417. package/svelte/color-picker.d.ts +0 -14
  418. package/svelte/color-picker.js +0 -2
  419. package/svelte/compartment.d.ts +0 -11
  420. package/svelte/compartment.js +0 -2
  421. package/svelte/contextmenu.d.ts +0 -9
  422. package/svelte/contextmenu.js +0 -2
  423. package/svelte/copy.d.ts +0 -15
  424. package/svelte/copy.js +0 -2
  425. package/svelte/countdown.d.ts +0 -13
  426. package/svelte/countdown.js +0 -2
  427. package/svelte/date-panel.d.ts +0 -16
  428. package/svelte/date-panel.js +0 -2
  429. package/svelte/date-picker.d.ts +0 -18
  430. package/svelte/date-picker.js +0 -2
  431. package/svelte/date-range-panel.d.ts +0 -12
  432. package/svelte/date-range-panel.js +0 -2
  433. package/svelte/date-range-picker.d.ts +0 -18
  434. package/svelte/date-range-picker.js +0 -2
  435. package/svelte/divider.d.ts +0 -14
  436. package/svelte/divider.js +0 -2
  437. package/svelte/donut-chart.d.ts +0 -14
  438. package/svelte/donut-chart.js +0 -2
  439. package/svelte/drawer.d.ts +0 -29
  440. package/svelte/drawer.js +0 -2
  441. package/svelte/drop-area.d.ts +0 -17
  442. package/svelte/drop-area.js +0 -2
  443. package/svelte/empty.d.ts +0 -13
  444. package/svelte/empty.js +0 -2
  445. package/svelte/file-picker.d.ts +0 -19
  446. package/svelte/file-picker.js +0 -2
  447. package/svelte/flow.d.ts +0 -18
  448. package/svelte/flow.js +0 -2
  449. package/svelte/form.d.ts +0 -36
  450. package/svelte/form.js +0 -2
  451. package/svelte/gesture.d.ts +0 -9
  452. package/svelte/gesture.js +0 -2
  453. package/svelte/heading.d.ts +0 -11
  454. package/svelte/heading.js +0 -2
  455. package/svelte/help-text.d.ts +0 -11
  456. package/svelte/help-text.js +0 -2
  457. package/svelte/icons.d.ts +0 -9
  458. package/svelte/icons.js +0 -2
  459. package/svelte/image-preview.d.ts +0 -14
  460. package/svelte/image-preview.js +0 -2
  461. package/svelte/input-capture.d.ts +0 -9
  462. package/svelte/input-capture.js +0 -2
  463. package/svelte/input.d.ts +0 -9
  464. package/svelte/input.js +0 -2
  465. package/svelte/keyboard-access.d.ts +0 -13
  466. package/svelte/keyboard-access.js +0 -2
  467. package/svelte/legend.d.ts +0 -18
  468. package/svelte/legend.js +0 -2
  469. package/svelte/line-chart.d.ts +0 -9
  470. package/svelte/line-chart.js +0 -2
  471. package/svelte/link.d.ts +0 -9
  472. package/svelte/link.js +0 -2
  473. package/svelte/list.d.ts +0 -18
  474. package/svelte/list.js +0 -2
  475. package/svelte/loading.d.ts +0 -9
  476. package/svelte/loading.js +0 -2
  477. package/svelte/map.d.ts +0 -26
  478. package/svelte/map.js +0 -2
  479. package/svelte/meter.d.ts +0 -18
  480. package/svelte/meter.js +0 -2
  481. package/svelte/more.d.ts +0 -11
  482. package/svelte/more.js +0 -2
  483. package/svelte/options.d.ts +0 -13
  484. package/svelte/options.js +0 -2
  485. package/svelte/page-loadbar.d.ts +0 -9
  486. package/svelte/page-loadbar.js +0 -2
  487. package/svelte/pagination.d.ts +0 -17
  488. package/svelte/pagination.js +0 -2
  489. package/svelte/paragraph.d.ts +0 -9
  490. package/svelte/paragraph.js +0 -2
  491. package/svelte/pat-console.d.ts +0 -19
  492. package/svelte/pat-console.js +0 -2
  493. package/svelte/pat-filter-form.d.ts +0 -14
  494. package/svelte/pat-filter-form.js +0 -2
  495. package/svelte/pat-footer.d.ts +0 -17
  496. package/svelte/pat-footer.js +0 -2
  497. package/svelte/pat-form.d.ts +0 -13
  498. package/svelte/pat-form.js +0 -2
  499. package/svelte/pat-nav.d.ts +0 -15
  500. package/svelte/pat-nav.js +0 -2
  501. package/svelte/pat-table.d.ts +0 -26
  502. package/svelte/pat-table.js +0 -2
  503. package/svelte/picker.d.ts +0 -20
  504. package/svelte/picker.js +0 -2
  505. package/svelte/placeholder.d.ts +0 -18
  506. package/svelte/placeholder.js +0 -2
  507. package/svelte/popover.d.ts +0 -11
  508. package/svelte/popover.js +0 -2
  509. package/svelte/progress.d.ts +0 -12
  510. package/svelte/progress.js +0 -2
  511. package/svelte/radar-chart.d.ts +0 -16
  512. package/svelte/radar-chart.js +0 -2
  513. package/svelte/radio.d.ts +0 -15
  514. package/svelte/radio.js +0 -2
  515. package/svelte/rate.d.ts +0 -15
  516. package/svelte/rate.js +0 -2
  517. package/svelte/reflect.d.ts +0 -9
  518. package/svelte/reflect.js +0 -2
  519. package/svelte/result.d.ts +0 -15
  520. package/svelte/result.js +0 -2
  521. package/svelte/route.d.ts +0 -9
  522. package/svelte/route.js +0 -2
  523. package/svelte/sankey-chart.d.ts +0 -15
  524. package/svelte/sankey-chart.js +0 -2
  525. package/svelte/scatter-chart.d.ts +0 -11
  526. package/svelte/scatter-chart.js +0 -2
  527. package/svelte/scroll-box.d.ts +0 -9
  528. package/svelte/scroll-box.js +0 -2
  529. package/svelte/segmented.d.ts +0 -16
  530. package/svelte/segmented.js +0 -2
  531. package/svelte/select.d.ts +0 -28
  532. package/svelte/select.js +0 -2
  533. package/svelte/selection-box.d.ts +0 -9
  534. package/svelte/selection-box.js +0 -2
  535. package/svelte/shortcut-record.d.ts +0 -17
  536. package/svelte/shortcut-record.js +0 -2
  537. package/svelte/side-navigation.d.ts +0 -12
  538. package/svelte/side-navigation.js +0 -2
  539. package/svelte/slider.d.ts +0 -20
  540. package/svelte/slider.js +0 -2
  541. package/svelte/sort-box.d.ts +0 -9
  542. package/svelte/sort-box.js +0 -2
  543. package/svelte/space.d.ts +0 -12
  544. package/svelte/space.js +0 -2
  545. package/svelte/statistic.d.ts +0 -19
  546. package/svelte/statistic.js +0 -2
  547. package/svelte/status-light.d.ts +0 -11
  548. package/svelte/status-light.js +0 -2
  549. package/svelte/switch.d.ts +0 -15
  550. package/svelte/switch.js +0 -2
  551. package/svelte/table.d.ts +0 -27
  552. package/svelte/table.js +0 -2
  553. package/svelte/tabs.d.ts +0 -11
  554. package/svelte/tabs.js +0 -2
  555. package/svelte/tag.d.ts +0 -17
  556. package/svelte/tag.js +0 -2
  557. package/svelte/text-mask.d.ts +0 -14
  558. package/svelte/text-mask.js +0 -2
  559. package/svelte/time-panel.d.ts +0 -13
  560. package/svelte/time-panel.js +0 -2
  561. package/svelte/time-picker.d.ts +0 -17
  562. package/svelte/time-picker.js +0 -2
  563. package/svelte/timeline.d.ts +0 -11
  564. package/svelte/timeline.js +0 -2
  565. package/svelte/title.d.ts +0 -9
  566. package/svelte/title.js +0 -2
  567. package/svelte/toast.d.ts +0 -11
  568. package/svelte/toast.js +0 -2
  569. package/svelte/tooltip.d.ts +0 -9
  570. package/svelte/tooltip.js +0 -2
  571. package/svelte/tree.d.ts +0 -18
  572. package/svelte/tree.js +0 -2
  573. package/svelte/unsafe.d.ts +0 -9
  574. package/svelte/unsafe.js +0 -2
  575. package/svelte/use.d.ts +0 -9
  576. package/svelte/use.js +0 -2
  577. package/svelte/vestaboard.d.ts +0 -15
  578. package/svelte/vestaboard.js +0 -2
  579. package/svelte/wait.d.ts +0 -11
  580. package/svelte/wait.js +0 -2
  581. package/vue/DyActionText.vue +0 -44
  582. package/vue/DyActiveLink.vue +0 -42
  583. package/vue/DyAlert.vue +0 -44
  584. package/vue/DyAreaChart.vue +0 -70
  585. package/vue/DyAvatar.vue +0 -48
  586. package/vue/DyAvatarGroup.vue +0 -47
  587. package/vue/DyBadge.vue +0 -48
  588. package/vue/DyBanner.vue +0 -44
  589. package/vue/DyBarChart.vue +0 -48
  590. package/vue/DyBreadcrumbs.vue +0 -45
  591. package/vue/DyButton.vue +0 -54
  592. package/vue/DyCalendar.vue +0 -47
  593. package/vue/DyCard.vue +0 -49
  594. package/vue/DyCarousel.vue +0 -49
  595. package/vue/DyCascader.vue +0 -46
  596. package/vue/DyCascaderPicker.vue +0 -53
  597. package/vue/DyChartTooltip.vue +0 -42
  598. package/vue/DyChartZoom.vue +0 -44
  599. package/vue/DyCheckbox.vue +0 -45
  600. package/vue/DyCheckboxGroup.vue +0 -45
  601. package/vue/DyCoachMark.vue +0 -49
  602. package/vue/DyCodeBlock.vue +0 -44
  603. package/vue/DyCollapse.vue +0 -44
  604. package/vue/DyCollapsePanel.vue +0 -44
  605. package/vue/DyColorPanel.vue +0 -43
  606. package/vue/DyColorPicker.vue +0 -48
  607. package/vue/DyCompartment.vue +0 -42
  608. package/vue/DyContextmenu.vue +0 -42
  609. package/vue/DyCopy.vue +0 -45
  610. package/vue/DyCountdown.vue +0 -43
  611. package/vue/DyDatePanel.vue +0 -46
  612. package/vue/DyDatePicker.vue +0 -52
  613. package/vue/DyDateRangePanel.vue +0 -42
  614. package/vue/DyDateRangePicker.vue +0 -52
  615. package/vue/DyDivider.vue +0 -45
  616. package/vue/DyDonutChart.vue +0 -45
  617. package/vue/DyDrawer.vue +0 -59
  618. package/vue/DyDropArea.vue +0 -47
  619. package/vue/DyEmpty.vue +0 -44
  620. package/vue/DyFilePicker.vue +0 -53
  621. package/vue/DyFlow.vue +0 -49
  622. package/vue/DyFlowCanvas.vue +0 -53
  623. package/vue/DyForm.vue +0 -66
  624. package/vue/DyFormItem.vue +0 -85
  625. package/vue/DyFormItemInlineGroup.vue +0 -42
  626. package/vue/DyGesture.vue +0 -42
  627. package/vue/DyHeading.vue +0 -42
  628. package/vue/DyHelpText.vue +0 -42
  629. package/vue/DyIcons.vue +0 -42
  630. package/vue/DyImagePreview.vue +0 -45
  631. package/vue/DyInput.vue +0 -60
  632. package/vue/DyInputCapture.vue +0 -42
  633. package/vue/DyInputGroup.vue +0 -42
  634. package/vue/DyKeyboardAccess.vue +0 -43
  635. package/vue/DyLegend.vue +0 -48
  636. package/vue/DyLightRoute.vue +0 -42
  637. package/vue/DyLineChart.vue +0 -42
  638. package/vue/DyLink.vue +0 -42
  639. package/vue/DyList.vue +0 -55
  640. package/vue/DyListItem.vue +0 -48
  641. package/vue/DyListOutside.vue +0 -42
  642. package/vue/DyLoading.vue +0 -42
  643. package/vue/DyMap.vue +0 -56
  644. package/vue/DyMeter.vue +0 -49
  645. package/vue/DyMore.vue +0 -45
  646. package/vue/DyMoreSlot.vue +0 -42
  647. package/vue/DyOptions.vue +0 -44
  648. package/vue/DyPageLoadbar.vue +0 -42
  649. package/vue/DyPagination.vue +0 -47
  650. package/vue/DyParagraph.vue +0 -42
  651. package/vue/DyPatConsole.vue +0 -50
  652. package/vue/DyPatFilterForm.vue +0 -44
  653. package/vue/DyPatFooter.vue +0 -47
  654. package/vue/DyPatForm.vue +0 -44
  655. package/vue/DyPatNav.vue +0 -46
  656. package/vue/DyPatTable.vue +0 -56
  657. package/vue/DyPicker.vue +0 -54
  658. package/vue/DyPlaceholder.vue +0 -49
  659. package/vue/DyPopover.vue +0 -53
  660. package/vue/DyPopoverGhost.vue +0 -42
  661. package/vue/DyProgress.vue +0 -43
  662. package/vue/DyRadarChart.vue +0 -47
  663. package/vue/DyRadio.vue +0 -44
  664. package/vue/DyRadioGroup.vue +0 -45
  665. package/vue/DyRate.vue +0 -45
  666. package/vue/DyReflect.vue +0 -42
  667. package/vue/DyResult.vue +0 -46
  668. package/vue/DyRoute.vue +0 -42
  669. package/vue/DySankeyChart.vue +0 -46
  670. package/vue/DyScatterChart.vue +0 -42
  671. package/vue/DyScrollBox.vue +0 -42
  672. package/vue/DySegmented.vue +0 -46
  673. package/vue/DySelect.vue +0 -62
  674. package/vue/DySelectionBox.vue +0 -42
  675. package/vue/DySelectionBoxMask.vue +0 -42
  676. package/vue/DyShortcutRecord.vue +0 -47
  677. package/vue/DySideNavigation.vue +0 -43
  678. package/vue/DySlider.vue +0 -50
  679. package/vue/DySortBox.vue +0 -42
  680. package/vue/DySortHandle.vue +0 -42
  681. package/vue/DySortItem.vue +0 -42
  682. package/vue/DySpace.vue +0 -43
  683. package/vue/DyStatistic.vue +0 -50
  684. package/vue/DyStatusLight.vue +0 -42
  685. package/vue/DySwitch.vue +0 -45
  686. package/vue/DyTabPanel.vue +0 -42
  687. package/vue/DyTable.vue +0 -66
  688. package/vue/DyTabs.vue +0 -45
  689. package/vue/DyTag.vue +0 -47
  690. package/vue/DyTextMask.vue +0 -45
  691. package/vue/DyTimePanel.vue +0 -43
  692. package/vue/DyTimePicker.vue +0 -51
  693. package/vue/DyTimeline.vue +0 -42
  694. package/vue/DyTitle.vue +0 -42
  695. package/vue/DyToast.vue +0 -42
  696. package/vue/DyTooltip.vue +0 -42
  697. package/vue/DyTree.vue +0 -67
  698. package/vue/DyUnsafe.vue +0 -42
  699. package/vue/DyUse.vue +0 -42
  700. package/vue/DyVestaboard.vue +0 -46
  701. package/vue/DyWait.vue +0 -42
package/react/DyForm.d.ts DELETED
@@ -1,24 +0,0 @@
1
- import { HTMLAttributes, RefAttributes } from 'react';
2
- import { ForwardRefExoticComponent } from 'react';
3
- import { DuoyunFormElement } from '../elements/form';
4
- export * from '../elements/form';
5
- export type DyFormProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunFormElement> & {
6
- inline?: DuoyunFormElement['inline'];
7
- 'onchange'?: (event: CustomEvent<Parameters<DuoyunFormElement['change']>[0]>) => void;
8
- };
9
- export type DyFormExpose = {
10
- valid: DuoyunFormElement['valid'];
11
- clearInvalidMessage: DuoyunFormElement['clearInvalidMessage'];
12
- items: DuoyunFormElement['items'];
13
- elements: DuoyunFormElement['elements'];
14
- data: DuoyunFormElement['data'];
15
- };
16
- declare global {
17
- namespace JSX {
18
- interface IntrinsicElements {
19
- 'dy-form': DyFormProps;
20
- }
21
- }
22
- }
23
- export declare const DyForm: ForwardRefExoticComponent<Omit<DyFormProps, "ref"> & RefAttributes<DyFormExpose>>;
24
- export default DyForm;
package/react/DyForm.js DELETED
@@ -1,34 +0,0 @@
1
- import React from 'react';
2
- import { forwardRef, useImperativeHandle, useRef, useLayoutEffect } from 'react';
3
- export * from '../elements/form';
4
- export const DyForm = forwardRef(function (props, ref) {
5
- const elementRef = useRef(null);
6
- useImperativeHandle(ref, () => {
7
- return {
8
- valid(...args) {
9
- return elementRef.current.valid(...args);
10
- },
11
- clearInvalidMessage(...args) {
12
- return elementRef.current.clearInvalidMessage(...args);
13
- },
14
- get items() {
15
- return elementRef.current.items;
16
- },
17
- get elements() {
18
- return elementRef.current.elements;
19
- },
20
- get data() {
21
- return elementRef.current.data;
22
- },
23
- };
24
- }, []);
25
- // React Bug?
26
- useLayoutEffect(() => {
27
- const element = elementRef.current;
28
- ["inline"].map(name => {
29
- element[name] = props[name];
30
- });
31
- }, []);
32
- return React.createElement("dy-form", { ref: elementRef, ...props });
33
- });
34
- export default DyForm;
@@ -1,47 +0,0 @@
1
- import { HTMLAttributes, RefAttributes } from 'react';
2
- import { ForwardRefExoticComponent } from 'react';
3
- import { DuoyunFormItemElement } from '../elements/form';
4
- export * from '../elements/form';
5
- export type DyFormItemProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunFormItemElement> & {
6
- type?: DuoyunFormItemElement['type'];
7
- multiple?: DuoyunFormItemElement['multiple'];
8
- name?: DuoyunFormItemElement['name'];
9
- label?: DuoyunFormItemElement['label'];
10
- placeholder?: DuoyunFormItemElement['placeholder'];
11
- required?: DuoyunFormItemElement['required'];
12
- checked?: DuoyunFormItemElement['checked'];
13
- autofocus?: DuoyunFormItemElement['autofocus'];
14
- disabled?: DuoyunFormItemElement['disabled'];
15
- searchable?: DuoyunFormItemElement['searchable'];
16
- clearable?: DuoyunFormItemElement['clearable'];
17
- loading?: DuoyunFormItemElement['loading'];
18
- invalid?: DuoyunFormItemElement['invalid'];
19
- value?: DuoyunFormItemElement['value'];
20
- renderLabel?: DuoyunFormItemElement['renderLabel'];
21
- rows?: DuoyunFormItemElement['rows'];
22
- step?: DuoyunFormItemElement['step'];
23
- min?: DuoyunFormItemElement['min'];
24
- max?: DuoyunFormItemElement['max'];
25
- /**@deprecated */
26
- dataList?: DuoyunFormItemElement['dataList'];
27
- options?: DuoyunFormItemElement['options'];
28
- adder?: DuoyunFormItemElement['adder'];
29
- 'onitemchange'?: (event: CustomEvent<Parameters<DuoyunFormItemElement['itemchange']>[0]>) => void;
30
- 'onsearch'?: (event: CustomEvent<Parameters<DuoyunFormItemElement['search']>[0]>) => void;
31
- rules?: DuoyunFormItemElement['rules'];
32
- };
33
- export type DyFormItemExpose = {
34
- focus: DuoyunFormItemElement['focus'];
35
- clearInvalidMessage: DuoyunFormItemElement['clearInvalidMessage'];
36
- valid: DuoyunFormItemElement['valid'];
37
- data: DuoyunFormItemElement['data'];
38
- };
39
- declare global {
40
- namespace JSX {
41
- interface IntrinsicElements {
42
- 'dy-form-item': DyFormItemProps;
43
- }
44
- }
45
- }
46
- export declare const DyFormItem: ForwardRefExoticComponent<Omit<DyFormItemProps, "ref"> & RefAttributes<DyFormItemExpose>>;
47
- export default DyFormItem;
@@ -1,31 +0,0 @@
1
- import React from 'react';
2
- import { forwardRef, useImperativeHandle, useRef, useLayoutEffect } from 'react';
3
- export * from '../elements/form';
4
- export const DyFormItem = forwardRef(function (props, ref) {
5
- const elementRef = useRef(null);
6
- useImperativeHandle(ref, () => {
7
- return {
8
- focus(...args) {
9
- return elementRef.current.focus(...args);
10
- },
11
- clearInvalidMessage(...args) {
12
- return elementRef.current.clearInvalidMessage(...args);
13
- },
14
- valid(...args) {
15
- return elementRef.current.valid(...args);
16
- },
17
- get data() {
18
- return elementRef.current.data;
19
- },
20
- };
21
- }, []);
22
- // React Bug?
23
- useLayoutEffect(() => {
24
- const element = elementRef.current;
25
- ["type", "multiple", "name", "label", "placeholder", "required", "checked", "autofocus", "disabled", "searchable", "clearable", "loading", "invalid", "value", "renderLabel", "rows", "step", "min", "max", "dataList", "options", "adder", "rules"].map(name => {
26
- element[name] = props[name];
27
- });
28
- }, []);
29
- return React.createElement("dy-form-item", { ref: elementRef, ...props });
30
- });
31
- export default DyFormItem;
@@ -1,15 +0,0 @@
1
- import { HTMLAttributes, RefAttributes } from 'react';
2
- import { ForwardRefExoticComponent } from 'react';
3
- import { DuoyunFormItemInlineGroupElement } from '../elements/form';
4
- export * from '../elements/form';
5
- export type DyFormItemInlineGroupProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunFormItemInlineGroupElement> & {};
6
- export type DyFormItemInlineGroupExpose = {};
7
- declare global {
8
- namespace JSX {
9
- interface IntrinsicElements {
10
- 'dy-form-item-inline-group': DyFormItemInlineGroupProps;
11
- }
12
- }
13
- }
14
- export declare const DyFormItemInlineGroup: ForwardRefExoticComponent<Omit<DyFormItemInlineGroupProps, "ref"> & RefAttributes<DyFormItemInlineGroupExpose>>;
15
- export default DyFormItemInlineGroup;
@@ -1,18 +0,0 @@
1
- import React from 'react';
2
- import { forwardRef, useImperativeHandle, useRef, useLayoutEffect } from 'react';
3
- export * from '../elements/form';
4
- export const DyFormItemInlineGroup = 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-form-item-inline-group", { ref: elementRef, ...props });
17
- });
18
- export default DyFormItemInlineGroup;
@@ -1,15 +0,0 @@
1
- import { HTMLAttributes, RefAttributes } from 'react';
2
- import { ForwardRefExoticComponent } from 'react';
3
- import { DuoyunGestureElement } from '../elements/gesture';
4
- export * from '../elements/gesture';
5
- export type DyGestureProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunGestureElement> & {};
6
- export type DyGestureExpose = {};
7
- declare global {
8
- namespace JSX {
9
- interface IntrinsicElements {
10
- 'dy-gesture': DyGestureProps;
11
- }
12
- }
13
- }
14
- export declare const DyGesture: ForwardRefExoticComponent<Omit<DyGestureProps, "ref"> & RefAttributes<DyGestureExpose>>;
15
- export default DyGesture;
@@ -1,18 +0,0 @@
1
- import React from 'react';
2
- import { forwardRef, useImperativeHandle, useRef, useLayoutEffect } from 'react';
3
- export * from '../elements/gesture';
4
- export const DyGesture = 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-gesture", { ref: elementRef, ...props });
17
- });
18
- export default DyGesture;
@@ -1,17 +0,0 @@
1
- import { HTMLAttributes, RefAttributes } from 'react';
2
- import { ForwardRefExoticComponent } from 'react';
3
- import { DuoyunHeadingElement } from '../elements/heading';
4
- export * from '../elements/heading';
5
- export type DyHeadingProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunHeadingElement> & {
6
- lv?: DuoyunHeadingElement['lv'];
7
- };
8
- export type DyHeadingExpose = {};
9
- declare global {
10
- namespace JSX {
11
- interface IntrinsicElements {
12
- 'dy-heading': DyHeadingProps;
13
- }
14
- }
15
- }
16
- export declare const DyHeading: ForwardRefExoticComponent<Omit<DyHeadingProps, "ref"> & RefAttributes<DyHeadingExpose>>;
17
- export default DyHeading;
@@ -1,18 +0,0 @@
1
- import React from 'react';
2
- import { forwardRef, useImperativeHandle, useRef, useLayoutEffect } from 'react';
3
- export * from '../elements/heading';
4
- export const DyHeading = 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
- ["lv"].map(name => {
13
- element[name] = props[name];
14
- });
15
- }, []);
16
- return React.createElement("dy-heading", { ref: elementRef, ...props });
17
- });
18
- export default DyHeading;
@@ -1,17 +0,0 @@
1
- import { HTMLAttributes, RefAttributes } from 'react';
2
- import { ForwardRefExoticComponent } from 'react';
3
- import { DuoyunHelpTextElement } from '../elements/help-text';
4
- export * from '../elements/help-text';
5
- export type DyHelpTextProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunHelpTextElement> & {
6
- status?: DuoyunHelpTextElement['status'];
7
- };
8
- export type DyHelpTextExpose = {};
9
- declare global {
10
- namespace JSX {
11
- interface IntrinsicElements {
12
- 'dy-help-text': DyHelpTextProps;
13
- }
14
- }
15
- }
16
- export declare const DyHelpText: ForwardRefExoticComponent<Omit<DyHelpTextProps, "ref"> & RefAttributes<DyHelpTextExpose>>;
17
- export default DyHelpText;
@@ -1,18 +0,0 @@
1
- import React from 'react';
2
- import { forwardRef, useImperativeHandle, useRef, useLayoutEffect } from 'react';
3
- export * from '../elements/help-text';
4
- export const DyHelpText = 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"].map(name => {
13
- element[name] = props[name];
14
- });
15
- }, []);
16
- return React.createElement("dy-help-text", { ref: elementRef, ...props });
17
- });
18
- export default DyHelpText;
@@ -1,15 +0,0 @@
1
- import { HTMLAttributes, RefAttributes } from 'react';
2
- import { ForwardRefExoticComponent } from 'react';
3
- import { DuoyunIconsElement } from '../elements/icons';
4
- export * from '../elements/icons';
5
- export type DyIconsProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunIconsElement> & {};
6
- export type DyIconsExpose = {};
7
- declare global {
8
- namespace JSX {
9
- interface IntrinsicElements {
10
- 'dy-icons': DyIconsProps;
11
- }
12
- }
13
- }
14
- export declare const DyIcons: ForwardRefExoticComponent<Omit<DyIconsProps, "ref"> & RefAttributes<DyIconsExpose>>;
15
- export default DyIcons;
package/react/DyIcons.js DELETED
@@ -1,18 +0,0 @@
1
- import React from 'react';
2
- import { forwardRef, useImperativeHandle, useRef, useLayoutEffect } from 'react';
3
- export * from '../elements/icons';
4
- export const DyIcons = 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-icons", { ref: elementRef, ...props });
17
- });
18
- export default DyIcons;
@@ -1,20 +0,0 @@
1
- import { HTMLAttributes, RefAttributes } from 'react';
2
- import { ForwardRefExoticComponent } from 'react';
3
- import { DuoyunImagePreviewElement } from '../elements/image-preview';
4
- export * from '../elements/image-preview';
5
- export type DyImagePreviewProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunImagePreviewElement> & {
6
- status?: DuoyunImagePreviewElement['status'];
7
- progress?: DuoyunImagePreviewElement['progress'];
8
- file?: DuoyunImagePreviewElement['file'];
9
- actions?: DuoyunImagePreviewElement['actions'];
10
- };
11
- export type DyImagePreviewExpose = {};
12
- declare global {
13
- namespace JSX {
14
- interface IntrinsicElements {
15
- 'dy-image-preview': DyImagePreviewProps;
16
- }
17
- }
18
- }
19
- export declare const DyImagePreview: ForwardRefExoticComponent<Omit<DyImagePreviewProps, "ref"> & RefAttributes<DyImagePreviewExpose>>;
20
- export default DyImagePreview;
@@ -1,18 +0,0 @@
1
- import React from 'react';
2
- import { forwardRef, useImperativeHandle, useRef, useLayoutEffect } from 'react';
3
- export * from '../elements/image-preview';
4
- export const DyImagePreview = 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", "progress", "file", "actions"].map(name => {
13
- element[name] = props[name];
14
- });
15
- }, []);
16
- return React.createElement("dy-image-preview", { ref: elementRef, ...props });
17
- });
18
- export default DyImagePreview;
@@ -1,36 +0,0 @@
1
- import { HTMLAttributes, RefAttributes } from 'react';
2
- import { ForwardRefExoticComponent } from 'react';
3
- import { DuoyunInputElement } from '../elements/input';
4
- export * from '../elements/input';
5
- export type DyInputProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunInputElement> & {
6
- 'onchange'?: (event: CustomEvent<Parameters<DuoyunInputElement['change']>[0]>) => void;
7
- 'onclear'?: (event: CustomEvent<Parameters<DuoyunInputElement['clear']>[0]>) => void;
8
- name?: DuoyunInputElement['name'];
9
- value?: DuoyunInputElement['value'];
10
- type?: DuoyunInputElement['type'];
11
- placeholder?: DuoyunInputElement['placeholder'];
12
- spellcheck?: DuoyunInputElement['spellcheck'];
13
- required?: DuoyunInputElement['required'];
14
- disabled?: DuoyunInputElement['disabled'];
15
- autofocus?: DuoyunInputElement['autofocus'];
16
- clearable?: DuoyunInputElement['clearable'];
17
- alwayclearable?: DuoyunInputElement['alwayclearable'];
18
- rows?: DuoyunInputElement['rows'];
19
- step?: DuoyunInputElement['step'];
20
- min?: DuoyunInputElement['min'];
21
- max?: DuoyunInputElement['max'];
22
- dataList?: DuoyunInputElement['dataList'];
23
- icon?: DuoyunInputElement['icon'];
24
- filled?: DuoyunInputElement['filled'];
25
- composing?: DuoyunInputElement['composing'];
26
- };
27
- export type DyInputExpose = {};
28
- declare global {
29
- namespace JSX {
30
- interface IntrinsicElements {
31
- 'dy-input': DyInputProps;
32
- }
33
- }
34
- }
35
- export declare const DyInput: ForwardRefExoticComponent<Omit<DyInputProps, "ref"> & RefAttributes<DyInputExpose>>;
36
- export default DyInput;
package/react/DyInput.js DELETED
@@ -1,18 +0,0 @@
1
- import React from 'react';
2
- import { forwardRef, useImperativeHandle, useRef, useLayoutEffect } from 'react';
3
- export * from '../elements/input';
4
- export const DyInput = 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
- ["name", "value", "type", "placeholder", "spellcheck", "required", "disabled", "autofocus", "clearable", "alwayclearable", "rows", "step", "min", "max", "dataList", "icon", "filled", "composing"].map(name => {
13
- element[name] = props[name];
14
- });
15
- }, []);
16
- return React.createElement("dy-input", { ref: elementRef, ...props });
17
- });
18
- export default DyInput;
@@ -1,15 +0,0 @@
1
- import { HTMLAttributes, RefAttributes } from 'react';
2
- import { ForwardRefExoticComponent } from 'react';
3
- import { DuoyunInputCaptureElement } from '../elements/input-capture';
4
- export * from '../elements/input-capture';
5
- export type DyInputCaptureProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunInputCaptureElement> & {};
6
- export type DyInputCaptureExpose = {};
7
- declare global {
8
- namespace JSX {
9
- interface IntrinsicElements {
10
- 'dy-input-capture': DyInputCaptureProps;
11
- }
12
- }
13
- }
14
- export declare const DyInputCapture: ForwardRefExoticComponent<Omit<DyInputCaptureProps, "ref"> & RefAttributes<DyInputCaptureExpose>>;
15
- export default DyInputCapture;
@@ -1,18 +0,0 @@
1
- import React from 'react';
2
- import { forwardRef, useImperativeHandle, useRef, useLayoutEffect } from 'react';
3
- export * from '../elements/input-capture';
4
- export const DyInputCapture = 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-input-capture", { ref: elementRef, ...props });
17
- });
18
- export default DyInputCapture;
@@ -1,15 +0,0 @@
1
- import { HTMLAttributes, RefAttributes } from 'react';
2
- import { ForwardRefExoticComponent } from 'react';
3
- import { DuoyunInputGroupElement } from '../elements/input';
4
- export * from '../elements/input';
5
- export type DyInputGroupProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunInputGroupElement> & {};
6
- export type DyInputGroupExpose = {};
7
- declare global {
8
- namespace JSX {
9
- interface IntrinsicElements {
10
- 'dy-input-group': DyInputGroupProps;
11
- }
12
- }
13
- }
14
- export declare const DyInputGroup: ForwardRefExoticComponent<Omit<DyInputGroupProps, "ref"> & RefAttributes<DyInputGroupExpose>>;
15
- export default DyInputGroup;
@@ -1,18 +0,0 @@
1
- import React from 'react';
2
- import { forwardRef, useImperativeHandle, useRef, useLayoutEffect } from 'react';
3
- export * from '../elements/input';
4
- export const DyInputGroup = 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-input-group", { ref: elementRef, ...props });
17
- });
18
- export default DyInputGroup;
@@ -1,19 +0,0 @@
1
- import { HTMLAttributes, RefAttributes } from 'react';
2
- import { ForwardRefExoticComponent } from 'react';
3
- import { DuoyunKeyboardAccessElement } from '../elements/keyboard-access';
4
- export * from '../elements/keyboard-access';
5
- export type DyKeyboardAccessProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunKeyboardAccessElement> & {
6
- activekey?: DuoyunKeyboardAccessElement['activekey'];
7
- scrollContainer?: DuoyunKeyboardAccessElement['scrollContainer'];
8
- 'onnavigation'?: (event: CustomEvent<Parameters<DuoyunKeyboardAccessElement['navigation']>[0]>) => void;
9
- };
10
- export type DyKeyboardAccessExpose = {};
11
- declare global {
12
- namespace JSX {
13
- interface IntrinsicElements {
14
- 'dy-keyboard-access': DyKeyboardAccessProps;
15
- }
16
- }
17
- }
18
- export declare const DyKeyboardAccess: ForwardRefExoticComponent<Omit<DyKeyboardAccessProps, "ref"> & RefAttributes<DyKeyboardAccessExpose>>;
19
- export default DyKeyboardAccess;
@@ -1,18 +0,0 @@
1
- import React from 'react';
2
- import { forwardRef, useImperativeHandle, useRef, useLayoutEffect } from 'react';
3
- export * from '../elements/keyboard-access';
4
- export const DyKeyboardAccess = 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
- ["activekey", "scrollContainer"].map(name => {
13
- element[name] = props[name];
14
- });
15
- }, []);
16
- return React.createElement("dy-keyboard-access", { ref: elementRef, ...props });
17
- });
18
- export default DyKeyboardAccess;
@@ -1,24 +0,0 @@
1
- import { HTMLAttributes, RefAttributes } from 'react';
2
- import { ForwardRefExoticComponent } from 'react';
3
- import { DuoyunLegendElement } from '../elements/legend';
4
- export * from '../elements/legend';
5
- export type DyLegendProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunLegendElement> & {
6
- colors?: DuoyunLegendElement['colors'];
7
- legends?: DuoyunLegendElement['legends'];
8
- value?: DuoyunLegendElement['value'];
9
- 'onchange'?: (event: CustomEvent<Parameters<DuoyunLegendElement['change']>[0]>) => void;
10
- topOverflow?: DuoyunLegendElement['topOverflow'];
11
- rightOverflow?: DuoyunLegendElement['rightOverflow'];
12
- bottomOverflow?: DuoyunLegendElement['bottomOverflow'];
13
- leftOverflow?: DuoyunLegendElement['leftOverflow'];
14
- };
15
- export type DyLegendExpose = {};
16
- declare global {
17
- namespace JSX {
18
- interface IntrinsicElements {
19
- 'dy-legend': DyLegendProps;
20
- }
21
- }
22
- }
23
- export declare const DyLegend: ForwardRefExoticComponent<Omit<DyLegendProps, "ref"> & RefAttributes<DyLegendExpose>>;
24
- export default DyLegend;
package/react/DyLegend.js DELETED
@@ -1,18 +0,0 @@
1
- import React from 'react';
2
- import { forwardRef, useImperativeHandle, useRef, useLayoutEffect } from 'react';
3
- export * from '../elements/legend';
4
- export const DyLegend = 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
- ["colors", "legends", "value", "topOverflow", "rightOverflow", "bottomOverflow", "leftOverflow"].map(name => {
13
- element[name] = props[name];
14
- });
15
- }, []);
16
- return React.createElement("dy-legend", { ref: elementRef, ...props });
17
- });
18
- export default DyLegend;
@@ -1,15 +0,0 @@
1
- import { HTMLAttributes, RefAttributes } from 'react';
2
- import { ForwardRefExoticComponent } from 'react';
3
- import { DuoyunLightRouteElement } from '../elements/route';
4
- export * from '../elements/route';
5
- export type DyLightRouteProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunLightRouteElement> & {};
6
- export type DyLightRouteExpose = {};
7
- declare global {
8
- namespace JSX {
9
- interface IntrinsicElements {
10
- 'dy-light-route': DyLightRouteProps;
11
- }
12
- }
13
- }
14
- export declare const DyLightRoute: ForwardRefExoticComponent<Omit<DyLightRouteProps, "ref"> & RefAttributes<DyLightRouteExpose>>;
15
- export default DyLightRoute;
@@ -1,18 +0,0 @@
1
- import React from 'react';
2
- import { forwardRef, useImperativeHandle, useRef, useLayoutEffect } from 'react';
3
- export * from '../elements/route';
4
- export const DyLightRoute = 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-light-route", { ref: elementRef, ...props });
17
- });
18
- export default DyLightRoute;
@@ -1,15 +0,0 @@
1
- import { HTMLAttributes, RefAttributes } from 'react';
2
- import { ForwardRefExoticComponent } from 'react';
3
- import { DuoyunLineChartElement } from '../elements/line-chart';
4
- export * from '../elements/line-chart';
5
- export type DyLineChartProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunLineChartElement> & {};
6
- export type DyLineChartExpose = {};
7
- declare global {
8
- namespace JSX {
9
- interface IntrinsicElements {
10
- 'dy-line-chart': DyLineChartProps;
11
- }
12
- }
13
- }
14
- export declare const DyLineChart: ForwardRefExoticComponent<Omit<DyLineChartProps, "ref"> & RefAttributes<DyLineChartExpose>>;
15
- export default DyLineChart;
@@ -1,18 +0,0 @@
1
- import React from 'react';
2
- import { forwardRef, useImperativeHandle, useRef, useLayoutEffect } from 'react';
3
- export * from '../elements/line-chart';
4
- export const DyLineChart = 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-line-chart", { ref: elementRef, ...props });
17
- });
18
- export default DyLineChart;