@dxtmisha/constructor 0.39.3 → 0.39.7

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 (268) hide show
  1. package/dist/{AriaStaticInclude-CFGewqpn.js → AriaStaticInclude-CAURwJMb.js} +47 -9
  2. package/dist/{BarsInclude-IM3Gdslg.js → BarsInclude-BOEoY-O4.js} +19 -14
  3. package/dist/{BlockDesign-D67yDT9N.js → BlockDesign-CwRNJi0I.js} +49 -38
  4. package/dist/ButtonDesign-DgZNw44L.js +198 -0
  5. package/dist/CaptionInclude-NzS6EYYj.js +70 -0
  6. package/dist/{DescriptionInclude-DxWNon_J.js → DescriptionInclude-D4ane9aR.js} +20 -30
  7. package/dist/{EnabledInclude-DGeuJhOr.js → EnabledInclude-Dk-rP4jp.js} +1 -1
  8. package/dist/{EventClickInclude-eDWqxK0d.js → EventClickInclude-WHJqxZ1b.js} +13 -3
  9. package/dist/{FieldCounterInclude-BR6n8WlH.js → FieldCounterInclude-D0oojGWY.js} +2 -2
  10. package/dist/{FieldEventInclude-zg02dtQi.js → FieldEventInclude-DBRqmzpF.js} +11 -8
  11. package/dist/{FieldInclude-c6DSD0-y.js → FieldInclude-BKoBWZdj.js} +23 -12
  12. package/dist/{FieldLabelInclude-B4OGaJ1r.js → FieldLabelInclude-Bkxf6rRw.js} +30 -23
  13. package/dist/{FieldMatchInclude-Vl2gJUaM.js → FieldMatchInclude-GgyucDC_.js} +35 -19
  14. package/dist/{FieldMessageInclude-CktVHvWW.js → FieldMessageInclude-BJDnir34.js} +34 -28
  15. package/dist/{LabelHighlightInclude-Dhj3p9NW.js → LabelHighlightInclude-CLmTvW_6.js} +1 -1
  16. package/dist/{LabelInclude-BtZrrbCf.js → LabelInclude-D-mLvjK5.js} +32 -50
  17. package/dist/{LabelNumberInclude-DyifvMnr.js → LabelNumberInclude-Cn0qDEgX.js} +1 -1
  18. package/dist/{ModalDesignAbstract-CjDr5JaN.js → ModalDesignAbstract-D4A_a_rC.js} +42 -42
  19. package/dist/Plugin-CBNCh_iN.js +628 -0
  20. package/dist/{ProgressInclude-UBipdctr.js → ProgressInclude-9MfZWtGP.js} +5 -5
  21. package/dist/{SuffixInclude-C7JNYCJK.js → SuffixInclude-maZ7235l.js} +48 -20
  22. package/dist/{TabIndexInclude-d7A_R6KD.js → TabIndexInclude-xcSFV8yP.js} +43 -33
  23. package/dist/TextInclude--GERRCGj.js +146 -0
  24. package/dist/{WindowEsc-Dp9AvJt7.js → WindowEsc-DTwn4Vsz.js} +2 -2
  25. package/dist/{WindowInclude-Is5RhGxt.js → WindowInclude-BWm4-0Gh.js} +24 -20
  26. package/dist/accordion.js +66 -50
  27. package/dist/actionSheet.js +2 -4
  28. package/dist/actions.js +38 -36
  29. package/dist/anchor.js +63 -60
  30. package/dist/arrow.js +32 -33
  31. package/dist/badge.js +40 -35
  32. package/dist/bars.js +91 -57
  33. package/dist/block.js +1 -1
  34. package/dist/button.js +12 -15
  35. package/dist/cell.js +44 -37
  36. package/dist/chip.js +1 -1
  37. package/dist/chipGroup.js +25 -21
  38. package/dist/classes/AriaStaticInclude.d.ts +28 -0
  39. package/dist/classes/CaptionInclude.d.ts +64 -1
  40. package/dist/classes/DescriptionInclude.d.ts +4 -16
  41. package/dist/classes/EventClickInclude.d.ts +8 -0
  42. package/dist/classes/{field → Field}/FieldInputModeInclude.d.ts +1 -0
  43. package/dist/classes/LabelInclude.d.ts +4 -17
  44. package/dist/classes/Plugin/Plugin.d.ts +80 -0
  45. package/dist/classes/Plugin/PluginCode.d.ts +94 -0
  46. package/dist/classes/Plugin/PluginComponents.d.ts +38 -0
  47. package/dist/classes/Plugin/PluginData.d.ts +81 -0
  48. package/dist/classes/Plugin/PluginImport.d.ts +34 -0
  49. package/dist/classes/Plugin/PluginStyle.d.ts +71 -0
  50. package/dist/classes/Plugin/PluginTool.d.ts +42 -0
  51. package/dist/classes/PrefixInclude.d.ts +9 -1
  52. package/dist/classes/SuffixInclude.d.ts +9 -1
  53. package/dist/classes/TabIndexInclude.d.ts +14 -8
  54. package/dist/classes/TextInclude.d.ts +33 -5
  55. package/dist/constructors/Accordion/Accordion.d.ts +28 -1
  56. package/dist/constructors/Accordion/props.d.ts +5 -7
  57. package/dist/constructors/ActionSheet/props.d.ts +4 -7
  58. package/dist/constructors/Actions/Actions.d.ts +2 -1
  59. package/dist/constructors/Actions/ActionsDesign.d.ts +2 -1
  60. package/dist/constructors/Actions/basicTypes.d.ts +2 -2
  61. package/dist/constructors/Actions/props.d.ts +6 -7
  62. package/dist/constructors/Anchor/Anchor.d.ts +0 -7
  63. package/dist/constructors/Anchor/AnchorIcon.d.ts +4 -4
  64. package/dist/constructors/Anchor/basicTypes.d.ts +2 -2
  65. package/dist/constructors/Anchor/props.d.ts +8 -10
  66. package/dist/constructors/Anchor/types.d.ts +2 -2
  67. package/dist/constructors/Arrow/Arrow.d.ts +0 -5
  68. package/dist/constructors/Arrow/basicTypes.d.ts +2 -2
  69. package/dist/constructors/Arrow/props.d.ts +5 -7
  70. package/dist/constructors/Badge/Badge.d.ts +5 -1
  71. package/dist/constructors/Badge/BadgeDesign.d.ts +2 -1
  72. package/dist/constructors/Badge/basicTypes.d.ts +2 -2
  73. package/dist/constructors/Badge/props.d.ts +5 -7
  74. package/dist/constructors/Bars/Bars.d.ts +33 -8
  75. package/dist/constructors/Bars/BarsAction.d.ts +6 -2
  76. package/dist/constructors/Bars/BarsDesign.d.ts +2 -1
  77. package/dist/constructors/Bars/BarsInclude.d.ts +7 -2
  78. package/dist/constructors/Bars/basicTypes.d.ts +2 -2
  79. package/dist/constructors/Bars/props.d.ts +5 -8
  80. package/dist/constructors/Bars/types.d.ts +3 -3
  81. package/dist/constructors/Block/Block.d.ts +0 -4
  82. package/dist/constructors/Block/BlockDesign.d.ts +9 -1
  83. package/dist/constructors/Block/props.d.ts +4 -7
  84. package/dist/constructors/Block/types.d.ts +3 -3
  85. package/dist/constructors/Button/Button.d.ts +22 -1
  86. package/dist/constructors/Button/ButtonDesign.d.ts +2 -1
  87. package/dist/constructors/Button/basicTypes.d.ts +2 -2
  88. package/dist/constructors/Button/props.d.ts +7 -11
  89. package/dist/constructors/Button/types.d.ts +2 -2
  90. package/dist/constructors/Cell/Cell.d.ts +10 -1
  91. package/dist/constructors/Cell/CellDesign.d.ts +2 -1
  92. package/dist/constructors/Cell/props.d.ts +5 -7
  93. package/dist/constructors/Cell/types.d.ts +3 -3
  94. package/dist/constructors/Chip/basicTypes.d.ts +2 -2
  95. package/dist/constructors/Chip/props.d.ts +4 -7
  96. package/dist/constructors/ChipGroup/ChipGroup.d.ts +4 -1
  97. package/dist/constructors/ChipGroup/ChipGroupDesign.d.ts +2 -1
  98. package/dist/constructors/ChipGroup/props.d.ts +4 -7
  99. package/dist/constructors/Dialog/Dialog.d.ts +1 -2
  100. package/dist/constructors/Dialog/props.d.ts +5 -7
  101. package/dist/constructors/Field/Field.d.ts +33 -6
  102. package/dist/constructors/Field/FieldDesign.d.ts +2 -1
  103. package/dist/constructors/Field/FieldIcons.d.ts +4 -1
  104. package/dist/constructors/Field/FieldInclude.d.ts +11 -3
  105. package/dist/constructors/Field/basicTypes.d.ts +2 -2
  106. package/dist/constructors/Field/props.d.ts +6 -7
  107. package/dist/constructors/FieldCounter/FieldCounter.d.ts +22 -1
  108. package/dist/constructors/FieldCounter/FieldCounterDesign.d.ts +9 -2
  109. package/dist/constructors/FieldCounter/props.d.ts +10 -7
  110. package/dist/constructors/FieldCounter/types.d.ts +1 -0
  111. package/dist/constructors/FieldLabel/FieldLabel.d.ts +5 -1
  112. package/dist/constructors/FieldLabel/FieldLabelDesign.d.ts +2 -1
  113. package/dist/constructors/FieldLabel/FieldLabelInclude.d.ts +7 -5
  114. package/dist/constructors/FieldLabel/basicTypes.d.ts +2 -2
  115. package/dist/constructors/FieldLabel/props.d.ts +5 -7
  116. package/dist/constructors/FieldLabel/types.d.ts +2 -2
  117. package/dist/constructors/FieldMessage/FieldMessage.d.ts +16 -1
  118. package/dist/constructors/FieldMessage/FieldMessageDesign.d.ts +2 -1
  119. package/dist/constructors/FieldMessage/FieldMessageInclude.d.ts +8 -9
  120. package/dist/constructors/FieldMessage/props.d.ts +4 -7
  121. package/dist/constructors/Icon/Icon.d.ts +7 -2
  122. package/dist/constructors/Icon/IconLiteInclude.d.ts +1 -2
  123. package/dist/constructors/Icon/basicTypes.d.ts +6 -6
  124. package/dist/constructors/Icon/props.d.ts +8 -8
  125. package/dist/constructors/Icon/types.d.ts +3 -2
  126. package/dist/constructors/Image/Image.d.ts +0 -7
  127. package/dist/constructors/Image/basicTypes.d.ts +2 -2
  128. package/dist/constructors/Image/props.d.ts +5 -7
  129. package/dist/constructors/Input/Input.d.ts +33 -14
  130. package/dist/constructors/Input/InputDesign.d.ts +2 -1
  131. package/dist/constructors/Input/InputPassword.d.ts +5 -2
  132. package/dist/constructors/Input/props.d.ts +3 -7
  133. package/dist/constructors/List/List.d.ts +35 -27
  134. package/dist/constructors/List/ListDesign.d.ts +2 -1
  135. package/dist/constructors/List/ListFocus.d.ts +10 -2
  136. package/dist/constructors/List/ListGo.d.ts +22 -4
  137. package/dist/constructors/List/props.d.ts +8 -8
  138. package/dist/constructors/ListGroup/ListGroup.d.ts +2 -1
  139. package/dist/constructors/ListGroup/ListGroupDesign.d.ts +2 -1
  140. package/dist/constructors/ListGroup/basicTypes.d.ts +2 -2
  141. package/dist/constructors/ListGroup/props.d.ts +5 -7
  142. package/dist/constructors/ListItem/ListItem.d.ts +17 -60
  143. package/dist/constructors/ListItem/props.d.ts +7 -10
  144. package/dist/constructors/ListMenu/ListMenu.d.ts +3 -1
  145. package/dist/constructors/ListMenu/ListMenuDesign.d.ts +2 -1
  146. package/dist/constructors/ListMenu/props.d.ts +4 -7
  147. package/dist/constructors/Mask/Mask.d.ts +24 -1
  148. package/dist/constructors/Mask/MaskDesign.d.ts +2 -1
  149. package/dist/constructors/Mask/MaskInclude.d.ts +2 -2
  150. package/dist/constructors/Mask/MaskPattern.d.ts +1 -1
  151. package/dist/constructors/Mask/props.d.ts +5 -7
  152. package/dist/constructors/Menu/Menu.d.ts +11 -7
  153. package/dist/constructors/Menu/MenuDesign.d.ts +2 -1
  154. package/dist/constructors/Menu/MenuRequest.d.ts +1 -5
  155. package/dist/constructors/Menu/basicTypes.d.ts +2 -2
  156. package/dist/constructors/Menu/props.d.ts +7 -8
  157. package/dist/constructors/Modal/ModalDesign.d.ts +1 -1
  158. package/dist/constructors/Modal/ModalDesignAbstract.d.ts +3 -2
  159. package/dist/constructors/Modal/props.d.ts +5 -7
  160. package/dist/constructors/MotionTransform/MotionTransform.d.ts +10 -8
  161. package/dist/constructors/MotionTransform/MotionTransformDesign.d.ts +13 -2
  162. package/dist/constructors/MotionTransform/MotionTransformEvent.d.ts +14 -0
  163. package/dist/constructors/MotionTransform/props.d.ts +6 -8
  164. package/dist/constructors/Page/props.d.ts +3 -7
  165. package/dist/constructors/Progress/Progress.d.ts +20 -0
  166. package/dist/constructors/Progress/ProgressDesign.d.ts +4 -60
  167. package/dist/constructors/Progress/basicTypes.d.ts +2 -2
  168. package/dist/constructors/Progress/props.d.ts +7 -9
  169. package/dist/constructors/Ripple/RippleDesign.d.ts +2 -1
  170. package/dist/constructors/Ripple/props.d.ts +4 -7
  171. package/dist/constructors/Scrollbar/Scrollbar.d.ts +3 -1
  172. package/dist/constructors/Scrollbar/ScrollbarDesign.d.ts +2 -1
  173. package/dist/constructors/Scrollbar/basicTypes.d.ts +2 -2
  174. package/dist/constructors/Scrollbar/props.d.ts +5 -7
  175. package/dist/constructors/Section/props.d.ts +3 -7
  176. package/dist/constructors/Select/Select.d.ts +19 -8
  177. package/dist/constructors/Select/SelectDesign.d.ts +2 -1
  178. package/dist/constructors/Select/SelectInput.d.ts +3 -3
  179. package/dist/constructors/Select/props.d.ts +4 -7
  180. package/dist/constructors/SelectValue/SelectValue.d.ts +4 -1
  181. package/dist/constructors/SelectValue/SelectValueDesign.d.ts +2 -1
  182. package/dist/constructors/SelectValue/props.d.ts +4 -7
  183. package/dist/constructors/Skeleton/SkeletonDesign.d.ts +2 -1
  184. package/dist/constructors/Skeleton/basicTypes.d.ts +2 -2
  185. package/dist/constructors/Skeleton/props.d.ts +4 -7
  186. package/dist/constructors/TextareaAutosize/TextareaAutosize.d.ts +3 -1
  187. package/dist/constructors/TextareaAutosize/TextareaAutosizeDesign.d.ts +2 -1
  188. package/dist/constructors/TextareaAutosize/props.d.ts +4 -7
  189. package/dist/constructors/Tooltip/Tooltip.d.ts +82 -13
  190. package/dist/constructors/Tooltip/TooltipEvent.d.ts +6 -2
  191. package/dist/constructors/Tooltip/TooltipOpen.d.ts +7 -1
  192. package/dist/constructors/Tooltip/basicTypes.d.ts +2 -2
  193. package/dist/constructors/Tooltip/props.d.ts +13 -7
  194. package/dist/constructors/Window/Window.d.ts +25 -1
  195. package/dist/constructors/Window/WindowDesign.d.ts +5 -63
  196. package/dist/constructors/Window/WindowEsc.d.ts +2 -2
  197. package/dist/constructors/Window/WindowEvent.d.ts +20 -3
  198. package/dist/constructors/Window/WindowHidden.d.ts +9 -3
  199. package/dist/constructors/Window/WindowInclude.d.ts +5 -1
  200. package/dist/constructors/Window/basicTypes.d.ts +7 -3
  201. package/dist/constructors/Window/props.d.ts +19 -9
  202. package/dist/dialog.js +4 -4
  203. package/dist/field.js +161 -126
  204. package/dist/fieldCounter.js +107 -38
  205. package/dist/fieldLabel.js +41 -37
  206. package/dist/fieldMessage.js +87 -65
  207. package/dist/icon.js +55 -39
  208. package/dist/image.js +108 -110
  209. package/dist/input.js +102 -80
  210. package/dist/library/plugin.d.ts +2 -0
  211. package/dist/library.d.ts +22 -14
  212. package/dist/library.js +55 -47
  213. package/dist/list.js +152 -87
  214. package/dist/listGroup.js +23 -21
  215. package/dist/listItem.js +116 -100
  216. package/dist/listMenu.js +26 -20
  217. package/dist/mask.js +113 -89
  218. package/dist/media/styleModification.d.ts +6 -0
  219. package/dist/menu.js +64 -49
  220. package/dist/modal.js +9 -9
  221. package/dist/motionTransform.js +138 -106
  222. package/dist/page.js +1 -1
  223. package/dist/plugin.js +4 -0
  224. package/dist/progress.js +65 -38
  225. package/dist/ripple.js +4 -3
  226. package/dist/scrollbar.js +23 -20
  227. package/dist/section.js +1 -1
  228. package/dist/select.js +105 -90
  229. package/dist/selectValue.js +29 -25
  230. package/dist/skeleton.js +20 -22
  231. package/dist/textareaAutosize.js +26 -23
  232. package/dist/tooltip.js +140 -91
  233. package/dist/types/ariaTypes.d.ts +22 -16
  234. package/dist/types/captionTypes.d.ts +4 -2
  235. package/dist/types/descriptionTypes.d.ts +4 -12
  236. package/dist/types/enabledTypes.d.ts +2 -2
  237. package/dist/types/eventClickTypes.d.ts +2 -2
  238. package/dist/types/fieldTypes.d.ts +40 -41
  239. package/dist/types/labelTypes.d.ts +6 -13
  240. package/dist/types/modelTypes.d.ts +4 -4
  241. package/dist/types/pluginTypes.d.ts +17 -0
  242. package/dist/types/prefixTypes.d.ts +4 -2
  243. package/dist/types/suffixTypes.d.ts +4 -2
  244. package/dist/types/textTypes.d.ts +50 -11
  245. package/dist/window.js +169 -105
  246. package/package.json +89 -90
  247. package/src/constructors/Actions/style.scss +0 -1
  248. package/src/constructors/Bars/style.scss +2 -0
  249. package/src/constructors/FieldCounter/style.scss +5 -0
  250. package/src/constructors/Progress/style.scss +2 -0
  251. package/src/constructors/Tooltip/style.scss +10 -2
  252. package/src/constructors/Window/style.scss +7 -1
  253. package/dist/ButtonDesign-DZ7QCmHk.js +0 -169
  254. package/dist/CaptionInclude-AFVF4qyd.js +0 -52
  255. package/dist/TextInclude-i1OBAFTG.js +0 -76
  256. /package/dist/classes/{field → Field}/FieldArrowInclude.d.ts +0 -0
  257. /package/dist/classes/{field → Field}/FieldAttributesInclude.d.ts +0 -0
  258. /package/dist/classes/{field → Field}/FieldChangeInclude.d.ts +0 -0
  259. /package/dist/classes/{field → Field}/FieldCodeInclude.d.ts +0 -0
  260. /package/dist/classes/{field → Field}/FieldElementInclude.d.ts +0 -0
  261. /package/dist/classes/{field → Field}/FieldEventInclude.d.ts +0 -0
  262. /package/dist/classes/{field → Field}/FieldInputCheckInclude.d.ts +0 -0
  263. /package/dist/classes/{field → Field}/FieldMatchInclude.d.ts +0 -0
  264. /package/dist/classes/{field → Field}/FieldPatternInclude.d.ts +0 -0
  265. /package/dist/classes/{field → Field}/FieldTypeInclude.d.ts +0 -0
  266. /package/dist/classes/{field → Field}/FieldValidationInclude.d.ts +0 -0
  267. /package/dist/classes/{field → Field}/FieldValueInclude.d.ts +0 -0
  268. /package/dist/classes/{field → Field}/FieldVisibilityInclude.d.ts +0 -0
