Skip to content

Commit

Permalink
gh-pages v4.8.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Portugal committed Sep 14, 2020
1 parent de9733f commit 5fd7b76
Show file tree
Hide file tree
Showing 375 changed files with 163,185 additions and 40,281 deletions.
105,467 changes: 65,523 additions & 39,944 deletions docs/grunt-scripts/pdfmake.js

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/grunt-scripts/vfs_fonts.js

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,13 @@
addTag('script', {src: 'js/marked.min.js'}, sync);


addTag('script', {src: '//ajax.googleapis.com/ajax/libs/angularjs/1.7.0/angular.js'}, sync);
addTag('script', {src: '//ajax.googleapis.com/ajax/libs/angularjs/1.8.0/angular.js'}, sync);

addTag('script', {src: '//ajax.googleapis.com/ajax/libs/angularjs/1.7.0/angular-touch.js'}, sync);
addTag('script', {src: '//ajax.googleapis.com/ajax/libs/angularjs/1.8.0/angular-touch.js'}, sync);

addTag('script', {src: '//ajax.googleapis.com/ajax/libs/angularjs/1.7.0/angular-animate.js'}, sync);
addTag('script', {src: '//ajax.googleapis.com/ajax/libs/angularjs/1.8.0/angular-animate.js'}, sync);

addTag('script', {src: '//ajax.googleapis.com/ajax/libs/angularjs/1.7.0/angular-aria.js'}, sync);
addTag('script', {src: '//ajax.googleapis.com/ajax/libs/angularjs/1.8.0/angular-aria.js'}, sync);

addTag('script', {src: 'grunt-scripts/csv.js'}, sync);

