@100mslive/roomkit-react 0.1.6-alpha.2 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{HLSView-QMU5JK7U.js → HLSView-4NSE37G7.js} +3 -3
- package/dist/Prebuilt/components/Leave/DesktopLeaveRoom.d.ts +2 -1
- package/dist/Prebuilt/components/Leave/MwebLeaveRoom.d.ts +2 -1
- package/dist/{VirtualBackground-37FXUPYO.js → VirtualBackground-A5UM363O.js} +3 -3
- package/dist/{chunk-ZKE2N5LH.js → chunk-BUWIMYLW.js} +2 -2
- package/dist/{chunk-KBVIZGYW.js → chunk-NMOZ33TX.js} +2 -2
- package/dist/{chunk-KBVIZGYW.js.map → chunk-NMOZ33TX.js.map} +1 -1
- package/dist/{chunk-WVGGQZK4.js → chunk-Q6U22HIE.js} +65 -77
- package/dist/chunk-Q6U22HIE.js.map +7 -0
- package/dist/{conference-FJJQ4TXX.js → conference-S7R3O4OC.js} +72 -50
- package/dist/conference-S7R3O4OC.js.map +7 -0
- package/dist/index.cjs.js +165 -153
- package/dist/index.cjs.js.map +3 -3
- package/dist/index.js +2 -2
- package/dist/meta.cjs.json +43 -43
- package/dist/meta.esbuild.json +75 -75
- package/package.json +6 -6
- package/src/Button/Button.tsx +6 -6
- package/src/Prebuilt/components/Chat/Chat.jsx +1 -3
- package/src/Prebuilt/components/Chat/useEmojiPickerStyles.js +1 -0
- package/src/Prebuilt/components/Footer/Footer.tsx +1 -1
- package/src/Prebuilt/components/Footer/ParticipantList.jsx +4 -3
- package/src/Prebuilt/components/Footer/RoleAccordion.tsx +1 -1
- package/src/Prebuilt/components/Header/HeaderComponents.jsx +2 -8
- package/src/Prebuilt/components/Leave/DesktopLeaveRoom.tsx +7 -9
- package/src/Prebuilt/components/Leave/LeaveRoom.tsx +6 -2
- package/src/Prebuilt/components/Leave/MwebLeaveRoom.tsx +7 -4
- package/src/Prebuilt/components/Notifications/Notifications.jsx +4 -10
- package/src/Prebuilt/components/RoleChangeRequestModal.tsx +1 -2
- package/src/Prebuilt/components/ScreenshareTile.jsx +15 -7
- package/src/Prebuilt/components/SidePaneTabs.tsx +78 -57
- package/src/Prebuilt/components/conference.jsx +9 -1
- package/dist/chunk-WVGGQZK4.js.map +0 -7
- package/dist/conference-FJJQ4TXX.js.map +0 -7
- /package/dist/{HLSView-QMU5JK7U.js.map → HLSView-4NSE37G7.js.map} +0 -0
- /package/dist/{VirtualBackground-37FXUPYO.js.map → VirtualBackground-A5UM363O.js.map} +0 -0
- /package/dist/{chunk-ZKE2N5LH.js.map → chunk-BUWIMYLW.js.map} +0 -0
package/dist/index.cjs.js
CHANGED
@@ -105,7 +105,7 @@ var __async = (__this, __arguments, generator) => {
|
|
105
105
|
var define_process_env_default;
|
106
106
|
var init_define_process_env = __esm({
|
107
107
|
"<define:process.env>"() {
|
108
|
-
define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_f43336c5-bb3b-4487-bb65-eed87d62f6f9", npm_package_devDependencies_ts_node: "^10.4.0", npm_package_devDependencies__types_node: "^16.11.17", npm_package_devDependencies_rollup: "^2.70.1", npm_package_exports___require: "./dist/index.cjs.js", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", npm_package_dependencies_screenfull: "^5.1.0", npm_package_dependencies_react_draggable: "^4.4.5", npm_package_dependencies__radix_ui_react_switch: "1.0.0", USER: "runner", npm_package_devDependencies_webpack_cli: "^4.9.2", npm_package_devDependencies_webpack_bundle_analyzer: "^4.5.0", npm_package_devDependencies_jest: "26.6.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.19 npm/? node/v16.20.2 linux x64", npm_config_always_auth: "", NX_WORKSPACE_ROOT: "/home/runner/work/web-sdks/web-sdks", npm_package_devDependencies__rollup_plugin_node_resolve: "^13.1.3", npm_package_scripts_babel: "npx storybook@latest babelrc", CI: "true", npm_package_devDependencies__size_limit_file: "^5.0.3", npm_config_bin_links: "true", npm_config_wrap_output: "", npm_package_dependencies__radix_ui_react_tabs: "1.0.0", npm_package_dependencies__100mslive_react_sdk: "0.8.15-alpha.2", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_f43336c5-bb3b-4487-bb65-eed87d62f6f9", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/16.20.2/x64/bin/node", npm_config_init_version: "1.0.0", npm_package_dependencies__emoji_mart_react: "^1.0.1", npm_package_dependencies__emoji_mart_data: "^1.0.6", npm_package_dependencies__100mslive_hms_virtual_background: "1.11.15-alpha.2", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", npm_package_dependencies__radix_ui_react_tooltip: "1.0.6", npm_package_dependencies__radix_ui_react_popover: "1.0.6", npm_package_dependencies__100mslive_types_prebuilt: "0.12.0", npm_package_peerDependencies_react: ">=17.0.2 <19.0.0", npm_package_devDependencies__storybook_addon_links: "^7.0.27", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies__typescript_eslint_parser: "^5.4.0", npm_package_dependencies__radix_ui_react_dialog: "1.0.4", npm_package_devDependencies__types_react_window: "^1.8.5", npm_package_files_1: "src", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_scripts_controller: "cd packages/hls-controller && yarn start", npm_package_dependencies__stitches_react: "^1.2.8", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "100mslive", npm_package_engines_node: ">=16", npm_package_devDependencies_webpack_manifest_plugin: "^4.1.1", npm_package_devDependencies_typedoc_plugin_markdown: "^3.14.0", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-8.3", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/25.2.9519653", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "73883131", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu22", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_scripts_lint_fix: "yarn lint --fix", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", npm_package_devDependencies__storybook_addon_a11y: "^7.0.27", SYSTEMD_EXEC_PID: "662", npm_package_scripts_postinstall: "husky install && lerna bootstrap", npm_package_devDependencies_husky: "^6.0.0", npm_package_dependencies_recordrtc: "^5.6.2", npm_package_dependencies_eventemitter2: "^6.4.7", npm_package_dependencies__radix_ui_react_label: "1.0.0", npm_package_dependencies__radix_ui_react_dropdown_menu: "2.0.5", npm_package_keywords_0: "100mslive", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: "100ms Room Kit provides simple & easy to use UI components to build Live Streaming & Video Conferencing experiences in your apps.", npm_package_devDependencies_typescript: "~4.7.4", npm_package_devDependencies_typedoc: "^0.24.8", npm_package_dependencies_react_router_dom: "^6.3.0", npm_package_devDependencies_babel_loader: "^8.2.5", npm_package_devDependencies__rollup_plugin_image: "^3.0.2", npm_package_keywords_1: "react", GOROOT_1_20_X64: "/opt/hostedtoolcache/go/1.20.7/x64", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_react: "^18.1.0", npm_package_devDependencies__babel_preset_env: "^7.22.5", npm_package_keywords_2: "prebuilt", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.0/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20230903.1.0", npm_package_devDependencies_prettier: "^2.4.1", npm_package_devDependencies_babel_jest: "^26.6.0", npm_package_scripts_dev: "node ../../scripts/dev", npm_package_keywords_3: "roomkit", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", SWIFT_PATH: "/usr/share/swift/usr/bin", FORCE_COLOR: "true", npm_package_dependencies__radix_ui_react_toast: "1.0.0", npm_package_dependencies__radix_ui_react_radio_group: "1.0.0", npm_package_devDependencies__babel_preset_typescript: "^7.22.5", npm_package_exports___default: "./dist/index.js", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "8:17488", GITHUB_WORKFLOW: "Publish Packages", _: "/usr/local/bin/yarn", npm_package_scripts_app: "cd apps/100ms-web && yarn start", npm_package_devDependencies_ts_jest: "26.5.6", npm_package_devDependencies_lerna: "^5.6.2", npm_package_devDependencies__types_jest: "^27.0.3", npm_package_devDependencies__commitlint_config_conventional: "^15.0.0", npm_package_private: "true", npm_package_dependencies__radix_ui_react_accordion: "1.0.0", npm_package_devDependencies__rollup_plugin_commonjs: "^21.0.3", npm_package_devDependencies__babel_preset_react: "^7.22.5", npm_package_module: "dist/index.js", npm_package_scripts_sdk: "cd packages/hms-video-web && yarn start", npm_package_scripts_lint: "eslint -c .eslintrc --no-error-on-unmatched-pattern src --ext .js --ext .jsx --ext .ts --ext .tsx", npm_package_devDependencies__typescript_eslint_eslint_plugin: "^5.4.0", npm_config_registry: "https://registry.yarnpkg.com", npm_package_dependencies_react_window: "^1.8.7", npm_package_dependencies__100mslive_hls_player: "0.1.15-alpha.2", npm_package_devDependencies__types_lodash_merge: "^4.6.6", npm_package_devDependencies__storybook_cli: "^7.0.27", npm_package_devDependencies__rollup_plugin_json: "^6.0.0", GITHUB_RUN_ID: "6143673147", npm_package_workspaces_0: "packages/*", npm_package_scripts_store: "cd packages/hms-video-store && yarn start", npm_package_devDependencies__babel_core: "^7.18.2", npm_package_devDependencies__storybook_addon_interactions: "^7.0.27", npm_package_devDependencies__storybook_addon_actions: "^7.0.27", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "e9017621fb9f9594f985d47483ccab4bed324a35", GITHUB_BASE_REF: "", ImageOS: "ubuntu22", npm_package_workspaces_1: "apps/*", npm_package_scripts_start: 'concurrently "yarn dev" "yarn types"', npm_config_ignore_scripts: "", NX_TASK_HASH: "c185da290a263131093f6634fb953acbabb7a686aa4f872f19b9de675a815900", npm_package_exports___import: "./dist/index.js", GITHUB_WORKFLOW_REF: "100mslive/web-sdks/.github/workflows/publish.yml@refs/heads/main", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GOROOT_1_18_X64: "/opt/hostedtoolcache/go/1.18.10/x64", GITHUB_ACTION_REPOSITORY: "", npm_package_workspaces_2: "playwright/*", npm_package_devDependencies_postcss_loader: "^6.2.1", PATH: "/tmp/yarn--1694419890877-0.7557965598114864:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/16.20.2/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/16.20.2/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/16.20.2/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1694419890635-0.43974353783902886:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/16.20.2/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/16.20.2/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/16.20.2/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1694419841019-0.8375148234533045:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/16.20.2/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/16.20.2/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/16.20.2/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1694419840783-0.6699295563699477:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/16.20.2/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/16.20.2/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/16.20.2/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/16.20.2/x64/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", NODE: "/opt/hostedtoolcache/node/16.20.2/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_26cb5442-5860-4d00-8f15-204afa5fd258", INVOCATION_ID: "d4a83fa2da514561b3c0ce14a83611e0", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", GOROOT_1_19_X64: "/opt/hostedtoolcache/go/1.19.12/x64", npm_package_husky_hooks_pre_push: "lint-staged", npm_package_scripts_size: "size-limit", npm_package_devDependencies_size_limit: "^5.0.3", npm_package_name: "@100mslive/roomkit-react", npm_package_devDependencies__storybook_react_webpack5: "^7.0.27", GITHUB_ACTION: "__run_3", GITHUB_RUN_NUMBER: "368", GITHUB_TRIGGERING_ACTOR: "raviteja83", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_devDependencies_babel_plugin_istanbul: "^6.1.1", LERNA_PACKAGE_NAME: "@100mslive/roomkit-react", npm_package_dependencies_pusher_js: "^7.0.3", npm_package_dependencies__radix_ui_react_select: "1.0.0", npm_package_size_limit_0_limit: "80 KB", npm_package_devDependencies__commitlint_cli: "^15.0.0", npm_package_devDependencies__rollup_plugin_typescript: "^8.3.1", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_size_limit_1_limit: "80 KB", npm_package_lint_staged__: "format && lint:fix", npm_package_devDependencies_webpack: "^5.76.0", npm_package_devDependencies_eslint_plugin_simple_import_sort: "^8.0.0", npm_package_devDependencies_eslint: "^8.9.0", npm_package_dependencies_react_intersection_observer: "^9.4.3", npm_package_devDependencies_rollup_plugin_terser: "^7.0.2", npm_package_devDependencies__types_mdx: "2.0.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 6", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "main", GITHUB_REPOSITORY: "100mslive/web-sdks", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "20 KB", npm_package_resolutions_loader_utils: "^2.0.4", npm_package_devDependencies_dotenv: "^14.2.0", npm_package_dependencies__radix_ui_react_slider: "1.0.0", npm_package_devDependencies_rollup_plugin_import_css: "^3.3.1", npm_package_scripts_types_build: "tsc -p tsconfig.json", npm_package_main: "dist/index.cjs.js", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_size_limit_3_limit: "20 KB", npm_package_size_limit_0_path: "packages/hms-video-web/dist/index.cjs.js", npm_package_scripts_cypress_open: "cypress open", npm_package_scripts_lerna_publish: "lerna publish from-package --dist-tag $PUBLISH_FLAG --yes --no-verify-access", npm_package_scripts_test: "yarn build --no-private && lerna run test", npm_package_devDependencies_webpack_dev_server: "^4.7.4", npm_package_devDependencies_concurrently: "^6.4.0", npm_config_version_git_message: "v%s", npm_package_dependencies__radix_ui_react_checkbox: "1.0.0", npm_package_dependencies__100mslive_react_icons: "0.8.15-alpha.2", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.1.6-alpha.2", npm_package_size_limit_4_limit: "400 KB", npm_package_size_limit_1_path: "packages/hms-video-web/dist/index.js", npm_package_husky_hooks_pre_commit: "lint-staged", npm_package_scripts_build_only: "rm -rf dist && node ../../scripts/build-webapp", npm_package_devDependencies__types_react: "^18.1.0", npm_package_sideEffects: "false", npm_package_source: "src/index.ts", GITHUB_REF_PROTECTED: "true", npm_config_argv: '{"remain":[],"cooked":["run","test"],"original":["test"]}', npm_package_size_limit_5_limit: "20 KB", npm_package_size_limit_2_path: "packages/hms-video-store/dist/index.cjs.js", npm_package_scripts_build: "yarn build:only && yarn types:build", npm_package_devDependencies_tslib: "^2.2.0", npm_package_devDependencies_nx: "^14.5.1", npm_package_devDependencies_lint_staged: "^12.0.3", NX_CLI_SET: "true", npm_package_dependencies_uuid: "^8.3.2", npm_package_dependencies_react_virtualized_auto_sizer: "^1.0.7", npm_package_dependencies_lodash_merge: "^4.6.2", npm_package_dependencies_emoji_mart: "^5.2.2", GITHUB_WORKSPACE: "/home/runner/work/web-sdks/web-sdks", ACCEPT_EULA: "Y", GITHUB_JOB: "publish_packages", RUNNER_PERFLOG: "/home/runner/perflog", npm_package_size_limit_6_limit: "20 KB", npm_package_size_limit_3_path: "packages/hms-video-store/dist/index.js", npm_package_devDependencies_cypress: "^9.5.2", npm_package_devDependencies_rollup_plugin_esbuild: "^5.0.0", GITHUB_SHA: "e9017621fb9f9594f985d47483ccab4bed324a35", GITHUB_RUN_ATTEMPT: "1", npm_package_size_limit_7_limit: "20 KB", npm_package_size_limit_4_path: "packages/roomkit-react/dist/index.cjs.js", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", npm_package_dependencies_qrcode_react: "^3.1.0", GITHUB_REF: "refs/heads/main", GITHUB_ACTOR: "raviteja83", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_size_limit_8_limit: "100 KB", npm_package_size_limit_5_path: "packages/roomkit-react/dist/index.js", npm_config_strict_ssl: "true", npm_package_license: "MIT", LEIN_HOME: "/usr/local/lib/lein", npm_package_size_limit_9_limit: "100 KB", npm_package_size_limit_6_path: "packages/hms-virtual-background/dist/index.cjs.js", npm_package_scripts_format: "prettier -w src/**", npm_package_devDependencies_eslint_plugin_prettier: "^4.0.0", npm_package_devDependencies_eslint_config_react_app: "^7.0.0", NX_TASK_TARGET_PROJECT: "@100mslive/roomkit-react", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_f43336c5-bb3b-4487-bb65-eed87d62f6f9", JAVA_HOME: "/usr/lib/jvm/temurin-11-jdk-amd64", PWD: "/home/runner/work/web-sdks/web-sdks/packages/roomkit-react", GITHUB_ACTOR_ID: "6763261", RUNNER_WORKSPACE: "/home/runner/work/web-sdks", npm_execpath: "/usr/local/lib/node_modules/yarn/bin/yarn.js", npm_package_size_limit_7_path: "packages/hms-virtual-background/dist/index.js", npm_package_dependencies__radix_ui_react_progress: "1.0.0", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", LEIN_JAR: "/usr/local/lib/lein/self-installs/leiningen-2.10.0-standalone.jar", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_f43336c5-bb3b-4487-bb65-eed87d62f6f9", npm_package_size_limit_8_path: "packages/react-icons/dist/index.cjs.js", npm_package_scripts_prestart: "rm -rf dist && yarn types:build", npm_package_author_name: "100ms", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_package_size_limit_9_path: "packages/react-icons/dist/index.js", npm_package_scripts_build_storybook: "sb build", npm_package_devDependencies_postcss: "^8.4.5", npm_package_devDependencies_esbuild: "^0.18.13", npm_config_save_prefix: "^", npm_config_ignore_optional: "", npm_package_dependencies_worker_timers: "^7.0.40", npm_package_typings: "dist/index.d.ts", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/25.2.9519653", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_storybook: "sb dev -p 6006", npm_package_devDependencies_esbuild_plugin_postcss2: "0.1.1", npm_package_devDependencies_babel_plugin_react_require: "3.1.3", npm_package_devDependencies__storybook_testing_library: "^0.2.0", npm_package_devDependencies__storybook_addon_essentials: "^7.0.27", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", STATS_EXTP: "https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.154/provjobd.data", npm_package_scripts_reactsdk: "cd packages/react-sdk && yarn start", npm_package_scripts_app_custom: "cd apps/100ms-custom-app && yarn start", npm_package_dependencies_react_use: "^17.4.0", npm_package_dependencies__radix_ui_react_collapsible: "1.0.0", npm_package_devDependencies_storybook_dark_mode: "^3.0.0", npm_package_devDependencies__storybook_react: "^7.0.27", INIT_CWD: "/home/runner/work/web-sdks/web-sdks", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_f43336c5-bb3b-4487-bb65-eed87d62f6f9" };
|
108
|
+
define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_0c815065-b8e9-4389-ab56-a917c878c252", npm_package_devDependencies_ts_node: "^10.4.0", npm_package_devDependencies__types_node: "^16.11.17", npm_package_devDependencies_rollup: "^2.70.1", npm_package_exports___require: "./dist/index.cjs.js", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", npm_package_dependencies_screenfull: "^5.1.0", npm_package_dependencies_react_draggable: "^4.4.5", npm_package_dependencies__radix_ui_react_switch: "1.0.0", USER: "runner", npm_package_devDependencies_webpack_cli: "^4.9.2", npm_package_devDependencies_webpack_bundle_analyzer: "^4.5.0", npm_package_devDependencies_jest: "26.6.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.19 npm/? node/v16.20.2 linux x64", npm_config_always_auth: "", NX_WORKSPACE_ROOT: "/home/runner/work/web-sdks/web-sdks", npm_package_devDependencies__rollup_plugin_node_resolve: "^13.1.3", npm_package_scripts_babel: "npx storybook@latest babelrc", CI: "true", npm_package_devDependencies__size_limit_file: "^5.0.3", npm_config_bin_links: "true", npm_config_wrap_output: "", npm_package_dependencies__radix_ui_react_tabs: "1.0.0", npm_package_dependencies__100mslive_react_sdk: "0.8.15", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_0c815065-b8e9-4389-ab56-a917c878c252", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/16.20.2/x64/bin/node", npm_config_init_version: "1.0.0", npm_package_dependencies__emoji_mart_react: "^1.0.1", npm_package_dependencies__emoji_mart_data: "^1.0.6", npm_package_dependencies__100mslive_hms_virtual_background: "1.11.15", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", npm_package_dependencies__radix_ui_react_tooltip: "1.0.6", npm_package_dependencies__radix_ui_react_popover: "1.0.6", npm_package_dependencies__100mslive_types_prebuilt: "0.12.0", npm_package_peerDependencies_react: ">=17.0.2 <19.0.0", npm_package_devDependencies__storybook_addon_links: "^7.0.27", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies__typescript_eslint_parser: "^5.4.0", npm_package_dependencies__radix_ui_react_dialog: "1.0.4", npm_package_devDependencies__types_react_window: "^1.8.5", npm_package_files_1: "src", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_scripts_controller: "cd packages/hls-controller && yarn start", npm_package_dependencies__stitches_react: "^1.2.8", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "100mslive", npm_package_engines_node: ">=16", npm_package_devDependencies_webpack_manifest_plugin: "^4.1.1", npm_package_devDependencies_typedoc_plugin_markdown: "^3.14.0", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-8.3", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/25.2.9519653", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "73883131", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu22", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_scripts_lint_fix: "yarn lint --fix", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", npm_package_devDependencies__storybook_addon_a11y: "^7.0.27", SYSTEMD_EXEC_PID: "572", npm_package_scripts_postinstall: "husky install && lerna bootstrap", npm_package_devDependencies_husky: "^6.0.0", npm_package_dependencies_recordrtc: "^5.6.2", npm_package_dependencies_eventemitter2: "^6.4.7", npm_package_dependencies__radix_ui_react_label: "1.0.0", npm_package_dependencies__radix_ui_react_dropdown_menu: "2.0.5", npm_package_keywords_0: "100mslive", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: "100ms Room Kit provides simple & easy to use UI components to build Live Streaming & Video Conferencing experiences in your apps.", npm_package_devDependencies_typescript: "~4.7.4", npm_package_devDependencies_typedoc: "^0.24.8", npm_package_dependencies_react_router_dom: "^6.3.0", npm_package_devDependencies_babel_loader: "^8.2.5", npm_package_devDependencies__rollup_plugin_image: "^3.0.2", npm_package_keywords_1: "react", GOROOT_1_20_X64: "/opt/hostedtoolcache/go/1.20.8/x64", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_react: "^18.1.0", npm_package_devDependencies__babel_preset_env: "^7.22.5", npm_package_keywords_2: "prebuilt", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.1/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20230911.1.0", npm_package_devDependencies_prettier: "^2.4.1", npm_package_devDependencies_babel_jest: "^26.6.0", npm_package_scripts_dev: "node ../../scripts/dev", npm_package_keywords_3: "roomkit", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", SWIFT_PATH: "/usr/share/swift/usr/bin", FORCE_COLOR: "true", npm_package_dependencies__radix_ui_react_toast: "1.0.0", npm_package_dependencies__radix_ui_react_radio_group: "1.0.0", npm_package_devDependencies__babel_preset_typescript: "^7.22.5", npm_package_exports___default: "./dist/index.js", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "8:17912", GITHUB_WORKFLOW: "Publish Packages", _: "/usr/local/bin/yarn", npm_package_scripts_app: "cd apps/100ms-web && yarn start", npm_package_devDependencies_ts_jest: "26.5.6", npm_package_devDependencies_lerna: "^5.6.2", npm_package_devDependencies__types_jest: "^27.0.3", npm_package_devDependencies__commitlint_config_conventional: "^15.0.0", npm_package_private: "true", npm_package_dependencies__radix_ui_react_accordion: "1.0.0", npm_package_devDependencies__rollup_plugin_commonjs: "^21.0.3", npm_package_devDependencies__babel_preset_react: "^7.22.5", npm_package_module: "dist/index.js", npm_package_scripts_sdk: "cd packages/hms-video-web && yarn start", npm_package_scripts_lint: "eslint -c .eslintrc --no-error-on-unmatched-pattern src --ext .js --ext .jsx --ext .ts --ext .tsx", npm_package_devDependencies__typescript_eslint_eslint_plugin: "^5.4.0", npm_config_registry: "https://registry.yarnpkg.com", npm_package_dependencies_react_window: "^1.8.7", npm_package_dependencies__100mslive_hls_player: "0.1.15", npm_package_devDependencies__types_lodash_merge: "^4.6.6", npm_package_devDependencies__storybook_cli: "^7.0.27", npm_package_devDependencies__rollup_plugin_json: "^6.0.0", GITHUB_RUN_ID: "6173051090", npm_package_workspaces_0: "packages/*", npm_package_scripts_store: "cd packages/hms-video-store && yarn start", npm_package_devDependencies__babel_core: "^7.18.2", npm_package_devDependencies__storybook_addon_interactions: "^7.0.27", npm_package_devDependencies__storybook_addon_actions: "^7.0.27", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "0578f113babef7488a788837c63f7f8a7aa246e3", GITHUB_BASE_REF: "", ImageOS: "ubuntu22", npm_package_workspaces_1: "apps/*", npm_package_scripts_start: 'concurrently "yarn dev" "yarn types"', npm_config_ignore_scripts: "", NX_TASK_HASH: "f9d73a909077584cd409e6c9fb1353416bf6e48e4288dfcf2cf7d30e1f770765", npm_package_exports___import: "./dist/index.js", GITHUB_WORKFLOW_REF: "100mslive/web-sdks/.github/workflows/publish.yml@refs/heads/main", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GOROOT_1_18_X64: "/opt/hostedtoolcache/go/1.18.10/x64", GITHUB_ACTION_REPOSITORY: "", npm_package_workspaces_2: "playwright/*", npm_package_devDependencies_postcss_loader: "^6.2.1", PATH: "/tmp/yarn--1694611632644-0.368653916969669:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/16.20.2/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/16.20.2/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/16.20.2/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1694611632386-0.7643031147889183:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/16.20.2/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/16.20.2/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/16.20.2/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1694611577925-0.212858679138078:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/16.20.2/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/16.20.2/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/16.20.2/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1694611577654-0.43036314236218054:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/16.20.2/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/16.20.2/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/16.20.2/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/16.20.2/x64/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", NODE: "/opt/hostedtoolcache/node/16.20.2/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_3085f17f-2e58-4e8c-9f5f-4af63eec495a", INVOCATION_ID: "c504c1a15efe401d90ebb5e7a13b5fd7", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", GOROOT_1_19_X64: "/opt/hostedtoolcache/go/1.19.13/x64", npm_package_husky_hooks_pre_push: "lint-staged", npm_package_scripts_size: "size-limit", npm_package_devDependencies_size_limit: "^5.0.3", npm_package_name: "@100mslive/roomkit-react", npm_package_devDependencies__storybook_react_webpack5: "^7.0.27", GITHUB_ACTION: "__run_3", GITHUB_RUN_NUMBER: "370", GITHUB_TRIGGERING_ACTOR: "raviteja83", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_devDependencies_babel_plugin_istanbul: "^6.1.1", LERNA_PACKAGE_NAME: "@100mslive/roomkit-react", npm_package_dependencies_pusher_js: "^7.0.3", npm_package_dependencies__radix_ui_react_select: "1.0.0", npm_package_size_limit_0_limit: "80 KB", npm_package_devDependencies__commitlint_cli: "^15.0.0", npm_package_devDependencies__rollup_plugin_typescript: "^8.3.1", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_size_limit_1_limit: "80 KB", npm_package_lint_staged__: "format && lint:fix", npm_package_devDependencies_webpack: "^5.76.0", npm_package_devDependencies_eslint_plugin_simple_import_sort: "^8.0.0", npm_package_devDependencies_eslint: "^8.9.0", npm_package_dependencies_react_intersection_observer: "^9.4.3", npm_package_devDependencies_rollup_plugin_terser: "^7.0.2", npm_package_devDependencies__types_mdx: "2.0.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 3", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "main", GITHUB_REPOSITORY: "100mslive/web-sdks", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "20 KB", npm_package_resolutions_loader_utils: "^2.0.4", npm_package_devDependencies_dotenv: "^14.2.0", npm_package_dependencies__radix_ui_react_slider: "1.0.0", npm_package_devDependencies_rollup_plugin_import_css: "^3.3.1", npm_package_scripts_types_build: "tsc -p tsconfig.json", npm_package_main: "dist/index.cjs.js", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_size_limit_3_limit: "20 KB", npm_package_size_limit_0_path: "packages/hms-video-web/dist/index.cjs.js", npm_package_scripts_cypress_open: "cypress open", npm_package_scripts_lerna_publish: "lerna publish from-package --dist-tag $PUBLISH_FLAG --yes --no-verify-access", npm_package_scripts_test: "yarn build --no-private && lerna run test", npm_package_devDependencies_webpack_dev_server: "^4.7.4", npm_package_devDependencies_concurrently: "^6.4.0", npm_config_version_git_message: "v%s", npm_package_dependencies__radix_ui_react_checkbox: "1.0.0", npm_package_dependencies__100mslive_react_icons: "0.8.15", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.1.6", npm_package_size_limit_4_limit: "400 KB", npm_package_size_limit_1_path: "packages/hms-video-web/dist/index.js", npm_package_husky_hooks_pre_commit: "lint-staged", npm_package_scripts_build_only: "rm -rf dist && node ../../scripts/build-webapp", npm_package_devDependencies__types_react: "^18.1.0", npm_package_sideEffects: "false", npm_package_source: "src/index.ts", GITHUB_REF_PROTECTED: "true", npm_config_argv: '{"remain":[],"cooked":["run","test"],"original":["test"]}', npm_package_size_limit_5_limit: "20 KB", npm_package_size_limit_2_path: "packages/hms-video-store/dist/index.cjs.js", npm_package_scripts_build: "yarn build:only && yarn types:build", npm_package_devDependencies_tslib: "^2.2.0", npm_package_devDependencies_nx: "^14.5.1", npm_package_devDependencies_lint_staged: "^12.0.3", NX_CLI_SET: "true", npm_package_dependencies_uuid: "^8.3.2", npm_package_dependencies_react_virtualized_auto_sizer: "^1.0.7", npm_package_dependencies_lodash_merge: "^4.6.2", npm_package_dependencies_emoji_mart: "^5.2.2", GITHUB_WORKSPACE: "/home/runner/work/web-sdks/web-sdks", ACCEPT_EULA: "Y", GITHUB_JOB: "publish_packages", RUNNER_PERFLOG: "/home/runner/perflog", npm_package_size_limit_6_limit: "20 KB", npm_package_size_limit_3_path: "packages/hms-video-store/dist/index.js", npm_package_devDependencies_cypress: "^9.5.2", npm_package_devDependencies_rollup_plugin_esbuild: "^5.0.0", GITHUB_SHA: "0578f113babef7488a788837c63f7f8a7aa246e3", GITHUB_RUN_ATTEMPT: "2", npm_package_size_limit_7_limit: "20 KB", npm_package_size_limit_4_path: "packages/roomkit-react/dist/index.cjs.js", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", npm_package_dependencies_qrcode_react: "^3.1.0", GITHUB_REF: "refs/heads/main", GITHUB_ACTOR: "raviteja83", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_size_limit_8_limit: "100 KB", npm_package_size_limit_5_path: "packages/roomkit-react/dist/index.js", npm_config_strict_ssl: "true", npm_package_license: "MIT", LEIN_HOME: "/usr/local/lib/lein", npm_package_size_limit_9_limit: "100 KB", npm_package_size_limit_6_path: "packages/hms-virtual-background/dist/index.cjs.js", npm_package_scripts_format: "prettier -w src/**", npm_package_devDependencies_eslint_plugin_prettier: "^4.0.0", npm_package_devDependencies_eslint_config_react_app: "^7.0.0", NX_TASK_TARGET_PROJECT: "@100mslive/roomkit-react", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_0c815065-b8e9-4389-ab56-a917c878c252", JAVA_HOME: "/usr/lib/jvm/temurin-11-jdk-amd64", PWD: "/home/runner/work/web-sdks/web-sdks/packages/roomkit-react", GITHUB_ACTOR_ID: "6763261", RUNNER_WORKSPACE: "/home/runner/work/web-sdks", npm_execpath: "/usr/local/lib/node_modules/yarn/bin/yarn.js", npm_package_size_limit_7_path: "packages/hms-virtual-background/dist/index.js", npm_package_dependencies__radix_ui_react_progress: "1.0.0", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", LEIN_JAR: "/usr/local/lib/lein/self-installs/leiningen-2.10.0-standalone.jar", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_0c815065-b8e9-4389-ab56-a917c878c252", npm_package_size_limit_8_path: "packages/react-icons/dist/index.cjs.js", npm_package_scripts_prestart: "rm -rf dist && yarn types:build", npm_package_author_name: "100ms", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_package_size_limit_9_path: "packages/react-icons/dist/index.js", npm_package_scripts_build_storybook: "sb build", npm_package_devDependencies_postcss: "^8.4.5", npm_package_devDependencies_esbuild: "^0.18.13", npm_config_save_prefix: "^", npm_config_ignore_optional: "", npm_package_dependencies_worker_timers: "^7.0.40", npm_package_typings: "dist/index.d.ts", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/25.2.9519653", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_storybook: "sb dev -p 6006", npm_package_devDependencies_esbuild_plugin_postcss2: "0.1.1", npm_package_devDependencies_babel_plugin_react_require: "3.1.3", npm_package_devDependencies__storybook_testing_library: "^0.2.0", npm_package_devDependencies__storybook_addon_essentials: "^7.0.27", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", STATS_EXTP: "https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.154/provjobd.data", npm_package_scripts_reactsdk: "cd packages/react-sdk && yarn start", npm_package_scripts_app_custom: "cd apps/100ms-custom-app && yarn start", npm_package_dependencies_react_use: "^17.4.0", npm_package_dependencies__radix_ui_react_collapsible: "1.0.0", npm_package_devDependencies_storybook_dark_mode: "^3.0.0", npm_package_devDependencies__storybook_react: "^7.0.27", INIT_CWD: "/home/runner/work/web-sdks/web-sdks", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_0c815065-b8e9-4389-ab56-a917c878c252" };
|
109
109
|
}
|
110
110
|
});
|
111
111
|
|
@@ -814,12 +814,12 @@ var init_Button = __esm({
|
|
814
814
|
variants: {
|
815
815
|
variant: {
|
816
816
|
standard: getButtonVariants(
|
817
|
-
"$
|
818
|
-
"$
|
819
|
-
"$
|
820
|
-
"$
|
821
|
-
"$
|
822
|
-
"$
|
817
|
+
"$surface_brighter",
|
818
|
+
"$surface_bright",
|
819
|
+
"$surface_default",
|
820
|
+
"$surface_dim",
|
821
|
+
"$on_surface_high",
|
822
|
+
"$on_surface_low"
|
823
823
|
),
|
824
824
|
danger: getButtonVariants(
|
825
825
|
"$alert_error_default",
|
@@ -5886,7 +5886,6 @@ function Notifications() {
|
|
5886
5886
|
const notification = (0, import_react_sdk19.useHMSNotifications)();
|
5887
5887
|
const navigate = (0, import_react_router_dom2.useNavigate)();
|
5888
5888
|
const params = (0, import_react_router_dom2.useParams)();
|
5889
|
-
const vanillaStore = (0, import_react_sdk19.useHMSVanillaStore)();
|
5890
5889
|
const subscribedNotifications = useSubscribedNotifications() || {};
|
5891
5890
|
const roomState = (0, import_react_sdk19.useHMSStore)(import_react_sdk19.selectRoomState);
|
5892
5891
|
const updateRoomLayoutForRole = useUpdateRoomLayout();
|
@@ -5900,7 +5899,7 @@ function Notifications() {
|
|
5900
5899
|
}, []);
|
5901
5900
|
(0, import_react_sdk19.useCustomEvent)({ type: ROLE_CHANGE_DECLINED, onEvent: handleRoleChangeDenied });
|
5902
5901
|
(0, import_react46.useEffect)(() => {
|
5903
|
-
var _a7, _b7, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o
|
5902
|
+
var _a7, _b7, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o;
|
5904
5903
|
if (!notification || isNotificationDisabled) {
|
5905
5904
|
return;
|
5906
5905
|
}
|
@@ -5960,22 +5959,19 @@ function Notifications() {
|
|
5960
5959
|
break;
|
5961
5960
|
case import_react_sdk19.HMSNotificationTypes.ROLE_UPDATED: {
|
5962
5961
|
if ((_m = notification.data) == null ? void 0 : _m.isLocal) {
|
5963
|
-
|
5964
|
-
|
5965
|
-
|
5966
|
-
|
5967
|
-
});
|
5968
|
-
updateRoomLayoutForRole(notification.data.roleName);
|
5969
|
-
}
|
5962
|
+
ToastManager.addToast({
|
5963
|
+
title: `You are now a ${notification.data.roleName}`
|
5964
|
+
});
|
5965
|
+
updateRoomLayoutForRole(notification.data.roleName);
|
5970
5966
|
}
|
5971
5967
|
break;
|
5972
5968
|
}
|
5973
5969
|
case import_react_sdk19.HMSNotificationTypes.CHANGE_TRACK_STATE_REQUEST:
|
5974
|
-
const track = (
|
5970
|
+
const track = (_n = notification.data) == null ? void 0 : _n.track;
|
5975
5971
|
if (!notification.data.enabled) {
|
5976
5972
|
ToastManager.addToast({
|
5977
5973
|
title: `Your ${track.source} ${track.type} was muted by
|
5978
|
-
${(
|
5974
|
+
${(_o = notification.data.requestedBy) == null ? void 0 : _o.name}.`
|
5979
5975
|
});
|
5980
5976
|
}
|
5981
5977
|
break;
|
@@ -6038,13 +6034,12 @@ var init_Notifications2 = __esm({
|
|
6038
6034
|
});
|
6039
6035
|
|
6040
6036
|
// src/Prebuilt/components/Header/HeaderComponents.jsx
|
6041
|
-
var import_react47,
|
6037
|
+
var import_react47, import_react_sdk20, import_react_icons12, SpeakerTag, LogoImg, Logo;
|
6042
6038
|
var init_HeaderComponents = __esm({
|
6043
6039
|
"src/Prebuilt/components/Header/HeaderComponents.jsx"() {
|
6044
6040
|
"use strict";
|
6045
6041
|
init_define_process_env();
|
6046
6042
|
import_react47 = __toESM(require("react"));
|
6047
|
-
import_react_use3 = require("react-use");
|
6048
6043
|
import_react_sdk20 = require("@100mslive/react-sdk");
|
6049
6044
|
import_react_icons12 = require("@100mslive/react-icons");
|
6050
6045
|
init_src();
|
@@ -6075,17 +6070,12 @@ var init_HeaderComponents = __esm({
|
|
6075
6070
|
var _a7;
|
6076
6071
|
const roomLayout = useRoomLayout();
|
6077
6072
|
const logo = (_a7 = roomLayout == null ? void 0 : roomLayout.logo) == null ? void 0 : _a7.url;
|
6078
|
-
const isMobile = (0, import_react_use3.useMedia)(config.media.md);
|
6079
|
-
const isConnected = (0, import_react_sdk20.useHMSStore)(import_react_sdk20.selectIsConnectedToRoom);
|
6080
6073
|
const [hideImage, setHideImage] = (0, import_react47.useState)(false);
|
6081
6074
|
(0, import_react47.useEffect)(() => {
|
6082
6075
|
if (hideImage) {
|
6083
6076
|
setHideImage(false);
|
6084
6077
|
}
|
6085
6078
|
}, [logo]);
|
6086
|
-
if (isConnected && isMobile) {
|
6087
|
-
return null;
|
6088
|
-
}
|
6089
6079
|
return logo && !hideImage ? /* @__PURE__ */ import_react47.default.createElement(
|
6090
6080
|
LogoImg,
|
6091
6081
|
{
|
@@ -6498,13 +6488,13 @@ var init_AdditionalRoomState = __esm({
|
|
6498
6488
|
});
|
6499
6489
|
|
6500
6490
|
// src/Prebuilt/components/Header/StreamActions.tsx
|
6501
|
-
var import_react54,
|
6491
|
+
var import_react54, import_react_use3, import_react_sdk26, import_react_icons14, LiveStatus, RecordingStatus, StartRecording, StreamActions, StopRecordingInSheet;
|
6502
6492
|
var init_StreamActions = __esm({
|
6503
6493
|
"src/Prebuilt/components/Header/StreamActions.tsx"() {
|
6504
6494
|
"use strict";
|
6505
6495
|
init_define_process_env();
|
6506
6496
|
import_react54 = __toESM(require("react"));
|
6507
|
-
|
6497
|
+
import_react_use3 = require("react-use");
|
6508
6498
|
import_react_sdk26 = require("@100mslive/react-sdk");
|
6509
6499
|
import_react_icons14 = require("@100mslive/react-icons");
|
6510
6500
|
init_src();
|
@@ -6518,7 +6508,7 @@ var init_StreamActions = __esm({
|
|
6518
6508
|
var _a7;
|
6519
6509
|
const { isHLSRunning, isRTMPRunning } = (0, import_react_sdk26.useRecordingStreaming)();
|
6520
6510
|
const hlsState = (0, import_react_sdk26.useHMSStore)(import_react_sdk26.selectHLSState);
|
6521
|
-
const isMobile = (0,
|
6511
|
+
const isMobile = (0, import_react_use3.useMedia)(config.media.md);
|
6522
6512
|
const intervalRef = (0, import_react54.useRef)(null);
|
6523
6513
|
const [liveTime, setLiveTime] = (0, import_react54.useState)(0);
|
6524
6514
|
const startTimer = (0, import_react54.useCallback)(() => {
|
@@ -6563,7 +6553,7 @@ var init_StreamActions = __esm({
|
|
6563
6553
|
RecordingStatus = () => {
|
6564
6554
|
const { isBrowserRecordingOn, isServerRecordingOn, isHLSRecordingOn, isRecordingOn } = (0, import_react_sdk26.useRecordingStreaming)();
|
6565
6555
|
const permissions = (0, import_react_sdk26.useHMSStore)(import_react_sdk26.selectPermissions);
|
6566
|
-
const isMobile = (0,
|
6556
|
+
const isMobile = (0, import_react_use3.useMedia)(config.media.md);
|
6567
6557
|
if (!isRecordingOn || // if only browser recording is enabled, stop recording is shown
|
6568
6558
|
// so no need to show this as it duplicates
|
6569
6559
|
[permissions == null ? void 0 : permissions.browserRecording, !isServerRecordingOn, !isHLSRecordingOn, isBrowserRecordingOn].every(
|
@@ -6663,7 +6653,7 @@ var init_StreamActions = __esm({
|
|
6663
6653
|
};
|
6664
6654
|
StreamActions = () => {
|
6665
6655
|
const isConnected = (0, import_react_sdk26.useHMSStore)(import_react_sdk26.selectIsConnectedToRoom);
|
6666
|
-
const isMobile = (0,
|
6656
|
+
const isMobile = (0, import_react_use3.useMedia)(config.media.md);
|
6667
6657
|
const roomState = (0, import_react_sdk26.useHMSStore)(import_react_sdk26.selectRoomState);
|
6668
6658
|
return /* @__PURE__ */ import_react54.default.createElement(Flex, { align: "center", css: { gap: "$4" } }, /* @__PURE__ */ import_react54.default.createElement(AdditionalRoomState, null), !isMobile && /* @__PURE__ */ import_react54.default.createElement(Flex, { align: "center", css: { gap: "$4" } }, /* @__PURE__ */ import_react54.default.createElement(RecordingStatus, null), roomState !== import_react_sdk26.HMSRoomState.Preview ? /* @__PURE__ */ import_react54.default.createElement(LiveStatus, null) : null), isConnected && !isMobile ? /* @__PURE__ */ import_react54.default.createElement(StartRecording, null) : null);
|
6669
6659
|
};
|
@@ -6861,13 +6851,13 @@ var init_common = __esm({
|
|
6861
6851
|
});
|
6862
6852
|
|
6863
6853
|
// src/Prebuilt/components/Header/Header.tsx
|
6864
|
-
var import_react56,
|
6854
|
+
var import_react56, import_react_use4, import_react_sdk28, Header2;
|
6865
6855
|
var init_Header = __esm({
|
6866
6856
|
"src/Prebuilt/components/Header/Header.tsx"() {
|
6867
6857
|
"use strict";
|
6868
6858
|
init_define_process_env();
|
6869
6859
|
import_react56 = __toESM(require("react"));
|
6870
|
-
|
6860
|
+
import_react_use4 = require("react-use");
|
6871
6861
|
import_react_sdk28 = require("@100mslive/react-sdk");
|
6872
6862
|
init_src();
|
6873
6863
|
init_HeaderComponents();
|
@@ -6875,7 +6865,7 @@ var init_Header = __esm({
|
|
6875
6865
|
init_common();
|
6876
6866
|
Header2 = () => {
|
6877
6867
|
const roomState = (0, import_react_sdk28.useHMSStore)(import_react_sdk28.selectRoomState);
|
6878
|
-
const isMobile = (0,
|
6868
|
+
const isMobile = (0, import_react_use4.useMedia)(config.media.md);
|
6879
6869
|
if (roomState !== import_react_sdk28.HMSRoomState.Connected) {
|
6880
6870
|
return /* @__PURE__ */ import_react56.default.createElement(import_react56.default.Fragment, null);
|
6881
6871
|
}
|
@@ -7875,13 +7865,13 @@ var init_common2 = __esm({
|
|
7875
7865
|
});
|
7876
7866
|
|
7877
7867
|
// src/Prebuilt/components/Settings/SettingsModal.jsx
|
7878
|
-
var import_react68,
|
7868
|
+
var import_react68, import_react_use5, import_react_icons25, SettingsModal, MobileSettingModal, DesktopSettingModal, SettingsContentHeader, SettingsModal_default;
|
7879
7869
|
var init_SettingsModal = __esm({
|
7880
7870
|
"src/Prebuilt/components/Settings/SettingsModal.jsx"() {
|
7881
7871
|
"use strict";
|
7882
7872
|
init_define_process_env();
|
7883
7873
|
import_react68 = __toESM(require("react"));
|
7884
|
-
|
7874
|
+
import_react_use5 = require("react-use");
|
7885
7875
|
import_react_icons25 = require("@100mslive/react-icons");
|
7886
7876
|
init_Divider2();
|
7887
7877
|
init_IconButton2();
|
@@ -7894,7 +7884,7 @@ var init_SettingsModal = __esm({
|
|
7894
7884
|
init_common2();
|
7895
7885
|
SettingsModal = ({ open, onOpenChange, screenType, children = /* @__PURE__ */ import_react68.default.createElement(import_react68.default.Fragment, null) }) => {
|
7896
7886
|
const mediaQueryLg = config.media.md;
|
7897
|
-
const isMobile = (0,
|
7887
|
+
const isMobile = (0, import_react_use5.useMedia)(mediaQueryLg);
|
7898
7888
|
const [showSetting, setShowSetting] = (0, import_react68.useState)(
|
7899
7889
|
() => settingsList.reduce((obj, { tabName }) => __spreadProps(__spreadValues({}, obj), { [tabName]: true }), {})
|
7900
7890
|
);
|
@@ -8214,13 +8204,13 @@ var init_ChangeNameContent = __esm({
|
|
8214
8204
|
});
|
8215
8205
|
|
8216
8206
|
// src/Prebuilt/components/MoreSettings/ChangeNameModal.jsx
|
8217
|
-
var import_react70,
|
8207
|
+
var import_react70, import_react_use6, import_react_sdk33, ChangeNameModal;
|
8218
8208
|
var init_ChangeNameModal = __esm({
|
8219
8209
|
"src/Prebuilt/components/MoreSettings/ChangeNameModal.jsx"() {
|
8220
8210
|
"use strict";
|
8221
8211
|
init_define_process_env();
|
8222
8212
|
import_react70 = __toESM(require("react"));
|
8223
|
-
|
8213
|
+
import_react_use6 = require("react-use");
|
8224
8214
|
import_react_sdk33 = require("@100mslive/react-sdk");
|
8225
8215
|
init_src();
|
8226
8216
|
init_Sheet2();
|
@@ -8232,7 +8222,7 @@ var init_ChangeNameModal = __esm({
|
|
8232
8222
|
const hmsActions = (0, import_react_sdk33.useHMSActions)();
|
8233
8223
|
const localPeerName = (0, import_react_sdk33.useHMSStore)(import_react_sdk33.selectLocalPeerName);
|
8234
8224
|
const [currentName, setCurrentName] = (0, import_react70.useState)(localPeerName);
|
8235
|
-
const isMobile = (0,
|
8225
|
+
const isMobile = (0, import_react_use6.useMedia)(config.media.md);
|
8236
8226
|
const changeName = () => __async(void 0, null, function* () {
|
8237
8227
|
const name = currentName.trim();
|
8238
8228
|
if (!name || name === localPeerName) {
|
@@ -8271,13 +8261,13 @@ var init_ChangeNameModal = __esm({
|
|
8271
8261
|
});
|
8272
8262
|
|
8273
8263
|
// src/Prebuilt/components/TileMenu/TileMenuContent.jsx
|
8274
|
-
var import_react71,
|
8264
|
+
var import_react71, import_react_use7, import_react_sdk34, import_react_icons27, isSameTile, spacingCSS, SpotlightActions, PinActions, MinimiseInset, SimulcastLayers, TileMenuContent;
|
8275
8265
|
var init_TileMenuContent = __esm({
|
8276
8266
|
"src/Prebuilt/components/TileMenu/TileMenuContent.jsx"() {
|
8277
8267
|
"use strict";
|
8278
8268
|
init_define_process_env();
|
8279
8269
|
import_react71 = __toESM(require("react"));
|
8280
|
-
|
8270
|
+
import_react_use7 = require("react-use");
|
8281
8271
|
import_react_sdk34 = require("@100mslive/react-sdk");
|
8282
8272
|
import_react_icons27 = require("@100mslive/react-icons");
|
8283
8273
|
init_Layout();
|
@@ -8432,7 +8422,7 @@ var init_TileMenuContent = __esm({
|
|
8432
8422
|
const { sendEvent } = (0, import_react_sdk34.useCustomEvent)({
|
8433
8423
|
type: REMOTE_STOP_SCREENSHARE_TYPE
|
8434
8424
|
});
|
8435
|
-
const isMobile = (0,
|
8425
|
+
const isMobile = (0, import_react_use7.useMedia)(config.media.md);
|
8436
8426
|
return isLocal ? (showPinAction || canMinimise) && /* @__PURE__ */ import_react71.default.createElement(import_react71.default.Fragment, null, showPinAction && /* @__PURE__ */ import_react71.default.createElement(PinActions, { audioTrackID, videoTrackID }), showSpotlight && /* @__PURE__ */ import_react71.default.createElement(SpotlightActions, { peerId: peerID, onSpotLightClick: () => closeSheetOnClick() }), canMinimise && /* @__PURE__ */ import_react71.default.createElement(MinimiseInset, null), /* @__PURE__ */ import_react71.default.createElement(
|
8437
8427
|
StyledMenuTile.ItemButton,
|
8438
8428
|
{
|
@@ -8528,13 +8518,13 @@ var init_useDropdownList = __esm({
|
|
8528
8518
|
});
|
8529
8519
|
|
8530
8520
|
// src/Prebuilt/components/TileMenu/TileMenu.jsx
|
8531
|
-
var import_react73,
|
8521
|
+
var import_react73, import_react_use8, import_react_sdk35, import_react_icons28, TileMenu, TileMenu_default;
|
8532
8522
|
var init_TileMenu2 = __esm({
|
8533
8523
|
"src/Prebuilt/components/TileMenu/TileMenu.jsx"() {
|
8534
8524
|
"use strict";
|
8535
8525
|
init_define_process_env();
|
8536
8526
|
import_react73 = __toESM(require("react"));
|
8537
|
-
|
8527
|
+
import_react_use8 = require("react-use");
|
8538
8528
|
import_react_sdk35 = require("@100mslive/react-sdk");
|
8539
8529
|
import_react_icons28 = require("@100mslive/react-icons");
|
8540
8530
|
init_Layout();
|
@@ -8566,7 +8556,7 @@ var init_TileMenu2 = __esm({
|
|
8566
8556
|
const showPinAction = audioTrackID || videoTrackID && isPrimaryVideoTrack;
|
8567
8557
|
const track = (0, import_react_sdk35.useHMSStore)((0, import_react_sdk35.selectTrackByID)(videoTrackID));
|
8568
8558
|
const hideSimulcastLayers = !((_b7 = track == null ? void 0 : track.layerDefinitions) == null ? void 0 : _b7.length) || track.degraded || !track.enabled;
|
8569
|
-
const isMobile = (0,
|
8559
|
+
const isMobile = (0, import_react_use8.useMedia)(config.media.md);
|
8570
8560
|
const peer = (0, import_react_sdk35.useHMSStore)((0, import_react_sdk35.selectPeerByID)(peerID));
|
8571
8561
|
const [showNameChangeModal, setShowNameChangeModal] = (0, import_react73.useState)(false);
|
8572
8562
|
useDropdownList({ open, name: "TileMenu" });
|
@@ -8843,13 +8833,13 @@ var init_VideoTile2 = __esm({
|
|
8843
8833
|
});
|
8844
8834
|
|
8845
8835
|
// src/Prebuilt/components/Preview/PreviewForm.tsx
|
8846
|
-
var import_react75,
|
8836
|
+
var import_react75, import_react_use9, import_join_form2, import_react_sdk37, import_react_icons30, PreviewForm, Form, PreviewForm_default;
|
8847
8837
|
var init_PreviewForm = __esm({
|
8848
8838
|
"src/Prebuilt/components/Preview/PreviewForm.tsx"() {
|
8849
8839
|
"use strict";
|
8850
8840
|
init_define_process_env();
|
8851
8841
|
import_react75 = __toESM(require("react"));
|
8852
|
-
|
8842
|
+
import_react_use9 = require("react-use");
|
8853
8843
|
import_join_form2 = require("@100mslive/types-prebuilt/elements/join_form");
|
8854
8844
|
import_react_sdk37 = require("@100mslive/react-sdk");
|
8855
8845
|
import_react_icons30 = require("@100mslive/react-icons");
|
@@ -8868,7 +8858,7 @@ var init_PreviewForm = __esm({
|
|
8868
8858
|
const formSubmit = (e) => {
|
8869
8859
|
e.preventDefault();
|
8870
8860
|
};
|
8871
|
-
const isMobile = (0,
|
8861
|
+
const isMobile = (0, import_react_use9.useMedia)(config.media.md);
|
8872
8862
|
const { isHLSRunning } = (0, import_react_sdk37.useRecordingStreaming)();
|
8873
8863
|
const layout = useRoomLayout();
|
8874
8864
|
const { join_form: joinForm = {} } = ((_c = (_b7 = (_a7 = layout == null ? void 0 : layout.screens) == null ? void 0 : _a7.preview) == null ? void 0 : _b7.default) == null ? void 0 : _c.elements) || {};
|
@@ -9165,13 +9155,13 @@ var init_VirtualBackground = __esm({
|
|
9165
9155
|
});
|
9166
9156
|
|
9167
9157
|
// src/Prebuilt/components/Preview/PreviewJoin.tsx
|
9168
|
-
var import_react78,
|
9158
|
+
var import_react78, import_react_use10, import_react_sdk39, import_react_icons32, VirtualBackground2, getParticipantChipContent, PreviewJoin, Container3, PreviewTile, PreviewControls, PreviewSettings, PreviewJoin_default;
|
9169
9159
|
var init_PreviewJoin = __esm({
|
9170
9160
|
"src/Prebuilt/components/Preview/PreviewJoin.tsx"() {
|
9171
9161
|
"use strict";
|
9172
9162
|
init_define_process_env();
|
9173
9163
|
import_react78 = __toESM(require("react"));
|
9174
|
-
|
9164
|
+
import_react_use10 = require("react-use");
|
9175
9165
|
import_react_sdk39 = require("@100mslive/react-sdk");
|
9176
9166
|
import_react_icons32 = require("@100mslive/react-icons");
|
9177
9167
|
init_src();
|
@@ -9319,7 +9309,7 @@ var init_PreviewJoin = __esm({
|
|
9319
9309
|
const track = (0, import_react_sdk39.useHMSStore)(trackSelector);
|
9320
9310
|
const showMuteIcon = !isLocalAudioEnabled || !toggleAudio;
|
9321
9311
|
const videoTrack = (0, import_react_sdk39.useHMSStore)((0, import_react_sdk39.selectVideoTrackByID)(localPeer == null ? void 0 : localPeer.videoTrack));
|
9322
|
-
const isMobile = (0,
|
9312
|
+
const isMobile = (0, import_react_use10.useMedia)(config.media.md);
|
9323
9313
|
const aspectRatio = (videoTrack == null ? void 0 : videoTrack.width) && (videoTrack == null ? void 0 : videoTrack.height) ? videoTrack.width / videoTrack.height : isMobile ? 9 / 16 : 16 / 9;
|
9324
9314
|
return /* @__PURE__ */ import_react78.default.createElement(
|
9325
9315
|
StyledVideoTile.Container,
|
@@ -9349,7 +9339,7 @@ var init_PreviewJoin = __esm({
|
|
9349
9339
|
);
|
9350
9340
|
};
|
9351
9341
|
PreviewControls = ({ hideSettings }) => {
|
9352
|
-
const isMobile = (0,
|
9342
|
+
const isMobile = (0, import_react_use10.useMedia)(config.media.md);
|
9353
9343
|
return /* @__PURE__ */ import_react78.default.createElement(
|
9354
9344
|
Flex,
|
9355
9345
|
{
|
@@ -9372,14 +9362,14 @@ var init_PreviewJoin = __esm({
|
|
9372
9362
|
});
|
9373
9363
|
|
9374
9364
|
// src/Prebuilt/components/Preview/PreviewContainer.tsx
|
9375
|
-
var import_react79, import_react_router_dom4,
|
9365
|
+
var import_react79, import_react_router_dom4, import_react_use11, PreviewContainer, PreviewContainer_default;
|
9376
9366
|
var init_PreviewContainer = __esm({
|
9377
9367
|
"src/Prebuilt/components/Preview/PreviewContainer.tsx"() {
|
9378
9368
|
"use strict";
|
9379
9369
|
init_define_process_env();
|
9380
9370
|
import_react79 = __toESM(require("react"));
|
9381
9371
|
import_react_router_dom4 = require("react-router-dom");
|
9382
|
-
|
9372
|
+
import_react_use11 = require("react-use");
|
9383
9373
|
init_src();
|
9384
9374
|
init_AppContext();
|
9385
9375
|
init_roomLayoutProvider();
|
@@ -9393,7 +9383,7 @@ var init_PreviewContainer = __esm({
|
|
9393
9383
|
const navigate = (0, import_react_router_dom4.useNavigate)();
|
9394
9384
|
const { isPreviewScreenEnabled } = useRoomLayoutPreviewScreen();
|
9395
9385
|
const skipPreview = !isPreviewScreenEnabled;
|
9396
|
-
const previewAsRole = (0,
|
9386
|
+
const previewAsRole = (0, import_react_use11.useSearchParam)(QUERY_PARAM_PREVIEW_AS_ROLE);
|
9397
9387
|
const { userName } = useHMSPrebuiltContext();
|
9398
9388
|
const initialName = userName || (skipPreview ? "Beam" : "");
|
9399
9389
|
const { roomId: urlRoomId, role: userRole } = (0, import_react_router_dom4.useParams)();
|
@@ -9495,7 +9485,7 @@ function FlyingEmoji() {
|
|
9495
9485
|
const localPeerId = (0, import_react_sdk41.useHMSStore)(import_react_sdk41.selectLocalPeerID);
|
9496
9486
|
const vanillaStore = (0, import_react_sdk41.useHMSVanillaStore)();
|
9497
9487
|
const [emojis, setEmojis] = (0, import_react82.useState)([]);
|
9498
|
-
const isMobile = (0,
|
9488
|
+
const isMobile = (0, import_react_use12.useMedia)(config.media.md);
|
9499
9489
|
const startingPoints = (0, import_react82.useMemo)(() => getStartingPoints(isMobile), [isMobile]);
|
9500
9490
|
const showFlyingEmoji = (0, import_react82.useCallback)(
|
9501
9491
|
({ emojiId, senderId }) => {
|
@@ -9587,13 +9577,13 @@ function FlyingEmoji() {
|
|
9587
9577
|
})
|
9588
9578
|
);
|
9589
9579
|
}
|
9590
|
-
var import_react82,
|
9580
|
+
var import_react82, import_react_use12, import_react_sdk41, emojiCount, flyAndFade, wiggleLeftRight, wiggleRightLeft, getStartingPoints;
|
9591
9581
|
var init_FlyingEmoji = __esm({
|
9592
9582
|
"src/Prebuilt/plugins/FlyingEmoji.jsx"() {
|
9593
9583
|
"use strict";
|
9594
9584
|
init_define_process_env();
|
9595
9585
|
import_react82 = __toESM(require("react"));
|
9596
|
-
|
9586
|
+
import_react_use12 = require("react-use");
|
9597
9587
|
import_react_sdk41 = require("@100mslive/react-sdk");
|
9598
9588
|
init_Layout();
|
9599
9589
|
init_Text2();
|
@@ -9777,13 +9767,13 @@ var init_EmojiCard = __esm({
|
|
9777
9767
|
});
|
9778
9768
|
|
9779
9769
|
// src/Prebuilt/components/EmojiReaction.jsx
|
9780
|
-
var import_react87,
|
9770
|
+
var import_react87, import_react_use13, import_apple, import_emoji_mart, import_react_sdk45, import_react_icons33, EmojiReaction;
|
9781
9771
|
var init_EmojiReaction = __esm({
|
9782
9772
|
"src/Prebuilt/components/EmojiReaction.jsx"() {
|
9783
9773
|
"use strict";
|
9784
9774
|
init_define_process_env();
|
9785
9775
|
import_react87 = __toESM(require("react"));
|
9786
|
-
|
9776
|
+
import_react_use13 = require("react-use");
|
9787
9777
|
import_apple = __toESM(require("@emoji-mart/data/sets/14/apple.json"));
|
9788
9778
|
import_emoji_mart = require("emoji-mart");
|
9789
9779
|
import_react_sdk45 = require("@100mslive/react-sdk");
|
@@ -9803,7 +9793,7 @@ var init_EmojiReaction = __esm({
|
|
9803
9793
|
useDropdownList({ open, name: "EmojiReaction" });
|
9804
9794
|
const roles = (0, import_react_sdk45.useHMSStore)(import_react_sdk45.selectAvailableRoleNames);
|
9805
9795
|
const localPeerId = (0, import_react_sdk45.useHMSStore)(import_react_sdk45.selectLocalPeerID);
|
9806
|
-
const isMobile = (0,
|
9796
|
+
const isMobile = (0, import_react_use13.useMedia)(config.media.md);
|
9807
9797
|
const { sendEvent } = (0, import_react_sdk45.useCustomEvent)({
|
9808
9798
|
type: EMOJI_REACTION_TYPE
|
9809
9799
|
});
|
@@ -10010,7 +10000,8 @@ var init_DesktopLeaveRoom = __esm({
|
|
10010
10000
|
init_useDropdownList();
|
10011
10001
|
DesktopLeaveRoom = ({
|
10012
10002
|
leaveRoom,
|
10013
|
-
screenType
|
10003
|
+
screenType,
|
10004
|
+
endRoom
|
10014
10005
|
}) => {
|
10015
10006
|
const [open, setOpen] = (0, import_react91.useState)(false);
|
10016
10007
|
const [showLeaveRoomAlert, setShowLeaveRoomAlert] = (0, import_react91.useState)(false);
|
@@ -10018,12 +10009,12 @@ var init_DesktopLeaveRoom = __esm({
|
|
10018
10009
|
const isConnected = (0, import_react_sdk46.useHMSStore)(import_react_sdk46.selectIsConnectedToRoom);
|
10019
10010
|
const permissions = (0, import_react_sdk46.useHMSStore)(import_react_sdk46.selectPermissions);
|
10020
10011
|
const { isStreamingOn } = (0, import_react_sdk46.useRecordingStreaming)();
|
10021
|
-
const showStream =
|
10012
|
+
const showStream = screenType !== "hls_live_streaming" && isStreamingOn;
|
10022
10013
|
useDropdownList({ open: open || showEndStreamAlert || showLeaveRoomAlert, name: "LeaveRoom" });
|
10023
10014
|
if (!permissions || !isConnected) {
|
10024
10015
|
return null;
|
10025
10016
|
}
|
10026
|
-
return /* @__PURE__ */ import_react91.default.createElement(import_react91.Fragment, null, permissions.hlsStreaming ? /* @__PURE__ */ import_react91.default.createElement(Flex, null, /* @__PURE__ */ import_react91.default.createElement(
|
10017
|
+
return /* @__PURE__ */ import_react91.default.createElement(import_react91.Fragment, null, screenType !== "hls_live_streaming" && ((permissions == null ? void 0 : permissions.hlsStreaming) || (permissions == null ? void 0 : permissions.endRoom)) ? /* @__PURE__ */ import_react91.default.createElement(Flex, null, /* @__PURE__ */ import_react91.default.createElement(
|
10027
10018
|
LeaveIconButton,
|
10028
10019
|
{
|
10029
10020
|
key: "LeaveRoom",
|
@@ -10033,11 +10024,7 @@ var init_DesktopLeaveRoom = __esm({
|
|
10033
10024
|
borderBottomRightRadius: 0
|
10034
10025
|
},
|
10035
10026
|
onClick: () => {
|
10036
|
-
|
10037
|
-
setShowLeaveRoomAlert(true);
|
10038
|
-
} else {
|
10039
|
-
leaveRoom({ endstream: false });
|
10040
|
-
}
|
10027
|
+
leaveRoom({ endstream: false });
|
10041
10028
|
}
|
10042
10029
|
},
|
10043
10030
|
/* @__PURE__ */ import_react91.default.createElement(Tooltip, { title: "Leave Room" }, /* @__PURE__ */ import_react91.default.createElement(Box, null, /* @__PURE__ */ import_react91.default.createElement(import_react_icons36.ExitIcon, { style: { transform: "rotate(180deg)" } })))
|
@@ -10075,7 +10062,7 @@ var init_DesktopLeaveRoom = __esm({
|
|
10075
10062
|
css: { p: 0 }
|
10076
10063
|
}
|
10077
10064
|
)
|
10078
|
-
),
|
10065
|
+
), (permissions == null ? void 0 : permissions.endRoom) || (permissions == null ? void 0 : permissions.hlsStreaming) ? /* @__PURE__ */ import_react91.default.createElement(
|
10079
10066
|
Dropdown.Item,
|
10080
10067
|
{
|
10081
10068
|
css: {
|
@@ -10118,7 +10105,7 @@ var init_DesktopLeaveRoom = __esm({
|
|
10118
10105
|
EndSessionContent,
|
10119
10106
|
{
|
10120
10107
|
setShowEndStreamAlert,
|
10121
|
-
leaveRoom,
|
10108
|
+
leaveRoom: isStreamingOn ? leaveRoom : endRoom,
|
10122
10109
|
isStreamingOn,
|
10123
10110
|
isModal: true
|
10124
10111
|
}
|
@@ -10146,7 +10133,8 @@ var init_MwebLeaveRoom = __esm({
|
|
10146
10133
|
init_useDropdownList();
|
10147
10134
|
MwebLeaveRoom = ({
|
10148
10135
|
leaveRoom,
|
10149
|
-
screenType
|
10136
|
+
screenType,
|
10137
|
+
endRoom
|
10150
10138
|
}) => {
|
10151
10139
|
const [open, setOpen] = (0, import_react92.useState)(false);
|
10152
10140
|
const [showLeaveRoomAlert, setShowLeaveRoomAlert] = (0, import_react92.useState)(false);
|
@@ -10154,12 +10142,12 @@ var init_MwebLeaveRoom = __esm({
|
|
10154
10142
|
const isConnected = (0, import_react_sdk47.useHMSStore)(import_react_sdk47.selectIsConnectedToRoom);
|
10155
10143
|
const permissions = (0, import_react_sdk47.useHMSStore)(import_react_sdk47.selectPermissions);
|
10156
10144
|
const { isStreamingOn } = (0, import_react_sdk47.useRecordingStreaming)();
|
10157
|
-
const showStream =
|
10145
|
+
const showStream = screenType !== "hls_live_streaming" && isStreamingOn;
|
10158
10146
|
useDropdownList({ open, name: "LeaveRoom" });
|
10159
10147
|
if (!permissions || !isConnected) {
|
10160
10148
|
return null;
|
10161
10149
|
}
|
10162
|
-
return /* @__PURE__ */ import_react92.default.createElement(import_react92.Fragment, null,
|
10150
|
+
return /* @__PURE__ */ import_react92.default.createElement(import_react92.Fragment, null, screenType !== "hls_live_streaming" ? /* @__PURE__ */ import_react92.default.createElement(Sheet.Root, { open, onOpenChange: setOpen }, /* @__PURE__ */ import_react92.default.createElement(Sheet.Trigger, { asChild: true }, /* @__PURE__ */ import_react92.default.createElement(
|
10163
10151
|
LeaveIconButton,
|
10164
10152
|
{
|
10165
10153
|
key: "LeaveRoom",
|
@@ -10181,7 +10169,7 @@ var init_MwebLeaveRoom = __esm({
|
|
10181
10169
|
onClick: () => leaveRoom({ endstream: false }),
|
10182
10170
|
css: { pt: 0, mt: "$10", color: "$on_surface_low", "&:hover": { color: "$on_surface_high" } }
|
10183
10171
|
}
|
10184
|
-
),
|
10172
|
+
), (permissions == null ? void 0 : permissions.endRoom) || (permissions == null ? void 0 : permissions.hlsStreaming) ? /* @__PURE__ */ import_react92.default.createElement(
|
10185
10173
|
LeaveCard,
|
10186
10174
|
{
|
10187
10175
|
title: showStream ? "End Stream" : "End Session",
|
@@ -10213,7 +10201,7 @@ var init_MwebLeaveRoom = __esm({
|
|
10213
10201
|
EndSessionContent,
|
10214
10202
|
{
|
10215
10203
|
setShowEndStreamAlert,
|
10216
|
-
leaveRoom,
|
10204
|
+
leaveRoom: isStreamingOn ? leaveRoom : endRoom,
|
10217
10205
|
isStreamingOn
|
10218
10206
|
}
|
10219
10207
|
))), screenType === "hls_live_streaming" ? /* @__PURE__ */ import_react92.default.createElement(Sheet.Root, { open: showLeaveRoomAlert, onOpenChange: setShowLeaveRoomAlert }, /* @__PURE__ */ import_react92.default.createElement(Sheet.Content, { css: { bg: "$surface_dim", p: "$10", pb: "$12" } }, /* @__PURE__ */ import_react92.default.createElement(LeaveSessionContent, { setShowLeaveRoomAlert, leaveRoom }))) : null);
|
@@ -10222,13 +10210,13 @@ var init_MwebLeaveRoom = __esm({
|
|
10222
10210
|
});
|
10223
10211
|
|
10224
10212
|
// src/Prebuilt/components/Leave/LeaveRoom.tsx
|
10225
|
-
var import_react93,
|
10213
|
+
var import_react93, import_react_use14, import_react_sdk48, LeaveRoom;
|
10226
10214
|
var init_LeaveRoom = __esm({
|
10227
10215
|
"src/Prebuilt/components/Leave/LeaveRoom.tsx"() {
|
10228
10216
|
"use strict";
|
10229
10217
|
init_define_process_env();
|
10230
10218
|
import_react93 = __toESM(require("react"));
|
10231
|
-
|
10219
|
+
import_react_use14 = require("react-use");
|
10232
10220
|
import_react_sdk48 = require("@100mslive/react-sdk");
|
10233
10221
|
init_Theme();
|
10234
10222
|
init_ToastManager();
|
@@ -10238,7 +10226,7 @@ var init_LeaveRoom = __esm({
|
|
10238
10226
|
LeaveRoom = ({ screenType }) => {
|
10239
10227
|
const isConnected = (0, import_react_sdk48.useHMSStore)(import_react_sdk48.selectIsConnectedToRoom);
|
10240
10228
|
const permissions = (0, import_react_sdk48.useHMSStore)(import_react_sdk48.selectPermissions);
|
10241
|
-
const isMobile = (0,
|
10229
|
+
const isMobile = (0, import_react_use14.useMedia)(config.media.md);
|
10242
10230
|
const rolesMap = (0, import_react_sdk48.useHMSStore)(import_react_sdk48.selectRolesMap);
|
10243
10231
|
const streamingPermissionRoles = Object.keys(rolesMap).filter((roleName) => {
|
10244
10232
|
const roleObj = rolesMap[roleName];
|
@@ -10260,6 +10248,10 @@ var init_LeaveRoom = __esm({
|
|
10260
10248
|
ToastManager.addToast({ title: "Error in stopping the stream", type: "error" });
|
10261
10249
|
}
|
10262
10250
|
});
|
10251
|
+
const endRoom = () => {
|
10252
|
+
hmsActions.endRoom(false, "End Room");
|
10253
|
+
redirectToLeave();
|
10254
|
+
};
|
10263
10255
|
const leaveRoom = (_0) => __async(void 0, [_0], function* ({ endstream = false }) {
|
10264
10256
|
if (endstream || hlsState.running && peersWithStreamingRights.length === 1) {
|
10265
10257
|
yield stopStream();
|
@@ -10270,7 +10262,7 @@ var init_LeaveRoom = __esm({
|
|
10270
10262
|
if (!permissions || !isConnected) {
|
10271
10263
|
return null;
|
10272
10264
|
}
|
10273
|
-
return isMobile ? /* @__PURE__ */ import_react93.default.createElement(MwebLeaveRoom, { leaveRoom, screenType }) : /* @__PURE__ */ import_react93.default.createElement(DesktopLeaveRoom, { leaveRoom, screenType });
|
10265
|
+
return isMobile ? /* @__PURE__ */ import_react93.default.createElement(MwebLeaveRoom, { leaveRoom, screenType, endRoom }) : /* @__PURE__ */ import_react93.default.createElement(DesktopLeaveRoom, { leaveRoom, screenType, endRoom });
|
10274
10266
|
};
|
10275
10267
|
}
|
10276
10268
|
});
|
@@ -11736,13 +11728,13 @@ var init_DesktopOptions = __esm({
|
|
11736
11728
|
});
|
11737
11729
|
|
11738
11730
|
// src/Prebuilt/components/MoreSettings/SplitComponents/MwebOptions.tsx
|
11739
|
-
var import_react108,
|
11731
|
+
var import_react108, import_react_use15, import_react_sdk59, import_react_icons48, MODALS2, MwebOptions;
|
11740
11732
|
var init_MwebOptions = __esm({
|
11741
11733
|
"src/Prebuilt/components/MoreSettings/SplitComponents/MwebOptions.tsx"() {
|
11742
11734
|
"use strict";
|
11743
11735
|
init_define_process_env();
|
11744
11736
|
import_react108 = __toESM(require("react"));
|
11745
|
-
|
11737
|
+
import_react_use15 = require("react-use");
|
11746
11738
|
import_react_sdk59 = require("@100mslive/react-sdk");
|
11747
11739
|
import_react_icons48 = require("@100mslive/react-icons");
|
11748
11740
|
init_src();
|
@@ -11801,7 +11793,7 @@ var init_MwebOptions = __esm({
|
|
11801
11793
|
return copy;
|
11802
11794
|
});
|
11803
11795
|
};
|
11804
|
-
(0,
|
11796
|
+
(0, import_react_use15.useClickAway)(emojiCardRef, () => setShowEmojiCard(false));
|
11805
11797
|
return /* @__PURE__ */ import_react108.default.createElement(import_react108.default.Fragment, null, /* @__PURE__ */ import_react108.default.createElement(Sheet.Root, { open: openOptionsSheet, onOpenChange: setOpenOptionsSheet }, /* @__PURE__ */ import_react108.default.createElement(Tooltip, { title: "More options" }, /* @__PURE__ */ import_react108.default.createElement(Sheet.Trigger, { asChild: true, "data-testid": "more_settings_btn" }, /* @__PURE__ */ import_react108.default.createElement(IconButton_default, null, /* @__PURE__ */ import_react108.default.createElement(import_react_icons48.DragHandleIcon, null)))), /* @__PURE__ */ import_react108.default.createElement(Sheet.Content, { css: { bg: "$surface_dim", pb: "$14" } }, /* @__PURE__ */ import_react108.default.createElement(
|
11806
11798
|
Sheet.Title,
|
11807
11799
|
{
|
@@ -11984,13 +11976,13 @@ var init_MwebOptions = __esm({
|
|
11984
11976
|
});
|
11985
11977
|
|
11986
11978
|
// src/Prebuilt/components/MoreSettings/MoreSettings.tsx
|
11987
|
-
var import_react109,
|
11979
|
+
var import_react109, import_react_use16, MoreSettings;
|
11988
11980
|
var init_MoreSettings = __esm({
|
11989
11981
|
"src/Prebuilt/components/MoreSettings/MoreSettings.tsx"() {
|
11990
11982
|
"use strict";
|
11991
11983
|
init_define_process_env();
|
11992
11984
|
import_react109 = __toESM(require("react"));
|
11993
|
-
|
11985
|
+
import_react_use16 = require("react-use");
|
11994
11986
|
init_DesktopOptions();
|
11995
11987
|
init_MwebOptions();
|
11996
11988
|
init_src();
|
@@ -11998,7 +11990,7 @@ var init_MoreSettings = __esm({
|
|
11998
11990
|
elements,
|
11999
11991
|
screenType
|
12000
11992
|
}) => {
|
12001
|
-
const isMobile = (0,
|
11993
|
+
const isMobile = (0, import_react_use16.useMedia)(config.media.md);
|
12002
11994
|
return isMobile ? /* @__PURE__ */ import_react109.default.createElement(MwebOptions, { elements, screenType }) : /* @__PURE__ */ import_react109.default.createElement(DesktopOptions, { elements, screenType });
|
12003
11995
|
};
|
12004
11996
|
}
|
@@ -12770,13 +12762,13 @@ var init_RoleOptions = __esm({
|
|
12770
12762
|
function itemKey(index, data3) {
|
12771
12763
|
return data3.peerList[index].id;
|
12772
12764
|
}
|
12773
|
-
var import_react120,
|
12765
|
+
var import_react120, import_react_use17, import_react_window, ROW_HEIGHT, VirtualizedParticipantItem, RoleAccordion;
|
12774
12766
|
var init_RoleAccordion = __esm({
|
12775
12767
|
"src/Prebuilt/components/Footer/RoleAccordion.tsx"() {
|
12776
12768
|
"use strict";
|
12777
12769
|
init_define_process_env();
|
12778
12770
|
import_react120 = __toESM(require("react"));
|
12779
|
-
|
12771
|
+
import_react_use17 = require("react-use");
|
12780
12772
|
import_react_window = require("react-window");
|
12781
12773
|
init_Accordion2();
|
12782
12774
|
init_Layout();
|
@@ -12795,13 +12787,13 @@ var init_RoleAccordion = __esm({
|
|
12795
12787
|
filter,
|
12796
12788
|
isHandRaisedAccordion = false
|
12797
12789
|
}) => {
|
12798
|
-
const [ref, { width }] = (0,
|
12790
|
+
const [ref, { width }] = (0, import_react_use17.useMeasure)();
|
12799
12791
|
const showAcordion = (filter == null ? void 0 : filter.search) ? peerList.some((peer) => peer.name.toLowerCase().includes(filter.search)) : true;
|
12800
12792
|
if (!showAcordion || isHandRaisedAccordion && (filter == null ? void 0 : filter.search) || peerList.length === 0) {
|
12801
12793
|
return null;
|
12802
12794
|
}
|
12803
12795
|
const height = ROW_HEIGHT * peerList.length;
|
12804
|
-
return /* @__PURE__ */ import_react120.default.createElement(Flex, { direction: "column", css: {
|
12796
|
+
return /* @__PURE__ */ import_react120.default.createElement(Flex, { direction: "column", css: { "&:hover .role_actions": { visibility: "visible" } }, ref }, /* @__PURE__ */ import_react120.default.createElement(
|
12805
12797
|
Accordion.Root,
|
12806
12798
|
{
|
12807
12799
|
type: "single",
|
@@ -12849,13 +12841,13 @@ var init_RoleAccordion = __esm({
|
|
12849
12841
|
});
|
12850
12842
|
|
12851
12843
|
// src/Prebuilt/components/Footer/ParticipantList.jsx
|
12852
|
-
var import_react121,
|
12844
|
+
var import_react121, import_react_use18, import_react_sdk65, import_react_icons56, ParticipantList, ParticipantCount, VirtualizedParticipants, Participant, ParticipantActions, ParticipantMoreActions, ParticipantSearch;
|
12853
12845
|
var init_ParticipantList = __esm({
|
12854
12846
|
"src/Prebuilt/components/Footer/ParticipantList.jsx"() {
|
12855
12847
|
"use strict";
|
12856
12848
|
init_define_process_env();
|
12857
12849
|
import_react121 = __toESM(require("react"));
|
12858
|
-
|
12850
|
+
import_react_use18 = require("react-use");
|
12859
12851
|
import_react_sdk65 = require("@100mslive/react-sdk");
|
12860
12852
|
import_react_icons56 = require("@100mslive/react-icons");
|
12861
12853
|
init_src();
|
@@ -12943,10 +12935,11 @@ var init_ParticipantList = __esm({
|
|
12943
12935
|
direction: "column",
|
12944
12936
|
css: {
|
12945
12937
|
gap: "$8",
|
12946
|
-
maxHeight: "100%",
|
12947
12938
|
overflowY: "auto",
|
12948
12939
|
overflowX: "hidden",
|
12949
|
-
pr: "$
|
12940
|
+
pr: "$10",
|
12941
|
+
mr: "-$10",
|
12942
|
+
flex: "1 1 0"
|
12950
12943
|
}
|
12951
12944
|
},
|
12952
12945
|
/* @__PURE__ */ import_react121.default.createElement(
|
@@ -13093,8 +13086,8 @@ var init_ParticipantList = __esm({
|
|
13093
13086
|
};
|
13094
13087
|
ParticipantSearch = ({ onSearch, placeholder, inSidePane = false }) => {
|
13095
13088
|
const [value, setValue] = import_react121.default.useState("");
|
13096
|
-
const isMobile = (0,
|
13097
|
-
(0,
|
13089
|
+
const isMobile = (0, import_react_use18.useMedia)(config.media.md);
|
13090
|
+
(0, import_react_use18.useDebounce)(
|
13098
13091
|
() => {
|
13099
13092
|
onSearch(value);
|
13100
13093
|
},
|
@@ -13106,7 +13099,7 @@ var init_ParticipantList = __esm({
|
|
13106
13099
|
{
|
13107
13100
|
align: "center",
|
13108
13101
|
css: {
|
13109
|
-
p: isMobile ? "
|
13102
|
+
p: isMobile ? "0" : "$2 0",
|
13110
13103
|
mb: "$2",
|
13111
13104
|
position: "relative",
|
13112
13105
|
color: "$on_surface_medium",
|
@@ -13137,13 +13130,13 @@ var init_ParticipantList = __esm({
|
|
13137
13130
|
});
|
13138
13131
|
|
13139
13132
|
// src/Prebuilt/components/Footer/Footer.tsx
|
13140
|
-
var import_react122,
|
13133
|
+
var import_react122, import_react_use19, import_chat, VirtualBackground3, Footer2;
|
13141
13134
|
var init_Footer3 = __esm({
|
13142
13135
|
"src/Prebuilt/components/Footer/Footer.tsx"() {
|
13143
13136
|
"use strict";
|
13144
13137
|
init_define_process_env();
|
13145
13138
|
import_react122 = __toESM(require("react"));
|
13146
|
-
|
13139
|
+
import_react_use19 = require("react-use");
|
13147
13140
|
import_chat = require("@100mslive/types-prebuilt/elements/chat");
|
13148
13141
|
init_src();
|
13149
13142
|
init_AudioVideoToggle();
|
@@ -13162,7 +13155,7 @@ var init_Footer3 = __esm({
|
|
13162
13155
|
elements
|
13163
13156
|
}) => {
|
13164
13157
|
var _a7, _b7;
|
13165
|
-
const isMobile = (0,
|
13158
|
+
const isMobile = (0, import_react_use19.useMedia)(config.media.md);
|
13166
13159
|
const isOverlayChat = !!((_a7 = elements == null ? void 0 : elements.chat) == null ? void 0 : _a7.is_overlay);
|
13167
13160
|
const openByDefault = ((_b7 = elements == null ? void 0 : elements.chat) == null ? void 0 : _b7.initial_state) === import_chat.Chat_ChatState.CHAT_STATE_OPEN;
|
13168
13161
|
const isChatOpen = useIsSidepaneTypeOpen(SIDE_PANE_OPTIONS.CHAT);
|
@@ -13182,7 +13175,7 @@ var init_Footer3 = __esm({
|
|
13182
13175
|
gap: "$10",
|
13183
13176
|
position: "relative",
|
13184
13177
|
// To prevent it from showing over the sidepane if chat type is not overlay
|
13185
|
-
zIndex: isOverlayChat ? 20 : 1
|
13178
|
+
zIndex: isOverlayChat && isChatOpen ? 20 : 1
|
13186
13179
|
}
|
13187
13180
|
}
|
13188
13181
|
},
|
@@ -13305,14 +13298,14 @@ var init_useVideoTileLayout = __esm({
|
|
13305
13298
|
});
|
13306
13299
|
|
13307
13300
|
// src/Prebuilt/components/InsetTile.tsx
|
13308
|
-
var import_react125, import_react_draggable,
|
13301
|
+
var import_react125, import_react_draggable, import_react_use20, import_react_sdk67, import_react_icons57, MinimisedTile, insetHeightPx, insetMaxWidthPx, defaultMobileAspectRatio, desktopAspectRatio, InsetTile;
|
13309
13302
|
var init_InsetTile = __esm({
|
13310
13303
|
"src/Prebuilt/components/InsetTile.tsx"() {
|
13311
13304
|
"use strict";
|
13312
13305
|
init_define_process_env();
|
13313
13306
|
import_react125 = __toESM(require("react"));
|
13314
13307
|
import_react_draggable = __toESM(require("react-draggable"));
|
13315
|
-
|
13308
|
+
import_react_use20 = require("react-use");
|
13316
13309
|
import_react_sdk67 = require("@100mslive/react-sdk");
|
13317
13310
|
import_react_icons57 = require("@100mslive/react-icons");
|
13318
13311
|
init_Layout();
|
@@ -13340,8 +13333,8 @@ var init_InsetTile = __esm({
|
|
13340
13333
|
defaultMobileAspectRatio = 9 / 16;
|
13341
13334
|
desktopAspectRatio = 1 / defaultMobileAspectRatio;
|
13342
13335
|
InsetTile = () => {
|
13343
|
-
const isMobile = (0,
|
13344
|
-
const isLandscape = (0,
|
13336
|
+
const isMobile = (0, import_react_use20.useMedia)(config.media.md);
|
13337
|
+
const isLandscape = (0, import_react_use20.useMedia)(config.media.ls);
|
13345
13338
|
const localPeer = (0, import_react_sdk67.useHMSStore)(import_react_sdk67.selectLocalPeer);
|
13346
13339
|
const [minimised, setMinimised] = useSetAppDataByKey(APP_DATA.minimiseInset);
|
13347
13340
|
const videoTrack = (0, import_react_sdk67.useHMSStore)((0, import_react_sdk67.selectVideoTrackByID)(localPeer == null ? void 0 : localPeer.videoTrack));
|
@@ -13516,13 +13509,13 @@ var init_Grid = __esm({
|
|
13516
13509
|
});
|
13517
13510
|
|
13518
13511
|
// src/Prebuilt/components/hooks/useTileLayout.tsx
|
13519
|
-
var import_react128,
|
13512
|
+
var import_react128, import_react_use21, import_react_sdk68, aspectRatioConfig, usePagesWithTiles, useTileLayout;
|
13520
13513
|
var init_useTileLayout = __esm({
|
13521
13514
|
"src/Prebuilt/components/hooks/useTileLayout.tsx"() {
|
13522
13515
|
"use strict";
|
13523
13516
|
init_define_process_env();
|
13524
13517
|
import_react128 = require("react");
|
13525
|
-
|
13518
|
+
import_react_use21 = require("react-use");
|
13526
13519
|
import_react_sdk68 = require("@100mslive/react-sdk");
|
13527
13520
|
init_Theme();
|
13528
13521
|
aspectRatioConfig = { default: [1 / 1, 4 / 3, 16 / 9], mobile: [1 / 1, 3 / 4, 9 / 16] };
|
@@ -13554,8 +13547,8 @@ var init_useTileLayout = __esm({
|
|
13554
13547
|
edgeToEdge = false
|
13555
13548
|
}) => {
|
13556
13549
|
const vanillaStore = (0, import_react_sdk68.useHMSVanillaStore)();
|
13557
|
-
const [ref, { width, height }] = (0,
|
13558
|
-
const isMobile = (0,
|
13550
|
+
const [ref, { width, height }] = (0, import_react_use21.useMeasure)();
|
13551
|
+
const isMobile = (0, import_react_use21.useMedia)(config.media.lg);
|
13559
13552
|
const [pagesWithTiles, setPagesWithTiles] = (0, import_react128.useState)([]);
|
13560
13553
|
(0, import_react128.useEffect)(() => {
|
13561
13554
|
if (width === 0 || height === 0) {
|
@@ -13627,7 +13620,7 @@ var init_useTileLayout = __esm({
|
|
13627
13620
|
function EqualProminence({ isInsetEnabled = false, peers, onPageChange, onPageSize, edgeToEdge }) {
|
13628
13621
|
var _a7;
|
13629
13622
|
const localPeer = (0, import_react_sdk69.useHMSStore)(import_react_sdk69.selectLocalPeer);
|
13630
|
-
const isMobile = (0,
|
13623
|
+
const isMobile = (0, import_react_use22.useMedia)(config.media.md);
|
13631
13624
|
let maxTileCount = useUISettings(UI_SETTINGS.maxTileCount);
|
13632
13625
|
maxTileCount = isMobile ? Math.min(maxTileCount, 6) : maxTileCount;
|
13633
13626
|
let pageList = usePagesWithTiles({
|
@@ -13666,13 +13659,13 @@ function EqualProminence({ isInsetEnabled = false, peers, onPageChange, onPageSi
|
|
13666
13659
|
}
|
13667
13660
|
), isInsetEnabled && pageList.length > 0 && pageList[0][0].peer.id !== (localPeer == null ? void 0 : localPeer.id) && /* @__PURE__ */ import_react129.default.createElement(InsetTile, null));
|
13668
13661
|
}
|
13669
|
-
var import_react129,
|
13662
|
+
var import_react129, import_react_use22, import_react_sdk69;
|
13670
13663
|
var init_EqualProminence = __esm({
|
13671
13664
|
"src/Prebuilt/components/VideoLayouts/EqualProminence.tsx"() {
|
13672
13665
|
"use strict";
|
13673
13666
|
init_define_process_env();
|
13674
13667
|
import_react129 = __toESM(require("react"));
|
13675
|
-
|
13668
|
+
import_react_use22 = require("react-use");
|
13676
13669
|
import_react_sdk69 = require("@100mslive/react-sdk");
|
13677
13670
|
init_Layout();
|
13678
13671
|
init_Theme();
|
@@ -13759,20 +13752,20 @@ var init_ProminenceLayout = __esm({
|
|
13759
13752
|
});
|
13760
13753
|
|
13761
13754
|
// src/Prebuilt/components/SecondaryTiles.tsx
|
13762
|
-
var import_react131,
|
13755
|
+
var import_react131, import_react_use23, SecondaryTiles;
|
13763
13756
|
var init_SecondaryTiles = __esm({
|
13764
13757
|
"src/Prebuilt/components/SecondaryTiles.tsx"() {
|
13765
13758
|
"use strict";
|
13766
13759
|
init_define_process_env();
|
13767
13760
|
import_react131 = __toESM(require("react"));
|
13768
|
-
|
13761
|
+
import_react_use23 = require("react-use");
|
13769
13762
|
init_ProminenceLayout();
|
13770
13763
|
init_Theme();
|
13771
13764
|
init_Pagination2();
|
13772
13765
|
init_useTileLayout();
|
13773
13766
|
SecondaryTiles = ({ peers, onPageChange, onPageSize, edgeToEdge }) => {
|
13774
13767
|
var _a7;
|
13775
|
-
const isMobile = (0,
|
13768
|
+
const isMobile = (0, import_react_use23.useMedia)(config.media.md);
|
13776
13769
|
const maxTileCount = isMobile ? 2 : 4;
|
13777
13770
|
const pagesWithTiles = usePagesWithTiles({ peers, maxTileCount });
|
13778
13771
|
const [page, setPage] = (0, import_react131.useState)(0);
|
@@ -13943,13 +13936,13 @@ var init_ScreenshareDisplay = __esm({
|
|
13943
13936
|
});
|
13944
13937
|
|
13945
13938
|
// src/Prebuilt/components/ScreenshareTile.jsx
|
13946
|
-
var import_react135,
|
13939
|
+
var import_react135, import_react_use24, import_screenfull2, import_react_sdk72, import_react_icons60, labelStyles, Tile2, ScreenshareTile, ScreenshareTile_default;
|
13947
13940
|
var init_ScreenshareTile = __esm({
|
13948
13941
|
"src/Prebuilt/components/ScreenshareTile.jsx"() {
|
13949
13942
|
"use strict";
|
13950
13943
|
init_define_process_env();
|
13951
13944
|
import_react135 = __toESM(require("react"));
|
13952
|
-
|
13945
|
+
import_react_use24 = require("react-use");
|
13953
13946
|
import_screenfull2 = __toESM(require("screenfull"));
|
13954
13947
|
import_react_sdk72 = require("@100mslive/react-sdk");
|
13955
13948
|
import_react_icons60 = require("@100mslive/react-icons");
|
@@ -13976,14 +13969,9 @@ var init_ScreenshareTile = __esm({
|
|
13976
13969
|
const isAudioOnly = useUISettings(UI_SETTINGS.isAudioOnly);
|
13977
13970
|
const [isMouseHovered, setIsMouseHovered] = (0, import_react135.useState)(false);
|
13978
13971
|
const showStatsOnTiles = useUISettings(UI_SETTINGS.showStatsOnTiles);
|
13979
|
-
const label = getVideoTileLabel({
|
13980
|
-
peerName: peer.name,
|
13981
|
-
isLocal: false,
|
13982
|
-
track
|
13983
|
-
});
|
13984
13972
|
const fullscreenRef = (0, import_react135.useRef)(null);
|
13985
13973
|
const [fullscreen, setFullscreen] = (0, import_react135.useState)(false);
|
13986
|
-
const isFullscreen = (0,
|
13974
|
+
const isFullscreen = (0, import_react_use24.useFullscreen)(fullscreenRef, fullscreen, {
|
13987
13975
|
onClose: () => setFullscreen(false)
|
13988
13976
|
});
|
13989
13977
|
const isFullScreenSupported = import_screenfull2.default.isEnabled;
|
@@ -13994,6 +13982,11 @@ var init_ScreenshareTile = __esm({
|
|
13994
13982
|
if (!peer) {
|
13995
13983
|
return null;
|
13996
13984
|
}
|
13985
|
+
const label = getVideoTileLabel({
|
13986
|
+
peerName: peer == null ? void 0 : peer.name,
|
13987
|
+
isLocal: false,
|
13988
|
+
track
|
13989
|
+
});
|
13997
13990
|
return /* @__PURE__ */ import_react135.default.createElement(StyledVideoTile.Root, { css: { width, height, p: 0, minHeight: 0 }, "data-testid": "screenshare_tile" }, /* @__PURE__ */ import_react135.default.createElement(
|
13998
13991
|
StyledVideoTile.Container,
|
13999
13992
|
{
|
@@ -14018,7 +14011,16 @@ var init_ScreenshareTile = __esm({
|
|
14018
14011
|
}
|
14019
14012
|
) : null,
|
14020
14013
|
/* @__PURE__ */ import_react135.default.createElement(StyledVideoTile.Info, { css: labelStyles }, label),
|
14021
|
-
isMouseHovered && !
|
14014
|
+
isMouseHovered && !peer.isLocal ? /* @__PURE__ */ import_react135.default.createElement(
|
14015
|
+
TileMenu_default,
|
14016
|
+
{
|
14017
|
+
isScreenshare: true,
|
14018
|
+
peerID: peer.id,
|
14019
|
+
audioTrackID: audioTrack == null ? void 0 : audioTrack.id,
|
14020
|
+
videoTrackID: track == null ? void 0 : track.id,
|
14021
|
+
enableSpotlightingPeer: false
|
14022
|
+
}
|
14023
|
+
) : null
|
14022
14024
|
));
|
14023
14025
|
};
|
14024
14026
|
ScreenshareTile = import_react135.default.memo(Tile2);
|
@@ -14027,13 +14029,13 @@ var init_ScreenshareTile = __esm({
|
|
14027
14029
|
});
|
14028
14030
|
|
14029
14031
|
// src/Prebuilt/components/VideoLayouts/ScreenshareLayout.tsx
|
14030
|
-
var import_react136,
|
14032
|
+
var import_react136, import_react_use25, import_react_sdk73, ScreenshareLayout;
|
14031
14033
|
var init_ScreenshareLayout = __esm({
|
14032
14034
|
"src/Prebuilt/components/VideoLayouts/ScreenshareLayout.tsx"() {
|
14033
14035
|
"use strict";
|
14034
14036
|
init_define_process_env();
|
14035
14037
|
import_react136 = __toESM(require("react"));
|
14036
|
-
|
14038
|
+
import_react_use25 = require("react-use");
|
14037
14039
|
import_react_sdk73 = require("@100mslive/react-sdk");
|
14038
14040
|
init_Theme();
|
14039
14041
|
init_Pagination2();
|
@@ -14048,7 +14050,7 @@ var init_ScreenshareLayout = __esm({
|
|
14048
14050
|
const [, setActiveScreenSharePeer] = useSetAppDataByKey(APP_DATA.activeScreensharePeerId);
|
14049
14051
|
const [page, setPage] = (0, import_react136.useState)(0);
|
14050
14052
|
const activeSharePeer = peersSharing[page];
|
14051
|
-
const isMobile = (0,
|
14053
|
+
const isMobile = (0, import_react_use25.useMedia)(config.media.md);
|
14052
14054
|
const secondaryPeers = (0, import_react136.useMemo)(
|
14053
14055
|
() => isMobile ? activeSharePeer ? [activeSharePeer, ...peers.filter((p) => p.id !== (activeSharePeer == null ? void 0 : activeSharePeer.id))] : peers : peers.filter((p) => p.id !== (activeSharePeer == null ? void 0 : activeSharePeer.id)),
|
14054
14056
|
[activeSharePeer, peers, isMobile]
|
@@ -14482,14 +14484,14 @@ var init_useSetPinnedMessage = __esm({
|
|
14482
14484
|
});
|
14483
14485
|
|
14484
14486
|
// src/Prebuilt/components/Chat/ChatBody.jsx
|
14485
|
-
var import_react141, import_react_intersection_observer,
|
14487
|
+
var import_react141, import_react_intersection_observer, import_react_use26, import_react_virtualized_auto_sizer, import_react_window2, import_react_sdk79, import_react_icons61, formatTime2, MessageTypeContainer, MessageType, URL_REGEX, Link3, AnnotisedMessage, getMessageType, ChatActions, SenderName, ChatMessage, ChatList, VirtualizedChatMessages, ChatBody;
|
14486
14488
|
var init_ChatBody = __esm({
|
14487
14489
|
"src/Prebuilt/components/Chat/ChatBody.jsx"() {
|
14488
14490
|
"use strict";
|
14489
14491
|
init_define_process_env();
|
14490
14492
|
import_react141 = __toESM(require("react"));
|
14491
14493
|
import_react_intersection_observer = require("react-intersection-observer");
|
14492
|
-
|
14494
|
+
import_react_use26 = require("react-use");
|
14493
14495
|
import_react_virtualized_auto_sizer = __toESM(require("react-virtualized-auto-sizer"));
|
14494
14496
|
import_react_window2 = require("react-window");
|
14495
14497
|
import_react_sdk79 = require("@100mslive/react-sdk");
|
@@ -14608,7 +14610,7 @@ var init_ChatBody = __esm({
|
|
14608
14610
|
setRowHeight(index, rowRef.current.clientHeight);
|
14609
14611
|
}
|
14610
14612
|
}, [index, setRowHeight]);
|
14611
|
-
const isMobile = (0,
|
14613
|
+
const isMobile = (0, import_react_use26.useMedia)(config.media.md);
|
14612
14614
|
const { elements } = useRoomLayoutConferencingScreen();
|
14613
14615
|
const isOverlay = ((_a7 = elements == null ? void 0 : elements.chat) == null ? void 0 : _a7.is_overlay) && isMobile;
|
14614
14616
|
const hmsActions = (0, import_react_sdk79.useHMSActions)();
|
@@ -14786,7 +14788,7 @@ var init_ChatBody = __esm({
|
|
14786
14788
|
const storeMessageSelector = role ? (0, import_react_sdk79.selectMessagesByRole)(role) : peerId ? (0, import_react_sdk79.selectMessagesByPeerID)(peerId) : import_react_sdk79.selectHMSMessages;
|
14787
14789
|
let messages = (0, import_react_sdk79.useHMSStore)(storeMessageSelector);
|
14788
14790
|
messages = (0, import_react141.useMemo)(() => (messages == null ? void 0 : messages.filter((message) => message.type === "chat")) || [], [messages]);
|
14789
|
-
const isMobile = (0,
|
14791
|
+
const isMobile = (0, import_react_use26.useMedia)(config.media.md);
|
14790
14792
|
const { elements } = useRoomLayoutConferencingScreen();
|
14791
14793
|
if (messages.length === 0 && !(isMobile && ((_a7 = elements == null ? void 0 : elements.chat) == null ? void 0 : _a7.is_overlay))) {
|
14792
14794
|
return /* @__PURE__ */ import_react141.default.createElement(
|
@@ -14868,6 +14870,7 @@ var init_useEmojiPickerStyles = __esm({
|
|
14868
14870
|
font-family: var(--hms-ui-fonts-sans);
|
14869
14871
|
}
|
14870
14872
|
.sticky {
|
14873
|
+
top: 0.25rem;
|
14871
14874
|
background-color: var(--hms-ui-colors-surface_bright);
|
14872
14875
|
margin-top: 0.5rem;
|
14873
14876
|
}
|
@@ -14908,13 +14911,13 @@ function EmojiPicker({ onSelect }) {
|
|
14908
14911
|
)
|
14909
14912
|
)));
|
14910
14913
|
}
|
14911
|
-
var import_react144,
|
14914
|
+
var import_react144, import_react_use27, import_data, import_react145, import_react_sdk81, import_react_icons62, TextArea, ChatFooter;
|
14912
14915
|
var init_ChatFooter = __esm({
|
14913
14916
|
"src/Prebuilt/components/Chat/ChatFooter.tsx"() {
|
14914
14917
|
"use strict";
|
14915
14918
|
init_define_process_env();
|
14916
14919
|
import_react144 = __toESM(require("react"));
|
14917
|
-
|
14920
|
+
import_react_use27 = require("react-use");
|
14918
14921
|
import_data = __toESM(require("@emoji-mart/data"));
|
14919
14922
|
import_react145 = __toESM(require("@emoji-mart/react"));
|
14920
14923
|
import_react_sdk81 = require("@100mslive/react-sdk");
|
@@ -14951,7 +14954,7 @@ var init_ChatFooter = __esm({
|
|
14951
14954
|
const hmsActions = (0, import_react_sdk81.useHMSActions)();
|
14952
14955
|
const inputRef = (0, import_react144.useRef)(null);
|
14953
14956
|
const [draftMessage, setDraftMessage] = useChatDraftMessage();
|
14954
|
-
const isMobile = (0,
|
14957
|
+
const isMobile = (0, import_react_use27.useMedia)(config.media.md);
|
14955
14958
|
const { elements } = useRoomLayoutConferencingScreen();
|
14956
14959
|
const isOverlayChat = (_a7 = elements == null ? void 0 : elements.chat) == null ? void 0 : _a7.is_overlay;
|
14957
14960
|
const sendMessage = (0, import_react144.useCallback)(() => __async(void 0, null, function* () {
|
@@ -15083,13 +15086,13 @@ var init_useUnreadCount = __esm({
|
|
15083
15086
|
});
|
15084
15087
|
|
15085
15088
|
// src/Prebuilt/components/Chat/Chat.jsx
|
15086
|
-
var import_react146,
|
15089
|
+
var import_react146, import_react_use28, import_react_sdk83, import_react_icons63, PINNED_MESSAGE_LENGTH, PinnedMessage, Chat, NewMessageIndicator;
|
15087
15090
|
var init_Chat = __esm({
|
15088
15091
|
"src/Prebuilt/components/Chat/Chat.jsx"() {
|
15089
15092
|
"use strict";
|
15090
15093
|
init_define_process_env();
|
15091
15094
|
import_react146 = __toESM(require("react"));
|
15092
|
-
|
15095
|
+
import_react_use28 = require("react-use");
|
15093
15096
|
import_react_sdk83 = require("@100mslive/react-sdk");
|
15094
15097
|
import_react_icons63 = require("@100mslive/react-icons");
|
15095
15098
|
init_Button2();
|
@@ -15139,8 +15142,8 @@ var init_Chat = __esm({
|
|
15139
15142
|
)
|
15140
15143
|
) : null;
|
15141
15144
|
};
|
15142
|
-
Chat = ({ screenType
|
15143
|
-
var _a7, _b7
|
15145
|
+
Chat = ({ screenType }) => {
|
15146
|
+
var _a7, _b7;
|
15144
15147
|
const notification = (0, import_react_sdk83.useHMSNotifications)(import_react_sdk83.HMSNotificationTypes.PEER_LEFT);
|
15145
15148
|
const [peerSelector, setPeerSelector] = useSetSubscribedChatSelector(CHAT_SELECTOR.PEER_ID);
|
15146
15149
|
const [roleSelector, setRoleSelector] = useSetSubscribedChatSelector(CHAT_SELECTOR.ROLE);
|
@@ -15166,7 +15169,7 @@ var init_Chat = __esm({
|
|
15166
15169
|
}, [notification, peerSelector, setPeerSelector]);
|
15167
15170
|
const storeMessageSelector = import_react_sdk83.selectHMSMessagesCount;
|
15168
15171
|
const { elements } = useRoomLayoutConferencingScreen();
|
15169
|
-
const isMobile = (0,
|
15172
|
+
const isMobile = (0, import_react_use28.useMedia)(config.media.md);
|
15170
15173
|
let isScrolledToBottom = false;
|
15171
15174
|
if (listRef.current) {
|
15172
15175
|
const currentRef = listRef.current._outerRef;
|
@@ -15193,12 +15196,10 @@ var init_Chat = __esm({
|
|
15193
15196
|
direction: "column",
|
15194
15197
|
css: {
|
15195
15198
|
size: "100%",
|
15196
|
-
gap: "$4"
|
15197
|
-
marginTop: hideControls && ((_a7 = elements == null ? void 0 : elements.chat) == null ? void 0 : _a7.is_overlay) ? "$17" : "0",
|
15198
|
-
transition: "margin 0.3s ease-in-out"
|
15199
|
+
gap: "$4"
|
15199
15200
|
}
|
15200
15201
|
},
|
15201
|
-
isMobile && ((
|
15202
|
+
isMobile && ((_a7 = elements == null ? void 0 : elements.chat) == null ? void 0 : _a7.is_overlay) ? null : /* @__PURE__ */ import_react146.default.createElement(import_react146.default.Fragment, null, ((_b7 = elements == null ? void 0 : elements.chat) == null ? void 0 : _b7.allow_pinning_messages) ? /* @__PURE__ */ import_react146.default.createElement(PinnedMessage, { clearPinnedMessage: setPinnedMessage }) : null),
|
15202
15203
|
/* @__PURE__ */ import_react146.default.createElement(
|
15203
15204
|
ChatBody,
|
15204
15205
|
{
|
@@ -15278,12 +15279,13 @@ var init_Chat = __esm({
|
|
15278
15279
|
});
|
15279
15280
|
|
15280
15281
|
// src/Prebuilt/components/SidePaneTabs.tsx
|
15281
|
-
var import_react147, import_react_sdk84, import_react_icons64, tabTriggerCSS, SidePaneTabs;
|
15282
|
+
var import_react147, import_react_use29, import_react_sdk84, import_react_icons64, tabTriggerCSS, SidePaneTabs;
|
15282
15283
|
var init_SidePaneTabs = __esm({
|
15283
15284
|
"src/Prebuilt/components/SidePaneTabs.tsx"() {
|
15284
15285
|
"use strict";
|
15285
15286
|
init_define_process_env();
|
15286
15287
|
import_react147 = __toESM(require("react"));
|
15288
|
+
import_react_use29 = require("react-use");
|
15287
15289
|
import_react_sdk84 = require("@100mslive/react-sdk");
|
15288
15290
|
import_react_icons64 = require("@100mslive/react-icons");
|
15289
15291
|
init_Chat();
|
@@ -15301,6 +15303,7 @@ var init_SidePaneTabs = __esm({
|
|
15301
15303
|
justifyContent: "center"
|
15302
15304
|
};
|
15303
15305
|
SidePaneTabs = import_react147.default.memo(({ active = SIDE_PANE_OPTIONS.CHAT, screenType, hideControls }) => {
|
15306
|
+
var _a7;
|
15304
15307
|
const toggleChat = useSidepaneToggle(SIDE_PANE_OPTIONS.CHAT);
|
15305
15308
|
const toggleParticipants = useSidepaneToggle(SIDE_PANE_OPTIONS.PARTICIPANTS);
|
15306
15309
|
const resetSidePane = useSidepaneReset();
|
@@ -15310,6 +15313,9 @@ var init_SidePaneTabs = __esm({
|
|
15310
15313
|
const showChat = !!(elements == null ? void 0 : elements.chat);
|
15311
15314
|
const showParticipants = !!(elements == null ? void 0 : elements.participant_list);
|
15312
15315
|
const hideTabs = !(showChat && showParticipants);
|
15316
|
+
const isMobile = (0, import_react_use29.useMedia)(config.media.md);
|
15317
|
+
const isOverlayChat = !!((_a7 = elements == null ? void 0 : elements.chat) == null ? void 0 : _a7.is_overlay) && isMobile;
|
15318
|
+
const isChatOpen = useIsSidepaneTypeOpen(SIDE_PANE_OPTIONS.CHAT);
|
15313
15319
|
(0, import_react147.useEffect)(() => {
|
15314
15320
|
if (activeTab === SIDE_PANE_OPTIONS.CHAT && !showChat && showParticipants) {
|
15315
15321
|
setActiveTab(SIDE_PANE_OPTIONS.PARTICIPANTS);
|
@@ -15319,16 +15325,21 @@ var init_SidePaneTabs = __esm({
|
|
15319
15325
|
resetSidePane();
|
15320
15326
|
}
|
15321
15327
|
}, [showChat, activeTab, showParticipants, resetSidePane]);
|
15328
|
+
(0, import_react147.useEffect)(() => {
|
15329
|
+
setActiveTab(active);
|
15330
|
+
}, [active]);
|
15322
15331
|
return /* @__PURE__ */ import_react147.default.createElement(
|
15323
15332
|
Flex,
|
15324
15333
|
{
|
15325
15334
|
direction: "column",
|
15326
15335
|
css: {
|
15327
15336
|
color: "$on_primary_high",
|
15328
|
-
h: "100%"
|
15337
|
+
h: "100%",
|
15338
|
+
marginTop: hideControls && isOverlayChat ? "$17" : "0",
|
15339
|
+
transition: "margin 0.3s ease-in-out"
|
15329
15340
|
}
|
15330
15341
|
},
|
15331
|
-
hideTabs ? /* @__PURE__ */ import_react147.default.createElement(import_react147.default.Fragment, null, /* @__PURE__ */ import_react147.default.createElement(Text, { variant: "sm", css: { fontWeight: "$semiBold", p: "$4", c: "$on_surface_high", pr: "$12" } }, showChat ? "Chat" : `Participants (${peerCount})`), showChat ? /* @__PURE__ */ import_react147.default.createElement(Chat, { screenType
|
15342
|
+
isOverlayChat && isChatOpen && showChat ? /* @__PURE__ */ import_react147.default.createElement(Chat, { screenType }) : /* @__PURE__ */ import_react147.default.createElement(import_react147.default.Fragment, null, hideTabs ? /* @__PURE__ */ import_react147.default.createElement(import_react147.default.Fragment, null, /* @__PURE__ */ import_react147.default.createElement(Text, { variant: "sm", css: { fontWeight: "$semiBold", p: "$4", c: "$on_surface_high", pr: "$12" } }, showChat ? "Chat" : `Participants (${peerCount})`), showChat ? /* @__PURE__ */ import_react147.default.createElement(Chat, { screenType }) : /* @__PURE__ */ import_react147.default.createElement(ParticipantList, null)) : /* @__PURE__ */ import_react147.default.createElement(
|
15332
15343
|
Tabs.Root,
|
15333
15344
|
{
|
15334
15345
|
value: activeTab,
|
@@ -15362,12 +15373,12 @@ var init_SidePaneTabs = __esm({
|
|
15362
15373
|
")"
|
15363
15374
|
)),
|
15364
15375
|
/* @__PURE__ */ import_react147.default.createElement(Tabs.Content, { value: SIDE_PANE_OPTIONS.PARTICIPANTS, css: { p: 0 } }, /* @__PURE__ */ import_react147.default.createElement(ParticipantList, null)),
|
15365
|
-
/* @__PURE__ */ import_react147.default.createElement(Tabs.Content, { value: SIDE_PANE_OPTIONS.CHAT, css: { p: 0 } }, /* @__PURE__ */ import_react147.default.createElement(Chat, { screenType
|
15366
|
-
),
|
15367
|
-
/* @__PURE__ */ import_react147.default.createElement(
|
15376
|
+
/* @__PURE__ */ import_react147.default.createElement(Tabs.Content, { value: SIDE_PANE_OPTIONS.CHAT, css: { p: 0 } }, /* @__PURE__ */ import_react147.default.createElement(Chat, { screenType }))
|
15377
|
+
)),
|
15378
|
+
isOverlayChat && isChatOpen ? null : /* @__PURE__ */ import_react147.default.createElement(
|
15368
15379
|
IconButton,
|
15369
15380
|
{
|
15370
|
-
css: { position: "absolute", right: "$10", top: "$11" },
|
15381
|
+
css: { position: "absolute", right: "$10", top: "$11", "@md": { top: "$8", right: "$8" } },
|
15371
15382
|
onClick: (e) => {
|
15372
15383
|
e.stopPropagation();
|
15373
15384
|
if (activeTab === SIDE_PANE_OPTIONS.CHAT) {
|
@@ -16813,7 +16824,6 @@ var init_RoleChangeRequestModal = __esm({
|
|
16813
16824
|
return;
|
16814
16825
|
}
|
16815
16826
|
(() => __async(void 0, null, function* () {
|
16816
|
-
yield updateMetaData({ prevRole: currentRole });
|
16817
16827
|
yield hmsActions.preview({ asRole: roleChangeRequest.role.name });
|
16818
16828
|
}))();
|
16819
16829
|
}, [hmsActions, roleChangeRequest, currentRole, updateMetaData]);
|
@@ -16850,7 +16860,7 @@ var init_RoleChangeRequestModal = __esm({
|
|
16850
16860
|
body,
|
16851
16861
|
onAction: () => __async(void 0, null, function* () {
|
16852
16862
|
yield hmsActions.acceptChangeRole(roleChangeRequest);
|
16853
|
-
yield updateMetaData({ isHandRaised: false });
|
16863
|
+
yield updateMetaData({ isHandRaised: false, prevRole: currentRole });
|
16854
16864
|
}),
|
16855
16865
|
actionText: "Accept"
|
16856
16866
|
}
|
@@ -16919,6 +16929,7 @@ var init_conference = __esm({
|
|
16919
16929
|
setHideControls((value) => !value);
|
16920
16930
|
}
|
16921
16931
|
};
|
16932
|
+
const autoRoomJoined = (0, import_react164.useRef)(isPreviewScreenEnabled);
|
16922
16933
|
(0, import_react164.useEffect)(() => {
|
16923
16934
|
let timeout = null;
|
16924
16935
|
dropdownListRef.current = dropdownList || [];
|
@@ -16950,7 +16961,7 @@ var init_conference = __esm({
|
|
16950
16961
|
}
|
16951
16962
|
}, [isConnectedToRoom, prevState, roomState, navigate, role, roomId, isPreviewScreenEnabled]);
|
16952
16963
|
(0, import_react164.useEffect)(() => {
|
16953
|
-
if (authTokenInAppData && !isConnectedToRoom && !isPreviewScreenEnabled && roomState !== import_react_sdk91.HMSRoomState.Connecting) {
|
16964
|
+
if (authTokenInAppData && !isConnectedToRoom && !isPreviewScreenEnabled && roomState !== import_react_sdk91.HMSRoomState.Connecting && !autoRoomJoined.current) {
|
16954
16965
|
hmsActions.join({
|
16955
16966
|
userName,
|
16956
16967
|
authToken: authTokenInAppData,
|
@@ -16961,6 +16972,7 @@ var init_conference = __esm({
|
|
16961
16972
|
speakerAutoSelectionBlacklist: ["Yeti Stereo Microphone"]
|
16962
16973
|
}
|
16963
16974
|
}).catch(console.error);
|
16975
|
+
autoRoomJoined.current = true;
|
16964
16976
|
}
|
16965
16977
|
}, [authTokenInAppData, endpoints == null ? void 0 : endpoints.init, hmsActions, isConnectedToRoom, isPreviewScreenEnabled, roomState, userName]);
|
16966
16978
|
(0, import_react164.useEffect)(() => {
|