@pega/angular-sdk-components 0.24.4 → 0.24.6
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/designSystemExtension/material-case-summary/material-case-summary.component.mjs +3 -3
- package/esm2022/lib/_components/designSystemExtension/operator/operator.component.mjs +5 -2
- package/esm2022/lib/_components/field/check-box/check-box.component.mjs +5 -6
- package/esm2022/lib/_components/field/date-time/date-time.component.mjs +11 -3
- package/esm2022/lib/_components/field/multiselect/multiselect.component.mjs +6 -10
- package/esm2022/lib/_components/infra/Containers/base-components/flow-container-base.component.mjs +18 -0
- package/esm2022/lib/_components/infra/Containers/base-components/helper.mjs +71 -0
- package/esm2022/lib/_components/infra/Containers/flow-container/flow-container.component.mjs +20 -19
- package/esm2022/lib/_components/infra/Containers/modal-view-container/modal-view-container.component.mjs +37 -8
- package/esm2022/lib/_components/infra/assignment/assignment.component.mjs +8 -27
- package/esm2022/lib/_components/infra/view/view.component.mjs +2 -2
- package/esm2022/lib/_components/template/list-view/list-view.component.mjs +2 -2
- package/esm2022/lib/_components/template/simple-table-manual/simple-table-manual.component.mjs +2 -4
- package/esm2022/lib/_components/widget/todo/todo.component.mjs +4 -4
- package/fesm2022/pega-angular-sdk-components.mjs +208 -106
- package/fesm2022/pega-angular-sdk-components.mjs.map +1 -1
- package/lib/_components/field/date-time/date-time.component.d.ts +1 -0
- package/lib/_components/field/multiselect/multiselect.component.d.ts +3 -3
- package/lib/_components/infra/Containers/base-components/flow-container-base.component.d.ts +8 -0
- package/lib/_components/infra/Containers/base-components/helper.d.ts +1 -0
- package/lib/_components/infra/Containers/flow-container/flow-container.component.d.ts +5 -6
- package/lib/_components/infra/Containers/modal-view-container/modal-view-container.component.d.ts +2 -1
- package/lib/_components/infra/assignment/assignment.component.d.ts +0 -2
- package/package.json +1 -1
|
@@ -46,6 +46,7 @@ export declare class DateTimeComponent implements OnInit, OnDestroy {
|
|
|
46
46
|
onStateChange(): void;
|
|
47
47
|
checkAndUpdate(): void;
|
|
48
48
|
updateSelf(): void;
|
|
49
|
+
fieldOnDateChange(event: any): void;
|
|
49
50
|
fieldOnBlur(event: any): void;
|
|
50
51
|
getErrorMessage(): string;
|
|
51
52
|
static ɵfac: i0.ɵɵFactoryDeclaration<DateTimeComponent, never>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="pcore-pconnect-typedefs" />
|
|
2
2
|
import { OnDestroy, OnInit } from '@angular/core';
|
|
3
3
|
import { FormControl, FormGroup } from '@angular/forms';
|
|
4
|
-
import { MatAutocompleteSelectedEvent
|
|
4
|
+
import { MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';
|
|
5
5
|
import { AngularPConnectData, AngularPConnectService } from '../../../_bridge/angular-pconnect';
|
|
6
6
|
import { Utils } from '../../../_helpers/utils';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
@@ -54,8 +54,8 @@ export declare class MultiselectComponent implements OnInit, OnDestroy {
|
|
|
54
54
|
getCaseListBasedOnParams(searchText: any, group: any, selectedRows: any, currentItemsTree: any, isTriggeredFromSearch?: boolean): void;
|
|
55
55
|
fieldOnChange(event: Event): void;
|
|
56
56
|
optionChanged(event: MatAutocompleteSelectedEvent): void;
|
|
57
|
-
optionClicked: (event: Event, data: any
|
|
58
|
-
toggleSelection: (data: any
|
|
57
|
+
optionClicked: (event: Event, data: any) => void;
|
|
58
|
+
toggleSelection: (data: any) => void;
|
|
59
59
|
removeChip: (data: any) => void;
|
|
60
60
|
setSelectedItemsForReferenceList(data: any): void;
|
|
61
61
|
getErrorMessage(): string;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Injector } from '@angular/core';
|
|
2
|
+
import { AngularPConnectData } from 'packages/angular-sdk-components/src/public-api';
|
|
3
|
+
export declare class FlowContainerBaseComponent {
|
|
4
|
+
protected angularPConnectData: AngularPConnectData;
|
|
5
|
+
protected angularPConnect: any;
|
|
6
|
+
constructor(injector: Injector);
|
|
7
|
+
getPConnectOfActiveContainerItem(parentPConnect: any): import("@pega/pcore-pconnect-typedefs/interpreter/c11n-env").C11nEnv | null;
|
|
8
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getPConnectOfActiveContainerItem: (containerInfo: any, options: any) => import("@pega/pcore-pconnect-typedefs/interpreter/c11n-env").C11nEnv | null;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/// <reference types="pcore-pconnect-typedefs" />
|
|
2
|
-
import { OnInit, ChangeDetectorRef, NgZone, OnDestroy } from '@angular/core';
|
|
2
|
+
import { OnInit, ChangeDetectorRef, NgZone, OnDestroy, Injector } from '@angular/core';
|
|
3
3
|
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
4
4
|
import { publicConstants } from '@pega/pcore-pconnect-typedefs/constants';
|
|
5
|
-
import { AngularPConnectData, AngularPConnectService } from '../../../../_bridge/angular-pconnect';
|
|
6
5
|
import { ProgressSpinnerService } from '../../../../_messages/progress-spinner.service';
|
|
7
6
|
import { Utils } from '../../../../_helpers/utils';
|
|
7
|
+
import { FlowContainerBaseComponent } from '../base-components/flow-container-base.component';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
/**
|
|
10
10
|
* WARNING: It is not expected that this file should be modified. It is part of infrastructure code that works with
|
|
@@ -17,15 +17,13 @@ interface FlowContainerProps {
|
|
|
17
17
|
routingInfo?: any;
|
|
18
18
|
pageMessages: any[];
|
|
19
19
|
}
|
|
20
|
-
export declare class FlowContainerComponent implements OnInit, OnDestroy {
|
|
21
|
-
private angularPConnect;
|
|
20
|
+
export declare class FlowContainerComponent extends FlowContainerBaseComponent implements OnInit, OnDestroy {
|
|
22
21
|
private cdRef;
|
|
23
22
|
private psService;
|
|
24
23
|
private fb;
|
|
25
24
|
private ngZone;
|
|
26
25
|
private utils;
|
|
27
26
|
pConn$: typeof PConnect;
|
|
28
|
-
angularPConnectData: AngularPConnectData;
|
|
29
27
|
pCoreConstants: typeof publicConstants;
|
|
30
28
|
configProps$: FlowContainerProps;
|
|
31
29
|
formGroup$: FormGroup;
|
|
@@ -53,7 +51,8 @@ export declare class FlowContainerComponent implements OnInit, OnDestroy {
|
|
|
53
51
|
localeCategory: string;
|
|
54
52
|
localeReference: any;
|
|
55
53
|
banners: any[];
|
|
56
|
-
|
|
54
|
+
pConnectOfActiveContainerItem: any;
|
|
55
|
+
constructor(injector: Injector, cdRef: ChangeDetectorRef, psService: ProgressSpinnerService, fb: FormBuilder, ngZone: NgZone, utils: Utils);
|
|
57
56
|
ngOnInit(): void;
|
|
58
57
|
ngOnDestroy(): void;
|
|
59
58
|
handleCancel(): void;
|
package/lib/_components/infra/Containers/modal-view-container/modal-view-container.component.d.ts
CHANGED
|
@@ -48,9 +48,10 @@ export declare class ModalViewContainerComponent implements OnInit, OnDestroy {
|
|
|
48
48
|
updateSelf(): void;
|
|
49
49
|
createView(routingInfo: any, currentItem: any, latestItem: any, key: any): void;
|
|
50
50
|
hideModal(): void;
|
|
51
|
-
getConfigObject(item: any, pConnect: any): {
|
|
51
|
+
getConfigObject(item: any, pConnect: any, isReverseCoexistence?: boolean): {
|
|
52
52
|
getPConnect: () => import("@pega/pcore-pconnect-typedefs/interpreter/c11n-env").C11nEnv;
|
|
53
53
|
} | null;
|
|
54
|
+
checkIfRefComponent(thePConn: any): boolean;
|
|
54
55
|
onAlertState(bData: boolean): void;
|
|
55
56
|
showAlert(payload: any): void;
|
|
56
57
|
hasContainerItems(routingInfo: any): any;
|
|
@@ -27,7 +27,6 @@ export declare class AssignmentComponent implements OnInit, OnDestroy, OnChanges
|
|
|
27
27
|
configProps$: AssignmentProps;
|
|
28
28
|
newPConn$: any;
|
|
29
29
|
containerName$: string;
|
|
30
|
-
bIsRefComponent: boolean;
|
|
31
30
|
bInitialized: boolean;
|
|
32
31
|
templateName$: string;
|
|
33
32
|
arMainButtons$: any[];
|
|
@@ -57,7 +56,6 @@ export declare class AssignmentComponent implements OnInit, OnDestroy, OnChanges
|
|
|
57
56
|
checkAndUpdate(): void;
|
|
58
57
|
ngOnChanges(): void;
|
|
59
58
|
updateChanges(): void;
|
|
60
|
-
checkIfRefComponent(thePConn: any): boolean;
|
|
61
59
|
initComponent(): void;
|
|
62
60
|
createButtons(): void;
|
|
63
61
|
createButtonsForMultiStepForm(oCaseInfo: any): void;
|