package/dist/input.js CHANGED
@@ -1,32 +1,35 @@
1
- var f = Object.defineProperty;
2
- var y = (e, s, t) => s in e ? f(e, s, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[s] = t;
3
- var i = (e, s, t) => y(e, typeof s != "symbol" ? s + "" : s, t);
4
- import { computed as a, watch as g, h as I } from "vue";
5
- import { toBind as c, getRef as m, getBind as b, DesignConstructorAbstract as w, toBinds as v } from "@dxtmisha/functional";
6
- import { a as F, F as k, c as x, f as M, b as V, e as A, d as B } from "./FieldEventInclude-zg02dtQi.js";
7
- import { e as D, d as C, c as N, a as E, F as S, b as T } from "./FieldMatchInclude-Vl2gJUaM.js";
8
- import { F as H } from "./FieldInclude-c6DSD0-y.js";
9
- class O {
1
+ var E = Object.defineProperty;
2
+ var S = (n, s, i) => s in n ? E(n, s, { enumerable: !0, configurable: !0, writable: !0, value: i }) : n[s] = i;
3
+ var t = (n, s, i) => S(n, typeof s != "symbol" ? s + "" : s, i);
4
+ import { computed as a, watch as H, h as O } from "vue";
5
+ import { toBind as c, getRef as v, getBind as P, DesignConstructorAbstract as R, toBinds as f } from "@dxtmisha/functional";
6
+ import { a as L, F as j, c as q, f as z, b as G, e as J, d as K } from "./FieldEventInclude-DBRqmzpF.js";
7
+ import { e as Q, d as U, c as W, a as X, F as Y, b as Z } from "./FieldMatchInclude-GgyucDC_.js";
8
+ import { T as _ } from "./TextInclude--GERRCGj.js";
9
+ import { F as $ } from "./FieldInclude-BKoBWZdj.js";
10
+ class tt {
10
11
  /**
11
12
  * Constructor
12
13
  * @param props input data/ входные данные
13
14
  * @param visibility object for working with visualization/ объект для работы с визуализацией
15
+ * @param text object for working with text/ объект для работы с текстом
14
16
  */
15
- constructor(s, t) {
16
- i(this, "visible", !1);
17
+ constructor(s, i, e) {
18
+ t(this, "visible", !1);
17
19
  /** Checks if the type is a password/ Проверяет, является ли тип паролем. */
18
- i(this, "is", a(() => this.props.type === "password"));
20
+ t(this, "is", a(() => this.props.type === "password"));
19
21
  /** Returns the icon value/ Возвращает значение иконки */
20
- i(this, "icon", a(() => {
22
+ t(this, "icon", a(() => {
21
23
  if (this.is.value)
22
24
  return {
23
25
  active: this.visibility.item.value,
24
26
  icon: this.props.iconVisibilityOff,
25
27
  iconActive: this.props.iconVisibility,
26
- dynamic: !0
28
+ dynamic: !0,
29
+ ariaLabel: this.visibility.item.value ? this.text.hide.value : this.text.show.value
27
30
  };
28
31
  }));
29
- this.props = s, this.visibility = t;
32
+ this.props = s, this.visibility = i, this.text = e;
30
33
  }
31
34
  /**
32
35
  * Toggle value.
@@ -37,7 +40,7 @@ class O {
37
40
  this.is.value && this.visibility.toggle();
38
41
  }
39
42
  }
40
- class P {
43
+ class it {
41
44
  /**
42
45
  * Constructor
43
46
  * @param props input data/ входные данные
@@ -49,15 +52,15 @@ class P {
49
52
  * @param extra additional parameter or property name/ дополнительный параметр или имя свойства
50
53
  * @param index index identifier/ идентификатор индекса
51
54
  */
52
- constructor(s, t, n, r, o, l, p, u) {
55
+ constructor(s, i, e, h, r, o, l, p) {
53
56
  /**
54
57
  * Checks if the mask is active.
55
58
  *
56
59
  * Проверяет, активна ли маска.
57
60
  */
58
- i(this, "is", a(() => {
59
- var t;
60
- const s = (t = this.type) == null ? void 0 : t.get();
61
+ t(this, "is", a(() => {
62
+ var i;
63
+ const s = (i = this.type) == null ? void 0 : i.get();
61
64
  return this.props.maskNone !== !0 && !!(this.props.mask || s && [
62
65
  "number",
63
66
  "number-format",
@@ -74,21 +77,21 @@ class P {
74
77
  *
75
78
  * Возвращает базовые свойства для работы с маской.
76
79
  */
77
- i(this, "bindsStatic", a(() => {
78
- var t, n, r;
80
+ t(this, "bindsStatic", a(() => {
81
+ var i, e, h;
79
82
  const s = c(
80
- (t = m(this.extra)) != null ? t : {},
81
- (n = this.props.maskAttrs) != null ? n : {}
83
+ (i = v(this.extra)) != null ? i : {},
84
+ (e = this.props.maskAttrs) != null ? e : {}
82
85
  );
83
86
  return {
84
87
  name: this.props.name,
85
- valueDefault: m(this.valueDefault),
88
+ valueDefault: v(this.valueDefault),
86
89
  currency: this.props.currency,
87
90
  currencyHide: this.props.currencyHide,
88
91
  fraction: this.props.fraction,
89
- type: (r = this.type) == null ? void 0 : r.get(),
92
+ type: (h = this.type) == null ? void 0 : h.get(),
90
93
  visible: this.props.maskVisible,
91
- ...b(this.props.mask, s, "mask")
94
+ ...P(this.props.mask, s, "mask")
92
95
  };
93
96
  }));
94
97
  /**
@@ -96,7 +99,7 @@ class P {
96
99
  *
97
100
  * Возвращает все свойства для работы с маской.
98
101
  */
99
- i(this, "binds", a(() => {
102
+ t(this, "binds", a(() => {
100
103
  var s;
101
104
  return {
102
105
  ...this.bindsStatic.value,
@@ -109,7 +112,7 @@ class P {
109
112
  * Возвращает отрендеренный компонент маски.
110
113
  * @param attrs additional attributes/ дополнительные атрибуты
111
114
  */
112
- i(this, "render", (s) => this.components ? this.components.render(
115
+ t(this, "render", (s) => this.components ? this.components.render(
113
116
  "mask",
114
117
  {
115
118
  ...c(
@@ -120,8 +123,8 @@ class P {
120
123
  void 0,
121
124
  this.index
122
125
  ) : []);
123
- this.props = s, this.className = t, this.value = n, this.valueDefault = r, this.components = o, this.type = l, this.extra = p, this.index = u, this.value && g(this.is, (h) => {
124
- h || this.value.setFull(!0);
126
+ this.props = s, this.className = i, this.value = e, this.valueDefault = h, this.components = r, this.type = o, this.extra = l, this.index = p, this.value && H(this.is, (u) => {
127
+ u || this.value.setFull(!0);
125
128
  });
126
129
  }
127
130
  /**
@@ -133,7 +136,7 @@ class P {
133
136
  return this.is.value;
134
137
  }
135
138
  }
136
- class R {
139
+ class st {
137
140
  /**
138
141
  * Constructor
139
142
  * @param props input data/ входные данные
@@ -144,54 +147,72 @@ class R {
144
147
  * @param components object for working with components/ объект для работы с компонентами
145
148
  * @param slots object for working with slots/ объект для работы со слотами
146
149
  * @param emits the function is called when an event is triggered/ функция вызывается, когда срабатывает событие
150
+ * @param FieldChangeIncludeConstructor class for working with field change/ класс для работы с изменением поля
151
+ * @param FieldVisibilityIncludeConstructor class for working with field visibility/ класс для работы с видимостью поля
152
+ * @param FieldTypeIncludeConstructor class for working with field type/ класс для работы с типом поля
153
+ * @param FieldPatternIncludeConstructor class for working with field pattern/ класс для работы с шаблоном поля
154
+ * @param FieldInputModeIncludeConstructor class for working with field input mode/ класс для работы с режимом ввода поля
155
+ * @param FieldAttributesIncludeConstructor class for working with field attributes/ класс для работы с атрибутами поля
156
+ * @param FieldElementIncludeConstructor class for working with field element/ класс для работы с элементом поля
157
+ * @param FieldValueIncludeConstructor class for working with field value/ класс для работы со значением поля
158
+ * @param FieldArrowIncludeConstructor class for working with field arrow/ класс для работы со стрелкой поля
159
+ * @param InputPasswordConstructor class for working with input password/ класс для работы с паролем ввода
160
+ * @param FieldMatchIncludeConstructor class for working with field match/ класс для работы с совпадением поля
161
+ * @param FieldCodeIncludeConstructor class for working with field code/ класс для работы с кодом поля
162
+ * @param FieldValidationIncludeConstructor class for working with field validation/ класс для работы с валидацией поля
163
+ * @param FieldEventIncludeConstructor class for working with field event/ класс для работы с событием поля
164
+ * @param FieldIncludeConstructor class for working with field/ класс для работы с полем
165
+ * @param MaskIncludeConstructor class for working with mask/ класс для работы с маской
166
+ * @param TextIncludeConstructor class for working with text/ класс для работы с текстом
147
167
  */
148
- constructor(s, t, n, r, o, l, p, u) {
149
- i(this, "visibility");
150
- i(this, "type");
151
- i(this, "pattern");
152
- i(this, "inputMode");
153
- i(this, "attributes");
154
- i(this, "elementItem");
155
- i(this, "change");
156
- i(this, "value");
157
- i(this, "arrow");
158
- i(this, "password");
159
- i(this, "match");
160
- i(this, "code");
161
- i(this, "validation");
162
- i(this, "event");
163
- i(this, "field");
164
- i(this, "mask");
165
- this.props = s, this.refs = t, this.element = n, this.classDesign = r, this.className = o, this.components = l, this.slots = p, this.emits = u, this.change = new F(this.props), this.visibility = new D(), this.type = new C(this.props, this.visibility), this.pattern = new N(this.props, this.type), this.inputMode = new E(this.props, this.type), this.attributes = new k(
168
+ constructor(s, i, e, h, r, o, l, p, u = L, y = Q, g = U, b = W, I = X, w = j, F = q, x = z, k = Y, M = tt, V = Z, A = G, B = J, D = K, C = $, N = it, T = _) {
169
+ t(this, "text");
170
+ t(this, "visibility");
171
+ t(this, "type");
172
+ t(this, "pattern");
173
+ t(this, "inputMode");
174
+ t(this, "attributes");
175
+ t(this, "elementItem");
176
+ t(this, "change");
177
+ t(this, "value");
178
+ t(this, "arrow");
179
+ t(this, "password");
180
+ t(this, "match");
181
+ t(this, "code");
182
+ t(this, "validation");
183
+ t(this, "event");
184
+ t(this, "field");
185
+ t(this, "mask");
186
+ this.props = s, this.refs = i, this.element = e, this.classDesign = h, this.className = r, this.components = o, this.slots = l, this.emits = p, this.text = new T(this.props), this.change = new u(this.props), this.visibility = new y(), this.type = new g(this.props, this.visibility), this.pattern = new b(this.props, this.type), this.inputMode = new I(this.props, this.type), this.attributes = new w(
166
187
  this.props,
167
188
  this.type,
168
189
  this.pattern,
169
190
  this.inputMode
170
- ), this.elementItem = new x(
191
+ ), this.elementItem = new F(
171
192
  this.props,
172
193
  this.element
173
- ), this.value = new M(
194
+ ), this.value = new x(
174
195
  this.props,
175
196
  this.refs,
176
197
  this.elementItem
177
- ), this.arrow = new S(this.props, this.value, this.type), this.password = new O(this.props, this.visibility), this.match = new T(
198
+ ), this.arrow = new k(this.props, this.value, this.type), this.password = new M(this.props, this.visibility, this.text), this.match = new V(
178
199
  this.props,
179
200
  this.elementItem,
180
201
  this.value
181
- ), this.code = new V(this.props), this.validation = new A(
202
+ ), this.code = new A(this.props), this.validation = new B(
182
203
  this.props,
183
204
  this.attributes,
184
205
  this.value,
185
206
  this.change,
186
207
  this.code,
187
208
  this.match
188
- ), this.event = new B(
209
+ ), this.event = new D(
189
210
  this.props,
190
211
  this.change,
191
212
  this.value,
192
213
  this.validation,
193
214
  this.emits
194
- ), this.field = new H(
215
+ ), this.field = new C(
195
216
  this.props,
196
217
  this.value,
197
218
  this.components,
@@ -202,13 +223,13 @@ class R {
202
223
  void 0,
203
224
  void 0,
204
225
  a(() => {
205
- var h, d;
226
+ var d, m;
206
227
  return {
207
- iconTrailing: (h = this.password.icon.value) != null ? h : this.props.iconTrailing,
208
- maxlength: (d = this.props.maxlength) != null ? d : this.props.max
228
+ iconTrailing: (d = this.password.icon.value) != null ? d : this.props.iconTrailing,
229
+ maxlength: (m = this.props.maxlength) != null ? m : this.props.max
209
230
  };
210
231
  })
211
- ), this.mask = new P(
232
+ ), this.mask = new N(
212
233
  this.props,
213
234
  this.className,
214
235
  this.value,
@@ -218,37 +239,38 @@ class R {
218
239
  );
219
240
  }
220
241
  }
221
- const L = {
242
+ const pt = {
222
243
  type: "text",
223
244
  autocomplete: "off",
224
245
  arrow: "auto",
225
246
  maskVisible: !0
226
247
  };
227
- class Q extends w {
248
+ class ut extends R {
228
249
  /**
229
250
  * Constructor
230
251
  * @param name class name/ название класса
231
252
  * @param props properties/ свойства
232
253
  * @param options list of additional parameters/ список дополнительных параметров
254
+ * @param ItemConstructor class for working with the item/ класс для работы с элементом
233
255
  */
234
- constructor(t, n, r) {
256
+ constructor(i, e, h, r = st) {
235
257
  super(
236
- t,
237
- n,
238
- r
258
+ i,
259
+ e,
260
+ h
239
261
  );
240
- i(this, "item");
262
+ t(this, "item");
241
263
  /**
242
264
  * Rendering the input element.
243
265
  *
244
266
  * Рендер элемент input.
245
267
  * @param input data for the input element/ данные для элемента ввода
246
268
  */
247
- i(this, "renderInput", (t) => this.item.mask.isActive() ? this.renderMask(t) : [I(
269
+ t(this, "renderInput", (i) => this.item.mask.isActive() ? this.renderMask(i) : [O(
248
270
  "input",
249
- v(
271
+ f(
250
272
  this.item.attributes.listForInput.value,
251
- t.binds,
273
+ i.binds,
252
274
  {
253
275
  ref: this.element,
254
276
  value: this.item.value.item.value,
@@ -264,18 +286,18 @@ class Q extends w {
264
286
  * Рендеринг элемента маски.
265
287
  * @param input data for the input element/ данные для элемента ввода
266
288
  */
267
- i(this, "renderMask", (t) => this.item.mask.render({
289
+ t(this, "renderMask", (i) => this.item.mask.render({
268
290
  ref: this.element,
269
- class: t.className,
291
+ class: i.className,
270
292
  align: this.props.align,
271
- inputAttrs: v(
293
+ inputAttrs: f(
272
294
  this.item.attributes.listForInput.value,
273
- t.binds
295
+ i.binds
274
296
  ),
275
297
  onBlur: this.item.event.onBlur,
276
298
  onInput: this.item.event.onInput
277
299
  }));
278
- this.item = new R(
300
+ this.item = new r(
279
301
  this.props,
280
302
  this.refs,
281
303
  this.element,
@@ -322,21 +344,21 @@ class Q extends w {
322
344
  * Метод для рендеринга.
323
345
  */
324
346
  initRender() {
325
- var t;
347
+ var i;
326
348
  return this.item.field.render(
327
349
  {
328
350
  default: this.renderInput
329
351
  },
330
352
  {
331
353
  ...this.getAttrs(),
332
- class: (t = this.classes) == null ? void 0 : t.value.main,
354
+ class: (i = this.classes) == null ? void 0 : i.value.main,
333
355
  validationMessage: this.item.validation.message.value
334
356
  }
335
357
  );
336
358
  }
337
359
  }
338
360
  export {
339
- R as Input,
340
- Q as InputDesign,
341
- L as defaultsInput
361
+ st as Input,
362
+ ut as InputDesign,
363
+ pt as defaultsInput
342
364
  };
@@ -0,0 +1,2 @@
1
+ export * from '../classes/Plugin/Plugin';
2
+ export * from '../types/pluginTypes';
package/dist/library.d.ts CHANGED
@@ -3,30 +3,37 @@ export * from './classes/CaptionInclude';
3
3
  export * from './classes/DescriptionInclude';
4
4
  export * from './classes/EnabledInclude';
5
5
  export * from './classes/EventClickInclude';
6
+ export * from './classes/Field/FieldArrowInclude';
7
+ export * from './classes/Field/FieldAttributesInclude';
8
+ export * from './classes/Field/FieldChangeInclude';
9
+ export * from './classes/Field/FieldCodeInclude';
10
+ export * from './classes/Field/FieldElementInclude';
11
+ export * from './classes/Field/FieldEventInclude';
12
+ export * from './classes/Field/FieldInputCheckInclude';
13
+ export * from './classes/Field/FieldInputModeInclude';
14
+ export * from './classes/Field/FieldMatchInclude';
15
+ export * from './classes/Field/FieldPatternInclude';
16
+ export * from './classes/Field/FieldTypeInclude';
17
+ export * from './classes/Field/FieldValidationInclude';
18
+ export * from './classes/Field/FieldValueInclude';
19
+ export * from './classes/Field/FieldVisibilityInclude';
6
20
  export * from './classes/LabelHighlightInclude';
7
21
  export * from './classes/LabelInclude';
8
22
  export * from './classes/LabelNumberInclude';
9
23
  export * from './classes/ModelInclude';
10
24
  export * from './classes/ModelValueInclude';
25
+ export * from './classes/Plugin/Plugin';
26
+ export * from './classes/Plugin/PluginCode';
27
+ export * from './classes/Plugin/PluginComponents';
28
+ export * from './classes/Plugin/PluginData';
29
+ export * from './classes/Plugin/PluginImport';
30
+ export * from './classes/Plugin/PluginStyle';
31
+ export * from './classes/Plugin/PluginTool';
11
32
  export * from './classes/PrefixInclude';
12
33
  export * from './classes/SuffixInclude';
13
34
  export * from './classes/TabIndexInclude';
14
35
  export * from './classes/TextInclude';
15
36
  export * from './classes/TouchEventInclude';
16
- export * from './classes/field/FieldArrowInclude';
17
- export * from './classes/field/FieldAttributesInclude';
18
- export * from './classes/field/FieldChangeInclude';
19
- export * from './classes/field/FieldCodeInclude';
20
- export * from './classes/field/FieldElementInclude';
21
- export * from './classes/field/FieldEventInclude';
22
- export * from './classes/field/FieldInputCheckInclude';
23
- export * from './classes/field/FieldInputModeInclude';
24
- export * from './classes/field/FieldMatchInclude';
25
- export * from './classes/field/FieldPatternInclude';
26
- export * from './classes/field/FieldTypeInclude';
27
- export * from './classes/field/FieldValidationInclude';
28
- export * from './classes/field/FieldValueInclude';
29
- export * from './classes/field/FieldVisibilityInclude';
30
37
  export * from './functions/getClassTagAStatic';
31
38
  export * from './types/ariaTypes';
32
39
  export * from './types/captionTypes';
@@ -36,6 +43,7 @@ export * from './types/eventClickTypes';
36
43
  export * from './types/fieldTypes';
37
44
  export * from './types/labelTypes';
38
45
  export * from './types/modelTypes';
46
+ export * from './types/pluginTypes';
39
47
  export * from './types/prefixTypes';
40
48
  export * from './types/roleTypes';
41
49
  export * from './types/suffixTypes';
package/dist/library.js CHANGED
@@ -1,50 +1,58 @@
1
- import { A as d } from "./AriaStaticInclude-CFGewqpn.js";
2
- import { C as o } from "./CaptionInclude-AFVF4qyd.js";
3
- import { D as n } from "./DescriptionInclude-DxWNon_J.js";
4
- import { E as c } from "./EnabledInclude-DGeuJhOr.js";
5
- import { E as s } from "./EventClickInclude-eDWqxK0d.js";
6
- import { L as I } from "./LabelHighlightInclude-Dhj3p9NW.js";
7
- import { L as f } from "./LabelInclude-BtZrrbCf.js";
8
- import { L as m } from "./LabelNumberInclude-DyifvMnr.js";
9
- import { M as b } from "./ModelInclude-BiYm_iCQ.js";
10
- import { M as C } from "./ModelValueInclude-CJmm5go9.js";
11
- import { P as g, S as h } from "./SuffixInclude-C7JNYCJK.js";
12
- import { T as M } from "./TabIndexInclude-d7A_R6KD.js";
13
- import { T as S } from "./TextInclude-i1OBAFTG.js";
14
- import { T as v } from "./TouchEventInclude-DctYCjt8.js";
15
- import { F as k, a as y, b as D, c as w, d as H, e as N } from "./FieldMatchInclude-Vl2gJUaM.js";
16
- import { F as q, a as z, b as B, c as G, d as J, e as K, f as O } from "./FieldEventInclude-zg02dtQi.js";
17
- import { F as R } from "./FieldInputCheckInclude-CjNYyGTb.js";
18
- import { g as W } from "./getClassTagAStatic-BnVYlXHI.js";
1
+ import { A as a } from "./AriaStaticInclude-CAURwJMb.js";
2
+ import { C as o } from "./CaptionInclude-NzS6EYYj.js";
3
+ import { D as r } from "./DescriptionInclude-D4ane9aR.js";
4
+ import { E as u } from "./EnabledInclude-Dk-rP4jp.js";
5
+ import { E as c } from "./EventClickInclude-WHJqxZ1b.js";
6
+ import { F as I, a as p, b as f, c as m, d as x, e as F } from "./FieldMatchInclude-GgyucDC_.js";
7
+ import { F as b, a as P, b as C, c as T, d as E, e as h, f as L } from "./FieldEventInclude-DBRqmzpF.js";
8
+ import { F as A } from "./FieldInputCheckInclude-CjNYyGTb.js";
9
+ import { L as V } from "./LabelHighlightInclude-CLmTvW_6.js";
10
+ import { L as y } from "./LabelInclude-D-mLvjK5.js";
11
+ import { L as k } from "./LabelNumberInclude-Cn0qDEgX.js";
12
+ import { M as H } from "./ModelInclude-BiYm_iCQ.js";
13
+ import { M as j } from "./ModelValueInclude-CJmm5go9.js";
14
+ import { P as z, a as B, b as G, c as J, d as K, e as O, f as Q } from "./Plugin-CBNCh_iN.js";
15
+ import { P as U, S as W } from "./SuffixInclude-maZ7235l.js";
16
+ import { T as Y } from "./TabIndexInclude-xcSFV8yP.js";
17
+ import { T as _ } from "./TextInclude--GERRCGj.js";
18
+ import { T as ee } from "./TouchEventInclude-DctYCjt8.js";
19
+ import { g as ae } from "./getClassTagAStatic-BnVYlXHI.js";
19
20
  export {
20
- d as AriaStaticInclude,
21
+ a as AriaStaticInclude,
21
22
  o as CaptionInclude,
22
- n as DescriptionInclude,
23
- c as EnabledInclude,
24
- s as EventClickInclude,
25
- k as FieldArrowInclude,
26
- q as FieldAttributesInclude,
27
- z as FieldChangeInclude,
28
- B as FieldCodeInclude,
29
- G as FieldElementInclude,
30
- J as FieldEventInclude,
31
- R as FieldInputCheckInclude,
32
- y as FieldInputModeInclude,
33
- D as FieldMatchInclude,
34
- w as FieldPatternInclude,
35
- H as FieldTypeInclude,
36
- K as FieldValidationInclude,
37
- O as FieldValueInclude,
38
- N as FieldVisibilityInclude,
39
- I as LabelHighlightInclude,
40
- f as LabelInclude,
41
- m as LabelNumberInclude,
42
- b as ModelInclude,
43
- C as ModelValueInclude,
44
- g as PrefixInclude,
45
- h as SuffixInclude,
46
- M as TabIndexInclude,
47
- S as TextInclude,
48
- v as TouchEventInclude,
49
- W as getClassTagAStatic
23
+ r as DescriptionInclude,
24
+ u as EnabledInclude,
25
+ c as EventClickInclude,
26
+ I as FieldArrowInclude,
27
+ b as FieldAttributesInclude,
28
+ P as FieldChangeInclude,
29
+ C as FieldCodeInclude,
30
+ T as FieldElementInclude,
31
+ E as FieldEventInclude,
32
+ A as FieldInputCheckInclude,
33
+ p as FieldInputModeInclude,
34
+ f as FieldMatchInclude,
35
+ m as FieldPatternInclude,
36
+ x as FieldTypeInclude,
37
+ h as FieldValidationInclude,
38
+ L as FieldValueInclude,
39
+ F as FieldVisibilityInclude,
40
+ V as LabelHighlightInclude,
41
+ y as LabelInclude,
42
+ k as LabelNumberInclude,
43
+ H as ModelInclude,
44
+ j as ModelValueInclude,
45
+ z as Plugin,
46
+ B as PluginCode,
47
+ G as PluginComponents,
48
+ J as PluginData,
49
+ K as PluginImport,
50
+ O as PluginStyle,
51
+ Q as PluginTool,
52
+ U as PrefixInclude,
53
+ W as SuffixInclude,
54
+ Y as TabIndexInclude,
55
+ _ as TextInclude,
56
+ ee as TouchEventInclude,
57
+ ae as getClassTagAStatic
50
58
  };