mediacube-ui-v2 0.0.33 → 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 (344) hide show
  1. package/dist/src/App.vue.d.ts +1 -1
  2. package/dist/src/App.vue.d.ts.map +1 -1
  3. package/dist/src/assets/tokens/json/animations.json.d.ts +8 -0
  4. package/dist/src/assets/tokens/json/border-radius.json.d.ts +26 -0
  5. package/dist/src/assets/tokens/json/box-shadows.json.d.ts +26 -0
  6. package/dist/src/assets/tokens/json/colors.json.d.ts +73 -0
  7. package/dist/src/assets/tokens/json/durations.json.d.ts +12 -0
  8. package/dist/src/assets/tokens/json/easings.json.d.ts +5 -0
  9. package/dist/src/assets/tokens/json/font-families.json.d.ts +6 -0
  10. package/dist/src/assets/tokens/json/font-sizes.json.d.ts +20 -0
  11. package/dist/src/assets/tokens/json/font-weights.json.d.ts +14 -0
  12. package/dist/src/assets/tokens/json/gradients.json.d.ts +15 -0
  13. package/dist/src/assets/tokens/json/index.d.ts +17 -17
  14. package/dist/src/assets/tokens/json/letter-spacings.json.d.ts +6 -0
  15. package/dist/src/assets/tokens/json/line-heights.json.d.ts +20 -0
  16. package/dist/src/assets/tokens/json/media-queries.json.d.ts +28 -0
  17. package/dist/src/assets/tokens/json/opacities.json.d.ts +7 -0
  18. package/dist/src/assets/tokens/json/sizes.json.d.ts +44 -0
  19. package/dist/src/assets/tokens/json/spacings.json.d.ts +36 -0
  20. package/dist/src/assets/tokens/json/z-indexes.json.d.ts +14 -0
  21. package/dist/src/components/elements/McAvatar/McAvatar.vue.d.ts +5 -5
  22. package/dist/src/components/elements/McAvatar/McAvatar.vue.d.ts.map +1 -1
  23. package/dist/src/components/elements/McBadge/McBadge.vue.d.ts +3 -3
  24. package/dist/src/components/elements/McBadge/McBadge.vue.d.ts.map +1 -1
  25. package/dist/src/components/elements/McBottomLoader/McBottomLoader.vue.d.ts +3 -3
  26. package/dist/src/components/elements/McBottomLoader/McBottomLoader.vue.d.ts.map +1 -1
  27. package/dist/src/components/elements/McButton/McButton.vue.d.ts +9 -10
  28. package/dist/src/components/elements/McButton/McButton.vue.d.ts.map +1 -1
  29. package/dist/src/components/elements/McChip/McChip.vue.d.ts +6 -7
  30. package/dist/src/components/elements/McChip/McChip.vue.d.ts.map +1 -1
  31. package/dist/src/components/elements/McDatepicker/McDatepicker.vue.d.ts +1 -2
  32. package/dist/src/components/elements/McDatepicker/McDatepicker.vue.d.ts.map +1 -1
  33. package/dist/src/components/elements/McDraggable/McDraggable.vue.d.ts +4 -4
  34. package/dist/src/components/elements/McDraggable/McDraggable.vue.d.ts.map +1 -1
  35. package/dist/src/components/elements/McFieldCheckbox/McFieldCheckbox.vue.d.ts +1 -1
  36. package/dist/src/components/elements/McFieldCheckbox/McFieldCheckbox.vue.d.ts.map +1 -1
  37. package/dist/src/components/elements/McFieldRadio/McFieldRadio.vue.d.ts +8 -8
  38. package/dist/src/components/elements/McFieldRadio/McFieldRadio.vue.d.ts.map +1 -1
  39. package/dist/src/components/elements/McFieldRadioGroup/McFieldRadioGroup.vue.d.ts +1 -1
  40. package/dist/src/components/elements/McFieldRadioGroup/McFieldRadioGroup.vue.d.ts.map +1 -1
  41. package/dist/src/components/elements/McFieldRange/McFieldRange.vue.d.ts +6 -6
  42. package/dist/src/components/elements/McFieldRange/McFieldRange.vue.d.ts.map +1 -1
  43. package/dist/src/components/elements/McFieldSelect/McFieldSelect.vue.d.ts +8 -9
  44. package/dist/src/components/elements/McFieldSelect/McFieldSelect.vue.d.ts.map +1 -1
  45. package/dist/src/components/elements/McFieldText/McFieldText.vue.d.ts +9 -9
  46. package/dist/src/components/elements/McFieldText/McFieldText.vue.d.ts.map +1 -1
  47. package/dist/src/components/elements/McFieldToggle/McFieldToggle.vue.d.ts +6 -6
  48. package/dist/src/components/elements/McFieldToggle/McFieldToggle.vue.d.ts.map +1 -1
  49. package/dist/src/components/elements/McInfinityLoadingTrigger/McInfinityLoadingTrigger.vue.d.ts +4 -4
  50. package/dist/src/components/elements/McInfinityLoadingTrigger/McInfinityLoadingTrigger.vue.d.ts.map +1 -1
  51. package/dist/src/components/elements/McNodata/McNoData.vue.d.ts +5 -5
  52. package/dist/src/components/elements/McNodata/McNoData.vue.d.ts.map +1 -1
  53. package/dist/src/components/elements/McNotification/McNotification.vue.d.ts +5 -5
  54. package/dist/src/components/elements/McNotification/McNotification.vue.d.ts.map +1 -1
  55. package/dist/src/components/elements/McProgress/McProgress.vue.d.ts +5 -5
  56. package/dist/src/components/elements/McProgress/McProgress.vue.d.ts.map +1 -1
  57. package/dist/src/components/elements/McSeparator/McSeparator.vue.d.ts +4 -4
  58. package/dist/src/components/elements/McSeparator/McSeparator.vue.d.ts.map +1 -1
  59. package/dist/src/components/elements/McSlideUpDown/McSlideUpDown.vue.d.ts +5 -5
  60. package/dist/src/components/elements/McSlideUpDown/McSlideUpDown.vue.d.ts.map +1 -1
  61. package/dist/src/components/elements/McStack/McStack.vue.d.ts +4 -4
  62. package/dist/src/components/elements/McStack/McStack.vue.d.ts.map +1 -1
  63. package/dist/src/components/elements/McSvgIcon/McSvgIcon.vue.d.ts +9 -9
  64. package/dist/src/components/elements/McSvgIcon/McSvgIcon.vue.d.ts.map +1 -1
  65. package/dist/src/components/elements/McTitle/McTitle.vue.d.ts +7 -7
  66. package/dist/src/components/elements/McTitle/McTitle.vue.d.ts.map +1 -1
  67. package/dist/src/components/elements/McTooltip/McTooltip.vue.d.ts +6 -6
  68. package/dist/src/components/elements/McTooltip/McTooltip.vue.d.ts.map +1 -1
  69. package/dist/src/components/patterns/McAccordion/McAccordion.vue.d.ts +4 -4
  70. package/dist/src/components/patterns/McAccordion/McAccordion.vue.d.ts.map +1 -1
  71. package/dist/src/components/patterns/McCell/McCell.vue.d.ts +6 -6
  72. package/dist/src/components/patterns/McCell/McCell.vue.d.ts.map +1 -1
  73. package/dist/src/components/patterns/McCollapse/McCollapse.vue.d.ts +6 -6
  74. package/dist/src/components/patterns/McCollapse/McCollapse.vue.d.ts.map +1 -1
  75. package/dist/src/components/patterns/McDropdown/McDropdown.vue.d.ts +7 -7
  76. package/dist/src/components/patterns/McDropdown/McDropdown.vue.d.ts.map +1 -1
  77. package/dist/src/components/patterns/McDropdown/McDropdownPanel.vue.d.ts +4 -4
  78. package/dist/src/components/patterns/McDropdown/McDropdownPanel.vue.d.ts.map +1 -1
  79. package/dist/src/components/patterns/McFilter/McFilter.vue.d.ts +6 -6
  80. package/dist/src/components/patterns/McFilter/McFilter.vue.d.ts.map +1 -1
  81. package/dist/src/components/patterns/McFilter/McFilterChip/McFilterChip.vue.d.ts +6 -6
  82. package/dist/src/components/patterns/McFilter/McFilterChip/McFilterChip.vue.d.ts.map +1 -1
  83. package/dist/src/components/patterns/McFilter/McFilterTags/McFilterTags.vue.d.ts +6 -6
  84. package/dist/src/components/patterns/McFilter/McFilterTags/McFilterTags.vue.d.ts.map +1 -1
  85. package/dist/src/components/patterns/McFilter/McFilterTypeDate/McFilterTypeDate.vue.d.ts +6 -6
  86. package/dist/src/components/patterns/McFilter/McFilterTypeDate/McFilterTypeDate.vue.d.ts.map +1 -1
  87. package/dist/src/components/patterns/McFilter/McFilterTypeRange/McFilterTypeRange.vue.d.ts +6 -6
  88. package/dist/src/components/patterns/McFilter/McFilterTypeRange/McFilterTypeRange.vue.d.ts.map +1 -1
  89. package/dist/src/components/patterns/McFilter/McFilterTypeRelation/McFilterTypeRelation.vue.d.ts +6 -6
  90. package/dist/src/components/patterns/McFilter/McFilterTypeRelation/McFilterTypeRelation.vue.d.ts.map +1 -1
  91. package/dist/src/components/patterns/McFilter/McFilterTypeText/McFilterTypeText.vue.d.ts +6 -6
  92. package/dist/src/components/patterns/McFilter/McFilterTypeText/McFilterTypeText.vue.d.ts.map +1 -1
  93. package/dist/src/components/patterns/McGridCol/McGridCol.vue.d.ts +4 -4
  94. package/dist/src/components/patterns/McGridCol/McGridCol.vue.d.ts.map +1 -1
  95. package/dist/src/components/patterns/McGridRow/McGridRow.vue.d.ts +5 -5
  96. package/dist/src/components/patterns/McGridRow/McGridRow.vue.d.ts.map +1 -1
  97. package/dist/src/components/patterns/McOverlay/McOverlay.vue.d.ts +4 -4
  98. package/dist/src/components/patterns/McOverlay/McOverlay.vue.d.ts.map +1 -1
  99. package/dist/src/components/patterns/McPreview/McPreview.vue.d.ts +4 -4
  100. package/dist/src/components/patterns/McPreview/McPreview.vue.d.ts.map +1 -1
  101. package/dist/src/components/patterns/McSideBar/McSideBar.vue.d.ts +7 -7
  102. package/dist/src/components/patterns/McSideBar/McSideBar.vue.d.ts.map +1 -1
  103. package/dist/src/components/patterns/McSideBar/McSideBarBottom/McSideBarBottom.vue.d.ts +5 -5
  104. package/dist/src/components/patterns/McSideBar/McSideBarBottom/McSideBarBottom.vue.d.ts.map +1 -1
  105. package/dist/src/components/patterns/McSideBar/McSideBarButton/McSideBarButton.vue.d.ts +5 -5
  106. package/dist/src/components/patterns/McSideBar/McSideBarButton/McSideBarButton.vue.d.ts.map +1 -1
  107. package/dist/src/components/patterns/McSideBar/McSideBarCenter/McSideBarCenter.vue.d.ts +6 -6
  108. package/dist/src/components/patterns/McSideBar/McSideBarCenter/McSideBarCenter.vue.d.ts.map +1 -1
  109. package/dist/src/components/patterns/McSideBar/McSideBarTop/McSideBarTop.vue.d.ts +6 -6
  110. package/dist/src/components/patterns/McSideBar/McSideBarTop/McSideBarTop.vue.d.ts.map +1 -1
  111. package/dist/src/components/patterns/McTab/McTab.vue.d.ts +5 -5
  112. package/dist/src/components/patterns/McTab/McTab.vue.d.ts.map +1 -1
  113. package/dist/src/components/patterns/McTabs/McTabs.vue.d.ts +7 -8
  114. package/dist/src/components/patterns/McTabs/McTabs.vue.d.ts.map +1 -1
  115. package/dist/src/components/patterns/McWrapScroll/McWrapScroll.vue.d.ts +7 -7
  116. package/dist/src/components/patterns/McWrapScroll/McWrapScroll.vue.d.ts.map +1 -1
  117. package/dist/src/components/templates/McDrawer/McDrawer.vue.d.ts +7 -7
  118. package/dist/src/components/templates/McDrawer/McDrawer.vue.d.ts.map +1 -1
  119. package/dist/src/components/templates/McDrawer/McDrawerContainer.vue.d.ts +5 -5
  120. package/dist/src/components/templates/McDrawer/McDrawerContainer.vue.d.ts.map +1 -1
  121. package/dist/src/components/templates/McDrawer/McDrawerContentTemplate/McDrawerContentTemplate.vue.d.ts +4 -4
  122. package/dist/src/components/templates/McDrawer/McDrawerContentTemplate/McDrawerContentTemplate.vue.d.ts.map +1 -1
  123. package/dist/src/components/templates/McModal/McModal.vue.d.ts +7 -7
  124. package/dist/src/components/templates/McModal/McModal.vue.d.ts.map +1 -1
  125. package/dist/src/components/templates/McModal/McModalContainer.vue.d.ts +5 -5
  126. package/dist/src/components/templates/McModal/McModalContainer.vue.d.ts.map +1 -1
  127. package/dist/src/components/templates/McTable/McTable/McTable.vue.d.ts +7 -7
  128. package/dist/src/components/templates/McTable/McTable/McTable.vue.d.ts.map +1 -1
  129. package/dist/src/components/templates/McTable/McTableCard/McTableCard.vue.d.ts +6 -6
  130. package/dist/src/components/templates/McTable/McTableCard/McTableCard.vue.d.ts.map +1 -1
  131. package/dist/src/components/templates/McTable/McTableCard/McTableCardHeader/McTableCardHeader.vue.d.ts +4 -4
  132. package/dist/src/components/templates/McTable/McTableCard/McTableCardHeader/McTableCardHeader.vue.d.ts.map +1 -1
  133. package/dist/src/components/templates/McTable/McTableSkeletonLoading/McTableSkeletonLoading.vue.d.ts +5 -5
  134. package/dist/src/components/templates/McTable/McTableSkeletonLoading/McTableSkeletonLoading.vue.d.ts.map +1 -1
  135. package/dist/src/components/templates/McTable/McTableSort/McTableSort.vue.d.ts +6 -6
  136. package/dist/src/components/templates/McTable/McTableSort/McTableSort.vue.d.ts.map +1 -1
  137. package/dist/src/components/templates/McTopBar/McTopBar.vue.d.ts +4 -4
  138. package/dist/src/components/templates/McTopBar/McTopBar.vue.d.ts.map +1 -1
  139. package/dist/src/components/templates/McVirtualScroll/McVirtualScroll.vue.d.ts +4 -4
  140. package/dist/src/components/templates/McVirtualScroll/McVirtualScroll.vue.d.ts.map +1 -1
  141. package/dist/src/composables/index.d.ts +1 -1
  142. package/dist/src/composables/useDrawer.d.ts +1 -1
  143. package/dist/src/composables/useFieldErrors.d.ts +2 -2
  144. package/dist/src/composables/useTooltip.d.ts +1 -1
  145. package/dist/src/index.d.ts +2 -2
  146. package/dist/src/index.d.ts.map +1 -1
  147. package/dist/src/main.d.ts +0 -2
  148. package/dist/src/mocks/filterMocks.d.ts +1 -1
  149. package/dist/src/mocks/icons.json.d.ts +3 -0
  150. package/dist/src/mocks/sidebar.d.ts +1 -1
  151. package/dist/src/mocks/tableData.d.ts +1 -1
  152. package/dist/src/types/IButton.d.ts +5 -5
  153. package/dist/src/types/ICell.d.ts +1 -1
  154. package/dist/src/types/IChip.d.ts +2 -2
  155. package/dist/src/types/IDatepicker.d.ts +1 -1
  156. package/dist/src/types/IDirections.d.ts +1 -1
  157. package/dist/src/types/IDrawer.d.ts +2 -2
  158. package/dist/src/types/IDropdown.d.ts +1 -1
  159. package/dist/src/types/IFilter.d.ts +1 -1
  160. package/dist/src/types/IInput.d.ts +1 -1
  161. package/dist/src/types/IModal.d.ts +2 -2
  162. package/dist/src/types/IPreview.d.ts +1 -1
  163. package/dist/src/types/IRadio.d.ts +1 -1
  164. package/dist/src/types/IRadioGroup.d.ts +1 -1
  165. package/dist/src/types/ISelect.d.ts +1 -1
  166. package/dist/src/types/ISideBar.d.ts +5 -5
  167. package/dist/src/types/ITable.d.ts +2 -2
  168. package/dist/src/types/ITabs.d.ts +4 -4
  169. package/dist/src/types/ITitle.d.ts +1 -1
  170. package/dist/src/types/ITooltip.d.ts +1 -1
  171. package/dist/src/types/styles/Alignment.d.ts +1 -1
  172. package/dist/src/types/styles/Grid.d.ts +1 -1
  173. package/dist/src/types/styles/Weights.d.ts +1 -1
  174. package/dist/src/utils/mcGridColAdaptiveProps.d.ts +1 -1
  175. package/dist/src/utils/mcTitleAdaptiveProps.d.ts +1 -1
  176. package/package.json +2 -3
  177. package/dist/mediacube-ui-v2.umd.js +0 -7
  178. package/dist/src/App.vue.js +0 -54
  179. package/dist/src/assets/tokens/json/animations.json +0 -6
  180. package/dist/src/assets/tokens/json/border-radius.json +0 -24
  181. package/dist/src/assets/tokens/json/box-shadows.json +0 -24
  182. package/dist/src/assets/tokens/json/colors.json +0 -71
  183. package/dist/src/assets/tokens/json/durations.json +0 -10
  184. package/dist/src/assets/tokens/json/easings.json +0 -3
  185. package/dist/src/assets/tokens/json/font-families.json +0 -4
  186. package/dist/src/assets/tokens/json/font-sizes.json +0 -18
  187. package/dist/src/assets/tokens/json/font-weights.json +0 -12
  188. package/dist/src/assets/tokens/json/gradients.json +0 -13
  189. package/dist/src/assets/tokens/json/index.js +0 -18
  190. package/dist/src/assets/tokens/json/letter-spacings.json +0 -4
  191. package/dist/src/assets/tokens/json/line-heights.json +0 -18
  192. package/dist/src/assets/tokens/json/media-queries.json +0 -26
  193. package/dist/src/assets/tokens/json/opacities.json +0 -5
  194. package/dist/src/assets/tokens/json/sizes.json +0 -42
  195. package/dist/src/assets/tokens/json/spacings.json +0 -34
  196. package/dist/src/assets/tokens/json/z-indexes.json +0 -12
  197. package/dist/src/components/elements/McAvatar/McAvatar.vue.js +0 -412
  198. package/dist/src/components/elements/McBadge/McBadge.vue.js +0 -188
  199. package/dist/src/components/elements/McBottomLoader/McBottomLoader.vue.js +0 -83
  200. package/dist/src/components/elements/McButton/McButton.vue.js +0 -1037
  201. package/dist/src/components/elements/McChip/McChip.vue.js +0 -326
  202. package/dist/src/components/elements/McCropper/McCropper.vue.d.ts +0 -30
  203. package/dist/src/components/elements/McCropper/McCropper.vue.d.ts.map +0 -1
  204. package/dist/src/components/elements/McCropper/McCropper.vue.js +0 -155
  205. package/dist/src/components/elements/McDatepicker/McDatepicker.vue.js +0 -1251
  206. package/dist/src/components/elements/McDraggable/McDraggable.vue.js +0 -280
  207. package/dist/src/components/elements/McFieldCheckbox/McFieldCheckbox.vue.js +0 -541
  208. package/dist/src/components/elements/McFieldRadio/McFieldRadio.vue.js +0 -488
  209. package/dist/src/components/elements/McFieldRadioGroup/McFieldRadioGroup.vue.js +0 -470
  210. package/dist/src/components/elements/McFieldRange/McFieldRange.vue.js +0 -547
  211. package/dist/src/components/elements/McFieldSelect/McFieldSelect.vue.js +0 -1436
  212. package/dist/src/components/elements/McFieldText/McFieldText.vue.js +0 -1401
  213. package/dist/src/components/elements/McFieldToggle/McFieldToggle.vue.js +0 -408
  214. package/dist/src/components/elements/McInfinityLoadingTrigger/McInfinityLoadingTrigger.vue.js +0 -192
  215. package/dist/src/components/elements/McNodata/McNoData.vue.js +0 -316
  216. package/dist/src/components/elements/McNotification/McNotification.vue.js +0 -364
  217. package/dist/src/components/elements/McProgress/McProgress.vue.js +0 -361
  218. package/dist/src/components/elements/McSeparator/McSeparator.vue.js +0 -325
  219. package/dist/src/components/elements/McSlideUpDown/McSlideUpDown.vue.js +0 -271
  220. package/dist/src/components/elements/McStack/McStack.vue.js +0 -180
  221. package/dist/src/components/elements/McSvgIcon/McSvgIcon.vue.js +0 -286
  222. package/dist/src/components/elements/McTitle/McTitle.vue.js +0 -466
  223. package/dist/src/components/elements/McTooltip/McTooltip.vue.js +0 -246
  224. package/dist/src/components/index.js +0 -69
  225. package/dist/src/components/patterns/McAccordion/McAccordion.vue.js +0 -120
  226. package/dist/src/components/patterns/McCell/McCell.vue.js +0 -197
  227. package/dist/src/components/patterns/McCollapse/McCollapse.vue.js +0 -314
  228. package/dist/src/components/patterns/McDropdown/McDropdown.vue.js +0 -366
  229. package/dist/src/components/patterns/McDropdown/McDropdownPanel.vue.js +0 -83
  230. package/dist/src/components/patterns/McFilter/McFilter.vue.js +0 -1056
  231. package/dist/src/components/patterns/McFilter/McFilterChip/McFilterChip.vue.js +0 -210
  232. package/dist/src/components/patterns/McFilter/McFilterTags/McFilterTags.vue.js +0 -546
  233. package/dist/src/components/patterns/McFilter/McFilterTypeDate/McFilterTypeDate.vue.js +0 -188
  234. package/dist/src/components/patterns/McFilter/McFilterTypeRange/McFilterTypeRange.vue.js +0 -238
  235. package/dist/src/components/patterns/McFilter/McFilterTypeRelation/McFilterTypeRelation.vue.js +0 -356
  236. package/dist/src/components/patterns/McFilter/McFilterTypeText/McFilterTypeText.vue.js +0 -171
  237. package/dist/src/components/patterns/McGridCol/McGridCol.vue.js +0 -246
  238. package/dist/src/components/patterns/McGridRow/McGridRow.vue.js +0 -292
  239. package/dist/src/components/patterns/McOverlay/McOverlay.vue.js +0 -107
  240. package/dist/src/components/patterns/McPreview/McPreview.vue.js +0 -118
  241. package/dist/src/components/patterns/McSideBar/McSideBar.vue.js +0 -738
  242. package/dist/src/components/patterns/McSideBar/McSideBarBottom/McSideBarBottom.vue.js +0 -204
  243. package/dist/src/components/patterns/McSideBar/McSideBarButton/McSideBarButton.vue.js +0 -508
  244. package/dist/src/components/patterns/McSideBar/McSideBarCenter/McSideBarCenter.vue.js +0 -409
  245. package/dist/src/components/patterns/McSideBar/McSideBarTop/McSideBarTop.vue.js +0 -415
  246. package/dist/src/components/patterns/McTab/McTab.vue.js +0 -518
  247. package/dist/src/components/patterns/McTabs/McTabs.vue.js +0 -427
  248. package/dist/src/components/patterns/McWrapScroll/McWrapScroll.vue.js +0 -422
  249. package/dist/src/components/templates/McDrawer/McDrawer.vue.js +0 -304
  250. package/dist/src/components/templates/McDrawer/McDrawerContainer.vue.js +0 -133
  251. package/dist/src/components/templates/McDrawer/McDrawerContentTemplate/McDrawerContentTemplate.vue.js +0 -134
  252. package/dist/src/components/templates/McModal/McModal.vue.js +0 -664
  253. package/dist/src/components/templates/McModal/McModalContainer.vue.js +0 -119
  254. package/dist/src/components/templates/McTable/McTable/McTable.vue.js +0 -854
  255. package/dist/src/components/templates/McTable/McTableCard/McTableCard.vue.js +0 -339
  256. package/dist/src/components/templates/McTable/McTableCard/McTableCardHeader/McTableCardHeader.vue.js +0 -118
  257. package/dist/src/components/templates/McTable/McTableSkeletonLoading/McTableSkeletonLoading.vue.js +0 -118
  258. package/dist/src/components/templates/McTable/McTableSort/McTableSort.vue.js +0 -136
  259. package/dist/src/components/templates/McTopBar/McTopBar.vue.js +0 -305
  260. package/dist/src/components/templates/McVirtualScroll/McVirtualScroll.vue.js +0 -239
  261. package/dist/src/composables/index.js +0 -7
  262. package/dist/src/composables/useDrawer.js +0 -72
  263. package/dist/src/composables/useEncodeDecode.js +0 -25
  264. package/dist/src/composables/useFieldErrors.js +0 -20
  265. package/dist/src/composables/useHelper.js +0 -79
  266. package/dist/src/composables/useModal.js +0 -71
  267. package/dist/src/composables/useRandomNumber.js +0 -10
  268. package/dist/src/composables/useTooltip.js +0 -154
  269. package/dist/src/consts/index.js +0 -1
  270. package/dist/src/consts/table.js +0 -6
  271. package/dist/src/enums/Cell.js +0 -6
  272. package/dist/src/enums/Chip.js +0 -11
  273. package/dist/src/enums/Datepicker.js +0 -42
  274. package/dist/src/enums/Drawer.js +0 -5
  275. package/dist/src/enums/Dropdown.js +0 -12
  276. package/dist/src/enums/Filter.js +0 -14
  277. package/dist/src/enums/Grid.js +0 -24
  278. package/dist/src/enums/Input.js +0 -20
  279. package/dist/src/enums/Modal.js +0 -5
  280. package/dist/src/enums/Preview.js +0 -6
  281. package/dist/src/enums/Radio.js +0 -5
  282. package/dist/src/enums/RadioGroup.js +0 -5
  283. package/dist/src/enums/Select.js +0 -11
  284. package/dist/src/enums/Sidebar.js +0 -5
  285. package/dist/src/enums/Tab.js +0 -6
  286. package/dist/src/enums/Title.js +0 -21
  287. package/dist/src/enums/Tooltip.js +0 -15
  288. package/dist/src/enums/index.js +0 -22
  289. package/dist/src/enums/ui/Alignment.js +0 -6
  290. package/dist/src/enums/ui/Button.js +0 -24
  291. package/dist/src/enums/ui/Directions.js +0 -5
  292. package/dist/src/enums/ui/Weights.js +0 -7
  293. package/dist/src/index.js +0 -17
  294. package/dist/src/main.js +0 -8
  295. package/dist/src/mocks/authUser.js +0 -162
  296. package/dist/src/mocks/categories.js +0 -108
  297. package/dist/src/mocks/filterMocks.js +0 -128
  298. package/dist/src/mocks/icons.json +0 -1
  299. package/dist/src/mocks/menuLangs.js +0 -19
  300. package/dist/src/mocks/selectOptions.json +0 -111
  301. package/dist/src/mocks/sidebar.js +0 -125
  302. package/dist/src/mocks/tableData.js +0 -8180
  303. package/dist/src/types/IButton.js +0 -1
  304. package/dist/src/types/ICell.js +0 -1
  305. package/dist/src/types/IChip.js +0 -1
  306. package/dist/src/types/ICollapse.js +0 -1
  307. package/dist/src/types/IDatepicker.js +0 -1
  308. package/dist/src/types/IDirections.js +0 -1
  309. package/dist/src/types/IDrawer.js +0 -1
  310. package/dist/src/types/IDropdown.js +0 -1
  311. package/dist/src/types/IFilter.js +0 -1
  312. package/dist/src/types/IGrid.js +0 -1
  313. package/dist/src/types/IInput.js +0 -1
  314. package/dist/src/types/IModal.js +0 -1
  315. package/dist/src/types/IPreview.js +0 -1
  316. package/dist/src/types/IRadio.js +0 -1
  317. package/dist/src/types/IRadioGroup.js +0 -1
  318. package/dist/src/types/IRoute.js +0 -1
  319. package/dist/src/types/ISelect.js +0 -1
  320. package/dist/src/types/ISideBar.js +0 -1
  321. package/dist/src/types/ITable.js +0 -1
  322. package/dist/src/types/ITabs.js +0 -1
  323. package/dist/src/types/ITitle.js +0 -1
  324. package/dist/src/types/ITooltip.js +0 -1
  325. package/dist/src/types/index.js +0 -38
  326. package/dist/src/types/styles/Alignment.js +0 -1
  327. package/dist/src/types/styles/AvatarSizes.js +0 -3
  328. package/dist/src/types/styles/Colors.js +0 -3
  329. package/dist/src/types/styles/Durations.js +0 -3
  330. package/dist/src/types/styles/FontSizes.js +0 -3
  331. package/dist/src/types/styles/FontWeights.js +0 -3
  332. package/dist/src/types/styles/Grid.js +0 -1
  333. package/dist/src/types/styles/Icons.js +0 -2
  334. package/dist/src/types/styles/LineHeights.js +0 -3
  335. package/dist/src/types/styles/MediaQueries.js +0 -3
  336. package/dist/src/types/styles/Radiuses.js +0 -3
  337. package/dist/src/types/styles/Sizes.js +0 -3
  338. package/dist/src/types/styles/Spaces.js +0 -3
  339. package/dist/src/types/styles/Weights.js +0 -1
  340. package/dist/src/utils/dayjs.js +0 -22
  341. package/dist/src/utils/index.js +0 -2
  342. package/dist/src/utils/mcGridColAdaptiveProps.js +0 -10
  343. package/dist/src/utils/mcTitleAdaptiveProps.js +0 -10
  344. package/dist/tsconfig.tsbuildinfo +0 -1
