From: edward Date: Thu, 11 Feb 2016 02:43:17 +0000 (+0800) Subject: sync X-Git-Url: http://git.roojs.org/?p=roojs1;a=commitdiff_plain;h=46be6c8207148a73d2c5f195f8fd86e8c87e38cc sync --- diff --git a/Roo/bootstrap/ComboBox.js b/Roo/bootstrap/ComboBox.js index dea1994aec..088bfa9244 100644 --- a/Roo/bootstrap/ComboBox.js +++ b/Roo/bootstrap/ComboBox.js @@ -2342,6 +2342,8 @@ Roo.extend(Roo.bootstrap.ComboBox, Roo.bootstrap.TriggerField, { this.hideTouchView(); + this.fireEvent('select', this, r, rowIndex); + return; } @@ -2355,8 +2357,6 @@ Roo.extend(Roo.bootstrap.ComboBox, Roo.bootstrap.TriggerField, { this.addItem(r.data); this.tickItems.push(r.data); - - } diff --git a/css-bootstrap/upload-cropbox.css b/css-bootstrap/upload-cropbox.css index 4ec769257a..8a30fd4d59 100644 --- a/css-bootstrap/upload-cropbox.css +++ b/css-bootstrap/upload-cropbox.css @@ -9,7 +9,7 @@ cursor:move; } -.roo-upload-cropbox-canvas { +.roo-upload-cropbox-preview { position: absolute; top: 0px; left: 0px; diff --git a/docs/files.html b/docs/files.html index 39ba8eff71..55746da8ce 100644 --- a/docs/files.html +++ b/docs/files.html @@ -2557,9 +2557,9 @@
- Documentation generated by Introspeciton Doc Generator undefined on Wed Feb 03 2016 13:11:34 GMT+0800 (HKT) + Documentation generated by Introspeciton Doc Generator undefined on Thu Feb 04 2016 16:03:30 GMT+0800 (HKT) Based on - JsDoc Toolkit on Wed Feb 03 2016 13:11:34 GMT+0800 (HKT) + JsDoc Toolkit on Thu Feb 04 2016 16:03:30 GMT+0800 (HKT)
\ No newline at end of file diff --git a/docs/json/roodata.json b/docs/json/roodata.json index f0acddf62e..0983427aee 100644 --- a/docs/json/roodata.json +++ b/docs/json/roodata.json @@ -39199,12 +39199,6 @@ } ], "events": [ - { - "name": "beforeSelectFile", - "sig": "function (_self)\n{\n\n}", - "type": "function", - "desc": "Fire before select file" - }, { "name": "beforedestroy", "sig": "function (_self)\n{\n\n}", @@ -39218,10 +39212,10 @@ "desc": "Fires before the component is hidden. Return false to stop the hide." }, { - "name": "beforeloadimage", + "name": "beforeloadcanvas", "sig": "function (_self, src)\n{\n\n}", "type": "function", - "desc": "Fire before load the image" + "desc": "Fire before load the canvas" }, { "name": "beforerender", @@ -39229,6 +39223,12 @@ "type": "function", "desc": "Fires before the component is rendered. Return false to stop the render." }, + { + "name": "beforeselectfile", + "sig": "function (_self)\n{\n\n}", + "type": "function", + "desc": "Fire before select file" + }, { "name": "beforeshow", "sig": "function (_self)\n{\n\n}", @@ -39243,7 +39243,7 @@ }, { "name": "crop", - "sig": "function (_self, imageData)\n{\n\n}", + "sig": "function (_self, data)\n{\n\n}", "type": "function", "desc": "Fire after initEvent" }, diff --git a/docs/symbols/Array.html b/docs/symbols/Array.html index e02c932dd3..3116b6cc07 100644 --- a/docs/symbols/Array.html +++ b/docs/symbols/Array.html @@ -385,7 +385,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:32 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Date.html b/docs/symbols/Date.html index 45b24b1e9b..685e802dc5 100644 --- a/docs/symbols/Date.html +++ b/docs/symbols/Date.html @@ -1809,7 +1809,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:32 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Function.html b/docs/symbols/Function.html index 3a8059787e..5f6af7e2f3 100644 --- a/docs/symbols/Function.html +++ b/docs/symbols/Function.html @@ -600,7 +600,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:32 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Number.html b/docs/symbols/Number.html index c0965bf028..c8f408ddeb 100644 --- a/docs/symbols/Number.html +++ b/docs/symbols/Number.html @@ -267,7 +267,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:32 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.Ajax.html b/docs/symbols/Roo.Ajax.html index 1fc989f4e0..469c364826 100644 --- a/docs/symbols/Roo.Ajax.html +++ b/docs/symbols/Roo.Ajax.html @@ -1479,7 +1479,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:32 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.BasicDialog.html b/docs/symbols/Roo.BasicDialog.html index d92606185b..d7ad425a87 100644 --- a/docs/symbols/Roo.BasicDialog.html +++ b/docs/symbols/Roo.BasicDialog.html @@ -3908,7 +3908,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:32 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.BasicLayoutRegion.html b/docs/symbols/Roo.BasicLayoutRegion.html index 2174c0d6f3..1d51d4425e 100644 --- a/docs/symbols/Roo.BasicLayoutRegion.html +++ b/docs/symbols/Roo.BasicLayoutRegion.html @@ -2254,7 +2254,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:32 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.BorderLayout.html b/docs/symbols/Roo.BorderLayout.html index 2d4e190d4c..bcc984a467 100644 --- a/docs/symbols/Roo.BorderLayout.html +++ b/docs/symbols/Roo.BorderLayout.html @@ -2230,7 +2230,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:32 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.BoxComponent.html b/docs/symbols/Roo.BoxComponent.html index d6acb6a32b..a338de0405 100644 --- a/docs/symbols/Roo.BoxComponent.html +++ b/docs/symbols/Roo.BoxComponent.html @@ -3257,7 +3257,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:32 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.Button.html b/docs/symbols/Roo.Button.html index 173929cffa..fe7e693cef 100644 --- a/docs/symbols/Roo.Button.html +++ b/docs/symbols/Roo.Button.html @@ -2713,7 +2713,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:32 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.CalendarPanel.html b/docs/symbols/Roo.CalendarPanel.html index 067e127b3c..ed5c794e8d 100644 --- a/docs/symbols/Roo.CalendarPanel.html +++ b/docs/symbols/Roo.CalendarPanel.html @@ -2713,7 +2713,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:32 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.ColorPalette.html b/docs/symbols/Roo.ColorPalette.html index f6ff4b55f1..9395e3329b 100644 --- a/docs/symbols/Roo.ColorPalette.html +++ b/docs/symbols/Roo.ColorPalette.html @@ -2575,7 +2575,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:32 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.Component.html b/docs/symbols/Roo.Component.html index 4abd40ebf1..abd0370b28 100644 --- a/docs/symbols/Roo.Component.html +++ b/docs/symbols/Roo.Component.html @@ -2359,7 +2359,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:32 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.ComponentMgr.html b/docs/symbols/Roo.ComponentMgr.html index f7ae791744..9defc5e201 100644 --- a/docs/symbols/Roo.ComponentMgr.html +++ b/docs/symbols/Roo.ComponentMgr.html @@ -446,7 +446,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:32 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.CompositeElement.html b/docs/symbols/Roo.CompositeElement.html index 34f6f8dedc..c092f9a797 100644 --- a/docs/symbols/Roo.CompositeElement.html +++ b/docs/symbols/Roo.CompositeElement.html @@ -1190,7 +1190,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:32 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.CompositeElementLite.html b/docs/symbols/Roo.CompositeElementLite.html index 5a7325abf4..a55d051088 100644 --- a/docs/symbols/Roo.CompositeElementLite.html +++ b/docs/symbols/Roo.CompositeElementLite.html @@ -1196,7 +1196,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:32 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.ContentPanel.html b/docs/symbols/Roo.ContentPanel.html index 396b47e8d3..7604c1db38 100644 --- a/docs/symbols/Roo.ContentPanel.html +++ b/docs/symbols/Roo.ContentPanel.html @@ -2520,7 +2520,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:32 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.DDView.html b/docs/symbols/Roo.DDView.html index 40e1ee314b..5616eb6a63 100644 --- a/docs/symbols/Roo.DDView.html +++ b/docs/symbols/Roo.DDView.html @@ -1048,7 +1048,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:32 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.DatePicker.html b/docs/symbols/Roo.DatePicker.html index da7fd0a9b9..e3cde5b21d 100644 --- a/docs/symbols/Roo.DatePicker.html +++ b/docs/symbols/Roo.DatePicker.html @@ -3296,7 +3296,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:32 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.DialogManager.html b/docs/symbols/Roo.DialogManager.html index bd1b90d18c..91c6b3d746 100644 --- a/docs/symbols/Roo.DialogManager.html +++ b/docs/symbols/Roo.DialogManager.html @@ -515,7 +515,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:32 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.DomHelper.html b/docs/symbols/Roo.DomHelper.html index 4398c0de22..92518cd2fa 100644 --- a/docs/symbols/Roo.DomHelper.html +++ b/docs/symbols/Roo.DomHelper.html @@ -942,7 +942,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:32 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.DomQuery.html b/docs/symbols/Roo.DomQuery.html index 9eabe78523..6106b47780 100644 --- a/docs/symbols/Roo.DomQuery.html +++ b/docs/symbols/Roo.DomQuery.html @@ -770,7 +770,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:32 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.DomTemplate.html b/docs/symbols/Roo.DomTemplate.html index 5e8999573c..bac3d79d1c 100644 --- a/docs/symbols/Roo.DomTemplate.html +++ b/docs/symbols/Roo.DomTemplate.html @@ -1155,7 +1155,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:32 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.Editor.html b/docs/symbols/Roo.Editor.html index 53488e2d04..8890a76139 100644 --- a/docs/symbols/Roo.Editor.html +++ b/docs/symbols/Roo.Editor.html @@ -3491,7 +3491,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:32 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.Element.html b/docs/symbols/Roo.Element.html index 8176434639..450c26d3c6 100644 --- a/docs/symbols/Roo.Element.html +++ b/docs/symbols/Roo.Element.html @@ -11154,7 +11154,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:32 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.EventManager.html b/docs/symbols/Roo.EventManager.html index 7f87e605cc..9faf9123af 100644 --- a/docs/symbols/Roo.EventManager.html +++ b/docs/symbols/Roo.EventManager.html @@ -923,7 +923,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:32 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.EventObject.html b/docs/symbols/Roo.EventObject.html index 16382939c4..42561b1625 100644 --- a/docs/symbols/Roo.EventObject.html +++ b/docs/symbols/Roo.EventObject.html @@ -1105,7 +1105,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:32 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.Fx.html b/docs/symbols/Roo.Fx.html index 840107953f..090554d42e 100644 --- a/docs/symbols/Roo.Fx.html +++ b/docs/symbols/Roo.Fx.html @@ -1909,7 +1909,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:32 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.GridPanel.html b/docs/symbols/Roo.GridPanel.html index 6abf5f8427..786d480b1c 100644 --- a/docs/symbols/Roo.GridPanel.html +++ b/docs/symbols/Roo.GridPanel.html @@ -2568,7 +2568,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:32 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.HtmlEditorCore.html b/docs/symbols/Roo.HtmlEditorCore.html index 9548eff0fa..0c4be58f1c 100644 --- a/docs/symbols/Roo.HtmlEditorCore.html +++ b/docs/symbols/Roo.HtmlEditorCore.html @@ -3612,7 +3612,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:32 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.JsonView.html b/docs/symbols/Roo.JsonView.html index 99bf282148..4c1765c6dd 100644 --- a/docs/symbols/Roo.JsonView.html +++ b/docs/symbols/Roo.JsonView.html @@ -3565,7 +3565,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:32 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.KeyMap.html b/docs/symbols/Roo.KeyMap.html index ea1f40c3f6..f027750b8e 100644 --- a/docs/symbols/Roo.KeyMap.html +++ b/docs/symbols/Roo.KeyMap.html @@ -560,7 +560,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:32 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.KeyNav.html b/docs/symbols/Roo.KeyNav.html index 8ce519efee..5714c86357 100644 --- a/docs/symbols/Roo.KeyNav.html +++ b/docs/symbols/Roo.KeyNav.html @@ -462,7 +462,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:32 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.Layer.html b/docs/symbols/Roo.Layer.html index eab7eb898a..a40796c561 100644 --- a/docs/symbols/Roo.Layer.html +++ b/docs/symbols/Roo.Layer.html @@ -11319,7 +11319,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:32 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.LayoutDialog.html b/docs/symbols/Roo.LayoutDialog.html index 486a2c4b9f..df8762fe2c 100644 --- a/docs/symbols/Roo.LayoutDialog.html +++ b/docs/symbols/Roo.LayoutDialog.html @@ -4143,7 +4143,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:32 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.LayoutManager.html b/docs/symbols/Roo.LayoutManager.html index 6bb42b66db..4a5e319cd1 100644 --- a/docs/symbols/Roo.LayoutManager.html +++ b/docs/symbols/Roo.LayoutManager.html @@ -1504,7 +1504,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:32 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.LayoutRegion.html b/docs/symbols/Roo.LayoutRegion.html index f0206a3e48..e6d5621644 100644 --- a/docs/symbols/Roo.LayoutRegion.html +++ b/docs/symbols/Roo.LayoutRegion.html @@ -3630,7 +3630,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:32 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.LoadMask.html b/docs/symbols/Roo.LoadMask.html index 9342fdb2f3..27eff054ee 100644 --- a/docs/symbols/Roo.LoadMask.html +++ b/docs/symbols/Roo.LoadMask.html @@ -462,7 +462,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:32 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.Login.html b/docs/symbols/Roo.Login.html index 93ffbea16b..ab39c67dec 100644 --- a/docs/symbols/Roo.Login.html +++ b/docs/symbols/Roo.Login.html @@ -4186,7 +4186,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:32 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.MasterTemplate.html b/docs/symbols/Roo.MasterTemplate.html index eefa240712..ce8c29c7bb 100644 --- a/docs/symbols/Roo.MasterTemplate.html +++ b/docs/symbols/Roo.MasterTemplate.html @@ -1402,7 +1402,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:32 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.NestedLayoutPanel.html b/docs/symbols/Roo.NestedLayoutPanel.html index 4f120d4156..b5ddfcce59 100644 --- a/docs/symbols/Roo.NestedLayoutPanel.html +++ b/docs/symbols/Roo.NestedLayoutPanel.html @@ -2568,7 +2568,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:32 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.PagingToolbar.html b/docs/symbols/Roo.PagingToolbar.html index 2b0c706e31..1a33e92f38 100644 --- a/docs/symbols/Roo.PagingToolbar.html +++ b/docs/symbols/Roo.PagingToolbar.html @@ -1685,7 +1685,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:32 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.QuickTips.html b/docs/symbols/Roo.QuickTips.html index d3cc905241..715377a778 100644 --- a/docs/symbols/Roo.QuickTips.html +++ b/docs/symbols/Roo.QuickTips.html @@ -514,7 +514,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:32 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.ReaderLayout.html b/docs/symbols/Roo.ReaderLayout.html index 33200dce24..15cce707e3 100644 --- a/docs/symbols/Roo.ReaderLayout.html +++ b/docs/symbols/Roo.ReaderLayout.html @@ -2156,7 +2156,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:32 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.Resizable.html b/docs/symbols/Roo.Resizable.html index edd8f1f140..76b1700c3f 100644 --- a/docs/symbols/Roo.Resizable.html +++ b/docs/symbols/Roo.Resizable.html @@ -2272,7 +2272,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:32 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.Shadow.html b/docs/symbols/Roo.Shadow.html index 551b09c93d..1de2df79c1 100644 --- a/docs/symbols/Roo.Shadow.html +++ b/docs/symbols/Roo.Shadow.html @@ -627,7 +627,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:32 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.SplitBar.AbsoluteLayoutAdapter.html b/docs/symbols/Roo.SplitBar.AbsoluteLayoutAdapter.html index e9954a21cc..121317a250 100644 --- a/docs/symbols/Roo.SplitBar.AbsoluteLayoutAdapter.html +++ b/docs/symbols/Roo.SplitBar.AbsoluteLayoutAdapter.html @@ -393,7 +393,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:32 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.SplitBar.BasicLayoutAdapter.html b/docs/symbols/Roo.SplitBar.BasicLayoutAdapter.html index ce0057014e..716e760fef 100644 --- a/docs/symbols/Roo.SplitBar.BasicLayoutAdapter.html +++ b/docs/symbols/Roo.SplitBar.BasicLayoutAdapter.html @@ -376,7 +376,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:32 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.SplitBar.html b/docs/symbols/Roo.SplitBar.html index be374fa11e..a257d56f63 100644 --- a/docs/symbols/Roo.SplitBar.html +++ b/docs/symbols/Roo.SplitBar.html @@ -1850,7 +1850,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:32 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.SplitButton.html b/docs/symbols/Roo.SplitButton.html index fa3634da07..d283872a4b 100644 --- a/docs/symbols/Roo.SplitButton.html +++ b/docs/symbols/Roo.SplitButton.html @@ -2915,7 +2915,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:32 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.SplitLayoutRegion.html b/docs/symbols/Roo.SplitLayoutRegion.html index 51d178897c..edd6f5c285 100644 --- a/docs/symbols/Roo.SplitLayoutRegion.html +++ b/docs/symbols/Roo.SplitLayoutRegion.html @@ -3690,7 +3690,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:32 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.TabPanel.html b/docs/symbols/Roo.TabPanel.html index 62354d5e53..9d2cb3bcc6 100644 --- a/docs/symbols/Roo.TabPanel.html +++ b/docs/symbols/Roo.TabPanel.html @@ -2120,7 +2120,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:32 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.TabPanelItem.html b/docs/symbols/Roo.TabPanelItem.html index f80dc210b5..881a264840 100644 --- a/docs/symbols/Roo.TabPanelItem.html +++ b/docs/symbols/Roo.TabPanelItem.html @@ -2063,7 +2063,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:32 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.Template.html b/docs/symbols/Roo.Template.html index fd16375d29..ebab02233f 100644 --- a/docs/symbols/Roo.Template.html +++ b/docs/symbols/Roo.Template.html @@ -1112,7 +1112,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:32 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.Toolbar.Button.html b/docs/symbols/Roo.Toolbar.Button.html index eb963b9a04..351f6e65df 100644 --- a/docs/symbols/Roo.Toolbar.Button.html +++ b/docs/symbols/Roo.Toolbar.Button.html @@ -2707,7 +2707,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:32 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.Toolbar.Fill.html b/docs/symbols/Roo.Toolbar.Fill.html index 1874fa0a6b..98edcd15a8 100644 --- a/docs/symbols/Roo.Toolbar.Fill.html +++ b/docs/symbols/Roo.Toolbar.Fill.html @@ -748,7 +748,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:32 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.Toolbar.Item.html b/docs/symbols/Roo.Toolbar.Item.html index 705c7e77fa..cf80485802 100644 --- a/docs/symbols/Roo.Toolbar.Item.html +++ b/docs/symbols/Roo.Toolbar.Item.html @@ -752,7 +752,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:32 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.Toolbar.Separator.html b/docs/symbols/Roo.Toolbar.Separator.html index 9d66277c74..1576a7bee6 100644 --- a/docs/symbols/Roo.Toolbar.Separator.html +++ b/docs/symbols/Roo.Toolbar.Separator.html @@ -747,7 +747,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:32 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.Toolbar.Spacer.html b/docs/symbols/Roo.Toolbar.Spacer.html index fd8fb81994..405070fe2b 100644 --- a/docs/symbols/Roo.Toolbar.Spacer.html +++ b/docs/symbols/Roo.Toolbar.Spacer.html @@ -754,7 +754,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:32 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.Toolbar.SplitButton.html b/docs/symbols/Roo.Toolbar.SplitButton.html index 828dc07424..ac2724bba0 100644 --- a/docs/symbols/Roo.Toolbar.SplitButton.html +++ b/docs/symbols/Roo.Toolbar.SplitButton.html @@ -2903,7 +2903,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.Toolbar.TextItem.html b/docs/symbols/Roo.Toolbar.TextItem.html index 8f5add06d2..637a17918e 100644 --- a/docs/symbols/Roo.Toolbar.TextItem.html +++ b/docs/symbols/Roo.Toolbar.TextItem.html @@ -758,7 +758,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.Toolbar.html b/docs/symbols/Roo.Toolbar.html index 2058a0c62f..2d3dccfbc8 100644 --- a/docs/symbols/Roo.Toolbar.html +++ b/docs/symbols/Roo.Toolbar.html @@ -1390,7 +1390,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:32 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.TreePanel.html b/docs/symbols/Roo.TreePanel.html index 11917e3e34..a28d8a0ae4 100644 --- a/docs/symbols/Roo.TreePanel.html +++ b/docs/symbols/Roo.TreePanel.html @@ -2529,7 +2529,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.UpdateManager.BasicRenderer.html b/docs/symbols/Roo.UpdateManager.BasicRenderer.html index 7920f82965..087e6d1875 100644 --- a/docs/symbols/Roo.UpdateManager.BasicRenderer.html +++ b/docs/symbols/Roo.UpdateManager.BasicRenderer.html @@ -313,7 +313,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.UpdateManager.defaults.html b/docs/symbols/Roo.UpdateManager.defaults.html index 4081e74021..658277f51a 100644 --- a/docs/symbols/Roo.UpdateManager.defaults.html +++ b/docs/symbols/Roo.UpdateManager.defaults.html @@ -175,7 +175,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.UpdateManager.html b/docs/symbols/Roo.UpdateManager.html index 64728b8b5f..68f471861a 100644 --- a/docs/symbols/Roo.UpdateManager.html +++ b/docs/symbols/Roo.UpdateManager.html @@ -1886,7 +1886,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.View.html b/docs/symbols/Roo.View.html index 755b62b126..7da71dccd6 100644 --- a/docs/symbols/Roo.View.html +++ b/docs/symbols/Roo.View.html @@ -2898,7 +2898,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.ViewPanel.html b/docs/symbols/Roo.ViewPanel.html index 9744d71dbe..4d8ed219c6 100644 --- a/docs/symbols/Roo.ViewPanel.html +++ b/docs/symbols/Roo.ViewPanel.html @@ -2568,7 +2568,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.XComponent#_tree.html b/docs/symbols/Roo.XComponent#_tree.html index c9ac13b89b..b2648e9a37 100644 --- a/docs/symbols/Roo.XComponent#_tree.html +++ b/docs/symbols/Roo.XComponent#_tree.html @@ -175,7 +175,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.XComponent.event.events.html b/docs/symbols/Roo.XComponent.event.events.html index 7394e3a32c..c14a656e96 100644 --- a/docs/symbols/Roo.XComponent.event.events.html +++ b/docs/symbols/Roo.XComponent.event.events.html @@ -175,7 +175,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.XComponent.html b/docs/symbols/Roo.XComponent.html index f71b9f2828..d860f53109 100644 --- a/docs/symbols/Roo.XComponent.html +++ b/docs/symbols/Roo.XComponent.html @@ -1747,7 +1747,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.XTemplate.html b/docs/symbols/Roo.XTemplate.html index 82c9080aff..ad207ca8df 100644 --- a/docs/symbols/Roo.XTemplate.html +++ b/docs/symbols/Roo.XTemplate.html @@ -1104,7 +1104,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.bootstrap.Alert.html b/docs/symbols/Roo.bootstrap.Alert.html index a27f337bb0..0a9c91ef05 100644 --- a/docs/symbols/Roo.bootstrap.Alert.html +++ b/docs/symbols/Roo.bootstrap.Alert.html @@ -2958,7 +2958,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.bootstrap.Body.html b/docs/symbols/Roo.bootstrap.Body.html index c454304641..e0ee570609 100644 --- a/docs/symbols/Roo.bootstrap.Body.html +++ b/docs/symbols/Roo.bootstrap.Body.html @@ -2826,7 +2826,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.bootstrap.Button.html b/docs/symbols/Roo.bootstrap.Button.html index 1e35a6a918..2882563394 100644 --- a/docs/symbols/Roo.bootstrap.Button.html +++ b/docs/symbols/Roo.bootstrap.Button.html @@ -3625,7 +3625,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.bootstrap.ButtonGroup.html b/docs/symbols/Roo.bootstrap.ButtonGroup.html index 63ebc6f23f..0e344d3c9f 100644 --- a/docs/symbols/Roo.bootstrap.ButtonGroup.html +++ b/docs/symbols/Roo.bootstrap.ButtonGroup.html @@ -2991,7 +2991,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.bootstrap.Calendar.html b/docs/symbols/Roo.bootstrap.Calendar.html index db57f46431..ac0b60094f 100644 --- a/docs/symbols/Roo.bootstrap.Calendar.html +++ b/docs/symbols/Roo.bootstrap.Calendar.html @@ -3230,7 +3230,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.bootstrap.CheckBox.html b/docs/symbols/Roo.bootstrap.CheckBox.html index f8498b5369..7ddcde1db8 100644 --- a/docs/symbols/Roo.bootstrap.CheckBox.html +++ b/docs/symbols/Roo.bootstrap.CheckBox.html @@ -5683,7 +5683,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.bootstrap.Column.html b/docs/symbols/Roo.bootstrap.Column.html index b39549c990..70a3ffb02a 100644 --- a/docs/symbols/Roo.bootstrap.Column.html +++ b/docs/symbols/Roo.bootstrap.Column.html @@ -3295,7 +3295,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.bootstrap.ComboBox.html b/docs/symbols/Roo.bootstrap.ComboBox.html index b4ce67b224..43fa85818d 100644 --- a/docs/symbols/Roo.bootstrap.ComboBox.html +++ b/docs/symbols/Roo.bootstrap.ComboBox.html @@ -8153,7 +8153,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.bootstrap.ComboBox2.html b/docs/symbols/Roo.bootstrap.ComboBox2.html index 494167f09f..62b7be6c2b 100644 --- a/docs/symbols/Roo.bootstrap.ComboBox2.html +++ b/docs/symbols/Roo.bootstrap.ComboBox2.html @@ -7900,7 +7900,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.bootstrap.ComboBox_old.html b/docs/symbols/Roo.bootstrap.ComboBox_old.html index 31a352c7c6..3644f7fc80 100644 --- a/docs/symbols/Roo.bootstrap.ComboBox_old.html +++ b/docs/symbols/Roo.bootstrap.ComboBox_old.html @@ -7834,7 +7834,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.bootstrap.Component.html b/docs/symbols/Roo.bootstrap.Component.html index 2f01235ba9..542d364453 100644 --- a/docs/symbols/Roo.bootstrap.Component.html +++ b/docs/symbols/Roo.bootstrap.Component.html @@ -2832,7 +2832,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.bootstrap.Container.html b/docs/symbols/Roo.bootstrap.Container.html index d362a17ddb..c0bc81398b 100644 --- a/docs/symbols/Roo.bootstrap.Container.html +++ b/docs/symbols/Roo.bootstrap.Container.html @@ -3398,7 +3398,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.bootstrap.DateField.html b/docs/symbols/Roo.bootstrap.DateField.html index bd724fbb96..377a272bc0 100644 --- a/docs/symbols/Roo.bootstrap.DateField.html +++ b/docs/symbols/Roo.bootstrap.DateField.html @@ -5789,7 +5789,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.bootstrap.Element.html b/docs/symbols/Roo.bootstrap.Element.html index c8fb6a4f30..0e8837c09e 100644 --- a/docs/symbols/Roo.bootstrap.Element.html +++ b/docs/symbols/Roo.bootstrap.Element.html @@ -3019,7 +3019,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.bootstrap.Form.html b/docs/symbols/Roo.bootstrap.Form.html index a212e80227..0fe68e8083 100644 --- a/docs/symbols/Roo.bootstrap.Form.html +++ b/docs/symbols/Roo.bootstrap.Form.html @@ -4055,7 +4055,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.bootstrap.Graph.html b/docs/symbols/Roo.bootstrap.Graph.html index 17c5e865e5..f8194290e2 100644 --- a/docs/symbols/Roo.bootstrap.Graph.html +++ b/docs/symbols/Roo.bootstrap.Graph.html @@ -3112,7 +3112,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.bootstrap.Header.html b/docs/symbols/Roo.bootstrap.Header.html index e136514a4f..98635e1268 100644 --- a/docs/symbols/Roo.bootstrap.Header.html +++ b/docs/symbols/Roo.bootstrap.Header.html @@ -2892,7 +2892,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.bootstrap.HtmlEditor.html b/docs/symbols/Roo.bootstrap.HtmlEditor.html index ccaba34a2d..244ea53225 100644 --- a/docs/symbols/Roo.bootstrap.HtmlEditor.html +++ b/docs/symbols/Roo.bootstrap.HtmlEditor.html @@ -5980,7 +5980,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.bootstrap.Img.html b/docs/symbols/Roo.bootstrap.Img.html index 7f23124aee..4c51455766 100644 --- a/docs/symbols/Roo.bootstrap.Img.html +++ b/docs/symbols/Roo.bootstrap.Img.html @@ -3211,7 +3211,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.bootstrap.Input.html b/docs/symbols/Roo.bootstrap.Input.html index fd4655da10..b427e78849 100644 --- a/docs/symbols/Roo.bootstrap.Input.html +++ b/docs/symbols/Roo.bootstrap.Input.html @@ -5266,7 +5266,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.bootstrap.LayoutMasonry.html b/docs/symbols/Roo.bootstrap.LayoutMasonry.html index 21982925c5..c6f8d83852 100644 --- a/docs/symbols/Roo.bootstrap.LayoutMasonry.html +++ b/docs/symbols/Roo.bootstrap.LayoutMasonry.html @@ -3090,7 +3090,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.bootstrap.Link.html b/docs/symbols/Roo.bootstrap.Link.html index cb0160cf7d..330fafcae7 100644 --- a/docs/symbols/Roo.bootstrap.Link.html +++ b/docs/symbols/Roo.bootstrap.Link.html @@ -3079,7 +3079,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.bootstrap.LocationPicker.html b/docs/symbols/Roo.bootstrap.LocationPicker.html index 172365d66b..1c85cf20d4 100644 --- a/docs/symbols/Roo.bootstrap.LocationPicker.html +++ b/docs/symbols/Roo.bootstrap.LocationPicker.html @@ -3990,7 +3990,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.bootstrap.Menu.html b/docs/symbols/Roo.bootstrap.Menu.html index 778c3693bf..d36b000043 100644 --- a/docs/symbols/Roo.bootstrap.Menu.html +++ b/docs/symbols/Roo.bootstrap.Menu.html @@ -3256,7 +3256,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.bootstrap.MenuItem.html b/docs/symbols/Roo.bootstrap.MenuItem.html index b2d2ce2104..72d30245f2 100644 --- a/docs/symbols/Roo.bootstrap.MenuItem.html +++ b/docs/symbols/Roo.bootstrap.MenuItem.html @@ -3019,7 +3019,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.bootstrap.MenuMgr.html b/docs/symbols/Roo.bootstrap.MenuMgr.html index 4110f101b1..7e14218328 100644 --- a/docs/symbols/Roo.bootstrap.MenuMgr.html +++ b/docs/symbols/Roo.bootstrap.MenuMgr.html @@ -299,7 +299,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.bootstrap.MenuSeparator.html b/docs/symbols/Roo.bootstrap.MenuSeparator.html index 26fddcb214..bb9df2a517 100644 --- a/docs/symbols/Roo.bootstrap.MenuSeparator.html +++ b/docs/symbols/Roo.bootstrap.MenuSeparator.html @@ -2826,7 +2826,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.bootstrap.MessageBar.html b/docs/symbols/Roo.bootstrap.MessageBar.html index f799a0da2a..b6629c1872 100644 --- a/docs/symbols/Roo.bootstrap.MessageBar.html +++ b/docs/symbols/Roo.bootstrap.MessageBar.html @@ -2991,7 +2991,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.bootstrap.MessageBox.html b/docs/symbols/Roo.bootstrap.MessageBox.html index 06692a1c0c..aa5326210a 100644 --- a/docs/symbols/Roo.bootstrap.MessageBox.html +++ b/docs/symbols/Roo.bootstrap.MessageBox.html @@ -1063,7 +1063,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.bootstrap.Modal.html b/docs/symbols/Roo.bootstrap.Modal.html index f99fcac62f..67b1b13826 100644 --- a/docs/symbols/Roo.bootstrap.Modal.html +++ b/docs/symbols/Roo.bootstrap.Modal.html @@ -3506,7 +3506,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.bootstrap.MonthField.html b/docs/symbols/Roo.bootstrap.MonthField.html index 861c26b15e..7cf1ee87c1 100644 --- a/docs/symbols/Roo.bootstrap.MonthField.html +++ b/docs/symbols/Roo.bootstrap.MonthField.html @@ -5366,7 +5366,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.bootstrap.NavGroup.html b/docs/symbols/Roo.bootstrap.NavGroup.html index 1325472625..8878f16cd4 100644 --- a/docs/symbols/Roo.bootstrap.NavGroup.html +++ b/docs/symbols/Roo.bootstrap.NavGroup.html @@ -3452,7 +3452,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.bootstrap.NavHeaderbar.html b/docs/symbols/Roo.bootstrap.NavHeaderbar.html index 70ef6a86ab..8d400be64d 100644 --- a/docs/symbols/Roo.bootstrap.NavHeaderbar.html +++ b/docs/symbols/Roo.bootstrap.NavHeaderbar.html @@ -3290,7 +3290,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.bootstrap.NavItem.html b/docs/symbols/Roo.bootstrap.NavItem.html index 85feee2a2c..eaa1f7d7c8 100644 --- a/docs/symbols/Roo.bootstrap.NavItem.html +++ b/docs/symbols/Roo.bootstrap.NavItem.html @@ -3412,7 +3412,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.bootstrap.NavSidebar.html b/docs/symbols/Roo.bootstrap.NavSidebar.html index 347683ee6c..53f437a193 100644 --- a/docs/symbols/Roo.bootstrap.NavSidebar.html +++ b/docs/symbols/Roo.bootstrap.NavSidebar.html @@ -2827,7 +2827,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.bootstrap.NavSidebarItem.html b/docs/symbols/Roo.bootstrap.NavSidebarItem.html index 106f161e6d..c76ce86f3b 100644 --- a/docs/symbols/Roo.bootstrap.NavSidebarItem.html +++ b/docs/symbols/Roo.bootstrap.NavSidebarItem.html @@ -3406,7 +3406,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.bootstrap.NavSimplebar.html b/docs/symbols/Roo.bootstrap.NavSimplebar.html index 673fe7f557..cdcc3730dc 100644 --- a/docs/symbols/Roo.bootstrap.NavSimplebar.html +++ b/docs/symbols/Roo.bootstrap.NavSimplebar.html @@ -3065,7 +3065,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.bootstrap.Navbar.html b/docs/symbols/Roo.bootstrap.Navbar.html index 5132f0dfbf..62b44c6b4f 100644 --- a/docs/symbols/Roo.bootstrap.Navbar.html +++ b/docs/symbols/Roo.bootstrap.Navbar.html @@ -2833,7 +2833,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.bootstrap.Pagination.html b/docs/symbols/Roo.bootstrap.Pagination.html index f38e0698ad..c0b82fc276 100644 --- a/docs/symbols/Roo.bootstrap.Pagination.html +++ b/docs/symbols/Roo.bootstrap.Pagination.html @@ -2892,7 +2892,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.bootstrap.PaginationItem.html b/docs/symbols/Roo.bootstrap.PaginationItem.html index 14e08d4cd5..7b0c5c2905 100644 --- a/docs/symbols/Roo.bootstrap.PaginationItem.html +++ b/docs/symbols/Roo.bootstrap.PaginationItem.html @@ -3046,7 +3046,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.bootstrap.PagingToolbar.html b/docs/symbols/Roo.bootstrap.PagingToolbar.html index d162401c1a..1505f6b489 100644 --- a/docs/symbols/Roo.bootstrap.PagingToolbar.html +++ b/docs/symbols/Roo.bootstrap.PagingToolbar.html @@ -590,7 +590,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.bootstrap.Popover.html b/docs/symbols/Roo.bootstrap.Popover.html index 43720e2937..987573d914 100644 --- a/docs/symbols/Roo.bootstrap.Popover.html +++ b/docs/symbols/Roo.bootstrap.Popover.html @@ -3024,7 +3024,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.bootstrap.Progress.html b/docs/symbols/Roo.bootstrap.Progress.html index b59c5c3098..a0a1b1b288 100644 --- a/docs/symbols/Roo.bootstrap.Progress.html +++ b/docs/symbols/Roo.bootstrap.Progress.html @@ -2892,7 +2892,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.bootstrap.ProgressBar.html b/docs/symbols/Roo.bootstrap.ProgressBar.html index e464425d78..6b2436d15a 100644 --- a/docs/symbols/Roo.bootstrap.ProgressBar.html +++ b/docs/symbols/Roo.bootstrap.ProgressBar.html @@ -3057,7 +3057,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.bootstrap.Radio.html b/docs/symbols/Roo.bootstrap.Radio.html index 2acf89d880..58ac1c6cba 100644 --- a/docs/symbols/Roo.bootstrap.Radio.html +++ b/docs/symbols/Roo.bootstrap.Radio.html @@ -5553,7 +5553,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.bootstrap.Row.html b/docs/symbols/Roo.bootstrap.Row.html index 07bb03193a..0c01ebe44d 100644 --- a/docs/symbols/Roo.bootstrap.Row.html +++ b/docs/symbols/Roo.bootstrap.Row.html @@ -2826,7 +2826,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.bootstrap.Slider.html b/docs/symbols/Roo.bootstrap.Slider.html index eed44d69ff..e3432536f4 100644 --- a/docs/symbols/Roo.bootstrap.Slider.html +++ b/docs/symbols/Roo.bootstrap.Slider.html @@ -2826,7 +2826,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.bootstrap.TabGroup.html b/docs/symbols/Roo.bootstrap.TabGroup.html index 55bc1d887a..12de699e1d 100644 --- a/docs/symbols/Roo.bootstrap.TabGroup.html +++ b/docs/symbols/Roo.bootstrap.TabGroup.html @@ -3750,7 +3750,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.bootstrap.TabPanel.html b/docs/symbols/Roo.bootstrap.TabPanel.html index 6e02a3fcac..f7ce094455 100644 --- a/docs/symbols/Roo.bootstrap.TabPanel.html +++ b/docs/symbols/Roo.bootstrap.TabPanel.html @@ -3081,7 +3081,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.bootstrap.Table.AbstractSelectionModel.html b/docs/symbols/Roo.bootstrap.Table.AbstractSelectionModel.html index 50bc60301c..f9a5a57426 100644 --- a/docs/symbols/Roo.bootstrap.Table.AbstractSelectionModel.html +++ b/docs/symbols/Roo.bootstrap.Table.AbstractSelectionModel.html @@ -1046,7 +1046,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.bootstrap.Table.RowSelectionModel.html b/docs/symbols/Roo.bootstrap.Table.RowSelectionModel.html index cc935f48a0..7ee4e8188c 100644 --- a/docs/symbols/Roo.bootstrap.Table.RowSelectionModel.html +++ b/docs/symbols/Roo.bootstrap.Table.RowSelectionModel.html @@ -2566,7 +2566,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.bootstrap.Table.html b/docs/symbols/Roo.bootstrap.Table.html index 768e3b3650..3428ddbf83 100644 --- a/docs/symbols/Roo.bootstrap.Table.html +++ b/docs/symbols/Roo.bootstrap.Table.html @@ -4249,7 +4249,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.bootstrap.TableBody.html b/docs/symbols/Roo.bootstrap.TableBody.html index 107dfcfbe4..e2847091d2 100644 --- a/docs/symbols/Roo.bootstrap.TableBody.html +++ b/docs/symbols/Roo.bootstrap.TableBody.html @@ -2958,7 +2958,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.bootstrap.TableCell.html b/docs/symbols/Roo.bootstrap.TableCell.html index 6be1c4969f..f0ceead466 100644 --- a/docs/symbols/Roo.bootstrap.TableCell.html +++ b/docs/symbols/Roo.bootstrap.TableCell.html @@ -3321,7 +3321,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.bootstrap.TableRow.html b/docs/symbols/Roo.bootstrap.TableRow.html index 26f882fb6b..f944011646 100644 --- a/docs/symbols/Roo.bootstrap.TableRow.html +++ b/docs/symbols/Roo.bootstrap.TableRow.html @@ -2958,7 +2958,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.bootstrap.TextArea.html b/docs/symbols/Roo.bootstrap.TextArea.html index 284fc8cec6..d373a4cae5 100644 --- a/docs/symbols/Roo.bootstrap.TextArea.html +++ b/docs/symbols/Roo.bootstrap.TextArea.html @@ -5432,7 +5432,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.bootstrap.TimeField.html b/docs/symbols/Roo.bootstrap.TimeField.html index d9ca7dc890..df87b93de2 100644 --- a/docs/symbols/Roo.bootstrap.TimeField.html +++ b/docs/symbols/Roo.bootstrap.TimeField.html @@ -5360,7 +5360,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.bootstrap.Tooltip.html b/docs/symbols/Roo.bootstrap.Tooltip.html index 225c445ac0..3128aa784e 100644 --- a/docs/symbols/Roo.bootstrap.Tooltip.html +++ b/docs/symbols/Roo.bootstrap.Tooltip.html @@ -295,7 +295,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.bootstrap.TriggerField.html b/docs/symbols/Roo.bootstrap.TriggerField.html index cc0d33b76c..3fa2621e22 100644 --- a/docs/symbols/Roo.bootstrap.TriggerField.html +++ b/docs/symbols/Roo.bootstrap.TriggerField.html @@ -5512,7 +5512,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.bootstrap.UploadCropbox.html b/docs/symbols/Roo.bootstrap.UploadCropbox.html index 53e204b212..4527ec1571 100644 --- a/docs/symbols/Roo.bootstrap.UploadCropbox.html +++ b/docs/symbols/Roo.bootstrap.UploadCropbox.html @@ -2310,26 +2310,26 @@ - +   - +
- beforeSelectFile (Roo.bootstrap.UploadCropbox this) + beforedestroy (Roo.Component this)
-
Fire before select file +
Fires before the component is destroyed.
- Fire before select file + Fires before the component is destroyed. Return false to stop the destroy. @@ -2339,7 +2339,7 @@
Parameters:
- Roo.bootstrap.UploadCropbox this + Roo.Component this
@@ -2361,7 +2361,7 @@ - Roo.bootstrap.UploadCropbox + Roo.Component @@ -2369,22 +2369,22 @@   - +
- beforedestroy (Roo.Component this) + beforehide (Roo.Component this)
-
Fires before the component is destroyed. +
Fires before the component is hidden.
- Fires before the component is destroyed. Return false to stop the destroy. + Fires before the component is hidden. Return false to stop the hide. @@ -2420,26 +2420,26 @@ - +   - +
- beforehide (Roo.Component this) + beforeloadcanvas (Roo.bootstrap.UploadCropbox this, String src)
-
Fires before the component is hidden. +
Fire before load the canvas
- Fires before the component is hidden. Return false to stop the hide. + Fire before load the canvas @@ -2449,7 +2449,13 @@
Parameters:
- Roo.Component this + Roo.bootstrap.UploadCropbox this + +
+
+ +
+ String src
@@ -2471,30 +2477,30 @@ - Roo.Component + Roo.bootstrap.UploadCropbox - +   - +
- beforeloadimage (Roo.bootstrap.UploadCropbox this, String src) + beforerender (Roo.Component this)
-
Fire before load the image +
Fires before the component is rendered.
- Fire before load the image + Fires before the component is rendered. Return false to stop the render. @@ -2504,13 +2510,7 @@
Parameters:
- Roo.bootstrap.UploadCropbox this - -
-
- -
- String src + Roo.Component this
@@ -2532,30 +2532,30 @@ - Roo.bootstrap.UploadCropbox + Roo.Component - +   - +
- beforerender (Roo.Component this) + beforeselectfile (Roo.bootstrap.UploadCropbox this)
-
Fires before the component is rendered. +
Fire before select file
- Fires before the component is rendered. Return false to stop the render. + Fire before select file @@ -2565,7 +2565,7 @@
Parameters:
- Roo.Component this + Roo.bootstrap.UploadCropbox this
@@ -2587,7 +2587,7 @@ - Roo.Component + Roo.bootstrap.UploadCropbox @@ -2708,7 +2708,7 @@
- crop (Roo.bootstrap.UploadCropbox this, String imageData) + crop (Roo.bootstrap.UploadCropbox this, String data)
@@ -2736,7 +2736,7 @@
- String imageData + String data
@@ -3279,7 +3279,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.bootstrap.dash.NumberBox.html b/docs/symbols/Roo.bootstrap.dash.NumberBox.html index 0d1f9155fd..4caecb99d0 100644 --- a/docs/symbols/Roo.bootstrap.dash.NumberBox.html +++ b/docs/symbols/Roo.bootstrap.dash.NumberBox.html @@ -2991,7 +2991,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.bootstrap.dash.TabBox.html b/docs/symbols/Roo.bootstrap.dash.TabBox.html index e433479c0f..14d0ed1d1c 100644 --- a/docs/symbols/Roo.bootstrap.dash.TabBox.html +++ b/docs/symbols/Roo.bootstrap.dash.TabBox.html @@ -3130,7 +3130,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.bootstrap.dash.TabPane.html b/docs/symbols/Roo.bootstrap.dash.TabPane.html index 11e8d6ddc9..15c4c9be02 100644 --- a/docs/symbols/Roo.bootstrap.dash.TabPane.html +++ b/docs/symbols/Roo.bootstrap.dash.TabPane.html @@ -3009,7 +3009,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.bootstrap.dash.html b/docs/symbols/Roo.bootstrap.dash.html index 74f4c7be28..1adbf38586 100644 --- a/docs/symbols/Roo.bootstrap.dash.html +++ b/docs/symbols/Roo.bootstrap.dash.html @@ -175,7 +175,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.bootstrap.html b/docs/symbols/Roo.bootstrap.html index 761a3cda48..da821b259c 100644 --- a/docs/symbols/Roo.bootstrap.html +++ b/docs/symbols/Roo.bootstrap.html @@ -175,7 +175,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.bootstrap.htmleditor.ToolbarStandard.html b/docs/symbols/Roo.bootstrap.htmleditor.ToolbarStandard.html index 46787b541d..470447d94c 100644 --- a/docs/symbols/Roo.bootstrap.htmleditor.ToolbarStandard.html +++ b/docs/symbols/Roo.bootstrap.htmleditor.ToolbarStandard.html @@ -361,7 +361,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.bootstrap.htmleditor.html b/docs/symbols/Roo.bootstrap.htmleditor.html index d2a15adf28..99525906f0 100644 --- a/docs/symbols/Roo.bootstrap.htmleditor.html +++ b/docs/symbols/Roo.bootstrap.htmleditor.html @@ -175,7 +175,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.bootstrap.menu.Item.html b/docs/symbols/Roo.bootstrap.menu.Item.html index 8516a1c0e4..0da01bd6a0 100644 --- a/docs/symbols/Roo.bootstrap.menu.Item.html +++ b/docs/symbols/Roo.bootstrap.menu.Item.html @@ -3234,7 +3234,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.bootstrap.menu.Menu.html b/docs/symbols/Roo.bootstrap.menu.Menu.html index 9571679840..b8234a2fbb 100644 --- a/docs/symbols/Roo.bootstrap.menu.Menu.html +++ b/docs/symbols/Roo.bootstrap.menu.Menu.html @@ -3019,7 +3019,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.bootstrap.menu.Separator.html b/docs/symbols/Roo.bootstrap.menu.Separator.html index 47647c1543..0a6e81c8c4 100644 --- a/docs/symbols/Roo.bootstrap.menu.Separator.html +++ b/docs/symbols/Roo.bootstrap.menu.Separator.html @@ -2826,7 +2826,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.bootstrap.menu.html b/docs/symbols/Roo.bootstrap.menu.html index c0595c5e7d..75eb1af376 100644 --- a/docs/symbols/Roo.bootstrap.menu.html +++ b/docs/symbols/Roo.bootstrap.menu.html @@ -175,7 +175,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.data.ArrayReader.html b/docs/symbols/Roo.data.ArrayReader.html index d3a18acc9a..b39171f304 100644 --- a/docs/symbols/Roo.data.ArrayReader.html +++ b/docs/symbols/Roo.data.ArrayReader.html @@ -461,7 +461,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.data.Connection.html b/docs/symbols/Roo.data.Connection.html index 11580bcebe..f0150a05e9 100644 --- a/docs/symbols/Roo.data.Connection.html +++ b/docs/symbols/Roo.data.Connection.html @@ -1543,7 +1543,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.data.DataProxy.html b/docs/symbols/Roo.data.DataProxy.html index 13f1a8635a..1a62532e57 100644 --- a/docs/symbols/Roo.data.DataProxy.html +++ b/docs/symbols/Roo.data.DataProxy.html @@ -466,7 +466,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.data.DataReader.html b/docs/symbols/Roo.data.DataReader.html index a4eb80bae8..7d413807ec 100644 --- a/docs/symbols/Roo.data.DataReader.html +++ b/docs/symbols/Roo.data.DataReader.html @@ -317,7 +317,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.data.HttpProxy.html b/docs/symbols/Roo.data.HttpProxy.html index b568c1850f..408f74d970 100644 --- a/docs/symbols/Roo.data.HttpProxy.html +++ b/docs/symbols/Roo.data.HttpProxy.html @@ -864,7 +864,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.data.JsonReader.html b/docs/symbols/Roo.data.JsonReader.html index 0756ad85f4..32ffae6f18 100644 --- a/docs/symbols/Roo.data.JsonReader.html +++ b/docs/symbols/Roo.data.JsonReader.html @@ -670,7 +670,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.data.JsonStore.html b/docs/symbols/Roo.data.JsonStore.html index e07c1e1c80..8fe461ea18 100644 --- a/docs/symbols/Roo.data.JsonStore.html +++ b/docs/symbols/Roo.data.JsonStore.html @@ -3770,7 +3770,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.data.MemoryProxy.html b/docs/symbols/Roo.data.MemoryProxy.html index dfa0e8b9d6..efaf9b3052 100644 --- a/docs/symbols/Roo.data.MemoryProxy.html +++ b/docs/symbols/Roo.data.MemoryProxy.html @@ -330,7 +330,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.data.Node.html b/docs/symbols/Roo.data.Node.html index f3548520de..a87a8472d0 100644 --- a/docs/symbols/Roo.data.Node.html +++ b/docs/symbols/Roo.data.Node.html @@ -3036,7 +3036,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.data.Record.html b/docs/symbols/Roo.data.Record.html index 276cf32c52..1dfaf813e3 100644 --- a/docs/symbols/Roo.data.Record.html +++ b/docs/symbols/Roo.data.Record.html @@ -636,7 +636,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.data.ScriptTagProxy.html b/docs/symbols/Roo.data.ScriptTagProxy.html index 66b0e5e33a..5507a460ed 100644 --- a/docs/symbols/Roo.data.ScriptTagProxy.html +++ b/docs/symbols/Roo.data.ScriptTagProxy.html @@ -524,7 +524,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.data.SimpleStore.html b/docs/symbols/Roo.data.SimpleStore.html index dffbc07501..526f1a49fa 100644 --- a/docs/symbols/Roo.data.SimpleStore.html +++ b/docs/symbols/Roo.data.SimpleStore.html @@ -3803,7 +3803,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.data.SortTypes.html b/docs/symbols/Roo.data.SortTypes.html index 8310f1f0c5..305fbc0819 100644 --- a/docs/symbols/Roo.data.SortTypes.html +++ b/docs/symbols/Roo.data.SortTypes.html @@ -783,7 +783,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.data.Store.html b/docs/symbols/Roo.data.Store.html index 557c3e830b..89750e13c0 100644 --- a/docs/symbols/Roo.data.Store.html +++ b/docs/symbols/Roo.data.Store.html @@ -3743,7 +3743,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.data.Tree.html b/docs/symbols/Roo.data.Tree.html index 14561b50be..95658b437a 100644 --- a/docs/symbols/Roo.data.Tree.html +++ b/docs/symbols/Roo.data.Tree.html @@ -1699,7 +1699,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.data.XmlReader.html b/docs/symbols/Roo.data.XmlReader.html index a7cfaf6a00..406a2fd919 100644 --- a/docs/symbols/Roo.data.XmlReader.html +++ b/docs/symbols/Roo.data.XmlReader.html @@ -637,7 +637,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.data.html b/docs/symbols/Roo.data.html index fded50a987..416f17b744 100644 --- a/docs/symbols/Roo.data.html +++ b/docs/symbols/Roo.data.html @@ -175,7 +175,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.dd.DD.html b/docs/symbols/Roo.dd.DD.html index 6ecce0f4f0..bbb4fc0805 100644 --- a/docs/symbols/Roo.dd.DD.html +++ b/docs/symbols/Roo.dd.DD.html @@ -3892,7 +3892,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.dd.DDProxy.html b/docs/symbols/Roo.dd.DDProxy.html index 4bcfd98eff..34066616d8 100644 --- a/docs/symbols/Roo.dd.DDProxy.html +++ b/docs/symbols/Roo.dd.DDProxy.html @@ -4053,7 +4053,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.dd.DDTarget.html b/docs/symbols/Roo.dd.DDTarget.html index 3442e31424..a2800d7041 100644 --- a/docs/symbols/Roo.dd.DDTarget.html +++ b/docs/symbols/Roo.dd.DDTarget.html @@ -3546,7 +3546,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.dd.DragDrop.html b/docs/symbols/Roo.dd.DragDrop.html index cd41a5eb76..ad01bea900 100644 --- a/docs/symbols/Roo.dd.DragDrop.html +++ b/docs/symbols/Roo.dd.DragDrop.html @@ -3545,7 +3545,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.dd.DragDropMgr.html b/docs/symbols/Roo.dd.DragDropMgr.html index f50faf1d68..1aea4522f0 100644 --- a/docs/symbols/Roo.dd.DragDropMgr.html +++ b/docs/symbols/Roo.dd.DragDropMgr.html @@ -2194,7 +2194,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.dd.DragSource.html b/docs/symbols/Roo.dd.DragSource.html index ee2b3a151f..09563d62a9 100644 --- a/docs/symbols/Roo.dd.DragSource.html +++ b/docs/symbols/Roo.dd.DragSource.html @@ -4893,7 +4893,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.dd.DragZone.html b/docs/symbols/Roo.dd.DragZone.html index a238568885..a37864357f 100644 --- a/docs/symbols/Roo.dd.DragZone.html +++ b/docs/symbols/Roo.dd.DragZone.html @@ -5175,7 +5175,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.dd.DropTarget.html b/docs/symbols/Roo.dd.DropTarget.html index 1abdc802f7..e7d3a03ced 100644 --- a/docs/symbols/Roo.dd.DropTarget.html +++ b/docs/symbols/Roo.dd.DropTarget.html @@ -4223,7 +4223,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.dd.DropZone.html b/docs/symbols/Roo.dd.DropZone.html index 8ed14286bc..9cc6b6efc5 100644 --- a/docs/symbols/Roo.dd.DropZone.html +++ b/docs/symbols/Roo.dd.DropZone.html @@ -4959,7 +4959,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.dd.Registry.html b/docs/symbols/Roo.dd.Registry.html index 6d6c4f30c9..2e3a98ebfc 100644 --- a/docs/symbols/Roo.dd.Registry.html +++ b/docs/symbols/Roo.dd.Registry.html @@ -624,7 +624,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.dd.ScrollManager.html b/docs/symbols/Roo.dd.ScrollManager.html index a919894183..a4aa336133 100644 --- a/docs/symbols/Roo.dd.ScrollManager.html +++ b/docs/symbols/Roo.dd.ScrollManager.html @@ -361,7 +361,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.dd.StatusProxy.html b/docs/symbols/Roo.dd.StatusProxy.html index 91dc2a3c1e..62aa82244e 100644 --- a/docs/symbols/Roo.dd.StatusProxy.html +++ b/docs/symbols/Roo.dd.StatusProxy.html @@ -928,7 +928,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.dd.html b/docs/symbols/Roo.dd.html index 152539ffb5..f10c6b1ffd 100644 --- a/docs/symbols/Roo.dd.html +++ b/docs/symbols/Roo.dd.html @@ -175,7 +175,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.form.Action.html b/docs/symbols/Roo.form.Action.html index d6965d7ce5..608cf09a4d 100644 --- a/docs/symbols/Roo.form.Action.html +++ b/docs/symbols/Roo.form.Action.html @@ -425,7 +425,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.form.BasicForm.html b/docs/symbols/Roo.form.BasicForm.html index c2b630aa71..48bf65e634 100644 --- a/docs/symbols/Roo.form.BasicForm.html +++ b/docs/symbols/Roo.form.BasicForm.html @@ -2831,7 +2831,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.form.Checkbox.html b/docs/symbols/Roo.form.Checkbox.html index 949abfb9f9..32ee685eb2 100644 --- a/docs/symbols/Roo.form.Checkbox.html +++ b/docs/symbols/Roo.form.Checkbox.html @@ -5257,7 +5257,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.form.Column.html b/docs/symbols/Roo.form.Column.html index a0d3d1d9c7..08c9cc241f 100644 --- a/docs/symbols/Roo.form.Column.html +++ b/docs/symbols/Roo.form.Column.html @@ -2680,7 +2680,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.form.ComboBox.html b/docs/symbols/Roo.form.ComboBox.html index 32fc2f93ad..40a0361a0a 100644 --- a/docs/symbols/Roo.form.ComboBox.html +++ b/docs/symbols/Roo.form.ComboBox.html @@ -8081,7 +8081,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.form.ComboBoxArray.Item.html b/docs/symbols/Roo.form.ComboBoxArray.Item.html index 45aedb7b24..891ba6cf08 100644 --- a/docs/symbols/Roo.form.ComboBoxArray.Item.html +++ b/docs/symbols/Roo.form.ComboBoxArray.Item.html @@ -3251,7 +3251,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:34 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.form.ComboBoxArray.html b/docs/symbols/Roo.form.ComboBoxArray.html index f7ef05bb7f..cedc3393c2 100644 --- a/docs/symbols/Roo.form.ComboBoxArray.html +++ b/docs/symbols/Roo.form.ComboBoxArray.html @@ -6058,7 +6058,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:34 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.form.ComboCheck.html b/docs/symbols/Roo.form.ComboCheck.html index d400ae8043..5755c47880 100644 --- a/docs/symbols/Roo.form.ComboCheck.html +++ b/docs/symbols/Roo.form.ComboCheck.html @@ -8075,7 +8075,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:34 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.form.DateField.html b/docs/symbols/Roo.form.DateField.html index 414c6081f5..f928b016b5 100644 --- a/docs/symbols/Roo.form.DateField.html +++ b/docs/symbols/Roo.form.DateField.html @@ -6324,7 +6324,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:34 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.form.DayPicker.html b/docs/symbols/Roo.form.DayPicker.html index 54c2d82087..02134867e9 100644 --- a/docs/symbols/Roo.form.DayPicker.html +++ b/docs/symbols/Roo.form.DayPicker.html @@ -5057,7 +5057,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:34 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.form.DisplayField.html b/docs/symbols/Roo.form.DisplayField.html index cb437d847e..c3af82c3cf 100644 --- a/docs/symbols/Roo.form.DisplayField.html +++ b/docs/symbols/Roo.form.DisplayField.html @@ -5084,7 +5084,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:34 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.form.FCKeditor.html b/docs/symbols/Roo.form.FCKeditor.html index 31f3ec5739..d4dd7773f8 100644 --- a/docs/symbols/Roo.form.FCKeditor.html +++ b/docs/symbols/Roo.form.FCKeditor.html @@ -5998,7 +5998,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:34 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.form.Field.html b/docs/symbols/Roo.form.Field.html index dcef5c66d8..cc40670487 100644 --- a/docs/symbols/Roo.form.Field.html +++ b/docs/symbols/Roo.form.Field.html @@ -5057,7 +5057,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:34 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.form.FieldSet.html b/docs/symbols/Roo.form.FieldSet.html index 0a98b2e5c6..5fa62bbeb0 100644 --- a/docs/symbols/Roo.form.FieldSet.html +++ b/docs/symbols/Roo.form.FieldSet.html @@ -2680,7 +2680,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:34 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.form.Form.html b/docs/symbols/Roo.form.Form.html index 1555a0ffb9..ca79e419a3 100644 --- a/docs/symbols/Roo.form.Form.html +++ b/docs/symbols/Roo.form.Form.html @@ -3968,7 +3968,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:34 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.form.GridField.html b/docs/symbols/Roo.form.GridField.html index ca0febc3d7..f1dac8cf03 100644 --- a/docs/symbols/Roo.form.GridField.html +++ b/docs/symbols/Roo.form.GridField.html @@ -5117,7 +5117,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:34 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.form.Hidden.html b/docs/symbols/Roo.form.Hidden.html index 1961db6cae..35ab5f8bd9 100644 --- a/docs/symbols/Roo.form.Hidden.html +++ b/docs/symbols/Roo.form.Hidden.html @@ -5870,7 +5870,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:34 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.form.HtmlEditor.ToolbarContext.html b/docs/symbols/Roo.form.HtmlEditor.ToolbarContext.html index 20b19713cf..25eb3ab667 100644 --- a/docs/symbols/Roo.form.HtmlEditor.ToolbarContext.html +++ b/docs/symbols/Roo.form.HtmlEditor.ToolbarContext.html @@ -361,7 +361,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:34 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.form.HtmlEditor.ToolbarStandard.html b/docs/symbols/Roo.form.HtmlEditor.ToolbarStandard.html index 52ab0648d7..03b5902f09 100644 --- a/docs/symbols/Roo.form.HtmlEditor.ToolbarStandard.html +++ b/docs/symbols/Roo.form.HtmlEditor.ToolbarStandard.html @@ -493,7 +493,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:34 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.form.HtmlEditor.html b/docs/symbols/Roo.form.HtmlEditor.html index ce09ee59cb..cf40588975 100644 --- a/docs/symbols/Roo.form.HtmlEditor.html +++ b/docs/symbols/Roo.form.HtmlEditor.html @@ -5437,7 +5437,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:34 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.form.Layout.html b/docs/symbols/Roo.form.Layout.html index 7307905a56..34ad9631bf 100644 --- a/docs/symbols/Roo.form.Layout.html +++ b/docs/symbols/Roo.form.Layout.html @@ -2653,7 +2653,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:34 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.form.MonthField.html b/docs/symbols/Roo.form.MonthField.html index 2594b9f96c..8ba37a3b6e 100644 --- a/docs/symbols/Roo.form.MonthField.html +++ b/docs/symbols/Roo.form.MonthField.html @@ -6324,7 +6324,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:34 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.form.NumberField.html b/docs/symbols/Roo.form.NumberField.html index e6903fa905..3c3c96640a 100644 --- a/docs/symbols/Roo.form.NumberField.html +++ b/docs/symbols/Roo.form.NumberField.html @@ -6167,7 +6167,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:34 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.form.Radio.html b/docs/symbols/Roo.form.Radio.html index 2757dd707d..39bae3d0bb 100644 --- a/docs/symbols/Roo.form.Radio.html +++ b/docs/symbols/Roo.form.Radio.html @@ -5317,7 +5317,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:34 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.form.Row.html b/docs/symbols/Roo.form.Row.html index 9881f1da13..2e846c15fb 100644 --- a/docs/symbols/Roo.form.Row.html +++ b/docs/symbols/Roo.form.Row.html @@ -2713,7 +2713,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:34 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.form.Select.html b/docs/symbols/Roo.form.Select.html index 595e8af94e..bb8ecb55ab 100644 --- a/docs/symbols/Roo.form.Select.html +++ b/docs/symbols/Roo.form.Select.html @@ -7719,7 +7719,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:34 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.form.Signature.html b/docs/symbols/Roo.form.Signature.html index fdad35fc8f..95b8e6e0d3 100644 --- a/docs/symbols/Roo.form.Signature.html +++ b/docs/symbols/Roo.form.Signature.html @@ -5559,7 +5559,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:34 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.form.TextArea.html b/docs/symbols/Roo.form.TextArea.html index e70ff9f5ed..da2a2169f1 100644 --- a/docs/symbols/Roo.form.TextArea.html +++ b/docs/symbols/Roo.form.TextArea.html @@ -5910,7 +5910,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:34 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.form.TextField.html b/docs/symbols/Roo.form.TextField.html index 0d362f3c8d..cc750b9a92 100644 --- a/docs/symbols/Roo.form.TextField.html +++ b/docs/symbols/Roo.form.TextField.html @@ -5876,7 +5876,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:34 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.form.TriggerField.html b/docs/symbols/Roo.form.TriggerField.html index d2c3266f05..5fb8ee147c 100644 --- a/docs/symbols/Roo.form.TriggerField.html +++ b/docs/symbols/Roo.form.TriggerField.html @@ -5906,7 +5906,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:34 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.form.VTypes.html b/docs/symbols/Roo.form.VTypes.html index 22090ab6cc..e29d6dfa0b 100644 --- a/docs/symbols/Roo.form.VTypes.html +++ b/docs/symbols/Roo.form.VTypes.html @@ -434,7 +434,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:34 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.form.html b/docs/symbols/Roo.form.html index d7da35dfdc..05c478c4c0 100644 --- a/docs/symbols/Roo.form.html +++ b/docs/symbols/Roo.form.html @@ -175,7 +175,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:33 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.grid.AbstractGridView.html b/docs/symbols/Roo.grid.AbstractGridView.html index ed0e3a107f..ae496074de 100644 --- a/docs/symbols/Roo.grid.AbstractGridView.html +++ b/docs/symbols/Roo.grid.AbstractGridView.html @@ -175,7 +175,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:34 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.grid.AbstractSelectionModel.html b/docs/symbols/Roo.grid.AbstractSelectionModel.html index 3d5df5ba69..311bd1c7cb 100644 --- a/docs/symbols/Roo.grid.AbstractSelectionModel.html +++ b/docs/symbols/Roo.grid.AbstractSelectionModel.html @@ -1046,7 +1046,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:34 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.grid.Calendar.html b/docs/symbols/Roo.grid.Calendar.html index 3adcd2accb..5c7bcd82f9 100644 --- a/docs/symbols/Roo.grid.Calendar.html +++ b/docs/symbols/Roo.grid.Calendar.html @@ -2594,7 +2594,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:34 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.grid.CellSelectionModel.html b/docs/symbols/Roo.grid.CellSelectionModel.html index faeb074a60..43995eae02 100644 --- a/docs/symbols/Roo.grid.CellSelectionModel.html +++ b/docs/symbols/Roo.grid.CellSelectionModel.html @@ -1731,7 +1731,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:34 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.grid.ColumnModel.html b/docs/symbols/Roo.grid.ColumnModel.html index d089160b71..7268bdfa9a 100644 --- a/docs/symbols/Roo.grid.ColumnModel.html +++ b/docs/symbols/Roo.grid.ColumnModel.html @@ -3635,7 +3635,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:34 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.grid.EditorGrid.html b/docs/symbols/Roo.grid.EditorGrid.html index e63a5ead1c..bbd89e7847 100644 --- a/docs/symbols/Roo.grid.EditorGrid.html +++ b/docs/symbols/Roo.grid.EditorGrid.html @@ -4443,7 +4443,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:34 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.grid.Grid.html b/docs/symbols/Roo.grid.Grid.html index 07f22d97bb..f150d44b25 100644 --- a/docs/symbols/Roo.grid.Grid.html +++ b/docs/symbols/Roo.grid.Grid.html @@ -4119,7 +4119,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:34 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.grid.GridEditor.html b/docs/symbols/Roo.grid.GridEditor.html index c68c04cf7c..2290ed6697 100644 --- a/docs/symbols/Roo.grid.GridEditor.html +++ b/docs/symbols/Roo.grid.GridEditor.html @@ -3512,7 +3512,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:34 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.grid.GridView.html b/docs/symbols/Roo.grid.GridView.html index 565c39e7a6..d1b2e389c3 100644 --- a/docs/symbols/Roo.grid.GridView.html +++ b/docs/symbols/Roo.grid.GridView.html @@ -1623,7 +1623,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:34 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.grid.PropertyGrid.html b/docs/symbols/Roo.grid.PropertyGrid.html index 1d47ac26f0..6b41290bfe 100644 --- a/docs/symbols/Roo.grid.PropertyGrid.html +++ b/docs/symbols/Roo.grid.PropertyGrid.html @@ -4771,7 +4771,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:34 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.grid.RowSelectionModel.html b/docs/symbols/Roo.grid.RowSelectionModel.html index e9b33e73f3..4df0925a7c 100644 --- a/docs/symbols/Roo.grid.RowSelectionModel.html +++ b/docs/symbols/Roo.grid.RowSelectionModel.html @@ -2566,7 +2566,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:34 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.grid.html b/docs/symbols/Roo.grid.html index 392354e53e..827087756c 100644 --- a/docs/symbols/Roo.grid.html +++ b/docs/symbols/Roo.grid.html @@ -175,7 +175,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:34 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.html b/docs/symbols/Roo.html index c16e48307c..f5afec0971 100644 --- a/docs/symbols/Roo.html +++ b/docs/symbols/Roo.html @@ -3095,7 +3095,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:32 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:28 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.lib.Ajax.html b/docs/symbols/Roo.lib.Ajax.html index 4a5078786e..365e377b39 100644 --- a/docs/symbols/Roo.lib.Ajax.html +++ b/docs/symbols/Roo.lib.Ajax.html @@ -284,7 +284,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:34 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.lib.Dom.html b/docs/symbols/Roo.lib.Dom.html index 4801fb940d..2db52d11c1 100644 --- a/docs/symbols/Roo.lib.Dom.html +++ b/docs/symbols/Roo.lib.Dom.html @@ -175,7 +175,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:34 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.lib.html b/docs/symbols/Roo.lib.html index 7f16d5aa76..12f159f1af 100644 --- a/docs/symbols/Roo.lib.html +++ b/docs/symbols/Roo.lib.html @@ -175,7 +175,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:34 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.mailer.Block.html b/docs/symbols/Roo.mailer.Block.html index 08d41ee141..7439a46bed 100644 --- a/docs/symbols/Roo.mailer.Block.html +++ b/docs/symbols/Roo.mailer.Block.html @@ -2892,7 +2892,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:34 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.mailer.BodyContainer.html b/docs/symbols/Roo.mailer.BodyContainer.html index 93beed2f99..a8331aa201 100644 --- a/docs/symbols/Roo.mailer.BodyContainer.html +++ b/docs/symbols/Roo.mailer.BodyContainer.html @@ -2826,7 +2826,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:34 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.mailer.Column.html b/docs/symbols/Roo.mailer.Column.html index aa65a55c1b..2d2e521e13 100644 --- a/docs/symbols/Roo.mailer.Column.html +++ b/docs/symbols/Roo.mailer.Column.html @@ -2958,7 +2958,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:34 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.mailer.html b/docs/symbols/Roo.mailer.html index 966b549bb6..e9fb9a5ff0 100644 --- a/docs/symbols/Roo.mailer.html +++ b/docs/symbols/Roo.mailer.html @@ -175,7 +175,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:34 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.menu.Adapter.html b/docs/symbols/Roo.menu.Adapter.html index 61466f06d8..d9da28590a 100644 --- a/docs/symbols/Roo.menu.Adapter.html +++ b/docs/symbols/Roo.menu.Adapter.html @@ -2730,7 +2730,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:34 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.menu.BaseItem.html b/docs/symbols/Roo.menu.BaseItem.html index 30c94c72c4..408cdbece5 100644 --- a/docs/symbols/Roo.menu.BaseItem.html +++ b/docs/symbols/Roo.menu.BaseItem.html @@ -2729,7 +2729,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:34 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.menu.CheckItem.html b/docs/symbols/Roo.menu.CheckItem.html index 786621e8a6..27d127d4bd 100644 --- a/docs/symbols/Roo.menu.CheckItem.html +++ b/docs/symbols/Roo.menu.CheckItem.html @@ -3246,7 +3246,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:34 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.menu.ColorItem.html b/docs/symbols/Roo.menu.ColorItem.html index 6245aaf6cd..f7e143fe59 100644 --- a/docs/symbols/Roo.menu.ColorItem.html +++ b/docs/symbols/Roo.menu.ColorItem.html @@ -2724,7 +2724,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:34 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.menu.ColorMenu.html b/docs/symbols/Roo.menu.ColorMenu.html index ce8dea70fb..3bc64d68f4 100644 --- a/docs/symbols/Roo.menu.ColorMenu.html +++ b/docs/symbols/Roo.menu.ColorMenu.html @@ -2604,7 +2604,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:34 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.menu.DateItem.html b/docs/symbols/Roo.menu.DateItem.html index 6e5bdfb9b8..9cf12803a1 100644 --- a/docs/symbols/Roo.menu.DateItem.html +++ b/docs/symbols/Roo.menu.DateItem.html @@ -2724,7 +2724,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:34 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.menu.DateMenu.html b/docs/symbols/Roo.menu.DateMenu.html index 3292b3f891..2e04a222ab 100644 --- a/docs/symbols/Roo.menu.DateMenu.html +++ b/docs/symbols/Roo.menu.DateMenu.html @@ -2604,7 +2604,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:34 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.menu.Item.html b/docs/symbols/Roo.menu.Item.html index f1a080a20c..f3913de283 100644 --- a/docs/symbols/Roo.menu.Item.html +++ b/docs/symbols/Roo.menu.Item.html @@ -2963,7 +2963,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:34 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.menu.Menu.html b/docs/symbols/Roo.menu.Menu.html index 993ab89f65..c3ad961ff4 100644 --- a/docs/symbols/Roo.menu.Menu.html +++ b/docs/symbols/Roo.menu.Menu.html @@ -2549,7 +2549,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:34 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.menu.MenuMgr.html b/docs/symbols/Roo.menu.MenuMgr.html index e001b55760..887bced443 100644 --- a/docs/symbols/Roo.menu.MenuMgr.html +++ b/docs/symbols/Roo.menu.MenuMgr.html @@ -299,7 +299,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:34 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:30 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.menu.Separator.html b/docs/symbols/Roo.menu.Separator.html index f42e46b7bb..3836f30c9b 100644 --- a/docs/symbols/Roo.menu.Separator.html +++ b/docs/symbols/Roo.menu.Separator.html @@ -2756,7 +2756,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:34 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:30 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.menu.TextItem.html b/docs/symbols/Roo.menu.TextItem.html index 5ecf46e69a..7abe329b43 100644 --- a/docs/symbols/Roo.menu.TextItem.html +++ b/docs/symbols/Roo.menu.TextItem.html @@ -2789,7 +2789,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:34 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:30 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.menu.html b/docs/symbols/Roo.menu.html index b0d8d28d7d..a5f29a0f88 100644 --- a/docs/symbols/Roo.menu.html +++ b/docs/symbols/Roo.menu.html @@ -175,7 +175,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:34 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:29 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.state.CookieProvider.html b/docs/symbols/Roo.state.CookieProvider.html index 4fba811621..d272ad84ad 100644 --- a/docs/symbols/Roo.state.CookieProvider.html +++ b/docs/symbols/Roo.state.CookieProvider.html @@ -846,7 +846,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:34 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:30 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.state.Manager.html b/docs/symbols/Roo.state.Manager.html index ac73e0fc6b..d950f7dd3a 100644 --- a/docs/symbols/Roo.state.Manager.html +++ b/docs/symbols/Roo.state.Manager.html @@ -527,7 +527,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:34 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:30 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.state.Provider.html b/docs/symbols/Roo.state.Provider.html index 7c7e3458a6..46c2d7e6e6 100644 --- a/docs/symbols/Roo.state.Provider.html +++ b/docs/symbols/Roo.state.Provider.html @@ -686,7 +686,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:34 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:30 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.state.html b/docs/symbols/Roo.state.html index b0960121a9..0169197d58 100644 --- a/docs/symbols/Roo.state.html +++ b/docs/symbols/Roo.state.html @@ -175,7 +175,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:34 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:30 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.tree.AsyncTreeNode.html b/docs/symbols/Roo.tree.AsyncTreeNode.html index cbcb28647b..ee86c3be00 100644 --- a/docs/symbols/Roo.tree.AsyncTreeNode.html +++ b/docs/symbols/Roo.tree.AsyncTreeNode.html @@ -5427,7 +5427,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:34 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:30 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.tree.ColumnTree.html b/docs/symbols/Roo.tree.ColumnTree.html index 0225c1e663..a4f24d7a79 100644 --- a/docs/symbols/Roo.tree.ColumnTree.html +++ b/docs/symbols/Roo.tree.ColumnTree.html @@ -413,7 +413,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:34 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:30 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.tree.DefaultSelectionModel.html b/docs/symbols/Roo.tree.DefaultSelectionModel.html index 9df55d0fe1..d36a462086 100644 --- a/docs/symbols/Roo.tree.DefaultSelectionModel.html +++ b/docs/symbols/Roo.tree.DefaultSelectionModel.html @@ -1487,7 +1487,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:34 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:30 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.tree.MultiSelectionModel.html b/docs/symbols/Roo.tree.MultiSelectionModel.html index a934809911..bf5c543479 100644 --- a/docs/symbols/Roo.tree.MultiSelectionModel.html +++ b/docs/symbols/Roo.tree.MultiSelectionModel.html @@ -1300,7 +1300,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:34 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:30 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.tree.TreeEditor.html b/docs/symbols/Roo.tree.TreeEditor.html index 258b53c4ef..21282ee42a 100644 --- a/docs/symbols/Roo.tree.TreeEditor.html +++ b/docs/symbols/Roo.tree.TreeEditor.html @@ -3711,7 +3711,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:34 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:30 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.tree.TreeFilter.html b/docs/symbols/Roo.tree.TreeFilter.html index 95e1737355..83877dc32c 100644 --- a/docs/symbols/Roo.tree.TreeFilter.html +++ b/docs/symbols/Roo.tree.TreeFilter.html @@ -443,7 +443,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:34 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:30 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.tree.TreeLoader.html b/docs/symbols/Roo.tree.TreeLoader.html index f6ea089895..3ae226265f 100644 --- a/docs/symbols/Roo.tree.TreeLoader.html +++ b/docs/symbols/Roo.tree.TreeLoader.html @@ -1488,7 +1488,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:34 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:30 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.tree.TreeNode.html b/docs/symbols/Roo.tree.TreeNode.html index 229e1a0c99..940c3e9bf7 100644 --- a/docs/symbols/Roo.tree.TreeNode.html +++ b/docs/symbols/Roo.tree.TreeNode.html @@ -5096,7 +5096,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:34 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:30 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.tree.TreeNodeUI.html b/docs/symbols/Roo.tree.TreeNodeUI.html index 4c651f56cf..c19211b141 100644 --- a/docs/symbols/Roo.tree.TreeNodeUI.html +++ b/docs/symbols/Roo.tree.TreeNodeUI.html @@ -244,7 +244,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:34 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:30 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.tree.TreePanel.html b/docs/symbols/Roo.tree.TreePanel.html index 2abbf5e4c4..29f7dee28f 100644 --- a/docs/symbols/Roo.tree.TreePanel.html +++ b/docs/symbols/Roo.tree.TreePanel.html @@ -4143,7 +4143,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:34 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:30 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.tree.TreeSorter.html b/docs/symbols/Roo.tree.TreeSorter.html index 71b27621dc..ada8d99742 100644 --- a/docs/symbols/Roo.tree.TreeSorter.html +++ b/docs/symbols/Roo.tree.TreeSorter.html @@ -459,7 +459,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:34 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:30 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.tree.html b/docs/symbols/Roo.tree.html index 8dc16b3a49..0ddb8853ca 100644 --- a/docs/symbols/Roo.tree.html +++ b/docs/symbols/Roo.tree.html @@ -175,7 +175,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:34 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:30 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.util.CSS.html b/docs/symbols/Roo.util.CSS.html index 58b9dfae08..16acca8dc9 100644 --- a/docs/symbols/Roo.util.CSS.html +++ b/docs/symbols/Roo.util.CSS.html @@ -714,7 +714,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:34 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:30 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.util.ClickRepeater.html b/docs/symbols/Roo.util.ClickRepeater.html index 385cc2fad3..c048a27cc2 100644 --- a/docs/symbols/Roo.util.ClickRepeater.html +++ b/docs/symbols/Roo.util.ClickRepeater.html @@ -1296,7 +1296,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:34 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:30 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.util.DelayedTask.html b/docs/symbols/Roo.util.DelayedTask.html index e85f4d9e8c..0fb5886295 100644 --- a/docs/symbols/Roo.util.DelayedTask.html +++ b/docs/symbols/Roo.util.DelayedTask.html @@ -256,7 +256,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:34 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:30 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.util.Format.html b/docs/symbols/Roo.util.Format.html index 9500f44eee..b1af5fd9f2 100644 --- a/docs/symbols/Roo.util.Format.html +++ b/docs/symbols/Roo.util.Format.html @@ -1377,7 +1377,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:34 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:30 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.util.JSON.html b/docs/symbols/Roo.util.JSON.html index c36b2a187a..4c82e40f6a 100644 --- a/docs/symbols/Roo.util.JSON.html +++ b/docs/symbols/Roo.util.JSON.html @@ -175,7 +175,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:34 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:30 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.util.Math.html b/docs/symbols/Roo.util.Math.html index c59a48ac73..24d8de6d0c 100644 --- a/docs/symbols/Roo.util.Math.html +++ b/docs/symbols/Roo.util.Math.html @@ -1203,7 +1203,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:34 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:30 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.util.MixedCollection.html b/docs/symbols/Roo.util.MixedCollection.html index 2cd1e20d1a..1497ca7a99 100644 --- a/docs/symbols/Roo.util.MixedCollection.html +++ b/docs/symbols/Roo.util.MixedCollection.html @@ -3269,7 +3269,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:34 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:30 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.util.Observable.html b/docs/symbols/Roo.util.Observable.html index 79e39716ad..01bc572ab0 100644 --- a/docs/symbols/Roo.util.Observable.html +++ b/docs/symbols/Roo.util.Observable.html @@ -1012,7 +1012,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:34 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:30 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.util.TextMetrics.Instance.html b/docs/symbols/Roo.util.TextMetrics.Instance.html index b05504e73b..36905d56b4 100644 --- a/docs/symbols/Roo.util.TextMetrics.Instance.html +++ b/docs/symbols/Roo.util.TextMetrics.Instance.html @@ -175,7 +175,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:34 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:30 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.util.TextMetrics.html b/docs/symbols/Roo.util.TextMetrics.html index 5101d54929..59d732d801 100644 --- a/docs/symbols/Roo.util.TextMetrics.html +++ b/docs/symbols/Roo.util.TextMetrics.html @@ -358,7 +358,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:34 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:30 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/Roo.util.html b/docs/symbols/Roo.util.html index 1d15645805..fd61b10728 100644 --- a/docs/symbols/Roo.util.html +++ b/docs/symbols/Roo.util.html @@ -175,7 +175,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:34 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:30 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/String.html b/docs/symbols/String.html index 8bc9562b63..da8d752c69 100644 --- a/docs/symbols/String.html +++ b/docs/symbols/String.html @@ -520,7 +520,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:34 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:30 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/_calls.html b/docs/symbols/_calls.html index 9de028be83..10b998bae3 100644 --- a/docs/symbols/_calls.html +++ b/docs/symbols/_calls.html @@ -2824,7 +2824,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:34 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:30 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/docs/symbols/src/Roo_bootstrap_UploadCropbox.js.html b/docs/symbols/src/Roo_bootstrap_UploadCropbox.js.html index 87fa27db57..89bf7fb766 100644 --- a/docs/symbols/src/Roo_bootstrap_UploadCropbox.js.html +++ b/docs/symbols/src/Roo_bootstrap_UploadCropbox.js.html @@ -21,7 +21,7 @@ this.addEvents({ /** - * @event beforeSelectFile + * @event beforeselectfile * Fire before select file * @param {Roo.bootstrap.UploadCropbox} this */ @@ -36,7 +36,7 @@ * @event crop * Fire after initEvent * @param {Roo.bootstrap.UploadCropbox} this - * @param {String} imageData + * @param {String} data */ "crop" : true, /** @@ -54,12 +54,12 @@ */ "exception" : true, /** - * @event beforeloadimage - * Fire before load the image + * @event beforeloadcanvas + * Fire before load the canvas * @param {Roo.bootstrap.UploadCropbox} this * @param {String} src */ - "beforeloadimage" : true + "beforeloadcanvas" : true }); }; @@ -74,12 +74,13 @@ pinching : false, mouseX : 0, mouseY : 0, - cropImageData : false, + cropData : false, minWidth : 300, minHeight : 300, file : false, exif : {}, baseRotate : 1, + cropType : 'image/jpeg', getAutoCreate : function() { @@ -89,18 +90,12 @@ cn : [ { tag : 'div', - cls : 'roo-upload-cropbox-image-section', + cls : 'roo-upload-cropbox-body', cn : [ { tag : 'div', - cls : 'roo-upload-cropbox-canvas', - cn : [ - { - tag : 'img', - cls : 'roo-upload-cropbox-image' - } - ] - }, + cls : 'roo-upload-cropbox-preview' + }, { tag : 'div', cls : 'roo-upload-cropbox-thumb' @@ -114,7 +109,7 @@ }, { tag : 'div', - cls : 'roo-upload-cropbox-footer-section', + cls : 'roo-upload-cropbox-footer', cn : { tag : 'div', cls : 'btn-group btn-group-justified roo-upload-cropbox-btn-group', @@ -163,25 +158,27 @@ initEvents : function() { - this.imageSection = this.el.select('.roo-upload-cropbox-image-section', true).first(); - this.imageSection.setVisibilityMode(Roo.Element.DISPLAY).originalDisplay = 'block'; - - this.imageCanvas = this.el.select('.roo-upload-cropbox-canvas', true).first(); - this.imageCanvas.setVisibilityMode(Roo.Element.DISPLAY).originalDisplay = 'block'; + this.urlAPI = (window.createObjectURL && window) || + (window.URL && URL.revokeObjectURL && URL) || + (window.webkitURL && webkitURL); + + this.bodyEl = this.el.select('.roo-upload-cropbox-body', true).first(); + this.bodyEl.setVisibilityMode(Roo.Element.DISPLAY).originalDisplay = 'block'; + this.bodyHasOnClickEvent = false; - this.image = this.el.select('.roo-upload-cropbox-image', true).first(); - this.image.setVisibilityMode(Roo.Element.DISPLAY).originalDisplay = 'block'; + this.previewEl = this.el.select('.roo-upload-cropbox-preview', true).first(); + this.previewEl.setVisibilityMode(Roo.Element.DISPLAY).originalDisplay = 'block'; - this.thumb = this.el.select('.roo-upload-cropbox-thumb', true).first(); - this.thumb.setVisibilityMode(Roo.Element.DISPLAY).originalDisplay = 'block'; - this.thumb.hide(); + this.thumbEl = this.el.select('.roo-upload-cropbox-thumb', true).first(); + this.thumbEl.setVisibilityMode(Roo.Element.DISPLAY).originalDisplay = 'block'; + this.thumbEl.hide(); - this.emptyNotify = this.el.select('.roo-upload-cropbox-empty-notify', true).first(); - this.emptyNotify.setVisibilityMode(Roo.Element.DISPLAY).originalDisplay = 'block'; + this.notifyEl = this.el.select('.roo-upload-cropbox-empty-notify', true).first(); + this.notifyEl.setVisibilityMode(Roo.Element.DISPLAY).originalDisplay = 'block'; - this.footerSection = this.el.select('.roo-upload-cropbox-footer-section', true).first(); - this.footerSection.setVisibilityMode(Roo.Element.DISPLAY).originalDisplay = 'block'; - this.footerSection.hide(); + this.footerEl = this.el.select('.roo-upload-cropbox-footer', true).first(); + this.footerEl.setVisibilityMode(Roo.Element.DISPLAY).originalDisplay = 'block'; + this.footerEl.hide(); this.rotateLeft = this.el.select('.roo-upload-cropbox-rotate-left', true).first(); this.rotateLeft.setVisibilityMode(Roo.Element.DISPLAY).originalDisplay = 'block'; @@ -192,7 +189,7 @@ this.rotateRight = this.el.select('.roo-upload-cropbox-rotate-right', true).first(); this.rotateRight.setVisibilityMode(Roo.Element.DISPLAY).originalDisplay = 'block'; - this.calcThumbBoxSize(); + this.setThumbBoxSize(); this.bind(); @@ -201,24 +198,22 @@ bind : function() { - this.image.on('load', this.onLoadCanvasImage, this); - - if(!this.imageSectionHasOnClickEvent){ - this.imageSection.on('click', this.beforeSelectFile, this); - this.imageSectionHasOnClickEvent = true; + if(!this.bodyHasOnClickEvent){ + this.bodyEl.on('click', this.beforeSelectFile, this); + this.bodyHasOnClickEvent = true; } if(Roo.isTouch){ - this.imageSection.on('touchstart', this.onTouchStart, this); - this.imageSection.on('touchmove', this.onTouchMove, this); - this.imageSection.on('touchend', this.onTouchEnd, this); + this.bodyEl.on('touchstart', this.onTouchStart, this); + this.bodyEl.on('touchmove', this.onTouchMove, this); + this.bodyEl.on('touchend', this.onTouchEnd, this); } if(!Roo.isTouch){ - this.imageSection.on('mousedown', this.onMouseDown, this); - this.imageSection.on('mousemove', this.onMouseMove, this); + this.bodyEl.on('mousedown', this.onMouseDown, this); + this.bodyEl.on('mousemove', this.onMouseMove, this); var mousewheel = (/Firefox/i.test(navigator.userAgent))? 'DOMMouseScroll' : 'mousewheel'; - this.imageSection.on(mousewheel, this.onMouseWheel, this); + this.bodyEl.on(mousewheel, this.onMouseWheel, this); Roo.get(document).on('mouseup', this.onMouseUp, this); } @@ -235,20 +230,12 @@ this.scale = 0; this.baseScale = 1; this.rotate = 0; + this.baseRotate = 1; this.dragable = false; this.pinching = false; this.mouseX = 0; this.mouseY = 0; - this.cropImageData = false; - - this.imageCanvas.dom.removeAttribute('style'); - this.image.dom.removeAttribute('style'); - this.image.attr('src', ''); - - if(!this.imageSectionHasOnClickEvent){ - this.imageSection.on('click', this.beforeSelectFile, this); - this.imageSectionHasOnClickEvent = true; - } + this.cropData = false; }, @@ -259,47 +246,51 @@ this.fireEvent('beforeselectfile', this); }, - loadCanvasImage : function(src) + loadCanvas : function(src) { - if(this.fireEvent('beforeloadimage', this, src) != false){ + if(this.fireEvent('beforeloadcanvas', this, src) != false){ + this.reset(); - this.image.attr('src', src); + + this.imageEl = document.createElement('img'); + + var _this = this; + + this.imageEl.addEventListener("load", function(){ _this.onLoadCanvas(); }); + + this.imageEl.src = src; } }, - onLoadCanvasImage : function(src) + onLoadCanvas : function() { - this.emptyNotify.hide(); - this.thumb.show(); - this.footerSection.show(); - - this.placeThumbBox(); - - this.Orientation(); - - if(this.imageSectionHasOnClickEvent){ - this.imageSection.un('click', this.beforeSelectFile, this); - this.imageSectionHasOnClickEvent = false; + if(this.bodyHasOnClickEvent){ + this.bodyEl.un('click', this.beforeSelectFile, this); + this.bodyHasOnClickEvent = false; } - this.image.OriginWidth = this.image.getWidth(); - this.image.OriginHeight = this.image.getHeight(); + this.notifyEl.hide(); + this.thumbEl.show(); + this.footerEl.show(); - this.fitThumbBox(); + this.imageEl.OriginWidth = this.imageEl.naturalWidth || this.imageEl.width; + this.imageEl.OriginHeight = this.imageEl.naturalHeight || this.imageEl.height; - this.image.setWidth(Math.ceil(this.image.OriginWidth * this.getScaleLevel(false))); - this.image.setHeight(Math.ceil(this.image.OriginHeight * this.getScaleLevel(false))); + this.setThumbBoxPosition(); + this.baseRotateLevel(); + this.baseScaleLevel(); + + this.draw(); - this.setCanvasPosition(); }, setCanvasPosition : function() { - var pw = Math.ceil((this.imageSection.getWidth() - this.image.getWidth()) / 2); - var ph = Math.ceil((this.imageSection.getHeight() - this.image.getHeight()) / 2); + var pw = Math.ceil((this.bodyEl.getWidth() - this.canvasEl.width) / 2); + var ph = Math.ceil((this.bodyEl.getHeight() - this.canvasEl.height) / 2); - this.imageCanvas.setLeft(pw); - this.imageCanvas.setTop(ph); + this.previewEl.setLeft(pw); + this.previewEl.setTop(ph); }, onMouseDown : function(e) @@ -322,19 +313,11 @@ return; } - var minX = Math.ceil(this.thumb.getLeft(true)); - var minY = Math.ceil(this.thumb.getTop(true)); + var minX = Math.ceil(this.thumbEl.getLeft(true)); + var minY = Math.ceil(this.thumbEl.getTop(true)); - var maxX = Math.ceil(minX + this.thumb.getWidth() - this.image.getWidth()); - var maxY = Math.ceil(minY + this.thumb.getHeight() - this.image.getHeight()); - - if(this.rotate == 90 || this.rotate == 270){ - minX = Math.ceil(this.thumb.getLeft(true) - (this.image.getWidth() - this.image.getHeight()) / 2); - minY = Math.ceil(this.thumb.getTop(true) + (this.image.getWidth() - this.image.getHeight()) / 2); - - maxX = Math.ceil(minX + this.thumb.getWidth() - this.image.getHeight()); - maxY = Math.ceil(minY + this.thumb.getHeight() - this.image.getWidth()); - } + var maxX = Math.ceil(minX + this.thumbEl.getWidth() - this.canvasEl.width); + var maxY = Math.ceil(minY + this.thumbEl.getHeight() - this.canvasEl.height); var x = Roo.isTouch ? e.browserEvent.touches[0].pageX : e.getPageX(); var y = Roo.isTouch ? e.browserEvent.touches[0].pageY : e.getPageY(); @@ -342,14 +325,14 @@ x = x - this.mouseX; y = y - this.mouseY; - var bgX = Math.ceil(x + this.imageCanvas.getLeft(true)); - var bgY = Math.ceil(y + this.imageCanvas.getTop(true)); + var bgX = Math.ceil(x + this.previewEl.getLeft(true)); + var bgY = Math.ceil(y + this.previewEl.getTop(true)); bgX = (minX < bgX) ? minX : ((maxX > bgX) ? maxX : bgX); bgY = (minY < bgY) ? minY : ((maxY > bgY) ? maxY : bgY); - this.imageCanvas.setLeft(bgX); - this.imageCanvas.setTop(bgY); + this.previewEl.setLeft(bgX); + this.previewEl.setTop(bgY); this.mouseX = Roo.isTouch ? e.browserEvent.touches[0].pageX : e.getPageX(); this.mouseY = Roo.isTouch ? e.browserEvent.touches[0].pageY : e.getPageY(); @@ -368,18 +351,18 @@ this.scale = (e.getWheelDelta() == 1) ? (this.scale + 1) : (this.scale - 1); - var width = Math.ceil(this.image.OriginWidth * this.getScaleLevel(false)); - var height = Math.ceil(this.image.OriginHeight * this.getScaleLevel(false)); + var width = Math.ceil(this.imageEl.OriginWidth * this.getScaleLevel()); + var height = Math.ceil(this.imageEl.OriginHeight * this.getScaleLevel()); if( e.getWheelDelta() == -1 && ( ( - (this.rotate == 0 || this.rotate == 180) && (width < this.thumb.getWidth() || height < this.thumb.getHeight()) + (this.rotate == 0 || this.rotate == 180) && (width < this.thumbEl.getWidth() || height < this.thumbEl.getHeight()) ) || ( - (this.rotate == 90 || this.rotate == 270) && (height < this.thumb.getWidth() || width < this.thumb.getHeight()) + (this.rotate == 90 || this.rotate == 270) && (height < this.thumbEl.getWidth() || width < this.thumbEl.getHeight()) ) ) ){ @@ -387,11 +370,7 @@ return; } - this.image.setWidth(width); - this.image.setHeight(height); - - this.setCanvasPosition(); - + this.draw(); }, onRotateLeft : function(e) @@ -402,13 +381,13 @@ ( (this.rotate == 0 || this.rotate == 180) && - (this.image.getHeight() < this.thumb.getWidth() || this.image.getWidth() < this.thumb.getHeight()) + (this.canvasEl.height < this.thumbEl.getWidth() || this.canvasEl.width < this.thumbEl.getHeight()) ) || ( (this.rotate == 90 || this.rotate == 270) && - (this.image.getWidth() < this.thumb.getWidth() || this.image.getHeight() < this.thumb.getHeight()) + (this.canvasEl.height < this.thumbEl.getWidth() || this.canvasEl.width < this.thumbEl.getHeight()) ) ){ @@ -417,13 +396,7 @@ this.rotate = (this.rotate < 90) ? 270 : this.rotate - 90; - this.imageCanvas.setStyle({ - '-ms-transform' : 'rotate(' + this.rotate + 'deg)', - '-webkit-transform' : 'rotate(' + this.rotate + 'deg)', - 'transform' : 'rotate(' + this.rotate + 'deg)' - }); - - this.setCanvasPosition(); + this.draw(); }, @@ -435,13 +408,13 @@ ( (this.rotate == 0 || this.rotate == 180) && - (this.image.getHeight() < this.thumb.getWidth() || this.image.getWidth() < this.thumb.getHeight()) + (this.canvasEl.height < this.thumbEl.getWidth() || this.canvasEl.width < this.thumbEl.getHeight()) ) || ( (this.rotate == 90 || this.rotate == 270) && - (this.image.getWidth() < this.thumb.getWidth() || this.image.getHeight() < this.thumb.getHeight()) + (this.canvasEl.height < this.thumbEl.getWidth() || this.canvasEl.width < this.thumbEl.getHeight()) ) ){ @@ -450,167 +423,97 @@ this.rotate = (this.rotate > 180) ? 0 : this.rotate + 90; - this.imageCanvas.setStyle({ - '-ms-transform' : 'rotate(' + this.rotate + 'deg)', - '-webkit-transform' : 'rotate(' + this.rotate + 'deg)', - 'transform' : 'rotate(' + this.rotate + 'deg)' - }); - - this.setCanvasPosition(); - + this.draw(); }, - crop : function() + draw : function() { - var baseRotateLevel = this.getBaseRotateLevel(); - -// this['crop' + baseRotateLevel](); - Roo.log(baseRotateLevel); - - var canvas = document.createElement("canvas"); - - var context = canvas.getContext("2d"); - - canvas.width = this.minWidth; - canvas.height = this.minHeight; + this.previewEl.dom.innerHTML = ''; - var centerX = this.minWidth / 2; - var centerY = this.minHeight / 2; + var canvasEl = document.createElement("canvas"); - var cropWidth = this.thumb.getWidth() * this.getScaleLevel(true); - var cropHeight = this.thumb.getHeight() * this.getScaleLevel(true); + var contextEl = canvasEl.getContext("2d"); - var thumbX = Math.ceil(this.thumb.getLeft(true)); - var thumbY = Math.ceil(this.thumb.getTop(true)); - - var x = (thumbX - this.imageCanvas.getLeft(true)) * this.getScaleLevel(true); - var y = (thumbY - this.imageCanvas.getTop(true)) * this.getScaleLevel(true); - - if(this.rotate == 90){ - - x = thumbY + (this.image.getWidth() - this.image.getHeight()) / 2 - this.imageCanvas.getTop(true); - y = this.image.getHeight() - this.thumb.getWidth() - (thumbX - (this.image.getWidth() - this.image.getHeight()) / 2 - this.imageCanvas.getLeft(true)); - - x = x * this.getScaleLevel(true); - y = y * this.getScaleLevel(true); - - if(this.image.OriginWidth - cropHeight < x){ - x = this.image.OriginWidth - cropHeight; - } - - if(this.image.OriginHeight - cropWidth < y){ - y = this.image.OriginHeight - cropWidth; - } - - x = x < 0 ? 0 : x; - y = y < 0 ? 0 : y; - - cropWidth = this.thumb.getHeight() * this.getScaleLevel(true); - cropHeight = this.thumb.getWidth() * this.getScaleLevel(true); - - canvas.width = this.minWidth > this.minHeight ? this.minWidth : this.minHeight; - canvas.height = this.minWidth > this.minHeight ? this.minWidth : this.minHeight; - - centerX = this.minWidth > this.minHeight ? (this.minWidth / 2) : (this.minHeight / 2); - centerY = this.minWidth > this.minHeight ? (this.minWidth / 2) : (this.minHeight / 2); - - context.translate(centerX, centerY); - context.rotate(this.rotate * Math.PI / 180); - - context.drawImage(this.image.dom, x, y, cropWidth, cropHeight, centerX * -1, centerY * -1, this.minHeight, this.minWidth); + canvasEl.width = this.imageEl.OriginWidth * this.getScaleLevel(); + canvasEl.height = this.imageEl.OriginWidth * this.getScaleLevel(); + var center = this.imageEl.OriginWidth / 2; - var canvas2 = document.createElement("canvas"); - var context2 = canvas2.getContext("2d"); - - canvas2.width = this.minWidth; - canvas2.height = this.minHeight; - - context2.drawImage(canvas, Math.abs(this.minWidth - this.minHeight), 0, this.minWidth, this.minHeight, 0, 0, this.minWidth, this.minHeight); - - this.cropImageData = canvas2.toDataURL(this.file.type); - - this.fireEvent('crop', this, this.cropImageData); - - return; + if(this.imageEl.OriginWidth < this.imageEl.OriginHeight){ + canvasEl.width = this.imageEl.OriginHeight * this.getScaleLevel(); + canvasEl.height = this.imageEl.OriginHeight * this.getScaleLevel(); + center = this.imageEl.OriginHeight / 2; } - if(this.rotate == 270){ - - x = thumbY + (this.image.getWidth() - this.image.getHeight()) / 2 - this.imageCanvas.getTop(true); - y = thumbX - (this.image.getWidth() - this.image.getHeight()) / 2 - this.imageCanvas.getLeft(true); - - x = (this.image.getWidth() - this.thumb.getHeight() - x) * this.getScaleLevel(true); - y = y * this.getScaleLevel(true); - - if(this.image.OriginWidth - cropHeight < x){ - x = this.image.OriginWidth - cropHeight; - } - - if(this.image.OriginHeight - cropWidth < y){ - y = this.image.OriginHeight - cropWidth; - } - - x = x < 0 ? 0 : x; - y = y < 0 ? 0 : y; - - cropWidth = this.thumb.getHeight() * this.getScaleLevel(true); - cropHeight = this.thumb.getWidth() * this.getScaleLevel(true); - - canvas.width = this.minWidth > this.minHeight ? this.minWidth : this.minHeight; - canvas.height = this.minWidth > this.minHeight ? this.minWidth : this.minHeight; + contextEl.scale(this.getScaleLevel(), this.getScaleLevel()); + + contextEl.translate(center, center); + contextEl.rotate(this.rotate * Math.PI / 180); - centerX = this.minWidth > this.minHeight ? (this.minWidth / 2) : (this.minHeight / 2); - centerY = this.minWidth > this.minHeight ? (this.minWidth / 2) : (this.minHeight / 2); - - context.translate(centerX, centerY); - context.rotate(this.rotate * Math.PI / 180); - - context.drawImage(this.image.dom, x, y, cropWidth, cropHeight, centerX * -1, centerY * -1, this.minHeight, this.minWidth); + contextEl.drawImage(this.imageEl, 0, 0, this.imageEl.OriginWidth, this.imageEl.OriginHeight, center * -1, center * -1, this.imageEl.OriginWidth, this.imageEl.OriginHeight); - var canvas2 = document.createElement("canvas"); - var context2 = canvas2.getContext("2d"); - - canvas2.width = this.minWidth; - canvas2.height = this.minHeight; - - context2.drawImage(canvas, 0, 0, this.minWidth, this.minHeight, 0, 0, this.minWidth, this.minHeight); - - this.cropImageData = canvas2.toDataURL(this.file.type); - - this.fireEvent('crop', this, this.cropImageData); - - return; - } + this.canvasEl = document.createElement("canvas"); - if(this.rotate == 180){ - x = this.image.OriginWidth - this.thumb.getWidth() * this.getScaleLevel(true) - x; - y = this.image.OriginHeight - this.thumb.getHeight() * this.getScaleLevel(true) - y; - } + this.contextEl = this.canvasEl.getContext("2d"); - if(this.image.OriginWidth - cropWidth < x){ - x = this.image.OriginWidth - cropWidth; - } + switch (this.rotate) { + case 0 : + + this.canvasEl.width = this.imageEl.OriginWidth * this.getScaleLevel(); + this.canvasEl.height = this.imageEl.OriginHeight * this.getScaleLevel(); + + this.contextEl.drawImage(canvasEl, 0, 0, this.canvasEl.width, this.canvasEl.height, 0, 0, this.canvasEl.width, this.canvasEl.height); + + break; + case 90 : + + this.canvasEl.width = this.imageEl.OriginHeight * this.getScaleLevel(); + this.canvasEl.height = this.imageEl.OriginWidth * this.getScaleLevel(); + + if(this.imageEl.OriginWidth > this.imageEl.OriginHeight){ + this.contextEl.drawImage(canvasEl, Math.abs(this.canvasEl.width - this.canvasEl.height), 0, this.canvasEl.width, this.canvasEl.height, 0, 0, this.canvasEl.width, this.canvasEl.height); + break; + } + + this.contextEl.drawImage(canvasEl, 0, 0, this.canvasEl.width, this.canvasEl.height, 0, 0, this.canvasEl.width, this.canvasEl.height); + + break; + case 180 : + + this.canvasEl.width = this.imageEl.OriginWidth * this.getScaleLevel(); + this.canvasEl.height = this.imageEl.OriginHeight * this.getScaleLevel(); + + if(this.imageEl.OriginWidth > this.imageEl.OriginHeight){ + this.contextEl.drawImage(canvasEl, 0, Math.abs(this.canvasEl.width - this.canvasEl.height), this.canvasEl.width, this.canvasEl.height, 0, 0, this.canvasEl.width, this.canvasEl.height); + break; + } + + this.contextEl.drawImage(canvasEl, Math.abs(this.canvasEl.width - this.canvasEl.height), 0, this.canvasEl.width, this.canvasEl.height, 0, 0, this.canvasEl.width, this.canvasEl.height); + + break; + case 270 : + + this.canvasEl.width = this.imageEl.OriginHeight * this.getScaleLevel(); + this.canvasEl.height = this.imageEl.OriginWidth * this.getScaleLevel(); - if(this.image.OriginHeight - cropHeight < y){ - y = this.image.OriginHeight - cropHeight; + if(this.imageEl.OriginWidth > this.imageEl.OriginHeight){ + this.contextEl.drawImage(canvasEl, 0, 0, this.canvasEl.width, this.canvasEl.height, 0, 0, this.canvasEl.width, this.canvasEl.height); + break; + } + + this.contextEl.drawImage(canvasEl, 0, Math.abs(this.canvasEl.width - this.canvasEl.height), this.canvasEl.width, this.canvasEl.height, 0, 0, this.canvasEl.width, this.canvasEl.height); + + break; + default : + break; } - x = x < 0 ? 0 : x; - y = y < 0 ? 0 : y; - - context.translate(centerX, centerY); - - context.rotate(this.rotate * Math.PI / 180); - - context.drawImage(this.image.dom, x, y, cropWidth, cropHeight, centerX * -1, centerY * -1, canvas.width, canvas.height); + this.previewEl.appendChild(this.canvasEl); - this.cropImageData = canvas.toDataURL(this.file.type); - - this.fireEvent('crop', this, this.cropImageData); + this.setCanvasPosition(); }, - crop0 : function() + crop : function() { var canvas = document.createElement("canvas"); @@ -619,316 +522,42 @@ canvas.width = this.minWidth; canvas.height = this.minHeight; - var centerX = this.minWidth / 2; - var centerY = this.minHeight / 2; - - var cropWidth = this.thumb.getWidth() * this.getScaleLevel(true); - var cropHeight = this.thumb.getHeight() * this.getScaleLevel(true); - - var thumbX = Math.ceil(this.thumb.getLeft(true)); - var thumbY = Math.ceil(this.thumb.getTop(true)); - - var x = (thumbX - this.imageCanvas.getLeft(true)) * this.getScaleLevel(true); - var y = (thumbY - this.imageCanvas.getTop(true)) * this.getScaleLevel(true); - - if(this.rotate == 90){ - - x = thumbY + (this.image.getWidth() - this.image.getHeight()) / 2 - this.imageCanvas.getTop(true); - y = this.image.getHeight() - this.thumb.getWidth() - (thumbX - (this.image.getWidth() - this.image.getHeight()) / 2 - this.imageCanvas.getLeft(true)); - - x = x * this.getScaleLevel(true); - y = y * this.getScaleLevel(true); - - if(this.image.OriginWidth - cropHeight < x){ - x = this.image.OriginWidth - cropHeight; - } - - if(this.image.OriginHeight - cropWidth < y){ - y = this.image.OriginHeight - cropWidth; - } - - x = x < 0 ? 0 : x; - y = y < 0 ? 0 : y; - - cropWidth = this.thumb.getHeight() * this.getScaleLevel(true); - cropHeight = this.thumb.getWidth() * this.getScaleLevel(true); - - canvas.width = this.minWidth > this.minHeight ? this.minWidth : this.minHeight; - canvas.height = this.minWidth > this.minHeight ? this.minWidth : this.minHeight; - - centerX = this.minWidth > this.minHeight ? (this.minWidth / 2) : (this.minHeight / 2); - centerY = this.minWidth > this.minHeight ? (this.minWidth / 2) : (this.minHeight / 2); - - context.translate(centerX, centerY); - context.rotate(this.rotate * Math.PI / 180); - - context.drawImage(this.image.dom, x, y, cropWidth, cropHeight, centerX * -1, centerY * -1, this.minHeight, this.minWidth); + var cropWidth = this.thumbEl.getWidth(); + var cropHeight = this.thumbEl.getHeight(); - var canvas2 = document.createElement("canvas"); - var context2 = canvas2.getContext("2d"); - - canvas2.width = this.minWidth; - canvas2.height = this.minHeight; - - context2.drawImage(canvas, Math.abs(this.minWidth - this.minHeight), 0, this.minWidth, this.minHeight, 0, 0, this.minWidth, this.minHeight); - - this.cropImageData = canvas2.toDataURL(this.file.type); - - this.fireEvent('crop', this, this.cropImageData); - - return; - } + var x = this.thumbEl.getLeft(true) - this.previewEl.getLeft(true); + var y = this.thumbEl.getTop(true) - this.previewEl.getTop(true); - if(this.rotate == 270){ - - x = thumbY + (this.image.getWidth() - this.image.getHeight()) / 2 - this.imageCanvas.getTop(true); - y = thumbX - (this.image.getWidth() - this.image.getHeight()) / 2 - this.imageCanvas.getLeft(true); - - x = (this.image.getWidth() - this.thumb.getHeight() - x) * this.getScaleLevel(true); - y = y * this.getScaleLevel(true); - - if(this.image.OriginWidth - cropHeight < x){ - x = this.image.OriginWidth - cropHeight; - } - - if(this.image.OriginHeight - cropWidth < y){ - y = this.image.OriginHeight - cropWidth; - } - - x = x < 0 ? 0 : x; - y = y < 0 ? 0 : y; - - cropWidth = this.thumb.getHeight() * this.getScaleLevel(true); - cropHeight = this.thumb.getWidth() * this.getScaleLevel(true); - - canvas.width = this.minWidth > this.minHeight ? this.minWidth : this.minHeight; - canvas.height = this.minWidth > this.minHeight ? this.minWidth : this.minHeight; - - centerX = this.minWidth > this.minHeight ? (this.minWidth / 2) : (this.minHeight / 2); - centerY = this.minWidth > this.minHeight ? (this.minWidth / 2) : (this.minHeight / 2); - - context.translate(centerX, centerY); - context.rotate(this.rotate * Math.PI / 180); - - context.drawImage(this.image.dom, x, y, cropWidth, cropHeight, centerX * -1, centerY * -1, this.minHeight, this.minWidth); - - var canvas2 = document.createElement("canvas"); - var context2 = canvas2.getContext("2d"); - - canvas2.width = this.minWidth; - canvas2.height = this.minHeight; - - context2.drawImage(canvas, 0, 0, this.minWidth, this.minHeight, 0, 0, this.minWidth, this.minHeight); - - this.cropImageData = canvas2.toDataURL(this.file.type); - - this.fireEvent('crop', this, this.cropImageData); - - return; - } - - if(this.rotate == 180){ - x = this.image.OriginWidth - this.thumb.getWidth() * this.getScaleLevel(true) - x; - y = this.image.OriginHeight - this.thumb.getHeight() * this.getScaleLevel(true) - y; + if(this.canvasEl.width - cropWidth < x){ + x = this.canvasEl.width - cropWidth; } - if(this.image.OriginWidth - cropWidth < x){ - x = this.image.OriginWidth - cropWidth; - } - - if(this.image.OriginHeight - cropHeight < y){ - y = this.image.OriginHeight - cropHeight; + if(this.canvasEl.height - cropHeight < y){ + y = this.canvasEl.height - cropHeight; } x = x < 0 ? 0 : x; y = y < 0 ? 0 : y; - context.translate(centerX, centerY); - - context.rotate(this.rotate * Math.PI / 180); + context.drawImage(this.canvasEl, x, y, cropWidth, cropHeight, 0, 0, canvas.width, canvas.height); - context.drawImage(this.image.dom, x, y, cropWidth, cropHeight, centerX * -1, centerY * -1, canvas.width, canvas.height); + this.cropData = canvas.toDataURL(this.cropType); - this.cropImageData = canvas.toDataURL(this.file.type); + this.fireEvent('crop', this, this.cropData); - this.fireEvent('crop', this, this.cropImageData); }, - crop90 : function() + setThumbBoxSize : function() { - var canvas = document.createElement("canvas"); - - var context = canvas.getContext("2d"); - - canvas.width = this.minWidth > this.minHeight ? this.minWidth : this.minHeight; - canvas.height = this.minWidth > this.minHeight ? this.minWidth : this.minHeight; - - var centerX = this.minWidth > this.minHeight ? (this.minWidth / 2) : (this.minHeight / 2); - var centerY = this.minWidth > this.minHeight ? (this.minWidth / 2) : (this.minHeight / 2); - - var cropWidth = this.thumb.getWidth() * this.getScaleLevel(true); - var cropHeight = this.thumb.getHeight() * this.getScaleLevel(true); - - var thumbX = Math.ceil(this.thumb.getLeft(true) + this.thumb.getWidth()); - var thumbY = Math.ceil(this.thumb.getTop(true)); - - var x = (thumbY - this.imageCanvas.getTop(true)) * this.getScaleLevel(true); - var y = (thumbX - this.imageCanvas.getLeft(true)) * this.getScaleLevel(true); - - -// if(this.rotate == 90){ -// -// x = thumbY + (this.image.getWidth() - this.image.getHeight()) / 2 - this.imageCanvas.getTop(true); -// y = this.image.getHeight() - this.thumb.getWidth() - (thumbX - (this.image.getWidth() - this.image.getHeight()) / 2 - this.imageCanvas.getLeft(true)); -// -// x = x * this.getScaleLevel(true); -// y = y * this.getScaleLevel(true); -// -// if(this.image.OriginWidth - cropHeight < x){ -// x = this.image.OriginWidth - cropHeight; -// } -// -// if(this.image.OriginHeight - cropWidth < y){ -// y = this.image.OriginHeight - cropWidth; -// } -// -// x = x < 0 ? 0 : x; -// y = y < 0 ? 0 : y; -// -// cropWidth = this.thumb.getHeight() * this.getScaleLevel(true); -// cropHeight = this.thumb.getWidth() * this.getScaleLevel(true); -// -// canvas.width = this.minWidth > this.minHeight ? this.minWidth : this.minHeight; -// canvas.height = this.minWidth > this.minHeight ? this.minWidth : this.minHeight; -// -// centerX = this.minWidth > this.minHeight ? (this.minWidth / 2) : (this.minHeight / 2); -// centerY = this.minWidth > this.minHeight ? (this.minWidth / 2) : (this.minHeight / 2); -// -// context.translate(centerX, centerY); -// context.rotate(this.rotate * Math.PI / 180); -// -// context.drawImage(this.image.dom, x, y, cropWidth, cropHeight, centerX * -1, centerY * -1, this.minHeight, this.minWidth); -// -// var canvas2 = document.createElement("canvas"); -// var context2 = canvas2.getContext("2d"); -// -// canvas2.width = this.minWidth; -// canvas2.height = this.minHeight; -// -// context2.drawImage(canvas, Math.abs(this.minWidth - this.minHeight), 0, this.minWidth, this.minHeight, 0, 0, this.minWidth, this.minHeight); -// -// this.cropImageData = canvas2.toDataURL(this.file.type); -// -// this.fireEvent('crop', this, this.cropImageData); -// -// return; -// } -// -// if(this.rotate == 270){ -// -// x = thumbY + (this.image.getWidth() - this.image.getHeight()) / 2 - this.imageCanvas.getTop(true); -// y = thumbX - (this.image.getWidth() - this.image.getHeight()) / 2 - this.imageCanvas.getLeft(true); -// -// x = (this.image.getWidth() - this.thumb.getHeight() - x) * this.getScaleLevel(true); -// y = y * this.getScaleLevel(true); -// -// if(this.image.OriginWidth - cropHeight < x){ -// x = this.image.OriginWidth - cropHeight; -// } -// -// if(this.image.OriginHeight - cropWidth < y){ -// y = this.image.OriginHeight - cropWidth; -// } -// -// x = x < 0 ? 0 : x; -// y = y < 0 ? 0 : y; -// -// cropWidth = this.thumb.getHeight() * this.getScaleLevel(true); -// cropHeight = this.thumb.getWidth() * this.getScaleLevel(true); -// -// canvas.width = this.minWidth > this.minHeight ? this.minWidth : this.minHeight; -// canvas.height = this.minWidth > this.minHeight ? this.minWidth : this.minHeight; -// -// centerX = this.minWidth > this.minHeight ? (this.minWidth / 2) : (this.minHeight / 2); -// centerY = this.minWidth > this.minHeight ? (this.minWidth / 2) : (this.minHeight / 2); -// -// context.translate(centerX, centerY); -// context.rotate(this.rotate * Math.PI / 180); -// -// context.drawImage(this.image.dom, x, y, cropWidth, cropHeight, centerX * -1, centerY * -1, this.minHeight, this.minWidth); -// -// var canvas2 = document.createElement("canvas"); -// var context2 = canvas2.getContext("2d"); -// -// canvas2.width = this.minWidth; -// canvas2.height = this.minHeight; -// -// context2.drawImage(canvas, 0, 0, this.minWidth, this.minHeight, 0, 0, this.minWidth, this.minHeight); -// -// this.cropImageData = canvas2.toDataURL(this.file.type); -// -// this.fireEvent('crop', this, this.cropImageData); -// -// return; -// } -// -// if(this.rotate == 180){ -// x = this.image.OriginWidth - this.thumb.getWidth() * this.getScaleLevel(true) - x; -// y = this.image.OriginHeight - this.thumb.getHeight() * this.getScaleLevel(true) - y; -// } - - if(this.image.OriginWidth - cropWidth < y){ - y = this.image.OriginWidth - cropWidth; - } - - if(this.image.OriginHeight - cropHeight < x){ - x = this.image.OriginHeight - cropHeight; - } - - x = x < 0 ? 0 : x; - y = y < 0 ? 0 : y; - - context.translate(centerX, centerY); - - context.rotate(this.rotate * Math.PI / 180); - - alert(x); - alert(y); - alert(cropWidth); - alert(cropHeight); - context.drawImage(this.image.dom, x, y, cropWidth, cropHeight, centerX * -1, centerY * -1, this.minHeight, this.minWidth); - - window.open(canvas.toDataURL(this.file.type)); - return; - - var canvas2 = document.createElement("canvas"); - var context2 = canvas2.getContext("2d"); - - canvas2.width = this.minWidth; - canvas2.height = this.minHeight; - - context2.drawImage(canvas, 0, 0, this.minWidth, this.minHeight, 0, 0, this.minWidth, this.minHeight); - - this.cropImageData = canvas2.toDataURL(this.file.type); - - this.fireEvent('crop', this, this.cropImageData); - - return; - }, - - calcThumbBoxSize : function() - { - var width, height; - - height = 300; - width = Math.ceil(this.minWidth * height / this.minHeight); + var height = 300; + var width = Math.ceil(this.minWidth * height / this.minHeight); if(this.minWidth > this.minHeight){ width = 300; height = Math.ceil(this.minHeight * width / this.minWidth); } - this.thumb.setStyle({ + this.thumbEl.setStyle({ width : width + 'px', height : height + 'px' }); @@ -937,60 +566,72 @@ }, - placeThumbBox : function() + setThumbBoxPosition : function() { - var x = Math.ceil((this.imageSection.getWidth() - this.thumb.getWidth()) / 2 ); - var y = Math.ceil((this.imageSection.getHeight() - this.thumb.getHeight()) / 2); + var x = Math.ceil((this.bodyEl.getWidth() - this.thumbEl.getWidth()) / 2 ); + var y = Math.ceil((this.bodyEl.getHeight() - this.thumbEl.getHeight()) / 2); - this.thumb.setLeft(x); - this.thumb.setTop(y); + this.thumbEl.setLeft(x); + this.thumbEl.setTop(y); }, - fitThumbBox : function() + baseRotateLevel : function() { - var width = this.thumb.getWidth(); - var height = this.image.OriginHeight * width / this.image.OriginWidth; - - this.baseScale = width / this.image.OriginWidth; + this.baseRotate = 1; - if(this.image.OriginWidth > this.image.OriginHeight){ - height = this.thumb.getHeight(); - width = this.image.OriginWidth * height / this.image.OriginHeight; - - this.baseScale = height / this.image.OriginHeight; + if( + typeof(this.exif) != 'undefined' && + typeof(this.exif[Roo.bootstrap.UploadCropbox['tags']['Orientation']]) != 'undefined' && + [1, 3, 6, 8].indexOf(this.exif[Roo.bootstrap.UploadCropbox['tags']['Orientation']]) != -1 + ){ + this.baseRotate = this.exif[Roo.bootstrap.UploadCropbox['tags']['Orientation']]; } - return; + this.rotate = (Roo.isIOS) ? + Roo.bootstrap.UploadCropbox['Orientation']['iOS'][this.baseRotate] : + Roo.bootstrap.UploadCropbox['Orientation']['Android'][this.baseRotate]; + }, - Orientation : function() + baseScaleLevel : function() { - this.baseRotate = 1; + var width, height; - if( - typeof(this.exif[Roo.bootstrap.UploadCropbox['tags']['Orientation']]) == 'undefined' || - [1, 3, 6, 8].indexOf(this.exif[Roo.bootstrap.UploadCropbox['tags']['Orientation']]) == -1 - ){ + if(this.baseRotate == 6 || this.baseRotate == 8){ + + height = this.thumbEl.getWidth(); + + this.baseScale = height / this.imageEl.OriginHeight; + + if(this.imageEl.OriginWidth > this.imageEl.OriginHeight){ + + width = this.thumbEl.getHeight(); + + this.baseScale = width / this.imageEl.OriginWidth; + } + return; } - this.baseRotate = this.exif[Roo.bootstrap.UploadCropbox['tags']['Orientation']]; + width = this.thumbEl.getWidth(); - }, - - getBaseRotateLevel : function() - { - return (Roo.isIOS) ? Roo.bootstrap.UploadCropbox['Orientation']['iOS'][this.baseRotate] : Roo.bootstrap.UploadCropbox['Orientation']['Android'][this.baseRotate]; + this.baseScale = width / this.imageEl.OriginWidth; + + if(this.imageEl.OriginWidth > this.imageEl.OriginHeight){ + + height = this.thumbEl.getHeight(); + + width = this.imageEl.OriginWidth * height / this.imageEl.OriginHeight; + + this.baseScale = height / this.imageEl.OriginHeight; + } + return; }, - getScaleLevel : function(reverse) + getScaleLevel : function() { - if(reverse){ - return Math.pow(1.1, this.scale * -1) / this.baseScale; - } - return this.baseScale * Math.pow(1.1, this.scale); }, @@ -1022,7 +663,7 @@ var x = Math.pow(coords[0] - coords[2], 2); var y = Math.pow(coords[1] - coords[3], 2); - this.startDistance = Math.sqrt(x + y); + this.startDistance = Math.sqrt(x + y); this.startScale = this.scale; @@ -1059,22 +700,22 @@ var x = Math.pow(coords[0] - coords[2], 2); var y = Math.pow(coords[1] - coords[3], 2); - this.endDistance = Math.sqrt(x + y); + this.endDistance = Math.sqrt(x + y); var scale = this.startScale + Math.floor(Math.log(this.endDistance / this.startDistance) / Math.log(1.1)); - var width = Math.ceil(this.image.OriginWidth * this.baseScale * Math.pow(1.1, scale)); - var height = Math.ceil(this.image.OriginHeight * this.baseScale * Math.pow(1.1, scale)); + var width = Math.ceil(this.imageEl.OriginWidth * this.baseScale * Math.pow(1.1, scale)); + var height = Math.ceil(this.imageEl.OriginHeight * this.baseScale * Math.pow(1.1, scale)); if( this.endDistance / this.startDistance < 1 && ( ( - (this.rotate == 0 || this.rotate == 180) && (width < this.thumb.getWidth() || height < this.thumb.getHeight()) + (this.rotate == 0 || this.rotate == 180) && (width < this.thumbEl.getWidth() || height < this.thumbEl.getHeight()) ) || ( - (this.rotate == 90 || this.rotate == 270) && (height < this.thumb.getWidth() || width < this.thumb.getHeight()) + (this.rotate == 90 || this.rotate == 270) && (height < this.thumbEl.getWidth() || width < this.thumbEl.getHeight()) ) ) ){ @@ -1083,11 +724,7 @@ this.scale = scale; - this.image.setWidth(width); - this.image.setHeight(height); - - this.setCanvasPosition(); - + this.draw(); }, @@ -1101,20 +738,22 @@ }, prepare : function(input) - { - if(!input.files || !input.files[0]){ + { + this.file = false; + this.exif = {}; + + if(typeof(input) === 'string'){ + this.loadCanvas(input); return; } - this.file = input.files[0]; - - var noMetaData = !(window.DataView && this.file && this.file.size >= 12 && this.file.type === 'image/jpeg'); - - if(noMetaData){ // ??? only for jpeg ??? - Roo.log('noMetaData'); + if(!input.files || !input.files[0] || !this.urlAPI){ return; } + this.file = input.files[0]; + this.cropType = this.file.type; + var _this = this; if(this.fireEvent('prepare', this, this.file) != false){ @@ -1163,15 +802,9 @@ } - var urlAPI = (window.createObjectURL && window) || (window.URL && URL.revokeObjectURL && URL) || (window.webkitURL && webkitURL); - - if(!urlAPI){ - return; - } - - var url = urlAPI.createObjectURL(_this.file); + var url = _this.urlAPI.createObjectURL(_this.file); - _this.loadCanvasImage(url); + _this.loadCanvas(url); return; } diff --git a/docs/symbols/this.html b/docs/symbols/this.html index 21067fc6f7..96eaaa2c17 100644 --- a/docs/symbols/this.html +++ b/docs/symbols/this.html @@ -173,7 +173,7 @@
- Documentation generated by Introspection Doc Generator on Wed Feb 03 2016 13:11:34 GMT+0800 (HKT) + Documentation generated by Introspection Doc Generator on Thu Feb 04 2016 16:03:30 GMT+0800 (HKT) Based on JsDoc Toolkit
diff --git a/roojs-bootstrap-debug.js b/roojs-bootstrap-debug.js index 76e6cdfcb7..197a8dca1d 100644 --- a/roojs-bootstrap-debug.js +++ b/roojs-bootstrap-debug.js @@ -13368,6 +13368,8 @@ Roo.extend(Roo.bootstrap.ComboBox, Roo.bootstrap.TriggerField, { this.hideTouchView(); + this.fireEvent('select', this, r, rowIndex); + return; } @@ -13381,8 +13383,6 @@ Roo.extend(Roo.bootstrap.ComboBox, Roo.bootstrap.TriggerField, { this.addItem(r.data); this.tickItems.push(r.data); - - } @@ -23950,7 +23950,7 @@ Roo.bootstrap.UploadCropbox = function(config){ this.addEvents({ /** - * @event beforeSelectFile + * @event beforeselectfile * Fire before select file * @param {Roo.bootstrap.UploadCropbox} this */ @@ -23965,7 +23965,7 @@ Roo.bootstrap.UploadCropbox = function(config){ * @event crop * Fire after initEvent * @param {Roo.bootstrap.UploadCropbox} this - * @param {String} imageData + * @param {String} data */ "crop" : true, /** @@ -23983,12 +23983,12 @@ Roo.bootstrap.UploadCropbox = function(config){ */ "exception" : true, /** - * @event beforeloadimage - * Fire before load the image + * @event beforeloadcanvas + * Fire before load the canvas * @param {Roo.bootstrap.UploadCropbox} this * @param {String} src */ - "beforeloadimage" : true + "beforeloadcanvas" : true }); }; @@ -24003,12 +24003,13 @@ Roo.extend(Roo.bootstrap.UploadCropbox, Roo.bootstrap.Component, { pinching : false, mouseX : 0, mouseY : 0, - cropImageData : false, + cropData : false, minWidth : 300, minHeight : 300, file : false, exif : {}, baseRotate : 1, + cropType : 'image/jpeg', getAutoCreate : function() { @@ -24018,17 +24019,11 @@ Roo.extend(Roo.bootstrap.UploadCropbox, Roo.bootstrap.Component, { cn : [ { tag : 'div', - cls : 'roo-upload-cropbox-image-section', + cls : 'roo-upload-cropbox-body', cn : [ { tag : 'div', - cls : 'roo-upload-cropbox-canvas', - cn : [ - { - tag : 'img', - cls : 'roo-upload-cropbox-image' - } - ] + cls : 'roo-upload-cropbox-preview' }, { tag : 'div', @@ -24043,7 +24038,7 @@ Roo.extend(Roo.bootstrap.UploadCropbox, Roo.bootstrap.Component, { }, { tag : 'div', - cls : 'roo-upload-cropbox-footer-section', + cls : 'roo-upload-cropbox-footer', cn : { tag : 'div', cls : 'btn-group btn-group-justified roo-upload-cropbox-btn-group', @@ -24092,25 +24087,27 @@ Roo.extend(Roo.bootstrap.UploadCropbox, Roo.bootstrap.Component, { initEvents : function() { - this.imageSection = this.el.select('.roo-upload-cropbox-image-section', true).first(); - this.imageSection.setVisibilityMode(Roo.Element.DISPLAY).originalDisplay = 'block'; - - this.imageCanvas = this.el.select('.roo-upload-cropbox-canvas', true).first(); - this.imageCanvas.setVisibilityMode(Roo.Element.DISPLAY).originalDisplay = 'block'; + this.urlAPI = (window.createObjectURL && window) || + (window.URL && URL.revokeObjectURL && URL) || + (window.webkitURL && webkitURL); + + this.bodyEl = this.el.select('.roo-upload-cropbox-body', true).first(); + this.bodyEl.setVisibilityMode(Roo.Element.DISPLAY).originalDisplay = 'block'; + this.bodyHasOnClickEvent = false; - this.image = this.el.select('.roo-upload-cropbox-image', true).first(); - this.image.setVisibilityMode(Roo.Element.DISPLAY).originalDisplay = 'block'; + this.previewEl = this.el.select('.roo-upload-cropbox-preview', true).first(); + this.previewEl.setVisibilityMode(Roo.Element.DISPLAY).originalDisplay = 'block'; - this.thumb = this.el.select('.roo-upload-cropbox-thumb', true).first(); - this.thumb.setVisibilityMode(Roo.Element.DISPLAY).originalDisplay = 'block'; - this.thumb.hide(); + this.thumbEl = this.el.select('.roo-upload-cropbox-thumb', true).first(); + this.thumbEl.setVisibilityMode(Roo.Element.DISPLAY).originalDisplay = 'block'; + this.thumbEl.hide(); - this.emptyNotify = this.el.select('.roo-upload-cropbox-empty-notify', true).first(); - this.emptyNotify.setVisibilityMode(Roo.Element.DISPLAY).originalDisplay = 'block'; + this.notifyEl = this.el.select('.roo-upload-cropbox-empty-notify', true).first(); + this.notifyEl.setVisibilityMode(Roo.Element.DISPLAY).originalDisplay = 'block'; - this.footerSection = this.el.select('.roo-upload-cropbox-footer-section', true).first(); - this.footerSection.setVisibilityMode(Roo.Element.DISPLAY).originalDisplay = 'block'; - this.footerSection.hide(); + this.footerEl = this.el.select('.roo-upload-cropbox-footer', true).first(); + this.footerEl.setVisibilityMode(Roo.Element.DISPLAY).originalDisplay = 'block'; + this.footerEl.hide(); this.rotateLeft = this.el.select('.roo-upload-cropbox-rotate-left', true).first(); this.rotateLeft.setVisibilityMode(Roo.Element.DISPLAY).originalDisplay = 'block'; @@ -24121,7 +24118,7 @@ Roo.extend(Roo.bootstrap.UploadCropbox, Roo.bootstrap.Component, { this.rotateRight = this.el.select('.roo-upload-cropbox-rotate-right', true).first(); this.rotateRight.setVisibilityMode(Roo.Element.DISPLAY).originalDisplay = 'block'; - this.calcThumbBoxSize(); + this.setThumbBoxSize(); this.bind(); @@ -24130,24 +24127,26 @@ Roo.extend(Roo.bootstrap.UploadCropbox, Roo.bootstrap.Component, { bind : function() { - this.image.on('load', this.onLoadCanvasImage, this); + var _this = this; - if(!this.imageSectionHasOnClickEvent){ - this.imageSection.on('click', this.beforeSelectFile, this); - this.imageSectionHasOnClickEvent = true; + window.addEventListener("resize", function() { _this.resize(); } ); + + if(!this.bodyHasOnClickEvent){ + this.bodyEl.on('click', this.beforeSelectFile, this); + this.bodyHasOnClickEvent = true; } if(Roo.isTouch){ - this.imageSection.on('touchstart', this.onTouchStart, this); - this.imageSection.on('touchmove', this.onTouchMove, this); - this.imageSection.on('touchend', this.onTouchEnd, this); + this.bodyEl.on('touchstart', this.onTouchStart, this); + this.bodyEl.on('touchmove', this.onTouchMove, this); + this.bodyEl.on('touchend', this.onTouchEnd, this); } if(!Roo.isTouch){ - this.imageSection.on('mousedown', this.onMouseDown, this); - this.imageSection.on('mousemove', this.onMouseMove, this); + this.bodyEl.on('mousedown', this.onMouseDown, this); + this.bodyEl.on('mousemove', this.onMouseMove, this); var mousewheel = (/Firefox/i.test(navigator.userAgent))? 'DOMMouseScroll' : 'mousewheel'; - this.imageSection.on(mousewheel, this.onMouseWheel, this); + this.bodyEl.on(mousewheel, this.onMouseWheel, this); Roo.get(document).on('mouseup', this.onMouseUp, this); } @@ -24164,23 +24163,21 @@ Roo.extend(Roo.bootstrap.UploadCropbox, Roo.bootstrap.Component, { this.scale = 0; this.baseScale = 1; this.rotate = 0; + this.baseRotate = 1; this.dragable = false; this.pinching = false; this.mouseX = 0; this.mouseY = 0; - this.cropImageData = false; - - this.imageCanvas.dom.removeAttribute('style'); - this.image.dom.removeAttribute('style'); - this.image.attr('src', ''); - - if(!this.imageSectionHasOnClickEvent){ - this.imageSection.on('click', this.beforeSelectFile, this); - this.imageSectionHasOnClickEvent = true; - } + this.cropData = false; }, + resize : function() + { + this.setThumbBoxPosition(); + this.setCanvasPosition(); + }, + beforeSelectFile : function(e) { e.preventDefault(); @@ -24188,47 +24185,51 @@ Roo.extend(Roo.bootstrap.UploadCropbox, Roo.bootstrap.Component, { this.fireEvent('beforeselectfile', this); }, - loadCanvasImage : function(src) + loadCanvas : function(src) { - if(this.fireEvent('beforeloadimage', this, src) != false){ + if(this.fireEvent('beforeloadcanvas', this, src) != false){ + this.reset(); - this.image.attr('src', src); + + this.imageEl = document.createElement('img'); + + var _this = this; + + this.imageEl.addEventListener("load", function(){ _this.onLoadCanvas(); }); + + this.imageEl.src = src; } }, - onLoadCanvasImage : function(src) + onLoadCanvas : function() { - this.emptyNotify.hide(); - this.thumb.show(); - this.footerSection.show(); - - this.placeThumbBox(); - - this.Orientation(); - - if(this.imageSectionHasOnClickEvent){ - this.imageSection.un('click', this.beforeSelectFile, this); - this.imageSectionHasOnClickEvent = false; + if(this.bodyHasOnClickEvent){ + this.bodyEl.un('click', this.beforeSelectFile, this); + this.bodyHasOnClickEvent = false; } - this.image.OriginWidth = this.image.getWidth(); - this.image.OriginHeight = this.image.getHeight(); + this.notifyEl.hide(); + this.thumbEl.show(); + this.footerEl.show(); - this.fitThumbBox(); + this.imageEl.OriginWidth = this.imageEl.naturalWidth || this.imageEl.width; + this.imageEl.OriginHeight = this.imageEl.naturalHeight || this.imageEl.height; - this.image.setWidth(Math.ceil(this.image.OriginWidth * this.getScaleLevel(false))); - this.image.setHeight(Math.ceil(this.image.OriginHeight * this.getScaleLevel(false))); + this.setThumbBoxPosition(); + this.baseRotateLevel(); + this.baseScaleLevel(); + + this.draw(); - this.setCanvasPosition(); }, setCanvasPosition : function() { - var pw = Math.ceil((this.imageSection.getWidth() - this.image.getWidth()) / 2); - var ph = Math.ceil((this.imageSection.getHeight() - this.image.getHeight()) / 2); + var pw = Math.ceil((this.bodyEl.getWidth() - this.canvasEl.width) / 2); + var ph = Math.ceil((this.bodyEl.getHeight() - this.canvasEl.height) / 2); - this.imageCanvas.setLeft(pw); - this.imageCanvas.setTop(ph); + this.previewEl.setLeft(pw); + this.previewEl.setTop(ph); }, onMouseDown : function(e) @@ -24251,19 +24252,11 @@ Roo.extend(Roo.bootstrap.UploadCropbox, Roo.bootstrap.Component, { return; } - var minX = Math.ceil(this.thumb.getLeft(true)); - var minY = Math.ceil(this.thumb.getTop(true)); + var minX = Math.ceil(this.thumbEl.getLeft(true)); + var minY = Math.ceil(this.thumbEl.getTop(true)); - var maxX = Math.ceil(minX + this.thumb.getWidth() - this.image.getWidth()); - var maxY = Math.ceil(minY + this.thumb.getHeight() - this.image.getHeight()); - - if(this.rotate == 90 || this.rotate == 270){ - minX = Math.ceil(this.thumb.getLeft(true) - (this.image.getWidth() - this.image.getHeight()) / 2); - minY = Math.ceil(this.thumb.getTop(true) + (this.image.getWidth() - this.image.getHeight()) / 2); - - maxX = Math.ceil(minX + this.thumb.getWidth() - this.image.getHeight()); - maxY = Math.ceil(minY + this.thumb.getHeight() - this.image.getWidth()); - } + var maxX = Math.ceil(minX + this.thumbEl.getWidth() - this.canvasEl.width); + var maxY = Math.ceil(minY + this.thumbEl.getHeight() - this.canvasEl.height); var x = Roo.isTouch ? e.browserEvent.touches[0].pageX : e.getPageX(); var y = Roo.isTouch ? e.browserEvent.touches[0].pageY : e.getPageY(); @@ -24271,14 +24264,14 @@ Roo.extend(Roo.bootstrap.UploadCropbox, Roo.bootstrap.Component, { x = x - this.mouseX; y = y - this.mouseY; - var bgX = Math.ceil(x + this.imageCanvas.getLeft(true)); - var bgY = Math.ceil(y + this.imageCanvas.getTop(true)); + var bgX = Math.ceil(x + this.previewEl.getLeft(true)); + var bgY = Math.ceil(y + this.previewEl.getTop(true)); bgX = (minX < bgX) ? minX : ((maxX > bgX) ? maxX : bgX); bgY = (minY < bgY) ? minY : ((maxY > bgY) ? maxY : bgY); - this.imageCanvas.setLeft(bgX); - this.imageCanvas.setTop(bgY); + this.previewEl.setLeft(bgX); + this.previewEl.setTop(bgY); this.mouseX = Roo.isTouch ? e.browserEvent.touches[0].pageX : e.getPageX(); this.mouseY = Roo.isTouch ? e.browserEvent.touches[0].pageY : e.getPageY(); @@ -24297,18 +24290,18 @@ Roo.extend(Roo.bootstrap.UploadCropbox, Roo.bootstrap.Component, { this.scale = (e.getWheelDelta() == 1) ? (this.scale + 1) : (this.scale - 1); - var width = Math.ceil(this.image.OriginWidth * this.getScaleLevel(false)); - var height = Math.ceil(this.image.OriginHeight * this.getScaleLevel(false)); + var width = Math.ceil(this.imageEl.OriginWidth * this.getScaleLevel()); + var height = Math.ceil(this.imageEl.OriginHeight * this.getScaleLevel()); if( e.getWheelDelta() == -1 && ( ( - (this.rotate == 0 || this.rotate == 180) && (width < this.thumb.getWidth() || height < this.thumb.getHeight()) + (this.rotate == 0 || this.rotate == 180) && (width < this.thumbEl.getWidth() || height < this.thumbEl.getHeight()) ) || ( - (this.rotate == 90 || this.rotate == 270) && (height < this.thumb.getWidth() || width < this.thumb.getHeight()) + (this.rotate == 90 || this.rotate == 270) && (height < this.thumbEl.getWidth() || width < this.thumbEl.getHeight()) ) ) ){ @@ -24316,11 +24309,7 @@ Roo.extend(Roo.bootstrap.UploadCropbox, Roo.bootstrap.Component, { return; } - this.image.setWidth(width); - this.image.setHeight(height); - - this.setCanvasPosition(); - + this.draw(); }, onRotateLeft : function(e) @@ -24331,13 +24320,13 @@ Roo.extend(Roo.bootstrap.UploadCropbox, Roo.bootstrap.Component, { ( (this.rotate == 0 || this.rotate == 180) && - (this.image.getHeight() < this.thumb.getWidth() || this.image.getWidth() < this.thumb.getHeight()) + (this.canvasEl.height < this.thumbEl.getWidth() || this.canvasEl.width < this.thumbEl.getHeight()) ) || ( (this.rotate == 90 || this.rotate == 270) && - (this.image.getWidth() < this.thumb.getWidth() || this.image.getHeight() < this.thumb.getHeight()) + (this.canvasEl.height < this.thumbEl.getWidth() || this.canvasEl.width < this.thumbEl.getHeight()) ) ){ @@ -24346,13 +24335,7 @@ Roo.extend(Roo.bootstrap.UploadCropbox, Roo.bootstrap.Component, { this.rotate = (this.rotate < 90) ? 270 : this.rotate - 90; - this.imageCanvas.setStyle({ - '-ms-transform' : 'rotate(' + this.rotate + 'deg)', - '-webkit-transform' : 'rotate(' + this.rotate + 'deg)', - 'transform' : 'rotate(' + this.rotate + 'deg)' - }); - - this.setCanvasPosition(); + this.draw(); }, @@ -24364,13 +24347,13 @@ Roo.extend(Roo.bootstrap.UploadCropbox, Roo.bootstrap.Component, { ( (this.rotate == 0 || this.rotate == 180) && - (this.image.getHeight() < this.thumb.getWidth() || this.image.getWidth() < this.thumb.getHeight()) + (this.canvasEl.height < this.thumbEl.getWidth() || this.canvasEl.width < this.thumbEl.getHeight()) ) || ( (this.rotate == 90 || this.rotate == 270) && - (this.image.getWidth() < this.thumb.getWidth() || this.image.getHeight() < this.thumb.getHeight()) + (this.canvasEl.height < this.thumbEl.getWidth() || this.canvasEl.width < this.thumbEl.getHeight()) ) ){ @@ -24379,167 +24362,97 @@ Roo.extend(Roo.bootstrap.UploadCropbox, Roo.bootstrap.Component, { this.rotate = (this.rotate > 180) ? 0 : this.rotate + 90; - this.imageCanvas.setStyle({ - '-ms-transform' : 'rotate(' + this.rotate + 'deg)', - '-webkit-transform' : 'rotate(' + this.rotate + 'deg)', - 'transform' : 'rotate(' + this.rotate + 'deg)' - }); - - this.setCanvasPosition(); - + this.draw(); }, - crop : function() + draw : function() { - var baseRotateLevel = this.getBaseRotateLevel(); + this.previewEl.dom.innerHTML = ''; -// this['crop' + baseRotateLevel](); - Roo.log(baseRotateLevel); + var canvasEl = document.createElement("canvas"); - var canvas = document.createElement("canvas"); + var contextEl = canvasEl.getContext("2d"); - var context = canvas.getContext("2d"); + canvasEl.width = this.imageEl.OriginWidth * this.getScaleLevel(); + canvasEl.height = this.imageEl.OriginWidth * this.getScaleLevel(); + var center = this.imageEl.OriginWidth / 2; - canvas.width = this.minWidth; - canvas.height = this.minHeight; - - var centerX = this.minWidth / 2; - var centerY = this.minHeight / 2; - - var cropWidth = this.thumb.getWidth() * this.getScaleLevel(true); - var cropHeight = this.thumb.getHeight() * this.getScaleLevel(true); - - var thumbX = Math.ceil(this.thumb.getLeft(true)); - var thumbY = Math.ceil(this.thumb.getTop(true)); - - var x = (thumbX - this.imageCanvas.getLeft(true)) * this.getScaleLevel(true); - var y = (thumbY - this.imageCanvas.getTop(true)) * this.getScaleLevel(true); - - if(this.rotate == 90){ - - x = thumbY + (this.image.getWidth() - this.image.getHeight()) / 2 - this.imageCanvas.getTop(true); - y = this.image.getHeight() - this.thumb.getWidth() - (thumbX - (this.image.getWidth() - this.image.getHeight()) / 2 - this.imageCanvas.getLeft(true)); - - x = x * this.getScaleLevel(true); - y = y * this.getScaleLevel(true); - - if(this.image.OriginWidth - cropHeight < x){ - x = this.image.OriginWidth - cropHeight; - } - - if(this.image.OriginHeight - cropWidth < y){ - y = this.image.OriginHeight - cropWidth; - } - - x = x < 0 ? 0 : x; - y = y < 0 ? 0 : y; - - cropWidth = this.thumb.getHeight() * this.getScaleLevel(true); - cropHeight = this.thumb.getWidth() * this.getScaleLevel(true); - - canvas.width = this.minWidth > this.minHeight ? this.minWidth : this.minHeight; - canvas.height = this.minWidth > this.minHeight ? this.minWidth : this.minHeight; - - centerX = this.minWidth > this.minHeight ? (this.minWidth / 2) : (this.minHeight / 2); - centerY = this.minWidth > this.minHeight ? (this.minWidth / 2) : (this.minHeight / 2); - - context.translate(centerX, centerY); - context.rotate(this.rotate * Math.PI / 180); - - context.drawImage(this.image.dom, x, y, cropWidth, cropHeight, centerX * -1, centerY * -1, this.minHeight, this.minWidth); - - var canvas2 = document.createElement("canvas"); - var context2 = canvas2.getContext("2d"); - - canvas2.width = this.minWidth; - canvas2.height = this.minHeight; - - context2.drawImage(canvas, Math.abs(this.minWidth - this.minHeight), 0, this.minWidth, this.minHeight, 0, 0, this.minWidth, this.minHeight); - - this.cropImageData = canvas2.toDataURL(this.file.type); - - this.fireEvent('crop', this, this.cropImageData); - - return; + if(this.imageEl.OriginWidth < this.imageEl.OriginHeight){ + canvasEl.width = this.imageEl.OriginHeight * this.getScaleLevel(); + canvasEl.height = this.imageEl.OriginHeight * this.getScaleLevel(); + center = this.imageEl.OriginHeight / 2; } - if(this.rotate == 270){ - - x = thumbY + (this.image.getWidth() - this.image.getHeight()) / 2 - this.imageCanvas.getTop(true); - y = thumbX - (this.image.getWidth() - this.image.getHeight()) / 2 - this.imageCanvas.getLeft(true); - - x = (this.image.getWidth() - this.thumb.getHeight() - x) * this.getScaleLevel(true); - y = y * this.getScaleLevel(true); - - if(this.image.OriginWidth - cropHeight < x){ - x = this.image.OriginWidth - cropHeight; - } - - if(this.image.OriginHeight - cropWidth < y){ - y = this.image.OriginHeight - cropWidth; - } - - x = x < 0 ? 0 : x; - y = y < 0 ? 0 : y; - - cropWidth = this.thumb.getHeight() * this.getScaleLevel(true); - cropHeight = this.thumb.getWidth() * this.getScaleLevel(true); - - canvas.width = this.minWidth > this.minHeight ? this.minWidth : this.minHeight; - canvas.height = this.minWidth > this.minHeight ? this.minWidth : this.minHeight; + contextEl.scale(this.getScaleLevel(), this.getScaleLevel()); + + contextEl.translate(center, center); + contextEl.rotate(this.rotate * Math.PI / 180); - centerX = this.minWidth > this.minHeight ? (this.minWidth / 2) : (this.minHeight / 2); - centerY = this.minWidth > this.minHeight ? (this.minWidth / 2) : (this.minHeight / 2); - - context.translate(centerX, centerY); - context.rotate(this.rotate * Math.PI / 180); - - context.drawImage(this.image.dom, x, y, cropWidth, cropHeight, centerX * -1, centerY * -1, this.minHeight, this.minWidth); + contextEl.drawImage(this.imageEl, 0, 0, this.imageEl.OriginWidth, this.imageEl.OriginHeight, center * -1, center * -1, this.imageEl.OriginWidth, this.imageEl.OriginHeight); - var canvas2 = document.createElement("canvas"); - var context2 = canvas2.getContext("2d"); - - canvas2.width = this.minWidth; - canvas2.height = this.minHeight; - - context2.drawImage(canvas, 0, 0, this.minWidth, this.minHeight, 0, 0, this.minWidth, this.minHeight); - - this.cropImageData = canvas2.toDataURL(this.file.type); - - this.fireEvent('crop', this, this.cropImageData); - - return; - } + this.canvasEl = document.createElement("canvas"); - if(this.rotate == 180){ - x = this.image.OriginWidth - this.thumb.getWidth() * this.getScaleLevel(true) - x; - y = this.image.OriginHeight - this.thumb.getHeight() * this.getScaleLevel(true) - y; - } + this.contextEl = this.canvasEl.getContext("2d"); - if(this.image.OriginWidth - cropWidth < x){ - x = this.image.OriginWidth - cropWidth; - } + switch (this.rotate) { + case 0 : + + this.canvasEl.width = this.imageEl.OriginWidth * this.getScaleLevel(); + this.canvasEl.height = this.imageEl.OriginHeight * this.getScaleLevel(); + + this.contextEl.drawImage(canvasEl, 0, 0, this.canvasEl.width, this.canvasEl.height, 0, 0, this.canvasEl.width, this.canvasEl.height); + + break; + case 90 : + + this.canvasEl.width = this.imageEl.OriginHeight * this.getScaleLevel(); + this.canvasEl.height = this.imageEl.OriginWidth * this.getScaleLevel(); + + if(this.imageEl.OriginWidth > this.imageEl.OriginHeight){ + this.contextEl.drawImage(canvasEl, Math.abs(this.canvasEl.width - this.canvasEl.height), 0, this.canvasEl.width, this.canvasEl.height, 0, 0, this.canvasEl.width, this.canvasEl.height); + break; + } + + this.contextEl.drawImage(canvasEl, 0, 0, this.canvasEl.width, this.canvasEl.height, 0, 0, this.canvasEl.width, this.canvasEl.height); + + break; + case 180 : + + this.canvasEl.width = this.imageEl.OriginWidth * this.getScaleLevel(); + this.canvasEl.height = this.imageEl.OriginHeight * this.getScaleLevel(); + + if(this.imageEl.OriginWidth > this.imageEl.OriginHeight){ + this.contextEl.drawImage(canvasEl, 0, Math.abs(this.canvasEl.width - this.canvasEl.height), this.canvasEl.width, this.canvasEl.height, 0, 0, this.canvasEl.width, this.canvasEl.height); + break; + } + + this.contextEl.drawImage(canvasEl, Math.abs(this.canvasEl.width - this.canvasEl.height), 0, this.canvasEl.width, this.canvasEl.height, 0, 0, this.canvasEl.width, this.canvasEl.height); + + break; + case 270 : + + this.canvasEl.width = this.imageEl.OriginHeight * this.getScaleLevel(); + this.canvasEl.height = this.imageEl.OriginWidth * this.getScaleLevel(); - if(this.image.OriginHeight - cropHeight < y){ - y = this.image.OriginHeight - cropHeight; + if(this.imageEl.OriginWidth > this.imageEl.OriginHeight){ + this.contextEl.drawImage(canvasEl, 0, 0, this.canvasEl.width, this.canvasEl.height, 0, 0, this.canvasEl.width, this.canvasEl.height); + break; + } + + this.contextEl.drawImage(canvasEl, 0, Math.abs(this.canvasEl.width - this.canvasEl.height), this.canvasEl.width, this.canvasEl.height, 0, 0, this.canvasEl.width, this.canvasEl.height); + + break; + default : + break; } - x = x < 0 ? 0 : x; - y = y < 0 ? 0 : y; - - context.translate(centerX, centerY); - - context.rotate(this.rotate * Math.PI / 180); - - context.drawImage(this.image.dom, x, y, cropWidth, cropHeight, centerX * -1, centerY * -1, canvas.width, canvas.height); + this.previewEl.appendChild(this.canvasEl); - this.cropImageData = canvas.toDataURL(this.file.type); - - this.fireEvent('crop', this, this.cropImageData); + this.setCanvasPosition(); }, - crop0 : function() + crop : function() { var canvas = document.createElement("canvas"); @@ -24548,316 +24461,42 @@ Roo.extend(Roo.bootstrap.UploadCropbox, Roo.bootstrap.Component, { canvas.width = this.minWidth; canvas.height = this.minHeight; - var centerX = this.minWidth / 2; - var centerY = this.minHeight / 2; - - var cropWidth = this.thumb.getWidth() * this.getScaleLevel(true); - var cropHeight = this.thumb.getHeight() * this.getScaleLevel(true); - - var thumbX = Math.ceil(this.thumb.getLeft(true)); - var thumbY = Math.ceil(this.thumb.getTop(true)); - - var x = (thumbX - this.imageCanvas.getLeft(true)) * this.getScaleLevel(true); - var y = (thumbY - this.imageCanvas.getTop(true)) * this.getScaleLevel(true); - - if(this.rotate == 90){ - - x = thumbY + (this.image.getWidth() - this.image.getHeight()) / 2 - this.imageCanvas.getTop(true); - y = this.image.getHeight() - this.thumb.getWidth() - (thumbX - (this.image.getWidth() - this.image.getHeight()) / 2 - this.imageCanvas.getLeft(true)); - - x = x * this.getScaleLevel(true); - y = y * this.getScaleLevel(true); - - if(this.image.OriginWidth - cropHeight < x){ - x = this.image.OriginWidth - cropHeight; - } - - if(this.image.OriginHeight - cropWidth < y){ - y = this.image.OriginHeight - cropWidth; - } - - x = x < 0 ? 0 : x; - y = y < 0 ? 0 : y; - - cropWidth = this.thumb.getHeight() * this.getScaleLevel(true); - cropHeight = this.thumb.getWidth() * this.getScaleLevel(true); - - canvas.width = this.minWidth > this.minHeight ? this.minWidth : this.minHeight; - canvas.height = this.minWidth > this.minHeight ? this.minWidth : this.minHeight; - - centerX = this.minWidth > this.minHeight ? (this.minWidth / 2) : (this.minHeight / 2); - centerY = this.minWidth > this.minHeight ? (this.minWidth / 2) : (this.minHeight / 2); - - context.translate(centerX, centerY); - context.rotate(this.rotate * Math.PI / 180); - - context.drawImage(this.image.dom, x, y, cropWidth, cropHeight, centerX * -1, centerY * -1, this.minHeight, this.minWidth); - - var canvas2 = document.createElement("canvas"); - var context2 = canvas2.getContext("2d"); - - canvas2.width = this.minWidth; - canvas2.height = this.minHeight; - - context2.drawImage(canvas, Math.abs(this.minWidth - this.minHeight), 0, this.minWidth, this.minHeight, 0, 0, this.minWidth, this.minHeight); - - this.cropImageData = canvas2.toDataURL(this.file.type); - - this.fireEvent('crop', this, this.cropImageData); - - return; - } - - if(this.rotate == 270){ - - x = thumbY + (this.image.getWidth() - this.image.getHeight()) / 2 - this.imageCanvas.getTop(true); - y = thumbX - (this.image.getWidth() - this.image.getHeight()) / 2 - this.imageCanvas.getLeft(true); - - x = (this.image.getWidth() - this.thumb.getHeight() - x) * this.getScaleLevel(true); - y = y * this.getScaleLevel(true); - - if(this.image.OriginWidth - cropHeight < x){ - x = this.image.OriginWidth - cropHeight; - } - - if(this.image.OriginHeight - cropWidth < y){ - y = this.image.OriginHeight - cropWidth; - } - - x = x < 0 ? 0 : x; - y = y < 0 ? 0 : y; - - cropWidth = this.thumb.getHeight() * this.getScaleLevel(true); - cropHeight = this.thumb.getWidth() * this.getScaleLevel(true); - - canvas.width = this.minWidth > this.minHeight ? this.minWidth : this.minHeight; - canvas.height = this.minWidth > this.minHeight ? this.minWidth : this.minHeight; - - centerX = this.minWidth > this.minHeight ? (this.minWidth / 2) : (this.minHeight / 2); - centerY = this.minWidth > this.minHeight ? (this.minWidth / 2) : (this.minHeight / 2); - - context.translate(centerX, centerY); - context.rotate(this.rotate * Math.PI / 180); - - context.drawImage(this.image.dom, x, y, cropWidth, cropHeight, centerX * -1, centerY * -1, this.minHeight, this.minWidth); - - var canvas2 = document.createElement("canvas"); - var context2 = canvas2.getContext("2d"); - - canvas2.width = this.minWidth; - canvas2.height = this.minHeight; - - context2.drawImage(canvas, 0, 0, this.minWidth, this.minHeight, 0, 0, this.minWidth, this.minHeight); - - this.cropImageData = canvas2.toDataURL(this.file.type); - - this.fireEvent('crop', this, this.cropImageData); - - return; - } - - if(this.rotate == 180){ - x = this.image.OriginWidth - this.thumb.getWidth() * this.getScaleLevel(true) - x; - y = this.image.OriginHeight - this.thumb.getHeight() * this.getScaleLevel(true) - y; - } - - if(this.image.OriginWidth - cropWidth < x){ - x = this.image.OriginWidth - cropWidth; - } - - if(this.image.OriginHeight - cropHeight < y){ - y = this.image.OriginHeight - cropHeight; - } + var cropWidth = this.thumbEl.getWidth(); + var cropHeight = this.thumbEl.getHeight(); - x = x < 0 ? 0 : x; - y = y < 0 ? 0 : y; - - context.translate(centerX, centerY); - - context.rotate(this.rotate * Math.PI / 180); - - context.drawImage(this.image.dom, x, y, cropWidth, cropHeight, centerX * -1, centerY * -1, canvas.width, canvas.height); - - this.cropImageData = canvas.toDataURL(this.file.type); - - this.fireEvent('crop', this, this.cropImageData); - }, - - crop90 : function() - { - var canvas = document.createElement("canvas"); - - var context = canvas.getContext("2d"); - - canvas.width = this.minWidth > this.minHeight ? this.minWidth : this.minHeight; - canvas.height = this.minWidth > this.minHeight ? this.minWidth : this.minHeight; - - var centerX = this.minWidth > this.minHeight ? (this.minWidth / 2) : (this.minHeight / 2); - var centerY = this.minWidth > this.minHeight ? (this.minWidth / 2) : (this.minHeight / 2); - - var cropWidth = this.thumb.getWidth() * this.getScaleLevel(true); - var cropHeight = this.thumb.getHeight() * this.getScaleLevel(true); - - var thumbX = Math.ceil(this.thumb.getLeft(true) + this.thumb.getWidth()); - var thumbY = Math.ceil(this.thumb.getTop(true)); - - var x = (thumbY - this.imageCanvas.getTop(true)) * this.getScaleLevel(true); - var y = (thumbX - this.imageCanvas.getLeft(true)) * this.getScaleLevel(true); - - -// if(this.rotate == 90){ -// -// x = thumbY + (this.image.getWidth() - this.image.getHeight()) / 2 - this.imageCanvas.getTop(true); -// y = this.image.getHeight() - this.thumb.getWidth() - (thumbX - (this.image.getWidth() - this.image.getHeight()) / 2 - this.imageCanvas.getLeft(true)); -// -// x = x * this.getScaleLevel(true); -// y = y * this.getScaleLevel(true); -// -// if(this.image.OriginWidth - cropHeight < x){ -// x = this.image.OriginWidth - cropHeight; -// } -// -// if(this.image.OriginHeight - cropWidth < y){ -// y = this.image.OriginHeight - cropWidth; -// } -// -// x = x < 0 ? 0 : x; -// y = y < 0 ? 0 : y; -// -// cropWidth = this.thumb.getHeight() * this.getScaleLevel(true); -// cropHeight = this.thumb.getWidth() * this.getScaleLevel(true); -// -// canvas.width = this.minWidth > this.minHeight ? this.minWidth : this.minHeight; -// canvas.height = this.minWidth > this.minHeight ? this.minWidth : this.minHeight; -// -// centerX = this.minWidth > this.minHeight ? (this.minWidth / 2) : (this.minHeight / 2); -// centerY = this.minWidth > this.minHeight ? (this.minWidth / 2) : (this.minHeight / 2); -// -// context.translate(centerX, centerY); -// context.rotate(this.rotate * Math.PI / 180); -// -// context.drawImage(this.image.dom, x, y, cropWidth, cropHeight, centerX * -1, centerY * -1, this.minHeight, this.minWidth); -// -// var canvas2 = document.createElement("canvas"); -// var context2 = canvas2.getContext("2d"); -// -// canvas2.width = this.minWidth; -// canvas2.height = this.minHeight; -// -// context2.drawImage(canvas, Math.abs(this.minWidth - this.minHeight), 0, this.minWidth, this.minHeight, 0, 0, this.minWidth, this.minHeight); -// -// this.cropImageData = canvas2.toDataURL(this.file.type); -// -// this.fireEvent('crop', this, this.cropImageData); -// -// return; -// } -// -// if(this.rotate == 270){ -// -// x = thumbY + (this.image.getWidth() - this.image.getHeight()) / 2 - this.imageCanvas.getTop(true); -// y = thumbX - (this.image.getWidth() - this.image.getHeight()) / 2 - this.imageCanvas.getLeft(true); -// -// x = (this.image.getWidth() - this.thumb.getHeight() - x) * this.getScaleLevel(true); -// y = y * this.getScaleLevel(true); -// -// if(this.image.OriginWidth - cropHeight < x){ -// x = this.image.OriginWidth - cropHeight; -// } -// -// if(this.image.OriginHeight - cropWidth < y){ -// y = this.image.OriginHeight - cropWidth; -// } -// -// x = x < 0 ? 0 : x; -// y = y < 0 ? 0 : y; -// -// cropWidth = this.thumb.getHeight() * this.getScaleLevel(true); -// cropHeight = this.thumb.getWidth() * this.getScaleLevel(true); -// -// canvas.width = this.minWidth > this.minHeight ? this.minWidth : this.minHeight; -// canvas.height = this.minWidth > this.minHeight ? this.minWidth : this.minHeight; -// -// centerX = this.minWidth > this.minHeight ? (this.minWidth / 2) : (this.minHeight / 2); -// centerY = this.minWidth > this.minHeight ? (this.minWidth / 2) : (this.minHeight / 2); -// -// context.translate(centerX, centerY); -// context.rotate(this.rotate * Math.PI / 180); -// -// context.drawImage(this.image.dom, x, y, cropWidth, cropHeight, centerX * -1, centerY * -1, this.minHeight, this.minWidth); -// -// var canvas2 = document.createElement("canvas"); -// var context2 = canvas2.getContext("2d"); -// -// canvas2.width = this.minWidth; -// canvas2.height = this.minHeight; -// -// context2.drawImage(canvas, 0, 0, this.minWidth, this.minHeight, 0, 0, this.minWidth, this.minHeight); -// -// this.cropImageData = canvas2.toDataURL(this.file.type); -// -// this.fireEvent('crop', this, this.cropImageData); -// -// return; -// } -// -// if(this.rotate == 180){ -// x = this.image.OriginWidth - this.thumb.getWidth() * this.getScaleLevel(true) - x; -// y = this.image.OriginHeight - this.thumb.getHeight() * this.getScaleLevel(true) - y; -// } + var x = this.thumbEl.getLeft(true) - this.previewEl.getLeft(true); + var y = this.thumbEl.getTop(true) - this.previewEl.getTop(true); - if(this.image.OriginWidth - cropWidth < y){ - y = this.image.OriginWidth - cropWidth; + if(this.canvasEl.width - cropWidth < x){ + x = this.canvasEl.width - cropWidth; } - if(this.image.OriginHeight - cropHeight < x){ - x = this.image.OriginHeight - cropHeight; + if(this.canvasEl.height - cropHeight < y){ + y = this.canvasEl.height - cropHeight; } x = x < 0 ? 0 : x; y = y < 0 ? 0 : y; - context.translate(centerX, centerY); - - context.rotate(this.rotate * Math.PI / 180); + context.drawImage(this.canvasEl, x, y, cropWidth, cropHeight, 0, 0, canvas.width, canvas.height); - alert(x); - alert(y); - alert(cropWidth); - alert(cropHeight); - context.drawImage(this.image.dom, x, y, cropWidth, cropHeight, centerX * -1, centerY * -1, this.minHeight, this.minWidth); + this.cropData = canvas.toDataURL(this.cropType); - window.open(canvas.toDataURL(this.file.type)); - return; + this.fireEvent('crop', this, this.cropData); - var canvas2 = document.createElement("canvas"); - var context2 = canvas2.getContext("2d"); - - canvas2.width = this.minWidth; - canvas2.height = this.minHeight; - - context2.drawImage(canvas, 0, 0, this.minWidth, this.minHeight, 0, 0, this.minWidth, this.minHeight); - - this.cropImageData = canvas2.toDataURL(this.file.type); - - this.fireEvent('crop', this, this.cropImageData); - - return; }, - calcThumbBoxSize : function() + setThumbBoxSize : function() { - var width, height; - - height = 300; - width = Math.ceil(this.minWidth * height / this.minHeight); + var height = 300; + var width = Math.ceil(this.minWidth * height / this.minHeight); if(this.minWidth > this.minHeight){ width = 300; height = Math.ceil(this.minHeight * width / this.minWidth); } - this.thumb.setStyle({ + this.thumbEl.setStyle({ width : width + 'px', height : height + 'px' }); @@ -24866,60 +24505,85 @@ Roo.extend(Roo.bootstrap.UploadCropbox, Roo.bootstrap.Component, { }, - placeThumbBox : function() + setThumbBoxPosition : function() { - var x = Math.ceil((this.imageSection.getWidth() - this.thumb.getWidth()) / 2 ); - var y = Math.ceil((this.imageSection.getHeight() - this.thumb.getHeight()) / 2); + var x = Math.ceil((this.bodyEl.getWidth() - this.thumbEl.getWidth()) / 2 ); + var y = Math.ceil((this.bodyEl.getHeight() - this.thumbEl.getHeight()) / 2); - this.thumb.setLeft(x); - this.thumb.setTop(y); + this.thumbEl.setLeft(x); + this.thumbEl.setTop(y); }, - fitThumbBox : function() + baseRotateLevel : function() { - var width = this.thumb.getWidth(); - var height = this.image.OriginHeight * width / this.image.OriginWidth; - - this.baseScale = width / this.image.OriginWidth; + this.baseRotate = 1; - if(this.image.OriginWidth > this.image.OriginHeight){ - height = this.thumb.getHeight(); - width = this.image.OriginWidth * height / this.image.OriginHeight; - - this.baseScale = height / this.image.OriginHeight; + if( + typeof(this.exif) != 'undefined' && + typeof(this.exif[Roo.bootstrap.UploadCropbox['tags']['Orientation']]) != 'undefined' && + [1, 3, 6, 8].indexOf(this.exif[Roo.bootstrap.UploadCropbox['tags']['Orientation']]) != -1 + ){ + this.baseRotate = this.exif[Roo.bootstrap.UploadCropbox['tags']['Orientation']]; } - return; + this.rotate = Roo.bootstrap.UploadCropbox['Orientation'][this.baseRotate]; + }, - Orientation : function() + baseScaleLevel : function() { - this.baseRotate = 1; + var width, height; - if( - typeof(this.exif[Roo.bootstrap.UploadCropbox['tags']['Orientation']]) == 'undefined' || - [1, 3, 6, 8].indexOf(this.exif[Roo.bootstrap.UploadCropbox['tags']['Orientation']]) == -1 - ){ + if(this.baseRotate == 6 || this.baseRotate == 8){ + + width = this.thumbEl.getHeight(); + this.baseScale = height / this.imageEl.OriginHeight; + + if(this.imageEl.OriginHeight * this.baseScale < this.thumbEl.getWidth()){ + height = this.thumbEl.getWidth(); + this.baseScale = height / this.imageEl.OriginHeight; + } + + if(this.imageEl.OriginWidth > this.imageEl.OriginHeight){ + height = this.thumbEl.getWidth(); + this.baseScale = height / this.imageEl.OriginHeight; + + if(this.imageEl.OriginWidth * this.baseScale < this.thumbEl.getHeight()){ + width = this.thumbEl.getHeight(); + this.baseScale = width / this.imageEl.OriginWidth; + } + } + return; } - this.baseRotate = this.exif[Roo.bootstrap.UploadCropbox['tags']['Orientation']]; + width = this.thumbEl.getWidth(); + this.baseScale = width / this.imageEl.OriginWidth; - }, - - getBaseRotateLevel : function() - { - return (Roo.isIOS) ? Roo.bootstrap.UploadCropbox['Orientation']['iOS'][this.baseRotate] : Roo.bootstrap.UploadCropbox['Orientation']['Android'][this.baseRotate]; + if(this.imageEl.OriginHeight * this.baseScale < this.thumbEl.getHeight()){ + height = this.thumbEl.getHeight(); + this.baseScale = height / this.imageEl.OriginHeight; + } + + if(this.imageEl.OriginWidth > this.imageEl.OriginHeight){ + + height = this.thumbEl.getHeight(); + this.baseScale = height / this.imageEl.OriginHeight; + + if(this.imageEl.OriginWidth * this.baseScale < this.thumbEl.getWidth()){ + width = this.thumbEl.getWidth(); + this.baseScale = width / this.imageEl.OriginWidth; + } + + } + + return; }, - getScaleLevel : function(reverse) + getScaleLevel : function() { - if(reverse){ - return Math.pow(1.1, this.scale * -1) / this.baseScale; - } - return this.baseScale * Math.pow(1.1, this.scale); }, @@ -24951,7 +24615,7 @@ Roo.extend(Roo.bootstrap.UploadCropbox, Roo.bootstrap.Component, { var x = Math.pow(coords[0] - coords[2], 2); var y = Math.pow(coords[1] - coords[3], 2); - this.startDistance = Math.sqrt(x + y); + this.startDistance = Math.sqrt(x + y); this.startScale = this.scale; @@ -24988,22 +24652,22 @@ Roo.extend(Roo.bootstrap.UploadCropbox, Roo.bootstrap.Component, { var x = Math.pow(coords[0] - coords[2], 2); var y = Math.pow(coords[1] - coords[3], 2); - this.endDistance = Math.sqrt(x + y); + this.endDistance = Math.sqrt(x + y); var scale = this.startScale + Math.floor(Math.log(this.endDistance / this.startDistance) / Math.log(1.1)); - var width = Math.ceil(this.image.OriginWidth * this.baseScale * Math.pow(1.1, scale)); - var height = Math.ceil(this.image.OriginHeight * this.baseScale * Math.pow(1.1, scale)); + var width = Math.ceil(this.imageEl.OriginWidth * this.baseScale * Math.pow(1.1, scale)); + var height = Math.ceil(this.imageEl.OriginHeight * this.baseScale * Math.pow(1.1, scale)); if( this.endDistance / this.startDistance < 1 && ( ( - (this.rotate == 0 || this.rotate == 180) && (width < this.thumb.getWidth() || height < this.thumb.getHeight()) + (this.rotate == 0 || this.rotate == 180) && (width < this.thumbEl.getWidth() || height < this.thumbEl.getHeight()) ) || ( - (this.rotate == 90 || this.rotate == 270) && (height < this.thumb.getWidth() || width < this.thumb.getHeight()) + (this.rotate == 90 || this.rotate == 270) && (height < this.thumbEl.getWidth() || width < this.thumbEl.getHeight()) ) ) ){ @@ -25012,11 +24676,7 @@ Roo.extend(Roo.bootstrap.UploadCropbox, Roo.bootstrap.Component, { this.scale = scale; - this.image.setWidth(width); - this.image.setHeight(height); - - this.setCanvasPosition(); - + this.draw(); }, @@ -25030,20 +24690,22 @@ Roo.extend(Roo.bootstrap.UploadCropbox, Roo.bootstrap.Component, { }, prepare : function(input) - { - if(!input.files || !input.files[0]){ + { + this.file = false; + this.exif = {}; + + if(typeof(input) === 'string'){ + this.loadCanvas(input); return; } - this.file = input.files[0]; - - var noMetaData = !(window.DataView && this.file && this.file.size >= 12 && this.file.type === 'image/jpeg'); - - if(noMetaData){ // ??? only for jpeg ??? - Roo.log('noMetaData'); + if(!input.files || !input.files[0] || !this.urlAPI){ return; } + this.file = input.files[0]; + this.cropType = this.file.type; + var _this = this; if(this.fireEvent('prepare', this, this.file) != false){ @@ -25092,15 +24754,9 @@ Roo.extend(Roo.bootstrap.UploadCropbox, Roo.bootstrap.Component, { } - var urlAPI = (window.createObjectURL && window) || (window.URL && URL.revokeObjectURL && URL) || (window.webkitURL && webkitURL); - - if(!urlAPI){ - return; - } - - var url = urlAPI.createObjectURL(_this.file); + var url = _this.urlAPI.createObjectURL(_this.file); - _this.loadCanvasImage(url); + _this.loadCanvas(url); return; } @@ -25261,7 +24917,6 @@ Roo.apply(Roo.bootstrap.UploadCropbox, { }, Orientation: { - iOS : { 1: 0, //'top-left', // 2: 'top-right', 3: 180, //'bottom-right', @@ -25270,17 +24925,6 @@ Roo.apply(Roo.bootstrap.UploadCropbox, { 6: 90, //'right-top', // 7: 'right-bottom', 8: 270 //'left-bottom' - }, - Android : { - 1: 0, //'top-left', -// 2: 'top-right', - 3: 180, //'bottom-right', -// 4: 'bottom-left', -// 5: 'left-top', - 6: 270, //'right-top', -// 7: 'right-bottom', - 8: 90 //'left-bottom' - } }, exifTagTypes : { diff --git a/roojs-bootstrap.js b/roojs-bootstrap.js index 1fd88d1809..2e95e7a042 100644 --- a/roojs-bootstrap.js +++ b/roojs-bootstrap.js @@ -529,7 +529,7 @@ this.tickItems.push(d.data);}G.on('click',this.onTouchViewClick,this,{row:G,rowI if(this.fieldLabel.length){D=D-this.touchViewHeaderEl.getHeight();}var E=this.touchViewListGroup.getHeight();if(C&&E>D){(function(){C.findParent('li').scrollIntoView(this.touchViewListGroup.dom);}).defer(500);}},onTouchViewLoadException:function(){this.hideTouchView(); },onTouchViewEmptyResults:function(){this.clearTouchView();this.touchViewListGroup.createChild(Roo.bootstrap.ComboBox.emptyResult);this.touchViewListGroup.select('.roo-combobox-touch-view-empty-result',true).first().dom.innerHTML=this.emptyResultText;},clearTouchView:function(){this.touchViewListGroup.dom.innerHTML=''; },onTouchViewClick:function(e,el,o){e.preventDefault();var A=o.row;var B=o.rowIndex;var r=this.store.getAt(B);if(!this.multiple){Roo.each(this.touchViewListGroup.select('.list-group-item > .roo-combobox-list-group-item-box > input:checked',true).elements,function(c){c.dom.removeAttribute('checked'); -},this);A.select('.roo-combobox-list-group-item-box > input',true).first().attr('checked',true);this.setFromData(r.data);var C=this.closeTriggerEl();if(C){C.show();}this.hideTouchView();return;}if(this.valueField&&typeof(r.data[this.valueField])!='undefined'&&this.getValue().indexOf(r.data[this.valueField])!=-1){A.select('.roo-combobox-list-group-item-box > input',true).first().dom.removeAttribute('checked'); +},this);A.select('.roo-combobox-list-group-item-box > input',true).first().attr('checked',true);this.setFromData(r.data);var C=this.closeTriggerEl();if(C){C.show();}this.hideTouchView();this.fireEvent('select',this,r,B);return;}if(this.valueField&&typeof(r.data[this.valueField])!='undefined'&&this.getValue().indexOf(r.data[this.valueField])!=-1){A.select('.roo-combobox-list-group-item-box > input',true).first().dom.removeAttribute('checked'); this.tickItems.splice(this.tickItems.indexOf(r.data),1);return;}A.select('.roo-combobox-list-group-item-box > input',true).first().attr('checked',true);this.addItem(r.data);this.tickItems.push(r.data);}});Roo.apply(Roo.bootstrap.ComboBox,{header:{tag:'div',cls:'modal-header',cn:[{tag:'h4',cls:'modal-title'}]},body:{tag:'div',cls:'modal-body',cn:[{tag:'ul',cls:'list-group'}]},listItemRadio:{tag:'li',cls:'list-group-item',cn:[{tag:'span',cls:'roo-combobox-list-group-item-value'},{tag:'div',cls:'roo-combobox-list-group-item-box pull-xs-right radio-inline radio radio-info',cn:[{tag:'input',type:'radio'},{tag:'label'}]}]},listItemCheckbox:{tag:'li',cls:'list-group-item',cn:[{tag:'span',cls:'roo-combobox-list-group-item-value'},{tag:'div',cls:'roo-combobox-list-group-item-box pull-xs-right checkbox-inline checkbox checkbox-info',cn:[{tag:'input',type:'checkbox'},{tag:'label'}]}]},emptyResult:{tag:'div',cls:'alert alert-danger roo-combobox-touch-view-empty-result'},footer:{tag:'div',cls:'modal-footer',cn:[{tag:'div',cls:'row',cn:[{tag:'div',cls:'col-xs-6 text-left',cn:{tag:'button',cls:'btn btn-danger roo-touch-view-cancel',html:'Cancel'}},{tag:'div',cls:'col-xs-6 text-right',cn:{tag:'button',cls:'btn btn-success roo-touch-view-ok',html:'OK'}}]}]}}); Roo.apply(Roo.bootstrap.ComboBox,{touchViewTemplate:{tag:'div',cls:'modal fade roo-combobox-touch-view',cn:[{tag:'div',cls:'modal-dialog',cn:[{tag:'div',cls:'modal-content',cn:[Roo.bootstrap.ComboBox.header,Roo.bootstrap.ComboBox.body,Roo.bootstrap.ComboBox.footer]}]}]}}); @@ -980,78 +980,56 @@ if(this.faicon){A.cn[0].cls+=' fa '+this.faicon;}if(this.weight){A.cls+=' alert- },setIcon:function(A){if(this.faicon){this.el.select('.roo-alert-icon',true).first().removeClass(['fa','fa-'+this.faicon]);}this.faicon=Athis.el.select('.roo-alert-icon',true).first().addClass(['fa','fa-'+this.faicon]);},hide:function(){this.el.hide();},show:function(){this.el.show(); }}); // Roo/bootstrap/UploadCropbox.js -Roo.bootstrap.UploadCropbox=function(A){Roo.bootstrap.UploadCropbox.superclass.constructor.call(this,A);this.addEvents({"beforeselectfile":true,"initial":true,"crop":true,"prepare":true,"exception":true,"beforeloadimage":true});};Roo.extend(Roo.bootstrap.UploadCropbox,Roo.bootstrap.Component,{emptyText:'Click to upload image',scale:0,baseScale:1,rotate:0,dragable:false,pinching:false,mouseX:0,mouseY:0,cropImageData:false,minWidth:300,minHeight:300,file:false,exif:{},baseRotate:1,getAutoCreate:function(){var A={tag:'div',cls:'roo-upload-cropbox',cn:[{tag:'div',cls:'roo-upload-cropbox-image-section',cn:[{tag:'div',cls:'roo-upload-cropbox-canvas',cn:[{tag:'img',cls:'roo-upload-cropbox-image'}]},{tag:'div',cls:'roo-upload-cropbox-thumb'},{tag:'div',cls:'roo-upload-cropbox-empty-notify',html:this.emptyText}]},{tag:'div',cls:'roo-upload-cropbox-footer-section',cn:{tag:'div',cls:'btn-group btn-group-justified roo-upload-cropbox-btn-group',cn:[{tag:'div',cls:'btn-group',cn:[{tag:'button',cls:'btn btn-default roo-upload-cropbox-rotate-left',html:''}]},{tag:'div',cls:'btn-group',cn:[{tag:'button',cls:'btn btn-default roo-upload-cropbox-picture',html:''}]},{tag:'div',cls:'btn-group',cn:[{tag:'button',cls:'btn btn-default roo-upload-cropbox-rotate-right',html:''}]}]}}]}; -return A;},initEvents:function(){this.imageSection=this.el.select('.roo-upload-cropbox-image-section',true).first();this.imageSection.setVisibilityMode(Roo.Element.DISPLAY).originalDisplay='block';this.imageCanvas=this.el.select('.roo-upload-cropbox-canvas',true).first(); -this.imageCanvas.setVisibilityMode(Roo.Element.DISPLAY).originalDisplay='block';this.image=this.el.select('.roo-upload-cropbox-image',true).first();this.image.setVisibilityMode(Roo.Element.DISPLAY).originalDisplay='block';this.thumb=this.el.select('.roo-upload-cropbox-thumb',true).first(); -this.thumb.setVisibilityMode(Roo.Element.DISPLAY).originalDisplay='block';this.thumb.hide();this.emptyNotify=this.el.select('.roo-upload-cropbox-empty-notify',true).first();this.emptyNotify.setVisibilityMode(Roo.Element.DISPLAY).originalDisplay='block';this.footerSection=this.el.select('.roo-upload-cropbox-footer-section',true).first(); -this.footerSection.setVisibilityMode(Roo.Element.DISPLAY).originalDisplay='block';this.footerSection.hide();this.rotateLeft=this.el.select('.roo-upload-cropbox-rotate-left',true).first();this.rotateLeft.setVisibilityMode(Roo.Element.DISPLAY).originalDisplay='block'; -this.pictureBtn=this.el.select('.roo-upload-cropbox-picture',true).first();this.pictureBtn.setVisibilityMode(Roo.Element.DISPLAY).originalDisplay='block';this.rotateRight=this.el.select('.roo-upload-cropbox-rotate-right',true).first();this.rotateRight.setVisibilityMode(Roo.Element.DISPLAY).originalDisplay='block'; -this.calcThumbBoxSize();this.bind();this.fireEvent('initial',this);},bind:function(){this.image.on('load',this.onLoadCanvasImage,this);if(!this.imageSectionHasOnClickEvent){this.imageSection.on('click',this.beforeSelectFile,this);this.imageSectionHasOnClickEvent=true; -}if(Roo.isTouch){this.imageSection.on('touchstart',this.onTouchStart,this);this.imageSection.on('touchmove',this.onTouchMove,this);this.imageSection.on('touchend',this.onTouchEnd,this);}if(!Roo.isTouch){this.imageSection.on('mousedown',this.onMouseDown,this); -this.imageSection.on('mousemove',this.onMouseMove,this);var A=(/Firefox/i.test(navigator.userAgent))?'DOMMouseScroll':'mousewheel';this.imageSection.on(A,this.onMouseWheel,this);Roo.get(document).on('mouseup',this.onMouseUp,this);}this.pictureBtn.on('click',this.beforeSelectFile,this); -this.rotateLeft.on('click',this.onRotateLeft,this);this.rotateRight.on('click',this.onRotateRight,this);},reset:function(){this.scale=0;this.baseScale=1;this.rotate=0;this.dragable=false;this.pinching=false;this.mouseX=0;this.mouseY=0;this.cropImageData=false; -this.imageCanvas.dom.removeAttribute('style');this.image.dom.removeAttribute('style');this.image.attr('src','');if(!this.imageSectionHasOnClickEvent){this.imageSection.on('click',this.beforeSelectFile,this);this.imageSectionHasOnClickEvent=true;}},beforeSelectFile:function(e){e.preventDefault(); -this.fireEvent('beforeselectfile',this);},loadCanvasImage:function(A){if(this.fireEvent('beforeloadimage',this,A)!=false){this.reset();this.image.attr('src',A);}},onLoadCanvasImage:function(A){this.emptyNotify.hide();this.thumb.show();this.footerSection.show(); -this.placeThumbBox();this.Orientation();if(this.imageSectionHasOnClickEvent){this.imageSection.un('click',this.beforeSelectFile,this);this.imageSectionHasOnClickEvent=false;}this.image.OriginWidth=this.image.getWidth();this.image.OriginHeight=this.image.getHeight(); -this.fitThumbBox();this.image.setWidth(Math.ceil(this.image.OriginWidth*this.getScaleLevel(false)));this.image.setHeight(Math.ceil(this.image.OriginHeight*this.getScaleLevel(false)));this.setCanvasPosition();},setCanvasPosition:function(){var pw=Math.ceil((this.imageSection.getWidth()-this.image.getWidth())/2); -var ph=Math.ceil((this.imageSection.getHeight()-this.image.getHeight())/2);this.imageCanvas.setLeft(pw);this.imageCanvas.setTop(ph);},onMouseDown:function(e){e.stopEvent();this.dragable=true;this.pinching=false;this.mouseX=Roo.isTouch?e.browserEvent.touches[0].pageX:e.getPageX(); -this.mouseY=Roo.isTouch?e.browserEvent.touches[0].pageY:e.getPageY();},onMouseMove:function(e){e.stopEvent();if(!this.dragable){return;}var A=Math.ceil(this.thumb.getLeft(true));var B=Math.ceil(this.thumb.getTop(true));var C=Math.ceil(A+this.thumb.getWidth()-this.image.getWidth()); -var D=Math.ceil(B+this.thumb.getHeight()-this.image.getHeight());if(this.rotate==90||this.rotate==270){A=Math.ceil(this.thumb.getLeft(true)-(this.image.getWidth()-this.image.getHeight())/2);B=Math.ceil(this.thumb.getTop(true)+(this.image.getWidth()-this.image.getHeight())/2); -C=Math.ceil(A+this.thumb.getWidth()-this.image.getHeight());D=Math.ceil(B+this.thumb.getHeight()-this.image.getWidth());}var x=Roo.isTouch?e.browserEvent.touches[0].pageX:e.getPageX();var y=Roo.isTouch?e.browserEvent.touches[0].pageY:e.getPageY();x=x-this.mouseX; -y=y-this.mouseY;var E=Math.ceil(x+this.imageCanvas.getLeft(true));var F=Math.ceil(y+this.imageCanvas.getTop(true));E=(AE)?C:E);F=(BF)?D:F);this.imageCanvas.setLeft(E);this.imageCanvas.setTop(F);this.mouseX=Roo.isTouch?e.browserEvent.touches[0].pageX:e.getPageX(); -this.mouseY=Roo.isTouch?e.browserEvent.touches[0].pageY:e.getPageY();},onMouseUp:function(e){e.stopEvent();this.dragable=false;},onMouseWheel:function(e){e.stopEvent();this.scale=(e.getWheelDelta()==1)?(this.scale+1):(this.scale-1);var A=Math.ceil(this.image.OriginWidth*this.getScaleLevel(false)); -var B=Math.ceil(this.image.OriginHeight*this.getScaleLevel(false));if(e.getWheelDelta()==-1&&(((this.rotate==0||this.rotate==180)&&(A180)?0:this.rotate+90;this.imageCanvas.setStyle({'-ms-transform':'rotate('+this.rotate+'deg)','-webkit-transform':'rotate('+this.rotate+'deg)','transform':'rotate('+this.rotate+'deg)'});this.setCanvasPosition();},crop:function(){var A=this.getBaseRotateLevel(); -Roo.log(A);var B=document.createElement("canvas");var C=B.getContext("2d");B.width=this.minWidth;B.height=this.minHeight;var D=this.minWidth/2;var E=this.minHeight/2;var F=this.thumb.getWidth()*this.getScaleLevel(true);var G=this.thumb.getHeight()*this.getScaleLevel(true); -var H=Math.ceil(this.thumb.getLeft(true));var I=Math.ceil(this.thumb.getTop(true));var x=(H-this.imageCanvas.getLeft(true))*this.getScaleLevel(true);var y=(I-this.imageCanvas.getTop(true))*this.getScaleLevel(true);if(this.rotate==90){x=I+(this.image.getWidth()-this.image.getHeight())/2-this.imageCanvas.getTop(true); -y=this.image.getHeight()-this.thumb.getWidth()-(H-(this.image.getWidth()-this.image.getHeight())/2-this.imageCanvas.getLeft(true));x=x*this.getScaleLevel(true);y=y*this.getScaleLevel(true);if(this.image.OriginWidth-Gthis.minHeight?this.minWidth:this.minHeight;B.height=this.minWidth>this.minHeight?this.minWidth:this.minHeight;D=this.minWidth>this.minHeight?(this.minWidth/2):(this.minHeight/2); -E=this.minWidth>this.minHeight?(this.minWidth/2):(this.minHeight/2);C.translate(D,E);C.rotate(this.rotate*Math.PI/180);C.drawImage(this.image.dom,x,y,F,G,D*-1,E*-1,this.minHeight,this.minWidth);var J=document.createElement("canvas");var K=J.getContext("2d"); -J.width=this.minWidth;J.height=this.minHeight;K.drawImage(B,Math.abs(this.minWidth-this.minHeight),0,this.minWidth,this.minHeight,0,0,this.minWidth,this.minHeight);this.cropImageData=J.toDataURL(this.file.type);this.fireEvent('crop',this,this.cropImageData); -return;}if(this.rotate==270){x=I+(this.image.getWidth()-this.image.getHeight())/2-this.imageCanvas.getTop(true);y=H-(this.image.getWidth()-this.image.getHeight())/2-this.imageCanvas.getLeft(true);x=(this.image.getWidth()-this.thumb.getHeight()-x)*this.getScaleLevel(true); -y=y*this.getScaleLevel(true);if(this.image.OriginWidth-Gthis.minHeight?this.minWidth:this.minHeight;B.height=this.minWidth>this.minHeight?this.minWidth:this.minHeight;D=this.minWidth>this.minHeight?(this.minWidth/2):(this.minHeight/2);E=this.minWidth>this.minHeight?(this.minWidth/2):(this.minHeight/2); -C.translate(D,E);C.rotate(this.rotate*Math.PI/180);C.drawImage(this.image.dom,x,y,F,G,D*-1,E*-1,this.minHeight,this.minWidth);var J=document.createElement("canvas");var K=J.getContext("2d");J.width=this.minWidth;J.height=this.minHeight;K.drawImage(B,0,0,this.minWidth,this.minHeight,0,0,this.minWidth,this.minHeight); -this.cropImageData=J.toDataURL(this.file.type);this.fireEvent('crop',this,this.cropImageData);return;}if(this.rotate==180){x=this.image.OriginWidth-this.thumb.getWidth()*this.getScaleLevel(true)-x;y=this.image.OriginHeight-this.thumb.getHeight()*this.getScaleLevel(true)-y; -}if(this.image.OriginWidth-Fthis.minHeight?this.minWidth:this.minHeight;A.height=this.minWidth>this.minHeight?this.minWidth:this.minHeight;C=this.minWidth>this.minHeight?(this.minWidth/2):(this.minHeight/2);D=this.minWidth>this.minHeight?(this.minWidth/2):(this.minHeight/2); -B.translate(C,D);B.rotate(this.rotate*Math.PI/180);B.drawImage(this.image.dom,x,y,E,F,C*-1,D*-1,this.minHeight,this.minWidth);var I=document.createElement("canvas");var J=I.getContext("2d");I.width=this.minWidth;I.height=this.minHeight;J.drawImage(A,Math.abs(this.minWidth-this.minHeight),0,this.minWidth,this.minHeight,0,0,this.minWidth,this.minHeight); -this.cropImageData=I.toDataURL(this.file.type);this.fireEvent('crop',this,this.cropImageData);return;}if(this.rotate==270){x=H+(this.image.getWidth()-this.image.getHeight())/2-this.imageCanvas.getTop(true);y=G-(this.image.getWidth()-this.image.getHeight())/2-this.imageCanvas.getLeft(true); -x=(this.image.getWidth()-this.thumb.getHeight()-x)*this.getScaleLevel(true);y=y*this.getScaleLevel(true);if(this.image.OriginWidth-Fthis.minHeight?this.minWidth:this.minHeight;A.height=this.minWidth>this.minHeight?this.minWidth:this.minHeight;C=this.minWidth>this.minHeight?(this.minWidth/2):(this.minHeight/2);D=this.minWidth>this.minHeight?(this.minWidth/2):(this.minHeight/2); -B.translate(C,D);B.rotate(this.rotate*Math.PI/180);B.drawImage(this.image.dom,x,y,E,F,C*-1,D*-1,this.minHeight,this.minWidth);var I=document.createElement("canvas");var J=I.getContext("2d");I.width=this.minWidth;I.height=this.minHeight;J.drawImage(A,0,0,this.minWidth,this.minHeight,0,0,this.minWidth,this.minHeight); -this.cropImageData=I.toDataURL(this.file.type);this.fireEvent('crop',this,this.cropImageData);return;}if(this.rotate==180){x=this.image.OriginWidth-this.thumb.getWidth()*this.getScaleLevel(true)-x;y=this.image.OriginHeight-this.thumb.getHeight()*this.getScaleLevel(true)-y; -}if(this.image.OriginWidth-Ethis.minHeight?this.minWidth:this.minHeight;A.height=this.minWidth>this.minHeight?this.minWidth:this.minHeight; -var C=this.minWidth>this.minHeight?(this.minWidth/2):(this.minHeight/2);var D=this.minWidth>this.minHeight?(this.minWidth/2):(this.minHeight/2);var E=this.thumb.getWidth()*this.getScaleLevel(true);var F=this.thumb.getHeight()*this.getScaleLevel(true);var G=Math.ceil(this.thumb.getLeft(true)+this.thumb.getWidth()); -var H=Math.ceil(this.thumb.getTop(true));var x=(H-this.imageCanvas.getTop(true))*this.getScaleLevel(true);var y=(G-this.imageCanvas.getLeft(true))*this.getScaleLevel(true);if(this.image.OriginWidth-Ethis.minHeight){A=300;B=Math.ceil(this.minHeight*A/this.minWidth);}this.thumb.setStyle({width:A+'px',height:B+'px'});return;},placeThumbBox:function(){var x=Math.ceil((this.imageSection.getWidth()-this.thumb.getWidth())/2); -var y=Math.ceil((this.imageSection.getHeight()-this.thumb.getHeight())/2);this.thumb.setLeft(x);this.thumb.setTop(y);},fitThumbBox:function(){var A=this.thumb.getWidth();var B=this.image.OriginHeight*A/this.image.OriginWidth;this.baseScale=A/this.image.OriginWidth; -if(this.image.OriginWidth>this.image.OriginHeight){B=this.thumb.getHeight();A=this.image.OriginWidth*B/this.image.OriginHeight;this.baseScale=B/this.image.OriginHeight;}return;},Orientation:function(){this.baseRotate=1;if(typeof(this.exif[Roo.bootstrap.UploadCropbox['tags']['Orientation']])=='undefined'||[1,3,6,8].indexOf(this.exif[Roo.bootstrap.UploadCropbox['tags']['Orientation']])==-1){return; -}this.baseRotate=this.exif[Roo.bootstrap.UploadCropbox['tags']['Orientation']];},getBaseRotateLevel:function(){return (Roo.isIOS)?Roo.bootstrap.UploadCropbox['Orientation']['iOS'][this.baseRotate]:Roo.bootstrap.UploadCropbox['Orientation']['Android'][this.baseRotate]; -},getScaleLevel:function(A){if(A){return Math.pow(1.1,this.scale*-1)/this.baseScale;}return this.baseScale*Math.pow(1.1,this.scale);},onTouchStart:function(e){e.stopEvent();var A=e.browserEvent.touches;if(!A){return;}if(A.length==1){this.onMouseDown(e);return; -}if(A.length!=2){return;}var B=[];for(var i=0,C;C=A[i];i++){B.push(C.pageX,C.pageY);}var x=Math.pow(B[0]-B[2],2);var y=Math.pow(B[1]-B[3],2);this.startDistance=Math.sqrt(x+y);this.startScale=this.scale;this.pinching=true;this.dragable=false;},onTouchMove:function(e){e.stopEvent(); -if(!this.pinching&&!this.dragable){return;}var A=e.browserEvent.touches;if(!A){return;}if(this.dragable){this.onMouseMove(e);return;}var B=[];for(var i=0,C;C=A[i];i++){B.push(C.pageX,C.pageY);}var x=Math.pow(B[0]-B[2],2);var y=Math.pow(B[1]-B[3],2);this.endDistance=Math.sqrt(x+y); -var D=this.startScale+Math.floor(Math.log(this.endDistance/this.startDistance)/Math.log(1.1));var E=Math.ceil(this.image.OriginWidth*this.baseScale*Math.pow(1.1,D));var F=Math.ceil(this.image.OriginHeight*this.baseScale*Math.pow(1.1,D));if(this.endDistance/this.startDistance<1&&(((this.rotate==0||this.rotate==180)&&(E=12&&this.file.type==='image/jpeg'); -if(B){Roo.log('noMetaData');return;}var C=this;if(this.fireEvent('prepare',this,this.file)!=false){var D=new FileReader();D.onload=function(e){if(e.target.error){Roo.log(e.target.error);return;}var E=e.target.result,F=new DataView(E),G=2,H=F.byteLength-4,I,J; -if(F.getUint16(0)===0xffd8){while(G=0xffe0&&I<=0xffef)||I===0xfffe){J=F.getUint16(G+2)+2;if(G+J>F.byteLength){Roo.log('Invalid meta data: Invalid segment size.');break;}if(I==0xffe1){C.parseExifData(F,G,J);}G+=J;continue;}break; -}}var K=(window.createObjectURL&&window)||(window.URL&&URL.revokeObjectURL&&URL)||(window.webkitURL&&webkitURL);if(!K){return;}var L=K.createObjectURL(C.file);C.loadCanvasImage(L);return;};D.readAsArrayBuffer(this.file);}},parseExifData:function(A,B,C){var D=B+10,E,F; -if(A.getUint32(B+4)!==0x45786966){return;}if(A.getUint32(B+4)!==0x45786966){return;}if(D+8>A.byteLength){Roo.log('Invalid Exif data: Invalid segment size.');return;}if(A.getUint16(B+8)!==0x0000){Roo.log('Invalid Exif data: Missing byte alignment offset.'); -return;}switch(A.getUint16(D)){case 0x4949:E=true;break;case 0x4D4D:E=false;break;default:Roo.log('Invalid Exif data: Invalid byte alignment marker.');return;}if(A.getUint16(D+2,E)!==0x002A){Roo.log('Invalid Exif data: Missing TIFF marker.');return;}F=A.getUint32(D+4,E); -this.parseExifTags(A,D,D+F,E);},parseExifTags:function(A,B,C,D){var E,F,i;if(C+6>A.byteLength){Roo.log('Invalid Exif data: Invalid directory offset.');return;}E=A.getUint16(C,D);F=C+2+12*E;if(F+4>A.byteLength){Roo.log('Invalid Exif data: Invalid directory size.'); -return;}for(i=0;i4?B+A.getUint32(C+8,F):(C+8);if(I+H>A.byteLength){Roo.log('Invalid Exif data: Invalid data offset.');return;}if(E===1){return G.getValue(A,I,F);}J=[];for(i=0;i'}]},{tag:'div',cls:'btn-group',cn:[{tag:'button',cls:'btn btn-default roo-upload-cropbox-picture',html:''}]},{tag:'div',cls:'btn-group',cn:[{tag:'button',cls:'btn btn-default roo-upload-cropbox-rotate-right',html:''}]}]}}]}; +return A;},initEvents:function(){this.urlAPI=(window.createObjectURL&&window)||(window.URL&&URL.revokeObjectURL&&URL)||(window.webkitURL&&webkitURL);this.bodyEl=this.el.select('.roo-upload-cropbox-body',true).first();this.bodyEl.setVisibilityMode(Roo.Element.DISPLAY).originalDisplay='block'; +this.bodyHasOnClickEvent=false;this.previewEl=this.el.select('.roo-upload-cropbox-preview',true).first();this.previewEl.setVisibilityMode(Roo.Element.DISPLAY).originalDisplay='block';this.thumbEl=this.el.select('.roo-upload-cropbox-thumb',true).first();this.thumbEl.setVisibilityMode(Roo.Element.DISPLAY).originalDisplay='block'; +this.thumbEl.hide();this.notifyEl=this.el.select('.roo-upload-cropbox-empty-notify',true).first();this.notifyEl.setVisibilityMode(Roo.Element.DISPLAY).originalDisplay='block';this.footerEl=this.el.select('.roo-upload-cropbox-footer',true).first();this.footerEl.setVisibilityMode(Roo.Element.DISPLAY).originalDisplay='block'; +this.footerEl.hide();this.rotateLeft=this.el.select('.roo-upload-cropbox-rotate-left',true).first();this.rotateLeft.setVisibilityMode(Roo.Element.DISPLAY).originalDisplay='block';this.pictureBtn=this.el.select('.roo-upload-cropbox-picture',true).first();this.pictureBtn.setVisibilityMode(Roo.Element.DISPLAY).originalDisplay='block'; +this.rotateRight=this.el.select('.roo-upload-cropbox-rotate-right',true).first();this.rotateRight.setVisibilityMode(Roo.Element.DISPLAY).originalDisplay='block';this.setThumbBoxSize();this.bind();this.fireEvent('initial',this);},bind:function(){var A=this; +window.addEventListener("resize",function(){A.resize();});if(!this.bodyHasOnClickEvent){this.bodyEl.on('click',this.beforeSelectFile,this);this.bodyHasOnClickEvent=true;}if(Roo.isTouch){this.bodyEl.on('touchstart',this.onTouchStart,this);this.bodyEl.on('touchmove',this.onTouchMove,this); +this.bodyEl.on('touchend',this.onTouchEnd,this);}if(!Roo.isTouch){this.bodyEl.on('mousedown',this.onMouseDown,this);this.bodyEl.on('mousemove',this.onMouseMove,this);var B=(/Firefox/i.test(navigator.userAgent))?'DOMMouseScroll':'mousewheel';this.bodyEl.on(B,this.onMouseWheel,this); +Roo.get(document).on('mouseup',this.onMouseUp,this);}this.pictureBtn.on('click',this.beforeSelectFile,this);this.rotateLeft.on('click',this.onRotateLeft,this);this.rotateRight.on('click',this.onRotateRight,this);},reset:function(){this.scale=0;this.baseScale=1; +this.rotate=0;this.baseRotate=1;this.dragable=false;this.pinching=false;this.mouseX=0;this.mouseY=0;this.cropData=false;},resize:function(){this.setThumbBoxPosition();this.setCanvasPosition();},beforeSelectFile:function(e){e.preventDefault();this.fireEvent('beforeselectfile',this); +},loadCanvas:function(A){if(this.fireEvent('beforeloadcanvas',this,A)!=false){this.reset();this.imageEl=document.createElement('img');var B=this;this.imageEl.addEventListener("load",function(){B.onLoadCanvas();});this.imageEl.src=A;}},onLoadCanvas:function(){if(this.bodyHasOnClickEvent){this.bodyEl.un('click',this.beforeSelectFile,this); +this.bodyHasOnClickEvent=false;}this.notifyEl.hide();this.thumbEl.show();this.footerEl.show();this.imageEl.OriginWidth=this.imageEl.naturalWidth||this.imageEl.width;this.imageEl.OriginHeight=this.imageEl.naturalHeight||this.imageEl.height;this.setThumbBoxPosition(); +this.baseRotateLevel();this.baseScaleLevel();this.draw();},setCanvasPosition:function(){var pw=Math.ceil((this.bodyEl.getWidth()-this.canvasEl.width)/2);var ph=Math.ceil((this.bodyEl.getHeight()-this.canvasEl.height)/2);this.previewEl.setLeft(pw);this.previewEl.setTop(ph); +},onMouseDown:function(e){e.stopEvent();this.dragable=true;this.pinching=false;this.mouseX=Roo.isTouch?e.browserEvent.touches[0].pageX:e.getPageX();this.mouseY=Roo.isTouch?e.browserEvent.touches[0].pageY:e.getPageY();},onMouseMove:function(e){e.stopEvent(); +if(!this.dragable){return;}var A=Math.ceil(this.thumbEl.getLeft(true));var B=Math.ceil(this.thumbEl.getTop(true));var C=Math.ceil(A+this.thumbEl.getWidth()-this.canvasEl.width);var D=Math.ceil(B+this.thumbEl.getHeight()-this.canvasEl.height);var x=Roo.isTouch?e.browserEvent.touches[0].pageX:e.getPageX(); +var y=Roo.isTouch?e.browserEvent.touches[0].pageY:e.getPageY();x=x-this.mouseX;y=y-this.mouseY;var E=Math.ceil(x+this.previewEl.getLeft(true));var F=Math.ceil(y+this.previewEl.getTop(true));E=(AE)?C:E);F=(BF)?D:F);this.previewEl.setLeft(E); +this.previewEl.setTop(F);this.mouseX=Roo.isTouch?e.browserEvent.touches[0].pageX:e.getPageX();this.mouseY=Roo.isTouch?e.browserEvent.touches[0].pageY:e.getPageY();},onMouseUp:function(e){e.stopEvent();this.dragable=false;},onMouseWheel:function(e){e.stopEvent(); +this.scale=(e.getWheelDelta()==1)?(this.scale+1):(this.scale-1);var A=Math.ceil(this.imageEl.OriginWidth*this.getScaleLevel());var B=Math.ceil(this.imageEl.OriginHeight*this.getScaleLevel());if(e.getWheelDelta()==-1&&(((this.rotate==0||this.rotate==180)&&(A180)?0:this.rotate+90;this.draw();},draw:function(){this.previewEl.dom.innerHTML='';var A=document.createElement("canvas");var B=A.getContext("2d");A.width=this.imageEl.OriginWidth*this.getScaleLevel();A.height=this.imageEl.OriginWidth*this.getScaleLevel(); +var C=this.imageEl.OriginWidth/2;if(this.imageEl.OriginWidththis.imageEl.OriginHeight){this.contextEl.drawImage(A,Math.abs(this.canvasEl.width-this.canvasEl.height),0,this.canvasEl.width,this.canvasEl.height,0,0,this.canvasEl.width,this.canvasEl.height); +break;}this.contextEl.drawImage(A,0,0,this.canvasEl.width,this.canvasEl.height,0,0,this.canvasEl.width,this.canvasEl.height);break;case 180:this.canvasEl.width=this.imageEl.OriginWidth*this.getScaleLevel();this.canvasEl.height=this.imageEl.OriginHeight*this.getScaleLevel(); +if(this.imageEl.OriginWidth>this.imageEl.OriginHeight){this.contextEl.drawImage(A,0,Math.abs(this.canvasEl.width-this.canvasEl.height),this.canvasEl.width,this.canvasEl.height,0,0,this.canvasEl.width,this.canvasEl.height);break;}this.contextEl.drawImage(A,Math.abs(this.canvasEl.width-this.canvasEl.height),0,this.canvasEl.width,this.canvasEl.height,0,0,this.canvasEl.width,this.canvasEl.height); +break;case 270:this.canvasEl.width=this.imageEl.OriginHeight*this.getScaleLevel();this.canvasEl.height=this.imageEl.OriginWidth*this.getScaleLevel();if(this.imageEl.OriginWidth>this.imageEl.OriginHeight){this.contextEl.drawImage(A,0,0,this.canvasEl.width,this.canvasEl.height,0,0,this.canvasEl.width,this.canvasEl.height); +break;}this.contextEl.drawImage(A,0,Math.abs(this.canvasEl.width-this.canvasEl.height),this.canvasEl.width,this.canvasEl.height,0,0,this.canvasEl.width,this.canvasEl.height);break;default:break;}this.previewEl.appendChild(this.canvasEl);this.setCanvasPosition(); +},crop:function(){var A=document.createElement("canvas");var B=A.getContext("2d");A.width=this.minWidth;A.height=this.minHeight;var C=this.thumbEl.getWidth();var D=this.thumbEl.getHeight();var x=this.thumbEl.getLeft(true)-this.previewEl.getLeft(true);var y=this.thumbEl.getTop(true)-this.previewEl.getTop(true); +if(this.canvasEl.width-Cthis.minHeight){B=300;A=Math.ceil(this.minHeight*B/this.minWidth);}this.thumbEl.setStyle({width:B+'px',height:A+'px'});return;},setThumbBoxPosition:function(){var x=Math.ceil((this.bodyEl.getWidth()-this.thumbEl.getWidth())/2); +var y=Math.ceil((this.bodyEl.getHeight()-this.thumbEl.getHeight())/2);this.thumbEl.setLeft(x);this.thumbEl.setTop(y);},baseRotateLevel:function(){this.baseRotate=1;if(typeof(this.exif)!='undefined'&&typeof(this.exif[Roo.bootstrap.UploadCropbox['tags']['Orientation']])!='undefined'&&[1,3,6,8].indexOf(this.exif[Roo.bootstrap.UploadCropbox['tags']['Orientation']])!=-1){this.baseRotate=this.exif[Roo.bootstrap.UploadCropbox['tags']['Orientation']]; +}this.rotate=Roo.bootstrap.UploadCropbox['Orientation'][this.baseRotate];},baseScaleLevel:function(){var A,B;if(this.baseRotate==6||this.baseRotate==8){A=this.thumbEl.getHeight();this.baseScale=B/this.imageEl.OriginHeight;if(this.imageEl.OriginHeight*this.baseScalethis.imageEl.OriginHeight){B=this.thumbEl.getWidth();this.baseScale=B/this.imageEl.OriginHeight;if(this.imageEl.OriginWidth*this.baseScalethis.imageEl.OriginHeight){B=this.thumbEl.getHeight();this.baseScale=B/this.imageEl.OriginHeight;if(this.imageEl.OriginWidth*this.baseScale=0xffe0&&H<=0xffef)||H===0xfffe){I=E.getUint16(F+2)+2;if(F+I>E.byteLength){Roo.log('Invalid meta data: Invalid segment size.');break;}if(H==0xffe1){B.parseExifData(E,F,I);}F+=I;continue;}break; +}}var J=B.urlAPI.createObjectURL(B.file);B.loadCanvas(J);return;};C.readAsArrayBuffer(this.file);}},parseExifData:function(A,B,C){var D=B+10,E,F;if(A.getUint32(B+4)!==0x45786966){return;}if(A.getUint32(B+4)!==0x45786966){return;}if(D+8>A.byteLength){Roo.log('Invalid Exif data: Invalid segment size.'); +return;}if(A.getUint16(B+8)!==0x0000){Roo.log('Invalid Exif data: Missing byte alignment offset.');return;}switch(A.getUint16(D)){case 0x4949:E=true;break;case 0x4D4D:E=false;break;default:Roo.log('Invalid Exif data: Invalid byte alignment marker.');return; +}if(A.getUint16(D+2,E)!==0x002A){Roo.log('Invalid Exif data: Missing TIFF marker.');return;}F=A.getUint32(D+4,E);this.parseExifTags(A,D,D+F,E);},parseExifTags:function(A,B,C,D){var E,F,i;if(C+6>A.byteLength){Roo.log('Invalid Exif data: Invalid directory offset.'); +return;}E=A.getUint16(C,D);F=C+2+12*E;if(F+4>A.byteLength){Roo.log('Invalid Exif data: Invalid directory size.');return;}for(i=0;i4?B+A.getUint32(C+8,F):(C+8);if(I+H>A.byteLength){Roo.log('Invalid Exif data: Invalid data offset.'); +return;}if(E===1){return G.getValue(A,I,F);}J=[];for(i=0;i