(()=>{function e(e,t,n,r){e.add({name:r("Asset table"),description:r("List of child devices of an asset with configurable columns."),templateUrl:":::PLUGIN_PATH:::/views/assets2.html",configTemplateUrl:":::PLUGIN_PATH:::/views/assetsConfig2.html",previewImage:":::PLUGIN_PATH:::/img/asset-table-widget-pr.png",options:{groupsSelectable:!0}}),t.register("iconMap",{templateUrl:":::PLUGIN_PATH:::/views/iconMap2.html",configTemplateUrl:":::PLUGIN_PATH:::/views/configIconMap2.html",configController:"configIconMapCtrl",humanName:r("Icon"),description:r("Shows a different value for each configured value.")}),t.register("alarmStatus",{templateUrl:":::PLUGIN_PATH:::/views/rendererAlarmStatus.html",humanName:r("Active alarms status"),description:r("Shows the active alarms for device"),isDefaultFor:function(e){return"c8ySchema!!c8y_ActiveAlarmsStatus"===e.id}}),t.register("operationButton",{templateUrl:":::PLUGIN_PATH:::/views/rendererButton.html",configTemplateUrl:":::PLUGIN_PATH:::/views/rendererButtonConfig.html",configController:"RendererButtonConfigCtrl",humanName:r("Operation button"),description:r("Button to execute an operation on a device"),isDefaultFor:function(e){return e.isAction}}),n.register("createOperation",["c8yDeviceControl","object",function(t,n){return function(e){e=_.cloneDeep(e);return e.deviceId=n.id,t.createWithNotifications(e)}}],{label:r("Create operation")}),n.register("toggleMaintenanceMode",["c8yDevices","object",function(e,t){return function(){return e.switchResponseInterval(t)}}],{label:r("Toggle maintenance mode"),attachIf:["c8yDevices","target",function(e,t){return e.canSwitchResponseInterval(t)}]})}e.$inject=["c8yComponentsProvider","c8yRenderersProvider","c8yObjectActionsProvider","gettext"],angular.module("c8y.assets",["ui.sortable"]).config(e)})();