duoyun-ui 2.2.2 → 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 (604) hide show
  1. package/elements/base/scroll.d.ts.map +1 -1
  2. package/elements/base/scroll.js +0 -1
  3. package/elements/base/scroll.js.map +1 -1
  4. package/elements/code-block.js +1 -1
  5. package/elements/code-block.js.map +1 -1
  6. package/elements/input.js +1 -1
  7. package/elements/letters.d.ts +38 -0
  8. package/elements/letters.d.ts.map +1 -0
  9. package/elements/letters.js +723 -0
  10. package/elements/letters.js.map +1 -0
  11. package/elements/rolling-number.d.ts +14 -0
  12. package/elements/rolling-number.d.ts.map +1 -0
  13. package/elements/rolling-number.js +486 -0
  14. package/elements/rolling-number.js.map +1 -0
  15. package/elements/segmented.d.ts.map +1 -1
  16. package/elements/segmented.js +1 -0
  17. package/elements/segmented.js.map +1 -1
  18. package/elements/timeline.d.ts.map +1 -1
  19. package/elements/timeline.js +0 -1
  20. package/elements/timeline.js.map +1 -1
  21. package/lib/decorators.d.ts +3 -0
  22. package/lib/decorators.d.ts.map +1 -0
  23. package/lib/decorators.js +17 -0
  24. package/lib/decorators.js.map +1 -0
  25. package/lib/easing.d.ts +79 -0
  26. package/lib/easing.d.ts.map +1 -0
  27. package/lib/easing.js +140 -0
  28. package/lib/easing.js.map +1 -0
  29. package/lib/utils.d.ts +3 -2
  30. package/lib/utils.d.ts.map +1 -1
  31. package/lib/utils.js +12 -8
  32. package/lib/utils.js.map +1 -1
  33. package/package.json +2 -2
  34. package/patterns/form.js +2 -2
  35. package/patterns/form.js.map +1 -1
  36. package/react/DyActionText.d.ts +0 -19
  37. package/react/DyActionText.js +0 -18
  38. package/react/DyActiveLink.d.ts +0 -15
  39. package/react/DyActiveLink.js +0 -18
  40. package/react/DyAlert.d.ts +0 -19
  41. package/react/DyAlert.js +0 -18
  42. package/react/DyAreaChart.d.ts +0 -46
  43. package/react/DyAreaChart.js +0 -18
  44. package/react/DyAvatar.d.ts +0 -23
  45. package/react/DyAvatar.js +0 -18
  46. package/react/DyAvatarGroup.d.ts +0 -22
  47. package/react/DyAvatarGroup.js +0 -18
  48. package/react/DyBadge.d.ts +0 -23
  49. package/react/DyBadge.js +0 -18
  50. package/react/DyBanner.d.ts +0 -20
  51. package/react/DyBanner.js +0 -18
  52. package/react/DyBarChart.d.ts +0 -23
  53. package/react/DyBarChart.js +0 -18
  54. package/react/DyBreadcrumbs.d.ts +0 -20
  55. package/react/DyBreadcrumbs.js +0 -18
  56. package/react/DyButton.d.ts +0 -29
  57. package/react/DyButton.js +0 -18
  58. package/react/DyCalendar.d.ts +0 -23
  59. package/react/DyCalendar.js +0 -18
  60. package/react/DyCard.d.ts +0 -24
  61. package/react/DyCard.js +0 -18
  62. package/react/DyCarousel.d.ts +0 -25
  63. package/react/DyCarousel.js +0 -18
  64. package/react/DyCascader.d.ts +0 -22
  65. package/react/DyCascader.js +0 -18
  66. package/react/DyCascaderPicker.d.ts +0 -27
  67. package/react/DyCascaderPicker.js +0 -22
  68. package/react/DyChartTooltip.d.ts +0 -15
  69. package/react/DyChartTooltip.js +0 -18
  70. package/react/DyChartZoom.d.ts +0 -20
  71. package/react/DyChartZoom.js +0 -18
  72. package/react/DyCheckbox.d.ts +0 -21
  73. package/react/DyCheckbox.js +0 -18
  74. package/react/DyCheckboxGroup.d.ts +0 -21
  75. package/react/DyCheckboxGroup.js +0 -18
  76. package/react/DyCoachMark.d.ts +0 -25
  77. package/react/DyCoachMark.js +0 -18
  78. package/react/DyCodeBlock.d.ts +0 -19
  79. package/react/DyCodeBlock.js +0 -18
  80. package/react/DyCollapse.d.ts +0 -19
  81. package/react/DyCollapse.js +0 -18
  82. package/react/DyCollapsePanel.d.ts +0 -20
  83. package/react/DyCollapsePanel.js +0 -18
  84. package/react/DyColorPanel.d.ts +0 -19
  85. package/react/DyColorPanel.js +0 -18
  86. package/react/DyColorPicker.d.ts +0 -22
  87. package/react/DyColorPicker.js +0 -22
  88. package/react/DyCompartment.d.ts +0 -17
  89. package/react/DyCompartment.js +0 -18
  90. package/react/DyContextmenu.d.ts +0 -15
  91. package/react/DyContextmenu.js +0 -18
  92. package/react/DyCopy.d.ts +0 -21
  93. package/react/DyCopy.js +0 -18
  94. package/react/DyCountdown.d.ts +0 -19
  95. package/react/DyCountdown.js +0 -18
  96. package/react/DyDatePanel.d.ts +0 -22
  97. package/react/DyDatePanel.js +0 -18
  98. package/react/DyDatePicker.d.ts +0 -26
  99. package/react/DyDatePicker.js +0 -22
  100. package/react/DyDateRangePanel.d.ts +0 -18
  101. package/react/DyDateRangePanel.js +0 -18
  102. package/react/DyDateRangePicker.d.ts +0 -26
  103. package/react/DyDateRangePicker.js +0 -22
  104. package/react/DyDivider.d.ts +0 -20
  105. package/react/DyDivider.js +0 -18
  106. package/react/DyDonutChart.d.ts +0 -20
  107. package/react/DyDonutChart.js +0 -18
  108. package/react/DyDrawer.d.ts +0 -35
  109. package/react/DyDrawer.js +0 -18
  110. package/react/DyDropArea.d.ts +0 -23
  111. package/react/DyDropArea.js +0 -18
  112. package/react/DyEmpty.d.ts +0 -19
  113. package/react/DyEmpty.js +0 -18
  114. package/react/DyFilePicker.d.ts +0 -27
  115. package/react/DyFilePicker.js +0 -22
  116. package/react/DyFlow.d.ts +0 -24
  117. package/react/DyFlow.js +0 -18
  118. package/react/DyFlowCanvas.d.ts +0 -29
  119. package/react/DyFlowCanvas.js +0 -18
  120. package/react/DyForm.d.ts +0 -24
  121. package/react/DyForm.js +0 -34
  122. package/react/DyFormItem.d.ts +0 -47
  123. package/react/DyFormItem.js +0 -31
  124. package/react/DyFormItemInlineGroup.d.ts +0 -15
  125. package/react/DyFormItemInlineGroup.js +0 -18
  126. package/react/DyGesture.d.ts +0 -15
  127. package/react/DyGesture.js +0 -18
  128. package/react/DyHeading.d.ts +0 -17
  129. package/react/DyHeading.js +0 -18
  130. package/react/DyHelpText.d.ts +0 -17
  131. package/react/DyHelpText.js +0 -18
  132. package/react/DyIcons.d.ts +0 -15
  133. package/react/DyIcons.js +0 -18
  134. package/react/DyImagePreview.d.ts +0 -20
  135. package/react/DyImagePreview.js +0 -18
  136. package/react/DyInput.d.ts +0 -36
  137. package/react/DyInput.js +0 -18
  138. package/react/DyInputCapture.d.ts +0 -15
  139. package/react/DyInputCapture.js +0 -18
  140. package/react/DyInputGroup.d.ts +0 -15
  141. package/react/DyInputGroup.js +0 -18
  142. package/react/DyKeyboardAccess.d.ts +0 -19
  143. package/react/DyKeyboardAccess.js +0 -18
  144. package/react/DyLegend.d.ts +0 -24
  145. package/react/DyLegend.js +0 -18
  146. package/react/DyLightRoute.d.ts +0 -15
  147. package/react/DyLightRoute.js +0 -18
  148. package/react/DyLineChart.d.ts +0 -15
  149. package/react/DyLineChart.js +0 -18
  150. package/react/DyLink.d.ts +0 -15
  151. package/react/DyLink.js +0 -18
  152. package/react/DyList.d.ts +0 -30
  153. package/react/DyList.js +0 -18
  154. package/react/DyListItem.d.ts +0 -24
  155. package/react/DyListItem.js +0 -18
  156. package/react/DyListOutside.d.ts +0 -15
  157. package/react/DyListOutside.js +0 -18
  158. package/react/DyLoading.d.ts +0 -15
  159. package/react/DyLoading.js +0 -18
  160. package/react/DyMap.d.ts +0 -32
  161. package/react/DyMap.js +0 -18
  162. package/react/DyMeter.d.ts +0 -24
  163. package/react/DyMeter.js +0 -18
  164. package/react/DyMore.d.ts +0 -20
  165. package/react/DyMore.js +0 -18
  166. package/react/DyMoreSlot.d.ts +0 -17
  167. package/react/DyMoreSlot.js +0 -18
  168. package/react/DyOptions.d.ts +0 -19
  169. package/react/DyOptions.js +0 -18
  170. package/react/DyPageLoadbar.d.ts +0 -15
  171. package/react/DyPageLoadbar.js +0 -18
  172. package/react/DyPagination.d.ts +0 -23
  173. package/react/DyPagination.js +0 -18
  174. package/react/DyParagraph.d.ts +0 -15
  175. package/react/DyParagraph.js +0 -18
  176. package/react/DyPatConsole.d.ts +0 -25
  177. package/react/DyPatConsole.js +0 -18
  178. package/react/DyPatFilterForm.d.ts +0 -20
  179. package/react/DyPatFilterForm.js +0 -18
  180. package/react/DyPatFooter.d.ts +0 -23
  181. package/react/DyPatFooter.js +0 -18
  182. package/react/DyPatForm.d.ts +0 -19
  183. package/react/DyPatForm.js +0 -18
  184. package/react/DyPatNav.d.ts +0 -21
  185. package/react/DyPatNav.js +0 -18
  186. package/react/DyPatTable.d.ts +0 -32
  187. package/react/DyPatTable.js +0 -18
  188. package/react/DyPicker.d.ts +0 -28
  189. package/react/DyPicker.js +0 -22
  190. package/react/DyPlaceholder.d.ts +0 -24
  191. package/react/DyPlaceholder.js +0 -18
  192. package/react/DyPopover.d.ts +0 -27
  193. package/react/DyPopover.js +0 -22
  194. package/react/DyPopoverGhost.d.ts +0 -17
  195. package/react/DyPopoverGhost.js +0 -18
  196. package/react/DyProgress.d.ts +0 -18
  197. package/react/DyProgress.js +0 -18
  198. package/react/DyRadarChart.d.ts +0 -22
  199. package/react/DyRadarChart.js +0 -18
  200. package/react/DyRadio.d.ts +0 -20
  201. package/react/DyRadio.js +0 -18
  202. package/react/DyRadioGroup.d.ts +0 -21
  203. package/react/DyRadioGroup.js +0 -18
  204. package/react/DyRate.d.ts +0 -21
  205. package/react/DyRate.js +0 -18
  206. package/react/DyReflect.d.ts +0 -15
  207. package/react/DyReflect.js +0 -18
  208. package/react/DyResult.d.ts +0 -21
  209. package/react/DyResult.js +0 -18
  210. package/react/DyRoute.d.ts +0 -15
  211. package/react/DyRoute.js +0 -18
  212. package/react/DySankeyChart.d.ts +0 -21
  213. package/react/DySankeyChart.js +0 -18
  214. package/react/DyScatterChart.d.ts +0 -17
  215. package/react/DyScatterChart.js +0 -18
  216. package/react/DyScrollBox.d.ts +0 -15
  217. package/react/DyScrollBox.js +0 -18
  218. package/react/DySegmented.d.ts +0 -22
  219. package/react/DySegmented.js +0 -18
  220. package/react/DySelect.d.ts +0 -37
  221. package/react/DySelect.js +0 -25
  222. package/react/DySelectionBox.d.ts +0 -18
  223. package/react/DySelectionBox.js +0 -18
  224. package/react/DySelectionBoxMask.d.ts +0 -15
  225. package/react/DySelectionBoxMask.js +0 -18
  226. package/react/DyShortcutRecord.d.ts +0 -23
  227. package/react/DyShortcutRecord.js +0 -18
  228. package/react/DySideNavigation.d.ts +0 -18
  229. package/react/DySideNavigation.js +0 -18
  230. package/react/DySlider.d.ts +0 -26
  231. package/react/DySlider.js +0 -18
  232. package/react/DySortBox.d.ts +0 -17
  233. package/react/DySortBox.js +0 -18
  234. package/react/DySortHandle.d.ts +0 -15
  235. package/react/DySortHandle.js +0 -18
  236. package/react/DySortItem.d.ts +0 -17
  237. package/react/DySortItem.js +0 -18
  238. package/react/DySpace.d.ts +0 -18
  239. package/react/DySpace.js +0 -18
  240. package/react/DyStatistic.d.ts +0 -25
  241. package/react/DyStatistic.js +0 -18
  242. package/react/DyStatusLight.d.ts +0 -17
  243. package/react/DyStatusLight.js +0 -18
  244. package/react/DySwitch.d.ts +0 -21
  245. package/react/DySwitch.js +0 -18
  246. package/react/DyTabPanel.d.ts +0 -17
  247. package/react/DyTabPanel.js +0 -18
  248. package/react/DyTable.d.ts +0 -36
  249. package/react/DyTable.js +0 -25
  250. package/react/DyTabs.d.ts +0 -21
  251. package/react/DyTabs.js +0 -18
  252. package/react/DyTag.d.ts +0 -23
  253. package/react/DyTag.js +0 -18
  254. package/react/DyTextMask.d.ts +0 -20
  255. package/react/DyTextMask.js +0 -18
  256. package/react/DyTimePanel.d.ts +0 -19
  257. package/react/DyTimePanel.js +0 -18
  258. package/react/DyTimePicker.d.ts +0 -25
  259. package/react/DyTimePicker.js +0 -22
  260. package/react/DyTimeline.d.ts +0 -17
  261. package/react/DyTimeline.js +0 -18
  262. package/react/DyTitle.d.ts +0 -15
  263. package/react/DyTitle.js +0 -18
  264. package/react/DyToast.d.ts +0 -17
  265. package/react/DyToast.js +0 -18
  266. package/react/DyTooltip.d.ts +0 -15
  267. package/react/DyTooltip.js +0 -18
  268. package/react/DyTree.d.ts +0 -29
  269. package/react/DyTree.js +0 -31
  270. package/react/DyUnsafe.d.ts +0 -15
  271. package/react/DyUnsafe.js +0 -18
  272. package/react/DyUse.d.ts +0 -15
  273. package/react/DyUse.js +0 -18
  274. package/react/DyVestaboard.d.ts +0 -21
  275. package/react/DyVestaboard.js +0 -18
  276. package/react/DyWait.d.ts +0 -17
  277. package/react/DyWait.js +0 -18
  278. package/svelte/action-text.d.ts +0 -13
  279. package/svelte/action-text.js +0 -2
  280. package/svelte/alert.d.ts +0 -13
  281. package/svelte/alert.js +0 -2
  282. package/svelte/area-chart.d.ts +0 -40
  283. package/svelte/area-chart.js +0 -2
  284. package/svelte/avatar.d.ts +0 -16
  285. package/svelte/avatar.js +0 -2
  286. package/svelte/badge.d.ts +0 -17
  287. package/svelte/badge.js +0 -2
  288. package/svelte/banner.d.ts +0 -14
  289. package/svelte/banner.js +0 -2
  290. package/svelte/bar-chart.d.ts +0 -17
  291. package/svelte/bar-chart.js +0 -2
  292. package/svelte/breadcrumbs.d.ts +0 -14
  293. package/svelte/breadcrumbs.js +0 -2
  294. package/svelte/button.d.ts +0 -23
  295. package/svelte/button.js +0 -2
  296. package/svelte/calendar.d.ts +0 -17
  297. package/svelte/calendar.js +0 -2
  298. package/svelte/card.d.ts +0 -18
  299. package/svelte/card.js +0 -2
  300. package/svelte/carousel.d.ts +0 -19
  301. package/svelte/carousel.js +0 -2
  302. package/svelte/cascader-picker.d.ts +0 -19
  303. package/svelte/cascader-picker.js +0 -2
  304. package/svelte/cascader.d.ts +0 -16
  305. package/svelte/cascader.js +0 -2
  306. package/svelte/chart-tooltip.d.ts +0 -9
  307. package/svelte/chart-tooltip.js +0 -2
  308. package/svelte/chart-zoom.d.ts +0 -14
  309. package/svelte/chart-zoom.js +0 -2
  310. package/svelte/checkbox.d.ts +0 -15
  311. package/svelte/checkbox.js +0 -2
  312. package/svelte/coach-mark.d.ts +0 -19
  313. package/svelte/coach-mark.js +0 -2
  314. package/svelte/code-block.d.ts +0 -13
  315. package/svelte/code-block.js +0 -2
  316. package/svelte/collapse.d.ts +0 -13
  317. package/svelte/collapse.js +0 -2
  318. package/svelte/color-panel.d.ts +0 -13
  319. package/svelte/color-panel.js +0 -2
  320. package/svelte/color-picker.d.ts +0 -14
  321. package/svelte/color-picker.js +0 -2
  322. package/svelte/compartment.d.ts +0 -11
  323. package/svelte/compartment.js +0 -2
  324. package/svelte/contextmenu.d.ts +0 -9
  325. package/svelte/contextmenu.js +0 -2
  326. package/svelte/copy.d.ts +0 -15
  327. package/svelte/copy.js +0 -2
  328. package/svelte/countdown.d.ts +0 -13
  329. package/svelte/countdown.js +0 -2
  330. package/svelte/date-panel.d.ts +0 -16
  331. package/svelte/date-panel.js +0 -2
  332. package/svelte/date-picker.d.ts +0 -18
  333. package/svelte/date-picker.js +0 -2
  334. package/svelte/date-range-panel.d.ts +0 -12
  335. package/svelte/date-range-panel.js +0 -2
  336. package/svelte/date-range-picker.d.ts +0 -18
  337. package/svelte/date-range-picker.js +0 -2
  338. package/svelte/divider.d.ts +0 -14
  339. package/svelte/divider.js +0 -2
  340. package/svelte/donut-chart.d.ts +0 -14
  341. package/svelte/donut-chart.js +0 -2
  342. package/svelte/drawer.d.ts +0 -29
  343. package/svelte/drawer.js +0 -2
  344. package/svelte/drop-area.d.ts +0 -17
  345. package/svelte/drop-area.js +0 -2
  346. package/svelte/empty.d.ts +0 -13
  347. package/svelte/empty.js +0 -2
  348. package/svelte/file-picker.d.ts +0 -19
  349. package/svelte/file-picker.js +0 -2
  350. package/svelte/flow.d.ts +0 -18
  351. package/svelte/flow.js +0 -2
  352. package/svelte/form.d.ts +0 -36
  353. package/svelte/form.js +0 -2
  354. package/svelte/gesture.d.ts +0 -9
  355. package/svelte/gesture.js +0 -2
  356. package/svelte/heading.d.ts +0 -11
  357. package/svelte/heading.js +0 -2
  358. package/svelte/help-text.d.ts +0 -11
  359. package/svelte/help-text.js +0 -2
  360. package/svelte/icons.d.ts +0 -9
  361. package/svelte/icons.js +0 -2
  362. package/svelte/image-preview.d.ts +0 -14
  363. package/svelte/image-preview.js +0 -2
  364. package/svelte/input-capture.d.ts +0 -9
  365. package/svelte/input-capture.js +0 -2
  366. package/svelte/input.d.ts +0 -9
  367. package/svelte/input.js +0 -2
  368. package/svelte/keyboard-access.d.ts +0 -13
  369. package/svelte/keyboard-access.js +0 -2
  370. package/svelte/legend.d.ts +0 -18
  371. package/svelte/legend.js +0 -2
  372. package/svelte/line-chart.d.ts +0 -9
  373. package/svelte/line-chart.js +0 -2
  374. package/svelte/link.d.ts +0 -9
  375. package/svelte/link.js +0 -2
  376. package/svelte/list.d.ts +0 -18
  377. package/svelte/list.js +0 -2
  378. package/svelte/loading.d.ts +0 -9
  379. package/svelte/loading.js +0 -2
  380. package/svelte/map.d.ts +0 -26
  381. package/svelte/map.js +0 -2
  382. package/svelte/meter.d.ts +0 -18
  383. package/svelte/meter.js +0 -2
  384. package/svelte/more.d.ts +0 -11
  385. package/svelte/more.js +0 -2
  386. package/svelte/options.d.ts +0 -13
  387. package/svelte/options.js +0 -2
  388. package/svelte/page-loadbar.d.ts +0 -9
  389. package/svelte/page-loadbar.js +0 -2
  390. package/svelte/pagination.d.ts +0 -17
  391. package/svelte/pagination.js +0 -2
  392. package/svelte/paragraph.d.ts +0 -9
  393. package/svelte/paragraph.js +0 -2
  394. package/svelte/pat-console.d.ts +0 -19
  395. package/svelte/pat-console.js +0 -2
  396. package/svelte/pat-filter-form.d.ts +0 -14
  397. package/svelte/pat-filter-form.js +0 -2
  398. package/svelte/pat-footer.d.ts +0 -17
  399. package/svelte/pat-footer.js +0 -2
  400. package/svelte/pat-form.d.ts +0 -13
  401. package/svelte/pat-form.js +0 -2
  402. package/svelte/pat-nav.d.ts +0 -15
  403. package/svelte/pat-nav.js +0 -2
  404. package/svelte/pat-table.d.ts +0 -26
  405. package/svelte/pat-table.js +0 -2
  406. package/svelte/picker.d.ts +0 -20
  407. package/svelte/picker.js +0 -2
  408. package/svelte/placeholder.d.ts +0 -18
  409. package/svelte/placeholder.js +0 -2
  410. package/svelte/popover.d.ts +0 -11
  411. package/svelte/popover.js +0 -2
  412. package/svelte/progress.d.ts +0 -12
  413. package/svelte/progress.js +0 -2
  414. package/svelte/radar-chart.d.ts +0 -16
  415. package/svelte/radar-chart.js +0 -2
  416. package/svelte/radio.d.ts +0 -15
  417. package/svelte/radio.js +0 -2
  418. package/svelte/rate.d.ts +0 -15
  419. package/svelte/rate.js +0 -2
  420. package/svelte/reflect.d.ts +0 -9
  421. package/svelte/reflect.js +0 -2
  422. package/svelte/result.d.ts +0 -15
  423. package/svelte/result.js +0 -2
  424. package/svelte/route.d.ts +0 -9
  425. package/svelte/route.js +0 -2
  426. package/svelte/sankey-chart.d.ts +0 -15
  427. package/svelte/sankey-chart.js +0 -2
  428. package/svelte/scatter-chart.d.ts +0 -11
  429. package/svelte/scatter-chart.js +0 -2
  430. package/svelte/scroll-box.d.ts +0 -9
  431. package/svelte/scroll-box.js +0 -2
  432. package/svelte/segmented.d.ts +0 -16
  433. package/svelte/segmented.js +0 -2
  434. package/svelte/select.d.ts +0 -28
  435. package/svelte/select.js +0 -2
  436. package/svelte/selection-box.d.ts +0 -9
  437. package/svelte/selection-box.js +0 -2
  438. package/svelte/shortcut-record.d.ts +0 -17
  439. package/svelte/shortcut-record.js +0 -2
  440. package/svelte/side-navigation.d.ts +0 -12
  441. package/svelte/side-navigation.js +0 -2
  442. package/svelte/slider.d.ts +0 -20
  443. package/svelte/slider.js +0 -2
  444. package/svelte/sort-box.d.ts +0 -9
  445. package/svelte/sort-box.js +0 -2
  446. package/svelte/space.d.ts +0 -12
  447. package/svelte/space.js +0 -2
  448. package/svelte/statistic.d.ts +0 -19
  449. package/svelte/statistic.js +0 -2
  450. package/svelte/status-light.d.ts +0 -11
  451. package/svelte/status-light.js +0 -2
  452. package/svelte/switch.d.ts +0 -15
  453. package/svelte/switch.js +0 -2
  454. package/svelte/table.d.ts +0 -27
  455. package/svelte/table.js +0 -2
  456. package/svelte/tabs.d.ts +0 -11
  457. package/svelte/tabs.js +0 -2
  458. package/svelte/tag.d.ts +0 -17
  459. package/svelte/tag.js +0 -2
  460. package/svelte/text-mask.d.ts +0 -14
  461. package/svelte/text-mask.js +0 -2
  462. package/svelte/time-panel.d.ts +0 -13
  463. package/svelte/time-panel.js +0 -2
  464. package/svelte/time-picker.d.ts +0 -17
  465. package/svelte/time-picker.js +0 -2
  466. package/svelte/timeline.d.ts +0 -11
  467. package/svelte/timeline.js +0 -2
  468. package/svelte/title.d.ts +0 -9
  469. package/svelte/title.js +0 -2
  470. package/svelte/toast.d.ts +0 -11
  471. package/svelte/toast.js +0 -2
  472. package/svelte/tooltip.d.ts +0 -9
  473. package/svelte/tooltip.js +0 -2
  474. package/svelte/tree.d.ts +0 -18
  475. package/svelte/tree.js +0 -2
  476. package/svelte/unsafe.d.ts +0 -9
  477. package/svelte/unsafe.js +0 -2
  478. package/svelte/use.d.ts +0 -9
  479. package/svelte/use.js +0 -2
  480. package/svelte/vestaboard.d.ts +0 -15
  481. package/svelte/vestaboard.js +0 -2
  482. package/svelte/wait.d.ts +0 -11
  483. package/svelte/wait.js +0 -2
  484. package/vue/DyActionText.vue +0 -44
  485. package/vue/DyActiveLink.vue +0 -42
  486. package/vue/DyAlert.vue +0 -44
  487. package/vue/DyAreaChart.vue +0 -70
  488. package/vue/DyAvatar.vue +0 -48
  489. package/vue/DyAvatarGroup.vue +0 -47
  490. package/vue/DyBadge.vue +0 -48
  491. package/vue/DyBanner.vue +0 -44
  492. package/vue/DyBarChart.vue +0 -48
  493. package/vue/DyBreadcrumbs.vue +0 -45
  494. package/vue/DyButton.vue +0 -54
  495. package/vue/DyCalendar.vue +0 -47
  496. package/vue/DyCard.vue +0 -49
  497. package/vue/DyCarousel.vue +0 -49
  498. package/vue/DyCascader.vue +0 -46
  499. package/vue/DyCascaderPicker.vue +0 -53
  500. package/vue/DyChartTooltip.vue +0 -42
  501. package/vue/DyChartZoom.vue +0 -44
  502. package/vue/DyCheckbox.vue +0 -45
  503. package/vue/DyCheckboxGroup.vue +0 -45
  504. package/vue/DyCoachMark.vue +0 -49
  505. package/vue/DyCodeBlock.vue +0 -44
  506. package/vue/DyCollapse.vue +0 -44
  507. package/vue/DyCollapsePanel.vue +0 -44
  508. package/vue/DyColorPanel.vue +0 -43
  509. package/vue/DyColorPicker.vue +0 -48
  510. package/vue/DyCompartment.vue +0 -42
  511. package/vue/DyContextmenu.vue +0 -42
  512. package/vue/DyCopy.vue +0 -45
  513. package/vue/DyCountdown.vue +0 -43
  514. package/vue/DyDatePanel.vue +0 -46
  515. package/vue/DyDatePicker.vue +0 -52
  516. package/vue/DyDateRangePanel.vue +0 -42
  517. package/vue/DyDateRangePicker.vue +0 -52
  518. package/vue/DyDivider.vue +0 -45
  519. package/vue/DyDonutChart.vue +0 -45
  520. package/vue/DyDrawer.vue +0 -59
  521. package/vue/DyDropArea.vue +0 -47
  522. package/vue/DyEmpty.vue +0 -44
  523. package/vue/DyFilePicker.vue +0 -53
  524. package/vue/DyFlow.vue +0 -49
  525. package/vue/DyFlowCanvas.vue +0 -53
  526. package/vue/DyForm.vue +0 -66
  527. package/vue/DyFormItem.vue +0 -85
  528. package/vue/DyFormItemInlineGroup.vue +0 -42
  529. package/vue/DyGesture.vue +0 -42
  530. package/vue/DyHeading.vue +0 -42
  531. package/vue/DyHelpText.vue +0 -42
  532. package/vue/DyIcons.vue +0 -42
  533. package/vue/DyImagePreview.vue +0 -45
  534. package/vue/DyInput.vue +0 -60
  535. package/vue/DyInputCapture.vue +0 -42
  536. package/vue/DyInputGroup.vue +0 -42
  537. package/vue/DyKeyboardAccess.vue +0 -43
  538. package/vue/DyLegend.vue +0 -48
  539. package/vue/DyLightRoute.vue +0 -42
  540. package/vue/DyLineChart.vue +0 -42
  541. package/vue/DyLink.vue +0 -42
  542. package/vue/DyList.vue +0 -54
  543. package/vue/DyListItem.vue +0 -48
  544. package/vue/DyListOutside.vue +0 -42
  545. package/vue/DyLoading.vue +0 -42
  546. package/vue/DyMap.vue +0 -56
  547. package/vue/DyMeter.vue +0 -49
  548. package/vue/DyMore.vue +0 -45
  549. package/vue/DyMoreSlot.vue +0 -42
  550. package/vue/DyOptions.vue +0 -44
  551. package/vue/DyPageLoadbar.vue +0 -42
  552. package/vue/DyPagination.vue +0 -47
  553. package/vue/DyParagraph.vue +0 -42
  554. package/vue/DyPatConsole.vue +0 -50
  555. package/vue/DyPatFilterForm.vue +0 -44
  556. package/vue/DyPatFooter.vue +0 -47
  557. package/vue/DyPatForm.vue +0 -44
  558. package/vue/DyPatNav.vue +0 -46
  559. package/vue/DyPatTable.vue +0 -56
  560. package/vue/DyPicker.vue +0 -54
  561. package/vue/DyPlaceholder.vue +0 -49
  562. package/vue/DyPopover.vue +0 -53
  563. package/vue/DyPopoverGhost.vue +0 -42
  564. package/vue/DyProgress.vue +0 -43
  565. package/vue/DyRadarChart.vue +0 -47
  566. package/vue/DyRadio.vue +0 -44
  567. package/vue/DyRadioGroup.vue +0 -45
  568. package/vue/DyRate.vue +0 -45
  569. package/vue/DyReflect.vue +0 -42
  570. package/vue/DyResult.vue +0 -46
  571. package/vue/DyRoute.vue +0 -42
  572. package/vue/DySankeyChart.vue +0 -46
  573. package/vue/DyScatterChart.vue +0 -42
  574. package/vue/DyScrollBox.vue +0 -42
  575. package/vue/DySegmented.vue +0 -46
  576. package/vue/DySelect.vue +0 -67
  577. package/vue/DySelectionBox.vue +0 -42
  578. package/vue/DySelectionBoxMask.vue +0 -42
  579. package/vue/DyShortcutRecord.vue +0 -47
  580. package/vue/DySideNavigation.vue +0 -43
  581. package/vue/DySlider.vue +0 -50
  582. package/vue/DySortBox.vue +0 -42
  583. package/vue/DySortHandle.vue +0 -42
  584. package/vue/DySortItem.vue +0 -42
  585. package/vue/DySpace.vue +0 -43
  586. package/vue/DyStatistic.vue +0 -50
  587. package/vue/DyStatusLight.vue +0 -42
  588. package/vue/DySwitch.vue +0 -45
  589. package/vue/DyTabPanel.vue +0 -42
  590. package/vue/DyTable.vue +0 -66
  591. package/vue/DyTabs.vue +0 -45
  592. package/vue/DyTag.vue +0 -47
  593. package/vue/DyTextMask.vue +0 -45
  594. package/vue/DyTimePanel.vue +0 -43
  595. package/vue/DyTimePicker.vue +0 -51
  596. package/vue/DyTimeline.vue +0 -42
  597. package/vue/DyTitle.vue +0 -42
  598. package/vue/DyToast.vue +0 -42
  599. package/vue/DyTooltip.vue +0 -42
  600. package/vue/DyTree.vue +0 -67
  601. package/vue/DyUnsafe.vue +0 -42
  602. package/vue/DyUse.vue +0 -42
  603. package/vue/DyVestaboard.vue +0 -46
  604. package/vue/DyWait.vue +0 -42
