Commit Graph

171 Commits

Author SHA1 Message Date
Gene ffd0280877
fix: 事件绑定JSX函数时,函数解析报错 (#441)
* fix: 绑定事件时保留函数名,避免JSX转换出错
2024-05-17 11:42:10 +08:00
Gene 47c71d1129
fix: 行列容器组件纵向分割大于2的时候报错 (#474)
* fix: 行列容器组件纵向分割大于2的时候报错
2024-05-17 11:41:10 +08:00
Gene 0d36df07a7
fix: 修复画布行列容器组件中的分割工具位置错误的问题 (#458)
* fix: 修复画布行列容器组件中的分割工具位置错误的问题
2024-05-17 11:40:47 +08:00
chilingling 6d9241ed6a
fix(chore): remove ai code review workflow (#490) 2024-05-17 10:40:22 +08:00
rhlin 899d616f7e
build: 公共依赖cdn解耦并增加开关控制 (#360)
* build: external public cdn localize 公共cdn依赖包支持本地化

* build: cdn外部依赖解耦,修复baseUrl获取

* build: cdn依赖解耦 修正baseUrl获取方式

* build: cdn依赖三方解耦,优化目录型拷贝

* build: cdn依赖解耦,解决目录复制文件的相对路径问题

* build(design-core): 修复monaco的worker使用cdn地址前缀的情况下打包失效

* build: 本地开发也支持脱离cdn三方依赖

* build: 去除代码注释

* build: 三方cdn依赖解耦  物料bundle文件依赖支持替换cdn依赖

* build(design-core) 去除冗余用不到的文件和配置项硬编码

* build: 公共依赖cdn解耦测试完成 开关默认关闭

* refactor: 简化三方cdn依赖解耦的正则,改为path方法

* refactor: 三方依赖解耦脚本代码优化,减少雷同的正则匹配

* refactor: 三方cdn依赖解耦脚本 简化合并正则

* build: 三方cdn解耦 物料本地打包逻辑优化修正

* build: 三方cdn依赖解耦,优化代码简化正则,修复计算版本号问题,修复函数名大小写问题

* build: 优化importMap版本站位符号

* build: 三方cdn物料解耦 变量改为环境变量

* build: 三方cdn依赖解耦 补充处理复制文件夹时候的去重

* fix: 三方cdn解耦, 解决本地启动问题

* feat(preview): preview也支持cdn依赖解耦

* refactor(desing-core/scripts): 重构复制cdn文件本地复制模块

* build:  重构预览的importMap复制逻辑,修复两个importMap文件不存在

* build: 进一步优化monacoEditor地址,直接打包不再跨网络获取

* refactor(design-core/scripts): 调整复制应用importMap函数的参数顺序,与其他结构类似

* refactor(design-core/script): 调整文件位置和文件引用顺序

* feat(design-core/preview): preview importMap.js 使用 importMap.json 数据归一

* fix(design-core/preview): 修复importJson的引用

* fix: mock端口号订正,解决element-plus拖入画布后无法渲染

* build(design-core/script): 修复临时安装包插件安装完包后返回目录不正确

* fix: 修正monaco-editor的worker资源的打包地址

* build(design-core/script): 修复临时安装包插件安装完包后返回目录不正确

* fix(design-core/preview): 修正cdn解耦preview获取动态的importMap.json的base路径问题

* build: 三方cdn解耦,优化拷贝脚本,修复文件夹当文件拷贝当文件夹是包路径时候目标路径版本号丢失

* build: 三方cdn解耦,解决包未安装的情况下,glob匹配不到文件导致打包不拷贝内容

* fix: 根据检视意见使用fs-extra readJsonSync替代utils工具函数

* fix: 根据检视意见修改函数名大小写和端口号读取

* feat: 三方物料解耦 preview变量替换增加注释

* feat: 根据检视意见修改函数名字

* refactor: 根据检视意见,将脚本函数的参数整改为对象,并把目录值迁移到参数默认值

* docs(design-core/scripts): 三方cdn解耦 修正描述错误

* fix: 三方cdn解耦 修正preview脚本TinyVue版本号
2024-05-13 14:47:02 +08:00
chilingling 3a66996fae
feat(vue-dsl): add app generate code (#178)
* feat(vue-dsl): add app generate code

* feat(vue-dsl): add app generate code

* feat(vue-dsl): add generate global store code

* feat(vue-dsl): delete parse config and parse schema hook

* feat(tempalte): refra generateTemplate logic

* feat(vue-generator): add generate script frame code

* feat(vue-generator): add hook flow for sfc file generate

* feat(vue-generator): support generate sfc script

* feat(vue-generator): support jsx generate

* fix(vue-generator): fix double quotes issue

* feat(vue-generator): handle app generate code

* feat(toolbar-generate-vue): toolbar-generate-vue use new codegen function

* feat(vue-generator): add requiredBlock parser

* feat(docs): add readme doc

* feat(docs): add more docs

* fix(vue-generator): adapt for more scenario

* feat(vue-generator): support tiny-grid editor use tiny component

* fix(vue-generator): complete unit test

* fix(vue-generator): add unit test

* feat(vue-generator): add sfc generator unit test

* feat(vue-generator[docs]): add contributing docs

* feat(vue-generator): add test coverage script and app generate test case

* fix(generate-vue): optimize desc and file list

* fix(vue-generate): [template] fix viteConfig process.env is processed

* fix(vue-generator): escape process.env string

* feat(vue-generator): support builtin components

* fix(vue-generator): add builtin componentsMap

* fix(vue-generator): fix bind utils props

* fix(vue-generator): support utils expression

* fix(vue-generator): support children expression add utils

* fix(vue-generator): support nested folder page

* fix(vue-generator): support get datasource with name

* fix(vue-generator): only write necessary dependencies into package.json

* feat(vue-generator): simplified genTemplate hooks

* fix(vue-generator): update vue-generator  docs

* feat(vue-generator): detect jsx on custom  method

* feat(vue-generator): add d.ts types declaration
2024-05-13 11:42:32 +08:00
chilingling aa8d361bd2
feat(chore): update OpenTinyVue version (#457)
* feat(chore): update OpenTinyVue version

* feat(chore): update opentinyvue version

* fix(breadcrumb): fix breadcrumb style after update opentiny vue version

* feat(chore): change opentinyvue to peer dependencies

* feat(builtinComponent): add vue to peerDependencies
2024-05-11 17:43:33 +08:00
chilingling 30cfeb19df
feat(canvasApi): use canvasApi to access canvas methods (#425)
* feat(canvasApi): use canvasApi to access canvas methods

* fix(canvas): optimize import order

* fix(canvasApi): change by review comment tips
2024-05-11 17:36:43 +08:00
chilingling c271054870
fix(canvas): add placeholder for empty container #365 (#436)
* fix(canvas): add placeholder for empty container

* feat(canvas-render): optimize by review comment
2024-05-11 15:56:56 +08:00
jxhhdx e9961aaba8
fix(canvas-CanvasContainer): 修改Model单词拼写错误 (#468) 2024-05-10 15:23:34 +08:00
tianxin c36cc66f59
修复新增页面搜索条件存在并没有触发 (#448) 2024-05-06 19:55:04 +08:00
tianxin e98994f8d9
Fix/serarch empty:为对部分功能设置搜索为空样式处理 (#446) 2024-05-06 19:54:14 +08:00
betterdancing 0afdf2fcae
fix(reset-button): 修复样式配置中重置按钮的样式和设计稿不一致的问题 (#435) 2024-05-06 19:52:15 +08:00
betterdancing 7bb3adfcba
fix(dataSource): 数据源新增字段时,新增的表单设置在列表头部,且数组插入数据时插入到头部 (#454) 2024-05-06 19:50:50 +08:00
betterdancing 3107621129
fix(block-diff): 修复区块发布是查看差异保存时schema出错的bug (#453) 2024-05-06 19:46:36 +08:00
tianxin 50b62373a7
新建区块弹出框点击遮罩层会关闭 (#447) 2024-04-25 19:23:04 +08:00
Lu17301156525 0818d1656a
修复918.json mock数据不一致问题 (#452) 2024-04-25 19:22:36 +08:00
chilingling 56907693f6
fix(chore): fix vue version of 3.4.24 caught tiny-select component error (#445) 2024-04-24 16:44:33 +08:00
tianxin 4fd55d4261
(style-position)修复样式定位reset后未恢复默认值 (#433) 2024-04-23 09:00:23 +08:00
betterdancing d613b4e8f6
fix(data-source): on configuring static data panel, the batch delete button should horizontally aligned. (#413)
* 【设计器】静态数据配置面板,批量删除未对齐 BUG202403140918
2024-04-23 08:59:31 +08:00
Gene ade2d93331
fix: 修改滚动到节点的逻辑,适配超宽超高组件 (#428) 2024-04-23 08:56:48 +08:00
tianxin 7d965fceee
fix(plugin-dataSource): 修复数据源面板新增时未校验名称的重复性 (#434) 2024-04-23 08:55:31 +08:00
wenmine 4864fb66c5
fix(dsl-page):修复本地运行中对于props属性引用utils出码报错的问题 (#346)
* fix(dsl-page):修复对于props属性引用utils出码报错的问题

* fix(dsl-page):修复对于props属性引用utils出码报错的问题-review
2024-04-22 11:36:05 +08:00
chilingling eafe3df2c6
fix(chore): update pr check node version (#431) 2024-04-18 19:47:21 +08:00
rhlin 005f36af3c
fix(canvas): wrapper runner render contextinitializationwithfunction#161(#426) 2024-04-18 19:25:17 +08:00
Gene a69082f518
fix: 修复画布设置成自由布局后无法拖动drag-resize改变宽高的问题 (#393) 2024-04-18 19:23:26 +08:00
Gene e54edca915
fix: 修复画布组件嵌套拖拽的问题 (#364)
* fix: 修复画布组件嵌套拖拽的问题
2024-04-18 19:22:59 +08:00
rhlin 681a6fa612
Feat provide eslint prettier modify config (#385)
* fix(monaco-eslint): 修复eslint-worker支持问题

* fix(linter): 解决cdn后eslint worker相对路径问题

* fix: 移除多余的包

* feat(controller): eslint、prettier新增配置文件,worker文件打包从主应用改为随着分应用打包

* fix(controller): 修复eslint worker地址

* feat(controller): eslint-linter-browserify 降版本

* build: 去掉define process.env设置为空对象(旧版tinyVue库需要),当前引起eslint-linter-browserify脚本(已经处理过process的包)构建报错,且主应用有nodePollyfill可以处理process场景重复了

* fix(controller): 去掉多余注释和测试代码注释

* fix: 解决代码检视问题, 去掉注释,补充包引用去掉external,去掉多余的新增依赖

* feat: 单页预览格式化统一引用prettierrc文件配置

* fix: 解决子包的js没有打包为入口的问题

* fix(controller): 修复因目录结构改变需要worker打包为相对地址
2024-04-16 14:22:10 +08:00
chilingling 259ef69ba3
fix(controller): build with env variable (#420) 2024-04-16 11:21:54 +08:00
chilingling 8e89cc47e7
fix(chore): fix some vue warining on console (#421) 2024-04-16 11:21:27 +08:00
chilingling da8f58b0d9
fix(err-monitor): stop monitoring if monitorurl not exist (#423)
* fix(err-monitor): stop monitoring if monitorurl not exist

* fix(error-monitor): cancel request if url not exist
2024-04-16 11:21:06 +08:00
凌览 f7980d8c83
fix(demo-data): 修复官方 demo 页面底部确认购买模块移动端设备宽度下被遮住的场景 (#398) 2024-04-12 14:25:30 +08:00
chilingling e94b9674aa
fix(material): add buttonComponentsMap config (#395) 2024-04-12 14:17:00 +08:00
lichunn c55397928a
Fix:编辑器设置dark主题后预览页header文字颜色不正确 (#403)
* fix:编辑器设置dark主题后预览页header文字颜色不正确

* fix:调整主题
2024-04-11 17:26:56 +08:00
fox ouyang 852217f711
feat:增加物料:TinyDatePicker和TinyNumeric (#399)
* 增加物料:TinyDatePicker和TinyNumeric

* 修改disabled使用MetaSwitch
2024-04-11 14:35:58 +08:00
Xie Jay e9d6d7e3f9
fix(settings): fix text wrap of bind condition (#391)
Fixes #370
2024-04-10 18:02:05 +08:00
chilingling 0e6d30183a
fix(controller-environment): preserve import.meta.env variable when build controller lib (#380) 2024-04-10 16:34:16 +08:00
chilingling 68838ed5f9
fix(errorMonitor): add config for errormonitor (#381) 2024-04-09 20:13:53 +08:00
yuhki a010bfa4d6
docs: 文件名称CHANGELOG拼写错误,修改文件名称 (#389) 2024-04-09 09:50:18 +08:00
chilingling 6c92ffefec
fix(scrollbar): fix robot plugin scrollbar hide almost all scrollbar bug (#340)
* fix(scrollbar): fix robot plugin scrollbar hide almost all scrollbar bug

* fix(scrollbar): change by review comment

* fix(theme-scrollbar): change by review comment

* fix(theme-base): apply default scrollbar style to body * children
2024-04-07 14:16:48 +08:00
wenmine e961e0638f
fix(readme-build): 添加Readme中构建产物所在文件夹信息 (#367) 2024-04-07 10:14:12 +08:00
chilingling 8c09632e9c
fix(material): elTable formatter should be function type (#355) 2024-03-30 16:31:23 +08:00
Gene e9a67b9de0
feat: 状态管理代码编辑UI优化 (#318)
* feat: 状态管理代码编辑UI优化
2024-03-27 16:15:51 +08:00
Kagol 6a59dacfd6
docs: add project name to issue template (#335) 2024-03-27 09:26:59 +08:00
chilingling d0241a9972
fix(preview): fix preview vue-repl unsupport jsx bug (#343) 2024-03-22 16:25:51 +08:00
chilingling 13db22af27
fix(build): 修复构建设计器产物 ref 值未转化的 bug (#347) 2024-03-21 20:01:24 +08:00
zeyong tsai 030497fbad
fix(datasource): data type icon invisible #312 (#332)
* fix(datasource): data type icon invisible

* fix(common): #325 reduce unnecessary network requests.

* style(datasource): remove unnecessary comment

---------

Co-authored-by: zeyong.cai <zeyong.cai@xquant.com>
2024-03-19 18:50:30 +08:00
Hexqi 68637db8db
fix: canvas api error (#338) 2024-03-15 17:51:04 +08:00
Hexqi 38c89a856c
fix: drag block into canvas error (#336) 2024-03-14 19:13:34 +08:00
Hexqi 99d0e47c29
fix: switch page error (#331) 2024-03-13 15:17:51 +08:00