@dxos/shell 0.7.5-main.e9bb01b → 0.7.5-staging.2ff1350
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/dist/bundle/{shell.mjs → shell.js} +8743 -8681
- package/dist/bundle/shell.js.map +1 -0
- package/dist/bundle/shell.umd.cjs +1045 -0
- package/dist/bundle/shell.umd.cjs.map +1 -0
- package/dist/bundle/style.css +1 -1
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/react.mjs +36 -30
- package/dist/lib/browser/react.mjs.map +3 -3
- package/dist/lib/node/meta.json +1 -1
- package/dist/lib/node/react.cjs +25 -19
- package/dist/lib/node/react.cjs.map +3 -3
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/lib/node-esm/react.mjs +36 -30
- package/dist/lib/node-esm/react.mjs.map +3 -3
- package/dist/types/src/components/AgentConfig.d.ts +1 -2
- package/dist/types/src/components/AgentConfig.d.ts.map +1 -1
- package/dist/types/src/components/AgentConfig.js +17 -43
- package/dist/types/src/components/AgentConfig.js.map +1 -1
- package/dist/types/src/components/AuthCode.d.ts +2 -2
- package/dist/types/src/components/AuthCode.d.ts.map +1 -1
- package/dist/types/src/components/AuthCode.js +5 -39
- package/dist/types/src/components/AuthCode.js.map +1 -1
- package/dist/types/src/components/CompoundButton/CompoundButton.d.ts +2 -2
- package/dist/types/src/components/CompoundButton/CompoundButton.d.ts.map +1 -1
- package/dist/types/src/components/CompoundButton/CompoundButton.js +2 -13
- package/dist/types/src/components/CompoundButton/CompoundButton.js.map +1 -1
- package/dist/types/src/components/CompoundButton/CompoundButton.stories.d.ts +7 -8
- package/dist/types/src/components/CompoundButton/CompoundButton.stories.d.ts.map +1 -1
- package/dist/types/src/components/CompoundButton/CompoundButton.stories.js +9 -14
- package/dist/types/src/components/CompoundButton/CompoundButton.stories.js.map +1 -1
- package/dist/types/src/components/DeviceList/DeviceList.d.ts +1 -2
- package/dist/types/src/components/DeviceList/DeviceList.d.ts.map +1 -1
- package/dist/types/src/components/DeviceList/DeviceList.js +6 -16
- package/dist/types/src/components/DeviceList/DeviceList.js.map +1 -1
- package/dist/types/src/components/DeviceList/DeviceListItem.js +6 -58
- package/dist/types/src/components/DeviceList/DeviceListItem.js.map +1 -1
- package/dist/types/src/components/IdentityList/IdentityListItem.js +5 -41
- package/dist/types/src/components/IdentityList/IdentityListItem.js.map +1 -1
- package/dist/types/src/components/IdentityList/SpaceMemberList.d.ts +2 -3
- package/dist/types/src/components/IdentityList/SpaceMemberList.d.ts.map +1 -1
- package/dist/types/src/components/IdentityList/SpaceMemberList.js +8 -41
- package/dist/types/src/components/IdentityList/SpaceMemberList.js.map +1 -1
- package/dist/types/src/components/IdentityList/SpaceMemberList.stories.d.ts +2 -3
- package/dist/types/src/components/IdentityList/SpaceMemberList.stories.d.ts.map +1 -1
- package/dist/types/src/components/IdentityList/SpaceMemberList.stories.js +4 -7
- package/dist/types/src/components/IdentityList/SpaceMemberList.stories.js.map +1 -1
- package/dist/types/src/components/InvitationList/InvitationList.d.ts +2 -2
- package/dist/types/src/components/InvitationList/InvitationList.d.ts.map +1 -1
- package/dist/types/src/components/InvitationList/InvitationList.js +5 -11
- package/dist/types/src/components/InvitationList/InvitationList.js.map +1 -1
- package/dist/types/src/components/InvitationList/InvitationList.stories.d.ts +2 -3
- package/dist/types/src/components/InvitationList/InvitationList.stories.d.ts.map +1 -1
- package/dist/types/src/components/InvitationList/InvitationList.stories.js +4 -7
- package/dist/types/src/components/InvitationList/InvitationList.stories.js.map +1 -1
- package/dist/types/src/components/InvitationList/InvitationListContainer.d.ts +1 -2
- package/dist/types/src/components/InvitationList/InvitationListContainer.d.ts.map +1 -1
- package/dist/types/src/components/InvitationList/InvitationListContainer.js +3 -35
- package/dist/types/src/components/InvitationList/InvitationListContainer.js.map +1 -1
- package/dist/types/src/components/InvitationList/InvitationListItem.d.ts +3 -3
- package/dist/types/src/components/InvitationList/InvitationListItem.d.ts.map +1 -1
- package/dist/types/src/components/InvitationList/InvitationListItem.js +5 -67
- package/dist/types/src/components/InvitationList/InvitationListItem.js.map +1 -1
- package/dist/types/src/components/Panel/Action.js +8 -58
- package/dist/types/src/components/Panel/Action.js.map +1 -1
- package/dist/types/src/components/Panel/Actions.js +5 -37
- package/dist/types/src/components/Panel/Actions.js.map +1 -1
- package/dist/types/src/components/Panel/CloseButton.d.ts +1 -2
- package/dist/types/src/components/Panel/CloseButton.d.ts.map +1 -1
- package/dist/types/src/components/Panel/CloseButton.js +4 -9
- package/dist/types/src/components/Panel/CloseButton.js.map +1 -1
- package/dist/types/src/components/Panel/Emoji.d.ts +3 -3
- package/dist/types/src/components/Panel/Emoji.d.ts.map +1 -1
- package/dist/types/src/components/Panel/Emoji.js +3 -11
- package/dist/types/src/components/Panel/Emoji.js.map +1 -1
- package/dist/types/src/components/Panel/Heading.js +5 -41
- package/dist/types/src/components/Panel/Heading.js.map +1 -1
- package/dist/types/src/components/Panel/Input.d.ts +2 -2
- package/dist/types/src/components/Panel/Input.d.ts.map +1 -1
- package/dist/types/src/components/Panel/Input.js +2 -11
- package/dist/types/src/components/Panel/Input.js.map +1 -1
- package/dist/types/src/components/Panel/Label.d.ts +2 -2
- package/dist/types/src/components/Panel/Label.d.ts.map +1 -1
- package/dist/types/src/components/Panel/Label.js +2 -8
- package/dist/types/src/components/Panel/Label.js.map +1 -1
- package/dist/types/src/components/Panel/Panel.stories.d.ts +3 -4
- package/dist/types/src/components/Panel/Panel.stories.d.ts.map +1 -1
- package/dist/types/src/components/Panel/Panel.stories.js +5 -20
- package/dist/types/src/components/Panel/Panel.stories.js.map +1 -1
- package/dist/types/src/components/Panel/StepHeading.js +5 -37
- package/dist/types/src/components/Panel/StepHeading.js.map +1 -1
- package/dist/types/src/components/SpaceListItem.js +5 -41
- package/dist/types/src/components/SpaceListItem.js.map +1 -1
- package/dist/types/src/components/StorybookDialog.d.ts +2 -2
- package/dist/types/src/components/StorybookDialog.d.ts.map +1 -1
- package/dist/types/src/components/StorybookDialog.js +2 -11
- package/dist/types/src/components/StorybookDialog.js.map +1 -1
- package/dist/types/src/components/Viewport/Viewport.d.ts +2 -2
- package/dist/types/src/components/Viewport/Viewport.js +7 -40
- package/dist/types/src/components/Viewport/Viewport.js.map +1 -1
- package/dist/types/src/components/Viewport/Viewport.stories.d.ts +1 -2
- package/dist/types/src/components/Viewport/Viewport.stories.d.ts.map +1 -1
- package/dist/types/src/components/Viewport/Viewport.stories.js +5 -27
- package/dist/types/src/components/Viewport/Viewport.stories.js.map +1 -1
- package/dist/types/src/composites/IdentityDialog/IdentityDialog.d.ts +1 -2
- package/dist/types/src/composites/IdentityDialog/IdentityDialog.d.ts.map +1 -1
- package/dist/types/src/composites/IdentityDialog/IdentityDialog.js +3 -14
- package/dist/types/src/composites/IdentityDialog/IdentityDialog.js.map +1 -1
- package/dist/types/src/composites/JoinDialog/JoinDialog.d.ts +1 -2
- package/dist/types/src/composites/JoinDialog/JoinDialog.d.ts.map +1 -1
- package/dist/types/src/composites/JoinDialog/JoinDialog.js +4 -14
- package/dist/types/src/composites/JoinDialog/JoinDialog.js.map +1 -1
- package/dist/types/src/composites/Shell/Shell.d.ts +1 -2
- package/dist/types/src/composites/Shell/Shell.d.ts.map +1 -1
- package/dist/types/src/composites/Shell/Shell.js +9 -41
- package/dist/types/src/composites/Shell/Shell.js.map +1 -1
- package/dist/types/src/composites/Shell/ShellContext.d.ts +2 -2
- package/dist/types/src/composites/Shell/ShellContext.d.ts.map +1 -1
- package/dist/types/src/composites/Shell/ShellContext.js +5 -40
- package/dist/types/src/composites/Shell/ShellContext.js.map +1 -1
- package/dist/types/src/composites/Shell/run-shell.js +7 -52
- package/dist/types/src/composites/Shell/run-shell.js.map +1 -1
- package/dist/types/src/composites/SpaceDialog/SpaceDialog.d.ts +1 -2
- package/dist/types/src/composites/SpaceDialog/SpaceDialog.d.ts.map +1 -1
- package/dist/types/src/composites/SpaceDialog/SpaceDialog.js +3 -14
- package/dist/types/src/composites/SpaceDialog/SpaceDialog.js.map +1 -1
- package/dist/types/src/composites/StatusDialog/StatusDialog.d.ts +1 -2
- package/dist/types/src/composites/StatusDialog/StatusDialog.d.ts.map +1 -1
- package/dist/types/src/composites/StatusDialog/StatusDialog.js +2 -12
- package/dist/types/src/composites/StatusDialog/StatusDialog.js.map +1 -1
- package/dist/types/src/panels/IdentityPanel/IdentityPanel.d.ts +2 -3
- package/dist/types/src/panels/IdentityPanel/IdentityPanel.d.ts.map +1 -1
- package/dist/types/src/panels/IdentityPanel/IdentityPanel.js +18 -94
- package/dist/types/src/panels/IdentityPanel/IdentityPanel.js.map +1 -1
- package/dist/types/src/panels/IdentityPanel/IdentityPanel.stories.d.ts +10 -11
- package/dist/types/src/panels/IdentityPanel/IdentityPanel.stories.d.ts.map +1 -1
- package/dist/types/src/panels/IdentityPanel/IdentityPanel.stories.js +8 -10
- package/dist/types/src/panels/IdentityPanel/IdentityPanel.stories.js.map +1 -1
- package/dist/types/src/panels/IdentityPanel/IdentityPanelProps.d.ts +2 -1
- package/dist/types/src/panels/IdentityPanel/IdentityPanelProps.d.ts.map +1 -1
- package/dist/types/src/panels/IdentityPanel/steps/IdentityActionChooser.d.ts +2 -3
- package/dist/types/src/panels/IdentityPanel/steps/IdentityActionChooser.d.ts.map +1 -1
- package/dist/types/src/panels/IdentityPanel/steps/IdentityActionChooser.js +3 -11
- package/dist/types/src/panels/IdentityPanel/steps/IdentityActionChooser.js.map +1 -1
- package/dist/types/src/panels/IdentityPanel/steps/ProfileForm.d.ts +1 -2
- package/dist/types/src/panels/IdentityPanel/steps/ProfileForm.d.ts.map +1 -1
- package/dist/types/src/panels/IdentityPanel/steps/ProfileForm.js +13 -55
- package/dist/types/src/panels/IdentityPanel/steps/ProfileForm.js.map +1 -1
- package/dist/types/src/panels/JoinPanel/JoinHeading.js +6 -40
- package/dist/types/src/panels/JoinPanel/JoinHeading.js.map +1 -1
- package/dist/types/src/panels/JoinPanel/JoinPanel.d.ts +2 -3
- package/dist/types/src/panels/JoinPanel/JoinPanel.d.ts.map +1 -1
- package/dist/types/src/panels/JoinPanel/JoinPanel.js +6 -63
- package/dist/types/src/panels/JoinPanel/JoinPanel.js.map +1 -1
- package/dist/types/src/panels/JoinPanel/JoinPanel.stories.d.ts +14 -15
- package/dist/types/src/panels/JoinPanel/JoinPanel.stories.d.ts.map +1 -1
- package/dist/types/src/panels/JoinPanel/JoinPanel.stories.js +17 -21
- package/dist/types/src/panels/JoinPanel/JoinPanel.stories.js.map +1 -1
- package/dist/types/src/panels/JoinPanel/steps/AdditionMethodChooser.d.ts +1 -2
- package/dist/types/src/panels/JoinPanel/steps/AdditionMethodChooser.d.ts.map +1 -1
- package/dist/types/src/panels/JoinPanel/steps/AdditionMethodChooser.js +5 -13
- package/dist/types/src/panels/JoinPanel/steps/AdditionMethodChooser.js.map +1 -1
- package/dist/types/src/panels/JoinPanel/steps/IdentityAdded.d.ts +1 -2
- package/dist/types/src/panels/JoinPanel/steps/IdentityAdded.d.ts.map +1 -1
- package/dist/types/src/panels/JoinPanel/steps/IdentityAdded.js +6 -46
- package/dist/types/src/panels/JoinPanel/steps/IdentityAdded.js.map +1 -1
- package/dist/types/src/panels/JoinPanel/steps/IdentityInput.d.ts +2 -3
- package/dist/types/src/panels/JoinPanel/steps/IdentityInput.d.ts.map +1 -1
- package/dist/types/src/panels/JoinPanel/steps/IdentityInput.js +7 -43
- package/dist/types/src/panels/JoinPanel/steps/IdentityInput.js.map +1 -1
- package/dist/types/src/panels/JoinPanel/steps/InvitationAccepted.d.ts +2 -2
- package/dist/types/src/panels/JoinPanel/steps/InvitationAccepted.d.ts.map +1 -1
- package/dist/types/src/panels/JoinPanel/steps/InvitationAccepted.js +6 -41
- package/dist/types/src/panels/JoinPanel/steps/InvitationAccepted.js.map +1 -1
- package/dist/types/src/panels/JoinPanel/steps/InvitationAuthenticator.d.ts +1 -2
- package/dist/types/src/panels/JoinPanel/steps/InvitationAuthenticator.d.ts.map +1 -1
- package/dist/types/src/panels/JoinPanel/steps/InvitationAuthenticator.js +16 -63
- package/dist/types/src/panels/JoinPanel/steps/InvitationAuthenticator.js.map +1 -1
- package/dist/types/src/panels/JoinPanel/steps/InvitationInput.d.ts +1 -2
- package/dist/types/src/panels/JoinPanel/steps/InvitationInput.d.ts.map +1 -1
- package/dist/types/src/panels/JoinPanel/steps/InvitationInput.js +12 -49
- package/dist/types/src/panels/JoinPanel/steps/InvitationInput.js.map +1 -1
- package/dist/types/src/panels/JoinPanel/steps/InvitationRescuer.d.ts +1 -2
- package/dist/types/src/panels/JoinPanel/steps/InvitationRescuer.d.ts.map +1 -1
- package/dist/types/src/panels/JoinPanel/steps/InvitationRescuer.js +8 -27
- package/dist/types/src/panels/JoinPanel/steps/InvitationRescuer.js.map +1 -1
- package/dist/types/src/panels/Panels.stories.d.ts +3 -3
- package/dist/types/src/panels/Panels.stories.d.ts.map +1 -1
- package/dist/types/src/panels/Panels.stories.js +6 -14
- package/dist/types/src/panels/Panels.stories.js.map +1 -1
- package/dist/types/src/panels/SpacePanel/SpacePanel.d.ts +2 -3
- package/dist/types/src/panels/SpacePanel/SpacePanel.d.ts.map +1 -1
- package/dist/types/src/panels/SpacePanel/SpacePanel.js +8 -50
- package/dist/types/src/panels/SpacePanel/SpacePanel.js.map +1 -1
- package/dist/types/src/panels/SpacePanel/SpacePanel.stories.d.ts +17 -18
- package/dist/types/src/panels/SpacePanel/SpacePanel.stories.d.ts.map +1 -1
- package/dist/types/src/panels/SpacePanel/SpacePanel.stories.js +37 -43
- package/dist/types/src/panels/SpacePanel/SpacePanel.stories.js.map +1 -1
- package/dist/types/src/panels/SpacePanel/steps/SpaceManager.d.ts +3 -3
- package/dist/types/src/panels/SpacePanel/steps/SpaceManager.d.ts.map +1 -1
- package/dist/types/src/panels/SpacePanel/steps/SpaceManager.js +6 -49
- package/dist/types/src/panels/SpacePanel/steps/SpaceManager.js.map +1 -1
- package/dist/types/src/panels/StatusPanel/StatusPanel.d.ts +1 -2
- package/dist/types/src/panels/StatusPanel/StatusPanel.d.ts.map +1 -1
- package/dist/types/src/panels/StatusPanel/StatusPanel.js +2 -10
- package/dist/types/src/panels/StatusPanel/StatusPanel.js.map +1 -1
- package/dist/types/src/steps/ConfirmReset.d.ts +2 -3
- package/dist/types/src/steps/ConfirmReset.d.ts.map +1 -1
- package/dist/types/src/steps/ConfirmReset.js +12 -54
- package/dist/types/src/steps/ConfirmReset.js.map +1 -1
- package/dist/types/src/steps/InvitationManager.d.ts +1 -2
- package/dist/types/src/steps/InvitationManager.d.ts.map +1 -1
- package/dist/types/src/steps/InvitationManager.js +6 -56
- package/dist/types/src/steps/InvitationManager.js.map +1 -1
- package/dist/types/src/stories/Invitations.e2e-stories.d.ts +1 -2
- package/dist/types/src/stories/Invitations.e2e-stories.d.ts.map +1 -1
- package/dist/types/src/stories/Invitations.e2e-stories.js +15 -75
- package/dist/types/src/stories/Invitations.e2e-stories.js.map +1 -1
- package/dist/types/src/testing/fixtures/identities.d.ts.map +1 -1
- package/dist/types/src/testing/fixtures/identities.js +2 -0
- package/dist/types/src/testing/fixtures/identities.js.map +1 -1
- package/dist/types/src/translations/locales/en-US.d.ts +4 -1
- package/dist/types/src/translations/locales/en-US.d.ts.map +1 -1
- package/dist/types/src/translations/locales/en-US.js +5 -1
- package/dist/types/src/translations/locales/en-US.js.map +1 -1
- package/package.json +28 -27
- package/src/panels/IdentityPanel/IdentityPanel.stories.tsx +3 -0
- package/src/panels/IdentityPanel/IdentityPanel.tsx +31 -29
- package/src/panels/IdentityPanel/IdentityPanelProps.ts +8 -1
- package/src/panels/IdentityPanel/steps/ProfileForm.tsx +2 -7
- package/src/panels/JoinPanel/steps/IdentityInput.tsx +1 -1
- package/src/panels/SpacePanel/SpacePanel.stories.tsx +6 -1
- package/src/testing/fixtures/identities.ts +2 -0
- package/src/translations/locales/en-US.ts +7 -1
- package/dist/bundle/shell.mjs.map +0 -1
- package/dist/bundle/shell.umd.js +0 -1045
- package/dist/bundle/shell.umd.js.map +0 -1
- package/dist/types/src/playwright/playwright.config.d.ts +0 -3
- package/dist/types/src/playwright/playwright.config.d.ts.map +0 -1
- package/dist/types/src/playwright/playwright.config.js +0 -18
- package/dist/types/src/playwright/playwright.config.js.map +0 -1
- /package/src/playwright/{playwright.config.ts → playwright.config.cts} +0 -0
|
@@ -1,14 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SpaceInvitationManagerCancelled = exports.SpaceInvitationManagerTimeout = exports.SpaceInvitationManagerError = exports.SpaceInvitationManagerSuccess = exports.SpaceInvitationManagerAuthenticating = exports.SpaceInvitationManagerReadyForAuthentication = exports.SpaceInvitationManagerConnected = exports.SpaceInvitationManagerConnecting = exports.SpaceInvitationManagerInit = exports.SpaceManagerWithMoreMembers = exports.SpaceManagerWithMembers = exports.SpaceManagerWithMember = exports.SpaceManagerWithEvenMoreInvites = exports.SpaceManagerWithMoreInvites = exports.SpaceManagerWithInvites = exports.SpaceManager = void 0;
|
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
2
5
|
//
|
|
3
6
|
// Copyright 2023 DXOS.org
|
|
4
7
|
//
|
|
5
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
6
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
7
|
-
};
|
|
8
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
-
exports.SpaceInvitationManagerCancelled = exports.SpaceInvitationManagerTimeout = exports.SpaceInvitationManagerError = exports.SpaceInvitationManagerSuccess = exports.SpaceInvitationManagerAuthenticating = exports.SpaceInvitationManagerReadyForAuthentication = exports.SpaceInvitationManagerConnected = exports.SpaceInvitationManagerConnecting = exports.SpaceInvitationManagerInit = exports.SpaceManagerWithMoreMembers = exports.SpaceManagerWithMembers = exports.SpaceManagerWithMember = exports.SpaceManagerWithEvenMoreInvites = exports.SpaceManagerWithMoreInvites = exports.SpaceManagerWithInvites = exports.SpaceManager = void 0;
|
|
10
8
|
require("@dxos-theme");
|
|
11
|
-
const react_1 = __importDefault(require("react"));
|
|
12
9
|
const keys_1 = require("@dxos/keys");
|
|
13
10
|
const echo_1 = require("@dxos/react-client/echo");
|
|
14
11
|
const invitations_1 = require("@dxos/react-client/invitations");
|
|
@@ -33,34 +30,30 @@ exports.default = {
|
|
|
33
30
|
parameters: { chromatic: { disableSnapshot: false } },
|
|
34
31
|
};
|
|
35
32
|
const SpaceManager = () => {
|
|
36
|
-
return (
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} })));
|
|
33
|
+
return ((0, jsx_runtime_1.jsx)(StorybookDialog_1.StorybookDialog, { inOverlayLayout: true, children: (0, jsx_runtime_1.jsx)(SpacePanel_1.SpacePanelImpl, { ...noOpProps, activeView: 'space manager', SpaceManager: (props) => {
|
|
34
|
+
return ((0, jsx_runtime_1.jsx)(steps_1.SpaceManagerImpl, { ...props, invitations: [], SpaceMemberList: (props) => (0, jsx_runtime_1.jsx)(components_1.SpaceMemberListImpl, { ...props, members: [] }) }));
|
|
35
|
+
} }) }));
|
|
40
36
|
};
|
|
41
37
|
exports.SpaceManager = SpaceManager;
|
|
42
38
|
const SpaceManagerWithInvites = () => {
|
|
43
|
-
return (
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
} })));
|
|
39
|
+
return ((0, jsx_runtime_1.jsx)(StorybookDialog_1.StorybookDialog, { inOverlayLayout: true, children: (0, jsx_runtime_1.jsx)(SpacePanel_1.SpacePanelImpl, { ...noOpProps, activeView: 'space manager', SpaceManager: (props) => {
|
|
40
|
+
return ((0, jsx_runtime_1.jsx)(steps_1.SpaceManagerImpl, { ...props, invitations: [(0, fixtures_1.inviteWithState)(invitations_1.Invitation.State.INIT)], SpaceMemberList: (props) => (0, jsx_runtime_1.jsx)(components_1.SpaceMemberListImpl, { ...props, members: [] }) }));
|
|
41
|
+
} }) }));
|
|
47
42
|
};
|
|
48
43
|
exports.SpaceManagerWithInvites = SpaceManagerWithInvites;
|
|
49
44
|
const SpaceManagerWithMoreInvites = () => {
|
|
50
|
-
return (
|
|
51
|
-
|
|
52
|
-
return (react_1.default.createElement(steps_1.SpaceManagerImpl, { ...props, invitations: [
|
|
45
|
+
return ((0, jsx_runtime_1.jsx)(StorybookDialog_1.StorybookDialog, { inOverlayLayout: true, children: (0, jsx_runtime_1.jsx)(SpacePanel_1.SpacePanelImpl, { ...noOpProps, activeView: 'space manager', SpaceManager: (props) => {
|
|
46
|
+
return ((0, jsx_runtime_1.jsx)(steps_1.SpaceManagerImpl, { ...props, invitations: [
|
|
53
47
|
(0, fixtures_1.inviteWithState)(invitations_1.Invitation.State.INIT),
|
|
54
48
|
(0, fixtures_1.inviteWithState)(invitations_1.Invitation.State.CONNECTING),
|
|
55
49
|
(0, fixtures_1.inviteWithState)(invitations_1.Invitation.State.CONNECTED),
|
|
56
|
-
], SpaceMemberList: (props) =>
|
|
57
|
-
} })));
|
|
50
|
+
], SpaceMemberList: (props) => (0, jsx_runtime_1.jsx)(components_1.SpaceMemberListImpl, { ...props, members: [] }) }));
|
|
51
|
+
} }) }));
|
|
58
52
|
};
|
|
59
53
|
exports.SpaceManagerWithMoreInvites = SpaceManagerWithMoreInvites;
|
|
60
54
|
const SpaceManagerWithEvenMoreInvites = () => {
|
|
61
|
-
return (
|
|
62
|
-
|
|
63
|
-
return (react_1.default.createElement(steps_1.SpaceManagerImpl, { ...props, invitations: [
|
|
55
|
+
return ((0, jsx_runtime_1.jsx)(StorybookDialog_1.StorybookDialog, { inOverlayLayout: true, children: (0, jsx_runtime_1.jsx)(SpacePanel_1.SpacePanelImpl, { ...noOpProps, activeView: 'space manager', SpaceManager: (props) => {
|
|
56
|
+
return ((0, jsx_runtime_1.jsx)(steps_1.SpaceManagerImpl, { ...props, invitations: [
|
|
64
57
|
(0, fixtures_1.inviteWithState)(invitations_1.Invitation.State.INIT),
|
|
65
58
|
(0, fixtures_1.inviteWithState)(invitations_1.Invitation.State.READY_FOR_AUTHENTICATION),
|
|
66
59
|
(0, fixtures_1.inviteWithState)(invitations_1.Invitation.State.AUTHENTICATING),
|
|
@@ -68,10 +61,10 @@ const SpaceManagerWithEvenMoreInvites = () => {
|
|
|
68
61
|
(0, fixtures_1.inviteWithState)(invitations_1.Invitation.State.ERROR),
|
|
69
62
|
(0, fixtures_1.inviteWithState)(invitations_1.Invitation.State.TIMEOUT),
|
|
70
63
|
(0, fixtures_1.inviteWithState)(invitations_1.Invitation.State.CANCELLED),
|
|
71
|
-
], InvitationList: (props) => (
|
|
64
|
+
], InvitationList: (props) => ((0, jsx_runtime_1.jsx)(components_1.InvitationList, { ...props, InvitationListItem: (props) => {
|
|
72
65
|
const invitation = props.invitation.get();
|
|
73
66
|
const { authMethod, invitationId: id, state, identityKey = keys_1.PublicKey.random(), swarmKey, spaceKey = keys_1.PublicKey.random(), target = null, } = invitation;
|
|
74
|
-
return (
|
|
67
|
+
return ((0, jsx_runtime_1.jsx)(components_1.InvitationListItemImpl, { ...props, createInvitationUrl: (code) => code, invitationStatus: {
|
|
75
68
|
status: state,
|
|
76
69
|
authMethod,
|
|
77
70
|
invitationCode: id,
|
|
@@ -82,33 +75,33 @@ const SpaceManagerWithEvenMoreInvites = () => {
|
|
|
82
75
|
authenticate: async (authCode) => { },
|
|
83
76
|
connect: () => { },
|
|
84
77
|
} }));
|
|
85
|
-
} })), SpaceMemberList: (props) =>
|
|
86
|
-
} })));
|
|
78
|
+
} })), SpaceMemberList: (props) => (0, jsx_runtime_1.jsx)(components_1.SpaceMemberListImpl, { ...props, members: [] }) }));
|
|
79
|
+
} }) }));
|
|
87
80
|
};
|
|
88
81
|
exports.SpaceManagerWithEvenMoreInvites = SpaceManagerWithEvenMoreInvites;
|
|
89
82
|
const SpaceManagerWithMember = () => {
|
|
90
|
-
return (
|
|
91
|
-
|
|
92
|
-
return (react_1.default.createElement(steps_1.SpaceManagerImpl, { ...props, invitations: [], SpaceMemberList: (props) => (react_1.default.createElement(components_1.SpaceMemberListImpl, { ...props, members: [
|
|
83
|
+
return ((0, jsx_runtime_1.jsx)(StorybookDialog_1.StorybookDialog, { inOverlayLayout: true, children: (0, jsx_runtime_1.jsx)(SpacePanel_1.SpacePanelImpl, { ...noOpProps, activeView: 'space manager', SpaceManager: (props) => {
|
|
84
|
+
return ((0, jsx_runtime_1.jsx)(steps_1.SpaceManagerImpl, { ...props, invitations: [], SpaceMemberList: (props) => ((0, jsx_runtime_1.jsx)(components_1.SpaceMemberListImpl, { ...props, members: [
|
|
93
85
|
{
|
|
94
86
|
presence: echo_1.SpaceMember.PresenceState.ONLINE,
|
|
95
87
|
role: echo_1.HaloSpaceMember.Role.ADMIN,
|
|
96
88
|
identity: {
|
|
89
|
+
did: keys_1.IdentityDid.random(),
|
|
97
90
|
identityKey: keys_1.PublicKey.random(),
|
|
98
91
|
},
|
|
99
92
|
},
|
|
100
93
|
] })) }));
|
|
101
|
-
} })));
|
|
94
|
+
} }) }));
|
|
102
95
|
};
|
|
103
96
|
exports.SpaceManagerWithMember = SpaceManagerWithMember;
|
|
104
97
|
const SpaceManagerWithMembers = () => {
|
|
105
|
-
return (
|
|
106
|
-
|
|
107
|
-
return (react_1.default.createElement(steps_1.SpaceManagerImpl, { ...props, invitations: [], SpaceMemberList: (props) => (react_1.default.createElement(components_1.SpaceMemberListImpl, { ...props, members: [
|
|
98
|
+
return ((0, jsx_runtime_1.jsx)(StorybookDialog_1.StorybookDialog, { inOverlayLayout: true, children: (0, jsx_runtime_1.jsx)(SpacePanel_1.SpacePanelImpl, { ...noOpProps, activeView: 'space manager', SpaceManager: (props) => {
|
|
99
|
+
return ((0, jsx_runtime_1.jsx)(steps_1.SpaceManagerImpl, { ...props, invitations: [], SpaceMemberList: (props) => ((0, jsx_runtime_1.jsx)(components_1.SpaceMemberListImpl, { ...props, members: [
|
|
108
100
|
{
|
|
109
101
|
presence: echo_1.SpaceMember.PresenceState.ONLINE,
|
|
110
102
|
role: echo_1.HaloSpaceMember.Role.ADMIN,
|
|
111
103
|
identity: {
|
|
104
|
+
did: keys_1.IdentityDid.random(),
|
|
112
105
|
identityKey: keys_1.PublicKey.random(),
|
|
113
106
|
profile: {
|
|
114
107
|
displayName: 'John Doe',
|
|
@@ -116,21 +109,21 @@ const SpaceManagerWithMembers = () => {
|
|
|
116
109
|
},
|
|
117
110
|
},
|
|
118
111
|
] })) }));
|
|
119
|
-
} })));
|
|
112
|
+
} }) }));
|
|
120
113
|
};
|
|
121
114
|
exports.SpaceManagerWithMembers = SpaceManagerWithMembers;
|
|
122
115
|
const SpaceManagerWithMoreMembers = () => {
|
|
123
|
-
return (
|
|
124
|
-
|
|
125
|
-
return (react_1.default.createElement(steps_1.SpaceManagerImpl, { ...props, invitations: [
|
|
116
|
+
return ((0, jsx_runtime_1.jsx)(StorybookDialog_1.StorybookDialog, { inOverlayLayout: true, children: (0, jsx_runtime_1.jsx)(SpacePanel_1.SpacePanelImpl, { ...noOpProps, activeView: 'space manager', SpaceManager: (props) => {
|
|
117
|
+
return ((0, jsx_runtime_1.jsx)(steps_1.SpaceManagerImpl, { ...props, invitations: [
|
|
126
118
|
(0, fixtures_1.inviteWithState)(invitations_1.Invitation.State.SUCCESS),
|
|
127
119
|
(0, fixtures_1.inviteWithState)(invitations_1.Invitation.State.READY_FOR_AUTHENTICATION),
|
|
128
120
|
(0, fixtures_1.inviteWithState)(invitations_1.Invitation.State.AUTHENTICATING),
|
|
129
|
-
], SpaceMemberList: (props) => (
|
|
121
|
+
], SpaceMemberList: (props) => ((0, jsx_runtime_1.jsx)(components_1.SpaceMemberListImpl, { ...props, members: [
|
|
130
122
|
{
|
|
131
123
|
presence: echo_1.SpaceMember.PresenceState.ONLINE,
|
|
132
124
|
role: echo_1.HaloSpaceMember.Role.ADMIN,
|
|
133
125
|
identity: {
|
|
126
|
+
did: keys_1.IdentityDid.random(),
|
|
134
127
|
identityKey: keys_1.PublicKey.random(),
|
|
135
128
|
profile: {
|
|
136
129
|
displayName: 'John Doe',
|
|
@@ -141,6 +134,7 @@ const SpaceManagerWithMoreMembers = () => {
|
|
|
141
134
|
presence: echo_1.SpaceMember.PresenceState.OFFLINE,
|
|
142
135
|
role: echo_1.HaloSpaceMember.Role.ADMIN,
|
|
143
136
|
identity: {
|
|
137
|
+
did: keys_1.IdentityDid.random(),
|
|
144
138
|
identityKey: keys_1.PublicKey.random(),
|
|
145
139
|
profile: {
|
|
146
140
|
displayName: 'Alice Wong',
|
|
@@ -151,6 +145,7 @@ const SpaceManagerWithMoreMembers = () => {
|
|
|
151
145
|
presence: echo_1.SpaceMember.PresenceState.OFFLINE,
|
|
152
146
|
role: echo_1.HaloSpaceMember.Role.ADMIN,
|
|
153
147
|
identity: {
|
|
148
|
+
did: keys_1.IdentityDid.random(),
|
|
154
149
|
identityKey: keys_1.PublicKey.random(),
|
|
155
150
|
profile: {
|
|
156
151
|
displayName: 'Steel Nickels',
|
|
@@ -158,14 +153,13 @@ const SpaceManagerWithMoreMembers = () => {
|
|
|
158
153
|
},
|
|
159
154
|
},
|
|
160
155
|
] })) }));
|
|
161
|
-
} })));
|
|
156
|
+
} }) }));
|
|
162
157
|
};
|
|
163
158
|
exports.SpaceManagerWithMoreMembers = SpaceManagerWithMoreMembers;
|
|
164
159
|
const SpaceInvitationManagerState = (extraprops) => {
|
|
165
|
-
return (
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
}, InvitationManager: (props) => react_1.default.createElement(steps_2.InvitationManager, { ...props, ...extraprops }) })));
|
|
160
|
+
return ((0, jsx_runtime_1.jsx)(StorybookDialog_1.StorybookDialog, { inOverlayLayout: true, children: (0, jsx_runtime_1.jsx)(SpacePanel_1.SpacePanelImpl, { ...noOpProps, activeView: 'space invitation manager', SpaceManager: (props) => {
|
|
161
|
+
return ((0, jsx_runtime_1.jsx)(steps_1.SpaceManagerImpl, { ...props, invitations: [], SpaceMemberList: (props) => (0, jsx_runtime_1.jsx)(components_1.SpaceMemberListImpl, { ...props, members: [] }) }));
|
|
162
|
+
}, InvitationManager: (props) => (0, jsx_runtime_1.jsx)(steps_2.InvitationManager, { ...props, ...extraprops }) }) }));
|
|
169
163
|
};
|
|
170
164
|
const SpaceInvitationManagerInit = () => SpaceInvitationManagerState({ status: invitations_1.Invitation.State.INIT, id: '0' });
|
|
171
165
|
exports.SpaceInvitationManagerInit = SpaceInvitationManagerInit;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SpacePanel.stories.js","sourceRoot":"","sources":["../../../../../src/panels/SpacePanel/SpacePanel.stories.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SpacePanel.stories.js","sourceRoot":"","sources":["../../../../../src/panels/SpacePanel/SpacePanel.stories.tsx"],"names":[],"mappings":";;;;AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;AAEF,uBAAqB;AAIrB,qCAAoD;AACpD,kDAAuE;AACvE,gEAA4D;AAC5D,2DAAkD;AAElD,6CAA8C;AAE9C,mCAA2C;AAC3C,iDAA+F;AAC/F,sEAAmE;AACnE,uCAA6E;AAC7E,qDAAyD;AAEzD,MAAM,SAAS,GAAwB;IACrC,OAAO,EAAE,4BAA4B;IACrC,IAAI,EAAE,GAAG,EAAE,GAAE,CAAC;IACd,mBAAmB,EAAE,CAAC,IAAY,EAAE,EAAE,CAAC,IAAI;IAC3C,UAAU,EAAE,eAAe;IAC3B,KAAK,EAAE,EAAE,GAAG,EAAE,gBAAS,CAAC,MAAM,EAAE,EAAE,UAAU,EAAE,EAAE,IAAI,EAAE,eAAe,EAAE,EAAE;CAC1E,CAAC;AAEF,kBAAe;IACb,KAAK,EAAE,sBAAsB;IAC7B,SAAS,EAAE,2BAAc;IACzB,UAAU,EAAE,CAAC,2BAAS,CAAC;IACvB,UAAU,EAAE,EAAE,SAAS,EAAE,EAAE,eAAe,EAAE,KAAK,EAAE,EAAE;CACtD,CAAC;AAEK,MAAM,YAAY,GAAG,GAAG,EAAE;IAC/B,OAAO,CACL,uBAAC,iCAAe,IAAC,eAAe,kBAC9B,uBAAC,2BAAc,OACT,SAAS,EACb,UAAU,E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MAAM,4CAA4C,GAAG,GAAG,EAAE,CAC/D,2BAA2B,CAAC,EAAE,MAAM,EAAE,wBAAU,CAAC,KAAK,CAAC,wBAAwB,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC;AADrG,QAAA,4CAA4C,gDACyD;AAE3G,MAAM,oCAAoC,GAAG,GAAG,EAAE,CACvD,2BAA2B,CAAC,EAAE,MAAM,EAAE,wBAAU,CAAC,KAAK,CAAC,cAAc,EAAE,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC;AADvE,QAAA,oCAAoC,wCACmC;AAE7E,MAAM,6BAA6B,GAAG,GAAG,EAAE,CAAC,2BAA2B,CAAC,EAAE,MAAM,EAAE,wBAAU,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC,CAAC;AAAxG,QAAA,6BAA6B,iCAA2E;AAE9G,MAAM,2BAA2B,GAAG,GAAG,EAAE,CAAC,2BAA2B,CAAC,EAAE,MAAM,EAAE,wBAAU,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC,CAAC;AAApG,QAAA,2BAA2B,+BAAyE;AAE1G,MAAM,6BAA6B,GAAG,GAAG,EAAE,CAAC,2BAA2B,CAAC,EAAE,MAAM,EAAE,wBAAU,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC,CAAC;AAAxG,QAAA,6BAA6B,iCAA2E;AAE9G,MAAM,+BAA+B,GAAG,GAAG,EAAE,CAClD,2BAA2B,CAAC,EAAE,MAAM,EAAE,wBAAU,CAAC,KAAK,CAAC,SAAS,EAAE,CAAC,CAAC;AADzD,QAAA,+BAA+B,mCAC0B"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { type FC } from 'react';
|
|
2
2
|
import { type CancellableInvitationObservable } from '@dxos/react-client/invitations';
|
|
3
3
|
import { type ActionMenuItem, type InvitationListProps, type SpaceMemberListProps } from '../../../components';
|
|
4
4
|
import { type SpacePanelStepProps } from '../SpacePanelProps';
|
|
@@ -11,6 +11,6 @@ export type SpaceManagerImplProps = SpacePanelStepProps & {
|
|
|
11
11
|
InvitationList?: FC<InvitationListProps>;
|
|
12
12
|
};
|
|
13
13
|
export type SpaceManagerProps = SpaceManagerImplProps & {};
|
|
14
|
-
export declare const SpaceManager: (props: SpaceManagerProps) =>
|
|
15
|
-
export declare const SpaceManagerImpl: (props: SpaceManagerImplProps) =>
|
|
14
|
+
export declare const SpaceManager: (props: SpaceManagerProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export declare const SpaceManagerImpl: (props: SpaceManagerImplProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
16
|
//# sourceMappingURL=SpaceManager.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SpaceManager.d.ts","sourceRoot":"","sources":["../../../../../../src/panels/SpacePanel/steps/SpaceManager.tsx"],"names":[],"mappings":"AAKA,
|
|
1
|
+
{"version":3,"file":"SpaceManager.d.ts","sourceRoot":"","sources":["../../../../../../src/panels/SpacePanel/steps/SpaceManager.tsx"],"names":[],"mappings":"AAKA,OAAc,EAAiB,KAAK,EAAE,EAA8C,MAAM,OAAO,CAAC;AAKlG,OAAO,EAAE,KAAK,+BAA+B,EAAiC,MAAM,gCAAgC,CAAC;AAIrH,OAAO,EAEL,KAAK,cAAc,EAGnB,KAAK,mBAAmB,EAExB,KAAK,oBAAoB,EAC1B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAE9D,MAAM,MAAM,qBAAqB,GAAG,mBAAmB,GAAG;IACxD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,+BAA+B,EAAE,CAAC;IAChD,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,cAAc,CAAC,CAAC;IAC/C,eAAe,CAAC,EAAE,EAAE,CAAC,oBAAoB,CAAC,CAAC;IAC3C,cAAc,CAAC,EAAE,EAAE,CAAC,mBAAmB,CAAC,CAAC;CAC1C,CAAC;AAYF,MAAM,MAAM,iBAAiB,GAAG,qBAAqB,GAAG,EAAE,CAAC;AAE3D,eAAO,MAAM,YAAY,UAAW,iBAAiB,4CAiDpD,CAAC;AAIF,eAAO,MAAM,gBAAgB,UAAW,qBAAqB,4CAsE5D,CAAC"}
|
|
@@ -1,44 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SpaceManagerImpl = exports.SpaceManager = void 0;
|
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
2
5
|
//
|
|
3
6
|
// Copyright 2023 DXOS.org
|
|
4
7
|
//
|
|
5
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
-
}
|
|
11
|
-
Object.defineProperty(o, k2, desc);
|
|
12
|
-
}) : (function(o, m, k, k2) {
|
|
13
|
-
if (k2 === undefined) k2 = k;
|
|
14
|
-
o[k2] = m[k];
|
|
15
|
-
}));
|
|
16
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
-
}) : function(o, v) {
|
|
19
|
-
o["default"] = v;
|
|
20
|
-
});
|
|
21
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
-
var ownKeys = function(o) {
|
|
23
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
-
var ar = [];
|
|
25
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
-
return ar;
|
|
27
|
-
};
|
|
28
|
-
return ownKeys(o);
|
|
29
|
-
};
|
|
30
|
-
return function (mod) {
|
|
31
|
-
if (mod && mod.__esModule) return mod;
|
|
32
|
-
var result = {};
|
|
33
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
-
__setModuleDefault(result, mod);
|
|
35
|
-
return result;
|
|
36
|
-
};
|
|
37
|
-
})();
|
|
38
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.SpaceManagerImpl = exports.SpaceManager = void 0;
|
|
40
8
|
const react_1 = require("@phosphor-icons/react");
|
|
41
|
-
const react_2 =
|
|
9
|
+
const react_2 = require("react");
|
|
42
10
|
const log_1 = require("@dxos/log");
|
|
43
11
|
const react_client_1 = require("@dxos/react-client");
|
|
44
12
|
const echo_1 = require("@dxos/react-client/echo");
|
|
@@ -97,7 +65,7 @@ const SpaceManager = (props) => {
|
|
|
97
65
|
}, [space, target]),
|
|
98
66
|
},
|
|
99
67
|
};
|
|
100
|
-
return
|
|
68
|
+
return (0, jsx_runtime_1.jsx)(exports.SpaceManagerImpl, { ...props, invitations: invitations, inviteActions: inviteActions });
|
|
101
69
|
};
|
|
102
70
|
exports.SpaceManager = SpaceManager;
|
|
103
71
|
const headingFragment = 'pis-3 pie-1 plb-1 mbe-1 font-medium';
|
|
@@ -121,18 +89,7 @@ const SpaceManagerImpl = (props) => {
|
|
|
121
89
|
const visibleInvitations = showInactiveInvitations
|
|
122
90
|
? invitations
|
|
123
91
|
: invitations === null || invitations === void 0 ? void 0 : invitations.filter((invitation) => ![invitations_1.Invitation.State.CANCELLED].includes(invitation.get().state));
|
|
124
|
-
return (
|
|
125
|
-
react_2.default.createElement(react_ui_1.ScrollArea.Root, { classNames: 'grow shrink basis-28 -mli-2' },
|
|
126
|
-
react_2.default.createElement(react_ui_1.ScrollArea.Viewport, { classNames: 'is-full pie-2' },
|
|
127
|
-
!!(visibleInvitations === null || visibleInvitations === void 0 ? void 0 : visibleInvitations.length) && (react_2.default.createElement(react_2.default.Fragment, null,
|
|
128
|
-
react_2.default.createElement("h3", { className: (0, react_ui_theme_1.mx)(headingFragment, react_ui_theme_1.descriptionText) }, t('invitation list heading')),
|
|
129
|
-
react_2.default.createElement(InvitationListComponent, { className: 'mb-2', send: send, invitations: visibleInvitations !== null && visibleInvitations !== void 0 ? visibleInvitations : [], onClickRemove: (invitation) => invitation.cancel(), createInvitationUrl: createInvitationUrl }),
|
|
130
|
-
react_2.default.createElement("h3", { className: (0, react_ui_theme_1.mx)(headingFragment, react_ui_theme_1.descriptionText, 'mbs-2') }, t('space member list heading')))),
|
|
131
|
-
react_2.default.createElement(SpaceMemberListComponent, { spaceKey: space.key, includeSelf: true })),
|
|
132
|
-
react_2.default.createElement(react_ui_1.ScrollArea.Scrollbar, { orientation: 'vertical' },
|
|
133
|
-
react_2.default.createElement(react_ui_1.ScrollArea.Thumb, null))),
|
|
134
|
-
react_2.default.createElement(components_1.Actions, null,
|
|
135
|
-
react_2.default.createElement(components_1.BifurcatedAction, { disabled: !active, actions: inviteActions, activeAction: activeAction, onChangeActiveAction: setActiveAction, "data-testid": 'spaces-panel.create-invitation' }))));
|
|
92
|
+
return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsxs)(react_ui_1.ScrollArea.Root, { classNames: 'grow shrink basis-28 -mli-2', children: [(0, jsx_runtime_1.jsxs)(react_ui_1.ScrollArea.Viewport, { classNames: 'is-full pie-2', children: [!!(visibleInvitations === null || visibleInvitations === void 0 ? void 0 : visibleInvitations.length) && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)("h3", { className: (0, react_ui_theme_1.mx)(headingFragment, react_ui_theme_1.descriptionText), children: t('invitation list heading') }), (0, jsx_runtime_1.jsx)(InvitationListComponent, { className: 'mb-2', send: send, invitations: visibleInvitations !== null && visibleInvitations !== void 0 ? visibleInvitations : [], onClickRemove: (invitation) => invitation.cancel(), createInvitationUrl: createInvitationUrl }), (0, jsx_runtime_1.jsx)("h3", { className: (0, react_ui_theme_1.mx)(headingFragment, react_ui_theme_1.descriptionText, 'mbs-2'), children: t('space member list heading') })] })), (0, jsx_runtime_1.jsx)(SpaceMemberListComponent, { spaceKey: space.key, includeSelf: true })] }), (0, jsx_runtime_1.jsx)(react_ui_1.ScrollArea.Scrollbar, { orientation: 'vertical', children: (0, jsx_runtime_1.jsx)(react_ui_1.ScrollArea.Thumb, {}) })] }), (0, jsx_runtime_1.jsx)(components_1.Actions, { children: (0, jsx_runtime_1.jsx)(components_1.BifurcatedAction, { disabled: !active, actions: inviteActions, activeAction: activeAction, onChangeActiveAction: setActiveAction, "data-testid": 'spaces-panel.create-invitation' }) })] }));
|
|
136
93
|
};
|
|
137
94
|
exports.SpaceManagerImpl = SpaceManagerImpl;
|
|
138
95
|
//# sourceMappingURL=SpaceManager.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SpaceManager.js","sourceRoot":"","sources":["../../../../../../src/panels/SpacePanel/steps/SpaceManager.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SpaceManager.js","sourceRoot":"","sources":["../../../../../../src/panels/SpacePanel/steps/SpaceManager.tsx"],"names":[],"mappings":";;;;AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;AAEF,iDAA0E;AAC1E,iCAAkG;AAElG,mCAAgC;AAChC,qDAA+C;AAC/C,kDAA8D;AAC9D,gEAAqH;AACrH,6CAA4D;AAC5D,yDAA2D;AAE3D,oDAQ6B;AAY7B,MAAM,eAAe,GAAG,8CAA8C,CAAC;AAEvE,MAAM,qBAAqB,GAAG,CAAC,UAAsB,EAAE,YAAwC,EAAE,EAAE;IACjG,MAAM,cAAc,GAAG,+BAAiB,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;IA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AAA,kBAAkB,aAAlB,kBAAkB,uBAAlB,kBAAkB,CAAE,MAAM,CAAA,IAAI,CAC/B,6DACE,+BAAI,SAAS,EAAE,IAAA,mBAAE,EAAC,eAAe,EAAE,gCAAe,CAAC,YAAG,CAAC,CAAC,yBAAyB,CAAC,GAAM,EACxF,uBAAC,uBAAuB,IACtB,SAAS,EAAC,MAAM,EAChB,IAAI,EAAE,IAAI,EACV,WAAW,EAAE,kBAAkB,aAAlB,kBAAkB,cAAlB,kBAAkB,GAAI,EAAE,EACrC,aAAa,EAAE,CAAC,UAAU,EAAE,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,EAClD,mBAAmB,EAAE,mBAAmB,GACxC,EACF,+BAAI,SAAS,EAAE,IAAA,mBAAE,EAAC,eAAe,EAAE,gCAAe,EAAE,OAAO,CAAC,YAAG,CAAC,CAAC,2BAA2B,CAAC,GAAM,IAClG,CACJ,EACD,uBAAC,wBAAwB,IAAC,QAAQ,EAAE,KAAK,CAAC,GAAG,EAAE,WAAW,SAAG,IACzC,EACtB,uBAAC,qBAAU,CAAC,SAAS,IAAC,WAAW,EAAC,UAAU,YAC1C,uBAAC,qBAAU,CAAC,KAAK,KAAG,GACC,IACP,EAClB,uBAAC,oBAAO,cACN,uBAAC,6BAAgB,IACf,QAAQ,EAAE,CAAC,MAAM,EACjB,OAAO,EAAE,aAAa,EACtB,YAAY,EAAE,YAAY,EAC1B,oBAAoB,EAAE,eAAmD,iBAC7D,gCAAgC,GAC5C,GACM,IACT,CACJ,CAAC;AACJ,CAAC,CAAC;AAtEW,QAAA,gBAAgB,oBAsE3B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StatusPanel.d.ts","sourceRoot":"","sources":["../../../../../src/panels/StatusPanel/StatusPanel.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"StatusPanel.d.ts","sourceRoot":"","sources":["../../../../../src/panels/StatusPanel/StatusPanel.tsx"],"names":[],"mappings":"AAQA,eAAO,MAAM,WAAW,gBAAiB;IAAE,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,4CAU5D,CAAC"}
|
|
@@ -1,19 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
//
|
|
3
|
-
// Copyright 2024 DXOS.org
|
|
4
|
-
//
|
|
5
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
6
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
7
|
-
};
|
|
8
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
3
|
exports.StatusPanel = void 0;
|
|
10
|
-
const
|
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
11
5
|
const react_ui_1 = require("@dxos/react-ui");
|
|
12
6
|
const StatusPanel = ({ titleId }) => {
|
|
13
7
|
const { t } = (0, react_ui_1.useTranslation)('os');
|
|
14
|
-
return (
|
|
15
|
-
react_1.default.createElement("p", { id: titleId, className: 'font-medium text-center' }, t('resetting message')),
|
|
16
|
-
react_1.default.createElement(react_ui_1.Status, { indeterminate: true }, t('resetting message'))));
|
|
8
|
+
return ((0, jsx_runtime_1.jsxs)("div", { className: 'grid place-items-center p-2 gap-2', children: [(0, jsx_runtime_1.jsx)("p", { id: titleId, className: 'font-medium text-center', children: t('resetting message') }), (0, jsx_runtime_1.jsx)(react_ui_1.Status, { indeterminate: true, children: t('resetting message') })] }));
|
|
17
9
|
};
|
|
18
10
|
exports.StatusPanel = StatusPanel;
|
|
19
11
|
//# sourceMappingURL=StatusPanel.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StatusPanel.js","sourceRoot":"","sources":["../../../../../src/panels/StatusPanel/StatusPanel.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"StatusPanel.js","sourceRoot":"","sources":["../../../../../src/panels/StatusPanel/StatusPanel.tsx"],"names":[],"mappings":";;;;AAMA,6CAAwD;AAEjD,MAAM,WAAW,GAAG,CAAC,EAAE,OAAO,EAAwB,EAAE,EAAE;IAC/D,MAAM,EAAE,CAAC,EAAE,GAAG,IAAA,yBAAc,EAAC,IAAI,CAAC,CAAC;IACnC,OAAO,CACL,iCAAK,SAAS,EAAC,mCAAmC,aAChD,8BAAG,EAAE,EAAE,OAAO,EAAE,SAAS,EAAC,yBAAyB,YAChD,CAAC,CAAC,mBAAmB,CAAC,GACrB,EACJ,uBAAC,iBAAM,IAAC,aAAa,kBAAE,CAAC,CAAC,mBAAmB,CAAC,GAAU,IACnD,CACP,CAAC;AACJ,CAAC,CAAC;AAVW,QAAA,WAAW,eAUtB"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { type StepProps } from './StepProps';
|
|
3
2
|
type ConfirmResetOptions = Partial<{
|
|
4
3
|
onCancel: () => void;
|
|
@@ -11,7 +10,7 @@ export type ConfirmResetImplProps = ConfirmResetOptions & {
|
|
|
11
10
|
pending?: boolean;
|
|
12
11
|
validationMessage?: string;
|
|
13
12
|
};
|
|
14
|
-
export declare const ConfirmReset: ({ active, onCancel, onConfirm, mode }: ConfirmResetProps) =>
|
|
15
|
-
export declare const ConfirmResetImpl: ({ disabled, pending, validationMessage, onConfirm, onCancel, mode, }: ConfirmResetImplProps) =>
|
|
13
|
+
export declare const ConfirmReset: ({ active, onCancel, onConfirm, mode }: ConfirmResetProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export declare const ConfirmResetImpl: ({ disabled, pending, validationMessage, onConfirm, onCancel, mode, }: ConfirmResetImplProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
15
|
export {};
|
|
17
16
|
//# sourceMappingURL=ConfirmReset.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConfirmReset.d.ts","sourceRoot":"","sources":["../../../../src/steps/ConfirmReset.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ConfirmReset.d.ts","sourceRoot":"","sources":["../../../../src/steps/ConfirmReset.tsx"],"names":[],"mappings":"AAWA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,aAAa,CAAC;AAG7C,KAAK,mBAAmB,GAAG,OAAO,CAAC;IACjC,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAC/B,IAAI,EAAE,mBAAmB,GAAG,SAAS,GAAG,eAAe,CAAC;CACzD,CAAC,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG,SAAS,GAAG,mBAAmB,CAAC;AAEhE,MAAM,MAAM,qBAAqB,GAAG,mBAAmB,GAAG;IACxD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B,CAAC;AAEF,eAAO,MAAM,YAAY,0CAA2C,iBAAiB,4CAyBpF,CAAC;AAEF,eAAO,MAAM,gBAAgB,yEAO1B,qBAAqB,4CAyDvB,CAAC"}
|
|
@@ -1,44 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ConfirmResetImpl = exports.ConfirmReset = void 0;
|
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
2
5
|
//
|
|
3
6
|
// Copyright 2023 DXOS.org
|
|
4
7
|
//
|
|
5
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
-
}
|
|
11
|
-
Object.defineProperty(o, k2, desc);
|
|
12
|
-
}) : (function(o, m, k, k2) {
|
|
13
|
-
if (k2 === undefined) k2 = k;
|
|
14
|
-
o[k2] = m[k];
|
|
15
|
-
}));
|
|
16
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
-
}) : function(o, v) {
|
|
19
|
-
o["default"] = v;
|
|
20
|
-
});
|
|
21
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
-
var ownKeys = function(o) {
|
|
23
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
-
var ar = [];
|
|
25
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
-
return ar;
|
|
27
|
-
};
|
|
28
|
-
return ownKeys(o);
|
|
29
|
-
};
|
|
30
|
-
return function (mod) {
|
|
31
|
-
if (mod && mod.__esModule) return mod;
|
|
32
|
-
var result = {};
|
|
33
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
-
__setModuleDefault(result, mod);
|
|
35
|
-
return result;
|
|
36
|
-
};
|
|
37
|
-
})();
|
|
38
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.ConfirmResetImpl = exports.ConfirmReset = void 0;
|
|
40
8
|
const react_1 = require("@phosphor-icons/react");
|
|
41
|
-
const react_2 =
|
|
9
|
+
const react_2 = require("react");
|
|
42
10
|
const log_1 = require("@dxos/log");
|
|
43
11
|
const react_ui_1 = require("@dxos/react-ui");
|
|
44
12
|
const react_ui_theme_1 = require("@dxos/react-ui-theme");
|
|
@@ -55,7 +23,7 @@ const ConfirmReset = ({ active, onCancel, onConfirm, mode }) => {
|
|
|
55
23
|
setPending(false);
|
|
56
24
|
});
|
|
57
25
|
};
|
|
58
|
-
return (
|
|
26
|
+
return ((0, jsx_runtime_1.jsx)(exports.ConfirmResetImpl, { disabled: !active, pending: pending, validationMessage: validationMessage, onConfirm: processReset, onCancel: onCancel, mode: mode }));
|
|
59
27
|
};
|
|
60
28
|
exports.ConfirmReset = ConfirmReset;
|
|
61
29
|
const ConfirmResetImpl = ({ disabled, pending, validationMessage, onConfirm, onCancel, mode, }) => {
|
|
@@ -63,23 +31,13 @@ const ConfirmResetImpl = ({ disabled, pending, validationMessage, onConfirm, onC
|
|
|
63
31
|
const confirmationValue = t('confirmation value');
|
|
64
32
|
const [inputValue, setInputValue] = (0, react_2.useState)('');
|
|
65
33
|
const testIdAffix = mode === 'join new identity' ? 'join-new-identity' : mode === 'recover' ? 'recover' : 'reset-storage';
|
|
66
|
-
return (
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
react_2.default.createElement(components_1.Input, { validationMessage, label: react_2.default.createElement(components_1.StepHeading, { className: 'text-start mlb-2' }, t(mode === 'join new identity'
|
|
74
|
-
? 'join new identity input label'
|
|
75
|
-
: mode === 'recover'
|
|
76
|
-
? 'recover reset input label'
|
|
77
|
-
: 'reset storage input label', {
|
|
78
|
-
confirmationValue,
|
|
79
|
-
})), disabled: disabled, "data-testid": `${testIdAffix}.reset-identity-input`, placeholder: t('confirmation placeholder', { confirmationValue }), onChange: ({ target: { value } }) => setInputValue(value) })),
|
|
80
|
-
react_2.default.createElement(components_1.Actions, null,
|
|
81
|
-
onCancel && (react_2.default.createElement(components_1.Action, { disabled: disabled, onClick: onCancel, "data-testid": `${testIdAffix}.reset-identity-cancel` }, t('cancel label'))),
|
|
82
|
-
onConfirm && (react_2.default.createElement(components_1.Action, { variant: 'destructive', disabled: disabled || pending || inputValue !== confirmationValue, onClick: onConfirm, "data-testid": `${testIdAffix}.reset-identity-confirm` }, pending ? t('reset in progress label') : t('reset device label'))))));
|
|
34
|
+
return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsxs)("div", { role: 'none', className: 'grow flex flex-col gap-2 justify-center', children: [(0, jsx_runtime_1.jsxs)(react_ui_1.Message.Root, { valence: 'error', children: [(0, jsx_runtime_1.jsxs)(react_ui_1.Message.Title, { children: [(0, jsx_runtime_1.jsx)(react_1.Warning, { className: (0, react_ui_theme_1.mx)((0, react_ui_theme_1.getSize)(6), 'inline mie-2') }), t('sign out chooser title')] }), (0, jsx_runtime_1.jsx)(react_ui_1.Message.Body, { children: t('sign out chooser message') })] }), (0, jsx_runtime_1.jsx)(components_1.Input, { validationMessage, label: (0, jsx_runtime_1.jsx)(components_1.StepHeading, { className: 'text-start mlb-2', children: t(mode === 'join new identity'
|
|
35
|
+
? 'join new identity input label'
|
|
36
|
+
: mode === 'recover'
|
|
37
|
+
? 'recover reset input label'
|
|
38
|
+
: 'reset storage input label', {
|
|
39
|
+
confirmationValue,
|
|
40
|
+
}) }), disabled: disabled, "data-testid": `${testIdAffix}.reset-identity-input`, placeholder: t('confirmation placeholder', { confirmationValue }), onChange: ({ target: { value } }) => setInputValue(value) })] }), (0, jsx_runtime_1.jsxs)(components_1.Actions, { children: [onCancel && ((0, jsx_runtime_1.jsx)(components_1.Action, { disabled: disabled, onClick: onCancel, "data-testid": `${testIdAffix}.reset-identity-cancel`, children: t('cancel label') })), onConfirm && ((0, jsx_runtime_1.jsx)(components_1.Action, { variant: 'destructive', disabled: disabled || pending || inputValue !== confirmationValue, onClick: onConfirm, "data-testid": `${testIdAffix}.reset-identity-confirm`, children: pending ? t('reset in progress label') : t('reset device label') }))] })] }));
|
|
83
41
|
};
|
|
84
42
|
exports.ConfirmResetImpl = ConfirmResetImpl;
|
|
85
43
|
//# sourceMappingURL=ConfirmReset.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConfirmReset.js","sourceRoot":"","sources":["../../../../src/steps/ConfirmReset.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ConfirmReset.js","sourceRoot":"","sources":["../../../../src/steps/ConfirmReset.tsx"],"names":[],"mappings":";;;;AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;AAEF,iD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E,EAAE,CAAC,aAAa,CAAC,KAAK,CAAC,GACzD,IACE,EACN,wBAAC,oBAAO,eACL,QAAQ,IAAI,CACX,uBAAC,mBAAM,IAAC,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,iBAAe,GAAG,WAAW,wBAAwB,YAC/F,CAAC,CAAC,cAAc,CAAC,GACX,CACV,EACA,SAAS,IAAI,CACZ,uBAAC,mBAAM,IACL,OAAO,EAAC,aAAa,EACrB,QAAQ,EAAE,QAAQ,IAAI,OAAO,IAAI,UAAU,KAAK,iBAAiB,EACjE,OAAO,EAAE,SAAS,iBACL,GAAG,WAAW,yBAAyB,YAEnD,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,yBAAyB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,oBAAoB,CAAC,GAC1D,CACV,IACO,IACT,CACJ,CAAC;AACJ,CAAC,CAAC;AAhEW,QAAA,gBAAgB,oBAgE3B"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { type InvitationStatus } from '@dxos/react-client/invitations';
|
|
3
2
|
import { type StepProps } from './StepProps';
|
|
4
3
|
export type InvitationManagerProps = StepProps & Partial<InvitationStatus> & {
|
|
5
4
|
invitationUrl?: string;
|
|
6
5
|
};
|
|
7
|
-
export declare const InvitationManager: ({ invitationUrl, active, send, status, multiUse, authCode, id, }: InvitationManagerProps) =>
|
|
6
|
+
export declare const InvitationManager: ({ invitationUrl, active, send, status, multiUse, authCode, id, }: InvitationManagerProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
7
|
//# sourceMappingURL=InvitationManager.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InvitationManager.d.ts","sourceRoot":"","sources":["../../../../src/steps/InvitationManager.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"InvitationManager.d.ts","sourceRoot":"","sources":["../../../../src/steps/InvitationManager.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAKvE,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,aAAa,CAAC;AAI7C,MAAM,MAAM,sBAAsB,GAAG,SAAS,GAC5C,OAAO,CAAC,gBAAgB,CAAC,GAAG;IAC1B,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC;AAUJ,eAAO,MAAM,iBAAiB,qEAQ3B,sBAAsB,4CAuExB,CAAC"}
|