package/react/DySelect.js DELETED
@@ -1,25 +0,0 @@
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;
@@ -1,18 +0,0 @@
1
- import { HTMLAttributes, RefAttributes } from 'react';
2
- import { ForwardRefExoticComponent } from 'react';
3
- import { DuoyunSelectionBoxElement } from '../elements/selection-box';
4
- export * from '../elements/selection-box';
5
- export type DySelectionBoxProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunSelectionBoxElement> & {
6
- container?: DuoyunSelectionBoxElement['container'];
7
- 'onchange'?: (event: CustomEvent<Parameters<DuoyunSelectionBoxElement['change']>[0]>) => void;
8
- };
9
- export type DySelectionBoxExpose = {};
10
- declare global {
11
- namespace JSX {
12
- interface IntrinsicElements {
13
- 'dy-selection-box': DySelectionBoxProps;
14
- }
15
- }
16
- }
17
- export declare const DySelectionBox: ForwardRefExoticComponent<Omit<DySelectionBoxProps, "ref"> & RefAttributes<DySelectionBoxExpose>>;
18
- export default DySelectionBox;
@@ -1,18 +0,0 @@
1
- import React from 'react';
2
- import { forwardRef, useImperativeHandle, useRef, useLayoutEffect } from 'react';
3
- export * from '../elements/selection-box';
4
- export const DySelectionBox = 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
- ["container"].map(name => {
13
- element[name] = props[name];
14
- });
15
- }, []);
16
- return React.createElement("dy-selection-box", { ref: elementRef, ...props });
17
- });
18
- export default DySelectionBox;
@@ -1,15 +0,0 @@
1
- import { HTMLAttributes, RefAttributes } from 'react';
2
- import { ForwardRefExoticComponent } from 'react';
3
- import { DuoyunSelectionBoxMaskElement } from '../elements/selection-box';
4
- export * from '../elements/selection-box';
5
- export type DySelectionBoxMaskProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunSelectionBoxMaskElement> & {};
6
- export type DySelectionBoxMaskExpose = {};
7
- declare global {
8
- namespace JSX {
9
- interface IntrinsicElements {
10
- 'dy-selection-box-mask': DySelectionBoxMaskProps;
11
- }
12
- }
13
- }
14
- export declare const DySelectionBoxMask: ForwardRefExoticComponent<Omit<DySelectionBoxMaskProps, "ref"> & RefAttributes<DySelectionBoxMaskExpose>>;
15
- export default DySelectionBoxMask;
@@ -1,18 +0,0 @@
1
- import React from 'react';
2
- import { forwardRef, useImperativeHandle, useRef, useLayoutEffect } from 'react';
3
- export * from '../elements/selection-box';
4
- export const DySelectionBoxMask = 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-selection-box-mask", { ref: elementRef, ...props });
17
- });
18
- export default DySelectionBoxMask;
@@ -1,23 +0,0 @@
1
- import { HTMLAttributes, RefAttributes } from 'react';
2
- import { ForwardRefExoticComponent } from 'react';
3
- import { DuoyunShortcutRecordElement } from '../elements/shortcut-record';
4
- export * from '../elements/shortcut-record';
5
- export type DyShortcutRecordProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunShortcutRecordElement> & {
6
- placeholder?: DuoyunShortcutRecordElement['placeholder'];
7
- tooltip?: DuoyunShortcutRecordElement['tooltip'];
8
- disabled?: DuoyunShortcutRecordElement['disabled'];
9
- clearable?: DuoyunShortcutRecordElement['clearable'];
10
- 'onchange'?: (event: CustomEvent<Parameters<DuoyunShortcutRecordElement['change']>[0]>) => void;
11
- 'onclear'?: (event: CustomEvent<Parameters<DuoyunShortcutRecordElement['clear']>[0]>) => void;
12
- value?: DuoyunShortcutRecordElement['value'];
13
- };
14
- export type DyShortcutRecordExpose = {};
15
- declare global {
16
- namespace JSX {
17
- interface IntrinsicElements {
18
- 'dy-shortcut-record': DyShortcutRecordProps;
19
- }
20
- }
21
- }
22
- export declare const DyShortcutRecord: ForwardRefExoticComponent<Omit<DyShortcutRecordProps, "ref"> & RefAttributes<DyShortcutRecordExpose>>;
23
- export default DyShortcutRecord;
@@ -1,18 +0,0 @@
1
- import React from 'react';
2
- import { forwardRef, useImperativeHandle, useRef, useLayoutEffect } from 'react';
3
- export * from '../elements/shortcut-record';
4
- export const DyShortcutRecord = 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
- ["placeholder", "tooltip", "disabled", "clearable", "value"].map(name => {
13
- element[name] = props[name];
14
- });
15
- }, []);
16
- return React.createElement("dy-shortcut-record", { ref: elementRef, ...props });
17
- });
18
- export default DyShortcutRecord;
@@ -1,18 +0,0 @@
1
- import { HTMLAttributes, RefAttributes } from 'react';
2
- import { ForwardRefExoticComponent } from 'react';
3
- import { DuoyunSideNavigationElement } from '../elements/side-navigation';
4
- export * from '../elements/side-navigation';
5
- export type DySideNavigationProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunSideNavigationElement> & {
6
- items?: DuoyunSideNavigationElement['items'];
7
- compact?: DuoyunSideNavigationElement['compact'];
8
- };
9
- export type DySideNavigationExpose = {};
10
- declare global {
11
- namespace JSX {
12
- interface IntrinsicElements {
13
- 'dy-side-navigation': DySideNavigationProps;
14
- }
15
- }
16
- }
17
- export declare const DySideNavigation: ForwardRefExoticComponent<Omit<DySideNavigationProps, "ref"> & RefAttributes<DySideNavigationExpose>>;
18
- export default DySideNavigation;
@@ -1,18 +0,0 @@
1
- import React from 'react';
2
- import { forwardRef, useImperativeHandle, useRef, useLayoutEffect } from 'react';
3
- export * from '../elements/side-navigation';
4
- export const DySideNavigation = 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
- ["items", "compact"].map(name => {
13
- element[name] = props[name];
14
- });
15
- }, []);
16
- return React.createElement("dy-side-navigation", { ref: elementRef, ...props });
17
- });
18
- export default DySideNavigation;
@@ -1,26 +0,0 @@
1
- import { HTMLAttributes, RefAttributes } from 'react';
2
- import { ForwardRefExoticComponent } from 'react';
3
- import { DuoyunSliderElement } from '../elements/slider';
4
- export * from '../elements/slider';
5
- export type DySliderProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunSliderElement> & {
6
- label?: DuoyunSliderElement['label'];
7
- orientation?: DuoyunSliderElement['orientation'];
8
- editable?: DuoyunSliderElement['editable'];
9
- disabled?: DuoyunSliderElement['disabled'];
10
- value?: DuoyunSliderElement['value'];
11
- min?: DuoyunSliderElement['min'];
12
- max?: DuoyunSliderElement['max'];
13
- step?: DuoyunSliderElement['step'];
14
- 'onchange'?: (event: CustomEvent<Parameters<DuoyunSliderElement['change']>[0]>) => void;
15
- 'onend'?: (event: CustomEvent<Parameters<DuoyunSliderElement['end']>[0]>) => void;
16
- };
17
- export type DySliderExpose = {};
18
- declare global {
19
- namespace JSX {
20
- interface IntrinsicElements {
21
- 'dy-slider': DySliderProps;
22
- }
23
- }
24
- }
25
- export declare const DySlider: ForwardRefExoticComponent<Omit<DySliderProps, "ref"> & RefAttributes<DySliderExpose>>;
26
- export default DySlider;
package/react/DySlider.js DELETED
@@ -1,18 +0,0 @@
1
- import React from 'react';
2
- import { forwardRef, useImperativeHandle, useRef, useLayoutEffect } from 'react';
3
- export * from '../elements/slider';
4
- export const DySlider = 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
- ["label", "orientation", "editable", "disabled", "value", "min", "max", "step"].map(name => {
13
- element[name] = props[name];
14
- });
15
- }, []);
16
- return React.createElement("dy-slider", { ref: elementRef, ...props });
17
- });
18
- export default DySlider;
@@ -1,17 +0,0 @@
1
- import { HTMLAttributes, RefAttributes } from 'react';
2
- import { ForwardRefExoticComponent } from 'react';
3
- import { DuoyunSortBoxElement } from '../elements/sort-box';
4
- export * from '../elements/sort-box';
5
- export type DySortBoxProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunSortBoxElement> & {
6
- 'onsort'?: (event: CustomEvent<Parameters<DuoyunSortBoxElement['sort']>[0]>) => void;
7
- };
8
- export type DySortBoxExpose = {};
9
- declare global {
10
- namespace JSX {
11
- interface IntrinsicElements {
12
- 'dy-sort-box': DySortBoxProps;
13
- }
14
- }
15
- }
16
- export declare const DySortBox: ForwardRefExoticComponent<Omit<DySortBoxProps, "ref"> & RefAttributes<DySortBoxExpose>>;
17
- export default DySortBox;
@@ -1,18 +0,0 @@
1
- import React from 'react';
2
- import { forwardRef, useImperativeHandle, useRef, useLayoutEffect } from 'react';
3
- export * from '../elements/sort-box';
4
- export const DySortBox = 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-sort-box", { ref: elementRef, ...props });
17
- });
18
- export default DySortBox;
@@ -1,15 +0,0 @@
1
- import { HTMLAttributes, RefAttributes } from 'react';
2
- import { ForwardRefExoticComponent } from 'react';
3
- import { DuoyunSortHandleElement } from '../elements/sort-box';
4
- export * from '../elements/sort-box';
5
- export type DySortHandleProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunSortHandleElement> & {};
6
- export type DySortHandleExpose = {};
7
- declare global {
8
- namespace JSX {
9
- interface IntrinsicElements {
10
- 'dy-sort-handle': DySortHandleProps;
11
- }
12
- }
13
- }
14
- export declare const DySortHandle: ForwardRefExoticComponent<Omit<DySortHandleProps, "ref"> & RefAttributes<DySortHandleExpose>>;
15
- export default DySortHandle;
@@ -1,18 +0,0 @@
1
- import React from 'react';
2
- import { forwardRef, useImperativeHandle, useRef, useLayoutEffect } from 'react';
3
- export * from '../elements/sort-box';
4
- export const DySortHandle = 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-sort-handle", { ref: elementRef, ...props });
17
- });
18
- export default DySortHandle;
@@ -1,17 +0,0 @@
1
- import { HTMLAttributes, RefAttributes } from 'react';
2
- import { ForwardRefExoticComponent } from 'react';
3
- import { DuoyunSortItemElement } from '../elements/sort-box';
4
- export * from '../elements/sort-box';
5
- export type DySortItemProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunSortItemElement> & {
6
- handle?: DuoyunSortItemElement['handle'];
7
- };
8
- export type DySortItemExpose = {};
9
- declare global {
10
- namespace JSX {
11
- interface IntrinsicElements {
12
- 'dy-sort-item': DySortItemProps;
13
- }
14
- }
15
- }
16
- export declare const DySortItem: ForwardRefExoticComponent<Omit<DySortItemProps, "ref"> & RefAttributes<DySortItemExpose>>;
17
- export default DySortItem;
@@ -1,18 +0,0 @@
1
- import React from 'react';
2
- import { forwardRef, useImperativeHandle, useRef, useLayoutEffect } from 'react';
3
- export * from '../elements/sort-box';
4
- export const DySortItem = 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
- ["handle"].map(name => {
13
- element[name] = props[name];
14
- });
15
- }, []);
16
- return React.createElement("dy-sort-item", { ref: elementRef, ...props });
17
- });
18
- export default DySortItem;
@@ -1,18 +0,0 @@
1
- import { HTMLAttributes, RefAttributes } from 'react';
2
- import { ForwardRefExoticComponent } from 'react';
3
- import { DuoyunSpaceElement } from '../elements/space';
4
- export * from '../elements/space';
5
- export type DySpaceProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunSpaceElement> & {
6
- size?: DuoyunSpaceElement['size'];
7
- orientation?: DuoyunSpaceElement['orientation'];
8
- };
9
- export type DySpaceExpose = {};
10
- declare global {
11
- namespace JSX {
12
- interface IntrinsicElements {
13
- 'dy-space': DySpaceProps;
14
- }
15
- }
16
- }
17
- export declare const DySpace: ForwardRefExoticComponent<Omit<DySpaceProps, "ref"> & RefAttributes<DySpaceExpose>>;
18
- export default DySpace;
package/react/DySpace.js DELETED
@@ -1,18 +0,0 @@
1
- import React from 'react';
2
- import { forwardRef, useImperativeHandle, useRef, useLayoutEffect } from 'react';
3
- export * from '../elements/space';
4
- export const DySpace = 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
- ["size", "orientation"].map(name => {
13
- element[name] = props[name];
14
- });
15
- }, []);
16
- return React.createElement("dy-space", { ref: elementRef, ...props });
17
- });
18
- export default DySpace;
@@ -1,25 +0,0 @@
1
- import { HTMLAttributes, RefAttributes } from 'react';
2
- import { ForwardRefExoticComponent } from 'react';
3
- import { DuoyunStatisticElement } from '../elements/statistic';
4
- export * from '../elements/statistic';
5
- export type DyStatisticProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunStatisticElement> & {
6
- neutral?: DuoyunStatisticElement['neutral'];
7
- type?: DuoyunStatisticElement['type'];
8
- /**@deprecated */
9
- text?: DuoyunStatisticElement['text'];
10
- header?: DuoyunStatisticElement['header'];
11
- icon?: DuoyunStatisticElement['icon'];
12
- loading?: DuoyunStatisticElement['loading'];
13
- value?: DuoyunStatisticElement['value'];
14
- prevValue?: DuoyunStatisticElement['prevValue'];
15
- };
16
- export type DyStatisticExpose = {};
17
- declare global {
18
- namespace JSX {
19
- interface IntrinsicElements {
20
- 'dy-statistic': DyStatisticProps;
21
- }
22
- }
23
- }
24
- export declare const DyStatistic: ForwardRefExoticComponent<Omit<DyStatisticProps, "ref"> & RefAttributes<DyStatisticExpose>>;
25
- export default DyStatistic;
@@ -1,18 +0,0 @@
1
- import React from 'react';
2
- import { forwardRef, useImperativeHandle, useRef, useLayoutEffect } from 'react';
3
- export * from '../elements/statistic';
4
- export const DyStatistic = 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
- ["neutral", "type", "text", "header", "icon", "loading", "value", "prevValue"].map(name => {
13
- element[name] = props[name];
14
- });
15
- }, []);
16
- return React.createElement("dy-statistic", { ref: elementRef, ...props });
17
- });
18
- export default DyStatistic;
@@ -1,17 +0,0 @@
1
- import { HTMLAttributes, RefAttributes } from 'react';
2
- import { ForwardRefExoticComponent } from 'react';
3
- import { DuoyunStatusLightElement } from '../elements/status-light';
4
- export * from '../elements/status-light';
5
- export type DyStatusLightProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunStatusLightElement> & {
6
- status?: DuoyunStatusLightElement['status'];
7
- };
8
- export type DyStatusLightExpose = {};
9
- declare global {
10
- namespace JSX {
11
- interface IntrinsicElements {
12
- 'dy-status-light': DyStatusLightProps;
13
- }
14
- }
15
- }
16
- export declare const DyStatusLight: ForwardRefExoticComponent<Omit<DyStatusLightProps, "ref"> & RefAttributes<DyStatusLightExpose>>;
17
- export default DyStatusLight;
@@ -1,18 +0,0 @@
1
- import React from 'react';
2
- import { forwardRef, useImperativeHandle, useRef, useLayoutEffect } from 'react';
3
- export * from '../elements/status-light';
4
- export const DyStatusLight = 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-status-light", { ref: elementRef, ...props });
17
- });
18
- export default DyStatusLight;
@@ -1,21 +0,0 @@
1
- import { HTMLAttributes, RefAttributes } from 'react';
2
- import { ForwardRefExoticComponent } from 'react';
3
- import { DuoyunSwitchElement } from '../elements/switch';
4
- export * from '../elements/switch';
5
- export type DySwitchProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunSwitchElement> & {
6
- disabled?: DuoyunSwitchElement['disabled'];
7
- checked?: DuoyunSwitchElement['checked'];
8
- value?: DuoyunSwitchElement['value'];
9
- neutral?: DuoyunSwitchElement['neutral'];
10
- 'onchange'?: (event: CustomEvent<Parameters<DuoyunSwitchElement['change']>[0]>) => void;
11
- };
12
- export type DySwitchExpose = {};
13
- declare global {
14
- namespace JSX {
15
- interface IntrinsicElements {
16
- 'dy-switch': DySwitchProps;
17
- }
18
- }
19
- }
20
- export declare const DySwitch: ForwardRefExoticComponent<Omit<DySwitchProps, "ref"> & RefAttributes<DySwitchExpose>>;
21
- export default DySwitch;
package/react/DySwitch.js DELETED
@@ -1,18 +0,0 @@
1
- import React from 'react';
2
- import { forwardRef, useImperativeHandle, useRef, useLayoutEffect } from 'react';
3
- export * from '../elements/switch';
4
- export const DySwitch = 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
- ["disabled", "checked", "value", "neutral"].map(name => {
13
- element[name] = props[name];
14
- });
15
- }, []);
16
- return React.createElement("dy-switch", { ref: elementRef, ...props });
17
- });
18
- export default DySwitch;
@@ -1,17 +0,0 @@
1
- import { HTMLAttributes, RefAttributes } from 'react';
2
- import { ForwardRefExoticComponent } from 'react';
3
- import { DuoyunTabPanelElement } from '../elements/tabs';
4
- export * from '../elements/tabs';
5
- export type DyTabPanelProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunTabPanelElement> & {
6
- vertical?: DuoyunTabPanelElement['vertical'];
7
- };
8
- export type DyTabPanelExpose = {};
9
- declare global {
10
- namespace JSX {
11
- interface IntrinsicElements {
12
- 'dy-tab-panel': DyTabPanelProps;
13
- }
14
- }
15
- }
16
- export declare const DyTabPanel: ForwardRefExoticComponent<Omit<DyTabPanelProps, "ref"> & RefAttributes<DyTabPanelExpose>>;
17
- export default DyTabPanel;
@@ -1,18 +0,0 @@
1
- import React from 'react';
2
- import { forwardRef, useImperativeHandle, useRef, useLayoutEffect } from 'react';
3
- export * from '../elements/tabs';
4
- export const DyTabPanel = 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
- ["vertical"].map(name => {
13
- element[name] = props[name];
14
- });
15
- }, []);
16
- return React.createElement("dy-tab-panel", { ref: elementRef, ...props });
17
- });
18
- export default DyTabPanel;
@@ -1,36 +0,0 @@
1
- import { HTMLAttributes, RefAttributes } from 'react';
2
- import { ForwardRefExoticComponent } from 'react';
3
- import { DuoyunTableElement } from '../elements/table';
4
- export * from '../elements/table';
5
- export type DyTableProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunTableElement> & {
6
- caption?: DuoyunTableElement['caption'];
7
- headless?: DuoyunTableElement['headless'];
8
- noData?: DuoyunTableElement['noData'];
9
- selectable?: DuoyunTableElement['selectable'];
10
- selection?: DuoyunTableElement['selection'];
11
- selectionContainer?: DuoyunTableElement['selectionContainer'];
12
- 'onselect'?: (event: CustomEvent<Parameters<DuoyunTableElement['select']>[0]>) => void;
13
- 'onitemclick'?: (event: CustomEvent<Parameters<DuoyunTableElement['itemclick']>[0]>) => void;
14
- 'onitemcontextmenu'?: (event: CustomEvent<Parameters<DuoyunTableElement['itemcontextmenu']>[0]>) => void;
15
- columns?: DuoyunTableElement['columns'];
16
- data?: DuoyunTableElement['data'];
17
- getRowStyle?: DuoyunTableElement['getRowStyle'];
18
- rowKey?: DuoyunTableElement['rowKey'];
19
- getKey?: DuoyunTableElement['getKey'];
20
- expandedRowRender?: DuoyunTableElement['expandedRowRender'];
21
- getActions?: DuoyunTableElement['getActions'];
22
- 'onexpand'?: (event: CustomEvent<Parameters<DuoyunTableElement['expand']>[0]>) => void;
23
- };
24
- export type DyTableExpose = {
25
- appendSelection: DuoyunTableElement['appendSelection'];
26
- removeSelection: DuoyunTableElement['removeSelection'];
27
- };
28
- declare global {
29
- namespace JSX {
30
- interface IntrinsicElements {
31
- 'dy-table': DyTableProps;
32
- }
33
- }
34
- }
35
- export declare const DyTable: ForwardRefExoticComponent<Omit<DyTableProps, "ref"> & RefAttributes<DyTableExpose>>;
36
- export default DyTable;
package/react/DyTable.js DELETED
@@ -1,25 +0,0 @@
1
- import React from 'react';
2
- import { forwardRef, useImperativeHandle, useRef, useLayoutEffect } from 'react';
3
- export * from '../elements/table';
4
- export const DyTable = forwardRef(function (props, ref) {
5
- const elementRef = useRef(null);
6
- useImperativeHandle(ref, () => {
7
- return {
8
- appendSelection(...args) {
9
- return elementRef.current.appendSelection(...args);
10
- },
11
- removeSelection(...args) {
12
- return elementRef.current.removeSelection(...args);
13
- },
14
- };
15
- }, []);
16
- // React Bug?
17
- useLayoutEffect(() => {
18
- const element = elementRef.current;
19
- ["caption", "headless", "noData", "selectable", "selection", "selectionContainer", "columns", "data", "getRowStyle", "rowKey", "getKey", "expandedRowRender", "getActions"].map(name => {
20
- element[name] = props[name];
21
- });
22
- }, []);
23
- return React.createElement("dy-table", { ref: elementRef, ...props });
24
- });
25
- export default DyTable;
package/react/DyTabs.d.ts DELETED
@@ -1,21 +0,0 @@
1
- import { HTMLAttributes, RefAttributes } from 'react';
2
- import { ForwardRefExoticComponent } from 'react';
3
- import { DuoyunTabsElement } from '../elements/tabs';
4
- export * from '../elements/tabs';
5
- export type DyTabsProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunTabsElement> & {
6
- center?: DuoyunTabsElement['center'];
7
- orientation?: DuoyunTabsElement['orientation'];
8
- items?: DuoyunTabsElement['items'];
9
- value?: DuoyunTabsElement['value'];
10
- 'onchange'?: (event: CustomEvent<Parameters<DuoyunTabsElement['change']>[0]>) => void;
11
- };
12
- export type DyTabsExpose = {};
13
- declare global {
14
- namespace JSX {
15
- interface IntrinsicElements {
16
- 'dy-tabs': DyTabsProps;
17
- }
18
- }
19
- }
20
- export declare const DyTabs: ForwardRefExoticComponent<Omit<DyTabsProps, "ref"> & RefAttributes<DyTabsExpose>>;
21
- export default DyTabs;
package/react/DyTabs.js DELETED
@@ -1,18 +0,0 @@
1
- import React from 'react';
2
- import { forwardRef, useImperativeHandle, useRef, useLayoutEffect } from 'react';
3
- export * from '../elements/tabs';
4
- export const DyTabs = 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
- ["center", "orientation", "items", "value"].map(name => {
13
- element[name] = props[name];
14
- });
15
- }, []);
16
- return React.createElement("dy-tabs", { ref: elementRef, ...props });
17
- });
18
- export default DyTabs;