Browse Source

REPORT-20250 feat: 可编辑的下拉框加水印

master
windy 5 years ago
parent
commit
1ac2887b43
  1. 25
      dist/2.0/fineui.ie.js
  2. 25
      dist/2.0/fineui.js
  3. 25
      dist/bundle.ie.js
  4. 25
      dist/bundle.js
  5. 25
      dist/fineui.ie.js
  6. 25
      dist/fineui.js
  7. 25
      dist/fineui_without_jquery_polyfill.js
  8. 25
      dist/widget.js
  9. 1
      src/widget/multilayerselecttree/multilayerselecttree.combo.js
  10. 5
      src/widget/multilayerselecttree/multilayerselecttree.trigger.js
  11. 1
      src/widget/multilayersingletree/multilayersingletree.combo.js
  12. 5
      src/widget/multilayersingletree/multilayersingletree.trigger.js
  13. 1
      src/widget/multiselect/multiselect.insert.combo.js
  14. 1
      src/widget/multiselect/multiselect.insert.trigger.js
  15. 1
      src/widget/multiselect/multiselect.trigger.js
  16. 5
      src/widget/multiselect/trigger/editor.multiselect.js
  17. 1
      src/widget/multiselect/trigger/searcher.multiselect.insert.js
  18. 1
      src/widget/multitree/multi.tree.insert.combo.js
  19. 3
      src/widget/multitree/trigger/searcher.multi.tree.js

25
dist/2.0/fineui.ie.js vendored

