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,361 +0,0 @@
1
- import { computed } from 'vue';
2
- import { Colors } from '@/types/styles/Colors';
3
- import { useFieldErrors } from '@/composables';
4
- const { defineProps, defineSlots, defineEmits, defineExpose, defineModel, defineOptions, withDefaults, } = await import('vue');
5
- const props = defineProps({
6
- /**
7
- * Процент
8
- *
9
- */
10
- percent: {
11
- type: Number,
12
- default: 0
13
- },
14
- /**
15
- * Число для отображения, если не укказано, используется процент
16
- *
17
- */
18
- amount: {
19
- type: [String, Number, Boolean],
20
- default: null
21
- },
22
- /**
23
- * Цвет
24
- *
25
- */
26
- color: {
27
- type: String,
28
- default: 'dark-gray'
29
- },
30
- /**
31
- * Цвет текста
32
- *
33
- */
34
- helpTextColor: {
35
- type: String,
36
- default: 'gray'
37
- },
38
- /**
39
- * Вспомогательный текст
40
- */
41
- helpText: {
42
- type: String,
43
- default: ''
44
- },
45
- /**
46
- * Ошибки
47
- */
48
- errors: {
49
- type: Array,
50
- default: () => []
51
- },
52
- /**
53
- * Поменять местами подписи
54
- */
55
- reverseHeaders: {
56
- type: Boolean,
57
- default: false
58
- },
59
- /**
60
- * Использовать моноширинный шрифт для percent и amount
61
- */
62
- monospaceNumbers: {
63
- type: Boolean,
64
- default: false
65
- }
66
- });
67
- const fieldErrors = useFieldErrors(props.errors);
68
- const wrapperClasses = computed(() => ({
69
- 'mc-progress': true,
70
- 'mc-progress--error': fieldErrors.errorText.value
71
- }));
72
- const topClasses = computed(() => ({
73
- 'mc-progress__top': true,
74
- 'mc-progress__top--reverse-headers': props.reverseHeaders
75
- }));
76
- const percentClasses = computed(() => ({
77
- 'mc-progress__percent': true,
78
- 'mc-progress__percent--monospace': props.monospaceNumbers
79
- }));
80
- const lineClasses = computed(() => ({
81
- 'mc-progress__line': true
82
- }));
83
- const styles = computed(() => {
84
- return {
85
- '--mc-progress-color': Colors[props.color]
86
- };
87
- });
88
- const helpTextStyles = computed(() => {
89
- return {
90
- '--mc-progress-help-text-color': Colors[props.helpTextColor]
91
- };
92
- });
93
- const lineStyles = computed(() => {
94
- return {
95
- width: `${fieldErrors.errorText.value ? 2 : Math.sign(props.percent) > 0 ? props.percent : 0}%`
96
- };
97
- });
98
- const percentValue = computed(() => {
99
- if (fieldErrors.errorText.value)
100
- return 0;
101
- return props.amount ?? `${props.percent}%`;
102
- }); /* PartiallyEnd: #3632/scriptSetup.vue */
103
- const __VLS_fnComponent = (await import('vue')).defineComponent({
104
- props: {
105
- /**
106
- * Процент
107
- *
108
- */
109
- percent: {
110
- type: Number,
111
- default: 0
112
- },
113
- /**
114
- * Число для отображения, если не укказано, используется процент
115
- *
116
- */
117
- amount: {
118
- type: [String, Number, Boolean],
119
- default: null
120
- },
121
- /**
122
- * Цвет
123
- *
124
- */
125
- color: {
126
- type: String,
127
- default: 'dark-gray'
128
- },
129
- /**
130
- * Цвет текста
131
- *
132
- */
133
- helpTextColor: {
134
- type: String,
135
- default: 'gray'
136
- },
137
- /**
138
- * Вспомогательный текст
139
- */
140
- helpText: {
141
- type: String,
142
- default: ''
143
- },
144
- /**
145
- * Ошибки
146
- */
147
- errors: {
148
- type: Array,
149
- default: () => []
150
- },
151
- /**
152
- * Поменять местами подписи
153
- */
154
- reverseHeaders: {
155
- type: Boolean,
156
- default: false
157
- },
158
- /**
159
- * Использовать моноширинный шрифт для percent и amount
160
- */
161
- monospaceNumbers: {
162
- type: Boolean,
163
- default: false
164
- }
165
- },
166
- });
167
- ;
168
- let __VLS_functionalComponentProps;
169
- function __VLS_template() {
170
- const __VLS_ctx = {};
171
- const __VLS_localComponents = {
172
- ...{},
173
- ...{},
174
- ...__VLS_ctx,
175
- };
176
- let __VLS_components;
177
- const __VLS_localDirectives = {
178
- ...{},
179
- ...__VLS_ctx,
180
- };
181
- let __VLS_directives;
182
- let __VLS_styleScopedClasses;
183
- // CSS variable injection
184
- // CSS variable injection end
185
- let __VLS_resolvedLocalAndGlobalComponents;
186
- __VLS_elementAsFunction(__VLS_intrinsicElements.div, __VLS_intrinsicElements.div)({ ...{ class: ((__VLS_ctx.wrapperClasses)) }, ...{ style: ((__VLS_ctx.styles)) }, });
187
- __VLS_elementAsFunction(__VLS_intrinsicElements.div, __VLS_intrinsicElements.div)({ ...{ class: ((__VLS_ctx.topClasses)) }, });
188
- __VLS_elementAsFunction(__VLS_intrinsicElements.div, __VLS_intrinsicElements.div)({ ...{ class: ((__VLS_ctx.percentClasses)) }, });
189
- (__VLS_ctx.percentValue);
190
- if (props.helpText) {
191
- __VLS_elementAsFunction(__VLS_intrinsicElements.div, __VLS_intrinsicElements.div)({ ...{ class: ("mc-progress__help-text") }, ...{ style: ((__VLS_ctx.helpTextStyles)) }, });
192
- (props.helpText);
193
- }
194
- __VLS_elementAsFunction(__VLS_intrinsicElements.div, __VLS_intrinsicElements.div)({ ...{ class: ("mc-progress__wrapper-line") }, });
195
- __VLS_elementAsFunction(__VLS_intrinsicElements.div, __VLS_intrinsicElements.div)({ ...{ class: ((__VLS_ctx.lineClasses)) }, ...{ style: ((__VLS_ctx.lineStyles)) }, });
196
- if (__VLS_ctx.fieldErrors.errorText.value) {
197
- __VLS_elementAsFunction(__VLS_intrinsicElements.div, __VLS_intrinsicElements.div)({ ...{ class: ("mc-progress__errors-container") }, });
198
- (__VLS_ctx.fieldErrors.errorText.value);
199
- }
200
- __VLS_styleScopedClasses['mc-progress__help-text'];
201
- __VLS_styleScopedClasses['mc-progress__wrapper-line'];
202
- __VLS_styleScopedClasses['mc-progress__errors-container'];
203
- var __VLS_slots;
204
- var __VLS_inheritedAttrs;
205
- const __VLS_refs = {};
206
- var $refs;
207
- var $el;
208
- return {
209
- attrs: {},
210
- slots: __VLS_slots,
211
- refs: $refs,
212
- rootEl: $el,
213
- };
214
- }
215
- ;
216
- const __VLS_self = (await import('vue')).defineComponent({
217
- setup() {
218
- return {
219
- fieldErrors: fieldErrors,
220
- wrapperClasses: wrapperClasses,
221
- topClasses: topClasses,
222
- percentClasses: percentClasses,
223
- lineClasses: lineClasses,
224
- styles: styles,
225
- helpTextStyles: helpTextStyles,
226
- lineStyles: lineStyles,
227
- percentValue: percentValue,
228
- };
229
- },
230
- props: {
231
- /**
232
- * Процент
233
- *
234
- */
235
- percent: {
236
- type: Number,
237
- default: 0
238
- },
239
- /**
240
- * Число для отображения, если не укказано, используется процент
241
- *
242
- */
243
- amount: {
244
- type: [String, Number, Boolean],
245
- default: null
246
- },
247
- /**
248
- * Цвет
249
- *
250
- */
251
- color: {
252
- type: String,
253
- default: 'dark-gray'
254
- },
255
- /**
256
- * Цвет текста
257
- *
258
- */
259
- helpTextColor: {
260
- type: String,
261
- default: 'gray'
262
- },
263
- /**
264
- * Вспомогательный текст
265
- */
266
- helpText: {
267
- type: String,
268
- default: ''
269
- },
270
- /**
271
- * Ошибки
272
- */
273
- errors: {
274
- type: Array,
275
- default: () => []
276
- },
277
- /**
278
- * Поменять местами подписи
279
- */
280
- reverseHeaders: {
281
- type: Boolean,
282
- default: false
283
- },
284
- /**
285
- * Использовать моноширинный шрифт для percent и amount
286
- */
287
- monospaceNumbers: {
288
- type: Boolean,
289
- default: false
290
- }
291
- },
292
- });
293
- export default (await import('vue')).defineComponent({
294
- setup() {
295
- return {};
296
- },
297
- props: {
298
- /**
299
- * Процент
300
- *
301
- */
302
- percent: {
303
- type: Number,
304
- default: 0
305
- },
306
- /**
307
- * Число для отображения, если не укказано, используется процент
308
- *
309
- */
310
- amount: {
311
- type: [String, Number, Boolean],
312
- default: null
313
- },
314
- /**
315
- * Цвет
316
- *
317
- */
318
- color: {
319
- type: String,
320
- default: 'dark-gray'
321
- },
322
- /**
323
- * Цвет текста
324
- *
325
- */
326
- helpTextColor: {
327
- type: String,
328
- default: 'gray'
329
- },
330
- /**
331
- * Вспомогательный текст
332
- */
333
- helpText: {
334
- type: String,
335
- default: ''
336
- },
337
- /**
338
- * Ошибки
339
- */
340
- errors: {
341
- type: Array,
342
- default: () => []
343
- },
344
- /**
345
- * Поменять местами подписи
346
- */
347
- reverseHeaders: {
348
- type: Boolean,
349
- default: false
350
- },
351
- /**
352
- * Использовать моноширинный шрифт для percent и amount
353
- */
354
- monospaceNumbers: {
355
- type: Boolean,
356
- default: false
357
- }
358
- },
359
- __typeEl: {},
360
- });
361
- ; /* PartiallyEnd: #4569/main.vue */
@@ -1,325 +0,0 @@
1
- import { computed } from 'vue';
2
- import { Colors } from '@/types/styles/Colors';
3
- import { Spaces } from '@/types/styles/Spaces';
4
- const { defineProps, defineSlots, defineEmits, defineExpose, defineModel, defineOptions, withDefaults, } = await import('vue');
5
- const props = defineProps({
6
- /**
7
- * Толщина `s, m`
8
- */
9
- weight: {
10
- type: String,
11
- default: 's',
12
- },
13
- /**
14
- * Цвет (токены)
15
- */
16
- color: {
17
- type: String,
18
- default: 'outline-gray',
19
- },
20
- /**
21
- * Отступ слева и справа: 50, 200... ...1000
22
- */
23
- indentX: {
24
- type: String,
25
- default: '',
26
- },
27
- /**
28
- * Отступ сверху и снизу: 50, 200... ...1000
29
- */
30
- indentY: {
31
- type: String,
32
- default: '',
33
- },
34
- /**
35
- * Отступ сверху: 50, 200... ...1000
36
- */
37
- indentTop: {
38
- type: String,
39
- default: '',
40
- },
41
- /**
42
- * Отступ снизу: 50, 200... ...1000
43
- */
44
- indentBottom: {
45
- type: String,
46
- default: '',
47
- },
48
- /**
49
- * Отступ слева: 50, 200... ...1000
50
- */
51
- indentLeft: {
52
- type: String,
53
- default: '',
54
- },
55
- /**
56
- * Отступ справа: 50, 200... ...1000
57
- */
58
- indentRight: {
59
- type: String,
60
- default: '',
61
- },
62
- });
63
- const indents = computed(() => ({
64
- top: props.indentTop || props.indentY,
65
- bottom: props.indentBottom || props.indentY,
66
- left: props.indentLeft || props.indentX,
67
- right: props.indentRight || props.indentX,
68
- }));
69
- const classes = computed(() => ({
70
- 'mc-separator': true,
71
- }));
72
- const styles = computed(() => {
73
- let style = {};
74
- if (props.color)
75
- style['--mc-separator-color'] = Colors[props.color];
76
- if (indents.value.top)
77
- style['--mc-separator-indent-top'] = Spaces[indents.value.top];
78
- if (indents.value.bottom)
79
- style['--mc-separator-indent-bottom'] = Spaces[indents.value.bottom];
80
- if (indents.value.left)
81
- style['--mc-separator-indent-left'] = Spaces[indents.value.left];
82
- if (indents.value.right)
83
- style['--mc-separator-indent-right'] = Spaces[indents.value.right];
84
- let weight;
85
- switch (props.weight) {
86
- case 's': {
87
- weight = '1px';
88
- break;
89
- }
90
- case 'm': {
91
- weight = '2px';
92
- }
93
- }
94
- if (weight)
95
- style['--mc-separator-weight'] = weight;
96
- return style;
97
- }); /* PartiallyEnd: #3632/scriptSetup.vue */
98
- const __VLS_fnComponent = (await import('vue')).defineComponent({
99
- props: {
100
- /**
101
- * Толщина `s, m`
102
- */
103
- weight: {
104
- type: String,
105
- default: 's',
106
- },
107
- /**
108
- * Цвет (токены)
109
- */
110
- color: {
111
- type: String,
112
- default: 'outline-gray',
113
- },
114
- /**
115
- * Отступ слева и справа: 50, 200... ...1000
116
- */
117
- indentX: {
118
- type: String,
119
- default: '',
120
- },
121
- /**
122
- * Отступ сверху и снизу: 50, 200... ...1000
123
- */
124
- indentY: {
125
- type: String,
126
- default: '',
127
- },
128
- /**
129
- * Отступ сверху: 50, 200... ...1000
130
- */
131
- indentTop: {
132
- type: String,
133
- default: '',
134
- },
135
- /**
136
- * Отступ снизу: 50, 200... ...1000
137
- */
138
- indentBottom: {
139
- type: String,
140
- default: '',
141
- },
142
- /**
143
- * Отступ слева: 50, 200... ...1000
144
- */
145
- indentLeft: {
146
- type: String,
147
- default: '',
148
- },
149
- /**
150
- * Отступ справа: 50, 200... ...1000
151
- */
152
- indentRight: {
153
- type: String,
154
- default: '',
155
- },
156
- },
157
- });
158
- ;
159
- let __VLS_functionalComponentProps;
160
- function __VLS_template() {
161
- const __VLS_ctx = {};
162
- const __VLS_localComponents = {
163
- ...{},
164
- ...{},
165
- ...__VLS_ctx,
166
- };
167
- let __VLS_components;
168
- const __VLS_localDirectives = {
169
- ...{},
170
- ...__VLS_ctx,
171
- };
172
- let __VLS_directives;
173
- let __VLS_styleScopedClasses;
174
- // CSS variable injection
175
- // CSS variable injection end
176
- let __VLS_resolvedLocalAndGlobalComponents;
177
- __VLS_elementAsFunction(__VLS_intrinsicElements.div, __VLS_intrinsicElements.div)({ ...{ class: ((__VLS_ctx.classes)) }, ...{ style: ((__VLS_ctx.styles)) }, });
178
- __VLS_elementAsFunction(__VLS_intrinsicElements.div, __VLS_intrinsicElements.div)({ ...{ class: ("mc-separator__wrapper") }, });
179
- var __VLS_0 = {};
180
- __VLS_styleScopedClasses['mc-separator__wrapper'];
181
- var __VLS_slots;
182
- var __VLS_inheritedAttrs;
183
- const __VLS_refs = {};
184
- var $refs;
185
- var $el;
186
- return {
187
- attrs: {},
188
- slots: __VLS_slots,
189
- refs: $refs,
190
- rootEl: $el,
191
- };
192
- }
193
- ;
194
- const __VLS_self = (await import('vue')).defineComponent({
195
- setup() {
196
- return {
197
- classes: classes,
198
- styles: styles,
199
- };
200
- },
201
- props: {
202
- /**
203
- * Толщина `s, m`
204
- */
205
- weight: {
206
- type: String,
207
- default: 's',
208
- },
209
- /**
210
- * Цвет (токены)
211
- */
212
- color: {
213
- type: String,
214
- default: 'outline-gray',
215
- },
216
- /**
217
- * Отступ слева и справа: 50, 200... ...1000
218
- */
219
- indentX: {
220
- type: String,
221
- default: '',
222
- },
223
- /**
224
- * Отступ сверху и снизу: 50, 200... ...1000
225
- */
226
- indentY: {
227
- type: String,
228
- default: '',
229
- },
230
- /**
231
- * Отступ сверху: 50, 200... ...1000
232
- */
233
- indentTop: {
234
- type: String,
235
- default: '',
236
- },
237
- /**
238
- * Отступ снизу: 50, 200... ...1000
239
- */
240
- indentBottom: {
241
- type: String,
242
- default: '',
243
- },
244
- /**
245
- * Отступ слева: 50, 200... ...1000
246
- */
247
- indentLeft: {
248
- type: String,
249
- default: '',
250
- },
251
- /**
252
- * Отступ справа: 50, 200... ...1000
253
- */
254
- indentRight: {
255
- type: String,
256
- default: '',
257
- },
258
- },
259
- });
260
- const __VLS_component = (await import('vue')).defineComponent({
261
- setup() {
262
- return {};
263
- },
264
- props: {
265
- /**
266
- * Толщина `s, m`
267
- */
268
- weight: {
269
- type: String,
270
- default: 's',
271
- },
272
- /**
273
- * Цвет (токены)
274
- */
275
- color: {
276
- type: String,
277
- default: 'outline-gray',
278
- },
279
- /**
280
- * Отступ слева и справа: 50, 200... ...1000
281
- */
282
- indentX: {
283
- type: String,
284
- default: '',
285
- },
286
- /**
287
- * Отступ сверху и снизу: 50, 200... ...1000
288
- */
289
- indentY: {
290
- type: String,
291
- default: '',
292
- },
293
- /**
294
- * Отступ сверху: 50, 200... ...1000
295
- */
296
- indentTop: {
297
- type: String,
298
- default: '',
299
- },
300
- /**
301
- * Отступ снизу: 50, 200... ...1000
302
- */
303
- indentBottom: {
304
- type: String,
305
- default: '',
306
- },
307
- /**
308
- * Отступ слева: 50, 200... ...1000
309
- */
310
- indentLeft: {
311
- type: String,
312
- default: '',
313
- },
314
- /**
315
- * Отступ справа: 50, 200... ...1000
316
- */
317
- indentRight: {
318
- type: String,
319
- default: '',
320
- },
321
- },
322
- __typeEl: {},
323
- });
324
- export default {};
325
- ; /* PartiallyEnd: #4569/main.vue */