@bigbinary/neeto-molecules 1.1.10 → 1.1.11

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 (474) hide show
  1. package/dist/AutoSaveInput/autosaveinput.scss +15 -0
  2. package/dist/AutoSaveInput/constants.js +13 -0
  3. package/dist/AutoSaveInput/index.js +124 -0
  4. package/dist/AutoSaveInput/utils.js +10 -0
  5. package/dist/Breadcrumbs/breadcrumbs.scss +33 -0
  6. package/dist/Breadcrumbs/index.js +31 -0
  7. package/dist/BrowserSupport/Callout.js +15 -0
  8. package/dist/BrowserSupport/ContactUs.js +21 -0
  9. package/dist/BrowserSupport/DownloadLink.js +17 -0
  10. package/dist/BrowserSupport/PartialSupportedBrowserVersion.js +17 -0
  11. package/dist/BrowserSupport/UnknownBrowser.js +13 -0
  12. package/dist/BrowserSupport/UnsupportedBrowser.js +24 -0
  13. package/dist/BrowserSupport/UnsupportedBrowserMessage.js +22 -0
  14. package/dist/BrowserSupport/UnsupportedBrowserVersion.js +27 -0
  15. package/dist/BrowserSupport/UnsupportedVersionMessage.js +30 -0
  16. package/dist/BrowserSupport/browsersupport.scss +71 -0
  17. package/dist/BrowserSupport/constants.js +63 -0
  18. package/dist/BrowserSupport/index.js +58 -0
  19. package/dist/BrowserSupport/utils.js +32 -0
  20. package/dist/CalendarView/CustomDatePicker.js +87 -0
  21. package/dist/CalendarView/Header.js +53 -0
  22. package/dist/CalendarView/constants.js +19 -0
  23. package/dist/CalendarView/index.js +83 -0
  24. package/dist/CalendarView/utils.js +50 -0
  25. package/dist/Codeblock/index.js +30 -0
  26. package/dist/{Columns.js → Columns/index.js} +13 -130
  27. package/dist/Columns/utils.js +20 -0
  28. package/dist/ConfirmationModal/constants.js +3 -0
  29. package/dist/{ConfirmationModal.js → ConfirmationModal/index.js} +7 -23
  30. package/dist/ConfirmationModal/utils.js +10 -0
  31. package/dist/Container/container.scss +21 -0
  32. package/dist/Container/index.js +23 -0
  33. package/dist/CopyToClipboardButton/constants.js +13 -0
  34. package/dist/CopyToClipboardButton/copyToClipboard.scss +22 -0
  35. package/dist/CopyToClipboardButton/index.js +59 -0
  36. package/dist/CustomDomain/index.js +98 -0
  37. package/dist/CustomDomainDashboard/DeleteAlert.js +28 -0
  38. package/dist/CustomDomainDashboard/Header.js +32 -0
  39. package/dist/CustomDomainDashboard/Manage/Record.js +42 -0
  40. package/dist/CustomDomainDashboard/Manage/StatusInfo.js +21 -0
  41. package/dist/CustomDomainDashboard/Manage/TagBlock.js +36 -0
  42. package/dist/CustomDomainDashboard/Manage/constants.js +4 -0
  43. package/dist/CustomDomainDashboard/Manage/index.js +124 -0
  44. package/dist/CustomDomainDashboard/Manage/utils.js +8 -0
  45. package/dist/CustomDomainDashboard/api.js +35 -0
  46. package/dist/CustomDomainDashboard/constants.js +2 -0
  47. package/dist/CustomDomainDashboard/index.js +118 -0
  48. package/dist/CustomDomainDashboard/useCustomDomainApi.js +71 -0
  49. package/dist/CustomDomainDashboard/utils.js +84 -0
  50. package/dist/{DateFormat.js → DateFormat/index.js} +8 -25
  51. package/dist/DateRangeFilter/index.js +60 -0
  52. package/dist/DateRangeFilter/utils.js +113 -0
  53. package/dist/DynamicVariables/dynamic-variables.scss +34 -0
  54. package/dist/DynamicVariables/index.js +59 -0
  55. package/dist/DynamicVariables/utils.js +37 -0
  56. package/dist/EmailForm/EmailForm.js +97 -0
  57. package/dist/EmailForm/EmailFormProvider.js +45 -0
  58. package/dist/EmailForm/EmailPreview.js +129 -0
  59. package/dist/EmailForm/ReplyToField.js +55 -0
  60. package/dist/EmailForm/SendToField.js +27 -0
  61. package/dist/EmailForm/SubjectField.js +64 -0
  62. package/dist/EmailForm/constants.js +33 -0
  63. package/dist/EmailForm/contexts/EmailForm.js +7 -0
  64. package/dist/EmailForm/index.js +4 -0
  65. package/dist/EmailForm/utils.js +10 -0
  66. package/dist/EmailPreview/index.js +2 -0
  67. package/dist/{ErrorPage.js → ErrorPage/constants.js} +36 -175
  68. package/dist/ErrorPage/index.js +78 -0
  69. package/dist/Header/Breadcrumbs.js +31 -0
  70. package/dist/Header/Dropdown.js +12 -0
  71. package/dist/Header/constants.js +6 -0
  72. package/dist/Header/header.scss +121 -0
  73. package/dist/Header/index.js +61 -0
  74. package/dist/IconPicker/Icon.js +34 -0
  75. package/dist/IconPicker/NoResults.js +12 -0
  76. package/dist/IconPicker/constants.js +8 -0
  77. package/dist/IconPicker/icon-picker.scss +1 -0
  78. package/dist/IconPicker/index.js +164 -0
  79. package/dist/ImageWithFallback/ImagePlaceholder.js +16 -0
  80. package/dist/ImageWithFallback/index.js +31 -0
  81. package/dist/IntegrationCard/Dropdown.js +45 -0
  82. package/dist/IntegrationCard/Status.js +25 -0
  83. package/dist/IntegrationCard/index.js +128 -0
  84. package/dist/IntegrationDisconnectAlert/index.js +36 -0
  85. package/dist/{IntegrationWalkthroughModal.js → IntegrationWalkthroughModal/index.js} +6 -8
  86. package/dist/IpRestriction/AllowedIpRanges.js +72 -0
  87. package/dist/IpRestriction/CurrentIp.js +26 -0
  88. package/dist/IpRestriction/FormRow.js +77 -0
  89. package/dist/IpRestriction/Row.js +86 -0
  90. package/dist/IpRestriction/apis/allowed_ip_ranges.js +28 -0
  91. package/dist/IpRestriction/apis/current_ip.js +11 -0
  92. package/dist/IpRestriction/apis/ip_restriction.js +16 -0
  93. package/dist/IpRestriction/constants.js +11 -0
  94. package/dist/IpRestriction/hooks/reactQuery/useAllowedIpRanges.js +34 -0
  95. package/dist/IpRestriction/hooks/reactQuery/useCurrentIp.js +10 -0
  96. package/dist/IpRestriction/hooks/reactQuery/useIpRestrictions.js +18 -0
  97. package/dist/IpRestriction/index.js +102 -0
  98. package/dist/IpRestriction/utils.js +67 -0
  99. package/dist/KeyboardShortcuts/Pane/HotKey.js +44 -0
  100. package/dist/KeyboardShortcuts/Pane/HotKeyList.js +42 -0
  101. package/dist/KeyboardShortcuts/Pane/constants.js +25 -0
  102. package/dist/KeyboardShortcuts/Pane/index.js +61 -0
  103. package/dist/KeyboardShortcuts/Pane/keyboard-shortcuts.scss +5 -0
  104. package/dist/KeyboardShortcuts/Pane/utils.js +66 -0
  105. package/dist/KeyboardShortcuts/hooks/useKeyboardShortcutsPaneState.js +31 -0
  106. package/dist/KeyboardShortcuts/index.js +9 -0
  107. package/dist/LoginPage/Form.js +57 -0
  108. package/dist/LoginPage/constants.js +12 -0
  109. package/dist/LoginPage/index.js +103 -0
  110. package/dist/MenuBar/AddNew.js +25 -0
  111. package/dist/MenuBar/Block.js +60 -0
  112. package/dist/MenuBar/Item.js +32 -0
  113. package/dist/MenuBar/Search.js +39 -0
  114. package/dist/MenuBar/SubTitle.js +23 -0
  115. package/dist/MenuBar/index.js +46 -0
  116. package/dist/MenuBar/menubar.scss +154 -0
  117. package/dist/Metadata/Block.js +30 -0
  118. package/dist/Metadata/DetailsBlock.js +86 -0
  119. package/dist/Metadata/constants.js +9 -0
  120. package/dist/Metadata/index.js +29 -0
  121. package/dist/Metadata/metadata.scss +15 -0
  122. package/dist/MoreDropdown/constants.js +25 -0
  123. package/dist/{MoreDropdown.js → MoreDropdown/index.js} +9 -102
  124. package/dist/NavigationHeader/LeftBlock.js +32 -0
  125. package/dist/NavigationHeader/Navigation.js +24 -0
  126. package/dist/NavigationHeader/RightBlock.js +68 -0
  127. package/dist/NavigationHeader/constants.js +11 -0
  128. package/dist/NavigationHeader/index.js +19 -0
  129. package/dist/NavigationHeader/navigation-header.scss +3 -0
  130. package/dist/NeetoWidget/CodeBlock.js +57 -0
  131. package/dist/NeetoWidget/CodeSnippet.js +119 -0
  132. package/dist/NeetoWidget/EmbedCode.js +281 -0
  133. package/dist/NeetoWidget/Main.js +19 -0
  134. package/dist/NeetoWidget/SelectionSwitches/TooltipSwitch.js +25 -0
  135. package/dist/NeetoWidget/SelectionSwitches/index.js +44 -0
  136. package/dist/NeetoWidget/SyntaxHighlighter.js +17 -0
  137. package/dist/NeetoWidget/api.js +20 -0
  138. package/dist/NeetoWidget/constants.js +62 -0
  139. package/dist/NeetoWidget/hooks/useForceUpdate.js +14 -0
  140. package/dist/NeetoWidget/index.js +7 -0
  141. package/dist/NeetoWidget/mutations.js +9 -0
  142. package/dist/NeetoWidget/queries.js +32 -0
  143. package/dist/NeetoWidget/utils.js +83 -0
  144. package/dist/PageLoader/index.js +81 -0
  145. package/dist/PageLoader/page-loader.scss +95 -0
  146. package/dist/PhoneNumber/CountryPicker/SingleValue.js +21 -0
  147. package/dist/PhoneNumber/CountryPicker/constants.js +26 -0
  148. package/dist/PhoneNumber/CountryPicker/index.js +59 -0
  149. package/dist/PhoneNumber/FormikPhoneNumberInput.js +21 -0
  150. package/dist/PhoneNumber/PhoneNumber.js +30 -0
  151. package/dist/PhoneNumber/PhoneNumberInput.js +79 -0
  152. package/dist/PhoneNumber/index.js +5 -0
  153. package/dist/PhoneNumber/utils.js +55 -0
  154. package/dist/PublishBlock/AlertBlock.js +14 -0
  155. package/dist/PublishBlock/index.js +100 -0
  156. package/dist/PublishBlock/publish-block.scss +25 -0
  157. package/dist/Rename/DummySpan.js +21 -0
  158. package/dist/Rename/constants.js +1 -0
  159. package/dist/Rename/index.js +191 -0
  160. package/dist/Rename/rename.scss +69 -0
  161. package/dist/Rename/utils.js +10 -0
  162. package/dist/ResponsiveDevicePicker/constants.js +19 -0
  163. package/dist/ResponsiveDevicePicker/index.js +36 -0
  164. package/dist/Schedule/DisplayAvailability.js +58 -0
  165. package/dist/Schedule/Fields.js +43 -0
  166. package/dist/Schedule/Form/ScheduleRow.js +125 -0
  167. package/dist/Schedule/Form/constants.js +20 -0
  168. package/dist/Schedule/Form/index.js +144 -0
  169. package/dist/Schedule/Form/utils.js +63 -0
  170. package/dist/Schedule/Header.js +76 -0
  171. package/dist/Schedule/ScheduleContext.js +8 -0
  172. package/dist/Schedule/constants.js +8 -0
  173. package/dist/Schedule/dayjsExtended/constants.js +1 -0
  174. package/dist/Schedule/dayjsExtended/index.js +14 -0
  175. package/dist/Schedule/dayjsExtended/range.js +73 -0
  176. package/dist/Schedule/index.js +80 -0
  177. package/dist/Schedule/utils.js +152 -0
  178. package/dist/Scrollable/constants.js +8 -0
  179. package/dist/Scrollable/index.js +26 -0
  180. package/dist/Scrollable/scrollable.scss +32 -0
  181. package/dist/Security/AllowedKeywords/Add.js +38 -0
  182. package/dist/Security/AllowedKeywords/index.js +38 -0
  183. package/dist/Security/PasswordBlock.js +31 -0
  184. package/dist/Security/RadioBlock.js +38 -0
  185. package/dist/Security/api.js +12 -0
  186. package/dist/Security/constants.js +58 -0
  187. package/dist/Security/index.js +68 -0
  188. package/dist/Security/useSecurityApi.js +22 -0
  189. package/dist/Security/utils.js +31 -0
  190. package/dist/SendToFields/FilePicker.js +34 -0
  191. package/dist/SendToFields/constants.js +6 -0
  192. package/dist/SendToFields/index.js +102 -0
  193. package/dist/SendToFields/utils.js +54 -0
  194. package/dist/Settings/Category.js +30 -0
  195. package/dist/Settings/Item.js +38 -0
  196. package/dist/Settings/index.js +37 -0
  197. package/dist/Settings/utils.js +4 -0
  198. package/dist/ShareViaEmail/EmailBodyEditor.js +22 -0
  199. package/dist/ShareViaEmail/FilePicker.js +43 -0
  200. package/dist/ShareViaEmail/Form.js +101 -0
  201. package/dist/ShareViaEmail/FormikDatePicker.js +24 -0
  202. package/dist/ShareViaEmail/constants.js +14 -0
  203. package/dist/ShareViaEmail/index.js +89 -0
  204. package/dist/ShareViaEmail/utils.js +72 -0
  205. package/dist/ShareViaLink/EditURL.js +74 -0
  206. package/dist/ShareViaLink/Link.js +105 -0
  207. package/dist/ShareViaLink/QRCode.js +41 -0
  208. package/dist/ShareViaLink/RegenerateURL.js +47 -0
  209. package/dist/ShareViaLink/SocialMedia.js +52 -0
  210. package/dist/ShareViaLink/constants.js +25 -0
  211. package/dist/ShareViaLink/edit-url.scss +8 -0
  212. package/dist/ShareViaLink/index.js +46 -0
  213. package/dist/ShareViaLink/utils.js +47 -0
  214. package/dist/Sidebar/AppSwitcher/AppLink.js +45 -0
  215. package/dist/Sidebar/AppSwitcher/Backdrop.js +13 -0
  216. package/dist/Sidebar/AppSwitcher/Body.js +65 -0
  217. package/dist/Sidebar/AppSwitcher/Portal.js +27 -0
  218. package/dist/Sidebar/AppSwitcher/appswitcher.scss +164 -0
  219. package/dist/Sidebar/AppSwitcher/index.js +47 -0
  220. package/dist/Sidebar/AppSwitcher/utils.js +25 -0
  221. package/dist/Sidebar/Chevron.js +14 -0
  222. package/dist/Sidebar/FeaturedTooltip.js +19 -0
  223. package/dist/Sidebar/Footer/AppSwitcherButton.js +48 -0
  224. package/dist/Sidebar/Footer/ProfileButton.js +30 -0
  225. package/dist/Sidebar/Footer/index.js +56 -0
  226. package/dist/Sidebar/Footer/utils.js +39 -0
  227. package/dist/Sidebar/Header.js +33 -0
  228. package/dist/Sidebar/HelpSection/HelpSectionMenu.js +52 -0
  229. package/dist/Sidebar/HelpSection/index.js +32 -0
  230. package/dist/Sidebar/Links.js +112 -0
  231. package/dist/Sidebar/NavIconWrapper.js +20 -0
  232. package/dist/Sidebar/ProfileSection/LinkSection.js +36 -0
  233. package/dist/Sidebar/ProfileSection/ProfileMenu.js +48 -0
  234. package/dist/Sidebar/ProfileSection/index.js +42 -0
  235. package/dist/Sidebar/constants.js +40 -0
  236. package/dist/Sidebar/index.js +94 -0
  237. package/dist/Sidebar/sidebar.scss +379 -0
  238. package/dist/Sidebar/utils.js +18 -0
  239. package/dist/SubHeader/RightBlock/Columns.js +35 -0
  240. package/dist/SubHeader/RightBlock/Download.js +28 -0
  241. package/dist/SubHeader/RightBlock/Filter.js +31 -0
  242. package/dist/SubHeader/RightBlock/index.js +21 -0
  243. package/dist/SubHeader/RightBlock/utils.js +13 -0
  244. package/dist/SubHeader/index.js +28 -0
  245. package/dist/SubHeader/subheader.scss +78 -0
  246. package/dist/TableWrapper/index.js +18 -0
  247. package/dist/ThemeSidebar/Customize/Logo.js +39 -0
  248. package/dist/ThemeSidebar/Customize/Properties.js +170 -0
  249. package/dist/ThemeSidebar/Customize/index.js +66 -0
  250. package/dist/ThemeSidebar/Themes/ThemeCard.js +135 -0
  251. package/dist/ThemeSidebar/Themes/index.js +110 -0
  252. package/dist/ThemeSidebar/TitleBar.js +62 -0
  253. package/dist/ThemeSidebar/constants.js +127 -0
  254. package/dist/ThemeSidebar/fields/AlignmentBlock.js +50 -0
  255. package/dist/ThemeSidebar/fields/Card.js +19 -0
  256. package/dist/ThemeSidebar/fields/ColorBlock.js +19 -0
  257. package/dist/ThemeSidebar/fields/FontPickerBlock.js +35 -0
  258. package/dist/ThemeSidebar/fields/ImageBlock/ImageUploader.js +67 -0
  259. package/dist/ThemeSidebar/fields/ImageBlock/ProgressBar.js +22 -0
  260. package/dist/ThemeSidebar/fields/ImageBlock/index.js +55 -0
  261. package/dist/ThemeSidebar/fields/SelectBlock.js +24 -0
  262. package/dist/ThemeSidebar/fields/SliderBlock.js +30 -0
  263. package/dist/ThemeSidebar/fields/SwitchBlock.js +17 -0
  264. package/dist/ThemeSidebar/fields/TextBlock.js +13 -0
  265. package/dist/ThemeSidebar/fields/slider.scss +199 -0
  266. package/dist/ThemeSidebar/hooks/useDirectUploadDropzone.js +149 -0
  267. package/dist/ThemeSidebar/index.js +118 -0
  268. package/dist/ThemeSidebar/themeSidebar.scss +45 -0
  269. package/dist/ThemeSidebar/utils.js +169 -0
  270. package/dist/TimeFormat/index.js +3 -0
  271. package/dist/TimezoneMismatchModal/apis/time_zone.js +9 -0
  272. package/dist/TimezoneMismatchModal/index.js +83 -0
  273. package/dist/TimezoneMismatchModal/useTimeZoneApi.js +10 -0
  274. package/dist/TimezoneMismatchModal/utils.js +12 -0
  275. package/dist/ToggleFeatureCard/ToolTipSwitch.js +31 -0
  276. package/dist/ToggleFeatureCard/constants.js +5 -0
  277. package/dist/ToggleFeatureCard/hooks/useScrollIntoView.js +11 -0
  278. package/dist/ToggleFeatureCard/index.js +148 -0
  279. package/dist/ToggleFeatureCard/toggleFeatureCard.scss +4 -0
  280. package/package.json +27 -34
  281. package/dist/AutoSaveInput.cjs.js +0 -724
  282. package/dist/AutoSaveInput.cjs.js.map +0 -1
  283. package/dist/AutoSaveInput.js +0 -718
  284. package/dist/AutoSaveInput.js.map +0 -1
  285. package/dist/Breadcrumbs.cjs.js +0 -44
  286. package/dist/Breadcrumbs.cjs.js.map +0 -1
  287. package/dist/Breadcrumbs.js +0 -38
  288. package/dist/Breadcrumbs.js.map +0 -1
  289. package/dist/BrowserSupport.cjs.js +0 -1731
  290. package/dist/BrowserSupport.cjs.js.map +0 -1
  291. package/dist/BrowserSupport.js +0 -1725
  292. package/dist/BrowserSupport.js.map +0 -1
  293. package/dist/CalendarView.cjs.js +0 -610
  294. package/dist/CalendarView.cjs.js.map +0 -1
  295. package/dist/CalendarView.js +0 -598
  296. package/dist/CalendarView.js.map +0 -1
  297. package/dist/Codeblock.cjs.js +0 -302
  298. package/dist/Codeblock.cjs.js.map +0 -1
  299. package/dist/Codeblock.js +0 -296
  300. package/dist/Codeblock.js.map +0 -1
  301. package/dist/Columns.cjs.js +0 -248
  302. package/dist/Columns.cjs.js.map +0 -1
  303. package/dist/Columns.js.map +0 -1
  304. package/dist/ConfirmationModal.cjs.js +0 -87
  305. package/dist/ConfirmationModal.cjs.js.map +0 -1
  306. package/dist/ConfirmationModal.js.map +0 -1
  307. package/dist/Container.cjs.js +0 -1277
  308. package/dist/Container.cjs.js.map +0 -1
  309. package/dist/Container.js +0 -1271
  310. package/dist/Container.js.map +0 -1
  311. package/dist/CopyToClipboardButton.cjs.js +0 -275
  312. package/dist/CopyToClipboardButton.cjs.js.map +0 -1
  313. package/dist/CopyToClipboardButton.js +0 -269
  314. package/dist/CopyToClipboardButton.js.map +0 -1
  315. package/dist/CustomDomain.cjs.js +0 -774
  316. package/dist/CustomDomain.cjs.js.map +0 -1
  317. package/dist/CustomDomain.js +0 -747
  318. package/dist/CustomDomain.js.map +0 -1
  319. package/dist/CustomDomainDashboard.cjs.js +0 -2370
  320. package/dist/CustomDomainDashboard.cjs.js.map +0 -1
  321. package/dist/CustomDomainDashboard.js +0 -2342
  322. package/dist/CustomDomainDashboard.js.map +0 -1
  323. package/dist/DateFormat.cjs.js +0 -51
  324. package/dist/DateFormat.cjs.js.map +0 -1
  325. package/dist/DateFormat.js.map +0 -1
  326. package/dist/DateRangeFilter.cjs.js +0 -236
  327. package/dist/DateRangeFilter.cjs.js.map +0 -1
  328. package/dist/DateRangeFilter.js +0 -229
  329. package/dist/DateRangeFilter.js.map +0 -1
  330. package/dist/DynamicVariables.cjs.js +0 -189
  331. package/dist/DynamicVariables.cjs.js.map +0 -1
  332. package/dist/DynamicVariables.js +0 -183
  333. package/dist/DynamicVariables.js.map +0 -1
  334. package/dist/EmailForm.cjs.js +0 -4295
  335. package/dist/EmailForm.cjs.js.map +0 -1
  336. package/dist/EmailForm.js +0 -4265
  337. package/dist/EmailForm.js.map +0 -1
  338. package/dist/EmailPreview.cjs.js +0 -1419
  339. package/dist/EmailPreview.cjs.js.map +0 -1
  340. package/dist/EmailPreview.js +0 -1413
  341. package/dist/EmailPreview.js.map +0 -1
  342. package/dist/ErrorPage.cjs.js +0 -226
  343. package/dist/ErrorPage.cjs.js.map +0 -1
  344. package/dist/ErrorPage.js.map +0 -1
  345. package/dist/Header.cjs.js +0 -188
  346. package/dist/Header.cjs.js.map +0 -1
  347. package/dist/Header.js +0 -182
  348. package/dist/Header.js.map +0 -1
  349. package/dist/IconPicker.cjs.js +0 -1308
  350. package/dist/IconPicker.cjs.js.map +0 -1
  351. package/dist/IconPicker.js +0 -1302
  352. package/dist/IconPicker.js.map +0 -1
  353. package/dist/ImageWithFallback.cjs.js +0 -247
  354. package/dist/ImageWithFallback.cjs.js.map +0 -1
  355. package/dist/ImageWithFallback.js +0 -241
  356. package/dist/ImageWithFallback.js.map +0 -1
  357. package/dist/IntegrationCard.cjs.js +0 -409
  358. package/dist/IntegrationCard.cjs.js.map +0 -1
  359. package/dist/IntegrationCard.js +0 -403
  360. package/dist/IntegrationCard.js.map +0 -1
  361. package/dist/IntegrationDisconnectAlert.cjs.js +0 -89
  362. package/dist/IntegrationDisconnectAlert.cjs.js.map +0 -1
  363. package/dist/IntegrationDisconnectAlert.js +0 -80
  364. package/dist/IntegrationDisconnectAlert.js.map +0 -1
  365. package/dist/IntegrationWalkthroughModal.cjs.js +0 -50
  366. package/dist/IntegrationWalkthroughModal.cjs.js.map +0 -1
  367. package/dist/IntegrationWalkthroughModal.js.map +0 -1
  368. package/dist/IpRestriction.cjs.js +0 -3931
  369. package/dist/IpRestriction.cjs.js.map +0 -1
  370. package/dist/IpRestriction.js +0 -3905
  371. package/dist/IpRestriction.js.map +0 -1
  372. package/dist/KeyboardShortcuts.cjs.js +0 -2263
  373. package/dist/KeyboardShortcuts.cjs.js.map +0 -1
  374. package/dist/KeyboardShortcuts.js +0 -2256
  375. package/dist/KeyboardShortcuts.js.map +0 -1
  376. package/dist/LoginPage.cjs.js +0 -618
  377. package/dist/LoginPage.cjs.js.map +0 -1
  378. package/dist/LoginPage.js +0 -593
  379. package/dist/LoginPage.js.map +0 -1
  380. package/dist/MenuBar.cjs.js +0 -34273
  381. package/dist/MenuBar.cjs.js.map +0 -1
  382. package/dist/MenuBar.js +0 -34267
  383. package/dist/MenuBar.js.map +0 -1
  384. package/dist/Metadata.cjs.js +0 -272
  385. package/dist/Metadata.cjs.js.map +0 -1
  386. package/dist/Metadata.js +0 -266
  387. package/dist/Metadata.js.map +0 -1
  388. package/dist/MoreDropdown.cjs.js +0 -168
  389. package/dist/MoreDropdown.cjs.js.map +0 -1
  390. package/dist/MoreDropdown.js.map +0 -1
  391. package/dist/NavigationHeader.cjs.js +0 -756
  392. package/dist/NavigationHeader.cjs.js.map +0 -1
  393. package/dist/NavigationHeader.js +0 -750
  394. package/dist/NavigationHeader.js.map +0 -1
  395. package/dist/NeetoWidget.cjs.js +0 -3375
  396. package/dist/NeetoWidget.cjs.js.map +0 -1
  397. package/dist/NeetoWidget.js +0 -3348
  398. package/dist/NeetoWidget.js.map +0 -1
  399. package/dist/PageLoader.cjs.js +0 -158
  400. package/dist/PageLoader.cjs.js.map +0 -1
  401. package/dist/PageLoader.js +0 -134
  402. package/dist/PageLoader.js.map +0 -1
  403. package/dist/PhoneNumber.cjs.js +0 -7021
  404. package/dist/PhoneNumber.cjs.js.map +0 -1
  405. package/dist/PhoneNumber.js +0 -6989
  406. package/dist/PhoneNumber.js.map +0 -1
  407. package/dist/PublishBlock.cjs.js +0 -224
  408. package/dist/PublishBlock.cjs.js.map +0 -1
  409. package/dist/PublishBlock.js +0 -218
  410. package/dist/PublishBlock.js.map +0 -1
  411. package/dist/Rename.cjs.js +0 -516
  412. package/dist/Rename.cjs.js.map +0 -1
  413. package/dist/Rename.js +0 -510
  414. package/dist/Rename.js.map +0 -1
  415. package/dist/ResponsiveDevicePicker.cjs.js +0 -260
  416. package/dist/ResponsiveDevicePicker.cjs.js.map +0 -1
  417. package/dist/ResponsiveDevicePicker.js +0 -254
  418. package/dist/ResponsiveDevicePicker.js.map +0 -1
  419. package/dist/Schedule.cjs.js +0 -1077
  420. package/dist/Schedule.cjs.js.map +0 -1
  421. package/dist/Schedule.js +0 -1046
  422. package/dist/Schedule.js.map +0 -1
  423. package/dist/Scrollable.cjs.js +0 -188
  424. package/dist/Scrollable.cjs.js.map +0 -1
  425. package/dist/Scrollable.js +0 -182
  426. package/dist/Scrollable.js.map +0 -1
  427. package/dist/Security.cjs.js +0 -1921
  428. package/dist/Security.cjs.js.map +0 -1
  429. package/dist/Security.js +0 -1895
  430. package/dist/Security.js.map +0 -1
  431. package/dist/SendToFields.cjs.js +0 -2524
  432. package/dist/SendToFields.cjs.js.map +0 -1
  433. package/dist/SendToFields.js +0 -2517
  434. package/dist/SendToFields.js.map +0 -1
  435. package/dist/Settings.cjs.js +0 -501
  436. package/dist/Settings.cjs.js.map +0 -1
  437. package/dist/Settings.js +0 -495
  438. package/dist/Settings.js.map +0 -1
  439. package/dist/ShareViaEmail.cjs.js +0 -4272
  440. package/dist/ShareViaEmail.cjs.js.map +0 -1
  441. package/dist/ShareViaEmail.js +0 -4246
  442. package/dist/ShareViaEmail.js.map +0 -1
  443. package/dist/ShareViaLink.cjs.js +0 -1512
  444. package/dist/ShareViaLink.cjs.js.map +0 -1
  445. package/dist/ShareViaLink.js +0 -1486
  446. package/dist/ShareViaLink.js.map +0 -1
  447. package/dist/Sidebar.cjs.js +0 -34985
  448. package/dist/Sidebar.cjs.js.map +0 -1
  449. package/dist/Sidebar.js +0 -34959
  450. package/dist/Sidebar.js.map +0 -1
  451. package/dist/SubHeader.cjs.js +0 -283
  452. package/dist/SubHeader.cjs.js.map +0 -1
  453. package/dist/SubHeader.js +0 -276
  454. package/dist/SubHeader.js.map +0 -1
  455. package/dist/TableWrapper.cjs.js +0 -87
  456. package/dist/TableWrapper.cjs.js.map +0 -1
  457. package/dist/TableWrapper.js +0 -81
  458. package/dist/TableWrapper.js.map +0 -1
  459. package/dist/ThemeSidebar.cjs.js +0 -13705
  460. package/dist/ThemeSidebar.cjs.js.map +0 -1
  461. package/dist/ThemeSidebar.js +0 -13680
  462. package/dist/ThemeSidebar.js.map +0 -1
  463. package/dist/TimeFormat.cjs.js +0 -53
  464. package/dist/TimeFormat.cjs.js.map +0 -1
  465. package/dist/TimeFormat.js +0 -47
  466. package/dist/TimeFormat.js.map +0 -1
  467. package/dist/TimezoneMismatchModal.cjs.js +0 -176
  468. package/dist/TimezoneMismatchModal.cjs.js.map +0 -1
  469. package/dist/TimezoneMismatchModal.js +0 -168
  470. package/dist/TimezoneMismatchModal.js.map +0 -1
  471. package/dist/ToggleFeatureCard.cjs.js +0 -389
  472. package/dist/ToggleFeatureCard.cjs.js.map +0 -1
  473. package/dist/ToggleFeatureCard.js +0 -383
  474. package/dist/ToggleFeatureCard.js.map +0 -1
