@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.
Files changed (808) hide show
  1. package/ai-types.txt +838 -0
  2. package/dist/ActionsInclude-H5ZWeXJj.js +64 -0
  3. package/dist/AriaStaticInclude-CFGewqpn.js +219 -0
  4. package/dist/ArrowInclude-CcpT637l.js +47 -0
  5. package/dist/BarsInclude-IM3Gdslg.js +69 -0
  6. package/dist/BlockDesign-D67yDT9N.js +233 -0
  7. package/dist/ButtonDesign-DZ7QCmHk.js +169 -0
  8. package/dist/CaptionInclude-AFVF4qyd.js +52 -0
  9. package/dist/DescriptionInclude-DxWNon_J.js +65 -0
  10. package/dist/EnabledInclude-DGeuJhOr.js +46 -0
  11. package/dist/EventClickInclude-eDWqxK0d.js +93 -0
  12. package/dist/FieldCounterInclude-BR6n8WlH.js +59 -0
  13. package/dist/FieldEventInclude-zg02dtQi.js +715 -0
  14. package/dist/FieldInclude-c6DSD0-y.js +134 -0
  15. package/dist/FieldInputCheckInclude-CjNYyGTb.js +79 -0
  16. package/dist/FieldLabelInclude-B4OGaJ1r.js +64 -0
  17. package/dist/FieldMatchInclude-Vl2gJUaM.js +302 -0
  18. package/dist/FieldMessageInclude-CktVHvWW.js +71 -0
  19. package/dist/IconInclude-CLqwI29Q.js +123 -0
  20. package/dist/IconTrailingInclude-CdsOcDxv.js +83 -0
  21. package/dist/LabelHighlightInclude-Dhj3p9NW.js +75 -0
  22. package/dist/LabelInclude-BtZrrbCf.js +132 -0
  23. package/dist/LabelNumberInclude-DyifvMnr.js +46 -0
  24. package/dist/ListGroupOpen-Bl_HIQoV.js +43 -0
  25. package/dist/MenuInclude-DfGCfr_I.js +94 -0
  26. package/dist/ModalDesignAbstract-CjDr5JaN.js +179 -0
  27. package/dist/ModelInclude-BiYm_iCQ.js +73 -0
  28. package/dist/ModelValueInclude-CJmm5go9.js +48 -0
  29. package/{src/constructors/MotionTransform/MotionTransformElement.ts → dist/MotionTransformClassesInclude-B23RIq0Q.js} +92 -98
  30. package/dist/MotionTransformInclude-P_oRs3JZ.js +97 -0
  31. package/dist/ProgressInclude-UBipdctr.js +56 -0
  32. package/dist/RippleInclude-Du5yIzX_.js +21 -0
  33. package/dist/SkeletonInclude-BIUzAO2s.js +105 -0
  34. package/dist/SuffixInclude-C7JNYCJK.js +97 -0
  35. package/dist/TabIndexInclude-d7A_R6KD.js +167 -0
  36. package/dist/TextInclude-i1OBAFTG.js +76 -0
  37. package/dist/TooltipInclude--QRSE83v.js +76 -0
  38. package/dist/TouchEventInclude-DctYCjt8.js +186 -0
  39. package/dist/WindowClassesInclude-B56usxgx.js +213 -0
  40. package/dist/WindowEsc-Dp9AvJt7.js +72 -0
  41. package/dist/WindowInclude-Is5RhGxt.js +117 -0
  42. package/dist/accordion.js +178 -0
  43. package/dist/actionSheet.js +140 -0
  44. package/dist/actions.js +191 -0
  45. package/dist/anchor.js +358 -0
  46. package/dist/arrow.js +666 -0
  47. package/dist/badge.js +136 -0
  48. package/dist/bars.js +332 -0
  49. package/dist/block.js +10 -0
  50. package/dist/button.js +65 -0
  51. package/dist/cell.js +275 -0
  52. package/dist/chip.js +82 -0
  53. package/dist/chipGroup.js +160 -0
  54. package/dist/classes/AriaStaticInclude.d.ts +150 -0
  55. package/dist/classes/CaptionInclude.d.ts +34 -0
  56. package/dist/classes/DescriptionInclude.d.ts +44 -0
  57. package/dist/classes/EnabledInclude.d.ts +43 -0
  58. package/dist/classes/EventClickInclude.d.ts +62 -0
  59. package/dist/classes/LabelHighlightInclude.d.ts +52 -0
  60. package/dist/classes/LabelInclude.d.ts +82 -0
  61. package/dist/classes/LabelNumberInclude.d.ts +38 -0
  62. package/dist/classes/ModelInclude.d.ts +61 -0
  63. package/dist/classes/ModelValueInclude.d.ts +40 -0
  64. package/dist/classes/PrefixInclude.d.ts +34 -0
  65. package/dist/classes/SuffixInclude.d.ts +34 -0
  66. package/dist/classes/TabIndexInclude.d.ts +109 -0
  67. package/dist/classes/TextInclude.d.ts +49 -0
  68. package/dist/classes/TouchEventInclude.d.ts +122 -0
  69. package/dist/classes/field/FieldArrowInclude.d.ts +99 -0
  70. package/dist/classes/field/FieldAttributesInclude.d.ts +50 -0
  71. package/dist/classes/field/FieldChangeInclude.d.ts +35 -0
  72. package/dist/classes/field/FieldCodeInclude.d.ts +28 -0
  73. package/dist/classes/field/FieldElementInclude.d.ts +42 -0
  74. package/dist/classes/field/FieldEventInclude.d.ts +125 -0
  75. package/dist/classes/field/FieldInputCheckInclude.d.ts +47 -0
  76. package/dist/classes/field/FieldInputModeInclude.d.ts +20 -0
  77. package/dist/classes/field/FieldMatchInclude.d.ts +47 -0
  78. package/dist/classes/field/FieldPatternInclude.d.ts +20 -0
  79. package/dist/classes/field/FieldTypeInclude.d.ts +26 -0
  80. package/dist/classes/field/FieldValidationInclude.d.ts +83 -0
  81. package/dist/classes/field/FieldValueInclude.d.ts +154 -0
  82. package/dist/classes/field/FieldVisibilityInclude.d.ts +15 -0
  83. package/dist/constructors/Accordion/Accordion.d.ts +38 -0
  84. package/dist/constructors/Accordion/AccordionDesign.d.ts +56 -0
  85. package/dist/constructors/Accordion/basicTypes.d.ts +1 -0
  86. package/dist/constructors/Accordion/index.d.ts +5 -0
  87. package/dist/constructors/Accordion/props.d.ts +34 -0
  88. package/dist/constructors/Accordion/types.d.ts +44 -0
  89. package/dist/constructors/ActionSheet/ActionSheet.d.ts +32 -0
  90. package/dist/constructors/ActionSheet/ActionSheetDesign.d.ts +36 -0
  91. package/dist/constructors/ActionSheet/basicTypes.d.ts +1 -0
  92. package/dist/constructors/ActionSheet/index.d.ts +5 -0
  93. package/dist/constructors/ActionSheet/props.d.ts +26 -0
  94. package/dist/constructors/ActionSheet/types.d.ts +42 -0
  95. package/dist/constructors/Actions/Actions.d.ts +41 -0
  96. package/dist/constructors/Actions/ActionsDesign.d.ts +60 -0
  97. package/dist/constructors/Actions/ActionsInclude.d.ts +53 -0
  98. package/dist/constructors/Actions/basicTypes.d.ts +29 -0
  99. package/dist/constructors/Actions/index.d.ts +6 -0
  100. package/dist/constructors/Actions/props.d.ts +28 -0
  101. package/dist/constructors/Actions/types.d.ts +43 -0
  102. package/dist/constructors/Anchor/Anchor.d.ts +65 -0
  103. package/dist/constructors/Anchor/AnchorDesign.d.ts +81 -0
  104. package/dist/constructors/Anchor/AnchorEvent.d.ts +44 -0
  105. package/dist/constructors/Anchor/AnchorHref.d.ts +35 -0
  106. package/dist/constructors/Anchor/AnchorIcon.d.ts +30 -0
  107. package/dist/constructors/Anchor/AnchorTo.d.ts +26 -0
  108. package/dist/constructors/Anchor/basicTypes.d.ts +8 -0
  109. package/dist/constructors/Anchor/index.d.ts +5 -0
  110. package/dist/constructors/Anchor/props.d.ts +32 -0
  111. package/dist/constructors/Anchor/types.d.ts +40 -0
  112. package/dist/constructors/Arrow/Arrow.d.ts +56 -0
  113. package/dist/constructors/Arrow/ArrowDesign.d.ts +62 -0
  114. package/dist/constructors/Arrow/ArrowElement.d.ts +78 -0
  115. package/dist/constructors/Arrow/ArrowElementTarget.d.ts +40 -0
  116. package/dist/constructors/Arrow/ArrowEvent.d.ts +62 -0
  117. package/dist/constructors/Arrow/ArrowInclude.d.ts +44 -0
  118. package/dist/constructors/Arrow/ArrowParent.d.ts +49 -0
  119. package/dist/constructors/Arrow/ArrowPosition.d.ts +75 -0
  120. package/dist/constructors/Arrow/basicTypes.d.ts +39 -0
  121. package/dist/constructors/Arrow/index.d.ts +6 -0
  122. package/dist/constructors/Arrow/props.d.ts +23 -0
  123. package/dist/constructors/Arrow/types.d.ts +42 -0
  124. package/dist/constructors/Badge/Badge.d.ts +49 -0
  125. package/dist/constructors/Badge/BadgeDesign.d.ts +42 -0
  126. package/dist/constructors/Badge/BadgeInclude.d.ts +45 -0
  127. package/dist/constructors/Badge/basicTypes.d.ts +9 -0
  128. package/dist/constructors/Badge/index.d.ts +5 -0
  129. package/dist/constructors/Badge/props.d.ts +32 -0
  130. package/{src/constructors/Badge/types.ts → dist/constructors/Badge/types.d.ts} +9 -17
  131. package/dist/constructors/Bars/Bars.d.ts +97 -0
  132. package/dist/constructors/Bars/BarsAction.d.ts +33 -0
  133. package/dist/constructors/Bars/BarsDesign.d.ts +73 -0
  134. package/dist/constructors/Bars/BarsInclude.d.ts +55 -0
  135. package/dist/constructors/Bars/basicTypes.d.ts +34 -0
  136. package/dist/constructors/Bars/index.d.ts +6 -0
  137. package/dist/constructors/Bars/props.d.ts +39 -0
  138. package/dist/constructors/Bars/types.d.ts +47 -0
  139. package/dist/constructors/Block/Block.d.ts +76 -0
  140. package/dist/constructors/Block/BlockDesign.d.ts +67 -0
  141. package/dist/constructors/Block/basicTypes.d.ts +1 -0
  142. package/dist/constructors/Block/index.d.ts +5 -0
  143. package/dist/constructors/Block/props.d.ts +28 -0
  144. package/dist/constructors/Block/types.d.ts +53 -0
  145. package/dist/constructors/Button/Button.d.ts +51 -0
  146. package/dist/constructors/Button/ButtonDesign.d.ts +42 -0
  147. package/dist/constructors/Button/ButtonInclude.d.ts +48 -0
  148. package/dist/constructors/Button/basicTypes.d.ts +8 -0
  149. package/dist/constructors/Button/index.d.ts +6 -0
  150. package/dist/constructors/Button/props.d.ts +39 -0
  151. package/dist/constructors/Button/types.d.ts +44 -0
  152. package/dist/constructors/Cell/Cell.d.ts +66 -0
  153. package/dist/constructors/Cell/CellDesign.d.ts +123 -0
  154. package/dist/constructors/Cell/basicTypes.d.ts +33 -0
  155. package/dist/constructors/Cell/index.d.ts +5 -0
  156. package/dist/constructors/Cell/props.d.ts +42 -0
  157. package/dist/constructors/Cell/types.d.ts +54 -0
  158. package/dist/constructors/Chip/Chip.d.ts +29 -0
  159. package/dist/constructors/Chip/ChipDesign.d.ts +8 -0
  160. package/dist/constructors/Chip/ChipInclude.d.ts +48 -0
  161. package/dist/constructors/Chip/basicTypes.d.ts +8 -0
  162. package/dist/constructors/Chip/index.d.ts +6 -0
  163. package/dist/constructors/Chip/props.d.ts +32 -0
  164. package/{src/constructors/Chip/types.ts → dist/constructors/Chip/types.d.ts} +10 -23
  165. package/dist/constructors/ChipGroup/ChipGroup.d.ts +40 -0
  166. package/dist/constructors/ChipGroup/ChipGroupDesign.d.ts +56 -0
  167. package/dist/constructors/ChipGroup/basicTypes.d.ts +5 -0
  168. package/dist/constructors/ChipGroup/index.d.ts +5 -0
  169. package/dist/constructors/ChipGroup/props.d.ts +31 -0
  170. package/dist/constructors/ChipGroup/types.d.ts +40 -0
  171. package/dist/constructors/Dialog/Dialog.d.ts +47 -0
  172. package/dist/constructors/Dialog/DialogDesign.d.ts +42 -0
  173. package/dist/constructors/Dialog/basicTypes.d.ts +1 -0
  174. package/dist/constructors/Dialog/index.d.ts +5 -0
  175. package/dist/constructors/Dialog/props.d.ts +45 -0
  176. package/dist/constructors/Dialog/types.d.ts +50 -0
  177. package/dist/constructors/Field/Field.d.ts +75 -0
  178. package/dist/constructors/Field/FieldDesign.d.ts +108 -0
  179. package/dist/constructors/Field/FieldIcons.d.ts +49 -0
  180. package/dist/constructors/Field/FieldInclude.d.ts +66 -0
  181. package/dist/constructors/Field/FieldSize.d.ts +45 -0
  182. package/dist/constructors/Field/basicTypes.d.ts +65 -0
  183. package/dist/constructors/Field/index.d.ts +5 -0
  184. package/dist/constructors/Field/props.d.ts +60 -0
  185. package/dist/constructors/Field/types.d.ts +59 -0
  186. package/dist/constructors/FieldCounter/FieldCounter.d.ts +47 -0
  187. package/dist/constructors/FieldCounter/FieldCounterDesign.d.ts +42 -0
  188. package/dist/constructors/FieldCounter/FieldCounterInclude.d.ts +36 -0
  189. package/dist/constructors/FieldCounter/basicTypes.d.ts +21 -0
  190. package/dist/constructors/FieldCounter/index.d.ts +6 -0
  191. package/{src/constructors/FieldCounter/props.ts → dist/constructors/FieldCounter/props.d.ts} +6 -16
  192. package/{src/constructors/FieldCounter/types.ts → dist/constructors/FieldCounter/types.d.ts} +5 -12
  193. package/dist/constructors/FieldLabel/FieldLabel.d.ts +48 -0
  194. package/dist/constructors/FieldLabel/FieldLabelDesign.d.ts +48 -0
  195. package/dist/constructors/FieldLabel/FieldLabelInclude.d.ts +43 -0
  196. package/{src/constructors/FieldLabel/basicTypes.ts → dist/constructors/FieldLabel/basicTypes.d.ts} +9 -15
  197. package/dist/constructors/FieldLabel/index.d.ts +6 -0
  198. package/dist/constructors/FieldLabel/props.d.ts +23 -0
  199. package/{src/constructors/FieldLabel/types.ts → dist/constructors/FieldLabel/types.d.ts} +11 -20
  200. package/dist/constructors/FieldMessage/FieldMessage.d.ts +55 -0
  201. package/dist/constructors/FieldMessage/FieldMessageDesign.d.ts +54 -0
  202. package/dist/constructors/FieldMessage/FieldMessageInclude.d.ts +49 -0
  203. package/dist/constructors/FieldMessage/FieldMessageMessage.d.ts +24 -0
  204. package/dist/constructors/FieldMessage/basicTypes.d.ts +31 -0
  205. package/dist/constructors/FieldMessage/index.d.ts +6 -0
  206. package/dist/constructors/FieldMessage/props.d.ts +26 -0
  207. package/{src/constructors/FieldMessage/types.ts → dist/constructors/FieldMessage/types.d.ts} +13 -19
  208. package/dist/constructors/Icon/Icon.d.ts +75 -0
  209. package/dist/constructors/Icon/IconDesign.d.ts +58 -0
  210. package/dist/constructors/Icon/IconInclude.d.ts +37 -0
  211. package/dist/constructors/Icon/IconLiteInclude.d.ts +63 -0
  212. package/dist/constructors/Icon/IconTrailingInclude.d.ts +51 -0
  213. package/dist/constructors/Icon/basicTypes.d.ts +28 -0
  214. package/dist/constructors/Icon/index.d.ts +8 -0
  215. package/dist/constructors/Icon/props.d.ts +43 -0
  216. package/{src/constructors/Icon/types.ts → dist/constructors/Icon/types.d.ts} +9 -16
  217. package/dist/constructors/Image/Image.d.ts +138 -0
  218. package/dist/constructors/Image/ImageAdaptiveGroup.d.ts +104 -0
  219. package/dist/constructors/Image/ImageAdaptiveItem.d.ts +142 -0
  220. package/dist/constructors/Image/ImageBackground.d.ts +67 -0
  221. package/dist/constructors/Image/ImageCalculation.d.ts +101 -0
  222. package/dist/constructors/Image/ImageCalculationList.d.ts +42 -0
  223. package/dist/constructors/Image/ImageCoordinator.d.ts +45 -0
  224. package/dist/constructors/Image/ImageData.d.ts +56 -0
  225. package/dist/constructors/Image/ImageDesign.d.ts +79 -0
  226. package/dist/constructors/Image/ImageFile.d.ts +58 -0
  227. package/dist/constructors/Image/ImageImg.d.ts +87 -0
  228. package/dist/constructors/Image/ImageInclude.d.ts +35 -0
  229. package/dist/constructors/Image/ImagePdf.d.ts +21 -0
  230. package/dist/constructors/Image/ImagePosition.d.ts +30 -0
  231. package/dist/constructors/Image/ImageType.d.ts +22 -0
  232. package/dist/constructors/Image/basicTypes.d.ts +54 -0
  233. package/dist/constructors/Image/index.d.ts +5 -0
  234. package/dist/constructors/Image/props.d.ts +77 -0
  235. package/{src/constructors/Image/types.ts → dist/constructors/Image/types.d.ts} +11 -19
  236. package/dist/constructors/Input/Input.d.ts +62 -0
  237. package/dist/constructors/Input/InputDesign.d.ts +57 -0
  238. package/dist/constructors/Input/InputPassword.d.ts +30 -0
  239. package/dist/constructors/Input/basicTypes.d.ts +3 -0
  240. package/dist/constructors/Input/index.d.ts +5 -0
  241. package/dist/constructors/Input/props.d.ts +32 -0
  242. package/dist/constructors/Input/types.d.ts +38 -0
  243. package/dist/constructors/List/List.d.ts +175 -0
  244. package/dist/constructors/List/ListControl.d.ts +75 -0
  245. package/dist/constructors/List/ListDesign.d.ts +142 -0
  246. package/dist/constructors/List/ListFocus.d.ts +114 -0
  247. package/dist/constructors/List/ListGo.d.ts +111 -0
  248. package/dist/constructors/List/ListSearch.d.ts +59 -0
  249. package/{src/constructors/List/basicTypes.ts → dist/constructors/List/basicTypes.d.ts} +2 -2
  250. package/dist/constructors/List/index.d.ts +5 -0
  251. package/dist/constructors/List/props.d.ts +52 -0
  252. package/dist/constructors/List/types.d.ts +53 -0
  253. package/dist/constructors/ListGroup/ListGroup.d.ts +38 -0
  254. package/dist/constructors/ListGroup/ListGroupDesign.d.ts +62 -0
  255. package/dist/constructors/ListGroup/ListGroupOpen.d.ts +44 -0
  256. package/dist/constructors/ListGroup/basicTypes.d.ts +7 -0
  257. package/dist/constructors/ListGroup/index.d.ts +5 -0
  258. package/{src/constructors/ListGroup/props.ts → dist/constructors/ListGroup/props.d.ts} +5 -14
  259. package/{src/constructors/ListGroup/types.ts → dist/constructors/ListGroup/types.d.ts} +13 -21
  260. package/dist/constructors/ListItem/ListItem.d.ts +175 -0
  261. package/dist/constructors/ListItem/ListItemDesign.d.ts +56 -0
  262. package/{src/constructors/ListItem/basicTypes.ts → dist/constructors/ListItem/basicTypes.d.ts} +2 -2
  263. package/dist/constructors/ListItem/index.d.ts +5 -0
  264. package/dist/constructors/ListItem/props.d.ts +55 -0
  265. package/dist/constructors/ListItem/types.d.ts +59 -0
  266. package/dist/constructors/ListMenu/ListMenu.d.ts +33 -0
  267. package/dist/constructors/ListMenu/ListMenuDesign.d.ts +42 -0
  268. package/{src/constructors/ListMenu/basicTypes.ts → dist/constructors/ListMenu/basicTypes.d.ts} +2 -2
  269. package/dist/constructors/ListMenu/index.d.ts +5 -0
  270. package/dist/constructors/ListMenu/props.d.ts +22 -0
  271. package/{src/constructors/ListMenu/types.ts → dist/constructors/ListMenu/types.d.ts} +10 -24
  272. package/dist/constructors/Mask/Mask.d.ts +125 -0
  273. package/dist/constructors/Mask/MaskBuffer.d.ts +56 -0
  274. package/dist/constructors/Mask/MaskCharacter.d.ts +100 -0
  275. package/dist/constructors/Mask/MaskCharacterLength.d.ts +29 -0
  276. package/dist/constructors/Mask/MaskData.d.ts +104 -0
  277. package/dist/constructors/Mask/MaskDate.d.ts +67 -0
  278. package/dist/constructors/Mask/MaskDesign.d.ts +60 -0
  279. package/dist/constructors/Mask/MaskEmit.d.ts +74 -0
  280. package/dist/constructors/Mask/MaskEvent.d.ts +159 -0
  281. package/dist/constructors/Mask/MaskFocus.d.ts +34 -0
  282. package/dist/constructors/Mask/MaskFormat.d.ts +94 -0
  283. package/dist/constructors/Mask/MaskInclude.d.ts +67 -0
  284. package/dist/constructors/Mask/MaskItem.d.ts +112 -0
  285. package/dist/constructors/Mask/MaskMatch.d.ts +40 -0
  286. package/dist/constructors/Mask/MaskPattern.d.ts +56 -0
  287. package/dist/constructors/Mask/MaskRight.d.ts +29 -0
  288. package/dist/constructors/Mask/MaskRubber.d.ts +75 -0
  289. package/dist/constructors/Mask/MaskRubberItem.d.ts +52 -0
  290. package/dist/constructors/Mask/MaskRubberTransition.d.ts +36 -0
  291. package/dist/constructors/Mask/MaskSelection.d.ts +119 -0
  292. package/dist/constructors/Mask/MaskSpecial.d.ts +93 -0
  293. package/dist/constructors/Mask/MaskType.d.ts +61 -0
  294. package/dist/constructors/Mask/MaskValidation.d.ts +40 -0
  295. package/dist/constructors/Mask/MaskValue.d.ts +89 -0
  296. package/dist/constructors/Mask/MaskValueBasic.d.ts +49 -0
  297. package/dist/constructors/Mask/MaskView.d.ts +84 -0
  298. package/dist/constructors/Mask/basicTypes.d.ts +52 -0
  299. package/dist/constructors/Mask/index.d.ts +5 -0
  300. package/dist/constructors/Mask/props.d.ts +48 -0
  301. package/dist/constructors/Mask/types.d.ts +62 -0
  302. package/dist/constructors/Menu/Menu.d.ts +92 -0
  303. package/dist/constructors/Menu/MenuDesign.d.ts +79 -0
  304. package/dist/constructors/Menu/MenuGo.d.ts +49 -0
  305. package/dist/constructors/Menu/MenuInclude.d.ts +56 -0
  306. package/dist/constructors/Menu/MenuRequest.d.ts +59 -0
  307. package/dist/constructors/Menu/MenuSearch.d.ts +38 -0
  308. package/dist/constructors/Menu/MenuValue.d.ts +36 -0
  309. package/dist/constructors/Menu/MenuWindow.d.ts +52 -0
  310. package/dist/constructors/Menu/basicTypes.d.ts +39 -0
  311. package/dist/constructors/Menu/index.d.ts +6 -0
  312. package/dist/constructors/Menu/props.d.ts +54 -0
  313. package/dist/constructors/Menu/types.d.ts +48 -0
  314. package/dist/constructors/Modal/Modal.d.ts +30 -0
  315. package/dist/constructors/Modal/ModalAbstract.d.ts +41 -0
  316. package/dist/constructors/Modal/ModalDesign.d.ts +16 -0
  317. package/dist/constructors/Modal/ModalDesignAbstract.d.ts +70 -0
  318. package/dist/constructors/Modal/basicTypes.d.ts +1 -0
  319. package/dist/constructors/Modal/index.d.ts +5 -0
  320. package/dist/constructors/Modal/props.d.ts +27 -0
  321. package/dist/constructors/Modal/types.d.ts +43 -0
  322. package/dist/constructors/MotionTransform/MotionTransform.d.ts +68 -0
  323. package/dist/constructors/MotionTransform/MotionTransformClassesInclude.d.ts +28 -0
  324. package/dist/constructors/MotionTransform/MotionTransformDesign.d.ts +153 -0
  325. package/dist/constructors/MotionTransform/MotionTransformElement.d.ts +132 -0
  326. package/dist/constructors/MotionTransform/MotionTransformEvent.d.ts +57 -0
  327. package/dist/constructors/MotionTransform/MotionTransformGo.d.ts +41 -0
  328. package/dist/constructors/MotionTransform/MotionTransformInclude.d.ts +51 -0
  329. package/dist/constructors/MotionTransform/MotionTransformSize.d.ts +46 -0
  330. package/dist/constructors/MotionTransform/MotionTransformState.d.ts +109 -0
  331. package/dist/constructors/MotionTransform/basicTypes.d.ts +123 -0
  332. package/dist/constructors/MotionTransform/index.d.ts +7 -0
  333. package/dist/constructors/MotionTransform/props.d.ts +39 -0
  334. package/dist/constructors/MotionTransform/types.d.ts +72 -0
  335. package/dist/constructors/Page/Page.d.ts +6 -0
  336. package/dist/constructors/Page/PageDesign.d.ts +18 -0
  337. package/dist/constructors/Page/basicTypes.d.ts +1 -0
  338. package/dist/constructors/Page/index.d.ts +5 -0
  339. package/dist/constructors/Page/props.d.ts +23 -0
  340. package/dist/constructors/Page/types.d.ts +44 -0
  341. package/dist/constructors/Progress/Progress.d.ts +106 -0
  342. package/dist/constructors/Progress/ProgressDesign.d.ts +115 -0
  343. package/dist/constructors/Progress/ProgressInclude.d.ts +43 -0
  344. package/dist/constructors/Progress/basicTypes.d.ts +8 -0
  345. package/dist/constructors/Progress/index.d.ts +6 -0
  346. package/dist/constructors/Progress/props.d.ts +42 -0
  347. package/{src/constructors/Progress/types.ts → dist/constructors/Progress/types.d.ts} +12 -17
  348. package/dist/constructors/Ripple/Ripple.d.ts +38 -0
  349. package/dist/constructors/Ripple/RippleDesign.d.ts +38 -0
  350. package/dist/constructors/Ripple/RippleInclude.d.ts +17 -0
  351. package/dist/constructors/Ripple/RippleItem.d.ts +31 -0
  352. package/{src/constructors/Ripple/basicTypes.ts → dist/constructors/Ripple/basicTypes.d.ts} +2 -2
  353. package/dist/constructors/Ripple/index.d.ts +6 -0
  354. package/{src/constructors/Ripple/props.ts → dist/constructors/Ripple/props.d.ts} +3 -12
  355. package/{src/constructors/Ripple/types.ts → dist/constructors/Ripple/types.d.ts} +10 -15
  356. package/dist/constructors/Scrollbar/Scrollbar.d.ts +44 -0
  357. package/dist/constructors/Scrollbar/ScrollbarBorder.d.ts +96 -0
  358. package/dist/constructors/Scrollbar/ScrollbarDesign.d.ts +42 -0
  359. package/dist/constructors/Scrollbar/ScrollbarInclude.d.ts +46 -0
  360. package/{src/constructors/Scrollbar/basicTypes.ts → dist/constructors/Scrollbar/basicTypes.d.ts} +16 -23
  361. package/dist/constructors/Scrollbar/index.d.ts +5 -0
  362. package/dist/constructors/Scrollbar/props.d.ts +28 -0
  363. package/{src/constructors/Scrollbar/types.ts → dist/constructors/Scrollbar/types.d.ts} +14 -21
  364. package/dist/constructors/Section/Section.d.ts +6 -0
  365. package/dist/constructors/Section/SectionDesign.d.ts +18 -0
  366. package/dist/constructors/Section/basicTypes.d.ts +1 -0
  367. package/dist/constructors/Section/index.d.ts +5 -0
  368. package/dist/constructors/Section/props.d.ts +23 -0
  369. package/dist/constructors/Section/types.d.ts +44 -0
  370. package/dist/constructors/Select/Select.d.ts +64 -0
  371. package/dist/constructors/Select/SelectDesign.d.ts +89 -0
  372. package/dist/constructors/Select/SelectFilter.d.ts +33 -0
  373. package/dist/constructors/Select/SelectInput.d.ts +40 -0
  374. package/dist/constructors/Select/basicTypes.d.ts +1 -0
  375. package/dist/constructors/Select/index.d.ts +5 -0
  376. package/dist/constructors/Select/props.d.ts +35 -0
  377. package/dist/constructors/Select/types.d.ts +41 -0
  378. package/dist/constructors/SelectValue/SelectValue.d.ts +51 -0
  379. package/dist/constructors/SelectValue/SelectValueDesign.d.ts +62 -0
  380. package/dist/constructors/SelectValue/SelectValueInclude.d.ts +44 -0
  381. package/dist/constructors/SelectValue/basicTypes.d.ts +14 -0
  382. package/dist/constructors/SelectValue/index.d.ts +6 -0
  383. package/dist/constructors/SelectValue/props.d.ts +28 -0
  384. package/dist/constructors/SelectValue/types.d.ts +39 -0
  385. package/dist/constructors/Skeleton/Skeleton.d.ts +55 -0
  386. package/dist/constructors/Skeleton/SkeletonDesign.d.ts +38 -0
  387. package/dist/constructors/Skeleton/SkeletonInclude.d.ts +39 -0
  388. package/dist/constructors/Skeleton/basicTypes.d.ts +14 -0
  389. package/dist/constructors/Skeleton/const.d.ts +1 -0
  390. package/dist/constructors/Skeleton/index.d.ts +6 -0
  391. package/{src/constructors/Skeleton/props.ts → dist/constructors/Skeleton/props.d.ts} +3 -12
  392. package/{src/constructors/Skeleton/types.ts → dist/constructors/Skeleton/types.d.ts} +9 -16
  393. package/dist/constructors/TextareaAutosize/TextareaAutosize.d.ts +33 -0
  394. package/dist/constructors/TextareaAutosize/TextareaAutosizeDesign.d.ts +54 -0
  395. package/dist/constructors/TextareaAutosize/TextareaAutosizeResize.d.ts +61 -0
  396. package/dist/constructors/TextareaAutosize/TextareaAutosizeValue.d.ts +43 -0
  397. package/dist/constructors/TextareaAutosize/basicTypes.d.ts +1 -0
  398. package/dist/constructors/TextareaAutosize/index.d.ts +5 -0
  399. package/dist/constructors/TextareaAutosize/props.d.ts +23 -0
  400. package/dist/constructors/TextareaAutosize/types.d.ts +40 -0
  401. package/dist/constructors/Tooltip/Tooltip.d.ts +68 -0
  402. package/dist/constructors/Tooltip/TooltipClasses.d.ts +62 -0
  403. package/dist/constructors/Tooltip/TooltipDesign.d.ts +61 -0
  404. package/dist/constructors/Tooltip/TooltipEvent.d.ts +58 -0
  405. package/dist/constructors/Tooltip/TooltipInclude.d.ts +64 -0
  406. package/dist/constructors/Tooltip/TooltipOpen.d.ts +59 -0
  407. package/dist/constructors/Tooltip/TooltipPosition.d.ts +43 -0
  408. package/dist/constructors/Tooltip/TooltipStatus.d.ts +59 -0
  409. package/dist/constructors/Tooltip/TooltipStyle.d.ts +59 -0
  410. package/dist/constructors/Tooltip/basicTypes.d.ts +29 -0
  411. package/dist/constructors/Tooltip/index.d.ts +6 -0
  412. package/dist/constructors/Tooltip/props.d.ts +32 -0
  413. package/dist/constructors/Tooltip/types.d.ts +47 -0
  414. package/dist/constructors/Window/Window.d.ts +115 -0
  415. package/dist/constructors/Window/WindowClasses.d.ts +125 -0
  416. package/dist/constructors/Window/WindowClassesInclude.d.ts +28 -0
  417. package/dist/constructors/Window/WindowClient.d.ts +70 -0
  418. package/dist/constructors/Window/WindowCoordinates.d.ts +132 -0
  419. package/dist/constructors/Window/WindowDesign.d.ts +143 -0
  420. package/dist/constructors/Window/WindowElement.d.ts +59 -0
  421. package/dist/constructors/Window/WindowEmit.d.ts +36 -0
  422. package/dist/constructors/Window/WindowEsc.d.ts +52 -0
  423. package/dist/constructors/Window/WindowEvent.d.ts +83 -0
  424. package/dist/constructors/Window/WindowFlash.d.ts +47 -0
  425. package/dist/constructors/Window/WindowHidden.d.ts +45 -0
  426. package/dist/constructors/Window/WindowHook.d.ts +58 -0
  427. package/dist/constructors/Window/WindowInclude.d.ts +57 -0
  428. package/dist/constructors/Window/WindowOpen.d.ts +137 -0
  429. package/dist/constructors/Window/WindowOrigin.d.ts +46 -0
  430. package/dist/constructors/Window/WindowPersistent.d.ts +46 -0
  431. package/dist/constructors/Window/WindowPosition.d.ts +128 -0
  432. package/dist/constructors/Window/WindowStatic.d.ts +58 -0
  433. package/dist/constructors/Window/WindowStatus.d.ts +80 -0
  434. package/dist/constructors/Window/WindowStyles.d.ts +38 -0
  435. package/dist/constructors/Window/WindowVerification.d.ts +126 -0
  436. package/dist/constructors/Window/basicTypes.d.ts +173 -0
  437. package/dist/constructors/Window/index.d.ts +7 -0
  438. package/dist/constructors/Window/props.d.ts +64 -0
  439. package/dist/constructors/Window/types.d.ts +100 -0
  440. package/dist/dialog.js +211 -0
  441. package/dist/field.js +515 -0
  442. package/dist/fieldCounter.js +126 -0
  443. package/dist/fieldLabel.js +172 -0
  444. package/dist/fieldMessage.js +213 -0
  445. package/{src/functions/getClassTegAStatic.ts → dist/functions/getClassTagAStatic.d.ts} +1 -1
  446. package/dist/getClassTagAStatic-BnVYlXHI.js +4 -0
  447. package/dist/icon.js +212 -0
  448. package/dist/image.js +1350 -0
  449. package/dist/input.js +342 -0
  450. package/dist/library/accordion.d.ts +1 -0
  451. package/dist/library/actionSheet.d.ts +1 -0
  452. package/dist/library/actions.d.ts +1 -0
  453. package/dist/library/anchor.d.ts +1 -0
  454. package/dist/library/arrow.d.ts +1 -0
  455. package/dist/library/badge.d.ts +1 -0
  456. package/dist/library/bars.d.ts +1 -0
  457. package/dist/library/block.d.ts +1 -0
  458. package/dist/library/button.d.ts +1 -0
  459. package/dist/library/cell.d.ts +1 -0
  460. package/dist/library/chip.d.ts +1 -0
  461. package/dist/library/chipGroup.d.ts +1 -0
  462. package/dist/library/dialog.d.ts +1 -0
  463. package/dist/library/field.d.ts +1 -0
  464. package/dist/library/fieldCounter.d.ts +1 -0
  465. package/dist/library/fieldLabel.d.ts +1 -0
  466. package/dist/library/fieldMessage.d.ts +1 -0
  467. package/dist/library/icon.d.ts +1 -0
  468. package/dist/library/image.d.ts +1 -0
  469. package/dist/library/input.d.ts +1 -0
  470. package/dist/library/list.d.ts +1 -0
  471. package/dist/library/listGroup.d.ts +1 -0
  472. package/dist/library/listItem.d.ts +1 -0
  473. package/dist/library/listMenu.d.ts +1 -0
  474. package/dist/library/mask.d.ts +1 -0
  475. package/dist/library/menu.d.ts +1 -0
  476. package/dist/library/modal.d.ts +1 -0
  477. package/dist/library/motionTransform.d.ts +1 -0
  478. package/dist/library/page.d.ts +1 -0
  479. package/dist/library/progress.d.ts +1 -0
  480. package/dist/library/ripple.d.ts +1 -0
  481. package/dist/library/scrollbar.d.ts +1 -0
  482. package/dist/library/section.d.ts +1 -0
  483. package/dist/library/select.d.ts +1 -0
  484. package/dist/library/selectValue.d.ts +1 -0
  485. package/dist/library/skeleton.d.ts +1 -0
  486. package/dist/library/textareaAutosize.d.ts +1 -0
  487. package/dist/library/tooltip.d.ts +1 -0
  488. package/dist/library/window.d.ts +1 -0
  489. package/dist/library.d.ts +43 -0
  490. package/dist/library.js +50 -0
  491. package/dist/list.js +998 -0
  492. package/dist/listGroup.js +171 -0
  493. package/dist/listItem.js +303 -0
  494. package/dist/listMenu.js +118 -0
  495. package/dist/mask.js +2465 -0
  496. package/dist/menu.js +523 -0
  497. package/dist/modal.js +74 -0
  498. package/dist/motionTransform.js +602 -0
  499. package/dist/page.js +30 -0
  500. package/dist/progress.js +276 -0
  501. package/dist/ripple.js +135 -0
  502. package/dist/scrollbar.js +235 -0
  503. package/dist/section.js +30 -0
  504. package/dist/select.js +409 -0
  505. package/dist/selectValue.js +244 -0
  506. package/dist/skeleton.js +83 -0
  507. package/dist/textareaAutosize.js +235 -0
  508. package/dist/tooltip.js +619 -0
  509. package/dist/types/ariaTypes.d.ts +307 -0
  510. package/{src/types/captionTypes.ts → dist/types/captionTypes.d.ts} +4 -5
  511. package/dist/types/descriptionTypes.d.ts +21 -0
  512. package/{src/types/enabledTypes.ts → dist/types/enabledTypes.d.ts} +4 -4
  513. package/dist/types/eventClickTypes.d.ts +47 -0
  514. package/dist/types/fieldTypes.d.ts +294 -0
  515. package/dist/types/labelTypes.d.ts +61 -0
  516. package/dist/types/modelTypes.d.ts +36 -0
  517. package/{src/types/prefixTypes.ts → dist/types/prefixTypes.d.ts} +4 -5
  518. package/dist/types/roleTypes.d.ts +1 -0
  519. package/{src/types/suffixTypes.ts → dist/types/suffixTypes.d.ts} +4 -5
  520. package/dist/types/textTypes.d.ts +21 -0
  521. package/dist/types/touchEventTypes.d.ts +31 -0
  522. package/dist/window.js +1974 -0
  523. package/package.json +173 -58
  524. package/src/constructors/Accordion/style.scss +12 -0
  525. package/src/constructors/ActionSheet/style.scss +25 -0
  526. package/src/constructors/Actions/style.scss +11 -0
  527. package/src/constructors/Anchor/style.scss +10 -0
  528. package/src/constructors/Arrow/style.scss +133 -0
  529. package/src/constructors/Bars/style.scss +4 -0
  530. package/src/constructors/Block/style.scss +13 -0
  531. package/src/constructors/Button/style.scss +1 -1
  532. package/src/constructors/Cell/style.scss +1 -1
  533. package/src/constructors/ChipGroup/style.scss +6 -0
  534. package/src/constructors/Dialog/style.scss +18 -0
  535. package/src/constructors/Field/style.scss +36 -20
  536. package/src/constructors/FieldMessage/style.scss +16 -1
  537. package/src/constructors/Image/style.scss +48 -0
  538. package/src/constructors/Input/style.scss +5 -0
  539. package/src/constructors/List/style.scss +14 -0
  540. package/src/constructors/Mask/style.scss +2 -4
  541. package/src/constructors/Modal/style.scss +20 -0
  542. package/src/constructors/MotionTransform/style.scss +24 -2
  543. package/src/constructors/Page/style.scss +6 -0
  544. package/src/constructors/Progress/style.scss +2 -2
  545. package/src/constructors/Ripple/style.scss +4 -0
  546. package/src/constructors/Section/style.scss +6 -0
  547. package/src/constructors/Select/style.scss +5 -0
  548. package/src/constructors/SelectValue/style.scss +14 -0
  549. package/src/constructors/TextareaAutosize/style.scss +31 -0
  550. package/src/constructors/Tooltip/style.scss +43 -0
  551. package/src/constructors/Window/style.scss +11 -0
  552. package/src/library/style.scss +39 -0
  553. package/src/classes/CaptionInclude.ts +0 -71
  554. package/src/classes/DescriptionInclude.ts +0 -70
  555. package/src/classes/EnabledInclude.ts +0 -56
  556. package/src/classes/EventClickInclude.ts +0 -138
  557. package/src/classes/LabelHighlightInclude.ts +0 -90
  558. package/src/classes/LabelInclude.ts +0 -171
  559. package/src/classes/LabelNumberInclude.ts +0 -70
  560. package/src/classes/ModelInclude.ts +0 -49
  561. package/src/classes/PrefixInclude.ts +0 -71
  562. package/src/classes/SuffixInclude.ts +0 -71
  563. package/src/classes/field/FieldAttributesInclude.ts +0 -100
  564. package/src/classes/field/FieldChangeInclude.ts +0 -52
  565. package/src/classes/field/FieldCodeInclude.ts +0 -69
  566. package/src/classes/field/FieldElementInclude.ts +0 -97
  567. package/src/classes/field/FieldInputCheckInclude.ts +0 -128
  568. package/src/classes/field/FieldMatchInclude.ts +0 -101
  569. package/src/classes/field/FieldPatternInclude.ts +0 -42
  570. package/src/classes/field/FieldTypeInclude.ts +0 -42
  571. package/src/classes/field/FieldValidationInclude.ts +0 -196
  572. package/src/classes/field/FieldValueInclude.ts +0 -318
  573. package/src/classes/field/FieldVisibilityInclude.ts +0 -21
  574. package/src/constructors/Badge/Badge.ts +0 -73
  575. package/src/constructors/Badge/BadgeDesign.tsx +0 -127
  576. package/src/constructors/Badge/BadgeInclude.ts +0 -78
  577. package/src/constructors/Badge/basicTypes.ts +0 -15
  578. package/src/constructors/Badge/index.ts +0 -5
  579. package/src/constructors/Badge/properties.json +0 -36
  580. package/src/constructors/Badge/props.ts +0 -43
  581. package/src/constructors/Bars/Bars.ts +0 -188
  582. package/src/constructors/Bars/BarsAction.ts +0 -57
  583. package/src/constructors/Bars/BarsDesign.tsx +0 -229
  584. package/src/constructors/Bars/BarsInclude.ts +0 -116
  585. package/src/constructors/Bars/basicTypes.ts +0 -40
  586. package/src/constructors/Bars/index.ts +0 -6
  587. package/src/constructors/Bars/properties.json +0 -6
  588. package/src/constructors/Bars/props.ts +0 -63
  589. package/src/constructors/Bars/types.ts +0 -58
  590. package/src/constructors/Button/Button.ts +0 -88
  591. package/src/constructors/Button/ButtonDesign.tsx +0 -136
  592. package/src/constructors/Button/ButtonInclude.ts +0 -80
  593. package/src/constructors/Button/basicTypes.ts +0 -12
  594. package/src/constructors/Button/index.ts +0 -5
  595. package/src/constructors/Button/properties.json +0 -84
  596. package/src/constructors/Button/props.ts +0 -55
  597. package/src/constructors/Button/types.ts +0 -56
  598. package/src/constructors/Cell/Cell.ts +0 -127
  599. package/src/constructors/Cell/CellDesign.tsx +0 -203
  600. package/src/constructors/Cell/basicTypes.ts +0 -6
  601. package/src/constructors/Cell/index.ts +0 -5
  602. package/src/constructors/Cell/properties.json +0 -52
  603. package/src/constructors/Cell/props.ts +0 -61
  604. package/src/constructors/Cell/types.ts +0 -68
  605. package/src/constructors/Chip/Chip.ts +0 -33
  606. package/src/constructors/Chip/ChipDesign.tsx +0 -26
  607. package/src/constructors/Chip/basicTypes.ts +0 -0
  608. package/src/constructors/Chip/index.ts +0 -4
  609. package/src/constructors/Chip/properties.json +0 -3
  610. package/src/constructors/Chip/props.ts +0 -44
  611. package/src/constructors/Field/Field.ts +0 -147
  612. package/src/constructors/Field/FieldDesign.tsx +0 -372
  613. package/src/constructors/Field/FieldIcons.ts +0 -99
  614. package/src/constructors/Field/FieldInclude.ts +0 -72
  615. package/src/constructors/Field/FieldSize.ts +0 -93
  616. package/src/constructors/Field/basicTypes.ts +0 -90
  617. package/src/constructors/Field/index.ts +0 -5
  618. package/src/constructors/Field/properties.json +0 -86
  619. package/src/constructors/Field/props.ts +0 -88
  620. package/src/constructors/Field/types.ts +0 -78
  621. package/src/constructors/FieldCounter/FieldCounter.ts +0 -75
  622. package/src/constructors/FieldCounter/FieldCounterDesign.tsx +0 -122
  623. package/src/constructors/FieldCounter/FieldCounterInclude.ts +0 -98
  624. package/src/constructors/FieldCounter/basicTypes.ts +0 -25
  625. package/src/constructors/FieldCounter/index.ts +0 -6
  626. package/src/constructors/FieldCounter/properties.json +0 -3
  627. package/src/constructors/FieldLabel/FieldLabel.ts +0 -93
  628. package/src/constructors/FieldLabel/FieldLabelDesign.tsx +0 -156
  629. package/src/constructors/FieldLabel/FieldLabelInclude.ts +0 -91
  630. package/src/constructors/FieldLabel/index.ts +0 -6
  631. package/src/constructors/FieldLabel/properties.json +0 -4
  632. package/src/constructors/FieldLabel/props.ts +0 -40
  633. package/src/constructors/FieldMessage/FieldMessage.ts +0 -79
  634. package/src/constructors/FieldMessage/FieldMessageDesign.tsx +0 -159
  635. package/src/constructors/FieldMessage/FieldMessageInclude.ts +0 -105
  636. package/src/constructors/FieldMessage/FieldMessageMessage.ts +0 -54
  637. package/src/constructors/FieldMessage/basicTypes.ts +0 -27
  638. package/src/constructors/FieldMessage/index.ts +0 -6
  639. package/src/constructors/FieldMessage/properties.json +0 -9
  640. package/src/constructors/FieldMessage/props.ts +0 -40
  641. package/src/constructors/Icon/Icon.ts +0 -105
  642. package/src/constructors/Icon/IconDesign.tsx +0 -157
  643. package/src/constructors/Icon/IconInclude.ts +0 -64
  644. package/src/constructors/Icon/IconLiteInclude.ts +0 -121
  645. package/src/constructors/Icon/IconTrailingInclude.ts +0 -106
  646. package/src/constructors/Icon/basicTypes.ts +0 -50
  647. package/src/constructors/Icon/index.ts +0 -8
  648. package/src/constructors/Icon/properties.json +0 -25
  649. package/src/constructors/Icon/props.ts +0 -54
  650. package/src/constructors/Image/Image.ts +0 -184
  651. package/src/constructors/Image/ImageAdaptiveGroup.ts +0 -230
  652. package/src/constructors/Image/ImageAdaptiveItem.ts +0 -295
  653. package/src/constructors/Image/ImageBackground.ts +0 -127
  654. package/src/constructors/Image/ImageCalculation.ts +0 -184
  655. package/src/constructors/Image/ImageCalculationList.ts +0 -61
  656. package/src/constructors/Image/ImageCoordinator.ts +0 -104
  657. package/src/constructors/Image/ImageData.ts +0 -99
  658. package/src/constructors/Image/ImageDesign.tsx +0 -137
  659. package/src/constructors/Image/ImageFile.ts +0 -137
  660. package/src/constructors/Image/ImageInclude.ts +0 -53
  661. package/src/constructors/Image/ImagePdf.ts +0 -44
  662. package/src/constructors/Image/ImagePosition.ts +0 -49
  663. package/src/constructors/Image/ImageType.ts +0 -83
  664. package/src/constructors/Image/basicTypes.ts +0 -70
  665. package/src/constructors/Image/index.ts +0 -5
  666. package/src/constructors/Image/properties.json +0 -17
  667. package/src/constructors/Image/props.ts +0 -66
  668. package/src/constructors/List/List.ts +0 -267
  669. package/src/constructors/List/ListControl.ts +0 -194
  670. package/src/constructors/List/ListDesign.tsx +0 -382
  671. package/src/constructors/List/ListFocus.ts +0 -196
  672. package/src/constructors/List/ListGo.ts +0 -283
  673. package/src/constructors/List/ListSearch.ts +0 -113
  674. package/src/constructors/List/index.ts +0 -5
  675. package/src/constructors/List/properties.json +0 -16
  676. package/src/constructors/List/props.ts +0 -76
  677. package/src/constructors/List/types.ts +0 -66
  678. package/src/constructors/ListGroup/ListGroup.ts +0 -53
  679. package/src/constructors/ListGroup/ListGroupDesign.tsx +0 -180
  680. package/src/constructors/ListGroup/ListGroupOpen.ts +0 -56
  681. package/src/constructors/ListGroup/basicTypes.ts +0 -3
  682. package/src/constructors/ListGroup/index.ts +0 -5
  683. package/src/constructors/ListGroup/properties.json +0 -15
  684. package/src/constructors/ListItem/ListItem.ts +0 -115
  685. package/src/constructors/ListItem/ListItemDesign.tsx +0 -196
  686. package/src/constructors/ListItem/index.ts +0 -5
  687. package/src/constructors/ListItem/properties.json +0 -52
  688. package/src/constructors/ListItem/props.ts +0 -78
  689. package/src/constructors/ListItem/types.ts +0 -78
  690. package/src/constructors/ListMenu/ListMenu.ts +0 -52
  691. package/src/constructors/ListMenu/ListMenuDesign.tsx +0 -127
  692. package/src/constructors/ListMenu/index.ts +0 -5
  693. package/src/constructors/ListMenu/properties.json +0 -19
  694. package/src/constructors/ListMenu/props.ts +0 -34
  695. package/src/constructors/Mask/Mask.ts +0 -321
  696. package/src/constructors/Mask/MaskBuffer.ts +0 -89
  697. package/src/constructors/Mask/MaskCharacter.ts +0 -192
  698. package/src/constructors/Mask/MaskCharacterLength.ts +0 -40
  699. package/src/constructors/Mask/MaskData.ts +0 -287
  700. package/src/constructors/Mask/MaskDate.ts +0 -157
  701. package/src/constructors/Mask/MaskDesign.tsx +0 -217
  702. package/src/constructors/Mask/MaskEmit.ts +0 -140
  703. package/src/constructors/Mask/MaskEvent.ts +0 -347
  704. package/src/constructors/Mask/MaskFocus.ts +0 -49
  705. package/src/constructors/Mask/MaskFormat.ts +0 -216
  706. package/src/constructors/Mask/MaskItem.ts +0 -218
  707. package/src/constructors/Mask/MaskMatch.ts +0 -73
  708. package/src/constructors/Mask/MaskPattern.ts +0 -123
  709. package/src/constructors/Mask/MaskRight.ts +0 -43
  710. package/src/constructors/Mask/MaskRubber.ts +0 -156
  711. package/src/constructors/Mask/MaskRubberItem.ts +0 -96
  712. package/src/constructors/Mask/MaskRubberTransition.ts +0 -50
  713. package/src/constructors/Mask/MaskSelection.ts +0 -208
  714. package/src/constructors/Mask/MaskSpecial.ts +0 -179
  715. package/src/constructors/Mask/MaskType.ts +0 -103
  716. package/src/constructors/Mask/MaskValidation.ts +0 -102
  717. package/src/constructors/Mask/MaskValue.ts +0 -225
  718. package/src/constructors/Mask/MaskValueBasic.ts +0 -87
  719. package/src/constructors/Mask/MaskView.ts +0 -169
  720. package/src/constructors/Mask/basicTypes.ts +0 -49
  721. package/src/constructors/Mask/index.ts +0 -5
  722. package/src/constructors/Mask/properties.json +0 -29
  723. package/src/constructors/Mask/props.ts +0 -70
  724. package/src/constructors/Mask/types.ts +0 -71
  725. package/src/constructors/Menu/Menu.ts +0 -179
  726. package/src/constructors/Menu/MenuDesign.tsx +0 -244
  727. package/src/constructors/Menu/MenuInclude.ts +0 -110
  728. package/src/constructors/Menu/MenuRequest.ts +0 -101
  729. package/src/constructors/Menu/MenuSearch.ts +0 -49
  730. package/src/constructors/Menu/MenuValue.ts +0 -73
  731. package/src/constructors/Menu/MenuWindow.ts +0 -89
  732. package/src/constructors/Menu/basicTypes.ts +0 -41
  733. package/src/constructors/Menu/index.ts +0 -6
  734. package/src/constructors/Menu/properties.json +0 -17
  735. package/src/constructors/Menu/props.ts +0 -79
  736. package/src/constructors/Menu/types.ts +0 -79
  737. package/src/constructors/MotionTransform/MotionTransform.ts +0 -87
  738. package/src/constructors/MotionTransform/MotionTransformClassesInclude.ts +0 -38
  739. package/src/constructors/MotionTransform/MotionTransformDesign.tsx +0 -242
  740. package/src/constructors/MotionTransform/MotionTransformEvent.ts +0 -118
  741. package/src/constructors/MotionTransform/MotionTransformGo.ts +0 -47
  742. package/src/constructors/MotionTransform/MotionTransformInclude.ts +0 -123
  743. package/src/constructors/MotionTransform/MotionTransformSize.ts +0 -97
  744. package/src/constructors/MotionTransform/MotionTransformState.ts +0 -250
  745. package/src/constructors/MotionTransform/basicTypes.ts +0 -121
  746. package/src/constructors/MotionTransform/index.ts +0 -7
  747. package/src/constructors/MotionTransform/properties.json +0 -35
  748. package/src/constructors/MotionTransform/props.ts +0 -50
  749. package/src/constructors/MotionTransform/types.ts +0 -86
  750. package/src/constructors/Progress/Progress.ts +0 -184
  751. package/src/constructors/Progress/ProgressDesign.tsx +0 -175
  752. package/src/constructors/Progress/ProgressInclude.ts +0 -67
  753. package/src/constructors/Progress/basicTypes.ts +0 -12
  754. package/src/constructors/Progress/index.ts +0 -6
  755. package/src/constructors/Progress/properties.json +0 -47
  756. package/src/constructors/Progress/props.ts +0 -54
  757. package/src/constructors/Ripple/Ripple.ts +0 -46
  758. package/src/constructors/Ripple/RippleDesign.tsx +0 -112
  759. package/src/constructors/Ripple/RippleInclude.ts +0 -39
  760. package/src/constructors/Ripple/RippleItem.ts +0 -62
  761. package/src/constructors/Ripple/index.ts +0 -6
  762. package/src/constructors/Ripple/properties.json +0 -9
  763. package/src/constructors/Scrollbar/Scrollbar.ts +0 -66
  764. package/src/constructors/Scrollbar/ScrollbarBorder.ts +0 -243
  765. package/src/constructors/Scrollbar/ScrollbarDesign.tsx +0 -126
  766. package/src/constructors/Scrollbar/ScrollbarInclude.ts +0 -80
  767. package/src/constructors/Scrollbar/index.ts +0 -5
  768. package/src/constructors/Scrollbar/properties.json +0 -33
  769. package/src/constructors/Scrollbar/props.ts +0 -37
  770. package/src/constructors/Skeleton/Skeleton.ts +0 -86
  771. package/src/constructors/Skeleton/SkeletonDesign.tsx +0 -117
  772. package/src/constructors/Skeleton/SkeletonInclude.ts +0 -61
  773. package/src/constructors/Skeleton/basicTypes.ts +0 -16
  774. package/src/constructors/Skeleton/const.ts +0 -1
  775. package/src/constructors/Skeleton/index.ts +0 -6
  776. package/src/constructors/Skeleton/properties.json +0 -24
  777. package/src/constructors/Window/Window.ts +0 -212
  778. package/src/constructors/Window/WindowClasses.ts +0 -180
  779. package/src/constructors/Window/WindowClassesInclude.ts +0 -39
  780. package/src/constructors/Window/WindowClient.ts +0 -93
  781. package/src/constructors/Window/WindowCoordinates.ts +0 -257
  782. package/src/constructors/Window/WindowDesign.tsx +0 -278
  783. package/src/constructors/Window/WindowElement.ts +0 -84
  784. package/src/constructors/Window/WindowEmit.ts +0 -52
  785. package/src/constructors/Window/WindowEvent.ts +0 -157
  786. package/src/constructors/Window/WindowFlash.ts +0 -70
  787. package/src/constructors/Window/WindowHook.ts +0 -110
  788. package/src/constructors/Window/WindowInclude.ts +0 -134
  789. package/src/constructors/Window/WindowOpen.ts +0 -292
  790. package/src/constructors/Window/WindowOrigin.ts +0 -85
  791. package/src/constructors/Window/WindowPersistent.ts +0 -89
  792. package/src/constructors/Window/WindowPosition.ts +0 -358
  793. package/src/constructors/Window/WindowStatic.ts +0 -102
  794. package/src/constructors/Window/WindowStatus.ts +0 -138
  795. package/src/constructors/Window/WindowStyles.ts +0 -78
  796. package/src/constructors/Window/WindowVerification.ts +0 -287
  797. package/src/constructors/Window/basicTypes.ts +0 -186
  798. package/src/constructors/Window/index.ts +0 -7
  799. package/src/constructors/Window/properties.json +0 -236
  800. package/src/constructors/Window/props.ts +0 -88
  801. package/src/constructors/Window/types.ts +0 -124
  802. package/src/library.ts +0 -36
  803. package/src/types/descriptionTypes.ts +0 -15
  804. package/src/types/eventClickTypes.ts +0 -51
  805. package/src/types/fieldTypes.ts +0 -282
  806. package/src/types/labelTypes.ts +0 -30
  807. package/src/types/modelTypes.ts +0 -23
  808. package/src/vite-env.d.ts +0 -1
