@tencent-rtc/mcp 1.0.6 → 1.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/index.js +7 -8
- package/index.js.map +1 -1
- package/libs/@tencent/aegis-node-sdk/CHANGELOG.md +8 -0
- package/libs/@tencent/aegis-node-sdk/LICENSE +21 -0
- package/libs/@tencent/aegis-node-sdk/README.md +562 -0
- package/libs/@tencent/aegis-node-sdk/lib/aegis.min.js +1 -0
- package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/constant/config.d.ts +14 -0
- package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/constant/global.d.ts +1 -0
- package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/constant/index.d.ts +9 -0
- package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/constant/report-ignore.d.ts +2 -0
- package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/core.d.ts +85 -0
- package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/hooks/afterRequestHooks.d.ts +3 -0
- package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/hooks/beforeRequestHooks.d.ts +9 -0
- package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/hooks/modifyRequestHooks.d.ts +3 -0
- package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/index.d.ts +9 -0
- package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/interface/config.d.ts +62 -0
- package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/interface/env.d.ts +11 -0
- package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/interface/index.d.ts +4 -0
- package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/interface/log.d.ts +130 -0
- package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/interface/send.d.ts +34 -0
- package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/format.d.ts +2 -0
- package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/index.d.ts +18 -0
- package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/length-limit.d.ts +8 -0
- package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/pv.d.ts +8 -0
- package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/remove-payload.d.ts +2 -0
- package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/repeat-limit.d.ts +4 -0
- package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/report.d.ts +10 -0
- package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/sample.d.ts +3 -0
- package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/throttle.d.ts +3 -0
- package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/trace/index.d.ts +34 -0
- package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/trace/jwt.d.ts +12 -0
- package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/trace/ot-js.d.ts +14 -0
- package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/trace/uuid.d.ts +2 -0
- package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/whitelist.d.ts +12 -0
- package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/write-before.d.ts +3 -0
- package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/plugin.d.ts +33 -0
- package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/polyfill.d.ts +0 -0
- package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/util/destroy.d.ts +2 -0
- package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/util/event-emitter.d.ts +18 -0
- package/libs/@tencent/aegis-node-sdk/lib/packages/core/src/util/index.d.ts +60 -0
- package/libs/@tencent/aegis-node-sdk/lib/packages/node-sdk/src/index.d.ts +15 -0
- package/libs/@tencent/aegis-node-sdk/lib/packages/node-sdk/src/interface/selector.d.ts +5 -0
- package/libs/@tencent/aegis-node-sdk/lib/packages/node-sdk/src/pipes/batch-report-pipe.d.ts +6 -0
- package/libs/@tencent/aegis-node-sdk/lib/packages/node-sdk/src/protocol/protocol_base.d.ts +18 -0
- package/libs/@tencent/aegis-node-sdk/lib/packages/node-sdk/src/protocol/protocol_http.d.ts +12 -0
- package/libs/@tencent/aegis-node-sdk/lib/packages/node-sdk/src/selector/ip_selector.d.ts +10 -0
- package/libs/@tencent/aegis-node-sdk/lib/packages/node-sdk/src/selector/polaris_selector.d.ts +20 -0
- package/libs/@tencent/aegis-node-sdk/lib/packages/node-sdk/src/selector/selector_base.d.ts +27 -0
- package/libs/@tencent/aegis-node-sdk/lib/packages/node-sdk/src/util/eval_require.d.ts +2 -0
- package/libs/@tencent/aegis-node-sdk/package.json +19 -0
- package/libs/@tencent/polaris/README.md +407 -0
- package/libs/@tencent/polaris/dist/consumer/health.d.ts +126 -0
- package/libs/@tencent/polaris/dist/consumer/health.js +283 -0
- package/libs/@tencent/polaris/dist/consumer/health.js.map +1 -0
- package/libs/@tencent/polaris/dist/consumer/index.d.ts +120 -0
- package/libs/@tencent/polaris/dist/consumer/index.js +348 -0
- package/libs/@tencent/polaris/dist/consumer/index.js.map +1 -0
- package/libs/@tencent/polaris/dist/consumer/monitor.d.ts +145 -0
- package/libs/@tencent/polaris/dist/consumer/monitor.js +343 -0
- package/libs/@tencent/polaris/dist/consumer/monitor.js.map +1 -0
- package/libs/@tencent/polaris/dist/consumer/selector.d.ts +73 -0
- package/libs/@tencent/polaris/dist/consumer/selector.js +316 -0
- package/libs/@tencent/polaris/dist/consumer/selector.js.map +1 -0
- package/libs/@tencent/polaris/dist/errors.d.ts +373 -0
- package/libs/@tencent/polaris/dist/errors.js +154 -0
- package/libs/@tencent/polaris/dist/errors.js.map +1 -0
- package/libs/@tencent/polaris/dist/global.d.ts +16 -0
- package/libs/@tencent/polaris/dist/global.js +18 -0
- package/libs/@tencent/polaris/dist/global.js.map +1 -0
- package/libs/@tencent/polaris/dist/index.d.ts +62 -0
- package/libs/@tencent/polaris/dist/index.js +145 -0
- package/libs/@tencent/polaris/dist/index.js.map +1 -0
- package/libs/@tencent/polaris/dist/instance.d.ts +109 -0
- package/libs/@tencent/polaris/dist/instance.js +38 -0
- package/libs/@tencent/polaris/dist/instance.js.map +1 -0
- package/libs/@tencent/polaris/dist/limiter/bucket.d.ts +51 -0
- package/libs/@tencent/polaris/dist/limiter/bucket.js +152 -0
- package/libs/@tencent/polaris/dist/limiter/bucket.js.map +1 -0
- package/libs/@tencent/polaris/dist/limiter/index.d.ts +73 -0
- package/libs/@tencent/polaris/dist/limiter/index.js +149 -0
- package/libs/@tencent/polaris/dist/limiter/index.js.map +1 -0
- package/libs/@tencent/polaris/dist/limiter/ratelimit.d.ts +27 -0
- package/libs/@tencent/polaris/dist/limiter/ratelimit.js +134 -0
- package/libs/@tencent/polaris/dist/limiter/ratelimit.js.map +1 -0
- package/libs/@tencent/polaris/dist/limiter/ratelimiter/base.d.ts +17 -0
- package/libs/@tencent/polaris/dist/limiter/ratelimiter/base.js +15 -0
- package/libs/@tencent/polaris/dist/limiter/ratelimiter/base.js.map +1 -0
- package/libs/@tencent/polaris/dist/limiter/ratelimiter/global.d.ts +59 -0
- package/libs/@tencent/polaris/dist/limiter/ratelimiter/global.js +397 -0
- package/libs/@tencent/polaris/dist/limiter/ratelimiter/global.js.map +1 -0
- package/libs/@tencent/polaris/dist/limiter/ratelimiter/index.d.ts +3 -0
- package/libs/@tencent/polaris/dist/limiter/ratelimiter/index.js +19 -0
- package/libs/@tencent/polaris/dist/limiter/ratelimiter/index.js.map +1 -0
- package/libs/@tencent/polaris/dist/limiter/ratelimiter/local.d.ts +17 -0
- package/libs/@tencent/polaris/dist/limiter/ratelimiter/local.js +52 -0
- package/libs/@tencent/polaris/dist/limiter/ratelimiter/local.js.map +1 -0
- package/libs/@tencent/polaris/dist/location.d.ts +48 -0
- package/libs/@tencent/polaris/dist/location.js +67 -0
- package/libs/@tencent/polaris/dist/location.js.map +1 -0
- package/libs/@tencent/polaris/dist/logging.d.ts +106 -0
- package/libs/@tencent/polaris/dist/logging.js +130 -0
- package/libs/@tencent/polaris/dist/logging.js.map +1 -0
- package/libs/@tencent/polaris/dist/metadata.d.ts +78 -0
- package/libs/@tencent/polaris/dist/metadata.js +119 -0
- package/libs/@tencent/polaris/dist/metadata.js.map +1 -0
- package/libs/@tencent/polaris/dist/plugins/breaker/polaris.d.ts +47 -0
- package/libs/@tencent/polaris/dist/plugins/breaker/polaris.js +162 -0
- package/libs/@tencent/polaris/dist/plugins/breaker/polaris.js.map +1 -0
- package/libs/@tencent/polaris/dist/plugins/lb/base.d.ts +24 -0
- package/libs/@tencent/polaris/dist/plugins/lb/base.js +32 -0
- package/libs/@tencent/polaris/dist/plugins/lb/base.js.map +1 -0
- package/libs/@tencent/polaris/dist/plugins/lb/edf.d.ts +24 -0
- package/libs/@tencent/polaris/dist/plugins/lb/edf.js +77 -0
- package/libs/@tencent/polaris/dist/plugins/lb/edf.js.map +1 -0
- package/libs/@tencent/polaris/dist/plugins/lb/hashring.d.ts +24 -0
- package/libs/@tencent/polaris/dist/plugins/lb/hashring.js +53 -0
- package/libs/@tencent/polaris/dist/plugins/lb/hashring.js.map +1 -0
- package/libs/@tencent/polaris/dist/plugins/lb/sticky.d.ts +31 -0
- package/libs/@tencent/polaris/dist/plugins/lb/sticky.js +88 -0
- package/libs/@tencent/polaris/dist/plugins/lb/sticky.js.map +1 -0
- package/libs/@tencent/polaris/dist/plugins/lb/swrr.d.ts +25 -0
- package/libs/@tencent/polaris/dist/plugins/lb/swrr.js +72 -0
- package/libs/@tencent/polaris/dist/plugins/lb/swrr.js.map +1 -0
- package/libs/@tencent/polaris/dist/plugins/lb/wr.d.ts +17 -0
- package/libs/@tencent/polaris/dist/plugins/lb/wr.js +50 -0
- package/libs/@tencent/polaris/dist/plugins/lb/wr.js.map +1 -0
- package/libs/@tencent/polaris/dist/plugins/lb/wrr.d.ts +19 -0
- package/libs/@tencent/polaris/dist/plugins/lb/wrr.js +81 -0
- package/libs/@tencent/polaris/dist/plugins/lb/wrr.js.map +1 -0
- package/libs/@tencent/polaris/dist/plugins/logging/console.d.ts +10 -0
- package/libs/@tencent/polaris/dist/plugins/logging/console.js +38 -0
- package/libs/@tencent/polaris/dist/plugins/logging/console.js.map +1 -0
- package/libs/@tencent/polaris/dist/plugins/naming/local-server/index.d.ts +32 -0
- package/libs/@tencent/polaris/dist/plugins/naming/local-server/index.js +88 -0
- package/libs/@tencent/polaris/dist/plugins/naming/local-server/index.js.map +1 -0
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/adapter/base.d.ts +124 -0
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/adapter/base.js +398 -0
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/adapter/base.js.map +1 -0
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/adapter/discover.d.ts +27 -0
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/adapter/discover.js +287 -0
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/adapter/discover.js.map +1 -0
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/adapter/index.d.ts +15 -0
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/adapter/index.js +43 -0
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/adapter/index.js.map +1 -0
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/adapter/monitor.d.ts +28 -0
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/adapter/monitor.js +249 -0
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/adapter/monitor.js.map +1 -0
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/adapter/ratelimit.d.ts +19 -0
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/adapter/ratelimit.js +222 -0
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/adapter/ratelimit.js.map +1 -0
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/connector/grpc/bidi.d.ts +26 -0
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/connector/grpc/bidi.js +99 -0
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/connector/grpc/bidi.js.map +1 -0
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/connector/grpc/index.d.ts +60 -0
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/connector/grpc/index.js +259 -0
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/connector/grpc/index.js.map +1 -0
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/connector/grpc/pb/discover.proto +24 -0
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/connector/grpc/pb/monitor.proto +18 -0
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/connector/grpc/pb/ratelimit.proto +12 -0
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/connector/http/index.d.ts +39 -0
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/connector/http/index.js +115 -0
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/connector/http/index.js.map +1 -0
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/discover-pb/api.proto +24 -0
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/discover-pb/client.proto +22 -0
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/discover-pb/model.proto +28 -0
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/discover-pb/ratelimit.proto +80 -0
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/discover-pb/request.proto +18 -0
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/discover-pb/response.proto +65 -0
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/discover-pb/routing.proto +66 -0
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/discover-pb/service.proto +95 -0
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/discover-pb/types.d.ts +1568 -0
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/index.d.ts +36 -0
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/index.js +51 -0
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/index.js.map +1 -0
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/monitor-pb/api.proto +18 -0
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/monitor-pb/circuitbreak.proto +67 -0
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/monitor-pb/request.proto +82 -0
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/monitor-pb/response.proto +11 -0
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/monitor-pb/sdkcache.proto +46 -0
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/monitor-pb/sdkconfiguration.proto +16 -0
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/monitor-pb/sdktoken.proto +10 -0
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/monitor-pb/types.d.ts +1102 -0
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/pool.d.ts +29 -0
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/pool.js +77 -0
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/pool.js.map +1 -0
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/ratelimit-pb/api.proto +12 -0
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/ratelimit-pb/ratelimit.proto +28 -0
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/ratelimit-pb/types.d.ts +395 -0
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/rules.d.ts +13 -0
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/rules.js +116 -0
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/rules.js.map +1 -0
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/types.d.ts +67 -0
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/types.js +67 -0
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/types.js.map +1 -0
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/utils.d.ts +99 -0
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/utils.js +217 -0
- package/libs/@tencent/polaris/dist/plugins/naming/polaris-server/utils.js.map +1 -0
- package/libs/@tencent/polaris/dist/plugins/registry/memory.d.ts +10 -0
- package/libs/@tencent/polaris/dist/plugins/registry/memory.js +50 -0
- package/libs/@tencent/polaris/dist/plugins/registry/memory.js.map +1 -0
- package/libs/@tencent/polaris/dist/plugins/router/polaris/nearby.d.ts +51 -0
- package/libs/@tencent/polaris/dist/plugins/router/polaris/nearby.js +145 -0
- package/libs/@tencent/polaris/dist/plugins/router/polaris/nearby.js.map +1 -0
- package/libs/@tencent/polaris/dist/plugins/router/polaris/rule.d.ts +11 -0
- package/libs/@tencent/polaris/dist/plugins/router/polaris/rule.js +174 -0
- package/libs/@tencent/polaris/dist/plugins/router/polaris/rule.js.map +1 -0
- package/libs/@tencent/polaris/dist/plugins/router/trpc/canary.d.ts +25 -0
- package/libs/@tencent/polaris/dist/plugins/router/trpc/canary.js +36 -0
- package/libs/@tencent/polaris/dist/plugins/router/trpc/canary.js.map +1 -0
- package/libs/@tencent/polaris/dist/plugins/router/trpc/env.d.ts +10 -0
- package/libs/@tencent/polaris/dist/plugins/router/trpc/env.js +34 -0
- package/libs/@tencent/polaris/dist/plugins/router/trpc/env.js.map +1 -0
- package/libs/@tencent/polaris/dist/plugins/router/trpc/set.d.ts +56 -0
- package/libs/@tencent/polaris/dist/plugins/router/trpc/set.js +106 -0
- package/libs/@tencent/polaris/dist/plugins/router/trpc/set.js.map +1 -0
- package/libs/@tencent/polaris/dist/plugins/shaping/unirate.d.ts +31 -0
- package/libs/@tencent/polaris/dist/plugins/shaping/unirate.js +124 -0
- package/libs/@tencent/polaris/dist/plugins/shaping/unirate.js.map +1 -0
- package/libs/@tencent/polaris/dist/plugins/shaping/warmup.d.ts +61 -0
- package/libs/@tencent/polaris/dist/plugins/shaping/warmup.js +171 -0
- package/libs/@tencent/polaris/dist/plugins/shaping/warmup.js.map +1 -0
- package/libs/@tencent/polaris/dist/plugins/weight/polaris.d.ts +23 -0
- package/libs/@tencent/polaris/dist/plugins/weight/polaris.js +159 -0
- package/libs/@tencent/polaris/dist/plugins/weight/polaris.js.map +1 -0
- package/libs/@tencent/polaris/dist/plugins.d.ts +619 -0
- package/libs/@tencent/polaris/dist/plugins.js +91 -0
- package/libs/@tencent/polaris/dist/plugins.js.map +1 -0
- package/libs/@tencent/polaris/dist/polaris.d.ts +33 -0
- package/libs/@tencent/polaris/dist/polaris.js +59 -0
- package/libs/@tencent/polaris/dist/polaris.js.map +1 -0
- package/libs/@tencent/polaris/dist/provider/index.d.ts +102 -0
- package/libs/@tencent/polaris/dist/provider/index.js +168 -0
- package/libs/@tencent/polaris/dist/provider/index.js.map +1 -0
- package/libs/@tencent/polaris/dist/registry.d.ts +174 -0
- package/libs/@tencent/polaris/dist/registry.js +660 -0
- package/libs/@tencent/polaris/dist/registry.js.map +1 -0
- package/libs/@tencent/polaris/dist/rules.d.ts +163 -0
- package/libs/@tencent/polaris/dist/rules.js +24 -0
- package/libs/@tencent/polaris/dist/rules.js.map +1 -0
- package/libs/@tencent/polaris/dist/scripts/postinstall.d.ts +1 -0
- package/libs/@tencent/polaris/dist/scripts/postinstall.js +71 -0
- package/libs/@tencent/polaris/dist/scripts/postinstall.js.map +1 -0
- package/libs/@tencent/polaris/dist/service.d.ts +18 -0
- package/libs/@tencent/polaris/dist/service.js +3 -0
- package/libs/@tencent/polaris/dist/service.js.map +1 -0
- package/libs/@tencent/polaris/dist/skeleton.d.ts +87 -0
- package/libs/@tencent/polaris/dist/skeleton.js +282 -0
- package/libs/@tencent/polaris/dist/skeleton.js.map +1 -0
- package/libs/@tencent/polaris/dist/utils.d.ts +36 -0
- package/libs/@tencent/polaris/dist/utils.js +74 -0
- package/libs/@tencent/polaris/dist/utils.js.map +1 -0
- package/libs/@tencent/polaris/dist/weak.d.ts +11 -0
- package/libs/@tencent/polaris/dist/weak.js +44 -0
- package/libs/@tencent/polaris/dist/weak.js.map +1 -0
- package/libs/@tencent/polaris/package.json +114 -0
- package/libs/lib-generate-test-usersig-es.min.d.ts +6 -0
- package/libs/lib-generate-test-usersig-es.min.js +2 -0
- package/package.json +2 -1
- package/resource/doc/chatuikit/react/components/avatar.md +137 -0
- package/resource/doc/chatuikit/react/components/chat.md +44 -0
- package/resource/doc/chatuikit/react/components/chatheader.md +189 -0
- package/resource/doc/chatuikit/react/components/component-list.md +48 -0
- package/resource/doc/chatuikit/react/components/conversation-list.md +1017 -0
- package/resource/doc/chatuikit/react/components/message-input.md +950 -0
- package/resource/doc/chatuikit/react/components/message-list.md +485 -0
- package/resource/doc/chatuikit/react/components/tuikit.md +80 -0
- package/resource/doc/chatuikit/react/create-group.md +23 -0
- package/resource/doc/chatuikit/react/integration.md +83 -0
- package/resource/doc/chatuikit/react/login.md +26 -0
- package/resource/doc/chatuikit/vue/components/avatar.md +137 -0
- package/resource/doc/chatuikit/vue/components/chat.md +42 -0
- package/resource/doc/chatuikit/vue/components/chatheader.md +189 -0
- package/resource/doc/chatuikit/vue/components/component-list.md +102 -0
- package/resource/doc/chatuikit/vue/components/conversation-list.md +765 -0
- package/resource/doc/chatuikit/vue/components/message-input.md +1272 -0
- package/resource/doc/chatuikit/vue/components/message-list.md +662 -0
- package/resource/doc/chatuikit/vue/components/tuikit.md +45 -0
- package/resource/doc/chatuikit/vue/components/userpicker.md +315 -0
- package/resource/doc/chatuikit/vue/create-group.md +25 -0
- package/resource/doc/chatuikit/vue/integration.md +256 -0
- package/resource/doc/chatuikit/vue/login.md +31 -0
- package/resource/doc/chatuikit/vue3/components/MessageInput.md +1272 -0
- package/resource/doc/chatuikit/vue3/components/avatar.md +137 -0
- package/resource/doc/chatuikit/vue3/components/chatheader.md +189 -0
- package/resource/doc/chatuikit/vue3/components/component-list.md +102 -0
- package/resource/doc/chatuikit/vue3/components/userpicker.md +315 -0
- package/resource/doc/chatuikit/vue3/integration.md +256 -0
- package/server.js +10 -181
- package/server.js.map +1 -1
- package/streamable-http.js +69 -0
- package/streamable-http.js.map +1 -0
- package/tools/call/get-call-faq.js +32 -0
- package/tools/call/get-call-faq.js.map +1 -0
- package/tools/call/get-native-call-integration-guide.js +36 -0
- package/tools/call/get-native-call-integration-guide.js.map +1 -0
- package/tools/call/get-native-call-integration.js +35 -0
- package/tools/call/get-native-call-integration.js.map +1 -0
- package/tools/call/get-web-call-integration-guide.js +35 -0
- package/tools/call/get-web-call-integration-guide.js.map +1 -0
- package/tools/call/get-web-call-integration.js +35 -0
- package/tools/call/get-web-call-integration.js.map +1 -0
- package/tools/chat/create-group.js +30 -0
- package/tools/chat/create-group.js.map +1 -0
- package/tools/chat/get-chat-faq.js +32 -0
- package/tools/chat/get-chat-faq.js.map +1 -0
- package/tools/chat/get-native-chat-integration-guide.js +34 -0
- package/tools/chat/get-native-chat-integration-guide.js.map +1 -0
- package/tools/chat/get-native-chat-integration.js +34 -0
- package/tools/chat/get-native-chat-integration.js.map +1 -0
- package/tools/chat/get-web-chat-component-detail.js +36 -0
- package/tools/chat/get-web-chat-component-detail.js.map +1 -0
- package/tools/chat/get-web-chat-integration-guide.js +35 -0
- package/tools/chat/get-web-chat-integration-guide.js.map +1 -0
- package/tools/chat/get-web-chat-integration.js +37 -0
- package/tools/chat/get-web-chat-integration.js.map +1 -0
- package/tools/chat/get-web-chat-uikit-login.js +30 -0
- package/tools/chat/get-web-chat-uikit-login.js.map +1 -0
- package/tools/common/get-usersig.js +35 -0
- package/tools/common/get-usersig.js.map +1 -0
- package/tools/common/present-framework-choice.js +23 -0
- package/tools/common/present-framework-choice.js.map +1 -0
- package/tools/common/record-prompt.js +31 -0
- package/tools/common/record-prompt.js.map +1 -0
- package/tools/common/record-result.js +36 -0
- package/tools/common/record-result.js.map +1 -0
- package/tools/index.js +41 -0
- package/tools/index.js.map +1 -0
- package/tools/rtcengine/get-rtcengine-integration-guide.js +33 -0
- package/tools/rtcengine/get-rtcengine-integration-guide.js.map +1 -0
- package/tools/rtcengine/get-rtcenigne-faq.js +32 -0
- package/tools/rtcengine/get-rtcenigne-faq.js.map +1 -0
- package/utils/aegis-client.js +8 -0
- package/utils/aegis-client.js.map +1 -0
- package/utils/generate-usersig.js +14 -0
- package/utils/generate-usersig.js.map +1 -0
- package/utils/get-doc-content.js +47 -0
- package/utils/get-doc-content.js.map +1 -0
- package/utils/handle-component-name.js +12 -0
- package/utils/handle-component-name.js.map +1 -0
- package/utils/handle-framework.js +9 -0
- package/utils/handle-framework.js.map +1 -0
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
# Avatar Component Documentation
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Overview
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
The Avatar component displays user avatars and status, supporting various shapes and sizes. It can be used for chat applications, social platforms, user management systems, and other scenarios to visualize user identity.
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
## Props Quick Reference Table
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
| Field | Type | Default Value | Description |
|
|
14
|
+
| --- | --- | --- | --- |
|
|
15
|
+
| src | string | undefined | URL of the profile image |
|
|
16
|
+
| size | 'xxl' | 'xl' | 'lg' | 'md' | 'sm' | 'xs' | number | 'md' | Avatar size, support various preset sizes or custom size |
|
|
17
|
+
| shape | 'circular' | 'square' | 'rounded' | 'circular' | Avatar shape, support circle, square and rounded rectangle |
|
|
18
|
+
| alt | string | '' | Alternative text for the image, used to generate text avatar |
|
|
19
|
+
| children | ReactNode | undefined | Custom content, takes precedence over src and alt content |
|
|
20
|
+
| className | string | undefined | Custom CSS class name |
|
|
21
|
+
| style | React.CSSProperties | undefined | Custom style |
|
|
22
|
+
| onClick | () => void | undefined | Click event handler |
|
|
23
|
+
| isShowOnlineStatus | boolean | false | Whether to display the online status indicator |
|
|
24
|
+
| isOnline | boolean | false | Whether the user is online |
|
|
25
|
+
| unreadCount | number | 0 | Unread message count. Shows a red dot if true, or the actual quantity if a number |
|
|
26
|
+
| maxUnreadCount | number | 99 | Maximum unread message count. Displays +N if exceeding |
|
|
27
|
+
| isDotUnreadCount | boolean | false | Whether to display a red dot |
|
|
28
|
+
| children | ReactNode | undefined | Custom content, takes precedence over src and alt content |
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
## Props Detailed Introduction
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
### `src`
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
`type`: `string`
|
|
40
|
+
`description`: URL of the profile image. If not provided, the default avatar will be displayed.
|
|
41
|
+
`default`: `undefined`
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
### `size`
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
`type`: `'xxl' | 'xl' | 'lg' | 'md' | 'sm' | 'xs' | number`
|
|
48
|
+
`description`: Avatar size, support various preset sizes or custom size.
|
|
49
|
+
`default`: `'md'`
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
### `shape`
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
`type`: `'circular' | 'square' | 'rounded'`
|
|
56
|
+
`description`: Avatar shape, support circle, square and rounded rectangle.
|
|
57
|
+
`default`: `'circular'`
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
### `alt`
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
`type`: `string`
|
|
64
|
+
`description`: Alternative text for images, used to generate text avatars.
|
|
65
|
+
`default`: `''`
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
### `children`
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
`type`: `ReactNode`
|
|
72
|
+
`description`: Custom content, which takes precedence over the content of src and alt.
|
|
73
|
+
`default`: `undefined`
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
### `className`
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
`type`: `string | undefined`
|
|
80
|
+
`description`: Custom CSS class name.
|
|
81
|
+
`default`: `undefined`
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
### `style`
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
`type`: `React.CSSProperties | undefined`
|
|
88
|
+
`description`: Custom style.
|
|
89
|
+
`default`: `undefined`
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
### `onClick`
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
`type`: `() => void`
|
|
96
|
+
`description`: Click event handler.
|
|
97
|
+
`default`: `undefined`
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
### `isShowOnlineStatus`
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
`type`: `boolean`
|
|
104
|
+
`description`: Whether to display the online status indicator.
|
|
105
|
+
`default`: `false`
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
### `isOnline`
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
`type`: `boolean`
|
|
112
|
+
`description`: Whether the user is online.
|
|
113
|
+
`default`: `false`
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
### `unreadCount`
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
`type`: `number`
|
|
120
|
+
`description`: Unread message count. Shows a red dot if true, or the actual quantity if a number.
|
|
121
|
+
`default value`: `0`
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
### `maxUnreadCount`
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
`type`: `number`
|
|
128
|
+
`description`: Maximum unread message count. Displays +N if exceeding.
|
|
129
|
+
`default`: `99`
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
### isDotUnreadCount
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
`type`: `boolean`
|
|
136
|
+
`description`: Whether to display the red dot.
|
|
137
|
+
`default`: `false`
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# Chat component document
|
|
2
|
+
|
|
3
|
+
## Overview
|
|
4
|
+
|
|
5
|
+
The chat component renders the chat interface, including the chat window header component ChatHeader, message list component MessageList, and message input component MessageInput.
|
|
6
|
+
|
|
7
|
+
## Component composition
|
|
8
|
+
|
|
9
|
+
The Chat component includes the following content:
|
|
10
|
+
-**ChatHeader**: The chat window header component
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
- **MessageList**: The message list component, which includes message operation capabilities. For detailed properties, read the MessageList component document.
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
- **MessageInput**: The message input component
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
## Basic Usage
|
|
20
|
+
|
|
21
|
+
Chat components can be used without any required attributes.
|
|
22
|
+
```vue
|
|
23
|
+
<template>
|
|
24
|
+
<UIKitProvider>
|
|
25
|
+
<Chat style="flex: 1;">
|
|
26
|
+
<ChatHeader />
|
|
27
|
+
<MessageList />
|
|
28
|
+
<MessageInput />
|
|
29
|
+
</Chat>
|
|
30
|
+
</UIKitProvider>
|
|
31
|
+
</template>
|
|
32
|
+
<script setup lang="ts">
|
|
33
|
+
import {
|
|
34
|
+
UIKitProvider,
|
|
35
|
+
Chat,
|
|
36
|
+
ChatHeader,
|
|
37
|
+
MessageList,
|
|
38
|
+
MessageInput,
|
|
39
|
+
} from '@tencentcloud/chat-uikit-vue3';
|
|
40
|
+
</script>
|
|
41
|
+
```
|
|
42
|
+
|
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
The AI model must comply with the following **hard limits**.
|
|
2
|
+
|
|
3
|
+
* **The example code in the document must be recommended as the preferred approach:** When creating a file, the example code in the document is recommended as the preferred approach for filling the file. The scoped attribute is recommended for non-use in style tags.
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
## Overview
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
ChatHeader is the top navigation component in the chat UI, displaying basic info of the current session. It can show the session title, avatar, online status, input state notification, etc. The component uses a container component mode and provides a flexible slot mechanism for custom left-right operation areas.
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
## Props Quick Reference Table
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
| Field | Type | Default Value | Description |
|
|
16
|
+
|------|------|--------|------|
|
|
17
|
+
| [title](https://write.woa.com/#title) | string | undefined | Custom Title, session information used when not provided. |
|
|
18
|
+
| [avatarUrl](https://write.woa.com/#avatarUrl) | string | undefined | Custom avatar image URL. |
|
|
19
|
+
| [enableUserStatus](https://write.woa.com/#enableUserStatus) | boolean | false | Whether to display user status. |
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
## Slot Quick Reference Table
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
| Name | Description |
|
|
28
|
+
|------|------|
|
|
29
|
+
| [ChatHeaderLeft](https://write.woa.com/#ChatHeaderLeft) | Left-side custom content area in the header. |
|
|
30
|
+
| [ChatHeaderRight](https://write.woa.com/#ChatHeaderRight) | Right-side custom content area in the header. |
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
## Props Detailed Introduction
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
### title
|
|
39
|
+
- **Type**: string.
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
- **Description**: Custom session title. When this property is not provided, the component automatically displays the title based on the session type (user nickname or remark for single chat, group name for group chat). Default: `undefined`.
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
### avatarUrl
|
|
48
|
+
- **Type**: string.
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
- **Description**: URL address of the custom avatar. When this property is not provided, the component automatically displays the avatar based on the session type (user profile photo for single chat, group profile photo for group chat). Default: `undefined`.
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
### enableUserStatus
|
|
57
|
+
- **Type**: boolean.
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
- **Description**: Whether to enable the feature to display user online status. This takes effect only in single chat mode. Once enabled, it shows the user's online/offline status. Default: `false`.
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
## Slots detailed introduction
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
### ChatHeaderLeft
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
**Description**: Header left-side custom content slot, usually used for placing navigation controls such as back button and menu button.
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
#### Example: Custom left navigation area
|
|
75
|
+
``` typescript
|
|
76
|
+
<template>
|
|
77
|
+
<ChatHeader>
|
|
78
|
+
<template #ChatHeaderLeft>
|
|
79
|
+
Back button, Clear active session
|
|
80
|
+
<button
|
|
81
|
+
class="nav-button"
|
|
82
|
+
@click="handleBack"
|
|
83
|
+
>
|
|
84
|
+
⬅️
|
|
85
|
+
</button>
|
|
86
|
+
</template>
|
|
87
|
+
</ChatHeader>
|
|
88
|
+
</template>
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
<script setup lang="ts">
|
|
92
|
+
import { ChatHeader, useConversationListState } from '@tencentcloud/chat-uikit-vue3';
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
const { setActiveConversation } = useConversationListState();
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
const handleBack = () => {
|
|
99
|
+
set activation session ID to empty
|
|
100
|
+
setActiveConversation('');
|
|
101
|
+
};
|
|
102
|
+
</script>
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
<style scoped>
|
|
106
|
+
.header-left-actions {
|
|
107
|
+
display: flex;
|
|
108
|
+
align-items: center;
|
|
109
|
+
gap: 8px;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
.nav-button {
|
|
114
|
+
width: 32px;
|
|
115
|
+
height: 32px;
|
|
116
|
+
border: none;
|
|
117
|
+
background: transparent;
|
|
118
|
+
border-radius: 4px;
|
|
119
|
+
cursor: pointer;
|
|
120
|
+
display: flex;
|
|
121
|
+
align-items: center;
|
|
122
|
+
justify-content: center;
|
|
123
|
+
transition: background-color 0.2s;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
.nav-button:hover {
|
|
128
|
+
background-color: rgba(0, 0, 0, 0.05);
|
|
129
|
+
}
|
|
130
|
+
</style>
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
### ChatHeaderRight
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
**Description**: Header right-side custom content slot, usually used for placing feature buttons such as the menu toggle of the ChatSetting component and custom call buttons.
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
Example: Integrate the ChatSetting component through the ChatHeaderRight slot and drawer component
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
[App.vue]
|
|
144
|
+
``` typescript
|
|
145
|
+
<template>
|
|
146
|
+
<ChatHeader>
|
|
147
|
+
<template #ChatHeaderRight>
|
|
148
|
+
<div style="display: flex; align-items: center;">
|
|
149
|
+
<IconHorizontalMore2
|
|
150
|
+
:size="20"
|
|
151
|
+
@click="setIsChatSettingOpen(true)" />
|
|
152
|
+
</div>
|
|
153
|
+
</template>
|
|
154
|
+
</ChatHeader>
|
|
155
|
+
<TUIDrawer
|
|
156
|
+
:model-value="isChatSettingOpen"
|
|
157
|
+
:title="Setting"
|
|
158
|
+
@close="setIsChatSettingOpen(false)"
|
|
159
|
+
>
|
|
160
|
+
<ChatSetting style="flex: 1;" />
|
|
161
|
+
</TUIDrawer>
|
|
162
|
+
</template>
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
<script setup lang="ts">
|
|
166
|
+
import {
|
|
167
|
+
ChatHeader,
|
|
168
|
+
ChatSetting
|
|
169
|
+
} from '@tencentcloud/chat-uikit-vue3';
|
|
170
|
+
import { TUIDrawer, IconHorizontalMore2 } from '@tencentcloud/uikit-base-component-vue3';
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
const isChatSettingOpen = ref(false);
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
const setIsSettingOpen = (isOpen: boolean) => {
|
|
177
|
+
isChatSettingOpen.value = isOpen;
|
|
178
|
+
};
|
|
179
|
+
</script>
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
<style>
|
|
183
|
+
.chat-container {
|
|
184
|
+
display: flex;
|
|
185
|
+
flex-direction: column;
|
|
186
|
+
height: 100vh;
|
|
187
|
+
}
|
|
188
|
+
</style>
|
|
189
|
+
```
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
# atomicx component library Manifest and components Application scenarios and considerations
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Component list
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
25 components:
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Components suitable for chat scenarios
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
1. ConversationList
|
|
14
|
+
Session list component, suitable for chat scenarios, in vertical list form, can switch sessions through click. If only chat is needed, this component is optional.
|
|
15
|
+
2. MessageInput
|
|
16
|
+
Message input component, the core component for chat scenarios, can send chat messages. To send a message, you must use this component.
|
|
17
|
+
3. MessageList
|
|
18
|
+
Message list component, the core component for chat scenarios, can display chat message lists, support swipe. This component must use in chat scenarios.
|
|
19
|
+
4. ContactList
|
|
20
|
+
Contact list component, suitable for chat scenarios, can display and manage user contacts. If only chat is needed, this component is optional.
|
|
21
|
+
5. ChatSetting
|
|
22
|
+
Chat settings component, suitable for chat scenarios, manages configuration details such as pin to top, do not disturb, add or remove users in group chat, admin management, and mute. If only chat is needed, this component is optional.
|
|
23
|
+
6. Search
|
|
24
|
+
Search component, used for message search, user search, etc. If only chat is needed, this component is optional.
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
### Components suitable for meeting scenarios
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
1. CameraButton
|
|
31
|
+
Camera control button, applicable only to meeting scenarios, used to turn the camera on/off
|
|
32
|
+
2. StreamView
|
|
33
|
+
Video stream display component, applicable only to meeting scenarios, used to display video stream
|
|
34
|
+
3. UserList
|
|
35
|
+
User list component, applicable only to meeting scenarios, displays users in the meeting or room
|
|
36
|
+
4. VideoSetting
|
|
37
|
+
Video settings component, applicable only to meeting scenarios, for camera, image quality and other video configuration
|
|
38
|
+
5. VideoSettingPanel
|
|
39
|
+
Video settings panel, applicable only to meeting scenarios, provides a complete video configuration interface
|
|
40
|
+
6. AudioSetting
|
|
41
|
+
Audio settings component, applicable only to meeting scenarios, can be configured for microphone, volume and other device configuration
|
|
42
|
+
7. AudioSettingPanel
|
|
43
|
+
Audio settings panel, applicable only to meeting scenarios, provides a complete audio configuration interface
|
|
44
|
+
8. BarrageInput
|
|
45
|
+
Danmu input component, suitable for meeting and live-streaming scenarios, used for sending Danmu messages.
|
|
46
|
+
9. BarrageList
|
|
47
|
+
Danmu list component, suitable for meeting and live-streaming scenarios, displays Danmu messages in the live streaming room.
|
|
48
|
+
10. UserPicker
|
|
49
|
+
User selector, suitable for meeting and live-streaming scenarios, used to invite users or assign permissions.
|
|
50
|
+
11. MicButton
|
|
51
|
+
Microphone control button, suitable for meeting and live-streaming scenarios, used for mute/unmute.
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
### Components for live streaming scenarios
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
1. CoGuestPanel
|
|
60
|
+
Co-anchoring guest management panel, only applicable to live broadcast scenarios, used for the co-anchoring function.
|
|
61
|
+
2. LiveAudienceList
|
|
62
|
+
Live viewers list, only applicable to live broadcast scenarios, displaying current live streaming room audience.
|
|
63
|
+
3. LiveList
|
|
64
|
+
Live room list, only applicable to live broadcast scenarios, shows available live streaming rooms.
|
|
65
|
+
4. LiveMonitorView
|
|
66
|
+
Live monitoring view, only applicable to live broadcast scenarios, for live stream management and monitoring.
|
|
67
|
+
5. LiveScenePanel
|
|
68
|
+
Live streaming control panel, only applicable to live broadcast scenarios, manage live streaming scenarios and effects.
|
|
69
|
+
6. LiveStreamView
|
|
70
|
+
Live video stream display component, only applicable to live broadcast scenarios, plays live stream.
|
|
71
|
+
7. StreamMixer
|
|
72
|
+
Stream mixer component, only applicable to live broadcast scenarios, used for multiple video stream synthesis.
|
|
73
|
+
8. BarrageInput
|
|
74
|
+
Danmu input component, suitable for meeting and live-streaming scenarios, used for sending Danmu messages.
|
|
75
|
+
9. BarrageList
|
|
76
|
+
Danmu list component, suitable for meeting and live-streaming scenarios, displays Danmu messages in the live streaming room.
|
|
77
|
+
10. UserPicker
|
|
78
|
+
User selector, suitable for meeting and live-streaming scenarios, used to invite users or assign permissions.
|
|
79
|
+
11. MicButton
|
|
80
|
+
Microphone control button, suitable for meeting and live-streaming scenarios, used for mute/unmute.
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
### universal component
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
1. Avatar
|
|
87
|
+
Common avatar component, displays user profile photo, online status, and message unread count.
|
|
88
|
+
2. UserPicker
|
|
89
|
+
User selector, used to initiate group chat, group video, or group voice calls in user selection scenarios.
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
## Must-Knows
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
Before integrating any component into a real project, **must** first ensure the integration documentation has been obtained using the following tool and integrate according to the documentation:
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
1. When creating a real project, call the component integration documentation of MCP Tools get_atomicx_integration_guide(framework).
|
|
99
|
+
2. When choosing to use components, first consider the minimum components that meet the requirements, then consider recommended additional extension components. Do not enlarge the requirements.
|
|
100
|
+
3. Components that apply to different scenarios may have an intersection.
|
|
101
|
+
4. According to the user needs, judge if it might be a comprehensive scenario, such as chat + live stream. The probability is low, so proceed with caution.
|
|
102
|
+
5. To learn about the method of use for a specific component, ask the user: "You can ask how to use ${componentname}?"
|