@esri/solutions-components

中文文档
5.1.17发布于 2026/09/18SEE LICENSE IN LICENSE.mdTypeScriptES Module近 30 天下载 6689

Web Components for Esri's Solutions Applications

原始使用文档

solutions-components

No Esri Technical Support included.

This is not intended to be used directly, but rather used as a dependency for other Solutions applications.

License

COPYRIGHT © 2025 Esri

All rights reserved under the copyright laws of the United States and applicable international laws, treaties, and conventions.

This material is licensed for use under the Esri Master License Agreement (MLA), and is bound by the terms of that agreement. You may redistribute and use this code without modification, provided you adhere to the terms of the MLA and include this copyright notice.

See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english

For additional information, contact: Environmental Systems Research Institute, Inc. Attn: Contracts and Legal Services Department 380 New York Street Redlands, California, USA 92373 USA

email: [email protected]

版本与发布记录

@esri/solutions-components 共发布 871 个版本,首次发布于 2021/12/03;过去 12 个月发布了 388 个版本。

版本发布日期距今
5.1.17latest2026/09/181 个月前
5.1.162026/09/181 个月前
5.1.152026/08/043 个月前
5.1.142026/08/013 个月前
5.1.132026/07/233 个月前
5.1.122026/07/233 个月前

其他发布通道:next → 5.1.0-next.174。

关于 @esri/solutions-components 的常见问题

@esri/solutions-components 是什么?

Web Components for Esri's Solutions Applications

如何安装 @esri/solutions-components?

在项目目录运行 npm install @esri/solutions-components,或使用 pnpm add / yarn add / bun add。它还需要宿主项目提供 peer 依赖:@arcgis/core(^5.1.0)、@arcgis/map-components(^5.1.0)、@esri/calcite-components(^5.1.1)、templates-common-library(>=0.0.724)、@arcgis/instant-apps-components(^5.1.1)。npm 7 及以上与 pnpm 8 及以上默认会自动安装必需的 peer 依赖,Yarn 需要手动安装。

@esri/solutions-components 支持 TypeScript 吗?

支持。包内自带 TypeScript 类型声明(package.json 声明了 types 入口),安装后即可获得类型提示,无需再安装 @types 包。

@esri/solutions-components 支持 ESM 还是 CommonJS?

以 ES Module 形式发布,推荐使用 import 引入。在 CommonJS 项目中,Node.js 20.19+ / 22.12+ 可以直接 require() 不含顶层 await 的 ES Module,更早的版本需要改用动态 import()。

@esri/solutions-components 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js ^24.11.1。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

@esri/solutions-components 可以商用吗?

@esri/solutions-components 使用 SEE LICENSE IN LICENSE.md 许可。许可条款写在包内的独立文件中,请阅读该文件确认可否商用。以上为概括,不构成法律意见,请以许可原文为准。

@esri/solutions-components 的下载量有多少?

根据 npm 官方下载统计,@esri/solutions-components 在 2026/10/14 – 2026/11/12 这 30 天内被下载 6,689 次,日均约 223 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@esri/solutions-components 还在维护吗?

最新版本 5.1.17 发布于 2026/09/18(1 个月前);至今共发布 871 个版本,其中过去 12 个月发布了 388 个;首次发布于 2021/12/03。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。