@pareto-engineering/design-system 5.13.0 → 5.13.3-alpha.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 (271) hide show
  1. package/dist/{ExposePlainTextPlugin-DeW6mVaE.js → ExposePlainTextPlugin-21aMiDtd.js} +1 -1
  2. package/dist/{FormBuilder-DWHYIZCN.js → FormBuilder-D-D63IHE.js} +69 -69
  3. package/dist/{YAxis-ULEXP-uu.js → YAxis-BrfWZMKv.js} +7 -7
  4. package/dist/assets/FormBuilder.css +1 -1
  5. package/dist/assets/MetaCard.css +1 -1
  6. package/dist/assets/SnapScroller.css +1 -1
  7. package/dist/assets/SocialMediaShareButton.css +1 -1
  8. package/dist/exports.module-BY48WvdE.js +20 -0
  9. package/dist/{generateCategoricalChart-ar2rowoi.js → generateCategoricalChart-Ca9TKPy7.js} +97 -97
  10. package/dist/{index-CxkFVI6N.js → index-BOVlDh8S.js} +2 -2
  11. package/dist/{index-BUor0nOw.js → index-C3TenDWn.js} +27 -27
  12. package/dist/{index-C_b9PQD8.js → index-C4uazrih.js} +190 -217
  13. package/dist/index.js +14 -14
  14. package/dist/stories/StyleGuide/helpers.js +2 -2
  15. package/dist/stories/a/AppContext.stories.js +2 -2
  16. package/dist/stories/a/AreaChart.stories.js +2 -2
  17. package/dist/stories/a/BarChart.stories.js +2 -2
  18. package/dist/stories/a/BlurOverlay.stories.js +2 -2
  19. package/dist/stories/a/ContentTree.stories.js +2 -2
  20. package/dist/stories/a/Conversation.stories.js +2 -2
  21. package/dist/stories/a/DatePicker.stories.js +8 -8
  22. package/dist/stories/a/DotInfo.stories.js +2 -2
  23. package/dist/stories/a/Figure.stories.js +2 -2
  24. package/dist/stories/a/HamburgerButton.stories.js +2 -2
  25. package/dist/stories/a/IconList.stories.js +2 -2
  26. package/dist/stories/a/Label.stories.js +2 -2
  27. package/dist/stories/a/LoadingCircle.stories.js +2 -2
  28. package/dist/stories/a/MetaCard.stories.js +2 -2
  29. package/dist/stories/a/Notification.stories.js +2 -2
  30. package/dist/stories/a/NotificationStack.stories.js +2 -2
  31. package/dist/stories/a/People.stories.js +2 -2
  32. package/dist/stories/a/PieChart.stories.js +2 -2
  33. package/dist/stories/a/Popover.stories.js +2 -2
  34. package/dist/stories/a/ProgressBar.stories.js +2 -2
  35. package/dist/stories/a/Quote.stories.js +2 -2
  36. package/dist/stories/a/Removable.stories.js +2 -2
  37. package/dist/stories/a/SVG.stories.js +3 -3
  38. package/dist/stories/a/SnapScroller.stories.js +2 -2
  39. package/dist/stories/a/Spinner.stories.js +2 -2
  40. package/dist/stories/a/TextSteps.stories.js +2 -2
  41. package/dist/stories/a/Timestamp.stories.js +39 -28
  42. package/dist/stories/a/Tip.stories.js +2 -2
  43. package/dist/stories/a/ToggleSwitch.stories.js +3 -3
  44. package/dist/stories/a/Tooltip.stories.js +2 -2
  45. package/dist/stories/a/XMLEditor.stories.js +2 -2
  46. package/dist/stories/b/Button/Button.stories.js +2 -2
  47. package/dist/stories/b/Button/Group.stories.js +2 -2
  48. package/dist/stories/b/Card/Card.stories.js +5 -5
  49. package/dist/stories/b/Card/Group.stories.js +2 -2
  50. package/dist/stories/b/Logo.stories.js +2 -2
  51. package/dist/stories/b/Page.stories.js +2 -2
  52. package/dist/stories/b/SocialMediaButton.stories.js +2 -2
  53. package/dist/stories/b/ThemeSelector.stories.js +2 -2
  54. package/dist/stories/b/Title.stories.js +2 -2
  55. package/dist/stories/c/Modal.stories.js +2 -2
  56. package/dist/stories/c/Shortener.stories.js +2 -2
  57. package/dist/stories/c/SocialMediaShareButton.stories.js +2 -2
  58. package/dist/stories/f/Checkbox.stories.js +5 -5
  59. package/dist/stories/f/ChoicesInput.stories.js +17 -17
  60. package/dist/stories/f/Combobox.stories.js +2 -2
  61. package/dist/stories/f/Description.stories.js +2 -2
  62. package/dist/stories/f/DragAndDropFileUpload.stories.js +23 -23
  63. package/dist/stories/f/EditorInput.stories.js +2 -2
  64. package/dist/stories/f/FileUpload.stories.js +2 -2
  65. package/dist/stories/f/HighlightedTextInput.stories.js +2 -2
  66. package/dist/stories/f/Label.stories.js +2 -2
  67. package/dist/stories/f/LinkInput.stories.js +2 -2
  68. package/dist/stories/f/RadioInput.stories.js +2 -2
  69. package/dist/stories/f/RatingsInput.stories.js +5 -5
  70. package/dist/stories/f/SelectInput.stories.js +12 -12
  71. package/dist/stories/f/TextInput.stories.js +9 -9
  72. package/dist/stories/f/TextareaInput.stories.js +6 -6
  73. package/dist/stories/g/DragAndDrop.stories.js +6 -6
  74. package/dist/stories/g/ExpandableLexicalPreview.stories.js +6 -6
  75. package/dist/stories/g/FormBuilder.stories.js +2 -2
  76. package/dist/ui/a/AnimatedBlobs/AnimatedBlobs.js +2 -2
  77. package/dist/ui/a/AnimatedGradient/AnimatedGradient.js +4 -4
  78. package/dist/ui/a/AnimatedGradient/index.js +1 -1
  79. package/dist/ui/a/AppContext/ContextProvider.js +1 -1
  80. package/dist/ui/a/BlurOverlay/BlurOverlay.js +2 -2
  81. package/dist/ui/a/Charts/AreaChart/AreaChart.js +6 -6
  82. package/dist/ui/a/Charts/BarChart/BarChart.js +4 -4
  83. package/dist/ui/a/Charts/Common/CustomLegend/CustomLegend.js +2 -2
  84. package/dist/ui/a/Charts/Common/CustomTooltipContent/CustomTooltipContent.js +2 -2
  85. package/dist/ui/a/Charts/Common/YLabelsDropDown/YlabelsDropDown.js +2 -2
  86. package/dist/ui/a/Charts/PieChart/PieChart.js +119 -119
  87. package/dist/ui/a/ContentTree/ContentTree.js +3 -3
  88. package/dist/ui/a/ContentTree/common/Tree/Tree.js +4 -4
  89. package/dist/ui/a/ContentTree/common/Tree/index.js +1 -1
  90. package/dist/ui/a/ContentTree/common/index.js +1 -1
  91. package/dist/ui/a/ContentTree/index.js +1 -1
  92. package/dist/ui/a/Conversation/Conversation.js +4 -4
  93. package/dist/ui/a/Conversation/common/Message/Message.js +2 -2
  94. package/dist/ui/a/Conversation/index.js +3 -3
  95. package/dist/ui/a/DatePicker/DatePicker.js +2493 -7
  96. package/dist/ui/a/DatePicker/index.js +2 -2
  97. package/dist/ui/a/DotInfo/DotInfo.js +2 -2
  98. package/dist/ui/a/Figure/Figure.js +2 -2
  99. package/dist/ui/a/HamburgerButton/HamburgerButton.js +2 -2
  100. package/dist/ui/a/IconList/IconList.js +2 -2
  101. package/dist/ui/a/IconList/common/Item/Item.js +2 -2
  102. package/dist/ui/a/Label/Label.js +2 -2
  103. package/dist/ui/a/LoadingCircle/LoadingCircle.js +2 -2
  104. package/dist/ui/a/MetaCard/MetaCard.js +2 -2
  105. package/dist/ui/a/Notification/Notification.js +4 -4
  106. package/dist/ui/a/Notification/index.js +1 -1
  107. package/dist/ui/a/NotificationStack/NotificationStack.js +3 -3
  108. package/dist/ui/a/NotificationStack/index.js +1 -1
  109. package/dist/ui/a/People/People.js +2 -2
  110. package/dist/ui/a/People/common/Person/Person.js +2 -2
  111. package/dist/ui/a/Popover/Popover.js +2 -2
  112. package/dist/ui/a/ProgressBar/ProgressBar.js +2 -2
  113. package/dist/ui/a/Quote/Quote.js +2 -2
  114. package/dist/ui/a/Removable/Removable.js +2 -2
  115. package/dist/ui/a/SVG/SVG.js +2 -2
  116. package/dist/ui/a/SVG/common/UseSVG/UseSVG.js +1 -1
  117. package/dist/ui/a/SnapScroller/SnapScroller.js +2 -2
  118. package/dist/ui/a/Spinner/Spinner.js +2 -2
  119. package/dist/ui/a/TextSteps/TextSteps.js +2 -2
  120. package/dist/ui/a/ThroughPutIndicator/ThroughPutIndicator.js +2 -2
  121. package/dist/ui/a/Timestamp/Timestamp.js +154 -133
  122. package/dist/ui/a/Tip/Tip.js +2 -2
  123. package/dist/ui/a/ToggleSwitch/ToggleSwitch.js +1 -1
  124. package/dist/ui/a/Tooltip/Tooltip.js +2 -2
  125. package/dist/ui/a/XMLEditor/XMLEditor.js +16 -16
  126. package/dist/ui/a/XMLEditor/common/index.js +1 -1
  127. package/dist/ui/a/XMLEditor/common/theme.js +1 -1
  128. package/dist/ui/a/index.js +14 -14
  129. package/dist/ui/b/Button/Button.js +4 -4
  130. package/dist/ui/b/Button/common/Group/Group.js +2 -2
  131. package/dist/ui/b/Button/index.js +1 -1
  132. package/dist/ui/b/Card/Card.js +4 -4
  133. package/dist/ui/b/Card/common/Group/Group.js +4 -4
  134. package/dist/ui/b/Card/common/Group/index.js +1 -1
  135. package/dist/ui/b/Card/common/Section/Section.js +2 -2
  136. package/dist/ui/b/Card/common/index.js +1 -1
  137. package/dist/ui/b/Card/index.js +1 -1
  138. package/dist/ui/b/Logo/Logo.js +5 -5
  139. package/dist/ui/b/Logo/index.js +2 -2
  140. package/dist/ui/b/Page/Page.js +4 -4
  141. package/dist/ui/b/Page/common/PageHelmet/PageHelmet.js +3 -3
  142. package/dist/ui/b/Page/common/PageHelmet/index.js +1 -1
  143. package/dist/ui/b/Page/common/Section/Section.js +2 -2
  144. package/dist/ui/b/Page/common/index.js +1 -1
  145. package/dist/ui/b/Page/index.js +1 -1
  146. package/dist/ui/b/SocialMediaButton/SocialMediaButton.js +5 -5
  147. package/dist/ui/b/SocialMediaButton/index.js +1 -1
  148. package/dist/ui/b/ThemeSelector/ThemeSelector.js +5 -5
  149. package/dist/ui/b/ThemeSelector/index.js +1 -1
  150. package/dist/ui/b/Title/Title.js +2 -2
  151. package/dist/ui/b/index.js +3 -3
  152. package/dist/ui/c/Modal/Modal.js +3 -3
  153. package/dist/ui/c/Modal/common/ModalHeader/ModalHeader.js +4 -4
  154. package/dist/ui/c/Modal/common/ModalHeader/index.js +1 -1
  155. package/dist/ui/c/Modal/common/index.js +1 -1
  156. package/dist/ui/c/Modal/index.js +1 -1
  157. package/dist/ui/c/Shortener/Shortener.js +4 -4
  158. package/dist/ui/c/Shortener/index.js +1 -1
  159. package/dist/ui/c/SocialMediaShareButton/SocialMediaShareButton.js +2 -2
  160. package/dist/ui/c/index.js +1 -1
  161. package/dist/ui/f/FormInput/FormInput.js +3 -3
  162. package/dist/ui/f/FormInput/index.js +1 -1
  163. package/dist/ui/f/common/CharacterCount/CharacterCount.js +1 -1
  164. package/dist/ui/f/common/Debugger/Debugger.js +2 -2
  165. package/dist/ui/f/common/Debugger/index.js +2 -2
  166. package/dist/ui/f/common/Description/Description.js +2 -2
  167. package/dist/ui/f/common/Hint/Hint.js +2 -2
  168. package/dist/ui/f/common/Label/Label.js +2 -2
  169. package/dist/ui/f/common/index.js +1 -1
  170. package/dist/ui/f/common/utils/lookUpInputValueFromOptions.js +1 -1
  171. package/dist/ui/f/fields/Checkbox/Checkbox.js +3 -3
  172. package/dist/ui/f/fields/Checkbox/index.js +2 -2
  173. package/dist/ui/f/fields/ChoicesInput/ChoicesInput.js +3 -3
  174. package/dist/ui/f/fields/ChoicesInput/common/Choice/common/ImageChoice/ImageChoice.js +1 -1
  175. package/dist/ui/f/fields/ChoicesInput/common/Choice/common/TextChoice/TextChoice.js +1 -1
  176. package/dist/ui/f/fields/ChoicesInput/index.js +1 -1
  177. package/dist/ui/f/fields/DragAndDropFileUpload/DragAndDropFileUpload.js +2 -2
  178. package/dist/ui/f/fields/DragAndDropFileUpload/index.js +1 -1
  179. package/dist/ui/f/fields/EditorInput/EditorInput.js +4 -4
  180. package/dist/ui/f/fields/EditorInput/common/BlockFormatDropDown/BlockFormatDropDown.js +5 -5
  181. package/dist/ui/f/fields/EditorInput/common/BlockFormatDropDown/index.js +1 -1
  182. package/dist/ui/f/fields/EditorInput/common/ColorPicker/ColorPicker.js +4 -4
  183. package/dist/ui/f/fields/EditorInput/common/ColorPicker/index.js +1 -1
  184. package/dist/ui/f/fields/EditorInput/common/ExposePlainTextPlugin.js +2 -2
  185. package/dist/ui/f/fields/EditorInput/common/FontSizeDropDown/FontSizeDropDown.js +5 -5
  186. package/dist/ui/f/fields/EditorInput/common/FontSizeDropDown/index.js +1 -1
  187. package/dist/ui/f/fields/EditorInput/common/ToolbarPlugin/ToolbarPlugin.js +4 -4
  188. package/dist/ui/f/fields/EditorInput/common/ToolbarPlugin/index.js +1 -1
  189. package/dist/ui/f/fields/EditorInput/common/index.js +2 -2
  190. package/dist/ui/f/fields/EditorInput/index.js +1 -1
  191. package/dist/ui/f/fields/FileUpload/FileUpload.js +3 -3
  192. package/dist/ui/f/fields/FileUpload/common/Preview/Preview.js +4 -4
  193. package/dist/ui/f/fields/FileUpload/common/Preview/index.js +1 -1
  194. package/dist/ui/f/fields/FileUpload/common/PreviewNewRegistration/PreviewNewRegistration.js +4 -4
  195. package/dist/ui/f/fields/FileUpload/common/PreviewNewRegistration/index.js +1 -1
  196. package/dist/ui/f/fields/FileUpload/common/index.js +1 -1
  197. package/dist/ui/f/fields/FileUpload/index.js +2 -2
  198. package/dist/ui/f/fields/HighlightedTextInput/HighlightedTextInput.js +2 -2
  199. package/dist/ui/f/fields/HighlightedTextInput/index.js +1 -1
  200. package/dist/ui/f/fields/LatexPreviewInput/LatexPreviewInput.js +3 -3
  201. package/dist/ui/f/fields/LatexPreviewInput/convertLatexToHtml.js +3088 -3088
  202. package/dist/ui/f/fields/LatexPreviewInput/index.js +1 -1
  203. package/dist/ui/f/fields/LinkInput/LinkInput.js +4 -4
  204. package/dist/ui/f/fields/LinkInput/index.js +2 -2
  205. package/dist/ui/f/fields/PasswordInput/PasswordInput.js +2 -2
  206. package/dist/ui/f/fields/PasswordInput/index.js +2 -2
  207. package/dist/ui/f/fields/QueryCombobox/QueryCombobox.js +1 -1
  208. package/dist/ui/f/fields/QueryCombobox/common/Combobox/Combobox.js +3 -3
  209. package/dist/ui/f/fields/QueryCombobox/common/Combobox/index.js +1 -1
  210. package/dist/ui/f/fields/QueryCombobox/common/Menu/Menu.js +3 -3
  211. package/dist/ui/f/fields/QueryCombobox/common/MultipleCombobox/MultipleCombobox.js +3 -3
  212. package/dist/ui/f/fields/QueryCombobox/common/MultipleCombobox/index.js +1 -1
  213. package/dist/ui/f/fields/QueryCombobox/common/index.js +1 -1
  214. package/dist/ui/f/fields/QueryCombobox/index.js +1 -1
  215. package/dist/ui/f/fields/RadioInput/RadioInput.js +2 -2
  216. package/dist/ui/f/fields/RatingsInput/RatingsInput.js +3 -3
  217. package/dist/ui/f/fields/RatingsInput/common/Rating/Rating.js +2 -2
  218. package/dist/ui/f/fields/RatingsInput/index.js +1 -1
  219. package/dist/ui/f/fields/SearchDropdown/SearchDropdown.js +3 -3
  220. package/dist/ui/f/fields/SearchDropdown/index.js +1 -1
  221. package/dist/ui/f/fields/SelectInput/SelectInput.js +4 -4
  222. package/dist/ui/f/fields/SelectInput/common/Menu/Menu.js +4 -4
  223. package/dist/ui/f/fields/SelectInput/common/Menu/index.js +1 -1
  224. package/dist/ui/f/fields/SelectInput/common/Multiple/Multiple.js +4 -4
  225. package/dist/ui/f/fields/SelectInput/common/Multiple/index.js +1 -1
  226. package/dist/ui/f/fields/SelectInput/common/Single/Single.js +4 -4
  227. package/dist/ui/f/fields/SelectInput/common/Single/index.js +1 -1
  228. package/dist/ui/f/fields/SelectInput/common/index.js +1 -1
  229. package/dist/ui/f/fields/SelectInput/index.js +2 -2
  230. package/dist/ui/f/fields/SelectSingle/SelectSingle.js +3 -3
  231. package/dist/ui/f/fields/TextInput/TextInput.js +2 -2
  232. package/dist/ui/f/fields/TextInput/index.js +1 -1
  233. package/dist/ui/f/fields/TextareaInput/TextareaInput.js +3 -3
  234. package/dist/ui/f/fields/TextareaInput/index.js +2 -2
  235. package/dist/ui/f/fields/ToggleInput/ToggleInput.js +4 -4
  236. package/dist/ui/f/fields/ToggleInput/index.js +2 -2
  237. package/dist/ui/f/fields/index.js +12 -12
  238. package/dist/ui/f/index.js +17 -17
  239. package/dist/ui/g/DragAndDrop/DragAndDrop.js +1 -1
  240. package/dist/ui/g/DragAndDrop/common/DraggableItem/DraggableItem.js +1 -1
  241. package/dist/ui/g/DragAndDrop/common/MultiSectionDragAndDrop/MultiSectionDragAndDrop.js +1 -1
  242. package/dist/ui/g/DragAndDrop/common/SingleListDragAndDrop/SingleListDragAndDrop.js +1 -1
  243. package/dist/ui/g/ExpandableLexicalPreview/ExpandableLexicalPreview.js +4 -4
  244. package/dist/ui/g/ExpandableLexicalPreview/common/NewWindowPortal/NewWindowPortal.js +4 -4
  245. package/dist/ui/g/ExpandableLexicalPreview/common/NewWindowPortal/index.js +1 -1
  246. package/dist/ui/g/ExpandableLexicalPreview/common/index.js +1 -1
  247. package/dist/ui/g/ExpandableLexicalPreview/index.js +1 -1
  248. package/dist/ui/g/FormBuilder/FormBuilder.js +4 -4
  249. package/dist/ui/g/FormBuilder/common/Builder/Builder.js +4 -4
  250. package/dist/ui/g/FormBuilder/common/Builder/common/ActionsContainer/ActionsContainer.js +4 -4
  251. package/dist/ui/g/FormBuilder/common/Builder/common/ActionsContainer/index.js +1 -1
  252. package/dist/ui/g/FormBuilder/common/Builder/common/AutoQASection/AutoQASection.js +3 -3
  253. package/dist/ui/g/FormBuilder/common/Builder/common/AutoQASection/index.js +1 -1
  254. package/dist/ui/g/FormBuilder/common/Builder/common/InputBuilder/InputBuilder.js +3 -3
  255. package/dist/ui/g/FormBuilder/common/Builder/common/InputBuilder/index.js +1 -1
  256. package/dist/ui/g/FormBuilder/common/Builder/common/Section/Section.js +4 -4
  257. package/dist/ui/g/FormBuilder/common/Builder/common/Section/index.js +1 -1
  258. package/dist/ui/g/FormBuilder/common/Builder/common/index.js +1 -1
  259. package/dist/ui/g/FormBuilder/common/Builder/index.js +1 -1
  260. package/dist/ui/g/FormBuilder/common/Renderer/Renderer.js +3 -3
  261. package/dist/ui/g/FormBuilder/common/Renderer/common/Section/Section.js +4 -4
  262. package/dist/ui/g/FormBuilder/common/Renderer/common/Section/index.js +1 -1
  263. package/dist/ui/g/FormBuilder/common/Renderer/common/index.js +1 -1
  264. package/dist/ui/g/FormBuilder/common/Renderer/index.js +1 -1
  265. package/dist/ui/g/FormBuilder/common/index.js +1 -1
  266. package/dist/ui/g/FormBuilder/index.js +1 -1
  267. package/dist/ui/g/index.js +4 -4
  268. package/dist/ui/index.js +14 -14
  269. package/package.json +4 -4
  270. package/dist/DatePicker-DHuh_8q6.js +0 -1305
  271. package/dist/exports.module-DmUnHWIJ.js +0 -20
