@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/arrow.js CHANGED
@@ -1,9 +1,9 @@
1
- var A = Object.defineProperty;
2
- var B = (n, t, e) => t in n ? A(n, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[t] = e;
3
- var s = (n, t, e) => B(n, typeof t != "symbol" ? t + "" : t, e);
4
- import { ref as u, watch as c, computed as l, onMounted as S, nextTick as R, onUnmounted as N, h as d } from "vue";
5
- import { isFilled as I, isDomRuntime as p, isString as E, toNumber as P, EventRef as y, EventItem as C, DesignConstructorAbstract as k } from "@dxtmisha/functional";
6
- import { A as $ } from "./AriaStaticInclude-CFGewqpn.js";
1
+ var I = Object.defineProperty;
2
+ var A = (n, t, e) => t in n ? I(n, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[t] = e;
3
+ var s = (n, t, e) => A(n, typeof t != "symbol" ? t + "" : t, e);
4
+ import { ref as u, watch as c, computed as l, onMounted as B, nextTick as f, onUnmounted as S, h as d } from "vue";
5
+ import { isFilled as w, isDomRuntime as p, isString as N, toNumber as E, EventRef as v, EventItem as P, DesignConstructorAbstract as C } from "@dxtmisha/functional";
6
+ import { A as k } from "./AriaStaticInclude-CAURwJMb.js";
7
7
  import { A as Y } from "./ArrowInclude-CcpT637l.js";
8
8
  class H {
9
9
  /**
@@ -152,8 +152,8 @@ class L {
152
152
  initElement() {
153
153
  var e;
154
154
  const t = this.props.elementTarget;
155
- if (this.props.position === "auto" && I(t) && p())
156
- return E(t) ? (e = document.querySelector(t)) != null ? e : void 0 : t;
155
+ if (this.props.position === "auto" && w(t) && p())
156
+ return N(t) ? (e = document.querySelector(t)) != null ? e : void 0 : t;
157
157
  }
158
158
  }
159
159
  class M {
@@ -222,7 +222,7 @@ class M {
222
222
  * Получить ширину границы в виде числа.
223
223
  */
224
224
  getBorderRadius() {
225
- return P(this.borderRadius.value);
225
+ return E(this.borderRadius.value);
226
226
  }
227
227
  /**
228
228
  * Get computed styles of the parent element.
@@ -338,24 +338,24 @@ class O {
338
338
  const t = this.elementItem.getRectBorder(), e = this.elementItem.getRectArrowLine();
339
339
  if (t && e) {
340
340
  const i = `M0,0 L0,${t.height} L${t.width},${t.height} L${t.width},0 Z`;
341
- let r, h, a, m;
341
+ let r, a, h, m;
342
342
  switch (this.direction.value) {
343
343
  case o.TOP:
344
- r = e.left - t.left, h = 0, a = r + e.width, m = e.height;
344
+ r = e.left - t.left, a = 0, h = r + e.width, m = e.height;
345
345
  break;
346
346
  case o.BOTTOM:
347
- r = e.left - t.left, h = t.height - e.height, a = r + e.width, m = t.height;
347
+ r = e.left - t.left, a = t.height - e.height, h = r + e.width, m = t.height;
348
348
  break;
349
349
  case o.LEFT:
350
- r = 0, h = e.top - t.top, a = e.width, m = h + e.height;
350
+ r = 0, a = e.top - t.top, h = e.width, m = a + e.height;
351
351
  break;
352
352
  case o.RIGHT:
353
- r = t.width - e.width, h = e.top - t.top, a = t.width, m = h + e.height;
353
+ r = t.width - e.width, a = e.top - t.top, h = t.width, m = a + e.height;
354
354
  break;
355
355
  default:
356
356
  return;
357
357
  }
358
- const g = `M${r},${h} L${a},${h} L${a},${m} L${r},${m} Z`;
358
+ const g = `M${r},${a} L${h},${a} L${h},${m} L${r},${m} Z`;
359
359
  return `path('${i} ${g}')`;
360
360
  }
361
361
  }
@@ -370,7 +370,7 @@ class W {
370
370
  * @param parent parent object / объект родителя
371
371
  * @param position position object / объект позиции
372
372
  */
373
- constructor(t, e, i, r, h, a) {
373
+ constructor(t, e, i, r, a, h) {
374
374
  s(this, "eventItem");
375
375
  s(this, "eventTarget");
376
376
  s(this, "eventBody");
@@ -392,9 +392,9 @@ class W {
392
392
  s(this, "makeEvents", () => {
393
393
  this.elementTarget.is() ? this.initEvents().startEvents() : this.stopEvents();
394
394
  });
395
- this.props = t, this.refs = e, this.element = i, this.elementTarget = r, this.parent = h, this.position = a, p() && (S(async () => {
396
- await R(), c(this.elementTarget.element, this.makeEvents), c([...Object.values(this.refs)], this.update, { immediate: !0 });
397
- }), N(() => {
395
+ this.props = t, this.refs = e, this.element = i, this.elementTarget = r, this.parent = a, this.position = h, p() && (B(async () => {
396
+ await f(), c(this.elementTarget.element, this.makeEvents), c([...Object.values(this.refs)], this.update, { immediate: !0 });
397
+ }), S(() => {
398
398
  this.stopEvents();
399
399
  }));
400
400
  }
@@ -422,7 +422,7 @@ class W {
422
422
  * Инициализировать события.
423
423
  */
424
424
  initEvents() {
425
- return this.eventItem || (this.eventItem = new y(this.element, void 0, "resize", this.update)), this.eventTarget || (this.eventTarget = new y(this.elementTarget.element, void 0, "resize", this.update)), this.eventBody || (this.eventBody = new C(window, ["scroll", "resize"], this.update)), this;
425
+ return this.eventItem || (this.eventItem = new v(this.element, void 0, "resize", this.update)), this.eventTarget || (this.eventTarget = new v(this.elementTarget.element, void 0, "resize", this.update)), this.eventBody || (this.eventBody = new P(window, ["scroll", "resize"], this.update)), this;
426
426
  }
427
427
  }
428
428
  class x {
@@ -442,7 +442,7 @@ class x {
442
442
  * @param ArrowPositionConstructor class for working with the position of the arrow/ класс для работы с позицией стрелки
443
443
  * @param ArrowEventConstructor class for working with arrow events/ класс для работы с событиями стрелки
444
444
  */
445
- constructor(t, e, i, r, h, a, m, g, v = H, f = L, w = M, b = O, T = W) {
445
+ constructor(t, e, i, r, a, h, m, g, b = H, T = L, y = M, $ = O, R = W) {
446
446
  s(this, "elementItem");
447
447
  s(this, "elementTarget");
448
448
  s(this, "parent");
@@ -450,7 +450,7 @@ class x {
450
450
  s(this, "event");
451
451
  /** Direction of the arrow/ Направление стрелки */
452
452
  s(this, "direction", l(() => {
453
- if (I(this.props.position)) {
453
+ if (w(this.props.position)) {
454
454
  const t = this.position.direction.value;
455
455
  if (t)
456
456
  return t;
@@ -471,19 +471,19 @@ class x {
471
471
  };
472
472
  return this.parent.isBorder.value && this.position.clipPath.value && (t[`--${this.className}-sys-clipPath`] = this.position.clipPath.value), this.elementTarget.is() && this.position.shift.value && (t[`--${this.className}-sys-shift`] = this.position.shift.value), t;
473
473
  }));
474
- this.props = t, this.refs = e, this.element = i, this.classDesign = r, this.className = h, this.components = a, this.slots = m, this.emits = g, this.ArrowElementConstructor = v, this.ArrowElementTargetConstructor = f, this.ArrowParentConstructor = w, this.ArrowPositionConstructor = b, this.ArrowEventConstructor = T, this.elementItem = new v(
474
+ this.props = t, this.refs = e, this.element = i, this.classDesign = r, this.className = a, this.components = h, this.slots = m, this.emits = g, this.elementItem = new b(
475
475
  this.element,
476
476
  this.className
477
- ), this.elementTarget = new f(this.props), this.parent = new w(
477
+ ), this.elementTarget = new T(this.props), this.parent = new y(
478
478
  this.element,
479
479
  this.className,
480
480
  this.elementItem
481
- ), this.position = new b(
481
+ ), this.position = new $(
482
482
  this.props,
483
483
  this.elementItem,
484
484
  this.elementTarget,
485
485
  this.parent
486
- ), this.event = new T(
486
+ ), this.event = new R(
487
487
  this.props,
488
488
  this.refs,
489
489
  this.element,
@@ -497,7 +497,7 @@ const D = {
497
497
  // :default [!] System label / Системная метка
498
498
  position: "auto"
499
499
  };
500
- class G extends k {
500
+ class G extends C {
501
501
  /**
502
502
  * Constructor
503
503
  * @param name class name/ название класса
@@ -505,7 +505,7 @@ class G extends k {
505
505
  * @param options list of additional parameters/ список дополнительных параметров
506
506
  * @param ItemConstructor arrow item class/ класс элемента стрелки
507
507
  */
508
- constructor(e, i, r, h = x) {
508
+ constructor(e, i, r, a = x) {
509
509
  super(
510
510
  e,
511
511
  i,
@@ -531,7 +531,7 @@ class G extends k {
531
531
  return `0, ${i} ${e / 2}, 0 ${e}, ${i}`;
532
532
  }
533
533
  });
534
- this.item = new h(
534
+ this.item = new a(
535
535
  this.props,
536
536
  this.refs,
537
537
  this.element,
@@ -541,7 +541,7 @@ class G extends k {
541
541
  this.slots,
542
542
  this.emits
543
543
  ), this.init(), c([this.classes], () => {
544
- R().then(
544
+ f().then(
545
545
  () => requestAnimationFrame(() => {
546
546
  this.points.value = this.getRePoints();
547
547
  })
@@ -603,7 +603,7 @@ class G extends k {
603
603
  ref: this.element,
604
604
  class: (i = this.classes) == null ? void 0 : i.value.main,
605
605
  style: (r = this.styles) == null ? void 0 : r.value,
606
- ...$.hidden()
606
+ ...k.hidden()
607
607
  }, e);
608
608
  }
609
609
  /**
@@ -651,8 +651,7 @@ class G extends k {
651
651
  return [
652
652
  d("div", {
653
653
  key: "border",
654
- class: (e = this.classes) == null ? void 0 : e.value.border,
655
- ...$.hidden()
654
+ class: (e = this.classes) == null ? void 0 : e.value.border
656
655
  })
657
656
  ];
658
657
  }
package/dist/badge.js CHANGED
@@ -1,12 +1,12 @@
1
- var d = Object.defineProperty;
2
- var p = (e, t, s) => t in e ? d(e, t, { enumerable: !0, configurable: !0, writable: !0, value: s }) : e[t] = s;
3
- var r = (e, t, s) => p(e, typeof t != "symbol" ? t + "" : t, s);
4
- import { computed as h, h as g } from "vue";
5
- import { isFilled as c, DesignConstructorAbstract as b } from "@dxtmisha/functional";
6
- import { L as f } from "./LabelNumberInclude-DyifvMnr.js";
7
- import { I as v } from "./IconInclude-CLqwI29Q.js";
8
- import { A as u } from "./AriaStaticInclude-CFGewqpn.js";
9
- class I {
1
+ var b = Object.defineProperty;
2
+ var g = (i, t, s) => t in i ? b(i, t, { enumerable: !0, configurable: !0, writable: !0, value: s }) : i[t] = s;
3
+ var e = (i, t, s) => g(i, typeof t != "symbol" ? t + "" : t, s);
4
+ import { computed as l, h as f } from "vue";
5
+ import { isFilled as c, DesignConstructorAbstract as v } from "@dxtmisha/functional";
6
+ import { A as u } from "./AriaStaticInclude-CAURwJMb.js";
7
+ import { L as I } from "./LabelNumberInclude-Cn0qDEgX.js";
8
+ import { I as A } from "./IconInclude-CLqwI29Q.js";
9
+ class C {
10
10
  /**
11
11
  * Constructor
12
12
  * @param props input data/ входные данные
@@ -17,16 +17,18 @@ class I {
17
17
  * @param components object for working with components/ объект для работы с компонентами
18
18
  * @param slots object for working with slots/ объект для работы со слотами
19
19
  * @param emits the function is called when an event is triggered/ функция вызывается, когда срабатывает событие
20
+ * @param LabelNumberIncludeConstructor class for working with label/ класс для работы с меткой
21
+ * @param IconIncludeConstructor class for working with icon/ класс для работы с иконкой
20
22
  */
21
- constructor(t, s, i, a, l, n, o, m) {
22
- r(this, "label");
23
- r(this, "icon");
23
+ constructor(t, s, r, n, a, o, h, m, d = I, p = A) {
24
+ e(this, "label");
25
+ e(this, "icon");
24
26
  /**
25
27
  * Computes if the badge should auto-hide when there is no dot, icon, or label.
26
28
  *
27
29
  * Вычисляет, должен ли бейдж автоматически скрываться, если нет точки, иконки и текста.
28
30
  */
29
- r(this, "autoHide", h(
31
+ e(this, "autoHide", l(
30
32
  () => !this.props.dot && !c(this.icon.isIcon.value) && !c(this.label.is.value)
31
33
  ));
32
34
  /**
@@ -34,42 +36,46 @@ class I {
34
36
  *
35
37
  * Классы для управления видимостью бейджа.
36
38
  */
37
- r(this, "classes", h(() => ({
39
+ e(this, "classes", l(() => ({
38
40
  [`${this.className}--hideAuto`]: this.autoHide.value
39
41
  })));
40
- this.props = t, this.refs = s, this.element = i, this.classDesign = a, this.className = l, this.components = n, this.slots = o, this.emits = m, this.label = new f(
42
+ e(this, "aria", l(() => this.props.ariaLabel ? {
43
+ ...u.hidden()
44
+ } : {}));
45
+ this.props = t, this.refs = s, this.element = r, this.classDesign = n, this.className = a, this.components = o, this.slots = h, this.emits = m, this.label = new d(
41
46
  t,
42
- l,
47
+ a,
43
48
  void 0,
44
- o
45
- ), this.icon = new v(
49
+ h
50
+ ), this.icon = new p(
46
51
  t,
47
- l,
48
- n
52
+ a,
53
+ o
49
54
  );
50
55
  }
51
56
  }
52
- const B = {
57
+ const H = {
53
58
  // :default [!] System label / Системная метка
54
59
  overlap: "rectangular",
55
60
  vertical: "top",
56
61
  horizontal: "right"
57
62
  };
58
- class L extends b {
63
+ class N extends v {
59
64
  /**
60
65
  * Constructor
61
66
  * @param name class name/ название класса
62
67
  * @param props properties/ свойства
63
68
  * @param options list of additional parameters/ список дополнительных параметров
69
+ * @param ItemConstructor class for working with the item/ класс для работы с элементом
64
70
  */
65
- constructor(s, i, a) {
71
+ constructor(s, r, n, a = C) {
66
72
  super(
67
73
  s,
68
- i,
69
- a
74
+ r,
75
+ n
70
76
  );
71
- r(this, "item");
72
- this.item = new I(
77
+ e(this, "item");
78
+ this.item = new a(
73
79
  this.props,
74
80
  this.refs,
75
81
  this.element,
@@ -115,22 +121,21 @@ class L extends b {
115
121
  * Метод для рендеринга.
116
122
  */
117
123
  initRender() {
118
- var i;
124
+ var r;
119
125
  const s = [];
120
126
  return this.props.dot || s.push(
121
- ...this.item.label.render(),
127
+ ...this.item.label.render(void 0, this.item.aria.value),
122
128
  ...this.item.icon.renderIcon()
123
- ), g("span", {
129
+ ), f("span", {
124
130
  ...this.getAttrs(),
125
131
  ref: this.element,
126
- class: (i = this.classes) == null ? void 0 : i.value.main,
127
- ...u.role("status"),
132
+ class: (r = this.classes) == null ? void 0 : r.value.main,
128
133
  ...u.label(this.props.ariaLabel)
129
134
  }, s);
130
135
  }
131
136
  }
132
137
  export {
133
- I as Badge,
134
- L as BadgeDesign,
135
- B as defaultsBadge
138
+ C as Badge,
139
+ N as BadgeDesign,
140
+ H as defaultsBadge
136
141
  };
package/dist/bars.js CHANGED
@@ -1,19 +1,19 @@
1
- var b = Object.defineProperty;
2
- var f = (o, i, t) => i in o ? b(o, i, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[i] = t;
3
- var s = (o, i, t) => f(o, typeof i != "symbol" ? i + "" : i, t);
4
- import { watch as B, ref as k, computed as r, reactive as d, h as p } from "vue";
5
- import { toBind as u, getBind as C, forEach as w, DesignConstructorAbstract as x } from "@dxtmisha/functional";
6
- import { A as m } from "./AriaStaticInclude-CFGewqpn.js";
7
- import { L as I } from "./LabelInclude-BtZrrbCf.js";
8
- import { D as g } from "./DescriptionInclude-DxWNon_J.js";
9
- import { E as S } from "./EventClickInclude-eDWqxK0d.js";
10
- import { M as L } from "./ModelInclude-BiYm_iCQ.js";
11
- import { T as A } from "./TextInclude-i1OBAFTG.js";
12
- import { S as D } from "./SkeletonInclude-BIUzAO2s.js";
13
- import { W as T } from "./WindowClassesInclude-B56usxgx.js";
14
- import { M as E } from "./MotionTransformClassesInclude-B23RIq0Q.js";
15
- import { B as U } from "./BarsInclude-IM3Gdslg.js";
16
- class M {
1
+ var g = Object.defineProperty;
2
+ var S = (a, i, t) => i in a ? g(a, i, { enumerable: !0, configurable: !0, writable: !0, value: t }) : a[i] = t;
3
+ var s = (a, i, t) => S(a, typeof i != "symbol" ? i + "" : i, t);
4
+ import { watch as A, ref as D, computed as o, reactive as d, h as p } from "vue";
5
+ import { toBind as u, getBind as T, forEach as E, DesignConstructorAbstract as M } from "@dxtmisha/functional";
6
+ import { A as m } from "./AriaStaticInclude-CAURwJMb.js";
7
+ import { L as $ } from "./LabelInclude-D-mLvjK5.js";
8
+ import { D as y } from "./DescriptionInclude-D4ane9aR.js";
9
+ import { E as H } from "./EventClickInclude-WHJqxZ1b.js";
10
+ import { M as P } from "./ModelInclude-BiYm_iCQ.js";
11
+ import { T as W } from "./TextInclude--GERRCGj.js";
12
+ import { W as N } from "./WindowClassesInclude-B56usxgx.js";
13
+ import { M as O } from "./MotionTransformClassesInclude-B23RIq0Q.js";
14
+ import { S as R } from "./SkeletonInclude-BIUzAO2s.js";
15
+ import { B as nt } from "./BarsInclude-BOEoY-O4.js";
16
+ class V {
17
17
  /**
18
18
  * Constructor
19
19
  * @param props input data/ входные данные
@@ -21,10 +21,14 @@ class M {
21
21
  */
22
22
  constructor(i, t) {
23
23
  /** Текущее состояние action‑режима / Current action mode state */
24
- s(this, "action", k(!1));
25
- /** Вычисляемый флаг активности action / Computed active flag */
26
- s(this, "is", r(() => this.props.action || this.action.value));
27
- this.props = i, this.refs = t, t.action && B(
24
+ s(this, "action", D(!1));
25
+ /**
26
+ * Checks if action mode is possible.
27
+ *
28
+ * Проверяет, возможен ли режим действий.
29
+ */
30
+ s(this, "isPossible", o(() => !!(this.props.actionLabel || this.props.actionDescription || this.props.actionBars)));
31
+ this.props = i, this.refs = t, t.action && A(
28
32
  t.action,
29
33
  (e) => {
30
34
  this.action.value = !!e;
@@ -49,7 +53,7 @@ class M {
49
53
  this.action.value && (this.action.value = !1);
50
54
  }
51
55
  }
52
- class y {
56
+ class j {
53
57
  /**
54
58
  * Constructor
55
59
  * @param props input data/ входные данные
@@ -60,12 +64,24 @@ class y {
60
64
  * @param components object for working with components/ объект для работы с компонентами
61
65
  * @param slots object for working with slots/ объект для работы со слотами
62
66
  * @param emits the function is called when an event is triggered/ функция вызывается, когда срабатывает событие
67
+ * @param BarsActionConstructor class for managing action mode/ класс для управления action-режимом
68
+ * @param LabelConstructor class for creating a label/ класс для создания метки
69
+ * @param DescriptionConstructor class for creating a description/ класс для создания описания
70
+ * @param EventConstructor class for creating an event/ класс для создания события
71
+ * @param WindowClassesConstructor helper class for Window CSS classes/ вспомогательный класс для CSS-классов Window
72
+ * @param MotionTransformClassesConstructor helper class for MotionTransform CSS classes/ вспомогательный класс для CSS-классов MotionTransform
73
+ * @param SkeletonConstructor class for creating a skeleton/ класс для создания скелета
74
+ * @param TextConstructor class for creating text/ класс для создания текста
75
+ * @param ModelConstructor class for working with models/ класс для работы с моделями
63
76
  */
64
- constructor(i, t, e, n, a, v, c, h) {
77
+ constructor(i, t, e, n, r, v, c, h, b = V, B = $, f = y, k = H, C = N, w = O, I = R, x = W, L = P) {
65
78
  /** Управление action‑режимом */
66
79
  s(this, "action");
80
+ /** Label object/ Объект метки */
67
81
  s(this, "label");
82
+ /** Description object/ Объект описания */
68
83
  s(this, "description");
84
+ /** Event object/ Объект события */
69
85
  s(this, "event");
70
86
  /** Helper for Window CSS classes/ Вспомогательный класс для CSS‑классов Window */
71
87
  s(this, "windowClasses");
@@ -73,9 +89,10 @@ class y {
73
89
  s(this, "motionTransformClasses");
74
90
  /** Подключение скелетона для текста/описания */
75
91
  s(this, "skeleton");
92
+ /** Text object/ Объект текста */
76
93
  s(this, "text");
77
94
  /** Returns the button data/ Возвращает данные кнопки */
78
- s(this, "backBinds", r(
95
+ s(this, "backBinds", o(
79
96
  () => {
80
97
  var i;
81
98
  return this.initItem(
@@ -101,24 +118,43 @@ class y {
101
118
  }
102
119
  ));
103
120
  /** Returns the list of control buttons/ Возвращает список кнопок управления */
104
- s(this, "barsBinds", r(() => this.initList(this.props.bars)));
121
+ s(this, "barsBinds", o(() => this.initList(this.props.bars)));
105
122
  /**
106
123
  * Returns the list of active control buttons/
107
124
  * Возвращает список активных кнопок управления
108
125
  */
109
- s(this, "actionBarsBinds", r(() => this.initList(this.props.actionBars, !0)));
126
+ s(this, "actionBarsBinds", o(() => this.initList(this.props.actionBars, !0)));
110
127
  /** Returns the button name/ Возвращает название кнопки */
111
- s(this, "backLabel", r(() => {
128
+ s(this, "backLabel", o(() => {
112
129
  var i;
113
- return this.action.is.value || (i = this.backBinds.value) == null ? void 0 : i.label;
130
+ return this.action.action.value || (i = this.backBinds.value) == null ? void 0 : i.label;
131
+ }));
132
+ /**
133
+ * Values for the class.
134
+ *
135
+ * Значения для класса.
136
+ */
137
+ s(this, "classes", o(() => ({
138
+ [`${this.className}--action`]: this.action.action.value
139
+ })));
140
+ /**
141
+ * Returns the value for the aria-live property.
142
+ *
143
+ * Возвращает значение для свойства aria-live.
144
+ */
145
+ s(this, "ariaLive", o(() => {
146
+ if (this.action.isPossible.value)
147
+ return "polite";
114
148
  }));
115
149
  /** Binds for label text/ Привязки для текста метки */
116
150
  s(this, "labelBinds", d({
117
- label: r(() => this.action.is.value ? this.props.actionLabel : this.props.label)
151
+ label: o(() => this.action.action.value ? this.props.actionLabel : this.props.label),
152
+ labelId: o(() => this.props.labelId)
118
153
  }));
119
154
  /** Binds for description text/ Привязки для текста описания */
120
155
  s(this, "descriptionBinds", d({
121
- description: r(() => this.action.is.value ? this.props.actionDescription : this.props.description)
156
+ description: o(() => this.action.action.value ? this.props.actionDescription : this.props.description),
157
+ descriptionId: o(() => this.props.descriptionId)
122
158
  }));
123
159
  /**
124
160
  * Click handler for the "back" button
@@ -128,18 +164,18 @@ class y {
128
164
  s(this, "onClickBack", (i, t) => {
129
165
  (t == null ? void 0 : t.value) === "back" && this.action.close(), this.event.onClick(i, t);
130
166
  });
131
- this.props = i, this.refs = t, this.element = e, this.classDesign = n, this.className = a, this.components = v, this.slots = c, this.emits = h;
132
- const l = new D(this.props, this.classDesign, ["classTextVariant"]);
133
- this.action = new M(this.props, this.refs), this.label = new I(
167
+ this.props = i, this.refs = t, this.element = e, this.classDesign = n, this.className = r, this.components = v, this.slots = c, this.emits = h;
168
+ const l = new I(this.props, this.classDesign, ["classTextVariant"]);
169
+ this.action = new b(this.props, this.refs), this.label = new B(
134
170
  this.labelBinds,
135
- a,
171
+ r,
136
172
  void 0,
137
173
  c,
138
174
  void 0,
139
175
  void 0,
140
176
  void 0,
141
177
  l
142
- ), this.description = new g(this.descriptionBinds, a, c, l), this.event = new S(void 0, void 0, h), this.windowClasses = new T(n), this.motionTransformClasses = new E(n), this.skeleton = l, this.text = new A(this.props), new L("action", this.emits, this.action.action);
178
+ ), this.description = new f(this.descriptionBinds, r, c, l), this.event = new k(void 0, void 0, h), this.windowClasses = new C(n), this.motionTransformClasses = new w(n), this.skeleton = l, this.text = new x(this.props), new L("action", this.emits, this.action.action);
143
179
  }
144
180
  /**
145
181
  * Prepares all parameters for the button.
@@ -150,7 +186,7 @@ class y {
150
186
  * @param isAction is action button/ является ли кнопка действия
151
187
  */
152
188
  initItem(i, t, e = !1) {
153
- var n, a;
189
+ var n, r;
154
190
  return {
155
191
  isSkeleton: this.props.isSkeleton,
156
192
  onClick: this.event.onClick,
@@ -158,8 +194,8 @@ class y {
158
194
  (n = this.props.buttonAttrs) != null ? n : {},
159
195
  i != null ? i : {}
160
196
  ),
161
- key: `${e ? "action" : ""}Bar-${(a = i == null ? void 0 : i.value) != null ? a : t}`,
162
- icon: C(i == null ? void 0 : i.icon, { animationShow: e }, "icon")
197
+ key: `${e ? "action" : ""}Bar-${(r = i == null ? void 0 : i.value) != null ? r : t}`,
198
+ icon: T(i == null ? void 0 : i.icon, { animationShow: e }, "icon")
163
199
  };
164
200
  }
165
201
  /**
@@ -171,21 +207,22 @@ class y {
171
207
  */
172
208
  initList(i, t = !1) {
173
209
  if (i)
174
- return w(
210
+ return E(
175
211
  i,
176
212
  (e, n) => this.initItem(e, n, t)
177
213
  );
178
214
  }
179
215
  }
180
- const K = {};
181
- class N extends x {
216
+ const tt = {};
217
+ class it extends M {
182
218
  /**
183
219
  * Constructor
184
220
  * @param name class name/ название класса
185
221
  * @param props properties/ свойства
186
222
  * @param options list of additional parameters/ список дополнительных параметров
223
+ * @param ItemConstructor bars item class/ класс элемента bars
187
224
  */
188
- constructor(t, e, n) {
225
+ constructor(t, e, n, r = j) {
189
226
  super(
190
227
  t,
191
228
  e,
@@ -197,13 +234,13 @@ class N extends x {
197
234
  *
198
235
  * Рендеринг кнопки закрытия.
199
236
  */
200
- s(this, "renderBackButton", () => this.props.backHide && (!this.item.action.is.value || this.props.backActionHide) ? [] : [
237
+ s(this, "renderBackButton", () => this.props.backHide && (!this.item.action.action.value || this.props.backActionHide) ? [] : [
201
238
  this.components.renderOne(
202
239
  "button",
203
240
  {
241
+ ...this.item.backBinds.value,
204
242
  label: this.item.backLabel.value,
205
- selected: this.item.action.is.value,
206
- ...this.item.backBinds.value
243
+ selected: this.item.action.action.value
207
244
  }
208
245
  )
209
246
  ]);
@@ -234,7 +271,7 @@ class N extends x {
234
271
  */
235
272
  s(this, "renderBars", () => {
236
273
  const t = [];
237
- return this.item.action.is.value || (t.push(...this.renderList(this.item.barsBinds.value)), this.initSlot("bars", t)), t;
274
+ return this.item.action.action.value || (t.push(...this.renderList(this.item.barsBinds.value)), this.initSlot("bars", t)), t;
238
275
  });
239
276
  /**
240
277
  * Rendering the control button.
@@ -243,7 +280,7 @@ class N extends x {
243
280
  */
244
281
  s(this, "renderActionBars", () => {
245
282
  const t = [];
246
- return this.item.action.is.value && (t.push(...this.renderList(this.item.actionBarsBinds.value)), this.initSlot("actionBars", t)), t;
283
+ return this.item.action.action.value && (t.push(...this.renderList(this.item.actionBarsBinds.value)), this.initSlot("actionBars", t)), t;
247
284
  });
248
285
  /**
249
286
  * Rendering a list of buttons from the list.
@@ -257,7 +294,7 @@ class N extends x {
257
294
  (n) => this.components.renderAdd(e, "button", n)
258
295
  ), e;
259
296
  });
260
- this.item = new y(
297
+ this.item = new r(
261
298
  this.props,
262
299
  this.refs,
263
300
  this.element,
@@ -274,10 +311,7 @@ class N extends x {
274
311
  * Инициализация всех необходимых свойств для работы.
275
312
  */
276
313
  initExpose() {
277
- return {
278
- ...this.item.label.expose,
279
- ...this.item.description.expose
280
- };
314
+ return {};
281
315
  }
282
316
  /**
283
317
  * Improvement of the obtained list of classes.
@@ -286,7 +320,7 @@ class N extends x {
286
320
  */
287
321
  initClasses() {
288
322
  return {
289
- main: {},
323
+ main: this.item.classes.value,
290
324
  // :classes [!] System label / Системная метка
291
325
  context: this.getSubClass("context"),
292
326
  label: this.getSubClass("label"),
@@ -313,7 +347,7 @@ class N extends x {
313
347
  {
314
348
  ...this.getAttrs(),
315
349
  class: (t = this.classes) == null ? void 0 : t.value.main,
316
- ...m.live(this.props.action ? "polite" : "off")
350
+ ...m.live(this.item.ariaLive.value)
317
351
  },
318
352
  [
319
353
  ...this.renderBackButton(),
@@ -325,8 +359,8 @@ class N extends x {
325
359
  }
326
360
  }
327
361
  export {
328
- y as Bars,
329
- N as BarsDesign,
330
- U as BarsInclude,
331
- K as defaultsBars
362
+ j as Bars,
363
+ it as BarsDesign,
364
+ nt as BarsInclude,
365
+ tt as defaultsBars
332
366
  };
package/dist/block.js CHANGED
@@ -1,4 +1,4 @@
1
- import { B as t, a as s } from "./BlockDesign-D67yDT9N.js";
1
+ import { B as t, a as s } from "./BlockDesign-CwRNJi0I.js";
2
2
  const a = {
3
3
  tag: "div",
4
4
  tagHeader: "h3"