@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
package/dist/list.js
ADDED
|
@@ -0,0 +1,998 @@
|
|
|
1
|
+
var g = Object.defineProperty;
|
|
2
|
+
var f = (h, t, e) => t in h ? g(h, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : h[t] = e;
|
|
3
|
+
var i = (h, t, e) => f(h, typeof t != "symbol" ? t + "" : t, e);
|
|
4
|
+
import { ref as m, computed as u, watch as v, onUnmounted as y, toRef as I, h as o } from "vue";
|
|
5
|
+
import { isFilled as b, goScroll as k, isSelected as w, isDomRuntime as d, EventItem as x, ListDataRef as S, toBinds as l, DesignConstructorAbstract as B, isObject as M } from "@dxtmisha/functional";
|
|
6
|
+
import { E } from "./EventClickInclude-eDWqxK0d.js";
|
|
7
|
+
import { W as L } from "./WindowClassesInclude-B56usxgx.js";
|
|
8
|
+
class C {
|
|
9
|
+
/**
|
|
10
|
+
* Constructor
|
|
11
|
+
* @param props input data/ входные данные
|
|
12
|
+
*/
|
|
13
|
+
constructor(t) {
|
|
14
|
+
i(this, "item", m());
|
|
15
|
+
i(this, "timeout");
|
|
16
|
+
/** Current search string/ Текущая строка поиска */
|
|
17
|
+
i(this, "highlight", u(() => {
|
|
18
|
+
var t;
|
|
19
|
+
return (t = this.item.value) != null ? t : this.props.highlight;
|
|
20
|
+
}));
|
|
21
|
+
this.props = t;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Adds a new character to the search.
|
|
25
|
+
*
|
|
26
|
+
* Добавляет новый символ к поиску.
|
|
27
|
+
* @param char new character/ новый символ
|
|
28
|
+
*/
|
|
29
|
+
add(t) {
|
|
30
|
+
this.addChar(t).makeReset();
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Sets the search string.
|
|
34
|
+
*
|
|
35
|
+
* Устанавливает строку поиска.
|
|
36
|
+
* @param value new value/ новое значение
|
|
37
|
+
*/
|
|
38
|
+
set(t) {
|
|
39
|
+
const e = this.getValue(t);
|
|
40
|
+
this.item.value !== e && (this.item.value = e);
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Resets the search string.
|
|
44
|
+
*
|
|
45
|
+
* Сбрасывает строку поиска.
|
|
46
|
+
*/
|
|
47
|
+
reset() {
|
|
48
|
+
return this.set(), this;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Returns a processed value.
|
|
52
|
+
*
|
|
53
|
+
* Возвращает обработанное значение.
|
|
54
|
+
* @param value source value/ исходное значение
|
|
55
|
+
*/
|
|
56
|
+
getValue(t) {
|
|
57
|
+
if (b(t))
|
|
58
|
+
return t.trim();
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Appends a character to the search string.
|
|
62
|
+
*
|
|
63
|
+
* Добавляет символ к строке поиска.
|
|
64
|
+
* @param char new character/ новый символ
|
|
65
|
+
*/
|
|
66
|
+
addChar(t) {
|
|
67
|
+
return this.item.value && this.timeout ? this.item.value += t : this.item.value = t, this;
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Schedules reset to the initial state after a delay.
|
|
71
|
+
*
|
|
72
|
+
* Планирует сброс к исходному состоянию после задержки.
|
|
73
|
+
*/
|
|
74
|
+
makeReset() {
|
|
75
|
+
return this.timeout && clearTimeout(this.timeout), this.timeout = setTimeout(
|
|
76
|
+
() => this.timeout = void 0,
|
|
77
|
+
2e3
|
|
78
|
+
), this;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
class A {
|
|
82
|
+
/**
|
|
83
|
+
* Constructor
|
|
84
|
+
* @param props input data/ входные данные
|
|
85
|
+
* @param element input element/ элемент ввода
|
|
86
|
+
* @param listId unique list identifier/ уникальный идентификатор списка
|
|
87
|
+
*/
|
|
88
|
+
constructor(t, e, s) {
|
|
89
|
+
i(this, "item", m());
|
|
90
|
+
/** Returns the value of the selected element/ Возвращает значение выбранного элемента */
|
|
91
|
+
i(this, "focus", u(() => {
|
|
92
|
+
var t, e;
|
|
93
|
+
return (e = (t = this.item.value) == null ? void 0 : t.index) != null ? e : this.props.focus;
|
|
94
|
+
}));
|
|
95
|
+
this.props = t, this.element = e, this.listId = s;
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* Returns the selected element.
|
|
99
|
+
*
|
|
100
|
+
* Возвращает выбранный элемент.
|
|
101
|
+
* @param index element index/ индекс элемента
|
|
102
|
+
*/
|
|
103
|
+
isElement(t) {
|
|
104
|
+
return !!this.getElement(t);
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* Checks if the element is an item.
|
|
108
|
+
*
|
|
109
|
+
* Проверяет, является ли элемент элементом.
|
|
110
|
+
*/
|
|
111
|
+
isItem() {
|
|
112
|
+
var t;
|
|
113
|
+
return ((t = this.item.value) == null ? void 0 : t.type) === "item";
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* Checks if the element is a group.
|
|
117
|
+
*
|
|
118
|
+
* Проверяет, является ли элемент группой.
|
|
119
|
+
*/
|
|
120
|
+
isGroup() {
|
|
121
|
+
var t;
|
|
122
|
+
return ((t = this.item.value) == null ? void 0 : t.type) === "group";
|
|
123
|
+
}
|
|
124
|
+
/**
|
|
125
|
+
* Checks if the element is a menu.
|
|
126
|
+
*
|
|
127
|
+
* Проверяет, является ли элемент меню.
|
|
128
|
+
*/
|
|
129
|
+
isMenu() {
|
|
130
|
+
var t;
|
|
131
|
+
return ((t = this.item.value) == null ? void 0 : t.type) === "menu";
|
|
132
|
+
}
|
|
133
|
+
/**
|
|
134
|
+
* Checks if the group or menu is open.
|
|
135
|
+
*
|
|
136
|
+
* Проверяет, открыта ли группа или меню.
|
|
137
|
+
*/
|
|
138
|
+
isOpen() {
|
|
139
|
+
const t = this.getElement();
|
|
140
|
+
return t && (this.isGroup() || this.isMenu()) ? t.dataset.status === "open" : !1;
|
|
141
|
+
}
|
|
142
|
+
/**
|
|
143
|
+
* Returns the selected element.
|
|
144
|
+
*
|
|
145
|
+
* Возвращает выбранный элемент.
|
|
146
|
+
*/
|
|
147
|
+
get() {
|
|
148
|
+
return this.item.value;
|
|
149
|
+
}
|
|
150
|
+
/**
|
|
151
|
+
* Returns the selector for the desired element by its index.
|
|
152
|
+
*
|
|
153
|
+
* Возвращает селектор нужного элемента по его индексу.
|
|
154
|
+
* @param index element index/ индекс элемента
|
|
155
|
+
*/
|
|
156
|
+
getSelector(t) {
|
|
157
|
+
var e;
|
|
158
|
+
return `[data-list-id="${this.listId}"][data-value="${t != null ? t : (e = this.item.value) == null ? void 0 : e.index}"]`;
|
|
159
|
+
}
|
|
160
|
+
/**
|
|
161
|
+
* Returns the HTML element of the selected item.
|
|
162
|
+
*
|
|
163
|
+
* Возвращает HTML элемент выбранного элемента.
|
|
164
|
+
* @param index element index/ индекс элемента
|
|
165
|
+
*/
|
|
166
|
+
getElement(t) {
|
|
167
|
+
var e;
|
|
168
|
+
return (e = document.querySelector(this.getSelector(t))) != null ? e : void 0;
|
|
169
|
+
}
|
|
170
|
+
/**
|
|
171
|
+
* Changes the selected element.
|
|
172
|
+
*
|
|
173
|
+
* Изменяет выбранный элемент.
|
|
174
|
+
* @param item new value/ новое значение
|
|
175
|
+
*/
|
|
176
|
+
set(t) {
|
|
177
|
+
return this.item.value !== t && (this.item.value = t), this;
|
|
178
|
+
}
|
|
179
|
+
/**
|
|
180
|
+
* Resets the selected element.
|
|
181
|
+
*
|
|
182
|
+
* Сбрасывает выбранный элемент.
|
|
183
|
+
*/
|
|
184
|
+
reset() {
|
|
185
|
+
return this.set(void 0), this;
|
|
186
|
+
}
|
|
187
|
+
/**
|
|
188
|
+
* Performs a click on the selected element.
|
|
189
|
+
*
|
|
190
|
+
* Выполняет клик на выбранном элементе.
|
|
191
|
+
*/
|
|
192
|
+
click() {
|
|
193
|
+
var t;
|
|
194
|
+
(t = this.getElement()) == null || t.click();
|
|
195
|
+
}
|
|
196
|
+
/**
|
|
197
|
+
* Moves to the value in focus.
|
|
198
|
+
*
|
|
199
|
+
* Перемещает к значению в фокусе.
|
|
200
|
+
*/
|
|
201
|
+
toElementFocus() {
|
|
202
|
+
if (this.item.value) {
|
|
203
|
+
const t = this.getElement();
|
|
204
|
+
if (t)
|
|
205
|
+
return this.toElement(t), !0;
|
|
206
|
+
}
|
|
207
|
+
return !1;
|
|
208
|
+
}
|
|
209
|
+
/**
|
|
210
|
+
* Scrolls to the desired element by its index.
|
|
211
|
+
*
|
|
212
|
+
* Скроллирует к нужному элементу по его индексу.
|
|
213
|
+
* @param index element index/ индекс элемента
|
|
214
|
+
*/
|
|
215
|
+
toElementSelected(t) {
|
|
216
|
+
return this.toElement(this.getElement(t)), this;
|
|
217
|
+
}
|
|
218
|
+
/**
|
|
219
|
+
* Scrolls to the desired element.
|
|
220
|
+
*
|
|
221
|
+
* Скроллирует к нужному элементу.
|
|
222
|
+
* @param element the element to scroll to/ элемент, до которого надо проскроллить
|
|
223
|
+
*/
|
|
224
|
+
toElement(t) {
|
|
225
|
+
const e = "*[data-window-body]";
|
|
226
|
+
t && t.closest(e) && k(e, t);
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
class D {
|
|
230
|
+
/**
|
|
231
|
+
* Constructor
|
|
232
|
+
* @param props input data/ входные данные
|
|
233
|
+
* @param focus object of the class for working with focus/ объект класса для работы с фокусировкой
|
|
234
|
+
* @param data object of the class for working with the list/ объект класса для работы со списком
|
|
235
|
+
* @param emits the function is called when an event is triggered/ функция вызывается, когда срабатывает событие
|
|
236
|
+
*/
|
|
237
|
+
constructor(t, e, s, r) {
|
|
238
|
+
i(this, "index", -1);
|
|
239
|
+
this.props = t, this.focus = e, this.data = s, this.emits = r;
|
|
240
|
+
}
|
|
241
|
+
/**
|
|
242
|
+
* Changing the index in focus by the number in the array.
|
|
243
|
+
*
|
|
244
|
+
* Изменение значения в фокусе по номеру в массиве.
|
|
245
|
+
* @param index number in the array/ номер в массиве
|
|
246
|
+
*/
|
|
247
|
+
set(t) {
|
|
248
|
+
return this.index !== t ? (t < 0 ? this.reset() : this.setByIndex(t), this.focus.toElementFocus(), !0) : !1;
|
|
249
|
+
}
|
|
250
|
+
/**
|
|
251
|
+
* Changes the selected element.
|
|
252
|
+
*
|
|
253
|
+
* Изменяет выбранный элемент.
|
|
254
|
+
* @param value new value/ новое значение
|
|
255
|
+
*/
|
|
256
|
+
preparation(t) {
|
|
257
|
+
const e = this.data.map.value, s = e.findIndex((r) => w(r.index, t));
|
|
258
|
+
this.reset(), s && (this.index = s, e != null && e[s] && this.focus.toElementSelected(e[s].index));
|
|
259
|
+
}
|
|
260
|
+
/**
|
|
261
|
+
* Scrolls the element to the selected element
|
|
262
|
+
*
|
|
263
|
+
* Прокрутить элемент до выбранного элемента
|
|
264
|
+
*/
|
|
265
|
+
preparationBySelected() {
|
|
266
|
+
this.props.selected && requestAnimationFrame(() => this.preparation(this.props.selected));
|
|
267
|
+
}
|
|
268
|
+
/**
|
|
269
|
+
* Moves the selected value back.
|
|
270
|
+
*
|
|
271
|
+
* Перемещает выбранное значение назад.
|
|
272
|
+
*/
|
|
273
|
+
previous() {
|
|
274
|
+
this.isFirstByParent() || (this.setByIndex(this.index - 1), this.focus.toElementFocus() || this.previous());
|
|
275
|
+
}
|
|
276
|
+
/**
|
|
277
|
+
* Moves the selected value forward.
|
|
278
|
+
*
|
|
279
|
+
* Перемещает выбранное значение вперед.
|
|
280
|
+
*/
|
|
281
|
+
next() {
|
|
282
|
+
this.isLastByParent() || (this.setByIndex(this.index + 1), this.focus.toElementFocus() || this.next());
|
|
283
|
+
}
|
|
284
|
+
/**
|
|
285
|
+
* Reset all records to the initial state.
|
|
286
|
+
*
|
|
287
|
+
* Сброс всех записей до начального состояния.
|
|
288
|
+
*/
|
|
289
|
+
reset() {
|
|
290
|
+
this.index = -1, this.focus.reset();
|
|
291
|
+
}
|
|
292
|
+
/**
|
|
293
|
+
* Opens the window if the element is in it.
|
|
294
|
+
*
|
|
295
|
+
* Открывает окно, если элемент в нем.
|
|
296
|
+
*/
|
|
297
|
+
open() {
|
|
298
|
+
this.focus.isItem() ? this.focus.click() : (this.focus.isGroup() || this.focus.isMenu()) && (this.focus.click(), this.nextByType());
|
|
299
|
+
}
|
|
300
|
+
/**
|
|
301
|
+
* Closes the window if the element is in it.
|
|
302
|
+
*
|
|
303
|
+
* Закрывает окно, если элемент в нем.
|
|
304
|
+
*/
|
|
305
|
+
close() {
|
|
306
|
+
var e;
|
|
307
|
+
const t = this.getMainItem();
|
|
308
|
+
if (t) {
|
|
309
|
+
t.click();
|
|
310
|
+
const s = this.data.getItemByIndex(t.dataset.value);
|
|
311
|
+
s && (this.set(s.key), this.focus.set(s.item));
|
|
312
|
+
} else
|
|
313
|
+
(e = this.emits) == null || e.call(this, "close");
|
|
314
|
+
}
|
|
315
|
+
/**
|
|
316
|
+
* Stops the event.
|
|
317
|
+
*
|
|
318
|
+
* Останавливает событие.
|
|
319
|
+
*/
|
|
320
|
+
stop() {
|
|
321
|
+
this.focus.reset();
|
|
322
|
+
}
|
|
323
|
+
/**
|
|
324
|
+
* Checks if the next element is in the same window.
|
|
325
|
+
*
|
|
326
|
+
* Проверяет, находится ли следующий элемент в том же окне.
|
|
327
|
+
*/
|
|
328
|
+
isFirstByParent() {
|
|
329
|
+
var e, s, r;
|
|
330
|
+
const t = (e = this.focus.item.value) == null ? void 0 : e.parent;
|
|
331
|
+
return t && this.focus.isElement() ? ((s = this.data.getFirstItemByParent(t)) == null ? void 0 : s.index) === ((r = this.focus.item.value) == null ? void 0 : r.index) : !1;
|
|
332
|
+
}
|
|
333
|
+
/**
|
|
334
|
+
* Checks if the next element is in the same window.
|
|
335
|
+
*
|
|
336
|
+
* Проверяет, находится ли следующий элемент в том же окне.
|
|
337
|
+
*/
|
|
338
|
+
isLastByParent() {
|
|
339
|
+
var e, s, r;
|
|
340
|
+
const t = (e = this.focus.item.value) == null ? void 0 : e.parent;
|
|
341
|
+
return t && this.focus.isElement() ? ((s = this.data.getLastItemByParent(t)) == null ? void 0 : s.index) === ((r = this.focus.item.value) == null ? void 0 : r.index) : !1;
|
|
342
|
+
}
|
|
343
|
+
/**
|
|
344
|
+
* Checks if the element is in a window.
|
|
345
|
+
*
|
|
346
|
+
* Проверяет, находится ли элемент в окне.
|
|
347
|
+
*/
|
|
348
|
+
getMainItem() {
|
|
349
|
+
var e;
|
|
350
|
+
const t = (e = this.focus.item.value) == null ? void 0 : e.parent;
|
|
351
|
+
if (t && !this.focus.isOpen())
|
|
352
|
+
return this.focus.getElement(t);
|
|
353
|
+
}
|
|
354
|
+
/**
|
|
355
|
+
* Changing the index in focus by the number in the array.
|
|
356
|
+
*
|
|
357
|
+
* Изменение значения в фокусе по номеру в массиве.
|
|
358
|
+
* @param index number in the array/ номер в массиве
|
|
359
|
+
*/
|
|
360
|
+
setByIndex(t) {
|
|
361
|
+
const e = this.data.getLengthByMap();
|
|
362
|
+
t >= e ? this.index = 0 : t < 0 ? this.index = e - 1 : this.index = t;
|
|
363
|
+
const s = this.data.map.value[this.index];
|
|
364
|
+
s && (s.type === "item" || s.type === "group" || s.type === "menu") ? this.focus.set(s) : this.focus.reset();
|
|
365
|
+
}
|
|
366
|
+
/**
|
|
367
|
+
* Moves the selected value forward by type.
|
|
368
|
+
*
|
|
369
|
+
* Перемещает выбранное значение вперед по типу.
|
|
370
|
+
*/
|
|
371
|
+
nextByType() {
|
|
372
|
+
this.setByIndex(this.index + 1), !(this.focus.isItem() || this.focus.isGroup() || this.focus.isMenu()) && this.nextByType();
|
|
373
|
+
}
|
|
374
|
+
}
|
|
375
|
+
class G {
|
|
376
|
+
/**
|
|
377
|
+
* Creates an instance of ListControl for managing keyboard navigation and events.
|
|
378
|
+
*
|
|
379
|
+
* Создает экземпляр ListControl для управления навигацией с клавиатуры и событиями.
|
|
380
|
+
* @param props input data/ входные данные
|
|
381
|
+
* @param search search functionality controller / контроллер функциональности поиска
|
|
382
|
+
* @param data list data manager / менеджер данных списка
|
|
383
|
+
* @param go navigation controller / контроллер навигации
|
|
384
|
+
*/
|
|
385
|
+
constructor(t, e, s, r) {
|
|
386
|
+
i(this, "event");
|
|
387
|
+
/**
|
|
388
|
+
* Checks if the menu is active.
|
|
389
|
+
*
|
|
390
|
+
* Проверяет, активное ли меню.
|
|
391
|
+
*/
|
|
392
|
+
i(this, "isActive", u(() => !!this.props.control));
|
|
393
|
+
/**
|
|
394
|
+
* Method for tracking keys when a window is open.
|
|
395
|
+
*
|
|
396
|
+
* Метод для отслеживания нажатий при открытом окне.
|
|
397
|
+
* @param event event object/ объект события
|
|
398
|
+
*/
|
|
399
|
+
i(this, "on", (t) => {
|
|
400
|
+
if (this.isNotInput(t.target) && this.data.getLength())
|
|
401
|
+
if (t.type === "keypress")
|
|
402
|
+
this.updateSearch(t);
|
|
403
|
+
else
|
|
404
|
+
switch (t.code || t.key || t.keyCode) {
|
|
405
|
+
case "Backspace":
|
|
406
|
+
case 8:
|
|
407
|
+
this.updateSearch(t);
|
|
408
|
+
break;
|
|
409
|
+
case "ArrowUp":
|
|
410
|
+
case 38:
|
|
411
|
+
t.preventDefault(), this.go.previous();
|
|
412
|
+
break;
|
|
413
|
+
case "ArrowDown":
|
|
414
|
+
case 40:
|
|
415
|
+
t.preventDefault(), this.go.next();
|
|
416
|
+
break;
|
|
417
|
+
case "Enter":
|
|
418
|
+
case "ArrowRight":
|
|
419
|
+
case " ":
|
|
420
|
+
case 13:
|
|
421
|
+
case 39:
|
|
422
|
+
t.preventDefault(), this.go.open();
|
|
423
|
+
break;
|
|
424
|
+
case "ArrowLeft":
|
|
425
|
+
case 37:
|
|
426
|
+
t.preventDefault(), this.go.close();
|
|
427
|
+
break;
|
|
428
|
+
case "Space":
|
|
429
|
+
case 32:
|
|
430
|
+
this.getActiveElement() || (t.preventDefault(), this.go.open());
|
|
431
|
+
break;
|
|
432
|
+
}
|
|
433
|
+
});
|
|
434
|
+
this.props = t, this.search = e, this.data = s, this.go = r, v(
|
|
435
|
+
this.isActive,
|
|
436
|
+
(n) => {
|
|
437
|
+
n ? this.start() : this.stop();
|
|
438
|
+
},
|
|
439
|
+
{ immediate: !0 }
|
|
440
|
+
), y(() => this.stop());
|
|
441
|
+
}
|
|
442
|
+
/**
|
|
443
|
+
* Checks if the event target is not an input.
|
|
444
|
+
*
|
|
445
|
+
* Проверяет, не является ли цель события input.
|
|
446
|
+
* @param target selected element/ выбранный элемент
|
|
447
|
+
*/
|
|
448
|
+
isNotInput(t) {
|
|
449
|
+
return ["INPUT", "TEXTAREA"].indexOf(t.nodeName) === -1 || !!this.getActiveElement();
|
|
450
|
+
}
|
|
451
|
+
/**
|
|
452
|
+
* Gets the currently active input element with menu control.
|
|
453
|
+
*
|
|
454
|
+
* Получает текущий активный элемент input с управлением меню.
|
|
455
|
+
* @returns active input element or undefined / активный элемент input или undefined
|
|
456
|
+
*/
|
|
457
|
+
getActiveElement() {
|
|
458
|
+
var t;
|
|
459
|
+
if (d()) {
|
|
460
|
+
const e = document.activeElement;
|
|
461
|
+
if (e && ((t = e.dataset) == null ? void 0 : t.menuControl) === "1")
|
|
462
|
+
return e;
|
|
463
|
+
}
|
|
464
|
+
}
|
|
465
|
+
/**
|
|
466
|
+
* Starts the event.
|
|
467
|
+
*
|
|
468
|
+
* Запускает событие.
|
|
469
|
+
*/
|
|
470
|
+
start() {
|
|
471
|
+
d() && (this.event || (this.event = new x(
|
|
472
|
+
document.body,
|
|
473
|
+
["keydown", "keypress"],
|
|
474
|
+
this.on
|
|
475
|
+
)), this.go.reset(), this.event.start());
|
|
476
|
+
}
|
|
477
|
+
/**
|
|
478
|
+
* Stops the event.
|
|
479
|
+
*
|
|
480
|
+
* Останавливает событие.
|
|
481
|
+
*/
|
|
482
|
+
stop() {
|
|
483
|
+
this.event && (this.event.stop(), this.event = void 0, this.go.stop());
|
|
484
|
+
}
|
|
485
|
+
/**
|
|
486
|
+
* Updates the search value based on keyboard input.
|
|
487
|
+
*
|
|
488
|
+
* Обновляет значение поиска на основе ввода с клавиатуры.
|
|
489
|
+
* @param event keyboard event / событие клавиатуры
|
|
490
|
+
*/
|
|
491
|
+
updateSearch(t) {
|
|
492
|
+
const e = this.getActiveElement();
|
|
493
|
+
e ? requestAnimationFrame(() => this.search.set(e.value)) : this.search.add(t.key);
|
|
494
|
+
}
|
|
495
|
+
}
|
|
496
|
+
let F = 1;
|
|
497
|
+
class T {
|
|
498
|
+
/**
|
|
499
|
+
* Constructor
|
|
500
|
+
* @param props input data/ входные данные
|
|
501
|
+
* @param refs input data in the form of reactive elements/ входные данные в виде реактивных элементов
|
|
502
|
+
* @param element input element/ элемент ввода
|
|
503
|
+
* @param classDesign design name/ название дизайна
|
|
504
|
+
* @param className class name/ название класса
|
|
505
|
+
* @param components object for working with components/ объект для работы с компонентами
|
|
506
|
+
* @param slots object for working with slots/ объект для работы со слотами
|
|
507
|
+
* @param emits the function is called when an event is triggered/ функция вызывается, когда срабатывает событие
|
|
508
|
+
*/
|
|
509
|
+
constructor(t, e, s, r, n, a, p, c) {
|
|
510
|
+
i(this, "search");
|
|
511
|
+
i(this, "focus");
|
|
512
|
+
i(this, "data");
|
|
513
|
+
i(this, "event");
|
|
514
|
+
i(this, "go");
|
|
515
|
+
i(this, "control");
|
|
516
|
+
i(this, "windowClasses");
|
|
517
|
+
/** Unique list identifier/ Уникальный идентификатор списка */
|
|
518
|
+
i(this, "id", ++F);
|
|
519
|
+
/**
|
|
520
|
+
* Computed list data
|
|
521
|
+
*
|
|
522
|
+
* Вычисляемые данные списка
|
|
523
|
+
* */
|
|
524
|
+
i(this, "list", u(() => this.props.lite ? this.data.liteData.value : this.data.fullData.value));
|
|
525
|
+
/**
|
|
526
|
+
* Computed CSS classes for the cell component.
|
|
527
|
+
*
|
|
528
|
+
* Вычисляемые CSS классы для компонента ячейки.
|
|
529
|
+
*/
|
|
530
|
+
i(this, "classes", u(() => ({
|
|
531
|
+
[`${this.className}--highlightActive`]: !!this.props.filterMode && this.data.isHighlight()
|
|
532
|
+
})));
|
|
533
|
+
/**
|
|
534
|
+
* Computed binding properties for list items/
|
|
535
|
+
* Вычисляемые привязочные свойства для элементов списка
|
|
536
|
+
* */
|
|
537
|
+
i(this, "itemBinds", u(() => {
|
|
538
|
+
var t;
|
|
539
|
+
return {
|
|
540
|
+
tag: this.props.tag,
|
|
541
|
+
divider: this.props.divider,
|
|
542
|
+
onClick: this.event.onClick,
|
|
543
|
+
...(t = this.props.itemAttrs) != null ? t : {},
|
|
544
|
+
listId: this.id
|
|
545
|
+
};
|
|
546
|
+
}));
|
|
547
|
+
this.props = t, this.refs = e, this.element = s, this.classDesign = r, this.className = n, this.components = a, this.slots = p, this.emits = c, this.search = new C(this.props), this.focus = new A(this.props, this.element, this.id), this.data = new S(
|
|
548
|
+
I(this.props, "list"),
|
|
549
|
+
this.focus.focus,
|
|
550
|
+
this.search.highlight,
|
|
551
|
+
this.refs.highlightLengthStart,
|
|
552
|
+
this.refs.filterMode,
|
|
553
|
+
this.refs.selected,
|
|
554
|
+
this.refs.keyValue,
|
|
555
|
+
this.refs.keyLabel,
|
|
556
|
+
this.refs.liteThreshold,
|
|
557
|
+
void 0,
|
|
558
|
+
this.refs.max
|
|
559
|
+
), this.go = new D(this.props, this.focus, this.data, this.emits), this.control = new G(this.props, this.search, this.data, this.go), this.event = new E(void 0, void 0, c), this.windowClasses = new L(r);
|
|
560
|
+
}
|
|
561
|
+
/**
|
|
562
|
+
* Returns information about the opening status of a group item.
|
|
563
|
+
*
|
|
564
|
+
* Возвращает информацию о статусе открытия группового элемента.
|
|
565
|
+
* @param item List item data/ данные элемента списка
|
|
566
|
+
*/
|
|
567
|
+
isOpenGroup(t) {
|
|
568
|
+
const e = this.data.getSubList(t);
|
|
569
|
+
return e.isSelected.value || e.isFocus() || e.isHighlight();
|
|
570
|
+
}
|
|
571
|
+
/**
|
|
572
|
+
* Gets binding properties for a list item
|
|
573
|
+
*
|
|
574
|
+
* Получает привязочные свойства для элемента списка
|
|
575
|
+
* @param item List item data/ данные элемента списка
|
|
576
|
+
*/
|
|
577
|
+
getItem(t) {
|
|
578
|
+
return l(
|
|
579
|
+
this.itemBinds.value,
|
|
580
|
+
t,
|
|
581
|
+
{
|
|
582
|
+
key: t.value,
|
|
583
|
+
role: this.props.roleItem
|
|
584
|
+
}
|
|
585
|
+
);
|
|
586
|
+
}
|
|
587
|
+
/**
|
|
588
|
+
* Gets binding properties for a group item in the list
|
|
589
|
+
*
|
|
590
|
+
* Получает привязочные свойства для группового элемента в списке
|
|
591
|
+
* @param item List item data/ данные элемента списка
|
|
592
|
+
*/
|
|
593
|
+
getItemGroup(t) {
|
|
594
|
+
return l(
|
|
595
|
+
this.itemBinds.value,
|
|
596
|
+
this.props.itemGroupAttrs,
|
|
597
|
+
t,
|
|
598
|
+
{
|
|
599
|
+
key: t.value,
|
|
600
|
+
class: `${this.className}__group`
|
|
601
|
+
}
|
|
602
|
+
);
|
|
603
|
+
}
|
|
604
|
+
/**
|
|
605
|
+
* Gets binding properties for a menu item in the list
|
|
606
|
+
*
|
|
607
|
+
* Получает привязочные свойства для элемента меню в списке
|
|
608
|
+
* @param item List item data/ данные элемента списка
|
|
609
|
+
*/
|
|
610
|
+
getItemMenu(t) {
|
|
611
|
+
return l(
|
|
612
|
+
this.itemBinds.value,
|
|
613
|
+
this.props.itemMenuAttrs,
|
|
614
|
+
t,
|
|
615
|
+
{
|
|
616
|
+
key: t.value,
|
|
617
|
+
class: `${this.className}__menu`
|
|
618
|
+
}
|
|
619
|
+
);
|
|
620
|
+
}
|
|
621
|
+
/**
|
|
622
|
+
* Gets binding properties for a group management item with down arrow
|
|
623
|
+
*
|
|
624
|
+
* Получает привязочные свойства для элемента управления группой со стрелкой вниз
|
|
625
|
+
* @param item List item data/ данные элемента списка
|
|
626
|
+
* @param props additional properties/ дополнительные свойства
|
|
627
|
+
*/
|
|
628
|
+
getItemManagementFormGroup(t, e) {
|
|
629
|
+
return this.getItemManagement(
|
|
630
|
+
{
|
|
631
|
+
...t,
|
|
632
|
+
...e,
|
|
633
|
+
filterMode: !1
|
|
634
|
+
},
|
|
635
|
+
e.open,
|
|
636
|
+
this.props.iconArrowDown
|
|
637
|
+
);
|
|
638
|
+
}
|
|
639
|
+
/**
|
|
640
|
+
* Gets binding properties for a menu management item with right arrow
|
|
641
|
+
*
|
|
642
|
+
* Получает привязочные свойства для элемента управления меню со стрелкой вправо
|
|
643
|
+
* @param item List item data/ данные элемента списка
|
|
644
|
+
* @param open Whether the menu is open/ открыто ли меню
|
|
645
|
+
*/
|
|
646
|
+
getItemManagementFormMenu(t, e) {
|
|
647
|
+
return this.getItemManagement(
|
|
648
|
+
{
|
|
649
|
+
...t,
|
|
650
|
+
filterMode: !1,
|
|
651
|
+
isMenu: !0
|
|
652
|
+
},
|
|
653
|
+
e,
|
|
654
|
+
this.props.iconArrowRight
|
|
655
|
+
);
|
|
656
|
+
}
|
|
657
|
+
/**
|
|
658
|
+
* Returns a sublist for a group item.
|
|
659
|
+
*
|
|
660
|
+
* Возвращает подсписок для группового элемента.
|
|
661
|
+
* @param item List item data/ данные элемента списка
|
|
662
|
+
*/
|
|
663
|
+
getList(t) {
|
|
664
|
+
return this.data.getSubList(t).fullData.value;
|
|
665
|
+
}
|
|
666
|
+
/**
|
|
667
|
+
* Internal method to create management item binding properties
|
|
668
|
+
*
|
|
669
|
+
* Внутренний метод для создания привязочных свойств элемента управления
|
|
670
|
+
* @param item List item data/ данные элемента списка
|
|
671
|
+
* @param open Whether the item is open/ открыт ли элемент
|
|
672
|
+
* @param icon Icon to display/ иконка для отображения
|
|
673
|
+
*/
|
|
674
|
+
getItemManagement(t, e, s) {
|
|
675
|
+
return l(
|
|
676
|
+
this.itemBinds.value,
|
|
677
|
+
this.props.itemManagementAttrs,
|
|
678
|
+
t,
|
|
679
|
+
{
|
|
680
|
+
class: [
|
|
681
|
+
`${this.className}__management`,
|
|
682
|
+
this.windowClasses.get().static
|
|
683
|
+
],
|
|
684
|
+
focus: (t == null ? void 0 : t.index) === this.focus.focus.value,
|
|
685
|
+
selectedChild: this.isOpenGroup(t),
|
|
686
|
+
open: e,
|
|
687
|
+
iconTurn: e,
|
|
688
|
+
iconTrailing: s,
|
|
689
|
+
iconTrailingTurnOnly: !0,
|
|
690
|
+
"data-status": e ? "open" : "close"
|
|
691
|
+
}
|
|
692
|
+
);
|
|
693
|
+
}
|
|
694
|
+
}
|
|
695
|
+
const V = {
|
|
696
|
+
keyLabel: "label",
|
|
697
|
+
keyValue: "value",
|
|
698
|
+
tag: "div",
|
|
699
|
+
// :default [!] System label / Системная метка
|
|
700
|
+
axis: "y"
|
|
701
|
+
};
|
|
702
|
+
class _ extends B {
|
|
703
|
+
/**
|
|
704
|
+
* Constructor
|
|
705
|
+
* @param name class name/ название класса
|
|
706
|
+
* @param props properties/ свойства
|
|
707
|
+
* @param options list of additional parameters/ список дополнительных параметров
|
|
708
|
+
*/
|
|
709
|
+
constructor(e, s, r) {
|
|
710
|
+
super(
|
|
711
|
+
e,
|
|
712
|
+
s,
|
|
713
|
+
r
|
|
714
|
+
);
|
|
715
|
+
i(this, "item");
|
|
716
|
+
/**
|
|
717
|
+
* Generates all elements from the list.
|
|
718
|
+
*
|
|
719
|
+
* Генерирует все элементы из списка.
|
|
720
|
+
*/
|
|
721
|
+
i(this, "renderData", () => this.renderDataByItem("item", this.item.list.value, !0));
|
|
722
|
+
/**
|
|
723
|
+
* Generates an element.
|
|
724
|
+
*
|
|
725
|
+
* Генерирует элемент.
|
|
726
|
+
* @param type type of list/ тип списка
|
|
727
|
+
* @param item selected element/ выбранный элемент
|
|
728
|
+
*/
|
|
729
|
+
i(this, "renderItem", (e, s) => this.components.renderOne(
|
|
730
|
+
"listItem",
|
|
731
|
+
this.getItemAttrs(e, s)
|
|
732
|
+
));
|
|
733
|
+
/**
|
|
734
|
+
* Generates a group element.
|
|
735
|
+
*
|
|
736
|
+
* Генерирует групповой элемент.
|
|
737
|
+
* @param item selected element/ выбранный элемент
|
|
738
|
+
* @param props data for working with the group/ данные для работы с группой
|
|
739
|
+
*/
|
|
740
|
+
i(this, "renderItemGroup", (e, s) => this.components.renderOne(
|
|
741
|
+
"listItem",
|
|
742
|
+
this.item.getItemManagementFormGroup(e, s)
|
|
743
|
+
));
|
|
744
|
+
/**
|
|
745
|
+
* Generates a menu element.
|
|
746
|
+
*
|
|
747
|
+
* Генерирует элемент меню.
|
|
748
|
+
* @param item selected element/ выбранный элемент
|
|
749
|
+
* @param props data for working with the menu/ данные для работы с меню
|
|
750
|
+
*/
|
|
751
|
+
i(this, "renderItemMenu", (e, s) => this.components.renderOne(
|
|
752
|
+
"listItem",
|
|
753
|
+
l(
|
|
754
|
+
this.item.getItemManagementFormMenu(e, !!s.open.value),
|
|
755
|
+
s.binds
|
|
756
|
+
)
|
|
757
|
+
));
|
|
758
|
+
/**
|
|
759
|
+
* Generates a break between elements.
|
|
760
|
+
*
|
|
761
|
+
* Генерирует разрыв между элементами.
|
|
762
|
+
* @param item selected element/ выбранный элемент
|
|
763
|
+
*/
|
|
764
|
+
i(this, "renderSpace", (e) => {
|
|
765
|
+
var s;
|
|
766
|
+
return o("div", {
|
|
767
|
+
key: e.value,
|
|
768
|
+
class: [
|
|
769
|
+
(s = this.classes) == null ? void 0 : s.value.space,
|
|
770
|
+
this.item.windowClasses.get().static
|
|
771
|
+
]
|
|
772
|
+
});
|
|
773
|
+
});
|
|
774
|
+
/**
|
|
775
|
+
* Generates a dividing line.
|
|
776
|
+
*
|
|
777
|
+
* Генерирует линию разделения.
|
|
778
|
+
* @param item selected element/ выбранный элемент
|
|
779
|
+
*/
|
|
780
|
+
i(this, "renderLine", (e) => {
|
|
781
|
+
var s;
|
|
782
|
+
return o("div", {
|
|
783
|
+
key: e.value,
|
|
784
|
+
class: [
|
|
785
|
+
(s = this.classes) == null ? void 0 : s.value.line,
|
|
786
|
+
this.item.windowClasses.get().static
|
|
787
|
+
]
|
|
788
|
+
});
|
|
789
|
+
});
|
|
790
|
+
/**
|
|
791
|
+
* Generates a subtitle.
|
|
792
|
+
*
|
|
793
|
+
* Генерирует подзаголовок.
|
|
794
|
+
* @param item selected element/ выбранный элемент
|
|
795
|
+
*/
|
|
796
|
+
i(this, "renderSubtitle", (e) => {
|
|
797
|
+
var s;
|
|
798
|
+
return o("div", {
|
|
799
|
+
key: e.value,
|
|
800
|
+
class: [
|
|
801
|
+
(s = this.classes) == null ? void 0 : s.value.subtitle,
|
|
802
|
+
this.item.windowClasses.get().static
|
|
803
|
+
]
|
|
804
|
+
}, e.label);
|
|
805
|
+
});
|
|
806
|
+
/**
|
|
807
|
+
* Generates HTML code by the slot name or the value of the `label` field.
|
|
808
|
+
*
|
|
809
|
+
* Генерирует HTML-код по названию слота или значению поля `label`.
|
|
810
|
+
* @param item selected element/ выбранный элемент
|
|
811
|
+
*/
|
|
812
|
+
i(this, "renderHtml", (e) => {
|
|
813
|
+
var r;
|
|
814
|
+
const s = {
|
|
815
|
+
key: e.label && M(e.value) ? e.label : e.value,
|
|
816
|
+
class: [
|
|
817
|
+
(r = this.classes) == null ? void 0 : r.value.html,
|
|
818
|
+
this.item.windowClasses.get().static
|
|
819
|
+
]
|
|
820
|
+
};
|
|
821
|
+
return this.slots && e.value in this.slots ? o("div", s, this.initSlot(e.value)) : o("div", {
|
|
822
|
+
...s,
|
|
823
|
+
innerHTML: e.label
|
|
824
|
+
});
|
|
825
|
+
});
|
|
826
|
+
/**
|
|
827
|
+
* Generates a group of lists.
|
|
828
|
+
*
|
|
829
|
+
* Генерирует группу списков.
|
|
830
|
+
* @param item selected element/ выбранный элемент
|
|
831
|
+
*/
|
|
832
|
+
i(this, "renderGroup", (e) => this.components.renderOne(
|
|
833
|
+
"listGroup",
|
|
834
|
+
{
|
|
835
|
+
open: this.item.isOpenGroup(e),
|
|
836
|
+
divider: this.props.divider,
|
|
837
|
+
disabled: e.disabled
|
|
838
|
+
},
|
|
839
|
+
{
|
|
840
|
+
head: (s) => this.renderItemGroup(e, s),
|
|
841
|
+
list: () => this.renderDataByItem("group", this.item.getList(e))
|
|
842
|
+
}
|
|
843
|
+
));
|
|
844
|
+
/**
|
|
845
|
+
* Generates a menu of lists.
|
|
846
|
+
*
|
|
847
|
+
* Генерирует меню списков.
|
|
848
|
+
* @param item selected element/ выбранный элемент
|
|
849
|
+
* @param first is the first element/ является ли первым элементом
|
|
850
|
+
*/
|
|
851
|
+
i(this, "renderMenu", (e, s) => this.components.renderOne(
|
|
852
|
+
"listMenu",
|
|
853
|
+
{
|
|
854
|
+
divider: this.props.divider,
|
|
855
|
+
axis: s && this.props.axis === "x" ? "y" : "x",
|
|
856
|
+
disabled: e.disabled
|
|
857
|
+
},
|
|
858
|
+
{
|
|
859
|
+
head: (r) => this.renderItemMenu(e, r),
|
|
860
|
+
list: () => this.renderDataByItem("menu", this.item.getList(e))
|
|
861
|
+
}
|
|
862
|
+
));
|
|
863
|
+
this.item = new T(
|
|
864
|
+
this.props,
|
|
865
|
+
this.refs,
|
|
866
|
+
this.element,
|
|
867
|
+
this.getDesign(),
|
|
868
|
+
this.getName(),
|
|
869
|
+
this.components,
|
|
870
|
+
this.slots,
|
|
871
|
+
this.emits
|
|
872
|
+
), this.init();
|
|
873
|
+
}
|
|
874
|
+
/**
|
|
875
|
+
* Initialization of all the necessary properties for work
|
|
876
|
+
*
|
|
877
|
+
* Инициализация всех необходимых свойств для работы.
|
|
878
|
+
*/
|
|
879
|
+
initExpose() {
|
|
880
|
+
return {
|
|
881
|
+
isSelected: this.item.data.isSelected,
|
|
882
|
+
selectedList: this.item.data.selectedList,
|
|
883
|
+
selectedNames: this.item.data.selectedNames,
|
|
884
|
+
selectedValues: this.item.data.selectedValues
|
|
885
|
+
};
|
|
886
|
+
}
|
|
887
|
+
/**
|
|
888
|
+
* Improvement of the obtained list of classes.
|
|
889
|
+
*
|
|
890
|
+
* Доработка полученного списка классов.
|
|
891
|
+
*/
|
|
892
|
+
initClasses() {
|
|
893
|
+
return {
|
|
894
|
+
main: this.item.classes.value,
|
|
895
|
+
// :classes [!] System label / Системная метка
|
|
896
|
+
space: this.getSubClass("space"),
|
|
897
|
+
line: this.getSubClass("line"),
|
|
898
|
+
subtitle: this.getSubClass("subtitle"),
|
|
899
|
+
html: this.getSubClass("html"),
|
|
900
|
+
management: this.getSubClass("management"),
|
|
901
|
+
group: this.getSubClass("group"),
|
|
902
|
+
menu: this.getSubClass("menu"),
|
|
903
|
+
menuGroup: this.getSubClass("menuGroup")
|
|
904
|
+
};
|
|
905
|
+
}
|
|
906
|
+
/**
|
|
907
|
+
* Refinement of the received list of styles.
|
|
908
|
+
*
|
|
909
|
+
* Доработка полученного списка стилей.
|
|
910
|
+
*/
|
|
911
|
+
initStyles() {
|
|
912
|
+
return {};
|
|
913
|
+
}
|
|
914
|
+
/**
|
|
915
|
+
* A method for rendering.
|
|
916
|
+
*
|
|
917
|
+
* Метод для рендеринга.
|
|
918
|
+
*/
|
|
919
|
+
initRender() {
|
|
920
|
+
var e;
|
|
921
|
+
return o(
|
|
922
|
+
"div",
|
|
923
|
+
{
|
|
924
|
+
...this.getAttrs(),
|
|
925
|
+
ref: this.element,
|
|
926
|
+
class: (e = this.classes) == null ? void 0 : e.value.main
|
|
927
|
+
},
|
|
928
|
+
this.renderData()
|
|
929
|
+
);
|
|
930
|
+
}
|
|
931
|
+
/**
|
|
932
|
+
* Generates all elements from the list.
|
|
933
|
+
*
|
|
934
|
+
* Генерирует все элементы из списка.
|
|
935
|
+
* @param type type of list/ тип списка
|
|
936
|
+
* @param data selected element/ выбранный элемент
|
|
937
|
+
* @param first is the first element/ является ли первым элементом
|
|
938
|
+
*/
|
|
939
|
+
renderDataByItem(e, s, r = !1) {
|
|
940
|
+
const n = [];
|
|
941
|
+
return s.forEach((a) => {
|
|
942
|
+
switch (a.type) {
|
|
943
|
+
case "space":
|
|
944
|
+
n.push(this.renderSpace(a));
|
|
945
|
+
break;
|
|
946
|
+
case "line":
|
|
947
|
+
n.push(this.renderLine(a));
|
|
948
|
+
break;
|
|
949
|
+
case "subtitle":
|
|
950
|
+
n.push(this.renderSubtitle(a));
|
|
951
|
+
break;
|
|
952
|
+
case "html":
|
|
953
|
+
n.push(this.renderHtml(a));
|
|
954
|
+
break;
|
|
955
|
+
case "group":
|
|
956
|
+
this.isHighlight(a) && n.push(this.renderGroup(a));
|
|
957
|
+
break;
|
|
958
|
+
case "menu":
|
|
959
|
+
this.isHighlight(a) && n.push(this.renderMenu(a, r));
|
|
960
|
+
break;
|
|
961
|
+
default:
|
|
962
|
+
n.push(this.renderItem(e, a));
|
|
963
|
+
break;
|
|
964
|
+
}
|
|
965
|
+
}), n.push(o("div")), n;
|
|
966
|
+
}
|
|
967
|
+
/**
|
|
968
|
+
* Determines if highlighting is required.
|
|
969
|
+
*
|
|
970
|
+
* Определяет, требуется ли выделение.
|
|
971
|
+
* @param item selected element/ выбранный элемент
|
|
972
|
+
*/
|
|
973
|
+
isHighlight(e) {
|
|
974
|
+
return this.props.filterMode ? this.item.data.getSubList(e).isHighlightActive() : !0;
|
|
975
|
+
}
|
|
976
|
+
/**
|
|
977
|
+
* Returns binding properties for the item.
|
|
978
|
+
*
|
|
979
|
+
* Возвращает привязочные свойства для элемента.
|
|
980
|
+
* @param type type of list/ тип списка
|
|
981
|
+
* @param item selected element/ выбранный элемент
|
|
982
|
+
*/
|
|
983
|
+
getItemAttrs(e, s) {
|
|
984
|
+
switch (e) {
|
|
985
|
+
case "group":
|
|
986
|
+
return this.item.getItemGroup(s);
|
|
987
|
+
case "menu":
|
|
988
|
+
return this.item.getItemMenu(s);
|
|
989
|
+
default:
|
|
990
|
+
return this.item.getItem(s);
|
|
991
|
+
}
|
|
992
|
+
}
|
|
993
|
+
}
|
|
994
|
+
export {
|
|
995
|
+
T as List,
|
|
996
|
+
_ as ListDesign,
|
|
997
|
+
V as defaultsList
|
|
998
|
+
};
|