Compare commits

..

245 Commits

Author SHA1 Message Date
Aeolus.Zhang-张敬峥 e35e089fb8 Merge pull request #3773 in VISUAL/fineui from DEC/fineui:release/11.0 to master 1 day ago
superman e54a6eaf0e Merge pull request #305704 in DEC/fineui from final/11.0 to release/11.0 1 day ago
stan.yang-黄子丹阳 17c4dfd321 Pull request #305697: BI-163235 fix: 需要加个判空, 没有fmt不需要走到里面去 1 day ago
stan.yang 28b0750e6d BI-163235 fix: 需要加个判空, 没有fmt不需要走到里面去 1 day ago
stan.yang 6ab23c0bd3 Merge branch 'final/11.0' of ssh://code.fineres.com:7999/~stan.yang/fineui-dec into final/11.0 1 day ago
superman 304eca0684 Merge pull request #305063 in DEC/fineui from final/11.0 to release/11.0 6 days ago
superman 064340bac4 Merge pull request #305062 in DEC/fineui from persist/11.0 to final/11.0 6 days ago
superman c4f9b6ab0f Merge pull request #305061 in DEC/fineui from final/11.0 to persist/11.0 6 days ago
Aeolus.Zhang-张敬峥 50568d50b8 Merge pull request #3772 in VISUAL/fineui from DEC/fineui:release/11.0 to master 1 week ago
superman 3f3072a382 Merge pull request #304968 in DEC/fineui from final/11.0 to release/11.0 1 week ago
stan.yang-黄子丹阳 43ac6f9b1a Pull request #304893: REPORT-146679 fix: 年月日时间格式调整 1 week ago
Aeolus.Zhang-张敬峥 afa712fc93 Merge pull request #3771 in VISUAL/fineui from DEC/fineui:release/11.0 to master 1 week ago
superman 51fc78227f Merge pull request #304895 in DEC/fineui from final/11.0 to release/11.0 1 week ago
stan.yang 65d4baf0a4 REPORT-146679 fix: 年月日时间格式调整 1 week ago
stan.yang fc847c9ee3 Merge branch 'final/11.0' of ssh://code.fineres.com:7999/~stan.yang/fineui-dec into final/11.0 1 week ago
stan.yang-黄子丹阳 71fa452dc9 Pull request #304888: REPORT-146679 fix: 自定义格式特殊时间格式判断 1 week ago
stan.yang e3899c6962 REPORT-146679 fix: 自定义格式特殊时间格式判断 1 week ago
stan.yang b617898f23 Merge branch 'final/11.0' of ssh://code.fineres.com:7999/~stan.yang/fineui-dec into final/11.0 1 week ago
stan.yang-黄子丹阳 04d503911c Pull request #304880: REPORT-146679 fix: 自定义格式时check判断(合到final分支) 1 week ago
stan.yang 9098fd9c2b Merge branch 'feature/x' of ssh://code.fineres.com:7999/~stan.yang/fineui-dec into feature/x 1 week ago
stan.yang-黄子丹阳 a8aeed2a32 Pull request #304751: REPORT-146679 fix: 自定义格式时check判断 1 week ago
stan.yang 3c91972edb REPORT-146679 fix: 自定义格式时check判断 1 week ago
stan.yang 4e3eed5094 Merge branch 'feature/x' of ssh://code.fineres.com:7999/~stan.yang/fineui-dec into feature/x 1 week ago
superman ccdae39675 Merge pull request #304017 in DEC/fineui from bugfix/11.0 to feature/x 2 weeks ago
superman 085c6328bb Merge pull request #304016 in DEC/fineui from release/11.0 to bugfix/11.0 2 weeks ago
superman 18b1f64d8a Merge pull request #304009 in DEC/fineui from release/11.0 to feature/x 2 weeks ago
superman 831ef87d35 Merge pull request #304008 in DEC/fineui from final/11.0 to release/11.0 2 weeks ago
superman cbaaad43d0 Merge pull request #304006 in DEC/fineui from release/11.0 to final/11.0 2 weeks ago
superman 0ddb922130 Merge pull request #303441 in DEC/fineui from bugfix/11.0 to feature/x 2 weeks ago
superman ebf96fb845 Merge pull request #303440 in DEC/fineui from release/11.0 to bugfix/11.0 2 weeks ago
superman 92d1302f71 Merge pull request #303368 in DEC/fineui from release/11.0 to feature/x 2 weeks ago
superman f6940f04de Merge pull request #303367 in DEC/fineui from final/11.0 to release/11.0 2 weeks ago
Zoey.Chen-陈泽语 a0dc9822c1 Pull request #303353: 无jira任务,feature/x 合并 Final/11.0 2 weeks ago
superman 999aee2ae8 Merge pull request #302057 in DEC/fineui from master to feature/x 3 weeks ago
superman a354a72ee5 Merge pull request #302056 in DEC/fineui from bugfix/11.0 to feature/x 3 weeks ago
superman e4136d4ec2 Merge pull request #302055 in DEC/fineui from release/11.0 to bugfix/11.0 3 weeks ago
Aeolus.Zhang-张敬峥 315a689901 Merge pull request #3770 in VISUAL/fineui from DEC/fineui:release/11.0 to master 3 weeks ago
superman f366c28a50 Merge pull request #302051 in DEC/fineui from bugfix/11.0 to release/11.0 3 weeks ago
superman ae4c0bff61 Merge pull request #302049 in DEC/fineui from feature/x to bugfix/11.0 3 weeks ago
Jimmy.Chai-柴嘉明 486db8cc5c Pull request #302013: BI-154736 fix: 图标更新 4 weeks ago
Jimmy.Chai f8469a4ffb BI-154736 fix: 图标更新 4 weeks ago
Zoey.Chen-陈泽语 55612d6b01 Pull request #301964: BI-160928 fix:日期区间绑定字段,勾选显示时间,设置值下拉,有对应值的内容没有高亮显示 1 month ago
chenzeyu 47b705ed64 BI-160928 fix:日期区间绑定字段,勾选显示时间,设置值下拉,有对应值的内容没有高亮显示 1 month ago
Xavier.Meng-孟宇翔 c51dec6e65 Pull request #301371: BI-161134 perf: 表格每次 populate 都会因调用 getScrollWidth 多一次重排 1 month ago
Xavier.Meng ddc4156b37 BI-161134 fix: display: none 时计算为 0 下次调用也需重新计算,不能单靠 isNull 判断 1 month ago
Xavier.Meng 995145fa4f BI-161134 perf: 表格每次 populate 都会因调用 getScrollWidth 多一次重排 1 month ago
superman 9e3bbaa872 Merge pull request #301311 in DEC/fineui from release/11.0 to feature/x 1 month ago
superman 5c3d224610 Merge pull request #301310 in DEC/fineui from final/11.0 to release/11.0 1 month ago
superman 201258ca98 Merge pull request #301309 in DEC/fineui from persist/11.0 to final/11.0 1 month ago
superman c6c0caeebd Merge pull request #301288 in DEC/fineui from final/11.0 to persist/11.0 1 month ago
stan.yang-黄子丹阳 edecbe0c02 Pull request #301267: JSY-46272 fix: 补充两个遗漏的类型 1 month ago
stan.yang 5406efcdb8 JSY-46272 fix: 补充两个遗漏的类型 1 month ago
Dailer-刘荣歆 60f50c5f76 Pull request #300914: 无JIRA 同步一下fineui/master的代码 1 month ago
superman eeb7b6f5ae Merge pull request #300918 in DEC/fineui from master to feature/x 1 month ago
Dailer-刘荣歆 370b226c91 Pull request #19: JSY-46272 feat: 动态日期时间支持屏蔽工作日 1 month ago
stan.yang-黄子丹阳 d6916c4f48 Pull request #3769: JSY-46272 feat: 动态日期时间支持屏蔽工作日 1 month ago
stan.yang f562dc17dc JSY-46272 feat: 动态日期时间支持屏蔽工作日 1 month ago
stan.yang 5529014af9 Merge branch 'master' of ssh://code.fineres.com:7999/~stan.yang/fineui 1 month ago
superman 240591cb99 Merge pull request #300156 in DEC/fineui from bugfix/11.0 to feature/x 1 month ago
superman d791c7d09e Merge pull request #300155 in DEC/fineui from release/11.0 to bugfix/11.0 1 month ago
superman aec558e98f Merge pull request #300087 in DEC/fineui from release/11.0 to feature/x 1 month ago
superman 3d0f0fd5ab Merge pull request #300086 in DEC/fineui from final/11.0 to release/11.0 1 month ago
superman 6dd4ea67ba Merge pull request #300084 in DEC/fineui from release/11.0 to final/11.0 1 month ago
superman 2f2d743669 Merge pull request #297366 in DEC/fineui from bugfix/11.0 to feature/x 2 months ago
superman ad160661ef Merge pull request #297365 in DEC/fineui from release/11.0 to bugfix/11.0 2 months ago
superman ed4954af28 Merge pull request #297358 in DEC/fineui from release/11.0 to feature/x 2 months ago
superman 7e5a5febe6 Merge pull request #297357 in DEC/fineui from final/11.0 to release/11.0 2 months ago
superman 24a6253b12 Merge pull request #297356 in DEC/fineui from persist/11.0 to final/11.0 2 months ago
superman a88cd1f8d0 Merge pull request #297355 in DEC/fineui from final/11.0 to persist/11.0 2 months ago
superman 1dc4256416 Merge pull request #296829 in DEC/fineui from master to feature/x 2 months ago
superman 103a5068da Merge pull request #296828 in DEC/fineui from bugfix/11.0 to feature/x 2 months ago
superman 40b664c511 Merge pull request #296827 in DEC/fineui from release/11.0 to bugfix/11.0 2 months ago
superman a274513cdb Merge pull request #296826 in DEC/fineui from final/11.0 to release/11.0 2 months ago
superman 97d6987aae Merge pull request #296797 in DEC/fineui from release/11.0 to final/11.0 2 months ago
North-陈鼎 9536cf974d Pull request #3768: 无jira任务 fix: 更新图标 2 months ago
pionpill 9ee8c8cd8a 无jira任务 fix: 更新图标 2 months ago
superman 80cda54d95 Merge pull request #296636 in DEC/fineui from release/11.0 to feature/x 2 months ago
superman eb4a3e5f4b Merge pull request #296635 in DEC/fineui from final/11.0 to release/11.0 2 months ago
Zoey.Chen-陈泽语 8c24e5d353 Pull request #296629: 无jira任务 fix: 6.1.4合final,feature/x 合Final/11.0 2 months ago
superman ab0a2c7d01 Merge pull request #296616 in DEC/fineui from master to feature/x 2 months ago
Aeolus.Zhang-张敬峥 51e1831760 Merge pull request #3767 in VISUAL/fineui from DEC/fineui:release/11.0 to master 2 months ago
superman b9f247fd99 Merge pull request #296611 in DEC/fineui from release/11.0 to feature/x 2 months ago
treecat-罗群 3448ddf422 Pull request #296610: fix冲突 2 months ago
Treecat fa87bf8175 Merge branch 'final/11.0' of ssh://code.fineres.com:7999/dec/fineui into release/11.0 2 months ago
Kobi-蒋科斌 2ef56cd93d Pull request #296592: 更新字体文件 2 months ago
Kobi 504a65e04e 更新字体文件 2 months ago
superman 9a269e5f5a Merge pull request #295916 in DEC/fineui from bugfix/11.0 to feature/x 2 months ago
superman 8ce815c7fd Merge pull request #295915 in DEC/fineui from release/11.0 to bugfix/11.0 2 months ago
superman ded0c6ca0b Merge pull request #295856 in DEC/fineui from master to feature/x 3 months ago
superman 7414c1302b Merge pull request #295855 in DEC/fineui from release/11.0 to feature/x 3 months ago
Aeolus.Zhang-张敬峥 b3b96840b3 Merge pull request #3766 in VISUAL/fineui from DEC/fineui:release/11.0 to master 3 months ago
superman b7cc0b4d5a Merge pull request #295852 in DEC/fineui from bugfix/11.0 to release/11.0 3 months ago
superman 03be191bf0 Merge pull request #295846 in DEC/fineui from feature/x to bugfix/11.0 3 months ago
superman 6a15a83734 Merge pull request #295586 in DEC/fineui from master to feature/x 3 months ago
stan.yang-黄子丹阳 041e7d8707 Pull request #3765: report-136587 feat: 日期区间组件增加格式options 3 months ago
stan.yang 2eda6cd069 report-136587 feat: 日期区间组件增加格式options 3 months ago
stan.yang fce1c89ac5 Merge branch 'master' of ssh://code.fineres.com:7999/~stan.yang/fineui 3 months ago
superman 9d1d4ca5ed Merge pull request #295312 in DEC/fineui from bugfix/11.0 to feature/x 3 months ago
superman 99e282996d Merge pull request #295311 in DEC/fineui from release/11.0 to bugfix/11.0 3 months ago
superman b94d2da2c8 Merge pull request #295180 in DEC/fineui from master to feature/x 3 months ago
superman afa62a9743 Merge pull request #295179 in DEC/fineui from release/11.0 to feature/x 3 months ago
Aeolus.Zhang-张敬峥 0409431be2 Merge pull request #3764 in VISUAL/fineui from DEC/fineui:release/11.0 to master 3 months ago
Rex-张岚奕 4f5bfe9967 Pull request #295105: BI-157882 fix:目录分组图标Unicode错误 3 months ago
Rex 4412c8cc12 Merge remote-tracking branch 'origin/release/11.0' into release/11.0 3 months ago
Rex 03ed736f4f BI-157882 fix:目录分组图标Unicode错误 3 months ago
superman 41070d94c1 Merge pull request #294533 in DEC/fineui from master to feature/x 3 months ago
Oliver.Ke-柯键基 6078e5031c Pull request #3763: BI-158367 fix: 调整下SingleSelectSearchLoader里,SingleSelectRadioItem的文本间距 3 months ago
Oliver.Ke 403e0f10cf BI-158367 fix: 调整下SingleSelectSearchLoader里,SingleSelectRadioItem的文本间距 3 months ago
superman 4f6215e203 Merge pull request #294427 in DEC/fineui from bugfix/11.0 to feature/x 3 months ago
superman e43cf72a86 Merge pull request #294426 in DEC/fineui from release/11.0 to bugfix/11.0 3 months ago
superman 420a89c41f Merge pull request #294340 in DEC/fineui from release/11.0 to feature/x 3 months ago
superman 0a328f5807 Merge pull request #294339 in DEC/fineui from final/11.0 to release/11.0 3 months ago
superman f20898f8f5 Merge pull request #294338 in DEC/fineui from persist/11.0 to final/11.0 3 months ago
superman 5c6564db22 Merge pull request #294337 in DEC/fineui from final/11.0 to persist/11.0 3 months ago
superman ad0c75d4d7 Merge pull request #292707 in DEC/fineui from master to feature/x 3 months ago
Oliver.Ke-柯键基 2ca1c7bca0 Pull request #3762: BI-155367 fix: 兜底处理一下,避免在事件回调里同步移除回调,导致后续遍历执行报错 3 months ago
superman 9bdefbc00c Merge pull request #292635 in DEC/fineui from bugfix/11.0 to feature/x 3 months ago
superman 5f18b11539 Merge pull request #292634 in DEC/fineui from release/11.0 to bugfix/11.0 3 months ago
Oliver.Ke 0664def54e BI-155367 fix: 兜底处理一下,避免执行事件回调的时候同步移除回调,导致后续遍历执行报错 3 months ago
superman dc40fc4231 Merge pull request #292519 in DEC/fineui from master to feature/x 3 months ago
superman d20172e23d Merge pull request #292518 in DEC/fineui from release/11.0 to feature/x 3 months ago
Aeolus.Zhang-张敬峥 f62d6ef118 Merge pull request #3761 in VISUAL/fineui from DEC/fineui:release/11.0 to master 3 months ago
Rex-张岚奕 6fdb0ced94 Pull request #292363: 无jira任务 fix: 更新图标 3 months ago
Rex 456fc07fd0 无jira任务 fix: 更新图标 3 months ago
superman 8cf59fa5e0 Merge pull request #291648 in DEC/fineui from bugfix/11.0 to feature/x 3 months ago
superman 0d5656af05 Merge pull request #291647 in DEC/fineui from release/11.0 to bugfix/11.0 3 months ago
superman 8df1568895 Merge pull request #291583 in DEC/fineui from release/11.0 to feature/x 3 months ago
superman 868bc2650d Merge pull request #291582 in DEC/fineui from final/11.0 to release/11.0 3 months ago
superman 3109b6a6e6 Merge pull request #291580 in DEC/fineui from release/11.0 to final/11.0 3 months ago
Jimmy.Chai-柴嘉明 00a9ac9cb4 Pull request #291439: BI-148470 refactor: 增加popup 3 months ago
Jimmy.Chai af8f11c8b4 BI-148470 refactor: 增加popup 3 months ago
Zoey.Chen-陈泽语 2541b80dda Pull request #291117: BI-157020 fix: 深色模式下clear的按钮带有背景色 3 months ago
chenzeyu 70398dc693 BI-157020 fix: 深色模式下clear的按钮带有背景色 3 months ago
superman fe88c68d4c Merge pull request #290524 in DEC/fineui from master to feature/x 3 months ago
Aeolus.Zhang-张敬峥 2ebeaea723 Merge pull request #3759 in VISUAL/fineui from DEC/fineui:release/11.0 to master 3 months ago
superman ddfb42d603 Merge pull request #290515 in DEC/fineui from bugfix/11.0 to feature/x 3 months ago
superman 7628077495 Merge pull request #290516 in DEC/fineui from master to feature/x 3 months ago
superman eba5b19c51 Merge pull request #290514 in DEC/fineui from release/11.0 to bugfix/11.0 3 months ago
superman 9a47c14a1a Merge pull request #290513 in DEC/fineui from final/11.0 to release/11.0 3 months ago
superman fd14436ef5 Merge pull request #290512 in DEC/fineui from persist/11.0 to final/11.0 3 months ago
Aeolus.Zhang-张敬峥 d9c5c91f16 Merge pull request #3758 in VISUAL/fineui from DEC/fineui:release/11.0 to master 4 months ago
superman 0259ad5770 Merge pull request #290507 in DEC/fineui from bugfix/11.0 to release/11.0 4 months ago
Libq-李秉权 dec3e9aa3d Pull request #290457: REPORT-118844 fix: 添加 _.partition 源码否则使用时报错 4 months ago
superman 4839754703 Merge pull request #290498 in DEC/fineui from feature/x to bugfix/11.0 4 months ago
Libq-李秉权 7b56bad08c REPORT-118844 fix: 添加 _.partition 源码否则使用时报错 4 months ago
Jimmy.Chai-柴嘉明 de59128cd9 Pull request #290440: BI-153502 feat:图标更新 4 months ago
Jimmy.Chai 51bc6e0a1e BI-153502 feat:图标更新 4 months ago
superman f57f490911 Merge pull request #290439 in DEC/fineui from final/11.0 to persist/11.0 4 months ago
superman 1c3f7487f8 Merge pull request #290062 in DEC/fineui from master to feature/x 5 months ago
Aeolus.Zhang-张敬峥 3b1803803b Merge pull request #3757 in VISUAL/fineui from DEC/fineui:release/11.0 to master 5 months ago
superman 0f7d3e273f Merge pull request #290057 in DEC/fineui from release/11.0 to feature/x 5 months ago
superman a18e7b58e2 Merge pull request #290056 in DEC/fineui from final/11.0 to release/11.0 5 months ago
Jimmy.Chai-柴嘉明 07b2b1371a Pull request #290053: BI-155273 fix: 新增一些方法 5 months ago
Jimmy.Chai 1667f4027c BI-155273 fix: 新增一些方法 5 months ago
superman 1e192d1ab7 Merge pull request #289741 in DEC/fineui from master to feature/x 5 months ago
Aeolus.Zhang-张敬峥 03d67523e2 Merge pull request #3756 in VISUAL/fineui from DEC/fineui:release/11.0 to master 5 months ago
superman 71bccebb01 Merge pull request #289736 in DEC/fineui from release/11.0 to feature/x 5 months ago
superman ad1c582fa5 Merge pull request #289735 in DEC/fineui from final/11.0 to release/11.0 5 months ago
Zoey.Chen-陈泽语 8f43e2edd0 Pull request #289713: feature/x 合并 Final/11.0 5 months ago
Jimmy.Chai-柴嘉明 90c334eb6b Pull request #288929: BI-154149 fix: 无法点击清空 5 months ago
Jimmy.Chai b88df2cebe BI-154149 fix: 无法点击清空 5 months ago
superman 91ce429bc4 Merge pull request #288540 in DEC/fineui from master to feature/x 5 months ago
Rex-张岚奕 97a1326fbb Pull request #3755: BI-154214 fix:国际化 5 months ago
Rex 224adfb287 Merge remote-tracking branch 'origin/master' 5 months ago
Rex b43a965129 BI-154214 fix:国际化 5 months ago
superman ab5ba86ad2 Merge pull request #288343 in DEC/fineui from master to feature/x 5 months ago
Jimmy.Chai-柴嘉明 2afc95338e Pull request #3754: Feature/x 同步代码 5 months ago
Dailer-刘荣歆 4992342fb4 Pull request #288309: 恢复feature/x的提交 5 months ago
翠屏山最速下山传说 e08301be71 Reapply "Pull request #16: Feature/x" 5 months ago
superman 972cb3e3a8 Merge pull request #288303 in DEC/fineui from release/11.0 to feature/x 5 months ago
superman a5f594f459 Merge pull request #288302 in DEC/fineui from final/11.0 to release/11.0 5 months ago
superman af0fb62ed6 Merge pull request #288301 in DEC/fineui from persist/11.0 to final/11.0 5 months ago
superman d99be89566 Merge pull request #288300 in DEC/fineui from master to feature/x 5 months ago
Jimmy.Chai-柴嘉明 a1d6d677c9 Pull request #288298: BI-154374 Revert "BI-144276 fix: 【来源POC项目】增量更新开始时间" 5 months ago
superman e158840ea2 Merge pull request #288299 in DEC/fineui from final/11.0 to persist/11.0 5 months ago
Jimmy.Chai 39b15b4d95 BI-154374 Revert "BI-144276 fix: 【来源POC项目】增量更新开始时间" 5 months ago
Dailer-刘荣歆 0161e21fdd Pull request #288297: Feature/x 5 months ago
Aeolus.Zhang-张敬峥 7b9ac61899 Merge pull request #3753 in VISUAL/fineui from DEC/fineui:release/11.0 to master 5 months ago
Dailer-刘荣歆 14353b915c Pull request #288296: 无JIRA tab添加子card destory监听 5 months ago
翠屏山最速下山传说 0395933470 无JIRA tab添加子card destory监听 5 months ago
翠屏山最速下山传说 5a053e72ce Revert "Pull request #16: Feature/x" 5 months ago
Dailer-刘荣歆 50477a38e8 Pull request #16: Feature/x 5 months ago
Dailer-刘荣歆 4d544143ee Pull request #15: Master 同步 5 months ago
翠屏山最速下山传说 1cc207c31c Revert "无JIRA layout 的updateChildren过程中传递context" 5 months ago
翠屏山最速下山传说 df79823d5a 无JIRA tab添加子card destory监听 5 months ago
Jimmy.Chai-柴嘉明 4c1e562b55 Pull request #288291: BI-154253 fix: 点击报错 5 months ago
Aeolus.Zhang-张敬峥 1636d613b3 Merge pull request #3751 in VISUAL/fineui from DEC/fineui:release/11.0 to master 5 months ago
Jimmy.Chai 4b0f0a951b BI-154253 fix: 点击报错 5 months ago
Jimmy.Chai-柴嘉明 48e2ba0f9a Pull request #288091: BI-154136 fix: 按钮被遮挡 5 months ago
Jimmy.Chai 06435006a4 BI-154136 fix: 按钮被遮挡 5 months ago
superman f4d0d83e23 Merge pull request #285016 in DEC/fineui from bugfix/11.0 to feature/x 6 months ago
superman 5fb9c3a0f2 Merge pull request #285015 in DEC/fineui from release/11.0 to bugfix/11.0 6 months ago
superman 34e92d0ab7 Merge pull request #285008 in DEC/fineui from release/11.0 to feature/x 6 months ago
superman deddfff869 Merge pull request #285007 in DEC/fineui from final/11.0 to release/11.0 6 months ago
superman 238ea0f7c2 Merge pull request #285006 in DEC/fineui from persist/11.0 to final/11.0 6 months ago
superman 22e9daa70c Merge pull request #285005 in DEC/fineui from final/11.0 to persist/11.0 6 months ago
superman 0a544c3d77 Merge pull request #284642 in DEC/fineui from bugfix/11.0 to feature/x 6 months ago
superman a375d14791 Merge pull request #284641 in DEC/fineui from release/11.0 to bugfix/11.0 6 months ago
Dailer-刘荣歆 c2dd955f76 Pull request #284633: Uploaded files 6 months ago
Dailer-刘荣歆 60c26badc9 Uploaded files 6 months ago
Jimmy.Chai-柴嘉明 21b31324e5 Pull request #284490: KERNEL-18940 refactor: 处理搜索,新增一些属性和方法 6 months ago
Jimmy.Chai d161133498 KERNEL-18940 refactor: 处理搜索,新增一些属性和方法 6 months ago
Jimmy.Chai-柴嘉明 b12fec6362 Pull request #284407: BI-153053 fix: 展开的加载按钮异常 6 months ago
Jimmy.Chai 5c0d4a81c9 BI-153053 fix: 展开的加载按钮异常 6 months ago
Jimmy.Chai-柴嘉明 d3a97b3bfc Pull request #283866: BI-124572 fix: 过滤组件主题色修复 6 months ago
Jimmy.Chai 191175deea BI-124572 fix: 过滤组件主题色修复 6 months ago
Jimmy.Chai-柴嘉明 ead8ffff91 Pull request #283695: KERNEL-18940 refactor: 类型补充 6 months ago
Jimmy.Chai cc1364720c KERNEL-18940 refactor: 类型补充 6 months ago
Jimmy.Chai-柴嘉明 270b1cd58b Pull request #283501: KERNEL-18940 refactor: 新增一些属性和方法 6 months ago
superman 902346f237 Merge pull request #283545 in DEC/fineui from bugfix/11.0 to feature/x 6 months ago
superman 2a77e6e8f5 Merge pull request #283544 in DEC/fineui from release/11.0 to bugfix/11.0 6 months ago
superman 94c5b7a93d Merge pull request #283513 in DEC/fineui from release/11.0 to feature/x 6 months ago
superman d452f1b4dc Merge pull request #283512 in DEC/fineui from final/11.0 to release/11.0 6 months ago
superman c0594d0d94 Merge pull request #283510 in DEC/fineui from release/11.0 to final/11.0 6 months ago
Jimmy.Chai 504af4e069 KERNEL-18940 refactor: 新增一些属性和方法 6 months ago
superman c89b353b52 Merge pull request #283410 in DEC/fineui from bugfix/11.0 to feature/x 6 months ago
superman b6d47c5b86 Merge pull request #283409 in DEC/fineui from release/11.0 to bugfix/11.0 6 months ago
superman 012115c61c Merge pull request #283357 in DEC/fineui from release/11.0 to feature/x 6 months ago
superman 7c4b771af1 Merge pull request #283356 in DEC/fineui from final/11.0 to release/11.0 6 months ago
Zoey.Chen-陈泽语 4d41e71764 Pull request #283342: 无jira任务:feature/x 合 Final/11.0 6 months ago
superman 702363ed00 Merge pull request #283209 in DEC/fineui from master to feature/x 6 months ago
superman 1d925a259c Merge pull request #283208 in DEC/fineui from bugfix/11.0 to feature/x 6 months ago
superman 6b4e1d2bb5 Merge pull request #283207 in DEC/fineui from release/11.0 to bugfix/11.0 6 months ago
Zoey.Chen-陈泽语 454f8fb1a1 Pull request #283202: Revert "BI-148724 fix: 树控件查看已选项连发两次请求" 6 months ago
chenzeyu 17805ff4ff Revert "BI-148724 fix: 树控件查看已选项连发两次请求" 6 months ago
superman 993fbe3bf8 Merge pull request #283195 in DEC/fineui from release/11.0 to feature/x 6 months ago
superman ac1f441731 Merge pull request #283194 in DEC/fineui from final/11.0 to release/11.0 6 months ago
superman a88db276d5 Merge pull request #283193 in DEC/fineui from persist/11.0 to final/11.0 6 months ago
Oliver.Chen-陈润桐 b3acef3f4c Pull request #283190: 无jira任务 feat: 更新图标 6 months ago
Oliver.Chen 363869773d 无jira任务 feat: 更新图标 6 months ago
superman a5802380dc Merge pull request #283186 in DEC/fineui from bugfix/11.0 to release/11.0 6 months ago
superman edf219cc89 Merge pull request #283185 in DEC/fineui from feature/x to bugfix/11.0 6 months ago
Oliver.Chen-陈润桐 418e514ce8 Pull request #283167: 无jira任务 fix: 更新图标 7 months ago
Oliver.Chen dd523e0492 无jira任务 fix: 更新图标 7 months ago
翠屏山最速下山传说 f0750f646f 无JIRA layout 的updateChildren过程中传递context 7 months ago
superman 4f842fffdd Merge pull request #283139 in DEC/fineui from final/11.0 to persist/11.0 7 months ago
Dailer-刘荣歆 6cba1eb920 Pull request #283134: Feature/x 7 months ago
Dailer-刘荣歆 e45076d172 Pull request #14: Release/11.0 7 months ago
Dailer-刘荣歆 c9b0e82ddb Pull request #283132: REPORT-125909 fix: 【公共模型引入BI】低版本chrome,维度指标集在组件分析区域不显示 7 months ago
翠屏山最速下山传说 73240b6e05 REPORT-125909 fix: 【公共模型引入BI】低版本chrome,维度指标集在组件分析区域不显示 7 months ago
翠屏山最速下山传说 93dd40d362 REPORT-125909 fix: 【公共模型引入BI】低版本chrome,维度指标集在组件分析区域不显示 7 months ago
Oliver.Ke-柯键基 b97ea33003 Pull request #283106: BI-151036 fix: 控制台提示 error改成warn 7 months ago
Oliver.Ke 8e32510ae7 BI-151036 fix: error改成warn 7 months ago
superman feadcf975f Merge pull request #283096 in DEC/fineui from release/11.0 to final/11.0 7 months ago
superman e761ce76fe Merge pull request #282901 in DEC/fineui from release/11.0 to bugfix/11.0 7 months ago
  1. 1
      packages/demo/src/demo/widget/yearmonthinterval/demo.year_month_interval.js
  2. BIN
      packages/fineui/dist/font/iconfont.eot
  3. 394
      packages/fineui/dist/font/iconfont.svg
  4. BIN
      packages/fineui/dist/font/iconfont.ttf
  5. BIN
      packages/fineui/dist/font/iconfont.woff
  6. BIN
      packages/fineui/dist/font/iconfont.woff2
  7. 2
      packages/fineui/package.json
  8. 9
      packages/fineui/src/base/combination/tab.js
  9. 9
      packages/fineui/src/base/single/input/radio/radio.js
  10. 28
      packages/fineui/src/case/combo/iconcombo/combo.icon.js
  11. 1
      packages/fineui/src/case/toolbar/toolbar.multiselect.js
  12. 4
      packages/fineui/src/case/ztree/asynctree.js
  13. 41
      packages/fineui/src/core/1.lodash.js
  14. 2
      packages/fineui/src/core/2.base.js
  15. 2
      packages/fineui/src/core/5.inject.js
  16. 2
      packages/fineui/src/core/controller/controller.broadcast.js
  17. 33
      packages/fineui/src/core/utils/dom.js
  18. 4
      packages/fineui/src/less/base/single/button/button.less
  19. 7
      packages/fineui/src/less/base/tree/ztree.less
  20. 7
      packages/fineui/src/widget/downlist/combo.downlist.js
  21. 2
      packages/fineui/src/widget/dynamicdate/dynamicdate.card.js
  22. 26
      packages/fineui/src/widget/dynamicdate/dynamicdate.combo.js
  23. 2
      packages/fineui/src/widget/dynamicdate/dynamicdate.param.item.js
  24. 2
      packages/fineui/src/widget/dynamicdate/dynamicdate.popup.js
  25. 30
      packages/fineui/src/widget/dynamicdatetime/dynamicdatetime.combo.js
  26. 2
      packages/fineui/src/widget/multilayerdownlist/combo.downlist.js
  27. 32
      packages/fineui/src/widget/multiselect/multiselect.insert.combo.js
  28. 2
      packages/fineui/src/widget/multiselect/multiselect.insert.trigger.js
  29. 2
      packages/fineui/src/widget/multiselect/multiselect.trigger.js
  30. 4
      packages/fineui/src/widget/multiselect/trigger/searcher.multiselect.insert.js
  31. 8
      packages/fineui/src/widget/multiselect/trigger/switcher.checkselected.js
  32. 76
      packages/fineui/src/widget/multitree/multi.tree.combo.js
  33. 4
      packages/fineui/src/widget/multitree/multi.tree.popup.js
  34. 4
      packages/fineui/src/widget/multitree/trigger/searcher.multi.tree.js
  35. 26
      packages/fineui/src/widget/numberinterval/numberinterval.js
  36. 10
      packages/fineui/src/widget/singleselect/search/singleselect.search.loader.js
  37. 25
      packages/fineui/src/widget/singleselect/singleselect.insert.combo.js
  38. 4
      packages/fineui/src/widget/singleselect/trigger/searcher.singleselect.js
  39. 11
      packages/fineui/src/widget/textvaluedownlistcombo/combo.textvaluedownlist.js
  40. 42
      packages/fineui/src/widget/timeinterval/dateinterval.js
  41. 51
      packages/fineui/src/widget/timeinterval/timeinterval.js
  42. 24
      packages/fineui/src/widget/year/combo.year.js
  43. 24
      packages/fineui/src/widget/yearmonth/combo.yearmonth.js
  44. 18
      packages/fineui/src/widget/yearmonthinterval/yearmonthinterval.js
  45. 24
      packages/fineui/src/widget/yearquarter/combo.yearquarter.js
  46. 4
      packages/fineui/typescript/case/combo/iconcombo/combo.icon.ts
  47. 1
      packages/fineui/typescript/index.ts
  48. 3
      packages/fineui/typescript/widget/downlist/combo.downlist.ts
  49. 7
      packages/fineui/typescript/widget/dynamicdate/dynamicdate.combo.ts
  50. 5
      packages/fineui/typescript/widget/dynamicdatetime/dynamicdatetime.combo.ts
  51. 12
      packages/fineui/typescript/widget/multiselect/multiselect.insert.combo.ts
  52. 19
      packages/fineui/typescript/widget/multiselect/switcher.checkselected.ts
  53. 13
      packages/fineui/typescript/widget/multitree/multi.tree.combo.ts
  54. 3
      packages/fineui/typescript/widget/multitree/multi.tree.popup.ts
  55. 7
      packages/fineui/typescript/widget/numberinterval/numberinterval.ts
  56. 5
      packages/fineui/typescript/widget/singleselect/singleselect.insert.combo.ts
  57. 9
      packages/fineui/typescript/widget/textvaluedownlistcombo/combo.textvaluedownlist.ts
  58. 14
      packages/fineui/typescript/widget/timeinterval/dateinterval.ts
  59. 13
      packages/fineui/typescript/widget/timeinterval/timeinterval.ts
  60. 7
      packages/fineui/typescript/widget/year/combo.year.ts
  61. 7
      packages/fineui/typescript/widget/yearmonth/combo.yearmonth.ts
  62. 11
      packages/fineui/typescript/widget/yearmonthinterval/yearmonthinterval.ts
  63. 7
      packages/fineui/typescript/widget/yearquarter/combo.yearquarter.ts

