@c8y/ng1-modules 1017.137.0 → 1017.139.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.
Files changed (114) hide show
  1. package/aclManagement/views/permissionEditor.html +2 -2
  2. package/actilityProviderSettings/actilitySettings.html +8 -8
  3. package/administration-alarmMapping/views/index.html +13 -13
  4. package/administration-applications/appWizard/appWizardClone2Step.html +5 -4
  5. package/administration-applications/appWizard/appWizardExternalStep.html +6 -6
  6. package/administration-applications/appWizard/appWizardSmartAppStep.html +6 -3
  7. package/administration-applications/application-detail/application-detail.html +7 -2
  8. package/administration-applications/application-list-view/application-list-view.html +9 -7
  9. package/administration-applications/views/applicationAccessEditor.html +1 -1
  10. package/administration-archivesEditor/views/upload.html +4 -4
  11. package/administration-eventProcessing/list/eventProcessingRulesList.html +4 -1
  12. package/administration-retentionRules/views/list.html +6 -6
  13. package/administration-storageLimitEmail/views/storageLimitForm.html +3 -2
  14. package/alarms/widget-config.html +11 -9
  15. package/app-status/app-instances/app-instances.html +4 -3
  16. package/app-status/app-status/app-status.html +16 -25
  17. package/app-status/app-tenant-subscriptions-list/app-tenant-subscriptions-list.html +7 -5
  18. package/assetTable/views/addOperation.html +10 -6
  19. package/assetTable/views/assets.html +11 -4
  20. package/assetTable/views/assets2.html +1 -1
  21. package/assetTable/views/rendererButton.html +2 -2
  22. package/binaryArtefactsManagement/views/list.html +1 -1
  23. package/configurationRepository/views/list.html +15 -13
  24. package/connectivityV2/sms.html +2 -2
  25. package/connectivityV2/status.html +14 -12
  26. package/core/ui/configurable-device-list-columns/modal-columns-configure.component.html +14 -14
  27. package/core/ui/filteringSorting/filteredSortedList.html +2 -3
  28. package/core/ui/forms/search.html +9 -8
  29. package/core/ui/navigation/breadcrumbs.html +4 -3
  30. package/core/ui/navigation/navigator.html +2 -1
  31. package/core/ui/operations/operations-timeline.html +5 -3
  32. package/core/ui/properties/propertySelector.html +9 -8
  33. package/core/ui/properties/schemaPropertySelector.html +15 -13
  34. package/core/ui/realtime/realtime-switch.html +2 -2
  35. package/core/ui/roles/roles-matrix.html +6 -6
  36. package/core/ui/user/editUser.directive.html +53 -46
  37. package/core/ui/user/measurementUnitPreference.html +2 -2
  38. package/core/ui/views/alarmList.html +32 -27
  39. package/core/ui/views/auditList.html +8 -7
  40. package/core/ui/views/binaryInput.html +37 -27
  41. package/core/ui/views/coreLogin.html +24 -24
  42. package/core/ui/views/deviceStatusDisplay.html +13 -9
  43. package/core/ui/views/editRetentionRuleDirective.html +3 -3
  44. package/core/ui/views/filePicker.html +2 -2
  45. package/core/ui/views/loadmore.html +3 -3
  46. package/dataBroker/connectors/connectors.html +21 -18
  47. package/device-protocol-impact/impact-resource.html +10 -10
  48. package/device-protocol-lwm2m/lwm2mResource.html +5 -6
  49. package/device-protocol-lwm2m/lwm2mValidationRules/lwm2mValidationRule.html +9 -8
  50. package/device-protocol-opcua-v2/opcua-v2-create-step.html +7 -8
  51. package/deviceDatabase4/detail/discrete-inputs.html +9 -9
  52. package/deviceDatabase4/detail/discrete-outputs.html +7 -7
  53. package/deviceDatabase4/detail/holding-registers.html +6 -6
  54. package/deviceDatabase4/detail/input-registers.html +9 -8
  55. package/deviceDatabase4/detail/message-id-configuration.html +4 -4
  56. package/deviceDatabase4/modals/configure-discrete-io.html +19 -25
  57. package/deviceDatabase4/modals/configure-register.html +177 -67
  58. package/deviceDatabase4/modals/import-device-type.html +5 -5
  59. package/deviceDetailIdentity/views/identity.html +8 -8
  60. package/deviceGroupAssignment/groupAssignment.component.html +6 -6
  61. package/deviceStatusWidget/ownerStatus.html +10 -10
  62. package/deviceStatusWidget/requiredAvailabilityIntervalSetting.html +8 -8
  63. package/devicemanagement-aclManagement/views/index.html +10 -10
  64. package/devicemanagement-deviceNetwork/views/network.html +6 -6
  65. package/devicemanagement-location/views/index.html +21 -21
  66. package/devicemanagement-logViewer/views/index.html +34 -24
  67. package/enterpriseEdition/customBranding/brandingConfigurationForm.component.js +1 -1
  68. package/enterpriseEdition/customBranding/brandingConfigurationForm.html +13 -20
  69. package/export/views/detail.html +4 -3
  70. package/export/views/list.html +13 -13
  71. package/export/views/properties.html +7 -7
  72. package/generic-ui/generic-ui-inventory-property.html +13 -12
  73. package/generic-ui/generic-ui-operation-list-button.html +2 -2
  74. package/htmlWidget/views/config.html +6 -7
  75. package/kpi/views/edit.html +3 -3
  76. package/kpi/views/pieChart.html +6 -5
  77. package/measurements/views/iconBar.html +11 -7
  78. package/modbusConfiguration4/fieldbus-device-list.html +17 -14
  79. package/modbusWidget4/widget.html +4 -3
  80. package/modbusWidgets/views/widget.html +4 -4
  81. package/package.json +1 -1
  82. package/remoteAccess/remoteAccessEndpointCard/remoteAccessEndpointCard.component.js +1 -1
  83. package/remoteAccess/remoteAccessEndpointCard/remoteAccessEndpointCard.html +17 -10
  84. package/remoteAccess/remoteAccessEndpointModal/remoteAccessEndpointModal.html +31 -23
  85. package/roles/detail/roleDetailGlobal.html +8 -8
  86. package/roles/detail/roleDetailInventory.html +11 -11
  87. package/roles/detail/roleInventoryPermissionList.html +11 -14
  88. package/scada/views/componentConfig.html +5 -5
  89. package/simulators/detail/instructionList.html +22 -22
  90. package/simulators/detail/operationAddDialog.html +5 -4
  91. package/smartRestEditor/addTemplate/addTemplate.modal.html +8 -8
  92. package/smartRestEditor/requestEditor/requestEditor.html +20 -20
  93. package/smartRestEditor/responseEditor/responseEditor.html +11 -10
  94. package/smartRules/list/smartRulesList.html +13 -6
  95. package/smartRules/views/edit.html +9 -3
  96. package/smartRules/views/paramInputAlarmType.html +4 -4
  97. package/smartRules/views/paramInputEscalationSteps.html +6 -2
  98. package/smartRules/views/paramInputKpi.html +2 -2
  99. package/smartRules/views/paramInputOperation.html +2 -2
  100. package/tenantApplications/subscribed-applications/subscribed-applications.html +9 -8
  101. package/tenantApplications/views/index.html +5 -4
  102. package/tenantPolicies/retentionRule/retentionRuleRow.html +12 -9
  103. package/tenantPolicies/systemOptions/systemOptionsRow.html +2 -0
  104. package/tenantPolicies/tenantOptions/tenantOptionsRow.html +18 -14
  105. package/tenantPolicies/tenantPolicyDetail/tenantPolicyDetail.html +40 -29
  106. package/tenantPolicies/tenantPolicyDetail/tenantPolicyRow.html +3 -3
  107. package/trackerRegistration/views/index.html +2 -0
  108. package/trafficLightWidget/states-mapping.html +8 -8
  109. package/userRoles/inventoryRoleSelector/inventoryRoleSelector.html +10 -12
  110. package/userRoles/inventoryRolesTab/inventoryRolesTab.html +15 -15
  111. package/users/applicationAccess/applicationAccess.html +18 -17
  112. package/users/userDetailView/userDetailView.html +10 -10
  113. package/users/userList/userList.html +22 -17
  114. package/users/userRemovalModal/userRemovalModal.component.html +10 -10
