mediacube-ui-v2 0.0.7 → 0.0.9

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 (342) hide show
  1. package/dist/App.vue.js +54 -0
  2. package/dist/assets/tokens/json/animations.json +6 -0
  3. package/dist/assets/tokens/json/border-radius.json +24 -0
  4. package/dist/assets/tokens/json/box-shadows.json +24 -0
  5. package/dist/assets/tokens/json/colors.json +71 -0
  6. package/dist/assets/tokens/json/durations.json +10 -0
  7. package/dist/assets/tokens/json/easings.json +3 -0
  8. package/dist/assets/tokens/json/font-families.json +4 -0
  9. package/dist/assets/tokens/json/font-sizes.json +18 -0
  10. package/dist/assets/tokens/json/font-weights.json +12 -0
  11. package/dist/assets/tokens/json/gradients.json +13 -0
  12. package/dist/assets/tokens/json/index.js +18 -0
  13. package/dist/assets/tokens/json/letter-spacings.json +4 -0
  14. package/dist/assets/tokens/json/line-heights.json +18 -0
  15. package/dist/assets/tokens/json/media-queries.json +26 -0
  16. package/dist/assets/tokens/json/opacities.json +5 -0
  17. package/dist/assets/tokens/json/sizes.json +42 -0
  18. package/dist/assets/tokens/json/spacings.json +34 -0
  19. package/dist/assets/tokens/json/z-indexes.json +12 -0
  20. package/dist/components/elements/McAvatar/McAvatar.vue.js +412 -0
  21. package/dist/components/elements/McBadge/McBadge.vue.js +188 -0
  22. package/dist/components/elements/McBottomLoader/McBottomLoader.vue.js +83 -0
  23. package/dist/components/elements/McButton/McButton.vue.js +1037 -0
  24. package/dist/components/elements/McChip/McChip.vue.js +326 -0
  25. package/dist/components/elements/McCropper/McCropper.vue.js +98 -0
  26. package/dist/components/elements/McDatepicker/McDatepicker.vue.js +1255 -0
  27. package/dist/components/elements/McDraggable/McDraggable.vue.js +280 -0
  28. package/dist/components/elements/McFieldCheckbox/McFieldCheckbox.vue.js +542 -0
  29. package/dist/components/elements/McFieldRadio/McFieldRadio.vue.js +489 -0
  30. package/dist/components/elements/McFieldRadioGroup/McFieldRadioGroup.vue.js +471 -0
  31. package/dist/components/elements/McFieldRange/McFieldRange.vue.js +547 -0
  32. package/dist/components/elements/McFieldSelect/McFieldSelect.vue.js +1440 -0
  33. package/dist/components/elements/McFieldText/McFieldText.vue.js +1404 -0
  34. package/dist/components/elements/McFieldToggle/McFieldToggle.vue.js +408 -0
  35. package/dist/components/elements/McInfinityLoadingTrigger/McInfinityLoadingTrigger.vue.js +192 -0
  36. package/dist/components/elements/McNodata/McNoData.vue.js +319 -0
  37. package/dist/components/elements/McNotification/McNotification.vue.js +367 -0
  38. package/dist/components/elements/McProgress/McProgress.vue.js +361 -0
  39. package/dist/components/elements/McSeparator/McSeparator.vue.js +325 -0
  40. package/dist/components/elements/McSlideUpDown/McSlideUpDown.vue.js +271 -0
  41. package/dist/components/elements/McStack/McStack.vue.js +180 -0
  42. package/dist/components/elements/McSvgIcon/McSvgIcon.vue.js +289 -0
  43. package/dist/components/elements/McTitle/McTitle.vue.js +468 -0
  44. package/dist/components/elements/McTooltip/McTooltip.vue.js +246 -0
  45. package/dist/components/index.js +73 -0
  46. package/dist/components/patterns/McAccordion/McAccordion.vue.js +120 -0
  47. package/dist/components/patterns/McCell/McCell.vue.js +197 -0
  48. package/dist/components/patterns/McCollapse/McCollapse.vue.js +315 -0
  49. package/dist/components/patterns/McDropdown/McDropdown.vue.js +366 -0
  50. package/dist/components/patterns/McDropdown/McDropdownPanel.vue.js +83 -0
  51. package/dist/components/patterns/McFilter/McFilter.vue.js +1068 -0
  52. package/dist/components/patterns/McFilter/McFilterChip/McFilterChip.vue.js +211 -0
  53. package/dist/components/patterns/McFilter/McFilterTags/McFilterTags.vue.js +552 -0
  54. package/dist/components/patterns/McFilter/McFilterTypeDate/McFilterTypeDate.vue.js +188 -0
  55. package/dist/components/patterns/McFilter/McFilterTypeRange/McFilterTypeRange.vue.js +238 -0
  56. package/dist/components/patterns/McFilter/McFilterTypeRelation/McFilterTypeRelation.vue.js +359 -0
  57. package/dist/components/patterns/McFilter/McFilterTypeText/McFilterTypeText.vue.js +171 -0
  58. package/dist/components/patterns/McGridCol/McGridCol.vue.js +246 -0
  59. package/dist/components/patterns/McGridRow/McGridRow.vue.js +292 -0
  60. package/dist/components/patterns/McOverlay/McOverlay.vue.js +107 -0
  61. package/dist/components/patterns/McPreview/McPreview.vue.js +118 -0
  62. package/dist/components/patterns/McSideBar/McSideBar.vue.js +740 -0
  63. package/dist/components/patterns/McSideBar/McSideBarBottom/McSideBarBottom.vue.js +204 -0
  64. package/dist/components/patterns/McSideBar/McSideBarButton/McSideBarButton.vue.js +510 -0
  65. package/dist/components/patterns/McSideBar/McSideBarCenter/McSideBarCenter.vue.js +413 -0
  66. package/dist/components/patterns/McSideBar/McSideBarTop/McSideBarTop.vue.js +419 -0
  67. package/dist/components/patterns/McTab/McTab.vue.js +518 -0
  68. package/dist/components/patterns/McTabs/McTabs.vue.js +427 -0
  69. package/dist/components/patterns/McWrapScroll/McWrapScroll.vue.js +422 -0
  70. package/dist/components/templates/McDrawer/McDrawer.vue.js +304 -0
  71. package/dist/components/templates/McDrawer/McDrawerContainer.vue.js +133 -0
  72. package/dist/components/templates/McDrawer/McDrawerContentTemplate/McDrawerContentTemplate.vue.js +134 -0
  73. package/dist/components/templates/McModal/McModal.vue.js +664 -0
  74. package/dist/components/templates/McModal/McModalContainer.vue.js +119 -0
  75. package/dist/components/templates/McTable/McTable/McTable.vue.js +862 -0
  76. package/dist/components/templates/McTable/McTableCard/McTableCard.vue.js +339 -0
  77. package/dist/components/templates/McTable/McTableCard/McTableCardHeader/McTableCardHeader.vue.js +119 -0
  78. package/dist/components/templates/McTable/McTableSkeletonLoading/McTableSkeletonLoading.vue.js +118 -0
  79. package/dist/components/templates/McTable/McTableSort/McTableSort.vue.js +136 -0
  80. package/dist/components/templates/McTopBar/McTopBar.vue.js +309 -0
  81. package/dist/components/templates/McVirtualScroll/McVirtualScroll.vue.js +239 -0
  82. package/dist/composables/index.js +8 -0
  83. package/dist/composables/useDrawer.js +72 -0
  84. package/dist/composables/useEncodeDecode.js +25 -0
  85. package/dist/composables/useFieldErrors.js +20 -0
  86. package/dist/composables/useHelper.js +79 -0
  87. package/dist/composables/useModal.js +71 -0
  88. package/dist/composables/useRandomNumber.js +10 -0
  89. package/dist/composables/useTooltip.js +154 -0
  90. package/dist/consts/table.js +6 -0
  91. package/dist/enums/Cell.js +6 -0
  92. package/dist/enums/Chip.js +11 -0
  93. package/dist/enums/Datepicker.js +42 -0
  94. package/dist/enums/Drawer.js +5 -0
  95. package/dist/enums/Dropdown.js +12 -0
  96. package/dist/enums/Filter.js +14 -0
  97. package/dist/enums/Grid.js +24 -0
  98. package/dist/enums/Input.js +20 -0
  99. package/dist/enums/Modal.js +5 -0
  100. package/dist/enums/Preview.js +6 -0
  101. package/dist/enums/Radio.js +5 -0
  102. package/dist/enums/RadioGroup.js +5 -0
  103. package/dist/enums/Select.js +11 -0
  104. package/dist/enums/Sidebar.js +5 -0
  105. package/dist/enums/Tab.js +6 -0
  106. package/dist/enums/Title.js +21 -0
  107. package/dist/enums/Tooltip.js +15 -0
  108. package/dist/enums/index.js +22 -0
  109. package/dist/enums/ui/Alignment.js +6 -0
  110. package/dist/enums/ui/Button.js +24 -0
  111. package/dist/enums/ui/Directions.js +5 -0
  112. package/dist/enums/ui/Weights.js +7 -0
  113. package/dist/index.cjs +3 -3
  114. package/dist/index.js +13 -10584
  115. package/dist/main.js +6 -0
  116. package/dist/mocks/authUser.js +162 -0
  117. package/dist/mocks/categories.js +107 -0
  118. package/dist/mocks/filterMocks.js +128 -0
  119. package/dist/mocks/icons.json +1 -0
  120. package/dist/mocks/menuLangs.js +19 -0
  121. package/dist/mocks/sidebar.js +125 -0
  122. package/dist/mocks/tableData.js +8180 -0
  123. package/dist/style.css +1 -1
  124. package/dist/types/App.vue.d.ts +2 -0
  125. package/dist/types/IButton.js +1 -0
  126. package/dist/types/ICell.js +1 -0
  127. package/dist/types/IChip.js +1 -0
  128. package/dist/types/ICollapse.js +1 -0
  129. package/dist/types/IDatepicker.js +1 -0
  130. package/dist/types/IDirections.js +1 -0
  131. package/dist/types/IDrawer.js +1 -0
  132. package/dist/types/IDropdown.js +1 -0
  133. package/dist/types/IFilter.js +1 -0
  134. package/dist/types/IGrid.js +1 -0
  135. package/dist/types/IInput.js +1 -0
  136. package/dist/types/IModal.js +1 -0
  137. package/dist/types/IPreview.js +1 -0
  138. package/dist/types/IRadio.js +1 -0
  139. package/dist/types/IRadioGroup.js +1 -0
  140. package/dist/types/IRoute.js +1 -0
  141. package/dist/types/ISelect.js +1 -0
  142. package/dist/types/ISideBar.js +1 -0
  143. package/dist/types/ITable.js +1 -0
  144. package/dist/types/ITabs.js +1 -0
  145. package/dist/types/ITitle.js +1 -0
  146. package/dist/types/ITooltip.js +1 -0
  147. package/dist/types/assets/tokens/json/index.d.ts +18 -0
  148. package/dist/{components → types/components}/elements/McAvatar/McAvatar.vue.d.ts +5 -5
  149. package/dist/{components → types/components}/elements/McBadge/McBadge.vue.d.ts +3 -3
  150. package/dist/types/components/elements/McBottomLoader/McBottomLoader.vue.d.ts +14 -0
  151. package/dist/{components → types/components}/elements/McButton/McButton.vue.d.ts +13 -12
  152. package/dist/{components → types/components}/elements/McChip/McChip.vue.d.ts +7 -6
  153. package/dist/types/components/elements/McCropper/McCropper.vue.d.ts +2 -0
  154. package/dist/{components → types/components}/elements/McDatepicker/McDatepicker.vue.d.ts +2 -1
  155. package/dist/{components → types/components}/elements/McDraggable/McDraggable.vue.d.ts +4 -4
  156. package/dist/{components → types/components}/elements/McFieldCheckbox/McFieldCheckbox.vue.d.ts +1 -1
  157. package/dist/{components → types/components}/elements/McFieldRadio/McFieldRadio.vue.d.ts +8 -8
  158. package/dist/{components → types/components}/elements/McFieldRadioGroup/McFieldRadioGroup.vue.d.ts +1 -1
  159. package/dist/{components → types/components}/elements/McFieldRange/McFieldRange.vue.d.ts +6 -6
  160. package/dist/{components → types/components}/elements/McFieldSelect/McFieldSelect.vue.d.ts +12 -11
  161. package/dist/{components → types/components}/elements/McFieldText/McFieldText.vue.d.ts +9 -9
  162. package/dist/{components → types/components}/elements/McFieldToggle/McFieldToggle.vue.d.ts +6 -6
  163. package/dist/{components → types/components}/elements/McInfinityLoadingTrigger/McInfinityLoadingTrigger.vue.d.ts +4 -4
  164. package/dist/types/components/elements/McNodata/McNoData.vue.d.ts +110 -0
  165. package/dist/types/components/elements/McNotification/McNotification.vue.d.ts +124 -0
  166. package/dist/{components → types/components}/elements/McProgress/McProgress.vue.d.ts +5 -5
  167. package/dist/{components → types/components}/elements/McSeparator/McSeparator.vue.d.ts +4 -4
  168. package/dist/{components → types/components}/elements/McSlideUpDown/McSlideUpDown.vue.d.ts +5 -5
  169. package/dist/{components → types/components}/elements/McStack/McStack.vue.d.ts +4 -4
  170. package/dist/{components → types/components}/elements/McSvgIcon/McSvgIcon.vue.d.ts +9 -9
  171. package/dist/{components → types/components}/elements/McTitle/McTitle.vue.d.ts +7 -7
  172. package/dist/{components → types/components}/elements/McTooltip/McTooltip.vue.d.ts +6 -6
  173. package/dist/types/components/index.d.ts +70 -0
  174. package/dist/{components → types/components}/patterns/McAccordion/McAccordion.vue.d.ts +4 -4
  175. package/dist/{components → types/components}/patterns/McCell/McCell.vue.d.ts +6 -6
  176. package/dist/{components → types/components}/patterns/McCollapse/McCollapse.vue.d.ts +6 -6
  177. package/dist/{components → types/components}/patterns/McDropdown/McDropdown.vue.d.ts +7 -7
  178. package/dist/types/components/patterns/McDropdown/McDropdownPanel.vue.d.ts +22 -0
  179. package/dist/{components → types/components}/patterns/McFilter/McFilter.vue.d.ts +6 -6
  180. package/dist/{components → types/components}/patterns/McFilter/McFilterChip/McFilterChip.vue.d.ts +6 -6
  181. package/dist/{components → types/components}/patterns/McFilter/McFilterTags/McFilterTags.vue.d.ts +6 -6
  182. package/dist/{components → types/components}/patterns/McFilter/McFilterTypeDate/McFilterTypeDate.vue.d.ts +6 -6
  183. package/dist/{components → types/components}/patterns/McFilter/McFilterTypeRange/McFilterTypeRange.vue.d.ts +6 -6
  184. package/dist/{components → types/components}/patterns/McFilter/McFilterTypeRelation/McFilterTypeRelation.vue.d.ts +6 -6
  185. package/dist/{components → types/components}/patterns/McFilter/McFilterTypeText/McFilterTypeText.vue.d.ts +6 -6
  186. package/dist/{components → types/components}/patterns/McGridCol/McGridCol.vue.d.ts +4 -4
  187. package/dist/{components → types/components}/patterns/McGridRow/McGridRow.vue.d.ts +5 -5
  188. package/dist/{components → types/components}/patterns/McOverlay/McOverlay.vue.d.ts +4 -4
  189. package/dist/{components → types/components}/patterns/McPreview/McPreview.vue.d.ts +4 -4
  190. package/dist/types/components/patterns/McSideBar/McSideBar.vue.d.ts +292 -0
  191. package/dist/{components → types/components}/patterns/McSideBar/McSideBarBottom/McSideBarBottom.vue.d.ts +5 -5
  192. package/dist/{components → types/components}/patterns/McSideBar/McSideBarButton/McSideBarButton.vue.d.ts +6 -6
  193. package/dist/{components → types/components}/patterns/McSideBar/McSideBarCenter/McSideBarCenter.vue.d.ts +6 -6
  194. package/dist/types/components/patterns/McSideBar/McSideBarTop/McSideBarTop.vue.d.ts +123 -0
  195. package/dist/types/components/patterns/McTab/McTab.vue.d.ts +224 -0
  196. package/dist/{components → types/components}/patterns/McTabs/McTabs.vue.d.ts +8 -7
  197. package/dist/{components → types/components}/patterns/McWrapScroll/McWrapScroll.vue.d.ts +7 -7
  198. package/dist/types/components/templates/McDrawer/McDrawer.vue.d.ts +104 -0
  199. package/dist/{components → types/components}/templates/McDrawer/McDrawerContainer.vue.d.ts +5 -5
  200. package/dist/{components → types/components}/templates/McDrawer/McDrawerContentTemplate/McDrawerContentTemplate.vue.d.ts +4 -4
  201. package/dist/{components → types/components}/templates/McModal/McModal.vue.d.ts +7 -7
  202. package/dist/{components → types/components}/templates/McModal/McModalContainer.vue.d.ts +5 -5
  203. package/dist/types/components/templates/McTable/McTable/McTable.vue.d.ts +295 -0
  204. package/dist/{components → types/components}/templates/McTable/McTableCard/McTableCard.vue.d.ts +6 -6
  205. package/dist/{components → types/components}/templates/McTable/McTableCard/McTableCardHeader/McTableCardHeader.vue.d.ts +4 -4
  206. package/dist/types/components/templates/McTable/McTableSkeletonLoading/McTableSkeletonLoading.vue.d.ts +18 -0
  207. package/dist/{components → types/components}/templates/McTable/McTableSort/McTableSort.vue.d.ts +7 -7
  208. package/dist/{components → types/components}/templates/McTopBar/McTopBar.vue.d.ts +4 -4
  209. package/dist/{components → types/components}/templates/McVirtualScroll/McVirtualScroll.vue.d.ts +4 -4
  210. package/dist/{composables → types/composables}/index.d.ts +1 -1
  211. package/dist/{composables → types/composables}/useDrawer.d.ts +1 -1
  212. package/dist/types/composables/useFieldErrors.d.ts +5 -0
  213. package/dist/{composables → types/composables}/useTooltip.d.ts +1 -1
  214. package/dist/types/index.d.ts +9 -36
  215. package/dist/types/index.js +38 -0
  216. package/dist/types/main.d.ts +2 -0
  217. package/dist/{mocks → types/mocks}/filterMocks.d.ts +1 -1
  218. package/dist/{mocks → types/mocks}/sidebar.d.ts +1 -1
  219. package/dist/{mocks → types/mocks}/tableData.d.ts +1 -1
  220. package/dist/types/styles/Alignment.js +1 -0
  221. package/dist/types/styles/AvatarSizes.js +3 -0
  222. package/dist/types/styles/Colors.js +3 -0
  223. package/dist/types/styles/Durations.js +3 -0
  224. package/dist/types/styles/FontSizes.js +3 -0
  225. package/dist/types/styles/FontWeights.js +3 -0
  226. package/dist/types/styles/Grid.js +1 -0
  227. package/dist/types/styles/Icons.js +2 -0
  228. package/dist/types/styles/LineHeights.js +3 -0
  229. package/dist/types/styles/MediaQueries.js +3 -0
  230. package/dist/types/styles/Radiuses.js +3 -0
  231. package/dist/types/styles/Sizes.js +3 -0
  232. package/dist/types/styles/Spaces.js +3 -0
  233. package/dist/types/styles/Weights.js +1 -0
  234. package/dist/types/{IButton.d.ts → types/IButton.d.ts} +5 -5
  235. package/dist/types/{ICell.d.ts → types/ICell.d.ts} +1 -1
  236. package/dist/types/{IChip.d.ts → types/IChip.d.ts} +2 -2
  237. package/dist/types/{IDatepicker.d.ts → types/IDatepicker.d.ts} +1 -1
  238. package/dist/types/{IDirections.d.ts → types/IDirections.d.ts} +1 -1
  239. package/dist/types/{IDrawer.d.ts → types/IDrawer.d.ts} +2 -2
  240. package/dist/types/{IDropdown.d.ts → types/IDropdown.d.ts} +1 -1
  241. package/dist/types/{IFilter.d.ts → types/IFilter.d.ts} +1 -1
  242. package/dist/types/{IInput.d.ts → types/IInput.d.ts} +1 -1
  243. package/dist/types/{IModal.d.ts → types/IModal.d.ts} +2 -2
  244. package/dist/types/{IPreview.d.ts → types/IPreview.d.ts} +1 -1
  245. package/dist/types/{IRadio.d.ts → types/IRadio.d.ts} +1 -1
  246. package/dist/types/{IRadioGroup.d.ts → types/IRadioGroup.d.ts} +1 -1
  247. package/dist/types/{ISelect.d.ts → types/ISelect.d.ts} +1 -1
  248. package/dist/types/{ISideBar.d.ts → types/ISideBar.d.ts} +5 -5
  249. package/dist/types/{ITable.d.ts → types/ITable.d.ts} +2 -2
  250. package/dist/types/{ITabs.d.ts → types/ITabs.d.ts} +4 -4
  251. package/dist/types/{ITitle.d.ts → types/ITitle.d.ts} +1 -1
  252. package/dist/types/{ITooltip.d.ts → types/ITooltip.d.ts} +1 -1
  253. package/dist/types/types/index.d.ts +36 -0
  254. package/dist/types/{styles → types/styles}/Alignment.d.ts +1 -1
  255. package/dist/types/{styles → types/styles}/Grid.d.ts +1 -1
  256. package/dist/types/{styles → types/styles}/Weights.d.ts +1 -1
  257. package/dist/{utils → types/utils}/dayjs.d.ts +2 -1
  258. package/dist/{utils → types/utils}/mcGridColAdaptiveProps.d.ts +1 -1
  259. package/dist/{utils → types/utils}/mcTitleAdaptiveProps.d.ts +1 -1
  260. package/dist/utils/dayjs.js +18 -0
  261. package/dist/utils/mcGridColAdaptiveProps.js +10 -0
  262. package/dist/utils/mcTitleAdaptiveProps.js +10 -0
  263. package/package.json +7 -3
  264. package/dist/App.vue.d.ts +0 -2
  265. package/dist/assets/tokens/json/animations.json.d.ts +0 -8
  266. package/dist/assets/tokens/json/border-radius.json.d.ts +0 -26
  267. package/dist/assets/tokens/json/box-shadows.json.d.ts +0 -26
  268. package/dist/assets/tokens/json/colors.json.d.ts +0 -73
  269. package/dist/assets/tokens/json/durations.json.d.ts +0 -12
  270. package/dist/assets/tokens/json/easings.json.d.ts +0 -5
  271. package/dist/assets/tokens/json/font-families.json.d.ts +0 -6
  272. package/dist/assets/tokens/json/font-sizes.json.d.ts +0 -20
  273. package/dist/assets/tokens/json/font-weights.json.d.ts +0 -14
  274. package/dist/assets/tokens/json/gradients.json.d.ts +0 -15
  275. package/dist/assets/tokens/json/index.d.ts +0 -18
  276. package/dist/assets/tokens/json/letter-spacings.json.d.ts +0 -6
  277. package/dist/assets/tokens/json/line-heights.json.d.ts +0 -20
  278. package/dist/assets/tokens/json/media-queries.json.d.ts +0 -28
  279. package/dist/assets/tokens/json/opacities.json.d.ts +0 -7
  280. package/dist/assets/tokens/json/sizes.json.d.ts +0 -44
  281. package/dist/assets/tokens/json/spacings.json.d.ts +0 -36
  282. package/dist/assets/tokens/json/z-indexes.json.d.ts +0 -14
  283. package/dist/components/elements/McBottomLoader/McBottomLoader.vue.d.ts +0 -14
  284. package/dist/components/elements/McCropper/McCropper.vue.d.ts +0 -28
  285. package/dist/components/elements/McNodata/McNoData.vue.d.ts +0 -110
  286. package/dist/components/elements/McNotification/McNotification.vue.d.ts +0 -124
  287. package/dist/components/index.d.ts +0 -62
  288. package/dist/components/patterns/McDropdown/McDropdownPanel.vue.d.ts +0 -22
  289. package/dist/components/patterns/McSideBar/McSideBar.vue.d.ts +0 -292
  290. package/dist/components/patterns/McSideBar/McSideBarTop/McSideBarTop.vue.d.ts +0 -123
  291. package/dist/components/patterns/McTab/McTab.vue.d.ts +0 -224
  292. package/dist/components/templates/McDrawer/McDrawer.vue.d.ts +0 -104
  293. package/dist/components/templates/McTable/McTable/McTable.vue.d.ts +0 -295
  294. package/dist/components/templates/McTable/McTableSkeletonLoading/McTableSkeletonLoading.vue.d.ts +0 -18
  295. package/dist/composables/useFieldErrors.d.ts +0 -5
  296. package/dist/index.d.ts +0 -9
  297. package/dist/main.d.ts +0 -0
  298. package/dist/mocks/icons.json.d.ts +0 -3
  299. /package/dist/{composables → types/composables}/useEncodeDecode.d.ts +0 -0
  300. /package/dist/{composables → types/composables}/useHelper.d.ts +0 -0
  301. /package/dist/{composables → types/composables}/useModal.d.ts +0 -0
  302. /package/dist/{composables → types/composables}/useRandomNumber.d.ts +0 -0
  303. /package/dist/{consts → types/consts}/table.d.ts +0 -0
  304. /package/dist/{enums → types/enums}/Cell.d.ts +0 -0
  305. /package/dist/{enums → types/enums}/Chip.d.ts +0 -0
  306. /package/dist/{enums → types/enums}/Datepicker.d.ts +0 -0
  307. /package/dist/{enums → types/enums}/Drawer.d.ts +0 -0
  308. /package/dist/{enums → types/enums}/Dropdown.d.ts +0 -0
  309. /package/dist/{enums → types/enums}/Filter.d.ts +0 -0
  310. /package/dist/{enums → types/enums}/Grid.d.ts +0 -0
  311. /package/dist/{enums → types/enums}/Input.d.ts +0 -0
  312. /package/dist/{enums → types/enums}/Modal.d.ts +0 -0
  313. /package/dist/{enums → types/enums}/Preview.d.ts +0 -0
  314. /package/dist/{enums → types/enums}/Radio.d.ts +0 -0
  315. /package/dist/{enums → types/enums}/RadioGroup.d.ts +0 -0
  316. /package/dist/{enums → types/enums}/Select.d.ts +0 -0
  317. /package/dist/{enums → types/enums}/Sidebar.d.ts +0 -0
  318. /package/dist/{enums → types/enums}/Tab.d.ts +0 -0
  319. /package/dist/{enums → types/enums}/Title.d.ts +0 -0
  320. /package/dist/{enums → types/enums}/Tooltip.d.ts +0 -0
  321. /package/dist/{enums → types/enums}/index.d.ts +0 -0
  322. /package/dist/{enums → types/enums}/ui/Alignment.d.ts +0 -0
  323. /package/dist/{enums → types/enums}/ui/Button.d.ts +0 -0
  324. /package/dist/{enums → types/enums}/ui/Directions.d.ts +0 -0
  325. /package/dist/{enums → types/enums}/ui/Weights.d.ts +0 -0
  326. /package/dist/{mocks → types/mocks}/authUser.d.ts +0 -0
  327. /package/dist/{mocks → types/mocks}/categories.d.ts +0 -0
  328. /package/dist/{mocks → types/mocks}/menuLangs.d.ts +0 -0
  329. /package/dist/types/{ICollapse.d.ts → types/ICollapse.d.ts} +0 -0
  330. /package/dist/types/{IGrid.d.ts → types/IGrid.d.ts} +0 -0
  331. /package/dist/types/{IRoute.d.ts → types/IRoute.d.ts} +0 -0
  332. /package/dist/types/{styles → types/styles}/AvatarSizes.d.ts +0 -0
  333. /package/dist/types/{styles → types/styles}/Colors.d.ts +0 -0
  334. /package/dist/types/{styles → types/styles}/Durations.d.ts +0 -0
  335. /package/dist/types/{styles → types/styles}/FontSizes.d.ts +0 -0
  336. /package/dist/types/{styles → types/styles}/FontWeights.d.ts +0 -0
  337. /package/dist/types/{styles → types/styles}/Icons.d.ts +0 -0
  338. /package/dist/types/{styles → types/styles}/LineHeights.d.ts +0 -0
  339. /package/dist/types/{styles → types/styles}/MediaQueries.d.ts +0 -0
  340. /package/dist/types/{styles → types/styles}/Radiuses.d.ts +0 -0
  341. /package/dist/types/{styles → types/styles}/Sizes.d.ts +0 -0
  342. /package/dist/types/{styles → types/styles}/Spaces.d.ts +0 -0