@@ -1,1277 +0,0 @@
1
- 'use strict';
2
-
3
- var React = require('react');
4
-
5
- function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
6
-
7
- var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
8
-
9
- var classnames$1 = {exports: {}};
10
-
11
- /*!
12
- Copyright (c) 2018 Jed Watson.
13
- Licensed under the MIT License (MIT), see
14
- http://jedwatson.github.io/classnames
15
- */
16
-
17
- (function (module) {
18
- /* global define */
19
-
20
- (function () {
21
-
22
- var hasOwn = {}.hasOwnProperty;
23
-
24
- function classNames() {
25
- var classes = [];
26
-
27
- for (var i = 0; i < arguments.length; i++) {
28
- var arg = arguments[i];
29
- if (!arg) continue;
30
-
31
- var argType = typeof arg;
32
-
33
- if (argType === 'string' || argType === 'number') {
34
- classes.push(arg);
35
- } else if (Array.isArray(arg)) {
36
- if (arg.length) {
37
- var inner = classNames.apply(null, arg);
38
- if (inner) {
39
- classes.push(inner);
40
- }
41
- }
42
- } else if (argType === 'object') {
43
- if (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {
44
- classes.push(arg.toString());
45
- continue;
46
- }
47
-
48
- for (var key in arg) {
49
- if (hasOwn.call(arg, key) && arg[key]) {
50
- classes.push(key);
51
- }
52
- }
53
- }
54
- }
55
-
56
- return classes.join(' ');
57
- }
58
-
59
- if (module.exports) {
60
- classNames.default = classNames;
61
- module.exports = classNames;
62
- } else {
63
- window.classNames = classNames;
64
- }
65
- }());
66
- } (classnames$1));
67
-
68
- var classnames = classnames$1.exports;
69
-
70
- var propTypes = {exports: {}};
71
-
72
- var reactIs = {exports: {}};
73
-
74
- var reactIs_production_min = {};
75
-
76
- /** @license React v16.13.1
77
- * react-is.production.min.js
78
- *
79
- * Copyright (c) Facebook, Inc. and its affiliates.
80
- *
81
- * This source code is licensed under the MIT license found in the
82
- * LICENSE file in the root directory of this source tree.
83
- */
84
-
85
- var hasRequiredReactIs_production_min;
86
-
87
- function requireReactIs_production_min () {
88
- if (hasRequiredReactIs_production_min) return reactIs_production_min;
89
- hasRequiredReactIs_production_min = 1;
90
- var b="function"===typeof Symbol&&Symbol.for,c=b?Symbol.for("react.element"):60103,d=b?Symbol.for("react.portal"):60106,e=b?Symbol.for("react.fragment"):60107,f=b?Symbol.for("react.strict_mode"):60108,g=b?Symbol.for("react.profiler"):60114,h=b?Symbol.for("react.provider"):60109,k=b?Symbol.for("react.context"):60110,l=b?Symbol.for("react.async_mode"):60111,m=b?Symbol.for("react.concurrent_mode"):60111,n=b?Symbol.for("react.forward_ref"):60112,p=b?Symbol.for("react.suspense"):60113,q=b?
91
- Symbol.for("react.suspense_list"):60120,r=b?Symbol.for("react.memo"):60115,t=b?Symbol.for("react.lazy"):60116,v=b?Symbol.for("react.block"):60121,w=b?Symbol.for("react.fundamental"):60117,x=b?Symbol.for("react.responder"):60118,y=b?Symbol.for("react.scope"):60119;
92
- function z(a){if("object"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case t:case r:case h:return a;default:return u}}case d:return u}}}function A(a){return z(a)===m}reactIs_production_min.AsyncMode=l;reactIs_production_min.ConcurrentMode=m;reactIs_production_min.ContextConsumer=k;reactIs_production_min.ContextProvider=h;reactIs_production_min.Element=c;reactIs_production_min.ForwardRef=n;reactIs_production_min.Fragment=e;reactIs_production_min.Lazy=t;reactIs_production_min.Memo=r;reactIs_production_min.Portal=d;
93
- reactIs_production_min.Profiler=g;reactIs_production_min.StrictMode=f;reactIs_production_min.Suspense=p;reactIs_production_min.isAsyncMode=function(a){return A(a)||z(a)===l};reactIs_production_min.isConcurrentMode=A;reactIs_production_min.isContextConsumer=function(a){return z(a)===k};reactIs_production_min.isContextProvider=function(a){return z(a)===h};reactIs_production_min.isElement=function(a){return "object"===typeof a&&null!==a&&a.$$typeof===c};reactIs_production_min.isForwardRef=function(a){return z(a)===n};reactIs_production_min.isFragment=function(a){return z(a)===e};reactIs_production_min.isLazy=function(a){return z(a)===t};
94
- reactIs_production_min.isMemo=function(a){return z(a)===r};reactIs_production_min.isPortal=function(a){return z(a)===d};reactIs_production_min.isProfiler=function(a){return z(a)===g};reactIs_production_min.isStrictMode=function(a){return z(a)===f};reactIs_production_min.isSuspense=function(a){return z(a)===p};
95
- reactIs_production_min.isValidElementType=function(a){return "string"===typeof a||"function"===typeof a||a===e||a===m||a===g||a===f||a===p||a===q||"object"===typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n||a.$$typeof===w||a.$$typeof===x||a.$$typeof===y||a.$$typeof===v)};reactIs_production_min.typeOf=z;
96
- return reactIs_production_min;
97
- }
98
-
99
- var reactIs_development = {};
100
-
101
- /** @license React v16.13.1
102
- * react-is.development.js
103
- *
104
- * Copyright (c) Facebook, Inc. and its affiliates.
105
- *
106
- * This source code is licensed under the MIT license found in the
107
- * LICENSE file in the root directory of this source tree.
108
- */
109
-
110
- var hasRequiredReactIs_development;
111
-
112
- function requireReactIs_development () {
113
- if (hasRequiredReactIs_development) return reactIs_development;
114
- hasRequiredReactIs_development = 1;
115
-
116
-
117
-
118
- if (process.env.NODE_ENV !== "production") {
119
- (function() {
120
-
121
- // The Symbol used to tag the ReactElement-like types. If there is no native Symbol
122
- // nor polyfill, then a plain number is used for performance.
123
- var hasSymbol = typeof Symbol === 'function' && Symbol.for;
124
- var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;
125
- var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;
126
- var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;
127
- var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;
128
- var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;
129
- var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;
130
- var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary
131
- // (unstable) APIs that have been removed. Can we remove the symbols?
132
-
133
- var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;
134
- var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;
135
- var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;
136
- var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;
137
- var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;
138
- var REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;
139
- var REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;
140
- var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;
141
- var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;
142
- var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;
143
- var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;
144
-
145
- function isValidElementType(type) {
146
- return typeof type === 'string' || typeof type === 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
147
- type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);
148
- }
149
-
150
- function typeOf(object) {
151
- if (typeof object === 'object' && object !== null) {
152
- var $$typeof = object.$$typeof;
153
-
154
- switch ($$typeof) {
155
- case REACT_ELEMENT_TYPE:
156
- var type = object.type;
157
-
158
- switch (type) {
159
- case REACT_ASYNC_MODE_TYPE:
160
- case REACT_CONCURRENT_MODE_TYPE:
161
- case REACT_FRAGMENT_TYPE:
162
- case REACT_PROFILER_TYPE:
163
- case REACT_STRICT_MODE_TYPE:
164
- case REACT_SUSPENSE_TYPE:
165
- return type;
166
-
167
- default:
168
- var $$typeofType = type && type.$$typeof;
169
-
170
- switch ($$typeofType) {
171
- case REACT_CONTEXT_TYPE:
172
- case REACT_FORWARD_REF_TYPE:
173
- case REACT_LAZY_TYPE:
174
- case REACT_MEMO_TYPE:
175
- case REACT_PROVIDER_TYPE:
176
- return $$typeofType;
177
-
178
- default:
179
- return $$typeof;
180
- }
181
-
182
- }
183
-
184
- case REACT_PORTAL_TYPE:
185
- return $$typeof;
186
- }
187
- }
188
-
189
- return undefined;
190
- } // AsyncMode is deprecated along with isAsyncMode
191
-
192
- var AsyncMode = REACT_ASYNC_MODE_TYPE;
193
- var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
194
- var ContextConsumer = REACT_CONTEXT_TYPE;
195
- var ContextProvider = REACT_PROVIDER_TYPE;
196
- var Element = REACT_ELEMENT_TYPE;
197
- var ForwardRef = REACT_FORWARD_REF_TYPE;
198
- var Fragment = REACT_FRAGMENT_TYPE;
199
- var Lazy = REACT_LAZY_TYPE;
200
- var Memo = REACT_MEMO_TYPE;
201
- var Portal = REACT_PORTAL_TYPE;
202
- var Profiler = REACT_PROFILER_TYPE;
203
- var StrictMode = REACT_STRICT_MODE_TYPE;
204
- var Suspense = REACT_SUSPENSE_TYPE;
205
- var hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated
206
-
207
- function isAsyncMode(object) {
208
- {
209
- if (!hasWarnedAboutDeprecatedIsAsyncMode) {
210
- hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint
211
-
212
- console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 17+. Update your code to use ' + 'ReactIs.isConcurrentMode() instead. It has the exact same API.');
213
- }
214
- }
215
-
216
- return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;
217
- }
218
- function isConcurrentMode(object) {
219
- return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;
220
- }
221
- function isContextConsumer(object) {
222
- return typeOf(object) === REACT_CONTEXT_TYPE;
223
- }
224
- function isContextProvider(object) {
225
- return typeOf(object) === REACT_PROVIDER_TYPE;
226
- }
227
- function isElement(object) {
228
- return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
229
- }
230
- function isForwardRef(object) {
231
- return typeOf(object) === REACT_FORWARD_REF_TYPE;
232
- }
233
- function isFragment(object) {
234
- return typeOf(object) === REACT_FRAGMENT_TYPE;
235
- }
236
- function isLazy(object) {
237
- return typeOf(object) === REACT_LAZY_TYPE;
238
- }
239
- function isMemo(object) {
240
- return typeOf(object) === REACT_MEMO_TYPE;
241
- }
242
- function isPortal(object) {
243
- return typeOf(object) === REACT_PORTAL_TYPE;
244
- }
245
- function isProfiler(object) {
246
- return typeOf(object) === REACT_PROFILER_TYPE;
247
- }
248
- function isStrictMode(object) {
249
- return typeOf(object) === REACT_STRICT_MODE_TYPE;
250
- }
251
- function isSuspense(object) {
252
- return typeOf(object) === REACT_SUSPENSE_TYPE;
253
- }
254
-
255
- reactIs_development.AsyncMode = AsyncMode;
256
- reactIs_development.ConcurrentMode = ConcurrentMode;
257
- reactIs_development.ContextConsumer = ContextConsumer;
258
- reactIs_development.ContextProvider = ContextProvider;
259
- reactIs_development.Element = Element;
260
- reactIs_development.ForwardRef = ForwardRef;
261
- reactIs_development.Fragment = Fragment;
262
- reactIs_development.Lazy = Lazy;
263
- reactIs_development.Memo = Memo;
264
- reactIs_development.Portal = Portal;
265
- reactIs_development.Profiler = Profiler;
266
- reactIs_development.StrictMode = StrictMode;
267
- reactIs_development.Suspense = Suspense;
268
- reactIs_development.isAsyncMode = isAsyncMode;
269
- reactIs_development.isConcurrentMode = isConcurrentMode;
270
- reactIs_development.isContextConsumer = isContextConsumer;
271
- reactIs_development.isContextProvider = isContextProvider;
272
- reactIs_development.isElement = isElement;
273
- reactIs_development.isForwardRef = isForwardRef;
274
- reactIs_development.isFragment = isFragment;
275
- reactIs_development.isLazy = isLazy;
276
- reactIs_development.isMemo = isMemo;
277
- reactIs_development.isPortal = isPortal;
278
- reactIs_development.isProfiler = isProfiler;
279
- reactIs_development.isStrictMode = isStrictMode;
280
- reactIs_development.isSuspense = isSuspense;
281
- reactIs_development.isValidElementType = isValidElementType;
282
- reactIs_development.typeOf = typeOf;
283
- })();
284
- }
285
- return reactIs_development;
286
- }
287
-
288
- var hasRequiredReactIs;
289
-
290
- function requireReactIs () {
291
- if (hasRequiredReactIs) return reactIs.exports;
292
- hasRequiredReactIs = 1;
293
- (function (module) {
294
-
295
- if (process.env.NODE_ENV === 'production') {
296
- module.exports = requireReactIs_production_min();
297
- } else {
298
- module.exports = requireReactIs_development();
299
- }
300
- } (reactIs));
301
- return reactIs.exports;
302
- }
303
-
304
- /*
305
- object-assign
306
- (c) Sindre Sorhus
307
- @license MIT
308
- */
309
-
310
- var objectAssign;
311
- var hasRequiredObjectAssign;
312
-
313
- function requireObjectAssign () {
314
- if (hasRequiredObjectAssign) return objectAssign;
315
- hasRequiredObjectAssign = 1;
316
- /* eslint-disable no-unused-vars */
317
- var getOwnPropertySymbols = Object.getOwnPropertySymbols;
318
- var hasOwnProperty = Object.prototype.hasOwnProperty;
319
- var propIsEnumerable = Object.prototype.propertyIsEnumerable;
320
-
321
- function toObject(val) {
322
- if (val === null || val === undefined) {
323
- throw new TypeError('Object.assign cannot be called with null or undefined');
324
- }
325
-
326
- return Object(val);
327
- }
328
-
329
- function shouldUseNative() {
330
- try {
331
- if (!Object.assign) {
332
- return false;
333
- }
334
-
335
- // Detect buggy property enumeration order in older V8 versions.
336
-
337
- // https://bugs.chromium.org/p/v8/issues/detail?id=4118
338
- var test1 = new String('abc'); // eslint-disable-line no-new-wrappers
339
- test1[5] = 'de';
340
- if (Object.getOwnPropertyNames(test1)[0] === '5') {
341
- return false;
342
- }
343
-
344
- // https://bugs.chromium.org/p/v8/issues/detail?id=3056
345
- var test2 = {};
346
- for (var i = 0; i < 10; i++) {
347
- test2['_' + String.fromCharCode(i)] = i;
348
- }
349
- var order2 = Object.getOwnPropertyNames(test2).map(function (n) {
350
- return test2[n];
351
- });
352
- if (order2.join('') !== '0123456789') {
353
- return false;
354
- }
355
-
356
- // https://bugs.chromium.org/p/v8/issues/detail?id=3056
357
- var test3 = {};
358
- 'abcdefghijklmnopqrst'.split('').forEach(function (letter) {
359
- test3[letter] = letter;
360
- });
361
- if (Object.keys(Object.assign({}, test3)).join('') !==
362
- 'abcdefghijklmnopqrst') {
363
- return false;
364
- }
365
-
366
- return true;
367
- } catch (err) {
368
- // We don't expect any of the above to throw, but better to be safe.
369
- return false;
370
- }
371
- }
372
-
373
- objectAssign = shouldUseNative() ? Object.assign : function (target, source) {
374
- var from;
375
- var to = toObject(target);
376
- var symbols;
377
-
378
- for (var s = 1; s < arguments.length; s++) {
379
- from = Object(arguments[s]);
380
-
381
- for (var key in from) {
382
- if (hasOwnProperty.call(from, key)) {
383
- to[key] = from[key];
384
- }
385
- }
386
-
387
- if (getOwnPropertySymbols) {
388
- symbols = getOwnPropertySymbols(from);
389
- for (var i = 0; i < symbols.length; i++) {
390
- if (propIsEnumerable.call(from, symbols[i])) {
391
- to[symbols[i]] = from[symbols[i]];
392
- }
393
- }
394
- }
395
- }
396
-
397
- return to;
398
- };
399
- return objectAssign;
400
- }
401
-
402
- /**
403
- * Copyright (c) 2013-present, Facebook, Inc.
404
- *
405
- * This source code is licensed under the MIT license found in the
406
- * LICENSE file in the root directory of this source tree.
407
- */
408
-
409
- var ReactPropTypesSecret_1;
410
- var hasRequiredReactPropTypesSecret;
411
-
412
- function requireReactPropTypesSecret () {
413
- if (hasRequiredReactPropTypesSecret) return ReactPropTypesSecret_1;
414
- hasRequiredReactPropTypesSecret = 1;
415
-
416
- var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
417
-
418
- ReactPropTypesSecret_1 = ReactPropTypesSecret;
419
- return ReactPropTypesSecret_1;
420
- }
421
-
422
- var has;
423
- var hasRequiredHas;
424
-
425
- function requireHas () {
426
- if (hasRequiredHas) return has;
427
- hasRequiredHas = 1;
428
- has = Function.call.bind(Object.prototype.hasOwnProperty);
429
- return has;
430
- }
431
-
432
- /**
433
- * Copyright (c) 2013-present, Facebook, Inc.
434
- *
435
- * This source code is licensed under the MIT license found in the
436
- * LICENSE file in the root directory of this source tree.
437
- */
438
-
439
- var checkPropTypes_1;
440
- var hasRequiredCheckPropTypes;
441
-
442
- function requireCheckPropTypes () {
443
- if (hasRequiredCheckPropTypes) return checkPropTypes_1;
444
- hasRequiredCheckPropTypes = 1;
445
-
446
- var printWarning = function() {};
447
-
448
- if (process.env.NODE_ENV !== 'production') {
449
- var ReactPropTypesSecret = requireReactPropTypesSecret();
450
- var loggedTypeFailures = {};
451
- var has = requireHas();
452
-
453
- printWarning = function(text) {
454
- var message = 'Warning: ' + text;
455
- if (typeof console !== 'undefined') {
456
- console.error(message);
457
- }
458
- try {
459
- // --- Welcome to debugging React ---
460
- // This error was thrown as a convenience so that you can use this stack
461
- // to find the callsite that caused this warning to fire.
462
- throw new Error(message);
463
- } catch (x) { /**/ }
464
- };
465
- }
466
-
467
- /**
468
- * Assert that the values match with the type specs.
469
- * Error messages are memorized and will only be shown once.
470
- *
471
- * @param {object} typeSpecs Map of name to a ReactPropType
472
- * @param {object} values Runtime values that need to be type-checked
473
- * @param {string} location e.g. "prop", "context", "child context"
474
- * @param {string} componentName Name of the component for error messages.
475
- * @param {?Function} getStack Returns the component stack.
476
- * @private
477
- */
478
- function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
479
- if (process.env.NODE_ENV !== 'production') {
480
- for (var typeSpecName in typeSpecs) {
481
- if (has(typeSpecs, typeSpecName)) {
482
- var error;
483
- // Prop type validation may throw. In case they do, we don't want to
484
- // fail the render phase where it didn't fail before. So we log it.
485
- // After these have been cleaned up, we'll let them throw.
486
- try {
487
- // This is intentionally an invariant that gets caught. It's the same
488
- // behavior as without this statement except with a better message.
489
- if (typeof typeSpecs[typeSpecName] !== 'function') {
490
- var err = Error(
491
- (componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' +
492
- 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' +
493
- 'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.'
494
- );
495
- err.name = 'Invariant Violation';
496
- throw err;
497
- }
498
- error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);
499
- } catch (ex) {
500
- error = ex;
501
- }
502
- if (error && !(error instanceof Error)) {
503
- printWarning(
504
- (componentName || 'React class') + ': type specification of ' +
505
- location + ' `' + typeSpecName + '` is invalid; the type checker ' +
506
- 'function must return `null` or an `Error` but returned a ' + typeof error + '. ' +
507
- 'You may have forgotten to pass an argument to the type checker ' +
508
- 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' +
509
- 'shape all require an argument).'
510
- );
511
- }
512
- if (error instanceof Error && !(error.message in loggedTypeFailures)) {
513
- // Only monitor this failure once because there tends to be a lot of the
514
- // same error.
515
- loggedTypeFailures[error.message] = true;
516
-
517
- var stack = getStack ? getStack() : '';
518
-
519
- printWarning(
520
- 'Failed ' + location + ' type: ' + error.message + (stack != null ? stack : '')
521
- );
522
- }
523
- }
524
- }
525
- }
526
- }
527
-
528
- /**
529
- * Resets warning cache when testing.
530
- *
531
- * @private
532
- */
533
- checkPropTypes.resetWarningCache = function() {
534
- if (process.env.NODE_ENV !== 'production') {
535
- loggedTypeFailures = {};
536
- }
537
- };
538
-
539
- checkPropTypes_1 = checkPropTypes;
540
- return checkPropTypes_1;
541
- }
542
-
543
- /**
544
- * Copyright (c) 2013-present, Facebook, Inc.
545
- *
546
- * This source code is licensed under the MIT license found in the
547
- * LICENSE file in the root directory of this source tree.
548
- */
549
-
550
- var factoryWithTypeCheckers;
551
- var hasRequiredFactoryWithTypeCheckers;
552
-
553
- function requireFactoryWithTypeCheckers () {
554
- if (hasRequiredFactoryWithTypeCheckers) return factoryWithTypeCheckers;
555
- hasRequiredFactoryWithTypeCheckers = 1;
556
-
557
- var ReactIs = requireReactIs();
558
- var assign = requireObjectAssign();
559
-
560
- var ReactPropTypesSecret = requireReactPropTypesSecret();
561
- var has = requireHas();
562
- var checkPropTypes = requireCheckPropTypes();
563
-
564
- var printWarning = function() {};
565
-
566
- if (process.env.NODE_ENV !== 'production') {
567
- printWarning = function(text) {
568
- var message = 'Warning: ' + text;
569
- if (typeof console !== 'undefined') {
570
- console.error(message);
571
- }
572
- try {
573
- // --- Welcome to debugging React ---
574
- // This error was thrown as a convenience so that you can use this stack
575
- // to find the callsite that caused this warning to fire.
576
- throw new Error(message);
577
- } catch (x) {}
578
- };
579
- }
580
-
581
- function emptyFunctionThatReturnsNull() {
582
- return null;
583
- }
584
-
585
- factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
586
- /* global Symbol */
587
- var ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;
588
- var FAUX_ITERATOR_SYMBOL = '@@iterator'; // Before Symbol spec.
589
-
590
- /**
591
- * Returns the iterator method function contained on the iterable object.
592
- *
593
- * Be sure to invoke the function with the iterable as context:
594
- *
595
- * var iteratorFn = getIteratorFn(myIterable);
596
- * if (iteratorFn) {
597
- * var iterator = iteratorFn.call(myIterable);
598
- * ...
599
- * }
600
- *
601
- * @param {?object} maybeIterable
602
- * @return {?function}
603
- */
604
- function getIteratorFn(maybeIterable) {
605
- var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);
606
- if (typeof iteratorFn === 'function') {
607
- return iteratorFn;
608
- }
609
- }
610
-
611
- /**
612
- * Collection of methods that allow declaration and validation of props that are
613
- * supplied to React components. Example usage:
614
- *
615
- * var Props = require('ReactPropTypes');
616
- * var MyArticle = React.createClass({
617
- * propTypes: {
618
- * // An optional string prop named "description".
619
- * description: Props.string,
620
- *
621
- * // A required enum prop named "category".
622
- * category: Props.oneOf(['News','Photos']).isRequired,
623
- *
624
- * // A prop named "dialog" that requires an instance of Dialog.
625
- * dialog: Props.instanceOf(Dialog).isRequired
626
- * },
627
- * render: function() { ... }
628
- * });
629
- *
630
- * A more formal specification of how these methods are used:
631
- *
632
- * type := array|bool|func|object|number|string|oneOf([...])|instanceOf(...)
633
- * decl := ReactPropTypes.{type}(.isRequired)?
634
- *
635
- * Each and every declaration produces a function with the same signature. This
636
- * allows the creation of custom validation functions. For example:
637
- *
638
- * var MyLink = React.createClass({
639
- * propTypes: {
640
- * // An optional string or URI prop named "href".
641
- * href: function(props, propName, componentName) {
642
- * var propValue = props[propName];
643
- * if (propValue != null && typeof propValue !== 'string' &&
644
- * !(propValue instanceof URI)) {
645
- * return new Error(
646
- * 'Expected a string or an URI for ' + propName + ' in ' +
647
- * componentName
648
- * );
649
- * }
650
- * }
651
- * },
652
- * render: function() {...}
653
- * });
654
- *
655
- * @internal
656
- */
657
-
658
- var ANONYMOUS = '<<anonymous>>';
659
-
660
- // Important!
661
- // Keep this list in sync with production version in `./factoryWithThrowingShims.js`.
662
- var ReactPropTypes = {
663
- array: createPrimitiveTypeChecker('array'),
664
- bigint: createPrimitiveTypeChecker('bigint'),
665
- bool: createPrimitiveTypeChecker('boolean'),
666
- func: createPrimitiveTypeChecker('function'),
667
- number: createPrimitiveTypeChecker('number'),
668
- object: createPrimitiveTypeChecker('object'),
669
- string: createPrimitiveTypeChecker('string'),
670
- symbol: createPrimitiveTypeChecker('symbol'),
671
-
672
- any: createAnyTypeChecker(),
673
- arrayOf: createArrayOfTypeChecker,
674
- element: createElementTypeChecker(),
675
- elementType: createElementTypeTypeChecker(),
676
- instanceOf: createInstanceTypeChecker,
677
- node: createNodeChecker(),
678
- objectOf: createObjectOfTypeChecker,
679
- oneOf: createEnumTypeChecker,
680
- oneOfType: createUnionTypeChecker,
681
- shape: createShapeTypeChecker,
682
- exact: createStrictShapeTypeChecker,
683
- };
684
-
685
- /**
686
- * inlined Object.is polyfill to avoid requiring consumers ship their own
687
- * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is
688
- */
689
- /*eslint-disable no-self-compare*/
690
- function is(x, y) {
691
- // SameValue algorithm
692
- if (x === y) {
693
- // Steps 1-5, 7-10
694
- // Steps 6.b-6.e: +0 != -0
695
- return x !== 0 || 1 / x === 1 / y;
696
- } else {
697
- // Step 6.a: NaN == NaN
698
- return x !== x && y !== y;
699
- }
700
- }
701
- /*eslint-enable no-self-compare*/
702
-
703
- /**
704
- * We use an Error-like object for backward compatibility as people may call
705
- * PropTypes directly and inspect their output. However, we don't use real
706
- * Errors anymore. We don't inspect their stack anyway, and creating them
707
- * is prohibitively expensive if they are created too often, such as what
708
- * happens in oneOfType() for any type before the one that matched.
709
- */
710
- function PropTypeError(message, data) {
711
- this.message = message;
712
- this.data = data && typeof data === 'object' ? data: {};
713
- this.stack = '';
714
- }
715
- // Make `instanceof Error` still work for returned errors.
716
- PropTypeError.prototype = Error.prototype;
717
-
718
- function createChainableTypeChecker(validate) {
719
- if (process.env.NODE_ENV !== 'production') {
720
- var manualPropTypeCallCache = {};
721
- var manualPropTypeWarningCount = 0;
722
- }
723
- function checkType(isRequired, props, propName, componentName, location, propFullName, secret) {
724
- componentName = componentName || ANONYMOUS;
725
- propFullName = propFullName || propName;
726
-
727
- if (secret !== ReactPropTypesSecret) {
728
- if (throwOnDirectAccess) {
729
- // New behavior only for users of `prop-types` package
730
- var err = new Error(
731
- 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +
732
- 'Use `PropTypes.checkPropTypes()` to call them. ' +
733
- 'Read more at http://fb.me/use-check-prop-types'
734
- );
735
- err.name = 'Invariant Violation';
736
- throw err;
737
- } else if (process.env.NODE_ENV !== 'production' && typeof console !== 'undefined') {
738
- // Old behavior for people using React.PropTypes
739
- var cacheKey = componentName + ':' + propName;
740
- if (
741
- !manualPropTypeCallCache[cacheKey] &&
742
- // Avoid spamming the console because they are often not actionable except for lib authors
743
- manualPropTypeWarningCount < 3
744
- ) {
745
- printWarning(
746
- 'You are manually calling a React.PropTypes validation ' +
747
- 'function for the `' + propFullName + '` prop on `' + componentName + '`. This is deprecated ' +
748
- 'and will throw in the standalone `prop-types` package. ' +
749
- 'You may be seeing this warning due to a third-party PropTypes ' +
750
- 'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.'
751
- );
752
- manualPropTypeCallCache[cacheKey] = true;
753
- manualPropTypeWarningCount++;
754
- }
755
- }
756
- }
757
- if (props[propName] == null) {
758
- if (isRequired) {
759
- if (props[propName] === null) {
760
- return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required ' + ('in `' + componentName + '`, but its value is `null`.'));
761
- }
762
- return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required in ' + ('`' + componentName + '`, but its value is `undefined`.'));
763
- }
764
- return null;
765
- } else {
766
- return validate(props, propName, componentName, location, propFullName);
767
- }
768
- }
769
-
770
- var chainedCheckType = checkType.bind(null, false);
771
- chainedCheckType.isRequired = checkType.bind(null, true);
772
-
773
- return chainedCheckType;
774
- }
775
-
776
- function createPrimitiveTypeChecker(expectedType) {
777
- function validate(props, propName, componentName, location, propFullName, secret) {
778
- var propValue = props[propName];
779
- var propType = getPropType(propValue);
780
- if (propType !== expectedType) {
781
- // `propValue` being instance of, say, date/regexp, pass the 'object'
782
- // check, but we can offer a more precise error message here rather than
783
- // 'of type `object`'.
784
- var preciseType = getPreciseType(propValue);
785
-
786
- return new PropTypeError(
787
- 'Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'),
788
- {expectedType: expectedType}
789
- );
790
- }
791
- return null;
792
- }
793
- return createChainableTypeChecker(validate);
794
- }
795
-
796
- function createAnyTypeChecker() {
797
- return createChainableTypeChecker(emptyFunctionThatReturnsNull);
798
- }
799
-
800
- function createArrayOfTypeChecker(typeChecker) {
801
- function validate(props, propName, componentName, location, propFullName) {
802
- if (typeof typeChecker !== 'function') {
803
- return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside arrayOf.');
804
- }
805
- var propValue = props[propName];
806
- if (!Array.isArray(propValue)) {
807
- var propType = getPropType(propValue);
808
- return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an array.'));
809
- }
810
- for (var i = 0; i < propValue.length; i++) {
811
- var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']', ReactPropTypesSecret);
812
- if (error instanceof Error) {
813
- return error;
814
- }
815
- }
816
- return null;
817
- }
818
- return createChainableTypeChecker(validate);
819
- }
820
-
821
- function createElementTypeChecker() {
822
- function validate(props, propName, componentName, location, propFullName) {
823
- var propValue = props[propName];
824
- if (!isValidElement(propValue)) {
825
- var propType = getPropType(propValue);
826
- return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement.'));
827
- }
828
- return null;
829
- }
830
- return createChainableTypeChecker(validate);
831
- }
832
-
833
- function createElementTypeTypeChecker() {
834
- function validate(props, propName, componentName, location, propFullName) {
835
- var propValue = props[propName];
836
- if (!ReactIs.isValidElementType(propValue)) {
837
- var propType = getPropType(propValue);
838
- return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement type.'));
839
- }
840
- return null;
841
- }
842
- return createChainableTypeChecker(validate);
843
- }
844
-
845
- function createInstanceTypeChecker(expectedClass) {
846
- function validate(props, propName, componentName, location, propFullName) {
847
- if (!(props[propName] instanceof expectedClass)) {
848
- var expectedClassName = expectedClass.name || ANONYMOUS;
849
- var actualClassName = getClassName(props[propName]);
850
- return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + actualClassName + '` supplied to `' + componentName + '`, expected ') + ('instance of `' + expectedClassName + '`.'));
851
- }
852
- return null;
853
- }
854
- return createChainableTypeChecker(validate);
855
- }
856
-
857
- function createEnumTypeChecker(expectedValues) {
858
- if (!Array.isArray(expectedValues)) {
859
- if (process.env.NODE_ENV !== 'production') {
860
- if (arguments.length > 1) {
861
- printWarning(
862
- 'Invalid arguments supplied to oneOf, expected an array, got ' + arguments.length + ' arguments. ' +
863
- 'A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).'
864
- );
865
- } else {
866
- printWarning('Invalid argument supplied to oneOf, expected an array.');
867
- }
868
- }
869
- return emptyFunctionThatReturnsNull;
870
- }
871
-
872
- function validate(props, propName, componentName, location, propFullName) {
873
- var propValue = props[propName];
874
- for (var i = 0; i < expectedValues.length; i++) {
875
- if (is(propValue, expectedValues[i])) {
876
- return null;
877
- }
878
- }
879
-
880
- var valuesString = JSON.stringify(expectedValues, function replacer(key, value) {
881
- var type = getPreciseType(value);
882
- if (type === 'symbol') {
883
- return String(value);
884
- }
885
- return value;
886
- });
887
- return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of value `' + String(propValue) + '` ' + ('supplied to `' + componentName + '`, expected one of ' + valuesString + '.'));
888
- }
889
- return createChainableTypeChecker(validate);
890
- }
891
-
892
- function createObjectOfTypeChecker(typeChecker) {
893
- function validate(props, propName, componentName, location, propFullName) {
894
- if (typeof typeChecker !== 'function') {
895
- return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside objectOf.');
896
- }
897
- var propValue = props[propName];
898
- var propType = getPropType(propValue);
899
- if (propType !== 'object') {
900
- return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an object.'));
901
- }
902
- for (var key in propValue) {
903
- if (has(propValue, key)) {
904
- var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
905
- if (error instanceof Error) {
906
- return error;
907
- }
908
- }
909
- }
910
- return null;
911
- }
912
- return createChainableTypeChecker(validate);
913
- }
914
-
915
- function createUnionTypeChecker(arrayOfTypeCheckers) {
916
- if (!Array.isArray(arrayOfTypeCheckers)) {
917
- process.env.NODE_ENV !== 'production' ? printWarning('Invalid argument supplied to oneOfType, expected an instance of array.') : void 0;
918
- return emptyFunctionThatReturnsNull;
919
- }
920
-
921
- for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
922
- var checker = arrayOfTypeCheckers[i];
923
- if (typeof checker !== 'function') {
924
- printWarning(
925
- 'Invalid argument supplied to oneOfType. Expected an array of check functions, but ' +
926
- 'received ' + getPostfixForTypeWarning(checker) + ' at index ' + i + '.'
927
- );
928
- return emptyFunctionThatReturnsNull;
929
- }
930
- }
931
-
932
- function validate(props, propName, componentName, location, propFullName) {
933
- var expectedTypes = [];
934
- for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
935
- var checker = arrayOfTypeCheckers[i];
936
- var checkerResult = checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret);
937
- if (checkerResult == null) {
938
- return null;
939
- }
940
- if (checkerResult.data && has(checkerResult.data, 'expectedType')) {
941
- expectedTypes.push(checkerResult.data.expectedType);
942
- }
943
- }
944
- var expectedTypesMessage = (expectedTypes.length > 0) ? ', expected one of type [' + expectedTypes.join(', ') + ']': '';
945
- return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`' + expectedTypesMessage + '.'));
946
- }
947
- return createChainableTypeChecker(validate);
948
- }
949
-
950
- function createNodeChecker() {
951
- function validate(props, propName, componentName, location, propFullName) {
952
- if (!isNode(props[propName])) {
953
- return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`, expected a ReactNode.'));
954
- }
955
- return null;
956
- }
957
- return createChainableTypeChecker(validate);
958
- }
959
-
960
- function invalidValidatorError(componentName, location, propFullName, key, type) {
961
- return new PropTypeError(
962
- (componentName || 'React class') + ': ' + location + ' type `' + propFullName + '.' + key + '` is invalid; ' +
963
- 'it must be a function, usually from the `prop-types` package, but received `' + type + '`.'
964
- );
965
- }
966
-
967
- function createShapeTypeChecker(shapeTypes) {
968
- function validate(props, propName, componentName, location, propFullName) {
969
- var propValue = props[propName];
970
- var propType = getPropType(propValue);
971
- if (propType !== 'object') {
972
- return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));
973
- }
974
- for (var key in shapeTypes) {
975
- var checker = shapeTypes[key];
976
- if (typeof checker !== 'function') {
977
- return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
978
- }
979
- var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
980
- if (error) {
981
- return error;
982
- }
983
- }
984
- return null;
985
- }
986
- return createChainableTypeChecker(validate);
987
- }
988
-
989
- function createStrictShapeTypeChecker(shapeTypes) {
990
- function validate(props, propName, componentName, location, propFullName) {
991
- var propValue = props[propName];
992
- var propType = getPropType(propValue);
993
- if (propType !== 'object') {
994
- return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));
995
- }
996
- // We need to check all keys in case some are required but missing from props.
997
- var allKeys = assign({}, props[propName], shapeTypes);
998
- for (var key in allKeys) {
999
- var checker = shapeTypes[key];
1000
- if (has(shapeTypes, key) && typeof checker !== 'function') {
1001
- return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
1002
- }
1003
- if (!checker) {
1004
- return new PropTypeError(
1005
- 'Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' +
1006
- '\nBad object: ' + JSON.stringify(props[propName], null, ' ') +
1007
- '\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' ')
1008
- );
1009
- }
1010
- var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
1011
- if (error) {
1012
- return error;
1013
- }
1014
- }
1015
- return null;
1016
- }
1017
-
1018
- return createChainableTypeChecker(validate);
1019
- }
1020
-
1021
- function isNode(propValue) {
1022
- switch (typeof propValue) {
1023
- case 'number':
1024
- case 'string':
1025
- case 'undefined':
1026
- return true;
1027
- case 'boolean':
1028
- return !propValue;
1029
- case 'object':
1030
- if (Array.isArray(propValue)) {
1031
- return propValue.every(isNode);
1032
- }
1033
- if (propValue === null || isValidElement(propValue)) {
1034
- return true;
1035
- }
1036
-
1037
- var iteratorFn = getIteratorFn(propValue);
1038
- if (iteratorFn) {
1039
- var iterator = iteratorFn.call(propValue);
1040
- var step;
1041
- if (iteratorFn !== propValue.entries) {
1042
- while (!(step = iterator.next()).done) {
1043
- if (!isNode(step.value)) {
1044
- return false;
1045
- }
1046
- }
1047
- } else {
1048
- // Iterator will provide entry [k,v] tuples rather than values.
1049
- while (!(step = iterator.next()).done) {
1050
- var entry = step.value;
1051
- if (entry) {
1052
- if (!isNode(entry[1])) {
1053
- return false;
1054
- }
1055
- }
1056
- }
1057
- }
1058
- } else {
1059
- return false;
1060
- }
1061
-
1062
- return true;
1063
- default:
1064
- return false;
1065
- }
1066
- }
1067
-
1068
- function isSymbol(propType, propValue) {
1069
- // Native Symbol.
1070
- if (propType === 'symbol') {
1071
- return true;
1072
- }
1073
-
1074
- // falsy value can't be a Symbol
1075
- if (!propValue) {
1076
- return false;
1077
- }
1078
-
1079
- // 19.4.3.5 Symbol.prototype[@@toStringTag] === 'Symbol'
1080
- if (propValue['@@toStringTag'] === 'Symbol') {
1081
- return true;
1082
- }
1083
-
1084
- // Fallback for non-spec compliant Symbols which are polyfilled.
1085
- if (typeof Symbol === 'function' && propValue instanceof Symbol) {
1086
- return true;
1087
- }
1088
-
1089
- return false;
1090
- }
1091
-
1092
- // Equivalent of `typeof` but with special handling for array and regexp.
1093
- function getPropType(propValue) {
1094
- var propType = typeof propValue;
1095
- if (Array.isArray(propValue)) {
1096
- return 'array';
1097
- }
1098
- if (propValue instanceof RegExp) {
1099
- // Old webkits (at least until Android 4.0) return 'function' rather than
1100
- // 'object' for typeof a RegExp. We'll normalize this here so that /bla/
1101
- // passes PropTypes.object.
1102
- return 'object';
1103
- }
1104
- if (isSymbol(propType, propValue)) {
1105
- return 'symbol';
1106
- }
1107
- return propType;
1108
- }
1109
-
1110
- // This handles more types than `getPropType`. Only used for error messages.
1111
- // See `createPrimitiveTypeChecker`.
1112
- function getPreciseType(propValue) {
1113
- if (typeof propValue === 'undefined' || propValue === null) {
1114
- return '' + propValue;
1115
- }
1116
- var propType = getPropType(propValue);
1117
- if (propType === 'object') {
1118
- if (propValue instanceof Date) {
1119
- return 'date';
1120
- } else if (propValue instanceof RegExp) {
1121
- return 'regexp';
1122
- }
1123
- }
1124
- return propType;
1125
- }
1126
-
1127
- // Returns a string that is postfixed to a warning about an invalid type.
1128
- // For example, "undefined" or "of type array"
1129
- function getPostfixForTypeWarning(value) {
1130
- var type = getPreciseType(value);
1131
- switch (type) {
1132
- case 'array':
1133
- case 'object':
1134
- return 'an ' + type;
1135
- case 'boolean':
1136
- case 'date':
1137
- case 'regexp':
1138
- return 'a ' + type;
1139
- default:
1140
- return type;
1141
- }
1142
- }
1143
-
1144
- // Returns class name of the object, if any.
1145
- function getClassName(propValue) {
1146
- if (!propValue.constructor || !propValue.constructor.name) {
1147
- return ANONYMOUS;
1148
- }
1149
- return propValue.constructor.name;
1150
- }
1151
-
1152
- ReactPropTypes.checkPropTypes = checkPropTypes;
1153
- ReactPropTypes.resetWarningCache = checkPropTypes.resetWarningCache;
1154
- ReactPropTypes.PropTypes = ReactPropTypes;
1155
-
1156
- return ReactPropTypes;
1157
- };
1158
- return factoryWithTypeCheckers;
1159
- }
1160
-
1161
- /**
1162
- * Copyright (c) 2013-present, Facebook, Inc.
1163
- *
1164
- * This source code is licensed under the MIT license found in the
1165
- * LICENSE file in the root directory of this source tree.
1166
- */
1167
-
1168
- var factoryWithThrowingShims;
1169
- var hasRequiredFactoryWithThrowingShims;
1170
-
1171
- function requireFactoryWithThrowingShims () {
1172
- if (hasRequiredFactoryWithThrowingShims) return factoryWithThrowingShims;
1173
- hasRequiredFactoryWithThrowingShims = 1;
1174
-
1175
- var ReactPropTypesSecret = requireReactPropTypesSecret();
1176
-
1177
- function emptyFunction() {}
1178
- function emptyFunctionWithReset() {}
1179
- emptyFunctionWithReset.resetWarningCache = emptyFunction;
1180
-
1181
- factoryWithThrowingShims = function() {
1182
- function shim(props, propName, componentName, location, propFullName, secret) {
1183
- if (secret === ReactPropTypesSecret) {
1184
- // It is still safe when called from React.
1185
- return;
1186
- }
1187
- var err = new Error(
1188
- 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +
1189
- 'Use PropTypes.checkPropTypes() to call them. ' +
1190
- 'Read more at http://fb.me/use-check-prop-types'
1191
- );
1192
- err.name = 'Invariant Violation';
1193
- throw err;
1194
- } shim.isRequired = shim;
1195
- function getShim() {
1196
- return shim;
1197
- } // Important!
1198
- // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.
1199
- var ReactPropTypes = {
1200
- array: shim,
1201
- bigint: shim,
1202
- bool: shim,
1203
- func: shim,
1204
- number: shim,
1205
- object: shim,
1206
- string: shim,
1207
- symbol: shim,
1208
-
1209
- any: shim,
1210
- arrayOf: getShim,
1211
- element: shim,
1212
- elementType: shim,
1213
- instanceOf: getShim,
1214
- node: shim,
1215
- objectOf: getShim,
1216
- oneOf: getShim,
1217
- oneOfType: getShim,
1218
- shape: getShim,
1219
- exact: getShim,
1220
-
1221
- checkPropTypes: emptyFunctionWithReset,
1222
- resetWarningCache: emptyFunction
1223
- };
1224
-
1225
- ReactPropTypes.PropTypes = ReactPropTypes;
1226
-
1227
- return ReactPropTypes;
1228
- };
1229
- return factoryWithThrowingShims;
1230
- }
1231
-
1232
- /**
1233
- * Copyright (c) 2013-present, Facebook, Inc.
1234
- *
1235
- * This source code is licensed under the MIT license found in the
1236
- * LICENSE file in the root directory of this source tree.
1237
- */
1238
-
1239
- if (process.env.NODE_ENV !== 'production') {
1240
- var ReactIs = requireReactIs();
1241
-
1242
- // By explicitly using `prop-types` you are opting into new development behavior.
1243
- // http://fb.me/prop-types-in-prod
1244
- var throwOnDirectAccess = true;
1245
- propTypes.exports = requireFactoryWithTypeCheckers()(ReactIs.isElement, throwOnDirectAccess);
1246
- } else {
1247
- // By explicitly using `prop-types` you are opting into new production behavior.
1248
- // http://fb.me/prop-types-in-prod
1249
- propTypes.exports = requireFactoryWithThrowingShims()();
1250
- }
1251
-
1252
- var e=[],t=[];function n(n,r){if(n&&"undefined"!=typeof document){var a,s=!0===r.prepend?"prepend":"append",d=!0===r.singleTag,i="string"==typeof r.container?document.querySelector(r.container):document.getElementsByTagName("head")[0];if(d){var u=e.indexOf(i);-1===u&&(u=e.push(i)-1,t[u]={}),a=t[u]&&t[u][s]?t[u][s]:t[u][s]=c();}else a=c();65279===n.charCodeAt(0)&&(n=n.substring(1)),a.styleSheet?a.styleSheet.cssText+=n:a.appendChild(document.createTextNode(n));}function c(){var e=document.createElement("style");if(e.setAttribute("type","text/css"),r.attributes)for(var t=Object.keys(r.attributes),n=0;n<t.length;n++)e.setAttribute(t[n],r.attributes[t[n]]);var a="prepend"===s?"afterbegin":"beforeend";return i.insertAdjacentElement(a,e),e}}
1253
-
1254
- var css = ".neeto-molecules-container{align-items:flex-start;display:flex;flex-direction:column;flex-grow:1;height:100vh;justify-content:flex-start;overflow-y:auto;padding:0 40px!important}.neeto-molecules-container--header-fixed{padding:0!important}.neeto-molecules-container--header-fixed>.neeto-molecules-header,.neeto-molecules-container--header-fixed>.neeto-molecules-scrollable,.neeto-molecules-container--header-fixed>.neeto-molecules-subheader{padding-left:40px!important;padding-right:40px!important}";
1255
- n(css,{});
1256
-
1257
- var Container = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
1258
- var _ref$isHeaderFixed = _ref.isHeaderFixed,
1259
- isHeaderFixed = _ref$isHeaderFixed === void 0 ? false : _ref$isHeaderFixed,
1260
- children = _ref.children;
1261
- return /*#__PURE__*/React__default["default"].createElement("div", {
1262
- ref: ref,
1263
- className: classnames("neeto-molecules-container", {
1264
- "neeto-molecules-container--header-fixed": isHeaderFixed
1265
- })
1266
- }, children);
1267
- });
1268
- Container.displayName = "Container";
1269
- Container.propTypes = {
1270
- /**
1271
- * Decides whether the `Header` component should be stickied at the top on scroll.
1272
- */
1273
- isHeaderFixed: propTypes.exports.bool
1274
- };
1275
-
1276
- module.exports = Container;
1277
- //# sourceMappingURL=Container.cjs.js.map