mediacube-ui-v2 0.0.32 → 0.0.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/mediacube-ui-v2.cjs.js +7 -0
- package/dist/mediacube-ui-v2.es.js +23887 -0
- package/dist/src/App.vue.d.ts +1 -1
- package/dist/src/App.vue.d.ts.map +1 -1
- package/dist/src/assets/tokens/json/animations.json.d.ts +8 -0
- package/dist/src/assets/tokens/json/border-radius.json.d.ts +26 -0
- package/dist/src/assets/tokens/json/box-shadows.json.d.ts +26 -0
- package/dist/src/assets/tokens/json/colors.json.d.ts +73 -0
- package/dist/src/assets/tokens/json/durations.json.d.ts +12 -0
- package/dist/src/assets/tokens/json/easings.json.d.ts +5 -0
- package/dist/src/assets/tokens/json/font-families.json.d.ts +6 -0
- package/dist/src/assets/tokens/json/font-sizes.json.d.ts +20 -0
- package/dist/src/assets/tokens/json/font-weights.json.d.ts +14 -0
- package/dist/src/assets/tokens/json/gradients.json.d.ts +15 -0
- package/dist/src/assets/tokens/json/index.d.ts +17 -17
- package/dist/src/assets/tokens/json/letter-spacings.json.d.ts +6 -0
- package/dist/src/assets/tokens/json/line-heights.json.d.ts +20 -0
- package/dist/src/assets/tokens/json/media-queries.json.d.ts +28 -0
- package/dist/src/assets/tokens/json/opacities.json.d.ts +7 -0
- package/dist/src/assets/tokens/json/sizes.json.d.ts +44 -0
- package/dist/src/assets/tokens/json/spacings.json.d.ts +36 -0
- package/dist/src/assets/tokens/json/z-indexes.json.d.ts +14 -0
- package/dist/src/components/elements/McAvatar/McAvatar.vue.d.ts +5 -5
- package/dist/src/components/elements/McAvatar/McAvatar.vue.d.ts.map +1 -1
- package/dist/src/components/elements/McBadge/McBadge.vue.d.ts +3 -3
- package/dist/src/components/elements/McBadge/McBadge.vue.d.ts.map +1 -1
- package/dist/src/components/elements/McBottomLoader/McBottomLoader.vue.d.ts +3 -3
- package/dist/src/components/elements/McBottomLoader/McBottomLoader.vue.d.ts.map +1 -1
- package/dist/src/components/elements/McButton/McButton.vue.d.ts +9 -10
- package/dist/src/components/elements/McButton/McButton.vue.d.ts.map +1 -1
- package/dist/src/components/elements/McChip/McChip.vue.d.ts +6 -7
- package/dist/src/components/elements/McChip/McChip.vue.d.ts.map +1 -1
- package/dist/src/components/elements/McDatepicker/McDatepicker.vue.d.ts +1 -2
- package/dist/src/components/elements/McDatepicker/McDatepicker.vue.d.ts.map +1 -1
- package/dist/src/components/elements/McDraggable/McDraggable.vue.d.ts +4 -4
- package/dist/src/components/elements/McDraggable/McDraggable.vue.d.ts.map +1 -1
- package/dist/src/components/elements/McFieldCheckbox/McFieldCheckbox.vue.d.ts +1 -1
- package/dist/src/components/elements/McFieldCheckbox/McFieldCheckbox.vue.d.ts.map +1 -1
- package/dist/src/components/elements/McFieldRadio/McFieldRadio.vue.d.ts +8 -8
- package/dist/src/components/elements/McFieldRadio/McFieldRadio.vue.d.ts.map +1 -1
- package/dist/src/components/elements/McFieldRadioGroup/McFieldRadioGroup.vue.d.ts +1 -1
- package/dist/src/components/elements/McFieldRadioGroup/McFieldRadioGroup.vue.d.ts.map +1 -1
- package/dist/src/components/elements/McFieldRange/McFieldRange.vue.d.ts +6 -6
- package/dist/src/components/elements/McFieldRange/McFieldRange.vue.d.ts.map +1 -1
- package/dist/src/components/elements/McFieldSelect/McFieldSelect.vue.d.ts +8 -9
- package/dist/src/components/elements/McFieldSelect/McFieldSelect.vue.d.ts.map +1 -1
- package/dist/src/components/elements/McFieldText/McFieldText.vue.d.ts +9 -9
- package/dist/src/components/elements/McFieldText/McFieldText.vue.d.ts.map +1 -1
- package/dist/src/components/elements/McFieldToggle/McFieldToggle.vue.d.ts +6 -6
- package/dist/src/components/elements/McFieldToggle/McFieldToggle.vue.d.ts.map +1 -1
- package/dist/src/components/elements/McInfinityLoadingTrigger/McInfinityLoadingTrigger.vue.d.ts +4 -4
- package/dist/src/components/elements/McInfinityLoadingTrigger/McInfinityLoadingTrigger.vue.d.ts.map +1 -1
- package/dist/src/components/elements/McNodata/McNoData.vue.d.ts +5 -5
- package/dist/src/components/elements/McNodata/McNoData.vue.d.ts.map +1 -1
- package/dist/src/components/elements/McNotification/McNotification.vue.d.ts +5 -5
- package/dist/src/components/elements/McNotification/McNotification.vue.d.ts.map +1 -1
- package/dist/src/components/elements/McProgress/McProgress.vue.d.ts +5 -5
- package/dist/src/components/elements/McProgress/McProgress.vue.d.ts.map +1 -1
- package/dist/src/components/elements/McSeparator/McSeparator.vue.d.ts +4 -4
- package/dist/src/components/elements/McSeparator/McSeparator.vue.d.ts.map +1 -1
- package/dist/src/components/elements/McSlideUpDown/McSlideUpDown.vue.d.ts +5 -5
- package/dist/src/components/elements/McSlideUpDown/McSlideUpDown.vue.d.ts.map +1 -1
- package/dist/src/components/elements/McStack/McStack.vue.d.ts +4 -4
- package/dist/src/components/elements/McStack/McStack.vue.d.ts.map +1 -1
- package/dist/src/components/elements/McSvgIcon/McSvgIcon.vue.d.ts +9 -9
- package/dist/src/components/elements/McSvgIcon/McSvgIcon.vue.d.ts.map +1 -1
- package/dist/src/components/elements/McTitle/McTitle.vue.d.ts +7 -7
- package/dist/src/components/elements/McTitle/McTitle.vue.d.ts.map +1 -1
- package/dist/src/components/elements/McTooltip/McTooltip.vue.d.ts +6 -6
- package/dist/src/components/elements/McTooltip/McTooltip.vue.d.ts.map +1 -1
- package/dist/src/components/patterns/McAccordion/McAccordion.vue.d.ts +4 -4
- package/dist/src/components/patterns/McAccordion/McAccordion.vue.d.ts.map +1 -1
- package/dist/src/components/patterns/McCell/McCell.vue.d.ts +6 -6
- package/dist/src/components/patterns/McCell/McCell.vue.d.ts.map +1 -1
- package/dist/src/components/patterns/McCollapse/McCollapse.vue.d.ts +6 -6
- package/dist/src/components/patterns/McCollapse/McCollapse.vue.d.ts.map +1 -1
- package/dist/src/components/patterns/McDropdown/McDropdown.vue.d.ts +7 -7
- package/dist/src/components/patterns/McDropdown/McDropdown.vue.d.ts.map +1 -1
- package/dist/src/components/patterns/McDropdown/McDropdownPanel.vue.d.ts +4 -4
- package/dist/src/components/patterns/McDropdown/McDropdownPanel.vue.d.ts.map +1 -1
- package/dist/src/components/patterns/McFilter/McFilter.vue.d.ts +6 -6
- package/dist/src/components/patterns/McFilter/McFilter.vue.d.ts.map +1 -1
- package/dist/src/components/patterns/McFilter/McFilterChip/McFilterChip.vue.d.ts +6 -6
- package/dist/src/components/patterns/McFilter/McFilterChip/McFilterChip.vue.d.ts.map +1 -1
- package/dist/src/components/patterns/McFilter/McFilterTags/McFilterTags.vue.d.ts +6 -6
- package/dist/src/components/patterns/McFilter/McFilterTags/McFilterTags.vue.d.ts.map +1 -1
- package/dist/src/components/patterns/McFilter/McFilterTypeDate/McFilterTypeDate.vue.d.ts +6 -6
- package/dist/src/components/patterns/McFilter/McFilterTypeDate/McFilterTypeDate.vue.d.ts.map +1 -1
- package/dist/src/components/patterns/McFilter/McFilterTypeRange/McFilterTypeRange.vue.d.ts +6 -6
- package/dist/src/components/patterns/McFilter/McFilterTypeRange/McFilterTypeRange.vue.d.ts.map +1 -1
- package/dist/src/components/patterns/McFilter/McFilterTypeRelation/McFilterTypeRelation.vue.d.ts +6 -6
- package/dist/src/components/patterns/McFilter/McFilterTypeRelation/McFilterTypeRelation.vue.d.ts.map +1 -1
- package/dist/src/components/patterns/McFilter/McFilterTypeText/McFilterTypeText.vue.d.ts +6 -6
- package/dist/src/components/patterns/McFilter/McFilterTypeText/McFilterTypeText.vue.d.ts.map +1 -1
- package/dist/src/components/patterns/McGridCol/McGridCol.vue.d.ts +4 -4
- package/dist/src/components/patterns/McGridCol/McGridCol.vue.d.ts.map +1 -1
- package/dist/src/components/patterns/McGridRow/McGridRow.vue.d.ts +5 -5
- package/dist/src/components/patterns/McGridRow/McGridRow.vue.d.ts.map +1 -1
- package/dist/src/components/patterns/McOverlay/McOverlay.vue.d.ts +4 -4
- package/dist/src/components/patterns/McOverlay/McOverlay.vue.d.ts.map +1 -1
- package/dist/src/components/patterns/McPreview/McPreview.vue.d.ts +4 -4
- package/dist/src/components/patterns/McPreview/McPreview.vue.d.ts.map +1 -1
- package/dist/src/components/patterns/McSideBar/McSideBar.vue.d.ts +7 -7
- package/dist/src/components/patterns/McSideBar/McSideBar.vue.d.ts.map +1 -1
- package/dist/src/components/patterns/McSideBar/McSideBarBottom/McSideBarBottom.vue.d.ts +5 -5
- package/dist/src/components/patterns/McSideBar/McSideBarBottom/McSideBarBottom.vue.d.ts.map +1 -1
- package/dist/src/components/patterns/McSideBar/McSideBarButton/McSideBarButton.vue.d.ts +5 -5
- package/dist/src/components/patterns/McSideBar/McSideBarButton/McSideBarButton.vue.d.ts.map +1 -1
- package/dist/src/components/patterns/McSideBar/McSideBarCenter/McSideBarCenter.vue.d.ts +6 -6
- package/dist/src/components/patterns/McSideBar/McSideBarCenter/McSideBarCenter.vue.d.ts.map +1 -1
- package/dist/src/components/patterns/McSideBar/McSideBarTop/McSideBarTop.vue.d.ts +6 -6
- package/dist/src/components/patterns/McSideBar/McSideBarTop/McSideBarTop.vue.d.ts.map +1 -1
- package/dist/src/components/patterns/McTab/McTab.vue.d.ts +5 -5
- package/dist/src/components/patterns/McTab/McTab.vue.d.ts.map +1 -1
- package/dist/src/components/patterns/McTabs/McTabs.vue.d.ts +7 -8
- package/dist/src/components/patterns/McTabs/McTabs.vue.d.ts.map +1 -1
- package/dist/src/components/patterns/McWrapScroll/McWrapScroll.vue.d.ts +7 -7
- package/dist/src/components/patterns/McWrapScroll/McWrapScroll.vue.d.ts.map +1 -1
- package/dist/src/components/templates/McDrawer/McDrawer.vue.d.ts +7 -7
- package/dist/src/components/templates/McDrawer/McDrawer.vue.d.ts.map +1 -1
- package/dist/src/components/templates/McDrawer/McDrawerContainer.vue.d.ts +5 -5
- package/dist/src/components/templates/McDrawer/McDrawerContainer.vue.d.ts.map +1 -1
- package/dist/src/components/templates/McDrawer/McDrawerContentTemplate/McDrawerContentTemplate.vue.d.ts +4 -4
- package/dist/src/components/templates/McDrawer/McDrawerContentTemplate/McDrawerContentTemplate.vue.d.ts.map +1 -1
- package/dist/src/components/templates/McModal/McModal.vue.d.ts +7 -7
- package/dist/src/components/templates/McModal/McModal.vue.d.ts.map +1 -1
- package/dist/src/components/templates/McModal/McModalContainer.vue.d.ts +5 -5
- package/dist/src/components/templates/McModal/McModalContainer.vue.d.ts.map +1 -1
- package/dist/src/components/templates/McTable/McTable/McTable.vue.d.ts +7 -7
- package/dist/src/components/templates/McTable/McTable/McTable.vue.d.ts.map +1 -1
- package/dist/src/components/templates/McTable/McTableCard/McTableCard.vue.d.ts +6 -6
- package/dist/src/components/templates/McTable/McTableCard/McTableCard.vue.d.ts.map +1 -1
- package/dist/src/components/templates/McTable/McTableCard/McTableCardHeader/McTableCardHeader.vue.d.ts +4 -4
- package/dist/src/components/templates/McTable/McTableCard/McTableCardHeader/McTableCardHeader.vue.d.ts.map +1 -1
- package/dist/src/components/templates/McTable/McTableSkeletonLoading/McTableSkeletonLoading.vue.d.ts +5 -5
- package/dist/src/components/templates/McTable/McTableSkeletonLoading/McTableSkeletonLoading.vue.d.ts.map +1 -1
- package/dist/src/components/templates/McTable/McTableSort/McTableSort.vue.d.ts +6 -6
- package/dist/src/components/templates/McTable/McTableSort/McTableSort.vue.d.ts.map +1 -1
- package/dist/src/components/templates/McTopBar/McTopBar.vue.d.ts +4 -4
- package/dist/src/components/templates/McTopBar/McTopBar.vue.d.ts.map +1 -1
- package/dist/src/components/templates/McVirtualScroll/McVirtualScroll.vue.d.ts +4 -4
- package/dist/src/components/templates/McVirtualScroll/McVirtualScroll.vue.d.ts.map +1 -1
- package/dist/src/composables/index.d.ts +1 -1
- package/dist/src/composables/useDrawer.d.ts +1 -1
- package/dist/src/composables/useFieldErrors.d.ts +2 -2
- package/dist/src/composables/useTooltip.d.ts +1 -1
- package/dist/src/index.d.ts +2 -2
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/main.d.ts +0 -2
- package/dist/src/mocks/filterMocks.d.ts +1 -1
- package/dist/src/mocks/icons.json.d.ts +3 -0
- package/dist/src/mocks/sidebar.d.ts +1 -1
- package/dist/src/mocks/tableData.d.ts +1 -1
- package/dist/src/types/IButton.d.ts +5 -5
- package/dist/src/types/ICell.d.ts +1 -1
- package/dist/src/types/IChip.d.ts +2 -2
- package/dist/src/types/IDatepicker.d.ts +1 -1
- package/dist/src/types/IDirections.d.ts +1 -1
- package/dist/src/types/IDrawer.d.ts +2 -2
- package/dist/src/types/IDropdown.d.ts +1 -1
- package/dist/src/types/IFilter.d.ts +1 -1
- package/dist/src/types/IInput.d.ts +1 -1
- package/dist/src/types/IModal.d.ts +2 -2
- package/dist/src/types/IPreview.d.ts +1 -1
- package/dist/src/types/IRadio.d.ts +1 -1
- package/dist/src/types/IRadioGroup.d.ts +1 -1
- package/dist/src/types/ISelect.d.ts +1 -1
- package/dist/src/types/ISideBar.d.ts +5 -5
- package/dist/src/types/ITable.d.ts +2 -2
- package/dist/src/types/ITabs.d.ts +4 -4
- package/dist/src/types/ITitle.d.ts +1 -1
- package/dist/src/types/ITooltip.d.ts +1 -1
- package/dist/src/types/styles/Alignment.d.ts +1 -1
- package/dist/src/types/styles/Grid.d.ts +1 -1
- package/dist/src/types/styles/Weights.d.ts +1 -1
- package/dist/src/utils/mcGridColAdaptiveProps.d.ts +1 -1
- package/dist/src/utils/mcTitleAdaptiveProps.d.ts +1 -1
- package/dist/style.css +1 -11696
- package/package.json +6 -4
- package/dist/index.cjs +0 -13694
- package/dist/index.js +0 -13687
- package/dist/src/App.vue.js +0 -54
- package/dist/src/assets/tokens/json/animations.json +0 -6
- package/dist/src/assets/tokens/json/border-radius.json +0 -24
- package/dist/src/assets/tokens/json/box-shadows.json +0 -24
- package/dist/src/assets/tokens/json/colors.json +0 -71
- package/dist/src/assets/tokens/json/durations.json +0 -10
- package/dist/src/assets/tokens/json/easings.json +0 -3
- package/dist/src/assets/tokens/json/font-families.json +0 -4
- package/dist/src/assets/tokens/json/font-sizes.json +0 -18
- package/dist/src/assets/tokens/json/font-weights.json +0 -12
- package/dist/src/assets/tokens/json/gradients.json +0 -13
- package/dist/src/assets/tokens/json/index.js +0 -18
- package/dist/src/assets/tokens/json/letter-spacings.json +0 -4
- package/dist/src/assets/tokens/json/line-heights.json +0 -18
- package/dist/src/assets/tokens/json/media-queries.json +0 -26
- package/dist/src/assets/tokens/json/opacities.json +0 -5
- package/dist/src/assets/tokens/json/sizes.json +0 -42
- package/dist/src/assets/tokens/json/spacings.json +0 -34
- package/dist/src/assets/tokens/json/z-indexes.json +0 -12
- package/dist/src/components/elements/McAvatar/McAvatar.vue.js +0 -412
- package/dist/src/components/elements/McBadge/McBadge.vue.js +0 -188
- package/dist/src/components/elements/McBottomLoader/McBottomLoader.vue.js +0 -83
- package/dist/src/components/elements/McButton/McButton.vue.js +0 -1037
- package/dist/src/components/elements/McChip/McChip.vue.js +0 -326
- package/dist/src/components/elements/McCropper/McCropper.vue.d.ts +0 -30
- package/dist/src/components/elements/McCropper/McCropper.vue.d.ts.map +0 -1
- package/dist/src/components/elements/McCropper/McCropper.vue.js +0 -155
- package/dist/src/components/elements/McDatepicker/McDatepicker.vue.js +0 -1251
- package/dist/src/components/elements/McDraggable/McDraggable.vue.js +0 -280
- package/dist/src/components/elements/McFieldCheckbox/McFieldCheckbox.vue.js +0 -541
- package/dist/src/components/elements/McFieldRadio/McFieldRadio.vue.js +0 -488
- package/dist/src/components/elements/McFieldRadioGroup/McFieldRadioGroup.vue.js +0 -470
- package/dist/src/components/elements/McFieldRange/McFieldRange.vue.js +0 -547
- package/dist/src/components/elements/McFieldSelect/McFieldSelect.vue.js +0 -1436
- package/dist/src/components/elements/McFieldText/McFieldText.vue.js +0 -1401
- package/dist/src/components/elements/McFieldToggle/McFieldToggle.vue.js +0 -408
- package/dist/src/components/elements/McInfinityLoadingTrigger/McInfinityLoadingTrigger.vue.js +0 -192
- package/dist/src/components/elements/McNodata/McNoData.vue.js +0 -316
- package/dist/src/components/elements/McNotification/McNotification.vue.js +0 -364
- package/dist/src/components/elements/McProgress/McProgress.vue.js +0 -361
- package/dist/src/components/elements/McSeparator/McSeparator.vue.js +0 -325
- package/dist/src/components/elements/McSlideUpDown/McSlideUpDown.vue.js +0 -271
- package/dist/src/components/elements/McStack/McStack.vue.js +0 -180
- package/dist/src/components/elements/McSvgIcon/McSvgIcon.vue.js +0 -286
- package/dist/src/components/elements/McTitle/McTitle.vue.js +0 -466
- package/dist/src/components/elements/McTooltip/McTooltip.vue.js +0 -246
- package/dist/src/components/index.js +0 -69
- package/dist/src/components/patterns/McAccordion/McAccordion.vue.js +0 -120
- package/dist/src/components/patterns/McCell/McCell.vue.js +0 -197
- package/dist/src/components/patterns/McCollapse/McCollapse.vue.js +0 -314
- package/dist/src/components/patterns/McDropdown/McDropdown.vue.js +0 -366
- package/dist/src/components/patterns/McDropdown/McDropdownPanel.vue.js +0 -83
- package/dist/src/components/patterns/McFilter/McFilter.vue.js +0 -1056
- package/dist/src/components/patterns/McFilter/McFilterChip/McFilterChip.vue.js +0 -210
- package/dist/src/components/patterns/McFilter/McFilterTags/McFilterTags.vue.js +0 -546
- package/dist/src/components/patterns/McFilter/McFilterTypeDate/McFilterTypeDate.vue.js +0 -188
- package/dist/src/components/patterns/McFilter/McFilterTypeRange/McFilterTypeRange.vue.js +0 -238
- package/dist/src/components/patterns/McFilter/McFilterTypeRelation/McFilterTypeRelation.vue.js +0 -356
- package/dist/src/components/patterns/McFilter/McFilterTypeText/McFilterTypeText.vue.js +0 -171
- package/dist/src/components/patterns/McGridCol/McGridCol.vue.js +0 -246
- package/dist/src/components/patterns/McGridRow/McGridRow.vue.js +0 -292
- package/dist/src/components/patterns/McOverlay/McOverlay.vue.js +0 -107
- package/dist/src/components/patterns/McPreview/McPreview.vue.js +0 -118
- package/dist/src/components/patterns/McSideBar/McSideBar.vue.js +0 -738
- package/dist/src/components/patterns/McSideBar/McSideBarBottom/McSideBarBottom.vue.js +0 -204
- package/dist/src/components/patterns/McSideBar/McSideBarButton/McSideBarButton.vue.js +0 -508
- package/dist/src/components/patterns/McSideBar/McSideBarCenter/McSideBarCenter.vue.js +0 -409
- package/dist/src/components/patterns/McSideBar/McSideBarTop/McSideBarTop.vue.js +0 -415
- package/dist/src/components/patterns/McTab/McTab.vue.js +0 -518
- package/dist/src/components/patterns/McTabs/McTabs.vue.js +0 -427
- package/dist/src/components/patterns/McWrapScroll/McWrapScroll.vue.js +0 -422
- package/dist/src/components/templates/McDrawer/McDrawer.vue.js +0 -304
- package/dist/src/components/templates/McDrawer/McDrawerContainer.vue.js +0 -133
- package/dist/src/components/templates/McDrawer/McDrawerContentTemplate/McDrawerContentTemplate.vue.js +0 -134
- package/dist/src/components/templates/McModal/McModal.vue.js +0 -664
- package/dist/src/components/templates/McModal/McModalContainer.vue.js +0 -119
- package/dist/src/components/templates/McTable/McTable/McTable.vue.js +0 -854
- package/dist/src/components/templates/McTable/McTableCard/McTableCard.vue.js +0 -339
- package/dist/src/components/templates/McTable/McTableCard/McTableCardHeader/McTableCardHeader.vue.js +0 -118
- package/dist/src/components/templates/McTable/McTableSkeletonLoading/McTableSkeletonLoading.vue.js +0 -118
- package/dist/src/components/templates/McTable/McTableSort/McTableSort.vue.js +0 -136
- package/dist/src/components/templates/McTopBar/McTopBar.vue.js +0 -305
- package/dist/src/components/templates/McVirtualScroll/McVirtualScroll.vue.js +0 -239
- package/dist/src/composables/index.js +0 -7
- package/dist/src/composables/useDrawer.js +0 -72
- package/dist/src/composables/useEncodeDecode.js +0 -25
- package/dist/src/composables/useFieldErrors.js +0 -20
- package/dist/src/composables/useHelper.js +0 -79
- package/dist/src/composables/useModal.js +0 -71
- package/dist/src/composables/useRandomNumber.js +0 -10
- package/dist/src/composables/useTooltip.js +0 -154
- package/dist/src/consts/index.js +0 -1
- package/dist/src/consts/table.js +0 -6
- package/dist/src/enums/Cell.js +0 -6
- package/dist/src/enums/Chip.js +0 -11
- package/dist/src/enums/Datepicker.js +0 -42
- package/dist/src/enums/Drawer.js +0 -5
- package/dist/src/enums/Dropdown.js +0 -12
- package/dist/src/enums/Filter.js +0 -14
- package/dist/src/enums/Grid.js +0 -24
- package/dist/src/enums/Input.js +0 -20
- package/dist/src/enums/Modal.js +0 -5
- package/dist/src/enums/Preview.js +0 -6
- package/dist/src/enums/Radio.js +0 -5
- package/dist/src/enums/RadioGroup.js +0 -5
- package/dist/src/enums/Select.js +0 -11
- package/dist/src/enums/Sidebar.js +0 -5
- package/dist/src/enums/Tab.js +0 -6
- package/dist/src/enums/Title.js +0 -21
- package/dist/src/enums/Tooltip.js +0 -15
- package/dist/src/enums/index.js +0 -22
- package/dist/src/enums/ui/Alignment.js +0 -6
- package/dist/src/enums/ui/Button.js +0 -24
- package/dist/src/enums/ui/Directions.js +0 -5
- package/dist/src/enums/ui/Weights.js +0 -7
- package/dist/src/index.js +0 -17
- package/dist/src/main.js +0 -8
- package/dist/src/mocks/authUser.js +0 -162
- package/dist/src/mocks/categories.js +0 -108
- package/dist/src/mocks/filterMocks.js +0 -128
- package/dist/src/mocks/icons.json +0 -1
- package/dist/src/mocks/menuLangs.js +0 -19
- package/dist/src/mocks/selectOptions.json +0 -111
- package/dist/src/mocks/sidebar.js +0 -125
- package/dist/src/mocks/tableData.js +0 -8180
- package/dist/src/types/IButton.js +0 -1
- package/dist/src/types/ICell.js +0 -1
- package/dist/src/types/IChip.js +0 -1
- package/dist/src/types/ICollapse.js +0 -1
- package/dist/src/types/IDatepicker.js +0 -1
- package/dist/src/types/IDirections.js +0 -1
- package/dist/src/types/IDrawer.js +0 -1
- package/dist/src/types/IDropdown.js +0 -1
- package/dist/src/types/IFilter.js +0 -1
- package/dist/src/types/IGrid.js +0 -1
- package/dist/src/types/IInput.js +0 -1
- package/dist/src/types/IModal.js +0 -1
- package/dist/src/types/IPreview.js +0 -1
- package/dist/src/types/IRadio.js +0 -1
- package/dist/src/types/IRadioGroup.js +0 -1
- package/dist/src/types/IRoute.js +0 -1
- package/dist/src/types/ISelect.js +0 -1
- package/dist/src/types/ISideBar.js +0 -1
- package/dist/src/types/ITable.js +0 -1
- package/dist/src/types/ITabs.js +0 -1
- package/dist/src/types/ITitle.js +0 -1
- package/dist/src/types/ITooltip.js +0 -1
- package/dist/src/types/index.js +0 -38
- package/dist/src/types/styles/Alignment.js +0 -1
- package/dist/src/types/styles/AvatarSizes.js +0 -3
- package/dist/src/types/styles/Colors.js +0 -3
- package/dist/src/types/styles/Durations.js +0 -3
- package/dist/src/types/styles/FontSizes.js +0 -3
- package/dist/src/types/styles/FontWeights.js +0 -3
- package/dist/src/types/styles/Grid.js +0 -1
- package/dist/src/types/styles/Icons.js +0 -2
- package/dist/src/types/styles/LineHeights.js +0 -3
- package/dist/src/types/styles/MediaQueries.js +0 -3
- package/dist/src/types/styles/Radiuses.js +0 -3
- package/dist/src/types/styles/Sizes.js +0 -3
- package/dist/src/types/styles/Spaces.js +0 -3
- package/dist/src/types/styles/Weights.js +0 -1
- package/dist/src/utils/dayjs.js +0 -22
- package/dist/src/utils/index.js +0 -2
- package/dist/src/utils/mcGridColAdaptiveProps.js +0 -10
- package/dist/src/utils/mcTitleAdaptiveProps.js +0 -10
- package/dist/tsconfig.tsbuildinfo +0 -1
|
@@ -1,738 +0,0 @@
|
|
|
1
|
-
import { computed, onBeforeUnmount, onMounted, provide, reactive, ref, watch } from 'vue';
|
|
2
|
-
import { McSideBarTop, McSideBarCenter, McSideBarBottom } from '@/components';
|
|
3
|
-
import { defaultThemes } from '@/mocks/sidebar';
|
|
4
|
-
import { SidebarTheme, TitleVariations } from '@/enums';
|
|
5
|
-
const { defineProps, defineSlots, defineEmits, defineExpose, defineModel, defineOptions, withDefaults, } = await import('vue');
|
|
6
|
-
const emit = defineEmits();
|
|
7
|
-
const props = defineProps({
|
|
8
|
-
/**
|
|
9
|
-
* Название сервиса
|
|
10
|
-
*
|
|
11
|
-
*/
|
|
12
|
-
logoTitle: {
|
|
13
|
-
type: String,
|
|
14
|
-
default: 'Dashboard'
|
|
15
|
-
},
|
|
16
|
-
/**
|
|
17
|
-
* Размер текста названия сервиса
|
|
18
|
-
*
|
|
19
|
-
*/
|
|
20
|
-
logoTitleVariation: {
|
|
21
|
-
type: String,
|
|
22
|
-
default: TitleVariations.Subtitle
|
|
23
|
-
},
|
|
24
|
-
/**
|
|
25
|
-
* Путь до изображения
|
|
26
|
-
*
|
|
27
|
-
*/
|
|
28
|
-
logoSrc: {
|
|
29
|
-
type: String,
|
|
30
|
-
default: ''
|
|
31
|
-
},
|
|
32
|
-
/**
|
|
33
|
-
* Имя иконки
|
|
34
|
-
* заголовка
|
|
35
|
-
*/
|
|
36
|
-
logoIcon: {
|
|
37
|
-
type: String,
|
|
38
|
-
default: ''
|
|
39
|
-
},
|
|
40
|
-
/**
|
|
41
|
-
* Заголовок
|
|
42
|
-
* центрального блока
|
|
43
|
-
*/
|
|
44
|
-
menuMainTitle: {
|
|
45
|
-
type: String,
|
|
46
|
-
default: ''
|
|
47
|
-
},
|
|
48
|
-
/**
|
|
49
|
-
* Центральное меню
|
|
50
|
-
*
|
|
51
|
-
*/
|
|
52
|
-
menuMain: {
|
|
53
|
-
type: Array,
|
|
54
|
-
default: () => []
|
|
55
|
-
},
|
|
56
|
-
/**
|
|
57
|
-
* Каунты для пунктов меню
|
|
58
|
-
* вставляются в пункты с ключем 'count_key'
|
|
59
|
-
*
|
|
60
|
-
*/
|
|
61
|
-
counts: {
|
|
62
|
-
type: Object,
|
|
63
|
-
default: () => ({})
|
|
64
|
-
},
|
|
65
|
-
/**
|
|
66
|
-
* Меню приложений
|
|
67
|
-
*
|
|
68
|
-
*/
|
|
69
|
-
menuApps: {
|
|
70
|
-
type: Array,
|
|
71
|
-
default: () => []
|
|
72
|
-
},
|
|
73
|
-
/**
|
|
74
|
-
* Config чатры
|
|
75
|
-
*
|
|
76
|
-
*/
|
|
77
|
-
chatraConfig: {
|
|
78
|
-
type: Object,
|
|
79
|
-
default: () => ({})
|
|
80
|
-
},
|
|
81
|
-
/**
|
|
82
|
-
* Текст кнопки
|
|
83
|
-
* сворачивания меню
|
|
84
|
-
*/
|
|
85
|
-
hideText: {
|
|
86
|
-
type: String,
|
|
87
|
-
default: ''
|
|
88
|
-
},
|
|
89
|
-
/**
|
|
90
|
-
* Компактный вид
|
|
91
|
-
*/
|
|
92
|
-
compact: {
|
|
93
|
-
type: Boolean,
|
|
94
|
-
default: false
|
|
95
|
-
},
|
|
96
|
-
/**
|
|
97
|
-
* Цветовая схема
|
|
98
|
-
*/
|
|
99
|
-
variable: {
|
|
100
|
-
type: String,
|
|
101
|
-
default: SidebarTheme.Black
|
|
102
|
-
},
|
|
103
|
-
/**
|
|
104
|
-
* Ширина сайдбара
|
|
105
|
-
*/
|
|
106
|
-
width: {
|
|
107
|
-
type: String,
|
|
108
|
-
default: '216px'
|
|
109
|
-
},
|
|
110
|
-
/**
|
|
111
|
-
* Ширина компактного сайдбара
|
|
112
|
-
*/
|
|
113
|
-
compactWidth: {
|
|
114
|
-
type: String,
|
|
115
|
-
default: '56px'
|
|
116
|
-
},
|
|
117
|
-
/**
|
|
118
|
-
* Брейкпоинт после которого
|
|
119
|
-
* сайдбар становится абсолютным и появляется затемненный бэкдроп
|
|
120
|
-
*/
|
|
121
|
-
absoluteBreakpoint: {
|
|
122
|
-
type: Number,
|
|
123
|
-
default: null
|
|
124
|
-
},
|
|
125
|
-
/**
|
|
126
|
-
* Брейкпоинт после которого
|
|
127
|
-
* сайдбар полностью прячется
|
|
128
|
-
*/
|
|
129
|
-
hiddenBreakpoint: {
|
|
130
|
-
type: Number,
|
|
131
|
-
default: null
|
|
132
|
-
}
|
|
133
|
-
});
|
|
134
|
-
const is_hidden = ref(false);
|
|
135
|
-
const pretty_compact = ref(props.compact);
|
|
136
|
-
const has_compact_class = ref(props.compact);
|
|
137
|
-
const window_width = ref(0);
|
|
138
|
-
const sideBarClasses = computed(() => {
|
|
139
|
-
return {
|
|
140
|
-
'mc-side-bar--compact': has_compact_class.value,
|
|
141
|
-
[currentThemeConfig.value.className]: true
|
|
142
|
-
};
|
|
143
|
-
});
|
|
144
|
-
const sideBarStyles = computed(() => {
|
|
145
|
-
return {
|
|
146
|
-
overflow: `${is_hidden.value ? 'hidden' : 'visible'}`,
|
|
147
|
-
width: has_compact_class.value ? props.compactWidth : props.width
|
|
148
|
-
};
|
|
149
|
-
});
|
|
150
|
-
const wrapperStyles = computed(() => {
|
|
151
|
-
const position = hiddenMode.value && has_compact_class.value
|
|
152
|
-
? {
|
|
153
|
-
position: 'absolute',
|
|
154
|
-
left: `-${props.compactWidth}`
|
|
155
|
-
}
|
|
156
|
-
: {};
|
|
157
|
-
let width = {
|
|
158
|
-
width: has_compact_class.value ? props.compactWidth : props.width
|
|
159
|
-
};
|
|
160
|
-
if (absoluteMode.value) {
|
|
161
|
-
width.width = props.compactWidth;
|
|
162
|
-
}
|
|
163
|
-
if (hiddenMode.value) {
|
|
164
|
-
width.width = '0px';
|
|
165
|
-
}
|
|
166
|
-
return {
|
|
167
|
-
...width,
|
|
168
|
-
...position
|
|
169
|
-
};
|
|
170
|
-
});
|
|
171
|
-
const backdropClasses = computed(() => {
|
|
172
|
-
return {
|
|
173
|
-
'mc-side-bar-wrapper__backdrop--full-width': !has_compact_class.value && window_width.value < props.absoluteBreakpoint
|
|
174
|
-
};
|
|
175
|
-
});
|
|
176
|
-
const absoluteMode = computed(() => {
|
|
177
|
-
return !!props.absoluteBreakpoint && window_width.value < props.absoluteBreakpoint;
|
|
178
|
-
});
|
|
179
|
-
const hiddenMode = computed(() => {
|
|
180
|
-
return !!props.hiddenBreakpoint && window_width.value < props.hiddenBreakpoint;
|
|
181
|
-
});
|
|
182
|
-
const currentThemeConfig = computed(() => {
|
|
183
|
-
return sidebarThemeConfig.value[props.variable] || sidebarThemeConfig.value[SidebarTheme.Black];
|
|
184
|
-
});
|
|
185
|
-
const sidebarThemeConfig = computed(() => {
|
|
186
|
-
return {
|
|
187
|
-
black: defaultThemes.black,
|
|
188
|
-
white: defaultThemes.white
|
|
189
|
-
};
|
|
190
|
-
});
|
|
191
|
-
onMounted(() => {
|
|
192
|
-
if (props.absoluteBreakpoint || (props.hiddenBreakpoint && window)) {
|
|
193
|
-
resize();
|
|
194
|
-
window.addEventListener('resize', resize);
|
|
195
|
-
}
|
|
196
|
-
});
|
|
197
|
-
onBeforeUnmount(() => {
|
|
198
|
-
window.removeEventListener('resize', resize);
|
|
199
|
-
});
|
|
200
|
-
const handleToggleSize = () => {
|
|
201
|
-
has_compact_class.value = !has_compact_class.value;
|
|
202
|
-
emit('compact', has_compact_class.value);
|
|
203
|
-
};
|
|
204
|
-
const openSideBar = () => {
|
|
205
|
-
has_compact_class.value = false;
|
|
206
|
-
emit('compact', has_compact_class.value);
|
|
207
|
-
};
|
|
208
|
-
const resize = () => {
|
|
209
|
-
window_width.value = window.innerWidth;
|
|
210
|
-
};
|
|
211
|
-
watch(() => has_compact_class.value, (value) => {
|
|
212
|
-
if (value) {
|
|
213
|
-
setTimeout(() => {
|
|
214
|
-
pretty_compact.value = value;
|
|
215
|
-
}, 280);
|
|
216
|
-
}
|
|
217
|
-
else {
|
|
218
|
-
pretty_compact.value = value;
|
|
219
|
-
}
|
|
220
|
-
is_hidden.value = true;
|
|
221
|
-
setTimeout(() => {
|
|
222
|
-
is_hidden.value = false;
|
|
223
|
-
}, 280);
|
|
224
|
-
});
|
|
225
|
-
watch(() => props.compact, (value) => {
|
|
226
|
-
has_compact_class.value = value;
|
|
227
|
-
});
|
|
228
|
-
watch(() => absoluteMode.value, (value) => {
|
|
229
|
-
emit('absolute-mode', value);
|
|
230
|
-
}, { immediate: true });
|
|
231
|
-
watch(() => hiddenMode.value, (value) => {
|
|
232
|
-
emit('hidden-mode', value);
|
|
233
|
-
}, { immediate: true });
|
|
234
|
-
provide('provideData', reactive({ currentThemeConfig: currentThemeConfig.value })); /* PartiallyEnd: #3632/scriptSetup.vue */
|
|
235
|
-
const __VLS_fnComponent = (await import('vue')).defineComponent({
|
|
236
|
-
props: {
|
|
237
|
-
/**
|
|
238
|
-
* Название сервиса
|
|
239
|
-
*
|
|
240
|
-
*/
|
|
241
|
-
logoTitle: {
|
|
242
|
-
type: String,
|
|
243
|
-
default: 'Dashboard'
|
|
244
|
-
},
|
|
245
|
-
/**
|
|
246
|
-
* Размер текста названия сервиса
|
|
247
|
-
*
|
|
248
|
-
*/
|
|
249
|
-
logoTitleVariation: {
|
|
250
|
-
type: String,
|
|
251
|
-
default: TitleVariations.Subtitle
|
|
252
|
-
},
|
|
253
|
-
/**
|
|
254
|
-
* Путь до изображения
|
|
255
|
-
*
|
|
256
|
-
*/
|
|
257
|
-
logoSrc: {
|
|
258
|
-
type: String,
|
|
259
|
-
default: ''
|
|
260
|
-
},
|
|
261
|
-
/**
|
|
262
|
-
* Имя иконки
|
|
263
|
-
* заголовка
|
|
264
|
-
*/
|
|
265
|
-
logoIcon: {
|
|
266
|
-
type: String,
|
|
267
|
-
default: ''
|
|
268
|
-
},
|
|
269
|
-
/**
|
|
270
|
-
* Заголовок
|
|
271
|
-
* центрального блока
|
|
272
|
-
*/
|
|
273
|
-
menuMainTitle: {
|
|
274
|
-
type: String,
|
|
275
|
-
default: ''
|
|
276
|
-
},
|
|
277
|
-
/**
|
|
278
|
-
* Центральное меню
|
|
279
|
-
*
|
|
280
|
-
*/
|
|
281
|
-
menuMain: {
|
|
282
|
-
type: Array,
|
|
283
|
-
default: () => []
|
|
284
|
-
},
|
|
285
|
-
/**
|
|
286
|
-
* Каунты для пунктов меню
|
|
287
|
-
* вставляются в пункты с ключем 'count_key'
|
|
288
|
-
*
|
|
289
|
-
*/
|
|
290
|
-
counts: {
|
|
291
|
-
type: Object,
|
|
292
|
-
default: () => ({})
|
|
293
|
-
},
|
|
294
|
-
/**
|
|
295
|
-
* Меню приложений
|
|
296
|
-
*
|
|
297
|
-
*/
|
|
298
|
-
menuApps: {
|
|
299
|
-
type: Array,
|
|
300
|
-
default: () => []
|
|
301
|
-
},
|
|
302
|
-
/**
|
|
303
|
-
* Config чатры
|
|
304
|
-
*
|
|
305
|
-
*/
|
|
306
|
-
chatraConfig: {
|
|
307
|
-
type: Object,
|
|
308
|
-
default: () => ({})
|
|
309
|
-
},
|
|
310
|
-
/**
|
|
311
|
-
* Текст кнопки
|
|
312
|
-
* сворачивания меню
|
|
313
|
-
*/
|
|
314
|
-
hideText: {
|
|
315
|
-
type: String,
|
|
316
|
-
default: ''
|
|
317
|
-
},
|
|
318
|
-
/**
|
|
319
|
-
* Компактный вид
|
|
320
|
-
*/
|
|
321
|
-
compact: {
|
|
322
|
-
type: Boolean,
|
|
323
|
-
default: false
|
|
324
|
-
},
|
|
325
|
-
/**
|
|
326
|
-
* Цветовая схема
|
|
327
|
-
*/
|
|
328
|
-
variable: {
|
|
329
|
-
type: String,
|
|
330
|
-
default: SidebarTheme.Black
|
|
331
|
-
},
|
|
332
|
-
/**
|
|
333
|
-
* Ширина сайдбара
|
|
334
|
-
*/
|
|
335
|
-
width: {
|
|
336
|
-
type: String,
|
|
337
|
-
default: '216px'
|
|
338
|
-
},
|
|
339
|
-
/**
|
|
340
|
-
* Ширина компактного сайдбара
|
|
341
|
-
*/
|
|
342
|
-
compactWidth: {
|
|
343
|
-
type: String,
|
|
344
|
-
default: '56px'
|
|
345
|
-
},
|
|
346
|
-
/**
|
|
347
|
-
* Брейкпоинт после которого
|
|
348
|
-
* сайдбар становится абсолютным и появляется затемненный бэкдроп
|
|
349
|
-
*/
|
|
350
|
-
absoluteBreakpoint: {
|
|
351
|
-
type: Number,
|
|
352
|
-
default: null
|
|
353
|
-
},
|
|
354
|
-
/**
|
|
355
|
-
* Брейкпоинт после которого
|
|
356
|
-
* сайдбар полностью прячется
|
|
357
|
-
*/
|
|
358
|
-
hiddenBreakpoint: {
|
|
359
|
-
type: Number,
|
|
360
|
-
default: null
|
|
361
|
-
}
|
|
362
|
-
},
|
|
363
|
-
__typeEmits: {},
|
|
364
|
-
});
|
|
365
|
-
;
|
|
366
|
-
let __VLS_functionalComponentProps;
|
|
367
|
-
function __VLS_template() {
|
|
368
|
-
const __VLS_ctx = {};
|
|
369
|
-
const __VLS_localComponents = {
|
|
370
|
-
...{},
|
|
371
|
-
...{},
|
|
372
|
-
...__VLS_ctx,
|
|
373
|
-
};
|
|
374
|
-
let __VLS_components;
|
|
375
|
-
const __VLS_localDirectives = {
|
|
376
|
-
...{},
|
|
377
|
-
...__VLS_ctx,
|
|
378
|
-
};
|
|
379
|
-
let __VLS_directives;
|
|
380
|
-
let __VLS_styleScopedClasses;
|
|
381
|
-
// CSS variable injection
|
|
382
|
-
// CSS variable injection end
|
|
383
|
-
let __VLS_resolvedLocalAndGlobalComponents;
|
|
384
|
-
__VLS_elementAsFunction(__VLS_intrinsicElements.article, __VLS_intrinsicElements.article)({ ref: ("sidebar-wrapper"), ...{ class: ("mc-side-bar-wrapper") }, ...{ style: ((__VLS_ctx.wrapperStyles)) }, });
|
|
385
|
-
// @ts-ignore navigation for `const sidebar-wrapper = ref()`
|
|
386
|
-
__VLS_ctx["sidebar-wrapper"];
|
|
387
|
-
__VLS_elementAsFunction(__VLS_intrinsicElements.section, __VLS_intrinsicElements.section)({ ...{ onClick: (__VLS_ctx.handleToggleSize) }, ...{ class: ("mc-side-bar-wrapper__backdrop") }, ...{ class: ((__VLS_ctx.backdropClasses)) }, });
|
|
388
|
-
__VLS_elementAsFunction(__VLS_intrinsicElements.div, __VLS_intrinsicElements.div)({ ...{ onClick: () => { } }, ref: ("sidebar"), ...{ class: ("mc-side-bar") }, ...{ class: ((__VLS_ctx.sideBarClasses)) }, ...{ style: ((__VLS_ctx.sideBarStyles)) }, });
|
|
389
|
-
// @ts-ignore navigation for `const sidebar = ref()`
|
|
390
|
-
__VLS_ctx.sidebar;
|
|
391
|
-
const __VLS_0 = __VLS_resolvedLocalAndGlobalComponents.McSideBarTop;
|
|
392
|
-
/** @type { [typeof __VLS_components.McSideBarTop, typeof __VLS_components.mcSideBarTop, typeof __VLS_components.McSideBarTop, typeof __VLS_components.mcSideBarTop, ] } */
|
|
393
|
-
// @ts-ignore
|
|
394
|
-
const __VLS_1 = __VLS_asFunctionalComponent(__VLS_0, new __VLS_0({ logoTitle: ((__VLS_ctx.logoTitle)), logoTitleVariation: ((__VLS_ctx.logoTitleVariation)), logoSrc: ((__VLS_ctx.logoSrc)), logoIcon: ((__VLS_ctx.logoIcon)), compact: ((__VLS_ctx.pretty_compact)), menuApps: ((__VLS_ctx.menuApps)), }));
|
|
395
|
-
const __VLS_2 = __VLS_1({ logoTitle: ((__VLS_ctx.logoTitle)), logoTitleVariation: ((__VLS_ctx.logoTitleVariation)), logoSrc: ((__VLS_ctx.logoSrc)), logoIcon: ((__VLS_ctx.logoIcon)), compact: ((__VLS_ctx.pretty_compact)), menuApps: ((__VLS_ctx.menuApps)), }, ...__VLS_functionalComponentArgsRest(__VLS_1));
|
|
396
|
-
__VLS_elementAsFunction(__VLS_intrinsicElements.template, __VLS_intrinsicElements.template)({});
|
|
397
|
-
{
|
|
398
|
-
const { "title-append": __VLS_thisSlot } = __VLS_nonNullable(__VLS_5.slots);
|
|
399
|
-
var __VLS_6 = {};
|
|
400
|
-
}
|
|
401
|
-
var __VLS_5;
|
|
402
|
-
__VLS_elementAsFunction(__VLS_intrinsicElements.section, __VLS_intrinsicElements.section)({ ...{ class: ("mc-side-bar__scrollable-container") }, });
|
|
403
|
-
const __VLS_7 = __VLS_resolvedLocalAndGlobalComponents.McSideBarCenter;
|
|
404
|
-
/** @type { [typeof __VLS_components.McSideBarCenter, typeof __VLS_components.mcSideBarCenter, ] } */
|
|
405
|
-
// @ts-ignore
|
|
406
|
-
const __VLS_8 = __VLS_asFunctionalComponent(__VLS_7, new __VLS_7({ ...{ 'onHandlerChatraClick': {} }, ...{ 'onOpenSideBar': {} }, title: ((__VLS_ctx.menuMainTitle)), menuMain: ((__VLS_ctx.menuMain)), counts: ((__VLS_ctx.counts)), chatraConfig: ((__VLS_ctx.chatraConfig)), compact: ((__VLS_ctx.pretty_compact)), }));
|
|
407
|
-
const __VLS_9 = __VLS_8({ ...{ 'onHandlerChatraClick': {} }, ...{ 'onOpenSideBar': {} }, title: ((__VLS_ctx.menuMainTitle)), menuMain: ((__VLS_ctx.menuMain)), counts: ((__VLS_ctx.counts)), chatraConfig: ((__VLS_ctx.chatraConfig)), compact: ((__VLS_ctx.pretty_compact)), }, ...__VLS_functionalComponentArgsRest(__VLS_8));
|
|
408
|
-
let __VLS_13;
|
|
409
|
-
const __VLS_14 = {
|
|
410
|
-
onHandlerChatraClick: (...[$event]) => {
|
|
411
|
-
__VLS_ctx.emit('chatraClick');
|
|
412
|
-
}
|
|
413
|
-
};
|
|
414
|
-
const __VLS_15 = {
|
|
415
|
-
onOpenSideBar: (__VLS_ctx.openSideBar)
|
|
416
|
-
};
|
|
417
|
-
let __VLS_10;
|
|
418
|
-
let __VLS_11;
|
|
419
|
-
var __VLS_12;
|
|
420
|
-
const __VLS_16 = __VLS_resolvedLocalAndGlobalComponents.McSideBarBottom;
|
|
421
|
-
/** @type { [typeof __VLS_components.McSideBarBottom, typeof __VLS_components.mcSideBarBottom, typeof __VLS_components.McSideBarBottom, typeof __VLS_components.mcSideBarBottom, ] } */
|
|
422
|
-
// @ts-ignore
|
|
423
|
-
const __VLS_17 = __VLS_asFunctionalComponent(__VLS_16, new __VLS_16({ ...{ 'onToggleSize': {} }, hideText: ((__VLS_ctx.hideText)), compact: ((__VLS_ctx.pretty_compact)), hiddenMode: ((__VLS_ctx.hiddenMode)), sidebarWidth: ((__VLS_ctx.width)), }));
|
|
424
|
-
const __VLS_18 = __VLS_17({ ...{ 'onToggleSize': {} }, hideText: ((__VLS_ctx.hideText)), compact: ((__VLS_ctx.pretty_compact)), hiddenMode: ((__VLS_ctx.hiddenMode)), sidebarWidth: ((__VLS_ctx.width)), }, ...__VLS_functionalComponentArgsRest(__VLS_17));
|
|
425
|
-
let __VLS_22;
|
|
426
|
-
const __VLS_23 = {
|
|
427
|
-
onToggleSize: (__VLS_ctx.handleToggleSize)
|
|
428
|
-
};
|
|
429
|
-
let __VLS_19;
|
|
430
|
-
let __VLS_20;
|
|
431
|
-
__VLS_elementAsFunction(__VLS_intrinsicElements.template, __VLS_intrinsicElements.template)({});
|
|
432
|
-
{
|
|
433
|
-
const { "bottom-message": __VLS_thisSlot } = __VLS_nonNullable(__VLS_21.slots);
|
|
434
|
-
var __VLS_24 = {};
|
|
435
|
-
}
|
|
436
|
-
var __VLS_21;
|
|
437
|
-
__VLS_styleScopedClasses['mc-side-bar-wrapper'];
|
|
438
|
-
__VLS_styleScopedClasses['mc-side-bar-wrapper__backdrop'];
|
|
439
|
-
__VLS_styleScopedClasses['mc-side-bar'];
|
|
440
|
-
__VLS_styleScopedClasses['mc-side-bar__scrollable-container'];
|
|
441
|
-
var __VLS_slots;
|
|
442
|
-
var __VLS_inheritedAttrs;
|
|
443
|
-
const __VLS_refs = {
|
|
444
|
-
"sidebar-wrapper": __VLS_nativeElements['article'],
|
|
445
|
-
"sidebar": __VLS_nativeElements['div'],
|
|
446
|
-
};
|
|
447
|
-
var $refs;
|
|
448
|
-
var $el;
|
|
449
|
-
return {
|
|
450
|
-
attrs: {},
|
|
451
|
-
slots: __VLS_slots,
|
|
452
|
-
refs: $refs,
|
|
453
|
-
rootEl: $el,
|
|
454
|
-
};
|
|
455
|
-
}
|
|
456
|
-
;
|
|
457
|
-
const __VLS_self = (await import('vue')).defineComponent({
|
|
458
|
-
setup() {
|
|
459
|
-
return {
|
|
460
|
-
McSideBarTop: McSideBarTop,
|
|
461
|
-
McSideBarCenter: McSideBarCenter,
|
|
462
|
-
McSideBarBottom: McSideBarBottom,
|
|
463
|
-
emit: emit,
|
|
464
|
-
pretty_compact: pretty_compact,
|
|
465
|
-
sideBarClasses: sideBarClasses,
|
|
466
|
-
sideBarStyles: sideBarStyles,
|
|
467
|
-
wrapperStyles: wrapperStyles,
|
|
468
|
-
backdropClasses: backdropClasses,
|
|
469
|
-
hiddenMode: hiddenMode,
|
|
470
|
-
handleToggleSize: handleToggleSize,
|
|
471
|
-
openSideBar: openSideBar,
|
|
472
|
-
};
|
|
473
|
-
},
|
|
474
|
-
__typeEmits: {},
|
|
475
|
-
props: {
|
|
476
|
-
/**
|
|
477
|
-
* Название сервиса
|
|
478
|
-
*
|
|
479
|
-
*/
|
|
480
|
-
logoTitle: {
|
|
481
|
-
type: String,
|
|
482
|
-
default: 'Dashboard'
|
|
483
|
-
},
|
|
484
|
-
/**
|
|
485
|
-
* Размер текста названия сервиса
|
|
486
|
-
*
|
|
487
|
-
*/
|
|
488
|
-
logoTitleVariation: {
|
|
489
|
-
type: String,
|
|
490
|
-
default: TitleVariations.Subtitle
|
|
491
|
-
},
|
|
492
|
-
/**
|
|
493
|
-
* Путь до изображения
|
|
494
|
-
*
|
|
495
|
-
*/
|
|
496
|
-
logoSrc: {
|
|
497
|
-
type: String,
|
|
498
|
-
default: ''
|
|
499
|
-
},
|
|
500
|
-
/**
|
|
501
|
-
* Имя иконки
|
|
502
|
-
* заголовка
|
|
503
|
-
*/
|
|
504
|
-
logoIcon: {
|
|
505
|
-
type: String,
|
|
506
|
-
default: ''
|
|
507
|
-
},
|
|
508
|
-
/**
|
|
509
|
-
* Заголовок
|
|
510
|
-
* центрального блока
|
|
511
|
-
*/
|
|
512
|
-
menuMainTitle: {
|
|
513
|
-
type: String,
|
|
514
|
-
default: ''
|
|
515
|
-
},
|
|
516
|
-
/**
|
|
517
|
-
* Центральное меню
|
|
518
|
-
*
|
|
519
|
-
*/
|
|
520
|
-
menuMain: {
|
|
521
|
-
type: Array,
|
|
522
|
-
default: () => []
|
|
523
|
-
},
|
|
524
|
-
/**
|
|
525
|
-
* Каунты для пунктов меню
|
|
526
|
-
* вставляются в пункты с ключем 'count_key'
|
|
527
|
-
*
|
|
528
|
-
*/
|
|
529
|
-
counts: {
|
|
530
|
-
type: Object,
|
|
531
|
-
default: () => ({})
|
|
532
|
-
},
|
|
533
|
-
/**
|
|
534
|
-
* Меню приложений
|
|
535
|
-
*
|
|
536
|
-
*/
|
|
537
|
-
menuApps: {
|
|
538
|
-
type: Array,
|
|
539
|
-
default: () => []
|
|
540
|
-
},
|
|
541
|
-
/**
|
|
542
|
-
* Config чатры
|
|
543
|
-
*
|
|
544
|
-
*/
|
|
545
|
-
chatraConfig: {
|
|
546
|
-
type: Object,
|
|
547
|
-
default: () => ({})
|
|
548
|
-
},
|
|
549
|
-
/**
|
|
550
|
-
* Текст кнопки
|
|
551
|
-
* сворачивания меню
|
|
552
|
-
*/
|
|
553
|
-
hideText: {
|
|
554
|
-
type: String,
|
|
555
|
-
default: ''
|
|
556
|
-
},
|
|
557
|
-
/**
|
|
558
|
-
* Компактный вид
|
|
559
|
-
*/
|
|
560
|
-
compact: {
|
|
561
|
-
type: Boolean,
|
|
562
|
-
default: false
|
|
563
|
-
},
|
|
564
|
-
/**
|
|
565
|
-
* Цветовая схема
|
|
566
|
-
*/
|
|
567
|
-
variable: {
|
|
568
|
-
type: String,
|
|
569
|
-
default: SidebarTheme.Black
|
|
570
|
-
},
|
|
571
|
-
/**
|
|
572
|
-
* Ширина сайдбара
|
|
573
|
-
*/
|
|
574
|
-
width: {
|
|
575
|
-
type: String,
|
|
576
|
-
default: '216px'
|
|
577
|
-
},
|
|
578
|
-
/**
|
|
579
|
-
* Ширина компактного сайдбара
|
|
580
|
-
*/
|
|
581
|
-
compactWidth: {
|
|
582
|
-
type: String,
|
|
583
|
-
default: '56px'
|
|
584
|
-
},
|
|
585
|
-
/**
|
|
586
|
-
* Брейкпоинт после которого
|
|
587
|
-
* сайдбар становится абсолютным и появляется затемненный бэкдроп
|
|
588
|
-
*/
|
|
589
|
-
absoluteBreakpoint: {
|
|
590
|
-
type: Number,
|
|
591
|
-
default: null
|
|
592
|
-
},
|
|
593
|
-
/**
|
|
594
|
-
* Брейкпоинт после которого
|
|
595
|
-
* сайдбар полностью прячется
|
|
596
|
-
*/
|
|
597
|
-
hiddenBreakpoint: {
|
|
598
|
-
type: Number,
|
|
599
|
-
default: null
|
|
600
|
-
}
|
|
601
|
-
},
|
|
602
|
-
});
|
|
603
|
-
const __VLS_component = (await import('vue')).defineComponent({
|
|
604
|
-
setup() {
|
|
605
|
-
return {};
|
|
606
|
-
},
|
|
607
|
-
__typeEmits: {},
|
|
608
|
-
props: {
|
|
609
|
-
/**
|
|
610
|
-
* Название сервиса
|
|
611
|
-
*
|
|
612
|
-
*/
|
|
613
|
-
logoTitle: {
|
|
614
|
-
type: String,
|
|
615
|
-
default: 'Dashboard'
|
|
616
|
-
},
|
|
617
|
-
/**
|
|
618
|
-
* Размер текста названия сервиса
|
|
619
|
-
*
|
|
620
|
-
*/
|
|
621
|
-
logoTitleVariation: {
|
|
622
|
-
type: String,
|
|
623
|
-
default: TitleVariations.Subtitle
|
|
624
|
-
},
|
|
625
|
-
/**
|
|
626
|
-
* Путь до изображения
|
|
627
|
-
*
|
|
628
|
-
*/
|
|
629
|
-
logoSrc: {
|
|
630
|
-
type: String,
|
|
631
|
-
default: ''
|
|
632
|
-
},
|
|
633
|
-
/**
|
|
634
|
-
* Имя иконки
|
|
635
|
-
* заголовка
|
|
636
|
-
*/
|
|
637
|
-
logoIcon: {
|
|
638
|
-
type: String,
|
|
639
|
-
default: ''
|
|
640
|
-
},
|
|
641
|
-
/**
|
|
642
|
-
* Заголовок
|
|
643
|
-
* центрального блока
|
|
644
|
-
*/
|
|
645
|
-
menuMainTitle: {
|
|
646
|
-
type: String,
|
|
647
|
-
default: ''
|
|
648
|
-
},
|
|
649
|
-
/**
|
|
650
|
-
* Центральное меню
|
|
651
|
-
*
|
|
652
|
-
*/
|
|
653
|
-
menuMain: {
|
|
654
|
-
type: Array,
|
|
655
|
-
default: () => []
|
|
656
|
-
},
|
|
657
|
-
/**
|
|
658
|
-
* Каунты для пунктов меню
|
|
659
|
-
* вставляются в пункты с ключем 'count_key'
|
|
660
|
-
*
|
|
661
|
-
*/
|
|
662
|
-
counts: {
|
|
663
|
-
type: Object,
|
|
664
|
-
default: () => ({})
|
|
665
|
-
},
|
|
666
|
-
/**
|
|
667
|
-
* Меню приложений
|
|
668
|
-
*
|
|
669
|
-
*/
|
|
670
|
-
menuApps: {
|
|
671
|
-
type: Array,
|
|
672
|
-
default: () => []
|
|
673
|
-
},
|
|
674
|
-
/**
|
|
675
|
-
* Config чатры
|
|
676
|
-
*
|
|
677
|
-
*/
|
|
678
|
-
chatraConfig: {
|
|
679
|
-
type: Object,
|
|
680
|
-
default: () => ({})
|
|
681
|
-
},
|
|
682
|
-
/**
|
|
683
|
-
* Текст кнопки
|
|
684
|
-
* сворачивания меню
|
|
685
|
-
*/
|
|
686
|
-
hideText: {
|
|
687
|
-
type: String,
|
|
688
|
-
default: ''
|
|
689
|
-
},
|
|
690
|
-
/**
|
|
691
|
-
* Компактный вид
|
|
692
|
-
*/
|
|
693
|
-
compact: {
|
|
694
|
-
type: Boolean,
|
|
695
|
-
default: false
|
|
696
|
-
},
|
|
697
|
-
/**
|
|
698
|
-
* Цветовая схема
|
|
699
|
-
*/
|
|
700
|
-
variable: {
|
|
701
|
-
type: String,
|
|
702
|
-
default: SidebarTheme.Black
|
|
703
|
-
},
|
|
704
|
-
/**
|
|
705
|
-
* Ширина сайдбара
|
|
706
|
-
*/
|
|
707
|
-
width: {
|
|
708
|
-
type: String,
|
|
709
|
-
default: '216px'
|
|
710
|
-
},
|
|
711
|
-
/**
|
|
712
|
-
* Ширина компактного сайдбара
|
|
713
|
-
*/
|
|
714
|
-
compactWidth: {
|
|
715
|
-
type: String,
|
|
716
|
-
default: '56px'
|
|
717
|
-
},
|
|
718
|
-
/**
|
|
719
|
-
* Брейкпоинт после которого
|
|
720
|
-
* сайдбар становится абсолютным и появляется затемненный бэкдроп
|
|
721
|
-
*/
|
|
722
|
-
absoluteBreakpoint: {
|
|
723
|
-
type: Number,
|
|
724
|
-
default: null
|
|
725
|
-
},
|
|
726
|
-
/**
|
|
727
|
-
* Брейкпоинт после которого
|
|
728
|
-
* сайдбар полностью прячется
|
|
729
|
-
*/
|
|
730
|
-
hiddenBreakpoint: {
|
|
731
|
-
type: Number,
|
|
732
|
-
default: null
|
|
733
|
-
}
|
|
734
|
-
},
|
|
735
|
-
__typeEl: {},
|
|
736
|
-
});
|
|
737
|
-
export default {};
|
|
738
|
-
; /* PartiallyEnd: #4569/main.vue */
|