Expand Down
2 changes: 1 addition & 1 deletion docs/js/docs-setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -950,7 +950,7 @@ UI_DOCS={
"type": "service",
"moduleName": "ui.grid.grouping",
"shortDescription": "Services for grouping features",
"keywords": "actual adds age aggregate aggregatecolumn aggregated aggregation aggregations aggregationtype api applies apply applyrowexpandedstates array asc assumes based basing blank boolean break builder called change changes children clear cleargrouping col coldef collapsed column columndef columndefs columnprocessor columns columnsprocessor config configuration consider contiguous count counts create created creates current currently currentnode currentrow currentvalue custom default defaults described display doesn don elements entity example existing expanded expandedstates extract false feature features female fieldname fields finalised finaliseprocessingstate find format full function gender getgrouping getrowexpandedstates grid gridoptions gridrow group groupcolumn grouped groupedfinalizerfn groupheader groupheadercache groupheaders grouping groupingcolumnbuilder groupingcolumnprocessor groupingheadercache grouppriority grouprows guaranteed handled hash header higher hopefully including initialised initialiseprocessingstate inline insertgroupheader inserting item items left level levels lined link ll longer looked lower maintains male matches method move movegroupcolumns moves non-group object oldgroupingheadercache option optionally options order output passed previous priority process processes processing processingstate processor promise pulling ready recognised records recursively refresh remain remove removes render renderablerows rendered rendering renumbers reset resolved restore returned row rowindex rowprocessor rows rtl save service services set setgrouping sets setting settings side sort sortalgorithm sorting sortpriority starting stateindex subset takes tidypriorities transient tree treechildren treesubset triggered type types ui uigridgroupingconstants ungroup ungroupcolumn ungrouped update updated values working write",
"keywords": "actual adds age aggregate aggregatecolumn aggregated aggregation aggregationlabel aggregations aggregationtype api applies apply applyrowexpandedstates array asc assumes based basing blank boolean break builder called change changes children clear cleargrouping col coldef collapsed column columndef columndefs columnprocessor columns columnsprocessor config configuration consider contiguous count counts create created creates current currently currentnode currentrow currentvalue custom default defaults described display doesn don elements empty entity example existing expanded expandedstates extract false feature features female fieldname fields finalised finaliseprocessingstate find format full function gender getgrouping getrowexpandedstates grid gridoptions gridrow group groupcolumn grouped groupedfinalizerfn groupheader groupheadercache groupheaders grouping groupingcolumnbuilder groupingcolumnprocessor groupingheadercache grouppriority grouprows guaranteed handled hash header higher hopefully including initialised initialiseprocessingstate inline insertgroupheader inserting item items label left level levels lined link ll longer looked lower maintains male matches method move movegroupcolumns moves non-group object oldgroupingheadercache option optionally options order output passed previous priority process processes processing processingstate processor promise pulling ready recognised records recursively refresh remain remove removes render renderablerows rendered rendering renumbers reset resolved restore returned row rowindex rowprocessor rows rtl save service services set setgrouping sets setting settings side sort sortalgorithm sorting sortpriority starting stateindex string subset takes tidypriorities transient tree treechildren treesubset triggered type types ui uigridgroupingconstants ungroup ungroupcolumn ungrouped update updated values working write",
"isDeprecated": false
},
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<a href="https://github.com/angular-ui/ui-grid/edit/master/packages/grouping/src/js/grouping.js" class="improve-docs"><i class="icon-edit"> </i>Improve this doc</a><a href="https://github.com/angular-ui/ui-grid/blob/master/packages/grouping/src/js/grouping.js#L1258" class="view-source"><i class="icon-eye-open"> </i>View source</a><h1><code ng:non-bindable="">uiGridGrouping</code>
<a href="https://github.com/angular-ui/ui-grid/edit/master/packages/grouping/src/js/grouping.js" class="improve-docs"><i class="icon-edit"> </i>Improve this doc</a><a href="https://github.com/angular-ui/ui-grid/blob/master/packages/grouping/src/js/grouping.js#L1264" class="view-source"><i class="icon-eye-open"> </i>View source</a><h1><code ng:non-bindable="">uiGridGrouping</code>
<div><span class="hint">directive in module <code ng:non-bindable="">ui.grid.grouping</code>
</span>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,16 @@
<div class="description"><div class="ui-grid-grouping-service-page ui-grid-grouping-service-uigridgroupingservice-page"><p>Services for grouping features</p>
</div></div>
<div class="member method"><h2 id="methods">Methods</h2>
<ul class="methods"><li><a href="https://github.com/angular-ui/ui-grid/blob/master/packages/grouping/src/js/grouping.js#L751" class="view-source icon-eye-open"> </a><h3 id="methods_aggregatecolumn">aggregateColumn(grid, column, aggregationType)</h3>
<ul class="methods"><li><a href="https://github.com/angular-ui/ui-grid/blob/master/packages/grouping/src/js/grouping.js#L752" class="view-source icon-eye-open"> </a><h3 id="methods_aggregatecolumn">aggregateColumn(grid, column, aggregationType, aggregationLabel)</h3>
<div class="aggregatecolumn"><div class="aggregatecolumn-page"><p>Sets the aggregation type on a column, if the
column is currently grouped then it removes the grouping first.</p>
</div><h5 id="methods_aggregatecolumn_parameters">Parameters</h5><table class="variables-matrix table table-bordered table-striped"><thead><tr><th>Param</th><th>Type</th><th>Details</th></tr></thead><tbody><tr><td>grid</td><td><a href="" class="label type-hint type-hint-grid">Grid</a></td><td><div class="aggregatecolumn-page"><p>grid object</p>
</div></td></tr><tr><td>column</td><td><a href="" class="label type-hint type-hint-gridcolumn">GridColumn</a></td><td><div class="aggregatecolumn-page"><p>the column we want to aggregate</p>
</div></td></tr><tr><td>aggregationType</td><td><a href="" class="label type-hint type-hint-string">string</a></td><td><div class="aggregatecolumn-page"><p>of the recognised types from uiGridGroupingConstants or one of the custom aggregations from gridOptions</p>
</div></td></tr><tr><td>aggregationLabel</td><td><a href="" class="label type-hint type-hint-string">string</a></td><td><div class="aggregatecolumn-page"><p>to be used instead of the default label. If empty string is passed, label is omitted</p>
</div></td></tr></tbody></table></div>
</li>
<li><a href="https://github.com/angular-ui/ui-grid/blob/master/packages/grouping/src/js/grouping.js#L1200" class="view-source icon-eye-open"> </a><h3 id="methods_applyrowexpandedstates">applyRowExpandedStates(currentNode, expandedStates)</h3>
<li><a href="https://github.com/angular-ui/ui-grid/blob/master/packages/grouping/src/js/grouping.js#L1206" class="view-source icon-eye-open"> </a><h3 id="methods_applyrowexpandedstates">applyRowExpandedStates(currentNode, expandedStates)</h3>
<div class="applyrowexpandedstates"><div class="applyrowexpandedstates-page"><p>Take a hash in the format as created by getRowExpandedStates,
and apply it to the grid.grouping.groupHeaderCache.</p>
<p>Takes a treeSubset, and applies to a treeSubset - so can be called
Expand All @@ -26,28 +27,28 @@
of that expanded states (which hopefully matches the subset of the groupHeaderCache)</p>
</div></td></tr></tbody></table></div>
</li>
<li><a href="https://github.com/angular-ui/ui-grid/blob/master/packages/grouping/src/js/grouping.js#L827" class="view-source icon-eye-open"> </a><h3 id="methods_cleargrouping">clearGrouping(grid)</h3>
<li><a href="https://github.com/angular-ui/ui-grid/blob/master/packages/grouping/src/js/grouping.js#L833" class="view-source icon-eye-open"> </a><h3 id="methods_cleargrouping">clearGrouping(grid)</h3>
<div class="cleargrouping"><div class="cleargrouping-page"><p>Clear any grouped columns and any aggregations. Doesn&#39;t remove sorting,
as we don&#39;t know whether that sorting was added by grouping or was there beforehand</p>
</div><h5 id="methods_cleargrouping_parameters">Parameters</h5><table class="variables-matrix table table-bordered table-striped"><thead><tr><th>Param</th><th>Type</th><th>Details</th></tr></thead><tbody><tr><td>grid</td><td><a href="" class="label type-hint type-hint-grid">Grid</a></td><td><div class="cleargrouping-page"><p>grid object</p>
</div></td></tr></tbody></table></div>
</li>
<li><a href="https://github.com/angular-ui/ui-grid/blob/master/packages/grouping/src/js/grouping.js#L1126" class="view-source icon-eye-open"> </a><h3 id="methods_finaliseprocessingstate">finaliseProcessingState(processingState, stateIndex)</h3>
<li><a href="https://github.com/angular-ui/ui-grid/blob/master/packages/grouping/src/js/grouping.js#L1132" class="view-source icon-eye-open"> </a><h3 id="methods_finaliseprocessingstate">finaliseProcessingState(processingState, stateIndex)</h3>
<div class="finaliseprocessingstate"><div class="finaliseprocessingstate-page"><p>Set all processing states lower than the one that had a break in value to
no longer be initialised. Render the counts into the entity ready for display.</p>
</div><h5 id="methods_finaliseprocessingstate_parameters">Parameters</h5><table class="variables-matrix table table-bordered table-striped"><thead><tr><th>Param</th><th>Type</th><th>Details</th></tr></thead><tbody><tr><td>processingState</td><td><a href="" class="label type-hint type-hint-array">array</a></td><td><div class="finaliseprocessingstate-page"><p>the current processing state</p>
</div></td></tr><tr><td>stateIndex</td><td><a href="" class="label type-hint type-hint-number">number</a></td><td><div class="finaliseprocessingstate-page"><p>the processing state item that we were on when we triggered a new group header, all
processing states after this need to be finalised</p>
</div></td></tr></tbody></table></div>
</li>
<li><a href="https://github.com/angular-ui/ui-grid/blob/master/packages/grouping/src/js/grouping.js#L1009" class="view-source icon-eye-open"> </a><h3 id="methods_getgrouping">getGrouping(grid)</h3>
<li><a href="https://github.com/angular-ui/ui-grid/blob/master/packages/grouping/src/js/grouping.js#L1015" class="view-source icon-eye-open"> </a><h3 id="methods_getgrouping">getGrouping(grid)</h3>
<div class="getgrouping"><div class="getgrouping-page"><p>Get the grouping settings from the columns. As a side effect
this always renumbers the grouping starting at 0</p>
</div><h5 id="methods_getgrouping_parameters">Parameters</h5><table class="variables-matrix table table-bordered table-striped"><thead><tr><th>Param</th><th>Type</th><th>Details</th></tr></thead><tbody><tr><td>grid</td><td><a href="" class="label type-hint type-hint-grid">Grid</a></td><td><div class="getgrouping-page"><p>grid object</p>
</div></td></tr></tbody></table><h5 id="methods_getgrouping_returns">Returns</h5><table class="variables-matrix"><tr><td><a href="" class="label type-hint type-hint-array">array</a></td><td><div class="getgrouping-page"><p>an array of the group fields, in order of priority</p>
</div></td></tr></table></div>
</li>
<li><a href="https://github.com/angular-ui/ui-grid/blob/master/packages/grouping/src/js/grouping.js#L1165" class="view-source icon-eye-open"> </a><h3 id="methods_getrowexpandedstates">getRowExpandedStates(treeChildren)</h3>
<li><a href="https://github.com/angular-ui/ui-grid/blob/master/packages/grouping/src/js/grouping.js#L1171" class="view-source icon-eye-open"> </a><h3 id="methods_getrowexpandedstates">getRowExpandedStates(treeChildren)</h3>
<div class="getrowexpandedstates"><div class="getrowexpandedstates-page"><p>Extract the groupHeaderCache hash, pulling out only the states.</p>
<p>The example below shows a grid that is grouped by gender then age</p>
<pre class="prettyprint linenums">
Expand Down Expand Up @@ -81,7 +82,7 @@
</div></td></tr><tr><td>column</td><td><a href="" class="label type-hint type-hint-gridcolumn">GridColumn</a></td><td><div class="groupcolumn-page"><p>the column we want to group</p>
</div></td></tr></tbody></table></div>
</li>
<li><a href="https://github.com/angular-ui/ui-grid/blob/master/packages/grouping/src/js/grouping.js#L933" class="view-source icon-eye-open"> </a><h3 id="methods_grouprows">groupRows(renderableRows)</h3>
<li><a href="https://github.com/angular-ui/ui-grid/blob/master/packages/grouping/src/js/grouping.js#L939" class="view-source icon-eye-open"> </a><h3 id="methods_grouprows">groupRows(renderableRows)</h3>
<div class="grouprows"><div class="grouprows-page"><p>The rowProcessor that creates the groupHeaders (i.e. does
the actual grouping).</p>
<p>Assumes it is always called after the sorting processor, guaranteed by the priority setting</p>
Expand Down Expand Up @@ -126,15 +127,15 @@
</div></td></tr></tbody></table><h5 id="methods_groupingcolumnprocessor_returns">Returns</h5><table class="variables-matrix"><tr><td><a href="" class="label type-hint type-hint-array">array</a></td><td><div class="groupingcolumnprocessor-page"><p>updated columns array</p>
</div></td></tr></table></div>
</li>
<li><a href="https://github.com/angular-ui/ui-grid/blob/master/packages/grouping/src/js/grouping.js#L982" class="view-source icon-eye-open"> </a><h3 id="methods_initialiseprocessingstate">initialiseProcessingState(grid)</h3>
<li><a href="https://github.com/angular-ui/ui-grid/blob/master/packages/grouping/src/js/grouping.js#L988" class="view-source icon-eye-open"> </a><h3 id="methods_initialiseprocessingstate">initialiseProcessingState(grid)</h3>
<div class="initialiseprocessingstate"><div class="initialiseprocessingstate-page"><p>Creates the processing state array that is used
for groupRows.</p>
</div><h5 id="methods_initialiseprocessingstate_parameters">Parameters</h5><table class="variables-matrix table table-bordered table-striped"><thead><tr><th>Param</th><th>Type</th><th>Details</th></tr></thead><tbody><tr><td>grid</td><td><a href="" class="label type-hint type-hint-grid">Grid</a></td><td><div class="initialiseprocessingstate-page"><p>grid object</p>
</div></td></tr></tbody></table><h5 id="methods_initialiseprocessingstate_returns">Returns</h5><table class="variables-matrix"><tr><td><a href="" class="label type-hint type-hint-array">array</a></td><td><div class="initialiseprocessingstate-page"><p>an array in the format described in the groupRows method,
initialised with blank values</p>
</div></td></tr></table></div>
</li>
<li><a href="https://github.com/angular-ui/ui-grid/blob/master/packages/grouping/src/js/grouping.js#L1057" class="view-source icon-eye-open"> </a><h3 id="methods_insertgroupheader">insertGroupHeader(grid, renderableRows, rowIndex, processingState, stateIndex)</h3>
<li><a href="https://github.com/angular-ui/ui-grid/blob/master/packages/grouping/src/js/grouping.js#L1063" class="view-source icon-eye-open"> </a><h3 id="methods_insertgroupheader">insertGroupHeader(grid, renderableRows, rowIndex, processingState, stateIndex)</h3>
<div class="insertgroupheader"><div class="insertgroupheader-page"><p>Create a group header row, and link it to the various configuration
items that we use.</p>
<p>Look for the row in the oldGroupingHeaderCache, write the row into the new groupingHeaderCache.</p>
Expand All @@ -157,14 +158,14 @@
</div></td></tr></tbody></table><h5 id="methods_movegroupcolumns_returns">Returns</h5><table class="variables-matrix"><tr><td><a href="" class="label type-hint type-hint-array">array</a></td><td><div class="movegroupcolumns-page"><p>updated columns</p>
</div></td></tr></table></div>
</li>
<li><a href="https://github.com/angular-ui/ui-grid/blob/master/packages/grouping/src/js/grouping.js#L784" class="view-source icon-eye-open"> </a><h3 id="methods_setgrouping">setGrouping(grid, config)</h3>
<li><a href="https://github.com/angular-ui/ui-grid/blob/master/packages/grouping/src/js/grouping.js#L790" class="view-source icon-eye-open"> </a><h3 id="methods_setgrouping">setGrouping(grid, config)</h3>
<div class="setgrouping"><div class="setgrouping-page"><p>Set the grouping based on a config object, used by the save state feature
(more specifically, by the restore function in that feature )</p>
</div><h5 id="methods_setgrouping_parameters">Parameters</h5><table class="variables-matrix table table-bordered table-striped"><thead><tr><th>Param</th><th>Type</th><th>Details</th></tr></thead><tbody><tr><td>grid</td><td><a href="" class="label type-hint type-hint-grid">Grid</a></td><td><div class="setgrouping-page"><p>grid object</p>
</div></td></tr><tr><td>config</td><td><a href="" class="label type-hint type-hint-object">object</a></td><td><div class="setgrouping-page"><p>the config we want to set, same format as that returned by getGrouping</p>
</div></td></tr></tbody></table></div>
</li>
<li><a href="https://github.com/angular-ui/ui-grid/blob/master/packages/grouping/src/js/grouping.js#L863" class="view-source icon-eye-open"> </a><h3 id="methods_tidypriorities">tidyPriorities(grid)</h3>
<li><a href="https://github.com/angular-ui/ui-grid/blob/master/packages/grouping/src/js/grouping.js#L869" class="view-source icon-eye-open"> </a><h3 id="methods_tidypriorities">tidyPriorities(grid)</h3>
<div class="tidypriorities"><div class="tidypriorities-page"><p>Renumbers groupPriority and sortPriority such that
groupPriority is contiguous, and sortPriority either matches
groupPriority (for group columns), and otherwise is contiguous and
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
};

