@pega/angular-sdk-overrides
Advanced tools
Comparing version 0.24.3 to 0.24.4
@@ -7,3 +7,3 @@ import { Component, OnInit, Input, ChangeDetectorRef, forwardRef, OnDestroy } from '@angular/core'; | ||
import { interval } from 'rxjs'; | ||
import { NgxCurrencyDirective } from 'ngx-currency'; | ||
import { NgxCurrencyDirective, NgxCurrencyInputMode } from 'ngx-currency'; | ||
import { AngularPConnectData, AngularPConnectService } from '@pega/angular-sdk-components'; | ||
@@ -19,2 +19,3 @@ import { Utils } from '@pega/angular-sdk-components'; | ||
currencyISOCode?: string; | ||
allowDecimals: boolean; | ||
} | ||
@@ -57,2 +58,4 @@ | ||
currDec: string; | ||
inputMode: any; | ||
decimalPrecision: number | undefined; | ||
@@ -122,2 +125,3 @@ constructor( | ||
this.displayMode$ = this.configProps$.displayMode; | ||
this.inputMode = NgxCurrencyInputMode.Natural; | ||
let nValue: any = this.configProps$.value; | ||
@@ -170,2 +174,4 @@ if (nValue) { | ||
this.decimalPrecision = this.configProps$?.allowDecimals ? 2 : 0; | ||
this.componentReference = (this.pConn$.getStateProps() as any).value; | ||
@@ -172,0 +178,0 @@ |
@@ -190,2 +190,3 @@ import { Component, OnInit, Input, ChangeDetectorRef, forwardRef, OnDestroy } from '@angular/core'; | ||
} | ||
this.decimalPrecision = this.configProps$?.decimalPrecision ?? 2; | ||
@@ -192,0 +193,0 @@ this.componentReference = (this.pConn$.getStateProps() as any).value; |
@@ -7,3 +7,3 @@ import { Component, OnInit, Input, ChangeDetectorRef, forwardRef, OnDestroy } from '@angular/core'; | ||
import { interval } from 'rxjs'; | ||
import { NgxCurrencyDirective } from 'ngx-currency'; | ||
import { NgxCurrencyDirective, NgxCurrencyInputMode } from 'ngx-currency'; | ||
import { AngularPConnectData, AngularPConnectService } from '@pega/angular-sdk-components'; | ||
@@ -52,2 +52,4 @@ import { Utils } from '@pega/angular-sdk-components'; | ||
currSep: string; | ||
inputMode: any; | ||
decimalPrecision: number | undefined; | ||
fieldControl = new FormControl<number | null>(null, null); | ||
@@ -115,2 +117,3 @@ | ||
this.displayMode$ = this.configProps$.displayMode; | ||
this.inputMode = NgxCurrencyInputMode.Natural; | ||
let nValue: any = this.configProps$.value; | ||
@@ -158,2 +161,4 @@ if (nValue) { | ||
this.decimalPrecision = this.configProps$?.decimalPrecision ?? 2; | ||
this.componentReference = (this.pConn$.getStateProps() as any).value; | ||
@@ -160,0 +165,0 @@ |
@@ -51,2 +51,3 @@ import { Component, OnInit, Input, NgZone, OnDestroy, OnChanges } from '@angular/core'; | ||
showMoreLocalizedValue = this.localizedVal('show_more', 'CosmosFields'); | ||
canPerform: boolean; | ||
@@ -153,2 +154,4 @@ constructor( | ||
this.canPerform = this.arAssignments$?.[0]?.canPerform === 'true' || this.arAssignments$?.[0]?.canPerform === true; | ||
this.currentUser$ = PCore.getEnvironmentInfo().getOperatorName(); | ||
@@ -155,0 +158,0 @@ this.currentUserInitials$ = this.utils.getInitials(this.currentUser$); |
{ | ||
"name": "@pega/angular-sdk-overrides", | ||
"version": "0.24.3", | ||
"version": "0.24.4", | ||
"description": "Angular SDK - Code for overriding components", | ||
@@ -5,0 +5,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
922362
18983