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,316 +0,0 @@
|
|
|
1
|
-
import { McTitle, McSvgIcon, McButton } from '@/components';
|
|
2
|
-
import { computed } from 'vue';
|
|
3
|
-
import { HorizontalAlignment, TitleVariations, Weights } from '@/enums';
|
|
4
|
-
import { default as noTableDataImg } from '@/assets/img/no_table_data.png';
|
|
5
|
-
const { defineProps, defineSlots, defineEmits, defineExpose, defineModel, defineOptions, withDefaults, } = await import('vue');
|
|
6
|
-
const emit = defineEmits();
|
|
7
|
-
const props = defineProps({
|
|
8
|
-
img: {
|
|
9
|
-
type: String,
|
|
10
|
-
default: noTableDataImg
|
|
11
|
-
},
|
|
12
|
-
icon: {
|
|
13
|
-
type: String,
|
|
14
|
-
default: null
|
|
15
|
-
},
|
|
16
|
-
title: {
|
|
17
|
-
type: String,
|
|
18
|
-
default: ''
|
|
19
|
-
},
|
|
20
|
-
text: {
|
|
21
|
-
type: String,
|
|
22
|
-
default: ''
|
|
23
|
-
},
|
|
24
|
-
href: {
|
|
25
|
-
type: String,
|
|
26
|
-
default: ''
|
|
27
|
-
},
|
|
28
|
-
btnName: {
|
|
29
|
-
type: String,
|
|
30
|
-
default: ''
|
|
31
|
-
},
|
|
32
|
-
noAction: {
|
|
33
|
-
type: Boolean,
|
|
34
|
-
default: false
|
|
35
|
-
},
|
|
36
|
-
loading: {
|
|
37
|
-
type: Boolean,
|
|
38
|
-
default: false
|
|
39
|
-
},
|
|
40
|
-
/**
|
|
41
|
-
* Вариант блока
|
|
42
|
-
* small - стандартный, небольшие отступы
|
|
43
|
-
* large - большие отступы (напр. для табов в админке) + немного меняются дефолтные шрифты тайтла
|
|
44
|
-
* */
|
|
45
|
-
variation: {
|
|
46
|
-
type: String,
|
|
47
|
-
default: 'small'
|
|
48
|
-
}
|
|
49
|
-
});
|
|
50
|
-
const btnAttrs = computed(() => {
|
|
51
|
-
return {
|
|
52
|
-
class: 'mt-200',
|
|
53
|
-
loading: props.loading,
|
|
54
|
-
...(props.href ? { href: props.href } : {})
|
|
55
|
-
};
|
|
56
|
-
});
|
|
57
|
-
const btnListeners = computed(() => {
|
|
58
|
-
return !props.href
|
|
59
|
-
? {
|
|
60
|
-
click: () => handleClick()
|
|
61
|
-
}
|
|
62
|
-
: {};
|
|
63
|
-
});
|
|
64
|
-
const titleExtraProps = computed(() => {
|
|
65
|
-
return props.variation === 'large'
|
|
66
|
-
? {
|
|
67
|
-
variation: TitleVariations.Subtitle,
|
|
68
|
-
weight: Weights.SemiBold
|
|
69
|
-
}
|
|
70
|
-
: {};
|
|
71
|
-
});
|
|
72
|
-
const classes = computed(() => {
|
|
73
|
-
return {
|
|
74
|
-
'mc-no-data': true,
|
|
75
|
-
[`mc-no-data--variation-${props.variation}`]: !!props.variation
|
|
76
|
-
};
|
|
77
|
-
});
|
|
78
|
-
const handleClick = () => {
|
|
79
|
-
emit('click');
|
|
80
|
-
}; /* PartiallyEnd: #3632/scriptSetup.vue */
|
|
81
|
-
const __VLS_fnComponent = (await import('vue')).defineComponent({
|
|
82
|
-
props: {
|
|
83
|
-
img: {
|
|
84
|
-
type: String,
|
|
85
|
-
default: noTableDataImg
|
|
86
|
-
},
|
|
87
|
-
icon: {
|
|
88
|
-
type: String,
|
|
89
|
-
default: null
|
|
90
|
-
},
|
|
91
|
-
title: {
|
|
92
|
-
type: String,
|
|
93
|
-
default: ''
|
|
94
|
-
},
|
|
95
|
-
text: {
|
|
96
|
-
type: String,
|
|
97
|
-
default: ''
|
|
98
|
-
},
|
|
99
|
-
href: {
|
|
100
|
-
type: String,
|
|
101
|
-
default: ''
|
|
102
|
-
},
|
|
103
|
-
btnName: {
|
|
104
|
-
type: String,
|
|
105
|
-
default: ''
|
|
106
|
-
},
|
|
107
|
-
noAction: {
|
|
108
|
-
type: Boolean,
|
|
109
|
-
default: false
|
|
110
|
-
},
|
|
111
|
-
loading: {
|
|
112
|
-
type: Boolean,
|
|
113
|
-
default: false
|
|
114
|
-
},
|
|
115
|
-
/**
|
|
116
|
-
* Вариант блока
|
|
117
|
-
* small - стандартный, небольшие отступы
|
|
118
|
-
* large - большие отступы (напр. для табов в админке) + немного меняются дефолтные шрифты тайтла
|
|
119
|
-
* */
|
|
120
|
-
variation: {
|
|
121
|
-
type: String,
|
|
122
|
-
default: 'small'
|
|
123
|
-
}
|
|
124
|
-
},
|
|
125
|
-
__typeEmits: {},
|
|
126
|
-
});
|
|
127
|
-
;
|
|
128
|
-
let __VLS_functionalComponentProps;
|
|
129
|
-
function __VLS_template() {
|
|
130
|
-
const __VLS_ctx = {};
|
|
131
|
-
const __VLS_localComponents = {
|
|
132
|
-
...{},
|
|
133
|
-
...{},
|
|
134
|
-
...__VLS_ctx,
|
|
135
|
-
};
|
|
136
|
-
let __VLS_components;
|
|
137
|
-
const __VLS_localDirectives = {
|
|
138
|
-
...{},
|
|
139
|
-
...__VLS_ctx,
|
|
140
|
-
};
|
|
141
|
-
let __VLS_directives;
|
|
142
|
-
let __VLS_styleScopedClasses;
|
|
143
|
-
// CSS variable injection
|
|
144
|
-
// CSS variable injection end
|
|
145
|
-
let __VLS_resolvedLocalAndGlobalComponents;
|
|
146
|
-
__VLS_elementAsFunction(__VLS_intrinsicElements.div, __VLS_intrinsicElements.div)({ ...{ class: ("mc-no-data__wrapper") }, });
|
|
147
|
-
__VLS_elementAsFunction(__VLS_intrinsicElements.section, __VLS_intrinsicElements.section)({ ...{ class: ((__VLS_ctx.classes)) }, });
|
|
148
|
-
if (props.icon) {
|
|
149
|
-
const __VLS_0 = __VLS_resolvedLocalAndGlobalComponents.McSvgIcon;
|
|
150
|
-
/** @type { [typeof __VLS_components.McSvgIcon, typeof __VLS_components.mcSvgIcon, ] } */
|
|
151
|
-
// @ts-ignore
|
|
152
|
-
const __VLS_1 = __VLS_asFunctionalComponent(__VLS_0, new __VLS_0({ weight: ((0.5)), name: ((props.icon)), size: ("1000"), color: ("outline-gray"), }));
|
|
153
|
-
const __VLS_2 = __VLS_1({ weight: ((0.5)), name: ((props.icon)), size: ("1000"), color: ("outline-gray"), }, ...__VLS_functionalComponentArgsRest(__VLS_1));
|
|
154
|
-
}
|
|
155
|
-
if (props.img) {
|
|
156
|
-
__VLS_elementAsFunction(__VLS_intrinsicElements.img)({ src: ((props.img)), alt: ("no_entity"), });
|
|
157
|
-
}
|
|
158
|
-
if (__VLS_ctx.title || __VLS_ctx.$slots.title) {
|
|
159
|
-
var __VLS_6 = {};
|
|
160
|
-
if (props.title) {
|
|
161
|
-
const __VLS_7 = __VLS_resolvedLocalAndGlobalComponents.McTitle;
|
|
162
|
-
/** @type { [typeof __VLS_components.McTitle, typeof __VLS_components.mcTitle, ] } */
|
|
163
|
-
// @ts-ignore
|
|
164
|
-
const __VLS_8 = __VLS_asFunctionalComponent(__VLS_7, new __VLS_7({ ...(__VLS_ctx.titleExtraProps), color: ("gray"), textAlign: ((__VLS_ctx.HorizontalAlignment.Center)), htmlData: ((props.title)), }));
|
|
165
|
-
const __VLS_9 = __VLS_8({ ...(__VLS_ctx.titleExtraProps), color: ("gray"), textAlign: ((__VLS_ctx.HorizontalAlignment.Center)), htmlData: ((props.title)), }, ...__VLS_functionalComponentArgsRest(__VLS_8));
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
if (__VLS_ctx.text || __VLS_ctx.$slots.text) {
|
|
169
|
-
__VLS_elementAsFunction(__VLS_intrinsicElements.div, __VLS_intrinsicElements.div)({ ...{ class: ("mc-no-data__text") }, });
|
|
170
|
-
var __VLS_13 = {};
|
|
171
|
-
const __VLS_14 = __VLS_resolvedLocalAndGlobalComponents.McTitle;
|
|
172
|
-
/** @type { [typeof __VLS_components.McTitle, typeof __VLS_components.mcTitle, ] } */
|
|
173
|
-
// @ts-ignore
|
|
174
|
-
const __VLS_15 = __VLS_asFunctionalComponent(__VLS_14, new __VLS_14({ color: ("gray"), variation: ((__VLS_ctx.TitleVariations.Article)), textAlign: ((__VLS_ctx.HorizontalAlignment.Center)), htmlData: ((__VLS_ctx.text)), }));
|
|
175
|
-
const __VLS_16 = __VLS_15({ color: ("gray"), variation: ((__VLS_ctx.TitleVariations.Article)), textAlign: ((__VLS_ctx.HorizontalAlignment.Center)), htmlData: ((__VLS_ctx.text)), }, ...__VLS_functionalComponentArgsRest(__VLS_15));
|
|
176
|
-
}
|
|
177
|
-
if ((__VLS_ctx.btnName && !__VLS_ctx.noAction) || __VLS_ctx.$slots.action) {
|
|
178
|
-
__VLS_elementAsFunction(__VLS_intrinsicElements.div, __VLS_intrinsicElements.div)({ ...{ class: ("mc-no-data__actions") }, });
|
|
179
|
-
var __VLS_20 = {};
|
|
180
|
-
const __VLS_21 = __VLS_resolvedLocalAndGlobalComponents.McButton;
|
|
181
|
-
/** @type { [typeof __VLS_components.McButton, typeof __VLS_components.mcButton, typeof __VLS_components.McButton, typeof __VLS_components.mcButton, ] } */
|
|
182
|
-
// @ts-ignore
|
|
183
|
-
const __VLS_22 = __VLS_asFunctionalComponent(__VLS_21, new __VLS_21({ ...(__VLS_ctx.btnAttrs), }));
|
|
184
|
-
const __VLS_23 = __VLS_22({ ...(__VLS_ctx.btnAttrs), }, ...__VLS_functionalComponentArgsRest(__VLS_22));
|
|
185
|
-
(__VLS_ctx.btnListeners);
|
|
186
|
-
(__VLS_ctx.btnName);
|
|
187
|
-
__VLS_nonNullable(__VLS_26.slots).default;
|
|
188
|
-
var __VLS_26;
|
|
189
|
-
}
|
|
190
|
-
__VLS_styleScopedClasses['mc-no-data__wrapper'];
|
|
191
|
-
__VLS_styleScopedClasses['mc-no-data__text'];
|
|
192
|
-
__VLS_styleScopedClasses['mc-no-data__actions'];
|
|
193
|
-
var __VLS_slots;
|
|
194
|
-
var __VLS_inheritedAttrs;
|
|
195
|
-
const __VLS_refs = {};
|
|
196
|
-
var $refs;
|
|
197
|
-
var $el;
|
|
198
|
-
return {
|
|
199
|
-
attrs: {},
|
|
200
|
-
slots: __VLS_slots,
|
|
201
|
-
refs: $refs,
|
|
202
|
-
rootEl: $el,
|
|
203
|
-
};
|
|
204
|
-
}
|
|
205
|
-
;
|
|
206
|
-
const __VLS_self = (await import('vue')).defineComponent({
|
|
207
|
-
setup() {
|
|
208
|
-
return {
|
|
209
|
-
McTitle: McTitle,
|
|
210
|
-
McSvgIcon: McSvgIcon,
|
|
211
|
-
McButton: McButton,
|
|
212
|
-
HorizontalAlignment: HorizontalAlignment,
|
|
213
|
-
TitleVariations: TitleVariations,
|
|
214
|
-
btnAttrs: btnAttrs,
|
|
215
|
-
btnListeners: btnListeners,
|
|
216
|
-
titleExtraProps: titleExtraProps,
|
|
217
|
-
classes: classes,
|
|
218
|
-
};
|
|
219
|
-
},
|
|
220
|
-
__typeEmits: {},
|
|
221
|
-
props: {
|
|
222
|
-
img: {
|
|
223
|
-
type: String,
|
|
224
|
-
default: noTableDataImg
|
|
225
|
-
},
|
|
226
|
-
icon: {
|
|
227
|
-
type: String,
|
|
228
|
-
default: null
|
|
229
|
-
},
|
|
230
|
-
title: {
|
|
231
|
-
type: String,
|
|
232
|
-
default: ''
|
|
233
|
-
},
|
|
234
|
-
text: {
|
|
235
|
-
type: String,
|
|
236
|
-
default: ''
|
|
237
|
-
},
|
|
238
|
-
href: {
|
|
239
|
-
type: String,
|
|
240
|
-
default: ''
|
|
241
|
-
},
|
|
242
|
-
btnName: {
|
|
243
|
-
type: String,
|
|
244
|
-
default: ''
|
|
245
|
-
},
|
|
246
|
-
noAction: {
|
|
247
|
-
type: Boolean,
|
|
248
|
-
default: false
|
|
249
|
-
},
|
|
250
|
-
loading: {
|
|
251
|
-
type: Boolean,
|
|
252
|
-
default: false
|
|
253
|
-
},
|
|
254
|
-
/**
|
|
255
|
-
* Вариант блока
|
|
256
|
-
* small - стандартный, небольшие отступы
|
|
257
|
-
* large - большие отступы (напр. для табов в админке) + немного меняются дефолтные шрифты тайтла
|
|
258
|
-
* */
|
|
259
|
-
variation: {
|
|
260
|
-
type: String,
|
|
261
|
-
default: 'small'
|
|
262
|
-
}
|
|
263
|
-
},
|
|
264
|
-
});
|
|
265
|
-
const __VLS_component = (await import('vue')).defineComponent({
|
|
266
|
-
setup() {
|
|
267
|
-
return {};
|
|
268
|
-
},
|
|
269
|
-
__typeEmits: {},
|
|
270
|
-
props: {
|
|
271
|
-
img: {
|
|
272
|
-
type: String,
|
|
273
|
-
default: noTableDataImg
|
|
274
|
-
},
|
|
275
|
-
icon: {
|
|
276
|
-
type: String,
|
|
277
|
-
default: null
|
|
278
|
-
},
|
|
279
|
-
title: {
|
|
280
|
-
type: String,
|
|
281
|
-
default: ''
|
|
282
|
-
},
|
|
283
|
-
text: {
|
|
284
|
-
type: String,
|
|
285
|
-
default: ''
|
|
286
|
-
},
|
|
287
|
-
href: {
|
|
288
|
-
type: String,
|
|
289
|
-
default: ''
|
|
290
|
-
},
|
|
291
|
-
btnName: {
|
|
292
|
-
type: String,
|
|
293
|
-
default: ''
|
|
294
|
-
},
|
|
295
|
-
noAction: {
|
|
296
|
-
type: Boolean,
|
|
297
|
-
default: false
|
|
298
|
-
},
|
|
299
|
-
loading: {
|
|
300
|
-
type: Boolean,
|
|
301
|
-
default: false
|
|
302
|
-
},
|
|
303
|
-
/**
|
|
304
|
-
* Вариант блока
|
|
305
|
-
* small - стандартный, небольшие отступы
|
|
306
|
-
* large - большие отступы (напр. для табов в админке) + немного меняются дефолтные шрифты тайтла
|
|
307
|
-
* */
|
|
308
|
-
variation: {
|
|
309
|
-
type: String,
|
|
310
|
-
default: 'small'
|
|
311
|
-
}
|
|
312
|
-
},
|
|
313
|
-
__typeEl: {},
|
|
314
|
-
});
|
|
315
|
-
export default {};
|
|
316
|
-
; /* PartiallyEnd: #4569/main.vue */
|
|
@@ -1,364 +0,0 @@
|
|
|
1
|
-
import { McTitle, McSvgIcon, McButton, McPreview } from '@/components';
|
|
2
|
-
import { computed } from 'vue';
|
|
3
|
-
import { Colors } from '@/types/styles/Colors';
|
|
4
|
-
import { Weights } from '@/enums/ui/Weights';
|
|
5
|
-
const { defineProps, defineSlots, defineEmits, defineExpose, defineModel, defineOptions, withDefaults, } = await import('vue');
|
|
6
|
-
const emit = defineEmits(['click']);
|
|
7
|
-
const props = defineProps({
|
|
8
|
-
/**
|
|
9
|
-
* Дизайн:
|
|
10
|
-
* purple, red, orange и т.д.
|
|
11
|
-
*/
|
|
12
|
-
variation: {
|
|
13
|
-
type: String,
|
|
14
|
-
default: 'purple',
|
|
15
|
-
},
|
|
16
|
-
/**
|
|
17
|
-
* Заголовок блока
|
|
18
|
-
*/
|
|
19
|
-
title: {
|
|
20
|
-
type: String,
|
|
21
|
-
},
|
|
22
|
-
/**
|
|
23
|
-
* Содержимое блока
|
|
24
|
-
*/
|
|
25
|
-
content: {
|
|
26
|
-
type: String,
|
|
27
|
-
default: null,
|
|
28
|
-
},
|
|
29
|
-
/**
|
|
30
|
-
* Отобразить кнопку внтури блока
|
|
31
|
-
*/
|
|
32
|
-
buttonVisible: {
|
|
33
|
-
type: Boolean,
|
|
34
|
-
default: false,
|
|
35
|
-
},
|
|
36
|
-
/**
|
|
37
|
-
* Текст кнопки
|
|
38
|
-
*/
|
|
39
|
-
buttonText: {
|
|
40
|
-
type: String,
|
|
41
|
-
default: '',
|
|
42
|
-
},
|
|
43
|
-
/**
|
|
44
|
-
* Название иконки
|
|
45
|
-
*/
|
|
46
|
-
iconName: {
|
|
47
|
-
type: String,
|
|
48
|
-
default: 'info',
|
|
49
|
-
},
|
|
50
|
-
/**
|
|
51
|
-
* Отображать иконку
|
|
52
|
-
*/
|
|
53
|
-
iconVisible: {
|
|
54
|
-
type: Boolean,
|
|
55
|
-
default: true,
|
|
56
|
-
},
|
|
57
|
-
});
|
|
58
|
-
const styles = computed(() => {
|
|
59
|
-
return {
|
|
60
|
-
'--mc-notification-color': Colors[props.variation],
|
|
61
|
-
};
|
|
62
|
-
});
|
|
63
|
-
const handleClick = (e) => {
|
|
64
|
-
/**
|
|
65
|
-
* Событие клика по кнопке
|
|
66
|
-
*/
|
|
67
|
-
emit('click', e);
|
|
68
|
-
}; /* PartiallyEnd: #3632/scriptSetup.vue */
|
|
69
|
-
const __VLS_fnComponent = (await import('vue')).defineComponent({
|
|
70
|
-
props: {
|
|
71
|
-
/**
|
|
72
|
-
* Дизайн:
|
|
73
|
-
* purple, red, orange и т.д.
|
|
74
|
-
*/
|
|
75
|
-
variation: {
|
|
76
|
-
type: String,
|
|
77
|
-
default: 'purple',
|
|
78
|
-
},
|
|
79
|
-
/**
|
|
80
|
-
* Заголовок блока
|
|
81
|
-
*/
|
|
82
|
-
title: {
|
|
83
|
-
type: String,
|
|
84
|
-
},
|
|
85
|
-
/**
|
|
86
|
-
* Содержимое блока
|
|
87
|
-
*/
|
|
88
|
-
content: {
|
|
89
|
-
type: String,
|
|
90
|
-
default: null,
|
|
91
|
-
},
|
|
92
|
-
/**
|
|
93
|
-
* Отобразить кнопку внтури блока
|
|
94
|
-
*/
|
|
95
|
-
buttonVisible: {
|
|
96
|
-
type: Boolean,
|
|
97
|
-
default: false,
|
|
98
|
-
},
|
|
99
|
-
/**
|
|
100
|
-
* Текст кнопки
|
|
101
|
-
*/
|
|
102
|
-
buttonText: {
|
|
103
|
-
type: String,
|
|
104
|
-
default: '',
|
|
105
|
-
},
|
|
106
|
-
/**
|
|
107
|
-
* Название иконки
|
|
108
|
-
*/
|
|
109
|
-
iconName: {
|
|
110
|
-
type: String,
|
|
111
|
-
default: 'info',
|
|
112
|
-
},
|
|
113
|
-
/**
|
|
114
|
-
* Отображать иконку
|
|
115
|
-
*/
|
|
116
|
-
iconVisible: {
|
|
117
|
-
type: Boolean,
|
|
118
|
-
default: true,
|
|
119
|
-
},
|
|
120
|
-
},
|
|
121
|
-
emits: {},
|
|
122
|
-
});
|
|
123
|
-
;
|
|
124
|
-
let __VLS_functionalComponentProps;
|
|
125
|
-
function __VLS_template() {
|
|
126
|
-
const __VLS_ctx = {};
|
|
127
|
-
const __VLS_localComponents = {
|
|
128
|
-
...{},
|
|
129
|
-
...{},
|
|
130
|
-
...__VLS_ctx,
|
|
131
|
-
};
|
|
132
|
-
let __VLS_components;
|
|
133
|
-
const __VLS_localDirectives = {
|
|
134
|
-
...{},
|
|
135
|
-
...__VLS_ctx,
|
|
136
|
-
};
|
|
137
|
-
let __VLS_directives;
|
|
138
|
-
let __VLS_styleScopedClasses;
|
|
139
|
-
// CSS variable injection
|
|
140
|
-
// CSS variable injection end
|
|
141
|
-
let __VLS_resolvedLocalAndGlobalComponents;
|
|
142
|
-
__VLS_elementAsFunction(__VLS_intrinsicElements.div, __VLS_intrinsicElements.div)({ ...{ class: ("mc-notification") }, ...{ style: ((__VLS_ctx.styles)) }, });
|
|
143
|
-
__VLS_elementAsFunction(__VLS_intrinsicElements.div, __VLS_intrinsicElements.div)({ ...{ class: ("mc-notification__inner") }, });
|
|
144
|
-
const __VLS_0 = __VLS_resolvedLocalAndGlobalComponents.McPreview;
|
|
145
|
-
/** @type { [typeof __VLS_components.McPreview, typeof __VLS_components.mcPreview, typeof __VLS_components.McPreview, typeof __VLS_components.mcPreview, ] } */
|
|
146
|
-
// @ts-ignore
|
|
147
|
-
const __VLS_1 = __VLS_asFunctionalComponent(__VLS_0, new __VLS_0({}));
|
|
148
|
-
const __VLS_2 = __VLS_1({}, ...__VLS_functionalComponentArgsRest(__VLS_1));
|
|
149
|
-
if (props.iconVisible && (__VLS_ctx.$slots.left || props.iconName)) {
|
|
150
|
-
__VLS_elementAsFunction(__VLS_intrinsicElements.template, __VLS_intrinsicElements.template)({});
|
|
151
|
-
{
|
|
152
|
-
const { left: __VLS_thisSlot } = __VLS_nonNullable(__VLS_5.slots);
|
|
153
|
-
var __VLS_6 = {};
|
|
154
|
-
const __VLS_7 = __VLS_resolvedLocalAndGlobalComponents.McSvgIcon;
|
|
155
|
-
/** @type { [typeof __VLS_components.McSvgIcon, typeof __VLS_components.mcSvgIcon, ] } */
|
|
156
|
-
// @ts-ignore
|
|
157
|
-
const __VLS_8 = __VLS_asFunctionalComponent(__VLS_7, new __VLS_7({ name: ((props.iconName)), size: ("300"), }));
|
|
158
|
-
const __VLS_9 = __VLS_8({ name: ((props.iconName)), size: ("300"), }, ...__VLS_functionalComponentArgsRest(__VLS_8));
|
|
159
|
-
__VLS_nonNullable(__VLS_5.slots).default;
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
if (__VLS_ctx.$slots.header || props.title) {
|
|
163
|
-
__VLS_elementAsFunction(__VLS_intrinsicElements.template, __VLS_intrinsicElements.template)({});
|
|
164
|
-
{
|
|
165
|
-
const { top: __VLS_thisSlot } = __VLS_nonNullable(__VLS_5.slots);
|
|
166
|
-
var __VLS_13 = {};
|
|
167
|
-
if (props.title) {
|
|
168
|
-
const __VLS_14 = __VLS_resolvedLocalAndGlobalComponents.McTitle;
|
|
169
|
-
/** @type { [typeof __VLS_components.McTitle, typeof __VLS_components.mcTitle, typeof __VLS_components.McTitle, typeof __VLS_components.mcTitle, ] } */
|
|
170
|
-
// @ts-ignore
|
|
171
|
-
const __VLS_15 = __VLS_asFunctionalComponent(__VLS_14, new __VLS_14({ color: ((props.variation)), weight: ((__VLS_ctx.Weights.SemiBold)), ...{ class: ("mc-notification__title") }, }));
|
|
172
|
-
const __VLS_16 = __VLS_15({ color: ((props.variation)), weight: ((__VLS_ctx.Weights.SemiBold)), ...{ class: ("mc-notification__title") }, }, ...__VLS_functionalComponentArgsRest(__VLS_15));
|
|
173
|
-
(props.title);
|
|
174
|
-
__VLS_nonNullable(__VLS_19.slots).default;
|
|
175
|
-
var __VLS_19;
|
|
176
|
-
}
|
|
177
|
-
__VLS_nonNullable(__VLS_5.slots).default;
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
if (props.content || __VLS_ctx.$slots.default) {
|
|
181
|
-
__VLS_elementAsFunction(__VLS_intrinsicElements.template, __VLS_intrinsicElements.template)({});
|
|
182
|
-
{
|
|
183
|
-
const { bottom: __VLS_thisSlot } = __VLS_nonNullable(__VLS_5.slots);
|
|
184
|
-
__VLS_elementAsFunction(__VLS_intrinsicElements.div, __VLS_intrinsicElements.div)({ ...{ class: ("mc-notification__text") }, });
|
|
185
|
-
var __VLS_20 = {};
|
|
186
|
-
const __VLS_21 = __VLS_resolvedLocalAndGlobalComponents.McTitle;
|
|
187
|
-
/** @type { [typeof __VLS_components.McTitle, typeof __VLS_components.mcTitle, typeof __VLS_components.McTitle, typeof __VLS_components.mcTitle, ] } */
|
|
188
|
-
// @ts-ignore
|
|
189
|
-
const __VLS_22 = __VLS_asFunctionalComponent(__VLS_21, new __VLS_21({ color: ((props.variation)), }));
|
|
190
|
-
const __VLS_23 = __VLS_22({ color: ((props.variation)), }, ...__VLS_functionalComponentArgsRest(__VLS_22));
|
|
191
|
-
(props.content);
|
|
192
|
-
__VLS_nonNullable(__VLS_26.slots).default;
|
|
193
|
-
var __VLS_26;
|
|
194
|
-
__VLS_nonNullable(__VLS_5.slots).default;
|
|
195
|
-
}
|
|
196
|
-
}
|
|
197
|
-
if (__VLS_ctx.$slots.right || props.buttonVisible) {
|
|
198
|
-
__VLS_elementAsFunction(__VLS_intrinsicElements.template, __VLS_intrinsicElements.template)({});
|
|
199
|
-
{
|
|
200
|
-
const { right: __VLS_thisSlot } = __VLS_nonNullable(__VLS_5.slots);
|
|
201
|
-
var __VLS_27 = {};
|
|
202
|
-
if (props.buttonVisible) {
|
|
203
|
-
const __VLS_28 = __VLS_resolvedLocalAndGlobalComponents.McButton;
|
|
204
|
-
/** @type { [typeof __VLS_components.McButton, typeof __VLS_components.mcButton, typeof __VLS_components.McButton, typeof __VLS_components.mcButton, ] } */
|
|
205
|
-
// @ts-ignore
|
|
206
|
-
const __VLS_29 = __VLS_asFunctionalComponent(__VLS_28, new __VLS_28({ ...{ 'onClick': {} }, variation: ((props.variation)), ...{ class: ("mc-notification__button") }, }));
|
|
207
|
-
const __VLS_30 = __VLS_29({ ...{ 'onClick': {} }, variation: ((props.variation)), ...{ class: ("mc-notification__button") }, }, ...__VLS_functionalComponentArgsRest(__VLS_29));
|
|
208
|
-
let __VLS_34;
|
|
209
|
-
const __VLS_35 = {
|
|
210
|
-
onClick: (__VLS_ctx.handleClick)
|
|
211
|
-
};
|
|
212
|
-
let __VLS_31;
|
|
213
|
-
let __VLS_32;
|
|
214
|
-
(props.buttonText);
|
|
215
|
-
__VLS_nonNullable(__VLS_33.slots).default;
|
|
216
|
-
var __VLS_33;
|
|
217
|
-
}
|
|
218
|
-
__VLS_nonNullable(__VLS_5.slots).default;
|
|
219
|
-
}
|
|
220
|
-
}
|
|
221
|
-
var __VLS_5;
|
|
222
|
-
__VLS_styleScopedClasses['mc-notification'];
|
|
223
|
-
__VLS_styleScopedClasses['mc-notification__inner'];
|
|
224
|
-
__VLS_styleScopedClasses['mc-notification__title'];
|
|
225
|
-
__VLS_styleScopedClasses['mc-notification__text'];
|
|
226
|
-
__VLS_styleScopedClasses['mc-notification__button'];
|
|
227
|
-
var __VLS_slots;
|
|
228
|
-
var __VLS_inheritedAttrs;
|
|
229
|
-
const __VLS_refs = {};
|
|
230
|
-
var $refs;
|
|
231
|
-
var $el;
|
|
232
|
-
return {
|
|
233
|
-
attrs: {},
|
|
234
|
-
slots: __VLS_slots,
|
|
235
|
-
refs: $refs,
|
|
236
|
-
rootEl: $el,
|
|
237
|
-
};
|
|
238
|
-
}
|
|
239
|
-
;
|
|
240
|
-
const __VLS_self = (await import('vue')).defineComponent({
|
|
241
|
-
setup() {
|
|
242
|
-
return {
|
|
243
|
-
McTitle: McTitle,
|
|
244
|
-
McSvgIcon: McSvgIcon,
|
|
245
|
-
McButton: McButton,
|
|
246
|
-
McPreview: McPreview,
|
|
247
|
-
Weights: Weights,
|
|
248
|
-
styles: styles,
|
|
249
|
-
handleClick: handleClick,
|
|
250
|
-
};
|
|
251
|
-
},
|
|
252
|
-
emits: {},
|
|
253
|
-
props: {
|
|
254
|
-
/**
|
|
255
|
-
* Дизайн:
|
|
256
|
-
* purple, red, orange и т.д.
|
|
257
|
-
*/
|
|
258
|
-
variation: {
|
|
259
|
-
type: String,
|
|
260
|
-
default: 'purple',
|
|
261
|
-
},
|
|
262
|
-
/**
|
|
263
|
-
* Заголовок блока
|
|
264
|
-
*/
|
|
265
|
-
title: {
|
|
266
|
-
type: String,
|
|
267
|
-
},
|
|
268
|
-
/**
|
|
269
|
-
* Содержимое блока
|
|
270
|
-
*/
|
|
271
|
-
content: {
|
|
272
|
-
type: String,
|
|
273
|
-
default: null,
|
|
274
|
-
},
|
|
275
|
-
/**
|
|
276
|
-
* Отобразить кнопку внтури блока
|
|
277
|
-
*/
|
|
278
|
-
buttonVisible: {
|
|
279
|
-
type: Boolean,
|
|
280
|
-
default: false,
|
|
281
|
-
},
|
|
282
|
-
/**
|
|
283
|
-
* Текст кнопки
|
|
284
|
-
*/
|
|
285
|
-
buttonText: {
|
|
286
|
-
type: String,
|
|
287
|
-
default: '',
|
|
288
|
-
},
|
|
289
|
-
/**
|
|
290
|
-
* Название иконки
|
|
291
|
-
*/
|
|
292
|
-
iconName: {
|
|
293
|
-
type: String,
|
|
294
|
-
default: 'info',
|
|
295
|
-
},
|
|
296
|
-
/**
|
|
297
|
-
* Отображать иконку
|
|
298
|
-
*/
|
|
299
|
-
iconVisible: {
|
|
300
|
-
type: Boolean,
|
|
301
|
-
default: true,
|
|
302
|
-
},
|
|
303
|
-
},
|
|
304
|
-
});
|
|
305
|
-
const __VLS_component = (await import('vue')).defineComponent({
|
|
306
|
-
setup() {
|
|
307
|
-
return {};
|
|
308
|
-
},
|
|
309
|
-
emits: {},
|
|
310
|
-
props: {
|
|
311
|
-
/**
|
|
312
|
-
* Дизайн:
|
|
313
|
-
* purple, red, orange и т.д.
|
|
314
|
-
*/
|
|
315
|
-
variation: {
|
|
316
|
-
type: String,
|
|
317
|
-
default: 'purple',
|
|
318
|
-
},
|
|
319
|
-
/**
|
|
320
|
-
* Заголовок блока
|
|
321
|
-
*/
|
|
322
|
-
title: {
|
|
323
|
-
type: String,
|
|
324
|
-
},
|
|
325
|
-
/**
|
|
326
|
-
* Содержимое блока
|
|
327
|
-
*/
|
|
328
|
-
content: {
|
|
329
|
-
type: String,
|
|
330
|
-
default: null,
|
|
331
|
-
},
|
|
332
|
-
/**
|
|
333
|
-
* Отобразить кнопку внтури блока
|
|
334
|
-
*/
|
|
335
|
-
buttonVisible: {
|
|
336
|
-
type: Boolean,
|
|
337
|
-
default: false,
|
|
338
|
-
},
|
|
339
|
-
/**
|
|
340
|
-
* Текст кнопки
|
|
341
|
-
*/
|
|
342
|
-
buttonText: {
|
|
343
|
-
type: String,
|
|
344
|
-
default: '',
|
|
345
|
-
},
|
|
346
|
-
/**
|
|
347
|
-
* Название иконки
|
|
348
|
-
*/
|
|
349
|
-
iconName: {
|
|
350
|
-
type: String,
|
|
351
|
-
default: 'info',
|
|
352
|
-
},
|
|
353
|
-
/**
|
|
354
|
-
* Отображать иконку
|
|
355
|
-
*/
|
|
356
|
-
iconVisible: {
|
|
357
|
-
type: Boolean,
|
|
358
|
-
default: true,
|
|
359
|
-
},
|
|
360
|
-
},
|
|
361
|
-
__typeEl: {},
|
|
362
|
-
});
|
|
363
|
-
export default {};
|
|
364
|
-
; /* PartiallyEnd: #4569/main.vue */
|