@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
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { t as e } from "./defineProperty-hmGKPWdq.js";
|
|
2
|
+
import { computed as t } from "vue";
|
|
3
|
+
import { getRef as n, toBinds as r } from "@dxtmisha/functional";
|
|
4
|
+
//#region src/constructors/Actions/ActionsInclude.ts
|
|
5
|
+
var i = class {
|
|
6
|
+
constructor(i, a, o, s, c, l) {
|
|
7
|
+
e(this, "is", t(() => !!(!this.props.actionsHide && (this.binds.value.list || this.binds.value.listSecondary)))), e(this, "binds", t(() => {
|
|
8
|
+
var e, t;
|
|
9
|
+
let i = r(n(this.extra), this.props.actionsAttrs, { class: `${this.className}__actions` });
|
|
10
|
+
return {
|
|
11
|
+
...i,
|
|
12
|
+
list: (e = this.props.actionsList) == null ? i.list : e,
|
|
13
|
+
listSecondary: (t = this.props.actionsSecondary) == null ? i.listSecondary : t,
|
|
14
|
+
onClick: this.onClick
|
|
15
|
+
};
|
|
16
|
+
})), e(this, "render", () => this.components && this.is.value ? this.components.render("actions", this.binds.value, void 0, this.index) : []), e(this, "onClick", (e, t) => {
|
|
17
|
+
var n, r;
|
|
18
|
+
(n = this.emits) == null || n.call(this, "actions", e, t), (r = this.emits) == null || r.call(this, "actionsLite", t);
|
|
19
|
+
}), this.props = i, this.className = a, this.components = o, this.emits = s, this.extra = c, this.index = l;
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
//#endregion
|
|
23
|
+
export { i as t };
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { isString as e } from "@dxtmisha/functional";
|
|
2
|
+
//#region src/classes/AriaStaticInclude.ts
|
|
3
|
+
var t = class {
|
|
4
|
+
static role(e) {
|
|
5
|
+
return { role: e };
|
|
6
|
+
}
|
|
7
|
+
static atomic(e) {
|
|
8
|
+
return { "aria-atomic": this.isTrueOrFalse(e) };
|
|
9
|
+
}
|
|
10
|
+
static checked(e) {
|
|
11
|
+
return { "aria-checked": this.isTrueOrFalse(e) };
|
|
12
|
+
}
|
|
13
|
+
static controls(e) {
|
|
14
|
+
return this.isDataToData("aria-controls", e);
|
|
15
|
+
}
|
|
16
|
+
static current(t) {
|
|
17
|
+
let n = e(t) ? t : this.isTrueOrFalse(t);
|
|
18
|
+
return this.isDataToData("aria-current", n);
|
|
19
|
+
}
|
|
20
|
+
static busy(e) {
|
|
21
|
+
return { "aria-busy": this.isTrueOrFalse(e) };
|
|
22
|
+
}
|
|
23
|
+
static describedby(e) {
|
|
24
|
+
return this.isDataToData("aria-describedby", e);
|
|
25
|
+
}
|
|
26
|
+
static disabled(e = !0) {
|
|
27
|
+
return e ? { "aria-disabled": this.isTrueOrFalse(e) } : {};
|
|
28
|
+
}
|
|
29
|
+
static expanded(e) {
|
|
30
|
+
return { "aria-expanded": this.isTrueOrFalse(e) };
|
|
31
|
+
}
|
|
32
|
+
static haspopup(e) {
|
|
33
|
+
return this.isDataToData("aria-haspopup", e);
|
|
34
|
+
}
|
|
35
|
+
static label(e) {
|
|
36
|
+
return this.isDataToData("aria-label", e);
|
|
37
|
+
}
|
|
38
|
+
static labelledby(e) {
|
|
39
|
+
return this.isDataToData("aria-labelledby", e);
|
|
40
|
+
}
|
|
41
|
+
static invalid(e = !0) {
|
|
42
|
+
return e ? { "aria-invalid": this.isTrueOrFalse(e) } : {};
|
|
43
|
+
}
|
|
44
|
+
static control(e, t, n, r) {
|
|
45
|
+
return {
|
|
46
|
+
id: e,
|
|
47
|
+
...this.controls(t),
|
|
48
|
+
...this.haspopup(n),
|
|
49
|
+
...this.expanded(r)
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
static hidden(e = !0) {
|
|
53
|
+
return { "aria-hidden": this.isTrueOrFalse(e) };
|
|
54
|
+
}
|
|
55
|
+
static live(e) {
|
|
56
|
+
return this.isDataToData("aria-live", e);
|
|
57
|
+
}
|
|
58
|
+
static ariaModal(e = !0) {
|
|
59
|
+
return this.isDataToData("aria-modal", e);
|
|
60
|
+
}
|
|
61
|
+
static modal(e = !0, t, n) {
|
|
62
|
+
return {
|
|
63
|
+
...this.ariaModal(e),
|
|
64
|
+
...this.labelledby(t),
|
|
65
|
+
...this.describedby(n)
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
static multiselectable(e) {
|
|
69
|
+
return { "aria-multiselectable": this.isTrueOrFalse(e) };
|
|
70
|
+
}
|
|
71
|
+
static selected(e) {
|
|
72
|
+
return e === void 0 ? {} : { "aria-selected": this.isTrueOrFalse(e) };
|
|
73
|
+
}
|
|
74
|
+
static valueMinMax(e, t, n) {
|
|
75
|
+
return {
|
|
76
|
+
"aria-valuenow": e,
|
|
77
|
+
"aria-valuemin": t,
|
|
78
|
+
"aria-valuemax": n
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
static isTrueOrFalse(e) {
|
|
82
|
+
return e ? "true" : "false";
|
|
83
|
+
}
|
|
84
|
+
static isDataToData(e, t) {
|
|
85
|
+
return t ? { [e]: t } : {};
|
|
86
|
+
}
|
|
87
|
+
};
|
|
88
|
+
//#endregion
|
|
89
|
+
export { t };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { t as e } from "./defineProperty-hmGKPWdq.js";
|
|
2
|
+
import { computed as t } from "vue";
|
|
3
|
+
import { getRef as n, toBinds as r } from "@dxtmisha/functional";
|
|
4
|
+
//#region src/constructors/Arrow/ArrowInclude.ts
|
|
5
|
+
var i = class {
|
|
6
|
+
constructor(i, a, o, s, c, l) {
|
|
7
|
+
e(this, "is", t(() => !!this.props.arrowShow)), e(this, "binds", t(() => r(n(this.extra), this.props.arrowAttrs, {
|
|
8
|
+
class: `${this.className}__arrow`,
|
|
9
|
+
elementTarget: this.elementTarget
|
|
10
|
+
}))), e(this, "render", () => this.components && this.is.value ? this.components.render("arrow", this.binds.value, void 0, this.index) : []), this.props = i, this.className = a, this.components = o, this.elementTarget = s, this.extra = c, this.index = l;
|
|
11
|
+
}
|
|
12
|
+
};
|
|
13
|
+
//#endregion
|
|
14
|
+
export { i as t };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { t as e } from "./defineProperty-hmGKPWdq.js";
|
|
2
|
+
import { computed as t } from "vue";
|
|
3
|
+
import { getBind as n, getRef as r, toBind as i } from "@dxtmisha/functional";
|
|
4
|
+
//#region src/constructors/Badge/BadgeInclude.ts
|
|
5
|
+
var a = class {
|
|
6
|
+
constructor(a, o, s, c) {
|
|
7
|
+
e(this, "is", t(() => !!(this.props.badge || this.props.badgeDot))), e(this, "binds", t(() => {
|
|
8
|
+
var e;
|
|
9
|
+
return n(this.props.badgeDot ? {} : this.props.badge, {
|
|
10
|
+
dot: this.props.badgeDot,
|
|
11
|
+
...i((e = r(this.extra)) == null ? {} : e, { class: `${this.className}__badge` })
|
|
12
|
+
}, "label", !0);
|
|
13
|
+
})), e(this, "render", () => this.components && this.is.value ? this.components.render("badge", this.binds.value, void 0, "badge") : []), this.props = a, this.className = o, this.components = s, this.extra = c;
|
|
14
|
+
}
|
|
15
|
+
};
|
|
16
|
+
//#endregion
|
|
17
|
+
export { a as t };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { t as e } from "./defineProperty-hmGKPWdq.js";
|
|
2
|
+
import { computed as t, ref as n } from "vue";
|
|
3
|
+
import { getRef as r, toBinds as i } from "@dxtmisha/functional";
|
|
4
|
+
//#region src/constructors/Bars/BarsInclude.ts
|
|
5
|
+
var a = class {
|
|
6
|
+
constructor(a, o, s, c, l, u, d, f) {
|
|
7
|
+
e(this, "element", n()), e(this, "is", t(() => !!(this.props.barsLabel || this.props.barsDescription || this.props.barsBackHide !== !0))), e(this, "binds", t(() => ({
|
|
8
|
+
...i(r(this.extra), this.props.barsAttrs, { class: `${this.className}__bars` }),
|
|
9
|
+
labelId: this.labelId,
|
|
10
|
+
label: this.props.barsLabel,
|
|
11
|
+
descriptionId: this.descriptionId,
|
|
12
|
+
description: this.props.barsDescription,
|
|
13
|
+
backHide: this.props.barsBackHide,
|
|
14
|
+
bars: this.props.barsList
|
|
15
|
+
}))), e(this, "render", () => {
|
|
16
|
+
if (this.components && !this.props.barsHide) {
|
|
17
|
+
var e;
|
|
18
|
+
return this.components.render("bars", {
|
|
19
|
+
ref: this.element,
|
|
20
|
+
...this.binds.value,
|
|
21
|
+
onClick: this.onClick
|
|
22
|
+
}, void 0, (e = this.index) == null ? "bars" : e);
|
|
23
|
+
}
|
|
24
|
+
return [];
|
|
25
|
+
}), e(this, "onClick", (e, t) => {
|
|
26
|
+
var n, r;
|
|
27
|
+
if ((n = this.emits) == null || n.call(this, "bars", e, t), (r = this.emits) == null || r.call(this, "barsLite", t), t.type === "back") {
|
|
28
|
+
var i;
|
|
29
|
+
(i = this.emits) == null || i.call(this, "barsBack", t);
|
|
30
|
+
}
|
|
31
|
+
}), this.props = a, this.className = o, this.components = s, this.emits = c, this.extra = l, this.labelId = u, this.descriptionId = d, this.index = f;
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
//#endregion
|
|
35
|
+
export { a as t };
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import { t as e } from "./AriaStaticInclude-CS1hPGyK.js";
|
|
2
|
+
import { t } from "./defineProperty-hmGKPWdq.js";
|
|
3
|
+
import { t as n } from "./LabelInclude-DoZ7EUYO.js";
|
|
4
|
+
import { t as r } from "./DescriptionInclude-B_Xf_j3l.js";
|
|
5
|
+
import { t as i } from "./IconInclude-BhzGfa3o.js";
|
|
6
|
+
import { t as a } from "./CaptionInclude-CunHUsec.js";
|
|
7
|
+
import { computed as o, h as s } from "vue";
|
|
8
|
+
import { DesignConstructorAbstract as c } from "@dxtmisha/functional";
|
|
9
|
+
//#region src/constructors/Block/Block.ts
|
|
10
|
+
var l = class {
|
|
11
|
+
constructor(e, s, c, l, u, d, f, p, m) {
|
|
12
|
+
t(this, "label", void 0), t(this, "description", void 0), t(this, "caption", void 0), t(this, "icon", void 0), t(this, "isHeadline", o(() => !!(this.props.headline || this.slots && "headline" in this.slots))), t(this, "isHeader", o(() => this.label.is.value || this.caption.is.value || this.description.is.value)), t(this, "tag", o(() => this.props.tag || "div")), this.props = e, this.refs = s, this.element = c, this.classDesign = l, this.className = u, this.components = d, this.slots = f, this.emits = p;
|
|
13
|
+
let { CaptionIncludeConstructor: h = a, DescriptionIncludeConstructor: g = r, IconIncludeConstructor: _ = i, LabelIncludeConstructor: v = n } = m == null ? {} : m;
|
|
14
|
+
this.label = new v(e, u, void 0, f, void 0, void 0, !0, void 0, o(() => this.props.tagHeader || "h3")), this.caption = new h(e, u, f), this.description = new g(e, u, f), this.icon = new _(e, u, d);
|
|
15
|
+
}
|
|
16
|
+
}, u = {
|
|
17
|
+
tag: "div",
|
|
18
|
+
tagHeader: "h3"
|
|
19
|
+
}, d = class extends c {
|
|
20
|
+
constructor(e, n, r, i = l) {
|
|
21
|
+
super(e, n, r), t(this, "item", void 0), t(this, "renderHeadline", () => {
|
|
22
|
+
if (this.item.isHeadline.value) {
|
|
23
|
+
var e;
|
|
24
|
+
let t = [];
|
|
25
|
+
return this.props.headline && t.push(this.props.headline), this.initSlot("headline", t), [s("div", {
|
|
26
|
+
key: "headline",
|
|
27
|
+
class: (e = this.classes) == null ? void 0 : e.value.headline
|
|
28
|
+
}, t)];
|
|
29
|
+
}
|
|
30
|
+
return [];
|
|
31
|
+
}), t(this, "renderHeader", () => {
|
|
32
|
+
if (this.item.isHeader.value) {
|
|
33
|
+
var e;
|
|
34
|
+
let t = [
|
|
35
|
+
...this.item.icon.renderIcon(),
|
|
36
|
+
...this.item.label.render(),
|
|
37
|
+
...this.item.caption.render(),
|
|
38
|
+
...this.renderTrailing()
|
|
39
|
+
];
|
|
40
|
+
return [s("div", {
|
|
41
|
+
key: "header",
|
|
42
|
+
class: (e = this.classes) == null ? void 0 : e.value.header
|
|
43
|
+
}, t)];
|
|
44
|
+
}
|
|
45
|
+
return [];
|
|
46
|
+
}), t(this, "renderTrailing", () => {
|
|
47
|
+
var e;
|
|
48
|
+
let t = [];
|
|
49
|
+
if ((e = this.slots) != null && e.trailing) {
|
|
50
|
+
var n;
|
|
51
|
+
t.push(s("div", {
|
|
52
|
+
key: "spacer",
|
|
53
|
+
class: (n = this.classes) == null ? void 0 : n.value.space
|
|
54
|
+
})), this.initSlot("trailing", t);
|
|
55
|
+
}
|
|
56
|
+
return t;
|
|
57
|
+
}), t(this, "renderBody", () => {
|
|
58
|
+
let e = [
|
|
59
|
+
...this.renderHeadline(),
|
|
60
|
+
...this.renderHeader(),
|
|
61
|
+
...this.item.description.render()
|
|
62
|
+
];
|
|
63
|
+
if (e.length > 0) {
|
|
64
|
+
var t;
|
|
65
|
+
return [s("div", {
|
|
66
|
+
key: "body",
|
|
67
|
+
class: (t = this.classes) == null ? void 0 : t.value.body
|
|
68
|
+
}, e)];
|
|
69
|
+
}
|
|
70
|
+
return [];
|
|
71
|
+
}), this.item = new i(this.props, this.refs, this.element, this.getDesign(), this.getName(), this.components, this.slots, this.emits), this.init();
|
|
72
|
+
}
|
|
73
|
+
initExpose() {
|
|
74
|
+
return {};
|
|
75
|
+
}
|
|
76
|
+
initClasses() {
|
|
77
|
+
return {
|
|
78
|
+
main: {},
|
|
79
|
+
headline: this.getSubClass("headline"),
|
|
80
|
+
header: this.getSubClass("header"),
|
|
81
|
+
label: this.getSubClass("label"),
|
|
82
|
+
description: this.getSubClass("description"),
|
|
83
|
+
caption: this.getSubClass("caption"),
|
|
84
|
+
icon: this.getSubClass("icon"),
|
|
85
|
+
space: this.getSubClass("space"),
|
|
86
|
+
body: this.getSubClass("body")
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
initStyles() {
|
|
90
|
+
return {};
|
|
91
|
+
}
|
|
92
|
+
initRender() {
|
|
93
|
+
let e = [...this.renderBody()];
|
|
94
|
+
return this.initSlot("default", e), s(this.item.tag.value, this.getProps(), e);
|
|
95
|
+
}
|
|
96
|
+
getProps() {
|
|
97
|
+
var t;
|
|
98
|
+
let n = {
|
|
99
|
+
...this.getAttrs(),
|
|
100
|
+
class: (t = this.classes) == null ? void 0 : t.value.main
|
|
101
|
+
};
|
|
102
|
+
return this.item.label.is.value && Object.assign(n, e.labelledby(this.item.label.id.value)), this.item.description.is.value && Object.assign(n, e.describedby(this.item.description.id.value)), n;
|
|
103
|
+
}
|
|
104
|
+
};
|
|
105
|
+
//#endregion
|
|
106
|
+
export { u as n, l as r, d as t };
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { t as e } from "./AriaStaticInclude-CS1hPGyK.js";
|
|
2
|
+
import { t } from "./defineProperty-hmGKPWdq.js";
|
|
3
|
+
import { t as n } from "./ProgressInclude-BnPBYwJg.js";
|
|
4
|
+
import { t as r } from "./EnabledInclude-CkD_lxMY.js";
|
|
5
|
+
import { t as i } from "./EventClickInclude-6I8kuFc9.js";
|
|
6
|
+
import { t as a } from "./SkeletonInclude-D8on8xmw.js";
|
|
7
|
+
import { t as o } from "./LabelInclude-DoZ7EUYO.js";
|
|
8
|
+
import { t as s } from "./getClassTagAStatic-BPIEWyHY.js";
|
|
9
|
+
import { t as c } from "./IconTrailingInclude-BwoB_AQn.js";
|
|
10
|
+
import { t as l } from "./RippleInclude-BlC1h0Ya.js";
|
|
11
|
+
import { computed as u, h as d } from "vue";
|
|
12
|
+
import { DesignConstructorAbstract as f } from "@dxtmisha/functional";
|
|
13
|
+
//#region src/constructors/Button/Button.ts
|
|
14
|
+
var p = class {
|
|
15
|
+
constructor(d, f, p, m, h, g, _, v, y) {
|
|
16
|
+
t(this, "label", void 0), t(this, "enabled", void 0), t(this, "icon", void 0), t(this, "progress", void 0), t(this, "ripple", void 0), t(this, "skeleton", void 0), t(this, "event", void 0), t(this, "tag", u(() => this.props.tag ? this.props.tag : this.props.href ? "a" : "button")), t(this, "classes", u(() => ({
|
|
17
|
+
[`${this.className}--icon`]: this.icon.isIcon.value,
|
|
18
|
+
[s(this.classDesign)]: !0,
|
|
19
|
+
...this.skeleton.classes.value
|
|
20
|
+
}))), t(this, "aria", u(() => {
|
|
21
|
+
let t = {
|
|
22
|
+
...this.progress.aria.value,
|
|
23
|
+
...e.label(this.props.ariaLabel)
|
|
24
|
+
};
|
|
25
|
+
return this.isTagNotButton() ? {
|
|
26
|
+
tabindex: "0",
|
|
27
|
+
...t,
|
|
28
|
+
...e.role("button"),
|
|
29
|
+
...e.disabled(this.progress.is.value || !this.enabled.isEnabled.value)
|
|
30
|
+
} : t;
|
|
31
|
+
})), t(this, "eventList", u(() => {
|
|
32
|
+
let e = {
|
|
33
|
+
...this.event.getHref(),
|
|
34
|
+
onClick: this.event.onClick
|
|
35
|
+
};
|
|
36
|
+
return this.isTagNotButton() && (e.onKeydown = this.event.onKeydown), e;
|
|
37
|
+
})), this.props = d, this.refs = f, this.element = p, this.classDesign = m, this.className = h, this.components = g, this.slots = _, this.emits = v;
|
|
38
|
+
let { EnabledConstructor: b = r, EventConstructor: x = i, IconConstructor: S = c, LabelConstructor: C = o, ProgressConstructor: w = n, RippleConstructor: T = l, SkeletonConstructor: E = a } = y == null ? {} : y, D = new w(d, h, g, {
|
|
39
|
+
circular: !0,
|
|
40
|
+
inverse: !0
|
|
41
|
+
});
|
|
42
|
+
this.label = new C(d, h, void 0, _), this.enabled = new b(d, D), this.icon = new S(d, h, g), this.progress = D, this.ripple = new T(h, g, this.enabled), this.skeleton = new E(d, m, ["classBackground"]), this.event = new x(d, this.enabled, v);
|
|
43
|
+
}
|
|
44
|
+
isTagNotButton() {
|
|
45
|
+
return !!(this.props.tag && ["a", "button"].indexOf(this.props.tag) === -1);
|
|
46
|
+
}
|
|
47
|
+
}, m = {}, h = class extends f {
|
|
48
|
+
constructor(e, n, r, i = p) {
|
|
49
|
+
super(e, n, r), t(this, "item", void 0), this.item = new i(this.props, this.refs, this.element, this.getDesign(), this.getName(), this.components, this.slots, this.emits), this.init();
|
|
50
|
+
}
|
|
51
|
+
initExpose() {
|
|
52
|
+
return { ...this.item.event.expose };
|
|
53
|
+
}
|
|
54
|
+
initClasses() {
|
|
55
|
+
return {
|
|
56
|
+
main: this.item.classes.value,
|
|
57
|
+
label: this.getSubClass("label"),
|
|
58
|
+
icon: this.getSubClass("icon"),
|
|
59
|
+
trailing: this.getSubClass("trailing"),
|
|
60
|
+
loading: this.getSubClass("loading")
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
initStyles() {
|
|
64
|
+
return {};
|
|
65
|
+
}
|
|
66
|
+
initRender() {
|
|
67
|
+
var e, t;
|
|
68
|
+
return d(this.item.tag.value, {
|
|
69
|
+
...this.getAttrs(),
|
|
70
|
+
ref: this.element,
|
|
71
|
+
type: this.props.type,
|
|
72
|
+
class: (e = this.classes) == null ? void 0 : e.value.main,
|
|
73
|
+
style: (t = this.styles) == null ? void 0 : t.value,
|
|
74
|
+
"data-value": this.props.value,
|
|
75
|
+
disabled: this.item.enabled.isDisabledOrUndefined.value,
|
|
76
|
+
...this.item.eventList.value,
|
|
77
|
+
...this.item.aria.value
|
|
78
|
+
}, [
|
|
79
|
+
...this.item.progress.render(),
|
|
80
|
+
...this.item.label.render(),
|
|
81
|
+
...this.item.icon.render(),
|
|
82
|
+
...this.item.ripple.render()
|
|
83
|
+
]);
|
|
84
|
+
}
|
|
85
|
+
};
|
|
86
|
+
//#endregion
|
|
87
|
+
export { m as n, p as r, h as t };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { t as e } from "./defineProperty-hmGKPWdq.js";
|
|
2
|
+
import { computed as t } from "vue";
|
|
3
|
+
import { getBind as n, getRef as r, toBinds as i } from "@dxtmisha/functional";
|
|
4
|
+
//#region src/constructors/Button/ButtonInclude.ts
|
|
5
|
+
var a = class {
|
|
6
|
+
constructor(a, o, s, c, l, u) {
|
|
7
|
+
e(this, "binds", t(() => {
|
|
8
|
+
var e;
|
|
9
|
+
return i((e = this.props) == null ? void 0 : e.buttonAttrs, n(r(this.label), r(this.extra), "label"));
|
|
10
|
+
})), e(this, "render", (e) => {
|
|
11
|
+
if (this.components && ("label" in this.binds.value || "icon" in this.binds.value || "iconTrailing" in this.binds.value)) {
|
|
12
|
+
var t;
|
|
13
|
+
return this.components.render("button", {
|
|
14
|
+
...this.binds.value,
|
|
15
|
+
...r(e)
|
|
16
|
+
}, void 0, (t = this.index) == null ? "button" : t);
|
|
17
|
+
}
|
|
18
|
+
return [];
|
|
19
|
+
}), this.label = a, this.className = o, this.components = s, this.props = c, this.extra = l, this.index = u;
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
//#endregion
|
|
23
|
+
export { a as t };
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { t as e } from "./AriaStaticInclude-CS1hPGyK.js";
|
|
2
|
+
import { t } from "./defineProperty-hmGKPWdq.js";
|
|
3
|
+
import { computed as n } from "vue";
|
|
4
|
+
import { isFilled as r, render as i } from "@dxtmisha/functional";
|
|
5
|
+
//#region src/classes/CaptionInclude.ts
|
|
6
|
+
var a = class {
|
|
7
|
+
constructor(r, i, a, o) {
|
|
8
|
+
t(this, "is", n(() => {
|
|
9
|
+
var e;
|
|
10
|
+
return !!(this.props.caption || (e = this.slots) != null && e.caption);
|
|
11
|
+
})), t(this, "binds", n(() => {
|
|
12
|
+
var t;
|
|
13
|
+
let n = {
|
|
14
|
+
class: {
|
|
15
|
+
[`${this.className}__caption`]: !0,
|
|
16
|
+
...(t = this.skeleton) == null ? void 0 : t.classes.value
|
|
17
|
+
},
|
|
18
|
+
"data-event-type": "caption"
|
|
19
|
+
};
|
|
20
|
+
return this.props.captionDecorative ? {
|
|
21
|
+
...n,
|
|
22
|
+
...e.hidden()
|
|
23
|
+
} : {
|
|
24
|
+
...n,
|
|
25
|
+
...e.live("polite"),
|
|
26
|
+
...e.atomic(!0)
|
|
27
|
+
};
|
|
28
|
+
})), this.props = r, this.className = i, this.slots = a, this.skeleton = o;
|
|
29
|
+
}
|
|
30
|
+
render() {
|
|
31
|
+
var e;
|
|
32
|
+
let t = [];
|
|
33
|
+
if (r(this.props.caption) && t.push(this.props.caption), (e = this.slots) != null && e.caption) {
|
|
34
|
+
var n, a;
|
|
35
|
+
t.push((n = (a = this.slots).caption) == null ? void 0 : n.call(a, {}));
|
|
36
|
+
}
|
|
37
|
+
return t.length > 0 ? [i("div", this.binds.value, t, "caption")] : [];
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
//#endregion
|
|
41
|
+
export { a as t };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { t as e } from "./defineProperty-hmGKPWdq.js";
|
|
2
|
+
import { computed as t } from "vue";
|
|
3
|
+
import { getElementId as n, isFilled as r, render as i } from "@dxtmisha/functional";
|
|
4
|
+
//#region src/classes/DescriptionInclude.ts
|
|
5
|
+
var a = class {
|
|
6
|
+
constructor(r, i, a, o) {
|
|
7
|
+
e(this, "is", t(() => {
|
|
8
|
+
var e;
|
|
9
|
+
return !!(this.props.description || (e = this.slots) != null && e.description);
|
|
10
|
+
})), e(this, "id", t(() => {
|
|
11
|
+
var e;
|
|
12
|
+
return ((e = this.props) == null ? void 0 : e.descriptionId) || n();
|
|
13
|
+
})), this.props = r, this.className = i, this.slots = a, this.skeleton = o;
|
|
14
|
+
}
|
|
15
|
+
render() {
|
|
16
|
+
var e;
|
|
17
|
+
let t = [];
|
|
18
|
+
if (r(this.props.description) && t.push(this.props.description), (e = this.slots) != null && e.description) {
|
|
19
|
+
var n, a;
|
|
20
|
+
t.push((n = (a = this.slots).description) == null ? void 0 : n.call(a, {}));
|
|
21
|
+
}
|
|
22
|
+
if (t.length > 0) {
|
|
23
|
+
var o;
|
|
24
|
+
return [i("div", {
|
|
25
|
+
id: this.id.value,
|
|
26
|
+
class: {
|
|
27
|
+
[`${this.className}__description`]: !0,
|
|
28
|
+
...(o = this.skeleton) == null ? void 0 : o.classes.value
|
|
29
|
+
}
|
|
30
|
+
}, t, "description")];
|
|
31
|
+
}
|
|
32
|
+
return [];
|
|
33
|
+
}
|
|
34
|
+
};
|
|
35
|
+
//#endregion
|
|
36
|
+
export { a as t };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { t as e } from "./AriaStaticInclude-CS1hPGyK.js";
|
|
2
|
+
import { t } from "./defineProperty-hmGKPWdq.js";
|
|
3
|
+
import { computed as n } from "vue";
|
|
4
|
+
//#region src/classes/EnabledInclude.ts
|
|
5
|
+
var r = class {
|
|
6
|
+
constructor(r, i) {
|
|
7
|
+
t(this, "isEnabled", n(() => !this.props.disabled && !this.props.readonly && (!this.progress || !this.progress.is.value) && !!(!("dynamic" in this.props) || this.props.dynamic))), t(this, "isReadonly", n(() => !!this.props.readonly)), t(this, "isDisabled", n(() => !!this.props.disabled)), t(this, "isDisabledOrUndefined", n(() => this.isDisabled.value || void 0)), t(this, "aria", n(() => e.disabled(!this.isEnabled.value))), this.props = r, this.progress = i;
|
|
8
|
+
}
|
|
9
|
+
};
|
|
10
|
+
//#endregion
|
|
11
|
+
export { r as t };
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { t as e } from "./defineProperty-hmGKPWdq.js";
|
|
2
|
+
import { toRefs as t } from "vue";
|
|
3
|
+
import { RouterItemRef as n, isEnter as r, isObjectNotArray as i } from "@dxtmisha/functional";
|
|
4
|
+
//#region src/classes/EventClickInclude.ts
|
|
5
|
+
var a = class {
|
|
6
|
+
constructor(n, i, a) {
|
|
7
|
+
e(this, "refs", void 0), e(this, "onClick", (e, t) => {
|
|
8
|
+
if (this.emits) if (t) this.emit(e, t);
|
|
9
|
+
else if (this.toRouter()) e.preventDefault();
|
|
10
|
+
else if (this.enabled) {
|
|
11
|
+
let t = this.getOptions(e);
|
|
12
|
+
(this.enabled.isEnabled.value || t.type === "icon-trailing" && !this.enabled.isDisabled.value) && this.emit(e, t);
|
|
13
|
+
} else this.emit(e, this.getOptions(e));
|
|
14
|
+
}), e(this, "onKeydown", (e, t) => {
|
|
15
|
+
r(e) && (this.onClick(e, t), e.preventDefault());
|
|
16
|
+
}), this.props = n, this.enabled = i, this.emits = a, this.refs = n ? t(n) : void 0;
|
|
17
|
+
}
|
|
18
|
+
get binds() {
|
|
19
|
+
return {
|
|
20
|
+
...this.getHref(),
|
|
21
|
+
onClick: this.onClick,
|
|
22
|
+
onKeydown: this.onKeydown
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
get expose() {
|
|
26
|
+
var e, t;
|
|
27
|
+
return {
|
|
28
|
+
value: (e = this.refs) == null ? void 0 : e.value,
|
|
29
|
+
detail: (t = this.refs) == null ? void 0 : t.detail
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
getHref() {
|
|
33
|
+
var e, t, r;
|
|
34
|
+
let a = (e = this.props) == null ? void 0 : e.to;
|
|
35
|
+
return (t = this.props) != null && t.to && i(a) && "name" in a ? n.rawToHref(a) : { href: (r = this.props) == null ? void 0 : r.href };
|
|
36
|
+
}
|
|
37
|
+
getOptions(e) {
|
|
38
|
+
var t, n;
|
|
39
|
+
return {
|
|
40
|
+
type: this.getTargetType(e),
|
|
41
|
+
value: (t = this.props) == null ? void 0 : t.value,
|
|
42
|
+
detail: (n = this.props) == null ? void 0 : n.detail
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
getTargetType(e) {
|
|
46
|
+
var t;
|
|
47
|
+
let n = (t = e.target) == null || (t = t.closest("[data-event-type]")) == null || (t = t.dataset) == null ? void 0 : t.eventType;
|
|
48
|
+
return n == null ? "click" : n;
|
|
49
|
+
}
|
|
50
|
+
toRouter() {
|
|
51
|
+
var e;
|
|
52
|
+
if ((e = this.props) != null && e.to) {
|
|
53
|
+
var t;
|
|
54
|
+
return n.push((t = this.props) == null ? void 0 : t.to), !0;
|
|
55
|
+
}
|
|
56
|
+
return !1;
|
|
57
|
+
}
|
|
58
|
+
emit(e, t) {
|
|
59
|
+
this.emits && (this.emits("click", e, t), this.emits("clickLite", t));
|
|
60
|
+
}
|
|
61
|
+
};
|
|
62
|
+
//#endregion
|
|
63
|
+
export { a as t };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { t as e } from "./defineProperty-hmGKPWdq.js";
|
|
2
|
+
import { computed as t } from "vue";
|
|
3
|
+
import { getRef as n, isFilled as r, isNull as i, toBinds as a } from "@dxtmisha/functional";
|
|
4
|
+
//#region src/constructors/FieldCounter/FieldCounterInclude.ts
|
|
5
|
+
var o = class {
|
|
6
|
+
constructor(o, s, c, l, u) {
|
|
7
|
+
e(this, "isCounter", t(() => !!(this.props.counterShow && (!i(this.props.counter) || r(this.props.maxlength))))), e(this, "binds", t(() => a(n(this.extra), {
|
|
8
|
+
id: this.props.counterId,
|
|
9
|
+
counter: this.props.counter,
|
|
10
|
+
maxlength: this.props.maxlength,
|
|
11
|
+
template: this.props.counterTemplate
|
|
12
|
+
}, this.props.fieldCounterAttrs))), e(this, "bindsIntermediary", t(() => ({
|
|
13
|
+
counter: this.props.counter,
|
|
14
|
+
counterShow: this.props.counterShow,
|
|
15
|
+
counterTemplate: this.props.counterTemplate,
|
|
16
|
+
maxlength: this.props.maxlength,
|
|
17
|
+
fieldCounterAttrs: this.props.fieldCounterAttrs
|
|
18
|
+
}))), e(this, "render", () => this.components && this.isCounter.value ? this.components.render("fieldCounter", { ...a(this.binds.value, { class: `${this.className}__fieldCounter` }) }, void 0, this.index) : []), this.props = o, this.className = s, this.components = c, this.extra = l, this.index = u;
|
|
19
|
+
}
|
|
20
|
+
};
|
|
21
|
+
//#endregion
|
|
22
|
+
export { o as t };
|