open-index/open-npm huggingface dataset:
npm package: @steedos-ui/builder-widgets
Description: Adds widgets for Builder.io editing, such as carousels, tabs, accordions, etc.
Author: Steve Sewell
Latest version: 2.2.53

# Builder Widgets

Adds widgets for Builder.io editing, such as carousels, tabs, accordions, etc.

## How to use it

First, install the package

```bash
npm install @builder.io/widgets
```

When using the React SDK, just

```ts
import '@builder.io/widgets';
```

Anywhere that you render a `<BuilderComponent ... />`, and now the widgets will register and be available in the editor and when rendering (including server side)

## Example

See here for a real [working example in our next.js example repo](/examples/next-js/pages/[...slug].js)

## Lazy Loading

You can also lazy load these components. To do so, instead of importing the root `@builder.io/widgets` which synchronously registers all components, you can insteda register them with your lazy loading library of choice, and these components will only load when used in content, as needed.

Here is an example with Next.js

```ts
import { Builder } from '@builder.io/react';
import { accordionConfig } from '@builder.io/widgets/dist/lib/components/Accordion.config';
import dynamic from 'next/dynamic';

Builder.registerComponent(
  dynamic(() =>
    import('@builder.io/widgets/dist/lib/components/Accordion').then(mod => mod.AccordionComponent)
  ),
  accordionConfig
);
```

