diff --git a/demo/js/widget/multiselect/demo.multi_select_tree.js b/demo/js/widget/multiselect/demo.multi_select_tree.js index 1869398ea8..f912e613b2 100644 --- a/demo/js/widget/multiselect/demo.multi_select_tree.js +++ b/demo/js/widget/multiselect/demo.multi_select_tree.js @@ -13,7 +13,9 @@ Demo.MultiSelectList = BI.inherit(BI.Widget, { _createMultiSelectCombo: function () { var self = this; var widget = BI.createWidget({ - type: "bi.multi_select_insert_no_bar_list", + type: "bi.multi_select_insert_list", + width: 200, + height: 300, ref: function (ref) { self.list = ref; }, @@ -80,7 +82,10 @@ Demo.MultiSelectList = BI.inherit(BI.Widget, { type: "bi.absolute", scrolly: false, items: [{ - el: this._createMultiSelectCombo(), + el: { + type: "bi.center_adapt", + items: [this._createMultiSelectCombo()] + }, top: 50, left: 50, right: 50, diff --git a/dist/bundle.js b/dist/bundle.js index 48df53b9e4..70d8618569 100644 --- a/dist/bundle.js +++ b/dist/bundle.js @@ -99030,14 +99030,12 @@ BI.MultiSelectSearchInsertPane = BI.inherit(BI.Widget, { }); this.addNotMatchTip = BI.createWidget({ - type: "bi.icon_text_item", + type: "bi.label", invisible: true, - logic: { - dynamic: true - }, text: BI.i18nText("BI-Basic_Click_To_Add_Text", ""), - cls: "text-add-tip-font", height: this.constants.height, + cls: "bi-high-light", + hgap: 5, handler: function () { self.fireEvent(BI.MultiSelectSearchInsertPane.EVENT_ADD_ITEM, o.keywordGetter()); } @@ -99063,13 +99061,29 @@ BI.MultiSelectSearchInsertPane = BI.inherit(BI.Widget, { type: "bi.vtape", element: this, items: [{ - type: "bi.float_center_adapt", + type: "bi.vertical", items: [this.tooltipClick, this.addNotMatchTip], height: this.constants.height }, { el: this.loader }] }); + + BI.createWidget({ + type: "bi.absolute", + element: this.addNotMatchTip, + items: [{ + el: { + type: "bi.icon_label", + width: this.constants.height, + cls: "text-add-tip-font" + }, + left: 0, + top: 0, + height: this.constants.height, + width: this.constants.height + }] + }); }, setKeyword: function (keyword) { diff --git a/dist/demo.js b/dist/demo.js index cd3489205d..7739c9f1c2 100644 --- a/dist/demo.js +++ b/dist/demo.js @@ -12853,7 +12853,9 @@ Demo.MultiSelectList = BI.inherit(BI.Widget, { _createMultiSelectCombo: function () { var self = this; var widget = BI.createWidget({ - type: "bi.multi_select_insert_no_bar_list", + type: "bi.multi_select_insert_list", + width: 200, + height: 300, ref: function (ref) { self.list = ref; }, @@ -12920,7 +12922,10 @@ Demo.MultiSelectList = BI.inherit(BI.Widget, { type: "bi.absolute", scrolly: false, items: [{ - el: this._createMultiSelectCombo(), + el: { + type: "bi.center_adapt", + items: [this._createMultiSelectCombo()] + }, top: 50, left: 50, right: 50, diff --git a/dist/fineui.js b/dist/fineui.js index fa1c7f79f7..ece84f89c1 100644 --- a/dist/fineui.js +++ b/dist/fineui.js @@ -99279,14 +99279,12 @@ BI.MultiSelectSearchInsertPane = BI.inherit(BI.Widget, { }); this.addNotMatchTip = BI.createWidget({ - type: "bi.icon_text_item", + type: "bi.label", invisible: true, - logic: { - dynamic: true - }, text: BI.i18nText("BI-Basic_Click_To_Add_Text", ""), - cls: "text-add-tip-font", height: this.constants.height, + cls: "bi-high-light", + hgap: 5, handler: function () { self.fireEvent(BI.MultiSelectSearchInsertPane.EVENT_ADD_ITEM, o.keywordGetter()); } @@ -99312,13 +99310,29 @@ BI.MultiSelectSearchInsertPane = BI.inherit(BI.Widget, { type: "bi.vtape", element: this, items: [{ - type: "bi.float_center_adapt", + type: "bi.vertical", items: [this.tooltipClick, this.addNotMatchTip], height: this.constants.height }, { el: this.loader }] }); + + BI.createWidget({ + type: "bi.absolute", + element: this.addNotMatchTip, + items: [{ + el: { + type: "bi.icon_label", + width: this.constants.height, + cls: "text-add-tip-font" + }, + left: 0, + top: 0, + height: this.constants.height, + width: this.constants.height + }] + }); }, setKeyword: function (keyword) { diff --git a/dist/widget.js b/dist/widget.js index d75a6ca209..768e56daa2 100644 --- a/dist/widget.js +++ b/dist/widget.js @@ -11232,14 +11232,12 @@ BI.MultiSelectSearchInsertPane = BI.inherit(BI.Widget, { }); this.addNotMatchTip = BI.createWidget({ - type: "bi.icon_text_item", + type: "bi.label", invisible: true, - logic: { - dynamic: true - }, text: BI.i18nText("BI-Basic_Click_To_Add_Text", ""), - cls: "text-add-tip-font", height: this.constants.height, + cls: "bi-high-light", + hgap: 5, handler: function () { self.fireEvent(BI.MultiSelectSearchInsertPane.EVENT_ADD_ITEM, o.keywordGetter()); } @@ -11265,13 +11263,29 @@ BI.MultiSelectSearchInsertPane = BI.inherit(BI.Widget, { type: "bi.vtape", element: this, items: [{ - type: "bi.float_center_adapt", + type: "bi.vertical", items: [this.tooltipClick, this.addNotMatchTip], height: this.constants.height }, { el: this.loader }] }); + + BI.createWidget({ + type: "bi.absolute", + element: this.addNotMatchTip, + items: [{ + el: { + type: "bi.icon_label", + width: this.constants.height, + cls: "text-add-tip-font" + }, + left: 0, + top: 0, + height: this.constants.height, + width: this.constants.height + }] + }); }, setKeyword: function (keyword) { diff --git a/src/widget/multiselect/search/multiselect.search.insert.pane.js b/src/widget/multiselect/search/multiselect.search.insert.pane.js index 7fa754fa09..3d3418e258 100644 --- a/src/widget/multiselect/search/multiselect.search.insert.pane.js +++ b/src/widget/multiselect/search/multiselect.search.insert.pane.js @@ -35,14 +35,12 @@ BI.MultiSelectSearchInsertPane = BI.inherit(BI.Widget, { }); this.addNotMatchTip = BI.createWidget({ - type: "bi.icon_text_item", + type: "bi.label", invisible: true, - logic: { - dynamic: true - }, text: BI.i18nText("BI-Basic_Click_To_Add_Text", ""), - cls: "text-add-tip-font", height: this.constants.height, + cls: "bi-high-light", + hgap: 5, handler: function () { self.fireEvent(BI.MultiSelectSearchInsertPane.EVENT_ADD_ITEM, o.keywordGetter()); } @@ -68,13 +66,29 @@ BI.MultiSelectSearchInsertPane = BI.inherit(BI.Widget, { type: "bi.vtape", element: this, items: [{ - type: "bi.float_center_adapt", + type: "bi.vertical", items: [this.tooltipClick, this.addNotMatchTip], height: this.constants.height }, { el: this.loader }] }); + + BI.createWidget({ + type: "bi.absolute", + element: this.addNotMatchTip, + items: [{ + el: { + type: "bi.icon_label", + width: this.constants.height, + cls: "text-add-tip-font" + }, + left: 0, + top: 0, + height: this.constants.height, + width: this.constants.height + }] + }); }, setKeyword: function (keyword) {