@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
@@ -1,126 +0,0 @@
1
- import type { ImageItem } from './basicTypes'
2
- import { isDomRuntime, resizeImageByMax } from '@dxtmisha/functional'
3
-
4
- /**
5
- * Maximum size allowed without conversion.
6
- *
7
- * Максимальный размер, допустимый без преобразования.
8
- */
9
- export const MAX_SIZE: number = 1280
10
-
11
- /**
12
- * Class for working with uploaded images.
13
- *
14
- * Класс для работы с загруженными изображениями.
15
- */
16
- export class ImageFile {
17
- /**
18
- * Checks if the file is an image.
19
- *
20
- * Проверяет, является ли файл изображением.
21
- * @param file verified file/ проверяемый файл
22
- */
23
- static isImage(file: File): boolean {
24
- return Boolean(file.type.match(/^image\//))
25
- }
26
-
27
- /**
28
- * Creates an image based on a file or a link.
29
- *
30
- * Создает изображение на основе файла или ссылки.
31
- * @param src file or link/ файл или ссылка
32
- */
33
- static createImage(src: string | File): Promise<ImageItem | undefined> {
34
- return new Promise((resolve) => {
35
- if (src) {
36
- const image = new Image()
37
-
38
- image.onerror = () => resolve(undefined)
39
- image.onload = () => {
40
- resolve({
41
- image,
42
- src: this.getSRC(image, src),
43
- width: image.naturalWidth,
44
- height: image.naturalHeight
45
- })
46
- }
47
-
48
- (async () => {
49
- image.src = src instanceof File ? await this.getFileResult(src) : src
50
- })()
51
- } else {
52
- resolve(undefined)
53
- }
54
- })
55
- }
56
-
57
- /**
58
- * Returns a link to the image.
59
- *
60
- * Возвращает ссылку на изображение.
61
- * @param src file or link/ файл или ссылка
62
- */
63
- static async getPath(src: string | File): Promise<string> {
64
- return this.createImage(src).then(item => item?.src ?? '')
65
- }
66
-
67
- /**
68
- * Applications asynchronously read the contents of files (or raw data buffers) stored on the user's computer.
69
- *
70
- * Асинхронно читать содержимое файлов (или буферы данных), хранящиеся на компьютере пользователя.
71
- * @param file the Blob or File from which to read/ Blob или File которые следует прочитать
72
- */
73
- static getFileResult(file: File): Promise<string> {
74
- return new Promise((resolve) => {
75
- if (this.isImage(file)) {
76
- this.getFileReader(file).then(result => resolve(result))
77
- } else {
78
- resolve('')
79
- }
80
- })
81
- }
82
-
83
- /**
84
- * Applications asynchronously read the contents of files (or raw data buffers) stored on the user's computer.
85
- *
86
- * Асинхронно читать содержимое файлов (или буферы данных), хранящиеся на компьютере пользователя.
87
- * @param file the Blob or File from which to read/ Blob или File которые следует прочитать
88
- */
89
- static getFileReader(file: File): Promise<string> {
90
- return new Promise((resolve) => {
91
- const reader = new FileReader()
92
- reader.onload = () => resolve(typeof reader.result === 'string' ? reader.result : '')
93
- reader.readAsDataURL(file)
94
- })
95
- }
96
-
97
- /**
98
- * Image size adaptation. Checks if the image size is larger than maxSize, reduces it to maxSize.
99
- *
100
- * Адаптация размера изображения. Проверяет, если размер изображения больше maxSize, уменьшает его до maxSize.
101
- * @param image image element/ элемент изображения
102
- * @param src link to image/ ссылка на изображение
103
- * @param maxSize maximum allowable image size/ максимальный допустимый размер изображения
104
- */
105
- protected static getSRC(
106
- image: HTMLImageElement,
107
- src?: string | File,
108
- maxSize = MAX_SIZE as number
109
- ): string {
110
- if (
111
- isDomRuntime()
112
- && (
113
- src instanceof File
114
- || src === undefined
115
- )
116
- && (
117
- image.naturalHeight > maxSize
118
- || image.naturalWidth > maxSize
119
- )
120
- ) {
121
- return resizeImageByMax(image, maxSize) ?? ''
122
- } else {
123
- return image.src
124
- }
125
- }
126
- }
@@ -1,218 +0,0 @@
1
- import { computed, type Ref, ref, toRefs, type WatchHandle, watch } from 'vue'
2
- import { type ConstrBind, forEach, isArray, isNumber, useLazyItemByMarginRef } from '@dxtmisha/functional'
3
-
4
- import { ImageType } from './ImageType'
5
- import { ImagePosition } from './ImagePosition'
6
- import { ImageBackground } from './ImageBackground'
7
-
8
- import { type ImageAttrs, type ImagePictureList, ImageTypeValue } from './basicTypes'
9
- import type { ImageProps } from './props'
10
-
11
- /**
12
- * A class for working with the img tag.
13
- *
14
- * Класс для работы с тегом img.
15
- */
16
- export class ImageImg {
17
- protected lazyInit = ref<boolean>(false)
18
- protected lazyStatus?: WatchHandle
19
-
20
- constructor(
21
- protected readonly props: ImageProps,
22
- protected readonly element: Ref<HTMLElement | undefined>,
23
- protected readonly type: ImageType,
24
- protected readonly position: ImagePosition,
25
- protected readonly background: ImageBackground
26
- ) {
27
- const {
28
- lazy,
29
- preloadOffset
30
- } = toRefs(props)
31
-
32
- watch(
33
- [lazy, preloadOffset, element],
34
- () => {
35
- if (
36
- this.props.lazy
37
- && this.element.value
38
- ) {
39
- this.makeLazy()
40
- } else {
41
- this.lazyInit.value = false
42
- this.lazyStatus?.stop()
43
- this.lazyStatus = undefined
44
- }
45
- },
46
- { immediate: true }
47
- )
48
- }
49
-
50
- /**
51
- * Determines whether to use the img tag/ Определяет, использовать ли тег img
52
- */
53
- readonly is = computed<boolean>(() => {
54
- return Boolean(this.props.tagImg)
55
- && this.isType()
56
- })
57
-
58
- /**
59
- * Determines whether lazy loading is enabled/ Определяет, включена ли ленивя загрузка
60
- */
61
- readonly isLazy = computed<boolean>(() => {
62
- return Boolean(this.props.lazy) && !this.lazyInit.value
63
- })
64
-
65
- /**
66
- * Determines whether to use the picture tag/ Определяет, использовать ли тег picture
67
- */
68
- readonly isPicture = computed(() => this.is.value && Boolean(this.props.picture))
69
-
70
- /**
71
- * Calculates all properties for binding to the element/
72
- * Вычисляет все свойства для привязки к элементу
73
- */
74
- readonly binds = computed<ConstrBind<ImageAttrs>>(
75
- () => {
76
- const attrs: ConstrBind<any> = {
77
- key: 'img'
78
- }
79
-
80
- if (this.is.value) {
81
- attrs.src = this.background.imageSrc.value
82
- attrs.alt = this.props.alt ?? ''
83
- attrs.width = '100%'
84
- attrs.height = '100%'
85
- attrs.style = this.styles.value
86
-
87
- if (this.props.lazy) {
88
- attrs.loading = this.isLazy.value ? 'lazy' : 'auto'
89
- }
90
-
91
- if (this.props.srcset) {
92
- attrs.srcset = this.getSrcset()
93
- }
94
- }
95
-
96
- return attrs
97
- }
98
- )
99
-
100
- /**
101
- * Calculates the picture sources for different resolutions/
102
- * Вычисляет источники picture для разных разрешений
103
- */
104
- readonly picture = computed<ImagePictureList | undefined>(() => {
105
- if (!this.props.picture) {
106
- return undefined
107
- }
108
-
109
- if (isArray(this.props.picture)) {
110
- return this.props.picture
111
- }
112
-
113
- return forEach(
114
- this.props.picture,
115
- (value, media) => {
116
- return {
117
- key: media,
118
- srcset: value,
119
- media: `(width >= ${media})`
120
- }
121
- }
122
- ) as ImagePictureList
123
- })
124
-
125
- /**
126
- * Calculates styles for binding to the element.
127
- *
128
- * Вычисляет стили для привязки к элементу.
129
- */
130
- readonly styles = computed<Record<string, any>>(() => {
131
- const styles: any = {
132
- 'object-position': `${this.position.x.value} ${this.position.y.value}`,
133
- '--sys-transform-originX': this.position.x.value,
134
- '--sys-transform-originY': this.position.y.value
135
- }
136
-
137
- if (this.isSize()) {
138
- styles['--sys-transform-scale'] = this.getSize()
139
- }
140
-
141
- return styles
142
- })
143
-
144
- /**
145
- * Checks if the type is file or image.
146
- *
147
- * Проверяет, является ли тип файлом или изображением.
148
- */
149
- protected isType(): boolean {
150
- const type = this.type.item.value
151
- return type === ImageTypeValue.file || type === ImageTypeValue.image
152
- }
153
-
154
- /**
155
- * Checks if the size is contained or cover.
156
- *
157
- * Проверяет, является ли размер contain или cover.
158
- */
159
- protected isSize(): boolean {
160
- const size = this.background.size.value
161
-
162
- return Boolean(size && size.match('[% ]'))
163
- }
164
-
165
- /**
166
- * Returns the value for the transform scale.
167
- *
168
- * Возвращает значение для свойства transform scale.
169
- */
170
- protected getSize() {
171
- return this.background.size.value
172
- ?.replace('auto', '')
173
- ?.trim()
174
- }
175
-
176
- /**
177
- * Returns the srcset attribute value.
178
- *
179
- * Возвращает значение атрибута srcset.
180
- */
181
- protected getSrcset(): string | undefined {
182
- if (!this.props.srcset) {
183
- return undefined
184
- }
185
-
186
- if (typeof this.props.srcset === 'string') {
187
- return this.props.srcset
188
- }
189
-
190
- return Object.entries(this.props.srcset)
191
- .map(([key, value]) => `${value} ${this.toSrcsetKey(key)}`)
192
- .join(', ')
193
- }
194
-
195
- /**
196
- * Converts the srcset key to a string.
197
- *
198
- * Преобразует ключ srcset в строку.
199
- * @param key key/ ключ
200
- */
201
- protected toSrcsetKey(key: string | number): string {
202
- return isNumber(key) ? `${key}w` : String(key)
203
- }
204
-
205
- /**
206
- * Initializes lazy loading.
207
- *
208
- * Инициализирует ленивую загрузку.
209
- */
210
- protected makeLazy(): void {
211
- const lazyStatus = useLazyItemByMarginRef(this.element, `${this.props.preloadOffset} 0px`)
212
- .lazyItemStatus
213
-
214
- this.lazyStatus = watch(lazyStatus, () => {
215
- this.lazyInit.value = lazyStatus.value
216
- }, { immediate: true })
217
- }
218
- }
@@ -1,53 +0,0 @@
1
- import { computed, type VNode } from 'vue'
2
- import { type ConstrEmit, DesignComponents, getBind, getRef, type RefOrNormal } from '@dxtmisha/functional'
3
-
4
- import type { ImageEventData, ImageComponentsInclude, ImageEmitsInclude, ImagePropsInclude } from './basicTypes'
5
-
6
- /**
7
- * Класс для подключения и работы с компонентом изображения.
8
- *
9
- * A class for connecting to and working with the image component.
10
- */
11
- export class ImageInclude {
12
- /**
13
- * Constructor for working with images.
14
- *
15
- * Конструктор для работы с изображениями.
16
- * @param props input parameter/ входной параметр
17
- * @param components object for working with components/ объект для работы с компонентами
18
- * @param emits the function is called when an event is triggered/ функция вызывается, когда срабатывает событие
19
- * @param extra additional parameter/ дополнительный параметр
20
- */
21
- constructor(
22
- protected readonly props: ImagePropsInclude,
23
- protected readonly components?: DesignComponents<ImageComponentsInclude, ImagePropsInclude>,
24
- protected readonly emits?: ConstrEmit<ImageEmitsInclude>,
25
- protected readonly extra?: RefOrNormal<Record<string, any>>
26
- ) {
27
- }
28
-
29
- /**
30
- * Проверяет, есть ли изображение/ Checks if an image exists
31
- */
32
- readonly isImage = computed<boolean>(() => Boolean(this.props.image))
33
-
34
- /**
35
- * Возвращает данные для передачи компоненту/ Returns data to pass to the component
36
- */
37
- readonly bind = computed(() => getBind(this.props.image, getRef(this.extra), 'value'))
38
-
39
- render(): VNode[] {
40
- if (
41
- this.components
42
- && this.isImage.value
43
- ) {
44
- return this.components.render('image', this.bind.value)
45
- }
46
-
47
- return []
48
- }
49
-
50
- onLoad(event: ImageEventData) {
51
- this.emits?.('load', event)
52
- }
53
- }
@@ -1,44 +0,0 @@
1
- import { isDomRuntime, isString } from '@dxtmisha/functional'
2
-
3
- import { ImageFile } from './ImageFile'
4
-
5
- const IMAGE_PDF_TOOL = '#toolbar=0&scrollbar=1'
6
-
7
- /**
8
- * Class for working with PDF files.
9
- *
10
- * Класс для работы с PDF-файлами.
11
- */
12
- export class ImagePdf {
13
- /**
14
- * Checks if the file is an image.
15
- *
16
- * Проверяет, является ли файл PDF.
17
- * @param file verified file/ проверяемый файл
18
- */
19
- static isPdf(file: string | File): boolean {
20
- if (isString(file)) {
21
- return Boolean(file.match(/\.pdf$/i))
22
- }
23
-
24
- return isDomRuntime() && Boolean(file.type.match(/\/pdf$/i))
25
- }
26
-
27
- /**
28
- * Applications asynchronously read the contents of files (or raw data buffers) stored on the user's computer.
29
- *
30
- * Асинхронно читать содержимое файлов (или буферы данных), хранящиеся на компьютере пользователя.
31
- * @param file the Blob or File from which to read/ Blob или File которые следует прочитать
32
- */
33
- static async get(file: string | File): Promise<string> {
34
- if (isString(file)) {
35
- return `${file}${IMAGE_PDF_TOOL}`
36
- }
37
-
38
- if (this.isPdf(file)) {
39
- return `${(await ImageFile.getFileReader(file))}${IMAGE_PDF_TOOL}`
40
- }
41
-
42
- return ''
43
- }
44
- }
@@ -1,49 +0,0 @@
1
- import { computed } from 'vue'
2
-
3
- import { ImageCoordinator } from './ImageCoordinator'
4
-
5
- import type { ImageProps } from './props'
6
-
7
- /**
8
- * A class for obtaining data for the background-position property.
9
- *
10
- * Класс для получения данных для свойства background-position.
11
- */
12
- export class ImagePosition {
13
- /**
14
- * Constructor
15
- * @param props input data/ входные данные
16
- * @param coordinator coordinates for margins/ координаты для отступов
17
- */
18
- constructor(
19
- protected readonly props: ImageProps,
20
- protected readonly coordinator: ImageCoordinator
21
- ) {
22
- }
23
-
24
- /**
25
- * Returns the position on the left.
26
- *
27
- * Возвращает позицию слева.
28
- */
29
- readonly x = computed<string>(() => {
30
- if (this.coordinator.is()) {
31
- return `${this.coordinator.coordinator.value[3] + (this.coordinator.size.value.width / 2)}%`
32
- }
33
-
34
- return this.props.x?.toString() || 'center'
35
- })
36
-
37
- /**
38
- * Returns the position on the top.
39
- *
40
- * Возвращает позицию сверху.
41
- */
42
- readonly y = computed<string>(() => {
43
- if (this.coordinator.is()) {
44
- return `${this.coordinator.coordinator.value[0] + (this.coordinator.size.value.height / 2)}%`
45
- }
46
-
47
- return this.props.y?.toString() || 'center'
48
- })
49
- }
@@ -1,83 +0,0 @@
1
- import { computed } from 'vue'
2
- import { GEO_FLAG_ICON_NAME, Icons, isFilled } from '@dxtmisha/functional'
3
-
4
- import { ImagePdf } from './ImagePdf'
5
-
6
- import { type ImageTypeItem, ImageTypeValue } from './basicTypes'
7
- import type { ImageProps } from './props'
8
-
9
- /**
10
- * Class for working with the image type.
11
- *
12
- * Класс для работы с типом изображения.
13
- */
14
- export class ImageType {
15
- /**
16
- * Constructor
17
- * @param props input data/ входные данные
18
- */
19
- constructor(
20
- protected readonly props: ImageProps
21
- ) {
22
- }
23
-
24
- /**
25
- * Get the image type.
26
- *
27
- * Получения тип изображения.
28
- */
29
- readonly item = computed<ImageTypeItem>(() => {
30
- const image = this.props.value
31
-
32
- if (
33
- image instanceof File
34
- || isFilled(image)
35
- ) {
36
- if (ImagePdf.isPdf(image)) {
37
- return ImageTypeValue.pdf
38
- }
39
-
40
- if (image instanceof File) {
41
- return ImageTypeValue.file
42
- }
43
-
44
- if (image.match(/\//)) {
45
- return ImageTypeValue.image
46
- }
47
-
48
- if (image.match(GEO_FLAG_ICON_NAME)) {
49
- return ImageTypeValue.icon
50
- }
51
-
52
- if (image.match(/^#/)) {
53
- return ImageTypeValue.color
54
- }
55
-
56
- if (image.match(/^@/)) {
57
- return ImageTypeValue.public
58
- }
59
-
60
- if (image.match(/^\$/)) {
61
- return ImageTypeValue.material
62
- }
63
-
64
- if (image.match(/^flag-[a-z]{2}$/)) {
65
- return ImageTypeValue.flag
66
- }
67
-
68
- const sub = image.match(/^(outlined|round|sharp|material)-/)
69
-
70
- if (sub) {
71
- return sub[1] as ImageTypeItem
72
- }
73
-
74
- if (Icons.is(image)) {
75
- return ImageTypeValue.public
76
- }
77
-
78
- return ImageTypeValue.outlined
79
- }
80
-
81
- return undefined
82
- })
83
- }
@@ -1,75 +0,0 @@
1
- import type { ConstrBind, Undefined } from '@dxtmisha/functional'
2
- import type { ImageEmits } from './types'
3
- import type { ImagePropsBasic } from './props'
4
-
5
- export enum ImageTypeValue {
6
- pdf = 'pdf',
7
- file = 'file',
8
- image = 'image',
9
- flag = 'flag',
10
- color = 'color',
11
- public = 'public',
12
- filled = 'filled',
13
- outlined = 'outlined',
14
- round = 'round',
15
- sharp = 'sharp',
16
- twoTone = 'two-tone',
17
- material = 'material',
18
- icon = 'icon'
19
- }
20
-
21
- export type ImageElement = HTMLElement | undefined
22
- export type ImageAttrs = Record<keyof HTMLImageElement, any>
23
-
24
- export type ImageCoordinatorItem
25
- = [number]
26
- | [number, number]
27
- | [number, number, number]
28
- | [number, number, number, number]
29
- | Undefined
30
-
31
- export type ImageSize<T = number> = {
32
- width: T
33
- height: T
34
- }
35
-
36
- export type ImagePictureItem = Record<keyof HTMLSourceElement & 'key', any>
37
- export type ImagePictureList = ImagePictureItem[]
38
- export type ImagePicture = Record<string, string> | ImagePictureList
39
-
40
- /**
41
- * Parameters for the uploaded image or the one available by a direct link.
42
- *
43
- * Параметры для загруженного изображения или доступного по прямой ссылке.
44
- */
45
- export type ImageItem
46
- = ImageSize
47
- & {
48
- image: HTMLImageElement
49
- src: string
50
- }
51
-
52
- export type ImageTypeItem = ImageTypeValue | Undefined
53
-
54
- export type ImageEventItem = ImageItem | string | undefined
55
- export type ImageEventType = {
56
- type: ImageTypeItem
57
- }
58
- export type ImageEventData
59
- = ImageEventType
60
- & {
61
- image: ImageEventItem
62
- }
63
-
64
- export type ImageValue<
65
- Image extends ImagePropsBasic = ImagePropsBasic
66
- > = string | ConstrBind<Image> | null
67
-
68
- export type ImageComponentsInclude = {
69
- image: object
70
- }
71
- export type ImageEmitsInclude = ImageEmits
72
-
73
- export interface ImagePropsInclude<Image extends ImagePropsBasic = ImagePropsBasic> {
74
- image?: string | ConstrBind<Image>
75
- }
@@ -1,5 +0,0 @@
1
- export * from './Image'
2
- export * from './ImageDesign'
3
- export * from './basicTypes'
4
- export * from './props'
5
- export * from './types'
@@ -1,17 +0,0 @@
1
- {
2
- "color": {
3
- "_type": "var"
4
- },
5
- "color-opacity": {
6
- "_type": "var"
7
- },
8
- "~turn": {},
9
- "~disabled": {},
10
- "~hide": {},
11
- "~adaptive": {},
12
- "~size": {
13
- "~auto": {},
14
- "~contain": {},
15
- "~cover": {}
16
- }
17
- }