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,304 +0,0 @@
|
|
|
1
|
-
import { TransitionPresets, useTransition } from '@vueuse/core';
|
|
2
|
-
import { computed, ref, watch } from 'vue';
|
|
3
|
-
import { McSvgIcon } from '@/components';
|
|
4
|
-
import { DrawerPositions } from '@/enums/Drawer';
|
|
5
|
-
const { defineProps, defineSlots, defineEmits, defineExpose, defineModel, defineOptions, withDefaults, } = await import('vue');
|
|
6
|
-
const emit = defineEmits();
|
|
7
|
-
const props = defineProps({
|
|
8
|
-
modelValue: {
|
|
9
|
-
type: Boolean,
|
|
10
|
-
default: false
|
|
11
|
-
},
|
|
12
|
-
duration: {
|
|
13
|
-
type: Number,
|
|
14
|
-
default: 300
|
|
15
|
-
},
|
|
16
|
-
position: {
|
|
17
|
-
type: String,
|
|
18
|
-
default: DrawerPositions.Right
|
|
19
|
-
},
|
|
20
|
-
/**
|
|
21
|
-
* Нужна ли кнопка
|
|
22
|
-
* закрытия в шапке
|
|
23
|
-
*/
|
|
24
|
-
closeVisible: {
|
|
25
|
-
type: Boolean,
|
|
26
|
-
default: true
|
|
27
|
-
},
|
|
28
|
-
showOverlay: {
|
|
29
|
-
type: Boolean,
|
|
30
|
-
default: true
|
|
31
|
-
},
|
|
32
|
-
/**
|
|
33
|
-
* Тип иконки
|
|
34
|
-
* закрытия в шапке
|
|
35
|
-
*/
|
|
36
|
-
iconClose: {
|
|
37
|
-
type: String,
|
|
38
|
-
default: 'close'
|
|
39
|
-
},
|
|
40
|
-
width: {
|
|
41
|
-
type: Number,
|
|
42
|
-
default: 300
|
|
43
|
-
}
|
|
44
|
-
});
|
|
45
|
-
const overlayStartAnimationPosition = ref(0);
|
|
46
|
-
const overlayEndAnimationPosition = ref(100);
|
|
47
|
-
const isRightDrawerPosition = computed(() => {
|
|
48
|
-
return props.position === DrawerPositions.Right;
|
|
49
|
-
});
|
|
50
|
-
const drawerStartAnimationPosition = computed(() => {
|
|
51
|
-
return isRightDrawerPosition.value ? 100 : -100;
|
|
52
|
-
});
|
|
53
|
-
const drawerStartStaticPosition = computed(() => {
|
|
54
|
-
return {
|
|
55
|
-
[isRightDrawerPosition.value ? DrawerPositions.Right : DrawerPositions.Left]: 0
|
|
56
|
-
};
|
|
57
|
-
});
|
|
58
|
-
const overlayStateNumber = ref(overlayStartAnimationPosition.value);
|
|
59
|
-
const drawerStateNumber = ref(drawerStartAnimationPosition.value);
|
|
60
|
-
const drawerNumber = useTransition(drawerStateNumber, {
|
|
61
|
-
duration: props.duration,
|
|
62
|
-
transition: TransitionPresets.easeOutQuart
|
|
63
|
-
});
|
|
64
|
-
const drawerOverlayNumber = useTransition(overlayStateNumber, {
|
|
65
|
-
duration: props.duration,
|
|
66
|
-
transition: TransitionPresets.easeOutQuart
|
|
67
|
-
});
|
|
68
|
-
const overlayStyle = computed(() => {
|
|
69
|
-
return {
|
|
70
|
-
visibility: drawerOverlayNumber.value ? 'visible' : 'hidden',
|
|
71
|
-
zIndex: drawerOverlayNumber.value ? 1 : -1
|
|
72
|
-
};
|
|
73
|
-
});
|
|
74
|
-
const drawerStyle = computed(() => {
|
|
75
|
-
return {
|
|
76
|
-
transform: `translateX(${drawerNumber.value}%)`,
|
|
77
|
-
width: `${props.width}px`,
|
|
78
|
-
[props.position]: 0,
|
|
79
|
-
...drawerStartStaticPosition.value
|
|
80
|
-
};
|
|
81
|
-
});
|
|
82
|
-
const overlayClasses = computed(() => {
|
|
83
|
-
return {
|
|
84
|
-
'mc-drawer__overlay': true,
|
|
85
|
-
'mc-drawer__overlay--hidden': !props.showOverlay
|
|
86
|
-
};
|
|
87
|
-
});
|
|
88
|
-
const openDrawer = () => {
|
|
89
|
-
overlayStateNumber.value = overlayEndAnimationPosition.value;
|
|
90
|
-
drawerStateNumber.value = overlayStateNumber.value === 0 ? 100 : 0;
|
|
91
|
-
if (!props.modelValue) {
|
|
92
|
-
emit('update:modelValue', true);
|
|
93
|
-
emit('open');
|
|
94
|
-
}
|
|
95
|
-
};
|
|
96
|
-
const closeDrawer = () => {
|
|
97
|
-
overlayStateNumber.value = overlayStartAnimationPosition.value;
|
|
98
|
-
drawerStateNumber.value = overlayStateNumber.value === 0 ? (isRightDrawerPosition.value ? 100 : -100) : 0;
|
|
99
|
-
if (props.modelValue) {
|
|
100
|
-
emit('update:modelValue', false);
|
|
101
|
-
emit('close');
|
|
102
|
-
}
|
|
103
|
-
};
|
|
104
|
-
const handleOverlayClick = () => {
|
|
105
|
-
if (!props.showOverlay)
|
|
106
|
-
return;
|
|
107
|
-
closeDrawer();
|
|
108
|
-
};
|
|
109
|
-
watch(() => props.modelValue, (value) => {
|
|
110
|
-
value ? openDrawer() : closeDrawer();
|
|
111
|
-
}, { immediate: true }); /* PartiallyEnd: #3632/scriptSetup.vue */
|
|
112
|
-
const __VLS_fnComponent = (await import('vue')).defineComponent({
|
|
113
|
-
props: {
|
|
114
|
-
modelValue: {
|
|
115
|
-
type: Boolean,
|
|
116
|
-
default: false
|
|
117
|
-
},
|
|
118
|
-
duration: {
|
|
119
|
-
type: Number,
|
|
120
|
-
default: 300
|
|
121
|
-
},
|
|
122
|
-
position: {
|
|
123
|
-
type: String,
|
|
124
|
-
default: DrawerPositions.Right
|
|
125
|
-
},
|
|
126
|
-
/**
|
|
127
|
-
* Нужна ли кнопка
|
|
128
|
-
* закрытия в шапке
|
|
129
|
-
*/
|
|
130
|
-
closeVisible: {
|
|
131
|
-
type: Boolean,
|
|
132
|
-
default: true
|
|
133
|
-
},
|
|
134
|
-
showOverlay: {
|
|
135
|
-
type: Boolean,
|
|
136
|
-
default: true
|
|
137
|
-
},
|
|
138
|
-
/**
|
|
139
|
-
* Тип иконки
|
|
140
|
-
* закрытия в шапке
|
|
141
|
-
*/
|
|
142
|
-
iconClose: {
|
|
143
|
-
type: String,
|
|
144
|
-
default: 'close'
|
|
145
|
-
},
|
|
146
|
-
width: {
|
|
147
|
-
type: Number,
|
|
148
|
-
default: 300
|
|
149
|
-
}
|
|
150
|
-
},
|
|
151
|
-
__typeEmits: {},
|
|
152
|
-
});
|
|
153
|
-
;
|
|
154
|
-
let __VLS_functionalComponentProps;
|
|
155
|
-
function __VLS_template() {
|
|
156
|
-
const __VLS_ctx = {};
|
|
157
|
-
const __VLS_localComponents = {
|
|
158
|
-
...{},
|
|
159
|
-
...{},
|
|
160
|
-
...__VLS_ctx,
|
|
161
|
-
};
|
|
162
|
-
let __VLS_components;
|
|
163
|
-
const __VLS_localDirectives = {
|
|
164
|
-
...{},
|
|
165
|
-
...__VLS_ctx,
|
|
166
|
-
};
|
|
167
|
-
let __VLS_directives;
|
|
168
|
-
let __VLS_styleScopedClasses;
|
|
169
|
-
// CSS variable injection
|
|
170
|
-
// CSS variable injection end
|
|
171
|
-
let __VLS_resolvedLocalAndGlobalComponents;
|
|
172
|
-
__VLS_elementAsFunction(__VLS_intrinsicElements.div, __VLS_intrinsicElements.div)({ ...{ class: ("mc-drawer__wrapper") }, ...{ style: ((__VLS_ctx.overlayStyle)) }, });
|
|
173
|
-
__VLS_elementAsFunction(__VLS_intrinsicElements.div)({ ...{ onClick: (__VLS_ctx.handleOverlayClick) }, ...{ class: ((__VLS_ctx.overlayClasses)) }, ...{ style: ((__VLS_ctx.overlayStyle)) }, });
|
|
174
|
-
__VLS_elementAsFunction(__VLS_intrinsicElements.div, __VLS_intrinsicElements.div)({ ...{ onClick: () => { } }, ...{ class: ("mc-drawer") }, ...{ style: ((__VLS_ctx.drawerStyle)) }, });
|
|
175
|
-
var __VLS_0 = {};
|
|
176
|
-
if (__VLS_ctx.closeVisible) {
|
|
177
|
-
__VLS_elementAsFunction(__VLS_intrinsicElements.button, __VLS_intrinsicElements.button)({ ...{ onClick: (__VLS_ctx.closeDrawer) }, type: ("button"), ...{ class: ("mc-drawer__btn-close") }, });
|
|
178
|
-
const __VLS_1 = __VLS_resolvedLocalAndGlobalComponents.McSvgIcon;
|
|
179
|
-
/** @type { [typeof __VLS_components.McSvgIcon, typeof __VLS_components.mcSvgIcon, ] } */
|
|
180
|
-
// @ts-ignore
|
|
181
|
-
const __VLS_2 = __VLS_asFunctionalComponent(__VLS_1, new __VLS_1({ ...{ class: ("mc-drawer__icon-close") }, name: ((__VLS_ctx.iconClose)), }));
|
|
182
|
-
const __VLS_3 = __VLS_2({ ...{ class: ("mc-drawer__icon-close") }, name: ((__VLS_ctx.iconClose)), }, ...__VLS_functionalComponentArgsRest(__VLS_2));
|
|
183
|
-
const __VLS_7 = __VLS_resolvedLocalAndGlobalComponents.McSvgIcon;
|
|
184
|
-
/** @type { [typeof __VLS_components.McSvgIcon, typeof __VLS_components.mcSvgIcon, ] } */
|
|
185
|
-
// @ts-ignore
|
|
186
|
-
const __VLS_8 = __VLS_asFunctionalComponent(__VLS_7, new __VLS_7({ ...{ class: ("mc-drawer__icon-close--small") }, name: ((__VLS_ctx.iconClose)), size: ("200"), }));
|
|
187
|
-
const __VLS_9 = __VLS_8({ ...{ class: ("mc-drawer__icon-close--small") }, name: ((__VLS_ctx.iconClose)), size: ("200"), }, ...__VLS_functionalComponentArgsRest(__VLS_8));
|
|
188
|
-
}
|
|
189
|
-
__VLS_styleScopedClasses['mc-drawer__wrapper'];
|
|
190
|
-
__VLS_styleScopedClasses['mc-drawer'];
|
|
191
|
-
__VLS_styleScopedClasses['mc-drawer__btn-close'];
|
|
192
|
-
__VLS_styleScopedClasses['mc-drawer__icon-close'];
|
|
193
|
-
__VLS_styleScopedClasses['mc-drawer__icon-close--small'];
|
|
194
|
-
var __VLS_slots;
|
|
195
|
-
var __VLS_inheritedAttrs;
|
|
196
|
-
const __VLS_refs = {};
|
|
197
|
-
var $refs;
|
|
198
|
-
var $el;
|
|
199
|
-
return {
|
|
200
|
-
attrs: {},
|
|
201
|
-
slots: __VLS_slots,
|
|
202
|
-
refs: $refs,
|
|
203
|
-
rootEl: $el,
|
|
204
|
-
};
|
|
205
|
-
}
|
|
206
|
-
;
|
|
207
|
-
const __VLS_self = (await import('vue')).defineComponent({
|
|
208
|
-
setup() {
|
|
209
|
-
return {
|
|
210
|
-
McSvgIcon: McSvgIcon,
|
|
211
|
-
overlayStyle: overlayStyle,
|
|
212
|
-
drawerStyle: drawerStyle,
|
|
213
|
-
overlayClasses: overlayClasses,
|
|
214
|
-
closeDrawer: closeDrawer,
|
|
215
|
-
handleOverlayClick: handleOverlayClick,
|
|
216
|
-
};
|
|
217
|
-
},
|
|
218
|
-
__typeEmits: {},
|
|
219
|
-
props: {
|
|
220
|
-
modelValue: {
|
|
221
|
-
type: Boolean,
|
|
222
|
-
default: false
|
|
223
|
-
},
|
|
224
|
-
duration: {
|
|
225
|
-
type: Number,
|
|
226
|
-
default: 300
|
|
227
|
-
},
|
|
228
|
-
position: {
|
|
229
|
-
type: String,
|
|
230
|
-
default: DrawerPositions.Right
|
|
231
|
-
},
|
|
232
|
-
/**
|
|
233
|
-
* Нужна ли кнопка
|
|
234
|
-
* закрытия в шапке
|
|
235
|
-
*/
|
|
236
|
-
closeVisible: {
|
|
237
|
-
type: Boolean,
|
|
238
|
-
default: true
|
|
239
|
-
},
|
|
240
|
-
showOverlay: {
|
|
241
|
-
type: Boolean,
|
|
242
|
-
default: true
|
|
243
|
-
},
|
|
244
|
-
/**
|
|
245
|
-
* Тип иконки
|
|
246
|
-
* закрытия в шапке
|
|
247
|
-
*/
|
|
248
|
-
iconClose: {
|
|
249
|
-
type: String,
|
|
250
|
-
default: 'close'
|
|
251
|
-
},
|
|
252
|
-
width: {
|
|
253
|
-
type: Number,
|
|
254
|
-
default: 300
|
|
255
|
-
}
|
|
256
|
-
},
|
|
257
|
-
});
|
|
258
|
-
const __VLS_component = (await import('vue')).defineComponent({
|
|
259
|
-
setup() {
|
|
260
|
-
return {};
|
|
261
|
-
},
|
|
262
|
-
__typeEmits: {},
|
|
263
|
-
props: {
|
|
264
|
-
modelValue: {
|
|
265
|
-
type: Boolean,
|
|
266
|
-
default: false
|
|
267
|
-
},
|
|
268
|
-
duration: {
|
|
269
|
-
type: Number,
|
|
270
|
-
default: 300
|
|
271
|
-
},
|
|
272
|
-
position: {
|
|
273
|
-
type: String,
|
|
274
|
-
default: DrawerPositions.Right
|
|
275
|
-
},
|
|
276
|
-
/**
|
|
277
|
-
* Нужна ли кнопка
|
|
278
|
-
* закрытия в шапке
|
|
279
|
-
*/
|
|
280
|
-
closeVisible: {
|
|
281
|
-
type: Boolean,
|
|
282
|
-
default: true
|
|
283
|
-
},
|
|
284
|
-
showOverlay: {
|
|
285
|
-
type: Boolean,
|
|
286
|
-
default: true
|
|
287
|
-
},
|
|
288
|
-
/**
|
|
289
|
-
* Тип иконки
|
|
290
|
-
* закрытия в шапке
|
|
291
|
-
*/
|
|
292
|
-
iconClose: {
|
|
293
|
-
type: String,
|
|
294
|
-
default: 'close'
|
|
295
|
-
},
|
|
296
|
-
width: {
|
|
297
|
-
type: Number,
|
|
298
|
-
default: 300
|
|
299
|
-
}
|
|
300
|
-
},
|
|
301
|
-
__typeEl: {},
|
|
302
|
-
});
|
|
303
|
-
export default {};
|
|
304
|
-
; /* PartiallyEnd: #4569/main.vue */
|
|
@@ -1,133 +0,0 @@
|
|
|
1
|
-
import { computed } from 'vue';
|
|
2
|
-
import { McDrawer } from '@/components';
|
|
3
|
-
const { defineProps, defineSlots, defineEmits, defineExpose, defineModel, defineOptions, withDefaults, } = await import('vue');
|
|
4
|
-
const props = defineProps({
|
|
5
|
-
drawerServiceState: {
|
|
6
|
-
type: Object,
|
|
7
|
-
default: () => ({})
|
|
8
|
-
},
|
|
9
|
-
reactiveProps: {
|
|
10
|
-
type: Object,
|
|
11
|
-
default: () => ({})
|
|
12
|
-
}
|
|
13
|
-
});
|
|
14
|
-
const containerStyle = computed(() => ({
|
|
15
|
-
zIndex: props.reactiveProps.drawers.length ? 99 : -1,
|
|
16
|
-
visibility: props.reactiveProps.drawers.length ? 'visible' : 'hidden'
|
|
17
|
-
}));
|
|
18
|
-
const closeDrawer = (value) => {
|
|
19
|
-
value.close();
|
|
20
|
-
setTimeout(() => {
|
|
21
|
-
if (props.reactiveProps.drawers.every((d) => !d.modelValue)) {
|
|
22
|
-
props.drawerServiceState.closeServiceState();
|
|
23
|
-
}
|
|
24
|
-
}, value?.drawerProps?.duration || 300);
|
|
25
|
-
}; /* PartiallyEnd: #3632/scriptSetup.vue */
|
|
26
|
-
const __VLS_fnComponent = (await import('vue')).defineComponent({
|
|
27
|
-
props: {
|
|
28
|
-
drawerServiceState: {
|
|
29
|
-
type: Object,
|
|
30
|
-
default: () => ({})
|
|
31
|
-
},
|
|
32
|
-
reactiveProps: {
|
|
33
|
-
type: Object,
|
|
34
|
-
default: () => ({})
|
|
35
|
-
}
|
|
36
|
-
},
|
|
37
|
-
});
|
|
38
|
-
;
|
|
39
|
-
let __VLS_functionalComponentProps;
|
|
40
|
-
function __VLS_template() {
|
|
41
|
-
const __VLS_ctx = {};
|
|
42
|
-
const __VLS_localComponents = {
|
|
43
|
-
...{},
|
|
44
|
-
...{},
|
|
45
|
-
...__VLS_ctx,
|
|
46
|
-
};
|
|
47
|
-
let __VLS_components;
|
|
48
|
-
const __VLS_localDirectives = {
|
|
49
|
-
...{},
|
|
50
|
-
...__VLS_ctx,
|
|
51
|
-
};
|
|
52
|
-
let __VLS_directives;
|
|
53
|
-
let __VLS_styleScopedClasses;
|
|
54
|
-
// CSS variable injection
|
|
55
|
-
// CSS variable injection end
|
|
56
|
-
let __VLS_resolvedLocalAndGlobalComponents;
|
|
57
|
-
__VLS_elementAsFunction(__VLS_intrinsicElements.div, __VLS_intrinsicElements.div)({ ...{ class: ("mc-drawer-container") }, ...{ style: ((__VLS_ctx.containerStyle)) }, });
|
|
58
|
-
for (const [drawer, i] of __VLS_getVForSourceType((props.reactiveProps.drawers))) {
|
|
59
|
-
const __VLS_0 = __VLS_resolvedLocalAndGlobalComponents.McDrawer;
|
|
60
|
-
/** @type { [typeof __VLS_components.McDrawer, typeof __VLS_components.mcDrawer, typeof __VLS_components.McDrawer, typeof __VLS_components.mcDrawer, ] } */
|
|
61
|
-
// @ts-ignore
|
|
62
|
-
const __VLS_1 = __VLS_asFunctionalComponent(__VLS_0, new __VLS_0({ ...{ 'onClose': {} }, key: ((drawer.id)), modelValue: ((drawer.modelValue)), ...(drawer.drawerProps), showOverlay: ((i + 1 === props.reactiveProps.drawers.length)), }));
|
|
63
|
-
const __VLS_2 = __VLS_1({ ...{ 'onClose': {} }, key: ((drawer.id)), modelValue: ((drawer.modelValue)), ...(drawer.drawerProps), showOverlay: ((i + 1 === props.reactiveProps.drawers.length)), }, ...__VLS_functionalComponentArgsRest(__VLS_1));
|
|
64
|
-
let __VLS_6;
|
|
65
|
-
const __VLS_7 = {
|
|
66
|
-
onClose: (() => __VLS_ctx.closeDrawer(drawer))
|
|
67
|
-
};
|
|
68
|
-
let __VLS_3;
|
|
69
|
-
let __VLS_4;
|
|
70
|
-
const __VLS_8 = ((drawer.component));
|
|
71
|
-
// @ts-ignore
|
|
72
|
-
const __VLS_9 = __VLS_asFunctionalComponent(__VLS_8, new __VLS_8({ ...{ 'onCloseDrawer': {} }, ...(drawer.componentProps), }));
|
|
73
|
-
const __VLS_10 = __VLS_9({ ...{ 'onCloseDrawer': {} }, ...(drawer.componentProps), }, ...__VLS_functionalComponentArgsRest(__VLS_9));
|
|
74
|
-
let __VLS_14;
|
|
75
|
-
const __VLS_15 = {
|
|
76
|
-
onCloseDrawer: (() => __VLS_ctx.closeDrawer(drawer))
|
|
77
|
-
};
|
|
78
|
-
let __VLS_11;
|
|
79
|
-
let __VLS_12;
|
|
80
|
-
var __VLS_13;
|
|
81
|
-
__VLS_nonNullable(__VLS_5.slots).default;
|
|
82
|
-
var __VLS_5;
|
|
83
|
-
}
|
|
84
|
-
__VLS_styleScopedClasses['mc-drawer-container'];
|
|
85
|
-
var __VLS_slots;
|
|
86
|
-
var __VLS_inheritedAttrs;
|
|
87
|
-
const __VLS_refs = {};
|
|
88
|
-
var $refs;
|
|
89
|
-
var $el;
|
|
90
|
-
return {
|
|
91
|
-
attrs: {},
|
|
92
|
-
slots: __VLS_slots,
|
|
93
|
-
refs: $refs,
|
|
94
|
-
rootEl: $el,
|
|
95
|
-
};
|
|
96
|
-
}
|
|
97
|
-
;
|
|
98
|
-
const __VLS_self = (await import('vue')).defineComponent({
|
|
99
|
-
setup() {
|
|
100
|
-
return {
|
|
101
|
-
McDrawer: McDrawer,
|
|
102
|
-
containerStyle: containerStyle,
|
|
103
|
-
closeDrawer: closeDrawer,
|
|
104
|
-
};
|
|
105
|
-
},
|
|
106
|
-
props: {
|
|
107
|
-
drawerServiceState: {
|
|
108
|
-
type: Object,
|
|
109
|
-
default: () => ({})
|
|
110
|
-
},
|
|
111
|
-
reactiveProps: {
|
|
112
|
-
type: Object,
|
|
113
|
-
default: () => ({})
|
|
114
|
-
}
|
|
115
|
-
},
|
|
116
|
-
});
|
|
117
|
-
export default (await import('vue')).defineComponent({
|
|
118
|
-
setup() {
|
|
119
|
-
return {};
|
|
120
|
-
},
|
|
121
|
-
props: {
|
|
122
|
-
drawerServiceState: {
|
|
123
|
-
type: Object,
|
|
124
|
-
default: () => ({})
|
|
125
|
-
},
|
|
126
|
-
reactiveProps: {
|
|
127
|
-
type: Object,
|
|
128
|
-
default: () => ({})
|
|
129
|
-
}
|
|
130
|
-
},
|
|
131
|
-
__typeEl: {},
|
|
132
|
-
});
|
|
133
|
-
; /* PartiallyEnd: #4569/main.vue */
|
|
@@ -1,134 +0,0 @@
|
|
|
1
|
-
import { TitleVariations } from '@/enums/Title';
|
|
2
|
-
import { Weights } from '@/enums/ui/Weights';
|
|
3
|
-
import { McTitle } from '@/components';
|
|
4
|
-
const { defineProps, defineSlots, defineEmits, defineExpose, defineModel, defineOptions, withDefaults, } = await import('vue');
|
|
5
|
-
const props = defineProps({
|
|
6
|
-
/**
|
|
7
|
-
* Заголовок
|
|
8
|
-
*/
|
|
9
|
-
title: {
|
|
10
|
-
type: String,
|
|
11
|
-
default: ''
|
|
12
|
-
},
|
|
13
|
-
titleEllipsis: {
|
|
14
|
-
type: Boolean,
|
|
15
|
-
default: false
|
|
16
|
-
}
|
|
17
|
-
}); /* PartiallyEnd: #3632/scriptSetup.vue */
|
|
18
|
-
const __VLS_fnComponent = (await import('vue')).defineComponent({
|
|
19
|
-
props: {
|
|
20
|
-
/**
|
|
21
|
-
* Заголовок
|
|
22
|
-
*/
|
|
23
|
-
title: {
|
|
24
|
-
type: String,
|
|
25
|
-
default: ''
|
|
26
|
-
},
|
|
27
|
-
titleEllipsis: {
|
|
28
|
-
type: Boolean,
|
|
29
|
-
default: false
|
|
30
|
-
}
|
|
31
|
-
},
|
|
32
|
-
});
|
|
33
|
-
;
|
|
34
|
-
let __VLS_functionalComponentProps;
|
|
35
|
-
function __VLS_template() {
|
|
36
|
-
const __VLS_ctx = {};
|
|
37
|
-
const __VLS_localComponents = {
|
|
38
|
-
...{},
|
|
39
|
-
...{},
|
|
40
|
-
...__VLS_ctx,
|
|
41
|
-
};
|
|
42
|
-
let __VLS_components;
|
|
43
|
-
const __VLS_localDirectives = {
|
|
44
|
-
...{},
|
|
45
|
-
...__VLS_ctx,
|
|
46
|
-
};
|
|
47
|
-
let __VLS_directives;
|
|
48
|
-
let __VLS_styleScopedClasses;
|
|
49
|
-
// CSS variable injection
|
|
50
|
-
// CSS variable injection end
|
|
51
|
-
let __VLS_resolvedLocalAndGlobalComponents;
|
|
52
|
-
__VLS_elementAsFunction(__VLS_intrinsicElements.div, __VLS_intrinsicElements.div)({ ...{ class: ("mc-drawer-content-template") }, });
|
|
53
|
-
if (__VLS_ctx.$slots.title || props.title) {
|
|
54
|
-
__VLS_elementAsFunction(__VLS_intrinsicElements.div, __VLS_intrinsicElements.div)({ ...{ class: ("mc-drawer-content-template__header") }, });
|
|
55
|
-
var __VLS_0 = {};
|
|
56
|
-
const __VLS_1 = __VLS_resolvedLocalAndGlobalComponents.McTitle;
|
|
57
|
-
/** @type { [typeof __VLS_components.McTitle, typeof __VLS_components.mcTitle, typeof __VLS_components.McTitle, typeof __VLS_components.mcTitle, ] } */
|
|
58
|
-
// @ts-ignore
|
|
59
|
-
const __VLS_2 = __VLS_asFunctionalComponent(__VLS_1, new __VLS_1({ variation: ((__VLS_ctx.TitleVariations.Subtitle)), ellipsis: ((props.titleEllipsis)), weight: ((__VLS_ctx.Weights.SemiBold)), }));
|
|
60
|
-
const __VLS_3 = __VLS_2({ variation: ((__VLS_ctx.TitleVariations.Subtitle)), ellipsis: ((props.titleEllipsis)), weight: ((__VLS_ctx.Weights.SemiBold)), }, ...__VLS_functionalComponentArgsRest(__VLS_2));
|
|
61
|
-
(props.title);
|
|
62
|
-
__VLS_nonNullable(__VLS_6.slots).default;
|
|
63
|
-
var __VLS_6;
|
|
64
|
-
}
|
|
65
|
-
__VLS_elementAsFunction(__VLS_intrinsicElements.div, __VLS_intrinsicElements.div)({ ...{ class: ("mc-drawer-content-template__body") }, });
|
|
66
|
-
__VLS_elementAsFunction(__VLS_intrinsicElements.div, __VLS_intrinsicElements.div)({ ...{ class: ("mc-drawer-content-template__tint") }, });
|
|
67
|
-
__VLS_elementAsFunction(__VLS_intrinsicElements.div, __VLS_intrinsicElements.div)({ ...{ class: ("mc-drawer-content-template__body-inner") }, });
|
|
68
|
-
var __VLS_7 = {};
|
|
69
|
-
if (__VLS_ctx.$slots.footer) {
|
|
70
|
-
__VLS_elementAsFunction(__VLS_intrinsicElements.div, __VLS_intrinsicElements.div)({ ...{ class: ("mc-drawer-content-template__footer") }, });
|
|
71
|
-
var __VLS_8 = {};
|
|
72
|
-
}
|
|
73
|
-
__VLS_styleScopedClasses['mc-drawer-content-template'];
|
|
74
|
-
__VLS_styleScopedClasses['mc-drawer-content-template__header'];
|
|
75
|
-
__VLS_styleScopedClasses['mc-drawer-content-template__body'];
|
|
76
|
-
__VLS_styleScopedClasses['mc-drawer-content-template__tint'];
|
|
77
|
-
__VLS_styleScopedClasses['mc-drawer-content-template__body-inner'];
|
|
78
|
-
__VLS_styleScopedClasses['mc-drawer-content-template__footer'];
|
|
79
|
-
var __VLS_slots;
|
|
80
|
-
var __VLS_inheritedAttrs;
|
|
81
|
-
const __VLS_refs = {};
|
|
82
|
-
var $refs;
|
|
83
|
-
var $el;
|
|
84
|
-
return {
|
|
85
|
-
attrs: {},
|
|
86
|
-
slots: __VLS_slots,
|
|
87
|
-
refs: $refs,
|
|
88
|
-
rootEl: $el,
|
|
89
|
-
};
|
|
90
|
-
}
|
|
91
|
-
;
|
|
92
|
-
const __VLS_self = (await import('vue')).defineComponent({
|
|
93
|
-
setup() {
|
|
94
|
-
return {
|
|
95
|
-
TitleVariations: TitleVariations,
|
|
96
|
-
Weights: Weights,
|
|
97
|
-
McTitle: McTitle,
|
|
98
|
-
};
|
|
99
|
-
},
|
|
100
|
-
props: {
|
|
101
|
-
/**
|
|
102
|
-
* Заголовок
|
|
103
|
-
*/
|
|
104
|
-
title: {
|
|
105
|
-
type: String,
|
|
106
|
-
default: ''
|
|
107
|
-
},
|
|
108
|
-
titleEllipsis: {
|
|
109
|
-
type: Boolean,
|
|
110
|
-
default: false
|
|
111
|
-
}
|
|
112
|
-
},
|
|
113
|
-
});
|
|
114
|
-
const __VLS_component = (await import('vue')).defineComponent({
|
|
115
|
-
setup() {
|
|
116
|
-
return {};
|
|
117
|
-
},
|
|
118
|
-
props: {
|
|
119
|
-
/**
|
|
120
|
-
* Заголовок
|
|
121
|
-
*/
|
|
122
|
-
title: {
|
|
123
|
-
type: String,
|
|
124
|
-
default: ''
|
|
125
|
-
},
|
|
126
|
-
titleEllipsis: {
|
|
127
|
-
type: Boolean,
|
|
128
|
-
default: false
|
|
129
|
-
}
|
|
130
|
-
},
|
|
131
|
-
__typeEl: {},
|
|
132
|
-
});
|
|
133
|
-
export default {};
|
|
134
|
-
; /* PartiallyEnd: #4569/main.vue */
|