@@ -7,9 +7,9 @@
7
7
  <label for="msgId">
8
8
  <span translate>Message ID</span>
9
9
  <button
10
- class="m-l-4 btn-help btn-help--sm"
11
- aria-label="{{ 'Help' | translate }}"
10
+ class="btn-help btn-help--sm"
12
11
  type="button"
12
+ aria-label="{{ 'Help' | translate }}"
13
13
  uib-popover="{{
14
14
  'Message template identifier. It must be unique among all message and response templates.'
15
15
  | translate
@@ -42,9 +42,9 @@
42
42
  <label for="name">
43
43
  <span translate>Name</span>
44
44
  <button
45
- aria-label="{{ 'Help' | translate }}"
46
- class="m-l-4 btn-help"
45
+ class="btn-help"
47
46
  type="button"
47
+ aria-label="{{ 'Help' | translate }}"
48
48
  uib-popover="{{
49
49
  'Name is mandatory but has no restricted format or semantics.' | translate
50
50
  }}"
@@ -116,8 +116,8 @@
116
116
  <span></span>
117
117
  <span>{{ 'Includes response' | translate }}</span>
118
118
  <button
119
+ class="btn-help"
119
120
  type="button"
120
- class="btn-help m-l-4"
121
121
  aria-label="{{ 'Help' | translate }}"
