+
diff --git a/ui-ngx/src/app/shared/components/entity/entity-select.component.ts b/ui-ngx/src/app/shared/components/entity/entity-select.component.ts
index a85589fae4..01b1f03388 100644
--- a/ui-ngx/src/app/shared/components/entity/entity-select.component.ts
+++ b/ui-ngx/src/app/shared/components/entity/entity-select.component.ts
@@ -25,6 +25,7 @@ import { EntityId } from '@shared/models/id/entity-id';
import { NULL_UUID } from '@shared/models/id/has-uuid';
import { coerceBoolean } from '@shared/decorators/coercion';
import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
+import { MatFormFieldAppearance } from '@angular/material/form-field';
@Component({
selector: 'tb-entity-select',
@@ -58,6 +59,9 @@ export class EntitySelectComponent implements ControlValueAccessor, OnInit, Afte
@Input()
additionEntityTypes: {[entityType in string]: string} = {};
+ @Input()
+ appearance: MatFormFieldAppearance = 'fill';
+
displayEntityTypeSelect: boolean;
AliasEntityType = AliasEntityType;
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 963bf769ee..23e759a162 100644
--- a/ui-ngx/src/assets/locale/locale.constant-en_US.json
+++ b/ui-ngx/src/assets/locale/locale.constant-en_US.json
@@ -721,6 +721,7 @@
"state-entity-parameter-name": "State entity parameter name",
"default-state-entity": "Default state entity",
"default-entity-parameter-name": "By default",
+ "query-options": "Query options",
"max-relation-level": "Max relation level",
"unlimited-level": "Unlimited level",
"state-entity": "Dashboard state entity",
@@ -4367,6 +4368,7 @@
"add-relation-filter": "Add relation filter",
"any-relation": "Any relation",
"relation-filters": "Relation filters",
+ "relation-filter": "Relation filter",
"additional-info": "Additional info (JSON)",
"invalid-additional-info": "Unable to parse additional info json.",
"no-relations-text": "No relations found",
diff --git a/ui-ngx/src/form.scss b/ui-ngx/src/form.scss
index e516810895..b88145331c 100644
--- a/ui-ngx/src/form.scss
+++ b/ui-ngx/src/form.scss
@@ -163,6 +163,9 @@
.tb-form-panel-title {
font-weight: 500;
font-size: 16px;
+ &.tb-normal {
+ font-weight: normal;
+ }
&.tb-required::after {
font-size: 13px;
@@ -819,4 +822,41 @@
}
}
}
+
+ .tb-form-panel.outlined {
+ --mdc-outlined-text-field-outline-color: rgba(0,0,0,0.12);
+ --mdc-outlined-text-field-container-shape: 6px;
+ --mat-form-field-trailing-icon-color: rgba(0, 0, 0, 0.56);
+
+ box-shadow: none;
+ gap: 0;
+ padding-bottom: 0;
+
+ &:not(.stroked) {
+ border-radius: 0;
+ }
+
+ &:not(.mat-padding,.padding) {
+ padding: 0;
+ }
+
+ & > .tb-form-panel-title {
+ margin-bottom: 16px;
+ }
+
+ .tb-form-panel {
+ @media #{$mat-xs} {
+ gap: 16px;
+ }
+ }
+
+ .tb-form-row {
+ height: 56px;
+ margin-bottom: 22px;
+ &.disabled {
+ border-color: var(--mdc-outlined-text-field-disabled-outline-color);
+ color: var(--mdc-outlined-text-field-disabled-input-text-color);
+ }
+ }
+ }
}