@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.
Files changed (307) 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 +3 -5
  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/DlAvatarDemo.vue +2 -2
  195. package/src/demo/DlButtonDemo.vue +1 -1
  196. package/src/demo/DlChartDoughnutDemo.vue +2 -2
  197. package/src/demo/DlColorPickerDemo.vue +1 -1
  198. package/src/demo/DlCounterDemo.vue +1 -1
  199. package/src/demo/DlDateTimeRangeDemo.vue +1 -1
  200. package/src/demo/DlDialogBoxDemo.vue +1 -1
  201. package/src/demo/{DlTextInputDemo.vue → DlInputDemo.vue} +8 -8
  202. package/src/demo/DlKpiDemo.vue +261 -0
  203. package/src/demo/DlOptionGroupDemo.vue +2 -2
  204. package/src/demo/DlPaginationDemo.vue +1 -1
  205. package/src/demo/DlPopupDemo.vue +2 -3
  206. package/src/demo/DlSpinnerDemo.vue +1 -1
  207. package/src/demo/DlStepperDemo/CenteredStepperInDialogBox.vue +3 -10
  208. package/src/demo/DlStepperDemo/SimpleStepper.vue +3 -9
  209. package/src/demo/DlStepperDemo/StepperInDialogBox.vue +3 -10
  210. package/src/demo/DlStepperDemo/steps/DataStep.vue +3 -3
  211. package/src/demo/DlStepperDemo/steps/GeneralStep.vue +4 -4
  212. package/src/demo/DlTableDemo.vue +3 -3
  213. package/src/demo/DlTabsDemo.vue +2 -2
  214. package/src/demo/{DlToastMessageDemo.vue → DlToastDemo.vue} +5 -11
  215. package/src/demo/DlTypographyDemo.vue +1 -2
  216. package/src/demo/DlWidgetDemo.vue +1 -4
  217. package/src/demo/SmartSearchDemo/DlSmartSearchDemo.vue +1 -1
  218. package/src/demo/index.ts +8 -6
  219. package/src/models.ts +1 -3
  220. package/src/types.ts +1 -6
  221. package/src/utils/formatNumber.ts +15 -0
  222. package/src/utils/index.ts +1 -0
  223. package/src/components/DlChart/index.ts +0 -36
  224. package/src/components/DlChip/index.ts +0 -4
  225. package/src/components/DlColorPicker/index.ts +0 -20
  226. package/src/components/DlDatePicker/utils.ts +0 -39
  227. package/src/components/DlDialogBox/index.ts +0 -5
  228. package/src/components/DlOptionGroup/OptionGroup.types.ts +0 -36
  229. package/src/components/DlOptionGroup/utils.ts +0 -40
  230. package/src/components/DlPanelContainer/index.ts +0 -4
  231. package/src/components/DlPopup/index.ts +0 -1
  232. package/src/components/DlSelect/index.ts +0 -4
  233. package/src/components/DlSmartSearch/index.ts +0 -4
  234. package/src/components/DlStepper/index.ts +0 -7
  235. package/src/components/DlTable/index.ts +0 -6
  236. package/src/components/DlTable/types.ts +0 -96
  237. package/src/components/DlWidget/index.ts +0 -4
  238. /package/src/components/{DlAccordion → basic/DlAccordion}/index.ts +0 -0
  239. /package/src/components/{DlListItem → basic/DlListItem}/index.ts +0 -0
  240. /package/src/components/{DlListItem → basic/DlListItem}/utils.ts +0 -0
  241. /package/src/components/{DlPopup → basic/DlPopup/components}/DraggableUpper.vue +0 -0
  242. /package/src/components/{DlWidget → basic/DlWidget}/DlGrid.vue +0 -0
  243. /package/src/components/{DlWidget → basic/DlWidget}/DlGridRow.vue +0 -0
  244. /package/src/components/{DlWidget → basic/DlWidget}/types.ts +0 -0
  245. /package/src/components/{DlWidget → basic/DlWidget}/utils.ts +0 -0
  246. /package/src/components/{DlChart/Doughnut → compound/DlCharts/charts/DlDoughnutChart}/types/TDoughnutChartAnimation.ts +0 -0
  247. /package/src/components/{DlChart/Doughnut → compound/DlCharts/charts/DlDoughnutChart}/types/TDoughnutChartData.ts +0 -0
  248. /package/src/components/{DlChart/Doughnut → compound/DlCharts/charts/DlDoughnutChart}/types/TDoughnutChartOptions.ts +0 -0
  249. /package/src/components/{DlChart/Doughnut → compound/DlCharts/charts/DlDoughnutChart}/types/TDoughnutChartProps.ts +0 -0
  250. /package/src/components/{DlChart/Doughnut → compound/DlCharts/charts/DlDoughnutChart}/types/TDoughnutWithOriginalColor.ts +0 -0
  251. /package/src/components/{DlChart → compound/DlCharts}/utils.ts +0 -0
  252. /package/src/components/{DlDatePicker → compound/DlDateTime/DlDatePicker}/index.ts +0 -0
  253. /package/src/components/{DlDatePicker/classes → compound/DlDateTime/DlDatePicker/models}/Calendar.ts +0 -0
  254. /package/src/components/{DlDatePicker/classes → compound/DlDateTime/DlDatePicker/models}/CalendarDate.ts +0 -0
  255. /package/src/components/{DlDatePicker/classes → compound/DlDateTime/DlDatePicker/models}/CustomDate.ts +0 -0
  256. /package/src/components/{DlDatePicker → compound/DlDateTime/DlDatePicker}/types.ts +0 -0
  257. /package/src/components/{DlDateTimeRange → compound/DlDateTime/DlDateTimeRange}/DlCardSidebar.vue +0 -0
  258. /package/src/components/{DlDateTimeRange → compound/DlDateTime/DlDateTimeRange}/index.ts +0 -0
  259. /package/src/components/{DlDateTimeRange → compound/DlDateTime/DlDateTimeRange}/types.ts +0 -0
  260. /package/src/components/{DlTimePicker → compound/DlDateTime/DlTimePicker/components}/DlTimeCounter.vue +0 -0
  261. /package/src/components/{DlTimePicker → compound/DlDateTime/DlTimePicker}/index.ts +0 -0
  262. /package/src/components/{DlTimePicker → compound/DlDateTime/DlTimePicker}/types.ts +0 -0
  263. /package/src/components/{DlDialogBox → compound/DlDialogBox}/DlDialogBox.vue +0 -0
  264. /package/src/components/{DlDialogBox → compound/DlDialogBox/components}/DlDialogBoxFooter.vue +0 -0
  265. /package/src/components/{DlItem → compound/DlItem}/index.ts +0 -0
  266. /package/src/components/{DlPagination → compound/DlPagination/components}/PaginationLegend.vue +0 -0
  267. /package/src/components/{DlPagination → compound/DlPagination}/index.ts +0 -0
  268. /package/src/components/{DlSmartSearch → compound/DlSearches/DlSmartSearch}/types.ts +0 -0
  269. /package/src/components/{DlSlider → compound/DlSlider}/components/DlSliderInput.vue +0 -0
  270. /package/src/components/{DlSlider → compound/DlSlider}/components/index.ts +0 -0
  271. /package/src/components/{DlSlider → compound/DlSlider}/index.ts +0 -0
  272. /package/src/components/{DlSlider → compound/DlSlider}/sliderStyles.scss +0 -0
  273. /package/src/components/{DlSlider → compound/DlSlider}/utils.ts +0 -0
  274. /package/src/components/{DlStepper → compound/DlStepper/components}/DlStepperContainer.vue +0 -0
  275. /package/src/components/{DlStepper → compound/DlStepper/models}/Step.ts +0 -0
  276. /package/src/components/{DlStepper → compound/DlStepper/models}/Stepper.ts +0 -0
  277. /package/src/components/{DlStepper → compound/DlStepper/models}/interfaces.ts +0 -0
  278. /package/src/components/{DlTabPanels → compound/DlTabPanels}/DlTabPanel.vue +0 -0
  279. /package/src/components/{DlTabPanels → compound/DlTabPanels}/index.ts +0 -0
  280. /package/src/components/{DlTabPanels → compound/DlTabPanels}/utils.ts +0 -0
  281. /package/src/components/{DlTable → compound/DlTable}/hooks/tableActions.ts +0 -0
  282. /package/src/components/{DlTable → compound/DlTable}/hooks/tablePagination.ts +0 -0
  283. /package/src/components/{DlTable → compound/DlTable}/hooks/tableRowExpand.ts +0 -0
  284. /package/src/components/{DlTable → compound/DlTable/styles}/dl-table-styles.scss +0 -0
  285. /package/src/components/{DlTable → compound/DlTable/utils}/ResizableManager.ts +0 -0
  286. /package/src/components/{DlToastMessage → compound/DlToast}/api/useToast.ts +0 -0
  287. /package/src/components/{DlToastMessage → compound/DlToast}/index.ts +0 -0
  288. /package/src/components/{DlToastMessage → compound/DlToast}/types.ts +0 -0
  289. /package/src/components/{DlToastMessage → compound/DlToast}/utils/config.ts +0 -0
  290. /package/src/components/{DlToastMessage → compound/DlToast}/utils/render.ts +0 -0
  291. /package/src/components/{DlBadge.vue → essential/DlBadge/DlBadge.vue} +0 -0
  292. /package/src/components/{DlColorPicker → essential/DlColorPicker/components}/DlBox.vue +0 -0
  293. /package/src/components/{DlColorPicker → essential/DlColorPicker/components}/DlHue.vue +0 -0
  294. /package/src/components/{DlColorPicker → essential/DlColorPicker}/constants.ts +0 -0
  295. /package/src/components/{DlColorPicker → essential/DlColorPicker}/utils.ts +0 -0
  296. /package/src/components/{DlLink → essential/DlLink}/DlLink.vue +0 -0
  297. /package/src/components/{DlLink → essential/DlLink}/utils.ts +0 -0
  298. /package/src/components/{DlList.vue → essential/DlList/DlList.vue} +0 -0
  299. /package/src/components/{DlMenu → essential/DlMenu}/index.ts +0 -0
  300. /package/src/components/{DlPanelContainer → essential/DlPanel}/DlPanel.vue +0 -0
  301. /package/src/components/{DlSkeleton.vue → essential/DlSkeleton/DlSkeleton.vue} +0 -0
  302. /package/src/components/{DlSpinner.vue → essential/DlSpinner/DlSpinner.vue} +0 -0
  303. /package/src/components/{DlTextArea.vue → essential/DlTextArea/DlTextArea.vue} +0 -0
  304. /package/src/components/{DlTextHolder.vue → essential/DlTextHolder/DlTextHolder.vue} +0 -0
  305. /package/src/components/{DlInfoErrorMessage.vue → shared/DlInfoErrorMessage/DlInfoErrorMessage.vue} +0 -0
  306. /package/src/components/{DlVirtualScroll → shared/DlVirtualScroll}/index.ts +0 -0
  307. /package/src/components/{DlVirtualScroll → shared/DlVirtualScroll}/useVirtualScroll.ts +0 -0