vm.remove = function() {
vm.columns.splice($scope.columns.length-1, 1);
vm.columns.splice(vm.columns.length-1, 1);
};

vm.add = function() {
Expand Down
2 changes: 1 addition & 1 deletion docs/partials/tutorial/Tutorial. 317 Custom Templates.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<div><div class="tutorial-page tutorial-317-custom-templates-page"><p>The grid allows you to override most of the templates, including cellTemplate, headerCellTemplate, rowTemplate
and others. You would typically do this to inject functionality like buttons or to get a very different look and
feel that you couldn&#39;t achieve through cell classes and other settings.</p>
<p>It is generally good practice to at least review the standard template in <a href="https://github.com/angular-ui/ui-grid/tree/master/src/templates/ui-grid">https://github.com/angular-ui/ui-grid/tree/master/src/templates/ui-grid</a>
<p>It is generally good practice to at least review the standard template in <a href="https://github.com/angular-ui/ui-grid/tree/master/packages/core/src/templates/ui-grid">https://github.com/angular-ui/ui-grid/tree/master/packages/core/src/templates/ui-grid</a>
to make sure there isn&#39;t functionality that you are overriding that you needed to keep. In many cases it is desirable to
use the standard template as a starting point, and add your customisations on top. Also remember that new features
or code changes may mean that you need to upgrade your custom template (if the standard template has been modified).</p>
Expand Down
Loading

0 comments on commit 5fd7b76

Please sign in to comment.