@dxtmisha/constructor 0.30.1 → 0.39.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (962) 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/dist/MotionTransformClassesInclude-B23RIq0Q.js +214 -0
  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/dist/constructors/Badge/types.d.ts +39 -0
  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/dist/constructors/Chip/types.d.ts +40 -0
  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/dist/constructors/FieldCounter/props.d.ts +22 -0
  192. package/dist/constructors/FieldCounter/types.d.ts +35 -0
  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/dist/constructors/FieldLabel/basicTypes.d.ts +28 -0
  197. package/dist/constructors/FieldLabel/index.d.ts +6 -0
  198. package/dist/constructors/FieldLabel/props.d.ts +23 -0
  199. package/dist/constructors/FieldLabel/types.d.ts +40 -0
  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/dist/constructors/FieldMessage/types.d.ts +43 -0
  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/dist/constructors/Icon/types.d.ts +39 -0
  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/dist/constructors/Image/types.d.ts +41 -0
  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/dist/constructors/List/basicTypes.d.ts +3 -0
  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/dist/constructors/ListGroup/props.d.ts +21 -0
  259. package/dist/constructors/ListGroup/types.d.ts +43 -0
  260. package/dist/constructors/ListItem/ListItem.d.ts +175 -0
  261. package/dist/constructors/ListItem/ListItemDesign.d.ts +56 -0
  262. package/dist/constructors/ListItem/basicTypes.d.ts +3 -0
  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/dist/constructors/ListMenu/basicTypes.d.ts +3 -0
  269. package/dist/constructors/ListMenu/index.d.ts +5 -0
  270. package/dist/constructors/ListMenu/props.d.ts +22 -0
  271. package/dist/constructors/ListMenu/types.d.ts +40 -0
  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/dist/constructors/Progress/types.d.ts +38 -0
  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/dist/constructors/Ripple/basicTypes.d.ts +3 -0
  353. package/dist/constructors/Ripple/index.d.ts +6 -0
  354. package/dist/constructors/Ripple/props.d.ts +19 -0
  355. package/dist/constructors/Ripple/types.d.ts +36 -0
  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/dist/constructors/Scrollbar/basicTypes.d.ts +35 -0
  361. package/dist/constructors/Scrollbar/index.d.ts +5 -0
  362. package/dist/constructors/Scrollbar/props.d.ts +28 -0
  363. package/dist/constructors/Scrollbar/types.d.ts +45 -0
  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/dist/constructors/Skeleton/props.d.ts +19 -0
  392. package/dist/constructors/Skeleton/types.d.ts +39 -0
  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/dist/functions/getClassTagAStatic.d.ts +8 -0
  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/dist/types/captionTypes.d.ts +14 -0
  511. package/dist/types/descriptionTypes.d.ts +21 -0
  512. package/dist/types/enabledTypes.d.ts +9 -0
  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/dist/types/prefixTypes.d.ts +14 -0
  518. package/dist/types/roleTypes.d.ts +1 -0
  519. package/dist/types/suffixTypes.d.ts +14 -0
  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 +170 -85
  524. package/src/constructors/Block/style.scss +2 -0
  525. package/src/constructors/Image/style.scss +6 -0
  526. package/src/constructors/Page/style.scss +6 -0
  527. package/src/constructors/Section/style.scss +2 -1
  528. package/src/library/style.scss +39 -0
  529. package/src/classes/AriaStaticInclude.ts +0 -269
  530. package/src/classes/CaptionInclude.ts +0 -71
  531. package/src/classes/DescriptionInclude.ts +0 -87
  532. package/src/classes/EnabledInclude.ts +0 -67
  533. package/src/classes/EventClickInclude.ts +0 -138
  534. package/src/classes/LabelHighlightInclude.ts +0 -125
  535. package/src/classes/LabelInclude.ts +0 -206
  536. package/src/classes/LabelNumberInclude.ts +0 -70
  537. package/src/classes/ModelInclude.ts +0 -98
  538. package/src/classes/ModelValueInclude.ts +0 -73
  539. package/src/classes/PrefixInclude.ts +0 -71
  540. package/src/classes/SuffixInclude.ts +0 -71
  541. package/src/classes/TabIndexInclude.ts +0 -260
  542. package/src/classes/TextInclude.ts +0 -102
  543. package/src/classes/TouchEventInclude.ts +0 -284
  544. package/src/classes/field/FieldArrowInclude.ts +0 -189
  545. package/src/classes/field/FieldAttributesInclude.ts +0 -159
  546. package/src/classes/field/FieldChangeInclude.ts +0 -52
  547. package/src/classes/field/FieldCodeInclude.ts +0 -69
  548. package/src/classes/field/FieldElementInclude.ts +0 -97
  549. package/src/classes/field/FieldEventInclude.ts +0 -253
  550. package/src/classes/field/FieldInputCheckInclude.ts +0 -128
  551. package/src/classes/field/FieldInputModeInclude.ts +0 -48
  552. package/src/classes/field/FieldMatchInclude.ts +0 -107
  553. package/src/classes/field/FieldPatternInclude.ts +0 -42
  554. package/src/classes/field/FieldTypeInclude.ts +0 -47
  555. package/src/classes/field/FieldValidationInclude.ts +0 -193
  556. package/src/classes/field/FieldValueInclude.ts +0 -328
  557. package/src/classes/field/FieldVisibilityInclude.ts +0 -21
  558. package/src/constructors/Accordion/Accordion.ts +0 -68
  559. package/src/constructors/Accordion/AccordionDesign.tsx +0 -192
  560. package/src/constructors/Accordion/basicTypes.ts +0 -0
  561. package/src/constructors/Accordion/index.ts +0 -5
  562. package/src/constructors/Accordion/properties.json +0 -16
  563. package/src/constructors/Accordion/props.ts +0 -55
  564. package/src/constructors/Accordion/types.ts +0 -63
  565. package/src/constructors/ActionSheet/ActionSheet.ts +0 -78
  566. package/src/constructors/ActionSheet/ActionSheetDesign.tsx +0 -125
  567. package/src/constructors/ActionSheet/basicTypes.ts +0 -0
  568. package/src/constructors/ActionSheet/index.ts +0 -5
  569. package/src/constructors/ActionSheet/properties.json +0 -14
  570. package/src/constructors/ActionSheet/props.ts +0 -44
  571. package/src/constructors/ActionSheet/types.ts +0 -54
  572. package/src/constructors/Actions/Actions.ts +0 -60
  573. package/src/constructors/Actions/ActionsDesign.tsx +0 -212
  574. package/src/constructors/Actions/ActionsInclude.ts +0 -109
  575. package/src/constructors/Actions/basicTypes.ts +0 -40
  576. package/src/constructors/Actions/index.ts +0 -6
  577. package/src/constructors/Actions/properties.json +0 -63
  578. package/src/constructors/Actions/props.ts +0 -42
  579. package/src/constructors/Actions/types.ts +0 -52
  580. package/src/constructors/Anchor/Anchor.ts +0 -113
  581. package/src/constructors/Anchor/AnchorDesign.tsx +0 -242
  582. package/src/constructors/Anchor/AnchorEvent.ts +0 -76
  583. package/src/constructors/Anchor/AnchorHref.ts +0 -54
  584. package/src/constructors/Anchor/AnchorIcon.ts +0 -54
  585. package/src/constructors/Anchor/AnchorTo.ts +0 -46
  586. package/src/constructors/Anchor/basicTypes.ts +0 -9
  587. package/src/constructors/Anchor/index.ts +0 -5
  588. package/src/constructors/Anchor/properties.json +0 -3
  589. package/src/constructors/Anchor/props.ts +0 -54
  590. package/src/constructors/Anchor/types.ts +0 -47
  591. package/src/constructors/Arrow/Arrow.ts +0 -134
  592. package/src/constructors/Arrow/ArrowDesign.tsx +0 -226
  593. package/src/constructors/Arrow/ArrowElement.ts +0 -139
  594. package/src/constructors/Arrow/ArrowElementTarget.ts +0 -72
  595. package/src/constructors/Arrow/ArrowEvent.ts +0 -126
  596. package/src/constructors/Arrow/ArrowInclude.ts +0 -85
  597. package/src/constructors/Arrow/ArrowParent.ts +0 -100
  598. package/src/constructors/Arrow/ArrowPosition.ts +0 -231
  599. package/src/constructors/Arrow/basicTypes.ts +0 -50
  600. package/src/constructors/Arrow/index.ts +0 -6
  601. package/src/constructors/Arrow/properties.json +0 -23
  602. package/src/constructors/Arrow/props.ts +0 -31
  603. package/src/constructors/Arrow/types.ts +0 -54
  604. package/src/constructors/Badge/Badge.ts +0 -73
  605. package/src/constructors/Badge/BadgeDesign.tsx +0 -130
  606. package/src/constructors/Badge/BadgeInclude.ts +0 -78
  607. package/src/constructors/Badge/basicTypes.ts +0 -15
  608. package/src/constructors/Badge/index.ts +0 -5
  609. package/src/constructors/Badge/properties.json +0 -36
  610. package/src/constructors/Badge/props.ts +0 -45
  611. package/src/constructors/Badge/types.ts +0 -47
  612. package/src/constructors/Bars/Bars.ts +0 -194
  613. package/src/constructors/Bars/BarsAction.ts +0 -57
  614. package/src/constructors/Bars/BarsDesign.tsx +0 -235
  615. package/src/constructors/Bars/BarsInclude.ts +0 -119
  616. package/src/constructors/Bars/basicTypes.ts +0 -40
  617. package/src/constructors/Bars/index.ts +0 -6
  618. package/src/constructors/Bars/properties.json +0 -6
  619. package/src/constructors/Bars/props.ts +0 -65
  620. package/src/constructors/Bars/types.ts +0 -58
  621. package/src/constructors/Block/Block.ts +0 -105
  622. package/src/constructors/Block/BlockDesign.tsx +0 -219
  623. package/src/constructors/Block/basicTypes.ts +0 -0
  624. package/src/constructors/Block/index.ts +0 -5
  625. package/src/constructors/Block/properties.json +0 -10
  626. package/src/constructors/Block/props.ts +0 -46
  627. package/src/constructors/Block/types.ts +0 -64
  628. package/src/constructors/Button/Button.ts +0 -112
  629. package/src/constructors/Button/ButtonDesign.tsx +0 -141
  630. package/src/constructors/Button/ButtonInclude.ts +0 -83
  631. package/src/constructors/Button/basicTypes.ts +0 -12
  632. package/src/constructors/Button/index.ts +0 -6
  633. package/src/constructors/Button/properties.json +0 -84
  634. package/src/constructors/Button/props.ts +0 -59
  635. package/src/constructors/Button/types.ts +0 -56
  636. package/src/constructors/Cell/Cell.ts +0 -144
  637. package/src/constructors/Cell/CellDesign.tsx +0 -234
  638. package/src/constructors/Cell/basicTypes.ts +0 -39
  639. package/src/constructors/Cell/index.ts +0 -5
  640. package/src/constructors/Cell/properties.json +0 -52
  641. package/src/constructors/Cell/props.ts +0 -64
  642. package/src/constructors/Cell/types.ts +0 -68
  643. package/src/constructors/Chip/Chip.ts +0 -33
  644. package/src/constructors/Chip/ChipDesign.tsx +0 -26
  645. package/src/constructors/Chip/ChipInclude.ts +0 -83
  646. package/src/constructors/Chip/basicTypes.ts +0 -12
  647. package/src/constructors/Chip/index.ts +0 -6
  648. package/src/constructors/Chip/properties.json +0 -3
  649. package/src/constructors/Chip/props.ts +0 -44
  650. package/src/constructors/Chip/types.ts +0 -53
  651. package/src/constructors/ChipGroup/ChipGroup.ts +0 -74
  652. package/src/constructors/ChipGroup/ChipGroupDesign.tsx +0 -162
  653. package/src/constructors/ChipGroup/basicTypes.ts +0 -6
  654. package/src/constructors/ChipGroup/index.ts +0 -5
  655. package/src/constructors/ChipGroup/properties.json +0 -3
  656. package/src/constructors/ChipGroup/props.ts +0 -50
  657. package/src/constructors/ChipGroup/types.ts +0 -47
  658. package/src/constructors/Dialog/Dialog.ts +0 -145
  659. package/src/constructors/Dialog/DialogDesign.tsx +0 -135
  660. package/src/constructors/Dialog/basicTypes.ts +0 -0
  661. package/src/constructors/Dialog/index.ts +0 -5
  662. package/src/constructors/Dialog/properties.json +0 -23
  663. package/src/constructors/Dialog/props.ts +0 -76
  664. package/src/constructors/Dialog/types.ts +0 -67
  665. package/src/constructors/Field/Field.ts +0 -186
  666. package/src/constructors/Field/FieldDesign.tsx +0 -390
  667. package/src/constructors/Field/FieldIcons.ts +0 -99
  668. package/src/constructors/Field/FieldInclude.ts +0 -202
  669. package/src/constructors/Field/FieldSize.ts +0 -93
  670. package/src/constructors/Field/basicTypes.ts +0 -106
  671. package/src/constructors/Field/index.ts +0 -5
  672. package/src/constructors/Field/properties.json +0 -92
  673. package/src/constructors/Field/props.ts +0 -91
  674. package/src/constructors/Field/types.ts +0 -78
  675. package/src/constructors/FieldCounter/FieldCounter.ts +0 -75
  676. package/src/constructors/FieldCounter/FieldCounterDesign.tsx +0 -123
  677. package/src/constructors/FieldCounter/FieldCounterInclude.ts +0 -100
  678. package/src/constructors/FieldCounter/basicTypes.ts +0 -26
  679. package/src/constructors/FieldCounter/index.ts +0 -6
  680. package/src/constructors/FieldCounter/properties.json +0 -3
  681. package/src/constructors/FieldCounter/props.ts +0 -35
  682. package/src/constructors/FieldCounter/types.ts +0 -42
  683. package/src/constructors/FieldLabel/FieldLabel.ts +0 -93
  684. package/src/constructors/FieldLabel/FieldLabelDesign.tsx +0 -160
  685. package/src/constructors/FieldLabel/FieldLabelInclude.ts +0 -100
  686. package/src/constructors/FieldLabel/basicTypes.ts +0 -34
  687. package/src/constructors/FieldLabel/index.ts +0 -6
  688. package/src/constructors/FieldLabel/properties.json +0 -4
  689. package/src/constructors/FieldLabel/props.ts +0 -40
  690. package/src/constructors/FieldLabel/types.ts +0 -49
  691. package/src/constructors/FieldMessage/FieldMessage.ts +0 -98
  692. package/src/constructors/FieldMessage/FieldMessageDesign.tsx +0 -191
  693. package/src/constructors/FieldMessage/FieldMessageInclude.ts +0 -115
  694. package/src/constructors/FieldMessage/FieldMessageMessage.ts +0 -54
  695. package/src/constructors/FieldMessage/basicTypes.ts +0 -41
  696. package/src/constructors/FieldMessage/index.ts +0 -6
  697. package/src/constructors/FieldMessage/properties.json +0 -10
  698. package/src/constructors/FieldMessage/props.ts +0 -44
  699. package/src/constructors/FieldMessage/types.ts +0 -51
  700. package/src/constructors/Icon/Icon.ts +0 -140
  701. package/src/constructors/Icon/IconDesign.tsx +0 -164
  702. package/src/constructors/Icon/IconInclude.ts +0 -64
  703. package/src/constructors/Icon/IconLiteInclude.ts +0 -121
  704. package/src/constructors/Icon/IconTrailingInclude.ts +0 -106
  705. package/src/constructors/Icon/basicTypes.ts +0 -50
  706. package/src/constructors/Icon/index.ts +0 -8
  707. package/src/constructors/Icon/properties.json +0 -25
  708. package/src/constructors/Icon/props.ts +0 -60
  709. package/src/constructors/Icon/types.ts +0 -46
  710. package/src/constructors/Image/Image.ts +0 -242
  711. package/src/constructors/Image/ImageAdaptiveGroup.ts +0 -230
  712. package/src/constructors/Image/ImageAdaptiveItem.ts +0 -295
  713. package/src/constructors/Image/ImageBackground.ts +0 -140
  714. package/src/constructors/Image/ImageCalculation.ts +0 -184
  715. package/src/constructors/Image/ImageCalculationList.ts +0 -61
  716. package/src/constructors/Image/ImageCoordinator.ts +0 -106
  717. package/src/constructors/Image/ImageData.ts +0 -103
  718. package/src/constructors/Image/ImageDesign.tsx +0 -203
  719. package/src/constructors/Image/ImageFile.ts +0 -126
  720. package/src/constructors/Image/ImageImg.ts +0 -218
  721. package/src/constructors/Image/ImageInclude.ts +0 -53
  722. package/src/constructors/Image/ImagePdf.ts +0 -44
  723. package/src/constructors/Image/ImagePosition.ts +0 -49
  724. package/src/constructors/Image/ImageType.ts +0 -83
  725. package/src/constructors/Image/basicTypes.ts +0 -75
  726. package/src/constructors/Image/index.ts +0 -5
  727. package/src/constructors/Image/properties.json +0 -17
  728. package/src/constructors/Image/props.ts +0 -93
  729. package/src/constructors/Image/types.ts +0 -49
  730. package/src/constructors/Input/Input.ts +0 -146
  731. package/src/constructors/Input/InputDesign.tsx +0 -174
  732. package/src/constructors/Input/InputPassword.ts +0 -54
  733. package/src/constructors/Input/basicTypes.ts +0 -3
  734. package/src/constructors/Input/index.ts +0 -5
  735. package/src/constructors/Input/properties.json +0 -2
  736. package/src/constructors/Input/props.ts +0 -53
  737. package/src/constructors/Input/types.ts +0 -48
  738. package/src/constructors/List/List.ts +0 -292
  739. package/src/constructors/List/ListControl.ts +0 -194
  740. package/src/constructors/List/ListDesign.tsx +0 -403
  741. package/src/constructors/List/ListFocus.ts +0 -196
  742. package/src/constructors/List/ListGo.ts +0 -285
  743. package/src/constructors/List/ListSearch.ts +0 -113
  744. package/src/constructors/List/basicTypes.ts +0 -3
  745. package/src/constructors/List/index.ts +0 -5
  746. package/src/constructors/List/properties.json +0 -16
  747. package/src/constructors/List/props.ts +0 -83
  748. package/src/constructors/List/types.ts +0 -66
  749. package/src/constructors/ListGroup/ListGroup.ts +0 -53
  750. package/src/constructors/ListGroup/ListGroupDesign.tsx +0 -185
  751. package/src/constructors/ListGroup/ListGroupOpen.ts +0 -56
  752. package/src/constructors/ListGroup/basicTypes.ts +0 -10
  753. package/src/constructors/ListGroup/index.ts +0 -5
  754. package/src/constructors/ListGroup/properties.json +0 -15
  755. package/src/constructors/ListGroup/props.ts +0 -30
  756. package/src/constructors/ListGroup/types.ts +0 -52
  757. package/src/constructors/ListItem/ListItem.ts +0 -175
  758. package/src/constructors/ListItem/ListItemDesign.tsx +0 -199
  759. package/src/constructors/ListItem/basicTypes.ts +0 -3
  760. package/src/constructors/ListItem/index.ts +0 -5
  761. package/src/constructors/ListItem/properties.json +0 -52
  762. package/src/constructors/ListItem/props.ts +0 -87
  763. package/src/constructors/ListItem/types.ts +0 -78
  764. package/src/constructors/ListMenu/ListMenu.ts +0 -53
  765. package/src/constructors/ListMenu/ListMenuDesign.tsx +0 -127
  766. package/src/constructors/ListMenu/basicTypes.ts +0 -3
  767. package/src/constructors/ListMenu/index.ts +0 -5
  768. package/src/constructors/ListMenu/properties.json +0 -19
  769. package/src/constructors/ListMenu/props.ts +0 -34
  770. package/src/constructors/ListMenu/types.ts +0 -54
  771. package/src/constructors/Mask/Mask.ts +0 -321
  772. package/src/constructors/Mask/MaskBuffer.ts +0 -89
  773. package/src/constructors/Mask/MaskCharacter.ts +0 -192
  774. package/src/constructors/Mask/MaskCharacterLength.ts +0 -40
  775. package/src/constructors/Mask/MaskData.ts +0 -287
  776. package/src/constructors/Mask/MaskDate.ts +0 -157
  777. package/src/constructors/Mask/MaskDesign.tsx +0 -222
  778. package/src/constructors/Mask/MaskEmit.ts +0 -140
  779. package/src/constructors/Mask/MaskEvent.ts +0 -386
  780. package/src/constructors/Mask/MaskFocus.ts +0 -49
  781. package/src/constructors/Mask/MaskFormat.ts +0 -216
  782. package/src/constructors/Mask/MaskInclude.ts +0 -147
  783. package/src/constructors/Mask/MaskItem.ts +0 -218
  784. package/src/constructors/Mask/MaskMatch.ts +0 -73
  785. package/src/constructors/Mask/MaskPattern.ts +0 -123
  786. package/src/constructors/Mask/MaskRight.ts +0 -43
  787. package/src/constructors/Mask/MaskRubber.ts +0 -156
  788. package/src/constructors/Mask/MaskRubberItem.ts +0 -96
  789. package/src/constructors/Mask/MaskRubberTransition.ts +0 -50
  790. package/src/constructors/Mask/MaskSelection.ts +0 -208
  791. package/src/constructors/Mask/MaskSpecial.ts +0 -179
  792. package/src/constructors/Mask/MaskType.ts +0 -103
  793. package/src/constructors/Mask/MaskValidation.ts +0 -102
  794. package/src/constructors/Mask/MaskValue.ts +0 -225
  795. package/src/constructors/Mask/MaskValueBasic.ts +0 -87
  796. package/src/constructors/Mask/MaskView.ts +0 -169
  797. package/src/constructors/Mask/basicTypes.ts +0 -67
  798. package/src/constructors/Mask/index.ts +0 -5
  799. package/src/constructors/Mask/properties.json +0 -30
  800. package/src/constructors/Mask/props.ts +0 -70
  801. package/src/constructors/Mask/types.ts +0 -71
  802. package/src/constructors/Menu/Menu.ts +0 -191
  803. package/src/constructors/Menu/MenuDesign.tsx +0 -244
  804. package/src/constructors/Menu/MenuGo.ts +0 -72
  805. package/src/constructors/Menu/MenuInclude.ts +0 -120
  806. package/src/constructors/Menu/MenuRequest.ts +0 -101
  807. package/src/constructors/Menu/MenuSearch.ts +0 -68
  808. package/src/constructors/Menu/MenuValue.ts +0 -77
  809. package/src/constructors/Menu/MenuWindow.ts +0 -90
  810. package/src/constructors/Menu/basicTypes.ts +0 -58
  811. package/src/constructors/Menu/index.ts +0 -6
  812. package/src/constructors/Menu/properties.json +0 -17
  813. package/src/constructors/Menu/props.ts +0 -91
  814. package/src/constructors/Menu/types.ts +0 -69
  815. package/src/constructors/Modal/Modal.ts +0 -53
  816. package/src/constructors/Modal/ModalAbstract.ts +0 -74
  817. package/src/constructors/Modal/ModalDesign.tsx +0 -63
  818. package/src/constructors/Modal/ModalDesignAbstract.tsx +0 -226
  819. package/src/constructors/Modal/basicTypes.ts +0 -0
  820. package/src/constructors/Modal/index.ts +0 -5
  821. package/src/constructors/Modal/properties.json +0 -17
  822. package/src/constructors/Modal/props.ts +0 -45
  823. package/src/constructors/Modal/types.ts +0 -62
  824. package/src/constructors/MotionTransform/MotionTransform.ts +0 -144
  825. package/src/constructors/MotionTransform/MotionTransformClassesInclude.ts +0 -38
  826. package/src/constructors/MotionTransform/MotionTransformDesign.tsx +0 -276
  827. package/src/constructors/MotionTransform/MotionTransformElement.ts +0 -225
  828. package/src/constructors/MotionTransform/MotionTransformEvent.ts +0 -118
  829. package/src/constructors/MotionTransform/MotionTransformGo.ts +0 -47
  830. package/src/constructors/MotionTransform/MotionTransformInclude.ts +0 -124
  831. package/src/constructors/MotionTransform/MotionTransformSize.ts +0 -97
  832. package/src/constructors/MotionTransform/MotionTransformState.ts +0 -255
  833. package/src/constructors/MotionTransform/basicTypes.ts +0 -137
  834. package/src/constructors/MotionTransform/index.ts +0 -7
  835. package/src/constructors/MotionTransform/properties.json +0 -35
  836. package/src/constructors/MotionTransform/props.ts +0 -56
  837. package/src/constructors/MotionTransform/types.ts +0 -86
  838. package/src/constructors/Progress/Progress.ts +0 -194
  839. package/src/constructors/Progress/ProgressDesign.tsx +0 -197
  840. package/src/constructors/Progress/ProgressInclude.ts +0 -79
  841. package/src/constructors/Progress/basicTypes.ts +0 -12
  842. package/src/constructors/Progress/index.ts +0 -6
  843. package/src/constructors/Progress/properties.json +0 -47
  844. package/src/constructors/Progress/props.ts +0 -58
  845. package/src/constructors/Progress/types.ts +0 -43
  846. package/src/constructors/Ripple/Ripple.ts +0 -46
  847. package/src/constructors/Ripple/RippleDesign.tsx +0 -115
  848. package/src/constructors/Ripple/RippleInclude.ts +0 -39
  849. package/src/constructors/Ripple/RippleItem.ts +0 -62
  850. package/src/constructors/Ripple/basicTypes.ts +0 -3
  851. package/src/constructors/Ripple/index.ts +0 -6
  852. package/src/constructors/Ripple/properties.json +0 -9
  853. package/src/constructors/Ripple/props.ts +0 -28
  854. package/src/constructors/Ripple/types.ts +0 -41
  855. package/src/constructors/Scrollbar/Scrollbar.ts +0 -66
  856. package/src/constructors/Scrollbar/ScrollbarBorder.ts +0 -243
  857. package/src/constructors/Scrollbar/ScrollbarDesign.tsx +0 -126
  858. package/src/constructors/Scrollbar/ScrollbarInclude.ts +0 -80
  859. package/src/constructors/Scrollbar/basicTypes.ts +0 -42
  860. package/src/constructors/Scrollbar/index.ts +0 -5
  861. package/src/constructors/Scrollbar/properties.json +0 -33
  862. package/src/constructors/Scrollbar/props.ts +0 -37
  863. package/src/constructors/Scrollbar/types.ts +0 -52
  864. package/src/constructors/Section/Section.ts +0 -33
  865. package/src/constructors/Section/SectionDesign.tsx +0 -127
  866. package/src/constructors/Section/basicTypes.ts +0 -0
  867. package/src/constructors/Section/index.ts +0 -5
  868. package/src/constructors/Section/properties.json +0 -2
  869. package/src/constructors/Section/props.ts +0 -29
  870. package/src/constructors/Section/types.ts +0 -47
  871. package/src/constructors/Select/Select.ts +0 -172
  872. package/src/constructors/Select/SelectDesign.tsx +0 -288
  873. package/src/constructors/Select/SelectFilter.ts +0 -43
  874. package/src/constructors/Select/SelectInput.ts +0 -68
  875. package/src/constructors/Select/basicTypes.ts +0 -0
  876. package/src/constructors/Select/index.ts +0 -5
  877. package/src/constructors/Select/properties.json +0 -3
  878. package/src/constructors/Select/props.ts +0 -63
  879. package/src/constructors/Select/types.ts +0 -53
  880. package/src/constructors/SelectValue/SelectValue.ts +0 -95
  881. package/src/constructors/SelectValue/SelectValueDesign.tsx +0 -198
  882. package/src/constructors/SelectValue/SelectValueInclude.ts +0 -92
  883. package/src/constructors/SelectValue/basicTypes.ts +0 -17
  884. package/src/constructors/SelectValue/index.ts +0 -6
  885. package/src/constructors/SelectValue/properties.json +0 -7
  886. package/src/constructors/SelectValue/props.ts +0 -48
  887. package/src/constructors/SelectValue/types.ts +0 -47
  888. package/src/constructors/Skeleton/Skeleton.ts +0 -84
  889. package/src/constructors/Skeleton/SkeletonDesign.tsx +0 -123
  890. package/src/constructors/Skeleton/SkeletonInclude.ts +0 -66
  891. package/src/constructors/Skeleton/basicTypes.ts +0 -16
  892. package/src/constructors/Skeleton/const.ts +0 -1
  893. package/src/constructors/Skeleton/index.ts +0 -6
  894. package/src/constructors/Skeleton/properties.json +0 -24
  895. package/src/constructors/Skeleton/props.ts +0 -28
  896. package/src/constructors/Skeleton/types.ts +0 -46
  897. package/src/constructors/TextareaAutosize/TextareaAutosize.ts +0 -41
  898. package/src/constructors/TextareaAutosize/TextareaAutosizeDesign.tsx +0 -147
  899. package/src/constructors/TextareaAutosize/TextareaAutosizeResize.ts +0 -109
  900. package/src/constructors/TextareaAutosize/TextareaAutosizeValue.ts +0 -69
  901. package/src/constructors/TextareaAutosize/basicTypes.ts +0 -0
  902. package/src/constructors/TextareaAutosize/index.ts +0 -5
  903. package/src/constructors/TextareaAutosize/properties.json +0 -6
  904. package/src/constructors/TextareaAutosize/props.ts +0 -34
  905. package/src/constructors/TextareaAutosize/types.ts +0 -50
  906. package/src/constructors/Tooltip/Tooltip.ts +0 -138
  907. package/src/constructors/Tooltip/TooltipClasses.ts +0 -90
  908. package/src/constructors/Tooltip/TooltipDesign.tsx +0 -198
  909. package/src/constructors/Tooltip/TooltipEvent.ts +0 -103
  910. package/src/constructors/Tooltip/TooltipInclude.ts +0 -114
  911. package/src/constructors/Tooltip/TooltipOpen.ts +0 -128
  912. package/src/constructors/Tooltip/TooltipPosition.ts +0 -92
  913. package/src/constructors/Tooltip/TooltipStatus.ts +0 -97
  914. package/src/constructors/Tooltip/TooltipStyle.ts +0 -123
  915. package/src/constructors/Tooltip/basicTypes.ts +0 -39
  916. package/src/constructors/Tooltip/index.ts +0 -6
  917. package/src/constructors/Tooltip/properties.json +0 -14
  918. package/src/constructors/Tooltip/props.ts +0 -49
  919. package/src/constructors/Tooltip/types.ts +0 -58
  920. package/src/constructors/Window/Window.ts +0 -248
  921. package/src/constructors/Window/WindowClasses.ts +0 -213
  922. package/src/constructors/Window/WindowClassesInclude.ts +0 -39
  923. package/src/constructors/Window/WindowClient.ts +0 -132
  924. package/src/constructors/Window/WindowCoordinates.ts +0 -257
  925. package/src/constructors/Window/WindowDesign.tsx +0 -295
  926. package/src/constructors/Window/WindowElement.ts +0 -84
  927. package/src/constructors/Window/WindowEmit.ts +0 -52
  928. package/src/constructors/Window/WindowEsc.ts +0 -114
  929. package/src/constructors/Window/WindowEvent.ts +0 -157
  930. package/src/constructors/Window/WindowFlash.ts +0 -70
  931. package/src/constructors/Window/WindowHidden.ts +0 -120
  932. package/src/constructors/Window/WindowHook.ts +0 -110
  933. package/src/constructors/Window/WindowInclude.ts +0 -134
  934. package/src/constructors/Window/WindowOpen.ts +0 -301
  935. package/src/constructors/Window/WindowOrigin.ts +0 -89
  936. package/src/constructors/Window/WindowPersistent.ts +0 -89
  937. package/src/constructors/Window/WindowPosition.ts +0 -358
  938. package/src/constructors/Window/WindowStatic.ts +0 -104
  939. package/src/constructors/Window/WindowStatus.ts +0 -138
  940. package/src/constructors/Window/WindowStyles.ts +0 -78
  941. package/src/constructors/Window/WindowVerification.ts +0 -290
  942. package/src/constructors/Window/basicTypes.ts +0 -196
  943. package/src/constructors/Window/index.ts +0 -7
  944. package/src/constructors/Window/properties.json +0 -239
  945. package/src/constructors/Window/props.ts +0 -97
  946. package/src/constructors/Window/types.ts +0 -124
  947. package/src/functions/getClassTagAStatic.ts +0 -8
  948. package/src/library.ts +0 -48
  949. package/src/types/ariaTypes.ts +0 -366
  950. package/src/types/captionTypes.ts +0 -15
  951. package/src/types/descriptionTypes.ts +0 -23
  952. package/src/types/enabledTypes.ts +0 -9
  953. package/src/types/eventClickTypes.ts +0 -51
  954. package/src/types/fieldTypes.ts +0 -386
  955. package/src/types/labelTypes.ts +0 -69
  956. package/src/types/modelTypes.ts +0 -39
  957. package/src/types/prefixTypes.ts +0 -15
  958. package/src/types/roleTypes.ts +0 -88
  959. package/src/types/suffixTypes.ts +0 -15
  960. package/src/types/textTypes.ts +0 -33
  961. package/src/types/touchEventTypes.ts +0 -43
  962. package/src/vite-env.d.ts +0 -1
