duoyun-ui 2.2.2 → 2.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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/code-block.js +1 -1
- package/elements/code-block.js.map +1 -1
- package/elements/input.js +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/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/timeline.d.ts.map +1 -1
- package/elements/timeline.js +0 -1
- package/elements/timeline.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/utils.d.ts +3 -2
- package/lib/utils.d.ts.map +1 -1
- package/lib/utils.js +12 -8
- package/lib/utils.js.map +1 -1
- package/package.json +2 -2
- package/patterns/form.js +2 -2
- 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 -30
- 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 -37
- package/react/DySelect.js +0 -25
- 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 -54
- 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 -67
- 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/DySelect.js
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { forwardRef, useImperativeHandle, useRef, useLayoutEffect } from 'react';
|
|
3
|
-
export * from '../elements/select';
|
|
4
|
-
export const DySelect = forwardRef(function (props, ref) {
|
|
5
|
-
const elementRef = useRef(null);
|
|
6
|
-
useImperativeHandle(ref, () => {
|
|
7
|
-
return {
|
|
8
|
-
showPicker(...args) {
|
|
9
|
-
return elementRef.current.showPicker(...args);
|
|
10
|
-
},
|
|
11
|
-
setSearch(...args) {
|
|
12
|
-
return elementRef.current.setSearch(...args);
|
|
13
|
-
},
|
|
14
|
-
};
|
|
15
|
-
}, []);
|
|
16
|
-
// React Bug?
|
|
17
|
-
useLayoutEffect(() => {
|
|
18
|
-
const element = elementRef.current;
|
|
19
|
-
["multiple", "disabled", "searchable", "keepsearch", "inline", "placeholder", "borderless", "pinselected", "loading", "dropdownStyle", "options", "adder", "value", "renderLabel", "renderTag", "active"].map(name => {
|
|
20
|
-
element[name] = props[name];
|
|
21
|
-
});
|
|
22
|
-
}, []);
|
|
23
|
-
return React.createElement("dy-select", { ref: elementRef, ...props });
|
|
24
|
-
});
|
|
25
|
-
export default DySelect;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { HTMLAttributes, RefAttributes } from 'react';
|
|
2
|
-
import { ForwardRefExoticComponent } from 'react';
|
|
3
|
-
import { DuoyunSelectionBoxElement } from '../elements/selection-box';
|
|
4
|
-
export * from '../elements/selection-box';
|
|
5
|
-
export type DySelectionBoxProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunSelectionBoxElement> & {
|
|
6
|
-
container?: DuoyunSelectionBoxElement['container'];
|
|
7
|
-
'onchange'?: (event: CustomEvent<Parameters<DuoyunSelectionBoxElement['change']>[0]>) => void;
|
|
8
|
-
};
|
|
9
|
-
export type DySelectionBoxExpose = {};
|
|
10
|
-
declare global {
|
|
11
|
-
namespace JSX {
|
|
12
|
-
interface IntrinsicElements {
|
|
13
|
-
'dy-selection-box': DySelectionBoxProps;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
export declare const DySelectionBox: ForwardRefExoticComponent<Omit<DySelectionBoxProps, "ref"> & RefAttributes<DySelectionBoxExpose>>;
|
|
18
|
-
export default DySelectionBox;
|
package/react/DySelectionBox.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { forwardRef, useImperativeHandle, useRef, useLayoutEffect } from 'react';
|
|
3
|
-
export * from '../elements/selection-box';
|
|
4
|
-
export const DySelectionBox = forwardRef(function (props, ref) {
|
|
5
|
-
const elementRef = useRef(null);
|
|
6
|
-
useImperativeHandle(ref, () => {
|
|
7
|
-
return {};
|
|
8
|
-
}, []);
|
|
9
|
-
// React Bug?
|
|
10
|
-
useLayoutEffect(() => {
|
|
11
|
-
const element = elementRef.current;
|
|
12
|
-
["container"].map(name => {
|
|
13
|
-
element[name] = props[name];
|
|
14
|
-
});
|
|
15
|
-
}, []);
|
|
16
|
-
return React.createElement("dy-selection-box", { ref: elementRef, ...props });
|
|
17
|
-
});
|
|
18
|
-
export default DySelectionBox;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { HTMLAttributes, RefAttributes } from 'react';
|
|
2
|
-
import { ForwardRefExoticComponent } from 'react';
|
|
3
|
-
import { DuoyunSelectionBoxMaskElement } from '../elements/selection-box';
|
|
4
|
-
export * from '../elements/selection-box';
|
|
5
|
-
export type DySelectionBoxMaskProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunSelectionBoxMaskElement> & {};
|
|
6
|
-
export type DySelectionBoxMaskExpose = {};
|
|
7
|
-
declare global {
|
|
8
|
-
namespace JSX {
|
|
9
|
-
interface IntrinsicElements {
|
|
10
|
-
'dy-selection-box-mask': DySelectionBoxMaskProps;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
export declare const DySelectionBoxMask: ForwardRefExoticComponent<Omit<DySelectionBoxMaskProps, "ref"> & RefAttributes<DySelectionBoxMaskExpose>>;
|
|
15
|
-
export default DySelectionBoxMask;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { forwardRef, useImperativeHandle, useRef, useLayoutEffect } from 'react';
|
|
3
|
-
export * from '../elements/selection-box';
|
|
4
|
-
export const DySelectionBoxMask = forwardRef(function (props, ref) {
|
|
5
|
-
const elementRef = useRef(null);
|
|
6
|
-
useImperativeHandle(ref, () => {
|
|
7
|
-
return {};
|
|
8
|
-
}, []);
|
|
9
|
-
// React Bug?
|
|
10
|
-
useLayoutEffect(() => {
|
|
11
|
-
const element = elementRef.current;
|
|
12
|
-
[].map(name => {
|
|
13
|
-
element[name] = props[name];
|
|
14
|
-
});
|
|
15
|
-
}, []);
|
|
16
|
-
return React.createElement("dy-selection-box-mask", { ref: elementRef, ...props });
|
|
17
|
-
});
|
|
18
|
-
export default DySelectionBoxMask;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { HTMLAttributes, RefAttributes } from 'react';
|
|
2
|
-
import { ForwardRefExoticComponent } from 'react';
|
|
3
|
-
import { DuoyunShortcutRecordElement } from '../elements/shortcut-record';
|
|
4
|
-
export * from '../elements/shortcut-record';
|
|
5
|
-
export type DyShortcutRecordProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunShortcutRecordElement> & {
|
|
6
|
-
placeholder?: DuoyunShortcutRecordElement['placeholder'];
|
|
7
|
-
tooltip?: DuoyunShortcutRecordElement['tooltip'];
|
|
8
|
-
disabled?: DuoyunShortcutRecordElement['disabled'];
|
|
9
|
-
clearable?: DuoyunShortcutRecordElement['clearable'];
|
|
10
|
-
'onchange'?: (event: CustomEvent<Parameters<DuoyunShortcutRecordElement['change']>[0]>) => void;
|
|
11
|
-
'onclear'?: (event: CustomEvent<Parameters<DuoyunShortcutRecordElement['clear']>[0]>) => void;
|
|
12
|
-
value?: DuoyunShortcutRecordElement['value'];
|
|
13
|
-
};
|
|
14
|
-
export type DyShortcutRecordExpose = {};
|
|
15
|
-
declare global {
|
|
16
|
-
namespace JSX {
|
|
17
|
-
interface IntrinsicElements {
|
|
18
|
-
'dy-shortcut-record': DyShortcutRecordProps;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
export declare const DyShortcutRecord: ForwardRefExoticComponent<Omit<DyShortcutRecordProps, "ref"> & RefAttributes<DyShortcutRecordExpose>>;
|
|
23
|
-
export default DyShortcutRecord;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { forwardRef, useImperativeHandle, useRef, useLayoutEffect } from 'react';
|
|
3
|
-
export * from '../elements/shortcut-record';
|
|
4
|
-
export const DyShortcutRecord = forwardRef(function (props, ref) {
|
|
5
|
-
const elementRef = useRef(null);
|
|
6
|
-
useImperativeHandle(ref, () => {
|
|
7
|
-
return {};
|
|
8
|
-
}, []);
|
|
9
|
-
// React Bug?
|
|
10
|
-
useLayoutEffect(() => {
|
|
11
|
-
const element = elementRef.current;
|
|
12
|
-
["placeholder", "tooltip", "disabled", "clearable", "value"].map(name => {
|
|
13
|
-
element[name] = props[name];
|
|
14
|
-
});
|
|
15
|
-
}, []);
|
|
16
|
-
return React.createElement("dy-shortcut-record", { ref: elementRef, ...props });
|
|
17
|
-
});
|
|
18
|
-
export default DyShortcutRecord;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { HTMLAttributes, RefAttributes } from 'react';
|
|
2
|
-
import { ForwardRefExoticComponent } from 'react';
|
|
3
|
-
import { DuoyunSideNavigationElement } from '../elements/side-navigation';
|
|
4
|
-
export * from '../elements/side-navigation';
|
|
5
|
-
export type DySideNavigationProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunSideNavigationElement> & {
|
|
6
|
-
items?: DuoyunSideNavigationElement['items'];
|
|
7
|
-
compact?: DuoyunSideNavigationElement['compact'];
|
|
8
|
-
};
|
|
9
|
-
export type DySideNavigationExpose = {};
|
|
10
|
-
declare global {
|
|
11
|
-
namespace JSX {
|
|
12
|
-
interface IntrinsicElements {
|
|
13
|
-
'dy-side-navigation': DySideNavigationProps;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
export declare const DySideNavigation: ForwardRefExoticComponent<Omit<DySideNavigationProps, "ref"> & RefAttributes<DySideNavigationExpose>>;
|
|
18
|
-
export default DySideNavigation;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { forwardRef, useImperativeHandle, useRef, useLayoutEffect } from 'react';
|
|
3
|
-
export * from '../elements/side-navigation';
|
|
4
|
-
export const DySideNavigation = forwardRef(function (props, ref) {
|
|
5
|
-
const elementRef = useRef(null);
|
|
6
|
-
useImperativeHandle(ref, () => {
|
|
7
|
-
return {};
|
|
8
|
-
}, []);
|
|
9
|
-
// React Bug?
|
|
10
|
-
useLayoutEffect(() => {
|
|
11
|
-
const element = elementRef.current;
|
|
12
|
-
["items", "compact"].map(name => {
|
|
13
|
-
element[name] = props[name];
|
|
14
|
-
});
|
|
15
|
-
}, []);
|
|
16
|
-
return React.createElement("dy-side-navigation", { ref: elementRef, ...props });
|
|
17
|
-
});
|
|
18
|
-
export default DySideNavigation;
|
package/react/DySlider.d.ts
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { HTMLAttributes, RefAttributes } from 'react';
|
|
2
|
-
import { ForwardRefExoticComponent } from 'react';
|
|
3
|
-
import { DuoyunSliderElement } from '../elements/slider';
|
|
4
|
-
export * from '../elements/slider';
|
|
5
|
-
export type DySliderProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunSliderElement> & {
|
|
6
|
-
label?: DuoyunSliderElement['label'];
|
|
7
|
-
orientation?: DuoyunSliderElement['orientation'];
|
|
8
|
-
editable?: DuoyunSliderElement['editable'];
|
|
9
|
-
disabled?: DuoyunSliderElement['disabled'];
|
|
10
|
-
value?: DuoyunSliderElement['value'];
|
|
11
|
-
min?: DuoyunSliderElement['min'];
|
|
12
|
-
max?: DuoyunSliderElement['max'];
|
|
13
|
-
step?: DuoyunSliderElement['step'];
|
|
14
|
-
'onchange'?: (event: CustomEvent<Parameters<DuoyunSliderElement['change']>[0]>) => void;
|
|
15
|
-
'onend'?: (event: CustomEvent<Parameters<DuoyunSliderElement['end']>[0]>) => void;
|
|
16
|
-
};
|
|
17
|
-
export type DySliderExpose = {};
|
|
18
|
-
declare global {
|
|
19
|
-
namespace JSX {
|
|
20
|
-
interface IntrinsicElements {
|
|
21
|
-
'dy-slider': DySliderProps;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
export declare const DySlider: ForwardRefExoticComponent<Omit<DySliderProps, "ref"> & RefAttributes<DySliderExpose>>;
|
|
26
|
-
export default DySlider;
|
package/react/DySlider.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { forwardRef, useImperativeHandle, useRef, useLayoutEffect } from 'react';
|
|
3
|
-
export * from '../elements/slider';
|
|
4
|
-
export const DySlider = forwardRef(function (props, ref) {
|
|
5
|
-
const elementRef = useRef(null);
|
|
6
|
-
useImperativeHandle(ref, () => {
|
|
7
|
-
return {};
|
|
8
|
-
}, []);
|
|
9
|
-
// React Bug?
|
|
10
|
-
useLayoutEffect(() => {
|
|
11
|
-
const element = elementRef.current;
|
|
12
|
-
["label", "orientation", "editable", "disabled", "value", "min", "max", "step"].map(name => {
|
|
13
|
-
element[name] = props[name];
|
|
14
|
-
});
|
|
15
|
-
}, []);
|
|
16
|
-
return React.createElement("dy-slider", { ref: elementRef, ...props });
|
|
17
|
-
});
|
|
18
|
-
export default DySlider;
|
package/react/DySortBox.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { HTMLAttributes, RefAttributes } from 'react';
|
|
2
|
-
import { ForwardRefExoticComponent } from 'react';
|
|
3
|
-
import { DuoyunSortBoxElement } from '../elements/sort-box';
|
|
4
|
-
export * from '../elements/sort-box';
|
|
5
|
-
export type DySortBoxProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunSortBoxElement> & {
|
|
6
|
-
'onsort'?: (event: CustomEvent<Parameters<DuoyunSortBoxElement['sort']>[0]>) => void;
|
|
7
|
-
};
|
|
8
|
-
export type DySortBoxExpose = {};
|
|
9
|
-
declare global {
|
|
10
|
-
namespace JSX {
|
|
11
|
-
interface IntrinsicElements {
|
|
12
|
-
'dy-sort-box': DySortBoxProps;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
export declare const DySortBox: ForwardRefExoticComponent<Omit<DySortBoxProps, "ref"> & RefAttributes<DySortBoxExpose>>;
|
|
17
|
-
export default DySortBox;
|
package/react/DySortBox.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { forwardRef, useImperativeHandle, useRef, useLayoutEffect } from 'react';
|
|
3
|
-
export * from '../elements/sort-box';
|
|
4
|
-
export const DySortBox = forwardRef(function (props, ref) {
|
|
5
|
-
const elementRef = useRef(null);
|
|
6
|
-
useImperativeHandle(ref, () => {
|
|
7
|
-
return {};
|
|
8
|
-
}, []);
|
|
9
|
-
// React Bug?
|
|
10
|
-
useLayoutEffect(() => {
|
|
11
|
-
const element = elementRef.current;
|
|
12
|
-
[].map(name => {
|
|
13
|
-
element[name] = props[name];
|
|
14
|
-
});
|
|
15
|
-
}, []);
|
|
16
|
-
return React.createElement("dy-sort-box", { ref: elementRef, ...props });
|
|
17
|
-
});
|
|
18
|
-
export default DySortBox;
|
package/react/DySortHandle.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { HTMLAttributes, RefAttributes } from 'react';
|
|
2
|
-
import { ForwardRefExoticComponent } from 'react';
|
|
3
|
-
import { DuoyunSortHandleElement } from '../elements/sort-box';
|
|
4
|
-
export * from '../elements/sort-box';
|
|
5
|
-
export type DySortHandleProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunSortHandleElement> & {};
|
|
6
|
-
export type DySortHandleExpose = {};
|
|
7
|
-
declare global {
|
|
8
|
-
namespace JSX {
|
|
9
|
-
interface IntrinsicElements {
|
|
10
|
-
'dy-sort-handle': DySortHandleProps;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
export declare const DySortHandle: ForwardRefExoticComponent<Omit<DySortHandleProps, "ref"> & RefAttributes<DySortHandleExpose>>;
|
|
15
|
-
export default DySortHandle;
|
package/react/DySortHandle.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { forwardRef, useImperativeHandle, useRef, useLayoutEffect } from 'react';
|
|
3
|
-
export * from '../elements/sort-box';
|
|
4
|
-
export const DySortHandle = forwardRef(function (props, ref) {
|
|
5
|
-
const elementRef = useRef(null);
|
|
6
|
-
useImperativeHandle(ref, () => {
|
|
7
|
-
return {};
|
|
8
|
-
}, []);
|
|
9
|
-
// React Bug?
|
|
10
|
-
useLayoutEffect(() => {
|
|
11
|
-
const element = elementRef.current;
|
|
12
|
-
[].map(name => {
|
|
13
|
-
element[name] = props[name];
|
|
14
|
-
});
|
|
15
|
-
}, []);
|
|
16
|
-
return React.createElement("dy-sort-handle", { ref: elementRef, ...props });
|
|
17
|
-
});
|
|
18
|
-
export default DySortHandle;
|
package/react/DySortItem.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { HTMLAttributes, RefAttributes } from 'react';
|
|
2
|
-
import { ForwardRefExoticComponent } from 'react';
|
|
3
|
-
import { DuoyunSortItemElement } from '../elements/sort-box';
|
|
4
|
-
export * from '../elements/sort-box';
|
|
5
|
-
export type DySortItemProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunSortItemElement> & {
|
|
6
|
-
handle?: DuoyunSortItemElement['handle'];
|
|
7
|
-
};
|
|
8
|
-
export type DySortItemExpose = {};
|
|
9
|
-
declare global {
|
|
10
|
-
namespace JSX {
|
|
11
|
-
interface IntrinsicElements {
|
|
12
|
-
'dy-sort-item': DySortItemProps;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
export declare const DySortItem: ForwardRefExoticComponent<Omit<DySortItemProps, "ref"> & RefAttributes<DySortItemExpose>>;
|
|
17
|
-
export default DySortItem;
|
package/react/DySortItem.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { forwardRef, useImperativeHandle, useRef, useLayoutEffect } from 'react';
|
|
3
|
-
export * from '../elements/sort-box';
|
|
4
|
-
export const DySortItem = forwardRef(function (props, ref) {
|
|
5
|
-
const elementRef = useRef(null);
|
|
6
|
-
useImperativeHandle(ref, () => {
|
|
7
|
-
return {};
|
|
8
|
-
}, []);
|
|
9
|
-
// React Bug?
|
|
10
|
-
useLayoutEffect(() => {
|
|
11
|
-
const element = elementRef.current;
|
|
12
|
-
["handle"].map(name => {
|
|
13
|
-
element[name] = props[name];
|
|
14
|
-
});
|
|
15
|
-
}, []);
|
|
16
|
-
return React.createElement("dy-sort-item", { ref: elementRef, ...props });
|
|
17
|
-
});
|
|
18
|
-
export default DySortItem;
|
package/react/DySpace.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { HTMLAttributes, RefAttributes } from 'react';
|
|
2
|
-
import { ForwardRefExoticComponent } from 'react';
|
|
3
|
-
import { DuoyunSpaceElement } from '../elements/space';
|
|
4
|
-
export * from '../elements/space';
|
|
5
|
-
export type DySpaceProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunSpaceElement> & {
|
|
6
|
-
size?: DuoyunSpaceElement['size'];
|
|
7
|
-
orientation?: DuoyunSpaceElement['orientation'];
|
|
8
|
-
};
|
|
9
|
-
export type DySpaceExpose = {};
|
|
10
|
-
declare global {
|
|
11
|
-
namespace JSX {
|
|
12
|
-
interface IntrinsicElements {
|
|
13
|
-
'dy-space': DySpaceProps;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
export declare const DySpace: ForwardRefExoticComponent<Omit<DySpaceProps, "ref"> & RefAttributes<DySpaceExpose>>;
|
|
18
|
-
export default DySpace;
|
package/react/DySpace.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { forwardRef, useImperativeHandle, useRef, useLayoutEffect } from 'react';
|
|
3
|
-
export * from '../elements/space';
|
|
4
|
-
export const DySpace = forwardRef(function (props, ref) {
|
|
5
|
-
const elementRef = useRef(null);
|
|
6
|
-
useImperativeHandle(ref, () => {
|
|
7
|
-
return {};
|
|
8
|
-
}, []);
|
|
9
|
-
// React Bug?
|
|
10
|
-
useLayoutEffect(() => {
|
|
11
|
-
const element = elementRef.current;
|
|
12
|
-
["size", "orientation"].map(name => {
|
|
13
|
-
element[name] = props[name];
|
|
14
|
-
});
|
|
15
|
-
}, []);
|
|
16
|
-
return React.createElement("dy-space", { ref: elementRef, ...props });
|
|
17
|
-
});
|
|
18
|
-
export default DySpace;
|
package/react/DyStatistic.d.ts
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { HTMLAttributes, RefAttributes } from 'react';
|
|
2
|
-
import { ForwardRefExoticComponent } from 'react';
|
|
3
|
-
import { DuoyunStatisticElement } from '../elements/statistic';
|
|
4
|
-
export * from '../elements/statistic';
|
|
5
|
-
export type DyStatisticProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunStatisticElement> & {
|
|
6
|
-
neutral?: DuoyunStatisticElement['neutral'];
|
|
7
|
-
type?: DuoyunStatisticElement['type'];
|
|
8
|
-
/**@deprecated */
|
|
9
|
-
text?: DuoyunStatisticElement['text'];
|
|
10
|
-
header?: DuoyunStatisticElement['header'];
|
|
11
|
-
icon?: DuoyunStatisticElement['icon'];
|
|
12
|
-
loading?: DuoyunStatisticElement['loading'];
|
|
13
|
-
value?: DuoyunStatisticElement['value'];
|
|
14
|
-
prevValue?: DuoyunStatisticElement['prevValue'];
|
|
15
|
-
};
|
|
16
|
-
export type DyStatisticExpose = {};
|
|
17
|
-
declare global {
|
|
18
|
-
namespace JSX {
|
|
19
|
-
interface IntrinsicElements {
|
|
20
|
-
'dy-statistic': DyStatisticProps;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
export declare const DyStatistic: ForwardRefExoticComponent<Omit<DyStatisticProps, "ref"> & RefAttributes<DyStatisticExpose>>;
|
|
25
|
-
export default DyStatistic;
|
package/react/DyStatistic.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { forwardRef, useImperativeHandle, useRef, useLayoutEffect } from 'react';
|
|
3
|
-
export * from '../elements/statistic';
|
|
4
|
-
export const DyStatistic = forwardRef(function (props, ref) {
|
|
5
|
-
const elementRef = useRef(null);
|
|
6
|
-
useImperativeHandle(ref, () => {
|
|
7
|
-
return {};
|
|
8
|
-
}, []);
|
|
9
|
-
// React Bug?
|
|
10
|
-
useLayoutEffect(() => {
|
|
11
|
-
const element = elementRef.current;
|
|
12
|
-
["neutral", "type", "text", "header", "icon", "loading", "value", "prevValue"].map(name => {
|
|
13
|
-
element[name] = props[name];
|
|
14
|
-
});
|
|
15
|
-
}, []);
|
|
16
|
-
return React.createElement("dy-statistic", { ref: elementRef, ...props });
|
|
17
|
-
});
|
|
18
|
-
export default DyStatistic;
|
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;
|