diff --git a/ui-ngx/src/app/modules/home/components/relation/relation-filters.component.html b/ui-ngx/src/app/modules/home/components/relation/relation-filters.component.html
index f1d390bc77..2b7e4651f0 100644
--- a/ui-ngx/src/app/modules/home/components/relation/relation-filters.component.html
+++ b/ui-ngx/src/app/modules/home/components/relation/relation-filters.component.html
@@ -47,7 +47,6 @@
matTooltipPosition="above">
close
-
@@ -55,15 +54,14 @@
relation.any-relation
-
-
diff --git a/ui-ngx/src/app/modules/home/components/relation/relation-filters.component.scss b/ui-ngx/src/app/modules/home/components/relation/relation-filters.component.scss
index b18f226f4f..eed28329fd 100644
--- a/ui-ngx/src/app/modules/home/components/relation/relation-filters.component.scss
+++ b/ui-ngx/src/app/modules/home/components/relation/relation-filters.component.scss
@@ -22,26 +22,25 @@
width: 100%;
}
- .header {
- padding: 0 5px 5px;
-
- .cell {
- padding-right: 5px;
- padding-left: 5px;
- font-size: 12px;
- font-weight: 700;
- color: rgba(0, 0, 0, .54);
- white-space: nowrap;
- }
+ .map-label {
+ font-weight: 400;
+ font-size: 12px;
}
.body {
- padding: 0 5px 20px;
max-height: 300px;
overflow: auto;
.row {
padding-top: 5px;
+
+ .input-block {
+ border: 1px solid #E0E0E0;
+ border-radius: 6px;
+ padding: 24px 24px 2px 24px;
+ align-items: center;
+ margin: 0px 8px 15px 0px;
+ }
}
.cell {
diff --git a/ui-ngx/src/app/shared/components/entity/entity-subtype-list.component.html b/ui-ngx/src/app/shared/components/entity/entity-subtype-list.component.html
index 7d45b5a071..909d780e45 100644
--- a/ui-ngx/src/app/shared/components/entity/entity-subtype-list.component.html
+++ b/ui-ngx/src/app/shared/components/entity/entity-subtype-list.component.html
@@ -15,7 +15,8 @@
limitations under the License.
-->
-
+
+ {{ label | translate }}
+ 1"
+ type="button"
+ style="margin-right: 3px"
+ matTooltip="{{'entity.clear-selected-profiles' | translate}}"
+ matSuffix mat-icon-button
+ (click)="clearChipGrid()">
+ close
+
= 0) {
@@ -249,9 +258,7 @@ export class EntitySubTypeListComponent implements ControlValueAccessor, OnInit,
this.searchText = searchText;
return this.getEntitySubtypes().pipe(
map(subTypes => {
- let result = subTypes.filter( subType => {
- return searchText ? subType.toUpperCase().startsWith(searchText.toUpperCase()) : true;
- });
+ let result = subTypes.filter( subType => searchText ? subType.toUpperCase().startsWith(searchText.toUpperCase()) : true);
if (!result.length) {
result = [searchText];
}
diff --git a/ui-ngx/src/app/shared/components/entity/entity-type-list.component.html b/ui-ngx/src/app/shared/components/entity/entity-type-list.component.html
index 7a20291a0a..6852f7f62d 100644
--- a/ui-ngx/src/app/shared/components/entity/entity-type-list.component.html
+++ b/ui-ngx/src/app/shared/components/entity/entity-type-list.component.html
@@ -15,7 +15,8 @@
limitations under the License.
-->
-
+
+ {{ 'entity.entity-types' | translate }}
-
- {{ 'relation.relation-type' | translate }}
+
+ {{ label | translate }}
close
diff --git a/ui-ngx/src/app/shared/components/relation/relation-type-autocomplete.component.ts b/ui-ngx/src/app/shared/components/relation/relation-type-autocomplete.component.ts
index 6f911b7ab6..5f5be4eee6 100644
--- a/ui-ngx/src/app/shared/components/relation/relation-type-autocomplete.component.ts
+++ b/ui-ngx/src/app/shared/components/relation/relation-type-autocomplete.component.ts
@@ -46,6 +46,9 @@ export class RelationTypeAutocompleteComponent implements ControlValueAccessor,
get required(): boolean {
return this.requiredValue;
}
+
+ @Input() label: string;
+
@Input()
set required(value: boolean) {
this.requiredValue = coerceBooleanProperty(value);
diff --git a/ui-ngx/src/assets/help/en_US/rulenode/msg_and_metadata_key_patterns_fn.md b/ui-ngx/src/assets/help/en_US/rulenode/msg_and_metadata_key_patterns_fn.md
new file mode 100644
index 0000000000..e1fa4ab0db
--- /dev/null
+++ b/ui-ngx/src/assets/help/en_US/rulenode/msg_and_metadata_key_patterns_fn.md
@@ -0,0 +1 @@
+#### Coming soon!
diff --git a/ui-ngx/src/assets/locale/locale.constant-en_US.json b/ui-ngx/src/assets/locale/locale.constant-en_US.json
index 3aac9e1909..3299c461c1 100644
--- a/ui-ngx/src/assets/locale/locale.constant-en_US.json
+++ b/ui-ngx/src/assets/locale/locale.constant-en_US.json
@@ -1961,6 +1961,7 @@
"device-name-starts-with": "Devices whose names start with '{{prefix}}'",
"type-device-profile": "Device profile",
"type-device-profiles": "Device profiles",
+ "clear-selected-profiles": "Clear selected profiles",
"list-of-device-profiles": "{ count, plural, =1 {One device profile} other {List of # device profiles} }",
"device-profile-name-starts-with": "Device profiles whose names start with '{{prefix}}'",
"type-asset-profile": "Asset profile",
@@ -3166,6 +3167,7 @@
"relation": {
"relations": "Relations",
"direction": "Direction",
+ "clear-relation-type": "Clear relation type",
"search-direction": {
"FROM": "From",
"TO": "To"