@100mslive/roomkit-react 0.3.3-alpha.2 → 0.3.3-alpha.3
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{HLSView-GI5NXBYN.js → HLSView-BCIIVR2T.js} +331 -166
- package/dist/HLSView-BCIIVR2T.js.map +7 -0
- package/dist/IconButton/IconButton.d.ts +1 -1
- package/dist/Modal/Dialog.d.ts +1 -1
- package/dist/Prebuilt/IconButton.d.ts +2 -3
- package/dist/Prebuilt/components/Footer/ChatToggle.d.ts +3 -1
- package/dist/Prebuilt/components/HMSVideo/PlayPauseButton.d.ts +2 -2
- package/dist/Prebuilt/components/HMSVideo/PlayPauseSeekControls.d.ts +14 -0
- package/dist/Prebuilt/components/HMSVideo/{SeekControls.d.ts → SeekControl.d.ts} +2 -2
- package/dist/Prebuilt/components/HMSVideo/index.d.ts +15 -11
- package/dist/Prebuilt/components/Leave/LeaveAtoms.d.ts +2 -2
- package/dist/Prebuilt/components/VideoLayouts/WhiteboardLayout.d.ts +3 -0
- package/dist/Sheet/Sheet.d.ts +1 -1
- package/dist/{chunk-KUFQ5ONV.js → chunk-W47ZJGSD.js} +207 -163
- package/dist/chunk-W47ZJGSD.js.map +7 -0
- package/dist/index.cjs.js +918 -694
- package/dist/index.cjs.js.map +4 -4
- package/dist/index.js +1 -1
- package/dist/meta.cjs.json +193 -109
- package/dist/meta.esbuild.json +207 -122
- package/package.json +6 -6
- package/src/IconButton/IconButton.tsx +2 -7
- package/src/Prebuilt/IconButton.tsx +6 -10
- package/src/Prebuilt/components/Footer/ChatToggle.tsx +2 -2
- package/src/Prebuilt/components/Footer/WhiteboardToggle.tsx +17 -3
- package/src/Prebuilt/components/HMSVideo/HMSVideo.jsx +1 -0
- package/src/Prebuilt/components/HMSVideo/PlayPauseButton.tsx +2 -2
- package/src/Prebuilt/components/HMSVideo/PlayPauseSeekControls.tsx +158 -0
- package/src/Prebuilt/components/HMSVideo/{SeekControls.tsx → SeekControl.tsx} +2 -2
- package/src/Prebuilt/components/HMSVideo/VideoProgress.tsx +7 -3
- package/src/Prebuilt/components/HMSVideo/index.ts +5 -4
- package/src/Prebuilt/components/IconButtonWithOptions/IconButtonWithOptions.tsx +7 -7
- package/src/Prebuilt/components/VideoLayouts/GridLayout.tsx +27 -4
- package/src/Prebuilt/components/VideoLayouts/WhiteboardLayout.tsx +95 -0
- package/src/Prebuilt/components/hooks/useCloseScreenshareWhiteboard.tsx +13 -5
- package/src/Prebuilt/layouts/HLSView.jsx +115 -78
- package/src/Prebuilt/layouts/VideoStreamingSection.tsx +1 -17
- package/dist/HLSView-GI5NXBYN.js.map +0 -7
- package/dist/Prebuilt/layouts/WhiteboardView.d.ts +0 -2
- package/dist/chunk-KUFQ5ONV.js.map +0 -7
- package/src/Prebuilt/layouts/WhiteboardView.tsx +0 -69
@@ -106,7 +106,7 @@ var __async = (__this, __arguments, generator) => {
|
|
106
106
|
var define_process_env_default;
|
107
107
|
var init_define_process_env = __esm({
|
108
108
|
"<define:process.env>"() {
|
109
|
-
define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_ec0a20aa-2233-4bd9-bdae-b7a41dfee08d", 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_jest: "26.6.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.22 npm/? node/v18.19.1 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.10.3-alpha.2", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_ec0a20aa-2233-4bd9-bdae-b7a41dfee08d", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.19.1/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.13.3-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.8", 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", npm_package_repository_directory: "packages/roomkit-react", 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_typedoc_plugin_markdown: "^3.14.0", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-8.6", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/26.2.11394342", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", 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: "593", 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.9", 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_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.14/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.8/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240310.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", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.1/x64", 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_dependencies__100mslive_hms_noise_cancellation: "0.0.0-alpha.1", 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:19847", GITHUB_WORKFLOW: "Publish Packages", _: "/usr/local/bin/yarn", 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_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.3.3-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", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GITHUB_RUN_ID: "8339008099", 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_dependencies_ts_pattern: "4.3.0", 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: "ada10fb3dc34984fd59f37f08629e8bd2a0f6c4c", GITHUB_BASE_REF: "", ImageOS: "ubuntu22", npm_package_workspaces_1: "examples/*", npm_package_scripts_start: 'concurrently "yarn dev" "yarn types"', npm_config_ignore_scripts: "", NX_TASK_HASH: "c2142c3cc8bf8d6ed2ac27c56ab4a600b5c8eb8e9391d303a398693a6a4a21e8", npm_package_exports___import: "./dist/index.js", GITHUB_WORKFLOW_REF: "100mslive/web-sdks/.github/workflows/publish.yml@refs/heads/publish-alpha", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_scripts_prebuilt: "cd packages/roomkit-react && yarn start", npm_package_devDependencies_postcss_loader: "^6.2.1", npm_package_devDependencies_esbuild_loader: "^4.0.2", PATH: "/tmp/yarn--1710832689540-0.1579875898379377:/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/18.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1710832689347-0.6191761134799965:/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/18.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1710832667592-0.18702594396511474:/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/18.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1710832667416-0.6771953480301691:/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/18.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin:/snap/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:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", NODE: "/opt/hostedtoolcache/node/18.19.1/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_e14939ec-5f43-488a-8f80-7eb5d6b530d2", INVOCATION_ID: "26b5f425f34b46f2b1ca5d99eb8c8e31", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", 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", npm_package_repository_type: "git", GITHUB_ACTION: "__run_3", GITHUB_RUN_NUMBER: "483", GITHUB_TRIGGERING_ACTOR: "github-actions[bot]", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_lint_staged____js_ts_jsx_tsx_: "eslint", npm_package_devDependencies_babel_plugin_istanbul: "^6.1.1", LERNA_PACKAGE_NAME: "@100mslive/roomkit-react", npm_package_dependencies__radix_ui_react_select: "1.0.0", npm_package_size_limit_0_limit: "20 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: "20 KB", 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 442", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "publish-alpha", GITHUB_REPOSITORY: "100mslive/web-sdks", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "400 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-store/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_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.10.3-alpha.2", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.3.3-alpha.2", npm_package_size_limit_4_limit: "20 KB", npm_package_size_limit_1_path: "packages/hms-video-store/dist/index.js", 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_repository_url: "https://github.com/100mslive/web-sdks.git", 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/roomkit-react/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: "150 KB", npm_package_size_limit_3_path: "packages/roomkit-react/dist/index.js", npm_package_devDependencies_cypress: "^9.5.2", npm_package_devDependencies_rollup_plugin_esbuild: "^5.0.0", GITHUB_SHA: "ada10fb3dc34984fd59f37f08629e8bd2a0f6c4c", GITHUB_RUN_ATTEMPT: "1", npm_package_size_limit_7_limit: "100 KB", npm_package_size_limit_4_path: "packages/hms-virtual-background/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/publish-alpha", GITHUB_ACTOR: "github-actions[bot]", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "MIT", npm_package_size_limit_5_path: "packages/hms-virtual-background/dist/index.js", npm_config_strict_ssl: "true", LEIN_HOME: "/usr/local/lib/lein", npm_package_size_limit_6_path: "packages/react-icons/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_ec0a20aa-2233-4bd9-bdae-b7a41dfee08d", JAVA_HOME: "/usr/lib/jvm/temurin-11-jdk-amd64", PWD: "/home/runner/work/web-sdks/web-sdks/packages/roomkit-react", GITHUB_ACTOR_ID: "41898282", 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/react-icons/dist/index.js", npm_package_scripts_ybys: "yarn && yarn build --no-private && yarn storybook", 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.11.2-standalone.jar", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_ec0a20aa-2233-4bd9-bdae-b7a41dfee08d", 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_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_dependencies_react_swipeable: "^7.0.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_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_ec0a20aa-2233-4bd9-bdae-b7a41dfee08d" };
|
109
|
+
define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_e1af34ff-a562-4ece-98b8-62d8c089106d", 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_jest: "26.6.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.22 npm/? node/v18.19.1 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.10.3-alpha.3", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_e1af34ff-a562-4ece-98b8-62d8c089106d", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.19.1/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.13.3-alpha.3", 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.8", 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", npm_package_repository_directory: "packages/roomkit-react", 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_typedoc_plugin_markdown: "^3.14.0", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-8.6", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/26.2.11394342", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", 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: "595", 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.9", 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_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.14/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.8/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240317.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", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.1/x64", 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_dependencies__100mslive_hms_noise_cancellation: "0.0.0-alpha.1", 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:19832", GITHUB_WORKFLOW: "Publish Packages", _: "/usr/local/bin/yarn", 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_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.3.3-alpha.3", 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", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GITHUB_RUN_ID: "8343246532", 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_dependencies_ts_pattern: "4.3.0", 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: "2f0dfb954601e7028cf0a4d9582a30be0fe726ca", GITHUB_BASE_REF: "", ImageOS: "ubuntu22", npm_package_workspaces_1: "examples/*", npm_package_scripts_start: 'concurrently "yarn dev" "yarn types"', npm_config_ignore_scripts: "", NX_TASK_HASH: "dc383a02648df0438838bc7519ddf0466d732140d594ac7884f40b9ad676af22", npm_package_exports___import: "./dist/index.js", STATS_BLT: "true", GITHUB_WORKFLOW_REF: "100mslive/web-sdks/.github/workflows/publish.yml@refs/heads/publish-alpha", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_scripts_prebuilt: "cd packages/roomkit-react && yarn start", npm_package_devDependencies_postcss_loader: "^6.2.1", npm_package_devDependencies_esbuild_loader: "^4.0.2", PATH: "/tmp/yarn--1710852557001-0.002215858080938826:/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/18.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1710852556808-0.8108733321995873:/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/18.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1710852534869-0.8214156190232955:/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/18.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1710852534692-0.4998782271041631:/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/18.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin:/snap/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:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", NODE: "/opt/hostedtoolcache/node/18.19.1/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_9b743310-ce74-40c4-985b-43804b3d6bc4", INVOCATION_ID: "9c159d16d0984bb1b5de7dbc6ec5d7a9", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", 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", npm_package_repository_type: "git", GITHUB_ACTION: "__run_3", GITHUB_RUN_NUMBER: "484", GITHUB_TRIGGERING_ACTOR: "github-actions[bot]", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_lint_staged____js_ts_jsx_tsx_: "eslint", npm_package_devDependencies_babel_plugin_istanbul: "^6.1.1", LERNA_PACKAGE_NAME: "@100mslive/roomkit-react", npm_package_dependencies__radix_ui_react_select: "1.0.0", npm_package_size_limit_0_limit: "20 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: "20 KB", 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 410", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "publish-alpha", GITHUB_REPOSITORY: "100mslive/web-sdks", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "400 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-store/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_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.10.3-alpha.3", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.3.3-alpha.3", npm_package_size_limit_4_limit: "20 KB", npm_package_size_limit_1_path: "packages/hms-video-store/dist/index.js", 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_repository_url: "https://github.com/100mslive/web-sdks.git", 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/roomkit-react/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: "150 KB", npm_package_size_limit_3_path: "packages/roomkit-react/dist/index.js", npm_package_devDependencies_cypress: "^9.5.2", npm_package_devDependencies_rollup_plugin_esbuild: "^5.0.0", GITHUB_SHA: "2f0dfb954601e7028cf0a4d9582a30be0fe726ca", GITHUB_RUN_ATTEMPT: "1", npm_package_size_limit_7_limit: "100 KB", npm_package_size_limit_4_path: "packages/hms-virtual-background/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/publish-alpha", GITHUB_ACTOR: "github-actions[bot]", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "MIT", npm_package_size_limit_5_path: "packages/hms-virtual-background/dist/index.js", npm_config_strict_ssl: "true", LEIN_HOME: "/usr/local/lib/lein", npm_package_size_limit_6_path: "packages/react-icons/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_e1af34ff-a562-4ece-98b8-62d8c089106d", JAVA_HOME: "/usr/lib/jvm/temurin-11-jdk-amd64", PWD: "/home/runner/work/web-sdks/web-sdks/packages/roomkit-react", GITHUB_ACTOR_ID: "41898282", 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/react-icons/dist/index.js", npm_package_scripts_ybys: "yarn && yarn build --no-private && yarn storybook", 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.11.2-standalone.jar", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_e1af34ff-a562-4ece-98b8-62d8c089106d", 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_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_dependencies_react_swipeable: "^7.0.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_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_e1af34ff-a562-4ece-98b8-62d8c089106d" };
|
110
110
|
}
|
111
111
|
});
|
112
112
|
|
@@ -9827,20 +9827,15 @@ var IconButton = styled("button", __spreadProps(__spreadValues({}, flexCenter),
|
|
9827
9827
|
},
|
9828
9828
|
"&[disabled]": {
|
9829
9829
|
opacity: 0.5,
|
9830
|
-
cursor: "not-allowed"
|
9830
|
+
cursor: "not-allowed",
|
9831
|
+
backgroundColor: "$secondary_dim",
|
9832
|
+
color: "$on_primary_high"
|
9831
9833
|
},
|
9832
9834
|
"&:focus": {
|
9833
9835
|
outline: "none"
|
9834
9836
|
},
|
9835
9837
|
variants: {
|
9836
9838
|
active: {
|
9837
|
-
false: {
|
9838
|
-
backgroundColor: "$secondary_dim",
|
9839
|
-
color: "$on_primary_high",
|
9840
|
-
"&:not([disabled]):hover": {
|
9841
|
-
backgroundColor: "$secondary_default"
|
9842
|
-
}
|
9843
|
-
},
|
9844
9839
|
true: {
|
9845
9840
|
"&:not([disabled]):hover": {
|
9846
9841
|
backgroundColor: "$on_surface_low"
|
@@ -12950,21 +12945,17 @@ var IconButton2 = styled(IconButton, {
|
|
12950
12945
|
border: "1px solid $border_bright",
|
12951
12946
|
bg: "$background_dim",
|
12952
12947
|
r: "$1",
|
12948
|
+
"&[disabled]": {
|
12949
|
+
opacity: 0.5,
|
12950
|
+
cursor: "not-allowed",
|
12951
|
+
backgroundColor: "$secondary_dim",
|
12952
|
+
color: "$on_primary_high"
|
12953
|
+
},
|
12953
12954
|
variants: {
|
12954
12955
|
active: {
|
12955
12956
|
true: {
|
12956
12957
|
color: "$on_surface_high",
|
12957
12958
|
backgroundColor: "transparent"
|
12958
|
-
},
|
12959
|
-
false: {
|
12960
|
-
border: "1px solid transparent",
|
12961
|
-
color: "$on_primary_high"
|
12962
|
-
}
|
12963
|
-
},
|
12964
|
-
disabled: {
|
12965
|
-
true: {
|
12966
|
-
backgroundColor: "$surface_brighter",
|
12967
|
-
color: "$on_surface_low"
|
12968
12959
|
}
|
12969
12960
|
}
|
12970
12961
|
}
|
@@ -12990,9 +12981,9 @@ var IconSection = styled(IconButton_default, {
|
|
12990
12981
|
p: "$4",
|
12991
12982
|
r: "$1",
|
12992
12983
|
bg: "transparent",
|
12993
|
-
borderTopRightRadius: 0,
|
12984
|
+
borderTopRightRadius: "0 !important",
|
12994
12985
|
borderColor: "$border_bright",
|
12995
|
-
borderBottomRightRadius: 0,
|
12986
|
+
borderBottomRightRadius: "0 !important",
|
12996
12987
|
position: "relative",
|
12997
12988
|
"&:not([disabled]):focus-visible": {
|
12998
12989
|
zIndex: 1
|
@@ -13005,8 +12996,8 @@ var IconSection = styled(IconButton_default, {
|
|
13005
12996
|
variants: __spreadProps(__spreadValues({}, variants), {
|
13006
12997
|
hideOptions: {
|
13007
12998
|
true: {
|
13008
|
-
borderTopRightRadius: "$1",
|
13009
|
-
borderBottomRightRadius: "$1"
|
12999
|
+
borderTopRightRadius: "$1 !important",
|
13000
|
+
borderBottomRightRadius: "$1 !important"
|
13010
13001
|
}
|
13011
13002
|
}
|
13012
13003
|
})
|
@@ -13016,10 +13007,10 @@ var OptionsSection = styled(IconButton_default, {
|
|
13016
13007
|
h: "$14",
|
13017
13008
|
p: "$4 $2",
|
13018
13009
|
r: "$1",
|
13019
|
-
borderTopLeftRadius: 0,
|
13010
|
+
borderTopLeftRadius: "0 !important",
|
13020
13011
|
borderColor: "$border_bright",
|
13021
|
-
borderBottomLeftRadius: 0,
|
13022
|
-
borderLeftWidth: 0,
|
13012
|
+
borderBottomLeftRadius: "0 !important",
|
13013
|
+
borderLeftWidth: "0 !important",
|
13023
13014
|
position: "relative",
|
13024
13015
|
"&:not([disabled]):focus-visible": {
|
13025
13016
|
zIndex: 1
|
@@ -18493,7 +18484,7 @@ var Xi = (a2, e) => {
|
|
18493
18484
|
};
|
18494
18485
|
var Ia = (a2, e) => () => (e || a2((e = { exports: {} }).exports, e), e.exports);
|
18495
18486
|
var lr = Ia((ed, Ka) => {
|
18496
|
-
Ka.exports = { version: "0.12.3-alpha.
|
18487
|
+
Ka.exports = { version: "0.12.3-alpha.3", license: "MIT", repository: { type: "git", url: "https://github.com/100mslive/web-sdks.git", directory: "packages/hms-video-store" }, main: "dist/index.cjs.js", module: "dist/index.js", typings: "dist/index.d.ts", files: ["dist", "src"], engines: { node: ">=12" }, exports: { ".": { require: "./dist/index.cjs.js", import: "./dist/index.js", default: "./dist/index.js" } }, sideEffects: false, scripts: { prestart: "rm -rf dist && yarn types:build", start: 'concurrently "yarn dev" "yarn types"', dev: "node ../../scripts/dev", "build:only": "node ../../scripts/build", build: "yarn build:only && yarn types:build", types: "tsc -w", "types:build": "tsc -p tsconfig.json", format: "prettier --write src/**/*.ts", test: "jest --maxWorkers=1", "test:watch": "jest --watch", "test:coverage": "jest --coverage", lint: "eslint -c ../../.eslintrc .", "lint:fix": "yarn lint --fix", prepare: "yarn build", size: "size-limit", analyze: "size-limit --why", docs: "rm -rf ./docs && typedoc && rm -f ./docs/README.md && mkdir ./docs/home &&mv ./docs/modules.md ./docs/home/content.md && node ../../scripts/docs-store && npx prettier --write './docs/**/*'" }, name: "@100mslive/hms-video-store", author: "100ms", dependencies: { eventemitter2: "^6.4.9", immer: "^9.0.6", "lodash.isequal": "^4.5.0", reselect: "4.0.0", "sdp-transform": "^2.14.1", "ua-parser-js": "^1.0.1", uuid: "^8.3.2", "webrtc-adapter": "^8.0.0", zustand: "3.5.7" }, devDependencies: { "@types/dom-screen-wake-lock": "^1.0.1", "@types/lodash.isequal": "^4.5.8", "@types/sdp-transform": "^2.4.4", "@types/ua-parser-js": "^0.7.36", "@types/uuid": "^8.3.0", "jest-canvas-mock": "^2.3.1", "jsdom-worker": "^0.3.0", tslib: "^2.2.0" }, description: "@100mslive Core SDK which abstracts the complexities of webRTC while providing a reactive store for data management with a unidirectional data flow", keywords: ["video", "webrtc", "conferencing", "100ms"] };
|
18497
18488
|
});
|
18498
18489
|
var Zi = ((n) => (n.Disconnected = "Disconnected", n.Preview = "Preview", n.Connecting = "Connecting", n.Connected = "Connected", n.Reconnecting = "Reconnecting", n.Disconnecting = "Disconnecting", n.Failed = "Failed", n))(Zi || {});
|
18499
18490
|
var Ra = ((e) => (e.CHAT = "chat", e))(Ra || {});
|
@@ -21026,7 +21017,7 @@ init_define_process_env();
|
|
21026
21017
|
import React69 from "react";
|
21027
21018
|
import { selectUnreadHMSMessagesCount, useHMSStore as useHMSStore32 } from "@100mslive/react-sdk";
|
21028
21019
|
import { ChatIcon } from "@100mslive/react-icons";
|
21029
|
-
var ChatToggle = () => {
|
21020
|
+
var ChatToggle = ({ onClick }) => {
|
21030
21021
|
const countUnreadMessages = useHMSStore32(selectUnreadHMSMessagesCount);
|
21031
21022
|
const isChatOpen = useIsSidepaneTypeOpen(SIDE_PANE_OPTIONS.CHAT);
|
21032
21023
|
const toggleChat = useSidepaneToggle(SIDE_PANE_OPTIONS.CHAT);
|
@@ -21037,7 +21028,7 @@ var ChatToggle = () => {
|
|
21037
21028
|
position: "relative"
|
21038
21029
|
}
|
21039
21030
|
},
|
21040
|
-
/* @__PURE__ */ React69.createElement(Tooltip, { key: "chat", title: `${isChatOpen ? "Close" : "Open"} chat` }, /* @__PURE__ */ React69.createElement(IconButton_default, { onClick: toggleChat, active: !isChatOpen, "data-testid": "chat_btn" }, /* @__PURE__ */ React69.createElement(ChatIcon, null))),
|
21031
|
+
/* @__PURE__ */ React69.createElement(Tooltip, { key: "chat", title: `${isChatOpen ? "Close" : "Open"} chat` }, /* @__PURE__ */ React69.createElement(IconButton_default, { onClick: () => onClick ? onClick() : toggleChat(), active: !isChatOpen, "data-testid": "chat_btn" }, /* @__PURE__ */ React69.createElement(ChatIcon, null))),
|
21041
21032
|
countUnreadMessages > 0 && /* @__PURE__ */ React69.createElement(
|
21042
21033
|
Flex,
|
21043
21034
|
{
|
@@ -21953,29 +21944,42 @@ var PollsToggle = () => {
|
|
21953
21944
|
// src/Prebuilt/components/Footer/WhiteboardToggle.tsx
|
21954
21945
|
init_define_process_env();
|
21955
21946
|
import React76 from "react";
|
21956
|
-
import { useWhiteboard } from "@100mslive/react-sdk";
|
21947
|
+
import { useScreenShare as useScreenShare4, useWhiteboard } from "@100mslive/react-sdk";
|
21957
21948
|
import { PencilDrawIcon } from "@100mslive/react-icons";
|
21958
21949
|
var WhiteboardToggle = () => {
|
21959
21950
|
const { toggle, open, isOwner } = useWhiteboard();
|
21951
|
+
const { screenSharingPeerId, amIScreenSharing } = useScreenShare4();
|
21952
|
+
const remoteScreenShare = screenSharingPeerId && !amIScreenSharing;
|
21953
|
+
const disabled = remoteScreenShare || open && !isOwner;
|
21960
21954
|
if (!toggle) {
|
21961
21955
|
return null;
|
21962
21956
|
}
|
21963
|
-
return /* @__PURE__ */ React76.createElement(
|
21964
|
-
|
21957
|
+
return /* @__PURE__ */ React76.createElement(
|
21958
|
+
Tooltip,
|
21965
21959
|
{
|
21966
|
-
|
21967
|
-
|
21968
|
-
yield toggle();
|
21969
|
-
} catch (error) {
|
21970
|
-
ToastManager.addToast({ title: error.message, variant: "error" });
|
21971
|
-
}
|
21972
|
-
}),
|
21973
|
-
active: !open,
|
21974
|
-
disabled: open && !isOwner,
|
21975
|
-
"data-testid": "whiteboard_btn"
|
21960
|
+
key: "whiteboard",
|
21961
|
+
title: remoteScreenShare ? "Cannot open whiteboard when viewing a shared screen" : `${open ? "Close" : "Open"} Whiteboard`
|
21976
21962
|
},
|
21977
|
-
/* @__PURE__ */ React76.createElement(
|
21978
|
-
|
21963
|
+
/* @__PURE__ */ React76.createElement(
|
21964
|
+
IconButton_default,
|
21965
|
+
{
|
21966
|
+
onClick: () => __async(void 0, null, function* () {
|
21967
|
+
if (disabled) {
|
21968
|
+
return;
|
21969
|
+
}
|
21970
|
+
try {
|
21971
|
+
yield toggle();
|
21972
|
+
} catch (error) {
|
21973
|
+
ToastManager.addToast({ title: error.message, variant: "error" });
|
21974
|
+
}
|
21975
|
+
}),
|
21976
|
+
active: !open,
|
21977
|
+
disabled,
|
21978
|
+
"data-testid": "whiteboard_btn"
|
21979
|
+
},
|
21980
|
+
/* @__PURE__ */ React76.createElement(PencilDrawIcon, null)
|
21981
|
+
)
|
21982
|
+
);
|
21979
21983
|
};
|
21980
21984
|
|
21981
21985
|
// src/Prebuilt/components/Footer/Footer.tsx
|
@@ -27248,24 +27252,18 @@ var RoleChangeRequestModal = () => {
|
|
27248
27252
|
init_define_process_env();
|
27249
27253
|
import React151, { Suspense, useEffect as useEffect48 } from "react";
|
27250
27254
|
import { match as match11 } from "ts-pattern";
|
27251
|
-
import {
|
27252
|
-
selectIsConnectedToRoom as selectIsConnectedToRoom9,
|
27253
|
-
selectLocalPeerRoleName as selectLocalPeerRoleName6,
|
27254
|
-
selectPeerScreenSharing as selectPeerScreenSharing3,
|
27255
|
-
selectWhiteboard as selectWhiteboard2,
|
27256
|
-
useHMSActions as useHMSActions45,
|
27257
|
-
useHMSStore as useHMSStore81
|
27258
|
-
} from "@100mslive/react-sdk";
|
27255
|
+
import { selectIsConnectedToRoom as selectIsConnectedToRoom9, selectLocalPeerRoleName as selectLocalPeerRoleName6, useHMSActions as useHMSActions45, useHMSStore as useHMSStore81 } from "@100mslive/react-sdk";
|
27259
27256
|
|
27260
27257
|
// src/Prebuilt/components/VideoLayouts/GridLayout.tsx
|
27261
27258
|
init_define_process_env();
|
27262
|
-
import
|
27259
|
+
import React147, { useEffect as useEffect44, useMemo as useMemo18, useState as useState64 } from "react";
|
27263
27260
|
import {
|
27264
27261
|
selectLocalPeerID as selectLocalPeerID14,
|
27265
27262
|
selectLocalPeerRoleName as selectLocalPeerRoleName5,
|
27266
27263
|
selectPeers as selectPeers3,
|
27267
27264
|
selectPeerScreenSharing,
|
27268
|
-
|
27265
|
+
selectWhiteboard as selectWhiteboard2,
|
27266
|
+
useHMSStore as useHMSStore79,
|
27269
27267
|
useHMSVanillaStore as useHMSVanillaStore12
|
27270
27268
|
} from "@100mslive/react-sdk";
|
27271
27269
|
|
@@ -28172,6 +28170,84 @@ var ScreenshareLayout = ({ peers, onPageChange, onPageSize, edgeToEdge }) => {
|
|
28172
28170
|
), layoutMode === LayoutMode.SPOTLIGHT && activeSharePeer && /* @__PURE__ */ React145.createElement(InsetTile, { peerId: activeSharePeer == null ? void 0 : activeSharePeer.id }));
|
28173
28171
|
};
|
28174
28172
|
|
28173
|
+
// src/Prebuilt/components/VideoLayouts/WhiteboardLayout.tsx
|
28174
|
+
init_define_process_env();
|
28175
|
+
import React146, { useEffect as useEffect43, useMemo as useMemo17 } from "react";
|
28176
|
+
import { useMedia as useMedia33 } from "react-use";
|
28177
|
+
import { selectPeerByCondition, selectWhiteboard, useHMSStore as useHMSStore78, useWhiteboard as useWhiteboard2 } from "@100mslive/react-sdk";
|
28178
|
+
var WhiteboardEmbed = () => {
|
28179
|
+
const isMobile = useMedia33(config.media.md);
|
28180
|
+
const { iframeRef } = useWhiteboard2(isMobile);
|
28181
|
+
return /* @__PURE__ */ React146.createElement(
|
28182
|
+
Box,
|
28183
|
+
{
|
28184
|
+
css: {
|
28185
|
+
mx: "$8",
|
28186
|
+
flex: "3 1 0",
|
28187
|
+
"@lg": {
|
28188
|
+
flex: "2 1 0",
|
28189
|
+
display: "flex",
|
28190
|
+
alignItems: "center"
|
28191
|
+
}
|
28192
|
+
}
|
28193
|
+
},
|
28194
|
+
/* @__PURE__ */ React146.createElement(
|
28195
|
+
"iframe",
|
28196
|
+
{
|
28197
|
+
title: "Whiteboard View",
|
28198
|
+
ref: iframeRef,
|
28199
|
+
style: {
|
28200
|
+
width: "100%",
|
28201
|
+
height: "100%",
|
28202
|
+
border: 0,
|
28203
|
+
borderRadius: "0.75rem"
|
28204
|
+
},
|
28205
|
+
allow: "autoplay; clipboard-write;",
|
28206
|
+
referrerPolicy: "no-referrer"
|
28207
|
+
}
|
28208
|
+
)
|
28209
|
+
);
|
28210
|
+
};
|
28211
|
+
var WhiteboardLayout = ({ peers, onPageChange, onPageSize, edgeToEdge }) => {
|
28212
|
+
const whiteboard = useHMSStore78(selectWhiteboard);
|
28213
|
+
const whiteboardOwner = useHMSStore78(selectPeerByCondition((peer) => peer.customerUserId === (whiteboard == null ? void 0 : whiteboard.owner)));
|
28214
|
+
const [layoutMode, setLayoutMode] = useSetUiSettings(UI_SETTINGS.layoutMode);
|
28215
|
+
const isMobile = useMedia33(config.media.md);
|
28216
|
+
const hasSidebar = !isMobile && layoutMode === LayoutMode.SIDEBAR;
|
28217
|
+
const secondaryPeers = useMemo17(() => {
|
28218
|
+
if (layoutMode === LayoutMode.SPOTLIGHT) {
|
28219
|
+
return [];
|
28220
|
+
}
|
28221
|
+
if (isMobile || layoutMode === LayoutMode.SIDEBAR) {
|
28222
|
+
return whiteboardOwner ? [whiteboardOwner, ...peers.filter((p) => p.id !== (whiteboardOwner == null ? void 0 : whiteboardOwner.id))] : peers;
|
28223
|
+
}
|
28224
|
+
return peers.filter((p) => p.id !== (whiteboardOwner == null ? void 0 : whiteboardOwner.id));
|
28225
|
+
}, [whiteboardOwner, peers, isMobile, layoutMode]);
|
28226
|
+
useEffect43(() => {
|
28227
|
+
if (isMobile) {
|
28228
|
+
setLayoutMode(LayoutMode.GALLERY);
|
28229
|
+
return;
|
28230
|
+
}
|
28231
|
+
if (layoutMode === LayoutMode.SIDEBAR) {
|
28232
|
+
return;
|
28233
|
+
}
|
28234
|
+
setLayoutMode(LayoutMode.SIDEBAR);
|
28235
|
+
return () => {
|
28236
|
+
setLayoutMode(LayoutMode.GALLERY);
|
28237
|
+
};
|
28238
|
+
}, [isMobile]);
|
28239
|
+
return /* @__PURE__ */ React146.createElement(ProminenceLayout.Root, { edgeToEdge, hasSidebar }, /* @__PURE__ */ React146.createElement(ProminenceLayout.ProminentSection, null, /* @__PURE__ */ React146.createElement(WhiteboardEmbed, null)), /* @__PURE__ */ React146.createElement(
|
28240
|
+
SecondaryTiles,
|
28241
|
+
{
|
28242
|
+
peers: secondaryPeers,
|
28243
|
+
onPageChange,
|
28244
|
+
onPageSize,
|
28245
|
+
edgeToEdge,
|
28246
|
+
hasSidebar
|
28247
|
+
}
|
28248
|
+
), layoutMode === LayoutMode.SPOTLIGHT && whiteboardOwner && /* @__PURE__ */ React146.createElement(InsetTile, { peerId: whiteboardOwner == null ? void 0 : whiteboardOwner.id }));
|
28249
|
+
};
|
28250
|
+
|
28175
28251
|
// src/Prebuilt/common/PeersSorter.ts
|
28176
28252
|
init_define_process_env();
|
28177
28253
|
import { selectDominantSpeaker as selectDominantSpeaker2 } from "@100mslive/react-sdk";
|
@@ -28279,18 +28355,19 @@ var GridLayout = ({
|
|
28279
28355
|
edge_to_edge = false,
|
28280
28356
|
hide_metadata_on_tile = false
|
28281
28357
|
}) => {
|
28282
|
-
const peerSharing =
|
28358
|
+
const peerSharing = useHMSStore79(selectPeerScreenSharing);
|
28359
|
+
const whiteboard = useHMSStore79(selectWhiteboard2);
|
28283
28360
|
const pinnedTrack = usePinnedTrack();
|
28284
|
-
const peers =
|
28285
|
-
const localPeerRole =
|
28286
|
-
const localPeerID =
|
28361
|
+
const peers = useHMSStore79(selectPeers3);
|
28362
|
+
const localPeerRole = useHMSStore79(selectLocalPeerRoleName5);
|
28363
|
+
const localPeerID = useHMSStore79(selectLocalPeerID14);
|
28287
28364
|
const [activeScreensharePeerId] = useSetAppDataByKey(APP_DATA.activeScreensharePeerId);
|
28288
28365
|
const isRoleProminence = prominentRoles.length && peers.some(
|
28289
28366
|
(peer) => peer.roleName && prominentRoles.includes(peer.roleName) && (peer.videoTrack || peer.audioTrack)
|
28290
28367
|
) || pinnedTrack;
|
28291
|
-
const updatedPeers =
|
28292
|
-
if (activeScreensharePeerId) {
|
28293
|
-
return peers.filter((peer) => peer.id !== activeScreensharePeerId);
|
28368
|
+
const updatedPeers = useMemo18(() => {
|
28369
|
+
if (activeScreensharePeerId || (whiteboard == null ? void 0 : whiteboard.open)) {
|
28370
|
+
return peers.filter((peer) => peer.id !== activeScreensharePeerId || peer.customerUserId !== (whiteboard == null ? void 0 : whiteboard.owner));
|
28294
28371
|
}
|
28295
28372
|
if (isInsetEnabled) {
|
28296
28373
|
const isLocalPeerPinned = localPeerID === (pinnedTrack == null ? void 0 : pinnedTrack.peerId);
|
@@ -28301,10 +28378,19 @@ var GridLayout = ({
|
|
28301
28378
|
}
|
28302
28379
|
}
|
28303
28380
|
return peers;
|
28304
|
-
}, [
|
28381
|
+
}, [
|
28382
|
+
isInsetEnabled,
|
28383
|
+
whiteboard,
|
28384
|
+
activeScreensharePeerId,
|
28385
|
+
localPeerRole,
|
28386
|
+
localPeerID,
|
28387
|
+
prominentRoles,
|
28388
|
+
peers,
|
28389
|
+
pinnedTrack
|
28390
|
+
]);
|
28305
28391
|
const vanillaStore = useHMSVanillaStore12();
|
28306
28392
|
const [sortedPeers, setSortedPeers] = useState64(updatedPeers);
|
28307
|
-
const peersSorter =
|
28393
|
+
const peersSorter = useMemo18(() => new PeersSorter_default(vanillaStore), [vanillaStore]);
|
28308
28394
|
const [pageSize, setPageSize] = useState64(0);
|
28309
28395
|
const [mainPage, setMainPage] = useState64(0);
|
28310
28396
|
const tileLayout = {
|
@@ -28315,7 +28401,7 @@ var GridLayout = ({
|
|
28315
28401
|
hideMetadataOnTile: hide_metadata_on_tile,
|
28316
28402
|
objectFit: video_object_fit
|
28317
28403
|
};
|
28318
|
-
|
28404
|
+
useEffect44(() => {
|
28319
28405
|
if (mainPage !== 0) {
|
28320
28406
|
return;
|
28321
28407
|
}
|
@@ -28326,7 +28412,7 @@ var GridLayout = ({
|
|
28326
28412
|
peersSorter.onUpdate(setSortedPeers);
|
28327
28413
|
}, [mainPage, peersSorter, updatedPeers, pageSize]);
|
28328
28414
|
if (peerSharing) {
|
28329
|
-
return /* @__PURE__ */
|
28415
|
+
return /* @__PURE__ */ React147.createElement(VideoTileContext.Provider, { value: tileLayout }, /* @__PURE__ */ React147.createElement(
|
28330
28416
|
ScreenshareLayout,
|
28331
28417
|
{
|
28332
28418
|
peers: sortedPeers,
|
@@ -28335,8 +28421,18 @@ var GridLayout = ({
|
|
28335
28421
|
edgeToEdge: edge_to_edge
|
28336
28422
|
}
|
28337
28423
|
));
|
28424
|
+
} else if (whiteboard == null ? void 0 : whiteboard.open) {
|
28425
|
+
return /* @__PURE__ */ React147.createElement(VideoTileContext.Provider, { value: tileLayout }, /* @__PURE__ */ React147.createElement(
|
28426
|
+
WhiteboardLayout,
|
28427
|
+
{
|
28428
|
+
peers: sortedPeers,
|
28429
|
+
onPageSize: setPageSize,
|
28430
|
+
onPageChange: setMainPage,
|
28431
|
+
edgeToEdge: edge_to_edge
|
28432
|
+
}
|
28433
|
+
));
|
28338
28434
|
} else if (isRoleProminence) {
|
28339
|
-
return /* @__PURE__ */
|
28435
|
+
return /* @__PURE__ */ React147.createElement(VideoTileContext.Provider, { value: tileLayout }, /* @__PURE__ */ React147.createElement(
|
28340
28436
|
RoleProminence,
|
28341
28437
|
{
|
28342
28438
|
peers: sortedPeers,
|
@@ -28348,7 +28444,7 @@ var GridLayout = ({
|
|
28348
28444
|
}
|
28349
28445
|
));
|
28350
28446
|
}
|
28351
|
-
return /* @__PURE__ */
|
28447
|
+
return /* @__PURE__ */ React147.createElement(VideoTileContext.Provider, { value: tileLayout }, /* @__PURE__ */ React147.createElement(
|
28352
28448
|
EqualProminence,
|
28353
28449
|
{
|
28354
28450
|
peers: sortedPeers,
|
@@ -28362,32 +28458,32 @@ var GridLayout = ({
|
|
28362
28458
|
|
28363
28459
|
// src/Prebuilt/layouts/EmbedView.jsx
|
28364
28460
|
init_define_process_env();
|
28365
|
-
import
|
28366
|
-
import { selectAppData as selectAppData8, selectPeers as selectPeers4, selectPeerScreenSharing as selectPeerScreenSharing2, useEmbedShare, useHMSStore as
|
28461
|
+
import React148, { useEffect as useEffect45, useMemo as useMemo19 } from "react";
|
28462
|
+
import { selectAppData as selectAppData8, selectPeers as selectPeers4, selectPeerScreenSharing as selectPeerScreenSharing2, useEmbedShare, useHMSStore as useHMSStore80 } from "@100mslive/react-sdk";
|
28367
28463
|
var EmbedView = () => {
|
28368
|
-
return /* @__PURE__ */
|
28464
|
+
return /* @__PURE__ */ React148.createElement(EmbedScreenShareView, null, /* @__PURE__ */ React148.createElement(EmbedComponent, null));
|
28369
28465
|
};
|
28370
28466
|
var EmbedScreenShareView = ({ children }) => {
|
28371
|
-
const peers =
|
28372
|
-
const peerPresenting =
|
28467
|
+
const peers = useHMSStore80(selectPeers4);
|
28468
|
+
const peerPresenting = useHMSStore80(selectPeerScreenSharing2);
|
28373
28469
|
const [, setActiveScreenSharePeer] = useSetAppDataByKey(APP_DATA.activeScreensharePeerId);
|
28374
|
-
const smallTilePeers =
|
28470
|
+
const smallTilePeers = useMemo19(() => {
|
28375
28471
|
const smallTilePeers2 = peers.filter((peer) => peer.id !== (peerPresenting == null ? void 0 : peerPresenting.id));
|
28376
28472
|
return smallTilePeers2;
|
28377
28473
|
}, [peers, peerPresenting]);
|
28378
|
-
|
28474
|
+
useEffect45(() => {
|
28379
28475
|
setActiveScreenSharePeer(peerPresenting == null ? void 0 : peerPresenting.id);
|
28380
28476
|
return () => {
|
28381
28477
|
setActiveScreenSharePeer("");
|
28382
28478
|
};
|
28383
28479
|
}, [peerPresenting == null ? void 0 : peerPresenting.id, setActiveScreenSharePeer]);
|
28384
|
-
return /* @__PURE__ */
|
28480
|
+
return /* @__PURE__ */ React148.createElement(ProminenceLayout.Root, null, /* @__PURE__ */ React148.createElement(ProminenceLayout.ProminentSection, null, children), /* @__PURE__ */ React148.createElement(SecondaryTiles, { peers: smallTilePeers }));
|
28385
28481
|
};
|
28386
28482
|
var EmbedComponent = () => {
|
28387
|
-
const embedConfig =
|
28483
|
+
const embedConfig = useHMSStore80(selectAppData8(APP_DATA.embedConfig));
|
28388
28484
|
const resetConfig = useResetEmbedConfig();
|
28389
28485
|
const { iframeRef, startEmbedShare, isEmbedShareInProgress } = useEmbedShare(resetConfig);
|
28390
|
-
|
28486
|
+
useEffect45(() => {
|
28391
28487
|
(() => __async(void 0, null, function* () {
|
28392
28488
|
if (embedConfig && !isEmbedShareInProgress) {
|
28393
28489
|
try {
|
@@ -28402,7 +28498,7 @@ var EmbedComponent = () => {
|
|
28402
28498
|
}
|
28403
28499
|
}))();
|
28404
28500
|
}, [isEmbedShareInProgress, embedConfig, startEmbedShare, resetConfig]);
|
28405
|
-
return /* @__PURE__ */
|
28501
|
+
return /* @__PURE__ */ React148.createElement(
|
28406
28502
|
Box,
|
28407
28503
|
{
|
28408
28504
|
css: {
|
@@ -28415,7 +28511,7 @@ var EmbedComponent = () => {
|
|
28415
28511
|
}
|
28416
28512
|
}
|
28417
28513
|
},
|
28418
|
-
/* @__PURE__ */
|
28514
|
+
/* @__PURE__ */ React148.createElement(
|
28419
28515
|
"iframe",
|
28420
28516
|
{
|
28421
28517
|
title: "Embed View",
|
@@ -28435,13 +28531,13 @@ var EmbedComponent = () => {
|
|
28435
28531
|
|
28436
28532
|
// src/Prebuilt/layouts/PDFView.jsx
|
28437
28533
|
init_define_process_env();
|
28438
|
-
import
|
28534
|
+
import React149, { useEffect as useEffect46 } from "react";
|
28439
28535
|
import { usePDFShare } from "@100mslive/react-sdk";
|
28440
28536
|
var PDFView = () => {
|
28441
28537
|
const pdfConfig = usePDFConfig();
|
28442
28538
|
const resetConfig = useResetPDFConfig();
|
28443
28539
|
const { iframeRef, startPDFShare, isPDFShareInProgress } = usePDFShare(resetConfig);
|
28444
|
-
|
28540
|
+
useEffect46(() => {
|
28445
28541
|
(() => __async(void 0, null, function* () {
|
28446
28542
|
try {
|
28447
28543
|
if (!isPDFShareInProgress && pdfConfig) {
|
@@ -28456,7 +28552,7 @@ var PDFView = () => {
|
|
28456
28552
|
}
|
28457
28553
|
}))();
|
28458
28554
|
}, [isPDFShareInProgress, pdfConfig, resetConfig, startPDFShare]);
|
28459
|
-
return /* @__PURE__ */
|
28555
|
+
return /* @__PURE__ */ React149.createElement(EmbedScreenShareView, null, /* @__PURE__ */ React149.createElement(
|
28460
28556
|
Box,
|
28461
28557
|
{
|
28462
28558
|
css: {
|
@@ -28469,7 +28565,7 @@ var PDFView = () => {
|
|
28469
28565
|
}
|
28470
28566
|
}
|
28471
28567
|
},
|
28472
|
-
/* @__PURE__ */
|
28568
|
+
/* @__PURE__ */ React149.createElement(
|
28473
28569
|
"iframe",
|
28474
28570
|
{
|
28475
28571
|
title: "Embed View",
|
@@ -28489,10 +28585,10 @@ var PDFView = () => {
|
|
28489
28585
|
|
28490
28586
|
// src/Prebuilt/layouts/WaitingView.jsx
|
28491
28587
|
init_define_process_env();
|
28492
|
-
import
|
28588
|
+
import React150 from "react";
|
28493
28589
|
import { ColoredTimeIcon } from "@100mslive/react-icons";
|
28494
|
-
var WaitingView =
|
28495
|
-
return /* @__PURE__ */
|
28590
|
+
var WaitingView = React150.memo(() => {
|
28591
|
+
return /* @__PURE__ */ React150.createElement(
|
28496
28592
|
Box,
|
28497
28593
|
{
|
28498
28594
|
css: {
|
@@ -28506,7 +28602,7 @@ var WaitingView = React149.memo(() => {
|
|
28506
28602
|
},
|
28507
28603
|
"data-testid": "waiting_view"
|
28508
28604
|
},
|
28509
|
-
/* @__PURE__ */
|
28605
|
+
/* @__PURE__ */ React150.createElement(
|
28510
28606
|
Flex,
|
28511
28607
|
{
|
28512
28608
|
align: "center",
|
@@ -28520,8 +28616,8 @@ var WaitingView = React149.memo(() => {
|
|
28520
28616
|
gap: "$8"
|
28521
28617
|
}
|
28522
28618
|
},
|
28523
|
-
/* @__PURE__ */
|
28524
|
-
/* @__PURE__ */
|
28619
|
+
/* @__PURE__ */ React150.createElement(ColoredTimeIcon, { width: "80px", height: "80px" }),
|
28620
|
+
/* @__PURE__ */ React150.createElement(
|
28525
28621
|
Flex,
|
28526
28622
|
{
|
28527
28623
|
direction: "column",
|
@@ -28531,101 +28627,52 @@ var WaitingView = React149.memo(() => {
|
|
28531
28627
|
gap: "$4"
|
28532
28628
|
}
|
28533
28629
|
},
|
28534
|
-
/* @__PURE__ */
|
28535
|
-
/* @__PURE__ */
|
28630
|
+
/* @__PURE__ */ React150.createElement(Text, { color: "white", variant: "h6", css: { "@md": { fontSize: "$md" } } }, "Please wait"),
|
28631
|
+
/* @__PURE__ */ React150.createElement(Text, { color: "$on_surface_medium", css: { mt: "$4", "@md": { fontSize: "$sm" } } }, "Sit back and relax till others let you join.")
|
28536
28632
|
)
|
28537
28633
|
)
|
28538
28634
|
);
|
28539
28635
|
});
|
28540
28636
|
|
28541
|
-
// src/Prebuilt/layouts/WhiteboardView.tsx
|
28542
|
-
init_define_process_env();
|
28543
|
-
import React150, { useEffect as useEffect46, useMemo as useMemo19 } from "react";
|
28544
|
-
import { useMedia as useMedia33 } from "react-use";
|
28545
|
-
import { selectPeers as selectPeers5, selectWhiteboard, useHMSStore as useHMSStore80, useWhiteboard as useWhiteboard2 } from "@100mslive/react-sdk";
|
28546
|
-
var EmbedComponent2 = () => {
|
28547
|
-
const isMobile = useMedia33(config.media.md);
|
28548
|
-
const { iframeRef } = useWhiteboard2(isMobile);
|
28549
|
-
return /* @__PURE__ */ React150.createElement(
|
28550
|
-
Box,
|
28551
|
-
{
|
28552
|
-
css: {
|
28553
|
-
mx: "$8",
|
28554
|
-
flex: "3 1 0",
|
28555
|
-
"@lg": {
|
28556
|
-
flex: "2 1 0",
|
28557
|
-
display: "flex",
|
28558
|
-
alignItems: "center"
|
28559
|
-
}
|
28560
|
-
}
|
28561
|
-
},
|
28562
|
-
/* @__PURE__ */ React150.createElement(
|
28563
|
-
"iframe",
|
28564
|
-
{
|
28565
|
-
title: "Whiteboard View",
|
28566
|
-
ref: iframeRef,
|
28567
|
-
style: {
|
28568
|
-
width: "100%",
|
28569
|
-
height: "100%",
|
28570
|
-
border: 0,
|
28571
|
-
borderRadius: "0.75rem"
|
28572
|
-
},
|
28573
|
-
allow: "autoplay; clipboard-write;",
|
28574
|
-
referrerPolicy: "no-referrer"
|
28575
|
-
}
|
28576
|
-
)
|
28577
|
-
);
|
28578
|
-
};
|
28579
|
-
var WhiteboardView = () => {
|
28580
|
-
const peers = useHMSStore80(selectPeers5);
|
28581
|
-
const whiteboard = useHMSStore80(selectWhiteboard);
|
28582
|
-
const [, setActiveScreenSharePeer] = useSetAppDataByKey(APP_DATA.activeScreensharePeerId);
|
28583
|
-
const smallTilePeers = useMemo19(() => {
|
28584
|
-
const smallTilePeers2 = peers.filter((peer) => peer.id !== (whiteboard == null ? void 0 : whiteboard.owner));
|
28585
|
-
return smallTilePeers2;
|
28586
|
-
}, [peers, whiteboard == null ? void 0 : whiteboard.owner]);
|
28587
|
-
useEffect46(() => {
|
28588
|
-
setActiveScreenSharePeer((whiteboard == null ? void 0 : whiteboard.owner) || "");
|
28589
|
-
return () => {
|
28590
|
-
setActiveScreenSharePeer("");
|
28591
|
-
};
|
28592
|
-
}, [whiteboard == null ? void 0 : whiteboard.owner, setActiveScreenSharePeer]);
|
28593
|
-
return /* @__PURE__ */ React150.createElement(ProminenceLayout.Root, null, /* @__PURE__ */ React150.createElement(ProminenceLayout.ProminentSection, null, /* @__PURE__ */ React150.createElement(EmbedComponent2, null)), /* @__PURE__ */ React150.createElement(SecondaryTiles, { peers: smallTilePeers }));
|
28594
|
-
};
|
28595
|
-
|
28596
28637
|
// src/Prebuilt/components/hooks/useCloseScreenshareWhiteboard.tsx
|
28597
28638
|
init_define_process_env();
|
28598
28639
|
import { useEffect as useEffect47 } from "react";
|
28599
28640
|
import { usePrevious } from "react-use";
|
28600
|
-
import { useScreenShare as
|
28641
|
+
import { useScreenShare as useScreenShare5, useWhiteboard as useWhiteboard3 } from "@100mslive/react-sdk";
|
28601
28642
|
var useCloseScreenshareWhiteboard = () => {
|
28602
|
-
const { amIScreenSharing, toggleScreenShare } =
|
28643
|
+
const { amIScreenSharing, screenSharingPeerId, toggleScreenShare } = useScreenShare5();
|
28603
28644
|
const { isOwner: isWhiteboardOwner, toggle: toggleWhiteboard } = useWhiteboard3();
|
28604
|
-
const prevScreenSharer = usePrevious(
|
28645
|
+
const prevScreenSharer = usePrevious(screenSharingPeerId);
|
28605
28646
|
const prevWhiteboardOwner = usePrevious(isWhiteboardOwner);
|
28606
28647
|
useEffect47(() => {
|
28607
|
-
if (isWhiteboardOwner &&
|
28608
|
-
if (prevScreenSharer && !prevWhiteboardOwner) {
|
28648
|
+
if (isWhiteboardOwner && screenSharingPeerId) {
|
28649
|
+
if (prevScreenSharer && amIScreenSharing && !prevWhiteboardOwner) {
|
28609
28650
|
toggleScreenShare == null ? void 0 : toggleScreenShare();
|
28610
28651
|
} else if (prevWhiteboardOwner && !prevScreenSharer) {
|
28611
28652
|
toggleWhiteboard == null ? void 0 : toggleWhiteboard();
|
28612
28653
|
}
|
28613
28654
|
}
|
28614
|
-
}, [
|
28655
|
+
}, [
|
28656
|
+
isWhiteboardOwner,
|
28657
|
+
screenSharingPeerId,
|
28658
|
+
amIScreenSharing,
|
28659
|
+
prevScreenSharer,
|
28660
|
+
prevWhiteboardOwner,
|
28661
|
+
toggleScreenShare,
|
28662
|
+
toggleWhiteboard
|
28663
|
+
]);
|
28615
28664
|
};
|
28616
28665
|
|
28617
28666
|
// src/Prebuilt/layouts/VideoStreamingSection.tsx
|
28618
|
-
var HLSView = React151.lazy(() => import("./HLSView-
|
28667
|
+
var HLSView = React151.lazy(() => import("./HLSView-BCIIVR2T.js"));
|
28619
28668
|
var VideoStreamingSection = ({
|
28620
28669
|
screenType,
|
28621
28670
|
elements,
|
28622
28671
|
hideControls = false
|
28623
28672
|
}) => {
|
28624
|
-
var _a8, _b7
|
28673
|
+
var _a8, _b7;
|
28625
28674
|
const localPeerRole = useHMSStore81(selectLocalPeerRoleName6);
|
28626
28675
|
const isConnected = useHMSStore81(selectIsConnectedToRoom9);
|
28627
|
-
const peerSharing = useHMSStore81(selectPeerScreenSharing3);
|
28628
|
-
const isWhiteboardOpen = (_a8 = useHMSStore81(selectWhiteboard2)) == null ? void 0 : _a8.open;
|
28629
28676
|
const hmsActions = useHMSActions45();
|
28630
28677
|
const waitingViewerRole = useWaitingViewerRole();
|
28631
28678
|
const urlToIframe = useUrlToEmbed();
|
@@ -28657,12 +28704,8 @@ var VideoStreamingSection = ({
|
|
28657
28704
|
ViewComponent = /* @__PURE__ */ React151.createElement(PDFView, null);
|
28658
28705
|
} else if (urlToIframe) {
|
28659
28706
|
ViewComponent = /* @__PURE__ */ React151.createElement(EmbedView, null);
|
28660
|
-
} else if (peerSharing) {
|
28661
|
-
ViewComponent = /* @__PURE__ */ React151.createElement(GridLayout, __spreadValues({}, (_b7 = elements == null ? void 0 : elements.video_tile_layout) == null ? void 0 : _b7.grid));
|
28662
|
-
} else if (isWhiteboardOpen) {
|
28663
|
-
ViewComponent = /* @__PURE__ */ React151.createElement(WhiteboardView, null);
|
28664
28707
|
} else {
|
28665
|
-
ViewComponent = /* @__PURE__ */ React151.createElement(GridLayout, __spreadValues({}, (
|
28708
|
+
ViewComponent = /* @__PURE__ */ React151.createElement(GridLayout, __spreadValues({}, (_a8 = elements == null ? void 0 : elements.video_tile_layout) == null ? void 0 : _a8.grid));
|
28666
28709
|
}
|
28667
28710
|
return /* @__PURE__ */ React151.createElement(Suspense, { fallback: /* @__PURE__ */ React151.createElement(FullPageProgress_default, null) }, /* @__PURE__ */ React151.createElement(
|
28668
28711
|
Flex,
|
@@ -28691,7 +28734,7 @@ var VideoStreamingSection = ({
|
|
28691
28734
|
SidePane_default,
|
28692
28735
|
{
|
28693
28736
|
screenType,
|
28694
|
-
tileProps: (
|
28737
|
+
tileProps: (_b7 = elements == null ? void 0 : elements.video_tile_layout) == null ? void 0 : _b7.grid,
|
28695
28738
|
hideControls
|
28696
28739
|
}
|
28697
28740
|
)
|
@@ -30886,6 +30929,7 @@ var TextArea = styled("textarea", {
|
|
30886
30929
|
|
30887
30930
|
export {
|
30888
30931
|
__spreadValues,
|
30932
|
+
__spreadProps,
|
30889
30933
|
__objRest,
|
30890
30934
|
__async,
|
30891
30935
|
init_define_process_env,
|
@@ -30985,4 +31029,4 @@ lodash/lodash.js:
|
|
30985
31029
|
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
30986
31030
|
*)
|
30987
31031
|
*/
|
30988
|
-
//# sourceMappingURL=chunk-
|
31032
|
+
//# sourceMappingURL=chunk-W47ZJGSD.js.map
|