@dxtmisha/constructor 0.39.7 → 0.52.1
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/ai-types.txt +4901 -284
- package/dist/ActionsInclude-BzyGXlK7.js +23 -0
- package/dist/AriaStaticInclude-CS1hPGyK.js +89 -0
- package/dist/ArrowInclude-BM_RP5vO.js +14 -0
- package/dist/BadgeInclude-DISlNqBJ.js +17 -0
- package/dist/BarsInclude-rBLacb0J.js +35 -0
- package/dist/BlockDesign-DkbPo-Ey.js +106 -0
- package/dist/ButtonDesign-DTihOCBe.js +87 -0
- package/dist/ButtonInclude-Bq7DNI-R.js +23 -0
- package/dist/CaptionInclude-CunHUsec.js +41 -0
- package/dist/DescriptionInclude-B_Xf_j3l.js +36 -0
- package/dist/EnabledInclude-CkD_lxMY.js +11 -0
- package/dist/EventClickInclude-6I8kuFc9.js +63 -0
- package/dist/FieldCounterInclude-l1o0Bm7V.js +22 -0
- package/dist/FieldEventInclude-DLX__9aJ.js +257 -0
- package/dist/FieldInclude-DCvNorOt.js +87 -0
- package/dist/FieldInputCheckInclude-czZ02ymY.js +170 -0
- package/dist/FieldLabelInclude-BA5H3kib.js +27 -0
- package/dist/FieldMatchInclude-CA716pa4.js +100 -0
- package/dist/FieldMessageInclude-6cxMqgIx.js +27 -0
- package/dist/HorizontalScrollInclude-BN6p9jjq.js +30 -0
- package/dist/IconInclude-BhzGfa3o.js +44 -0
- package/dist/IconTrailingInclude-BwoB_AQn.js +23 -0
- package/dist/ImageInclude-CP-Q4R20.js +18 -0
- package/dist/LabelHighlightInclude-DC9qNAR-.js +30 -0
- package/dist/LabelInclude-DoZ7EUYO.js +56 -0
- package/dist/LabelNumberInclude-VVGMvwYq.js +15 -0
- package/dist/ListGroupOpen-C6J8d4SM.js +12 -0
- package/dist/MaskInclude-DuE6XcDZ.js +48 -0
- package/dist/MenuInclude-BT27rmFW.js +48 -0
- package/dist/ModalDesignAbstract-BaVdtb1N.js +63 -0
- package/dist/ModelInclude-D8LkrhPp.js +32 -0
- package/dist/ModelValueInclude-CQDkIoal.js +20 -0
- package/dist/MotionAxisInclude-DO4t3_lZ.js +18 -0
- package/dist/MotionTransformClassesInclude-BN-T4YKS.js +91 -0
- package/dist/MotionTransformInclude-CFVVig1F.js +52 -0
- package/dist/Plugin-cWn0HZcf.js +205 -0
- package/dist/ProgressInclude-BnPBYwJg.js +15 -0
- package/dist/RippleInclude-BlC1h0Ya.js +10 -0
- package/dist/ScrollToXInclude-yt1sAUrP.js +15 -0
- package/dist/ScrollbarInclude-B4_ZIqkW.js +55 -0
- package/dist/SkeletonInclude-D8on8xmw.js +39 -0
- package/dist/SuffixInclude-VNq8SwAI.js +67 -0
- package/dist/TabIndexInclude-DLSfl7-6.js +88 -0
- package/dist/TabsNavigationInclude-DU9Nb7hG.js +17 -0
- package/dist/TextInclude-OwyVCAbS.js +90 -0
- package/dist/TooltipInclude-3iLdbNcH.js +27 -0
- package/dist/TouchEventInclude-By_ChOIe.js +84 -0
- package/dist/WindowClassesInclude-zm-ITw5d.js +89 -0
- package/dist/WindowEsc-vBFI8pVr.js +28 -0
- package/dist/WindowInclude-GF4aSfrJ.js +66 -0
- package/dist/accordion.js +76 -193
- package/dist/actionSheet.js +61 -137
- package/dist/actions.js +59 -192
- package/dist/anchor.js +134 -360
- package/dist/arrow.js +279 -664
- package/dist/badge.js +47 -140
- package/dist/bars.js +120 -365
- package/dist/block.js +2 -10
- package/dist/button.js +3 -62
- package/dist/cell.js +117 -281
- package/dist/checkbox.js +112 -0
- package/dist/chip.js +24 -81
- package/dist/chipGroup.js +48 -163
- package/dist/classes/CaptionInclude.d.ts +4 -4
- package/dist/classes/EventClickInclude.d.ts +17 -1
- package/dist/classes/Field/FieldAttributesInclude.d.ts +2 -0
- package/dist/classes/Field/FieldEventInclude.d.ts +6 -6
- package/dist/classes/Plugin/PluginCode.d.ts +0 -8
- package/dist/classes/ScrollToXInclude.d.ts +35 -0
- package/dist/constructors/Accordion/Accordion.d.ts +9 -1
- package/dist/constructors/Accordion/props.d.ts +6 -6
- package/dist/constructors/Accordion/types.d.ts +3 -4
- package/dist/constructors/ActionSheet/ActionSheet.d.ts +19 -2
- package/dist/constructors/ActionSheet/props.d.ts +2 -0
- package/dist/constructors/Actions/Actions.d.ts +5 -2
- package/dist/constructors/Actions/basicTypes.d.ts +3 -0
- package/dist/constructors/Actions/props.d.ts +4 -0
- package/dist/constructors/Actions/types.d.ts +2 -0
- package/dist/constructors/Anchor/Anchor.d.ts +17 -8
- package/dist/constructors/Anchor/basicTypes.d.ts +4 -0
- package/dist/constructors/Anchor/index.d.ts +4 -0
- package/dist/constructors/Anchor/props.d.ts +10 -0
- package/dist/constructors/Anchor/types.d.ts +1 -0
- package/dist/constructors/Arrow/Arrow.d.ts +13 -6
- package/dist/constructors/Arrow/basicTypes.d.ts +9 -0
- package/dist/constructors/Arrow/index.d.ts +5 -0
- package/dist/constructors/Arrow/props.d.ts +3 -0
- package/dist/constructors/Arrow/types.d.ts +1 -0
- package/dist/constructors/Badge/Badge.d.ts +7 -3
- package/dist/constructors/Badge/basicTypes.d.ts +11 -0
- package/dist/constructors/Badge/index.d.ts +1 -0
- package/dist/constructors/Badge/props.d.ts +1 -0
- package/dist/constructors/Bars/Bars.d.ts +21 -10
- package/dist/constructors/Bars/basicTypes.d.ts +4 -0
- package/dist/constructors/Bars/index.d.ts +1 -0
- package/dist/constructors/Bars/props.d.ts +14 -0
- package/dist/constructors/Bars/types.d.ts +4 -0
- package/dist/constructors/Block/Block.d.ts +11 -5
- package/dist/constructors/Block/props.d.ts +3 -0
- package/dist/constructors/Button/Button.d.ts +17 -8
- package/dist/constructors/Button/ButtonInclude.d.ts +6 -4
- package/dist/constructors/Button/basicTypes.d.ts +17 -0
- package/dist/constructors/Button/props.d.ts +2 -0
- package/dist/constructors/Button/types.d.ts +2 -2
- package/dist/constructors/Cell/Cell.d.ts +21 -10
- package/dist/constructors/Cell/CellDesign.d.ts +7 -5
- package/dist/constructors/Cell/basicTypes.d.ts +3 -1
- package/dist/constructors/Cell/props.d.ts +4 -0
- package/dist/constructors/Cell/types.d.ts +4 -2
- package/dist/constructors/Checkbox/Checkbox.d.ts +90 -0
- package/dist/constructors/Checkbox/CheckboxDesign.d.ts +73 -0
- package/dist/constructors/Checkbox/CheckboxIcon.d.ts +33 -0
- package/dist/constructors/Checkbox/basicTypes.d.ts +1 -0
- package/dist/constructors/Checkbox/index.d.ts +6 -0
- package/dist/constructors/Checkbox/props.d.ts +44 -0
- package/dist/constructors/Checkbox/types.d.ts +49 -0
- package/dist/constructors/Chip/basicTypes.d.ts +10 -0
- package/dist/constructors/ChipGroup/ChipGroup.d.ts +9 -4
- package/dist/constructors/ChipGroup/basicTypes.d.ts +3 -0
- package/dist/constructors/ChipGroup/props.d.ts +10 -0
- package/dist/constructors/ChipGroup/types.d.ts +1 -0
- package/dist/constructors/Dialog/Dialog.d.ts +31 -3
- package/dist/constructors/Dialog/props.d.ts +11 -0
- package/dist/constructors/Dialog/types.d.ts +2 -0
- package/dist/constructors/Dummy/Dummy.d.ts +29 -0
- package/dist/constructors/Dummy/DummyDesign.d.ts +43 -0
- package/dist/constructors/Dummy/basicTypes.d.ts +1 -0
- package/dist/constructors/Dummy/index.d.ts +5 -0
- package/dist/constructors/Dummy/props.d.ts +15 -0
- package/dist/constructors/Dummy/types.d.ts +37 -0
- package/dist/constructors/Field/Field.d.ts +29 -14
- package/dist/constructors/Field/FieldSize.d.ts +2 -1
- package/dist/constructors/Field/basicTypes.d.ts +15 -2
- package/dist/constructors/Field/index.d.ts +3 -0
- package/dist/constructors/Field/props.d.ts +12 -0
- package/dist/constructors/Field/types.d.ts +3 -0
- package/dist/constructors/FieldCounter/FieldCounter.d.ts +5 -2
- package/dist/constructors/FieldCounter/basicTypes.d.ts +8 -1
- package/dist/constructors/FieldCounter/props.d.ts +6 -0
- package/dist/constructors/FieldLabel/FieldLabel.d.ts +11 -5
- package/dist/constructors/FieldLabel/basicTypes.d.ts +4 -1
- package/dist/constructors/FieldLabel/props.d.ts +4 -0
- package/dist/constructors/FieldMessage/FieldMessage.d.ts +9 -4
- package/dist/constructors/FieldMessage/basicTypes.d.ts +12 -1
- package/dist/constructors/FieldMessage/index.d.ts +1 -0
- package/dist/constructors/FieldMessage/props.d.ts +9 -0
- package/dist/constructors/Grid/Grid.d.ts +29 -0
- package/dist/constructors/Grid/GridDesign.d.ts +43 -0
- package/dist/constructors/Grid/basicTypes.d.ts +1 -0
- package/dist/constructors/Grid/index.d.ts +5 -0
- package/dist/constructors/Grid/props.d.ts +15 -0
- package/dist/constructors/Grid/types.d.ts +37 -0
- package/dist/constructors/GridItem/GridItem.d.ts +29 -0
- package/dist/constructors/GridItem/GridItemDesign.d.ts +43 -0
- package/dist/constructors/GridItem/basicTypes.d.ts +1 -0
- package/dist/constructors/GridItem/index.d.ts +5 -0
- package/dist/constructors/GridItem/props.d.ts +19 -0
- package/dist/constructors/GridItem/types.d.ts +37 -0
- package/dist/constructors/Group/Group.d.ts +6 -0
- package/dist/constructors/Group/GroupDesign.d.ts +18 -0
- package/dist/constructors/Group/basicTypes.d.ts +1 -0
- package/dist/constructors/Group/index.d.ts +5 -0
- package/dist/constructors/Group/props.d.ts +20 -0
- package/dist/constructors/Group/types.d.ts +44 -0
- package/dist/constructors/HorizontalScroll/HorizontalScroll.d.ts +67 -0
- package/dist/constructors/HorizontalScroll/HorizontalScrollDesign.d.ts +43 -0
- package/dist/constructors/HorizontalScroll/HorizontalScrollInclude.d.ts +67 -0
- package/dist/constructors/HorizontalScroll/basicTypes.d.ts +40 -0
- package/dist/constructors/HorizontalScroll/index.d.ts +6 -0
- package/dist/constructors/HorizontalScroll/props.d.ts +29 -0
- package/dist/constructors/HorizontalScroll/types.d.ts +39 -0
- package/dist/constructors/Icon/Icon.d.ts +7 -3
- package/dist/constructors/Icon/basicTypes.d.ts +33 -0
- package/dist/constructors/Icon/index.d.ts +1 -1
- package/dist/constructors/Icon/props.d.ts +5 -0
- package/dist/constructors/Icon/types.d.ts +4 -2
- package/dist/constructors/Image/Image.d.ts +21 -12
- package/dist/constructors/Image/ImageInclude.d.ts +3 -3
- package/dist/constructors/Image/ImageUint8Array.d.ts +47 -0
- package/dist/constructors/Image/basicTypes.d.ts +56 -7
- package/dist/constructors/Image/index.d.ts +15 -1
- package/dist/constructors/Image/types.d.ts +3 -0
- package/dist/constructors/Input/Input.d.ts +37 -18
- package/dist/constructors/Input/basicTypes.d.ts +5 -0
- package/dist/constructors/Input/index.d.ts +1 -0
- package/dist/constructors/List/List.d.ts +21 -12
- package/dist/constructors/List/ListControl.d.ts +12 -0
- package/dist/constructors/List/basicTypes.d.ts +5 -0
- package/dist/constructors/List/index.d.ts +4 -0
- package/dist/constructors/List/props.d.ts +31 -0
- package/dist/constructors/List/types.d.ts +5 -0
- package/dist/constructors/ListGroup/ListGroup.d.ts +5 -2
- package/dist/constructors/ListGroup/basicTypes.d.ts +4 -0
- package/dist/constructors/ListGroup/index.d.ts +1 -0
- package/dist/constructors/ListGroup/props.d.ts +1 -0
- package/dist/constructors/ListGroup/types.d.ts +3 -0
- package/dist/constructors/ListItem/ListItem.d.ts +34 -18
- package/dist/constructors/ListItem/basicTypes.d.ts +5 -0
- package/dist/constructors/ListItem/props.d.ts +13 -0
- package/dist/constructors/ListItem/types.d.ts +5 -2
- package/dist/constructors/ListMenu/ListMenu.d.ts +7 -3
- package/dist/constructors/ListMenu/basicTypes.d.ts +5 -0
- package/dist/constructors/ListMenu/props.d.ts +3 -1
- package/dist/constructors/ListMenu/types.d.ts +2 -0
- package/dist/constructors/Mask/Mask.d.ts +49 -24
- package/dist/constructors/Mask/basicTypes.d.ts +43 -0
- package/dist/constructors/Mask/index.d.ts +24 -0
- package/dist/constructors/Mask/props.d.ts +19 -0
- package/dist/constructors/Mask/types.d.ts +15 -0
- package/dist/constructors/Menu/Menu.d.ts +21 -10
- package/dist/constructors/Menu/MenuInclude.d.ts +1 -0
- package/dist/constructors/Menu/basicTypes.d.ts +15 -0
- package/dist/constructors/Menu/index.d.ts +5 -0
- package/dist/constructors/Menu/props.d.ts +26 -0
- package/dist/constructors/Menu/types.d.ts +2 -0
- package/dist/constructors/Modal/Modal.d.ts +15 -1
- package/dist/constructors/Modal/ModalAbstract.d.ts +9 -1
- package/dist/constructors/Modal/index.d.ts +2 -0
- package/dist/constructors/Modal/props.d.ts +2 -0
- package/dist/constructors/Modal/types.d.ts +1 -0
- package/dist/constructors/MotionAxis/MotionAxis.d.ts +75 -0
- package/dist/constructors/MotionAxis/MotionAxisDesign.d.ts +49 -0
- package/dist/constructors/MotionAxis/MotionAxisElement.d.ts +132 -0
- package/dist/constructors/MotionAxis/MotionAxisGo.d.ts +103 -0
- package/dist/constructors/MotionAxis/MotionAxisInclude.d.ts +49 -0
- package/dist/constructors/MotionAxis/MotionAxisPrevious.d.ts +42 -0
- package/dist/constructors/MotionAxis/MotionAxisSelected.d.ts +31 -0
- package/dist/constructors/MotionAxis/MotionAxisSlides.d.ts +19 -0
- package/dist/constructors/MotionAxis/MotionAxisStatus.d.ts +88 -0
- package/dist/constructors/MotionAxis/MotionAxisStyles.d.ts +38 -0
- package/dist/constructors/MotionAxis/basicTypes.d.ts +42 -0
- package/dist/constructors/MotionAxis/index.d.ts +13 -0
- package/dist/constructors/MotionAxis/props.d.ts +35 -0
- package/dist/constructors/MotionAxis/types.d.ts +64 -0
- package/dist/constructors/MotionTransform/MotionTransform.d.ts +19 -9
- package/dist/constructors/MotionTransform/MotionTransformDesign.d.ts +3 -3
- package/dist/constructors/MotionTransform/basicTypes.d.ts +1 -0
- package/dist/constructors/MotionTransform/index.d.ts +6 -1
- package/dist/constructors/MotionTransform/props.d.ts +18 -12
- package/dist/constructors/MotionTransform/types.d.ts +7 -5
- package/dist/constructors/Progress/Progress.d.ts +5 -1
- package/dist/constructors/Progress/basicTypes.d.ts +4 -0
- package/dist/constructors/Progress/props.d.ts +11 -0
- package/dist/constructors/Ripple/Ripple.d.ts +5 -1
- package/dist/constructors/Ripple/RippleInclude.d.ts +3 -3
- package/dist/constructors/Ripple/basicTypes.d.ts +6 -1
- package/dist/constructors/Ripple/index.d.ts +1 -0
- package/dist/constructors/Ripple/props.d.ts +1 -0
- package/dist/constructors/Scrollbar/Scrollbar.d.ts +7 -3
- package/dist/constructors/Scrollbar/ScrollbarInclude.d.ts +3 -3
- package/dist/constructors/Scrollbar/basicTypes.d.ts +10 -1
- package/dist/constructors/Scrollbar/index.d.ts +2 -0
- package/dist/constructors/Scrollbar/props.d.ts +2 -0
- package/dist/constructors/Scrollbar/types.d.ts +8 -0
- package/dist/constructors/Select/Select.d.ts +25 -12
- package/dist/constructors/Select/index.d.ts +2 -0
- package/dist/constructors/Select/props.d.ts +9 -0
- package/dist/constructors/SelectValue/SelectValue.d.ts +9 -4
- package/dist/constructors/SelectValue/basicTypes.d.ts +3 -0
- package/dist/constructors/SelectValue/props.d.ts +8 -0
- package/dist/constructors/Skeleton/basicTypes.d.ts +13 -0
- package/dist/constructors/Skeleton/index.d.ts +2 -1
- package/dist/constructors/Skeleton/types.d.ts +2 -0
- package/dist/constructors/Snackbar/Snackbar.d.ts +47 -0
- package/dist/constructors/Snackbar/SnackbarData.d.ts +104 -0
- package/dist/constructors/Snackbar/SnackbarDesign.d.ts +63 -0
- package/dist/constructors/Snackbar/SnackbarEvent.d.ts +32 -0
- package/dist/constructors/Snackbar/basicTypes.d.ts +17 -0
- package/dist/constructors/Snackbar/index.d.ts +7 -0
- package/dist/constructors/Snackbar/props.d.ts +27 -0
- package/dist/constructors/Snackbar/types.d.ts +54 -0
- package/dist/constructors/SnackbarItem/SnackbarItem.d.ts +72 -0
- package/dist/constructors/SnackbarItem/SnackbarItemDesign.d.ts +67 -0
- package/dist/constructors/SnackbarItem/basicTypes.d.ts +28 -0
- package/dist/constructors/SnackbarItem/index.d.ts +5 -0
- package/dist/constructors/SnackbarItem/props.d.ts +43 -0
- package/dist/constructors/SnackbarItem/types.d.ts +56 -0
- package/dist/constructors/TabItem/TabItem.d.ts +120 -0
- package/dist/constructors/TabItem/TabItemDesign.d.ts +43 -0
- package/dist/constructors/TabItem/basicTypes.d.ts +8 -0
- package/dist/constructors/TabItem/index.d.ts +5 -0
- package/dist/constructors/TabItem/props.d.ts +40 -0
- package/dist/constructors/TabItem/types.d.ts +44 -0
- package/dist/constructors/Tabs/Tabs.d.ts +50 -0
- package/dist/constructors/Tabs/TabsDesign.d.ts +49 -0
- package/dist/constructors/Tabs/TabsSelected.d.ts +39 -0
- package/dist/constructors/Tabs/basicTypes.d.ts +1 -0
- package/dist/constructors/Tabs/index.d.ts +6 -0
- package/dist/constructors/Tabs/props.d.ts +20 -0
- package/dist/constructors/Tabs/types.d.ts +39 -0
- package/dist/constructors/TabsNavigation/TabsNavigation.d.ts +141 -0
- package/dist/constructors/TabsNavigation/TabsNavigationControl.d.ts +85 -0
- package/dist/constructors/TabsNavigation/TabsNavigationDesign.d.ts +60 -0
- package/dist/constructors/TabsNavigation/TabsNavigationFocus.d.ts +61 -0
- package/dist/constructors/TabsNavigation/TabsNavigationIds.d.ts +32 -0
- package/dist/constructors/TabsNavigation/TabsNavigationInclude.d.ts +43 -0
- package/dist/constructors/TabsNavigation/TabsNavigationIndicator.d.ts +55 -0
- package/dist/constructors/TabsNavigation/TabsNavigationSelected.d.ts +39 -0
- package/dist/constructors/TabsNavigation/basicTypes.d.ts +27 -0
- package/dist/constructors/TabsNavigation/index.d.ts +11 -0
- package/dist/constructors/TabsNavigation/props.d.ts +42 -0
- package/dist/constructors/TabsNavigation/types.d.ts +47 -0
- package/dist/constructors/Textarea/Textarea.d.ts +83 -0
- package/dist/constructors/Textarea/TextareaDesign.d.ts +51 -0
- package/dist/constructors/Textarea/basicTypes.d.ts +1 -0
- package/dist/constructors/Textarea/index.d.ts +5 -0
- package/dist/constructors/Textarea/props.d.ts +26 -0
- package/dist/constructors/Textarea/types.d.ts +38 -0
- package/dist/constructors/TextareaAutosize/TextareaAutosize.d.ts +7 -3
- package/dist/constructors/TextareaAutosize/basicTypes.d.ts +20 -1
- package/dist/constructors/TextareaAutosize/index.d.ts +2 -0
- package/dist/constructors/TextareaAutosize/props.d.ts +7 -2
- package/dist/constructors/TextareaAutosize/types.d.ts +2 -0
- package/dist/constructors/Tooltip/Tooltip.d.ts +27 -16
- package/dist/constructors/Tooltip/{TooltipClasses.d.ts → TooltipClassesData.d.ts} +1 -1
- package/dist/constructors/Tooltip/TooltipEvent.d.ts +4 -4
- package/dist/constructors/Tooltip/TooltipPosition.d.ts +3 -3
- package/dist/constructors/Tooltip/basicTypes.d.ts +15 -0
- package/dist/constructors/Tooltip/index.d.ts +6 -0
- package/dist/constructors/Tooltip/props.d.ts +9 -0
- package/dist/constructors/Tooltip/types.d.ts +4 -0
- package/dist/constructors/Window/Window.d.ts +53 -26
- package/dist/constructors/Window/{WindowClasses.d.ts → WindowClassesData.d.ts} +1 -1
- package/dist/constructors/Window/WindowCoordinates.d.ts +3 -3
- package/dist/constructors/Window/WindowElement.d.ts +3 -3
- package/dist/constructors/Window/WindowEmit.d.ts +3 -3
- package/dist/constructors/Window/WindowFlash.d.ts +3 -3
- package/dist/constructors/Window/WindowHidden.d.ts +3 -3
- package/dist/constructors/Window/WindowPersistent.d.ts +3 -3
- package/dist/constructors/Window/WindowVerification.d.ts +3 -3
- package/dist/constructors/Window/basicTypes.d.ts +10 -0
- package/dist/constructors/Window/index.d.ts +21 -3
- package/dist/constructors/Window/props.d.ts +53 -27
- package/dist/constructors/Window/types.d.ts +7 -7
- package/dist/defineProperty-hmGKPWdq.js +39 -0
- package/dist/dialog.js +89 -210
- package/dist/dummy.js +28 -0
- package/dist/field.js +220 -549
- package/dist/fieldCounter.js +77 -194
- package/dist/fieldLabel.js +63 -175
- package/dist/fieldMessage.js +82 -234
- package/dist/getClassTagAStatic-BPIEWyHY.js +4 -0
- package/dist/grid.js +31 -0
- package/dist/gridItem.js +31 -0
- package/dist/group.js +13 -0
- package/dist/horizontalScroll.js +57 -0
- package/dist/icon.js +82 -227
- package/dist/image.js +648 -1345
- package/dist/input.js +82 -363
- package/dist/library/checkbox.d.ts +1 -0
- package/dist/library/dummy.d.ts +1 -0
- package/dist/library/grid.d.ts +1 -0
- package/dist/library/gridItem.d.ts +1 -0
- package/dist/library/group.d.ts +1 -0
- package/dist/library/horizontalScroll.d.ts +1 -0
- package/dist/library/motionAxis.d.ts +1 -0
- package/dist/library/snackbar.d.ts +1 -0
- package/dist/library/snackbarItem.d.ts +1 -0
- package/dist/library/tabItem.d.ts +1 -0
- package/dist/library/tabs.d.ts +1 -0
- package/dist/library/tabsNavigation.d.ts +1 -0
- package/dist/library/textarea.d.ts +1 -0
- package/dist/library.d.ts +1 -0
- package/dist/library.js +21 -58
- package/dist/list.js +455 -1062
- package/dist/listGroup.js +61 -172
- package/dist/listItem.js +113 -318
- package/dist/listMenu.js +51 -123
- package/dist/mask.js +1015 -2488
- package/dist/menu.js +200 -537
- package/dist/modal.js +28 -72
- package/dist/motionAxis.js +319 -0
- package/dist/motionTransform.js +225 -633
- package/dist/page.js +11 -28
- package/dist/plugin.js +2 -4
- package/dist/progress.js +123 -302
- package/dist/ripple.js +55 -135
- package/dist/scrollbar.js +99 -237
- package/dist/section.js +11 -28
- package/dist/select.js +163 -423
- package/dist/selectValue.js +87 -247
- package/dist/skeleton.js +32 -80
- package/dist/snackbar.js +143 -0
- package/dist/snackbarItem.js +119 -0
- package/dist/tabItem.js +64 -0
- package/dist/tabs.js +69 -0
- package/dist/tabsNavigation.js +212 -0
- package/dist/textarea.js +58 -0
- package/dist/textareaAutosize.js +83 -237
- package/dist/tooltip.js +236 -667
- package/dist/types/ariaTypes.d.ts +45 -25
- package/dist/types/descriptionTypes.d.ts +3 -0
- package/dist/types/eventClickTypes.d.ts +2 -0
- package/dist/types/fieldTypes.d.ts +29 -20
- package/dist/types/modelTypes.d.ts +30 -0
- package/dist/types/pluginTypes.d.ts +5 -1
- package/dist/types/roleTypes.d.ts +1 -0
- package/dist/types/textTypes.d.ts +18 -0
- package/dist/window.js +769 -2037
- package/package.json +56 -2
- package/src/constructors/Accordion/properties.json +16 -0
- package/src/constructors/ActionSheet/properties.json +14 -0
- package/src/constructors/Actions/properties.json +66 -0
- package/src/constructors/Anchor/properties.json +3 -0
- package/src/constructors/Arrow/properties.json +23 -0
- package/src/constructors/Badge/properties.json +36 -0
- package/src/constructors/Bars/properties.json +5 -0
- package/src/constructors/Block/properties.json +10 -0
- package/src/constructors/Button/properties.json +84 -0
- package/src/constructors/Cell/properties.json +52 -0
- package/src/constructors/Cell/style.scss +8 -3
- package/src/constructors/Checkbox/properties.json +65 -0
- package/src/constructors/Checkbox/style.scss +99 -0
- package/src/constructors/Chip/properties.json +3 -0
- package/src/constructors/ChipGroup/properties.json +3 -0
- package/src/constructors/Dialog/properties.json +23 -0
- package/src/constructors/Dummy/properties.json +2 -0
- package/src/constructors/Dummy/style.scss +5 -0
- package/src/constructors/Field/properties.json +92 -0
- package/src/constructors/Field/style.scss +2 -0
- package/src/constructors/FieldCounter/properties.json +4 -0
- package/src/constructors/FieldLabel/properties.json +4 -0
- package/src/constructors/FieldMessage/properties.json +10 -0
- package/src/constructors/Grid/properties.json +6 -0
- package/src/constructors/Grid/style.scss +8 -0
- package/src/constructors/GridItem/properties.json +40 -0
- package/src/constructors/GridItem/style.scss +5 -0
- package/src/constructors/Group/properties.json +3 -0
- package/src/constructors/Group/style.scss +6 -0
- package/src/constructors/HorizontalScroll/properties.json +26 -0
- package/src/constructors/HorizontalScroll/style.scss +27 -0
- package/src/constructors/Icon/properties.json +25 -0
- package/src/constructors/Image/properties.json +17 -0
- package/src/constructors/Input/properties.json +2 -0
- package/src/constructors/List/properties.json +16 -0
- package/src/constructors/ListGroup/properties.json +15 -0
- package/src/constructors/ListItem/properties.json +52 -0
- package/src/constructors/ListItem/style.scss +2 -0
- package/src/constructors/ListMenu/properties.json +19 -0
- package/src/constructors/Mask/properties.json +30 -0
- package/src/constructors/Mask/style.scss +6 -2
- package/src/constructors/Menu/properties.json +17 -0
- package/src/constructors/Modal/properties.json +17 -0
- package/src/constructors/MotionAxis/properties.json +15 -0
- package/src/constructors/MotionAxis/style.scss +110 -0
- package/src/constructors/MotionTransform/properties.json +35 -0
- package/src/constructors/Page/properties.json +3 -0
- package/src/constructors/Progress/properties.json +47 -0
- package/src/constructors/Ripple/properties.json +9 -0
- package/src/constructors/Scrollbar/properties.json +33 -0
- package/src/constructors/Section/properties.json +3 -0
- package/src/constructors/Select/properties.json +3 -0
- package/src/constructors/SelectValue/properties.json +7 -0
- package/src/constructors/Skeleton/properties.json +24 -0
- package/src/constructors/Snackbar/properties.json +95 -0
- package/src/constructors/Snackbar/style.scss +58 -0
- package/src/constructors/SnackbarItem/properties.json +12 -0
- package/src/constructors/SnackbarItem/style.scss +30 -0
- package/src/constructors/TabItem/properties.json +49 -0
- package/src/constructors/TabItem/style.scss +64 -0
- package/src/constructors/Tabs/properties.json +3 -0
- package/src/constructors/Tabs/style.scss +5 -0
- package/src/constructors/TabsNavigation/properties.json +10 -0
- package/src/constructors/TabsNavigation/style.scss +5 -0
- package/src/constructors/Textarea/properties.json +2 -0
- package/src/constructors/Textarea/style.scss +5 -0
- package/src/constructors/TextareaAutosize/properties.json +9 -0
- package/src/constructors/TextareaAutosize/style.scss +9 -6
- package/src/constructors/Tooltip/properties.json +18 -0
- package/src/constructors/Window/properties.json +240 -0
- package/src/library/style.scss +13 -0
- package/dist/ActionsInclude-H5ZWeXJj.js +0 -64
- package/dist/AriaStaticInclude-CAURwJMb.js +0 -257
- package/dist/ArrowInclude-CcpT637l.js +0 -47
- package/dist/BarsInclude-BOEoY-O4.js +0 -74
- package/dist/BlockDesign-CwRNJi0I.js +0 -244
- package/dist/ButtonDesign-DgZNw44L.js +0 -198
- package/dist/CaptionInclude-NzS6EYYj.js +0 -70
- package/dist/DescriptionInclude-D4ane9aR.js +0 -55
- package/dist/EnabledInclude-Dk-rP4jp.js +0 -46
- package/dist/EventClickInclude-WHJqxZ1b.js +0 -103
- package/dist/FieldCounterInclude-D0oojGWY.js +0 -59
- package/dist/FieldEventInclude-DBRqmzpF.js +0 -718
- package/dist/FieldInclude-BKoBWZdj.js +0 -145
- package/dist/FieldInputCheckInclude-CjNYyGTb.js +0 -79
- package/dist/FieldLabelInclude-Bkxf6rRw.js +0 -71
- package/dist/FieldMatchInclude-GgyucDC_.js +0 -318
- package/dist/FieldMessageInclude-BJDnir34.js +0 -77
- package/dist/IconInclude-CLqwI29Q.js +0 -123
- package/dist/IconTrailingInclude-CdsOcDxv.js +0 -83
- package/dist/LabelHighlightInclude-CLmTvW_6.js +0 -75
- package/dist/LabelInclude-D-mLvjK5.js +0 -114
- package/dist/LabelNumberInclude-Cn0qDEgX.js +0 -46
- package/dist/ListGroupOpen-Bl_HIQoV.js +0 -43
- package/dist/MenuInclude-DfGCfr_I.js +0 -94
- package/dist/ModalDesignAbstract-D4A_a_rC.js +0 -179
- package/dist/ModelInclude-BiYm_iCQ.js +0 -73
- package/dist/ModelValueInclude-CJmm5go9.js +0 -48
- package/dist/MotionTransformClassesInclude-B23RIq0Q.js +0 -214
- package/dist/MotionTransformInclude-P_oRs3JZ.js +0 -97
- package/dist/Plugin-CBNCh_iN.js +0 -628
- package/dist/ProgressInclude-9MfZWtGP.js +0 -56
- package/dist/RippleInclude-Du5yIzX_.js +0 -21
- package/dist/SkeletonInclude-BIUzAO2s.js +0 -105
- package/dist/SuffixInclude-maZ7235l.js +0 -125
- package/dist/TabIndexInclude-xcSFV8yP.js +0 -177
- package/dist/TextInclude--GERRCGj.js +0 -146
- package/dist/TooltipInclude--QRSE83v.js +0 -76
- package/dist/TouchEventInclude-DctYCjt8.js +0 -186
- package/dist/WindowClassesInclude-B56usxgx.js +0 -213
- package/dist/WindowEsc-DTwn4Vsz.js +0 -72
- package/dist/WindowInclude-BWm4-0Gh.js +0 -121
- package/dist/getClassTagAStatic-BnVYlXHI.js +0 -4
|
@@ -4,22 +4,35 @@ import { WindowControlItem } from '../Window';
|
|
|
4
4
|
import { ListExpose } from '../List';
|
|
5
5
|
import { MenuExpose } from './types';
|
|
6
6
|
import { MenuPropsBasic } from './props';
|
|
7
|
+
/** Basic control for the menu/ Базовое управление для меню */
|
|
7
8
|
export type MenuControlBasic = ListExpose & {
|
|
9
|
+
/** Current loading state/ Текущее состояние загрузки */
|
|
8
10
|
loading: Ref<boolean>;
|
|
11
|
+
/** Switches to the previous item/ Переключает на предыдущий элемент */
|
|
9
12
|
previous(): NumberOrStringOrBoolean | undefined;
|
|
13
|
+
/** Switches to the next item/ Переключает на следующий элемент */
|
|
10
14
|
next(): NumberOrStringOrBoolean | undefined;
|
|
11
15
|
};
|
|
16
|
+
/** Menu control item combining basic menu and window controls/ Элемент управления меню, сочетающий базовые элементы управления меню и окна */
|
|
12
17
|
export type MenuControlItem = MenuControlBasic & WindowControlItem;
|
|
18
|
+
/** Interface for describing which components need to be connected for Menu work/ Интерфейс для описания, какие компоненты надо подключить для работы Menu */
|
|
13
19
|
export type MenuComponentInclude = {
|
|
20
|
+
/** Menu component configuration/ Конфигурация компонента меню */
|
|
14
21
|
menu?: object;
|
|
15
22
|
};
|
|
16
23
|
/** Type for menu expose functionality/ Тип для функциональности экспорта меню */
|
|
17
24
|
export interface MenuExposeInclude {
|
|
25
|
+
/** Whether the menu is currently open/ Открыто ли меню в данный момент */
|
|
18
26
|
open: ComputedRef<boolean>;
|
|
27
|
+
/** Sets the open state of the menu/ Устанавливает состояние открытия меню */
|
|
19
28
|
setOpen(open: boolean): Promise<void>;
|
|
29
|
+
/** Opens the menu/ Открывает меню */
|
|
20
30
|
toOpen: MenuExpose['toOpen'];
|
|
31
|
+
/** Closes the menu/ Закрывает меню */
|
|
21
32
|
toClose: MenuExpose['toClose'];
|
|
33
|
+
/** Toggles the menu open state/ Переключает состояние открытия меню */
|
|
22
34
|
toggle(): Promise<void>;
|
|
35
|
+
/** Reference to the menu element/ Ссылка на элемент меню */
|
|
23
36
|
menuElement: Ref<ConstrBind<MenuExpose> | undefined>;
|
|
24
37
|
}
|
|
25
38
|
export type MenuSlotInclude = {
|
|
@@ -34,6 +47,8 @@ export type MenuSlotInclude = {
|
|
|
34
47
|
};
|
|
35
48
|
/** Interface for menu include props/ Интерфейс для свойств включения меню */
|
|
36
49
|
export type MenuPropsInclude<Menu extends MenuPropsBasic = MenuPropsBasic> = {
|
|
50
|
+
/** Whether the menu is disabled/ Отключено ли меню */
|
|
37
51
|
disabled?: boolean;
|
|
52
|
+
/** Additional attributes for the Menu component/ Дополнительные атрибуты для компонента меню */
|
|
38
53
|
menuAttrs?: ConstrBind<Menu>;
|
|
39
54
|
};
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
export * from './Menu';
|
|
2
2
|
export * from './MenuDesign';
|
|
3
|
+
export * from './MenuGo';
|
|
3
4
|
export * from './MenuInclude';
|
|
5
|
+
export * from './MenuRequest';
|
|
6
|
+
export * from './MenuSearch';
|
|
7
|
+
export * from './MenuValue';
|
|
8
|
+
export * from './MenuWindow';
|
|
4
9
|
export * from './props';
|
|
5
10
|
export * from './types';
|
|
6
11
|
export * from './basicTypes';
|
|
@@ -10,26 +10,52 @@ export type MenuPropsToken = {
|
|
|
10
10
|
barsAdaptive?: 'showAlways';
|
|
11
11
|
};
|
|
12
12
|
export type MenuPropsBasic<List extends ListPropsBasic = ListPropsBasic, ListItem extends ListItemPropsBasic = ListItemPropsBasic, Bars extends BarsPropsBasic = BarsPropsBasic, Window extends WindowPropsBasic = WindowPropsBasic> = BarsPropsInclude<Bars> & WindowPropsInclude<Window> & ModelPropsSelected & {
|
|
13
|
+
/** Status/ Статус */
|
|
14
|
+
/** List of selected items/ Список выбранных элементов */
|
|
13
15
|
selected?: ListSelectedList;
|
|
16
|
+
/** Whether to hide the list/ Скрыть ли список */
|
|
14
17
|
hideList?: boolean;
|
|
18
|
+
/** Value/ Значения */
|
|
19
|
+
/** Data list/ Список данных */
|
|
15
20
|
list?: ListRecord<ListItem>;
|
|
21
|
+
/** Threshold for enabling lite mode/ Порог для включения упрощенного режима */
|
|
16
22
|
liteThreshold?: number;
|
|
23
|
+
/** Search string for highlighting/ Строка поиска для подсветки */
|
|
17
24
|
highlight?: string;
|
|
25
|
+
/** Starting length for search highlighting/ Начальная длина для подсветки поиска */
|
|
18
26
|
highlightLengthStart?: number;
|
|
27
|
+
/** Whether to enable filtering mode/ Включен ли режим фильтрации */
|
|
19
28
|
filterMode?: boolean;
|
|
29
|
+
/** AJAX request or function to fetch the list/ AJAX-запрос или функция для получения списка */
|
|
20
30
|
ajax?: string | (() => NormalOrPromise<ListRecord<ListItem>>);
|
|
31
|
+
/** Fetch function for the request/ Функция запроса для получения данных */
|
|
21
32
|
request?: ApiFetch;
|
|
33
|
+
/** Whether to cache the results/ Кэшировать ли результаты */
|
|
22
34
|
cache?: boolean;
|
|
35
|
+
/** Key for the label in the data object/ Ключ для заголовка в объекте данных */
|
|
23
36
|
keyLabel?: string;
|
|
37
|
+
/** Key for the value in the data object/ Ключ для значения в объекте данных */
|
|
24
38
|
keyValue?: string;
|
|
39
|
+
/** Maximum number of items/ Максимальное количество элементов */
|
|
25
40
|
max?: string | number;
|
|
41
|
+
/** Style/ Стили */
|
|
42
|
+
/** HTML tag for the menu item/ HTML-тег для элемента меню */
|
|
26
43
|
tag?: ListItemProps['tag'];
|
|
44
|
+
/** Step for navigation/ Шаг для навигации */
|
|
27
45
|
step?: string | number;
|
|
46
|
+
/** Additional attributes for the List component/ Дополнительные атрибуты для компонента списка */
|
|
28
47
|
listAttrs?: ConstrBind<List>;
|
|
48
|
+
/** Additional attributes for the List Item components/ Дополнительные атрибуты для компонентов элементов списка */
|
|
29
49
|
itemAttrs?: ConstrBind<ListItem>;
|
|
50
|
+
/** ARIA/ ARIA */
|
|
51
|
+
/** ARIA role for the list/ ARIA-роль для списка */
|
|
30
52
|
roleList?: RoleType;
|
|
53
|
+
/** ARIA role for items/ ARIA-роль для элементов */
|
|
31
54
|
roleItem?: RoleType;
|
|
55
|
+
/** Technical/ Технические свойства */
|
|
56
|
+
/** Whether selection is determined by value/ Определяется ли выбор по значению */
|
|
32
57
|
isSelectedByValue?: boolean;
|
|
58
|
+
/** Whether the menu is embedded/ Является ли меню встроенным */
|
|
33
59
|
embedded?: boolean;
|
|
34
60
|
};
|
|
35
61
|
/**
|
|
@@ -17,7 +17,9 @@ export type MenuComponents = ListComponentInclude & BarsComponentInclude & Windo
|
|
|
17
17
|
* Тип, описывающий доступные события.
|
|
18
18
|
*/
|
|
19
19
|
export type MenuEmits = BarsEmitsInclude & EventClickEmits & WindowEmitsInclude & ModelEmitsSelected & {
|
|
20
|
+
/** Event for updating the value/ Событие обновления значения */
|
|
20
21
|
updateValue: [value?: NumberOrStringOrBoolean];
|
|
22
|
+
/** Event for clicking on a slot/ Событие клика по слоту */
|
|
21
23
|
clickSlot: [value?: string];
|
|
22
24
|
};
|
|
23
25
|
/**
|
|
@@ -1,10 +1,16 @@
|
|
|
1
1
|
import { Ref, ToRefs } from 'vue';
|
|
2
2
|
import { ConstrEmit, DesignComp } from '@dxtmisha/functional';
|
|
3
|
+
import { ActionsInclude } from '../Actions';
|
|
4
|
+
import { BarsInclude } from '../Bars';
|
|
5
|
+
import { WindowInclude } from '../Window';
|
|
3
6
|
import { ModalAbstract } from './ModalAbstract';
|
|
4
7
|
import { ModalComponents, ModalEmits, ModalSlots } from './types';
|
|
5
8
|
import { ModalProps } from './props';
|
|
6
9
|
/**
|
|
7
10
|
* Modal
|
|
11
|
+
*
|
|
12
|
+
* The class for working with a modal window.
|
|
13
|
+
* Класс для работы с модальным окном.
|
|
8
14
|
*/
|
|
9
15
|
export declare class Modal extends ModalAbstract {
|
|
10
16
|
protected readonly props: ModalProps;
|
|
@@ -25,6 +31,14 @@ export declare class Modal extends ModalAbstract {
|
|
|
25
31
|
* @param components object for working with components/ объект для работы с компонентами
|
|
26
32
|
* @param slots object for working with slots/ объект для работы со слотами
|
|
27
33
|
* @param emits the function is called when an event is triggered/ функция вызывается, когда срабатывает событие
|
|
34
|
+
* @param constructors object with classes/ объект с классами
|
|
35
|
+
* @param constructors.ActionsConstructor class for creating actions/ класс для создания действий
|
|
36
|
+
* @param constructors.BarsConstructor class for creating bars/ класс для создания панелей
|
|
37
|
+
* @param constructors.WindowConstructor class for creating a window/ класс для создания окна
|
|
28
38
|
*/
|
|
29
|
-
constructor(props: ModalProps, refs: ToRefs<ModalProps>, element: Ref<HTMLElement | undefined>, classDesign: string, className: string, components?: DesignComp<ModalComponents, ModalProps> | undefined, slots?: ModalSlots | undefined, emits?: ConstrEmit<ModalEmits> | undefined
|
|
39
|
+
constructor(props: ModalProps, refs: ToRefs<ModalProps>, element: Ref<HTMLElement | undefined>, classDesign: string, className: string, components?: DesignComp<ModalComponents, ModalProps> | undefined, slots?: ModalSlots | undefined, emits?: ConstrEmit<ModalEmits> | undefined, constructors?: {
|
|
40
|
+
ActionsConstructor?: typeof ActionsInclude;
|
|
41
|
+
BarsConstructor?: typeof BarsInclude;
|
|
42
|
+
WindowConstructor?: typeof WindowInclude;
|
|
43
|
+
});
|
|
30
44
|
}
|
|
@@ -36,6 +36,14 @@ export declare abstract class ModalAbstract {
|
|
|
36
36
|
* @param extraWindow additional parameters for WindowInclude/ дополнительные параметры для WindowInclude
|
|
37
37
|
* @param extraBars additional parameters for BarsInclude/ дополнительные параметры для BarsInclude
|
|
38
38
|
* @param extraActions additional parameters for ActionsInclude/ дополнительные параметры для ActionsInclude
|
|
39
|
+
* @param constructors object with classes/ объект с классами
|
|
40
|
+
* @param constructors.WindowConstructor class for creating a window/ класс для создания окна
|
|
41
|
+
* @param constructors.BarsConstructor class for creating bars/ класс для создания панелей
|
|
42
|
+
* @param constructors.ActionsConstructor class for creating actions/ класс для создания действий
|
|
39
43
|
*/
|
|
40
|
-
protected constructor(props: ModalProps, refs: ToRefs<ModalProps>, element: Ref<HTMLElement | undefined>, classDesign: string, className: string, components?: DesignComp<ModalComponents, ModalProps> | undefined, slots?: ModalSlots | undefined, emits?: ConstrEmit<ModalEmits> | undefined, extraWindow?: RefOrNormal<any> | undefined, extraBars?: RefOrNormal<any> | undefined, extraActions?: RefOrNormal<any> | undefined
|
|
44
|
+
protected constructor(props: ModalProps, refs: ToRefs<ModalProps>, element: Ref<HTMLElement | undefined>, classDesign: string, className: string, components?: DesignComp<ModalComponents, ModalProps> | undefined, slots?: ModalSlots | undefined, emits?: ConstrEmit<ModalEmits> | undefined, extraWindow?: RefOrNormal<any> | undefined, extraBars?: RefOrNormal<any> | undefined, extraActions?: RefOrNormal<any> | undefined, constructors?: {
|
|
45
|
+
WindowConstructor?: typeof WindowInclude;
|
|
46
|
+
BarsConstructor?: typeof BarsInclude;
|
|
47
|
+
ActionsConstructor?: typeof ActionsInclude;
|
|
48
|
+
});
|
|
41
49
|
}
|
|
@@ -6,6 +6,8 @@ export type ModalPropsToken = {
|
|
|
6
6
|
imagePosition?: 'top' | 'left';
|
|
7
7
|
};
|
|
8
8
|
export type ModalPropsBasic<Window extends WindowPropsBasic = WindowPropsBasic, Bars extends BarsPropsBasic = BarsPropsBasic, Actions extends ActionsPropsBasic = ActionsPropsBasic, Image extends ImagePropsBasic = ImagePropsBasic> = WindowPropsInclude<Window> & BarsPropsInclude<Bars> & ActionsPropsInclude<Actions> & ImagePropsInclude<Image> & {
|
|
9
|
+
/** Status/ Статус */
|
|
10
|
+
/** Whether the modal is open/ Открыто ли модальное окно */
|
|
9
11
|
open?: boolean;
|
|
10
12
|
};
|
|
11
13
|
/**
|
|
@@ -27,6 +27,7 @@ export interface ModalExpose extends WindowExposeInclude {
|
|
|
27
27
|
* Тип, описывающий доступные слоты.
|
|
28
28
|
*/
|
|
29
29
|
export interface ModalSlots extends WindowSlots {
|
|
30
|
+
/** Slot for the modal header/ Слот для заголовка модального окна */
|
|
30
31
|
header(props: WindowControlItem): any;
|
|
31
32
|
}
|
|
32
33
|
/**
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { Ref, ToRefs, ComputedRef } from 'vue';
|
|
2
|
+
import { ConstrClassObject, ConstrEmit, DesignComp } from '@dxtmisha/functional';
|
|
3
|
+
import { ModelInclude } from '../../classes/ModelInclude';
|
|
4
|
+
import { MotionAxisElement } from './MotionAxisElement';
|
|
5
|
+
import { MotionAxisGo } from './MotionAxisGo';
|
|
6
|
+
import { MotionAxisPrevious } from './MotionAxisPrevious';
|
|
7
|
+
import { MotionAxisSelected } from './MotionAxisSelected';
|
|
8
|
+
import { MotionAxisSlides } from './MotionAxisSlides';
|
|
9
|
+
import { MotionAxisStatus } from './MotionAxisStatus';
|
|
10
|
+
import { MotionAxisStyles } from './MotionAxisStyles';
|
|
11
|
+
import { MotionAxisComponents, MotionAxisEmits, MotionAxisSlots } from './types';
|
|
12
|
+
import { MotionAxisProps } from './props';
|
|
13
|
+
/**
|
|
14
|
+
* MotionAxis
|
|
15
|
+
*/
|
|
16
|
+
export declare class MotionAxis {
|
|
17
|
+
protected readonly props: MotionAxisProps;
|
|
18
|
+
protected readonly refs: ToRefs<MotionAxisProps>;
|
|
19
|
+
protected readonly element: Ref<HTMLDivElement | undefined>;
|
|
20
|
+
protected readonly classDesign: string;
|
|
21
|
+
protected readonly className: string;
|
|
22
|
+
protected readonly components?: DesignComp<MotionAxisComponents, MotionAxisProps> | undefined;
|
|
23
|
+
protected readonly slots?: MotionAxisSlots | undefined;
|
|
24
|
+
protected readonly emits?: ConstrEmit<MotionAxisEmits> | undefined;
|
|
25
|
+
readonly elementItem: MotionAxisElement;
|
|
26
|
+
readonly go: MotionAxisGo;
|
|
27
|
+
readonly previous: MotionAxisPrevious;
|
|
28
|
+
readonly selected: MotionAxisSelected;
|
|
29
|
+
readonly slides: MotionAxisSlides;
|
|
30
|
+
readonly status: MotionAxisStatus;
|
|
31
|
+
readonly styles: MotionAxisStyles;
|
|
32
|
+
/**
|
|
33
|
+
* Constructor
|
|
34
|
+
* @param props input data/ входные данные
|
|
35
|
+
* @param refs input data in the form of reactive elements/ входные данные в виде реактивных элементов
|
|
36
|
+
* @param element input element/ элемент ввода
|
|
37
|
+
* @param classDesign design name/ название дизайна
|
|
38
|
+
* @param className class name/ название класса
|
|
39
|
+
* @param components object for working with components/ объект для работы с компонентами
|
|
40
|
+
* @param slots object for working with slots/ объект для работы со слотами
|
|
41
|
+
* @param emits the function is called when an event is triggered/ функция вызывается, когда срабатывает событие
|
|
42
|
+
* @param constructors object with classes/ объект с классами
|
|
43
|
+
* @param constructors.ModelIncludeConstructor class for working with model/ класс для работы с моделью
|
|
44
|
+
* @param constructors.MotionAxisElementConstructor class for working with elements/ класс для работы с элементами
|
|
45
|
+
* @param constructors.MotionAxisGoConstructor class for working with go/ класс для работы с переходом
|
|
46
|
+
* @param constructors.MotionAxisPreviousConstructor class for working with previous/ класс для работы с предыдущим
|
|
47
|
+
* @param constructors.MotionAxisSelectedConstructor class for working with selected/ класс для работы с выбранным
|
|
48
|
+
* @param constructors.MotionAxisSlidesConstructor class for working with slides/ класс для работы со слайдами
|
|
49
|
+
* @param constructors.MotionAxisStatusConstructor class for working with status/ класс для работы со статусом
|
|
50
|
+
* @param constructors.MotionAxisStylesConstructor class for working with styles/ класс для работы со стилями
|
|
51
|
+
*/
|
|
52
|
+
constructor(props: MotionAxisProps, refs: ToRefs<MotionAxisProps>, element: Ref<HTMLDivElement | undefined>, classDesign: string, className: string, components?: DesignComp<MotionAxisComponents, MotionAxisProps> | undefined, slots?: MotionAxisSlots | undefined, emits?: ConstrEmit<MotionAxisEmits> | undefined, constructors?: {
|
|
53
|
+
ModelIncludeConstructor?: typeof ModelInclude;
|
|
54
|
+
MotionAxisElementConstructor?: typeof MotionAxisElement;
|
|
55
|
+
MotionAxisGoConstructor?: typeof MotionAxisGo;
|
|
56
|
+
MotionAxisPreviousConstructor?: typeof MotionAxisPrevious;
|
|
57
|
+
MotionAxisSelectedConstructor?: typeof MotionAxisSelected;
|
|
58
|
+
MotionAxisSlidesConstructor?: typeof MotionAxisSlides;
|
|
59
|
+
MotionAxisStatusConstructor?: typeof MotionAxisStatus;
|
|
60
|
+
MotionAxisStylesConstructor?: typeof MotionAxisStyles;
|
|
61
|
+
});
|
|
62
|
+
/**
|
|
63
|
+
* Returns a list of available values for the style/
|
|
64
|
+
* Возвращает список доступных значений для стиля
|
|
65
|
+
*/
|
|
66
|
+
readonly classes: ComputedRef<ConstrClassObject>;
|
|
67
|
+
isInDom(key: string): boolean;
|
|
68
|
+
isInDomSlide(key: string): boolean;
|
|
69
|
+
/**
|
|
70
|
+
* Updating data based on its status.
|
|
71
|
+
*
|
|
72
|
+
* Обновление данных по его статусу.
|
|
73
|
+
*/
|
|
74
|
+
protected readonly updateSelected: () => void;
|
|
75
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { VNode } from 'vue';
|
|
2
|
+
import { ConstrOptions, ConstrStyles, DesignConstructorAbstract } from '@dxtmisha/functional';
|
|
3
|
+
import { MotionAxis } from './MotionAxis';
|
|
4
|
+
import { MotionAxisPropsBasic } from './props';
|
|
5
|
+
import { MotionAxisClasses, MotionAxisComponents, MotionAxisEmits, MotionAxisExpose, MotionAxisSlots } from './types';
|
|
6
|
+
/**
|
|
7
|
+
* MotionAxisDesign
|
|
8
|
+
*/
|
|
9
|
+
export declare class MotionAxisDesign<COMP extends MotionAxisComponents, EXPOSE extends MotionAxisExpose, CLASSES extends MotionAxisClasses, P extends MotionAxisPropsBasic> extends DesignConstructorAbstract<HTMLDivElement, COMP, MotionAxisEmits, EXPOSE, MotionAxisSlots, CLASSES, P> {
|
|
10
|
+
protected readonly item: MotionAxis;
|
|
11
|
+
/**
|
|
12
|
+
* Constructor
|
|
13
|
+
* @param name class name/ название класса
|
|
14
|
+
* @param props properties/ свойства
|
|
15
|
+
* @param options list of additional parameters/ список дополнительных параметров
|
|
16
|
+
* @param ItemConstructor constructors item class/ класс элемента конструкторов
|
|
17
|
+
*/
|
|
18
|
+
constructor(name: string, props: Readonly<P>, options?: ConstrOptions<COMP, MotionAxisEmits, P>, ItemConstructor?: typeof MotionAxis);
|
|
19
|
+
/**
|
|
20
|
+
* Initialization of all the necessary properties for work
|
|
21
|
+
*
|
|
22
|
+
* Инициализация всех необходимых свойств для работы.
|
|
23
|
+
*/
|
|
24
|
+
protected initExpose(): EXPOSE;
|
|
25
|
+
/**
|
|
26
|
+
* Improvement of the obtained list of classes.
|
|
27
|
+
*
|
|
28
|
+
* Доработка полученного списка классов.
|
|
29
|
+
*/
|
|
30
|
+
protected initClasses(): Partial<CLASSES>;
|
|
31
|
+
/**
|
|
32
|
+
* Refinement of the received list of styles.
|
|
33
|
+
*
|
|
34
|
+
* Доработка полученного списка стилей.
|
|
35
|
+
*/
|
|
36
|
+
protected initStyles(): ConstrStyles;
|
|
37
|
+
/**
|
|
38
|
+
* A method for rendering.
|
|
39
|
+
*
|
|
40
|
+
* Метод для рендеринга.
|
|
41
|
+
*/
|
|
42
|
+
protected initRender(): VNode;
|
|
43
|
+
/**
|
|
44
|
+
* Rendering the slide.
|
|
45
|
+
*
|
|
46
|
+
* Рендеринг слайда.
|
|
47
|
+
*/
|
|
48
|
+
readonly renderSlides: () => VNode[];
|
|
49
|
+
}
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
import { MotionAxisClassStatus } from './basicTypes';
|
|
3
|
+
/**
|
|
4
|
+
* Class for managing elements.
|
|
5
|
+
*
|
|
6
|
+
* Класс для управления элементами.
|
|
7
|
+
*/
|
|
8
|
+
export declare class MotionAxisElement {
|
|
9
|
+
protected element: Ref<HTMLDivElement | undefined>;
|
|
10
|
+
protected className: string | string[];
|
|
11
|
+
protected readonly classStatus: MotionAxisClassStatus;
|
|
12
|
+
protected readonly start: Ref<boolean, boolean>;
|
|
13
|
+
protected readonly move: Ref<boolean, boolean>;
|
|
14
|
+
/**
|
|
15
|
+
* Constructor
|
|
16
|
+
* @param element window element / элемент окна
|
|
17
|
+
* @param className class name / название класса
|
|
18
|
+
*/
|
|
19
|
+
constructor(element: Ref<HTMLDivElement | undefined>, className: string | string[]);
|
|
20
|
+
/**
|
|
21
|
+
* Checks if the element is an active slide.
|
|
22
|
+
*
|
|
23
|
+
* Проверяет, является ли элемент активным слайдом.
|
|
24
|
+
* @param element selected element / выбранный элемент
|
|
25
|
+
*/
|
|
26
|
+
isActive(element: HTMLDivElement): boolean;
|
|
27
|
+
/**
|
|
28
|
+
* Returns the element.
|
|
29
|
+
*
|
|
30
|
+
* Возвращает элемент.
|
|
31
|
+
*/
|
|
32
|
+
get(): HTMLDivElement | undefined;
|
|
33
|
+
/**
|
|
34
|
+
* Returns the start state.
|
|
35
|
+
*
|
|
36
|
+
* Возвращает состояние старта.
|
|
37
|
+
*/
|
|
38
|
+
getStart(): boolean;
|
|
39
|
+
/**
|
|
40
|
+
* Returns the move state.
|
|
41
|
+
*
|
|
42
|
+
* Возвращает состояние движения.
|
|
43
|
+
*/
|
|
44
|
+
getMove(): boolean;
|
|
45
|
+
/**
|
|
46
|
+
* Returns a list of all classes by status.
|
|
47
|
+
*
|
|
48
|
+
* Возвращает список всех классов по статусу.
|
|
49
|
+
*/
|
|
50
|
+
getClassStatus(): MotionAxisClassStatus;
|
|
51
|
+
/**
|
|
52
|
+
* Returns the element for preparation to transition to the active element.
|
|
53
|
+
*
|
|
54
|
+
* Возвращает элемент для подготовки к переходу к активному элементу.
|
|
55
|
+
*/
|
|
56
|
+
getElementPreparation(): HTMLDivElement | null | undefined;
|
|
57
|
+
/**
|
|
58
|
+
* Blocks scrolling.
|
|
59
|
+
*
|
|
60
|
+
* Блокирует прокрутку.
|
|
61
|
+
*/
|
|
62
|
+
blockScroll(): void;
|
|
63
|
+
/**
|
|
64
|
+
* Restores scrolling.
|
|
65
|
+
*
|
|
66
|
+
* Восстанавливает прокрутку.
|
|
67
|
+
*/
|
|
68
|
+
returnScroll(): void;
|
|
69
|
+
/**
|
|
70
|
+
* Transition to start state.
|
|
71
|
+
*
|
|
72
|
+
* Переход в состояние старта.
|
|
73
|
+
*/
|
|
74
|
+
toStart(): void;
|
|
75
|
+
/**
|
|
76
|
+
* End of start state.
|
|
77
|
+
*
|
|
78
|
+
* Окончание состояния старта.
|
|
79
|
+
*/
|
|
80
|
+
toEnd(): void;
|
|
81
|
+
/**
|
|
82
|
+
* Transition to move state.
|
|
83
|
+
*
|
|
84
|
+
* Переход в состояние движения.
|
|
85
|
+
*/
|
|
86
|
+
toMove(): void;
|
|
87
|
+
/**
|
|
88
|
+
* End of move state.
|
|
89
|
+
*
|
|
90
|
+
* Окончание состояния движения.
|
|
91
|
+
*/
|
|
92
|
+
toStop(): void;
|
|
93
|
+
/**
|
|
94
|
+
* Activates event listeners for animation end.
|
|
95
|
+
*
|
|
96
|
+
* Активизирует события прослушивания окончания анимации.
|
|
97
|
+
* @param callback event listener / прослушивать события
|
|
98
|
+
*/
|
|
99
|
+
initEvent(callback: () => void): void;
|
|
100
|
+
/**
|
|
101
|
+
* Returns class names by status.
|
|
102
|
+
*
|
|
103
|
+
* Возвращает названия классов по статусу.
|
|
104
|
+
* @param status status name / название статуса
|
|
105
|
+
*/
|
|
106
|
+
protected getClassStatusItem(status?: string): string;
|
|
107
|
+
/**
|
|
108
|
+
* Returns the class name for the scroll element.
|
|
109
|
+
*
|
|
110
|
+
* Возвращает название класса для элемента прокрутки.
|
|
111
|
+
*/
|
|
112
|
+
protected getClassScroll(): string;
|
|
113
|
+
/**
|
|
114
|
+
* Returns the class name for the hidden scroll element.
|
|
115
|
+
*
|
|
116
|
+
* Возвращает название класса для скрытого элемента прокрутки.
|
|
117
|
+
*/
|
|
118
|
+
protected getClassScrollHidden(): string;
|
|
119
|
+
/**
|
|
120
|
+
* Returns the scroll element.
|
|
121
|
+
*
|
|
122
|
+
* Возвращает элемент прокрутки.
|
|
123
|
+
*/
|
|
124
|
+
protected getElementScroll(): HTMLElement | undefined;
|
|
125
|
+
/**
|
|
126
|
+
* End of animation event.
|
|
127
|
+
*
|
|
128
|
+
* Событие окончания анимации.
|
|
129
|
+
* @param event event object / объект события
|
|
130
|
+
*/
|
|
131
|
+
protected isTransitionend(event: TransitionEvent): boolean;
|
|
132
|
+
}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { Ref, ToRefs } from 'vue';
|
|
2
|
+
import { MotionAxisSlides } from './MotionAxisSlides';
|
|
3
|
+
import { MotionAxisStatus } from './MotionAxisStatus';
|
|
4
|
+
import { MotionAxisSelectedValue } from './basicTypes';
|
|
5
|
+
import { MotionAxisProps } from './props';
|
|
6
|
+
/**
|
|
7
|
+
* Class for motion control.
|
|
8
|
+
*
|
|
9
|
+
* Класс для управления движением.
|
|
10
|
+
*/
|
|
11
|
+
export declare class MotionAxisGo {
|
|
12
|
+
protected readonly props: Readonly<MotionAxisProps>;
|
|
13
|
+
protected readonly refs: ToRefs<MotionAxisProps>;
|
|
14
|
+
protected readonly element: Ref<HTMLDivElement | undefined>;
|
|
15
|
+
protected readonly slides: MotionAxisSlides;
|
|
16
|
+
protected readonly status: MotionAxisStatus;
|
|
17
|
+
readonly axis: Ref<"x" | "y" | "z" | undefined, "x" | "y" | "z" | undefined>;
|
|
18
|
+
readonly direction: Ref<"next" | "auto" | "back" | undefined, "next" | "auto" | "back" | undefined>;
|
|
19
|
+
/**
|
|
20
|
+
* Constructor
|
|
21
|
+
* @param props input data / входные данные
|
|
22
|
+
* @param refs input data in the form of reactive elements / входные данные в виде реактивных элементов
|
|
23
|
+
* @param element window element / элемент окна
|
|
24
|
+
* @param slides list of slides / список слайдов
|
|
25
|
+
* @param status class object for managing the active element / объект класса для управления активным элементом
|
|
26
|
+
*/
|
|
27
|
+
constructor(props: Readonly<MotionAxisProps>, refs: ToRefs<MotionAxisProps>, element: Ref<HTMLDivElement | undefined>, slides: MotionAxisSlides, status: MotionAxisStatus);
|
|
28
|
+
/**
|
|
29
|
+
* Previous slide.
|
|
30
|
+
*
|
|
31
|
+
* Перемещение слайда на один шаг назад.
|
|
32
|
+
*/
|
|
33
|
+
readonly back: () => void;
|
|
34
|
+
/**
|
|
35
|
+
* Next slide.
|
|
36
|
+
*
|
|
37
|
+
* Перемещение слайда на один шаг вперед.
|
|
38
|
+
*/
|
|
39
|
+
readonly next: () => void;
|
|
40
|
+
/**
|
|
41
|
+
* Moving the slide to the selected slide with automatic selection of animation direction.
|
|
42
|
+
*
|
|
43
|
+
* Перемещение слайда на выбранный слайд с автоматическим выбором направления анимации.
|
|
44
|
+
* @param selected selected item / выбранный элемент
|
|
45
|
+
*/
|
|
46
|
+
readonly to: (selected: MotionAxisSelectedValue) => void;
|
|
47
|
+
/**
|
|
48
|
+
* Move to the upper slide.
|
|
49
|
+
*
|
|
50
|
+
* Переместите на верхний слайд.
|
|
51
|
+
* @param selected selected item / выбранный элемент
|
|
52
|
+
*/
|
|
53
|
+
readonly top: (selected: MotionAxisProps["selected"]) => void;
|
|
54
|
+
/**
|
|
55
|
+
* Move to the right slide.
|
|
56
|
+
*
|
|
57
|
+
* Переместите на правый слайд.
|
|
58
|
+
* @param selected selected item / выбранный элемент
|
|
59
|
+
*/
|
|
60
|
+
readonly right: (selected: MotionAxisProps["selected"]) => void;
|
|
61
|
+
/**
|
|
62
|
+
* Move to the lower slide.
|
|
63
|
+
*
|
|
64
|
+
* Переместите на нижний слайд.
|
|
65
|
+
* @param selected selected item / выбранный элемент
|
|
66
|
+
*/
|
|
67
|
+
readonly bottom: (selected: MotionAxisProps["selected"]) => void;
|
|
68
|
+
/**
|
|
69
|
+
* Move to the left slide.
|
|
70
|
+
*
|
|
71
|
+
* Переместите на левый слайд.
|
|
72
|
+
* @param selected selected item / выбранный элемент
|
|
73
|
+
*/
|
|
74
|
+
readonly left: (selected: MotionAxisProps["selected"]) => void;
|
|
75
|
+
/**
|
|
76
|
+
* Move to the back slide.
|
|
77
|
+
*
|
|
78
|
+
* Переместите на задний слайд.
|
|
79
|
+
* @param selected selected item / выбранный элемент
|
|
80
|
+
*/
|
|
81
|
+
readonly down: (selected: MotionAxisProps["selected"]) => void;
|
|
82
|
+
/**
|
|
83
|
+
* Move to the front slide.
|
|
84
|
+
*
|
|
85
|
+
* Переместите на передний слайд.
|
|
86
|
+
* @param selected selected item / выбранный элемент
|
|
87
|
+
*/
|
|
88
|
+
readonly up: (selected: MotionAxisProps["selected"]) => void;
|
|
89
|
+
/**
|
|
90
|
+
* Changes the axis.
|
|
91
|
+
*
|
|
92
|
+
* Изменяет ось.
|
|
93
|
+
* @param axis axis name / название оси
|
|
94
|
+
*/
|
|
95
|
+
readonly setAxis: (axis: MotionAxisProps["axis"]) => void;
|
|
96
|
+
/**
|
|
97
|
+
* Changes the direction.
|
|
98
|
+
*
|
|
99
|
+
* Изменяет направление.
|
|
100
|
+
* @param direction direction name / название направления
|
|
101
|
+
*/
|
|
102
|
+
readonly setDirection: (direction: MotionAxisProps["direction"]) => void;
|
|
103
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { VNode, Ref, ComputedRef } from 'vue';
|
|
2
|
+
import { ConstrBind, ConstrEmit, DesignComponents, RefOrNormal } from '@dxtmisha/functional';
|
|
3
|
+
import { MotionAxisComponentInclude, MotionAxisEmitOptions, MotionAxisEmitsInclude, MotionAxisPropsInclude, MotionAxisSelectedValue } from './basicTypes';
|
|
4
|
+
import { MotionAxisExpose, MotionAxisSlots } from './types';
|
|
5
|
+
import { MotionAxisProps } from './props';
|
|
6
|
+
/**
|
|
7
|
+
* The class returns data for working with the MotionAxis component
|
|
8
|
+
*
|
|
9
|
+
* Класс возвращает данные для работы с компонентом MotionAxis
|
|
10
|
+
*/
|
|
11
|
+
export declare class MotionAxisInclude<Props extends MotionAxisPropsInclude = MotionAxisPropsInclude, PropsExtra extends ConstrBind<MotionAxisProps> = ConstrBind<MotionAxisProps>> {
|
|
12
|
+
protected readonly props: Readonly<Props>;
|
|
13
|
+
protected readonly className: string;
|
|
14
|
+
protected readonly components?: DesignComponents<MotionAxisComponentInclude, Props> | undefined;
|
|
15
|
+
protected readonly emits?: ConstrEmit<MotionAxisEmitsInclude> | undefined;
|
|
16
|
+
protected readonly extra?: RefOrNormal<PropsExtra> | undefined;
|
|
17
|
+
protected readonly selected?: RefOrNormal<MotionAxisSelectedValue>;
|
|
18
|
+
protected readonly index?: string | undefined;
|
|
19
|
+
/**
|
|
20
|
+
* Constructor
|
|
21
|
+
* @param props input parameter/ входной параметр
|
|
22
|
+
* @param className class name/ название класса
|
|
23
|
+
* @param components object for working with components/ объект для работы с компонентами
|
|
24
|
+
* @param emits the function is called when an event is triggered/ функция вызывается, когда срабатывает событие
|
|
25
|
+
* @param extra additional parameter or property name/ дополнительный параметр или имя свойства
|
|
26
|
+
* @param selected selected element/ выбранный элемент
|
|
27
|
+
* @param index index identifier/ идентификатор индекса
|
|
28
|
+
*/
|
|
29
|
+
constructor(props: Readonly<Props>, className: string, components?: DesignComponents<MotionAxisComponentInclude, Props> | undefined, emits?: ConstrEmit<MotionAxisEmitsInclude> | undefined, extra?: RefOrNormal<PropsExtra> | undefined, selected?: RefOrNormal<MotionAxisSelectedValue>, index?: string | undefined);
|
|
30
|
+
/** Reference to motionAxis element expose/ Ссылка на expose элемента motionAxis */
|
|
31
|
+
readonly element: Ref<ConstrBind<MotionAxisExpose> | undefined, ConstrBind<MotionAxisExpose> | undefined>;
|
|
32
|
+
/** Computed selected element/ Вычисляемый выбранный элемент */
|
|
33
|
+
readonly selectedItem: ComputedRef<string | Props["selected"] | undefined>;
|
|
34
|
+
/** Computed bindings for the motionAxis/ Вычисляемые привязки для motionAxis */
|
|
35
|
+
readonly binds: ComputedRef<PropsExtra>;
|
|
36
|
+
/**
|
|
37
|
+
* Render the MotionAxis component with slots/
|
|
38
|
+
* Рендер компонента MotionAxis со слотами
|
|
39
|
+
* @param slotsChildren slots passed to the motionAxis/ слоты, передаваемые motionAxis
|
|
40
|
+
* @param attrs additional attributes/ дополнительные атрибуты
|
|
41
|
+
*/
|
|
42
|
+
readonly render: (slotsChildren?: MotionAxisSlots, attrs?: Record<string, any>) => VNode[];
|
|
43
|
+
/**
|
|
44
|
+
* Emits 'motionAxis' event upward/
|
|
45
|
+
* Поднимает событие 'motionAxis' наверх
|
|
46
|
+
* @param options event payload/ параметры события
|
|
47
|
+
*/
|
|
48
|
+
protected readonly onMotionAxis: (options: MotionAxisEmitOptions) => void;
|
|
49
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { MotionAxisStyles } from './MotionAxisStyles';
|
|
2
|
+
import { MotionAxisSelectedValue } from './basicTypes';
|
|
3
|
+
import { Ref } from 'vue';
|
|
4
|
+
/**
|
|
5
|
+
* Class for managing the previous slide.
|
|
6
|
+
*
|
|
7
|
+
* Класс для управления предыдущим слайдом.
|
|
8
|
+
*/
|
|
9
|
+
export declare class MotionAxisPrevious {
|
|
10
|
+
protected readonly styles: MotionAxisStyles;
|
|
11
|
+
/**
|
|
12
|
+
* Identifier of the previous slide.
|
|
13
|
+
*
|
|
14
|
+
* Идентификатор предыдущего слайда.
|
|
15
|
+
*/
|
|
16
|
+
readonly item: Ref<MotionAxisSelectedValue, MotionAxisSelectedValue>;
|
|
17
|
+
/**
|
|
18
|
+
* Constructor
|
|
19
|
+
* @param styles style management object / объект управления стилями
|
|
20
|
+
*/
|
|
21
|
+
constructor(styles: MotionAxisStyles);
|
|
22
|
+
/**
|
|
23
|
+
* Checks if the value matches the previous slide.
|
|
24
|
+
*
|
|
25
|
+
* Проверяет, совпадает ли значение с предыдущим слайдом.
|
|
26
|
+
* @param value value to check / значение для проверки
|
|
27
|
+
*/
|
|
28
|
+
is(value: string): boolean;
|
|
29
|
+
/**
|
|
30
|
+
* Returns the previous slide.
|
|
31
|
+
*
|
|
32
|
+
* Возвращает предыдущий слайд.
|
|
33
|
+
*/
|
|
34
|
+
get(): MotionAxisSelectedValue | undefined;
|
|
35
|
+
/**
|
|
36
|
+
* Changing the display status.
|
|
37
|
+
*
|
|
38
|
+
* Изменение статуса отображения.
|
|
39
|
+
* @param value values for change / значения для изменения
|
|
40
|
+
*/
|
|
41
|
+
set(value?: string): this;
|
|
42
|
+
}
|