@c8y/ng1-modules 1021.22.91 → 1021.22.93

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6885,7 +6885,7 @@ msgid "Find and install\n"
6885
6885
  " <strong>Cumulocity Sensor App</strong>\n"
6886
6886
  " ."
6887
6887
  msgstr "Trouver et installer\n"
6888
- " <strong>l'application Cumulocity Sensor</strong>\n"
6888
+ " <strong>Cumulocity Sensor App</strong>\n"
6889
6889
  " ."
6890
6890
 
6891
6891
  msgid "Find lat/long by address"
@@ -8365,7 +8365,7 @@ msgid "Install"
8365
8365
  msgstr "Installer"
8366
8366
 
8367
8367
  msgid "Install Cumulocity Sensor App"
8368
- msgstr "Installer l'application Cumulocity Sensor"
8368
+ msgstr "Installer Cumulocity Sensor App"
8369
8369
 
8370
8370
  msgid "Install firmware"
8371
8371
  msgstr "Installer microprogramme"
@@ -2,6 +2,15 @@
2
2
  class="top-chart-bar d-flex flex-wrap"
3
3
  ng-class="{ showtime: showTime(), 'has-data-selector': $parent.child.templateUrl }"
4
4
  >
5
+ <div class="inner-alert" ng-show="chart.truncated" style="pointer-events: none;">
6
+ <div class="alert alert-warning">
7
+ <p>
8
+ <strong translate>Truncated data.</strong>
9
+ <translate>Change aggregation or select shorter date range.</translate>
10
+ </p>
11
+ </div>
12
+ </div>
13
+
5
14
  <!-- icon bar -->
6
15
  <c8y-measurements-icon-bar
7
16
  ng-show="showIconBar"
@@ -11,7 +20,6 @@
11
20
  show-aggregation="true"
12
21
  show-loading="chart.loading"
13
22
  show-realtime="true"
14
- show-truncated="chart.truncated"
15
23
  on-realtime-toggle="onRealtimeToggle()"
16
24
  ></c8y-measurements-icon-bar>
17
25
 
@@ -1 +1 @@
1
- angular.module("c8y.core.measurements2").directive("c8yMeasurementsIconBar",function(){return{restrict:"E",templateUrl:":::PLUGIN_PATH:::/views/iconBar.html",scope:{realtime:"=",onRealtimeToggle:"&",aggregation:"=",showAggregation:"=",showLoading:"=",showRealtime:"=",showTruncated:"="},controller:["$scope","gettext",function(e,t){var n={undefined:t("No aggregation"),MINUTELY:t("Minutely aggregation"),HOURLY:t("Hourly aggregation"),DAILY:t("Daily aggregation")},a={undefined:"line-chart",MINUTELY:"hourglass",HOURLY:"clock-o",DAILY:"calendar-o"};e.getRealtimeIconName=function(){return e.realtime?"check-circle-o":"circle-o"},e.getRealtimeIconText=function(){return e.realtime?t("Realtime active"):t("Realtime inactive")},e.getRealtimeClassName=function(){return e.realtime?"text-success":""},e.getAggregationIconName=function(){return a[e.aggregation]},e.getAggregationIconText=function(){return n[e.aggregation]}}]}});
1
+ angular.module("c8y.core.measurements2").directive("c8yMeasurementsIconBar",function(){return{restrict:"E",templateUrl:":::PLUGIN_PATH:::/views/iconBar.html",scope:{realtime:"=",onRealtimeToggle:"&",aggregation:"=",showAggregation:"=",showLoading:"=",showRealtime:"="},controller:["$scope","gettext",function(e,t){var n={undefined:t("No aggregation"),MINUTELY:t("Minutely aggregation"),HOURLY:t("Hourly aggregation"),DAILY:t("Daily aggregation")},a={undefined:"line-chart",MINUTELY:"hourglass",HOURLY:"clock-o",DAILY:"calendar-o"};e.getRealtimeIconName=function(){return e.realtime?"check-circle-o":"circle-o"},e.getRealtimeIconText=function(){return e.realtime?t("Realtime active"):t("Realtime inactive")},e.getRealtimeClassName=function(){return e.realtime?"text-success":""},e.getAggregationIconName=function(){return a[e.aggregation]},e.getAggregationIconText=function(){return n[e.aggregation]}}]}});
@@ -1,13 +1,4 @@
1
1
  <div class="measurement-icon-bar clearfix">
2
- <div class="inner-alert" ng-show="showTruncated">
3
- <div class="alert alert-warning">
4
- <p>
5
- <strong translate>Truncated data.</strong>
6
- <translate>Change aggregation or select shorter date range.</translate>
7
- </p>
8
- </div>
9
- </div>
10
-
11
2
  <button
12
3
  class=" btn btn-link measurement-icon c8y-realtime asurement-realtime {{
13
4
  getRealtimeClassName()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@c8y/ng1-modules",
3
- "version": "1021.22.91",
3
+ "version": "1021.22.93",
4
4
  "license": "Apache-2.0",
5
5
  "author": "Cumulocity",
6
6
  "description": "AngularJS modules for Cumulocity IoT applications.",