quickblox-react-ui-kit 0.5.1-join-dialog-off.5 → 0.5.2-alpha.1
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/.claude/settings.local.json +14 -0
- package/dist/CommonTypes/BaseViewModel.d.ts +0 -2
- package/dist/CommonTypes/BaseViewModel.d.ts.map +1 -1
- package/dist/Data/mapper/DialogLocalDTOMapper.d.ts.map +1 -1
- package/dist/Data/mapper/DialogRemoteDTOMapper.d.ts.map +1 -1
- package/dist/Data/repository/ConnectionRepository.d.ts.map +1 -1
- package/dist/Data/repository/DialogsRepository.d.ts +0 -4
- package/dist/Data/repository/DialogsRepository.d.ts.map +1 -1
- package/dist/Data/source/remote/IRemoteDataSource.d.ts +0 -4
- package/dist/Data/source/remote/IRemoteDataSource.d.ts.map +1 -1
- package/dist/Data/source/remote/Mapper/MessageDTOMapper.d.ts +1 -0
- package/dist/Data/source/remote/Mapper/MessageDTOMapper.d.ts.map +1 -1
- package/dist/Data/source/remote/RemoteDataSource.d.ts +0 -4
- package/dist/Data/source/remote/RemoteDataSource.d.ts.map +1 -1
- package/dist/Domain/entity/ChatMessageAttachmentEntity.d.ts +2 -2
- package/dist/Domain/entity/ChatMessageAttachmentEntity.d.ts.map +1 -1
- package/dist/Domain/entity/FileEntity.d.ts +2 -2
- package/dist/Domain/entity/FileEntity.d.ts.map +1 -1
- package/dist/Domain/entity/GroupDialogEntity.d.ts +1 -1
- package/dist/Domain/entity/GroupDialogEntity.d.ts.map +1 -1
- package/dist/Domain/repository/IDialogsRepository.d.ts +0 -4
- package/dist/Domain/repository/IDialogsRepository.d.ts.map +1 -1
- package/dist/Domain/use_cases/SyncDialogsUseCase.d.ts.map +1 -1
- package/dist/Domain/use_cases/UserTypingMessageUseCase.d.ts.map +1 -1
- package/dist/Presentation/Views/Dialog/Message/MessageAttachment/AudioAttachment/AudioAttachment.d.ts.map +1 -1
- package/dist/Presentation/Views/DialogInfo/DialogInfo.d.ts.map +1 -1
- package/dist/Presentation/Views/DialogList/DialogListViewModel.d.ts +1 -5
- package/dist/Presentation/Views/DialogList/DialogListViewModel.d.ts.map +1 -1
- package/dist/Presentation/Views/DialogList/useDialogListViewModel.d.ts.map +1 -1
- package/dist/Presentation/Views/EditDialog/EditDialog.d.ts +0 -5
- package/dist/Presentation/Views/EditDialog/EditDialog.d.ts.map +1 -1
- package/dist/Presentation/Views/Flow/CreateDialogFlow/CreateNewDialogFlow.d.ts.map +1 -1
- package/dist/Presentation/ui-components/MessageInput/VoiceRecordingProgress/VoiceRecordingProgress.d.ts.map +1 -1
- package/dist/index-ui.js +43513 -59614
- package/dist/qb-api-calls/index.d.ts +0 -1
- package/dist/qb-api-calls/index.d.ts.map +1 -1
- package/package.json +14 -8
- package/src/CommonTypes/BaseViewModel.ts +0 -4
- package/src/Data/DefaultConfigurations.ts +4 -4
- package/src/Data/mapper/DialogLocalDTOMapper.ts +9 -10
- package/src/Data/mapper/DialogRemoteDTOMapper.ts +9 -10
- package/src/Data/repository/ConnectionRepository.ts +3 -2
- package/src/Data/repository/DialogsRepository.ts +0 -85
- package/src/Data/source/remote/IRemoteDataSource.ts +0 -12
- package/src/Data/source/remote/Mapper/MessageDTOMapper.ts +39 -22
- package/src/Data/source/remote/RemoteDataSource.ts +65 -246
- package/src/Domain/entity/ChatMessageAttachmentEntity.ts +2 -2
- package/src/Domain/entity/FileEntity.ts +2 -2
- package/src/Domain/entity/GroupDialogEntity.ts +1 -1
- package/src/Domain/repository/IDialogsRepository.ts +0 -12
- package/src/Domain/use_cases/SyncDialogsUseCase.ts +3 -3
- package/src/Domain/use_cases/UserTypingMessageUseCase.ts +4 -2
- package/src/Presentation/Views/Dialog/Message/MessageAttachment/AudioAttachment/AudioAttachment.tsx +4 -9
- package/src/Presentation/Views/DialogInfo/DialogInfo.tsx +4 -39
- package/src/Presentation/Views/DialogList/DialogListViewModel.ts +1 -5
- package/src/Presentation/Views/DialogList/useDialogListViewModel.ts +0 -147
- package/src/Presentation/Views/EditDialog/EditDialog.scss +2 -21
- package/src/Presentation/Views/EditDialog/EditDialog.tsx +1 -47
- package/src/Presentation/Views/Flow/CreateDialogFlow/CreateNewDialogFlow.tsx +13 -49
- package/src/Presentation/layouts/Desktop/QuickBloxUIKitDesktopLayout.tsx +2 -2
- package/src/Presentation/ui-components/Message/Bubble/AttachmentBubble/AttachmentBubble.tsx +2 -2
- package/src/Presentation/ui-components/MessageInput/ReplyMessagePreview/ReplyImagePreviewAttachment/ReplyImagePreviewAttachment.tsx +2 -2
- package/src/Presentation/ui-components/MessageInput/VoiceRecordingProgress/VoiceRecordingProgress.tsx +24 -8
- package/src/QBconfig.ts +4 -4
- package/src/qb-api-calls/index.ts +2 -59
- package/storybook-static/161.77e7dbc5.iframe.bundle.js +2 -0
- package/storybook-static/217.cb8da73c.iframe.bundle.js +408 -0
- package/storybook-static/217.cb8da73c.iframe.bundle.js.map +1 -0
- package/storybook-static/263.f039edee.iframe.bundle.js +2 -0
- package/storybook-static/294.7ed84cb5.iframe.bundle.js +1 -0
- package/storybook-static/338.ed5286bb.iframe.bundle.js +2 -0
- package/storybook-static/363.fe646024.iframe.bundle.js +2 -0
- package/storybook-static/{363.64281ecc.iframe.bundle.js.LICENSE.txt → 363.fe646024.iframe.bundle.js.LICENSE.txt} +0 -7
- package/storybook-static/364.fb3fc9b4.iframe.bundle.js +1 -0
- package/storybook-static/488.a47f0de8.iframe.bundle.js +1 -0
- package/storybook-static/559.fdf11e08.iframe.bundle.js +2 -0
- package/storybook-static/618.ab5566c8.iframe.bundle.js +1 -0
- package/storybook-static/844.5804474b.iframe.bundle.js +95 -0
- package/storybook-static/844.5804474b.iframe.bundle.js.map +1 -0
- package/storybook-static/936.ba75ae44.iframe.bundle.js +1 -0
- package/storybook-static/Presentation-ui-components-Avatar-avatar-stories.6977856e.iframe.bundle.js +2 -0
- package/storybook-static/Presentation-ui-components-Badge-Badge-stories.d77c6500.iframe.bundle.js +2 -0
- package/storybook-static/Presentation-ui-components-Button-Button-stories.05f2f5b7.iframe.bundle.js +2 -0
- package/storybook-static/Presentation-ui-components-DialogBanner-DialogBanner-stories.118df514.iframe.bundle.js +1 -0
- package/storybook-static/Presentation-ui-components-DialogItemPreview-DialogItemPreview-stories.e9d3dc6b.iframe.bundle.js +2 -0
- package/storybook-static/Presentation-ui-components-DialogWindow-DialogWindow-stories.7d74bffa.iframe.bundle.js +2 -0
- package/storybook-static/Presentation-ui-components-Dropdown-Dropdown-stories.d92e6904.iframe.bundle.js +2 -0
- package/storybook-static/Presentation-ui-components-Header-Header-stories.b9a00187.iframe.bundle.js +2 -0
- package/storybook-static/Presentation-ui-components-Loader-Loader-stories.f484b131.iframe.bundle.js +2 -0
- package/storybook-static/Presentation-ui-components-Message-Message-stories.66867b7e.iframe.bundle.js +2 -0
- package/storybook-static/Presentation-ui-components-MessageInput-MessageInput-stories.d72f098b.iframe.bundle.js +1 -0
- package/storybook-static/Presentation-ui-components-MessageSeparator-MessageSeparator-stories.7d9e0991.iframe.bundle.js +1 -0
- package/storybook-static/Presentation-ui-components-Placeholder-Placeholder-stories.1e6bd1cd.iframe.bundle.js +2 -0
- package/storybook-static/Presentation-ui-components-PreviewFileMessage-PreviewFileMessage-stories.44c68c03.iframe.bundle.js +2 -0
- package/storybook-static/Presentation-ui-components-SettingsItem-SettingsItem-stories.3e87329b.iframe.bundle.js +2 -0
- package/storybook-static/Presentation-ui-components-TextField-TextField-stories.ec3e7d5f.iframe.bundle.js +2 -0
- package/storybook-static/Presentation-ui-components-Toast-Toast-stories.2721621c.iframe.bundle.js +1 -0
- package/storybook-static/Presentation-ui-components-UserListItem-UserListItem-stories.33b23eab.iframe.bundle.js +2 -0
- package/storybook-static/docs-Introduction-mdx.416f8bf9.iframe.bundle.js +1 -0
- package/storybook-static/docs-Styling-mdx.c119b271.iframe.bundle.js +1 -0
- package/storybook-static/iframe.html +5 -3
- package/storybook-static/main.bfaba8e3.iframe.bundle.js +1 -0
- package/storybook-static/project.json +1 -1
- package/storybook-static/runtime~main.b1ec3380.iframe.bundle.js +1 -0
- package/storybook-static/sb-addons/chromatic-com-storybook-10/manager-bundle.js +27 -27
- package/storybook-static/sb-addons/essentials-actions-3/manager-bundle.js +1 -1
- package/storybook-static/sb-addons/essentials-backgrounds-5/manager-bundle.js +1 -1
- package/storybook-static/sb-addons/essentials-controls-2/manager-bundle.js +74 -71
- package/storybook-static/sb-addons/essentials-docs-4/manager-bundle.js +73 -70
- package/storybook-static/sb-addons/essentials-viewport-6/manager-bundle.js +1 -1
- package/storybook-static/sb-addons/interactions-11/manager-bundle.js +6 -6
- package/storybook-static/sb-addons/onboarding-1/manager-bundle.js +18 -18
- package/storybook-static/sb-manager/globals-runtime.js +10691 -11043
- package/storybook-static/sb-preview/runtime.js +238 -238
- package/dist/Domain/use_cases/CreateDialogSetUpAutoJoinUseCase.d.ts +0 -14
- package/dist/Domain/use_cases/CreateDialogSetUpAutoJoinUseCase.d.ts.map +0 -1
- package/dist/Domain/use_cases/CreateDialogWithAutoJoinUseCase.d.ts +0 -14
- package/dist/Domain/use_cases/CreateDialogWithAutoJoinUseCase.d.ts.map +0 -1
- package/dist/Domain/use_cases/JoinFromTheDialogUseCase.d.ts +0 -12
- package/dist/Domain/use_cases/JoinFromTheDialogUseCase.d.ts.map +0 -1
- package/dist/Domain/use_cases/UnJoinFromTheDialogUseCase.d.ts +0 -12
- package/dist/Domain/use_cases/UnJoinFromTheDialogUseCase.d.ts.map +0 -1
- package/src/Domain/use_cases/CreateDialogSetUpAutoJoinUseCase.ts +0 -77
- package/src/Domain/use_cases/CreateDialogWithAutoJoinUseCase.ts +0 -77
- package/src/Domain/use_cases/JoinFromTheDialogUseCase.ts +0 -61
- package/src/Domain/use_cases/UnJoinFromTheDialogUseCase.ts +0 -61
- package/storybook-static/161.53da4e03.iframe.bundle.js +0 -2
- package/storybook-static/167.88fc69a9.iframe.bundle.js +0 -1
- package/storybook-static/217.bd248edb.iframe.bundle.js +0 -405
- package/storybook-static/217.bd248edb.iframe.bundle.js.map +0 -1
- package/storybook-static/294.b81cdbca.iframe.bundle.js +0 -1
- package/storybook-static/363.64281ecc.iframe.bundle.js +0 -2
- package/storybook-static/364.988cd801.iframe.bundle.js +0 -1
- package/storybook-static/488.3cd3942e.iframe.bundle.js +0 -1
- package/storybook-static/559.9e64a6f5.iframe.bundle.js +0 -2
- package/storybook-static/735.3121b1b2.iframe.bundle.js +0 -2
- package/storybook-static/844.815b57b5.iframe.bundle.js +0 -95
- package/storybook-static/844.815b57b5.iframe.bundle.js.map +0 -1
- package/storybook-static/936.8546c1d8.iframe.bundle.js +0 -1
- package/storybook-static/961.d47fc2bc.iframe.bundle.js +0 -2
- package/storybook-static/Presentation-ui-components-Avatar-avatar-stories.a1656796.iframe.bundle.js +0 -2
- package/storybook-static/Presentation-ui-components-Badge-Badge-stories.58880259.iframe.bundle.js +0 -2
- package/storybook-static/Presentation-ui-components-Button-Button-stories.f456d20f.iframe.bundle.js +0 -2
- package/storybook-static/Presentation-ui-components-DialogBanner-DialogBanner-stories.cd797979.iframe.bundle.js +0 -1
- package/storybook-static/Presentation-ui-components-DialogItemPreview-DialogItemPreview-stories.2dae7689.iframe.bundle.js +0 -2
- package/storybook-static/Presentation-ui-components-DialogWindow-DialogWindow-stories.cd0c68a8.iframe.bundle.js +0 -2
- package/storybook-static/Presentation-ui-components-Dropdown-Dropdown-stories.c88a1bf9.iframe.bundle.js +0 -2
- package/storybook-static/Presentation-ui-components-Header-Header-stories.dd4b2b7b.iframe.bundle.js +0 -2
- package/storybook-static/Presentation-ui-components-Loader-Loader-stories.500e777d.iframe.bundle.js +0 -2
- package/storybook-static/Presentation-ui-components-Message-Message-stories.93af3d2d.iframe.bundle.js +0 -2
- package/storybook-static/Presentation-ui-components-MessageInput-MessageInput-stories.d1c68a8a.iframe.bundle.js +0 -1
- package/storybook-static/Presentation-ui-components-MessageSeparator-MessageSeparator-stories.2b4362f7.iframe.bundle.js +0 -1
- package/storybook-static/Presentation-ui-components-Placeholder-Placeholder-stories.34dfadb1.iframe.bundle.js +0 -2
- package/storybook-static/Presentation-ui-components-PreviewFileMessage-PreviewFileMessage-stories.9b4eff15.iframe.bundle.js +0 -2
- package/storybook-static/Presentation-ui-components-SettingsItem-SettingsItem-stories.8574dbe1.iframe.bundle.js +0 -2
- package/storybook-static/Presentation-ui-components-TextField-TextField-stories.058998bf.iframe.bundle.js +0 -2
- package/storybook-static/Presentation-ui-components-Toast-Toast-stories.c4dfb1a6.iframe.bundle.js +0 -1
- package/storybook-static/Presentation-ui-components-UserListItem-UserListItem-stories.371bcb5d.iframe.bundle.js +0 -2
- package/storybook-static/docs-Introduction-mdx.5addfa61.iframe.bundle.js +0 -1
- package/storybook-static/docs-Styling-mdx.9f4235f1.iframe.bundle.js +0 -1
- package/storybook-static/main.d176ed27.iframe.bundle.js +0 -1
- package/storybook-static/runtime~main.bc0704e8.iframe.bundle.js +0 -1
- /package/storybook-static/{161.53da4e03.iframe.bundle.js.LICENSE.txt → 161.77e7dbc5.iframe.bundle.js.LICENSE.txt} +0 -0
- /package/storybook-static/{217.bd248edb.iframe.bundle.js.LICENSE.txt → 217.cb8da73c.iframe.bundle.js.LICENSE.txt} +0 -0
- /package/storybook-static/{961.d47fc2bc.iframe.bundle.js.LICENSE.txt → 263.f039edee.iframe.bundle.js.LICENSE.txt} +0 -0
- /package/storybook-static/{735.3121b1b2.iframe.bundle.js.LICENSE.txt → 338.ed5286bb.iframe.bundle.js.LICENSE.txt} +0 -0
- /package/storybook-static/{559.9e64a6f5.iframe.bundle.js.LICENSE.txt → 559.fdf11e08.iframe.bundle.js.LICENSE.txt} +0 -0
- /package/storybook-static/{844.815b57b5.iframe.bundle.js.LICENSE.txt → 844.5804474b.iframe.bundle.js.LICENSE.txt} +0 -0
- /package/storybook-static/{Presentation-ui-components-Avatar-avatar-stories.a1656796.iframe.bundle.js.LICENSE.txt → Presentation-ui-components-Avatar-avatar-stories.6977856e.iframe.bundle.js.LICENSE.txt} +0 -0
- /package/storybook-static/{Presentation-ui-components-Badge-Badge-stories.58880259.iframe.bundle.js.LICENSE.txt → Presentation-ui-components-Badge-Badge-stories.d77c6500.iframe.bundle.js.LICENSE.txt} +0 -0
- /package/storybook-static/{Presentation-ui-components-Button-Button-stories.f456d20f.iframe.bundle.js.LICENSE.txt → Presentation-ui-components-Button-Button-stories.05f2f5b7.iframe.bundle.js.LICENSE.txt} +0 -0
- /package/storybook-static/{Presentation-ui-components-DialogItemPreview-DialogItemPreview-stories.2dae7689.iframe.bundle.js.LICENSE.txt → Presentation-ui-components-DialogItemPreview-DialogItemPreview-stories.e9d3dc6b.iframe.bundle.js.LICENSE.txt} +0 -0
- /package/storybook-static/{Presentation-ui-components-DialogWindow-DialogWindow-stories.cd0c68a8.iframe.bundle.js.LICENSE.txt → Presentation-ui-components-DialogWindow-DialogWindow-stories.7d74bffa.iframe.bundle.js.LICENSE.txt} +0 -0
- /package/storybook-static/{Presentation-ui-components-Dropdown-Dropdown-stories.c88a1bf9.iframe.bundle.js.LICENSE.txt → Presentation-ui-components-Dropdown-Dropdown-stories.d92e6904.iframe.bundle.js.LICENSE.txt} +0 -0
- /package/storybook-static/{Presentation-ui-components-Header-Header-stories.dd4b2b7b.iframe.bundle.js.LICENSE.txt → Presentation-ui-components-Header-Header-stories.b9a00187.iframe.bundle.js.LICENSE.txt} +0 -0
- /package/storybook-static/{Presentation-ui-components-Loader-Loader-stories.500e777d.iframe.bundle.js.LICENSE.txt → Presentation-ui-components-Loader-Loader-stories.f484b131.iframe.bundle.js.LICENSE.txt} +0 -0
- /package/storybook-static/{Presentation-ui-components-Message-Message-stories.93af3d2d.iframe.bundle.js.LICENSE.txt → Presentation-ui-components-Message-Message-stories.66867b7e.iframe.bundle.js.LICENSE.txt} +0 -0
- /package/storybook-static/{Presentation-ui-components-Placeholder-Placeholder-stories.34dfadb1.iframe.bundle.js.LICENSE.txt → Presentation-ui-components-Placeholder-Placeholder-stories.1e6bd1cd.iframe.bundle.js.LICENSE.txt} +0 -0
- /package/storybook-static/{Presentation-ui-components-PreviewFileMessage-PreviewFileMessage-stories.9b4eff15.iframe.bundle.js.LICENSE.txt → Presentation-ui-components-PreviewFileMessage-PreviewFileMessage-stories.44c68c03.iframe.bundle.js.LICENSE.txt} +0 -0
- /package/storybook-static/{Presentation-ui-components-SettingsItem-SettingsItem-stories.8574dbe1.iframe.bundle.js.LICENSE.txt → Presentation-ui-components-SettingsItem-SettingsItem-stories.3e87329b.iframe.bundle.js.LICENSE.txt} +0 -0
- /package/storybook-static/{Presentation-ui-components-TextField-TextField-stories.058998bf.iframe.bundle.js.LICENSE.txt → Presentation-ui-components-TextField-TextField-stories.ec3e7d5f.iframe.bundle.js.LICENSE.txt} +0 -0
- /package/storybook-static/{Presentation-ui-components-UserListItem-UserListItem-stories.371bcb5d.iframe.bundle.js.LICENSE.txt → Presentation-ui-components-UserListItem-UserListItem-stories.33b23eab.iframe.bundle.js.LICENSE.txt} +0 -0
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { DialogEntity } from '../entity/DialogEntity';
|
|
2
|
-
import DialogsRepository from '../../Data/repository/DialogsRepository';
|
|
3
|
-
import { IUseCase } from './base/IUseCase';
|
|
4
|
-
import { GroupDialogEntity } from '../entity/GroupDialogEntity';
|
|
5
|
-
import EventMessagesRepository from '../../Data/repository/EventMessagesRepository';
|
|
6
|
-
export declare class CreateDialogSetUpAutoJoinUseCase implements IUseCase<void, DialogEntity> {
|
|
7
|
-
private dialogRepository;
|
|
8
|
-
private eventMessagesRepository;
|
|
9
|
-
private newDialog;
|
|
10
|
-
private textInformationMessage;
|
|
11
|
-
constructor(eventMessagesRepository: EventMessagesRepository, dialogRepository: DialogsRepository, newDialog: GroupDialogEntity, textInformationMessage: string);
|
|
12
|
-
execute(): Promise<DialogEntity>;
|
|
13
|
-
}
|
|
14
|
-
//# sourceMappingURL=CreateDialogSetUpAutoJoinUseCase.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CreateDialogSetUpAutoJoinUseCase.d.ts","sourceRoot":"","sources":["../../../src/Domain/use_cases/CreateDialogSetUpAutoJoinUseCase.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACtD,OAAO,iBAAiB,MAAM,yCAAyC,CAAC;AACxE,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAIhE,OAAO,uBAAuB,MAAM,+CAA+C,CAAC;AAGpF,qBAAa,gCAAiC,YAAW,QAAQ,CAAC,IAAI,EAAE,YAAY,CAAC;IACnF,OAAO,CAAC,gBAAgB,CAAoB;IAE5C,OAAO,CAAC,uBAAuB,CAA0B;IAEzD,OAAO,CAAC,SAAS,CAAoB;IAErC,OAAO,CAAC,sBAAsB,CAAS;gBAGrC,uBAAuB,EAAE,uBAAuB,EAChD,gBAAgB,EAAE,iBAAiB,EACnC,SAAS,EAAE,iBAAiB,EAC5B,sBAAsB,EAAE,MAAM;IAQ1B,OAAO,IAAI,OAAO,CAAC,YAAY,CAAC;CA6CvC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { DialogEntity } from '../entity/DialogEntity';
|
|
2
|
-
import DialogsRepository from '../../Data/repository/DialogsRepository';
|
|
3
|
-
import { IUseCase } from './base/IUseCase';
|
|
4
|
-
import { GroupDialogEntity } from '../entity/GroupDialogEntity';
|
|
5
|
-
import EventMessagesRepository from '../../Data/repository/EventMessagesRepository';
|
|
6
|
-
export declare class CreateDialogWithAutoJoinUseCase implements IUseCase<void, DialogEntity> {
|
|
7
|
-
private dialogRepository;
|
|
8
|
-
private eventMessagesRepository;
|
|
9
|
-
private newDialog;
|
|
10
|
-
private textInformationMessage;
|
|
11
|
-
constructor(eventMessagesRepository: EventMessagesRepository, dialogRepository: DialogsRepository, newDialog: GroupDialogEntity, textInformationMessage: string);
|
|
12
|
-
execute(): Promise<DialogEntity>;
|
|
13
|
-
}
|
|
14
|
-
//# sourceMappingURL=CreateDialogWithAutoJoinUseCase.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CreateDialogWithAutoJoinUseCase.d.ts","sourceRoot":"","sources":["../../../src/Domain/use_cases/CreateDialogWithAutoJoinUseCase.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACtD,OAAO,iBAAiB,MAAM,yCAAyC,CAAC;AACxE,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAIhE,OAAO,uBAAuB,MAAM,+CAA+C,CAAC;AAGpF,qBAAa,+BAAgC,YAAW,QAAQ,CAAC,IAAI,EAAE,YAAY,CAAC;IAClF,OAAO,CAAC,gBAAgB,CAAoB;IAE5C,OAAO,CAAC,uBAAuB,CAA0B;IAEzD,OAAO,CAAC,SAAS,CAAoB;IAErC,OAAO,CAAC,sBAAsB,CAAS;gBAGrC,uBAAuB,EAAE,uBAAuB,EAChD,gBAAgB,EAAE,iBAAiB,EACnC,SAAS,EAAE,iBAAiB,EAC5B,sBAAsB,EAAE,MAAM;IAQ1B,OAAO,IAAI,OAAO,CAAC,YAAY,CAAC;CA6CvC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { IUseCase } from './base/IUseCase';
|
|
2
|
-
import DialogsRepository from '../../Data/repository/DialogsRepository';
|
|
3
|
-
import EventMessagesRepository from '../../Data/repository/EventMessagesRepository';
|
|
4
|
-
import { DialogEntity } from '../entity/DialogEntity';
|
|
5
|
-
export declare class JoinFromTheDialogUseCase implements IUseCase<void, boolean> {
|
|
6
|
-
private dialogRepository;
|
|
7
|
-
private eventMessagesRepository;
|
|
8
|
-
private dialogToLeave;
|
|
9
|
-
constructor(eventMessagesRepository: EventMessagesRepository, dialogRepository: DialogsRepository, dialog: DialogEntity);
|
|
10
|
-
execute(): Promise<boolean>;
|
|
11
|
-
}
|
|
12
|
-
//# sourceMappingURL=JoinFromTheDialogUseCase.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"JoinFromTheDialogUseCase.d.ts","sourceRoot":"","sources":["../../../src/Domain/use_cases/JoinFromTheDialogUseCase.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,iBAAiB,MAAM,yCAAyC,CAAC;AACxE,OAAO,uBAAuB,MAAM,+CAA+C,CAAC;AACpF,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAStD,qBAAa,wBACX,YAAW,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAC;IAElC,OAAO,CAAC,gBAAgB,CAAoB;IAE5C,OAAO,CAAC,uBAAuB,CAA0B;IAEzD,OAAO,CAAC,aAAa,CAAe;gBAGlC,uBAAuB,EAAE,uBAAuB,EAChD,gBAAgB,EAAE,iBAAiB,EACnC,MAAM,EAAE,YAAY;IAOhB,OAAO,IAAI,OAAO,CAAC,OAAO,CAAC;CA6BlC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { IUseCase } from './base/IUseCase';
|
|
2
|
-
import DialogsRepository from '../../Data/repository/DialogsRepository';
|
|
3
|
-
import EventMessagesRepository from '../../Data/repository/EventMessagesRepository';
|
|
4
|
-
import { DialogEntity } from '../entity/DialogEntity';
|
|
5
|
-
export declare class UnJoinFromTheDialogUseCase implements IUseCase<void, boolean> {
|
|
6
|
-
private dialogRepository;
|
|
7
|
-
private eventMessagesRepository;
|
|
8
|
-
private dialogToLeave;
|
|
9
|
-
constructor(eventMessagesRepository: EventMessagesRepository, dialogRepository: DialogsRepository, dialog: DialogEntity);
|
|
10
|
-
execute(): Promise<boolean>;
|
|
11
|
-
}
|
|
12
|
-
//# sourceMappingURL=UnJoinFromTheDialogUseCase.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"UnJoinFromTheDialogUseCase.d.ts","sourceRoot":"","sources":["../../../src/Domain/use_cases/UnJoinFromTheDialogUseCase.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,iBAAiB,MAAM,yCAAyC,CAAC;AACxE,OAAO,uBAAuB,MAAM,+CAA+C,CAAC;AACpF,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAStD,qBAAa,0BACX,YAAW,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAC;IAElC,OAAO,CAAC,gBAAgB,CAAoB;IAE5C,OAAO,CAAC,uBAAuB,CAA0B;IAEzD,OAAO,CAAC,aAAa,CAAe;gBAGlC,uBAAuB,EAAE,uBAAuB,EAChD,gBAAgB,EAAE,iBAAiB,EACnC,MAAM,EAAE,YAAY;IAOhB,OAAO,IAAI,OAAO,CAAC,OAAO,CAAC;CA6BlC"}
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import { DialogEntity } from '../entity/DialogEntity';
|
|
2
|
-
import DialogsRepository from '../../Data/repository/DialogsRepository';
|
|
3
|
-
import { IUseCase } from './base/IUseCase';
|
|
4
|
-
import { GroupDialogEntity } from '../entity/GroupDialogEntity';
|
|
5
|
-
import { stringifyError } from '../../utils/parse';
|
|
6
|
-
import { RemoteMessageDTO } from '../../Data/dto/message/RemoteMessageDTO';
|
|
7
|
-
import { NotificationTypes } from '../entity/NotificationTypes';
|
|
8
|
-
import EventMessagesRepository from '../../Data/repository/EventMessagesRepository';
|
|
9
|
-
import EventMessageType from '../entity/EventMessageType';
|
|
10
|
-
|
|
11
|
-
export class CreateDialogSetUpAutoJoinUseCase implements IUseCase<void, DialogEntity> {
|
|
12
|
-
private dialogRepository: DialogsRepository;
|
|
13
|
-
|
|
14
|
-
private eventMessagesRepository: EventMessagesRepository;
|
|
15
|
-
|
|
16
|
-
private newDialog: GroupDialogEntity;
|
|
17
|
-
|
|
18
|
-
private textInformationMessage: string;
|
|
19
|
-
|
|
20
|
-
constructor(
|
|
21
|
-
eventMessagesRepository: EventMessagesRepository,
|
|
22
|
-
dialogRepository: DialogsRepository,
|
|
23
|
-
newDialog: GroupDialogEntity,
|
|
24
|
-
textInformationMessage: string,
|
|
25
|
-
) {
|
|
26
|
-
this.dialogRepository = dialogRepository;
|
|
27
|
-
this.newDialog = newDialog;
|
|
28
|
-
this.eventMessagesRepository = eventMessagesRepository;
|
|
29
|
-
this.textInformationMessage = textInformationMessage;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
async execute(): Promise<DialogEntity> {
|
|
33
|
-
console.log('execute CreateDialogSetUpAutoJoinUseCase', JSON.stringify(this.newDialog));
|
|
34
|
-
const result: DialogEntity = await this.dialogRepository
|
|
35
|
-
.createDialogSetUpAutojoinInRemote(this.newDialog)
|
|
36
|
-
.catch((e) => {
|
|
37
|
-
const message = stringifyError(e);
|
|
38
|
-
|
|
39
|
-
console.log('EXCEPTION IN CREATE DIALOG WITH SET UP AUTO JOIN USE CASE', message);
|
|
40
|
-
throw Error(message);
|
|
41
|
-
});
|
|
42
|
-
|
|
43
|
-
await this.dialogRepository.saveDialogToLocal(result);
|
|
44
|
-
|
|
45
|
-
this.eventMessagesRepository.dispatchEvent<DialogEntity>(
|
|
46
|
-
EventMessageType.LocalMessage,
|
|
47
|
-
result,
|
|
48
|
-
[],
|
|
49
|
-
);
|
|
50
|
-
const remoteMessageDTO: RemoteMessageDTO = new RemoteMessageDTO();
|
|
51
|
-
|
|
52
|
-
remoteMessageDTO.dialogId = result.id;
|
|
53
|
-
remoteMessageDTO.notification_type = NotificationTypes.NEW_DIALOG;
|
|
54
|
-
|
|
55
|
-
this.eventMessagesRepository.dispatchEvent<RemoteMessageDTO>(
|
|
56
|
-
EventMessageType.SystemMessage,
|
|
57
|
-
remoteMessageDTO,
|
|
58
|
-
[...this.newDialog.participantIds],
|
|
59
|
-
);
|
|
60
|
-
|
|
61
|
-
remoteMessageDTO.dialogId = result.id;
|
|
62
|
-
remoteMessageDTO.notification_type = NotificationTypes.NEW_DIALOG;
|
|
63
|
-
remoteMessageDTO.date_sent = Date.now() / 1000;
|
|
64
|
-
remoteMessageDTO.message =
|
|
65
|
-
this.textInformationMessage && this.textInformationMessage.length > 0
|
|
66
|
-
? this.textInformationMessage
|
|
67
|
-
: `User ${this.newDialog.ownerId} create new dialog ${this.newDialog.name}`;
|
|
68
|
-
|
|
69
|
-
this.eventMessagesRepository.dispatchEvent<RemoteMessageDTO>(
|
|
70
|
-
EventMessageType.RegularMessage,
|
|
71
|
-
remoteMessageDTO,
|
|
72
|
-
[...this.newDialog.participantIds],
|
|
73
|
-
);
|
|
74
|
-
|
|
75
|
-
return Promise.resolve(result);
|
|
76
|
-
}
|
|
77
|
-
}
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import { DialogEntity } from '../entity/DialogEntity';
|
|
2
|
-
import DialogsRepository from '../../Data/repository/DialogsRepository';
|
|
3
|
-
import { IUseCase } from './base/IUseCase';
|
|
4
|
-
import { GroupDialogEntity } from '../entity/GroupDialogEntity';
|
|
5
|
-
import { stringifyError } from '../../utils/parse';
|
|
6
|
-
import { RemoteMessageDTO } from '../../Data/dto/message/RemoteMessageDTO';
|
|
7
|
-
import { NotificationTypes } from '../entity/NotificationTypes';
|
|
8
|
-
import EventMessagesRepository from '../../Data/repository/EventMessagesRepository';
|
|
9
|
-
import EventMessageType from '../entity/EventMessageType';
|
|
10
|
-
|
|
11
|
-
export class CreateDialogWithAutoJoinUseCase implements IUseCase<void, DialogEntity> {
|
|
12
|
-
private dialogRepository: DialogsRepository;
|
|
13
|
-
|
|
14
|
-
private eventMessagesRepository: EventMessagesRepository;
|
|
15
|
-
|
|
16
|
-
private newDialog: GroupDialogEntity;
|
|
17
|
-
|
|
18
|
-
private textInformationMessage: string;
|
|
19
|
-
|
|
20
|
-
constructor(
|
|
21
|
-
eventMessagesRepository: EventMessagesRepository,
|
|
22
|
-
dialogRepository: DialogsRepository,
|
|
23
|
-
newDialog: GroupDialogEntity,
|
|
24
|
-
textInformationMessage: string,
|
|
25
|
-
) {
|
|
26
|
-
this.dialogRepository = dialogRepository;
|
|
27
|
-
this.newDialog = newDialog;
|
|
28
|
-
this.eventMessagesRepository = eventMessagesRepository;
|
|
29
|
-
this.textInformationMessage = textInformationMessage;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
async execute(): Promise<DialogEntity> {
|
|
33
|
-
console.log('execute CreateDialogWithAutoJoinUseCase', JSON.stringify(this.newDialog));
|
|
34
|
-
const result: DialogEntity = await this.dialogRepository
|
|
35
|
-
.createDialogWithAutojoinInRemote(this.newDialog)
|
|
36
|
-
.catch((e) => {
|
|
37
|
-
const message = stringifyError(e);
|
|
38
|
-
|
|
39
|
-
console.log('EXCEPTION IN CREATE DIALOG WITH AUTO JOIN USE CASE', message);
|
|
40
|
-
throw Error(message);
|
|
41
|
-
});
|
|
42
|
-
|
|
43
|
-
await this.dialogRepository.saveDialogToLocal(result);
|
|
44
|
-
|
|
45
|
-
this.eventMessagesRepository.dispatchEvent<DialogEntity>(
|
|
46
|
-
EventMessageType.LocalMessage,
|
|
47
|
-
result,
|
|
48
|
-
[],
|
|
49
|
-
);
|
|
50
|
-
const remoteMessageDTO: RemoteMessageDTO = new RemoteMessageDTO();
|
|
51
|
-
|
|
52
|
-
remoteMessageDTO.dialogId = result.id;
|
|
53
|
-
remoteMessageDTO.notification_type = NotificationTypes.NEW_DIALOG;
|
|
54
|
-
|
|
55
|
-
this.eventMessagesRepository.dispatchEvent<RemoteMessageDTO>(
|
|
56
|
-
EventMessageType.SystemMessage,
|
|
57
|
-
remoteMessageDTO,
|
|
58
|
-
[...this.newDialog.participantIds],
|
|
59
|
-
);
|
|
60
|
-
|
|
61
|
-
remoteMessageDTO.dialogId = result.id;
|
|
62
|
-
remoteMessageDTO.notification_type = NotificationTypes.NEW_DIALOG;
|
|
63
|
-
remoteMessageDTO.date_sent = Date.now() / 1000;
|
|
64
|
-
remoteMessageDTO.message =
|
|
65
|
-
this.textInformationMessage && this.textInformationMessage.length > 0
|
|
66
|
-
? this.textInformationMessage
|
|
67
|
-
: `User ${this.newDialog.ownerId} create new dialog ${this.newDialog.name}`;
|
|
68
|
-
|
|
69
|
-
this.eventMessagesRepository.dispatchEvent<RemoteMessageDTO>(
|
|
70
|
-
EventMessageType.RegularMessage,
|
|
71
|
-
remoteMessageDTO,
|
|
72
|
-
[...this.newDialog.participantIds],
|
|
73
|
-
);
|
|
74
|
-
|
|
75
|
-
return Promise.resolve(result);
|
|
76
|
-
}
|
|
77
|
-
}
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { IUseCase } from './base/IUseCase';
|
|
2
|
-
import DialogsRepository from '../../Data/repository/DialogsRepository';
|
|
3
|
-
import EventMessagesRepository from '../../Data/repository/EventMessagesRepository';
|
|
4
|
-
import { DialogEntity } from '../entity/DialogEntity';
|
|
5
|
-
import { RemoteMessageDTO } from '../../Data/dto/message/RemoteMessageDTO';
|
|
6
|
-
import { DialogType } from '../entity/DialogTypes';
|
|
7
|
-
import { GroupDialogEntity } from '../entity/GroupDialogEntity';
|
|
8
|
-
import { PrivateDialogEntity } from '../entity/PrivateDialogEntity';
|
|
9
|
-
import { NotificationTypes } from '../entity/NotificationTypes';
|
|
10
|
-
import EventMessageType from '../entity/EventMessageType';
|
|
11
|
-
import { stringifyError } from '../../utils/parse';
|
|
12
|
-
|
|
13
|
-
export class JoinFromTheDialogUseCase
|
|
14
|
-
implements IUseCase<void, boolean>
|
|
15
|
-
{
|
|
16
|
-
private dialogRepository: DialogsRepository;
|
|
17
|
-
|
|
18
|
-
private eventMessagesRepository: EventMessagesRepository;
|
|
19
|
-
|
|
20
|
-
private dialogToLeave: DialogEntity;
|
|
21
|
-
|
|
22
|
-
constructor(
|
|
23
|
-
eventMessagesRepository: EventMessagesRepository,
|
|
24
|
-
dialogRepository: DialogsRepository,
|
|
25
|
-
dialog: DialogEntity,
|
|
26
|
-
) {
|
|
27
|
-
this.eventMessagesRepository = eventMessagesRepository;
|
|
28
|
-
this.dialogRepository = dialogRepository;
|
|
29
|
-
this.dialogToLeave = dialog;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
async execute(): Promise<boolean> {
|
|
33
|
-
console.log('execute JoinFromTheDialogUseCase');
|
|
34
|
-
let resultOperation = false;
|
|
35
|
-
|
|
36
|
-
const remoteMessageDTO: RemoteMessageDTO = new RemoteMessageDTO();
|
|
37
|
-
|
|
38
|
-
remoteMessageDTO.dialogId = this.dialogToLeave.id;
|
|
39
|
-
remoteMessageDTO.notification_type = NotificationTypes.DELETE_LEAVE_DIALOG;
|
|
40
|
-
remoteMessageDTO.date_sent = Date.now();
|
|
41
|
-
|
|
42
|
-
await this.dialogRepository
|
|
43
|
-
.joinUsersFromDialog(this.dialogToLeave.id)
|
|
44
|
-
.then(() => {
|
|
45
|
-
resultOperation = true;
|
|
46
|
-
console.log('join to Dialog successes');
|
|
47
|
-
|
|
48
|
-
return resultOperation;
|
|
49
|
-
})
|
|
50
|
-
.catch((reason) => {
|
|
51
|
-
console.log(
|
|
52
|
-
'have exception in delete users from Dialog : ',
|
|
53
|
-
stringifyError(reason),
|
|
54
|
-
);
|
|
55
|
-
resultOperation = false;
|
|
56
|
-
});
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
return resultOperation;
|
|
60
|
-
}
|
|
61
|
-
}
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { IUseCase } from './base/IUseCase';
|
|
2
|
-
import DialogsRepository from '../../Data/repository/DialogsRepository';
|
|
3
|
-
import EventMessagesRepository from '../../Data/repository/EventMessagesRepository';
|
|
4
|
-
import { DialogEntity } from '../entity/DialogEntity';
|
|
5
|
-
import { RemoteMessageDTO } from '../../Data/dto/message/RemoteMessageDTO';
|
|
6
|
-
import { DialogType } from '../entity/DialogTypes';
|
|
7
|
-
import { GroupDialogEntity } from '../entity/GroupDialogEntity';
|
|
8
|
-
import { PrivateDialogEntity } from '../entity/PrivateDialogEntity';
|
|
9
|
-
import { NotificationTypes } from '../entity/NotificationTypes';
|
|
10
|
-
import EventMessageType from '../entity/EventMessageType';
|
|
11
|
-
import { stringifyError } from '../../utils/parse';
|
|
12
|
-
|
|
13
|
-
export class UnJoinFromTheDialogUseCase
|
|
14
|
-
implements IUseCase<void, boolean>
|
|
15
|
-
{
|
|
16
|
-
private dialogRepository: DialogsRepository;
|
|
17
|
-
|
|
18
|
-
private eventMessagesRepository: EventMessagesRepository;
|
|
19
|
-
|
|
20
|
-
private dialogToLeave: DialogEntity;
|
|
21
|
-
|
|
22
|
-
constructor(
|
|
23
|
-
eventMessagesRepository: EventMessagesRepository,
|
|
24
|
-
dialogRepository: DialogsRepository,
|
|
25
|
-
dialog: DialogEntity,
|
|
26
|
-
) {
|
|
27
|
-
this.eventMessagesRepository = eventMessagesRepository;
|
|
28
|
-
this.dialogRepository = dialogRepository;
|
|
29
|
-
this.dialogToLeave = dialog;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
async execute(): Promise<boolean> {
|
|
33
|
-
console.log('execute UnJoinFromTheDialogUseCase');
|
|
34
|
-
let resultOperation = false;
|
|
35
|
-
|
|
36
|
-
const remoteMessageDTO: RemoteMessageDTO = new RemoteMessageDTO();
|
|
37
|
-
|
|
38
|
-
remoteMessageDTO.dialogId = this.dialogToLeave.id;
|
|
39
|
-
remoteMessageDTO.notification_type = NotificationTypes.DELETE_LEAVE_DIALOG;
|
|
40
|
-
remoteMessageDTO.date_sent = Date.now();
|
|
41
|
-
|
|
42
|
-
await this.dialogRepository
|
|
43
|
-
.unjoinUsersFromDialog(this.dialogToLeave.id)
|
|
44
|
-
.then(() => {
|
|
45
|
-
resultOperation = true;
|
|
46
|
-
console.log('Leave from Dialog successes');
|
|
47
|
-
|
|
48
|
-
return resultOperation;
|
|
49
|
-
})
|
|
50
|
-
.catch((reason) => {
|
|
51
|
-
console.log(
|
|
52
|
-
'have exception in leave Dialog : ',
|
|
53
|
-
stringifyError(reason),
|
|
54
|
-
);
|
|
55
|
-
resultOperation = false;
|
|
56
|
-
});
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
return resultOperation;
|
|
60
|
-
}
|
|
61
|
-
}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! For license information please see 161.53da4e03.iframe.bundle.js.LICENSE.txt */
|
|
2
|
-
"use strict";(self.webpackChunkquickblox_react_ui_kit=self.webpackChunkquickblox_react_ui_kit||[]).push([[161],{"./node_modules/react-dom/cjs/react-dom-test-utils.production.js":(__unused_webpack_module,exports,__webpack_require__)=>{var React=__webpack_require__("./node_modules/react/index.js"),didWarnAboutUsingAct=!1;exports.act=function(callback){return!1===didWarnAboutUsingAct&&(didWarnAboutUsingAct=!0,console.error("`ReactDOMTestUtils.act` is deprecated in favor of `React.act`. Import `act` from `react` instead of `react-dom/test-utils`. See https://react.dev/warnings/react-dom-test-utils for more info.")),React.act(callback)}},"./node_modules/react-dom/test-utils.js":(module,__unused_webpack_exports,__webpack_require__)=>{module.exports=__webpack_require__("./node_modules/react-dom/cjs/react-dom-test-utils.production.js")}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunkquickblox_react_ui_kit=self.webpackChunkquickblox_react_ui_kit||[]).push([[167],{"./node_modules/@storybook/addon-docs/dist/DocsRenderer-CFRXHY34.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{DocsRenderer:()=>DocsRenderer});var react=__webpack_require__("./node_modules/react/index.js"),dist=__webpack_require__("./node_modules/@storybook/blocks/dist/index.mjs"),react_18=__webpack_require__("./node_modules/@storybook/react-dom-shim/dist/react-18.mjs"),defaultComponents={code:dist.XA,a:dist.zE,...dist.Sw},ErrorBoundary=class extends react.Component{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(err){let{showException}=this.props;showException(err)}render(){let{hasError}=this.state,{children}=this.props;return hasError?null:react.createElement(react.Fragment,null,children)}},DocsRenderer=class{constructor(){this.render=async(context,docsParameter,element)=>{let components={...defaultComponents,...docsParameter?.components},TDocs=dist.kQ;return new Promise(((resolve,reject)=>{__webpack_require__.e(294).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@mdx-js/react/index.js")).then((({MDXProvider})=>(0,react_18.renderElement)(react.createElement(ErrorBoundary,{showException:reject,key:Math.random()},react.createElement(MDXProvider,{components},react.createElement(TDocs,{context,docsParameter}))),element))).then((()=>resolve()))}))},this.unmount=element=>{(0,react_18.unmountElement)(element)}}};__webpack_require__("./node_modules/@storybook/addon-docs/dist/chunk-H6MOWX77.mjs")},"./node_modules/@storybook/blocks/dist sync recursive":module=>{function webpackEmptyContext(req){var e=new Error("Cannot find module '"+req+"'");throw e.code="MODULE_NOT_FOUND",e}webpackEmptyContext.keys=()=>[],webpackEmptyContext.resolve=webpackEmptyContext,webpackEmptyContext.id="./node_modules/@storybook/blocks/dist sync recursive",module.exports=webpackEmptyContext},"./node_modules/@storybook/core/dist/components sync recursive":module=>{function webpackEmptyContext(req){var e=new Error("Cannot find module '"+req+"'");throw e.code="MODULE_NOT_FOUND",e}webpackEmptyContext.keys=()=>[],webpackEmptyContext.resolve=webpackEmptyContext,webpackEmptyContext.id="./node_modules/@storybook/core/dist/components sync recursive",module.exports=webpackEmptyContext},"./node_modules/@storybook/core/dist/theming sync recursive":module=>{function webpackEmptyContext(req){var e=new Error("Cannot find module '"+req+"'");throw e.code="MODULE_NOT_FOUND",e}webpackEmptyContext.keys=()=>[],webpackEmptyContext.resolve=webpackEmptyContext,webpackEmptyContext.id="./node_modules/@storybook/core/dist/theming sync recursive",module.exports=webpackEmptyContext}}]);
|