Browse Source

Merge pull request #1151 in VISUAL/fineui from ~WINDY/fineui:master to master

* commit 'b3a1f142b36c8400eb81c07ef94ebda1c153032d':
  默认阻止按钮事件冒泡
  BI-52452 refactor: 加圆角
  update: 事件名改一下
  update
  无JIRA任务 文本列表复制粘贴的时候要发事件
es6
windy 5 years ago
parent
commit
a35d19d116
  1. 2
      changelog.md
  2. 3
      src/base/layer/layer.popover.js
  3. 2
      src/case/combo/bubblecombo/popup.bubble.js
  4. 3
      src/css/base/view/popover.css
  5. 1
      src/less/base/view/popover.less
  6. 1
      src/widget/multiselectlist/multiselectlist.insert.js
  7. 1
      src/widget/multiselectlist/multiselectlist.insert.nobar.js
  8. 1
      src/widget/multiselectlist/multiselectlist.js

2
changelog.md

@ -1,5 +1,7 @@
# 更新日志
2.0(2019-09)
- [视觉]popover弹出框增加圆角
- 文本列表通过复制粘贴的形式选中值的时候发送事件
- 修复tree_value_chooser选中节点的唯一子节点后搜索该子节点,无法取消选中的问题
- button的bubble创建的popup在收起的时候会destroy
- 修复了dynamic_date_pane在切换静态时间和动态时间的时候不会发事件的问题

3
src/base/layer/layer.popover.js

@ -15,7 +15,7 @@ BI.Popover = BI.inherit(BI.Widget, {
_defaultConfig: function () {
return BI.extend(BI.Popover.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-popover bi-card",
baseCls: "bi-popover bi-card bi-border-radius",
// width: 600,
// height: 500,
size: "normal", // small, normal, big
@ -63,6 +63,7 @@ BI.Popover = BI.inherit(BI.Widget, {
cls: "bi-font-bold",
height: this._constant.HEADER_HEIGHT,
text: o.header,
title: o.header,
textAlign: "left"
},
left: 20,

2
src/case/combo/bubblecombo/popup.bubble.js

@ -110,9 +110,11 @@ BI.TextBubblePopupBarView = BI.inherit(BI.Widget, {
buttons: [{
level: "ignore",
value: false,
stopPropagation: true,
text: BI.i18nText("BI-Basic_Cancel")
}, {
value: true,
stopPropagation: true,
text: BI.i18nText("BI-Basic_Sure")
}]
};

3
src/css/base/view/popover.css

@ -0,0 +1,3 @@
.bi-popover {
border: 1px solid transparent;
}

1
src/less/base/view/popover.less

@ -1,4 +1,5 @@
@import "../../index";
.bi-popover {
border: 1px solid transparent;
}

1
src/widget/multiselectlist/multiselectlist.insert.js

@ -137,6 +137,7 @@ BI.MultiSelectInsertList = BI.inherit(BI.Single, {
self.adapter.setValue(self.storeValue);
assertShowValue();
}
self.fireEvent(BI.MultiSelectInsertList.EVENT_CHANGE);
});
}
}

1
src/widget/multiselectlist/multiselectlist.insert.nobar.js

@ -142,6 +142,7 @@ BI.MultiSelectInsertNoBarList = BI.inherit(BI.Single, {
self.adapter.setValue(self.storeValue);
assertShowValue();
}
self.fireEvent(BI.MultiSelectInsertNoBarList.EVENT_CHANGE);
});
}
}

1
src/widget/multiselectlist/multiselectlist.js

@ -120,6 +120,7 @@ BI.MultiSelectList = BI.inherit(BI.Widget, {
self.adapter.setValue(self.storeValue);
assertShowValue();
}
self.fireEvent(BI.MultiSelectList.EVENT_CHANGE);
});
}
}

Loading…
Cancel
Save