@@ -0,0 +1,740 @@
1
+ import { computed, onBeforeUnmount, onMounted, provide, reactive, ref, watch } from 'vue';
2
+ import McSideBarTop from '@/components/patterns/McSideBar/McSideBarTop/McSideBarTop.vue';
3
+ import McSideBarCenter from '@/components/patterns/McSideBar/McSideBarCenter/McSideBarCenter.vue';
4
+ import McSideBarBottom from '@/components/patterns/McSideBar/McSideBarBottom/McSideBarBottom.vue';
5
+ import { defaultThemes } from '@/mocks/sidebar';
6
+ import { SidebarTheme, TitleVariations } from '@/enums';
7
+ const { defineProps, defineSlots, defineEmits, defineExpose, defineModel, defineOptions, withDefaults, } = await import('vue');
8
+ const emit = defineEmits();
9
+ const props = defineProps({
10
+ /**
11
+ * Название сервиса
12
+ *
13
+ */
14
+ logoTitle: {
15
+ type: String,
16
+ default: 'Dashboard'
17
+ },
18
+ /**
19
+ * Размер текста названия сервиса
20
+ *
21
+ */
22
+ logoTitleVariation: {
23
+ type: String,
24
+ default: TitleVariations.Subtitle
25
+ },
26
+ /**
27
+ * Путь до изображения
28
+ *
29
+ */
30
+ logoSrc: {
31
+ type: String,
32
+ default: ''
33
+ },
34
+ /**
35
+ * Имя иконки
36
+ * заголовка
37
+ */
38
+ logoIcon: {
39
+ type: String,
40
+ default: ''
41
+ },
42
+ /**
43
+ * Заголовок
44
+ * центрального блока
45
+ */
46
+ menuMainTitle: {
47
+ type: String,
48
+ default: ''
49
+ },
50
+ /**
51
+ * Центральное меню
52
+ *
53
+ */
54
+ menuMain: {
55
+ type: Array,
56
+ default: () => []
57
+ },
58
+ /**
59
+ * Каунты для пунктов меню
60
+ * вставляются в пункты с ключем 'count_key'
61
+ *
62
+ */
63
+ counts: {
64
+ type: Object,
65
+ default: () => ({})
66
+ },
67
+ /**
68
+ * Меню приложений
69
+ *
70
+ */
71
+ menuApps: {
72
+ type: Array,
73
+ default: () => []
74
+ },
75
+ /**
76
+ * Config чатры
77
+ *
78
+ */
79
+ chatraConfig: {
80
+ type: Object,
81
+ default: () => ({})
82
+ },
83
+ /**
84
+ * Текст кнопки
85
+ * сворачивания меню
86
+ */
87
+ hideText: {
88
+ type: String,
89
+ default: ''
90
+ },
91
+ /**
92
+ * Компактный вид
93
+ */
94
+ compact: {
95
+ type: Boolean,
96
+ default: false
97
+ },
98
+ /**
99
+ * Цветовая схема
100
+ */
101
+ variable: {
102
+ type: String,
103
+ default: SidebarTheme.Black
104
+ },
105
+ /**
106
+ * Ширина сайдбара
107
+ */
108
+ width: {
109
+ type: String,
110
+ default: '216px'
111
+ },
112
+ /**
113
+ * Ширина компактного сайдбара
114
+ */
115
+ compactWidth: {
116
+ type: String,
117
+ default: '56px'
118
+ },
119
+ /**
120
+ * Брейкпоинт после которого
121
+ * сайдбар становится абсолютным и появляется затемненный бэкдроп
122
+ */
123
+ absoluteBreakpoint: {
124
+ type: Number,
125
+ default: null
126
+ },
127
+ /**
128
+ * Брейкпоинт после которого
129
+ * сайдбар полностью прячется
130
+ */
131
+ hiddenBreakpoint: {
132
+ type: Number,
133
+ default: null
134
+ }
135
+ });
136
+ const is_hidden = ref(false);
137
+ const pretty_compact = ref(props.compact);
138
+ const has_compact_class = ref(props.compact);
139
+ const window_width = ref(0);
140
+ const sideBarClasses = computed(() => {
141
+ return {
142
+ 'mc-side-bar--compact': has_compact_class.value,
143
+ [currentThemeConfig.value.className]: true
144
+ };
145
+ });
146
+ const sideBarStyles = computed(() => {
147
+ return {
148
+ overflow: `${is_hidden.value ? 'hidden' : 'visible'}`,
149
+ width: has_compact_class.value ? props.compactWidth : props.width
150
+ };
151
+ });
152
+ const wrapperStyles = computed(() => {
153
+ const position = hiddenMode.value && has_compact_class.value
154
+ ? {
155
+ position: 'absolute',
156
+ left: `-${props.compactWidth}`
157
+ }
158
+ : {};
159
+ let width = {
160
+ width: has_compact_class.value ? props.compactWidth : props.width
161
+ };
162
+ if (absoluteMode.value) {
163
+ width.width = props.compactWidth;
164
+ }
165
+ if (hiddenMode.value) {
166
+ width.width = '0px';
167
+ }
168
+ return {
169
+ ...width,
170
+ ...position
171
+ };
172
+ });
173
+ const backdropClasses = computed(() => {
174
+ return {
175
+ 'mc-side-bar-wrapper__backdrop--full-width': !has_compact_class.value && window_width.value < props.absoluteBreakpoint
176
+ };
177
+ });
178
+ const absoluteMode = computed(() => {
179
+ return !!props.absoluteBreakpoint && window_width.value < props.absoluteBreakpoint;
180
+ });
181
+ const hiddenMode = computed(() => {
182
+ return !!props.hiddenBreakpoint && window_width.value < props.hiddenBreakpoint;
183
+ });
184
+ const currentThemeConfig = computed(() => {
185
+ return sidebarThemeConfig.value[props.variable] || sidebarThemeConfig.value[SidebarTheme.Black];
186
+ });
187
+ const sidebarThemeConfig = computed(() => {
188
+ return {
189
+ black: defaultThemes.black,
190
+ white: defaultThemes.white
191
+ };
192
+ });
193
+ onMounted(() => {
194
+ if (props.absoluteBreakpoint || (props.hiddenBreakpoint && window)) {
195
+ resize();
196
+ window.addEventListener('resize', resize);
197
+ }
198
+ });
199
+ onBeforeUnmount(() => {
200
+ window.removeEventListener('resize', resize);
201
+ });
202
+ const handleToggleSize = () => {
203
+ has_compact_class.value = !has_compact_class.value;
204
+ emit('compact', has_compact_class.value);
205
+ };
206
+ const openSideBar = () => {
207
+ has_compact_class.value = false;
208
+ emit('compact', has_compact_class.value);
209
+ };
210
+ const resize = () => {
211
+ window_width.value = window.innerWidth;
212
+ };
213
+ watch(() => has_compact_class.value, (value) => {
214
+ if (value) {
215
+ setTimeout(() => {
216
+ pretty_compact.value = value;
217
+ }, 280);
218
+ }
219
+ else {
220
+ pretty_compact.value = value;
221
+ }
222
+ is_hidden.value = true;
223
+ setTimeout(() => {
224
+ is_hidden.value = false;
225
+ }, 280);
226
+ });
227
+ watch(() => props.compact, (value) => {
228
+ has_compact_class.value = value;
229
+ });
230
+ watch(() => absoluteMode.value, (value) => {
231
+ emit('absolute-mode', value);
232
+ }, { immediate: true });
233
+ watch(() => hiddenMode.value, (value) => {
234
+ emit('hidden-mode', value);
235
+ }, { immediate: true });
236
+ provide('provideData', reactive({ currentThemeConfig: currentThemeConfig.value })); /* PartiallyEnd: #3632/scriptSetup.vue */
237
+ const __VLS_fnComponent = (await import('vue')).defineComponent({
238
+ props: {
239
+ /**
240
+ * Название сервиса
241
+ *
242
+ */
243
+ logoTitle: {
244
+ type: String,
245
+ default: 'Dashboard'
246
+ },
247
+ /**
248
+ * Размер текста названия сервиса
249
+ *
250
+ */
251
+ logoTitleVariation: {
252
+ type: String,
253
+ default: TitleVariations.Subtitle
254
+ },
255
+ /**
256
+ * Путь до изображения
257
+ *
258
+ */
259
+ logoSrc: {
260
+ type: String,
261
+ default: ''
262
+ },
263
+ /**
264
+ * Имя иконки
265
+ * заголовка
266
+ */
267
+ logoIcon: {
268
+ type: String,
269
+ default: ''
270
+ },
271
+ /**
272
+ * Заголовок
273
+ * центрального блока
274
+ */
275
+ menuMainTitle: {
276
+ type: String,
277
+ default: ''
278
+ },
279
+ /**
280
+ * Центральное меню
281
+ *
282
+ */
283
+ menuMain: {
284
+ type: Array,
285
+ default: () => []
286
+ },
287
+ /**
288
+ * Каунты для пунктов меню
289
+ * вставляются в пункты с ключем 'count_key'
290
+ *
291
+ */
292
+ counts: {
293
+ type: Object,
294
+ default: () => ({})
295
+ },
296
+ /**
297
+ * Меню приложений
298
+ *
299
+ */
300
+ menuApps: {
301
+ type: Array,
302
+ default: () => []
303
+ },
304
+ /**
305
+ * Config чатры
306
+ *
307
+ */
308
+ chatraConfig: {
309
+ type: Object,
310
+ default: () => ({})
311
+ },
312
+ /**
313
+ * Текст кнопки
314
+ * сворачивания меню
315
+ */
316
+ hideText: {
317
+ type: String,
318
+ default: ''
319
+ },
320
+ /**
321
+ * Компактный вид
322
+ */
323
+ compact: {
324
+ type: Boolean,
325
+ default: false
326
+ },
327
+ /**
328
+ * Цветовая схема
329
+ */
330
+ variable: {
331
+ type: String,
332
+ default: SidebarTheme.Black
333
+ },
334
+ /**
335
+ * Ширина сайдбара
336
+ */
337
+ width: {
338
+ type: String,
339
+ default: '216px'
340
+ },
341
+ /**
342
+ * Ширина компактного сайдбара
343
+ */
344
+ compactWidth: {
345
+ type: String,
346
+ default: '56px'
347
+ },
348
+ /**
349
+ * Брейкпоинт после которого
350
+ * сайдбар становится абсолютным и появляется затемненный бэкдроп
351
+ */
352
+ absoluteBreakpoint: {
353
+ type: Number,
354
+ default: null
355
+ },
356
+ /**
357
+ * Брейкпоинт после которого
358
+ * сайдбар полностью прячется
359
+ */
360
+ hiddenBreakpoint: {
361
+ type: Number,
362
+ default: null
363
+ }
364
+ },
365
+ __typeEmits: {},
366
+ });
367
+ ;
368
+ let __VLS_functionalComponentProps;
369
+ function __VLS_template() {
370
+ const __VLS_ctx = {};
371
+ const __VLS_localComponents = {
372
+ ...{},
373
+ ...{},
374
+ ...__VLS_ctx,
375
+ };
376
+ let __VLS_components;
377
+ const __VLS_localDirectives = {
378
+ ...{},
379
+ ...__VLS_ctx,
380
+ };
381
+ let __VLS_directives;
382
+ let __VLS_styleScopedClasses;
383
+ // CSS variable injection
384
+ // CSS variable injection end
385
+ let __VLS_resolvedLocalAndGlobalComponents;
386
+ __VLS_elementAsFunction(__VLS_intrinsicElements.article, __VLS_intrinsicElements.article)({ ref: ("sidebar-wrapper"), ...{ class: ("mc-side-bar-wrapper") }, ...{ style: ((__VLS_ctx.wrapperStyles)) }, });
387
+ // @ts-ignore navigation for `const sidebar-wrapper = ref()`
388
+ __VLS_ctx["sidebar-wrapper"];
389
+ __VLS_elementAsFunction(__VLS_intrinsicElements.section, __VLS_intrinsicElements.section)({ ...{ onClick: (__VLS_ctx.handleToggleSize) }, ...{ class: ("mc-side-bar-wrapper__backdrop") }, ...{ class: ((__VLS_ctx.backdropClasses)) }, });
390
+ __VLS_elementAsFunction(__VLS_intrinsicElements.div, __VLS_intrinsicElements.div)({ ...{ onClick: () => { } }, ref: ("sidebar"), ...{ class: ("mc-side-bar") }, ...{ class: ((__VLS_ctx.sideBarClasses)) }, ...{ style: ((__VLS_ctx.sideBarStyles)) }, });
391
+ // @ts-ignore navigation for `const sidebar = ref()`
392
+ __VLS_ctx.sidebar;
393
+ // @ts-ignore
394
+ [McSideBarTop, McSideBarTop,];
395
+ // @ts-ignore
396
+ const __VLS_0 = __VLS_asFunctionalComponent(McSideBarTop, new McSideBarTop({ logoTitle: ((__VLS_ctx.logoTitle)), logoTitleVariation: ((__VLS_ctx.logoTitleVariation)), logoSrc: ((__VLS_ctx.logoSrc)), logoIcon: ((__VLS_ctx.logoIcon)), compact: ((__VLS_ctx.pretty_compact)), menuApps: ((__VLS_ctx.menuApps)), }));
397
+ const __VLS_1 = __VLS_0({ logoTitle: ((__VLS_ctx.logoTitle)), logoTitleVariation: ((__VLS_ctx.logoTitleVariation)), logoSrc: ((__VLS_ctx.logoSrc)), logoIcon: ((__VLS_ctx.logoIcon)), compact: ((__VLS_ctx.pretty_compact)), menuApps: ((__VLS_ctx.menuApps)), }, ...__VLS_functionalComponentArgsRest(__VLS_0));
398
+ __VLS_elementAsFunction(__VLS_intrinsicElements.template, __VLS_intrinsicElements.template)({});
399
+ {
400
+ const { "title-append": __VLS_thisSlot } = __VLS_nonNullable(__VLS_4.slots);
401
+ var __VLS_5 = {};
402
+ }
403
+ var __VLS_4;
404
+ __VLS_elementAsFunction(__VLS_intrinsicElements.section, __VLS_intrinsicElements.section)({ ...{ class: ("mc-side-bar__scrollable-container") }, });
405
+ // @ts-ignore
406
+ [McSideBarCenter,];
407
+ // @ts-ignore
408
+ const __VLS_6 = __VLS_asFunctionalComponent(McSideBarCenter, new McSideBarCenter({ ...{ 'onHandlerChatraClick': {} }, ...{ 'onOpenSideBar': {} }, title: ((__VLS_ctx.menuMainTitle)), menuMain: ((__VLS_ctx.menuMain)), counts: ((__VLS_ctx.counts)), chatraConfig: ((__VLS_ctx.chatraConfig)), compact: ((__VLS_ctx.pretty_compact)), }));
409
+ const __VLS_7 = __VLS_6({ ...{ 'onHandlerChatraClick': {} }, ...{ 'onOpenSideBar': {} }, title: ((__VLS_ctx.menuMainTitle)), menuMain: ((__VLS_ctx.menuMain)), counts: ((__VLS_ctx.counts)), chatraConfig: ((__VLS_ctx.chatraConfig)), compact: ((__VLS_ctx.pretty_compact)), }, ...__VLS_functionalComponentArgsRest(__VLS_6));
410
+ let __VLS_11;
411
+ const __VLS_12 = {
412
+ onHandlerChatraClick: (...[$event]) => {
413
+ __VLS_ctx.emit('chatraClick');
414
+ }
415
+ };
416
+ const __VLS_13 = {
417
+ onOpenSideBar: (__VLS_ctx.openSideBar)
418
+ };
419
+ let __VLS_8;
420
+ let __VLS_9;
421
+ var __VLS_10;
422
+ // @ts-ignore
423
+ [McSideBarBottom, McSideBarBottom,];
424
+ // @ts-ignore
425
+ const __VLS_14 = __VLS_asFunctionalComponent(McSideBarBottom, new McSideBarBottom({ ...{ 'onToggleSize': {} }, hideText: ((__VLS_ctx.hideText)), compact: ((__VLS_ctx.pretty_compact)), hiddenMode: ((__VLS_ctx.hiddenMode)), sidebarWidth: ((__VLS_ctx.width)), }));
426
+ const __VLS_15 = __VLS_14({ ...{ 'onToggleSize': {} }, hideText: ((__VLS_ctx.hideText)), compact: ((__VLS_ctx.pretty_compact)), hiddenMode: ((__VLS_ctx.hiddenMode)), sidebarWidth: ((__VLS_ctx.width)), }, ...__VLS_functionalComponentArgsRest(__VLS_14));
427
+ let __VLS_19;
428
+ const __VLS_20 = {
429
+ onToggleSize: (__VLS_ctx.handleToggleSize)
430
+ };
431
+ let __VLS_16;
432
+ let __VLS_17;
433
+ __VLS_elementAsFunction(__VLS_intrinsicElements.template, __VLS_intrinsicElements.template)({});
434
+ {
435
+ const { "bottom-message": __VLS_thisSlot } = __VLS_nonNullable(__VLS_18.slots);
436
+ var __VLS_21 = {};
437
+ }
438
+ var __VLS_18;
439
+ __VLS_styleScopedClasses['mc-side-bar-wrapper'];
440
+ __VLS_styleScopedClasses['mc-side-bar-wrapper__backdrop'];
441
+ __VLS_styleScopedClasses['mc-side-bar'];
442
+ __VLS_styleScopedClasses['mc-side-bar__scrollable-container'];
443
+ var __VLS_slots;
444
+ var __VLS_inheritedAttrs;
445
+ const __VLS_refs = {
446
+ "sidebar-wrapper": __VLS_nativeElements['article'],
447
+ "sidebar": __VLS_nativeElements['div'],
448
+ };
449
+ var $refs;
450
+ var $el;
451
+ return {
452
+ attrs: {},
453
+ slots: __VLS_slots,
454
+ refs: $refs,
455
+ rootEl: $el,
456
+ };
457
+ }
458
+ ;
459
+ const __VLS_self = (await import('vue')).defineComponent({
460
+ setup() {
461
+ return {
462
+ McSideBarTop: McSideBarTop,
463
+ McSideBarCenter: McSideBarCenter,
464
+ McSideBarBottom: McSideBarBottom,
465
+ emit: emit,
466
+ pretty_compact: pretty_compact,
467
+ sideBarClasses: sideBarClasses,
468
+ sideBarStyles: sideBarStyles,
469
+ wrapperStyles: wrapperStyles,
470
+ backdropClasses: backdropClasses,
471
+ hiddenMode: hiddenMode,
472
+ handleToggleSize: handleToggleSize,
473
+ openSideBar: openSideBar,
474
+ };
475
+ },
476
+ __typeEmits: {},
477
+ props: {
478
+ /**
479
+ * Название сервиса
480
+ *
481
+ */
482
+ logoTitle: {
483
+ type: String,
484
+ default: 'Dashboard'
485
+ },
486
+ /**
487
+ * Размер текста названия сервиса
488
+ *
489
+ */
490
+ logoTitleVariation: {
491
+ type: String,
492
+ default: TitleVariations.Subtitle
493
+ },
494
+ /**
495
+ * Путь до изображения
496
+ *
497
+ */
498
+ logoSrc: {
499
+ type: String,
500
+ default: ''
501
+ },
502
+ /**
503
+ * Имя иконки
504
+ * заголовка
505
+ */
506
+ logoIcon: {
507
+ type: String,
508
+ default: ''
509
+ },
510
+ /**
511
+ * Заголовок
512
+ * центрального блока
513
+ */
514
+ menuMainTitle: {
515
+ type: String,
516
+ default: ''
517
+ },
518
+ /**
519
+ * Центральное меню
520
+ *
521
+ */
522
+ menuMain: {
523
+ type: Array,
524
+ default: () => []
525
+ },
526
+ /**
527
+ * Каунты для пунктов меню
528
+ * вставляются в пункты с ключем 'count_key'
529
+ *
530
+ */
531
+ counts: {
532
+ type: Object,
533
+ default: () => ({})
534
+ },
535
+ /**
536
+ * Меню приложений
537
+ *
538
+ */
539
+ menuApps: {
540
+ type: Array,
541
+ default: () => []
542
+ },
543
+ /**
544
+ * Config чатры
545
+ *
546
+ */
547
+ chatraConfig: {
548
+ type: Object,
549
+ default: () => ({})
550
+ },
551
+ /**
552
+ * Текст кнопки
553
+ * сворачивания меню
554
+ */
555
+ hideText: {
556
+ type: String,
557
+ default: ''
558
+ },
559
+ /**
560
+ * Компактный вид
561
+ */
562
+ compact: {
563
+ type: Boolean,
564
+ default: false
565
+ },
566
+ /**
567
+ * Цветовая схема
568
+ */
569
+ variable: {
570
+ type: String,
571
+ default: SidebarTheme.Black
572
+ },
573
+ /**
574
+ * Ширина сайдбара
575
+ */
576
+ width: {
577
+ type: String,
578
+ default: '216px'
579
+ },
580
+ /**
581
+ * Ширина компактного сайдбара
582
+ */
583
+ compactWidth: {
584
+ type: String,
585
+ default: '56px'
586
+ },
587
+ /**
588
+ * Брейкпоинт после которого
589
+ * сайдбар становится абсолютным и появляется затемненный бэкдроп
590
+ */
591
+ absoluteBreakpoint: {
592
+ type: Number,
593
+ default: null
594
+ },
595
+ /**
596
+ * Брейкпоинт после которого
597
+ * сайдбар полностью прячется
598
+ */
599
+ hiddenBreakpoint: {
600
+ type: Number,
601
+ default: null
602
+ }
603
+ },
604
+ });
605
+ const __VLS_component = (await import('vue')).defineComponent({
606
+ setup() {
607
+ return {};
608
+ },
609
+ __typeEmits: {},
610
+ props: {
611
+ /**
612
+ * Название сервиса
613
+ *
614
+ */
615
+ logoTitle: {
616
+ type: String,
617
+ default: 'Dashboard'
618
+ },
619
+ /**
620
+ * Размер текста названия сервиса
621
+ *
622
+ */
623
+ logoTitleVariation: {
624
+ type: String,
625
+ default: TitleVariations.Subtitle
626
+ },
627
+ /**
628
+ * Путь до изображения
629
+ *
630
+ */
631
+ logoSrc: {
632
+ type: String,
633
+ default: ''
634
+ },
635
+ /**
636
+ * Имя иконки
637
+ * заголовка
638
+ */
639
+ logoIcon: {
640
+ type: String,
641
+ default: ''
642
+ },
643
+ /**
644
+ * Заголовок
645
+ * центрального блока
646
+ */
647
+ menuMainTitle: {
648
+ type: String,
649
+ default: ''
650
+ },
651
+ /**
652
+ * Центральное меню
653
+ *
654
+ */
655
+ menuMain: {
656
+ type: Array,
657
+ default: () => []
658
+ },
659
+ /**
660
+ * Каунты для пунктов меню
661
+ * вставляются в пункты с ключем 'count_key'
662
+ *
663
+ */
664
+ counts: {
665
+ type: Object,
666
+ default: () => ({})
667
+ },
668
+ /**
669
+ * Меню приложений
670
+ *
671
+ */
672
+ menuApps: {
673
+ type: Array,
674
+ default: () => []
675
+ },
676
+ /**
677
+ * Config чатры
678
+ *
679
+ */
680
+ chatraConfig: {
681
+ type: Object,
682
+ default: () => ({})
683
+ },
684
+ /**
685
+ * Текст кнопки
686
+ * сворачивания меню
687
+ */
688
+ hideText: {
689
+ type: String,
690
+ default: ''
691
+ },
692
+ /**
693
+ * Компактный вид
694
+ */
695
+ compact: {
696
+ type: Boolean,
697
+ default: false
698
+ },
699
+ /**
700
+ * Цветовая схема
701
+ */
702
+ variable: {
703
+ type: String,
704
+ default: SidebarTheme.Black
705
+ },
706
+ /**
707
+ * Ширина сайдбара
708
+ */
709
+ width: {
710
+ type: String,
711
+ default: '216px'
712
+ },
713
+ /**
714
+ * Ширина компактного сайдбара
715
+ */
716
+ compactWidth: {
717
+ type: String,
718
+ default: '56px'
719
+ },
720
+ /**
721
+ * Брейкпоинт после которого
722
+ * сайдбар становится абсолютным и появляется затемненный бэкдроп
723
+ */
724
+ absoluteBreakpoint: {
725
+ type: Number,
726
+ default: null
727
+ },
728
+ /**
729
+ * Брейкпоинт после которого
730
+ * сайдбар полностью прячется
731
+ */
732
+ hiddenBreakpoint: {
733
+ type: Number,
734
+ default: null
735
+ }
736
+ },
737
+ __typeEl: {},
738
+ });
739
+ export default {};
740
+ ; /* PartiallyEnd: #4569/main.vue */