urfu-ui-kit-react 2.1.3 → 2.1.4

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 (406) hide show
  1. package/README.md +4 -25
  2. package/dist/components/Accordion/Accordion.js +18 -0
  3. package/dist/components/BreadCrumbs/BreadCrumbs.d.ts +1 -1
  4. package/dist/components/BreadCrumbs/BreadCrumbs.d.ts.map +1 -1
  5. package/dist/components/BreadCrumbs/BreadCrumbs.js +32 -0
  6. package/dist/components/Button/Button.d.ts +1 -0
  7. package/dist/components/Button/Button.d.ts.map +1 -1
  8. package/dist/components/Button/Button.js +88 -0
  9. package/dist/components/Button/Button.types.d.ts +9 -3
  10. package/dist/components/Button/Button.types.d.ts.map +1 -1
  11. package/dist/components/Button/ButtonRefreshIcon.js +35 -0
  12. package/dist/components/Calendar/Calendar.d.ts +1 -5
  13. package/dist/components/Calendar/Calendar.d.ts.map +1 -1
  14. package/dist/components/Calendar/Calendar.js +355 -0
  15. package/dist/components/Calendar/CalendarSelect.js +149 -0
  16. package/dist/components/Calendar/MaskedDateInput.d.ts.map +1 -1
  17. package/dist/components/Calendar/MaskedDateInput.js +191 -0
  18. package/dist/components/Calendar/dateMask.d.ts +0 -1
  19. package/dist/components/Calendar/dateMask.d.ts.map +1 -1
  20. package/dist/components/Card/Card.d.ts +1 -1
  21. package/dist/components/Card/Card.d.ts.map +1 -1
  22. package/dist/components/Card/Card.js +75 -0
  23. package/dist/components/Checkbox/Checkbox.js +30 -0
  24. package/dist/components/ColumnSettings/ColumnSettings.js +216 -0
  25. package/dist/components/ConfirmModal/ConfirmModal.d.ts +1 -0
  26. package/dist/components/ConfirmModal/ConfirmModal.d.ts.map +1 -1
  27. package/dist/components/ConfirmModal/ConfirmModal.js +40 -0
  28. package/dist/components/ErrorScreen/ErrorScreen.d.ts +1 -1
  29. package/dist/components/ErrorScreen/ErrorScreen.d.ts.map +1 -1
  30. package/dist/components/ErrorScreen/ErrorScreen.js +221 -0
  31. package/dist/components/ErrorScreen/ErrorScreenIllustration.js +57 -0
  32. package/dist/components/FormField/FormField.d.ts +1 -1
  33. package/dist/components/FormField/FormField.d.ts.map +1 -1
  34. package/dist/components/FormField/FormField.js +40 -0
  35. package/dist/components/Icon/Icon.d.ts +1 -1
  36. package/dist/components/Icon/Icon.d.ts.map +1 -1
  37. package/dist/components/Icon/Icon.js +32 -0
  38. package/dist/components/Icon/Icon.types.d.ts +3 -1
  39. package/dist/components/Icon/Icon.types.d.ts.map +1 -1
  40. package/dist/components/InputExpandTextarea/InputExpandTextarea.d.ts +1 -1
  41. package/dist/components/InputExpandTextarea/InputExpandTextarea.d.ts.map +1 -1
  42. package/dist/components/InputExpandTextarea/InputExpandTextarea.js +144 -0
  43. package/dist/components/InputFile/InputFile.d.ts +1 -1
  44. package/dist/components/InputFile/InputFile.d.ts.map +1 -1
  45. package/dist/components/InputFile/InputFile.js +203 -0
  46. package/dist/components/InputFile/InputFile.types.d.ts +0 -6
  47. package/dist/components/InputFile/InputFile.types.d.ts.map +1 -1
  48. package/dist/components/InputNumber/InputNumber.d.ts +1 -1
  49. package/dist/components/InputNumber/InputNumber.d.ts.map +1 -1
  50. package/dist/components/InputNumber/InputNumber.js +220 -0
  51. package/dist/components/InputText/InputAffix.d.ts +1 -1
  52. package/dist/components/InputText/InputAffix.js +109 -0
  53. package/dist/components/InputText/InputText.d.ts +2 -1
  54. package/dist/components/InputText/InputText.d.ts.map +1 -1
  55. package/dist/components/InputText/InputText.js +137 -0
  56. package/dist/components/InputTime/InputTime.d.ts +1 -1
  57. package/dist/components/InputTime/InputTime.d.ts.map +1 -1
  58. package/dist/components/InputTime/InputTime.js +335 -0
  59. package/dist/components/InputTime/InputTimeDropdown.js +31 -0
  60. package/dist/components/InputTime/inputTimeKeyDown.js +63 -0
  61. package/dist/components/InputTime/useInputTimeWheel.js +45 -0
  62. package/dist/components/Menu/Menu.d.ts +1 -1
  63. package/dist/components/Menu/Menu.d.ts.map +1 -1
  64. package/dist/components/Menu/Menu.js +113 -0
  65. package/dist/components/Message/Message.js +29 -0
  66. package/dist/components/Modal/Modal.d.ts +1 -0
  67. package/dist/components/Modal/Modal.d.ts.map +1 -1
  68. package/dist/components/Modal/Modal.js +102 -0
  69. package/dist/components/Modal/editorFocus.js +15 -0
  70. package/dist/components/Modal/useModalFocus.js +112 -0
  71. package/dist/components/Modal/useModalTitleClearance.js +48 -0
  72. package/dist/components/Multiselect/Multiselect.d.ts +1 -0
  73. package/dist/components/Multiselect/Multiselect.d.ts.map +1 -1
  74. package/dist/components/Multiselect/Multiselect.js +408 -0
  75. package/dist/components/Notification/Notification.d.ts +1 -1
  76. package/dist/components/Notification/Notification.d.ts.map +1 -1
  77. package/dist/components/Notification/Notification.js +156 -0
  78. package/dist/components/OfflineBanner/OfflineBanner.d.ts +1 -1
  79. package/dist/components/OfflineBanner/OfflineBanner.d.ts.map +1 -1
  80. package/dist/components/OfflineBanner/OfflineBanner.js +40 -0
  81. package/dist/components/Pagination/Pagination.d.ts +1 -1
  82. package/dist/components/Pagination/Pagination.d.ts.map +1 -1
  83. package/dist/components/Pagination/Pagination.js +126 -0
  84. package/dist/components/Preloader/Preloader.d.ts.map +1 -1
  85. package/dist/components/Preloader/Preloader.js +60 -0
  86. package/dist/components/Radio/Radio.js +34 -0
  87. package/dist/components/Search/Search.d.ts +1 -1
  88. package/dist/components/Search/Search.d.ts.map +1 -1
  89. package/dist/components/Search/Search.js +47 -0
  90. package/dist/components/SearchSelect/SearchSelect.js +295 -0
  91. package/dist/components/SearchSelect/SearchSelectOption.js +41 -0
  92. package/dist/components/SearchSelect/useFlippedPlacement.js +25 -0
  93. package/dist/components/Select/MobileOptionSheet.d.ts +1 -1
  94. package/dist/components/Select/MobileOptionSheet.d.ts.map +1 -1
  95. package/dist/components/Select/MobileOptionSheet.js +116 -0
  96. package/dist/components/Select/Select.js +319 -0
  97. package/dist/components/Skeleton/Skeleton.js +38 -0
  98. package/dist/components/Skeleton/Skeleton.types.d.ts +4 -2
  99. package/dist/components/Skeleton/Skeleton.types.d.ts.map +1 -1
  100. package/dist/components/Status/Status.js +43 -0
  101. package/dist/components/StickyActionBar/StickyActionBar.d.ts +1 -1
  102. package/dist/components/StickyActionBar/StickyActionBar.d.ts.map +1 -1
  103. package/dist/components/StickyActionBar/StickyActionBar.js +73 -0
  104. package/dist/components/Switch/Switch.d.ts +1 -1
  105. package/dist/components/Switch/Switch.d.ts.map +1 -1
  106. package/dist/components/Switch/Switch.js +29 -0
  107. package/dist/components/Table/Filter/DefaultInput.d.ts.map +1 -1
  108. package/dist/components/Table/Filter/DefaultInput.js +22 -0
  109. package/dist/components/Table/Filter/Filter.js +233 -0
  110. package/dist/components/Table/Filter/Filter.types.d.ts +17 -13
  111. package/dist/components/Table/Filter/Filter.types.d.ts.map +1 -1
  112. package/dist/components/Table/Filter/FilterBooleanBox.d.ts +1 -0
  113. package/dist/components/Table/Filter/FilterBooleanBox.d.ts.map +1 -1
  114. package/dist/components/Table/Filter/FilterBooleanBox.js +40 -0
  115. package/dist/components/Table/Filter/FilterBoxShell.js +89 -0
  116. package/dist/components/Table/Filter/FilterConditionSelect.js +14 -0
  117. package/dist/components/Table/Filter/FilterDateBox.d.ts +1 -0
  118. package/dist/components/Table/Filter/FilterDateBox.d.ts.map +1 -1
  119. package/dist/components/Table/Filter/FilterDateBox.js +173 -0
  120. package/dist/components/Table/Filter/FilterPanel.js +25 -0
  121. package/dist/components/Table/Filter/FilterSortIndicator.js +24 -0
  122. package/dist/components/Table/Filter/FilterStringBox.js +115 -0
  123. package/dist/components/Table/Filter/Functions.d.ts +0 -6
  124. package/dist/components/Table/Filter/Functions.d.ts.map +1 -1
  125. package/dist/components/Table/Filter/Functions.js +76 -0
  126. package/dist/components/Table/Filter/SelectFilter.js +114 -0
  127. package/dist/components/Table/Filter/SelectOptions.js +21 -0
  128. package/dist/components/Table/Filter/TableFilterOptions.d.ts +1 -0
  129. package/dist/components/Table/Filter/TableFilterOptions.d.ts.map +1 -1
  130. package/dist/components/Table/Filter/TableFilterOptions.js +268 -0
  131. package/dist/components/Table/Filter/TableFilterSortButton.js +17 -0
  132. package/dist/components/Table/Filter/filterBoxHelpers.js +2 -0
  133. package/dist/components/Table/Filter/filterExpression.js +48 -0
  134. package/dist/components/Table/Filter/filterLoading.js +2 -0
  135. package/dist/components/Table/Filter/useFilterDates.js +33 -0
  136. package/dist/components/Table/Filter/useFilterOptionsPreload.js +22 -0
  137. package/dist/components/Table/Filter/useLocalFilterSearch.js +32 -0
  138. package/dist/components/Table/Filter/usePagedFilterOptions.js +71 -0
  139. package/dist/components/Table/Filter/useServerFilterOptions.js +35 -0
  140. package/dist/components/Table/Filter/useVirtualOptionWindow.js +80 -0
  141. package/dist/components/Table/Functions.js +54 -0
  142. package/dist/components/Table/Skeleton/TableSkeleton.js +28 -0
  143. package/dist/components/Table/Skeleton/createSkeletonColumns.js +9 -0
  144. package/dist/components/Table/Table.d.ts +1 -0
  145. package/dist/components/Table/Table.d.ts.map +1 -1
  146. package/dist/components/Table/Table.dataPipeline.d.ts.map +1 -1
  147. package/dist/components/Table/Table.dataPipeline.js +75 -0
  148. package/dist/components/Table/Table.helpers.d.ts +2 -2
  149. package/dist/components/Table/Table.helpers.d.ts.map +1 -1
  150. package/dist/components/Table/Table.helpers.js +72 -0
  151. package/dist/components/Table/Table.js +419 -0
  152. package/dist/components/Table/Table.types.d.ts +6 -2
  153. package/dist/components/Table/Table.types.d.ts.map +1 -1
  154. package/dist/components/Table/TableHead.d.ts.map +1 -1
  155. package/dist/components/Table/TableHead.js +189 -0
  156. package/dist/components/Table/TableMobileCard.js +215 -0
  157. package/dist/components/Table/TableMobileFilters.js +56 -0
  158. package/dist/components/Table/TableMobileView.js +316 -0
  159. package/dist/components/Table/TableRow.js +136 -0
  160. package/dist/components/Table/useColumnResize.d.ts +3 -2
  161. package/dist/components/Table/useColumnResize.d.ts.map +1 -1
  162. package/dist/components/Table/useColumnResize.js +44 -0
  163. package/dist/components/Table/useDelayedSkeleton.d.ts +0 -2
  164. package/dist/components/Table/useDelayedSkeleton.d.ts.map +1 -1
  165. package/dist/components/Table/useDelayedSkeleton.js +32 -0
  166. package/dist/components/Table/useMobileFilterColumns.d.ts +1 -1
  167. package/dist/components/Table/useMobileFilterColumns.d.ts.map +1 -1
  168. package/dist/components/Table/useMobileFilterColumns.js +52 -0
  169. package/dist/components/Table/useStableColumnWidths.js +22 -0
  170. package/dist/components/Table/useTableColumnPinning.d.ts +2 -57
  171. package/dist/components/Table/useTableColumnPinning.d.ts.map +1 -1
  172. package/dist/components/Table/useTableColumnPinning.js +52 -0
  173. package/dist/components/Table/useTableFilters.js +39 -0
  174. package/dist/components/Table/useTableSortState.js +38 -0
  175. package/dist/components/Table/useTableVirtualization.js +145 -0
  176. package/dist/components/Tabs/Tabs.d.ts +1 -0
  177. package/dist/components/Tabs/Tabs.d.ts.map +1 -1
  178. package/dist/components/Tabs/Tabs.js +135 -0
  179. package/dist/components/Tabs/useTabsOverflow.js +49 -0
  180. package/dist/components/Textarea/Textarea.js +102 -0
  181. package/dist/components/Tooltip/Tooltip.d.ts +1 -0
  182. package/dist/components/Tooltip/Tooltip.d.ts.map +1 -1
  183. package/dist/components/Tooltip/Tooltip.js +218 -0
  184. package/dist/components/TreeView/TreeView.d.ts +1 -0
  185. package/dist/components/TreeView/TreeView.d.ts.map +1 -1
  186. package/dist/components/TreeView/TreeView.js +323 -0
  187. package/dist/components/TreeView/TreeView.types.d.ts +0 -4
  188. package/dist/components/TreeView/TreeView.types.d.ts.map +1 -1
  189. package/dist/dev/index.js +2 -2
  190. package/dist/dev/types/vanilla/src/dev/shown.d.ts +0 -2
  191. package/dist/dev/types/vanilla/src/dev/store.d.ts +0 -4
  192. package/dist/fonts/icons/urfu-ui-icon-font.eot +0 -0
  193. package/dist/fonts/icons/urfu-ui-icon-font.svg +3 -0
  194. package/dist/fonts/icons/urfu-ui-icon-font.ttf +0 -0
  195. package/dist/fonts/icons/urfu-ui-icon-font.woff +0 -0
  196. package/dist/fonts/icons/urfu-ui-icon-font.woff2 +0 -0
  197. package/dist/hooks/useActiveOptionScroll.js +20 -0
  198. package/dist/hooks/useAnchoredPosition.js +37 -0
  199. package/dist/hooks/useAutoId.d.ts +0 -1
  200. package/dist/hooks/useAutoId.d.ts.map +1 -1
  201. package/dist/hooks/useAutoId.js +7 -0
  202. package/dist/hooks/useAutoPortal.js +11 -0
  203. package/dist/hooks/useDebounce.js +11 -0
  204. package/dist/hooks/useDismiss.d.ts +1 -1
  205. package/dist/hooks/useDismiss.d.ts.map +1 -1
  206. package/dist/hooks/useDismiss.js +20 -0
  207. package/dist/hooks/useInputOverflow.d.ts +9 -0
  208. package/dist/hooks/useInputOverflow.d.ts.map +1 -0
  209. package/dist/hooks/useInputOverflow.js +16 -0
  210. package/dist/hooks/useMediaQuery.js +21 -0
  211. package/dist/hooks/useMobilePicker.js +7 -0
  212. package/dist/hooks/useMountTransition.d.ts +1 -1
  213. package/dist/hooks/useMountTransition.d.ts.map +1 -1
  214. package/dist/hooks/useMountTransition.js +21 -0
  215. package/dist/hooks/useOnlineStatus.js +11 -0
  216. package/dist/hooks/useOptionKeyboardNavigation.js +63 -0
  217. package/dist/hooks/usePagination.js +31 -0
  218. package/dist/hooks/useSelectEngine.d.ts +3 -3
  219. package/dist/hooks/useSelectEngine.d.ts.map +1 -1
  220. package/dist/hooks/useSelectEngine.js +96 -0
  221. package/dist/hooks/useTableSort.js +13 -0
  222. package/dist/index.d.ts +16 -0
  223. package/dist/index.d.ts.map +1 -1
  224. package/dist/responsive/uiKitResponsive.js +44 -0
  225. package/dist/shared/fieldAccessibility.js +8 -0
  226. package/dist/shared/iconNames.d.ts +5 -0
  227. package/dist/shared/iconNames.d.ts.map +1 -0
  228. package/dist/shared/inputOverflow.d.ts +10 -0
  229. package/dist/shared/inputOverflow.d.ts.map +1 -0
  230. package/dist/shared/kitCopy.js +9 -0
  231. package/dist/shared/optionStateColors.js +5 -0
  232. package/dist/shared/optionValue.d.ts +1 -1
  233. package/dist/shared/optionValue.d.ts.map +1 -1
  234. package/dist/shared/optionValue.js +11 -0
  235. package/dist/shared/popupTransition.js +11 -0
  236. package/dist/shared/size.d.ts +0 -1
  237. package/dist/shared/size.d.ts.map +1 -1
  238. package/dist/shared/size.js +4 -0
  239. package/dist/shared/sortRows.js +24 -0
  240. package/dist/shared/uiKitDefaults.js +25 -0
  241. package/dist/style-no-fonts.css +1 -1
  242. package/dist/style.css +1 -1
  243. package/dist/style.layer.css +8 -8
  244. package/dist/style.shell.css +15 -11
  245. package/dist/urfu-ui-kit-react.js +57 -17543
  246. package/dist/vanilla/core/BoundedOptionPageCache.js +41 -0
  247. package/dist/vanilla/core/dateMask.js +28 -0
  248. package/dist/vanilla/core/describeError.js +243 -0
  249. package/dist/vanilla/core/devLauncherOffset.js +20 -0
  250. package/dist/vanilla/core/distributeTabs.js +25 -0
  251. package/dist/vanilla/core/hasPreviousPage.js +6 -0
  252. package/dist/vanilla/core/inputMode.js +17 -0
  253. package/dist/vanilla/core/inputOverflow.js +34 -0
  254. package/dist/vanilla/core/kitRegistry.js +160 -0
  255. package/dist/vanilla/core/reconcileColumnOrder.js +5 -0
  256. package/dist/vanilla/core/sheetTitle.js +11 -0
  257. package/dist/vanilla/core/validation.js +21 -0
  258. package/dist/vendor/@floating-ui/core/dist/floating-ui.core.js +323 -0
  259. package/dist/vendor/@floating-ui/dom/dist/floating-ui.dom.js +383 -0
  260. package/dist/vendor/@floating-ui/react/dist/floating-ui.react.js +255 -0
  261. package/dist/vendor/@floating-ui/react-dom/dist/floating-ui.react-dom.js +183 -0
  262. package/dist/vendor/@floating-ui/utils/dist/floating-ui.utils.dom.js +110 -0
  263. package/dist/vendor/@floating-ui/utils/dist/floating-ui.utils.js +106 -0
  264. package/dist/vendor/clsx/dist/clsx.js +14 -0
  265. package/dist/vendor/date-fns/_lib/addLeadingZeros.js +5 -0
  266. package/dist/vendor/date-fns/_lib/defaultOptions.js +5 -0
  267. package/dist/vendor/date-fns/_lib/format/formatters.js +547 -0
  268. package/dist/vendor/date-fns/_lib/format/lightFormatters.js +56 -0
  269. package/dist/vendor/date-fns/_lib/format/longFormatters.js +47 -0
  270. package/dist/vendor/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +16 -0
  271. package/dist/vendor/date-fns/_lib/protectedTokens.js +16 -0
  272. package/dist/vendor/date-fns/addDays.js +7 -0
  273. package/dist/vendor/date-fns/addHours.js +6 -0
  274. package/dist/vendor/date-fns/addMilliseconds.js +7 -0
  275. package/dist/vendor/date-fns/addMinutes.js +6 -0
  276. package/dist/vendor/date-fns/addMonths.js +17 -0
  277. package/dist/vendor/date-fns/addQuarters.js +6 -0
  278. package/dist/vendor/date-fns/addSeconds.js +5 -0
  279. package/dist/vendor/date-fns/addWeeks.js +6 -0
  280. package/dist/vendor/date-fns/addYears.js +5 -0
  281. package/dist/vendor/date-fns/constants.js +2 -0
  282. package/dist/vendor/date-fns/constructFrom.js +4 -0
  283. package/dist/vendor/date-fns/differenceInCalendarDays.js +8 -0
  284. package/dist/vendor/date-fns/differenceInCalendarMonths.js +6 -0
  285. package/dist/vendor/date-fns/differenceInCalendarQuarters.js +7 -0
  286. package/dist/vendor/date-fns/differenceInCalendarYears.js +6 -0
  287. package/dist/vendor/date-fns/differenceInDays.js +13 -0
  288. package/dist/vendor/date-fns/endOfDay.js +6 -0
  289. package/dist/vendor/date-fns/endOfMonth.js +6 -0
  290. package/dist/vendor/date-fns/endOfWeek.js +8 -0
  291. package/dist/vendor/date-fns/endOfYear.js +6 -0
  292. package/dist/vendor/date-fns/format.js +53 -0
  293. package/dist/vendor/date-fns/getDate.js +5 -0
  294. package/dist/vendor/date-fns/getDay.js +5 -0
  295. package/dist/vendor/date-fns/getDayOfYear.js +8 -0
  296. package/dist/vendor/date-fns/getDaysInMonth.js +7 -0
  297. package/dist/vendor/date-fns/getDefaultOptions.js +5 -0
  298. package/dist/vendor/date-fns/getHours.js +5 -0
  299. package/dist/vendor/date-fns/getISODay.js +6 -0
  300. package/dist/vendor/date-fns/getISOWeek.js +9 -0
  301. package/dist/vendor/date-fns/getISOWeekYear.js +12 -0
  302. package/dist/vendor/date-fns/getMinutes.js +5 -0
  303. package/dist/vendor/date-fns/getMonth.js +5 -0
  304. package/dist/vendor/date-fns/getQuarter.js +6 -0
  305. package/dist/vendor/date-fns/getSeconds.js +5 -0
  306. package/dist/vendor/date-fns/getTime.js +5 -0
  307. package/dist/vendor/date-fns/getWeek.js +9 -0
  308. package/dist/vendor/date-fns/getWeekYear.js +14 -0
  309. package/dist/vendor/date-fns/getYear.js +5 -0
  310. package/dist/vendor/date-fns/isAfter.js +6 -0
  311. package/dist/vendor/date-fns/isBefore.js +6 -0
  312. package/dist/vendor/date-fns/isDate.js +4 -0
  313. package/dist/vendor/date-fns/isEqual.js +6 -0
  314. package/dist/vendor/date-fns/isSameDay.js +6 -0
  315. package/dist/vendor/date-fns/isSameMonth.js +6 -0
  316. package/dist/vendor/date-fns/isSameQuarter.js +6 -0
  317. package/dist/vendor/date-fns/isSameWeek.js +6 -0
  318. package/dist/vendor/date-fns/isSameYear.js +6 -0
  319. package/dist/vendor/date-fns/isValid.js +9 -0
  320. package/dist/vendor/date-fns/isWithinInterval.js +9 -0
  321. package/dist/vendor/date-fns/locale/_lib/buildFormatLongFn.js +7 -0
  322. package/dist/vendor/date-fns/locale/_lib/buildLocalizeFn.js +16 -0
  323. package/dist/vendor/date-fns/locale/_lib/buildMatchFn.js +29 -0
  324. package/dist/vendor/date-fns/locale/_lib/buildMatchPatternFn.js +13 -0
  325. package/dist/vendor/date-fns/locale/en-US/_lib/formatDistance.js +68 -0
  326. package/dist/vendor/date-fns/locale/en-US/_lib/formatLong.js +31 -0
  327. package/dist/vendor/date-fns/locale/en-US/_lib/formatRelative.js +9 -0
  328. package/dist/vendor/date-fns/locale/en-US/_lib/localize.js +153 -0
  329. package/dist/vendor/date-fns/locale/en-US/_lib/match.js +108 -0
  330. package/dist/vendor/date-fns/locale/en-US.js +18 -0
  331. package/dist/vendor/date-fns/locale/ru/_lib/formatDistance.js +182 -0
  332. package/dist/vendor/date-fns/locale/ru/_lib/formatLong.js +28 -0
  333. package/dist/vendor/date-fns/locale/ru/_lib/formatRelative.js +62 -0
  334. package/dist/vendor/date-fns/locale/ru/_lib/localize.js +177 -0
  335. package/dist/vendor/date-fns/locale/ru/_lib/match.js +109 -0
  336. package/dist/vendor/date-fns/locale/ru.js +18 -0
  337. package/dist/vendor/date-fns/max.js +9 -0
  338. package/dist/vendor/date-fns/min.js +9 -0
  339. package/dist/vendor/date-fns/parse/_lib/Parser.js +20 -0
  340. package/dist/vendor/date-fns/parse/_lib/Setter.js +36 -0
  341. package/dist/vendor/date-fns/parse/_lib/constants.js +46 -0
  342. package/dist/vendor/date-fns/parse/_lib/parsers/AMPMMidnightParser.js +46 -0
  343. package/dist/vendor/date-fns/parse/_lib/parsers/AMPMParser.js +46 -0
  344. package/dist/vendor/date-fns/parse/_lib/parsers/DateParser.js +59 -0
  345. package/dist/vendor/date-fns/parse/_lib/parsers/DayOfYearParser.js +49 -0
  346. package/dist/vendor/date-fns/parse/_lib/parsers/DayParser.js +45 -0
  347. package/dist/vendor/date-fns/parse/_lib/parsers/DayPeriodParser.js +46 -0
  348. package/dist/vendor/date-fns/parse/_lib/parsers/EraParser.js +29 -0
  349. package/dist/vendor/date-fns/parse/_lib/parsers/ExtendedYearParser.js +19 -0
  350. package/dist/vendor/date-fns/parse/_lib/parsers/FractionOfSecondParser.js +20 -0
  351. package/dist/vendor/date-fns/parse/_lib/parsers/Hour0To11Parser.js +30 -0
  352. package/dist/vendor/date-fns/parse/_lib/parsers/Hour0to23Parser.js +30 -0
  353. package/dist/vendor/date-fns/parse/_lib/parsers/Hour1To24Parser.js +31 -0
  354. package/dist/vendor/date-fns/parse/_lib/parsers/Hour1to12Parser.js +31 -0
  355. package/dist/vendor/date-fns/parse/_lib/parsers/ISODayParser.js +101 -0
  356. package/dist/vendor/date-fns/parse/_lib/parsers/ISOTimezoneParser.js +45 -0
  357. package/dist/vendor/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.js +45 -0
  358. package/dist/vendor/date-fns/parse/_lib/parsers/ISOWeekParser.js +47 -0
  359. package/dist/vendor/date-fns/parse/_lib/parsers/ISOWeekYearParser.js +38 -0
  360. package/dist/vendor/date-fns/parse/_lib/parsers/LocalDayParser.js +76 -0
  361. package/dist/vendor/date-fns/parse/_lib/parsers/LocalWeekParser.js +46 -0
  362. package/dist/vendor/date-fns/parse/_lib/parsers/LocalWeekYearParser.js +67 -0
  363. package/dist/vendor/date-fns/parse/_lib/parsers/MinuteParser.js +30 -0
  364. package/dist/vendor/date-fns/parse/_lib/parsers/MonthParser.js +73 -0
  365. package/dist/vendor/date-fns/parse/_lib/parsers/QuarterParser.js +71 -0
  366. package/dist/vendor/date-fns/parse/_lib/parsers/SecondParser.js +30 -0
  367. package/dist/vendor/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.js +76 -0
  368. package/dist/vendor/date-fns/parse/_lib/parsers/StandAloneMonthParser.js +73 -0
  369. package/dist/vendor/date-fns/parse/_lib/parsers/StandAloneQuarterParser.js +71 -0
  370. package/dist/vendor/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.js +20 -0
  371. package/dist/vendor/date-fns/parse/_lib/parsers/TimestampSecondsParser.js +20 -0
  372. package/dist/vendor/date-fns/parse/_lib/parsers/YearParser.js +47 -0
  373. package/dist/vendor/date-fns/parse/_lib/parsers.js +65 -0
  374. package/dist/vendor/date-fns/parse/_lib/utils.js +90 -0
  375. package/dist/vendor/date-fns/parse.js +85 -0
  376. package/dist/vendor/date-fns/parseISO.js +119 -0
  377. package/dist/vendor/date-fns/set.js +8 -0
  378. package/dist/vendor/date-fns/setDay.js +9 -0
  379. package/dist/vendor/date-fns/setHours.js +6 -0
  380. package/dist/vendor/date-fns/setISODay.js +8 -0
  381. package/dist/vendor/date-fns/setISOWeek.js +7 -0
  382. package/dist/vendor/date-fns/setMinutes.js +6 -0
  383. package/dist/vendor/date-fns/setMonth.js +10 -0
  384. package/dist/vendor/date-fns/setQuarter.js +7 -0
  385. package/dist/vendor/date-fns/setSeconds.js +6 -0
  386. package/dist/vendor/date-fns/setWeek.js +7 -0
  387. package/dist/vendor/date-fns/setYear.js +7 -0
  388. package/dist/vendor/date-fns/startOfDay.js +6 -0
  389. package/dist/vendor/date-fns/startOfISOWeek.js +5 -0
  390. package/dist/vendor/date-fns/startOfISOWeekYear.js +8 -0
  391. package/dist/vendor/date-fns/startOfMonth.js +6 -0
  392. package/dist/vendor/date-fns/startOfQuarter.js +6 -0
  393. package/dist/vendor/date-fns/startOfWeek.js +8 -0
  394. package/dist/vendor/date-fns/startOfWeekYear.js +10 -0
  395. package/dist/vendor/date-fns/startOfYear.js +7 -0
  396. package/dist/vendor/date-fns/subDays.js +5 -0
  397. package/dist/vendor/date-fns/subMonths.js +5 -0
  398. package/dist/vendor/date-fns/subQuarters.js +5 -0
  399. package/dist/vendor/date-fns/subWeeks.js +5 -0
  400. package/dist/vendor/date-fns/subYears.js +5 -0
  401. package/dist/vendor/date-fns/toDate.js +5 -0
  402. package/dist/vendor/date-fns/transpose.js +15 -0
  403. package/dist/vendor/react-datepicker/dist/es/index.js +2696 -0
  404. package/package.json +37 -35
  405. package/dist/hooks/useOutsideAlerter.d.ts +0 -3
  406. package/dist/hooks/useOutsideAlerter.d.ts.map +0 -1