@@ -1,103 +0,0 @@
1
- import { computed } from 'vue'
2
- import type { GeoDate } from '@dxtmisha/functional'
3
-
4
- import type { MaskTypeItem } from './basicTypes'
5
- import type { MaskProps } from './props'
6
-
7
- /**
8
- * Class for defining the mask type.
9
- *
10
- * Класс для определения типа маски.
11
- */
12
- export class MaskType {
13
- /**
14
- * Constructor
15
- * @param props input data/ входные данные
16
- */
17
- constructor(
18
- protected readonly props: MaskProps
19
- ) {
20
- }
21
-
22
- /** Current mask type (default: text)/ Текущий тип маски (по умолчанию: text) */
23
- readonly item = computed<MaskTypeItem>(() => this.props.type ?? 'text')
24
-
25
- /**
26
- * Is the mask simple number type.
27
- *
28
- * Является ли маска простым числовым типом (number).
29
- */
30
- isNumber(): boolean {
31
- return this.item.value === 'number'
32
- }
33
-
34
- /**
35
- * Is the mask formatted number type (number-format).
36
- *
37
- * Является ли маска типом форматированного числа (number-format).
38
- */
39
- isNumberFormat(): boolean {
40
- return this.item.value === 'number-format'
41
- }
42
-
43
- /**
44
- * Is the mask currency type.
45
- *
46
- * Является ли маска валютным типом (currency).
47
- */
48
- isCurrency(): boolean {
49
- return this.item.value === 'currency'
50
- }
51
-
52
- /**
53
- * Is the mask one of numeric related types (number | number-format | currency).
54
- *
55
- * Является ли маска одним из числовых типов (number | number-format | currency).
56
- */
57
- isCurrencyOrNumber(): boolean {
58
- return this.isNumber() || this.isNumberFormat() || this.isCurrency()
59
- }
60
-
61
- /**
62
- * Is the mask one of the time input types.
63
- *
64
- * Является ли маска одним из типов для ввода времени.
65
- */
66
- isTime(): boolean {
67
- return [
68
- 'full',
69
- 'datetime',
70
- 'time',
71
- 'hour-minute',
72
- 'hour',
73
- 'minute',
74
- 'second'
75
- ].indexOf(this.item.value) !== -1
76
- }
77
-
78
- /**
79
- * Is the mask one of the date (or time) input types.
80
- *
81
- * Является ли маска одним из типов для ввода даты (или времени).
82
- */
83
- isDate(): boolean {
84
- return this.isTime()
85
- || [
86
- 'date',
87
- 'year',
88
- 'year-month',
89
- 'month',
90
- 'day',
91
- 'day-month'
92
- ].indexOf(this.item.value) !== -1
93
- }
94
-
95
- /**
96
- * Returns GeoDate-compatible mask type (fallback: date).
97
- *
98
- * Возвращает тип маски совместимый с GeoDate (если нет — date).
99
- */
100
- getByDate(): GeoDate {
101
- return this.isDate() ? (this.item.value as GeoDate) : 'date'
102
- }
103
- }
@@ -1,102 +0,0 @@
1
- import { computed } from 'vue'
2
-
3
- import { FieldInputCheckInclude } from '../../classes/field/FieldInputCheckInclude'
4
- import { MaskPattern } from './MaskPattern'
5
- import { MaskValue } from './MaskValue'
6
-
7
- import type { FieldValidationItem } from '../../types/fieldTypes'
8
-
9
- /**
10
- * Class for working with the validity of entered data.
11
- *
12
- * Класс для работы с валидностью введённых данных.
13
- */
14
- export class MaskValidation {
15
- /**
16
- * Constructor
17
- * @param pattern object for working with input data validation/ объект для работы с проверкой введённых данных
18
- * @param value object for working with entered data/ объект для работы с введёнными данными
19
- */
20
- constructor(
21
- protected readonly pattern: MaskPattern,
22
- protected readonly value: MaskValue
23
- ) {
24
- }
25
-
26
- /** Validation error info or undefined/ Информация об ошибке или undefined */
27
- readonly item = computed(() => {
28
- for (const input of Object.values(this.pattern.item.value)) {
29
- const item = this.value.getInfoItem(input.group)
30
-
31
- if (item && item.full) {
32
- const check = input.check(item.value)
33
-
34
- if (check && !check.status) {
35
- return {
36
- ...check,
37
- value: this.value.item.value
38
- }
39
- }
40
- }
41
- }
42
-
43
- return this.getValidationCheck()
44
- })
45
-
46
- /**
47
- * Checks if the current group has an error.
48
- *
49
- * Проверяет, есть ли ошибка у текущей группы.
50
- * @param groupName group name/ название группы
51
- */
52
- isError(groupName: string): boolean {
53
- const groupError = this.item.value?.group
54
-
55
- return Boolean(
56
- groupError && (
57
- groupError === groupName
58
- || groupError === FieldInputCheckInclude.getGroupDefault()
59
- )
60
- )
61
- }
62
-
63
- /**
64
- * Checks the correctness of filling in the values.
65
- *
66
- * Проверяет корректность заполнения значений.
67
- */
68
- checkValidity(): boolean {
69
- return this.item.value === undefined
70
- }
71
-
72
- /**
73
- * Getting global check data.
74
- *
75
- * Получение данных глобальной проверки.
76
- */
77
- protected getValidationCheck(): FieldValidationItem {
78
- if (this.value.isFull.value) {
79
- const item = this.value.getForCheck()
80
-
81
- if (this.pattern.isCheck()) {
82
- const check = this.pattern.getInput(item.group)?.check(item.value)
83
-
84
- if (check && !check.status) {
85
- return check
86
- }
87
- }
88
-
89
- return {
90
- status: true,
91
- value: item.value,
92
- isFull: true
93
- }
94
- }
95
-
96
- return {
97
- status: true,
98
- value: this.value.item.value,
99
- isFull: false
100
- }
101
- }
102
- }
@@ -1,225 +0,0 @@
1
- import { computed, watch } from 'vue'
2
-
3
- import { FieldInputCheckInclude } from '../../classes/field/FieldInputCheckInclude'
4
- import { MaskType } from './MaskType'
5
- import { MaskDate } from './MaskDate'
6
- import { MaskFormat } from './MaskFormat'
7
- import { MaskItem } from './MaskItem'
8
- import { MaskSpecial } from './MaskSpecial'
9
- import { MaskValueBasic } from './MaskValueBasic'
10
-
11
- import type { FieldMaskItem, FieldMasks } from '../../types/fieldTypes'
12
- import { MASK_CHAR_DELETE } from './basicTypes'
13
- import type { MaskProps } from './props'
14
-
15
- /**
16
- * Class for transforming the entered data into the final result.
17
- *
18
- * Класс для преобразования введенных данных в конечный результат.
19
- */
20
- export class MaskValue {
21
- protected infoCache?: FieldMasks
22
-
23
- /**
24
- * Constructor
25
- * @param props input data/ входные данные
26
- * @param type object for working with the mask type/ объект для работы с типом маски
27
- * @param date object for working with date types/ объект для работы с типом даты
28
- * @param format object for managing numeric mask types/ объект для управления числовыми типами масок
29
- * @param mask object for managing masks/ объект управления маской
30
- * @param special object for working with special characters/ объект для работы со специальными символами
31
- * @param valueBasic object for working with base values/ объект для работы с базовыми значениями
32
- */
33
- constructor(
34
- protected readonly props: MaskProps,
35
- protected readonly type: MaskType,
36
- protected readonly date: MaskDate,
37
- protected readonly format: MaskFormat,
38
- protected readonly mask: MaskItem,
39
- protected readonly special: MaskSpecial,
40
- protected readonly valueBasic: MaskValueBasic
41
- ) {
42
- watch(this.info, (_, old) => {
43
- if (this.type.isDate()) {
44
- this.infoCache = old
45
- }
46
- })
47
- }
48
-
49
- /**
50
- * Receiving a list with information about standard values/
51
- * Получение списка с информацией о стандартных значениях
52
- */
53
- readonly info = computed<FieldMasks>(() => {
54
- const standard = this.valueBasic.item.value
55
- const data: FieldMasks = {}
56
-
57
- this.mask.item.value.forEach((char, index) => {
58
- if (this.special.isSpecial(char)) {
59
- const value = this.add(data, char)
60
-
61
- if (
62
- this.isStandard(index)
63
- && standard[index] !== MASK_CHAR_DELETE
64
- ) {
65
- value.chars.push(String(standard[index]))
66
- }
67
-
68
- value.maxLength++
69
- value.end = value.maxLength === value.chars.length
70
- value.full = this.special.isDefault(char) || value.end
71
- value.value = value.full ? value.chars.join('') : ''
72
- }
73
- })
74
-
75
- return data
76
- })
77
-
78
- /** Final value (shortcut)/ Финальное значение (ярлык) */
79
- readonly item = computed(() => this.getValue(this.info.value))
80
-
81
- /** Checks if the mask is fully filled/ Проверяет, полностью ли заполнена маска */
82
- readonly isFull = computed<boolean>(() => {
83
- for (const item of Object.values(this.info.value)) {
84
- if (!item.full) {
85
- return false
86
- }
87
- }
88
-
89
- return true
90
- })
91
-
92
- /** Checks if the mask is fully filled by length/ Проверяет, полностью ли заполнена маска по длине */
93
- readonly isEnd = computed<boolean>(() => {
94
- for (const item of Object.values(this.info.value)) {
95
- if (!item.end) {
96
- return false
97
- }
98
- }
99
-
100
- return true
101
- })
102
-
103
- /**
104
- * Returns old values.
105
- *
106
- * Возвращает старые значения.
107
- */
108
- getValueCache(): string {
109
- if (this.infoCache) {
110
- return this.getValue(this.infoCache)
111
- }
112
-
113
- return this.item.value
114
- }
115
-
116
- /**
117
- * Getting full information for global verification.
118
- *
119
- * Получение полной информации для глобальной проверки.
120
- */
121
- getForCheck(): FieldMaskItem {
122
- const value = this.item.value
123
-
124
- return {
125
- group: FieldInputCheckInclude.getGroupDefault(),
126
- value,
127
- maxLength: value.length,
128
- full: this.isFull.value,
129
- end: this.isEnd.value,
130
- chars: value.split('')
131
- }
132
- }
133
-
134
- /**
135
- * Getting information for a specific group.
136
- *
137
- * Получение информации для конкретной группы.
138
- * @param groupName group name/ название группы
139
- */
140
- getInfoItem(groupName: string): FieldMaskItem | undefined {
141
- return this.info.value?.[groupName]
142
- }
143
-
144
- /** Returns the final form of the value/ Возвращает финальный вид значения */
145
- protected readonly valueFinal = computed(() => {
146
- const basic = this.valueBasic.item.value.split('')
147
- const mask = this.mask.item.value
148
- let data: string = ''
149
-
150
- for (const index in mask) {
151
- if (index in basic) {
152
- data += basic[index]
153
- } else if (mask[index]) {
154
- const defaultValue = this.special.getDefault(mask[index])
155
-
156
- if (defaultValue) {
157
- data += defaultValue
158
- }
159
- }
160
- }
161
-
162
- return data
163
- })
164
-
165
- /**
166
- * Checks if there is a value by the key number in the basic values.
167
- *
168
- * Проверяет, есть ли значение по номеру ключа в базовых значениях.
169
- * @param index key number/ номер ключа
170
- */
171
- protected isStandard(index: number): boolean {
172
- return Boolean(this.valueBasic.getChar(index))
173
- }
174
-
175
- /**
176
- * Returns values based on the specified data information structure.
177
- *
178
- * Возвращает значения по указанной структуре информации о данных.
179
- * @param info data information/ информация о данных
180
- */
181
- protected getValue(info: FieldMasks) {
182
- if (this.type.isCurrencyOrNumber()) {
183
- return this.format.getValueStandard(info)
184
- }
185
-
186
- if (this.type.isDate()) {
187
- if (this.isFull.value) {
188
- return this.date.getValueStandard(info)
189
- }
190
-
191
- return ''
192
- }
193
-
194
- if (
195
- this.props.fullOnly
196
- && !this.isFull.value
197
- ) {
198
- return ''
199
- }
200
-
201
- return this.valueFinal.value
202
- }
203
-
204
- /**
205
- * Adding a new character to the list divided by groups if it is not there and returning the property of the given group.
206
- *
207
- * Добавление нового символа в список, разделенный по группам, если его там нет, и возвращение свойства данной группы.
208
- * @param data data for verification/ данные для проверки
209
- * @param groupName group name/ название группы
210
- */
211
- protected add(data: FieldMasks, groupName: string): FieldMaskItem {
212
- if (!(groupName in data)) {
213
- data[groupName] = {
214
- group: groupName,
215
- value: '',
216
- maxLength: 0,
217
- full: false,
218
- end: false,
219
- chars: []
220
- }
221
- }
222
-
223
- return data[groupName] as FieldMaskItem
224
- }
225
- }
@@ -1,87 +0,0 @@
1
- import { computed } from 'vue'
2
-
3
- import { MaskRubberTransition } from './MaskRubberTransition'
4
- import { MaskItem } from './MaskItem'
5
- import { MaskSpecial } from './MaskSpecial'
6
- import { MaskCharacter } from './MaskCharacter'
7
-
8
- /**
9
- * Class for getting basic input values.
10
- *
11
- * Класс для получения базовых вводимых значений.
12
- */
13
- export class MaskValueBasic {
14
- /**
15
- * Constructor
16
- * @param rubberTransition object for managing the transition character/ объект для управления символом перехода
17
- * @param mask object for managing masks/ объект управления маской
18
- * @param special object for working with special characters/ объект для работы со специальными символами
19
- * @param character object for managing entered character/ объект для управления введённым символом
20
- */
21
- constructor(
22
- protected readonly rubberTransition: MaskRubberTransition,
23
- protected readonly mask: MaskItem,
24
- protected readonly special: MaskSpecial,
25
- protected readonly character: MaskCharacter
26
- ) {
27
- }
28
-
29
- /**
30
- * Receiving basic standard values.
31
- *
32
- * Получение базовых стандартных значений.
33
- */
34
- readonly item = computed(() => {
35
- const character = this.character.item.value
36
- const value: string[] = []
37
- let key = 0 as number
38
-
39
- for (const char of this.mask.item.value) {
40
- if (!this.special.isSpecial(char)) {
41
- value.push(char)
42
- } else if (key in character) {
43
- value.push(String(character[key++]))
44
-
45
- if (
46
- key > character.length
47
- && this.rubberTransition.is()
48
- && !this.rubberTransition.isChar(char)
49
- ) {
50
- break
51
- }
52
- } else {
53
- break
54
- }
55
- }
56
-
57
- return value.join('')
58
- })
59
-
60
- /**
61
- * Checks if the values are filled in.
62
- *
63
- * Проверяет, заполнены ли значения.
64
- */
65
- is(): boolean {
66
- return this.getLength() > 0
67
- }
68
-
69
- /**
70
- * Getting the character from the basic standard values by its key number.
71
- *
72
- * Получение символа из базовых стандартных значений по его номеру ключа.
73
- * @param index key number/ номер ключа
74
- */
75
- getChar(index: number): string | undefined {
76
- return this.item.value?.[index]
77
- }
78
-
79
- /**
80
- * Getting the length of basic standard values.
81
- *
82
- * Получение длины базовых стандартных значений.
83
- */
84
- getLength(): number {
85
- return this.item.value.length
86
- }
87
- }
@@ -1,169 +0,0 @@
1
- import { computed } from 'vue'
2
-
3
- import { MaskType } from './MaskType'
4
- import { MaskDate } from './MaskDate'
5
- import { MaskFormat } from './MaskFormat'
6
- import { MaskSpecial } from './MaskSpecial'
7
- import { MaskRubber } from './MaskRubber'
8
- import { MaskItem } from './MaskItem'
9
- import { MaskValueBasic } from './MaskValueBasic'
10
- import { MaskValidation } from './MaskValidation'
11
-
12
- import { MASK_CHAR_DELETE, type MaskViewList, MASK_VIEW_DEFAULT } from './basicTypes'
13
- import type { MaskProps } from './props'
14
-
15
- /**
16
- * Class for working with data to output to the screen.
17
- *
18
- * Класс для работы с данными для вывода на экран.
19
- */
20
- export class MaskView {
21
- /** Class name prefix for item/ Класс для элемента */
22
- protected classNameItem: string
23
-
24
- /**
25
- * Constructor
26
- * @param props input data/ входные данные
27
- * @param type object for working with the mask type/ объект для работы с типом маски
28
- * @param date object for working with date types/ объект для работы с типом даты
29
- * @param format object for managing numeric mask types/ объект для управления числовыми типами масок
30
- * @param special object for working with special characters/ объект для работы со специальными символами
31
- * @param rubber object for working with rubber types/ объект для работы с резиновыми типами
32
- * @param mask object for managing masks/ объект управления маской
33
- * @param valueBasic object for working with base values/ объект для работы с базовыми значениями
34
- * @param validation object for working with validation/ объект для работы с валидацией
35
- * @param className define class names for each symbol/ определить название класса для каждого символа
36
- */
37
- constructor(
38
- protected readonly props: MaskProps,
39
- protected readonly type: MaskType,
40
- protected readonly date: MaskDate,
41
- protected readonly format: MaskFormat,
42
- protected readonly special: MaskSpecial,
43
- protected readonly rubber: MaskRubber,
44
- protected readonly mask: MaskItem,
45
- protected readonly valueBasic: MaskValueBasic,
46
- protected readonly validation: MaskValidation,
47
- className: string
48
- ) {
49
- this.classNameItem = `${className}__character__item`
50
- }
51
-
52
- /** View items list/ Список данных для отображения */
53
- readonly item = computed<MaskViewList>(() => {
54
- const data: MaskViewList = []
55
- const valueBasic = this.valueBasic.item.value
56
-
57
- this.mask.item.value.forEach((char, index) => {
58
- const value = valueBasic?.[index]
59
-
60
- data.push({
61
- className: `${this.classNameItem} ${this.classNameItem}--${this.getStatus(char, value)}`,
62
- value: this.getValue(char, value)
63
- })
64
- })
65
-
66
- return data
67
- })
68
-
69
- /** Input value with special view characters/ Значение ввода со спецсимволами отображения */
70
- readonly input = computed<string>(() => {
71
- const value: string[] = []
72
- const list = this.mask.item.value
73
-
74
- this.valueBasic.item.value.split('').forEach((char, index) => {
75
- if (char === MASK_CHAR_DELETE) {
76
- value.push(
77
- this.getSpecialToView(list?.[index] ?? '') ?? char
78
- )
79
- } else {
80
- value.push(char)
81
- }
82
- })
83
-
84
- return value.join('')
85
- })
86
-
87
- /**
88
- * Checks if the value is filled in.
89
- *
90
- * Проверяет, заполнено ли значение.
91
- * @param value checked value/ проверяемое значение
92
- */
93
- protected isValue(value?: string): value is string {
94
- return Boolean(value && value !== MASK_CHAR_DELETE)
95
- }
96
-
97
- /**
98
- * Returns the status by mask symbol and its position.
99
- *
100
- * Возвращает статус по символу маски и месту его расположения.
101
- * @param char mask symbol/ символ маски
102
- * @param value entered value for this position/ введённое значение для позиции
103
- */
104
- protected getStatus(char: string, value?: string): string {
105
- if (this.isValue(value)) {
106
- if (!this.special.isSpecial(char)) {
107
- return 'standard'
108
- }
109
-
110
- if (this.validation.isError(char)) {
111
- return 'error'
112
- }
113
-
114
- return 'special'
115
- }
116
-
117
- if (this.rubber.isTransition(char)) {
118
- return 'transition'
119
- }
120
-
121
- return 'placeholder'
122
- }
123
-
124
- /**
125
- * Returns symbol for rendering: real value or placeholder.
126
- *
127
- * Возвращает символ для отображения: реальное значение или плейсхолдер.
128
- * @param char mask symbol/ символ маски
129
- * @param value entered value for position/ введённое значение позиции
130
- */
131
- protected getValue(char: string, value?: string): string {
132
- return this.isValue(value) ? value : this.getSpecialToView(char)
133
- }
134
-
135
- /**
136
- * Returns display version of special mask symbol (placeholder).
137
- *
138
- * Возвращает отображаемую версию специального символа маски (плейсхолдер).
139
- * @param char mask symbol/ символ маски
140
- */
141
- protected getSpecialToView(char: string): string {
142
- if (this.special.isSpecial(char)) {
143
- return this.getViewChar(char)
144
- ?? this.special.getView(char)
145
- ?? this.props.view
146
- ?? MASK_VIEW_DEFAULT
147
- }
148
-
149
- return char
150
- }
151
-
152
- /**
153
- * Returns special character for view by its group name.
154
- *
155
- * Возвращает специальный символ для отображения по имени группы.
156
- * @param groupName group name/ имя группы
157
- */
158
- protected getViewChar(groupName: string): string | undefined {
159
- if (this.type.isDate()) {
160
- return this.date.getView(groupName)
161
- }
162
-
163
- if (this.type.isCurrencyOrNumber()) {
164
- return this.format.view.value
165
- }
166
-
167
- return undefined
168
- }
169
- }