| 
							
							
								 roymondchen | d5ce54f35e | docs: 更新vitepress | 2024-05-24 17:58:24 +08:00 |  | 
			
				
					| 
							
							
								 roymondchen | 66001dae04 | docs: 数据源文档 re #603 | 2024-05-24 15:16:30 +08:00 |  | 
			
				
					| 
							
							
								 roymondchen | 7db8d8f45f | docs: 启动runtime命令出错 | 2024-01-23 15:29:32 +08:00 |  | 
			
				
					| 
							
							
								 roymondchen | 2a5b9ec6bd | feat(editor, stage): 新增禁用多选的props | 2023-12-18 15:00:26 +08:00 |  | 
			
				
					| 
							
							
								 roymondchen | fc89d4cbe8 | chore: 更新vite@5.0.7 | 2023-12-11 11:29:06 +08:00 |  | 
			
				
					| 
							
							
								 roymondchen | ae0b206c4c | docs: 补充数据源相关props | 2023-11-02 17:07:06 +08:00 |  | 
			
				
					| 
							
							
								 roymondchen | 58951caa2f | docs: 联动原理文档中错别字 fix #540 | 2023-10-30 19:51:47 +08:00 |  | 
			
				
					| 
							
							
								 roymondchen | 2bd1033665 | docs: 删除失效描述 | 2023-09-06 16:30:04 +08:00 |  | 
			
				
					| 
							
							
								 roymondchen | 5e316e4d54 | docs: 完善编辑器扩展文档 | 2023-07-21 17:06:46 +08:00 |  | 
			
				
					| 
							
							
								 roymondchen | 9de04ddaa4 | docs: 完善快速开始实例代码 | 2023-06-25 14:40:15 +08:00 |  | 
			
				
					| 
							
							
								 roymondchen | aac478eebc | feat: 新增数据源 | 2023-05-29 11:33:44 +08:00 |  | 
			
				
					| 
							
							
								 roymondchen | fa89af920c | chore(editor): codeDsl由codeBlockService维护,不再从editorService中获取,删除editorService中相关api | 2023-03-23 16:42:36 +08:00 |  | 
			
				
					| 
							
							
								 roymondchen | a4f32ef8dc | docs: tmagic-tutorial仓库地址修改 | 2023-03-22 15:59:07 +08:00 |  | 
			
				
					| 
							
							
								 roymondchen | b9248498eb | docs: 更新教程 | 2023-03-22 15:29:53 +08:00 |  | 
			
				
					| 
							
							
								 Cap | ad293fcd31 | docs: 组件联动部分vue示例代码修改 | 2023-03-09 15:58:58 +08:00 |  | 
			
				
					| 
							
							
								 Capchen | e3af0b2914 | docs: 组件开发和页面发布模块的文档修改 (#488) * docs(docs): 组件开发和页面发布模块的文档修改
* docs(): 根据review建议,撤回有误解的修改[/]
* docs(): 回撤publish.md文件中的描述 | 2023-03-06 10:38:45 +08:00 |  | 
			
				
					| 
							
							
								 parisma | bf5844c72a | docs: 增加表单对比文档说明 | 2023-03-01 09:25:05 +00:00 |  | 
			
				
					| 
							
							
								 parisma | dd884b96ba | docs: 添加关于代码块内容的文档 | 2023-03-01 09:25:05 +00:00 |  | 
			
				
					| 
							
							
								 roymondchen | 3501a69b2f | docs: cascader链接不对 | 2023-02-15 14:27:29 +08:00 |  | 
			
				
					| 
							
							
								 oceanzhu | 23708e4644 | chore: 更新版权年份 | 2023-01-04 16:11:51 +08:00 |  | 
			
				
					| 
							
							
								 roymondchen | 4ad66b27e8 | docs: 去掉beta | 2022-12-22 11:21:12 +08:00 |  | 
			
				
					| 
							
							
								 roymondchen | 841b75eef1 | docs: 添加editor disabledDragStart props | 2022-12-12 17:07:45 +08:00 |  | 
			
				
					| 
							
							
								 roymondchen | a40db172bb | docs: 完善service api | 2022-12-08 16:13:33 +08:00 |  | 
			
				
					| 
							
							
								 roymondchen | 75eddb913b | chore: 更新文档base | 2022-12-01 17:51:21 +08:00 |  | 
			
				
					| 
							
							
								 roymondchen | f6262be397 | docs: 1.2.0文档 | 2022-12-01 17:38:05 +08:00 |  | 
			
				
					| 
							
							
								 roymondchen | c143a5f767 | Revert "chore: github文档构建锁定在v1.1.6版本" This reverts commit 3291530b326289653a25a21894dcea3ede9ff520. | 2022-11-29 18:06:40 +08:00 |  | 
			
				
					| 
							
							
								 roymondchen | 3291530b32 | chore: github文档构建锁定在v1.1.6版本 | 2022-11-29 17:25:53 +08:00 |  | 
			
				
					| 
							
							
								 parisma | 64d71bef42 | docs(admin): 管理端文档更新 | 2022-11-25 15:19:09 +08:00 |  | 
			
				
					| 
							
							
								 oceanzhu | 3fb880d09b | refactor(stage):重构魔方编辑器stage代码 Squash merge branch 'feature/oc_actionbox_879360293' into 'master'
    对魔方编辑器核心代码stage进行重构,这部分代码主要是负责编辑器中间画布区域的处理,包括渲染一个所见即所得的画布,支持组件的增删改查和拖拽、高亮操作。
    旧代码存在的问题以及解决方案:
    1、过多暴露属性和循环引用,导致stageCore、stageDragResize、StageMultiDragResize、StageRender、StageMask、StageHighlight之间形成复杂的网状依赖,非常不可控。StageCore负责创建后面5个类的实例,并把这些实例作为自己的公共属性,同时core把自己的this传给这些实例,这些实例就会通过core传进来的this,通过core间接的访问其它实例的方法和属性,比如在stageDragResize中可能存在这样的一个访问:this.core.stageRender.contentWindow.document
    解决方案:
    1)、属性尽量设置为私有,对外暴露方法,不暴露属性;
    2)、core避免向其它类传递this,改为传递接口,需要什么就传什么
    2、事件传递较多,跳来跳去,定位问题较为困难
    解决方案:
    重新梳理各个类的职责,尽量在类中闭环,减少事件传递。
    新增了actionManager类,core负责管理render、mask、actionManager三个类;
    actionManager负责管理单选、多选、高亮三个类,同时将mask中的事件监听,转移到actionManager监听,actionManager形成单选、多选、高亮行为后,直接调动单选、多选、高亮完成功能。
    3、存在一些重复代码
    主要是拖拽框的代码在单选、多选、高亮中各自维护,改为统一维护
    4、多选不支持辅助线对齐
    将单选中的moveableOption管理逻辑抽取出来成为单选和多选的父类,使多选支持辅助线对齐
    本次改动取消了一些对外暴露的属性,moveableOption回调函数签名也有变化,详细情况如下:
    删除stageCore公共属性:
    public selectedDom: HTMLElement | undefined;
    public selectedDomList: HTMLElement[] = [];
    public highlightedDom: Element | undefined;
    public dr: StageDragResize;
    public multiDr: StageMultiDragResize;
    public highlightLayer: StageHighlight;
    public config: StageCoreConfig;
    public zoom = DEFAULT_ZOOM;
    public containerHighlightClassName: string;
    public containerHighlightDuration: number;
    public containerHighlightType?: ContainerHighlightType;
    public isContainer: IsContainer;
    stageCore入参改动:
    这两个参数原本定义:
    moveableOptions?: ((core?: StageCore) => MoveableOptions) | MoveableOptions;
    multiMoveableOptions?: ((core?: StageCore) => MoveableOptions) | MoveableOptions;
    修改后定义:
    moveableOptions?: CustomizeMoveableOptions;
    multiMoveableOptions?: CustomizeMoveableOptions;
    CustomizeMoveableOptions =
      | ((config?: CustomizeMoveableOptionsCallbackConfig) => MoveableOptions)
      | MoveableOptions
      | undefined;
    export interface CustomizeMoveableOptionsCallbackConfig {
      targetElId?: string;
    } | 2022-11-24 21:19:56 +08:00 |  | 
			
				
					| 
							
							
								 roymondchen | deeb55cd0b | chore: release v1.2.0-beta.18 | 2022-11-24 21:04:33 +08:00 |  | 
			
				
					| 
							
							
								 roymondchen | 76a8eee6c5 | chore: release v1.2.0-beta.17 | 2022-11-24 15:27:37 +08:00 |  | 
			
				
					| 
							
							
								 roymondchen | f44500d21b | chore: release v1.2.0-beta.16 | 2022-11-23 18:52:24 +08:00 |  | 
			
				
					| 
							
							
								 roymondchen | a4f9467d53 | chore: release v1.2.0-beta.15 | 2022-11-22 16:41:50 +08:00 |  | 
			
				
					| 
							
							
								 roymondchen | 0680bca2b4 | docs: 安装cli的命令示例出错 | 2022-11-21 19:11:51 +08:00 |  | 
			
				
					| 
							
							
								 roymondchen | f0d6624fc4 | chore: release v1.2.0-beta.14 | 2022-11-18 18:12:58 +08:00 |  | 
			
				
					| 
							
							
								 roymondchen | a575073387 | chore: release v1.2.0-beta.13 | 2022-11-15 18:19:57 +08:00 |  | 
			
				
					| 
							
							
								 roymondchen | 52fc452823 | chore: release v1.2.0-beta.12 | 2022-11-15 16:58:27 +08:00 |  | 
			
				
					| 
							
							
								 roymondchen | 2bbca87e51 | chore: release v1.2.0-beta.11 | 2022-11-08 16:23:29 +08:00 |  | 
			
				
					| 
							
							
								 roymondchen | d8d6342505 | chore: release v1.2.0-beta.10 | 2022-11-07 16:31:40 +08:00 |  | 
			
				
					| 
							
							
								 roymondchen | 95be9e9390 | chore: 更新element-plus, tabpane只能是tabs的子元素,不能对tabpane进行二次封装 | 2022-11-02 15:24:58 +08:00 |  | 
			
				
					| 
							
							
								 roymondchen | bb01427a42 | chore: release v1.2.0-beta.9 | 2022-10-28 19:20:04 +08:00 |  | 
			
				
					| 
							
							
								 roymondchen | 73ecdfff70 | chore: release v1.2.0-beta.8 | 2022-10-25 17:41:35 +08:00 |  | 
			
				
					| 
							
							
								 roymondchen | f9682a7b70 | chore: release v1.2.0-beta.7 | 2022-10-17 16:03:29 +08:00 |  | 
			
				
					| 
							
							
								 roymondchen | f6af025355 | chore: release v1.2.0-beta.6 | 2022-10-14 18:52:37 +08:00 |  | 
			
				
					| 
							
							
								 roymondchen | 8c5518170d | chore: release v1.2.0-beta.5 | 2022-10-12 19:21:24 +08:00 |  | 
			
				
					| 
							
							
								 roymondchen | d5e8a77821 | chore: release v1.2.0-beta.4 | 2022-10-12 16:31:14 +08:00 |  | 
			
				
					| 
							
							
								 roymondchen | 3baf6ffffc | chore: release v1.2.0-beta.3 | 2022-10-12 15:42:02 +08:00 |  | 
			
				
					| 
							
							
								 roymondchen | 32a24ad578 | feat: table切换成TMagicDesign | 2022-10-11 18:11:32 +08:00 |  | 
			
				
					| 
							
							
								 roymondchen | 4090536c97 | docs: 使用element-plus-adapter | 2022-10-11 16:08:20 +08:00 |  | 
			
				
					| 
							
							
								 roymondchen | 7da3509bd0 | chore: release v1.2.0-beta.2 | 2022-09-28 16:45:58 +08:00 |  |