diff --git a/packages/angular-sdk-components/src/lib/_components/infra/reference/reference.component.ts b/packages/angular-sdk-components/src/lib/_components/infra/reference/reference.component.ts index 4e17b421..3943988c 100644 --- a/packages/angular-sdk-components/src/lib/_components/infra/reference/reference.component.ts +++ b/packages/angular-sdk-components/src/lib/_components/infra/reference/reference.component.ts @@ -71,6 +71,11 @@ export class ReferenceComponent { pageReference: context && context.startsWith('@CLASS') ? '' : context }); + if (referenceConfig.inheritedProps && referenceConfig.inheritedProps.length > 0) { + const inheritedProps = inPConn.getInheritedProps(); + referenceConfig.inheritedProps = Object.keys(inheritedProps).map(prop => ({ prop, value: inheritedProps[prop] })); + } + // Get the PConnect object from the created component const newCompPConnect = viewComponent.getPConnect(); diff --git a/packages/angular-sdk-components/src/lib/_components/template/list-view/list-view.component.ts b/packages/angular-sdk-components/src/lib/_components/template/list-view/list-view.component.ts index 3074e7a9..239e6430 100644 --- a/packages/angular-sdk-components/src/lib/_components/template/list-view/list-view.component.ts +++ b/packages/angular-sdk-components/src/lib/_components/template/list-view/list-view.component.ts @@ -46,6 +46,7 @@ interface ListViewProps { displayAs?: string; showRecords: boolean; viewName?: string; + localeReference?: any; } export class Group { @@ -516,6 +517,7 @@ export class ListViewComponent implements OnInit, OnDestroy { const arReturn = arFields; arReturn.forEach((field, i) => { field.config = { ...field.config, ...fields[i], name: fields[i].id }; + field.config.label = PCore.getLocaleUtils().getLocaleValue(field.config.label, this.configProps$.localeReference); }); return arReturn; } diff --git a/packages/angular-sdk-components/src/lib/_components/widget/file-utility/file-utility.component.scss b/packages/angular-sdk-components/src/lib/_components/widget/file-utility/file-utility.component.scss index aa81d2a1..636cac1b 100644 --- a/packages/angular-sdk-components/src/lib/_components/widget/file-utility/file-utility.component.scss +++ b/packages/angular-sdk-components/src/lib/_components/widget/file-utility/file-utility.component.scss @@ -24,7 +24,7 @@ } .psdk-modal-file-selector { - border: 1px dashed var(--app-neutral-dark-color); + border: 1px dashed var(--mat-sys-neutral-variant20); width: 100%; padding: 0.3rem; text-align: center;