xingyu4j
8fd6bf47b1
revert: restore px-based calc utilities
1 week ago
xingyu4j
f25f3a34d0
refactor: replace px calc spacing utilities
1 week ago
xingyu4j
fa190e0975
chore: checkpoint tailwind spacing updates
1 week ago
xingyu4j
ebed9e64ed
fix: lint
2 weeks ago
xingyu4j
a850d426ef
chore: fix lint and typecheck issues
2 weeks ago
xingyu
a4736a49f8
feat: migrate to Tailwind CSS v4 ( #7614 )
* chore: update deps
* feat: use jsonc/x language
* chore: update eslint 10.0
* fix: no-useless-assignment
* feat: add CLAUDE.md
* chore: ignore
* feat: claude
* fix: lint
* chore: suppot eslint v10
* fix: lint
* fix: lint
* fix: type check
* fix: unit test
* fix: Suggested fix
* fix: unit test
* chore: update stylelint v17
* chore: update all major deps
* fix: echarts console warn
* chore: update vitest v4
* feat: add skills ignores
* chore: update deps
* chore: update deps
* fix: cspell
* chore: update deps
* chore: update tailwindcss v4
* chore: remove postcss config
* fix: no use catalog
* chore: tailwind v4 config
* fix: tailwindcss v4 sort
* feat: use eslint-plugin-better-tailwindcss
* fix: Interference between enforce-consistent-line-wrapping, jsx-curly-brace-presence and Prettier
* fix: Interference between enforce-consistent-line-wrapping, jsx-curly-brace-presence and Prettier
* fix(lint): resolve prettier and better-tailwindcss formatting conflicts
* fix(tailwind): update theme references and lint sources
* style(format): normalize apps docs and playground vue files
* style(format): normalize core ui-kit components
* style(format): normalize effects ui and layout components
2 weeks ago
Wu Clan
191fd90f06
chore: 更新表单描述显示样式 ( #6938 )
4 weeks ago
ming4762
c48943bc67
fix: fix Nested Objects dependencies not effective ( #7345 )
2 months ago
xingyu
7680b33b99
fix : #7140 ( #7153 )
* chore: add yaml eslint validate
* chore: update deps
* fix: unused ts lint
* fix: 弹窗只能点击一次 #7140
* chore: update actions/checkout v6
* chore: update node version v22.22.0
2 months ago
Jin Mao
bb5d75bc7e
fix: 修复表单展开无效 ( #7148 )
- 修正模板中 ref 属性的引用名称
2 months ago
ming4762
528395e2c3
perf: optimizing hidden fields cannot trigger `dependencies` ( #7142 )
2 months ago
ppxb
51bca25345
fix(lint): pnpm format lint warning ( #7080 )
2 months ago
xingyu4j
af3fe53ec8
fix: type error
3 months ago
xingyu4j
6753834054
fix: lint
4 months ago
米山
cd7c11c7d0
fix: run 'pnpm format' update various components and improve layout structure
- Updated demo-preview and preview-group components for better error handling and layout.
- Enhanced drawer and modal components for improved auto-height functionality.
- Refactored layout components including header, footer, sidebar, and tabbar for better responsiveness and usability.
- Adjusted tooltip and help tooltip components for better user guidance.
- Fixed issues in various UI components to ensure consistent styling and functionality across the application.
4 months ago
xingyu4j
bed52983a0
fix: lint
4 months ago
panda7
573637222d
feat: add form handleCollapsedChange event ( #6893 )
* feat: add form handleCollapsedChange event
* fix: ts lint
* fix: ts error
---------
Co-authored-by: sqchen <chenshiqi@sshlx.com>
4 months ago
shierd
42e3de9e2c
fix: 修复设置表单值时合并子对象的错误 ( #6780 )
Co-authored-by: shier <shier@shierd.com>
6 months ago
Cup_Of_Bread
81bb7456f8
fix: 修复注解错误 ( #6763 )
6 months ago
pangyajun123
26f8d2aa30
perf: 表单需要通过权限控制是否需要展示,dependencies.if 这种方式需要别triggerFields触发字段,不能满足要求 ( #6756 )
6 months ago
boisduval
a8b848d367
fix: 解决搜索表单中arrayToStringFields属性无法在搜索时生效的问题 ( #6591 )
- 合并handleArrayToStringFields与handleStringToArrayFields为handleMultiFields
- 在handleMultiFields判断arrayToString或stringToArray
- 删除两个方法在其他地方的引用 统一为在handleRangeTimeValue内调用handleMultiFields实现数据转换
Co-authored-by: 宛晴 <wanqing@mengtaigroup.com>
6 months ago
ming4762
93f0eea4e7
fix: fix the issue of excessive line spacing in vbenForm ( #6653 )
* gap-2和 pb-4/2 重叠导致间距过宽,gap-x只保留列间距
7 months ago
ming4762
8ac2db5b7c
fix: fix the issue of `VbenForm` `compact` reactive failure ( #6654 )
7 months ago
ming4762
1e6417f95b
feat: vBenForm add layout: inline ( #6644 )
7 months ago
xueyang
9fc594434f
perf: 优化useVbenForm样式 ( #6611 )
* perf(style): 优化useVbenForm垂直布局 actions 样式
* perf(style): 优化useVbenForm actions 布局样式
- 操作按钮组显示位置
```
actionPosition?: 'center' | 'left' | 'right';
```
- 操作按钮组的样式
```
actionType?: 'block' | 'inline'
inline: 行类显示,block: 新一行单独显示
```
* perf: 优化useVbenForm actions 布局样式
删除 actionType
增加 actionLayout
- actionLayout?: 'inline' | 'newLine' | 'rowEnd';
- newLine: 在新行显示。rowEnd: 在行内显示,靠右对齐(默认)。inline: 使用grid默认样式
- 删除无用代码 queryFormStyle
* perf: 优化useVbenForm使用案例
* perf: 优化form组件样式
去掉padding,改为gap
* docs: update vben-form.md
* fix: 修复FormMessage位置
* perf: Avoid direct mutation of props object.
- props.actionLayout = props.actionLayout || 'rowEnd';
- props.actionPosition = props.actionPosition || 'right';
+ const actionLayout = props.actionLayout || 'rowEnd';
+ const actionPosition = props.actionPosition || 'right';
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
* fix: 修复 wrapperClass 权重
* fix: 全局搜索结果不匹配 #6603
* fix: 避免FormMessage溢出
---------
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
8 months ago
panda7
07b64ad384
feat: add function support for formItemClass prop ( #6511 )
* feat: add function support for formItemClass prop
* feat: add try-catch to formItemClass function
* fix: formItemClass function ts error
---------
Co-authored-by: sqchen <chenshiqi@sshlx.com>
8 months ago
sqchen
f1051c8773
feat: add scrollToFirstError to the form component
9 months ago
sqchen
243f3a201d
feat: add scrollToFirstError to the form component
9 months ago
littlesparklet
af186f878d
fix: repair the unexpected form default value ( #5567 )
* fix: Fix inconsistent spacing around search form (issue #5429 )
* fix: repair the unexpected default value in validated form.(issue #5451 )
* Update packages/@core/ui-kit/form-ui/src/use-form-context.ts
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
---------
Co-authored-by: Jin Mao <50581550+jinmao88@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
10 months ago
Netfan
0c3edb10b0
fix: getFieldComponentRef will return actual ref within AsyncComponentWrapper ( #6252 )
修复异步加载组件时,表单的getFieldComponentRef方法没能获取到正确的组件实例
10 months ago
Vben
17a18fc9ba
chore: close eslint object sorting ( #6101 )
11 months ago
Netfan
add1e61b6f
fix: show validation message as tooltip in compact form ( #6087 )
* 紧凑模式表单的校验消息将显示为一个tooltip
11 months ago
Netfan
8aa7dabeff
fix: calculation for collapsing search form is incorrect while initially hidden ( #6068 )
* 修复当默认隐藏搜索表单时,折叠位置的计算不正确的问题
11 months ago
Netfan
f7a4d13a4c
fix: fixed arguments of callbacks in `formApi` ( #5970 )
* 修复 `handleValuesChange` 传递的参数不是处理后的表单值的问题
* 修复 `handleReset` 未能传递正确参数的问题
11 months ago
Netfan
0936861da1
feat: pass `fieldsChanged` into the `handleValuesChange` callback function ( #5968 )
* fieldsChanged(已被改变值的字段名)将传入handleValuesChange回调函数
11 months ago
lztb
d864085c13
feat: vben-form添加arrayToStringFields属性 ( #5957 )
* feat: vben-form添加arrayToStringFields属性
* feat: 修改handleArrayToStringFields和handleStringToArrayFields中嵌套数组格式的处理不一致
---------
Co-authored-by: 米山 <17726957223@189.cn>
11 months ago
Netfan
03ceb2aac5
fix: default value for nested fields ( #5763 )
1 year ago
Netfan
39888cebaa
fix: base component focus color in form ( #5760 )
1 year ago
Netfan
efb69fc75f
feat: add `form-is-required` class for required items. fixed : #5739 ( #5759 )
1 year ago
Netfan
feab6b3b30
fix: form item style adjustment ( #5694 )
1 year ago
Netfan
04dff33ac5
feat: improved formApi for component instance support
* 改进表单API以支持组件实例的获取,以及焦点字段的获取
1 year ago
Netfan
5e421ce607
chore: demo page menu management ( #5619 )
* 添加菜单管理演示页面
1 year ago
Netfan
c9ccd2bbab
fix: form label and control style ( #5580 )
* fix: form label and control style
* fix: empty label mark with required rules
1 year ago
Netfan
a221d2b491
fix: form item overflow fixed and layout improved ( #5572 )
* fix: form item overflow fixed and layout improved
* fix: basic form demo update
* feat: form label support render
* fix: form docs update
1 year ago
Netfan
c07281bf41
fix: form item slot context fixed ( #5552 )
* 修复表单插槽
1 year ago
Netfan
67d1f299b3
fix: renderComponentContent lose slot props data ( #5466 )
* 修复FormItem传递插槽时丢失插槽props的问题
1 year ago
Netfan
c3129663eb
fix: form update state error before form mounted ( #5406 )
1 year ago
Netfan
fb0ec05ff8
perf: improve fieldMappingTime to support format function ( #5392 )
1 year ago
Netfan
624beb6fa0
fix: locale switching logic correction ( #5344 )
* 修复语言切换后的数据更新逻辑
* 表单默认按钮的content属性可提供computed类型的值
1 year ago
Netfan
7606b86854
fix: vxeGrid init without search form ( #5342 )
* 修复vxeGrid在未使用表单的情况下,自动加载数据失效的问题。
* 暂时将vxeGrid版本锁定在4.10.0,新版本尺寸计算尚有问题
1 year ago