Compare commits

...

847 Commits
es6 ... master

Author SHA1 Message Date
Dailer-刘荣歆 4f47710bd2 Pull request #3746: 无JIRA 节点的宽度要随内容撑起来 3 weeks ago
翠屏山最速下山传说 4bba27b638 Merge branch 'master' of ssh://code.fineres.com:7999/~dailer/fineui 3 weeks ago
翠屏山最速下山传说 5f2a555056 无JIRA 节点的宽度要随内容撑起来 3 weeks ago
imp-张健 bfe7256c57 Pull request #3745: REPORT-119215 fix: 统一获取宽高的方法 3 weeks ago
jian 27f84abf07 REPORT-119215 fix: 统一使用clientWidth和clientHeight,父页面代理掉子应用的body的clientHeight和clientWidth到父应用的body上 3 weeks ago
jian 3ed4b251f1 REPORT-119215 fix: 统一使用clientWidth和clientHeight,父页面代理掉子应用的body的clientHeight和clientWidth到父应用的body上 3 weeks ago
jian bc9823a56f Merge remote-tracking branch 'origin/master' 3 weeks ago
jian b1da50461b REPORT-119215 fix: 统一获取宽高的方法 3 weeks ago
Oliver.Ke-柯键基 1027ae7518 Pull request #3744: BI-142937 fix: 更新字体文件 4 weeks ago
Oliver.Ke 560ed5c371 BI-142937 fix: 更新字体文件 4 weeks ago
Dailer-刘荣歆 c9d29a1a9e Pull request #3743: 无JIRA super调用修复 1 month ago
翠屏山最速下山传说 5309c8c16e Merge branch 'master' of ssh://code.fineres.com:7999/~dailer/fineui 1 month ago
翠屏山最速下山传说 4cae9103e3 无JIRA super调用修复 1 month ago
Dailer-刘荣歆 33529b768e Pull request #3742: BI-143992 fix: 【6.0.17集成】FDL生成的ETL表,右键鼠标悬浮在灰化的来源、原始名上,提示不对 1 month ago
翠屏山最速下山传说 a8ca58a136 BI-143992 fix: 【6.0.17集成】FDL生成的ETL表,右键鼠标悬浮在灰化的来源、原始名上,提示不对 1 month ago
Aeolus.Zhang-张敬峥 8674747462 Pull request #3699: 无jira任务 自动更新 VISUAL/fineui master分支 Thu Dec 07 2023 19:16:16 GMT+0800 (中国标准时间) 2 months ago
Dailer-刘荣歆 fec74685d2 Pull request #3741: 无JIRA fix: pane的内存泄漏 2 months ago
翠屏山最速下山传说 51cc6914c8 无JIRA fix: pane的内存泄漏 2 months ago
superman 5ba3d21384 Merge pull request #270371 in DEC/fineui from final/11.0 to release/11.0 2 months ago
Jimmy.Chai-柴嘉明 bd058f88ec Pull request #270225: Final/11.0 同步 2 months ago
Jimmy.Chai 6d8dc5646d BI-143833 fix: 全选时数据变化,点击确定组件不会刷新 2 months ago
Jimmy.Chai 28f5b23840 BI-143833 fix: 全选时数据变化,点击确定组件不会刷新 2 months ago
Dailer-刘荣歆 7834ce90b9 Pull request #3740: KERNEL-17875 fix: fineui Dep不能回收问题 2 months ago
Sylar-黄山 ea8c70402f Pull request #269986: REPORT-114436 fix: 同步Dep回收优化到release 2 months ago
Sylar 89eb72ab4f REPORT-114436 fix: 同步Dep回收优化到release 2 months ago
翠屏山最速下山传说 e83a80916c KERNEL-17875 fix: fineui Dep不能回收问题 2 months ago
Dailer-刘荣歆 be358481c6 Pull request #8: Feature/x 2 months ago
superman e9cbbd584f Merge pull request #269419 in DEC/fineui from bugfix/11.0 to feature/x 2 months ago
superman 667b537c89 Merge pull request #269418 in DEC/fineui from release/11.0 to bugfix/11.0 2 months ago
superman 16153553fa Merge pull request #269258 in DEC/fineui from release/11.0 to feature/x 2 months ago
superman 77ebbe3fa5 Merge pull request #269255 in DEC/fineui from bugfix/11.0 to release/11.0 2 months ago
superman ff7f6652e9 Merge pull request #269254 in DEC/fineui from feature/x to bugfix/11.0 2 months ago
superman 33fa94a1bb Merge pull request #269185 in DEC/fineui from master to feature/x 2 months ago
Oliver.Ke-柯键基 5596d9424a Pull request #3739: BI-145829 fix: DownListCombo,getValue方法在popupView未创建时,取options.value 2 months ago
Oliver.Ke 635933d55e Revert "BI-145126 fix: DownListCombo的isDefaultInit默认值设置为false" 2 months ago
Oliver.Ke 60f5a7a05c BI-145829 fix: DownListCombo,getValue方法在popupView未创建时,取options.value 2 months ago
superman 039b54b9c3 Merge pull request #268809 in DEC/fineui from master to feature/x 2 months ago
Oliver.Ke-柯键基 0ef435abed Pull request #3738: BI-145126 fix: DownListCombo的isDefaultInit默认值设置为false 2 months ago
Oliver.Ke e0f81517dc BI-145126 fix: DownListCombo的isDefaultInit默认值设置为false 2 months ago
superman 1e3531f2ac Merge pull request #267817 in DEC/fineui from master to feature/x 2 months ago
Oliver.Ke-柯键基 4a5fd0fa4d Pull request #3737: 无JIRA任务 scrollbar-width、scrollbar-color只在Firefox下生效 2 months ago
Oliver.Ke eca0045ada 无JIRA任务 scrollbar-width、scrollbar-color只在Firefox下生效 2 months ago
superman e0f4a93dc9 Merge pull request #267466 in DEC/fineui from bugfix/11.0 to feature/x 2 months ago
superman 9e630844aa Merge pull request #267465 in DEC/fineui from release/11.0 to bugfix/11.0 2 months ago
superman eacf513b5e Merge pull request #267445 in DEC/fineui from release/11.0 to feature/x 2 months ago
Sylar-黄山 37ecc1944f Pull request #267310: REPORT-114436 fix: 编译报错修复 2 months ago
Sylar 44b8567232 REPORT-114436 fix: 编译报错修复 2 months ago
superman 4f35944544 Merge pull request #267308 in DEC/fineui from release/11.0 to feature/x 2 months ago
superman 03fc71a19a Merge pull request #267307 in DEC/fineui from final/11.0 to release/11.0 2 months ago
superman 98f9083de9 Merge pull request #267306 in DEC/fineui from persist/11.0 to final/11.0 2 months ago
superman 2d70f83963 Merge pull request #267301 in DEC/fineui from final/11.0 to persist/11.0 2 months ago
superman c51df98134 Merge pull request #267296 in DEC/fineui from master to feature/x 2 months ago
Dailer-刘荣歆 b69cfbfaf2 Pull request #3736: BI-145169 fix: 【V6发散】数据集编辑界面,表头下拉,内容显示全了但是还是出现滚动条,导致删除按钮等看不见 2 months ago
superman c022820293 Merge pull request #267292 in DEC/fineui from master to feature/x 2 months ago
Jimmy.Chai-柴嘉明 62bc5c7d80 Pull request #3735: BI-143833 fix: 全选时数据变化,点击确定组件不会刷新 2 months ago
翠屏山最速下山传说 6e76da813f BI-145169 fix: 【V6发散】数据集编辑界面,表头下拉,内容显示全了但是还是出现滚动条,导致删除按钮等看不见 2 months ago
superman 40bd972c86 Merge pull request #267268 in DEC/fineui from bugfix/11.0 to feature/x 2 months ago
superman 46cbb41b07 Merge pull request #267267 in DEC/fineui from release/11.0 to bugfix/11.0 2 months ago
superman 63ee73cbea Merge pull request #267127 in DEC/fineui from release/11.0 to feature/x 2 months ago
Sylar-黄山 9cf9981604 Pull request #267046: REPORT-114436 fix: tab设置single时内存泄露问题 2 months ago
Jimmy.Chai 3192129ee7 BI-143833 fix: 全选时数据变化,点击确定组件不会刷新 2 months ago
Jimmy.Chai 732b158bbe BI-143833 fix: 全选时数据变化,点击确定组件不会刷新 2 months ago
superman 648bf551c5 Merge pull request #267076 in DEC/fineui from bugfix/11.0 to feature/x 2 months ago
superman 61b96d14c2 Merge pull request #267075 in DEC/fineui from release/11.0 to bugfix/11.0 2 months ago
Sylar 17a9e7ca7a REPORT-114436 fix: tab设置single时内存泄露问题 2 months ago
superman 5c77495d1e Merge pull request #266912 in DEC/fineui from release/11.0 to feature/x 2 months ago
superman 1dcd767193 Merge pull request #266911 in DEC/fineui from final/11.0 to release/11.0 2 months ago
superman 2ae129db47 Merge pull request #266910 in DEC/fineui from persist/11.0 to final/11.0 2 months ago
superman 5461d8a071 Merge pull request #266909 in DEC/fineui from final/11.0 to persist/11.0 2 months ago
superman 1e6e6a7986 Merge pull request #266686 in DEC/fineui from bugfix/11.0 to feature/x 2 months ago
superman 75e941b31d Merge pull request #266685 in DEC/fineui from release/11.0 to bugfix/11.0 2 months ago
superman cd35bd24e1 Merge pull request #266503 in DEC/fineui from release/11.0 to feature/x 2 months ago
superman 970bb0ed70 Merge pull request #266502 in DEC/fineui from final/11.0 to release/11.0 2 months ago
superman edb55c7e4d Merge pull request #266501 in DEC/fineui from persist/11.0 to final/11.0 2 months ago
superman e97d22c6bc Merge pull request #266500 in DEC/fineui from final/11.0 to persist/11.0 2 months ago
Zoey.Chen-陈泽语 ca183a2a9e Pull request #266463: BI-144837 feat: 更新图标 2 months ago
chenzeyu 7748df5552 BI-144837 feat: 更新图标 2 months ago
superman d3e8354dfb Merge pull request #265764 in DEC/fineui from master to feature/x 2 months ago
Dailer-刘荣歆 6f76fa6893 Pull request #3734: BI-139784 fix: 【来源内测BUG】数据编辑过滤 2 months ago
翠屏山最速下山传说 61ea631a5e BI-139784 fix: 【来源内测BUG】数据编辑过滤 2 months ago
superman 671552b8fd Merge pull request #265124 in DEC/fineui from bugfix/11.0 to feature/x 3 months ago
superman ccce108fa6 Merge pull request #265123 in DEC/fineui from release/11.0 to bugfix/11.0 3 months ago
superman 8ae09c2833 Merge pull request #265104 in DEC/fineui from master to feature/x 3 months ago
Dailer-刘荣歆 4beee63274 Pull request #3733: BI-144444 fix: 【v5】过滤组件向下展示不下,向上弹出的时候会挡住仪表板的tab栏,体验不好,看下能不能优化 3 months ago
翠屏山最速下山传说 7c5c12856e BI-144444 fix: 【v5】过滤组件向下展示不下,向上弹出的时候会挡住仪表板的tab栏,体验不好,看下能不能优化 3 months ago
superman f52925f60d Merge pull request #264959 in DEC/fineui from master to feature/x 3 months ago
Renzo.Ruan-阮宗伟 53e250fb76 Pull request #3732: JSY-38096 fix: TreeValueChooserPane中item支持显示图标 3 months ago
Renzo 4af5234695 JSY-38096 fix: TreeValueChooserPane的搜索中item支持显示图标 3 months ago
Renzo c193dd7f07 JSY-38096 fix: TreeValueChooserPane中item支持显示图标 3 months ago
superman a779a1a94b Merge pull request #264938 in DEC/fineui from release/11.0 to feature/x 3 months ago
superman 3b6cad43a6 Merge pull request #264937 in DEC/fineui from final/11.0 to release/11.0 3 months ago
Dailer-刘荣歆 9dd41cc05b Pull request #264927: Final/11.0 3 months ago
翠屏山最速下山传说 ab96811527 无JIRA bubble中提供拓展popper的额外modifier 3 months ago
superman f6c183a15c Merge pull request #264926 in DEC/fineui from bugfix/11.0 to feature/x 3 months ago
superman 30b2542c53 Merge pull request #264925 in DEC/fineui from release/11.0 to bugfix/11.0 3 months ago
superman 1a5d2a6caa Merge pull request #264894 in DEC/fineui from master to feature/x 3 months ago
Dailer-刘荣歆 b12b3fe230 Pull request #3731: BI-144276 fix: 【来源POC项目】增量更新开始时间 3 months ago
superman ed4b28bb5b Merge pull request #264777 in DEC/fineui from release/11.0 to feature/x 3 months ago
superman b329e1ff4d Merge pull request #264776 in DEC/fineui from final/11.0 to release/11.0 3 months ago
superman cc3dcfb131 Merge pull request #264773 in DEC/fineui from bugfix/11.0 to feature/x 3 months ago
superman 0e51a6069f Merge pull request #264772 in DEC/fineui from release/11.0 to final/11.0 3 months ago
翠屏山最速下山传说 7543b364ec BI-144276 fix: 【来源POC项目】增量更新开始时间 3 months ago
superman 99c3215a57 Merge pull request #264771 in DEC/fineui from release/11.0 to bugfix/11.0 3 months ago
superman f25779c958 Merge pull request #264770 in DEC/fineui from final/11.0 to release/11.0 3 months ago
Jimmy.Chai-柴嘉明 e5ba6f9335 Pull request #264768: Final/11.0 合并 3 months ago
Jimmy.Chai-柴嘉明 d26086bafa Pull request #1: Release/11.0 3 months ago
superman 5fe937de7d Merge pull request #264652 in DEC/fineui from bugfix/11.0 to feature/x 3 months ago
superman ae8f5a80bb Merge pull request #264651 in DEC/fineui from release/11.0 to bugfix/11.0 3 months ago
superman 48d3426e52 Merge pull request #263869 in DEC/fineui from release/11.0 to feature/x 3 months ago
superman 9d5e6f0c5a Merge pull request #263868 in DEC/fineui from final/11.0 to release/11.0 3 months ago
superman b64b33fe0e Merge pull request #263867 in DEC/fineui from persist/11.0 to final/11.0 3 months ago
superman b57d587405 Merge pull request #263866 in DEC/fineui from final/11.0 to persist/11.0 3 months ago
superman 677054eac4 Merge pull request #263857 in DEC/fineui from master to feature/x 3 months ago
Rex-张岚奕 b211b994b4 Pull request #3730: 无JIRA任务,增加返回所选tab id列表 3 months ago
Rex 19156ec39f 无JIRA任务,增加返回所选tab id列表 3 months ago
superman afc1f8c060 Merge pull request #263657 in DEC/fineui from master to feature/x 3 months ago
Dailer-刘荣歆 0e0718cbf3 Pull request #3729: 无JIRA bubble中提供拓展popper的额外modifier 3 months ago
翠屏山最速下山传说 b2e6a084c8 无JIRA bubble中提供拓展popper的额外modifier 3 months ago
superman b563f9cb5b Merge pull request #263316 in DEC/fineui from release/11.0 to feature/x 3 months ago
superman 2bbbdcc149 Merge pull request #263315 in DEC/fineui from final/11.0 to release/11.0 3 months ago
Jimmy.Chai-柴嘉明 33ab87e536 Pull request #263232: BI-143696 fix: 对象.**容错 3 months ago
superman 73eab06797 Merge pull request #263280 in DEC/fineui from release/11.0 to feature/x 3 months ago
Austin.Duan-段嗣跃 bc3e5e9ee9 Pull request #263265: BI-143459 fix: 修复请求头与data中boundary不一致问题 3 months ago
Austin.Duan 86d33217d7 BI-143459 fix: 修复请求头boundary与formData中WebKitFormBoundary不一致问题 3 months ago
jimmychai 2d1e16fb36 BI-143696 fix: 对象.**容错 3 months ago
Austin.Duan 6626449aba BI-143459 fix: 修复请求头boundary与formData中WebKitFormBoundary不一致问题 3 months ago
superman 2d929f0739 Merge pull request #260386 in DEC/fineui from release/11.0 to feature/x 3 months ago
superman 5a92e2ef1b Merge pull request #260362 in DEC/fineui from bugfix/11.0 to release/11.0 4 months ago
Zoey.Chen-陈泽语 f1478ca9b3 Pull request #260344: 无jira任务 fix: 更新图标 4 months ago
superman d04bd32e4f Merge pull request #260361 in DEC/fineui from feature/x to bugfix/11.0 4 months ago
chenzeyu 8fb9f2a37c 无jira任务 fix: 更新图标 4 months ago
drew-倪梦威 47afc547fb Pull request #259591: REPORT-113703 FineOne 新前端样式统一 弹窗-FR.Msg.Alert() 4 months ago
nmwei 64843af1b9 REPORT-113703 FineOne 新前端样式统一 弹窗-FR.Msg.Alert() 4 months ago
superman 2fb142bd38 Merge pull request #259437 in DEC/fineui from release/11.0 to feature/x 4 months ago
superman c5c701d1aa Merge pull request #259436 in DEC/fineui from final/11.0 to release/11.0 4 months ago
superman 518d6a69b2 Merge pull request #259435 in DEC/fineui from persist/11.0 to final/11.0 4 months ago
superman 98133c8faa Merge pull request #259434 in DEC/fineui from master to feature/x 4 months ago
Oliver.Chen-陈润桐 a9ff10b3b6 Pull request #259433: 无jira fix:解决冲突 4 months ago
Hans-杨瀚 130861e5e2 Pull request #259432: REPORT-112276 & REPORT-112276 4 months ago
Oliver.Chen 02f1cc1c24 Merge remote-tracking branch 'origin/release/11.0' into feature/x 4 months ago
hans 7a884527b7 REPORT-112276 公共数据取数简道云数据连接部分适配 4 months ago
hans 0680435c5d REPORT-112276 公共数据取数简道云数据连接部分适配 4 months ago
Hans-杨瀚 c9b6449a91 Pull request #259429: REPORT-112276 公共数据取数简道云数据连接部分适配 4 months ago
superman 476d874c94 Merge pull request #259430 in DEC/fineui from final/11.0 to persist/11.0 4 months ago
hans 53c3562c0a REPORT-112276 公共数据取数简道云数据连接部分适配 4 months ago
Zoey.Chen-陈泽语 1e1611ff15 Pull request #259426: BI-142512 fix: 年份控件切换成动态时间少了横线 4 months ago
chenzeyu beeeec7ba5 BI-142512 fix: 年份控件切换成动态时间少了横线 4 months ago
superman e2930cfcad Merge pull request #259424 in DEC/fineui from final/11.0 to release/11.0 4 months ago
Hans-杨瀚 f6a2d746a2 Pull request #259422: REPORT-112276 公共数据取数简道云数据连接部分适配 4 months ago
hans 0c02ca36ab REPORT-112276 公共数据取数简道云数据连接部分适配 4 months ago
Zoey.Chen-陈泽语 40d5174afb Pull request #259421: BI-142531 fix: 缓存清空且hasNext为false时仍然显示加载更多数据 4 months ago
chenzeyu 9384119477 BI-142531 fix: 缓存清空且hasNext为false时仍然显示加载更多数据 4 months ago
Zoey.Chen-陈泽语 b7adcb94b0 Pull request #3728: BI-142512 fix: 年份控件切换成动态时间少了横线 4 months ago
chenzeyu 3276f9eab3 BI-142512 fix: 年份控件切换成动态时间少了横线 4 months ago
superman ed84db36a1 Pull request #259419: 无jira任务, release/11.0 合 feature/x 4 months ago
Oliver.Chen-陈润桐 ba0efd11c3 Pull request #259420: update font 4 months ago
Oliver.Chen aafd5db753 update font 4 months ago
superman b4fb18b6fe Merge pull request #259418 in DEC/fineui from final/11.0 to release/11.0 4 months ago
superman 1c8be56dc3 Merge pull request #259416 in DEC/fineui from master to feature/x 4 months ago
Jimmy.Chai-柴嘉明 253c1b2eb8 Pull request #259415: BI-142225 fix: 再次添加过滤条件,参数值三个字会标红 4 months ago
jimmychai c74646d3f6 BI-142225 fix: 再次添加过滤条件,参数值三个字会标红 4 months ago
Claire.Tang-唐锦霞 9429da8e76 Pull request #3727: 无jira任务 fix:补充MultiLayerDownListCombo的抛出事件 4 months ago
Claire 3f4f732e33 Merge branch 'master' of ssh://code.fineres.com:7999/~claire.tang/fineui 4 months ago
Claire 9ae59913ae 无jira任务 fix:补充MultiLayerDownListCombo的抛出事件 4 months ago
superman f050d0bcf6 Merge pull request #259357 in DEC/fineui from master to feature/x 4 months ago
imp-张健 3f635a4d69 Pull request #3726: BI-137665 fix: popover和message高度改28 4 months ago
jian d4b3fc811e Merge remote-tracking branch 'origin/master' 4 months ago
jian e498de0e6f BI-137665 fix: popover和message高度改28 4 months ago
superman b772a7e33c Merge pull request #259217 in DEC/fineui from master to feature/x 4 months ago
imp-张健 6671db25fa Pull request #3725: 无jira任务 优化布局 4 months ago
imp 9ccd890ed5 无jira任务 优化布局 4 months ago
Austin.Duan-段嗣跃 8b7bb7fd9a Pull request #259181: 无JIRA任务,解决冲突 4 months ago
superman e63089a5f5 Pull request #259180: 无jira任务, bugfix/11.0 合 feature/x 4 months ago
Austin.Duan 586f1f7191 无JIRA任务,解决冲突 4 months ago
superman fe9aa30365 Merge pull request #259179 in DEC/fineui from release/11.0 to bugfix/11.0 4 months ago
Kobi-蒋科斌 599cb1bc13 Pull request #3724: BI-141781 feat: 下拉框接收tipText 4 months ago
superman dc574384d9 Merge pull request #259175 in DEC/fineui from release/11.0 to feature/x 4 months ago
superman ae81e3a61d Merge pull request #259174 in DEC/fineui from final/11.0 to release/11.0 4 months ago
superman aa9c2bd124 Merge pull request #259173 in DEC/fineui from persist/11.0 to final/11.0 4 months ago
Kobi 4127618721 Merge remote-tracking branch 'origin/master' 4 months ago
Kobi 8fb7f87852 BI-141781 feat: 下拉框接收tipText 4 months ago
imp-张健 65743b588e Pull request #3723: BI-129824 fix: 多提交 4 months ago
jian c60f765241 Merge remote-tracking branch 'origin/master' 4 months ago
jian 5fb3e67484 BI-129824 fix: 多提交 4 months ago
imp-张健 318bfa262b Pull request #3722: BI-129824 fix: 控件优化 4 months ago
jian 84e4135f88 BI-129824 fix: 控件优化 4 months ago
jian 04f12cdf17 BI-129824 fix: 控件优化 4 months ago
Kobi-蒋科斌 7131c49207 Pull request #3720: 无JIRA任务 form不传label时展示内容 4 months ago
imp-张健 11c8910eb1 Pull request #3721: BI-137665 feat: 修改弹窗样式 4 months ago
jian 44f7380f3f Merge remote-tracking branch 'origin/master' 4 months ago
jian 45f9161869 BI-137665 feat: 修改弹窗样式 4 months ago
Kobi 75bb2197b0 Merge remote-tracking branch 'origin/master' 4 months ago
Kobi 7499ae38e7 无JIRA任务 form不传label时展示内容 4 months ago
Dailer-刘荣歆 e235b29531 Pull request #3719: update font 4 months ago
翠屏山最速下山传说 c0a89d3dc1 update font 4 months ago
superman d4a5061109 Merge pull request #259172 in DEC/fineui from final/11.0 to persist/11.0 4 months ago
imp-张健 b8d0f46b63 Pull request #3718: BI-137665 fix: 代码优化 4 months ago
jian 3d59f37953 BI-137665 fix: 代码优化 5 months ago
jian 67c3193a1e Merge remote-tracking branch 'origin/master' 5 months ago
jian ea52d833b8 BI-137665 fix: 代码优化 5 months ago
imp-张健 1913386b5a Pull request #3717: BI-137665 fix: 代码优化 5 months ago
jian 813e72756b BI-137665 fix: 代码优化 5 months ago
superman 46a6fc25e9 Merge pull request #259147 in DEC/fineui from bugfix/11.0 to feature/x 5 months ago
superman 5499a615e6 Merge pull request #259146 in DEC/fineui from release/11.0 to bugfix/11.0 5 months ago
Renzo.Ruan-阮宗伟 0db10822b6 Pull request #3716: JSY-36355 feat: MultiSelectItem支持传入el 5 months ago
superman d776032cc5 Merge pull request #259143 in DEC/fineui from release/11.0 to feature/x 5 months ago
superman fe22a70d09 Merge pull request #259140 in DEC/fineui from final/11.0 to release/11.0 5 months ago
Renzo 4ca9fc9855 JSY-36355 feat: MultiSelectItem支持传入el 5 months ago
superman 8bb5bcda71 Merge pull request #259137 in DEC/fineui from release/11.0 to final/11.0 5 months ago
Jimmy.Chai-柴嘉明 af2c69daf0 Pull request #3715: BI-141206 fix: 去掉默认值 5 months ago
jimmychai d24dca8f30 BI-141206 fix: 去掉默认值 5 months ago
superman a3b43e08b2 Merge pull request #259136 in DEC/fineui from bugfix/11.0 to feature/x 5 months ago
superman 604b990dcd Merge pull request #259135 in DEC/fineui from release/11.0 to bugfix/11.0 5 months ago
Kevin.King-王凯壮 1d705f70ff Pull request #259132: REPORT-111844 fix:【填报-预览】更换FR样式后,预览时间不同(可复现) 5 months ago
Kevin.King-王凯壮 714ef52b02 REPORT-111844 fix:【填报-预览】更换FR样式后,预览时间不同(可复现) 5 months ago
Dailer-刘荣歆 1ae50cd1f6 Pull request #3714: 无JIRA 类型 5 months ago
翠屏山最速下山传说 6a9e826012 Merge branch 'master' of ssh://code.fineres.com:7999/~dailer/fineui 5 months ago
翠屏山最速下山传说 9064f7ff74 无JIRA 类型 5 months ago
Claire.Tang-唐锦霞 42b91056d6 Pull request #3713: JSY-35428 feat:选色板支持高度props传入 5 months ago
Claire 78a19b8b22 Merge branch 'master' of ssh://code.fineres.com:7999/~claire.tang/fineui 5 months ago
Claire 78dcc8ad5f JSY-35428 feat:选色板支持高度props传入 5 months ago
Claire.Tang-唐锦霞 30f454d2e9 Pull request #3712: JSY-35428 feat:增加选色控件传递可选颜色色值 5 months ago
Claire bc3a1372a8 JSY-35428 feat:增加选色控件传递可选颜色色值 5 months ago
imp-张健 4459339161 Pull request #3710: KERNEL-16950 fix: 日志 5 months ago
Dailer-刘荣歆 28183248e0 Pull request #3711: BI-139188 feat: 【ParusBI】 5 months ago
jian 876ab20544 无jira任务 多提交的 5 months ago
翠屏山最速下山传说 eaab264a4c BI-139188 feat: 【ParusBI】 search_editor的布局改成自适应的 5 months ago
翠屏山最速下山传说 54682eec8d BI-139188 feat: 【ParusBI】 深色模式下树控件样式补齐 5 months ago
superman 5fd545607d Merge pull request #259115 in DEC/fineui from bugfix/11.0 to feature/x 5 months ago
superman c24d91597d Merge pull request #259114 in DEC/fineui from release/11.0 to bugfix/11.0 5 months ago
jian 9a2f3fd2e3 KERNEL-16950 fix: 加一些log 5 months ago
jian 182a250c4f KERNEL-16950 fix: 日志 5 months ago
imp-张健 9933c2e950 Pull request #3708: KERNEL-16950 fix: 优化 5 months ago
jian 4b443685e9 KERNEL-16950 fix: ref 5 months ago
superman 54dfe0c238 Merge pull request #259113 in DEC/fineui from bugfix/11.0 to release/11.0 5 months ago
superman 596e632b98 Merge pull request #259112 in DEC/fineui from feature/x to bugfix/11.0 5 months ago
Zoey.Chen-陈泽语 9a1e2212a3 Pull request #3709: 无jira任务 fix: 更新字体文件 5 months ago
chenzeyu d8e9a9a6e4 无jira任务 fix: 更新字体文件 5 months ago
jian c6d10e42d1 KERNEL-16950 fix: 优化 5 months ago
jian 46751ef08b Merge remote-tracking branch 'origin/master' 5 months ago
jian 22254aebb3 KERNEL-16950 fix: 优化 5 months ago
superman 061dd8f4b1 Merge pull request #258557 in DEC/fineui from master to feature/x 5 months ago
Dailer-刘荣歆 c76710d3d4 Pull request #3707: 无JIRA .bi-theme-dark 同级类名控制 5 months ago
翠屏山最速下山传说 c9b3b56153 无JIRA .bi-theme-dark 同级类名控制 5 months ago
翠屏山最速下山传说 803d574527 无JIRA 删掉 5 months ago
Zoey.Chen-陈泽语 4f6d87765d Pull request #3706: BI-139672 fix: 修改高度后文本未上下居中 5 months ago
chenzeyu e13a70577a BI-139672 fix: 修改高度后文本未上下居中 5 months ago
superman 422dd58b64 Merge pull request #258545 in DEC/fineui from master to feature/x 5 months ago
imp-张健 fb03a30245 Pull request #3705: KERNEL-16950 fix: 当listview在父组件tab里,且隐藏的状态,父组件watch刷新listview是否执行?如果应该要执行,这里得去掉,如果不要执行,父组件中写法就得手动setselect listview的tab后主动再刷新下;这里listview隐藏状态下选择执行 5 months ago
jian 1021da115f Merge remote-tracking branch 'origin/master' 5 months ago
jian fb4bb09544 KERNEL-16950 fix: 当listview在父组件tab里,且隐藏的状态,父组件watch刷新listview是否执行?如果应该要执行,这里得去掉,如果不要执行,父组件中写法就得手动setselect listview的tab后主动再刷新下;这里listview隐藏状态下选择执行 5 months ago
imp-张健 d8b135975d Pull request #3704: 无jia任务 ref销毁(先不合,unmound子组件的时候,ref置为null,父组件用到ref的地方会报错) 5 months ago
superman ad7c51a9bd Merge pull request #258533 in DEC/fineui from master to feature/x 5 months ago
Dailer-刘荣歆 ff76c3ea9f Pull request #258532: bugfix >> feature 5 months ago
翠屏山最速下山传说 542309784a Merge branch 'bugfix/11.0' into feature/x 5 months ago
superman 3cdec09537 Merge pull request #258529 in DEC/fineui from release/11.0 to bugfix/11.0 5 months ago
jian 8b20dbd53b 无jia任务 多提交 5 months ago
jian ee79aea110 无jia任务 回退,暂时去不掉 5 months ago
superman e24f46630a Merge pull request #258154 in DEC/fineui from bugfix/11.0 to feature/x 5 months ago
Zoey.Chen-陈泽语 e46e7ec016 Pull request #3700: BI-133648 feat:日期过滤控件加预览模式 5 months ago
jian 042d7cc2ef 无jia任务 这么改看下问题 5 months ago
jian bfb93a13e0 KERNEL-16950 fix: options中对象不会被释放 5 months ago
jian 619ab0fe9c Merge remote-tracking branch 'origin/master' 5 months ago
jian cd24a21383 无jia任务 ref销毁 5 months ago
imp-张健 c7ed5375c0 Pull request #3703: 无jia任务 先回退 5 months ago
jian 567d9e7894 无jia任务 先回退 5 months ago
chenzeyu 616fb22b79 BI-133648 feat:日期过滤控件加预览模式 5 months ago
Dailer-刘荣歆 5626da256f Pull request #3702: 无JIRA 组件销毁的时候ref处理 5 months ago
imp-张健 a9cc2591f0 Pull request #3701: KERNEL-16950 fix: 内存泄露问题 5 months ago
翠屏山最速下山传说 9fd1fd58fb 无JIRA 组件销毁的时候ref处理 5 months ago
jian 0e8e943686 KERNEL-16950 fix: 内存泄露问题 5 months ago
chenzeyu 69cbd37288 BI-133648 feat:日期过滤控件加预览模式 5 months ago
superman 940d6f3d28 Merge pull request #258525 in DEC/fineui from final/11.0 to release/11.0 5 months ago
Oliver.Ke-柯键基 d08eef58d0 Pull request #258519: BI-140151 fix: 图标更新 5 months ago
Oliver.Ke dd5b9a58bd BI-140151 fix: 图标更新 5 months ago
superman bc83446938 Merge pull request #258153 in DEC/fineui from release/11.0 to bugfix/11.0 5 months ago
chenzeyu b4fc3d7098 BI-133648 fix:日期过滤控件加预览模式 5 months ago
superman 7ae18c8852 Merge pull request #257809 in DEC/fineui from release/11.0 to feature/x 5 months ago
superman 3d8af126ec Merge pull request #257808 in DEC/fineui from final/11.0 to release/11.0 5 months ago
Jimmy.Chai-柴嘉明 77e1c59c0d Pull request #257802: Final/11.0 同步 5 months ago
Kobi-蒋科斌 319122b1d0 Pull request #257797: BI-138976 fix: 计算高度 5 months ago
jimmychai 3f5b999dd9 BI-139113 fix: 优化subs销毁 5 months ago
jimmychai 98b5fd1f71 BI-138644 fix: 灰化的分秒可设置值 5 months ago
翠屏山最速下山传说 157b63c510 无JIRA 更新subs实现 5 months ago
翠屏山最速下山传说 0d0e910466 无JIRA Dep的subs换成Set实现 5 months ago
superman fedcae7424 Merge pull request #257800 in DEC/fineui from release/11.0 to feature/x 5 months ago
superman 808a247cfa Merge pull request #257799 in DEC/fineui from final/11.0 to release/11.0 5 months ago
superman b15149661b Merge pull request #257798 in DEC/fineui from persist/11.0 to final/11.0 5 months ago
Kobi fd728117a2 BI-138976 fix: 在init中计算 5 months ago
Kobi a2e035d4bb BI-138976 fix: 计算高度 5 months ago
superman b835f8d45c Merge pull request #257792 in DEC/fineui from final/11.0 to persist/11.0 5 months ago
superman 11824cb177 Merge pull request #257751 in DEC/fineui from master to feature/x 5 months ago
Oliver.Ke-柯键基 95360f57a9 Pull request #3698: BI-139985 fix: bi.down_list_popup的bi.down_list_group里只有一个item的时候没有选中效果 5 months ago
Oliver.Ke d0ccfbdad9 BI-139985 fix: bi.down_list_popup的bi.down_list_group里只有一个元素的时候没有选中效果 5 months ago
superman 4b12442d6b Merge pull request #257554 in DEC/fineui from master to feature/x 5 months ago
Dailer-刘荣歆 5a7a8f8d90 Pull request #3697: BI-139874 fix: 【6016】数据集编辑过滤下拉框,搜索内容带了个回车,前端会一直显示加载中 5 months ago
superman 9a393470ee Merge pull request #257386 in DEC/fineui from master to feature/x 5 months ago
翠屏山最速下山传说 f0ebcbb2aa BI-139874 fix: 【6016】数据集编辑过滤下拉框,搜索内容带了个回车,前端会一直显示加载中 5 months ago
Kobi-蒋科斌 3621aa034c Pull request #3696: 无JIRA任务 更新图标 5 months ago
Kobi 709fc4f3d4 Merge remote-tracking branch 'origin/master' 6 months ago
Kobi 8a468d443e 无JIRA任务 更新图标 6 months ago
treecat-罗群 50b113837d Pull request #3695: BI-138908 fix:nextTick 6 months ago
Treecat 7bbc429760 BI-138908 fix:nextTick 6 months ago
treecat-罗群 57ddfc6ea5 Pull request #3694: BI-139664 fix:滑块组件 & BI-137647 fix:radio 6 months ago
treecat 91d175508d 无jira chore: console.log 6 months ago
treecat ade902d4e6 BI-137647 fix:单选颜色 6 months ago
treecat c9f21b2950 无jira fix:bind 6 months ago
treecat d1357ed07e BI-139664 fix:滑块组件 6 months ago
treecat 59a9423753 BI-139664 fix:滑块组件 6 months ago
treecat bb7e287448 BI-139664 fix:滑块组件 6 months ago
superman 72e305c965 Merge pull request #257034 in DEC/fineui from master to feature/x 6 months ago
Guyi-顾翌 7be4e1408c Pull request #3693: 无jira任务,未展开的popup,setValue后不会改变选中状态 6 months ago
superman 739a321554 Merge pull request #257025 in DEC/fineui from bugfix/11.0 to feature/x 6 months ago
superman 454e01de8c Merge pull request #257024 in DEC/fineui from release/11.0 to bugfix/11.0 6 months ago
superman fbd1152027 Merge pull request #257023 in DEC/fineui from final/11.0 to release/11.0 6 months ago
superman ac199c2394 Merge pull request #257021 in DEC/fineui from release/11.0 to final/11.0 6 months ago
guyi 1630eb36a1 未展开的popup,setValue后不会改变选中状态 6 months ago
superman 680056b046 Merge pull request #257001 in DEC/fineui from master to feature/x 6 months ago
Jimmy.Chai-柴嘉明 3cd249dda4 Pull request #3692: BI-139113 fix: 优化subs销毁 6 months ago
jimmychai ceebbfad94 BI-139113 fix: 优化subs销毁 6 months ago
superman 47703eaca9 Merge pull request #256845 in DEC/fineui from master to feature/x 6 months ago
Jimmy.Chai-柴嘉明 d8ff1a7574 Pull request #3691: BI-138644 fix: 灰化的分秒可设置值 6 months ago
jimmychai 0a6ae59c07 BI-138644 fix: 灰化的分秒可设置值 6 months ago
superman 4d036ff682 Merge pull request #256773 in DEC/fineui from master to feature/x 6 months ago
imp-张健 ed686a4c09 Pull request #3690: BI-138460 fix: 给了固定高度不需要minHeight 6 months ago
jian 952fd287c4 Merge remote-tracking branch 'origin/master' 6 months ago
jian 3241eee663 BI-138460 fix: 给了固定高度不需要minHeight 6 months ago
superman ec7c1594a2 Merge pull request #256761 in DEC/fineui from master to feature/x 6 months ago
Kobi-蒋科斌 e97121bfa8 Pull request #3689: BI-121073 fix: 搜索没有keyword 6 months ago
Kobi d65e86cd2d Merge remote-tracking branch 'origin/master' 6 months ago
Kobi 4e3adcd90d BI-121073 fix: 搜索没有keyword 6 months ago
superman a3f33c4d68 Merge pull request #256181 in DEC/fineui from master to feature/x 6 months ago
Dailer-刘荣歆 aba3aa74ac Pull request #3688: 无JIRA Dep的subs换成Set实现 6 months ago
superman 1498e2d956 Merge pull request #256173 in DEC/fineui from master to feature/x 6 months ago
imp-张健 9ee3c723d9 Pull request #3687: Master 6 months ago
superman b5d14ae33c Merge pull request #256045 in DEC/fineui from master to feature/x 6 months ago
Renzo.Ruan-阮宗伟 c8cadb8910 Pull request #3683: JSY-35201 fix: 交叉表内存问题 6 months ago
翠屏山最速下山传说 659ddd7483 无JIRA 更新subs实现 6 months ago
翠屏山最速下山传说 54e7191a97 无JIRA Dep的subs换成Set实现 6 months ago
superman 9f9002da12 Merge pull request #256029 in DEC/fineui from master to feature/x 6 months ago
Kobi-蒋科斌 0eed001a05 Pull request #3686: BI-138976 fix: 在init中计算 6 months ago
Kobi 332c81a394 Merge remote-tracking branch 'origin/master' 6 months ago
Kobi 6f04b65783 BI-138976 fix: 在init中计算 6 months ago
superman 3be1ffb5a8 Merge pull request #256025 in DEC/fineui from master to feature/x 6 months ago
imp-张健 635791cf15 Merging in latest from upstream (VISUAL/fineui:refs/heads/master) 6 months ago
jian 17e768f7d3 Revert "BI-134635 fix: 空白问题,高度初始化" 6 months ago
jian f9b49d7241 Revert "无jira任务 多提交的" 6 months ago
Kobi-蒋科斌 35a6731cf4 Pull request #3684: BI-138976 fix: 计算高度 6 months ago
jian 4e019804a4 无jira任务 多提交的 6 months ago
jian 816f59ec0a BI-134635 fix: 空白问题,高度初始化 6 months ago
Kobi 2a547dca1e BI-138976 fix: 计算高度 6 months ago
Renzo 5010b71618 JSY-35201 fix: 交叉表性能问题 6 months ago
superman 1c72879d15 Merge pull request #255837 in DEC/fineui from master to feature/x 6 months ago
Chris.Chen-陈瑜 169acd1524 Pull request #3681: 无JIRA任务 chore: 更新iconfont图标库 6 months ago
superman ca0e1f5030 Merge pull request #255617 in DEC/fineui from bugfix/11.0 to feature/x 6 months ago
superman 28e5cc4ab2 Merge pull request #255616 in DEC/fineui from release/11.0 to bugfix/11.0 6 months ago
superman 79ae93211c Merge pull request #255585 in DEC/fineui from master to feature/x 6 months ago
superman e08fdf8a8b Merge pull request #255584 in DEC/fineui from release/11.0 to feature/x 6 months ago
Aeolus.Zhang-张敬峥 48bcc5576e Merge pull request #3682 in VISUAL/fineui from DEC/fineui:release/11.0 to master 6 months ago
superman 3ef548d6dc Merge pull request #255577 in DEC/fineui from bugfix/11.0 to release/11.0 6 months ago
superman e5f64c313d Merge pull request #255456 in DEC/fineui from feature/x to bugfix/11.0 6 months ago
superman 1eb16561fd Merge pull request #255395 in DEC/fineui from master to feature/x 6 months ago
guy-王川 1de0efcd03 Pull request #3680: 无JIRA任务 rowHeight支持一下传function 6 months ago
guy 697bc5bb23 无JIRA任务 custom_tree支持hasNext 6 months ago
Chris.Chen 714594c3f4 无JIRA任务 chore: 更新iconfont图标库 6 months ago
guy 2668c807be 无JIRA任务 rowHeight支持一下传function 6 months ago
superman b1557f7e39 Merge pull request #253503 in DEC/fineui from master to feature/x 6 months ago
fanglei-方磊 b34a478c0f Pull request #3679: 无JIRA任务,优化object对象的un方法 6 months ago
superman 1c968175e4 Merge pull request #253470 in DEC/fineui from bugfix/11.0 to feature/x 6 months ago
superman ef8d7bd0a8 Merge pull request #253469 in DEC/fineui from release/11.0 to bugfix/11.0 6 months ago
superman 6a046df348 Merge pull request #253462 in DEC/fineui from release/11.0 to feature/x 6 months ago
superman 1a0675f337 Merge pull request #253461 in DEC/fineui from final/11.0 to release/11.0 6 months ago
superman 03f0cfc7ea Merge pull request #253460 in DEC/fineui from persist/11.0 to final/11.0 6 months ago
superman ac98ee64a1 Merge pull request #253459 in DEC/fineui from final/11.0 to persist/11.0 6 months ago
superman 3591928141 Merge pull request #253394 in DEC/fineui from master to feature/x 6 months ago
方磊 50d43612d4 无JIRA任务,优化object对象的un方法 6 months ago
Dailer-刘荣歆 cdbb0b29f1 Pull request #3678: 无JIRA 补一个ts类型 6 months ago
dailer 64b3aef5a9 Merge branch 'master' of ssh://code.fineres.com:7999/~dailer/fineui 6 months ago
dailer e96ed20207 无JIRA 补一个ts类型 6 months ago
superman bfb51b030d Merge pull request #253380 in DEC/fineui from master to feature/x 6 months ago
Oliver.Ke-柯键基 c527eb9cfd Pull request #3677: 无JIRA任务 补充类型 6 months ago
Oliver.Ke 831f9e0259 无JIRA任务 补充类型 7 months ago
Oliver.Ke ed7c3ce2b2 无JIRA任务 补充类型 7 months ago
superman 081beccc8d Merge pull request #252604 in DEC/fineui from master to feature/x 7 months ago
Dailer-刘荣歆 871ba2bbb3 Pull request #3676: 无JIRA singletree.combo 支持传入popup属性, maxHeight之类的 7 months ago
superman 7efdb5314c Merge pull request #252596 in DEC/fineui from master to feature/x 7 months ago
Jimmy.Chai-柴嘉明 bcfdb98828 Pull request #3675: BI-125208 feat: 组件日期类型的过滤算子优化 7 months ago
dailer e84293c18b 无JIRA singletree.combo 支持传入popup属性, maxHeight之类的 7 months ago
dailer 421980d3ad 无JIRA singletree.combo 支持传入popup属性, maxHeight之类的 7 months ago
jimmychai d453ab34e4 BI-125208 feat: 组件日期类型的过滤算子优化 7 months ago
superman 8812364224 Merge pull request #252427 in DEC/fineui from bugfix/11.0 to feature/x 7 months ago
superman d2b601d6d0 Merge pull request #252426 in DEC/fineui from release/11.0 to bugfix/11.0 7 months ago
superman 8d80e793b2 Merge pull request #252425 in DEC/fineui from final/11.0 to release/11.0 7 months ago
superman d14f57b727 Merge pull request #252423 in DEC/fineui from release/11.0 to final/11.0 7 months ago
superman 30c4ee4ee8 Merge pull request #252287 in DEC/fineui from master to feature/x 7 months ago
Dailer-刘荣歆 9df9b64314 Pull request #3674: BI-129591 feat: HexColorChooserPopup 支持配置自动和透明 7 months ago
dailer 8e67cef3f7 BI-129591 feat: HexColorChooserPopup 支持配置自动和透明 7 months ago
superman a2d74a631c Merge pull request #252071 in DEC/fineui from master to feature/x 7 months ago
Dailer-刘荣歆 e041bbdccf Pull request #3672: 无JIRA 更新异步加载方法 7 months ago
dailer d7b26c22e1 update 7 months ago
superman 16254be115 Merge pull request #251531 in DEC/fineui from master to feature/x 7 months ago
treecat-罗群 2eba857312 Pull request #3673: KERNEL-15856 fix:兼容定时调度 7 months ago
Treecat a7ebd6ec1b KERNEL-15856 fix:兼容定时调度 7 months ago
dailer 4f0a423f24 无JIRA 更新异步加载方法 7 months ago
superman 077e3540d7 Merge pull request #250911 in DEC/fineui from bugfix/11.0 to feature/x 7 months ago
superman 9f5e971a7d Merge pull request #250910 in DEC/fineui from release/11.0 to bugfix/11.0 7 months ago
superman 7534ae84f0 Merge pull request #250739 in DEC/fineui from master to feature/x 7 months ago
treecat-罗群 572a77e73a Pull request #3670: 无jria fix:group.virtual 7 months ago
superman 9971a19839 Merge pull request #250719 in DEC/fineui from master to feature/x 7 months ago
superman 2423287c3a Merge pull request #250718 in DEC/fineui from release/11.0 to feature/x 7 months ago
Aeolus.Zhang-张敬峥 41427f3096 Merge pull request #3671 in VISUAL/fineui from DEC/fineui:release/11.0 to master 7 months ago
superman 600c143360 Merge pull request #250687 in DEC/fineui from bugfix/11.0 to release/11.0 7 months ago
superman 185d1b3df5 Merge pull request #250715 in DEC/fineui from bugfix/11.0 to feature/x 7 months ago
Treecat 1392f049d6 无jria fix:group.virtual 7 months ago
superman e8fe847ef8 Merge pull request #250677 in DEC/fineui from feature/x to bugfix/11.0 7 months ago
superman ced49ba556 Merge pull request #250681 in DEC/fineui from master to feature/x 7 months ago
treecat-罗群 5dcf550332 Pull request #3669: 无jira fix:VirtualGroup 7 months ago
superman ed61322ddb Merge pull request #250116 in DEC/fineui from master to feature/x 7 months ago
Treecat 608954dda7 无jira fix:VirtualGroup 7 months ago
treecat-罗群 877167ebfc Pull request #3668: KERNEL-15856 fix:把字体和CSS带上 7 months ago
Treecat 541c21b965 KERNEL-15856 fix:把字体和CSS带上 7 months ago
treecat-罗群 83ab56ab40 Pull request #3667: 无JIRA 解决冲突 7 months ago
Treecat 9e5895f11b Merge remote-tracking branch 'dec-fineui/release/11.0' 7 months ago
superman a230191d79 Merge pull request #250080 in DEC/fineui from master to feature/x 7 months ago
treecat-罗群 d4411ffd54 Pull request #3666: KERNEL-15856 fix:适配定时调度 7 months ago
superman 5c8f7368aa Merge pull request #249959 in DEC/fineui from release/11.0 to feature/x 7 months ago
superman 81bb371c46 Merge pull request #249958 in DEC/fineui from final/11.0 to release/11.0 7 months ago
Jimmy.Chai-柴嘉明 4e5a866070 Pull request #249956: BI-136783 fix: 修改灰化复选框选中的颜色 7 months ago
jimmychai 60fbbc2b57 BI-136783 fix: 修改灰化复选框选中的颜色 7 months ago
Treecat a1724347ca KERNEL-15856 fix:兼容定时调度 7 months ago
superman 1792cd3e5a Merge pull request #249159 in DEC/fineui from master to feature/x 7 months ago
Kobi-蒋科斌 b87cd0c368 Pull request #3663: BI-134832 feat: router view支持removeTab 7 months ago
Kobi 6c57221b42 Merge remote-tracking branch 'origin/master' 7 months ago
Kobi e86617f64a BI-134832 feat: router view支持removeTab 7 months ago
superman 4634bd82b1 Merge pull request #249112 in DEC/fineui from master to feature/x 7 months ago
guy-王川 b96d1a600f Pull request #3662: 无JIRA任务 custom_tree + bi.loader,populate的时候会导致“无更多数据”消失 7 months ago
guy 262308f619 无JIRA任务 custom_tree支持hasNext 7 months ago
guy 214732c310 无JIRA任务 custom_tree + bi.loader,populate的时候会导致“无更多数据”消失 7 months ago
treecat-罗群 9616088028 Pull request #248968: 无jira任务, master 合 feature/x 7 months ago
guy 6965efb993 无JIRA任务 custom_tree + bi.loader,populate的时候会导致“无更多数据”消失 7 months ago
Treecat b9020aaf2c Merge branch 'master' into feature/x 7 months ago
superman f73f150a7d Merge pull request #248955 in DEC/fineui from bugfix/11.0 to feature/x 8 months ago
superman 2475d41fa7 Merge pull request #248954 in DEC/fineui from release/11.0 to bugfix/11.0 8 months ago
superman 78e57fc262 Merge pull request #248953 in DEC/fineui from final/11.0 to release/11.0 8 months ago
superman 7c16be86f9 Merge pull request #248952 in DEC/fineui from persist/11.0 to final/11.0 8 months ago
superman 48cd087a0e Merge pull request #248951 in DEC/fineui from final/11.0 to persist/11.0 8 months ago
Kobi-蒋科斌 49afd5ccf9 Pull request #3661: BI-128199 更新图标 8 months ago
Kobi ccbd9c8cb2 BI-128199 更新图标 8 months ago
superman ad5fe11d1b Merge pull request #248932 in DEC/fineui from bugfix/11.0 to feature/x 8 months ago
superman 72c16e4a31 Merge pull request #248931 in DEC/fineui from release/11.0 to bugfix/11.0 8 months ago
superman f8be8e1d7a Merge pull request #248930 in DEC/fineui from final/11.0 to release/11.0 8 months ago
superman 12a65b9bff Merge pull request #248927 in DEC/fineui from release/11.0 to final/11.0 8 months ago
imp-张健 584393dfc8 Pull request #3660: BI-129568 fix: 白色背景相反色值调整&分页间距优化 8 months ago
jian 92ae85eb61 BI-129568 fix: 分页间距优化-先回退6016考虑 8 months ago
jian efe5d2aed4 Merge remote-tracking branch 'origin/master' 8 months ago
jian 7a24f2bcdb BI-129568 fix: 白色背景相反色值调整&分页间距优化 8 months ago
guy-王川 f16693cd8e Pull request #3659: 无JIRA任务 custom_tree支持hasNext 8 months ago
guy 5de8af91fc 无JIRA任务 custom_tree支持hasNext 8 months ago
Dailer-刘荣歆 77deffb23f Pull request #3658: 无JRIA 打包失败 8 months ago
dailer 744b6808c4 无JRIA 打包失败 8 months ago
imp-张健 ba2d47b0e3 Pull request #3657: 无jira任务 导出缺失代码 8 months ago
jian b2b59c9d40 KERNEL-16294 fix: 导出适配1、导出widgetEngin构造的Element没有width方法,通过css设置 2、打包添加基本控件fineuiwithoutjquery = worker+基本控件 8 months ago
jian 67e6d3a3b1 无jira任务 回退 8 months ago
jian 130b36aaf4 无jira任务 多余空行 8 months ago
jian 9a257c0d01 无jira任务 导出缺失 8 months ago
superman 77ac3d297e Merge pull request #248890 in DEC/fineui from bugfix/11.0 to feature/x 8 months ago
superman 788dd9b937 Merge pull request #248889 in DEC/fineui from release/11.0 to bugfix/11.0 8 months ago
superman d43b8f335b Merge pull request #248886 in DEC/fineui from release/11.0 to feature/x 8 months ago
windy-许昊 4e0274fcc4 Pull request #248881: fix(BI-134501): 主线不找最外层body 8 months ago
windy-许昊 a4a07be62b Pull request #3655: fix(BI-134501): 主线不找最外层body 8 months ago
windy 1908600db3 fix(BI-134501): 主线不找最外层body 8 months ago
windy 22cad7d0ec Merge branch 'master' of ssh://code.fineres.com:7999/~windy/fui 8 months ago
windy b63c81b25b fix(BI-134501): 主线不找最外层body 8 months ago
Aeolus.Zhang-张敬峥 a1cf2a7499 Merge pull request #3654 in VISUAL/fineui from DEC/fineui:release/11.0 to master 8 months ago
superman d2646e3fda Merge pull request #248880 in DEC/fineui from bugfix/11.0 to release/11.0 8 months ago
superman 421ae143a7 Merge pull request #248879 in DEC/fineui from feature/x to bugfix/11.0 8 months ago
superman 48dc44c714 Merge pull request #248868 in DEC/fineui from master to feature/x 8 months ago
Aeolus.Zhang-张敬峥 469dbd1caf Merge pull request #3653 in VISUAL/fineui from DEC/fineui:release/11.0 to master 8 months ago
superman adbbf6944d Merge pull request #248863 in DEC/fineui from release/11.0 to feature/x 8 months ago
superman 29c5967191 Merge pull request #248862 in DEC/fineui from final/11.0 to release/11.0 8 months ago
Jimmy.Chai-柴嘉明 39037c7a97 Pull request #248748: BI-133543 fix: 搜索报错无提示 8 months ago
jimmychai e9b78c3cf2 BI-133543 fix: 搜索报错无提示 8 months ago
superman 2d98de04d5 Merge pull request #248442 in DEC/fineui from bugfix/11.0 to feature/x 8 months ago
superman 3466b85e35 Merge pull request #248441 in DEC/fineui from release/11.0 to bugfix/11.0 8 months ago
superman 16e4eccc70 Merge pull request #248282 in DEC/fineui from release/11.0 to feature/x 8 months ago
superman 0cbe4d4c77 Merge pull request #248281 in DEC/fineui from final/11.0 to release/11.0 8 months ago
superman 0c7db27bea Merge pull request #248280 in DEC/fineui from persist/11.0 to final/11.0 8 months ago
superman 7413e2b051 Merge pull request #248273 in DEC/fineui from final/11.0 to persist/11.0 8 months ago
superman 78f3b62364 Merge pull request #247928 in DEC/fineui from master to feature/x 9 months ago
Oliver.Ke-柯键基 b4c32ae363 Pull request #3652: BI-133009 fix: 季末日期计算有误 9 months ago
Oliver.Ke 7ff1c2d8c7 BI-133009 fix: 季末日期计算有误 9 months ago
superman be91276bc2 Merge pull request #247303 in DEC/fineui from master to feature/x 9 months ago
windy-许昊 cce6fa808f Pull request #3648: feat(KERNEL-15966): 指定body挂载的弹窗挂在最外层 9 months ago
superman 14c4bb7ff3 Merge pull request #247299 in DEC/fineui from master to feature/x 9 months ago
Dailer-刘荣歆 203107c058 Pull request #3651: 无JIRA 上传font 9 months ago
superman c47a1a5103 Merge pull request #246743 in DEC/fineui from master to feature/x 9 months ago
dailer 3b3e82d896 无JIRA 上传font 9 months ago
superman e77a355886 Merge pull request #246739 in DEC/fineui from master to feature/x 9 months ago
Aeolus.Zhang-张敬峥 cf1ba32e12 Merge pull request #3650 in VISUAL/fineui from DEC/fineui:release/11.0 to master 9 months ago
superman c1d12c23f3 Merge pull request #246738 in DEC/fineui from bugfix/11.0 to feature/x 9 months ago
superman ad7b26a541 Merge pull request #246737 in DEC/fineui from release/11.0 to bugfix/11.0 9 months ago
superman 723867abcc Merge pull request #246736 in DEC/fineui from final/11.0 to release/11.0 9 months ago
Dailer-刘荣歆 19ebd32779 Pull request #3649: BI-131636 fix: 【6.0.13分析文档迭代验收】分析文档,字体颜色默认值,少了16进制的内容 9 months ago
dailer bfa073bfb7 BI-131636 fix: 【6.0.13分析文档迭代验收】分析文档,字体颜色默认值,少了16进制的内容 9 months ago
superman 16a7fb68f6 Merge pull request #246734 in DEC/fineui from release/11.0 to final/11.0 9 months ago
Oliver.Ke-柯键基 7984c50408 Pull request #246733: BI-133048 fix: 图标更新 9 months ago
Oliver.Ke 533661e3c3 BI-133048 fix: 图标更新 9 months ago
windy ddcbdf5147 feat(KERNEL-15966): 指定body挂载的弹窗挂在最外层 9 months ago
superman a77cbeed25 Merge pull request #246543 in DEC/fineui from master to feature/x 9 months ago
Aeolus.Zhang-张敬峥 b4e411c1df Merge pull request #3647 in VISUAL/fineui from DEC/fineui:release/11.0 to master 9 months ago
superman d24f3bae5c Merge pull request #246538 in DEC/fineui from release/11.0 to feature/x 9 months ago
superman 4e8d478c5e Merge pull request #246537 in DEC/fineui from final/11.0 to release/11.0 9 months ago
Oliver.Ke-柯键基 6a0fe89dbb Pull request #246397: BI-130857 fix: 图标更新 9 months ago
Oliver.Ke a8ec5fabeb BI-130857 fix: 图标更新 9 months ago
superman 0e275ec272 Merge pull request #246392 in DEC/fineui from master to feature/x 9 months ago
Claire.Tang-唐锦霞 e446eb9621 Pull request #3646: JSY-31442 style:数值区间控件提供高度设置 9 months ago
Claire 6e2ad108c0 JSY-31442 style:数值区间控件提供高度设置 9 months ago
superman 55e56c1133 Merge pull request #245743 in DEC/fineui from bugfix/11.0 to feature/x 9 months ago
superman 31075ffcae Merge pull request #245742 in DEC/fineui from release/11.0 to bugfix/11.0 9 months ago
superman 6b8a48a08e Merge pull request #245549 in DEC/fineui from master to feature/x 9 months ago
superman af9159e0bb Merge pull request #245548 in DEC/fineui from release/11.0 to feature/x 9 months ago
Aeolus.Zhang-张敬峥 0597952279 Merge pull request #3645 in VISUAL/fineui from DEC/fineui:release/11.0 to master 9 months ago
superman d978b14aae Merge pull request #245541 in DEC/fineui from bugfix/11.0 to release/11.0 9 months ago
superman 932bea730f Merge pull request #245420 in DEC/fineui from feature/x to bugfix/11.0 9 months ago
superman 26308f7bb4 Merge pull request #244599 in DEC/fineui from master to feature/x 9 months ago
Dailer-刘荣歆 477c65a6b2 Pull request #3644: BI-130558 fix: 【6.0.13发散】预览布局和内容缩放,控件下拉搜索,全选和选项的缩放比例不一样 9 months ago
dailer 681762a612 BI-130558 fix: 【6.0.13发散】预览布局和内容缩放,控件下拉搜索,全选和选项的缩放比例不一样 9 months ago
superman 06f19e4e67 Merge pull request #244291 in DEC/fineui from master to feature/x 9 months ago
Dailer-刘荣歆 4b979987eb Pull request #3642: 无JIRA fix调用相关的先放在compact里面,不然会循环引用 9 months ago
superman 49dee9b592 Merge pull request #244091 in DEC/fineui from master to feature/x 9 months ago
superman 7f5453064e Merge pull request #244090 in DEC/fineui from release/11.0 to feature/x 9 months ago
Aeolus.Zhang-张敬峥 1576d0e5a5 Merge pull request #3643 in VISUAL/fineui from DEC/fineui:release/11.0 to master 9 months ago
superman 083356711a Merge pull request #244089 in DEC/fineui from final/11.0 to release/11.0 9 months ago
superman 5ec26562e8 Merge pull request #244088 in DEC/fineui from persist/11.0 to final/11.0 9 months ago
Kevin.King-王凯壮 bb94c64f5a Pull request #244087: REPORT-102409 fix:FR11样式-下拉树控件-不勾选“异步展开树节点”,模糊搜索异常 9 months ago
Kevin.King-王凯壮 f1eedcab19 REPORT-102409 fix:FR11样式-下拉树控件-不勾选“异步展开树节点”,模糊搜索异常 9 months ago
dailer 67d98c3b7c 无JIRA fix调用相关的先放在compact里面,不然会循环引用 9 months ago
superman f57c84339c Merge pull request #244078 in DEC/fineui from master to feature/x 9 months ago
Aeolus.Zhang-张敬峥 1b1754edf6 Merge pull request #3641 in VISUAL/fineui from DEC/fineui:release/11.0 to master 9 months ago
superman 6de2746dc8 Merge pull request #244073 in DEC/fineui from release/11.0 to feature/x 9 months ago
superman f271e4d13a Merge pull request #244072 in DEC/fineui from final/11.0 to release/11.0 9 months ago
superman 21b50cc604 Merge pull request #244071 in DEC/fineui from persist/11.0 to final/11.0 9 months ago
superman 5a86f38b66 Merge pull request #244070 in DEC/fineui from master to feature/x 9 months ago
Kevin.King-王凯壮 587ed18882 Pull request #244069: REPORT-102409 fix:FR11样式-下拉树控件-不勾选“异步展开树节点”,模糊搜索异常 9 months ago
Kevin.King-王凯壮 a6a06d5fd5 REPORT-102409 fix:FR11样式-下拉树控件-不勾选“异步展开树节点”,模糊搜索异常 9 months ago
Dailer-刘荣歆 60efe97f3b Pull request #3640: 无JIRA 事件名写错了. 9 months ago
superman 409ac0f9f5 Merge pull request #244068 in DEC/fineui from final/11.0 to persist/11.0 10 months ago
dailer 23316ddd7d Merge branch 'master' of ssh://code.fineres.com:7999/~dailer/fineui 10 months ago
dailer 0f326a174d 无JIRA 事件名写错了. 10 months ago
superman 678683c28e Merge pull request #243868 in DEC/fineui from master to feature/x 10 months ago
Aeolus.Zhang-张敬峥 c37863ebaf Merge pull request #3639 in VISUAL/fineui from DEC/fineui:release/11.0 to master 10 months ago
superman 0f9519f69a Merge pull request #243863 in DEC/fineui from release/11.0 to feature/x 10 months ago
superman 23c324bd4d Merge pull request #243862 in DEC/fineui from final/11.0 to release/11.0 10 months ago
Kevin.King-王凯壮 3a0fca06ae Pull request #243860: REPORT-101119 && REPORT-101788 && REPORT-101859 10 months ago
Kevin.King-王凯壮 3e0072bb90 REPORT-101788 && REPORT-101859 fix:【11.0.19冒烟】新前端-控件-下拉树 下拉树搜索失效,输入值没反应 && FR11样式-下拉树控件模糊搜索无反应,控制台报错 10 months ago
Kevin.King-王凯壮 4d26d23907 REPORT-101119 fix:新引擎-下拉复选框选中后查看已选选项,一直在加载中出不来 10 months ago
superman 17c8c9f0fc Merge pull request #243839 in DEC/fineui from master to feature/x 10 months ago
Oliver.Ke-柯键基 64474f00bb Pull request #3635: BI-131340 fix: DynamicDateTimeCombo不设置value的默认值 10 months ago
superman 1257aa37c2 Merge pull request #243819 in DEC/fineui from master to feature/x 10 months ago
Aeolus.Zhang-张敬峥 da2a3d9fc7 Merge pull request #3638 in VISUAL/fineui from DEC/fineui:release/11.0 to master 10 months ago
superman 4a700c0f48 Merge pull request #243814 in DEC/fineui from release/11.0 to feature/x 10 months ago
superman 952bfce9a6 Merge pull request #243813 in DEC/fineui from final/11.0 to release/11.0 10 months ago
Kevin.King-王凯壮 758b048522 Pull request #243794: REPORT-101859 fix:FR11样式-下拉树控件模糊搜索无反应,控制台报错 10 months ago
superman bf969ef44b Merge pull request #243811 in DEC/fineui from master to feature/x 10 months ago
Aeolus.Zhang-张敬峥 09c8006c71 Merge pull request #3637 in VISUAL/fineui from DEC/fineui:release/11.0 to master 10 months ago
superman 35e1b2843c Merge pull request #243806 in DEC/fineui from release/11.0 to feature/x 10 months ago
superman b064d79cc4 Merge pull request #243805 in DEC/fineui from final/11.0 to release/11.0 10 months ago
Dailer-刘荣歆 0822109142 Pull request #243799: REPORT-101403 publicPath 修复, 设计起里面用到了fineui居然 10 months ago
dailer 0dfa0ac432 publicPath 修复, 设计起里面用到了fineui居然 10 months ago
Kevin.King-王凯壮 f0bfc3a6f7 REPORT-101859 fix:FR11样式-下拉树控件模糊搜索无反应,控制台报错 10 months ago
superman 3c8a5d0803 Merge pull request #243793 in DEC/fineui from master to feature/x 10 months ago
Aeolus.Zhang-张敬峥 e1e1d74b96 Merge pull request #3636 in VISUAL/fineui from DEC/fineui:release/11.0 to master 10 months ago
superman c5c12b9201 Merge pull request #243788 in DEC/fineui from release/11.0 to feature/x 10 months ago
superman 0ad36acc03 Merge pull request #243787 in DEC/fineui from final/11.0 to release/11.0 10 months ago
Dailer-刘荣歆 afbef0a477 Pull request #243781: BI-131370 && REPORT-102213 fix: 兼容11.0.18的worker资源 10 months ago
dailer c3c04d94bb BI-131370 && REPORT-102213 fix: 兼容11.0.18的worker资源 10 months ago
Oliver.Ke f41e81b48e BI-131340 fix: DynamicDateTimeCombo不设置value的默认值 10 months ago
Oliver.Ke 1c985e855c BI-131340 fix: DynamicDateTimeCombo的value默认值设置为null 10 months ago
superman a1e97a3863 Merge pull request #243652 in DEC/fineui from master to feature/x 10 months ago
Zoey.Chen-陈泽语 170060cc07 Pull request #3628: BI-115380 fix: 暗模式下按钮disabled时字体颜色被覆盖 10 months ago
chenzeyu e72fa072d6 BI-115380 fix: 暗模式下按钮disabled时字体颜色被覆盖 10 months ago
superman efba02e7f9 Merge pull request #243608 in DEC/fineui from master to feature/x 10 months ago
fay-李丰豪 53659060de Pull request #3633: 无JIRA任务 title问题 10 months ago
fay 74e0f91985 Merge branch 'master' of ssh://code.fineres.com:7999/~fay/fineui 10 months ago
fay d55f1992b6 无JIRA任务 title问题 10 months ago
Aeolus.Zhang-张敬峥 d89c65ee20 Merge pull request #3632 in VISUAL/fineui from DEC/fineui:release/11.0 to master 10 months ago
superman 4461ddf4da Merge pull request #243604 in DEC/fineui from master to feature/x 10 months ago
superman ab00aeed3b Merge pull request #243603 in DEC/fineui from release/11.0 to feature/x 10 months ago
superman e9750de785 Merge pull request #243602 in DEC/fineui from final/11.0 to release/11.0 10 months ago
Aeolus.Zhang-张敬峥 e54e447b32 Merge pull request #3631 in VISUAL/fineui from DEC/fineui:release/11.0 to master 10 months ago
Kevin.King-王凯壮 5279f201e9 Pull request #243572: REPORT-101922 fix:【冒烟】定时调度默认用户组部门树勾选效果异常 10 months ago
imp-张健 15977bda40 Pull request #243455: 无jira任务 间距 10 months ago
superman 5e15d4c221 Merge pull request #243588 in DEC/fineui from master to feature/x 10 months ago
chenzeyu e0deea14ec BI-115380 fix: 暗模式下按钮disabled时字体颜色被覆盖 10 months ago
fay-李丰豪 0ce2e0303b Pull request #3630: 无JIRA任务 提示不对 10 months ago
fay 8e00dcabd9 Merge branch 'master' of ssh://code.fineres.com:7999/~fay/fineui 10 months ago
fay 18111db59c 无JIRA任务 提示不对 10 months ago
superman 25dbe09727 Merge pull request #243580 in DEC/fineui from master to feature/x 10 months ago
fay-李丰豪 3f87ec5b58 Pull request #3629: 无JIRA任务 title 变来变去的 10 months ago
fay 05f1c78e58 无JIRA任务 title 变来变去的 10 months ago
Kevin.King-王凯壮 dadc40069c REPORT-101922 fix:【冒烟】定时调度默认用户组部门树勾选效果异常 10 months ago
superman 6c2d8e9ba3 Merge pull request #243459 in DEC/fineui from master to feature/x 10 months ago
imp-张健 fde1c7c282 Pull request #3627: 无jira任务 优化height 10 months ago
jian cfd05b9097 无jira任务 间距 10 months ago
chenzeyu 94d10d045e BI-115380 fix: 暗模式下按钮disabled时字体颜色被覆盖 10 months ago
jian 0727f7040d Merge remote-tracking branch 'origin/master' 10 months ago
jian 8c17b9f95f 无jira任务 优化height 10 months ago
superman f7c9c17408 Merge pull request #243378 in DEC/fineui from master to feature/x 10 months ago
Anny-曾佳 fec2f2eac6 Pull request #3615: JSY-26622 10 months ago
superman 712c1941fd Merge pull request #243270 in DEC/fineui from master to feature/x 10 months ago
Aeolus.Zhang-张敬峥 028d6ca3ce Merge pull request #3626 in VISUAL/fineui from DEC/fineui:release/11.0 to master 10 months ago
superman c72bed4e8a Merge pull request #243265 in DEC/fineui from release/11.0 to feature/x 10 months ago
superman 8833cc2648 Merge pull request #243264 in DEC/fineui from final/11.0 to release/11.0 10 months ago
Jimmy.Chai-柴嘉明 03d9824da1 Pull request #242260: BI-130613 fix: 下拉树展开没有加载 10 months ago
superman 26528b4129 Merge pull request #243254 in DEC/fineui from master to feature/x 10 months ago
Guyi-顾翌 430169e981 Pull request #3625: 无jira任务,Selection没有引用 10 months ago
guyi e35941c50a 无jira任务,Selection没有引用 10 months ago
superman 2c113a998c Merge pull request #242986 in DEC/fineui from master to feature/x 10 months ago
Dailer-刘荣歆 226babde84 Pull request #3624: 无JIRA fix: this指向问题 10 months ago
dailer 14a3933b78 无JIRA fix: this指向问题 10 months ago
jimmychai cb2f0bd3be BI-130613 fix: 优化代码 10 months ago
superman fe2b7044b6 Merge pull request #242862 in DEC/fineui from master to feature/x 10 months ago
Guyi-顾翌 dceedb0349 Pull request #3623: 无jira任务,NumberIntervalSingleEditor抛出来 10 months ago
guyi 429963a580 无jira任务,组件抛出来 10 months ago
guyi 820db09efe 无jira任务,NumberIntervalSingleEditor抛出来 10 months ago
superman b669acf285 Merge pull request #242838 in DEC/fineui from master to feature/x 10 months ago
Kobi-蒋科斌 8b0321053b Pull request #3622: 无JIRA任务 fix: encodeURIcomponent 10 months ago
Kobi ba86ebda9d 无JIRA任务 fix: encodeURIcomponent 10 months ago
superman 25e5d6795d Merge pull request #242834 in DEC/fineui from master to feature/x 10 months ago
fay-李丰豪 a19f6a015b Merging in latest from upstream (VISUAL/fineui:refs/heads/master) 10 months ago
Dailer-刘荣歆 9f6f1e0565 Pull request #3621: 无JIRA 去less.config.json路径改成和以前一样 10 months ago
dailer 895ede189f 更新readme 10 months ago
dailer 5e2fba623a 无JIRA 去less.config.json路径改成和以前一样 10 months ago
superman 712ed80eff Merge pull request #242830 in DEC/fineui from master to feature/x 10 months ago
Guyi-顾翌 0e154ea56c Pull request #3620: 无jira任务,cache.getItem默认值返回null,不要undefined,同原来的结果 10 months ago
guyi efcd83a00f 无jira任务,cache.getItem默认值返回null,不要undefined,同原来的结果 10 months ago
fay-李丰豪 f10f69a6b4 Merging in latest from upstream (VISUAL/fineui:refs/heads/master) 10 months ago
superman d890651752 Merge pull request #242810 in DEC/fineui from master to feature/x 10 months ago
Dailer-刘荣歆 6615288085 Pull request #3619: 无JIRA less_config_path 10 months ago
dailer 4d8d1eb0ba Merge branch 'master' of ssh://code.fineres.com:7999/~dailer/fineui 10 months ago
dailer 55469d09bb 无JIRA less_config_path 10 months ago
fay-李丰豪 f1d6630510 Merging in latest from upstream (VISUAL/fineui:refs/heads/master) 10 months ago
superman fbed9b74d5 Merge pull request #242786 in DEC/fineui from master to feature/x 10 months ago
Dailer-刘荣歆 06b3c63748 Pull request #3618: 无JIRA 自定义less变量构建 10 months ago
dailer 60826292c8 Merge branch 'master' of ssh://code.fineres.com:7999/~dailer/fineui 10 months ago
dailer 06eb180c69 无JIRA 自定义less变量构建 10 months ago
fay-李丰豪 430dadeecb Merging in latest from upstream (VISUAL/fineui:refs/heads/master) 10 months ago
superman f4e2fab173 Merge pull request #242686 in DEC/fineui from master to feature/x 10 months ago
fay-李丰豪 256145b081 Pull request #3617: JSY-31395 & 打包问题 10 months ago
fay 7f22f4e32c JSY-31395 10 months ago
fay 9dd8d431fb 打包问题 10 months ago
fay 98f8424cf1 Merge branch 'master' of ssh://code.fineres.com:7999/~fay/fineui 10 months ago
fay b8ad77c5ca JSY-31395 & 打包问题 10 months ago
superman 20849a8504 Merge pull request #242658 in DEC/fineui from master to feature/x 10 months ago
Dailer-刘荣歆 21586f024d Pull request #3616: 无JIRA 导出code_index 10 months ago
dailer df87dbf9d1 update 10 months ago
dailer b25bd6418b 无JIRA 导出code_index 10 months ago
Anny-曾佳 b1f70d89f7 Pull request #66: JSY-26622 10 months ago
Anny f8d1557560 JSY-26622 10 months ago
superman 2450473ffd Merge pull request #242634 in DEC/fineui from master to feature/x 10 months ago
Aeolus.Zhang-张敬峥 7511f79e66 Merge pull request #3614 in VISUAL/fineui from DEC/fineui:release/11.0 to master 10 months ago
superman 080e5b36ec Merge pull request #242630 in DEC/fineui from bugfix/11.0 to feature/x 10 months ago
superman 58f2ea1bae Merge pull request #242629 in DEC/fineui from release/11.0 to bugfix/11.0 10 months ago
superman a699a3996b Merge pull request #242625 in DEC/fineui from release/11.0 to feature/x 10 months ago
superman a09c49ba58 Merge pull request #242624 in DEC/fineui from final/11.0 to release/11.0 10 months ago
Dailer-刘荣歆 e8fa3eb45d Pull request #242618: 无JIRA 组件名大小写修正 10 months ago
dailer 881aa445f8 无JIRA 组件名大小写修正 10 months ago
superman 8537b63f67 Merge pull request #242605 in DEC/fineui from master to feature/x 10 months ago
Aeolus.Zhang-张敬峥 eec0263271 Pull request #3601: 无jira任务 自动更新 VISUAL/fineui master分支 Tue Jul 04 2023 12:10:55 GMT+0800 (中国标准时间) 10 months ago
superman 706997c6d4 Merge pull request #242480 in DEC/fineui from release/11.0 to feature/x 10 months ago
superman 225d9d8330 Merge pull request #242479 in DEC/fineui from final/11.0 to release/11.0 10 months ago
Dailer-刘荣歆 f252eaee59 Pull request #242477: 无JIRA 组件名大小写修正 10 months ago
dailer 416fe4a3ba 无JIRA 组件名大小写修正 10 months ago
jimmychai b7f96194c4 BI-130613 fix: 下拉树展开没有加载 10 months ago
superman 1f18d2d9dd Merge pull request #242467 in DEC/fineui from release/11.0 to feature/x 10 months ago
superman 6d77227454 Merge pull request #242466 in DEC/fineui from final/11.0 to release/11.0 10 months ago
Sylar-黄山 a696d40bd1 Pull request #242460: REPORT-101548 fix: 下拉复选树this指向问题 10 months ago
Sylar 69600488a5 REPORT-101548 下拉复选树this指向问题 10 months ago
Sylar defe13242d REPORT-101548 fix: 复选下拉树this指向问题 10 months ago
superman 2c018ed686 Merge pull request #242431 in DEC/fineui from bugfix/11.0 to feature/x 10 months ago
superman 1f87677d99 Merge pull request #242430 in DEC/fineui from release/11.0 to bugfix/11.0 10 months ago
superman e2eef3bb98 Merge pull request #242422 in DEC/fineui from release/11.0 to feature/x 10 months ago
superman e1971e9654 Merge pull request #242421 in DEC/fineui from final/11.0 to release/11.0 10 months ago
superman 8f3bbf52f6 Merge pull request #242419 in DEC/fineui from release/11.0 to final/11.0 10 months ago
superman d7fc3e97ba Merge pull request #242417 in DEC/fineui from release/11.0 to feature/x 10 months ago
Kevin.King-王凯壮 1f46b7aa2a Pull request #242410: 无jira 扩展运算符补正 10 months ago
Kevin.King-王凯壮 366a2926af 无jira 扩展运算符补正 10 months ago
superman db5907ebb9 Merge pull request #242408 in DEC/fineui from release/11.0 to feature/x 10 months ago
Kevin.King-王凯壮 dc9146d652 Pull request #242401: REPORT-101145 fix:新前端-视图树控件-设置不可用后还是能选中选项 10 months ago
superman fa72f3953f Merge pull request #242396 in DEC/fineui from bugfix/11.0 to feature/x 10 months ago
Kevin.King-王凯壮 271418e258 REPORT-101145 fix:新前端-视图树控件-设置不可用后还是能选中选项 10 months ago
superman ff5e8106f7 Merge pull request #242395 in DEC/fineui from release/11.0 to bugfix/11.0 10 months ago
superman dc0c5b3554 Merge pull request #242234 in DEC/fineui from release/11.0 to feature/x 10 months ago
Dailer-刘荣歆 116e68e151 Pull request #242231: 导出 bi.context 10 months ago
Dailer-刘荣歆 9616916463 导出 bi.context 10 months ago
superman 5fcdc2b368 Merge pull request #242230 in DEC/fineui from master to feature/x 10 months ago
Oliver.Ke-柯键基 2b8dc8392e Pull request #3613: 无JIRA任务 补充类型 10 months ago
Oliver.Ke f659c9f1bd Merge remote-tracking branch 'origin/master' 10 months ago
Oliver.Ke c426782613 无JIRA任务 补充类型 10 months ago
superman 6c545bcc78 Merge pull request #242054 in DEC/fineui from master to feature/x 10 months ago
Zoey.Chen-陈泽语 48a425d9aa Pull request #3612: BI-129653 fix : 下拉选项bubble提示多个互相遮挡 10 months ago
Oliver.Ke-柯键基 491d8e4fc3 Pull request #3611: 无JIRA任务 补充类型 10 months ago
chenzeyu e1e27267ef BI-129653 fix : 下拉选项bubble提示多个互相遮挡 10 months ago
Oliver.Ke 12d9ac56aa 无JIRA任务 补充类型 10 months ago
superman 8a3566dbbe Merge pull request #241905 in DEC/fineui from release/11.0 to feature/x 10 months ago
Dailer-刘荣歆 3e714f3157 Pull request #241901: 无JIRA report模板用的worker适配+删减 10 months ago
dailer 2ead0ec700 无JIRA report模板用的worker适配+删减 10 months ago
superman 44d3271e82 Merge pull request #241876 in DEC/fineui from release/11.0 to bugfix/11.0 10 months ago
superman 382be36493 Merge pull request #241839 in DEC/fineui from release/11.0 to feature/x 10 months ago
Kevin.King-王凯壮 dac161e405 Pull request #241703: REPORT-100874 fix:【专题】【权限复用】权限复用时默认状态下选中部门,搜索状态下取消其中1个职务,取消搜索后发现职务还是选中状态 10 months ago
superman 99af96dc46 Merge pull request #241711 in DEC/fineui from release/11.0 to feature/x 10 months ago
Dailer-刘荣歆 5035748fc1 Pull request #241708: 无JIRA $和Jquery的环境问题兼容FR 10 months ago
dailer 11b8baa5c6 无JIRA $和Jquery的环境问题兼容FR 10 months ago
Kevin.King-王凯壮 e3ecaac8b9 REPORT-100874 fix:【专题】【权限复用】权限复用时默认状态下选中部门,搜索状态下取消其中1个职务,取消搜索后发现职务还是选中状态 10 months ago
superman 96ca0b3a27 Merge pull request #241677 in DEC/fineui from bugfix/11.0 to feature/x 10 months ago
superman 700204ddc5 Merge pull request #241676 in DEC/fineui from release/11.0 to bugfix/11.0 10 months ago
superman 0d63fcae4f Merge pull request #241532 in DEC/fineui from release/11.0 to feature/x 10 months ago
superman 21ab2b88e4 Merge pull request #241529 in DEC/fineui from bugfix/11.0 to release/11.0 10 months ago
superman 59eb739516 Merge pull request #241528 in DEC/fineui from feature/x to bugfix/11.0 10 months ago
Dailer-刘荣歆 0ae9c92216 Pull request #241523: 无JRIA Workers挂载到BI上 10 months ago
dailer 87745691fe 无JRIA Workers挂载到BI上 10 months ago
Dailer-刘荣歆 98bc0037c3 Pull request #241457: bugfix >> feature/x 10 months ago
dailer c489e1b0e4 Merge branch 'bugfix/11.0' into feature/x 10 months ago
superman 02082baa01 Merge pull request #241455 in DEC/fineui from release/11.0 to bugfix/11.0 10 months ago
Kevin.King-王凯壮 383a6a8853 Pull request #241237: REPORT-97526 feat:给带搜索的多选多层级树增加autoShink,selectLeafOnly字段 10 months ago
superman 8114e58888 Merge pull request #241449 in DEC/fineui from final/11.0 to release/11.0 10 months ago
Dailer-刘荣歆 f3e5ce5858 Pull request #241403: BI-128437 提交Final fix: 【来源PT项目】BI绑定参数文本下拉问题 10 months ago
superman 3eac459f6d Merge pull request #241447 in DEC/fineui from master to feature/x 10 months ago
Dailer-刘荣歆 4b4eb17202 Pull request #3610: 无JIRA 自定义less变量支持 10 months ago
dailer cf153e8558 update readme.md 10 months ago
Kevin.King-王凯壮 42eea2a91a REPORT-97526 feat:给带搜索的多选多层级树增加searcherPaneAutoShrink,searcherPaneIsSelectedAny字段 10 months ago
dailer 1c1da18296 Merge branch 'master' of ssh://code.fineres.com:7999/~dailer/fineui 10 months ago
dailer e65cdf7d77 无JIRA 自定义less变量支持 10 months ago
dailer 1102e4c571 BI-128437 提交Final fix: 【来源PT项目】BI绑定参数文本下拉问题 10 months ago
superman c5a4d9ce75 Merge pull request #241402 in DEC/fineui from master to feature/x 10 months ago
Dailer-刘荣歆 6b00a11cac Pull request #3609: BI-129683 fix: 【6.0.12发散】文本下拉过滤组件绑定参数全选之后,全选按钮为半选导致取消勾选全选不能生效 10 months ago
dailer f64efbdc30 BI-129683 fix: 【6.0.12发散】文本下拉过滤组件绑定参数全选之后,全选按钮为半选导致取消勾选全选不能生效 10 months ago
superman 5f963c9699 Merge pull request #241057 in DEC/fineui from master to feature/x 10 months ago
Dailer-刘荣歆 f8bf8e943a Pull request #3608: update shouldUpdate的类型写错了 10 months ago
dailer ffb93f5dc1 Merge branch 'master' of ssh://code.fineres.com:7999/~dailer/fineui 10 months ago
dailer 980c8684e8 update shouldUpdate的类型写错了 10 months ago
superman 7412fb1479 Merge pull request #240817 in DEC/fineui from bugfix/11.0 to feature/x 10 months ago
superman dbd1b6de88 Merge pull request #240816 in DEC/fineui from release/11.0 to bugfix/11.0 10 months ago
superman 90275d679c Merge pull request #240660 in DEC/fineui from release/11.0 to feature/x 10 months ago
superman e33535048e Merge pull request #240659 in DEC/fineui from final/11.0 to release/11.0 10 months ago
Jimmy.Chai-柴嘉明 b524669327 Pull request #240420: BI-128881 fix: 深色主题无更多数据这几个字没有显示出来 10 months ago
superman cc9576f3f7 Merge pull request #240425 in DEC/fineui from master to feature/x 10 months ago
jimmychai 3fdcc379fa BI-128881 fix: 深色主题无更多数据这几个字没有显示出来 10 months ago
Dailer-刘荣歆 3243c03144 Pull request #3606: BI-128437 fix: 【来源PT项目】BI绑定参数文本下拉问题 11 months ago
dailer ac0912dd4c update 11 months ago
dailer 6e562ece5a 无JIRA 添加EVENT_AFTER_HIDEVIEW 事件 11 months ago
Anny-曾佳 407d168990 Pull request #3604: KERNEL-14848 feat: VirtualGroupList组件新增getNodeByValue方法 11 months ago
dailer 3393a4d783 Merge branch 'master' of ssh://code.fineres.com:7999/~dailer/fineui 11 months ago
dailer 00b8eb7be8 BI-128437 fix: 【来源PT项目】BI绑定参数文本下拉问题 11 months ago
superman 1f8910d413 Merge pull request #240400 in DEC/fineui from bugfix/11.0 to feature/x 11 months ago
superman f02d2de721 Merge pull request #240399 in DEC/fineui from release/11.0 to bugfix/11.0 11 months ago
superman c39c18432d Merge pull request #240396 in DEC/fineui from master to feature/x 11 months ago
Dailer-刘荣歆 a5c60b56cb Pull request #3605: 无jira 改为 console.error 11 months ago
dailer fe63d72e47 无jira 改为 console.error 11 months ago
Anny 5acdba1e5b KERNEL-14848 feat: VirtualGroupList组件新增getNodeByValue方法 11 months ago
superman af511f7767 Merge pull request #240371 in DEC/fineui from release/11.0 to feature/x 11 months ago
superman 75fede25f5 Merge pull request #240370 in DEC/fineui from final/11.0 to release/11.0 11 months ago
superman b9c0214065 Merge pull request #240369 in DEC/fineui from persist/11.0 to final/11.0 11 months ago
superman d65dc75b1e Merge pull request #240364 in DEC/fineui from final/11.0 to persist/11.0 11 months ago
superman 5d995e001f Merge pull request #240323 in DEC/fineui from master to feature/x 11 months ago
Claire.Tang-唐锦霞 48f25bb60c Pull request #3603: JSY-30724 feat:区间滑块支持自定义编辑框的宽度 11 months ago
Claire c8daadffe3 JSY-30724 feat:区间滑块支持自定义编辑框的宽度 11 months ago
Claire 203b51bc19 Merge branch 'master' of ssh://code.fineres.com:7999/~claire.tang/fineui 11 months ago
Claire f381df071c JSY-30724 feat:区间滑块支持自定义编辑框的宽度 11 months ago
superman c929ea9fe3 Merge pull request #240271 in DEC/fineui from master to feature/x 11 months ago
Dailer-刘荣歆 2e64d467c4 Pull request #3602: 无JIRA fix: 吸取经验,防止别人乱改塞undefined之类的,加个判断 11 months ago
dailer 40f90200c9 无JIRA fix: 吸取经验,防止别人乱改塞undefined之类的,加个判断 11 months ago
superman d5fea8c821 Pull request #240078: 无jira任务, bugfix/11.0 合 feature/x 11 months ago
Dailer-刘荣歆 e53a8db842 Pull request #240074: 无内容 解决冲突 11 months ago
superman 58f7c23b9d Merge pull request #240077 in DEC/fineui from release/11.0 to bugfix/11.0 11 months ago
dailer 4981ef2279 Merge branch 'release/11.0' into feature/x 11 months ago
superman 9a0a43d7d0 Merge pull request #240072 in DEC/fineui from final/11.0 to release/11.0 11 months ago
Dailer-刘荣歆 26de2e9e21 Pull request #239894: BI-128988 fix: 【来源PT项目】文本过滤组件文本列表勾选状态异常 - 提交final 11 months ago
dailer aa987b66da BI-128988 fix: 【来源PT项目】文本过滤组件文本列表勾选状态异常 - 提交final 11 months ago
superman 19b86ae26f Merge pull request #239601 in DEC/fineui from master to feature/x 11 months ago
Xavier.Meng-孟宇翔 d2903bddb3 Pull request #3600: 无jira perf: 补充类型 11 months ago
Xavier.Meng d9f2674513 无jira perf: 补充类型 11 months ago
superman 4578b56994 Merge pull request #239429 in DEC/fineui from bugfix/11.0 to feature/x 11 months ago
superman 53bafc815b Merge pull request #239428 in DEC/fineui from release/11.0 to bugfix/11.0 11 months ago
superman cbdc43dcee Merge pull request #239288 in DEC/fineui from release/11.0 to feature/x 11 months ago
superman a2d5c34f87 Merge pull request #239287 in DEC/fineui from final/11.0 to release/11.0 11 months ago
superman 0b3c18f4d8 Merge pull request #239285 in DEC/fineui from release/11.0 to final/11.0 11 months ago
superman c605cfd590 Merge pull request #239236 in DEC/fineui from master to feature/x 11 months ago
Xavier.Meng-孟宇翔 c9af3f9333 Pull request #3598: 无jira perf: 补充类型 11 months ago
Xavier.Meng 60275f790e 无jira perf: 补充类型 11 months ago
superman 73932b3f57 Merge pull request #239192 in DEC/fineui from master to feature/x 11 months ago
Dailer-刘荣歆 da60173b2e Pull request #3596: BI-128988 fix: 【来源PT项目】文本过滤组件文本列表勾选状态异常 11 months ago
dailer 97366af146 Merge branch 'release/11.0' of https://code.fineres.com/scm/~dailer/fineui-decision 11 months ago
dailer 3499cc6034 BI-128988 fix: 【来源PT项目】文本过滤组件文本列表勾选状态异常 11 months ago
superman 42cb7d26c7 Merge pull request #239168 in DEC/fineui from bugfix/11.0 to feature/x 11 months ago
superman 887e580567 Merge pull request #239167 in DEC/fineui from release/11.0 to bugfix/11.0 11 months ago
superman 64cc015ed5 Merge pull request #239051 in DEC/fineui from release/11.0 to feature/x 11 months ago
superman 30d8f20008 Merge pull request #239050 in DEC/fineui from final/11.0 to release/11.0 11 months ago
Dailer-刘荣歆 3e1ec87e1f Pull request #239048: 无JIRA update font 11 months ago
dailer a36764d096 无JIRA update font 11 months ago
superman 16334f5f75 Pull request #239037: 无jira任务, master 合 feature/x 11 months ago
Dailer-刘荣歆 1f0f99debc Pull request #239043: Feature/x 11 months ago
dailer 1681102195 Merge branch 'master' into feature/x 11 months ago
Dailer-刘荣歆 47c7f69c7c Pull request #3595: update 类型定义 11 months ago
dailer 01d67a26a3 update 11 months ago
superman abc68406ec Merge pull request #239041 in DEC/fineui from bugfix/11.0 to feature/x 11 months ago
superman 0f6181f3a9 Merge pull request #239040 in DEC/fineui from release/11.0 to bugfix/11.0 11 months ago
dailer be369f44e1 Merge branch 'feature/x' 11 months ago
superman 53f1f01de6 Merge pull request #239036 in DEC/fineui from release/11.0 to feature/x 11 months ago
superman 7f56c66ce4 Merge pull request #239035 in DEC/fineui from final/11.0 to release/11.0 11 months ago
Dailer-刘荣歆 b091ebd101 Pull request #239033: BI-128856 fix: 【6.0.11.1final】仪表板编辑界面,复合过滤组件设置过滤不能实时生效 11 months ago
Dailer-刘荣歆 fdc90c7e00 BI-128856 fix: 【6.0.11.1final】仪表板编辑界面,复合过滤组件设置过滤不能实时生效 11 months ago
superman f300daedc3 Merge pull request #239028 in DEC/fineui from bugfix/11.0 to feature/x 11 months ago
superman ad754b5820 Merge pull request #239027 in DEC/fineui from release/11.0 to bugfix/11.0 11 months ago
superman 7e911a3a8a Merge pull request #239026 in DEC/fineui from final/11.0 to release/11.0 11 months ago
superman c7d899ebce Merge pull request #239025 in DEC/fineui from persist/11.0 to final/11.0 11 months ago
superman 8dc00628b0 Merge pull request #239024 in DEC/fineui from bugfix/11.0 to feature/x 11 months ago
superman d2f2f3a7f9 Merge pull request #239023 in DEC/fineui from bugfix/11.0 to release/11.0 11 months ago
superman d6384b540a Merge pull request #239022 in DEC/fineui from feature/x to bugfix/11.0 11 months ago
Dailer-刘荣歆 1f204c67aa Pull request #3591: es6合主线了 11 months ago
dailer 8e266abf53 Merge branch 'master' of ssh://code.fineres.com:7999/~dailer/fineui 11 months ago
dailer bc51f2eda3 update 11 months ago
dailer a122490af8 REPORT-97636 fix: 修改popover取消按钮样式、增加按钮高度可配 11 months ago
data 4cb2041e34 auto upgrade version to 2.0.20230620135400 11 months ago
dailer 430ea2fb55 Merge branch 'master' of ssh://code.fineres.com:7999/~dailer/fineui 11 months ago
dailer a1db4734ff update 11 months ago
Dailer-刘荣歆 b90b812c4d Pull request #3589: update isSupportSticky() 11 months ago
data 2e77dfff9d auto upgrade version to 2.0.20230620105620 11 months ago
Aeolus.Zhang-张敬峥 88011c27bc Merge pull request #3590 in VISUAL/fineui from DEC/fineui:release/11.0 to master 11 months ago
Austin.Duan-段嗣跃 768c465b9d Pull request #239021: REPORT-97636 fix: 修改popover取消按钮样式、增加按钮高度可配 11 months ago
dailer 64c40e690a Merge branch 'master' into es6 11 months ago
dailer c5a983481c update isSupportSticky() 11 months ago
dailer ebaa2fdf09 update 11 months ago
dailer ec33207263 Merge branch 'master' into es6 11 months ago
Austin.Duan 7730dce67f REPORT-97636 fix: 修改popover取消按钮样式、增加按钮高度可配 11 months ago
superman 0fefab4a81 Merge pull request #239019 in DEC/fineui from final/11.0 to persist/11.0 11 months ago
data cb0e72f87e auto upgrade version to 2.0.20230607090643 12 months ago
guy-王川 7420b35c07 Pull request #3577: 无JIRA任务 chore 12 months ago
guy 3bd163e762 无JIRA任务 chore 12 months ago
superman d250b813d4 Merge pull request #239008 in DEC/fineui from bugfix/11.0 to feature/x 12 months ago
superman f8bced89d0 Merge pull request #239007 in DEC/fineui from release/11.0 to bugfix/11.0 12 months ago
superman fe88a7690e Merge pull request #239006 in DEC/fineui from final/11.0 to release/11.0 12 months ago
superman 1f05d11715 Merge pull request #239004 in DEC/fineui from release/11.0 to final/11.0 12 months ago
superman 2cf518a2ca Merge pull request #238997 in DEC/fineui from bugfix/11.0 to feature/x 12 months ago
superman e2b04d0dbd Merge pull request #238996 in DEC/fineui from release/11.0 to bugfix/11.0 12 months ago
superman d6cf4edd01 Merge pull request #238976 in DEC/fineui from bugfix/11.0 to feature/x 12 months ago
superman 9e87c816a7 Merge pull request #238975 in DEC/fineui from release/11.0 to bugfix/11.0 12 months ago
  1. 18
      README
  2. 11
      package.json
  3. 2
      packages/fineui/bi.lessconfig.json
  4. BIN
      packages/fineui/dist/font/iconfont.eot
  5. 380
      packages/fineui/dist/font/iconfont.svg
  6. BIN
      packages/fineui/dist/font/iconfont.ttf
  7. BIN
      packages/fineui/dist/font/iconfont.woff
  8. BIN
      packages/fineui/dist/font/iconfont.woff2
  9. 0
      packages/fineui/jsy.lessconfig.json
  10. 7
      packages/fineui/package.json
  11. 16
      packages/fineui/src/base/1.pane.js
  12. 6
      packages/fineui/src/base/collection/collection.js
  13. 14
      packages/fineui/src/base/combination/bubble.js
  14. 4
      packages/fineui/src/base/combination/expander.js
  15. 4
      packages/fineui/src/base/combination/group.button.js
  16. 6
      packages/fineui/src/base/combination/group.virtual.js
  17. 8
      packages/fineui/src/base/combination/loader.js
  18. 2
      packages/fineui/src/base/combination/navigation.js
  19. 2
      packages/fineui/src/base/combination/searcher.js
  20. 2
      packages/fineui/src/base/combination/switcher.js
  21. 6
      packages/fineui/src/base/combination/tab.js
  22. 487
      packages/fineui/src/base/foundation/message.js
  23. 1
      packages/fineui/src/base/index.js
  24. 122
      packages/fineui/src/base/layer/layer.popover.js
  25. 5
      packages/fineui/src/base/list/listview.js
  26. 36
      packages/fineui/src/base/list/virtualgrouplist.js
  27. 2
      packages/fineui/src/base/single/0.single.js
  28. 3
      packages/fineui/src/base/single/button/button.basic.js
  29. 1
      packages/fineui/src/base/single/button/listitem/icontextitem.js
  30. 2
      packages/fineui/src/base/single/editor/editor.textarea.js
  31. 2
      packages/fineui/src/base/single/input/checkbox/checkbox.js
  32. 11
      packages/fineui/src/base/single/input/file.js
  33. 4
      packages/fineui/src/base/single/input/input.js
  34. 2
      packages/fineui/src/base/single/input/radio/radio.image.js
  35. 2
      packages/fineui/src/base/single/input/radio/radio.js
  36. 6
      packages/fineui/src/base/tree/customtree.js
  37. 7
      packages/fineui/src/bundle.js
  38. 2
      packages/fineui/src/case/button/item.multiselect.js
  39. 26
      packages/fineui/src/case/button/switch.js
  40. 3
      packages/fineui/src/case/button/treeitem/item.icon.treeleaf.js
  41. 100
      packages/fineui/src/case/button/treeitem/item.multilayer.icon.treeleaf.js
  42. 8
      packages/fineui/src/case/button/treeitem/treeitem.js
  43. 3
      packages/fineui/src/case/colorchooser/colorchooser.js
  44. 18
      packages/fineui/src/case/colorchooser/colorchooser.popup.hex.js
  45. 3
      packages/fineui/src/case/colorchooser/colorchooser.trigger.long.js
  46. 49
      packages/fineui/src/case/colorchooser/colorpicker/editor.colorpicker.hex.js
  47. 6
      packages/fineui/src/case/colorchooser/colorpicker/editor.colorpicker.hex.simple.js
  48. 1
      packages/fineui/src/case/combo/bubblecombo/combo.bubble.js
  49. 30
      packages/fineui/src/case/combo/bubblecombo/popup.bubble.js
  50. 5
      packages/fineui/src/case/combo/textvaluecombo/combo.textvalue.js
  51. 8
      packages/fineui/src/case/list/list.select.js
  52. 53
      packages/fineui/src/case/pager/pager.direction.js
  53. 43
      packages/fineui/src/case/ztree/asynctree.js
  54. 4
      packages/fineui/src/case/ztree/list/listasynctree.js
  55. 4
      packages/fineui/src/case/ztree/list/listparttree.js
  56. 2
      packages/fineui/src/case/ztree/list/listtreeview.js
  57. 15
      packages/fineui/src/case/ztree/parttree.js
  58. 4
      packages/fineui/src/case/ztree/tree.list.display.js
  59. 2
      packages/fineui/src/component/form/form.field.js
  60. 34
      packages/fineui/src/component/treevaluechooser/abstract.treevaluechooser.js
  61. 25
      packages/fineui/src/component/treevaluechooser/abstract.treevaluechooser.list.js
  62. 11
      packages/fineui/src/component/treevaluechooser/pane.treevaluechooser.js
  63. 25
      packages/fineui/src/core/1.lodash.js
  64. 15
      packages/fineui/src/core/2.base.js
  65. 2
      packages/fineui/src/core/3.ob.js
  66. 33
      packages/fineui/src/core/4.widget.js
  67. 9
      packages/fineui/src/core/5.inject.js
  68. 115
      packages/fineui/src/core/constant/writable.var.js
  69. 17
      packages/fineui/src/core/controller/controller.layer.js
  70. 2
      packages/fineui/src/core/controller/controller.masker.js
  71. 29
      packages/fineui/src/core/controller/controller.popover.js
  72. 132
      packages/fineui/src/core/element/element.js
  73. 2
      packages/fineui/src/core/func/alias.js
  74. 22
      packages/fineui/src/core/func/date.js
  75. 2
      packages/fineui/src/core/loader/loader.style.js
  76. 47
      packages/fineui/src/core/platform/web/config.js
  77. 4
      packages/fineui/src/core/platform/web/detectElementResize.js
  78. 96
      packages/fineui/src/core/platform/web/jquery/jquery.polyfill.js
  79. 19
      packages/fineui/src/core/platform/web/load.js
  80. 2
      packages/fineui/src/core/structure/cache.js
  81. 2
      packages/fineui/src/core/utils/color.js
  82. 36
      packages/fineui/src/core/utils/dom.js
  83. 6
      packages/fineui/src/core/utils/index.js
  84. 6
      packages/fineui/src/core/wrapper/layout/flex/flex.horizontal.js
  85. 7
      packages/fineui/src/core/wrapper/layout/layout.card.js
  86. 6
      packages/fineui/src/core/wrapper/layout/layout.table.js
  87. 50
      packages/fineui/src/fix/fix.compact.js
  88. 791
      packages/fineui/src/fix/fix.js
  89. 2
      packages/fineui/src/index.js
  90. 116
      packages/fineui/src/less/base/single/button/button.less
  91. 3
      packages/fineui/src/less/base/single/input/radio.less
  92. 4
      packages/fineui/src/less/base/tree/ztree.less
  93. 81
      packages/fineui/src/less/core/utils/common.less
  94. 19
      packages/fineui/src/less/core/utils/list-item.less
  95. 2
      packages/fineui/src/less/lib/colors.less
  96. 2
      packages/fineui/src/less/lib/constant.less
  97. 5
      packages/fineui/src/less/lib/font.less
  98. 18
      packages/fineui/src/less/resource/app.less
  99. 5
      packages/fineui/src/less/resource/font.less
  100. 2
      packages/fineui/src/less/visual.less
  101. Some files were not shown because too many files have changed in this diff Show More

