mediacube-ui-v2 0.0.9 → 0.0.10

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 (343) hide show
  1. package/dist/App.vue.d.ts +2 -0
  2. package/dist/assets/iconsSprite.svg +1 -0
  3. package/dist/assets/img/img/no_table_data.png +0 -0
  4. package/dist/assets/img/img/no_user.png +0 -0
  5. package/dist/assets/tokens/json/animations.json.d.ts +8 -0
  6. package/dist/assets/tokens/json/border-radius.json.d.ts +26 -0
  7. package/dist/assets/tokens/json/box-shadows.json.d.ts +26 -0
  8. package/dist/assets/tokens/json/colors.json.d.ts +73 -0
  9. package/dist/assets/tokens/json/durations.json.d.ts +12 -0
  10. package/dist/assets/tokens/json/easings.json.d.ts +5 -0
  11. package/dist/assets/tokens/json/font-families.json.d.ts +6 -0
  12. package/dist/assets/tokens/json/font-sizes.json.d.ts +20 -0
  13. package/dist/assets/tokens/json/font-weights.json.d.ts +14 -0
  14. package/dist/assets/tokens/json/gradients.json.d.ts +15 -0
  15. package/dist/assets/tokens/json/index.d.ts +18 -0
  16. package/dist/assets/tokens/json/letter-spacings.json.d.ts +6 -0
  17. package/dist/assets/tokens/json/line-heights.json.d.ts +20 -0
  18. package/dist/assets/tokens/json/media-queries.json.d.ts +28 -0
  19. package/dist/assets/tokens/json/opacities.json.d.ts +7 -0
  20. package/dist/assets/tokens/json/sizes.json.d.ts +44 -0
  21. package/dist/assets/tokens/json/spacings.json.d.ts +36 -0
  22. package/dist/assets/tokens/json/z-indexes.json.d.ts +14 -0
  23. package/dist/{types/components → components}/elements/McAvatar/McAvatar.vue.d.ts +5 -5
  24. package/dist/{types/components → components}/elements/McBadge/McBadge.vue.d.ts +3 -3
  25. package/dist/components/elements/McBottomLoader/McBottomLoader.vue.d.ts +14 -0
  26. package/dist/{types/components → components}/elements/McButton/McButton.vue.d.ts +12 -13
  27. package/dist/{types/components → components}/elements/McChip/McChip.vue.d.ts +6 -7
  28. package/dist/{types/components → components}/elements/McDatepicker/McDatepicker.vue.d.ts +1 -2
  29. package/dist/{types/components → components}/elements/McDraggable/McDraggable.vue.d.ts +4 -4
  30. package/dist/{types/components → components}/elements/McFieldCheckbox/McFieldCheckbox.vue.d.ts +1 -1
  31. package/dist/{types/components → components}/elements/McFieldRadio/McFieldRadio.vue.d.ts +8 -8
  32. package/dist/{types/components → components}/elements/McFieldRadioGroup/McFieldRadioGroup.vue.d.ts +1 -1
  33. package/dist/{types/components → components}/elements/McFieldRange/McFieldRange.vue.d.ts +6 -6
  34. package/dist/{types/components → components}/elements/McFieldSelect/McFieldSelect.vue.d.ts +11 -12
  35. package/dist/{types/components → components}/elements/McFieldText/McFieldText.vue.d.ts +9 -9
  36. package/dist/{types/components → components}/elements/McFieldToggle/McFieldToggle.vue.d.ts +6 -6
  37. package/dist/{types/components → components}/elements/McInfinityLoadingTrigger/McInfinityLoadingTrigger.vue.d.ts +4 -4
  38. package/dist/components/elements/McNodata/McNoData.vue.d.ts +110 -0
  39. package/dist/components/elements/McNotification/McNotification.vue.d.ts +124 -0
  40. package/dist/{types/components → components}/elements/McProgress/McProgress.vue.d.ts +5 -5
  41. package/dist/{types/components → components}/elements/McSeparator/McSeparator.vue.d.ts +4 -4
  42. package/dist/{types/components → components}/elements/McSlideUpDown/McSlideUpDown.vue.d.ts +5 -5
  43. package/dist/{types/components → components}/elements/McStack/McStack.vue.d.ts +4 -4
  44. package/dist/{types/components → components}/elements/McSvgIcon/McSvgIcon.vue.d.ts +9 -9
  45. package/dist/{types/components → components}/elements/McTitle/McTitle.vue.d.ts +7 -7
  46. package/dist/{types/components → components}/elements/McTooltip/McTooltip.vue.d.ts +6 -6
  47. package/dist/components/index.d.ts +61 -0
  48. package/dist/{types/components → components}/patterns/McAccordion/McAccordion.vue.d.ts +4 -4
  49. package/dist/{types/components → components}/patterns/McCell/McCell.vue.d.ts +6 -6
  50. package/dist/{types/components → components}/patterns/McCollapse/McCollapse.vue.d.ts +6 -6
  51. package/dist/{types/components → components}/patterns/McDropdown/McDropdown.vue.d.ts +7 -7
  52. package/dist/components/patterns/McDropdown/McDropdownPanel.vue.d.ts +22 -0
  53. package/dist/{types/components → components}/patterns/McFilter/McFilter.vue.d.ts +6 -6
  54. package/dist/{types/components → components}/patterns/McFilter/McFilterChip/McFilterChip.vue.d.ts +6 -6
  55. package/dist/{types/components → components}/patterns/McFilter/McFilterTags/McFilterTags.vue.d.ts +6 -6
  56. package/dist/{types/components → components}/patterns/McFilter/McFilterTypeDate/McFilterTypeDate.vue.d.ts +6 -6
  57. package/dist/{types/components → components}/patterns/McFilter/McFilterTypeRange/McFilterTypeRange.vue.d.ts +6 -6
  58. package/dist/{types/components → components}/patterns/McFilter/McFilterTypeRelation/McFilterTypeRelation.vue.d.ts +6 -6
  59. package/dist/{types/components → components}/patterns/McFilter/McFilterTypeText/McFilterTypeText.vue.d.ts +6 -6
  60. package/dist/{types/components → components}/patterns/McGridCol/McGridCol.vue.d.ts +4 -4
  61. package/dist/{types/components → components}/patterns/McGridRow/McGridRow.vue.d.ts +5 -5
  62. package/dist/{types/components → components}/patterns/McOverlay/McOverlay.vue.d.ts +4 -4
  63. package/dist/{types/components → components}/patterns/McPreview/McPreview.vue.d.ts +4 -4
  64. package/dist/components/patterns/McSideBar/McSideBar.vue.d.ts +292 -0
  65. package/dist/{types/components → components}/patterns/McSideBar/McSideBarBottom/McSideBarBottom.vue.d.ts +5 -5
  66. package/dist/{types/components → components}/patterns/McSideBar/McSideBarButton/McSideBarButton.vue.d.ts +6 -6
  67. package/dist/{types/components → components}/patterns/McSideBar/McSideBarCenter/McSideBarCenter.vue.d.ts +6 -6
  68. package/dist/components/patterns/McSideBar/McSideBarTop/McSideBarTop.vue.d.ts +123 -0
  69. package/dist/components/patterns/McTab/McTab.vue.d.ts +224 -0
  70. package/dist/{types/components → components}/patterns/McTabs/McTabs.vue.d.ts +7 -8
  71. package/dist/{types/components → components}/patterns/McWrapScroll/McWrapScroll.vue.d.ts +7 -7
  72. package/dist/components/templates/McDrawer/McDrawer.vue.d.ts +104 -0
  73. package/dist/{types/components → components}/templates/McDrawer/McDrawerContainer.vue.d.ts +5 -5
  74. package/dist/{types/components → components}/templates/McDrawer/McDrawerContentTemplate/McDrawerContentTemplate.vue.d.ts +4 -4
  75. package/dist/{types/components → components}/templates/McModal/McModal.vue.d.ts +7 -7
  76. package/dist/{types/components → components}/templates/McModal/McModalContainer.vue.d.ts +5 -5
  77. package/dist/components/templates/McTable/McTable/McTable.vue.d.ts +295 -0
  78. package/dist/{types/components → components}/templates/McTable/McTableCard/McTableCard.vue.d.ts +6 -6
  79. package/dist/{types/components → components}/templates/McTable/McTableCard/McTableCardHeader/McTableCardHeader.vue.d.ts +4 -4
  80. package/dist/components/templates/McTable/McTableSkeletonLoading/McTableSkeletonLoading.vue.d.ts +18 -0
  81. package/dist/{types/components → components}/templates/McTable/McTableSort/McTableSort.vue.d.ts +7 -7
  82. package/dist/{types/components → components}/templates/McTopBar/McTopBar.vue.d.ts +4 -4
  83. package/dist/{types/components → components}/templates/McVirtualScroll/McVirtualScroll.vue.d.ts +4 -4
  84. package/dist/{types/composables → composables}/index.d.ts +1 -1
  85. package/dist/{types/composables → composables}/useDrawer.d.ts +1 -1
  86. package/dist/composables/useFieldErrors.d.ts +5 -0
  87. package/dist/{types/composables → composables}/useTooltip.d.ts +1 -1
  88. package/dist/index.cjs +1 -1
  89. package/dist/index.d.ts +10 -0
  90. package/dist/index.js +10522 -13
  91. package/dist/main.d.ts +0 -0
  92. package/dist/{types/mocks → mocks}/filterMocks.d.ts +1 -1
  93. package/dist/mocks/icons.json.d.ts +3 -0
  94. package/dist/{types/mocks → mocks}/sidebar.d.ts +1 -1
  95. package/dist/{types/mocks → mocks}/tableData.d.ts +1 -1
  96. package/dist/types/{types/IButton.d.ts → IButton.d.ts} +5 -5
  97. package/dist/types/{types/ICell.d.ts → ICell.d.ts} +1 -1
  98. package/dist/types/{types/IChip.d.ts → IChip.d.ts} +2 -2
  99. package/dist/types/{types/IDatepicker.d.ts → IDatepicker.d.ts} +1 -1
  100. package/dist/types/{types/IDirections.d.ts → IDirections.d.ts} +1 -1
  101. package/dist/types/{types/IDrawer.d.ts → IDrawer.d.ts} +2 -2
  102. package/dist/types/{types/IDropdown.d.ts → IDropdown.d.ts} +1 -1
  103. package/dist/types/{types/IFilter.d.ts → IFilter.d.ts} +1 -1
  104. package/dist/types/{types/IInput.d.ts → IInput.d.ts} +1 -1
  105. package/dist/types/{types/IModal.d.ts → IModal.d.ts} +2 -2
  106. package/dist/types/{types/IPreview.d.ts → IPreview.d.ts} +1 -1
  107. package/dist/types/{types/IRadio.d.ts → IRadio.d.ts} +1 -1
  108. package/dist/types/{types/IRadioGroup.d.ts → IRadioGroup.d.ts} +1 -1
  109. package/dist/types/{types/ISelect.d.ts → ISelect.d.ts} +1 -1
  110. package/dist/types/{types/ISideBar.d.ts → ISideBar.d.ts} +5 -5
  111. package/dist/types/{types/ITable.d.ts → ITable.d.ts} +2 -2
  112. package/dist/types/{types/ITabs.d.ts → ITabs.d.ts} +4 -4
  113. package/dist/types/{types/ITitle.d.ts → ITitle.d.ts} +1 -1
  114. package/dist/types/{types/ITooltip.d.ts → ITooltip.d.ts} +1 -1
  115. package/dist/types/index.d.ts +36 -9
  116. package/dist/types/{types/styles → styles}/Alignment.d.ts +1 -1
  117. package/dist/types/{types/styles → styles}/Grid.d.ts +1 -1
  118. package/dist/types/{types/styles → styles}/Weights.d.ts +1 -1
  119. package/dist/{types/utils → utils}/dayjs.d.ts +1 -2
  120. package/dist/{types/utils → utils}/mcGridColAdaptiveProps.d.ts +1 -1
  121. package/dist/{types/utils → utils}/mcTitleAdaptiveProps.d.ts +1 -1
  122. package/package.json +5 -3
  123. package/dist/App.vue.js +0 -54
  124. package/dist/assets/tokens/json/animations.json +0 -6
  125. package/dist/assets/tokens/json/border-radius.json +0 -24
  126. package/dist/assets/tokens/json/box-shadows.json +0 -24
  127. package/dist/assets/tokens/json/colors.json +0 -71
  128. package/dist/assets/tokens/json/durations.json +0 -10
  129. package/dist/assets/tokens/json/easings.json +0 -3
  130. package/dist/assets/tokens/json/font-families.json +0 -4
  131. package/dist/assets/tokens/json/font-sizes.json +0 -18
  132. package/dist/assets/tokens/json/font-weights.json +0 -12
  133. package/dist/assets/tokens/json/gradients.json +0 -13
  134. package/dist/assets/tokens/json/index.js +0 -18
  135. package/dist/assets/tokens/json/letter-spacings.json +0 -4
  136. package/dist/assets/tokens/json/line-heights.json +0 -18
  137. package/dist/assets/tokens/json/media-queries.json +0 -26
  138. package/dist/assets/tokens/json/opacities.json +0 -5
  139. package/dist/assets/tokens/json/sizes.json +0 -42
  140. package/dist/assets/tokens/json/spacings.json +0 -34
  141. package/dist/assets/tokens/json/z-indexes.json +0 -12
  142. package/dist/components/elements/McAvatar/McAvatar.vue.js +0 -412
  143. package/dist/components/elements/McBadge/McBadge.vue.js +0 -188
  144. package/dist/components/elements/McBottomLoader/McBottomLoader.vue.js +0 -83
  145. package/dist/components/elements/McButton/McButton.vue.js +0 -1037
  146. package/dist/components/elements/McChip/McChip.vue.js +0 -326
  147. package/dist/components/elements/McCropper/McCropper.vue.js +0 -98
  148. package/dist/components/elements/McDatepicker/McDatepicker.vue.js +0 -1255
  149. package/dist/components/elements/McDraggable/McDraggable.vue.js +0 -280
  150. package/dist/components/elements/McFieldCheckbox/McFieldCheckbox.vue.js +0 -542
  151. package/dist/components/elements/McFieldRadio/McFieldRadio.vue.js +0 -489
  152. package/dist/components/elements/McFieldRadioGroup/McFieldRadioGroup.vue.js +0 -471
  153. package/dist/components/elements/McFieldRange/McFieldRange.vue.js +0 -547
  154. package/dist/components/elements/McFieldSelect/McFieldSelect.vue.js +0 -1440
  155. package/dist/components/elements/McFieldText/McFieldText.vue.js +0 -1404
  156. package/dist/components/elements/McFieldToggle/McFieldToggle.vue.js +0 -408
  157. package/dist/components/elements/McInfinityLoadingTrigger/McInfinityLoadingTrigger.vue.js +0 -192
  158. package/dist/components/elements/McNodata/McNoData.vue.js +0 -319
  159. package/dist/components/elements/McNotification/McNotification.vue.js +0 -367
  160. package/dist/components/elements/McProgress/McProgress.vue.js +0 -361
  161. package/dist/components/elements/McSeparator/McSeparator.vue.js +0 -325
  162. package/dist/components/elements/McSlideUpDown/McSlideUpDown.vue.js +0 -271
  163. package/dist/components/elements/McStack/McStack.vue.js +0 -180
  164. package/dist/components/elements/McSvgIcon/McSvgIcon.vue.js +0 -289
  165. package/dist/components/elements/McTitle/McTitle.vue.js +0 -468
  166. package/dist/components/elements/McTooltip/McTooltip.vue.js +0 -246
  167. package/dist/components/index.js +0 -73
  168. package/dist/components/patterns/McAccordion/McAccordion.vue.js +0 -120
  169. package/dist/components/patterns/McCell/McCell.vue.js +0 -197
  170. package/dist/components/patterns/McCollapse/McCollapse.vue.js +0 -315
  171. package/dist/components/patterns/McDropdown/McDropdown.vue.js +0 -366
  172. package/dist/components/patterns/McDropdown/McDropdownPanel.vue.js +0 -83
  173. package/dist/components/patterns/McFilter/McFilter.vue.js +0 -1068
  174. package/dist/components/patterns/McFilter/McFilterChip/McFilterChip.vue.js +0 -211
  175. package/dist/components/patterns/McFilter/McFilterTags/McFilterTags.vue.js +0 -552
  176. package/dist/components/patterns/McFilter/McFilterTypeDate/McFilterTypeDate.vue.js +0 -188
  177. package/dist/components/patterns/McFilter/McFilterTypeRange/McFilterTypeRange.vue.js +0 -238
  178. package/dist/components/patterns/McFilter/McFilterTypeRelation/McFilterTypeRelation.vue.js +0 -359
  179. package/dist/components/patterns/McFilter/McFilterTypeText/McFilterTypeText.vue.js +0 -171
  180. package/dist/components/patterns/McGridCol/McGridCol.vue.js +0 -246
  181. package/dist/components/patterns/McGridRow/McGridRow.vue.js +0 -292
  182. package/dist/components/patterns/McOverlay/McOverlay.vue.js +0 -107
  183. package/dist/components/patterns/McPreview/McPreview.vue.js +0 -118
  184. package/dist/components/patterns/McSideBar/McSideBar.vue.js +0 -740
  185. package/dist/components/patterns/McSideBar/McSideBarBottom/McSideBarBottom.vue.js +0 -204
  186. package/dist/components/patterns/McSideBar/McSideBarButton/McSideBarButton.vue.js +0 -510
  187. package/dist/components/patterns/McSideBar/McSideBarCenter/McSideBarCenter.vue.js +0 -413
  188. package/dist/components/patterns/McSideBar/McSideBarTop/McSideBarTop.vue.js +0 -419
  189. package/dist/components/patterns/McTab/McTab.vue.js +0 -518
  190. package/dist/components/patterns/McTabs/McTabs.vue.js +0 -427
  191. package/dist/components/patterns/McWrapScroll/McWrapScroll.vue.js +0 -422
  192. package/dist/components/templates/McDrawer/McDrawer.vue.js +0 -304
  193. package/dist/components/templates/McDrawer/McDrawerContainer.vue.js +0 -133
  194. package/dist/components/templates/McDrawer/McDrawerContentTemplate/McDrawerContentTemplate.vue.js +0 -134
  195. package/dist/components/templates/McModal/McModal.vue.js +0 -664
  196. package/dist/components/templates/McModal/McModalContainer.vue.js +0 -119
  197. package/dist/components/templates/McTable/McTable/McTable.vue.js +0 -862
  198. package/dist/components/templates/McTable/McTableCard/McTableCard.vue.js +0 -339
  199. package/dist/components/templates/McTable/McTableCard/McTableCardHeader/McTableCardHeader.vue.js +0 -119
  200. package/dist/components/templates/McTable/McTableSkeletonLoading/McTableSkeletonLoading.vue.js +0 -118
  201. package/dist/components/templates/McTable/McTableSort/McTableSort.vue.js +0 -136
  202. package/dist/components/templates/McTopBar/McTopBar.vue.js +0 -309
  203. package/dist/components/templates/McVirtualScroll/McVirtualScroll.vue.js +0 -239
  204. package/dist/composables/index.js +0 -8
  205. package/dist/composables/useDrawer.js +0 -72
  206. package/dist/composables/useEncodeDecode.js +0 -25
  207. package/dist/composables/useFieldErrors.js +0 -20
  208. package/dist/composables/useHelper.js +0 -79
  209. package/dist/composables/useModal.js +0 -71
  210. package/dist/composables/useRandomNumber.js +0 -10
  211. package/dist/composables/useTooltip.js +0 -154
  212. package/dist/consts/table.js +0 -6
  213. package/dist/enums/Cell.js +0 -6
  214. package/dist/enums/Chip.js +0 -11
  215. package/dist/enums/Datepicker.js +0 -42
  216. package/dist/enums/Drawer.js +0 -5
  217. package/dist/enums/Dropdown.js +0 -12
  218. package/dist/enums/Filter.js +0 -14
  219. package/dist/enums/Grid.js +0 -24
  220. package/dist/enums/Input.js +0 -20
  221. package/dist/enums/Modal.js +0 -5
  222. package/dist/enums/Preview.js +0 -6
  223. package/dist/enums/Radio.js +0 -5
  224. package/dist/enums/RadioGroup.js +0 -5
  225. package/dist/enums/Select.js +0 -11
  226. package/dist/enums/Sidebar.js +0 -5
  227. package/dist/enums/Tab.js +0 -6
  228. package/dist/enums/Title.js +0 -21
  229. package/dist/enums/Tooltip.js +0 -15
  230. package/dist/enums/index.js +0 -22
  231. package/dist/enums/ui/Alignment.js +0 -6
  232. package/dist/enums/ui/Button.js +0 -24
  233. package/dist/enums/ui/Directions.js +0 -5
  234. package/dist/enums/ui/Weights.js +0 -7
  235. package/dist/main.js +0 -6
  236. package/dist/mocks/authUser.js +0 -162
  237. package/dist/mocks/categories.js +0 -107
  238. package/dist/mocks/filterMocks.js +0 -128
  239. package/dist/mocks/icons.json +0 -1
  240. package/dist/mocks/menuLangs.js +0 -19
  241. package/dist/mocks/sidebar.js +0 -125
  242. package/dist/mocks/tableData.js +0 -8180
  243. package/dist/types/App.vue.d.ts +0 -2
  244. package/dist/types/IButton.js +0 -1
  245. package/dist/types/ICell.js +0 -1
  246. package/dist/types/IChip.js +0 -1
  247. package/dist/types/ICollapse.js +0 -1
  248. package/dist/types/IDatepicker.js +0 -1
  249. package/dist/types/IDirections.js +0 -1
  250. package/dist/types/IDrawer.js +0 -1
  251. package/dist/types/IDropdown.js +0 -1
  252. package/dist/types/IFilter.js +0 -1
  253. package/dist/types/IGrid.js +0 -1
  254. package/dist/types/IInput.js +0 -1
  255. package/dist/types/IModal.js +0 -1
  256. package/dist/types/IPreview.js +0 -1
  257. package/dist/types/IRadio.js +0 -1
  258. package/dist/types/IRadioGroup.js +0 -1
  259. package/dist/types/IRoute.js +0 -1
  260. package/dist/types/ISelect.js +0 -1
  261. package/dist/types/ISideBar.js +0 -1
  262. package/dist/types/ITable.js +0 -1
  263. package/dist/types/ITabs.js +0 -1
  264. package/dist/types/ITitle.js +0 -1
  265. package/dist/types/ITooltip.js +0 -1
  266. package/dist/types/assets/tokens/json/index.d.ts +0 -18
  267. package/dist/types/components/elements/McBottomLoader/McBottomLoader.vue.d.ts +0 -14
  268. package/dist/types/components/elements/McCropper/McCropper.vue.d.ts +0 -2
  269. package/dist/types/components/elements/McNodata/McNoData.vue.d.ts +0 -110
  270. package/dist/types/components/elements/McNotification/McNotification.vue.d.ts +0 -124
  271. package/dist/types/components/index.d.ts +0 -70
  272. package/dist/types/components/patterns/McDropdown/McDropdownPanel.vue.d.ts +0 -22
  273. package/dist/types/components/patterns/McSideBar/McSideBar.vue.d.ts +0 -292
  274. package/dist/types/components/patterns/McSideBar/McSideBarTop/McSideBarTop.vue.d.ts +0 -123
  275. package/dist/types/components/patterns/McTab/McTab.vue.d.ts +0 -224
  276. package/dist/types/components/templates/McDrawer/McDrawer.vue.d.ts +0 -104
  277. package/dist/types/components/templates/McTable/McTable/McTable.vue.d.ts +0 -295
  278. package/dist/types/components/templates/McTable/McTableSkeletonLoading/McTableSkeletonLoading.vue.d.ts +0 -18
  279. package/dist/types/composables/useFieldErrors.d.ts +0 -5
  280. package/dist/types/index.js +0 -38
  281. package/dist/types/main.d.ts +0 -2
  282. package/dist/types/styles/Alignment.js +0 -1
  283. package/dist/types/styles/AvatarSizes.js +0 -3
  284. package/dist/types/styles/Colors.js +0 -3
  285. package/dist/types/styles/Durations.js +0 -3
  286. package/dist/types/styles/FontSizes.js +0 -3
  287. package/dist/types/styles/FontWeights.js +0 -3
  288. package/dist/types/styles/Grid.js +0 -1
  289. package/dist/types/styles/Icons.js +0 -2
  290. package/dist/types/styles/LineHeights.js +0 -3
  291. package/dist/types/styles/MediaQueries.js +0 -3
  292. package/dist/types/styles/Radiuses.js +0 -3
  293. package/dist/types/styles/Sizes.js +0 -3
  294. package/dist/types/styles/Spaces.js +0 -3
  295. package/dist/types/styles/Weights.js +0 -1
  296. package/dist/types/types/index.d.ts +0 -36
  297. package/dist/utils/dayjs.js +0 -18
  298. package/dist/utils/mcGridColAdaptiveProps.js +0 -10
  299. package/dist/utils/mcTitleAdaptiveProps.js +0 -10
  300. /package/dist/{types/composables → composables}/useEncodeDecode.d.ts +0 -0
  301. /package/dist/{types/composables → composables}/useHelper.d.ts +0 -0
  302. /package/dist/{types/composables → composables}/useModal.d.ts +0 -0
  303. /package/dist/{types/composables → composables}/useRandomNumber.d.ts +0 -0
  304. /package/dist/{types/consts → consts}/table.d.ts +0 -0
  305. /package/dist/{types/enums → enums}/Cell.d.ts +0 -0
  306. /package/dist/{types/enums → enums}/Chip.d.ts +0 -0
  307. /package/dist/{types/enums → enums}/Datepicker.d.ts +0 -0
  308. /package/dist/{types/enums → enums}/Drawer.d.ts +0 -0
  309. /package/dist/{types/enums → enums}/Dropdown.d.ts +0 -0
  310. /package/dist/{types/enums → enums}/Filter.d.ts +0 -0
  311. /package/dist/{types/enums → enums}/Grid.d.ts +0 -0
  312. /package/dist/{types/enums → enums}/Input.d.ts +0 -0
  313. /package/dist/{types/enums → enums}/Modal.d.ts +0 -0
  314. /package/dist/{types/enums → enums}/Preview.d.ts +0 -0
  315. /package/dist/{types/enums → enums}/Radio.d.ts +0 -0
  316. /package/dist/{types/enums → enums}/RadioGroup.d.ts +0 -0
  317. /package/dist/{types/enums → enums}/Select.d.ts +0 -0
  318. /package/dist/{types/enums → enums}/Sidebar.d.ts +0 -0
  319. /package/dist/{types/enums → enums}/Tab.d.ts +0 -0
  320. /package/dist/{types/enums → enums}/Title.d.ts +0 -0
  321. /package/dist/{types/enums → enums}/Tooltip.d.ts +0 -0
  322. /package/dist/{types/enums → enums}/index.d.ts +0 -0
  323. /package/dist/{types/enums → enums}/ui/Alignment.d.ts +0 -0
  324. /package/dist/{types/enums → enums}/ui/Button.d.ts +0 -0
  325. /package/dist/{types/enums → enums}/ui/Directions.d.ts +0 -0
  326. /package/dist/{types/enums → enums}/ui/Weights.d.ts +0 -0
  327. /package/dist/{types/mocks → mocks}/authUser.d.ts +0 -0
  328. /package/dist/{types/mocks → mocks}/categories.d.ts +0 -0
  329. /package/dist/{types/mocks → mocks}/menuLangs.d.ts +0 -0
  330. /package/dist/types/{types/ICollapse.d.ts → ICollapse.d.ts} +0 -0
  331. /package/dist/types/{types/IGrid.d.ts → IGrid.d.ts} +0 -0
  332. /package/dist/types/{types/IRoute.d.ts → IRoute.d.ts} +0 -0
  333. /package/dist/types/{types/styles → styles}/AvatarSizes.d.ts +0 -0
  334. /package/dist/types/{types/styles → styles}/Colors.d.ts +0 -0
  335. /package/dist/types/{types/styles → styles}/Durations.d.ts +0 -0
  336. /package/dist/types/{types/styles → styles}/FontSizes.d.ts +0 -0
  337. /package/dist/types/{types/styles → styles}/FontWeights.d.ts +0 -0
  338. /package/dist/types/{types/styles → styles}/Icons.d.ts +0 -0
  339. /package/dist/types/{types/styles → styles}/LineHeights.d.ts +0 -0
  340. /package/dist/types/{types/styles → styles}/MediaQueries.d.ts +0 -0
  341. /package/dist/types/{types/styles → styles}/Radiuses.d.ts +0 -0
  342. /package/dist/types/{types/styles → styles}/Sizes.d.ts +0 -0
  343. /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 */