@procore/core-react 12.17.4 → 12.17.6

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 (413) hide show
  1. package/dist/AnchorNavigation/AnchorNavigation.styles.js +3 -3
  2. package/dist/AnchorNavigation/AnchorNavigationProvider.js +5 -5
  3. package/dist/Avatar/Avatar.js +9 -9
  4. package/dist/Avatar/Avatar.styles.js +5 -5
  5. package/dist/AvatarStack/AvatarStack.js +14 -14
  6. package/dist/AvatarStack/AvatarStack.styles.js +7 -7
  7. package/dist/Badge/Badge.js +1 -1
  8. package/dist/Badge/Badge.styles.js +2 -2
  9. package/dist/Banner/Banner.js +8 -8
  10. package/dist/Banner/Banner.styles.js +10 -10
  11. package/dist/Box/Box.js +3 -3
  12. package/dist/Box/Box.styles.js +1 -1
  13. package/dist/Breadcrumbs/Breadcrumbs.js +9 -9
  14. package/dist/Breadcrumbs/Breadcrumbs.styles.js +4 -4
  15. package/dist/Button/Button.js +7 -7
  16. package/dist/Button/Button.styles.js +5 -5
  17. package/dist/Calendar/Calendar.js +4 -4
  18. package/dist/Calendar/Calendar.styles.js +8 -8
  19. package/dist/Card/Card.js +3 -3
  20. package/dist/Card/Card.styles.js +1 -1
  21. package/dist/Checkbox/Checkbox.js +9 -9
  22. package/dist/Checkbox/Checkbox.styles.js +6 -6
  23. package/dist/Checkbox/CheckboxTooltip.js +2 -2
  24. package/dist/CheckboxGroup/CheckboxGroup.js +8 -8
  25. package/dist/ClickOutside/ClickOutside.js +3 -3
  26. package/dist/ContactItem/ContactItem.js +3 -3
  27. package/dist/ContactItem/ContactItem.styles.js +5 -5
  28. package/dist/Content/Content.styles.js +2 -2
  29. package/dist/DateInput/DateInput.js +11 -11
  30. package/dist/DateInput/DateInput.styles.js +10 -10
  31. package/dist/DateSelect/DateSelect.js +8 -8
  32. package/dist/DetailPage/DetailPage.js +3 -3
  33. package/dist/DetailPage/DetailPage.styles.js +7 -7
  34. package/dist/DetailPage/examples/TableExample.js +5 -5
  35. package/dist/DetailPageTemplate/DetailPageTemplate.js +3 -3
  36. package/dist/Dropdown/Dropdown.js +9 -9
  37. package/dist/Dropdown/Dropdown.js.map +1 -1
  38. package/dist/Dropdown/Dropdown.styles.js +3 -3
  39. package/dist/DropdownFlyout/DropdownFlyout.helpers.js +14 -14
  40. package/dist/DropdownFlyout/DropdownFlyout.js +8 -8
  41. package/dist/DropdownFlyout/DropdownFlyout.styles.js +4 -4
  42. package/dist/Dropzone/Dropzone.hooks.js +16 -16
  43. package/dist/Dropzone/Dropzone.js +13 -13
  44. package/dist/Dropzone/Dropzone.styles.js +9 -9
  45. package/dist/EmptyState/EmptyState.js +3 -3
  46. package/dist/EmptyState/EmptyState.styles.js +6 -6
  47. package/dist/Field/Field.js +3 -3
  48. package/dist/Field/Field.styles.js +3 -3
  49. package/dist/FileList/FileList.js +3 -3
  50. package/dist/FileList/FileList.styles.js +4 -4
  51. package/dist/FileSelect/FileExplorer/FileExplorer.js +3 -3
  52. package/dist/FileSelect/FileExplorer/FileExplorer.styles.js +9 -9
  53. package/dist/FileSelect/FileExplorer/FileExplorerModal.js +3 -3
  54. package/dist/FileSelect/FileExplorer/FileExplorerSidebar.js +5 -5
  55. package/dist/FileSelect/FileExplorer/FileExplorerSidebar.styles.js +3 -3
  56. package/dist/FileSelect/FileExplorer/useSidebarNavigation.js +8 -8
  57. package/dist/FileSelect/FileSelect.js +21 -21
  58. package/dist/FileSelect/FileSelect.js.map +1 -1
  59. package/dist/FileSelect/FileSelect.styles.js +2 -2
  60. package/dist/FileSelect/FileSelectDropzone/FileSelectDropzone.js +5 -5
  61. package/dist/FileSelect/FileSelectDropzone/FileSelectDropzone.styles.js +3 -3
  62. package/dist/FileSelect/FileTokenList/FileTokenList.js +8 -8
  63. package/dist/FileSelect/FileTokenList/FileTokenList.styles.js +2 -2
  64. package/dist/FileSelect/GridSource/GridSource.js +20 -20
  65. package/dist/FileSelect/GridSource/GridSource.js.map +1 -1
  66. package/dist/FileSelect/GridSource/GridSource.styles.js +6 -6
  67. package/dist/FileSelect/LocalSource/LocalSource.js +19 -19
  68. package/dist/FileSelect/LocalSource/LocalSource.js.map +1 -1
  69. package/dist/FileSelect/LocalSource/LocalSource.styles.js +4 -4
  70. package/dist/FileSelect/ProgressAnnouncer/ProgressAnnouncer.js +11 -11
  71. package/dist/FileSelect/SourceItem/SourceItem.js +3 -3
  72. package/dist/FileSelect/SourceItem/SourceItem.styles.js +3 -3
  73. package/dist/FileSelect/ThumbnailList/ThumbnailList.js +8 -8
  74. package/dist/FileSelect/ThumbnailList/ThumbnailList.styles.js +6 -6
  75. package/dist/FileSelect/TreeSource/TreeSource.js +21 -21
  76. package/dist/FileSelect/TreeSource/TreeSource.js.map +1 -1
  77. package/dist/FileSelect/TreeSource/TreeSource.styles.js +1 -1
  78. package/dist/FileSelect/storyHelpers.js +4 -4
  79. package/dist/FileSelect/storyHelpers.js.map +1 -1
  80. package/dist/FileToken/FileToken.js +8 -8
  81. package/dist/FileToken/FileToken.styles.js +4 -4
  82. package/dist/FilterToken/FilterToken.js +9 -9
  83. package/dist/FilterToken/FilterToken.styles.js +2 -2
  84. package/dist/Flex/Flex.js +3 -3
  85. package/dist/FlexList/FlexList.js +3 -3
  86. package/dist/FlexList/FlexList.styles.js +1 -1
  87. package/dist/Form/Form.d.ts +1 -0
  88. package/dist/Form/Form.js +24 -18
  89. package/dist/Form/Form.js.map +1 -1
  90. package/dist/Form/Form.styles.d.ts +2 -0
  91. package/dist/Form/Form.styles.js +15 -14
  92. package/dist/Form/Form.styles.js.map +1 -1
  93. package/dist/Form/Form.types.d.ts +30 -1
  94. package/dist/Form/Form.types.js.map +1 -1
  95. package/dist/Form/FormFieldTooltip.js +1 -1
  96. package/dist/Form/StyledFormikForm.styles.d.ts +1 -0
  97. package/dist/Form/StyledFormikForm.styles.js +4 -2
  98. package/dist/Form/StyledFormikForm.styles.js.map +1 -1
  99. package/dist/Form/stories/util.js +9 -9
  100. package/dist/GhostPlaceholder/GhostPlaceholder.js +3 -3
  101. package/dist/GhostPlaceholder/GhostPlaceholder.styles.js +2 -2
  102. package/dist/Grid/Grid.js +3 -3
  103. package/dist/Grid/Grid.styles.js +3 -3
  104. package/dist/Grid/Grid.utils.js +5 -5
  105. package/dist/GroupSelect/GroupSelect.js +17 -17
  106. package/dist/GroupSelect/GroupSelect.styles.js +1 -1
  107. package/dist/Input/Input.js +3 -3
  108. package/dist/Input/Input.styles.js +1 -1
  109. package/dist/Link/Link.js +3 -3
  110. package/dist/Link/Link.styles.js +1 -1
  111. package/dist/ListPage/ListPage.js +3 -3
  112. package/dist/ListPage/ListPage.styles.js +8 -8
  113. package/dist/Loader/Loader.js +3 -3
  114. package/dist/Loader/Loader.styles.js +2 -2
  115. package/dist/Menu/Menu.js +15 -15
  116. package/dist/MenuImperative/MenuImperative.js +15 -15
  117. package/dist/MenuImperative/MenuImperative.styles.js +10 -10
  118. package/dist/MenuImperative/sensors.js +8 -8
  119. package/dist/MenuImperative/sensors.js.map +1 -1
  120. package/dist/Modal/ChildRegistry.context.js +11 -11
  121. package/dist/Modal/Modal.js +8 -8
  122. package/dist/Modal/Modal.styles.js +13 -13
  123. package/dist/Modal/Modal.types.d.ts +3 -1
  124. package/dist/Modal/Modal.types.js.map +1 -1
  125. package/dist/Modal/storyHelpers.js +7 -7
  126. package/dist/MultiSelect/MultiSelect.js +17 -17
  127. package/dist/MultiSelect/MultiSelect.styles.js +6 -6
  128. package/dist/NextMenu/NextMenu.js +14 -14
  129. package/dist/NextMenu/NextMenu.styles.js +3 -3
  130. package/dist/NextMenu/NextMenuItem.js +3 -3
  131. package/dist/NextMenu/sampleData.js +7 -6
  132. package/dist/NextMenu/sampleData.js.map +1 -1
  133. package/dist/NextTile/NextTile.js +9 -9
  134. package/dist/Notation/Notation.js +4 -4
  135. package/dist/NumberInput/NumberInput.hooks.js +5 -5
  136. package/dist/NumberInput/NumberInput.js +14 -14
  137. package/dist/NumberInput/NumberInput.styles.js +7 -7
  138. package/dist/NumberInput/NumberInput.utils.js +11 -11
  139. package/dist/Overlay/OverlayArrow.js +4 -4
  140. package/dist/Overlay/OverlayArrow.styles.js +1 -1
  141. package/dist/OverlayTrigger/OverlayTrigger.js +15 -15
  142. package/dist/OverlayTrigger/a11yPresets.js +6 -6
  143. package/dist/PageFooterTemplate/PageFooterTemplate.js +3 -3
  144. package/dist/PageFooterTemplate/PageFooterTemplate.styles.js +1 -1
  145. package/dist/PageHeaderTemplate/PageHeaderTemplate.js +3 -3
  146. package/dist/PageHeaderTemplate/PageHeaderTemplate.styles.js +3 -3
  147. package/dist/PageHeaderTemplate/PageHeaderTemplate.utils.js +5 -5
  148. package/dist/PageLayout/PageLayout.js +15 -15
  149. package/dist/PageLayout/PageLayout.js.map +1 -1
  150. package/dist/PageLayout/PageLayout.styles.js +16 -16
  151. package/dist/PagePaneTemplate/PagePaneTemplate.styles.js +2 -2
  152. package/dist/PageTemplate/PageTemplate.js +3 -3
  153. package/dist/PageTemplate/PageTemplate.styles.js +3 -3
  154. package/dist/PageTemplate/PageTemplateCard.js +3 -3
  155. package/dist/Pagination/Pagination.js +3 -3
  156. package/dist/Pagination/Pagination.styles.js +5 -5
  157. package/dist/Pagination/PaginationSelect.js +3 -3
  158. package/dist/Panel/Panel.js +8 -8
  159. package/dist/Panel/Panel.styles.js +11 -11
  160. package/dist/Pill/Pill.js +3 -3
  161. package/dist/Pill/Pill.styles.js +2 -2
  162. package/dist/PillSelect/PillSelect.js +8 -8
  163. package/dist/PillSelect/PillSelect.styles.js +4 -4
  164. package/dist/Popover/Popover.js +9 -9
  165. package/dist/Popover/Popover.styles.js +2 -2
  166. package/dist/Portal/Portal.js +3 -3
  167. package/dist/Portal/Portal.styles.js +1 -1
  168. package/dist/ProgressBar/ProgressBar.js +8 -8
  169. package/dist/ProgressBar/ProgressBar.styles.js +2 -2
  170. package/dist/RadioButton/RadioButton.js +3 -3
  171. package/dist/RadioButton/RadioButton.styles.js +3 -3
  172. package/dist/Required/Required.js +3 -3
  173. package/dist/Required/Required.styles.js +3 -3
  174. package/dist/Search/Search.hooks.js +5 -5
  175. package/dist/Search/Search.js +3 -3
  176. package/dist/Search/Search.styles.js +5 -5
  177. package/dist/Section/Section.js +14 -14
  178. package/dist/Section/Section.styles.js +7 -7
  179. package/dist/SegmentedController/SegmentedController.js +19 -18
  180. package/dist/SegmentedController/SegmentedController.js.map +1 -1
  181. package/dist/SegmentedController/SegmentedController.styles.d.ts +1 -1
  182. package/dist/SegmentedController/SegmentedController.styles.js +8 -8
  183. package/dist/SegmentedController/SegmentedController.styles.js.map +1 -1
  184. package/dist/SegmentedController/SegmentedController.types.d.ts +10 -1
  185. package/dist/SegmentedController/SegmentedController.types.js.map +1 -1
  186. package/dist/Select/Select.js +8 -8
  187. package/dist/Select/Select.styles.js +7 -7
  188. package/dist/Semantic/Semantic.js +3 -3
  189. package/dist/Semantic/Semantic.styles.js +9 -9
  190. package/dist/SettingsPage/SettingsPage.js +3 -3
  191. package/dist/SettingsPageTemplate/SettingsPageTemplate.js +3 -3
  192. package/dist/Slider/Slider.js +8 -8
  193. package/dist/Slider/Slider.styles.js +5 -5
  194. package/dist/Spinner/Spinner.d.ts +2 -2
  195. package/dist/Spinner/Spinner.js +7 -5
  196. package/dist/Spinner/Spinner.js.map +1 -1
  197. package/dist/Spinner/Spinner.styles.d.ts +1 -1
  198. package/dist/Spinner/Spinner.styles.js +17 -11
  199. package/dist/Spinner/Spinner.styles.js.map +1 -1
  200. package/dist/Spinner/Spinner.types.d.ts +6 -5
  201. package/dist/Spinner/Spinner.types.js.map +1 -1
  202. package/dist/SplitViewCard/SplitViewCard.context.js +5 -5
  203. package/dist/SplitViewCard/SplitViewCard.js +8 -8
  204. package/dist/SplitViewCard/SplitViewCard.styles.js +8 -8
  205. package/dist/SuperSelect/SuperSelect.components.js +8 -8
  206. package/dist/SuperSelect/SuperSelect.js +7 -7
  207. package/dist/SuperSelect/SuperSelect.presets.styles.js +1 -1
  208. package/dist/SuperSelect/SuperSelect.styles.js +37 -37
  209. package/dist/SuperSelect/SuperSelect.utils.js +14 -14
  210. package/dist/SuperSelect/presets/contactsPreset.js +3 -3
  211. package/dist/SuperSelect/presets/filterPreset.js +1 -1
  212. package/dist/SuperSelect/useSuperSelect.js +14 -14
  213. package/dist/Switch/Switch.js +3 -3
  214. package/dist/Switch/Switch.styles.js +4 -4
  215. package/dist/Table/Table.js +9 -9
  216. package/dist/Table/Table.styles.js +28 -28
  217. package/dist/TableShelf/TableShelf.js +3 -3
  218. package/dist/TableShelf/TableShelf.styles.js +5 -5
  219. package/dist/Tabs/Tabs.d.ts +1 -1
  220. package/dist/Tabs/Tabs.js +31 -29
  221. package/dist/Tabs/Tabs.js.map +1 -1
  222. package/dist/Tabs/Tabs.styles.d.ts +2 -2
  223. package/dist/Tabs/Tabs.styles.js +28 -28
  224. package/dist/Tabs/Tabs.styles.js.map +1 -1
  225. package/dist/Tabs/Tabs.types.d.ts +8 -1
  226. package/dist/Tabs/Tabs.types.js.map +1 -1
  227. package/dist/Tearsheet/Tearsheet.js +11 -11
  228. package/dist/Tearsheet/Tearsheet.js.map +1 -1
  229. package/dist/Tearsheet/Tearsheet.styles.js +5 -5
  230. package/dist/TextArea/TextArea.js +3 -3
  231. package/dist/TextArea/TextArea.styles.js +1 -1
  232. package/dist/TextEditor/TextEditor.js +17 -17
  233. package/dist/TextEditorOutput/TextEditorOutput.js +9 -9
  234. package/dist/TextEditorOutput/TextEditorOutput.styles.js +1 -1
  235. package/dist/Thumbnail/Thumbnail.hooks.d.ts +8 -0
  236. package/dist/Thumbnail/Thumbnail.hooks.js +8 -8
  237. package/dist/Thumbnail/Thumbnail.js +9 -9
  238. package/dist/Thumbnail/Thumbnail.styles.js +17 -17
  239. package/dist/Thumbnail/Thumbnail.utils.js +9 -9
  240. package/dist/Thumbnail/ThumbnailCaption.js +3 -3
  241. package/dist/Thumbnail/ThumbnailDocumentIcon.js +5 -5
  242. package/dist/Thumbnail/ThumbnailPreview.js +5 -5
  243. package/dist/ThumbnailGrid/ThumbnailGrid.hooks.js +5 -5
  244. package/dist/ThumbnailGrid/ThumbnailGrid.js +17 -17
  245. package/dist/ThumbnailGrid/ThumbnailGrid.styles.js +7 -7
  246. package/dist/TieredDropdown/TieredDropdown.js +14 -14
  247. package/dist/TieredDropdown/useSearch.js +5 -5
  248. package/dist/TieredSelect/LeafSelectionTieredSelect.js +8 -8
  249. package/dist/TieredSelect/TierSelectionTieredSelect.js +49 -24
  250. package/dist/TieredSelect/TierSelectionTieredSelect.js.map +1 -1
  251. package/dist/TieredSelect/TieredSelect.js +8 -8
  252. package/dist/TieredSelect/TieredSelect.styles.js +9 -9
  253. package/dist/TieredSelect/TieredSelectMenu.js +17 -17
  254. package/dist/Tile/Tile.js +3 -3
  255. package/dist/Tile/Tile.styles.js +8 -8
  256. package/dist/Title/Title.js +3 -3
  257. package/dist/Title/Title.styles.js +7 -7
  258. package/dist/Toast/Toast.js +4 -4
  259. package/dist/Toast/Toast.styles.js +3 -3
  260. package/dist/ToggleButton/ToggleButton.js +3 -3
  261. package/dist/ToggleButton/ToggleButton.styles.js +1 -1
  262. package/dist/Token/Token.js +4 -4
  263. package/dist/Token/Token.styles.js +3 -3
  264. package/dist/ToolHeader/ActionIcon.js +3 -3
  265. package/dist/ToolHeader/ToolHeader.js +9 -9
  266. package/dist/ToolHeader/ToolHeader.styles.js +6 -6
  267. package/dist/ToolLandingPage/ToolLandingPage.js +3 -3
  268. package/dist/ToolLandingPage/ToolLandingPage.styles.js +3 -3
  269. package/dist/ToolLandingPageTemplate/ToolLandingPageTemplate.js +3 -3
  270. package/dist/Tooltip/Tooltip.js +8 -8
  271. package/dist/Tooltip/Tooltip.styles.js +2 -2
  272. package/dist/Tree/Tree.hooks.js +14 -14
  273. package/dist/Tree/Tree.hooks.js.map +1 -1
  274. package/dist/Tree/Tree.js +14 -14
  275. package/dist/Tree/Tree.styles.js +9 -9
  276. package/dist/Typeahead/Typeahead.js +9 -9
  277. package/dist/Typeahead/Typeahead.styles.js +3 -3
  278. package/dist/Typography/Typography.js +3 -3
  279. package/dist/Typography/Typography.styles.js +1 -1
  280. package/dist/Typography/Typography.table.story.js +2 -2
  281. package/dist/_hooks/Anchor.js +19 -16
  282. package/dist/_hooks/Anchor.js.map +1 -1
  283. package/dist/_hooks/Buffer.js +8 -7
  284. package/dist/_hooks/Buffer.js.map +1 -1
  285. package/dist/_hooks/ClickOutside.js +2 -1
  286. package/dist/_hooks/ClickOutside.js.map +1 -1
  287. package/dist/_hooks/DateTime/DateTime.js +17 -17
  288. package/dist/_hooks/DelayedCallback.js +1 -1
  289. package/dist/_hooks/DelayedToggle.js +7 -2
  290. package/dist/_hooks/DelayedToggle.js.map +1 -1
  291. package/dist/_hooks/Deprecation.js +1 -0
  292. package/dist/_hooks/Deprecation.js.map +1 -1
  293. package/dist/_hooks/EventListener.js +5 -5
  294. package/dist/_hooks/FocusScopeOverride.js +6 -6
  295. package/dist/_hooks/Hotkey.js +2 -2
  296. package/dist/_hooks/I18n.js +13 -13
  297. package/dist/_hooks/InjectedScript.js +8 -7
  298. package/dist/_hooks/InjectedScript.js.map +1 -1
  299. package/dist/_hooks/IntersectionObserver/useIntersectionObserver.js +5 -5
  300. package/dist/_hooks/ListNavigation.js +9 -7
  301. package/dist/_hooks/ListNavigation.js.map +1 -1
  302. package/dist/_hooks/OverflowObserver/OverflowObserver.js +6 -6
  303. package/dist/_hooks/ResizeObserver.js +5 -5
  304. package/dist/_hooks/TextEntry.js +5 -2
  305. package/dist/_hooks/TextEntry.js.map +1 -1
  306. package/dist/_hooks/Timer.js +1 -0
  307. package/dist/_hooks/Timer.js.map +1 -1
  308. package/dist/_hooks/Trigger.js +19 -13
  309. package/dist/_hooks/Trigger.js.map +1 -1
  310. package/dist/_hooks/Visibility.js +9 -7
  311. package/dist/_hooks/Visibility.js.map +1 -1
  312. package/dist/_hooks/ZIndex.js +7 -7
  313. package/dist/_hooks/getI18nProviderLocale.js +2 -1
  314. package/dist/_hooks/getI18nProviderLocale.js.map +1 -1
  315. package/dist/_hooks/useCurrentMedia.js +5 -5
  316. package/dist/_hooks/useFileUploader.js +15 -15
  317. package/dist/_hooks/useFileUploader.js.map +1 -1
  318. package/dist/_hooks/useFocusWithin.js +5 -5
  319. package/dist/_hooks/useMediaLessThan.js +5 -5
  320. package/dist/_hooks/useSet.js +5 -5
  321. package/dist/_styles/colors.js +6 -6
  322. package/dist/_styles/spacing.d.ts +27 -0
  323. package/dist/_styles/spacing.js +27 -0
  324. package/dist/_styles/spacing.js.map +1 -1
  325. package/dist/_typedoc/Avatar/Avatar.types.json +20 -20
  326. package/dist/_typedoc/AvatarStack/AvatarStack.types.json +24 -24
  327. package/dist/_typedoc/Badge/Badge.types.json +6 -6
  328. package/dist/_typedoc/Banner/Banner.types.json +13 -13
  329. package/dist/_typedoc/Box/Box.types.json +68 -68
  330. package/dist/_typedoc/Breadcrumbs/Breadcrumbs.types.json +10 -10
  331. package/dist/_typedoc/Button/Button.types.json +12 -12
  332. package/dist/_typedoc/Calendar/Calendar.types.json +80 -80
  333. package/dist/_typedoc/Card/Card.types.json +6 -6
  334. package/dist/_typedoc/Checkbox/Checkbox.types.json +9 -9
  335. package/dist/_typedoc/ContactItem/ContactItem.types.json +9 -9
  336. package/dist/_typedoc/DateInput/DateInput.types.json +35 -35
  337. package/dist/_typedoc/DateSelect/DateSelect.types.json +13 -13
  338. package/dist/_typedoc/DetailPage/DetailPage.types.json +5 -5
  339. package/dist/_typedoc/Dropdown/Dropdown.types.json +37 -37
  340. package/dist/_typedoc/DropdownFlyout/DropdownFlyout.types.json +29 -29
  341. package/dist/_typedoc/Dropzone/Dropzone.types.json +41 -41
  342. package/dist/_typedoc/EmptyState/EmptyState.types.json +14 -14
  343. package/dist/_typedoc/FileList/FileList.types.json +9 -9
  344. package/dist/_typedoc/FileSelect/FileSelect.types.json +26 -26
  345. package/dist/_typedoc/FileSelect/GridSource/GridSource.types.json +20 -20
  346. package/dist/_typedoc/FileSelect/LocalSource/LocalSource.types.json +14 -14
  347. package/dist/_typedoc/FileSelect/TreeSource/TreeSource.types.json +9 -9
  348. package/dist/_typedoc/Flex/Flex.types.json +27 -27
  349. package/dist/_typedoc/FlexList/FlexList.types.json +30 -30
  350. package/dist/_typedoc/Form/Form.types.json +753 -748
  351. package/dist/_typedoc/GhostPlaceholder/GhostPlaceholder.types.json +12 -12
  352. package/dist/_typedoc/Grid/Grid.types.json +8 -8
  353. package/dist/_typedoc/GroupSelect/GroupSelect.types.json +52 -52
  354. package/dist/_typedoc/Input/Input.types.json +2 -2
  355. package/dist/_typedoc/Link/Link.types.json +4 -4
  356. package/dist/_typedoc/ListPage/ListPage.types.json +13 -13
  357. package/dist/_typedoc/Menu/Menu.types.json +62 -62
  358. package/dist/_typedoc/MenuImperative/MenuImperative.types.json +74 -74
  359. package/dist/_typedoc/Modal/Modal.types.json +50 -50
  360. package/dist/_typedoc/MultiSelect/MultiSelect.types.json +31 -31
  361. package/dist/_typedoc/Notation/Notation.types.json +4 -4
  362. package/dist/_typedoc/NumberInput/NumberInput.types.json +37 -37
  363. package/dist/_typedoc/OverlayTrigger/OverlayTrigger.types.json +31 -31
  364. package/dist/_typedoc/PageLayout/PageLayout.types.json +29 -29
  365. package/dist/_typedoc/Pagination/Pagination.types.json +7 -7
  366. package/dist/_typedoc/Panel/Panel.types.json +28 -28
  367. package/dist/_typedoc/Pill/Pill.types.json +2 -2
  368. package/dist/_typedoc/PillSelect/PillSelect.types.json +49 -49
  369. package/dist/_typedoc/Popover/Popover.types.json +15 -15
  370. package/dist/_typedoc/ProgressBar/ProgressBar.types.json +6 -6
  371. package/dist/_typedoc/RadioButton/RadioButton.types.json +6 -6
  372. package/dist/_typedoc/Required/Required.types.json +5 -5
  373. package/dist/_typedoc/Search/Search.types.json +19 -19
  374. package/dist/_typedoc/Section/Section.types.json +15 -15
  375. package/dist/_typedoc/SegmentedController/SegmentedController.types.json +37 -23
  376. package/dist/_typedoc/Select/Select.types.json +60 -60
  377. package/dist/_typedoc/SettingsPage/SettingsPage.types.json +10 -10
  378. package/dist/_typedoc/Slider/Slider.types.json +6 -6
  379. package/dist/_typedoc/Spinner/Spinner.types.json +16 -16
  380. package/dist/_typedoc/SplitViewCard/SplitViewCard.types.json +12 -12
  381. package/dist/_typedoc/Switch/Switch.types.json +3 -3
  382. package/dist/_typedoc/Table/Table.types.json +101 -101
  383. package/dist/_typedoc/Tabs/Tabs.types.json +34 -22
  384. package/dist/_typedoc/Tearsheet/Tearsheet.types.json +17 -17
  385. package/dist/_typedoc/TextArea/TextArea.types.json +3 -3
  386. package/dist/_typedoc/TextEditor/TextEditor.types.json +11 -11
  387. package/dist/_typedoc/TextEditorOutput/TextEditorOutput.types.json +6 -6
  388. package/dist/_typedoc/Thumbnail/Thumbnail.types.json +19 -19
  389. package/dist/_typedoc/TieredDropdown/TieredDropdown.types.json +42 -42
  390. package/dist/_typedoc/TieredSelect/TieredSelect.types.json +28 -28
  391. package/dist/_typedoc/Tile/Tile.types.json +30 -30
  392. package/dist/_typedoc/Title/Title.types.json +1 -1
  393. package/dist/_typedoc/Toast/Toast.types.json +4 -4
  394. package/dist/_typedoc/ToggleButton/ToggleButton.types.json +4 -4
  395. package/dist/_typedoc/Token/Token.types.json +4 -4
  396. package/dist/_typedoc/ToolHeader/ToolHeader.types.json +10 -10
  397. package/dist/_typedoc/ToolLandingPage/ToolLandingPage.types.json +7 -7
  398. package/dist/_typedoc/Tooltip/Tooltip.types.json +13 -13
  399. package/dist/_typedoc/Tree/Tree.types.json +86 -86
  400. package/dist/_typedoc/Typeahead/Typeahead.types.json +2 -2
  401. package/dist/_typedoc/Typography/Typography.types.json +9 -9
  402. package/dist/_typedoc/_utils/types.json +3 -3
  403. package/dist/_typedoc/deprecations.json +1 -1
  404. package/dist/_utils/TinyMCE.js +4 -4
  405. package/dist/_utils/closeWithConfirm.js +5 -5
  406. package/dist/_utils/dateTime.js +6 -6
  407. package/dist/_utils/getAnchorPosition.js +11 -11
  408. package/dist/_utils/partition.js +5 -5
  409. package/dist/_utils/runInQueue.js +4 -4
  410. package/dist/_utils/runInQueue.js.map +1 -1
  411. package/dist/_utils/slotify.js +7 -7
  412. package/dist/_utils/triggerListeners.js +6 -6
  413. package/package.json +4 -4
