@dxtmisha/constructor 0.30.1 → 0.39.3
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 +838 -0
- package/dist/ActionsInclude-H5ZWeXJj.js +64 -0
- package/dist/AriaStaticInclude-CFGewqpn.js +219 -0
- package/dist/ArrowInclude-CcpT637l.js +47 -0
- package/dist/BarsInclude-IM3Gdslg.js +69 -0
- package/dist/BlockDesign-D67yDT9N.js +233 -0
- package/dist/ButtonDesign-DZ7QCmHk.js +169 -0
- package/dist/CaptionInclude-AFVF4qyd.js +52 -0
- package/dist/DescriptionInclude-DxWNon_J.js +65 -0
- package/dist/EnabledInclude-DGeuJhOr.js +46 -0
- package/dist/EventClickInclude-eDWqxK0d.js +93 -0
- package/dist/FieldCounterInclude-BR6n8WlH.js +59 -0
- package/dist/FieldEventInclude-zg02dtQi.js +715 -0
- package/dist/FieldInclude-c6DSD0-y.js +134 -0
- package/dist/FieldInputCheckInclude-CjNYyGTb.js +79 -0
- package/dist/FieldLabelInclude-B4OGaJ1r.js +64 -0
- package/dist/FieldMatchInclude-Vl2gJUaM.js +302 -0
- package/dist/FieldMessageInclude-CktVHvWW.js +71 -0
- package/dist/IconInclude-CLqwI29Q.js +123 -0
- package/dist/IconTrailingInclude-CdsOcDxv.js +83 -0
- package/dist/LabelHighlightInclude-Dhj3p9NW.js +75 -0
- package/dist/LabelInclude-BtZrrbCf.js +132 -0
- package/dist/LabelNumberInclude-DyifvMnr.js +46 -0
- package/dist/ListGroupOpen-Bl_HIQoV.js +43 -0
- package/dist/MenuInclude-DfGCfr_I.js +94 -0
- package/dist/ModalDesignAbstract-CjDr5JaN.js +179 -0
- package/dist/ModelInclude-BiYm_iCQ.js +73 -0
- package/dist/ModelValueInclude-CJmm5go9.js +48 -0
- package/dist/MotionTransformClassesInclude-B23RIq0Q.js +214 -0
- package/dist/MotionTransformInclude-P_oRs3JZ.js +97 -0
- package/dist/ProgressInclude-UBipdctr.js +56 -0
- package/dist/RippleInclude-Du5yIzX_.js +21 -0
- package/dist/SkeletonInclude-BIUzAO2s.js +105 -0
- package/dist/SuffixInclude-C7JNYCJK.js +97 -0
- package/dist/TabIndexInclude-d7A_R6KD.js +167 -0
- package/dist/TextInclude-i1OBAFTG.js +76 -0
- package/dist/TooltipInclude--QRSE83v.js +76 -0
- package/dist/TouchEventInclude-DctYCjt8.js +186 -0
- package/dist/WindowClassesInclude-B56usxgx.js +213 -0
- package/dist/WindowEsc-Dp9AvJt7.js +72 -0
- package/dist/WindowInclude-Is5RhGxt.js +117 -0
- package/dist/accordion.js +178 -0
- package/dist/actionSheet.js +140 -0
- package/dist/actions.js +191 -0
- package/dist/anchor.js +358 -0
- package/dist/arrow.js +666 -0
- package/dist/badge.js +136 -0
- package/dist/bars.js +332 -0
- package/dist/block.js +10 -0
- package/dist/button.js +65 -0
- package/dist/cell.js +275 -0
- package/dist/chip.js +82 -0
- package/dist/chipGroup.js +160 -0
- package/dist/classes/AriaStaticInclude.d.ts +150 -0
- package/dist/classes/CaptionInclude.d.ts +34 -0
- package/dist/classes/DescriptionInclude.d.ts +44 -0
- package/dist/classes/EnabledInclude.d.ts +43 -0
- package/dist/classes/EventClickInclude.d.ts +62 -0
- package/dist/classes/LabelHighlightInclude.d.ts +52 -0
- package/dist/classes/LabelInclude.d.ts +82 -0
- package/dist/classes/LabelNumberInclude.d.ts +38 -0
- package/dist/classes/ModelInclude.d.ts +61 -0
- package/dist/classes/ModelValueInclude.d.ts +40 -0
- package/dist/classes/PrefixInclude.d.ts +34 -0
- package/dist/classes/SuffixInclude.d.ts +34 -0
- package/dist/classes/TabIndexInclude.d.ts +109 -0
- package/dist/classes/TextInclude.d.ts +49 -0
- package/dist/classes/TouchEventInclude.d.ts +122 -0
- package/dist/classes/field/FieldArrowInclude.d.ts +99 -0
- package/dist/classes/field/FieldAttributesInclude.d.ts +50 -0
- package/dist/classes/field/FieldChangeInclude.d.ts +35 -0
- package/dist/classes/field/FieldCodeInclude.d.ts +28 -0
- package/dist/classes/field/FieldElementInclude.d.ts +42 -0
- package/dist/classes/field/FieldEventInclude.d.ts +125 -0
- package/dist/classes/field/FieldInputCheckInclude.d.ts +47 -0
- package/dist/classes/field/FieldInputModeInclude.d.ts +20 -0
- package/dist/classes/field/FieldMatchInclude.d.ts +47 -0
- package/dist/classes/field/FieldPatternInclude.d.ts +20 -0
- package/dist/classes/field/FieldTypeInclude.d.ts +26 -0
- package/dist/classes/field/FieldValidationInclude.d.ts +83 -0
- package/dist/classes/field/FieldValueInclude.d.ts +154 -0
- package/dist/classes/field/FieldVisibilityInclude.d.ts +15 -0
- package/dist/constructors/Accordion/Accordion.d.ts +38 -0
- package/dist/constructors/Accordion/AccordionDesign.d.ts +56 -0
- package/dist/constructors/Accordion/basicTypes.d.ts +1 -0
- package/dist/constructors/Accordion/index.d.ts +5 -0
- package/dist/constructors/Accordion/props.d.ts +34 -0
- package/dist/constructors/Accordion/types.d.ts +44 -0
- package/dist/constructors/ActionSheet/ActionSheet.d.ts +32 -0
- package/dist/constructors/ActionSheet/ActionSheetDesign.d.ts +36 -0
- package/dist/constructors/ActionSheet/basicTypes.d.ts +1 -0
- package/dist/constructors/ActionSheet/index.d.ts +5 -0
- package/dist/constructors/ActionSheet/props.d.ts +26 -0
- package/dist/constructors/ActionSheet/types.d.ts +42 -0
- package/dist/constructors/Actions/Actions.d.ts +41 -0
- package/dist/constructors/Actions/ActionsDesign.d.ts +60 -0
- package/dist/constructors/Actions/ActionsInclude.d.ts +53 -0
- package/dist/constructors/Actions/basicTypes.d.ts +29 -0
- package/dist/constructors/Actions/index.d.ts +6 -0
- package/dist/constructors/Actions/props.d.ts +28 -0
- package/dist/constructors/Actions/types.d.ts +43 -0
- package/dist/constructors/Anchor/Anchor.d.ts +65 -0
- package/dist/constructors/Anchor/AnchorDesign.d.ts +81 -0
- package/dist/constructors/Anchor/AnchorEvent.d.ts +44 -0
- package/dist/constructors/Anchor/AnchorHref.d.ts +35 -0
- package/dist/constructors/Anchor/AnchorIcon.d.ts +30 -0
- package/dist/constructors/Anchor/AnchorTo.d.ts +26 -0
- package/dist/constructors/Anchor/basicTypes.d.ts +8 -0
- package/dist/constructors/Anchor/index.d.ts +5 -0
- package/dist/constructors/Anchor/props.d.ts +32 -0
- package/dist/constructors/Anchor/types.d.ts +40 -0
- package/dist/constructors/Arrow/Arrow.d.ts +56 -0
- package/dist/constructors/Arrow/ArrowDesign.d.ts +62 -0
- package/dist/constructors/Arrow/ArrowElement.d.ts +78 -0
- package/dist/constructors/Arrow/ArrowElementTarget.d.ts +40 -0
- package/dist/constructors/Arrow/ArrowEvent.d.ts +62 -0
- package/dist/constructors/Arrow/ArrowInclude.d.ts +44 -0
- package/dist/constructors/Arrow/ArrowParent.d.ts +49 -0
- package/dist/constructors/Arrow/ArrowPosition.d.ts +75 -0
- package/dist/constructors/Arrow/basicTypes.d.ts +39 -0
- package/dist/constructors/Arrow/index.d.ts +6 -0
- package/dist/constructors/Arrow/props.d.ts +23 -0
- package/dist/constructors/Arrow/types.d.ts +42 -0
- package/dist/constructors/Badge/Badge.d.ts +49 -0
- package/dist/constructors/Badge/BadgeDesign.d.ts +42 -0
- package/dist/constructors/Badge/BadgeInclude.d.ts +45 -0
- package/dist/constructors/Badge/basicTypes.d.ts +9 -0
- package/dist/constructors/Badge/index.d.ts +5 -0
- package/dist/constructors/Badge/props.d.ts +32 -0
- package/dist/constructors/Badge/types.d.ts +39 -0
- package/dist/constructors/Bars/Bars.d.ts +97 -0
- package/dist/constructors/Bars/BarsAction.d.ts +33 -0
- package/dist/constructors/Bars/BarsDesign.d.ts +73 -0
- package/dist/constructors/Bars/BarsInclude.d.ts +55 -0
- package/dist/constructors/Bars/basicTypes.d.ts +34 -0
- package/dist/constructors/Bars/index.d.ts +6 -0
- package/dist/constructors/Bars/props.d.ts +39 -0
- package/dist/constructors/Bars/types.d.ts +47 -0
- package/dist/constructors/Block/Block.d.ts +76 -0
- package/dist/constructors/Block/BlockDesign.d.ts +67 -0
- package/dist/constructors/Block/basicTypes.d.ts +1 -0
- package/dist/constructors/Block/index.d.ts +5 -0
- package/dist/constructors/Block/props.d.ts +28 -0
- package/dist/constructors/Block/types.d.ts +53 -0
- package/dist/constructors/Button/Button.d.ts +51 -0
- package/dist/constructors/Button/ButtonDesign.d.ts +42 -0
- package/dist/constructors/Button/ButtonInclude.d.ts +48 -0
- package/dist/constructors/Button/basicTypes.d.ts +8 -0
- package/dist/constructors/Button/index.d.ts +6 -0
- package/dist/constructors/Button/props.d.ts +39 -0
- package/dist/constructors/Button/types.d.ts +44 -0
- package/dist/constructors/Cell/Cell.d.ts +66 -0
- package/dist/constructors/Cell/CellDesign.d.ts +123 -0
- package/dist/constructors/Cell/basicTypes.d.ts +33 -0
- package/dist/constructors/Cell/index.d.ts +5 -0
- package/dist/constructors/Cell/props.d.ts +42 -0
- package/dist/constructors/Cell/types.d.ts +54 -0
- package/dist/constructors/Chip/Chip.d.ts +29 -0
- package/dist/constructors/Chip/ChipDesign.d.ts +8 -0
- package/dist/constructors/Chip/ChipInclude.d.ts +48 -0
- package/dist/constructors/Chip/basicTypes.d.ts +8 -0
- package/dist/constructors/Chip/index.d.ts +6 -0
- package/dist/constructors/Chip/props.d.ts +32 -0
- package/dist/constructors/Chip/types.d.ts +40 -0
- package/dist/constructors/ChipGroup/ChipGroup.d.ts +40 -0
- package/dist/constructors/ChipGroup/ChipGroupDesign.d.ts +56 -0
- package/dist/constructors/ChipGroup/basicTypes.d.ts +5 -0
- package/dist/constructors/ChipGroup/index.d.ts +5 -0
- package/dist/constructors/ChipGroup/props.d.ts +31 -0
- package/dist/constructors/ChipGroup/types.d.ts +40 -0
- package/dist/constructors/Dialog/Dialog.d.ts +47 -0
- package/dist/constructors/Dialog/DialogDesign.d.ts +42 -0
- package/dist/constructors/Dialog/basicTypes.d.ts +1 -0
- package/dist/constructors/Dialog/index.d.ts +5 -0
- package/dist/constructors/Dialog/props.d.ts +45 -0
- package/dist/constructors/Dialog/types.d.ts +50 -0
- package/dist/constructors/Field/Field.d.ts +75 -0
- package/dist/constructors/Field/FieldDesign.d.ts +108 -0
- package/dist/constructors/Field/FieldIcons.d.ts +49 -0
- package/dist/constructors/Field/FieldInclude.d.ts +66 -0
- package/dist/constructors/Field/FieldSize.d.ts +45 -0
- package/dist/constructors/Field/basicTypes.d.ts +65 -0
- package/dist/constructors/Field/index.d.ts +5 -0
- package/dist/constructors/Field/props.d.ts +60 -0
- package/dist/constructors/Field/types.d.ts +59 -0
- package/dist/constructors/FieldCounter/FieldCounter.d.ts +47 -0
- package/dist/constructors/FieldCounter/FieldCounterDesign.d.ts +42 -0
- package/dist/constructors/FieldCounter/FieldCounterInclude.d.ts +36 -0
- package/dist/constructors/FieldCounter/basicTypes.d.ts +21 -0
- package/dist/constructors/FieldCounter/index.d.ts +6 -0
- package/dist/constructors/FieldCounter/props.d.ts +22 -0
- package/dist/constructors/FieldCounter/types.d.ts +35 -0
- package/dist/constructors/FieldLabel/FieldLabel.d.ts +48 -0
- package/dist/constructors/FieldLabel/FieldLabelDesign.d.ts +48 -0
- package/dist/constructors/FieldLabel/FieldLabelInclude.d.ts +43 -0
- package/dist/constructors/FieldLabel/basicTypes.d.ts +28 -0
- package/dist/constructors/FieldLabel/index.d.ts +6 -0
- package/dist/constructors/FieldLabel/props.d.ts +23 -0
- package/dist/constructors/FieldLabel/types.d.ts +40 -0
- package/dist/constructors/FieldMessage/FieldMessage.d.ts +55 -0
- package/dist/constructors/FieldMessage/FieldMessageDesign.d.ts +54 -0
- package/dist/constructors/FieldMessage/FieldMessageInclude.d.ts +49 -0
- package/dist/constructors/FieldMessage/FieldMessageMessage.d.ts +24 -0
- package/dist/constructors/FieldMessage/basicTypes.d.ts +31 -0
- package/dist/constructors/FieldMessage/index.d.ts +6 -0
- package/dist/constructors/FieldMessage/props.d.ts +26 -0
- package/dist/constructors/FieldMessage/types.d.ts +43 -0
- package/dist/constructors/Icon/Icon.d.ts +75 -0
- package/dist/constructors/Icon/IconDesign.d.ts +58 -0
- package/dist/constructors/Icon/IconInclude.d.ts +37 -0
- package/dist/constructors/Icon/IconLiteInclude.d.ts +63 -0
- package/dist/constructors/Icon/IconTrailingInclude.d.ts +51 -0
- package/dist/constructors/Icon/basicTypes.d.ts +28 -0
- package/dist/constructors/Icon/index.d.ts +8 -0
- package/dist/constructors/Icon/props.d.ts +43 -0
- package/dist/constructors/Icon/types.d.ts +39 -0
- package/dist/constructors/Image/Image.d.ts +138 -0
- package/dist/constructors/Image/ImageAdaptiveGroup.d.ts +104 -0
- package/dist/constructors/Image/ImageAdaptiveItem.d.ts +142 -0
- package/dist/constructors/Image/ImageBackground.d.ts +67 -0
- package/dist/constructors/Image/ImageCalculation.d.ts +101 -0
- package/dist/constructors/Image/ImageCalculationList.d.ts +42 -0
- package/dist/constructors/Image/ImageCoordinator.d.ts +45 -0
- package/dist/constructors/Image/ImageData.d.ts +56 -0
- package/dist/constructors/Image/ImageDesign.d.ts +79 -0
- package/dist/constructors/Image/ImageFile.d.ts +58 -0
- package/dist/constructors/Image/ImageImg.d.ts +87 -0
- package/dist/constructors/Image/ImageInclude.d.ts +35 -0
- package/dist/constructors/Image/ImagePdf.d.ts +21 -0
- package/dist/constructors/Image/ImagePosition.d.ts +30 -0
- package/dist/constructors/Image/ImageType.d.ts +22 -0
- package/dist/constructors/Image/basicTypes.d.ts +54 -0
- package/dist/constructors/Image/index.d.ts +5 -0
- package/dist/constructors/Image/props.d.ts +77 -0
- package/dist/constructors/Image/types.d.ts +41 -0
- package/dist/constructors/Input/Input.d.ts +62 -0
- package/dist/constructors/Input/InputDesign.d.ts +57 -0
- package/dist/constructors/Input/InputPassword.d.ts +30 -0
- package/dist/constructors/Input/basicTypes.d.ts +3 -0
- package/dist/constructors/Input/index.d.ts +5 -0
- package/dist/constructors/Input/props.d.ts +32 -0
- package/dist/constructors/Input/types.d.ts +38 -0
- package/dist/constructors/List/List.d.ts +175 -0
- package/dist/constructors/List/ListControl.d.ts +75 -0
- package/dist/constructors/List/ListDesign.d.ts +142 -0
- package/dist/constructors/List/ListFocus.d.ts +114 -0
- package/dist/constructors/List/ListGo.d.ts +111 -0
- package/dist/constructors/List/ListSearch.d.ts +59 -0
- package/dist/constructors/List/basicTypes.d.ts +3 -0
- package/dist/constructors/List/index.d.ts +5 -0
- package/dist/constructors/List/props.d.ts +52 -0
- package/dist/constructors/List/types.d.ts +53 -0
- package/dist/constructors/ListGroup/ListGroup.d.ts +38 -0
- package/dist/constructors/ListGroup/ListGroupDesign.d.ts +62 -0
- package/dist/constructors/ListGroup/ListGroupOpen.d.ts +44 -0
- package/dist/constructors/ListGroup/basicTypes.d.ts +7 -0
- package/dist/constructors/ListGroup/index.d.ts +5 -0
- package/dist/constructors/ListGroup/props.d.ts +21 -0
- package/dist/constructors/ListGroup/types.d.ts +43 -0
- package/dist/constructors/ListItem/ListItem.d.ts +175 -0
- package/dist/constructors/ListItem/ListItemDesign.d.ts +56 -0
- package/dist/constructors/ListItem/basicTypes.d.ts +3 -0
- package/dist/constructors/ListItem/index.d.ts +5 -0
- package/dist/constructors/ListItem/props.d.ts +55 -0
- package/dist/constructors/ListItem/types.d.ts +59 -0
- package/dist/constructors/ListMenu/ListMenu.d.ts +33 -0
- package/dist/constructors/ListMenu/ListMenuDesign.d.ts +42 -0
- package/dist/constructors/ListMenu/basicTypes.d.ts +3 -0
- package/dist/constructors/ListMenu/index.d.ts +5 -0
- package/dist/constructors/ListMenu/props.d.ts +22 -0
- package/dist/constructors/ListMenu/types.d.ts +40 -0
- package/dist/constructors/Mask/Mask.d.ts +125 -0
- package/dist/constructors/Mask/MaskBuffer.d.ts +56 -0
- package/dist/constructors/Mask/MaskCharacter.d.ts +100 -0
- package/dist/constructors/Mask/MaskCharacterLength.d.ts +29 -0
- package/dist/constructors/Mask/MaskData.d.ts +104 -0
- package/dist/constructors/Mask/MaskDate.d.ts +67 -0
- package/dist/constructors/Mask/MaskDesign.d.ts +60 -0
- package/dist/constructors/Mask/MaskEmit.d.ts +74 -0
- package/dist/constructors/Mask/MaskEvent.d.ts +159 -0
- package/dist/constructors/Mask/MaskFocus.d.ts +34 -0
- package/dist/constructors/Mask/MaskFormat.d.ts +94 -0
- package/dist/constructors/Mask/MaskInclude.d.ts +67 -0
- package/dist/constructors/Mask/MaskItem.d.ts +112 -0
- package/dist/constructors/Mask/MaskMatch.d.ts +40 -0
- package/dist/constructors/Mask/MaskPattern.d.ts +56 -0
- package/dist/constructors/Mask/MaskRight.d.ts +29 -0
- package/dist/constructors/Mask/MaskRubber.d.ts +75 -0
- package/dist/constructors/Mask/MaskRubberItem.d.ts +52 -0
- package/dist/constructors/Mask/MaskRubberTransition.d.ts +36 -0
- package/dist/constructors/Mask/MaskSelection.d.ts +119 -0
- package/dist/constructors/Mask/MaskSpecial.d.ts +93 -0
- package/dist/constructors/Mask/MaskType.d.ts +61 -0
- package/dist/constructors/Mask/MaskValidation.d.ts +40 -0
- package/dist/constructors/Mask/MaskValue.d.ts +89 -0
- package/dist/constructors/Mask/MaskValueBasic.d.ts +49 -0
- package/dist/constructors/Mask/MaskView.d.ts +84 -0
- package/dist/constructors/Mask/basicTypes.d.ts +52 -0
- package/dist/constructors/Mask/index.d.ts +5 -0
- package/dist/constructors/Mask/props.d.ts +48 -0
- package/dist/constructors/Mask/types.d.ts +62 -0
- package/dist/constructors/Menu/Menu.d.ts +92 -0
- package/dist/constructors/Menu/MenuDesign.d.ts +79 -0
- package/dist/constructors/Menu/MenuGo.d.ts +49 -0
- package/dist/constructors/Menu/MenuInclude.d.ts +56 -0
- package/dist/constructors/Menu/MenuRequest.d.ts +59 -0
- package/dist/constructors/Menu/MenuSearch.d.ts +38 -0
- package/dist/constructors/Menu/MenuValue.d.ts +36 -0
- package/dist/constructors/Menu/MenuWindow.d.ts +52 -0
- package/dist/constructors/Menu/basicTypes.d.ts +39 -0
- package/dist/constructors/Menu/index.d.ts +6 -0
- package/dist/constructors/Menu/props.d.ts +54 -0
- package/dist/constructors/Menu/types.d.ts +48 -0
- package/dist/constructors/Modal/Modal.d.ts +30 -0
- package/dist/constructors/Modal/ModalAbstract.d.ts +41 -0
- package/dist/constructors/Modal/ModalDesign.d.ts +16 -0
- package/dist/constructors/Modal/ModalDesignAbstract.d.ts +70 -0
- package/dist/constructors/Modal/basicTypes.d.ts +1 -0
- package/dist/constructors/Modal/index.d.ts +5 -0
- package/dist/constructors/Modal/props.d.ts +27 -0
- package/dist/constructors/Modal/types.d.ts +43 -0
- package/dist/constructors/MotionTransform/MotionTransform.d.ts +68 -0
- package/dist/constructors/MotionTransform/MotionTransformClassesInclude.d.ts +28 -0
- package/dist/constructors/MotionTransform/MotionTransformDesign.d.ts +153 -0
- package/dist/constructors/MotionTransform/MotionTransformElement.d.ts +132 -0
- package/dist/constructors/MotionTransform/MotionTransformEvent.d.ts +57 -0
- package/dist/constructors/MotionTransform/MotionTransformGo.d.ts +41 -0
- package/dist/constructors/MotionTransform/MotionTransformInclude.d.ts +51 -0
- package/dist/constructors/MotionTransform/MotionTransformSize.d.ts +46 -0
- package/dist/constructors/MotionTransform/MotionTransformState.d.ts +109 -0
- package/dist/constructors/MotionTransform/basicTypes.d.ts +123 -0
- package/dist/constructors/MotionTransform/index.d.ts +7 -0
- package/dist/constructors/MotionTransform/props.d.ts +39 -0
- package/dist/constructors/MotionTransform/types.d.ts +72 -0
- package/dist/constructors/Page/Page.d.ts +6 -0
- package/dist/constructors/Page/PageDesign.d.ts +18 -0
- package/dist/constructors/Page/basicTypes.d.ts +1 -0
- package/dist/constructors/Page/index.d.ts +5 -0
- package/dist/constructors/Page/props.d.ts +23 -0
- package/dist/constructors/Page/types.d.ts +44 -0
- package/dist/constructors/Progress/Progress.d.ts +106 -0
- package/dist/constructors/Progress/ProgressDesign.d.ts +115 -0
- package/dist/constructors/Progress/ProgressInclude.d.ts +43 -0
- package/dist/constructors/Progress/basicTypes.d.ts +8 -0
- package/dist/constructors/Progress/index.d.ts +6 -0
- package/dist/constructors/Progress/props.d.ts +42 -0
- package/dist/constructors/Progress/types.d.ts +38 -0
- package/dist/constructors/Ripple/Ripple.d.ts +38 -0
- package/dist/constructors/Ripple/RippleDesign.d.ts +38 -0
- package/dist/constructors/Ripple/RippleInclude.d.ts +17 -0
- package/dist/constructors/Ripple/RippleItem.d.ts +31 -0
- package/dist/constructors/Ripple/basicTypes.d.ts +3 -0
- package/dist/constructors/Ripple/index.d.ts +6 -0
- package/dist/constructors/Ripple/props.d.ts +19 -0
- package/dist/constructors/Ripple/types.d.ts +36 -0
- package/dist/constructors/Scrollbar/Scrollbar.d.ts +44 -0
- package/dist/constructors/Scrollbar/ScrollbarBorder.d.ts +96 -0
- package/dist/constructors/Scrollbar/ScrollbarDesign.d.ts +42 -0
- package/dist/constructors/Scrollbar/ScrollbarInclude.d.ts +46 -0
- package/dist/constructors/Scrollbar/basicTypes.d.ts +35 -0
- package/dist/constructors/Scrollbar/index.d.ts +5 -0
- package/dist/constructors/Scrollbar/props.d.ts +28 -0
- package/dist/constructors/Scrollbar/types.d.ts +45 -0
- package/dist/constructors/Section/Section.d.ts +6 -0
- package/dist/constructors/Section/SectionDesign.d.ts +18 -0
- package/dist/constructors/Section/basicTypes.d.ts +1 -0
- package/dist/constructors/Section/index.d.ts +5 -0
- package/dist/constructors/Section/props.d.ts +23 -0
- package/dist/constructors/Section/types.d.ts +44 -0
- package/dist/constructors/Select/Select.d.ts +64 -0
- package/dist/constructors/Select/SelectDesign.d.ts +89 -0
- package/dist/constructors/Select/SelectFilter.d.ts +33 -0
- package/dist/constructors/Select/SelectInput.d.ts +40 -0
- package/dist/constructors/Select/basicTypes.d.ts +1 -0
- package/dist/constructors/Select/index.d.ts +5 -0
- package/dist/constructors/Select/props.d.ts +35 -0
- package/dist/constructors/Select/types.d.ts +41 -0
- package/dist/constructors/SelectValue/SelectValue.d.ts +51 -0
- package/dist/constructors/SelectValue/SelectValueDesign.d.ts +62 -0
- package/dist/constructors/SelectValue/SelectValueInclude.d.ts +44 -0
- package/dist/constructors/SelectValue/basicTypes.d.ts +14 -0
- package/dist/constructors/SelectValue/index.d.ts +6 -0
- package/dist/constructors/SelectValue/props.d.ts +28 -0
- package/dist/constructors/SelectValue/types.d.ts +39 -0
- package/dist/constructors/Skeleton/Skeleton.d.ts +55 -0
- package/dist/constructors/Skeleton/SkeletonDesign.d.ts +38 -0
- package/dist/constructors/Skeleton/SkeletonInclude.d.ts +39 -0
- package/dist/constructors/Skeleton/basicTypes.d.ts +14 -0
- package/dist/constructors/Skeleton/const.d.ts +1 -0
- package/dist/constructors/Skeleton/index.d.ts +6 -0
- package/dist/constructors/Skeleton/props.d.ts +19 -0
- package/dist/constructors/Skeleton/types.d.ts +39 -0
- package/dist/constructors/TextareaAutosize/TextareaAutosize.d.ts +33 -0
- package/dist/constructors/TextareaAutosize/TextareaAutosizeDesign.d.ts +54 -0
- package/dist/constructors/TextareaAutosize/TextareaAutosizeResize.d.ts +61 -0
- package/dist/constructors/TextareaAutosize/TextareaAutosizeValue.d.ts +43 -0
- package/dist/constructors/TextareaAutosize/basicTypes.d.ts +1 -0
- package/dist/constructors/TextareaAutosize/index.d.ts +5 -0
- package/dist/constructors/TextareaAutosize/props.d.ts +23 -0
- package/dist/constructors/TextareaAutosize/types.d.ts +40 -0
- package/dist/constructors/Tooltip/Tooltip.d.ts +68 -0
- package/dist/constructors/Tooltip/TooltipClasses.d.ts +62 -0
- package/dist/constructors/Tooltip/TooltipDesign.d.ts +61 -0
- package/dist/constructors/Tooltip/TooltipEvent.d.ts +58 -0
- package/dist/constructors/Tooltip/TooltipInclude.d.ts +64 -0
- package/dist/constructors/Tooltip/TooltipOpen.d.ts +59 -0
- package/dist/constructors/Tooltip/TooltipPosition.d.ts +43 -0
- package/dist/constructors/Tooltip/TooltipStatus.d.ts +59 -0
- package/dist/constructors/Tooltip/TooltipStyle.d.ts +59 -0
- package/dist/constructors/Tooltip/basicTypes.d.ts +29 -0
- package/dist/constructors/Tooltip/index.d.ts +6 -0
- package/dist/constructors/Tooltip/props.d.ts +32 -0
- package/dist/constructors/Tooltip/types.d.ts +47 -0
- package/dist/constructors/Window/Window.d.ts +115 -0
- package/dist/constructors/Window/WindowClasses.d.ts +125 -0
- package/dist/constructors/Window/WindowClassesInclude.d.ts +28 -0
- package/dist/constructors/Window/WindowClient.d.ts +70 -0
- package/dist/constructors/Window/WindowCoordinates.d.ts +132 -0
- package/dist/constructors/Window/WindowDesign.d.ts +143 -0
- package/dist/constructors/Window/WindowElement.d.ts +59 -0
- package/dist/constructors/Window/WindowEmit.d.ts +36 -0
- package/dist/constructors/Window/WindowEsc.d.ts +52 -0
- package/dist/constructors/Window/WindowEvent.d.ts +83 -0
- package/dist/constructors/Window/WindowFlash.d.ts +47 -0
- package/dist/constructors/Window/WindowHidden.d.ts +45 -0
- package/dist/constructors/Window/WindowHook.d.ts +58 -0
- package/dist/constructors/Window/WindowInclude.d.ts +57 -0
- package/dist/constructors/Window/WindowOpen.d.ts +137 -0
- package/dist/constructors/Window/WindowOrigin.d.ts +46 -0
- package/dist/constructors/Window/WindowPersistent.d.ts +46 -0
- package/dist/constructors/Window/WindowPosition.d.ts +128 -0
- package/dist/constructors/Window/WindowStatic.d.ts +58 -0
- package/dist/constructors/Window/WindowStatus.d.ts +80 -0
- package/dist/constructors/Window/WindowStyles.d.ts +38 -0
- package/dist/constructors/Window/WindowVerification.d.ts +126 -0
- package/dist/constructors/Window/basicTypes.d.ts +173 -0
- package/dist/constructors/Window/index.d.ts +7 -0
- package/dist/constructors/Window/props.d.ts +64 -0
- package/dist/constructors/Window/types.d.ts +100 -0
- package/dist/dialog.js +211 -0
- package/dist/field.js +515 -0
- package/dist/fieldCounter.js +126 -0
- package/dist/fieldLabel.js +172 -0
- package/dist/fieldMessage.js +213 -0
- package/dist/functions/getClassTagAStatic.d.ts +8 -0
- package/dist/getClassTagAStatic-BnVYlXHI.js +4 -0
- package/dist/icon.js +212 -0
- package/dist/image.js +1350 -0
- package/dist/input.js +342 -0
- package/dist/library/accordion.d.ts +1 -0
- package/dist/library/actionSheet.d.ts +1 -0
- package/dist/library/actions.d.ts +1 -0
- package/dist/library/anchor.d.ts +1 -0
- package/dist/library/arrow.d.ts +1 -0
- package/dist/library/badge.d.ts +1 -0
- package/dist/library/bars.d.ts +1 -0
- package/dist/library/block.d.ts +1 -0
- package/dist/library/button.d.ts +1 -0
- package/dist/library/cell.d.ts +1 -0
- package/dist/library/chip.d.ts +1 -0
- package/dist/library/chipGroup.d.ts +1 -0
- package/dist/library/dialog.d.ts +1 -0
- package/dist/library/field.d.ts +1 -0
- package/dist/library/fieldCounter.d.ts +1 -0
- package/dist/library/fieldLabel.d.ts +1 -0
- package/dist/library/fieldMessage.d.ts +1 -0
- package/dist/library/icon.d.ts +1 -0
- package/dist/library/image.d.ts +1 -0
- package/dist/library/input.d.ts +1 -0
- package/dist/library/list.d.ts +1 -0
- package/dist/library/listGroup.d.ts +1 -0
- package/dist/library/listItem.d.ts +1 -0
- package/dist/library/listMenu.d.ts +1 -0
- package/dist/library/mask.d.ts +1 -0
- package/dist/library/menu.d.ts +1 -0
- package/dist/library/modal.d.ts +1 -0
- package/dist/library/motionTransform.d.ts +1 -0
- package/dist/library/page.d.ts +1 -0
- package/dist/library/progress.d.ts +1 -0
- package/dist/library/ripple.d.ts +1 -0
- package/dist/library/scrollbar.d.ts +1 -0
- package/dist/library/section.d.ts +1 -0
- package/dist/library/select.d.ts +1 -0
- package/dist/library/selectValue.d.ts +1 -0
- package/dist/library/skeleton.d.ts +1 -0
- package/dist/library/textareaAutosize.d.ts +1 -0
- package/dist/library/tooltip.d.ts +1 -0
- package/dist/library/window.d.ts +1 -0
- package/dist/library.d.ts +43 -0
- package/dist/library.js +50 -0
- package/dist/list.js +998 -0
- package/dist/listGroup.js +171 -0
- package/dist/listItem.js +303 -0
- package/dist/listMenu.js +118 -0
- package/dist/mask.js +2465 -0
- package/dist/menu.js +523 -0
- package/dist/modal.js +74 -0
- package/dist/motionTransform.js +602 -0
- package/dist/page.js +30 -0
- package/dist/progress.js +276 -0
- package/dist/ripple.js +135 -0
- package/dist/scrollbar.js +235 -0
- package/dist/section.js +30 -0
- package/dist/select.js +409 -0
- package/dist/selectValue.js +244 -0
- package/dist/skeleton.js +83 -0
- package/dist/textareaAutosize.js +235 -0
- package/dist/tooltip.js +619 -0
- package/dist/types/ariaTypes.d.ts +307 -0
- package/dist/types/captionTypes.d.ts +14 -0
- package/dist/types/descriptionTypes.d.ts +21 -0
- package/dist/types/enabledTypes.d.ts +9 -0
- package/dist/types/eventClickTypes.d.ts +47 -0
- package/dist/types/fieldTypes.d.ts +294 -0
- package/dist/types/labelTypes.d.ts +61 -0
- package/dist/types/modelTypes.d.ts +36 -0
- package/dist/types/prefixTypes.d.ts +14 -0
- package/dist/types/roleTypes.d.ts +1 -0
- package/dist/types/suffixTypes.d.ts +14 -0
- package/dist/types/textTypes.d.ts +21 -0
- package/dist/types/touchEventTypes.d.ts +31 -0
- package/dist/window.js +1974 -0
- package/package.json +170 -85
- package/src/constructors/Block/style.scss +2 -0
- package/src/constructors/Image/style.scss +6 -0
- package/src/constructors/Page/style.scss +6 -0
- package/src/constructors/Section/style.scss +2 -1
- package/src/library/style.scss +39 -0
- package/src/classes/AriaStaticInclude.ts +0 -269
- package/src/classes/CaptionInclude.ts +0 -71
- package/src/classes/DescriptionInclude.ts +0 -87
- package/src/classes/EnabledInclude.ts +0 -67
- package/src/classes/EventClickInclude.ts +0 -138
- package/src/classes/LabelHighlightInclude.ts +0 -125
- package/src/classes/LabelInclude.ts +0 -206
- package/src/classes/LabelNumberInclude.ts +0 -70
- package/src/classes/ModelInclude.ts +0 -98
- package/src/classes/ModelValueInclude.ts +0 -73
- package/src/classes/PrefixInclude.ts +0 -71
- package/src/classes/SuffixInclude.ts +0 -71
- package/src/classes/TabIndexInclude.ts +0 -260
- package/src/classes/TextInclude.ts +0 -102
- package/src/classes/TouchEventInclude.ts +0 -284
- package/src/classes/field/FieldArrowInclude.ts +0 -189
- package/src/classes/field/FieldAttributesInclude.ts +0 -159
- package/src/classes/field/FieldChangeInclude.ts +0 -52
- package/src/classes/field/FieldCodeInclude.ts +0 -69
- package/src/classes/field/FieldElementInclude.ts +0 -97
- package/src/classes/field/FieldEventInclude.ts +0 -253
- package/src/classes/field/FieldInputCheckInclude.ts +0 -128
- package/src/classes/field/FieldInputModeInclude.ts +0 -48
- package/src/classes/field/FieldMatchInclude.ts +0 -107
- package/src/classes/field/FieldPatternInclude.ts +0 -42
- package/src/classes/field/FieldTypeInclude.ts +0 -47
- package/src/classes/field/FieldValidationInclude.ts +0 -193
- package/src/classes/field/FieldValueInclude.ts +0 -328
- package/src/classes/field/FieldVisibilityInclude.ts +0 -21
- package/src/constructors/Accordion/Accordion.ts +0 -68
- package/src/constructors/Accordion/AccordionDesign.tsx +0 -192
- package/src/constructors/Accordion/basicTypes.ts +0 -0
- package/src/constructors/Accordion/index.ts +0 -5
- package/src/constructors/Accordion/properties.json +0 -16
- package/src/constructors/Accordion/props.ts +0 -55
- package/src/constructors/Accordion/types.ts +0 -63
- package/src/constructors/ActionSheet/ActionSheet.ts +0 -78
- package/src/constructors/ActionSheet/ActionSheetDesign.tsx +0 -125
- package/src/constructors/ActionSheet/basicTypes.ts +0 -0
- package/src/constructors/ActionSheet/index.ts +0 -5
- package/src/constructors/ActionSheet/properties.json +0 -14
- package/src/constructors/ActionSheet/props.ts +0 -44
- package/src/constructors/ActionSheet/types.ts +0 -54
- package/src/constructors/Actions/Actions.ts +0 -60
- package/src/constructors/Actions/ActionsDesign.tsx +0 -212
- package/src/constructors/Actions/ActionsInclude.ts +0 -109
- package/src/constructors/Actions/basicTypes.ts +0 -40
- package/src/constructors/Actions/index.ts +0 -6
- package/src/constructors/Actions/properties.json +0 -63
- package/src/constructors/Actions/props.ts +0 -42
- package/src/constructors/Actions/types.ts +0 -52
- package/src/constructors/Anchor/Anchor.ts +0 -113
- package/src/constructors/Anchor/AnchorDesign.tsx +0 -242
- package/src/constructors/Anchor/AnchorEvent.ts +0 -76
- package/src/constructors/Anchor/AnchorHref.ts +0 -54
- package/src/constructors/Anchor/AnchorIcon.ts +0 -54
- package/src/constructors/Anchor/AnchorTo.ts +0 -46
- package/src/constructors/Anchor/basicTypes.ts +0 -9
- package/src/constructors/Anchor/index.ts +0 -5
- package/src/constructors/Anchor/properties.json +0 -3
- package/src/constructors/Anchor/props.ts +0 -54
- package/src/constructors/Anchor/types.ts +0 -47
- package/src/constructors/Arrow/Arrow.ts +0 -134
- package/src/constructors/Arrow/ArrowDesign.tsx +0 -226
- package/src/constructors/Arrow/ArrowElement.ts +0 -139
- package/src/constructors/Arrow/ArrowElementTarget.ts +0 -72
- package/src/constructors/Arrow/ArrowEvent.ts +0 -126
- package/src/constructors/Arrow/ArrowInclude.ts +0 -85
- package/src/constructors/Arrow/ArrowParent.ts +0 -100
- package/src/constructors/Arrow/ArrowPosition.ts +0 -231
- package/src/constructors/Arrow/basicTypes.ts +0 -50
- package/src/constructors/Arrow/index.ts +0 -6
- package/src/constructors/Arrow/properties.json +0 -23
- package/src/constructors/Arrow/props.ts +0 -31
- package/src/constructors/Arrow/types.ts +0 -54
- package/src/constructors/Badge/Badge.ts +0 -73
- package/src/constructors/Badge/BadgeDesign.tsx +0 -130
- package/src/constructors/Badge/BadgeInclude.ts +0 -78
- package/src/constructors/Badge/basicTypes.ts +0 -15
- package/src/constructors/Badge/index.ts +0 -5
- package/src/constructors/Badge/properties.json +0 -36
- package/src/constructors/Badge/props.ts +0 -45
- package/src/constructors/Badge/types.ts +0 -47
- package/src/constructors/Bars/Bars.ts +0 -194
- package/src/constructors/Bars/BarsAction.ts +0 -57
- package/src/constructors/Bars/BarsDesign.tsx +0 -235
- package/src/constructors/Bars/BarsInclude.ts +0 -119
- package/src/constructors/Bars/basicTypes.ts +0 -40
- package/src/constructors/Bars/index.ts +0 -6
- package/src/constructors/Bars/properties.json +0 -6
- package/src/constructors/Bars/props.ts +0 -65
- package/src/constructors/Bars/types.ts +0 -58
- package/src/constructors/Block/Block.ts +0 -105
- package/src/constructors/Block/BlockDesign.tsx +0 -219
- package/src/constructors/Block/basicTypes.ts +0 -0
- package/src/constructors/Block/index.ts +0 -5
- package/src/constructors/Block/properties.json +0 -10
- package/src/constructors/Block/props.ts +0 -46
- package/src/constructors/Block/types.ts +0 -64
- package/src/constructors/Button/Button.ts +0 -112
- package/src/constructors/Button/ButtonDesign.tsx +0 -141
- package/src/constructors/Button/ButtonInclude.ts +0 -83
- package/src/constructors/Button/basicTypes.ts +0 -12
- package/src/constructors/Button/index.ts +0 -6
- package/src/constructors/Button/properties.json +0 -84
- package/src/constructors/Button/props.ts +0 -59
- package/src/constructors/Button/types.ts +0 -56
- package/src/constructors/Cell/Cell.ts +0 -144
- package/src/constructors/Cell/CellDesign.tsx +0 -234
- package/src/constructors/Cell/basicTypes.ts +0 -39
- package/src/constructors/Cell/index.ts +0 -5
- package/src/constructors/Cell/properties.json +0 -52
- package/src/constructors/Cell/props.ts +0 -64
- package/src/constructors/Cell/types.ts +0 -68
- package/src/constructors/Chip/Chip.ts +0 -33
- package/src/constructors/Chip/ChipDesign.tsx +0 -26
- package/src/constructors/Chip/ChipInclude.ts +0 -83
- package/src/constructors/Chip/basicTypes.ts +0 -12
- package/src/constructors/Chip/index.ts +0 -6
- package/src/constructors/Chip/properties.json +0 -3
- package/src/constructors/Chip/props.ts +0 -44
- package/src/constructors/Chip/types.ts +0 -53
- package/src/constructors/ChipGroup/ChipGroup.ts +0 -74
- package/src/constructors/ChipGroup/ChipGroupDesign.tsx +0 -162
- package/src/constructors/ChipGroup/basicTypes.ts +0 -6
- package/src/constructors/ChipGroup/index.ts +0 -5
- package/src/constructors/ChipGroup/properties.json +0 -3
- package/src/constructors/ChipGroup/props.ts +0 -50
- package/src/constructors/ChipGroup/types.ts +0 -47
- package/src/constructors/Dialog/Dialog.ts +0 -145
- package/src/constructors/Dialog/DialogDesign.tsx +0 -135
- package/src/constructors/Dialog/basicTypes.ts +0 -0
- package/src/constructors/Dialog/index.ts +0 -5
- package/src/constructors/Dialog/properties.json +0 -23
- package/src/constructors/Dialog/props.ts +0 -76
- package/src/constructors/Dialog/types.ts +0 -67
- package/src/constructors/Field/Field.ts +0 -186
- package/src/constructors/Field/FieldDesign.tsx +0 -390
- package/src/constructors/Field/FieldIcons.ts +0 -99
- package/src/constructors/Field/FieldInclude.ts +0 -202
- package/src/constructors/Field/FieldSize.ts +0 -93
- package/src/constructors/Field/basicTypes.ts +0 -106
- package/src/constructors/Field/index.ts +0 -5
- package/src/constructors/Field/properties.json +0 -92
- package/src/constructors/Field/props.ts +0 -91
- package/src/constructors/Field/types.ts +0 -78
- package/src/constructors/FieldCounter/FieldCounter.ts +0 -75
- package/src/constructors/FieldCounter/FieldCounterDesign.tsx +0 -123
- package/src/constructors/FieldCounter/FieldCounterInclude.ts +0 -100
- package/src/constructors/FieldCounter/basicTypes.ts +0 -26
- package/src/constructors/FieldCounter/index.ts +0 -6
- package/src/constructors/FieldCounter/properties.json +0 -3
- package/src/constructors/FieldCounter/props.ts +0 -35
- package/src/constructors/FieldCounter/types.ts +0 -42
- package/src/constructors/FieldLabel/FieldLabel.ts +0 -93
- package/src/constructors/FieldLabel/FieldLabelDesign.tsx +0 -160
- package/src/constructors/FieldLabel/FieldLabelInclude.ts +0 -100
- package/src/constructors/FieldLabel/basicTypes.ts +0 -34
- package/src/constructors/FieldLabel/index.ts +0 -6
- package/src/constructors/FieldLabel/properties.json +0 -4
- package/src/constructors/FieldLabel/props.ts +0 -40
- package/src/constructors/FieldLabel/types.ts +0 -49
- package/src/constructors/FieldMessage/FieldMessage.ts +0 -98
- package/src/constructors/FieldMessage/FieldMessageDesign.tsx +0 -191
- package/src/constructors/FieldMessage/FieldMessageInclude.ts +0 -115
- package/src/constructors/FieldMessage/FieldMessageMessage.ts +0 -54
- package/src/constructors/FieldMessage/basicTypes.ts +0 -41
- package/src/constructors/FieldMessage/index.ts +0 -6
- package/src/constructors/FieldMessage/properties.json +0 -10
- package/src/constructors/FieldMessage/props.ts +0 -44
- package/src/constructors/FieldMessage/types.ts +0 -51
- package/src/constructors/Icon/Icon.ts +0 -140
- package/src/constructors/Icon/IconDesign.tsx +0 -164
- package/src/constructors/Icon/IconInclude.ts +0 -64
- package/src/constructors/Icon/IconLiteInclude.ts +0 -121
- package/src/constructors/Icon/IconTrailingInclude.ts +0 -106
- package/src/constructors/Icon/basicTypes.ts +0 -50
- package/src/constructors/Icon/index.ts +0 -8
- package/src/constructors/Icon/properties.json +0 -25
- package/src/constructors/Icon/props.ts +0 -60
- package/src/constructors/Icon/types.ts +0 -46
- package/src/constructors/Image/Image.ts +0 -242
- package/src/constructors/Image/ImageAdaptiveGroup.ts +0 -230
- package/src/constructors/Image/ImageAdaptiveItem.ts +0 -295
- package/src/constructors/Image/ImageBackground.ts +0 -140
- package/src/constructors/Image/ImageCalculation.ts +0 -184
- package/src/constructors/Image/ImageCalculationList.ts +0 -61
- package/src/constructors/Image/ImageCoordinator.ts +0 -106
- package/src/constructors/Image/ImageData.ts +0 -103
- package/src/constructors/Image/ImageDesign.tsx +0 -203
- package/src/constructors/Image/ImageFile.ts +0 -126
- package/src/constructors/Image/ImageImg.ts +0 -218
- package/src/constructors/Image/ImageInclude.ts +0 -53
- package/src/constructors/Image/ImagePdf.ts +0 -44
- package/src/constructors/Image/ImagePosition.ts +0 -49
- package/src/constructors/Image/ImageType.ts +0 -83
- package/src/constructors/Image/basicTypes.ts +0 -75
- package/src/constructors/Image/index.ts +0 -5
- package/src/constructors/Image/properties.json +0 -17
- package/src/constructors/Image/props.ts +0 -93
- package/src/constructors/Image/types.ts +0 -49
- package/src/constructors/Input/Input.ts +0 -146
- package/src/constructors/Input/InputDesign.tsx +0 -174
- package/src/constructors/Input/InputPassword.ts +0 -54
- package/src/constructors/Input/basicTypes.ts +0 -3
- package/src/constructors/Input/index.ts +0 -5
- package/src/constructors/Input/properties.json +0 -2
- package/src/constructors/Input/props.ts +0 -53
- package/src/constructors/Input/types.ts +0 -48
- package/src/constructors/List/List.ts +0 -292
- package/src/constructors/List/ListControl.ts +0 -194
- package/src/constructors/List/ListDesign.tsx +0 -403
- package/src/constructors/List/ListFocus.ts +0 -196
- package/src/constructors/List/ListGo.ts +0 -285
- package/src/constructors/List/ListSearch.ts +0 -113
- package/src/constructors/List/basicTypes.ts +0 -3
- package/src/constructors/List/index.ts +0 -5
- package/src/constructors/List/properties.json +0 -16
- package/src/constructors/List/props.ts +0 -83
- package/src/constructors/List/types.ts +0 -66
- package/src/constructors/ListGroup/ListGroup.ts +0 -53
- package/src/constructors/ListGroup/ListGroupDesign.tsx +0 -185
- package/src/constructors/ListGroup/ListGroupOpen.ts +0 -56
- package/src/constructors/ListGroup/basicTypes.ts +0 -10
- package/src/constructors/ListGroup/index.ts +0 -5
- package/src/constructors/ListGroup/properties.json +0 -15
- package/src/constructors/ListGroup/props.ts +0 -30
- package/src/constructors/ListGroup/types.ts +0 -52
- package/src/constructors/ListItem/ListItem.ts +0 -175
- package/src/constructors/ListItem/ListItemDesign.tsx +0 -199
- package/src/constructors/ListItem/basicTypes.ts +0 -3
- package/src/constructors/ListItem/index.ts +0 -5
- package/src/constructors/ListItem/properties.json +0 -52
- package/src/constructors/ListItem/props.ts +0 -87
- package/src/constructors/ListItem/types.ts +0 -78
- package/src/constructors/ListMenu/ListMenu.ts +0 -53
- package/src/constructors/ListMenu/ListMenuDesign.tsx +0 -127
- package/src/constructors/ListMenu/basicTypes.ts +0 -3
- package/src/constructors/ListMenu/index.ts +0 -5
- package/src/constructors/ListMenu/properties.json +0 -19
- package/src/constructors/ListMenu/props.ts +0 -34
- package/src/constructors/ListMenu/types.ts +0 -54
- package/src/constructors/Mask/Mask.ts +0 -321
- package/src/constructors/Mask/MaskBuffer.ts +0 -89
- package/src/constructors/Mask/MaskCharacter.ts +0 -192
- package/src/constructors/Mask/MaskCharacterLength.ts +0 -40
- package/src/constructors/Mask/MaskData.ts +0 -287
- package/src/constructors/Mask/MaskDate.ts +0 -157
- package/src/constructors/Mask/MaskDesign.tsx +0 -222
- package/src/constructors/Mask/MaskEmit.ts +0 -140
- package/src/constructors/Mask/MaskEvent.ts +0 -386
- package/src/constructors/Mask/MaskFocus.ts +0 -49
- package/src/constructors/Mask/MaskFormat.ts +0 -216
- package/src/constructors/Mask/MaskInclude.ts +0 -147
- package/src/constructors/Mask/MaskItem.ts +0 -218
- package/src/constructors/Mask/MaskMatch.ts +0 -73
- package/src/constructors/Mask/MaskPattern.ts +0 -123
- package/src/constructors/Mask/MaskRight.ts +0 -43
- package/src/constructors/Mask/MaskRubber.ts +0 -156
- package/src/constructors/Mask/MaskRubberItem.ts +0 -96
- package/src/constructors/Mask/MaskRubberTransition.ts +0 -50
- package/src/constructors/Mask/MaskSelection.ts +0 -208
- package/src/constructors/Mask/MaskSpecial.ts +0 -179
- package/src/constructors/Mask/MaskType.ts +0 -103
- package/src/constructors/Mask/MaskValidation.ts +0 -102
- package/src/constructors/Mask/MaskValue.ts +0 -225
- package/src/constructors/Mask/MaskValueBasic.ts +0 -87
- package/src/constructors/Mask/MaskView.ts +0 -169
- package/src/constructors/Mask/basicTypes.ts +0 -67
- package/src/constructors/Mask/index.ts +0 -5
- package/src/constructors/Mask/properties.json +0 -30
- package/src/constructors/Mask/props.ts +0 -70
- package/src/constructors/Mask/types.ts +0 -71
- package/src/constructors/Menu/Menu.ts +0 -191
- package/src/constructors/Menu/MenuDesign.tsx +0 -244
- package/src/constructors/Menu/MenuGo.ts +0 -72
- package/src/constructors/Menu/MenuInclude.ts +0 -120
- package/src/constructors/Menu/MenuRequest.ts +0 -101
- package/src/constructors/Menu/MenuSearch.ts +0 -68
- package/src/constructors/Menu/MenuValue.ts +0 -77
- package/src/constructors/Menu/MenuWindow.ts +0 -90
- package/src/constructors/Menu/basicTypes.ts +0 -58
- package/src/constructors/Menu/index.ts +0 -6
- package/src/constructors/Menu/properties.json +0 -17
- package/src/constructors/Menu/props.ts +0 -91
- package/src/constructors/Menu/types.ts +0 -69
- package/src/constructors/Modal/Modal.ts +0 -53
- package/src/constructors/Modal/ModalAbstract.ts +0 -74
- package/src/constructors/Modal/ModalDesign.tsx +0 -63
- package/src/constructors/Modal/ModalDesignAbstract.tsx +0 -226
- package/src/constructors/Modal/basicTypes.ts +0 -0
- package/src/constructors/Modal/index.ts +0 -5
- package/src/constructors/Modal/properties.json +0 -17
- package/src/constructors/Modal/props.ts +0 -45
- package/src/constructors/Modal/types.ts +0 -62
- package/src/constructors/MotionTransform/MotionTransform.ts +0 -144
- package/src/constructors/MotionTransform/MotionTransformClassesInclude.ts +0 -38
- package/src/constructors/MotionTransform/MotionTransformDesign.tsx +0 -276
- package/src/constructors/MotionTransform/MotionTransformElement.ts +0 -225
- package/src/constructors/MotionTransform/MotionTransformEvent.ts +0 -118
- package/src/constructors/MotionTransform/MotionTransformGo.ts +0 -47
- package/src/constructors/MotionTransform/MotionTransformInclude.ts +0 -124
- package/src/constructors/MotionTransform/MotionTransformSize.ts +0 -97
- package/src/constructors/MotionTransform/MotionTransformState.ts +0 -255
- package/src/constructors/MotionTransform/basicTypes.ts +0 -137
- package/src/constructors/MotionTransform/index.ts +0 -7
- package/src/constructors/MotionTransform/properties.json +0 -35
- package/src/constructors/MotionTransform/props.ts +0 -56
- package/src/constructors/MotionTransform/types.ts +0 -86
- package/src/constructors/Progress/Progress.ts +0 -194
- package/src/constructors/Progress/ProgressDesign.tsx +0 -197
- package/src/constructors/Progress/ProgressInclude.ts +0 -79
- package/src/constructors/Progress/basicTypes.ts +0 -12
- package/src/constructors/Progress/index.ts +0 -6
- package/src/constructors/Progress/properties.json +0 -47
- package/src/constructors/Progress/props.ts +0 -58
- package/src/constructors/Progress/types.ts +0 -43
- package/src/constructors/Ripple/Ripple.ts +0 -46
- package/src/constructors/Ripple/RippleDesign.tsx +0 -115
- package/src/constructors/Ripple/RippleInclude.ts +0 -39
- package/src/constructors/Ripple/RippleItem.ts +0 -62
- package/src/constructors/Ripple/basicTypes.ts +0 -3
- package/src/constructors/Ripple/index.ts +0 -6
- package/src/constructors/Ripple/properties.json +0 -9
- package/src/constructors/Ripple/props.ts +0 -28
- package/src/constructors/Ripple/types.ts +0 -41
- package/src/constructors/Scrollbar/Scrollbar.ts +0 -66
- package/src/constructors/Scrollbar/ScrollbarBorder.ts +0 -243
- package/src/constructors/Scrollbar/ScrollbarDesign.tsx +0 -126
- package/src/constructors/Scrollbar/ScrollbarInclude.ts +0 -80
- package/src/constructors/Scrollbar/basicTypes.ts +0 -42
- package/src/constructors/Scrollbar/index.ts +0 -5
- package/src/constructors/Scrollbar/properties.json +0 -33
- package/src/constructors/Scrollbar/props.ts +0 -37
- package/src/constructors/Scrollbar/types.ts +0 -52
- package/src/constructors/Section/Section.ts +0 -33
- package/src/constructors/Section/SectionDesign.tsx +0 -127
- package/src/constructors/Section/basicTypes.ts +0 -0
- package/src/constructors/Section/index.ts +0 -5
- package/src/constructors/Section/properties.json +0 -2
- package/src/constructors/Section/props.ts +0 -29
- package/src/constructors/Section/types.ts +0 -47
- package/src/constructors/Select/Select.ts +0 -172
- package/src/constructors/Select/SelectDesign.tsx +0 -288
- package/src/constructors/Select/SelectFilter.ts +0 -43
- package/src/constructors/Select/SelectInput.ts +0 -68
- package/src/constructors/Select/basicTypes.ts +0 -0
- package/src/constructors/Select/index.ts +0 -5
- package/src/constructors/Select/properties.json +0 -3
- package/src/constructors/Select/props.ts +0 -63
- package/src/constructors/Select/types.ts +0 -53
- package/src/constructors/SelectValue/SelectValue.ts +0 -95
- package/src/constructors/SelectValue/SelectValueDesign.tsx +0 -198
- package/src/constructors/SelectValue/SelectValueInclude.ts +0 -92
- package/src/constructors/SelectValue/basicTypes.ts +0 -17
- package/src/constructors/SelectValue/index.ts +0 -6
- package/src/constructors/SelectValue/properties.json +0 -7
- package/src/constructors/SelectValue/props.ts +0 -48
- package/src/constructors/SelectValue/types.ts +0 -47
- package/src/constructors/Skeleton/Skeleton.ts +0 -84
- package/src/constructors/Skeleton/SkeletonDesign.tsx +0 -123
- package/src/constructors/Skeleton/SkeletonInclude.ts +0 -66
- package/src/constructors/Skeleton/basicTypes.ts +0 -16
- package/src/constructors/Skeleton/const.ts +0 -1
- package/src/constructors/Skeleton/index.ts +0 -6
- package/src/constructors/Skeleton/properties.json +0 -24
- package/src/constructors/Skeleton/props.ts +0 -28
- package/src/constructors/Skeleton/types.ts +0 -46
- package/src/constructors/TextareaAutosize/TextareaAutosize.ts +0 -41
- package/src/constructors/TextareaAutosize/TextareaAutosizeDesign.tsx +0 -147
- package/src/constructors/TextareaAutosize/TextareaAutosizeResize.ts +0 -109
- package/src/constructors/TextareaAutosize/TextareaAutosizeValue.ts +0 -69
- package/src/constructors/TextareaAutosize/basicTypes.ts +0 -0
- package/src/constructors/TextareaAutosize/index.ts +0 -5
- package/src/constructors/TextareaAutosize/properties.json +0 -6
- package/src/constructors/TextareaAutosize/props.ts +0 -34
- package/src/constructors/TextareaAutosize/types.ts +0 -50
- package/src/constructors/Tooltip/Tooltip.ts +0 -138
- package/src/constructors/Tooltip/TooltipClasses.ts +0 -90
- package/src/constructors/Tooltip/TooltipDesign.tsx +0 -198
- package/src/constructors/Tooltip/TooltipEvent.ts +0 -103
- package/src/constructors/Tooltip/TooltipInclude.ts +0 -114
- package/src/constructors/Tooltip/TooltipOpen.ts +0 -128
- package/src/constructors/Tooltip/TooltipPosition.ts +0 -92
- package/src/constructors/Tooltip/TooltipStatus.ts +0 -97
- package/src/constructors/Tooltip/TooltipStyle.ts +0 -123
- package/src/constructors/Tooltip/basicTypes.ts +0 -39
- package/src/constructors/Tooltip/index.ts +0 -6
- package/src/constructors/Tooltip/properties.json +0 -14
- package/src/constructors/Tooltip/props.ts +0 -49
- package/src/constructors/Tooltip/types.ts +0 -58
- package/src/constructors/Window/Window.ts +0 -248
- package/src/constructors/Window/WindowClasses.ts +0 -213
- package/src/constructors/Window/WindowClassesInclude.ts +0 -39
- package/src/constructors/Window/WindowClient.ts +0 -132
- package/src/constructors/Window/WindowCoordinates.ts +0 -257
- package/src/constructors/Window/WindowDesign.tsx +0 -295
- package/src/constructors/Window/WindowElement.ts +0 -84
- package/src/constructors/Window/WindowEmit.ts +0 -52
- package/src/constructors/Window/WindowEsc.ts +0 -114
- package/src/constructors/Window/WindowEvent.ts +0 -157
- package/src/constructors/Window/WindowFlash.ts +0 -70
- package/src/constructors/Window/WindowHidden.ts +0 -120
- package/src/constructors/Window/WindowHook.ts +0 -110
- package/src/constructors/Window/WindowInclude.ts +0 -134
- package/src/constructors/Window/WindowOpen.ts +0 -301
- package/src/constructors/Window/WindowOrigin.ts +0 -89
- package/src/constructors/Window/WindowPersistent.ts +0 -89
- package/src/constructors/Window/WindowPosition.ts +0 -358
- package/src/constructors/Window/WindowStatic.ts +0 -104
- package/src/constructors/Window/WindowStatus.ts +0 -138
- package/src/constructors/Window/WindowStyles.ts +0 -78
- package/src/constructors/Window/WindowVerification.ts +0 -290
- package/src/constructors/Window/basicTypes.ts +0 -196
- package/src/constructors/Window/index.ts +0 -7
- package/src/constructors/Window/properties.json +0 -239
- package/src/constructors/Window/props.ts +0 -97
- package/src/constructors/Window/types.ts +0 -124
- package/src/functions/getClassTagAStatic.ts +0 -8
- package/src/library.ts +0 -48
- package/src/types/ariaTypes.ts +0 -366
- package/src/types/captionTypes.ts +0 -15
- package/src/types/descriptionTypes.ts +0 -23
- package/src/types/enabledTypes.ts +0 -9
- package/src/types/eventClickTypes.ts +0 -51
- package/src/types/fieldTypes.ts +0 -386
- package/src/types/labelTypes.ts +0 -69
- package/src/types/modelTypes.ts +0 -39
- package/src/types/prefixTypes.ts +0 -15
- package/src/types/roleTypes.ts +0 -88
- package/src/types/suffixTypes.ts +0 -15
- package/src/types/textTypes.ts +0 -33
- package/src/types/touchEventTypes.ts +0 -43
- package/src/vite-env.d.ts +0 -1
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import { computed, type VNode } from 'vue'
|
|
2
|
-
import { type ConstrClass, GeoRef, isNumber, toNumberByMax } from '@dxtmisha/functional'
|
|
3
|
-
|
|
4
|
-
import { LabelInclude } from './LabelInclude'
|
|
5
|
-
import { SkeletonInclude } from '../constructors/Skeleton'
|
|
6
|
-
|
|
7
|
-
import type { LabelNumberProps, LabelNumberSlots } from '../types/labelTypes'
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* The LabelNumberInclude class extends LabelInclude to handle numeric labels.
|
|
11
|
-
* Allows converting and displaying numeric values with respect to maximum constraints.
|
|
12
|
-
*
|
|
13
|
-
* Класс LabelNumberInclude расширяет LabelInclude для работы с числовыми метками.
|
|
14
|
-
* Позволяет преобразовывать и отображать числовые значения с учетом максимальных ограничений.
|
|
15
|
-
*/
|
|
16
|
-
export class LabelNumberInclude extends LabelInclude {
|
|
17
|
-
/**
|
|
18
|
-
* Constructor for working with text that has maximum values.
|
|
19
|
-
*
|
|
20
|
-
* Конструктор для работы с текстом, у которого есть максимальные значения.
|
|
21
|
-
* @param props input property/ входное свойство
|
|
22
|
-
* @param className class name/ название класса
|
|
23
|
-
* @param classesExtra additional classes/ дополнительные классы
|
|
24
|
-
* @param slots object for working with slots/ объект для работы со слотами
|
|
25
|
-
* @param elementsExtra additional elements/ дополнительные элементы
|
|
26
|
-
* @param skeleton optional skeleton for loading state/ необязательный скелетон для состояния загрузки
|
|
27
|
-
*/
|
|
28
|
-
constructor(
|
|
29
|
-
protected readonly props: Readonly<LabelNumberProps>,
|
|
30
|
-
protected readonly className: string,
|
|
31
|
-
protected readonly classesExtra?: ConstrClass,
|
|
32
|
-
protected readonly slots?: LabelNumberSlots,
|
|
33
|
-
protected readonly elementsExtra?: () => VNode[],
|
|
34
|
-
protected readonly skeleton?: SkeletonInclude
|
|
35
|
-
) {
|
|
36
|
-
super(
|
|
37
|
-
props,
|
|
38
|
-
className,
|
|
39
|
-
classesExtra,
|
|
40
|
-
slots,
|
|
41
|
-
elementsExtra,
|
|
42
|
-
computed(() => this.getNumber()),
|
|
43
|
-
undefined,
|
|
44
|
-
skeleton
|
|
45
|
-
)
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
/**
|
|
49
|
-
* Returns text with conversion to maximum values.
|
|
50
|
-
*
|
|
51
|
-
* Возвращает текст с преобразованием в максимальные значения.
|
|
52
|
-
*/
|
|
53
|
-
protected getNumber(): string | undefined {
|
|
54
|
-
const props = this.props
|
|
55
|
-
|
|
56
|
-
if (
|
|
57
|
-
props.label
|
|
58
|
-
&& isNumber(props.label)
|
|
59
|
-
) {
|
|
60
|
-
return toNumberByMax(
|
|
61
|
-
props.label,
|
|
62
|
-
props.labelMax,
|
|
63
|
-
props.formatting,
|
|
64
|
-
GeoRef.getLanguage().value
|
|
65
|
-
).toString()
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
return undefined
|
|
69
|
-
}
|
|
70
|
-
}
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
import { isReadonly, isRef, type Ref, watch } from 'vue'
|
|
2
|
-
import {
|
|
3
|
-
isFunction,
|
|
4
|
-
type RefType,
|
|
5
|
-
toCamelCase,
|
|
6
|
-
toCamelCaseFirst
|
|
7
|
-
} from '@dxtmisha/functional'
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* Class for managing model synchronization and event emission.
|
|
11
|
-
* Handles two-way data binding with reactive values and emits update events.
|
|
12
|
-
*
|
|
13
|
-
* Класс для управления синхронизацией модели и испусканием событий.
|
|
14
|
-
* Обрабатывает двустороннюю привязку данных с реактивными значениями и испускает события обновления.
|
|
15
|
-
*/
|
|
16
|
-
export class ModelInclude<Value = string> {
|
|
17
|
-
/**
|
|
18
|
-
* Constructor
|
|
19
|
-
* @param index The index key for the model property/ Ключ индекса для свойства модели
|
|
20
|
-
* @param emits Function to emit events/ Функция для испускания событий
|
|
21
|
-
* @param syncValue Reactive value to synchronize/ Реактивное значение для синхронизации
|
|
22
|
-
*/
|
|
23
|
-
constructor(
|
|
24
|
-
protected readonly index: string,
|
|
25
|
-
protected readonly emits?: any,
|
|
26
|
-
protected readonly syncValue?: RefType<Value>
|
|
27
|
-
) {
|
|
28
|
-
if (syncValue) {
|
|
29
|
-
watch(syncValue, (newValue: Value) => {
|
|
30
|
-
this.emit(newValue)
|
|
31
|
-
}, { immediate: true })
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
/**
|
|
36
|
-
* Type guard to check if syncValue is a mutable Ref.
|
|
37
|
-
* Returns true if syncValue is a reference and not readonly.
|
|
38
|
-
*
|
|
39
|
-
* Проверка типа, является ли syncValue изменяемым Ref.
|
|
40
|
-
* Возвращает true, если syncValue является ссылкой и не readonly.
|
|
41
|
-
* @returns Type predicate indicating syncValue is a mutable Ref/ Предикат типа, указывающий что syncValue - изменяемый Ref
|
|
42
|
-
*/
|
|
43
|
-
isValue(): this is { syncValue: Ref<Value> } {
|
|
44
|
-
return isRef(this.syncValue)
|
|
45
|
-
&& !isReadonly(this.syncValue)
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
/**
|
|
49
|
-
* Generates binding object for v-model integration.
|
|
50
|
-
* Creates properties for two-way data binding with model and update handlers.
|
|
51
|
-
*
|
|
52
|
-
* Генерирует объект привязок для интеграции v-model.
|
|
53
|
-
* Создает свойства для двусторонней привязки данных с обработчиками модели и обновления.
|
|
54
|
-
* @returns Object with model value and update handlers/ Объект со значением модели и обработчиками обновления
|
|
55
|
-
*/
|
|
56
|
-
getBinds() {
|
|
57
|
-
if (this.isValue()) {
|
|
58
|
-
const name = toCamelCaseFirst(this.index)
|
|
59
|
-
|
|
60
|
-
return {
|
|
61
|
-
[`model${name}`]: this.syncValue.value,
|
|
62
|
-
[`onUpdate:${toCamelCase(this.index)}`]: this.update,
|
|
63
|
-
[`onUpdate:model${name}`]: this.update
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
return {}
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
/**
|
|
71
|
-
* Updates the synchronized value.
|
|
72
|
-
* Sets the value of the reactive reference if it's a mutable Ref.
|
|
73
|
-
*
|
|
74
|
-
* Обновляет синхронизированное значение.
|
|
75
|
-
* Устанавливает значение реактивной ссылки, если это изменяемый Ref.
|
|
76
|
-
* @param value The new value to set/ Новое значение для установки
|
|
77
|
-
*/
|
|
78
|
-
readonly update = (value: Value): void => {
|
|
79
|
-
if (this.isValue()) {
|
|
80
|
-
this.syncValue.value = value
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
/**
|
|
85
|
-
* Emits an event to update the model value.
|
|
86
|
-
* Triggers the corresponding update event with the new value.
|
|
87
|
-
*
|
|
88
|
-
* Испускает событие для обновления значения модели.
|
|
89
|
-
* Запускает соответствующее событие обновления с новым значением.
|
|
90
|
-
* @param value The new value to set/ Новое значение для установки
|
|
91
|
-
*/
|
|
92
|
-
emit(value: Value): void {
|
|
93
|
-
if (isFunction(this.emits)) {
|
|
94
|
-
this.emits(`update:${toCamelCase(this.index)}`, value)
|
|
95
|
-
this.emits(`update:model${toCamelCaseFirst(this.index)}`, value)
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
}
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import { ref, watch } from 'vue'
|
|
2
|
-
import type { RefType } from '@dxtmisha/functional'
|
|
3
|
-
|
|
4
|
-
import { EventClickInclude } from './EventClickInclude'
|
|
5
|
-
import { ModelInclude } from './ModelInclude'
|
|
6
|
-
|
|
7
|
-
import type { EventClickValue } from '../types/eventClickTypes'
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* Class for managing model value with reactive reference and click handling.
|
|
11
|
-
*
|
|
12
|
-
* Класс для управления значением модели с реактивной ссылкой и обработкой клика.
|
|
13
|
-
*/
|
|
14
|
-
export class ModelValueInclude<Value = any> {
|
|
15
|
-
readonly value = ref<Value>()
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* Constructor
|
|
19
|
-
* @param index identifier/ идентификатор
|
|
20
|
-
* @param emits emits function/ функция эмитов
|
|
21
|
-
* @param event event click handler/ обработчик клика
|
|
22
|
-
* @param inputValue input value reference/ ссылка на входное значение
|
|
23
|
-
* @param readonly readonly flag/ флаг только для чтения
|
|
24
|
-
*/
|
|
25
|
-
constructor(
|
|
26
|
-
protected readonly index: string,
|
|
27
|
-
protected readonly emits?: any,
|
|
28
|
-
protected readonly event?: EventClickInclude,
|
|
29
|
-
protected readonly inputValue?: RefType<any>,
|
|
30
|
-
protected readonly readonly?: RefType<boolean | undefined>
|
|
31
|
-
) {
|
|
32
|
-
new ModelInclude(this.index, this.emits, this.value)
|
|
33
|
-
|
|
34
|
-
watch(
|
|
35
|
-
[this.inputValue],
|
|
36
|
-
() => {
|
|
37
|
-
this.value.value = this.inputValue?.value
|
|
38
|
-
},
|
|
39
|
-
{ immediate: true }
|
|
40
|
-
)
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* Returns the current value.
|
|
45
|
-
*
|
|
46
|
-
* Возвращает текущее значение.
|
|
47
|
-
*/
|
|
48
|
-
getValue(): Value | undefined {
|
|
49
|
-
return this.value.value
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
/**
|
|
53
|
-
* Click handler.
|
|
54
|
-
*
|
|
55
|
-
* Обработчик клика.
|
|
56
|
-
* @param event event object/ объект события
|
|
57
|
-
* @param options data object/ объект с данными
|
|
58
|
-
*/
|
|
59
|
-
readonly onClick = (
|
|
60
|
-
event: MouseEvent,
|
|
61
|
-
options?: EventClickValue
|
|
62
|
-
): void => {
|
|
63
|
-
if (
|
|
64
|
-
options
|
|
65
|
-
&& 'value' in options
|
|
66
|
-
&& !this.readonly?.value
|
|
67
|
-
) {
|
|
68
|
-
this.value.value = options.value
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
this.event?.onClick(event, options)
|
|
72
|
-
}
|
|
73
|
-
}
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import { computed, type VNode } from 'vue'
|
|
2
|
-
import { isFilled, render } from '@dxtmisha/functional'
|
|
3
|
-
|
|
4
|
-
import { SkeletonInclude } from '../constructors/Skeleton'
|
|
5
|
-
|
|
6
|
-
import type { PrefixProps, PrefixSlots } from '../types/prefixTypes'
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* Class for working with prefix.
|
|
10
|
-
*
|
|
11
|
-
* Класс для работы с prefix.
|
|
12
|
-
*/
|
|
13
|
-
export class PrefixInclude {
|
|
14
|
-
/**
|
|
15
|
-
* Constructor
|
|
16
|
-
* @param props input property/ входное свойство
|
|
17
|
-
* @param className class name/ название класса
|
|
18
|
-
* @param slots object for working with slots/ объект для работы со слотами
|
|
19
|
-
* @param skeleton optional skeleton for loading state/ необязательный скелетон для состояния загрузки
|
|
20
|
-
*/
|
|
21
|
-
constructor(
|
|
22
|
-
protected readonly props: Readonly<PrefixProps>,
|
|
23
|
-
protected readonly className: string,
|
|
24
|
-
protected readonly slots?: PrefixSlots,
|
|
25
|
-
protected readonly skeleton?: SkeletonInclude
|
|
26
|
-
) {
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* Returns true if prefix is filled
|
|
31
|
-
*
|
|
32
|
-
* Возвращает true, если prefix заполнен
|
|
33
|
-
*/
|
|
34
|
-
readonly is = computed(() => Boolean(this.props.prefix || this.slots?.prefix))
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* Renders prefix element with content from props or slots.
|
|
38
|
-
*
|
|
39
|
-
* Отображает элемент prefix с содержимым из props или slots.
|
|
40
|
-
*/
|
|
41
|
-
render(): VNode[] {
|
|
42
|
-
const children: any[] = []
|
|
43
|
-
|
|
44
|
-
if (isFilled(this.props.prefix)) {
|
|
45
|
-
children.push(this.props.prefix)
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
if (this.slots?.prefix) {
|
|
49
|
-
children.push(this.slots.prefix?.({}))
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
if (children.length > 0) {
|
|
53
|
-
return [
|
|
54
|
-
render(
|
|
55
|
-
'div',
|
|
56
|
-
{
|
|
57
|
-
'class': {
|
|
58
|
-
[`${this.className}__prefix`]: true,
|
|
59
|
-
...this.skeleton?.classes.value
|
|
60
|
-
},
|
|
61
|
-
'data-event-type': 'prefix'
|
|
62
|
-
},
|
|
63
|
-
children,
|
|
64
|
-
'prefix'
|
|
65
|
-
)
|
|
66
|
-
]
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
return []
|
|
70
|
-
}
|
|
71
|
-
}
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import { computed, type VNode } from 'vue'
|
|
2
|
-
import { isFilled, render } from '@dxtmisha/functional'
|
|
3
|
-
|
|
4
|
-
import { SkeletonInclude } from '../constructors/Skeleton'
|
|
5
|
-
|
|
6
|
-
import type { SuffixProps, SuffixSlots } from '../types/suffixTypes'
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* Class for working with suffix.
|
|
10
|
-
*
|
|
11
|
-
* Класс для работы с suffix.
|
|
12
|
-
*/
|
|
13
|
-
export class SuffixInclude {
|
|
14
|
-
/**
|
|
15
|
-
* Constructor
|
|
16
|
-
* @param props input property/ входное свойство
|
|
17
|
-
* @param className class name/ название класса
|
|
18
|
-
* @param slots object for working with slots/ объект для работы со слотами
|
|
19
|
-
* @param skeleton optional skeleton for loading state/ необязательный скелетон для состояния загрузки
|
|
20
|
-
*/
|
|
21
|
-
constructor(
|
|
22
|
-
protected readonly props: Readonly<SuffixProps>,
|
|
23
|
-
protected readonly className: string,
|
|
24
|
-
protected readonly slots?: SuffixSlots,
|
|
25
|
-
protected readonly skeleton?: SkeletonInclude
|
|
26
|
-
) {
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* Returns true if suffix is filled
|
|
31
|
-
*
|
|
32
|
-
* Возвращает true, если suffix заполнен
|
|
33
|
-
*/
|
|
34
|
-
readonly is = computed(() => Boolean(this.props.suffix || this.slots?.suffix))
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* Renders suffix element with content from props or slots.
|
|
38
|
-
*
|
|
39
|
-
* Отображает элемент suffix с содержимым из props или slots.
|
|
40
|
-
*/
|
|
41
|
-
render(): VNode[] {
|
|
42
|
-
const children: any[] = []
|
|
43
|
-
|
|
44
|
-
if (isFilled(this.props.suffix)) {
|
|
45
|
-
children.push(this.props.suffix)
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
if (this.slots?.suffix) {
|
|
49
|
-
children.push(this.slots.suffix?.({}))
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
if (children.length > 0) {
|
|
53
|
-
return [
|
|
54
|
-
render(
|
|
55
|
-
'div',
|
|
56
|
-
{
|
|
57
|
-
'class': {
|
|
58
|
-
[`${this.className}__suffix`]: true,
|
|
59
|
-
...this.skeleton?.classes.value
|
|
60
|
-
},
|
|
61
|
-
'data-event-type': 'suffix'
|
|
62
|
-
},
|
|
63
|
-
children,
|
|
64
|
-
'suffix'
|
|
65
|
-
)
|
|
66
|
-
]
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
return []
|
|
70
|
-
}
|
|
71
|
-
}
|
|
@@ -1,260 +0,0 @@
|
|
|
1
|
-
import { onUnmounted, type Ref } from 'vue'
|
|
2
|
-
import { EventItem, getRef, isDomRuntime, isFunction } from '@dxtmisha/functional'
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* Class for managing focus and tab index of elements
|
|
6
|
-
*
|
|
7
|
-
* Класс для управления фокусом и табиндексом элементов
|
|
8
|
-
*/
|
|
9
|
-
export class TabIndexInclude<E extends HTMLElement = HTMLElement> {
|
|
10
|
-
/** Previously focused element/ Ранее сфокусированный элемент */
|
|
11
|
-
protected oldElement?: HTMLElement | Element | null
|
|
12
|
-
|
|
13
|
-
/** Event item for focus events/ Элемент события для событий фокуса */
|
|
14
|
-
protected event?: EventItem<HTMLElement, any>
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* Сonstructor
|
|
18
|
-
* @param element - Reference to the element/ Ссылка на элемент
|
|
19
|
-
*/
|
|
20
|
-
constructor(
|
|
21
|
-
protected readonly element: Ref<E | undefined> | (() => E | undefined)
|
|
22
|
-
) {
|
|
23
|
-
onUnmounted(() => {
|
|
24
|
-
this.stopEvent()
|
|
25
|
-
this.event = undefined
|
|
26
|
-
})
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* Set focus to the element.
|
|
31
|
-
*
|
|
32
|
-
* Устанавливает фокус на элемент.
|
|
33
|
-
*/
|
|
34
|
-
goTo(): this {
|
|
35
|
-
if (
|
|
36
|
-
this.isElement()
|
|
37
|
-
&& isDomRuntime()
|
|
38
|
-
) {
|
|
39
|
-
this.updateOldElement()
|
|
40
|
-
this.toFocus()
|
|
41
|
-
this.startEvent()
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
return this
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
/**
|
|
48
|
-
* Reset focus to the previously focused element.
|
|
49
|
-
*
|
|
50
|
-
* Сбрасывает фокус на ранее сфокусированный элемент.
|
|
51
|
-
*/
|
|
52
|
-
reset(): this {
|
|
53
|
-
if (
|
|
54
|
-
this.oldElement
|
|
55
|
-
&& ('focus' in this.oldElement)
|
|
56
|
-
) {
|
|
57
|
-
this.oldElement.focus()
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
this.stopEvent()
|
|
61
|
-
|
|
62
|
-
return this
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
/**
|
|
66
|
-
* Toggle focus based on status.
|
|
67
|
-
*
|
|
68
|
-
* Переключает фокус в зависимости от статуса.
|
|
69
|
-
* @param status Focus status/ Статус фокуса
|
|
70
|
-
*/
|
|
71
|
-
toggle(status: boolean): this {
|
|
72
|
-
if (status) {
|
|
73
|
-
this.goTo()
|
|
74
|
-
} else {
|
|
75
|
-
this.reset()
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
return this
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
/**
|
|
82
|
-
* Check if the element is defined.
|
|
83
|
-
*
|
|
84
|
-
* Проверяет, определен ли элемент.
|
|
85
|
-
*/
|
|
86
|
-
protected isElement(): this is { element: Ref<E> } {
|
|
87
|
-
return this.getElement() !== undefined
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
/**
|
|
91
|
-
* Check if the event is a Tab key event.
|
|
92
|
-
*
|
|
93
|
-
* Проверяет, является ли событие событием клавиши Tab.
|
|
94
|
-
* @param event Keyboard event/ Событие клавиатуры
|
|
95
|
-
*/
|
|
96
|
-
protected isTab(event: KeyboardEvent): boolean {
|
|
97
|
-
return event.key === 'Tab'
|
|
98
|
-
|| event.code === 'Tab'
|
|
99
|
-
|| event.keyCode === 9
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
/**
|
|
103
|
-
* Check if the Shift key is pressed.
|
|
104
|
-
*
|
|
105
|
-
* Проверяет, нажата ли клавиша Shift.
|
|
106
|
-
* @param event Keyboard event/ Событие клавиатуры
|
|
107
|
-
*/
|
|
108
|
-
protected isShift(event: KeyboardEvent): boolean {
|
|
109
|
-
return event.shiftKey
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
/**
|
|
113
|
-
* Get the element.
|
|
114
|
-
*
|
|
115
|
-
* Получает элемент.
|
|
116
|
-
*/
|
|
117
|
-
protected getElement(): E | undefined {
|
|
118
|
-
if (isFunction(this.element)) {
|
|
119
|
-
return this.element()
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
return getRef(this.element)
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
/**
|
|
126
|
-
* Find the first focusable element.
|
|
127
|
-
*
|
|
128
|
-
* Находит первый фокусируемый элемент.
|
|
129
|
-
*/
|
|
130
|
-
findFirstElement(): HTMLElement | undefined {
|
|
131
|
-
const elements = this.getElement()
|
|
132
|
-
?.querySelectorAll<HTMLButtonElement>('*')
|
|
133
|
-
|
|
134
|
-
if (elements) {
|
|
135
|
-
for (const element of elements) {
|
|
136
|
-
if (
|
|
137
|
-
'tabIndex' in element
|
|
138
|
-
&& element.tabIndex >= 0
|
|
139
|
-
) {
|
|
140
|
-
return element
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
return undefined
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
/**
|
|
149
|
-
* Find the last focusable element.
|
|
150
|
-
*
|
|
151
|
-
* Находит последний фокусируемый элемент.
|
|
152
|
-
*/
|
|
153
|
-
findLastElement(): HTMLElement | undefined {
|
|
154
|
-
const elements = this.getElement()
|
|
155
|
-
?.querySelectorAll<HTMLButtonElement>('*')
|
|
156
|
-
|
|
157
|
-
if (elements) {
|
|
158
|
-
for (let i = elements.length - 1; i >= 0; i--) {
|
|
159
|
-
const element = elements[i]
|
|
160
|
-
|
|
161
|
-
if (
|
|
162
|
-
element
|
|
163
|
-
&& 'tabIndex' in element
|
|
164
|
-
&& element.tabIndex >= 0
|
|
165
|
-
) {
|
|
166
|
-
return element
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
return undefined
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
/**
|
|
175
|
-
* Set focus with temporary tab index modification.
|
|
176
|
-
*
|
|
177
|
-
* Устанавливает фокус с временным изменением табиндекса.
|
|
178
|
-
*/
|
|
179
|
-
protected toFocus(): this {
|
|
180
|
-
const element = this.getElement()
|
|
181
|
-
|
|
182
|
-
if (element) {
|
|
183
|
-
element.setAttribute('tabindex', '-1')
|
|
184
|
-
element.focus()
|
|
185
|
-
|
|
186
|
-
requestAnimationFrame(() => {
|
|
187
|
-
element.removeAttribute('tabindex')
|
|
188
|
-
})
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
return this
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
/**
|
|
195
|
-
* Save the currently focused element.
|
|
196
|
-
*
|
|
197
|
-
* Сохраняет текущий сфокусированный элемент.
|
|
198
|
-
*/
|
|
199
|
-
protected updateOldElement(): void {
|
|
200
|
-
if (isDomRuntime()) {
|
|
201
|
-
this.oldElement = document.activeElement
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
/**
|
|
206
|
-
* Event listener for keyboard events.
|
|
207
|
-
*
|
|
208
|
-
* Слушатель событий для событий клавиатуры.
|
|
209
|
-
* @param event Keyboard event/ Событие клавиатуры
|
|
210
|
-
*/
|
|
211
|
-
protected listenEvent = (event: KeyboardEvent): void => {
|
|
212
|
-
if (!this.isTab(event)) {
|
|
213
|
-
return
|
|
214
|
-
}
|
|
215
|
-
|
|
216
|
-
const focusActive = document.activeElement as HTMLElement
|
|
217
|
-
|
|
218
|
-
if (focusActive) {
|
|
219
|
-
if (this.isShift(event)) {
|
|
220
|
-
if (focusActive === this.findFirstElement()) {
|
|
221
|
-
this.findLastElement()?.focus()
|
|
222
|
-
event.preventDefault()
|
|
223
|
-
}
|
|
224
|
-
} else if (focusActive === this.findLastElement()) {
|
|
225
|
-
this.findFirstElement()?.focus()
|
|
226
|
-
event.preventDefault()
|
|
227
|
-
}
|
|
228
|
-
}
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
/**
|
|
232
|
-
* Start the event listener.
|
|
233
|
-
*
|
|
234
|
-
* Запускает слушатель событий.
|
|
235
|
-
*/
|
|
236
|
-
protected startEvent(): void {
|
|
237
|
-
if (this.event) {
|
|
238
|
-
this.event.start()
|
|
239
|
-
return
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
this.event = new EventItem<HTMLElement, any>(
|
|
243
|
-
document.body,
|
|
244
|
-
'keydown',
|
|
245
|
-
this.listenEvent
|
|
246
|
-
)
|
|
247
|
-
.start()
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
/**
|
|
251
|
-
* Stop the event listener.
|
|
252
|
-
*
|
|
253
|
-
* Останавливает слушатель событий.
|
|
254
|
-
*/
|
|
255
|
-
protected stopEvent(): void {
|
|
256
|
-
if (this.event) {
|
|
257
|
-
this.event.stop()
|
|
258
|
-
}
|
|
259
|
-
}
|
|
260
|
-
}
|