intergalactic 15.128.0-prerelease.5 → 15.129.0-prerelease.0

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 (304) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/accordion/lib/cjs/Accordion.js +9 -9
  3. package/accordion/lib/es6/Accordion.js +9 -9
  4. package/accordion/lib/esm/Accordion.mjs +60 -60
  5. package/accordion/package.json +1 -1
  6. package/add-filter/package.json +1 -1
  7. package/animation/package.json +1 -1
  8. package/badge/package.json +1 -1
  9. package/base-trigger/lib/cjs/BaseTrigger.js +18 -18
  10. package/base-trigger/lib/cjs/ButtonTrigger.js +3 -3
  11. package/base-trigger/lib/cjs/FilterTrigger.js +7 -7
  12. package/base-trigger/lib/cjs/LinkTrigger.js +12 -12
  13. package/base-trigger/lib/es6/BaseTrigger.js +18 -18
  14. package/base-trigger/lib/es6/ButtonTrigger.js +3 -3
  15. package/base-trigger/lib/es6/FilterTrigger.js +7 -7
  16. package/base-trigger/lib/es6/LinkTrigger.js +12 -12
  17. package/base-trigger/lib/esm/BaseTrigger.mjs +50 -50
  18. package/base-trigger/lib/esm/ButtonTrigger.mjs +20 -20
  19. package/base-trigger/lib/esm/FilterTrigger.mjs +79 -79
  20. package/base-trigger/lib/esm/LinkTrigger.mjs +44 -44
  21. package/base-trigger/package.json +1 -1
  22. package/breadcrumbs/lib/cjs/Breadcrumbs.js +8 -8
  23. package/breadcrumbs/lib/es6/Breadcrumbs.js +8 -8
  24. package/breadcrumbs/lib/esm/Breadcrumbs.mjs +41 -41
  25. package/breadcrumbs/package.json +1 -1
  26. package/breakpoints/package.json +1 -1
  27. package/bulk-textarea/lib/cjs/components/InputField/InputField.js +12 -12
  28. package/bulk-textarea/lib/es6/components/InputField/InputField.js +12 -12
  29. package/bulk-textarea/lib/esm/components/InputField/InputField.mjs +171 -171
  30. package/bulk-textarea/package.json +1 -1
  31. package/button/package.json +1 -1
  32. package/card/lib/cjs/Card.js +6 -6
  33. package/card/lib/es6/Card.js +6 -6
  34. package/card/lib/esm/Card.mjs +14 -14
  35. package/card/package.json +1 -1
  36. package/carousel/lib/cjs/Carousel.js +21 -21
  37. package/carousel/lib/es6/Carousel.js +21 -21
  38. package/carousel/lib/esm/Carousel.mjs +72 -72
  39. package/carousel/package.json +1 -1
  40. package/checkbox/package.json +1 -1
  41. package/color-picker/lib/cjs/ColorPicker.js +24 -24
  42. package/color-picker/lib/cjs/PaletteManager.js +24 -24
  43. package/color-picker/lib/cjs/components/InputColor.js +24 -24
  44. package/color-picker/lib/es6/ColorPicker.js +24 -24
  45. package/color-picker/lib/es6/PaletteManager.js +24 -24
  46. package/color-picker/lib/es6/components/InputColor.js +24 -24
  47. package/color-picker/lib/esm/ColorPicker.mjs +70 -70
  48. package/color-picker/lib/esm/PaletteManager.mjs +53 -53
  49. package/color-picker/lib/esm/components/InputColor.mjs +64 -64
  50. package/color-picker/package.json +1 -1
  51. package/components.json +29 -29
  52. package/core/package.json +1 -1
  53. package/counter/package.json +1 -1
  54. package/d3-chart/lib/cjs/Area.js +11 -11
  55. package/d3-chart/lib/cjs/Axis.js +14 -14
  56. package/d3-chart/lib/cjs/Bar.js +16 -16
  57. package/d3-chart/lib/cjs/Bubble.js +12 -12
  58. package/d3-chart/lib/cjs/CompactHorizontalBar.js +16 -16
  59. package/d3-chart/lib/cjs/Donut.js +9 -9
  60. package/d3-chart/lib/cjs/Dots.js +8 -8
  61. package/d3-chart/lib/cjs/HorizontalBar.js +16 -16
  62. package/d3-chart/lib/cjs/Hover.js +3 -3
  63. package/d3-chart/lib/cjs/Line.js +9 -9
  64. package/d3-chart/lib/cjs/Plot.js +3 -3
  65. package/d3-chart/lib/cjs/Radar.js +19 -19
  66. package/d3-chart/lib/cjs/RadialTree.js +12 -12
  67. package/d3-chart/lib/cjs/Reference.js +12 -12
  68. package/d3-chart/lib/cjs/ScatterPlot.js +9 -9
  69. package/d3-chart/lib/cjs/Tooltip.js +9 -9
  70. package/d3-chart/lib/cjs/Venn.js +9 -9
  71. package/d3-chart/lib/cjs/a11y/PlotA11yModule.js +2 -2
  72. package/d3-chart/lib/cjs/a11y/PlotA11yView.js +2 -2
  73. package/d3-chart/lib/cjs/component/ChartLegend/LegendFlex/LegendFlex.js +4 -4
  74. package/d3-chart/lib/cjs/component/ChartLegend/LegendItem/LegendItem.js +17 -17
  75. package/d3-chart/lib/cjs/component/ChartLegend/LegendTable/LegendTable.js +6 -6
  76. package/d3-chart/lib/es6/Area.js +11 -11
  77. package/d3-chart/lib/es6/Axis.js +14 -14
  78. package/d3-chart/lib/es6/Bar.js +16 -16
  79. package/d3-chart/lib/es6/Bubble.js +12 -12
  80. package/d3-chart/lib/es6/CompactHorizontalBar.js +16 -16
  81. package/d3-chart/lib/es6/Donut.js +9 -9
  82. package/d3-chart/lib/es6/Dots.js +8 -8
  83. package/d3-chart/lib/es6/HorizontalBar.js +16 -16
  84. package/d3-chart/lib/es6/Hover.js +3 -3
  85. package/d3-chart/lib/es6/Line.js +9 -9
  86. package/d3-chart/lib/es6/Plot.js +3 -3
  87. package/d3-chart/lib/es6/Radar.js +19 -19
  88. package/d3-chart/lib/es6/RadialTree.js +12 -12
  89. package/d3-chart/lib/es6/Reference.js +12 -12
  90. package/d3-chart/lib/es6/ScatterPlot.js +9 -9
  91. package/d3-chart/lib/es6/Tooltip.js +9 -9
  92. package/d3-chart/lib/es6/Venn.js +9 -9
  93. package/d3-chart/lib/es6/a11y/PlotA11yModule.js +2 -2
  94. package/d3-chart/lib/es6/a11y/PlotA11yView.js +2 -2
  95. package/d3-chart/lib/es6/component/ChartLegend/LegendFlex/LegendFlex.js +4 -4
  96. package/d3-chart/lib/es6/component/ChartLegend/LegendItem/LegendItem.js +17 -17
  97. package/d3-chart/lib/es6/component/ChartLegend/LegendTable/LegendTable.js +6 -6
  98. package/d3-chart/lib/esm/semcore/d3-chart/src/Area.mjs +68 -68
  99. package/d3-chart/lib/esm/semcore/d3-chart/src/Axis.mjs +154 -154
  100. package/d3-chart/lib/esm/semcore/d3-chart/src/Bar.mjs +62 -62
  101. package/d3-chart/lib/esm/semcore/d3-chart/src/Bubble.mjs +78 -78
  102. package/d3-chart/lib/esm/semcore/d3-chart/src/CompactHorizontalBar.mjs +99 -99
  103. package/d3-chart/lib/esm/semcore/d3-chart/src/Donut.mjs +129 -129
  104. package/d3-chart/lib/esm/semcore/d3-chart/src/Dots.mjs +35 -35
  105. package/d3-chart/lib/esm/semcore/d3-chart/src/HorizontalBar.mjs +54 -54
  106. package/d3-chart/lib/esm/semcore/d3-chart/src/Hover.mjs +17 -17
  107. package/d3-chart/lib/esm/semcore/d3-chart/src/Line.mjs +85 -85
  108. package/d3-chart/lib/esm/semcore/d3-chart/src/Plot.mjs +25 -25
  109. package/d3-chart/lib/esm/semcore/d3-chart/src/Radar.mjs +138 -138
  110. package/d3-chart/lib/esm/semcore/d3-chart/src/RadialTree.mjs +95 -95
  111. package/d3-chart/lib/esm/semcore/d3-chart/src/Reference.mjs +65 -65
  112. package/d3-chart/lib/esm/semcore/d3-chart/src/ScatterPlot.mjs +63 -63
  113. package/d3-chart/lib/esm/semcore/d3-chart/src/Tooltip.mjs +66 -66
  114. package/d3-chart/lib/esm/semcore/d3-chart/src/Venn.mjs +62 -62
  115. package/d3-chart/lib/esm/semcore/d3-chart/src/a11y/PlotA11yModule.mjs +31 -31
  116. package/d3-chart/lib/esm/semcore/d3-chart/src/a11y/PlotA11yView.mjs +33 -33
  117. package/d3-chart/lib/esm/semcore/d3-chart/src/component/ChartLegend/LegendFlex/LegendFlex.mjs +20 -20
  118. package/d3-chart/lib/esm/semcore/d3-chart/src/component/ChartLegend/LegendItem/LegendItem.mjs +101 -101
  119. package/d3-chart/lib/esm/semcore/d3-chart/src/component/ChartLegend/LegendTable/LegendTable.mjs +34 -34
  120. package/d3-chart/package.json +1 -1
  121. package/data-table/lib/cjs/Body.js +3 -3
  122. package/data-table/lib/cjs/DataTable.js +36 -36
  123. package/data-table/lib/es6/Body.js +3 -3
  124. package/data-table/lib/es6/DataTable.js +36 -36
  125. package/data-table/lib/esm/Body.mjs +69 -69
  126. package/data-table/lib/esm/DataTable.mjs +253 -253
  127. package/data-table/package.json +1 -1
  128. package/date-picker/lib/cjs/components/Calendar.js +21 -21
  129. package/date-picker/lib/cjs/components/DateRangeComparatorAbstract.js +29 -29
  130. package/date-picker/lib/cjs/components/InputTrigger.js +29 -29
  131. package/date-picker/lib/cjs/components/PickerAbstract.js +29 -29
  132. package/date-picker/lib/cjs/components/RangePickerAbstract.js +29 -29
  133. package/date-picker/lib/es6/components/Calendar.js +21 -21
  134. package/date-picker/lib/es6/components/DateRangeComparatorAbstract.js +29 -29
  135. package/date-picker/lib/es6/components/InputTrigger.js +29 -29
  136. package/date-picker/lib/es6/components/PickerAbstract.js +29 -29
  137. package/date-picker/lib/es6/components/RangePickerAbstract.js +29 -29
  138. package/date-picker/lib/esm/components/Calendar.mjs +151 -151
  139. package/date-picker/lib/esm/components/DateRangeComparatorAbstract.mjs +158 -158
  140. package/date-picker/lib/esm/components/InputTrigger.mjs +232 -232
  141. package/date-picker/lib/esm/components/PickerAbstract.mjs +89 -89
  142. package/date-picker/lib/esm/components/RangePickerAbstract.mjs +124 -124
  143. package/date-picker/package.json +1 -1
  144. package/divider/package.json +1 -1
  145. package/dot/package.json +1 -1
  146. package/drag-and-drop/lib/cjs/DragAndDrop.js +17 -17
  147. package/drag-and-drop/lib/es6/DragAndDrop.js +17 -17
  148. package/drag-and-drop/lib/esm/DragAndDrop.mjs +225 -225
  149. package/drag-and-drop/package.json +1 -1
  150. package/dropdown/package.json +1 -1
  151. package/dropdown-menu/lib/cjs/DropdownMenu.js +18 -18
  152. package/dropdown-menu/lib/es6/DropdownMenu.js +18 -18
  153. package/dropdown-menu/lib/esm/DropdownMenu.mjs +143 -143
  154. package/dropdown-menu/package.json +1 -1
  155. package/ellipsis/package.json +1 -1
  156. package/errors/package.json +1 -1
  157. package/feature-popover/lib/cjs/FeaturePopover.js +11 -11
  158. package/feature-popover/lib/es6/FeaturePopover.js +11 -11
  159. package/feature-popover/lib/esm/FeaturePopover.mjs +47 -47
  160. package/feature-popover/package.json +1 -1
  161. package/feedback-form/lib/cjs/FeedbackForm.js +7 -7
  162. package/feedback-form/lib/cjs/component/checkbox-button/CheckboxButton.js +3 -3
  163. package/feedback-form/lib/cjs/component/feedback-rating/FeedbackRating.js +2 -2
  164. package/feedback-form/lib/cjs/component/slider-rating/SliderRating.js +7 -7
  165. package/feedback-form/lib/es6/FeedbackForm.js +7 -7
  166. package/feedback-form/lib/es6/component/checkbox-button/CheckboxButton.js +3 -3
  167. package/feedback-form/lib/es6/component/feedback-rating/FeedbackRating.js +2 -2
  168. package/feedback-form/lib/es6/component/slider-rating/SliderRating.js +7 -7
  169. package/feedback-form/lib/esm/FeedbackForm.mjs +51 -51
  170. package/feedback-form/lib/esm/component/checkbox-button/CheckboxButton.mjs +21 -21
  171. package/feedback-form/lib/esm/component/feedback-rating/FeedbackRating.mjs +41 -41
  172. package/feedback-form/lib/esm/component/slider-rating/SliderRating.mjs +75 -75
  173. package/feedback-form/package.json +1 -1
  174. package/flags/package.json +1 -1
  175. package/flex-box/package.json +1 -1
  176. package/format-text/package.json +1 -1
  177. package/fullscreen-modal/lib/cjs/FullscreenModal.js +13 -13
  178. package/fullscreen-modal/lib/es6/FullscreenModal.js +13 -13
  179. package/fullscreen-modal/lib/esm/FullscreenModal.mjs +44 -44
  180. package/fullscreen-modal/package.json +1 -1
  181. package/grid/package.json +1 -1
  182. package/i18n-unplugin/package.json +1 -1
  183. package/icon/color/Confluence/l/index.js +4 -4
  184. package/icon/color/Confluence/l/index.mjs +4 -4
  185. package/icon/color/Confluence/m/index.js +4 -4
  186. package/icon/color/Confluence/m/index.mjs +4 -4
  187. package/icon/color/MetaColored/l/index.js +4 -4
  188. package/icon/color/MetaColored/l/index.mjs +4 -4
  189. package/icon/color/MetaColored/m/index.js +4 -4
  190. package/icon/color/MetaColored/m/index.mjs +4 -4
  191. package/icon/color/MicrosoftOffice/l/index.js +10 -10
  192. package/icon/color/MicrosoftOffice/l/index.mjs +10 -10
  193. package/icon/color/MicrosoftOffice/m/index.js +10 -10
  194. package/icon/color/MicrosoftOffice/m/index.mjs +10 -10
  195. package/icon/lib/cjs/Icon.js +5 -5
  196. package/icon/lib/es6/Icon.js +5 -5
  197. package/icon/lib/esm/Icon.mjs +33 -33
  198. package/icon/package.json +1 -1
  199. package/icon/pay/Discover/l/index.js +1 -1
  200. package/icon/pay/Discover/l/index.mjs +1 -1
  201. package/icon/pay/Discover/m/index.js +1 -1
  202. package/icon/pay/Discover/m/index.mjs +1 -1
  203. package/icon/pay/JCB/l/index.js +10 -10
  204. package/icon/pay/JCB/l/index.mjs +10 -10
  205. package/icon/pay/JCB/m/index.js +10 -10
  206. package/icon/pay/JCB/m/index.mjs +10 -10
  207. package/icon/pay/Visa/l/index.js +2 -2
  208. package/icon/pay/Visa/l/index.mjs +2 -2
  209. package/icon/pay/Visa/m/index.js +2 -2
  210. package/icon/pay/Visa/m/index.mjs +2 -2
  211. package/icon/platform/AIToolkit/index.d.ts +6 -0
  212. package/icon/platform/AIToolkit/index.js +36 -0
  213. package/icon/platform/AIToolkit/index.mjs +25 -0
  214. package/icon/platform/SEOToolkit/index.js +2 -2
  215. package/icon/platform/SEOToolkit/index.mjs +2 -2
  216. package/illustration/package.json +1 -1
  217. package/inline-edit/package.json +1 -1
  218. package/inline-input/lib/cjs/InlineInput.js +14 -14
  219. package/inline-input/lib/es6/InlineInput.js +14 -14
  220. package/inline-input/lib/esm/InlineInput.mjs +127 -127
  221. package/inline-input/package.json +1 -1
  222. package/input/package.json +1 -1
  223. package/input-mask/package.json +1 -1
  224. package/input-number/package.json +1 -1
  225. package/input-tags/package.json +1 -1
  226. package/link/package.json +1 -1
  227. package/mini-chart/package.json +1 -1
  228. package/modal/lib/cjs/Modal.js +8 -8
  229. package/modal/lib/es6/Modal.js +8 -8
  230. package/modal/lib/esm/Modal.mjs +96 -96
  231. package/modal/package.json +1 -1
  232. package/neighbor-location/package.json +1 -1
  233. package/notice/lib/cjs/Notice.js +16 -16
  234. package/notice/lib/es6/Notice.js +16 -16
  235. package/notice/lib/esm/Notice.mjs +73 -73
  236. package/notice/package.json +1 -1
  237. package/notice-bubble/lib/cjs/NoticeBubble.js +15 -15
  238. package/notice-bubble/lib/es6/NoticeBubble.js +15 -15
  239. package/notice-bubble/lib/esm/NoticeBubble.mjs +123 -123
  240. package/notice-bubble/package.json +1 -1
  241. package/notice-global/lib/cjs/NoticeGlobal.js +11 -11
  242. package/notice-global/lib/es6/NoticeGlobal.js +11 -11
  243. package/notice-global/lib/esm/NoticeGlobal.mjs +49 -49
  244. package/notice-global/package.json +1 -1
  245. package/outside-click/package.json +1 -1
  246. package/package.json +1 -1
  247. package/pagination/lib/cjs/Pagination.js +12 -12
  248. package/pagination/lib/es6/Pagination.js +12 -12
  249. package/pagination/lib/esm/Pagination.mjs +13 -13
  250. package/pagination/package.json +1 -1
  251. package/pills/package.json +1 -1
  252. package/popper/package.json +1 -1
  253. package/portal/package.json +1 -1
  254. package/product-head/package.json +1 -1
  255. package/progress-bar/package.json +1 -1
  256. package/radio/package.json +1 -1
  257. package/scroll-area/package.json +1 -1
  258. package/select/lib/cjs/InputSearch.js +6 -6
  259. package/select/lib/cjs/Select.js +8 -8
  260. package/select/lib/es6/InputSearch.js +6 -6
  261. package/select/lib/es6/Select.js +8 -8
  262. package/select/lib/esm/InputSearch.mjs +35 -35
  263. package/select/lib/esm/Select.mjs +60 -60
  264. package/select/package.json +1 -1
  265. package/side-panel/lib/cjs/SidePanel.js +16 -16
  266. package/side-panel/lib/es6/SidePanel.js +16 -16
  267. package/side-panel/lib/esm/SidePanel.mjs +56 -56
  268. package/side-panel/package.json +1 -1
  269. package/skeleton/package.json +1 -1
  270. package/slider/package.json +1 -1
  271. package/spin/package.json +1 -1
  272. package/spin-container/package.json +1 -1
  273. package/sticky/package.json +1 -1
  274. package/switch/package.json +1 -1
  275. package/tab-line/package.json +1 -1
  276. package/tab-panel/package.json +1 -1
  277. package/tag/lib/cjs/Tag.js +23 -23
  278. package/tag/lib/es6/Tag.js +23 -23
  279. package/tag/lib/esm/Tag.mjs +184 -184
  280. package/tag/package.json +1 -1
  281. package/textarea/package.json +1 -1
  282. package/time-picker/lib/cjs/TimePicker.js +12 -12
  283. package/time-picker/lib/es6/TimePicker.js +12 -12
  284. package/time-picker/lib/esm/TimePicker.mjs +93 -93
  285. package/time-picker/package.json +1 -1
  286. package/tooltip/package.json +1 -1
  287. package/typography/lib/cjs/Blockquote.js +4 -4
  288. package/typography/lib/cjs/Hint.js +7 -7
  289. package/typography/lib/cjs/List.js +5 -5
  290. package/typography/lib/cjs/Text.js +34 -34
  291. package/typography/lib/es6/Blockquote.js +4 -4
  292. package/typography/lib/es6/Hint.js +7 -7
  293. package/typography/lib/es6/List.js +5 -5
  294. package/typography/lib/es6/Text.js +34 -34
  295. package/typography/lib/esm/Blockquote.mjs +20 -20
  296. package/typography/lib/esm/Hint.mjs +19 -19
  297. package/typography/lib/esm/List.mjs +36 -36
  298. package/typography/lib/esm/Text.mjs +53 -53
  299. package/typography/package.json +1 -1
  300. package/widget-empty/package.json +1 -1
  301. package/wizard/lib/cjs/Wizard.js +12 -12
  302. package/wizard/lib/es6/Wizard.js +12 -12
  303. package/wizard/lib/esm/Wizard.mjs +94 -94
  304. package/wizard/package.json +1 -1