@@ -3,18 +3,18 @@ import { LinkButton } from '../Button/Button';
3
3
  import { spacing } from '../_styles/spacing';
4
4
  export var StyledFileListDownloadAll = /*#__PURE__*/styled(LinkButton).withConfig({
5
5
  displayName: "StyledFileListDownloadAll",
6
- componentId: "core-12_17_4__sc-7gltjc-0"
6
+ componentId: "core-12_17_6__sc-7gltjc-0"
7
7
  })(["margin-bottom:", "px;"], spacing.xs);
8
8
  export var StyledFileListItem = /*#__PURE__*/styled.li.withConfig({
9
9
  displayName: "StyledFileListItem",
10
- componentId: "core-12_17_4__sc-7gltjc-1"
10
+ componentId: "core-12_17_6__sc-7gltjc-1"
11
11
  })(["display:flex;align-items:center;margin-bottom:", "px;word-break:break-word;&:last-child{margin-bottom:0;}"], spacing.xs);
12
12
  export var StyledFileListItemTextInactive = /*#__PURE__*/styled.span.withConfig({
13
13
  displayName: "StyledFileListItemTextInactive",
14
- componentId: "core-12_17_4__sc-7gltjc-2"
14
+ componentId: "core-12_17_6__sc-7gltjc-2"
15
15
  })(["cursor:pointer;"]);