122
122
  uib-popover="{{
123
123
  'If selected, it will process the result of the request using response templates.'
@@ -133,8 +133,8 @@
133
133
  <div class="legend form-block">
134
134
  <span>{{ 'REST API built-in fields' | translate }}</span>
135
135
  <button
136
+ class="btn-help"
136
137
  type="button"
137
- class="m-l-4 btn-help"
138
138
  aria-label="{{ 'Help' | translate }}"
139
139
  uib-popover="{{
140
140
  'In case no value is provided, a device will be able to set it when sending an actual message.'
@@ -211,8 +211,8 @@
211
211
  <div class="legend form-block">
212
212
  <span>{{ 'REST API custom fields' | translate }}</span>
213
213
  <button
214
+ class="btn-help"
214
215
  type="button"
215
- class="m-l-4 btn-help"
216
216
  aria-label="{{ 'Help' | translate }}"
217
217
  uib-popover="{{
218
218
  'A custom fragment can be added to the message. For example, for the measurement API, we could have c8y_Temperature.T.unit - STRING - °C'
@@ -300,18 +300,18 @@
300
300
  <button
301
301
  class="btn-dot btn-dot--danger btn hidden-xs hidden-sm"
302
302
  type="button"
303
- ng-click="vm.removeCustomValue(vm.requestTemplate, customValue); requestTemplateForm.$setDirty()"
304
- uib-tooltip="{{ 'Remove' | translate }}"
305
303
  aria-label="{{ 'Remove' | translate }}"
306
- tooltip-trigger="'mouseenter focus'"
304
+ uib-tooltip="{{ 'Remove' | translate }}"
305
+ tooltip-trigger="'focus'"
307
306
  tooltip-popup-delay="500"
307
+ ng-click="vm.removeCustomValue(vm.requestTemplate, customValue); requestTemplateForm.$setDirty()"
308
308
  >
309
309
  <i c8y-icon="minus-circle"></i>
310
310
  </button>
311
311
  <button
312
- title="{{ 'Remove' | translate }}"
313
- type="button"
314
312
  class="btn btn-danger btn-block btn-sm visible-xs visible-sm"
313
+ type="button"
314
+ title="{{ 'Remove' | translate }}"
315
315
  ng-click="vm.removeCustomValue(vm.requestTemplate, customValue); requestTemplateForm.$setDirty()"
316
316
  >
317
317
  <i c8y-icon="minus-circle"></i>
@@ -322,9 +322,9 @@
322
322
  </ng-form>
323
323
  </div>
324
324
  <button
325
- title="{{ 'Add field' | translate }}"
326
- type="button"
327
325
  class="btn btn-default m-t-8"
326
+ type="button"
327
+ title="{{ 'Add field' | translate }}"
328
328
  ng-click="vm.addCustomValue(vm.requestTemplate); requestTemplateForm.$setDirty()"
329
329
  >
330
330
  <i c8y-icon="plus-circle"></i>
@@ -340,26 +340,26 @@
340
340
 
341
341
  <div class="card-footer separator sticky-bottom">
342
342
  <button
343
- title="{{ 'Cancel' | translate }}"
344
- type="button"
345
343
  class="btn btn-default"
344
+ type="button"
345
+ title="{{ 'Cancel' | translate }}"
346
346
  ng-click="vm.cancel()"
347
347
  >
348
348
  {{ 'Cancel' | translate }}
349
349
  </button>
350
350
  <button
351
- title="{{ 'Remove' | translate }}"
352
- type="button"
353
351
  class="btn btn-danger"
