mediacube-ui-v2 0.0.8 → 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 (339) 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.js +13 -10522
  114. package/dist/main.js +6 -0
  115. package/dist/mocks/authUser.js +162 -0
  116. package/dist/mocks/categories.js +107 -0
  117. package/dist/mocks/filterMocks.js +128 -0
  118. package/dist/mocks/icons.json +1 -0
  119. package/dist/mocks/menuLangs.js +19 -0
  120. package/dist/mocks/sidebar.js +125 -0
  121. package/dist/mocks/tableData.js +8180 -0
  122. package/dist/types/App.vue.d.ts +2 -0
  123. package/dist/types/IButton.js +1 -0
  124. package/dist/types/ICell.js +1 -0
  125. package/dist/types/IChip.js +1 -0
  126. package/dist/types/ICollapse.js +1 -0
  127. package/dist/types/IDatepicker.js +1 -0
  128. package/dist/types/IDirections.js +1 -0
  129. package/dist/types/IDrawer.js +1 -0
  130. package/dist/types/IDropdown.js +1 -0
  131. package/dist/types/IFilter.js +1 -0
  132. package/dist/types/IGrid.js +1 -0
  133. package/dist/types/IInput.js +1 -0
  134. package/dist/types/IModal.js +1 -0
  135. package/dist/types/IPreview.js +1 -0
  136. package/dist/types/IRadio.js +1 -0
  137. package/dist/types/IRadioGroup.js +1 -0
  138. package/dist/types/IRoute.js +1 -0
  139. package/dist/types/ISelect.js +1 -0
  140. package/dist/types/ISideBar.js +1 -0
  141. package/dist/types/ITable.js +1 -0
  142. package/dist/types/ITabs.js +1 -0
  143. package/dist/types/ITitle.js +1 -0
  144. package/dist/types/ITooltip.js +1 -0
  145. package/dist/types/assets/tokens/json/index.d.ts +18 -0
  146. package/dist/{components → types/components}/elements/McAvatar/McAvatar.vue.d.ts +5 -5
  147. package/dist/{components → types/components}/elements/McBadge/McBadge.vue.d.ts +3 -3
  148. package/dist/types/components/elements/McBottomLoader/McBottomLoader.vue.d.ts +14 -0
  149. package/dist/{components → types/components}/elements/McButton/McButton.vue.d.ts +13 -12
  150. package/dist/{components → types/components}/elements/McChip/McChip.vue.d.ts +7 -6
  151. package/dist/types/components/elements/McCropper/McCropper.vue.d.ts +2 -0
  152. package/dist/{components → types/components}/elements/McDatepicker/McDatepicker.vue.d.ts +2 -1
  153. package/dist/{components → types/components}/elements/McDraggable/McDraggable.vue.d.ts +4 -4
  154. package/dist/{components → types/components}/elements/McFieldCheckbox/McFieldCheckbox.vue.d.ts +1 -1
  155. package/dist/{components → types/components}/elements/McFieldRadio/McFieldRadio.vue.d.ts +8 -8
  156. package/dist/{components → types/components}/elements/McFieldRadioGroup/McFieldRadioGroup.vue.d.ts +1 -1
  157. package/dist/{components → types/components}/elements/McFieldRange/McFieldRange.vue.d.ts +6 -6
  158. package/dist/{components → types/components}/elements/McFieldSelect/McFieldSelect.vue.d.ts +12 -11
  159. package/dist/{components → types/components}/elements/McFieldText/McFieldText.vue.d.ts +9 -9
  160. package/dist/{components → types/components}/elements/McFieldToggle/McFieldToggle.vue.d.ts +6 -6
  161. package/dist/{components → types/components}/elements/McInfinityLoadingTrigger/McInfinityLoadingTrigger.vue.d.ts +4 -4
  162. package/dist/types/components/elements/McNodata/McNoData.vue.d.ts +110 -0
  163. package/dist/types/components/elements/McNotification/McNotification.vue.d.ts +124 -0
  164. package/dist/{components → types/components}/elements/McProgress/McProgress.vue.d.ts +5 -5
  165. package/dist/{components → types/components}/elements/McSeparator/McSeparator.vue.d.ts +4 -4
  166. package/dist/{components → types/components}/elements/McSlideUpDown/McSlideUpDown.vue.d.ts +5 -5
  167. package/dist/{components → types/components}/elements/McStack/McStack.vue.d.ts +4 -4
  168. package/dist/{components → types/components}/elements/McSvgIcon/McSvgIcon.vue.d.ts +9 -9
  169. package/dist/{components → types/components}/elements/McTitle/McTitle.vue.d.ts +7 -7
  170. package/dist/{components → types/components}/elements/McTooltip/McTooltip.vue.d.ts +6 -6
  171. package/dist/types/components/index.d.ts +70 -0
  172. package/dist/{components → types/components}/patterns/McAccordion/McAccordion.vue.d.ts +4 -4
  173. package/dist/{components → types/components}/patterns/McCell/McCell.vue.d.ts +6 -6
  174. package/dist/{components → types/components}/patterns/McCollapse/McCollapse.vue.d.ts +6 -6
  175. package/dist/{components → types/components}/patterns/McDropdown/McDropdown.vue.d.ts +7 -7
  176. package/dist/types/components/patterns/McDropdown/McDropdownPanel.vue.d.ts +22 -0
  177. package/dist/{components → types/components}/patterns/McFilter/McFilter.vue.d.ts +6 -6
  178. package/dist/{components → types/components}/patterns/McFilter/McFilterChip/McFilterChip.vue.d.ts +6 -6
  179. package/dist/{components → types/components}/patterns/McFilter/McFilterTags/McFilterTags.vue.d.ts +6 -6
  180. package/dist/{components → types/components}/patterns/McFilter/McFilterTypeDate/McFilterTypeDate.vue.d.ts +6 -6
  181. package/dist/{components → types/components}/patterns/McFilter/McFilterTypeRange/McFilterTypeRange.vue.d.ts +6 -6
  182. package/dist/{components → types/components}/patterns/McFilter/McFilterTypeRelation/McFilterTypeRelation.vue.d.ts +6 -6
  183. package/dist/{components → types/components}/patterns/McFilter/McFilterTypeText/McFilterTypeText.vue.d.ts +6 -6
  184. package/dist/{components → types/components}/patterns/McGridCol/McGridCol.vue.d.ts +4 -4
  185. package/dist/{components → types/components}/patterns/McGridRow/McGridRow.vue.d.ts +5 -5
  186. package/dist/{components → types/components}/patterns/McOverlay/McOverlay.vue.d.ts +4 -4
  187. package/dist/{components → types/components}/patterns/McPreview/McPreview.vue.d.ts +4 -4
  188. package/dist/types/components/patterns/McSideBar/McSideBar.vue.d.ts +292 -0
  189. package/dist/{components → types/components}/patterns/McSideBar/McSideBarBottom/McSideBarBottom.vue.d.ts +5 -5
  190. package/dist/{components → types/components}/patterns/McSideBar/McSideBarButton/McSideBarButton.vue.d.ts +6 -6
  191. package/dist/{components → types/components}/patterns/McSideBar/McSideBarCenter/McSideBarCenter.vue.d.ts +6 -6
  192. package/dist/types/components/patterns/McSideBar/McSideBarTop/McSideBarTop.vue.d.ts +123 -0
  193. package/dist/types/components/patterns/McTab/McTab.vue.d.ts +224 -0
  194. package/dist/{components → types/components}/patterns/McTabs/McTabs.vue.d.ts +8 -7
  195. package/dist/{components → types/components}/patterns/McWrapScroll/McWrapScroll.vue.d.ts +7 -7
  196. package/dist/types/components/templates/McDrawer/McDrawer.vue.d.ts +104 -0
  197. package/dist/{components → types/components}/templates/McDrawer/McDrawerContainer.vue.d.ts +5 -5
  198. package/dist/{components → types/components}/templates/McDrawer/McDrawerContentTemplate/McDrawerContentTemplate.vue.d.ts +4 -4
  199. package/dist/{components → types/components}/templates/McModal/McModal.vue.d.ts +7 -7
  200. package/dist/{components → types/components}/templates/McModal/McModalContainer.vue.d.ts +5 -5
  201. package/dist/types/components/templates/McTable/McTable/McTable.vue.d.ts +295 -0
  202. package/dist/{components → types/components}/templates/McTable/McTableCard/McTableCard.vue.d.ts +6 -6
  203. package/dist/{components → types/components}/templates/McTable/McTableCard/McTableCardHeader/McTableCardHeader.vue.d.ts +4 -4
  204. package/dist/types/components/templates/McTable/McTableSkeletonLoading/McTableSkeletonLoading.vue.d.ts +18 -0
  205. package/dist/{components → types/components}/templates/McTable/McTableSort/McTableSort.vue.d.ts +7 -7
  206. package/dist/{components → types/components}/templates/McTopBar/McTopBar.vue.d.ts +4 -4
  207. package/dist/{components → types/components}/templates/McVirtualScroll/McVirtualScroll.vue.d.ts +4 -4
  208. package/dist/{composables → types/composables}/index.d.ts +1 -1
  209. package/dist/{composables → types/composables}/useDrawer.d.ts +1 -1
  210. package/dist/types/composables/useFieldErrors.d.ts +5 -0
  211. package/dist/{composables → types/composables}/useTooltip.d.ts +1 -1
  212. package/dist/types/index.d.ts +9 -36
  213. package/dist/types/index.js +38 -0
  214. package/dist/types/main.d.ts +2 -0
  215. package/dist/{mocks → types/mocks}/filterMocks.d.ts +1 -1
  216. package/dist/{mocks → types/mocks}/sidebar.d.ts +1 -1
  217. package/dist/{mocks → types/mocks}/tableData.d.ts +1 -1
  218. package/dist/types/styles/Alignment.js +1 -0
  219. package/dist/types/styles/AvatarSizes.js +3 -0
  220. package/dist/types/styles/Colors.js +3 -0
  221. package/dist/types/styles/Durations.js +3 -0
  222. package/dist/types/styles/FontSizes.js +3 -0
  223. package/dist/types/styles/FontWeights.js +3 -0
  224. package/dist/types/styles/Grid.js +1 -0
  225. package/dist/types/styles/Icons.js +2 -0
  226. package/dist/types/styles/LineHeights.js +3 -0
  227. package/dist/types/styles/MediaQueries.js +3 -0
  228. package/dist/types/styles/Radiuses.js +3 -0
  229. package/dist/types/styles/Sizes.js +3 -0
  230. package/dist/types/styles/Spaces.js +3 -0
  231. package/dist/types/styles/Weights.js +1 -0
  232. package/dist/types/{IButton.d.ts → types/IButton.d.ts} +5 -5
  233. package/dist/types/{ICell.d.ts → types/ICell.d.ts} +1 -1
  234. package/dist/types/{IChip.d.ts → types/IChip.d.ts} +2 -2
  235. package/dist/types/{IDatepicker.d.ts → types/IDatepicker.d.ts} +1 -1
  236. package/dist/types/{IDirections.d.ts → types/IDirections.d.ts} +1 -1
  237. package/dist/types/{IDrawer.d.ts → types/IDrawer.d.ts} +2 -2
  238. package/dist/types/{IDropdown.d.ts → types/IDropdown.d.ts} +1 -1
  239. package/dist/types/{IFilter.d.ts → types/IFilter.d.ts} +1 -1
  240. package/dist/types/{IInput.d.ts → types/IInput.d.ts} +1 -1
  241. package/dist/types/{IModal.d.ts → types/IModal.d.ts} +2 -2
  242. package/dist/types/{IPreview.d.ts → types/IPreview.d.ts} +1 -1
  243. package/dist/types/{IRadio.d.ts → types/IRadio.d.ts} +1 -1
  244. package/dist/types/{IRadioGroup.d.ts → types/IRadioGroup.d.ts} +1 -1
  245. package/dist/types/{ISelect.d.ts → types/ISelect.d.ts} +1 -1
  246. package/dist/types/{ISideBar.d.ts → types/ISideBar.d.ts} +5 -5
  247. package/dist/types/{ITable.d.ts → types/ITable.d.ts} +2 -2
  248. package/dist/types/{ITabs.d.ts → types/ITabs.d.ts} +4 -4
  249. package/dist/types/{ITitle.d.ts → types/ITitle.d.ts} +1 -1
  250. package/dist/types/{ITooltip.d.ts → types/ITooltip.d.ts} +1 -1
  251. package/dist/types/types/index.d.ts +36 -0
  252. package/dist/types/{styles → types/styles}/Alignment.d.ts +1 -1
  253. package/dist/types/{styles → types/styles}/Grid.d.ts +1 -1
  254. package/dist/types/{styles → types/styles}/Weights.d.ts +1 -1
  255. package/dist/{utils → types/utils}/dayjs.d.ts +2 -1
  256. package/dist/{utils → types/utils}/mcGridColAdaptiveProps.d.ts +1 -1
  257. package/dist/{utils → types/utils}/mcTitleAdaptiveProps.d.ts +1 -1
  258. package/dist/utils/dayjs.js +18 -0
  259. package/dist/utils/mcGridColAdaptiveProps.js +10 -0
  260. package/dist/utils/mcTitleAdaptiveProps.js +10 -0
  261. package/package.json +7 -3
  262. package/dist/App.vue.d.ts +0 -2
  263. package/dist/assets/tokens/json/animations.json.d.ts +0 -8
  264. package/dist/assets/tokens/json/border-radius.json.d.ts +0 -26
  265. package/dist/assets/tokens/json/box-shadows.json.d.ts +0 -26
  266. package/dist/assets/tokens/json/colors.json.d.ts +0 -73
  267. package/dist/assets/tokens/json/durations.json.d.ts +0 -12
  268. package/dist/assets/tokens/json/easings.json.d.ts +0 -5
  269. package/dist/assets/tokens/json/font-families.json.d.ts +0 -6
  270. package/dist/assets/tokens/json/font-sizes.json.d.ts +0 -20
  271. package/dist/assets/tokens/json/font-weights.json.d.ts +0 -14
  272. package/dist/assets/tokens/json/gradients.json.d.ts +0 -15
  273. package/dist/assets/tokens/json/index.d.ts +0 -18
  274. package/dist/assets/tokens/json/letter-spacings.json.d.ts +0 -6
  275. package/dist/assets/tokens/json/line-heights.json.d.ts +0 -20
  276. package/dist/assets/tokens/json/media-queries.json.d.ts +0 -28
  277. package/dist/assets/tokens/json/opacities.json.d.ts +0 -7
  278. package/dist/assets/tokens/json/sizes.json.d.ts +0 -44
  279. package/dist/assets/tokens/json/spacings.json.d.ts +0 -36
  280. package/dist/assets/tokens/json/z-indexes.json.d.ts +0 -14
  281. package/dist/components/elements/McBottomLoader/McBottomLoader.vue.d.ts +0 -14
  282. package/dist/components/elements/McNodata/McNoData.vue.d.ts +0 -110
  283. package/dist/components/elements/McNotification/McNotification.vue.d.ts +0 -124
  284. package/dist/components/index.d.ts +0 -61
  285. package/dist/components/patterns/McDropdown/McDropdownPanel.vue.d.ts +0 -22
  286. package/dist/components/patterns/McSideBar/McSideBar.vue.d.ts +0 -292
  287. package/dist/components/patterns/McSideBar/McSideBarTop/McSideBarTop.vue.d.ts +0 -123
  288. package/dist/components/patterns/McTab/McTab.vue.d.ts +0 -224
  289. package/dist/components/templates/McDrawer/McDrawer.vue.d.ts +0 -104
  290. package/dist/components/templates/McTable/McTable/McTable.vue.d.ts +0 -295
  291. package/dist/components/templates/McTable/McTableSkeletonLoading/McTableSkeletonLoading.vue.d.ts +0 -18
  292. package/dist/composables/useFieldErrors.d.ts +0 -5
  293. package/dist/index.d.ts +0 -9
  294. package/dist/main.d.ts +0 -0
  295. package/dist/mocks/icons.json.d.ts +0 -3
  296. /package/dist/{composables → types/composables}/useEncodeDecode.d.ts +0 -0
  297. /package/dist/{composables → types/composables}/useHelper.d.ts +0 -0
  298. /package/dist/{composables → types/composables}/useModal.d.ts +0 -0
  299. /package/dist/{composables → types/composables}/useRandomNumber.d.ts +0 -0
  300. /package/dist/{consts → types/consts}/table.d.ts +0 -0
  301. /package/dist/{enums → types/enums}/Cell.d.ts +0 -0
  302. /package/dist/{enums → types/enums}/Chip.d.ts +0 -0
  303. /package/dist/{enums → types/enums}/Datepicker.d.ts +0 -0
  304. /package/dist/{enums → types/enums}/Drawer.d.ts +0 -0
  305. /package/dist/{enums → types/enums}/Dropdown.d.ts +0 -0
  306. /package/dist/{enums → types/enums}/Filter.d.ts +0 -0
  307. /package/dist/{enums → types/enums}/Grid.d.ts +0 -0
  308. /package/dist/{enums → types/enums}/Input.d.ts +0 -0
  309. /package/dist/{enums → types/enums}/Modal.d.ts +0 -0
  310. /package/dist/{enums → types/enums}/Preview.d.ts +0 -0
  311. /package/dist/{enums → types/enums}/Radio.d.ts +0 -0
  312. /package/dist/{enums → types/enums}/RadioGroup.d.ts +0 -0
  313. /package/dist/{enums → types/enums}/Select.d.ts +0 -0
  314. /package/dist/{enums → types/enums}/Sidebar.d.ts +0 -0
  315. /package/dist/{enums → types/enums}/Tab.d.ts +0 -0
  316. /package/dist/{enums → types/enums}/Title.d.ts +0 -0
  317. /package/dist/{enums → types/enums}/Tooltip.d.ts +0 -0
  318. /package/dist/{enums → types/enums}/index.d.ts +0 -0
  319. /package/dist/{enums → types/enums}/ui/Alignment.d.ts +0 -0
  320. /package/dist/{enums → types/enums}/ui/Button.d.ts +0 -0
  321. /package/dist/{enums → types/enums}/ui/Directions.d.ts +0 -0
  322. /package/dist/{enums → types/enums}/ui/Weights.d.ts +0 -0
  323. /package/dist/{mocks → types/mocks}/authUser.d.ts +0 -0
  324. /package/dist/{mocks → types/mocks}/categories.d.ts +0 -0
  325. /package/dist/{mocks → types/mocks}/menuLangs.d.ts +0 -0
  326. /package/dist/types/{ICollapse.d.ts → types/ICollapse.d.ts} +0 -0
  327. /package/dist/types/{IGrid.d.ts → types/IGrid.d.ts} +0 -0
  328. /package/dist/types/{IRoute.d.ts → types/IRoute.d.ts} +0 -0
  329. /package/dist/types/{styles → types/styles}/AvatarSizes.d.ts +0 -0
  330. /package/dist/types/{styles → types/styles}/Colors.d.ts +0 -0
  331. /package/dist/types/{styles → types/styles}/Durations.d.ts +0 -0
  332. /package/dist/types/{styles → types/styles}/FontSizes.d.ts +0 -0
  333. /package/dist/types/{styles → types/styles}/FontWeights.d.ts +0 -0
  334. /package/dist/types/{styles → types/styles}/Icons.d.ts +0 -0
  335. /package/dist/types/{styles → types/styles}/LineHeights.d.ts +0 -0
  336. /package/dist/types/{styles → types/styles}/MediaQueries.d.ts +0 -0
  337. /package/dist/types/{styles → types/styles}/Radiuses.d.ts +0 -0
  338. /package/dist/types/{styles → types/styles}/Sizes.d.ts +0 -0
  339. /package/dist/types/{styles → types/styles}/Spaces.d.ts +0 -0