16
16
  export var StyledFileListItemDownloadIcon = /*#__PURE__*/styled(LinkButton).withConfig({
17
17
  displayName: "StyledFileListItemDownloadIcon",
18
- componentId: "core-12_17_4__sc-7gltjc-3"
18
+ componentId: "core-12_17_6__sc-7gltjc-3"
19
19
  })(["margin-left:", "px;align-self:flex-start;"], spacing.sm);
20
20
  //# sourceMappingURL=FileList.styles.js.map
@@ -1,7 +1,7 @@
1
1
  var _excluded = ["maxFileNumber", "children", "onSubmit", "sources", "isOpen", "currentSource", "onCurrentSourceChange", "onCancel", "unsubmittedValueCount", "qa"];
2
- function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
3
- function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
4
- function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
2
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
3
+ function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
4
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
5
5
  import React from 'react';
6
6
  import { Button } from '../../Button/Button';
7
7
  import { Modal } from '../../Modal/Modal';
@@ -12,40 +12,40 @@ var modalContainerMaxHeight = 996;
12
12
  var modalContainerMargin = 80;
13
13
  export var StyledModalOverlay = /*#__PURE__*/styled(Modal.Overlay).withConfig({
14
14
  displayName: "StyledModalOverlay",
15
- componentId: "core-12_17_4__sc-343gts-0"
15
+ componentId: "core-12_17_6__sc-343gts-0"
16
16
  })(["opacity:0;pointer-events:none;transition:opacity 0.3s linear;visibility:hidden;", ""], function (props) {
17
17
  return props.$open && "\n opacity: 1;\n pointer-events: all;\n visibility: visible;\n ";
18
18
  });