352
+ type="button"
353
+ title="{{ 'Remove' | translate }}"
354
354
  ng-if="vm.originalMsgId"
355
355
  ng-click="vm.remove()"
356
356
  >
357
357
  {{ 'Remove' | translate }}
358
358
  </button>
359
359
  <button
360
- title="{{ 'Save' | translate }}"
361
- type="submit"
362
360
  class="btn btn-primary"
361
+ type="submit"
362
+ title="{{ 'Save' | translate }}"
363
363
  ng-click="vm.save()"
364
364
  data-cy="save-message"
365
365
  ng-disabled="requestTemplateForm.$invalid || requestTemplateForm.$pristine"
@@ -102,12 +102,13 @@
102
102
  <span class="input-group-btn">
103
103
  <button
104
104
  class="btn-dot btn-dot--danger"
105
- ng-click="$ctrl.removePattern($ctrl.responseTemplate, pattern); responseTemplateForm.$setDirty()"
105
+ type="button"
106
106
  aria-label="{{ 'Remove' | translate }}"
107
107
  uib-tooltip="{{ 'Remove' | translate }}"
108
108
  tooltip-popup-delay="500"
109
109
  tooltip-append-to-body="true"
110
- tooltip-trigger="'mouseenter focus'"
110
+ tooltip-trigger="'mouseenter'"
111
+ ng-click="$ctrl.removePattern($ctrl.responseTemplate, pattern); responseTemplateForm.$setDirty()"
111
112
  >
112
113
  <i c8y-icon="minus-circle"></i>
113
114
  </button>
@@ -124,9 +125,9 @@
124
125
  </div>
125
126
 
126
127
  <button
127
- title="{{ 'Add pattern' | translate }}"
128
- type="button"
129
128
  class="btn btn-default"
129
+ type="button"
130
+ title="{{ 'Add pattern' | translate }}"
130
131
  ng-click="$ctrl.addPattern($ctrl.responseTemplate); responseTemplateForm.$setDirty()"
131
132
  >
132
133
  <i c8y-icon="plus-circle"></i>
@@ -137,26 +138,26 @@
137
138
  </div>
138
139
  <div class="card-footer separator sticky-bottom">
139
140
  <button
140
- title="{{ 'Cancel' | translate }}"
141
- type="button"
142
141
  class="btn btn-default"
142
+ type="button"
143
+ title="{{ 'Cancel' | translate }}"
143
144
  ng-click="$ctrl.cancel()"
144
145
  >
145
146
  {{ 'Cancel' | translate }}
146
147
  </button>
147
148
  <button
148
- title="{{ 'Remove' | translate }}"
149
- type="button"
150
149
  class="btn btn-danger"
150
+ type="button"
151
+ title="{{ 'Remove' | translate }}"
151
152
  ng-if="$ctrl.originalMsgId"
152
153
  ng-click="$ctrl.remove()"
153
154
  >
154
155
  {{ 'Remove' | translate }}
155
156
  </button>
156
157
  <button
157
- title="{{ 'Save' | translate }}"
158
- type="button"
159
158
  class="btn btn-primary"
159
+ type="button"
160
+ title="{{ 'Save' | translate }}"
160
161
  ng-click="$ctrl.save()"
161
162
  ng-disabled="responseTemplateForm.$invalid || responseTemplateForm.$pristine || $ctrl.responseTemplate.patterns.length === 0"
162
163
  >
@@ -64,8 +64,8 @@
64
64
  >
65
65
  <button
66
66
  class="btn btn-link btn-collapse"
67
- title="{{ 'Details' | translate }}"
68
67
  type="button"
68
+ title="{{ 'Details' | translate }}"
69
69
  ng-class="{ active: vm.isOpen[rule.id] }"
70
70
  ng-click="vm.isOpen[rule.id] = !vm.isOpen[rule.id]"
71
71
  >
@@ -73,9 +73,9 @@
73
73
  </button>
74
74
  <div class="btn-group" is-open="ctrl.open" uib-dropdown>
75
75
  <button
76
+ class="dropdown-toggle c8y-dropdown"
76
77
  title="{{ 'Actions' | translate }}"
77
78
  type="button"
78
- class="dropdown-toggle c8y-dropdown"
79
79
  data-toggle="dropdown"
80
80
  aria-haspopup="true"
81
81
  uib-dropdown-toggle
@@ -86,6 +86,7 @@
86
86
  <li ng-if="vm.canModify(rule) && !vm.disableEditAndCreate">
