Giter Site home page Giter Site logo

hhy5277 / web-editor Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zhudavid80/web-editor

0.0 1.0 0.0 11.43 MB

Web可视化组态编辑器(低代码)(Angular)

Home Page: https://bojue.github.io/Web-Editor

JavaScript 0.53% TypeScript 64.85% HTML 20.16% SCSS 14.46%

web-editor's Introduction

Tempo

基于angular版本开发,在线预览

项目截图

update

newdemo

! DEMO数据存储在IndexedDB,不要清除本地缓存:cookie及其他网站数据 
! 商业开发请开发对应后台服务

下载

  • 前端
git clone https://github.com/bojue/Web-Editor.git
cd Web-Editor
npm install

运行

  1. 默认运行命令,需要服务端支持,也就是所以tag v0.1.0之后的版本,请先下载 服务端node版本 并完成服务端启动。
npm run dev 

//or

npm run start

使用说明

功能列表

  • 拖拽创建组件
  • 页面管理
  • 元素列表
  • 样式绑定
  • 快捷键
  • 预览
  • 项目管理
  • 服务器支持 (仅v0.1.0支持)
  • IndexDB

快捷键

名称 快捷键
拷贝 control+ c
复制 control+ v
删除 delete
位置 上,下,左,右键

开发文档

编辑器代码组织

.
+-- editor                      //编辑器模块
|   +-- comps  
|       +-- comp-basic              //组件库基类
|           +-- data-basic             //数据基类组件
|           +-- event-basic            //事件基类组件
|           +-- style-basic            //样式基类组件
|           +-- custom-basic           //自定义基类组件(业务组件)
|       +-- comp-lib                //核心组件库
|           +-- basic                   //基础组件库,不需要绑定数据的组件 
|           +-- business                //业务组件库,可绑定数据等复杂操作
|           +-- tool                    //工具组件库,仅方便编辑组态
|       +-- comp-settings          //设置组件库
|           +-- data                    //数据绑定
|           +-- event                   //事件绑定
|           +-- style                   //样式绑定
|   +-- develop                     //开发编辑模块
|       +-- configuration               //页面配置
|       +-- help                        //帮助
|       +-- pre-view                    //预览
|       +-- setting                     //组件设置
|       +-- develop.component           //编辑器核心容器组态
|   +-- directive                   //编辑器指令
|   +-- model  
|   +-- provider                    //编辑器核心服务
|       +-- comp-list.service           //组态列表
|       +-- comp-config.service         //组态配置信息
|       +-- comp-dynamic-create.service //组态type和组态映射

v0.1.1

  • 服务端(仅v0.1.1支持服务端)
npm run proxy 

下载编辑器对应的Node服务端v0.1.0以后版本都需要服务器支持,请按照 文档 配置依次服务器

其他

History List

  • 项目基于angular2 (版本号 13)开发
  • 已经升级到V13
  • 服务端支持
  • 本地部署

TODO List

  • IDC行业组态扩展示例内容
  • 在线试用

History

  • 20220405
    • angular版本更新Version8 => Version13
    • 优化拖拽创建组件卡顿问题

web-editor's People

Contributors

bojue avatar

Watchers

 avatar

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.