From 45b24c7f10fa3c85da3994e212f46fd1f77a99ea Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Wed, 2 Jun 2021 15:00:35 +0800 Subject: [PATCH] Changed docs/json/roodata.jsondocs/tree.json --- docs/json/roodata.json | 657 +++++++++++++++++++++++++++++++++++++++++ docs/tree.json | 5 + 2 files changed, 662 insertions(+) diff --git a/docs/json/roodata.json b/docs/json/roodata.json index 9bd92be106..794b8a467b 100644 --- a/docs/json/roodata.json +++ b/docs/json/roodata.json @@ -18886,6 +18886,663 @@ } ] }, + "Roo.bootstrap.ButtonUploader" : { + "props" : [ + { + "name" : "actionMode", + "type" : "String", + "desc" : "which property holds the element that used for hide() / show() / disable() / enable()\ndefault is 'el' for forms you probably want to set this to fieldEl", + "memberOf" : "Roo.Component" + }, + { + "name" : "allowDomMove", + "type" : "Boolean", + "desc" : "Whether the component can move the Dom node when rendering (defaults to true).", + "memberOf" : "Roo.Component" + }, + { + "name" : "badge", + "type" : "String", + "desc" : "text for badge", + "memberOf" : "Roo.bootstrap.Button" + }, + { + "name" : "badge_weight", + "type" : "String", + "desc" : [ + "(default", + "primary", + "secondary", + "success", + "info", + "warning", + "danger", + "link", + "light", + "dark)" + ], + "memberOf" : "Roo.bootstrap.Button" + }, + { + "name" : "can_build_overlaid", + "type" : "Boolean", + "desc" : "True if element can be rebuild from a HTML page", + "memberOf" : "Roo.bootstrap.Component" + }, + { + "name" : "cls", + "type" : "String", + "desc" : "css class", + "memberOf" : "Roo.bootstrap.Component" + }, + { + "name" : "container_method", + "type" : "string", + "desc" : "method to fetch parents container element (used by NavHeaderbar - getHeaderChildContainer)", + "memberOf" : "Roo.bootstrap.Component" + }, + { + "name" : "dataId", + "type" : "string", + "desc" : "cutomer id", + "memberOf" : "Roo.bootstrap.Component" + }, + { + "name" : "disableClass", + "type" : "String", + "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").", + "memberOf" : "Roo.Component" + }, + { + "name" : "disabled", + "type" : "Boolean", + "desc" : "default false;", + "memberOf" : "Roo.bootstrap.Button" + }, + { + "name" : "errorTimeout", + "type" : "Number", + "desc" : "default 3000", + "memberOf" : "" + }, + { + "name" : "fa", + "type" : "String", + "desc" : "fontawesome icon - eg. 'comment' - without the fa/fas etc..", + "memberOf" : "Roo.bootstrap.Button" + }, + { + "name" : "glyphicon", + "type" : "String", + "desc" : "depricated - use fa", + "memberOf" : "Roo.bootstrap.Button" + }, + { + "name" : "grpup", + "type" : "Boolean", + "desc" : "if parent is a btn group - then it turns it into a toogleGroup.", + "memberOf" : "Roo.bootstrap.Button" + }, + { + "name" : "hideMode", + "type" : "String", + "desc" : [ + "(display", + "visibility)" + ], + "memberOf" : "Roo.Component" + }, + { + "name" : "href", + "type" : "String", + "desc" : "empty or href", + "memberOf" : "Roo.bootstrap.Button" + }, + { + "name" : "html", + "type" : "Array", + "desc" : "The button text.", + "memberOf" : "" + }, + { + "name" : "images", + "type" : "Array", + "desc" : "an array of ?? Img objects ??? when loading existing files..", + "memberOf" : "" + }, + { + "name" : "inverse", + "type" : "Boolean", + "desc" : "dark themed version", + "memberOf" : "Roo.bootstrap.Button" + }, + { + "name" : "isClose", + "type" : "Boolean", + "desc" : "default false;", + "memberOf" : "Roo.bootstrap.Button" + }, + { + "name" : "listeners", + "type" : "Object", + "desc" : "list of events and functions to call for this object, \nFor example :\n
\n    listeners :  { \n       'click' : function(e) {\n           ..... \n        } ,\n        .... \n    } \n  
", + "memberOf" : "Roo.util.Observable" + }, + { + "name" : "name", + "type" : "string", + "desc" : "Specifies name attribute", + "memberOf" : "Roo.bootstrap.Component" + }, + { + "name" : "offtext", + "type" : "String", + "desc" : "text for off slidy toggle state", + "memberOf" : "Roo.bootstrap.Button" + }, + { + "name" : "ontext", + "type" : "String", + "desc" : "text for on slidy toggle state", + "memberOf" : "Roo.bootstrap.Button" + }, + { + "name" : "outline", + "type" : "Boolean", + "desc" : "default false (except for weight=default which emulates old behaveiour with an outline)", + "memberOf" : "Roo.bootstrap.Button" + }, + { + "name" : "pressed", + "type" : "Boolean", + "desc" : "default null - if the button ahs active state", + "memberOf" : "Roo.bootstrap.Button" + }, + { + "name" : "preventDefault", + "type" : "Boolean", + "desc" : "default true (stop click event triggering the URL if it's a link.)", + "memberOf" : "Roo.bootstrap.Button" + }, + { + "name" : "removeClass", + "type" : "Boolean", + "desc" : "remove the standard class..", + "memberOf" : "Roo.bootstrap.Button" + }, + { + "name" : "size", + "type" : "String", + "desc" : [ + "(lg", + "sm", + "xs)" + ], + "memberOf" : "Roo.bootstrap.Button" + }, + { + "name" : "style", + "type" : "String", + "desc" : "any extra css", + "memberOf" : "Roo.bootstrap.Component" + }, + { + "name" : "tag", + "type" : "String", + "desc" : [ + "(a", + "input", + "submit)" + ], + "memberOf" : "Roo.bootstrap.Button" + }, + { + "name" : "target", + "type" : "String", + "desc" : [ + "(_self", + "_blank", + "_parent", + "_top", + "other)" + ], + "memberOf" : "Roo.bootstrap.Button" + }, + { + "name" : "theme", + "type" : "String", + "desc" : [ + "(default", + "glow)" + ], + "memberOf" : "Roo.bootstrap.Button" + }, + { + "name" : "toggle", + "type" : "Boolean", + "desc" : "is it a slidy toggle button", + "memberOf" : "Roo.bootstrap.Button" + }, + { + "name" : "tooltip", + "type" : "string", + "desc" : "Text for the tooltip", + "memberOf" : "Roo.bootstrap.Component" + }, + { + "name" : "visibilityEl", + "type" : "string|object", + "desc" : [ + "(el", + "parent)" + ], + "memberOf" : "Roo.bootstrap.Component" + }, + { + "name" : "weight", + "type" : "String", + "desc" : [ + "(default", + "primary", + "secondary", + "success", + "info", + "warning", + "danger", + "link", + "light", + "dark)" + ], + "memberOf" : "Roo.bootstrap.Button" + }, + { + "name" : "xattr", + "type" : "Object", + "desc" : "extra attributes to add to 'element' (used by builder to store stuff.)", + "memberOf" : "Roo.bootstrap.Component" + } + ], + "events" : [ + { + "name" : "beforedestroy", + "type" : "function", + "desc" : "Fires before the component is destroyed. Return false to stop the destroy.", + "sig" : "function (_self)\n{\n\n}", + "memberOf" : "Roo.Component" + }, + { + "name" : "beforehide", + "type" : "function", + "desc" : "Fires before the component is hidden. Return false to stop the hide.", + "sig" : "function (_self)\n{\n\n}", + "memberOf" : "Roo.Component" + }, + { + "name" : "beforerender", + "type" : "function", + "desc" : "Fires before the component is rendered. Return false to stop the render.", + "sig" : "function (_self)\n{\n\n}", + "memberOf" : "Roo.Component" + }, + { + "name" : "beforeselect", + "type" : "function", + "desc" : "When button is pressed, before show upload files dialog is shown", + "sig" : "function (_self)\n{\n\n}", + "memberOf" : "" + }, + { + "name" : "beforeshow", + "type" : "function", + "desc" : "Fires before the component is shown. Return false to stop the show.", + "sig" : "function (_self)\n{\n\n}", + "memberOf" : "Roo.Component" + }, + { + "name" : "childrenrendered", + "type" : "function", + "desc" : "Fires when the children have been rendered..", + "sig" : "function (_self)\n{\n\n}", + "memberOf" : "Roo.bootstrap.Component" + }, + { + "name" : "click", + "type" : "function", + "desc" : "When a button is pressed", + "sig" : "function (btn, e)\n{\n\n}", + "memberOf" : "Roo.bootstrap.Button" + }, + { + "name" : "dblclick", + "type" : "function", + "desc" : "When a button is double clicked", + "sig" : "function (btn, e)\n{\n\n}", + "memberOf" : "Roo.bootstrap.Button" + }, + { + "name" : "destroy", + "type" : "function", + "desc" : "Fires after the component is destroyed.", + "sig" : "function (_self)\n{\n\n}", + "memberOf" : "Roo.Component" + }, + { + "name" : "disable", + "type" : "function", + "desc" : "Fires after the component is disabled.", + "sig" : "function (_self)\n{\n\n}", + "memberOf" : "Roo.Component" + }, + { + "name" : "enable", + "type" : "function", + "desc" : "Fires after the component is enabled.", + "sig" : "function (_self)\n{\n\n}", + "memberOf" : "Roo.Component" + }, + { + "name" : "fired when files have been selected,", + "type" : "function", + "desc" : "When a the download link is clicked", + "sig" : "function (_self, The)\n{\n\n}", + "memberOf" : "" + }, + { + "name" : "hide", + "type" : "function", + "desc" : "Fires after the component is hidden.", + "sig" : "function (_self)\n{\n\n}", + "memberOf" : "Roo.Component" + }, + { + "name" : "render", + "type" : "function", + "desc" : "Fires after the component is rendered.", + "sig" : "function (_self)\n{\n\n}", + "memberOf" : "Roo.Component" + }, + { + "name" : "show", + "type" : "function", + "desc" : "Fires after the component is shown.", + "sig" : "function (_self)\n{\n\n}", + "memberOf" : "Roo.Component" + }, + { + "name" : "toggle", + "type" : "function", + "desc" : "After the button has been toggles", + "sig" : "function (btn, e, pressed)\n{\n\n}", + "memberOf" : "Roo.bootstrap.Button" + } + ], + "methods" : [ + { + "name" : "addEvents", + "type" : "function", + "desc" : "Used to define events on this Observable", + "sig" : "(object)", + "static" : false, + "memberOf" : "Roo.util.Observable" + }, + { + "name" : "addListener", + "type" : "function", + "desc" : "Appends an event handler to this component", + "sig" : "(eventName, handler, scope, options)", + "static" : false, + "memberOf" : "Roo.util.Observable" + }, + { + "name" : "capture", + "type" : "function", + "desc" : "Starts capture on the specified Observable. All events will be passed\nto the supplied function with the event name + standard signature of the event\nbefore the event is fired. If the supplied function returns false,\nthe event will not fire.", + "sig" : "(o, fn, scope)", + "static" : true, + "memberOf" : "Roo.util.Observable" + }, + { + "name" : "destroy", + "type" : "function", + "desc" : "Destroys this component by purging any event listeners, removing the component's element from the DOM,\nremoving the component from its {@link Roo.Container} (if applicable) and unregistering it from {@link Roo.ComponentMgr}.", + "sig" : "()\n{\n\n}", + "static" : false, + "memberOf" : "Roo.Component" + }, + { + "name" : "disable", + "type" : "function", + "desc" : "Disable this button", + "sig" : "()\n{\n\n}", + "static" : false, + "memberOf" : "Roo.bootstrap.Button" + }, + { + "name" : "enable", + "type" : "function", + "desc" : "Enables this button", + "sig" : "()\n{\n\n}", + "static" : false, + "memberOf" : "Roo.bootstrap.Button" + }, + { + "name" : "fireEvent", + "type" : "function", + "desc" : "Fires the specified event with the passed parameters (minus the event name).", + "sig" : "(eventName, args)", + "static" : false, + "memberOf" : "Roo.util.Observable" + }, + { + "name" : "focus", + "type" : "function", + "desc" : "Try to focus this component.", + "sig" : "(selectText)", + "static" : false, + "memberOf" : "Roo.Component" + }, + { + "name" : "getChildContainer", + "type" : "function", + "desc" : "Fetch the element to add children to", + "sig" : "()\n{\n\n}", + "static" : false, + "memberOf" : "Roo.bootstrap.Component" + }, + { + "name" : "getEl", + "type" : "function", + "desc" : "Returns the underlying {@link Roo.Element}.", + "sig" : "()\n{\n\n}", + "static" : false, + "memberOf" : "Roo.Component" + }, + { + "name" : "getId", + "type" : "function", + "desc" : "Returns the id of this component.", + "sig" : "()\n{\n\n}", + "static" : false, + "memberOf" : "Roo.Component" + }, + { + "name" : "getText", + "type" : "function", + "desc" : "get the text of the first selected button", + "sig" : "()\n{\n\n}", + "static" : false, + "memberOf" : "Roo.bootstrap.Button" + }, + { + "name" : "getVisibilityEl", + "type" : "function", + "desc" : "Get the element that will be used to show or hide", + "sig" : "()\n{\n\n}", + "static" : false, + "memberOf" : "Roo.bootstrap.Component" + }, + { + "name" : "hasListener", + "type" : "function", + "desc" : "Checks to see if this object has any listeners for a specified event", + "sig" : "(eventName)", + "static" : false, + "memberOf" : "Roo.util.Observable" + }, + { + "name" : "hide", + "type" : "function", + "desc" : "Hide a component - adds 'hidden' class", + "sig" : "()\n{\n\n}", + "static" : false, + "memberOf" : "Roo.bootstrap.Component" + }, + { + "name" : "initEvents", + "type" : "function", + "desc" : "Initialize Events for the element", + "sig" : "()\n{\n\n}", + "static" : false, + "memberOf" : "Roo.bootstrap.Component" + }, + { + "name" : "isActive", + "type" : "function", + "desc" : "get the current active state", + "sig" : "()\n{\n\n}", + "static" : false, + "memberOf" : "Roo.bootstrap.Button" + }, + { + "name" : "isVisible", + "type" : "function", + "desc" : "Returns true if this component is visible.", + "sig" : "()\n{\n\n}", + "static" : false, + "memberOf" : "Roo.Component" + }, + { + "name" : "on", + "type" : "function", + "desc" : "Appends an event handler to this element (shorthand for addListener)", + "sig" : "(eventName, handler, scope, options)", + "static" : false, + "memberOf" : "Roo.util.Observable" + }, + { + "name" : "purgeListeners", + "type" : "function", + "desc" : "Removes all listeners for this object", + "sig" : "()\n{\n\n}", + "static" : false, + "memberOf" : "Roo.util.Observable" + }, + { + "name" : "releaseCapture", + "type" : "function", + "desc" : "Removes all added captures from the Observable.", + "sig" : "(o)", + "static" : true, + "memberOf" : "Roo.util.Observable" + }, + { + "name" : "removeListener", + "type" : "function", + "desc" : "Removes a listener", + "sig" : "(eventName, handler, scope)", + "static" : false, + "memberOf" : "Roo.util.Observable" + }, + { + "name" : "render", + "type" : "function", + "desc" : "If this is a lazy rendering component, render it to its container element.", + "sig" : "(container)", + "static" : false, + "memberOf" : "Roo.Component" + }, + { + "name" : "reset", + "type" : "function", + "desc" : "addCard - add an Attachment to the uploader", + "sig" : "(data)", + "static" : false, + "memberOf" : "" + }, + { + "name" : "setActive", + "type" : "function", + "desc" : "sets the active state on/off,", + "sig" : "(state)", + "static" : false, + "memberOf" : "Roo.bootstrap.Button" + }, + { + "name" : "setDisabled", + "type" : "function", + "desc" : "Convenience function for setting disabled/enabled by boolean.", + "sig" : "(disabled)", + "static" : false, + "memberOf" : "Roo.Component" + }, + { + "name" : "setText", + "type" : "function", + "desc" : "set the text of the first selected button", + "sig" : "()\n{\n\n}", + "static" : false, + "memberOf" : "Roo.bootstrap.Button" + }, + { + "name" : "setVisibilityEl", + "type" : "function", + "desc" : "Set the element that will be used to show or hide", + "sig" : "()\n{\n\n}", + "static" : false, + "memberOf" : "Roo.bootstrap.Component" + }, + { + "name" : "setVisible", + "type" : "function", + "desc" : "Convenience function to hide or show this component by boolean.", + "sig" : "(visible)", + "static" : false, + "memberOf" : "Roo.Component" + }, + { + "name" : "show", + "type" : "function", + "desc" : "Show a component - removes 'hidden' class", + "sig" : "()\n{\n\n}", + "static" : false, + "memberOf" : "Roo.bootstrap.Component" + }, + { + "name" : "toggleActive", + "type" : "function", + "desc" : "toggles the current active state", + "sig" : "()\n{\n\n}", + "static" : false, + "memberOf" : "Roo.bootstrap.Button" + }, + { + "name" : "tooltipEl", + "type" : "function", + "desc" : "Fetch the element to display the tooltip on.", + "sig" : "()\n{\n\n}", + "static" : false, + "memberOf" : "Roo.bootstrap.Component" + }, + { + "name" : "un", + "type" : "function", + "desc" : "Removes a listener (shorthand for removeListener)", + "sig" : "(eventName, handler, scope)", + "static" : false, + "memberOf" : "Roo.util.Observable" + } + ] + }, "Roo.bootstrap.Calendar" : { "props" : [ { diff --git a/docs/tree.json b/docs/tree.json index 00f77d1956..b9e7054e6c 100644 --- a/docs/tree.json +++ b/docs/tree.json @@ -395,6 +395,11 @@ "cn" : [], "is_class" : true }, + { + "name" : "Roo.bootstrap.ButtonUploader", + "cn" : [], + "is_class" : true + }, { "name" : "Roo.bootstrap.Calendar", "cn" : [], -- 2.39.2