@c8y/ng1-modules 1023.63.1 → 1023.64.2
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.
- package/core/locales/de.po +94 -23
- package/core/locales/es.po +96 -23
- package/core/locales/fr.po +95 -23
- package/core/locales/ja_JP.po +82 -23
- package/core/locales/ko.po +97 -23
- package/core/locales/nl.po +94 -23
- package/core/locales/pl.po +98 -23
- package/core/locales/pt_BR.po +97 -23
- package/core/locales/zh_CN.po +98 -23
- package/core/locales/zh_TW.po +98 -23
- package/kpi/cumulocity.json +0 -2
- package/kpi/index.js +1 -1
- package/package.json +1 -1
- package/kpi/controllers/list.js +0 -1
- package/kpi/controllers/listConfig.js +0 -1
- package/kpi/views/list.html +0 -122
- package/kpi/views/listConfig.html +0 -68
package/kpi/views/list.html
DELETED
|
@@ -1,122 +0,0 @@
|
|
|
1
|
-
<div ng-controller="kpiListCtrl">
|
|
2
|
-
<table class="table table-condensed">
|
|
3
|
-
<thead>
|
|
4
|
-
<tr>
|
|
5
|
-
<th></th>
|
|
6
|
-
<th
|
|
7
|
-
ng-if="columnVisible(child.config.options.kpi)"
|
|
8
|
-
translate
|
|
9
|
-
>
|
|
10
|
-
Label
|
|
11
|
-
</th>
|
|
12
|
-
<th
|
|
13
|
-
class="text-right text-nowrap"
|
|
14
|
-
ng-if="columnVisible(child.config.options.target)"
|
|
15
|
-
translate
|
|
16
|
-
>
|
|
17
|
-
Target
|
|
18
|
-
</th>
|
|
19
|
-
<th
|
|
20
|
-
class="text-right text-nowrap"
|
|
21
|
-
ng-if="columnVisible(child.config.options.current)"
|
|
22
|
-
translate
|
|
23
|
-
>
|
|
24
|
-
Current
|
|
25
|
-
</th>
|
|
26
|
-
<th
|
|
27
|
-
class="text-right text-nowrap"
|
|
28
|
-
ng-if="columnVisible(child.config.options.diff)"
|
|
29
|
-
translate
|
|
30
|
-
>
|
|
31
|
-
Diff
|
|
32
|
-
</th>
|
|
33
|
-
<th
|
|
34
|
-
class="text-right text-nowrap"
|
|
35
|
-
ng-if="columnVisible(child.config.options.diffPercentage)"
|
|
36
|
-
translate
|
|
37
|
-
>
|
|
38
|
-
Diff %
|
|
39
|
-
</th>
|
|
40
|
-
<th
|
|
41
|
-
class="text-right text-nowrap"
|
|
42
|
-
ng-if="columnVisible(child.config.options.asset)"
|
|
43
|
-
translate
|
|
44
|
-
>
|
|
45
|
-
Asset
|
|
46
|
-
</th>
|
|
47
|
-
</tr>
|
|
48
|
-
</thead>
|
|
49
|
-
<tbody>
|
|
50
|
-
<tr ng-repeat="dp in dataPoints">
|
|
51
|
-
<td style="width: 20px">
|
|
52
|
-
<i
|
|
53
|
-
c8y-icon="circle"
|
|
54
|
-
ng-style="{ color: dp.color }"
|
|
55
|
-
></i>
|
|
56
|
-
</td>
|
|
57
|
-
|
|
58
|
-
<td
|
|
59
|
-
ng-if="columnVisible(child.config.options.kpi)"
|
|
60
|
-
data-cy="datapointlist-kpi"
|
|
61
|
-
>
|
|
62
|
-
{{ dp.label | translate }}
|
|
63
|
-
<small class="text-muted">{{ dp.unit }}</small>
|
|
64
|
-
</td>
|
|
65
|
-
|
|
66
|
-
<td
|
|
67
|
-
class="text-right"
|
|
68
|
-
ng-if="columnVisible(child.config.options.target)"
|
|
69
|
-
data-cy="datapointlist-target"
|
|
70
|
-
>
|
|
71
|
-
<span>{{ dp.target }}</span>
|
|
72
|
-
</td>
|
|
73
|
-
|
|
74
|
-
<td
|
|
75
|
-
class="text-right"
|
|
76
|
-
ng-if="columnVisible(child.config.options.current)"
|
|
77
|
-
data-cy="datapointlist-current"
|
|
78
|
-
>
|
|
79
|
-
<span
|
|
80
|
-
uib-tooltip="{{ times[dp.id] | absoluteDate }}"
|
|
81
|
-
tooltip-popup-delay="500"
|
|
82
|
-
tooltip-append-to-body="true"
|
|
83
|
-
>
|
|
84
|
-
{{ measurements[dp.id].value }}
|
|
85
|
-
</span>
|
|
86
|
-
</td>
|
|
87
|
-
|
|
88
|
-
<td
|
|
89
|
-
class="text-right"
|
|
90
|
-
ng-if="columnVisible(child.config.options.diff)"
|
|
91
|
-
data-cy="datapointlist-diff"
|
|
92
|
-
>
|
|
93
|
-
<span>{{ diff(dp) | number: 2 }}</span>
|
|
94
|
-
</td>
|
|
95
|
-
|
|
96
|
-
<td
|
|
97
|
-
class="text-right"
|
|
98
|
-
ng-if="columnVisible(child.config.options.diffPercentage)"
|
|
99
|
-
data-cy="datapointlist-diffPercentage"
|
|
100
|
-
>
|
|
101
|
-
<span>{{ diffPercent(dp) | number: 2 }}</span>
|
|
102
|
-
</td>
|
|
103
|
-
|
|
104
|
-
<td
|
|
105
|
-
class="text-right word-break"
|
|
106
|
-
ng-if="columnVisible(child.config.options.asset)"
|
|
107
|
-
data-cy="datapointlist-asset"
|
|
108
|
-
>
|
|
109
|
-
<button
|
|
110
|
-
class="btn-clean text-muted"
|
|
111
|
-
|
|
112
|
-
ng-click="redirectToAsset(dp.__target.id)"
|
|
113
|
-
>
|
|
114
|
-
<small>
|
|
115
|
-
{{ dp.__target.name }}
|
|
116
|
-
</small>
|
|
117
|
-
</button>
|
|
118
|
-
</td>
|
|
119
|
-
</tr>
|
|
120
|
-
</tbody>
|
|
121
|
-
</table>
|
|
122
|
-
</div>
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
<div ng-controller="kpiConfigCtrl">
|
|
2
|
-
<div
|
|
3
|
-
ng-controller="listConfigCtrl"
|
|
4
|
-
class="no-card-context"
|
|
5
|
-
>
|
|
6
|
-
<fieldset class="c8y-fieldset">
|
|
7
|
-
<legend>{{ 'Column visibility' | translate }}</legend>
|
|
8
|
-
<div class="form-group d-flex flex-wrap gap-16">
|
|
9
|
-
<label class="c8y-checkbox m-t-8">
|
|
10
|
-
<input
|
|
11
|
-
type="checkbox"
|
|
12
|
-
ng-model="config.options.kpi"
|
|
13
|
-
/>
|
|
14
|
-
<span></span>
|
|
15
|
-
<span>{{ 'Label' | translate }}</span>
|
|
16
|
-
</label>
|
|
17
|
-
<label class="c8y-checkbox">
|
|
18
|
-
<input
|
|
19
|
-
type="checkbox"
|
|
20
|
-
ng-model="config.options.target"
|
|
21
|
-
/>
|
|
22
|
-
<span></span>
|
|
23
|
-
<span>{{ 'Target' | translate }}</span>
|
|
24
|
-
</label>
|
|
25
|
-
<label class="c8y-checkbox">
|
|
26
|
-
<input
|
|
27
|
-
type="checkbox"
|
|
28
|
-
ng-model="config.options.current"
|
|
29
|
-
/>
|
|
30
|
-
<span></span>
|
|
31
|
-
<span>{{ 'Current' | translate }}</span>
|
|
32
|
-
</label>
|
|
33
|
-
<label class="c8y-checkbox">
|
|
34
|
-
<input
|
|
35
|
-
type="checkbox"
|
|
36
|
-
ng-model="config.options.diff"
|
|
37
|
-
/>
|
|
38
|
-
<span></span>
|
|
39
|
-
<span>{{ 'Diff' | translate }}</span>
|
|
40
|
-
</label>
|
|
41
|
-
<label class="c8y-checkbox">
|
|
42
|
-
<input
|
|
43
|
-
type="checkbox"
|
|
44
|
-
ng-model="config.options.diffPercentage"
|
|
45
|
-
/>
|
|
46
|
-
<span></span>
|
|
47
|
-
<span>{{ 'Diff %' | translate }}</span>
|
|
48
|
-
</label>
|
|
49
|
-
<label class="c8y-checkbox">
|
|
50
|
-
<input
|
|
51
|
-
type="checkbox"
|
|
52
|
-
ng-model="config.options.asset"
|
|
53
|
-
/>
|
|
54
|
-
<span></span>
|
|
55
|
-
<span>{{ 'Asset' | translate }}</span>
|
|
56
|
-
</label>
|
|
57
|
-
</div>
|
|
58
|
-
</fieldset>
|
|
59
|
-
|
|
60
|
-
<c8y-data-point-list
|
|
61
|
-
ng-model="config"
|
|
62
|
-
datapoints="config.options.dataPoints"
|
|
63
|
-
no-chart
|
|
64
|
-
class="bg-inherit"
|
|
65
|
-
allow-adding-data-points-from-context-mo-only="dashboard.deviceType && dashboard.deviceTypeValue"
|
|
66
|
-
></c8y-data-point-list>
|
|
67
|
-
</div>
|
|
68
|
-
</div>
|