19
19
  export var StyledModalContainer = /*#__PURE__*/styled(Modal.Container).withConfig({
20
20
  displayName: "StyledModalContainer",
21
- componentId: "core-12_17_4__sc-343gts-1"
21
+ componentId: "core-12_17_6__sc-343gts-1"
22
22
  })(["width:calc(100% - ", "px);height:calc(100% - ", "px);top:calc(50vh - ", "px);left:calc(50vw - ", "px);margin:", "px;min-width:", "px;min-height:", "px;max-width:", "px;max-height:", "px;"], modalContainerMargin * 2, modalContainerMargin * 2, modalContainerMargin, modalContainerMargin, modalContainerMargin, modalContainerMinWidth, modalContainerMinHeight, modalContainerMaxWidth, modalContainerMaxHeight);
23
23
  export var StyledModalBody = /*#__PURE__*/styled(Modal.Body).withConfig({
24
24
  displayName: "StyledModalBody",
25
- componentId: "core-12_17_4__sc-343gts-2"
25
+ componentId: "core-12_17_6__sc-343gts-2"
26
26
  })(["min-height:", "px;height:100%;margin:0;max-width:none;padding:0;border-bottom:1px solid ", ";"], modalBodyMinHeight, colors.gray85);
27
27
  export var StyledModalInnerBody = /*#__PURE__*/styled.div.withConfig({
28
28
  displayName: "StyledModalInnerBody",
29
- componentId: "core-12_17_4__sc-343gts-3"
29
+ componentId: "core-12_17_6__sc-343gts-3"
30
30
  })(["display:flex;flex-direction:row;height:100%;overflow:hidden;"]);