@@ -2,13 +2,13 @@ import ae from "@babel/runtime/helpers/esm/objectSpread2";
2
2
  import ne from "@babel/runtime/helpers/esm/createForOfIteratorHelper";
3
3
  import W from "@babel/runtime/helpers/esm/toConsumableArray";
4
4
  import le from "@babel/runtime/helpers/esm/classCallCheck";
5
- import oe from "@babel/runtime/helpers/esm/createClass";
5
+ import se from "@babel/runtime/helpers/esm/createClass";
6
6
  import x from "@babel/runtime/helpers/esm/assertThisInitialized";
7
- import se from "@babel/runtime/helpers/esm/inherits";
7
+ import oe from "@babel/runtime/helpers/esm/inherits";
8
8
  import de from "@babel/runtime/helpers/esm/createSuper";
9
9
  import E from "@babel/runtime/helpers/esm/defineProperty";
10
10
  import { sstyled as ve } from 'intergalactic/utils/lib/core/index';
11
- import { sstyled as ue, assignProps as he, Component as ce } from 'intergalactic/core';
11
+ import { sstyled as ue, assignProps as ce, Component as he } from 'intergalactic/core';
12
12
  import O from "react";
13
13
  import { Box as ge } from 'intergalactic/flex-box';
14
14
  import $ from 'intergalactic/tooltip';
