From f271d2198289471ea6ff61bc93f1d8b1fd6c861d Mon Sep 17 00:00:00 2001 From: Kira Date: Mon, 29 Jul 2019 15:03:13 +0800 Subject: [PATCH 1/7] =?UTF-8?q?=E6=97=A0jira=E4=BB=BB=E5=8A=A1=EF=BC=9A?= =?UTF-8?q?=E8=B0=83=E6=95=B4=E4=B8=8Badd=20items=E7=9A=84=E9=A1=BA?= =?UTF-8?q?=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/case/loader/loader.list.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/case/loader/loader.list.js b/src/case/loader/loader.list.js index 04c7292a9a..aeb3ad959c 100644 --- a/src/case/loader/loader.list.js +++ b/src/case/loader/loader.list.js @@ -100,8 +100,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(); From d38d552c5ce8a2c89d24c5124ec3c227a9d0f6df Mon Sep 17 00:00:00 2001 From: iapyang Date: Mon, 29 Jul 2019 16:11:02 +0800 Subject: [PATCH 2/7] =?UTF-8?q?fix:=20=E5=AE=9A=E4=B9=89=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- typescript/core/base.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typescript/core/base.ts b/typescript/core/base.ts index 26389d331d..81ed09060d 100644 --- a/typescript/core/base.ts +++ b/typescript/core/base.ts @@ -95,7 +95,7 @@ export interface _base { backFind: (obj: any, predicate: Function, context?: any) => any; - remove: (obj: any, predicate: Function, context?: any) => void; + remove: (obj: any, predicate: any, context?: any) => void; removeAt: (obj: any, index: number|number[]) => void; From 5fc0819c3a6ac0735ffd1db53372e8d71bb91dc8 Mon Sep 17 00:00:00 2001 From: windy <1374721899@qq.com> Date: Mon, 29 Jul 2019 19:34:40 +0800 Subject: [PATCH 3/7] =?UTF-8?q?=E6=97=A0JIRA=E4=BB=BB=E5=8A=A1=20=E5=BC=82?= =?UTF-8?q?=E6=AD=A5=E5=8D=95=E9=80=89=E6=A0=91=E7=9A=84=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E5=80=BC=E9=A2=9C=E8=89=B2=E6=B2=A1=E6=9C=89=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dist/2.0/fineui.ie.js | 11 +++++++++-- dist/2.0/fineui.js | 11 +++++++++-- dist/bundle.ie.js | 11 +++++++++-- dist/bundle.js | 11 +++++++++-- dist/config.js | 2 +- dist/fineui.ie.js | 9 ++++++++- dist/fineui.js | 9 ++++++++- dist/fineui_without_jquery_polyfill.js | 9 ++++++++- dist/utils.js | 2 +- dist/widget.js | 9 ++++++++- .../multilayersingletree.trigger.js | 9 ++++++++- 11 files changed, 78 insertions(+), 15 deletions(-) diff --git a/dist/2.0/fineui.ie.js b/dist/2.0/fineui.ie.js index 07fd48d7e3..bc1a219666 100644 --- a/dist/2.0/fineui.ie.js +++ b/dist/2.0/fineui.ie.js @@ -69991,7 +69991,7 @@ BI.MultiLayerSingleTreeTrigger = BI.inherit(BI.Trigger, { ref: function () { self.editor = this; }, - text: this._digest(o.value), + text: o.text, value: o.value, height: o.height, tipText: "", @@ -70070,6 +70070,13 @@ BI.MultiLayerSingleTreeTrigger = BI.inherit(BI.Trigger, { }; }, + mounted: function () { + var o = this.options; + if(BI.isKey(o.value)) { + this.setValue([o.value]); + } + }, + _digest: function (v) { return this.options.valueFormatter(v); }, @@ -89315,7 +89322,7 @@ BI.shortcut("bi.value_chooser_pane", BI.ValueChooserPane);;(function () { }());BI.i18n = { "BI-Multi_Date_Quarter_End": "季度末", "BI-Multi_Date_Month_Begin": "月初", - "BI-Multi_Date_YMD": "年/月/日", + "BI-Multi_Date_YMD": "年月日", "BI-Custom_Color": "自定义颜色", "BI-Numerical_Interval_Input_Data": "请输入数值", "BI-Please_Input_Natural_Number": "请输入非负整数", diff --git a/dist/2.0/fineui.js b/dist/2.0/fineui.js index 960ee134f6..67d7ed8060 100644 --- a/dist/2.0/fineui.js +++ b/dist/2.0/fineui.js @@ -70395,7 +70395,7 @@ BI.MultiLayerSingleTreeTrigger = BI.inherit(BI.Trigger, { ref: function () { self.editor = this; }, - text: this._digest(o.value), + text: o.text, value: o.value, height: o.height, tipText: "", @@ -70474,6 +70474,13 @@ BI.MultiLayerSingleTreeTrigger = BI.inherit(BI.Trigger, { }; }, + mounted: function () { + var o = this.options; + if(BI.isKey(o.value)) { + this.setValue([o.value]); + } + }, + _digest: function (v) { return this.options.valueFormatter(v); }, @@ -89649,7 +89656,7 @@ BI.shortcut("bi.value_chooser_pane", BI.ValueChooserPane);;(function () { }());BI.i18n = { "BI-Multi_Date_Quarter_End": "季度末", "BI-Multi_Date_Month_Begin": "月初", - "BI-Multi_Date_YMD": "年/月/日", + "BI-Multi_Date_YMD": "年月日", "BI-Custom_Color": "自定义颜色", "BI-Numerical_Interval_Input_Data": "请输入数值", "BI-Please_Input_Natural_Number": "请输入非负整数", diff --git a/dist/bundle.ie.js b/dist/bundle.ie.js index 07fd48d7e3..bc1a219666 100644 --- a/dist/bundle.ie.js +++ b/dist/bundle.ie.js @@ -69991,7 +69991,7 @@ BI.MultiLayerSingleTreeTrigger = BI.inherit(BI.Trigger, { ref: function () { self.editor = this; }, - text: this._digest(o.value), + text: o.text, value: o.value, height: o.height, tipText: "", @@ -70070,6 +70070,13 @@ BI.MultiLayerSingleTreeTrigger = BI.inherit(BI.Trigger, { }; }, + mounted: function () { + var o = this.options; + if(BI.isKey(o.value)) { + this.setValue([o.value]); + } + }, + _digest: function (v) { return this.options.valueFormatter(v); }, @@ -89315,7 +89322,7 @@ BI.shortcut("bi.value_chooser_pane", BI.ValueChooserPane);;(function () { }());BI.i18n = { "BI-Multi_Date_Quarter_End": "季度末", "BI-Multi_Date_Month_Begin": "月初", - "BI-Multi_Date_YMD": "年/月/日", + "BI-Multi_Date_YMD": "年月日", "BI-Custom_Color": "自定义颜色", "BI-Numerical_Interval_Input_Data": "请输入数值", "BI-Please_Input_Natural_Number": "请输入非负整数", diff --git a/dist/bundle.js b/dist/bundle.js index 960ee134f6..67d7ed8060 100644 --- a/dist/bundle.js +++ b/dist/bundle.js @@ -70395,7 +70395,7 @@ BI.MultiLayerSingleTreeTrigger = BI.inherit(BI.Trigger, { ref: function () { self.editor = this; }, - text: this._digest(o.value), + text: o.text, value: o.value, height: o.height, tipText: "", @@ -70474,6 +70474,13 @@ BI.MultiLayerSingleTreeTrigger = BI.inherit(BI.Trigger, { }; }, + mounted: function () { + var o = this.options; + if(BI.isKey(o.value)) { + this.setValue([o.value]); + } + }, + _digest: function (v) { return this.options.valueFormatter(v); }, @@ -89649,7 +89656,7 @@ BI.shortcut("bi.value_chooser_pane", BI.ValueChooserPane);;(function () { }());BI.i18n = { "BI-Multi_Date_Quarter_End": "季度末", "BI-Multi_Date_Month_Begin": "月初", - "BI-Multi_Date_YMD": "年/月/日", + "BI-Multi_Date_YMD": "年月日", "BI-Custom_Color": "自定义颜色", "BI-Numerical_Interval_Input_Data": "请输入数值", "BI-Please_Input_Natural_Number": "请输入非负整数", diff --git a/dist/config.js b/dist/config.js index e362f2b633..78d503020f 100644 --- a/dist/config.js +++ b/dist/config.js @@ -2,7 +2,7 @@ BI.i18n = { "BI-Multi_Date_Quarter_End": "季度末", "BI-Multi_Date_Month_Begin": "月初", - "BI-Multi_Date_YMD": "年/月/日", + "BI-Multi_Date_YMD": "年月日", "BI-Custom_Color": "自定义颜色", "BI-Numerical_Interval_Input_Data": "请输入数值", "BI-Please_Input_Natural_Number": "请输入非负整数", diff --git a/dist/fineui.ie.js b/dist/fineui.ie.js index 167a887dbf..525b81c132 100644 --- a/dist/fineui.ie.js +++ b/dist/fineui.ie.js @@ -70236,7 +70236,7 @@ BI.MultiLayerSingleTreeTrigger = BI.inherit(BI.Trigger, { ref: function () { self.editor = this; }, - text: this._digest(o.value), + text: o.text, value: o.value, height: o.height, tipText: "", @@ -70315,6 +70315,13 @@ BI.MultiLayerSingleTreeTrigger = BI.inherit(BI.Trigger, { }; }, + mounted: function () { + var o = this.options; + if(BI.isKey(o.value)) { + this.setValue([o.value]); + } + }, + _digest: function (v) { return this.options.valueFormatter(v); }, diff --git a/dist/fineui.js b/dist/fineui.js index c89e58137d..6e38cdc21b 100644 --- a/dist/fineui.js +++ b/dist/fineui.js @@ -70640,7 +70640,7 @@ BI.MultiLayerSingleTreeTrigger = BI.inherit(BI.Trigger, { ref: function () { self.editor = this; }, - text: this._digest(o.value), + text: o.text, value: o.value, height: o.height, tipText: "", @@ -70719,6 +70719,13 @@ BI.MultiLayerSingleTreeTrigger = BI.inherit(BI.Trigger, { }; }, + mounted: function () { + var o = this.options; + if(BI.isKey(o.value)) { + this.setValue([o.value]); + } + }, + _digest: function (v) { return this.options.valueFormatter(v); }, diff --git a/dist/fineui_without_jquery_polyfill.js b/dist/fineui_without_jquery_polyfill.js index 95ab52918d..0fbb0fcbdb 100644 --- a/dist/fineui_without_jquery_polyfill.js +++ b/dist/fineui_without_jquery_polyfill.js @@ -53246,7 +53246,7 @@ BI.MultiLayerSingleTreeTrigger = BI.inherit(BI.Trigger, { ref: function () { self.editor = this; }, - text: this._digest(o.value), + text: o.text, value: o.value, height: o.height, tipText: "", @@ -53325,6 +53325,13 @@ BI.MultiLayerSingleTreeTrigger = BI.inherit(BI.Trigger, { }; }, + mounted: function () { + var o = this.options; + if(BI.isKey(o.value)) { + this.setValue([o.value]); + } + }, + _digest: function (v) { return this.options.valueFormatter(v); }, diff --git a/dist/utils.js b/dist/utils.js index 5abac01b0f..758bc8b634 100644 --- a/dist/utils.js +++ b/dist/utils.js @@ -18109,7 +18109,7 @@ BI.Region.prototype = { };BI.i18n = { "BI-Multi_Date_Quarter_End": "季度末", "BI-Multi_Date_Month_Begin": "月初", - "BI-Multi_Date_YMD": "年/月/日", + "BI-Multi_Date_YMD": "年月日", "BI-Custom_Color": "自定义颜色", "BI-Numerical_Interval_Input_Data": "请输入数值", "BI-Please_Input_Natural_Number": "请输入非负整数", diff --git a/dist/widget.js b/dist/widget.js index 1d68f7b221..3824651aac 100644 --- a/dist/widget.js +++ b/dist/widget.js @@ -8061,7 +8061,7 @@ BI.MultiLayerSingleTreeTrigger = BI.inherit(BI.Trigger, { ref: function () { self.editor = this; }, - text: this._digest(o.value), + text: o.text, value: o.value, height: o.height, tipText: "", @@ -8140,6 +8140,13 @@ BI.MultiLayerSingleTreeTrigger = BI.inherit(BI.Trigger, { }; }, + mounted: function () { + var o = this.options; + if(BI.isKey(o.value)) { + this.setValue([o.value]); + } + }, + _digest: function (v) { return this.options.valueFormatter(v); }, diff --git a/src/widget/multilayersingletree/multilayersingletree.trigger.js b/src/widget/multilayersingletree/multilayersingletree.trigger.js index e75a33cbb2..87c16f2afc 100644 --- a/src/widget/multilayersingletree/multilayersingletree.trigger.js +++ b/src/widget/multilayersingletree/multilayersingletree.trigger.js @@ -29,7 +29,7 @@ BI.MultiLayerSingleTreeTrigger = BI.inherit(BI.Trigger, { ref: function () { self.editor = this; }, - text: this._digest(o.value), + text: o.text, value: o.value, height: o.height, tipText: "", @@ -108,6 +108,13 @@ BI.MultiLayerSingleTreeTrigger = BI.inherit(BI.Trigger, { }; }, + mounted: function () { + var o = this.options; + if(BI.isKey(o.value)) { + this.setValue([o.value]); + } + }, + _digest: function (v) { return this.options.valueFormatter(v); }, From 8f63b08137e9c4d2d575b6348c35caf1a167eb3b Mon Sep 17 00:00:00 2001 From: iapyang Date: Tue, 30 Jul 2019 11:12:28 +0800 Subject: [PATCH 4/7] =?UTF-8?q?fix:=20=E5=8F=82=E6=95=B0=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- typescript/core/base.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typescript/core/base.ts b/typescript/core/base.ts index 81ed09060d..05cc91239c 100644 --- a/typescript/core/base.ts +++ b/typescript/core/base.ts @@ -367,7 +367,7 @@ export interface _base { parseDateTime: (str: string, fmt: string) => Date; - getDate: (...args: number[]) => Date; + getDate: (...args: (number | string)[]) => Date; getTime: (...args: any[]) => number; } \ No newline at end of file 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 5/7] =?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 5cf8b37540..5c5480c2f8 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 6db4f7fded..e1f16e4138 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 e9f0f0393f..207a07c1b3 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 6/7] 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 bc1a219666..c144f63dcf 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 67d7ed8060..ba7ddb7410 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 bc1a219666..c144f63dcf 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 67d7ed8060..ba7ddb7410 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 6b9082132f..6d4b3ce86e 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 525b81c132..e293c073f9 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 6e38cdc21b..bff489b115 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 0fbb0fcbdb..0b03ba3320 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 3824651aac..5292f0b880 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 5c5480c2f8..f2d9cda515 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 8f9067719c..a3806bec4c 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 e1f16e4138..6a277f8e11 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 61d99d4470..d8113f7ab0 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 207a07c1b3..840a97463b 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 702b087611..5e2796f079 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 7/7] 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 c144f63dcf..ded8b0e714 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 ba7ddb7410..fb76d718cd 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 ee6761a36f..76cf288140 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 c144f63dcf..ded8b0e714 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 ba7ddb7410..fb76d718cd 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 e293c073f9..3640b7b2d7 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 bff489b115..ca1b3646fc 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 0b03ba3320..457fcb203d 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 1d8372dcb3..59dc0ba6d4 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;