@pega/angular-sdk-components 0.23.14 → 0.23.16
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.
- package/esm2022/lib/_components/field/currency/currency.component.mjs +13 -5
- package/esm2022/lib/_components/field/decimal/decimal.component.mjs +8 -4
- package/esm2022/lib/_components/field/email/email.component.mjs +13 -5
- package/esm2022/lib/_components/field/integer/integer.component.mjs +13 -5
- package/esm2022/lib/_components/field/percentage/percentage.component.mjs +13 -5
- package/esm2022/lib/_components/field/phone/phone.component.mjs +6 -15
- package/esm2022/lib/_components/field/text-area/text-area.component.mjs +8 -4
- package/esm2022/lib/_components/field/text-input/text-input.component.mjs +13 -5
- package/esm2022/lib/_components/field/url/url.component.mjs +13 -5
- package/esm2022/lib/_components/infra/Containers/flow-container/flow-container.component.mjs +8 -5
- package/esm2022/lib/_components/infra/assignment/assignment.component.mjs +30 -31
- package/esm2022/lib/_services/banner.service.mjs +32 -0
- package/esm2022/public-api.mjs +2 -1
- package/fesm2022/pega-angular-sdk-components.mjs +156 -78
- package/fesm2022/pega-angular-sdk-components.mjs.map +1 -1
- package/lib/_components/field/phone/phone.component.d.ts +1 -1
- package/lib/_components/infra/assignment/assignment.component.d.ts +5 -3
- package/lib/_services/banner.service.d.ts +8 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
|
@@ -39,8 +39,8 @@ export declare class PhoneComponent implements OnInit, OnDestroy {
|
|
|
39
39
|
onStateChange(): void;
|
|
40
40
|
checkAndUpdate(): void;
|
|
41
41
|
updateSelf(): void;
|
|
42
|
+
fieldOnBlur(event: Event): void;
|
|
42
43
|
fieldOnChange(): void;
|
|
43
|
-
fieldOnBlur(event: any): void;
|
|
44
44
|
getErrorMessage(): string;
|
|
45
45
|
static ɵfac: i0.ɵɵFactoryDeclaration<PhoneComponent, never>;
|
|
46
46
|
static ɵcmp: i0.ɵɵComponentDeclaration<PhoneComponent, "app-phone", never, { "pConn$": { "alias": "pConn$"; "required": false; }; "formGroup$": { "alias": "formGroup$"; "required": false; }; }, {}, never, never, true, never>;
|
|
@@ -5,6 +5,7 @@ import { FormGroup } from '@angular/forms';
|
|
|
5
5
|
import { AngularPConnectData, AngularPConnectService } from '../../../_bridge/angular-pconnect';
|
|
6
6
|
import { ErrorMessagesService } from '../../../_messages/error-messages.service';
|
|
7
7
|
import { ProgressSpinnerService } from '../../../_messages/progress-spinner.service';
|
|
8
|
+
import { BannerService } from '../../../_services/banner.service';
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
9
10
|
interface AssignmentProps {
|
|
10
11
|
template: string;
|
|
@@ -15,6 +16,7 @@ export declare class AssignmentComponent implements OnInit, OnDestroy, OnChanges
|
|
|
15
16
|
private erService;
|
|
16
17
|
private ngZone;
|
|
17
18
|
private snackBar;
|
|
19
|
+
bannerService: BannerService;
|
|
18
20
|
pConn$: typeof PConnect;
|
|
19
21
|
formGroup$: FormGroup;
|
|
20
22
|
arChildren$: any[];
|
|
@@ -22,7 +24,6 @@ export declare class AssignmentComponent implements OnInit, OnDestroy, OnChanges
|
|
|
22
24
|
isCreateStage$: boolean;
|
|
23
25
|
updateToken$: number;
|
|
24
26
|
isInModal$: boolean;
|
|
25
|
-
banners: any;
|
|
26
27
|
angularPConnectData: AngularPConnectData;
|
|
27
28
|
configProps$: AssignmentProps;
|
|
28
29
|
newPConn$: any;
|
|
@@ -47,7 +48,8 @@ export declare class AssignmentComponent implements OnInit, OnDestroy, OnChanges
|
|
|
47
48
|
localizedVal: any;
|
|
48
49
|
localeCategory: string;
|
|
49
50
|
localeReference: any;
|
|
50
|
-
|
|
51
|
+
snackBarRef: any;
|
|
52
|
+
constructor(angularPConnect: AngularPConnectService, psService: ProgressSpinnerService, erService: ErrorMessagesService, ngZone: NgZone, snackBar: MatSnackBar, bannerService: BannerService);
|
|
51
53
|
ngOnInit(): void;
|
|
52
54
|
ngOnDestroy(): void;
|
|
53
55
|
onStateChange(): void;
|
|
@@ -67,6 +69,6 @@ export declare class AssignmentComponent implements OnInit, OnDestroy, OnChanges
|
|
|
67
69
|
topViewRefresh(): void;
|
|
68
70
|
registerForRefresh(): void;
|
|
69
71
|
static ɵfac: i0.ɵɵFactoryDeclaration<AssignmentComponent, never>;
|
|
70
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AssignmentComponent, "app-assignment", never, { "pConn$": { "alias": "pConn$"; "required": false; }; "formGroup$": { "alias": "formGroup$"; "required": false; }; "arChildren$": { "alias": "arChildren$"; "required": false; }; "itemKey$": { "alias": "itemKey$"; "required": false; }; "isCreateStage$": { "alias": "isCreateStage$"; "required": false; }; "updateToken$": { "alias": "updateToken$"; "required": false; }; "isInModal$": { "alias": "isInModal$"; "required": false; };
|
|
72
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AssignmentComponent, "app-assignment", never, { "pConn$": { "alias": "pConn$"; "required": false; }; "formGroup$": { "alias": "formGroup$"; "required": false; }; "arChildren$": { "alias": "arChildren$"; "required": false; }; "itemKey$": { "alias": "itemKey$"; "required": false; }; "isCreateStage$": { "alias": "isCreateStage$"; "required": false; }; "updateToken$": { "alias": "updateToken$"; "required": false; }; "isInModal$": { "alias": "isInModal$"; "required": false; }; }, {}, never, never, true, never>;
|
|
71
73
|
}
|
|
72
74
|
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class BannerService {
|
|
3
|
+
banners: any[];
|
|
4
|
+
clearBanners(): void;
|
|
5
|
+
updateBanners(itemKey: any): void;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BannerService, never>;
|
|
7
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BannerService>;
|
|
8
|
+
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -111,6 +111,7 @@ export * from './lib/_services/server-config.service';
|
|
|
111
111
|
export * from './lib/_services/case.service';
|
|
112
112
|
export * from './lib/_services/datapage.service';
|
|
113
113
|
export * from './lib/_services/idle-detection.service';
|
|
114
|
+
export * from './lib/_services/banner.service';
|
|
114
115
|
export * from './lib/_services/endpoints';
|
|
115
116
|
export * from './lib/_helpers/case-utils';
|
|
116
117
|
export * from './lib/_helpers/currency-utils';
|