@@ -0,0 +1,46 @@
1
+ import { DlRadio, DlSwitch, DlCheckbox } from '../../essential'
2
+ import { isVue3, shallowRef } from 'vue-demi'
3
+ import { DlOptionGroupOptions } from './types'
4
+ import MenuItemWrapper from './components/MenuItemWrapper.vue'
5
+ import SimpleWrapper from './components/SimpleWrapper.vue'
6
+
7
+ export const components: { [key: string]: any } = isVue3
8
+ ? {
9
+ radio: shallowRef(DlRadio),
10
+ checkbox: shallowRef(DlCheckbox),
11
+ switch: shallowRef(DlSwitch)
12
+ // toggle: shallowRef(DlToggle),
13
+ }
14
+ : {
15
+ radio: () =>
16
+ import('../../essential/DlRadio/DlRadio.vue').then(
17
+ (d) => d.default
18
+ ),
19
+ checkbox: () =>
20
+ import('../../essential/DlCheckbox/DlCheckbox.vue').then(
21
+ (d) => d.default
22
+ ),
23
+ switch: () =>
24
+ import('../../essential/DlSwitch/DlSwitch.vue').then(
25
+ (d) => d.default
26
+ )
27
+ }
28
+ export const componentsType = Object.keys(components)
29
+
30
+ export const typeValidator = (type: string) => componentsType.includes(type)
31
+
32
+ export const optionsValidator = (opts: DlOptionGroupOptions) => {
33
+ return opts.every((opt) => 'value' in opt && 'label' in opt)
34
+ }
35
+
36
+ export const wrappers: { [key: string]: any } = isVue3
37
+ ? {
38
+ menuItem: shallowRef(MenuItemWrapper),
39
+ label: shallowRef(SimpleWrapper)
40
+ }
41
+ : {
42
+ menuItem: () =>
43
+ import('./components/MenuItemWrapper.vue').then((d) => d.default),
44
+ label: () =>
45
+ import('./components/SimpleWrapper.vue').then((d) => d.default)
46
+ }
@@ -49,10 +49,10 @@
49
49
 
