@c8y/ng1-modules 1018.436.0 → 1018.455.0

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.
@@ -48,6 +48,7 @@
48
48
  on-box-changed="onBoxChanged(box)"
49
49
  selectable="child.config.selectable"
50
50
  selected="child.config.selected"
51
+ show-icon-bar="!child.config.widgetInstanceGlobalTimeContext"
51
52
  >
52
53
  </c8y-chart>
53
54
  </div>
@@ -15,7 +15,7 @@
15
15
  on-data="onData($data)"
16
16
  ></c8y-realtime-button>
17
17
  <div class="d-flex sticky-top bg-level-0">
18
- <div class="top-chart-bar d-flex flex-wrap has-data-selector">
18
+ <div class="top-chart-bar d-flex flex-wrap has-data-selector" ng-if="!child.config.widgetInstanceGlobalTimeContext">
19
19
  <span
20
20
  class="measurement-icon c8y-realtime"
21
21
  tooltip-placement="right"
@@ -1,9 +1,9 @@
1
1
  <div ng-controller="EventListCtrl as eventList">
2
2
  <c8y-event-list
3
3
  filters="eventList.options"
4
- initial-realtime-state="!child.config.widgetInstanceGlobalTimeContext"
5
- realtime="!child.config.widgetInstanceGlobalTimeContext"
4
+ initial-realtime-state="child.config.widgetInstanceGlobalTimeContext ? child.config.realtime : true"
5
+ realtime="child.config.widgetInstanceGlobalTimeContext ? child.config.realtime : true"
6
6
  hide-widget-actions="child.config.widgetInstanceGlobalTimeContext"
7
- time-range-unit="eventList.timeRangeUnit">
8
- </c8y-event-list>
7
+ time-range-unit="eventList.timeRangeUnit"
8
+ ></c8y-event-list>
9
9
  </div>
@@ -1 +1 @@
1
- "use strict";angular.module("c8y.core.measurements2").directive("c8yChart",["c8yChart",function(o){return{restrict:"E",link:function(t,e,a,r){var n=new o.Chart(e,{showTime:t.showTime()});r.init(n),t.$on("$destroy",function(){n.destroy()})},controller:"c8yChartCtrl",controllerAs:"ctrl",templateUrl:":::PLUGIN_PATH:::/measurements2/chart.html",scope:{dateFrom:"=?",dateTo:"=?",aggregation:"=?",realtime:"=?",datapoints:"=",datapointsInitialDisplayLimit:"<",onData:"=?",onUpdateDates:"&",onUpdateDisplayedDates:"&",onBoxChanged:"&",showTime:"&",selectable:"&",selected:"=?",onDataChange:"&"}}}]);
1
+ "use strict";angular.module("c8y.core.measurements2").directive("c8yChart",["c8yChart",function(n){return{restrict:"E",link:function(t,e,a,o){var r=new n.Chart(e,{showTime:t.showTime()});o.init(r),t.$on("$destroy",function(){r.destroy()})},controller:"c8yChartCtrl",controllerAs:"ctrl",templateUrl:":::PLUGIN_PATH:::/measurements2/chart.html",scope:{dateFrom:"=?",dateTo:"=?",aggregation:"=?",showIconBar:"=?",realtime:"=?",datapoints:"=",datapointsInitialDisplayLimit:"<",onData:"=?",onUpdateDates:"&",onUpdateDisplayedDates:"&",onBoxChanged:"&",showTime:"&",selectable:"&",selected:"=?",onDataChange:"&"}}}]);
@@ -4,6 +4,7 @@
4
4
  >
5
5
  <!-- icon bar -->
6
6
  <c8y-measurements-icon-bar
7
+ ng-show="showIconBar"
7
8
  class="measurement-icon-bar-wrapper p-static"
8
9
  aggregation="aggregation"
9
10
  realtime="realtime"
@@ -15,6 +16,7 @@
15
16
 
16
17
  <!-- datapoints selection -->
17
18
  <c8y-item-selector
19
+ class="m-l-auto"
18
20
  items="seriesAvailable"
19
21
  items-selected="seriesSelected"
20
22
  on-apply="onSeriesSelectionChanged(items)"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@c8y/ng1-modules",
3
- "version": "1018.436.0",
3
+ "version": "1018.455.0",
4
4
  "license": "Apache-2.0",
5
5
  "author": "Cumulocity",
6
6
  "description": "AngularJS modules for Cumulocity IoT applications.",
@@ -99,6 +99,7 @@
99
99
  class="btn-dot"
100
100
  aria-label="{{ 'Expand all groups' | translate }}"
101
101
  uib-tooltip="{{ 'Expand all groups' | translate }}"
102
+ data-cy="c8yUserInventoryRolesTab--expandAllGroups"
102
103
  tooltip-popup-delay="500"
103
104
  tooltip-placement="right"
104
105
  type="button"