@dataloop-ai/components 0.15.6 → 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.
Files changed (308) hide show
  1. package/package.json +1 -1
  2. package/src/assets/grid.css +9 -0
  3. package/src/components/{DlAccordion → basic/DlAccordion}/DlAccordion.vue +1 -1
  4. package/src/components/{DlAccordion → basic/DlAccordion/components}/AccordionHeader.vue +16 -7
  5. package/src/components/{DlAlert.vue → basic/DlAlert/DlAlert.vue} +3 -3
  6. package/src/components/basic/DlAlert/index.ts +2 -0
  7. package/src/components/{DlAvatar.vue → basic/DlAvatar/DlAvatar.vue} +2 -2
  8. package/src/components/basic/DlAvatar/index.ts +2 -0
  9. package/src/components/{DlButton → basic/DlButton}/DlButton.vue +5 -20
  10. package/src/components/{DlButton → basic/DlButton}/index.ts +0 -1
  11. package/src/components/basic/DlButton/types.ts +14 -0
  12. package/src/components/{DlButton → basic/DlButton}/utils.ts +9 -9
  13. package/src/components/{DlChip → basic/DlChip}/DlChip.vue +3 -4
  14. package/src/components/basic/DlChip/index.ts +3 -0
  15. package/src/components/{DlChip → basic/DlChip}/utils.ts +8 -8
  16. package/src/components/basic/DlKpi/DlKpi.vue +275 -0
  17. package/src/components/basic/DlKpi/components/KpiInfo.vue +54 -0
  18. package/src/components/basic/DlKpi/index.ts +2 -0
  19. package/src/components/basic/DlKpi/types/KpiItem.ts +28 -0
  20. package/src/components/basic/DlKpi/types.ts +1 -0
  21. package/src/components/{DlListItem → basic/DlListItem}/DlListItem.vue +3 -3
  22. package/src/components/{DlPanelContainer → basic/DlPanelContainer}/DlPanelContainer.vue +1 -2
  23. package/src/components/basic/DlPanelContainer/index.ts +2 -0
  24. package/src/components/{DlPopup → basic/DlPopup}/DlPopup.vue +23 -20
  25. package/src/components/{DlPopup → basic/DlPopup/components}/PopupHeader.vue +1 -2
  26. package/src/components/basic/DlPopup/index.ts +3 -0
  27. package/src/components/{DlProgressChart.vue → basic/DlProgressChart/DlProgressChart.vue} +3 -4
  28. package/src/components/basic/DlProgressChart/index.ts +2 -0
  29. package/src/components/{DlWidget → basic/DlWidget}/DlWidget.vue +2 -2
  30. package/src/components/basic/DlWidget/index.ts +5 -0
  31. package/src/components/basic/index.ts +11 -0
  32. package/src/components/basic/models.ts +1 -0
  33. package/src/components/basic/types.ts +8 -0
  34. package/src/components/{DlChart → compound/DlCharts/charts/DlBarChart}/DlBarChart.vue +13 -9
  35. package/src/components/compound/DlCharts/charts/DlBarChart/index.ts +2 -0
  36. package/src/components/{DlChart → compound/DlCharts/charts/DlColumnChart}/DlColumnChart.vue +13 -15
  37. package/src/components/compound/DlCharts/charts/DlColumnChart/index.ts +2 -0
  38. package/src/components/{DlChart/Doughnut → compound/DlCharts/charts/DlDoughnutChart}/DlDoughnutChart.vue +5 -5
  39. package/src/components/{DlChart/Doughnut → compound/DlCharts/charts/DlDoughnutChart}/DlDoughnutChartWidget.vue +1 -3
  40. package/src/components/{DlChart/Doughnut → compound/DlCharts/charts/DlDoughnutChart/components}/DlDoughnutChartLegend.vue +2 -4
  41. package/src/components/compound/DlCharts/charts/DlDoughnutChart/index.ts +3 -0
  42. package/src/components/compound/DlCharts/charts/DlDoughnutChart/types/index.ts +5 -0
  43. package/src/components/{DlChart → compound/DlCharts/charts/DlLineChart}/DlLineChart.vue +12 -8
  44. package/src/components/compound/DlCharts/charts/DlLineChart/index.ts +2 -0
  45. package/src/components/compound/DlCharts/charts/index.ts +4 -0
  46. package/src/components/{DlChart → compound/DlCharts/components}/DlBrush.vue +7 -7
  47. package/src/components/{DlChart → compound/DlCharts/components}/DlChartLabels.vue +2 -3
  48. package/src/components/{DlChart → compound/DlCharts/components}/DlChartLegend.vue +2 -3
  49. package/src/components/{DlChart/DlScrollBar.vue → compound/DlCharts/components/DlChartScrollBar.vue} +1 -1
  50. package/src/components/compound/DlCharts/index.ts +1 -0
  51. package/src/components/{DlChart → compound/DlCharts/models}/chart.ts +4 -4
  52. package/src/components/compound/DlCharts/models/index.ts +1 -0
  53. package/src/components/{DlChart → compound/DlCharts/shared}/BrushThumb.vue +3 -4
  54. package/src/components/compound/DlCharts/types/index.ts +1 -0
  55. package/src/components/{DlChart → compound/DlCharts/types}/props.ts +2 -2
  56. package/src/components/{DlChart → compound/DlCharts/types}/typedCharts.ts +5 -5
  57. package/src/components/{DlChart → compound/DlCharts/types}/types.ts +4 -4
  58. package/src/components/compound/DlCharts/types.ts +1 -0
  59. package/src/components/{DlCounters.vue → compound/DlCounters/DlCounters.vue} +15 -26
  60. package/src/components/compound/DlCounters/index.ts +2 -0
  61. package/src/components/{DlDatePicker → compound/DlDateTime/DlDatePicker}/DlDatePicker.vue +3 -4
  62. package/src/components/{DlDatePicker → compound/DlDateTime/DlDatePicker/components}/DlCalendar.vue +10 -12
  63. package/src/components/{DlDatePicker → compound/DlDateTime/DlDatePicker/components}/DlMonthCalendar.vue +4 -5
  64. package/src/components/compound/DlDateTime/DlDatePicker/models/index.ts +3 -0
  65. package/src/components/{DlDatePicker/isInRange.ts → compound/DlDateTime/DlDatePicker/utils.ts} +40 -1
  66. package/src/components/{DlDateTimeRange → compound/DlDateTime/DlDateTimeRange}/DlDateInput.vue +1 -1
  67. package/src/components/{DlDateTimeRange → compound/DlDateTime/DlDateTimeRange}/DlDateTimeRange.vue +6 -6
  68. package/src/components/{DlTimePicker → compound/DlDateTime/DlTimePicker}/DlTimePicker.vue +2 -2
  69. package/src/components/{DlTimePicker → compound/DlDateTime/DlTimePicker/components}/DlTimePickerInput.vue +2 -3
  70. package/src/components/compound/DlDateTime/index.ts +3 -0
  71. package/src/components/compound/DlDateTime/types.ts +3 -0
  72. package/src/components/{DlDialogBox → compound/DlDialogBox/components}/DlDialogBoxHeader.vue +1 -1
  73. package/src/components/compound/DlDialogBox/index.ts +5 -0
  74. package/src/components/compound/DlDialogBox/types.ts +1 -0
  75. package/src/components/{DlDropdownButton.vue → compound/DlDropdownButton/DlDropdownButton.vue} +10 -10
  76. package/src/components/{DlButtonGroup.vue → compound/DlDropdownButton/components/ButtonGroup.vue} +4 -3
  77. package/src/components/compound/DlDropdownButton/index.ts +2 -0
  78. package/src/components/{DlTextInput.vue → compound/DlInput/DlInput.vue} +12 -14
  79. package/src/components/compound/DlInput/index.ts +2 -0
  80. package/src/components/{DlItem → compound/DlItem}/DlItem.vue +2 -2
  81. package/src/components/{DlSmartSearch → compound/DlJsonEditor}/DlJsonEditor.vue +5 -6
  82. package/src/components/compound/DlJsonEditor/index.ts +2 -0
  83. package/src/components/compound/DlJsonEditor/types.ts +4 -0
  84. package/src/components/{DlOptionGroup → compound/DlOptionGroup}/DlOptionGroup.vue +9 -10
  85. package/src/components/{DlOptionGroup → compound/DlOptionGroup/components}/MenuItemWrapper.vue +3 -3
  86. package/src/components/{DlOptionGroup → compound/DlOptionGroup/components}/SimpleWrapper.vue +1 -1
  87. package/src/components/{DlOptionGroup → compound/DlOptionGroup}/index.ts +1 -1
  88. package/src/components/compound/DlOptionGroup/types.ts +40 -0
  89. package/src/components/compound/DlOptionGroup/utils.ts +46 -0
  90. package/src/components/{DlPagination → compound/DlPagination}/DlPagination.vue +4 -4
  91. package/src/components/{DlPagination → compound/DlPagination/components}/PageNavigation.vue +2 -2
  92. package/src/components/{DlPagination → compound/DlPagination/components}/QuickNavigation.vue +4 -4
  93. package/src/components/{DlPagination → compound/DlPagination/components}/RowsSelector.vue +2 -2
  94. package/src/components/{DlRange → compound/DlRange}/DlRange.vue +3 -3
  95. package/src/components/compound/DlRange/index.ts +2 -0
  96. package/src/components/{DlRange → compound/DlRange}/utils.ts +4 -4
  97. package/src/components/{DlSearch.vue → compound/DlSearches/DlSearch/DlSearch.vue} +6 -6
  98. package/src/components/compound/DlSearches/DlSearch/index.ts +2 -0
  99. package/src/components/compound/DlSearches/DlSearch/types.ts +1 -0
  100. package/src/components/{DlSmartSearch → compound/DlSearches/DlSmartSearch}/DlSmartSearch.vue +15 -11
  101. package/src/components/{DlSmartSearch → compound/DlSearches/DlSmartSearch/components}/DlSmartSearchInput.vue +15 -11
  102. package/src/components/{DlSmartSearch → compound/DlSearches/DlSmartSearch/components}/DlSuggestionsDropdown.vue +2 -3
  103. package/src/components/compound/DlSearches/DlSmartSearch/index.ts +3 -0
  104. package/src/components/{DlSmartSearch → compound/DlSearches/DlSmartSearch/utils}/highlightSyntax.ts +2 -4
  105. package/src/components/{DlSmartSearch/utils.ts → compound/DlSearches/DlSmartSearch/utils/index.ts} +4 -2
  106. package/src/components/compound/DlSearches/index.ts +2 -0
  107. package/src/components/compound/DlSearches/types.ts +2 -0
  108. package/src/components/{DlSelect → compound/DlSelect}/DlSelect.vue +14 -18
  109. package/src/components/{DlSelect/SelectOption.vue → compound/DlSelect/components/DlSelectOption.vue} +5 -6
  110. package/src/components/compound/DlSelect/index.ts +4 -0
  111. package/src/components/{DlSelect → compound/DlSelect}/utils.ts +4 -4
  112. package/src/components/{DlSlider → compound/DlSlider}/DlSlider.vue +3 -2
  113. package/src/components/{DlSlider → compound/DlSlider}/components/DlSliderBase.vue +2 -2
  114. package/src/components/{DlSlider → compound/DlSlider}/useSlider.ts +2 -2
  115. package/src/components/{DlStepper → compound/DlStepper}/DlStepper.vue +8 -8
  116. package/src/components/{DlStepper → compound/DlStepper/components}/DlStepperContent.vue +2 -2
  117. package/src/components/{DlStepper → compound/DlStepper/components}/DlStepperFooter.vue +2 -2
  118. package/src/components/{DlStepper → compound/DlStepper/components}/DlStepperHeader.vue +2 -1
  119. package/src/components/{DlStepper → compound/DlStepper/components}/DlStepperSidebar.vue +4 -4
  120. package/src/components/compound/DlStepper/index.ts +4 -0
  121. package/src/components/compound/DlStepper/models/index.ts +3 -0
  122. package/src/components/compound/DlStepper/types.ts +2 -0
  123. package/src/components/{DlTabPanels → compound/DlTabPanels}/DlTabPanels.vue +1 -1
  124. package/src/components/{DlTable → compound/DlTable}/DlTable.vue +20 -20
  125. package/src/components/{DlTable → compound/DlTable/components}/DlTd.vue +4 -4
  126. package/src/components/{DlTable → compound/DlTable/components}/DlTh.vue +3 -4
  127. package/src/components/{DlTable → compound/DlTable/components}/DlTr.vue +1 -1
  128. package/src/components/{DlTable → compound/DlTable}/hooks/tableColumnSelection.ts +6 -6
  129. package/src/components/{DlTable → compound/DlTable}/hooks/tableFilter.ts +2 -2
  130. package/src/components/{DlTable → compound/DlTable}/hooks/tableRowSelection.ts +6 -6
  131. package/src/components/{DlTable → compound/DlTable}/hooks/tableSort.ts +11 -11
  132. package/src/components/compound/DlTable/index.ts +6 -0
  133. package/src/components/compound/DlTable/types.ts +96 -0
  134. package/src/components/compound/DlTable/utils/index.ts +1 -0
  135. package/src/components/{DlTabs → compound/DlTabs}/DlTabs.vue +5 -5
  136. package/src/components/{DlTabs → compound/DlTabs/components}/DlTab.vue +2 -3
  137. package/src/components/{DlTabs → compound/DlTabs/components}/TabsWrapper.vue +2 -2
  138. package/src/components/{DlTabs → compound/DlTabs}/index.ts +1 -1
  139. package/src/components/{DlTabs → compound/DlTabs}/types.ts +1 -1
  140. package/src/components/{DlToastMessage → compound/DlToast}/components/ToastComponent.vue +2 -3
  141. package/src/components/compound/index.ts +18 -0
  142. package/src/components/compound/models.ts +1 -0
  143. package/src/components/compound/types.ts +10 -0
  144. package/src/components/essential/DlBadge/index.ts +2 -0
  145. package/src/components/{DlCheckbox.vue → essential/DlCheckbox/DlCheckbox.vue} +2 -2
  146. package/src/components/essential/DlCheckbox/index.ts +2 -0
  147. package/src/components/{DlColorPicker → essential/DlColorPicker}/DlColorPicker.vue +6 -6
  148. package/src/components/{DlColorPicker → essential/DlColorPicker/components}/DlAlpha.vue +1 -1
  149. package/src/components/{DlColorPicker → essential/DlColorPicker/components}/DlColors.vue +1 -1
  150. package/src/components/{DlColorPicker → essential/DlColorPicker/components}/DlPreview.vue +1 -1
  151. package/src/components/{DlColorPicker → essential/DlColorPicker/components}/DlSaturation.vue +1 -1
  152. package/src/components/essential/DlColorPicker/index.ts +17 -0
  153. package/src/components/{DlColorPicker → essential/DlColorPicker}/types.ts +3 -0
  154. package/src/components/{DlIcon.vue → essential/DlIcon/DlIcon.vue} +1 -1
  155. package/src/components/essential/DlIcon/index.ts +2 -0
  156. package/src/components/{DlLink → essential/DlLink}/index.ts +0 -1
  157. package/src/components/essential/DlList/index.ts +2 -0
  158. package/src/components/{DlMenu → essential/DlMenu}/DlMenu.vue +19 -17
  159. package/src/components/{DlMenu → essential/DlMenu}/utils.ts +5 -5
  160. package/src/components/essential/DlPanel/index.ts +2 -0
  161. package/src/components/{DlProgressBar.vue → essential/DlProgressBar/DlProgressBar.vue} +27 -2
  162. package/src/components/essential/DlProgressBar/index.ts +2 -0
  163. package/src/components/{DlRadio.vue → essential/DlRadio/DlRadio.vue} +1 -2
  164. package/src/components/essential/DlRadio/index.ts +2 -0
  165. package/src/components/essential/DlSkeleton/index.ts +2 -0
  166. package/src/components/essential/DlSpinner/index.ts +2 -0
  167. package/src/components/{DlSwitch.vue → essential/DlSwitch/DlSwitch.vue} +3 -3
  168. package/src/components/essential/DlSwitch/index.ts +2 -0
  169. package/src/components/essential/DlTextArea/index.ts +2 -0
  170. package/src/components/essential/DlTextHolder/index.ts +2 -0
  171. package/src/components/{DlThemeProvider.vue → essential/DlThemeProvider/DlThemeProvider.vue} +2 -2
  172. package/src/components/essential/DlThemeProvider/index.ts +2 -0
  173. package/src/components/{DlTooltip.vue → essential/DlTooltip/DlTooltip.vue} +15 -13
  174. package/src/components/essential/DlTooltip/index.ts +2 -0
  175. package/src/components/{DlTrend.vue → essential/DlTrend/DlTrend.vue} +1 -1
  176. package/src/components/essential/DlTrend/index.ts +2 -0
  177. package/src/components/{DlTypography.vue → essential/DlTypography/DlTypography.vue} +1 -1
  178. package/src/components/essential/DlTypography/index.ts +2 -0
  179. package/src/components/essential/index.ts +19 -0
  180. package/src/components/essential/models.ts +1 -0
  181. package/src/components/essential/types.ts +1 -0
  182. package/src/components/index.ts +4 -123
  183. package/src/components/models.ts +4 -0
  184. package/src/components/shared/DlInfoErrorMessage/index.ts +2 -0
  185. package/src/components/{DlItemSection.vue → shared/DlItemSection/DlItemSection.vue} +1 -1
  186. package/src/components/shared/DlItemSection/index.ts +2 -0
  187. package/src/components/{DlVirtualScroll → shared/DlVirtualScroll}/DlVirtualScroll.vue +3 -3
  188. package/src/components/shared/index.ts +3 -0
  189. package/src/components/shared/models.ts +1 -0
  190. package/src/components/shared/types.ts +1 -0
  191. package/src/components/types.ts +3 -0
  192. package/src/demo/BarChartDemo.vue +1 -1
  193. package/src/demo/ColumnChartDemo.vue +1 -2
  194. package/src/demo/DlAccordionDemo.vue +3 -0
  195. package/src/demo/DlAvatarDemo.vue +2 -2
  196. package/src/demo/DlButtonDemo.vue +1 -1
  197. package/src/demo/DlChartDoughnutDemo.vue +2 -2
  198. package/src/demo/DlColorPickerDemo.vue +1 -1
  199. package/src/demo/DlCounterDemo.vue +1 -1
  200. package/src/demo/DlDateTimeRangeDemo.vue +1 -1
  201. package/src/demo/DlDialogBoxDemo.vue +1 -1
  202. package/src/demo/{DlTextInputDemo.vue → DlInputDemo.vue} +8 -8
  203. package/src/demo/DlKpiDemo.vue +261 -0
  204. package/src/demo/DlOptionGroupDemo.vue +2 -2
  205. package/src/demo/DlPaginationDemo.vue +1 -1
  206. package/src/demo/DlPopupDemo.vue +2 -3
  207. package/src/demo/DlSpinnerDemo.vue +1 -1
  208. package/src/demo/DlStepperDemo/CenteredStepperInDialogBox.vue +3 -10
  209. package/src/demo/DlStepperDemo/SimpleStepper.vue +3 -9
  210. package/src/demo/DlStepperDemo/StepperInDialogBox.vue +3 -10
  211. package/src/demo/DlStepperDemo/steps/DataStep.vue +3 -3
  212. package/src/demo/DlStepperDemo/steps/GeneralStep.vue +4 -4
  213. package/src/demo/DlTableDemo.vue +3 -3
  214. package/src/demo/DlTabsDemo.vue +2 -2
  215. package/src/demo/{DlToastMessageDemo.vue → DlToastDemo.vue} +5 -11
  216. package/src/demo/DlTypographyDemo.vue +1 -2
  217. package/src/demo/DlWidgetDemo.vue +1 -4
  218. package/src/demo/SmartSearchDemo/DlSmartSearchDemo.vue +1 -1
  219. package/src/demo/index.ts +8 -6
  220. package/src/models.ts +1 -3
  221. package/src/types.ts +1 -6
  222. package/src/utils/formatNumber.ts +15 -0
  223. package/src/utils/index.ts +1 -0
  224. package/src/components/DlChart/index.ts +0 -36
  225. package/src/components/DlChip/index.ts +0 -4
  226. package/src/components/DlColorPicker/index.ts +0 -20
  227. package/src/components/DlDatePicker/utils.ts +0 -39
  228. package/src/components/DlDialogBox/index.ts +0 -5
  229. package/src/components/DlOptionGroup/OptionGroup.types.ts +0 -36
  230. package/src/components/DlOptionGroup/utils.ts +0 -40
  231. package/src/components/DlPanelContainer/index.ts +0 -4
  232. package/src/components/DlPopup/index.ts +0 -1
  233. package/src/components/DlSelect/index.ts +0 -4
  234. package/src/components/DlSmartSearch/index.ts +0 -4
  235. package/src/components/DlStepper/index.ts +0 -7
  236. package/src/components/DlTable/index.ts +0 -6
  237. package/src/components/DlTable/types.ts +0 -96
  238. package/src/components/DlWidget/index.ts +0 -4
  239. /package/src/components/{DlAccordion → basic/DlAccordion}/index.ts +0 -0
  240. /package/src/components/{DlListItem → basic/DlListItem}/index.ts +0 -0
  241. /package/src/components/{DlListItem → basic/DlListItem}/utils.ts +0 -0
  242. /package/src/components/{DlPopup → basic/DlPopup/components}/DraggableUpper.vue +0 -0
  243. /package/src/components/{DlWidget → basic/DlWidget}/DlGrid.vue +0 -0
  244. /package/src/components/{DlWidget → basic/DlWidget}/DlGridRow.vue +0 -0
  245. /package/src/components/{DlWidget → basic/DlWidget}/types.ts +0 -0
  246. /package/src/components/{DlWidget → basic/DlWidget}/utils.ts +0 -0
  247. /package/src/components/{DlChart/Doughnut → compound/DlCharts/charts/DlDoughnutChart}/types/TDoughnutChartAnimation.ts +0 -0
  248. /package/src/components/{DlChart/Doughnut → compound/DlCharts/charts/DlDoughnutChart}/types/TDoughnutChartData.ts +0 -0
  249. /package/src/components/{DlChart/Doughnut → compound/DlCharts/charts/DlDoughnutChart}/types/TDoughnutChartOptions.ts +0 -0
  250. /package/src/components/{DlChart/Doughnut → compound/DlCharts/charts/DlDoughnutChart}/types/TDoughnutChartProps.ts +0 -0
  251. /package/src/components/{DlChart/Doughnut → compound/DlCharts/charts/DlDoughnutChart}/types/TDoughnutWithOriginalColor.ts +0 -0
  252. /package/src/components/{DlChart → compound/DlCharts}/utils.ts +0 -0
  253. /package/src/components/{DlDatePicker → compound/DlDateTime/DlDatePicker}/index.ts +0 -0
  254. /package/src/components/{DlDatePicker/classes → compound/DlDateTime/DlDatePicker/models}/Calendar.ts +0 -0
  255. /package/src/components/{DlDatePicker/classes → compound/DlDateTime/DlDatePicker/models}/CalendarDate.ts +0 -0
  256. /package/src/components/{DlDatePicker/classes → compound/DlDateTime/DlDatePicker/models}/CustomDate.ts +0 -0
  257. /package/src/components/{DlDatePicker → compound/DlDateTime/DlDatePicker}/types.ts +0 -0
  258. /package/src/components/{DlDateTimeRange → compound/DlDateTime/DlDateTimeRange}/DlCardSidebar.vue +0 -0
  259. /package/src/components/{DlDateTimeRange → compound/DlDateTime/DlDateTimeRange}/index.ts +0 -0
  260. /package/src/components/{DlDateTimeRange → compound/DlDateTime/DlDateTimeRange}/types.ts +0 -0
  261. /package/src/components/{DlTimePicker → compound/DlDateTime/DlTimePicker/components}/DlTimeCounter.vue +0 -0
  262. /package/src/components/{DlTimePicker → compound/DlDateTime/DlTimePicker}/index.ts +0 -0
  263. /package/src/components/{DlTimePicker → compound/DlDateTime/DlTimePicker}/types.ts +0 -0
  264. /package/src/components/{DlDialogBox → compound/DlDialogBox}/DlDialogBox.vue +0 -0
  265. /package/src/components/{DlDialogBox → compound/DlDialogBox/components}/DlDialogBoxFooter.vue +0 -0
  266. /package/src/components/{DlItem → compound/DlItem}/index.ts +0 -0
  267. /package/src/components/{DlPagination → compound/DlPagination/components}/PaginationLegend.vue +0 -0
  268. /package/src/components/{DlPagination → compound/DlPagination}/index.ts +0 -0
  269. /package/src/components/{DlSmartSearch → compound/DlSearches/DlSmartSearch}/types.ts +0 -0
  270. /package/src/components/{DlSlider → compound/DlSlider}/components/DlSliderInput.vue +0 -0
  271. /package/src/components/{DlSlider → compound/DlSlider}/components/index.ts +0 -0
  272. /package/src/components/{DlSlider → compound/DlSlider}/index.ts +0 -0
  273. /package/src/components/{DlSlider → compound/DlSlider}/sliderStyles.scss +0 -0
  274. /package/src/components/{DlSlider → compound/DlSlider}/utils.ts +0 -0
  275. /package/src/components/{DlStepper → compound/DlStepper/components}/DlStepperContainer.vue +0 -0
  276. /package/src/components/{DlStepper → compound/DlStepper/models}/Step.ts +0 -0
  277. /package/src/components/{DlStepper → compound/DlStepper/models}/Stepper.ts +0 -0
  278. /package/src/components/{DlStepper → compound/DlStepper/models}/interfaces.ts +0 -0
  279. /package/src/components/{DlTabPanels → compound/DlTabPanels}/DlTabPanel.vue +0 -0
  280. /package/src/components/{DlTabPanels → compound/DlTabPanels}/index.ts +0 -0
  281. /package/src/components/{DlTabPanels → compound/DlTabPanels}/utils.ts +0 -0
  282. /package/src/components/{DlTable → compound/DlTable}/hooks/tableActions.ts +0 -0
  283. /package/src/components/{DlTable → compound/DlTable}/hooks/tablePagination.ts +0 -0
  284. /package/src/components/{DlTable → compound/DlTable}/hooks/tableRowExpand.ts +0 -0
  285. /package/src/components/{DlTable → compound/DlTable/styles}/dl-table-styles.scss +0 -0
  286. /package/src/components/{DlTable → compound/DlTable/utils}/ResizableManager.ts +0 -0
  287. /package/src/components/{DlToastMessage → compound/DlToast}/api/useToast.ts +0 -0
  288. /package/src/components/{DlToastMessage → compound/DlToast}/index.ts +0 -0
  289. /package/src/components/{DlToastMessage → compound/DlToast}/types.ts +0 -0
  290. /package/src/components/{DlToastMessage → compound/DlToast}/utils/config.ts +0 -0
  291. /package/src/components/{DlToastMessage → compound/DlToast}/utils/render.ts +0 -0
  292. /package/src/components/{DlBadge.vue → essential/DlBadge/DlBadge.vue} +0 -0
  293. /package/src/components/{DlColorPicker → essential/DlColorPicker/components}/DlBox.vue +0 -0
  294. /package/src/components/{DlColorPicker → essential/DlColorPicker/components}/DlHue.vue +0 -0
  295. /package/src/components/{DlColorPicker → essential/DlColorPicker}/constants.ts +0 -0
  296. /package/src/components/{DlColorPicker → essential/DlColorPicker}/utils.ts +0 -0
  297. /package/src/components/{DlLink → essential/DlLink}/DlLink.vue +0 -0
  298. /package/src/components/{DlLink → essential/DlLink}/utils.ts +0 -0
  299. /package/src/components/{DlList.vue → essential/DlList/DlList.vue} +0 -0
  300. /package/src/components/{DlMenu → essential/DlMenu}/index.ts +0 -0
  301. /package/src/components/{DlPanelContainer → essential/DlPanel}/DlPanel.vue +0 -0
  302. /package/src/components/{DlSkeleton.vue → essential/DlSkeleton/DlSkeleton.vue} +0 -0
  303. /package/src/components/{DlSpinner.vue → essential/DlSpinner/DlSpinner.vue} +0 -0
  304. /package/src/components/{DlTextArea.vue → essential/DlTextArea/DlTextArea.vue} +0 -0
  305. /package/src/components/{DlTextHolder.vue → essential/DlTextHolder/DlTextHolder.vue} +0 -0
  306. /package/src/components/{DlInfoErrorMessage.vue → shared/DlInfoErrorMessage/DlInfoErrorMessage.vue} +0 -0
  307. /package/src/components/{DlVirtualScroll → shared/DlVirtualScroll}/index.ts +0 -0
  308. /package/src/components/{DlVirtualScroll → shared/DlVirtualScroll}/useVirtualScroll.ts +0 -0