31
31
  export var StyledModalHeader = /*#__PURE__*/styled(Modal.Header).withConfig({
32
32
  displayName: "StyledModalHeader",
33
- componentId: "core-12_17_4__sc-343gts-4"
33
+ componentId: "core-12_17_6__sc-343gts-4"
34
34
  })(["border-bottom:1px solid ", ";"], colors.gray85);
35
35
  export var StyledModalContent = /*#__PURE__*/styled.div.withConfig({
36
36
  displayName: "StyledModalContent",
37
- componentId: "core-12_17_4__sc-343gts-5"
37
+ componentId: "core-12_17_6__sc-343gts-5"
38
38
  })(["display:flex;width:100%;height:100%;overflow-y:auto;outline:none;"]);
39
39
  export var StyledSource = /*#__PURE__*/styled.div.withConfig({
40
40
  displayName: "StyledSource",
41
- componentId: "core-12_17_4__sc-343gts-6"
41
+ componentId: "core-12_17_6__sc-343gts-6"
42
42
  })(["width:100%;height:100%;"]);
43
43
  export var StyledAttachButton = /*#__PURE__*/styled.div.withConfig({
44
44
  displayName: "StyledAttachButton",
45
- componentId: "core-12_17_4__sc-343gts-7"
45
+ componentId: "core-12_17_6__sc-343gts-7"
46
46
  })(["margin-left:", "px;"], spacing.md);
