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
@@ -1,18 +0,0 @@
1
- import React from 'react';
2
- import { forwardRef, useImperativeHandle, useRef, useLayoutEffect } from 'react';
3
- export * from '../patterns/footer';
4
- export const DyPatFooter = 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
- ["social", "links", "logo", "terms", "help", "languages"].map(name => {
13
- element[name] = props[name];
14
- });
15
- }, []);
16
- return React.createElement("dy-pat-footer", { ref: elementRef, ...props });
17
- });
18
- export default DyPatFooter;
@@ -1,19 +0,0 @@
1
- import { HTMLAttributes, RefAttributes } from 'react';
2
- import { ForwardRefExoticComponent } from 'react';
3
- import { DyPatFormElement } from '../patterns/form';
4
- export * from '../patterns/form';
5
- export type DyPatFormProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DyPatFormElement> & {
6
- data?: DyPatFormElement['data'];
7
- formItems?: DyPatFormElement['formItems'];
8
- valid?: DyPatFormElement['valid'];
9
- };
10
- export type DyPatFormExpose = {};
11
- declare global {
12
- namespace JSX {
13
- interface IntrinsicElements {
14
- 'dy-pat-form': DyPatFormProps;
15
- }
16
- }
17
- }
18
- export declare const DyPatForm: ForwardRefExoticComponent<Omit<DyPatFormProps, "ref"> & RefAttributes<DyPatFormExpose>>;
19
- export default DyPatForm;
@@ -1,18 +0,0 @@
1
- import React from 'react';
2
- import { forwardRef, useImperativeHandle, useRef, useLayoutEffect } from 'react';
3
- export * from '../patterns/form';
4
- export const DyPatForm = forwardRef(function (props, ref) {
5
- const elementRef = useRef(null);
6
- useImperativeHandle(ref, () => {
7
- return {};
8
- }, []);
9
- // React Bug?
10
- useLayoutEffect(() => {
11
- const element = elementRef.current;
12
- ["data", "formItems", "valid"].map(name => {
13
- element[name] = props[name];
14
- });
15
- }, []);
16
- return React.createElement("dy-pat-form", { ref: elementRef, ...props });
17
- });
18
- export default DyPatForm;
@@ -1,21 +0,0 @@
1
- import { HTMLAttributes, RefAttributes } from 'react';
2
- import { ForwardRefExoticComponent } from 'react';
3
- import { DyPatNavElement } from '../patterns/nav';
4
- export * from '../patterns/nav';
5
- export type DyPatNavProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DyPatNavElement> & {
6
- name?: DyPatNavElement['name'];
7
- links?: DyPatNavElement['links'];
8
- logo?: DyPatNavElement['logo'];
9
- switching?: DyPatNavElement['switching'];
10
- navSlot?: DyPatNavElement['navSlot'];
11
- };
12
- export type DyPatNavExpose = {};
13
- declare global {
14
- namespace JSX {
15
- interface IntrinsicElements {
16
- 'dy-pat-nav': DyPatNavProps;
17
- }
18
- }
19
- }
20
- export declare const DyPatNav: ForwardRefExoticComponent<Omit<DyPatNavProps, "ref"> & RefAttributes<DyPatNavExpose>>;
21
- export default DyPatNav;
package/react/DyPatNav.js DELETED
@@ -1,18 +0,0 @@
1
- import React from 'react';
2
- import { forwardRef, useImperativeHandle, useRef, useLayoutEffect } from 'react';
3
- export * from '../patterns/nav';
4
- export const DyPatNav = 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", "links", "logo", "switching", "navSlot"].map(name => {
13
- element[name] = props[name];
14
- });
15
- }, []);
16
- return React.createElement("dy-pat-nav", { ref: elementRef, ...props });
17
- });
18
- export default DyPatNav;
@@ -1,32 +0,0 @@
1
- import { HTMLAttributes, RefAttributes } from 'react';
2
- import { ForwardRefExoticComponent } from 'react';
3
- import { DyPatTableElement } from '../patterns/table';
4
- export * from '../patterns/table';
5
- export type DyPatTableProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DyPatTableElement> & {
6
- filterable?: DyPatTableElement['filterable'];
7
- selectable?: DyPatTableElement['selectable'];
8
- pagesize?: DyPatTableElement['pagesize'];
9
- sizes?: DyPatTableElement['sizes'];
10
- data?: DyPatTableElement['data'];
11
- paginationStore?: DyPatTableElement['paginationStore'];
12
- locationStore?: DyPatTableElement['locationStore'];
13
- rowKey?: DyPatTableElement['rowKey'];
14
- getRowStyle?: DyPatTableElement['getRowStyle'];
15
- expandedRowRender?: DyPatTableElement['expandedRowRender'];
16
- getActions?: DyPatTableElement['getActions'];
17
- getSelectedActions?: DyPatTableElement['getSelectedActions'];
18
- 'onexpand'?: (event: CustomEvent<Parameters<DyPatTableElement['expand']>[0]>) => void;
19
- 'onfetch'?: (event: CustomEvent<Parameters<DyPatTableElement['fetch']>[0]>) => void;
20
- columns?: DyPatTableElement['columns'];
21
- getText?: DyPatTableElement['getText'];
22
- };
23
- export type DyPatTableExpose = {};
24
- declare global {
25
- namespace JSX {
26
- interface IntrinsicElements {
27
- 'dy-pat-table': DyPatTableProps;
28
- }
29
- }
30
- }
31
- export declare const DyPatTable: ForwardRefExoticComponent<Omit<DyPatTableProps, "ref"> & RefAttributes<DyPatTableExpose>>;
32
- export default DyPatTable;
@@ -1,18 +0,0 @@
1
- import React from 'react';
2
- import { forwardRef, useImperativeHandle, useRef, useLayoutEffect } from 'react';
3
- export * from '../patterns/table';
4
- export const DyPatTable = 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
- ["filterable", "selectable", "pagesize", "sizes", "data", "paginationStore", "locationStore", "rowKey", "getRowStyle", "expandedRowRender", "getActions", "getSelectedActions", "columns", "getText"].map(name => {
13
- element[name] = props[name];
14
- });
15
- }, []);
16
- return React.createElement("dy-pat-table", { ref: elementRef, ...props });
17
- });
18
- export default DyPatTable;
@@ -1,28 +0,0 @@
1
- import { HTMLAttributes, RefAttributes } from 'react';
2
- import { ForwardRefExoticComponent } from 'react';
3
- import { DuoyunPickerElement } from '../elements/picker';
4
- export * from '../elements/picker';
5
- export type DyPickerProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunPickerElement> & {
6
- placeholder?: DuoyunPickerElement['placeholder'];
7
- disabled?: DuoyunPickerElement['disabled'];
8
- borderless?: DuoyunPickerElement['borderless'];
9
- selectmode?: DuoyunPickerElement['selectmode'];
10
- fit?: DuoyunPickerElement['fit'];
11
- multiple?: DuoyunPickerElement['multiple'];
12
- active?: DuoyunPickerElement['active'];
13
- options?: DuoyunPickerElement['options'];
14
- value?: DuoyunPickerElement['value'];
15
- 'onchange'?: (event: CustomEvent<Parameters<DuoyunPickerElement['change']>[0]>) => void;
16
- };
17
- export type DyPickerExpose = {
18
- showPicker: DuoyunPickerElement['showPicker'];
19
- };
20
- declare global {
21
- namespace JSX {
22
- interface IntrinsicElements {
23
- 'dy-picker': DyPickerProps;
24
- }
25
- }
26
- }
27
- export declare const DyPicker: ForwardRefExoticComponent<Omit<DyPickerProps, "ref"> & RefAttributes<DyPickerExpose>>;
28
- export default DyPicker;
package/react/DyPicker.js DELETED
@@ -1,22 +0,0 @@
1
- import React from 'react';
2
- import { forwardRef, useImperativeHandle, useRef, useLayoutEffect } from 'react';
3
- export * from '../elements/picker';
4
- export const DyPicker = 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
- };
12
- }, []);
13
- // React Bug?
14
- useLayoutEffect(() => {
15
- const element = elementRef.current;
16
- ["placeholder", "disabled", "borderless", "selectmode", "fit", "multiple", "active", "options", "value"].map(name => {
17
- element[name] = props[name];
18
- });
19
- }, []);
20
- return React.createElement("dy-picker", { ref: elementRef, ...props });
21
- });
22
- export default DyPicker;
@@ -1,24 +0,0 @@
1
- import { HTMLAttributes, RefAttributes } from 'react';
2
- import { ForwardRefExoticComponent } from 'react';
3
- import { DuoyunPlaceholderElement } from '../elements/placeholder';
4
- export * from '../elements/placeholder';
5
- export type DyPlaceholderProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunPlaceholderElement> & {
6
- /**@deprecated */
7
- mode?: DuoyunPlaceholderElement['mode'];
8
- type?: DuoyunPlaceholderElement['type'];
9
- center?: DuoyunPlaceholderElement['center'];
10
- width?: DuoyunPlaceholderElement['width'];
11
- color?: DuoyunPlaceholderElement['color'];
12
- maxLine?: DuoyunPlaceholderElement['maxLine'];
13
- minLine?: DuoyunPlaceholderElement['minLine'];
14
- };
15
- export type DyPlaceholderExpose = {};
16
- declare global {
17
- namespace JSX {
18
- interface IntrinsicElements {
19
- 'dy-placeholder': DyPlaceholderProps;
20
- }
21
- }
22
- }
23
- export declare const DyPlaceholder: ForwardRefExoticComponent<Omit<DyPlaceholderProps, "ref"> & RefAttributes<DyPlaceholderExpose>>;
24
- export default DyPlaceholder;
@@ -1,18 +0,0 @@
1
- import React from 'react';
2
- import { forwardRef, useImperativeHandle, useRef, useLayoutEffect } from 'react';
3
- export * from '../elements/placeholder';
4
- export const DyPlaceholder = 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
- ["mode", "type", "center", "width", "color", "maxLine", "minLine"].map(name => {
13
- element[name] = props[name];
14
- });
15
- }, []);
16
- return React.createElement("dy-placeholder", { ref: elementRef, ...props });
17
- });
18
- export default DyPlaceholder;
@@ -1,27 +0,0 @@
1
- import { HTMLAttributes, RefAttributes } from 'react';
2
- import { ForwardRefExoticComponent } from 'react';
3
- import { DuoyunPopoverElement } from '../elements/popover';
4
- export * from '../elements/popover';
5
- export type DyPopoverProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunPopoverElement> & {
6
- debug?: DuoyunPopoverElement['debug'];
7
- unreachable?: DuoyunPopoverElement['unreachable'];
8
- disabled?: DuoyunPopoverElement['disabled'];
9
- trigger?: DuoyunPopoverElement['trigger'];
10
- position?: DuoyunPopoverElement['position'];
11
- content?: DuoyunPopoverElement['content'];
12
- 'onopen'?: (event: CustomEvent<Parameters<DuoyunPopoverElement['open']>[0]>) => void;
13
- 'onclose'?: (event: CustomEvent<Parameters<DuoyunPopoverElement['close']>[0]>) => void;
14
- ghostStyle?: DuoyunPopoverElement['ghostStyle'];
15
- };
16
- export type DyPopoverExpose = {
17
- popoverElement: DuoyunPopoverElement['popoverElement'];
18
- };
19
- declare global {
20
- namespace JSX {
21
- interface IntrinsicElements {
22
- 'dy-popover': DyPopoverProps;
23
- }
24
- }
25
- }
26
- export declare const DyPopover: ForwardRefExoticComponent<Omit<DyPopoverProps, "ref"> & RefAttributes<DyPopoverExpose>>;
27
- export default DyPopover;
@@ -1,22 +0,0 @@
1
- import React from 'react';
2
- import { forwardRef, useImperativeHandle, useRef, useLayoutEffect } from 'react';
3
- export * from '../elements/popover';
4
- export const DyPopover = forwardRef(function (props, ref) {
5
- const elementRef = useRef(null);
6
- useImperativeHandle(ref, () => {
7
- return {
8
- get popoverElement() {
9
- return elementRef.current.popoverElement;
10
- },
11
- };
12
- }, []);
13
- // React Bug?
14
- useLayoutEffect(() => {
15
- const element = elementRef.current;
16
- ["debug", "unreachable", "disabled", "trigger", "position", "content", "ghostStyle"].map(name => {
17
- element[name] = props[name];
18
- });
19
- }, []);
20
- return React.createElement("dy-popover", { ref: elementRef, ...props });
21
- });
22
- export default DyPopover;
@@ -1,17 +0,0 @@
1
- import { HTMLAttributes, RefAttributes } from 'react';
2
- import { ForwardRefExoticComponent } from 'react';
3
- import { DuoyunPopoverGhostElement } from '../elements/popover';
4
- export * from '../elements/popover';
5
- export type DyPopoverGhostProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunPopoverGhostElement> & {
6
- 'onclose'?: (event: CustomEvent<Parameters<DuoyunPopoverGhostElement['close']>[0]>) => void;
7
- };
8
- export type DyPopoverGhostExpose = {};
9
- declare global {
10
- namespace JSX {
11
- interface IntrinsicElements {
12
- 'dy-popover-ghost': DyPopoverGhostProps;
13
- }
14
- }
15
- }
16
- export declare const DyPopoverGhost: ForwardRefExoticComponent<Omit<DyPopoverGhostProps, "ref"> & RefAttributes<DyPopoverGhostExpose>>;
17
- export default DyPopoverGhost;
@@ -1,18 +0,0 @@
1
- import React from 'react';
2
- import { forwardRef, useImperativeHandle, useRef, useLayoutEffect } from 'react';
3
- export * from '../elements/popover';
4
- export const DyPopoverGhost = forwardRef(function (props, ref) {
5
- const elementRef = useRef(null);
6
- useImperativeHandle(ref, () => {
7
- return {};
8
- }, []);
9
- // React Bug?
10
- useLayoutEffect(() => {
11
- const element = elementRef.current;
12
- [].map(name => {
13
- element[name] = props[name];
14
- });
15
- }, []);
16
- return React.createElement("dy-popover-ghost", { ref: elementRef, ...props });
17
- });
18
- export default DyPopoverGhost;
@@ -1,18 +0,0 @@
1
- import { HTMLAttributes, RefAttributes } from 'react';
2
- import { ForwardRefExoticComponent } from 'react';
3
- import { DuoyunProgressElement } from '../elements/progress';
4
- export * from '../elements/progress';
5
- export type DyProgressProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunProgressElement> & {
6
- estimate?: DuoyunProgressElement['estimate'];
7
- calculateColor?: DuoyunProgressElement['calculateColor'];
8
- };
9
- export type DyProgressExpose = {};
10
- declare global {
11
- namespace JSX {
12
- interface IntrinsicElements {
13
- 'dy-progress': DyProgressProps;
14
- }
15
- }
16
- }
17
- export declare const DyProgress: ForwardRefExoticComponent<Omit<DyProgressProps, "ref"> & RefAttributes<DyProgressExpose>>;
18
- export default DyProgress;
@@ -1,18 +0,0 @@
1
- import React from 'react';
2
- import { forwardRef, useImperativeHandle, useRef, useLayoutEffect } from 'react';
3
- export * from '../elements/progress';
4
- export const DyProgress = forwardRef(function (props, ref) {
5
- const elementRef = useRef(null);
6
- useImperativeHandle(ref, () => {
7
- return {};
8
- }, []);
9
- // React Bug?
10
- useLayoutEffect(() => {
11
- const element = elementRef.current;
12
- ["estimate", "calculateColor"].map(name => {
13
- element[name] = props[name];
14
- });
15
- }, []);
16
- return React.createElement("dy-progress", { ref: elementRef, ...props });
17
- });
18
- export default DyProgress;
@@ -1,22 +0,0 @@
1
- import { HTMLAttributes, RefAttributes } from 'react';
2
- import { ForwardRefExoticComponent } from 'react';
3
- import { DuoyunRadarChartElement } from '../elements/radar-chart';
4
- export * from '../elements/radar-chart';
5
- export type DyRadarChartProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunRadarChartElement> & {
6
- dimensions?: DuoyunRadarChartElement['dimensions'];
7
- sequences?: DuoyunRadarChartElement['sequences'];
8
- showPoint?: DuoyunRadarChartElement['showPoint'];
9
- showArea?: DuoyunRadarChartElement['showArea'];
10
- xAxi?: DuoyunRadarChartElement['xAxi'];
11
- yAxi?: DuoyunRadarChartElement['yAxi'];
12
- };
13
- export type DyRadarChartExpose = {};
14
- declare global {
15
- namespace JSX {
16
- interface IntrinsicElements {
17
- 'dy-radar-chart': DyRadarChartProps;
18
- }
19
- }
20
- }
21
- export declare const DyRadarChart: ForwardRefExoticComponent<Omit<DyRadarChartProps, "ref"> & RefAttributes<DyRadarChartExpose>>;
22
- export default DyRadarChart;
@@ -1,18 +0,0 @@
1
- import React from 'react';
2
- import { forwardRef, useImperativeHandle, useRef, useLayoutEffect } from 'react';
3
- export * from '../elements/radar-chart';
4
- export const DyRadarChart = forwardRef(function (props, ref) {
5
- const elementRef = useRef(null);
6
- useImperativeHandle(ref, () => {
7
- return {};
8
- }, []);
9
- // React Bug?
10
- useLayoutEffect(() => {
11
- const element = elementRef.current;
12
- ["dimensions", "sequences", "showPoint", "showArea", "xAxi", "yAxi"].map(name => {
13
- element[name] = props[name];
14
- });
15
- }, []);
16
- return React.createElement("dy-radar-chart", { ref: elementRef, ...props });
17
- });
18
- export default DyRadarChart;
@@ -1,20 +0,0 @@
1
- import { HTMLAttributes, RefAttributes } from 'react';
2
- import { ForwardRefExoticComponent } from 'react';
3
- import { DuoyunRadioElement } from '../elements/radio';
4
- export * from '../elements/radio';
5
- export type DyRadioProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunRadioElement> & {
6
- checked?: DuoyunRadioElement['checked'];
7
- disabled?: DuoyunRadioElement['disabled'];
8
- 'onchange'?: (event: CustomEvent<Parameters<DuoyunRadioElement['change']>[0]>) => void;
9
- value?: DuoyunRadioElement['value'];
10
- };
11
- export type DyRadioExpose = {};
12
- declare global {
13
- namespace JSX {
14
- interface IntrinsicElements {
15
- 'dy-radio': DyRadioProps;
16
- }
17
- }
18
- }
19
- export declare const DyRadio: ForwardRefExoticComponent<Omit<DyRadioProps, "ref"> & RefAttributes<DyRadioExpose>>;
20
- export default DyRadio;
package/react/DyRadio.js DELETED
@@ -1,18 +0,0 @@
1
- import React from 'react';
2
- import { forwardRef, useImperativeHandle, useRef, useLayoutEffect } from 'react';
3
- export * from '../elements/radio';
4
- export const DyRadio = forwardRef(function (props, ref) {
5
- const elementRef = useRef(null);
6
- useImperativeHandle(ref, () => {
7
- return {};
8
- }, []);
9
- // React Bug?
10
- useLayoutEffect(() => {
11
- const element = elementRef.current;
12
- ["checked", "disabled", "value"].map(name => {
13
- element[name] = props[name];
14
- });
15
- }, []);
16
- return React.createElement("dy-radio", { ref: elementRef, ...props });
17
- });
18
- export default DyRadio;
@@ -1,21 +0,0 @@
1
- import { HTMLAttributes, RefAttributes } from 'react';
2
- import { ForwardRefExoticComponent } from 'react';
3
- import { DuoyunRadioGroupElement } from '../elements/radio';
4
- export * from '../elements/radio';
5
- export type DyRadioGroupProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunRadioGroupElement> & {
6
- orientation?: DuoyunRadioGroupElement['orientation'];
7
- disabled?: DuoyunRadioGroupElement['disabled'];
8
- 'onchange'?: (event: CustomEvent<Parameters<DuoyunRadioGroupElement['change']>[0]>) => void;
9
- value?: DuoyunRadioGroupElement['value'];
10
- options?: DuoyunRadioGroupElement['options'];
11
- };
12
- export type DyRadioGroupExpose = {};
13
- declare global {
14
- namespace JSX {
15
- interface IntrinsicElements {
16
- 'dy-radio-group': DyRadioGroupProps;
17
- }
18
- }
19
- }
20
- export declare const DyRadioGroup: ForwardRefExoticComponent<Omit<DyRadioGroupProps, "ref"> & RefAttributes<DyRadioGroupExpose>>;
21
- export default DyRadioGroup;
@@ -1,18 +0,0 @@
1
- import React from 'react';
2
- import { forwardRef, useImperativeHandle, useRef, useLayoutEffect } from 'react';
3
- export * from '../elements/radio';
4
- export const DyRadioGroup = forwardRef(function (props, ref) {
5
- const elementRef = useRef(null);
6
- useImperativeHandle(ref, () => {
7
- return {};
8
- }, []);
9
- // React Bug?
10
- useLayoutEffect(() => {
11
- const element = elementRef.current;
12
- ["orientation", "disabled", "value", "options"].map(name => {
13
- element[name] = props[name];
14
- });
15
- }, []);
16
- return React.createElement("dy-radio-group", { ref: elementRef, ...props });
17
- });
18
- export default DyRadioGroup;
package/react/DyRate.d.ts DELETED
@@ -1,21 +0,0 @@
1
- import { HTMLAttributes, RefAttributes } from 'react';
2
- import { ForwardRefExoticComponent } from 'react';
3
- import { DuoyunRateElement } from '../elements/rate';
4
- export * from '../elements/rate';
5
- export type DyRateProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunRateElement> & {
6
- value?: DuoyunRateElement['value'];
7
- total?: DuoyunRateElement['total'];
8
- disabled?: DuoyunRateElement['disabled'];
9
- readonly?: DuoyunRateElement['readonly'];
10
- 'onchange'?: (event: CustomEvent<Parameters<DuoyunRateElement['change']>[0]>) => void;
11
- };
12
- export type DyRateExpose = {};
13
- declare global {
14
- namespace JSX {
15
- interface IntrinsicElements {
16
- 'dy-rate': DyRateProps;
17
- }
18
- }
19
- }
20
- export declare const DyRate: ForwardRefExoticComponent<Omit<DyRateProps, "ref"> & RefAttributes<DyRateExpose>>;
21
- export default DyRate;
package/react/DyRate.js DELETED
@@ -1,18 +0,0 @@
1
- import React from 'react';
2
- import { forwardRef, useImperativeHandle, useRef, useLayoutEffect } from 'react';
3
- export * from '../elements/rate';
4
- export const DyRate = forwardRef(function (props, ref) {
5
- const elementRef = useRef(null);
6
- useImperativeHandle(ref, () => {
7
- return {};
8
- }, []);
9
- // React Bug?
10
- useLayoutEffect(() => {
11
- const element = elementRef.current;
12
- ["value", "total", "disabled", "readonly"].map(name => {
13
- element[name] = props[name];
14
- });
15
- }, []);
16
- return React.createElement("dy-rate", { ref: elementRef, ...props });
17
- });
18
- export default DyRate;
@@ -1,15 +0,0 @@
1
- import { HTMLAttributes, RefAttributes } from 'react';
2
- import { ForwardRefExoticComponent } from 'react';
3
- import { DuoyunReflectElement } from '../elements/reflect';
4
- export * from '../elements/reflect';
5
- export type DyReflectProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunReflectElement> & {};
6
- export type DyReflectExpose = {};
7
- declare global {
8
- namespace JSX {
9
- interface IntrinsicElements {
10
- 'dy-reflect': DyReflectProps;
11
- }
12
- }
13
- }
14
- export declare const DyReflect: ForwardRefExoticComponent<Omit<DyReflectProps, "ref"> & RefAttributes<DyReflectExpose>>;
15
- export default DyReflect;
@@ -1,18 +0,0 @@
1
- import React from 'react';
2
- import { forwardRef, useImperativeHandle, useRef, useLayoutEffect } from 'react';
3
- export * from '../elements/reflect';
4
- export const DyReflect = forwardRef(function (props, ref) {
5
- const elementRef = useRef(null);
6
- useImperativeHandle(ref, () => {
7
- return {};
8
- }, []);
9
- // React Bug?
10
- useLayoutEffect(() => {
11
- const element = elementRef.current;
12
- [].map(name => {
13
- element[name] = props[name];
14
- });
15
- }, []);
16
- return React.createElement("dy-reflect", { ref: elementRef, ...props });
17
- });
18
- export default DyReflect;
@@ -1,21 +0,0 @@
1
- import { HTMLAttributes, RefAttributes } from 'react';
2
- import { ForwardRefExoticComponent } from 'react';
3
- import { DuoyunResultElement } from '../elements/result';
4
- export * from '../elements/result';
5
- export type DyResultProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunResultElement> & {
6
- status?: DuoyunResultElement['status'];
7
- header?: DuoyunResultElement['header'];
8
- description?: DuoyunResultElement['description'];
9
- icon?: DuoyunResultElement['icon'];
10
- illustrator?: DuoyunResultElement['illustrator'];
11
- };
12
- export type DyResultExpose = {};
13
- declare global {
14
- namespace JSX {
15
- interface IntrinsicElements {
16
- 'dy-result': DyResultProps;
17
- }
18
- }
19
- }
20
- export declare const DyResult: ForwardRefExoticComponent<Omit<DyResultProps, "ref"> & RefAttributes<DyResultExpose>>;
21
- export default DyResult;
package/react/DyResult.js DELETED
@@ -1,18 +0,0 @@
1
- import React from 'react';
2
- import { forwardRef, useImperativeHandle, useRef, useLayoutEffect } from 'react';
3
- export * from '../elements/result';
4
- export const DyResult = forwardRef(function (props, ref) {
5
- const elementRef = useRef(null);
6
- useImperativeHandle(ref, () => {
7
- return {};
8
- }, []);
9
- // React Bug?
10
- useLayoutEffect(() => {
11
- const element = elementRef.current;
12
- ["status", "header", "description", "icon", "illustrator"].map(name => {
13
- element[name] = props[name];
14
- });
15
- }, []);
16
- return React.createElement("dy-result", { ref: elementRef, ...props });
17
- });
18
- export default DyResult;
@@ -1,15 +0,0 @@
1
- import { HTMLAttributes, RefAttributes } from 'react';
2
- import { ForwardRefExoticComponent } from 'react';
3
- import { DuoyunRouteElement } from '../elements/route';
4
- export * from '../elements/route';
5
- export type DyRouteProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunRouteElement> & {};
6
- export type DyRouteExpose = {};
7
- declare global {
8
- namespace JSX {
9
- interface IntrinsicElements {
10
- 'dy-route': DyRouteProps;
11
- }
12
- }
13
- }
14
- export declare const DyRoute: ForwardRefExoticComponent<Omit<DyRouteProps, "ref"> & RefAttributes<DyRouteExpose>>;
15
- export default DyRoute;