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.
- package/elements/avatar.d.ts +0 -1
- package/elements/avatar.d.ts.map +1 -1
- package/elements/avatar.js +5 -18
- package/elements/avatar.js.map +1 -1
- package/elements/bar-chart.d.ts.map +1 -1
- package/elements/base/chart.d.ts.map +1 -1
- package/elements/base/scroll.d.ts.map +1 -1
- package/elements/base/scroll.js +0 -1
- package/elements/base/scroll.js.map +1 -1
- package/elements/carousel.d.ts.map +1 -1
- package/elements/cascader-picker.d.ts +2 -2
- package/elements/cascader-picker.d.ts.map +1 -1
- package/elements/cascader-picker.js +2 -2
- package/elements/cascader-picker.js.map +1 -1
- package/elements/chart-tooltip.d.ts.map +1 -1
- package/elements/coach-mark.d.ts +1 -1
- package/elements/coach-mark.d.ts.map +1 -1
- package/elements/coach-mark.js +2 -1
- package/elements/coach-mark.js.map +1 -1
- package/elements/code-block.d.ts.map +1 -1
- package/elements/code-block.js +33 -20
- package/elements/code-block.js.map +1 -1
- package/elements/collapse.d.ts +2 -20
- package/elements/collapse.d.ts.map +1 -1
- package/elements/collapse.js +7 -35
- package/elements/collapse.js.map +1 -1
- package/elements/color-panel.js +1 -1
- package/elements/color-panel.js.map +1 -1
- package/elements/compartment.d.ts +3 -3
- package/elements/compartment.d.ts.map +1 -1
- package/elements/compartment.js +16 -7
- package/elements/compartment.js.map +1 -1
- package/elements/countdown.d.ts +1 -1
- package/elements/countdown.d.ts.map +1 -1
- package/elements/countdown.js +1 -1
- package/elements/countdown.js.map +1 -1
- package/elements/date-picker.js +1 -1
- package/elements/date-picker.js.map +1 -1
- package/elements/date-range-picker.js +1 -1
- package/elements/date-range-picker.js.map +1 -1
- package/elements/flow.js +1 -1
- package/elements/flow.js.map +1 -1
- package/elements/form.js +2 -2
- package/elements/form.js.map +1 -1
- package/elements/input.d.ts.map +1 -1
- package/elements/input.js +6 -4
- package/elements/input.js.map +1 -1
- package/elements/letters.d.ts +38 -0
- package/elements/letters.d.ts.map +1 -0
- package/elements/letters.js +723 -0
- package/elements/letters.js.map +1 -0
- package/elements/list.d.ts +0 -1
- package/elements/list.d.ts.map +1 -1
- package/elements/list.js +3 -10
- package/elements/list.js.map +1 -1
- package/elements/meter.js +1 -1
- package/elements/meter.js.map +1 -1
- package/elements/modal.d.ts.map +1 -1
- package/elements/modal.js +29 -14
- package/elements/modal.js.map +1 -1
- package/elements/result.d.ts +5 -5
- package/elements/result.d.ts.map +1 -1
- package/elements/result.js +3 -3
- package/elements/result.js.map +1 -1
- package/elements/rolling-number.d.ts +14 -0
- package/elements/rolling-number.d.ts.map +1 -0
- package/elements/rolling-number.js +486 -0
- package/elements/rolling-number.js.map +1 -0
- package/elements/segmented.d.ts.map +1 -1
- package/elements/segmented.js +1 -0
- package/elements/segmented.js.map +1 -1
- package/elements/select.d.ts +5 -4
- package/elements/select.d.ts.map +1 -1
- package/elements/select.js +7 -4
- package/elements/select.js.map +1 -1
- package/elements/selection-box.js +4 -4
- package/elements/selection-box.js.map +1 -1
- package/elements/slider.js +1 -1
- package/elements/slider.js.map +1 -1
- package/elements/sort-box.js +1 -1
- package/elements/sort-box.js.map +1 -1
- package/elements/statistic.js +1 -1
- package/elements/statistic.js.map +1 -1
- package/elements/time-picker.js +1 -1
- package/elements/time-picker.js.map +1 -1
- package/elements/timeline.d.ts.map +1 -1
- package/elements/timeline.js +0 -1
- package/elements/timeline.js.map +1 -1
- package/elements/wait.d.ts.map +1 -1
- package/lib/cache.d.ts +1 -0
- package/lib/cache.d.ts.map +1 -1
- package/lib/cache.js +5 -0
- package/lib/cache.js.map +1 -1
- package/lib/decorators.d.ts +3 -0
- package/lib/decorators.d.ts.map +1 -0
- package/lib/decorators.js +17 -0
- package/lib/decorators.js.map +1 -0
- package/lib/easing.d.ts +79 -0
- package/lib/easing.d.ts.map +1 -0
- package/lib/easing.js +140 -0
- package/lib/easing.js.map +1 -0
- package/lib/encode.d.ts +1 -1
- package/lib/encode.d.ts.map +1 -1
- package/lib/encode.js +1 -1
- package/lib/encode.js.map +1 -1
- package/lib/hotkeys.d.ts.map +1 -1
- package/lib/hotkeys.js +1 -1
- package/lib/hotkeys.js.map +1 -1
- package/lib/locale.d.ts +1 -1
- package/lib/locale.d.ts.map +1 -1
- package/lib/map.d.ts +1 -0
- package/lib/map.d.ts.map +1 -1
- package/lib/map.js +10 -1
- package/lib/map.js.map +1 -1
- package/lib/patterns.d.ts.map +1 -1
- package/lib/patterns.js +3 -3
- package/lib/patterns.js.map +1 -1
- package/lib/time.d.ts +2 -1
- package/lib/time.d.ts.map +1 -1
- package/lib/time.js +4 -3
- package/lib/time.js.map +1 -1
- package/lib/timer.d.ts.map +1 -1
- package/lib/utils.d.ts +3 -2
- package/lib/utils.d.ts.map +1 -1
- package/lib/utils.js +18 -13
- package/lib/utils.js.map +1 -1
- package/package.json +2 -2
- package/patterns/console.d.ts +1 -1
- package/patterns/form.d.ts +2 -14
- package/patterns/form.d.ts.map +1 -1
- package/patterns/form.js +26 -19
- package/patterns/form.js.map +1 -1
- package/react/DyActionText.d.ts +0 -19
- package/react/DyActionText.js +0 -18
- package/react/DyActiveLink.d.ts +0 -15
- package/react/DyActiveLink.js +0 -18
- package/react/DyAlert.d.ts +0 -19
- package/react/DyAlert.js +0 -18
- package/react/DyAreaChart.d.ts +0 -46
- package/react/DyAreaChart.js +0 -18
- package/react/DyAvatar.d.ts +0 -23
- package/react/DyAvatar.js +0 -18
- package/react/DyAvatarGroup.d.ts +0 -22
- package/react/DyAvatarGroup.js +0 -18
- package/react/DyBadge.d.ts +0 -23
- package/react/DyBadge.js +0 -18
- package/react/DyBanner.d.ts +0 -20
- package/react/DyBanner.js +0 -18
- package/react/DyBarChart.d.ts +0 -23
- package/react/DyBarChart.js +0 -18
- package/react/DyBreadcrumbs.d.ts +0 -20
- package/react/DyBreadcrumbs.js +0 -18
- package/react/DyButton.d.ts +0 -29
- package/react/DyButton.js +0 -18
- package/react/DyCalendar.d.ts +0 -23
- package/react/DyCalendar.js +0 -18
- package/react/DyCard.d.ts +0 -24
- package/react/DyCard.js +0 -18
- package/react/DyCarousel.d.ts +0 -25
- package/react/DyCarousel.js +0 -18
- package/react/DyCascader.d.ts +0 -22
- package/react/DyCascader.js +0 -18
- package/react/DyCascaderPicker.d.ts +0 -27
- package/react/DyCascaderPicker.js +0 -22
- package/react/DyChartTooltip.d.ts +0 -15
- package/react/DyChartTooltip.js +0 -18
- package/react/DyChartZoom.d.ts +0 -20
- package/react/DyChartZoom.js +0 -18
- package/react/DyCheckbox.d.ts +0 -21
- package/react/DyCheckbox.js +0 -18
- package/react/DyCheckboxGroup.d.ts +0 -21
- package/react/DyCheckboxGroup.js +0 -18
- package/react/DyCoachMark.d.ts +0 -25
- package/react/DyCoachMark.js +0 -18
- package/react/DyCodeBlock.d.ts +0 -19
- package/react/DyCodeBlock.js +0 -18
- package/react/DyCollapse.d.ts +0 -19
- package/react/DyCollapse.js +0 -18
- package/react/DyCollapsePanel.d.ts +0 -20
- package/react/DyCollapsePanel.js +0 -18
- package/react/DyColorPanel.d.ts +0 -19
- package/react/DyColorPanel.js +0 -18
- package/react/DyColorPicker.d.ts +0 -22
- package/react/DyColorPicker.js +0 -22
- package/react/DyCompartment.d.ts +0 -17
- package/react/DyCompartment.js +0 -18
- package/react/DyContextmenu.d.ts +0 -15
- package/react/DyContextmenu.js +0 -18
- package/react/DyCopy.d.ts +0 -21
- package/react/DyCopy.js +0 -18
- package/react/DyCountdown.d.ts +0 -19
- package/react/DyCountdown.js +0 -18
- package/react/DyDatePanel.d.ts +0 -22
- package/react/DyDatePanel.js +0 -18
- package/react/DyDatePicker.d.ts +0 -26
- package/react/DyDatePicker.js +0 -22
- package/react/DyDateRangePanel.d.ts +0 -18
- package/react/DyDateRangePanel.js +0 -18
- package/react/DyDateRangePicker.d.ts +0 -26
- package/react/DyDateRangePicker.js +0 -22
- package/react/DyDivider.d.ts +0 -20
- package/react/DyDivider.js +0 -18
- package/react/DyDonutChart.d.ts +0 -20
- package/react/DyDonutChart.js +0 -18
- package/react/DyDrawer.d.ts +0 -35
- package/react/DyDrawer.js +0 -18
- package/react/DyDropArea.d.ts +0 -23
- package/react/DyDropArea.js +0 -18
- package/react/DyEmpty.d.ts +0 -19
- package/react/DyEmpty.js +0 -18
- package/react/DyFilePicker.d.ts +0 -27
- package/react/DyFilePicker.js +0 -22
- package/react/DyFlow.d.ts +0 -24
- package/react/DyFlow.js +0 -18
- package/react/DyFlowCanvas.d.ts +0 -29
- package/react/DyFlowCanvas.js +0 -18
- package/react/DyForm.d.ts +0 -24
- package/react/DyForm.js +0 -34
- package/react/DyFormItem.d.ts +0 -47
- package/react/DyFormItem.js +0 -31
- package/react/DyFormItemInlineGroup.d.ts +0 -15
- package/react/DyFormItemInlineGroup.js +0 -18
- package/react/DyGesture.d.ts +0 -15
- package/react/DyGesture.js +0 -18
- package/react/DyHeading.d.ts +0 -17
- package/react/DyHeading.js +0 -18
- package/react/DyHelpText.d.ts +0 -17
- package/react/DyHelpText.js +0 -18
- package/react/DyIcons.d.ts +0 -15
- package/react/DyIcons.js +0 -18
- package/react/DyImagePreview.d.ts +0 -20
- package/react/DyImagePreview.js +0 -18
- package/react/DyInput.d.ts +0 -36
- package/react/DyInput.js +0 -18
- package/react/DyInputCapture.d.ts +0 -15
- package/react/DyInputCapture.js +0 -18
- package/react/DyInputGroup.d.ts +0 -15
- package/react/DyInputGroup.js +0 -18
- package/react/DyKeyboardAccess.d.ts +0 -19
- package/react/DyKeyboardAccess.js +0 -18
- package/react/DyLegend.d.ts +0 -24
- package/react/DyLegend.js +0 -18
- package/react/DyLightRoute.d.ts +0 -15
- package/react/DyLightRoute.js +0 -18
- package/react/DyLineChart.d.ts +0 -15
- package/react/DyLineChart.js +0 -18
- package/react/DyLink.d.ts +0 -15
- package/react/DyLink.js +0 -18
- package/react/DyList.d.ts +0 -31
- package/react/DyList.js +0 -18
- package/react/DyListItem.d.ts +0 -24
- package/react/DyListItem.js +0 -18
- package/react/DyListOutside.d.ts +0 -15
- package/react/DyListOutside.js +0 -18
- package/react/DyLoading.d.ts +0 -15
- package/react/DyLoading.js +0 -18
- package/react/DyMap.d.ts +0 -32
- package/react/DyMap.js +0 -18
- package/react/DyMeter.d.ts +0 -24
- package/react/DyMeter.js +0 -18
- package/react/DyMore.d.ts +0 -20
- package/react/DyMore.js +0 -18
- package/react/DyMoreSlot.d.ts +0 -17
- package/react/DyMoreSlot.js +0 -18
- package/react/DyOptions.d.ts +0 -19
- package/react/DyOptions.js +0 -18
- package/react/DyPageLoadbar.d.ts +0 -15
- package/react/DyPageLoadbar.js +0 -18
- package/react/DyPagination.d.ts +0 -23
- package/react/DyPagination.js +0 -18
- package/react/DyParagraph.d.ts +0 -15
- package/react/DyParagraph.js +0 -18
- package/react/DyPatConsole.d.ts +0 -25
- package/react/DyPatConsole.js +0 -18
- package/react/DyPatFilterForm.d.ts +0 -20
- package/react/DyPatFilterForm.js +0 -18
- package/react/DyPatFooter.d.ts +0 -23
- package/react/DyPatFooter.js +0 -18
- package/react/DyPatForm.d.ts +0 -19
- package/react/DyPatForm.js +0 -18
- package/react/DyPatNav.d.ts +0 -21
- package/react/DyPatNav.js +0 -18
- package/react/DyPatTable.d.ts +0 -32
- package/react/DyPatTable.js +0 -18
- package/react/DyPicker.d.ts +0 -28
- package/react/DyPicker.js +0 -22
- package/react/DyPlaceholder.d.ts +0 -24
- package/react/DyPlaceholder.js +0 -18
- package/react/DyPopover.d.ts +0 -27
- package/react/DyPopover.js +0 -22
- package/react/DyPopoverGhost.d.ts +0 -17
- package/react/DyPopoverGhost.js +0 -18
- package/react/DyProgress.d.ts +0 -18
- package/react/DyProgress.js +0 -18
- package/react/DyRadarChart.d.ts +0 -22
- package/react/DyRadarChart.js +0 -18
- package/react/DyRadio.d.ts +0 -20
- package/react/DyRadio.js +0 -18
- package/react/DyRadioGroup.d.ts +0 -21
- package/react/DyRadioGroup.js +0 -18
- package/react/DyRate.d.ts +0 -21
- package/react/DyRate.js +0 -18
- package/react/DyReflect.d.ts +0 -15
- package/react/DyReflect.js +0 -18
- package/react/DyResult.d.ts +0 -21
- package/react/DyResult.js +0 -18
- package/react/DyRoute.d.ts +0 -15
- package/react/DyRoute.js +0 -18
- package/react/DySankeyChart.d.ts +0 -21
- package/react/DySankeyChart.js +0 -18
- package/react/DyScatterChart.d.ts +0 -17
- package/react/DyScatterChart.js +0 -18
- package/react/DyScrollBox.d.ts +0 -15
- package/react/DyScrollBox.js +0 -18
- package/react/DySegmented.d.ts +0 -22
- package/react/DySegmented.js +0 -18
- package/react/DySelect.d.ts +0 -36
- package/react/DySelect.js +0 -22
- package/react/DySelectionBox.d.ts +0 -18
- package/react/DySelectionBox.js +0 -18
- package/react/DySelectionBoxMask.d.ts +0 -15
- package/react/DySelectionBoxMask.js +0 -18
- package/react/DyShortcutRecord.d.ts +0 -23
- package/react/DyShortcutRecord.js +0 -18
- package/react/DySideNavigation.d.ts +0 -18
- package/react/DySideNavigation.js +0 -18
- package/react/DySlider.d.ts +0 -26
- package/react/DySlider.js +0 -18
- package/react/DySortBox.d.ts +0 -17
- package/react/DySortBox.js +0 -18
- package/react/DySortHandle.d.ts +0 -15
- package/react/DySortHandle.js +0 -18
- package/react/DySortItem.d.ts +0 -17
- package/react/DySortItem.js +0 -18
- package/react/DySpace.d.ts +0 -18
- package/react/DySpace.js +0 -18
- package/react/DyStatistic.d.ts +0 -25
- package/react/DyStatistic.js +0 -18
- package/react/DyStatusLight.d.ts +0 -17
- package/react/DyStatusLight.js +0 -18
- package/react/DySwitch.d.ts +0 -21
- package/react/DySwitch.js +0 -18
- package/react/DyTabPanel.d.ts +0 -17
- package/react/DyTabPanel.js +0 -18
- package/react/DyTable.d.ts +0 -36
- package/react/DyTable.js +0 -25
- package/react/DyTabs.d.ts +0 -21
- package/react/DyTabs.js +0 -18
- package/react/DyTag.d.ts +0 -23
- package/react/DyTag.js +0 -18
- package/react/DyTextMask.d.ts +0 -20
- package/react/DyTextMask.js +0 -18
- package/react/DyTimePanel.d.ts +0 -19
- package/react/DyTimePanel.js +0 -18
- package/react/DyTimePicker.d.ts +0 -25
- package/react/DyTimePicker.js +0 -22
- package/react/DyTimeline.d.ts +0 -17
- package/react/DyTimeline.js +0 -18
- package/react/DyTitle.d.ts +0 -15
- package/react/DyTitle.js +0 -18
- package/react/DyToast.d.ts +0 -17
- package/react/DyToast.js +0 -18
- package/react/DyTooltip.d.ts +0 -15
- package/react/DyTooltip.js +0 -18
- package/react/DyTree.d.ts +0 -29
- package/react/DyTree.js +0 -31
- package/react/DyUnsafe.d.ts +0 -15
- package/react/DyUnsafe.js +0 -18
- package/react/DyUse.d.ts +0 -15
- package/react/DyUse.js +0 -18
- package/react/DyVestaboard.d.ts +0 -21
- package/react/DyVestaboard.js +0 -18
- package/react/DyWait.d.ts +0 -17
- package/react/DyWait.js +0 -18
- package/svelte/action-text.d.ts +0 -13
- package/svelte/action-text.js +0 -2
- package/svelte/alert.d.ts +0 -13
- package/svelte/alert.js +0 -2
- package/svelte/area-chart.d.ts +0 -40
- package/svelte/area-chart.js +0 -2
- package/svelte/avatar.d.ts +0 -16
- package/svelte/avatar.js +0 -2
- package/svelte/badge.d.ts +0 -17
- package/svelte/badge.js +0 -2
- package/svelte/banner.d.ts +0 -14
- package/svelte/banner.js +0 -2
- package/svelte/bar-chart.d.ts +0 -17
- package/svelte/bar-chart.js +0 -2
- package/svelte/breadcrumbs.d.ts +0 -14
- package/svelte/breadcrumbs.js +0 -2
- package/svelte/button.d.ts +0 -23
- package/svelte/button.js +0 -2
- package/svelte/calendar.d.ts +0 -17
- package/svelte/calendar.js +0 -2
- package/svelte/card.d.ts +0 -18
- package/svelte/card.js +0 -2
- package/svelte/carousel.d.ts +0 -19
- package/svelte/carousel.js +0 -2
- package/svelte/cascader-picker.d.ts +0 -19
- package/svelte/cascader-picker.js +0 -2
- package/svelte/cascader.d.ts +0 -16
- package/svelte/cascader.js +0 -2
- package/svelte/chart-tooltip.d.ts +0 -9
- package/svelte/chart-tooltip.js +0 -2
- package/svelte/chart-zoom.d.ts +0 -14
- package/svelte/chart-zoom.js +0 -2
- package/svelte/checkbox.d.ts +0 -15
- package/svelte/checkbox.js +0 -2
- package/svelte/coach-mark.d.ts +0 -19
- package/svelte/coach-mark.js +0 -2
- package/svelte/code-block.d.ts +0 -13
- package/svelte/code-block.js +0 -2
- package/svelte/collapse.d.ts +0 -13
- package/svelte/collapse.js +0 -2
- package/svelte/color-panel.d.ts +0 -13
- package/svelte/color-panel.js +0 -2
- package/svelte/color-picker.d.ts +0 -14
- package/svelte/color-picker.js +0 -2
- package/svelte/compartment.d.ts +0 -11
- package/svelte/compartment.js +0 -2
- package/svelte/contextmenu.d.ts +0 -9
- package/svelte/contextmenu.js +0 -2
- package/svelte/copy.d.ts +0 -15
- package/svelte/copy.js +0 -2
- package/svelte/countdown.d.ts +0 -13
- package/svelte/countdown.js +0 -2
- package/svelte/date-panel.d.ts +0 -16
- package/svelte/date-panel.js +0 -2
- package/svelte/date-picker.d.ts +0 -18
- package/svelte/date-picker.js +0 -2
- package/svelte/date-range-panel.d.ts +0 -12
- package/svelte/date-range-panel.js +0 -2
- package/svelte/date-range-picker.d.ts +0 -18
- package/svelte/date-range-picker.js +0 -2
- package/svelte/divider.d.ts +0 -14
- package/svelte/divider.js +0 -2
- package/svelte/donut-chart.d.ts +0 -14
- package/svelte/donut-chart.js +0 -2
- package/svelte/drawer.d.ts +0 -29
- package/svelte/drawer.js +0 -2
- package/svelte/drop-area.d.ts +0 -17
- package/svelte/drop-area.js +0 -2
- package/svelte/empty.d.ts +0 -13
- package/svelte/empty.js +0 -2
- package/svelte/file-picker.d.ts +0 -19
- package/svelte/file-picker.js +0 -2
- package/svelte/flow.d.ts +0 -18
- package/svelte/flow.js +0 -2
- package/svelte/form.d.ts +0 -36
- package/svelte/form.js +0 -2
- package/svelte/gesture.d.ts +0 -9
- package/svelte/gesture.js +0 -2
- package/svelte/heading.d.ts +0 -11
- package/svelte/heading.js +0 -2
- package/svelte/help-text.d.ts +0 -11
- package/svelte/help-text.js +0 -2
- package/svelte/icons.d.ts +0 -9
- package/svelte/icons.js +0 -2
- package/svelte/image-preview.d.ts +0 -14
- package/svelte/image-preview.js +0 -2
- package/svelte/input-capture.d.ts +0 -9
- package/svelte/input-capture.js +0 -2
- package/svelte/input.d.ts +0 -9
- package/svelte/input.js +0 -2
- package/svelte/keyboard-access.d.ts +0 -13
- package/svelte/keyboard-access.js +0 -2
- package/svelte/legend.d.ts +0 -18
- package/svelte/legend.js +0 -2
- package/svelte/line-chart.d.ts +0 -9
- package/svelte/line-chart.js +0 -2
- package/svelte/link.d.ts +0 -9
- package/svelte/link.js +0 -2
- package/svelte/list.d.ts +0 -18
- package/svelte/list.js +0 -2
- package/svelte/loading.d.ts +0 -9
- package/svelte/loading.js +0 -2
- package/svelte/map.d.ts +0 -26
- package/svelte/map.js +0 -2
- package/svelte/meter.d.ts +0 -18
- package/svelte/meter.js +0 -2
- package/svelte/more.d.ts +0 -11
- package/svelte/more.js +0 -2
- package/svelte/options.d.ts +0 -13
- package/svelte/options.js +0 -2
- package/svelte/page-loadbar.d.ts +0 -9
- package/svelte/page-loadbar.js +0 -2
- package/svelte/pagination.d.ts +0 -17
- package/svelte/pagination.js +0 -2
- package/svelte/paragraph.d.ts +0 -9
- package/svelte/paragraph.js +0 -2
- package/svelte/pat-console.d.ts +0 -19
- package/svelte/pat-console.js +0 -2
- package/svelte/pat-filter-form.d.ts +0 -14
- package/svelte/pat-filter-form.js +0 -2
- package/svelte/pat-footer.d.ts +0 -17
- package/svelte/pat-footer.js +0 -2
- package/svelte/pat-form.d.ts +0 -13
- package/svelte/pat-form.js +0 -2
- package/svelte/pat-nav.d.ts +0 -15
- package/svelte/pat-nav.js +0 -2
- package/svelte/pat-table.d.ts +0 -26
- package/svelte/pat-table.js +0 -2
- package/svelte/picker.d.ts +0 -20
- package/svelte/picker.js +0 -2
- package/svelte/placeholder.d.ts +0 -18
- package/svelte/placeholder.js +0 -2
- package/svelte/popover.d.ts +0 -11
- package/svelte/popover.js +0 -2
- package/svelte/progress.d.ts +0 -12
- package/svelte/progress.js +0 -2
- package/svelte/radar-chart.d.ts +0 -16
- package/svelte/radar-chart.js +0 -2
- package/svelte/radio.d.ts +0 -15
- package/svelte/radio.js +0 -2
- package/svelte/rate.d.ts +0 -15
- package/svelte/rate.js +0 -2
- package/svelte/reflect.d.ts +0 -9
- package/svelte/reflect.js +0 -2
- package/svelte/result.d.ts +0 -15
- package/svelte/result.js +0 -2
- package/svelte/route.d.ts +0 -9
- package/svelte/route.js +0 -2
- package/svelte/sankey-chart.d.ts +0 -15
- package/svelte/sankey-chart.js +0 -2
- package/svelte/scatter-chart.d.ts +0 -11
- package/svelte/scatter-chart.js +0 -2
- package/svelte/scroll-box.d.ts +0 -9
- package/svelte/scroll-box.js +0 -2
- package/svelte/segmented.d.ts +0 -16
- package/svelte/segmented.js +0 -2
- package/svelte/select.d.ts +0 -28
- package/svelte/select.js +0 -2
- package/svelte/selection-box.d.ts +0 -9
- package/svelte/selection-box.js +0 -2
- package/svelte/shortcut-record.d.ts +0 -17
- package/svelte/shortcut-record.js +0 -2
- package/svelte/side-navigation.d.ts +0 -12
- package/svelte/side-navigation.js +0 -2
- package/svelte/slider.d.ts +0 -20
- package/svelte/slider.js +0 -2
- package/svelte/sort-box.d.ts +0 -9
- package/svelte/sort-box.js +0 -2
- package/svelte/space.d.ts +0 -12
- package/svelte/space.js +0 -2
- package/svelte/statistic.d.ts +0 -19
- package/svelte/statistic.js +0 -2
- package/svelte/status-light.d.ts +0 -11
- package/svelte/status-light.js +0 -2
- package/svelte/switch.d.ts +0 -15
- package/svelte/switch.js +0 -2
- package/svelte/table.d.ts +0 -27
- package/svelte/table.js +0 -2
- package/svelte/tabs.d.ts +0 -11
- package/svelte/tabs.js +0 -2
- package/svelte/tag.d.ts +0 -17
- package/svelte/tag.js +0 -2
- package/svelte/text-mask.d.ts +0 -14
- package/svelte/text-mask.js +0 -2
- package/svelte/time-panel.d.ts +0 -13
- package/svelte/time-panel.js +0 -2
- package/svelte/time-picker.d.ts +0 -17
- package/svelte/time-picker.js +0 -2
- package/svelte/timeline.d.ts +0 -11
- package/svelte/timeline.js +0 -2
- package/svelte/title.d.ts +0 -9
- package/svelte/title.js +0 -2
- package/svelte/toast.d.ts +0 -11
- package/svelte/toast.js +0 -2
- package/svelte/tooltip.d.ts +0 -9
- package/svelte/tooltip.js +0 -2
- package/svelte/tree.d.ts +0 -18
- package/svelte/tree.js +0 -2
- package/svelte/unsafe.d.ts +0 -9
- package/svelte/unsafe.js +0 -2
- package/svelte/use.d.ts +0 -9
- package/svelte/use.js +0 -2
- package/svelte/vestaboard.d.ts +0 -15
- package/svelte/vestaboard.js +0 -2
- package/svelte/wait.d.ts +0 -11
- package/svelte/wait.js +0 -2
- package/vue/DyActionText.vue +0 -44
- package/vue/DyActiveLink.vue +0 -42
- package/vue/DyAlert.vue +0 -44
- package/vue/DyAreaChart.vue +0 -70
- package/vue/DyAvatar.vue +0 -48
- package/vue/DyAvatarGroup.vue +0 -47
- package/vue/DyBadge.vue +0 -48
- package/vue/DyBanner.vue +0 -44
- package/vue/DyBarChart.vue +0 -48
- package/vue/DyBreadcrumbs.vue +0 -45
- package/vue/DyButton.vue +0 -54
- package/vue/DyCalendar.vue +0 -47
- package/vue/DyCard.vue +0 -49
- package/vue/DyCarousel.vue +0 -49
- package/vue/DyCascader.vue +0 -46
- package/vue/DyCascaderPicker.vue +0 -53
- package/vue/DyChartTooltip.vue +0 -42
- package/vue/DyChartZoom.vue +0 -44
- package/vue/DyCheckbox.vue +0 -45
- package/vue/DyCheckboxGroup.vue +0 -45
- package/vue/DyCoachMark.vue +0 -49
- package/vue/DyCodeBlock.vue +0 -44
- package/vue/DyCollapse.vue +0 -44
- package/vue/DyCollapsePanel.vue +0 -44
- package/vue/DyColorPanel.vue +0 -43
- package/vue/DyColorPicker.vue +0 -48
- package/vue/DyCompartment.vue +0 -42
- package/vue/DyContextmenu.vue +0 -42
- package/vue/DyCopy.vue +0 -45
- package/vue/DyCountdown.vue +0 -43
- package/vue/DyDatePanel.vue +0 -46
- package/vue/DyDatePicker.vue +0 -52
- package/vue/DyDateRangePanel.vue +0 -42
- package/vue/DyDateRangePicker.vue +0 -52
- package/vue/DyDivider.vue +0 -45
- package/vue/DyDonutChart.vue +0 -45
- package/vue/DyDrawer.vue +0 -59
- package/vue/DyDropArea.vue +0 -47
- package/vue/DyEmpty.vue +0 -44
- package/vue/DyFilePicker.vue +0 -53
- package/vue/DyFlow.vue +0 -49
- package/vue/DyFlowCanvas.vue +0 -53
- package/vue/DyForm.vue +0 -66
- package/vue/DyFormItem.vue +0 -85
- package/vue/DyFormItemInlineGroup.vue +0 -42
- package/vue/DyGesture.vue +0 -42
- package/vue/DyHeading.vue +0 -42
- package/vue/DyHelpText.vue +0 -42
- package/vue/DyIcons.vue +0 -42
- package/vue/DyImagePreview.vue +0 -45
- package/vue/DyInput.vue +0 -60
- package/vue/DyInputCapture.vue +0 -42
- package/vue/DyInputGroup.vue +0 -42
- package/vue/DyKeyboardAccess.vue +0 -43
- package/vue/DyLegend.vue +0 -48
- package/vue/DyLightRoute.vue +0 -42
- package/vue/DyLineChart.vue +0 -42
- package/vue/DyLink.vue +0 -42
- package/vue/DyList.vue +0 -55
- package/vue/DyListItem.vue +0 -48
- package/vue/DyListOutside.vue +0 -42
- package/vue/DyLoading.vue +0 -42
- package/vue/DyMap.vue +0 -56
- package/vue/DyMeter.vue +0 -49
- package/vue/DyMore.vue +0 -45
- package/vue/DyMoreSlot.vue +0 -42
- package/vue/DyOptions.vue +0 -44
- package/vue/DyPageLoadbar.vue +0 -42
- package/vue/DyPagination.vue +0 -47
- package/vue/DyParagraph.vue +0 -42
- package/vue/DyPatConsole.vue +0 -50
- package/vue/DyPatFilterForm.vue +0 -44
- package/vue/DyPatFooter.vue +0 -47
- package/vue/DyPatForm.vue +0 -44
- package/vue/DyPatNav.vue +0 -46
- package/vue/DyPatTable.vue +0 -56
- package/vue/DyPicker.vue +0 -54
- package/vue/DyPlaceholder.vue +0 -49
- package/vue/DyPopover.vue +0 -53
- package/vue/DyPopoverGhost.vue +0 -42
- package/vue/DyProgress.vue +0 -43
- package/vue/DyRadarChart.vue +0 -47
- package/vue/DyRadio.vue +0 -44
- package/vue/DyRadioGroup.vue +0 -45
- package/vue/DyRate.vue +0 -45
- package/vue/DyReflect.vue +0 -42
- package/vue/DyResult.vue +0 -46
- package/vue/DyRoute.vue +0 -42
- package/vue/DySankeyChart.vue +0 -46
- package/vue/DyScatterChart.vue +0 -42
- package/vue/DyScrollBox.vue +0 -42
- package/vue/DySegmented.vue +0 -46
- package/vue/DySelect.vue +0 -62
- package/vue/DySelectionBox.vue +0 -42
- package/vue/DySelectionBoxMask.vue +0 -42
- package/vue/DyShortcutRecord.vue +0 -47
- package/vue/DySideNavigation.vue +0 -43
- package/vue/DySlider.vue +0 -50
- package/vue/DySortBox.vue +0 -42
- package/vue/DySortHandle.vue +0 -42
- package/vue/DySortItem.vue +0 -42
- package/vue/DySpace.vue +0 -43
- package/vue/DyStatistic.vue +0 -50
- package/vue/DyStatusLight.vue +0 -42
- package/vue/DySwitch.vue +0 -45
- package/vue/DyTabPanel.vue +0 -42
- package/vue/DyTable.vue +0 -66
- package/vue/DyTabs.vue +0 -45
- package/vue/DyTag.vue +0 -47
- package/vue/DyTextMask.vue +0 -45
- package/vue/DyTimePanel.vue +0 -43
- package/vue/DyTimePicker.vue +0 -51
- package/vue/DyTimeline.vue +0 -42
- package/vue/DyTitle.vue +0 -42
- package/vue/DyToast.vue +0 -42
- package/vue/DyTooltip.vue +0 -42
- package/vue/DyTree.vue +0 -67
- package/vue/DyUnsafe.vue +0 -42
- package/vue/DyUse.vue +0 -42
- package/vue/DyVestaboard.vue +0 -46
- package/vue/DyWait.vue +0 -42
package/react/DyStatusLight.d.ts
DELETED
|
@@ -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;
|
package/react/DyStatusLight.js
DELETED
|
@@ -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;
|
package/react/DySwitch.d.ts
DELETED
|
@@ -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;
|
package/react/DyTabPanel.d.ts
DELETED
|
@@ -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;
|
package/react/DyTabPanel.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 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;
|
package/react/DyTable.d.ts
DELETED
|
@@ -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;
|
package/react/DyTag.d.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { HTMLAttributes, RefAttributes } from 'react';
|
|
2
|
-
import { ForwardRefExoticComponent } from 'react';
|
|
3
|
-
import { DuoyunTagElement } from '../elements/tag';
|
|
4
|
-
export * from '../elements/tag';
|
|
5
|
-
export type DyTagProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunTagElement> & {
|
|
6
|
-
closable?: DuoyunTagElement['closable'];
|
|
7
|
-
color?: DuoyunTagElement['color'];
|
|
8
|
-
/**@deprecated */
|
|
9
|
-
mode?: DuoyunTagElement['mode'];
|
|
10
|
-
type?: DuoyunTagElement['type'];
|
|
11
|
-
small?: DuoyunTagElement['small'];
|
|
12
|
-
'onclose'?: (event: CustomEvent<Parameters<DuoyunTagElement['close']>[0]>) => void;
|
|
13
|
-
};
|
|
14
|
-
export type DyTagExpose = {};
|
|
15
|
-
declare global {
|
|
16
|
-
namespace JSX {
|
|
17
|
-
interface IntrinsicElements {
|
|
18
|
-
'dy-tag': DyTagProps;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
export declare const DyTag: ForwardRefExoticComponent<Omit<DyTagProps, "ref"> & RefAttributes<DyTagExpose>>;
|
|
23
|
-
export default DyTag;
|
package/react/DyTag.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { forwardRef, useImperativeHandle, useRef, useLayoutEffect } from 'react';
|
|
3
|
-
export * from '../elements/tag';
|
|
4
|
-
export const DyTag = 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
|
-
["closable", "color", "mode", "type", "small"].map(name => {
|
|
13
|
-
element[name] = props[name];
|
|
14
|
-
});
|
|
15
|
-
}, []);
|
|
16
|
-
return React.createElement("dy-tag", { ref: elementRef, ...props });
|
|
17
|
-
});
|
|
18
|
-
export default DyTag;
|
package/react/DyTextMask.d.ts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { HTMLAttributes, RefAttributes } from 'react';
|
|
2
|
-
import { ForwardRefExoticComponent } from 'react';
|
|
3
|
-
import { DuoyunTextMaskElement } from '../elements/text-mask';
|
|
4
|
-
export * from '../elements/text-mask';
|
|
5
|
-
export type DyTextMaskProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunTextMaskElement> & {
|
|
6
|
-
origin?: DuoyunTextMaskElement['origin'];
|
|
7
|
-
placeholder?: DuoyunTextMaskElement['placeholder'];
|
|
8
|
-
replacer?: DuoyunTextMaskElement['replacer'];
|
|
9
|
-
masks?: DuoyunTextMaskElement['masks'];
|
|
10
|
-
};
|
|
11
|
-
export type DyTextMaskExpose = {};
|
|
12
|
-
declare global {
|
|
13
|
-
namespace JSX {
|
|
14
|
-
interface IntrinsicElements {
|
|
15
|
-
'dy-text-mask': DyTextMaskProps;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
export declare const DyTextMask: ForwardRefExoticComponent<Omit<DyTextMaskProps, "ref"> & RefAttributes<DyTextMaskExpose>>;
|
|
20
|
-
export default DyTextMask;
|
package/react/DyTextMask.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { forwardRef, useImperativeHandle, useRef, useLayoutEffect } from 'react';
|
|
3
|
-
export * from '../elements/text-mask';
|
|
4
|
-
export const DyTextMask = 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
|
-
["origin", "placeholder", "replacer", "masks"].map(name => {
|
|
13
|
-
element[name] = props[name];
|
|
14
|
-
});
|
|
15
|
-
}, []);
|
|
16
|
-
return React.createElement("dy-text-mask", { ref: elementRef, ...props });
|
|
17
|
-
});
|
|
18
|
-
export default DyTextMask;
|
package/react/DyTimePanel.d.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { HTMLAttributes, RefAttributes } from 'react';
|
|
2
|
-
import { ForwardRefExoticComponent } from 'react';
|
|
3
|
-
import { DuoyunTimePanelElement } from '../elements/time-panel';
|
|
4
|
-
export * from '../elements/time-panel';
|
|
5
|
-
export type DyTimePanelProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunTimePanelElement> & {
|
|
6
|
-
headless?: DuoyunTimePanelElement['headless'];
|
|
7
|
-
'onchange'?: (event: CustomEvent<Parameters<DuoyunTimePanelElement['change']>[0]>) => void;
|
|
8
|
-
value?: DuoyunTimePanelElement['value'];
|
|
9
|
-
};
|
|
10
|
-
export type DyTimePanelExpose = {};
|
|
11
|
-
declare global {
|
|
12
|
-
namespace JSX {
|
|
13
|
-
interface IntrinsicElements {
|
|
14
|
-
'dy-time-panel': DyTimePanelProps;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
export declare const DyTimePanel: ForwardRefExoticComponent<Omit<DyTimePanelProps, "ref"> & RefAttributes<DyTimePanelExpose>>;
|
|
19
|
-
export default DyTimePanel;
|
package/react/DyTimePanel.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { forwardRef, useImperativeHandle, useRef, useLayoutEffect } from 'react';
|
|
3
|
-
export * from '../elements/time-panel';
|
|
4
|
-
export const DyTimePanel = 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
|
-
["headless", "value"].map(name => {
|
|
13
|
-
element[name] = props[name];
|
|
14
|
-
});
|
|
15
|
-
}, []);
|
|
16
|
-
return React.createElement("dy-time-panel", { ref: elementRef, ...props });
|
|
17
|
-
});
|
|
18
|
-
export default DyTimePanel;
|
package/react/DyTimePicker.d.ts
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { HTMLAttributes, RefAttributes } from 'react';
|
|
2
|
-
import { ForwardRefExoticComponent } from 'react';
|
|
3
|
-
import { DuoyunTimePickerElement } from '../elements/time-picker';
|
|
4
|
-
export * from '../elements/time-picker';
|
|
5
|
-
export type DyTimePickerProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunTimePickerElement> & {
|
|
6
|
-
placeholder?: DuoyunTimePickerElement['placeholder'];
|
|
7
|
-
clearable?: DuoyunTimePickerElement['clearable'];
|
|
8
|
-
disabled?: DuoyunTimePickerElement['disabled'];
|
|
9
|
-
active?: DuoyunTimePickerElement['active'];
|
|
10
|
-
value?: DuoyunTimePickerElement['value'];
|
|
11
|
-
'onchange'?: (event: CustomEvent<Parameters<DuoyunTimePickerElement['change']>[0]>) => void;
|
|
12
|
-
'onclear'?: (event: CustomEvent<Parameters<DuoyunTimePickerElement['clear']>[0]>) => void;
|
|
13
|
-
};
|
|
14
|
-
export type DyTimePickerExpose = {
|
|
15
|
-
showPicker: DuoyunTimePickerElement['showPicker'];
|
|
16
|
-
};
|
|
17
|
-
declare global {
|
|
18
|
-
namespace JSX {
|
|
19
|
-
interface IntrinsicElements {
|
|
20
|
-
'dy-time-picker': DyTimePickerProps;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
export declare const DyTimePicker: ForwardRefExoticComponent<Omit<DyTimePickerProps, "ref"> & RefAttributes<DyTimePickerExpose>>;
|
|
25
|
-
export default DyTimePicker;
|
package/react/DyTimePicker.js
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { forwardRef, useImperativeHandle, useRef, useLayoutEffect } from 'react';
|
|
3
|
-
export * from '../elements/time-picker';
|
|
4
|
-
export const DyTimePicker = 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", "clearable", "disabled", "active", "value"].map(name => {
|
|
17
|
-
element[name] = props[name];
|
|
18
|
-
});
|
|
19
|
-
}, []);
|
|
20
|
-
return React.createElement("dy-time-picker", { ref: elementRef, ...props });
|
|
21
|
-
});
|
|
22
|
-
export default DyTimePicker;
|
package/react/DyTimeline.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { HTMLAttributes, RefAttributes } from 'react';
|
|
2
|
-
import { ForwardRefExoticComponent } from 'react';
|
|
3
|
-
import { DuoyunTimelineElement } from '../elements/timeline';
|
|
4
|
-
export * from '../elements/timeline';
|
|
5
|
-
export type DyTimelineProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunTimelineElement> & {
|
|
6
|
-
events?: DuoyunTimelineElement['events'];
|
|
7
|
-
};
|
|
8
|
-
export type DyTimelineExpose = {};
|
|
9
|
-
declare global {
|
|
10
|
-
namespace JSX {
|
|
11
|
-
interface IntrinsicElements {
|
|
12
|
-
'dy-timeline': DyTimelineProps;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
export declare const DyTimeline: ForwardRefExoticComponent<Omit<DyTimelineProps, "ref"> & RefAttributes<DyTimelineExpose>>;
|
|
17
|
-
export default DyTimeline;
|
package/react/DyTimeline.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { forwardRef, useImperativeHandle, useRef, useLayoutEffect } from 'react';
|
|
3
|
-
export * from '../elements/timeline';
|
|
4
|
-
export const DyTimeline = 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
|
-
["events"].map(name => {
|
|
13
|
-
element[name] = props[name];
|
|
14
|
-
});
|
|
15
|
-
}, []);
|
|
16
|
-
return React.createElement("dy-timeline", { ref: elementRef, ...props });
|
|
17
|
-
});
|
|
18
|
-
export default DyTimeline;
|
package/react/DyTitle.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { HTMLAttributes, RefAttributes } from 'react';
|
|
2
|
-
import { ForwardRefExoticComponent } from 'react';
|
|
3
|
-
import { DuoyunTitleElement } from '../elements/title';
|
|
4
|
-
export * from '../elements/title';
|
|
5
|
-
export type DyTitleProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunTitleElement> & {};
|
|
6
|
-
export type DyTitleExpose = {};
|
|
7
|
-
declare global {
|
|
8
|
-
namespace JSX {
|
|
9
|
-
interface IntrinsicElements {
|
|
10
|
-
'dy-title': DyTitleProps;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
export declare const DyTitle: ForwardRefExoticComponent<Omit<DyTitleProps, "ref"> & RefAttributes<DyTitleExpose>>;
|
|
15
|
-
export default DyTitle;
|
package/react/DyTitle.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { forwardRef, useImperativeHandle, useRef, useLayoutEffect } from 'react';
|
|
3
|
-
export * from '../elements/title';
|
|
4
|
-
export const DyTitle = 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-title", { ref: elementRef, ...props });
|
|
17
|
-
});
|
|
18
|
-
export default DyTitle;
|
package/react/DyToast.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { HTMLAttributes, RefAttributes } from 'react';
|
|
2
|
-
import { ForwardRefExoticComponent } from 'react';
|
|
3
|
-
import { DuoyunToastElement } from '../elements/toast';
|
|
4
|
-
export * from '../elements/toast';
|
|
5
|
-
export type DyToastProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunToastElement> & {
|
|
6
|
-
items?: DuoyunToastElement['items'];
|
|
7
|
-
};
|
|
8
|
-
export type DyToastExpose = {};
|
|
9
|
-
declare global {
|
|
10
|
-
namespace JSX {
|
|
11
|
-
interface IntrinsicElements {
|
|
12
|
-
'dy-toast': DyToastProps;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
export declare const DyToast: ForwardRefExoticComponent<Omit<DyToastProps, "ref"> & RefAttributes<DyToastExpose>>;
|
|
17
|
-
export default DyToast;
|
package/react/DyToast.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { forwardRef, useImperativeHandle, useRef, useLayoutEffect } from 'react';
|
|
3
|
-
export * from '../elements/toast';
|
|
4
|
-
export const DyToast = 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"].map(name => {
|
|
13
|
-
element[name] = props[name];
|
|
14
|
-
});
|
|
15
|
-
}, []);
|
|
16
|
-
return React.createElement("dy-toast", { ref: elementRef, ...props });
|
|
17
|
-
});
|
|
18
|
-
export default DyToast;
|
package/react/DyTooltip.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { HTMLAttributes, RefAttributes } from 'react';
|
|
2
|
-
import { ForwardRefExoticComponent } from 'react';
|
|
3
|
-
import { DuoyunTooltipElement } from '../elements/tooltip';
|
|
4
|
-
export * from '../elements/tooltip';
|
|
5
|
-
export type DyTooltipProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunTooltipElement> & {};
|
|
6
|
-
export type DyTooltipExpose = {};
|
|
7
|
-
declare global {
|
|
8
|
-
namespace JSX {
|
|
9
|
-
interface IntrinsicElements {
|
|
10
|
-
'dy-tooltip': DyTooltipProps;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
export declare const DyTooltip: ForwardRefExoticComponent<Omit<DyTooltipProps, "ref"> & RefAttributes<DyTooltipExpose>>;
|
|
15
|
-
export default DyTooltip;
|
package/react/DyTooltip.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { forwardRef, useImperativeHandle, useRef, useLayoutEffect } from 'react';
|
|
3
|
-
export * from '../elements/tooltip';
|
|
4
|
-
export const DyTooltip = 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-tooltip", { ref: elementRef, ...props });
|
|
17
|
-
});
|
|
18
|
-
export default DyTooltip;
|
package/react/DyTree.d.ts
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { HTMLAttributes, RefAttributes } from 'react';
|
|
2
|
-
import { ForwardRefExoticComponent } from 'react';
|
|
3
|
-
import { DuoyunTreeElement } from '../elements/tree';
|
|
4
|
-
export * from '../elements/tree';
|
|
5
|
-
export type DyTreeProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunTreeElement> & {
|
|
6
|
-
/**@deprecated */
|
|
7
|
-
data?: DuoyunTreeElement['data'];
|
|
8
|
-
items?: DuoyunTreeElement['items'];
|
|
9
|
-
highlights?: DuoyunTreeElement['highlights'];
|
|
10
|
-
'onitemclick'?: (event: CustomEvent<Parameters<DuoyunTreeElement['itemclick']>[0]>) => void;
|
|
11
|
-
'onitemcontextmenu'?: (event: CustomEvent<Parameters<DuoyunTreeElement['itemcontextmenu']>[0]>) => void;
|
|
12
|
-
'onexpand'?: (event: CustomEvent<Parameters<DuoyunTreeElement['expand']>[0]>) => void;
|
|
13
|
-
'oncollapse'?: (event: CustomEvent<Parameters<DuoyunTreeElement['collapse']>[0]>) => void;
|
|
14
|
-
};
|
|
15
|
-
export type DyTreeExpose = {
|
|
16
|
-
isExpand: DuoyunTreeElement['isExpand'];
|
|
17
|
-
expandToItems: DuoyunTreeElement['expandToItems'];
|
|
18
|
-
collapseItems: DuoyunTreeElement['collapseItems'];
|
|
19
|
-
iterateCollapseItem: DuoyunTreeElement['iterateCollapseItem'];
|
|
20
|
-
};
|
|
21
|
-
declare global {
|
|
22
|
-
namespace JSX {
|
|
23
|
-
interface IntrinsicElements {
|
|
24
|
-
'dy-tree': DyTreeProps;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
export declare const DyTree: ForwardRefExoticComponent<Omit<DyTreeProps, "ref"> & RefAttributes<DyTreeExpose>>;
|
|
29
|
-
export default DyTree;
|
package/react/DyTree.js
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { forwardRef, useImperativeHandle, useRef, useLayoutEffect } from 'react';
|
|
3
|
-
export * from '../elements/tree';
|
|
4
|
-
export const DyTree = forwardRef(function (props, ref) {
|
|
5
|
-
const elementRef = useRef(null);
|
|
6
|
-
useImperativeHandle(ref, () => {
|
|
7
|
-
return {
|
|
8
|
-
isExpand(...args) {
|
|
9
|
-
return elementRef.current.isExpand(...args);
|
|
10
|
-
},
|
|
11
|
-
expandToItems(...args) {
|
|
12
|
-
return elementRef.current.expandToItems(...args);
|
|
13
|
-
},
|
|
14
|
-
collapseItems(...args) {
|
|
15
|
-
return elementRef.current.collapseItems(...args);
|
|
16
|
-
},
|
|
17
|
-
iterateCollapseItem(...args) {
|
|
18
|
-
return elementRef.current.iterateCollapseItem(...args);
|
|
19
|
-
},
|
|
20
|
-
};
|
|
21
|
-
}, []);
|
|
22
|
-
// React Bug?
|
|
23
|
-
useLayoutEffect(() => {
|
|
24
|
-
const element = elementRef.current;
|
|
25
|
-
["data", "items", "highlights"].map(name => {
|
|
26
|
-
element[name] = props[name];
|
|
27
|
-
});
|
|
28
|
-
}, []);
|
|
29
|
-
return React.createElement("dy-tree", { ref: elementRef, ...props });
|
|
30
|
-
});
|
|
31
|
-
export default DyTree;
|
package/react/DyUnsafe.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { HTMLAttributes, RefAttributes } from 'react';
|
|
2
|
-
import { ForwardRefExoticComponent } from 'react';
|
|
3
|
-
import { DuoyunUnsafeElement } from '../elements/unsafe';
|
|
4
|
-
export * from '../elements/unsafe';
|
|
5
|
-
export type DyUnsafeProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunUnsafeElement> & {};
|
|
6
|
-
export type DyUnsafeExpose = {};
|
|
7
|
-
declare global {
|
|
8
|
-
namespace JSX {
|
|
9
|
-
interface IntrinsicElements {
|
|
10
|
-
'dy-unsafe': DyUnsafeProps;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
export declare const DyUnsafe: ForwardRefExoticComponent<Omit<DyUnsafeProps, "ref"> & RefAttributes<DyUnsafeExpose>>;
|
|
15
|
-
export default DyUnsafe;
|
package/react/DyUnsafe.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { forwardRef, useImperativeHandle, useRef, useLayoutEffect } from 'react';
|
|
3
|
-
export * from '../elements/unsafe';
|
|
4
|
-
export const DyUnsafe = 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-unsafe", { ref: elementRef, ...props });
|
|
17
|
-
});
|
|
18
|
-
export default DyUnsafe;
|