50
50
  <script lang="ts">
51
51
  import { defineComponent, PropType } from 'vue-demi'
52
- import RowsSelector from './RowsSelector.vue'
53
- import PageNavigation from './PageNavigation.vue'
54
- import QuickNavigation from './QuickNavigation.vue'
55
- import PaginationLegend from './PaginationLegend.vue'
52
+ import RowsSelector from './components/RowsSelector.vue'
53
+ import PageNavigation from './components/PageNavigation.vue'
54
+ import QuickNavigation from './components/QuickNavigation.vue'
55
+ import PaginationLegend from './components/PaginationLegend.vue'
56
56
  import { v4 } from 'uuid'
57
57
 
58
58
  export default defineComponent({
@@ -104,8 +104,8 @@
104
104
 
105
105
  <script lang="ts">
106
106
  import { defineComponent } from 'vue-demi'
107
- import { getColor } from '../../utils'
108
- import DlIcon from '../DlIcon.vue'
107
+ import { getColor } from '../../../../utils'
108
+ import { DlIcon } from '../../../essential'
109
109
 
110
110
  export default defineComponent({
111
111
  name: 'PageNavigation',
@@ -25,10 +25,10 @@
25
25
 
26
26
  <script lang="ts">
27
27
  import { defineComponent } from 'vue-demi'
28
- import DlTypography from '../DlTypography.vue'
29
- import { DlButton } from '../DlButton'
30
- import { stopAndPrevent } from '../../utils'
31
- import { admissibleKeys } from '../../utils/nav-keys-constants'
28
+ import { DlButton } from '../../../basic'
29
+ import { DlTypography } from '../../../essential'
30
+ import { stopAndPrevent } from '../../../../utils'
31
+ import { admissibleKeys } from '../../../../utils/nav-keys-constants'
32
32
 
33
33
  export default defineComponent({
34
34
  name: 'QuickNavigation',
@@ -24,8 +24,8 @@
24
24
 
25
25
  <script lang="ts">
26
26
  import { defineComponent, PropType } from 'vue-demi'
27
- import { DlSelect } from '../DlSelect'
28
- import DlTypography from '../DlTypography.vue'
27
+ import { DlSelect } from '../../DlSelect'
28
+ import { DlTypography } from '../../../essential'
29
29
 
30
30
  export default defineComponent({
31
31
  name: 'RowsSelector',
@@ -82,7 +82,7 @@ import useSlider, {
82
82
  useSliderProps,
83
83
  useSliderEmits
84
84
  } from '../DlSlider/useSlider'
85
- import { DlButton } from '../DlButton'
85
+ import { DlButton } from '../../basic'
86
86
  import {
87
87
  stopAndPrevent,
88
88
  getColor,
@@ -90,8 +90,8 @@ import {
90
90
  includes,
91
91
  between,
92
92
  isMobileOrTablet
93
- } from '../../utils'
94
- import touchPanDirective from '../../directives/TouchPan'
93
+ } from '../../../utils'
94
+ import touchPanDirective from '../../../directives/TouchPan'
95
95
  import * as rangeUtils from './utils'
96
96
  import { v4 } from 'uuid'
97
97
 
@@ -0,0 +1,2 @@
1
+ import DlRange from './DlRange.vue'
2
+ export { DlRange }
@@ -1,4 +1,4 @@
1
- import { between, includes, KEY_CODE } from '../../utils'
1
+ import { between, includes, KEY_CODE } from '../../../utils'
2
2
  import { Dragging, dragType } from '../DlSlider/useSlider'
3
3
 
4
4
  type RangeValue = {
@@ -21,7 +21,7 @@ export function updateValue(
21
21
  }
22
22
  }
23
23
 
24
- type RangeBoundings = {
24
+ type RangeBindings = {
25
25
  left: number
26
26
  top: number
27
27
  width: number
@@ -30,13 +30,13 @@ type RangeBoundings = {
30
30
 
31
31
  export function getDragging(
32
32
  event: any,
33
- boundings: RangeBoundings,
33
+ bindings: RangeBindings,
34
34
  sensitivity: number,
35
35
  state: RangeValue,
36
36
  stateRatio: RangeValue,
37
37
  getDraggingRatioFn: (event: MouseEvent, dragging: Dragging) => number
38
38
  ): Dragging {
39
- const { left, top, width, height } = boundings
39
+ const { left, top, width, height } = bindings
40
40
 
41
41
  const dragging = {
42
42
  left,
@@ -5,7 +5,7 @@
5
5
  class="root-wrapper"
6
6
  :style="rootVars"
7
7
  >
8
- <dl-text-input
8
+ <dl-input
9
9
  ref="input"
10
10
  type="text"
11
11
  clear-button-tooltip
@@ -30,7 +30,7 @@
30
30
  size="12px"
31
31
  />
32
32
  </template>
33
- </dl-text-input>
33
+ </dl-input>
34
34
  <dl-button
35
35
  v-show="withSearchBtn"
36
36
  padding="9px 16px"
@@ -47,9 +47,9 @@
47
47
  <script lang="ts">
48
48
  import { v4 } from 'uuid'
49
49
  import { defineComponent, PropType } from 'vue-demi'
50
- import { DlButton } from './DlButton'
51
- import DlIcon from './DlIcon.vue'
52
- import DlTextInput from './DlTextInput.vue'
50
+ import { DlButton } from '../../../basic'
51
+ import { DlIcon } from '../../../essential'
52
+ import { DlInput } from '../../DlInput'
53
53
 
54
54
  const SearchSizes = {
55
55
  l: 'l',
@@ -62,7 +62,7 @@ export default defineComponent({
62
62
  components: {
63
63
  DlButton,
64
64
  DlIcon,
65
- DlTextInput
65
+ DlInput
66
66
  },
67
67
  model: {
68
68
  prop: 'modelValue',
@@ -0,0 +1,2 @@
1
+ import DlSearch from './DlSearch.vue'
2
+ export { DlSearch }
@@ -45,7 +45,7 @@
45
45
  :model-value="jsonEditorModel"
46
46
  :query="activeQuery"
47
47
  :queries="savedQueries"
48
- @update:modelValue="(val) => (jsonEditorModel = val)"
48
+ @update:modelValue="jsonEditorModel = $event"
49
49
  @save="handleQuerySaveEditor"
50
50
  @remove="handleQueryRemove"
51
51
  @search="handleQuerySearchEditor"
@@ -81,7 +81,7 @@
81
81
  />
82
82
  </template>
83
83
  <template #body>
84
- <dl-text-input
84
+ <dl-input
85
85
  v-model="newQueryName"
86
86
  style="text-align: center"
87
87
  placeholder="Type query name"
@@ -97,15 +97,19 @@
97
97
  </template>
98
98
  <script lang="ts">
99
99
  import { defineComponent, getCurrentInstance, PropType, ref } from 'vue-demi'
100
- import DlSmartSearchInput from './DlSmartSearchInput.vue'
101
- import DlJsonEditor from './DlJsonEditor.vue'
102
- import { DlDialogBox, DlDialogBoxHeader } from '../DlDialogBox'
103
- import DlTypography from '../DlTypography.vue'
104
- import DlTextInput from '../DlTextInput.vue'
105
- import { DlButton } from '../DlButton'
106
- import { useSuggestions, Schema, Alias } from '../../hooks/use-suggestions'
100
+ import DlSmartSearchInput from './components/DlSmartSearchInput.vue'
101
+ import { DlJsonEditor } from '../../DlJsonEditor'
102
+ import { DlDialogBox, DlDialogBoxHeader } from '../../DlDialogBox'
103
+ import { DlInput } from '../../DlInput'
104
+ import { DlTypography } from '../../../essential'
105
+ import { DlButton } from '../../../basic'
106
+ import {
107
+ useSuggestions,
108
+ Schema,
109
+ Alias
110
+ } from '../../../../hooks/use-suggestions'
107
111
  import { Filter, Query, ColorSchema, SearchStatus } from './types'
108
- import { createColorSchema } from './highlightSyntax'
112
+ import { createColorSchema } from './utils/highlightSyntax'
109
113
  import { v4 } from 'uuid'
110
114
 
111
115
  export default defineComponent({
@@ -116,7 +120,7 @@ export default defineComponent({
116
120
  DlJsonEditor,
117
121
  DlButton,
118
122
  DlTypography,
119
- DlTextInput
123
+ DlInput
120
124
  },
121
125
  props: {
122
126
  status: {
@@ -118,19 +118,23 @@
118
118
  </template>
119
119
  <script lang="ts">
120
120
  import { defineComponent, ref, PropType } from 'vue-demi'
121
- import DlIcon from '../DlIcon.vue'
122
- import { DlButton } from '../DlButton'
123
- import { DlDatePicker } from '../DlDatePicker'
124
- import { DlMenu } from '../DlMenu'
125
- import { isEllipsisActive } from '../../utils/is-ellipsis-active'
126
- import { useSizeObserver } from '../../hooks/use-size-observer'
127
- import { SearchStatus, SyntaxColorSchema } from './types'
121
+ import { DlButton } from '../../../../basic'
122
+ import { DlDatePicker } from '../../../DlDateTime'
123
+ import { DlMenu, DlIcon } from '../../../../essential'
124
+ import { isEllipsisActive } from '../../../../../utils/is-ellipsis-active'
125
+ import { useSizeObserver } from '../../../../../hooks/use-size-observer'
126
+ import { SearchStatus, SyntaxColorSchema } from '../types'
128
127
  import { debounce } from 'lodash'
129
- import { isEligibleToChange, setCaret, updateEditor } from './highlightSyntax'
130
- import DlTooltip from '../DlTooltip.vue'
128
+ import { DlTooltip } from '../../../../essential'
131
129
  import DlSuggestionsDropdown from './DlSuggestionsDropdown.vue'
132
- import { DateInterval } from '../DlDatePicker/types'
133
- import { isEndingWithDateIntervalPattern, replaceDateInterval } from './utils'
130
+ import { DateInterval } from '../../../DlDateTime/types'
131
+ import {
132
+ isEndingWithDateIntervalPattern,
133
+ replaceDateInterval,
134
+ isEligibleToChange,
135
+ setCaret,
136
+ updateEditor
137
+ } from '../utils'
134
138
 
135
139
  export default defineComponent({
136
140
  components: {
@@ -26,9 +26,8 @@
26
26
  </template>
27
27
  <script lang="ts">
28
28
  import { defineComponent, PropType } from 'vue-demi'
29
- import { DlMenu } from '../DlMenu'
30
- import DlList from '../DlList.vue'
31
- import { DlListItem } from '../DlListItem'
29
+ import { DlMenu, DlList } from '../../../../essential'
30
+ import { DlListItem } from '../../../../basic'
32
31
 
33
32
  export default defineComponent({
34
33
  components: {
@@ -0,0 +1,3 @@
1
+ import DlSmartSearch from './DlSmartSearch.vue'
2
+
3
+ export { DlSmartSearch }
@@ -1,7 +1,5 @@
1
- import { operators } from '../../hooks/use-suggestions'
2
- import { ColorSchema } from './types'
3
- import { Alias } from '../../hooks/use-suggestions'
4
- import { SyntaxColorSchema } from './types'
1
+ import { operators, Alias } from '../../../../../hooks/use-suggestions'
2
+ import { ColorSchema, SyntaxColorSchema } from '../types'
5
3
 
6
4
  let editor = document.getElementById('editor')
7
5
  let styleModel: SyntaxColorSchema
@@ -1,5 +1,7 @@
1
- import { dateIntervalPattern } from '../../hooks/use-suggestions'
2
- import { DateInterval } from '../DlDatePicker/types'
1
+ export * from './highlightSyntax'
2
+
3
+ import { dateIntervalPattern } from '../../../../../hooks/use-suggestions'
4
+ import { DateInterval } from '../../../DlDateTime/types'
3
5
 
4
6
  export const isEndOfString = (str: string, pattern: RegExp): boolean => {
5
7
  const trimmed = str.trim()
@@ -0,0 +1,2 @@
1
+ export * from './DlSearch'
2
+ export * from './DlSmartSearch'
@@ -0,0 +1,2 @@
1
+ export * from './DlSearch/types'
2
+ export * from './DlSmartSearch/types'
@@ -162,7 +162,7 @@
162
162
  <slot name="before-options" />
163
163
  </dl-item-section>
164
164
  </dl-list-item>
165
- <select-option
165
+ <dl-select-option
166
166
  v-if="showAllItems"
167
167
  :multiselect="multiselect"
168
168
  :with-wave="withWave"
@@ -180,8 +180,8 @@
180
180
  <template v-else>
181
181
  {{ computedAllItemsLabel }}
182
182
  </template>
183
- </select-option>
184
- <select-option
183
+ </dl-select-option>
184
+ <dl-select-option
185
185
  v-for="option in options"
186
186
  :key="getKeyForOption(option)"
187
187
  clickable
@@ -216,7 +216,7 @@
216
216
  : getOptionLabel(option)
217
217
  }}
218
218
  </template>
219
- </select-option>
219
+ </dl-select-option>
220
220
  <dl-list-item v-if="hasAfterOptions && !noOptions">
221
221
  <dl-item-section>
222
222
  <slot name="after-options" />
@@ -245,25 +245,21 @@
245
245
  </template>
246
246
 
247
247
  <script lang="ts">
248
- import { InputSizes, TInputSizes } from '../../utils/input-sizes'
249
- import DlIcon from '../DlIcon.vue'
250
- import DlInfoErrorMessage from '../DlInfoErrorMessage.vue'
251
- import DlList from '../DlList.vue'
252
- import { DlListItem } from '../DlListItem'
253
- import DlItemSection from '../DlItemSection.vue'
254
- import { DlMenu } from '../DlMenu'
255
- import DlTooltip from '../DlTooltip.vue'
248
+ import { InputSizes, TInputSizes } from '../../../utils/input-sizes'
249
+ import { DlListItem } from '../../basic'
250
+ import { DlTooltip, DlList, DlIcon, DlMenu } from '../../essential'
251
+ import { DlInfoErrorMessage, DlItemSection } from '../../shared'
256
252
  import { defineComponent, isVue2, PropType } from 'vue-demi'
257
253
  import {
258
254
  getLabel,
259
255
  getIconSize,
260
256
  optionsValidator,
261
- SelectOptionType,
257
+ DlSelectOptionType,
262
258
  getLabelOfSelectedOption
263
259
  } from './utils'
264
- import SelectOption from './SelectOption.vue'
260
+ import DlSelectOption from './components/DlSelectOption.vue'
265
261
  import { isEqual } from 'lodash'
266
- import { getColor } from '../../utils'
262
+ import { getColor } from '../../../utils'
267
263
  import { v4 } from 'uuid'
268
264
 
269
265
  export default defineComponent({
@@ -275,7 +271,7 @@ export default defineComponent({
275
271
  DlListItem,
276
272
  DlMenu,
277
273
  DlTooltip,
278
- SelectOption
274
+ DlSelectOption
279
275
  },
280
276
  model: {
281
277
  prop: 'modelValue',
@@ -314,8 +310,8 @@ export default defineComponent({
314
310
  readonly: { type: Boolean, default: false },
315
311
  emitValue: { type: Boolean, default: false }, // We emit the value from the option and compare with it as a modelvalue
316
312
  options: {
317
- type: Array as PropType<SelectOptionType[]>,
318
- default: (): SelectOptionType[] => [],
313
+ type: Array as PropType<DlSelectOptionType[]>,
314
+ default: (): DlSelectOptionType[] => [],
319
315
  validator: optionsValidator
320
316
  },
321
317
  capitalizedOptions: { type: Boolean, default: false },
@@ -75,7 +75,7 @@
75
75
  v-for="(child, index) in children"
76
76
  :key="`${componentId}-${getValue(child)}-${index}`"
77
77
  >
78
- <select-option
78
+ <dl-select-option
79
79
  :multiselect="multiselect"
80
80
  :count="count"
81
81
  clickable
@@ -98,17 +98,16 @@
98
98
 
99
99
  <script lang="ts">
100
100
  import { defineComponent } from 'vue-demi'
101
- import { DlListItem } from '../DlListItem'
102
- import DlItemSection from '../DlItemSection.vue'
103
- import DlCheckbox from '../DlCheckbox.vue'
104
- import DlIcon from '../DlIcon.vue'
101
+ import { DlListItem } from '../../../basic'
102
+ import { DlIcon, DlCheckbox } from '../../../essential'
103
+ import { DlItemSection } from '../../../shared'
105
104
  import { v4 } from 'uuid'
106
105
  import { debounce } from 'lodash'
107
106
 
108
107
  const ValueTypes = [Array, Boolean, String, Number, Object, Function]
109
108
 
110
109
  export default defineComponent({
111
- name: 'SelectOption',
110
+ name: 'DlSelectOption',
112
111
  components: {
113
112
  DlListItem,
114
113
  DlItemSection,
@@ -0,0 +1,4 @@
1
+ import DlSelect from './DlSelect.vue'
2
+ import DlSelectOption from './components/DlSelectOption.vue'
3
+
4
+ export { DlSelect, DlSelectOption }
@@ -1,6 +1,6 @@
1
- import { TInputSizes } from '../../utils/input-sizes'
1
+ import { TInputSizes } from '../../../utils/input-sizes'
2
2
 
3
- export type SelectOptionType = string | number | Record<string, any>
3
+ export type DlSelectOptionType = string | number | Record<string, any>
4
4
 
5
5
  export const getLabel = (option: any) => {
6
6
  if (typeof option === 'object' && 'label' in option) {
@@ -18,7 +18,7 @@ const ICON_SIZES = {
18
18
 
19
19
  export const getLabelOfSelectedOption = (
20
20
  valueToSearch: string,
21
- options: SelectOptionType[]
21
+ options: DlSelectOptionType[]
22
22
  ) => {
23
23
  if (options.length === 0) return ''
24
24
 
@@ -32,7 +32,7 @@ export const getLabelOfSelectedOption = (
32
32
 
33
33
  export const getIconSize = (size: TInputSizes) => ICON_SIZES[size] ?? '14px'
34
34
 
35
- export const optionsValidator = (opts: SelectOptionType[]) => {
35
+ export const optionsValidator = (opts: DlSelectOptionType[]) => {
36
36
  return opts.every((opt: string | any) => {
37
37
  if (typeof opt === 'string' || typeof opt === 'number') {
38
38
  return true
@@ -95,8 +95,9 @@
95
95
  <script lang="ts">
96
96
  import { defineComponent } from 'vue-demi'
97
97
  import { DlSliderBase, DlSliderInput } from './components/'
98
- import { DlButton, DlIcon, DlTooltip } from '..'
99
- import { getColor, between } from '../../utils'
98
+ import { DlButton } from '../../basic'
99
+ import { DlIcon, DlTooltip } from '../../essential'
100
+ import { getColor, between } from '../../../utils'
100
101
  import { v4 } from 'uuid'
101
102
 
102
103
  export default defineComponent({
@@ -49,8 +49,8 @@ import {
49
49
  position,
50
50
  keyCodes,
51
51
  between
52
- } from '../../../utils'
53
- import touchPanDirective from '../../../directives/TouchPan'
52
+ } from '../../../../utils'
53
+ import touchPanDirective from '../../../../directives/TouchPan'
54
54
 
55
55
  export default defineComponent({
56
56
  name: 'DlSliderBase',
@@ -6,9 +6,9 @@ import {
6
6
  Ref
7
7
  } from 'vue-demi'
8
8
 
9
- import { useFormProps, FormProps } from '../../hooks/useForm'
9
+ import { useFormProps, FormProps } from '../../../hooks/useForm'
10
10
 
11
- import { includes, keyCodes, between, position } from '../../utils'
11
+ import { includes, keyCodes, between, position } from '../../../utils'
12
12
 
13
13
  export interface SliderProps extends FormProps {
14
14
  text: string
@@ -55,14 +55,14 @@
55
55
  </template>
56
56
  <script lang="ts">
57
57
  import { defineComponent, PropType } from 'vue-demi'
58
- import DlStepperContainer from './DlStepperContainer.vue'
59
- import DlStepperHeader from '../../components/DlStepper/DlStepperHeader.vue'
60
- import DlStepperFooter from '../../components/DlStepper/DlStepperFooter.vue'
61
- import DlStepperSidebar from '../../components/DlStepper/DlStepperSidebar.vue'
62
- import DlStepperContent from '../../components/DlStepper/DlStepperContent.vue'
63
- import { StepState } from './interfaces'
64
- import { Step } from './Step'
65
- import { getColor } from '../../utils'
58
+ import DlStepperContainer from './components/DlStepperContainer.vue'
59
+ import DlStepperHeader from './components/DlStepperHeader.vue'
60
+ import DlStepperFooter from './components/DlStepperFooter.vue'
61
+ import DlStepperSidebar from './components/DlStepperSidebar.vue'
62
+ import DlStepperContent from './components/DlStepperContent.vue'
63
+ import { StepState } from './models/interfaces'
64
+ import { Step } from './models'
65
+ import { getColor } from '../../../utils'
66
66
  import { v4 } from 'uuid'
67
67
 
68
68
  export default defineComponent({
@@ -35,8 +35,8 @@
35
35
 
36
36
  <script lang="ts">
37
37
  import { defineComponent } from 'vue-demi'
38
- import DlChip from '../DlChip'
39
- import DlTypography from '../DlTypography.vue'
38
+ import { DlChip } from '../../../basic'
39
+ import { DlTypography } from '../../../essential'
40
40
 
41
41
  export default defineComponent({
42
42
  name: 'DlStepperContent',
@@ -30,8 +30,8 @@
30
30
  </template>
31
31
  <script lang="ts">
32
32
  import { defineComponent } from 'vue-demi'
33
- import { DlButton } from '../'
34
- import { ButtonState, ButtonPart, ButtonColors } from '../DlButton/DlButton.vue'
33
+ import { DlButton } from '../../../basic'
34
+ import { ButtonState, ButtonPart, ButtonColors } from '../../../basic/types'
35
35
 
36
36
  export default defineComponent({
37
37
  name: 'DlStepperFooter',
@@ -19,7 +19,8 @@
19
19
  </template>
20
20
  <script lang="ts">
21
21
  import { defineComponent } from 'vue-demi'
22
- import { DlTypography, DlButton } from '../'
22
+ import { DlButton } from '../../../basic'
23
+ import { DlTypography } from '../../../essential'
23
24
 
24
25
  export default defineComponent({
25
26
  name: 'DlStepperHeader',
@@ -33,10 +33,10 @@
33
33
 
34
34
  <script lang="ts">
35
35
  import { defineComponent, PropType } from 'vue-demi'
36
- import { DlListItem } from '../DlListItem'
37
- import DlItemSection from '../DlItemSection.vue'
38
- import DlList from '../DlList.vue'
39
- import { Step } from './Step'
36
+ import { DlListItem } from '../../../basic'
37
+ import { DlItemSection } from '../../../shared'
38
+ import { DlList } from '../../../essential'
39
+ import { Step } from '../models'
40
40
 
41
41
  export default defineComponent({
42
42
  name: 'DlStepperSidebar',
@@ -0,0 +1,4 @@
1
+ import DlStepper from './DlStepper.vue'
2
+ import { Stepper, Step } from './models'
3
+
4
+ export { DlStepper, DlStepper as Stepper, Step as Step }
@@ -0,0 +1,3 @@
1
+ export * from './Step'
2
+ export * from './Stepper'
3
+ export * from './interfaces'
@@ -0,0 +1,2 @@
1
+ import { StepState } from './models'
2
+ export type { StepState }
@@ -6,7 +6,7 @@
6
6
  <script lang="ts">
7
7
  import { v4 } from 'uuid'
8
8
  import { defineComponent, VNode, isVue2 } from 'vue-demi'
9
- import { textSlot } from '../../utils/render'
9
+ import { textSlot } from '../../../utils/render'
10
10
 
11
11
  export default defineComponent({
12
12
  name: 'DlTabPanels',