@beisen/ethos

beisencloud pc react components

Usage no npm install needed!

<script type="module">
  import beisenEthos from 'https://cdn.skypack.dev/@beisen/ethos';
</script>

README

ethos:pc端组件库

开发者文档

# 本地开发,默认入口 http://locahost:3002/ethos/ethos.js
npm start

# nginx 添加如下配置,插入位置参考 BeisenCloudUI
rewrite ^/ux/p-beisencloud-core/release/dist/ethos-(.*).bundle.min.js /ethos/ethos.js;
location /ethos/ {
       proxy_pass http://localhost:3002;
       proxy_connect_timeout 1;
       proxy_read_timeout 1;
       proxy_send_timeout 1;
}

历史 Changelog,待确认后删除或另存

V0.0.1

support components:

---- AutoComplete: "0.0.4"

---- BaseButton: "0.0.3"

---- CheckboxList: "0.0.4"

---- DropdownButton: "0.0.3"

---- FormUploader: "0.0.3"

---- IconButton: "0.0.3"

---- Paging: "0.0.3"

---- TabComponent": "0.0.7"

V0.0.2

add new components

---- DataGrid: "0.0.1"

---- FormUploader: "0.0.3"

---- Search": "0.0.5"

V0.0.3

---- Components_EmailUrl: "0.0.5"

V0.0.4

---- Sidebar: "0.0.2"

---- ImagePreview: "0.0.2"

---- ButtonGroup: "0.0.2"

---- CommonPop: "0.0.2"

V0.0.6

---- Textarea: "0.0.1"

V0.0.7

---- DataTime: "0.0.1"

升级了AutoComplete及TabComponent

V0.0.8

Sidebar组件改名

V0.0.9

升级:CheckboxList/Components_EmailUrl

V0.1.0 /V0.1.1

组件新增hidden/disabled/readOnly/onClick

---- StaticFormLabel:"0.0.1"

---- UserSelector:"0.0.1"

---- RadioList:"0.0.1"

---- DropDownList:"0.0.1"

---- Textbox:"0.0.2"

---- PopTree:"0.0.2"

V0.1.2

升级:CommonPop/Search/DropDownList/Textbox

V0.1.3

更名:FormUploader ——> Uploader

升级:Textbox/CommonPop/Sidebar/Uploader

V0.1.4

升级:BaseButton/ButtonGroup/CommonPop/IconButton/DropDownButton/PopTree

V0.1.5

升级:CommonPop/DateTime/DropDownList/PopTree/Search/Sidebar

V0.1.6

升级:Uploader/UserSelector/RadioList/Textarea/TabComponent/Textbox/DateTime/ButtonGroup/CommonPop/DropDownList/Search

V0.1.7

组件新增AreaSelector

---- AreaSelector:"0.0.1"

升级:UserSelector/Textarea/Textbox/DateTime/ButtonGroup/DropDownList/Search/DataGrid/AutoComplete/StaticFormLabel/DropDownButton

V0.1.8

组件新增Tree

---- Tree:"0.0.1"

升级:UserSelector/Textarea/Textbox/DateTime/ButtonGroup/DropDownList/Search/AutoComplete/DropDownButton/CheckBoxList/CommonPop/PopTree/Paging/

V0.1.9

  1. 组件CheckBoxList、RadioList、DropDownButton、DropDownList中数据字段id、title改变为value、text
  2. 为部分组件增加错误提示,必填提示,并修复组件内bug及样式问题
  3. 使用NaDeStyle的iconfont/svg替换基础组件内图标
  4. Uploader组件更名为FormUploader

V0.2.0

  1. 所有组件增加名称大小写验证插件
  2. CheckBoxList、RadioList增加数据同步并调整布局

V0.2.1

组件新增Loading

升级:DataGrid/CommonPop/PopTree/DropDownList/DropDownButton

V0.2.2

升级:Loading

V0.3.0

更新package.json中的配置

基础组件bug修复

how to use

cnpm install @beisen/ethos

import {Paging} from '@beisen/ethos';

v0.3.91-6

将ethos单独打包,从业务的main里面分离

v0.4.0

版本从hash值更换为tag号

v0.4.4

09.13 平台上线特供版,大量版本回退到http://gitlab.beisen.co/cnpm/Ethos/blob/d13dd01b54462a1b70355c2e6098a86ad23dc842/package.json,只有textarea升为0.1.23

注意:每次打tag需要先运行 npm run build-dev ,来保证dist 目录下最新版本 每次发版后需要手动将 ci上生成的版本号复制到配置文件中。