@dxtmisha/constructor 0.23.0 → 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/{src/constructors/MotionTransform/MotionTransformElement.ts → dist/MotionTransformClassesInclude-B23RIq0Q.js} +92 -98
- 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/{src/constructors/Badge/types.ts → dist/constructors/Badge/types.d.ts} +9 -17
- 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/{src/constructors/Chip/types.ts → dist/constructors/Chip/types.d.ts} +10 -23
- 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/{src/constructors/FieldCounter/props.ts → dist/constructors/FieldCounter/props.d.ts} +6 -16
- package/{src/constructors/FieldCounter/types.ts → dist/constructors/FieldCounter/types.d.ts} +5 -12
- 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/{src/constructors/FieldLabel/basicTypes.ts → dist/constructors/FieldLabel/basicTypes.d.ts} +9 -15
- package/dist/constructors/FieldLabel/index.d.ts +6 -0
- package/dist/constructors/FieldLabel/props.d.ts +23 -0
- package/{src/constructors/FieldLabel/types.ts → dist/constructors/FieldLabel/types.d.ts} +11 -20
- 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/{src/constructors/FieldMessage/types.ts → dist/constructors/FieldMessage/types.d.ts} +13 -19
- 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/{src/constructors/Icon/types.ts → dist/constructors/Icon/types.d.ts} +9 -16
- 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/{src/constructors/Image/types.ts → dist/constructors/Image/types.d.ts} +11 -19
- 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/{src/constructors/List/basicTypes.ts → dist/constructors/List/basicTypes.d.ts} +2 -2
- 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/{src/constructors/ListGroup/props.ts → dist/constructors/ListGroup/props.d.ts} +5 -14
- package/{src/constructors/ListGroup/types.ts → dist/constructors/ListGroup/types.d.ts} +13 -21
- package/dist/constructors/ListItem/ListItem.d.ts +175 -0
- package/dist/constructors/ListItem/ListItemDesign.d.ts +56 -0
- package/{src/constructors/ListItem/basicTypes.ts → dist/constructors/ListItem/basicTypes.d.ts} +2 -2
- 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/{src/constructors/ListMenu/basicTypes.ts → dist/constructors/ListMenu/basicTypes.d.ts} +2 -2
- package/dist/constructors/ListMenu/index.d.ts +5 -0
- package/dist/constructors/ListMenu/props.d.ts +22 -0
- package/{src/constructors/ListMenu/types.ts → dist/constructors/ListMenu/types.d.ts} +10 -24
- 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/{src/constructors/Progress/types.ts → dist/constructors/Progress/types.d.ts} +12 -17
- 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/{src/constructors/Ripple/basicTypes.ts → dist/constructors/Ripple/basicTypes.d.ts} +2 -2
- package/dist/constructors/Ripple/index.d.ts +6 -0
- package/{src/constructors/Ripple/props.ts → dist/constructors/Ripple/props.d.ts} +3 -12
- package/{src/constructors/Ripple/types.ts → dist/constructors/Ripple/types.d.ts} +10 -15
- 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/{src/constructors/Scrollbar/basicTypes.ts → dist/constructors/Scrollbar/basicTypes.d.ts} +16 -23
- package/dist/constructors/Scrollbar/index.d.ts +5 -0
- package/dist/constructors/Scrollbar/props.d.ts +28 -0
- package/{src/constructors/Scrollbar/types.ts → dist/constructors/Scrollbar/types.d.ts} +14 -21
- 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/{src/constructors/Skeleton/props.ts → dist/constructors/Skeleton/props.d.ts} +3 -12
- package/{src/constructors/Skeleton/types.ts → dist/constructors/Skeleton/types.d.ts} +9 -16
- 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/{src/functions/getClassTegAStatic.ts → dist/functions/getClassTagAStatic.d.ts} +1 -1
- 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/{src/types/captionTypes.ts → dist/types/captionTypes.d.ts} +4 -5
- package/dist/types/descriptionTypes.d.ts +21 -0
- package/{src/types/enabledTypes.ts → dist/types/enabledTypes.d.ts} +4 -4
- 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/{src/types/prefixTypes.ts → dist/types/prefixTypes.d.ts} +4 -5
- package/dist/types/roleTypes.d.ts +1 -0
- package/{src/types/suffixTypes.ts → dist/types/suffixTypes.d.ts} +4 -5
- 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 +173 -58
- package/src/constructors/Accordion/style.scss +12 -0
- package/src/constructors/ActionSheet/style.scss +25 -0
- package/src/constructors/Actions/style.scss +11 -0
- package/src/constructors/Anchor/style.scss +10 -0
- package/src/constructors/Arrow/style.scss +133 -0
- package/src/constructors/Bars/style.scss +4 -0
- package/src/constructors/Block/style.scss +13 -0
- package/src/constructors/Button/style.scss +1 -1
- package/src/constructors/Cell/style.scss +1 -1
- package/src/constructors/ChipGroup/style.scss +6 -0
- package/src/constructors/Dialog/style.scss +18 -0
- package/src/constructors/Field/style.scss +36 -20
- package/src/constructors/FieldMessage/style.scss +16 -1
- package/src/constructors/Image/style.scss +48 -0
- package/src/constructors/Input/style.scss +5 -0
- package/src/constructors/List/style.scss +14 -0
- package/src/constructors/Mask/style.scss +2 -4
- package/src/constructors/Modal/style.scss +20 -0
- package/src/constructors/MotionTransform/style.scss +24 -2
- package/src/constructors/Page/style.scss +6 -0
- package/src/constructors/Progress/style.scss +2 -2
- package/src/constructors/Ripple/style.scss +4 -0
- package/src/constructors/Section/style.scss +6 -0
- package/src/constructors/Select/style.scss +5 -0
- package/src/constructors/SelectValue/style.scss +14 -0
- package/src/constructors/TextareaAutosize/style.scss +31 -0
- package/src/constructors/Tooltip/style.scss +43 -0
- package/src/constructors/Window/style.scss +11 -0
- package/src/library/style.scss +39 -0
- package/src/classes/CaptionInclude.ts +0 -71
- package/src/classes/DescriptionInclude.ts +0 -70
- package/src/classes/EnabledInclude.ts +0 -56
- package/src/classes/EventClickInclude.ts +0 -138
- package/src/classes/LabelHighlightInclude.ts +0 -90
- package/src/classes/LabelInclude.ts +0 -171
- package/src/classes/LabelNumberInclude.ts +0 -70
- package/src/classes/ModelInclude.ts +0 -49
- package/src/classes/PrefixInclude.ts +0 -71
- package/src/classes/SuffixInclude.ts +0 -71
- package/src/classes/field/FieldAttributesInclude.ts +0 -100
- 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/FieldInputCheckInclude.ts +0 -128
- package/src/classes/field/FieldMatchInclude.ts +0 -101
- package/src/classes/field/FieldPatternInclude.ts +0 -42
- package/src/classes/field/FieldTypeInclude.ts +0 -42
- package/src/classes/field/FieldValidationInclude.ts +0 -196
- package/src/classes/field/FieldValueInclude.ts +0 -318
- package/src/classes/field/FieldVisibilityInclude.ts +0 -21
- package/src/constructors/Badge/Badge.ts +0 -73
- package/src/constructors/Badge/BadgeDesign.tsx +0 -127
- 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 -43
- package/src/constructors/Bars/Bars.ts +0 -188
- package/src/constructors/Bars/BarsAction.ts +0 -57
- package/src/constructors/Bars/BarsDesign.tsx +0 -229
- package/src/constructors/Bars/BarsInclude.ts +0 -116
- 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 -63
- package/src/constructors/Bars/types.ts +0 -58
- package/src/constructors/Button/Button.ts +0 -88
- package/src/constructors/Button/ButtonDesign.tsx +0 -136
- package/src/constructors/Button/ButtonInclude.ts +0 -80
- package/src/constructors/Button/basicTypes.ts +0 -12
- package/src/constructors/Button/index.ts +0 -5
- package/src/constructors/Button/properties.json +0 -84
- package/src/constructors/Button/props.ts +0 -55
- package/src/constructors/Button/types.ts +0 -56
- package/src/constructors/Cell/Cell.ts +0 -127
- package/src/constructors/Cell/CellDesign.tsx +0 -203
- package/src/constructors/Cell/basicTypes.ts +0 -6
- package/src/constructors/Cell/index.ts +0 -5
- package/src/constructors/Cell/properties.json +0 -52
- package/src/constructors/Cell/props.ts +0 -61
- 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/basicTypes.ts +0 -0
- package/src/constructors/Chip/index.ts +0 -4
- package/src/constructors/Chip/properties.json +0 -3
- package/src/constructors/Chip/props.ts +0 -44
- package/src/constructors/Field/Field.ts +0 -147
- package/src/constructors/Field/FieldDesign.tsx +0 -372
- package/src/constructors/Field/FieldIcons.ts +0 -99
- package/src/constructors/Field/FieldInclude.ts +0 -72
- package/src/constructors/Field/FieldSize.ts +0 -93
- package/src/constructors/Field/basicTypes.ts +0 -90
- package/src/constructors/Field/index.ts +0 -5
- package/src/constructors/Field/properties.json +0 -86
- package/src/constructors/Field/props.ts +0 -88
- package/src/constructors/Field/types.ts +0 -78
- package/src/constructors/FieldCounter/FieldCounter.ts +0 -75
- package/src/constructors/FieldCounter/FieldCounterDesign.tsx +0 -122
- package/src/constructors/FieldCounter/FieldCounterInclude.ts +0 -98
- package/src/constructors/FieldCounter/basicTypes.ts +0 -25
- package/src/constructors/FieldCounter/index.ts +0 -6
- package/src/constructors/FieldCounter/properties.json +0 -3
- package/src/constructors/FieldLabel/FieldLabel.ts +0 -93
- package/src/constructors/FieldLabel/FieldLabelDesign.tsx +0 -156
- package/src/constructors/FieldLabel/FieldLabelInclude.ts +0 -91
- 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/FieldMessage/FieldMessage.ts +0 -79
- package/src/constructors/FieldMessage/FieldMessageDesign.tsx +0 -159
- package/src/constructors/FieldMessage/FieldMessageInclude.ts +0 -105
- package/src/constructors/FieldMessage/FieldMessageMessage.ts +0 -54
- package/src/constructors/FieldMessage/basicTypes.ts +0 -27
- package/src/constructors/FieldMessage/index.ts +0 -6
- package/src/constructors/FieldMessage/properties.json +0 -9
- package/src/constructors/FieldMessage/props.ts +0 -40
- package/src/constructors/Icon/Icon.ts +0 -105
- package/src/constructors/Icon/IconDesign.tsx +0 -157
- 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 -54
- package/src/constructors/Image/Image.ts +0 -184
- package/src/constructors/Image/ImageAdaptiveGroup.ts +0 -230
- package/src/constructors/Image/ImageAdaptiveItem.ts +0 -295
- package/src/constructors/Image/ImageBackground.ts +0 -127
- package/src/constructors/Image/ImageCalculation.ts +0 -184
- package/src/constructors/Image/ImageCalculationList.ts +0 -61
- package/src/constructors/Image/ImageCoordinator.ts +0 -104
- package/src/constructors/Image/ImageData.ts +0 -99
- package/src/constructors/Image/ImageDesign.tsx +0 -137
- package/src/constructors/Image/ImageFile.ts +0 -137
- 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 -70
- package/src/constructors/Image/index.ts +0 -5
- package/src/constructors/Image/properties.json +0 -17
- package/src/constructors/Image/props.ts +0 -66
- package/src/constructors/List/List.ts +0 -267
- package/src/constructors/List/ListControl.ts +0 -194
- package/src/constructors/List/ListDesign.tsx +0 -382
- package/src/constructors/List/ListFocus.ts +0 -196
- package/src/constructors/List/ListGo.ts +0 -283
- package/src/constructors/List/ListSearch.ts +0 -113
- package/src/constructors/List/index.ts +0 -5
- package/src/constructors/List/properties.json +0 -16
- package/src/constructors/List/props.ts +0 -76
- package/src/constructors/List/types.ts +0 -66
- package/src/constructors/ListGroup/ListGroup.ts +0 -53
- package/src/constructors/ListGroup/ListGroupDesign.tsx +0 -180
- package/src/constructors/ListGroup/ListGroupOpen.ts +0 -56
- package/src/constructors/ListGroup/basicTypes.ts +0 -3
- package/src/constructors/ListGroup/index.ts +0 -5
- package/src/constructors/ListGroup/properties.json +0 -15
- package/src/constructors/ListItem/ListItem.ts +0 -115
- package/src/constructors/ListItem/ListItemDesign.tsx +0 -196
- package/src/constructors/ListItem/index.ts +0 -5
- package/src/constructors/ListItem/properties.json +0 -52
- package/src/constructors/ListItem/props.ts +0 -78
- package/src/constructors/ListItem/types.ts +0 -78
- package/src/constructors/ListMenu/ListMenu.ts +0 -52
- package/src/constructors/ListMenu/ListMenuDesign.tsx +0 -127
- 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/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 -217
- package/src/constructors/Mask/MaskEmit.ts +0 -140
- package/src/constructors/Mask/MaskEvent.ts +0 -347
- package/src/constructors/Mask/MaskFocus.ts +0 -49
- package/src/constructors/Mask/MaskFormat.ts +0 -216
- 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 -49
- package/src/constructors/Mask/index.ts +0 -5
- package/src/constructors/Mask/properties.json +0 -29
- package/src/constructors/Mask/props.ts +0 -70
- package/src/constructors/Mask/types.ts +0 -71
- package/src/constructors/Menu/Menu.ts +0 -179
- package/src/constructors/Menu/MenuDesign.tsx +0 -244
- package/src/constructors/Menu/MenuInclude.ts +0 -110
- package/src/constructors/Menu/MenuRequest.ts +0 -101
- package/src/constructors/Menu/MenuSearch.ts +0 -49
- package/src/constructors/Menu/MenuValue.ts +0 -73
- package/src/constructors/Menu/MenuWindow.ts +0 -89
- package/src/constructors/Menu/basicTypes.ts +0 -41
- package/src/constructors/Menu/index.ts +0 -6
- package/src/constructors/Menu/properties.json +0 -17
- package/src/constructors/Menu/props.ts +0 -79
- package/src/constructors/Menu/types.ts +0 -79
- package/src/constructors/MotionTransform/MotionTransform.ts +0 -87
- package/src/constructors/MotionTransform/MotionTransformClassesInclude.ts +0 -38
- package/src/constructors/MotionTransform/MotionTransformDesign.tsx +0 -242
- package/src/constructors/MotionTransform/MotionTransformEvent.ts +0 -118
- package/src/constructors/MotionTransform/MotionTransformGo.ts +0 -47
- package/src/constructors/MotionTransform/MotionTransformInclude.ts +0 -123
- package/src/constructors/MotionTransform/MotionTransformSize.ts +0 -97
- package/src/constructors/MotionTransform/MotionTransformState.ts +0 -250
- package/src/constructors/MotionTransform/basicTypes.ts +0 -121
- package/src/constructors/MotionTransform/index.ts +0 -7
- package/src/constructors/MotionTransform/properties.json +0 -35
- package/src/constructors/MotionTransform/props.ts +0 -50
- package/src/constructors/MotionTransform/types.ts +0 -86
- package/src/constructors/Progress/Progress.ts +0 -184
- package/src/constructors/Progress/ProgressDesign.tsx +0 -175
- package/src/constructors/Progress/ProgressInclude.ts +0 -67
- 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 -54
- package/src/constructors/Ripple/Ripple.ts +0 -46
- package/src/constructors/Ripple/RippleDesign.tsx +0 -112
- package/src/constructors/Ripple/RippleInclude.ts +0 -39
- package/src/constructors/Ripple/RippleItem.ts +0 -62
- package/src/constructors/Ripple/index.ts +0 -6
- package/src/constructors/Ripple/properties.json +0 -9
- 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/index.ts +0 -5
- package/src/constructors/Scrollbar/properties.json +0 -33
- package/src/constructors/Scrollbar/props.ts +0 -37
- package/src/constructors/Skeleton/Skeleton.ts +0 -86
- package/src/constructors/Skeleton/SkeletonDesign.tsx +0 -117
- package/src/constructors/Skeleton/SkeletonInclude.ts +0 -61
- 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/Window/Window.ts +0 -212
- package/src/constructors/Window/WindowClasses.ts +0 -180
- package/src/constructors/Window/WindowClassesInclude.ts +0 -39
- package/src/constructors/Window/WindowClient.ts +0 -93
- package/src/constructors/Window/WindowCoordinates.ts +0 -257
- package/src/constructors/Window/WindowDesign.tsx +0 -278
- package/src/constructors/Window/WindowElement.ts +0 -84
- package/src/constructors/Window/WindowEmit.ts +0 -52
- package/src/constructors/Window/WindowEvent.ts +0 -157
- package/src/constructors/Window/WindowFlash.ts +0 -70
- package/src/constructors/Window/WindowHook.ts +0 -110
- package/src/constructors/Window/WindowInclude.ts +0 -134
- package/src/constructors/Window/WindowOpen.ts +0 -292
- package/src/constructors/Window/WindowOrigin.ts +0 -85
- package/src/constructors/Window/WindowPersistent.ts +0 -89
- package/src/constructors/Window/WindowPosition.ts +0 -358
- package/src/constructors/Window/WindowStatic.ts +0 -102
- package/src/constructors/Window/WindowStatus.ts +0 -138
- package/src/constructors/Window/WindowStyles.ts +0 -78
- package/src/constructors/Window/WindowVerification.ts +0 -287
- package/src/constructors/Window/basicTypes.ts +0 -186
- package/src/constructors/Window/index.ts +0 -7
- package/src/constructors/Window/properties.json +0 -236
- package/src/constructors/Window/props.ts +0 -88
- package/src/constructors/Window/types.ts +0 -124
- package/src/library.ts +0 -36
- package/src/types/descriptionTypes.ts +0 -15
- package/src/types/eventClickTypes.ts +0 -51
- package/src/types/fieldTypes.ts +0 -282
- package/src/types/labelTypes.ts +0 -30
- package/src/types/modelTypes.ts +0 -23
- package/src/vite-env.d.ts +0 -1
|
@@ -0,0 +1,715 @@
|
|
|
1
|
+
var v = Object.defineProperty;
|
|
2
|
+
var g = (n, t, e) => t in n ? v(n, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[t] = e;
|
|
3
|
+
var a = (n, t, e) => g(n, typeof t != "symbol" ? t + "" : t, e);
|
|
4
|
+
import { ref as u, computed as r, watch as m } from "vue";
|
|
5
|
+
import { toBinds as f, toNumber as c, anyToString as h, isFilled as b, isArray as y, isObject as E, toArray as k, setValues as F, getRef as d } from "@dxtmisha/functional";
|
|
6
|
+
import { F as o } from "./FieldInputCheckInclude-CjNYyGTb.js";
|
|
7
|
+
import { M as I } from "./ModelInclude-BiYm_iCQ.js";
|
|
8
|
+
class D {
|
|
9
|
+
/**
|
|
10
|
+
* Constructor
|
|
11
|
+
* @param props input data/ входные данные
|
|
12
|
+
*/
|
|
13
|
+
constructor(t) {
|
|
14
|
+
/** Change state flag/ Флаг состояния изменения */
|
|
15
|
+
a(this, "item", u(!1));
|
|
16
|
+
(t.value || t.modelValue) && (this.item.value = !0);
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Returns whether value was changed
|
|
20
|
+
*
|
|
21
|
+
* Возвращает, было ли значение изменено
|
|
22
|
+
*/
|
|
23
|
+
is() {
|
|
24
|
+
return !!this.item.value;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Sets change state
|
|
28
|
+
*
|
|
29
|
+
* Устанавливает состояние изменения
|
|
30
|
+
* @param change new state value/ новое значение состояния
|
|
31
|
+
*/
|
|
32
|
+
set(t) {
|
|
33
|
+
this.item.value = t;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Force mark as changed
|
|
37
|
+
*
|
|
38
|
+
* Принудительно помечает как изменённое
|
|
39
|
+
*/
|
|
40
|
+
to() {
|
|
41
|
+
this.item.value || this.set(!0);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
class O {
|
|
45
|
+
/**
|
|
46
|
+
* Constructor
|
|
47
|
+
* @param props input data/ входные данные
|
|
48
|
+
* @param type object for working with input type/ объект для работы с типом ввода
|
|
49
|
+
* @param pattern object for working with checks by regular expressions/
|
|
50
|
+
* объект для работы с проверкой по регулярным выражениям
|
|
51
|
+
* @param inputMode object for working with the keyboard/ объект для работы с клавиатурой
|
|
52
|
+
*/
|
|
53
|
+
constructor(t, e, i, s) {
|
|
54
|
+
/** Returns data for verification/ Возвращает данные для проверки */
|
|
55
|
+
a(this, "list", r(() => this.getData(this.getAttributes())));
|
|
56
|
+
/** Returns data for verification/ Возвращает данные для проверки */
|
|
57
|
+
a(this, "listForCheck", r(() => {
|
|
58
|
+
const t = this.list.value;
|
|
59
|
+
return this.props.min || this.props.max || this.props.step ? {
|
|
60
|
+
...t,
|
|
61
|
+
type: "number"
|
|
62
|
+
} : t;
|
|
63
|
+
}));
|
|
64
|
+
/** Returns data for the input element/ Возвращает данные для элемента ввода */
|
|
65
|
+
a(this, "listForInput", r(() => this.getData(this.getInputAttributes())));
|
|
66
|
+
this.props = t, this.type = e, this.pattern = i, this.inputMode = s;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Returns the list of attributes to be set on the input element.
|
|
70
|
+
*
|
|
71
|
+
* Возвращает список атрибутов, которые нужно установить на элемент ввода.
|
|
72
|
+
*/
|
|
73
|
+
getAttributes() {
|
|
74
|
+
return [
|
|
75
|
+
"type",
|
|
76
|
+
"name",
|
|
77
|
+
"required",
|
|
78
|
+
"multiple",
|
|
79
|
+
"step",
|
|
80
|
+
"min",
|
|
81
|
+
"max",
|
|
82
|
+
"minlength",
|
|
83
|
+
"maxlength",
|
|
84
|
+
"accept",
|
|
85
|
+
"pattern"
|
|
86
|
+
];
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* Returns the list of attributes to be set on the input element.
|
|
90
|
+
*
|
|
91
|
+
* Возвращает список атрибутов, которые нужно установить на элемент ввода.
|
|
92
|
+
*/
|
|
93
|
+
getInputAttributes() {
|
|
94
|
+
return [
|
|
95
|
+
...this.getAttributes(),
|
|
96
|
+
// Input
|
|
97
|
+
"list",
|
|
98
|
+
// Value
|
|
99
|
+
"placeholder",
|
|
100
|
+
// Basic
|
|
101
|
+
"readonly",
|
|
102
|
+
"disabled",
|
|
103
|
+
"autofocus",
|
|
104
|
+
"tabindex",
|
|
105
|
+
"form",
|
|
106
|
+
// UX
|
|
107
|
+
"autocomplete",
|
|
108
|
+
"autocapitalize",
|
|
109
|
+
"inputMode",
|
|
110
|
+
"enterKeyHint",
|
|
111
|
+
"spellcheck",
|
|
112
|
+
"autocorrect"
|
|
113
|
+
];
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* Returns data for the specified attributes.
|
|
117
|
+
*
|
|
118
|
+
* Возвращает данные для указанных атрибутов.
|
|
119
|
+
* @param attributes list of attributes/ список атрибутов
|
|
120
|
+
*/
|
|
121
|
+
getData(t) {
|
|
122
|
+
const e = {};
|
|
123
|
+
return t.forEach((i) => {
|
|
124
|
+
let s;
|
|
125
|
+
if (i in this.props)
|
|
126
|
+
switch (i) {
|
|
127
|
+
case "type":
|
|
128
|
+
this.type ? s = this.type.item.value : s = this.props.type;
|
|
129
|
+
break;
|
|
130
|
+
case "pattern":
|
|
131
|
+
this.pattern && (s = this.pattern.item.value);
|
|
132
|
+
break;
|
|
133
|
+
case "inputMode":
|
|
134
|
+
this.inputMode && (s = this.inputMode.item.value);
|
|
135
|
+
break;
|
|
136
|
+
default:
|
|
137
|
+
s = this.props[i];
|
|
138
|
+
}
|
|
139
|
+
s !== void 0 && (e[i] = s);
|
|
140
|
+
}), f(e, this.props.inputAttrs);
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
class T {
|
|
144
|
+
/**
|
|
145
|
+
* Constructor
|
|
146
|
+
* @param props input data/ входные данные
|
|
147
|
+
* @param element input element/ элемент ввода
|
|
148
|
+
*/
|
|
149
|
+
constructor(t, e) {
|
|
150
|
+
this.props = t, this.element = e;
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
* Returns the input element.
|
|
154
|
+
*
|
|
155
|
+
* Возвращает элемент ввода.
|
|
156
|
+
*/
|
|
157
|
+
get() {
|
|
158
|
+
const t = this.element.value;
|
|
159
|
+
if (t)
|
|
160
|
+
return "input" in t ? t.input : t;
|
|
161
|
+
}
|
|
162
|
+
/**
|
|
163
|
+
* Returns a reference to the input element.
|
|
164
|
+
*
|
|
165
|
+
* Возвращает ссылку на элемент ввода.
|
|
166
|
+
*/
|
|
167
|
+
getElement() {
|
|
168
|
+
return this.element;
|
|
169
|
+
}
|
|
170
|
+
/**
|
|
171
|
+
* Search for an element by its name inside a group or by selector.
|
|
172
|
+
*
|
|
173
|
+
* Поиск элемента по его названию внутри группы или по селектору.
|
|
174
|
+
* @param nameSelectors element name or selector /<br>название элемента или селектор
|
|
175
|
+
*/
|
|
176
|
+
findByName(t) {
|
|
177
|
+
var s;
|
|
178
|
+
if (t instanceof Element)
|
|
179
|
+
return t;
|
|
180
|
+
const e = (s = this.get()) == null ? void 0 : s.form;
|
|
181
|
+
if (e) {
|
|
182
|
+
const l = e.querySelector(`[name="${t}"]`);
|
|
183
|
+
if (l)
|
|
184
|
+
return l;
|
|
185
|
+
}
|
|
186
|
+
const i = document.querySelector(t);
|
|
187
|
+
if (i)
|
|
188
|
+
return i;
|
|
189
|
+
}
|
|
190
|
+
/**
|
|
191
|
+
* Clear all values to the original ones.
|
|
192
|
+
*
|
|
193
|
+
* Очисти все значения до оригинальных.
|
|
194
|
+
*/
|
|
195
|
+
clear() {
|
|
196
|
+
var e;
|
|
197
|
+
const t = this.element.value;
|
|
198
|
+
return t && "clear" in t && ((e = t.clear) == null || e.call(t)), this;
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
class V {
|
|
202
|
+
/**
|
|
203
|
+
* Constructor
|
|
204
|
+
* @param props input data /<br>входные данные
|
|
205
|
+
* @param refs input data in the form of reactive elements /<br>входные данные в виде реактивных элементов
|
|
206
|
+
* @param element object for working with the input element /<br>объект для работы с элементом ввода
|
|
207
|
+
* @param original original values /<br>оригинальные значения
|
|
208
|
+
*/
|
|
209
|
+
constructor(t, e, i, s) {
|
|
210
|
+
/** Current value/ Текущее значение */
|
|
211
|
+
a(this, "item", u());
|
|
212
|
+
/** Indicates if the value is complete/ Указывает, полное ли значение */
|
|
213
|
+
a(this, "isFull", u(!0));
|
|
214
|
+
/** Indicates if there are temporary values/ Указывает, есть ли временные значения */
|
|
215
|
+
a(this, "hasEdit", u(!1));
|
|
216
|
+
/** Checks if there are values or temporary values/ Проверяет, есть ли значения или временные значения */
|
|
217
|
+
a(this, "is", r(() => this.hasEdit.value || this.boolean.value || !!this.props.placeholder));
|
|
218
|
+
/** Checks if there are any values/ Проверяет, есть ли значения */
|
|
219
|
+
a(this, "isValue", r(() => this.hasEdit.value || this.boolean.value));
|
|
220
|
+
/** Returns the current value if isFull is true/ Возвращает текущее значение, если isFull истинно */
|
|
221
|
+
a(this, "itemByFull", r(() => this.isFull.value ? this.item.value : void 0));
|
|
222
|
+
/**
|
|
223
|
+
* Returns the current value, converted to a number/
|
|
224
|
+
* Возвращает текущее значение, преобразованное в номер
|
|
225
|
+
*/
|
|
226
|
+
a(this, "number", r(() => this.boolean.value ? c(this.string.value) : 0));
|
|
227
|
+
/** Returns the current value of type string/ Возвращает текущее значение типа string */
|
|
228
|
+
a(this, "string", r(() => h(this.item.value)));
|
|
229
|
+
/** Returns the current value of type boolean/ Возвращает текущее значение типа boolean */
|
|
230
|
+
a(this, "boolean", r(() => b(this.item.value)));
|
|
231
|
+
/** Returns the length of the entered value/ Возвращает длину введенного значения */
|
|
232
|
+
a(this, "length", r(() => {
|
|
233
|
+
var e;
|
|
234
|
+
const t = this.item.value;
|
|
235
|
+
return y(t) ? t.length : E(t) ? Object.keys(t).length : (e = this.string.value.length) != null ? e : 0;
|
|
236
|
+
}));
|
|
237
|
+
/**
|
|
238
|
+
* Changes the values to the original ones.
|
|
239
|
+
*
|
|
240
|
+
* Изменяет значения на оригинальные.
|
|
241
|
+
*/
|
|
242
|
+
a(this, "update", () => {
|
|
243
|
+
(this.isEdit(this.props.value) || this.isEdit(this.props.modelValue)) && this.setToOriginal();
|
|
244
|
+
});
|
|
245
|
+
this.props = t, this.refs = e, this.element = i, this.original = s, this.item.value = this.getOriginal(), m([
|
|
246
|
+
e.value,
|
|
247
|
+
e.modelValue
|
|
248
|
+
], this.update);
|
|
249
|
+
}
|
|
250
|
+
/**
|
|
251
|
+
* Returns the current value.
|
|
252
|
+
*
|
|
253
|
+
* Возвращает текущее значение.
|
|
254
|
+
*/
|
|
255
|
+
get() {
|
|
256
|
+
return this.item.value;
|
|
257
|
+
}
|
|
258
|
+
/**
|
|
259
|
+
* Returns the current value as an array.
|
|
260
|
+
*
|
|
261
|
+
* Возвращает текущее значение в виде массива.
|
|
262
|
+
*/
|
|
263
|
+
getToArray() {
|
|
264
|
+
return k(this.item.value);
|
|
265
|
+
}
|
|
266
|
+
/**
|
|
267
|
+
* Changes the value.
|
|
268
|
+
*
|
|
269
|
+
* Изменяет значение.
|
|
270
|
+
* @param value changeable value/ изменяемое значение
|
|
271
|
+
*/
|
|
272
|
+
set(t) {
|
|
273
|
+
var e, i;
|
|
274
|
+
if (this.isDifference(t)) {
|
|
275
|
+
this.item.value = F(
|
|
276
|
+
this.item.value,
|
|
277
|
+
t,
|
|
278
|
+
{
|
|
279
|
+
multiple: this.props.multiple,
|
|
280
|
+
maxlength: c(this.props.maxlength)
|
|
281
|
+
}
|
|
282
|
+
);
|
|
283
|
+
const s = (e = this.element) == null ? void 0 : e.getElement();
|
|
284
|
+
s && s.value && "setValue" in s.value && ((i = s.value) == null || i.setValue(this.item.value));
|
|
285
|
+
}
|
|
286
|
+
return this;
|
|
287
|
+
}
|
|
288
|
+
setByEvent(t) {
|
|
289
|
+
return console.log("setByEvent"), typeof t === "object" ? t && ("value" in t && t.value !== void 0 ? this.set(t.value) : "target" in t && this.setByTarget(t.target), "hasEdit" in t && this.setHasEdit(t.hasEdit), "isFull" in t && this.setFull(t.isFull)) : this.set(t), this;
|
|
290
|
+
}
|
|
291
|
+
/**
|
|
292
|
+
* Changes the values by the selected element.
|
|
293
|
+
*
|
|
294
|
+
* Изменяет значения по выбранному элементу.
|
|
295
|
+
* @param target selected elements/ выбранные элементы
|
|
296
|
+
*/
|
|
297
|
+
setByTarget(t) {
|
|
298
|
+
return this.set(
|
|
299
|
+
this.isCheckbox(t) ? t.checked : t.value
|
|
300
|
+
);
|
|
301
|
+
}
|
|
302
|
+
/**
|
|
303
|
+
* Changes the value by the checked property.
|
|
304
|
+
*
|
|
305
|
+
* Изменяет значение по свойству checked.
|
|
306
|
+
* @param event event value/ значение события
|
|
307
|
+
*/
|
|
308
|
+
setByChecked(t) {
|
|
309
|
+
const e = t.target;
|
|
310
|
+
return this.set(e.checked);
|
|
311
|
+
}
|
|
312
|
+
/**
|
|
313
|
+
* Changes the value for radio type.
|
|
314
|
+
*
|
|
315
|
+
* Изменяет значение для типа radio.
|
|
316
|
+
* @param event event object/ объект события
|
|
317
|
+
*/
|
|
318
|
+
setByRadio(t) {
|
|
319
|
+
const e = t.target, i = e.checked ? e.value : "";
|
|
320
|
+
return this.set(i);
|
|
321
|
+
}
|
|
322
|
+
/**
|
|
323
|
+
* Sets the isFull value.
|
|
324
|
+
*
|
|
325
|
+
* Устанавливает значение isFull.
|
|
326
|
+
* @param isFull isFull value/ значение isFull
|
|
327
|
+
*/
|
|
328
|
+
setFull(t) {
|
|
329
|
+
this.isFull.value = t;
|
|
330
|
+
}
|
|
331
|
+
/**
|
|
332
|
+
* Sets the hasEdit value.
|
|
333
|
+
*
|
|
334
|
+
* Устанавливает значение hasEdit.
|
|
335
|
+
* @param hasEdit hasEdit value/ значение hasEdit
|
|
336
|
+
*/
|
|
337
|
+
setHasEdit(t) {
|
|
338
|
+
this.hasEdit.value = t;
|
|
339
|
+
}
|
|
340
|
+
/**
|
|
341
|
+
* Sets the value to the original one.
|
|
342
|
+
*
|
|
343
|
+
* Устанавливает значение на оригинальное.
|
|
344
|
+
*/
|
|
345
|
+
setToOriginal() {
|
|
346
|
+
return this.item.value = this.getOriginal(), this;
|
|
347
|
+
}
|
|
348
|
+
/**
|
|
349
|
+
* Clear all values to the original ones.
|
|
350
|
+
*
|
|
351
|
+
* Очисти все значения до оригинальных.
|
|
352
|
+
*/
|
|
353
|
+
clear() {
|
|
354
|
+
var t;
|
|
355
|
+
return this.item.value = d(this.original), (t = this.element) == null || t.clear(), this.hasEdit.value = !1, this.isFull.value = !0, this;
|
|
356
|
+
}
|
|
357
|
+
/**
|
|
358
|
+
* Is the selected type a checkbox.
|
|
359
|
+
*
|
|
360
|
+
* Является ли выбранный тип чекбокс.
|
|
361
|
+
* @param target selected elements/ выбранные элементы
|
|
362
|
+
*/
|
|
363
|
+
isCheckbox(t) {
|
|
364
|
+
return t.type === "checkbox";
|
|
365
|
+
}
|
|
366
|
+
/**
|
|
367
|
+
* Checks if the value has actually been changed.
|
|
368
|
+
*
|
|
369
|
+
* Проверяет, было ли значение действительно изменено.
|
|
370
|
+
* @param value value to check/ значение для проверки
|
|
371
|
+
*/
|
|
372
|
+
isDifference(t = this.getOriginal()) {
|
|
373
|
+
return this.string.value !== h(t);
|
|
374
|
+
}
|
|
375
|
+
/**
|
|
376
|
+
* Returns the original value.
|
|
377
|
+
*
|
|
378
|
+
* Возвращает оригинальное значение.
|
|
379
|
+
*/
|
|
380
|
+
getOriginal() {
|
|
381
|
+
return this.props.value || this.props.modelValue || d(this.original);
|
|
382
|
+
}
|
|
383
|
+
/**
|
|
384
|
+
* Checks if the value is being edited.
|
|
385
|
+
*
|
|
386
|
+
* Проверяет, редактируется ли значение.
|
|
387
|
+
* @param value value to check/ значение для проверки
|
|
388
|
+
*/
|
|
389
|
+
isEdit(t) {
|
|
390
|
+
return t !== void 0 && h(t) !== this.string.value;
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
class w {
|
|
394
|
+
/**
|
|
395
|
+
* Constructor
|
|
396
|
+
* @param props input data/ входные данные
|
|
397
|
+
*/
|
|
398
|
+
constructor(t) {
|
|
399
|
+
this.props = t;
|
|
400
|
+
}
|
|
401
|
+
/**
|
|
402
|
+
* Returns error text
|
|
403
|
+
*
|
|
404
|
+
* Возвращает текст ошибки
|
|
405
|
+
* @param state object with validity state/ объект с данными валидности
|
|
406
|
+
*/
|
|
407
|
+
get(t) {
|
|
408
|
+
const e = this.props.validationCode;
|
|
409
|
+
if (t && e && !t.valid) {
|
|
410
|
+
if (typeof e == "string")
|
|
411
|
+
return e;
|
|
412
|
+
{
|
|
413
|
+
const i = this.getIndex(t);
|
|
414
|
+
if (i && i in e)
|
|
415
|
+
return e[i];
|
|
416
|
+
}
|
|
417
|
+
}
|
|
418
|
+
}
|
|
419
|
+
/**
|
|
420
|
+
* Returns error key (first matched)
|
|
421
|
+
*
|
|
422
|
+
* Возвращает ключ ошибки (первый найденный)
|
|
423
|
+
* @param state object with validity state/ объект с данными валидности
|
|
424
|
+
*/
|
|
425
|
+
getIndex(t) {
|
|
426
|
+
const e = Object.entries(t);
|
|
427
|
+
for (const [i, s] of e)
|
|
428
|
+
if (i !== "valid" && s)
|
|
429
|
+
return i;
|
|
430
|
+
}
|
|
431
|
+
}
|
|
432
|
+
class H {
|
|
433
|
+
/**
|
|
434
|
+
* Constructor
|
|
435
|
+
* @param props input data/ входные данные
|
|
436
|
+
* @param attributes object for working with input attributes/ объект для работы с атрибутами ввода
|
|
437
|
+
* @param value object for value work/ объект для работы со значениями
|
|
438
|
+
* @param change object for change state/ объект для состояния изменения
|
|
439
|
+
* @param code object for error codes/ объект для работы с кодами ошибок
|
|
440
|
+
* @param match object for match checking/ объект для проверки совпадений
|
|
441
|
+
*/
|
|
442
|
+
constructor(t, e, i, s, l, p) {
|
|
443
|
+
/** Internal validation state/ Внутреннее состояние валидации */
|
|
444
|
+
a(this, "validation", u());
|
|
445
|
+
/** Hidden input element for native validation/ Скрытый input для нативной валидации */
|
|
446
|
+
a(this, "input", r(
|
|
447
|
+
() => new o(
|
|
448
|
+
this.attributes.listForCheck.value,
|
|
449
|
+
void 0,
|
|
450
|
+
this.code
|
|
451
|
+
)
|
|
452
|
+
));
|
|
453
|
+
/** Returns error data/ Возвращает данные об ошибке */
|
|
454
|
+
a(this, "item", r(() => {
|
|
455
|
+
var i, s;
|
|
456
|
+
const t = this.checkGlobal();
|
|
457
|
+
if (t)
|
|
458
|
+
return t;
|
|
459
|
+
const e = (s = this.checkItem()) != null ? s : (i = this.match) == null ? void 0 : i.check();
|
|
460
|
+
return e || this.getValidationItemNone();
|
|
461
|
+
}));
|
|
462
|
+
/** Returns error string/ Возвращает строку об ошибке */
|
|
463
|
+
a(this, "message", r(() => {
|
|
464
|
+
var t, e;
|
|
465
|
+
if (this.props.validationMessage)
|
|
466
|
+
return this.props.validationMessage;
|
|
467
|
+
if (!this.change || this.change.is()) {
|
|
468
|
+
const i = this.item.value;
|
|
469
|
+
return (e = (t = i.validityMessage) != null ? t : i.validationMessage) != null ? e : "";
|
|
470
|
+
}
|
|
471
|
+
return "";
|
|
472
|
+
}));
|
|
473
|
+
/**
|
|
474
|
+
* Checks whether the element has constraints and satisfies them
|
|
475
|
+
*
|
|
476
|
+
* Проверяет, имеет ли элемент ограничения и удовлетворяет ли им
|
|
477
|
+
*/
|
|
478
|
+
a(this, "checkValidity", () => !this.isError());
|
|
479
|
+
this.props = t, this.attributes = e, this.value = i, this.change = s, this.code = l, this.match = p;
|
|
480
|
+
}
|
|
481
|
+
/**
|
|
482
|
+
* Checks if there is an error
|
|
483
|
+
*
|
|
484
|
+
* Проверяет, есть ли ошибка
|
|
485
|
+
*/
|
|
486
|
+
isError() {
|
|
487
|
+
var t;
|
|
488
|
+
return !((t = this.item.value) != null && t.status);
|
|
489
|
+
}
|
|
490
|
+
/**
|
|
491
|
+
* Changes the validity data
|
|
492
|
+
*
|
|
493
|
+
* Изменяет данные о валидности
|
|
494
|
+
* @param validation values for validity/ значения для валидности
|
|
495
|
+
*/
|
|
496
|
+
set(t) {
|
|
497
|
+
return "status" in t && "validationMessage" in t && "value" in t ? this.validation.value = t : "target" in t && (t.target instanceof HTMLInputElement || t.target instanceof HTMLTextAreaElement) && Number(t.target.minLength) > -1 ? this.validation.value = this.input.value.checkByInput(t.target) : this.validation.value = void 0, this;
|
|
498
|
+
}
|
|
499
|
+
/**
|
|
500
|
+
* Returns an empty validation item
|
|
501
|
+
*
|
|
502
|
+
* Возвращает пустой элемент валидации
|
|
503
|
+
*/
|
|
504
|
+
getValidationItemNone() {
|
|
505
|
+
return {
|
|
506
|
+
group: o.getGroupDefault(),
|
|
507
|
+
status: !0,
|
|
508
|
+
value: void 0
|
|
509
|
+
};
|
|
510
|
+
}
|
|
511
|
+
/**
|
|
512
|
+
* Check for global data
|
|
513
|
+
*
|
|
514
|
+
* Проверка для глобальных данных
|
|
515
|
+
*/
|
|
516
|
+
checkGlobal() {
|
|
517
|
+
var t;
|
|
518
|
+
return this.props.validationMessage ? {
|
|
519
|
+
group: o.getGroupDefault(),
|
|
520
|
+
status: !1,
|
|
521
|
+
validationMessage: this.props.validationMessage,
|
|
522
|
+
value: this.value.item.value
|
|
523
|
+
} : (t = this.validation.value) != null ? t : void 0;
|
|
524
|
+
}
|
|
525
|
+
/**
|
|
526
|
+
* Check for selected data
|
|
527
|
+
*
|
|
528
|
+
* Проверка для выбранных данных
|
|
529
|
+
*/
|
|
530
|
+
checkItem() {
|
|
531
|
+
const t = this.value.getToArray();
|
|
532
|
+
for (const e of t) {
|
|
533
|
+
const i = this.checkByInput(e);
|
|
534
|
+
if (!i.status)
|
|
535
|
+
return i;
|
|
536
|
+
}
|
|
537
|
+
}
|
|
538
|
+
/**
|
|
539
|
+
* Checks the value using hidden input element
|
|
540
|
+
* @param value value to check/ значение для проверки
|
|
541
|
+
*
|
|
542
|
+
* Проверяет значение с помощью скрытого input
|
|
543
|
+
*/
|
|
544
|
+
checkByInput(t) {
|
|
545
|
+
return this.input.value.check(t);
|
|
546
|
+
}
|
|
547
|
+
}
|
|
548
|
+
class N {
|
|
549
|
+
/**
|
|
550
|
+
* Constructor
|
|
551
|
+
* @param props input data/ входные данные
|
|
552
|
+
* @param change object for working with data change label/ объект для работы с меткой об изменении данных
|
|
553
|
+
* @param value object for working with values/ объект для работы со значениями
|
|
554
|
+
* @param validation object for working with validity/ объект для работы с валидностью
|
|
555
|
+
* @param emits the function is called when an event is triggered/ функция вызывается, когда срабатывает событие
|
|
556
|
+
*/
|
|
557
|
+
constructor(t, e, i, s, l) {
|
|
558
|
+
a(this, "model");
|
|
559
|
+
/**
|
|
560
|
+
* Events for losing focus.
|
|
561
|
+
*
|
|
562
|
+
* События для потери фокуса.
|
|
563
|
+
*/
|
|
564
|
+
a(this, "onBlur", () => {
|
|
565
|
+
this.change.to();
|
|
566
|
+
});
|
|
567
|
+
/**
|
|
568
|
+
* Call of data change event.
|
|
569
|
+
*
|
|
570
|
+
* Вызов события изменения данных.
|
|
571
|
+
* @param event event object/ объект события
|
|
572
|
+
* @param data object with data/ объект с данными
|
|
573
|
+
*/
|
|
574
|
+
a(this, "onInput", (t, e) => {
|
|
575
|
+
var i;
|
|
576
|
+
if (this.isEnabled()) {
|
|
577
|
+
const s = e != null ? e : t;
|
|
578
|
+
(this.change.is() || e) && ((i = this.validation) == null || i.set(s)), this.value.setByEvent(s), this.on(t);
|
|
579
|
+
}
|
|
580
|
+
});
|
|
581
|
+
/**
|
|
582
|
+
* Triggering the change event after losing focus.
|
|
583
|
+
*
|
|
584
|
+
* Вызов события изменения после потери фокуса.
|
|
585
|
+
* @param event event object/ объект события
|
|
586
|
+
*/
|
|
587
|
+
a(this, "onChange", (t) => {
|
|
588
|
+
var e;
|
|
589
|
+
this.isEnabled() && (t && ((e = this.validation) == null || e.set(t)), this.change.to(), this.on(t, "change"));
|
|
590
|
+
});
|
|
591
|
+
/**
|
|
592
|
+
* Triggering the event for select change.
|
|
593
|
+
*
|
|
594
|
+
* Вызов события для изменения селект.
|
|
595
|
+
* @param event event object/ объект события
|
|
596
|
+
* @param data object with data/ объект с данными
|
|
597
|
+
*/
|
|
598
|
+
a(this, "onSelect", (t, e) => {
|
|
599
|
+
this.isEnabled() && (this.value.setByEvent(e != null ? e : t), this.onAndChange(t));
|
|
600
|
+
});
|
|
601
|
+
/**
|
|
602
|
+
* Triggering the event for changes in the checkbox.
|
|
603
|
+
*
|
|
604
|
+
* Вызов события для изменения в checkbox.
|
|
605
|
+
* @param event event object/ объект события
|
|
606
|
+
*/
|
|
607
|
+
a(this, "onChecked", (t) => {
|
|
608
|
+
this.isEnabled() && (this.value.setByChecked(t), this.onAndChange(t));
|
|
609
|
+
});
|
|
610
|
+
/**
|
|
611
|
+
* Triggering the event for changes in the radio.
|
|
612
|
+
*
|
|
613
|
+
* Вызов события для изменения в radio.
|
|
614
|
+
* @param event event object/ объект события
|
|
615
|
+
*/
|
|
616
|
+
a(this, "onRadio", (t) => {
|
|
617
|
+
this.isEnabled() && (this.value.setByRadio(t), this.onAndChange(t));
|
|
618
|
+
});
|
|
619
|
+
/**
|
|
620
|
+
* Triggering the event to delete all values.<br>
|
|
621
|
+
* Вызов события для удаления всех значений.
|
|
622
|
+
* @param event event object/ объект события
|
|
623
|
+
*/
|
|
624
|
+
a(this, "onClear", (t) => {
|
|
625
|
+
this.isEnabled() && (this.value.clear(), this.onAndChange(t));
|
|
626
|
+
});
|
|
627
|
+
/**
|
|
628
|
+
* Triggering the event to set a specific value.
|
|
629
|
+
*
|
|
630
|
+
* Вызов события для установки конкретного значения.
|
|
631
|
+
* @param value new value/ новое значение
|
|
632
|
+
*/
|
|
633
|
+
a(this, "onValue", (t) => {
|
|
634
|
+
this.isEnabled() && (this.value.set(t), this.onAndChange());
|
|
635
|
+
});
|
|
636
|
+
/**
|
|
637
|
+
* Triggering the event.
|
|
638
|
+
*
|
|
639
|
+
* Вызов события.
|
|
640
|
+
* @param event event object/ объект события
|
|
641
|
+
* @param type event type/ тип события
|
|
642
|
+
*/
|
|
643
|
+
a(this, "on", (t, e = "input") => {
|
|
644
|
+
var i;
|
|
645
|
+
return e === "input" && this.model.emit(this.value.itemByFull.value), (i = this.emits) == null || i.call(this, e, t, {
|
|
646
|
+
...this.getValidation(e),
|
|
647
|
+
...this.getData()
|
|
648
|
+
}), this;
|
|
649
|
+
});
|
|
650
|
+
this.props = t, this.change = e, this.value = i, this.validation = s, this.emits = l, this.model = new I(
|
|
651
|
+
"value",
|
|
652
|
+
this.emits,
|
|
653
|
+
this.value.itemByFull
|
|
654
|
+
);
|
|
655
|
+
}
|
|
656
|
+
/**
|
|
657
|
+
* Checks whether additional data needs to be generated for the current event.
|
|
658
|
+
*
|
|
659
|
+
* Проверяет, надо ли генерировать дополнительные данные для текущего события.
|
|
660
|
+
* @param type event type/ тип события
|
|
661
|
+
*/
|
|
662
|
+
isValue(t) {
|
|
663
|
+
return !!(t && ["input", "change"].indexOf(t) >= 0);
|
|
664
|
+
}
|
|
665
|
+
/**
|
|
666
|
+
* Checks if it is possible to change the value.
|
|
667
|
+
*
|
|
668
|
+
* Проверяет, возможно ли изменение значения.
|
|
669
|
+
*/
|
|
670
|
+
isEnabled() {
|
|
671
|
+
return this.props.disabled !== !0;
|
|
672
|
+
}
|
|
673
|
+
/**
|
|
674
|
+
* Returns input data.
|
|
675
|
+
*
|
|
676
|
+
* Возвращает данные об вводе.
|
|
677
|
+
*/
|
|
678
|
+
getData() {
|
|
679
|
+
return {
|
|
680
|
+
value: this.value.itemByFull.value,
|
|
681
|
+
valueInput: this.value.item.value,
|
|
682
|
+
detail: this.props.detail
|
|
683
|
+
};
|
|
684
|
+
}
|
|
685
|
+
/**
|
|
686
|
+
* Returns validity data.
|
|
687
|
+
*
|
|
688
|
+
* Возвращает данные валидности.
|
|
689
|
+
* @param type event type/ тип события
|
|
690
|
+
*/
|
|
691
|
+
getValidation(t) {
|
|
692
|
+
return this.isValue(t) ? this.validation ? this.validation.item.value : {
|
|
693
|
+
group: "check",
|
|
694
|
+
value: this.value.item.value
|
|
695
|
+
} : {};
|
|
696
|
+
}
|
|
697
|
+
/**
|
|
698
|
+
* Triggering the event and change event.
|
|
699
|
+
*
|
|
700
|
+
* Вызов события и события изменения.
|
|
701
|
+
* @param event event object/ объект события
|
|
702
|
+
*/
|
|
703
|
+
onAndChange(t) {
|
|
704
|
+
return this.on(t).onChange(t), this;
|
|
705
|
+
}
|
|
706
|
+
}
|
|
707
|
+
export {
|
|
708
|
+
O as F,
|
|
709
|
+
D as a,
|
|
710
|
+
w as b,
|
|
711
|
+
T as c,
|
|
712
|
+
N as d,
|
|
713
|
+
H as e,
|
|
714
|
+
V as f
|
|
715
|
+
};
|