package/dist/window.js ADDED
@@ -0,0 +1,1974 @@
1
+ var k = Object.defineProperty;
2
+ var W = (h, t, e) => t in h ? k(h, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : h[t] = e;
3
+ var i = (h, t, e) => W(h, typeof t != "symbol" ? t + "" : t, e);
4
+ import { h as p, computed as m, ref as v, watch as f, onMounted as I, onUnmounted as T, Teleport as O } from "vue";
5
+ import { toBind as H, getBind as E, getRef as A, executePromise as y, getElement as x, isDomRuntime as b, EventItem as B, setRef as $, frame as P, getMouseClientX as D, getMouseClientY as N, DesignConstructorAbstract as R } from "@dxtmisha/functional";
6
+ import { A as w } from "./AriaStaticInclude-CFGewqpn.js";
7
+ import { M as L } from "./ModelInclude-BiYm_iCQ.js";
8
+ import { T as Y } from "./TabIndexInclude-d7A_R6KD.js";
9
+ import { T as F } from "./TextInclude-i1OBAFTG.js";
10
+ import { a as c, _ as C, b as X } from "./WindowClassesInclude-B56usxgx.js";
11
+ import { W as xt } from "./WindowClassesInclude-B56usxgx.js";
12
+ import { W as _ } from "./WindowEsc-Dp9AvJt7.js";
13
+ import { W as Mt } from "./WindowInclude-Is5RhGxt.js";
14
+ class q {
15
+ /**
16
+ * Constructor
17
+ * @param props input parameter/ входной параметр
18
+ * @param className class name/ название класса
19
+ * @param components object for working with components/ объект для работы с компонентами
20
+ * @param emits the function is called when an event is triggered/ функция вызывается, когда срабатывает событие
21
+ */
22
+ constructor(t, e, s, n) {
23
+ this.props = t, this.className = e, this.components = s, this.emits = n;
24
+ }
25
+ /**
26
+ * Renders scrollbar component or fallback element
27
+ * Рендерит компонент скроллбара или элемент по умолчанию
28
+ */
29
+ render(t, e, s) {
30
+ var n;
31
+ if (this.components) {
32
+ const o = this.components.renderOne(
33
+ "scrollbar",
34
+ H(
35
+ {
36
+ tag: t,
37
+ class: `${this.className}__scrollbar`,
38
+ ...e != null ? e : {},
39
+ ...this.getScrollbarEvents()
40
+ },
41
+ (n = this.props.scrollbarAttrs) != null ? n : {}
42
+ ),
43
+ s
44
+ );
45
+ if (o)
46
+ return [o];
47
+ }
48
+ return [p(t, e, s)];
49
+ }
50
+ /**
51
+ * Returns event handlers for scrollbar
52
+ * Возвращает обработчики событий для скроллбара
53
+ */
54
+ getScrollbarEvents() {
55
+ return {
56
+ onTop: (t) => {
57
+ var e;
58
+ return (e = this.emits) == null ? void 0 : e.call(this, "scrollbarTop", t);
59
+ },
60
+ onReachTop: () => {
61
+ var t;
62
+ return (t = this.emits) == null ? void 0 : t.call(this, "scrollbarReachTop");
63
+ },
64
+ onLeaveTop: () => {
65
+ var t;
66
+ return (t = this.emits) == null ? void 0 : t.call(this, "scrollbarLeaveTop");
67
+ },
68
+ onBottom: (t) => {
69
+ var e;
70
+ return (e = this.emits) == null ? void 0 : e.call(this, "scrollbarBottom", t);
71
+ },
72
+ onReachBottom: () => {
73
+ var t;
74
+ return (t = this.emits) == null ? void 0 : t.call(this, "scrollbarReachBottom");
75
+ },
76
+ onLeaveBottom: () => {
77
+ var t;
78
+ return (t = this.emits) == null ? void 0 : t.call(this, "scrollbarLeaveBottom");
79
+ },
80
+ onEdge: (t, e, s) => {
81
+ var n;
82
+ return (n = this.emits) == null ? void 0 : n.call(this, "scrollbarEdge", t, e, s);
83
+ }
84
+ };
85
+ }
86
+ }
87
+ class U {
88
+ /**
89
+ * Constructor for working with images.
90
+ *
91
+ * Конструктор для работы с изображениями.
92
+ * @param props input parameter/ входной параметр
93
+ * @param components object for working with components/ объект для работы с компонентами
94
+ * @param emits the function is called when an event is triggered/ функция вызывается, когда срабатывает событие
95
+ * @param extra additional parameter/ дополнительный параметр
96
+ */
97
+ constructor(t, e, s, n) {
98
+ /**
99
+ * Проверяет, есть ли изображение/ Checks if an image exists
100
+ */
101
+ i(this, "isImage", m(() => !!this.props.image));
102
+ /**
103
+ * Возвращает данные для передачи компоненту/ Returns data to pass to the component
104
+ */
105
+ i(this, "bind", m(() => E(this.props.image, A(this.extra), "value")));
106
+ this.props = t, this.components = e, this.emits = s, this.extra = n;
107
+ }
108
+ render() {
109
+ return this.components && this.isImage.value ? this.components.render("image", this.bind.value) : [];
110
+ }
111
+ onLoad(t) {
112
+ var e;
113
+ (e = this.emits) == null || e.call(this, "load", t);
114
+ }
115
+ }
116
+ const g = -1;
117
+ class V {
118
+ constructor(t) {
119
+ i(this, "x", g);
120
+ i(this, "y", g);
121
+ this.element = t;
122
+ }
123
+ /**
124
+ * Checks if the button was pressed.
125
+ *
126
+ * Проверяет, было ли нажатие на кнопку.
127
+ */
128
+ is() {
129
+ return this.x !== g && this.y !== g;
130
+ }
131
+ /**
132
+ * Checks if the coordinates are at the origin (0,0).
133
+ *
134
+ * Проверяет, находятся ли координаты в начале координат (0,0).
135
+ */
136
+ isZero() {
137
+ return this.x === 0 && this.y === 0;
138
+ }
139
+ /**
140
+ * Returns the X coordinate.
141
+ *
142
+ * Возвращает координату X.
143
+ */
144
+ getX() {
145
+ return this.x;
146
+ }
147
+ /**
148
+ * Returns the Y coordinate.
149
+ *
150
+ * Возвращает координату Y.
151
+ */
152
+ getY() {
153
+ return this.y;
154
+ }
155
+ /**
156
+ * Returns the shift along the X coordinate.
157
+ *
158
+ * Возвращает сдвиг по координате X.
159
+ */
160
+ getShiftX(t) {
161
+ return this.x - t;
162
+ }
163
+ /**
164
+ * Returns the shift along the Y coordinate.
165
+ *
166
+ * Возвращает сдвиг по координате Y.
167
+ */
168
+ getShiftY(t) {
169
+ return this.y - t;
170
+ }
171
+ /**
172
+ * Changes the coordinates.
173
+ *
174
+ * Изменяет координаты.
175
+ * @param x value of X/ значение X
176
+ * @param y value of Y/ значение Y
177
+ */
178
+ set(t, e) {
179
+ return this.x = t, this.y = e, this;
180
+ }
181
+ /**
182
+ * Resets all data to initial values.
183
+ *
184
+ * Сбрасывает все данные к начальным значениям.
185
+ */
186
+ reset() {
187
+ return this.x = g, this.y = g, this;
188
+ }
189
+ /**
190
+ * The method updates the current position.
191
+ *
192
+ * Метод обновляет текущее положение.
193
+ */
194
+ update() {
195
+ if (this.is() && this.isZero()) {
196
+ const t = this.element.getControlRect();
197
+ t && this.set(
198
+ t.left + t.width / 2,
199
+ t.top + t.height / 2
200
+ );
201
+ }
202
+ return this;
203
+ }
204
+ }
205
+ class G {
206
+ /**
207
+ * Constructor
208
+ * @param props input data/ входные данные
209
+ */
210
+ constructor(t) {
211
+ this.props = t;
212
+ }
213
+ /**
214
+ * Hook for preparing elements before opening/closing.
215
+ *
216
+ * Хук для подготовки элементов перед открытием/закрытием.
217
+ */
218
+ async preparation() {
219
+ this.props.preparation && await y(this.props.preparation);
220
+ }
221
+ /**
222
+ * Hook before opening/closing.
223
+ *
224
+ * Хук перед открытием/закрытием.
225
+ * @param open current state of the window/ текущее состояние окна
226
+ */
227
+ async before(t) {
228
+ return t ? await this.beforeOpening() : await this.beforeClosing();
229
+ }
230
+ /**
231
+ * Hook before opening.
232
+ *
233
+ * Хук перед открытием.
234
+ */
235
+ async beforeOpening() {
236
+ return this.props.beforeOpening ? await y(this.props.beforeOpening) : !0;
237
+ }
238
+ /**
239
+ * Hook before closing.
240
+ *
241
+ * Хук перед закрытием.
242
+ */
243
+ async beforeClosing() {
244
+ return this.props.beforeClosing ? await y(this.props.beforeClosing) : !0;
245
+ }
246
+ /**
247
+ * Hook after opening/closing.
248
+ *
249
+ * Хук после открытия/закрытия.
250
+ * @param open current state of the window/ текущее состояние окна
251
+ */
252
+ async after(t) {
253
+ return t ? await this.opening() : await this.closing();
254
+ }
255
+ /**
256
+ * Hook after opening.
257
+ *
258
+ * Хук после открытия.
259
+ */
260
+ async opening() {
261
+ return this.props.opening ? await y(this.props.opening) : !1;
262
+ }
263
+ /**
264
+ * Hook after closing.
265
+ *
266
+ * Хук после закрытия.
267
+ */
268
+ async closing() {
269
+ return this.props.closing ? await y(this.props.closing) : !1;
270
+ }
271
+ }
272
+ class j {
273
+ /**
274
+ * Constructor
275
+ * @param classes an object for working with classes and searching for elements/ объект для работы с классами и поиском элементов
276
+ * @param element the element of the window itself/ элемент самого окна
277
+ */
278
+ constructor(t, e) {
279
+ this.classes = t, this.element = e;
280
+ }
281
+ /**
282
+ * Checks if the main element exists.
283
+ *
284
+ * Проверяет, есть ли главный элемент.
285
+ */
286
+ isMain() {
287
+ return !!this.element.value;
288
+ }
289
+ /**
290
+ * Returns the main element.
291
+ *
292
+ * Возвращает главного элемента.
293
+ */
294
+ getMain() {
295
+ return this.element.value;
296
+ }
297
+ /**
298
+ * Returns the control element of the current component.
299
+ *
300
+ * Возвращает элемент управления текущего компонента.
301
+ */
302
+ getControl() {
303
+ return this.classes.findControl();
304
+ }
305
+ /**
306
+ * Returns the dimensions of the control element.
307
+ *
308
+ * Возвращает размеры элемента управления.
309
+ */
310
+ getControlRect() {
311
+ var t;
312
+ return ((t = this.getControl()) == null ? void 0 : t.getBoundingClientRect()) || void 0;
313
+ }
314
+ /**
315
+ * Returns the body element of the window.
316
+ *
317
+ * Возвращает элемент тела окна.
318
+ */
319
+ getBody() {
320
+ return this.classes.findBody();
321
+ }
322
+ /**
323
+ * Returns the dimensions of the window's body element.
324
+ *
325
+ * Возвращает размеры элемента тела окна.
326
+ */
327
+ getBodyRect() {
328
+ var t;
329
+ return ((t = this.getBody()) == null ? void 0 : t.getBoundingClientRect()) || void 0;
330
+ }
331
+ /**
332
+ * Returns the window context element.
333
+ *
334
+ * Возвращает элемент контекста окна.
335
+ */
336
+ getBodyContext() {
337
+ return this.classes.findBodyContext();
338
+ }
339
+ }
340
+ class Z {
341
+ /**
342
+ * Constructor
343
+ * @param element an object of the class for working with elements/ объект класса для работы с элементами
344
+ */
345
+ constructor(t) {
346
+ i(this, "item", v(c.close));
347
+ this.element = t;
348
+ }
349
+ /**
350
+ * Checks if the current status is closed (hide).
351
+ *
352
+ * Проверяет, является ли текущий статус закрытым (hide).
353
+ */
354
+ isHide() {
355
+ return this.item.value === c.hide;
356
+ }
357
+ /**
358
+ * Checks if the current status is open (open/flash).
359
+ *
360
+ * Проверяет, является ли текущий статус открытым (open/flash).
361
+ */
362
+ isOpen() {
363
+ return this.item.value === c.open || this.item.value === c.flash;
364
+ }
365
+ /**
366
+ * Change the current status.
367
+ *
368
+ * Изменить текущий статус.
369
+ * @param value value/ значение
370
+ */
371
+ set(t) {
372
+ return this.item.value = t, this.update(), this;
373
+ }
374
+ /**
375
+ * Translates status to display.
376
+ *
377
+ * Переводит статус в display.
378
+ */
379
+ toDisplay() {
380
+ return this.set(c.display), this;
381
+ }
382
+ /**
383
+ * Translates status to preparation.
384
+ *
385
+ * Переводит статус в preparation.
386
+ */
387
+ toPreparation() {
388
+ return this.set(c.preparation), this;
389
+ }
390
+ /**
391
+ * Translates status to flash.
392
+ *
393
+ * Переводит статус в flash.
394
+ */
395
+ toFlash() {
396
+ return this.set(c.flash), this;
397
+ }
398
+ /**
399
+ * Translates status to open.
400
+ *
401
+ * Переводит статус в open.
402
+ */
403
+ toOpen() {
404
+ return this.set(c.open), this;
405
+ }
406
+ /**
407
+ * Translates status to hide.
408
+ *
409
+ * Переводит статус в hide.
410
+ */
411
+ toHide() {
412
+ return this.set(c.hide), this;
413
+ }
414
+ /**
415
+ * Translates status to close.
416
+ *
417
+ * Переводит статус в close.
418
+ */
419
+ toClose() {
420
+ return this.set(c.close), this;
421
+ }
422
+ /**
423
+ * Updates the data-status attribute on the main element and teleport element.
424
+ *
425
+ * Обновляет атрибут data-status на основном элементе и элементе телепорта.
426
+ */
427
+ update() {
428
+ const t = this.element.getMain();
429
+ if (t) {
430
+ const e = t.parentElement;
431
+ t.dataset.status = this.item.value, e && e.dataset.windowTeleport && (e.dataset.status = this.item.value);
432
+ }
433
+ }
434
+ }
435
+ class z {
436
+ /**
437
+ * Constructor
438
+ * @param props input data/ входные данные
439
+ * @param classes an object for working with classes and searching for elements/ объект для работы с классами и поиском элементов
440
+ * @param element an object of the class for working with elements/ объект класса для работы с элементами
441
+ */
442
+ constructor(t, e, s) {
443
+ i(this, "item", v(!1));
444
+ /**
445
+ * Event of the animation end of the closing prohibition.
446
+ *
447
+ * Событие окончания анимации запрета на закрытие.
448
+ */
449
+ i(this, "onTransitionend", () => {
450
+ this.removeEvent(), this.disabled();
451
+ });
452
+ this.props = t, this.classes = e, this.element = s, f(this.item, (n) => {
453
+ const o = this.element.getMain();
454
+ o && (n ? (this.removeEvent(), o.classList.add(this.classes.list.persistent), o.addEventListener("animationend", this.onTransitionend)) : o.classList.remove(this.classes.list.persistent));
455
+ });
456
+ }
457
+ /**
458
+ * Request to enable animation.
459
+ *
460
+ * Запрос на включение анимации.
461
+ */
462
+ on() {
463
+ return this.props.persistent ? (this.item.value = !0, !0) : !1;
464
+ }
465
+ /**
466
+ * Request to disable animation.
467
+ *
468
+ * Запрос на выключение анимации.
469
+ */
470
+ disabled() {
471
+ return this.item.value && (this.item.value = !1), this;
472
+ }
473
+ /**
474
+ * Removes the event of the end of the animation.
475
+ *
476
+ * Удаляет событие окончания анимации.
477
+ */
478
+ removeEvent() {
479
+ var t;
480
+ (t = this.element.getMain()) == null || t.removeEventListener("animationend", this.onTransitionend);
481
+ }
482
+ }
483
+ class K {
484
+ /**
485
+ * Constructor
486
+ * @param props input data/ входные данные
487
+ * @param classes an object for working with classes and searching for elements/ объект для работы с классами и поиском элементов
488
+ */
489
+ constructor(t, e) {
490
+ i(this, "control", !1);
491
+ this.props = t, this.classes = e;
492
+ }
493
+ /**
494
+ * Is the flash property active.
495
+ *
496
+ * Активно ли свойство flash.
497
+ */
498
+ is() {
499
+ return !!this.props.flash;
500
+ }
501
+ /**
502
+ * Checks whether the animation needs to be disabled.
503
+ *
504
+ * Проверяет, надо ли отключить анимацию.
505
+ */
506
+ isOpen() {
507
+ return this.is() || this.control;
508
+ }
509
+ /**
510
+ * Checks whether the animation needs to be disabled when closing.
511
+ *
512
+ * Проверяет, надо ли отключить анимацию при закрытии.
513
+ */
514
+ isClose() {
515
+ return this.is() || !!document.querySelector(`.${this.classes.getClassStatus(c.hide)}`);
516
+ }
517
+ /**
518
+ * Change the value of the control parameter.
519
+ *
520
+ * Изменить значение параметра control.
521
+ * @param target the element that gets focus on click/ элемент, который получает фокус при клике
522
+ */
523
+ setControl(t) {
524
+ var e;
525
+ return this.control = ((e = t == null ? void 0 : t.closest(`.${this.classes.list.control}`)) == null ? void 0 : e.dataset.window) === this.classes.getId(), this;
526
+ }
527
+ }
528
+ class J {
529
+ /**
530
+ * Constructor
531
+ * @param classes an object for working with classes and searching for elements/ объект для работы с классами и поиском элементов
532
+ * @param element an object of the class for working with elements/ объект класса для работы с элементами
533
+ */
534
+ constructor(t, e) {
535
+ i(this, "top", 0);
536
+ i(this, "right", 0);
537
+ i(this, "bottom", 0);
538
+ i(this, "left", 0);
539
+ i(this, "width", 0);
540
+ i(this, "height", 0);
541
+ i(this, "innerWidth", 0);
542
+ i(this, "innerHeight", 0);
543
+ i(this, "controlWidth", 0);
544
+ i(this, "controlHeight", 0);
545
+ i(this, "padding", 0);
546
+ i(this, "location", "");
547
+ this.classes = t, this.element = e;
548
+ }
549
+ /**
550
+ * Returns the distance from the top point.
551
+ *
552
+ * Возвращает расстояние от верхней точки.
553
+ */
554
+ getTop() {
555
+ return this.top;
556
+ }
557
+ /**
558
+ * Returns the distance from the right point.
559
+ *
560
+ * Возвращает расстояние от правой точки.
561
+ */
562
+ getRight() {
563
+ return this.right;
564
+ }
565
+ /**
566
+ * Returns the distance from the lower point.
567
+ *
568
+ * Возвращает расстояние от нижней точки.
569
+ */
570
+ getBottom() {
571
+ return this.bottom;
572
+ }
573
+ /**
574
+ * Returns the distance from the left point.
575
+ *
576
+ * Возвращает расстояние от левой точки.
577
+ */
578
+ getLeft() {
579
+ return this.left;
580
+ }
581
+ /**
582
+ * Returns the width of the element.
583
+ *
584
+ * Возвращает ширину элемента.
585
+ */
586
+ getWidth() {
587
+ return this.width;
588
+ }
589
+ /**
590
+ * Returns the height of the element.
591
+ *
592
+ * Возвращает высоту элемента.
593
+ */
594
+ getHeight() {
595
+ return this.height;
596
+ }
597
+ /**
598
+ * Returns the width of the window.
599
+ *
600
+ * Возвращает ширину окна.
601
+ */
602
+ getInnerWidth() {
603
+ return this.innerWidth;
604
+ }
605
+ /**
606
+ * Returns the height of the window.
607
+ *
608
+ * Возвращает высоту окна.
609
+ */
610
+ getInnerHeight() {
611
+ return this.innerHeight;
612
+ }
613
+ /**
614
+ * Returns the width of the control element.
615
+ *
616
+ * Возвращает ширину элемента управления.
617
+ */
618
+ getControlWidth() {
619
+ return this.controlWidth;
620
+ }
621
+ /**
622
+ * Returns the height of the control element.
623
+ *
624
+ * Возвращает высоту элемента управления.
625
+ */
626
+ getControlHeight() {
627
+ return this.controlHeight;
628
+ }
629
+ /**
630
+ * Returns the margins of the element.
631
+ *
632
+ * Возвращает отступы у элемента.
633
+ */
634
+ getPadding() {
635
+ return this.padding;
636
+ }
637
+ /**
638
+ * Returns the values of the element's position.
639
+ *
640
+ * Возвращает значения положения элемента.
641
+ */
642
+ getLocation() {
643
+ return this.location;
644
+ }
645
+ /**
646
+ * Returns the maximum height of the body.
647
+ *
648
+ * Возвращает максимальную высоту у body.
649
+ */
650
+ getMaxHeight() {
651
+ return window.innerHeight - this.padding * 2;
652
+ }
653
+ /**
654
+ * Data updates.
655
+ *
656
+ * Обновления данных.
657
+ */
658
+ update() {
659
+ const t = this.element.getMain(), e = this.element.getControlRect();
660
+ return t && e && (this.top !== e.top || this.right !== e.right || this.bottom !== e.bottom || this.left !== e.left || this.width !== t.offsetWidth || this.height !== t.offsetHeight || this.innerWidth !== window.innerWidth || this.innerHeight !== window.innerHeight) ? (this.top = e.top, this.right = e.right, this.bottom = e.bottom, this.left = e.left, this.width = t.offsetWidth, this.height = t.offsetHeight, this.innerWidth = window.innerWidth, this.innerHeight = window.innerHeight, this.controlWidth = e.width, this.controlHeight = e.height, this.padding = this.initPadding(), this.location = this.initLocation(e.top + e.height / 2), !0) : !1;
661
+ }
662
+ /**
663
+ * Resets all data to initial values.
664
+ *
665
+ * Сбрасывает все данные к начальным значениям.
666
+ */
667
+ reset() {
668
+ return this.top = 0, this.right = 0, this.bottom = 0, this.left = 0, this.width = 0, this.height = 0, this.innerWidth = 0, this.innerHeight = 0, this;
669
+ }
670
+ /**
671
+ * Initializes padding value from computed styles.
672
+ *
673
+ * Инициализирует значение отступов из вычисленных стилей.
674
+ */
675
+ initPadding() {
676
+ const t = this.element.getMain();
677
+ let e = 0;
678
+ if (t) {
679
+ const s = getComputedStyle(t), n = s.paddingTop.replace(/[^0-9]+/g, ""), o = s.paddingBottom.replace(/[^0-9]+/g, "");
680
+ e = (parseInt(n) + parseInt(o)) / 2;
681
+ }
682
+ return e > 0 ? e : 16;
683
+ }
684
+ /**
685
+ * Calculates control position values.
686
+ *
687
+ * Вычисляет значения положения контроля.
688
+ * @param top position of an element/ положение элемента
689
+ */
690
+ initLocation(t) {
691
+ var r, a;
692
+ const e = (a = (r = this.element.getBody()) == null ? void 0 : r.offsetHeight) != null ? a : 0, s = e / 2, n = this.innerHeight - this.padding * 2 - e, o = t - s - this.padding;
693
+ return o < this.padding ? "0px" : t + s >= this.innerHeight - this.padding ? `${n}px` : `${o}px`;
694
+ }
695
+ }
696
+ class Q {
697
+ /**
698
+ * Constructor
699
+ * @param props input data/ входные данные
700
+ * @param client object for working with mouse pointer coordinates/ объект для работы с координатами указателя мыши
701
+ * @param element an object of the class for working with elements/ объект класса для работы с элементами
702
+ * @param coordinates object for working with coordinates/ объект для работы с координатами
703
+ */
704
+ constructor(t, e, s, n) {
705
+ i(this, "x", 0);
706
+ i(this, "y", 0);
707
+ this.props = t, this.client = e, this.element = s, this.coordinates = n;
708
+ }
709
+ /**
710
+ * Checks if the alignment type is above the element.
711
+ *
712
+ * Проверяет, является ли тип выравнивания над элементом.
713
+ */
714
+ isOver() {
715
+ return this.props.axis === "on";
716
+ }
717
+ /**
718
+ * Returns the X position.
719
+ *
720
+ * Возвращает позицию X.
721
+ */
722
+ getX() {
723
+ return this.x;
724
+ }
725
+ /**
726
+ * Returns the Y position.
727
+ *
728
+ * Возвращает позицию Y.
729
+ */
730
+ getY() {
731
+ return this.y;
732
+ }
733
+ /**
734
+ * Returns the X position for styles.
735
+ *
736
+ * Возвращает позицию X для стилей.
737
+ */
738
+ getStyleX() {
739
+ return `${this.x}px`;
740
+ }
741
+ /**
742
+ * Returns the Y position for styles.
743
+ *
744
+ * Возвращает позицию Y для стилей.
745
+ */
746
+ getStyleY() {
747
+ return `${this.y}px`;
748
+ }
749
+ /**
750
+ * Update of the element's position coordinates.
751
+ *
752
+ * Обновление координаты положения элемента.
753
+ */
754
+ update() {
755
+ return this.coordinates.update() ? (this.setX(), this.setY(), !0) : !1;
756
+ }
757
+ /**
758
+ * Updates the scroll position if an element is selected.
759
+ *
760
+ * Обновляет место скрола, если выбран элемент.
761
+ */
762
+ updateScroll() {
763
+ var e, s, n;
764
+ const t = this.element.getBodyContext();
765
+ if (this.isOver() && this.props.overElement && t && t.scrollHeight > t.offsetHeight) {
766
+ const o = (e = x(this.props.overElement)) == null ? void 0 : e.getBoundingClientRect(), r = (s = this.element.getBody()) == null ? void 0 : s.getBoundingClientRect(), a = t == null ? void 0 : t.getBoundingClientRect(), l = (n = this.element.getControl()) == null ? void 0 : n.getBoundingClientRect();
767
+ if (t && o && r && a) {
768
+ const u = o.height / 2, d = o.top - a.top;
769
+ if (l && this.coordinates.getMaxHeight() === r.height) {
770
+ if (l.top + u < r.top) {
771
+ t.scrollTop += d;
772
+ return;
773
+ }
774
+ if (l.bottom - u > r.bottom) {
775
+ t.scrollTop += d - a.height + o.height;
776
+ return;
777
+ }
778
+ t.scrollTop += d - (l.top - a.top) - l.height / 2 + u;
779
+ return;
780
+ }
781
+ t.scrollTop += d - a.height / 2 + u;
782
+ }
783
+ }
784
+ }
785
+ /**
786
+ * Updates the scroll display status of the element.
787
+ *
788
+ * Обновляет статус отображения скролла у элемента.
789
+ */
790
+ updateBody() {
791
+ if (b()) {
792
+ const t = document.body, e = t.offsetHeight > window.innerHeight ? "scroll" : "none";
793
+ t.dataset.scroll !== e && (t.dataset.scroll = e);
794
+ }
795
+ }
796
+ /**
797
+ * Returns the axis alignment values.
798
+ *
799
+ * Возвращает значения оси выравнивания.
800
+ */
801
+ getAxis() {
802
+ var t, e;
803
+ return this.isOver() ? "y" : (e = (t = this.props) == null ? void 0 : t.axis) != null ? e : "y";
804
+ }
805
+ /**
806
+ * Returns the margins from the control element.
807
+ *
808
+ * Возвращает отступы от элемента управления.
809
+ * @param axis the axis of alignment of the element/ ось выравнивания элемента
810
+ */
811
+ getIndent(t) {
812
+ var e;
813
+ return this.getAxis() === t ? (e = this.props.indent) != null ? e : 4 : 0;
814
+ }
815
+ /**
816
+ * Calculation of the position for window alignment.
817
+ *
818
+ * Вычисление места положения для выравнивания окна.
819
+ * @param rectTop high control coordinates/ высокие координаты контрола
820
+ * @param rectBottom lower control coordinates/ нижние координаты контрола
821
+ */
822
+ getOverHeight(t, e) {
823
+ var o, r;
824
+ const s = (e - t) / 2;
825
+ if (this.props.overElement) {
826
+ const a = (o = x(this.props.overElement)) == null ? void 0 : o.getBoundingClientRect(), l = (r = this.element.getBody()) == null ? void 0 : r.getBoundingClientRect();
827
+ if (a && l) {
828
+ const u = a.top - l.top, d = a.height / 2;
829
+ return e - u - d - s;
830
+ }
831
+ }
832
+ const n = this.coordinates.getHeight() / 2;
833
+ return e - s - n;
834
+ }
835
+ /**
836
+ * Changes in position along the X coordinate.
837
+ *
838
+ * Изменения положения по координате X.
839
+ */
840
+ setX() {
841
+ const t = this.element.getMain();
842
+ if (t) {
843
+ const e = this.getIndent("x"), s = this.props.contextmenu ? this.client.getX() : this.coordinates.getRight() + e, n = this.props.contextmenu ? this.client.getX() : this.coordinates.getLeft() - e, o = [];
844
+ this.getAxis() === "x" ? o.push(s, n) : o.push(n, s), this.x = this.calculationInner(
845
+ o[0],
846
+ o[1],
847
+ t.offsetWidth,
848
+ window.innerWidth,
849
+ this.coordinates.getWidth()
850
+ );
851
+ }
852
+ return this;
853
+ }
854
+ /**
855
+ * Changes in position along the Y coordinate.
856
+ *
857
+ * Изменения положения по координате Y.
858
+ */
859
+ setY() {
860
+ const t = this.element.getMain();
861
+ if (t) {
862
+ const e = this.getIndent("y"), s = this.props.contextmenu ? this.client.getY() : this.coordinates.getTop() - e, n = this.props.contextmenu ? this.client.getY() : this.coordinates.getBottom() + e, o = [];
863
+ if (this.isOver())
864
+ return this.y = this.calculationOver(
865
+ this.getOverHeight(s, n),
866
+ s,
867
+ n,
868
+ t.offsetHeight,
869
+ window.innerHeight
870
+ ), this;
871
+ this.getAxis() !== "x" ? o.push(n, s) : o.push(s, n), this.y = this.calculationInner(
872
+ o[0],
873
+ o[1],
874
+ t.offsetHeight,
875
+ window.innerHeight,
876
+ this.coordinates.getHeight()
877
+ );
878
+ }
879
+ return this;
880
+ }
881
+ /**
882
+ * Calculation of the element's position.
883
+ *
884
+ * Вычисление положения элемента.
885
+ * @param inValue initial values/ начальные значения
886
+ * @param outValue final values/ конечные значения
887
+ * @param length length of the object/ длина объекта
888
+ * @param innerLength length of the indentation/ длина отступа
889
+ * @param maxSize maximum length/ максимальная длина
890
+ */
891
+ calculationInner(t, e, s, n, o) {
892
+ const r = this.coordinates.getPadding();
893
+ return t + s <= n - r ? t : e - s > r ? e - s : n / 2 - o / 2;
894
+ }
895
+ /**
896
+ * Calculation of the element's position.
897
+ *
898
+ * Вычисление положения над элемента.
899
+ * @param value initial values/ начальные значения
900
+ * @param top high control coordinates/ высокие координаты контрола
901
+ * @param bottom lower control coordinates/ нижние координаты контрола
902
+ * @param length length of the object/ длина объекта
903
+ * @param innerLength length of the indentation/ длина отступа
904
+ */
905
+ calculationOver(t, e, s, n, o) {
906
+ const r = this.coordinates.getPadding();
907
+ if (s < r)
908
+ return s;
909
+ if (e > o - r) {
910
+ const a = e - n - r;
911
+ return a < r ? r : a;
912
+ }
913
+ return t < r ? r : t + n <= o - r ? t : o - n - r;
914
+ }
915
+ }
916
+ class tt {
917
+ /**
918
+ * Constructor
919
+ * @param client object for working with mouse pointer coordinates/ объект для работы с координатами указателя мыши
920
+ * @param element an object of the class for working with elements/ объект класса для работы с элементами
921
+ * @param position object for working with the position of the element/ объект для работы с положением элемента
922
+ */
923
+ constructor(t, e, s) {
924
+ i(this, "x", null);
925
+ i(this, "y", null);
926
+ this.client = t, this.element = e, this.position = s;
927
+ }
928
+ /**
929
+ * Returns the initial X point for the start of the animation.
930
+ *
931
+ * Возвращает начальную точку X для начала анимации.
932
+ */
933
+ getStyleX() {
934
+ return this.x !== null ? `${this.x}px` : null;
935
+ }
936
+ /**
937
+ * Returns the initial Y point for the start of the animation.
938
+ *
939
+ * Возвращает начальную точку Y для начала анимации.
940
+ */
941
+ getStyleY() {
942
+ return this.y !== null ? `${this.y}px` : null;
943
+ }
944
+ /**
945
+ * Updating the initial position of the element for the animation.
946
+ *
947
+ * Обновление начального положения элемента для анимации.
948
+ */
949
+ update() {
950
+ const t = this.element.getMain();
951
+ if (this.client.update(), !this.client.is())
952
+ this.x = 0, this.y = 0;
953
+ else if (t && getComputedStyle(t).getPropertyValue(C) !== '"--MENU--"') {
954
+ const e = this.element.getBodyRect();
955
+ e && (this.x = this.client.getShiftX(e.left), this.y = this.client.getShiftY(e.top));
956
+ } else
957
+ this.x = this.client.getShiftX(this.position.getX()), this.y = this.client.getShiftY(this.position.getY());
958
+ return this;
959
+ }
960
+ /**
961
+ * Resets all data to initial values.
962
+ *
963
+ * Сбрасывает все данные к начальным значениям.
964
+ */
965
+ reset() {
966
+ return this.x = null, this.y = null, this;
967
+ }
968
+ }
969
+ class et {
970
+ /**
971
+ * Constructor
972
+ * @param props input data/ входные данные
973
+ * @param refs input data in the form of reactive elements/ входные данные в виде реактивных элементов
974
+ * @param element an object of the class for working with elements/ объект класса для работы с элементами
975
+ */
976
+ constructor(t, e, s) {
977
+ i(this, "event");
978
+ i(this, "item", v(!1));
979
+ /**
980
+ * The function called when an event is triggered.
981
+ *
982
+ * Вызываемая функция при срабатывании события.
983
+ */
984
+ i(this, "listener", () => {
985
+ $(this.item, this.isStatic());
986
+ });
987
+ /**
988
+ * Performs status check and activates events when turned on.
989
+ *
990
+ * Выполняет проверку статуса и активизирует события при включении.
991
+ */
992
+ i(this, "make", () => {
993
+ this.isStaticMod() ? (this.start(), requestAnimationFrame(this.listener)) : this.stop();
994
+ });
995
+ this.props = t, this.element = s, f([e.staticMode], this.make, { immediate: !0 });
996
+ }
997
+ /**
998
+ * Checks if the static mode is enabled.
999
+ *
1000
+ * Проверяет, включен ли режим статичности.
1001
+ */
1002
+ isStaticMod() {
1003
+ return !!this.props.staticMode;
1004
+ }
1005
+ /**
1006
+ * Starts the status tracking event.
1007
+ *
1008
+ * Стартует событие слежения за статусами.
1009
+ */
1010
+ start() {
1011
+ this.event || (this.event = new B(window, ["resize"], this.listener)), this.event.start();
1012
+ }
1013
+ /**
1014
+ * Restores the data to its previous state.
1015
+ *
1016
+ * Восстанавливает данные в прежнее состояние.
1017
+ */
1018
+ stop() {
1019
+ this.event && (this.event.stop(), this.event = void 0);
1020
+ }
1021
+ /**
1022
+ * Checks if the static window is active.
1023
+ *
1024
+ * Проверяет, активно ли статичное окно.
1025
+ */
1026
+ isStatic() {
1027
+ const t = this.element.getMain();
1028
+ return !!(t && getComputedStyle(t).getPropertyValue(C) === '"--STATIC--"');
1029
+ }
1030
+ }
1031
+ class st {
1032
+ /**
1033
+ * Constructor
1034
+ * @param classes an object for working with classes and searching for elements/ объект для работы с классами и поиском элементов
1035
+ * @param element an object of the class for working with elements/ объект класса для работы с элементами
1036
+ * @param emits the function is called when an event is triggered/ функция вызывается, когда срабатывает событие
1037
+ */
1038
+ constructor(t, e, s) {
1039
+ this.classes = t, this.element = e, this.emits = s;
1040
+ }
1041
+ /**
1042
+ * Perform events.
1043
+ *
1044
+ * Выполнить события.
1045
+ * @param open current state of the window/ текущее состояние окна
1046
+ */
1047
+ on(t) {
1048
+ var e;
1049
+ (e = this.emits) == null || e.call(this, "window", this.getEmitOptions(t));
1050
+ }
1051
+ /**
1052
+ * Returns an object for calling the event handler.
1053
+ *
1054
+ * Возвращает объект для вызова обработчика события.
1055
+ * @param open current state of the window/ текущее состояние окна
1056
+ */
1057
+ getEmitOptions(t) {
1058
+ return {
1059
+ id: this.classes.getId(),
1060
+ element: this.element.getMain(),
1061
+ control: this.element.getControl(),
1062
+ open: t
1063
+ };
1064
+ }
1065
+ }
1066
+ class it {
1067
+ /**
1068
+ * Constructor
1069
+ * @param element an object of the class for working with elements/ объект класса для работы с элементами
1070
+ * @param coordinates object for working with coordinates/ объект для работы с координатами
1071
+ * @param position object for working with the position of the element/ объект для работы с положением элемента
1072
+ * @param origin the object for work is in the initial position upon opening/ объект для работы в начальной позиции при открытии
1073
+ * @param className class name/ название класса
1074
+ */
1075
+ constructor(t, e, s, n, o) {
1076
+ this.element = t, this.coordinates = e, this.position = s, this.origin = n, this.className = o, f(this.element.element, () => this.update());
1077
+ }
1078
+ /**
1079
+ * Data update.
1080
+ *
1081
+ * Обновление данных.
1082
+ */
1083
+ update() {
1084
+ const t = this.element.getMain();
1085
+ t && (t.style.setProperty(`--${this.className}-sys-inset-x`, this.position.getStyleX()), t.style.setProperty(`--${this.className}-sys-inset-y`, this.position.getStyleY()), t.style.setProperty(`--${this.className}-origin-x`, this.origin.getStyleX()), t.style.setProperty(`--${this.className}-origin-y`, this.origin.getStyleY()), t.style.setProperty(`--${this.className}-sys-control-width`, `${this.coordinates.getControlWidth()}px`), t.style.setProperty(`--${this.className}-sys-control-height`, `${this.coordinates.getControlHeight()}px`), t.style.setProperty(`--${this.className}-sys-location`, this.coordinates.getLocation()));
1086
+ }
1087
+ /**
1088
+ * Updates the window type (menu or modal).
1089
+ *
1090
+ * Обновляет тип окна (меню или модальное).
1091
+ * @param isMenu whether the window is a menu/ является ли окно меню
1092
+ */
1093
+ updateType(t) {
1094
+ const e = this.element.getMain();
1095
+ if (e && (t && e.dataset.windowMenu !== "menu" || !t && e.dataset.windowMenu === "menu")) {
1096
+ const s = e.parentElement;
1097
+ e.dataset.windowMenu = t ? "menu" : "modal", s && s.dataset.windowTeleport && (s.dataset.windowMenu = e.dataset.windowMenu);
1098
+ }
1099
+ }
1100
+ }
1101
+ class nt {
1102
+ /**
1103
+ * Constructor
1104
+ * @param props input data/ входные данные
1105
+ * @param client object for working with mouse pointer coordinates/ объект для работы с координатами указателя мыши
1106
+ * @param hook object for working with hooks/ объект для работы с хуками
1107
+ * @param element an object of the class for working with elements/ объект класса для работы с элементами
1108
+ * @param tabIndex class object for working with tab indices/ объект класса для работы с табуляцией
1109
+ * @param status object for working with statuses/ объект для работы со статусами
1110
+ * @param flash class object for working with fast window opening/ объект класса для работы с быстрым открытием окна
1111
+ * @param coordinates object for working with coordinates/ объект для работы с координатами
1112
+ * @param position object for working with the position of the element/ объект для работы с положением элемента
1113
+ * @param origin the object for work is in the initial position upon opening/ объект для работы в начальной позиции при открытии
1114
+ * @param emit the function is called when an event is triggered/ функция вызывается, когда срабатывает событие
1115
+ * @param styles an object for working with the styles of an element/ объект для работы со стилями элемента
1116
+ */
1117
+ constructor(t, e, s, n, o, r, a, l, u, d, M, S) {
1118
+ i(this, "item", v(!1));
1119
+ i(this, "first", v(!1));
1120
+ i(this, "clicks", 0);
1121
+ /**
1122
+ * Checks whether the element should be kept in the DOM.
1123
+ *
1124
+ * Проверяет, надо ли элемент оставить в DOM.
1125
+ */
1126
+ i(this, "inDom", m(() => this.item.value || this.props.staticMode || !!this.props.inDom && this.first.value));
1127
+ /**
1128
+ * Changes the current state.
1129
+ *
1130
+ * Изменяет текущее состояние.
1131
+ * @param open the value of the current state/ значение текущего состояния
1132
+ */
1133
+ i(this, "set", async (t) => {
1134
+ this.item.value !== !!t && await this.toggle();
1135
+ });
1136
+ /**
1137
+ * Opens the window.
1138
+ *
1139
+ * Открывает окно.
1140
+ */
1141
+ i(this, "open", async () => this.set(!0));
1142
+ /**
1143
+ * Closes the window.
1144
+ *
1145
+ * Закрывает окно.
1146
+ */
1147
+ i(this, "close", async () => this.set(!1));
1148
+ /**
1149
+ * Switches the state, that is, opens or closes the window, depending on the value of item.
1150
+ *
1151
+ * Переключает состояние, то есть открывает или закрывает окно, в зависимости от значения item.
1152
+ */
1153
+ i(this, "toggle", async () => {
1154
+ if (this.clicks > 1)
1155
+ return;
1156
+ const t = !this.item.value;
1157
+ await this.hook.before(t) && (t ? (this.reset(), this.status.toDisplay(), await this.setOpen(t), requestAnimationFrame(async () => {
1158
+ this.status.update(), await this.hook.preparation(), await this.watchPosition(), this.styles.updateType(!0), requestAnimationFrame(async () => {
1159
+ this.position.updateScroll(), this.status.toPreparation(), requestAnimationFrame(async () => {
1160
+ this.flash.isClose() ? this.status.toFlash() : this.status.toOpen(), requestAnimationFrame(() => {
1161
+ this.hook.opening(), this.resetClicks(), this.tabIndex.goTo();
1162
+ }), this.emit.on(this.item.value);
1163
+ });
1164
+ });
1165
+ })) : (this.client.reset(), this.flash.isOpen() ? this.toClose() : requestAnimationFrame(() => {
1166
+ this.status.toHide(), this.resetClicks();
1167
+ }), this.tabIndex.reset()));
1168
+ });
1169
+ this.props = t, this.client = e, this.hook = s, this.element = n, this.tabIndex = o, this.status = r, this.flash = a, this.coordinates = l, this.position = u, this.origin = d, this.emit = M, this.styles = S;
1170
+ }
1171
+ /**
1172
+ * Checks if the window is open.
1173
+ *
1174
+ * Проверяет, открыто ли окно.
1175
+ */
1176
+ isClicks() {
1177
+ return this.clicks > 0;
1178
+ }
1179
+ /**
1180
+ * Close handler on animation end.
1181
+ *
1182
+ * Обработчик закрытия по окончании анимации.
1183
+ */
1184
+ closeForEvent() {
1185
+ this.status.isHide() ? this.toClose() : this.status.isOpen() || this.hook.closing().then();
1186
+ }
1187
+ /**
1188
+ * Resets all data to initial values.
1189
+ *
1190
+ * Сбрасывает все данные к начальным значениям.
1191
+ */
1192
+ reset() {
1193
+ return this.coordinates.reset(), this.origin.reset(), this;
1194
+ }
1195
+ /**
1196
+ * The method increases the number of clicks.
1197
+ *
1198
+ * Метод увеличивает количество кликов.
1199
+ */
1200
+ pressed() {
1201
+ return this.clicks++, setTimeout(() => this.resetClicks(), 128), this;
1202
+ }
1203
+ /**
1204
+ * The method resets the number of clicks.
1205
+ *
1206
+ * Метод сбрасывает количество кликов.
1207
+ */
1208
+ resetClicks() {
1209
+ return this.clicks = 0, this;
1210
+ }
1211
+ /**
1212
+ * The method updates the current position.
1213
+ *
1214
+ * Метод обновляет текущее положение.
1215
+ */
1216
+ async watchPosition() {
1217
+ this.item.value && this.element.isMain() ? (this.position.update(), this.position.updateBody(), this.origin.update(), this.styles.update(), this.watchCoordinates()) : this.reset();
1218
+ }
1219
+ /**
1220
+ * Changes values and triggers events.
1221
+ *
1222
+ * Изменяет значения и вызывает события.
1223
+ * @param open the value of the current state/ значение текущего состояния
1224
+ */
1225
+ async setOpen(t) {
1226
+ return this.item.value = t, t && !this.first.value && (this.first.value = !0), this;
1227
+ }
1228
+ /**
1229
+ * Changing the location of the menu window.
1230
+ *
1231
+ * Изменение расположения окна меню.
1232
+ */
1233
+ watchCoordinates() {
1234
+ return P(
1235
+ () => {
1236
+ const t = this.element.getMain();
1237
+ if (t) {
1238
+ const e = getComputedStyle(t).getPropertyValue(C) === '"--MENU--"';
1239
+ e && this.position.update() && this.styles.update(), this.styles.updateType(e);
1240
+ }
1241
+ },
1242
+ () => this.item.value && !this.status.isHide()
1243
+ ), this;
1244
+ }
1245
+ /**
1246
+ * Transition to the closing state.
1247
+ *
1248
+ * Переход в состояние закрытия.
1249
+ */
1250
+ toClose() {
1251
+ setTimeout(async () => {
1252
+ await this.setOpen(!1), await this.hook.closing(), this.resetClicks(), this.emit.on(this.item.value);
1253
+ }, 48), this.status.toClose();
1254
+ }
1255
+ }
1256
+ class ot {
1257
+ /**
1258
+ * Constructor
1259
+ * @param props input data/ входные данные
1260
+ * @param persistent object for working with the animation before turning off the window/ объект для работы с анимацией перед выключением окна
1261
+ * @param classes an object for working with classes and searching for elements/ объект для работы с классами и поиском элементов
1262
+ * @param element an object of the class for working with elements/ объект класса для работы с элементами
1263
+ * @param staticMode class object for working with static status/ объект класса для работы со статическим статусом
1264
+ * @param open the class object for working with the status of closing or opening the window/ объект класса для работы со статусом закрытия или открытия окна
1265
+ */
1266
+ constructor(t, e, s, n, o, r) {
1267
+ i(this, "target");
1268
+ i(this, "focus");
1269
+ this.props = t, this.persistent = e, this.classes = s, this.element = n, this.staticMode = o, this.open = r;
1270
+ }
1271
+ /**
1272
+ * Updates the window opening status.
1273
+ *
1274
+ * Обновления статус открытия окно.
1275
+ * @param target the selected window/ выбранное окно
1276
+ */
1277
+ async update(t) {
1278
+ if (!this.open.isClicks() && (this.target = t, this.focus = this.getFocus(), !!b() && this.isTargetInBody() && !this.staticMode.item.value))
1279
+ if (this.open.pressed(), this.open.item.value) {
1280
+ if (this.isOpenOnly() || this.isBlockOther())
1281
+ return;
1282
+ this.isContextmenu() ? await this.open.reset().watchPosition() : this.focus ? this.isFocus() ? this.isTarget() ? this.isNotBlockChildren() && (this.persistent.on() || await this.open.toggle()) : (this.isClose() || this.isAutoClose() || !this.isChildren()) && await this.open.toggle() : this.isNotBlock() && (this.isChildren() ? setTimeout(() => {
1283
+ requestAnimationFrame(async () => {
1284
+ var e;
1285
+ ["open", "flash"].indexOf(((e = this.focus) == null ? void 0 : e.dataset.status) || "") === -1 && this.isMenu() && await this.open.toggle();
1286
+ });
1287
+ }, 40) : await this.open.toggle()) : await this.open.toggle();
1288
+ } else this.isEnabled() && await this.open.toggle();
1289
+ }
1290
+ /**
1291
+ * Returns the element in focus.
1292
+ *
1293
+ * Возвращает элемент в фокусе.
1294
+ */
1295
+ getFocus() {
1296
+ return this.classes.findMain(this.getTarget());
1297
+ }
1298
+ getTarget() {
1299
+ var t, e;
1300
+ return (e = (t = this.target) != null ? t : this.element.getMain()) != null ? e : document.body;
1301
+ }
1302
+ /**
1303
+ * Checks if the selected element is in focus.
1304
+ *
1305
+ * Проверяет, находится ли выбранный элемент в фокусе.
1306
+ */
1307
+ isFocus() {
1308
+ return this.element.getMain() === this.focus;
1309
+ }
1310
+ /**
1311
+ * Checks if the target element is the window itself.
1312
+ *
1313
+ * Проверяет, является ли элемент-цель самим окном.
1314
+ */
1315
+ isTarget() {
1316
+ return this.element.getMain() === this.target;
1317
+ }
1318
+ isTargetInBody() {
1319
+ var t;
1320
+ return !!((t = this.target) != null && t.closest("body"));
1321
+ }
1322
+ /**
1323
+ * Checks if the selected window is under other windows.
1324
+ *
1325
+ * Проверяет, находится ли выбранное окно под другими окнами.
1326
+ * @param target the selected window/ выбранное окно
1327
+ */
1328
+ isChildren(t = this.getTarget()) {
1329
+ const e = this.classes.findMain(t);
1330
+ if (e) {
1331
+ if (e.dataset.window === this.classes.getId())
1332
+ return !0;
1333
+ const s = this.classes.findControlByElement(e);
1334
+ if (s)
1335
+ return this.isChildren(s);
1336
+ }
1337
+ return !1;
1338
+ }
1339
+ /**
1340
+ * Checks if the window is enabled or if the conditions for opening the window are met.
1341
+ *
1342
+ * Проверяет, включено ли окно или подходят ли условия для открытия окна.
1343
+ */
1344
+ isEnabled() {
1345
+ return !this.props.disabled && !this.getTarget().closest(`.${this.classes.list.controlStatic}`);
1346
+ }
1347
+ /**
1348
+ * Checks if the window needs to be closed automatically.
1349
+ *
1350
+ * Проверяет, нужно ли автоматически закрывать окно.
1351
+ */
1352
+ isAutoClose() {
1353
+ return !!this.props.autoClose && !this.getTarget().closest(`.${this.classes.list.static}, .${this.classes.getId()} .${this.classes.list.control}`);
1354
+ }
1355
+ /**
1356
+ * Checks if the change of the opening status of the window is blocked.
1357
+ *
1358
+ * Проверяет, заблокировано ли изменение статуса открытия окна.
1359
+ */
1360
+ isNotBlock() {
1361
+ return this.isNotBlockItem(this.focus);
1362
+ }
1363
+ /**
1364
+ * Checks if the change of the opening status of the window is blocked.
1365
+ *
1366
+ * Проверяет, заблокировано ли изменение статуса открытия окна.
1367
+ * @param item element for testing/ элемент для проверки
1368
+ */
1369
+ isNotBlockItem(t) {
1370
+ var s;
1371
+ const e = this.getTarget();
1372
+ return (!this.isMenu(e) || !this.classes.isWindow(e)) && !((s = this.classes.findControlByElement(t)) != null && s.closest(`.${this.classes.list.block}`));
1373
+ }
1374
+ /**
1375
+ * Checks if there is an element with a close lock.
1376
+ *
1377
+ * Проверяет, есть ли элемент с блокировкой закрытия.
1378
+ */
1379
+ isNotBlockChildren() {
1380
+ var t, e;
1381
+ return !((t = this.classes.findBody()) != null && t.querySelector(`.${this.classes.list.blockChildren}`)) && !((e = this.classes.findBody()) != null && e.querySelector('[data-window-open="open"]'));
1382
+ }
1383
+ /**
1384
+ * Checks if there is a blocking element from other windows.
1385
+ *
1386
+ * Проверяет, есть ли блокирующий элемент от других окон.
1387
+ */
1388
+ isBlockOther() {
1389
+ return !!this.classes.findBodyOther(`.${this.classes.list.blockOther}`);
1390
+ }
1391
+ /**
1392
+ * Checks if it needs to be opened when the right button is pressed.
1393
+ *
1394
+ * Проверяет, нужно ли открывать при нажатии правой кнопки.
1395
+ */
1396
+ isContextmenu() {
1397
+ return !!(this.props.contextmenu && this.getTarget().closest(this.classes.getSelectorControl()));
1398
+ }
1399
+ /**
1400
+ * Checks if the window can be closed.
1401
+ *
1402
+ * Проверяет, можно ли закрыть окно.
1403
+ */
1404
+ isClose() {
1405
+ return !!this.getTarget().closest(`.${this.classes.list.close}:not(.${this.classes.list.static})`);
1406
+ }
1407
+ /**
1408
+ * Checks if the element is a menu.
1409
+ *
1410
+ * Проверяет, является ли элемент меню.
1411
+ */
1412
+ isMenu(t = this.element.getMain()) {
1413
+ if (t) {
1414
+ const s = getComputedStyle(t).getPropertyValue(C);
1415
+ return s === '"--MENU--"' || s === '"--MENU-WINDOW--"';
1416
+ }
1417
+ return !1;
1418
+ }
1419
+ /**
1420
+ * Checks if the element should only open.
1421
+ *
1422
+ * Проверяет, должен ли элемент только открываться.
1423
+ */
1424
+ isOpenOnly() {
1425
+ return !!this.getTarget().closest(`.${this.classes.list.controlOpenOnly}`);
1426
+ }
1427
+ }
1428
+ class rt {
1429
+ /**
1430
+ * Constructor
1431
+ * @param props input data/ входные данные
1432
+ * @param status object for working with statuses/ объект для работы со статусами
1433
+ * @param client object for working with mouse pointer coordinates/ объект для работы с координатами указателя мыши
1434
+ * @param flash class object for working with fast window opening/ объект класса для работы с быстрым открытием окна
1435
+ * @param open the class object for working with the status of closing or opening the window/ объект класса для работы со статусом закрытия или открытия окна
1436
+ * @param verification an object for working with the check for changing the status of opening or closing/ объект для работы с проверкой изменения статуса открытия или закрытия
1437
+ */
1438
+ constructor(t, e, s, n, o, r) {
1439
+ i(this, "event");
1440
+ /**
1441
+ * Events of pressing a control element.
1442
+ *
1443
+ * События нажатия на элемент управления.
1444
+ * @param event event object/ объект события
1445
+ */
1446
+ i(this, "onClick", async (t) => {
1447
+ this.props.contextmenu || await this.on(t);
1448
+ });
1449
+ /**
1450
+ * Events of pressing the right mouse button on a control element.
1451
+ *
1452
+ * События нажатия на правую кнопку мыши на элемент управления.
1453
+ * @param event event object/ объект события
1454
+ */
1455
+ i(this, "onContextmenu", async (t) => {
1456
+ this.props.contextmenu && (t.preventDefault(), await this.on(t));
1457
+ });
1458
+ /**
1459
+ * Event of animation end when closing the window.
1460
+ *
1461
+ * Событие окончания анимации при закрытии окна.
1462
+ */
1463
+ i(this, "onTransition", () => this.open.closeForEvent());
1464
+ /**
1465
+ * Callback of the event when pressing any area for checking and changing the opening state.
1466
+ *
1467
+ * Callback события при нажатии на любую область для проверки и изменения состояния открытия.
1468
+ * @param event event instance/ экземпляр события
1469
+ */
1470
+ i(this, "onGlobal", async (t) => {
1471
+ (!t || t.type === "click" && (!this.props.contextmenu || this.open.item.value) || t.type === "contextmenu" && this.props.contextmenu) && (this.open.item.value ? (this.flash.setControl(t == null ? void 0 : t.target), await this.verification.update(t == null ? void 0 : t.target)) : this.event.stop());
1472
+ });
1473
+ this.props = t, this.status = e, this.client = s, this.flash = n, this.open = o, this.verification = r, this.event = new B(
1474
+ "body",
1475
+ ["click", "contextmenu"],
1476
+ this.onGlobal
1477
+ ), f(
1478
+ [
1479
+ this.open.item,
1480
+ this.status.item
1481
+ ],
1482
+ () => this.toggle()
1483
+ );
1484
+ }
1485
+ /**
1486
+ * Starts listening to global events.
1487
+ *
1488
+ * Стартует прослушивание глобальных событий.
1489
+ */
1490
+ start() {
1491
+ return this.event.start(), this;
1492
+ }
1493
+ /**
1494
+ * Stop the global event.
1495
+ *
1496
+ * Остановить глобальное событие.
1497
+ */
1498
+ stop() {
1499
+ return this.event.stop(), this;
1500
+ }
1501
+ /**
1502
+ * Changes the event listening status depending on the window's open status.
1503
+ *
1504
+ * Изменяет статус прослушивания события в зависимости от статуса открытия окна.
1505
+ */
1506
+ toggle() {
1507
+ return this.open.item.value && this.status.isOpen() ? this.start() : this.stop(), this;
1508
+ }
1509
+ /**
1510
+ * Event activation.
1511
+ *
1512
+ * Активация события.
1513
+ * @param event event object/ объект события
1514
+ */
1515
+ async on(t) {
1516
+ this.client.set(
1517
+ D(t),
1518
+ N(t)
1519
+ ), await this.verification.update(t.target);
1520
+ }
1521
+ }
1522
+ class ht {
1523
+ /**
1524
+ * Constructor
1525
+ * @param classes an object for working with class names / объект для работы с названиями классов
1526
+ * @param open an object for working with the open state of the window / объект для работы с состоянием открытия окна
1527
+ */
1528
+ constructor(t, e) {
1529
+ i(this, "elements", []);
1530
+ this.classes = t, this.open = e, f(
1531
+ this.open.item,
1532
+ (s) => {
1533
+ s ? this.toHidden() : this.toShow();
1534
+ },
1535
+ {
1536
+ immediate: !0
1537
+ }
1538
+ );
1539
+ }
1540
+ /**
1541
+ * Returns the aria attribute data for hiding elements.
1542
+ *
1543
+ * Возвращает данные aria-атрибута для скрытия элементов.
1544
+ */
1545
+ getAriaData() {
1546
+ const t = w.hidden(), e = Object.keys(t)[0], s = Object.values(t)[0];
1547
+ return {
1548
+ key: e,
1549
+ value: s
1550
+ };
1551
+ }
1552
+ /**
1553
+ * Finds all elements outside the window that need to be hidden.
1554
+ *
1555
+ * Находит все элементы вне окна, которые нужно скрыть.
1556
+ */
1557
+ findElements() {
1558
+ if (b()) {
1559
+ const t = this.classes.getId();
1560
+ return document.querySelectorAll(
1561
+ `body > *:not([data-window-teleport="${t}"]):not(.${t}):not(script):not(style)`
1562
+ );
1563
+ }
1564
+ }
1565
+ /**
1566
+ * Hides elements outside the window by adding aria-hidden attribute.
1567
+ *
1568
+ * Скрывает элементы вне окна, добавляя атрибут aria-hidden.
1569
+ */
1570
+ toHidden() {
1571
+ const t = this.findElements();
1572
+ if (t) {
1573
+ const e = this.getAriaData();
1574
+ this.elements = [], t.forEach((s) => {
1575
+ s.hasAttribute(e.key) || s.hasAttribute("inert") || (s.setAttribute(e.key, e.value), this.classes.isWindowOrTeleport(s) || s.setAttribute("inert", ""), this.elements.push(s));
1576
+ });
1577
+ } else
1578
+ this.elements = [];
1579
+ }
1580
+ /**
1581
+ * Shows previously hidden elements by removing aria-hidden attribute.
1582
+ *
1583
+ * Показывает ранее скрытые элементы, удаляя атрибут aria-hidden.
1584
+ */
1585
+ toShow() {
1586
+ const t = this.getAriaData();
1587
+ this.elements.forEach((e) => {
1588
+ e.removeAttribute(t.key), e.removeAttribute("inert");
1589
+ }), this.elements = [];
1590
+ }
1591
+ }
1592
+ class at {
1593
+ /**
1594
+ * Constructor
1595
+ * @param props input data/ входные данные
1596
+ * @param refs input data in the form of reactive elements/ входные данные в виде реактивных элементов
1597
+ * @param element input element/ элемент ввода
1598
+ * @param classDesign design name/ название дизайна
1599
+ * @param className class name/ название класса
1600
+ * @param components object for working with components/ объект для работы с компонентами
1601
+ * @param slots object for working with slots/ объект для работы со слотами
1602
+ * @param emits the function is called when an event is triggered/ функция вызывается, когда срабатывает событие
1603
+ */
1604
+ constructor(t, e, s, n, o, r, a, l) {
1605
+ /** Client instance for window management/ Экземпляр клиента для управления окном */
1606
+ i(this, "client");
1607
+ /** Hook instance for window events/ Экземпляр хука для событий окна */
1608
+ i(this, "hook");
1609
+ /** Class manager for window styles/ Менеджер классов для стилей окна */
1610
+ i(this, "classes");
1611
+ /** Element manager for window DOM element/ Менеджер элементов для DOM элемента окна */
1612
+ i(this, "element");
1613
+ i(this, "tabIndex");
1614
+ /** Status manager for window state/ Менеджер статуса для состояния окна */
1615
+ i(this, "status");
1616
+ /** Persistent manager for window data/ Менеджер постоянных данных для окна */
1617
+ i(this, "persistent");
1618
+ /** Flash manager for window animations/ Менеджер анимаций для окна */
1619
+ i(this, "flash");
1620
+ /** Coordinates manager for window positioning/ Менеджер координат для позиционирования окна */
1621
+ i(this, "coordinates");
1622
+ /** Position manager for window placement/ Менеджер позиции для размещения окна */
1623
+ i(this, "position");
1624
+ /** Origin manager for window transformations/ Менеджер начальной точки для трансформаций окна */
1625
+ i(this, "origin");
1626
+ /** Static mode manager for window behavior/ Менеджер статического режима для поведения окна */
1627
+ i(this, "staticMode");
1628
+ /** Emit manager for window events/ Менеджер событий для окна */
1629
+ i(this, "emit");
1630
+ /** Styles manager for window appearance/ Менеджер стилей для внешнего вида окна */
1631
+ i(this, "styles");
1632
+ /** Open manager for window visibility/ Менеджер открытия для видимости окна */
1633
+ i(this, "open");
1634
+ /** Verification manager for window state validation/ Менеджер проверки для валидации состояния окна */
1635
+ i(this, "verification");
1636
+ /** Event manager for window interactions/ Менеджер событий для взаимодействий с окном */
1637
+ i(this, "event");
1638
+ /** Scrollbar manager for window content/ Менеджер скроллбара для содержимого окна */
1639
+ i(this, "scrollbar");
1640
+ /** Image manager for window content/ Менеджер изображений для содержимого окна */
1641
+ i(this, "image");
1642
+ /** Escape key manager for window closing/ Менеджер клавиши Escape для закрытия окна */
1643
+ i(this, "esc");
1644
+ i(this, "text");
1645
+ /** Hidden manager for hiding elements outside the window when open/ Менеджер скрытия элементов вне окна при открытии */
1646
+ i(this, "hidden");
1647
+ /** Returns data for managing slot data/ Возвращает данные для управления данными слотами */
1648
+ i(this, "slotData", m(() => ({
1649
+ classesWindow: this.classes.list,
1650
+ class: this.classes.list.controlId,
1651
+ open: this.open.item,
1652
+ onclick: this.event.onClick,
1653
+ oncontextmenu: this.event.onContextmenu,
1654
+ binds: {
1655
+ class: this.classes.list.controlId,
1656
+ onclick: this.event.onClick,
1657
+ oncontextmenu: this.event.onContextmenu,
1658
+ ...w.control(
1659
+ this.classes.getControlId(),
1660
+ this.classes.getId(),
1661
+ this.props.ariaHaspopup,
1662
+ this.open.item.value
1663
+ )
1664
+ }
1665
+ })));
1666
+ /**
1667
+ * Returns the list of available classes.
1668
+ *
1669
+ * Возвращает список доступных классов.
1670
+ */
1671
+ i(this, "classesList", m(() => ({
1672
+ [this.classes.getId()]: !0,
1673
+ [`${this.className}--staticMode`]: this.staticMode.item.value
1674
+ })));
1675
+ /**
1676
+ * Restores the data to its previous state.
1677
+ *
1678
+ * Восстанавливает данные в прежнее состояние.
1679
+ */
1680
+ i(this, "stop", () => {
1681
+ this.event.stop(), this.staticMode.stop();
1682
+ });
1683
+ this.props = t, this.refs = e, this.classDesign = n, this.className = o, this.components = r, this.slots = a, this.emits = l, this.hook = new G(t), this.classes = new X(o), this.element = new j(this.classes, s), this.client = new V(this.element), this.tabIndex = new Y(
1684
+ () => this.element.getBody()
1685
+ ), this.status = new Z(this.element), this.persistent = new z(t, this.classes, this.element), this.flash = new K(t, this.classes), this.coordinates = new J(this.classes, this.element), this.position = new Q(t, this.client, this.element, this.coordinates), this.origin = new tt(this.client, this.element, this.position), this.staticMode = new et(t, e, this.element), this.emit = new st(this.classes, this.element, l), this.styles = new it(
1686
+ this.element,
1687
+ this.coordinates,
1688
+ this.position,
1689
+ this.origin,
1690
+ o
1691
+ ), this.open = new nt(
1692
+ t,
1693
+ this.client,
1694
+ this.hook,
1695
+ this.element,
1696
+ this.tabIndex,
1697
+ this.status,
1698
+ this.flash,
1699
+ this.coordinates,
1700
+ this.position,
1701
+ this.origin,
1702
+ this.emit,
1703
+ this.styles
1704
+ ), this.verification = new ot(
1705
+ t,
1706
+ this.persistent,
1707
+ this.classes,
1708
+ this.element,
1709
+ this.staticMode,
1710
+ this.open
1711
+ ), this.event = new rt(
1712
+ t,
1713
+ this.status,
1714
+ this.client,
1715
+ this.flash,
1716
+ this.open,
1717
+ this.verification
1718
+ ), this.scrollbar = new q(
1719
+ t,
1720
+ o,
1721
+ r,
1722
+ l
1723
+ ), this.image = new U(
1724
+ t,
1725
+ r,
1726
+ l
1727
+ ), this.esc = new _(
1728
+ this.open.item,
1729
+ () => this.open.close(),
1730
+ () => !this.props.persistent
1731
+ ), this.text = new F(this.props), this.hidden = new ht(this.classes, this.open), new L("open", this.emits, this.open.item), I(() => {
1732
+ f([e.open], () => this.open.set(t.open), { immediate: !0 });
1733
+ }), T(this.stop);
1734
+ }
1735
+ /** Checks if the role is a menu/ Проверяет, является ли роль меню */
1736
+ isMenu() {
1737
+ return this.props.role === "menu" || this.props.role === "menuitemcheckbox" || this.props.role === "menuitemradio";
1738
+ }
1739
+ }
1740
+ const wt = {
1741
+ indent: 4,
1742
+ ariaHaspopup: "dialog",
1743
+ role: "dialog",
1744
+ // :default [!] System label / Системная метка
1745
+ axis: "y",
1746
+ imagePosition: "top",
1747
+ overscroll: !0
1748
+ };
1749
+ class vt extends R {
1750
+ /**
1751
+ * Constructor
1752
+ * @param name class name/ название класса
1753
+ * @param props properties/ свойства
1754
+ * @param options list of additional parameters/ список дополнительных параметров
1755
+ */
1756
+ constructor(e, s, n) {
1757
+ super(
1758
+ e,
1759
+ s,
1760
+ n
1761
+ );
1762
+ i(this, "item");
1763
+ /**
1764
+ * Render main window element.
1765
+ *
1766
+ * Рендер главного элемента окна.
1767
+ */
1768
+ i(this, "renderMain", () => p(
1769
+ "div",
1770
+ this.propsMain.value,
1771
+ this.renderBody()
1772
+ ));
1773
+ /**
1774
+ * Render body element.
1775
+ *
1776
+ * Рендер элемента тела.
1777
+ */
1778
+ i(this, "renderBody", () => {
1779
+ var e, s;
1780
+ return p(
1781
+ "div",
1782
+ {
1783
+ key: "body",
1784
+ ...this.getAttrs(),
1785
+ class: {
1786
+ [String((e = this.classes) == null ? void 0 : e.value.body)]: !0,
1787
+ ...this.toClass((s = this.attrs) == null ? void 0 : s.class)
1788
+ }
1789
+ },
1790
+ [
1791
+ ...this.renderBodyImage(),
1792
+ ...this.renderBodyClose(),
1793
+ ...this.renderBodyGroup()
1794
+ ]
1795
+ );
1796
+ });
1797
+ /**
1798
+ * Generates an element to group the displayed data.
1799
+ *
1800
+ * Генерирует элемент для группировки выводимых данных.
1801
+ */
1802
+ i(this, "renderBodyGroup", () => {
1803
+ var s;
1804
+ const e = [];
1805
+ return this.initSlot("title", e, this.item.slotData.value), e.push(this.renderBodyContext()), this.initSlot("footer", e, this.item.slotData.value), [
1806
+ p("div", {
1807
+ key: "group",
1808
+ class: (s = this.classes) == null ? void 0 : s.value.bodyGroup
1809
+ }, e)
1810
+ ];
1811
+ });
1812
+ /**
1813
+ * Render context element.
1814
+ *
1815
+ * Рендер элемента контекста.
1816
+ */
1817
+ i(this, "renderBodyContext", () => {
1818
+ var e;
1819
+ return this.item.scrollbar.render(
1820
+ "div",
1821
+ {
1822
+ key: "bodyContext",
1823
+ class: (e = this.classes) == null ? void 0 : e.value.bodyContext,
1824
+ divider: this.props.divider,
1825
+ "data-window-body": "1"
1826
+ },
1827
+ () => this.initSlot("default", void 0, this.item.slotData.value)
1828
+ );
1829
+ });
1830
+ /**
1831
+ * Generates an element to display the image.
1832
+ *
1833
+ * Генерирует элемент для вывода изображения
1834
+ */
1835
+ i(this, "renderBodyImage", () => {
1836
+ var e;
1837
+ return this.props.image ? [p(
1838
+ "div",
1839
+ {
1840
+ key: "image",
1841
+ class: (e = this.classes) == null ? void 0 : e.value.image
1842
+ },
1843
+ this.item.image.render()
1844
+ )] : [];
1845
+ });
1846
+ /**
1847
+ * Generates an element to display the close button.
1848
+ *
1849
+ * Генерирует элемент для вывода кнопки закрытия.
1850
+ */
1851
+ i(this, "renderBodyClose", () => {
1852
+ var e;
1853
+ return this.props.closeButton ? this.components.render(
1854
+ "button",
1855
+ {
1856
+ key: "button-close",
1857
+ class: [
1858
+ (e = this.classes) == null ? void 0 : e.value.close,
1859
+ this.item.classes.list.close
1860
+ ],
1861
+ icon: this.props.iconClose,
1862
+ ...w.label(this.item.text.close.value)
1863
+ }
1864
+ ) : [];
1865
+ });
1866
+ /**
1867
+ * Props for the main element.
1868
+ *
1869
+ * Свойства для главного элемента.
1870
+ */
1871
+ i(this, "propsMain", m(() => {
1872
+ var e, s;
1873
+ return {
1874
+ key: "main",
1875
+ ref: this.element,
1876
+ class: (e = this.classes) == null ? void 0 : e.value.main,
1877
+ style: (s = this.styles) == null ? void 0 : s.value,
1878
+ "data-window": this.item.classes.getId(),
1879
+ onTransitionend: this.item.event.onTransition,
1880
+ ...w.role(this.props.role),
1881
+ ...w.modal(
1882
+ !this.item.isMenu(),
1883
+ this.props.ariaLabelledby,
1884
+ this.props.ariaDescribedby
1885
+ )
1886
+ };
1887
+ }));
1888
+ this.item = new at(
1889
+ this.props,
1890
+ this.refs,
1891
+ this.element,
1892
+ this.getDesign(),
1893
+ this.getName(),
1894
+ this.components,
1895
+ this.slots,
1896
+ this.emits
1897
+ ), this.init();
1898
+ }
1899
+ /**
1900
+ * Initialization of all the necessary properties for work
1901
+ *
1902
+ * Инициализация всех необходимых свойств для работы.
1903
+ */
1904
+ initExpose() {
1905
+ return {
1906
+ id: this.item.classes.getId(),
1907
+ open: this.item.open.item,
1908
+ setOpen: this.item.open.set,
1909
+ toOpen: this.item.open.open,
1910
+ toClose: this.item.open.close,
1911
+ toggle: this.item.open.toggle,
1912
+ control: this.item.slotData
1913
+ };
1914
+ }
1915
+ /**
1916
+ * Improvement of the obtained list of classes.
1917
+ *
1918
+ * Доработка полученного списка классов.
1919
+ */
1920
+ initClasses() {
1921
+ return {
1922
+ main: this.item.classesList.value,
1923
+ // :classes [!] System label / Системная метка
1924
+ body: this.getSubClass("body"),
1925
+ bodyGroup: this.getSubClass("body__group"),
1926
+ bodyContext: this.getSubClass("body__context"),
1927
+ control: this.getSubClass("control"),
1928
+ image: this.getSubClass("image"),
1929
+ close: this.getSubClass("close"),
1930
+ teleport: this.getSubClass("teleport")
1931
+ };
1932
+ }
1933
+ /**
1934
+ * Refinement of the received list of styles.
1935
+ *
1936
+ * Доработка полученного списка стилей.
1937
+ */
1938
+ initStyles() {
1939
+ return {};
1940
+ }
1941
+ /**
1942
+ * A method for rendering.
1943
+ *
1944
+ * Метод для рендеринга.
1945
+ */
1946
+ initRender() {
1947
+ var s;
1948
+ const e = [];
1949
+ return this.initSlot("control", e, this.item.slotData.value), this.item.open.inDom.value && (this.item.staticMode.item.value ? e.push(this.renderMain()) : e.push(
1950
+ p(
1951
+ O,
1952
+ {
1953
+ key: "teleport",
1954
+ to: "body"
1955
+ },
1956
+ p(
1957
+ "div",
1958
+ {
1959
+ class: (s = this.classes) == null ? void 0 : s.value.teleport,
1960
+ "data-window-teleport": this.item.classes.getId()
1961
+ },
1962
+ this.renderMain()
1963
+ )
1964
+ )
1965
+ )), e;
1966
+ }
1967
+ }
1968
+ export {
1969
+ at as Window,
1970
+ xt as WindowClassesInclude,
1971
+ vt as WindowDesign,
1972
+ Mt as WindowInclude,
1973
+ wt as defaultsWindow
1974
+ };