Skip to content

Commit 5fd7b76

Browse files
author
Portugal
committed
gh-pages v4.8.4
1 parent de9733f commit 5fd7b76

File tree

375 files changed

+163185
-40281
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

375 files changed

+163185
-40281
lines changed

docs/grunt-scripts/pdfmake.js

+65,523-39,944
Large diffs are not rendered by default.

docs/grunt-scripts/vfs_fonts.js

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/index.html

+4-4
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,13 @@
4646
addTag('script', {src: 'js/marked.min.js'}, sync);
4747

4848

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

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

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

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

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

docs/js/docs-setup.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -950,7 +950,7 @@ UI_DOCS={
950950
"type": "service",
951951
"moduleName": "ui.grid.grouping",
952952
"shortDescription": "Services for grouping features",
953-
"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",
953+
"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",
954954
"isDeprecated": false
955955
},
956956
{

docs/partials/api/ui.grid.grouping.directive.uiGridGrouping.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<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>
1+
<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>
22
<div><span class="hint">directive in module <code ng:non-bindable="">ui.grid.grouping</code>
33
</span>
44
</div>

docs/partials/api/ui.grid.grouping.service.uiGridGroupingService.html

+12-11
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,16 @@
77
<div class="description"><div class="ui-grid-grouping-service-page ui-grid-grouping-service-uigridgroupingservice-page"><p>Services for grouping features</p>
88
</div></div>
99
<div class="member method"><h2 id="methods">Methods</h2>
10-
<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>
10+
<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>
1111
<div class="aggregatecolumn"><div class="aggregatecolumn-page"><p>Sets the aggregation type on a column, if the
1212
column is currently grouped then it removes the grouping first.</p>
1313
</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>
1414
</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>
1515
</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>
16+
</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>
1617
</div></td></tr></tbody></table></div>
1718
</li>
18-
<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>
19+
<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>
1920
<div class="applyrowexpandedstates"><div class="applyrowexpandedstates-page"><p>Take a hash in the format as created by getRowExpandedStates,
2021
and apply it to the grid.grouping.groupHeaderCache.</p>
2122
<p>Takes a treeSubset, and applies to a treeSubset - so can be called
@@ -26,28 +27,28 @@
2627
of that expanded states (which hopefully matches the subset of the groupHeaderCache)</p>
2728
</div></td></tr></tbody></table></div>
2829
</li>
29-
<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>
30+
<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>
3031
<div class="cleargrouping"><div class="cleargrouping-page"><p>Clear any grouped columns and any aggregations. Doesn&#39;t remove sorting,
3132
as we don&#39;t know whether that sorting was added by grouping or was there beforehand</p>
3233
</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>
3334
</div></td></tr></tbody></table></div>
3435
</li>
35-
<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>
36+
<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>
3637
<div class="finaliseprocessingstate"><div class="finaliseprocessingstate-page"><p>Set all processing states lower than the one that had a break in value to
3738
no longer be initialised. Render the counts into the entity ready for display.</p>
3839
</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>
3940
</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
4041
processing states after this need to be finalised</p>
4142
</div></td></tr></tbody></table></div>
4243
</li>
43-
<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>
44+
<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>
4445
<div class="getgrouping"><div class="getgrouping-page"><p>Get the grouping settings from the columns. As a side effect
4546
this always renumbers the grouping starting at 0</p>
4647
</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>
4748
</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>
4849
</div></td></tr></table></div>
4950
</li>
50-
<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>
51+
<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>
5152
<div class="getrowexpandedstates"><div class="getrowexpandedstates-page"><p>Extract the groupHeaderCache hash, pulling out only the states.</p>
5253
<p>The example below shows a grid that is grouped by gender then age</p>
5354
<pre class="prettyprint linenums">
@@ -81,7 +82,7 @@
8182
</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>
8283
</div></td></tr></tbody></table></div>
8384
</li>
84-
<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>
85+
<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>
8586
<div class="grouprows"><div class="grouprows-page"><p>The rowProcessor that creates the groupHeaders (i.e. does
8687
the actual grouping).</p>
8788
<p>Assumes it is always called after the sorting processor, guaranteed by the priority setting</p>
@@ -126,15 +127,15 @@
126127
</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>
127128
</div></td></tr></table></div>
128129
</li>
129-
<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>
130+
<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>
130131
<div class="initialiseprocessingstate"><div class="initialiseprocessingstate-page"><p>Creates the processing state array that is used
131132
for groupRows.</p>
132133
</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>
133134
</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,
134135
initialised with blank values</p>
135136
</div></td></tr></table></div>
136137
</li>
137-
<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>
138+
<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>
138139
<div class="insertgroupheader"><div class="insertgroupheader-page"><p>Create a group header row, and link it to the various configuration
139140
items that we use.</p>
140141
<p>Look for the row in the oldGroupingHeaderCache, write the row into the new groupingHeaderCache.</p>
@@ -157,14 +158,14 @@
157158
</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>
158159
</div></td></tr></table></div>
159160
</li>
160-
<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>
161+
<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>
161162
<div class="setgrouping"><div class="setgrouping-page"><p>Set the grouping based on a config object, used by the save state feature
162163
(more specifically, by the restore function in that feature )</p>
163164
</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>
164165
</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>
165166
</div></td></tr></tbody></table></div>
166167
</li>
167-
<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>
168+
<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>
168169
<div class="tidypriorities"><div class="tidypriorities-page"><p>Renumbers groupPriority and sortPriority such that
169170
groupPriority is contiguous, and sortPriority either matches
170171
groupPriority (for group columns), and otherwise is contiguous and

docs/partials/tutorial/Tutorial. 113 Adding and removing columns.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
};
7171

7272
vm.remove = function() {
73-
vm.columns.splice($scope.columns.length-1, 1);
73+
vm.columns.splice(vm.columns.length-1, 1);
7474
};
7575

7676
vm.add = function() {

docs/partials/tutorial/Tutorial. 317 Custom Templates.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<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
66
and others. You would typically do this to inject functionality like buttons or to get a very different look and
77
feel that you couldn&#39;t achieve through cell classes and other settings.</p>
8-
<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>
8+
<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>
99
to make sure there isn&#39;t functionality that you are overriding that you needed to keep. In many cases it is desirable to
1010
use the standard template as a starting point, and add your customisations on top. Also remember that new features
1111
or code changes may mean that you need to upgrade your custom template (if the standard template has been modified).</p>

0 commit comments

Comments
 (0)