quickblox-react-ui-kit 0.5.1-beta.1 → 0.5.1-join-dialog-off.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.
Files changed (95) hide show
  1. package/dist/CommonTypes/BaseViewModel.d.ts +2 -0
  2. package/dist/CommonTypes/BaseViewModel.d.ts.map +1 -1
  3. package/dist/CommonTypes/CommonTypes.d.ts +1 -0
  4. package/dist/CommonTypes/CommonTypes.d.ts.map +1 -1
  5. package/dist/Data/Stubs.d.ts.map +1 -1
  6. package/dist/Data/dto/dialog/RemoteDialogDTO.d.ts +1 -0
  7. package/dist/Data/dto/dialog/RemoteDialogDTO.d.ts.map +1 -1
  8. package/dist/Data/mapper/DialogRemoteDTOMapper.d.ts.map +1 -1
  9. package/dist/Data/repository/DialogsRepository.d.ts +3 -0
  10. package/dist/Data/repository/DialogsRepository.d.ts.map +1 -1
  11. package/dist/Data/source/remote/IRemoteDataSource.d.ts +3 -0
  12. package/dist/Data/source/remote/IRemoteDataSource.d.ts.map +1 -1
  13. package/dist/Data/source/remote/Mapper/DialogDTOMapper.d.ts.map +1 -1
  14. package/dist/Data/source/remote/RemoteDataSource.d.ts +3 -0
  15. package/dist/Data/source/remote/RemoteDataSource.d.ts.map +1 -1
  16. package/dist/Domain/repository/IDialogsRepository.d.ts +3 -0
  17. package/dist/Domain/repository/IDialogsRepository.d.ts.map +1 -1
  18. package/dist/Domain/use_cases/CreateDialogWithAutoJoinUseCase.d.ts +13 -0
  19. package/dist/Domain/use_cases/CreateDialogWithAutoJoinUseCase.d.ts.map +1 -0
  20. package/dist/Domain/use_cases/JoinFromTheDialogUseCase.d.ts +11 -0
  21. package/dist/Domain/use_cases/JoinFromTheDialogUseCase.d.ts.map +1 -0
  22. package/dist/Domain/use_cases/UnJoinFromTheDialogUseCase.d.ts +11 -0
  23. package/dist/Domain/use_cases/UnJoinFromTheDialogUseCase.d.ts.map +1 -0
  24. package/dist/Presentation/Views/Dialog/useDialogViewModel.d.ts.map +1 -1
  25. package/dist/Presentation/Views/DialogInfo/DialogInfo.d.ts.map +1 -1
  26. package/dist/Presentation/Views/DialogList/DialogListViewModel.d.ts +4 -1
  27. package/dist/Presentation/Views/DialogList/DialogListViewModel.d.ts.map +1 -1
  28. package/dist/Presentation/Views/DialogList/useDialogListViewModel.d.ts.map +1 -1
  29. package/dist/Presentation/Views/EditDialog/EditDialog.d.ts.map +1 -1
  30. package/dist/Presentation/Views/Flow/CreateDialogFlow/CreateNewDialogFlow.d.ts.map +1 -1
  31. package/dist/QBconfig.d.ts.map +1 -1
  32. package/dist/index-ui.js +438 -90
  33. package/dist/qb-api-calls/index.d.ts +2 -0
  34. package/dist/qb-api-calls/index.d.ts.map +1 -1
  35. package/package.json +2 -2
  36. package/src/CommonTypes/BaseViewModel.ts +4 -0
  37. package/src/CommonTypes/CommonTypes.ts +1 -0
  38. package/src/Data/Stubs.ts +20 -10
  39. package/src/Data/dto/dialog/RemoteDialogDTO.ts +4 -0
  40. package/src/Data/mapper/DialogRemoteDTOMapper.ts +6 -0
  41. package/src/Data/repository/DialogsRepository.ts +57 -0
  42. package/src/Data/source/remote/IRemoteDataSource.ts +10 -0
  43. package/src/Data/source/remote/Mapper/DialogDTOMapper.ts +13 -0
  44. package/src/Data/source/remote/RemoteDataSource.ts +163 -65
  45. package/src/Domain/repository/IDialogsRepository.ts +10 -0
  46. package/src/Domain/use_cases/CreateDialogWithAutoJoinUseCase.ts +77 -0
  47. package/src/Domain/use_cases/JoinFromTheDialogUseCase.ts +61 -0
  48. package/src/Domain/use_cases/UnJoinFromTheDialogUseCase.ts +61 -0
  49. package/src/Presentation/Views/Dialog/useDialogViewModel.ts +46 -4
  50. package/src/Presentation/Views/DialogInfo/DialogInfo.tsx +36 -1
  51. package/src/Presentation/Views/DialogList/DialogListViewModel.ts +4 -1
  52. package/src/Presentation/Views/DialogList/useDialogListViewModel.ts +141 -12
  53. package/src/Presentation/Views/EditDialog/EditDialog.scss +18 -0
  54. package/src/Presentation/Views/EditDialog/EditDialog.tsx +10 -1
  55. package/src/Presentation/Views/Flow/CreateDialogFlow/CreateNewDialogFlow.tsx +25 -10
  56. package/src/Presentation/layouts/Desktop/DesktopLayout.scss +7 -0
  57. package/src/Presentation/ui-components/Header/Header.scss +7 -0
  58. package/src/QBconfig.ts +2 -0
  59. package/src/qb-api-calls/index.ts +88 -42
  60. package/storybook-static/{217.07d5c7a3.iframe.bundle.js → 217.f067a49f.iframe.bundle.js} +3 -3
  61. package/storybook-static/{217.07d5c7a3.iframe.bundle.js.map → 217.f067a49f.iframe.bundle.js.map} +1 -1
  62. package/storybook-static/{363.a2d33b79.iframe.bundle.js → 363.f6fcc1b9.iframe.bundle.js} +2 -2
  63. package/storybook-static/844.be4346f2.iframe.bundle.js +95 -0
  64. package/storybook-static/844.be4346f2.iframe.bundle.js.map +1 -0
  65. package/storybook-static/Presentation-ui-components-DialogWindow-DialogWindow-stories.46997cb0.iframe.bundle.js +2 -0
  66. package/storybook-static/Presentation-ui-components-Header-Header-stories.a4edfcc6.iframe.bundle.js +2 -0
  67. package/storybook-static/{Presentation-ui-components-MessageInput-MessageInput-stories.9b4b2514.iframe.bundle.js → Presentation-ui-components-MessageInput-MessageInput-stories.2af0de55.iframe.bundle.js} +1 -1
  68. package/storybook-static/docs-Introduction-mdx.46ed11c4.iframe.bundle.js +1 -0
  69. package/storybook-static/docs-Styling-mdx.3a86be03.iframe.bundle.js +1 -0
  70. package/storybook-static/iframe.html +2 -2
  71. package/storybook-static/project.json +1 -1
  72. package/storybook-static/{runtime~main.940703c6.iframe.bundle.js → runtime~main.ebabbef9.iframe.bundle.js} +1 -1
  73. package/storybook-static/sb-addons/essentials-backgrounds-5/manager-bundle.js +1 -1
  74. package/storybook-static/sb-addons/essentials-controls-2/manager-bundle.js +8 -8
  75. package/storybook-static/sb-addons/essentials-docs-4/manager-bundle.js +4 -4
  76. package/storybook-static/sb-addons/essentials-measure-8/manager-bundle.js +1 -1
  77. package/storybook-static/sb-addons/essentials-outline-9/manager-bundle.js +1 -1
  78. package/storybook-static/sb-addons/essentials-viewport-6/manager-bundle.js +1 -1
  79. package/storybook-static/sb-addons/interactions-11/manager-bundle.js +1 -1
  80. package/storybook-static/sb-addons/onboarding-1/manager-bundle.js +1 -1
  81. package/storybook-static/sb-manager/globals-module-info.js +1 -0
  82. package/storybook-static/sb-manager/globals-runtime.js +10372 -9836
  83. package/storybook-static/sb-manager/runtime.js +119 -119
  84. package/webpack.app.config.js +3 -3
  85. package/storybook-static/844.e8bfd664.iframe.bundle.js +0 -95
  86. package/storybook-static/844.e8bfd664.iframe.bundle.js.map +0 -1
  87. package/storybook-static/Presentation-ui-components-DialogWindow-DialogWindow-stories.a724643f.iframe.bundle.js +0 -2
  88. package/storybook-static/Presentation-ui-components-Header-Header-stories.978f0af5.iframe.bundle.js +0 -2
  89. package/storybook-static/docs-Introduction-mdx.5addfa61.iframe.bundle.js +0 -1
  90. package/storybook-static/docs-Styling-mdx.9f4235f1.iframe.bundle.js +0 -1
  91. /package/storybook-static/{217.07d5c7a3.iframe.bundle.js.LICENSE.txt → 217.f067a49f.iframe.bundle.js.LICENSE.txt} +0 -0
  92. /package/storybook-static/{363.a2d33b79.iframe.bundle.js.LICENSE.txt → 363.f6fcc1b9.iframe.bundle.js.LICENSE.txt} +0 -0
  93. /package/storybook-static/{844.e8bfd664.iframe.bundle.js.LICENSE.txt → 844.be4346f2.iframe.bundle.js.LICENSE.txt} +0 -0
  94. /package/storybook-static/{Presentation-ui-components-DialogWindow-DialogWindow-stories.a724643f.iframe.bundle.js.LICENSE.txt → Presentation-ui-components-DialogWindow-DialogWindow-stories.46997cb0.iframe.bundle.js.LICENSE.txt} +0 -0
  95. /package/storybook-static/{Presentation-ui-components-Header-Header-stories.978f0af5.iframe.bundle.js.LICENSE.txt → Presentation-ui-components-Header-Header-stories.a4edfcc6.iframe.bundle.js.LICENSE.txt} +0 -0
