@dataloop-ai/components 0.15.7 → 0.16.0
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/package.json +1 -1
- package/src/assets/grid.css +9 -0
- package/src/components/{DlAccordion → basic/DlAccordion}/DlAccordion.vue +1 -1
- package/src/components/{DlAccordion → basic/DlAccordion/components}/AccordionHeader.vue +3 -5
- package/src/components/{DlAlert.vue → basic/DlAlert/DlAlert.vue} +3 -3
- package/src/components/basic/DlAlert/index.ts +2 -0
- package/src/components/{DlAvatar.vue → basic/DlAvatar/DlAvatar.vue} +2 -2
- package/src/components/basic/DlAvatar/index.ts +2 -0
- package/src/components/{DlButton → basic/DlButton}/DlButton.vue +5 -20
- package/src/components/{DlButton → basic/DlButton}/index.ts +0 -1
- package/src/components/basic/DlButton/types.ts +14 -0
- package/src/components/{DlButton → basic/DlButton}/utils.ts +9 -9
- package/src/components/{DlChip → basic/DlChip}/DlChip.vue +3 -4
- package/src/components/basic/DlChip/index.ts +3 -0
- package/src/components/{DlChip → basic/DlChip}/utils.ts +8 -8
- package/src/components/basic/DlKpi/DlKpi.vue +275 -0
- package/src/components/basic/DlKpi/components/KpiInfo.vue +54 -0
- package/src/components/basic/DlKpi/index.ts +2 -0
- package/src/components/basic/DlKpi/types/KpiItem.ts +28 -0
- package/src/components/basic/DlKpi/types.ts +1 -0
- package/src/components/{DlListItem → basic/DlListItem}/DlListItem.vue +3 -3
- package/src/components/{DlPanelContainer → basic/DlPanelContainer}/DlPanelContainer.vue +1 -2
- package/src/components/basic/DlPanelContainer/index.ts +2 -0
- package/src/components/{DlPopup → basic/DlPopup}/DlPopup.vue +23 -20
- package/src/components/{DlPopup → basic/DlPopup/components}/PopupHeader.vue +1 -2
- package/src/components/basic/DlPopup/index.ts +3 -0
- package/src/components/{DlProgressChart.vue → basic/DlProgressChart/DlProgressChart.vue} +3 -4
- package/src/components/basic/DlProgressChart/index.ts +2 -0
- package/src/components/{DlWidget → basic/DlWidget}/DlWidget.vue +2 -2
- package/src/components/basic/DlWidget/index.ts +5 -0
- package/src/components/basic/index.ts +11 -0
- package/src/components/basic/models.ts +1 -0
- package/src/components/basic/types.ts +8 -0
- package/src/components/{DlChart → compound/DlCharts/charts/DlBarChart}/DlBarChart.vue +13 -9
- package/src/components/compound/DlCharts/charts/DlBarChart/index.ts +2 -0
- package/src/components/{DlChart → compound/DlCharts/charts/DlColumnChart}/DlColumnChart.vue +13 -15
- package/src/components/compound/DlCharts/charts/DlColumnChart/index.ts +2 -0
- package/src/components/{DlChart/Doughnut → compound/DlCharts/charts/DlDoughnutChart}/DlDoughnutChart.vue +5 -5
- package/src/components/{DlChart/Doughnut → compound/DlCharts/charts/DlDoughnutChart}/DlDoughnutChartWidget.vue +1 -3
- package/src/components/{DlChart/Doughnut → compound/DlCharts/charts/DlDoughnutChart/components}/DlDoughnutChartLegend.vue +2 -4
- package/src/components/compound/DlCharts/charts/DlDoughnutChart/index.ts +3 -0
- package/src/components/compound/DlCharts/charts/DlDoughnutChart/types/index.ts +5 -0
- package/src/components/{DlChart → compound/DlCharts/charts/DlLineChart}/DlLineChart.vue +12 -8
- package/src/components/compound/DlCharts/charts/DlLineChart/index.ts +2 -0
- package/src/components/compound/DlCharts/charts/index.ts +4 -0
- package/src/components/{DlChart → compound/DlCharts/components}/DlBrush.vue +7 -7
- package/src/components/{DlChart → compound/DlCharts/components}/DlChartLabels.vue +2 -3
- package/src/components/{DlChart → compound/DlCharts/components}/DlChartLegend.vue +2 -3
- package/src/components/{DlChart/DlScrollBar.vue → compound/DlCharts/components/DlChartScrollBar.vue} +1 -1
- package/src/components/compound/DlCharts/index.ts +1 -0
- package/src/components/{DlChart → compound/DlCharts/models}/chart.ts +4 -4
- package/src/components/compound/DlCharts/models/index.ts +1 -0
- package/src/components/{DlChart → compound/DlCharts/shared}/BrushThumb.vue +3 -4
- package/src/components/compound/DlCharts/types/index.ts +1 -0
- package/src/components/{DlChart → compound/DlCharts/types}/props.ts +2 -2
- package/src/components/{DlChart → compound/DlCharts/types}/typedCharts.ts +5 -5
- package/src/components/{DlChart → compound/DlCharts/types}/types.ts +4 -4
- package/src/components/compound/DlCharts/types.ts +1 -0
- package/src/components/{DlCounters.vue → compound/DlCounters/DlCounters.vue} +15 -26
- package/src/components/compound/DlCounters/index.ts +2 -0
- package/src/components/{DlDatePicker → compound/DlDateTime/DlDatePicker}/DlDatePicker.vue +3 -4
- package/src/components/{DlDatePicker → compound/DlDateTime/DlDatePicker/components}/DlCalendar.vue +10 -12
- package/src/components/{DlDatePicker → compound/DlDateTime/DlDatePicker/components}/DlMonthCalendar.vue +4 -5
- package/src/components/compound/DlDateTime/DlDatePicker/models/index.ts +3 -0
- package/src/components/{DlDatePicker/isInRange.ts → compound/DlDateTime/DlDatePicker/utils.ts} +40 -1
- package/src/components/{DlDateTimeRange → compound/DlDateTime/DlDateTimeRange}/DlDateInput.vue +1 -1
- package/src/components/{DlDateTimeRange → compound/DlDateTime/DlDateTimeRange}/DlDateTimeRange.vue +6 -6
- package/src/components/{DlTimePicker → compound/DlDateTime/DlTimePicker}/DlTimePicker.vue +2 -2
- package/src/components/{DlTimePicker → compound/DlDateTime/DlTimePicker/components}/DlTimePickerInput.vue +2 -3
- package/src/components/compound/DlDateTime/index.ts +3 -0
- package/src/components/compound/DlDateTime/types.ts +3 -0
- package/src/components/{DlDialogBox → compound/DlDialogBox/components}/DlDialogBoxHeader.vue +1 -1
- package/src/components/compound/DlDialogBox/index.ts +5 -0
- package/src/components/compound/DlDialogBox/types.ts +1 -0
- package/src/components/{DlDropdownButton.vue → compound/DlDropdownButton/DlDropdownButton.vue} +10 -10
- package/src/components/{DlButtonGroup.vue → compound/DlDropdownButton/components/ButtonGroup.vue} +4 -3
- package/src/components/compound/DlDropdownButton/index.ts +2 -0
- package/src/components/{DlTextInput.vue → compound/DlInput/DlInput.vue} +12 -14
- package/src/components/compound/DlInput/index.ts +2 -0
- package/src/components/{DlItem → compound/DlItem}/DlItem.vue +2 -2
- package/src/components/{DlSmartSearch → compound/DlJsonEditor}/DlJsonEditor.vue +5 -6
- package/src/components/compound/DlJsonEditor/index.ts +2 -0
- package/src/components/compound/DlJsonEditor/types.ts +4 -0
- package/src/components/{DlOptionGroup → compound/DlOptionGroup}/DlOptionGroup.vue +9 -10
- package/src/components/{DlOptionGroup → compound/DlOptionGroup/components}/MenuItemWrapper.vue +3 -3
- package/src/components/{DlOptionGroup → compound/DlOptionGroup/components}/SimpleWrapper.vue +1 -1
- package/src/components/{DlOptionGroup → compound/DlOptionGroup}/index.ts +1 -1
- package/src/components/compound/DlOptionGroup/types.ts +40 -0
- package/src/components/compound/DlOptionGroup/utils.ts +46 -0
- package/src/components/{DlPagination → compound/DlPagination}/DlPagination.vue +4 -4
- package/src/components/{DlPagination → compound/DlPagination/components}/PageNavigation.vue +2 -2
- package/src/components/{DlPagination → compound/DlPagination/components}/QuickNavigation.vue +4 -4
- package/src/components/{DlPagination → compound/DlPagination/components}/RowsSelector.vue +2 -2
- package/src/components/{DlRange → compound/DlRange}/DlRange.vue +3 -3
- package/src/components/compound/DlRange/index.ts +2 -0
- package/src/components/{DlRange → compound/DlRange}/utils.ts +4 -4
- package/src/components/{DlSearch.vue → compound/DlSearches/DlSearch/DlSearch.vue} +6 -6
- package/src/components/compound/DlSearches/DlSearch/index.ts +2 -0
- package/src/components/compound/DlSearches/DlSearch/types.ts +1 -0
- package/src/components/{DlSmartSearch → compound/DlSearches/DlSmartSearch}/DlSmartSearch.vue +15 -11
- package/src/components/{DlSmartSearch → compound/DlSearches/DlSmartSearch/components}/DlSmartSearchInput.vue +15 -11
- package/src/components/{DlSmartSearch → compound/DlSearches/DlSmartSearch/components}/DlSuggestionsDropdown.vue +2 -3
- package/src/components/compound/DlSearches/DlSmartSearch/index.ts +3 -0
- package/src/components/{DlSmartSearch → compound/DlSearches/DlSmartSearch/utils}/highlightSyntax.ts +2 -4
- package/src/components/{DlSmartSearch/utils.ts → compound/DlSearches/DlSmartSearch/utils/index.ts} +4 -2
- package/src/components/compound/DlSearches/index.ts +2 -0
- package/src/components/compound/DlSearches/types.ts +2 -0
- package/src/components/{DlSelect → compound/DlSelect}/DlSelect.vue +14 -18
- package/src/components/{DlSelect/SelectOption.vue → compound/DlSelect/components/DlSelectOption.vue} +5 -6
- package/src/components/compound/DlSelect/index.ts +4 -0
- package/src/components/{DlSelect → compound/DlSelect}/utils.ts +4 -4
- package/src/components/{DlSlider → compound/DlSlider}/DlSlider.vue +3 -2
- package/src/components/{DlSlider → compound/DlSlider}/components/DlSliderBase.vue +2 -2
- package/src/components/{DlSlider → compound/DlSlider}/useSlider.ts +2 -2
- package/src/components/{DlStepper → compound/DlStepper}/DlStepper.vue +8 -8
- package/src/components/{DlStepper → compound/DlStepper/components}/DlStepperContent.vue +2 -2
- package/src/components/{DlStepper → compound/DlStepper/components}/DlStepperFooter.vue +2 -2
- package/src/components/{DlStepper → compound/DlStepper/components}/DlStepperHeader.vue +2 -1
- package/src/components/{DlStepper → compound/DlStepper/components}/DlStepperSidebar.vue +4 -4
- package/src/components/compound/DlStepper/index.ts +4 -0
- package/src/components/compound/DlStepper/models/index.ts +3 -0
- package/src/components/compound/DlStepper/types.ts +2 -0
- package/src/components/{DlTabPanels → compound/DlTabPanels}/DlTabPanels.vue +1 -1
- package/src/components/{DlTable → compound/DlTable}/DlTable.vue +20 -20
- package/src/components/{DlTable → compound/DlTable/components}/DlTd.vue +4 -4
- package/src/components/{DlTable → compound/DlTable/components}/DlTh.vue +3 -4
- package/src/components/{DlTable → compound/DlTable/components}/DlTr.vue +1 -1
- package/src/components/{DlTable → compound/DlTable}/hooks/tableColumnSelection.ts +6 -6
- package/src/components/{DlTable → compound/DlTable}/hooks/tableFilter.ts +2 -2
- package/src/components/{DlTable → compound/DlTable}/hooks/tableRowSelection.ts +6 -6
- package/src/components/{DlTable → compound/DlTable}/hooks/tableSort.ts +11 -11
- package/src/components/compound/DlTable/index.ts +6 -0
- package/src/components/compound/DlTable/types.ts +96 -0
- package/src/components/compound/DlTable/utils/index.ts +1 -0
- package/src/components/{DlTabs → compound/DlTabs}/DlTabs.vue +5 -5
- package/src/components/{DlTabs → compound/DlTabs/components}/DlTab.vue +2 -3
- package/src/components/{DlTabs → compound/DlTabs/components}/TabsWrapper.vue +2 -2
- package/src/components/{DlTabs → compound/DlTabs}/index.ts +1 -1
- package/src/components/{DlTabs → compound/DlTabs}/types.ts +1 -1
- package/src/components/{DlToastMessage → compound/DlToast}/components/ToastComponent.vue +2 -3
- package/src/components/compound/index.ts +18 -0
- package/src/components/compound/models.ts +1 -0
- package/src/components/compound/types.ts +10 -0
- package/src/components/essential/DlBadge/index.ts +2 -0
- package/src/components/{DlCheckbox.vue → essential/DlCheckbox/DlCheckbox.vue} +2 -2
- package/src/components/essential/DlCheckbox/index.ts +2 -0
- package/src/components/{DlColorPicker → essential/DlColorPicker}/DlColorPicker.vue +6 -6
- package/src/components/{DlColorPicker → essential/DlColorPicker/components}/DlAlpha.vue +1 -1
- package/src/components/{DlColorPicker → essential/DlColorPicker/components}/DlColors.vue +1 -1
- package/src/components/{DlColorPicker → essential/DlColorPicker/components}/DlPreview.vue +1 -1
- package/src/components/{DlColorPicker → essential/DlColorPicker/components}/DlSaturation.vue +1 -1
- package/src/components/essential/DlColorPicker/index.ts +17 -0
- package/src/components/{DlColorPicker → essential/DlColorPicker}/types.ts +3 -0
- package/src/components/{DlIcon.vue → essential/DlIcon/DlIcon.vue} +1 -1
- package/src/components/essential/DlIcon/index.ts +2 -0
- package/src/components/{DlLink → essential/DlLink}/index.ts +0 -1
- package/src/components/essential/DlList/index.ts +2 -0
- package/src/components/{DlMenu → essential/DlMenu}/DlMenu.vue +19 -17
- package/src/components/{DlMenu → essential/DlMenu}/utils.ts +5 -5
- package/src/components/essential/DlPanel/index.ts +2 -0
- package/src/components/{DlProgressBar.vue → essential/DlProgressBar/DlProgressBar.vue} +27 -2
- package/src/components/essential/DlProgressBar/index.ts +2 -0
- package/src/components/{DlRadio.vue → essential/DlRadio/DlRadio.vue} +1 -2
- package/src/components/essential/DlRadio/index.ts +2 -0
- package/src/components/essential/DlSkeleton/index.ts +2 -0
- package/src/components/essential/DlSpinner/index.ts +2 -0
- package/src/components/{DlSwitch.vue → essential/DlSwitch/DlSwitch.vue} +3 -3
- package/src/components/essential/DlSwitch/index.ts +2 -0
- package/src/components/essential/DlTextArea/index.ts +2 -0
- package/src/components/essential/DlTextHolder/index.ts +2 -0
- package/src/components/{DlThemeProvider.vue → essential/DlThemeProvider/DlThemeProvider.vue} +2 -2
- package/src/components/essential/DlThemeProvider/index.ts +2 -0
- package/src/components/{DlTooltip.vue → essential/DlTooltip/DlTooltip.vue} +15 -13
- package/src/components/essential/DlTooltip/index.ts +2 -0
- package/src/components/{DlTrend.vue → essential/DlTrend/DlTrend.vue} +1 -1
- package/src/components/essential/DlTrend/index.ts +2 -0
- package/src/components/{DlTypography.vue → essential/DlTypography/DlTypography.vue} +1 -1
- package/src/components/essential/DlTypography/index.ts +2 -0
- package/src/components/essential/index.ts +19 -0
- package/src/components/essential/models.ts +1 -0
- package/src/components/essential/types.ts +1 -0
- package/src/components/index.ts +4 -123
- package/src/components/models.ts +4 -0
- package/src/components/shared/DlInfoErrorMessage/index.ts +2 -0
- package/src/components/{DlItemSection.vue → shared/DlItemSection/DlItemSection.vue} +1 -1
- package/src/components/shared/DlItemSection/index.ts +2 -0
- package/src/components/{DlVirtualScroll → shared/DlVirtualScroll}/DlVirtualScroll.vue +3 -3
- package/src/components/shared/index.ts +3 -0
- package/src/components/shared/models.ts +1 -0
- package/src/components/shared/types.ts +1 -0
- package/src/components/types.ts +3 -0
- package/src/demo/BarChartDemo.vue +1 -1
- package/src/demo/ColumnChartDemo.vue +1 -2
- package/src/demo/DlAvatarDemo.vue +2 -2
- package/src/demo/DlButtonDemo.vue +1 -1
- package/src/demo/DlChartDoughnutDemo.vue +2 -2
- package/src/demo/DlColorPickerDemo.vue +1 -1
- package/src/demo/DlCounterDemo.vue +1 -1
- package/src/demo/DlDateTimeRangeDemo.vue +1 -1
- package/src/demo/DlDialogBoxDemo.vue +1 -1
- package/src/demo/{DlTextInputDemo.vue → DlInputDemo.vue} +8 -8
- package/src/demo/DlKpiDemo.vue +261 -0
- package/src/demo/DlOptionGroupDemo.vue +2 -2
- package/src/demo/DlPaginationDemo.vue +1 -1
- package/src/demo/DlPopupDemo.vue +2 -3
- package/src/demo/DlSpinnerDemo.vue +1 -1
- package/src/demo/DlStepperDemo/CenteredStepperInDialogBox.vue +3 -10
- package/src/demo/DlStepperDemo/SimpleStepper.vue +3 -9
- package/src/demo/DlStepperDemo/StepperInDialogBox.vue +3 -10
- package/src/demo/DlStepperDemo/steps/DataStep.vue +3 -3
- package/src/demo/DlStepperDemo/steps/GeneralStep.vue +4 -4
- package/src/demo/DlTableDemo.vue +3 -3
- package/src/demo/DlTabsDemo.vue +2 -2
- package/src/demo/{DlToastMessageDemo.vue → DlToastDemo.vue} +5 -11
- package/src/demo/DlTypographyDemo.vue +1 -2
- package/src/demo/DlWidgetDemo.vue +1 -4
- package/src/demo/SmartSearchDemo/DlSmartSearchDemo.vue +1 -1
- package/src/demo/index.ts +8 -6
- package/src/models.ts +1 -3
- package/src/types.ts +1 -6
- package/src/utils/formatNumber.ts +15 -0
- package/src/utils/index.ts +1 -0
- package/src/components/DlChart/index.ts +0 -36
- package/src/components/DlChip/index.ts +0 -4
- package/src/components/DlColorPicker/index.ts +0 -20
- package/src/components/DlDatePicker/utils.ts +0 -39
- package/src/components/DlDialogBox/index.ts +0 -5
- package/src/components/DlOptionGroup/OptionGroup.types.ts +0 -36
- package/src/components/DlOptionGroup/utils.ts +0 -40
- package/src/components/DlPanelContainer/index.ts +0 -4
- package/src/components/DlPopup/index.ts +0 -1
- package/src/components/DlSelect/index.ts +0 -4
- package/src/components/DlSmartSearch/index.ts +0 -4
- package/src/components/DlStepper/index.ts +0 -7
- package/src/components/DlTable/index.ts +0 -6
- package/src/components/DlTable/types.ts +0 -96
- package/src/components/DlWidget/index.ts +0 -4
- /package/src/components/{DlAccordion → basic/DlAccordion}/index.ts +0 -0
- /package/src/components/{DlListItem → basic/DlListItem}/index.ts +0 -0
- /package/src/components/{DlListItem → basic/DlListItem}/utils.ts +0 -0
- /package/src/components/{DlPopup → basic/DlPopup/components}/DraggableUpper.vue +0 -0
- /package/src/components/{DlWidget → basic/DlWidget}/DlGrid.vue +0 -0
- /package/src/components/{DlWidget → basic/DlWidget}/DlGridRow.vue +0 -0
- /package/src/components/{DlWidget → basic/DlWidget}/types.ts +0 -0
- /package/src/components/{DlWidget → basic/DlWidget}/utils.ts +0 -0
- /package/src/components/{DlChart/Doughnut → compound/DlCharts/charts/DlDoughnutChart}/types/TDoughnutChartAnimation.ts +0 -0
- /package/src/components/{DlChart/Doughnut → compound/DlCharts/charts/DlDoughnutChart}/types/TDoughnutChartData.ts +0 -0
- /package/src/components/{DlChart/Doughnut → compound/DlCharts/charts/DlDoughnutChart}/types/TDoughnutChartOptions.ts +0 -0
- /package/src/components/{DlChart/Doughnut → compound/DlCharts/charts/DlDoughnutChart}/types/TDoughnutChartProps.ts +0 -0
- /package/src/components/{DlChart/Doughnut → compound/DlCharts/charts/DlDoughnutChart}/types/TDoughnutWithOriginalColor.ts +0 -0
- /package/src/components/{DlChart → compound/DlCharts}/utils.ts +0 -0
- /package/src/components/{DlDatePicker → compound/DlDateTime/DlDatePicker}/index.ts +0 -0
- /package/src/components/{DlDatePicker/classes → compound/DlDateTime/DlDatePicker/models}/Calendar.ts +0 -0
- /package/src/components/{DlDatePicker/classes → compound/DlDateTime/DlDatePicker/models}/CalendarDate.ts +0 -0
- /package/src/components/{DlDatePicker/classes → compound/DlDateTime/DlDatePicker/models}/CustomDate.ts +0 -0
- /package/src/components/{DlDatePicker → compound/DlDateTime/DlDatePicker}/types.ts +0 -0
- /package/src/components/{DlDateTimeRange → compound/DlDateTime/DlDateTimeRange}/DlCardSidebar.vue +0 -0
- /package/src/components/{DlDateTimeRange → compound/DlDateTime/DlDateTimeRange}/index.ts +0 -0
- /package/src/components/{DlDateTimeRange → compound/DlDateTime/DlDateTimeRange}/types.ts +0 -0
- /package/src/components/{DlTimePicker → compound/DlDateTime/DlTimePicker/components}/DlTimeCounter.vue +0 -0
- /package/src/components/{DlTimePicker → compound/DlDateTime/DlTimePicker}/index.ts +0 -0
- /package/src/components/{DlTimePicker → compound/DlDateTime/DlTimePicker}/types.ts +0 -0
- /package/src/components/{DlDialogBox → compound/DlDialogBox}/DlDialogBox.vue +0 -0
- /package/src/components/{DlDialogBox → compound/DlDialogBox/components}/DlDialogBoxFooter.vue +0 -0
- /package/src/components/{DlItem → compound/DlItem}/index.ts +0 -0
- /package/src/components/{DlPagination → compound/DlPagination/components}/PaginationLegend.vue +0 -0
- /package/src/components/{DlPagination → compound/DlPagination}/index.ts +0 -0
- /package/src/components/{DlSmartSearch → compound/DlSearches/DlSmartSearch}/types.ts +0 -0
- /package/src/components/{DlSlider → compound/DlSlider}/components/DlSliderInput.vue +0 -0
- /package/src/components/{DlSlider → compound/DlSlider}/components/index.ts +0 -0
- /package/src/components/{DlSlider → compound/DlSlider}/index.ts +0 -0
- /package/src/components/{DlSlider → compound/DlSlider}/sliderStyles.scss +0 -0
- /package/src/components/{DlSlider → compound/DlSlider}/utils.ts +0 -0
- /package/src/components/{DlStepper → compound/DlStepper/components}/DlStepperContainer.vue +0 -0
- /package/src/components/{DlStepper → compound/DlStepper/models}/Step.ts +0 -0
- /package/src/components/{DlStepper → compound/DlStepper/models}/Stepper.ts +0 -0
- /package/src/components/{DlStepper → compound/DlStepper/models}/interfaces.ts +0 -0
- /package/src/components/{DlTabPanels → compound/DlTabPanels}/DlTabPanel.vue +0 -0
- /package/src/components/{DlTabPanels → compound/DlTabPanels}/index.ts +0 -0
- /package/src/components/{DlTabPanels → compound/DlTabPanels}/utils.ts +0 -0
- /package/src/components/{DlTable → compound/DlTable}/hooks/tableActions.ts +0 -0
- /package/src/components/{DlTable → compound/DlTable}/hooks/tablePagination.ts +0 -0
- /package/src/components/{DlTable → compound/DlTable}/hooks/tableRowExpand.ts +0 -0
- /package/src/components/{DlTable → compound/DlTable/styles}/dl-table-styles.scss +0 -0
- /package/src/components/{DlTable → compound/DlTable/utils}/ResizableManager.ts +0 -0
- /package/src/components/{DlToastMessage → compound/DlToast}/api/useToast.ts +0 -0
- /package/src/components/{DlToastMessage → compound/DlToast}/index.ts +0 -0
- /package/src/components/{DlToastMessage → compound/DlToast}/types.ts +0 -0
- /package/src/components/{DlToastMessage → compound/DlToast}/utils/config.ts +0 -0
- /package/src/components/{DlToastMessage → compound/DlToast}/utils/render.ts +0 -0
- /package/src/components/{DlBadge.vue → essential/DlBadge/DlBadge.vue} +0 -0
- /package/src/components/{DlColorPicker → essential/DlColorPicker/components}/DlBox.vue +0 -0
- /package/src/components/{DlColorPicker → essential/DlColorPicker/components}/DlHue.vue +0 -0
- /package/src/components/{DlColorPicker → essential/DlColorPicker}/constants.ts +0 -0
- /package/src/components/{DlColorPicker → essential/DlColorPicker}/utils.ts +0 -0
- /package/src/components/{DlLink → essential/DlLink}/DlLink.vue +0 -0
- /package/src/components/{DlLink → essential/DlLink}/utils.ts +0 -0
- /package/src/components/{DlList.vue → essential/DlList/DlList.vue} +0 -0
- /package/src/components/{DlMenu → essential/DlMenu}/index.ts +0 -0
- /package/src/components/{DlPanelContainer → essential/DlPanel}/DlPanel.vue +0 -0
- /package/src/components/{DlSkeleton.vue → essential/DlSkeleton/DlSkeleton.vue} +0 -0
- /package/src/components/{DlSpinner.vue → essential/DlSpinner/DlSpinner.vue} +0 -0
- /package/src/components/{DlTextArea.vue → essential/DlTextArea/DlTextArea.vue} +0 -0
- /package/src/components/{DlTextHolder.vue → essential/DlTextHolder/DlTextHolder.vue} +0 -0
- /package/src/components/{DlInfoErrorMessage.vue → shared/DlInfoErrorMessage/DlInfoErrorMessage.vue} +0 -0
- /package/src/components/{DlVirtualScroll → shared/DlVirtualScroll}/index.ts +0 -0
- /package/src/components/{DlVirtualScroll → shared/DlVirtualScroll}/useVirtualScroll.ts +0 -0
|
@@ -36,35 +36,37 @@ import {
|
|
|
36
36
|
isVue2
|
|
37
37
|
} from 'vue-demi'
|
|
38
38
|
|
|
39
|
-
import useWindowSize from '
|
|
40
|
-
import useAnchor, { useAnchorProps } from '
|
|
41
|
-
import useScrollTarget from '
|
|
39
|
+
import useWindowSize from '../../../hooks/use-window-size'
|
|
40
|
+
import useAnchor, { useAnchorProps } from '../../../hooks/use-anchor'
|
|
41
|
+
import useScrollTarget from '../../../hooks/use-scroll-target'
|
|
42
42
|
import useModelToggle, {
|
|
43
43
|
useModelToggleProps,
|
|
44
44
|
useModelToggleEmits,
|
|
45
45
|
AnchorEvent
|
|
46
|
-
} from '
|
|
47
|
-
import usePortal from '
|
|
48
|
-
import useTransition, {
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
import
|
|
53
|
-
|
|
54
|
-
import
|
|
55
|
-
import {
|
|
46
|
+
} from '../../../hooks/use-model-toggle'
|
|
47
|
+
import usePortal from '../../../hooks/use-portal'
|
|
48
|
+
import useTransition, {
|
|
49
|
+
useTransitionProps
|
|
50
|
+
} from '../../../hooks/use-transition'
|
|
51
|
+
import useTick from '../../../hooks/use-tick'
|
|
52
|
+
import useTimeout from '../../../hooks/use-timeout'
|
|
53
|
+
|
|
54
|
+
import { closePortalMenus } from '../../../utils/portal'
|
|
55
|
+
import { getScrollTarget } from '../../../utils/scroll'
|
|
56
|
+
import DlTeleport from '../../../utils/teleport'
|
|
57
|
+
import { removeEscapeKey } from '../../../utils/escape-key'
|
|
56
58
|
import {
|
|
57
59
|
removeClickOutside,
|
|
58
60
|
ClickOutsideEvent
|
|
59
|
-
} from '
|
|
60
|
-
import { addFocusFn } from '
|
|
61
|
+
} from '../../../utils/click-outside'
|
|
62
|
+
import { addFocusFn } from '../../../utils/focus-manager'
|
|
61
63
|
|
|
62
64
|
import {
|
|
63
65
|
validatePosition,
|
|
64
66
|
validateOffset,
|
|
65
67
|
setPosition,
|
|
66
68
|
parsePosition
|
|
67
|
-
} from '
|
|
69
|
+
} from '../../../utils/position-engine'
|
|
68
70
|
import {
|
|
69
71
|
handleClickOutside,
|
|
70
72
|
getAnchorOrigin,
|
|
@@ -75,7 +77,7 @@ import {
|
|
|
75
77
|
refocusTargetFn,
|
|
76
78
|
conditionalHandler
|
|
77
79
|
} from './utils'
|
|
78
|
-
import { isMobileOrTablet } from '
|
|
80
|
+
import { isMobileOrTablet } from '../../../utils'
|
|
79
81
|
import { v4 } from 'uuid'
|
|
80
82
|
|
|
81
83
|
export default defineComponent({
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { AnchorEvent } from '
|
|
2
|
-
import { position, stopAndPrevent } from '
|
|
3
|
-
import { parsePosition } from '
|
|
1
|
+
import { AnchorEvent } from '../../../hooks/use-model-toggle'
|
|
2
|
+
import { position, stopAndPrevent } from '../../../utils/events'
|
|
3
|
+
import { parsePosition } from '../../../utils/position-engine'
|
|
4
4
|
import { Ref } from 'vue-demi'
|
|
5
|
-
import { addEscapeKey, removeEscapeKey } from '
|
|
5
|
+
import { addEscapeKey, removeEscapeKey } from '../../../utils/escape-key'
|
|
6
6
|
import {
|
|
7
7
|
addClickOutside,
|
|
8
8
|
removeClickOutside,
|
|
9
9
|
ClickOutsideEvent
|
|
10
|
-
} from '
|
|
10
|
+
} from '../../../utils/click-outside'
|
|
11
11
|
|
|
12
12
|
interface ClickOutsideProps {
|
|
13
13
|
persistent: boolean
|
|
@@ -29,19 +29,28 @@
|
|
|
29
29
|
/>
|
|
30
30
|
</span>
|
|
31
31
|
<p
|
|
32
|
-
v-if="showValue && !indeterminate"
|
|
32
|
+
v-if="showValue && !indeterminate && !summary"
|
|
33
33
|
class="dl-progress-bar-label"
|
|
34
34
|
>
|
|
35
35
|
{{ computedValue }}{{ showPercentage ? '%' : '' }}
|
|
36
36
|
</p>
|
|
37
37
|
</div>
|
|
38
|
+
<div
|
|
39
|
+
v-if="summary"
|
|
40
|
+
class="summary"
|
|
41
|
+
>
|
|
42
|
+
<div>
|
|
43
|
+
{{ summary }}
|
|
44
|
+
</div>
|
|
45
|
+
<div>{{ computedValue }}%</div>
|
|
46
|
+
</div>
|
|
38
47
|
</div>
|
|
39
48
|
</template>
|
|
40
49
|
|
|
41
50
|
<script lang="ts">
|
|
42
51
|
import { v4 } from 'uuid'
|
|
43
52
|
import { defineComponent } from 'vue-demi'
|
|
44
|
-
import { getColor } from '
|
|
53
|
+
import { getColor } from '../../../utils'
|
|
45
54
|
|
|
46
55
|
export default defineComponent({
|
|
47
56
|
name: 'DlProgressBar',
|
|
@@ -75,6 +84,10 @@ export default defineComponent({
|
|
|
75
84
|
width: {
|
|
76
85
|
type: String,
|
|
77
86
|
default: '100%'
|
|
87
|
+
},
|
|
88
|
+
summary: {
|
|
89
|
+
type: String,
|
|
90
|
+
default: ''
|
|
78
91
|
}
|
|
79
92
|
},
|
|
80
93
|
data() {
|
|
@@ -130,6 +143,18 @@ export default defineComponent({
|
|
|
130
143
|
animation-iteration-count: infinite;
|
|
131
144
|
}
|
|
132
145
|
|
|
146
|
+
.summary {
|
|
147
|
+
display: flex;
|
|
148
|
+
align-items: center;
|
|
149
|
+
justify-content: space-between;
|
|
150
|
+
font-style: normal;
|
|
151
|
+
font-weight: 400;
|
|
152
|
+
font-size: 10px;
|
|
153
|
+
line-height: 12px;
|
|
154
|
+
text-transform: capitalize;
|
|
155
|
+
font-feature-settings: 'cpsp' on;
|
|
156
|
+
color: var(--dl-color-lighter);
|
|
157
|
+
}
|
|
133
158
|
@keyframes indeterminate-loading {
|
|
134
159
|
0% {
|
|
135
160
|
width: 0%;
|
|
@@ -62,9 +62,8 @@
|
|
|
62
62
|
|
|
63
63
|
<script lang="ts">
|
|
64
64
|
import { defineComponent } from 'vue-demi'
|
|
65
|
-
import { stopAndPrevent } from '
|
|
65
|
+
import { stopAndPrevent, getColor } from '../../../utils'
|
|
66
66
|
import { v4 } from 'uuid'
|
|
67
|
-
import { getColor } from '../utils'
|
|
68
67
|
|
|
69
68
|
export default defineComponent({
|
|
70
69
|
name: 'DlRadio',
|
|
@@ -46,7 +46,6 @@
|
|
|
46
46
|
<script lang="ts">
|
|
47
47
|
import { defineComponent, PropType, toRaw, nextTick } from 'vue-demi'
|
|
48
48
|
import { debounce } from 'lodash'
|
|
49
|
-
import { getColor } from '../utils'
|
|
50
49
|
import { v4 } from 'uuid'
|
|
51
50
|
import {
|
|
52
51
|
calculateBorderRadius,
|
|
@@ -54,8 +53,9 @@ import {
|
|
|
54
53
|
calculateMargin,
|
|
55
54
|
calculateActiveMarginLeft,
|
|
56
55
|
calculateWidth,
|
|
57
|
-
stopAndPrevent
|
|
58
|
-
|
|
56
|
+
stopAndPrevent,
|
|
57
|
+
getColor
|
|
58
|
+
} from '../../../utils'
|
|
59
59
|
|
|
60
60
|
const Any = [Array, Boolean, String, Number, Object]
|
|
61
61
|
|
package/src/components/{DlThemeProvider.vue → essential/DlThemeProvider/DlThemeProvider.vue}
RENAMED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
<script lang="ts">
|
|
8
8
|
import { defineComponent, onMounted, watch, provide, ref } from 'vue-demi'
|
|
9
|
-
import { getThemeModeAttr } from '
|
|
9
|
+
import { getThemeModeAttr } from '../../../utils'
|
|
10
10
|
import '@dataloop-ai/icons/docs/style.css'
|
|
11
11
|
import { v4 } from 'uuid'
|
|
12
12
|
|
|
@@ -47,4 +47,4 @@ export default defineComponent({
|
|
|
47
47
|
})
|
|
48
48
|
</script>
|
|
49
49
|
|
|
50
|
-
<style src="
|
|
50
|
+
<style src="../../../assets/globals.scss" lang="scss" />
|
|
@@ -34,34 +34,36 @@ import {
|
|
|
34
34
|
PropType,
|
|
35
35
|
onMounted
|
|
36
36
|
} from 'vue-demi'
|
|
37
|
-
import useAnchor, { useAnchorProps } from '
|
|
38
|
-
import useModelToggle, { AnchorEvent } from '
|
|
39
|
-
import usePortal from '
|
|
40
|
-
import useScrollTarget from '
|
|
41
|
-
import useTick from '
|
|
42
|
-
import useTimeout from '
|
|
43
|
-
import useTransition, {
|
|
37
|
+
import useAnchor, { useAnchorProps } from '../../../hooks/use-anchor'
|
|
38
|
+
import useModelToggle, { AnchorEvent } from '../../../hooks/use-model-toggle'
|
|
39
|
+
import usePortal from '../../../hooks/use-portal'
|
|
40
|
+
import useScrollTarget from '../../../hooks/use-scroll-target'
|
|
41
|
+
import useTick from '../../../hooks/use-tick'
|
|
42
|
+
import useTimeout from '../../../hooks/use-timeout'
|
|
43
|
+
import useTransition, {
|
|
44
|
+
useTransitionProps
|
|
45
|
+
} from '../../../hooks/use-transition'
|
|
44
46
|
import {
|
|
45
47
|
addEvt,
|
|
46
48
|
cleanEvt,
|
|
47
49
|
clearSelection,
|
|
48
50
|
getColor,
|
|
49
51
|
isMobileOrTablet
|
|
50
|
-
} from '
|
|
52
|
+
} from '../../../utils'
|
|
51
53
|
import {
|
|
52
54
|
parsePosition,
|
|
53
55
|
setPosition,
|
|
54
56
|
validateOffset,
|
|
55
57
|
validatePosition
|
|
56
|
-
} from '
|
|
57
|
-
import { getScrollTarget } from '
|
|
58
|
-
import useWindowSize from '
|
|
58
|
+
} from '../../../utils/position-engine'
|
|
59
|
+
import { getScrollTarget } from '../../../utils/scroll'
|
|
60
|
+
import useWindowSize from '../../../hooks/use-window-size'
|
|
59
61
|
import {
|
|
60
62
|
removeClickOutside,
|
|
61
63
|
ClickOutsideEvent,
|
|
62
64
|
addClickOutside
|
|
63
|
-
} from '
|
|
64
|
-
import DlTeleport from '
|
|
65
|
+
} from '../../../utils/click-outside'
|
|
66
|
+
import DlTeleport from '../../../utils/teleport'
|
|
65
67
|
import { v4 } from 'uuid'
|
|
66
68
|
|
|
67
69
|
export default defineComponent({
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
<script lang="ts">
|
|
21
21
|
import { v4 } from 'uuid'
|
|
22
22
|
import { defineComponent, PropType } from 'vue-demi'
|
|
23
|
-
import { getColor } from '
|
|
23
|
+
import { getColor } from '../../../utils'
|
|
24
24
|
|
|
25
25
|
const colorValidator = (val: string | null) =>
|
|
26
26
|
val === 'negative' || val === 'positive' || val === null
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
<script lang="ts">
|
|
12
12
|
import { v4 } from 'uuid'
|
|
13
13
|
import { defineComponent, PropType } from 'vue-demi'
|
|
14
|
-
import { getColor } from '
|
|
14
|
+
import { getColor } from '../../../utils'
|
|
15
15
|
|
|
16
16
|
type Variant = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p'
|
|
17
17
|
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export * from './DlBadge'
|
|
2
|
+
export * from './DlCheckbox'
|
|
3
|
+
export * from './DlIcon'
|
|
4
|
+
export * from './DlList'
|
|
5
|
+
export * from './DlMenu'
|
|
6
|
+
export * from './DlProgressBar'
|
|
7
|
+
export * from './DlRadio'
|
|
8
|
+
export * from './DlSkeleton'
|
|
9
|
+
export * from './DlSwitch'
|
|
10
|
+
export * from './DlTextHolder'
|
|
11
|
+
export * from './DlThemeProvider'
|
|
12
|
+
export * from './DlTooltip'
|
|
13
|
+
export * from './DlTrend'
|
|
14
|
+
export * from './DlTypography'
|
|
15
|
+
export * from './DlPanel'
|
|
16
|
+
export * from './DlTextArea'
|
|
17
|
+
export * from './DlLink'
|
|
18
|
+
export * from './DlColorPicker'
|
|
19
|
+
export * from './DlSpinner'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './DlColorPicker/types'
|
package/src/components/index.ts
CHANGED
|
@@ -1,123 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import DlThemeProvider from './DlThemeProvider.vue'
|
|
6
|
-
import { DlLink } from './DlLink'
|
|
7
|
-
import DlSwitch from './DlSwitch.vue'
|
|
8
|
-
import DlIcon from './DlIcon.vue'
|
|
9
|
-
import DlOptionGroup from './DlOptionGroup/DlOptionGroup.vue'
|
|
10
|
-
import DlRadio from './DlRadio.vue'
|
|
11
|
-
import DlProgressBar from './DlProgressBar.vue'
|
|
12
|
-
import { DlButton } from './DlButton'
|
|
13
|
-
import { DlTabPanel, DlTabPanels } from './DlTabPanels'
|
|
14
|
-
import { DlTabs, DlTab } from './DlTabs'
|
|
15
|
-
import DlTooltip from './DlTooltip.vue'
|
|
16
|
-
import { DlSlider } from './DlSlider'
|
|
17
|
-
import { DlColorPicker } from './DlColorPicker'
|
|
18
|
-
import DlChip from './DlChip'
|
|
19
|
-
import { DlListItem } from './DlListItem'
|
|
20
|
-
import DlItemSection from './DlItemSection.vue'
|
|
21
|
-
import DlList from './DlList.vue'
|
|
22
|
-
import { DlMenu } from './DlMenu'
|
|
23
|
-
import DlCounters from './DlCounters.vue'
|
|
24
|
-
import DlRange from './DlRange/DlRange.vue'
|
|
25
|
-
import DlTextArea from './DlTextArea.vue'
|
|
26
|
-
import DlTrend from './DlTrend.vue'
|
|
27
|
-
import DlInfoErrorMessage from './DlInfoErrorMessage.vue'
|
|
28
|
-
import DlTextInput from './DlTextInput.vue'
|
|
29
|
-
import DlProgressChart from './DlProgressChart.vue'
|
|
30
|
-
import DlAlert from './DlAlert.vue'
|
|
31
|
-
import DlPopup from './DlPopup'
|
|
32
|
-
import DlDropdownButton from './DlDropdownButton.vue'
|
|
33
|
-
import DlTypography from './DlTypography.vue'
|
|
34
|
-
import {
|
|
35
|
-
DlDialogBox,
|
|
36
|
-
DlDialogBoxHeader,
|
|
37
|
-
DlDialogBoxFooter
|
|
38
|
-
} from './DlDialogBox'
|
|
39
|
-
import { DlPanelContainer, DlPanel } from './DlPanelContainer'
|
|
40
|
-
import DlSearch from './DlSearch.vue'
|
|
41
|
-
import { DlSelect } from './DlSelect'
|
|
42
|
-
import DlBadge from './DlBadge.vue'
|
|
43
|
-
import DlItem from './DlItem'
|
|
44
|
-
import { DlStepper, Stepper, Step, StepState } from './DlStepper'
|
|
45
|
-
import { DlTr, DlTh, DlTd, DlTable } from './DlTable'
|
|
46
|
-
import { DlPagination } from './DlPagination'
|
|
47
|
-
import { DlDatePicker } from './DlDatePicker'
|
|
48
|
-
import { DlTimePicker } from './DlTimePicker'
|
|
49
|
-
import { DlDateTimeRange } from './DlDateTimeRange'
|
|
50
|
-
import { DateInterval } from './DlDatePicker/types'
|
|
51
|
-
import { DlSmartSearch } from './DlSmartSearch'
|
|
52
|
-
import { DlWidget } from './DlWidget'
|
|
53
|
-
import { DlGrid } from './DlWidget'
|
|
54
|
-
import DlTextHolder from './DlTextHolder.vue'
|
|
55
|
-
import { DlColumnChart, DlLineChart } from './DlChart'
|
|
56
|
-
import DlSpinner from './DlSpinner.vue'
|
|
57
|
-
|
|
58
|
-
export {
|
|
59
|
-
DlAccordion,
|
|
60
|
-
DlAvatar,
|
|
61
|
-
DlInfoErrorMessage,
|
|
62
|
-
DlCheckbox,
|
|
63
|
-
DlSkeleton,
|
|
64
|
-
DlIcon,
|
|
65
|
-
DlSelect,
|
|
66
|
-
DlLink,
|
|
67
|
-
DlRadio,
|
|
68
|
-
DlOptionGroup,
|
|
69
|
-
DlSwitch,
|
|
70
|
-
DlThemeProvider,
|
|
71
|
-
DlTrend,
|
|
72
|
-
DlProgressBar,
|
|
73
|
-
DlItem,
|
|
74
|
-
DlSlider,
|
|
75
|
-
DlButton,
|
|
76
|
-
DlChip,
|
|
77
|
-
DlTooltip,
|
|
78
|
-
DlListItem,
|
|
79
|
-
DlItemSection,
|
|
80
|
-
DlList,
|
|
81
|
-
DlMenu,
|
|
82
|
-
DlCounters,
|
|
83
|
-
DlTextInput,
|
|
84
|
-
DlColorPicker,
|
|
85
|
-
DlTab,
|
|
86
|
-
DlTabs,
|
|
87
|
-
DlTabPanel,
|
|
88
|
-
DlTabPanels,
|
|
89
|
-
DlRange,
|
|
90
|
-
DlTextArea,
|
|
91
|
-
DlPopup,
|
|
92
|
-
DlAlert,
|
|
93
|
-
DlDropdownButton,
|
|
94
|
-
DlProgressChart,
|
|
95
|
-
DlTypography,
|
|
96
|
-
DlDialogBox,
|
|
97
|
-
DlDialogBoxHeader,
|
|
98
|
-
DlDialogBoxFooter,
|
|
99
|
-
DlPanelContainer,
|
|
100
|
-
DlPanel,
|
|
101
|
-
DlSearch,
|
|
102
|
-
DlBadge,
|
|
103
|
-
DlStepper,
|
|
104
|
-
Stepper,
|
|
105
|
-
Step,
|
|
106
|
-
DlTr,
|
|
107
|
-
DlTh,
|
|
108
|
-
DlTd,
|
|
109
|
-
DlTable,
|
|
110
|
-
DlPagination,
|
|
111
|
-
DlDatePicker,
|
|
112
|
-
DlTimePicker,
|
|
113
|
-
DlDateTimeRange,
|
|
114
|
-
DlSmartSearch,
|
|
115
|
-
DlWidget,
|
|
116
|
-
DlGrid,
|
|
117
|
-
DlTextHolder,
|
|
118
|
-
DlColumnChart,
|
|
119
|
-
DlLineChart,
|
|
120
|
-
DlSpinner
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
export type { StepState, DateInterval }
|
|
1
|
+
export * from './shared'
|
|
2
|
+
export * from './essential'
|
|
3
|
+
export * from './basic'
|
|
4
|
+
export * from './compound'
|
|
@@ -76,8 +76,8 @@ import {
|
|
|
76
76
|
ref,
|
|
77
77
|
watch
|
|
78
78
|
} from 'vue-demi'
|
|
79
|
-
import { listenOpts } from '
|
|
80
|
-
import { getScrollTarget } from '
|
|
79
|
+
import { listenOpts } from '../../../utils'
|
|
80
|
+
import { getScrollTarget } from '../../../utils/scroll'
|
|
81
81
|
import { useVirtualScroll, useVirtualScrollProps } from './useVirtualScroll'
|
|
82
82
|
|
|
83
83
|
export default defineComponent({
|
|
@@ -249,7 +249,7 @@ export default defineComponent({
|
|
|
249
249
|
})
|
|
250
250
|
</script>
|
|
251
251
|
<style scoped lang="scss">
|
|
252
|
-
@import '
|
|
252
|
+
@import '../../compound/DlTable/styles/dl-table-styles.scss';
|
|
253
253
|
.dl-virtual-scroll {
|
|
254
254
|
&:focus {
|
|
255
255
|
outline: 0;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {}
|
|
@@ -56,8 +56,7 @@
|
|
|
56
56
|
|
|
57
57
|
<script lang="ts">
|
|
58
58
|
import { defineComponent } from 'vue-demi'
|
|
59
|
-
import DlColumnChart from '../components
|
|
60
|
-
import DlAvatar from '../components/DlAvatar.vue'
|
|
59
|
+
import { DlAvatar, DlColumnChart } from '../components'
|
|
61
60
|
|
|
62
61
|
import { orderBy } from 'lodash'
|
|
63
62
|
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
|
|
36
36
|
<script lang="ts">
|
|
37
37
|
import { defineComponent } from 'vue-demi'
|
|
38
|
-
import DlAvatar from '../components
|
|
39
|
-
|
|
38
|
+
import { DlAvatar, DlIcon } from '../components'
|
|
39
|
+
|
|
40
40
|
export default defineComponent({
|
|
41
41
|
components: { DlAvatar, DlIcon }
|
|
42
42
|
})
|
|
@@ -234,7 +234,7 @@
|
|
|
234
234
|
<script lang="ts">
|
|
235
235
|
import { defineComponent, reactive } from 'vue-demi'
|
|
236
236
|
import { DlButton, DlBadge, DlIcon } from '../components'
|
|
237
|
-
import { ButtonSizes } from '../components/DlButton'
|
|
237
|
+
import { ButtonSizes } from '../components/basic/DlButton/utils'
|
|
238
238
|
export default defineComponent({
|
|
239
239
|
name: 'DlButtonDemo',
|
|
240
240
|
components: {
|
|
@@ -66,9 +66,9 @@
|
|
|
66
66
|
|
|
67
67
|
<script lang="ts">
|
|
68
68
|
import { defineComponent, ref } from 'vue-demi'
|
|
69
|
-
import DlDoughnutChart from '../components/DlChart/Doughnut/DlDoughnutChart.vue'
|
|
70
69
|
import { DoughnutControllerChartOptions } from 'chart.js'
|
|
71
|
-
import {
|
|
70
|
+
import { DlDoughnutChart } from '../components'
|
|
71
|
+
import { TDoughnutChartData } from '../components/compound/DlCharts/charts/DlDoughnutChart/types'
|
|
72
72
|
|
|
73
73
|
export default defineComponent({
|
|
74
74
|
name: 'DlChartDoughnutDemo',
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
<script lang="ts">
|
|
17
17
|
import { defineComponent, ref } from 'vue-demi'
|
|
18
18
|
import { DlColorPicker } from '../components'
|
|
19
|
-
import { NewColor } from '../components/
|
|
19
|
+
import { NewColor } from '../components/types'
|
|
20
20
|
|
|
21
21
|
export default defineComponent({
|
|
22
22
|
name: 'DlColorPickerDemo',
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
<script lang="ts">
|
|
88
88
|
import { defineComponent } from 'vue-demi'
|
|
89
89
|
import { DlSwitch, DlDateTimeRange } from '../components'
|
|
90
|
-
import { DateInterval } from '../components/
|
|
90
|
+
import { DateInterval } from '../components/types'
|
|
91
91
|
|
|
92
92
|
export default defineComponent({
|
|
93
93
|
components: {
|
|
@@ -113,7 +113,7 @@
|
|
|
113
113
|
<script lang="ts">
|
|
114
114
|
import { defineComponent, ref } from 'vue-demi'
|
|
115
115
|
import { DlDialogBox, DlButton } from '../components'
|
|
116
|
-
import { DlDialogBoxHeader, DlDialogBoxFooter } from '../components
|
|
116
|
+
import { DlDialogBoxHeader, DlDialogBoxFooter } from '../components'
|
|
117
117
|
|
|
118
118
|
export default defineComponent({
|
|
119
119
|
name: 'DlDialogBoxDemo',
|