@@ -0,0 +1,255 @@
1
+ import * as s from "react";
2
+ import { useLayoutEffect as k, useEffect as q } from "react";
3
+ import { jsxs as Q, jsx as O } from "react/jsx-runtime";
4
+ import { isElement$u as F, getComputedStyle$u as Z } from "../../utils/dist/floating-ui.utils.dom.js";
5
+ import { getOverflowAncestors$u as xe } from "../../utils/dist/floating-ui.utils.dom.js";
6
+ import "react-dom";
7
+ import { useFloating$u as z } from "../../react-dom/dist/floating-ui.react-dom.js";
8
+ import { arrow$u as we, flip$u as Ee, offset$u as Se } from "../../react-dom/dist/floating-ui.react-dom.js";
9
+ const $ = {
10
+ ...s
11
+ }, G = $.useInsertionEffect, J = G || ((t) => t());
12
+ function K(t) {
13
+ const n = s.useRef(() => {
14
+ if (process.env.NODE_ENV !== "production")
15
+ throw new Error("Cannot call an event handler while rendering.");
16
+ });
17
+ return J(() => {
18
+ n.current = t;
19
+ }), s.useCallback(function() {
20
+ for (var c = arguments.length, e = new Array(c), o = 0; o < c; o++)
21
+ e[o] = arguments[o];
22
+ return n.current == null ? void 0 : n.current(...e);
23
+ }, []);
24
+ }
25
+ var M = typeof document < "u" ? k : q;
26
+ let y = !1, _ = 0;
27
+ const W = () => (
28
+ // Ensure the id is unique with multiple independent versions of Floating UI
29
+ // on <React 18
30
+ "floating-ui-" + Math.random().toString(36).slice(2, 6) + _++
31
+ );
32
+ function ee() {
33
+ const [t, n] = s.useState(() => y ? W() : void 0);
34
+ return M(() => {
35
+ t == null && n(W());
36
+ }, []), s.useEffect(() => {
37
+ y = !0;
38
+ }, []), t;
39
+ }
40
+ const te = $.useId, B = te || ee;
41
+ let P;
42
+ process.env.NODE_ENV !== "production" && (P = /* @__PURE__ */ new Set());
43
+ function ne() {
44
+ for (var t, n = arguments.length, c = new Array(n), e = 0; e < n; e++)
45
+ c[e] = arguments[e];
46
+ const o = "Floating UI: " + c.join(" ");
47
+ if (!((t = P) != null && t.has(o))) {
48
+ var l;
49
+ (l = P) == null || l.add(o), console.warn(o);
50
+ }
51
+ }
52
+ function oe() {
53
+ for (var t, n = arguments.length, c = new Array(n), e = 0; e < n; e++)
54
+ c[e] = arguments[e];
55
+ const o = "Floating UI: " + c.join(" ");
56
+ if (!((t = P) != null && t.has(o))) {
57
+ var l;
58
+ (l = P) == null || l.add(o), console.error(o);
59
+ }
60
+ }
61
+ const pe = /* @__PURE__ */ s.forwardRef(function(n, c) {
62
+ const {
63
+ context: {
64
+ placement: e,
65
+ elements: {
66
+ floating: o
67
+ },
68
+ middlewareData: {
69
+ arrow: l,
70
+ shift: u
71
+ }
72
+ },
73
+ width: i = 14,
74
+ height: a = 7,
75
+ tipRadius: I = 0,
76
+ strokeWidth: d = 0,
77
+ staticOffset: g,
78
+ stroke: h,
79
+ d: r,
80
+ style: {
81
+ transform: p,
82
+ ...R
83
+ } = {},
84
+ ...v
85
+ } = n;
86
+ process.env.NODE_ENV !== "production" && (c || ne("The `ref` prop is required for `FloatingArrow`."));
87
+ const x = B(), [E, f] = s.useState(!1);
88
+ if (M(() => {
89
+ if (!o) return;
90
+ Z(o).direction === "rtl" && f(!0);
91
+ }, [o]), !o)
92
+ return null;
93
+ const [m, b] = e.split("-"), D = m === "top" || m === "bottom";
94
+ let S = g;
95
+ (D && u != null && u.x || !D && u != null && u.y) && (S = null);
96
+ const C = d * 2, N = C / 2, A = i / 2 * (I / -8 + 1), T = a / 2 * I / 4, w = !!r, U = S && b === "end" ? "bottom" : "top";
97
+ let L = S && b === "end" ? "right" : "left";
98
+ S && E && (L = b === "end" ? "left" : "right");
99
+ const H = (l == null ? void 0 : l.x) != null ? S || l.x : "", X = (l == null ? void 0 : l.y) != null ? S || l.y : "", V = r || "M0,0" + (" H" + i) + (" L" + (i - A) + "," + (a - T)) + (" Q" + i / 2 + "," + a + " " + A + "," + (a - T)) + " Z", Y = {
100
+ top: w ? "rotate(180deg)" : "",
101
+ left: w ? "rotate(90deg)" : "rotate(-90deg)",
102
+ bottom: w ? "" : "rotate(180deg)",
103
+ right: w ? "rotate(-90deg)" : "rotate(90deg)"
104
+ }[m];
105
+ return /* @__PURE__ */ Q("svg", {
106
+ ...v,
107
+ "aria-hidden": !0,
108
+ ref: c,
109
+ width: w ? i : i + C,
110
+ height: i,
111
+ viewBox: "0 0 " + i + " " + (a > i ? a : i),
112
+ style: {
113
+ position: "absolute",
114
+ pointerEvents: "none",
115
+ [L]: H,
116
+ [U]: X,
117
+ [m]: D || w ? "100%" : "calc(100% - " + C / 2 + "px)",
118
+ transform: [Y, p].filter((j) => !!j).join(" "),
119
+ ...R
120
+ },
121
+ children: [C > 0 && /* @__PURE__ */ O("path", {
122
+ clipPath: "url(#" + x + ")",
123
+ fill: "none",
124
+ stroke: h,
125
+ strokeWidth: C + (r ? 0 : 1),
126
+ d: V
127
+ }), /* @__PURE__ */ O("path", {
128
+ stroke: C && !r ? v.fill : "none",
129
+ d: V
130
+ }), /* @__PURE__ */ O("clipPath", {
131
+ id: x,
132
+ children: /* @__PURE__ */ O("rect", {
133
+ x: -N,
134
+ y: N * (w ? -1 : 1),
135
+ width: i + C,
136
+ height: i
137
+ })
138
+ })]
139
+ });
140
+ });
141
+ function re() {
142
+ const t = /* @__PURE__ */ new Map();
143
+ return {
144
+ emit(n, c) {
145
+ var e;
146
+ (e = t.get(n)) == null || e.forEach((o) => o(c));
147
+ },
148
+ on(n, c) {
149
+ t.set(n, [...t.get(n) || [], c]);
150
+ },
151
+ off(n, c) {
152
+ var e;
153
+ t.set(n, ((e = t.get(n)) == null ? void 0 : e.filter((o) => o !== c)) || []);
154
+ }
155
+ };
156
+ }
157
+ const se = /* @__PURE__ */ s.createContext(null), ce = /* @__PURE__ */ s.createContext(null), le = () => {
158
+ var t;
159
+ return ((t = s.useContext(se)) == null ? void 0 : t.id) || null;
160
+ }, ie = () => s.useContext(ce);
161
+ function fe(t) {
162
+ const {
163
+ open: n = !1,
164
+ onOpenChange: c,
165
+ elements: e
166
+ } = t, o = B(), l = s.useRef({}), [u] = s.useState(() => re()), i = le() != null;
167
+ if (process.env.NODE_ENV !== "production") {
168
+ const r = e.reference;
169
+ r && !F(r) && oe("Cannot pass a virtual element to the `elements.reference` option,", "as it must be a real DOM element. Use `refs.setPositionReference()`", "instead.");
170
+ }
171
+ const [a, I] = s.useState(e.reference), d = K((r, p, R) => {
172
+ l.current.openEvent = r ? p : void 0, u.emit("openchange", {
173
+ open: r,
174
+ event: p,
175
+ reason: R,
176
+ nested: i
177
+ }), c == null || c(r, p, R);
178
+ }), g = s.useMemo(() => ({
179
+ setPositionReference: I
180
+ }), []), h = s.useMemo(() => ({
181
+ reference: a || e.reference || null,
182
+ floating: e.floating || null,
183
+ domReference: e.reference
184
+ }), [a, e.reference, e.floating]);
185
+ return s.useMemo(() => ({
186
+ dataRef: l,
187
+ open: n,
188
+ onOpenChange: d,
189
+ elements: h,
190
+ events: u,
191
+ floatingId: o,
192
+ refs: g
193
+ }), [n, d, h, u, o, g]);
194
+ }
195
+ function he(t) {
196
+ t === void 0 && (t = {});
197
+ const {
198
+ nodeId: n
199
+ } = t, c = fe({
200
+ ...t,
201
+ elements: {
202
+ reference: null,
203
+ floating: null,
204
+ ...t.elements
205
+ }
206
+ }), e = t.rootContext || c, o = e.elements, [l, u] = s.useState(null), [i, a] = s.useState(null), d = (o == null ? void 0 : o.domReference) || l, g = s.useRef(null), h = ie();
207
+ M(() => {
208
+ d && (g.current = d);
209
+ }, [d]);
210
+ const r = z({
211
+ ...t,
212
+ elements: {
213
+ ...o,
214
+ ...i && {
215
+ reference: i
216
+ }
217
+ }
218
+ }), p = s.useCallback((f) => {
219
+ const m = F(f) ? {
220
+ getBoundingClientRect: () => f.getBoundingClientRect(),
221
+ contextElement: f
222
+ } : f;
223
+ a(m), r.refs.setReference(m);
224
+ }, [r.refs]), R = s.useCallback((f) => {
225
+ (F(f) || f === null) && (g.current = f, u(f)), (F(r.refs.reference.current) || r.refs.reference.current === null || // Don't allow setting virtual elements using the old technique back to
226
+ // `null` to support `positionReference` + an unstable `reference`
227
+ // callback ref.
228
+ f !== null && !F(f)) && r.refs.setReference(f);
229
+ }, [r.refs]), v = s.useMemo(() => ({
230
+ ...r.refs,
231
+ setReference: R,
232
+ setPositionReference: p,
233
+ domReference: g
234
+ }), [r.refs, R, p]), x = s.useMemo(() => ({
235
+ ...r.elements,
236
+ domReference: d
237
+ }), [r.elements, d]), E = s.useMemo(() => ({
238
+ ...r,
239
+ ...e,
240
+ refs: v,
241
+ elements: x,
242
+ nodeId: n
243
+ }), [r, v, x, n, e]);
244
+ return M(() => {
245
+ e.dataRef.current.floatingContext = E;
246
+ const f = h == null ? void 0 : h.nodesRef.current.find((m) => m.id === n);
247
+ f && (f.context = E);
248
+ }), s.useMemo(() => ({
249
+ ...r,
250
+ context: E,
251
+ refs: v,
252
+ elements: x
253
+ }), [r, v, x, E]);
254
+ }
255
+ export { pe as FloatingArrow$u, we as arrow$u, Ee as flip$u, xe as getOverflowAncestors$u, Se as offset$u, he as useFloating$u, le as useFloatingParentNodeId$u, fe as useFloatingRootContext$u, ie as useFloatingTree$u, B as useId$u };
@@ -0,0 +1,183 @@
1
+ import { flip$u as I, offset$u as J, computePosition$u as K, arrow$u as v } from "../../dom/dist/floating-ui.dom.js";
2
+ import { autoUpdate$u as oe, platform$u as se } from "../../dom/dist/floating-ui.dom.js";
3
+ import * as f from "react";
4
+ import { useLayoutEffect as N, useEffect as Q } from "react";
5
+ import * as T from "react-dom";
6
+ var R = typeof document < "u" ? N : Q;
7
+ function h(e, t) {
8
+ if (e === t)
9
+ return !0;
10
+ if (typeof e != typeof t)
11
+ return !1;
12
+ if (typeof e == "function" && e.toString() === t.toString())
13
+ return !0;
14
+ let n, r, s;
15
+ if (e && t && typeof e == "object") {
16
+ if (Array.isArray(e)) {
17
+ if (n = e.length, n !== t.length) return !1;
18
+ for (r = n; r-- !== 0; )
19
+ if (!h(e[r], t[r]))
20
+ return !1;
21
+ return !0;
22
+ }
23
+ if (s = Object.keys(e), n = s.length, n !== Object.keys(t).length)
24
+ return !1;
25
+ for (r = n; r-- !== 0; )
26
+ if (!{}.hasOwnProperty.call(t, s[r]))
27
+ return !1;
28
+ for (r = n; r-- !== 0; ) {
29
+ const p = s[r];
30
+ if (!(p === "_owner" && e.$$typeof) && !h(e[p], t[p]))
31
+ return !1;
32
+ }
33
+ return !0;
34
+ }
35
+ return e !== e && t !== t;
36
+ }
37
+ function q(e) {
38
+ return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
39
+ }
40
+ function A(e, t) {
41
+ const n = q(e);
42
+ return Math.round(t * n) / n;
43
+ }
44
+ function k(e) {
45
+ const t = f.useRef(e);
46
+ return R(() => {
47
+ t.current = e;
48
+ }), t;
49
+ }
50
+ function b(e) {
51
+ e === void 0 && (e = {});
52
+ const {
53
+ placement: t = "bottom",
54
+ strategy: n = "absolute",
55
+ middleware: r = [],
56
+ platform: s,
57
+ elements: {
58
+ reference: p,
59
+ floating: B
60
+ } = {},
61
+ transform: D = !0,
62
+ whileElementsMounted: $,
63
+ open: x
64
+ } = e, [u, O] = f.useState({
65
+ x: 0,
66
+ y: 0,
67
+ strategy: n,
68
+ placement: t,
69
+ middlewareData: {},
70
+ isPositioned: !1
71
+ }), [M, U] = f.useState(r);
72
+ h(M, r) || U(r);
73
+ const [V, W] = f.useState(null), [z, G] = f.useState(null), _ = f.useCallback((o) => {
74
+ o !== a.current && (a.current = o, W(o));
75
+ }, []), C = f.useCallback((o) => {
76
+ o !== d.current && (d.current = o, G(o));
77
+ }, []), i = p || V, l = B || z, a = f.useRef(null), d = f.useRef(null), y = f.useRef(u), H = $ != null, P = k($), S = k(s), F = k(x), g = f.useCallback(() => {
78
+ if (!a.current || !d.current)
79
+ return;
80
+ const o = {
81
+ placement: t,
82
+ strategy: n,
83
+ middleware: M
84
+ };
85
+ S.current && (o.platform = S.current), K(a.current, d.current, o).then((w) => {
86
+ const m = {
87
+ ...w,
88
+ // The floating element's position may be recomputed while it's closed
89
+ // but still mounted (such as when transitioning out). To ensure
90
+ // `isPositioned` will be `false` initially on the next open, avoid
91
+ // setting it to `true` when `open === false` (must be specified).
92
+ isPositioned: F.current !== !1
93
+ };
94
+ E.current && !h(y.current, m) && (y.current = m, T.flushSync(() => {
95
+ O(m);
96
+ }));
97
+ });
98
+ }, [M, t, n, S, F]);
99
+ R(() => {
100
+ x === !1 && y.current.isPositioned && (y.current.isPositioned = !1, O((o) => ({
101
+ ...o,
102
+ isPositioned: !1
103
+ })));
104
+ }, [x]);
105
+ const E = f.useRef(!1);
106
+ R(() => (E.current = !0, () => {
107
+ E.current = !1;
108
+ }), []), R(() => {
109
+ if (i && (a.current = i), l && (d.current = l), i && l) {
110
+ if (P.current)
111
+ return P.current(i, l, g);
112
+ g();
113
+ }
114
+ }, [i, l, g, P, H]);
115
+ const j = f.useMemo(() => ({
116
+ reference: a,
117
+ floating: d,
118
+ setReference: _,
119
+ setFloating: C
120
+ }), [_, C]), c = f.useMemo(() => ({
121
+ reference: i,
122
+ floating: l
123
+ }), [i, l]), L = f.useMemo(() => {
124
+ const o = {
125
+ position: n,
126
+ left: 0,
127
+ top: 0
128
+ };
129
+ if (!c.floating)
130
+ return o;
131
+ const w = A(c.floating, u.x), m = A(c.floating, u.y);
132
+ return D ? {
133
+ ...o,
134
+ transform: "translate(" + w + "px, " + m + "px)",
135
+ ...q(c.floating) >= 1.5 && {
136
+ willChange: "transform"
137
+ }
138
+ } : {
139
+ position: n,
140
+ left: w,
141
+ top: m
142
+ };
143
+ }, [n, D, c.floating, u.x, u.y]);
144
+ return f.useMemo(() => ({
145
+ ...u,
146
+ update: g,
147
+ refs: j,
148
+ elements: c,
149
+ floatingStyles: L
150
+ }), [u, g, j, c, L]);
151
+ }
152
+ const X = (e) => {
153
+ function t(n) {
154
+ return {}.hasOwnProperty.call(n, "current");
155
+ }
156
+ return {
157
+ name: "arrow",
158
+ options: e,
159
+ fn(n) {
160
+ const {
161
+ element: r,
162
+ padding: s
163
+ } = typeof e == "function" ? e(n) : e;
164
+ return r && t(r) ? r.current != null ? v({
165
+ element: r.current,
166
+ padding: s
167
+ }).fn(n) : {} : r ? v({
168
+ element: r,
169
+ padding: s
170
+ }).fn(n) : {};
171
+ }
172
+ };
173
+ }, ee = (e, t) => ({
174
+ ...J(e),
175
+ options: [e, t]
176
+ }), te = (e, t) => ({
177
+ ...I(e),
178
+ options: [e, t]
179
+ }), ne = (e, t) => ({
180
+ ...X(e),
181
+ options: [e, t]
182
+ });
183
+ export { ne as arrow$u, oe as autoUpdate$u, K as computePosition$u, te as flip$u, ee as offset$u, se as platform$u, b as useFloating$u };
@@ -0,0 +1,110 @@
1
+ function c() {
2
+ return typeof window < "u";
3
+ }
4
+ function s(n) {
5
+ return p(n) ? (n.nodeName || "").toLowerCase() : "#document";
6
+ }
7
+ function i(n) {
8
+ var t;
9
+ return (n == null || (t = n.ownerDocument) == null ? void 0 : t.defaultView) || window;
10
+ }
11
+ function E(n) {
12
+ var t;
13
+ return (t = (p(n) ? n.ownerDocument : n.document) || window.document) == null ? void 0 : t.documentElement;
14
+ }
15
+ function p(n) {
16
+ return c() ? n instanceof Node || n instanceof i(n).Node : !1;
17
+ }
18
+ function m(n) {
19
+ return c() ? n instanceof Element || n instanceof i(n).Element : !1;
20
+ }
21
+ function w(n) {
22
+ return c() ? n instanceof HTMLElement || n instanceof i(n).HTMLElement : !1;
23
+ }
24
+ function a(n) {
25
+ return !c() || typeof ShadowRoot > "u" ? !1 : n instanceof ShadowRoot || n instanceof i(n).ShadowRoot;
26
+ }
27
+ function y(n) {
28
+ const {
29
+ overflow: t,
30
+ overflowX: e,
31
+ overflowY: o,
32
+ display: r
33
+ } = b(n);
34
+ return /auto|scroll|overlay|hidden|clip/.test(t + o + e) && !["inline", "contents"].includes(r);
35
+ }
36
+ function D(n) {
37
+ return ["table", "td", "th"].includes(s(n));
38
+ }
39
+ function N(n) {
40
+ return [":popover-open", ":modal"].some((t) => {
41
+ try {
42
+ return n.matches(t);
43
+ } catch {
44
+ return !1;
45
+ }
46
+ });
47
+ }
48
+ function T(n) {
49
+ const t = L(), e = m(n) ? b(n) : n;
50
+ return ["transform", "translate", "scale", "rotate", "perspective"].some((o) => e[o] ? e[o] !== "none" : !1) || (e.containerType ? e.containerType !== "normal" : !1) || !t && (e.backdropFilter ? e.backdropFilter !== "none" : !1) || !t && (e.filter ? e.filter !== "none" : !1) || ["transform", "translate", "scale", "rotate", "perspective", "filter"].some((o) => (e.willChange || "").includes(o)) || ["paint", "layout", "strict", "content"].some((o) => (e.contain || "").includes(o));
51
+ }
52
+ function k(n) {
53
+ let t = u(n);
54
+ for (; w(t) && !g(t); ) {
55
+ if (T(t))
56
+ return t;
57
+ if (N(t))
58
+ return null;
59
+ t = u(t);
60
+ }
61
+ return null;
62
+ }
63
+ function L() {
64
+ return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
65
+ }
66
+ function g(n) {
67
+ return ["html", "body", "#document"].includes(s(n));
68
+ }
69
+ function b(n) {
70
+ return i(n).getComputedStyle(n);
71
+ }
72
+ function C(n) {
73
+ return m(n) ? {
74
+ scrollLeft: n.scrollLeft,
75
+ scrollTop: n.scrollTop
76
+ } : {
77
+ scrollLeft: n.scrollX,
78
+ scrollTop: n.scrollY
79
+ };
80
+ }
81
+ function u(n) {
82
+ if (s(n) === "html")
83
+ return n;
84
+ const t = (
85
+ // Step into the shadow DOM of the parent of a slotted node.
86
+ n.assignedSlot || // DOM Element detected.
87
+ n.parentNode || // ShadowRoot detected.
88
+ a(n) && n.host || // Fallback.
89
+ E(n)
90
+ );
91
+ return a(t) ? t.host : t;
92
+ }
93
+ function h(n) {
94
+ const t = u(n);
95
+ return g(t) ? n.ownerDocument ? n.ownerDocument.body : n.body : w(t) && y(t) ? t : h(t);
96
+ }
97
+ function d(n, t, e) {
98
+ var o;
99
+ t === void 0 && (t = []), e === void 0 && (e = !0);
100
+ const r = h(n), S = r === ((o = n.ownerDocument) == null ? void 0 : o.body), l = i(r);
101
+ if (S) {
102
+ const f = v(l);
103
+ return t.concat(l, l.visualViewport || [], y(r) ? r : [], f && e ? d(f) : []);
104
+ }
105
+ return t.concat(r, d(r, [], e));
106
+ }
107
+ function v(n) {
108
+ return n.parent && Object.getPrototypeOf(n.parent) ? n.frameElement : null;
109
+ }
110
+ export { b as getComputedStyle$u, k as getContainingBlock$u, E as getDocumentElement$u, v as getFrameElement$u, h as getNearestOverflowAncestor$u, s as getNodeName$u, C as getNodeScroll$u, d as getOverflowAncestors$u, u as getParentNode$u, i as getWindow$u, T as isContainingBlock$u, m as isElement$u, w as isHTMLElement$u, g as isLastTraversableNode$u, p as isNode$u, y as isOverflowElement$u, a as isShadowRoot$u, D as isTableElement$u, N as isTopLayer$u, L as isWebKit$u };
@@ -0,0 +1,106 @@
1
+ const l = Math.min, a = Math.max, P = Math.round, M = Math.floor, O = (t) => ({
2
+ x: t,
3
+ y: t
4
+ }), m = {
5
+ left: "right",
6
+ right: "left",
7
+ bottom: "top",
8
+ top: "bottom"
9
+ }, p = {
10
+ start: "end",
11
+ end: "start"
12
+ };
13
+ function S(t, n, e) {
14
+ return a(t, l(n, e));
15
+ }
16
+ function w(t, n) {
17
+ return typeof t == "function" ? t(n) : t;
18
+ }
19
+ function f(t) {
20
+ return t.split("-")[0];
21
+ }
22
+ function g(t) {
23
+ return t.split("-")[1];
24
+ }
25
+ function h(t) {
26
+ return t === "x" ? "y" : "x";
27
+ }
28
+ function x(t) {
29
+ return t === "y" ? "height" : "width";
30
+ }
31
+ function b(t) {
32
+ return ["top", "bottom"].includes(f(t)) ? "y" : "x";
33
+ }
34
+ function d(t) {
35
+ return h(b(t));
36
+ }
37
+ function j(t, n, e) {
38
+ e === void 0 && (e = !1);
39
+ const r = g(t), o = d(t), i = x(o);
40
+ let c = o === "x" ? r === (e ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
41
+ return n.reference[i] > n.floating[i] && (c = u(c)), [c, u(c)];
42
+ }
43
+ function C(t) {
44
+ const n = u(t);
45
+ return [s(t), n, s(n)];
46
+ }
47
+ function s(t) {
48
+ return t.replace(/start|end/g, (n) => p[n]);
49
+ }
50
+ function A(t, n, e) {
51
+ const r = ["left", "right"], o = ["right", "left"], i = ["top", "bottom"], c = ["bottom", "top"];
52
+ switch (t) {
53
+ case "top":
54
+ case "bottom":
55
+ return e ? n ? o : r : n ? r : o;
56
+ case "left":
57
+ case "right":
58
+ return n ? i : c;
59
+ default:
60
+ return [];
61
+ }
62
+ }
63
+ function L(t, n, e, r) {
64
+ const o = g(t);
65
+ let i = A(f(t), e === "start", r);
66
+ return o && (i = i.map((c) => c + "-" + o), n && (i = i.concat(i.map(s)))), i;
67
+ }
68
+ function u(t) {
69
+ return t.replace(/left|right|bottom|top/g, (n) => m[n]);
70
+ }
71
+ function y(t) {
72
+ return {
73
+ top: 0,
74
+ right: 0,
75
+ bottom: 0,
76
+ left: 0,
77
+ ...t
78
+ };
79
+ }
80
+ function E(t) {
81
+ return typeof t != "number" ? y(t) : {
82
+ top: t,
83
+ right: t,
84
+ bottom: t,
85
+ left: t
86
+ };
87
+ }
88
+ function R(t) {
89
+ const {
90
+ x: n,
91
+ y: e,
92
+ width: r,
93
+ height: o
94
+ } = t;
95
+ return {
96
+ width: r,
97
+ height: o,
98
+ top: e,
99
+ left: n,
100
+ right: n + r,
101
+ bottom: e + o,
102
+ x: n,
103
+ y: e
104
+ };
105
+ }
106
+ export { S as clamp$u, O as createCoords$u, w as evaluate$u, y as expandPaddingObject$u, M as floor$u, g as getAlignment$u, d as getAlignmentAxis$u, j as getAlignmentSides$u, x as getAxisLength$u, C as getExpandedPlacements$u, s as getOppositeAlignmentPlacement$u, h as getOppositeAxis$u, L as getOppositeAxisPlacements$u, u as getOppositePlacement$u, E as getPaddingObject$u, f as getSide$u, b as getSideAxis$u, a as max$u, l as min$u, R as rectToClientRect$u, P as round$u };
@@ -0,0 +1,14 @@
1
+ function i(r) {
2
+ var f, n, t = "";
3
+ if (typeof r == "string" || typeof r == "number") t += r;
4
+ else if (typeof r == "object") if (Array.isArray(r)) {
5
+ var o = r.length;
6
+ for (f = 0; f < o; f++) r[f] && (n = i(r[f])) && (t && (t += " "), t += n);
7
+ } else for (n in r) r[n] && (t && (t += " "), t += n);
8
+ return t;
9
+ }
10
+ function a() {
11
+ for (var r, f, n = 0, t = "", o = arguments.length; n < o; n++) (r = arguments[n]) && (f = i(r)) && (t && (t += " "), t += f);
12
+ return t;
13
+ }
14
+ export { a as clsx$u };
@@ -0,0 +1,5 @@
1
+ function r(t, n) {
2
+ const o = t < 0 ? "-" : "", a = Math.abs(t).toString().padStart(n, "0");
3
+ return o + a;
4
+ }
5
+ export { r as addLeadingZeros$u };
@@ -0,0 +1,5 @@
1
+ let t = {};
2
+ function e() {
3
+ return t;
4
+ }
5
+ export { e as getDefaultOptions$u };