@@ -0,0 +1 @@
1
+ (self.webpackChunkquickblox_react_ui_kit=self.webpackChunkquickblox_react_ui_kit||[]).push([[485],{"./node_modules/@mdx-js/react/lib/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{R:()=>useMDXComponents,x:()=>MDXProvider});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js");const emptyComponents={},MDXContext=react__WEBPACK_IMPORTED_MODULE_0__.createContext(emptyComponents);function useMDXComponents(components){const contextComponents=react__WEBPACK_IMPORTED_MODULE_0__.useContext(MDXContext);return react__WEBPACK_IMPORTED_MODULE_0__.useMemo((function(){return"function"==typeof components?components(contextComponents):{...contextComponents,...components}}),[contextComponents,components])}function MDXProvider(properties){let allComponents;return allComponents=properties.disableParentContext?"function"==typeof properties.components?properties.components(emptyComponents):properties.components||emptyComponents:useMDXComponents(properties.components),react__WEBPACK_IMPORTED_MODULE_0__.createElement(MDXContext.Provider,{value:allComponents},properties.children)}},"./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},"./src/docs/Introduction.mdx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>MDXContent});__webpack_require__("./node_modules/react/index.js");var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/react/jsx-runtime.js"),_Users_artemkoltunov_Desktop_02_react_ui_kit_private_copy_node_modules_storybook_addon_docs_dist_shims_mdx_react_shim_mjs__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/@mdx-js/react/lib/index.js"),_storybook_blocks__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/@storybook/blocks/dist/index.mjs");function _createMdxContent(props){const _components={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h3:"h3",h4:"h4",li:"li",ol:"ol",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,_Users_artemkoltunov_Desktop_02_react_ui_kit_private_copy_node_modules_storybook_addon_docs_dist_shims_mdx_react_shim_mjs__WEBPACK_IMPORTED_MODULE_2__.R)(),...props.components};return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.Fragment,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_storybook_blocks__WEBPACK_IMPORTED_MODULE_3__.W8,{title:"📕 Documentation/Introduction"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h1,{id:"introduction",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.a,{href:"https://docs.quickblox.com/docs/react-uikit-send-your-first-message#importing-dependencies-in-the-project",rel:"nofollow",children:"Introduction"})}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:"The QuickBlox UIKit for React comprises a collection of pre-assembled UI components that enable effortless creation of an in-app chat equipped with all the necessary messaging functionalities. Our development kit encompasses light and dark themes, colors, and various other features. These components can be personalized to fashion an engaging messaging interface that reflects your brand's distinct identity."}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:"The QuickBlox UIKit fully supports both private and group dialogs. To initiate the process of sending a message from the ground up using Java or Kotlin, please refer to the instructions provided in the guide below."}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h3,{id:"installation",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.a,{href:"https://docs.quickblox.com/docs/react-uikit-send-your-first-message#step2-adding-dependencies-to-a-react-project",rel:"nofollow",children:"Installation"})}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:"To successfully integrate QuickBlox functionality into your React project, you need to add two main dependencies: quickblox and quickblox-react-ui-kit. By following the documentation, you can easily add these packages to your project."}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.pre,{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{className:"language-bash",children:"npm install quickblox --save\n"})}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.pre,{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{className:"language-bash",children:"npm install quickblox-react-ui-kit --save\n"})}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h4,{id:"importing-dependencies-in-the-project",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.a,{href:"https://docs.quickblox.com/docs/react-uikit-send-your-first-message#importing-dependencies-in-the-project",rel:"nofollow",children:"Importing Dependencies in the Project"})}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:"Open the file where you want to use QuickBlox functionality, such as App.tsx\nAdd the following lines at the beginning of the file to import the dependencies:"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.blockquote,{children:["\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.strong,{children:"Note: We are using // @ts-ignor in TypeScript because QuickBlox SDK doesn't share types."})}),"\n"]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.pre,{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{className:"language-ts",children:"// @ts-ignore\nimport * as QB from 'quickblox/quickblox';\nimport 'quickblox-react-ui-kit';\n"})}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h3,{id:"adding-qbconfigts-file-to-your-react-application",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.a,{href:"https://docs.quickblox.com/docs/react-uikit-send-your-first-message#step-3-adding-qbconfigts-file-to-your-react-application",rel:"nofollow",children:"Adding QBconfig.ts File to Your React Application"})}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:"To ensure proper configuration and functionality of the QuickBlox UIKit in your React application, it is essential to add a QBconfig.ts file to the src folder. This file allows you to define the necessary parameters for the QuickBlox UIKit.\nThe QBconfig.ts file contains various configuration settings that determine how the QuickBlox UIKit interacts with the QuickBlox JavaScript SDK and the backend services. These settings include:"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:"appId: This parameter represents the unique identifier assigned to your QuickBlox application. It helps establish a connection between the frontend and backend components.\nauthKey and authSecret: These parameters are used for authentication purposes. They ensure secure communication between your application and the QuickBlox backend.\naccountKey: This parameter identifies your QuickBlox account and provides access to the associated services.\napiEndpoint and chatEndpoint: These parameters define the API and chat endpoints provided by QuickBlox. They specify the URLs to which the QuickBlox UIKit will send requests for various functionalities."}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.pre,{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{className:"language-ts",children:"export const QBConfig = {\n credentials: {\n appId: YOUR_APP_ID_FROM_ADMIN_PANEL,\n accountKey: 'YOUR_ACCOUNT_KEY_FROM_ADMIN_PANEL',\n authKey: 'YOUR_AUTH_KEY_FROM_ADMIN_PANEL',\n authSecret: 'YOUR_AUTH_SECRET_FROM_ADMIN_PANEL',\n sessionToken: '',\n },\n appConfig: {\n chatProtocol: {\n Active: 2,\n },\n debug: false,\n endpoints: {\n apiEndpoint: 'https://api.quickblox.com',\n chatEndpoint: 'chat.quickblox.com',\n },\n on: {\n async sessionExpired(handleResponse: any, retry: any) {\n console.log(`Test sessionExpired… ${handleResponse} ${retry}`);\n },\n },\n streamManagement: {\n Enable: true,\n },\n },\n};\n"})}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:"In this example, make sure to replace the placeholder values (YOUR_APP_ID_FROM_ADMIN_PANEL, YOUR_ACCOUNT_KEY_FROM_ADMIN_PANEL, YOUR_AUTH_KEY_FROM_ADMIN_PANEL, YOUR_AUTH_SECRET_FROM_ADMIN_PANEL) with the actual values obtained from your QuickBlox application.\nBy adding the QBconfig.ts file to your React application, you ensure that the QuickBlox UIKit is properly configured and can interact seamlessly with the QuickBlox backend services."}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.blockquote,{children:["\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.strong,{children:"Note: If you initialize your SDK using a session token, you need to not only fill the sessionToken field in QBConfig but also fill other properties in the same way as when using the initWithAppId method. See the link initialize QuickBlox SDK without Authorization Key and Secret."})}),"\n"]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:"Now we can add dependecies in our code. (Open your App.tsx and add that lines.)"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.pre,{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{className:"language-ts",children:"import * as QB from 'quickblox/quickblox';\nimport 'quickblox-react-ui-kit';\nimport { QBConfig } from './QBconfig'; // this line is new\n"})}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h3,{id:"updating-the-project-structure-according-to-your-needs",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.a,{href:"https://docs.quickblox.com/docs/react-uikit-send-your-first-message#step-4-updating-the-project-structure-according-to-your-needs",rel:"nofollow",children:"Updating the project structure according to your needs"})}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:'In order to enhance the organization and maintainability of your project, it is recommended to make changes to the structure of the App.tsx in the src folder.\nYou need to add a constant called "currentUser" inside the App() function in the App.tsx file, which describes your user registered in the admin panel, and configure the QuickBloxUIKitProvider. Additionally, import the necessary entities from quickblox-react-ui-kit.\nAs a result, you should have the code like code below:'}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.pre,{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{className:"language-ts",children:"import React from 'react';\nimport type { QBSession, QBUser } from 'quickblox/quickblox';\nimport {\n QuickBloxUIKitProvider,\n QuickBloxUIKitDesktopLayout,\n} from 'quickblox-react-ui-kit';\nimport { QBConfig } from '../../configs/QBconfig';\nimport Header from '../../components/Header';\nimport SettingModal from '../../components/modals/SettingModal';\nimport LogoutModal from '../../components/modals/LogoutModal';\n\ninterface AppProps {\n session: QBSession;\n logout: VoidFunction;\n}\n\nconst App = (props: AppProps) => {\n const { session, logout } = props;\n const [user, setUser] = useState<QBUser | null>(null);\n\n return (\n <QuickBloxUIKitProvider\n maxFileSize={100 * 1000000}\n accountData={{ ...QBConfig.credentials, sessionToken: session.token }}\n qbConfig={{ ...QBConfig }}\n >\n <Header\n avatarUrl={avatarUrl}\n options={options}\n handleChange={handleChange}\n user={user}\n regex={regex}\n />\n <QuickBloxUIKitDesktopLayout uikitHeightOffset={'40px'} />\n <SettingModal\n user={user}\n avatarUrl={avatarUrl}\n selectedValue={selectedValue}\n setSelectedValue={setSelectedValue}\n regex={regex}\n setUser={setUser}\n />\n <LogoutModal\n selectedValue={selectedValue}\n setSelectedValue={setSelectedValue}\n handleLogout={logout}\n />\n </QuickBloxUIKitProvider>\n );\n};\n\nexport default App;\n"})}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:"QuickBloxUIKitProvider can accept up to three parameters:"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.ul,{children:["\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.li,{children:"maxFileSize - controls the maximum size of uploaded files."}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.li,{children:"accountData - information about the application's account data."}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.li,{children:"loginData - information about the logged-in user."}),"\n"]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:"Let's add the QuickBlox UIKit chat layer - QuickBloxUIKitDesktopLayout - to the markup of the main component of the application."}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:"If we do not specify a sessionToken in accountData, it means that the login and session start process occurs within our application. In this case, it is necessary to perform the following fifth step in our instruction.\nHowever, if the session start and application login process is already performed in another application, such as on a server, and we already have a ready sessionToken, then we can skip the next step."}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h3,{id:"configure-quickbloxuikitprovider",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.a,{href:"https://docs.quickblox.com/docs/react-uikit-send-your-first-message#step-5-configure-quickbloxuikitprovider",rel:"nofollow",children:"Configure QuickBloxUIKitProvider"})}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:"To configure QuickBloxUIKitProvider and use QuickBloxUIKit in your application, follow these steps:\nInitialize DataContext:"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.ol,{children:["\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.li,{children:"To work with QuickBlox, it is necessary to initialize the UI Kit react DataContext. It contains important data and settings for using QuickBloxSDK. The DataContext connects various components of the application and provides them access to shared data."}),"\n"]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.pre,{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{className:"language-ts",children:"const qbUIKitContext: QBDataContextType = React.useContext(qbDataContext);\n\nconst [isUserAuthorized, setUserAuthorized] = React.useState(false);\nconst [isSDKInitialized, setSDKInitialized] = React.useState(false);\n\nconst prepareSDK = async (): Promise<void> => {\n // check if we have installed SDK\n if ((window as any).QB === undefined) {\n if (QB !== undefined) {\n (window as any).QB = QB;\n } else {\n let QBLib = require('quickblox/quickblox.min');\n (window as any).QB = QBLib;\n }\n }\n\n const APPLICATION_ID = QBConfig.credentials.appId;\n const AUTH_KEY = QBConfig.credentials.authKey;\n const AUTH_SECRET = QBConfig.credentials.authSecret;\n const ACCOUNT_KEY = QBConfig.credentials.accountKey;\n const CONFIG = QBConfig.appConfig;\n\n QB.init(APPLICATION_ID, AUTH_KEY, AUTH_SECRET, ACCOUNT_KEY, CONFIG);\n};\n"})}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.ol,{start:"2",children:["\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.li,{children:"We need to add user authentication, so to do this, we will introduce two states and use the useEffect hook:"}),"\n"]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.pre,{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{className:"language-ts",children:"const [authorized, setAuthorized] = React.useState(false);\nconst [initedSDK, setInitedSDK] = React.useState(false);\n\n......\n\n useEffect(() => {\n if (!isSDKInitialized) {\n prepareSDK().then(result => {\n\n QB.createSession(currentUser, async function (errorCreateSession: any, session: any) {\n if (errorCreateSession) {\n console.log('Create User Session has error:', JSON.stringify(errorCreateSession));\n } else {\n const userId: number = session.user_id;\n const password: string = session.token;\n const paramsConnect = { userId, password };\n\n QB.chat.connect(paramsConnect, async function (errorConnect: any, resultConnect: any) {\n if (errorConnect) {\n console.log('Can not connect to chat server: ', errorConnect);\n } else {\n const authData: AuthorizationData = {\n userId: userId,\n password: password,\n userName: currentUser.login,\n sessionToken: session.token\n };\n await qbUIKitContext.authorize(authData);\n setSDKInitialized(true);\n setUserAuthorized(true);\n }\n });\n }\n });\n }).catch(\n e => {\n console.log('init SDK has error: ', e)\n });\n }\n }, []);\n\n ......\n"})}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:"After implementing all the steps, your App.tsx file should look like this. You can compare it this your code or copy it instead of."}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.pre,{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{className:"language-ts",children:"import React, { useEffect } from 'react';\n\n// @ts-ignore\nimport * as QB from 'quickblox/quickblox';\nimport {\n QuickBloxUIKitProvider,\n qbDataContext,\n QuickBloxUIKitDesktopLayout,\n LoginData,\n AuthorizationData,\n QBDataContextType,\n} from 'quickblox-react-ui-kit';\nimport { QBConfig } from './QBconfig';\nimport './App.css';\n\nfunction App() {\n const currentUser: LoginData = {\n login: '',\n password: '',\n };\n\n const qbUIKitContext: QBDataContextType = React.useContext(qbDataContext);\n\n const [isUserAuthorized, setUserAuthorized] = React.useState(false);\n const [isSDKInitialized, setSDKInitialized] = React.useState(false);\n\n const prepareSDK = async (): Promise<void> => {\n // check if we have installed SDK\n if ((window as any).QB === undefined) {\n if (QB !== undefined) {\n (window as any).QB = QB;\n } else {\n let QBLib = require('quickblox/quickblox.min');\n (window as any).QB = QBLib;\n }\n }\n\n const APPLICATION_ID = QBConfig.credentials.appId;\n const AUTH_KEY = QBConfig.credentials.authKey;\n const AUTH_SECRET = QBConfig.credentials.authSecret;\n const ACCOUNT_KEY = QBConfig.credentials.accountKey;\n const CONFIG = QBConfig.appConfig;\n\n QB.init(APPLICATION_ID, AUTH_KEY, AUTH_SECRET, ACCOUNT_KEY, CONFIG);\n };\n\n useEffect(() => {\n if (!isSDKInitialized) {\n prepareSDK()\n .then((result) => {\n QB.createSession(\n currentUser,\n async function (errorCreateSession: any, session: any) {\n if (errorCreateSession) {\n console.log(\n 'Create User Session has error:',\n JSON.stringify(errorCreateSession),\n );\n } else {\n const userId: number = session.user_id;\n const password: string = session.token;\n const paramsConnect = { userId, password };\n\n QB.chat.connect(\n paramsConnect,\n async function (errorConnect: any, resultConnect: any) {\n if (errorConnect) {\n console.log(\n 'Can not connect to chat server: ',\n errorConnect,\n );\n } else {\n const authData: AuthorizationData = {\n userId: userId,\n password: password,\n userName: currentUser.login,\n sessionToken: session.token,\n };\n await qbUIKitContext.authorize(authData);\n setSDKInitialized(true);\n setUserAuthorized(true);\n }\n },\n );\n }\n },\n );\n })\n .catch((e) => {\n console.log('init SDK has error: ', e);\n });\n }\n }, []);\n\n return (\n <div>\n <QuickBloxUIKitProvider\n maxFileSize={100 * 1000000}\n accountData={{ ...QBConfig.credentials }}\n loginData={{\n login: currentUser.login,\n password: currentUser.password,\n }}\n >\n <div className=\"App\">\n {\n // React states indicating the ability to render UI\n isSDKInitialized && isUserAuthorized ? (\n <QuickBloxUIKitDesktopLayout />\n ) : (\n <div>wait while SDK is initializing...</div>\n )\n }\n </div>\n </QuickBloxUIKitProvider>\n </div>\n );\n}\n\nexport default App;\n"})}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:"You should run the application using the command:"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.pre,{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{className:"language-bash",children:"npm start\n"})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={...(0,_Users_artemkoltunov_Desktop_02_react_ui_kit_private_copy_node_modules_storybook_addon_docs_dist_shims_mdx_react_shim_mjs__WEBPACK_IMPORTED_MODULE_2__.R)(),...props.components};return MDXLayout?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(MDXLayout,{...props,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_createMdxContent,{...props})}):_createMdxContent(props)}}}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunkquickblox_react_ui_kit=self.webpackChunkquickblox_react_ui_kit||[]).push([[234],{"./node_modules/@mdx-js/react/lib/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{R:()=>useMDXComponents,x:()=>MDXProvider});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js");const emptyComponents={},MDXContext=react__WEBPACK_IMPORTED_MODULE_0__.createContext(emptyComponents);function useMDXComponents(components){const contextComponents=react__WEBPACK_IMPORTED_MODULE_0__.useContext(MDXContext);return react__WEBPACK_IMPORTED_MODULE_0__.useMemo((function(){return"function"==typeof components?components(contextComponents):{...contextComponents,...components}}),[contextComponents,components])}function MDXProvider(properties){let allComponents;return allComponents=properties.disableParentContext?"function"==typeof properties.components?properties.components(emptyComponents):properties.components||emptyComponents:useMDXComponents(properties.components),react__WEBPACK_IMPORTED_MODULE_0__.createElement(MDXContext.Provider,{value:allComponents},properties.children)}},"./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},"./src/docs/Styling.mdx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>MDXContent});__webpack_require__("./node_modules/react/index.js");var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/react/jsx-runtime.js"),_Users_artemkoltunov_Desktop_02_react_ui_kit_private_copy_node_modules_storybook_addon_docs_dist_shims_mdx_react_shim_mjs__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/@mdx-js/react/lib/index.js"),_storybook_blocks__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/@storybook/blocks/dist/index.mjs");function _createMdxContent(props){const _components={a:"a",code:"code",h1:"h1",h2:"h2",img:"img",li:"li",p:"p",pre:"pre",ul:"ul",...(0,_Users_artemkoltunov_Desktop_02_react_ui_kit_private_copy_node_modules_storybook_addon_docs_dist_shims_mdx_react_shim_mjs__WEBPACK_IMPORTED_MODULE_2__.R)(),...props.components};return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.Fragment,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_storybook_blocks__WEBPACK_IMPORTED_MODULE_3__.W8,{title:"📕 Documentation/Styling"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h1,{id:"customization",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.a,{href:"https://docs.quickblox.com/docs/react-uikit-customization",rel:"nofollow",children:"Customization"})}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:"The QuickBlox UIKit for React allows you to create your own unique view of the UIKit."}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h2,{id:"default-themes",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.a,{href:"https://docs.quickblox.com/docs/react-uikit-customization#default-themes",rel:"nofollow",children:"Default themes"})}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:"The QuickBlox UIKit for React has 2 built in themes: Dark and Light."}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h2,{id:"color-theme",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.a,{href:"",children:"Color Theme"})}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.img,{src:"https://files.readme.io/393b8d6-ColorTheme.png",alt:"Image"})}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:"Default theme for UIKit is Light.\nTo set theme you need to set value 'dark' to key data-theme in global styles (html[data-theme=\"dark”]).\nFor example, you can use pure JavaScript:"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.pre,{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{className:"language-js",children:"document.documentElement.setAttribute('data-theme', 'dark');\n"})}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h2,{id:"use-your-own-theme",children:"Use your own theme"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:"There are two options how you can create your own theme:"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.ul,{children:["\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.li,{children:"Customize current theme using css"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.li,{children:"Create your own theme to customize selected components"}),"\n"]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:"To customize the current theme you just need to set the new colors in css variables."}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:"Or you can create your own theme. To do this you need to create a new class that implements the UiKitTheme interface."}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:"To use your own theme using css you need to create _theme_colors_scheme.scss and set colors"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.pre,{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{className:"language-scss",children:"$background-overlay-light: rgba(19, 29, 40, 0.8);\n$background-overlay-dark: rgba(144, 151, 159, 0.8);\n$primary-50: #e7efff;\n$primary-100: #c4d7fe;\n$primary-200: #9cbcfe;\n$primary-300: #74a1fd;\n$primary-400: #578cfc;\n$primary-500: #3978fc;\n$primary-600: #3370fc;\n$primary-700: #2c65fb;\n$primary-800: #245bfb;\n$primary-900: #1748fa;\n$primary-a-100: #ffffff;\n$primary-a-200: #f7f9ff;\n$primary-a-400: #c4cfff;\n$primary-a-700: #abbaff;\n$secondary-50: #e4e6e8;\n$secondary-100: #bcc1c5;\n$secondary-200: #90979f;\n$secondary-300: #636d78;\n$secondary-400: #414e5b;\n$secondary-500: #202f3e;\n$secondary-600: #1c2a38;\n$secondary-700: #182330;\n$secondary-800: #131d28;\n$secondary-900: #0b121b;\n$secondary-a-100: #74a1fd;\n$secondary-a-200: #3978fc;\n$secondary-a-400: #245bfb;\n$secondary-a-700: #0050dc;\n$system-green-100: #c8f1d6;\n$system-green-200: #a4e7bb;\n$system-green-300: #80dda0;\n$system-green-400: #64d68b;\n$system-green-500: #49cf77;\n$error-100: #ffc4c1;\n$error-200: #ff9d98;\n$error-300: #ff766e;\n$error-400: #ff584f;\n$error-500: #ff3b30;\n$information: #fdb0ff;\n$highlight: #fffdc1;\n"})}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:"To use your own new theme colors create _theme_dark.scss and _theme_light.scss files and set color variable."}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.pre,{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{className:"language-scss",children:"// _theme_dark.scss:\n\nhtml[data-theme='dark'] {\n --color-background-info: #{$primary-500};\n --tertiary-elements: #{$background-overlay-dark};\n --main-elements: #{$primary-300};\n --secondary-elements: #{$primary-a-100};\n --input-elements: #{$secondary-200};\n --disabled-elements: #{$secondary-300};\n --field-border: #{$secondary-200};\n --main-text: #{$primary-a-100};\n --secondary-text: #{$secondary-200};\n --caption: #{$secondary-100};\n --main-background: #{$secondary-500};\n --secondary-background: #{$secondary-800};\n --incoming-background: #{$secondary-400};\n --outgoing-background: #{$primary-500};\n --dropdown-background: #{$secondary-400};\n --chat-input: #{$secondary-800};\n --divider: #{$secondary-400};\n --error: #{$error-300};\n --hightlight: #{$highlight};\n}\n\n// _theme_light.scss:\n:root {\n --color-background-info: #{$primary-100};\n --tertiary-elements: #{$secondary-300};\n --main-elements: #{$primary-500};\n --secondary-elements: #{$secondary-500};\n --input-elements: #{$secondary-500};\n --disabled-elements: #{$secondary-100};\n --field-border: #{$secondary-200};\n --main-text: #{$secondary-900};\n --secondary-text: #{$secondary-300};\n --caption: #{$secondary-200};\n --main-background: #{$primary-a-100};\n --secondary-background: #{$primary-a-100};\n --secondary-background-modal: #{$background-overlay-light};\n --incoming-background: #{$secondary-50};\n --outgoing-background: #{$primary-50};\n --dropdown-background: #{$primary-a-100};\n --chat-input: #{$primary-a-200};\n --divider: #{$primary-50};\n --error: #{$error-500};\n --hightlight: #{$highlight};\n}\n"})}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:"To create your own theme to customize selected components you need to create a new class that implements the UiKitTheme interface."}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.pre,{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{className:"language-ts",children:"//DefaultTheme implements UiKitTheme\nexport default class CustomTheme extends DefaultTheme {\n divider = (): string => 'var(--divider)';\n mainText = (): string => '#FFFFFF';\n fontFamily = (): string => 'Roboto';\n /*\n The DefaultTheme contains other theme methods :\n caption = (): string => 'var(--caption)';\n chatInput = (): string => 'var(--chat-input)';\n disabledElements = (): string => 'var(--disabled-elements)';\n dropdownBackground = (): string => 'var(--dropdown-background)';\n error = (): string => 'var(--error)';\n fieldBorder = (): string => 'var(--field-border)';\n hightlight = (): string => 'var(--hightlight)';\n incomingBackground = (): string => 'var(--incoming-background)';\n inputElements = (): string => 'var(--input-elements)';\n mainBackground = (): string => 'var(--main-background)';\n mainElements = (): string => 'var(--main-elements)';\n outgoingBackground = (): string => 'var(--outgoing-background)';\n secondaryBackground = (): string => 'var(--secondary-background)';\n secondaryElements = (): string => 'var(--secondary-elements)';\n secondaryText = (): string => 'var(--secondary-text)';\n */\n}\n"})}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:"and specify selected components:"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.ul,{children:["\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.li,{children:"desktop layout container"}),"\n"]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.pre,{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{className:"language-ts",children:"<QuickBloxUIKitDesktopLayout theme={new CustomTheme()}>\n"})}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h1,{id:"custom-styling",children:"Custom styling"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:"We have developed our components with the ability to be customized to individual needs, so each component accepts a prop called className, allowing the user to apply their own styles to the component."}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.pre,{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{className:"language-ts",children:"import { Button } from '../../ui-components';\nimport './style.scss';\n\n<Button className=\"button\">Button</Button>;\n"})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={...(0,_Users_artemkoltunov_Desktop_02_react_ui_kit_private_copy_node_modules_storybook_addon_docs_dist_shims_mdx_react_shim_mjs__WEBPACK_IMPORTED_MODULE_2__.R)(),...props.components};return MDXLayout?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(MDXLayout,{...props,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_createMdxContent,{...props})}):_createMdxContent(props)}}}]);
@@ -504,8 +504,8 @@
504
504
  window['TAGS_OPTIONS'] = {"dev-only":{"excludeFromDocsStories":true},"docs-only":{"excludeFromSidebar":true},"test-only":{"excludeFromSidebar":true,"excludeFromDocsStories":true}};</script><script type="module">import './sb-preview/runtime.js';