@@ -1,28 +1,44 @@
1
- import { jsxs as Y } from "react/jsx-runtime";
2
- import { useState as z, useMemo as P, useCallback as U } from "react";
3
- import { P as f } from "../../../index-CxkFVI6N.js";
4
- import { s as W } from "../../../exports.module-DmUnHWIJ.js";
5
- import { r as p, t as c, d as E, e as q, a as L, g as R, l as X, b, c as B, s as _, f as T } from "../../../index-C_b9PQD8.js";
6
- import '../../../assets/Timestamp.css';function N(r, t) {
7
- p(2, arguments);
8
- var e = c(r), o = c(t), s = e.getTime() - o.getTime();
9
- return s < 0 ? -1 : s > 0 ? 1 : s;
10
- }
11
- function y(r, t) {
1
+ import { jsxs as L } from "react/jsx-runtime";
2
+ import { useState as z, useMemo as F, useCallback as P } from "react";
3
+ import { P as c } from "../../../index-BOVlDh8S.js";
4
+ import { s as U } from "../../../exports.module-BY48WvdE.js";
5
+ import { r as v, t as f, g as T, l as E, b as H, a as W, s as y, f as N } from "../../../index-C4uazrih.js";
6
+ import '../../../assets/Timestamp.css';function b(r) {
7
+ v(1, arguments);
8
+ var t = f(r);
9
+ return t.setHours(0, 0, 0, 0), t;
10
+ }
11
+ var q = 864e5;
12
+ function X(r, t) {
13
+ v(2, arguments);
14
+ var e = b(r), n = b(t), o = e.getTime() - T(e), i = n.getTime() - T(n);
15
+ return Math.round((o - i) / q);
16
+ }
17
+ function I(r, t) {
18
+ v(2, arguments);
19
+ var e = f(r), n = f(t), o = e.getTime() - n.getTime();
20
+ return o < 0 ? -1 : o > 0 ? 1 : o;
21
+ }
22
+ function B(r, t) {
23
+ v(2, arguments);
24
+ var e = f(r), n = f(t), o = e.getFullYear() - n.getFullYear(), i = e.getMonth() - n.getMonth();
25
+ return o * 12 + i;
26
+ }
27
+ function x(r, t) {
12
28
  var e = r.getFullYear() - t.getFullYear() || r.getMonth() - t.getMonth() || r.getDate() - t.getDate() || r.getHours() - t.getHours() || r.getMinutes() - t.getMinutes() || r.getSeconds() - t.getSeconds() || r.getMilliseconds() - t.getMilliseconds();
13
29
  return e < 0 ? -1 : e > 0 ? 1 : e;
14
30
  }
15
- function x(r, t) {
16
- p(2, arguments);
17
- var e = c(r), o = c(t), s = y(e, o), u = Math.abs(E(e, o));
18
- e.setDate(e.getDate() - s * u);
19
- var a = +(y(e, o) === -s), d = s * (u - a);
31
+ function k(r, t) {
32
+ v(2, arguments);
33
+ var e = f(r), n = f(t), o = x(e, n), i = Math.abs(X(e, n));
34
+ e.setDate(e.getDate() - o * i);
35
+ var a = +(x(e, n) === -o), d = o * (i - a);
20
36
  return d === 0 ? 0 : d;
21
37
  }
22
- function F(r, t) {
23
- return p(2, arguments), c(r).getTime() - c(t).getTime();
38
+ function G(r, t) {
39
+ return v(2, arguments), f(r).getTime() - f(t).getTime();
24
40
  }
25
- var G = {
41
+ var J = {
26
42
  ceil: Math.ceil,
27
43
  round: Math.round,
28
44
  floor: Math.floor,
@@ -30,185 +46,190 @@ var G = {
30
46
  return t < 0 ? Math.ceil(t) : Math.floor(t);
31
47
  }
32
48
  // Math.trunc is not supported by IE
33
- }, J = "trunc";
34
- function K(r) {
35
- return G[J];
36
- }
49
+ }, K = "trunc";
37
50
  function Q(r) {
38
- p(1, arguments);
39
- var t = c(r);
40
- return t.setHours(23, 59, 59, 999), t;
51
+ return J[K];
41
52
  }
42
53
  function V(r) {
43
- p(1, arguments);
44
- var t = c(r);
45
- return Q(t).getTime() === q(t).getTime();
46
- }
47
- function Z(r, t) {
48
- p(2, arguments);
49
- var e = c(r), o = c(t), s = N(e, o), u = Math.abs(L(e, o)), a;
50
- if (u < 1)
54
+ v(1, arguments);
55
+ var t = f(r);
56
+ return t.setHours(23, 59, 59, 999), t;
57
+ }
58
+ function Z(r) {
59
+ v(1, arguments);
60
+ var t = f(r), e = t.getMonth();
61
+ return t.setFullYear(t.getFullYear(), e + 1, 0), t.setHours(23, 59, 59, 999), t;
62
+ }
63
+ function ee(r) {
64
+ v(1, arguments);
65
+ var t = f(r);
66
+ return V(t).getTime() === Z(t).getTime();
67
+ }
68
+ function te(r, t) {
69
+ v(2, arguments);
70
+ var e = f(r), n = f(t), o = I(e, n), i = Math.abs(B(e, n)), a;
71
+ if (i < 1)
51
72
  a = 0;
52
73
  else {
53
- e.getMonth() === 1 && e.getDate() > 27 && e.setDate(30), e.setMonth(e.getMonth() - s * u);
54
- var d = N(e, o) === -s;
55
- V(c(r)) && u === 1 && N(r, o) === 1 && (d = !1), a = s * (u - Number(d));
74
+ e.getMonth() === 1 && e.getDate() > 27 && e.setDate(30), e.setMonth(e.getMonth() - o * i);
75
+ var d = I(e, n) === -o;
76
+ ee(f(r)) && i === 1 && I(r, n) === 1 && (d = !1), a = o * (i - Number(d));
56
77
  }
57
78
  return a === 0 ? 0 : a;
58
79
  }
59
- function ee(r, t, e) {
60
- p(2, arguments);
61
- var o = F(r, t) / 1e3;
62
- return K()(o);
80
+ function re(r, t, e) {
81
+ v(2, arguments);
82
+ var n = G(r, t) / 1e3;
83
+ return Q()(n);
63
84
  }
64
- function $(r, t) {
85
+ function Y(r, t) {
65
86
  if (r == null)
66
87
  throw new TypeError("assign requires that input parameter not be null or undefined");
67
88
  for (var e in t)
68
89
  Object.prototype.hasOwnProperty.call(t, e) && (r[e] = t[e]);
69
90
  return r;
70
91
  }
71
- function re(r) {
72
- return $({}, r);
92
+ function ae(r) {
93
+ return Y({}, r);
73
94
  }
74
- var k = 1440, te = 2520, I = 43200, ae = 86400;
75
- function ne(r, t, e) {
76
- var o, s;
77
- p(2, arguments);
78
- var u = R(), a = (o = (s = e == null ? void 0 : e.locale) !== null && s !== void 0 ? s : u.locale) !== null && o !== void 0 ? o : X;
95
+ var R = 1440, ne = 2520, _ = 43200, oe = 86400;
96
+ function se(r, t, e) {
97
+ var n, o;
98
+ v(2, arguments);
99
+ var i = H(), a = (n = (o = e == null ? void 0 : e.locale) !== null && o !== void 0 ? o : i.locale) !== null && n !== void 0 ? n : E;
79
100
  if (!a.formatDistance)
80
101
  throw new RangeError("locale must contain formatDistance property");
81
- var d = N(r, t);
102
+ var d = I(r, t);
82
103
  if (isNaN(d))
83
104
  throw new RangeError("Invalid time value");
84
- var n = $(re(e), {
105
+ var s = Y(ae(e), {
85
106
  addSuffix: !!(e != null && e.addSuffix),
86
107
  comparison: d
87
- }), v, h;
88
- d > 0 ? (v = c(t), h = c(r)) : (v = c(r), h = c(t));
89
- var m = ee(h, v), O = (b(h) - b(v)) / 1e3, i = Math.round((m - O) / 60), g;
90
- if (i < 2)
91
- return e != null && e.includeSeconds ? m < 5 ? a.formatDistance("lessThanXSeconds", 5, n) : m < 10 ? a.formatDistance("lessThanXSeconds", 10, n) : m < 20 ? a.formatDistance("lessThanXSeconds", 20, n) : m < 40 ? a.formatDistance("halfAMinute", 0, n) : m < 60 ? a.formatDistance("lessThanXMinutes", 1, n) : a.formatDistance("xMinutes", 1, n) : i === 0 ? a.formatDistance("lessThanXMinutes", 1, n) : a.formatDistance("xMinutes", i, n);
92
- if (i < 45)
93
- return a.formatDistance("xMinutes", i, n);
94
- if (i < 90)
95
- return a.formatDistance("aboutXHours", 1, n);
96
- if (i < k) {
97
- var l = Math.round(i / 60);
98
- return a.formatDistance("aboutXHours", l, n);
108
+ }), g, p;
109
+ d > 0 ? (g = f(t), p = f(r)) : (g = f(r), p = f(t));
110
+ var m = re(p, g), w = (T(p) - T(g)) / 1e3, l = Math.round((m - w) / 60), D;
111
+ if (l < 2)
112
+ return e != null && e.includeSeconds ? m < 5 ? a.formatDistance("lessThanXSeconds", 5, s) : m < 10 ? a.formatDistance("lessThanXSeconds", 10, s) : m < 20 ? a.formatDistance("lessThanXSeconds", 20, s) : m < 40 ? a.formatDistance("halfAMinute", 0, s) : m < 60 ? a.formatDistance("lessThanXMinutes", 1, s) : a.formatDistance("xMinutes", 1, s) : l === 0 ? a.formatDistance("lessThanXMinutes", 1, s) : a.formatDistance("xMinutes", l, s);
113
+ if (l < 45)
114
+ return a.formatDistance("xMinutes", l, s);
115
+ if (l < 90)
116
+ return a.formatDistance("aboutXHours", 1, s);
117
+ if (l < R) {
118
+ var u = Math.round(l / 60);
119
+ return a.formatDistance("aboutXHours", u, s);
99
120
  } else {
100
- if (i < te)
101
- return a.formatDistance("xDays", 1, n);
102
- if (i < I) {
103
- var w = Math.round(i / k);
104
- return a.formatDistance("xDays", w, n);
105
- } else if (i < ae)
106
- return g = Math.round(i / I), a.formatDistance("aboutXMonths", g, n);
121
+ if (l < ne)
122
+ return a.formatDistance("xDays", 1, s);
123
+ if (l < _) {
124
+ var O = Math.round(l / R);
125
+ return a.formatDistance("xDays", O, s);
126
+ } else if (l < oe)
127
+ return D = Math.round(l / _), a.formatDistance("aboutXMonths", D, s);
107
128
  }
108
- if (g = Z(h, v), g < 12) {
109
- var S = Math.round(i / I);
110
- return a.formatDistance("xMonths", S, n);
129
+ if (D = te(p, g), D < 12) {
130
+ var S = Math.round(l / _);
131
+ return a.formatDistance("xMonths", S, s);
111
132
  } else {
112
- var M = g % 12, D = Math.floor(g / 12);
113
- return M < 3 ? a.formatDistance("aboutXYears", D, n) : M < 9 ? a.formatDistance("overXYears", D, n) : a.formatDistance("almostXYears", D + 1, n);
133
+ var M = D % 12, h = Math.floor(D / 12);
134
+ return M < 3 ? a.formatDistance("aboutXYears", h, s) : M < 9 ? a.formatDistance("overXYears", h, s) : a.formatDistance("almostXYears", h + 1, s);
114
135
  }
115
136
  }
116
- function oe(r, t, e) {
117
- var o, s, u, a, d, n, v, h, m, O;
118
- p(2, arguments);
119
- var i = c(r), g = c(t), l = R(), w = (o = (s = e == null ? void 0 : e.locale) !== null && s !== void 0 ? s : l.locale) !== null && o !== void 0 ? o : X, S = B((u = (a = (d = (n = e == null ? void 0 : e.weekStartsOn) !== null && n !== void 0 ? n : e == null || (v = e.locale) === null || v === void 0 || (h = v.options) === null || h === void 0 ? void 0 : h.weekStartsOn) !== null && d !== void 0 ? d : l.weekStartsOn) !== null && a !== void 0 ? a : (m = l.locale) === null || m === void 0 || (O = m.options) === null || O === void 0 ? void 0 : O.weekStartsOn) !== null && u !== void 0 ? u : 0);
120
- if (!w.localize)
137
+ function ie(r, t, e) {
138
+ var n, o, i, a, d, s, g, p, m, w;
139
+ v(2, arguments);
140
+ var l = f(r), D = f(t), u = H(), O = (n = (o = e == null ? void 0 : e.locale) !== null && o !== void 0 ? o : u.locale) !== null && n !== void 0 ? n : E, S = W((i = (a = (d = (s = e == null ? void 0 : e.weekStartsOn) !== null && s !== void 0 ? s : e == null || (g = e.locale) === null || g === void 0 || (p = g.options) === null || p === void 0 ? void 0 : p.weekStartsOn) !== null && d !== void 0 ? d : u.weekStartsOn) !== null && a !== void 0 ? a : (m = u.locale) === null || m === void 0 || (w = m.options) === null || w === void 0 ? void 0 : w.weekStartsOn) !== null && i !== void 0 ? i : 0);
141
+ if (!O.localize)
121
142
  throw new RangeError("locale must contain localize property");
122
- if (!w.formatLong)
143
+ if (!O.formatLong)
123
144
  throw new RangeError("locale must contain formatLong property");
124
- if (!w.formatRelative)
145
+ if (!O.formatRelative)
125
146
  throw new RangeError("locale must contain formatRelative property");
126
- var M = E(i, g);
147
+ var M = X(l, D);
127
148
  if (isNaN(M))
128
149
  throw new RangeError("Invalid time value");
129
- var D;
130
- M < -6 ? D = "other" : M < -1 ? D = "lastWeek" : M < 0 ? D = "yesterday" : M < 1 ? D = "today" : M < 2 ? D = "tomorrow" : M < 7 ? D = "nextWeek" : D = "other";
131
- var C = _(i, b(i)), A = _(g, b(g)), j = w.formatRelative(D, C, A, {
132
- locale: w,
150
+ var h;
151
+ M < -6 ? h = "other" : M < -1 ? h = "lastWeek" : M < 0 ? h = "yesterday" : M < 1 ? h = "today" : M < 2 ? h = "tomorrow" : M < 7 ? h = "nextWeek" : h = "other";
152
+ var C = y(l, T(l)), A = y(D, T(D)), j = O.formatRelative(h, C, A, {
153
+ locale: O,
133
154
  weekStartsOn: S
134
155
  });
135
- return T(i, j, {
136
- locale: w,
156
+ return N(l, j, {
157
+ locale: O,
137
158
  weekStartsOn: S
138
159
  });
139
160
  }
140
- const se = W.base, ie = "timestamp", H = ({
161
+ const le = U.base, ue = "timestamp", $ = ({
141
162
  id: r,
142
163
  className: t,
143
164
  style: e,
144
- time: o,
145
- prefix: s,
146
- enabledFormats: u,
165
+ time: n,
166
+ prefix: o,
167
+ enabledFormats: i,
147
168
  distanceMaxDays: a,
148
169
  relativeMaxDays: d,
149
- dateFormat: n,
150
- locale: v,
170
+ dateFormat: s,
171
+ locale: g,
151
172
  // ...otherProps
152
- as: h
173
+ as: p
153
174
  }) => {
154
- const [m, O] = z(u[0]), i = P(() => ({
155
- unix: (l) => Number(l),
156
- date: (l) => T(new Date(l), n),
157
- distance: (l) => !a || x(Date.now(), new Date(l)) < a ? ne(new Date(l), /* @__PURE__ */ new Date(), { addSuffix: !0, locale: v }) : T(new Date(l), n),
158
- relative: (l) => !d || x(Date.now(), new Date(l)) < d ? oe(new Date(l), /* @__PURE__ */ new Date(), { locale: v }) : T(new Date(l), n)
159
- }), []), g = U((l) => {
160
- l.persist();
161
- const S = (u.findIndex((M) => M === m) + 1) % u.length;
162
- O(u[S]);
175
+ const [m, w] = z(i[0]), l = F(() => ({
176
+ unix: (u) => Number(u),
177
+ date: (u) => N(new Date(u), s),
178
+ distance: (u) => !a || k(Date.now(), new Date(u)) < a ? se(new Date(u), /* @__PURE__ */ new Date(), { addSuffix: !0, locale: g }) : N(new Date(u), s),
179
+ relative: (u) => !d || k(Date.now(), new Date(u)) < d ? ie(new Date(u), /* @__PURE__ */ new Date(), { locale: g }) : N(new Date(u), s)
180
+ }), []), D = P((u) => {
181
+ u.persist();
182
+ const S = (i.findIndex((M) => M === m) + 1) % i.length;
183
+ w(i[S]);
163
184
  }, [m]);
164
- return Number(o) ? /* @__PURE__ */ Y(
165
- h,
185
+ return Number(n) ? /* @__PURE__ */ L(
186
+ p,
166
187
  {
167
188
  id: r,
168
189
  className: [
169
- se,
170
- ie,
190
+ le,
191
+ ue,
171
192
  t
172
- ].filter((l) => l).join(" "),
193
+ ].filter((u) => u).join(" "),
173
194
  style: e,
174
- onClick: u.length > 1 ? g : void 0,
195
+ onClick: i.length > 1 ? D : void 0,
175
196
  children: [
176
- s && s,
177
- s && " ",
178
- i[m](Number(o))
197
+ o && o,
198
+ o && " ",
199
+ l[m](Number(n))
179
200
  ]
180
201
  }
181
202
  ) : null;
182
203
  };
183
- H.propTypes = {
204
+ $.propTypes = {
184
205
  /**
185
206
  * The HTML id for this element
186
207
  */
187
- id: f.string,
208
+ id: c.string,
188
209
  /**
189
210
  * The HTML class names for this element
190
211
  */
191
- className: f.string,
212
+ className: c.string,
192
213
  /**
193
214
  * The React-written, css properties for this element.
194
215
  */
195
- style: f.objectOf(f.string),
216
+ style: c.objectOf(c.string),
196
217
  /**
197
218
  * The children JSX
198
219
  */
199
- prefix: f.node,
220
+ prefix: c.node,
200
221
  /**
201
222
  * Which html tag to use
202
223
  */
203
- as: f.oneOfType([
204
- f.string,
205
- f.object
224
+ as: c.oneOfType([
225
+ c.string,
226
+ c.object
206
227
  ]),
207
228
  /**
208
229
  * Formats
209
230
  */
210
- enabledFormats: f.arrayOf(
211
- f.oneOf([
231
+ enabledFormats: c.arrayOf(
232
+ c.oneOf([
212
233
  "unix",
213
234
  "date",
214
235
  "distance",
@@ -218,33 +239,33 @@ H.propTypes = {
218
239
  /**
219
240
  * How many days to display distance before reverting to unix display
220
241
  */
221
- distanceMaxDays: f.number,
242
+ distanceMaxDays: c.number,
222
243
  /**
223
244
  * How many days to display distance before reverting to unix display
224
245
  */
225
- relativeMaxDays: f.number,
246
+ relativeMaxDays: c.number,
226
247
  /**
227
248
  * Unix Format Read https://date-fns.org/v2.16.1/docs/format for options
228
249
  */
229
- dateFormat: f.string,
250
+ dateFormat: c.string,
230
251
  /**
231
252
  * The time to display
232
253
  */
233
- time: f.oneOfType([
234
- f.object,
235
- f.number
254
+ time: c.oneOfType([
255
+ c.object,
256
+ c.number
236
257
  ]).isRequired,
237
258
  /**
238
259
  * A Date-DNS locale object. Will default to english.
239
260
  */
240
- locale: f.instanceOf(Object)
261
+ locale: c.instanceOf(Object)
241
262
  };
242
- H.defaultProps = {
263
+ $.defaultProps = {
243
264
  // someProp:false
244
265
  as: "p",
245
266
  dateFormat: "yyyy-MM-dd'T'HH:mm:ss.SSSxxx",
246
267
  enabledFormats: ["unix", "date"]
247
268
  };
248
269
  export {
249
- H as default
270
+ $ as default
250
271
  };
@@ -1,7 +1,7 @@
1
1
  import { jsxs as m, jsx as d } from "react/jsx-runtime";
2
2
  import "react";
3
- import { P as s } from "../../../index-CxkFVI6N.js";
4
- import { s as g } from "../../../exports.module-DmUnHWIJ.js";
3
+ import { P as s } from "../../../index-BOVlDh8S.js";
4
+ import { s as g } from "../../../exports.module-BY48WvdE.js";
5
5
  import '../../../assets/Tip.css';const f = g.base, N = "tip", o = ({
6
6
  id: r,
7
7
  className: a,
@@ -1,6 +1,6 @@
1
1
  import { jsxs as r, jsx as t } from "react/jsx-runtime";
2
2
  import "react";
3
- import { s as p } from "../../../exports.module-DmUnHWIJ.js";
3
+ import { s as p } from "../../../exports.module-BY48WvdE.js";
4
4
  import '../../../assets/ToggleSwitch.css';const b = p.base, h = "toggle-switch", x = ({
5
5
  id: a,
6
6
  className: o,
@@ -1,7 +1,7 @@
1
1
  import { jsxs as g, jsx as r } from "react/jsx-runtime";
2
2
  import { useEffect as v } from "react";
3
- import { P as e } from "../../../index-CxkFVI6N.js";
4
- import { s as y } from "../../../exports.module-DmUnHWIJ.js";
3
+ import { P as e } from "../../../index-BOVlDh8S.js";
4
+ import { s as y } from "../../../exports.module-BY48WvdE.js";
5
5
  import '../../../assets/Tooltip.css';const b = y.base, N = "tooltip", n = ({
6
6
  id: l,
7
7
  className: m,
@@ -1,8 +1,8 @@
1
1
  import { jsx as Dt } from "react/jsx-runtime";
2
2
  import { useRef as Rt, useEffect as Nt } from "react";
3
- import { P as $ } from "../../../index-CxkFVI6N.js";
4
- import { S as Et, F as Ue, E as v, I as Fe, g as je, c as ke, i as F, a as O, T as Ye, A as Ze, b as ne, d as Wt, s as M, N as E, f as L, e as Je, C as It, h as Lt, D as Mt, m as R, j as ce, k as zt, P as Vt, l as Gt, n as Qt, o as Xt, p as X, q as _t, r as Ut, t as S, L as Ft, u as jt, v as Yt, w as Zt, x as Jt, y as Te, z as Ht, B as ve, G as Kt, H as es, J as ts, K as ss, M as ns, O as rs, Q as os, R as is, U as ls, V as as, W as hs, X as cs } from "../../../index-BUor0nOw.js";
5
- import { s as us } from "../../../exports.module-DmUnHWIJ.js";
3
+ import { P as $ } from "../../../index-BOVlDh8S.js";
4
+ import { E as v, I as Ue, g as Fe, c as ke, i as F, a as O, T as je, S as Et, b as ne, F as Ye, d as Wt, s as M, N as E, m as R, f as L, e as Ze, C as It, h as Lt, A as Je, D as Mt, j as ce, k as zt, P as Vt, l as Gt, n as Qt, o as Xt, p as X, q as _t, r as Ut, t as S, L as Ft, u as jt, v as Yt, w as Zt, x as Jt, y as Te, z as Ht, B as Kt, G as ve, H as es, J as ts, K as ss, M as ns, O as rs, Q as os, R as is, U as ls, V as as, W as hs, X as cs } from "../../../index-C3TenDWn.js";
5
+ import { s as us } from "../../../exports.module-BY48WvdE.js";
6
6
  import '../../../assets/XMLEditor.css';const fs = (t) => {
7
7
  let { state: e } = t, s = e.doc.lineAt(e.selection.main.from), n = ye(t.state, s.from);
8
8
  return n.line ? ds(t) : n.block ? ms(t) : !1;
@@ -119,7 +119,7 @@ function xs(t, e, s = e.selection.ranges) {
119
119
  }
120
120
  return null;
121
121
  }
122
- const ue = /* @__PURE__ */ Ze.define(), ks = /* @__PURE__ */ Ze.define(), Ss = /* @__PURE__ */ Ue.define(), Ke = /* @__PURE__ */ Ue.define({
122
+ const ue = /* @__PURE__ */ Je.define(), ks = /* @__PURE__ */ Je.define(), Ss = /* @__PURE__ */ Ye.define(), Ke = /* @__PURE__ */ Ye.define({
123
123
  combine(t) {
124
124
  return Wt(t, {
125
125
  minDepth: 100,
@@ -262,7 +262,7 @@ function As(t, e, s) {
262
262
  if (!t.changes)
263
263
  return y.selection(n);
264
264
  let r = t.changes.map(e), o = e.mapDesc(t.changes, !0), i = t.mapped ? t.mapped.composeDesc(o) : o;
265
- return new y(r, Je.mapEffects(t.effects, e), i, t.startSelection.map(o), n);
265
+ return new y(r, Ze.mapEffects(t.effects, e), i, t.startSelection.map(o), n);
266
266
  }
267
267
  const qs = /^(input\.type|delete)($|\.)/;
268
268
  class A {
@@ -275,7 +275,7 @@ class A {
275
275
  addChanges(e, s, n, r, o) {
276
276
  let i = this.done, l = i[i.length - 1];
277
277
  return l && l.changes && !l.changes.empty && e.changes && (!n || qs.test(n)) && (!l.selectionsAfter.length && s - this.prevTime < r.newGroupDelay && r.joinToEvent(o, Ts(l.changes, e.changes)) || // For compose (but not compose.start) events, always join with previous event
278
- n == "input.type.compose") ? i = j(i, i.length - 1, r.minDepth, new y(e.changes.compose(l.changes), st(Je.mapEffects(e.effects, l.changes), l.effects), l.mapped, l.startSelection, C)) : i = j(i, i.length, r.minDepth, e), new A(i, C, s, n);
278
+ n == "input.type.compose") ? i = j(i, i.length - 1, r.minDepth, new y(e.changes.compose(l.changes), st(Ze.mapEffects(e.effects, l.changes), l.effects), l.mapped, l.startSelection, C)) : i = j(i, i.length, r.minDepth, e), new A(i, C, s, n);
279
279
  }
280
280
  addSelection(e, s, n, r) {
281
281
  let o = this.done.length ? this.done[this.done.length - 1].selectionsAfter : C;
@@ -528,7 +528,7 @@ const yt = (t, e, s) => z(t, (n) => {
528
528
  if (t.readOnly)
529
529
  return !1;
530
530
  let s = t.changeByRange((n) => ({
531
- changes: { from: n.from, to: n.to, insert: Ye.of(["", ""]) },
531
+ changes: { from: n.from, to: n.to, insert: je.of(["", ""]) },
532
532
  range: O.cursor(n.from)
533
533
  }));
534
534
  return e(t.update(s, { scrollIntoView: !0, userEvent: "input" })), !0;
@@ -620,13 +620,13 @@ function $t(t) {
620
620
  let n = e.changeByRange((r) => {
621
621
  let { from: o, to: i } = r, l = e.doc.lineAt(o), a = !t && o == i && On(e, o);
622
622
  t && (o = i = (i <= l.to ? l : e.doc.lineAt(i)).to);
623
- let h = new Fe(e, { simulateBreak: o, simulateDoubleBreak: !!a }), c = je(h, o);
623
+ let h = new Ue(e, { simulateBreak: o, simulateDoubleBreak: !!a }), c = Fe(h, o);
624
624
  for (c == null && (c = ke(/^\s*/.exec(e.doc.lineAt(o).text)[0], e.tabSize)); i < l.to && /\s/.test(l.text[i - l.from]); )
625
625
  i++;
626
626
  a ? { from: o, to: i } = a : o > l.from && o < l.from + 100 && !/\S/.test(l.text.slice(0, o)) && (o = l.from);
627
627
  let u = ["", F(e, c)];
628
628
  return a && u.push(F(e, h.lineIndent(l.from, -1))), {
629
- changes: { from: o, to: i, insert: Ye.of(u) },
629
+ changes: { from: o, to: i, insert: je.of(u) },
630
630
  range: O.cursor(o + 1 + u[1].length)
631
631
  };
632
632
  });
@@ -651,11 +651,11 @@ function be(t, e) {
651
651
  const xn = ({ state: t, dispatch: e }) => {
652
652
  if (t.readOnly)
653
653
  return !1;
654
- let s = /* @__PURE__ */ Object.create(null), n = new Fe(t, { overrideIndentation: (o) => {
654
+ let s = /* @__PURE__ */ Object.create(null), n = new Ue(t, { overrideIndentation: (o) => {
655
655
  let i = s[o];
656
656
  return i ?? -1;
657
657
  } }), r = be(t, (o, i, l) => {
658
- let a = je(n, o.from);
658
+ let a = Fe(n, o.from);
659
659
  if (a == null)
660
660
  return;
661
661
  /\S/.test(o.text) || (a = 0);
@@ -2243,7 +2243,7 @@ function tr(t, e) {
2243
2243
  return null;
2244
2244
  };
2245
2245
  }
2246
- const xe = /* @__PURE__ */ Ft.define({
2246
+ const xe = /* @__PURE__ */ jt.define({
2247
2247
  name: "xml",
2248
2248
  parser: /* @__PURE__ */ Jn.configure({
2249
2249
  props: [
@@ -2276,7 +2276,7 @@ function sr(t = {}) {
2276
2276
  let e = [xe.data.of({
2277
2277
  autocomplete: tr(t.elements || [], t.attributes || [])
2278
2278
  })];
2279
- return t.autoCloseTags !== !1 && e.push(nr), new jt(xe, e);
2279
+ return t.autoCloseTags !== !1 && e.push(nr), new Ft(xe, e);
2280
2280
  }
2281
2281
  function _e(t, e, s = t.length) {
2282
2282
  if (!e)
@@ -2331,7 +2331,7 @@ const nr = /* @__PURE__ */ v.inputHandler.of((t, e, s, n, r) => {
2331
2331
  const c = Te.create({
2332
2332
  doc: i,
2333
2333
  extensions: [
2334
- Ht.highest(
2334
+ Kt.highest(
2335
2335
  ve.of([
2336
2336
  {
2337
2337
  key: "Enter",
@@ -2344,7 +2344,6 @@ const nr = /* @__PURE__ */ v.inputHandler.of((t, e, s, n, r) => {
2344
2344
  Cn,
2345
2345
  ...ws
2346
2346
  ]),
2347
- Kt(),
2348
2347
  es(),
2349
2348
  ts(),
2350
2349
  ss(),
@@ -2355,9 +2354,10 @@ const nr = /* @__PURE__ */ v.inputHandler.of((t, e, s, n, r) => {
2355
2354
  ls(),
2356
2355
  as(),
2357
2356
  hs(),
2357
+ cs(),
2358
2358
  sr(),
2359
2359
  ys(),
2360
- cs,
2360
+ Ht,
2361
2361
  Te.readOnly.of(n),
2362
2362
  v.updateListener.of((f) => {
2363
2363
  l(f);
@@ -1,4 +1,4 @@
1
- import { X as o } from "../../../../index-BUor0nOw.js";
1
+ import { z as o } from "../../../../index-C3TenDWn.js";
2
2
  export {
3
3
  o as theme
4
4
  };
@@ -1,4 +1,4 @@
1
- import { X as f } from "../../../../index-BUor0nOw.js";
1
+ import { z as f } from "../../../../index-C3TenDWn.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,17 +1,17 @@
1
1
  import { default as a } from "./AppContext/Context.js";
2
2
  import { default as p } from "./AppContext/ContextProvider.js";
3
3
  import { default as l } from "./AppContext/useApp.js";
4
- import { default as u } from "./AppContext/useTheme.js";
4
+ import { default as d } from "./AppContext/useTheme.js";
5
5
  import { default as x } from "./BlurOverlay/BlurOverlay.js";
6
- import { A as n, C, a as c, N as T, b as g } from "../../FormBuilder-DWHYIZCN.js";
6
+ import { A as n, c, d as C, N as T, k as g } from "../../FormBuilder-D-D63IHE.js";
7
7
  import "./Conversation/Context.js";
8
8
  import "react";
9
9
  import { default as A } from "./DotInfo/DotInfo.js";
10
10
  import { default as S } from "./Figure/Figure.js";
11
- import { default as v } from "./HamburgerButton/HamburgerButton.js";
11
+ import { default as B } from "./HamburgerButton/HamburgerButton.js";
12
12
  import { default as L } from "./IconList/IconList.js";
13
13
  import { default as I } from "./Label/Label.js";
14
- import { default as k } from "./LoadingCircle/LoadingCircle.js";
14
+ import { default as D } from "./LoadingCircle/LoadingCircle.js";
15
15
  import { default as M } from "./People/People.js";
16
16
  import { default as y } from "./Popover/Popover.js";
17
17
  import { default as F } from "./ProgressBar/ProgressBar.js";
@@ -27,11 +27,11 @@ import { default as ee } from "./TextSteps/TextSteps.js";
27
27
  import { default as oe } from "./Removable/Removable.js";
28
28
  import { default as ae } from "./ToggleSwitch/ToggleSwitch.js";
29
29
  import { default as pe } from "./XMLEditor/XMLEditor.js";
30
- import { D as le } from "../../DatePicker-DHuh_8q6.js";
31
- import { default as ue } from "./Tooltip/Tooltip.js";
30
+ import { default as le } from "./DatePicker/DatePicker.js";
31
+ import { default as de } from "./Tooltip/Tooltip.js";
32
32
  import { default as xe } from "./Charts/AreaChart/AreaChart.js";
33
33
  import { default as ne } from "./Charts/BarChart/BarChart.js";
34
- import { default as ce } from "./Charts/PieChart/PieChart.js";
34
+ import { default as Ce } from "./Charts/PieChart/PieChart.js";
35
35
  import { default as ge } from "./ThroughPutIndicator/ThroughPutIndicator.js";
36
36
  export {
37
37
  Y as AnimatedBlobs,
@@ -41,20 +41,20 @@ export {
41
41
  xe as AreaChart,
42
42
  ne as BarChart,
43
43
  x as BlurOverlay,
44
- C as ContentTree,
45
- c as Conversation,
44
+ c as ContentTree,
45
+ C as Conversation,
46
46
  le as DatePicker,
47
47
  A as DotInfo,
48
48
  S as Figure,
49
- v as HamburgerButton,
49
+ B as HamburgerButton,
50
50
  L as IconList,
51
51
  I as Label,
52
- k as LoadingCircle,
52
+ D as LoadingCircle,
53
53
  U as MetaCard,
54
54
  T as Notification,
55
55
  g as NotificationStack,
56
56
  M as People,
57
- ce as PieChart,
57
+ Ce as PieChart,
58
58
  y as Popover,
59
59
  F as ProgressBar,
60
60
  O as Quote,
@@ -67,8 +67,8 @@ export {
67
67
  J as Timestamp,
68
68
  _ as Tip,
69
69
  ae as ToggleSwitch,
70
- ue as Tooltip,
70
+ de as Tooltip,
71
71
  pe as XMLEditor,
72
72
  l as useApp,
73
- u as useTheme
73
+ d as useTheme
74
74
  };