mediacube-ui-v2 0.0.9 → 0.0.11

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