505
505
 
506
506
 
507
- import './runtime~main.940703c6.iframe.bundle.js';
507
+ import './runtime~main.ebabbef9.iframe.bundle.js';
508
508
 
509
- import './217.07d5c7a3.iframe.bundle.js';
509
+ import './217.f067a49f.iframe.bundle.js';
510
510
 
511
511
  import './main.59f682e8.iframe.bundle.js';</script></body></html>
@@ -1 +1 @@
1
- {"generatedAt":1747197322022,"hasCustomBabel":false,"hasCustomWebpack":true,"hasStaticDirs":false,"hasStorybookEslint":true,"refCount":0,"testPackages":{"@testing-library/jest-dom":"6.6.3","@testing-library/react":"16.3.0","@testing-library/user-event":null,"@types/jest":"27.5.2"},"hasRouterPackage":true,"packageManager":{"type":"npm","agent":"npm"},"preview":{"usesGlobals":false},"framework":{"name":"@storybook/react-webpack5","options":{}},"builder":"@storybook/builder-webpack5","renderer":"@storybook/react","portableStoriesFileCount":0,"applicationFileCount":2,"storybookVersion":"8.6.12","storybookVersionSpecifier":"^8.5.8","language":"typescript","storybookPackages":{"@storybook/blocks":{"version":"8.6.12"},"@storybook/react":{"version":"8.6.12"},"@storybook/react-webpack5":{"version":"8.6.12"},"@storybook/test":{"version":"8.6.12"},"eslint-plugin-storybook":{"version":"0.11.6"},"storybook":{"version":"8.6.12"}},"addons":{"@storybook/addon-webpack5-compiler-swc":{"version":"2.1.0"},"@storybook/addon-onboarding":{"version":"8.6.12"},"@storybook/addon-essentials":{"version":"8.6.12"},"@chromatic-com/storybook":{"version":"3.2.6"},"@storybook/addon-interactions":{"version":"8.6.12"}}}
1
+ {"generatedAt":1747813364089,"userSince":1747813360560,"hasCustomBabel":false,"hasCustomWebpack":true,"hasStaticDirs":false,"hasStorybookEslint":true,"refCount":0,"testPackages":{"@testing-library/jest-dom":"6.6.3","@testing-library/react":"16.3.0","@testing-library/user-event":null,"@types/jest":"27.5.2"},"hasRouterPackage":true,"packageManager":{"type":"npm","agent":"npm"},"preview":{"usesGlobals":false},"framework":{"name":"@storybook/react-webpack5","options":{}},"builder":"@storybook/builder-webpack5","renderer":"@storybook/react","portableStoriesFileCount":0,"applicationFileCount":2,"storybookVersion":"8.6.14","storybookVersionSpecifier":"^8.5.8","language":"typescript","storybookPackages":{"@storybook/blocks":{"version":"8.6.14"},"@storybook/react":{"version":"8.6.14"},"@storybook/react-webpack5":{"version":"8.6.14"},"@storybook/test":{"version":"8.6.14"},"eslint-plugin-storybook":{"version":"0.11.6"},"storybook":{"version":"8.6.14"}},"addons":{"@storybook/addon-webpack5-compiler-swc":{"version":"2.1.0"},"@storybook/addon-onboarding":{"version":"8.6.14"},"@storybook/addon-essentials":{"version":"8.6.14"},"@chromatic-com/storybook":{"version":"3.2.6"},"@storybook/addon-interactions":{"version":"8.6.14"}}}
@@ -1 +1 @@
1
- (()=>{"use strict";var deferred,leafPrototypes,getProto,inProgress,__webpack_modules__={},__webpack_module_cache__={};function __webpack_require__(moduleId){var cachedModule=__webpack_module_cache__[moduleId];if(void 0!==cachedModule)return cachedModule.exports;var module=__webpack_module_cache__[moduleId]={id:moduleId,loaded:!1,exports:{}};return __webpack_modules__[moduleId].call(module.exports,module,module.exports,__webpack_require__),module.loaded=!0,module.exports}__webpack_require__.m=__webpack_modules__,__webpack_require__.amdO={},deferred=[],__webpack_require__.O=(result,chunkIds,fn,priority)=>{if(!chunkIds){var notFulfilled=1/0;for(i=0;i<deferred.length;i++){chunkIds=deferred[i][0],fn=deferred[i][1],priority=deferred[i][2];for(var fulfilled=!0,j=0;j<chunkIds.length;j++)(!1&priority||notFulfilled>=priority)&&Object.keys(__webpack_require__.O).every((key=>__webpack_require__.O[key](chunkIds[j])))?chunkIds.splice(j--,1):(fulfilled=!1,priority<notFulfilled&&(notFulfilled=priority));if(fulfilled){deferred.splice(i--,1);var r=fn();void 0!==r&&(result=r)}}return result}priority=priority||0;for(var i=deferred.length;i>0&&deferred[i-1][2]>priority;i--)deferred[i]=deferred[i-1];deferred[i]=[chunkIds,fn,priority]},__webpack_require__.n=module=>{var getter=module&&module.__esModule?()=>module.default:()=>module;return __webpack_require__.d(getter,{a:getter}),getter},getProto=Object.getPrototypeOf?obj=>Object.getPrototypeOf(obj):obj=>obj.__proto__,__webpack_require__.t=function(value,mode){if(1&mode&&(value=this(value)),8&mode)return value;if("object"==typeof value&&value){if(4&mode&&value.__esModule)return value;if(16&mode&&"function"==typeof value.then)return value}var ns=Object.create(null);__webpack_require__.r(ns);var def={};leafPrototypes=leafPrototypes||[null,getProto({}),getProto([]),getProto(getProto)];for(var current=2&mode&&value;"object"==typeof current&&!~leafPrototypes.indexOf(current);current=getProto(current))Object.getOwnPropertyNames(current).forEach((key=>def[key]=()=>value[key]));return def.default=()=>value,__webpack_require__.d(ns,def),ns},__webpack_require__.d=(exports,definition)=>{for(var key in definition)__webpack_require__.o(definition,key)&&!__webpack_require__.o(exports,key)&&Object.defineProperty(exports,key,{enumerable:!0,get:definition[key]})},__webpack_require__.f={},__webpack_require__.e=chunkId=>Promise.all(Object.keys(__webpack_require__.f).reduce(((promises,key)=>(__webpack_require__.f[key](chunkId,promises),promises)),[])),__webpack_require__.u=chunkId=>(({43:"Presentation-ui-components-Loader-Loader-stories",47:"Presentation-ui-components-Toast-Toast-stories",107:"Presentation-ui-components-Dropdown-Dropdown-stories",117:"Presentation-ui-components-MessageSeparator-MessageSeparator-stories",155:"Presentation-ui-components-Avatar-avatar-stories",234:"docs-Styling-mdx",275:"Presentation-ui-components-DialogItemPreview-DialogItemPreview-stories",349:"Presentation-ui-components-Button-Button-stories",395:"Presentation-ui-components-Header-Header-stories",409:"Presentation-ui-components-DialogWindow-DialogWindow-stories",485:"docs-Introduction-mdx",491:"Presentation-ui-components-MessageInput-MessageInput-stories",515:"Presentation-ui-components-Message-Message-stories",555:"Presentation-ui-components-TextField-TextField-stories",585:"Presentation-ui-components-UserListItem-UserListItem-stories",723:"Presentation-ui-components-Placeholder-Placeholder-stories",731:"Presentation-ui-components-PreviewFileMessage-PreviewFileMessage-stories",751:"Presentation-ui-components-Badge-Badge-stories",801:"Presentation-ui-components-DialogBanner-DialogBanner-stories",853:"Presentation-ui-components-SettingsItem-SettingsItem-stories"}[chunkId]||chunkId)+"."+{43:"4e80520d",47:"4f00432b",107:"a03feb06",117:"b927d1e1",155:"a5ba7608",161:"53da4e03",167:"88fc69a9",234:"9f4235f1",275:"b6998344",294:"b81cdbca",349:"fa2aa72c",363:"a2d33b79",364:"988cd801",395:"978f0af5",409:"a724643f",485:"5addfa61",488:"3cd3942e",491:"9b4b2514",515:"213a90f6",555:"969cfe2e",559:"9e64a6f5",585:"1713eab7",723:"34dfadb1",731:"9b4eff15",735:"6ee62079",751:"c8824861",801:"cd797979",844:"e8bfd664",853:"e7f5a274",936:"8546c1d8",961:"d47fc2bc"}[chunkId]+".iframe.bundle.js"),__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__webpack_require__.hmd=module=>((module=Object.create(module)).children||(module.children=[]),Object.defineProperty(module,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+module.id)}}),module),__webpack_require__.o=(obj,prop)=>Object.prototype.hasOwnProperty.call(obj,prop),inProgress={},__webpack_require__.l=(url,done,key,chunkId)=>{if(inProgress[url])inProgress[url].push(done);else{var script,needAttach;if(void 0!==key)for(var scripts=document.getElementsByTagName("script"),i=0;i<scripts.length;i++){var s=scripts[i];if(s.getAttribute("src")==url||s.getAttribute("data-webpack")=="quickblox-react-ui-kit:"+key){script=s;break}}script||(needAttach=!0,(script=document.createElement("script")).charset="utf-8",script.timeout=120,__webpack_require__.nc&&script.setAttribute("nonce",__webpack_require__.nc),script.setAttribute("data-webpack","quickblox-react-ui-kit:"+key),script.src=url),inProgress[url]=[done];var onScriptComplete=(prev,event)=>{script.onerror=script.onload=null,clearTimeout(timeout);var doneFns=inProgress[url];if(delete inProgress[url],script.parentNode&&script.parentNode.removeChild(script),doneFns&&doneFns.forEach((fn=>fn(event))),prev)return prev(event)},timeout=setTimeout(onScriptComplete.bind(null,void 0,{type:"timeout",target:script}),12e4);script.onerror=onScriptComplete.bind(null,script.onerror),script.onload=onScriptComplete.bind(null,script.onload),needAttach&&document.head.appendChild(script)}},__webpack_require__.r=exports=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(exports,"__esModule",{value:!0})},__webpack_require__.p="",(()=>{var installedChunks={354:0};__webpack_require__.f.j=(chunkId,promises)=>{var installedChunkData=__webpack_require__.o(installedChunks,chunkId)?installedChunks[chunkId]:void 0;if(0!==installedChunkData)if(installedChunkData)promises.push(installedChunkData[2]);else if(354!=chunkId){var promise=new Promise(((resolve,reject)=>installedChunkData=installedChunks[chunkId]=[resolve,reject]));promises.push(installedChunkData[2]=promise);var url=__webpack_require__.p+__webpack_require__.u(chunkId),error=new Error;__webpack_require__.l(url,(event=>{if(__webpack_require__.o(installedChunks,chunkId)&&(0!==(installedChunkData=installedChunks[chunkId])&&(installedChunks[chunkId]=void 0),installedChunkData)){var errorType=event&&("load"===event.type?"missing":event.type),realSrc=event&&event.target&&event.target.src;error.message="Loading chunk "+chunkId+" failed.\n("+errorType+": "+realSrc+")",error.name="ChunkLoadError",error.type=errorType,error.request=realSrc,installedChunkData[1](error)}}),"chunk-"+chunkId,chunkId)}else installedChunks[chunkId]=0},__webpack_require__.O.j=chunkId=>0===installedChunks[chunkId];var webpackJsonpCallback=(parentChunkLoadingFunction,data)=>{var moduleId,chunkId,chunkIds=data[0],moreModules=data[1],runtime=data[2],i=0;if(chunkIds.some((id=>0!==installedChunks[id]))){for(moduleId in moreModules)__webpack_require__.o(moreModules,moduleId)&&(__webpack_require__.m[moduleId]=moreModules[moduleId]);if(runtime)var result=runtime(__webpack_require__)}for(parentChunkLoadingFunction&&parentChunkLoadingFunction(data);i<chunkIds.length;i++)chunkId=chunkIds[i],__webpack_require__.o(installedChunks,chunkId)&&installedChunks[chunkId]&&installedChunks[chunkId][0](),installedChunks[chunkId]=0;return __webpack_require__.O(result)},chunkLoadingGlobal=self.webpackChunkquickblox_react_ui_kit=self.webpackChunkquickblox_react_ui_kit||[];chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null,0)),chunkLoadingGlobal.push=webpackJsonpCallback.bind(null,chunkLoadingGlobal.push.bind(chunkLoadingGlobal))})(),__webpack_require__.nc=void 0})();
1
+ (()=>{"use strict";var deferred,leafPrototypes,getProto,inProgress,__webpack_modules__={},__webpack_module_cache__={};function __webpack_require__(moduleId){var cachedModule=__webpack_module_cache__[moduleId];if(void 0!==cachedModule)return cachedModule.exports;var module=__webpack_module_cache__[moduleId]={id:moduleId,loaded:!1,exports:{}};return __webpack_modules__[moduleId].call(module.exports,module,module.exports,__webpack_require__),module.loaded=!0,module.exports}__webpack_require__.m=__webpack_modules__,__webpack_require__.amdO={},deferred=[],__webpack_require__.O=(result,chunkIds,fn,priority)=>{if(!chunkIds){var notFulfilled=1/0;for(i=0;i<deferred.length;i++){chunkIds=deferred[i][0],fn=deferred[i][1],priority=deferred[i][2];for(var fulfilled=!0,j=0;j<chunkIds.length;j++)(!1&priority||notFulfilled>=priority)&&Object.keys(__webpack_require__.O).every((key=>__webpack_require__.O[key](chunkIds[j])))?chunkIds.splice(j--,1):(fulfilled=!1,priority<notFulfilled&&(notFulfilled=priority));if(fulfilled){deferred.splice(i--,1);var r=fn();void 0!==r&&(result=r)}}return result}priority=priority||0;for(var i=deferred.length;i>0&&deferred[i-1][2]>priority;i--)deferred[i]=deferred[i-1];deferred[i]=[chunkIds,fn,priority]},__webpack_require__.n=module=>{var getter=module&&module.__esModule?()=>module.default:()=>module;return __webpack_require__.d(getter,{a:getter}),getter},getProto=Object.getPrototypeOf?obj=>Object.getPrototypeOf(obj):obj=>obj.__proto__,__webpack_require__.t=function(value,mode){if(1&mode&&(value=this(value)),8&mode)return value;if("object"==typeof value&&value){if(4&mode&&value.__esModule)return value;if(16&mode&&"function"==typeof value.then)return value}var ns=Object.create(null);__webpack_require__.r(ns);var def={};leafPrototypes=leafPrototypes||[null,getProto({}),getProto([]),getProto(getProto)];for(var current=2&mode&&value;"object"==typeof current&&!~leafPrototypes.indexOf(current);current=getProto(current))Object.getOwnPropertyNames(current).forEach((key=>def[key]=()=>value[key]));return def.default=()=>value,__webpack_require__.d(ns,def),ns},__webpack_require__.d=(exports,definition)=>{for(var key in definition)__webpack_require__.o(definition,key)&&!__webpack_require__.o(exports,key)&&Object.defineProperty(exports,key,{enumerable:!0,get:definition[key]})},__webpack_require__.f={},__webpack_require__.e=chunkId=>Promise.all(Object.keys(__webpack_require__.f).reduce(((promises,key)=>(__webpack_require__.f[key](chunkId,promises),promises)),[])),__webpack_require__.u=chunkId=>(({43:"Presentation-ui-components-Loader-Loader-stories",47:"Presentation-ui-components-Toast-Toast-stories",107:"Presentation-ui-components-Dropdown-Dropdown-stories",117:"Presentation-ui-components-MessageSeparator-MessageSeparator-stories",155:"Presentation-ui-components-Avatar-avatar-stories",234:"docs-Styling-mdx",275:"Presentation-ui-components-DialogItemPreview-DialogItemPreview-stories",349:"Presentation-ui-components-Button-Button-stories",395:"Presentation-ui-components-Header-Header-stories",409:"Presentation-ui-components-DialogWindow-DialogWindow-stories",485:"docs-Introduction-mdx",491:"Presentation-ui-components-MessageInput-MessageInput-stories",515:"Presentation-ui-components-Message-Message-stories",555:"Presentation-ui-components-TextField-TextField-stories",585:"Presentation-ui-components-UserListItem-UserListItem-stories",723:"Presentation-ui-components-Placeholder-Placeholder-stories",731:"Presentation-ui-components-PreviewFileMessage-PreviewFileMessage-stories",751:"Presentation-ui-components-Badge-Badge-stories",801:"Presentation-ui-components-DialogBanner-DialogBanner-stories",853:"Presentation-ui-components-SettingsItem-SettingsItem-stories"}[chunkId]||chunkId)+"."+{43:"4e80520d",47:"4f00432b",107:"a03feb06",117:"b927d1e1",155:"a5ba7608",161:"53da4e03",167:"88fc69a9",234:"3a86be03",275:"b6998344",294:"b81cdbca",349:"fa2aa72c",363:"f6fcc1b9",364:"988cd801",395:"a4edfcc6",409:"46997cb0",485:"46ed11c4",488:"3cd3942e",491:"2af0de55",515:"213a90f6",555:"969cfe2e",559:"9e64a6f5",585:"1713eab7",723:"34dfadb1",731:"9b4eff15",735:"6ee62079",751:"c8824861",801:"cd797979",844:"be4346f2",853:"e7f5a274",936:"8546c1d8",961:"d47fc2bc"}[chunkId]+".iframe.bundle.js"),__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__webpack_require__.hmd=module=>((module=Object.create(module)).children||(module.children=[]),Object.defineProperty(module,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+module.id)}}),module),__webpack_require__.o=(obj,prop)=>Object.prototype.hasOwnProperty.call(obj,prop),inProgress={},__webpack_require__.l=(url,done,key,chunkId)=>{if(inProgress[url])inProgress[url].push(done);else{var script,needAttach;if(void 0!==key)for(var scripts=document.getElementsByTagName("script"),i=0;i<scripts.length;i++){var s=scripts[i];if(s.getAttribute("src")==url||s.getAttribute("data-webpack")=="quickblox-react-ui-kit:"+key){script=s;break}}script||(needAttach=!0,(script=document.createElement("script")).charset="utf-8",script.timeout=120,__webpack_require__.nc&&script.setAttribute("nonce",__webpack_require__.nc),script.setAttribute("data-webpack","quickblox-react-ui-kit:"+key),script.src=url),inProgress[url]=[done];var onScriptComplete=(prev,event)=>{script.onerror=script.onload=null,clearTimeout(timeout);var doneFns=inProgress[url];if(delete inProgress[url],script.parentNode&&script.parentNode.removeChild(script),doneFns&&doneFns.forEach((fn=>fn(event))),prev)return prev(event)},timeout=setTimeout(onScriptComplete.bind(null,void 0,{type:"timeout",target:script}),12e4);script.onerror=onScriptComplete.bind(null,script.onerror),script.onload=onScriptComplete.bind(null,script.onload),needAttach&&document.head.appendChild(script)}},__webpack_require__.r=exports=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(exports,"__esModule",{value:!0})},__webpack_require__.p="",(()=>{var installedChunks={354:0};__webpack_require__.f.j=(chunkId,promises)=>{var installedChunkData=__webpack_require__.o(installedChunks,chunkId)?installedChunks[chunkId]:void 0;if(0!==installedChunkData)if(installedChunkData)promises.push(installedChunkData[2]);else if(354!=chunkId){var promise=new Promise(((resolve,reject)=>installedChunkData=installedChunks[chunkId]=[resolve,reject]));promises.push(installedChunkData[2]=promise);var url=__webpack_require__.p+__webpack_require__.u(chunkId),error=new Error;__webpack_require__.l(url,(event=>{if(__webpack_require__.o(installedChunks,chunkId)&&(0!==(installedChunkData=installedChunks[chunkId])&&(installedChunks[chunkId]=void 0),installedChunkData)){var errorType=event&&("load"===event.type?"missing":event.type),realSrc=event&&event.target&&event.target.src;error.message="Loading chunk "+chunkId+" failed.\n("+errorType+": "+realSrc+")",error.name="ChunkLoadError",error.type=errorType,error.request=realSrc,installedChunkData[1](error)}}),"chunk-"+chunkId,chunkId)}else installedChunks[chunkId]=0},__webpack_require__.O.j=chunkId=>0===installedChunks[chunkId];var webpackJsonpCallback=(parentChunkLoadingFunction,data)=>{var moduleId,chunkId,chunkIds=data[0],moreModules=data[1],runtime=data[2],i=0;if(chunkIds.some((id=>0!==installedChunks[id]))){for(moduleId in moreModules)__webpack_require__.o(moreModules,moduleId)&&(__webpack_require__.m[moduleId]=moreModules[moduleId]);if(runtime)var result=runtime(__webpack_require__)}for(parentChunkLoadingFunction&&parentChunkLoadingFunction(data);i<chunkIds.length;i++)chunkId=chunkIds[i],__webpack_require__.o(installedChunks,chunkId)&&installedChunks[chunkId]&&installedChunks[chunkId][0](),installedChunks[chunkId]=0;return __webpack_require__.O(result)},chunkLoadingGlobal=self.webpackChunkquickblox_react_ui_kit=self.webpackChunkquickblox_react_ui_kit||[];chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null,0)),chunkLoadingGlobal.push=webpackJsonpCallback.bind(null,chunkLoadingGlobal.push.bind(chunkLoadingGlobal))})(),__webpack_require__.nc=void 0})();
@@ -1,5 +1,5 @@
1
1
  try{
2
- (()=>{var re=Object.create;var W=Object.defineProperty;var ie=Object.getOwnPropertyDescriptor;var ae=Object.getOwnPropertyNames;var ce=Object.getPrototypeOf,le=Object.prototype.hasOwnProperty;var E=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(o,c)=>(typeof require<"u"?require:o)[c]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var M=(e,o)=>()=>(e&&(o=e(e=0)),o);var se=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports);var ue=(e,o,c,r)=>{if(o&&typeof o=="object"||typeof o=="function")for(let i of ae(o))!le.call(e,i)&&i!==c&&W(e,i,{get:()=>o[i],enumerable:!(r=ie(o,i))||r.enumerable});return e};var Ie=(e,o,c)=>(c=e!=null?re(ce(e)):{},ue(o||!e||!e.__esModule?W(c,"default",{value:e,enumerable:!0}):c,e));var p=M(()=>{});var h=M(()=>{});var f=M(()=>{});var X=se((Q,V)=>{p();h();f();(function(e){if(typeof Q=="object"&&typeof V<"u")V.exports=e();else if(typeof define=="function"&&define.amd)define([],e);else{var o;typeof window<"u"||typeof window<"u"?o=window:typeof self<"u"?o=self:o=this,o.memoizerific=e()}})(function(){var e,o,c;return function r(i,d,l){function t(a,I){if(!d[a]){if(!i[a]){var s=typeof E=="function"&&E;if(!I&&s)return s(a,!0);if(n)return n(a,!0);var S=new Error("Cannot find module '"+a+"'");throw S.code="MODULE_NOT_FOUND",S}var m=d[a]={exports:{}};i[a][0].call(m.exports,function(b){var C=i[a][1][b];return t(C||b)},m,m.exports,r,i,d,l)}return d[a].exports}for(var n=typeof E=="function"&&E,u=0;u<l.length;u++)t(l[u]);return t}({1:[function(r,i,d){i.exports=function(l){if(typeof Map!="function"||l){var t=r("./similar");return new t}else return new Map}},{"./similar":2}],2:[function(r,i,d){function l(){return this.list=[],this.lastItem=void 0,this.size=0,this}l.prototype.get=function(t){var n;if(this.lastItem&&this.isEqual(this.lastItem.key,t))return this.lastItem.val;if(n=this.indexOf(t),n>=0)return this.lastItem=this.list[n],this.list[n].val},l.prototype.set=function(t,n){var u;return this.lastItem&&this.isEqual(this.lastItem.key,t)?(this.lastItem.val=n,this):(u=this.indexOf(t),u>=0?(this.lastItem=this.list[u],this.list[u].val=n,this):(this.lastItem={key:t,val:n},this.list.push(this.lastItem),this.size++,this))},l.prototype.delete=function(t){var n;if(this.lastItem&&this.isEqual(this.lastItem.key,t)&&(this.lastItem=void 0),n=this.indexOf(t),n>=0)return this.size--,this.list.splice(n,1)[0]},l.prototype.has=function(t){var n;return this.lastItem&&this.isEqual(this.lastItem.key,t)?!0:(n=this.indexOf(t),n>=0?(this.lastItem=this.list[n],!0):!1)},l.prototype.forEach=function(t,n){var u;for(u=0;u<this.size;u++)t.call(n||this,this.list[u].val,this.list[u].key,this)},l.prototype.indexOf=function(t){var n;for(n=0;n<this.size;n++)if(this.isEqual(this.list[n].key,t))return n;return-1},l.prototype.isEqual=function(t,n){return t===n||t!==t&&n!==n},i.exports=l},{}],3:[function(r,i,d){var l=r("map-or-similar");i.exports=function(a){var I=new l(!1),s=[];return function(S){var m=function(){var b=I,C,R,T=arguments.length-1,x=Array(T+1),O=!0,A;if((m.numArgs||m.numArgs===0)&&m.numArgs!==T+1)throw new Error("Memoizerific functions should always be called with the same number of arguments");for(A=0;A<T;A++){if(x[A]={cacheItem:b,arg:arguments[A]},b.has(arguments[A])){b=b.get(arguments[A]);continue}O=!1,C=new l(!1),b.set(arguments[A],C),b=C}return O&&(b.has(arguments[T])?R=b.get(arguments[T]):O=!1),O||(R=S.apply(null,arguments),b.set(arguments[T],R)),a>0&&(x[T]={cacheItem:b,arg:arguments[T]},O?t(s,x):s.push(x),s.length>a&&n(s.shift())),m.wasMemoized=O,m.numArgs=T+1,R};return m.limit=a,m.wasMemoized=!1,m.cache=I,m.lru=s,m}};function t(a,I){var s=a.length,S=I.length,m,b,C;for(b=0;b<s;b++){for(m=!0,C=0;C<S;C++)if(!u(a[b][C].arg,I[C].arg)){m=!1;break}if(m)break}a.push(a.splice(b,1)[0])}function n(a){var I=a.length,s=a[I-1],S,m;for(s.cacheItem.delete(s.arg),m=I-2;m>=0&&(s=a[m],S=s.cacheItem.get(s.arg),!S||!S.size);m--)s.cacheItem.delete(s.arg)}function u(a,I){return a===I||a!==a&&I!==I}},{"map-or-similar":1}]},{},[3])(3)})});p();h();f();p();h();f();p();h();f();p();h();f();var g=__REACT__,{Children:Ee,Component:Be,Fragment:D,Profiler:we,PureComponent:Re,StrictMode:xe,Suspense:Le,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Pe,cloneElement:Me,createContext:De,createElement:Ge,createFactory:Ue,createRef:Ne,forwardRef:Fe,isValidElement:He,lazy:qe,memo:B,startTransition:ze,unstable_act:Ke,useCallback:G,useContext:Ve,useDebugValue:Ye,useDeferredValue:We,useEffect:je,useId:$e,useImperativeHandle:Ze,useInsertionEffect:Je,useLayoutEffect:Qe,useMemo:j,useReducer:Xe,useRef:eo,useState:U,useSyncExternalStore:oo,useTransition:no,version:to}=__REACT__;p();h();f();var lo=__STORYBOOK_API__,{ActiveTabs:so,Consumer:uo,ManagerContext:Io,Provider:mo,RequestResponseError:po,addons:N,combineParameters:ho,controlOrMetaKey:fo,controlOrMetaSymbol:go,eventMatchesShortcut:bo,eventToShortcut:So,experimental_MockUniversalStore:Co,experimental_UniversalStore:yo,experimental_requestResponse:ko,experimental_useUniversalStore:vo,isMacLike:_o,isShortcutTaken:To,keyToSymbol:Ao,merge:Oo,mockChannel:Eo,optionOrAltSymbol:Bo,shortcutMatchesShortcut:wo,shortcutToHumanString:Ro,types:$,useAddonState:xo,useArgTypes:Lo,useArgs:Po,useChannel:Mo,useGlobalTypes:Do,useGlobals:L,useParameter:P,useSharedState:Go,useStoryPrepared:Uo,useStorybookApi:No,useStorybookState:Fo}=__STORYBOOK_API__;p();h();f();var Vo=__STORYBOOK_COMPONENTS__,{A:Yo,ActionBar:Wo,AddonPanel:jo,Badge:$o,Bar:Zo,Blockquote:Jo,Button:Qo,ClipboardCode:Xo,Code:en,DL:on,Div:nn,DocumentWrapper:tn,EmptyTabContent:rn,ErrorFormatter:an,FlexBar:cn,Form:ln,H1:sn,H2:un,H3:In,H4:dn,H5:mn,H6:pn,HR:hn,IconButton:w,IconButtonSkeleton:fn,Icons:gn,Img:bn,LI:Sn,Link:Cn,ListItem:yn,Loader:kn,Modal:vn,OL:_n,P:Tn,Placeholder:An,Pre:On,ProgressSpinner:En,ResetWrapper:Bn,ScrollArea:wn,Separator:Rn,Spaced:xn,Span:Ln,StorybookIcon:Pn,StorybookLogo:Mn,Symbols:Dn,SyntaxHighlighter:Gn,TT:Un,TabBar:Nn,TabButton:Fn,TabWrapper:Hn,Table:qn,Tabs:zn,TabsState:Kn,TooltipLinkList:F,TooltipMessage:Vn,TooltipNote:Yn,UL:Wn,WithTooltip:H,WithTooltipPure:jn,Zoom:$n,codeCommon:Zn,components:Jn,createCopyToClipboardFunction:Qn,getStoryHref:Xn,icons:et,interleaveSeparators:ot,nameSpaceClassNames:nt,resetComponents:tt,withReset:rt}=__STORYBOOK_COMPONENTS__;p();h();f();var st=__STORYBOOK_ICONS__,{AccessibilityAltIcon:ut,AccessibilityIcon:It,AccessibilityIgnoredIcon:dt,AddIcon:mt,AdminIcon:pt,AlertAltIcon:ht,AlertIcon:ft,AlignLeftIcon:gt,AlignRightIcon:bt,AppleIcon:St,ArrowBottomLeftIcon:Ct,ArrowBottomRightIcon:yt,ArrowDownIcon:kt,ArrowLeftIcon:vt,ArrowRightIcon:_t,ArrowSolidDownIcon:Tt,ArrowSolidLeftIcon:At,ArrowSolidRightIcon:Ot,ArrowSolidUpIcon:Et,ArrowTopLeftIcon:Bt,ArrowTopRightIcon:wt,ArrowUpIcon:Rt,AzureDevOpsIcon:xt,BackIcon:Lt,BasketIcon:Pt,BatchAcceptIcon:Mt,BatchDenyIcon:Dt,BeakerIcon:Gt,BellIcon:Ut,BitbucketIcon:Nt,BoldIcon:Ft,BookIcon:Ht,BookmarkHollowIcon:qt,BookmarkIcon:zt,BottomBarIcon:Kt,BottomBarToggleIcon:Vt,BoxIcon:Yt,BranchIcon:Wt,BrowserIcon:jt,ButtonIcon:$t,CPUIcon:Zt,CalendarIcon:Jt,CameraIcon:Qt,CameraStabilizeIcon:Xt,CategoryIcon:er,CertificateIcon:or,ChangedIcon:nr,ChatIcon:tr,CheckIcon:rr,ChevronDownIcon:ir,ChevronLeftIcon:ar,ChevronRightIcon:cr,ChevronSmallDownIcon:lr,ChevronSmallLeftIcon:sr,ChevronSmallRightIcon:ur,ChevronSmallUpIcon:Ir,ChevronUpIcon:dr,ChromaticIcon:mr,ChromeIcon:pr,CircleHollowIcon:hr,CircleIcon:Z,ClearIcon:fr,CloseAltIcon:gr,CloseIcon:br,CloudHollowIcon:Sr,CloudIcon:Cr,CogIcon:yr,CollapseIcon:kr,CommandIcon:vr,CommentAddIcon:_r,CommentIcon:Tr,CommentsIcon:Ar,CommitIcon:Or,CompassIcon:Er,ComponentDrivenIcon:Br,ComponentIcon:wr,ContrastIcon:Rr,ContrastIgnoredIcon:xr,ControlsIcon:Lr,CopyIcon:Pr,CreditIcon:Mr,CrossIcon:Dr,DashboardIcon:Gr,DatabaseIcon:Ur,DeleteIcon:Nr,DiamondIcon:Fr,DirectionIcon:Hr,DiscordIcon:qr,DocChartIcon:zr,DocListIcon:Kr,DocumentIcon:Vr,DownloadIcon:Yr,DragIcon:Wr,EditIcon:jr,EllipsisIcon:$r,EmailIcon:Zr,ExpandAltIcon:Jr,ExpandIcon:Qr,EyeCloseIcon:Xr,EyeIcon:ei,FaceHappyIcon:oi,FaceNeutralIcon:ni,FaceSadIcon:ti,FacebookIcon:ri,FailedIcon:ii,FastForwardIcon:ai,FigmaIcon:ci,FilterIcon:li,FlagIcon:si,FolderIcon:ui,FormIcon:Ii,GDriveIcon:di,GithubIcon:mi,GitlabIcon:pi,GlobeIcon:hi,GoogleIcon:fi,GraphBarIcon:gi,GraphLineIcon:bi,GraphqlIcon:Si,GridAltIcon:Ci,GridIcon:q,GrowIcon:yi,HeartHollowIcon:ki,HeartIcon:vi,HomeIcon:_i,HourglassIcon:Ti,InfoIcon:Ai,ItalicIcon:Oi,JumpToIcon:Ei,KeyIcon:Bi,LightningIcon:wi,LightningOffIcon:Ri,LinkBrokenIcon:xi,LinkIcon:Li,LinkedinIcon:Pi,LinuxIcon:Mi,ListOrderedIcon:Di,ListUnorderedIcon:Gi,LocationIcon:Ui,LockIcon:Ni,MarkdownIcon:Fi,MarkupIcon:Hi,MediumIcon:qi,MemoryIcon:zi,MenuIcon:Ki,MergeIcon:Vi,MirrorIcon:Yi,MobileIcon:Wi,MoonIcon:ji,NutIcon:$i,OutboxIcon:Zi,OutlineIcon:Ji,PaintBrushIcon:Qi,PaperClipIcon:Xi,ParagraphIcon:ea,PassedIcon:oa,PhoneIcon:na,PhotoDragIcon:ta,PhotoIcon:z,PhotoStabilizeIcon:ra,PinAltIcon:ia,PinIcon:aa,PlayAllHollowIcon:ca,PlayBackIcon:la,PlayHollowIcon:sa,PlayIcon:ua,PlayNextIcon:Ia,PlusIcon:da,PointerDefaultIcon:ma,PointerHandIcon:pa,PowerIcon:ha,PrintIcon:fa,ProceedIcon:ga,ProfileIcon:ba,PullRequestIcon:Sa,QuestionIcon:Ca,RSSIcon:ya,RedirectIcon:ka,ReduxIcon:va,RefreshIcon:J,ReplyIcon:_a,RepoIcon:Ta,RequestChangeIcon:Aa,RewindIcon:Oa,RulerIcon:Ea,SaveIcon:Ba,SearchIcon:wa,ShareAltIcon:Ra,ShareIcon:xa,ShieldIcon:La,SideBySideIcon:Pa,SidebarAltIcon:Ma,SidebarAltToggleIcon:Da,SidebarIcon:Ga,SidebarToggleIcon:Ua,SpeakerIcon:Na,StackedIcon:Fa,StarHollowIcon:Ha,StarIcon:qa,StatusFailIcon:za,StatusIcon:Ka,StatusPassIcon:Va,StatusWarnIcon:Ya,StickerIcon:Wa,StopAltHollowIcon:ja,StopAltIcon:$a,StopIcon:Za,StorybookIcon:Ja,StructureIcon:Qa,SubtractIcon:Xa,SunIcon:ec,SupportIcon:oc,SwitchAltIcon:nc,SyncIcon:tc,TabletIcon:rc,ThumbsUpIcon:ic,TimeIcon:ac,TimerIcon:cc,TransferIcon:lc,TrashIcon:sc,TwitterIcon:uc,TypeIcon:Ic,UbuntuIcon:dc,UndoIcon:mc,UnfoldIcon:pc,UnlockIcon:hc,UnpinIcon:fc,UploadIcon:gc,UserAddIcon:bc,UserAltIcon:Sc,UserIcon:Cc,UsersIcon:yc,VSCodeIcon:kc,VerifiedIcon:vc,VideoIcon:_c,WandIcon:Tc,WatchIcon:Ac,WindowsIcon:Oc,WrenchIcon:Ec,XIcon:Bc,YoutubeIcon:wc,ZoomIcon:Rc,ZoomOutIcon:xc,ZoomResetIcon:Lc,iconList:Pc}=__STORYBOOK_ICONS__;p();h();f();var Nc=__STORYBOOK_CLIENT_LOGGER__,{deprecate:Fc,logger:K,once:Hc,pretty:qc}=__STORYBOOK_CLIENT_LOGGER__;var Y=Ie(X());p();h();f();var Jc=__STORYBOOK_THEMING__,{CacheProvider:Qc,ClassNames:Xc,Global:el,ThemeProvider:ol,background:nl,color:tl,convert:rl,create:il,createCache:al,createGlobal:cl,createReset:ll,css:sl,darken:ul,ensure:Il,ignoreSsrWarning:dl,isPropValid:ml,jsx:pl,keyframes:hl,lighten:fl,styled:ee,themes:gl,typography:bl,useTheme:Sl,withTheme:Cl}=__STORYBOOK_THEMING__;p();h();f();function oe(e){for(var o=[],c=1;c<arguments.length;c++)o[c-1]=arguments[c];var r=Array.from(typeof e=="string"?[e]:e);r[r.length-1]=r[r.length-1].replace(/\r?\n([\t ]*)$/,"");var i=r.reduce(function(t,n){var u=n.match(/\n([\t ]+|(?!\s).)/g);return u?t.concat(u.map(function(a){var I,s;return(s=(I=a.match(/[\t ]/g))===null||I===void 0?void 0:I.length)!==null&&s!==void 0?s:0})):t},[]);if(i.length){var d=new RegExp(`
2
+ (()=>{var re=Object.create;var W=Object.defineProperty;var ie=Object.getOwnPropertyDescriptor;var ae=Object.getOwnPropertyNames;var ce=Object.getPrototypeOf,le=Object.prototype.hasOwnProperty;var E=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(o,c)=>(typeof require<"u"?require:o)[c]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var M=(e,o)=>()=>(e&&(o=e(e=0)),o);var se=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports);var ue=(e,o,c,r)=>{if(o&&typeof o=="object"||typeof o=="function")for(let i of ae(o))!le.call(e,i)&&i!==c&&W(e,i,{get:()=>o[i],enumerable:!(r=ie(o,i))||r.enumerable});return e};var Ie=(e,o,c)=>(c=e!=null?re(ce(e)):{},ue(o||!e||!e.__esModule?W(c,"default",{value:e,enumerable:!0}):c,e));var p=M(()=>{});var h=M(()=>{});var f=M(()=>{});var X=se((Q,V)=>{p();h();f();(function(e){if(typeof Q=="object"&&typeof V<"u")V.exports=e();else if(typeof define=="function"&&define.amd)define([],e);else{var o;typeof window<"u"||typeof window<"u"?o=window:typeof self<"u"?o=self:o=this,o.memoizerific=e()}})(function(){var e,o,c;return function r(i,d,l){function t(a,I){if(!d[a]){if(!i[a]){var s=typeof E=="function"&&E;if(!I&&s)return s(a,!0);if(n)return n(a,!0);var S=new Error("Cannot find module '"+a+"'");throw S.code="MODULE_NOT_FOUND",S}var m=d[a]={exports:{}};i[a][0].call(m.exports,function(b){var C=i[a][1][b];return t(C||b)},m,m.exports,r,i,d,l)}return d[a].exports}for(var n=typeof E=="function"&&E,u=0;u<l.length;u++)t(l[u]);return t}({1:[function(r,i,d){i.exports=function(l){if(typeof Map!="function"||l){var t=r("./similar");return new t}else return new Map}},{"./similar":2}],2:[function(r,i,d){function l(){return this.list=[],this.lastItem=void 0,this.size=0,this}l.prototype.get=function(t){var n;if(this.lastItem&&this.isEqual(this.lastItem.key,t))return this.lastItem.val;if(n=this.indexOf(t),n>=0)return this.lastItem=this.list[n],this.list[n].val},l.prototype.set=function(t,n){var u;return this.lastItem&&this.isEqual(this.lastItem.key,t)?(this.lastItem.val=n,this):(u=this.indexOf(t),u>=0?(this.lastItem=this.list[u],this.list[u].val=n,this):(this.lastItem={key:t,val:n},this.list.push(this.lastItem),this.size++,this))},l.prototype.delete=function(t){var n;if(this.lastItem&&this.isEqual(this.lastItem.key,t)&&(this.lastItem=void 0),n=this.indexOf(t),n>=0)return this.size--,this.list.splice(n,1)[0]},l.prototype.has=function(t){var n;return this.lastItem&&this.isEqual(this.lastItem.key,t)?!0:(n=this.indexOf(t),n>=0?(this.lastItem=this.list[n],!0):!1)},l.prototype.forEach=function(t,n){var u;for(u=0;u<this.size;u++)t.call(n||this,this.list[u].val,this.list[u].key,this)},l.prototype.indexOf=function(t){var n;for(n=0;n<this.size;n++)if(this.isEqual(this.list[n].key,t))return n;return-1},l.prototype.isEqual=function(t,n){return t===n||t!==t&&n!==n},i.exports=l},{}],3:[function(r,i,d){var l=r("map-or-similar");i.exports=function(a){var I=new l(!1),s=[];return function(S){var m=function(){var b=I,C,R,T=arguments.length-1,x=Array(T+1),O=!0,A;if((m.numArgs||m.numArgs===0)&&m.numArgs!==T+1)throw new Error("Memoizerific functions should always be called with the same number of arguments");for(A=0;A<T;A++){if(x[A]={cacheItem:b,arg:arguments[A]},b.has(arguments[A])){b=b.get(arguments[A]);continue}O=!1,C=new l(!1),b.set(arguments[A],C),b=C}return O&&(b.has(arguments[T])?R=b.get(arguments[T]):O=!1),O||(R=S.apply(null,arguments),b.set(arguments[T],R)),a>0&&(x[T]={cacheItem:b,arg:arguments[T]},O?t(s,x):s.push(x),s.length>a&&n(s.shift())),m.wasMemoized=O,m.numArgs=T+1,R};return m.limit=a,m.wasMemoized=!1,m.cache=I,m.lru=s,m}};function t(a,I){var s=a.length,S=I.length,m,b,C;for(b=0;b<s;b++){for(m=!0,C=0;C<S;C++)if(!u(a[b][C].arg,I[C].arg)){m=!1;break}if(m)break}a.push(a.splice(b,1)[0])}function n(a){var I=a.length,s=a[I-1],S,m;for(s.cacheItem.delete(s.arg),m=I-2;m>=0&&(s=a[m],S=s.cacheItem.get(s.arg),!S||!S.size);m--)s.cacheItem.delete(s.arg)}function u(a,I){return a===I||a!==a&&I!==I}},{"map-or-similar":1}]},{},[3])(3)})});p();h();f();p();h();f();p();h();f();p();h();f();var g=__REACT__,{Children:Ee,Component:Be,Fragment:D,Profiler:we,PureComponent:Re,StrictMode:xe,Suspense:Le,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Pe,cloneElement:Me,createContext:De,createElement:Ge,createFactory:Ue,createRef:Ne,forwardRef:Fe,isValidElement:He,lazy:qe,memo:B,startTransition:ze,unstable_act:Ke,useCallback:G,useContext:Ve,useDebugValue:Ye,useDeferredValue:We,useEffect:je,useId:$e,useImperativeHandle:Ze,useInsertionEffect:Je,useLayoutEffect:Qe,useMemo:j,useReducer:Xe,useRef:eo,useState:U,useSyncExternalStore:oo,useTransition:no,version:to}=__REACT__;p();h();f();var lo=__STORYBOOK_API__,{ActiveTabs:so,Consumer:uo,ManagerContext:Io,Provider:mo,RequestResponseError:po,addons:N,combineParameters:ho,controlOrMetaKey:fo,controlOrMetaSymbol:go,eventMatchesShortcut:bo,eventToShortcut:So,experimental_MockUniversalStore:Co,experimental_UniversalStore:yo,experimental_requestResponse:ko,experimental_useUniversalStore:vo,isMacLike:_o,isShortcutTaken:To,keyToSymbol:Ao,merge:Oo,mockChannel:Eo,optionOrAltSymbol:Bo,shortcutMatchesShortcut:wo,shortcutToHumanString:Ro,types:$,useAddonState:xo,useArgTypes:Lo,useArgs:Po,useChannel:Mo,useGlobalTypes:Do,useGlobals:L,useParameter:P,useSharedState:Go,useStoryPrepared:Uo,useStorybookApi:No,useStorybookState:Fo}=__STORYBOOK_API__;p();h();f();var Vo=__STORYBOOK_COMPONENTS__,{A:Yo,ActionBar:Wo,AddonPanel:jo,Badge:$o,Bar:Zo,Blockquote:Jo,Button:Qo,ClipboardCode:Xo,Code:en,DL:on,Div:nn,DocumentWrapper:tn,EmptyTabContent:rn,ErrorFormatter:an,FlexBar:cn,Form:ln,H1:sn,H2:un,H3:In,H4:dn,H5:mn,H6:pn,HR:hn,IconButton:w,IconButtonSkeleton:fn,Icons:gn,Img:bn,LI:Sn,Link:Cn,ListItem:yn,Loader:kn,Modal:vn,OL:_n,P:Tn,Placeholder:An,Pre:On,ProgressSpinner:En,ResetWrapper:Bn,ScrollArea:wn,Separator:Rn,Spaced:xn,Span:Ln,StorybookIcon:Pn,StorybookLogo:Mn,Symbols:Dn,SyntaxHighlighter:Gn,TT:Un,TabBar:Nn,TabButton:Fn,TabWrapper:Hn,Table:qn,Tabs:zn,TabsState:Kn,TooltipLinkList:F,TooltipMessage:Vn,TooltipNote:Yn,UL:Wn,WithTooltip:H,WithTooltipPure:jn,Zoom:$n,codeCommon:Zn,components:Jn,createCopyToClipboardFunction:Qn,getStoryHref:Xn,icons:et,interleaveSeparators:ot,nameSpaceClassNames:nt,resetComponents:tt,withReset:rt}=__STORYBOOK_COMPONENTS__;p();h();f();var st=__STORYBOOK_ICONS__,{AccessibilityAltIcon:ut,AccessibilityIcon:It,AccessibilityIgnoredIcon:dt,AddIcon:mt,AdminIcon:pt,AlertAltIcon:ht,AlertIcon:ft,AlignLeftIcon:gt,AlignRightIcon:bt,AppleIcon:St,ArrowBottomLeftIcon:Ct,ArrowBottomRightIcon:yt,ArrowDownIcon:kt,ArrowLeftIcon:vt,ArrowRightIcon:_t,ArrowSolidDownIcon:Tt,ArrowSolidLeftIcon:At,ArrowSolidRightIcon:Ot,ArrowSolidUpIcon:Et,ArrowTopLeftIcon:Bt,ArrowTopRightIcon:wt,ArrowUpIcon:Rt,AzureDevOpsIcon:xt,BackIcon:Lt,BasketIcon:Pt,BatchAcceptIcon:Mt,BatchDenyIcon:Dt,BeakerIcon:Gt,BellIcon:Ut,BitbucketIcon:Nt,BoldIcon:Ft,BookIcon:Ht,BookmarkHollowIcon:qt,BookmarkIcon:zt,BottomBarIcon:Kt,BottomBarToggleIcon:Vt,BoxIcon:Yt,BranchIcon:Wt,BrowserIcon:jt,ButtonIcon:$t,CPUIcon:Zt,CalendarIcon:Jt,CameraIcon:Qt,CameraStabilizeIcon:Xt,CategoryIcon:er,CertificateIcon:or,ChangedIcon:nr,ChatIcon:tr,CheckIcon:rr,ChevronDownIcon:ir,ChevronLeftIcon:ar,ChevronRightIcon:cr,ChevronSmallDownIcon:lr,ChevronSmallLeftIcon:sr,ChevronSmallRightIcon:ur,ChevronSmallUpIcon:Ir,ChevronUpIcon:dr,ChromaticIcon:mr,ChromeIcon:pr,CircleHollowIcon:hr,CircleIcon:Z,ClearIcon:fr,CloseAltIcon:gr,CloseIcon:br,CloudHollowIcon:Sr,CloudIcon:Cr,CogIcon:yr,CollapseIcon:kr,CommandIcon:vr,CommentAddIcon:_r,CommentIcon:Tr,CommentsIcon:Ar,CommitIcon:Or,CompassIcon:Er,ComponentDrivenIcon:Br,ComponentIcon:wr,ContrastIcon:Rr,ContrastIgnoredIcon:xr,ControlsIcon:Lr,CopyIcon:Pr,CreditIcon:Mr,CrossIcon:Dr,DashboardIcon:Gr,DatabaseIcon:Ur,DeleteIcon:Nr,DiamondIcon:Fr,DirectionIcon:Hr,DiscordIcon:qr,DocChartIcon:zr,DocListIcon:Kr,DocumentIcon:Vr,DownloadIcon:Yr,DragIcon:Wr,EditIcon:jr,EllipsisIcon:$r,EmailIcon:Zr,ExpandAltIcon:Jr,ExpandIcon:Qr,EyeCloseIcon:Xr,EyeIcon:ei,FaceHappyIcon:oi,FaceNeutralIcon:ni,FaceSadIcon:ti,FacebookIcon:ri,FailedIcon:ii,FastForwardIcon:ai,FigmaIcon:ci,FilterIcon:li,FlagIcon:si,FolderIcon:ui,FormIcon:Ii,GDriveIcon:di,GithubIcon:mi,GitlabIcon:pi,GlobeIcon:hi,GoogleIcon:fi,GraphBarIcon:gi,GraphLineIcon:bi,GraphqlIcon:Si,GridAltIcon:Ci,GridIcon:q,GrowIcon:yi,HeartHollowIcon:ki,HeartIcon:vi,HomeIcon:_i,HourglassIcon:Ti,InfoIcon:Ai,ItalicIcon:Oi,JumpToIcon:Ei,KeyIcon:Bi,LightningIcon:wi,LightningOffIcon:Ri,LinkBrokenIcon:xi,LinkIcon:Li,LinkedinIcon:Pi,LinuxIcon:Mi,ListOrderedIcon:Di,ListUnorderedIcon:Gi,LocationIcon:Ui,LockIcon:Ni,MarkdownIcon:Fi,MarkupIcon:Hi,MediumIcon:qi,MemoryIcon:zi,MenuIcon:Ki,MergeIcon:Vi,MirrorIcon:Yi,MobileIcon:Wi,MoonIcon:ji,NutIcon:$i,OutboxIcon:Zi,OutlineIcon:Ji,PaintBrushIcon:Qi,PaperClipIcon:Xi,ParagraphIcon:ea,PassedIcon:oa,PhoneIcon:na,PhotoDragIcon:ta,PhotoIcon:z,PhotoStabilizeIcon:ra,PinAltIcon:ia,PinIcon:aa,PlayAllHollowIcon:ca,PlayBackIcon:la,PlayHollowIcon:sa,PlayIcon:ua,PlayNextIcon:Ia,PlusIcon:da,PointerDefaultIcon:ma,PointerHandIcon:pa,PowerIcon:ha,PrintIcon:fa,ProceedIcon:ga,ProfileIcon:ba,PullRequestIcon:Sa,QuestionIcon:Ca,RSSIcon:ya,RedirectIcon:ka,ReduxIcon:va,RefreshIcon:J,ReplyIcon:_a,RepoIcon:Ta,RequestChangeIcon:Aa,RewindIcon:Oa,RulerIcon:Ea,SaveIcon:Ba,SearchIcon:wa,ShareAltIcon:Ra,ShareIcon:xa,ShieldIcon:La,SideBySideIcon:Pa,SidebarAltIcon:Ma,SidebarAltToggleIcon:Da,SidebarIcon:Ga,SidebarToggleIcon:Ua,SpeakerIcon:Na,StackedIcon:Fa,StarHollowIcon:Ha,StarIcon:qa,StatusFailIcon:za,StatusIcon:Ka,StatusPassIcon:Va,StatusWarnIcon:Ya,StickerIcon:Wa,StopAltHollowIcon:ja,StopAltIcon:$a,StopIcon:Za,StorybookIcon:Ja,StructureIcon:Qa,SubtractIcon:Xa,SunIcon:ec,SupportIcon:oc,SweepIcon:nc,SwitchAltIcon:tc,SyncIcon:rc,TabletIcon:ic,ThumbsUpIcon:ac,TimeIcon:cc,TimerIcon:lc,TransferIcon:sc,TrashIcon:uc,TwitterIcon:Ic,TypeIcon:dc,UbuntuIcon:mc,UndoIcon:pc,UnfoldIcon:hc,UnlockIcon:fc,UnpinIcon:gc,UploadIcon:bc,UserAddIcon:Sc,UserAltIcon:Cc,UserIcon:yc,UsersIcon:kc,VSCodeIcon:vc,VerifiedIcon:_c,VideoIcon:Tc,WandIcon:Ac,WatchIcon:Oc,WindowsIcon:Ec,WrenchIcon:Bc,XIcon:wc,YoutubeIcon:Rc,ZoomIcon:xc,ZoomOutIcon:Lc,ZoomResetIcon:Pc,iconList:Mc}=__STORYBOOK_ICONS__;p();h();f();var Fc=__STORYBOOK_CLIENT_LOGGER__,{deprecate:Hc,logger:K,once:qc,pretty:zc}=__STORYBOOK_CLIENT_LOGGER__;var Y=Ie(X());p();h();f();var Qc=__STORYBOOK_THEMING__,{CacheProvider:Xc,ClassNames:el,Global:ol,ThemeProvider:nl,background:tl,color:rl,convert:il,create:al,createCache:cl,createGlobal:ll,createReset:sl,css:ul,darken:Il,ensure:dl,ignoreSsrWarning:ml,isPropValid:pl,jsx:hl,keyframes:fl,lighten:gl,styled:ee,themes:bl,typography:Sl,useTheme:Cl,withTheme:yl}=__STORYBOOK_THEMING__;p();h();f();function oe(e){for(var o=[],c=1;c<arguments.length;c++)o[c-1]=arguments[c];var r=Array.from(typeof e=="string"?[e]:e);r[r.length-1]=r[r.length-1].replace(/\r?\n([\t ]*)$/,"");var i=r.reduce(function(t,n){var u=n.match(/\n([\t ]+|(?!\s).)/g);return u?t.concat(u.map(function(a){var I,s;return(s=(I=a.match(/[\t ]/g))===null||I===void 0?void 0:I.length)!==null&&s!==void 0?s:0})):t},[]);if(i.length){var d=new RegExp(`
3
3
  [ ]{`+Math.min.apply(Math,i)+"}","g");r=r.map(function(t){return t.replace(d,`
4
4
  `)})}r[0]=r[0].replace(/^\r?\n/,"");var l=r[0];return o.forEach(function(t,n){var u=l.match(/(?:^|\n)( *)$/),a=u?u[1]:"",I=t;typeof t=="string"&&t.includes(`
5
5
  `)&&(I=String(t).split(`