@c8y/ng1-modules 1016.140.0 → 1016.143.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.
- package/core/locales/de.po +0 -27
- package/core/locales/en.po +12 -0
- package/deviceStatusWidget/ownerStatus.component.js +1 -1
- package/deviceStatusWidget/ownerStatus.html +1 -0
- package/measurements/measurements2/axisY.service.js +1 -1
- package/measurements/views/iconBar.html +1 -1
- package/package.json +3 -3
package/core/locales/de.po
CHANGED
|
@@ -5025,12 +5025,6 @@ msgstr "DHCP einschalten"
|
|
|
5025
5025
|
msgid "Enable Gainsight product experience tracking"
|
|
5026
5026
|
msgstr "Gainsight-Tracking aktivieren"
|
|
5027
5027
|
|
|
5028
|
-
msgid "Enable Knowledge Hub"
|
|
5029
|
-
msgstr "Knowledge Hub einschalten"
|
|
5030
|
-
|
|
5031
|
-
msgid "Enable anonymous tracking to enhance the product experience"
|
|
5032
|
-
msgstr "Anonyme Nachverfolgung aktivieren zur Verbesserung des Produkterlebnisses"
|
|
5033
|
-
|
|
5034
5028
|
msgid "Enable changing current value from UI (for example, using the Fieldbus widget)."
|
|
5035
5029
|
msgstr "Ändern des aktuellen Werts über die Benutzeroberfläche zulassen (z. B. über das Fieldbus-Widget)."
|
|
5036
5030
|
|
|
@@ -5142,9 +5136,6 @@ msgstr "Präsentationsinformationen anfragen"
|
|
|
5142
5136
|
msgid "Enquire serial number"
|
|
5143
5137
|
msgstr "Seriennummer anfragen"
|
|
5144
5138
|
|
|
5145
|
-
msgid "Enter a valid international phone number, accepted format is +49 9 876 543 210."
|
|
5146
|
-
msgstr "Geben Sie eine gültige internationale Telefonnummer ein. Das akzeptierte Format ist +49 9 876 543 210."
|
|
5147
|
-
|
|
5148
5139
|
msgid "Enter address"
|
|
5149
5140
|
msgstr "Adresse eingeben"
|
|
5150
5141
|
|
|
@@ -6991,9 +6982,6 @@ msgstr "Anweisungen"
|
|
|
6991
6982
|
msgid "Integer"
|
|
6992
6983
|
msgstr "Integer"
|
|
6993
6984
|
|
|
6994
|
-
msgid "International phone number required, in the format +49 9 876 543 210."
|
|
6995
|
-
msgstr "Internationale Telefonnummer im Format +49 9 876 543 210 erforderlich."
|
|
6996
|
-
|
|
6997
6985
|
msgid "Interval"
|
|
6998
6986
|
msgstr "Intervall"
|
|
6999
6987
|
|
|
@@ -7042,9 +7030,6 @@ msgstr "Ungültiger Lizenzschlüssel."
|
|
|
7042
7030
|
msgid "Invalid pattern."
|
|
7043
7031
|
msgstr "Ungültiges Pattern."
|
|
7044
7032
|
|
|
7045
|
-
msgid "Invalid phone number format. Only digits, spaces, slashes (\"/\") and dashes (\"-\") allowed."
|
|
7046
|
-
msgstr "Ungültiges Format der Telefonnummer. Nur Zahlen, Leerzeichen, Schrägstiche (\"/\") und Bindestriche zulässig."
|
|
7047
|
-
|
|
7048
7033
|
msgid "Invalid port number."
|
|
7049
7034
|
msgstr "Ungültiger Port."
|
|
7050
7035
|
|
|
@@ -11292,9 +11277,6 @@ msgstr "Alle {{ count }} Elemente auswählen"
|
|
|
11292
11277
|
msgid "Select an asset from the list."
|
|
11293
11278
|
msgstr "Ein Asset aus der Liste wählen."
|
|
11294
11279
|
|
|
11295
|
-
msgid "Select an asset with data points from the list."
|
|
11296
|
-
msgstr "Ein Asset mit Datenpunkten aus der Liste wählen."
|
|
11297
|
-
|
|
11298
11280
|
msgid "Select an instruction."
|
|
11299
11281
|
msgstr "Anweisung auswählen."
|
|
11300
11282
|
|
|
@@ -12376,9 +12358,6 @@ msgstr "Im Navigator anzeigen"
|
|
|
12376
12358
|
msgid "Show items"
|
|
12377
12359
|
msgstr "Einträge anzeigen"
|
|
12378
12360
|
|
|
12379
|
-
msgid "Show items registered after"
|
|
12380
|
-
msgstr "Anzeigen von Einträgen mit Registrierung nach"
|
|
12381
|
-
|
|
12382
12361
|
msgid "Show items with IMEI"
|
|
12383
12362
|
msgstr "Einträge mit IMEI anzeigen"
|
|
12384
12363
|
|
|
@@ -12412,9 +12391,6 @@ msgstr "Nur Gruppen und Assets anzeigen"
|
|
|
12412
12391
|
msgid "Show percentages"
|
|
12413
12392
|
msgstr "Prozentwerte anzeigen"
|
|
12414
12393
|
|
|
12415
|
-
msgid "Show services updated after"
|
|
12416
|
-
msgstr "Anzeigen von Services mit Aktualisierung nach"
|
|
12417
|
-
|
|
12418
12394
|
msgid "Show status (read-only access)"
|
|
12419
12395
|
msgstr "Status anzeigen (Lesezugriff)"
|
|
12420
12396
|
|
|
@@ -16529,9 +16505,6 @@ msgstr "{{ connectionName }}-Geräte.csv"
|
|
|
16529
16505
|
msgid "{{ count }} patches"
|
|
16530
16506
|
msgstr "{{ count }} Patches"
|
|
16531
16507
|
|
|
16532
|
-
msgid "{{ count }} selected items."
|
|
16533
|
-
msgstr "{{ count }} ausgewählte Elemente."
|
|
16534
|
-
|
|
16535
16508
|
msgid "{{ count }} versions"
|
|
16536
16509
|
msgstr "{{ count }} Versionen"
|
|
16537
16510
|
|
package/core/locales/en.po
CHANGED
|
@@ -663,6 +663,12 @@ msgstr "Set log level (\"debug\", \"info\", \"notice\", \"warning\", \"error\",
|
|
|
663
663
|
msgid "Shared`package availability`"
|
|
664
664
|
msgstr "Shared"
|
|
665
665
|
|
|
666
|
+
msgid "Show items registered`between dates`"
|
|
667
|
+
msgstr "Show items registered"
|
|
668
|
+
|
|
669
|
+
msgid "Show services updated`between dates`"
|
|
670
|
+
msgstr "Show services updated"
|
|
671
|
+
|
|
666
672
|
msgid "Streaming analytics guide`KEEP_ORIGINAL`"
|
|
667
673
|
msgstr "Streaming analytics guide"
|
|
668
674
|
|
|
@@ -780,6 +786,9 @@ msgstr "e.g. my-microservice"
|
|
|
780
786
|
msgid "e.g. my-tenant`used in URL`"
|
|
781
787
|
msgstr "e.g. my-tenant"
|
|
782
788
|
|
|
789
|
+
msgid "from`date`"
|
|
790
|
+
msgstr "from"
|
|
791
|
+
|
|
783
792
|
msgid "in`tenant`"
|
|
784
793
|
msgstr "in"
|
|
785
794
|
|
|
@@ -831,6 +840,9 @@ msgstr ""
|
|
|
831
840
|
" none,\n"
|
|
832
841
|
" critical, for example:"
|
|
833
842
|
|
|
843
|
+
msgid "to`date`"
|
|
844
|
+
msgstr "to"
|
|
845
|
+
|
|
834
846
|
msgid "valid`value`"
|
|
835
847
|
msgstr "valid"
|
|
836
848
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";!function(){function e(n,
|
|
1
|
+
"use strict";!function(){function e(n,e,r,o,t,i,c,s,d,a,u){var l,v=this,g=a("Enable/disable owner"),h=a("You don't have permission to admin this device.");function f(){i.hasId(v.device)&&(v.ownerInfoFetched=!1,t.canAdminMOs([v.device]).then(function(e){return v.canAdminDevice=e,v.canAdminDevice?n.resolve():(c.danger(h),n.reject())}).then(w).finally(function(){v.ownerInfoFetched=!0}))}function w(){return y(!1),r.getOwnerObject(_.get(v,"device.id"),{silentError:!0}).then(function(e){v.owner=e}).catch(function(e){e.serviceUser&&y(e.serviceUser),e.accessDenied&&(v.errorTooltipMessage=a("You don't have permission to enable/disable this owner user.")),e.notFound&&!e.serviceUser&&c.danger(u.getString('Device owner not found for device "{{name}}".',v.device)),e.accessDenied||e.notFound||e.serviceUser||c.danger(i.getResErrorMessage(e))})}function m(){v.isEditMode?v.isEditMode=!1:(v.isEditMode=!0,l=_.get(v,"device.owner"))}function y(e){_.set(v,"serviceUserDevice",e)}function b(){if(v.device.owner){var e=a("Change owner"),n=a("Change owner"),t={status:"warning",title:e,body:u.getString('You are about to change the owner of this device to "{{ owner }}" user. Unless the credentials on the device are changed accordingly this may interrupt the communication between this device and the platform. Do you want to proceed?',{owner:v.device.owner}),size:"sm",labels:{ok:n,cancel:a("Cancel")}};s(t).then(function(){m(),o.detail(_.get(v,"device.owner"),{silentError:!0}).then(function(){return r.save(_.pick(v.device,["id","owner"]))}).then(function(){c.success(a("Device owner updated."))}).then(function(){f()}).catch(function(){var e=v.device.owner;U(l),c.danger(u.getString('Could not find user "{{errorUser}}". Device owner reverted to "{{owner}}".',{errorUser:e,owner:v.device.owner}))})}).catch(function(){p()})}else p()}function p(){m(),U(l)}function U(e){_.set(v,"device.owner",e)}_.assign(v,{$onChanges:function(e){e.device.currentValue&&f()},toggleOwner:function(){var e=_.get(v,"device.id");if(e&&v.canAdminDevice)return r.setOwnerEnabled(e,v.owner.enabled).then(function(e){v.owner=e}).catch(function(){v.owner.enabled=!v.owner.enabled});return n.reject()},toggleEdit:m,getTooltip:function(){return v.errorTooltipMessage?"":g},keyPressHandler:function(e){return d.handle(e,b,p)},save:b,cancel:p,shouldShowToggle:function(){return!v.isEditMode&&v.ownerInfoFetched&&!v.serviceUserDevice}})}e.$inject=["$q","$scope","c8yInventory","c8yUser","c8yPermissions","c8yBase","c8yAlert","c8yModal","keyboardKeyHandler","gettext","gettextCatalog"],angular.module("c8y.deviceStatus").component("ownerStatus",{controller:e,controllerAs:"vm",templateUrl:":::PLUGIN_PATH:::/ownerStatus.html",bindings:{device:"<"}})}();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";function _toConsumableArray(t){return _arrayWithoutHoles(t)||_iterableToArray(t)||_unsupportedIterableToArray(t)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _iterableToArray(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function _arrayWithoutHoles(t){if(Array.isArray(t))return _arrayLikeToArray(t)}function _slicedToArray(t,r){return _arrayWithHoles(t)||_iterableToArrayLimit(t,r)||_unsupportedIterableToArray(t,r)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(t,r){if(t){if("string"==typeof t)return _arrayLikeToArray(t,r);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?_arrayLikeToArray(t,r):void 0}}function _arrayLikeToArray(t,r){(null==r||r>t.length)&&(r=t.length);for(var e=0,i=new Array(r);e<r;e++)i[e]=t[e];return i}function _iterableToArrayLimit(t,r){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var i,a
|
|
1
|
+
"use strict";function _toConsumableArray(t){return _arrayWithoutHoles(t)||_iterableToArray(t)||_unsupportedIterableToArray(t)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _iterableToArray(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function _arrayWithoutHoles(t){if(Array.isArray(t))return _arrayLikeToArray(t)}function _slicedToArray(t,r){return _arrayWithHoles(t)||_iterableToArrayLimit(t,r)||_unsupportedIterableToArray(t,r)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(t,r){if(t){if("string"==typeof t)return _arrayLikeToArray(t,r);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?_arrayLikeToArray(t,r):void 0}}function _arrayLikeToArray(t,r){(null==r||r>t.length)&&(r=t.length);for(var e=0,i=new Array(r);e<r;e++)i[e]=t[e];return i}function _iterableToArrayLimit(t,r){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var i,n,a=[],o=!0,l=!1;try{for(e=e.call(t);!(o=(i=e.next()).done)&&(a.push(i.value),!r||a.length!==r);o=!0);}catch(t){l=!0,n=t}finally{try{o||null==e.return||e.return()}finally{if(l)throw n}}return a}}function _arrayWithHoles(t){if(Array.isArray(t))return t}!function(){function t(y){function t(t){var r=this;(r.chart=t).addItem(r),r.series=[]}return t.prototype={indexPosition:function(){return this.chart.getAxisY().indexOf(this)},indexPositionInSide:function(){var t=this,r=t.orientation();return t.chart.getAxisYByOrientation(r).indexOf(t)},orientation:function(){return this.firstSeries().dataPoint.yAxisType||this.autoOrientation()},autoOrientation:function(){var e=this,t="left",r=e.chart.getAxisY(),i=r.indexOf(e),n=_.findIndex(r,function(t){var r=t.firstSeries().dataPoint.yAxisType;return t!==e&&(!r||"left"===r)});return-1<n&&n<i&&(t="right"),t},addSerie:function(t){this.series.push(t)},firstSeries:function(){return this.series[0]||{dataPoint:{}}},axis:function(){var e=this;e.strictValues=[];var i=d3.format(".2s");return d3.svg.axis().scale(e.scale()).orient(e.orientation()).ticks(6).tickFormat(function(t){var r={originalValue:t,formattedValue:5<String(t).length?i(t):t};return e.strictValues.push(r),r.formattedValue})},scale:function(){var t,r=_slicedToArray(this.series,1)[0];return r&&(t=r.scale()),t},remove:function(){this.chart.removeItem(this),this.el&&this.el.remove()},render:function(){var t=this,r=t.axis(),e=t.el,i=t.chart.box(),n=t.chart.margins,a=t.chart.sizes.yAxisWidth,o=n.t,l="left"===t.orientation(),s=(t.indexPositionInSide()+1)*a,c=l?n.l+s:i.width-n.r-s;if(!e){var u=t.chart.svg;t._id="axis".concat(String(Math.random()).substr(2)),t.el=u.append("g").attr({class:"yaxis axis",id:t._id}),e=t.el,t.circles=e.append("g").attr({class:"circles"}),t.label=e.append("text").style({fill:"#999","font-size":"10px"})}var d=l?-35:35,f=i.height/2,h=l?-90:90;t.label.attr({x:d,y:f,"text-anchor":"middle",transform:y.rotate(h,d,f)}),t.label.text(t.labelText()),e.attr("transform",y.translate(c,o)),e.call(r),0<i.height&&t.renderAdditionalElements()},renderAdditionalElements:function(){var t=this,r=_.uniqBy(t.strictValues,"formattedValue").length!==t.strictValues.length;t.renderCircles(r),r&&(t.reformatTickText(),t.renderStrictValues())},renderCircles:function(n){var a=this,t=a.chart,o=a.circles,l=a.el,r=a.series,s="right"===a.orientation()?35:-35,e=t.box(),i=t.margins,c=e.height-i.t-i.b-15;o.selectAll("circle").remove(),o.selectAll(".seriesColorLine").remove(),_.forEach(r,function(t,r){var e=t.dataPoint,i=o.append("circle").attr({cx:s,cy:c-7*r,r:5,fill:e.color});o.append("line").attr({x1:s,x2:0,y1:c-7*r,y2:c-7*r,style:"stroke:".concat(e.color,";stroke-width:2"),class:"seriesColorLine"}),n&&i.on("mouseover",function(){l.selectAll(".tick").attr({visibility:"hidden"}),a.chart.svg.append("use").attr({href:"#strictValues".concat(a._id),transform:l.attr("transform")})}).on("mouseout",function(){l.selectAll(".tick").attr({visibility:"visible"}),a.chart.svg.selectAll("use").remove()})})},reformatTickText:function(){var i=this,t=_slicedToArray(i.el.selectAll(".tick").select("text"),1)[0],n=t.length-1;_.forEach(t,function(t,r){var e=String(i.strictValues[r].originalValue);t.innerHTML="<title>".concat(e,"</title>"),0!==r&&r!==n?5<e.length&&(t.innerHTML+="…".concat(e.substr(-2))):t.innerHTML+=e})},renderStrictValues:function(){var i=this,t=i.el,r=_slicedToArray(t.selectAll(".tick"),1)[0],n=_.chain(r).map(function(t){return t.transform.baseVal.consolidate().matrix.f}).sortBy().reverse().value(),e=i.strictValues,a=6.25*Math.max.apply(Math,_toConsumableArray(e.map(function(t){return String(t.originalValue).length})))+20,o="right"===i.orientation()?-a:0;t.selectAll("g[strictValuesFor=".concat(i._id,"]")).remove();var l=t.append("g").attr({visibility:"hidden",strictValuesFor:i._id}).append("g").attr({id:"strictValues".concat(i._id)});_.forEach(e,function(t,r){var e=l.append("g").attr({class:"strictValue",strictValueFor:i._id});e.append("rect").attr({x:o,y:n[r]-10,width:a,height:20}),e.append("text").attr({x:10+o,y:n[r]+3,fill:"white"}).text(t.originalValue)})},labelText:function(){var t="",r=this.series;if(1===r.length){var e=_slicedToArray(r,1)[0].dataPoint;t=e.label+(e.unit?" [".concat(e.unit,"]"):"")}else t=_.uniqBy(_.filter(_.map(r,function(t){return t.dataPoint.unit}),_.identity)).join(" / ");return t}},t}t.$inject=["c8yChartCommon"],angular.module("c8y.core.measurements2").factory("c8yAxisY",t)}();
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
type="button"
|
|
43
43
|
class="btn-help btn-help--sm"
|
|
44
44
|
aria-label="{{ 'Help' | translate }}"
|
|
45
|
-
uib-popover-html="'Drag X-Axis to move time.<br>Select time period to zoom.<br>Double click to zoom out.' | translate"
|
|
45
|
+
uib-popover-html="'Drag X-Axis to move time.<br>Select time period to zoom.<br>Double click to zoom out.<br>Values in the Y-Axis may be truncated, hover over the values or the circle in the bottom to display whole values.' | translate"
|
|
46
46
|
popover-placement="right"
|
|
47
47
|
popover-trigger="'focus'"
|
|
48
48
|
popover-append-to-body="true"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@c8y/ng1-modules",
|
|
3
|
-
"version": "1016.
|
|
3
|
+
"version": "1016.143.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"author": "Cumulocity",
|
|
6
6
|
"description": "AngularJS modules for Cumulocity IoT applications.",
|
|
@@ -15,9 +15,9 @@
|
|
|
15
15
|
"angular-gettext": "2.3.9",
|
|
16
16
|
"angular-i18n": "1.6.9",
|
|
17
17
|
"angular-leaflet-directive": "0.10.0",
|
|
18
|
-
"angular-messages": "1.
|
|
18
|
+
"angular-messages": "1.8.3",
|
|
19
19
|
"angular-route": "1.6.9",
|
|
20
|
-
"angular-sanitize": "1.
|
|
20
|
+
"angular-sanitize": "1.6.9",
|
|
21
21
|
"angular-schema-form": "0.8.13",
|
|
22
22
|
"angular-ui-ace": "0.2.3",
|
|
23
23
|
"angular-ui-bootstrap": "2.5.6",
|