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,204 +0,0 @@
|
|
|
1
|
-
import { McSideBarButton } from '@/components';
|
|
2
|
-
import { computed, inject } from 'vue';
|
|
3
|
-
import { defaultThemes } from '@/mocks/sidebar';
|
|
4
|
-
import { SidebarTheme } from '@/enums';
|
|
5
|
-
const { defineProps, defineSlots, defineEmits, defineExpose, defineModel, defineOptions, withDefaults, } = await import('vue');
|
|
6
|
-
const provideData = inject('provideData', {});
|
|
7
|
-
const emit = defineEmits();
|
|
8
|
-
const props = defineProps({
|
|
9
|
-
/**
|
|
10
|
-
* Текст кнопки
|
|
11
|
-
* сворачивания меню
|
|
12
|
-
*/
|
|
13
|
-
hideText: {
|
|
14
|
-
type: String,
|
|
15
|
-
default: ''
|
|
16
|
-
},
|
|
17
|
-
/**
|
|
18
|
-
* Компактный вид
|
|
19
|
-
*/
|
|
20
|
-
compact: {
|
|
21
|
-
type: Boolean,
|
|
22
|
-
default: false
|
|
23
|
-
},
|
|
24
|
-
hiddenMode: {
|
|
25
|
-
type: Boolean,
|
|
26
|
-
default: false
|
|
27
|
-
},
|
|
28
|
-
sidebarWidth: {
|
|
29
|
-
type: String,
|
|
30
|
-
default: null
|
|
31
|
-
}
|
|
32
|
-
});
|
|
33
|
-
const themeConfig = computed(() => {
|
|
34
|
-
return provideData.currentThemeConfig || defaultThemes[SidebarTheme.Black];
|
|
35
|
-
});
|
|
36
|
-
const closeButtonProps = computed(() => {
|
|
37
|
-
return themeConfig.value?.closeButton;
|
|
38
|
-
});
|
|
39
|
-
const classes = computed(() => {
|
|
40
|
-
return {
|
|
41
|
-
'mc-side-bar-bottom--compact': props.compact
|
|
42
|
-
};
|
|
43
|
-
});
|
|
44
|
-
const messageStyles = computed(() => {
|
|
45
|
-
return {
|
|
46
|
-
minWidth: props.sidebarWidth
|
|
47
|
-
};
|
|
48
|
-
});
|
|
49
|
-
const handleClick = () => {
|
|
50
|
-
emit('toggle-size', !props.compact);
|
|
51
|
-
}; /* PartiallyEnd: #3632/scriptSetup.vue */
|
|
52
|
-
const __VLS_fnComponent = (await import('vue')).defineComponent({
|
|
53
|
-
props: {
|
|
54
|
-
/**
|
|
55
|
-
* Текст кнопки
|
|
56
|
-
* сворачивания меню
|
|
57
|
-
*/
|
|
58
|
-
hideText: {
|
|
59
|
-
type: String,
|
|
60
|
-
default: ''
|
|
61
|
-
},
|
|
62
|
-
/**
|
|
63
|
-
* Компактный вид
|
|
64
|
-
*/
|
|
65
|
-
compact: {
|
|
66
|
-
type: Boolean,
|
|
67
|
-
default: false
|
|
68
|
-
},
|
|
69
|
-
hiddenMode: {
|
|
70
|
-
type: Boolean,
|
|
71
|
-
default: false
|
|
72
|
-
},
|
|
73
|
-
sidebarWidth: {
|
|
74
|
-
type: String,
|
|
75
|
-
default: null
|
|
76
|
-
}
|
|
77
|
-
},
|
|
78
|
-
__typeEmits: {},
|
|
79
|
-
});
|
|
80
|
-
;
|
|
81
|
-
let __VLS_functionalComponentProps;
|
|
82
|
-
function __VLS_template() {
|
|
83
|
-
const __VLS_ctx = {};
|
|
84
|
-
const __VLS_localComponents = {
|
|
85
|
-
...{},
|
|
86
|
-
...{},
|
|
87
|
-
...__VLS_ctx,
|
|
88
|
-
};
|
|
89
|
-
let __VLS_components;
|
|
90
|
-
const __VLS_localDirectives = {
|
|
91
|
-
...{},
|
|
92
|
-
...__VLS_ctx,
|
|
93
|
-
};
|
|
94
|
-
let __VLS_directives;
|
|
95
|
-
let __VLS_styleScopedClasses;
|
|
96
|
-
// CSS variable injection
|
|
97
|
-
// CSS variable injection end
|
|
98
|
-
let __VLS_resolvedLocalAndGlobalComponents;
|
|
99
|
-
__VLS_elementAsFunction(__VLS_intrinsicElements.div, __VLS_intrinsicElements.div)({ ...{ class: ("mc-side-bar-bottom") }, ...{ class: ((__VLS_ctx.classes)) }, });
|
|
100
|
-
if (!__VLS_ctx.compact && __VLS_ctx.$slots['bottom-message']) {
|
|
101
|
-
__VLS_elementAsFunction(__VLS_intrinsicElements.div, __VLS_intrinsicElements.div)({ ...{ class: ("mc-side-bar-bottom__slot-message") }, ...{ style: ((__VLS_ctx.messageStyles)) }, });
|
|
102
|
-
var __VLS_0 = {};
|
|
103
|
-
}
|
|
104
|
-
if (!__VLS_ctx.hiddenMode) {
|
|
105
|
-
const __VLS_1 = __VLS_resolvedLocalAndGlobalComponents.McSideBarButton;
|
|
106
|
-
/** @type { [typeof __VLS_components.McSideBarButton, typeof __VLS_components.mcSideBarButton, ] } */
|
|
107
|
-
// @ts-ignore
|
|
108
|
-
const __VLS_2 = __VLS_asFunctionalComponent(__VLS_1, new __VLS_1({ ...{ 'onClick': {} }, ...{ class: ("mc-side-bar-bottom__hide-button") }, icon: ("arrow_backward"), title: ((__VLS_ctx.hideText)), compact: ((__VLS_ctx.compact)), variation: ((__VLS_ctx.closeButtonProps.variable)), secondaryColor: ((__VLS_ctx.closeButtonProps.secondaryColor)), }));
|
|
109
|
-
const __VLS_3 = __VLS_2({ ...{ 'onClick': {} }, ...{ class: ("mc-side-bar-bottom__hide-button") }, icon: ("arrow_backward"), title: ((__VLS_ctx.hideText)), compact: ((__VLS_ctx.compact)), variation: ((__VLS_ctx.closeButtonProps.variable)), secondaryColor: ((__VLS_ctx.closeButtonProps.secondaryColor)), }, ...__VLS_functionalComponentArgsRest(__VLS_2));
|
|
110
|
-
let __VLS_7;
|
|
111
|
-
const __VLS_8 = {
|
|
112
|
-
onClick: (__VLS_ctx.handleClick)
|
|
113
|
-
};
|
|
114
|
-
let __VLS_4;
|
|
115
|
-
let __VLS_5;
|
|
116
|
-
var __VLS_6;
|
|
117
|
-
}
|
|
118
|
-
__VLS_styleScopedClasses['mc-side-bar-bottom'];
|
|
119
|
-
__VLS_styleScopedClasses['mc-side-bar-bottom__slot-message'];
|
|
120
|
-
__VLS_styleScopedClasses['mc-side-bar-bottom__hide-button'];
|
|
121
|
-
var __VLS_slots;
|
|
122
|
-
var __VLS_inheritedAttrs;
|
|
123
|
-
const __VLS_refs = {};
|
|
124
|
-
var $refs;
|
|
125
|
-
var $el;
|
|
126
|
-
return {
|
|
127
|
-
attrs: {},
|
|
128
|
-
slots: __VLS_slots,
|
|
129
|
-
refs: $refs,
|
|
130
|
-
rootEl: $el,
|
|
131
|
-
};
|
|
132
|
-
}
|
|
133
|
-
;
|
|
134
|
-
const __VLS_self = (await import('vue')).defineComponent({
|
|
135
|
-
setup() {
|
|
136
|
-
return {
|
|
137
|
-
McSideBarButton: McSideBarButton,
|
|
138
|
-
closeButtonProps: closeButtonProps,
|
|
139
|
-
classes: classes,
|
|
140
|
-
messageStyles: messageStyles,
|
|
141
|
-
handleClick: handleClick,
|
|
142
|
-
};
|
|
143
|
-
},
|
|
144
|
-
__typeEmits: {},
|
|
145
|
-
props: {
|
|
146
|
-
/**
|
|
147
|
-
* Текст кнопки
|
|
148
|
-
* сворачивания меню
|
|
149
|
-
*/
|
|
150
|
-
hideText: {
|
|
151
|
-
type: String,
|
|
152
|
-
default: ''
|
|
153
|
-
},
|
|
154
|
-
/**
|
|
155
|
-
* Компактный вид
|
|
156
|
-
*/
|
|
157
|
-
compact: {
|
|
158
|
-
type: Boolean,
|
|
159
|
-
default: false
|
|
160
|
-
},
|
|
161
|
-
hiddenMode: {
|
|
162
|
-
type: Boolean,
|
|
163
|
-
default: false
|
|
164
|
-
},
|
|
165
|
-
sidebarWidth: {
|
|
166
|
-
type: String,
|
|
167
|
-
default: null
|
|
168
|
-
}
|
|
169
|
-
},
|
|
170
|
-
});
|
|
171
|
-
const __VLS_component = (await import('vue')).defineComponent({
|
|
172
|
-
setup() {
|
|
173
|
-
return {};
|
|
174
|
-
},
|
|
175
|
-
__typeEmits: {},
|
|
176
|
-
props: {
|
|
177
|
-
/**
|
|
178
|
-
* Текст кнопки
|
|
179
|
-
* сворачивания меню
|
|
180
|
-
*/
|
|
181
|
-
hideText: {
|
|
182
|
-
type: String,
|
|
183
|
-
default: ''
|
|
184
|
-
},
|
|
185
|
-
/**
|
|
186
|
-
* Компактный вид
|
|
187
|
-
*/
|
|
188
|
-
compact: {
|
|
189
|
-
type: Boolean,
|
|
190
|
-
default: false
|
|
191
|
-
},
|
|
192
|
-
hiddenMode: {
|
|
193
|
-
type: Boolean,
|
|
194
|
-
default: false
|
|
195
|
-
},
|
|
196
|
-
sidebarWidth: {
|
|
197
|
-
type: String,
|
|
198
|
-
default: null
|
|
199
|
-
}
|
|
200
|
-
},
|
|
201
|
-
__typeEl: {},
|
|
202
|
-
});
|
|
203
|
-
export default {};
|
|
204
|
-
; /* PartiallyEnd: #4569/main.vue */
|
|
@@ -1,508 +0,0 @@
|
|
|
1
|
-
import { McButton, McSvgIcon, McChip } from '@/components';
|
|
2
|
-
import { computed, inject, useAttrs } from 'vue';
|
|
3
|
-
import { ButtonSize, HorizontalAlignment, SidebarTheme, TooltipPositions } from '@/enums';
|
|
4
|
-
import { defaultThemes } from '@/mocks/sidebar';
|
|
5
|
-
const { defineProps, defineSlots, defineEmits, defineExpose, defineModel, defineOptions, withDefaults, } = await import('vue');
|
|
6
|
-
const attrs = useAttrs();
|
|
7
|
-
const provideData = inject('provideData', {});
|
|
8
|
-
const props = defineProps({
|
|
9
|
-
/**
|
|
10
|
-
* Если нужна ссылка внутри приложения:
|
|
11
|
-
*/
|
|
12
|
-
to: {
|
|
13
|
-
type: Object,
|
|
14
|
-
default: null
|
|
15
|
-
},
|
|
16
|
-
/**
|
|
17
|
-
* Если нужна обычная ссылка:
|
|
18
|
-
* `https://mcpay.io/`
|
|
19
|
-
*/
|
|
20
|
-
href: {
|
|
21
|
-
type: String,
|
|
22
|
-
default: null
|
|
23
|
-
},
|
|
24
|
-
/**
|
|
25
|
-
* Если нужна иконка
|
|
26
|
-
*/
|
|
27
|
-
icon: {
|
|
28
|
-
type: String,
|
|
29
|
-
default: ''
|
|
30
|
-
},
|
|
31
|
-
/**
|
|
32
|
-
* Если нужен конкретный
|
|
33
|
-
* цвет иконки
|
|
34
|
-
*/
|
|
35
|
-
iconColor: {
|
|
36
|
-
type: String,
|
|
37
|
-
default: 'currentColor'
|
|
38
|
-
},
|
|
39
|
-
/**
|
|
40
|
-
* Тайтл кнопки
|
|
41
|
-
*/
|
|
42
|
-
title: {
|
|
43
|
-
type: String,
|
|
44
|
-
default: ''
|
|
45
|
-
},
|
|
46
|
-
/**
|
|
47
|
-
* Compact size
|
|
48
|
-
*/
|
|
49
|
-
compact: {
|
|
50
|
-
type: Boolean,
|
|
51
|
-
default: false
|
|
52
|
-
},
|
|
53
|
-
/**
|
|
54
|
-
* Дизайн:
|
|
55
|
-
* `purple, red, purple-outline, purple-invert, purple-flat и т.д.`
|
|
56
|
-
*/
|
|
57
|
-
variation: {
|
|
58
|
-
type: String
|
|
59
|
-
},
|
|
60
|
-
/**
|
|
61
|
-
* Если нужен другой цвет при взаимодействии
|
|
62
|
-
*/
|
|
63
|
-
secondaryColor: {
|
|
64
|
-
type: String
|
|
65
|
-
},
|
|
66
|
-
withTooltip: {
|
|
67
|
-
type: Boolean,
|
|
68
|
-
default: false
|
|
69
|
-
},
|
|
70
|
-
withIndicator: {
|
|
71
|
-
type: Boolean,
|
|
72
|
-
default: false
|
|
73
|
-
},
|
|
74
|
-
isActive: {
|
|
75
|
-
type: Boolean,
|
|
76
|
-
default: false
|
|
77
|
-
},
|
|
78
|
-
/**
|
|
79
|
-
* Additional info
|
|
80
|
-
*/
|
|
81
|
-
info: {
|
|
82
|
-
type: [String, Number],
|
|
83
|
-
default: ''
|
|
84
|
-
},
|
|
85
|
-
/**
|
|
86
|
-
* Exact
|
|
87
|
-
*
|
|
88
|
-
*/
|
|
89
|
-
exact: {
|
|
90
|
-
type: Boolean,
|
|
91
|
-
default: false
|
|
92
|
-
},
|
|
93
|
-
/**
|
|
94
|
-
* Отключенное состояние
|
|
95
|
-
*
|
|
96
|
-
*/
|
|
97
|
-
disabled: {
|
|
98
|
-
type: Boolean,
|
|
99
|
-
default: false
|
|
100
|
-
}
|
|
101
|
-
});
|
|
102
|
-
const themeConfig = computed(() => {
|
|
103
|
-
return provideData.currentThemeConfig || defaultThemes[SidebarTheme.Black];
|
|
104
|
-
});
|
|
105
|
-
const classes = computed(() => {
|
|
106
|
-
return {
|
|
107
|
-
'mc-side-bar-button': true,
|
|
108
|
-
[`mc-side-bar--${themeConfig.value.mode || 'black'}__button`]: true,
|
|
109
|
-
'purple-hover': !props.secondaryColor && themeConfig.value.mainMenuLinks.variable === 'black-flat',
|
|
110
|
-
//@ts-ignore
|
|
111
|
-
[attrs.class]: !!attrs.class
|
|
112
|
-
};
|
|
113
|
-
});
|
|
114
|
-
const btnAttrs = computed(() => {
|
|
115
|
-
return {
|
|
116
|
-
...attrs,
|
|
117
|
-
variation: props.variation || themeConfig.value.mainMenuLinks.variable,
|
|
118
|
-
secondaryColor: props.secondaryColor || themeConfig.value.mainMenuLinks.secondaryColor,
|
|
119
|
-
textAlign: HorizontalAlignment.Left,
|
|
120
|
-
fullWidth: true,
|
|
121
|
-
size: props.compact ? ButtonSize.SCompact : ButtonSize.S,
|
|
122
|
-
href: props.href,
|
|
123
|
-
to: props.to,
|
|
124
|
-
exact: props.exact,
|
|
125
|
-
disabled: props.disabled,
|
|
126
|
-
isActive: props.isActive,
|
|
127
|
-
tooltip: props.compact && props.withTooltip ? props.title : '',
|
|
128
|
-
tooltipPlacement: TooltipPositions.Right
|
|
129
|
-
};
|
|
130
|
-
}); /* PartiallyEnd: #3632/scriptSetup.vue */
|
|
131
|
-
const __VLS_fnComponent = (await import('vue')).defineComponent({
|
|
132
|
-
props: {
|
|
133
|
-
/**
|
|
134
|
-
* Если нужна ссылка внутри приложения:
|
|
135
|
-
*/
|
|
136
|
-
to: {
|
|
137
|
-
type: Object,
|
|
138
|
-
default: null
|
|
139
|
-
},
|
|
140
|
-
/**
|
|
141
|
-
* Если нужна обычная ссылка:
|
|
142
|
-
* `https://mcpay.io/`
|
|
143
|
-
*/
|
|
144
|
-
href: {
|
|
145
|
-
type: String,
|
|
146
|
-
default: null
|
|
147
|
-
},
|
|
148
|
-
/**
|
|
149
|
-
* Если нужна иконка
|
|
150
|
-
*/
|
|
151
|
-
icon: {
|
|
152
|
-
type: String,
|
|
153
|
-
default: ''
|
|
154
|
-
},
|
|
155
|
-
/**
|
|
156
|
-
* Если нужен конкретный
|
|
157
|
-
* цвет иконки
|
|
158
|
-
*/
|
|
159
|
-
iconColor: {
|
|
160
|
-
type: String,
|
|
161
|
-
default: 'currentColor'
|
|
162
|
-
},
|
|
163
|
-
/**
|
|
164
|
-
* Тайтл кнопки
|
|
165
|
-
*/
|
|
166
|
-
title: {
|
|
167
|
-
type: String,
|
|
168
|
-
default: ''
|
|
169
|
-
},
|
|
170
|
-
/**
|
|
171
|
-
* Compact size
|
|
172
|
-
*/
|
|
173
|
-
compact: {
|
|
174
|
-
type: Boolean,
|
|
175
|
-
default: false
|
|
176
|
-
},
|
|
177
|
-
/**
|
|
178
|
-
* Дизайн:
|
|
179
|
-
* `purple, red, purple-outline, purple-invert, purple-flat и т.д.`
|
|
180
|
-
*/
|
|
181
|
-
variation: {
|
|
182
|
-
type: String
|
|
183
|
-
},
|
|
184
|
-
/**
|
|
185
|
-
* Если нужен другой цвет при взаимодействии
|
|
186
|
-
*/
|
|
187
|
-
secondaryColor: {
|
|
188
|
-
type: String
|
|
189
|
-
},
|
|
190
|
-
withTooltip: {
|
|
191
|
-
type: Boolean,
|
|
192
|
-
default: false
|
|
193
|
-
},
|
|
194
|
-
withIndicator: {
|
|
195
|
-
type: Boolean,
|
|
196
|
-
default: false
|
|
197
|
-
},
|
|
198
|
-
isActive: {
|
|
199
|
-
type: Boolean,
|
|
200
|
-
default: false
|
|
201
|
-
},
|
|
202
|
-
/**
|
|
203
|
-
* Additional info
|
|
204
|
-
*/
|
|
205
|
-
info: {
|
|
206
|
-
type: [String, Number],
|
|
207
|
-
default: ''
|
|
208
|
-
},
|
|
209
|
-
/**
|
|
210
|
-
* Exact
|
|
211
|
-
*
|
|
212
|
-
*/
|
|
213
|
-
exact: {
|
|
214
|
-
type: Boolean,
|
|
215
|
-
default: false
|
|
216
|
-
},
|
|
217
|
-
/**
|
|
218
|
-
* Отключенное состояние
|
|
219
|
-
*
|
|
220
|
-
*/
|
|
221
|
-
disabled: {
|
|
222
|
-
type: Boolean,
|
|
223
|
-
default: false
|
|
224
|
-
}
|
|
225
|
-
},
|
|
226
|
-
});
|
|
227
|
-
;
|
|
228
|
-
let __VLS_functionalComponentProps;
|
|
229
|
-
function __VLS_template() {
|
|
230
|
-
const __VLS_ctx = {};
|
|
231
|
-
const __VLS_localComponents = {
|
|
232
|
-
...{},
|
|
233
|
-
...{},
|
|
234
|
-
...__VLS_ctx,
|
|
235
|
-
};
|
|
236
|
-
let __VLS_components;
|
|
237
|
-
const __VLS_localDirectives = {
|
|
238
|
-
...{},
|
|
239
|
-
...__VLS_ctx,
|
|
240
|
-
};
|
|
241
|
-
let __VLS_directives;
|
|
242
|
-
let __VLS_styleScopedClasses;
|
|
243
|
-
// CSS variable injection
|
|
244
|
-
// CSS variable injection end
|
|
245
|
-
let __VLS_resolvedLocalAndGlobalComponents;
|
|
246
|
-
const __VLS_0 = __VLS_resolvedLocalAndGlobalComponents.McButton;
|
|
247
|
-
/** @type { [typeof __VLS_components.McButton, typeof __VLS_components.mcButton, typeof __VLS_components.McButton, typeof __VLS_components.mcButton, ] } */
|
|
248
|
-
// @ts-ignore
|
|
249
|
-
const __VLS_1 = __VLS_asFunctionalComponent(__VLS_0, new __VLS_0({ ...(__VLS_ctx.btnAttrs), ...{ class: ((__VLS_ctx.classes)) }, }));
|
|
250
|
-
const __VLS_2 = __VLS_1({ ...(__VLS_ctx.btnAttrs), ...{ class: ((__VLS_ctx.classes)) }, }, ...__VLS_functionalComponentArgsRest(__VLS_1));
|
|
251
|
-
var __VLS_6 = {};
|
|
252
|
-
__VLS_elementAsFunction(__VLS_intrinsicElements.template, __VLS_intrinsicElements.template)({});
|
|
253
|
-
{
|
|
254
|
-
const { "icon-prepend": __VLS_thisSlot } = __VLS_nonNullable(__VLS_5.slots);
|
|
255
|
-
if (__VLS_ctx.icon) {
|
|
256
|
-
const __VLS_7 = __VLS_resolvedLocalAndGlobalComponents.McSvgIcon;
|
|
257
|
-
/** @type { [typeof __VLS_components.McSvgIcon, typeof __VLS_components.mcSvgIcon, ] } */
|
|
258
|
-
// @ts-ignore
|
|
259
|
-
const __VLS_8 = __VLS_asFunctionalComponent(__VLS_7, new __VLS_7({ fill: ((__VLS_ctx.iconColor)), ...{ class: ("mc-side-bar-button__icon") }, name: ((__VLS_ctx.icon)), }));
|
|
260
|
-
const __VLS_9 = __VLS_8({ fill: ((__VLS_ctx.iconColor)), ...{ class: ("mc-side-bar-button__icon") }, name: ((__VLS_ctx.icon)), }, ...__VLS_functionalComponentArgsRest(__VLS_8));
|
|
261
|
-
}
|
|
262
|
-
if (__VLS_ctx.icon && __VLS_ctx.compact && (__VLS_ctx.info || __VLS_ctx.withIndicator)) {
|
|
263
|
-
__VLS_elementAsFunction(__VLS_intrinsicElements.span)({ ...{ class: ("mc-side-bar-button__dot") }, });
|
|
264
|
-
}
|
|
265
|
-
}
|
|
266
|
-
if (!__VLS_ctx.compact) {
|
|
267
|
-
(__VLS_ctx.title);
|
|
268
|
-
}
|
|
269
|
-
if (!__VLS_ctx.compact) {
|
|
270
|
-
__VLS_elementAsFunction(__VLS_intrinsicElements.template, __VLS_intrinsicElements.template)({});
|
|
271
|
-
{
|
|
272
|
-
const { "icon-append": __VLS_thisSlot } = __VLS_nonNullable(__VLS_5.slots);
|
|
273
|
-
if (__VLS_ctx.info || __VLS_ctx.withIndicator) {
|
|
274
|
-
const __VLS_13 = __VLS_resolvedLocalAndGlobalComponents.McChip;
|
|
275
|
-
/** @type { [typeof __VLS_components.McChip, typeof __VLS_components.mcChip, typeof __VLS_components.McChip, typeof __VLS_components.mcChip, ] } */
|
|
276
|
-
// @ts-ignore
|
|
277
|
-
const __VLS_14 = __VLS_asFunctionalComponent(__VLS_13, new __VLS_13({ variation: ("purple"), ...{ class: ("mc-side-bar-button__chip") }, ...{ class: (({ indicator: __VLS_ctx.withIndicator })) }, }));
|
|
278
|
-
const __VLS_15 = __VLS_14({ variation: ("purple"), ...{ class: ("mc-side-bar-button__chip") }, ...{ class: (({ indicator: __VLS_ctx.withIndicator })) }, }, ...__VLS_functionalComponentArgsRest(__VLS_14));
|
|
279
|
-
(__VLS_ctx.withIndicator ? '' : __VLS_ctx.info);
|
|
280
|
-
__VLS_nonNullable(__VLS_18.slots).default;
|
|
281
|
-
var __VLS_18;
|
|
282
|
-
}
|
|
283
|
-
}
|
|
284
|
-
}
|
|
285
|
-
var __VLS_5;
|
|
286
|
-
__VLS_styleScopedClasses['mc-side-bar-button__icon'];
|
|
287
|
-
__VLS_styleScopedClasses['mc-side-bar-button__dot'];
|
|
288
|
-
__VLS_styleScopedClasses['mc-side-bar-button__chip'];
|
|
289
|
-
__VLS_styleScopedClasses['indicator'];
|
|
290
|
-
var __VLS_slots;
|
|
291
|
-
var __VLS_inheritedAttrs;
|
|
292
|
-
const __VLS_refs = {};
|
|
293
|
-
var $refs;
|
|
294
|
-
var $el;
|
|
295
|
-
return {
|
|
296
|
-
attrs: {},
|
|
297
|
-
slots: __VLS_slots,
|
|
298
|
-
refs: $refs,
|
|
299
|
-
rootEl: $el,
|
|
300
|
-
};
|
|
301
|
-
}
|
|
302
|
-
;
|
|
303
|
-
const __VLS_self = (await import('vue')).defineComponent({
|
|
304
|
-
setup() {
|
|
305
|
-
return {
|
|
306
|
-
McButton: McButton,
|
|
307
|
-
McSvgIcon: McSvgIcon,
|
|
308
|
-
McChip: McChip,
|
|
309
|
-
classes: classes,
|
|
310
|
-
btnAttrs: btnAttrs,
|
|
311
|
-
};
|
|
312
|
-
},
|
|
313
|
-
props: {
|
|
314
|
-
/**
|
|
315
|
-
* Если нужна ссылка внутри приложения:
|
|
316
|
-
*/
|
|
317
|
-
to: {
|
|
318
|
-
type: Object,
|
|
319
|
-
default: null
|
|
320
|
-
},
|
|
321
|
-
/**
|
|
322
|
-
* Если нужна обычная ссылка:
|
|
323
|
-
* `https://mcpay.io/`
|
|
324
|
-
*/
|
|
325
|
-
href: {
|
|
326
|
-
type: String,
|
|
327
|
-
default: null
|
|
328
|
-
},
|
|
329
|
-
/**
|
|
330
|
-
* Если нужна иконка
|
|
331
|
-
*/
|
|
332
|
-
icon: {
|
|
333
|
-
type: String,
|
|
334
|
-
default: ''
|
|
335
|
-
},
|
|
336
|
-
/**
|
|
337
|
-
* Если нужен конкретный
|
|
338
|
-
* цвет иконки
|
|
339
|
-
*/
|
|
340
|
-
iconColor: {
|
|
341
|
-
type: String,
|
|
342
|
-
default: 'currentColor'
|
|
343
|
-
},
|
|
344
|
-
/**
|
|
345
|
-
* Тайтл кнопки
|
|
346
|
-
*/
|
|
347
|
-
title: {
|
|
348
|
-
type: String,
|
|
349
|
-
default: ''
|
|
350
|
-
},
|
|
351
|
-
/**
|
|
352
|
-
* Compact size
|
|
353
|
-
*/
|
|
354
|
-
compact: {
|
|
355
|
-
type: Boolean,
|
|
356
|
-
default: false
|
|
357
|
-
},
|
|
358
|
-
/**
|
|
359
|
-
* Дизайн:
|
|
360
|
-
* `purple, red, purple-outline, purple-invert, purple-flat и т.д.`
|
|
361
|
-
*/
|
|
362
|
-
variation: {
|
|
363
|
-
type: String
|
|
364
|
-
},
|
|
365
|
-
/**
|
|
366
|
-
* Если нужен другой цвет при взаимодействии
|
|
367
|
-
*/
|
|
368
|
-
secondaryColor: {
|
|
369
|
-
type: String
|
|
370
|
-
},
|
|
371
|
-
withTooltip: {
|
|
372
|
-
type: Boolean,
|
|
373
|
-
default: false
|
|
374
|
-
},
|
|
375
|
-
withIndicator: {
|
|
376
|
-
type: Boolean,
|
|
377
|
-
default: false
|
|
378
|
-
},
|
|
379
|
-
isActive: {
|
|
380
|
-
type: Boolean,
|
|
381
|
-
default: false
|
|
382
|
-
},
|
|
383
|
-
/**
|
|
384
|
-
* Additional info
|
|
385
|
-
*/
|
|
386
|
-
info: {
|
|
387
|
-
type: [String, Number],
|
|
388
|
-
default: ''
|
|
389
|
-
},
|
|
390
|
-
/**
|
|
391
|
-
* Exact
|
|
392
|
-
*
|
|
393
|
-
*/
|
|
394
|
-
exact: {
|
|
395
|
-
type: Boolean,
|
|
396
|
-
default: false
|
|
397
|
-
},
|
|
398
|
-
/**
|
|
399
|
-
* Отключенное состояние
|
|
400
|
-
*
|
|
401
|
-
*/
|
|
402
|
-
disabled: {
|
|
403
|
-
type: Boolean,
|
|
404
|
-
default: false
|
|
405
|
-
}
|
|
406
|
-
},
|
|
407
|
-
});
|
|
408
|
-
export default (await import('vue')).defineComponent({
|
|
409
|
-
setup() {
|
|
410
|
-
return {};
|
|
411
|
-
},
|
|
412
|
-
props: {
|
|
413
|
-
/**
|
|
414
|
-
* Если нужна ссылка внутри приложения:
|
|
415
|
-
*/
|
|
416
|
-
to: {
|
|
417
|
-
type: Object,
|
|
418
|
-
default: null
|
|
419
|
-
},
|
|
420
|
-
/**
|
|
421
|
-
* Если нужна обычная ссылка:
|
|
422
|
-
* `https://mcpay.io/`
|
|
423
|
-
*/
|
|
424
|
-
href: {
|
|
425
|
-
type: String,
|
|
426
|
-
default: null
|
|
427
|
-
},
|
|
428
|
-
/**
|
|
429
|
-
* Если нужна иконка
|
|
430
|
-
*/
|
|
431
|
-
icon: {
|
|
432
|
-
type: String,
|
|
433
|
-
default: ''
|
|
434
|
-
},
|
|
435
|
-
/**
|
|
436
|
-
* Если нужен конкретный
|
|
437
|
-
* цвет иконки
|
|
438
|
-
*/
|
|
439
|
-
iconColor: {
|
|
440
|
-
type: String,
|
|
441
|
-
default: 'currentColor'
|
|
442
|
-
},
|
|
443
|
-
/**
|
|
444
|
-
* Тайтл кнопки
|
|
445
|
-
*/
|
|
446
|
-
title: {
|
|
447
|
-
type: String,
|
|
448
|
-
default: ''
|
|
449
|
-
},
|
|
450
|
-
/**
|
|
451
|
-
* Compact size
|
|
452
|
-
*/
|
|
453
|
-
compact: {
|
|
454
|
-
type: Boolean,
|
|
455
|
-
default: false
|
|
456
|
-
},
|
|
457
|
-
/**
|
|
458
|
-
* Дизайн:
|
|
459
|
-
* `purple, red, purple-outline, purple-invert, purple-flat и т.д.`
|
|
460
|
-
*/
|
|
461
|
-
variation: {
|
|
462
|
-
type: String
|
|
463
|
-
},
|
|
464
|
-
/**
|
|
465
|
-
* Если нужен другой цвет при взаимодействии
|
|
466
|
-
*/
|
|
467
|
-
secondaryColor: {
|
|
468
|
-
type: String
|
|
469
|
-
},
|
|
470
|
-
withTooltip: {
|
|
471
|
-
type: Boolean,
|
|
472
|
-
default: false
|
|
473
|
-
},
|
|
474
|
-
withIndicator: {
|
|
475
|
-
type: Boolean,
|
|
476
|
-
default: false
|
|
477
|
-
},
|
|
478
|
-
isActive: {
|
|
479
|
-
type: Boolean,
|
|
480
|
-
default: false
|
|
481
|
-
},
|
|
482
|
-
/**
|
|
483
|
-
* Additional info
|
|
484
|
-
*/
|
|
485
|
-
info: {
|
|
486
|
-
type: [String, Number],
|
|
487
|
-
default: ''
|
|
488
|
-
},
|
|
489
|
-
/**
|
|
490
|
-
* Exact
|
|
491
|
-
*
|
|
492
|
-
*/
|
|
493
|
-
exact: {
|
|
494
|
-
type: Boolean,
|
|
495
|
-
default: false
|
|
496
|
-
},
|
|
497
|
-
/**
|
|
498
|
-
* Отключенное состояние
|
|
499
|
-
*
|
|
500
|
-
*/
|
|
501
|
-
disabled: {
|
|
502
|
-
type: Boolean,
|
|
503
|
-
default: false
|
|
504
|
-
}
|
|
505
|
-
},
|
|
506
|
-
__typeEl: {},
|
|
507
|
-
});
|
|
508
|
-
; /* PartiallyEnd: #4569/main.vue */
|