47
47
  export var StyledFileTreeSpinner = /*#__PURE__*/styled.div.withConfig({
48
48
  displayName: "StyledFileTreeSpinner",
49
- componentId: "core-12_17_4__sc-343gts-8"
49
+ componentId: "core-12_17_6__sc-343gts-8"
50
50
  })(["display:flex;align-items:center;justify-content:center;height:100%;"]);
51
51
  //# sourceMappingURL=FileExplorer.styles.js.map
@@ -1,7 +1,7 @@
1
1
  var _excluded = ["children", "onClickOverlay", "open", "placement"];
2
- function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
3
- function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
4
- function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
2
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
3
+ function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
4
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
5
5
  import React from 'react';
6
6
  import { Modal } from '../../Modal/Modal';
7
7
  import { Portal } from '../../Portal/Portal';
@@ -1,9 +1,9 @@
1
- function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
1
+ function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
2
2
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
3
- function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
4
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
5
- function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
6
- function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
3
+ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
4
+ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
5
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
6
+ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
7
7
  import React from 'react';
8
8
  import { StyledNavigation, StyledSidebar, StyledSourceItem } from './FileExplorerSidebar.styles';
9
9
  import { useSidebarNavigation } from './useSidebarNavigation';
@@ -3,14 +3,14 @@ import { colors } from '../../_styles/colors';
3
3
  import { SourceItem } from '../SourceItem/SourceItem';
