Skip to content

Commit

Permalink
Release 1.4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
richterb committed Feb 17, 2020
1 parent 6410fa3 commit 96d12c1
Show file tree
Hide file tree
Showing 44 changed files with 942 additions and 265 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@
All notable changes to this project will be documented in this file.
This log tries to follow the good principles of [Keep a CHANGELOG](http://keepachangelog.com/).

## 1.4.2 - 2020-02-17
### Fixed
- `odsCrossTable`: Fixed an issue with the width of each cells after applying a filter on the data
- `odsGeoNavigation`: Fixed multiple similar API calls when using another filter on the same context
- `odsMap`: Support Jawg as a provider for the geocoding search on the map itself (requires `jawgGeocodingAPIKey` in
your `ODSWidgetsConfig`), default is Mapbox as previously

## 1.4.1 - 2020-01-23

### Added
Expand Down
1 change: 1 addition & 0 deletions dist/ods-widgets.css
Original file line number Diff line number Diff line change
Expand Up @@ -2907,6 +2907,7 @@ html[dir=rtl] .odswidget-text-search__reset {
.ods-cross-table__cell--header {
background-color: #e8e8e8;
font-weight: bold;
text-align: right;
}
.ods-cross-table__cell--value {
text-align: right;
Expand Down
478 changes: 401 additions & 77 deletions dist/ods-widgets.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/ods-widgets.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/ods-widgets.min.js

Large diffs are not rendered by default.

20 changes: 20 additions & 0 deletions docs/js/docs-setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,26 @@ NG_DOCS={
"keywords": "angular api appears array content context coordinates coords delay directive directly display displays ensure evenements-publics-openagenda-extract events events-dataset events-domain example field fields form geo_point_2d geo_shape geojson geometry height hover html https item latitude latlon location longitude map max milliseconds module numbers object ods-widgets odsresultenumerator opendatasoft passing people pixels place point property quotes record records shape showing simple specific string surround text tooltip treats type values width working",
"isDeprecated": false
},
{
"section": "api",
"id": "ods-widgets.directive:odsGetElementLayout",
"shortName": "odsGetElementLayout",
"type": "directive",
"moduleName": "ods-widgets",
"shortDescription": "Get the height and width of the element where odsGetElementLayout is set. The variable is an object that contains 2 keys : 'height' and 'width'",
"keywords": "api directive element height html layout module object ods-get-element-layout ods-widgets odsgetelementlayout px set variable width",
"isDeprecated": false
},
{
"section": "api",
"id": "ods-widgets.directive:odsGetWindowLayout",
"shortName": "odsGetWindowLayout",
"type": "directive",
"moduleName": "ods-widgets",
"shortDescription": "Get the height and width of the window. The variable is an object that contains 2 keys : 'height' and 'width'",
"keywords": "api directive height html module mylayout object ods-get-window-layout ods-widgets px variable width window",
"isDeprecated": false
},
{
"section": "api",
"id": "ods-widgets.directive:odsGist",
Expand Down
8 changes: 4 additions & 4 deletions docs/partials/api/ods-widgets.directive.odsGist.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ <h4 id="usage_directive-info_parameters">Parameters</h4><table class="variables-
</div></td></tr></tbody></table></div>
<h2 id="example">Example</h2>
<div class="example"><div class="ods-widgets-directive-page ods-widgets-directive-odsgist-page"><h4 id="example_source">Source</h4>
<div source-edit="ods-widgets" source-edit-deps="angular.js" source-edit-html="index.html-16" source-edit-css="" source-edit-js="" source-edit-json="" source-edit-unit="" source-edit-scenario=""></div>
<div source-edit="ods-widgets" source-edit-deps="angular.js" source-edit-html="index.html-18" source-edit-css="" source-edit-js="" source-edit-json="" source-edit-unit="" source-edit-scenario=""></div>
<div class="tabbable"><div class="tab-pane" title="index.html">
<pre class="prettyprint linenums" ng-set-text="index.html-16" ng-html-wrap-loaded="ods-widgets angular.js"></pre>
<script type="text/ng-template" id="index.html-16">
<pre class="prettyprint linenums" ng-set-text="index.html-18" ng-html-wrap-loaded="ods-widgets angular.js"></pre>
<script type="text/ng-template" id="index.html-18">
<ods-gist username="Amli" gist-id="b845c8d4b3a2ce08c0a5ce3dd0d7625d"></ods-gist>
</script>
</div>
</div><h4 id="example_demo">Demo</h4>
<div class="well doc-example-live animate-container" ng-embed-app="ods-widgets" ng-set-html="index.html-16" ng-eval-javascript=""></div>
<div class="well doc-example-live animate-container" ng-embed-app="ods-widgets" ng-set-html="index.html-18" ng-eval-javascript=""></div>
</div></div>
</div>
8 changes: 4 additions & 4 deletions docs/partials/api/ods-widgets.directive.odsHighcharts.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,16 @@ <h4 id="usage_directive-info_parameters">Parameters</h4><table class="variables-
</div> <p><em>(default: none)</em></p></td></tr></tbody></table></div>
<h2 id="example">Example</h2>
<div class="example"><div class="ods-widgets-directive-page ods-widgets-directive-odshighcharts-page"><h4 id="example_source">Source</h4>
<div source-edit="ods-widgets" source-edit-deps="angular.js" source-edit-html="index.html-17" source-edit-css="" source-edit-js="" source-edit-json="" source-edit-unit="" source-edit-scenario=""></div>
<div source-edit="ods-widgets" source-edit-deps="angular.js" source-edit-html="index.html-19" source-edit-css="" source-edit-js="" source-edit-json="" source-edit-unit="" source-edit-scenario=""></div>
<div class="tabbable"><div class="tab-pane" title="index.html">
<pre class="prettyprint linenums" ng-set-text="index.html-17" ng-html-wrap-loaded="ods-widgets angular.js"></pre>
<script type="text/ng-template" id="index.html-17">
<pre class="prettyprint linenums" ng-set-text="index.html-19" ng-html-wrap-loaded="ods-widgets angular.js"></pre>
<script type="text/ng-template" id="index.html-19">
<ods-dataset-context context="hurricanes" hurricanes-domain="public.opendatasoft.com" hurricanes-dataset="hurricane-tracks-1851-2007">
<ods-highcharts context="hurricanes" field-x="track_date" chart-type="line" timescale="year" function-y="COUNT"></ods-highcharts>
</ods-dataset-context>
</script>
</div>
</div><h4 id="example_demo">Demo</h4>
<div class="well doc-example-live animate-container" ng-embed-app="ods-widgets" ng-set-html="index.html-17" ng-eval-javascript=""></div>
<div class="well doc-example-live animate-container" ng-embed-app="ods-widgets" ng-set-html="index.html-19" ng-eval-javascript=""></div>
</div></div>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ <h4 id="usage_directive-info_parameters">Parameters</h4><table class="variables-
</div></td></tr></tbody></table></div>
<h2 id="example">Example</h2>
<div class="example"><div class="ods-widgets-directive-page ods-widgets-directive-odsinfinitescrollresults-page"><h4 id="example_source">Source</h4>
<div source-edit="ods-widgets" source-edit-deps="angular.js" source-edit-html="index.html-18" source-edit-css="" source-edit-js="" source-edit-json="" source-edit-unit="" source-edit-scenario=""></div>
<div source-edit="ods-widgets" source-edit-deps="angular.js" source-edit-html="index.html-20" source-edit-css="" source-edit-js="" source-edit-json="" source-edit-unit="" source-edit-scenario=""></div>
<div class="tabbable"><div class="tab-pane" title="index.html">
<pre class="prettyprint linenums" ng-set-text="index.html-18" ng-html-wrap-loaded="ods-widgets angular.js"></pre>
<script type="text/ng-template" id="index.html-18">
<pre class="prettyprint linenums" ng-set-text="index.html-20" ng-html-wrap-loaded="ods-widgets angular.js"></pre>
<script type="text/ng-template" id="index.html-20">
<ods-catalog-context context="example"
example-domain="https://data.opendatasoft.com/">
<ul>
Expand All @@ -61,6 +61,6 @@ <h2 id="example">Example</h2>
</script>
</div>
</div><h4 id="example_demo">Demo</h4>
<div class="well doc-example-live animate-container" ng-embed-app="ods-widgets" ng-set-html="index.html-18" ng-eval-javascript=""></div>
<div class="well doc-example-live animate-container" ng-embed-app="ods-widgets" ng-set-html="index.html-20" ng-eval-javascript=""></div>
</div></div>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,16 @@ <h4 id="usage_directive-info_parameters">Parameters</h4><table class="variables-
</div></td></tr></tbody></table></div>
<h2 id="example">Example</h2>
<div class="example"><div class="ods-widgets-directive-page ods-widgets-directive-odslastdatasetsfeed-page"><h4 id="example_source">Source</h4>
<div source-edit="ods-widgets" source-edit-deps="angular.js" source-edit-html="index.html-20" source-edit-css="" source-edit-js="" source-edit-json="" source-edit-unit="" source-edit-scenario=""></div>
<div source-edit="ods-widgets" source-edit-deps="angular.js" source-edit-html="index.html-22" source-edit-css="" source-edit-js="" source-edit-json="" source-edit-unit="" source-edit-scenario=""></div>
<div class="tabbable"><div class="tab-pane" title="index.html">
<pre class="prettyprint linenums" ng-set-text="index.html-20" ng-html-wrap-loaded="ods-widgets angular.js"></pre>
<script type="text/ng-template" id="index.html-20">
<pre class="prettyprint linenums" ng-set-text="index.html-22" ng-html-wrap-loaded="ods-widgets angular.js"></pre>
<script type="text/ng-template" id="index.html-22">
<ods-catalog-context context="example" example-domain="data.opendatasoft.com">
<ods-last-datasets-feed context="example"></ods-last-datasets-feed>
</ods-catalog-context>
</script>
</div>
</div><h4 id="example_demo">Demo</h4>
<div class="well doc-example-live animate-container" ng-embed-app="ods-widgets" ng-set-html="index.html-20" ng-eval-javascript=""></div>
<div class="well doc-example-live animate-container" ng-embed-app="ods-widgets" ng-set-html="index.html-22" ng-eval-javascript=""></div>
</div></div>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,16 @@ <h4 id="usage_directive-info_parameters">Parameters</h4><table class="variables-
</div> <p><em>(default: false)</em></p></td></tr></tbody></table></div>
<h2 id="example">Example</h2>
<div class="example"><div class="ods-widgets-directive-page ods-widgets-directive-odslastreusesfeed-page"><h4 id="example_source">Source</h4>
<div source-edit="ods-widgets" source-edit-deps="angular.js" source-edit-html="index.html-21" source-edit-css="" source-edit-js="" source-edit-json="" source-edit-unit="" source-edit-scenario=""></div>
<div source-edit="ods-widgets" source-edit-deps="angular.js" source-edit-html="index.html-23" source-edit-css="" source-edit-js="" source-edit-json="" source-edit-unit="" source-edit-scenario=""></div>
<div class="tabbable"><div class="tab-pane" title="index.html">
<pre class="prettyprint linenums" ng-set-text="index.html-21" ng-html-wrap-loaded="ods-widgets angular.js"></pre>
<script type="text/ng-template" id="index.html-21">
<pre class="prettyprint linenums" ng-set-text="index.html-23" ng-html-wrap-loaded="ods-widgets angular.js"></pre>
<script type="text/ng-template" id="index.html-23">
<ods-catalog-context context="paris" paris-domain="http://opendata.paris.fr">
<ods-last-reuses-feed context="paris"></ods-last-reuses-feed>
</ods-catalog-context>
</script>
</div>
</div><h4 id="example_demo">Demo</h4>
<div class="well doc-example-live animate-container" ng-embed-app="ods-widgets" ng-set-html="index.html-21" ng-eval-javascript=""></div>
<div class="well doc-example-live animate-container" ng-embed-app="ods-widgets" ng-set-html="index.html-23" ng-eval-javascript=""></div>
</div></div>
</div>
8 changes: 4 additions & 4 deletions docs/partials/api/ods-widgets.directive.odsMapLegacy.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,10 @@ <h4 id="usage_directive-info_parameters">Parameters</h4><table class="variables-
</div> <p><em>(default: none)</em></p></td></tr></tbody></table></div>
<h2 id="example">Example</h2>
<div class="example"><div class="ods-widgets-directive-page ods-widgets-directive-odsmaplegacy-page"><h4 id="example_source">Source</h4>
<div source-edit="ods-widgets" source-edit-deps="angular.js" source-edit-html="index.html-22" source-edit-css="" source-edit-js="" source-edit-json="" source-edit-unit="" source-edit-scenario=""></div>
<div source-edit="ods-widgets" source-edit-deps="angular.js" source-edit-html="index.html-24" source-edit-css="" source-edit-js="" source-edit-json="" source-edit-unit="" source-edit-scenario=""></div>
<div class="tabbable"><div class="tab-pane" title="index.html">
<pre class="prettyprint linenums" ng-set-text="index.html-22" ng-html-wrap-loaded="ods-widgets angular.js"></pre>
<script type="text/ng-template" id="index.html-22">
<pre class="prettyprint linenums" ng-set-text="index.html-24" ng-html-wrap-loaded="ods-widgets angular.js"></pre>
<script type="text/ng-template" id="index.html-24">
<ods-dataset-context context="events"
events-domain="https://widgets-examples.opendatasoft.com/"
events-dataset="evenements-publics-openagenda-extract">
Expand All @@ -71,6 +71,6 @@ <h2 id="example">Example</h2>
</script>
</div>
</div><h4 id="example_demo">Demo</h4>
<div class="well doc-example-live animate-container" ng-embed-app="ods-widgets" ng-set-html="index.html-22" ng-eval-javascript=""></div>
<div class="well doc-example-live animate-container" ng-embed-app="ods-widgets" ng-set-html="index.html-24" ng-eval-javascript=""></div>
</div></div>
</div>
8 changes: 4 additions & 4 deletions docs/partials/api/ods-widgets.directive.odsMediaGallery.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ <h4 id="usage_directive-info_parameters">Parameters</h4><table class="variables-
</div></td></tr></tbody></table></div>
<h2 id="example">Example</h2>
<div class="example"><div class="ods-widgets-directive-page ods-widgets-directive-odsmediagallery-page"><h4 id="example_source">Source</h4>
<div source-edit="ods-widgets" source-edit-deps="angular.js" source-edit-html="index.html-23" source-edit-css="" source-edit-js="" source-edit-json="" source-edit-unit="" source-edit-scenario=""></div>
<div source-edit="ods-widgets" source-edit-deps="angular.js" source-edit-html="index.html-25" source-edit-css="" source-edit-js="" source-edit-json="" source-edit-unit="" source-edit-scenario=""></div>
<div class="tabbable"><div class="tab-pane" title="index.html">
<pre class="prettyprint linenums" ng-set-text="index.html-23" ng-html-wrap-loaded="ods-widgets angular.js"></pre>
<script type="text/ng-template" id="index.html-23">
<pre class="prettyprint linenums" ng-set-text="index.html-25" ng-html-wrap-loaded="ods-widgets angular.js"></pre>
<script type="text/ng-template" id="index.html-25">
<ods-dataset-context context="affiches"
affiches-domain="https://widgets-examples.opendatasoft.com/"
affiches-dataset="affiches-anciennes">
Expand All @@ -44,6 +44,6 @@ <h5 id="example_source_my-custom-tooltip">My custom tooltip</h5>
</script>
</div>
</div><h4 id="example_demo">Demo</h4>
<div class="well doc-example-live animate-container" ng-embed-app="ods-widgets" ng-set-html="index.html-23" ng-eval-javascript=""></div>
<div class="well doc-example-live animate-container" ng-embed-app="ods-widgets" ng-set-html="index.html-25" ng-eval-javascript=""></div>
</div></div>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,17 @@ <h4 id="usage_directive-info_parameters">Parameters</h4><table class="variables-
</div> <p><em>(default: downloads)</em></p></td></tr></tbody></table></div>
<h2 id="example">Example</h2>
<div class="example"><div class="ods-widgets-directive-page ods-widgets-directive-odsmostpopulardatasets-page"><h4 id="example_source">Source</h4>
<div source-edit="ods-widgets" source-edit-deps="angular.js" source-edit-html="index.html-24" source-edit-css="" source-edit-js="" source-edit-json="" source-edit-unit="" source-edit-scenario=""></div>
<div source-edit="ods-widgets" source-edit-deps="angular.js" source-edit-html="index.html-26" source-edit-css="" source-edit-js="" source-edit-json="" source-edit-unit="" source-edit-scenario=""></div>
<div class="tabbable"><div class="tab-pane" title="index.html">
<pre class="prettyprint linenums" ng-set-text="index.html-24" ng-html-wrap-loaded="ods-widgets angular.js"></pre>
<script type="text/ng-template" id="index.html-24">
<pre class="prettyprint linenums" ng-set-text="index.html-26" ng-html-wrap-loaded="ods-widgets angular.js"></pre>
<script type="text/ng-template" id="index.html-26">
<ods-catalog-context context="example"
example-domain="data.opendatasoft.com">
<ods-most-popular-datasets context="example"></ods-most-popular-datasets>
</ods-catalog-context>
</script>
</div>
</div><h4 id="example_demo">Demo</h4>
<div class="well doc-example-live animate-container" ng-embed-app="ods-widgets" ng-set-html="index.html-24" ng-eval-javascript=""></div>
<div class="well doc-example-live animate-container" ng-embed-app="ods-widgets" ng-set-html="index.html-26" ng-eval-javascript=""></div>
</div></div>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,16 @@ <h4 id="usage_directive-info_parameters">Parameters</h4><table class="variables-
</div></td></tr></tbody></table></div>
<h2 id="example">Example</h2>
<div class="example"><div class="ods-widgets-directive-page ods-widgets-directive-odsmostusedthemes-page"><h4 id="example_source">Source</h4>
<div source-edit="ods-widgets" source-edit-deps="angular.js" source-edit-html="index.html-25" source-edit-css="" source-edit-js="" source-edit-json="" source-edit-unit="" source-edit-scenario=""></div>
<div source-edit="ods-widgets" source-edit-deps="angular.js" source-edit-html="index.html-27" source-edit-css="" source-edit-js="" source-edit-json="" source-edit-unit="" source-edit-scenario=""></div>
<div class="tabbable"><div class="tab-pane" title="index.html">
<pre class="prettyprint linenums" ng-set-text="index.html-25" ng-html-wrap-loaded="ods-widgets angular.js"></pre>
<script type="text/ng-template" id="index.html-25">
<pre class="prettyprint linenums" ng-set-text="index.html-27" ng-html-wrap-loaded="ods-widgets angular.js"></pre>
<script type="text/ng-template" id="index.html-27">
<ods-catalog-context context="example" example-domain="data.opendatasoft.com">
<ods-most-used-themes context="example"></ods-most-used-themes>
</ods-catalog-context>
</script>
</div>
</div><h4 id="example_demo">Demo</h4>
<div class="well doc-example-live animate-container" ng-embed-app="ods-widgets" ng-set-html="index.html-25" ng-eval-javascript=""></div>
<div class="well doc-example-live animate-container" ng-embed-app="ods-widgets" ng-set-html="index.html-27" ng-eval-javascript=""></div>
</div></div>
</div>
8 changes: 4 additions & 4 deletions docs/partials/api/ods-widgets.directive.odsPicto.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ <h4 id="usage_directive-info_parameters">Parameters</h4><table class="variables-
</div></td></tr></tbody></table></div>
<h2 id="example">Example</h2>
<div class="example"><div class="ods-widgets-directive-page ods-widgets-directive-odspicto-page"><h4 id="example_source">Source</h4>
<div source-edit="ods-widgets" source-edit-deps="angular.js" source-edit-html="index.html-26" source-edit-css="" source-edit-js="" source-edit-json="" source-edit-unit="" source-edit-scenario=""></div>
<div source-edit="ods-widgets" source-edit-deps="angular.js" source-edit-html="index.html-28" source-edit-css="" source-edit-js="" source-edit-json="" source-edit-unit="" source-edit-scenario=""></div>
<div class="tabbable"><div class="tab-pane" title="index.html">
<pre class="prettyprint linenums" ng-set-text="index.html-26" ng-html-wrap-loaded="ods-widgets angular.js"></pre>
<script type="text/ng-template" id="index.html-26">
<pre class="prettyprint linenums" ng-set-text="index.html-28" ng-html-wrap-loaded="ods-widgets angular.js"></pre>
<script type="text/ng-template" id="index.html-28">
<ods-picto url="'assets/opendatasoft-logo.svg'"
color="'#33629C'" style="width: 64px; height: 64px"></ods-picto>
</script>
</div>
</div><h4 id="example_demo">Demo</h4>
<div class="well doc-example-live animate-container" ng-embed-app="ods-widgets" ng-set-html="index.html-26" ng-eval-javascript=""></div>
<div class="well doc-example-live animate-container" ng-embed-app="ods-widgets" ng-set-html="index.html-28" ng-eval-javascript=""></div>
</div></div>
</div>
Loading

0 comments on commit 96d12c1

Please sign in to comment.