@@ -19,34 +19,34 @@ var me = (
19
19
  /*__reshadow_css_start__*/
20
20
  (ve.insert(
21
21
  /*__inner_css_start__*/
22
- '.___SInputField_pt9l8_gg_>div{box-sizing:content-box;outline:0;border-radius:var(--intergalactic-control-rounded, 6px);border-color:var(--intergalactic-border-primary, #c4c7cf);border-style:solid;border-width:1px;overflow:auto;position:relative;background-color:var(--intergalactic-bg-primary-neutral, #ffffff);color:var(--intergalactic-text-primary, #191b23);word-wrap:break-word;word-break:break-word;font-family:inherit}.___SInputField_pt9l8_gg_>div:empty::before{content:"1. "attr(placeholder);color:var(--intergalactic-text-placeholder, #8a8e9b);position:absolute}.___SInputField_pt9l8_gg_>div:nth-child(even){color:red;counter-increment:row;margin-bottom:var(--intergalactic-spacing-1x, 4px);position:relative;word-break:break-all}.___SInputField_pt9l8_gg_>div:nth-child(even)::before{content:counter(row)".";display:inline-block;white-space:nowrap;text-align:right;color:var(--intergalactic-text-secondary, #6c6e79);margin-right:var(--intergalactic-spacing-1x, 4px)}.___SInputField_pt9l8_gg_>div>p{counter-increment:row;margin:0 0 var(--intergalactic-spacing-1x, 4px)0;position:relative;word-break:break-all;white-space:pre-wrap;padding:0 var(--intergalactic-spacing-5x, 20px)0 var(--intergalactic-spacing-4x, 16px)}.___SInputField_pt9l8_gg_>div>p:last-of-type{margin-bottom:0}.___SInputField_pt9l8_gg_>div>p:not(:empty)::before{content:counter(row)".";display:inline-block;white-space:nowrap;text-align:right;color:var(--intergalactic-text-secondary, #6c6e79);margin-right:var(--intergalactic-spacing-1x, 4px);position:absolute;left:0}.___SInputField_pt9l8_gg_>div>p[data-over-max-rows=true]{background-color:var(--intergalactic-bg-secondary-critical, #fff0f7)}.___SInputField_pt9l8_gg_>div:has(p:nth-child(n+10))>p{padding-left:var(--intergalactic-spacing-6x, 24px)}.___SInputField_pt9l8_gg_>div:has(p:nth-child(n+10))>p:nth-child(-n+9)::before{padding-left:var(--intergalactic-spacing-2x, 8px)}.___SInputField_pt9l8_gg_>div:has(p:nth-child(n+100))>p{padding-left:var(--intergalactic-spacing-8x, 32px)}.___SInputField_pt9l8_gg_>div:has(p:nth-child(n+100))>p:nth-child(-n+9)::before{padding-left:var(--intergalactic-spacing-4x, 16px)}.___SInputField_pt9l8_gg_>div:has(p:nth-child(n+100))>p:nth-child(n+10)::before{padding-left:var(--intergalactic-spacing-2x, 8px)}.___SInputField_pt9l8_gg_>div:has(p:nth-child(n+100))>p:nth-child(n+100)::before{padding-left:0}.___SInputField_pt9l8_gg_.__showErrors_pt9l8_gg_>div[aria-invalid]>p[aria-invalid]:after{content:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiBmaWxsPSIjZDEwMDJmIj48cGF0aCBkPSJNNyA2aDJ2NEg3VjZabTIgN3YtMkg3djJoMloiLz48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTYuMTUyIDEuMTcyYy43MTktMS41NjMgMi45NzctMS41NjMgMy42OTYgMGw2LjA0MyAxMy4xNDFjLjM2My43OTEtLjIyNSAxLjY4Ny0xLjEwOSAxLjY4N0gxLjIxOGMtLjg4NCAwLTEuNDcyLS44OTYtMS4xMDktMS42ODdMNi4xNTIgMS4xNzJabTcuMzc0IDEyLjgzN0w4IDEuOTkgMi40NzQgMTQuMDFoMTEuMDUyWiIvPjwvc3ZnPgo=\\ );position:absolute;right:0;top:var(--intergalactic-spacing-05x, 2px)}.___SInputField_pt9l8_gg_._size_m_pt9l8_gg_>div{padding:var(--intergalactic-spacing-2x, 8px) var(--intergalactic-spacing-4x, 16px);font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%);min-height:calc(var(--minRows_pt9l8)*20px);max-height:calc((var(--maxRows_pt9l8) - 1)*(20px + var(--intergalactic-spacing-1x, 4px)) + 18px)}.___SInputField_pt9l8_gg_._size_m_pt9l8_gg_>div:empty{padding-left:var(--intergalactic-spacing-8x, 32px)}.___SInputField_pt9l8_gg_._size_l_pt9l8_gg_>div:empty::before,.___SInputField_pt9l8_gg_._size_m_pt9l8_gg_>div:empty::before{left:var(--intergalactic-spacing-4x, 16px)}.___SInputField_pt9l8_gg_._size_l_pt9l8_gg_>div{padding:var(--intergalactic-spacing-3x, 12px) var(--intergalactic-spacing-4x, 16px);font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%);min-height:calc(var(--minRows_pt9l8)*24px);max-height:calc((var(--maxRows_pt9l8) - 1)*(24px + var(--intergalactic-spacing-1x, 4px)) + 20px)}.___SInputField_pt9l8_gg_._size_l_pt9l8_gg_>div:empty{padding-left:calc(var(--intergalactic-spacing-8x, 32px) + var(--intergalactic-spacing-05x, 2px))}.___SInputField_pt9l8_gg_._state_normal_pt9l8_gg_:not(.__disabled_pt9l8_gg_)>div:focus:focus{box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5));border-color:var(--intergalactic-border-info-active, #006dca)}.___SInputField_pt9l8_gg_._state_valid_pt9l8_gg_>div{border-color:var(--intergalactic-border-success-active, #007c65)}.___SInputField_pt9l8_gg_._state_valid_pt9l8_gg_>div:focus{box-shadow:var(--intergalactic-keyboard-focus-valid, 0px 0px 0px 3px rgba(0, 159, 129, 0.5))}.___SInputField_pt9l8_gg_._state_invalid_pt9l8_gg_>div{border-color:var(--intergalactic-border-critical-active, #d1002f);background-image:var(--intergalactic-border-critical-pattern, repeating-linear-gradient(315deg, rgba(209, 0, 47, 1) 0, rgba(209, 0, 47, 1) 2px, transparent 0, transparent 50%));background-size:6px 6px;background-color:var(--intergalactic-bg-primary-neutral, #ffffff);border-bottom-left-radius:var(--intergalactic-control-rounded, 6px);border-top-left-radius:var(--intergalactic-control-rounded, 6px);background-repeat:repeat-y}.___SInputField_pt9l8_gg_._state_invalid_pt9l8_gg_>div:focus{box-shadow:var(--intergalactic-keyboard-focus-invalid, 0px 0px 0px 3px rgba(255, 73, 83, 0.5))}.___SInputField_pt9l8_gg_.__readonly_pt9l8_gg_>div{background-color:var(--intergalactic-bg-secondary-neutral, #f4f5f9)}.___SInputField_pt9l8_gg_.__disabled_pt9l8_gg_>div{opacity:var(--intergalactic-disabled-opacity, 0.3)}',
23
- "pt9l8_gg_"
22
+ '.___SInputField_eiisc_gg_>div{box-sizing:content-box;outline:0;border-radius:var(--intergalactic-control-rounded, 6px);border-color:var(--intergalactic-border-primary, #c4c7cf);border-style:solid;border-width:1px;overflow:auto;position:relative;background-color:var(--intergalactic-bg-primary-neutral, #ffffff);color:var(--intergalactic-text-primary, #191b23);word-wrap:break-word;word-break:break-word;font-family:inherit}.___SInputField_eiisc_gg_>div:empty::before{content:"1. "attr(placeholder);color:var(--intergalactic-text-placeholder, #8a8e9b);position:absolute}.___SInputField_eiisc_gg_>div:nth-child(even){color:red;counter-increment:row;margin-bottom:var(--intergalactic-spacing-1x, 4px);position:relative;word-break:break-all}.___SInputField_eiisc_gg_>div:nth-child(even)::before{content:counter(row)".";display:inline-block;white-space:nowrap;text-align:right;color:var(--intergalactic-text-secondary, #6c6e79);margin-right:var(--intergalactic-spacing-1x, 4px)}.___SInputField_eiisc_gg_>div>p{counter-increment:row;margin:0 0 var(--intergalactic-spacing-1x, 4px)0;position:relative;word-break:break-all;white-space:pre-wrap;padding:0 var(--intergalactic-spacing-5x, 20px)0 var(--intergalactic-spacing-4x, 16px)}.___SInputField_eiisc_gg_>div>p:last-of-type{margin-bottom:0}.___SInputField_eiisc_gg_>div>p:not(:empty)::before{content:counter(row)".";display:inline-block;white-space:nowrap;text-align:right;color:var(--intergalactic-text-secondary, #6c6e79);margin-right:var(--intergalactic-spacing-1x, 4px);position:absolute;left:0}.___SInputField_eiisc_gg_>div>p[data-over-max-rows=true]{background-color:var(--intergalactic-bg-secondary-critical, #fff0f7)}.___SInputField_eiisc_gg_>div:has(p:nth-child(n+10))>p{padding-left:var(--intergalactic-spacing-6x, 24px)}.___SInputField_eiisc_gg_>div:has(p:nth-child(n+10))>p:nth-child(-n+9)::before{padding-left:var(--intergalactic-spacing-2x, 8px)}.___SInputField_eiisc_gg_>div:has(p:nth-child(n+100))>p{padding-left:var(--intergalactic-spacing-8x, 32px)}.___SInputField_eiisc_gg_>div:has(p:nth-child(n+100))>p:nth-child(-n+9)::before{padding-left:var(--intergalactic-spacing-4x, 16px)}.___SInputField_eiisc_gg_>div:has(p:nth-child(n+100))>p:nth-child(n+10)::before{padding-left:var(--intergalactic-spacing-2x, 8px)}.___SInputField_eiisc_gg_>div:has(p:nth-child(n+100))>p:nth-child(n+100)::before{padding-left:0}.___SInputField_eiisc_gg_.__showErrors_eiisc_gg_>div[aria-invalid]>p[aria-invalid]:after{content:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiBmaWxsPSIjZDEwMDJmIj48cGF0aCBkPSJNNyA2aDJ2NEg3VjZabTIgN3YtMkg3djJoMloiLz48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTYuMTUyIDEuMTcyYy43MTktMS41NjMgMi45NzctMS41NjMgMy42OTYgMGw2LjA0MyAxMy4xNDFjLjM2My43OTEtLjIyNSAxLjY4Ny0xLjEwOSAxLjY4N0gxLjIxOGMtLjg4NCAwLTEuNDcyLS44OTYtMS4xMDktMS42ODdMNi4xNTIgMS4xNzJabTcuMzc0IDEyLjgzN0w4IDEuOTkgMi40NzQgMTQuMDFoMTEuMDUyWiIvPjwvc3ZnPgo=\\ );position:absolute;right:0;top:var(--intergalactic-spacing-05x, 2px)}.___SInputField_eiisc_gg_._size_m_eiisc_gg_>div{padding:var(--intergalactic-spacing-2x, 8px) var(--intergalactic-spacing-4x, 16px);font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%);min-height:calc(var(--minRows_eiisc)*20px);max-height:calc((var(--maxRows_eiisc) - 1)*(20px + var(--intergalactic-spacing-1x, 4px)) + 18px)}.___SInputField_eiisc_gg_._size_m_eiisc_gg_>div:empty{padding-left:var(--intergalactic-spacing-8x, 32px)}.___SInputField_eiisc_gg_._size_l_eiisc_gg_>div:empty::before,.___SInputField_eiisc_gg_._size_m_eiisc_gg_>div:empty::before{left:var(--intergalactic-spacing-4x, 16px)}.___SInputField_eiisc_gg_._size_l_eiisc_gg_>div{padding:var(--intergalactic-spacing-3x, 12px) var(--intergalactic-spacing-4x, 16px);font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%);min-height:calc(var(--minRows_eiisc)*24px);max-height:calc((var(--maxRows_eiisc) - 1)*(24px + var(--intergalactic-spacing-1x, 4px)) + 20px)}.___SInputField_eiisc_gg_._size_l_eiisc_gg_>div:empty{padding-left:calc(var(--intergalactic-spacing-8x, 32px) + var(--intergalactic-spacing-05x, 2px))}.___SInputField_eiisc_gg_._state_normal_eiisc_gg_:not(.__disabled_eiisc_gg_)>div:focus:focus{box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5));border-color:var(--intergalactic-border-info-active, #006dca)}.___SInputField_eiisc_gg_._state_valid_eiisc_gg_>div{border-color:var(--intergalactic-border-success-active, #007c65)}.___SInputField_eiisc_gg_._state_valid_eiisc_gg_>div:focus{box-shadow:var(--intergalactic-keyboard-focus-valid, 0px 0px 0px 3px rgba(0, 159, 129, 0.5))}.___SInputField_eiisc_gg_._state_invalid_eiisc_gg_>div{border-color:var(--intergalactic-border-critical-active, #d1002f);background-image:var(--intergalactic-border-critical-pattern, repeating-linear-gradient(315deg, rgba(209, 0, 47, 1) 0, rgba(209, 0, 47, 1) 2px, transparent 0, transparent 50%));background-size:6px 6px;background-color:var(--intergalactic-bg-primary-neutral, #ffffff);border-bottom-left-radius:var(--intergalactic-control-rounded, 6px);border-top-left-radius:var(--intergalactic-control-rounded, 6px);background-repeat:repeat-y}.___SInputField_eiisc_gg_._state_invalid_eiisc_gg_>div:focus{box-shadow:var(--intergalactic-keyboard-focus-invalid, 0px 0px 0px 3px rgba(255, 73, 83, 0.5))}.___SInputField_eiisc_gg_.__readonly_eiisc_gg_>div{background-color:var(--intergalactic-bg-secondary-neutral, #f4f5f9)}.___SInputField_eiisc_gg_.__disabled_eiisc_gg_>div{opacity:var(--intergalactic-disabled-opacity, 0.3)}',
23
+ "eiisc_gg_"
24
24
  ), {
25
- __SInputField: "___SInputField_pt9l8_gg_",
26
- _showErrors: "__showErrors_pt9l8_gg_",
27
- _readonly: "__readonly_pt9l8_gg_",
28
- _disabled: "__disabled_pt9l8_gg_",
29
- _size_m: "_size_m_pt9l8_gg_",
30
- "--minRows": "--minRows_pt9l8",
31
- "--maxRows": "--maxRows_pt9l8",
32
- _size_l: "_size_l_pt9l8_gg_",
33
- _state_normal: "_state_normal_pt9l8_gg_",
34
- _state_valid: "_state_valid_pt9l8_gg_",
35
- _state_invalid: "_state_invalid_pt9l8_gg_"
25
+ __SInputField: "___SInputField_eiisc_gg_",
26
+ _showErrors: "__showErrors_eiisc_gg_",
27
+ _readonly: "__readonly_eiisc_gg_",
28
+ _disabled: "__disabled_eiisc_gg_",
29
+ _size_m: "_size_m_eiisc_gg_",
30
+ "--minRows": "--minRows_eiisc",
31
+ "--maxRows": "--maxRows_eiisc",
32
+ _size_l: "_size_l_eiisc_gg_",
33
+ _state_normal: "_state_normal_eiisc_gg_",
34
+ _state_valid: "_state_valid_eiisc_gg_",
35
+ _state_invalid: "_state_invalid_eiisc_gg_"
36
36
  })
37
- ), Y = /* @__PURE__ */ function(te) {
38
- se(K, te);
39
- var ie = de(K);
40
- function K(o) {
37
+ ), Y = /* @__PURE__ */ function(ie) {
38
+ oe(K, ie);
39
+ var te = de(K);
40
+ function K(s) {
41
41
  var e;
42
- return le(this, K), e = ie.call(this, o), E(x(e), "delimiter", `
42
+ return le(this, K), e = te.call(this, s), E(x(e), "delimiter", `
43
43
  `), E(x(e), "skipEmptyLines", !0), E(x(e), "emptyLineValue", ""), E(x(e), "spaceLineValue", " "), E(x(e), "containerRef", /* @__PURE__ */ O.createRef()), E(x(e), "textarea", void 0), E(x(e), "popper", null), E(x(e), "setPopperTrigger", null), E(x(e), "errorByInteraction", null), E(x(e), "changeTriggerTimeout", 0), E(x(e), "isScrolling", !1), E(x(e), "scrollingTimeout", 0), E(x(e), "toggleErrorsPopperTimeout", 0), E(x(e), "isFocusing", !1), E(x(e), "linesCountTimeout", 0), E(x(e), "state", {
44
44
  visibleErrorPopper: !1,
45
45
  keyboardLineIndex: -1,
46
46
  mouseLineIndex: -1
47
- }), e.handlePaste = e.handlePaste.bind(x(e)), e.handleChange = e.handleChange.bind(x(e)), e.handleFocus = e.handleFocus.bind(x(e)), e.handleBlur = e.handleBlur.bind(x(e)), e.handleKeyDown = e.handleKeyDown.bind(x(e)), e.handleMouseDown = e.handleMouseDown.bind(x(e)), e.handleMouseMove = e.handleMouseMove.bind(x(e)), e.handleMouseLeave = e.handleMouseLeave.bind(x(e)), e.handleScroll = e.handleScroll.bind(x(e)), e.handleSelectAll = e.handleSelectAll.bind(x(e)), e.textarea = e.createContentEditableElement(o), e;
47
+ }), e.handlePaste = e.handlePaste.bind(x(e)), e.handleChange = e.handleChange.bind(x(e)), e.handleFocus = e.handleFocus.bind(x(e)), e.handleBlur = e.handleBlur.bind(x(e)), e.handleKeyDown = e.handleKeyDown.bind(x(e)), e.handleMouseDown = e.handleMouseDown.bind(x(e)), e.handleMouseMove = e.handleMouseMove.bind(x(e)), e.handleMouseLeave = e.handleMouseLeave.bind(x(e)), e.handleScroll = e.handleScroll.bind(x(e)), e.handleSelectAll = e.handleSelectAll.bind(x(e)), e.textarea = e.createContentEditableElement(s), e;
48
48
  }
49
- return oe(K, [{
49
+ return se(K, [{
50
50
  key: "uncontrolledProps",
51
51
  value: function() {
52
52
  return {
@@ -63,17 +63,17 @@ var me = (
63
63
  }
64
64
  }, {
65
65
  key: "componentDidUpdate",
66
- value: function(e, t) {
67
- var r = this, i = this.props, a = i.value, n = i.errors, l = i.errorIndex, d = i.showErrors, g = i.disabled, b = i.readonly, c = i.highlightErrorIndex, u = i.lineProcessing, s = i["aria-describedby"], y = s === void 0 ? "" : s;
66
+ value: function(e, i) {
67
+ var r = this, t = this.props, a = t.value, n = t.errors, l = t.errorIndex, d = t.showErrors, g = t.disabled, b = t.readonly, h = t.highlightErrorIndex, u = t.lineProcessing, o = t["aria-describedby"], y = o === void 0 ? "" : o;
68
68
  if (e.value !== a) {
69
69
  var v = this.getValues().join(this.delimiter);
70
70
  (typeof a == "string" ? a !== v : a.join(this.delimiter) !== v) && this.handleValueOutChange();
71
71
  }
72
- (e.showErrors !== d || e.errors.length !== n.length) && (this.toggleAriaInvalid(d, n.length), d === !1 && this.textarea.setAttribute("aria-describedby", y)), e.errorIndex !== l && c && this.handleChangeErrorIndex(l), (e.disabled !== g || e.readonly !== b) && (this.isDisabled ? (this.textarea.setAttribute("contenteditable", "false"), this.removeEventListeners(this.textarea)) : (this.textarea.setAttribute("contenteditable", "true"), this.addEventListeners(this.textarea)), g ? this.textarea.setAttribute("tabindex", "-1") : this.textarea.setAttribute("tabindex", "0"));
72
+ (e.showErrors !== d || e.errors.length !== n.length) && (this.toggleAriaInvalid(d, n.length), d === !1 && this.textarea.setAttribute("aria-describedby", y)), e.errorIndex !== l && h && this.handleChangeErrorIndex(l), (e.disabled !== g || e.readonly !== b) && (this.isDisabled ? (this.textarea.setAttribute("contenteditable", "false"), this.removeEventListeners(this.textarea)) : (this.textarea.setAttribute("contenteditable", "true"), this.addEventListeners(this.textarea)), g ? this.textarea.setAttribute("tabindex", "-1") : this.textarea.setAttribute("tabindex", "0"));
73
73
  var p = this.state.keyboardLineIndex;
74
- if (t.keyboardLineIndex !== -1 && t.keyboardLineIndex !== p) {
74
+ if (i.keyboardLineIndex !== -1 && i.keyboardLineIndex !== p) {
75
75
  if (u) {
76
- var f, I = this.getValues(), L = u((f = I[t.keyboardLineIndex]) !== null && f !== void 0 ? f : "", I), k = document.createTextNode(L), M = this.textarea.childNodes.item(t.keyboardLineIndex);
76
+ var f, I = this.getValues(), L = u((f = I[i.keyboardLineIndex]) !== null && f !== void 0 ? f : "", I), k = document.createTextNode(L), M = this.textarea.childNodes.item(i.keyboardLineIndex);
77
77
  M instanceof HTMLParagraphElement && (L === "" ? M.innerHTML = this.emptyLineValue : M.replaceChild(k, M.childNodes.item(0))), this.validateLine(M), setTimeout(function() {
78
78
  var P = r.textarea.childNodes.item(p);
79
79
  P && r.setErrorIndex(P);
@@ -90,8 +90,8 @@ var me = (
90
90
  }, {
91
91
  key: "isDisabled",
92
92
  get: function() {
93
- var e = this.asProps, t = e.disabled, r = e.readonly;
94
- return !!(t || r);
93
+ var e = this.asProps, i = e.disabled, r = e.readonly;
94
+ return !!(i || r);
95
95
  }
96
96
  }, {
97
97
  key: "popperDescribedId",
@@ -102,11 +102,11 @@ var me = (
102
102
  }, {
103
103
  key: "errorMessage",
104
104
  get: function() {
105
- var e, t, r, i = this.asProps, a = i.errors, n = i.errorIndex, l = i.commonErrorMessage, d = i.prevError, g = this.state, b = g.mouseLineIndex, c = g.keyboardLineIndex, u = this.errorByInteraction === "keyboard" ? c : this.errorByInteraction === "mouse" ? b : -1, s = a[n];
106
- u !== -1 && (s = a.find(function(p) {
105
+ var e, i, r, t = this.asProps, a = t.errors, n = t.errorIndex, l = t.commonErrorMessage, d = t.prevError, g = this.state, b = g.mouseLineIndex, h = g.keyboardLineIndex, u = this.errorByInteraction === "keyboard" ? h : this.errorByInteraction === "mouse" ? b : -1, o = a[n];
106
+ u !== -1 && (o = a.find(function(p) {
107
107
  return (p == null ? void 0 : p.lineIndex) === u;
108
108
  }));
109
- var y = a.length === 0 && !d ? null : (e = (t = s) === null || t === void 0 ? void 0 : t.errorMessage) !== null && e !== void 0 ? e : l === "" || a.length === 0 ? d == null ? void 0 : d.errorMessage : l, v = !((r = s) !== null && r !== void 0 && r.errorMessage) && (l === "" || a.length === 0 ? !(d != null && d.errorMessage) : !0);
109
+ var y = a.length === 0 && !d ? null : (e = (i = o) === null || i === void 0 ? void 0 : i.errorMessage) !== null && e !== void 0 ? e : l === "" || a.length === 0 ? d == null ? void 0 : d.errorMessage : l, v = !((r = o) !== null && r !== void 0 && r.errorMessage) && (l === "" || a.length === 0 ? !(d != null && d.errorMessage) : !0);
110
110
  return {
111
111
  errorMessage: y,
112
112
  isCommonError: v
@@ -115,24 +115,24 @@ var me = (
115
115
  }, {
116
116
  key: "createContentEditableElement",
117
117
  value: function(e) {
118
- var t = document.createElement("div");
119
- t.setAttribute("contentEditable", e.disabled || e.readonly ? "false" : "true"), t.setAttribute("role", "textbox"), t.setAttribute("classname", "editable"), e.id && t.setAttribute("id", e.id), e.placeholder && t.setAttribute("placeholder", e.placeholder);
120
- var r = ee(e), i = r.extractedAriaProps;
121
- for (var a in i) {
118
+ var i = document.createElement("div");
119
+ i.setAttribute("contentEditable", e.disabled || e.readonly ? "false" : "true"), i.setAttribute("role", "textbox"), i.setAttribute("classname", "editable"), e.id && i.setAttribute("id", e.id), e.placeholder && i.setAttribute("placeholder", e.placeholder);
120
+ var r = ee(e), t = r.extractedAriaProps;
121
+ for (var a in t) {
122
122
  var n = e[a];
123
- n && t.setAttribute(a, n);
123
+ n && i.setAttribute(a, n);
124
124
  }
125
- return e.disabled ? t.setAttribute("tabIndex", "-1") : t.setAttribute("tabIndex", "0"), !e.disabled && !e.readonly ? this.addEventListeners(t) : t.addEventListener("keydown", this.handleSelectAll.bind(this)), t;
125
+ return e.disabled ? i.setAttribute("tabIndex", "-1") : i.setAttribute("tabIndex", "0"), !e.disabled && !e.readonly ? this.addEventListeners(i) : i.addEventListener("keydown", this.handleSelectAll.bind(this)), i;
126
126
  }
127
127
  }, {
128
128
  key: "handleValueOutChange",
129
129
  value: function() {
130
- var e = this.props, t = e.value, r = e.onChangeLinesCount;
131
- if (t === "")
130
+ var e = this.props, i = e.value, r = e.onChangeLinesCount;
131
+ if (i === "")
132
132
  this.textarea.textContent = "", r(0);
133
133
  else {
134
- var i, a = this.prepareNodesForPaste(t);
135
- (i = this.textarea).replaceChildren.apply(i, W(a)), this.recalculateLinesCount(), this.recalculateErrors();
134
+ var t, a = this.prepareNodesForPaste(i);
135
+ (t = this.textarea).replaceChildren.apply(t, W(a)), this.recalculateLinesCount(), this.recalculateErrors();
136
136
  }
137
137
  }
138
138
  }, {
@@ -146,15 +146,15 @@ var me = (
146
146
  }, {
147
147
  key: "handleMouseDown",
148
148
  value: function(e) {
149
- var t = e.target;
150
- t instanceof HTMLElement && (this.toggleErrorsPopper("keyboardLineIndex", t), this.setErrorIndex(t));
149
+ var i = e.target;
150
+ i instanceof HTMLElement && (this.toggleErrorsPopper("keyboardLineIndex", i), this.setErrorIndex(i));
151
151
  }
152
152
  }, {
153
153
  key: "handleMouseMove",
154
154
  value: function(e) {
155
155
  this.errorByInteraction = "mouse";
156
- var t = e.target;
157
- t !== this.textarea && (this.isFocusing || t instanceof HTMLElement && t.getAttribute("aria-invalid") === "true" ? this.toggleErrorsPopper("mouseLineIndex", t) : this.setState({
156
+ var i = e.target;
157
+ i !== this.textarea && (this.isFocusing || i instanceof HTMLElement && i.getAttribute("aria-invalid") === "true" ? this.toggleErrorsPopper("mouseLineIndex", i) : this.setState({
158
158
  visibleErrorPopper: !1
159
159
  }));
160
160
  }
@@ -163,8 +163,8 @@ var me = (
163
163
  value: function(e) {
164
164
  if (this.changeTriggerTimeout && clearTimeout(this.changeTriggerTimeout), this.isFocusing) {
165
165
  this.errorByInteraction = "keyboard";
166
- var t = this.getNodeFromSelection();
167
- this.toggleErrorsPopper("keyboardLineIndex", t, 0), this.setState({
166
+ var i = this.getNodeFromSelection();
167
+ this.toggleErrorsPopper("keyboardLineIndex", i, 0), this.setState({
168
168
  mouseLineIndex: -1
169
169
  });
170
170
  } else
@@ -175,28 +175,28 @@ var me = (
175
175
  }, {
176
176
  key: "handlePaste",
177
177
  value: function(e) {
178
- var t;
178
+ var i;
179
179
  e.preventDefault();
180
- var r = this.asProps.validateOn, i = (t = e.clipboardData) === null || t === void 0 ? void 0 : t.getData("text/plain"), a = i ? this.prepareNodesForPaste(i) : [];
180
+ var r = this.asProps.validateOn, t = (i = e.clipboardData) === null || i === void 0 ? void 0 : i.getData("text/plain"), a = t ? this.prepareNodesForPaste(t) : [];
181
181
  if (a.length !== 0) {
182
182
  var n = document.getSelection();
183
183
  if (n != null && n.anchorNode && n !== null && n !== void 0 && n.focusNode) {
184
- var l = n.anchorOffset, d = n.focusOffset, g = n.anchorNode.compareDocumentPosition(n.focusNode), b = this.getSelectionDirection(), c = b === "forward" ? n.anchorNode : n.focusNode, u = b === "forward" ? n.focusNode : n.anchorNode, s = b === "forward" ? l : d, y = b === "forward" ? d : l, v = c instanceof Text ? c.parentElement : c, p = u instanceof Text ? u.parentElement : u, f = null, I = null;
184
+ var l = n.anchorOffset, d = n.focusOffset, g = n.anchorNode.compareDocumentPosition(n.focusNode), b = this.getSelectionDirection(), h = b === "forward" ? n.anchorNode : n.focusNode, u = b === "forward" ? n.focusNode : n.anchorNode, o = b === "forward" ? l : d, y = b === "forward" ? d : l, v = h instanceof Text ? h.parentElement : h, p = u instanceof Text ? u.parentElement : u, f = null, I = null;
185
185
  if (u === this.textarea) {
186
186
  var L, k;
187
187
  (L = this.textarea).replaceChildren.apply(L, W(a));
188
188
  var M = a[a.length - 1];
189
189
  f = M.childNodes.item(0), I = ((k = M.textContent) !== null && k !== void 0 ? k : "").length;
190
190
  } else if (p instanceof HTMLParagraphElement && v instanceof HTMLParagraphElement) {
191
- var P, A, S, C, w, F = (P = v == null || (A = v.textContent) === null || A === void 0 ? void 0 : A.substring(0, s)) !== null && P !== void 0 ? P : "", D = (S = p == null || (C = p.textContent) === null || C === void 0 ? void 0 : C.substring(y)) !== null && S !== void 0 ? S : "", H = F.trim() === "" ? "" : F, h = D.trim() === "" ? "" : D;
191
+ var P, A, S, C, w, F = (P = v == null || (A = v.textContent) === null || A === void 0 ? void 0 : A.substring(0, o)) !== null && P !== void 0 ? P : "", D = (S = p == null || (C = p.textContent) === null || C === void 0 ? void 0 : C.substring(y)) !== null && S !== void 0 ? S : "", H = F.trim() === "" ? "" : F, c = D.trim() === "" ? "" : D;
192
192
  n.deleteFromDocument(), g !== 0 && this.textarea.removeChild(p);
193
193
  var T = a.splice(0, 1)[0], _ = a[a.length - 1];
194
194
  if (v.textContent = (w = H + (T == null ? void 0 : T.textContent)) !== null && w !== void 0 ? w : "", v.after.apply(v, W(a)), _) {
195
195
  var m, B;
196
- _.textContent = ((m = _.textContent) !== null && m !== void 0 ? m : "") + h, f = _.childNodes.item(0), I = ((B = _.textContent) !== null && B !== void 0 ? B : "").length, this.validateLine(_), this.setErrorIndex(_);
196
+ _.textContent = ((m = _.textContent) !== null && m !== void 0 ? m : "") + c, f = _.childNodes.item(0), I = ((B = _.textContent) !== null && B !== void 0 ? B : "").length, this.validateLine(_), this.setErrorIndex(_);
197
197
  } else {
198
198
  var R, V;
199
- I = ((R = v.textContent) !== null && R !== void 0 ? R : "").length, v.textContent = ((V = v.textContent) !== null && V !== void 0 ? V : "") + h, f = v.childNodes.item(0), this.validateLine(v), this.setErrorIndex(v);
199
+ I = ((R = v.textContent) !== null && R !== void 0 ? R : "").length, v.textContent = ((V = v.textContent) !== null && V !== void 0 ? V : "") + c, f = v.childNodes.item(0), this.validateLine(v), this.setErrorIndex(v);
200
200
  }
201
201
  }
202
202
  if (f instanceof Text) {
@@ -213,46 +213,46 @@ var me = (
213
213
  }, {
214
214
  key: "handleChange",
215
215
  value: function(e) {
216
- var t = e.target;
217
- if (t instanceof HTMLDivElement && e instanceof InputEvent) {
218
- var r, i = this.textarea.childNodes, a = i.item(0), n = i.item(1), l = document.getSelection();
216
+ var i = e.target;
217
+ if (i instanceof HTMLDivElement && e instanceof InputEvent) {
218
+ var r, t = this.textarea.childNodes, a = t.item(0), n = t.item(1), l = document.getSelection();
219
219
  if (a instanceof Text) {
220
- var d, g = (d = a.textContent) !== null && d !== void 0 ? d : "", b = document.createElement("p"), c = document.createTextNode(g);
221
- b.append(c), a.replaceWith(b), l == null || l.setPosition(b, g.length);
222
- } else !a || a instanceof HTMLBRElement && i.length === 1 ? (this.textarea.textContent = "", this.setState({
220
+ var d, g = (d = a.textContent) !== null && d !== void 0 ? d : "", b = document.createElement("p"), h = document.createTextNode(g);
221
+ b.append(h), a.replaceWith(b), l == null || l.setPosition(b, g.length);
222
+ } else !a || a instanceof HTMLBRElement && t.length === 1 ? (this.textarea.textContent = "", this.setState({
223
223
  keyboardLineIndex: 0
224
- })) : a instanceof HTMLParagraphElement && !((r = a.textContent) !== null && r !== void 0 && r.trim()) && (i.length <= 1 || n instanceof HTMLBRElement) && (this.textarea.textContent = "", this.setState({
224
+ })) : a instanceof HTMLParagraphElement && !((r = a.textContent) !== null && r !== void 0 && r.trim()) && (t.length <= 1 || n instanceof HTMLBRElement) && (this.textarea.textContent = "", this.setState({
225
225
  keyboardLineIndex: 0
226
226
  }));
227
- for (var u = 10, s = l == null ? void 0 : l.focusNode; ((y = s) === null || y === void 0 ? void 0 : y.parentNode) !== this.textarea && u > 0; ) {
227
+ for (var u = 10, o = l == null ? void 0 : l.focusNode; ((y = o) === null || y === void 0 ? void 0 : y.parentNode) !== this.textarea && u > 0; ) {
228
228
  var y, v;
229
- s = (v = s) === null || v === void 0 ? void 0 : v.parentNode, u--;
229
+ o = (v = o) === null || v === void 0 ? void 0 : v.parentNode, u--;
230
230
  }
231
- if (s instanceof HTMLParagraphElement) {
232
- var p, f, I = s.childNodes, L = (p = s.textContent) !== null && p !== void 0 ? p : "";
231
+ if (o instanceof HTMLParagraphElement) {
232
+ var p, f, I = o.childNodes, L = (p = o.textContent) !== null && p !== void 0 ? p : "";
233
233
  if (I.length > 1) {
234
234
  var k, M = (k = I.item(0).textContent) === null || k === void 0 ? void 0 : k.length;
235
- s.textContent = L, M && this.setSelection(s.childNodes.item(0), M, M);
235
+ o.textContent = L, M && this.setSelection(o.childNodes.item(0), M, M);
236
236
  }
237
237
  if (L.length > 0) {
238
238
  var P = L.at(0), A = L.at(L.length - 1);
239
239
  if (P === this.getEmptyParagraph().textContent || A === this.getEmptyParagraph().textContent) {
240
240
  var S = null;
241
- P === this.getEmptyParagraph().textContent ? (s.textContent = L.substring(1), S = e.inputType === "deleteContentBackward" || e.inputType === "deleteContentForward" ? 0 : s.textContent.length) : A === this.getEmptyParagraph().textContent && (s.textContent = L.substring(0, L.length - 1), S = s.textContent.length), S && this.setSelection(s.childNodes.item(0), S, S);
241
+ P === this.getEmptyParagraph().textContent ? (o.textContent = L.substring(1), S = e.inputType === "deleteContentBackward" || e.inputType === "deleteContentForward" ? 0 : o.textContent.length) : A === this.getEmptyParagraph().textContent && (o.textContent = L.substring(0, L.length - 1), S = o.textContent.length), S && this.setSelection(o.childNodes.item(0), S, S);
242
242
  }
243
- } else I.length === 1 && I[0] instanceof HTMLBRElement && (s.innerHTML = this.emptyLineValue);
244
- var C = this.asProps, w = C.errors, F = C.showErrors, D = this.validateLine(s);
245
- this.recalculateErrors(), this.setErrorIndex(s), !D && F && this.toggleErrorsPopper("keyboardLineIndex", s, 0);
246
- var H = !D || D && w.length === 1 && w[0].lineNode === s ? s : this.textarea;
243
+ } else I.length === 1 && I[0] instanceof HTMLBRElement && (o.innerHTML = this.emptyLineValue);
244
+ var C = this.asProps, w = C.errors, F = C.showErrors, D = this.validateLine(o);
245
+ this.recalculateErrors(), this.setErrorIndex(o), !D && F && this.toggleErrorsPopper("keyboardLineIndex", o, 0);
246
+ var H = !D || D && w.length === 1 && w[0].lineNode === o ? o : this.textarea;
247
247
  if (F && ((f = this.popper) === null || f === void 0 ? void 0 : f.current.state.elements.reference) !== H)
248
248
  if (this.shouldChangePopperTrigger(H)) {
249
- var h;
250
- (h = this.setPopperTrigger) === null || h === void 0 || h.call(this, H);
249
+ var c;
250
+ (c = this.setPopperTrigger) === null || c === void 0 || c.call(this, H);
251
251
  } else
252
252
  this.setState({
253
253
  visibleErrorPopper: !1
254
254
  });
255
- } else if (s === null) {
255
+ } else if (o === null) {
256
256
  var T;
257
257
  if ((T = this.setPopperTrigger) === null || T === void 0 || T.call(this, this.textarea), (l == null ? void 0 : l.focusNode) === this.textarea && this.textarea.childNodes.length > 1) {
258
258
  var _ = l.focusOffset, m = this.textarea.childNodes.item(_ - 1), B = this.textarea.childNodes.item(_);
@@ -271,15 +271,15 @@ var me = (
271
271
  }, {
272
272
  key: "handleBlur",
273
273
  value: function(e) {
274
- var t = this;
274
+ var i = this;
275
275
  this.isFocusing = !1, this.setState({
276
276
  visibleErrorPopper: !1
277
277
  });
278
- var r = this.asProps, i = r.validateOn, a = r.onBlur, n = r.value;
279
- i.includes("blur") && this.recalculateErrors();
278
+ var r = this.asProps, t = r.validateOn, a = r.onBlur, n = r.value;
279
+ t.includes("blur") && this.recalculateErrors();
280
280
  var l = typeof n == "string" ? this.getValues().join(this.delimiter) : this.getValues();
281
281
  a(l, e), setTimeout(function() {
282
- t.setState({
282
+ i.setState({
283
283
  keyboardLineIndex: -1
284
284
  });
285
285
  }, 200);
@@ -287,38 +287,38 @@ var me = (
287
287
  }, {
288
288
  key: "handleKeyDown",
289
289
  value: function(e) {
290
- var t = this;
290
+ var i = this;
291
291
  this.errorByInteraction = "keyboard";
292
- var r = this.asProps.linesDelimiters, i = this.getNodeFromSelection();
292
+ var r = this.asProps.linesDelimiters, t = this.getNodeFromSelection();
293
293
  if (e.key === "Enter" || r != null && r.includes(e.key)) {
294
- if (i === this.textarea && e.preventDefault(), i instanceof HTMLParagraphElement) {
295
- var a, n = (a = i.textContent) === null || a === void 0 ? void 0 : a.trim();
294
+ if (t === this.textarea && e.preventDefault(), t instanceof HTMLParagraphElement) {
295
+ var a, n = (a = t.textContent) === null || a === void 0 ? void 0 : a.trim();
296
296
  if (!n)
297
297
  e.preventDefault();
298
298
  else {
299
299
  var l, d, g, b;
300
300
  e.preventDefault();
301
- var c = document.getSelection(), u = (c == null ? void 0 : c.focusNode) instanceof Text ? c.focusNode : c == null || (l = c.focusNode) === null || l === void 0 ? void 0 : l.childNodes.item(0), s = c == null ? void 0 : c.focusOffset, y = "";
302
- if (u instanceof Text && s !== void 0 && s !== ((d = u.textContent) === null || d === void 0 ? void 0 : d.length)) {
301
+ var h = document.getSelection(), u = (h == null ? void 0 : h.focusNode) instanceof Text ? h.focusNode : h == null || (l = h.focusNode) === null || l === void 0 ? void 0 : l.childNodes.item(0), o = h == null ? void 0 : h.focusOffset, y = "";
302
+ if (u instanceof Text && o !== void 0 && o !== ((d = u.textContent) === null || d === void 0 ? void 0 : d.length)) {
303
303
  var v, p;
304
- y = (v = (p = u.textContent) === null || p === void 0 ? void 0 : p.substring(s)) !== null && v !== void 0 ? v : this.emptyLineValue, u.textContent && (u.textContent = u.textContent.substring(0, s));
304
+ y = (v = (p = u.textContent) === null || p === void 0 ? void 0 : p.substring(o)) !== null && v !== void 0 ? v : this.emptyLineValue, u.textContent && (u.textContent = u.textContent.substring(0, o));
305
305
  }
306
- ((g = i.textContent) === null || g === void 0 ? void 0 : g.trim()) === "" && (i.innerHTML = this.emptyLineValue);
306
+ ((g = t.textContent) === null || g === void 0 ? void 0 : g.trim()) === "" && (t.innerHTML = this.emptyLineValue);
307
307
  var f = document.createElement("p");
308
- y ? f.textContent = y : f.innerHTML = this.emptyLineValue, i.after(f), this.setSelection(f, 0, 0), this.validateLine(i), this.validateLine(f), i.previousSibling && this.validateLine(i.previousSibling), this.setErrorIndex(f), ((b = f.textContent) === null || b === void 0 ? void 0 : b.trim()) !== "" && this.recalculateLinesCount(), setTimeout(function() {
309
- t.recalculateErrors();
308
+ y ? f.textContent = y : f.innerHTML = this.emptyLineValue, t.after(f), this.setSelection(f, 0, 0), this.validateLine(t), this.validateLine(f), t.previousSibling && this.validateLine(t.previousSibling), this.setErrorIndex(f), ((b = f.textContent) === null || b === void 0 ? void 0 : b.trim()) !== "" && this.recalculateLinesCount(), setTimeout(function() {
309
+ i.recalculateErrors();
310
310
  }, 0), this.toggleErrorsPopperByKeyboard(0);
311
311
  }
312
312
  }
313
313
  } else if (e.key === "ArrowDown" || e.key === "ArrowUp" || e.key === "ArrowLeft" || e.key === "ArrowRight")
314
- i instanceof HTMLParagraphElement && this.handleCursorMovement(i, e), this.toggleErrorsPopperByKeyboard(200);
315
- else if (this.isDeleteKey(e) && i instanceof HTMLParagraphElement) {
314
+ t instanceof HTMLParagraphElement && this.handleCursorMovement(t, e), this.toggleErrorsPopperByKeyboard(200);
315
+ else if (this.isDeleteKey(e) && t instanceof HTMLParagraphElement) {
316
316
  var I;
317
- if (((I = i.textContent) === null || I === void 0 ? void 0 : I.trim()) === "" && !this.isRangeSelection()) {
318
- var L = i.previousSibling;
317
+ if (((I = t.textContent) === null || I === void 0 ? void 0 : I.trim()) === "" && !this.isRangeSelection()) {
318
+ var L = t.previousSibling;
319
319
  if (L instanceof HTMLParagraphElement) {
320
320
  var k;
321
- if (e.preventDefault(), this.textarea.removeChild(i), this.toggleErrorsPopperByKeyboard(0), ((k = L.textContent) === null || k === void 0 ? void 0 : k.trim()) === "" && L.previousSibling === null && this.textarea.childNodes.length === 1)
321
+ if (e.preventDefault(), this.textarea.removeChild(t), this.toggleErrorsPopperByKeyboard(0), ((k = L.textContent) === null || k === void 0 ? void 0 : k.trim()) === "" && L.previousSibling === null && this.textarea.childNodes.length === 1)
322
322
  this.textarea.textContent = "", this.setSelection(this.textarea, 0, 0);
323
323
  else if (L instanceof HTMLParagraphElement) {
324
324
  var M, P, A = L.childNodes.item(0), S = (M = (P = A.textContent) === null || P === void 0 ? void 0 : P.length) !== null && M !== void 0 ? M : 0;
@@ -326,16 +326,16 @@ var me = (
326
326
  } else
327
327
  console.warn("incorrect prevNode type", L);
328
328
  setTimeout(function() {
329
- t.recalculateErrors();
329
+ i.recalculateErrors();
330
330
  }, 0), this.toggleErrorsPopperByKeyboard(0);
331
331
  }
332
332
  } else if (this.isRangeSelection()) {
333
- var C, w, F, D, H, h = document.getSelection(), T = this.getSelectionDirection(), _ = T === "backward" ? h == null ? void 0 : h.focusNode : h == null ? void 0 : h.anchorNode, m = T === "backward" ? h == null ? void 0 : h.anchorNode : h == null ? void 0 : h.focusNode, B = T === "backward" ? h == null ? void 0 : h.focusOffset : h == null ? void 0 : h.anchorOffset, R = T === "backward" ? h == null ? void 0 : h.anchorOffset : h == null ? void 0 : h.focusOffset;
334
- if (_ === m && B === 0 && (m === i && R === 1 || R === ((C = i.textContent) === null || C === void 0 ? void 0 : C.length))) {
333
+ var C, w, F, D, H, c = document.getSelection(), T = this.getSelectionDirection(), _ = T === "backward" ? c == null ? void 0 : c.focusNode : c == null ? void 0 : c.anchorNode, m = T === "backward" ? c == null ? void 0 : c.anchorNode : c == null ? void 0 : c.focusNode, B = T === "backward" ? c == null ? void 0 : c.focusOffset : c == null ? void 0 : c.anchorOffset, R = T === "backward" ? c == null ? void 0 : c.anchorOffset : c == null ? void 0 : c.focusOffset;
334
+ if (_ === m && B === 0 && (m === t && R === 1 || R === ((C = t.textContent) === null || C === void 0 ? void 0 : C.length))) {
335
335
  e.preventDefault();
336
336
  var V = _ == null ? void 0 : _.parentElement, j = m == null ? void 0 : m.parentElement, z = this.textarea.childNodes;
337
- V === z.item(0) && j === z.item(z.length - 1) ? (this.textarea.textContent = "", this.setSelection(this.textarea, 0, 0)) : (i.innerHTML = this.emptyLineValue, this.validateLine(i)), this.setErrorIndex(i), this.recalculateLinesCount(), setTimeout(function() {
338
- t.recalculateErrors();
337
+ V === z.item(0) && j === z.item(z.length - 1) ? (this.textarea.textContent = "", this.setSelection(this.textarea, 0, 0)) : (t.innerHTML = this.emptyLineValue, this.validateLine(t)), this.setErrorIndex(t), this.recalculateLinesCount(), setTimeout(function() {
338
+ i.recalculateErrors();
339
339
  }, 0), this.toggleErrorsPopperByKeyboard(0);
340
340
  } else if (m !== _ && m instanceof Text && _ instanceof Text && (m == null ? void 0 : m.textContent) === (m == null || (w = m.parentNode) === null || w === void 0 ? void 0 : w.textContent) && (_ == null ? void 0 : _.textContent) === (_ == null || (F = _.parentNode) === null || F === void 0 ? void 0 : F.textContent) && B === 0 && R === (m == null || (D = m.parentNode) === null || D === void 0 || (H = D.textContent) === null || H === void 0 ? void 0 : H.length)) {
341
341
  e.preventDefault();
@@ -359,10 +359,10 @@ var me = (
359
359
  } finally {
360
360
  G.f();
361
361
  }
362
- this.validateLine(i);
362
+ this.validateLine(t);
363
363
  }
364
- this.setErrorIndex(i), this.recalculateLinesCount(), setTimeout(function() {
365
- t.recalculateErrors();
364
+ this.setErrorIndex(t), this.recalculateLinesCount(), setTimeout(function() {
365
+ i.recalculateErrors();
366
366
  }, 0), this.toggleErrorsPopperByKeyboard(0);
367
367
  }
368
368
  }
@@ -371,11 +371,11 @@ var me = (
371
371
  }, {
372
372
  key: "render",
373
373
  value: function() {
374
- var e = this.asProps, t, r, i = this, a = ge, n = this.asProps, l = n.styles, d = n.showErrors, g = this.state.visibleErrorPopper, b = this.errorMessage, c = b.errorMessage, u = b.isCommonError, s = d && g && !!c && !this.isDisabled, y = ee(this.asProps), v = y.__excludeProps;
375
- return t = ue(l), /* @__PURE__ */ O.createElement(O.Fragment, null, /* @__PURE__ */ O.createElement($, t.cn("Tooltip", {
374
+ var e = this.asProps, i, r, t = this, a = ge, n = this.asProps, l = n.styles, d = n.showErrors, g = this.state.visibleErrorPopper, b = this.errorMessage, h = b.errorMessage, u = b.isCommonError, o = d && g && !!h && !this.isDisabled, y = ee(this.asProps), v = y.__excludeProps;
375
+ return i = ue(l), /* @__PURE__ */ O.createElement(O.Fragment, null, /* @__PURE__ */ O.createElement($, i.cn("Tooltip", {
376
376
  interaction: "none",
377
377
  placement: u ? "right-start" : "right",
378
- visible: s,
378
+ visible: o,
379
379
  theme: "warning",
380
380
  offset: u ? void 0 : [0, 26],
381
381
  preventOverflow: {
@@ -384,10 +384,10 @@ var me = (
384
384
  }
385
385
  }), function(p) {
386
386
  var f = p.popper, I = p.setTrigger;
387
- return i.popper || (i.setPopperTrigger = I, i.popper = f), /* @__PURE__ */ O.createElement($.Popper, {
388
- id: i.popperDescribedId
389
- }, c);
390
- }), /* @__PURE__ */ O.createElement(a, t.cn("SInputField", ae({}, he({
387
+ return t.popper || (t.setPopperTrigger = I, t.popper = f), /* @__PURE__ */ O.createElement($.Popper, {
388
+ id: t.popperDescribedId
389
+ }, h);
390
+ }), /* @__PURE__ */ O.createElement(a, i.cn("SInputField", ae({}, ce({
391
391
  ref: this.containerRef,
392
392
  __excludeProps: ["onBlur", "value"].concat(W(v))
393
393
  }, e)))));
@@ -395,12 +395,12 @@ var me = (
395
395
  }, {
396
396
  key: "prepareNodesForPaste",
397
397
  value: function(e) {
398
- var t, r, i, a = this, n = [], l = this.asProps.pasteProps, d = (t = l == null ? void 0 : l.lineProcessing) !== null && t !== void 0 ? t : function(u) {
399
- var s = u.trim();
400
- return s === "" ? u : s;
401
- }, g = (r = l == null ? void 0 : l.skipEmptyLines) !== null && r !== void 0 ? r : this.skipEmptyLines, b = (i = l == null ? void 0 : l.delimiter) !== null && i !== void 0 ? i : this.delimiter, c = Array.isArray(e) ? e : e.split(b);
402
- return c.forEach(function(u, s) {
403
- var y = d(u, s, c.length);
398
+ var i, r, t, a = this, n = [], l = this.asProps.pasteProps, d = (i = l == null ? void 0 : l.lineProcessing) !== null && i !== void 0 ? i : function(u) {
399
+ var o = u.trim();
400
+ return o === "" ? u : o;
401
+ }, g = (r = l == null ? void 0 : l.skipEmptyLines) !== null && r !== void 0 ? r : this.skipEmptyLines, b = (t = l == null ? void 0 : l.delimiter) !== null && t !== void 0 ? t : this.delimiter, h = Array.isArray(e) ? e : e.split(b);
402
+ return h.forEach(function(u, o) {
403
+ var y = d(u, o, h.length);
404
404
  if (y === "" && g === !1 || y !== "") {
405
405
  var v = document.createElement("p");
406
406
  if (y === "")
@@ -418,11 +418,11 @@ var me = (
418
418
  key: "recalculateErrors",
419
419
  value: function() {
420
420
  var e = [];
421
- this.textarea.childNodes.forEach(function(t, r) {
422
- if (t instanceof HTMLParagraphElement && t.getAttribute("aria-invalid") === "true") {
423
- var i, a = {
424
- errorMessage: (i = t.dataset.errormessage) !== null && i !== void 0 ? i : "",
425
- lineNode: t,
421
+ this.textarea.childNodes.forEach(function(i, r) {
422
+ if (i instanceof HTMLParagraphElement && i.getAttribute("aria-invalid") === "true") {
423
+ var t, a = {
424
+ errorMessage: (t = i.dataset.errormessage) !== null && t !== void 0 ? t : "",
425
+ lineNode: i,
426
426
  lineIndex: r
427
427
  };
428
428
  e.push(a);
@@ -434,23 +434,23 @@ var me = (
434
434
  value: function() {
435
435
  var e = this;
436
436
  this.linesCountTimeout && clearTimeout(this.linesCountTimeout), this.linesCountTimeout = window.setTimeout(function() {
437
- var t = 0, r = e.asProps, i = r.maxLines, a = r.linesCount;
437
+ var i = 0, r = e.asProps, t = r.maxLines, a = r.linesCount;
438
438
  e.textarea.childNodes.forEach(function(n, l) {
439
- n instanceof HTMLParagraphElement && (n.dataset.overMaxRows = "false", n.textContent !== e.getEmptyParagraph().textContent && n.textContent !== "" && (t++, t > i && (n.dataset.overMaxRows = "true")));
440
- }), a !== t && e.asProps.onChangeLinesCount(t);
439
+ n instanceof HTMLParagraphElement && (n.dataset.overMaxRows = "false", n.textContent !== e.getEmptyParagraph().textContent && n.textContent !== "" && (i++, i > t && (n.dataset.overMaxRows = "true")));
440
+ }), a !== i && e.asProps.onChangeLinesCount(i);
441
441
  }, 100);
442
442
  }
443
443
  }, {
444
444
  key: "getValues",
445
445
  value: function() {
446
446
  var e = [];
447
- return this.textarea.childNodes.forEach(function(t) {
447
+ return this.textarea.childNodes.forEach(function(i) {
448
448
  var r;
449
- if (((r = t.textContent) === null || r === void 0 ? void 0 : r.trim()) === "")
449
+ if (((r = i.textContent) === null || r === void 0 ? void 0 : r.trim()) === "")
450
450
  e.push("");
451
451
  else {
452
- var i;
453
- e.push((i = t.textContent) !== null && i !== void 0 ? i : "");
452
+ var t;
453
+ e.push((t = i.textContent) !== null && t !== void 0 ? t : "");
454
454
  }
455
455
  }), e;
456
456
  }
@@ -462,33 +462,33 @@ var me = (
462
462
  }, {
463
463
  key: "toggleErrorsPopperByKeyboard",
464
464
  value: function(e) {
465
- var t = this;
465
+ var i = this;
466
466
  this.toggleErrorsPopperTimeout && clearTimeout(this.toggleErrorsPopperTimeout), this.isScrolling ? this.toggleErrorsPopperTimeout = window.setTimeout(function() {
467
- t.toggleErrorsPopperByKeyboard(e);
467
+ i.toggleErrorsPopperByKeyboard(e);
468
468
  }, 50) : setTimeout(function() {
469
- var r = t.getNodeFromSelection();
470
- t.toggleErrorsPopper("keyboardLineIndex", r, e);
469
+ var r = i.getNodeFromSelection();
470
+ i.toggleErrorsPopper("keyboardLineIndex", r, e);
471
471
  }, 0);
472
472
  }
473
473
  }, {
474
474
  key: "toggleErrorsPopper",
475
- value: function(e, t, r) {
476
- var i = this;
477
- t instanceof HTMLDivElement || t instanceof HTMLParagraphElement ? (this.changeTriggerTimeout && clearTimeout(this.changeTriggerTimeout), this.changeTriggerTimeout = window.setTimeout(function() {
478
- var a = t === i.textarea ? i.getNodeFromSelection() : t, n = -1, l = !1;
479
- a instanceof HTMLParagraphElement ? (l = a.getAttribute("aria-invalid") === "true", n = Array.from(i.textarea.childNodes).indexOf(a)) : a === i.textarea && (n = 0), a instanceof HTMLElement && i.setState(function(d) {
475
+ value: function(e, i, r) {
476
+ var t = this;
477
+ i instanceof HTMLDivElement || i instanceof HTMLParagraphElement ? (this.changeTriggerTimeout && clearTimeout(this.changeTriggerTimeout), this.changeTriggerTimeout = window.setTimeout(function() {
478
+ var a = i === t.textarea ? t.getNodeFromSelection() : i, n = -1, l = !1;
479
+ a instanceof HTMLParagraphElement ? (l = a.getAttribute("aria-invalid") === "true", n = Array.from(t.textarea.childNodes).indexOf(a)) : a === t.textarea && (n = 0), a instanceof HTMLElement && t.setState(function(d) {
480
480
  var g = {
481
- visibleErrorPopper: i.isFocusing && i.asProps.commonErrorMessage ? !0 : l,
481
+ visibleErrorPopper: t.isFocusing && t.asProps.commonErrorMessage ? !0 : l,
482
482
  mouseLineIndex: d.mouseLineIndex,
483
483
  keyboardLineIndex: d.keyboardLineIndex
484
484
  };
485
- return (i.isFocusing || e === "mouseLineIndex" && l) && (g[e] = n), g;
485
+ return (t.isFocusing || e === "mouseLineIndex" && l) && (g[e] = n), g;
486
486
  }, function() {
487
- i.errorByInteraction = e === "mouseLineIndex" ? "mouse" : "keyboard";
488
- var d = l ? a : i.textarea;
489
- if (i.shouldChangePopperTrigger(d)) {
487
+ t.errorByInteraction = e === "mouseLineIndex" ? "mouse" : "keyboard";
488
+ var d = l ? a : t.textarea;
489
+ if (t.shouldChangePopperTrigger(d)) {
490
490
  var g;
491
- (g = i.setPopperTrigger) === null || g === void 0 || g.call(i, d), i.forceUpdate();
491
+ (g = t.setPopperTrigger) === null || g === void 0 || g.call(t, d), t.forceUpdate();
492
492
  }
493
493
  });
494
494
  }, r ?? 50)) : this.setState({
@@ -497,13 +497,13 @@ var me = (
497
497
  }
498
498
  }, {
499
499
  key: "toggleAriaInvalid",
500
- value: function(e, t) {
501
- e && t > 0 ? (this.textarea.setAttribute("aria-describedby", this.popperDescribedId), this.textarea.setAttribute("aria-invalid", "true")) : (this.textarea.removeAttribute("aria-invalid"), this.textarea.removeAttribute("aria-describedby"));
500
+ value: function(e, i) {
501
+ e && i > 0 ? (this.textarea.setAttribute("aria-describedby", this.popperDescribedId), this.textarea.setAttribute("aria-invalid", "true")) : (this.textarea.removeAttribute("aria-invalid"), this.textarea.removeAttribute("aria-describedby"));
502
502
  }
503
503
  }, {
504
504
  key: "handleChangeErrorIndex",
505
505
  value: function(e) {
506
- var t, r = this, i = this.asProps.errors[e], a = this.textarea.childNodes, n = i ? (t = i.lineNode) !== null && t !== void 0 ? t : a.item(i.lineIndex) : null, l = document.getSelection();
506
+ var i, r = this, t = this.asProps.errors[e], a = this.textarea.childNodes, n = t ? (i = t.lineNode) !== null && i !== void 0 ? i : a.item(t.lineIndex) : null, l = document.getSelection();
507
507
  l && n instanceof HTMLParagraphElement && (this.setState({
508
508
  visibleErrorPopper: !1
509
509
  }), setTimeout(function() {
@@ -514,63 +514,63 @@ var me = (
514
514
  }, {
515
515
  key: "validateLine",
516
516
  value: function(e) {
517
- var t = this.asProps.lineValidation;
518
- if (t && e instanceof HTMLElement) {
519
- var r, i = t((r = e.textContent) !== null && r !== void 0 ? r : "", this.getValues()), a = i.isValid, n = i.errorMessage;
517
+ var i = this.asProps.lineValidation;
518
+ if (i && e instanceof HTMLElement) {
519
+ var r, t = i((r = e.textContent) !== null && r !== void 0 ? r : "", this.getValues()), a = t.isValid, n = t.errorMessage;
520
520
  return a ? (e.removeAttribute("aria-invalid"), e.dataset.errormessage = void 0) : (e.setAttribute("aria-invalid", "true"), e.dataset.errormessage = n), a;
521
521
  }
522
522
  return !0;
523
523
  }
524
524
  }, {
525
525
  key: "setSelection",
526
- value: function(e, t, r) {
527
- var i = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "center", a = document.getSelection(), n = document.createRange();
528
- n.setStart(e, t), n.setEnd(e, r), a == null || a.removeAllRanges(), a == null || a.addRange(n);
526
+ value: function(e, i, r) {
527
+ var t = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "center", a = document.getSelection(), n = document.createRange();
528
+ n.setStart(e, i), n.setEnd(e, r), a == null || a.removeAllRanges(), a == null || a.addRange(n);
529
529
  var l = e instanceof Text ? e.parentNode : e;
530
530
  l instanceof HTMLElement && l.scrollIntoView({
531
- block: i,
532
- inline: i,
531
+ block: t,
532
+ inline: t,
533
533
  behavior: "smooth"
534
534
  });
535
535
  }
536
536
  }, {
537
537
  key: "getNodeFromSelection",
538
538
  value: function() {
539
- var e = document.getSelection(), t = (e == null ? void 0 : e.focusNode) instanceof Text ? e.focusNode.parentNode : e == null ? void 0 : e.focusNode;
540
- return t ?? null;
539
+ var e = document.getSelection(), i = (e == null ? void 0 : e.focusNode) instanceof Text ? e.focusNode.parentNode : e == null ? void 0 : e.focusNode;
540
+ return i ?? null;
541
541
  }
542
542
  }, {
543
543
  key: "handleCursorMovement",
544
- value: function(e, t) {
544
+ value: function(e, i) {
545
545
  var r = null;
546
- switch (t.key) {
546
+ switch (i.key) {
547
547
  case "ArrowUp":
548
- t.preventDefault(), r = e.previousSibling;
548
+ i.preventDefault(), r = e.previousSibling;
549
549
  break;
550
550
  case "ArrowDown":
551
- t.preventDefault(), r = e.nextSibling;
551
+ i.preventDefault(), r = e.nextSibling;
552
552
  break;
553
553
  case "ArrowLeft": {
554
- e.textContent === this.getEmptyParagraph().textContent && (t.preventDefault(), r = e.previousSibling);
554
+ e.textContent === this.getEmptyParagraph().textContent && (i.preventDefault(), r = e.previousSibling);
555
555
  break;
556
556
  }
557
557
  case "ArrowRight":
558
- e.textContent === this.getEmptyParagraph().textContent && (t.preventDefault(), r = e.nextSibling);
558
+ e.textContent === this.getEmptyParagraph().textContent && (i.preventDefault(), r = e.nextSibling);
559
559
  }
560
560
  if (r instanceof HTMLParagraphElement) {
561
- var i, a, n, l = document.getSelection(), d = r.childNodes.item(0), g = d instanceof Text ? d : r, b = (i = (a = r.textContent) === null || a === void 0 ? void 0 : a.trim()) !== null && i !== void 0 ? i : "", c = (n = l == null ? void 0 : l.focusOffset) !== null && n !== void 0 ? n : 0, u = c <= b.length ? c : b.length;
562
- t.key === "ArrowLeft" ? u = b.length : t.key === "ArrowRight" && (u = 0), this.setSelection(g, u, u, "nearest");
561
+ var t, a, n, l = document.getSelection(), d = r.childNodes.item(0), g = d instanceof Text ? d : r, b = (t = (a = r.textContent) === null || a === void 0 ? void 0 : a.trim()) !== null && t !== void 0 ? t : "", h = (n = l == null ? void 0 : l.focusOffset) !== null && n !== void 0 ? n : 0, u = h <= b.length ? h : b.length;
562
+ i.key === "ArrowLeft" ? u = b.length : i.key === "ArrowRight" && (u = 0), this.setSelection(g, u, u, "nearest");
563
563
  }
564
564
  }
565
565
  }, {
566
566
  key: "setErrorIndex",
567
567
  value: function(e) {
568
- var t = Array.from(this.textarea.childNodes).filter(function(r) {
568
+ var i = Array.from(this.textarea.childNodes).filter(function(r) {
569
569
  return r instanceof Element && r.getAttribute("aria-invalid") === "true";
570
570
  }).findIndex(function(r) {
571
571
  return r === e;
572
572
  });
573
- this.handlers.errorIndex(t);
573
+ this.handlers.errorIndex(i);
574
574
  }
575
575
  }, {
576
576
  key: "isDeleteKey",
@@ -598,8 +598,8 @@ var me = (
598
598
  value: function(e) {
599
599
  if (e.key === "a" && (e.metaKey || e.ctrlKey)) {
600
600
  e.preventDefault();
601
- var t = e.target;
602
- t instanceof HTMLElement && t === this.textarea && this.setSelection(t, 0, t.childNodes.length);
601
+ var i = e.target;
602
+ i instanceof HTMLElement && i === this.textarea && this.setSelection(i, 0, i.childNodes.length);
603
603
  }
604
604
  }
605
605
  }, {
@@ -613,14 +613,14 @@ var me = (
613
613
  value: function() {
614
614
  var e = document.getSelection();
615
615
  if (e != null && e.anchorNode && e !== null && e !== void 0 && e.focusNode) {
616
- var t = e.anchorNode.compareDocumentPosition(e.focusNode);
617
- return t === 0 && e.anchorOffset > e.focusOffset || // if nodes are the same
618
- t === Node.DOCUMENT_POSITION_PRECEDING ? "backward" : "forward";
616
+ var i = e.anchorNode.compareDocumentPosition(e.focusNode);
617
+ return i === 0 && e.anchorOffset > e.focusOffset || // if nodes are the same
618
+ i === Node.DOCUMENT_POSITION_PRECEDING ? "backward" : "forward";
619
619
  }
620
620
  return null;
621
621
  }
622
622
  }]), K;
623
- }(ce);
623
+ }(he);
624
624
  E(Y, "displayName", "Textarea");
625
625
  E(Y, "style", me);
626
626
  E(Y, "enhance", [pe()]);