18
README

@ -13,14 +13,24 @@ http://fanruan.design/doc.html?post=0169cf558d
## 开发
pnpm run dev
`pnpm run dev`
* demo: [http://localhost:3000/](http://localhost:3000/)
* demo: [http://localhost:3000/](http://localhost:3000/)
* fineui: [http://localhost:9001/fineui.js](http://localhost:9001/fineui.js)
## 构建
pnpm run build
`pnpm run build`
## 自定义less变量构建
```
cross-env LESS_CONFIG_PATH=your_less_config.json && pnpm build
```
## 构建自定义的css
```
cross-env LESS_CONFIG_PATH=your_less_config.json LESS_FILE_NAME=your_file_name pnpm --filter @fui/core webpack:css
```
## 发布
@ -28,4 +38,4 @@ pnpm run build
License
============
Please refer to [LICENSE](https://code.fanruan.com/fanruan/fineui/src/branch/master/LICENSE) file.
Please refer to [LICENSE](https://code.fanruan.com/fanruan/fineui/src/branch/master/LICENSE) file.

11
package.json

@ -23,13 +23,17 @@
"@babel/core": "^7.21.0",
"@babel/runtime": "^7.21.0",
"@fui/babel-preset-fineui": "^3.0.1",
"@fui/eslint-plugin": "^1.1.0",
"@types/node": "^18.15.11",
"@typescript-eslint/eslint-plugin": "^5.60.0",
"@typescript-eslint/parser": "^5.60.0",
"autoprefixer": "^10.4.14",
"babel-loader": "^9.1.2",
"babel-plugin-module-resolver": "^5.0.0",
"circular-dependency-plugin": "^5.2.2",
"css-loader": "^6.7.3",
"css-minimizer-webpack-plugin": "^5.0.0",
"eslint": "^8.43.0",
"fork-ts-checker-webpack-plugin": "^8.0.0",
"glob": "^9.3.4",
"html-webpack-plugin": "^5.5.0",
@ -39,14 +43,15 @@
"npm-run-all": "^4.1.5",
"postcss": "^8.4.21",
"postcss-loader": "^7.1.0",
"prettier": "^3.0.0",
"style-loader": "^3.3.1",
"terser-webpack-plugin": "^5.3.7",
"ts-node": "^10.9.1",
"typescript": "^4.9.5",
"webpack": "^5.75.0",
"webpack-bundle-analyzer": "^4.8.0",
"webpack-cli": "^5.0.1",
"webpack-dev-server": "^4.11.1",
"webpack-merge": "^5.8.0"
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^4.15.1",
"webpack-merge": "^5.9.0"
}
}

2
packages/fineui/lessconfig/bi.lessconfig.json → packages/fineui/bi.lessconfig.json

@ -28,7 +28,7 @@
"@color-bi-background-disabled-active-radio-content": "#FFFFFF",
"@color-bi-background-disabled-active-radio-content-theme-dark": "#606479",
"@color-bi-background-disabled-active-checkbox-content": "#FFFFFF",
"@color-bi-background-disabled-active-checkbox-content-theme-dark": "#606479",
"@color-bi-background-disabled-active-checkbox-content-theme-dark": "rgba(255, 255, 255, 0.24)",
"@color-bi-background-tooltip-success": "#3F506A",
"@color-bi-background-tooltip-failure": "#E65251",
"@color-bi-border-tooltip-success": "#2E3A4D",

BIN
packages/fineui/dist/font/iconfont.eot vendored

Binary file not shown.

380
packages/fineui/dist/font/iconfont.svg vendored

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 898 KiB

After

Width:  |  Height:  |  Size: 1.0 MiB

BIN
packages/fineui/dist/font/iconfont.ttf vendored

Binary file not shown.

BIN
packages/fineui/dist/font/iconfont.woff vendored

Binary file not shown.

BIN
packages/fineui/dist/font/iconfont.woff2 vendored

Binary file not shown.

0
packages/fineui/lessconfig/jsy.lessconfig.json → packages/fineui/jsy.lessconfig.json

7
packages/fineui/package.json

@ -1,6 +1,6 @@
{
"name": "@fui/core",
"version": "3.0.20230615140705",
"version": "3.0.20231204103846",
"description": "fineui",
"main": "dist/fineui.min.js",
"module": "dist/lib/index.js",
@ -23,11 +23,14 @@
"dev:fineui": "webpack-dev-server --progress --config=webpack/webpack.dev.js",
"build": "tsc && run-p build:*",
"build:es": "babel src -d dist/lib --config-file ./esm.babel.js",
"webpack:css": "webpack --progress --config=webpack/webpack.css.js --mode production",
"build:fineui": "webpack --progress --config=webpack/webpack.prod.js",
"prepublishToPrivate": "npm run build && node ./lib/prepublish.js",
"publishToPrivate": "npm publish",
"tsc": "tsc",
"link": "pnpm link --global"
"link": "pnpm link --global",
"build:biCss": "cross-env LESS_CONFIG_PATH=bi.lessconfig.json LESS_FILE_NAME=bi npm run webpack:css",
"build:jsyCss": "cross-env LESS_CONFIG_PATH=jsy.lessconfig.json LESS_FILE_NAME=jsy npm run webpack:css"
},
"files": [
"dist",

16
packages/fineui/src/base/1.pane.js

@ -111,11 +111,11 @@ export class Pane extends Widget {
}
];
isNotEmptyString(o.loadingText) &&
loadingTipItems.push({
type: Text.xtype,
text: o.loadingText,
tgap: this._getSize(10),
});
loadingTipItems.push({
type: Text.xtype,
text: o.loadingText,
tgap: this._getSize(10),
});
return [
{
@ -158,4 +158,10 @@ export class Pane extends Widget {
this.options.items = items || [];
this.check();
}
destroyed() {
super.destroyed?.();
Layers.remove(`${this.getName()}-loading`);
this._loading?.destroy();
}
}

6
packages/fineui/src/base/collection/collection.js

@ -124,6 +124,12 @@ export class CollectionView extends Widget {
this.element.scrollLeft(scrollLeft);
}
}
destroyed() {
each(this.renderedCells, (i, cell) => {
cell.el._destroy();
});
}
_calculateSizeAndPositionData() {
const { items, cellSizeAndPositionGetter } = this.options;

14
packages/fineui/src/base/combination/bubble.js

@ -72,6 +72,7 @@ export class Bubble extends Widget {
popup: {},
comboClass: "bi-combo-popup",
hoverClass: "bi-combo-hover",
extraModifiers: []
});
}
@ -410,7 +411,16 @@ export class Bubble extends Widget {
}
_popupView(e) {
const { adjustXOffset, showArrow, adjustYOffset, adjustLength, placement, hideWhenClickOutside, hideWhenBlur } =
const {
adjustXOffset,
showArrow,
adjustYOffset,
adjustLength,
placement,
hideWhenClickOutside,
hideWhenBlur,
extraModifiers
} =
this.options;
this._assertPopupViewRender();
this.fireEvent(Bubble.EVENT_BEFORE_POPUPVIEW);
@ -429,6 +439,7 @@ export class Bubble extends Widget {
offset: () => [adjustXOffset, (showArrow ? 12 : 0) + (adjustYOffset + adjustLength)],
},
},
...extraModifiers
];
if (this.options.showArrow) {
modifiers.push({
@ -520,6 +531,7 @@ export class Bubble extends Widget {
this.combo.setValue(v);
if (isNull(this.popupView)) {
this.options.popup.value = v;
!isNull(this.options.popup.el) && (this.options.popup.el.value = v);
} else {
this.popupView.setValue(v);
}

4
packages/fineui/src/base/combination/expander.js

@ -276,7 +276,7 @@ export class Expander extends Widget {
}
_setEnable(arg) {
super._setEnable(arguments);
super._setEnable(...arguments);
!arg && this.element.removeClass(this.options.hoverClass);
!arg && this.isViewVisible() && this._hideView();
}
@ -341,6 +341,6 @@ export class Expander extends Widget {
}
destroy() {
super.destroy(arguments);
super.destroy(...arguments);
}
}

4
packages/fineui/src/base/combination/group.button.js

@ -418,12 +418,12 @@ export class ButtonGroup extends Widget {
}
empty() {
super.empty(arguments);
super.empty(...arguments);
this.options.items = [];
}
destroy() {
super.destroy(arguments);
super.destroy(...arguments);
this.options.items = [];
}
}

6
packages/fineui/src/base/combination/group.virtual.js

@ -56,7 +56,7 @@ export class VirtualGroup extends Widget {
_packageBtns(items) {
const o = this.options;
const map = (this.buttonMap = {});
const btMap = (this.buttonMap = {});
const layouts = isArray(o.layouts) ? o.layouts : [o.layouts];
for (let i = layouts.length - 1; i > 0; i--) {
items = map(items, (k, it) => {
@ -68,8 +68,8 @@ export class VirtualGroup extends Widget {
el: extend(
{
ref: _ref => {
if (isKey(map[el.value])) {
map[el.value] = _ref;
if (isKey(el.value)) {
btMap[el.value] = _ref;
}
},
},

8
packages/fineui/src/base/combination/loader.js

@ -181,7 +181,7 @@ export class Loader extends Widget {
isEmpty(optionsItems) &&
nextTick(
bind(() => {
isDefaultInit && isEmpty(optionsItems) && this._populate();
isDefaultInit && isEmpty(this.options.items) && this._populate();
}, this)
);
const items = isFunction(optionsItems)
@ -204,7 +204,7 @@ export class Loader extends Widget {
{
times: this.times,
count: this.count,
}
}, this.options
]);
}
@ -218,7 +218,7 @@ export class Loader extends Widget {
{
times: this.times,
count: this.count,
}
}, this.options
]);
}
@ -342,6 +342,6 @@ export class Loader extends Widget {
}
destroy() {
super.destroy(arguments);
super.destroy(...arguments);
}
}

2
packages/fineui/src/base/combination/navigation.js

@ -191,6 +191,6 @@ export class Navigation extends Widget {
}
destroy() {
super.destroy(arguments);
super.destroy(...arguments);
}
}

2
packages/fineui/src/base/combination/searcher.js

@ -134,7 +134,7 @@ export class Searcher extends Widget {
this.popupView = createWidget(popup, {
type: SearcherView.xtype,
chooseType,
});
}, this);
this.popupView.on(Controller.EVENT_CHANGE, (type, value, obj, ...args) => {
this.fireEvent(Controller.EVENT_CHANGE, type, value, obj, ...args);
if (type === Events.CLICK) {

2
packages/fineui/src/base/combination/switcher.js

@ -263,7 +263,7 @@ export class Switcher extends Widget {
}
_setEnable(arg) {
super._setEnable(arguments);
super._setEnable(...arguments);
!arg && this.isViewVisible() && this._hideView();
}

6
packages/fineui/src/base/combination/tab.js

@ -158,6 +158,10 @@ export class Tab extends Widget {
return this.layout.isCardExisted(cardName);
}
getAllCardIds() {
return Object.keys(this.cardMap);
}
getSelect() {
return this.curr;
}
@ -200,6 +204,6 @@ export class Tab extends Widget {
destroy() {
this.cardMap = {};
super.destroy(arguments);
super.destroy(...arguments);
}
}

487
packages/fineui/src/base/foundation/message.js

@ -3,248 +3,287 @@
* 弹出提示消息框用于模拟阻塞操作通过回调函数实现
* @class Msg
*/
import { Widget, isString, isNull, isFunction, createWidget, remove, each, emptyFn, delay, zIndex_tip, i18nText, KeyCode, isPlainObject, SIZE_CONSANTS } from "../../core";
import { Toast } from "../single";
import {
Widget,
isString,
isNull,
isFunction,
createWidget,
remove,
each,
emptyFn,
delay,
zIndex_tip,
i18nText,
KeyCode,
isPlainObject,
SIZE_CONSANTS,
CenterAdaptLayout,
VerticalLayout,
HTapeLayout,
RightVerticalAdaptLayout
} from "../../core";
import { Button, IconLabel, Label, Toast } from "../single";
export const Msg = (() => {
let $mask, $pop;
let $mask, $pop;
const messageShows = [];
const messageShows = [];
const toastStack = [];
const toastStack = [];
return {
alert (title, message, callback) {
this._show(false, title, message, callback);
},
confirm (title, message, callback) {
this._show(true, title, message, callback);
},
prompt (title, message, value, callback, min_width) {
// Msg.prompt(title, message, value, callback, min_width);
},
toast (message, options, context) {
isString(options) && (options = { level: options });
options = options || {};
context = context || Widget._renderEngine.createElement("body");
const level = options.level || "common";
const autoClose = isNull(options.autoClose) ? true : options.autoClose;
const callback = isFunction(options.callback) ? options.callback : emptyFn;
const toast = createWidget({
type: "bi.toast",
cls: "bi-message-animate bi-message-leave",
level,
autoClose,
closable: options.closable,
text: message,
listeners: [
{
eventName: Toast.EVENT_DESTORY,
action () {
remove(toastStack, toast.element);
let _height = SIZE_CONSANTS.TOAST_TOP;
each(toastStack, (i, element) => {
element.css({ top: _height });
_height += element.outerHeight() + 10;
});
callback();
},
}
],
});
let height = SIZE_CONSANTS.TOAST_TOP;
each(toastStack, (i, element) => {
height += element.outerHeight() + 10;
});
createWidget({
type: "bi.absolute",
element: context,
items: [
{
el: toast,
left: "50%",
top: height,
}
],
});
toastStack.push(toast.element);
toast.element.css({ "margin-left": (-1 * toast.element.outerWidth()) / 2 });
toast.element.removeClass("bi-message-leave").addClass("bi-message-enter");
const AlertLevel = {
WARNING: 'warning',
INFO: 'info',
ERROR: 'error',
SUCCESS: 'success',
}
autoClose &&
delay(() => {
toast.element.removeClass("bi-message-enter").addClass("bi-message-leave");
toast.destroy?.();
}, 5000);
function getIconCls(level) {
switch (level) {
case AlertLevel.ERROR:
return 'alert-error-font';
case AlertLevel.SUCCESS:
return 'alert-success-font';
case AlertLevel.INFO:
return 'alert-info-font';
case AlertLevel.WARNING:
default:
return 'alert-warning-font';
}
}
return function () {
toast.element.removeClass("bi-message-enter").addClass("bi-message-leave");
toast.destroy?.();
};
},
_show (hasCancel, title, message, callback) {
isNull($mask) &&
($mask = Widget._renderEngine
.createElement("<div class=\"bi-z-index-mask\">")
.css({
position: "absolute",
zIndex: zIndex_tip - 2,
top: 0,
left: 0,
right: 0,
bottom: 0,
opacity: 0.5,
})
.appendTo("body"));
$pop = Widget._renderEngine
.createElement("<div class=\"bi-message-depend\">")
.css({
position: "absolute",
zIndex: zIndex_tip - 1,
top: 0,
left: 0,
right: 0,
bottom: 0,
})
.appendTo("body");
function close() {
messageShows[messageShows.length - 1].destroy();
messageShows.pop();
if (messageShows.length === 0) {
$mask.remove();
$mask = null;
export const Msg = {
alert(title, message, callback, config) {
_show(false, title, message, callback, config);
},
confirm(title, message, callback, config) {
_show(true, title, message, callback, config);
},
toast(message, options, context) {
isString(options) && (options = { level: options });
options = options || {};
context = context || Widget._renderEngine.createElement("body");
const level = options.level || "common";
const autoClose = isNull(options.autoClose) ? true : options.autoClose;
const callback = isFunction(options.callback) ? options.callback : emptyFn;
const toast = createWidget({
type: "bi.toast",
cls: "bi-message-animate bi-message-leave",
level,
autoClose,
closable: options.closable,
text: message,
listeners: [
{
eventName: Toast.EVENT_DESTORY,
action() {
remove(toastStack, toast.element);
let _height = SIZE_CONSANTS.TOAST_TOP;
each(toastStack, (i, element) => {
element.css({ top: _height });
_height += element.outerHeight() + 10;
});
callback();
},
}
],
});
let height = SIZE_CONSANTS.TOAST_TOP;
each(toastStack, (i, element) => {
height += element.outerHeight() + 10;
});
createWidget({
type: "bi.absolute",
element: context,
items: [
{
el: toast,
left: "50%",
top: height,
}
],
});
toastStack.push(toast.element);
toast.element.css({ "margin-left": (-1 * toast.element.outerWidth()) / 2 });
toast.element.removeClass("bi-message-leave").addClass("bi-message-enter");
autoClose &&
delay(() => {
toast.element.removeClass("bi-message-enter").addClass("bi-message-leave");
toast.destroy?.();
}, 5000);
return function() {
toast.element.removeClass("bi-message-enter").addClass("bi-message-leave");
toast.destroy?.();
};
},
};
function _show(hasCancel, title, message, callback, config = {}) {
config = {
buttonHeight: 28,
cancelText: i18nText("BI-Basic_Cancel"),
sureText: i18nText("BI-Basic_OK"),
level: AlertLevel.WARNING,
...config,
}
isNull($mask) &&
($mask = Widget._renderEngine
.createElement("<div class=\"bi-z-index-mask\">")
.css({
position: "absolute",
zIndex: zIndex_tip - 2,
top: 0,
left: 0,
right: 0,
bottom: 0,
opacity: 0.5,
})
.appendTo("body"));
$pop = Widget._renderEngine
.createElement("<div class=\"bi-message-depend\">")
.css({
position: "absolute",
zIndex: zIndex_tip - 1,
top: 0,
left: 0,
right: 0,
bottom: 0,
})
.appendTo("body");
function close() {
messageShows[messageShows.length - 1].destroy();
messageShows.pop();
if (messageShows.length === 0) {
$mask.remove();
$mask = null;
}
}
const controlItems = [];
if (hasCancel === true) {
controlItems.push({
el: {
type: Button.xtype,
height: config.buttonHeight,
text: config.cancelText,
light: true,
handler() {
close();
if (isFunction(callback)) {
callback.apply(null, [false]);
}
},
},
});
}
controlItems.push({
el: {
type: Button.xtype,
height: config.buttonHeight,
text: config.sureText,
handler() {
close();
if (isFunction(callback)) {
callback.apply(null, [true]);
}
}
const controlItems = [];
if (hasCancel === true) {
controlItems.push({
el: {
type: "bi.button",
text: i18nText("BI-Basic_Cancel"),
level: "ignore",
handler () {
},
},
});
const conf = {
element: $pop,
type: CenterAdaptLayout.xtype,
items: [
{
type: VerticalLayout.xtype,
cls: "bi-card bi-border-radius",
width: 450,
css: {
'max-height': '100%'
},
hgap: 32,
attributes: {
tabIndex: 1,
},
mounted() {
this.element.keyup(e => {
if (e.keyCode === KeyCode.ENTER) {
close();
if (isFunction(callback)) {
callback.apply(null, [false]);
callback.apply(null, [true]);
}
} else if (e.keyCode === KeyCode.ESCAPE) {
close();
if (hasCancel === true) {
if (isFunction(callback)) {
callback.apply(null, [false]);
}
}
},
},
});
}
controlItems.push({
el: {
type: "bi.button",
text: i18nText("BI-Basic_OK"),
handler () {
close();
if (isFunction(callback)) {
callback.apply(null, [true]);
}
},
});
try {
this.element.focus();
} catch (e) {
}
},
});
const conf = {
element: $pop,
type: "bi.center_adapt",
items: [
{
type: "bi.border",
attributes: {
tabIndex: 1,
},
mounted () {
this.element.keyup(e => {
if (e.keyCode === KeyCode.ENTER) {
close();
if (isFunction(callback)) {
callback.apply(null, [true]);
}
} else if (e.keyCode === KeyCode.ESCAPE) {
close();
if (hasCancel === true) {
if (isFunction(callback)) {
callback.apply(null, [false]);
}
}
}
});
try {
this.element.focus();
} catch (e) {}
},
cls: "bi-card",
items: {
north: {
el: {
type: "bi.border",
cls: "bi-message-title bi-background",
items: {
center: {
el: {
type: "bi.label",
cls: "bi-font-bold",
text: title || i18nText("BI-Basic_Prompt"),
textAlign: "left",
hgap: 20,
height: 40,
},
},
east: {
el: {
type: "bi.icon_button",
cls: "bi-message-close close-font",
// height: 50,
handler () {
close();
if (isFunction(callback)) {
callback.apply(null, [false]);
}
},
},
width: 56,
},
},
el: {
type: HTapeLayout.xtype,
height: 24,
items: [
{
type: IconLabel.xtype,
cls: `${getIconCls(config.level)} icon-size-20`,
width: 24,
height: 24,
},
height: 40,
},
center: {
el: isPlainObject(message)
? message
: {
type: "bi.label",
vgap: 10,
hgap: 20,
whiteSpace: "normal",
text: message,
{
el: {
type: Label.xtype,
css: {"font-size": 16},
cls: 'bi-font-bold', // 16px
textAlign: 'left',
text: title || i18nText('BI-Basic_Prompt'),
lgap: 16,
},
},
south: {
el: {
type: "bi.absolute",
items: [
{
el: {
type: "bi.right_vertical_adapt",
lgap: 10,
items: controlItems,
},
top: 0,
left: 20,
right: 20,
bottom: 0,
}
],
width: 'fill',
},
height: 44,
],
},
tgap: 32,
},
{
el: isPlainObject(message)
? message
: {
type: Label.xtype,
css: { "font-size": 14 },
cls: 'alert-content',
textAlign: 'left',
text: message,
whiteSpace: 'normal',
},
height: 'fill',
tgap: 12,
lgap: 40,
},
{
el: config.footer && isFunction(config.footer) ? config.footer(close) : {
type: RightVerticalAdaptLayout.xtype,
lgap: 12,
items: controlItems,
},
width: 450,
height: 200,
}
tgap: 32,
bgap: 24,
},
],
};
messageShows[messageShows.length] = createWidget(conf);
},
},
],
};
})();
messageShows[messageShows.length] = createWidget(conf);
}

1
packages/fineui/src/base/index.js

@ -11,3 +11,4 @@ export * from "./layer";
export * from "./list";
export * from "./single";
export * from "./el";
export * from "./context";

122
packages/fineui/src/base/layer/layer.popover.js

@ -16,6 +16,7 @@ import {
} from "@/core";
import { Label, IconButton, Button } from "../single";
import { Resizers } from "../0.base";
import { getOuterBody } from "@/core/utils/dom";
/**
* Popover弹出层
@ -46,6 +47,7 @@ export class Popover extends Widget {
body: null,
footer: null,
footerHeight: 44,
footerButtonHeight: 28,
closable: true, // BI-40839 是否显示右上角的关闭按钮
bodyHgap: SIZE_CONSANTS.H_GAP_SIZE,
bodyTgap: SIZE_CONSANTS.V_GAP_SIZE,
@ -62,29 +64,7 @@ export class Popover extends Widget {
// var self = this;
const { header, headerHeight, closable, logic, footer, footerHeight, body, bodyTgap, bodyHgap } = this.options;
const c = this._constant;
this.startX = 0;
this.startY = 0;
const size = this._calculateSize();
this.tracker = new MouseMoveTracker(
(deltaX, deltaY) => {
const W = Widget._renderEngine.createElement("body").width();
const H = Widget._renderEngine.createElement("body").height();
this.startX += deltaX;
this.startY += deltaY;
this.element.css({
left: `${clamp(this.startX, 0, W - this.element.width())}px`,
top: `${clamp(this.startY, 0, H - this.element.height())}px`,
});
// BI-12134 没有什么特别好的方法
Resizers._resize({
target: this.element[0],
});
},
() => {
this.tracker.releaseMouseMoves();
},
_global
);
const items = [
{
el: {
@ -213,9 +193,33 @@ export class Popover extends Widget {
}
);
}
// mounted之后绑定事件
mounted() {
this.dragger.element.mousedown(e => {
this.startX = 0;
this.startY = 0;
this.tracker = new MouseMoveTracker(
(deltaX, deltaY) => {
const el = Widget._renderEngine.createElement(getOuterBody())[0];
const W = el.clientWidth;
const H = el.clientHeight;
this.startX += deltaX;
this.startY += deltaY;
this.element.css({
left: `${clamp(this.startX, 0, W - this.element.width())}px`,
top: `${clamp(this.startY, 0, H - this.element.height())}px`,
});
// BI-12134 没有什么特别好的方法
Resizers._resize({
target: this.element[0],
});
},
() => {
this.tracker.releaseMouseMoves();
},
_global
);
this.dragger?.element.mousedown(e => {
if (this.options.draggable !== false) {
this.startX = this.element[0].offsetLeft;
this.startY = this.element[0].offsetTop;
@ -226,23 +230,23 @@ export class Popover extends Widget {
_getSuitableBodyHeight(height) {
const { headerHeight, footer, footerHeight, bodyTgap } = this.options;
const bodyDom = getOuterBody();
return clamp(
height,
0,
Widget._renderEngine.createElement("body")[0].clientHeight -
headerHeight -
(footer ? footerHeight : 0) -
bodyTgap
Widget._renderEngine.createElement(bodyDom)[0].clientHeight -
headerHeight -
(footer ? footerHeight : 0) -
bodyTgap
);
}
_getSuitableHeight(height) {
return clamp(height, 0, Widget._renderEngine.createElement("body")[0].clientHeight);
return clamp(height, 0, Widget._renderEngine.createElement(getOuterBody())[0].clientHeight);
}
_getSuitableWidth(width) {
return clamp(width, 0, Widget._renderEngine.createElement("body").width());
return clamp(width, 0, Widget._renderEngine.createElement(getOuterBody())[0].clientWidth);
}
_calculateSize() {
@ -273,11 +277,13 @@ export class Popover extends Widget {
type: sizeValue.type || "default",
};
}
setDraggable(b) {
this.options.draggable = b;
}
hide() {}
hide() {
}
open() {
this.show();
@ -305,33 +311,35 @@ export class BarPopover extends Popover {
}
beforeCreate() {
const { footer, warningTitle } = this.options;
const { footer, warningTitle, footerButtonHeight } = this.options;
footer ||
(this.options.footer = {
type: RightVerticalAdaptLayout.xtype,
lgap: 10,
items: [
{
type: Button.xtype,
text: this.options.btns[1],
value: 1,
level: "ignore",
handler: v => {
this.fireEvent(Popover.EVENT_CANCEL, v);
this.close(v);
},
(this.options.footer = {
type: RightVerticalAdaptLayout.xtype,
lgap: 10,
items: [
{
type: Button.xtype,
height: footerButtonHeight,
text: this.options.btns[1],
value: 1,
light: true,
handler: v => {
this.fireEvent(Popover.EVENT_CANCEL, v);
this.close(v);
},
{
type: Button.xtype,
text: this.options.btns[0],
warningTitle,
value: 0,
handler: v => {
this.fireEvent(Popover.EVENT_CONFIRM, v);
this.close(v);
},
}
],
});
},
{
type: Button.xtype,
height: footerButtonHeight,
text: this.options.btns[0],
warningTitle,
value: 0,
handler: v => {
this.fireEvent(Popover.EVENT_CONFIRM, v);
this.close(v);
},
}
],
});
}
}

5
packages/fineui/src/base/list/listview.js

@ -111,11 +111,6 @@ export class ListView extends Widget {
}
}
_calculateBlocksToRender() {
// BI-115750 不可见状态下依赖元素实际尺寸构造的线段树会分段错误,所以不进行后续计算和线段树的初始化。
// 这样从不可见状态变为可见状态能够重新触发线段树初始化
if (!this.element.is(":visible")) {
return;
}
this._renderMoreIf();
}

36
packages/fineui/src/base/list/virtualgrouplist.js

@ -1,4 +1,4 @@
import { VerticalLayout, Layout, Widget, shortcut, extend, isFunction, isNumber, PrefixIntervalTree, ResizeDetector } from "@/core";
import { VerticalLayout, Layout, Widget, shortcut, extend, isFunction, isNumber, sum, PrefixIntervalTree, ResizeDetector } from "@/core";
import { VirtualGroup } from "../combination";
/**
@ -17,7 +17,7 @@ export class VirtualGroupList extends Widget {
overscanHeight: 100,
blockSize: 10,
scrollTop: 0,
rowHeight: "auto",
rowHeight: "auto", // 'auto' 或 数值 或function
items: [],
el: {},
itemFormatter: (item, index) => item,
@ -25,6 +25,7 @@ export class VirtualGroupList extends Widget {
}
init() {
this._calculateSummaryHeight();
this.renderedIndex = -1;
}
@ -44,7 +45,7 @@ export class VirtualGroupList extends Widget {
},
{
type: VirtualGroup.xtype,
height: rowHeight * items.length,
height: this.summaryHeight,
ref: (ref) => {
this.container = ref;
},
@ -97,7 +98,7 @@ export class VirtualGroupList extends Widget {
}
_isAutoHeight() {
return !isNumber(this.options.rowHeight);
return this.options.rowHeight === 'auto';
}
_renderMoreIf() {
@ -163,12 +164,22 @@ export class VirtualGroupList extends Widget {
itemsArr.push(items[j]);
}
}
this.container.element.height(rowHeight * items.length - topHeight);
this.container.element.height(this.summaryHeight - topHeight);
this.container.populate(
itemsArr.map((item, i) => itemFormatter(item, (start < 0 ? 0 : start) * blockSize + i))
);
}
}
_calculateSummaryHeight() {
const o = this.options;
if (isFunction(o.rowHeight)) {
this.summaryHeight = sum(o.items, o.rowHeight);
} else {
this.summaryHeight = this._isAutoHeight() ? 0 : o.rowHeight * o.items.length;
}
}
_populate(items) {
const { blockSize, rowHeight, scrollTop } = this.options;
if (items && this.options.items !== items) {
@ -180,6 +191,16 @@ export class VirtualGroupList extends Widget {
Math.ceil(this.options.items.length / blockSize),
this._isAutoHeight() ? 0 : rowHeight * blockSize
);
if (isFunction(rowHeight)) {
for (let i = 0; i < this.options.items.length / blockSize; i++) {
const index = i * blockSize;
let summaryHeight = 0;
for (let j = index; j < index + blockSize && j < this.options.items.length; j++) {
summaryHeight += rowHeight(j, this.options.items[j]);
}
this.tree.set(i, summaryHeight);
}
}
this._calculateBlocksToRender();
try {
@ -189,6 +210,7 @@ export class VirtualGroupList extends Widget {
_restore() {
this.renderedIndex = -1;
this._calculateSummaryHeight();
// 依赖于cache的占位元素也要初始化
this.topBlank.setHeight(0);
this.bottomBlank.setHeight(0);
@ -214,4 +236,8 @@ export class VirtualGroupList extends Widget {
ResizeDetector.removeResizeListener(this);
this.restore();
}
getNodeByValue(value) {
return this.container.getNodeByValue(value);
}
}

2
packages/fineui/src/base/single/0.single.js

@ -72,7 +72,7 @@ export class Single extends Widget {
this.setValue(newValue);
})
: value;
super._init(arguments);
super._init(...arguments);
}
_mounted() {

3
packages/fineui/src/base/single/button/button.basic.js

@ -69,7 +69,7 @@ export class BasicButton extends Single {
this.setSelected(newValue);
})
: opts.selected;
super._init(arguments);
super._init(...arguments);
if (opts.shadow) {
this._createShadow();
@ -193,6 +193,7 @@ export class BasicButton extends Single {
trigger: "",
// bubble的提示不需要一直存在在界面上
destroyWhenHide: true,
hideWhenAnotherComboOpen: true,
ref: _ref => {
this.combo = _ref;
},

1
packages/fineui/src/base/single/button/listitem/icontextitem.js

@ -59,6 +59,7 @@ export class IconTextItem extends BasicButton {
lgap: o.textLgap,
rgap: o.textRgap,
text: o.text,
title: o.title,
value: o.value,
keyword: o.keyword,
height: o.height,

2
packages/fineui/src/base/single/editor/editor.textarea.js

@ -279,7 +279,7 @@ export class TextAreaEditor extends Single {
}
_setValid(b) {
super._setValid(arguments);
super._setValid(...arguments);
// this.content.setValid(b);
// this.watermark && this.watermark.setValid(b);
}

2
packages/fineui/src/base/single/input/checkbox/checkbox.js

@ -52,7 +52,7 @@ export class Checkbox extends BasicButton {
}
doClick() {
super.doClick(arguments);
super.doClick(...arguments);
if (this.isValid()) {
this.fireEvent(Checkbox.EVENT_CHANGE);
}

11
packages/fineui/src/base/single/input/file.js

@ -242,14 +242,11 @@ const sendFile = (toString => {
upload.onloadstart();
}
}
const boundary = `AjaxUploadBoundary${new Date().getTime()}`;
xhr.setRequestHeader("Content-Type", `multipart/form-data; boundary=${boundary}`);
if (handler.file.getAsBinary) {
const boundary = `AjaxUploadBoundary${new Date().getTime()}`;
xhr.setRequestHeader("Content-Type", `multipart/form-data; boundary=${boundary}`);
xhr[xhr.sendAsBinary ? "sendAsBinary" : "send"](multipart(boundary, handler.name, handler.file));
} else {
xhr.setRequestHeader("Content-Type", "multipart/form-data");
// xhr.setRequestHeader("X-Name", handler.name);
// xhr.setRequestHeader("X-File-Name", handler.file.fileName);
const form = new FormData();
form.append("FileData", handler.file);
xhr.send(form);
@ -541,7 +538,7 @@ export class File extends Widget {
// We can still show some information
}
this.fireEvent(File.EVENT_PROGRESS, {
file: this.file,
file: _wrap.file,
total: rpe.total,
loaded: rpe.loaded,
simulation: rpe.simulation,
@ -759,7 +756,7 @@ export class File extends Widget {
}
_setEnable(enable) {
super._setEnable(arguments);
super._setEnable(...arguments);
if (enable === true) {
this.element.removeAttr("disabled");
} else {

4
packages/fineui/src/base/single/input/input.js

@ -144,7 +144,7 @@ export class Input extends Single {
_blur() {
const blur = () => {
if (!this.isValid() && this.options.quitChecker.apply(this, [trim(this.getValue())]) !== false) {
this.element.val(this._lastValidValue ? this._lastValidValue : "");
this.element.val(this._lastValidValue ?? this.options.value ?? "");
this._checkValidationOnValueChange();
this._defaultState();
}
@ -344,7 +344,7 @@ export class Input extends Single {
}
_setValid() {
super._setValid(arguments);
super._setValid(...arguments);
if (this.isValid()) {
this._lastChangedValue = this.getValue();
this.element.removeClass("bi-input-error");

2
packages/fineui/src/base/single/input/radio/radio.image.js

@ -28,7 +28,7 @@ export class ImageRadio extends IconButton {
}
doClick() {
super.doClick(arguments);
super.doClick(...arguments);
if (this.isValid()) {
this.fireEvent(ImageRadio.EVENT_CHANGE);
}

2
packages/fineui/src/base/single/input/radio/radio.js

@ -51,7 +51,7 @@ export class Radio extends BasicButton {
}
doClick() {
super.doClick(arguments);
super.doClick(...arguments);
if (this.isValid()) {
this.fireEvent(Radio.EVENT_CHANGE);
}

6
packages/fineui/src/base/tree/customtree.js

@ -105,6 +105,7 @@ export class CustomTree extends Widget {
return itemsCreator.apply(this, args);
};
isNull(item.popup.el) && (item.popup.el = deepClone(this.options.el));
item.popup.el.node = item.el;
items.push(item);
} else {
items.push(node);
@ -122,9 +123,8 @@ export class CustomTree extends Widget {
itemsCreator: (op, callback) => {
itemsCreator.apply(this, [
op,
items => {
const args = Array.prototype.slice.call(arguments, 0);
args[0] = this._formatItems(items);
(...args) => {
args[0] = this._formatItems(args[0]);
callback(...args);
}
]);

7
packages/fineui/src/bundle.js

@ -5,12 +5,15 @@ import {_defineVarProperties} from "@/core/constant/writable.var";
_global.BI = _global.BI || {};
// for fr, 已经有的就不对外暴露了.
// 要知道BI只有`BI.$`, 挂在全局对象上的只是为了兼容而已
if (!_global.$ && !_global.jQuery) {
_global.jQuery = _global.$ = fuiExport.$;
}
Object.assign(_global, {
Fix: fuiExport.Fix,
_: fuiExport._,
$: fuiExport.$,
jQuery: fuiExport.$,
});
Object.assign(_global.BI, fuiExport, injectFn);

2
packages/fineui/src/case/button/item.multiselect.js

@ -19,6 +19,7 @@ export class MultiSelectItem extends BasicButton {
},
height: SIZE_CONSANTS.LIST_ITEM_HEIGHT,
iconWrapperWidth: 26,
el: {},
});
}
@ -55,6 +56,7 @@ export class MultiSelectItem extends BasicButton {
keyword: o.keyword,
value: o.value,
py: o.py,
...o.el
},
}
],

26
packages/fineui/src/case/button/switch.js

@ -1,15 +1,13 @@
import { AbsoluteLayout, shortcut, i18nText } from "@/core";
import { TextButton, Label, BasicButton } from "@/base";
const CIRCLE_SIZE = 12;
@shortcut()
export class Switch extends BasicButton {
static xtype = "bi.switch";
static EVENT_CHANGE = "EVENT_CHANGE";
constants = {
CIRCLE_SIZE: 12,
};
props = {
extraCls: "bi-switch",
attributes: {
@ -18,12 +16,12 @@ export class Switch extends BasicButton {
height: 20,
width: 44,
showTip: false,
textGap: 8,
};
render() {
const o = this.options,
c = this.constants;
const tgap = (o.height - c.CIRCLE_SIZE) / 2;
const { selected, width, height, textGap, showTip } = this.options;
const tgap = (height - CIRCLE_SIZE) / 2;
return {
type: AbsoluteLayout.xtype,
@ -39,15 +37,15 @@ export class Switch extends BasicButton {
width: 12,
height: 12,
top: tgap,
left: o.selected ? 28 : 4,
left: selected ? width - height + tgap : tgap,
},
{
type: Label.xtype,
text: i18nText("BI-Basic_Simple_Open"),
cls: "content-tip",
left: 8,
left: textGap,
top: tgap - 2,
invisible: !(o.showTip && o.selected),
invisible: !(showTip && selected),
ref: _ref => {
this.openTip = _ref;
},
@ -56,9 +54,9 @@ export class Switch extends BasicButton {
type: Label.xtype,
text: i18nText("BI-Basic_Simple_Close"),
cls: "content-tip",
right: 8,
right: textGap,
top: tgap - 2,
invisible: !(o.showTip && !o.selected),
invisible: !(showTip && !selected),
ref: _ref => {
this.closeTip = _ref;
},
@ -78,7 +76,9 @@ export class Switch extends BasicButton {
setSelected(v) {
super.setSelected(...arguments);
this.layout.attr("items")[0].left = v ? 28 : 4;
const { width, height } = this.options;
const tgap = (height - CIRCLE_SIZE) / 2;
this.layout.attr("items")[0].left = v ? width - height + tgap : tgap;
this.layout.resize();
this.options.showTip && this.openTip.setVisible(v);
this.options.showTip && this.closeTip.setVisible(!v);

3
packages/fineui/src/case/button/treeitem/item.icon.treeleaf.js

@ -1,6 +1,9 @@
import { CenterAdaptLayout, shortcut, extend, createWidget, LogicFactory, Direction } from "@/core";
import { Icon, Label, BasicButton } from "@/base";
/**
* @deprecated
*/
@shortcut()
export class IconTreeLeafItem extends BasicButton {
static xtype = "bi.icon_tree_leaf_item";

100
packages/fineui/src/case/button/treeitem/item.multilayer.icon.treeleaf.js

@ -1,9 +1,14 @@
import { IconTreeLeafItem } from "./item.icon.treeleaf";
import { Layout, HorizontalAdaptLayout, shortcut, extend, createWidget, Controller, makeArray, count, Events } from "@/core";
import { BasicButton } from "@/base";
import {
shortcut,
extend,
} from "@/core";
import { BasicTreeItem } from "./treeitem";
/**
* @deprecated
*/
@shortcut()
export class MultiLayerIconTreeLeafItem extends BasicButton {
export class MultiLayerIconTreeLeafItem extends BasicTreeItem {
static xtype = "bi.multilayer_icon_tree_leaf_item";
_defaultConfig() {
@ -14,89 +19,8 @@ export class MultiLayerIconTreeLeafItem extends BasicButton {
iconCls: "",
iconHeight: 16,
iconWidth: 16,
showLine: false,
indentWidth: 0
});
}
_init() {
super._init(...arguments);
const o = this.options;
this.item = createWidget({
type: IconTreeLeafItem.xtype,
cls: "bi-list-item-none",
iconCls: o.iconCls,
id: o.id,
pId: o.pId,
isFront: true,
height: o.height,
hgap: o.hgap,
text: o.text,
value: o.value,
py: o.py,
keyword: o.keyword,
iconWidth: o.iconWidth,
iconHeight: o.iconHeight,
});
this.item.on(Controller.EVENT_CHANGE, (...args) => {
const [type] = args;
if (type === Events.CLICK) {
// 本身实现click功能
return;
}
this.fireEvent(Controller.EVENT_CHANGE, ...args);
});
const items = [];
count(0, o.layer, () => {
items.push({
type: Layout.xtype,
width: 15,
height: o.height,
});
});
items.push(this.item);
createWidget({
type: HorizontalAdaptLayout.xtype,
element: this,
columnSize: makeArray(o.layer, 15),
items,
});
}
doRedMark() {
this.item.doRedMark(...arguments);
}
unRedMark() {
this.item.unRedMark(...arguments);
}
doHighLight() {
this.item.doHighLight(...arguments);
}
unHighLight() {
this.item.unHighLight(...arguments);
}
getId() {
return this.options.id;
}
getPId() {
return this.options.pId;
}
doClick() {
super.doClick(...arguments);
this.item.setSelected(this.isSelected());
}
setSelected(v) {
super.setSelected(...arguments);
this.item.setSelected(v);
}
getValue() {
return this.options.value;
}
}

8
packages/fineui/src/case/button/treeitem/treeitem.js

@ -20,6 +20,8 @@ export class BasicTreeItem extends NodeButton {
iconWidth: null,
iconHeight: null,
iconCls: "",
showLine: true,
indentWidth: null,
});
}
@ -37,14 +39,16 @@ export class BasicTreeItem extends NodeButton {
py,
keyword,
iconCls,
showLine,
indentWidth
} = this.options;
const indent = {
el: {
type: Layout.xtype,
height,
width: height,
cls: this.getLineCls(),
width: indentWidth ?? height,
cls: showLine ? this.getLineCls() : "",
},
lgap: layer * SIZE_CONSANTS.LIST_ITEM_HEIGHT / 2, // 偏移公式为每一层的偏移量为节点高度的一半
width: "",

3
packages/fineui/src/case/colorchooser/colorchooser.js

@ -24,6 +24,7 @@ export class ColorChooser extends Widget {
height: 24,
el: {},
simple: false,
colorBoardHeight: 80,
});
}
@ -62,6 +63,8 @@ export class ColorChooser extends Widget {
el: extend(
{
type: HexColorChooserPopup.xtype,
colorItems: o.colorItems,
colorBoardHeight: o.colorBoardHeight,
recommendColorsGetter: o.recommendColorsGetter,
ref: _ref => {
this.colorPicker = _ref;

18
packages/fineui/src/case/colorchooser/colorchooser.popup.hex.js

@ -22,7 +22,13 @@ import { Label, Combo, TextItem } from "@/base";
import { PopupPanel } from "../layer";
import { CustomColorChooser } from "./colorchooser.custom";
import { ColorChooserPopup } from "./colorchooser.popup";
import { ColorPickerEditor, ColorPicker, HexColorPicker } from "./colorpicker";
import {
ColorPickerEditor,
ColorPicker,
HexColorPicker,
SimpleHexColorPickerEditor,
HexColorPickerEditor
} from "./colorpicker";
/**
* @author windy
@ -41,6 +47,7 @@ export class HexColorChooserPopup extends Widget {
width: 300,
recommendColorsGetter: emptyFn, // 推荐色获取接口
simple: false, // 简单模式, popup中没有自动和透明
colorBoardHeight: 80,
};
render() {
@ -59,10 +66,12 @@ export class HexColorChooserPopup extends Widget {
extend(
{
type: o.simple
? "bi.simple_hex_color_picker_editor"
: "bi.hex_color_picker_editor",
? SimpleHexColorPickerEditor.xtype
: HexColorPickerEditor.xtype,
value: o.value,
height: o.simple ? 36 : 70,
transparent: o.transparent,
auto: o.auto,
listeners: [
{
eventName: ColorPickerEditor.EVENT_CHANGE,
@ -159,6 +168,7 @@ export class HexColorChooserPopup extends Widget {
type: HexColorPicker.xtype,
space: true,
value: o.value,
items: o.colorItems,
listeners: [
{
eventName: ColorPicker.EVENT_CHANGE,
@ -179,7 +189,7 @@ export class HexColorChooserPopup extends Widget {
bottom: 1,
}
],
height: 80,
height: o.colorBoardHeight,
}
],
},

3
packages/fineui/src/case/colorchooser/colorchooser.trigger.long.js

@ -27,6 +27,7 @@ export class LongColorChooserTrigger extends Trigger {
}
_init() {
const {height} = this.options;
super._init(...arguments);
this.colorContainer = createWidget({
type: HTapeLayout.xtype,
@ -51,7 +52,7 @@ export class LongColorChooserTrigger extends Trigger {
},
textAlign: "left",
hgap: 5,
height: 18,
height: height - 4,
text: i18nText("BI-Basic_Auto"),
},
}

49
packages/fineui/src/case/colorchooser/colorpicker/editor.colorpicker.hex.js

@ -39,8 +39,10 @@ export class HexColorPickerEditor extends Widget {
static EVENT_CHANGE = "EVENT_CHANGE";
props = {
baseCls: "bi-color-picker-editor",
baseCls: "bi-color-picker-editor bi-hex-color-picker-editor",
height: 30,
transparent: true,
auto: true,
};
render() {
@ -95,23 +97,27 @@ export class HexColorPickerEditor extends Widget {
height: 24,
items: [
{
type: ColorChooserShowButton.xtype,
cls: "trans-color-icon",
height: 22,
title: i18nText("BI-Transparent_Color"),
text: i18nText("BI-Transparent_Color"),
listeners: [
{
eventName: ColorChooserShowButton.EVENT_CHANGE,
action: () => {
this.setValue("transparent");
this.fireEvent(ColorPickerEditor.EVENT_CHANGE);
},
}
],
ref: _ref => {
this.transparent = _ref;
el: {
type: ColorChooserShowButton.xtype,
cls: "trans-color-icon",
height: 22,
title: i18nText("BI-Transparent_Color"),
text: i18nText("BI-Transparent_Color"),
invisible: !this.options.transparent,
listeners: [
{
eventName: ColorChooserShowButton.EVENT_CHANGE,
action: () => {
this.setValue("transparent");
this.fireEvent(ColorPickerEditor.EVENT_CHANGE);
},
}
],
ref: _ref => {
this.transparent = _ref;
},
},
rgap: this.options.auto ? 5 : 0,
},
{
el: {
@ -120,6 +126,7 @@ export class HexColorPickerEditor extends Widget {
height: 22,
title: i18nText("BI-Basic_Auto"),
text: i18nText("BI-Basic_Auto"),
invisible: !this.options.auto,
listeners: [
{
eventName: ColorChooserShowButton.EVENT_CHANGE,
@ -133,7 +140,7 @@ export class HexColorPickerEditor extends Widget {
this.none = _ref;
},
},
lgap: 10,
lgap: this.options.transparent ? 5 : 0,
}
],
},
@ -176,6 +183,9 @@ export class HexColorPickerEditor extends Widget {
{
eventName: "EVENT_CHANGE",
action: () => {
if (isEmptyString(this.hexEditor.getValue())) {
return;
}
this._checkHexEditor();
if (
checker(this.storeValue.r) &&
@ -261,9 +271,6 @@ export class HexColorPickerEditor extends Widget {
}
_checkHexEditor() {
if (isEmptyString(this.hexEditor.getValue())) {
this.hexEditor.setValue("000000");
}
const json = DOM.rgb2json(DOM.hex2rgb(`#${this.hexEditor.getValue()}`));
this.storeValue = {
r: json.r || 0,

6
packages/fineui/src/case/colorchooser/colorpicker/editor.colorpicker.hex.simple.js

@ -23,7 +23,8 @@ import { TextEditor } from "@/widget/editor/editor.text";
const RGB_WIDTH = 32,
HEX_WIDTH = 70,
HEX_PREFIX_POSITION = 1;
HEX_PREFIX_POSITION = 1,
DEFAULT_HEX = "ffffff";
/**
* @author windy
@ -37,7 +38,7 @@ export class SimpleHexColorPickerEditor extends Widget {
static EVENT_CHANGE = "EVENT_CHANGE";
props = {
baseCls: "bi-color-picker-editor",
baseCls: "bi-color-picker-editor bi-simple-hex-color-picker-editor",
height: 36,
};
@ -112,6 +113,7 @@ export class SimpleHexColorPickerEditor extends Widget {
errorText: i18nText("BI-Color_Picker_Error_Text_Hex"),
width: HEX_WIDTH,
height: 24,
value: DEFAULT_HEX,
listeners: [
{
eventName: "EVENT_CHANGE",

1
packages/fineui/src/case/combo/bubblecombo/combo.bubble.js

@ -27,6 +27,7 @@ export class BubbleCombo extends Widget {
destroyWhenHide: false,
hideWhenClickOutside: true,
hideWhenBlur: true,
hideWhenAnotherComboOpen: false,
isNeedAdjustHeight: true, // 是否需要高度调整
isNeedAdjustWidth: true,
stopPropagation: false,

30
packages/fineui/src/case/combo/bubblecombo/popup.bubble.js

@ -7,7 +7,7 @@ import { Label } from "@/base/single/label/label";
@shortcut()
export class BubblePopupView extends PopupView {
static xtype = "bi.bubble_popup_view";
_defaultConfig() {
const config = super._defaultConfig(...arguments);
@ -24,16 +24,16 @@ export class BubblePopupView extends PopupView {
@shortcut()
export class BubblePopupBarView extends BubblePopupView {
static xtype = "bi.bubble_bar_popup_view";
static EVENT_CLICK_TOOLBAR_BUTTON = "EVENT_CLICK_TOOLBAR_BUTTON";
_defaultConfig () {
_defaultConfig() {
return extend(super._defaultConfig(...arguments), {
extraCls: "bi-bubble-bar-popup-view",
buttons: [{
value: false,
text: i18nText("BI-Basic_Cancel"),
level: "ignore",
light: true,
}, {
text: i18nText(i18nText("BI-Basic_OK")),
value: true,
@ -43,7 +43,7 @@ export class BubblePopupBarView extends BubblePopupView {
});
}
_createToolBar () {
_createToolBar() {
const o = this.options;
const items = [];
@ -66,7 +66,7 @@ export class BubblePopupBarView extends BubblePopupView {
});
}
});
return createWidget({
type: "bi.right_vertical_adapt",
innerVgap: o.innerVgap,
@ -75,11 +75,11 @@ export class BubblePopupBarView extends BubblePopupView {
});
}
_createContent () {
_createContent() {
return this.options.el;
}
_createView () {
_createView() {
const o = this.options;
const view = createWidget({
@ -99,21 +99,21 @@ export class BubblePopupBarView extends BubblePopupView {
@shortcut()
export class TextBubblePopupBarView extends BubblePopupBarView {
static xtype = "bi.text_bubble_bar_popup_view";
static EVENT_CHANGE = "EVENT_CLICK_TOOLBAR_BUTTON";
_defaultConfig () {
_defaultConfig() {
const config = super._defaultConfig(...arguments);
return extend(config, {
baseCls: `${config.baseCls} bi-text-bubble-bar-popup-view`,
text: "",
});
}
_createContent () {
_createContent() {
const o = this.options;
return {
type: Label.xtype,
text: o.text,
@ -125,7 +125,7 @@ export class TextBubblePopupBarView extends BubblePopupBarView {
};
}
populate (v) {
populate(v) {
this.text.setText(v || this.options.text);
}
}

5
packages/fineui/src/case/combo/textvaluecombo/combo.textvalue.js

@ -144,8 +144,8 @@ export class TextValueCombo extends Widget {
return {
type: Combo.xtype,
height: toPix(o.height, 2),
width: toPix(o.width, 2),
height: toPix(o.height, o.simple ? 1 : 2),
width: toPix(o.width, o.simple ? 0 : 2),
ref: ref => (this.combo = ref),
container: o.container,
direction: o.direction,
@ -216,6 +216,7 @@ export class TextValueCombo extends Widget {
}
setValue(v) {
this.options.value = v;
this.combo.setValue(v);
this._checkError(v);
}

8
packages/fineui/src/case/list/list.select.js

@ -71,10 +71,12 @@ export class SelectList extends Widget {
itemsCreator: (op, callback) => {
op.times === 1 && this.toolbar.setVisible(false);
o.itemsCreator(op, (items, keywords, context, ...args) => {
callback(items, keywords, context, ...args);
const tipText = get(context, "tipText", "");
const isEmptyTipText = isEmptyString(tipText);
// tipText 和 items 本身就是互斥的
callback(isEmptyTipText ? items : [], keywords, context, ...args);
if (op.times === 1) {
const tipText = get(context, "tipText", "");
const visible = isEmptyString(tipText) && items && items.length > 0;
const visible = isEmptyTipText && items && items.length > 0;
this.toolbar.setVisible(visible);
this.toolbar.setEnable(this.isEnabled() && visible);
}

53
packages/fineui/src/case/pager/pager.direction.js

@ -40,6 +40,11 @@ export class DirectionPager extends Widget {
}
_init() {
super._init(...arguments);
this.ITEM_GAP = 0;
this.ITEM_WIDTH = this.options.height - 2 * this.ITEM_GAP;
this.MIDDLE_GAP = 16;
this._createVPager();
this._createHPager();
this.layout = createWidget({
@ -49,23 +54,23 @@ export class DirectionPager extends Widget {
items: [
{
el: this.vpager,
top: 0,
right: 86,
top: this.ITEM_GAP,
right: this.ITEM_WIDTH * 3 + this.MIDDLE_GAP,
},
{
el: this.vlabel,
top: 0,
right: 110,
top: this.ITEM_GAP,
right: this.ITEM_WIDTH * 4 + this.MIDDLE_GAP,
},
{
el: this.hpager,
top: 0,
top: this.ITEM_GAP,
right: 0,
},
{
el: this.hlabel,
top: 0,
right: 24,
top: this.ITEM_GAP,
right: this.ITEM_WIDTH,
}
],
});
@ -75,20 +80,20 @@ export class DirectionPager extends Widget {
const v = this.options.vertical;
this.vlabel = createWidget({
type: Label.xtype,
width: 24,
height: 24,
width: this.ITEM_WIDTH,
height: this.ITEM_WIDTH,
value: v.curr,
title: v.curr,
invisible: true,
});
this.vpager = createWidget({
type: Pager.xtype,
width: 72,
width: this.ITEM_WIDTH * 3,
layouts: [
{
type: HorizontalLayout.xtype,
scrollx: false,
rgap: 24,
rgap: this.ITEM_WIDTH,
}
],
invisible: true,
@ -105,8 +110,8 @@ export class DirectionPager extends Widget {
value: "prev",
title: i18nText("BI-Up_Page"),
warningTitle: i18nText("BI-Current_Is_First_Page"),
height: 22,
width: 22,
height: this.ITEM_WIDTH - 2,
width: this.ITEM_WIDTH - 2,
cls: "bi-border bi-border-radius direction-pager-prev column-pre-page-h-font bi-list-item-select2",
},
next: {
@ -114,8 +119,8 @@ export class DirectionPager extends Widget {
value: "next",
title: i18nText("BI-Down_Page"),
warningTitle: i18nText("BI-Current_Is_Last_Page"),
height: 22,
width: 22,
height: this.ITEM_WIDTH - 2,
width: this.ITEM_WIDTH - 2,
cls: "bi-border bi-border-radius direction-pager-next column-next-page-h-font bi-list-item-select2",
},
@ -137,20 +142,20 @@ export class DirectionPager extends Widget {
const h = this.options.horizontal;
this.hlabel = createWidget({
type: Label.xtype,
width: 24,
height: 24,
width: this.ITEM_WIDTH,
height: this.ITEM_WIDTH,
value: h.curr,
title: h.curr,
invisible: true,
});
this.hpager = createWidget({
type: Pager.xtype,
width: 72,
width: this.ITEM_WIDTH * 3,
layouts: [
{
type: HorizontalLayout.xtype,
scrollx: false,
rgap: 24,
rgap: this.ITEM_WIDTH,
}
],
invisible: true,
@ -167,8 +172,8 @@ export class DirectionPager extends Widget {
value: "prev",
title: i18nText("BI-Left_Page"),
warningTitle: i18nText("BI-Current_Is_First_Page"),
height: 22,
width: 22,
height: this.ITEM_WIDTH - 2,
width: this.ITEM_WIDTH - 2,
cls: "bi-border bi-border-radius direction-pager-prev row-pre-page-h-font bi-list-item-select2",
},
next: {
@ -176,8 +181,8 @@ export class DirectionPager extends Widget {
value: "next",
title: i18nText("BI-Right_Page"),
warningTitle: i18nText("BI-Current_Is_Last_Page"),
height: 22,
width: 22,
height: this.ITEM_WIDTH - 2,
width: this.ITEM_WIDTH - 2,
cls: "bi-border bi-border-radius direction-pager-next row-next-page-h-font bi-list-item-select2",
},
@ -260,7 +265,7 @@ export class DirectionPager extends Widget {
vShow = true;
}
this.setVisible(hShow || vShow);
const num = [86, 110, 0, 24];
const num = [this.ITEM_WIDTH * 3 + this.MIDDLE_GAP, this.ITEM_WIDTH * 4 + this.MIDDLE_GAP, 0, this.ITEM_WIDTH];
const items = this.layout.attr("items");
if (vShow === true && hShow === true) {

43
packages/fineui/src/case/ztree/asynctree.js

@ -1,7 +1,19 @@
import { cjkEncodeDO, deepClone, each, extend, isEmpty, isNotNull, isNull, shortcut } from "@/core";
import {
cjkEncodeDO,
deepClone,
each,
extend,
isEmpty,
isNotNull,
isNull,
shortcut,
AbsoluteLayout,
createWidget,
} from "@/core";
import { TreeView } from "./treeview";
import { TreeRenderPageService } from "./treerender.page.service";
import $ from "jquery";
import { IconLabel } from "@/base";
@shortcut()
export class AsyncTree extends TreeView {
@ -197,7 +209,34 @@ export class AsyncTree extends TreeView {
},
options
);
o.itemsCreator(op, complete);
let loadingIcon;
createWidget({
type: AbsoluteLayout.xtype,
element: self.element.find(`#${treeNode.tId}`),
css: {
position: "relative",
},
items: [
{
el: {
type: IconLabel.xtype,
width: 20,
height: 20,
cls: "button-loading-font anim-rotate bi-card",
ref: ref => {
loadingIcon = ref;
},
},
left: 5,
top: 5,
},
],
});
o.itemsCreator(op, (...args) => {
complete.apply(this, args);
loadingIcon.destroy();
});
}
// 展开节点会将halfCheck置为false以开启自动计算半选, 所以第一次展开节点的时候需要在置为false之前获取配置

4
packages/fineui/src/case/ztree/list/listasynctree.js

@ -1,4 +1,4 @@
import { Listtreeview } from "./listtreeview";
import { ListTreeView } from "./listtreeview";
import { cjkEncodeDO, delay, isEmpty, shortcut, extend } from "@/core";
import $ from "jquery";
@ -11,7 +11,7 @@ import $ from "jquery";
*/
@shortcut()
export class Listasynctree extends Listtreeview {
export class ListAsyncTree extends ListTreeView {
static xtype = "bi.list_async_tree";
// 配置属性

4
packages/fineui/src/case/ztree/list/listparttree.js

@ -1,4 +1,4 @@
import { Listasynctree } from "./listasynctree";
import { ListAsyncTree } from "./listasynctree";
import { shortcut, extend, Events, delay } from "@/core";
import { TreeView } from "../treeview";
import $ from "jquery";
@ -11,7 +11,7 @@ import $ from "jquery";
*/
@shortcut()
export class ListPartTree extends Listasynctree {
export class ListPartTree extends ListAsyncTree {
static xtype = "bi.list_part_tree";
_loadMore() {

2
packages/fineui/src/case/ztree/list/listtreeview.js

@ -11,7 +11,7 @@ import $ from "jquery";
*/
@shortcut()
export class Listtreeview extends TreeView {
export class ListTreeView extends TreeView {
static xtype = "bi.list_tree_view";
_constants = {

15
packages/fineui/src/case/ztree/parttree.js

@ -16,9 +16,15 @@ export class PartTree extends AsyncTree {
static EVENT_CLICK_TREE_NODE = "EVENT_CLICK_TREE_NODE";
_defaultConfig() {
return extend(super._defaultConfig(...arguments), {
isSelectedAny: true, //是否返回所有被checked的结点(包括被checked的结点的子结点)
});
}
constructor(...args) {
super(...args);
this.seMethos = super._selectTreeNode;
this.seMethos = AsyncTree.superclass._selectTreeNode;
}
_loadMore() {
@ -55,8 +61,11 @@ export class PartTree extends AsyncTree {
const name = this._getNodeValue(treeNode);
this.fireEvent(PartTree.EVENT_CLICK_TREE_NODE);
if (treeNode.checked === true) {
this.options.paras.selectedValues = this._getUnionValue();
// this._buildTree(self.options.paras.selectedValues, concat(parentValues, name));
if (this.options.isSelectedAny) {
this.options.paras.selectedValues = this._getUnionValue(); //获取所有被selected的结点
} else {
this._addTreeNode(this.options.paras.selectedValues, parentValues, name, {});//给selectedValues增加被click的结点(不包含该节点的子结点)
}
o.itemsCreator(
extend({}, o.paras, {
type: TreeView.REQ_TYPE_ADJUST_DATA,

4
packages/fineui/src/case/ztree/tree.list.display.js

@ -1,4 +1,4 @@
import { Listtreeview } from "./list/listtreeview";
import { ListTreeView } from "./list/listtreeview";
import { each, shortcut, i18nText } from "@/core";
import $ from "jquery";
@ -10,7 +10,7 @@ import $ from "jquery";
*/
@shortcut()
export class ListDisplayTree extends Listtreeview {
export class ListDisplayTree extends ListTreeView {
static xtype = "bi.list_display_tree";
static EVENT_CHANGE = "EVENT_CHANGE";

2
packages/fineui/src/component/form/form.field.js

@ -69,7 +69,7 @@ export class FormField extends Widget {
return {
type: VerticalAdaptLayout.xtype,
columnSize: ["auto", "fill"],
columnSize: isKey(o.label) ? ["auto", "fill"] : ["fill"],
verticalAlign: VerticalAlign.Stretch,
items: isKey(o.label)
? [

34
packages/fineui/src/component/treevaluechooser/abstract.treevaluechooser.js

@ -169,11 +169,13 @@ export class AbstractTreeValueChooser extends Widget {
value: node.value,
open: true,
disabled: node.disabled,
iconCls: node.iconCls,
});
}
}
_reqSelectedTreeNode(op, callback) {
const self = this;
const selectedValues = deepClone(op.selectedValues);
const notSelectedValue = op.notSelectedValue || {};
const keyword = op.keyword || "";
@ -188,7 +190,7 @@ export class AbstractTreeValueChooser extends Widget {
dealWithSelectedValues(selectedValues);
callback(selectedValues);
const dealWithSelectedValues = selectedValues => {
function dealWithSelectedValues(selectedValues) {
let p = parentValues.concat(notSelectedValue);
// 存储的值中存在这个值就把它删掉
// 例如选中了中国-江苏-南京, 取消中国或江苏或南京
@ -197,18 +199,18 @@ export class AbstractTreeValueChooser extends Widget {
// 如果搜索的值在父亲链中
if (isSearchValueInParent(p)) {
// 例如选中了 中国-江苏, 搜索江苏, 取消江苏(干掉了江苏)
this._deleteNode(selectedValues, p);
self._deleteNode(selectedValues, p);
} else {
const searched = [];
// 要找到所有以notSelectedValue为叶子节点的链路
const find = search(parentValues, notSelectedValue, [], searched);
if (find && isNotEmptyArray(searched)) {
each(searched, (i, arr) => {
const node = this._getNode(selectedValues, arr);
const node = self._getNode(selectedValues, arr);
if (node) {
// 例如选中了 中国-江苏, 搜索江苏, 取消中国(实际上只想删除中国-江苏,因为搜的是江苏)
// 例如选中了 中国-江苏-南京,搜索南京,取消中国(实际上只想删除中国-江苏-南京,因为搜的是南京)
this._deleteNode(selectedValues, arr);
self._deleteNode(selectedValues, arr);
} else {
// 例如选中了 中国-江苏,搜索南京,取消中国(实际上只想删除中国-江苏-南京,因为搜的是南京)
expandSelectedValue(selectedValues, arr, last(arr));
@ -239,14 +241,14 @@ export class AbstractTreeValueChooser extends Widget {
// 添加去掉搜索的结果集
if (result.length > 0) {
each(result, (i, strs) => {
this._buildTree(selectedValues, strs);
self._buildTree(selectedValues, strs);
});
}
}
}
};
const expandSelectedValue = (selectedValues, parents, notSelectedValue) => {
function expandSelectedValue(selectedValues, parents, notSelectedValue) {
let next = selectedValues;
const childrenCount = [];
const path = [];
@ -259,7 +261,7 @@ export class AbstractTreeValueChooser extends Widget {
}
if (isEmpty(next)) {
const split = parents.slice(0, i);
const expanded = this._getChildren(split);
const expanded = self._getChildren(split);
path.push(split);
childrenCount.push(expanded.length);
// 如果只有一个值且取消的就是这个值
@ -270,7 +272,7 @@ export class AbstractTreeValueChooser extends Widget {
) {
for (let j = childrenCount.length - 1; j >= 0; j--) {
if (childrenCount[j] === 1) {
this._deleteNode(selectedValues, path[j]);
self._deleteNode(selectedValues, path[j]);
} else {
break;
}
@ -295,16 +297,16 @@ export class AbstractTreeValueChooser extends Widget {
});
};
const search = (parents, current, result, searched) => {
function search(parents, current, result, searched) {
const newParents = clone(parents);
newParents.push(current);
if (this._isMatch(parents, current, keyword)) {
if (self._isMatch(parents, current, keyword)) {
searched && searched.push(newParents);
return true;
}
const children = this._getChildren(newParents);
const children = self._getChildren(newParents);
const notSearch = [];
let can = false;
@ -327,9 +329,9 @@ export class AbstractTreeValueChooser extends Widget {
return can;
};
const isSearchValueInParent = parentValues => {
function isSearchValueInParent(parentValues) {
for (let i = 0, len = parentValues.length; i < len; i++) {
if (this._isMatch(parentValues.slice(0, i), parentValues[i], keyword)) {
if (self._isMatch(parentValues.slice(0, i), parentValues[i], keyword)) {
return true;
}
}
@ -389,7 +391,7 @@ export class AbstractTreeValueChooser extends Widget {
each(selected, (k, v) => {
const p = clone(parents);
p.push(k);
if (!dealWithSelectedValues(selected[k], p)) {
if (!dealWithSelectedValues(selected[k], p) || op.searcherPaneAutoShrink === false) {
each(selected[k], (nk, nv) => {
const t = clone(p);
t.push(nk);
@ -428,7 +430,7 @@ export class AbstractTreeValueChooser extends Widget {
});
});
function search(){
function search() {
const children = self._getChildren([]);
let start = children.length;
if (lastSearchValue !== "") {
@ -530,6 +532,7 @@ export class AbstractTreeValueChooser extends Widget {
halfCheck: half,
flag,
disabled: node.disabled,
iconCls: node.iconCls,
});
}
@ -701,6 +704,7 @@ export class AbstractTreeValueChooser extends Widget {
disabled: nodes[i].disabled,
title: nodes[i].title || nodes[i].text,
warningTitle: nodes[i].warningTitle,
iconCls: nodes[i].iconCls,
});
if (openState) {
getResult(parentValues.concat([nodes[i].value]), { checked: state[0], half: state[1] });

25
packages/fineui/src/component/treevaluechooser/abstract.treevaluechooser.list.js

@ -31,7 +31,7 @@ export class AbstractListTreeValueChooser extends AbstractTreeValueChooser {
return;
}
doCheck([], this.tree.getRoot(), selectedValues);
doCheck.call(this, [], this.tree.getRoot(), selectedValues);
callback({
items: values(result),
@ -76,6 +76,7 @@ export class AbstractListTreeValueChooser extends AbstractTreeValueChooser {
}
_reqInitTreeNode(op, callback) {
const self = this;
let result = [];
const keyword = op.keyword || "";
const selectedValues = op.selectedValues;
@ -89,8 +90,8 @@ export class AbstractListTreeValueChooser extends AbstractTreeValueChooser {
});
});
const search = () => {
const children = this._getChildren([]);
function search() {
const children = self._getChildren([]);
let start = children.length;
if (lastSearchValue !== "") {
for (let j = 0, len = start; j < len; j++) {
@ -105,22 +106,22 @@ export class AbstractListTreeValueChooser extends AbstractTreeValueChooser {
const output = [];
let find;
for (let i = start, len = children.length; i < len; i++) {
if (output.length < this._const.perPage) {
if (output.length < self._const.perPage) {
find = nodeSearch(1, [], children[i].value, result);
} else if (output.length === this._const.perPage) {
} else if (output.length === self._const.perPage) {
find = nodeSearch(1, [], children[i].value, []);
}
if (find[0] === true) {
output.push(children[i].value);
}
if (output.length > this._const.perPage) {
if (output.length > self._const.perPage) {
break;
}
}
// 深层嵌套的比较麻烦,这边先实现的是在根节点添加
if (op.times === 1) {
const nodes = this._getAddedValueNode([], selectedValues);
const nodes = self._getAddedValueNode([], selectedValues);
result = concat(
filter(nodes, (idx, node) => {
const find = Func.getSearchResult([node.text || node.value], keyword);
@ -134,8 +135,8 @@ export class AbstractListTreeValueChooser extends AbstractTreeValueChooser {
return output;
};
const createOneJson = (parentValues, value, isOpen, checked, flag, result) => {
const node = this._getTreeNode(parentValues, value);
function createOneJson(parentValues, value, isOpen, checked, flag, result) {
const node = self._getTreeNode(parentValues, value);
result.push({
id: node.id,
pId: node.pId,
@ -151,9 +152,9 @@ export class AbstractListTreeValueChooser extends AbstractTreeValueChooser {
});
};
const nodeSearch = (deep, parentValues, current, result) => {
function nodeSearch(deep, parentValues, current, result) {
let checked;
if (this._isMatch(parentValues, current, keyword)) {
if (self._isMatch(parentValues, current, keyword)) {
checked = isSelected(parentValues, current);
createOneJson(parentValues, current, false, checked, true, result);
@ -161,7 +162,7 @@ export class AbstractListTreeValueChooser extends AbstractTreeValueChooser {
}
const newParents = clone(parentValues);
newParents.push(current);
const children = this._getChildren(newParents);
const children = self._getChildren(newParents);
let can = false;
checked = false;

11
packages/fineui/src/component/treevaluechooser/pane.treevaluechooser.js

@ -15,6 +15,10 @@ export class TreeValueChooserPane extends AbstractTreeValueChooser {
items: null,
itemsCreator: emptyFn,
showLine: true,
showIcon: false,
//searcherPaneAutoShrink和searcherPaneIsSelectedAny同时为false时,返回值和非搜索状态下的树逻辑一致
searcherPaneAutoShrink: true,//其搜索树是否会判别子结点全选则取父结点的值
searcherPaneIsSelectedAny: true, //其搜索树是否返回所有被checked的结点(包括被checked的结点的子结点)
});
}
@ -25,7 +29,12 @@ export class TreeValueChooserPane extends AbstractTreeValueChooser {
type: o.hideSearch ? MultiSelectTreePopup.xtype : MultiSelectTree.xtype,
element: this,
showLine: o.showLine,
itemsCreator: bind(this._itemsCreator, this),
showIcon: o.showIcon,
searcherPaneIsSelectedAny: o.hideSearch || o.searcherPaneIsSelectedAny,
itemsCreator: (options, callback) => {
options.searcherPaneAutoShrink = o.hideSearch || o.searcherPaneAutoShrink;
this._itemsCreator.call(this, options, callback);
},
});
this.pane.on(MultiSelectTree.EVENT_CHANGE, () => {

25
packages/fineui/src/core/1.lodash.js

@ -6142,6 +6142,30 @@
return (array && array.length) ? baseUniq(array, baseIteratee(iteratee, 2)) : [];
}
/**
* This method is like `uniq` except that it accepts `comparator` which
* is invoked to compare elements of `array`. The order of result values is
* determined by the order they occur in the array. The comparator is invoked
* with two arguments: (arrVal, othVal).
*
* @since 4.0.0
* @category Array
* @param {Array} array The array to inspect.
* @param {Function} [comparator] The comparator invoked per element.
* @returns {Array} Returns the new duplicate free array.
* @see uniq, uniqBy
* @example
*
* const objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }, { 'x': 1, 'y': 2 }]
*
* uniqWith(objects, isEqual)
* // => [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }]
*/
function uniqWith(array, comparator) {
comparator = typeof comparator === 'function' ? comparator : undefined;
return (array && array.length) ? baseUniq(array, undefined, comparator) : [];
}
/**
* This method is like `_.zip` except that it accepts an array of grouped
* elements and creates an array regrouping the elements to their pre-zip
@ -10041,6 +10065,7 @@
lodash.union = union;
lodash.uniq = uniq;
lodash.uniqBy = uniqBy;
lodash.uniqWith = uniqWith;
lodash.unzip = unzip;
lodash.values = values;
lodash.without = without;

15
packages/fineui/src/core/2.base.js

@ -482,6 +482,7 @@ _.each(
"take",
"takeRight",
"uniqBy",
"uniqWith"
],
name => {
lodashFns[name] = _apply(name);
@ -510,6 +511,7 @@ export const range = lodashFns.range;
export const take = lodashFns.take;
export const takeRight = lodashFns.takeRight;
export const uniqBy = lodashFns.uniqBy;
export const uniqWith = lodashFns.uniqWith;
export const findIndex = lodashFns.findIndex;
export const findLastIndex = lodashFns.findLastIndex;
@ -912,7 +914,8 @@ export const delay = lodashFns.delay;
export const defer = lodashFns.defer;
export const wrap = lodashFns.wrap;
export const nextTick = (function () {
export let nextTick = /*!PURE*/(function () {
const callbacks = [];
let pending = false;
let timerFunc = void 0;
@ -971,7 +974,7 @@ export const nextTick = (function () {
pending = true;
timerFunc();
}
// $flow-disable-line
if (!cb && typeof Promise !== "undefined") {
return new Promise((resolve, reject) => {
_resolve = resolve;
@ -980,6 +983,10 @@ export const nextTick = (function () {
};
})();
export const setNextTick = (fn) => {
nextTick = fn;
}
// 数字相关方法
_.each(["random"], name => {
lodashFns[name] = _apply(name);
@ -1362,7 +1369,7 @@ export function parseDateTime(str, fmt) {
m = today.getMonth();
}
if (_global.isNaN(d)) {
d = Math.min(getMonthDays(getDate(y, m)), today.getDate());
d = 1;
}
if (_global.isNaN(hr)) {
hr = today.getHours();
@ -1511,7 +1518,7 @@ export function getTime() {
}
if (isNotNull(BI.timeZone)) {
// BI-33791 1901年以前的东8区标准是GMT+0805, 统一无论是什么时间,都以整的0800这样的为基准
return dt.getTime() - BI.timeZone - new Date().getTimezoneOffset() * 60000;
return dt.getTime() + BI.timeZone + new Date().getTimezoneOffset() * 60000;
}
return dt.getTime();

2
packages/fineui/src/core/3.ob.js

@ -155,7 +155,7 @@ export class OB {
eventName = eventName.toLowerCase();
/* alex:如果fn是null,就是把eventName上面所有方法都un掉*/
if (fn === null) {
if (!fn) {
delete this._getEvents()[eventName];
} else {
const fns = this._getEvents()[eventName];

33
packages/fineui/src/core/4.widget.js

@ -25,7 +25,7 @@ import {
import { OB } from "./3.ob";
import { Providers, _lazyCreateWidget } from "./5.inject";
import { DOM } from "./utils";
import { Events, emptyFn, pixFormat } from "./constant";
import { Events, pixFormat } from "./constant";
import { Plugin } from "./6.plugin";
import { _global } from "./0.foundation";
import { SystemProvider } from "./system";
@ -241,7 +241,8 @@ export class Widget extends OB {
if (beforeRenderResult instanceof Promise) {
beforeRenderResult.then(render).catch((e) => {
_global.console && console.error(e);
render();
// 异步render,组件此时可能已经被销毁
!this.isDestroyed() ? render() : _global.console && console.error('Async render error! Widget has been destroyed!');
});
}
} else {
@ -258,7 +259,8 @@ export class Widget extends OB {
if (beforeInitResult instanceof Promise) {
beforeInitResult.then(init).catch((e) => {
_global.console && console.error(e);
init();
// 异步init,组件此时可能已经被销毁
!this.isDestroyed() ? init() : _global.console && console.error('Async init error! Widget has been destroyed!');
});
}
} else {
@ -336,29 +338,6 @@ export class Widget extends OB {
}
}
__watch(getter, handler, options) {
if (_global.Fix) {
this._watchers = this._watchers || [];
const watcher = new Fix.Watcher(
null,
() => getter.call(this, this),
(handler &&
((v) => {
handler.call(this, this, v);
})) ||
emptyFn,
extend({ deep: true }, options)
);
this._watchers.push(() => {
watcher.teardown();
});
return watcher.value;
} else {
return getter();
}
}
/**
* 初始化根节点
* @private
@ -891,13 +870,13 @@ export class Widget extends OB {
callLifeHook(this, "destroyed");
this.destroyed = null;
this._isDestroyed = true;
// this._purgeRef(); // 清除ref的时机还是要仔细考虑一下
}
_unMount() {
this._assetMounted();
this.__destroy();
this.fireEvent(Events.UNMOUNT);
// this._purgeRef(); // 子组件unmount ref置为null了,父组件拿不到ref,导致报错
this.purgeListeners();
}

9
packages/fineui/src/core/5.inject.js

@ -601,3 +601,12 @@ export function getResource(type, config) {
}
throw new Error("unknown type: [" + type + "] undefined");
}
/**
* 根据 xtype 获取已被注册的类
* @param {string} xtype
* @returns
*/
export function getClass(xtype) {
return kv[xtype] || serviceInjection[xtype];
}

115
packages/fineui/src/core/constant/writable.var.js

@ -1,76 +1,72 @@
/**
* 可写的常量
*/
import { isNumber } from "../2.base";
import { isNumber, nextTick, setNextTick } from "../2.base";
import { _global } from "../0.foundation";
import { Cache } from "../structure";
import { Element, setElement } from "../element/element";
import { setDom, DOM } from "../utils";
const PropertyDescriptors = {};
export function _defineVarProperties(libName) {
Object.defineProperties(libName, PropertyDescriptors);
}
function addDescriptor(key, options) {
options.enumerable = options.enumerable === undefined ? true : options.enumerable;
options.configurable = options.configurable === undefined ? true : options.configurable;
PropertyDescriptors[key] = options;
}
export let EVENT_RESPONSE_TIME = 200;
export const setEventResponseTime = v => {
EVENT_RESPONSE_TIME = v;
};
PropertyDescriptors["EVENT_RESPONSE_TIME"] = {
enumerable: true,
configurable: true,
get: function () {
return EVENT_RESPONSE_TIME;
},
addDescriptor("EVENT_RESPONSE_TIME", {
get: () => EVENT_RESPONSE_TIME,
set: setEventResponseTime,
};
});
export let pixUnit = "px";
export const setPixUnit = v => {
pixUnit = v;
};
PropertyDescriptors["pixUnit"] = {
enumerable: true,
configurable: true,
get: function () {
return pixUnit;
},
addDescriptor("pixUnit", {
get: () => pixUnit,
set: setPixUnit,
};
});
export let pixRatio = 1;
export const setPixRatio = v => {
pixRatio = v;
};
PropertyDescriptors["pixRatio"] = {
enumerable: true,
configurable: true,
get: function () {
return pixRatio;
},
addDescriptor("pixRatio", {
get: () => pixRatio,
set: setPixRatio,
};
});
export let StartOfWeek = 1;
export const setStartOfWeek = v => {
if (![0, 1].includes(v)) {
console.error("setStartOfWeek must be 0 or 1");
return;
}
StartOfWeek = v;
};
PropertyDescriptors["StartOfWeek"] = {
enumerable: true,
configurable: true,
get: function () {
return StartOfWeek;
},
addDescriptor("StartOfWeek", {
get: () => StartOfWeek,
set: setStartOfWeek,
};
});
export let BlankSplitChar = "\u200b \u200b";
export const setBlankSplitChar = v => {
BlankSplitChar = v;
};
PropertyDescriptors["BlankSplitChar"] = {
enumerable: true,
configurable: true,
get: function () {
return BlankSplitChar;
},
addDescriptor("BlankSplitChar", {
get: () => BlankSplitChar,
set: setBlankSplitChar,
};
});
// 一定返回最终的单位
export let pixFormat = (pix, border) => {
@ -90,14 +86,10 @@ export let pixFormat = (pix, border) => {
export const setPixFormat = v => {
pixFormat = v;
};
PropertyDescriptors["pixFormat"] = {
enumerable: true,
configurable: true,
get: function () {
return pixFormat;
},
addDescriptor("pixFormat", {
get: () => pixFormat,
set: setPixFormat,
};
});
export let toPix = (pix, border) => {
if (!isNumber(pix)) {
@ -115,14 +107,10 @@ export let toPix = (pix, border) => {
export let setToPix = v => {
toPix = v;
};
PropertyDescriptors["toPix"] = {
enumerable: true,
configurable: true,
get: function () {
return toPix;
},
addDescriptor("toPix", {
get: () => toPix,
set: setToPix,
};
});
const getCacheItem = key => {
Cache.getItem(key, { typeConversion: true, defaultValue: true });
@ -132,15 +120,22 @@ export const setEventBlur = v => {
EVENT_BLUR = v;
Cache.setItem("event.blur", v);
};
PropertyDescriptors["EVENT_BLUR"] = {
enumerable: true,
configurable: true,
get: function () {
return EVENT_BLUR;
},
addDescriptor("EVENT_BLUR", {
get: () => EVENT_BLUR,
set: setEventBlur,
};
});
export function _defineVarProperties(libName) {
Object.defineProperties(libName, PropertyDescriptors);
}
addDescriptor("Element", {
get: () => Element,
set: setElement,
});
addDescriptor("DOM", {
get: () => DOM,
set: setDom,
});
addDescriptor("nextTick", {
get: () => nextTick,
set: setNextTick,
});

17
packages/fineui/src/core/controller/controller.layer.js

@ -8,7 +8,7 @@ import { isNull, isNotNull, each, keys, isWidget, isNotEmptyString, extend, bind
import { Widget } from "../4.widget";
import { createWidget } from "../5.inject";
import { zIndex_layer } from "../constant";
import { DOM } from "../utils";
import { getPositionRelativeContainingBlockRect, getOuterBody } from "../utils/dom";
export class LayerController extends Controller {
constructor(Resizers) {
@ -63,7 +63,7 @@ export class LayerController extends Controller {
w = from.element;
}
if (isNotEmptyString(w)) {
w = Widget._renderEngine.createElement(w);
w = Widget._renderEngine.createElement(w === 'body' ? getOuterBody() : w);
}
if (this.has(name)) {
return this.get(name);
@ -86,7 +86,7 @@ export class LayerController extends Controller {
}, context);
createWidget({
type: "bi.absolute",
element: op.container || this.options.render,
element: op.container || this.getRender(),
items: [
{
el: layout,
@ -108,7 +108,7 @@ export class LayerController extends Controller {
height: offset.height || (w.outerHeight() - (offset.top || 0) - (offset.bottom || 0)) || "",
};
const { top, left, scaleY, scaleX } = DOM.getPositionRelativeContainingBlockRect(layout.element[0]);
const { top, left, scaleY, scaleX } = getPositionRelativeContainingBlockRect(layout.element[0]);
css.top = (css.top - top) / scaleY;
css.left = (css.left - left) / scaleX;
@ -164,6 +164,15 @@ export class LayerController extends Controller {
return this;
}
getRender() {
// 默认挂在body上的都找最外层的body
let render = this.options.render;
if (render === 'body') {
return getOuterBody();
}
return render;
}
_getLayout(name) {
return this.layouts[name];
}

2
packages/fineui/src/core/controller/controller.masker.js

@ -12,7 +12,7 @@ export class MaskersController extends LayerController {
}
init() {
super.init(arguments);
super.init(...arguments);
this.zindex = zIndex_masker;
}
}

29
packages/fineui/src/core/controller/controller.popover.js

@ -7,6 +7,7 @@ import { isNotNull, each } from "../2.base";
import { Widget } from "../4.widget";
import { createWidget } from "../5.inject";
import { zIndex_popover } from "../constant";
import { getOuterBody } from "../utils/dom";
export class PopoverController extends Controller {
constructor() {
@ -37,7 +38,7 @@ export class PopoverController extends Controller {
type: "bi.popover",
}, context);
this.add(name, popover, options, context);
return this;
}
@ -56,8 +57,9 @@ export class PopoverController extends Controller {
this.floatContainer[name].visible();
const popover = this.get(name);
popover.show && popover.show();
const W = Widget._renderEngine.createElement(this.options.render).width(),
H = Widget._renderEngine.createElement(this.options.render).height();
const render = this.getRender();
const el = Widget._renderEngine.createElement(render)[0];
const W = el.clientWidth, H = el.clientHeight;
const w = popover.element.width(), h = popover.element.height();
let left = (W - w) / 2, top = (H - h) / 2;
if (left < 0) {
@ -72,7 +74,7 @@ export class PopoverController extends Controller {
top: `${top}px`,
});
}
return this;
}
@ -85,7 +87,7 @@ export class PopoverController extends Controller {
this.floatContainer[name].invisible();
this.modal && this.floatContainer[name].element.__releaseZIndexMask__(this.zindexMap[name]);
}
return this;
}
@ -124,7 +126,7 @@ export class PopoverController extends Controller {
popover.on(BI.Popover.EVENT_CLOSE, () => this.close(name));
createWidget({
type: "bi.absolute",
element: options.container || this.options.render,
element: options.container || this.getRender(),
items: [{
el: this.floatContainer[name],
left: 0,
@ -133,10 +135,19 @@ export class PopoverController extends Controller {
bottom: 0,
}],
});
return this;
}
getRender() {
// 默认挂在body上的都找最外层的body
let render = this.options.render;
if (render === 'body') {
return getOuterBody();
}
return render;
}
get(name) {
return this.floatManager[name];
}
@ -156,7 +167,7 @@ export class PopoverController extends Controller {
delete this.zindexMap[name];
delete this.floatContainer[name];
delete this.floatOpened[name];
return this;
}
@ -170,7 +181,7 @@ export class PopoverController extends Controller {
this.floatContainer = {};
this.floatOpened = {};
this.zindexMap = {};
return this;
}

132
packages/fineui/src/core/element/element.js

@ -1,76 +1,78 @@
import { registFunction } from "./plugins";
import { isWidget, isString } from "../2.base";
export function Element(widget, attribs) {
this.l = this.r = this.t = this.b = 0; // 边框
this.marginLeft = this.marginRight = this.marginTop = this.marginBottom = 0; // 间距
this.position = {};
this.classMap = {};
this.classList = [];
this.children = [];
this.attribs = attribs || {};
this.styles = {};
// 兼容处理
this["0"] = this;
this.style = {};
if (!widget) {
this.nodeName = "body";
this.position.x = 0;
this.position.y = 0;
this.attribs.id = "body";
} else if (isWidget(widget)) {
this.widget = widget;
this.nodeName = widget.options.tagName;
this.textBaseLine = widget.options.textBaseLine;
} else if (isString(widget)) {
this.nodeName = widget;
export let Element = class {
constructor(widget, attribs) {
this.l = this.r = this.t = this.b = 0; // 边框
this.marginLeft = this.marginRight = this.marginTop = this.marginBottom = 0; // 间距
this.position = {};
this.classMap = {};
this.classList = [];
this.children = [];
this.attribs = attribs || {};
this.styles = {};
// 兼容处理
this["0"] = this;
this.style = {};
if (!widget) {
this.nodeName = "body";
this.position.x = 0;
this.position.y = 0;
this.attribs.id = "body";
} else if (isWidget(widget)) {
this.widget = widget;
this.nodeName = widget.options.tagName;
this.textBaseLine = widget.options.textBaseLine;
} else if (isString(widget)) {
this.nodeName = widget;
}
}
}
initElement(Element);
registFunction(Element);
appendChild(child) {
child.parent = this;
if (this.children.push(child) !== 1) {
const sibling = this.children[this.children.length - 2];
sibling.next = child;
child.prev = sibling;
child.next = null;
}
}
append(child) {
child.parent = this;
if (this.children.push(child) !== 1) {
const sibling = this.children[this.children.length - 2];
sibling.next = child;
child.prev = sibling;
child.next = null;
}
}
function initElement(element) {
element.prototype = {
appendChild(child) {
child.parent = this;
if (this.children.push(child) !== 1) {
const sibling = this.children[this.children.length - 2];
sibling.next = child;
child.prev = sibling;
child.next = null;
}
},
append(child) {
child.parent = this;
if (this.children.push(child) !== 1) {
const sibling = this.children[this.children.length - 2];
sibling.next = child;
child.prev = sibling;
child.next = null;
}
},
getParent() {
return this.parent;
},
getSiblings() {
const parent = this.getParent();
return parent ? parent.getChildren() : [this];
},
getChildren() {
return this.children;
},
getParent() {
return this.parent;
}
getBounds() {
return {};
},
getSiblings() {
const parent = this.getParent();
width() {
return parent ? parent.getChildren() : [this];
}
},
height() {
getChildren() {
return this.children;
}
getBounds() {
return {};
}
width() {}
height() {}
}
registFunction(Element);
},
};
export function setElement(element) {
Element = element;
}

2
packages/fineui/src/core/func/alias.js

@ -637,7 +637,7 @@ export const getEncodeURL = function(urlTemplate, param) {
export const encodeURIComponent = function(url) {
const specialCharsMap = getSpecialCharsMap();
url = url || "";
url = url ?? "";
url = replaceAll(`${url}`, keys(specialCharsMap || []).join("|"), str => {
switch (str) {
case "\\":

22
packages/fineui/src/core/func/date.js

@ -56,7 +56,7 @@ export function getMonthDays(date, month = date.getMonth()) {
if (((0 === (year % 4)) && ((0 !== (year % 100)) || (0 === (year % 400)))) && month === 1) {
return 29;
}
return _MD[month];
}
@ -85,7 +85,7 @@ export function getDayOfYear(date) {
const now = getDate(date.getFullYear(), date.getMonth(), date.getDate(), 0, 0, 0);
const then = getDate(date.getFullYear(), 0, 0, 0, 0, 0);
const time = now - then;
return Math.floor(time / DAY);
}
@ -108,7 +108,7 @@ export function getWeekNumber(date) {
const ms = d.valueOf();
d.setMonth(0);
d.setDate(1);
return Math.floor((ms - d.valueOf()) / (7 * 864e5)) + 1;
}
@ -135,7 +135,7 @@ export function getOffsetQuarter(date, n) {
}
dt.setDate(day);
dt.setMonth(dt.getMonth() + parseInt(n, 10) * 3);
return dt;
}
@ -159,7 +159,7 @@ export function getQuarterStartMonth(date) {
if (nowMonth > 8) {
quarterStartMonth = 9;
}
return quarterStartMonth;
}
@ -179,8 +179,8 @@ export function getQuarterStartDate(date) {
*/
export function getQuarterEndDate(date) {
const quarterEndMonth = getQuarterStartMonth(date) + 2;
return getDate(date.getFullYear(), quarterEndMonth, getMonthDays(date));
return getDate(date.getFullYear(), quarterEndMonth, getMonthDays(date, quarterEndMonth));
}
/**
@ -198,7 +198,7 @@ export function getOffsetMonth(date, n) {
}
dt.setDate(day);
dt.setMonth(dt.getMonth() + parseInt(n, 10));
return dt;
}
@ -210,7 +210,7 @@ export function getOffsetMonth(date, n) {
export function getWeekStartDate(date) {
const w = date.getDay();
const startOfWeek = StartOfWeek % 7;
return getOffsetDate(date, _OFFSET[w < startOfWeek ? (7 + w - startOfWeek) : (w - startOfWeek)]);
}
@ -222,7 +222,7 @@ export function getWeekStartDate(date) {
export function getWeekEndDate(date) {
const w = date.getDay();
const startOfWeek = StartOfWeek % 7;
return getOffsetDate(date, _OFFSET[w < startOfWeek ? (7 + w - startOfWeek) : (w - startOfWeek)] + 6);
}
@ -349,7 +349,7 @@ export function print(date, str) {
if (!_global.navigator) {
return false;
}
return /Konqueror|Safari|KHTML/i.test(navigator.userAgent);
};

2
packages/fineui/src/core/loader/loader.style.js

@ -13,7 +13,7 @@ export class StyleLoaderManager extends OB {
}
_init() {
super._init(arguments);
super._init(...arguments);
this.stylesManager = {};
}

47
packages/fineui/src/core/platform/web/config.js

@ -3,7 +3,8 @@ import { Providers } from "../../5.inject";
import { Plugin } from "../../6.plugin";
import { isSupportCss3, isIE, getIEVersion } from "../../platform/web";
import { HorizontalAlign, VerticalAlign } from "../../constant";
import { FlexCenterLayout, FlexHorizontalLayout, VerticalLayout,
import {
FlexCenterLayout, FlexHorizontalLayout, VerticalLayout,
FlexVerticalLayout, TdLayout, InlineLayout,
FloatHorizontalFillLayout, ResponsiveInlineLayout,
InlineCenterAdaptLayout, FlexVerticalCenterAdapt,
@ -26,7 +27,7 @@ import { HalfButton } from "@/case";
// 1、支持flex的浏览器下使用flex布局
// 2、不支持flex的浏览器下使用inline布局
// 3、当列宽既需要自动列宽又需要自适应列宽时,inline布局也处理不了了。当横向出滚动条时使用table布局,不出滚动条时使用float布局
let _isSupportFlex, _isSupportGrid;
let _isSupportFlex, _isSupportGrid, _isSupportSticky;
function isSupportFlex() {
if (!_isSupportFlex) {
@ -45,7 +46,7 @@ function isSupportGrid() {
}
// 判断浏览器是否支持sticky 属性
const isSupportSticky = (function () {
const innerSupportSticky = function() {
const vendorList = ["", "-webkit-", "-ms-", "-moz-", "-o-"],
vendorListLength = vendorList.length,
stickyElement = document.createElement("div");
@ -57,7 +58,15 @@ const isSupportSticky = (function () {
}
return false;
}());
};
// 判断浏览器是否支持sticky 属性
const isSupportSticky = function() {
if (_isSupportSticky == null) {
_isSupportSticky = innerSupportSticky();
}
return _isSupportSticky;
};
const configWidget = Plugin.configWidget;
@ -74,7 +83,7 @@ configWidget("bi.horizontal", ob => {
}
return extend({
scrollx: true,
scrollx: true
}, ob, { type: InlineLayout.xtype });
});
configWidget("bi.vertical", ob => {
@ -90,15 +99,15 @@ configWidget("bi.vertical", ob => {
return {
type: InlineLayout.xtype,
horizontalAlign: ob.horizontalAlign,
items: [item],
items: [item]
};
}),
})
});
}
if (ob.verticalAlign === VerticalAlign.Stretch) {
if (isSupportFlex()) {
return extend({
horizontalAlign: HorizontalAlign.Stretch,
horizontalAlign: HorizontalAlign.Stretch
}, ob, { type: FlexVerticalLayout.xtype });
}
}
@ -128,12 +137,12 @@ configWidget("bi.inline", ob => {
// 宽度是不是受限
if ((ob.scrollable !== true && ob.scrollx !== true) || ob.horizontalAlign === HorizontalAlign.Stretch) {
return extend({
verticalAlign: VerticalAlign.Top,
verticalAlign: VerticalAlign.Top
}, ob, { type: FloatHorizontalFillLayout.xtype });
}
return extend({
horizontalAlign: HorizontalAlign.Stretch,
horizontalAlign: HorizontalAlign.Stretch
}, ob, { type: TableAdaptLayout.xtype });
}
if (Providers.getProvider(SystemProvider.xtype).getResponsiveMode()) {
@ -179,18 +188,18 @@ configWidget("bi.horizontal_adapt", ob => {
// 主要出现在center_adapt或者horizontal_adapt的场景,或者主动设置horizontalAlign的场景
if (isAdapt) {
return extend({
horizontalAlign: HorizontalAlign.Center,
horizontalAlign: HorizontalAlign.Center
}, ob, { type: TableAdaptLayout.xtype });
}
if (supportFlex) {
return extend({
horizontalAlign: HorizontalAlign.Center,
scrollx: false,
scrollx: false
}, ob, { type: FlexHorizontalLayout.xtype });
}
return extend({
horizontalAlign: HorizontalAlign.Center,
horizontalAlign: HorizontalAlign.Center
}, ob, { type: TableAdaptLayout.xtype });
});
@ -210,14 +219,14 @@ configWidget("bi.horizontal_fill", ob => {
return extend({
horizontalAlign: HorizontalAlign.Stretch,
verticalAlign: VerticalAlign.Stretch,
scrollx: false,
scrollx: false
}, ob, { type: FlexHorizontalLayout.xtype });
}
if ((ob.horizontalAlign && ob.horizontalAlign !== HorizontalAlign.Stretch) || (ob.scrollable === true || ob.scrollx === true)) {
// 宽度不受限,要用table布局
return extend({
horizontalAlign: HorizontalAlign.Stretch,
verticalAlign: VerticalAlign.Stretch,
verticalAlign: VerticalAlign.Stretch
}, ob, { type: TableLayout.xtype });
}
@ -228,14 +237,14 @@ configWidget("bi.vertical_fill", ob => {
return extend({
horizontalAlign: HorizontalAlign.Stretch,
verticalAlign: VerticalAlign.Stretch,
scrolly: false,
scrolly: false
}, ob, { type: FlexVerticalLayout.xtype });
}
if (ob.scrollable === true || ob.scrollx === true || ob.scrolly === true) {
// 有滚动条,降级到table布局处理
return extend({}, ob, {
type: TdLayout.xtype,
items: map(ob.items, (i, item) => [item]),
items: map(ob.items, (i, item) => [item])
});
}
let hasAuto = false;
@ -258,12 +267,12 @@ configWidget("bi.vertical_fill", ob => {
return extend({}, ob, { type: VTapeLayout.xtype });
});
configWidget("bi.horizontal_sticky", ob => {
if (!isSupportSticky) {
if (!isSupportSticky()) {
return extend({ scrollx: true }, ob, { type: HorizontalFillLayout.xtype });
}
});
configWidget("bi.vertical_sticky", ob => {
if (!isSupportSticky) {
if (!isSupportSticky()) {
return extend({ scrolly: true }, ob, { type: VerticalFillLayout.xtype });
}
});

4
packages/fineui/src/core/platform/web/detectElementResize.js

@ -46,10 +46,14 @@ export const ResizeDetector = {
addResizeListener(widget.element[0], fn);
return function () {
// 如果fn是debounce需要cancel掉
fn?.cancel?.();
removeResizeListener(widget.element[0], fn);
};
},
removeResizeListener(widget, fn) {
// 如果fn是debounce需要cancel掉
fn?.cancel?.();
removeResizeListener(widget.element[0], fn);
},
};

96
packages/fineui/src/core/platform/web/jquery/jquery.polyfill.js

@ -1,96 +0,0 @@
/**
* 用于 jquery worker 环境或者 V8 引擎的 polyfill
*/
// import { _global } from "@/core/0.foundation";
const _global = globalThis;
const document = {};
const fakeElement = Object.create(document);
Object.assign(document, {
parentNode: null,
nodeType: 9,
head: fakeElement,
body: fakeElement,
ownerDocument: document,
documentElement: document,
toString() {
return "FakeDocument";
},
appendChild(child) {
return child;
},
implementation: {
createHTMLDocument() {
return {
body: {
childNodes: [],
},
};
},
createDocumentFragment() {
return this;
},
},
getElementById() {
return fakeElement;
},
createElement() {
return fakeElement;
},
createDocumentFragment() {
return this;
},
cloneNode() {
return this;
},
getElementsByTagName() {
return [fakeElement];
},
getElementsByClassName() {
return [fakeElement];
},
setAttribute() {
return null;
},
getAttribute() {
return null;
},
removeChild() {
return null;
},
addEventListener() {
return null;
},
removeEventListener() {
return null;
},
});
Object.assign(fakeElement, {
nodeType: 1,
style: {},
ownerDocument: document,
parentNod: fakeElement,
firstChild: fakeElement,
lastChild: fakeElement,
toString() {
return "FakeElement";
},
});
function polyfillProps(key, obj) {
_global[key] = _global[key] || obj;
if (typeof obj === "object") {
try {
Object.assign(_global[key], obj);
} catch(err) {
// _global[key] 可能只有 get 方法
}
}
}
_global.window = _global;
polyfillProps("XMLHttpRequest", function () {});
polyfillProps("document", document);

19
packages/fineui/src/core/platform/web/load.js

@ -81,25 +81,34 @@ export function syncLoadScript(uri) {
return false;
}
const promises = {};
/**
* 默认的异步加载javascript方法
* @param uri
* @returns {Promise<boolean>|Promise<unknown>}
*/
export function loadScript(uri) {
if (_LOADED[uri]) {
return Promise.resolve(true);
if (promises[uri]) {
return Promise.all(promises[uri]);
}
return new Promise(resolve => {
const promise = new Promise(resolve => {
const script = document.createElement("script");
script.type = "application/javascript";
script.src = uri;
script.onload = function() {
_LOADED[uri] = true;
resolve(true);
};
script.src = uri;
document.head.appendChild(script);
_LOADED[uri] = true;
});
promises[uri] = [];
promises[uri].push(promise);
return Promise.all(promises[uri]);
}
/**

2
packages/fineui/src/core/structure/cache.js

@ -13,7 +13,7 @@ export const Cache = {
return Cache._getKeyPrefix() + (key || "");
},
getItem: function (key, opt = {}) {
const { defaultValue, typeConversion } = opt;
const { defaultValue = null, typeConversion } = opt;
const storageKey = Cache._generateKey(key);
let value = localStorage.getItem(storageKey);

2
packages/fineui/src/core/utils/color.js

@ -42,7 +42,7 @@ export function getContrastColor(color) {
return "#FFFFFF";
}
return "#3D4D66";
return "#091e40";
}
export function rgb2hex(rgbColour) {

36
packages/fineui/src/core/utils/dom.js

@ -1,9 +1,9 @@
/**
* 对DOM操作的通用函数
*/
import { Widget } from "../4.widget";
import { each, isEmpty, isNull, isNotNull } from "../2.base";
import $ from "jquery";
import { each, isEmpty, isNotNull, isNull } from "../2.base";
import { Widget } from "../4.widget";
import { isIE } from "./../platform";
export function ready(fn) {
@ -66,10 +66,10 @@ export function preloadImages(srcArray, onload) {
each(srcArray, (i, src) => {
images[i] = new Image();
images[i].src = src;
images[i].onload = function() {
images[i].onload = function () {
complete();
};
images[i].onerror = function() {
images[i].onerror = function () {
complete();
};
});
@ -741,8 +741,14 @@ export function getComboPosition(combo, popup, extraWidth, extraHeight, needAdap
default:
break;
}
if (needAdaptHeight === true) {
popup.resetHeight && popup.resetHeight(Math.min(viewportBounds.height - position.top - (positionRelativeElement ? positionRelativeElement.getBoundingClientRect().top : 0), maxHeight));
if (needAdaptHeight === true && popup.resetHeight) {
const comboRect = combo.element[0].getBoundingClientRect();
const relativeOffset = positionRelativeElement ? positionRelativeElement.getBoundingClientRect().top : 0;
if (position.top < comboRect.top) {
popup.resetHeight(Math.min(viewportBounds.height - position.top - relativeOffset, comboRect.top, maxHeight));
} else if (position.top >= comboRect.bottom) {
popup.resetHeight(Math.min(viewportBounds.height - position.top - relativeOffset, viewportBounds.height - comboRect.bottom, maxHeight));
}
}
return position;
@ -788,3 +794,21 @@ export function getPositionRelativeContainingBlockRect(element) {
scaleY: rect.height / positionRelativeElement.offsetHeight,
};
}
/**
* 获取最外层的body
*/
export function getOuterBody() {
// 默认挂在body上的都找最外层的body
// let parentWindow = window;
// let body = document.body;
// try {
// while (parentWindow.parent !== parentWindow) {
// parentWindow = parentWindow.parent;
// }
// body = parentWindow.document.body;
// } catch (e) {}
// return body;
return document.body;
}

6
packages/fineui/src/core/utils/index.js

@ -6,7 +6,11 @@ import * as platformDom from "./dom";
import * as colorDom from "./color";
export const DOM = {
export let DOM = {
...platformDom,
...colorDom,
};
export function setDom(dom) {
DOM = dom;
}

6
packages/fineui/src/core/wrapper/layout/flex/flex.horizontal.js

@ -51,7 +51,7 @@ export class FlexHorizontalLayout extends Layout {
if (o.columnSize.length > 0) {
return o.columnSize.indexOf("fill") >= 0 || o.columnSize.indexOf("auto") >= 0;
}
return some(o.items, (i, item) => {
if (item.width === "fill" || item.width === "auto") {
return true;
@ -87,7 +87,7 @@ export class FlexHorizontalLayout extends Layout {
}
}
if (columnSize > 0) {
w.element.width(this._optimiseGap(columnSize));
w.element.css({ width: this._optimiseGap(columnSize) });
}
if (columnSize === "fill") {
w.element.addClass("f-f");
@ -103,7 +103,7 @@ export class FlexHorizontalLayout extends Layout {
w.element.addClass("l-c");
}
this._handleGap(w, item, i);
return w;
}

7
packages/fineui/src/core/wrapper/layout/layout.card.js

@ -107,9 +107,12 @@ export class CardLayout extends Layout {
throw new Error("cardName not exist", cardName);
}
const child = this._children[this._getChildName(cardName)];
let child = this._children[this._getChildName(cardName)];
this._deleteCardByName(cardName);
child && child._destroy();
if (child) {
child._destroy();
child = null;
}
}
addCardByName(cardName, cardItem) {

6
packages/fineui/src/core/wrapper/layout/layout.table.js

@ -56,10 +56,10 @@ export class TableLayout extends Layout {
"grid-column-gap": this._optimiseGap(o.hgap),
});
}
return {
type: "bi.default",
ref(_ref) {
ref: (_ref) => {
this.layout = _ref;
},
items: this._formatItems(items),
@ -110,7 +110,7 @@ export class TableLayout extends Layout {
type: "bi.layout",
}), cls);
}
return first(wrapLayout(item), cls);
})), []);
}

50
packages/fineui/src/fix/fix.compact.js

@ -7,7 +7,7 @@ import {
extend,
isFunction,
Widget,
Providers
Providers, emptyFn
} from "@/core";
import { Fix } from "./fix";
@ -142,9 +142,9 @@ export function createStore() {
if (this._store || this.options._store) {
const store = Widget.findStore(
this.options.context ||
this._parent ||
this.options.element ||
this._context
this._parent ||
this.options.element ||
this._context
);
if (store) {
pushTarget(store);
@ -204,6 +204,7 @@ Widget.prototype.__destroy = function () {
unwatch();
});
});
Fix.cleanupDeps();
this._watchers && (this._watchers = []);
if (this.store) {
this.store._parent && (this.store._parent = null);
@ -213,19 +214,38 @@ Widget.prototype.__destroy = function () {
delete this.__cacheStore;
};
Widget.prototype.__watch = function (getter, handler, options) {
this._watchers = this._watchers || [];
const watcher = new Fix.Watcher(
null,
() => getter.call(this, this),
(handler &&
((v) => {
handler.call(this, this, v);
})) ||
emptyFn,
extend({ deep: true }, options)
);
this._watchers.push(() => {
watcher.teardown();
});
return watcher.value;
};
_.each(["_render", "__afterRender", "_mount", "__afterMount"], (name) => {
const old = Widget.prototype[name];
old &&
(Widget.prototype[name] = function () {
this.store && pushTarget(this.store);
let res;
try {
res = old.apply(this, arguments);
} catch (e) {
console.error(e);
}
this.store && popTarget();
(Widget.prototype[name] = function () {
this.store && pushTarget(this.store);
let res;
try {
res = old.apply(this, arguments);
} catch (e) {
console.error(e);
}
this.store && popTarget();
return res;
});
return res;
});
});

791
packages/fineui/src/fix/fix.js

File diff suppressed because it is too large Load Diff

2
packages/fineui/src/index.js

@ -10,10 +10,12 @@ export * from "./widget";
export * from "./component";
export * from "./fix";
export * from "./router";
export * from "./third";
export * as Popper from "@popperjs/core";
export const jQuery = jquery;
export const $ = jquery;
import * as D from "@/core/decorator";
import { Fix } from "./fix";
export const Decorators = { ...D, Model: Fix.Model };

116
packages/fineui/src/less/base/single/button/button.less

@ -1,4 +1,5 @@
@import "../../../index.less";
@hoverVal: opacity .3s ease;
@activeVal: transform .5s ease, opacity 1s ease;
@activeStopVal: transform 0s;
@ -6,6 +7,7 @@ body .bi-button, #body .bi-button {
&.hack {
.border-radius(0px);
}
.border-radius(2px);
outline: 0;
border: 1px solid @color-bi-border-button;
@ -14,41 +16,51 @@ body .bi-button, #body .bi-button {
text-align: center;
vertical-align: middle;
cursor: pointer;
&.loading {
cursor: not-allowed;
}
&.block {
font-size: inherit;
border-width: 0;
.border-radius(0px);
}
&.clear {
font-size: inherit;
border-width: 0;
background-color: transparent;
&:hover, &:focus {
.opacity(0.8);
}
&:active {
.opacity(1);
}
&:after {
display: none;
}
}
&.plain {
font-size: inherit;
border-width: 0;
background-color: transparent;
}
&.ghost {
font-size: inherit;
background-color: transparent;
}
&.button-common {
&, & .b-font:before {
color: @color-bi-text-common-button;
}
&.light {
border-width: 0;
background-color: @color-bi-background-common-light-button;
@ -65,81 +77,101 @@ body .bi-button, #body .bi-button {
background-color: @color-bi-background-active-common-light-button;
}
}
&.clear, &.clear .b-font:before {
color: @color-bi-text-common-clear-button;
}
&.plain, &.plain .b-font:before {
background-color: transparent;
color: @color-bi-text-common-plain-button;
}
&.plain {
&:hover {
background-color: @color-bi-background-hover-plain-button;
}
&:focus {
background-color: @color-bi-background-active-plain-button;
}
}
&.ghost {
&, & .b-font:before {
color: @color-bi-text-common-ghost-button;
}
&:hover, &:focus, &:hover .b-font:before, &:focus .b-font:before {
color: @color-bi-text;
background-color: @color-bi-background-hover-common-ghost-button;
}
&:active {
background-color: @color-bi-background-active-common-ghost-button;
}
}
}
&.button-ignore {
& {
background-color: @color-bi-background-ignore-button;
&:not(.clear, .ghost) {
border-color: @color-bi-border-ignore-button;
}
}
&:not(.clear, .ghost) {
&, & .b-font:before {
color: @color-bi-text-ignore-button;
}
}
&.clear {
background-color: transparent;
border-width: 0;
}
&.ghost {
&:hover, &:focus {
border-color: @color-bi-border-ignore-button;
&, & .b-font:before {
color: @color-bi-text-ignore-button;
}
}
background-color: transparent;
border-color: @color-bi-border-dark-gray-line;
}
&.plain, &.plain .b-font:before {
background-color: transparent;
color: @color-bi-text-ignore-plain-button;
}
&.plain {
&:hover {
background-color: @color-bi-background-hover-plain-button;
}
&:focus {
background-color: @color-bi-background-active-plain-button;
}
}
}
&.button-success {
& {
&, & .b-font:before {
color: @color-bi-text-success-button;
}
background-color: @color-bi-background-success-button;
border-color: @color-bi-border-success-button;
}
&.light {
border-width: 0;
background-color: @color-bi-background-success-light-button;
@ -156,47 +188,59 @@ body .bi-button, #body .bi-button {
background-color: @color-bi-background-active-success-light-button;
}
}
&.clear {
&, & .b-font:before {
color: @color-bi-text-success-clear-button;
}
background-color: transparent;
border-width: 0;
}
&.ghost {
&, & .b-font:before {
color: @color-bi-text-success-ghost-button;
}
background-color: transparent;
&:hover, &:focus, &:hover .b-font:before, &:focus .b-font:before {
color: @color-bi-text;
background-color: @color-bi-background-success-button;
}
&:active {
background-color: @color-bi-background-success-button;
}
}
&.plain, &.plain .b-font:before {
background-color: transparent;
color: @color-bi-text-success-plain-button;
}
&.plain {
&:hover {
background-color: @color-bi-background-hover-plain-button;
}
&:focus {
background-color: @color-bi-background-active-plain-button;
}
}
}
&.button-warning {
& {
&, & .b-font:before {
color: @color-bi-text-warning-button;
}
background-color: @color-bi-background-warning-button;
border-color: @color-bi-border-warning-button;
}
&.light {
border-width: 0;
background-color: @color-bi-background-warning-light-button;
@ -213,47 +257,59 @@ body .bi-button, #body .bi-button {
background-color: @color-bi-background-active-warning-light-button;
}
}
&.clear {
&, & .b-font:before {
color: @color-bi-text-warning-clear-button;
}
background-color: transparent;
border-width: 0;
}
&.ghost {
&, & .b-font:before {
color: @color-bi-text-warning-ghost-button;
}
background-color: transparent;
&:hover, &:focus, &:hover .b-font:before, &:focus .b-font:before {
color: @color-bi-text;
background-color: @color-bi-background-warning-button;
}
&:active {
background-color: @color-bi-background-warning-button;
}
}
&.plain, &.plain .b-font:before {
background-color: transparent;
color: @color-bi-text-warning-plain-button;
}
&.plain {
&:hover {
background-color: @color-bi-background-hover-plain-button;
}
&:focus {
background-color: @color-bi-background-active-plain-button;
}
}
}
&.button-error {
& {
&, & .b-font:before {
color: @color-bi-text-error-button;
}
background-color: @color-bi-background-error-button;
border-color: @color-bi-border-error-button;
}
&.light {
border-width: 0;
background-color: @color-bi-background-error-light-button;
@ -270,39 +326,49 @@ body .bi-button, #body .bi-button {
background-color: @color-bi-background-active-error-light-button;
}
}
&.clear {
&, & .b-font:before {
color: @color-bi-text-error-clear-button;
}
background-color: transparent;
border-width: 0;
}
&.ghost {
&, & .b-font:before {
color: @color-bi-text-error-ghost-button;
}
background-color: transparent;
&:hover, &:focus, &:hover .b-font:before, &:focus .b-font:before {
color: @color-bi-text;
background-color: @color-bi-background-error-button;
}
&:active {
background-color: @color-bi-background-error-button;
}
}
&.plain, &.plain .b-font:before {
background-color: transparent;
color: @color-bi-text-error-plain-button;
}
&.plain {
&:hover {
background-color: @color-bi-background-hover-plain-button;
}
&:focus {
background-color: @color-bi-background-active-plain-button;
}
}
}
&.button-common.disabled,
&.button-success.disabled,
&.button-error.disabled,
@ -311,25 +377,30 @@ body .bi-button, #body .bi-button {
&, & .b-font:before {
color: @color-bi-text-disabled-button !important;
}
background-color: fade(@color-bi-background-disabled-button, 20%) !important;
@ieColor: argb(fade(@color-bi-background-disabled-button, 20%));
filter: ~"progid:DXImageTransform.Microsoft.gradient(startColorstr=@{ieColor},endColorstr=@{ieColor})";
border-color: @color-bi-border-disabled-button !important;
}
&:after {
display: none;
}
}
&.button-ignore.disabled {
&, & .b-font:before {
color: @color-bi-text-disabled-ignore-button !important;
}
background: @color-bi-background-disabled-ignore-button !important;
border-color: @color-bi-border-disabled-ignore-button !important;
&:after {
display: none;
}
}
&.button-common.disabled,
&.button-success.disabled,
&.button-warning.disabled,
@ -339,65 +410,81 @@ body .bi-button, #body .bi-button {
&, & .b-font:before {
color: @color-bi-text-disabled-ignore-clear-button !important;
}
background: transparent !important;
border-width: 0 !important;
&:hover, &:focus, &:active {
.opacity(1);
}
}
&.plain {
&, & .b-font:before {
color: @color-bi-text-disabled-plain-clear-button !important;
}
background: transparent !important;
border-width: 0 !important;
&:hover, &:focus, &:active {
.opacity(1);
}
}
&.ghost {
&, & .b-font:before {
// color: @color-bi-text-disabled-ignore-ghost-button !important;
}
background: transparent !important;
// border-color: @color-bi-border-disabled-ignore-ghost-button !important;
.opacity(0.5);
}
}
&.button-ignore.disabled {
&.ghost {
.opacity(1);
}
}
&.button-common.disabled {
&.ghost {
&, & .b-font:before {
color: @color-bi-text-disabled-common-ghost-button !important;
}
border-color: @color-bi-border-disabled-common-ghost-button !important;
}
}
&.button-success.disabled {
&.ghost {
&, & .b-font:before {
color: @color-bi-text-disabled-success-ghost-button !important;
}
border-color: @color-bi-border-disabled-success-ghost-button !important;
}
}
&.button-warning.disabled {
&.ghost {
&, & .b-font:before {
color: @color-bi-text-disabled-warning-ghost-button !important;
}
border-color: @color-bi-border-disabled-warning-ghost-button !important;
}
}
&.button-error.disabled {
&.ghost {
&, & .b-font:before {
color: @color-bi-text-disabled-error-ghost-button !important;
}
border-color: @color-bi-border-disabled-error-ghost-button !important;
}
}
@ -424,14 +511,17 @@ body .bi-button, #body .bi-button {
top: 0;
pointer-events: none;
}
&.hack:after {
content: none;
}
&:active:after {
transform: scale(0, 1);
.opacity(0.1);
.transition(@activeStopVal)
}
&:hover, &:focus {
& .bi-button-mask {
.opacity(0.1);
@ -440,6 +530,7 @@ body .bi-button, #body .bi-button {
}
}
}
&.button-ignore {
&:after {
content: "";
@ -456,42 +547,52 @@ body .bi-button, #body .bi-button {
top: 0;
pointer-events: none;
}
&.hack:after {
content: none;
}
&:active:after {
transform: scale(0, 1);
.opacity(0.1);
.transition(@activeStopVal)
}
&:hover, &:focus {
&:not(.clear, .ghost) {
background-color: @color-bi-background-hover-ignore-button-mask;
}
.transition(@hoverVal);
}
}
& .popup-content{
& .popup-content {
font-size: @font-size-14;
}
.bi-button-mask {
pointer-events: none;
}
}
.bi-theme-dark {
.bi-button, #body .bi-button {
.bi-theme-dark, #body .bi-theme-dark {
.bi-button {
&.button-ignore {
background-color: @color-bi-background-ignore-button-theme-dark;
&:hover, &:focus {
background-color: @color-bi-background-hover-ignore-button-theme-dark;
}
&:active {
background-color: @color-bi-background-active-ignore-button-theme-dark;
}
&.clear {
background-color: transparent;
}
&.ghost {
border-color: @color-bi-border-dark-gray-line-theme-dark;
}
@ -506,31 +607,36 @@ body .bi-button, #body .bi-button {
border-color: @color-bi-border-dark-gray-line-theme-dark !important;
background-color: fade(@color-bi-background-disabled-button-theme-dark, 20%) !important;
@ieColor: argb(fade(@color-bi-background-disabled-button-theme-dark, 20%));
filter: ~"progid:DXImageTransform.Microsoft.gradient(startColorstr=@{ieColor},endColorstr=@{ieColor})";
&.clear {
background-color: transparent !important;
}
&.ghost {
// 深色系下灰化就统一用灰化色
&, & .b-font:before {
color: @color-bi-text-disabled-theme-dark !important;
}
background: transparent !important;
.opacity(1);
}
}
}
&.button-ignore.disabled {
&, &.base-disabled {
&, & .b-font:before {
color: @color-bi-text-disabled-theme-dark !important;
}
border-color: @color-bi-border-dark-gray-line-theme-dark !important;
background-color: @color-bi-background-ignore-button-theme-dark !important;
&.clear {
background-color: transparent !important;
}
&.ghost {
background: transparent !important;
.opacity(1);

3
packages/fineui/src/less/base/single/input/radio.less

@ -15,6 +15,9 @@
border-color: @color-bi-border-hover-active-radio;
}
}
.bi-radio-icon {
background-color: @color-bi-background-active-radio-content;
}
&.active {
& .radio-content, &.radio-content {
border-color: @color-bi-border-hover-active-radio;

4
packages/fineui/src/less/base/tree/ztree.less

@ -272,7 +272,9 @@
}
.bi-theme-dark {
.ztree.solid li span.button.center_docu, .ztree.solid li span.button.bottom_docu {
.ztree.solid li span.button.center_docu, .ztree.solid li span.button.bottom_docu,.ztree.solid li span.button.roots_docu {
background: none;
&:before {
border-right: 1px solid @border-color-dark-gray-line-theme-dark;
}

81
packages/fineui/src/less/core/utils/common.less

@ -2,16 +2,20 @@
.base-disabled {
cursor: not-allowed !important;
.cursor-pointer {
cursor: not-allowed !important;
}
.cursor-default {
cursor: not-allowed !important;
}
.cursor-move {
cursor: not-allowed !important;
}
.cursor-text{
.cursor-text {
cursor: not-allowed !important;
}
@ -54,16 +58,20 @@
.base-invalid {
cursor: default !important;
.cursor-pointer {
cursor: default !important;
}
.cursor-default {
cursor: default !important;
}
.cursor-move {
cursor: default !important;
}
.cursor-text{
.cursor-text {
cursor: default !important;
}
}
@ -73,6 +81,7 @@
&:focus, &:hover {
border-color: @color-bi-border-highlight;
}
// ie下不支持focus-within, 和上面写在一起会导致ie下:hover不生效
&:focus-within {
border-color: @color-bi-border-highlight;
@ -125,6 +134,7 @@
& .bi-input {
color: @color-bi-text-background;
}
& .bi-textarea {
color: @color-bi-text-background;
}
@ -134,9 +144,11 @@
.bi-background {
background-color: @color-bi-background-normal-theme-dark;
color: @color-bi-text-background-theme-dark;
& .bi-input {
color: @color-bi-text-background-theme-dark;
}
& .bi-textarea {
color: @color-bi-text-background-theme-dark;
}
@ -146,9 +158,11 @@
.bi-header-background {
background-color: @color-bi-background-header-background;
color: @color-bi-text-header-background;
& .bi-input {
color: @color-bi-text-header-background;
}
& .bi-textarea {
color: @color-bi-text-header-background;
}
@ -158,9 +172,11 @@
.bi-header-background {
background-color: @color-bi-background-header-background-theme-dark;
color: @color-bi-text-header-background-theme-dark;
& .bi-input {
color: @color-bi-text-header-background-theme-dark;
}
& .bi-textarea {
color: @color-bi-text-header-background-theme-dark;
}
@ -171,12 +187,15 @@
.bi-card {
background-color: @color-bi-background-card;
color: @color-bi-text-card;
& .bi-input {
color: @color-bi-text-card;
}
& .bi-textarea {
color: @color-bi-text-card;
}
&.bi-primary {
background-color: @background-color-card-primary;
color: @color-card-primary;
@ -184,12 +203,14 @@
}
.bi-theme-dark {
.bi-card {
.bi-card, &.bi-card {
background-color: @color-bi-background-card-theme-dark;
color: @color-bi-text-card-theme-dark;
& .bi-input {
color: @color-bi-text-card-theme-dark;
}
& .bi-textarea {
color: @color-bi-text-card-theme-dark;
}
@ -199,20 +220,24 @@
//灰化
.bi-disabled {
color: @color-bi-text-disabled;
& .bi-input {
color: @color-bi-text-disabled;
}
& .bi-textarea {
color: @color-bi-text-disabled;
}
}
.bi-theme-dark {
.bi-disabled {
.bi-disabled, &.bi-disabled {
color: @color-bi-text-disabled-theme-dark;
& .bi-input {
color: @color-bi-text-disabled-theme-dark;
}
& .bi-textarea {
color: @color-bi-text-disabled-theme-dark;
}
@ -222,20 +247,24 @@
// 提示区域, 灰色字体
.bi-tips {
color: @color-bi-text-tips;
& .bi-input {
color: @color-bi-text-tips;
}
& .bi-textarea {
color: @color-bi-text-tips;
}
}
.bi-theme-dark {
.bi-tips {
.bi-tips, &.bi-tips {
color: @color-bi-text-tips-theme-dark;
& .bi-input {
color: @color-bi-text-tips-theme-dark;;
}
& .bi-textarea {
color: @color-bi-text-tips-theme-dark;
}
@ -245,9 +274,11 @@
// 边框
.bi-border {
border: 1px solid @color-bi-border-line;
&.disabled {
border-color: @color-bi-border-disabled !important;
}
&.error {
border-color: @border-color-negative;
}
@ -255,9 +286,11 @@
.bi-border-top {
border-top: 1px solid @color-bi-border-line;
&.disabled {
border-color: @color-bi-border-disabled !important;
}
&.error {
border-color: @border-color-negative;
}
@ -265,9 +298,11 @@
.bi-border-right {
border-right: 1px solid @color-bi-border-line;
&.disabled {
border-color: @color-bi-border-disabled !important;
}
&.error {
border-color: @border-color-negative;
}
@ -275,9 +310,11 @@
.bi-border-bottom {
border-bottom: 1px solid @color-bi-border-line;
&.disabled {
border-color: @color-bi-border-disabled !important;
}
&.error {
border-color: @border-color-negative;
}
@ -285,9 +322,11 @@
.bi-border-left {
border-left: 1px solid @color-bi-border-line;
&.disabled {
border-color: @color-bi-border-disabled !important;
}
&.error {
border-color: @border-color-negative;
}
@ -296,6 +335,7 @@
.bi-theme-dark {
.bi-border {
border: 1px solid @color-bi-border-line-theme-dark;
&.disabled {
border-color: @color-bi-border-disabled-theme-dark !important;
}
@ -303,6 +343,7 @@
.bi-border-top {
border-top: 1px solid @color-bi-border-line-theme-dark;
&.disabled {
border-color: @color-bi-border-disabled-theme-dark !important;
}
@ -310,6 +351,7 @@
.bi-border-right {
border-right: 1px solid @color-bi-border-line-theme-dark;
&.disabled {
border-color: @color-bi-border-disabled-theme-dark !important;
}
@ -317,6 +359,7 @@
.bi-border-bottom {
border-bottom: 1px solid @color-bi-border-line-theme-dark;
&.disabled {
border-color: @color-bi-border-disabled-theme-dark !important;
}
@ -324,6 +367,7 @@
.bi-border-left {
border-left: 1px solid @color-bi-border-line-theme-dark;
&.disabled {
border-color: @color-bi-border-disabled-theme-dark !important;
}
@ -421,9 +465,11 @@
// 标红
.bi-keyword-red-mark {
color: @color-bi-text-redmark;
& .bi-input {
color: @color-bi-text-redmark;
}
& .bi-textarea {
color: @color-bi-text-redmark;
}
@ -432,9 +478,11 @@
// 高亮
.bi-high-light {
color: @color-bi-text-highlight;
& .bi-input {
color: @color-bi-text-highlight;
}
& .bi-textarea {
color: @color-bi-text-highlight;
}
@ -442,9 +490,11 @@
.bi-error {
color: @color-bi-text-failure;
& .bi-input {
color: @color-bi-text-failure;
}
& .bi-textarea {
color: @color-bi-text-failure;
}
@ -453,9 +503,11 @@
.bi-high-light-background {
background-color: @color-bi-background-highlight;
color: @color-bi-text;
& .bi-input {
color: @color-bi-text;
}
& .bi-textarea {
color: @color-bi-text;
}
@ -464,9 +516,11 @@
.bi-error-background {
background-color: @color-bi-background-failure;
color: @color-bi-text;
& .bi-input {
color: @color-bi-text;
}
& .bi-textarea {
color: @color-bi-text;
}
@ -474,6 +528,7 @@
.bi-high-light-border {
border: 1px solid @color-bi-border-highlight;
&.disabled {
border-color: @color-bi-border-disabled !important;
}
@ -481,6 +536,7 @@
.bi-high-light-border-top {
border-top: 1px solid @color-bi-border-highlight;
&.disabled {
border-color: @color-bi-border-disabled !important;
}
@ -488,6 +544,7 @@
.bi-high-light-border-right {
border-right: 1px solid @color-bi-border-highlight;
&.disabled {
border-color: @color-bi-border-disabled !important;
}
@ -495,6 +552,7 @@
.bi-high-light-border-bottom {
border-bottom: 1px solid @color-bi-border-highlight;
&.disabled {
border-color: @color-bi-border-disabled !important;
}
@ -502,6 +560,7 @@
.bi-high-light-border-left {
border-left: 1px solid @color-bi-border-highlight;
&.disabled {
border-color: @color-bi-border-disabled !important;
}
@ -512,9 +571,11 @@
color: @color-bi-text-water-mark;
cursor: text;
.user-select-disable();
& .bi-input {
color: @color-bi-text-water-mark;
}
& .bi-textarea {
color: @color-bi-text-water-mark;
}
@ -523,9 +584,11 @@
.bi-theme-dark {
.bi-water-mark {
color: @color-bi-text-water-mark-theme-dark;
& .bi-input {
color: @color-bi-text-water-mark-theme-dark;
}
& .bi-textarea {
color: @color-bi-text-water-mark-theme-dark;
}
@ -548,24 +611,30 @@
// 蒙板
.bi-mask {
color: @color-bi-text;
& .bi-input {
color: @color-bi-text;
}
& .bi-textarea {
color: @color-bi-text;
}
.background-color(@color-bi-background-black, 20%);
}
.bi-theme-dark {
.bi-mask {
color: @color-bi-text-white-theme-dark;
& .bi-input {
color: @color-bi-text-white-theme-dark;
}
& .bi-textarea {
color: @color-bi-text-white-theme-dark;
}
.background-color(@color-bi-background-default, 20%);
}
}
@ -576,7 +645,7 @@
}
.bi-theme-dark {
.bi-z-index-mask {
.bi-z-index-mask, &.bi-z-index-mask {
//color: @color-bi-background-default;
//& .bi-input {
// color: @color-bi-background-default;

19
packages/fineui/src/less/core/utils/list-item.less

@ -93,6 +93,25 @@
}
}
.bi-theme-dark {
.bi-list-item-simple {
&.disabled {
&, &:hover, &:active {
color: @color-bi-text-disabled-theme-dark !important;
& .bi-input {
color: @color-bi-text-disabled-theme-dark !important;
}
& .bi-textarea {
color: @color-bi-text-disabled-theme-dark !important;
}
& .bi-high-light {
color: @color-bi-text-disabled-theme-dark !important;
}
}
}
}
}
// hover的时候文字变黑
// active的时候文字高亮
.bi-list-item-effect {

2
packages/fineui/src/less/lib/colors.less

@ -132,3 +132,5 @@
@color-bi-border-warning: @border-color-warning;
//边框提亮
@color-bi-border-highlight: @border-color-highlight;
@color-bi-alert-warning: @color-bi-orange;

2
packages/fineui/src/less/lib/constant.less

@ -248,3 +248,5 @@
//box-shadow效果
@box-shadow-toast: 0 6px 20px -2px rgba(9, 30, 64, 0.16);
@color-bi-orange: #f0ac3c;

5
packages/fineui/src/less/lib/font.less

@ -58,3 +58,8 @@
@font-key: "e1d0";
@font-add: "e1c7";
@font-alert-warning: 'e755';
@font-alert-success: 'e6de';
@font-alert-info: 'e74b';
@font-alert-error: 'e757';

18
packages/fineui/src/less/resource/app.less

@ -25,10 +25,20 @@ body {
outline: 0 none;
}
div, textarea {
scrollbar-color: fade(@scroll-color, 10%) fade(@scroll-color, 5%);
scrollbar-width: thin;
@-moz-document url-prefix() {
div, textarea {
scrollbar-color: fade(@scroll-color, 10%) fade(@scroll-color, 5%);
scrollbar-width: thin;
}
.bi-theme-dark {
div, textarea {
scrollbar-color: fade(@scroll-color-theme-dark, 10%) fade(@scroll-color-theme-dark, 5%);
}
}
}
div, textarea {
&::-webkit-scrollbar {
-webkit-appearance: none;
width: 10px;
@ -63,8 +73,6 @@ div, textarea {
.bi-theme-dark {
div, textarea {
scrollbar-color: fade(@scroll-color-theme-dark, 10%) fade(@scroll-color-theme-dark, 5%);
&::-webkit-scrollbar {
-webkit-appearance: none;
}

5
packages/fineui/src/less/resource/font.less

@ -118,3 +118,8 @@
.font(text-align-left-font, @font-align-left);
.font(text-align-center-font, @font-align-center);
.font(text-align-right-font, @font-align-right);
.font(alert-success-font, @font-alert-success, @color-sea-green-100);
.font(alert-warning-font, @font-alert-warning, @color-bi-alert-warning);
.font(alert-error-font, @font-alert-error, @color-red-100);
.font(alert-info-font, @font-alert-info, @color-bi-text-highlight);

2
packages/fineui/src/less/visual.less

@ -43,13 +43,11 @@
.background-color(@color, @alpha) {
background-color: fade(@color, @alpha);
@ieColor: argb(fade(@color, @alpha));
filter: ~"progid:DXImageTransform.Microsoft.gradient(startColorstr=@{ieColor},endColorstr=@{ieColor})";
}
.opacity(@opa) {
opacity: @opa;
@opa-ie: @opa*100;
filter: ~'alpha(opacity=@{opa-ie})';
}
.transition(@transition) {

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save