From: Alan Knowles Date: Tue, 27 Jul 2021 03:55:36 +0000 (+0800) Subject: sync X-Git-Url: http://git.roojs.org/?p=roojs1;a=commitdiff_plain;h=refs%2Fheads%2Fwip_alan_T6893_fix_roo_docs sync --- diff --git a/docs/json/roodata.json b/docs/json/roodata.json index cf4acebd24..368178f05d 100644 --- a/docs/json/roodata.json +++ b/docs/json/roodata.json @@ -10560,7 +10560,7 @@ "name" : "removeMask", "type" : "Boolean", "desc" : "True to create a single-use mask that is automatically destroyed after loading (useful for page loads),\nFalse to persist the mask element reference for multiple uses (e.g., for paged data widgets). Defaults to false.", - "memberOf" : "Roo" + "memberOf" : "" } ], "events" : [], @@ -11093,7 +11093,7 @@ "name" : "items", "type" : "Array", "desc" : "array of button configs or elements to add (will be converted to a MixedCollection)", - "memberOf" : "Roo" + "memberOf" : "Roo.Toolbar" }, { "name" : "pageSize", @@ -11867,7 +11867,7 @@ "name" : "mode", "type" : "String", "desc" : "The shadow display mode. Supports the following options:
\nsides: Shadow displays on both sides and bottom only
\nframe: Shadow displays equally on all four sides
\ndrop: Traditional bottom-right drop shadow (default)", - "memberOf" : "Roo" + "memberOf" : "" }, { "name" : "offset", @@ -13640,7 +13640,7 @@ "name" : "items", "type" : "Array", "desc" : "array of button configs or elements to add (will be converted to a MixedCollection)", - "memberOf" : "Roo" + "memberOf" : "" }, { "name" : "text", @@ -15044,12 +15044,6 @@ "desc" : "A toolbar for this panel", "memberOf" : "Roo.ContentPanel" }, - { - "name" : "tree", - "type" : "Roo.tree.TreePanel", - "desc" : "The tree TreePanel, with config etc.", - "memberOf" : "Roo" - }, { "name" : "url", "type" : "String", @@ -56773,7 +56767,7 @@ { "name" : "responsive", "type" : "boolean", - "desc" : "Format condensed", + "desc" : "default false - if this is on, columns are rendered with col-xs-4 etc. classes, otherwise columns will be sized by CSS,\n also adds table-responsive (see bootstrap docs for details)", "memberOf" : "" }, { diff --git a/docs/src/Roo_ContentPanel.js.html b/docs/src/Roo_ContentPanel.js.html index a305d1fbed..f5fb6bd07c 100644 --- a/docs/src/Roo_ContentPanel.js.html +++ b/docs/src/Roo_ContentPanel.js.html @@ -720,19 +720,14 @@ panel.addxtype({ - - - - - - /** * @class Roo.TreePanel * @extends Roo.ContentPanel + * Treepanel component + * * @constructor * Create a new TreePanel. - defaults to fit/scoll contents. * @param {String/Object} config A string to set only the panel's title, or a config object - * @cfg {Roo.tree.TreePanel} tree The tree TreePanel, with config etc. */ Roo.TreePanel = function(config){ var el = config.el; @@ -775,7 +770,12 @@ panel.addxtype({ Roo.extend(Roo.TreePanel, Roo.ContentPanel, { fitToFrame : true, - autoScroll : true + autoScroll : true, + /* + * @cfg {Roo.tree.TreePanel} tree The tree TreePanel, with config etc. + */ + tree : false + }); diff --git a/docs/src/Roo_LoadMask.js.html b/docs/src/Roo_LoadMask.js.html index b466f7b011..e99f6144b2 100644 --- a/docs/src/Roo_LoadMask.js.html +++ b/docs/src/Roo_LoadMask.js.html @@ -44,7 +44,8 @@ * True to create a single-use mask that is automatically destroyed after loading (useful for page loads), * False to persist the mask element reference for multiple uses (e.g., for paged data widgets). Defaults to false. */ - /** + removeMask : false, + /** * @cfg {String} msg * The text to display in a centered loading message box (defaults to 'Loading...') */ diff --git a/docs/src/Roo_Shadow.js.html b/docs/src/Roo_Shadow.js.html index b156e4eda9..66fb4d8f76 100644 --- a/docs/src/Roo_Shadow.js.html +++ b/docs/src/Roo_Shadow.js.html @@ -79,7 +79,8 @@ * frame: Shadow displays equally on all four sides<br /> * drop: Traditional bottom-right drop shadow (default) */ - /** + mode: false, + /** * @cfg {String} offset * The number of pixels to offset the shadow from the element (defaults to 4) */ diff --git a/docs/src/Roo_Toolbar.js.html b/docs/src/Roo_Toolbar.js.html index fb36d085d4..a2e08e837d 100644 --- a/docs/src/Roo_Toolbar.js.html +++ b/docs/src/Roo_Toolbar.js.html @@ -52,8 +52,8 @@ * @cfg {Array} items * array of button configs or elements to add (will be converted to a MixedCollection) */ - - /** + items: false, + /** * @cfg {String/HTMLElement/Element} container * The id or element that will contain the toolbar */ diff --git a/docs/src/Roo_bootstrap_Table.js.html b/docs/src/Roo_bootstrap_Table.js.html index 76acc46845..43300161bb 100644 --- a/docs/src/Roo_bootstrap_Table.js.html +++ b/docs/src/Roo_bootstrap_Table.js.html @@ -74,7 +74,8 @@ Currently the Table uses multiple headers to try and handle XL / Medium etc... * @cfg {boolean} bordered Add borders to the table * @cfg {boolean} hover Add hover highlighting * @cfg {boolean} condensed Format condensed - * @cfg {boolean} responsive Format condensed + * @cfg {boolean} responsive default false - if this is on, columns are rendered with col-xs-4 etc. classes, otherwise columns will be sized by CSS, + * also adds table-responsive (see bootstrap docs for details) * @cfg {Boolean} loadMask (true|false) default false * @cfg {Boolean} footerShow (true|false) generate tfoot, default true * @cfg {Boolean} headerShow (true|false) generate thead, default true diff --git a/docs/symbols/Roo.LoadMask.json b/docs/symbols/Roo.LoadMask.json index ec2c534a47..ec16d97c7f 100644 --- a/docs/symbols/Roo.LoadMask.json +++ b/docs/symbols/Roo.LoadMask.json @@ -37,7 +37,7 @@ "name" : "removeMask", "type" : "Boolean", "desc" : "True to create a single-use mask that is automatically destroyed after loading (useful for page loads),\nFalse to persist the mask element reference for multiple uses (e.g., for paged data widgets). Defaults to false.", - "memberOf" : "Roo", + "memberOf" : "Roo.LoadMask", "optvals" : [] }, { diff --git a/docs/symbols/Roo.PagingToolbar.json b/docs/symbols/Roo.PagingToolbar.json index 32979eb42f..20ded8e969 100644 --- a/docs/symbols/Roo.PagingToolbar.json +++ b/docs/symbols/Roo.PagingToolbar.json @@ -61,7 +61,7 @@ "name" : "items", "type" : "Array", "desc" : "array of button configs or elements to add (will be converted to a MixedCollection)", - "memberOf" : "Roo", + "memberOf" : "Roo.Toolbar", "optvals" : [] }, { diff --git a/docs/symbols/Roo.Shadow.json b/docs/symbols/Roo.Shadow.json index bb92fb7c19..de7e8d0bf1 100644 --- a/docs/symbols/Roo.Shadow.json +++ b/docs/symbols/Roo.Shadow.json @@ -21,17 +21,17 @@ "returns" : [], "config" : [ { - "name" : "offset", + "name" : "mode", "type" : "String", - "desc" : "The number of pixels to offset the shadow from the element (defaults to 4)", + "desc" : "The shadow display mode. Supports the following options:
\nsides: Shadow displays on both sides and bottom only
\nframe: Shadow displays equally on all four sides
\ndrop: Traditional bottom-right drop shadow (default)", "memberOf" : "Roo.Shadow", "optvals" : [] }, { - "name" : "mode", + "name" : "offset", "type" : "String", - "desc" : "The shadow display mode. Supports the following options:
\nsides: Shadow displays on both sides and bottom only
\nframe: Shadow displays equally on all four sides
\ndrop: Traditional bottom-right drop shadow (default)", - "memberOf" : "Roo", + "desc" : "The number of pixels to offset the shadow from the element (defaults to 4)", + "memberOf" : "Roo.Shadow", "optvals" : [] } ], diff --git a/docs/symbols/Roo.Toolbar.json b/docs/symbols/Roo.Toolbar.json index fa393a3efd..bf912830ec 100644 --- a/docs/symbols/Roo.Toolbar.json +++ b/docs/symbols/Roo.Toolbar.json @@ -38,7 +38,7 @@ "name" : "items", "type" : "Array", "desc" : "array of button configs or elements to add (will be converted to a MixedCollection)", - "memberOf" : "Roo", + "memberOf" : "Roo.Toolbar", "optvals" : [] } ], diff --git a/docs/symbols/Roo.TreePanel.json b/docs/symbols/Roo.TreePanel.json index a0178b8b91..d07e7ddf61 100644 --- a/docs/symbols/Roo.TreePanel.json +++ b/docs/symbols/Roo.TreePanel.json @@ -4,7 +4,7 @@ "Roo.ContentPanel", "Roo.util.Observable" ], - "desc" : "Create a new TreePanel. - defaults to fit/scoll contents.", + "desc" : "Treepanel component", "isSingleton" : false, "isStatic" : false, "isBuiltin" : false, @@ -127,13 +127,6 @@ "memberOf" : "Roo.ContentPanel", "optvals" : [] }, - { - "name" : "tree", - "type" : "Roo.tree.TreePanel", - "desc" : "The tree TreePanel, with config etc.", - "memberOf" : "Roo", - "optvals" : [] - }, { "name" : "adjustments", "type" : "Array", diff --git a/docs/symbols/Roo.bootstrap.Table.json b/docs/symbols/Roo.bootstrap.Table.json index 0623231d65..f4a3743c48 100644 --- a/docs/symbols/Roo.bootstrap.Table.json +++ b/docs/symbols/Roo.bootstrap.Table.json @@ -275,7 +275,7 @@ { "name" : "responsive", "type" : "boolean", - "desc" : "Format condensed", + "desc" : "default false - if this is on, columns are rendered with col-xs-4 etc. classes, otherwise columns will be sized by CSS,\n also adds table-responsive (see bootstrap docs for details)", "memberOf" : "Roo.bootstrap.Table", "optvals" : [] } diff --git a/docs/symbols/Roo.json b/docs/symbols/Roo.json index 6240970d89..cc417a48e2 100644 --- a/docs/symbols/Roo.json +++ b/docs/symbols/Roo.json @@ -12,36 +12,7 @@ "see" : "", "params" : [], "returns" : [], - "config" : [ - { - "name" : "removeMask", - "type" : "Boolean", - "desc" : "True to create a single-use mask that is automatically destroyed after loading (useful for page loads),\nFalse to persist the mask element reference for multiple uses (e.g., for paged data widgets). Defaults to false.", - "memberOf" : "Roo", - "optvals" : [] - }, - { - "name" : "items", - "type" : "Array", - "desc" : "array of button configs or elements to add (will be converted to a MixedCollection)", - "memberOf" : "Roo", - "optvals" : [] - }, - { - "name" : "mode", - "type" : "String", - "desc" : "The shadow display mode. Supports the following options:
\nsides: Shadow displays on both sides and bottom only
\nframe: Shadow displays equally on all four sides
\ndrop: Traditional bottom-right drop shadow (default)", - "memberOf" : "Roo", - "optvals" : [] - }, - { - "name" : "tree", - "type" : "Roo.tree.TreePanel", - "desc" : "The tree TreePanel, with config etc.", - "memberOf" : "Roo", - "optvals" : [] - } - ], + "config" : [], "methods" : [ { "name" : "each",