4
4
  export var StyledSidebar = /*#__PURE__*/styled.div.withConfig({
5
5
  displayName: "StyledSidebar",
6
- componentId: "core-12_17_4__sc-s03uiv-0"
6
+ componentId: "core-12_17_6__sc-s03uiv-0"
7
7
  })(["display:flex;flex-shrink:0;width:300px;border-right:1px solid ", ";"], colors.gray85);
8
8
  export var StyledNavigation = /*#__PURE__*/styled.div.withConfig({
9
9
  displayName: "StyledNavigation",
10
- componentId: "core-12_17_4__sc-s03uiv-1"
10
+ componentId: "core-12_17_6__sc-s03uiv-1"
11
11
  })(["display:flex;flex-direction:column;width:100%;&:focus{outline:none;}"]);
12
12
  export var StyledSourceItem = /*#__PURE__*/styled(SourceItem).withConfig({
13
13
  displayName: "StyledSourceItem",
14
- componentId: "core-12_17_4__sc-s03uiv-2"
14
+ componentId: "core-12_17_6__sc-s03uiv-2"
15
15
  })(["width:100%;padding-left:10px;&:focus{padding-left:9px;}"]);
16
16
  //# sourceMappingURL=FileExplorerSidebar.styles.js.map
@@ -1,12 +1,12 @@
1
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
1
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
2
  var _excluded = ["selectedIndex"];
