Commit Graph

328 Commits

Author SHA1 Message Date
chilingling d158fcd9aa
v2.0.0-rc.0 2024-10-30 22:49:04 -07:00
chilingling d283c5ad83
v2.0.0-alpha.6 2024-10-30 07:09:51 -07:00
betterdancing fb1a2f9f75
fix(page-setting): Use the meta options injection method to each component of the page module. (#890) 2024-10-30 21:52:01 +08:00
wenmine 10dca1d753
fix(refactor/styles): fix property panel styles and common styles (#887)
* fix(refactor/styles): fix property panel styles and common styles

* fix(refactor/styles): fix property panel styles and common styles review

* fix(refactor/styles): fix property panel styles and common styles review
2024-10-30 21:12:12 +08:00
chilingling 48687e8731
feat: editorInfo migrate to globalService (#702)
* feat: editorInfo migrate to globalService

* feat: change to signal event

* refactor: useApp migrate to globalService

* refactor: optimize globalService state structure

* feat: metaservice provide default apis: getState and setState

* feat: poc refactor

* feat: service poc improve

* feat: improve service definition

* feat: reduce the props exposed by service

* fix: rebase to latest code

* fix: change by review comment

* fix: change import name

* fix: use constant var instead of string

* fix: adjust import order

* fix: add unsubscribe logic

* change by review

* fix: change by review comment

* fix: add initTimeout check

---------

Co-authored-by: gene9831 <pacify.98@gmail.com>
2024-10-26 17:46:21 +08:00
Gene 4697f07885
refactor(styles): rewrite block styles (#868)
* refactor(styles): rewrite PageTree styles

* refactor(styles): rewrite some block styles (#1)

refactor(styles): rewrite some block styles

* Fix/new UI lc (#2)

fix/new ui

* fix some styles

* fix some styles

* fix styles

* fix potential issue

* refactor by comments

* fix some issues

* fix some style issues

* fix some style issues
2024-10-25 17:26:47 +08:00
lichunn fb0092040d
feat: Editor full screen with title, close button, and examples (#866)
* feat: 状态管理插件的编辑器全屏加上标题、关闭按钮和示例

* fix: 抽取编辑器全屏头部组件

* fix: 抽取变量
2024-10-25 17:09:52 +08:00
chilingling add50e9750
v2.0.0-alpha.5 2024-10-23 04:59:25 -07:00
lichunn 6a736b66b0
fix some detail styles in the plugins (#831)
* fix: panel组件间距调整

* feat: page management ui redesign

* feat: block ui redesign

* fix: 去掉选择区块高亮

* feat: 数据源样式调整

* feat: 数据源交互调整

* feat: 帮助样式整改

* feat: AI功能样式调整

* feat: 资源管理、状态管理样式整改

* feat: 国际化样式调整

* feat: 头部、按钮、图标细节调整

* feat: 样式细节调整

* feat: 样式细节调整

* fix:面包屑区分区块和页面

* fix:调整帮助面板间距颜色

* fix: 页面管理间距调整

* fix: 历史备份样式调整

* fix: 数据源/状态管理下拉调整

* fix: 全屏图标位置调整

* fix:去掉工具栏左侧面包屑边框

* fix: fix review

* fix: fix pageInputOutput review

* fix: fix review

* fix: codeEditor添加插槽

* fix: 物料样式调整

* fix: 部分bug修复

* feat: 调整区块设置编辑交互

* fix: 全屏后图标游离

* fix: 调整区块列表高度

* fix: 调整AI输入框边框

* feat: 调整添加区块搜索框

* fix: 调整暂无数据样式

* feat: 调整添加区块样式

* fix: 调整合并公共组件后的区块间距

* fix: 调整合并组件后的页面区块间距

* fix: 调整数据源间距

* fix: 调整数据源静态数据样式

* fix: fix review

* feat:图标更新

* fix:修复区块遮挡

* fix: fix review

* fix: 点击编辑区块

* fix: 修改tiny-tree空数据字体颜色

* fix: 调整notify图标文字上下居中

* fix: 点击更多面板,保存下拉面板收起

* fix:调整tooltip样式

* fix:调整保存按钮气泡显示方式

* fix: 调整tooltips阴影

* fix:调整色值变量

* fix:修改编辑器全屏层级

* fix;去掉svg多余注释

* fix: fix review

* fix:fix review
2024-10-22 14:23:03 +08:00
betterdancing 399b9ade74
Feat(page): Add exporting components and APIs for page component to support page template extension (alpha version) (#797)
* feat(page): 新增页面管理导出components,扩展AstroPro页面模板功能

* Feat(page): 删除pageMain.vue,如需扩展直接使用entry

* feat(plugin-page): pageSetting暂时修改以适配扩展改造

* feat(plugin-page): pageSetting暂时修改以适配扩展改造

* feat(plugin-page): 修改api数组为对象格式
2024-10-22 10:10:50 +08:00
yy 2dfda14a39
fix: preview error (#862) 2024-10-18 10:32:46 +08:00
chilingling 87c6dd1b74
feat: remove generate code from mock server (#823)
* feat: remove generate code from mock server

* fix: replace a standard http code 410

* fix: rm useless constructor code suggested by review
2024-10-15 19:21:44 +08:00
chilingling 14f9f41f9f
bump version 2024-10-15 02:12:55 -07:00
Gene 1a75cd413c
refactor(styles): apply new styles to props panel (#830)
* refactor: apply new styles to props panel
2024-10-15 15:41:27 +08:00
yy 045b913d19
fix: catch script error (#858)
修复打开页面JS时,解析报错阻塞插件弹窗打开的问题
2024-10-15 10:10:22 +08:00
James bbed9dc476
fix(theme): modify collapse-item border (#851) 2024-10-15 10:01:04 +08:00
chilingling 0e8dc1faaa
fix: cli generate platform issue (#859)
1. 修复生成的平台模板仍然使用 useResourceAlias 配置的 bug
2. 修复生成的 package.json 未格式化的 bug
2024-10-15 09:16:34 +08:00
yy a50825514e
fix: canvas srcdoc (#856) 2024-10-14 15:34:06 +08:00
chilingling 20aba1ffa8
bump version 2024-10-11 00:54:30 -07:00
yy 6c4227e2a2
feat: customized canvas entry (#850)
* feat: customized canvas entry

* feat: export conditions

* feat: delete vue params

* feat: add beforeSaveMethod

* feat: add hooks

* fix: review

* fix: review

* fix: cjs

* fix: eslint

* fix: review

* fix: reset cjs

* fix: load render.css
2024-10-10 19:11:19 +08:00
James 4111db528c
fix: improve the style priority of overwriting tinyvue (#848) 2024-10-10 15:15:13 +08:00
chilingling 6f9ab482d1
fix: add style import to bundle (#838) 2024-09-30 17:05:41 +08:00
wenmine ff3695a44d
feat(style): modify advance panel ui (#826)
* feat(style): modify advance panel ui

* feat(style): modify button margin

* feat(style): modify button margin

* feat(style): modify button margin

* feat(style): modify button margin
2024-09-30 16:09:46 +08:00
Gene fbb42d2dff
refactor: sync designer template (#836) 2024-09-30 15:39:21 +08:00
Gene e6269182ac
feat: labelPosition support 'auto' (#835) 2024-09-30 15:38:45 +08:00
betterdancing 158310bf48
feat(toolbars): use toolbar base component in toolbar plugins (#798)
* fix(toolbars): 对于工具栏的定制化的改动,图标可替换,且可以替换展示方式(图标或按钮),同事按钮可以传入属性和样式

* fix(toolbars): 对于工具栏的定制化的改动,图标可替换,且可以替换展示方式(图标或按钮),同事按钮可以传入属性和样式

* fix(toolbars): 对于工具栏的定制化的改动,图标可替换,且可以替换展示方式(图标或按钮),同事按钮可以传入属性和样式

* feat: 工具栏定制化改造

* feat(toolbars): 头部工具栏改造,新增公共可引入组件

* feat(toolbars): package.json添加layout依赖

* feat(toolbars): 头部工具栏改造,导出toolbar公共组件

* feat(toolbar): 修复review意见,将配置项移动到options中

* feat(toolbar): 删除工具栏组件冗余属性,采用了import原组件并定制的方式扩展其余属性

* feat(toolbar): 处理工具栏代码冲突

* feat(toolbar): 修改公共toolbar组件名称,并移到common目录下

* feat(toolbar): 修改部分review意见

* feat(toolbar): 默认工具栏按钮移除边框
2024-09-29 17:21:43 +08:00
chilingling 046dca43fd
fix: add missing deps (#821) 2024-09-28 19:02:41 +08:00
chilingling 9707834fa9
fix: add block panel can't open (#827)
* fix: add block panel can't open

* fix: blockgroup select

* fix: support vue3.5 below version
2024-09-28 17:28:09 +08:00
chilingling f02d458cb6
bump deps version (#816) 2024-09-27 16:03:55 +08:00
wenmine d327eafb89
feat(theme): component style && common theme (#814)
* feat(theme): component style && common theme

* feat(theme):  merge refactor/develop

* feat(theme): common theme & fix review

* feat(theme): common theme & fix review

* feat(theme): common component review

* feat(theme): check color and fix

* feat(style): modify style panel widget margin && style

* fix(style): fix style layout no working

* fix(style): fix review

* fix(style): fix review

* fix(style): fix review

* fix(style): fix review

* fix(style): fix review

* fix(style): fix review
2024-09-26 17:23:55 +08:00
lichunn 0cf81e2d6b
feat:sort out the status and API of the layout (#736)
* feat: add grouping to toolbar

* feat:sort out the status and API of the layout

* fix:remove unused bags

* fix: DesignToolbars改用getMergeMeta

* feat: 工具栏布局调整

* feat: toolbars右侧和下拉列表兼容一维和二维数据

* fix: fix review

* feat: 删掉工具栏align字段
2024-09-26 16:08:44 +08:00
chilingling ef2f8317e4
bump version (#813) 2024-09-24 20:53:04 +08:00
Hexqi 8213973508
chore: sync dev to refactor (#808)
* fix(mockServer): mockServer page preview can't render element-plus element (#503)

* fix(style): fix render error caused by inline style breaks (#526)

* fix(metaComp): fix bug where metaHtmlText could set value to incorret schema children (#473)

* fix(vue-generator): fix globalstate codegen error (#547)

* fix(material): add componentsMap to app Schema after material build (#527)

* fix: slot params missing double quote (#605)

* fix: slot params missing double quote

* fix: exclude nodemodule test case

* fix: 修复onMouseover拼写错误 (#662)

* fix: esbuild install failed on node v16 (#668)

* fix: esbuild install failed on nodev16

* fix: esbuild install failed on nodev16

* fix: builtin components can't generate import statement with genSFCWithDefaultPlugin method (#656)

* fix: esbuild install failed on nodev16 (#671)

* fix: esbuild install failed on nodev16

* fix: esbuild install failed on nodev16

* fix: remove deps on root pkg.json

* fix(preview): multiple nested blocks cannot preview #663 (#665)

* fix(material): add missing componentsMap to mockServer (#701)

* fix(setting): fix bindEvent dialog visible can't work on tinyvue 3.17 (#715)

* feat(download-code): support download zip for not support browsers (#703)

* feat(download-code): support download zip for not support browsers

* feat(download-code): support download zip for not support browsers - review

* feat(download-code): support download zip for not support browsers - review

* docs: update milestone (#728)

* docs: update milestone

* fix: tab

* fix: abaolute canvas init inlineStyle should be string (#730)

* fix(download): Optimize download logic and adapt to iframe (#739)

* fix(download): Optimize download logic and adapt to iframe

* feat(cdn): change cdn from onmicrosoft to unpkg (#750)

* fix: 隐藏画布根节点的包裹元素的操作选项 (#492)

* fix(script): translate log (#549)

* fix: translate log

* Update scripts/connection.mjs

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* Update scripts/connection.mjs

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* Update scripts/connection.mjs

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* fix: reset spacing cannot generate correct source code (#657)

* fix: jsx slot modelvalue can't update value (#734)

* fix: jsx slot modelvalue can't update value

* fix: add unit test for updateModel event

* fix(canvas): absolute dnd update position to schema. close #664 (#751)

* fix(generate-vue):修复出码文件选择界面打包后样式丢失问题 (#789)

Co-authored-by: wangwenbing <11535041@qq.com>

* fix(stylePanel): fix setting border-radius could not work on first time (#481)

* fix(common): fix verify required (#787)

* fix: mixed lifeCyclesContent when empty lifecycles (#810)

close #806
修复生命周期为空时,取当前页面schema生命周期值的 bug

---------

Co-authored-by: chilingling <26962197+chilingling@users.noreply.github.com>
Co-authored-by: yeser <631300329@qq.com>
Co-authored-by: wenmine <wwmmail@foxmail.com>
Co-authored-by: Gene <Pacify.98@gmail.com>
Co-authored-by: yaoyun8 <142570291+yaoyun8@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: bwrong <ibwrong@foxmail.com>
Co-authored-by: wangwenbing <11535041@qq.com>
Co-authored-by: Xie Jay <xiejay97@gmail.com>
2024-09-24 20:14:30 +08:00
betterdancing c16126176e
feat(bundle): update label and description of bundle.json (#812)
* feat(bundle): 修改bundle里物料属性的label

* Update useMaterial.js

* feat(bundle): 修改bundle.json中物料的属性label和desc,使属性面板显示中文label

* feat(bundle): 修改bundle.json中物料的属性label和desc,使属性面板显示中文label

* feat(bundle): 修改bundle.json中物料的属性label和desc,使属性面板显示中文label
2024-09-24 20:10:40 +08:00
lichunn 49fc8bc6f9
feat: page management and block ui redesign (#740)
* fix: panel组件间距调整

* feat: page management ui redesign

* feat: block ui redesign

* fix: 去掉选择区块高亮

* feat: 数据源样式调整

* feat: 数据源交互调整

* feat: 帮助样式整改

* feat: AI功能样式调整

* feat: 资源管理、状态管理样式整改

* feat: 国际化样式调整

* feat: 头部、按钮、图标细节调整

* feat: 样式细节调整

* feat: 样式细节调整

* fix:面包屑区分区块和页面

* fix:调整帮助面板间距颜色

* fix: 页面管理间距调整

* fix: 历史备份样式调整

* fix: 数据源/状态管理下拉调整

* fix: 全屏图标位置调整

* fix:去掉工具栏左侧面包屑边框

* fix: fix review

* fix: fix pageInputOutput review

* fix: fix review

* fix: codeEditor添加插槽
2024-09-23 20:37:01 +08:00
chilingling 80a36d656a
bump alpha version (#793)
* bump alpha version

* fix: add public access config

* bump version 2.0.0-alpha.1
2024-09-09 23:59:44 +08:00
Hexqi 2a5f34642c
feat(canvas): add the renderer extension capability (#718)
特性
画布create增加lifeCycles配置,添加beforeAppCreate与appCreated钩子
画布添加getRender/setRender API

---------

Co-authored-by: yaoyun8 <142570291+yaoyun8@users.noreply.github.com>
2024-09-09 15:56:12 +08:00
Hexqi 1700d3c922
fix: optimize block and material scalability issue (#788)
当前问题
从用户注册表去掉区块模块后会报错无法启动,解决该报错后,画布中依然存在了新建区块的入口,且物料插件面板报错无法展开
物料模块没有导出加载bundle.json物料的api,不太方便使用

解决方法
从common包中移除SaveNewBlock组件,画布模块从区块注册表获取组件
物料插件根据区块模块存在情况渲染区块面板
物料模块导出增加addMaterials API,传入bundle对象即可加载物料
遗留
物料插件中要隐藏区块依然需要配置注册表,没有实现自动关联
2024-09-05 14:03:43 +08:00
Hexqi 1ed870cca6
feat: optimize material group (#765)
物料分组相关优化
组件物料分组显示中文,添加label字段
调整新分组与TinyVue组件分组一致:布局与容器、基础元素、高级元素、表单、表格、导航、数据展示、ElementPlus
删除与TinyVue组件重复的HTML组件及HTML分组:button、img、table、form,部分HTML移入基础元素
TinyRow与TinyCol合并为 栅格布局组件
添加物料时支持合并snippets分组
物料分组不区分 内置组件、HTML组件
其他:部分代码优化、规范物料文件格式
2024-09-03 15:03:42 +08:00
Hexqi 591ff8e171
refactor: rename plugin name (#771)
规范插件包名称
工具栏generate-vue插件改名为 generate-code(不限定生成vue代码,传入不同的出码服务可以生成不同技术栈代码)
状态管理插件plugin-data改名为plugin-state,更符合语义
工具栏锁定插件toolbar-checkinout改名为 toolbar-lock,更易理解(当前图标早已切换为lock,而不是之前的checkin和checkout)
2024-09-03 14:11:05 +08:00
Gene 3eb2ecd039
fix: github action build too slow (#779)
* fix: github action build too slow

* fix: github action build too slow

* Revert "fix: github action build too slow"

This reverts commit bc23ee5ed1b103275704899c6cda629daf4ce1be.

* fix: patch vite-plugin-svg-icons. add cache for frequently calling fast-glob.sync in function compilerIcons

* update push-check.yml

* update push-check.yml

* test svg

* test svg

* try silent mode

* log to file

* revert some files
2024-09-02 09:42:59 +08:00
chilingling 516c35ff54
fix: add packages desc for lerna (#655)
* fix: add packages desc for lerna

* fix(engine-cli): template pkg name duplicate with demo pkg name
2024-08-30 14:06:58 +08:00
Gene e3721074ec
fix: width of i18n plugin is not enough (#773) 2024-08-30 09:37:41 +08:00
Hexqi ab783d8835
chore: add auto labeler workflow (#758)
* chore: add auto labeler workflow
添加workflow:提交PR或者修改标题后自动添加/更新 label
自动添加的label包括:
enhancement:标题以feat: 开头
document: 标题以docs: 开头
bug: 标题以fix:开头
refactor-main: 目标分支为refactor/develop
ospp-2024: 目标分支为 ospp-2024/*
2024-08-28 20:16:45 +08:00
Gene fde6eca787
fix(monaco): monaco options not working (#767) 2024-08-28 18:11:37 +08:00
Hexqi 5fa1b2b11c
fix: preview error (#760) 2024-08-27 16:37:20 +08:00
tianxin bf682470c2
feat: Edit code style (#667)
* feat: Edit code style

* feat: Edit code style
2024-08-26 10:50:11 +08:00
Gene 1e856b7731
docs(configurator): add configurator docs (#631)
* docs(configurator): add configurator docs phase one

* docs(configurator): add several docs
2024-08-24 21:37:49 +08:00
tianxin 4b0bf19aaa
feat: Panel tab style (#649)
* Panel tab style

* feat:Panel tab style
2024-08-23 17:56:12 +08:00
lichunn 52d2432d6c
Feat:toolbar style improvement (#755)
* feat: add grouping to toolbar

* feat:sort out the status and API of the layout

* fix:remove unused bags

* feat: 工具栏左侧调整

* feat: 间距调整

* fix: remove methods that do not exist

* fix: 去掉多余配置
2024-08-23 16:49:36 +08:00