From da5b54f619fa65768a1bc0722f4c433f3428e56e Mon Sep 17 00:00:00 2001 From: windy <1374721899@qq.com> Date: Tue, 30 Jul 2019 15:49:37 +0800 Subject: [PATCH 1/3] =?UTF-8?q?REPORT-20064=20fix:=20=E7=BC=96=E8=BE=91?= =?UTF-8?q?=E5=90=8E=E4=BA=8B=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/widget/dynamicdate/dynamicdate.combo.js | 2 ++ src/widget/dynamicdatetime/dynamicdatetime.combo.js | 2 ++ src/widget/time/time.combo.js | 2 ++ 3 files changed, 6 insertions(+) diff --git a/src/widget/dynamicdate/dynamicdate.combo.js b/src/widget/dynamicdate/dynamicdate.combo.js index 5cf8b3754..5c5480c2f 100644 --- a/src/widget/dynamicdate/dynamicdate.combo.js +++ b/src/widget/dynamicdate/dynamicdate.combo.js @@ -64,6 +64,7 @@ BI.DynamicDateCombo = BI.inherit(BI.Single, { if (self.combo.isViewVisible()) { self.combo.hideView(); } + self.fireEvent(BI.DynamicDateCombo.EVENT_KEY_DOWN); } }, { eventName: BI.DynamicDateTrigger.EVENT_STOP, @@ -282,6 +283,7 @@ BI.DynamicDateCombo = BI.inherit(BI.Single, { } }); +BI.DynamicDateCombo.EVENT_KEY_DOWN = "EVENT_KEY_DOWN"; BI.DynamicDateCombo.EVENT_CONFIRM = "EVENT_CONFIRM"; BI.DynamicDateCombo.EVENT_FOCUS = "EVENT_FOCUS"; BI.DynamicDateCombo.EVENT_CHANGE = "EVENT_CHANGE"; diff --git a/src/widget/dynamicdatetime/dynamicdatetime.combo.js b/src/widget/dynamicdatetime/dynamicdatetime.combo.js index 6db4f7fde..e1f16e413 100644 --- a/src/widget/dynamicdatetime/dynamicdatetime.combo.js +++ b/src/widget/dynamicdatetime/dynamicdatetime.combo.js @@ -64,6 +64,7 @@ BI.DynamicDateTimeCombo = BI.inherit(BI.Single, { if (self.combo.isViewVisible()) { self.combo.hideView(); } + self.fireEvent(BI.DynamicDateTimeCombo.EVENT_KEY_DOWN); } }, { eventName: BI.DynamicDateTimeTrigger.EVENT_STOP, @@ -285,6 +286,7 @@ BI.DynamicDateTimeCombo = BI.inherit(BI.Single, { } }); +BI.DynamicDateTimeCombo.EVENT_KEY_DOWN = "EVENT_KEY_DOWN"; BI.DynamicDateTimeCombo.EVENT_CONFIRM = "EVENT_CONFIRM"; BI.DynamicDateTimeCombo.EVENT_FOCUS = "EVENT_FOCUS"; BI.DynamicDateTimeCombo.EVENT_CHANGE = "EVENT_CHANGE"; diff --git a/src/widget/time/time.combo.js b/src/widget/time/time.combo.js index e9f0f0393..207a07c1b 100644 --- a/src/widget/time/time.combo.js +++ b/src/widget/time/time.combo.js @@ -78,6 +78,7 @@ if (self.combo.isViewVisible()) { self.combo.hideView(); } + self.fireEvent(BI.TimeCombo.EVENT_KEY_DOWN); } }, { eventName: "EVENT_STOP", @@ -211,6 +212,7 @@ } }); + BI.TimeCombo.EVENT_KEY_DOWN = "EVENT_KEY_DOWN"; BI.TimeCombo.EVENT_CONFIRM = "EVENT_CONFIRM"; BI.TimeCombo.EVENT_CHANGE = "EVENT_CHANGE"; BI.TimeCombo.EVENT_VALID = "EVENT_VALID"; From 313f2bd34897779f1fdb5dce23e64b2c505cd2b7 Mon Sep 17 00:00:00 2001 From: windy <1374721899@qq.com> Date: Tue, 30 Jul 2019 16:34:46 +0800 Subject: [PATCH 2/3] update --- dist/2.0/fineui.ie.js | 14 ++++++++++---- dist/2.0/fineui.js | 14 ++++++++++---- dist/bundle.ie.js | 14 ++++++++++---- dist/bundle.js | 14 ++++++++++---- dist/case.js | 2 +- dist/fineui.ie.js | 14 ++++++++++---- dist/fineui.js | 14 ++++++++++---- dist/fineui_without_jquery_polyfill.js | 14 ++++++++++---- dist/widget.js | 12 +++++++++--- src/widget/dynamicdate/dynamicdate.combo.js | 2 +- src/widget/dynamicdate/dynamicdate.trigger.js | 2 +- .../dynamicdatetime/dynamicdatetime.combo.js | 2 +- .../dynamicdatetime/dynamicdatetime.trigger.js | 2 +- src/widget/time/time.combo.js | 2 +- src/widget/time/time.trigger.js | 2 +- 15 files changed, 86 insertions(+), 38 deletions(-) diff --git a/dist/2.0/fineui.ie.js b/dist/2.0/fineui.ie.js index bc1a21966..c144f63dc 100644 --- a/dist/2.0/fineui.ie.js +++ b/dist/2.0/fineui.ie.js @@ -59661,8 +59661,8 @@ BI.ListLoader = BI.inherit(BI.Widget, { addItems: function (items) { this.count += items.length; if (BI.isObject(this.next)) { + this.options.items = this.options.items.concat(items); if (this.hasNext()) { - this.options.items = this.options.items.concat(items); this.next.setLoaded(); } else { this.next.setEnd(); @@ -64692,6 +64692,7 @@ BI.extend(BI.DynamicDateCard, { if (self.combo.isViewVisible()) { self.combo.hideView(); } + self.fireEvent(BI.DynamicDateCombo.EVENT_KEY_DOWN, arguments); } }, { eventName: BI.DynamicDateTrigger.EVENT_STOP, @@ -64910,6 +64911,7 @@ BI.extend(BI.DynamicDateCard, { } }); +BI.DynamicDateCombo.EVENT_KEY_DOWN = "EVENT_KEY_DOWN"; BI.DynamicDateCombo.EVENT_CONFIRM = "EVENT_CONFIRM"; BI.DynamicDateCombo.EVENT_FOCUS = "EVENT_FOCUS"; BI.DynamicDateCombo.EVENT_CHANGE = "EVENT_CHANGE"; @@ -65310,7 +65312,7 @@ BI.shortcut("bi.dynamic_date_popup", BI.DynamicDatePopup);BI.DynamicDateTrigger title: BI.bind(this._getTitle, this) }); this.editor.on(BI.SignEditor.EVENT_KEY_DOWN, function () { - self.fireEvent(BI.DynamicDateTrigger.EVENT_KEY_DOWN); + self.fireEvent(BI.DynamicDateTrigger.EVENT_KEY_DOWN, arguments); }); this.editor.on(BI.SignEditor.EVENT_FOCUS, function () { self.storeTriggerValue = self.getKey(); @@ -65658,6 +65660,7 @@ BI.DynamicDateTimeCombo = BI.inherit(BI.Single, { if (self.combo.isViewVisible()) { self.combo.hideView(); } + self.fireEvent(BI.DynamicDateTimeCombo.EVENT_KEY_DOWN, arguments); } }, { eventName: BI.DynamicDateTimeTrigger.EVENT_STOP, @@ -65879,6 +65882,7 @@ BI.DynamicDateTimeCombo = BI.inherit(BI.Single, { } }); +BI.DynamicDateTimeCombo.EVENT_KEY_DOWN = "EVENT_KEY_DOWN"; BI.DynamicDateTimeCombo.EVENT_CONFIRM = "EVENT_CONFIRM"; BI.DynamicDateTimeCombo.EVENT_FOCUS = "EVENT_FOCUS"; BI.DynamicDateTimeCombo.EVENT_CHANGE = "EVENT_CHANGE"; @@ -66386,7 +66390,7 @@ BI.extend(BI.DynamicDateTimeSelect, { title: BI.bind(this._getTitle, this) }); this.editor.on(BI.SignEditor.EVENT_KEY_DOWN, function () { - self.fireEvent(BI.DynamicDateTimeTrigger.EVENT_KEY_DOWN); + self.fireEvent(BI.DynamicDateTimeTrigger.EVENT_KEY_DOWN, arguments); }); this.editor.on(BI.SignEditor.EVENT_FOCUS, function () { self.storeTriggerValue = self.getKey(); @@ -83365,6 +83369,7 @@ BI.shortcut("bi.single_tree_trigger", BI.SingleTreeTrigger);!(function () { if (self.combo.isViewVisible()) { self.combo.hideView(); } + self.fireEvent(BI.TimeCombo.EVENT_KEY_DOWN, arguments); } }, { eventName: "EVENT_STOP", @@ -83498,6 +83503,7 @@ BI.shortcut("bi.single_tree_trigger", BI.SingleTreeTrigger);!(function () { } }); + BI.TimeCombo.EVENT_KEY_DOWN = "EVENT_KEY_DOWN"; BI.TimeCombo.EVENT_CONFIRM = "EVENT_CONFIRM"; BI.TimeCombo.EVENT_CHANGE = "EVENT_CHANGE"; BI.TimeCombo.EVENT_VALID = "EVENT_VALID"; @@ -83562,7 +83568,7 @@ BI.shortcut("bi.single_tree_trigger", BI.SingleTreeTrigger);!(function () { listeners: [{ eventName: "EVENT_KEY_DOWN", action: function () { - self.fireEvent("EVENT_KEY_DOWN"); + self.fireEvent("EVENT_KEY_DOWN", arguments); } }, { eventName: "EVENT_FOCUS", diff --git a/dist/2.0/fineui.js b/dist/2.0/fineui.js index 67d7ed806..ba7ddb741 100644 --- a/dist/2.0/fineui.js +++ b/dist/2.0/fineui.js @@ -60065,8 +60065,8 @@ BI.ListLoader = BI.inherit(BI.Widget, { addItems: function (items) { this.count += items.length; if (BI.isObject(this.next)) { + this.options.items = this.options.items.concat(items); if (this.hasNext()) { - this.options.items = this.options.items.concat(items); this.next.setLoaded(); } else { this.next.setEnd(); @@ -65096,6 +65096,7 @@ BI.extend(BI.DynamicDateCard, { if (self.combo.isViewVisible()) { self.combo.hideView(); } + self.fireEvent(BI.DynamicDateCombo.EVENT_KEY_DOWN, arguments); } }, { eventName: BI.DynamicDateTrigger.EVENT_STOP, @@ -65314,6 +65315,7 @@ BI.extend(BI.DynamicDateCard, { } }); +BI.DynamicDateCombo.EVENT_KEY_DOWN = "EVENT_KEY_DOWN"; BI.DynamicDateCombo.EVENT_CONFIRM = "EVENT_CONFIRM"; BI.DynamicDateCombo.EVENT_FOCUS = "EVENT_FOCUS"; BI.DynamicDateCombo.EVENT_CHANGE = "EVENT_CHANGE"; @@ -65714,7 +65716,7 @@ BI.shortcut("bi.dynamic_date_popup", BI.DynamicDatePopup);BI.DynamicDateTrigger title: BI.bind(this._getTitle, this) }); this.editor.on(BI.SignEditor.EVENT_KEY_DOWN, function () { - self.fireEvent(BI.DynamicDateTrigger.EVENT_KEY_DOWN); + self.fireEvent(BI.DynamicDateTrigger.EVENT_KEY_DOWN, arguments); }); this.editor.on(BI.SignEditor.EVENT_FOCUS, function () { self.storeTriggerValue = self.getKey(); @@ -66062,6 +66064,7 @@ BI.DynamicDateTimeCombo = BI.inherit(BI.Single, { if (self.combo.isViewVisible()) { self.combo.hideView(); } + self.fireEvent(BI.DynamicDateTimeCombo.EVENT_KEY_DOWN, arguments); } }, { eventName: BI.DynamicDateTimeTrigger.EVENT_STOP, @@ -66283,6 +66286,7 @@ BI.DynamicDateTimeCombo = BI.inherit(BI.Single, { } }); +BI.DynamicDateTimeCombo.EVENT_KEY_DOWN = "EVENT_KEY_DOWN"; BI.DynamicDateTimeCombo.EVENT_CONFIRM = "EVENT_CONFIRM"; BI.DynamicDateTimeCombo.EVENT_FOCUS = "EVENT_FOCUS"; BI.DynamicDateTimeCombo.EVENT_CHANGE = "EVENT_CHANGE"; @@ -66790,7 +66794,7 @@ BI.extend(BI.DynamicDateTimeSelect, { title: BI.bind(this._getTitle, this) }); this.editor.on(BI.SignEditor.EVENT_KEY_DOWN, function () { - self.fireEvent(BI.DynamicDateTimeTrigger.EVENT_KEY_DOWN); + self.fireEvent(BI.DynamicDateTimeTrigger.EVENT_KEY_DOWN, arguments); }); this.editor.on(BI.SignEditor.EVENT_FOCUS, function () { self.storeTriggerValue = self.getKey(); @@ -83769,6 +83773,7 @@ BI.shortcut("bi.single_tree_trigger", BI.SingleTreeTrigger);!(function () { if (self.combo.isViewVisible()) { self.combo.hideView(); } + self.fireEvent(BI.TimeCombo.EVENT_KEY_DOWN, arguments); } }, { eventName: "EVENT_STOP", @@ -83902,6 +83907,7 @@ BI.shortcut("bi.single_tree_trigger", BI.SingleTreeTrigger);!(function () { } }); + BI.TimeCombo.EVENT_KEY_DOWN = "EVENT_KEY_DOWN"; BI.TimeCombo.EVENT_CONFIRM = "EVENT_CONFIRM"; BI.TimeCombo.EVENT_CHANGE = "EVENT_CHANGE"; BI.TimeCombo.EVENT_VALID = "EVENT_VALID"; @@ -83966,7 +83972,7 @@ BI.shortcut("bi.single_tree_trigger", BI.SingleTreeTrigger);!(function () { listeners: [{ eventName: "EVENT_KEY_DOWN", action: function () { - self.fireEvent("EVENT_KEY_DOWN"); + self.fireEvent("EVENT_KEY_DOWN", arguments); } }, { eventName: "EVENT_FOCUS", diff --git a/dist/bundle.ie.js b/dist/bundle.ie.js index bc1a21966..c144f63dc 100644 --- a/dist/bundle.ie.js +++ b/dist/bundle.ie.js @@ -59661,8 +59661,8 @@ BI.ListLoader = BI.inherit(BI.Widget, { addItems: function (items) { this.count += items.length; if (BI.isObject(this.next)) { + this.options.items = this.options.items.concat(items); if (this.hasNext()) { - this.options.items = this.options.items.concat(items); this.next.setLoaded(); } else { this.next.setEnd(); @@ -64692,6 +64692,7 @@ BI.extend(BI.DynamicDateCard, { if (self.combo.isViewVisible()) { self.combo.hideView(); } + self.fireEvent(BI.DynamicDateCombo.EVENT_KEY_DOWN, arguments); } }, { eventName: BI.DynamicDateTrigger.EVENT_STOP, @@ -64910,6 +64911,7 @@ BI.extend(BI.DynamicDateCard, { } }); +BI.DynamicDateCombo.EVENT_KEY_DOWN = "EVENT_KEY_DOWN"; BI.DynamicDateCombo.EVENT_CONFIRM = "EVENT_CONFIRM"; BI.DynamicDateCombo.EVENT_FOCUS = "EVENT_FOCUS"; BI.DynamicDateCombo.EVENT_CHANGE = "EVENT_CHANGE"; @@ -65310,7 +65312,7 @@ BI.shortcut("bi.dynamic_date_popup", BI.DynamicDatePopup);BI.DynamicDateTrigger title: BI.bind(this._getTitle, this) }); this.editor.on(BI.SignEditor.EVENT_KEY_DOWN, function () { - self.fireEvent(BI.DynamicDateTrigger.EVENT_KEY_DOWN); + self.fireEvent(BI.DynamicDateTrigger.EVENT_KEY_DOWN, arguments); }); this.editor.on(BI.SignEditor.EVENT_FOCUS, function () { self.storeTriggerValue = self.getKey(); @@ -65658,6 +65660,7 @@ BI.DynamicDateTimeCombo = BI.inherit(BI.Single, { if (self.combo.isViewVisible()) { self.combo.hideView(); } + self.fireEvent(BI.DynamicDateTimeCombo.EVENT_KEY_DOWN, arguments); } }, { eventName: BI.DynamicDateTimeTrigger.EVENT_STOP, @@ -65879,6 +65882,7 @@ BI.DynamicDateTimeCombo = BI.inherit(BI.Single, { } }); +BI.DynamicDateTimeCombo.EVENT_KEY_DOWN = "EVENT_KEY_DOWN"; BI.DynamicDateTimeCombo.EVENT_CONFIRM = "EVENT_CONFIRM"; BI.DynamicDateTimeCombo.EVENT_FOCUS = "EVENT_FOCUS"; BI.DynamicDateTimeCombo.EVENT_CHANGE = "EVENT_CHANGE"; @@ -66386,7 +66390,7 @@ BI.extend(BI.DynamicDateTimeSelect, { title: BI.bind(this._getTitle, this) }); this.editor.on(BI.SignEditor.EVENT_KEY_DOWN, function () { - self.fireEvent(BI.DynamicDateTimeTrigger.EVENT_KEY_DOWN); + self.fireEvent(BI.DynamicDateTimeTrigger.EVENT_KEY_DOWN, arguments); }); this.editor.on(BI.SignEditor.EVENT_FOCUS, function () { self.storeTriggerValue = self.getKey(); @@ -83365,6 +83369,7 @@ BI.shortcut("bi.single_tree_trigger", BI.SingleTreeTrigger);!(function () { if (self.combo.isViewVisible()) { self.combo.hideView(); } + self.fireEvent(BI.TimeCombo.EVENT_KEY_DOWN, arguments); } }, { eventName: "EVENT_STOP", @@ -83498,6 +83503,7 @@ BI.shortcut("bi.single_tree_trigger", BI.SingleTreeTrigger);!(function () { } }); + BI.TimeCombo.EVENT_KEY_DOWN = "EVENT_KEY_DOWN"; BI.TimeCombo.EVENT_CONFIRM = "EVENT_CONFIRM"; BI.TimeCombo.EVENT_CHANGE = "EVENT_CHANGE"; BI.TimeCombo.EVENT_VALID = "EVENT_VALID"; @@ -83562,7 +83568,7 @@ BI.shortcut("bi.single_tree_trigger", BI.SingleTreeTrigger);!(function () { listeners: [{ eventName: "EVENT_KEY_DOWN", action: function () { - self.fireEvent("EVENT_KEY_DOWN"); + self.fireEvent("EVENT_KEY_DOWN", arguments); } }, { eventName: "EVENT_FOCUS", diff --git a/dist/bundle.js b/dist/bundle.js index 67d7ed806..ba7ddb741 100644 --- a/dist/bundle.js +++ b/dist/bundle.js @@ -60065,8 +60065,8 @@ BI.ListLoader = BI.inherit(BI.Widget, { addItems: function (items) { this.count += items.length; if (BI.isObject(this.next)) { + this.options.items = this.options.items.concat(items); if (this.hasNext()) { - this.options.items = this.options.items.concat(items); this.next.setLoaded(); } else { this.next.setEnd(); @@ -65096,6 +65096,7 @@ BI.extend(BI.DynamicDateCard, { if (self.combo.isViewVisible()) { self.combo.hideView(); } + self.fireEvent(BI.DynamicDateCombo.EVENT_KEY_DOWN, arguments); } }, { eventName: BI.DynamicDateTrigger.EVENT_STOP, @@ -65314,6 +65315,7 @@ BI.extend(BI.DynamicDateCard, { } }); +BI.DynamicDateCombo.EVENT_KEY_DOWN = "EVENT_KEY_DOWN"; BI.DynamicDateCombo.EVENT_CONFIRM = "EVENT_CONFIRM"; BI.DynamicDateCombo.EVENT_FOCUS = "EVENT_FOCUS"; BI.DynamicDateCombo.EVENT_CHANGE = "EVENT_CHANGE"; @@ -65714,7 +65716,7 @@ BI.shortcut("bi.dynamic_date_popup", BI.DynamicDatePopup);BI.DynamicDateTrigger title: BI.bind(this._getTitle, this) }); this.editor.on(BI.SignEditor.EVENT_KEY_DOWN, function () { - self.fireEvent(BI.DynamicDateTrigger.EVENT_KEY_DOWN); + self.fireEvent(BI.DynamicDateTrigger.EVENT_KEY_DOWN, arguments); }); this.editor.on(BI.SignEditor.EVENT_FOCUS, function () { self.storeTriggerValue = self.getKey(); @@ -66062,6 +66064,7 @@ BI.DynamicDateTimeCombo = BI.inherit(BI.Single, { if (self.combo.isViewVisible()) { self.combo.hideView(); } + self.fireEvent(BI.DynamicDateTimeCombo.EVENT_KEY_DOWN, arguments); } }, { eventName: BI.DynamicDateTimeTrigger.EVENT_STOP, @@ -66283,6 +66286,7 @@ BI.DynamicDateTimeCombo = BI.inherit(BI.Single, { } }); +BI.DynamicDateTimeCombo.EVENT_KEY_DOWN = "EVENT_KEY_DOWN"; BI.DynamicDateTimeCombo.EVENT_CONFIRM = "EVENT_CONFIRM"; BI.DynamicDateTimeCombo.EVENT_FOCUS = "EVENT_FOCUS"; BI.DynamicDateTimeCombo.EVENT_CHANGE = "EVENT_CHANGE"; @@ -66790,7 +66794,7 @@ BI.extend(BI.DynamicDateTimeSelect, { title: BI.bind(this._getTitle, this) }); this.editor.on(BI.SignEditor.EVENT_KEY_DOWN, function () { - self.fireEvent(BI.DynamicDateTimeTrigger.EVENT_KEY_DOWN); + self.fireEvent(BI.DynamicDateTimeTrigger.EVENT_KEY_DOWN, arguments); }); this.editor.on(BI.SignEditor.EVENT_FOCUS, function () { self.storeTriggerValue = self.getKey(); @@ -83769,6 +83773,7 @@ BI.shortcut("bi.single_tree_trigger", BI.SingleTreeTrigger);!(function () { if (self.combo.isViewVisible()) { self.combo.hideView(); } + self.fireEvent(BI.TimeCombo.EVENT_KEY_DOWN, arguments); } }, { eventName: "EVENT_STOP", @@ -83902,6 +83907,7 @@ BI.shortcut("bi.single_tree_trigger", BI.SingleTreeTrigger);!(function () { } }); + BI.TimeCombo.EVENT_KEY_DOWN = "EVENT_KEY_DOWN"; BI.TimeCombo.EVENT_CONFIRM = "EVENT_CONFIRM"; BI.TimeCombo.EVENT_CHANGE = "EVENT_CHANGE"; BI.TimeCombo.EVENT_VALID = "EVENT_VALID"; @@ -83966,7 +83972,7 @@ BI.shortcut("bi.single_tree_trigger", BI.SingleTreeTrigger);!(function () { listeners: [{ eventName: "EVENT_KEY_DOWN", action: function () { - self.fireEvent("EVENT_KEY_DOWN"); + self.fireEvent("EVENT_KEY_DOWN", arguments); } }, { eventName: "EVENT_FOCUS", diff --git a/dist/case.js b/dist/case.js index 6b9082132..6d4b3ce86 100644 --- a/dist/case.js +++ b/dist/case.js @@ -7641,8 +7641,8 @@ BI.ListLoader = BI.inherit(BI.Widget, { addItems: function (items) { this.count += items.length; if (BI.isObject(this.next)) { + this.options.items = this.options.items.concat(items); if (this.hasNext()) { - this.options.items = this.options.items.concat(items); this.next.setLoaded(); } else { this.next.setEnd(); diff --git a/dist/fineui.ie.js b/dist/fineui.ie.js index 525b81c13..e293c073f 100644 --- a/dist/fineui.ie.js +++ b/dist/fineui.ie.js @@ -59906,8 +59906,8 @@ BI.ListLoader = BI.inherit(BI.Widget, { addItems: function (items) { this.count += items.length; if (BI.isObject(this.next)) { + this.options.items = this.options.items.concat(items); if (this.hasNext()) { - this.options.items = this.options.items.concat(items); this.next.setLoaded(); } else { this.next.setEnd(); @@ -64937,6 +64937,7 @@ BI.extend(BI.DynamicDateCard, { if (self.combo.isViewVisible()) { self.combo.hideView(); } + self.fireEvent(BI.DynamicDateCombo.EVENT_KEY_DOWN, arguments); } }, { eventName: BI.DynamicDateTrigger.EVENT_STOP, @@ -65155,6 +65156,7 @@ BI.extend(BI.DynamicDateCard, { } }); +BI.DynamicDateCombo.EVENT_KEY_DOWN = "EVENT_KEY_DOWN"; BI.DynamicDateCombo.EVENT_CONFIRM = "EVENT_CONFIRM"; BI.DynamicDateCombo.EVENT_FOCUS = "EVENT_FOCUS"; BI.DynamicDateCombo.EVENT_CHANGE = "EVENT_CHANGE"; @@ -65555,7 +65557,7 @@ BI.shortcut("bi.dynamic_date_popup", BI.DynamicDatePopup);BI.DynamicDateTrigger title: BI.bind(this._getTitle, this) }); this.editor.on(BI.SignEditor.EVENT_KEY_DOWN, function () { - self.fireEvent(BI.DynamicDateTrigger.EVENT_KEY_DOWN); + self.fireEvent(BI.DynamicDateTrigger.EVENT_KEY_DOWN, arguments); }); this.editor.on(BI.SignEditor.EVENT_FOCUS, function () { self.storeTriggerValue = self.getKey(); @@ -65903,6 +65905,7 @@ BI.DynamicDateTimeCombo = BI.inherit(BI.Single, { if (self.combo.isViewVisible()) { self.combo.hideView(); } + self.fireEvent(BI.DynamicDateTimeCombo.EVENT_KEY_DOWN, arguments); } }, { eventName: BI.DynamicDateTimeTrigger.EVENT_STOP, @@ -66124,6 +66127,7 @@ BI.DynamicDateTimeCombo = BI.inherit(BI.Single, { } }); +BI.DynamicDateTimeCombo.EVENT_KEY_DOWN = "EVENT_KEY_DOWN"; BI.DynamicDateTimeCombo.EVENT_CONFIRM = "EVENT_CONFIRM"; BI.DynamicDateTimeCombo.EVENT_FOCUS = "EVENT_FOCUS"; BI.DynamicDateTimeCombo.EVENT_CHANGE = "EVENT_CHANGE"; @@ -66631,7 +66635,7 @@ BI.extend(BI.DynamicDateTimeSelect, { title: BI.bind(this._getTitle, this) }); this.editor.on(BI.SignEditor.EVENT_KEY_DOWN, function () { - self.fireEvent(BI.DynamicDateTimeTrigger.EVENT_KEY_DOWN); + self.fireEvent(BI.DynamicDateTimeTrigger.EVENT_KEY_DOWN, arguments); }); this.editor.on(BI.SignEditor.EVENT_FOCUS, function () { self.storeTriggerValue = self.getKey(); @@ -83610,6 +83614,7 @@ BI.shortcut("bi.single_tree_trigger", BI.SingleTreeTrigger);!(function () { if (self.combo.isViewVisible()) { self.combo.hideView(); } + self.fireEvent(BI.TimeCombo.EVENT_KEY_DOWN, arguments); } }, { eventName: "EVENT_STOP", @@ -83743,6 +83748,7 @@ BI.shortcut("bi.single_tree_trigger", BI.SingleTreeTrigger);!(function () { } }); + BI.TimeCombo.EVENT_KEY_DOWN = "EVENT_KEY_DOWN"; BI.TimeCombo.EVENT_CONFIRM = "EVENT_CONFIRM"; BI.TimeCombo.EVENT_CHANGE = "EVENT_CHANGE"; BI.TimeCombo.EVENT_VALID = "EVENT_VALID"; @@ -83807,7 +83813,7 @@ BI.shortcut("bi.single_tree_trigger", BI.SingleTreeTrigger);!(function () { listeners: [{ eventName: "EVENT_KEY_DOWN", action: function () { - self.fireEvent("EVENT_KEY_DOWN"); + self.fireEvent("EVENT_KEY_DOWN", arguments); } }, { eventName: "EVENT_FOCUS", diff --git a/dist/fineui.js b/dist/fineui.js index 6e38cdc21..bff489b11 100644 --- a/dist/fineui.js +++ b/dist/fineui.js @@ -60310,8 +60310,8 @@ BI.ListLoader = BI.inherit(BI.Widget, { addItems: function (items) { this.count += items.length; if (BI.isObject(this.next)) { + this.options.items = this.options.items.concat(items); if (this.hasNext()) { - this.options.items = this.options.items.concat(items); this.next.setLoaded(); } else { this.next.setEnd(); @@ -65341,6 +65341,7 @@ BI.extend(BI.DynamicDateCard, { if (self.combo.isViewVisible()) { self.combo.hideView(); } + self.fireEvent(BI.DynamicDateCombo.EVENT_KEY_DOWN, arguments); } }, { eventName: BI.DynamicDateTrigger.EVENT_STOP, @@ -65559,6 +65560,7 @@ BI.extend(BI.DynamicDateCard, { } }); +BI.DynamicDateCombo.EVENT_KEY_DOWN = "EVENT_KEY_DOWN"; BI.DynamicDateCombo.EVENT_CONFIRM = "EVENT_CONFIRM"; BI.DynamicDateCombo.EVENT_FOCUS = "EVENT_FOCUS"; BI.DynamicDateCombo.EVENT_CHANGE = "EVENT_CHANGE"; @@ -65959,7 +65961,7 @@ BI.shortcut("bi.dynamic_date_popup", BI.DynamicDatePopup);BI.DynamicDateTrigger title: BI.bind(this._getTitle, this) }); this.editor.on(BI.SignEditor.EVENT_KEY_DOWN, function () { - self.fireEvent(BI.DynamicDateTrigger.EVENT_KEY_DOWN); + self.fireEvent(BI.DynamicDateTrigger.EVENT_KEY_DOWN, arguments); }); this.editor.on(BI.SignEditor.EVENT_FOCUS, function () { self.storeTriggerValue = self.getKey(); @@ -66307,6 +66309,7 @@ BI.DynamicDateTimeCombo = BI.inherit(BI.Single, { if (self.combo.isViewVisible()) { self.combo.hideView(); } + self.fireEvent(BI.DynamicDateTimeCombo.EVENT_KEY_DOWN, arguments); } }, { eventName: BI.DynamicDateTimeTrigger.EVENT_STOP, @@ -66528,6 +66531,7 @@ BI.DynamicDateTimeCombo = BI.inherit(BI.Single, { } }); +BI.DynamicDateTimeCombo.EVENT_KEY_DOWN = "EVENT_KEY_DOWN"; BI.DynamicDateTimeCombo.EVENT_CONFIRM = "EVENT_CONFIRM"; BI.DynamicDateTimeCombo.EVENT_FOCUS = "EVENT_FOCUS"; BI.DynamicDateTimeCombo.EVENT_CHANGE = "EVENT_CHANGE"; @@ -67035,7 +67039,7 @@ BI.extend(BI.DynamicDateTimeSelect, { title: BI.bind(this._getTitle, this) }); this.editor.on(BI.SignEditor.EVENT_KEY_DOWN, function () { - self.fireEvent(BI.DynamicDateTimeTrigger.EVENT_KEY_DOWN); + self.fireEvent(BI.DynamicDateTimeTrigger.EVENT_KEY_DOWN, arguments); }); this.editor.on(BI.SignEditor.EVENT_FOCUS, function () { self.storeTriggerValue = self.getKey(); @@ -84014,6 +84018,7 @@ BI.shortcut("bi.single_tree_trigger", BI.SingleTreeTrigger);!(function () { if (self.combo.isViewVisible()) { self.combo.hideView(); } + self.fireEvent(BI.TimeCombo.EVENT_KEY_DOWN, arguments); } }, { eventName: "EVENT_STOP", @@ -84147,6 +84152,7 @@ BI.shortcut("bi.single_tree_trigger", BI.SingleTreeTrigger);!(function () { } }); + BI.TimeCombo.EVENT_KEY_DOWN = "EVENT_KEY_DOWN"; BI.TimeCombo.EVENT_CONFIRM = "EVENT_CONFIRM"; BI.TimeCombo.EVENT_CHANGE = "EVENT_CHANGE"; BI.TimeCombo.EVENT_VALID = "EVENT_VALID"; @@ -84211,7 +84217,7 @@ BI.shortcut("bi.single_tree_trigger", BI.SingleTreeTrigger);!(function () { listeners: [{ eventName: "EVENT_KEY_DOWN", action: function () { - self.fireEvent("EVENT_KEY_DOWN"); + self.fireEvent("EVENT_KEY_DOWN", arguments); } }, { eventName: "EVENT_FOCUS", diff --git a/dist/fineui_without_jquery_polyfill.js b/dist/fineui_without_jquery_polyfill.js index 0fbb0fcbd..0b03ba332 100644 --- a/dist/fineui_without_jquery_polyfill.js +++ b/dist/fineui_without_jquery_polyfill.js @@ -43192,8 +43192,8 @@ BI.ListLoader = BI.inherit(BI.Widget, { addItems: function (items) { this.count += items.length; if (BI.isObject(this.next)) { + this.options.items = this.options.items.concat(items); if (this.hasNext()) { - this.options.items = this.options.items.concat(items); this.next.setLoaded(); } else { this.next.setEnd(); @@ -47947,6 +47947,7 @@ BI.extend(BI.DynamicDateCard, { if (self.combo.isViewVisible()) { self.combo.hideView(); } + self.fireEvent(BI.DynamicDateCombo.EVENT_KEY_DOWN, arguments); } }, { eventName: BI.DynamicDateTrigger.EVENT_STOP, @@ -48165,6 +48166,7 @@ BI.extend(BI.DynamicDateCard, { } }); +BI.DynamicDateCombo.EVENT_KEY_DOWN = "EVENT_KEY_DOWN"; BI.DynamicDateCombo.EVENT_CONFIRM = "EVENT_CONFIRM"; BI.DynamicDateCombo.EVENT_FOCUS = "EVENT_FOCUS"; BI.DynamicDateCombo.EVENT_CHANGE = "EVENT_CHANGE"; @@ -48565,7 +48567,7 @@ BI.shortcut("bi.dynamic_date_popup", BI.DynamicDatePopup);BI.DynamicDateTrigger title: BI.bind(this._getTitle, this) }); this.editor.on(BI.SignEditor.EVENT_KEY_DOWN, function () { - self.fireEvent(BI.DynamicDateTrigger.EVENT_KEY_DOWN); + self.fireEvent(BI.DynamicDateTrigger.EVENT_KEY_DOWN, arguments); }); this.editor.on(BI.SignEditor.EVENT_FOCUS, function () { self.storeTriggerValue = self.getKey(); @@ -48913,6 +48915,7 @@ BI.DynamicDateTimeCombo = BI.inherit(BI.Single, { if (self.combo.isViewVisible()) { self.combo.hideView(); } + self.fireEvent(BI.DynamicDateTimeCombo.EVENT_KEY_DOWN, arguments); } }, { eventName: BI.DynamicDateTimeTrigger.EVENT_STOP, @@ -49134,6 +49137,7 @@ BI.DynamicDateTimeCombo = BI.inherit(BI.Single, { } }); +BI.DynamicDateTimeCombo.EVENT_KEY_DOWN = "EVENT_KEY_DOWN"; BI.DynamicDateTimeCombo.EVENT_CONFIRM = "EVENT_CONFIRM"; BI.DynamicDateTimeCombo.EVENT_FOCUS = "EVENT_FOCUS"; BI.DynamicDateTimeCombo.EVENT_CHANGE = "EVENT_CHANGE"; @@ -49641,7 +49645,7 @@ BI.extend(BI.DynamicDateTimeSelect, { title: BI.bind(this._getTitle, this) }); this.editor.on(BI.SignEditor.EVENT_KEY_DOWN, function () { - self.fireEvent(BI.DynamicDateTimeTrigger.EVENT_KEY_DOWN); + self.fireEvent(BI.DynamicDateTimeTrigger.EVENT_KEY_DOWN, arguments); }); this.editor.on(BI.SignEditor.EVENT_FOCUS, function () { self.storeTriggerValue = self.getKey(); @@ -66620,6 +66624,7 @@ BI.shortcut("bi.single_tree_trigger", BI.SingleTreeTrigger);!(function () { if (self.combo.isViewVisible()) { self.combo.hideView(); } + self.fireEvent(BI.TimeCombo.EVENT_KEY_DOWN, arguments); } }, { eventName: "EVENT_STOP", @@ -66753,6 +66758,7 @@ BI.shortcut("bi.single_tree_trigger", BI.SingleTreeTrigger);!(function () { } }); + BI.TimeCombo.EVENT_KEY_DOWN = "EVENT_KEY_DOWN"; BI.TimeCombo.EVENT_CONFIRM = "EVENT_CONFIRM"; BI.TimeCombo.EVENT_CHANGE = "EVENT_CHANGE"; BI.TimeCombo.EVENT_VALID = "EVENT_VALID"; @@ -66817,7 +66823,7 @@ BI.shortcut("bi.single_tree_trigger", BI.SingleTreeTrigger);!(function () { listeners: [{ eventName: "EVENT_KEY_DOWN", action: function () { - self.fireEvent("EVENT_KEY_DOWN"); + self.fireEvent("EVENT_KEY_DOWN", arguments); } }, { eventName: "EVENT_FOCUS", diff --git a/dist/widget.js b/dist/widget.js index 3824651aa..5292f0b88 100644 --- a/dist/widget.js +++ b/dist/widget.js @@ -2762,6 +2762,7 @@ BI.extend(BI.DynamicDateCard, { if (self.combo.isViewVisible()) { self.combo.hideView(); } + self.fireEvent(BI.DynamicDateCombo.EVENT_KEY_DOWN, arguments); } }, { eventName: BI.DynamicDateTrigger.EVENT_STOP, @@ -2980,6 +2981,7 @@ BI.extend(BI.DynamicDateCard, { } }); +BI.DynamicDateCombo.EVENT_KEY_DOWN = "EVENT_KEY_DOWN"; BI.DynamicDateCombo.EVENT_CONFIRM = "EVENT_CONFIRM"; BI.DynamicDateCombo.EVENT_FOCUS = "EVENT_FOCUS"; BI.DynamicDateCombo.EVENT_CHANGE = "EVENT_CHANGE"; @@ -3380,7 +3382,7 @@ BI.shortcut("bi.dynamic_date_popup", BI.DynamicDatePopup);BI.DynamicDateTrigger title: BI.bind(this._getTitle, this) }); this.editor.on(BI.SignEditor.EVENT_KEY_DOWN, function () { - self.fireEvent(BI.DynamicDateTrigger.EVENT_KEY_DOWN); + self.fireEvent(BI.DynamicDateTrigger.EVENT_KEY_DOWN, arguments); }); this.editor.on(BI.SignEditor.EVENT_FOCUS, function () { self.storeTriggerValue = self.getKey(); @@ -3728,6 +3730,7 @@ BI.DynamicDateTimeCombo = BI.inherit(BI.Single, { if (self.combo.isViewVisible()) { self.combo.hideView(); } + self.fireEvent(BI.DynamicDateTimeCombo.EVENT_KEY_DOWN, arguments); } }, { eventName: BI.DynamicDateTimeTrigger.EVENT_STOP, @@ -3949,6 +3952,7 @@ BI.DynamicDateTimeCombo = BI.inherit(BI.Single, { } }); +BI.DynamicDateTimeCombo.EVENT_KEY_DOWN = "EVENT_KEY_DOWN"; BI.DynamicDateTimeCombo.EVENT_CONFIRM = "EVENT_CONFIRM"; BI.DynamicDateTimeCombo.EVENT_FOCUS = "EVENT_FOCUS"; BI.DynamicDateTimeCombo.EVENT_CHANGE = "EVENT_CHANGE"; @@ -4456,7 +4460,7 @@ BI.extend(BI.DynamicDateTimeSelect, { title: BI.bind(this._getTitle, this) }); this.editor.on(BI.SignEditor.EVENT_KEY_DOWN, function () { - self.fireEvent(BI.DynamicDateTimeTrigger.EVENT_KEY_DOWN); + self.fireEvent(BI.DynamicDateTimeTrigger.EVENT_KEY_DOWN, arguments); }); this.editor.on(BI.SignEditor.EVENT_FOCUS, function () { self.storeTriggerValue = self.getKey(); @@ -21435,6 +21439,7 @@ BI.shortcut("bi.single_tree_trigger", BI.SingleTreeTrigger);!(function () { if (self.combo.isViewVisible()) { self.combo.hideView(); } + self.fireEvent(BI.TimeCombo.EVENT_KEY_DOWN, arguments); } }, { eventName: "EVENT_STOP", @@ -21568,6 +21573,7 @@ BI.shortcut("bi.single_tree_trigger", BI.SingleTreeTrigger);!(function () { } }); + BI.TimeCombo.EVENT_KEY_DOWN = "EVENT_KEY_DOWN"; BI.TimeCombo.EVENT_CONFIRM = "EVENT_CONFIRM"; BI.TimeCombo.EVENT_CHANGE = "EVENT_CHANGE"; BI.TimeCombo.EVENT_VALID = "EVENT_VALID"; @@ -21632,7 +21638,7 @@ BI.shortcut("bi.single_tree_trigger", BI.SingleTreeTrigger);!(function () { listeners: [{ eventName: "EVENT_KEY_DOWN", action: function () { - self.fireEvent("EVENT_KEY_DOWN"); + self.fireEvent("EVENT_KEY_DOWN", arguments); } }, { eventName: "EVENT_FOCUS", diff --git a/src/widget/dynamicdate/dynamicdate.combo.js b/src/widget/dynamicdate/dynamicdate.combo.js index 5c5480c2f..f2d9cda51 100644 --- a/src/widget/dynamicdate/dynamicdate.combo.js +++ b/src/widget/dynamicdate/dynamicdate.combo.js @@ -64,7 +64,7 @@ BI.DynamicDateCombo = BI.inherit(BI.Single, { if (self.combo.isViewVisible()) { self.combo.hideView(); } - self.fireEvent(BI.DynamicDateCombo.EVENT_KEY_DOWN); + self.fireEvent(BI.DynamicDateCombo.EVENT_KEY_DOWN, arguments); } }, { eventName: BI.DynamicDateTrigger.EVENT_STOP, diff --git a/src/widget/dynamicdate/dynamicdate.trigger.js b/src/widget/dynamicdate/dynamicdate.trigger.js index 8f9067719..a3806bec4 100644 --- a/src/widget/dynamicdate/dynamicdate.trigger.js +++ b/src/widget/dynamicdate/dynamicdate.trigger.js @@ -52,7 +52,7 @@ BI.DynamicDateTrigger = BI.inherit(BI.Trigger, { title: BI.bind(this._getTitle, this) }); this.editor.on(BI.SignEditor.EVENT_KEY_DOWN, function () { - self.fireEvent(BI.DynamicDateTrigger.EVENT_KEY_DOWN); + self.fireEvent(BI.DynamicDateTrigger.EVENT_KEY_DOWN, arguments); }); this.editor.on(BI.SignEditor.EVENT_FOCUS, function () { self.storeTriggerValue = self.getKey(); diff --git a/src/widget/dynamicdatetime/dynamicdatetime.combo.js b/src/widget/dynamicdatetime/dynamicdatetime.combo.js index e1f16e413..6a277f8e1 100644 --- a/src/widget/dynamicdatetime/dynamicdatetime.combo.js +++ b/src/widget/dynamicdatetime/dynamicdatetime.combo.js @@ -64,7 +64,7 @@ BI.DynamicDateTimeCombo = BI.inherit(BI.Single, { if (self.combo.isViewVisible()) { self.combo.hideView(); } - self.fireEvent(BI.DynamicDateTimeCombo.EVENT_KEY_DOWN); + self.fireEvent(BI.DynamicDateTimeCombo.EVENT_KEY_DOWN, arguments); } }, { eventName: BI.DynamicDateTimeTrigger.EVENT_STOP, diff --git a/src/widget/dynamicdatetime/dynamicdatetime.trigger.js b/src/widget/dynamicdatetime/dynamicdatetime.trigger.js index 61d99d447..d8113f7ab 100644 --- a/src/widget/dynamicdatetime/dynamicdatetime.trigger.js +++ b/src/widget/dynamicdatetime/dynamicdatetime.trigger.js @@ -52,7 +52,7 @@ BI.DynamicDateTimeTrigger = BI.inherit(BI.Trigger, { title: BI.bind(this._getTitle, this) }); this.editor.on(BI.SignEditor.EVENT_KEY_DOWN, function () { - self.fireEvent(BI.DynamicDateTimeTrigger.EVENT_KEY_DOWN); + self.fireEvent(BI.DynamicDateTimeTrigger.EVENT_KEY_DOWN, arguments); }); this.editor.on(BI.SignEditor.EVENT_FOCUS, function () { self.storeTriggerValue = self.getKey(); diff --git a/src/widget/time/time.combo.js b/src/widget/time/time.combo.js index 207a07c1b..840a97463 100644 --- a/src/widget/time/time.combo.js +++ b/src/widget/time/time.combo.js @@ -78,7 +78,7 @@ if (self.combo.isViewVisible()) { self.combo.hideView(); } - self.fireEvent(BI.TimeCombo.EVENT_KEY_DOWN); + self.fireEvent(BI.TimeCombo.EVENT_KEY_DOWN, arguments); } }, { eventName: "EVENT_STOP", diff --git a/src/widget/time/time.trigger.js b/src/widget/time/time.trigger.js index 702b08761..5e2796f07 100644 --- a/src/widget/time/time.trigger.js +++ b/src/widget/time/time.trigger.js @@ -56,7 +56,7 @@ listeners: [{ eventName: "EVENT_KEY_DOWN", action: function () { - self.fireEvent("EVENT_KEY_DOWN"); + self.fireEvent("EVENT_KEY_DOWN", arguments); } }, { eventName: "EVENT_FOCUS", From 80dbb5891610e6a6fa3bf454336d98d2ddc181db Mon Sep 17 00:00:00 2001 From: windy <1374721899@qq.com> Date: Tue, 30 Jul 2019 16:40:06 +0800 Subject: [PATCH 3/3] update --- dist/2.0/fineui.ie.js | 2 +- dist/2.0/fineui.js | 2 +- dist/base.js | 2 +- dist/bundle.ie.js | 2 +- dist/bundle.js | 2 +- dist/fineui.ie.js | 2 +- dist/fineui.js | 2 +- dist/fineui_without_jquery_polyfill.js | 2 +- src/base/single/input/input.js | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/dist/2.0/fineui.ie.js b/dist/2.0/fineui.ie.js index c144f63dc..ded8b0e71 100644 --- a/dist/2.0/fineui.ie.js +++ b/dist/2.0/fineui.ie.js @@ -48463,7 +48463,7 @@ BI.Input = BI.inherit(BI.Single, { if (keyCode == BI.KeyCode.BACKSPACE || keyCode == BI.KeyCode.DELETE) { this.fireEvent(BI.Input.EVENT_BACKSPACE); } - this.fireEvent(BI.Input.EVENT_KEY_DOWN); + this.fireEvent(BI.Input.EVENT_KEY_DOWN, arguments); // _valueChange中会更新_lastValue, 这边缓存用以后续STOP事件服务 var lastValue = this._lastValue; diff --git a/dist/2.0/fineui.js b/dist/2.0/fineui.js index ba7ddb741..fb76d718c 100644 --- a/dist/2.0/fineui.js +++ b/dist/2.0/fineui.js @@ -48867,7 +48867,7 @@ BI.Input = BI.inherit(BI.Single, { if (keyCode == BI.KeyCode.BACKSPACE || keyCode == BI.KeyCode.DELETE) { this.fireEvent(BI.Input.EVENT_BACKSPACE); } - this.fireEvent(BI.Input.EVENT_KEY_DOWN); + this.fireEvent(BI.Input.EVENT_KEY_DOWN, arguments); // _valueChange中会更新_lastValue, 这边缓存用以后续STOP事件服务 var lastValue = this._lastValue; diff --git a/dist/base.js b/dist/base.js index ee6761a36..76cf28814 100644 --- a/dist/base.js +++ b/dist/base.js @@ -10601,7 +10601,7 @@ BI.Input = BI.inherit(BI.Single, { if (keyCode == BI.KeyCode.BACKSPACE || keyCode == BI.KeyCode.DELETE) { this.fireEvent(BI.Input.EVENT_BACKSPACE); } - this.fireEvent(BI.Input.EVENT_KEY_DOWN); + this.fireEvent(BI.Input.EVENT_KEY_DOWN, arguments); // _valueChange中会更新_lastValue, 这边缓存用以后续STOP事件服务 var lastValue = this._lastValue; diff --git a/dist/bundle.ie.js b/dist/bundle.ie.js index c144f63dc..ded8b0e71 100644 --- a/dist/bundle.ie.js +++ b/dist/bundle.ie.js @@ -48463,7 +48463,7 @@ BI.Input = BI.inherit(BI.Single, { if (keyCode == BI.KeyCode.BACKSPACE || keyCode == BI.KeyCode.DELETE) { this.fireEvent(BI.Input.EVENT_BACKSPACE); } - this.fireEvent(BI.Input.EVENT_KEY_DOWN); + this.fireEvent(BI.Input.EVENT_KEY_DOWN, arguments); // _valueChange中会更新_lastValue, 这边缓存用以后续STOP事件服务 var lastValue = this._lastValue; diff --git a/dist/bundle.js b/dist/bundle.js index ba7ddb741..fb76d718c 100644 --- a/dist/bundle.js +++ b/dist/bundle.js @@ -48867,7 +48867,7 @@ BI.Input = BI.inherit(BI.Single, { if (keyCode == BI.KeyCode.BACKSPACE || keyCode == BI.KeyCode.DELETE) { this.fireEvent(BI.Input.EVENT_BACKSPACE); } - this.fireEvent(BI.Input.EVENT_KEY_DOWN); + this.fireEvent(BI.Input.EVENT_KEY_DOWN, arguments); // _valueChange中会更新_lastValue, 这边缓存用以后续STOP事件服务 var lastValue = this._lastValue; diff --git a/dist/fineui.ie.js b/dist/fineui.ie.js index e293c073f..3640b7b2d 100644 --- a/dist/fineui.ie.js +++ b/dist/fineui.ie.js @@ -48708,7 +48708,7 @@ BI.Input = BI.inherit(BI.Single, { if (keyCode == BI.KeyCode.BACKSPACE || keyCode == BI.KeyCode.DELETE) { this.fireEvent(BI.Input.EVENT_BACKSPACE); } - this.fireEvent(BI.Input.EVENT_KEY_DOWN); + this.fireEvent(BI.Input.EVENT_KEY_DOWN, arguments); // _valueChange中会更新_lastValue, 这边缓存用以后续STOP事件服务 var lastValue = this._lastValue; diff --git a/dist/fineui.js b/dist/fineui.js index bff489b11..ca1b3646f 100644 --- a/dist/fineui.js +++ b/dist/fineui.js @@ -49112,7 +49112,7 @@ BI.Input = BI.inherit(BI.Single, { if (keyCode == BI.KeyCode.BACKSPACE || keyCode == BI.KeyCode.DELETE) { this.fireEvent(BI.Input.EVENT_BACKSPACE); } - this.fireEvent(BI.Input.EVENT_KEY_DOWN); + this.fireEvent(BI.Input.EVENT_KEY_DOWN, arguments); // _valueChange中会更新_lastValue, 这边缓存用以后续STOP事件服务 var lastValue = this._lastValue; diff --git a/dist/fineui_without_jquery_polyfill.js b/dist/fineui_without_jquery_polyfill.js index 0b03ba332..457fcb203 100644 --- a/dist/fineui_without_jquery_polyfill.js +++ b/dist/fineui_without_jquery_polyfill.js @@ -35890,7 +35890,7 @@ BI.Input = BI.inherit(BI.Single, { if (keyCode == BI.KeyCode.BACKSPACE || keyCode == BI.KeyCode.DELETE) { this.fireEvent(BI.Input.EVENT_BACKSPACE); } - this.fireEvent(BI.Input.EVENT_KEY_DOWN); + this.fireEvent(BI.Input.EVENT_KEY_DOWN, arguments); // _valueChange中会更新_lastValue, 这边缓存用以后续STOP事件服务 var lastValue = this._lastValue; diff --git a/src/base/single/input/input.js b/src/base/single/input/input.js index 1d8372dcb..59dc0ba6d 100644 --- a/src/base/single/input/input.js +++ b/src/base/single/input/input.js @@ -164,7 +164,7 @@ BI.Input = BI.inherit(BI.Single, { if (keyCode == BI.KeyCode.BACKSPACE || keyCode == BI.KeyCode.DELETE) { this.fireEvent(BI.Input.EVENT_BACKSPACE); } - this.fireEvent(BI.Input.EVENT_KEY_DOWN); + this.fireEvent(BI.Input.EVENT_KEY_DOWN, arguments); // _valueChange中会更新_lastValue, 这边缓存用以后续STOP事件服务 var lastValue = this._lastValue;