Skip to content

Commit a2cc77e

Browse files
Portugal, MarceloPortugal, Marcelo
authored andcommitted
gh-pages v4.8.3-3fa72bae
1 parent c0b4859 commit a2cc77e

File tree

163 files changed

+26188
-287288
lines changed

Some content is hidden

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

163 files changed

+26188
-287288
lines changed

docs/js/docs-setup.js

Lines changed: 9 additions & 9 deletions
Large diffs are not rendered by default.

docs/partials/api/ui.grid.directive.uiGridStyle.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ <h2 id="example">Example</h2>
3838
<div class="tab-pane" title="End to end test">
3939
<pre class="prettyprint linenums" ng-set-text="scenario.js-3"></pre>
4040
<script type="text/ng-template" id="scenario.js-3">
41-
it('should apply the right class to the element', function () {
41+
xit('should apply the right class to the element', function () {
4242
element(by.css('.blah')).getCssValue('border-top-width')
4343
.then(function(c) {
4444
expect(c).toContain('1px');

docs/partials/api/ui.grid.service.GridUtil.focus.html

Lines changed: 4 additions & 4 deletions
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/core/src/js/services/ui-grid-util.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/core/src/js/services/ui-grid-util.js#L798" class="view-source"><i class="icon-eye-open"> </i>View source</a><h1><code ng:non-bindable="">focus</code>
1+
<a href="https://github.com/angular-ui/ui-grid/edit/master/packages/core/src/js/services/ui-grid-util.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/core/src/js/services/ui-grid-util.js#L803" class="view-source"><i class="icon-eye-open"> </i>View source</a><h1><code ng:non-bindable="">focus</code>
22
<div><span class="hint">service in module <code ng:non-bindable="">ui.grid.service:GridUtil</code>
33
</span>
44
</div>
@@ -11,14 +11,14 @@
1111
are triggered.</p>
1212
</div></div>
1313
<div class="member method"><h2 id="methods">Methods</h2>
14-
<ul class="methods"><li><a href="https://github.com/angular-ui/ui-grid/blob/master/packages/core/src/js/services/ui-grid-util.js#L839" class="view-source icon-eye-open"> </a><h3 id="methods_byelement">byElement(element)</h3>
14+
<ul class="methods"><li><a href="https://github.com/angular-ui/ui-grid/blob/master/packages/core/src/js/services/ui-grid-util.js#L844" class="view-source icon-eye-open"> </a><h3 id="methods_byelement">byElement(element)</h3>
1515
<div class="byelement"><div class="byelement-page"><p>Sets the focus of the document to the given dom element.</p>
1616
</div><h5 id="methods_byelement_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>element</td><td><a href="" class="label type-hint type-hint-element">element</a><a href="" class="label type-hint type-hint-angular">angular.element</a></td><td><div class="byelement-page"><p>the DOM element to set the focus on</p>
1717
</div></td></tr></tbody></table><h5 id="methods_byelement_returns">Returns</h5><table class="variables-matrix"><tr><td><a href="" class="label type-hint type-hint-promise">Promise</a></td><td><div class="byelement-page"><p>The <code>$timeout</code> promise that will be resolved once focus is set. If another focus is requested before this request is evaluated.
1818
then the promise will fail with the <code>&#39;canceled&#39;</code> reason.</p>
1919
</div></td></tr></table></div>
2020
</li>
21-
<li><a href="https://github.com/angular-ui/ui-grid/blob/master/packages/core/src/js/services/ui-grid-util.js#L815" class="view-source icon-eye-open"> </a><h3 id="methods_byid">byId(id, Grid)</h3>
21+
<li><a href="https://github.com/angular-ui/ui-grid/blob/master/packages/core/src/js/services/ui-grid-util.js#L820" class="view-source icon-eye-open"> </a><h3 id="methods_byid">byId(id, Grid)</h3>
2222
<div class="byid"><div class="byid-page"><p>Sets the focus of the document to the given id value.
2323
If provided with the grid object it will automatically append the grid id.
2424
This is done to encourage unique dom id&#39;s as it allows for multiple grids on a
@@ -30,7 +30,7 @@
3030
then the promise will fail with the <code>&#39;canceled&#39;</code> reason.</p>
3131
</div></td></tr></table></div>
3232
</li>
33-
<li><a href="https://github.com/angular-ui/ui-grid/blob/master/packages/core/src/js/services/ui-grid-util.js#L866" class="view-source icon-eye-open"> </a><h3 id="methods_byselector">bySelector(parentElement, querySelector, aSync)</h3>
33+
<li><a href="https://github.com/angular-ui/ui-grid/blob/master/packages/core/src/js/services/ui-grid-util.js#L871" class="view-source icon-eye-open"> </a><h3 id="methods_byselector">bySelector(parentElement, querySelector, aSync)</h3>
3434
<div class="byselector"><div class="byselector-page"><p>Sets the focus of the document to the given dom element.</p>
3535
</div><h5 id="methods_byselector_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>parentElement</td><td><a href="" class="label type-hint type-hint-element">element</a><a href="" class="label type-hint type-hint-angular">angular.element</a></td><td><div class="byselector-page"><p>the parent/ancestor of the dom element that you are selecting using the query selector</p>
3636
</div></td></tr><tr><td>querySelector</td><td><a href="" class="label type-hint type-hint-string">String</a></td><td><div class="byselector-page"><p>finds the dom element using the <a href="http://www.w3schools.com/jsref/met_document_queryselector.asp">querySelector</a></p>

docs/partials/api/ui.grid.service.GridUtil.html

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
</div></td></tr></tbody></table><h5 id="methods_createboundedwrapper_returns">Returns</h5><table class="variables-matrix"><tr><td><a href="" class="label type-hint type-hint-function">Function</a></td><td><div class="createboundedwrapper-page"><p>The wrapper that performs the binding</p>
1919
</div></td></tr></table></div>
2020
</li>
21-
<li><a href="https://github.com/angular-ui/ui-grid/blob/master/packages/core/src/js/services/ui-grid-util.js#L1153" class="view-source icon-eye-open"> </a><h3 id="methods_debounce">debounce(func, wait, immediate)</h3>
21+
<li><a href="https://github.com/angular-ui/ui-grid/blob/master/packages/core/src/js/services/ui-grid-util.js#L1158" class="view-source icon-eye-open"> </a><h3 id="methods_debounce">debounce(func, wait, immediate)</h3>
2222
<div class="debounce"><div class="debounce-page"><p>Copied from <a href="https://github.com/shahata/angular-debounce">https://github.com/shahata/angular-debounce</a>
2323
Takes a function, decorates it to execute only 1 time after multiple calls, and returns the decorated function</p>
2424
</div><h5 id="methods_debounce_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>func</td><td><a href="" class="label type-hint type-hint-function">function</a></td><td><div class="debounce-page"><p>function to debounce</p>
@@ -35,7 +35,7 @@
3535
</div></div>
3636
</div>
3737
</li>
38-
<li><a href="https://github.com/angular-ui/ui-grid/blob/master/packages/core/src/js/services/ui-grid-util.js#L1076" class="view-source icon-eye-open"> </a><h3 id="methods_denormalizescrollleft">denormalizeScrollLeft(element, scrollLeft, grid)</h3>
38+
<li><a href="https://github.com/angular-ui/ui-grid/blob/master/packages/core/src/js/services/ui-grid-util.js#L1081" class="view-source icon-eye-open"> </a><h3 id="methods_denormalizescrollleft">denormalizeScrollLeft(element, scrollLeft, grid)</h3>
3939
<div class="denormalizescrollleft"><div class="denormalizescrollleft-page"><p>Browsers currently handle RTL in different ways, resulting in inconsistent scrollLeft values. This method denormalizes a value for the current browser.</p>
4040
</div><h5 id="methods_denormalizescrollleft_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>element</td><td><a href="" class="label type-hint type-hint-element">element</a></td><td><div class="denormalizescrollleft-page"><p>The element to normalize the <code>scrollLeft</code> value for</p>
4141
</div></td></tr><tr><td>scrollLeft</td><td><a href="" class="label type-hint type-hint-number">number</a></td><td><div class="denormalizescrollleft-page"><p>The <code>scrollLeft</code> value to denormalize.</p>
@@ -109,20 +109,20 @@
109109
</ul>
110110
</div></td></tr></table></div>
111111
</li>
112-
<li><a href="https://github.com/angular-ui/ui-grid/blob/master/packages/core/src/js/services/ui-grid-util.js#L773" class="view-source icon-eye-open"> </a><h3 id="methods_logdebug">logDebug()</h3>
112+
<li><a href="https://github.com/angular-ui/ui-grid/blob/master/packages/core/src/js/services/ui-grid-util.js#L778" class="view-source icon-eye-open"> </a><h3 id="methods_logdebug">logDebug()</h3>
113113
<div class="logdebug"><div class="logdebug-page"><p>wraps the $log method, allowing us to choose different
114114
treatment within ui-grid if we so desired. At present we only log
115115
debug messages if uiGridConstants.LOG_DEBUG_MESSAGES is set to true</p>
116116
</div></div>
117117
</li>
118-
<li><a href="https://github.com/angular-ui/ui-grid/blob/master/packages/core/src/js/services/ui-grid-util.js#L742" class="view-source icon-eye-open"> </a><h3 id="methods_logerror">logError(logMessage)</h3>
118+
<li><a href="https://github.com/angular-ui/ui-grid/blob/master/packages/core/src/js/services/ui-grid-util.js#L747" class="view-source icon-eye-open"> </a><h3 id="methods_logerror">logError(logMessage)</h3>
119119
<div class="logerror"><div class="logerror-page"><p>wraps the $log method, allowing us to choose different
120120
treatment within ui-grid if we so desired. At present we only log
121121
error messages if uiGridConstants.LOG_ERROR_MESSAGES is set to true</p>
122122
</div><h5 id="methods_logerror_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>logMessage</td><td><a href="" class="label type-hint type-hint-string">string</a></td><td><div class="logerror-page"><p>message to be logged to the console</p>
123123
</div></td></tr></tbody></table></div>
124124
</li>
125-
<li><a href="https://github.com/angular-ui/ui-grid/blob/master/packages/core/src/js/services/ui-grid-util.js#L758" class="view-source icon-eye-open"> </a><h3 id="methods_logwarn">logWarn(logMessage)</h3>
125+
<li><a href="https://github.com/angular-ui/ui-grid/blob/master/packages/core/src/js/services/ui-grid-util.js#L763" class="view-source icon-eye-open"> </a><h3 id="methods_logwarn">logWarn(logMessage)</h3>
126126
<div class="logwarn"><div class="logwarn-page"><p>wraps the $log method, allowing us to choose different
127127
treatment within ui-grid if we so desired. At present we only log
128128
warning messages if uiGridConstants.LOG_WARN_MESSAGES is set to true</p>
@@ -141,7 +141,7 @@
141141
</div></div>
142142
</div>
143143
</li>
144-
<li><a href="https://github.com/angular-ui/ui-grid/blob/master/packages/core/src/js/services/ui-grid-util.js#L1041" class="view-source icon-eye-open"> </a><h3 id="methods_normalizescrollleft">normalizeScrollLeft(element, grid)</h3>
144+
<li><a href="https://github.com/angular-ui/ui-grid/blob/master/packages/core/src/js/services/ui-grid-util.js#L1046" class="view-source icon-eye-open"> </a><h3 id="methods_normalizescrollleft">normalizeScrollLeft(element, grid)</h3>
145145
<div class="normalizescrollleft"><div class="normalizescrollleft-page"><p>Browsers currently handle RTL in different ways, resulting in inconsistent scrollLeft values. This method normalizes them</p>
146146
</div><h5 id="methods_normalizescrollleft_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>element</td><td><a href="" class="label type-hint type-hint-element">element</a></td><td><div class="normalizescrollleft-page"><p>The element to get the <code>scrollLeft</code> from.</p>
147147
</div></td></tr><tr><td>grid</td><td><a href="" class="label type-hint type-hint-grid">grid</a></td><td><div class="normalizescrollleft-page"><ul>
@@ -150,7 +150,7 @@
150150
</div></td></tr></tbody></table><h5 id="methods_normalizescrollleft_returns">Returns</h5><table class="variables-matrix"><tr><td><a href="" class="label type-hint type-hint-number">number</a></td><td><div class="normalizescrollleft-page"><p>A normalized scrollLeft value for the current browser.</p>
151151
</div></td></tr></table></div>
152152
</li>
153-
<li><a href="https://github.com/angular-ui/ui-grid/blob/master/packages/core/src/js/services/ui-grid-util.js#L541" class="view-source icon-eye-open"> </a><h3 id="methods_normalizewheelevent">normalizeWheelEvent(event)</h3>
153+
<li><a href="https://github.com/angular-ui/ui-grid/blob/master/packages/core/src/js/services/ui-grid-util.js#L546" class="view-source icon-eye-open"> </a><h3 id="methods_normalizewheelevent">normalizeWheelEvent(event)</h3>
154154
<div class="normalizewheelevent"><div class="normalizewheelevent-page"><p>Given an event from this list:</p>
155155
<p><code>wheel, mousewheel, DomMouseScroll, MozMousePixelScroll</code></p>
156156
<p>&quot;normalize&quot; it
@@ -159,7 +159,7 @@
159159
</div></td></tr></tbody></table><h5 id="methods_normalizewheelevent_returns">Returns</h5><table class="variables-matrix"><tr><td><a href="" class="label type-hint type-hint-event">event</a></td><td><div class="normalizewheelevent-page"><p>A normalized event</p>
160160
</div></td></tr></table></div>
161161
</li>
162-
<li><a href="https://github.com/angular-ui/ui-grid/blob/master/packages/core/src/js/services/ui-grid-util.js#L1116" class="view-source icon-eye-open"> </a><h3 id="methods_preeval">preEval(path)</h3>
162+
<li><a href="https://github.com/angular-ui/ui-grid/blob/master/packages/core/src/js/services/ui-grid-util.js#L1121" class="view-source icon-eye-open"> </a><h3 id="methods_preeval">preEval(path)</h3>
163163
<div class="preeval"><div class="preeval-page"><p>Takes a field path and converts it to bracket notation to allow for special characters in path</p>
164164
</div><h5 id="methods_preeval_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>path</td><td><a href="" class="label type-hint type-hint-string">string</a></td><td><div class="preeval-page"><p>Path to evaluate</p>
165165
</div></td></tr></tbody></table><h5 id="methods_preeval_returns">Returns</h5><table class="variables-matrix"><tr><td><a href="" class="label type-hint type-hint-string">string</a></td><td><div class="preeval-page"><p>A path that is normalized.</p>
@@ -205,7 +205,7 @@
205205
</div></div>
206206
</div>
207207
</li>
208-
<li><a href="https://github.com/angular-ui/ui-grid/blob/master/packages/core/src/js/services/ui-grid-util.js#L1212" class="view-source icon-eye-open"> </a><h3 id="methods_throttle">throttle(func, wait, options)</h3>
208+
<li><a href="https://github.com/angular-ui/ui-grid/blob/master/packages/core/src/js/services/ui-grid-util.js#L1217" class="view-source icon-eye-open"> </a><h3 id="methods_throttle">throttle(func, wait, options)</h3>
209209
<div class="throttle"><div class="throttle-page"><p>Adapted from debounce function (above)
210210
Potential keys for Params Object are:
211211
trailing (bool) - whether to trigger after throttle time ends if called multiple times

docs/partials/tutorial/Tutorial. 106 Binding examples.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,19 +69,19 @@
6969
<pre class="prettyprint linenums" ng-set-text="scenario.js-33"></pre>
7070
<script type="text/ng-template" id="scenario.js-33">
7171
var gridTestUtils = require('../../test/e2e/gridTestUtils.spec.js');
72-
it('grid should have one visible row and four columns', function () {
72+
xit('grid should have one visible row and four columns', function () {
7373
gridTestUtils.expectRowCount( 'grid1', 1 );
7474
gridTestUtils.expectHeaderColumnCount( 'grid1', 4 );
7575
});
7676

77-
it('headers as specified', function () {
77+
xit('headers as specified', function () {
7878
gridTestUtils.expectHeaderCellValueMatch( 'grid1', 0, 'First Name' );
7979
gridTestUtils.expectHeaderCellValueMatch( 'grid1', 1, '1st Friend' );
8080
gridTestUtils.expectHeaderCellValueMatch( 'grid1', 2, 'City' );
8181
gridTestUtils.expectHeaderCellValueMatch( 'grid1', 3, 'Get Zip' );
8282
});
8383

84-
it('row values should be as expected', function () {
84+
xit('row values should be as expected', function () {
8585
gridTestUtils.expectRowValuesMatch( 'grid1', 0, [ 'Cox', 'friend0', 'Laurel', '39565' ]);
8686
});
8787
</script>

docs/partials/tutorial/Tutorial. 109 Multiple Grids per Page.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,12 @@
6262
<pre class="prettyprint linenums" ng-set-text="scenario.js-36"></pre>
6363
<script type="text/ng-template" id="scenario.js-36">
6464
var gridTestUtils = require('../../test/e2e/gridTestUtils.spec.js');
65-
it('grid1 should have three visible columns, grid2 has four', function () {
65+
xit('grid1 should have three visible columns, grid2 has four', function () {
6666
gridTestUtils.expectHeaderColumnCount( 'grid1', 3 );
6767
gridTestUtils.expectHeaderColumnCount( 'grid2', 4 );
6868
});
6969

70-
it('menus should show over correct grid', function () {
70+
xit('menus should show over correct grid', function () {
7171
// click on menu in grid 1
7272
var headerCell = gridTestUtils.headerCell( 'grid1', 0 );
7373
headerCell.element( by.css( '.ui-grid-column-menu-button' ) ).click();

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@
125125
gridTestUtils.expectHeaderColumnCount( 'grid1', 2 );
126126
});
127127

128-
it('add and remove columns from end, grid updates accordingly', function () {
128+
xit('add and remove columns from end, grid updates accordingly', function () {
129129
element(by.id('button_add')).click();
130130
gridTestUtils.expectHeaderColumnCount( 'grid1', 3 );
131131
gridTestUtils.expectHeaderCellValueMatch( 'grid1', 1, 'Gender' );
@@ -136,7 +136,7 @@
136136
gridTestUtils.expectHeaderCellValueMatch( 'grid1', 1, 'Gender' );
137137
});
138138

139-
it('add and remove columns in middle, grid updates accordingly', function () {
139+
xit('add and remove columns in middle, grid updates accordingly', function () {
140140
element(by.id('button_splice')).click();
141141
gridTestUtils.expectHeaderColumnCount( 'grid1', 3 );
142142
gridTestUtils.expectHeaderCellValueMatch( 'grid1', 1, 'Company' );
@@ -147,7 +147,7 @@
147147
gridTestUtils.expectHeaderCellValueMatch( 'grid1', 1, 'Gender' );
148148
});
149149

150-
it('toggle column 0 visible should make column appear and disappear', function () {
150+
xit('toggle column 0 visible should make column appear and disappear', function () {
151151
element(by.id('button_toggle_visible')).click();
152152
gridTestUtils.expectHeaderColumnCount( 'grid1', 1 );
153153
gridTestUtils.expectHeaderCellValueMatch( 'grid1', 0, 'Gender' );

docs/partials/tutorial/Tutorial. 114 Adding a row header.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
<script type="text/ng-template" id="scenario.js-46">
5858
var gridTestUtils = require('../../test/e2e/gridTestUtils.spec.js');
5959
describe( '114 add row header', function() {
60-
it('grid should have two visible columns, and one pinned column', function () {
60+
xit('grid should have two visible columns, and one pinned column', function () {
6161
gridTestUtils.expectHeaderLeftColumnCount( 'grid1', 1 );
6262
gridTestUtils.expectHeaderColumnCount( 'grid1', 2 );
6363
});

docs/partials/tutorial/Tutorial. 115 HeaderCellClass.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,11 @@ <h3 id="source">Source</h3>
7171
var gridTestUtils = require('../../test/e2e/gridTestUtils.spec.js');
7272

7373
describe( '115 header cell class', function() {
74-
it('grid should have two visible columns', function () {
74+
xit('grid should have two visible columns', function () {
7575
gridTestUtils.expectHeaderColumnCount( 'grid1', 2 );
7676
});
7777

78-
it('cell classes', function () {
78+
xit('cell classes', function () {
7979
// blue for header 0
8080
expect( gridTestUtils.headerCell( 'grid1', 0 ).getCssValue('color')).toEqual('rgba(0, 0, 255, 1)');
8181

docs/partials/tutorial/Tutorial. 116 Fonts and Installation.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
</div>
44
</h1>
55
<div><div class="tutorial-page tutorial-116-fonts-and-installation-page"><p>We get a lot of questions about fonts, and it seems to be a pain point for many users. To date all
6-
of these problems have been diagnosed to a misconfigured build setup for the end user.</p>
6+
of these problems have been diagnosed to a misconfigured build setup for the end user. Please also
7+
double-check that you included the <code>ui-grid.css</code> stylesheet.</p>
78
<p>This tutorial addresses the basics of the configuration.</p>
89
<p>Key points here are:</p>
910
<ol>

0 commit comments

Comments
 (0)