@@ -0,0 +1,28 @@
1
+ export enum DlKpiCounterFormat {
2
+ long = 'long',
3
+ short = 'short',
4
+ hms = 'h:m:s',
5
+ hm = 'h:m',
6
+ ms = 'm:s',
7
+ h = 'h',
8
+ m = 'm',
9
+ s = 's'
10
+ }
11
+
12
+ export type DlKpiCounterType = {
13
+ /* for string it should be have 0h:0m:0s format */
14
+ value: number | string
15
+ format: DlKpiCounterFormat
16
+ }
17
+
18
+ export type DlKpiProgressType = {
19
+ value?: number
20
+ text?: string
21
+ }
22
+
23
+ export type DlKpiItem = {
24
+ counter: DlKpiCounterType | number
25
+ title: string
26
+ infoMessage?: string
27
+ progress?: DlKpiProgressType
28
+ }
@@ -0,0 +1 @@
1
+ export * from './types/KpiItem'
@@ -48,8 +48,8 @@
48
48
 
49
49
  <script lang="ts">
50
50
  import { defineComponent } from 'vue-demi'
51
- import DlItemSection from '../DlItemSection.vue'
52
- import DlIcon from '../DlIcon.vue'
51
+ import { DlItemSection } from '../../shared'
52
+ import { DlIcon } from '../../essential'
53
53
  import {
54
54
  itemHoverColor,
55
55
  itemActiveColor,
@@ -57,7 +57,7 @@ import {
57
57
  itemBorder,
58
58
  itemColor
59
59
  } from './utils'
60
- import { wave, waveTrigger } from '../../utils'
60
+ import { wave, waveTrigger } from '../../../utils'
61
61
  import { v4 } from 'uuid'
62
62
 
63
63
  export default defineComponent({
@@ -111,8 +111,7 @@
111
111
  <script lang="ts">
112
112
  import { v4 } from 'uuid'
113
113
  import { defineComponent } from 'vue-demi'
114
- import DlIcon from '../DlIcon.vue'
115
- import DlTooltip from '../DlTooltip.vue'
114
+ import { DlIcon, DlTooltip } from '../../essential'
116
115
 
117
116
  export default defineComponent({
118
117
  name: 'DlPanelContainer',
@@ -0,0 +1,2 @@
1
+ import DlPanelContainer from './DlPanelContainer.vue'
2
+ export { DlPanelContainer }
@@ -20,6 +20,7 @@
20
20
  @move="movePopup"
21
21
  />
22
22
  <popup-header
23
+ v-if="hasHeaderSlot"
23
24
  :title="title"
24
25
  :additional-info="additionalInfo"
25
26
  :subtitle="subtitle"
@@ -67,28 +68,30 @@ import {
67
68
  isVue2
68
69
  } from 'vue-demi'
69
70
 
70
- import useWindowSize from '../../hooks/use-window-size'
71
- import useAnchor, { useAnchorProps } from '../../hooks/use-anchor'
72
- import useScrollTarget from '../../hooks/use-scroll-target'
71
+ import useWindowSize from '../../../hooks/use-window-size'
72
+ import useAnchor, { useAnchorProps } from '../../../hooks/use-anchor'
73
+ import useScrollTarget from '../../../hooks/use-scroll-target'
73
74
  import useModelToggle, {
74
75
  useModelToggleProps,
75
76
  AnchorEvent
76
- } from '../../hooks/use-model-toggle'
77
- import usePortal from '../../hooks/use-portal'
78
- import useTransition, { useTransitionProps } from '../../hooks/use-transition'
79
- import useTick from '../../hooks/use-tick'
80
- import useTimeout from '../../hooks/use-timeout'
81
-
82
- import { getScrollTarget } from '../../utils/scroll'
83
- import DlTeleport from '../../utils/teleport'
84
- import { removeEscapeKey } from '../../utils/escape-key'
85
- import { addFocusout, removeFocusout } from '../../utils/focusout'
86
- import { childHasFocus } from '../../utils/dom'
77
+ } from '../../../hooks/use-model-toggle'
78
+ import usePortal from '../../../hooks/use-portal'
79
+ import useTransition, {
80
+ useTransitionProps
81
+ } from '../../../hooks/use-transition'
82
+ import useTick from '../../../hooks/use-tick'
83
+ import useTimeout from '../../../hooks/use-timeout'
84
+
85
+ import { getScrollTarget } from '../../../utils/scroll'
86
+ import DlTeleport from '../../../utils/teleport'
87
+ import { removeEscapeKey } from '../../../utils/escape-key'
88
+ import { addFocusout, removeFocusout } from '../../../utils/focusout'
89
+ import { childHasFocus } from '../../../utils/dom'
87
90
  import {
88
91
  removeClickOutside,
89
92
  ClickOutsideEvent
90
- } from '../../utils/click-outside'
91
- import { addFocusFn } from '../../utils/focus-manager'
93
+ } from '../../../utils/click-outside'
94
+ import { addFocusFn } from '../../../utils/focus-manager'
92
95
 
93
96
  import {
94
97
  validatePosition,
@@ -96,7 +99,7 @@ import {
96
99
  setPosition,
97
100
  parsePosition,
98
101
  setForcedPosition
99
- } from '../../utils/position-engine'
102
+ } from '../../../utils/position-engine'
100
103
  import {
101
104
  getAnchorOrigin,
102
105
  handleWatcherEvents,
@@ -105,9 +108,9 @@ import {
105
108
  refocusTargetFn,
106
109
  conditionalHandler,
107
110
  handleClickOutside
108
- } from '../DlMenu/utils'
109
- import DraggableUpper from './DraggableUpper.vue'
110
- import PopupHeader from './PopupHeader.vue'
111
+ } from '../../essential/DlMenu/utils'
112
+ import DraggableUpper from './components/DraggableUpper.vue'
113
+ import PopupHeader from './components/PopupHeader.vue'
111
114
  import { v4 } from 'uuid'
112
115
 
113
116
  export default defineComponent({
@@ -48,8 +48,7 @@
48
48
 
49
49
  <script lang="ts">
50
50
  import { defineComponent } from 'vue-demi'
51
- import DlTooltip from '../DlTooltip.vue'
52
- import DlIcon from '../DlIcon.vue'
51
+ import { DlTooltip, DlIcon } from '../../../essential'
53
52
 
54
53
  export default defineComponent({
55
54
  components: {
@@ -0,0 +1,3 @@
1
+ import DlPopup from './DlPopup.vue'
2
+
3
+ export { DlPopup }
@@ -76,10 +76,9 @@
76
76
  <script lang="ts">
77
77
  import { v4 } from 'uuid'
78
78
  import { defineComponent, isVue2 } from 'vue-demi'
79
- import { getColor } from '../utils'
80
- import { isEllipsisActive } from '../utils/is-ellipsis-active'
81
- import DlLink from './DlLink/DlLink.vue'
82
- import DlTooltip from './DlTooltip.vue'
79
+ import { getColor } from '../../../utils'
80
+ import { isEllipsisActive } from '../../../utils/is-ellipsis-active'
81
+ import { DlTooltip, DlLink } from '../../essential'
83
82
 
84
83
  type ProgressChartOption = {
85
84
  name: string
@@ -0,0 +1,2 @@
1
+ import DlProgressChart from './DlProgressChart.vue'
2
+ export { DlProgressChart }
@@ -46,7 +46,7 @@
46
46
  <script lang="ts">
47
47
  import { v4 } from 'uuid'
48
48
  import { defineComponent } from 'vue-demi'
49
- import DlIcon from '../DlIcon.vue'
49
+ import { DlIcon } from '../../essential'
50
50
  import {
51
51
  getElementAbove,
52
52
  addMouseEnter,
@@ -54,7 +54,7 @@ import {
54
54
  setFlexBasis,
55
55
  insertAfter
56
56
  } from './utils'
57
- import { swapNodes } from '../../utils/swapNodes'
57
+ import { swapNodes } from '../../../utils/swapNodes'
58
58
 
59
59
  export default defineComponent({
60
60
  name: 'DlWidget',
@@ -0,0 +1,5 @@
1
+ import DlWidget from './DlWidget.vue'
2
+ import DlGrid from './DlGrid.vue'
3
+ import DlGridRow from './DlGridRow.vue'
4
+
5
+ export { DlWidget, DlGrid, DlGridRow }
@@ -0,0 +1,11 @@
1
+ export * from './DlAccordion'
2
+ export * from './DlAlert'
3
+ export * from './DlAvatar'
4
+ export * from './DlButton'
5
+ export * from './DlChip'
6
+ export * from './DlKpi'
7
+ export * from './DlListItem'
8
+ export * from './DlWidget'
9
+ export * from './DlPopup'
10
+ export * from './DlPanelContainer'
11
+ export * from './DlProgressChart'
@@ -0,0 +1 @@
1
+ export {}
@@ -0,0 +1,8 @@
1
+ import { DlChipProps } from './DlChip/utils'
2
+ import { DlButtonProps } from './DlButton/utils'
3
+
4
+ export type { DlChipProps, DlButtonProps }
5
+
6
+ export * from './DlKpi/types'
7
+ export * from './DlWidget/types'
8
+ export * from './DlButton/types'
@@ -14,7 +14,7 @@
14
14
  @mouseout="onChartLeave"
15
15
  @wheel.native="handleChartScroll"
16
16
  />
17
- <dl-scroll-bar
17
+ <dl-chart-scroll-bar
18
18
  v-if="maxItems > thisItemsInView"
19
19
  :height="wrapperHeight"
20
20
  :item-count="maxItems"
@@ -52,12 +52,16 @@
52
52
  </template>
53
53
 
54
54
  <script lang="ts">
55
- import { Bar } from './'
56
- import { CommonProps, BarChartProps, defaultBarChartProps } from './props'
55
+ import { Bar } from '../../types/typedCharts'
56
+ import {
57
+ CommonProps,
58
+ BarChartProps,
59
+ defaultBarChartProps
60
+ } from '../../types/props'
57
61
  import { defineComponent, reactive, ref, watch, computed } from 'vue-demi'
58
- import DlChartLegend from './DlChartLegend.vue'
59
- import DlScrollBar from './DlScrollBar.vue'
60
- import { updateKey } from '../../utils/update-key'
62
+ import DlChartLegend from '../../components/DlChartLegend.vue'
63
+ import DlChartScrollBar from '../../components/DlChartScrollBar.vue'
64
+ import { updateKey } from '../../../../../utils/update-key'
61
65
  import {
62
66
  Chart as ChartJS,
63
67
  Title,
@@ -72,8 +76,8 @@ import {
72
76
  } from 'chart.js'
73
77
  import type { Chart, ChartMeta, ChartDataset, ActiveElement } from 'chart.js'
74
78
  import { isEqual, merge } from 'lodash'
75
- import { rgba2hex, hexToRgbA, revertRGBAOpacity } from '../../utils'
76
- import { useThemeVariables } from '../../hooks/use-theme'
79
+ import { rgba2hex, hexToRgbA, revertRGBAOpacity } from '../../../../../utils'
80
+ import { useThemeVariables } from '../../../../../hooks/use-theme'
77
81
 
78
82
  ChartJS.register(
79
83
  CategoryScale,
@@ -89,7 +93,7 @@ export default defineComponent({
89
93
  name: 'DlBarChart',
90
94
  components: {
91
95
  Bar,
92
- DlScrollBar,
96
+ DlChartScrollBar,
93
97
  DlChartLegend
94
98
  },
95
99
  props: {
@@ -0,0 +1,2 @@
1
+ import DlBarChart from './DlBarChart.vue'
2
+ export { DlBarChart }
@@ -74,14 +74,18 @@
74
74
  </template>
75
75
 
76
76
  <script lang="ts">
77
- import { Bar } from './'
78
- import { CommonProps, ColumnChartProps, defaultColumnChartProps } from './props'
77
+ import { Bar } from '../../types/typedCharts'
78
+ import {
79
+ CommonProps,
80
+ ColumnChartProps,
81
+ defaultColumnChartProps
82
+ } from '../../types/props'
79
83
  import { defineComponent, reactive, watch, ref, computed } from 'vue-demi'
80
- import DlBrush from './DlBrush.vue'
81
- import DlChartLegend from './DlChartLegend.vue'
82
- import DlChartLabels from './DlChartLabels.vue'
83
- import { updateKey } from '../../utils/update-key'
84
- import { rgba2hex, hexToRgbA, revertRGBAOpacity } from '../../utils'
84
+ import DlBrush from '../../components/DlBrush.vue'
85
+ import DlChartLegend from '../../components/DlChartLegend.vue'
86
+ import DlChartLabels from '../../components/DlChartLabels.vue'
87
+ import { updateKey } from '../../../../../utils/update-key'
88
+ import { rgba2hex, hexToRgbA, revertRGBAOpacity } from '../../../../../utils'
85
89
  import {
86
90
  Chart as ChartJS,
87
91
  Title,
@@ -94,15 +98,9 @@ import {
94
98
  LineElement,
95
99
  BarControllerDatasetOptions
96
100
  } from 'chart.js'
97
- import type {
98
- Chart,
99
- ChartMeta,
100
- ChartDataset,
101
- ActiveElement,
102
- ChartType
103
- } from 'chart.js'
101
+ import type { Chart, ChartMeta, ChartDataset, ActiveElement } from 'chart.js'
104
102
  import { unionBy, orderBy, merge, isEqual } from 'lodash'
105
- import { useThemeVariables } from '../../hooks/use-theme'
103
+ import { useThemeVariables } from '../../../../../hooks/use-theme'
106
104
 
107
105
  ChartJS.register(
108
106
  Title,
@@ -0,0 +1,2 @@
1
+ import DlColumnChart from './DlColumnChart.vue'
2
+ export { DlColumnChart }
@@ -81,11 +81,11 @@ import {
81
81
  ChartJS.register(Tooltip, Legend, DoughnutController, ArcElement)
82
82
 
83
83
  import { cloneDeep, merge } from 'lodash'
84
- import { Doughnut } from '../index'
85
- import { useThemeVariables } from '../../../hooks/use-theme'
86
- import { updateNestedArrayValues } from '../../../utils/update-key'
87
- import DlDoughnutChartLegend from './DlDoughnutChartLegend.vue'
88
- import { defaultDoughnutChartProps } from '../props'
84
+ import { Doughnut } from '../../types/typedCharts'
85
+ import { useThemeVariables } from '../../../../../hooks/use-theme'
86
+ import { updateNestedArrayValues } from '../../../../../utils/update-key'
87
+ import DlDoughnutChartLegend from './components/DlDoughnutChartLegend.vue'
88
+ import { defaultDoughnutChartProps } from '../../types/props'
89
89
  import { TDoughnutWithOriginalColor } from './types/TDoughnutWithOriginalColor'
90
90
 
91
91
  export default defineComponent({
@@ -26,9 +26,7 @@
26
26
  import { defineComponent, PropType } from 'vue-demi'
27
27
  import DlDoughnutChart from './DlDoughnutChart.vue'
28
28
  import { TDoughnutChartData } from './types/TDoughnutChartData'
29
- import DlGrid from '../../../components/DlWidget/DlGrid.vue'
30
- import DlGridRow from '../../../components/DlWidget/DlGridRow.vue'
31
- import DlWidget from '../../../components/DlWidget/DlWidget.vue'
29
+ import { DlWidget, DlGridRow, DlGrid } from '../../../../basic'
32
30
 
33
31
  export default defineComponent({
34
32
  name: 'DlDoughnutChartWidget',
@@ -50,10 +50,8 @@
50
50
 
51
51
  <script lang="ts">
52
52
  import { defineComponent, PropType } from 'vue-demi'
53
- import type { LegendItem } from 'chart.js'
54
- import DlTypography from '../../DlTypography.vue'
55
- import { TDoughnutChartData } from './types/TDoughnutChartData'
56
- import DlTooltip from '../../DlTooltip.vue'
53
+ import { DlTypography, DlTooltip } from '../../../../../essential'
54
+ import { TDoughnutChartData } from '../types/TDoughnutChartData'
57
55
 
58
56
  enum EBadgeText {
59
57
  badge = 'badge',
@@ -0,0 +1,3 @@
1
+ import DlDoughnutChart from './DlDoughnutChart.vue'
2
+ import DlDoughnutChartWidget from './DlDoughnutChartWidget.vue'
3
+ export { DlDoughnutChart, DlDoughnutChartWidget }
@@ -0,0 +1,5 @@
1
+ export * from './TDoughnutChartAnimation'
2
+ export * from './TDoughnutChartData'
3
+ export * from './TDoughnutChartOptions'
4
+ export * from './TDoughnutChartProps'
5
+ export * from './TDoughnutWithOriginalColor'
@@ -74,14 +74,18 @@
74
74
  </template>
75
75
 
76
76
  <script lang="ts">
77
- import { Line as DlLine } from '.'
78
- import { CommonProps, ColumnChartProps, defaultLineChartProps } from './props'
77
+ import { Line as DlLine } from '../../types/typedCharts'
78
+ import {
79
+ CommonProps,
80
+ ColumnChartProps,
81
+ defaultLineChartProps
82
+ } from '../../types/props'
79
83
  import { defineComponent, reactive, watch, ref, computed } from 'vue-demi'
80
- import DlBrush from './DlBrush.vue'
81
- import DlChartLegend from './DlChartLegend.vue'
82
- import DlChartLabels from './DlChartLabels.vue'
83
- import { updateKeys } from '../../utils/update-key'
84
- import { hexToRgbA } from '../../utils'
84
+ import DlBrush from '../../components/DlBrush.vue'
85
+ import DlChartLegend from '../../components/DlChartLegend.vue'
86
+ import DlChartLabels from '../../components/DlChartLabels.vue'
87
+ import { updateKeys } from '../../../../../utils/update-key'
88
+ import { hexToRgbA } from '../../../../../utils'
85
89
  import {
86
90
  Chart as ChartJS,
87
91
  Title,
@@ -105,7 +109,7 @@ import type {
105
109
  LineControllerDatasetOptions
106
110
  } from 'chart.js'
107
111
  import { orderBy, merge, isEqual, unionBy, cloneDeep } from 'lodash'
108
- import { useThemeVariables } from '../../hooks/use-theme'
112
+ import { useThemeVariables } from '../../../../../hooks/use-theme'
109
113
 
110
114
  ChartJS.register(
111
115
  Title,
@@ -0,0 +1,2 @@
1
+ import DlLineChart from './DlLineChart.vue'
2
+ export { DlLineChart }
@@ -0,0 +1,4 @@
1
+ export * from './DlBarChart'
2
+ export * from './DlColumnChart'
3
+ export * from './DlDoughnutChart'
4
+ export * from './DlLineChart'
@@ -22,7 +22,7 @@
22
22
  class="selection"
23
23
  :style="selectionBarStyle"
24
24
  />
25
- <dl-brush-thumb
25
+ <brush-thumb
26
26
  key="tmin"
27
27
  ref="minThumbRef"
28
28
  class="thumb"
@@ -33,7 +33,7 @@
33
33
  data-test="min-thumb"
34
34
  />
35
35
 
36
- <dl-brush-thumb
36
+ <brush-thumb
37
37
  key="tmax"
38
38
  ref="maxThumbRef"
39
39
  class="thumb"
@@ -62,11 +62,11 @@ import useSlider, {
62
62
  useSliderEmits,
63
63
  dragType,
64
64
  Dragging
65
- } from '../DlSlider/useSlider'
65
+ } from '../../DlSlider/useSlider'
66
66
 
67
- import { between, isMobileOrTablet, getColor } from '../../utils'
68
- import DlBrushThumb from './BrushThumb.vue'
69
- import touchPanDirective from '../../directives/TouchPan'
67
+ import { between, isMobileOrTablet, getColor } from '../../../../utils'
68
+ import BrushThumb from '../shared/BrushThumb.vue'
69
+ import touchPanDirective from '../../../../directives/TouchPan'
70
70
 
71
71
  export default defineComponent({
72
72
  name: 'DlBrushBar',
@@ -74,7 +74,7 @@ export default defineComponent({
74
74
  touchPan: touchPanDirective as any // force any type cause of the vue version
75
75
  },
76
76
  components: {
77
- DlBrushThumb
77
+ BrushThumb
78
78
  },
79
79
  model: {
80
80
  prop: 'modelValue',
@@ -81,9 +81,8 @@
81
81
  <script lang="ts">
82
82
  import { v4 } from 'uuid'
83
83
  import { defineComponent, PropType, isVue2 } from 'vue-demi'
84
- import { isEllipsisActive } from '../../utils/is-ellipsis-active'
85
- import DlTypography from '../DlTypography.vue'
86
- import DlTooltip from '../DlTooltip.vue'
84
+ import { isEllipsisActive } from '../../../../utils/is-ellipsis-active'
85
+ import { DlTooltip, DlTypography } from '../../../essential'
87
86
 
88
87
  type ObserverRefs = {
89
88
  ref: 'resizeObserverTitle' | 'resizeObserverSubtitle'
@@ -36,9 +36,8 @@
36
36
  <script lang="ts">
37
37
  import { defineComponent, PropType } from 'vue-demi'
38
38
  import type { LegendItem, DatasetChartOptions } from 'chart.js'
39
- import { getColor } from '../../utils'
40
- import DlBadge from '../DlBadge.vue'
41
- import DlTypography from '../DlTypography.vue'
39
+ import { getColor } from '../../../../utils'
40
+ import { DlBadge, DlTypography } from '../../../essential'
42
41
 
43
42
  const positions = {
44
43
  left: 'flex-start',
@@ -2,7 +2,7 @@
2
2
  import { defineComponent } from 'vue-demi'
3
3
 
4
4
  export default defineComponent({
5
- name: 'DlScrollBar',
5
+ name: 'DlChartScrollBar',
6
6
  props: {
7
7
  itemCount: {
8
8
  type: Number,
@@ -0,0 +1 @@
1
+ export * from './charts'
@@ -9,8 +9,8 @@ import {
9
9
  getCurrentInstance
10
10
  } from 'vue-demi'
11
11
  import { Chart as ChartJS } from 'chart.js'
12
- import type { ChartComponent } from './types'
13
- import { Props } from './props'
12
+ import { DlChartComponent } from '../types/types'
13
+ import { Props } from '../types/props'
14
14
  import {
15
15
  cloneData,
16
16
  setLabels,
@@ -18,7 +18,7 @@ import {
18
18
  setOptions,
19
19
  toRawIfProxy,
20
20
  cloneProxy
21
- } from './utils'
21
+ } from '../utils'
22
22
 
23
23
  export const Chart = defineComponent({
24
24
  props: Props,
@@ -119,4 +119,4 @@ export const Chart = defineComponent({
119
119
  }
120
120
  },
121
121
  template: `<canvas ref="canvasRef" />`
122
- }) as unknown as ChartComponent
122
+ }) as unknown as DlChartComponent
@@ -0,0 +1 @@
1
+ export * from './chart'
@@ -15,12 +15,11 @@
15
15
 
16
16
  <script lang="ts">
17
17
  import { defineComponent, computed } from 'vue-demi'
18
- import { getColor } from '../../utils'
19
-
20
- import { DlIcon } from '../'
18
+ import { getColor } from '../../../../utils'
19
+ import { DlIcon } from '../../../essential'
21
20
 
22
21
  export default defineComponent({
23
- name: 'DlBrushThumb',
22
+ name: 'BrushThumb',
24
23
  components: {
25
24
  DlIcon
26
25
  },
@@ -0,0 +1 @@
1
+ export type { DlChartProps, DlChartComponentRef } from './types'
@@ -7,8 +7,8 @@ import type {
7
7
  UpdateMode,
8
8
  DatasetChartOptions
9
9
  } from 'chart.js'
10
- import { TDoughnutProps } from './Doughnut/types/TDoughnutChartProps'
11
- import { TDoughnutChartData } from './Doughnut/types/TDoughnutChartData'
10
+ import { TDoughnutProps } from '../charts/DlDoughnutChart/types/TDoughnutChartProps'
11
+ import { TDoughnutChartData } from '../charts/DlDoughnutChart/types/TDoughnutChartData'
12
12
 
13
13
  export const CommonProps = {
14
14
  data: {
@@ -11,10 +11,10 @@ import {
11
11
  RadarController,
12
12
  ScatterController
13
13
  } from 'chart.js'
14
- import type { TypedChartComponent, ChartComponentRef } from './types'
14
+ import type { DlTypedChartComponent, DlChartComponentRef } from './types'
15
15
  import { CommonProps } from './props'
16
- import { Chart } from './chart'
17
- import { compatProps } from './utils'
16
+ import { Chart } from '../models'
17
+ import { compatProps } from '../utils'
18
18
 
19
19
  const template = `<Chart v-bind="{...allProps}" />`
20
20
 
@@ -25,7 +25,7 @@ export function createTypedChart<
25
25
  >(
26
26
  type: TType,
27
27
  registerables: ChartComponentLike
28
- ): TypedChartComponent<TType, TData, TLabel> {
28
+ ): DlTypedChartComponent<TType, TData, TLabel> {
29
29
  ChartJS.register(registerables)
30
30
 
31
31
  return defineComponent({
@@ -35,7 +35,7 @@ export function createTypedChart<
35
35
  props: CommonProps,
36
36
  setup(props) {
37
37
  const canvasRef = shallowRef<ChartJS | null>(null)
38
- const reforwardRef = (chartRef: ChartComponentRef) => {
38
+ const reforwardRef = (chartRef: DlChartComponentRef) => {
39
39
  canvasRef.value = chartRef?.chart
40
40
  }
41
41