@stytch/vanilla-js 6.0.5 → 6.0.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.
- package/CHANGELOG.md +12 -0
- package/dist/cjs/b2b/index.cjs +8 -8
- package/dist/cjs/b2b/index.cjs.map +1 -1
- package/dist/cjs-dev/b2b/index.cjs +8 -8
- package/dist/cjs-dev/b2b/index.cjs.map +1 -1
- package/dist/esm/_virtual/index3.mjs +5 -3
- package/dist/esm/_virtual/index3.mjs.map +1 -1
- package/dist/esm/_virtual/index4.mjs +3 -5
- package/dist/esm/_virtual/index4.mjs.map +1 -1
- package/dist/esm/node_modules/@emotion/react/dist/emotion-element-f0de968e.browser.esm.mjs +1 -1
- package/dist/esm/node_modules/@mui/material/Autocomplete/Autocomplete.mjs +1 -1
- package/dist/esm/node_modules/@mui/material/Button/Button.mjs +1 -1
- package/dist/esm/node_modules/@mui/material/Chip/Chip.mjs +1 -1
- package/dist/esm/node_modules/@mui/material/MenuItem/MenuItem.mjs +1 -1
- package/dist/esm/node_modules/@mui/material/TableCell/TableCell.mjs +1 -1
- package/dist/esm/node_modules/@mui/material/TableRow/TableRow.mjs +1 -1
- package/dist/esm/node_modules/@mui/material/Tooltip/Tooltip.mjs +1 -1
- package/dist/esm/node_modules/@mui/material/styles/createThemeWithVars.mjs +1 -1
- package/dist/esm/node_modules/@mui/system/esm/borders/borders.mjs +1 -1
- package/dist/esm/node_modules/@mui/system/esm/cssGrid/cssGrid.mjs +2 -2
- package/dist/esm/node_modules/@mui/system/esm/sizing/sizing.mjs +1 -1
- package/dist/esm/node_modules/@mui/system/esm/spacing/spacing.mjs +1 -1
- package/dist/esm/packages/core/src/HeadlessClients/HeadlessOAuthClient.mjs +1 -1
- package/dist/esm/packages/web/src/adminPortal/AdminPortalWrapper.mjs +1 -1
- package/dist/esm/packages/web/src/adminPortal/components/ActionMenu.mjs +1 -1
- package/dist/esm/packages/web/src/adminPortal/components/Autocomplete.mjs +1 -1
- package/dist/esm/packages/web/src/adminPortal/components/DeleteConnection.mjs +1 -1
- package/dist/esm/packages/web/src/adminPortal/components/IconButtonMenu.mjs +1 -1
- package/dist/esm/packages/web/src/adminPortal/components/SettingsContainer.mjs +1 -1
- package/dist/esm/packages/web/src/adminPortal/memberManagement/AccessSection.mjs +1 -1
- package/dist/esm/packages/web/src/adminPortal/memberManagement/InviteModal.mjs +1 -1
- package/dist/esm/packages/web/src/adminPortal/memberManagement/useMemberActivation.mjs +1 -1
- package/dist/esm/packages/web/src/adminPortal/scim/SCIMConnectionTokenRotationSection.mjs +1 -1
- package/dist/esm/packages/web/src/adminPortal/scim/SCIMNewConnectionConfigureScreen.mjs +1 -1
- package/dist/esm/packages/web/src/adminPortal/settings/OrgSettingsRoleAssignmentsSection.mjs +1 -1
- package/dist/esm/packages/web/src/adminPortal/settings/OrgSettingsUserOnboardingSection.mjs +1 -1
- package/dist/esm/packages/web/src/adminPortal/shared/components/EmbeddedTable.mjs +1 -1
- package/dist/esm/packages/web/src/adminPortal/shared/components/Input.mjs +1 -1
- package/dist/esm/packages/web/src/adminPortal/shared/components/PaginatedTable.mjs +1 -1
- package/dist/esm/packages/web/src/adminPortal/shared/components/Table.mjs +1 -1
- package/dist/esm/packages/web/src/adminPortal/shared/components/Toast.mjs +1 -1
- package/dist/esm/packages/web/src/adminPortal/shared/components/Tooltip.mjs +1 -1
- package/dist/esm/packages/web/src/adminPortal/sso/AttributeMappingTable.mjs +1 -1
- package/dist/esm/packages/web/src/adminPortal/sso/DetailsSection.mjs +1 -1
- package/dist/esm/packages/web/src/adminPortal/sso/RoleAssignmentsSection.mjs +1 -1
- package/dist/esm/packages/web/src/adminPortal/sso/SSOConnectionDetailsScreen.mjs +1 -1
- package/dist/esm/packages/web/src/adminPortal/sso/SSOConnectionsScreen.mjs +1 -1
- package/dist/esm/packages/web/src/adminPortal/sso/SSONewConnectionConfigureScreen.mjs +1 -1
- package/dist/esm/packages/web/src/adminPortal/sso/SSONewConnectionScreen.mjs +1 -1
- package/dist/esm/packages/web/src/adminPortal/utils/theme.mjs +1 -1
- package/dist/esm/packages/web/src/b2b/StytchB2BClient.mjs +3 -3
- package/dist/esm/packages/web/src/oneTap/OneTapProvider.mjs +1 -1
- package/dist/esm/packages/web/src/ui/b2b/InternalAppContainer.mjs +1 -1
- package/dist/esm/packages/web/src/ui/b2b/components/B2BOneTap.mjs +1 -1
- package/dist/esm/packages/web/src/ui/b2b/screens/MFAEnrollmentSelectionScreen.mjs +1 -1
- package/dist/esm/packages/web/src/ui/b2b/screens/PasswordResetForm.mjs +4 -4
- package/dist/esm/packages/web/src/ui/b2b/screens/PasswordResetForm.mjs.map +1 -1
- package/dist/esm/packages/web/src/ui/b2b/screens/SSODiscoveryMenu.mjs +1 -1
- package/dist/esm/packages/web/src/ui/b2b/screens/SsoAndOAuthButtons.mjs +1 -1
- package/dist/esm/packages/web/src/ui/b2b/usePasswordInput.mjs +4 -4
- package/dist/esm/packages/web/src/ui/b2b/usePasswordInput.mjs.map +1 -1
- package/dist/esm/packages/web/src/ui/b2c/GlobalContextProvider.mjs +1 -1
- package/dist/esm/packages/web/src/ui/b2c/components/GoogleOneTap.mjs +1 -1
- package/dist/esm/packages/web/src/ui/b2c/screens/IdentityProvider/IDPConsent.mjs +1 -1
- package/dist/esm/packages/web/src/ui/b2c/screens/Main/LoginForm/MagicLinkForm.mjs +1 -1
- package/dist/esm/packages/web/src/ui/b2c/screens/Main/LoginForm/OTPForm.mjs +1 -1
- package/dist/esm/packages/web/src/ui/b2c/screens/Passkey/PasskeyConfirmation.mjs +1 -1
- package/dist/esm/packages/web/src/ui/b2c/screens/Passkey/PasskeyRegistrationSuccess.mjs +1 -1
- package/dist/esm/packages/web/src/ui/b2c/screens/Password/PasswordConfirmation.mjs +1 -1
- package/dist/esm/packages/web/src/ui/b2c/screens/Secondary/OTPConfirmation.mjs +1 -1
- package/dist/esm/packages/web/src/ui/components/PresentationConfig.mjs +1 -1
- package/dist/esm/packages/web/src/ui/hooks/usePromptPasskey.mjs +1 -1
- package/dist/esm/packages/web/src/utils/crypto.mjs +1 -1
- package/dist/esm-dev/node_modules/@emotion/react/dist/emotion-element-489459f2.browser.development.esm.mjs +1 -1
- package/dist/esm-dev/node_modules/@mui/material/Autocomplete/Autocomplete.mjs +1 -1
- package/dist/esm-dev/node_modules/@mui/material/Button/Button.mjs +1 -1
- package/dist/esm-dev/node_modules/@mui/material/Checkbox/Checkbox.mjs +1 -1
- package/dist/esm-dev/node_modules/@mui/material/Chip/Chip.mjs +1 -1
- package/dist/esm-dev/node_modules/@mui/material/IconButton/IconButton.mjs +1 -1
- package/dist/esm-dev/node_modules/@mui/material/MenuItem/MenuItem.mjs +1 -1
- package/dist/esm-dev/node_modules/@mui/material/Radio/Radio.mjs +1 -1
- package/dist/esm-dev/node_modules/@mui/material/Switch/Switch.mjs +1 -1
- package/dist/esm-dev/node_modules/@mui/material/TableCell/TableCell.mjs +1 -1
- package/dist/esm-dev/node_modules/@mui/material/TableRow/TableRow.mjs +1 -1
- package/dist/esm-dev/node_modules/@mui/material/Tooltip/Tooltip.mjs +1 -1
- package/dist/esm-dev/node_modules/@mui/material/styles/createThemeWithVars.mjs +1 -1
- package/dist/esm-dev/node_modules/@mui/system/esm/borders/borders.mjs +1 -1
- package/dist/esm-dev/node_modules/@mui/system/esm/createStyled/createStyled.mjs +1 -1
- package/dist/esm-dev/node_modules/@mui/system/esm/cssGrid/cssGrid.mjs +2 -2
- package/dist/esm-dev/node_modules/@mui/system/esm/sizing/sizing.mjs +1 -1
- package/dist/esm-dev/node_modules/@mui/system/esm/spacing/spacing.mjs +1 -1
- package/dist/esm-dev/packages/core/src/HeadlessClients/HeadlessOAuthClient.mjs +1 -1
- package/dist/esm-dev/packages/web/src/adminPortal/AdminPortalWrapper.mjs +1 -1
- package/dist/esm-dev/packages/web/src/adminPortal/components/ActionMenu.mjs +1 -1
- package/dist/esm-dev/packages/web/src/adminPortal/components/Autocomplete.mjs +1 -1
- package/dist/esm-dev/packages/web/src/adminPortal/components/DeleteConnection.mjs +1 -1
- package/dist/esm-dev/packages/web/src/adminPortal/components/IconButtonMenu.mjs +1 -1
- package/dist/esm-dev/packages/web/src/adminPortal/components/SettingsContainer.mjs +1 -1
- package/dist/esm-dev/packages/web/src/adminPortal/memberManagement/AccessSection.mjs +1 -1
- package/dist/esm-dev/packages/web/src/adminPortal/memberManagement/InviteModal.mjs +1 -1
- package/dist/esm-dev/packages/web/src/adminPortal/memberManagement/useMemberActivation.mjs +1 -1
- package/dist/esm-dev/packages/web/src/adminPortal/scim/SCIMConnectionTokenRotationSection.mjs +1 -1
- package/dist/esm-dev/packages/web/src/adminPortal/scim/SCIMNewConnectionConfigureScreen.mjs +1 -1
- package/dist/esm-dev/packages/web/src/adminPortal/settings/OrgSettingsRoleAssignmentsSection.mjs +1 -1
- package/dist/esm-dev/packages/web/src/adminPortal/settings/OrgSettingsUserOnboardingSection.mjs +1 -1
- package/dist/esm-dev/packages/web/src/adminPortal/shared/components/EmbeddedTable.mjs +1 -1
- package/dist/esm-dev/packages/web/src/adminPortal/shared/components/Input.mjs +1 -1
- package/dist/esm-dev/packages/web/src/adminPortal/shared/components/PaginatedTable.mjs +1 -1
- package/dist/esm-dev/packages/web/src/adminPortal/shared/components/Table.mjs +1 -1
- package/dist/esm-dev/packages/web/src/adminPortal/shared/components/Toast.mjs +1 -1
- package/dist/esm-dev/packages/web/src/adminPortal/shared/components/Tooltip.mjs +1 -1
- package/dist/esm-dev/packages/web/src/adminPortal/sso/AttributeMappingTable.mjs +1 -1
- package/dist/esm-dev/packages/web/src/adminPortal/sso/DetailsSection.mjs +1 -1
- package/dist/esm-dev/packages/web/src/adminPortal/sso/RoleAssignmentsSection.mjs +1 -1
- package/dist/esm-dev/packages/web/src/adminPortal/sso/SSOConnectionDetailsScreen.mjs +1 -1
- package/dist/esm-dev/packages/web/src/adminPortal/sso/SSOConnectionsScreen.mjs +1 -1
- package/dist/esm-dev/packages/web/src/adminPortal/sso/SSONewConnectionConfigureScreen.mjs +1 -1
- package/dist/esm-dev/packages/web/src/adminPortal/sso/SSONewConnectionScreen.mjs +1 -1
- package/dist/esm-dev/packages/web/src/b2b/StytchB2BClient.mjs +3 -3
- package/dist/esm-dev/packages/web/src/oneTap/OneTapProvider.mjs +1 -1
- package/dist/esm-dev/packages/web/src/ui/b2b/App.mjs +1 -1
- package/dist/esm-dev/packages/web/src/ui/b2b/InternalAppContainer.mjs +1 -1
- package/dist/esm-dev/packages/web/src/ui/b2b/components/B2BOneTap.mjs +2 -2
- package/dist/esm-dev/packages/web/src/ui/b2b/screens/MFAEnrollmentSelectionScreen.mjs +1 -1
- package/dist/esm-dev/packages/web/src/ui/b2b/screens/PasswordResetForm.mjs +4 -4
- package/dist/esm-dev/packages/web/src/ui/b2b/screens/PasswordResetForm.mjs.map +1 -1
- package/dist/esm-dev/packages/web/src/ui/b2b/screens/SSODiscoveryMenu.mjs +1 -1
- package/dist/esm-dev/packages/web/src/ui/b2b/screens/SsoAndOAuthButtons.mjs +1 -1
- package/dist/esm-dev/packages/web/src/ui/b2b/usePasswordInput.mjs +4 -4
- package/dist/esm-dev/packages/web/src/ui/b2b/usePasswordInput.mjs.map +1 -1
- package/dist/esm-dev/packages/web/src/ui/b2c/AppContainer.mjs +1 -1
- package/dist/esm-dev/packages/web/src/ui/b2c/GlobalContextProvider.mjs +1 -1
- package/dist/esm-dev/packages/web/src/ui/b2c/IDPContainer.mjs +1 -1
- package/dist/esm-dev/packages/web/src/ui/b2c/PasskeyRegistrationContainer.mjs +1 -1
- package/dist/esm-dev/packages/web/src/ui/b2c/ResetPasswordContainer.mjs +1 -1
- package/dist/esm-dev/packages/web/src/ui/b2c/components/GoogleOneTap.mjs +2 -2
- package/dist/esm-dev/packages/web/src/ui/b2c/screens/IdentityProvider/IDPConsent.mjs +1 -1
- package/dist/esm-dev/packages/web/src/ui/b2c/screens/Main/LoginForm/MagicLinkForm.mjs +1 -1
- package/dist/esm-dev/packages/web/src/ui/b2c/screens/Main/LoginForm/OTPForm.mjs +1 -1
- package/dist/esm-dev/packages/web/src/ui/b2c/screens/Main/LoginForm/index.mjs +1 -1
- package/dist/esm-dev/packages/web/src/ui/b2c/screens/Main/index.mjs +1 -1
- package/dist/esm-dev/packages/web/src/ui/b2c/screens/Passkey/PasskeyConfirmation.mjs +1 -1
- package/dist/esm-dev/packages/web/src/ui/b2c/screens/Passkey/PasskeyRegistrationSuccess.mjs +1 -1
- package/dist/esm-dev/packages/web/src/ui/b2c/screens/Password/PasswordConfirmation.mjs +1 -1
- package/dist/esm-dev/packages/web/src/ui/b2c/screens/Secondary/OTPConfirmation.mjs +1 -1
- package/dist/esm-dev/packages/web/src/ui/components/PresentationConfig.mjs +1 -1
- package/dist/esm-dev/packages/web/src/ui/hooks/usePromptPasskey.mjs +1 -1
- package/dist/iife/b2b/index.js +1 -1
- package/dist/iife/b2b/index.js.map +1 -1
- package/dist/types/{GoogleOneTapClient-wRV3UqOo.d.ts → GoogleOneTapClient-iv3nb_kU.d.ts} +29 -2
- package/dist/types/{StytchB2BClient-BxoZQ3m8.d.ts → StytchB2BClient-C-2u87oo.d.ts} +1 -1
- package/dist/types/{StytchClient-CMzVKb4K.d.ts → StytchClient-CCLs7DV6.d.ts} +1 -1
- package/dist/types/adminPortal/index.d.ts +3 -3
- package/dist/types/b2b/index.d.ts +5 -5
- package/dist/types/b2b/index.headless.d.ts +2 -2
- package/dist/types/index.d.ts +5 -5
- package/dist/types/index.headless.d.ts +2 -2
- package/dist/types/{themes-sEz9GUNs.d.ts → themes-MdCoynbd.d.ts} +3 -3
- package/package.json +1 -1
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { getDefaultExportFromCjs } from './_commonjsHelpers.mjs';
|
|
2
|
+
import { __require as requireLodash_merge } from '../node_modules/lodash.merge/index.mjs';
|
|
2
3
|
|
|
3
|
-
var
|
|
4
|
+
var lodash_mergeExports = requireLodash_merge();
|
|
5
|
+
var merge = /*@__PURE__*/getDefaultExportFromCjs(lodash_mergeExports);
|
|
4
6
|
|
|
5
|
-
export {
|
|
7
|
+
export { merge as default };
|
|
6
8
|
//# sourceMappingURL=index3.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index3.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index3.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { __require as requireLodash_merge } from '../node_modules/lodash.merge/index.mjs';
|
|
1
|
+
import { __require as requireBs58 } from '../node_modules/bs58/index.mjs';
|
|
3
2
|
|
|
4
|
-
var
|
|
5
|
-
var merge = /*@__PURE__*/getDefaultExportFromCjs(lodash_mergeExports);
|
|
3
|
+
var bs58Exports = requireBs58();
|
|
6
4
|
|
|
7
|
-
export {
|
|
5
|
+
export { bs58Exports as b };
|
|
8
6
|
//# sourceMappingURL=index4.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index4.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index4.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
|
|
@@ -3,8 +3,8 @@ import createCache from '../../cache/dist/emotion-cache.browser.esm.mjs';
|
|
|
3
3
|
import { getRegisteredStyles, registerStyles, insertStyles } from '../../utils/dist/emotion-utils.browser.esm.mjs';
|
|
4
4
|
import { serializeStyles } from '../../serialize/dist/emotion-serialize.esm.mjs';
|
|
5
5
|
import { useInsertionEffectAlwaysWithSyncFallback } from '../../use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.browser.esm.mjs';
|
|
6
|
-
import { createContext as F, createElement as y, Fragment as g } from '../../../preact/dist/preact.module.mjs';
|
|
7
6
|
import { useContext as q } from '../../../preact/hooks/dist/hooks.module.mjs';
|
|
7
|
+
import { createContext as F, createElement as y, Fragment as g } from '../../../preact/dist/preact.module.mjs';
|
|
8
8
|
|
|
9
9
|
var EmotionCacheContext = /* #__PURE__ */F( // we're doing this to avoid preconstruct's dead code elimination in this one case
|
|
10
10
|
// because this module is primarily intended for the browser and node
|
|
@@ -19,10 +19,10 @@ import Chip from '../Chip/Chip.mjs';
|
|
|
19
19
|
import capitalize from '../../utils/esm/capitalize/capitalize.mjs';
|
|
20
20
|
import composeClasses from '../../utils/esm/composeClasses/composeClasses.mjs';
|
|
21
21
|
import styled from '../styles/styled.mjs';
|
|
22
|
+
import { alpha } from '../../system/esm/colorManipulator/colorManipulator.mjs';
|
|
22
23
|
import IconButton from '../IconButton/IconButton.mjs';
|
|
23
24
|
import ListSubheader from '../ListSubheader/ListSubheader.mjs';
|
|
24
25
|
import { Fragment as g } from '../../../preact/dist/preact.module.mjs';
|
|
25
|
-
import { alpha } from '../../system/esm/colorManipulator/colorManipulator.mjs';
|
|
26
26
|
|
|
27
27
|
var _ClearIcon, _ArrowDropDownIcon;
|
|
28
28
|
const useUtilityClasses$E = ownerState => {
|
|
@@ -15,8 +15,8 @@ import capitalize from '../../utils/esm/capitalize/capitalize.mjs';
|
|
|
15
15
|
import composeClasses from '../../utils/esm/composeClasses/composeClasses.mjs';
|
|
16
16
|
import styled from '../styles/styled.mjs';
|
|
17
17
|
import ButtonBase from '../ButtonBase/ButtonBase.mjs';
|
|
18
|
-
import { useContext as q } from '../../../preact/hooks/dist/hooks.module.mjs';
|
|
19
18
|
import { alpha } from '../../system/esm/colorManipulator/colorManipulator.mjs';
|
|
19
|
+
import { useContext as q } from '../../../preact/hooks/dist/hooks.module.mjs';
|
|
20
20
|
|
|
21
21
|
const useUtilityClasses$C = ownerState => {
|
|
22
22
|
const {
|
|
@@ -11,8 +11,8 @@ import ButtonBase from '../ButtonBase/ButtonBase.mjs';
|
|
|
11
11
|
import capitalize from '../../utils/esm/capitalize/capitalize.mjs';
|
|
12
12
|
import composeClasses from '../../utils/esm/composeClasses/composeClasses.mjs';
|
|
13
13
|
import styled from '../styles/styled.mjs';
|
|
14
|
-
import { useRef as _ } from '../../../preact/hooks/dist/hooks.module.mjs';
|
|
15
14
|
import { alpha } from '../../system/esm/colorManipulator/colorManipulator.mjs';
|
|
15
|
+
import { useRef as _ } from '../../../preact/hooks/dist/hooks.module.mjs';
|
|
16
16
|
|
|
17
17
|
const useUtilityClasses$G = ownerState => {
|
|
18
18
|
const {
|
|
@@ -14,8 +14,8 @@ import ButtonBase from '../ButtonBase/ButtonBase.mjs';
|
|
|
14
14
|
import listItemIconClasses from '../ListItemIcon/listItemIconClasses.mjs';
|
|
15
15
|
import listItemTextClasses from '../ListItemText/listItemTextClasses.mjs';
|
|
16
16
|
import dividerClasses from '../Divider/dividerClasses.mjs';
|
|
17
|
-
import { useContext as q, useMemo as F, useRef as _ } from '../../../preact/hooks/dist/hooks.module.mjs';
|
|
18
17
|
import { alpha } from '../../system/esm/colorManipulator/colorManipulator.mjs';
|
|
18
|
+
import { useContext as q, useMemo as F, useRef as _ } from '../../../preact/hooks/dist/hooks.module.mjs';
|
|
19
19
|
|
|
20
20
|
const overridesResolver = (props, styles) => {
|
|
21
21
|
const {
|
|
@@ -9,8 +9,8 @@ import { useDefaultProps } from '../DefaultPropsProvider/DefaultPropsProvider.mj
|
|
|
9
9
|
import capitalize from '../../utils/esm/capitalize/capitalize.mjs';
|
|
10
10
|
import composeClasses from '../../utils/esm/composeClasses/composeClasses.mjs';
|
|
11
11
|
import styled from '../styles/styled.mjs';
|
|
12
|
-
import { useContext as q } from '../../../preact/hooks/dist/hooks.module.mjs';
|
|
13
12
|
import { lighten, alpha, darken } from '../../system/esm/colorManipulator/colorManipulator.mjs';
|
|
13
|
+
import { useContext as q } from '../../../preact/hooks/dist/hooks.module.mjs';
|
|
14
14
|
|
|
15
15
|
const useUtilityClasses$6 = ownerState => {
|
|
16
16
|
const {
|
|
@@ -7,8 +7,8 @@ import { jsx as u } from '../../../preact/jsx-runtime/dist/jsxRuntime.module.mjs
|
|
|
7
7
|
import { useDefaultProps } from '../DefaultPropsProvider/DefaultPropsProvider.mjs';
|
|
8
8
|
import composeClasses from '../../utils/esm/composeClasses/composeClasses.mjs';
|
|
9
9
|
import styled from '../styles/styled.mjs';
|
|
10
|
-
import { useContext as q } from '../../../preact/hooks/dist/hooks.module.mjs';
|
|
11
10
|
import { alpha } from '../../system/esm/colorManipulator/colorManipulator.mjs';
|
|
11
|
+
import { useContext as q } from '../../../preact/hooks/dist/hooks.module.mjs';
|
|
12
12
|
|
|
13
13
|
const useUtilityClasses$1 = ownerState => {
|
|
14
14
|
const {
|
|
@@ -18,10 +18,10 @@ import Grow from '../Grow/Grow.mjs';
|
|
|
18
18
|
import Popper from '../Popper/Popper.mjs';
|
|
19
19
|
import capitalize from '../../utils/esm/capitalize/capitalize.mjs';
|
|
20
20
|
import composeClasses from '../../utils/esm/composeClasses/composeClasses.mjs';
|
|
21
|
+
import { alpha } from '../../system/esm/colorManipulator/colorManipulator.mjs';
|
|
21
22
|
import isFocusVisible from '../../utils/esm/isFocusVisible/isFocusVisible.mjs';
|
|
22
23
|
import { useState as h, useRef as _, useEffect as p, useMemo as F } from '../../../preact/hooks/dist/hooks.module.mjs';
|
|
23
24
|
import { Fragment as g } from '../../../preact/dist/preact.module.mjs';
|
|
24
|
-
import { alpha } from '../../system/esm/colorManipulator/colorManipulator.mjs';
|
|
25
25
|
|
|
26
26
|
function round(value) {
|
|
27
27
|
return Math.round(value * 1e5) / 1e5;
|
|
@@ -9,11 +9,11 @@ import { private_safeDarken, private_safeLighten, private_safeEmphasize, private
|
|
|
9
9
|
import deepmerge from '../../utils/esm/deepmerge/deepmerge.mjs';
|
|
10
10
|
import prepareCssVars from '../../system/esm/cssVars/prepareCssVars.mjs';
|
|
11
11
|
import createSpacing from '../../system/esm/createTheme/createSpacing.mjs';
|
|
12
|
+
import { createUnarySpacing } from '../../system/esm/spacing/spacing.mjs';
|
|
12
13
|
import { createGetColorSchemeSelector } from '../../system/esm/cssVars/getColorSchemeSelector.mjs';
|
|
13
14
|
import defaultSxConfig from '../../system/esm/styleFunctionSx/defaultSxConfig.mjs';
|
|
14
15
|
import styleFunctionSx from '../../system/esm/styleFunctionSx/styleFunctionSx.mjs';
|
|
15
16
|
import createGetCssVar$1 from '../../system/esm/cssVars/createGetCssVar.mjs';
|
|
16
|
-
import { createUnarySpacing } from '../../system/esm/spacing/spacing.mjs';
|
|
17
17
|
|
|
18
18
|
function assignNode(obj, keys) {
|
|
19
19
|
keys.forEach(k => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createUnaryUnit, getValue } from '../spacing/spacing.mjs';
|
|
2
|
+
import { handleBreakpoints } from '../breakpoints/breakpoints.mjs';
|
|
2
3
|
import compose from '../compose/compose.mjs';
|
|
3
4
|
import style from '../style/style.mjs';
|
|
4
|
-
import { handleBreakpoints } from '../breakpoints/breakpoints.mjs';
|
|
5
5
|
|
|
6
6
|
function borderTransform(value) {
|
|
7
7
|
if (typeof value !== 'number') {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import style from '../style/style.mjs';
|
|
2
|
-
import compose from '../compose/compose.mjs';
|
|
3
1
|
import { createUnaryUnit, getValue } from '../spacing/spacing.mjs';
|
|
4
2
|
import { handleBreakpoints } from '../breakpoints/breakpoints.mjs';
|
|
3
|
+
import style from '../style/style.mjs';
|
|
4
|
+
import compose from '../compose/compose.mjs';
|
|
5
5
|
|
|
6
6
|
// false positive
|
|
7
7
|
// eslint-disable-next-line react/function-component-definition
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { handleBreakpoints, values } from '../breakpoints/breakpoints.mjs';
|
|
1
2
|
import style from '../style/style.mjs';
|
|
2
3
|
import compose from '../compose/compose.mjs';
|
|
3
|
-
import { handleBreakpoints, values } from '../breakpoints/breakpoints.mjs';
|
|
4
4
|
|
|
5
5
|
function sizingTransform(value) {
|
|
6
6
|
return value <= 1 && value !== 0 ? `${value * 100}%` : value;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getPath } from '../style/style.mjs';
|
|
2
2
|
import merge from '../merge/merge.mjs';
|
|
3
|
-
import memoize from '../memoize/memoize.mjs';
|
|
4
3
|
import { handleBreakpoints } from '../breakpoints/breakpoints.mjs';
|
|
4
|
+
import memoize from '../memoize/memoize.mjs';
|
|
5
5
|
|
|
6
6
|
const properties = {
|
|
7
7
|
m: 'margin',
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { omitUser, isTestPublicToken } from '../utils/index.mjs';
|
|
2
|
-
import { OAuthProviders } from '../public/ui.mjs';
|
|
3
2
|
import { logger } from '../utils/logger.mjs';
|
|
3
|
+
import { OAuthProviders } from '../public/ui.mjs';
|
|
4
4
|
|
|
5
5
|
let HeadlessOAuthClient$1 = class HeadlessOAuthClient {
|
|
6
6
|
_networkClient;
|
|
@@ -5,8 +5,8 @@ import { ToastContextProvider } from './components/Toast.mjs';
|
|
|
5
5
|
import { MainContainer } from './MainContainer.mjs';
|
|
6
6
|
import { StytchClientContext } from './StytchClientContext.mjs';
|
|
7
7
|
import { getTheme } from './utils/theme.mjs';
|
|
8
|
-
import ThemeProvider from '../../../../node_modules/@mui/material/styles/ThemeProvider.mjs';
|
|
9
8
|
import { useMemo as F } from '../../../../node_modules/preact/hooks/dist/hooks.module.mjs';
|
|
9
|
+
import ThemeProvider from '../../../../node_modules/@mui/material/styles/ThemeProvider.mjs';
|
|
10
10
|
|
|
11
11
|
const ContextProvider = ({ theme, options, children })=>{
|
|
12
12
|
const clientAndConfig = F(()=>({
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import wn from '../../../../../node_modules/preact/compat/dist/compat.module.mjs';
|
|
2
2
|
import { IconButtonMenu } from './IconButtonMenu.mjs';
|
|
3
3
|
import styled from '../../../../../node_modules/@mui/material/styles/styled.mjs';
|
|
4
|
-
import MoreVert from '../../../../../node_modules/@mui/icons-material/esm/MoreVert.mjs';
|
|
5
4
|
import { useCallback as T } from '../../../../../node_modules/preact/hooks/dist/hooks.module.mjs';
|
|
5
|
+
import MoreVert from '../../../../../node_modules/@mui/icons-material/esm/MoreVert.mjs';
|
|
6
6
|
|
|
7
7
|
const StyledDiv = styled('div')({
|
|
8
8
|
display: 'flex',
|
|
@@ -13,9 +13,9 @@ import autocompleteClasses from '../../../../../node_modules/@mui/material/Autoc
|
|
|
13
13
|
import outlinedInputClasses from '../../../../../node_modules/@mui/material/OutlinedInput/outlinedInputClasses.mjs';
|
|
14
14
|
import inputBaseClasses from '../../../../../node_modules/@mui/material/InputBase/inputBaseClasses.mjs';
|
|
15
15
|
import IconButton from '../../../../../node_modules/@mui/material/IconButton/IconButton.mjs';
|
|
16
|
+
import { useState as h } from '../../../../../node_modules/preact/hooks/dist/hooks.module.mjs';
|
|
16
17
|
import Typography from '../../../../../node_modules/@mui/material/Typography/Typography.mjs';
|
|
17
18
|
import TextField from '../../../../../node_modules/@mui/material/TextField/TextField.mjs';
|
|
18
|
-
import { useState as h } from '../../../../../node_modules/preact/hooks/dist/hooks.module.mjs';
|
|
19
19
|
|
|
20
20
|
const StyledAutocomplete = styled(Autocomplete$1)(({ theme })=>({
|
|
21
21
|
[`& .${inputBaseClasses.root}`]: {
|
|
@@ -2,8 +2,8 @@ import wn from '../../../../../node_modules/preact/compat/dist/compat.module.mjs
|
|
|
2
2
|
import { Modal } from './Modal.mjs';
|
|
3
3
|
import { Typography } from './Typography.mjs';
|
|
4
4
|
import { useDeleteSsoConnection } from '../utils/useMutateSsoConnection.mjs';
|
|
5
|
-
import { useModalState } from '../shared/components/Modal.mjs';
|
|
6
5
|
import { useState as h, useCallback as T } from '../../../../../node_modules/preact/hooks/dist/hooks.module.mjs';
|
|
6
|
+
import { useModalState } from '../shared/components/Modal.mjs';
|
|
7
7
|
|
|
8
8
|
const DeleteConfirmModal = ({ connectionName, connectionType, ...modalProps })=>{
|
|
9
9
|
return /*#__PURE__*/ wn.createElement(Modal, {
|
|
@@ -5,8 +5,8 @@ import { Typography } from './Typography.mjs';
|
|
|
5
5
|
import styled from '../../../../../node_modules/@mui/material/styles/styled.mjs';
|
|
6
6
|
import MenuItem from '../../../../../node_modules/@mui/material/MenuItem/MenuItem.mjs';
|
|
7
7
|
import IconButton from '../../../../../node_modules/@mui/material/IconButton/IconButton.mjs';
|
|
8
|
-
import Menu from '../../../../../node_modules/@mui/material/Menu/Menu.mjs';
|
|
9
8
|
import { useState as h, useCallback as T, useMemo as F } from '../../../../../node_modules/preact/hooks/dist/hooks.module.mjs';
|
|
9
|
+
import Menu from '../../../../../node_modules/@mui/material/Menu/Menu.mjs';
|
|
10
10
|
|
|
11
11
|
const StyledMenuItem$1 = styled(MenuItem)(({ theme })=>({
|
|
12
12
|
padding: theme.spacing(1),
|
|
@@ -7,9 +7,9 @@ import { Modal } from './Modal.mjs';
|
|
|
7
7
|
import { useToast } from '../shared/components/Toast.mjs';
|
|
8
8
|
import { Typography } from './Typography.mjs';
|
|
9
9
|
import styled from '../../../../../node_modules/@mui/material/styles/styled.mjs';
|
|
10
|
+
import { useState as h, useContext as q } from '../../../../../node_modules/preact/hooks/dist/hooks.module.mjs';
|
|
10
11
|
import { useModalState } from '../shared/components/Modal.mjs';
|
|
11
12
|
import { createContext as F } from '../../../../../node_modules/preact/dist/preact.module.mjs';
|
|
12
|
-
import { useState as h, useContext as q } from '../../../../../node_modules/preact/hooks/dist/hooks.module.mjs';
|
|
13
13
|
|
|
14
14
|
const Container$2 = styled('div')(({ theme })=>({
|
|
15
15
|
border: '1px solid',
|
|
@@ -19,8 +19,8 @@ import { useRoleSortFn } from '../utils/useRoleSortFn.mjs';
|
|
|
19
19
|
import { useSelf } from '../utils/useSelf.mjs';
|
|
20
20
|
import { useStateSliceSetter } from '../utils/useStateSliceSetter.mjs';
|
|
21
21
|
import { useMemberManagementRouterController } from './MemberManagementRouter.mjs';
|
|
22
|
-
import { useModalState } from '../shared/components/Modal.mjs';
|
|
23
22
|
import { useMemo as F, useRef as _, useCallback as T, useState as h } from '../../../../../node_modules/preact/hooks/dist/hooks.module.mjs';
|
|
23
|
+
import { useModalState } from '../shared/components/Modal.mjs';
|
|
24
24
|
|
|
25
25
|
const getRoleSourceTypeDisplayName = (sourceType)=>{
|
|
26
26
|
switch(sourceType){
|
|
@@ -6,8 +6,8 @@ import { Modal } from '../components/Modal.mjs';
|
|
|
6
6
|
import { ROLE_ID_STYTCH_MEMBER } from '../utils/roles.mjs';
|
|
7
7
|
import { useRbac } from '../utils/useRbac.mjs';
|
|
8
8
|
import { useRoleAutocomplete } from '../utils/useRoleAutocomplete.mjs';
|
|
9
|
-
import { useModalState } from '../shared/components/Modal.mjs';
|
|
10
9
|
import { useState as h, useCallback as T } from '../../../../../node_modules/preact/hooks/dist/hooks.module.mjs';
|
|
10
|
+
import { useModalState } from '../shared/components/Modal.mjs';
|
|
11
11
|
|
|
12
12
|
const defaultInviteRoles = [];
|
|
13
13
|
const useInviteModal = (inviteUser)=>{
|
|
@@ -7,8 +7,8 @@ import { memberGetKey } from '../utils/memberGetKey.mjs';
|
|
|
7
7
|
import { useMutateWithToast } from '../utils/useMutateWithToast.mjs';
|
|
8
8
|
import { useStytchClient } from '../utils/useStytchClient.mjs';
|
|
9
9
|
import { useUpdateCachedMember } from '../utils/useUpdateCachedMember.mjs';
|
|
10
|
-
import { useModalState } from '../shared/components/Modal.mjs';
|
|
11
10
|
import { useState as h } from '../../../../../node_modules/preact/hooks/dist/hooks.module.mjs';
|
|
11
|
+
import { useModalState } from '../shared/components/Modal.mjs';
|
|
12
12
|
|
|
13
13
|
const getActionCopy = ({ status, isEmailVerified })=>{
|
|
14
14
|
if (status === 'invited') {
|
|
@@ -16,8 +16,8 @@ import { useRbac } from '../utils/useRbac.mjs';
|
|
|
16
16
|
import { scimGetConnectionKey } from '../utils/useScimConnection.mjs';
|
|
17
17
|
import { useStytchClient } from '../utils/useStytchClient.mjs';
|
|
18
18
|
import { getFieldBy, DEFAULT_HEADER_BEARER_TOKEN_LABEL } from './scimInfo.mjs';
|
|
19
|
-
import { useModalState } from '../shared/components/Modal.mjs';
|
|
20
19
|
import { useState as h } from '../../../../../node_modules/preact/hooks/dist/hooks.module.mjs';
|
|
20
|
+
import { useModalState } from '../shared/components/Modal.mjs';
|
|
21
21
|
|
|
22
22
|
const tokenRotationItemRenderers = ({ isCurrent, tokenTitle, tokenLastFour, tokenExpiresAt })=>[
|
|
23
23
|
{
|
|
@@ -7,9 +7,9 @@ import { SCIMFields } from '../components/ScimFields.mjs';
|
|
|
7
7
|
import { Typography } from '../components/Typography.mjs';
|
|
8
8
|
import { getSCIMIdpInfo } from './scimInfo.mjs';
|
|
9
9
|
import { useScimRouterController } from './SCIMRouter.mjs';
|
|
10
|
+
import { useState as h } from '../../../../../node_modules/preact/hooks/dist/hooks.module.mjs';
|
|
10
11
|
import Accordion from '../../../../../node_modules/@mui/material/Accordion/Accordion.mjs';
|
|
11
12
|
import AccordionDetails from '../../../../../node_modules/@mui/material/AccordionDetails/AccordionDetails.mjs';
|
|
12
|
-
import { useState as h } from '../../../../../node_modules/preact/hooks/dist/hooks.module.mjs';
|
|
13
13
|
|
|
14
14
|
const SCIMNewConnectionConfigureScreen = ({ connection })=>{
|
|
15
15
|
const { navigate } = useScimRouterController();
|
package/dist/esm/packages/web/src/adminPortal/settings/OrgSettingsRoleAssignmentsSection.mjs
CHANGED
|
@@ -29,10 +29,10 @@ import { useScimConnection } from '../utils/useScimConnection.mjs';
|
|
|
29
29
|
import { useScimConnectionGroups } from '../utils/useScimConnectionGroups.mjs';
|
|
30
30
|
import { useSsoConnections } from '../utils/useSsoConnections.mjs';
|
|
31
31
|
import { useOrgSettingsRouterController } from './AdminPortalOrgRouter.mjs';
|
|
32
|
+
import { useMemo as F, useState as h } from '../../../../../node_modules/preact/hooks/dist/hooks.module.mjs';
|
|
32
33
|
import { useModalState } from '../shared/components/Modal.mjs';
|
|
33
34
|
import TableContainer from '../../../../../node_modules/@mui/material/TableContainer/TableContainer.mjs';
|
|
34
35
|
import Paper from '../../../../../node_modules/@mui/material/Paper/Paper.mjs';
|
|
35
|
-
import { useMemo as F, useState as h } from '../../../../../node_modules/preact/hooks/dist/hooks.module.mjs';
|
|
36
36
|
|
|
37
37
|
const roleAssignmentsItemRenderers = (idMap, rolesById)=>[
|
|
38
38
|
{
|
|
@@ -27,8 +27,8 @@ import { useRbac } from '../utils/useRbac.mjs';
|
|
|
27
27
|
import { useSelf } from '../utils/useSelf.mjs';
|
|
28
28
|
import { useStateSliceSetter } from '../utils/useStateSliceSetter.mjs';
|
|
29
29
|
import { useOrgSettingsRouterController } from './AdminPortalOrgRouter.mjs';
|
|
30
|
-
import { useModalState } from '../shared/components/Modal.mjs';
|
|
31
30
|
import { useMemo as F, useCallback as T, useState as h } from '../../../../../node_modules/preact/hooks/dist/hooks.module.mjs';
|
|
31
|
+
import { useModalState } from '../shared/components/Modal.mjs';
|
|
32
32
|
|
|
33
33
|
const useMutateAuthSettings = ()=>{
|
|
34
34
|
const { mutate } = useMutateOrganization();
|
|
@@ -4,11 +4,11 @@ import { TABLE_ACTIONS_HEADER, TableActionsContainer } from './TableActions.mjs'
|
|
|
4
4
|
import styled from '../../../../../../node_modules/@mui/material/styles/styled.mjs';
|
|
5
5
|
import Table from '../../../../../../node_modules/@mui/material/Table/Table.mjs';
|
|
6
6
|
import TableCell from '../../../../../../node_modules/@mui/material/TableCell/TableCell.mjs';
|
|
7
|
+
import { useCallback as T, useState as h, useEffect as p } from '../../../../../../node_modules/preact/hooks/dist/hooks.module.mjs';
|
|
7
8
|
import TableContainer from '../../../../../../node_modules/@mui/material/TableContainer/TableContainer.mjs';
|
|
8
9
|
import TableHead from '../../../../../../node_modules/@mui/material/TableHead/TableHead.mjs';
|
|
9
10
|
import TableRow from '../../../../../../node_modules/@mui/material/TableRow/TableRow.mjs';
|
|
10
11
|
import TableBody from '../../../../../../node_modules/@mui/material/TableBody/TableBody.mjs';
|
|
11
|
-
import { useCallback as T, useState as h, useEffect as p } from '../../../../../../node_modules/preact/hooks/dist/hooks.module.mjs';
|
|
12
12
|
|
|
13
13
|
const StyledTable$1 = styled(Table)(({ hasActions })=>[
|
|
14
14
|
// For some reason with position sticky, the table is 2px wider than the container
|
|
@@ -2,8 +2,8 @@ import wn from '../../../../../../node_modules/preact/compat/dist/compat.module.
|
|
|
2
2
|
import { useUniqueId } from '../../../utils/uniqueId.mjs';
|
|
3
3
|
import { DEFAULT_GRID_COLUMN_WIDTH, DEFAULT_MAX_ITEM_WIDTH } from './constants.mjs';
|
|
4
4
|
import styled from '../../../../../../node_modules/@mui/material/styles/styled.mjs';
|
|
5
|
-
import OutlinedInput from '../../../../../../node_modules/@mui/material/OutlinedInput/OutlinedInput.mjs';
|
|
6
5
|
import { useState as h, useEffect as p } from '../../../../../../node_modules/preact/hooks/dist/hooks.module.mjs';
|
|
6
|
+
import OutlinedInput from '../../../../../../node_modules/@mui/material/OutlinedInput/OutlinedInput.mjs';
|
|
7
7
|
|
|
8
8
|
const InputContainer = styled('div')(({ isMultiline, isReadOnly, fullWidth, theme })=>[
|
|
9
9
|
{
|
|
@@ -4,9 +4,9 @@ import { useToast } from './Toast.mjs';
|
|
|
4
4
|
import styled from '../../../../../../node_modules/@mui/material/styles/styled.mjs';
|
|
5
5
|
import tablePaginationClasses from '../../../../../../node_modules/@mui/material/TablePagination/tablePaginationClasses.mjs';
|
|
6
6
|
import iconButtonClasses from '../../../../../../node_modules/@mui/material/IconButton/iconButtonClasses.mjs';
|
|
7
|
+
import { useRef as _ } from '../../../../../../node_modules/preact/hooks/dist/hooks.module.mjs';
|
|
7
8
|
import CircularProgress from '../../../../../../node_modules/@mui/material/CircularProgress/CircularProgress.mjs';
|
|
8
9
|
import TablePagination from '../../../../../../node_modules/@mui/material/TablePagination/TablePagination.mjs';
|
|
9
|
-
import { useRef as _ } from '../../../../../../node_modules/preact/hooks/dist/hooks.module.mjs';
|
|
10
10
|
|
|
11
11
|
const DEFAULT_TABLE_ROWS_PER_PAGE = 20;
|
|
12
12
|
const LOAD_NEXT_PAGE_ERROR = 'Failed to load the next page.';
|
|
@@ -8,12 +8,12 @@ import styled from '../../../../../../node_modules/@mui/material/styles/styled.m
|
|
|
8
8
|
import Table from '../../../../../../node_modules/@mui/material/Table/Table.mjs';
|
|
9
9
|
import TableRow$1 from '../../../../../../node_modules/@mui/material/TableRow/TableRow.mjs';
|
|
10
10
|
import TableCell$1 from '../../../../../../node_modules/@mui/material/TableCell/TableCell.mjs';
|
|
11
|
+
import { useState as h, useEffect as p } from '../../../../../../node_modules/preact/hooks/dist/hooks.module.mjs';
|
|
11
12
|
import TableContainer from '../../../../../../node_modules/@mui/material/TableContainer/TableContainer.mjs';
|
|
12
13
|
import TableHead from '../../../../../../node_modules/@mui/material/TableHead/TableHead.mjs';
|
|
13
14
|
import TableBody from '../../../../../../node_modules/@mui/material/TableBody/TableBody.mjs';
|
|
14
15
|
import IconButton from '../../../../../../node_modules/@mui/material/IconButton/IconButton.mjs';
|
|
15
16
|
import Collapse from '../../../../../../node_modules/@mui/material/Collapse/Collapse.mjs';
|
|
16
|
-
import { useState as h, useEffect as p } from '../../../../../../node_modules/preact/hooks/dist/hooks.module.mjs';
|
|
17
17
|
|
|
18
18
|
const TABLE_CONTAINER_ID = 'table-container';
|
|
19
19
|
const EXPANDED_CONTENT_CLASSNAME = 'expanded-content';
|
|
@@ -9,8 +9,8 @@ import Snackbar from '../../../../../../node_modules/@mui/material/Snackbar/Snac
|
|
|
9
9
|
import IconButton from '../../../../../../node_modules/@mui/material/IconButton/IconButton.mjs';
|
|
10
10
|
import Alert from '../../../../../../node_modules/@mui/material/Alert/Alert.mjs';
|
|
11
11
|
import alertClasses from '../../../../../../node_modules/@mui/material/Alert/alertClasses.mjs';
|
|
12
|
-
import { createContext as F } from '../../../../../../node_modules/preact/dist/preact.module.mjs';
|
|
13
12
|
import { useState as h, useRef as _, useCallback as T, useContext as q } from '../../../../../../node_modules/preact/hooks/dist/hooks.module.mjs';
|
|
13
|
+
import { createContext as F } from '../../../../../../node_modules/preact/dist/preact.module.mjs';
|
|
14
14
|
|
|
15
15
|
const StyledSnackbar = styled(Snackbar)(({ theme })=>({
|
|
16
16
|
bottom: theme.spacing(5)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import wn from '../../../../../../node_modules/preact/compat/dist/compat.module.mjs';
|
|
2
2
|
import styled from '../../../../../../node_modules/@mui/material/styles/styled.mjs';
|
|
3
|
-
import Tooltip from '../../../../../../node_modules/@mui/material/Tooltip/Tooltip.mjs';
|
|
4
3
|
import { useState as h } from '../../../../../../node_modules/preact/hooks/dist/hooks.module.mjs';
|
|
4
|
+
import Tooltip from '../../../../../../node_modules/@mui/material/Tooltip/Tooltip.mjs';
|
|
5
5
|
|
|
6
6
|
const HoverTarget = styled('span')({
|
|
7
7
|
display: 'flex',
|
|
@@ -7,9 +7,9 @@ import { Modal } from '../components/Modal.mjs';
|
|
|
7
7
|
import { Select } from '../components/Select.mjs';
|
|
8
8
|
import { Typography } from '../components/Typography.mjs';
|
|
9
9
|
import { collator } from '../utils/collator.mjs';
|
|
10
|
+
import { useMemo as F, useState as h, useCallback as T } from '../../../../../node_modules/preact/hooks/dist/hooks.module.mjs';
|
|
10
11
|
import { useModalState } from '../shared/components/Modal.mjs';
|
|
11
12
|
import Add from '../../../../../node_modules/@mui/icons-material/esm/Add.mjs';
|
|
12
|
-
import { useMemo as F, useState as h, useCallback as T } from '../../../../../node_modules/preact/hooks/dist/hooks.module.mjs';
|
|
13
13
|
|
|
14
14
|
const nameKeys = new Set([
|
|
15
15
|
'full_name',
|
|
@@ -20,9 +20,9 @@ import { AttributeMappingTable } from './AttributeMappingTable.mjs';
|
|
|
20
20
|
import { getIdpAndConnectionInfo } from './IdpInfo.mjs';
|
|
21
21
|
import { samlIdpSelectItems, oidcIdpSelectItems } from './IdpSelect.mjs';
|
|
22
22
|
import { useSsoRouterController } from './SSORouter.mjs';
|
|
23
|
-
import { useModalState } from '../shared/components/Modal.mjs';
|
|
24
23
|
import { useMemo as F, useCallback as T, useState as h } from '../../../../../node_modules/preact/hooks/dist/hooks.module.mjs';
|
|
25
24
|
import { StytchSDKAPIError } from '../../../../core/src/public/SDKErrors.mjs';
|
|
25
|
+
import { useModalState } from '../shared/components/Modal.mjs';
|
|
26
26
|
|
|
27
27
|
const certItemRenderer = [
|
|
28
28
|
{
|
|
@@ -16,8 +16,8 @@ import { useRbac } from '../utils/useRbac.mjs';
|
|
|
16
16
|
import { useRoleAutocomplete } from '../utils/useRoleAutocomplete.mjs';
|
|
17
17
|
import { getIdpInfo } from './IdpInfo.mjs';
|
|
18
18
|
import { useSsoRouterController } from './SSORouter.mjs';
|
|
19
|
-
import Add from '../../../../../node_modules/@mui/icons-material/esm/Add.mjs';
|
|
20
19
|
import { useMemo as F, useCallback as T } from '../../../../../node_modules/preact/hooks/dist/hooks.module.mjs';
|
|
20
|
+
import Add from '../../../../../node_modules/@mui/icons-material/esm/Add.mjs';
|
|
21
21
|
|
|
22
22
|
const RoleAssignmentsSectionBody = ({ connection, localState, setLocalState, remoteState })=>{
|
|
23
23
|
const { editing } = useSettingsContainer();
|
|
@@ -14,8 +14,8 @@ import { DetailsSection } from './DetailsSection.mjs';
|
|
|
14
14
|
import { OrganizationUpdatesSection } from './OrganizationUpdatesSection.mjs';
|
|
15
15
|
import { RoleAssignmentsSection } from './RoleAssignmentsSection.mjs';
|
|
16
16
|
import { useSsoRouterController } from './SSORouter.mjs';
|
|
17
|
-
import ChevronLeft from '../../../../../node_modules/@mui/icons-material/esm/ChevronLeft.mjs';
|
|
18
17
|
import { useMemo as F, useCallback as T } from '../../../../../node_modules/preact/hooks/dist/hooks.module.mjs';
|
|
18
|
+
import ChevronLeft from '../../../../../node_modules/@mui/icons-material/esm/ChevronLeft.mjs';
|
|
19
19
|
|
|
20
20
|
const SSOConnectionDetailsScreen = ({ connectionId })=>{
|
|
21
21
|
const { navigate } = useSsoRouterController();
|
|
@@ -17,12 +17,12 @@ import { useDisplayPagination } from '../utils/useDisplayPagination.mjs';
|
|
|
17
17
|
import { useRbac } from '../utils/useRbac.mjs';
|
|
18
18
|
import { getIdpInfo } from './IdpInfo.mjs';
|
|
19
19
|
import { useSsoRouterController } from './SSORouter.mjs';
|
|
20
|
+
import { useMemo as F, useCallback as T, useState as h } from '../../../../../node_modules/preact/hooks/dist/hooks.module.mjs';
|
|
20
21
|
import VisibilityOutlined from '../../../../../node_modules/@mui/icons-material/esm/VisibilityOutlined.mjs';
|
|
21
22
|
import EditOutlined from '../../../../../node_modules/@mui/icons-material/esm/EditOutlined.mjs';
|
|
22
23
|
import Tune from '../../../../../node_modules/@mui/icons-material/esm/Tune.mjs';
|
|
23
24
|
import DeleteOutlined from '../../../../../node_modules/@mui/icons-material/esm/DeleteOutlined.mjs';
|
|
24
25
|
import Add from '../../../../../node_modules/@mui/icons-material/esm/Add.mjs';
|
|
25
|
-
import { useMemo as F, useCallback as T, useState as h } from '../../../../../node_modules/preact/hooks/dist/hooks.module.mjs';
|
|
26
26
|
|
|
27
27
|
const itemRenderer = [
|
|
28
28
|
{
|
|
@@ -18,10 +18,10 @@ import { CreateApplication } from './CreateApplication.mjs';
|
|
|
18
18
|
import { DetailedAttributeMappingTable } from './DetailedAttributeMappingTable.mjs';
|
|
19
19
|
import { getIdpAndConnectionInfo, typeToUserFriendlyName } from './IdpInfo.mjs';
|
|
20
20
|
import { useSsoRouterController } from './SSORouter.mjs';
|
|
21
|
+
import { useState as h, useMemo as F, useCallback as T } from '../../../../../node_modules/preact/hooks/dist/hooks.module.mjs';
|
|
21
22
|
import Accordion from '../../../../../node_modules/@mui/material/Accordion/Accordion.mjs';
|
|
22
23
|
import AccordionDetails from '../../../../../node_modules/@mui/material/AccordionDetails/AccordionDetails.mjs';
|
|
23
24
|
import ChevronLeft from '../../../../../node_modules/@mui/icons-material/esm/ChevronLeft.mjs';
|
|
24
|
-
import { useState as h, useMemo as F, useCallback as T } from '../../../../../node_modules/preact/hooks/dist/hooks.module.mjs';
|
|
25
25
|
|
|
26
26
|
const useManualConfigurationState = ({ idp, type })=>{
|
|
27
27
|
const [manualConfigurationState, setManualConfigurationState] = h(false);
|
|
@@ -12,8 +12,8 @@ import { useRevalidateConnectionList } from '../utils/useRevalidateConnectionLis
|
|
|
12
12
|
import { useStytchClient } from '../utils/useStytchClient.mjs';
|
|
13
13
|
import { idpOptions, idpSelectItems } from './IdpSelect.mjs';
|
|
14
14
|
import { useSsoRouterController } from './SSORouter.mjs';
|
|
15
|
-
import ChevronLeft from '../../../../../node_modules/@mui/icons-material/esm/ChevronLeft.mjs';
|
|
16
15
|
import { useState as h, useCallback as T } from '../../../../../node_modules/preact/hooks/dist/hooks.module.mjs';
|
|
16
|
+
import ChevronLeft from '../../../../../node_modules/@mui/icons-material/esm/ChevronLeft.mjs';
|
|
17
17
|
|
|
18
18
|
const SSONewConnectionScreen = ()=>{
|
|
19
19
|
const { navigate } = useSsoRouterController();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import merge from '../../../../../_virtual/
|
|
1
|
+
import merge from '../../../../../_virtual/index3.mjs';
|
|
2
2
|
import '../../../../../node_modules/preact/compat/dist/compat.module.mjs';
|
|
3
3
|
import createTheme from '../../../../../node_modules/@mui/material/styles/createTheme.mjs';
|
|
4
4
|
import selectClasses from '../../../../../node_modules/@mui/material/Select/selectClasses.mjs';
|
|
@@ -10,6 +10,8 @@ import { writeB2BInternals } from '../utils/internal.mjs';
|
|
|
10
10
|
import { HeadlessB2BOAuthClient } from './HeadlessB2BOAuthClient.mjs';
|
|
11
11
|
import { B2BOneTapProvider } from './oneTap/B2BOneTapProvider.mjs';
|
|
12
12
|
import { checkB2BNotSSR, checkPublicToken } from '../../../core/src/utils/checks.mjs';
|
|
13
|
+
import { StateChangeClient } from '../../../core/src/StateChangeClient.mjs';
|
|
14
|
+
import { DFPProtectedAuthProvider } from '../../../core/src/DFPProtectedAuthProvider.mjs';
|
|
13
15
|
import { HeadlessB2BOrganizationClient } from '../../../core/src/HeadlessClients/b2b/HeadlessB2BOrganizationClient.mjs';
|
|
14
16
|
import { HeadlessB2BDiscoveryClient } from '../../../core/src/HeadlessClients/b2b/HeadlessB2BDiscoveryClient.mjs';
|
|
15
17
|
import { HeadlessB2BIDPClient } from '../../../core/src/HeadlessClients/b2b/HeadlessB2BIDPClient.mjs';
|
|
@@ -28,10 +30,8 @@ import { HeadlessB2BTOTPsClient } from '../../../core/src/HeadlessClients/b2b/He
|
|
|
28
30
|
import '../../../core/src/HeadlessClients/HeadlessCryptoWalletClient.mjs';
|
|
29
31
|
import '../../../core/src/HeadlessClients/HeadlessMagicLinkClient.mjs';
|
|
30
32
|
import '../../../core/src/HeadlessClients/HeadlessPasswordClient.mjs';
|
|
31
|
-
import { VERTICAL_CONSUMER } from '../../../core/src/Vertical.mjs';
|
|
32
|
-
import { StateChangeClient } from '../../../core/src/StateChangeClient.mjs';
|
|
33
|
-
import { DFPProtectedAuthProvider } from '../../../core/src/DFPProtectedAuthProvider.mjs';
|
|
34
33
|
import { SessionManager } from '../../../core/src/SessionManager.mjs';
|
|
34
|
+
import { VERTICAL_CONSUMER } from '../../../core/src/Vertical.mjs';
|
|
35
35
|
import { SearchDataManager } from '../../../core/src/SearchManager.mjs';
|
|
36
36
|
|
|
37
37
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { GoogleOneTapClient } from './GoogleOneTapClient.mjs';
|
|
2
|
+
import { StytchAPIError } from '../../../core/src/public/SDKErrors.mjs';
|
|
2
3
|
import { loadESModule } from '../../../core/src/utils/loadESModule.mjs';
|
|
3
4
|
import { GOOGLE_ONE_TAP_SCRIPT_URL } from '../../../core/src/constants.mjs';
|
|
4
|
-
import { StytchAPIError } from '../../../core/src/public/SDKErrors.mjs';
|
|
5
5
|
|
|
6
6
|
const loadGoogleOneTapClient = ()=>loadESModule(GOOGLE_ONE_TAP_SCRIPT_URL, ()=>window.google.accounts.id);
|
|
7
7
|
/**
|
|
@@ -6,8 +6,8 @@ import { usePresentationWithDefault, PresentationContext } from '../components/P
|
|
|
6
6
|
import AppContainer from './Container.mjs';
|
|
7
7
|
import { DEFAULT_STATE, GlobalContextProvider } from './GlobalContextProvider.mjs';
|
|
8
8
|
import { AppScreens } from './types/AppScreens.mjs';
|
|
9
|
-
import { RedirectURLType, AuthFlowType } from '../../../../core/src/public/b2b/ui.mjs';
|
|
10
9
|
import { useState as h, useEffect as p, useMemo as F } from '../../../../../node_modules/preact/hooks/dist/hooks.module.mjs';
|
|
10
|
+
import { RedirectURLType, AuthFlowType } from '../../../../core/src/public/b2b/ui.mjs';
|
|
11
11
|
|
|
12
12
|
const InternalAppContainer = ({ client, presentation, callbacks, config, strings })=>{
|
|
13
13
|
/**
|
|
@@ -9,8 +9,8 @@ import { useLastUsedAuthMethod } from '../hooks/useLastUsedAuthMethod.mjs';
|
|
|
9
9
|
import { AppScreens } from '../types/AppScreens.mjs';
|
|
10
10
|
import { OAuthB2BButton } from './OAuthB2BButton.mjs';
|
|
11
11
|
import { useState as h, useCallback as T, useEffect as p } from '../../../../../../node_modules/preact/hooks/dist/hooks.module.mjs';
|
|
12
|
-
import { logger } from '../../../../../core/src/utils/logger.mjs';
|
|
13
12
|
import { OneTapPositions } from '../../../../../core/src/public/ui.mjs';
|
|
13
|
+
import { logger } from '../../../../../core/src/utils/logger.mjs';
|
|
14
14
|
import { B2BOAuthProviders } from '../../../../../core/src/public/b2b/ui.mjs';
|
|
15
15
|
|
|
16
16
|
const B2BGoogleOneTap = ({ customScopes, providerParams, cancelOnTapOutside })=>{
|
|
@@ -8,8 +8,8 @@ import { getEnabledMethods } from '../getEnabledMethods.mjs';
|
|
|
8
8
|
import { useConfig, useGlobalReducer } from '../GlobalContextProvider.mjs';
|
|
9
9
|
import { B2B_MFA_METHODS } from '../reducer/mfa.mjs';
|
|
10
10
|
import { AppScreens } from '../types/AppScreens.mjs';
|
|
11
|
-
import { B2BMFAProducts } from '../../../../../core/src/public/b2b/ui.mjs';
|
|
12
11
|
import { useMemo as F } from '../../../../../../node_modules/preact/hooks/dist/hooks.module.mjs';
|
|
12
|
+
import { B2BMFAProducts } from '../../../../../core/src/public/b2b/ui.mjs';
|
|
13
13
|
|
|
14
14
|
const mfaOptions = {
|
|
15
15
|
[B2BMFAProducts.totp]: {
|