3
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
4
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
5
- function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
6
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
7
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
8
- function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
9
- function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
3
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
4
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
5
+ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
6
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
7
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
8
+ function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
9
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
10
10
  import { useListNavigation } from '../../_hooks/ListNavigation';
11
11
  export function useSidebarNavigation(_ref) {
12
12
  var selectedIndex = _ref.selectedIndex,
@@ -1,26 +1,26 @@
1
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
1
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
2
  var _excluded = ["onAdd", "beforeLocalFileUpload", "onRemove", "onProgress", "onUploadStateChange", "onError", "onFileTokenClick", "afterHide", "dropzoneContentRenderer", "hideDropzone", "getTokenLabel", "hideLocalSource", "localSourceDropzoneContentRenderer", "maxFileNumber", "maxFileSize", "minFileSize", "accept", "getEndpoint", "getMethod", "getPayloadKey", "getPayload", "getHeaders", "uploadFile", "children", "qa"];
3
- function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
4
- function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return { value: void 0, done: !0 }; } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable || "" === iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; return next.value = undefined, next.done = !0, next; }; return next.next = next; } } throw new TypeError(_typeof(iterable) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) keys.push(key); return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; }
5
- function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
3
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
4
+ function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: "normal", arg: t.call(e, r) }; } catch (t) { return { type: "throw", arg: t }; } } e.wrap = wrap; var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { ["next", "throw", "return"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if ("throw" !== c.type) { var u = c.arg, h = u.value; return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { invoke("next", t, i, a); }, function (t) { invoke("throw", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke("throw", t, i, a); }); } a(c.arg); } var r; o(this, "_invoke", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw Error("Generator is already running"); if (o === s) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var c = n.delegate; if (c) { var u = maybeInvokeDelegate(c, n); if (u) { if (u === y) continue; return u; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (o === h) throw o = s, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = f; var p = tryCatch(e, r, n); if ("normal" === p.type) { if (o = n.done ? s : l, p.arg === y) continue; return { value: p.arg, done: n.done }; } "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); } }; } function maybeInvokeDelegate(e, r) { var n = r.method, o = e.iterator[n]; if (o === t) return r.delegate = null, "throw" === n && e.iterator["return"] && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y; var i = tryCatch(o, e.iterator, r.arg); if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; var a = i.arg; return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y); } function pushTryEntry(t) { var e = { tryLoc: t[0] }; 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); } function resetTryEntry(t) { var e = t.completion || {}; e.type = "normal", delete e.arg, t.completion = e; } function Context(t) { this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(!0); } function values(e) { if (e || "" === e) { var r = e[a]; if (r) return r.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function next() { for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; return next.value = t, next.done = !0, next; }; return i.next = i; } } throw new TypeError(_typeof(e) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { var e = "function" == typeof t && t.constructor; return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); }, e.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; }, e.awrap = function (t) { return { __await: t }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { return this; }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(wrap(t, r, n, o), i); return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { return this; }), define(g, "toString", function () { return "[object Generator]"; }), e.keys = function (t) { var e = Object(t), r = []; for (var n in e) r.push(n); return r.reverse(), function next() { for (; r.length;) { var t = r.pop(); if (t in e) return next.value = t, next.done = !1, next; } return next.done = !0, next; }; }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) { if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0].completion; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(e) { if (this.done) throw e; var r = this; function handle(n, o) { return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i.completion; if ("root" === i.tryLoc) return handle("end"); if (i.tryLoc <= this.prev) { var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc"); if (c && u) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { if (!u) throw Error("try statement without catch or finally"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } } }, abrupt: function abrupt(t, e) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { var i = o; break; } } i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); var a = i ? i.completion : {}; return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); }, complete: function complete(t, e) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y; }, finish: function finish(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; } }, "catch": function _catch(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var o = n.arg; resetTryEntry(r); } return o; } } throw Error("illegal catch attempt"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, "next" === this.method && (this.arg = t), y; } }, e; }
5
+ function _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); }
6
6
  function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
7
- function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
8
- function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
9
- function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
10
- function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
11
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
12
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
13
- function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
14
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
15
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
16
- function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
7
+ function _iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
8
+ function _arrayWithoutHoles(r) { if (Array.isArray(r)) return _arrayLikeToArray(r); }
9
+ function asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); }
10
+ function _asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { asyncGeneratorStep(a, r, o, _next, _throw, "next", n); } function _throw(n) { asyncGeneratorStep(a, r, o, _next, _throw, "throw", n); } _next(void 0); }); }; }
11
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
12
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
13
+ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
14
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
15
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
16
+ function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
17
17
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
18
- function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
19
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
20
- function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
21
- function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
22
- function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
23
- function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
18
+ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
19
+ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
20
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
21
+ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
22
+ function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
23
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
24
24
  import React from 'react';
25
25
  import { ulid } from 'ulid';
26
26
  import { useI18nContext } from '../_hooks/I18n';
@@ -271,7 +271,7 @@ var FileSelectBase = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
271
271
  }
272
272
  }, _callee);
273
273
  }));
274
- return function onDrop(_x2) {
274
+ return function onDrop(_x) {
275
275
  return _ref2.apply(this, arguments);
276
276
  };
277
277
  }();