Skip to content

Commit f12eb72

Browse files
Portugal, MarceloPortugal, Marcelo
authored andcommitted
gh-pages v4.6.0
1 parent d847c85 commit f12eb72

File tree

257 files changed

+70037
-299
lines changed

Some content is hidden

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

257 files changed

+70037
-299
lines changed

docs/js/docs-setup.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ NG_DOCS={
182182
"type": "function",
183183
"moduleName": "ui.grid",
184184
"shortDescription": "Default GridOptions class. GridOptions are defined by the application developer and overlaid",
185-
"keywords": "$delegate $http $provide $resource $scope $translate access action actions add adding additional adds addtogridmenu adjusted advantage aggregates aggregation aggregationcalcthrottle alert alert-info allow allowing allows altering alternative alternatively angular angular-translate angularjs api app application approach appscope appscopeprovider aquamarine array assign assigned associate associated attribute attributes auto-generating automatically avoid background-color backwards behavior behaviour binding block boolean bottom boxes break calcuations callback called care center changes check class close col colcontainer coldef column columndef columndefs columnfooterheight columns columnvirtualizationthreshold common commonly compare compared compatibility complex conditions config configure content context controller controls converts copy core css current custom customisation customised customscroller data dataset debounce decorator default defaults define defined defines detailed developer direct directly disable disabled display displayed displayname displays div documented doesn dom dynamic element elements empty enablecolumnmenus enabled enablefiltering enablegridmenu enablehorizontalscrollbar enableminheightcheck enablerowhashing enablesorting enableverticalscrollbar entire entities entitya entityb equality event events example examples excesscolumns excessrows exclude excludeproperties executing existing exists external extra factory false feel field1 field2 fields file filter filterchange filtering fired fires flat flatentityaccess flexible floats fnone follow footer footer_template footertemplate force format function functions generate getrowidentity getsafetext github grid gridapi gridfootertemplate gridmenu gridmenucustomitems gridmenushowhidecolumns gridmenutemplate gridmenutitlefilter gridoptions grids gridutil handles header header_template headers headertemplate height helpful helps hidden hide high hit hits horizontal horizontalscrollthreshold html i18nservice icon identical identifying identity ignore ignored implemented implying improvement include individual infinite infinitescrolldown infinitescrollrowsfromend infinitescrollup initialize initialized initoptions inline instantiated integer interact internal internationalization inverse issues item items json jumpy large list listen ll loading logic maintain management maxvisiblecolumncount menu menus method middle milliseconds minimum minimumcolumnsize minrowstoshow minwidth modified modify mouse multiple mydata myscrolling myscrollingoverride names needed needmoredata needmoredatatop newly nextuid ng-click ng-repeat note null number numbers object objects onregisterapi operate option options overlaid overridden override parent party pass passed per-column performance pixels place places point pointer position precompiled prefetch preserve pretty prevents process programatically promise properties properties_scrollbars property provide provided providing query refer reference remember removefromgridmenu render rendered renderedcolumns renderingcomplete replace request requested required resize resolve return returns role row row_template rowequality rowheight rowidentity rows rowtemplate runs savescrollpercentagemethod scope scroll scrollbar scrollbars scrolldebounce scrolled scroller scrollers scrollhandler scrolling scrollthreshold second selectallrows selected selection server service set sets setting settings showcolumnfooter showgridfooter showheader situation smoothness sort sorter sorting source sourced speed speeding standard starting static string stripped structure style sub-objects success supported suppresses tailor takes tall template text-align third throttle time title tojson top total totals track trigger true turn tutorial ui ui-grid ui-grid-bottom-panel ui-grid-cell ui-grid-column-menu-button ui-grid-header ui-grid-top-panel uigrid uigridconstants uigridviewport uniquely update updated updating usage useexternalfiltering useexternalsorting user values var vastly vertical viewport virtualization virtualizationthreshold visible wheelscrollthrottle when_needed widgets width working x_"
185+
"keywords": "$delegate $http $provide $resource $scope $translate access action actions add adding additional adds addtogridmenu adjusted advantage aggregates aggregation aggregationcalcthrottle alert alert-info allow allowing allows altering alternative alternatively amount angular angular-translate angularjs api app application approach appscope appscopeprovider aquamarine array assign assigned associate associated attribute attributes auto-generating automatically avoid background-color backwards behavior behaviour binding block boolean bottom boxes break calcuations callback called care center changes check class close col colcontainer coldef column columndef columndefs columnfooterheight columns columnvirtualizationthreshold common commonly compare compared compatibility complex conditions config configure content context controller controls converts copy core css current custom customisation customised customscroller data dataset debounce decorator default defaults define defined defines detailed developer direct directly disable disabled display displayed displayname displays div documented doesn dom dynamic element elements empty enablecolumnmenus enabled enablefiltering enablegridmenu enablehorizontalscrollbar enableminheightcheck enablerowhashing enablesorting enableverticalscrollbar entire entities entitya entityb equality event events example examples excesscolumns excessrows exclude excludeproperties executing existing exists external extra factory false feel field1 field2 fields file filter filterchange filtering fired fires flat flatentityaccess flexible floats fnone follow footer footer_template footertemplate force format function functions generate getrowidentity getsafetext github grid gridapi gridfootertemplate gridmenu gridmenucustomitems gridmenushowhidecolumns gridmenutemplate gridmenutitlefilter gridoptions grids gridutil handles header header_template headers headertemplate height helpful helps hidden hide high hit hits horizontal html i18nservice icon identical identifying identity ignore ignored implemented implying improvement include individual infinite infinitescrolldown infinitescrollrowsfromend infinitescrollup initialize initialized initoptions inline instantiated integer interact internal internationalization inverse issues item items json jumpy large list listen ll loading logic maintain management maxvisiblecolumncount menu menus method middle milliseconds minimum minimumcolumnsize minrowstoshow minwidth modified modify mouse multiple mydata myscrolling myscrollingoverride names needed needmoredata needmoredatatop newly nextuid ng-click ng-repeat note null number numbers object objects onregisterapi operate option options overlaid overridden override parent party pass passed per-column performance pixels place places point pointer position precompiled prefetch preserve pretty prevents process programatically promise properties properties_scrollbars property provide provided providing query refer reference remember removefromgridmenu render rendered renderedcolumns renderingcomplete replace request requested required resize resolve return returns role row row_template rowequality rowheight rowidentity rows rowtemplate runs savescrollpercentagemethod scope scroll scrollbar scrollbars scrolldebounce scrolled scroller scrollers scrollhandler scrolling scrollthreshold second selectallrows selected selection server service set sets setting settings showcolumnfooter showgridfooter showheader situation smoothness sort sorter sorting source sourced speed speeding standard starting static string stripped structure style sub-objects success supported suppresses tailor takes tall template text-align third throttle throttles time title tojson top total totals track trigger true turn tutorial ui ui-grid ui-grid-bottom-panel ui-grid-cell ui-grid-column-menu-button ui-grid-header ui-grid-top-panel uigrid uigridconstants uigridviewport uniquely update updated updating usage useexternalfiltering useexternalsorting user values var vastly vertical viewport virtualization virtualizationthreshold visible wheelscrollthrottle when_needed widgets width working x_"
186186
},
187187
{
188188
"section": "api",
@@ -901,7 +901,7 @@ NG_DOCS={
901901
"type": "service",
902902
"moduleName": "ui.grid.i18n",
903903
"shortDescription": "Services for i18n",
904-
"keywords": "$broadcasts $rootscope add adds aggregate api application ascending cache column current currently decorate description drag drop en fr getalllangs getcurrentlang getsafetext grid group grouped grouppanel header i18n i18nconstants i18nservice items label1 label2 lang language languages loaded map maps missing names path property retrieving return returns service services set setcurrentlang sets sort string stringmaps strings text translation ui update_event"
904+
"keywords": "$broadcasts $emits $rootscope add adds aggregate api application ascending cache column current currently decorate default description drag drop en english fallback fr getalllangs getcurrentlang getfallbacklang getsafetext grid group grouped grouppanel header i18n i18nconstants i18nservice items label1 label2 lang language languages loaded map maps missing names path property retrieving return returns service services set setcurrentlang setfallbacklang sets sort string stringmaps strings text translation ui update_event"
905905
},
906906
{
907907
"section": "api",
@@ -1747,7 +1747,7 @@ NG_DOCS={
17471747
"type": "overview",
17481748
"moduleName": "Tutorial: 104 i18n",
17491749
"shortDescription": "UI-Grid provides an i18nService that you can use to change the default language, add translations, ",
1750-
"keywords": "$ctrl $http $inject add advantage allowed alternatively angular angular-translate app application attribute base bellow better change class columndefs columns company controller css current currently data default describe description directive div easiest element enablefiltering english example existing expect expectheadercolumncount false field filter firefoxreload follow fr function gender getalllangs gettext grid gridoptions gridtestutils grouppanel header headers height html http i18n i18ngrid i18nservice js json lang langdropdown langs language languages load loading main mainctrl menu method module multi-file ng-controller ng-model ng-options ngtouch nl option order overview performance provided recommended refer require response scenario service set setcurrentlang setting spec src stored support three toequal translate translations tutorial ui ui-grid ui-i18n ui-t var visible vm width"
1750+
"keywords": "$ctrl $http $inject add advantage allowed alternatively angular angular-translate app application attribute base bellow better change class columndefs columns company controller css current currently data default describe description directive div easiest element enablefiltering english example existing expect expectheadercolumncount false field filter firefoxreload follow fr function gender getalllangs gettext grid gridoptions gridtestutils grouppanel header headers height html http i18n i18ngrid i18nservice js json lang langdropdown langs language languages load loading main mainctrl menu method module multi-file ng-controller ng-model ng-options ngtouch nl option order overview performance provided recommended refer require response scenario service set setcurrentlang setting spec src stored support three toequal translate translations tutorial ui ui-grid ui-i18n ui-t ui-translate update updates var visible vm width"
17511751
},
17521752
{
17531753
"section": "tutorial",

docs/partials/api/ui.grid.class.GridOptions.html

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -253,10 +253,6 @@ <h2 id="usage">Usage</h2>
253253
current &#39;ui-grid-header.html&#39; template in github as your starting point.</p>
254254
</div></div>
255255
</li>
256-
<li><h3 id="properties_horizontalscrollthreshold">horizontalScrollThreshold</h3>
257-
<div class="horizontalscrollthreshold"><div class="horizontalscrollthreshold-page"><p>Defaults to 4</p>
258-
</div></div>
259-
</li>
260256
<li><h3 id="properties_infinitescrolldown">infiniteScrollDown</h3>
261257
<div class="infinitescrolldown"><div class="infinitescrolldown-page"><p>Whether you allow infinite scroll down, implying that the first page of data
262258
you have displayed is in the middle of your data set. If set to true then we trigger the
@@ -330,7 +326,8 @@ <h2 id="usage">Usage</h2>
330326
</div></div>
331327
</li>
332328
<li><h3 id="properties_scrollthreshold">scrollThreshold</h3>
333-
<div class="scrollthreshold"><div class="scrollthreshold-page"><p>Defaults to 4</p>
329+
<div class="scrollthreshold"><div class="scrollthreshold-page"><p>Throttles the grid scrolling by the amount of rows set, which helps with smoothness of scrolling.
330+
Defaults to 4.</p>
334331
</div></div>
335332
</li>
336333
<li><h3 id="properties_showcolumnfooter">showColumnFooter</h3>

docs/partials/api/ui.grid.i18n.service.i18nService.html

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@
4343
<div class="getcurrentlang"><div class="getcurrentlang-page"><p>returns the current language used in the application</p>
4444
</div></div>
4545
</li>
46+
<li><a href="https://github.com/{{repo}}/blob/{{sha}}/{{file}}#L{{codeline}}" class="view-source icon-eye-open"> </a><h3 id="methods_getfallbacklang">getFallbackLang()</h3>
47+
<div class="getfallbacklang"><div class="getfallbacklang-page"><p>returns the fallback language used in the application</p>
48+
</div></div>
49+
</li>
4650
<li><a href="https://github.com/{{repo}}/blob/{{sha}}/{{file}}#L{{codeline}}" class="view-source icon-eye-open"> </a><h3 id="methods_getsafetext">getSafeText(path, [lang])</h3>
4751
<div class="getsafetext"><div class="getsafetext-page"><p>returns the text specified in the path or a Missing text if text is not found</p>
4852
</div><h5 id="methods_getsafetext_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="getsafetext-page"><p>property path to use for retrieving text from string map</p>
@@ -57,7 +61,7 @@
5761
</li>
5862
<li><a href="https://github.com/{{repo}}/blob/{{sha}}/{{file}}#L{{codeline}}" class="view-source icon-eye-open"> </a><h3 id="methods_setcurrentlang">setCurrentLang(lang)</h3>
5963
<div class="setcurrentlang"><div class="setcurrentlang-page"><p>sets the current language to use in the application
60-
$broadcasts the i18nConstants.UPDATE_EVENT on the $rootScope</p>
64+
$broadcasts and $emits the i18nConstants.UPDATE_EVENT on the $rootScope</p>
6165
</div><h5 id="methods_setcurrentlang_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>lang</td><td><a href="" class="label type-hint type-hint-string">string</a></td><td><div class="setcurrentlang-page"><p>to set</p>
6266
</div></td></tr></tbody></table><h4 id="methods_setcurrentlang_example">Example</h4>
6367
<div class="example"><div class="setcurrentlang-page"><pre class="prettyprint linenums">
@@ -66,6 +70,17 @@
6670
</div></div>
6771
</div>
6872
</li>
73+
<li><a href="https://github.com/{{repo}}/blob/{{sha}}/{{file}}#L{{codeline}}" class="view-source icon-eye-open"> </a><h3 id="methods_setfallbacklang">setFallbackLang(lang)</h3>
74+
<div class="setfallbacklang"><div class="setfallbacklang-page"><p>sets the fallback language to use in the application.
75+
The default fallback language is english.</p>
76+
</div><h5 id="methods_setfallbacklang_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>lang</td><td><a href="" class="label type-hint type-hint-string">string</a></td><td><div class="setfallbacklang-page"><p>to set</p>
77+
</div></td></tr></tbody></table><h4 id="methods_setfallbacklang_example">Example</h4>
78+
<div class="example"><div class="setfallbacklang-page"><pre class="prettyprint linenums">
79+
i18nService.setFallbackLang('en');
80+
</pre>
81+
</div></div>
82+
</div>
83+
</li>
6984
</ul>
7085
</div>
7186
</div>

docs/partials/tutorial/104_i18n.html

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,20 @@
3131
<pre class="prettyprint linenums" ng-set-text="index.html-28" ng-html-wrap-loaded="app angular.js app.js"></pre>
3232
<script type="text/ng-template" id="index.html-28">
3333
<div ng-controller="MainCtrl as $ctrl">
34-
<select id="langDropdown" ng-model="$ctrl.lang" ng-options="l for l in $ctrl.langs"></select><br>
34+
<select id="langDropdown" ng-model="$ctrl.lang" ng-options="l for l in $ctrl.langs"></select>
35+
<br />
3536

3637
<div ui-i18n="{{$ctrl.lang}}">
37-
<p>Using attribute:</p>
38+
<h4 id="example_using-attribute">Using attribute:</h4>
3839
<p ui-t="groupPanel.description"></p>
39-
<br/>
40-
<p>Using Filter:</p>
40+
41+
<h4 id="example_using-attribute-2">Using attribute 2:</h4>
42+
<p ui-translate>groupPanel.description</p>
43+
44+
<h4 id="example_using-filter-that-updates-with-language">Using Filter that updates with language:</h4>
45+
<p>{{"groupPanel.description" | t:$ctrl.lang}}</p>
46+
47+
<h4 id="example_using-filter-that-does-not-update-after-load">Using Filter that does not update after load:</h4>
4148
<p>{{"groupPanel.description" | t}}</p>
4249

4350
<p>Click the header menu to see language.</p>

index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,11 @@ <h1 class="text-center">Angular UI Grid</h1>
7676
Code on Github
7777
</a>
7878

79-
<a class="btn btn-danger btn-large" href="https://github.com/angular-ui/ui-grid.info/tree/gh-pages/release" title="Download 4.5.1">
79+
<a class="btn btn-danger btn-large" href="https://github.com/angular-ui/ui-grid.info/tree/gh-pages/release" title="Download 4.6.0">
8080
<i class="fa fa-download fa-fw"></i>
81-
<!-- Download <small>( 4.5.1 / 4.5.1 )</small> --> <!-- TODO(c0bra): note: not showing stable version till 3.0.0 is released -->
81+
<!-- Download <small>( 4.6.0 / 4.6.0 )</small> --> <!-- TODO(c0bra): note: not showing stable version till 3.0.0 is released -->
8282

83-
Download <small>( 4.5.1 )</small>
83+
Download <small>( 4.6.0 )</small>
8484
</a>
8585

8686
<a class="btn btn-success btn-large" href="/docs/#!/tutorial" title="Tutorial">

less/selection/less/selection.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@import '../../../less/variables';
22

3-
.ui-grid-render-container-left .ui-grid-row.ui-grid-row-selected > [ui-grid-row] > .ui-grid-cell,
3+
.ui-grid-row.ui-grid-row-selected > [ui-grid-row] > .ui-grid-cell,
44
.ui-grid-row.ui-grid-row-focused > [ui-grid-row] > .ui-grid-cell {
55
background-color: @rowSelected;
66
}

release/4.6.0/fonts/ui-grid.eot

10.1 KB
Binary file not shown.

0 commit comments

Comments
 (0)