You can also use this same methodology with [Loadable](https://github.com/jamiebuilds/react-loadable) or [Suspense](https://reactjs.org/docs/concurrent-mode-suspense.html) as well.

## Help and troubleshooting

Questions or feedback - contact us at help@builder.io, we are happy to help!
npm package: @steedos-widgets/amis-lib
Description: <!--  * @Author: baozhoutao@steedos.com  * @Date: 2022-09-01 09:11:13  * @LastEditors: baozhoutao@steedos.com  * @LastEditTime: 2022-09-05 17:53:19  * @Description:  --> # Amis-lib
Latest version: 6.3.17
npm package: @steedos-widgets/steedos-lib
Description: <!--  * @Author: baozhoutao@steedos.com  * @Date: 2022-09-01 09:11:13  * @LastEditors: baozhoutao@steedos.com  * @LastEditTime: 2022-10-31 17:41:49  * @Description:  --> # Steedos-lib
Latest version: 6.3.17
npm package: @steedos-widgets/steedos-object
Description: Adds widgets for Builder.io editing, such as carousels, tabs, accordions, etc.
Author: Steve Sewell
Latest version: 0.0.9

# Builder Widgets

Adds widgets for Builder.io editing, such as carousels, tabs, accordions, etc.

## How to use it

First, install the package

```bash
npm install @builder.io/widgets
```

When using the React SDK, just

```ts
import '@builder.io/widgets';
```

Anywhere that you render a `<BuilderComponent ... />`, and now the widgets will register and be available in the editor and when rendering (including server side)

## Example

See here for a real [working example in our next.js example repo](/examples/next-js/pages/[...slug].js)

## Lazy Loading

You can also lazy load these components. To do so, instead of importing the root `@builder.io/widgets` which synchronously registers all components, you can insteda register them with your lazy loading library of choice, and these components will only load when used in content, as needed.

Here is an example with Next.js

```ts
import { Builder } from '@builder.io/react';
import { accordionConfig } from '@builder.io/widgets/dist/lib/components/Accordion.config';
import dynamic from 'next/dynamic';

Builder.registerComponent(
  dynamic(() =>
    import('@builder.io/widgets/dist/lib/components/Accordion').then(mod => mod.AccordionComponent)
  ),
  accordionConfig
);
```

You can also use this same methodology with [Loadable](https://github.com/jamiebuilds/react-loadable) or [Suspense](https://reactjs.org/docs/concurrent-mode-suspense.html) as well.

## Help and troubleshooting

Questions or feedback - contact us at help@builder.io, we are happy to help!
npm package: @steedos/data-import
Description: <!--  * @Author: sunhaolin@hotoa.com  * @Date: 2021-10-21 09:57:01  * @LastEditors: 孙浩林 sunhaolin@steedos.com  * @LastEditTime: 2023-11-14 11:13:54  * @Description:  --> ## 功能说明 - 此包是系统设置中的数据导入功能，可通过excel导入对象数据
Latest version: 3.0.12
npm package: @steedos/ee_community-users
Description: <!--  * @Author: sunhaolin@hotoa.com  * @Date: 2022-05-07 15:26:35  * @LastEditors: sunhaolin@hotoa.com  * @LastEditTime: 2022-05-07 15:28:22  * @Description:  --> # @steedos/ee_community-users
Latest version: 2.5.52
npm package: @steedos/ee_sso
Description: 需要配置以下环境变量 ``` SSO_OIDC_CONFIG_URL= 必填 SSO_OIDC_CLIENT_ID= 必填 SSO_OIDC_CLIENT_SECRET= 必填 SSO_OIDC_REQUIRE_LOCAL_ACCOUNT= 是否需要本地账户. 选填, 默认值false. SSO_OIDC_NAME= 选填,默认Steedos SSO_OIDC_LOGO= 选填,默认/images/logo.png ```
Latest version: 2.2.52-beta.21
npm package: @steedos/ee_sso-oidc
Description: <!--  * @Author: baozhoutao@steedos.com  * @Date: 2022-06-24 17:03:59  * @LastEditors: baozhoutao@steedos.com  * @LastEditTime: 2022-06-29 15:45:29  * @Description:  --> ## 单点登录服务
Latest version: 2.7.31
npm package: @steedos/ee_unpkg
Description: The CDN for everything on npm
Latest version: 3.0.2

# UNPKG &middot; [![Travis][build-badge]][build]

[build-badge]: https://img.shields.io/travis/mjackson/unpkg/master.svg?style=flat-square
[build]: https://travis-ci.org/mjackson/unpkg

[UNPKG](https://unpkg.com) is a fast, global [content delivery network](https://en.wikipedia.org/wiki/Content_delivery_network) for everything on [npm](https://www.npmjs.com/).

## Documentation

Please visit [the UNPKG website](https://unpkg.com) to learn more about how to use it.

## Getting started

```
nvm use 14
yarn install
yarn build

export PORT=8080
export NPM_CONFIG_REGISTRY=https://registry.npmmirror.com

yarn start
```

## Build Docker

```
docker build --tag steedos/steedos-unpkg .
docker run -p 8080:8080 -d steedos/steedos-unpkg 
```

访问 http://127.0.0.1:8080/unpkg

## 白名单

限制CDN服务器只能访问指定的包。

```
export UNPKG_WHITE_LIST=react,@steedos,lodash
```

- 环境变量用于控制允许访问的包关键词，用逗号隔开。
- 任何包只要包含其中任何一个关键词都可以访问。 
- 如果未配置环境变量，则不做任何限制。

## 远程NPM仓库

设置远程NPM仓库，UNPKG将从此仓库下载软件包。

```
NPM_CONFIG_REGISTRY=https://registry.npmmirror.com
```

## NPM 缓存

可以在本地文件夹中缓存npm信息。

- NPM_CACHE_ENABLED 启用缓存。配置为 false 禁用。
- NPM_CACHE_FOLDER 缓存文件夹的路径，默认为 caches 子文件夹。
- NPM_CACHE_PACKAGE_INFO 自动保存软件包信息到本地缓存。配置为 false 禁用。
- NPM_CACHE_PACKAGE_CONTENT 自动保存软件包内容到本地缓存。配置为 false 禁用。
- NPM_CACHE_AUTO_UPGRADE 启用此参数后，软件包版本更新时，会自动删除本地缓存的软件包信息文件，以便下次请求时获取最新的信息。配置为 false 禁用。

```shell
DEBUG=1
NPM_CACHE_ENABLED=true
NPM_CACHE_FOLDER=/caches/
NPM_CACHE_AUTO_UPGRADE=true
```

### 纯内网环境使用CDN

如果服务器不能访问外网，可以按以下步骤操作，使用本地缓存。

1. 在内网环境启动服务；
2. 配置 NPM_CACHE_ENABLED 相关环境变量；
```shell
DEBUG=1
NPM_CACHE_ENABLED=true
NPM_CACHE_FOLDER=/caches/
```

3. 参考 [自动更新缓存文件夹](#自动更新缓存文件夹) 在联网服务器上启动服务并缓存资产包到/caches；
4. 将联网服务器上缓存的caches文件夹拷贝到内网环境中并替换本地的caches文件夹；

### 手工更新缓存文件夹

在可以访问公网的服务器上用脚本，生成 /caches/ 文件夹，复制到内网环境。

> 注意，`@organization/package` 格式的软件包，需要保存为 `@organization_package`

```
cd /caches/
curl -o react.json https://registry.npmjs.com/react
curl -o react-18.2.0.tgz https://registry.npmjs.com/react/-/react-18.2.0.tgz
curl -o @steedos-widgets_amis-object.json https://registry.npmjs.com/@steedos-widgets/amis-object
curl -o @steedos-widgets_amis-object-1.1.6.tgz https://registry.npmjs.com/@steedos-widgets/amis-object/-/amis-object-1.1.6.tgz
```

### 自动更新缓存文件夹

在可以访问公网的服务器上启动服务，访问需要缓存的软件包版本，生成 /caches/ 文件夹，复制到内网环境。

```shell
NPM_CONFIG_REGISTRY=https://registry.npmmirror.com
NPM_CACHE_ENABLED=true
NPM_CACHE_FOLDER=/caches/
NPM_CACHE_PACKAGE_INFO=true
NPM_CACHE_PACKAGE_CONTENT=true
NPM_CACHE_AUTO_UPGRADE=true
```


### 与华炎魔方集成

配置环境变量指向本服务，可以启用此服务作为华炎魔方内置的CDN服务。

```
STEEDOS_UNPKG_URL=http://127.0.0.1:8080
```