@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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { VNode } from 'vue';
|
|
2
2
|
import { ConstrEmit, DesignComponents } from '@dxtmisha/functional';
|
|
3
|
-
import {
|
|
3
|
+
import { ScrollbarComponentInclude, ScrollbarEmitsInclude, ScrollbarPropsInclude, ScrollbarEdgeType } from './basicTypes';
|
|
4
4
|
/**
|
|
5
5
|
* ScrollbarInclude class provides functionality for conditionally rendering scrollbar components
|
|
6
6
|
* within other components. It manages the logic for determining when to display a scrollbar
|
|
@@ -15,7 +15,7 @@ import { ScrollbarComponentsInclude, ScrollbarEmitsInclude, ScrollbarPropsInclud
|
|
|
15
15
|
export declare class ScrollbarInclude<Props extends ScrollbarPropsInclude = ScrollbarPropsInclude> {
|
|
16
16
|
protected readonly props: Readonly<Props>;
|
|
17
17
|
protected readonly className: string;
|
|
18
|
-
protected readonly components?: DesignComponents<
|
|
18
|
+
protected readonly components?: DesignComponents<ScrollbarComponentInclude, Props> | undefined;
|
|
19
19
|
protected readonly emits?: ConstrEmit<ScrollbarEmitsInclude> | undefined;
|
|
20
20
|
/**
|
|
21
21
|
* Constructor
|
|
@@ -24,7 +24,7 @@ export declare class ScrollbarInclude<Props extends ScrollbarPropsInclude = Scro
|
|
|
24
24
|
* @param components object for working with components/ объект для работы с компонентами
|
|
25
25
|
* @param emits the function is called when an event is triggered/ функция вызывается, когда срабатывает событие
|
|
26
26
|
*/
|
|
27
|
-
constructor(props: Readonly<Props>, className: string, components?: DesignComponents<
|
|
27
|
+
constructor(props: Readonly<Props>, className: string, components?: DesignComponents<ScrollbarComponentInclude, Props> | undefined, emits?: ConstrEmit<ScrollbarEmitsInclude> | undefined);
|
|
28
28
|
/**
|
|
29
29
|
* Renders scrollbar component or fallback element
|
|
30
30
|
* Рендерит компонент скроллбара или элемент по умолчанию
|
|
@@ -10,7 +10,8 @@ export type ScrollbarEdgeType = 'top' | 'bottom';
|
|
|
10
10
|
* Interface for describing which components need to be connected for work/
|
|
11
11
|
* Интерфейс для описания, какие компоненты надо подключить для работы
|
|
12
12
|
*/
|
|
13
|
-
export type
|
|
13
|
+
export type ScrollbarComponentInclude = {
|
|
14
|
+
/** Scrollbar component configuration/ Конфигурация компонента скроллбара */
|
|
14
15
|
scrollbar?: object;
|
|
15
16
|
};
|
|
16
17
|
/**
|
|
@@ -18,12 +19,19 @@ export type ScrollbarComponentsInclude = {
|
|
|
18
19
|
* Интерфейс для описания доступных событий с префиксом scrollbar
|
|
19
20
|
*/
|
|
20
21
|
export type ScrollbarEmitsInclude = {
|
|
22
|
+
/** Event triggered when reaching the top/ Событие при достижении верха */
|
|
21
23
|
scrollbarTop: ScrollbarEmits['top'];
|
|
24
|
+
/** Event triggered when precisely reaching the top position/ Событие при точном достижении верхней позиции */
|
|
22
25
|
scrollbarReachTop: ScrollbarEmits['reachTop'];
|
|
26
|
+
/** Event triggered when leaving the top position/ Событие при уходе с верхней позиции */
|
|
23
27
|
scrollbarLeaveTop: ScrollbarEmits['leaveTop'];
|
|
28
|
+
/** Event triggered when reaching the bottom/ Событие при достижении низа */
|
|
24
29
|
scrollbarBottom: ScrollbarEmits['bottom'];
|
|
30
|
+
/** Event triggered when precisely reaching the bottom position/ Событие при точном достижении нижней позиции */
|
|
25
31
|
scrollbarReachBottom: ScrollbarEmits['reachBottom'];
|
|
32
|
+
/** Event triggered when leaving the bottom position/ Событие при уходе с нижней позиции */
|
|
26
33
|
scrollbarLeaveBottom: ScrollbarEmits['leaveBottom'];
|
|
34
|
+
/** Event triggered when reaching any edge/ Событие при достижении любого края */
|
|
27
35
|
scrollbarEdge: ScrollbarEmits['edge'];
|
|
28
36
|
};
|
|
29
37
|
/**
|
|
@@ -31,5 +39,6 @@ export type ScrollbarEmitsInclude = {
|
|
|
31
39
|
* Интерфейс для описания доступных свойств для включения скроллбара
|
|
32
40
|
*/
|
|
33
41
|
export type ScrollbarPropsInclude<Scrollbar extends ScrollbarPropsBasic = ScrollbarPropsBasic> = {
|
|
42
|
+
/** Additional attributes for the scrollbar/ Дополнительные атрибуты для скроллбара */
|
|
34
43
|
scrollbarAttrs?: ConstrBind<Scrollbar>;
|
|
35
44
|
};
|
|
@@ -12,12 +12,19 @@ export type ScrollbarComponents = {};
|
|
|
12
12
|
* Тип, описывающий доступные события.
|
|
13
13
|
*/
|
|
14
14
|
export type ScrollbarEmits = {
|
|
15
|
+
/** Event triggered when reaching the top/ Событие при достижении верха */
|
|
15
16
|
top: [isTop: boolean];
|
|
17
|
+
/** Event triggered when precisely reaching the top position/ Событие при точном достижении верхней позиции */
|
|
16
18
|
reachTop: [];
|
|
19
|
+
/** Event triggered when leaving the top position/ Событие при уходе с верхней позиции */
|
|
17
20
|
leaveTop: [];
|
|
21
|
+
/** Event triggered when reaching the bottom/ Событие при достижении низа */
|
|
18
22
|
bottom: [isBottom: boolean];
|
|
23
|
+
/** Event triggered when precisely reaching the bottom position/ Событие при точном достижении нижней позиции */
|
|
19
24
|
reachBottom: [];
|
|
25
|
+
/** Event triggered when leaving the bottom position/ Событие при уходе с нижней позиции */
|
|
20
26
|
leaveBottom: [];
|
|
27
|
+
/** Event triggered when reaching any edge/ Событие при достижении любого края */
|
|
21
28
|
edge: [isTop: boolean, isBottom: boolean, edge: ScrollbarEdgeType];
|
|
22
29
|
};
|
|
23
30
|
/**
|
|
@@ -33,6 +40,7 @@ export interface ScrollbarExpose {
|
|
|
33
40
|
* Тип, описывающий доступные слоты.
|
|
34
41
|
*/
|
|
35
42
|
export interface ScrollbarSlots {
|
|
43
|
+
/** Slot for default scrollbar content/ Слот для основного содержимого скроллбара */
|
|
36
44
|
default?(props: any): any;
|
|
37
45
|
}
|
|
38
46
|
/**
|
|
@@ -47,19 +47,32 @@ export declare class Select {
|
|
|
47
47
|
* @param components object for working with components/ объект для работы с компонентами
|
|
48
48
|
* @param slots object for working with slots/ объект для работы со слотами
|
|
49
49
|
* @param emits the function is called when an event is triggered/ функция вызывается, когда срабатывает событие
|
|
50
|
-
* @param
|
|
51
|
-
* @param
|
|
52
|
-
* @param
|
|
53
|
-
* @param
|
|
54
|
-
* @param
|
|
55
|
-
* @param
|
|
56
|
-
* @param
|
|
57
|
-
* @param
|
|
58
|
-
* @param
|
|
59
|
-
* @param
|
|
60
|
-
* @param SelectFilterConstructor class for working with select filter/ класс для работы с фильтром выбора
|
|
50
|
+
* @param constructors object with classes/ объект с классами
|
|
51
|
+
* @param constructors.FieldAttributesIncludeConstructor class for working with field attributes/ класс для работы с атрибутами поля
|
|
52
|
+
* @param constructors.FieldChangeIncludeConstructor class for working with field change/ класс для работы с изменением поля
|
|
53
|
+
* @param constructors.FieldCodeIncludeConstructor class for working with field code/ класс для работы с кодом поля
|
|
54
|
+
* @param constructors.FieldElementIncludeConstructor class for working with field element/ класс для работы с элементом поля
|
|
55
|
+
* @param constructors.FieldEventIncludeConstructor class for working with field event/ класс для работы с событием поля
|
|
56
|
+
* @param constructors.FieldIncludeConstructor class for working with field/ класс для работы с полем
|
|
57
|
+
* @param constructors.FieldValidationIncludeConstructor class for working with field validation/ класс для работы с валидацией поля
|
|
58
|
+
* @param constructors.FieldValueIncludeConstructor class for working with field value/ класс для работы со значением поля
|
|
59
|
+
* @param constructors.MenuIncludeConstructor class for working with menu/ класс для работы с меню
|
|
60
|
+
* @param constructors.SelectFilterConstructor class for working with select filter/ класс для работы с фильтром выбора
|
|
61
|
+
* @param constructors.SelectInputConstructor class for working with select input/ класс для работы с вводом выбора
|
|
61
62
|
*/
|
|
62
|
-
constructor(props: SelectProps, refs: ToRefs<SelectProps>, element: Ref<HTMLElement | undefined>, classDesign: string, className: string, components?: DesignComp<SelectComponents, SelectProps> | undefined, slots?: SelectSlots | undefined, emits?: ConstrEmit<SelectEmits> | undefined,
|
|
63
|
+
constructor(props: SelectProps, refs: ToRefs<SelectProps>, element: Ref<HTMLElement | undefined>, classDesign: string, className: string, components?: DesignComp<SelectComponents, SelectProps> | undefined, slots?: SelectSlots | undefined, emits?: ConstrEmit<SelectEmits> | undefined, constructors?: {
|
|
64
|
+
FieldAttributesIncludeConstructor?: typeof FieldAttributesInclude;
|
|
65
|
+
FieldChangeIncludeConstructor?: typeof FieldChangeInclude;
|
|
66
|
+
FieldCodeIncludeConstructor?: typeof FieldCodeInclude;
|
|
67
|
+
FieldElementIncludeConstructor?: typeof FieldElementInclude;
|
|
68
|
+
FieldEventIncludeConstructor?: typeof FieldEventInclude;
|
|
69
|
+
FieldIncludeConstructor?: typeof FieldInclude;
|
|
70
|
+
FieldValidationIncludeConstructor?: typeof FieldValidationInclude;
|
|
71
|
+
FieldValueIncludeConstructor?: typeof FieldValueInclude;
|
|
72
|
+
MenuIncludeConstructor?: typeof MenuInclude;
|
|
73
|
+
SelectFilterConstructor?: typeof SelectFilter;
|
|
74
|
+
SelectInputConstructor?: typeof SelectInput;
|
|
75
|
+
});
|
|
63
76
|
/** Checks whether there are slots for context areas/ Проверяет, есть ли слоты для контекстных областей */
|
|
64
77
|
protected readonly isSlot: ComputedRef<boolean>;
|
|
65
78
|
/** Computes the trailing icon value/ Вычисляет значение иконки трейлинга */
|
|
@@ -10,12 +10,21 @@ import { MenuPropsBasic, MenuPropsInclude } from '../Menu';
|
|
|
10
10
|
import { FieldSelectProps } from '../../types/fieldTypes';
|
|
11
11
|
export type SelectPropsToken = {};
|
|
12
12
|
export type SelectPropsBasic<Icon extends IconPropsBasic = IconPropsBasic, Field extends FieldPropsBasic = FieldPropsBasic, FieldLabel extends FieldLabelPropsBasic = FieldLabelPropsBasic, FieldMessage extends FieldMessagePropsBasic = FieldMessagePropsBasic, FieldCounter extends FieldCounterPropsBasic = FieldCounterPropsBasic, Input extends InputPropsBasic = InputPropsBasic, Progress extends ProgressPropsBasic = ProgressPropsBasic, Menu extends MenuPropsBasic = MenuPropsBasic> = FieldPropsInclude<Icon, Field, FieldLabel, FieldMessage, FieldCounter, Progress> & FieldSelectProps & MenuPropsInclude<Menu> & {
|
|
13
|
+
/** Value/ Значения */
|
|
14
|
+
/** Whether the value is editable/ Редактируемое ли значение */
|
|
13
15
|
editValue?: boolean;
|
|
16
|
+
/** Style/ Стили */
|
|
17
|
+
/** Whether to hide the list/ Скрывать ли список */
|
|
14
18
|
hideList?: boolean;
|
|
19
|
+
/** Whether to show the search input/ Показывать ли поле поиска */
|
|
15
20
|
showSearch?: boolean;
|
|
21
|
+
/** Whether to enabled filtering mode/ Включен ли режим фильтрации */
|
|
16
22
|
filterMode?: boolean;
|
|
23
|
+
/** Icon for the down arrow/ Иконка для стрелки вниз */
|
|
17
24
|
iconArrowDown?: IconValue<Icon>;
|
|
25
|
+
/** Icon for the search/ Иконка для поиска */
|
|
18
26
|
iconSearch?: IconValue<Icon>;
|
|
27
|
+
/** Additional attributes for the search input/ Дополнительные атрибуты для поля поиска */
|
|
19
28
|
inputSearchAttrs?: ConstrBind<Input>;
|
|
20
29
|
};
|
|
21
30
|
/**
|
|
@@ -32,11 +32,16 @@ export declare class SelectValue {
|
|
|
32
32
|
* @param components object for working with components/ объект для работы с компонентами
|
|
33
33
|
* @param slots object for working with slots/ объект для работы со слотами
|
|
34
34
|
* @param emits the function is called when an event is triggered/ функция вызывается, когда срабатывает событие
|
|
35
|
-
* @param
|
|
36
|
-
* @param
|
|
37
|
-
* @param
|
|
35
|
+
* @param constructors object with classes/ объект с классами
|
|
36
|
+
* @param constructors.EnabledConstructor class for creating the enabled state/ класс для создания состояния активности
|
|
37
|
+
* @param constructors.EventConstructor class for creating an event/ класс для создания события
|
|
38
|
+
* @param constructors.WindowClassesConstructor class for working with window classes/ класс для работы с классами окна
|
|
38
39
|
*/
|
|
39
|
-
constructor(props: SelectValueProps, refs: ToRefs<SelectValueProps>, element: Ref<HTMLElement | undefined>, classDesign: string, className: string, components?: DesignComp<SelectValueComponents, SelectValueProps> | undefined, slots?: SelectValueSlots | undefined, emits?: ConstrEmit<SelectValueEmits> | undefined,
|
|
40
|
+
constructor(props: SelectValueProps, refs: ToRefs<SelectValueProps>, element: Ref<HTMLElement | undefined>, classDesign: string, className: string, components?: DesignComp<SelectValueComponents, SelectValueProps> | undefined, slots?: SelectValueSlots | undefined, emits?: ConstrEmit<SelectValueEmits> | undefined, constructors?: {
|
|
41
|
+
EnabledConstructor?: typeof EnabledInclude;
|
|
42
|
+
EventConstructor?: typeof EventClickInclude;
|
|
43
|
+
WindowClassesConstructor?: typeof WindowClassesInclude;
|
|
44
|
+
});
|
|
40
45
|
/** Is placeholder/ Является ли плейсхолдером */
|
|
41
46
|
readonly isPlaceholder: ComputedRef<boolean>;
|
|
42
47
|
/** Icon for canceling selection/ Иконка для отмены выбора */
|
|
@@ -5,10 +5,13 @@ import { SelectValueProps } from './props';
|
|
|
5
5
|
* Тип, описывающий включение компонента selectValue
|
|
6
6
|
*/
|
|
7
7
|
export type SelectValueComponentInclude = {
|
|
8
|
+
/** SelectValue component configuration/ Конфигурация компонента значения выбора */
|
|
8
9
|
selectValue?: object;
|
|
9
10
|
};
|
|
10
11
|
/** Interface for selectValue include props/ Интерфейс для свойств включения selectValue */
|
|
11
12
|
export interface SelectValuePropsInclude {
|
|
13
|
+
/** Whether the component is disabled/ Отключен ли компонент */
|
|
12
14
|
disabled?: boolean;
|
|
15
|
+
/** Additional attributes for the SelectValue component/ Дополнительные атрибуты для компонента SelectValue */
|
|
13
16
|
selectValueAttrs?: ConstrBind<SelectValueProps>;
|
|
14
17
|
}
|
|
@@ -4,11 +4,19 @@ import { ChipPropsBasic, ChipPropsInclude } from '../Chip';
|
|
|
4
4
|
import { EnabledProps } from '../../types/enabledTypes';
|
|
5
5
|
export type SelectValuePropsToken = {};
|
|
6
6
|
export type SelectValuePropsBasic<Icon extends IconPropsBasic = IconPropsBasic, Chip extends ChipPropsBasic = ChipPropsBasic> = EnabledProps & ChipPropsInclude<Chip> & {
|
|
7
|
+
/** Value/ Значения */
|
|
8
|
+
/** Placeholder text/ Текст плейсхолдера */
|
|
7
9
|
placeholder?: string;
|
|
10
|
+
/** Current selected value/ Текущее выбранное значение */
|
|
8
11
|
value?: ListList;
|
|
12
|
+
/** Style/ Стили */
|
|
13
|
+
/** Whether multiple selection is enabled/ Включен ли множественный выбор */
|
|
9
14
|
multiple?: boolean;
|
|
15
|
+
/** Whether to show the icon/ Показывать ли иконку */
|
|
10
16
|
iconShow?: boolean;
|
|
17
|
+
/** Additional attributes for the icon/ Дополнительные атрибуты для иконки */
|
|
11
18
|
iconAttrs?: ConstrBind<Icon>;
|
|
19
|
+
/** Icon for the cancel/ Иконка для отмены */
|
|
12
20
|
iconCancel?: IconValue<Icon>;
|
|
13
21
|
};
|
|
14
22
|
/**
|
|
@@ -1,14 +1,27 @@
|
|
|
1
|
+
/** List of classes for the skeleton/ Список классов для скелета */
|
|
1
2
|
export type SkeletonClassesList = {
|
|
3
|
+
/** Class for text/ Класс для текста */
|
|
2
4
|
classText: string;
|
|
5
|
+
/** Class for text variant/ Класс для варианта текста */
|
|
3
6
|
classTextVariant: string;
|
|
7
|
+
/** Class for background/ Класс для фона */
|
|
4
8
|
classBackground: string;
|
|
9
|
+
/** Class for background after/ Класс для фона после */
|
|
5
10
|
classBackgroundAfter: string;
|
|
11
|
+
/** Class for background before/ Класс для фона перед */
|
|
6
12
|
classBackgroundBefore: string;
|
|
13
|
+
/** Class for background variant/ Класс для варианта фона */
|
|
7
14
|
classBackgroundVariant: string;
|
|
15
|
+
/** Class for border/ Класс для границы */
|
|
8
16
|
classBorder: string;
|
|
17
|
+
/** Class for border variant/ Класс для варианта границы */
|
|
9
18
|
classBorderVariant: string;
|
|
19
|
+
/** Class for hidden state/ Класс для скрытого состояния */
|
|
10
20
|
classNone: string;
|
|
11
21
|
};
|
|
22
|
+
/** Interface for including skeleton properties/ Интерфейс для включения свойств скелета */
|
|
12
23
|
export type SkeletonPropsInclude = {
|
|
24
|
+
/** Style/ Стили */
|
|
25
|
+
/** Whether the skeleton is active/ Активен ли скелет */
|
|
13
26
|
isSkeleton?: boolean;
|
|
14
27
|
};
|
|
@@ -19,6 +19,7 @@ export type SkeletonEmits = {};
|
|
|
19
19
|
* Тип, описывающий доступные свойства.
|
|
20
20
|
*/
|
|
21
21
|
export interface SkeletonExpose {
|
|
22
|
+
/** Whether the skeleton is currently active/ Активен ли скелет в данный момент */
|
|
22
23
|
isActive: ComputedRef<boolean>;
|
|
23
24
|
}
|
|
24
25
|
/**
|
|
@@ -27,6 +28,7 @@ export interface SkeletonExpose {
|
|
|
27
28
|
* Тип, описывающий доступные слоты.
|
|
28
29
|
*/
|
|
29
30
|
export interface SkeletonSlots {
|
|
31
|
+
/** Slot for default skeleton content/ Слот для основного содержимого скелета */
|
|
30
32
|
default?(props: SkeletonClassesList): any;
|
|
31
33
|
}
|
|
32
34
|
/**
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { Ref, ToRefs } from 'vue';
|
|
2
|
+
import { ConstrEmit, DesignComp } from '@dxtmisha/functional';
|
|
3
|
+
import { SnackbarData } from './SnackbarData';
|
|
4
|
+
import { SnackbarEvent } from './SnackbarEvent';
|
|
5
|
+
import { SnackbarComponents, SnackbarEmits, SnackbarSlots } from './types';
|
|
6
|
+
import { SnackbarProps } from './props';
|
|
7
|
+
/**
|
|
8
|
+
* Snackbar
|
|
9
|
+
*/
|
|
10
|
+
export declare class Snackbar {
|
|
11
|
+
protected readonly props: SnackbarProps;
|
|
12
|
+
protected readonly refs: ToRefs<SnackbarProps>;
|
|
13
|
+
protected readonly element: Ref<HTMLDivElement | undefined>;
|
|
14
|
+
protected readonly classDesign: string;
|
|
15
|
+
protected readonly className: string;
|
|
16
|
+
protected readonly components?: DesignComp<SnackbarComponents, SnackbarProps> | undefined;
|
|
17
|
+
protected readonly slots?: SnackbarSlots | undefined;
|
|
18
|
+
protected readonly emits?: ConstrEmit<SnackbarEmits> | undefined;
|
|
19
|
+
/** Data manager for snackbar / Менеджер данных для снекбара */
|
|
20
|
+
readonly data: SnackbarData;
|
|
21
|
+
/** Event manager for snackbar / Менеджер событий для снекбара */
|
|
22
|
+
readonly event: SnackbarEvent;
|
|
23
|
+
/**
|
|
24
|
+
* Constructor
|
|
25
|
+
* @param props input data / входные данные
|
|
26
|
+
* @param refs input data in the form of reactive elements / входные данные в виде реактивных элементов
|
|
27
|
+
* @param element input element / элемент ввода
|
|
28
|
+
* @param classDesign design name / название дизайна
|
|
29
|
+
* @param className class name / название класса
|
|
30
|
+
* @param components object for working with components / объект для работы с компонентами
|
|
31
|
+
* @param slots object for working with slots / объект для работы со слотами
|
|
32
|
+
* @param emits the function is called when an event is triggered / функция вызывается, когда срабатывает событие
|
|
33
|
+
* @param constructors object with classes / объект с классами
|
|
34
|
+
* @param constructors.DataConstructor class for creating data / класс для создания данных
|
|
35
|
+
*/
|
|
36
|
+
constructor(props: SnackbarProps, refs: ToRefs<SnackbarProps>, element: Ref<HTMLDivElement | undefined>, classDesign: string, className: string, components?: DesignComp<SnackbarComponents, SnackbarProps> | undefined, slots?: SnackbarSlots | undefined, emits?: ConstrEmit<SnackbarEmits> | undefined, constructors?: {
|
|
37
|
+
DataConstructor?: typeof SnackbarData;
|
|
38
|
+
EventConstructor?: typeof SnackbarEvent;
|
|
39
|
+
});
|
|
40
|
+
/**
|
|
41
|
+
* Event for hiding the message.
|
|
42
|
+
*
|
|
43
|
+
* Событие для скрытия сообщения.
|
|
44
|
+
* @param value element identification / идентификация элемента
|
|
45
|
+
*/
|
|
46
|
+
readonly onClose: (value: string) => void;
|
|
47
|
+
}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { Ref, ShallowRef, ComputedRef } from 'vue';
|
|
2
|
+
import { SnackbarEvent } from './SnackbarEvent';
|
|
3
|
+
import { SnackbarList, SnackbarValue } from './basicTypes';
|
|
4
|
+
import { SnackbarProps } from './props';
|
|
5
|
+
/**
|
|
6
|
+
* SnackbarData
|
|
7
|
+
*/
|
|
8
|
+
export declare class SnackbarData {
|
|
9
|
+
protected readonly props: Readonly<SnackbarProps>;
|
|
10
|
+
protected readonly element: Ref<HTMLDivElement | undefined>;
|
|
11
|
+
protected readonly className: string;
|
|
12
|
+
protected readonly event?: SnackbarEvent | undefined;
|
|
13
|
+
/** Message list/ Список сообщений */
|
|
14
|
+
readonly item: ShallowRef<SnackbarList, SnackbarList>;
|
|
15
|
+
/**
|
|
16
|
+
* Constructor
|
|
17
|
+
* @param props input data/ входные данные
|
|
18
|
+
* @param element window element/ элемент окна
|
|
19
|
+
* @param className class name/ название класса
|
|
20
|
+
* @param event event manager for snackbar/ менеджер событий для снекбара
|
|
21
|
+
*/
|
|
22
|
+
constructor(props: Readonly<SnackbarProps>, element: Ref<HTMLDivElement | undefined>, className: string, event?: SnackbarEvent | undefined);
|
|
23
|
+
/**
|
|
24
|
+
* Checks if there is an active element.
|
|
25
|
+
*
|
|
26
|
+
* Проверяет, есть ли активный элемент.
|
|
27
|
+
*/
|
|
28
|
+
readonly isItem: ComputedRef<boolean>;
|
|
29
|
+
/**
|
|
30
|
+
* Checks if the element is prioritized.
|
|
31
|
+
*
|
|
32
|
+
* Проверяет, есть ли элемент в приоритете.
|
|
33
|
+
*/
|
|
34
|
+
readonly isPriority: ComputedRef<boolean>;
|
|
35
|
+
/**
|
|
36
|
+
* Returns a message element by its value.
|
|
37
|
+
*
|
|
38
|
+
* Возвращает запись сообщения по его идентификатору.
|
|
39
|
+
* @param value element identification/ идентификация элемента
|
|
40
|
+
*/
|
|
41
|
+
getItemByValue(value: string): SnackbarValue | undefined;
|
|
42
|
+
/**
|
|
43
|
+
* Add message element.
|
|
44
|
+
*
|
|
45
|
+
* Добавить элемент сообщения.
|
|
46
|
+
* @param item add element/ элемент добавления
|
|
47
|
+
*/
|
|
48
|
+
readonly add: (item: SnackbarValue) => void;
|
|
49
|
+
/**
|
|
50
|
+
* Deleting message element.
|
|
51
|
+
*
|
|
52
|
+
* Удаление элемента сообщения.
|
|
53
|
+
* @param value element identification/ идентификация элемента
|
|
54
|
+
*/
|
|
55
|
+
readonly remove: (value: string) => void;
|
|
56
|
+
/**
|
|
57
|
+
* Clear all message elements.
|
|
58
|
+
*
|
|
59
|
+
* Очистить все элементы сообщений.
|
|
60
|
+
*/
|
|
61
|
+
readonly clear: () => void;
|
|
62
|
+
/**
|
|
63
|
+
* Returns a message element by its value.
|
|
64
|
+
*
|
|
65
|
+
* Возвращает элемент сообщения по его идентификатору.
|
|
66
|
+
* @param value element identification/ идентификация элемента
|
|
67
|
+
*/
|
|
68
|
+
protected getElementItem(value: string): HTMLDivElement | undefined;
|
|
69
|
+
/**
|
|
70
|
+
* Returns a message value.
|
|
71
|
+
*
|
|
72
|
+
* Возвращает идентификатор сообщения.
|
|
73
|
+
* @param item message element/ элемент сообщения
|
|
74
|
+
*/
|
|
75
|
+
protected getItemValue(item: SnackbarValue): string;
|
|
76
|
+
/**
|
|
77
|
+
* Returns a message delay.
|
|
78
|
+
*
|
|
79
|
+
* Возвращает задержку сообщения.
|
|
80
|
+
* @param item message element/ элемент сообщения
|
|
81
|
+
*/
|
|
82
|
+
protected getItemDelay(item: SnackbarValue): number;
|
|
83
|
+
/**
|
|
84
|
+
* Record deletion.
|
|
85
|
+
*
|
|
86
|
+
* Удаление записи.
|
|
87
|
+
* @param value element identification/ идентификация элемента
|
|
88
|
+
*/
|
|
89
|
+
protected toNone(value: string): void;
|
|
90
|
+
/**
|
|
91
|
+
* Managing the element during display.
|
|
92
|
+
*
|
|
93
|
+
* Управление элементом при выводе.
|
|
94
|
+
* @param value element identification/ идентификация элемента
|
|
95
|
+
* @param delay delay for closing the element/ задержка для закрытия элемента
|
|
96
|
+
*/
|
|
97
|
+
protected toShow(value: string, delay: number): void;
|
|
98
|
+
/**
|
|
99
|
+
* Scroll to the end.
|
|
100
|
+
*
|
|
101
|
+
* Прокрутить до конца.
|
|
102
|
+
*/
|
|
103
|
+
protected toScroll(): void;
|
|
104
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { VNode } from 'vue';
|
|
2
|
+
import { ConstrOptions, ConstrStyles, DesignConstructorAbstract } from '@dxtmisha/functional';
|
|
3
|
+
import { Snackbar } from './Snackbar';
|
|
4
|
+
import { SnackbarValue } from './basicTypes';
|
|
5
|
+
import { SnackbarPropsBasic } from './props';
|
|
6
|
+
import { SnackbarClasses, SnackbarComponents, SnackbarEmits, SnackbarExpose, SnackbarSlots } from './types';
|
|
7
|
+
/**
|
|
8
|
+
* SnackbarDesign
|
|
9
|
+
*/
|
|
10
|
+
export declare class SnackbarDesign<COMP extends SnackbarComponents, EXPOSE extends SnackbarExpose, CLASSES extends SnackbarClasses, P extends SnackbarPropsBasic> extends DesignConstructorAbstract<HTMLDivElement, COMP, SnackbarEmits, EXPOSE, SnackbarSlots, CLASSES, P> {
|
|
11
|
+
protected readonly item: Snackbar;
|
|
12
|
+
/**
|
|
13
|
+
* Constructor
|
|
14
|
+
* @param name class name/ название класса
|
|
15
|
+
* @param props properties/ свойства
|
|
16
|
+
* @param options list of additional parameters/ список дополнительных параметров
|
|
17
|
+
* @param ItemConstructor constructors item class/ класс элемента конструкторов
|
|
18
|
+
*/
|
|
19
|
+
constructor(name: string, props: Readonly<P>, options?: ConstrOptions<COMP, SnackbarEmits, P>, ItemConstructor?: typeof Snackbar);
|
|
20
|
+
/**
|
|
21
|
+
* Initialization of all the necessary properties for work
|
|
22
|
+
*
|
|
23
|
+
* Инициализация всех необходимых свойств для работы.
|
|
24
|
+
*/
|
|
25
|
+
protected initExpose(): EXPOSE;
|
|
26
|
+
/**
|
|
27
|
+
* Improvement of the obtained list of classes.
|
|
28
|
+
*
|
|
29
|
+
* Доработка полученного списка классов.
|
|
30
|
+
*/
|
|
31
|
+
protected initClasses(): Partial<CLASSES>;
|
|
32
|
+
/**
|
|
33
|
+
* Refinement of the received list of styles.
|
|
34
|
+
*
|
|
35
|
+
* Доработка полученного списка стилей.
|
|
36
|
+
*/
|
|
37
|
+
protected initStyles(): ConstrStyles;
|
|
38
|
+
/**
|
|
39
|
+
* A method for rendering.
|
|
40
|
+
*
|
|
41
|
+
* Метод для рендеринга.
|
|
42
|
+
*/
|
|
43
|
+
protected initRender(): VNode | undefined;
|
|
44
|
+
/**
|
|
45
|
+
* Rendering a list of elements.
|
|
46
|
+
*
|
|
47
|
+
* Рендер списка элементов.
|
|
48
|
+
*/
|
|
49
|
+
protected readonly renderData: () => VNode[];
|
|
50
|
+
/**
|
|
51
|
+
* Element rendering.
|
|
52
|
+
*
|
|
53
|
+
* Рендер элемента.
|
|
54
|
+
* @param item add element / элемент добавления
|
|
55
|
+
*/
|
|
56
|
+
protected readonly renderItem: (item: SnackbarValue) => VNode;
|
|
57
|
+
/**
|
|
58
|
+
* Render separators by priority.
|
|
59
|
+
*
|
|
60
|
+
* Рендер разделителей по приоритету.
|
|
61
|
+
*/
|
|
62
|
+
protected readonly renderSpace: () => VNode[];
|
|
63
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { ConstrEmit } from '@dxtmisha/functional';
|
|
2
|
+
import { SnackbarValue } from './basicTypes';
|
|
3
|
+
import { SnackbarEmits } from './types';
|
|
4
|
+
/**
|
|
5
|
+
* Class for managing events for the snackbar.
|
|
6
|
+
*
|
|
7
|
+
* Класс для управления событиями для снекбара.
|
|
8
|
+
*/
|
|
9
|
+
export declare class SnackbarEvent {
|
|
10
|
+
protected readonly emits?: ConstrEmit<SnackbarEmits> | undefined;
|
|
11
|
+
/**
|
|
12
|
+
* Constructor
|
|
13
|
+
* @param emits the function is called when an event is triggered / функция вызывается, когда срабатывает событие
|
|
14
|
+
*/
|
|
15
|
+
constructor(emits?: ConstrEmit<SnackbarEmits> | undefined);
|
|
16
|
+
/**
|
|
17
|
+
* Event for showing the message.
|
|
18
|
+
*
|
|
19
|
+
* Событие для показа сообщения.
|
|
20
|
+
* @param value element identification / идентификация элемента
|
|
21
|
+
* @param item message element / элемент сообщения
|
|
22
|
+
*/
|
|
23
|
+
show(value: string, item: SnackbarValue): void;
|
|
24
|
+
/**
|
|
25
|
+
* Event for hiding the message.
|
|
26
|
+
*
|
|
27
|
+
* Событие для скрытия сообщения.
|
|
28
|
+
* @param value element identification / идентификация элемента
|
|
29
|
+
* @param item message element / элемент сообщения
|
|
30
|
+
*/
|
|
31
|
+
hide(value: string, item: SnackbarValue): void;
|
|
32
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ConstrBind } from '@dxtmisha/functional';
|
|
2
|
+
import { SnackbarItemPropsBasic } from '../SnackbarItem';
|
|
3
|
+
/** Type for the snackbar value item/ Тип для элемента значения снекбара */
|
|
4
|
+
export type SnackbarValue = {
|
|
5
|
+
/** Custom component for the snackbar item/ Пользовательский компонент для уведомления */
|
|
6
|
+
component?: any;
|
|
7
|
+
/** Data properties for the snackbar item/ Параметры данных для уведомления */
|
|
8
|
+
data?: ConstrBind<SnackbarItemPropsBasic>;
|
|
9
|
+
/** Whether the notification has high priority/ Имеет ли уведомление высокий приоритет */
|
|
10
|
+
highPriority?: boolean;
|
|
11
|
+
/** Delay before auto-closing/ Задержка перед автоматическим закрытием */
|
|
12
|
+
delay?: number;
|
|
13
|
+
/** Text value of the notification/ Текстовое значение уведомления */
|
|
14
|
+
value?: string;
|
|
15
|
+
};
|
|
16
|
+
/** Type for the list of snackbar values/ Тип для списка значений снекбара */
|
|
17
|
+
export type SnackbarList = SnackbarValue[];
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
type SnackbarPropsToken = {
|
|
2
|
+
full?: boolean;
|
|
3
|
+
all?: boolean;
|
|
4
|
+
limit?: '1' | '2' | '4' | '6' | '8';
|
|
5
|
+
vertical?: 'top' | 'bottom';
|
|
6
|
+
horizontal?: 'right' | 'left' | 'block';
|
|
7
|
+
origin?: 'topToBottom' | 'bottomToTop' | 'rightToLeft' | 'leftToRight';
|
|
8
|
+
};
|
|
9
|
+
export type SnackbarPropsBasic = {
|
|
10
|
+
/** Delay before auto-closing the notification/ Задержка перед автоматическим закрытием уведомления */
|
|
11
|
+
delay?: number;
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* Type describing incoming properties.
|
|
15
|
+
*
|
|
16
|
+
* Тип, описывающий входящие свойства.
|
|
17
|
+
*/
|
|
18
|
+
export type SnackbarProps = SnackbarPropsBasic & SnackbarPropsToken;
|
|
19
|
+
/**
|
|
20
|
+
* Default value for property.
|
|
21
|
+
*
|
|
22
|
+
* Значение по умолчанию для свойства.
|
|
23
|
+
*/
|
|
24
|
+
export declare const defaultsSnackbar: {
|
|
25
|
+
delay: number;
|
|
26
|
+
};
|
|
27
|
+
export {};
|