@dataloop-ai/components 0.15.7 → 0.16.1
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} +3 -3
- 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
|
@@ -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',
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div>
|
|
3
|
-
<dl-
|
|
3
|
+
<dl-input
|
|
4
4
|
v-model="textInputValue"
|
|
5
5
|
style="width: 220px"
|
|
6
6
|
placeholder="Select option"
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
show-counter
|
|
21
21
|
:max-length="20"
|
|
22
22
|
/>
|
|
23
|
-
<dl-
|
|
23
|
+
<dl-input
|
|
24
24
|
v-model="passFieldValue"
|
|
25
25
|
title="Password"
|
|
26
26
|
style="width: 220px"
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
error-message="The password entered is incorrect."
|
|
32
32
|
info-message="This won't show, error is true"
|
|
33
33
|
/>
|
|
34
|
-
<dl-
|
|
34
|
+
<dl-input
|
|
35
35
|
v-model="warningFieldValue"
|
|
36
36
|
title="Warning Example"
|
|
37
37
|
style="width: 220px"
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
info-message="This won't show, error is true"
|
|
43
43
|
optional
|
|
44
44
|
/>
|
|
45
|
-
<dl-
|
|
45
|
+
<dl-input
|
|
46
46
|
v-model="errorFieldValue"
|
|
47
47
|
title="Error Example"
|
|
48
48
|
style="width: 220px"
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
warning-message="This won't show, error is true"
|
|
55
55
|
info-message="This won't show, error is true"
|
|
56
56
|
/>
|
|
57
|
-
<dl-
|
|
57
|
+
<dl-input
|
|
58
58
|
style="width: 220px"
|
|
59
59
|
placeholder="Select option"
|
|
60
60
|
title="Min"
|
|
@@ -66,11 +66,11 @@
|
|
|
66
66
|
|
|
67
67
|
<script lang="ts">
|
|
68
68
|
import { defineComponent, ref } from 'vue-demi'
|
|
69
|
-
import {
|
|
69
|
+
import { DlInput } from '../components'
|
|
70
70
|
export default defineComponent({
|
|
71
|
-
name: '
|
|
71
|
+
name: 'DlInputDemo',
|
|
72
72
|
components: {
|
|
73
|
-
|
|
73
|
+
DlInput
|
|
74
74
|
},
|
|
75
75
|
setup() {
|
|
76
76
|
const textInputValue = ref<string>('')
|
|
@@ -0,0 +1,261 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div style="width: 90%">
|
|
3
|
+
<div class="inlineKpi">
|
|
4
|
+
<div
|
|
5
|
+
v-for="(kpi, kpiIndex) in kpiItems.slice(0, 2)"
|
|
6
|
+
:key="kpiIndex"
|
|
7
|
+
class="autoWidth"
|
|
8
|
+
>
|
|
9
|
+
<dl-kpi
|
|
10
|
+
:counter="kpi.counter"
|
|
11
|
+
:title="kpi.title"
|
|
12
|
+
:info-message="kpi.infoMessage"
|
|
13
|
+
:progress="kpi.progress"
|
|
14
|
+
:with-border="true"
|
|
15
|
+
:with-progress-bar="true"
|
|
16
|
+
/>
|
|
17
|
+
</div>
|
|
18
|
+
</div>
|
|
19
|
+
<div class="inlineKpi">
|
|
20
|
+
<div
|
|
21
|
+
v-for="(kpiThree, kpiThreeIndex) in kpiItems.slice(0, 3)"
|
|
22
|
+
:key="kpiThreeIndex"
|
|
23
|
+
class="autoWidth"
|
|
24
|
+
>
|
|
25
|
+
<dl-kpi
|
|
26
|
+
:counter="kpiThree.counter"
|
|
27
|
+
:title="kpiThree.title"
|
|
28
|
+
:info-message="kpiThree.infoMessage"
|
|
29
|
+
:progress="kpiThree.progress"
|
|
30
|
+
:with-border="true"
|
|
31
|
+
/>
|
|
32
|
+
</div>
|
|
33
|
+
</div>
|
|
34
|
+
<div class="inlineKpi">
|
|
35
|
+
<div
|
|
36
|
+
v-for="(kpiFour, kpiFourIndex) in kpiItems.slice(0, 4)"
|
|
37
|
+
:key="kpiFourIndex"
|
|
38
|
+
class="autoWidth"
|
|
39
|
+
>
|
|
40
|
+
<dl-kpi
|
|
41
|
+
:counter="kpiFour.counter"
|
|
42
|
+
:title="kpiFour.title"
|
|
43
|
+
:info-message="kpiFour.infoMessage"
|
|
44
|
+
:progress="kpiFour.progress"
|
|
45
|
+
:with-border="true"
|
|
46
|
+
/>
|
|
47
|
+
</div>
|
|
48
|
+
</div>
|
|
49
|
+
<div class="inlineKpi">
|
|
50
|
+
<div
|
|
51
|
+
v-for="(kpiFive, kpiFiveIndex) in kpiItems.slice(0, 5)"
|
|
52
|
+
:key="kpiFiveIndex"
|
|
53
|
+
class="autoWidth"
|
|
54
|
+
>
|
|
55
|
+
<dl-kpi
|
|
56
|
+
:counter="kpiFive.counter"
|
|
57
|
+
:title="kpiFive.title"
|
|
58
|
+
:info-message="kpiFive.infoMessage"
|
|
59
|
+
:progress="kpiFive.progress"
|
|
60
|
+
:is-small="true"
|
|
61
|
+
/>
|
|
62
|
+
</div>
|
|
63
|
+
</div>
|
|
64
|
+
<div class="inlineKpi">
|
|
65
|
+
<div
|
|
66
|
+
v-for="(kpiSix, kpiSixIndex) in kpiItems.slice(0, 6)"
|
|
67
|
+
:key="kpiSixIndex"
|
|
68
|
+
class="autoWidth"
|
|
69
|
+
>
|
|
70
|
+
<dl-kpi
|
|
71
|
+
:counter="kpiSix.counter"
|
|
72
|
+
:counter-font-size="'1em'"
|
|
73
|
+
:title="kpiSix.title"
|
|
74
|
+
:info-message="kpiSix.infoMessage"
|
|
75
|
+
:progress="kpiSix.progress"
|
|
76
|
+
:with-border="false"
|
|
77
|
+
:with-progress-bar="true"
|
|
78
|
+
/>
|
|
79
|
+
</div>
|
|
80
|
+
</div>
|
|
81
|
+
</div>
|
|
82
|
+
</template>
|
|
83
|
+
|
|
84
|
+
<script lang="ts">
|
|
85
|
+
import { defineComponent } from 'vue-demi'
|
|
86
|
+
import { DlKpi } from '../components'
|
|
87
|
+
import { DlKpiCounterFormat, DlKpiItem } from '../components/types'
|
|
88
|
+
|
|
89
|
+
const kpiData: DlKpiItem[] = [
|
|
90
|
+
{
|
|
91
|
+
counter: {
|
|
92
|
+
value: 200000000,
|
|
93
|
+
format: DlKpiCounterFormat.short
|
|
94
|
+
},
|
|
95
|
+
title: 'Complete Complete Complete Complete Complete Complete Complete Complete',
|
|
96
|
+
infoMessage: 'info message'
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
counter: {
|
|
100
|
+
value: 200000000,
|
|
101
|
+
format: DlKpiCounterFormat.long
|
|
102
|
+
},
|
|
103
|
+
title: 'Complete',
|
|
104
|
+
infoMessage: 'info message',
|
|
105
|
+
progress: {
|
|
106
|
+
value: 30
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
counter: {
|
|
111
|
+
value: '154H:35M:20s',
|
|
112
|
+
format: DlKpiCounterFormat.hm
|
|
113
|
+
},
|
|
114
|
+
title: 'Complete Complete Complete Complete Complete Complete Complete Complete',
|
|
115
|
+
infoMessage: 'info message',
|
|
116
|
+
progress: {
|
|
117
|
+
value: 40,
|
|
118
|
+
text: '75/100 Items'
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
counter: {
|
|
123
|
+
value: '154h:35m:20s',
|
|
124
|
+
format: DlKpiCounterFormat.hms
|
|
125
|
+
},
|
|
126
|
+
title: 'Complete',
|
|
127
|
+
infoMessage: 'info message',
|
|
128
|
+
progress: {
|
|
129
|
+
value: 50,
|
|
130
|
+
text: '75/100 Items'
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
counter: {
|
|
135
|
+
value: 73,
|
|
136
|
+
format: DlKpiCounterFormat.short
|
|
137
|
+
},
|
|
138
|
+
title: 'Complete',
|
|
139
|
+
infoMessage: 'info message',
|
|
140
|
+
progress: {
|
|
141
|
+
value: 60,
|
|
142
|
+
text: '75/100 Items'
|
|
143
|
+
}
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
counter: {
|
|
147
|
+
value: null,
|
|
148
|
+
format: DlKpiCounterFormat.long
|
|
149
|
+
},
|
|
150
|
+
title: null,
|
|
151
|
+
infoMessage: null,
|
|
152
|
+
progress: {
|
|
153
|
+
value: null,
|
|
154
|
+
text: null
|
|
155
|
+
}
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
counter: {
|
|
159
|
+
value: 0,
|
|
160
|
+
format: DlKpiCounterFormat.long
|
|
161
|
+
},
|
|
162
|
+
title: 'Complete',
|
|
163
|
+
infoMessage: 'info message',
|
|
164
|
+
progress: {
|
|
165
|
+
value: 80,
|
|
166
|
+
text: '75/100 Items'
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
]
|
|
170
|
+
const kpiTimeData: DlKpiItem[] = [
|
|
171
|
+
{
|
|
172
|
+
counter: {
|
|
173
|
+
value: '',
|
|
174
|
+
format: DlKpiCounterFormat.hms
|
|
175
|
+
},
|
|
176
|
+
title: 'Complete Complete Complete Complete Complete Complete Complete Complete'
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
counter: {
|
|
180
|
+
value: '35m:20s',
|
|
181
|
+
format: DlKpiCounterFormat.hm
|
|
182
|
+
},
|
|
183
|
+
title: 'Complete',
|
|
184
|
+
progress: {
|
|
185
|
+
value: 30
|
|
186
|
+
}
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
counter: {
|
|
190
|
+
value: '154h:35m:20s',
|
|
191
|
+
format: DlKpiCounterFormat.h
|
|
192
|
+
},
|
|
193
|
+
title: 'Complete',
|
|
194
|
+
progress: {
|
|
195
|
+
value: 40,
|
|
196
|
+
text: '75/100 Items'
|
|
197
|
+
}
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
counter: {
|
|
201
|
+
value: '154h:35m:20s',
|
|
202
|
+
format: DlKpiCounterFormat.ms
|
|
203
|
+
},
|
|
204
|
+
title: 'Complete',
|
|
205
|
+
progress: {
|
|
206
|
+
value: 50,
|
|
207
|
+
text: '75/100 Items'
|
|
208
|
+
}
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
counter: {
|
|
212
|
+
value: '154h:35m:20s',
|
|
213
|
+
format: DlKpiCounterFormat.m
|
|
214
|
+
},
|
|
215
|
+
title: 'Complete',
|
|
216
|
+
progress: {
|
|
217
|
+
value: 60,
|
|
218
|
+
text: '75/100 Items'
|
|
219
|
+
}
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
counter: {
|
|
223
|
+
value: '',
|
|
224
|
+
format: DlKpiCounterFormat.s
|
|
225
|
+
},
|
|
226
|
+
title: '',
|
|
227
|
+
progress: {
|
|
228
|
+
value: 0,
|
|
229
|
+
text: '75/100 Items'
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
]
|
|
233
|
+
|
|
234
|
+
export default defineComponent({
|
|
235
|
+
name: 'DlKpiDemo',
|
|
236
|
+
components: {
|
|
237
|
+
DlKpi
|
|
238
|
+
},
|
|
239
|
+
setup() {
|
|
240
|
+
const kpiItems: DlKpiItem[] = kpiData
|
|
241
|
+
const kpiTimeItems: DlKpiItem[] = kpiTimeData
|
|
242
|
+
|
|
243
|
+
return {
|
|
244
|
+
kpiItems,
|
|
245
|
+
kpiTimeItems
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
})
|
|
249
|
+
</script>
|
|
250
|
+
|
|
251
|
+
<style scoped lang="scss">
|
|
252
|
+
.inlineKpi {
|
|
253
|
+
display: flex;
|
|
254
|
+
width: 100%;
|
|
255
|
+
gap: 30px;
|
|
256
|
+
}
|
|
257
|
+
.autoWidth {
|
|
258
|
+
width: min(100%, 50rem);
|
|
259
|
+
height: 100%;
|
|
260
|
+
}
|
|
261
|
+
</style>
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
<script lang="ts">
|
|
51
51
|
import { defineComponent, ref } from 'vue-demi'
|
|
52
52
|
import { DlOptionGroup, DlMenu, DlButton } from '../components'
|
|
53
|
-
import {
|
|
53
|
+
import { DlOptionGroupOptions } from '../components/types'
|
|
54
54
|
export default defineComponent({
|
|
55
55
|
name: 'DlOptionGroupDemo',
|
|
56
56
|
components: {
|
|
@@ -62,7 +62,7 @@ export default defineComponent({
|
|
|
62
62
|
const optionValue = ref<number>(1)
|
|
63
63
|
const switchValue = ref<number[]>([1, 3])
|
|
64
64
|
|
|
65
|
-
const options = ref<
|
|
65
|
+
const options = ref<DlOptionGroupOptions>([
|
|
66
66
|
{ label: 'Option 1', value: 1, color: 'dl-color-positive' },
|
|
67
67
|
{ label: 'Option 2', value: 2 },
|
|
68
68
|
{ label: 'Option 3', value: 3, tooltip: 'Option tooltip' },
|
package/src/demo/DlPopupDemo.vue
CHANGED
|
@@ -35,9 +35,8 @@
|
|
|
35
35
|
</template>
|
|
36
36
|
<script lang="ts">
|
|
37
37
|
import { defineComponent } from 'vue-demi'
|
|
38
|
-
import { DlButton } from '../components
|
|
39
|
-
|
|
40
|
-
import DlTextArea from '../components/DlTextArea.vue'
|
|
38
|
+
import { DlButton, DlPopup, DlTextArea } from '../components'
|
|
39
|
+
|
|
41
40
|
export default defineComponent({
|
|
42
41
|
components: {
|
|
43
42
|
DlButton,
|
|
@@ -123,16 +123,9 @@ import InstructionStep from './steps/InstructionStep.vue'
|
|
|
123
123
|
import DataStep from './steps/DataStep.vue'
|
|
124
124
|
import AssignmentsStep from './steps/AssignmentsStep.vue'
|
|
125
125
|
import QualityStep from './steps/QualityStep.vue'
|
|
126
|
-
import {
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
Stepper,
|
|
130
|
-
Step,
|
|
131
|
-
StepState,
|
|
132
|
-
DlTypography,
|
|
133
|
-
DlChip,
|
|
134
|
-
DlCounters
|
|
135
|
-
} from '../..'
|
|
126
|
+
import { DlButton, DlStepper, DlTypography, DlChip, DlCounters } from '../..'
|
|
127
|
+
import { StepState } from '../../types'
|
|
128
|
+
import { Stepper, Step } from '../../components/compound/DlStepper/models'
|
|
136
129
|
import { getColor } from '../../utils'
|
|
137
130
|
|
|
138
131
|
class CustomStepper extends Stepper {
|
|
@@ -103,15 +103,9 @@ import InstructionStep from './steps/InstructionStep.vue'
|
|
|
103
103
|
import DataStep from './steps/DataStep.vue'
|
|
104
104
|
import AssignmentsStep from './steps/AssignmentsStep.vue'
|
|
105
105
|
import QualityStep from './steps/QualityStep.vue'
|
|
106
|
-
import {
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
Step,
|
|
110
|
-
StepState,
|
|
111
|
-
DlTypography,
|
|
112
|
-
DlChip,
|
|
113
|
-
DlCounters
|
|
114
|
-
} from '../..'
|
|
106
|
+
import { DlStepper, DlTypography, DlChip, DlCounters } from '../..'
|
|
107
|
+
import { StepState } from '../../types'
|
|
108
|
+
import { Stepper, Step } from '../../components/compound/DlStepper/models'
|
|
115
109
|
|
|
116
110
|
class CustomStepper extends Stepper {
|
|
117
111
|
constructor(steps: Step[]) {
|
|
@@ -123,16 +123,9 @@ import InstructionStep from './steps/InstructionStep.vue'
|
|
|
123
123
|
import DataStep from './steps/DataStep.vue'
|
|
124
124
|
import AssignmentsStep from './steps/AssignmentsStep.vue'
|
|
125
125
|
import QualityStep from './steps/QualityStep.vue'
|
|
126
|
-
import {
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
Stepper,
|
|
130
|
-
Step,
|
|
131
|
-
StepState,
|
|
132
|
-
DlTypography,
|
|
133
|
-
DlChip,
|
|
134
|
-
DlCounters
|
|
135
|
-
} from '../..'
|
|
126
|
+
import { DlButton, DlStepper, DlTypography, DlChip, DlCounters } from '../..'
|
|
127
|
+
import { StepState } from '../../types'
|
|
128
|
+
import { Stepper, Step } from '../../components/compound/DlStepper/models'
|
|
136
129
|
import { getColor } from '../../utils'
|
|
137
130
|
|
|
138
131
|
class CustomStepper extends Stepper {
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
color="dl-color-separator"
|
|
66
66
|
text-color="dl-color-darker"
|
|
67
67
|
/>
|
|
68
|
-
<dl-
|
|
68
|
+
<dl-input
|
|
69
69
|
v-model="percentage"
|
|
70
70
|
style="width: 60px; margin: 0 10px 0 15px"
|
|
71
71
|
size="m"
|
|
@@ -109,7 +109,7 @@ import { defineComponent } from 'vue-demi'
|
|
|
109
109
|
import {
|
|
110
110
|
DlButton,
|
|
111
111
|
DlCheckbox,
|
|
112
|
-
|
|
112
|
+
DlInput,
|
|
113
113
|
DlTypography,
|
|
114
114
|
DlOptionGroup,
|
|
115
115
|
DlSelect,
|
|
@@ -120,7 +120,7 @@ export default defineComponent({
|
|
|
120
120
|
components: {
|
|
121
121
|
DlButton,
|
|
122
122
|
DlTypography,
|
|
123
|
-
|
|
123
|
+
DlInput,
|
|
124
124
|
DlOptionGroup,
|
|
125
125
|
DlSelect,
|
|
126
126
|
DlCheckbox,
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
/>
|
|
23
23
|
</div>
|
|
24
24
|
<div class="inputs-container">
|
|
25
|
-
<dl-
|
|
25
|
+
<dl-input
|
|
26
26
|
without-root-padding
|
|
27
27
|
required
|
|
28
28
|
title="Name"
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
required
|
|
58
58
|
:options="['High', 'Medium', 'Low']"
|
|
59
59
|
/>
|
|
60
|
-
<dl-
|
|
60
|
+
<dl-input
|
|
61
61
|
without-root-padding
|
|
62
62
|
title="Completion Due Date"
|
|
63
63
|
placeholder="dd/mm/yy"
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
import { defineComponent } from 'vue-demi'
|
|
71
71
|
import {
|
|
72
72
|
DlButton,
|
|
73
|
-
|
|
73
|
+
DlInput,
|
|
74
74
|
DlSelect,
|
|
75
75
|
DlOptionGroup,
|
|
76
76
|
DlTypography
|
|
@@ -80,7 +80,7 @@ export default defineComponent({
|
|
|
80
80
|
DlButton,
|
|
81
81
|
DlTypography,
|
|
82
82
|
DlOptionGroup,
|
|
83
|
-
|
|
83
|
+
DlInput,
|
|
84
84
|
DlSelect
|
|
85
85
|
},
|
|
86
86
|
emits: ['reset-click', 'error-click', 'complete-click', 'warning-click'],
|
package/src/demo/DlTableDemo.vue
CHANGED
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
:model-value="resizableState"
|
|
30
30
|
@update:model-value="updateResizableState"
|
|
31
31
|
/>
|
|
32
|
-
<dl-
|
|
32
|
+
<dl-input
|
|
33
33
|
v-model="filter"
|
|
34
34
|
title="Filter"
|
|
35
35
|
style="width: 220px"
|
|
@@ -120,7 +120,7 @@
|
|
|
120
120
|
</template>
|
|
121
121
|
|
|
122
122
|
<script lang="ts">
|
|
123
|
-
import { DlTable, DlOptionGroup, DlSwitch,
|
|
123
|
+
import { DlTable, DlOptionGroup, DlSwitch, DlInput } from '../components'
|
|
124
124
|
import { defineComponent } from 'vue-demi'
|
|
125
125
|
import { times } from 'lodash'
|
|
126
126
|
|
|
@@ -280,7 +280,7 @@ export default defineComponent({
|
|
|
280
280
|
DlTable,
|
|
281
281
|
DlSwitch,
|
|
282
282
|
DlOptionGroup,
|
|
283
|
-
|
|
283
|
+
DlInput
|
|
284
284
|
},
|
|
285
285
|
data() {
|
|
286
286
|
return {
|
package/src/demo/DlTabsDemo.vue
CHANGED
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
<script lang="ts">
|
|
22
22
|
import { defineComponent } from 'vue-demi'
|
|
23
23
|
import { DlTabs, DlTabPanel, DlTabPanels } from '../components'
|
|
24
|
-
import {
|
|
24
|
+
import { DlTabDetails } from '../components/types'
|
|
25
25
|
|
|
26
26
|
export default defineComponent({
|
|
27
27
|
components: {
|
|
@@ -46,7 +46,7 @@ export default defineComponent({
|
|
|
46
46
|
{ label: 'Six', name: 'six' },
|
|
47
47
|
{ label: 'Seven', name: 'seven' },
|
|
48
48
|
{ label: 'Eight', name: 'eight' }
|
|
49
|
-
] as
|
|
49
|
+
] as DlTabDetails[]
|
|
50
50
|
}
|
|
51
51
|
},
|
|
52
52
|
methods: {
|
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
<div style="width: 950px; padding-top: 20px">
|
|
3
3
|
<div class="flex">
|
|
4
4
|
<div>
|
|
5
|
-
<dl-
|
|
5
|
+
<dl-area
|
|
6
6
|
v-model="message"
|
|
7
7
|
title="Message"
|
|
8
8
|
/>
|
|
9
|
-
<dl-
|
|
9
|
+
<dl-input
|
|
10
10
|
v-model="duration"
|
|
11
11
|
type="number"
|
|
12
12
|
title="Duration seconds"
|
|
13
13
|
/>
|
|
14
|
-
<dl-
|
|
14
|
+
<dl-input
|
|
15
15
|
v-model="classItem"
|
|
16
16
|
title="Custom class for toast item"
|
|
17
17
|
/>
|
|
@@ -92,21 +92,15 @@
|
|
|
92
92
|
</template>
|
|
93
93
|
|
|
94
94
|
<script lang="ts">
|
|
95
|
-
import { DlButton } from '../components'
|
|
96
|
-
import { DlToast } from '../components/DlToastMessage'
|
|
97
95
|
import { defineComponent, ref } from 'vue-demi'
|
|
98
|
-
import
|
|
99
|
-
import DlRadio from '../components/DlRadio.vue'
|
|
100
|
-
import DlTextArea from '../components/DlTextArea.vue'
|
|
101
|
-
import DlSwitch from '../components/DlSwitch.vue'
|
|
96
|
+
import { DlButton, DlToast, DlInput, DlRadio, DlSwitch } from '../components'
|
|
102
97
|
|
|
103
98
|
export default defineComponent({
|
|
104
99
|
name: 'DlToast',
|
|
105
100
|
components: {
|
|
106
101
|
DlSwitch,
|
|
107
|
-
DlTextArea,
|
|
108
102
|
DlRadio,
|
|
109
|
-
|
|
103
|
+
DlInput,
|
|
110
104
|
DlButton
|
|
111
105
|
},
|
|
112
106
|
setup() {
|
|
@@ -39,9 +39,8 @@
|
|
|
39
39
|
</template>
|
|
40
40
|
|
|
41
41
|
<script lang="ts">
|
|
42
|
-
import DlTypography from '../components/DlTypography.vue'
|
|
43
|
-
import { DlButton } from '../components/DlButton'
|
|
44
42
|
import { defineComponent } from 'vue-demi'
|
|
43
|
+
import { DlButton, DlTypography } from '../components'
|
|
45
44
|
|
|
46
45
|
export default defineComponent({
|
|
47
46
|
name: 'DlTypographyDemo',
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import { defineComponent } from 'vue-demi'
|
|
3
|
-
import DlBarChart from '../components
|
|
4
|
-
import DlGrid from '../components/DlWidget/DlGrid.vue'
|
|
5
|
-
import DlGridRow from '../components/DlWidget/DlGridRow.vue'
|
|
6
|
-
import DlWidget from '../components/DlWidget/DlWidget.vue'
|
|
3
|
+
import { DlWidget, DlGridRow, DlGrid, DlBarChart } from '../components'
|
|
7
4
|
|
|
8
5
|
const labelsFn = () => {
|
|
9
6
|
const a = []
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
<script lang="ts">
|
|
59
59
|
import { defineComponent } from 'vue-demi'
|
|
60
60
|
import { DlSmartSearch, DlCheckbox } from '../../components'
|
|
61
|
-
import { Query } from '../../components/
|
|
61
|
+
import { Query } from '../../components/types'
|
|
62
62
|
import { aliases, schema } from './schema'
|
|
63
63
|
|
|
64
64
|
export default defineComponent({
|