mediacube-ui-v2 0.0.32 → 0.0.34

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