87
87
  <button
88
88
  title="{{ 'Edit smart rule' | translate }}"
89
+ type="button"
89
90
  ng-click="vm.edit(rule)"
90
91
  >
91
92
  <i c8y-icon="pencil"></i>
@@ -95,6 +96,7 @@
95
96
  <li ng-if="vm.canAddRules() && !vm.disableEditAndCreate">
96
97
  <button
97
98
  title="{{ 'Duplicate smart rule' | translate }}"
99
+ type="button"
98
100
  ng-click="vm.clone(rule)"
99
101
  >
100
102
  <i c8y-icon="copy"></i>
@@ -154,8 +156,8 @@
154
156
  </label>
155
157
 
156
158
  <button
157
- type="button"
158
159
  class="btn c8y-btn-checkbox m-r-0"
160
+ type="button"
159
161
  ng-class="{ active: rule.enabled && vm.hasSource(rule) }"
160
162
  ng-click="vm.toggleRuleActivationForContextMO(rule)"
161
163
  >
@@ -230,7 +232,12 @@
230
232
  </div>
231
233
  </div>
232
234
  <div class="card-actions-group">
233
- <button class="btn-flip" ng-click="vm.isFlipped = !vm.isFlipped">
235
+ <button
236
+ class="btn-flip"
237
+ type="button"
238
+ title="{{ 'Details' | translate }}"
239
+ ng-click="vm.isFlipped = !vm.isFlipped"
240
+ >
234
241
  <i c8y-icon="reply"></i>
235
242
  {{ 'Details' | translate }}
236
243
  </button>
@@ -276,9 +283,9 @@
276
283
 
277
284
  <div class="card-actions-group">
278
285
  <button
279
- title="{{ 'Back' | translate }}"
280
- type="button"
281
286
  class="btn-flip"
287
+ type="button"
288
+ title="{{ 'Back' | translate }}"
282
289
  ng-click="vm.isFlipped = !vm.isFlipped"
283
290
  >
284
291
  <i c8y-icon="reply"></i>
@@ -14,7 +14,7 @@
14
14
  <small translate>Fields marked * are required.</small>
15
15
  </div>
16
16
 
17
- <div class="modal-inner-scroll smart-rule-control" id="modal-body">
17
+ <div class="modal-inner-scroll smart-rule-control" id="modal-body">
18
18
  <form name="smartRuleForm" class="edit-smart-rule-details" novalidate>
19
19
  <div class="list-group">
20
20
  <div
@@ -26,8 +26,8 @@
26
26
  <div class="list-group-item">
27
27
  <div class="smart-rule-control text-center">
28
28
  <button
29
- type="button"
30
29
  class="btn btn-smart-rule-activation"
30
+ type="button"
31
31
  ng-model="rule.enabled"
32
32
  uib-btn-checkbox="rule.enabled"
33
33
  >
@@ -167,11 +167,17 @@
167
167
  </div>
168
168
 
169
169
  <div class="modal-footer">
170
- <button title="{{ 'Cancel' | translate }}" class="btn btn-default" ng-click="cancel()">
170
+ <button
171
+ class="btn btn-default"
172
+ type="button"
173
+ title="{{ 'Cancel' | translate }}"
174
+ ng-click="cancel()"
175
+ >
171
176
  {{ 'Cancel' | translate }}
172
177
  </button>
173
178
  <button
174
179
  class="btn btn-primary"
180
+ type="button"
175
181
  ng-click="save()"
176
182
  ng-disabled="smartRuleForm.$pristine || smartRuleForm.$invalid || savingStatus.inProgress"
177
183
  >
@@ -36,9 +36,9 @@
36
36
  />
37
37
  <span class="input-group-btn">
38
38
  <button
39
- title="{{ 'Remove' | translate }}"
40
- type="button"
41
39
  class="btn btn-link"
40
+ type="button"
41
+ title="{{ 'Remove' | translate }}"
42
42
  ng-click="remove(alarmType)"
43
43
  ng-disabled="alarmTypes.length <= 1"
44
44
  >
@@ -49,9 +49,9 @@
49
49
  </ng-form>
50
50
  </div>
51
51
  <button
52
- title="{{ 'Add alarm type' | translate }}"
53
- type="button"
54
52
  class="btn btn-default"
53
+ type="button"
54
+ title="{{ 'Add alarm type' | translate }}"
55
55
  ng-click="add()"