@@ -1,546 +0,0 @@
1
- import { dayjs } from '@/utils/dayjs';
2
- import { McButton, McTooltip, McTitle, McGridRow, McGridCol, McFilterChip } from '@/components';
3
- import { computed, ref, watch } from 'vue';
4
- import { useRandomNumber, useHelper } from '@/composables';
5
- import { TooltipPositions, TooltipSizes } from '@/enums';
6
- import { FilterRelations, FilterTypes } from '@/enums/Filter';
7
- const { defineProps, defineSlots, defineEmits, defineExpose, defineModel, defineOptions, withDefaults, } = await import('vue');
8
- const helper = useHelper();
9
- const randomNumber = useRandomNumber();
10
- const emit = defineEmits();
11
- const props = defineProps({
12
- /**
13
- * Данные фильтра
14
- */
15
- modelValue: {
16
- type: Object,
17
- default: () => ({})
18
- },
19
- /**
20
- * Типы фильтров
21
- */
22
- filters: {
23
- type: Array,
24
- required: true,
25
- default: () => []
26
- },
27
- /**
28
- * Переводы локализаций
29
- */
30
- placeholders: {
31
- type: Object,
32
- required: true
33
- },
34
- /**
35
- * Активный тэг
36
- */
37
- activeTag: {
38
- type: Object,
39
- default: () => ({})
40
- },
41
- useTimezone: {
42
- type: Boolean,
43
- default: true
44
- }
45
- });
46
- const simpleValues = ref({});
47
- const relationValues = ref({});
48
- const prettyActiveTag = ref(null);
49
- const fastFilterTags = computed(() => {
50
- return simpleTags.value.filter((st) => st && st.type === FilterTypes.Fast);
51
- });
52
- const tagsWithoutFast = computed(() => {
53
- return simpleTags.value.filter((st) => st && st.type !== FilterTypes.Fast);
54
- });
55
- const simpleTags = computed(() => {
56
- const tags = [];
57
- !helper.isEmpty(simpleValues.value) &&
58
- Object.entries(simpleValues.value).forEach(([key, value]) => {
59
- const _key = key;
60
- let _value = value;
61
- const filter = props.filters.find((f) => f.value === _key) || {};
62
- if (filter && filter.type === FilterTypes.Fast) {
63
- tags.push({
64
- id: randomNumber.timestamp(5),
65
- categoryName: filter?.name,
66
- category: _key,
67
- type: FilterTypes.Fast
68
- });
69
- }
70
- else if (filter) {
71
- _value = value;
72
- const from = _value.more ? `${props.placeholders.from} ${getFormattedVal(_value.more, filter)}` : '';
73
- const to = _value.less
74
- ? `${props.placeholders.to} ${getFormattedVal(filter.type === FilterTypes.Date
75
- ? props.useTimezone
76
- ? dayjs(_value.less).subtract(1, 'days').format()
77
- : dayjs(_value.less).format()
78
- : _value.less, filter)}`
79
- : '';
80
- const space = from && to ? ' ' : '';
81
- const title = typeof value === 'object' ? `${from}${space}${to}`.toLowerCase() : value;
82
- tags.push({
83
- id: randomNumber.timestamp(5),
84
- categoryName: filter?.name,
85
- title,
86
- value,
87
- category: _key
88
- });
89
- }
90
- });
91
- return tags;
92
- });
93
- const relationRows = computed(() => {
94
- let tags = [];
95
- if (!helper.isEmpty(relationValues.value)) {
96
- tags = Object.entries(relationValues.value).map(([relationKey, relationVal]) => {
97
- const _relationKey = relationKey;
98
- const _relationVal = relationVal;
99
- if (relationKey === FilterRelations.Exists) {
100
- const empties = Object.keys(_relationVal).map((key) => {
101
- const filter = props.filters.find((f) => f.value === key);
102
- return {
103
- id: randomNumber.timestamp(5),
104
- categoryName: filter?.name,
105
- value: key,
106
- category: key,
107
- relationKey,
108
- closable: true
109
- };
110
- });
111
- const head = {
112
- id: randomNumber.timestamp(5),
113
- categoryName: props.placeholders.actions.empty,
114
- relationKey: FilterRelations.Exists
115
- };
116
- return [head, ...empties];
117
- }
118
- const values = [];
119
- Object.entries(_relationVal).forEach(([categoryKey, categoryVal]) => {
120
- const _categoryKey = categoryKey;
121
- const _categoryVal = categoryVal;
122
- const filter = props.filters.find((f) => f.value === _categoryKey) || {};
123
- Object.entries(_categoryVal).forEach(([key, val]) => {
124
- values.push({
125
- id: randomNumber.timestamp(5),
126
- categoryName: filter?.name,
127
- title: val,
128
- value: key,
129
- category: _categoryKey,
130
- relationKey,
131
- closable: true
132
- });
133
- });
134
- });
135
- const head = {
136
- id: randomNumber.timestamp(5),
137
- //@ts-ignore
138
- categoryName: props.placeholders.actions?.[_relationKey],
139
- relationKey
140
- };
141
- return [head, ...values];
142
- });
143
- }
144
- return tags.filter((t) => t.length > 1);
145
- });
146
- const hasButtonClear = computed(() => {
147
- return relationRows.value.length || simpleTags.value.length;
148
- });
149
- const splitTags = (value) => {
150
- simpleValues.value = {};
151
- relationValues.value = {};
152
- if (helper.isEmpty(value))
153
- return;
154
- addInitTags(value);
155
- };
156
- const addInitTags = (parentVal, parentKey) => {
157
- const relationKeys = [FilterRelations.Is, FilterRelations.IsNot, FilterRelations.Exists];
158
- for (let [key, val] of Object.entries(parentVal)) {
159
- if (relationKeys.includes(key)) {
160
- relationValues.value[key] = {
161
- ...(relationValues.value[key] || {}),
162
- ...(parentKey ? { [parentKey]: val } : {})
163
- };
164
- continue;
165
- }
166
- if (val.constructor !== Object && parentKey) {
167
- simpleValues.value[parentKey] = parentVal;
168
- continue;
169
- }
170
- const filter = props.filters.find((f) => f.value === key);
171
- if (filter && filter.type === FilterTypes.Fast) {
172
- simpleValues.value[key] = { value: key };
173
- continue;
174
- }
175
- val && addInitTags(val, key);
176
- }
177
- };
178
- const onTagClick = (tag) => {
179
- prettyActiveTag.value = helper.isEqual(prettyActiveTag.value, tag) ? null : tag;
180
- /**
181
- * Событие по клику на тэг
182
- */
183
- emit('tag-click', tag);
184
- };
185
- const onTagClose = (tag, relationKey) => {
186
- const value = helper.cloneDeep(props.modelValue);
187
- switch (relationKey) {
188
- case FilterRelations.Exists:
189
- delete value[tag.category][relationKey];
190
- break;
191
- case FilterRelations.Is:
192
- case FilterRelations.IsNot:
193
- //@ts-ignore
194
- delete value[tag.category][relationKey][tag.value];
195
- if (helper.isEmpty(value[tag.category][relationKey])) {
196
- delete value[tag.category][relationKey];
197
- }
198
- break;
199
- default:
200
- delete value[tag.category];
201
- break;
202
- }
203
- if (helper.isEmpty(value[tag.category])) {
204
- delete value[tag.category];
205
- }
206
- /**
207
- * Событие по изменению набора тэгов
208
- */
209
- emit('tag-change', value);
210
- };
211
- const handleClear = () => {
212
- /**
213
- * Событие по очистке всех тэгов
214
- */
215
- emit('clear');
216
- };
217
- const getFormattedVal = (val, filter) => {
218
- switch (filter.type) {
219
- case FilterTypes.Date:
220
- return dayjs(val).format('DD.MM.YYYY');
221
- case FilterTypes.Range:
222
- return getFormattedNum(val);
223
- default:
224
- return val;
225
- }
226
- };
227
- const getFormattedNum = (num) => {
228
- return num;
229
- };
230
- const checkTagIsActive = (tag) => {
231
- return helper.isEqual(prettyActiveTag.value, tag);
232
- };
233
- watch(() => props.modelValue, (val) => {
234
- splitTags(val);
235
- }, { deep: true, immediate: true });
236
- watch(() => props.activeTag, (val) => {
237
- prettyActiveTag.value = val;
238
- }, { immediate: true }); /* PartiallyEnd: #3632/scriptSetup.vue */
239
- const __VLS_fnComponent = (await import('vue')).defineComponent({
240
- props: {
241
- /**
242
- * Данные фильтра
243
- */
244
- modelValue: {
245
- type: Object,
246
- default: () => ({})
247
- },
248
- /**
249
- * Типы фильтров
250
- */
251
- filters: {
252
- type: Array,
253
- required: true,
254
- default: () => []
255
- },
256
- /**
257
- * Переводы локализаций
258
- */
259
- placeholders: {
260
- type: Object,
261
- required: true
262
- },
263
- /**
264
- * Активный тэг
265
- */
266
- activeTag: {
267
- type: Object,
268
- default: () => ({})
269
- },
270
- useTimezone: {
271
- type: Boolean,
272
- default: true
273
- }
274
- },
275
- __typeEmits: {},
276
- });
277
- ;
278
- let __VLS_functionalComponentProps;
279
- function __VLS_template() {
280
- const __VLS_ctx = {};
281
- const __VLS_localComponents = {
282
- ...{},
283
- ...{},
284
- ...__VLS_ctx,
285
- };
286
- let __VLS_components;
287
- const __VLS_localDirectives = {
288
- ...{},
289
- ...__VLS_ctx,
290
- };
291
- let __VLS_directives;
292
- let __VLS_styleScopedClasses;
293
- // CSS variable injection
294
- // CSS variable injection end
295
- let __VLS_resolvedLocalAndGlobalComponents;
296
- __VLS_elementAsFunction(__VLS_intrinsicElements.div, __VLS_intrinsicElements.div)({ ...{ class: ("mc-filter-tags") }, });
297
- const __VLS_0 = __VLS_resolvedLocalAndGlobalComponents.McTitle;
298
- /** @type { [typeof __VLS_components.McTitle, typeof __VLS_components.mcTitle, typeof __VLS_components.McTitle, typeof __VLS_components.mcTitle, ] } */
299
- // @ts-ignore
300
- const __VLS_1 = __VLS_asFunctionalComponent(__VLS_0, new __VLS_0({}));
301
- const __VLS_2 = __VLS_1({}, ...__VLS_functionalComponentArgsRest(__VLS_1));
302
- (props.placeholders.added_filters);
303
- __VLS_nonNullable(__VLS_5.slots).default;
304
- var __VLS_5;
305
- __VLS_elementAsFunction(__VLS_intrinsicElements.div, __VLS_intrinsicElements.div)({ ...{ class: ("mc-filter-tags__body") }, });
306
- __VLS_elementAsFunction(__VLS_intrinsicElements.div, __VLS_intrinsicElements.div)({ ...{ class: ("mc-filter-tags__body-left") }, });
307
- if (__VLS_ctx.tagsWithoutFast.length) {
308
- const __VLS_6 = __VLS_resolvedLocalAndGlobalComponents.McGridRow;
309
- /** @type { [typeof __VLS_components.McGridRow, typeof __VLS_components.mcGridRow, typeof __VLS_components.McGridRow, typeof __VLS_components.mcGridRow, ] } */
310
- // @ts-ignore
311
- const __VLS_7 = __VLS_asFunctionalComponent(__VLS_6, new __VLS_6({ gutterX: ((4)), gutterY: ((8)), }));
312
- const __VLS_8 = __VLS_7({ gutterX: ((4)), gutterY: ((8)), }, ...__VLS_functionalComponentArgsRest(__VLS_7));
313
- for (const [tag] of __VLS_getVForSourceType((__VLS_ctx.tagsWithoutFast))) {
314
- const __VLS_12 = __VLS_resolvedLocalAndGlobalComponents.McGridCol;
315
- /** @type { [typeof __VLS_components.McGridCol, typeof __VLS_components.mcGridCol, typeof __VLS_components.McGridCol, typeof __VLS_components.mcGridCol, ] } */
316
- // @ts-ignore
317
- const __VLS_13 = __VLS_asFunctionalComponent(__VLS_12, new __VLS_12({ key: ((tag.id)), }));
318
- const __VLS_14 = __VLS_13({ key: ((tag.id)), }, ...__VLS_functionalComponentArgsRest(__VLS_13));
319
- const __VLS_18 = __VLS_resolvedLocalAndGlobalComponents.McFilterChip;
320
- /** @type { [typeof __VLS_components.McFilterChip, typeof __VLS_components.mcFilterChip, ] } */
321
- // @ts-ignore
322
- const __VLS_19 = __VLS_asFunctionalComponent(__VLS_18, new __VLS_18({ ...{ 'onClick': {} }, ...{ 'onClose': {} }, tag: ((tag)), isActive: ((__VLS_ctx.checkTagIsActive(tag))), closable: (true), }));
323
- const __VLS_20 = __VLS_19({ ...{ 'onClick': {} }, ...{ 'onClose': {} }, tag: ((tag)), isActive: ((__VLS_ctx.checkTagIsActive(tag))), closable: (true), }, ...__VLS_functionalComponentArgsRest(__VLS_19));
324
- let __VLS_24;
325
- const __VLS_25 = {
326
- onClick: (() => __VLS_ctx.onTagClick(tag))
327
- };
328
- const __VLS_26 = {
329
- onClose: (() => __VLS_ctx.onTagClose(tag))
330
- };
331
- let __VLS_21;
332
- let __VLS_22;
333
- var __VLS_23;
334
- __VLS_nonNullable(__VLS_17.slots).default;
335
- var __VLS_17;
336
- }
337
- __VLS_nonNullable(__VLS_11.slots).default;
338
- var __VLS_11;
339
- }
340
- if (__VLS_ctx.relationRows.length) {
341
- for (const [row, index] of __VLS_getVForSourceType((__VLS_ctx.relationRows))) {
342
- const __VLS_27 = __VLS_resolvedLocalAndGlobalComponents.McGridRow;
343
- /** @type { [typeof __VLS_components.McGridRow, typeof __VLS_components.mcGridRow, typeof __VLS_components.McGridRow, typeof __VLS_components.mcGridRow, ] } */
344
- // @ts-ignore
345
- const __VLS_28 = __VLS_asFunctionalComponent(__VLS_27, new __VLS_27({ key: ((index)), gutterX: ((4)), gutterY: ((8)), }));
346
- const __VLS_29 = __VLS_28({ key: ((index)), gutterX: ((4)), gutterY: ((8)), }, ...__VLS_functionalComponentArgsRest(__VLS_28));
347
- for (const [tag] of __VLS_getVForSourceType((row))) {
348
- const __VLS_33 = __VLS_resolvedLocalAndGlobalComponents.McGridCol;
349
- /** @type { [typeof __VLS_components.McGridCol, typeof __VLS_components.mcGridCol, typeof __VLS_components.McGridCol, typeof __VLS_components.mcGridCol, ] } */
350
- // @ts-ignore
351
- const __VLS_34 = __VLS_asFunctionalComponent(__VLS_33, new __VLS_33({ key: ((tag.id)), }));
352
- const __VLS_35 = __VLS_34({ key: ((tag.id)), }, ...__VLS_functionalComponentArgsRest(__VLS_34));
353
- const __VLS_39 = __VLS_resolvedLocalAndGlobalComponents.McFilterChip;
354
- /** @type { [typeof __VLS_components.McFilterChip, typeof __VLS_components.mcFilterChip, ] } */
355
- // @ts-ignore
356
- const __VLS_40 = __VLS_asFunctionalComponent(__VLS_39, new __VLS_39({ ...{ 'onClick': {} }, ...{ 'onClose': {} }, tag: ((tag)), isActive: ((__VLS_ctx.checkTagIsActive(tag))), closable: ((tag.closable)), }));
357
- const __VLS_41 = __VLS_40({ ...{ 'onClick': {} }, ...{ 'onClose': {} }, tag: ((tag)), isActive: ((__VLS_ctx.checkTagIsActive(tag))), closable: ((tag.closable)), }, ...__VLS_functionalComponentArgsRest(__VLS_40));
358
- let __VLS_45;
359
- const __VLS_46 = {
360
- onClick: (() => __VLS_ctx.onTagClick(tag))
361
- };
362
- const __VLS_47 = {
363
- onClose: (() => __VLS_ctx.onTagClose(tag, row[0].relationKey))
364
- };
365
- let __VLS_42;
366
- let __VLS_43;
367
- var __VLS_44;
368
- __VLS_nonNullable(__VLS_38.slots).default;
369
- var __VLS_38;
370
- }
371
- __VLS_nonNullable(__VLS_32.slots).default;
372
- var __VLS_32;
373
- }
374
- }
375
- if (__VLS_ctx.fastFilterTags.length) {
376
- const __VLS_48 = __VLS_resolvedLocalAndGlobalComponents.McGridRow;
377
- /** @type { [typeof __VLS_components.McGridRow, typeof __VLS_components.mcGridRow, typeof __VLS_components.McGridRow, typeof __VLS_components.mcGridRow, ] } */
378
- // @ts-ignore
379
- const __VLS_49 = __VLS_asFunctionalComponent(__VLS_48, new __VLS_48({ gutterX: ((4)), gutterY: ((8)), }));
380
- const __VLS_50 = __VLS_49({ gutterX: ((4)), gutterY: ((8)), }, ...__VLS_functionalComponentArgsRest(__VLS_49));
381
- for (const [tag] of __VLS_getVForSourceType((__VLS_ctx.fastFilterTags))) {
382
- const __VLS_54 = __VLS_resolvedLocalAndGlobalComponents.McGridCol;
383
- /** @type { [typeof __VLS_components.McGridCol, typeof __VLS_components.mcGridCol, typeof __VLS_components.McGridCol, typeof __VLS_components.mcGridCol, ] } */
384
- // @ts-ignore
385
- const __VLS_55 = __VLS_asFunctionalComponent(__VLS_54, new __VLS_54({ key: ((tag.id)), }));
386
- const __VLS_56 = __VLS_55({ key: ((tag.id)), }, ...__VLS_functionalComponentArgsRest(__VLS_55));
387
- const __VLS_60 = __VLS_resolvedLocalAndGlobalComponents.McTooltip;
388
- /** @type { [typeof __VLS_components.McTooltip, typeof __VLS_components.mcTooltip, typeof __VLS_components.McTooltip, typeof __VLS_components.mcTooltip, ] } */
389
- // @ts-ignore
390
- const __VLS_61 = __VLS_asFunctionalComponent(__VLS_60, new __VLS_60({ content: ((tag.description || '')), placement: ((__VLS_ctx.TooltipPositions.Top)), size: ((__VLS_ctx.TooltipSizes.S)), }));
391
- const __VLS_62 = __VLS_61({ content: ((tag.description || '')), placement: ((__VLS_ctx.TooltipPositions.Top)), size: ((__VLS_ctx.TooltipSizes.S)), }, ...__VLS_functionalComponentArgsRest(__VLS_61));
392
- const __VLS_66 = __VLS_resolvedLocalAndGlobalComponents.McFilterChip;
393
- /** @type { [typeof __VLS_components.McFilterChip, typeof __VLS_components.mcFilterChip, ] } */
394
- // @ts-ignore
395
- const __VLS_67 = __VLS_asFunctionalComponent(__VLS_66, new __VLS_66({ ...{ 'onClose': {} }, tag: ((tag)), closable: (true), }));
396
- const __VLS_68 = __VLS_67({ ...{ 'onClose': {} }, tag: ((tag)), closable: (true), }, ...__VLS_functionalComponentArgsRest(__VLS_67));
397
- let __VLS_72;
398
- const __VLS_73 = {
399
- onClose: (() => __VLS_ctx.onTagClose(tag))
400
- };
401
- let __VLS_69;
402
- let __VLS_70;
403
- var __VLS_71;
404
- __VLS_nonNullable(__VLS_65.slots).default;
405
- var __VLS_65;
406
- __VLS_nonNullable(__VLS_59.slots).default;
407
- var __VLS_59;
408
- }
409
- __VLS_nonNullable(__VLS_53.slots).default;
410
- var __VLS_53;
411
- }
412
- __VLS_elementAsFunction(__VLS_intrinsicElements.div, __VLS_intrinsicElements.div)({ ...{ class: ("mc-filter-tags__body-right") }, });
413
- if (__VLS_ctx.hasButtonClear) {
414
- const __VLS_74 = __VLS_resolvedLocalAndGlobalComponents.McButton;
415
- /** @type { [typeof __VLS_components.McButton, typeof __VLS_components.mcButton, typeof __VLS_components.McButton, typeof __VLS_components.mcButton, ] } */
416
- // @ts-ignore
417
- const __VLS_75 = __VLS_asFunctionalComponent(__VLS_74, new __VLS_74({ ...{ 'onClick': {} }, variation: ("dark-gray-outline"), }));
418
- const __VLS_76 = __VLS_75({ ...{ 'onClick': {} }, variation: ("dark-gray-outline"), }, ...__VLS_functionalComponentArgsRest(__VLS_75));
419
- let __VLS_80;
420
- const __VLS_81 = {
421
- onClick: (__VLS_ctx.handleClear)
422
- };
423
- let __VLS_77;
424
- let __VLS_78;
425
- (__VLS_ctx.placeholders.actions.clear);
426
- __VLS_nonNullable(__VLS_79.slots).default;
427
- var __VLS_79;
428
- }
429
- __VLS_styleScopedClasses['mc-filter-tags'];
430
- __VLS_styleScopedClasses['mc-filter-tags__body'];
431
- __VLS_styleScopedClasses['mc-filter-tags__body-left'];
432
- __VLS_styleScopedClasses['mc-filter-tags__body-right'];
433
- var __VLS_slots;
434
- var __VLS_inheritedAttrs;
435
- const __VLS_refs = {};
436
- var $refs;
437
- var $el;
438
- return {
439
- attrs: {},
440
- slots: __VLS_slots,
441
- refs: $refs,
442
- rootEl: $el,
443
- };
444
- }
445
- ;
446
- const __VLS_self = (await import('vue')).defineComponent({
447
- setup() {
448
- return {
449
- McButton: McButton,
450
- McTooltip: McTooltip,
451
- McTitle: McTitle,
452
- McGridRow: McGridRow,
453
- McGridCol: McGridCol,
454
- McFilterChip: McFilterChip,
455
- TooltipPositions: TooltipPositions,
456
- TooltipSizes: TooltipSizes,
457
- fastFilterTags: fastFilterTags,
458
- tagsWithoutFast: tagsWithoutFast,
459
- relationRows: relationRows,
460
- hasButtonClear: hasButtonClear,
461
- onTagClick: onTagClick,
462
- onTagClose: onTagClose,
463
- handleClear: handleClear,
464
- checkTagIsActive: checkTagIsActive,
465
- };
466
- },
467
- __typeEmits: {},
468
- props: {
469
- /**
470
- * Данные фильтра
471
- */
472
- modelValue: {
473
- type: Object,
474
- default: () => ({})
475
- },
476
- /**
477
- * Типы фильтров
478
- */
479
- filters: {
480
- type: Array,
481
- required: true,
482
- default: () => []
483
- },
484
- /**
485
- * Переводы локализаций
486
- */
487
- placeholders: {
488
- type: Object,
489
- required: true
490
- },
491
- /**
492
- * Активный тэг
493
- */
494
- activeTag: {
495
- type: Object,
496
- default: () => ({})
497
- },
498
- useTimezone: {
499
- type: Boolean,
500
- default: true
501
- }
502
- },
503
- });
504
- export default (await import('vue')).defineComponent({
505
- setup() {
506
- return {};
507
- },
508
- __typeEmits: {},
509
- props: {
510
- /**
511
- * Данные фильтра
512
- */
513
- modelValue: {
514
- type: Object,
515
- default: () => ({})
516
- },
517
- /**
518
- * Типы фильтров
519
- */
520
- filters: {
521
- type: Array,
522
- required: true,
523
- default: () => []
524
- },
525
- /**
526
- * Переводы локализаций
527
- */
528
- placeholders: {
529
- type: Object,
530
- required: true
531
- },
532
- /**
533
- * Активный тэг
534
- */
535
- activeTag: {
536
- type: Object,
537
- default: () => ({})
538
- },
539
- useTimezone: {
540
- type: Boolean,
541
- default: true
542
- }
543
- },
544
- __typeEl: {},
545
- });
546
- ; /* PartiallyEnd: #4569/main.vue */