Giter Club home page Giter Club logo

adhere's Introduction

简介

  这个工程中包含很多个npm包(整体也是一个npm包),这些包都是在平时工作中沉淀出来的一些可以高度复用的组件,有UI相关、工具相关、GIS相关,使用的是React技术,有的可能是对ant-design(还有其他第三方的库)的二次封装

✨ 特性

  • 支持 react(18.x)
  • 支持 ant-design(5.x)
  • 支持国际化
  • 支持修改主题
  • 支持动态引入(babel-plugin-import)
  • 每一个子包都可以单独安装
  • 使用typescript编写

🖥 兼容环境

  • 现代浏览器,不支持IE
  • 每一个子包对IE的兼容性都不一样需要具体看

分支要求

  • develop 是不支持 IE 的分支
    • 使用 React18.x
    • antd 使用 5.x
    • tsconfig 的 target 可以给出 es6
    • 不支持 ie 的版本号应该
    • vx.x.x
  • feature 是支持 IE 的分支
    • 使用 React18.x
    • antd 使用 3.x
    • tsconfig 的 target 只能给出 es5
    • vx.x.x-polyfill

📦 安装

npm install @baifendian/adhere --save
yarn add @baifendian/adhere

线上地址(临时)

https://playerljc.github.io/adhere/index.html#/adhere/

adhere's People

Contributors

playerljc avatar bizhigang avatar yumengqin avatar iamiota avatar

Stargazers

 avatar  avatar naraku avatar Michael Zhang avatar  avatar

Watchers

 avatar

adhere's Issues

adhere-util-intl

现在是单实例,如果一个工程中有多个ConfigProvide则会出现问题,是否要改成一个ConfigProvider有一个Intl实例

ToDoList

  • 开发功能

    • adhere-ui-searchtable
      • 删除后刷新页面页码修改
      • renderInner函数实现细节修改
    • adhere-ui-antdformitem 中字典生成器中,数据源组件的value如果在dataSource中没有找到则赋值未空(adherev需要同步
    • adhere-ui-antdformitem 新的生成器
    • adhere-ui-antdformitem echarts生成器
    • adhere-ui-antdformitem TableGridLayout生成器
    • adhere-ui-antdformitem Tag生成器
    • adhere-ui-antdformitem Menu生成器
    • adhere-ui-antdformitem Dropdown生成器
    • adhere-ui-antdformitem Breadcrumb生成器
    • adhere-ui-antdformitem Segmented生成器
    • adhere-ui-antdformitem Timeline生成器
    • adhere-ui-antdformitem Mentions生成器
    • adhere-ui-antdformitem Setps生成器
    • cascadeParams判断参数是否一致,修改为深拷贝判断
    • adhere-ui-revolving 实现列表的revolving
    • adhere-util-containerresizable 开发
    • adhere-util-echartsresizable 开发
    • adhere使用css in js
    • adhere-uitl-dict加入和字典对应的组件
    • adhere-ui-space加入响应式,Group可以处理Fragment
    • adhere-ui-split加入响应式,Group可以处理Fragment
    • adhere-ui-flexlayout加入栅格配置
    • 加入adhere-ui-searchlist组件
    • adhere-ui-antdformitem中的FormItemGeneratorToDict重构
    • antdform-normalize中将normal单独拿出来作为单独的package
    • 所有涉及到使用antd,normal,icon的package都需要加入babel-plugin-import
    • adhere-ui-globalindicator 加入一个可以关闭所有loading的方法(先做1)
    • adhere-util加入和size相关的方法
  • 待定

  • Demo的完善 主要是例子的补全和属性的补全

  • adhere-ui-antdformitem

  • adhere-ui-conditionalrender

  • adhere-ui-configprovider

  • adhere-ui-confirm-delconfirm

  • adhere-ui-confirm-importantconfirm

  • adhere-ui-contourblock

  • adhere-ui-datedisplay

  • adhere-ui-flexlayout

  • adhere-ui-globalindicator

  • adhere-ui-historyback

  • adhere-ui-hooks

  • adhere-ui-messagedialog

  • adhere-ui-permission

  • adhere-ui-popup

  • adhere-ui-prompt-errorprompt

  • adhere-ui-prompt-successprompt

  • adhere-ui-prompt-warnprompt

  • adhere-ui-reactquill-sandbox

  • adhere-ui-scrollload

  • adhere-ui-searchtable

  • adhere-ui-space

  • adhere-ui-suspense

  • adhere-ui-tablegridlayout

  • adhere-ui-css

  • adhere-util-communication-ajax

  • adhere-util-dict

  • adhere-util-intl

  • adhere-util-preferences

  • adhere-util-iframeio

  • adhere-util-emitter

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.