56
56
  >
57
57
  <i c8y-icon="plus-circle"></i>
@@ -23,6 +23,8 @@
23
23
  <div class="btn-group">
24
24
  <button
25
25
  class="btn btn-link btn-xs"
26
+ type="button"
27
+ aria-label="{{ getStepTooltip(step) | translate }}"
26
28
  uib-tooltip="{{ getStepTooltip(step) | translate }}"
27
29
  tooltip-popup-delay="500"
28
30
  tooltip-append-to-body="true"
@@ -32,6 +34,8 @@
32
34
  </button>
33
35
  <button
34
36
  class="btn btn-link btn-xs"
37
+ type="button"
38
+ aria-label="{{ 'Remove' | translate }}"
35
39
  uib-tooltip="{{ 'Remove' | translate }}"
36
40
  tooltip-popup-delay="500"
37
41
  tooltip-append-to-body="true"
@@ -127,9 +131,9 @@
127
131
  </table>
128
132
 
129
133
  <button
130
- title="{{ 'Add step' | translate }}"
131
- type="button"
132
134
  class="btn btn-link"
135
+ type="button"
136
+ title="{{ 'Add step' | translate }}"
133
137
  ng-click="addStep()"
134
138
  >
135
139
  <i c8y-icon="plus"></i>
@@ -12,14 +12,14 @@
12
12
  </select>
13
13
  <span class="input-group-btn">
14
14
  <button
15
- aria-label="{{ 'Select data point' | translate }}"
16
15
  class="btn btn-primary"
17
16
  type="button"
18
- ng-click="openKpiSelector()"
17
+ aria-label="{{ 'Select data point from library' | translate }}…"
19
18
  uib-tooltip="{{ 'Select data point from library' | translate }}…"
20
19
  tooltip-popup-delay="500"
21
20
  tooltip-append-to-body="true"
22
21
  tooltip-append-to-body="true"
22
+ ng-click="openKpiSelector()"
23
23
  >
24
24
  <i c8y-icon="search"></i>
25
25
  </button>
@@ -26,9 +26,9 @@
26
26
  ></select>
27
27
  <span class="input-group-btn">
28
28
  <button
29
- title="{{ 'Use this operation' | translate }}"
30
- type="button"
31
29
  class="btn btn-primary"
30
+ type="button"
31
+ title="{{ 'Use this operation' | translate }}"
32
32
  ng-click="chooseOperationExample(operation.example)"
33
33
  >
34
34
  <i c8y-icon="share"></i>
@@ -16,10 +16,10 @@
16
16
  <div class="d-flex">
17
17
  <button
18
18
  class="btn-clean text-truncate"
19
+ type="button"
20
+ title="{{ a | humanizeAppName }}"
19
21
  ng-click="vm.openItem(a)"
20
22
  ng-if="vm.hasApplicationStatus(a)"
21
- title="{{ a | humanizeAppName }}"
22
- type="button"
23
23
  >
24
24
  {{ a | humanizeAppName }}
25
25
  </button>
@@ -32,12 +32,13 @@
32
32
  {{ a | humanizeAppName }}
33
33
  </p>
34
34
  <button
35
+ class="btn-clean m-l-4"
36
+ type="button"
37
+ aria-label="{{ 'Status' | translate }}: {{::vm.getStringTooltip(a.id) | translate}}"
35
38
  uib-tooltip="{{ 'Status' | translate }}: {{::vm.getStringTooltip(a.id) | translate}}"
36
39
  tooltip-popup-delay="500"
37
40
  tooltip-append-to-body="true"
38
41
  tooltip-placement="right"
39
- aria-label="{{ 'Status' | translate }}"
40
- class="btn-clean m-l-4"
41
42
  ng-if="::vm.getStatusIcon(a.id)"
42
43
  >
43
44
  <i c8y-icon="{{::vm.getStatusIcon(a.id)}}"></i>
@@ -46,12 +47,12 @@
46
47
  <button
47
48
  class="btn btn-dot m-l-auto m-r-8 text-muted"
48
49
  type="button"
49
- ng-click="vm.dissociate(a)"
50
- uib-tooltip="{{ 'Unsubscribe' | translate }}"
51
50
  aria-label="{{ 'Unsubscribe' | translate }}"
51
+ uib-tooltip="{{ 'Unsubscribe' | translate }}"
52
52
  data-cy="c8y-applications--unsubscribe"
53
53
  tooltip-popup-delay="500"