1
packages/demo/src/demo/widget/yearmonthinterval/demo.year_month_interval.js

@ -20,6 +20,7 @@ export class YearMonthIntervalDemo extends Widget {
ref(_ref) {
self.interval = _ref;
},
format: "%Y/%X",
value: {
start: {
type: 2,

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

Binary file not shown.

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

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 1.1 MiB

After

Width:  |  Height:  |  Size: 1.2 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.

2
packages/fineui/package.json

@ -57,7 +57,7 @@
"jquery": "3.6.3"
},
"devDependencies": {
"core-js": "^3.30.2",
"core-js": "^3.37.1",
"cross-env": "^7.0.3"
}
}

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

@ -13,7 +13,8 @@ import {
contains,
any,
isEqual,
LogicFactory
LogicFactory,
Events,
} from "@/core";
/**
@ -106,7 +107,11 @@ export class Tab extends Widget {
Widget.execWithContext(this, () => {
this.cardMap[v] = cardCreator(v);
});
this.layout.addCardByName(v, this.cardMap[v]);
const card = this.layout.addCardByName(v, this.cardMap[v]);
card.on(Events.DESTROY, () => {
this.layout.deleteCardByName(v);
delete this.cardMap[v];
});
}
}

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

@ -56,13 +56,4 @@ export class Radio extends BasicButton {
this.fireEvent(Radio.EVENT_CHANGE);
}
}
setSelected(b) {
super.setSelected(b);
if (b) {
this.radio.element.addClass("bi-high-light-background");
} else {
this.radio.element.removeClass("bi-high-light-background");
}
}
}

28
packages/fineui/src/case/combo/iconcombo/combo.icon.js

@ -8,6 +8,7 @@ export class IconCombo extends Widget {
static xtype = "bi.icon_combo";
static EVENT_CHANGE = "EVENT_CHANGE";
static EVENT_BEFORE_POPUPVIEW = "EVENT_BEFORE_POPUPVIEW";
_defaultConfig() {
return extend(super._defaultConfig(...arguments), {
@ -55,18 +56,18 @@ export class IconCombo extends Widget {
value: o.value,
isShowDown: o.isShowDown,
});
this.popup = createWidget(o.popup, {
this.popupEl = createWidget(o.popup, {
type: IconComboPopup.xtype,
chooseType: o.chooseType,
items: o.items,
value: o.value,
});
this.popup.on(IconComboPopup.EVENT_CHANGE, () => {
this.setValue(this.popup.getValue());
this.popupEl.on(IconComboPopup.EVENT_CHANGE, () => {
this.setValue(this.popupEl.getValue());
this.iconCombo.hideView();
this.fireEvent(IconCombo.EVENT_CHANGE);
});
this.popup.on(Controller.EVENT_CHANGE, (...args) => {
this.popupEl.on(Controller.EVENT_CHANGE, (...args) => {
this.fireEvent(Controller.EVENT_CHANGE, ...args);
});
this.iconCombo = createWidget({
@ -82,11 +83,20 @@ export class IconCombo extends Widget {
el: this.trigger,
hideWhenAnotherComboOpen: o.hideWhenAnotherComboOpen,
popup: {
el: this.popup,
el: this.popupEl,
maxWidth: o.maxWidth,
maxHeight: o.maxHeight,
minWidth: o.minWidth,
ref: (ref) => {
this.popup = ref;
},
},
listeners: [{
eventName: Combo.EVENT_BEFORE_POPUPVIEW,
action: () => {
this.fireEvent(IconCombo.EVENT_BEFORE_POPUPVIEW);
},
}],
});
}
@ -100,15 +110,19 @@ export class IconCombo extends Widget {
setValue(v) {
this.trigger.setValue(v);
this.popup.setValue(v);
this.popupEl.setValue(v);
}
getValue() {
const value = this.popup.getValue();
const value = this.popupEl.getValue();
return isNull(value) ? [] : isArray(value) ? value : [value];
}
getPopup() {
return this.popup;
}
populate(items) {
this.options.items = items;
this.iconCombo.populate(items);

1
packages/fineui/src/case/toolbar/toolbar.multiselect.js

@ -126,6 +126,7 @@ export class MultiSelectBar extends BasicButton {
}
setSelected(v) {
super.setSelected(v);
this.checkbox.setSelected(v);
this.setHalfSelected(false);
}

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

@ -221,15 +221,11 @@ export class AsyncTree extends TreeView {
{
el: {
type: IconLabel.xtype,
width: 20,
height: 20,
cls: "button-loading-font anim-rotate bi-card",
ref: ref => {
loadingIcon = ref;
},
},
left: 5,
top: 5,
},
],
});

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

@ -6845,6 +6845,46 @@
}
});
/**
* Creates an array of elements split into two groups, the first of which
* contains elements `predicate` returns truthy for, the second of which
* contains elements `predicate` returns falsey for. The predicate is
* invoked with one argument: (value).
*
* @static
* @memberOf _
* @since 3.0.0
* @category Collection
* @param {Array|Object} collection The collection to iterate over.
* @param {Function} [predicate=_.identity] The function invoked per iteration.
* @returns {Array} Returns the array of grouped elements.
* @example
*
* var users = [
* { 'user': 'barney', 'age': 36, 'active': false },
* { 'user': 'fred', 'age': 40, 'active': true },
* { 'user': 'pebbles', 'age': 1, 'active': false }
* ];
*
* _.partition(users, function(o) { return o.active; });
* // => objects for [['fred'], ['barney', 'pebbles']]
*
* // The `_.matches` iteratee shorthand.
* _.partition(users, { 'age': 1, 'active': false });
* // => objects for [['pebbles'], ['barney', 'fred']]
*
* // The `_.matchesProperty` iteratee shorthand.
* _.partition(users, ['active', false]);
* // => objects for [['barney', 'pebbles'], ['fred']]
*
* // The `_.property` iteratee shorthand.
* _.partition(users, 'active');
* // => objects for [['fred'], ['barney', 'pebbles']]
*/
var partition = createAggregator(function(result, value, key) {
result[key ? 0 : 1].push(value);
}, function() { return [[], []]; });
/**
* Creates an array of values by running each element in `collection` thru
* `iteratee`. The iteratee is invoked with three arguments:
@ -10052,6 +10092,7 @@
lodash.omit = omit;
lodash.omitBy = omitBy;
lodash.once = once;
lodash.partition = partition;
lodash.pick = pick;
lodash.pickBy = pickBy;
lodash.range = range;

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

@ -1518,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/5.inject.js

@ -62,7 +62,7 @@ const constantInjection = {};
export function constant(xtype, cls) {
if (isNotNull(constantInjection[xtype])) {
_global.console && console.error(`constant: [${xtype}]already registered`);
_global.console && console.warn(`constant: [${xtype}]already registered`);
} else {
constantInjection[xtype] = cls;
}

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

@ -22,7 +22,7 @@ export class BroadcastController extends Controller {
send(name) {
const args = [].slice.call(arguments, 1);
each(this._broadcasts[name], (i, fn) => fn(...args));
each(this._broadcasts[name]?.slice?.(), (i, fn) => fn(...args));
}
remove(name, fn) {

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

@ -2,7 +2,7 @@
* 对DOM操作的通用函数
*/
import $ from "jquery";
import { each, isEmpty, isNotNull, isNull } from "../2.base";
import { each, isEmpty, isNotEmptyObject } from "../2.base";
import { Widget } from "../4.widget";
import { isIE } from "./../platform";
@ -102,23 +102,37 @@ export function getTextSizeHeight(text, fontSize = 12) {
}
// 获取滚动条的宽度,页面display: none时候获取到的为0
let _scrollWidth = null;
const _scrollWidthMap = {};
export function getScrollWidth(css) {
if (isNull(_scrollWidth) || isNotNull(css) || _scrollWidth === 0) {
const ul = Widget._renderEngine.createElement("<div>").width(50).height(50)
/**
* 指定 scrollbar-width: none;
* 支持的浏览器版本结果肯定为 0无需重复计算
*/
const supportScrollWidth = 'scrollbarWidth' in document.documentElement.style;
const hasNoneScrollWidth =
supportScrollWidth && isNotEmptyObject(css) && [css["scrollbar-width"], css["scrollbarWidth"]].includes("none");
const key = JSON.stringify(css) || "default";
if (hasNoneScrollWidth) {
return 0;
} else if (!_scrollWidthMap[key]) {
const ul = Widget._renderEngine
.createElement("<div>")
.width(50)
.height(50)
.css({
position: "absolute",
top: "-9999px",
overflow: "scroll",
...css
...css,
})
.appendTo("body");
_scrollWidth = ul[0].offsetWidth - ul[0].clientWidth;
_scrollWidthMap[key] = ul[0].offsetWidth - ul[0].clientWidth;
ul.destroy();
}
return _scrollWidth;
return _scrollWidthMap[key];
}
export function getImage(param, fillStyle, backgroundColor) {
@ -743,12 +757,13 @@ export function getComboPosition(combo, popup, extraWidth, extraHeight, needAdap
}
if (needAdaptHeight === true && popup.resetHeight) {
const comboRect = combo.element[0].getBoundingClientRect();
const scale = comboRect.height === 0 ? 1 : comboRect.height / combo.element.height();
const relativeOffset = positionRelativeElement ? positionRelativeElement.getBoundingClientRect().top : 0;
const positionTop = position.top + relativeOffset;
if (positionTop < comboRect.top) {
popup.resetHeight(Math.min(viewportBounds.height - positionTop, comboRect.top, maxHeight));
popup.resetHeight(Math.min((viewportBounds.height - positionTop) / scale, comboRect.top / scale, maxHeight));
} else if (positionTop >= comboRect.bottom) {
popup.resetHeight(Math.min(viewportBounds.height - positionTop, viewportBounds.height - comboRect.bottom, maxHeight));
popup.resetHeight(Math.min((viewportBounds.height - positionTop) / scale, (viewportBounds.height - comboRect.bottom) / scale, maxHeight));
}
}

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

@ -580,6 +580,10 @@ body .bi-button, #body .bi-button {
.bi-button {
background-color: @color-bi-background-button-theme-dark;
&.clear {
background-color: transparent;
}
&.button-ignore {
background-color: @color-bi-background-ignore-button-theme-dark;

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

@ -335,3 +335,10 @@
margin-right: 2px;
vertical-align: top;
}
.ztree .button-loading-font {
.use-scale(width, 20px);
.use-scale(height, 20px);
.use-scale(left, 5px);
.use-scale(top, 5px);
}

7
packages/fineui/src/widget/downlist/combo.downlist.js

@ -108,6 +108,9 @@ export class DownListCombo extends Widget {
stopPropagation: o.stopPropagation,
maxHeight: o.maxHeight,
minWidth: o.minWidth,
ref: (ref) => {
this.popup = ref;
},
...o.popup,
},
});
@ -125,6 +128,10 @@ export class DownListCombo extends Widget {
this.downlistcombo.showView(e);
}
getPopup() {
return this.popup;
}
populate(items) {
this.popupView.populate(items);
}

2
packages/fineui/src/widget/dynamicdate/dynamicdate.card.js

@ -45,6 +45,7 @@ export class DynamicDateCard extends Widget {
props = {
baseCls: "bi-dynamic-date-card",
supportWorkDay: true,
};
render() {
@ -162,6 +163,7 @@ export class DynamicDateCard extends Widget {
logic: {
dynamic: true,
},
invisible: !this.options.supportWorkDay,
text: i18nText("BI-Basic_Work_Day"),
value: DynamicDateCard.TYPE.WORK_DAY,
listeners: [

26
packages/fineui/src/widget/dynamicdate/dynamicdate.combo.js

@ -51,6 +51,7 @@ export class DynamicDateCombo extends Single {
attributes: {
tabIndex: -1,
},
supportWorkDay: true,
isNeedAdjustHeight: false,
isNeedAdjustWidth: false,
isPreview: false, // 是否是预览状态
@ -204,11 +205,12 @@ export class DynamicDateCombo extends Single {
isPreview: opts.isPreview,
width: opts.isNeedAdjustWidth ? opts.width : undefined,
supportDynamic: opts.supportDynamic,
supportWorkDay: opts.supportWorkDay,
behaviors: opts.behaviors,
min: opts.minDate,
max: opts.maxDate,
ref: _ref => {
this.popup = _ref;
this.popupEl = _ref;
},
listeners: [
{
@ -238,7 +240,7 @@ export class DynamicDateCombo extends Single {
{
eventName: DynamicDatePopup.BUTTON_OK_EVENT_CHANGE,
action: () => {
const value = this.popup.getValue();
const value = this.popupEl.getValue();
if (this._checkValue(value)) {
this.setValue(value);
}
@ -249,7 +251,7 @@ export class DynamicDateCombo extends Single {
{
eventName: DynamicDatePopup.EVENT_CHANGE,
action: () => {
this.setValue(this.popup.getValue());
this.setValue(this.popupEl.getValue());
this.combo.hideView();
this.fireEvent(DynamicDateCombo.EVENT_CONFIRM);
},
@ -262,6 +264,10 @@ export class DynamicDateCombo extends Single {
}
],
},
ref: (ref) => {
this.popup = ref;
},
...opts.popup,
},
// // DEC-4250 和复选下拉一样,点击triggerBtn不默认收起
// hideChecker: function (e) {
@ -271,9 +277,9 @@ export class DynamicDateCombo extends Single {
{
eventName: Combo.EVENT_BEFORE_POPUPVIEW,
action: () => {
this.popup.setMinDate(opts.minDate);
this.popup.setMaxDate(opts.maxDate);
this.popup.setValue(this.storeValue);
this.popupEl.setMinDate(opts.minDate);
this.popupEl.setMaxDate(opts.maxDate);
this.popupEl.setValue(this.storeValue);
this.fireEvent(DynamicDateCombo.EVENT_BEFORE_POPUPVIEW);
},
}
@ -332,14 +338,14 @@ export class DynamicDateCombo extends Single {
const o = this.options;
o.minDate = minDate;
this.trigger.setMinDate(minDate);
this.popup && this.popup.setMinDate(minDate);
this.popupEl && this.popupEl.setMinDate(minDate);
}
setMaxDate(maxDate) {
const o = this.options;
o.maxDate = maxDate;
this.trigger.setMaxDate(maxDate);
this.popup && this.popup.setMaxDate(maxDate);
this.popupEl && this.popupEl.setMaxDate(maxDate);
}
setValue(v) {
@ -356,6 +362,10 @@ export class DynamicDateCombo extends Single {
return this.trigger.getKey();
}
getPopup() {
return this.popup;
}
hidePopupView() {
this.combo.hideView();
}

2
packages/fineui/src/widget/dynamicdate/dynamicdate.param.item.js

@ -79,7 +79,7 @@ export class DynamicDateParamItem extends Widget {
value: 0,
},
{
text: i18nText("BI-Basic_Behind"),
text: i18nText("BI-Basic_Later"),
value: 1,
}
],

2
packages/fineui/src/widget/dynamicdate/dynamicdate.popup.js

@ -34,6 +34,7 @@ export class DynamicDatePopup extends Widget {
baseCls: "bi-dynamic-date-popup",
width: 272,
supportDynamic: true,
supportWorkDay: true,
isPreview: false, // 是否是预览状态
};
@ -164,6 +165,7 @@ export class DynamicDatePopup extends Widget {
return {
type: DynamicDateCard.xtype,
cls: "dynamic-date-pane",
supportWorkDay: this.options.supportWorkDay,
listeners: [
{
eventName: "EVENT_CHANGE",

30
packages/fineui/src/widget/dynamicdatetime/dynamicdatetime.combo.js

@ -39,6 +39,7 @@ export class DynamicDateTimeCombo extends Single {
format: "",
allowEdit: true,
supportDynamic: true,
supportWorkDay: true,
attributes: {
tabIndex: -1,
},
@ -212,11 +213,12 @@ export class DynamicDateTimeCombo extends Single {
timeSelectTypes: opts.timeSelectTypes,
width: opts.isNeedAdjustWidth ? opts.width : undefined,
supportDynamic: opts.supportDynamic,
supportWorkDay: opts.supportWorkDay,
behaviors: opts.behaviors,
min: opts.minDate,
max: opts.maxDate,
ref: _ref => {
this.popup = _ref;
this.popupEl = _ref;
},
listeners: [
{
@ -249,7 +251,7 @@ export class DynamicDateTimeCombo extends Single {
{
eventName: DynamicDateTimePopup.BUTTON_OK_EVENT_CHANGE,
action: () => {
const value = this.popup.getValue();
const value = this.popupEl.getValue();
if (this._checkValue(value)) {
this.setValue(value);
}
@ -260,7 +262,7 @@ export class DynamicDateTimeCombo extends Single {
{
eventName: DynamicDateTimePopup.EVENT_CHANGE,
action: () => {
this.setValue(this.popup.getValue());
this.setValue(this.popupEl.getValue());
this.combo.hideView();
this.fireEvent(DynamicDateTimeCombo.EVENT_CONFIRM);
}
@ -271,16 +273,20 @@ export class DynamicDateTimeCombo extends Single {
this.fireEvent(DynamicDateTimeCombo.EVENT_BEFORE_YEAR_MONTH_POPUPVIEW);
}
}
]
}
],
},
ref: (ref) => {
this.popup = ref;
},
...opts.popup,
},
listeners: [
{
eventName: Combo.EVENT_BEFORE_POPUPVIEW,
action: () => {
this.popup.setMinDate(opts.minDate);
this.popup.setMaxDate(opts.maxDate);
this.popup.setValue(this.storeValue);
this.popupEl.setMinDate(opts.minDate);
this.popupEl.setMaxDate(opts.maxDate);
this.popupEl.setValue(this.storeValue);
this.fireEvent(DynamicDateTimeCombo.EVENT_BEFORE_POPUPVIEW);
}
}
@ -339,14 +345,14 @@ export class DynamicDateTimeCombo extends Single {
const o = this.options;
o.minDate = minDate;
this.trigger.setMinDate(minDate);
this.popup && this.popup.setMinDate(minDate);
this.popupEl && this.popupEl.setMinDate(minDate);
}
setMaxDate(maxDate) {
const o = this.options;
o.maxDate = maxDate;
this.trigger.setMaxDate(maxDate);
this.popup && this.popup.setMaxDate(maxDate);
this.popupEl && this.popupEl.setMaxDate(maxDate);
}
setValue(v) {
@ -363,6 +369,10 @@ export class DynamicDateTimeCombo extends Single {
return this.trigger.getKey();
}
getPopup() {
return this.popup;
}
hidePopupView() {
this.combo.hideView();
}

2
packages/fineui/src/widget/multilayerdownlist/combo.downlist.js

@ -23,6 +23,7 @@ export class MultiLayerDownListCombo extends Widget {
container: null,
stopPropagation: false,
el: {},
popup: {},
});
}
@ -65,6 +66,7 @@ export class MultiLayerDownListCombo extends Widget {
el: this.popupview,
stopPropagation: o.stopPropagation,
maxHeight: 1000,
...o.popup,
},
});

32
packages/fineui/src/widget/multiselect/multiselect.insert.combo.js

@ -47,12 +47,16 @@ export class MultiSelectInsertCombo extends Single {
static REQ_GET_ALL_DATA = "-1";
static EVENT_FOCUS = "EVENT_FOCUS";
static EVENT_BLUR = "EVENT_BLUR";
static EVENT_START = "EVENT_START";
static EVENT_STOP = "EVENT_STOP";
static EVENT_SEARCHING = "EVENT_SEARCHING";
static EVENT_CLICK_ITEM = "EVENT_CLICK_ITEM";
static EVENT_CONFIRM = "EVENT_CONFIRM";
static EVENT_ADD_ITEM = "EVENT_ADD_ITEM";
static EVENT_AFTER_HIDEVIEW = "EVENT_AFTER_HIDEVIEW";
static EVENT_BEFORE_POPUPVIEW = "EVENT_BEFORE_POPUPVIEW";
static EVENT_BEFORE_NUMBER_COUNTER_POPUPVIEW = "EVENT_BEFORE_NUMBER_COUNTER_POPUPVIEW";
static EVENT_AFTER_NUMBER_COUNTER_POPUPVIEW = "EVENT_AFTER_NUMBER_COUNTER_POPUPVIEW";
_defaultConfig() {
return extend(super._defaultConfig(...arguments), {
@ -62,6 +66,8 @@ export class MultiSelectInsertCombo extends Single {
height: 24,
itemHeight: SIZE_CONSANTS.LIST_ITEM_HEIGHT,
allowEdit: true,
popup: {},
masker: {},
});
}
@ -97,6 +103,8 @@ export class MultiSelectInsertCombo extends Single {
this.trigger = createWidget({
type: MultiSelectInsertTrigger.xtype,
popup: o.popup,
masker: o.masker,
allowEdit: o.allowEdit,
height: toPix(o.height, o.simple ? 1 : 2),
text: o.text,
@ -122,6 +130,7 @@ export class MultiSelectInsertCombo extends Single {
this.trigger.on(MultiSelectInsertTrigger.EVENT_START, function() {
self._setStartValue("");
this.getSearcher().setValue(self.storeValue);
self.fireEvent(MultiSelectInsertCombo.EVENT_START);
});
this.trigger.on(MultiSelectInsertTrigger.EVENT_STOP, () => {
self._setStartValue("");
@ -241,12 +250,14 @@ export class MultiSelectInsertCombo extends Single {
self.trigger.getSearcher().adjustView();
});
},
...o.popup,
},
value: o.value,
hideChecker(e) {
return (
triggerBtn.element.find(e.target).length === 0 &&
self.numberCounter.element.find(e.target).length === 0
size(self.numberCounter.getView()?.element.find(e.target)) === 0 &&
size(self.trigger.getSearcher().getSearcher().getView()?.element.find(e.target)) === 0
);
},
});
@ -259,6 +270,7 @@ export class MultiSelectInsertCombo extends Single {
nextTick(() => {
self._populate();
});
self.fireEvent(MultiSelectInsertCombo.EVENT_BEFORE_POPUPVIEW);
});
// 当退出的时候如果还在处理请求,则等请求结束后再对外发确定事件
this.wants2Quit = false;
@ -290,6 +302,8 @@ export class MultiSelectInsertCombo extends Single {
valueFormatter: o.valueFormatter,
itemsCreator: bind(this._itemsCreator4Trigger, this),
value: o.value,
masker: o.masker,
popup: o.popup,
});
this.numberCounter.on(MultiSelectCheckSelectedSwitcher.EVENT_TRIGGER_CHANGE, () => {
if (!self.combo.isViewVisible()) {
@ -298,6 +312,10 @@ export class MultiSelectInsertCombo extends Single {
});
this.numberCounter.on(MultiSelectCheckSelectedSwitcher.EVENT_BEFORE_POPUPVIEW, function() {
this.updateSelectedValue(self.storeValue);
self.fireEvent(MultiSelectInsertCombo.EVENT_BEFORE_NUMBER_COUNTER_POPUPVIEW);
});
this.numberCounter.on(MultiSelectCheckSelectedSwitcher.EVENT_AFTER_POPUPVIEW, function() {
self.fireEvent(MultiSelectInsertCombo.EVENT_AFTER_NUMBER_COUNTER_POPUPVIEW);
});
this.numberCounter.on(Events.VIEW, b => {
@ -555,4 +573,16 @@ export class MultiSelectInsertCombo extends Single {
this._populate(...arguments);
this.numberCounter.populateSwitcher(...arguments);
}
getPopup() {
return this.popup;
}
getNumberCounter() {
return this.numberCounter;
}
getTrigger() {
return this.trigger;
}
}

2
packages/fineui/src/widget/multiselect/multiselect.insert.trigger.js

@ -50,7 +50,7 @@ export class MultiSelectInsertTrigger extends Trigger {
itemFormatter: o.itemFormatter,
itemHeight: o.itemHeight,
watermark: o.watermark,
popup: {},
popup: o.popup,
adapter: o.adapter,
masker: o.masker,
value: o.value,

2
packages/fineui/src/widget/multiselect/multiselect.trigger.js

@ -50,7 +50,7 @@ export class MultiSelectTrigger extends Trigger {
valueFormatter: o.valueFormatter,
itemFormatter: o.itemFormatter,
watermark: o.watermark,
popup: {},
popup: o.popup,
adapter: o.adapter,
masker: o.masker,
value: o.value,

4
packages/fineui/src/widget/multiselect/trigger/searcher.multiselect.insert.js

@ -132,6 +132,10 @@ export class MultiSelectInsertSearcher extends Widget {
}
}
getSearcher() {
return this.searcher;
}
adjustView() {
this.searcher.adjustView();
}

8
packages/fineui/src/widget/multiselect/trigger/switcher.checkselected.js

@ -9,8 +9,8 @@ export class MultiSelectCheckSelectedSwitcher extends Widget {
static EVENT_TRIGGER_CHANGE = "EVENT_TRIGGER_CHANGE";
static EVENT_BEFORE_POPUPVIEW = "EVENT_BEFORE_POPUPVIEW";
static EVENT_AFTER_POPUPVIEW = "EVENT_AFTER_POPUPVIEW";
static EVENT_AFTER_HIDEVIEW = "EVENT_AFTER_HIDEVIEW";
static EVENT_TRIGGER_COMBO = "EVENT_TRIGGER_COMBO";
_defaultConfig() {
return extend(super._defaultConfig(...arguments), {
@ -49,7 +49,6 @@ export class MultiSelectCheckSelectedSwitcher extends Widget {
itemsCreator: o.itemsCreator,
onClickContinueSelect() {
self.switcher.hideView();
self.fireEvent(MultiSelectCheckSelectedSwitcher.EVENT_TRIGGER_COMBO);
},
ref(_ref) {
self.checkPane = _ref;
@ -74,6 +73,7 @@ export class MultiSelectCheckSelectedSwitcher extends Widget {
const me = this;
nextTick(() => {
me._populate();
self.fireEvent(MultiSelectCheckSelectedSwitcher.EVENT_AFTER_POPUPVIEW);
});
});
}
@ -82,6 +82,10 @@ export class MultiSelectCheckSelectedSwitcher extends Widget {
this.switcher.adjustView();
}
getView() {
return this.switcher.getView();
}
hideView() {
this.switcher.empty();
this.switcher.hideView();

76
packages/fineui/src/widget/multitree/multi.tree.combo.js

@ -10,7 +10,7 @@ import {
VerticalAdaptLayout,
deepClone,
Selection,
SIZE_CONSANTS
size
} from "@/core";
import { Single, Combo } from "@/base";
import { MultiTreeSearcher } from "./trigger/searcher.multi.tree";
@ -27,12 +27,15 @@ export class MultiTreeCombo extends Single {
static EVENT_FOCUS = "EVENT_FOCUS";
static EVENT_BLUR = "EVENT_BLUR";
static EVENT_START = "EVENT_START";
static EVENT_STOP = "EVENT_STOP";
static EVENT_SEARCHING = "EVENT_SEARCHING";
static EVENT_CLICK_ITEM = "EVENT_CLICK_ITEM";
static EVENT_CONFIRM = "EVENT_CONFIRM";
static EVENT_BEFORE_POPUPVIEW = "EVENT_BEFORE_POPUPVIEW";
static EVENT_AFTER_HIDEVIEW = "EVENT_AFTER_HIDEVIEW";
static EVENT_BEFORE_NUMBER_COUNTER_POPUPVIEW = "EVENT_BEFORE_NUMBER_COUNTER_POPUPVIEW";
static EVENT_AFTER_NUMBER_COUNTER_POPUPVIEW = "EVENT_AFTER_NUMBER_COUNTER_POPUPVIEW";
_defaultConfig() {
return extend(super._defaultConfig(...arguments), {
@ -42,6 +45,8 @@ export class MultiTreeCombo extends Single {
height: 24,
allowEdit: true,
isNeedAdjustWidth: true,
popup: {},
masker: {},
});
}
@ -63,23 +68,20 @@ export class MultiTreeCombo extends Single {
this.storeValue = { value: o.value || {} };
this.trigger = createWidget({
type: "bi.multi_select_trigger",
type: MultiSelectTrigger.xtype,
popup: o.popup,
masker: o.masker,
allowEdit: o.allowEdit,
height: toPix(o.height, o.simple ? 1 : 2),
valueFormatter: o.valueFormatter,
text: o.text,
defaultText: o.defaultText,
watermark: o.watermark,
masker: {
offset: {
left: 0,
top: 0,
right: 0,
bottom: SIZE_CONSANTS.LIST_ITEM_HEIGHT + 1,
},
adapter: () => {
return this.popup.getView();
},
searcher: {
type: "bi.multi_tree_searcher",
type: MultiTreeSearcher.xtype,
itemsCreator: o.itemsCreator,
listeners: [
{
@ -104,8 +106,6 @@ export class MultiTreeCombo extends Single {
type: MultiTreePopup.xtype,
ref() {
self.popup = this;
self.trigger.setAdapter(this);
self.numberCounter.setAdapter(this);
},
listeners: [
{
@ -160,13 +160,16 @@ export class MultiTreeCombo extends Single {
});
},
maxWidth: o.isNeedAdjustWidth ? "auto" : 500,
...o.popup,
},
isNeedAdjustWidth: o.isNeedAdjustWidth,
value: { value: o.value || {} },
hideChecker(e) {
return (
triggerBtn.element.find(e.target).length === 0 &&
self.numberCounter.element.find(e.target).length === 0
size(self.numberCounter.getView()?.element.find(e.target)) === 0 &&
size(self.trigger.getSearcher().getSearcher().getView()?.element.find(e.target)) === 0 &&
self.trigger.getSearcher().getSearcher().getView()?.element[0] !== e.target
);
},
});
@ -182,7 +185,6 @@ export class MultiTreeCombo extends Single {
return self.combo.isViewVisible();
}
let shouldComboPopulate = true;
this.trigger.on(MultiSelectTrigger.EVENT_FOCUS, () => {
self.fireEvent(MultiTreeCombo.EVENT_FOCUS);
});
@ -194,6 +196,7 @@ export class MultiTreeCombo extends Single {
self.storeValue = { value: self.combo.getValue() };
this.setValue(self.storeValue);
self.numberCounter.setValue(self.storeValue);
self.fireEvent(MultiTreeCombo.EVENT_START);
});
this.trigger.on(MultiSelectTrigger.EVENT_STOP, function () {
self.storeValue = { value: this.getValue() };
@ -260,14 +263,14 @@ export class MultiTreeCombo extends Single {
}
self.combo.setValue(self.storeValue);
self.numberCounter.setValue(self.storeValue);
shouldComboPopulate && self.populate();
self.populate();
self.fireEvent(MultiTreeCombo.EVENT_BEFORE_POPUPVIEW);
});
this.combo.on(Combo.EVENT_BEFORE_HIDEVIEW, () => {
if (isSearching()) {
self._stopEditing();
self._dataChange &&
self.fireEvent(MultiTreeCombo.EVENT_CONFIRM);
self.fireEvent(MultiTreeCombo.EVENT_CONFIRM);
} else {
if (isPopupView()) {
self._stopEditing();
@ -276,7 +279,7 @@ export class MultiTreeCombo extends Single {
self.storeValue = { value: {} };
}
self._dataChange &&
self.fireEvent(MultiTreeCombo.EVENT_CONFIRM);
self.fireEvent(MultiTreeCombo.EVENT_CONFIRM);
}
}
clear = false;
@ -296,39 +299,26 @@ export class MultiTreeCombo extends Single {
});
this.numberCounter = createWidget({
type: "bi.multi_select_check_selected_switcher",
type: MultiSelectCheckSelectedSwitcher,
el: {
// type: "bi.multi_tree_check_selected_button",
type: MultiTreeCheckSelectedButton.xtype,
},
popup: {
// type: "bi.multi_tree_check_pane",
type: MultiTreeCheckPane.xtype,
...o.popup,
},
masker: {
offset: {
left: 0,
top: 0,
right: 0,
bottom: SIZE_CONSANTS.LIST_ITEM_HEIGHT + 1,
},
adapter: () => {
return this.popup.getView();
},
masker: o.masker,
itemsCreator: o.itemsCreator,
valueFormatter: o.valueFormatter,
value: { value: o.value || {} },
});
this.numberCounter.on(
MultiSelectCheckSelectedSwitcher.EVENT_TRIGGER_COMBO,
() => {
self.populate();
shouldComboPopulate = true;
}
);
this.numberCounter.on(
MultiSelectCheckSelectedSwitcher.EVENT_TRIGGER_CHANGE,
() => {
if (!self.combo.isViewVisible()) {
shouldComboPopulate = false;
self.combo.showView();
}
}
@ -343,8 +333,12 @@ export class MultiTreeCombo extends Single {
want2showCounter = null;
showCounter();
}
this.fireEvent(MultiTreeCombo.EVENT_BEFORE_NUMBER_COUNTER_POPUPVIEW);
}
);
this.numberCounter.on(MultiSelectCheckSelectedSwitcher.EVENT_AFTER_POPUPVIEW, function() {
self.fireEvent(MultiTreeCombo.EVENT_AFTER_NUMBER_COUNTER_POPUPVIEW);
});
this.numberCounter.on(Events.VIEW, b => {
nextTick(() => {
@ -452,4 +446,16 @@ export class MultiTreeCombo extends Single {
setWaterMark(v) {
this.trigger.setWaterMark(v);
}
getPopup() {
return this.popup;
}
getNumberCounter() {
return this.numberCounter;
}
getTrigger() {
return this.trigger;
}
}

4
packages/fineui/src/widget/multitree/multi.tree.popup.js

@ -105,4 +105,8 @@ export class MultiTreePopup extends Pane {
resetWidth(w) {
this.popupView.resetWidth(w);
}
getView() {
return this.popupView.getView();
}
}

4
packages/fineui/src/widget/multitree/trigger/searcher.multi.tree.js

@ -220,6 +220,10 @@ export class MultiTreeSearcher extends Widget {
return this.editor.getState();
}
getSearcher() {
return this.searcher;
}
setValue(ob) {
this.setState(ob);
this.searcher.setValue(ob);

26
packages/fineui/src/widget/numberinterval/numberinterval.js

@ -41,6 +41,8 @@ export class NumberInterval extends Single {
static EVENT_CONFIRM = "EVENT_CONFIRM";
static EVENT_VALID = "EVENT_VALID";
static EVENT_ERROR = "EVENT_ERROR";
static EVENT_BEFORE_LEFT_POPUPVIEW = "EVENT_BEFORE_LEFT_POPUPVIEW";
static EVENT_BEFORE_RIGHT_POPUPVIEW = "EVENT_BEFORE_RIGHT_POPUPVIEW";
_defaultConfig() {
const conf = super._defaultConfig(...arguments);
@ -151,6 +153,8 @@ export class NumberInterval extends Single {
});
this.smallCombo = createWidget({
type: IconCombo.xtype,
container: o.container,
popup: o.popup,
cls: `number-interval-small-combo${
o.simple ? "" : " bi-border-top bi-border-bottom bi-border-right bi-border-corner-right-radius"
}`,
@ -168,6 +172,12 @@ export class NumberInterval extends Single {
iconCls: "less-equal-font",
},
],
listeners: [{
eventName: IconCombo.EVENT_BEFORE_POPUPVIEW,
action: () => {
this.fireEvent(NumberInterval.EVENT_BEFORE_LEFT_POPUPVIEW);
},
}],
});
if (o.closeMin === true) {
this.smallCombo.setValue(1);
@ -176,6 +186,8 @@ export class NumberInterval extends Single {
}
this.bigCombo = createWidget({
type: IconCombo.xtype,
container: o.container,
popup: o.popup,
cls: `number-interval-big-combo${
o.simple ? "" : " bi-border-top bi-border-bottom bi-border-left bi-border-corner-left-radius"
}`,
@ -193,6 +205,12 @@ export class NumberInterval extends Single {
iconCls: "less-equal-font",
},
],
listeners: [{
eventName: IconCombo.EVENT_BEFORE_POPUPVIEW,
action: () => {
this.fireEvent(NumberInterval.EVENT_BEFORE_RIGHT_POPUPVIEW);
},
}],
});
if (o.closeMax === true) {
this.bigCombo.setValue(1);
@ -621,6 +639,14 @@ export class NumberInterval extends Single {
this.bigEditor.focus();
}
getLeftCombo() {
return this.smallCombo;
}
getRightCombo() {
return this.bigCombo;
}
destroyed() {
const c = this.constants;
Bubbles.remove(c.typeError);

10
packages/fineui/src/widget/singleselect/search/singleselect.search.loader.js

@ -12,7 +12,7 @@ import {
isArray,
isKey,
Func,
SIZE_CONSANTS
SIZE_CONSANTS,
} from "@/core";
import { ButtonGroup, Loader } from "@/base";
import { SingleSelectList } from "../singleselect.list";
@ -71,7 +71,7 @@ export class SingleSelectSearchLoader extends Widget {
layouts: [
{
type: VerticalLayout.xtype,
}
},
],
},
},
@ -122,11 +122,11 @@ export class SingleSelectSearchLoader extends Widget {
height: SIZE_CONSANTS.LIST_ITEM_HEIGHT,
selected: false,
iconWrapperWidth: 26,
hgap: o.allowNoSelect ? 10 : 0,
textHgap: o.allowNoSelect ? 10 : 0,
title: item.title || item.text,
},
item
)
item,
),
);
}

25
packages/fineui/src/widget/singleselect/singleselect.insert.combo.js

@ -10,7 +10,8 @@ import {
isNotNull,
nextTick,
AbsoluteLayout,
makeObject
makeObject,
size
} from "@/core";
import { Single, Combo } from "@/base";
import { SingleSelectTrigger } from "./singleselect.trigger";
@ -25,10 +26,12 @@ export class SingleSelectInsertCombo extends Single {
static REQ_GET_ALL_DATA = -1;
static EVENT_FOCUS = "EVENT_FOCUS";
static EVENT_BLUR = "EVENT_BLUR";
static EVENT_START = "EVENT_START";
static EVENT_STOP = "EVENT_STOP";
static EVENT_SEARCHING = "EVENT_SEARCHING";
static EVENT_CLICK_ITEM = "EVENT_CLICK_ITEM";
static EVENT_CONFIRM = "EVENT_CONFIRM";
static EVENT_BEFORE_POPUPVIEW = "EVENT_BEFORE_POPUPVIEW"
_defaultConfig() {
return extend(super._defaultConfig(...arguments), {
@ -40,6 +43,8 @@ export class SingleSelectInsertCombo extends Single {
height: 24,
allowEdit: true,
watermark: i18nText("BI-Basic_Search_And_Patch_Paste"),
popup: {},
masker: {},
});
}
@ -57,6 +62,7 @@ export class SingleSelectInsertCombo extends Single {
this.trigger = createWidget({
type: SingleSelectTrigger.xtype,
masker: o.masker,
watermark: o.watermark,
height: toPix(o.height, o.simple ? 1 : 2),
allowNoSelect: o.allowNoSelect,
@ -77,6 +83,7 @@ export class SingleSelectInsertCombo extends Single {
searcher: {
popup: {
type: SingleSelectSearchInsertPane.xtype,
...o.popup,
},
},
});
@ -91,6 +98,7 @@ export class SingleSelectInsertCombo extends Single {
this.trigger.on(SingleSelectTrigger.EVENT_START, function () {
self._setStartValue();
this.getSearcher().setValue(self.storeValue);
self.fireEvent(SingleSelectInsertCombo.EVENT_START);
});
this.trigger.on(SingleSelectTrigger.EVENT_STOP, () => {
self._setStartValue();
@ -156,9 +164,13 @@ export class SingleSelectInsertCombo extends Single {
self.trigger.getSearcher().adjustView();
});
},
...o.popup,
},
hideChecker(e) {
return triggerBtn.element.find(e.target).length === 0;
return (
triggerBtn.element.find(e.target).length === 0 &&
size(self.trigger.getSearcher().getSearcher().getView()?.element.find(e.target)) === 0
);
},
value: o.value,
});
@ -171,6 +183,7 @@ export class SingleSelectInsertCombo extends Single {
nextTick(() => {
self.populate();
});
self.fireEvent(SingleSelectInsertCombo .EVENT_BEFORE_POPUPVIEW);
});
// 当退出的时候如果还在处理请求,则等请求结束后再对外发确定事件
this.wants2Quit = false;
@ -261,4 +274,12 @@ export class SingleSelectInsertCombo extends Single {
populate() {
this.combo.populate(...arguments);
}
getPopup() {
return this.popup;
}
getTrigger() {
return this.trigger;
}
}

4
packages/fineui/src/widget/singleselect/trigger/searcher.singleselect.js

@ -131,6 +131,10 @@ export class SingleSelectSearcher extends Widget {
return this.searcher.getView() && this.searcher.getView().hasChecked();
}
getSearcher() {
return this.searcher;
}
setAdapter(adapter) {
this.searcher.setAdapter(adapter);
}

11
packages/fineui/src/widget/textvaluedownlistcombo/combo.textvaluedownlist.js

@ -20,6 +20,7 @@ export class TextValueDownListCombo extends Widget {
static xtype = "bi.text_value_down_list_combo";
static EVENT_CHANGE = "EVENT_CHANGE";
static EVENT_BEFORE_POPUPVIEW = "EVENT_BEFORE_POPUPVIEW";
_defaultConfig(config) {
return extend(super._defaultConfig(...arguments), {
@ -42,6 +43,7 @@ export class TextValueDownListCombo extends Widget {
this.combo = createWidget({
type: DownListCombo.xtype,
element: this,
container: o.container,
chooseType: Selection.Single,
adjustLength: 2,
width: toPix(o.width, 2),
@ -59,6 +61,7 @@ export class TextValueDownListCombo extends Widget {
},
value: isNull(value) ? [] : [value],
items: deepClone(o.items),
popup: o.popup,
});
this.combo.on(DownListCombo.EVENT_CHANGE, () => {
@ -76,6 +79,10 @@ export class TextValueDownListCombo extends Widget {
this.fireEvent(TextValueDownListCombo.EVENT_CHANGE);
}
});
this.combo.on(DownListCombo.EVENT_BEFORE_POPUPVIEW, () => {
this.fireEvent(TextValueDownListCombo.EVENT_BEFORE_POPUPVIEW);
});
}
_createValueMap() {
@ -114,4 +121,8 @@ export class TextValueDownListCombo extends Widget {
this.combo.populate(items);
this._createValueMap();
}
getPopup() {
return this.combo.getPopup();
}
}

42
packages/fineui/src/widget/timeinterval/dateinterval.js

@ -30,6 +30,8 @@ export class DateInterval extends Single {
static EVENT_ERROR = "EVENT_ERROR";
static EVENT_CHANGE = "EVENT_CHANGE";
static EVENT_BEFORE_YEAR_MONTH_POPUPVIEW = "EVENT_BEFORE_YEAR_MONTH_POPUPVIEW";
static EVENT_BEFORE_START_POPUPVIEW = "EVENT_BEFORE_START_POPUPVIEW";
static EVENT_BEFORE_END_POPUPVIEW = "EVENT_BEFORE_END_POPUPVIEW";
_defaultConfig() {
const conf = super._defaultConfig(...arguments);
@ -39,7 +41,9 @@ export class DateInterval extends Single {
minDate: "1900-01-01",
maxDate: "2099-12-31",
height: 24,
format: "",
supportDynamic: true,
supportWorkDay: true,
simple: false,
});
}
@ -50,6 +54,13 @@ export class DateInterval extends Single {
this.left = this._createCombo(o.value.start, o.watermark?.start);
this.right = this._createCombo(o.value.end, o.watermark?.end);
this.left.on(DynamicDateCombo.EVENT_BEFORE_POPUPVIEW, () => {
this.fireEvent(DateInterval.EVENT_BEFORE_START_POPUPVIEW);
})
this.right.on(DynamicDateCombo.EVENT_BEFORE_POPUPVIEW, () => {
this.fireEvent(DateInterval.EVENT_BEFORE_END_POPUPVIEW);
})
return {
type: HorizontalFillLayout.xtype,
columnSize: ["fill", "", "fill"],
@ -79,12 +90,16 @@ export class DateInterval extends Single {
const o = this.options;
const combo = createWidget({
type: DynamicDateCombo.xtype,
container: o.container,
popup: o.popup,
isPreview: o.isPreview,
supportDynamic: o.supportDynamic,
supportWorkDay: o.supportWorkDay,
minDate: o.minDate,
maxDate: o.maxDate,
simple: o.simple,
behaviors: o.behaviors,
format: o.format,
watermark,
value: v,
height: o.height,
@ -166,7 +181,8 @@ export class DateInterval extends Single {
print(parseDateTime(date, "%Y-%x-%d"), "%Y-%x-%d") === date ||
print(parseDateTime(date, "%Y-%X-%d"), "%Y-%X-%d") === date ||
print(parseDateTime(date, "%Y-%x-%e"), "%Y-%x-%e") === date ||
print(parseDateTime(date, "%Y-%X-%e"), "%Y-%X-%e") === date
print(parseDateTime(date, "%Y-%X-%e"), "%Y-%X-%e") === date ||
this.options.format !== '' && print(parseDateTime(date, this.options.format), this.options.format) === date
);
}
@ -177,19 +193,22 @@ export class DateInterval extends Single {
}
_check(smallDate, bigDate) {
const smallObj = smallDate.match(/\d+/g),
bigObj = bigDate.match(/\d+/g);
// 现在有自定义样式,所以有["%X", "%d", "%Y"]这种不是[year, month, day]的情况,下面取对应的ymd就出错
// 所以先把这个string转成date,再转成默认格式string,只对自定义格式的date做处理
const newSmallDate = this.options.format ? print(parseDateTime(smallDate, this.options.format), "%Y-%X-%d") : smallDate;
const newBigDate = this.options.format ? print(parseDateTime(bigDate, this.options.format), "%Y-%X-%d") : bigDate;
const smallObj = newSmallDate.match(/\d+/g),
bigObj = newBigDate.match(/\d+/g);
return (
this._dateCheck(smallDate) &&
checkDateLegal(smallDate) &&
this._dateCheck(newSmallDate) &&
checkDateLegal(newSmallDate) &&
this._checkVoid({
year: smallObj[0],
month: smallObj[1],
day: smallObj[2],
}) &&
this._dateCheck(bigDate) &&
checkDateLegal(bigDate) &&
this._dateCheck(newBigDate) &&
checkDateLegal(newBigDate) &&
this._checkVoid({
year: bigObj[0],
month: bigObj[1],
@ -243,4 +262,11 @@ export class DateInterval extends Single {
end: this.right.getValue(),
};
}
getPopup() {
return {
start: this.left.getPopup(),
end: this.right.getPopup(),
};
}
}

51
packages/fineui/src/widget/timeinterval/timeinterval.js

@ -29,6 +29,9 @@ export class TimeInterval extends Single {
static EVENT_VALID = "EVENT_VALID";
static EVENT_ERROR = "EVENT_ERROR";
static EVENT_CHANGE = "EVENT_CHANGE";
static EVENT_BEFORE_START_POPUPVIEW = "EVENT_BEFORE_START_POPUPVIEW";
static EVENT_BEFORE_END_POPUPVIEW = "EVENT_BEFORE_END_POPUPVIEW";
static EVENT_BEFORE_YEAR_MONTH_POPUPVIEW = "EVENT_BEFORE_YEAR_MONTH_POPUPVIEW";
_defaultConfig() {
const conf = super._defaultConfig(...arguments);
@ -38,7 +41,9 @@ export class TimeInterval extends Single {
minDate: "1900-01-01",
maxDate: "2099-12-31",
height: 24,
format: "",
supportDynamic: true,
supportWorkDay: true,
});
}
@ -48,6 +53,13 @@ export class TimeInterval extends Single {
this.left = this._createCombo(o.value.start, o.watermark?.start);
this.right = this._createCombo(o.value.end, o.watermark?.end);
this.left.on(DynamicDateTimeCombo.EVENT_BEFORE_POPUPVIEW, () => {
this.fireEvent(TimeInterval.EVENT_BEFORE_START_POPUPVIEW);
})
this.right.on(DynamicDateTimeCombo.EVENT_BEFORE_POPUPVIEW, () => {
this.fireEvent(TimeInterval.EVENT_BEFORE_END_POPUPVIEW);
})
return {
type: HorizontalFillLayout.xtype,
columnSize: ["fill", "", "fill"],
@ -77,16 +89,28 @@ export class TimeInterval extends Single {
const o = this.options;
const combo = createWidget({
type: DynamicDateTimeCombo.xtype,
container: o.container,
popup: o.popup,
isPreview: o.isPreview,
timeSelectTypes: o.timeSelectTypes,
supportWorkDay: o.supportWorkDay,
simple: o.simple,
supportDynamic: o.supportDynamic,
minDate: o.minDate,
maxDate: o.maxDate,
format: o.format,
behaviors: o.behaviors,
watermark,
value: v,
height: o.height,
listeners: [
{
eventName: DynamicDateTimeCombo.EVENT_BEFORE_YEAR_MONTH_POPUPVIEW,
action: () => {
this.fireEvent(TimeInterval.EVENT_BEFORE_YEAR_MONTH_POPUPVIEW);
},
},
],
});
combo.on(DynamicDateTimeCombo.EVENT_ERROR, () => {
this._clearTitle();
@ -173,7 +197,8 @@ export class TimeInterval extends Single {
print(parseDateTime(date, "%Y-%x-%d %H:%M:%S"), "%Y-%x-%d %H:%M:%S") === date ||
print(parseDateTime(date, "%Y-%X-%d %H:%M:%S"), "%Y-%X-%d %H:%M:%S") === date ||
print(parseDateTime(date, "%Y-%x-%e %H:%M:%S"), "%Y-%x-%e %H:%M:%S") === date ||
print(parseDateTime(date, "%Y-%X-%e %H:%M:%S"), "%Y-%X-%e %H:%M:%S") === date
print(parseDateTime(date, "%Y-%X-%e %H:%M:%S"), "%Y-%X-%e %H:%M:%S") === date ||
this.options.format !== '' && print(parseDateTime(date, this.options.format), this.options.format) === date
);
}
@ -184,19 +209,22 @@ export class TimeInterval extends Single {
}
_check(smallDate, bigDate) {
const smallObj = smallDate.match(/\d+/g),
bigObj = bigDate.match(/\d+/g);
// 现在有自定义样式,所以有["%X", "%d", "%Y"]这种不是[year, month, day]的情况,下面取对应的ymd就出错
// 所以先把这个string转成date,再转成默认格式string,只对自定义格式的date做处理
const newSmallDate = this.options.format ? print(parseDateTime(smallDate, this.options.format), "%Y-%X-%d %H:%M:%S") : smallDate;
const newBigDate = this.options.format ? print(parseDateTime(bigDate, this.options.format), "%Y-%X-%d %H:%M:%S") : bigDate;
const smallObj = newSmallDate.match(/\d+/g),
bigObj = newBigDate.match(/\d+/g);
return (
this._dateCheck(smallDate) &&
checkDateLegal(smallDate) &&
this._dateCheck(newSmallDate) &&
checkDateLegal(newSmallDate) &&
this._checkVoid({
year: smallObj[0],
month: smallObj[1],
day: smallObj[2],
}) &&
this._dateCheck(bigDate) &&
checkDateLegal(bigDate) &&
this._dateCheck(newBigDate) &&
checkDateLegal(newBigDate) &&
this._checkVoid({
year: bigObj[0],
month: bigObj[1],
@ -250,4 +278,11 @@ export class TimeInterval extends Single {
end: this.right.getValue(),
};
}
getPopup() {
return {
start: this.left.getPopup(),
end: this.right.getPopup(),
};
}
}

24
packages/fineui/src/widget/year/combo.year.js

@ -98,13 +98,13 @@ export class DynamicYearCombo extends Widget {
supportDynamic: o.supportDynamic,
isPreview: o.isPreview,
ref: _ref => {
this.popup = _ref;
this.popupEl = _ref;
},
listeners: [
{
eventName: DynamicYearPopup.EVENT_CHANGE,
action: () => {
this.setValue(this.popup.getValue());
this.setValue(this.popupEl.getValue());
this.combo.hideView();
this.fireEvent(DynamicYearCombo.EVENT_CONFIRM);
},
@ -129,7 +129,7 @@ export class DynamicYearCombo extends Widget {
{
eventName: DynamicYearPopup.BUTTON_OK_EVENT_CHANGE,
action: () => {
this.setValue(this.popup.getValue());
this.setValue(this.popupEl.getValue());
this.combo.hideView();
this.fireEvent(DynamicDateCombo.EVENT_CONFIRM);
},
@ -140,12 +140,16 @@ export class DynamicYearCombo extends Widget {
max: o.maxDate,
},
value: o.value || "",
ref: (ref) => {
this.popup = ref;
},
...o.popup,
},
});
this.combo.on(Combo.EVENT_BEFORE_POPUPVIEW, () => {
this.popup.setMinDate(o.minDate);
this.popup.setMaxDate(o.maxDate);
this.popup.setValue(this.storeValue);
this.popupEl.setMinDate(o.minDate);
this.popupEl.setMaxDate(o.maxDate);
this.popupEl.setValue(this.storeValue);
this.fireEvent(DynamicYearCombo.EVENT_BEFORE_POPUPVIEW);
});
@ -205,14 +209,14 @@ export class DynamicYearCombo extends Widget {
const o = this.options;
o.minDate = minDate;
this.trigger.setMinDate(minDate);
this.popup && this.popup.setMinDate(minDate);
this.popupEl && this.popupEl.setMinDate(minDate);
}
setMaxDate(maxDate) {
const o = this.options;
o.maxDate = maxDate;
this.trigger.setMaxDate(maxDate);
this.popup && this.popup.setMaxDate(maxDate);
this.popupEl && this.popupEl.setMaxDate(maxDate);
}
hideView() {
@ -240,6 +244,10 @@ export class DynamicYearCombo extends Widget {
setWaterMark(v) {
this.trigger.setWaterMark(v);
}
getPopup() {
return this.popup;
}
}
extend(DynamicYearCombo, {
Static: 1,

24
packages/fineui/src/widget/yearmonth/combo.yearmonth.js

@ -109,13 +109,13 @@ export class DynamicYearMonthCombo extends Single {
supportDynamic: o.supportDynamic,
isPreview: o.isPreview,
ref: _ref => {
this.popup = _ref;
this.popupEl = _ref;
},
listeners: [
{
eventName: DynamicYearMonthPopup.EVENT_CHANGE,
action: () => {
this.setValue(this.popup.getValue());
this.setValue(this.popupEl.getValue());
this.combo.hideView();
this.fireEvent(DynamicYearMonthCombo.EVENT_CONFIRM);
},
@ -147,7 +147,7 @@ export class DynamicYearMonthCombo extends Single {
{
eventName: DynamicYearMonthPopup.BUTTON_OK_EVENT_CHANGE,
action: () => {
const value = this.popup.getValue();
const value = this.popupEl.getValue();
if (this._checkValue(value)) {
this.setValue(value);
}
@ -161,12 +161,16 @@ export class DynamicYearMonthCombo extends Single {
max: o.maxDate,
},
value: o.value || "",
ref: (ref) => {
this.popup = ref;
},
...o.popup,
},
});
this.combo.on(Combo.EVENT_BEFORE_POPUPVIEW, () => {
this.popup.setMinDate(o.minDate);
this.popup.setMaxDate(o.maxDate);
this.popup.setValue(this.storeValue);
this.popupEl.setMinDate(o.minDate);
this.popupEl.setMaxDate(o.maxDate);
this.popupEl.setValue(this.storeValue);
this.fireEvent(DynamicYearMonthCombo.EVENT_BEFORE_POPUPVIEW);
});
@ -241,14 +245,18 @@ export class DynamicYearMonthCombo extends Single {
const o = this.options;
o.minDate = minDate;
this.trigger.setMinDate(minDate);
this.popup && this.popup.setMinDate(minDate);
this.popupEl && this.popupEl.setMinDate(minDate);
}
setMaxDate(maxDate) {
const o = this.options;
o.maxDate = maxDate;
this.trigger.setMaxDate(maxDate);
this.popup && this.popup.setMaxDate(maxDate);
this.popupEl && this.popupEl.setMaxDate(maxDate);
}
getPopup() {
return this.popup;
}
hideView() {

18
packages/fineui/src/widget/yearmonthinterval/yearmonthinterval.js

@ -20,6 +20,8 @@ export class YearMonthInterval extends Single {
static EVENT_ERROR = "EVENT_ERROR";
static EVENT_CHANGE = "EVENT_CHANGE";
static EVENT_BEFORE_POPUPVIEW = "EVENT_BEFORE_POPUPVIEW";
static EVENT_BEFORE_START_POPUPVIEW = "EVENT_BEFORE_START_POPUPVIEW";
static EVENT_BEFORE_END_POPUPVIEW = "EVENT_BEFORE_END_POPUPVIEW";
constants = {
width: 25,
@ -43,6 +45,13 @@ export class YearMonthInterval extends Single {
this.left = this._createCombo(o.value.start, o.watermark?.start);
this.right = this._createCombo(o.value.end, o.watermark?.end);
this.left.on(DynamicYearMonthCombo.EVENT_BEFORE_POPUPVIEW, () => {
this.fireEvent(YearMonthInterval.EVENT_BEFORE_START_POPUPVIEW);
})
this.right.on(DynamicYearMonthCombo.EVENT_BEFORE_POPUPVIEW, () => {
this.fireEvent(YearMonthInterval.EVENT_BEFORE_END_POPUPVIEW);
})
return {
type: HorizontalFillLayout.xtype,
columnSize: ["fill", "", "fill"],
@ -72,6 +81,8 @@ export class YearMonthInterval extends Single {
const o = this.options;
const combo = createWidget({
type: DynamicYearMonthCombo.xtype,
container: o.container,
popup: o.popup,
isPreview: o.isPreview,
simple: o.simple,
supportDynamic: o.supportDynamic,
@ -235,4 +246,11 @@ export class YearMonthInterval extends Single {
getValue() {
return { start: this.left.getValue(), end: this.right.getValue() };
}
getPopup() {
return {
start: this.left.getPopup(),
end: this.right.getPopup(),
};
}
}

24
packages/fineui/src/widget/yearquarter/combo.yearquarter.js

@ -112,13 +112,13 @@ export class DynamicYearQuarterCombo extends Widget {
supportDynamic: o.supportDynamic,
isPreview: o.isPreview,
ref: _ref => {
this.popup = _ref;
this.popupEl = _ref;
},
listeners: [
{
eventName: DynamicYearQuarterPopup.EVENT_CHANGE,
action: () => {
this.setValue(this.popup.getValue());
this.setValue(this.popupEl.getValue());
this.combo.hideView();
this.fireEvent(DynamicYearQuarterCombo.EVENT_CONFIRM);
},
@ -150,7 +150,7 @@ export class DynamicYearQuarterCombo extends Widget {
{
eventName: DynamicYearQuarterPopup.BUTTON_OK_EVENT_CHANGE,
action: () => {
const value = this.popup.getValue();
const value = this.popupEl.getValue();
if (this._checkValue(value)) {
this.setValue(value);
}
@ -164,12 +164,16 @@ export class DynamicYearQuarterCombo extends Widget {
max: o.maxDate,
},
value: o.value || "",
ref: (ref) => {
this.popup = ref;
},
...o.popup,
},
});
this.combo.on(Combo.EVENT_BEFORE_POPUPVIEW, () => {
this.popup.setMinDate(o.minDate);
this.popup.setMaxDate(o.maxDate);
this.popup.setValue(this.storeValue);
this.popupEl.setMinDate(o.minDate);
this.popupEl.setMaxDate(o.maxDate);
this.popupEl.setValue(this.storeValue);
this.fireEvent(DynamicYearQuarterCombo.EVENT_BEFORE_POPUPVIEW);
});
@ -244,14 +248,18 @@ export class DynamicYearQuarterCombo extends Widget {
const o = this.options;
o.minDate = minDate;
this.trigger.setMinDate(minDate);
this.popup && this.popup.setMinDate(minDate);
this.popupEl && this.popupEl.setMinDate(minDate);
}
setMaxDate(maxDate) {
const o = this.options;
o.maxDate = maxDate;
this.trigger.setMaxDate(maxDate);
this.popup && this.popup.setMaxDate(maxDate);
this.popupEl && this.popupEl.setMaxDate(maxDate);
}
getPopup() {
return this.popup;
}
hideView() {

4
packages/fineui/typescript/case/combo/iconcombo/combo.icon.ts

@ -1,13 +1,17 @@
import { PopupView } from "../../../base/layer/layer.popup";
import { Widget } from '../../../core/widget';
export declare class IconCombo extends Widget {
static xtype: string;
static EVENT_CHANGE: string;
static EVENT_BEFORE_POPUPVIEW: string;
showView(): void;
hideView(): void;
populate(items: any[]): void;
getPopup(): PopupView;
}

1
packages/fineui/typescript/index.ts

@ -103,6 +103,7 @@ export { CenterAdaptLayout } from "./core/wrapper/layout/adapt/adapt.center";
export { VerticalAdaptLayout } from "./core/wrapper/layout/adapt/adapt.vertical";
export { MultiSelectInsertCombo } from "./widget/multiselect/multiselect.insert.combo";
export { MultiSelectCombo } from "./widget/multiselect/multiselect.combo";
export { MultiSelectCheckSelectedSwitcher } from "./widget/multiselect/switcher.checkselected";
export { SearchEditor } from "./widget/editor/editor.search";
export { MultiLayerSingleLevelTree } from "./widget/multilayersingletree/multilayersingletree.leveltree";
export { SimpleColorChooser } from "./case/colorchooser/colorchooser.simple";

3
packages/fineui/typescript/widget/downlist/combo.downlist.ts

@ -1,3 +1,4 @@
import { PopupView } from "../../base/layer/layer.popup";
import { Widget } from "../../core/widget";
export declare class DownListCombo extends Widget {
@ -15,4 +16,6 @@ export declare class DownListCombo extends Widget {
adjustWidth: (e?: MouseEvent) => void;
adjustHeight: (e?: MouseEvent) => void;
getPopup(): PopupView;
}

7
packages/fineui/typescript/widget/dynamicdate/dynamicdate.combo.ts

@ -1,4 +1,5 @@
import { Single } from '../../base/single/single';
import { PopupView } from "../../base/layer/layer.popup";
import { Single } from "../../base/single/single";
export declare class DynamicDateCombo extends Single {
static xtype: string;
@ -21,11 +22,13 @@ export declare class DynamicDateCombo extends Single {
format?: string;
allowEdit?: boolean;
supportDynamic?: boolean;
supportWorkDay?: boolean;
attributes?: {
tabIndex?: number;
};
watermark?: string;
simple?: boolean;
popup?: any;
} & Single['props']
setMinDate(minDate: string): void;
@ -43,6 +46,8 @@ export declare class DynamicDateCombo extends Single {
blur(): void;
setWaterMark(v: string): void;
getPopup(): PopupView;
}
export interface DynamicDataComboValue {

5
packages/fineui/typescript/widget/dynamicdatetime/dynamicdatetime.combo.ts

@ -1,3 +1,4 @@
import { PopupView } from '../../base/layer/layer.popup';
import { Single } from '../../base/single/single';
export declare class DynamicDateTimeCombo extends Single {
@ -19,10 +20,12 @@ export declare class DynamicDateTimeCombo extends Single {
format?: string;
allowEdit?: boolean;
supportDynamic?: boolean;
supportWorkDay?: boolean;
attributes?: {
tabIndex?: number;
};
watermark?: string;
popup?: any;
} & Single['props'];
getValue(): DynamicDateTimeComboValue;
@ -40,6 +43,8 @@ export declare class DynamicDateTimeCombo extends Single {
blur(): void;
setWaterMark(v: string): void
getPopup(): PopupView;
}
export interface DynamicDateTimeComboValue {

12
packages/fineui/typescript/widget/multiselect/multiselect.insert.combo.ts

@ -1,9 +1,12 @@
import { PopupView } from "../../base/layer/layer.popup";
import { Single } from "../../base/single/single";
import { MultiSelectCheckSelectedSwitcher } from "./switcher.checkselected";
export declare class MultiSelectInsertCombo extends Single {
static xtype: string;
static EVENT_FOCUS: string;
static EVENT_BLUR: string;
static EVENT_START: string;
static EVENT_STOP: string;
static EVENT_SEARCHING: string;
static EVENT_CLICK_ITEM: string;
@ -12,6 +15,9 @@ export declare class MultiSelectInsertCombo extends Single {
static REQ_GET_DATA_LENGTH: 1;
static REQ_GET_ALL_DATA: -1;
static EVENT_AFTER_HIDEVIEW: string;
static EVENT_BEFORE_POPUPVIEW: string;
static EVENT_BEFORE_NUMBER_COUNTER_POPUPVIEW: string;
static EVENT_AFTER_NUMBER_COUNTER_POPUPVIEW: string;
props: {
itemsCreator?: Function;
@ -21,6 +27,8 @@ export declare class MultiSelectInsertCombo extends Single {
text?: string;
watermark?: string;
container?: any;
popup?: any;
masker?: any;
} & Single["props"];
_itemsCreator4Trigger(op: any, callback: Function): void;
@ -67,5 +75,9 @@ export declare class MultiSelectInsertCombo extends Single {
assist: string[];
};
getPopup(): PopupView;
getNumberCounter(): MultiSelectCheckSelectedSwitcher;
populate(...args: any[]): void;
}

19
packages/fineui/typescript/widget/multiselect/switcher.checkselected.ts

@ -0,0 +1,19 @@
import { Widget } from '../../core/widget';
export declare class MultiSelectCheckSelectedSwitcher extends Widget {
static xtype: string;
static EVENT_TRIGGER_CHANGE: string;
static EVENT_BEFORE_POPUPVIEW: string;
static EVENT_AFTER_HIDEVIEW: string;
props: {
itemsCreator?: Function;
valueFormatter?: Function;
};
adjustView(): void;
hideView(): void;
getView(): Widget;
}

13
packages/fineui/typescript/widget/multitree/multi.tree.combo.ts

@ -1,5 +1,7 @@
import { PopupView } from "../../base/layer/layer.popup";
import { Single } from "../../base/single/single";
import { Widget } from "../../core/widget";
import { MultiSelectCheckSelectedSwitcher } from "../multiselect/switcher.checkselected";
export declare class MultiTreeCombo extends Single {
static xtype: string;
@ -10,6 +12,13 @@ export declare class MultiTreeCombo extends Single {
static EVENT_CLICK_ITEM: string;
static EVENT_CONFIRM: string;
static EVENT_BEFORE_POPUPVIEW: string;
static EVENT_BEFORE_NUMBER_COUNTER_POPUPVIEW: string;
static EVENT_AFTER_NUMBER_COUNTER_POPUPVIEW: string;
props: {
popup?: any;
masker?: any;
} & Single["props"];
showView(): void;
hideView(): void;
@ -21,4 +30,8 @@ export declare class MultiTreeCombo extends Single {
blur(): void;
setWaterMark(v: string): void;
getPopup(): PopupView;
getNumberCounter(): MultiSelectCheckSelectedSwitcher;
}

3
packages/fineui/typescript/widget/multitree/multi.tree.popup.ts

@ -1,3 +1,4 @@
import { ButtonGroup } from "../../base/combination/group.button";
import { Pane } from "../../base/pane";
export declare class MultiTreePopup extends Pane {
@ -12,4 +13,6 @@ export declare class MultiTreePopup extends Pane {
resetHeight(h: number): void;
resetWidth(w: number): void;
getView(): ButtonGroup;
}

7
packages/fineui/typescript/widget/numberinterval/numberinterval.ts

@ -1,3 +1,4 @@
import { Combo } from '../../base/combination/combo';
import { Single } from '../../base/single/single';
export declare class NumberInterval extends Single {
@ -6,6 +7,8 @@ export declare class NumberInterval extends Single {
static EVENT_CONFIRM: string;
static EVENT_VALID: string;
static EVENT_ERROR: string;
static EVENT_BEFORE_LEFT_POPUPVIEW: string;
static EVENT_BEFORE_RIGHT_POPUPVIEW: string;
props: {
watermark?: string;
@ -40,4 +43,8 @@ export declare class NumberInterval extends Single {
focusMinEditor(): void;
focusMaxEditor(): void;
getLeftCombo(): Combo;
getRightCombo(): Combo;
}

5
packages/fineui/typescript/widget/singleselect/singleselect.insert.combo.ts

@ -1,3 +1,4 @@
import { PopupView } from "../../base/layer/layer.popup";
import { Single } from "../../base/single/single";
export declare class SingleSelectInsertCombo extends Single {
@ -8,6 +9,7 @@ export declare class SingleSelectInsertCombo extends Single {
static EVENT_SEARCHING: string;
static EVENT_CLICK_ITEM: string;
static EVENT_CONFIRM: string;
static EVENT_BEFORE_POPUPVIEW: string;
props: {
text?: string,
@ -16,5 +18,8 @@ export declare class SingleSelectInsertCombo extends Single {
valueFormatter?: Function,
allowEdit?: boolean,
watermark?: string,
popup?: any;
} & Single['props']
getPopup(): PopupView;
}

9
packages/fineui/typescript/widget/textvaluedownlistcombo/combo.textvaluedownlist.ts

@ -1,8 +1,17 @@
import { PopupView } from "../../base/layer/layer.popup";
import { Widget } from "../../core/widget";
export declare class TextValueDownListCombo extends Widget {
static xtype: string;
static EVENT_CHANGE: string;
static EVENT_BEFORE_POPUPVIEW: string;
props: {
container?: string;
popup?: any;
};
getValue<T>(): [T];
getPopup(): PopupView;
}

14
packages/fineui/typescript/widget/timeinterval/dateinterval.ts

@ -1,5 +1,5 @@
import { Single } from "../../base/single/single";
import { DynamicDataComboValue } from "../dynamicdate/dynamicdate.combo";
import { DynamicDataComboValue, DynamicDateCombo } from "../dynamicdate/dynamicdate.combo";
export declare class DateInterval extends Single {
static xtype: string;
@ -7,13 +7,18 @@ export declare class DateInterval extends Single {
static EVENT_VALID: string;
static EVENT_ERROR: string;
static EVENT_BEFORE_YEAR_MONTH_POPUPVIEW: string;
static EVENT_BEFORE_START_POPUPVIEW: string;
static EVENT_BEFORE_END_POPUPVIEW: string;
props: {
minDate?: string;
maxDate?: string;
supportDynamic?: boolean;
supportWorkDay?: boolean;
watermark?: string;
} & Single['props']
container?: string;
popup?: any;
} & Single["props"];
getValue(): {
start: DynamicDataComboValue;
@ -23,4 +28,9 @@ export declare class DateInterval extends Single {
setMinDate(minDate: string): void;
setMaxDate(minDate: string): void;
getPopup(): {
start: DynamicDateCombo;
end: DynamicDateCombo;
};
}

13
packages/fineui/typescript/widget/timeinterval/timeinterval.ts

@ -1,18 +1,24 @@
import { Single } from "../../base/single/single";
import { DynamicDateTimeComboValue } from "../dynamicdatetime/dynamicdatetime.combo";
import { DynamicDateTimeCombo, DynamicDateTimeComboValue } from "../dynamicdatetime/dynamicdatetime.combo";
export declare class TimeInterval extends Single {
static xtype: string;
static EVENT_CHANGE: string;
static EVENT_VALID: string;
static EVENT_ERROR: string;
static EVENT_BEFORE_START_POPUPVIEW: string;
static EVENT_BEFORE_END_POPUPVIEW: string;
static EVENT_BEFORE_YEAR_MONTH_POPUPVIEW: string;
props: {
minDate?: string;
maxDate?: string;
supportDynamic?: boolean;
supportWorkDay?: boolean;
watermark?: string;
simple?: boolean;
container?: string;
popup?: any;
} & Single['props'];
getValue(): {
@ -23,4 +29,9 @@ export declare class TimeInterval extends Single {
setMinDate(minDate: string): void;
setMaxDate(minDate: string): void;
getPopup(): {
start: DynamicDateTimeCombo;
end: DynamicDateTimeCombo;
};
}

7
packages/fineui/typescript/widget/year/combo.year.ts

@ -1,3 +1,4 @@
import { PopupView } from "../../base/layer/layer.popup";
import { Widget } from "../../core/widget";
export declare class DynamicYearCombo extends Widget {
@ -7,11 +8,17 @@ export declare class DynamicYearCombo extends Widget {
static EVENT_CONFIRM: string;
static EVENT_BEFORE_POPUPVIEW: string;
props: {
popup?: any;
};
getValue(): DynamicYearComboValue;
setMinDate(minDate: string): void;
setMaxDate(maxDate: string): void;
getPopup(): PopupView;
}
export interface DynamicYearComboValue {

7
packages/fineui/typescript/widget/yearmonth/combo.yearmonth.ts

@ -1,3 +1,4 @@
import { PopupView } from "../../base/layer/layer.popup";
import { Single } from "../../base/single/single";
export declare class DynamicYearMonthCombo extends Single {
@ -8,6 +9,10 @@ export declare class DynamicYearMonthCombo extends Single {
static EVENT_CONFIRM: string;
static EVENT_BEFORE_POPUPVIEW: string;
props: {
popup?: any;
} & Single["props"];
hideView(): void;
getKey(): string;
@ -17,6 +22,8 @@ export declare class DynamicYearMonthCombo extends Single {
setMinDate(minDate: string): void;
setMaxDate(maxDate: string): void;
getPopup(): PopupView;
}
export interface DynamicYearMonthComboValue {

11
packages/fineui/typescript/widget/yearmonthinterval/yearmonthinterval.ts

@ -1,5 +1,5 @@
import { Single } from '../../base/single/single';
import { DynamicYearMonthComboValue } from '../yearmonth/combo.yearmonth';
import { DynamicYearMonthCombo, DynamicYearMonthComboValue } from '../yearmonth/combo.yearmonth';
export declare class YearMonthInterval extends Single {
static xtype: string;
@ -7,9 +7,13 @@ export declare class YearMonthInterval extends Single {
static EVENT_ERROR: string;
static EVENT_CHANGE: string;
static EVENT_BEFORE_POPUPVIEW: string;
static EVENT_BEFORE_START_POPUPVIEW: string;
static EVENT_BEFORE_END_POPUPVIEW: string;
props: {
simple?: boolean;
container?: string;
popup?: any;
} & Single['props'];
getValue(): {
@ -20,4 +24,9 @@ export declare class YearMonthInterval extends Single {
setMinDate(minDate: string): void;
setMaxDate(maxDate: string): void;
getPopup(): {
start: DynamicYearMonthCombo;
end: DynamicYearMonthCombo;
};
}

7
packages/fineui/typescript/widget/yearquarter/combo.yearquarter.ts

@ -1,3 +1,4 @@
import { PopupView } from "../../base/layer/layer.popup";
import { Widget } from "../../core/widget";
export declare class DynamicYearQuarterCombo extends Widget {
@ -5,11 +6,17 @@ export declare class DynamicYearQuarterCombo extends Widget {
static EVENT_CONFIRM: string;
static EVENT_BEFORE_POPUPVIEW: string;
props: {
popup?: any;
};
getValue(): DynamicYearQuarterComboValue;
setMinDate(minDate: string): void;
setMaxDate(maxDate: string): void;
getPopup(): PopupView;
}
export interface DynamicYearQuarterComboValue {

Loading…
Cancel
Save