a:29:{s:9:"#provides";s:19:"dojox.widget.Dialog";s:9:"#resource";s:16:"widget/Dialog.js";s:9:"#requires";a:2:{i:0;a:3:{i:0;s:6:"common";i:1;s:12:"dijit.Dialog";i:2;s:5:"dijit";}i:1;a:2:{i:0;s:6:"common";i:1;s:8:"dojox.fx";}}s:19:"dojox.widget.Dialog";a:7:{s:4:"type";s:8:"Function";s:6:"chains";a:2:{s:9:"prototype";a:1:{i:0;s:12:"dijit.Dialog";}s:4:"call";a:1:{i:0;s:12:"dijit.Dialog";}}s:7:"summary";s:45:"A Lightbox-like Modal-dialog for HTML Content";s:11:"description";s:240:"An HTML-capable Dialog widget with advanced sizing options, animated show/hide and other useful options. This Dialog is also very easy to apply custom styles to. It works identically to a `dijit.Dialog` with several additional parameters.";s:10:"parameters";a:2:{s:5:"props";a:1:{s:4:"type";s:0:"";}s:4:"node";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:105:" this.easing = props.easing || dojo._defaultEasing; this.dimensions = props.dimensions || [300, 300];";s:9:"classlike";b:1;}s:32:"dojox.widget.Dialog.templatePath";a:2:{s:9:"prototype";s:19:"dojox.widget.Dialog";s:7:"summary";s:0:"";}s:34:"dojox.widget.Dialog.sizeToViewport";a:3:{s:9:"prototype";s:19:"dojox.widget.Dialog";s:4:"type";s:7:"Boolean";s:7:"summary";s:302:"If true, fix the size of the dialog to the Viewport based on viewportPadding value rather than the calculated or natural stlye. If false, base the size on a passed dimension attribute. Eitherway, the viewportPadding value is used if the the content extends beyond the viewport size for whatever reason.";}s:35:"dojox.widget.Dialog.viewportPadding";a:3:{s:9:"prototype";s:19:"dojox.widget.Dialog";s:4:"type";s:7:"Integer";s:7:"summary";s:292:"If sizeToViewport="true", this is the amount of padding in pixels to leave between the dialog border and the viewport edge. This value is also used when sizeToViewport="false" and dimensions exceeded by dialog content to ensure dialog does not go outside viewport boundary";}s:30:"dojox.widget.Dialog.dimensions";a:4:{s:9:"prototype";s:19:"dojox.widget.Dialog";s:4:"type";s:5:"Array";s:7:"summary";s:120:"A two-element array of [widht,height] to animate the Dialog to if sizeToViewport="false" Defaults to [300,300]";s:8:"instance";s:19:"dojox.widget.Dialog";}s:26:"dojox.widget.Dialog.easing";a:4:{s:9:"prototype";s:19:"dojox.widget.Dialog";s:4:"type";s:16:"Function?|String";s:7:"summary";s:52:"An easing function to apply to the sizing animation.";s:8:"instance";s:19:"dojox.widget.Dialog";}s:32:"dojox.widget.Dialog.sizeDuration";a:3:{s:9:"prototype";s:19:"dojox.widget.Dialog";s:4:"type";s:7:"Integer";s:7:"summary";s:48:"Time (in ms) to use in the Animation for sizing.";}s:30:"dojox.widget.Dialog.sizeMethod";a:3:{s:9:"prototype";s:19:"dojox.widget.Dialog";s:4:"type";s:6:"String";s:7:"summary";s:114:"To be passed to dojox.fx.sizeTo, one of "chain" or "combine" to effect the animation sequence.";}s:29:"dojox.widget.Dialog.showTitle";a:3:{s:9:"prototype";s:19:"dojox.widget.Dialog";s:4:"type";s:7:"Boolean";s:7:"summary";s:66:"Toogle to show or hide the Title area. Can only be set at startup.";}s:29:"dojox.widget.Dialog.draggable";a:3:{s:9:"prototype";s:19:"dojox.widget.Dialog";s:4:"type";s:7:"Boolean";s:7:"summary";s:78:"Make the pane draggable. Differs from dijit.Dialog by setting default to false";}s:25:"dojox.widget.Dialog.modal";a:3:{s:9:"prototype";s:19:"dojox.widget.Dialog";s:4:"type";s:7:"Boolean";s:7:"summary";s:276:"If true, this Dialog instance will be truly modal and prevent closing until explicitly told to by calling hide() - Defaults to false to preserve previous behaviors. an experiment in a quicksilver-like hide. too choppy for me. },";}s:26:"dojox.widget.Dialog._setup";a:5:{s:9:"prototype";s:19:"dojox.widget.Dialog";s:4:"type";s:8:"Function";s:6:"source";s:279:" this.inherited(arguments); if(!this._alreadyInitialized){ this._navIn = dojo.fadeIn({ node: this.closeButtonNode }); this._navOut = dojo.fadeOut({ node: this.closeButtonNode }); if(!this.showTitle){ dojo.addClass(this.domNode,"dojoxDialogNoTitle"); } } ";s:7:"summary";s:69:"Piggyback on dijit.Dialog's _setup for load-time options, deferred to";s:7:"private";b:1;}s:26:"dojox.widget.Dialog.layout";a:5:{s:9:"prototype";s:19:"dojox.widget.Dialog";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:1:"e";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:47:" this._setSize(); this.inherited(arguments);";s:7:"summary";s:0:"";}s:28:"dojox.widget.Dialog._setSize";a:5:{s:9:"prototype";s:19:"dojox.widget.Dialog";s:4:"type";s:8:"Function";s:6:"source";s:253:" this._vp = dijit.getViewport(); var tc = this.containerNode, vpSized = this.sizeToViewport ; return this._displaysize = { w: vpSized ? tc.scrollWidth : this.dimensions[0], h: vpSized ? tc.scrollHeight : this.dimensions[1] }; // Object";s:7:"summary";s:38:"cache and set our desired end position";s:7:"private";b:1;}s:24:"dojox.widget.Dialog.show";a:4:{s:9:"prototype";s:19:"dojox.widget.Dialog";s:4:"type";s:8:"Function";s:6:"source";s:995:" this._setSize(); dojo.style(this.closeButtonNode,"opacity", 0); dojo.style(this.domNode, { overflow: "hidden", opacity: 0, width: "1px", height: "1px" }); dojo.style(this.containerNode, { opacity: 0, overflow: "hidden" }); this.inherited(arguments); if(this.modal){ // prevent escape key from closing dialog // connect to body to trap this event from the Dialog a11y code, and stop escape key // from doing anything in the modal:true case: this._modalconnects.push(dojo.connect(dojo.body(), "onkeypress", function(e){ if(e.charOrCode == dojo.keys.ESCAPE){ dojo.stopEvent(e); } })); }else{ // otherwise, allow clicking on the underlay to close this._modalconnects.push(dojo.connect(dijit._underlay.domNode, "onclick", this, "onCancel")); } this._modalconnects.push(dojo.connect(this.domNode,"onmouseenter",this,"_handleNav")); this._modalconnects.push(dojo.connect(this.domNode,"onmouseleave",this,"_handleNav"));";s:7:"summary";s:0:"";}s:30:"dojox.widget.Dialog._handleNav";a:6:{s:9:"prototype";s:19:"dojox.widget.Dialog";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:1:"e";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:203:" var navou = "_navOut", navin = "_navIn", animou = (e.type == "mouseout" ? navin : navou), animin = (e.type == "mouseout" ? navou : navin) ; this[animou].stop(); this[animin].play();";s:7:"summary";s:41:"Handle's showing or hiding the close icon";s:7:"private";b:1;}s:29:"dojox.widget.Dialog._position";a:6:{s:9:"prototype";s:19:"dojox.widget.Dialog";s:4:"type";s:8:"Function";s:6:"source";s:911:" if(!this._started){ return; } // prevent content: from firing this anim #8914 if(this._sizing){ this._sizing.stop(); this.disconnect(this._sizingConnect); delete this._sizing; } this.inherited(arguments); if(!this.open){ dojo.style(this.containerNode, "opacity", 0); } var pad = this.viewportPadding * 2; var props = { node: this.domNode, duration: this.sizeDuration || dijit._defaultDuration, easing: this.easing, method: this.sizeMethod }; var ds = this._displaysize || this._setSize(); props['width'] = ds.w = (ds.w + pad >= this._vp.w || this.sizeToViewport) ? this._vp.w - pad : ds.w; props['height'] = ds.h = (ds.h + pad >= this._vp.h || this.sizeToViewport) ? this._vp.h - pad : ds.h; this._sizing = dojox.fx.sizeTo(props); this._sizingConnect = this.connect(this._sizing,"onEnd","_showContent"); this._sizing.play();";s:7:"returns";s:44:"prevent content: from firing this anim #8914";s:7:"private";b:1;s:7:"summary";s:0:"";}s:32:"dojox.widget.Dialog._showContent";a:6:{s:9:"prototype";s:19:"dojox.widget.Dialog";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:1:"e";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:253:" var container = this.containerNode; dojo.style(this.domNode,"overflow","visible"); dojo.style(container, { height: this._displaysize.h + "px", width: this._displaysize.w + "px", overflow:"auto" }); dojo.anim(container, { opacity:1 });";s:7:"summary";s:47:"Show the inner container after sizing animation";s:7:"private";b:1;}s:26:"dojox.widget.Dialog._navIn";a:3:{s:8:"instance";s:19:"dojox.widget.Dialog";s:7:"private";b:1;s:7:"summary";s:0:"";}s:27:"dojox.widget.Dialog._navOut";a:3:{s:8:"instance";s:19:"dojox.widget.Dialog";s:7:"private";b:1;s:7:"summary";s:0:"";}s:23:"dojox.widget.Dialog._vp";a:3:{s:8:"instance";s:19:"dojox.widget.Dialog";s:7:"private";b:1;s:7:"summary";s:0:"";}s:32:"dojox.widget.Dialog._displaysize";a:3:{s:8:"instance";s:19:"dojox.widget.Dialog";s:7:"private";b:1;s:7:"summary";s:0:"";}s:27:"dojox.widget.Dialog._sizing";a:3:{s:8:"instance";s:19:"dojox.widget.Dialog";s:7:"private";b:1;s:7:"summary";s:0:"";}s:34:"dojox.widget.Dialog._sizingConnect";a:3:{s:8:"instance";s:19:"dojox.widget.Dialog";s:7:"private";b:1;s:7:"summary";s:0:"";}s:12:"dojox.widget";a:2:{s:4:"type";s:6:"Object";s:7:"summary";s:0:"";}s:5:"dojox";a:2:{s:4:"type";s:6:"Object";s:7:"summary";s:0:"";}}