54
54
  tooltip-append-to-body="true"
55
+ ng-click="vm.dissociate(a)"
55
56
  >
56
57
  <i c8y-icon="unsubscribe"></i>
57
58
  </button>
@@ -60,10 +61,10 @@
60
61
 
61
62
  <div class="c8y-list__item__actions">
62
63
  <button
64
+ class="collapse-btn"
63
65
  type="button"
64
- ng-if="vm.hasApplicationStatus(a)"
65
66
  title="{{ 'Expand' | translate }}"
66
- class="collapse-btn"
67
+ ng-if="vm.hasApplicationStatus(a)"
67
68
  ng-click="vm.openItem(a)"
68
69
  >
69
70
  <i c8y-icon="chevron-down"></i>
@@ -23,9 +23,9 @@
23
23
  {{ 'Available applications' | translate }}
24
24
  </div>
25
25
  <button
26
- class="btn-help btn-help--sm m-l-4"
27
- aria-label="{{ 'Help' | translate }}"
26
+ class="btn-help btn-help--sm"
28
27
  type="button"
28
+ aria-label="{{ 'Help' | translate }}"
29
29
  uib-popover-template="popoverTemplateUrl"
30
30
  popover-placement="bottom"
31
31
  popover-trigger="'focus'"
@@ -84,8 +84,9 @@
84
84
  <div class="c8y-list__item__body m-t-auto m-b-auto">
85
85
  <div class="d-flex">
86
86
  <button
87
- title="{{ a | humanizeAppName }}"
88
87
  class="btn-clean text-truncate"
88
+ type="button"
89
+ title="{{ a | humanizeAppName }}"
89
90
  ng-click="openItem(a)"
90
91
  >
91
92
  {{ a | humanizeAppName }}
@@ -107,9 +108,9 @@
107
108
  </div>
108
109
  <div class="c8y-list__item__actions">
109
110
  <button
111
+ class="collapse-btn"
110
112
  type="button"
111
113
  title="{{ 'Expand' | translate }}"
112
- class="collapse-btn"
113
114
  ng-click="openItem(a)"
114
115
  >
115
116
  <i c8y-icon="chevron-down"></i>
@@ -9,10 +9,11 @@
9
9
  <div class="col-sm-1">
10
10
  <button
11
11
  class="btn-clean"
12
+ type="button"
13
+ aria-label="{{ vm.dataTypes[vm.rule.dataType].label | translate }}"
12
14
  uib-tooltip="{{ vm.dataTypes[vm.rule.dataType].label | translate }}"
13
15
  tooltip-popup-delay="500"
14
- tooltip-trigger="'mouseenter focus'"
15
- aria-label="{{ 'Data type' | translate }}"
16
+ tooltip-trigger="'mouseenter'"
16
17
  >
17
18
  <i c8y-icon="{{ vm.dataTypes[vm.rule.dataType].icon }}"></i>
18
19
  </button>
@@ -21,9 +22,10 @@
21
22
  <button
22
23
  class="btn-clean"
23
24
  type="button"
25
+ aria-label="{{ 'Fragment type' | translate }}"
24
26
  uib-tooltip="{{ 'Fragment type' | translate }}"
25
27
  tooltip-popup-delay="500"
26
- tooltip-trigger="'mouseenter focus'"
28
+ tooltip-trigger="'mouseenter'"
27
29
  >
28
30
  {{ vm.rule.fragmentType }}
29
31
  </button>
@@ -35,7 +37,7 @@
35
37
  aria-label="{{ 'Type' | translate }}"
36
38
  uib-tooltip="{{ 'Type' | translate }}"
37
39
  tooltip-popup-delay="500"
38
- tooltip-trigger="'mouseenter focus'"
40
+ tooltip-trigger="'mouseenter'"
39
41
  >
40
42
  {{ vm.rule.type }}
41
43
  </button>
@@ -47,7 +49,7 @@
47
49
  aria-label="{{ 'Maximum age' | translate }}"
48
50
  uib-tooltip="{{ 'Maximum age' | translate }}"
49
51
  tooltip-popup-delay="500"
50
- tooltip-trigger="'mouseenter focus'"
52
+ tooltip-trigger="'mouseenter'"
51
53
  >
52
54
  <i c8y-icon="calendar"></i>
53
55
  <span
@@ -64,15 +66,16 @@
64
66
 
65
67
  <div class="col-sm-2 col-xs-4 text-right">