@@ -0,0 +1,319 @@
1
+ import McTitle from '@/components/elements/McTitle/McTitle.vue';
2
+ import McSvgIcon from '@/components/elements/McSvgIcon/McSvgIcon.vue';
3
+ import McButton from '@/components/elements/McButton/McButton.vue';
4
+ import { computed } from 'vue';
5
+ import { HorizontalAlignment, TitleVariations, Weights } from '@/enums';
6
+ //@ts-ignore
7
+ import noTableDataImg from '../../../assets/img/no_table_data.png';
8
+ const { defineProps, defineSlots, defineEmits, defineExpose, defineModel, defineOptions, withDefaults, } = await import('vue');
9
+ const emit = defineEmits();
10
+ const props = defineProps({
11
+ img: {
12
+ type: String,
13
+ default: noTableDataImg,
14
+ },
15
+ icon: {
16
+ type: String,
17
+ default: null
18
+ },
19
+ title: {
20
+ type: String,
21
+ default: ''
22
+ },
23
+ text: {
24
+ type: String,
25
+ default: ''
26
+ },
27
+ href: {
28
+ type: String,
29
+ default: ''
30
+ },
31
+ btnName: {
32
+ type: String,
33
+ default: ''
34
+ },
35
+ noAction: {
36
+ type: Boolean,
37
+ default: false
38
+ },
39
+ loading: {
40
+ type: Boolean,
41
+ default: false
42
+ },
43
+ /**
44
+ * Вариант блока
45
+ * small - стандартный, небольшие отступы
46
+ * large - большие отступы (напр. для табов в админке) + немного меняются дефолтные шрифты тайтла
47
+ * */
48
+ variation: {
49
+ type: String,
50
+ default: 'small'
51
+ }
52
+ });
53
+ const btnAttrs = computed(() => {
54
+ return {
55
+ class: 'mt-200',
56
+ loading: props.loading,
57
+ ...(props.href ? { href: props.href } : {})
58
+ };
59
+ });
60
+ const btnListeners = computed(() => {
61
+ return !props.href
62
+ ? {
63
+ click: () => handleClick()
64
+ }
65
+ : {};
66
+ });
67
+ const titleExtraProps = computed(() => {
68
+ return props.variation === 'large'
69
+ ? {
70
+ variation: TitleVariations.Subtitle,
71
+ weight: Weights.SemiBold
72
+ }
73
+ : {};
74
+ });
75
+ const classes = computed(() => {
76
+ return {
77
+ 'mc-no-data': true,
78
+ [`mc-no-data--variation-${props.variation}`]: !!props.variation
79
+ };
80
+ });
81
+ const handleClick = () => {
82
+ emit('click');
83
+ }; /* PartiallyEnd: #3632/scriptSetup.vue */
84
+ const __VLS_fnComponent = (await import('vue')).defineComponent({
85
+ props: {
86
+ img: {
87
+ type: String,
88
+ default: noTableDataImg,
89
+ },
90
+ icon: {
91
+ type: String,
92
+ default: null
93
+ },
94
+ title: {
95
+ type: String,
96
+ default: ''
97
+ },
98
+ text: {
99
+ type: String,
100
+ default: ''
101
+ },
102
+ href: {
103
+ type: String,
104
+ default: ''
105
+ },
106
+ btnName: {
107
+ type: String,
108
+ default: ''
109
+ },
110
+ noAction: {
111
+ type: Boolean,
112
+ default: false
113
+ },
114
+ loading: {
115
+ type: Boolean,
116
+ default: false
117
+ },
118
+ /**
119
+ * Вариант блока
120
+ * small - стандартный, небольшие отступы
121
+ * large - большие отступы (напр. для табов в админке) + немного меняются дефолтные шрифты тайтла
122
+ * */
123
+ variation: {
124
+ type: String,
125
+ default: 'small'
126
+ }
127
+ },
128
+ __typeEmits: {},
129
+ });
130
+ ;
131
+ let __VLS_functionalComponentProps;
132
+ function __VLS_template() {
133
+ const __VLS_ctx = {};
134
+ const __VLS_localComponents = {
135
+ ...{},
136
+ ...{},
137
+ ...__VLS_ctx,
138
+ };
139
+ let __VLS_components;
140
+ const __VLS_localDirectives = {
141
+ ...{},
142
+ ...__VLS_ctx,
143
+ };
144
+ let __VLS_directives;
145
+ let __VLS_styleScopedClasses;
146
+ // CSS variable injection
147
+ // CSS variable injection end
148
+ let __VLS_resolvedLocalAndGlobalComponents;
149
+ __VLS_elementAsFunction(__VLS_intrinsicElements.div, __VLS_intrinsicElements.div)({ ...{ class: ("mc-no-data__wrapper") }, });
150
+ __VLS_elementAsFunction(__VLS_intrinsicElements.section, __VLS_intrinsicElements.section)({ ...{ class: ((__VLS_ctx.classes)) }, });
151
+ if (props.icon) {
152
+ // @ts-ignore
153
+ [McSvgIcon,];
154
+ // @ts-ignore
155
+ const __VLS_0 = __VLS_asFunctionalComponent(McSvgIcon, new McSvgIcon({ weight: ((0.5)), name: ((props.icon)), size: ("1000"), color: ("outline-gray"), }));
156
+ const __VLS_1 = __VLS_0({ weight: ((0.5)), name: ((props.icon)), size: ("1000"), color: ("outline-gray"), }, ...__VLS_functionalComponentArgsRest(__VLS_0));
157
+ }
158
+ if (props.img) {
159
+ __VLS_elementAsFunction(__VLS_intrinsicElements.img)({ src: ((props.img)), alt: ("no_entity"), });
160
+ }
161
+ if (__VLS_ctx.title || __VLS_ctx.$slots.title) {
162
+ var __VLS_5 = {};
163
+ if (props.title) {
164
+ // @ts-ignore
165
+ [McTitle,];
166
+ // @ts-ignore
167
+ const __VLS_6 = __VLS_asFunctionalComponent(McTitle, new McTitle({ ...(__VLS_ctx.titleExtraProps), color: ("gray"), textAlign: ((__VLS_ctx.HorizontalAlignment.Center)), htmlData: ((props.title)), }));
168
+ const __VLS_7 = __VLS_6({ ...(__VLS_ctx.titleExtraProps), color: ("gray"), textAlign: ((__VLS_ctx.HorizontalAlignment.Center)), htmlData: ((props.title)), }, ...__VLS_functionalComponentArgsRest(__VLS_6));
169
+ }
170
+ }
171
+ if (__VLS_ctx.text || __VLS_ctx.$slots.text) {
172
+ __VLS_elementAsFunction(__VLS_intrinsicElements.div, __VLS_intrinsicElements.div)({ ...{ class: ("mc-no-data__text") }, });
173
+ var __VLS_11 = {};
174
+ // @ts-ignore
175
+ [McTitle,];
176
+ // @ts-ignore
177
+ const __VLS_12 = __VLS_asFunctionalComponent(McTitle, new McTitle({ color: ("gray"), variation: ((__VLS_ctx.TitleVariations.Article)), textAlign: ((__VLS_ctx.HorizontalAlignment.Center)), htmlData: ((__VLS_ctx.text)), }));
178
+ const __VLS_13 = __VLS_12({ color: ("gray"), variation: ((__VLS_ctx.TitleVariations.Article)), textAlign: ((__VLS_ctx.HorizontalAlignment.Center)), htmlData: ((__VLS_ctx.text)), }, ...__VLS_functionalComponentArgsRest(__VLS_12));
179
+ }
180
+ if ((__VLS_ctx.btnName && !__VLS_ctx.noAction) || __VLS_ctx.$slots.action) {
181
+ __VLS_elementAsFunction(__VLS_intrinsicElements.div, __VLS_intrinsicElements.div)({ ...{ class: ("mc-no-data__actions") }, });
182
+ var __VLS_17 = {};
183
+ // @ts-ignore
184
+ [McButton, McButton,];
185
+ // @ts-ignore
186
+ const __VLS_18 = __VLS_asFunctionalComponent(McButton, new McButton({ ...(__VLS_ctx.btnAttrs), }));
187
+ const __VLS_19 = __VLS_18({ ...(__VLS_ctx.btnAttrs), }, ...__VLS_functionalComponentArgsRest(__VLS_18));
188
+ (__VLS_ctx.btnListeners);
189
+ (__VLS_ctx.btnName);
190
+ __VLS_nonNullable(__VLS_22.slots).default;
191
+ var __VLS_22;
192
+ }
193
+ __VLS_styleScopedClasses['mc-no-data__wrapper'];
194
+ __VLS_styleScopedClasses['mc-no-data__text'];
195
+ __VLS_styleScopedClasses['mc-no-data__actions'];
196
+ var __VLS_slots;
197
+ var __VLS_inheritedAttrs;
198
+ const __VLS_refs = {};
199
+ var $refs;
200
+ var $el;
201
+ return {
202
+ attrs: {},
203
+ slots: __VLS_slots,
204
+ refs: $refs,
205
+ rootEl: $el,
206
+ };
207
+ }
208
+ ;
209
+ const __VLS_self = (await import('vue')).defineComponent({
210
+ setup() {
211
+ return {
212
+ McTitle: McTitle,
213
+ McSvgIcon: McSvgIcon,
214
+ McButton: McButton,
215
+ HorizontalAlignment: HorizontalAlignment,
216
+ TitleVariations: TitleVariations,
217
+ btnAttrs: btnAttrs,
218
+ btnListeners: btnListeners,
219
+ titleExtraProps: titleExtraProps,
220
+ classes: classes,
221
+ };
222
+ },
223
+ __typeEmits: {},
224
+ props: {
225
+ img: {
226
+ type: String,
227
+ default: noTableDataImg,
228
+ },
229
+ icon: {
230
+ type: String,
231
+ default: null
232
+ },
233
+ title: {
234
+ type: String,
235
+ default: ''
236
+ },
237
+ text: {
238
+ type: String,
239
+ default: ''
240
+ },
241
+ href: {
242
+ type: String,
243
+ default: ''
244
+ },
245
+ btnName: {
246
+ type: String,
247
+ default: ''
248
+ },
249
+ noAction: {
250
+ type: Boolean,
251
+ default: false
252
+ },
253
+ loading: {
254
+ type: Boolean,
255
+ default: false
256
+ },
257
+ /**
258
+ * Вариант блока
259
+ * small - стандартный, небольшие отступы
260
+ * large - большие отступы (напр. для табов в админке) + немного меняются дефолтные шрифты тайтла
261
+ * */
262
+ variation: {
263
+ type: String,
264
+ default: 'small'
265
+ }
266
+ },
267
+ });
268
+ const __VLS_component = (await import('vue')).defineComponent({
269
+ setup() {
270
+ return {};
271
+ },
272
+ __typeEmits: {},
273
+ props: {
274
+ img: {
275
+ type: String,
276
+ default: noTableDataImg,
277
+ },
278
+ icon: {
279
+ type: String,
280
+ default: null
281
+ },
282
+ title: {
283
+ type: String,
284
+ default: ''
285
+ },
286
+ text: {
287
+ type: String,
288
+ default: ''
289
+ },
290
+ href: {
291
+ type: String,
292
+ default: ''
293
+ },
294
+ btnName: {
295
+ type: String,
296
+ default: ''
297
+ },
298
+ noAction: {
299
+ type: Boolean,
300
+ default: false
301
+ },
302
+ loading: {
303
+ type: Boolean,
304
+ default: false
305
+ },
306
+ /**
307
+ * Вариант блока
308
+ * small - стандартный, небольшие отступы
309
+ * large - большие отступы (напр. для табов в админке) + немного меняются дефолтные шрифты тайтла
310
+ * */
311
+ variation: {
312
+ type: String,
313
+ default: 'small'
314
+ }
315
+ },
316
+ __typeEl: {},
317
+ });
318
+ export default {};
319
+ ; /* PartiallyEnd: #4569/main.vue */
@@ -0,0 +1,367 @@
1
+ import McTitle from '@/components/elements/McTitle/McTitle.vue';
2
+ import McSvgIcon from '@/components/elements/McSvgIcon/McSvgIcon.vue';
3
+ import McButton from '@/components/elements/McButton/McButton.vue';
4
+ import McPreview from '@/components/patterns/McPreview/McPreview.vue';
5
+ import { computed } from 'vue';
6
+ import { Colors } from '@/types/styles/Colors';
7
+ import { Weights } from '@/enums/ui/Weights';
8
+ const { defineProps, defineSlots, defineEmits, defineExpose, defineModel, defineOptions, withDefaults, } = await import('vue');
9
+ const emit = defineEmits(['click']);
10
+ const props = defineProps({
11
+ /**
12
+ * Дизайн:
13
+ * purple, red, orange и т.д.
14
+ */
15
+ variation: {
16
+ type: String,
17
+ default: 'purple',
18
+ },
19
+ /**
20
+ * Заголовок блока
21
+ */
22
+ title: {
23
+ type: String,
24
+ },
25
+ /**
26
+ * Содержимое блока
27
+ */
28
+ content: {
29
+ type: String,
30
+ default: null,
31
+ },
32
+ /**
33
+ * Отобразить кнопку внтури блока
34
+ */
35
+ buttonVisible: {
36
+ type: Boolean,
37
+ default: false,
38
+ },
39
+ /**
40
+ * Текст кнопки
41
+ */
42
+ buttonText: {
43
+ type: String,
44
+ default: '',
45
+ },
46
+ /**
47
+ * Название иконки
48
+ */
49
+ iconName: {
50
+ type: String,
51
+ default: 'info',
52
+ },
53
+ /**
54
+ * Отображать иконку
55
+ */
56
+ iconVisible: {
57
+ type: Boolean,
58
+ default: true,
59
+ },
60
+ });
61
+ const styles = computed(() => {
62
+ return {
63
+ '--mc-notification-color': Colors[props.variation],
64
+ };
65
+ });
66
+ const handleClick = (e) => {
67
+ /**
68
+ * Событие клика по кнопке
69
+ */
70
+ emit('click', e);
71
+ }; /* PartiallyEnd: #3632/scriptSetup.vue */
72
+ const __VLS_fnComponent = (await import('vue')).defineComponent({
73
+ props: {
74
+ /**
75
+ * Дизайн:
76
+ * purple, red, orange и т.д.
77
+ */
78
+ variation: {
79
+ type: String,
80
+ default: 'purple',
81
+ },
82
+ /**
83
+ * Заголовок блока
84
+ */
85
+ title: {
86
+ type: String,
87
+ },
88
+ /**
89
+ * Содержимое блока
90
+ */
91
+ content: {
92
+ type: String,
93
+ default: null,
94
+ },
95
+ /**
96
+ * Отобразить кнопку внтури блока
97
+ */
98
+ buttonVisible: {
99
+ type: Boolean,
100
+ default: false,
101
+ },
102
+ /**
103
+ * Текст кнопки
104
+ */
105
+ buttonText: {
106
+ type: String,
107
+ default: '',
108
+ },
109
+ /**
110
+ * Название иконки
111
+ */
112
+ iconName: {
113
+ type: String,
114
+ default: 'info',
115
+ },
116
+ /**
117
+ * Отображать иконку
118
+ */
119
+ iconVisible: {
120
+ type: Boolean,
121
+ default: true,
122
+ },
123
+ },
124
+ emits: {},
125
+ });
126
+ ;
127
+ let __VLS_functionalComponentProps;
128
+ function __VLS_template() {
129
+ const __VLS_ctx = {};
130
+ const __VLS_localComponents = {
131
+ ...{},
132
+ ...{},
133
+ ...__VLS_ctx,
134
+ };
135
+ let __VLS_components;
136
+ const __VLS_localDirectives = {
137
+ ...{},
138
+ ...__VLS_ctx,
139
+ };
140
+ let __VLS_directives;
141
+ let __VLS_styleScopedClasses;
142
+ // CSS variable injection
143
+ // CSS variable injection end
144
+ let __VLS_resolvedLocalAndGlobalComponents;
145
+ __VLS_elementAsFunction(__VLS_intrinsicElements.div, __VLS_intrinsicElements.div)({ ...{ class: ("mc-notification") }, ...{ style: ((__VLS_ctx.styles)) }, });
146
+ __VLS_elementAsFunction(__VLS_intrinsicElements.div, __VLS_intrinsicElements.div)({ ...{ class: ("mc-notification__inner") }, });
147
+ // @ts-ignore
148
+ [McPreview, McPreview,];
149
+ // @ts-ignore
150
+ const __VLS_0 = __VLS_asFunctionalComponent(McPreview, new McPreview({}));
151
+ const __VLS_1 = __VLS_0({}, ...__VLS_functionalComponentArgsRest(__VLS_0));
152
+ if (props.iconVisible && (__VLS_ctx.$slots.left || props.iconName)) {
153
+ __VLS_elementAsFunction(__VLS_intrinsicElements.template, __VLS_intrinsicElements.template)({});
154
+ {
155
+ const { left: __VLS_thisSlot } = __VLS_nonNullable(__VLS_4.slots);
156
+ var __VLS_5 = {};
157
+ // @ts-ignore
158
+ [McSvgIcon,];
159
+ // @ts-ignore
160
+ const __VLS_6 = __VLS_asFunctionalComponent(McSvgIcon, new McSvgIcon({ name: ((props.iconName)), size: ("300"), }));
161
+ const __VLS_7 = __VLS_6({ name: ((props.iconName)), size: ("300"), }, ...__VLS_functionalComponentArgsRest(__VLS_6));
162
+ __VLS_nonNullable(__VLS_4.slots).default;
163
+ }
164
+ }
165
+ if (__VLS_ctx.$slots.header || props.title) {
166
+ __VLS_elementAsFunction(__VLS_intrinsicElements.template, __VLS_intrinsicElements.template)({});
167
+ {
168
+ const { top: __VLS_thisSlot } = __VLS_nonNullable(__VLS_4.slots);
169
+ var __VLS_11 = {};
170
+ if (props.title) {
171
+ // @ts-ignore
172
+ [McTitle, McTitle,];
173
+ // @ts-ignore
174
+ const __VLS_12 = __VLS_asFunctionalComponent(McTitle, new McTitle({ color: ((props.variation)), weight: ((__VLS_ctx.Weights.SemiBold)), ...{ class: ("mc-notification__title") }, }));
175
+ const __VLS_13 = __VLS_12({ color: ((props.variation)), weight: ((__VLS_ctx.Weights.SemiBold)), ...{ class: ("mc-notification__title") }, }, ...__VLS_functionalComponentArgsRest(__VLS_12));
176
+ (props.title);
177
+ __VLS_nonNullable(__VLS_16.slots).default;
178
+ var __VLS_16;
179
+ }
180
+ __VLS_nonNullable(__VLS_4.slots).default;
181
+ }
182
+ }
183
+ if (props.content || __VLS_ctx.$slots.default) {
184
+ __VLS_elementAsFunction(__VLS_intrinsicElements.template, __VLS_intrinsicElements.template)({});
185
+ {
186
+ const { bottom: __VLS_thisSlot } = __VLS_nonNullable(__VLS_4.slots);
187
+ __VLS_elementAsFunction(__VLS_intrinsicElements.div, __VLS_intrinsicElements.div)({ ...{ class: ("mc-notification__text") }, });
188
+ var __VLS_17 = {};
189
+ // @ts-ignore
190
+ [McTitle, McTitle,];
191
+ // @ts-ignore
192
+ const __VLS_18 = __VLS_asFunctionalComponent(McTitle, new McTitle({ color: ((props.variation)), }));
193
+ const __VLS_19 = __VLS_18({ color: ((props.variation)), }, ...__VLS_functionalComponentArgsRest(__VLS_18));
194
+ (props.content);
195
+ __VLS_nonNullable(__VLS_22.slots).default;
196
+ var __VLS_22;
197
+ __VLS_nonNullable(__VLS_4.slots).default;
198
+ }
199
+ }
200
+ if (__VLS_ctx.$slots.right || props.buttonVisible) {
201
+ __VLS_elementAsFunction(__VLS_intrinsicElements.template, __VLS_intrinsicElements.template)({});
202
+ {
203
+ const { right: __VLS_thisSlot } = __VLS_nonNullable(__VLS_4.slots);
204
+ var __VLS_23 = {};
205
+ if (props.buttonVisible) {
206
+ // @ts-ignore
207
+ [McButton, McButton,];
208
+ // @ts-ignore
209
+ const __VLS_24 = __VLS_asFunctionalComponent(McButton, new McButton({ ...{ 'onClick': {} }, variation: ((props.variation)), ...{ class: ("mc-notification__button") }, }));
210
+ const __VLS_25 = __VLS_24({ ...{ 'onClick': {} }, variation: ((props.variation)), ...{ class: ("mc-notification__button") }, }, ...__VLS_functionalComponentArgsRest(__VLS_24));
211
+ let __VLS_29;
212
+ const __VLS_30 = {
213
+ onClick: (__VLS_ctx.handleClick)
214
+ };
215
+ let __VLS_26;
216
+ let __VLS_27;
217
+ (props.buttonText);
218
+ __VLS_nonNullable(__VLS_28.slots).default;
219
+ var __VLS_28;
220
+ }
221
+ __VLS_nonNullable(__VLS_4.slots).default;
222
+ }
223
+ }
224
+ var __VLS_4;
225
+ __VLS_styleScopedClasses['mc-notification'];
226
+ __VLS_styleScopedClasses['mc-notification__inner'];
227
+ __VLS_styleScopedClasses['mc-notification__title'];
228
+ __VLS_styleScopedClasses['mc-notification__text'];
229
+ __VLS_styleScopedClasses['mc-notification__button'];
230
+ var __VLS_slots;
231
+ var __VLS_inheritedAttrs;
232
+ const __VLS_refs = {};
233
+ var $refs;
234
+ var $el;
235
+ return {
236
+ attrs: {},
237
+ slots: __VLS_slots,
238
+ refs: $refs,
239
+ rootEl: $el,
240
+ };
241
+ }
242
+ ;
243
+ const __VLS_self = (await import('vue')).defineComponent({
244
+ setup() {
245
+ return {
246
+ McTitle: McTitle,
247
+ McSvgIcon: McSvgIcon,
248
+ McButton: McButton,
249
+ McPreview: McPreview,
250
+ Weights: Weights,
251
+ styles: styles,
252
+ handleClick: handleClick,
253
+ };
254
+ },
255
+ emits: {},
256
+ props: {
257
+ /**
258
+ * Дизайн:
259
+ * purple, red, orange и т.д.
260
+ */
261
+ variation: {
262
+ type: String,
263
+ default: 'purple',
264
+ },
265
+ /**
266
+ * Заголовок блока
267
+ */
268
+ title: {
269
+ type: String,
270
+ },
271
+ /**
272
+ * Содержимое блока
273
+ */
274
+ content: {
275
+ type: String,
276
+ default: null,
277
+ },
278
+ /**
279
+ * Отобразить кнопку внтури блока
280
+ */
281
+ buttonVisible: {
282
+ type: Boolean,
283
+ default: false,
284
+ },
285
+ /**
286
+ * Текст кнопки
287
+ */
288
+ buttonText: {
289
+ type: String,
290
+ default: '',
291
+ },
292
+ /**
293
+ * Название иконки
294
+ */
295
+ iconName: {
296
+ type: String,
297
+ default: 'info',
298
+ },
299
+ /**
300
+ * Отображать иконку
301
+ */
302
+ iconVisible: {
303
+ type: Boolean,
304
+ default: true,
305
+ },
306
+ },
307
+ });
308
+ const __VLS_component = (await import('vue')).defineComponent({
309
+ setup() {
310
+ return {};
311
+ },
312
+ emits: {},
313
+ props: {
314
+ /**
315
+ * Дизайн:
316
+ * purple, red, orange и т.д.
317
+ */
318
+ variation: {
319
+ type: String,
320
+ default: 'purple',
321
+ },
322
+ /**
323
+ * Заголовок блока
324
+ */
325
+ title: {
326
+ type: String,
327
+ },
328
+ /**
329
+ * Содержимое блока
330
+ */
331
+ content: {
332
+ type: String,
333
+ default: null,
334
+ },
335
+ /**
336
+ * Отобразить кнопку внтури блока
337
+ */
338
+ buttonVisible: {
339
+ type: Boolean,
340
+ default: false,
341
+ },
342
+ /**
343
+ * Текст кнопки
344
+ */
345
+ buttonText: {
346
+ type: String,
347
+ default: '',
348
+ },
349
+ /**
350
+ * Название иконки
351
+ */
352
+ iconName: {
353
+ type: String,
354
+ default: 'info',
355
+ },
356
+ /**
357
+ * Отображать иконку
358
+ */
359
+ iconVisible: {
360
+ type: Boolean,
361
+ default: true,
362
+ },
363
+ },
364
+ __typeEl: {},
365
+ });
366
+ export default {};
367
+ ; /* PartiallyEnd: #4569/main.vue */