@ -68679,6 +68679,7 @@ BI.MultiLayerSelectTreeCombo = BI.inherit(BI.Widget, {
items: o.items, items: o.items,
itemsCreator: o.itemsCreator, itemsCreator: o.itemsCreator,
valueFormatter: o.valueFormatter, valueFormatter: o.valueFormatter,
watermark: o.watermark,
height: o.height - 2, height: o.height - 2,
text: o.text, text: o.text,
value: o.value, value: o.value,
@ -69017,7 +69018,8 @@ BI.MultiLayerSelectTreeTrigger = BI.inherit(BI.Trigger, {
valueFormatter: function (v) { valueFormatter: function (v) {
return v; return v;
}, },
itemsCreator: BI.emptyFn itemsCreator: BI.emptyFn,
watermark: BI.i18nText("BI-Basic_Search")
}, },
render: function () { render: function () {
@ -69046,7 +69048,7 @@ BI.MultiLayerSelectTreeTrigger = BI.inherit(BI.Trigger, {
value: o.value, value: o.value,
height: o.height, height: o.height,
tipText: "", tipText: "",
watermark: BI.i18nText("BI-Basic_Search"), watermark: o.watermark,
listeners: [{ listeners: [{
eventName: BI.StateEditor.EVENT_FOCUS, eventName: BI.StateEditor.EVENT_FOCUS,
action: function () { action: function () {
@ -69687,6 +69689,7 @@ BI.MultiLayerSingleTreeCombo = BI.inherit(BI.Widget, {
ref: function (_ref) { ref: function (_ref) {
self.trigger = _ref; self.trigger = _ref;
}, },
watermark: o.watermark,
items: o.items, items: o.items,
itemsCreator: o.itemsCreator, itemsCreator: o.itemsCreator,
valueFormatter: o.valueFormatter, valueFormatter: o.valueFormatter,
@ -70027,7 +70030,8 @@ BI.MultiLayerSingleTreeTrigger = BI.inherit(BI.Trigger, {
valueFormatter: function (v) { valueFormatter: function (v) {
return v; return v;
}, },
itemsCreator: BI.emptyFn itemsCreator: BI.emptyFn,
watermark: BI.i18nText("BI-Basic_Search")
}, },
render: function () { render: function () {
@ -70056,7 +70060,7 @@ BI.MultiLayerSingleTreeTrigger = BI.inherit(BI.Trigger, {
value: o.value, value: o.value,
height: o.height, height: o.height,
tipText: "", tipText: "",
watermark: BI.i18nText("BI-Basic_Search"), watermark: o.watermark,
listeners: [{ listeners: [{
eventName: BI.StateEditor.EVENT_FOCUS, eventName: BI.StateEditor.EVENT_FOCUS,
action: function () { action: function () {
@ -71507,6 +71511,7 @@ BI.MultiSelectInsertCombo = BI.inherit(BI.Single, {
allowEdit: o.allowEdit, allowEdit: o.allowEdit,
height: o.height, height: o.height,
text: o.text, text: o.text,
watermark: o.watermark,
// adapter: this.popup, // adapter: this.popup,
masker: { masker: {
offset: { offset: {
@ -72307,6 +72312,7 @@ BI.MultiSelectInsertTrigger = BI.inherit(BI.Trigger, {
text: o.text, text: o.text,
itemsCreator: o.itemsCreator, itemsCreator: o.itemsCreator,
valueFormatter: o.valueFormatter, valueFormatter: o.valueFormatter,
watermark: o.watermark,
popup: {}, popup: {},
adapter: o.adapter, adapter: o.adapter,
masker: o.masker, masker: o.masker,
@ -73033,6 +73039,7 @@ BI.MultiSelectTrigger = BI.inherit(BI.Trigger, {
text: o.text, text: o.text,
itemsCreator: o.itemsCreator, itemsCreator: o.itemsCreator,
valueFormatter: o.valueFormatter, valueFormatter: o.valueFormatter,
watermark: o.watermark,
popup: {}, popup: {},
adapter: o.adapter, adapter: o.adapter,
masker: o.masker, masker: o.masker,
@ -73631,7 +73638,8 @@ BI.MultiSelectEditor = BI.inherit(BI.Widget, {
_defaultConfig: function () { _defaultConfig: function () {
return BI.extend(BI.MultiSelectEditor.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.MultiSelectEditor.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-multi-select-editor", baseCls: "bi-multi-select-editor",
el: {} el: {},
watermark: BI.i18nText("BI-Basic_Search")
}); });
}, },
@ -73642,7 +73650,7 @@ BI.MultiSelectEditor = BI.inherit(BI.Widget, {
type: "bi.state_editor", type: "bi.state_editor",
element: this, element: this,
height: o.height, height: o.height,
watermark: BI.i18nText("BI-Basic_Search"), watermark: o.watermark,
allowBlank: true, allowBlank: true,
value: o.value, value: o.value,
defaultText: o.text, defaultText: o.text,
@ -73739,6 +73747,7 @@ BI.MultiSelectInsertSearcher = BI.inherit(BI.Widget, {
var self = this, o = this.options; var self = this, o = this.options;
this.editor = BI.createWidget(o.el, { this.editor = BI.createWidget(o.el, {
type: "bi.multi_select_editor", type: "bi.multi_select_editor",
watermark: o.watermark,
height: o.height, height: o.height,
text: o.text, text: o.text,
listeners: [{ listeners: [{
@ -75903,6 +75912,7 @@ BI.MultiTreeInsertCombo = BI.inherit(BI.Single, {
searcher: { searcher: {
type: "bi.multi_tree_searcher", type: "bi.multi_tree_searcher",
text: o.text, text: o.text,
watermark: o.watermark,
itemsCreator: o.itemsCreator, itemsCreator: o.itemsCreator,
popup: { popup: {
type: "bi.multi_tree_search_insert_pane", type: "bi.multi_tree_search_insert_pane",
@ -77009,7 +77019,7 @@ BI.MultiTreeSearcher = BI.inherit(BI.Widget, {
popup: {}, popup: {},
adapter: null, adapter: null,
masker: {} masker: {},
}); });
}, },
@ -77018,6 +77028,7 @@ BI.MultiTreeSearcher = BI.inherit(BI.Widget, {
var self = this, o = this.options; var self = this, o = this.options;
this.editor = BI.createWidget({ this.editor = BI.createWidget({
type: "bi.multi_select_editor", type: "bi.multi_select_editor",
watermark: o.watermark,
height: o.height, height: o.height,
el: { el: {
type: "bi.simple_state_editor", type: "bi.simple_state_editor",

25
dist/2.0/fineui.js vendored

@ -69083,6 +69083,7 @@ BI.MultiLayerSelectTreeCombo = BI.inherit(BI.Widget, {
items: o.items, items: o.items,
itemsCreator: o.itemsCreator, itemsCreator: o.itemsCreator,
valueFormatter: o.valueFormatter, valueFormatter: o.valueFormatter,
watermark: o.watermark,
height: o.height - 2, height: o.height - 2,
text: o.text, text: o.text,
value: o.value, value: o.value,
@ -69421,7 +69422,8 @@ BI.MultiLayerSelectTreeTrigger = BI.inherit(BI.Trigger, {
valueFormatter: function (v) { valueFormatter: function (v) {
return v; return v;
}, },
itemsCreator: BI.emptyFn itemsCreator: BI.emptyFn,
watermark: BI.i18nText("BI-Basic_Search")
}, },
render: function () { render: function () {
@ -69450,7 +69452,7 @@ BI.MultiLayerSelectTreeTrigger = BI.inherit(BI.Trigger, {
value: o.value, value: o.value,
height: o.height, height: o.height,
tipText: "", tipText: "",
watermark: BI.i18nText("BI-Basic_Search"), watermark: o.watermark,
listeners: [{ listeners: [{
eventName: BI.StateEditor.EVENT_FOCUS, eventName: BI.StateEditor.EVENT_FOCUS,
action: function () { action: function () {
@ -70091,6 +70093,7 @@ BI.MultiLayerSingleTreeCombo = BI.inherit(BI.Widget, {
ref: function (_ref) { ref: function (_ref) {
self.trigger = _ref; self.trigger = _ref;
}, },
watermark: o.watermark,
items: o.items, items: o.items,
itemsCreator: o.itemsCreator, itemsCreator: o.itemsCreator,
valueFormatter: o.valueFormatter, valueFormatter: o.valueFormatter,
@ -70431,7 +70434,8 @@ BI.MultiLayerSingleTreeTrigger = BI.inherit(BI.Trigger, {
valueFormatter: function (v) { valueFormatter: function (v) {
return v; return v;
}, },
itemsCreator: BI.emptyFn itemsCreator: BI.emptyFn,
watermark: BI.i18nText("BI-Basic_Search")
}, },
render: function () { render: function () {
@ -70460,7 +70464,7 @@ BI.MultiLayerSingleTreeTrigger = BI.inherit(BI.Trigger, {
value: o.value, value: o.value,
height: o.height, height: o.height,
tipText: "", tipText: "",
watermark: BI.i18nText("BI-Basic_Search"), watermark: o.watermark,
listeners: [{ listeners: [{
eventName: BI.StateEditor.EVENT_FOCUS, eventName: BI.StateEditor.EVENT_FOCUS,
action: function () { action: function () {
@ -71911,6 +71915,7 @@ BI.MultiSelectInsertCombo = BI.inherit(BI.Single, {
allowEdit: o.allowEdit, allowEdit: o.allowEdit,
height: o.height, height: o.height,
text: o.text, text: o.text,
watermark: o.watermark,
// adapter: this.popup, // adapter: this.popup,
masker: { masker: {
offset: { offset: {
@ -72711,6 +72716,7 @@ BI.MultiSelectInsertTrigger = BI.inherit(BI.Trigger, {
text: o.text, text: o.text,
itemsCreator: o.itemsCreator, itemsCreator: o.itemsCreator,
valueFormatter: o.valueFormatter, valueFormatter: o.valueFormatter,
watermark: o.watermark,
popup: {}, popup: {},
adapter: o.adapter, adapter: o.adapter,
masker: o.masker, masker: o.masker,
@ -73437,6 +73443,7 @@ BI.MultiSelectTrigger = BI.inherit(BI.Trigger, {
text: o.text, text: o.text,
itemsCreator: o.itemsCreator, itemsCreator: o.itemsCreator,
valueFormatter: o.valueFormatter, valueFormatter: o.valueFormatter,
watermark: o.watermark,
popup: {}, popup: {},
adapter: o.adapter, adapter: o.adapter,
masker: o.masker, masker: o.masker,
@ -74035,7 +74042,8 @@ BI.MultiSelectEditor = BI.inherit(BI.Widget, {
_defaultConfig: function () { _defaultConfig: function () {
return BI.extend(BI.MultiSelectEditor.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.MultiSelectEditor.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-multi-select-editor", baseCls: "bi-multi-select-editor",
el: {} el: {},
watermark: BI.i18nText("BI-Basic_Search")
}); });
}, },
@ -74046,7 +74054,7 @@ BI.MultiSelectEditor = BI.inherit(BI.Widget, {
type: "bi.state_editor", type: "bi.state_editor",
element: this, element: this,
height: o.height, height: o.height,
watermark: BI.i18nText("BI-Basic_Search"), watermark: o.watermark,
allowBlank: true, allowBlank: true,
value: o.value, value: o.value,
defaultText: o.text, defaultText: o.text,
@ -74143,6 +74151,7 @@ BI.MultiSelectInsertSearcher = BI.inherit(BI.Widget, {
var self = this, o = this.options; var self = this, o = this.options;
this.editor = BI.createWidget(o.el, { this.editor = BI.createWidget(o.el, {
type: "bi.multi_select_editor", type: "bi.multi_select_editor",
watermark: o.watermark,
height: o.height, height: o.height,
text: o.text, text: o.text,
listeners: [{ listeners: [{
@ -76307,6 +76316,7 @@ BI.MultiTreeInsertCombo = BI.inherit(BI.Single, {
searcher: { searcher: {
type: "bi.multi_tree_searcher", type: "bi.multi_tree_searcher",
text: o.text, text: o.text,
watermark: o.watermark,
itemsCreator: o.itemsCreator, itemsCreator: o.itemsCreator,
popup: { popup: {
type: "bi.multi_tree_search_insert_pane", type: "bi.multi_tree_search_insert_pane",
@ -77413,7 +77423,7 @@ BI.MultiTreeSearcher = BI.inherit(BI.Widget, {
popup: {}, popup: {},
adapter: null, adapter: null,
masker: {} masker: {},
}); });
}, },
@ -77422,6 +77432,7 @@ BI.MultiTreeSearcher = BI.inherit(BI.Widget, {
var self = this, o = this.options; var self = this, o = this.options;
this.editor = BI.createWidget({ this.editor = BI.createWidget({
type: "bi.multi_select_editor", type: "bi.multi_select_editor",
watermark: o.watermark,
height: o.height, height: o.height,
el: { el: {
type: "bi.simple_state_editor", type: "bi.simple_state_editor",

25
dist/bundle.ie.js vendored

@ -68679,6 +68679,7 @@ BI.MultiLayerSelectTreeCombo = BI.inherit(BI.Widget, {
items: o.items, items: o.items,
itemsCreator: o.itemsCreator, itemsCreator: o.itemsCreator,
valueFormatter: o.valueFormatter, valueFormatter: o.valueFormatter,
watermark: o.watermark,
height: o.height - 2, height: o.height - 2,
text: o.text, text: o.text,
value: o.value, value: o.value,
@ -69017,7 +69018,8 @@ BI.MultiLayerSelectTreeTrigger = BI.inherit(BI.Trigger, {
valueFormatter: function (v) { valueFormatter: function (v) {
return v; return v;
}, },
itemsCreator: BI.emptyFn itemsCreator: BI.emptyFn,
watermark: BI.i18nText("BI-Basic_Search")
}, },
render: function () { render: function () {
@ -69046,7 +69048,7 @@ BI.MultiLayerSelectTreeTrigger = BI.inherit(BI.Trigger, {
value: o.value, value: o.value,
height: o.height, height: o.height,
tipText: "", tipText: "",
watermark: BI.i18nText("BI-Basic_Search"), watermark: o.watermark,
listeners: [{ listeners: [{
eventName: BI.StateEditor.EVENT_FOCUS, eventName: BI.StateEditor.EVENT_FOCUS,
action: function () { action: function () {
@ -69687,6 +69689,7 @@ BI.MultiLayerSingleTreeCombo = BI.inherit(BI.Widget, {
ref: function (_ref) { ref: function (_ref) {
self.trigger = _ref; self.trigger = _ref;
}, },
watermark: o.watermark,
items: o.items, items: o.items,
itemsCreator: o.itemsCreator, itemsCreator: o.itemsCreator,
valueFormatter: o.valueFormatter, valueFormatter: o.valueFormatter,
@ -70027,7 +70030,8 @@ BI.MultiLayerSingleTreeTrigger = BI.inherit(BI.Trigger, {
valueFormatter: function (v) { valueFormatter: function (v) {
return v; return v;
}, },
itemsCreator: BI.emptyFn itemsCreator: BI.emptyFn,
watermark: BI.i18nText("BI-Basic_Search")
}, },
render: function () { render: function () {
@ -70056,7 +70060,7 @@ BI.MultiLayerSingleTreeTrigger = BI.inherit(BI.Trigger, {
value: o.value, value: o.value,
height: o.height, height: o.height,
tipText: "", tipText: "",
watermark: BI.i18nText("BI-Basic_Search"), watermark: o.watermark,
listeners: [{ listeners: [{
eventName: BI.StateEditor.EVENT_FOCUS, eventName: BI.StateEditor.EVENT_FOCUS,
action: function () { action: function () {
@ -71507,6 +71511,7 @@ BI.MultiSelectInsertCombo = BI.inherit(BI.Single, {
allowEdit: o.allowEdit, allowEdit: o.allowEdit,
height: o.height, height: o.height,
text: o.text, text: o.text,
watermark: o.watermark,
// adapter: this.popup, // adapter: this.popup,
masker: { masker: {
offset: { offset: {
@ -72307,6 +72312,7 @@ BI.MultiSelectInsertTrigger = BI.inherit(BI.Trigger, {
text: o.text, text: o.text,
itemsCreator: o.itemsCreator, itemsCreator: o.itemsCreator,
valueFormatter: o.valueFormatter, valueFormatter: o.valueFormatter,
watermark: o.watermark,
popup: {}, popup: {},
adapter: o.adapter, adapter: o.adapter,
masker: o.masker, masker: o.masker,
@ -73033,6 +73039,7 @@ BI.MultiSelectTrigger = BI.inherit(BI.Trigger, {
text: o.text, text: o.text,
itemsCreator: o.itemsCreator, itemsCreator: o.itemsCreator,
valueFormatter: o.valueFormatter, valueFormatter: o.valueFormatter,
watermark: o.watermark,
popup: {}, popup: {},
adapter: o.adapter, adapter: o.adapter,
masker: o.masker, masker: o.masker,
@ -73631,7 +73638,8 @@ BI.MultiSelectEditor = BI.inherit(BI.Widget, {
_defaultConfig: function () { _defaultConfig: function () {
return BI.extend(BI.MultiSelectEditor.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.MultiSelectEditor.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-multi-select-editor", baseCls: "bi-multi-select-editor",
el: {} el: {},
watermark: BI.i18nText("BI-Basic_Search")
}); });
}, },
@ -73642,7 +73650,7 @@ BI.MultiSelectEditor = BI.inherit(BI.Widget, {
type: "bi.state_editor", type: "bi.state_editor",
element: this, element: this,
height: o.height, height: o.height,
watermark: BI.i18nText("BI-Basic_Search"), watermark: o.watermark,
allowBlank: true, allowBlank: true,
value: o.value, value: o.value,
defaultText: o.text, defaultText: o.text,
@ -73739,6 +73747,7 @@ BI.MultiSelectInsertSearcher = BI.inherit(BI.Widget, {
var self = this, o = this.options; var self = this, o = this.options;
this.editor = BI.createWidget(o.el, { this.editor = BI.createWidget(o.el, {
type: "bi.multi_select_editor", type: "bi.multi_select_editor",
watermark: o.watermark,
height: o.height, height: o.height,
text: o.text, text: o.text,
listeners: [{ listeners: [{
@ -75903,6 +75912,7 @@ BI.MultiTreeInsertCombo = BI.inherit(BI.Single, {
searcher: { searcher: {
type: "bi.multi_tree_searcher", type: "bi.multi_tree_searcher",
text: o.text, text: o.text,
watermark: o.watermark,
itemsCreator: o.itemsCreator, itemsCreator: o.itemsCreator,
popup: { popup: {
type: "bi.multi_tree_search_insert_pane", type: "bi.multi_tree_search_insert_pane",
@ -77009,7 +77019,7 @@ BI.MultiTreeSearcher = BI.inherit(BI.Widget, {
popup: {}, popup: {},
adapter: null, adapter: null,
masker: {} masker: {},
}); });
}, },
@ -77018,6 +77028,7 @@ BI.MultiTreeSearcher = BI.inherit(BI.Widget, {
var self = this, o = this.options; var self = this, o = this.options;
this.editor = BI.createWidget({ this.editor = BI.createWidget({
type: "bi.multi_select_editor", type: "bi.multi_select_editor",
watermark: o.watermark,
height: o.height, height: o.height,
el: { el: {
type: "bi.simple_state_editor", type: "bi.simple_state_editor",

25
dist/bundle.js vendored

@ -69083,6 +69083,7 @@ BI.MultiLayerSelectTreeCombo = BI.inherit(BI.Widget, {
items: o.items, items: o.items,
itemsCreator: o.itemsCreator, itemsCreator: o.itemsCreator,
valueFormatter: o.valueFormatter, valueFormatter: o.valueFormatter,
watermark: o.watermark,
height: o.height - 2, height: o.height - 2,
text: o.text, text: o.text,
value: o.value, value: o.value,
@ -69421,7 +69422,8 @@ BI.MultiLayerSelectTreeTrigger = BI.inherit(BI.Trigger, {
valueFormatter: function (v) { valueFormatter: function (v) {
return v; return v;
}, },
itemsCreator: BI.emptyFn itemsCreator: BI.emptyFn,
watermark: BI.i18nText("BI-Basic_Search")
}, },
render: function () { render: function () {
@ -69450,7 +69452,7 @@ BI.MultiLayerSelectTreeTrigger = BI.inherit(BI.Trigger, {
value: o.value, value: o.value,
height: o.height, height: o.height,
tipText: "", tipText: "",
watermark: BI.i18nText("BI-Basic_Search"), watermark: o.watermark,
listeners: [{ listeners: [{
eventName: BI.StateEditor.EVENT_FOCUS, eventName: BI.StateEditor.EVENT_FOCUS,
action: function () { action: function () {
@ -70091,6 +70093,7 @@ BI.MultiLayerSingleTreeCombo = BI.inherit(BI.Widget, {
ref: function (_ref) { ref: function (_ref) {
self.trigger = _ref; self.trigger = _ref;
}, },
watermark: o.watermark,
items: o.items, items: o.items,
itemsCreator: o.itemsCreator, itemsCreator: o.itemsCreator,
valueFormatter: o.valueFormatter, valueFormatter: o.valueFormatter,
@ -70431,7 +70434,8 @@ BI.MultiLayerSingleTreeTrigger = BI.inherit(BI.Trigger, {
valueFormatter: function (v) { valueFormatter: function (v) {
return v; return v;
}, },
itemsCreator: BI.emptyFn itemsCreator: BI.emptyFn,
watermark: BI.i18nText("BI-Basic_Search")
}, },
render: function () { render: function () {
@ -70460,7 +70464,7 @@ BI.MultiLayerSingleTreeTrigger = BI.inherit(BI.Trigger, {
value: o.value, value: o.value,
height: o.height, height: o.height,
tipText: "", tipText: "",
watermark: BI.i18nText("BI-Basic_Search"), watermark: o.watermark,
listeners: [{ listeners: [{
eventName: BI.StateEditor.EVENT_FOCUS, eventName: BI.StateEditor.EVENT_FOCUS,
action: function () { action: function () {
@ -71911,6 +71915,7 @@ BI.MultiSelectInsertCombo = BI.inherit(BI.Single, {
allowEdit: o.allowEdit, allowEdit: o.allowEdit,
height: o.height, height: o.height,
text: o.text, text: o.text,
watermark: o.watermark,
// adapter: this.popup, // adapter: this.popup,
masker: { masker: {
offset: { offset: {
@ -72711,6 +72716,7 @@ BI.MultiSelectInsertTrigger = BI.inherit(BI.Trigger, {
text: o.text, text: o.text,
itemsCreator: o.itemsCreator, itemsCreator: o.itemsCreator,
valueFormatter: o.valueFormatter, valueFormatter: o.valueFormatter,
watermark: o.watermark,
popup: {}, popup: {},
adapter: o.adapter, adapter: o.adapter,
masker: o.masker, masker: o.masker,
@ -73437,6 +73443,7 @@ BI.MultiSelectTrigger = BI.inherit(BI.Trigger, {
text: o.text, text: o.text,
itemsCreator: o.itemsCreator, itemsCreator: o.itemsCreator,
valueFormatter: o.valueFormatter, valueFormatter: o.valueFormatter,
watermark: o.watermark,
popup: {}, popup: {},
adapter: o.adapter, adapter: o.adapter,
masker: o.masker, masker: o.masker,
@ -74035,7 +74042,8 @@ BI.MultiSelectEditor = BI.inherit(BI.Widget, {
_defaultConfig: function () { _defaultConfig: function () {
return BI.extend(BI.MultiSelectEditor.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.MultiSelectEditor.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-multi-select-editor", baseCls: "bi-multi-select-editor",
el: {} el: {},
watermark: BI.i18nText("BI-Basic_Search")
}); });
}, },
@ -74046,7 +74054,7 @@ BI.MultiSelectEditor = BI.inherit(BI.Widget, {
type: "bi.state_editor", type: "bi.state_editor",
element: this, element: this,
height: o.height, height: o.height,
watermark: BI.i18nText("BI-Basic_Search"), watermark: o.watermark,
allowBlank: true, allowBlank: true,
value: o.value, value: o.value,
defaultText: o.text, defaultText: o.text,
@ -74143,6 +74151,7 @@ BI.MultiSelectInsertSearcher = BI.inherit(BI.Widget, {
var self = this, o = this.options; var self = this, o = this.options;
this.editor = BI.createWidget(o.el, { this.editor = BI.createWidget(o.el, {
type: "bi.multi_select_editor", type: "bi.multi_select_editor",
watermark: o.watermark,
height: o.height, height: o.height,
text: o.text, text: o.text,
listeners: [{ listeners: [{
@ -76307,6 +76316,7 @@ BI.MultiTreeInsertCombo = BI.inherit(BI.Single, {
searcher: { searcher: {
type: "bi.multi_tree_searcher", type: "bi.multi_tree_searcher",
text: o.text, text: o.text,
watermark: o.watermark,
itemsCreator: o.itemsCreator, itemsCreator: o.itemsCreator,
popup: { popup: {
type: "bi.multi_tree_search_insert_pane", type: "bi.multi_tree_search_insert_pane",
@ -77413,7 +77423,7 @@ BI.MultiTreeSearcher = BI.inherit(BI.Widget, {
popup: {}, popup: {},
adapter: null, adapter: null,
masker: {} masker: {},
}); });
}, },
@ -77422,6 +77432,7 @@ BI.MultiTreeSearcher = BI.inherit(BI.Widget, {
var self = this, o = this.options; var self = this, o = this.options;
this.editor = BI.createWidget({ this.editor = BI.createWidget({
type: "bi.multi_select_editor", type: "bi.multi_select_editor",
watermark: o.watermark,
height: o.height, height: o.height,
el: { el: {
type: "bi.simple_state_editor", type: "bi.simple_state_editor",

25
dist/fineui.ie.js vendored

@ -68924,6 +68924,7 @@ BI.MultiLayerSelectTreeCombo = BI.inherit(BI.Widget, {
items: o.items, items: o.items,
itemsCreator: o.itemsCreator, itemsCreator: o.itemsCreator,
valueFormatter: o.valueFormatter, valueFormatter: o.valueFormatter,
watermark: o.watermark,
height: o.height - 2, height: o.height - 2,
text: o.text, text: o.text,
value: o.value, value: o.value,
@ -69262,7 +69263,8 @@ BI.MultiLayerSelectTreeTrigger = BI.inherit(BI.Trigger, {
valueFormatter: function (v) { valueFormatter: function (v) {
return v; return v;
}, },
itemsCreator: BI.emptyFn itemsCreator: BI.emptyFn,
watermark: BI.i18nText("BI-Basic_Search")
}, },
render: function () { render: function () {
@ -69291,7 +69293,7 @@ BI.MultiLayerSelectTreeTrigger = BI.inherit(BI.Trigger, {
value: o.value, value: o.value,
height: o.height, height: o.height,
tipText: "", tipText: "",
watermark: BI.i18nText("BI-Basic_Search"), watermark: o.watermark,
listeners: [{ listeners: [{
eventName: BI.StateEditor.EVENT_FOCUS, eventName: BI.StateEditor.EVENT_FOCUS,
action: function () { action: function () {
@ -69932,6 +69934,7 @@ BI.MultiLayerSingleTreeCombo = BI.inherit(BI.Widget, {
ref: function (_ref) { ref: function (_ref) {
self.trigger = _ref; self.trigger = _ref;
}, },
watermark: o.watermark,
items: o.items, items: o.items,
itemsCreator: o.itemsCreator, itemsCreator: o.itemsCreator,
valueFormatter: o.valueFormatter, valueFormatter: o.valueFormatter,
@ -70272,7 +70275,8 @@ BI.MultiLayerSingleTreeTrigger = BI.inherit(BI.Trigger, {
valueFormatter: function (v) { valueFormatter: function (v) {
return v; return v;
}, },
itemsCreator: BI.emptyFn itemsCreator: BI.emptyFn,
watermark: BI.i18nText("BI-Basic_Search")
}, },
render: function () { render: function () {
@ -70301,7 +70305,7 @@ BI.MultiLayerSingleTreeTrigger = BI.inherit(BI.Trigger, {
value: o.value, value: o.value,
height: o.height, height: o.height,
tipText: "", tipText: "",
watermark: BI.i18nText("BI-Basic_Search"), watermark: o.watermark,
listeners: [{ listeners: [{
eventName: BI.StateEditor.EVENT_FOCUS, eventName: BI.StateEditor.EVENT_FOCUS,
action: function () { action: function () {
@ -71752,6 +71756,7 @@ BI.MultiSelectInsertCombo = BI.inherit(BI.Single, {
allowEdit: o.allowEdit, allowEdit: o.allowEdit,
height: o.height, height: o.height,
text: o.text, text: o.text,
watermark: o.watermark,
// adapter: this.popup, // adapter: this.popup,
masker: { masker: {
offset: { offset: {
@ -72552,6 +72557,7 @@ BI.MultiSelectInsertTrigger = BI.inherit(BI.Trigger, {
text: o.text, text: o.text,
itemsCreator: o.itemsCreator, itemsCreator: o.itemsCreator,
valueFormatter: o.valueFormatter, valueFormatter: o.valueFormatter,
watermark: o.watermark,
popup: {}, popup: {},
adapter: o.adapter, adapter: o.adapter,
masker: o.masker, masker: o.masker,
@ -73278,6 +73284,7 @@ BI.MultiSelectTrigger = BI.inherit(BI.Trigger, {
text: o.text, text: o.text,
itemsCreator: o.itemsCreator, itemsCreator: o.itemsCreator,
valueFormatter: o.valueFormatter, valueFormatter: o.valueFormatter,
watermark: o.watermark,
popup: {}, popup: {},
adapter: o.adapter, adapter: o.adapter,
masker: o.masker, masker: o.masker,
@ -73876,7 +73883,8 @@ BI.MultiSelectEditor = BI.inherit(BI.Widget, {
_defaultConfig: function () { _defaultConfig: function () {
return BI.extend(BI.MultiSelectEditor.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.MultiSelectEditor.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-multi-select-editor", baseCls: "bi-multi-select-editor",
el: {} el: {},
watermark: BI.i18nText("BI-Basic_Search")
}); });
}, },
@ -73887,7 +73895,7 @@ BI.MultiSelectEditor = BI.inherit(BI.Widget, {
type: "bi.state_editor", type: "bi.state_editor",
element: this, element: this,
height: o.height, height: o.height,
watermark: BI.i18nText("BI-Basic_Search"), watermark: o.watermark,
allowBlank: true, allowBlank: true,
value: o.value, value: o.value,
defaultText: o.text, defaultText: o.text,
@ -73984,6 +73992,7 @@ BI.MultiSelectInsertSearcher = BI.inherit(BI.Widget, {
var self = this, o = this.options; var self = this, o = this.options;
this.editor = BI.createWidget(o.el, { this.editor = BI.createWidget(o.el, {
type: "bi.multi_select_editor", type: "bi.multi_select_editor",
watermark: o.watermark,
height: o.height, height: o.height,
text: o.text, text: o.text,
listeners: [{ listeners: [{
@ -76148,6 +76157,7 @@ BI.MultiTreeInsertCombo = BI.inherit(BI.Single, {
searcher: { searcher: {
type: "bi.multi_tree_searcher", type: "bi.multi_tree_searcher",
text: o.text, text: o.text,
watermark: o.watermark,
itemsCreator: o.itemsCreator, itemsCreator: o.itemsCreator,
popup: { popup: {
type: "bi.multi_tree_search_insert_pane", type: "bi.multi_tree_search_insert_pane",
@ -77254,7 +77264,7 @@ BI.MultiTreeSearcher = BI.inherit(BI.Widget, {
popup: {}, popup: {},
adapter: null, adapter: null,
masker: {} masker: {},
}); });
}, },
@ -77263,6 +77273,7 @@ BI.MultiTreeSearcher = BI.inherit(BI.Widget, {
var self = this, o = this.options; var self = this, o = this.options;
this.editor = BI.createWidget({ this.editor = BI.createWidget({
type: "bi.multi_select_editor", type: "bi.multi_select_editor",
watermark: o.watermark,
height: o.height, height: o.height,
el: { el: {
type: "bi.simple_state_editor", type: "bi.simple_state_editor",

25
dist/fineui.js vendored

@ -69328,6 +69328,7 @@ BI.MultiLayerSelectTreeCombo = BI.inherit(BI.Widget, {
items: o.items, items: o.items,
itemsCreator: o.itemsCreator, itemsCreator: o.itemsCreator,
valueFormatter: o.valueFormatter, valueFormatter: o.valueFormatter,
watermark: o.watermark,
height: o.height - 2, height: o.height - 2,
text: o.text, text: o.text,
value: o.value, value: o.value,
@ -69666,7 +69667,8 @@ BI.MultiLayerSelectTreeTrigger = BI.inherit(BI.Trigger, {
valueFormatter: function (v) { valueFormatter: function (v) {
return v; return v;
}, },
itemsCreator: BI.emptyFn itemsCreator: BI.emptyFn,
watermark: BI.i18nText("BI-Basic_Search")
}, },
render: function () { render: function () {
@ -69695,7 +69697,7 @@ BI.MultiLayerSelectTreeTrigger = BI.inherit(BI.Trigger, {
value: o.value, value: o.value,
height: o.height, height: o.height,
tipText: "", tipText: "",
watermark: BI.i18nText("BI-Basic_Search"), watermark: o.watermark,
listeners: [{ listeners: [{
eventName: BI.StateEditor.EVENT_FOCUS, eventName: BI.StateEditor.EVENT_FOCUS,
action: function () { action: function () {
@ -70336,6 +70338,7 @@ BI.MultiLayerSingleTreeCombo = BI.inherit(BI.Widget, {
ref: function (_ref) { ref: function (_ref) {
self.trigger = _ref; self.trigger = _ref;
}, },
watermark: o.watermark,
items: o.items, items: o.items,
itemsCreator: o.itemsCreator, itemsCreator: o.itemsCreator,
valueFormatter: o.valueFormatter, valueFormatter: o.valueFormatter,
@ -70676,7 +70679,8 @@ BI.MultiLayerSingleTreeTrigger = BI.inherit(BI.Trigger, {
valueFormatter: function (v) { valueFormatter: function (v) {
return v; return v;
}, },
itemsCreator: BI.emptyFn itemsCreator: BI.emptyFn,
watermark: BI.i18nText("BI-Basic_Search")
}, },
render: function () { render: function () {
@ -70705,7 +70709,7 @@ BI.MultiLayerSingleTreeTrigger = BI.inherit(BI.Trigger, {
value: o.value, value: o.value,
height: o.height, height: o.height,
tipText: "", tipText: "",
watermark: BI.i18nText("BI-Basic_Search"), watermark: o.watermark,
listeners: [{ listeners: [{
eventName: BI.StateEditor.EVENT_FOCUS, eventName: BI.StateEditor.EVENT_FOCUS,
action: function () { action: function () {
@ -72156,6 +72160,7 @@ BI.MultiSelectInsertCombo = BI.inherit(BI.Single, {
allowEdit: o.allowEdit, allowEdit: o.allowEdit,
height: o.height, height: o.height,
text: o.text, text: o.text,
watermark: o.watermark,
// adapter: this.popup, // adapter: this.popup,
masker: { masker: {
offset: { offset: {
@ -72956,6 +72961,7 @@ BI.MultiSelectInsertTrigger = BI.inherit(BI.Trigger, {
text: o.text, text: o.text,
itemsCreator: o.itemsCreator, itemsCreator: o.itemsCreator,
valueFormatter: o.valueFormatter, valueFormatter: o.valueFormatter,
watermark: o.watermark,
popup: {}, popup: {},
adapter: o.adapter, adapter: o.adapter,
masker: o.masker, masker: o.masker,
@ -73682,6 +73688,7 @@ BI.MultiSelectTrigger = BI.inherit(BI.Trigger, {
text: o.text, text: o.text,
itemsCreator: o.itemsCreator, itemsCreator: o.itemsCreator,
valueFormatter: o.valueFormatter, valueFormatter: o.valueFormatter,
watermark: o.watermark,
popup: {}, popup: {},
adapter: o.adapter, adapter: o.adapter,
masker: o.masker, masker: o.masker,
@ -74280,7 +74287,8 @@ BI.MultiSelectEditor = BI.inherit(BI.Widget, {
_defaultConfig: function () { _defaultConfig: function () {
return BI.extend(BI.MultiSelectEditor.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.MultiSelectEditor.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-multi-select-editor", baseCls: "bi-multi-select-editor",
el: {} el: {},
watermark: BI.i18nText("BI-Basic_Search")
}); });
}, },
@ -74291,7 +74299,7 @@ BI.MultiSelectEditor = BI.inherit(BI.Widget, {
type: "bi.state_editor", type: "bi.state_editor",
element: this, element: this,
height: o.height, height: o.height,
watermark: BI.i18nText("BI-Basic_Search"), watermark: o.watermark,
allowBlank: true, allowBlank: true,
value: o.value, value: o.value,
defaultText: o.text, defaultText: o.text,
@ -74388,6 +74396,7 @@ BI.MultiSelectInsertSearcher = BI.inherit(BI.Widget, {
var self = this, o = this.options; var self = this, o = this.options;
this.editor = BI.createWidget(o.el, { this.editor = BI.createWidget(o.el, {
type: "bi.multi_select_editor", type: "bi.multi_select_editor",
watermark: o.watermark,
height: o.height, height: o.height,
text: o.text, text: o.text,
listeners: [{ listeners: [{
@ -76552,6 +76561,7 @@ BI.MultiTreeInsertCombo = BI.inherit(BI.Single, {
searcher: { searcher: {
type: "bi.multi_tree_searcher", type: "bi.multi_tree_searcher",
text: o.text, text: o.text,
watermark: o.watermark,
itemsCreator: o.itemsCreator, itemsCreator: o.itemsCreator,
popup: { popup: {
type: "bi.multi_tree_search_insert_pane", type: "bi.multi_tree_search_insert_pane",
@ -77658,7 +77668,7 @@ BI.MultiTreeSearcher = BI.inherit(BI.Widget, {
popup: {}, popup: {},
adapter: null, adapter: null,
masker: {} masker: {},
}); });
}, },
@ -77667,6 +77677,7 @@ BI.MultiTreeSearcher = BI.inherit(BI.Widget, {
var self = this, o = this.options; var self = this, o = this.options;
this.editor = BI.createWidget({ this.editor = BI.createWidget({
type: "bi.multi_select_editor", type: "bi.multi_select_editor",
watermark: o.watermark,
height: o.height, height: o.height,
el: { el: {
type: "bi.simple_state_editor", type: "bi.simple_state_editor",

25
dist/fineui_without_jquery_polyfill.js vendored

@ -51934,6 +51934,7 @@ BI.MultiLayerSelectTreeCombo = BI.inherit(BI.Widget, {
items: o.items, items: o.items,
itemsCreator: o.itemsCreator, itemsCreator: o.itemsCreator,
valueFormatter: o.valueFormatter, valueFormatter: o.valueFormatter,
watermark: o.watermark,
height: o.height - 2, height: o.height - 2,
text: o.text, text: o.text,
value: o.value, value: o.value,
@ -52272,7 +52273,8 @@ BI.MultiLayerSelectTreeTrigger = BI.inherit(BI.Trigger, {
valueFormatter: function (v) { valueFormatter: function (v) {
return v; return v;
}, },
itemsCreator: BI.emptyFn itemsCreator: BI.emptyFn,
watermark: BI.i18nText("BI-Basic_Search")
}, },
render: function () { render: function () {
@ -52301,7 +52303,7 @@ BI.MultiLayerSelectTreeTrigger = BI.inherit(BI.Trigger, {
value: o.value, value: o.value,
height: o.height, height: o.height,
tipText: "", tipText: "",
watermark: BI.i18nText("BI-Basic_Search"), watermark: o.watermark,
listeners: [{ listeners: [{
eventName: BI.StateEditor.EVENT_FOCUS, eventName: BI.StateEditor.EVENT_FOCUS,
action: function () { action: function () {
@ -52942,6 +52944,7 @@ BI.MultiLayerSingleTreeCombo = BI.inherit(BI.Widget, {
ref: function (_ref) { ref: function (_ref) {
self.trigger = _ref; self.trigger = _ref;
}, },
watermark: o.watermark,
items: o.items, items: o.items,
itemsCreator: o.itemsCreator, itemsCreator: o.itemsCreator,
valueFormatter: o.valueFormatter, valueFormatter: o.valueFormatter,
@ -53282,7 +53285,8 @@ BI.MultiLayerSingleTreeTrigger = BI.inherit(BI.Trigger, {
valueFormatter: function (v) { valueFormatter: function (v) {
return v; return v;
}, },
itemsCreator: BI.emptyFn itemsCreator: BI.emptyFn,
watermark: BI.i18nText("BI-Basic_Search")
}, },
render: function () { render: function () {
@ -53311,7 +53315,7 @@ BI.MultiLayerSingleTreeTrigger = BI.inherit(BI.Trigger, {
value: o.value, value: o.value,
height: o.height, height: o.height,
tipText: "", tipText: "",
watermark: BI.i18nText("BI-Basic_Search"), watermark: o.watermark,
listeners: [{ listeners: [{
eventName: BI.StateEditor.EVENT_FOCUS, eventName: BI.StateEditor.EVENT_FOCUS,
action: function () { action: function () {
@ -54762,6 +54766,7 @@ BI.MultiSelectInsertCombo = BI.inherit(BI.Single, {
allowEdit: o.allowEdit, allowEdit: o.allowEdit,
height: o.height, height: o.height,
text: o.text, text: o.text,
watermark: o.watermark,
// adapter: this.popup, // adapter: this.popup,
masker: { masker: {
offset: { offset: {
@ -55562,6 +55567,7 @@ BI.MultiSelectInsertTrigger = BI.inherit(BI.Trigger, {
text: o.text, text: o.text,
itemsCreator: o.itemsCreator, itemsCreator: o.itemsCreator,
valueFormatter: o.valueFormatter, valueFormatter: o.valueFormatter,
watermark: o.watermark,
popup: {}, popup: {},
adapter: o.adapter, adapter: o.adapter,
masker: o.masker, masker: o.masker,
@ -56288,6 +56294,7 @@ BI.MultiSelectTrigger = BI.inherit(BI.Trigger, {
text: o.text, text: o.text,
itemsCreator: o.itemsCreator, itemsCreator: o.itemsCreator,
valueFormatter: o.valueFormatter, valueFormatter: o.valueFormatter,
watermark: o.watermark,
popup: {}, popup: {},
adapter: o.adapter, adapter: o.adapter,
masker: o.masker, masker: o.masker,
@ -56886,7 +56893,8 @@ BI.MultiSelectEditor = BI.inherit(BI.Widget, {
_defaultConfig: function () { _defaultConfig: function () {
return BI.extend(BI.MultiSelectEditor.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.MultiSelectEditor.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-multi-select-editor", baseCls: "bi-multi-select-editor",
el: {} el: {},
watermark: BI.i18nText("BI-Basic_Search")
}); });
}, },
@ -56897,7 +56905,7 @@ BI.MultiSelectEditor = BI.inherit(BI.Widget, {
type: "bi.state_editor", type: "bi.state_editor",
element: this, element: this,
height: o.height, height: o.height,
watermark: BI.i18nText("BI-Basic_Search"), watermark: o.watermark,
allowBlank: true, allowBlank: true,
value: o.value, value: o.value,
defaultText: o.text, defaultText: o.text,
@ -56994,6 +57002,7 @@ BI.MultiSelectInsertSearcher = BI.inherit(BI.Widget, {
var self = this, o = this.options; var self = this, o = this.options;
this.editor = BI.createWidget(o.el, { this.editor = BI.createWidget(o.el, {
type: "bi.multi_select_editor", type: "bi.multi_select_editor",
watermark: o.watermark,
height: o.height, height: o.height,
text: o.text, text: o.text,
listeners: [{ listeners: [{
@ -59158,6 +59167,7 @@ BI.MultiTreeInsertCombo = BI.inherit(BI.Single, {
searcher: { searcher: {
type: "bi.multi_tree_searcher", type: "bi.multi_tree_searcher",
text: o.text, text: o.text,
watermark: o.watermark,
itemsCreator: o.itemsCreator, itemsCreator: o.itemsCreator,
popup: { popup: {
type: "bi.multi_tree_search_insert_pane", type: "bi.multi_tree_search_insert_pane",
@ -60264,7 +60274,7 @@ BI.MultiTreeSearcher = BI.inherit(BI.Widget, {
popup: {}, popup: {},
adapter: null, adapter: null,
masker: {} masker: {},
}); });
}, },
@ -60273,6 +60283,7 @@ BI.MultiTreeSearcher = BI.inherit(BI.Widget, {
var self = this, o = this.options; var self = this, o = this.options;
this.editor = BI.createWidget({ this.editor = BI.createWidget({
type: "bi.multi_select_editor", type: "bi.multi_select_editor",
watermark: o.watermark,
height: o.height, height: o.height,
el: { el: {
type: "bi.simple_state_editor", type: "bi.simple_state_editor",

25
dist/widget.js vendored

@ -6741,6 +6741,7 @@ BI.MultiLayerSelectTreeCombo = BI.inherit(BI.Widget, {
items: o.items, items: o.items,
itemsCreator: o.itemsCreator, itemsCreator: o.itemsCreator,
valueFormatter: o.valueFormatter, valueFormatter: o.valueFormatter,
watermark: o.watermark,
height: o.height - 2, height: o.height - 2,
text: o.text, text: o.text,
value: o.value, value: o.value,
@ -7079,7 +7080,8 @@ BI.MultiLayerSelectTreeTrigger = BI.inherit(BI.Trigger, {
valueFormatter: function (v) { valueFormatter: function (v) {
return v; return v;
}, },
itemsCreator: BI.emptyFn itemsCreator: BI.emptyFn,
watermark: BI.i18nText("BI-Basic_Search")
}, },
render: function () { render: function () {
@ -7108,7 +7110,7 @@ BI.MultiLayerSelectTreeTrigger = BI.inherit(BI.Trigger, {
value: o.value, value: o.value,
height: o.height, height: o.height,
tipText: "", tipText: "",
watermark: BI.i18nText("BI-Basic_Search"), watermark: o.watermark,
listeners: [{ listeners: [{
eventName: BI.StateEditor.EVENT_FOCUS, eventName: BI.StateEditor.EVENT_FOCUS,
action: function () { action: function () {
@ -7749,6 +7751,7 @@ BI.MultiLayerSingleTreeCombo = BI.inherit(BI.Widget, {
ref: function (_ref) { ref: function (_ref) {
self.trigger = _ref; self.trigger = _ref;
}, },
watermark: o.watermark,
items: o.items, items: o.items,
itemsCreator: o.itemsCreator, itemsCreator: o.itemsCreator,
valueFormatter: o.valueFormatter, valueFormatter: o.valueFormatter,
@ -8089,7 +8092,8 @@ BI.MultiLayerSingleTreeTrigger = BI.inherit(BI.Trigger, {
valueFormatter: function (v) { valueFormatter: function (v) {
return v; return v;
}, },
itemsCreator: BI.emptyFn itemsCreator: BI.emptyFn,
watermark: BI.i18nText("BI-Basic_Search")
}, },
render: function () { render: function () {
@ -8118,7 +8122,7 @@ BI.MultiLayerSingleTreeTrigger = BI.inherit(BI.Trigger, {
value: o.value, value: o.value,
height: o.height, height: o.height,
tipText: "", tipText: "",
watermark: BI.i18nText("BI-Basic_Search"), watermark: o.watermark,
listeners: [{ listeners: [{
eventName: BI.StateEditor.EVENT_FOCUS, eventName: BI.StateEditor.EVENT_FOCUS,
action: function () { action: function () {
@ -9569,6 +9573,7 @@ BI.MultiSelectInsertCombo = BI.inherit(BI.Single, {
allowEdit: o.allowEdit, allowEdit: o.allowEdit,
height: o.height, height: o.height,
text: o.text, text: o.text,
watermark: o.watermark,
// adapter: this.popup, // adapter: this.popup,
masker: { masker: {
offset: { offset: {
@ -10369,6 +10374,7 @@ BI.MultiSelectInsertTrigger = BI.inherit(BI.Trigger, {
text: o.text, text: o.text,
itemsCreator: o.itemsCreator, itemsCreator: o.itemsCreator,
valueFormatter: o.valueFormatter, valueFormatter: o.valueFormatter,
watermark: o.watermark,
popup: {}, popup: {},
adapter: o.adapter, adapter: o.adapter,
masker: o.masker, masker: o.masker,
@ -11095,6 +11101,7 @@ BI.MultiSelectTrigger = BI.inherit(BI.Trigger, {
text: o.text, text: o.text,
itemsCreator: o.itemsCreator, itemsCreator: o.itemsCreator,
valueFormatter: o.valueFormatter, valueFormatter: o.valueFormatter,
watermark: o.watermark,
popup: {}, popup: {},
adapter: o.adapter, adapter: o.adapter,
masker: o.masker, masker: o.masker,
@ -11693,7 +11700,8 @@ BI.MultiSelectEditor = BI.inherit(BI.Widget, {
_defaultConfig: function () { _defaultConfig: function () {
return BI.extend(BI.MultiSelectEditor.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.MultiSelectEditor.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-multi-select-editor", baseCls: "bi-multi-select-editor",
el: {} el: {},
watermark: BI.i18nText("BI-Basic_Search")
}); });
}, },
@ -11704,7 +11712,7 @@ BI.MultiSelectEditor = BI.inherit(BI.Widget, {
type: "bi.state_editor", type: "bi.state_editor",
element: this, element: this,
height: o.height, height: o.height,
watermark: BI.i18nText("BI-Basic_Search"), watermark: o.watermark,
allowBlank: true, allowBlank: true,
value: o.value, value: o.value,
defaultText: o.text, defaultText: o.text,
@ -11801,6 +11809,7 @@ BI.MultiSelectInsertSearcher = BI.inherit(BI.Widget, {
var self = this, o = this.options; var self = this, o = this.options;
this.editor = BI.createWidget(o.el, { this.editor = BI.createWidget(o.el, {
type: "bi.multi_select_editor", type: "bi.multi_select_editor",
watermark: o.watermark,
height: o.height, height: o.height,
text: o.text, text: o.text,
listeners: [{ listeners: [{
@ -13965,6 +13974,7 @@ BI.MultiTreeInsertCombo = BI.inherit(BI.Single, {
searcher: { searcher: {
type: "bi.multi_tree_searcher", type: "bi.multi_tree_searcher",
text: o.text, text: o.text,
watermark: o.watermark,
itemsCreator: o.itemsCreator, itemsCreator: o.itemsCreator,
popup: { popup: {
type: "bi.multi_tree_search_insert_pane", type: "bi.multi_tree_search_insert_pane",
@ -15071,7 +15081,7 @@ BI.MultiTreeSearcher = BI.inherit(BI.Widget, {
popup: {}, popup: {},
adapter: null, adapter: null,
masker: {} masker: {},
}); });
}, },
@ -15080,6 +15090,7 @@ BI.MultiTreeSearcher = BI.inherit(BI.Widget, {
var self = this, o = this.options; var self = this, o = this.options;
this.editor = BI.createWidget({ this.editor = BI.createWidget({
type: "bi.multi_select_editor", type: "bi.multi_select_editor",
watermark: o.watermark,
height: o.height, height: o.height,
el: { el: {
type: "bi.simple_state_editor", type: "bi.simple_state_editor",

1
src/widget/multilayerselecttree/multilayerselecttree.combo.js

@ -104,6 +104,7 @@ BI.MultiLayerSelectTreeCombo = BI.inherit(BI.Widget, {
items: o.items, items: o.items,
itemsCreator: o.itemsCreator, itemsCreator: o.itemsCreator,
valueFormatter: o.valueFormatter, valueFormatter: o.valueFormatter,
watermark: o.watermark,
height: o.height - 2, height: o.height - 2,
text: o.text, text: o.text,
value: o.value, value: o.value,

5
src/widget/multilayerselecttree/multilayerselecttree.trigger.js

@ -9,7 +9,8 @@ BI.MultiLayerSelectTreeTrigger = BI.inherit(BI.Trigger, {
valueFormatter: function (v) { valueFormatter: function (v) {
return v; return v;
}, },
itemsCreator: BI.emptyFn itemsCreator: BI.emptyFn,
watermark: BI.i18nText("BI-Basic_Search")
}, },
render: function () { render: function () {
@ -38,7 +39,7 @@ BI.MultiLayerSelectTreeTrigger = BI.inherit(BI.Trigger, {
value: o.value, value: o.value,
height: o.height, height: o.height,
tipText: "", tipText: "",
watermark: BI.i18nText("BI-Basic_Search"), watermark: o.watermark,
listeners: [{ listeners: [{
eventName: BI.StateEditor.EVENT_FOCUS, eventName: BI.StateEditor.EVENT_FOCUS,
action: function () { action: function () {

1
src/widget/multilayersingletree/multilayersingletree.combo.js

@ -104,6 +104,7 @@ BI.MultiLayerSingleTreeCombo = BI.inherit(BI.Widget, {
ref: function (_ref) { ref: function (_ref) {
self.trigger = _ref; self.trigger = _ref;
}, },
watermark: o.watermark,
items: o.items, items: o.items,
itemsCreator: o.itemsCreator, itemsCreator: o.itemsCreator,
valueFormatter: o.valueFormatter, valueFormatter: o.valueFormatter,

5
src/widget/multilayersingletree/multilayersingletree.trigger.js

@ -9,7 +9,8 @@ BI.MultiLayerSingleTreeTrigger = BI.inherit(BI.Trigger, {
valueFormatter: function (v) { valueFormatter: function (v) {
return v; return v;
}, },
itemsCreator: BI.emptyFn itemsCreator: BI.emptyFn,
watermark: BI.i18nText("BI-Basic_Search")
}, },
render: function () { render: function () {
@ -38,7 +39,7 @@ BI.MultiLayerSingleTreeTrigger = BI.inherit(BI.Trigger, {
value: o.value, value: o.value,
height: o.height, height: o.height,
tipText: "", tipText: "",
watermark: BI.i18nText("BI-Basic_Search"), watermark: o.watermark,
listeners: [{ listeners: [{
eventName: BI.StateEditor.EVENT_FOCUS, eventName: BI.StateEditor.EVENT_FOCUS,
action: function () { action: function () {

1
src/widget/multiselect/multiselect.insert.combo.js

@ -36,6 +36,7 @@ BI.MultiSelectInsertCombo = BI.inherit(BI.Single, {
allowEdit: o.allowEdit, allowEdit: o.allowEdit,
height: o.height, height: o.height,
text: o.text, text: o.text,
watermark: o.watermark,
// adapter: this.popup, // adapter: this.popup,
masker: { masker: {
offset: { offset: {

1
src/widget/multiselect/multiselect.insert.trigger.js

@ -41,6 +41,7 @@ BI.MultiSelectInsertTrigger = BI.inherit(BI.Trigger, {
text: o.text, text: o.text,
itemsCreator: o.itemsCreator, itemsCreator: o.itemsCreator,
valueFormatter: o.valueFormatter, valueFormatter: o.valueFormatter,
watermark: o.watermark,
popup: {}, popup: {},
adapter: o.adapter, adapter: o.adapter,
masker: o.masker, masker: o.masker,

1
src/widget/multiselect/multiselect.trigger.js

@ -41,6 +41,7 @@ BI.MultiSelectTrigger = BI.inherit(BI.Trigger, {
text: o.text, text: o.text,
itemsCreator: o.itemsCreator, itemsCreator: o.itemsCreator,
valueFormatter: o.valueFormatter, valueFormatter: o.valueFormatter,
watermark: o.watermark,
popup: {}, popup: {},
adapter: o.adapter, adapter: o.adapter,
masker: o.masker, masker: o.masker,

5
src/widget/multiselect/trigger/editor.multiselect.js

@ -9,7 +9,8 @@ BI.MultiSelectEditor = BI.inherit(BI.Widget, {
_defaultConfig: function () { _defaultConfig: function () {
return BI.extend(BI.MultiSelectEditor.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.MultiSelectEditor.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-multi-select-editor", baseCls: "bi-multi-select-editor",
el: {} el: {},
watermark: BI.i18nText("BI-Basic_Search")
}); });
}, },
@ -20,7 +21,7 @@ BI.MultiSelectEditor = BI.inherit(BI.Widget, {
type: "bi.state_editor", type: "bi.state_editor",
element: this, element: this,
height: o.height, height: o.height,
watermark: BI.i18nText("BI-Basic_Search"), watermark: o.watermark,
allowBlank: true, allowBlank: true,
value: o.value, value: o.value,
defaultText: o.text, defaultText: o.text,

1
src/widget/multiselect/trigger/searcher.multiselect.insert.js

@ -24,6 +24,7 @@ BI.MultiSelectInsertSearcher = BI.inherit(BI.Widget, {
var self = this, o = this.options; var self = this, o = this.options;
this.editor = BI.createWidget(o.el, { this.editor = BI.createWidget(o.el, {
type: "bi.multi_select_editor", type: "bi.multi_select_editor",
watermark: o.watermark,
height: o.height, height: o.height,
text: o.text, text: o.text,
listeners: [{ listeners: [{

1
src/widget/multitree/multi.tree.insert.combo.js

@ -47,6 +47,7 @@ BI.MultiTreeInsertCombo = BI.inherit(BI.Single, {
searcher: { searcher: {
type: "bi.multi_tree_searcher", type: "bi.multi_tree_searcher",
text: o.text, text: o.text,
watermark: o.watermark,
itemsCreator: o.itemsCreator, itemsCreator: o.itemsCreator,
popup: { popup: {
type: "bi.multi_tree_search_insert_pane", type: "bi.multi_tree_search_insert_pane",

3
src/widget/multitree/trigger/searcher.multi.tree.js

@ -16,7 +16,7 @@ BI.MultiTreeSearcher = BI.inherit(BI.Widget, {
popup: {}, popup: {},
adapter: null, adapter: null,
masker: {} masker: {},
}); });
}, },
@ -25,6 +25,7 @@ BI.MultiTreeSearcher = BI.inherit(BI.Widget, {
var self = this, o = this.options; var self = this, o = this.options;
this.editor = BI.createWidget({ this.editor = BI.createWidget({
type: "bi.multi_select_editor", type: "bi.multi_select_editor",
watermark: o.watermark,
height: o.height, height: o.height,
el: { el: {
type: "bi.simple_state_editor", type: "bi.simple_state_editor",

Loading…
Cancel
Save