66
68
  <button
67
- class="showOnHover btn-dot--danger btn btn-dot"
68
- ng-class="{ open: popoverIsOpen }"
69
- ng-click="$event.stopPropagation();"
69
+ class="showOnHover btn btn-dot btn-dot--danger"
70
70
  type="button"
71
+ aria-label="{{ 'Remove' | translate }}"
72
+ data-cy="c8yRetentionRuleRow--remove-button"
71
73
  uib-popover-template="'confirmDeleteRetentionRule.html'"
72
74
  popover-trigger="'focus'"
73
75
  popover-placement="left"
74
76
  popover-is-open="popoverIsOpen"
75
- title="{{ 'Remove' | translate }}"
77
+ ng-class="{ open: popoverIsOpen }"
78
+ ng-click="$event.stopPropagation();"
76
79
  >
77
80
  <i c8y-icon="minus-circle"></i>
78
81
  </button>
@@ -33,7 +33,9 @@
33
33
  <div class="col-sm-2 text-right panel-actions">
34
34
  <button
35
35
  class="showOnHover btn btn-link text-16"
36
+ type="button"
36
37
  ng-click="$event.stopPropagation();vm.onRemove({option: vm.option})"
38
+ aria-label="{{ 'Remove' | translate }}"
37
39
  uib-tooltip="{{ 'Remove' | translate }}"
38
40
  tooltip-popup-delay="500"
39
41
  tooltip-append-to-body="true"
@@ -7,29 +7,36 @@
7
7
  >
8
8
  <uib-accordion-heading>
9
9
  <div class="col-sm-4 col-xs-12">
10
- <button type="button"
10
+ <button
11
11
  class="btn-clean"
12
+ type="button"
13
+ aria-label="{{ 'Category' | translate }}"
12
14
  uib-tooltip="{{ 'Category' | translate }}"
13
15
  tooltip-popup-delay="500"
14
- tooltip-trigger="'mouseenter focus'"
16
+ tooltip-trigger="'mouseenter'"
15
17
  >
16
18
  {{ vm.option.category }}
17
19
  </button>
18
20
  </div>
19
21
  <div class="col-sm-3 col-xs-12">
20
- <button type="button" class="btn-clean"
22
+ <button
23
+ class="btn-clean"
24
+ type="button"
25
+ aria-label="{{ 'Key' | translate }}"
21
26
  uib-tooltip="{{ 'Key' | translate }}"
22
27
  tooltip-popup-delay="500"
23
- tooltip-trigger="'mouseenter focus'"
28
+ tooltip-trigger="'mouseenter'"
24
29
  >
25
30
  {{ vm.option.key }}
26
31
  </button>
27
32
  </div>
28
33
  <div class="col-sm-3 col-xs-12">
29
- <button type="button"
34
+ <button
30
35
  class="btn-clean"
36
+ type="button"
37
+ aria-label="{{ 'Value' | translate }}"
31
38
  uib-tooltip="{{ 'Value' | translate }}"
32
- tooltip-trigger="'mouseenter focus'"
39
+ tooltip-trigger="'mouseenter'"
33
40
  tooltip-popup-delay="500"
34
41
  >
35
42
  {{ vm.option.value }}
@@ -38,23 +45,20 @@
38
45
 
39
46
  <div class="col-sm-2 col-xs-4 text-right">
40
47
  <button
41
- ng-click="$event.stopPropagation();"
42
- type="button"
43
48
  class="showOnHover btn btn-dot btn-dot--danger"
44
49
  ng-class="{ open: popoverIsOpen }"
50
+ type="button"
51
+ aria-label="{{ 'Remove' | translate }}"
52
+ data-cy="c8yTenantOptionsRow--remove-button"
45
53
  uib-popover-template="'confirmDelete.html'"
46
54
  popover-trigger="'focus'"
47
55
  popover-placement="left"
48
56
  popover-is-open="popoverIsOpen"
49
- title="{{ 'Remove' | translate }}"
57
+ ng-click="$event.stopPropagation();"
50
58
  >
51
59
  <i c8y-icon="minus-circle"></i>
52
60
  </button>
53
- <button
54
- type="button"
55
- title="{{ 'Expand' | translate }}"
56
- class="collapse-btn"
57
- >
61
+ <button class="collapse-btn" type="button" title="{{ 'Expand' | translate }}">
58
62
  <i c8y-icon="chevron-down"></i>
59
63
  </button>
60
64
  </div>