@pega/angular-sdk-components 0.25.1 → 0.25.3
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/fesm2022/pega-angular-sdk-components.mjs +3962 -3561
- package/fesm2022/pega-angular-sdk-components.mjs.map +1 -1
- package/lib/_bridge/angular-pconnect.d.ts +1 -1
- package/lib/_bridge/component-mapper/component-mapper.component.d.ts +1 -1
- package/lib/_bridge/helpers/sdk-pega-component-map.d.ts +14 -0
- package/lib/_components/designSystemExtension/material-case-summary/material-case-summary.component.d.ts +1 -1
- package/lib/_components/field/auto-complete/auto-complete.component.d.ts +9 -37
- package/lib/_components/field/cancel-alert/cancel-alert.component.d.ts +7 -5
- package/lib/_components/field/check-box/check-box.component.d.ts +7 -32
- package/lib/_components/field/currency/currency.component.d.ts +19 -34
- package/lib/_components/field/date/date.component.d.ts +7 -57
- package/lib/_components/field/date-time/date-time.component.d.ts +10 -40
- package/lib/_components/field/decimal/decimal.component.d.ts +16 -31
- package/lib/_components/field/dropdown/dropdown.component.d.ts +13 -37
- package/lib/_components/field/email/email.component.d.ts +7 -34
- package/lib/_components/field/field.base.d.ts +57 -0
- package/lib/_components/field/group/group.component.d.ts +5 -2
- package/lib/_components/field/integer/integer.component.d.ts +7 -33
- package/lib/_components/field/list-view-action-buttons/list-view-action-buttons.component.d.ts +1 -1
- package/lib/_components/field/location/location.component.d.ts +1 -1
- package/lib/_components/field/multiselect/multiselect.component.d.ts +7 -38
- package/lib/_components/field/object-reference/object-reference.component.d.ts +45 -0
- package/lib/_components/field/percentage/percentage.component.d.ts +18 -35
- package/lib/_components/field/phone/phone.component.d.ts +6 -32
- package/lib/_components/field/radio-buttons/radio-buttons.component.d.ts +11 -33
- package/lib/_components/field/rich-text/rich-text.component.d.ts +6 -29
- package/lib/_components/field/scalar-list/scalar-list.component.d.ts +6 -21
- package/lib/_components/field/selectable-card/selectable-card.component.d.ts +5 -18
- package/lib/_components/field/semantic-link/semantic-link.component.d.ts +21 -0
- package/lib/_components/field/text-area/text-area.component.d.ts +6 -33
- package/lib/_components/field/text-input/text-input.component.d.ts +6 -34
- package/lib/_components/field/time/time.component.d.ts +6 -34
- package/lib/_components/field/url/url.component.d.ts +6 -34
- package/lib/_components/field/user-reference/user-reference.component.d.ts +1 -1
- package/lib/_components/infra/Containers/modal-view-container/modal-view-container.component.d.ts +4 -6
- package/lib/_components/infra/action-buttons/action-buttons.component.d.ts +1 -1
- package/lib/_components/infra/assignment/assignment.component.d.ts +3 -3
- package/lib/_components/infra/assignment-card/assignment-card.component.d.ts +3 -2
- package/lib/_components/infra/defer-load/defer-load.component.d.ts +6 -6
- package/lib/_components/infra/error-boundary/error-boundary.component.d.ts +1 -1
- package/lib/_components/infra/navbar/navbar.component.d.ts +0 -1
- package/lib/_components/infra/stages/stages.component.d.ts +2 -1
- package/lib/_components/template/advanced-search/advanced-search.component.d.ts +21 -0
- package/lib/_components/template/advanced-search/search-group/persist-utils.d.ts +23 -0
- package/lib/_components/template/advanced-search/search-groups/search-groups.component.d.ts +47 -0
- package/lib/_components/template/advanced-search/search-groups/utils.d.ts +15 -0
- package/lib/_components/template/app-shell/app-shell.component.d.ts +6 -2
- package/lib/_components/template/data-reference/data-reference-advanced-search.service.d.ts +9 -0
- package/lib/_components/template/data-reference/data-reference.component.d.ts +27 -2
- package/lib/_components/template/data-reference/search-form/search-form.component.d.ts +39 -0
- package/lib/_components/template/data-reference/search-form/tabsData.d.ts +2 -0
- package/lib/_components/template/data-reference/utils.d.ts +14 -0
- package/lib/_components/template/default-form/default-form.component.d.ts +3 -2
- package/lib/_components/template/default-page/default-page.component.d.ts +29 -0
- package/lib/_components/template/list-view/list-view.component.d.ts +14 -1
- package/lib/_components/template/object-page/object-page.component.d.ts +8 -0
- package/lib/_components/template/self-service-case-view/self-service-case-view.component.d.ts +59 -0
- package/lib/_components/template/simple-table-manual/simple-table-manual.component.d.ts +2 -2
- package/lib/_components/template/single-reference-readonly/single-reference-readonly.component.d.ts +18 -2
- package/lib/_components/template/utils.d.ts +4 -0
- package/lib/_components/template/wss-nav-bar/wss-nav-bar.component.d.ts +3 -5
- package/lib/_components/widget/attachment/Attachment.types.d.ts +87 -0
- package/lib/_components/widget/attachment/AttachmentUtils.d.ts +17 -0
- package/lib/_components/widget/attachment/attachment.component.d.ts +18 -33
- package/lib/_components/widget/feed-container/feed-container.component.d.ts +2 -2
- package/lib/_components/widget/todo/todo.component.d.ts +4 -2
- package/lib/_helpers/field-group-utils.d.ts +1 -3
- package/lib/_helpers/filter-utils.d.ts +1 -3
- package/lib/_helpers/objectReference-utils.d.ts +6 -0
- package/lib/_helpers/semanticLink-utils.d.ts +9 -0
- package/lib/_helpers/tab-utils.d.ts +4 -0
- package/lib/_helpers/utils.d.ts +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +13 -1
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { OnInit,
|
|
2
|
-
import { AngularPConnectData, AngularPConnectService } from '../../../_bridge/angular-pconnect';
|
|
1
|
+
import { OnInit, EventEmitter } from '@angular/core';
|
|
3
2
|
import { PConnFieldProps } from '../../../_types/PConnProps.interface';
|
|
4
|
-
import {
|
|
3
|
+
import { FieldBase } from '../field.base';
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
6
5
|
interface SelectableCardProps extends PConnFieldProps {
|
|
7
6
|
selectionList: any;
|
|
@@ -17,26 +16,20 @@ interface SelectableCardProps extends PConnFieldProps {
|
|
|
17
16
|
showImageDescription?: boolean;
|
|
18
17
|
datasource?: any;
|
|
19
18
|
}
|
|
20
|
-
export declare class SelectableCardComponent implements OnInit
|
|
21
|
-
private angularPConnect;
|
|
22
|
-
private utils;
|
|
23
|
-
pConn$: typeof PConnect;
|
|
19
|
+
export declare class SelectableCardComponent extends FieldBase implements OnInit {
|
|
24
20
|
type: string;
|
|
25
21
|
valueChange: EventEmitter<any>;
|
|
26
|
-
angularPConnectData: AngularPConnectData;
|
|
27
22
|
configProps$: SelectableCardProps;
|
|
28
|
-
value$: any;
|
|
29
23
|
readOnly: boolean;
|
|
30
24
|
disabled: boolean;
|
|
31
|
-
displayMode$: string | undefined;
|
|
32
25
|
radioBtnValue: any;
|
|
33
26
|
additionalProps: any;
|
|
34
|
-
testId: any;
|
|
35
27
|
showNoValue: boolean;
|
|
36
28
|
selectionKey?: string;
|
|
37
29
|
defaultStyle: {};
|
|
38
30
|
specialStyle: {};
|
|
39
31
|
cardStyle: {};
|
|
32
|
+
noLabelStyle: {};
|
|
40
33
|
selectedvalues: any;
|
|
41
34
|
selectionList: any;
|
|
42
35
|
primaryField: string;
|
|
@@ -57,19 +50,13 @@ export declare class SelectableCardComponent implements OnInit, OnDestroy {
|
|
|
57
50
|
};
|
|
58
51
|
}
|
|
59
52
|
];
|
|
60
|
-
actionsApi: Object;
|
|
61
|
-
propName: string;
|
|
62
|
-
constructor(angularPConnect: AngularPConnectService, utils: Utils);
|
|
63
53
|
ngOnInit(): void;
|
|
64
|
-
ngOnDestroy(): void;
|
|
65
|
-
onStateChange(): void;
|
|
66
|
-
checkAndUpdate(): void;
|
|
67
54
|
updateSelf(): void;
|
|
68
55
|
fieldOnChange(value: any): void;
|
|
69
56
|
fieldOnBlur(): void;
|
|
70
57
|
handleChangeMultiMode(event: any, element: any): void;
|
|
71
58
|
cardSelect(event: any, element: any): void;
|
|
72
59
|
static ɵfac: i0.ɵɵFactoryDeclaration<SelectableCardComponent, never>;
|
|
73
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SelectableCardComponent, "lib-selectable-card", never, { "
|
|
60
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelectableCardComponent, "lib-selectable-card", never, { "type": { "alias": "type"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
74
61
|
}
|
|
75
62
|
export {};
|
|
@@ -6,6 +6,12 @@ import { PConnFieldProps } from '../../../_types/PConnProps.interface';
|
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
interface SemanticLinkProps extends PConnFieldProps {
|
|
8
8
|
text: string;
|
|
9
|
+
resourcePayload: any;
|
|
10
|
+
resourceParams: any;
|
|
11
|
+
previewKey: string;
|
|
12
|
+
referenceType: string;
|
|
13
|
+
dataRelationshipContext: string;
|
|
14
|
+
contextPage: any;
|
|
9
15
|
}
|
|
10
16
|
export declare class SemanticLinkComponent implements OnInit, OnDestroy {
|
|
11
17
|
private angularPConnect;
|
|
@@ -18,11 +24,26 @@ export declare class SemanticLinkComponent implements OnInit, OnDestroy {
|
|
|
18
24
|
value$: string;
|
|
19
25
|
displayMode$?: string;
|
|
20
26
|
bVisible$: boolean;
|
|
27
|
+
linkURL: string;
|
|
28
|
+
dataResourcePayLoad: any;
|
|
29
|
+
referenceType: string;
|
|
30
|
+
shouldTreatAsDataReference: boolean;
|
|
31
|
+
previewKey: string;
|
|
32
|
+
resourcePayload: any;
|
|
33
|
+
payload: object;
|
|
34
|
+
dataViewName: string;
|
|
35
|
+
isLinkTextEmpty: boolean;
|
|
21
36
|
constructor(angularPConnect: AngularPConnectService, utils: Utils);
|
|
22
37
|
ngOnInit(): void;
|
|
23
38
|
ngOnDestroy(): void;
|
|
24
39
|
onStateChange(): void;
|
|
40
|
+
checkAndUpdate(): void;
|
|
25
41
|
updateSelf(): void;
|
|
42
|
+
showDataAction(): void;
|
|
43
|
+
openLinkClick(e: any): void;
|
|
44
|
+
private initializeComponentState;
|
|
45
|
+
private buildDataPayload;
|
|
46
|
+
private buildLinkURL;
|
|
26
47
|
static ɵfac: i0.ɵɵFactoryDeclaration<SemanticLinkComponent, never>;
|
|
27
48
|
static ɵcmp: i0.ɵɵComponentDeclaration<SemanticLinkComponent, "app-semantic-link", never, { "pConn$": { "alias": "pConn$"; "required": false; }; "formGroup$": { "alias": "formGroup$"; "required": false; }; }, {}, never, never, true, never>;
|
|
28
49
|
}
|
|
@@ -1,46 +1,19 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { FormControl, FormGroup } from '@angular/forms';
|
|
3
|
-
import { AngularPConnectData, AngularPConnectService } from '../../../_bridge/angular-pconnect';
|
|
4
|
-
import { Utils } from '../../../_helpers/utils';
|
|
1
|
+
import { FieldBase } from '../field.base';
|
|
5
2
|
import { PConnFieldProps } from '../../../_types/PConnProps.interface';
|
|
6
3
|
import * as i0 from "@angular/core";
|
|
7
4
|
interface TextAreaProps extends PConnFieldProps {
|
|
8
5
|
fieldMetadata?: any;
|
|
9
6
|
}
|
|
10
|
-
export declare class TextAreaComponent
|
|
11
|
-
private angularPConnect;
|
|
12
|
-
private cdRef;
|
|
13
|
-
private utils;
|
|
14
|
-
pConn$: typeof PConnect;
|
|
15
|
-
formGroup$: FormGroup;
|
|
16
|
-
angularPConnectData: AngularPConnectData;
|
|
7
|
+
export declare class TextAreaComponent extends FieldBase {
|
|
17
8
|
configProps$: TextAreaProps;
|
|
18
|
-
label$: string;
|
|
19
|
-
value$: string;
|
|
20
|
-
bRequired$: boolean;
|
|
21
|
-
bReadonly$: boolean;
|
|
22
|
-
bDisabled$: boolean;
|
|
23
|
-
bVisible$: boolean;
|
|
24
9
|
nMaxLength$: number;
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
componentReference: string;
|
|
29
|
-
testId: string;
|
|
30
|
-
helperText: string;
|
|
31
|
-
fieldControl: FormControl<string | null>;
|
|
32
|
-
actionsApi: Object;
|
|
33
|
-
propName: string;
|
|
34
|
-
constructor(angularPConnect: AngularPConnectService, cdRef: ChangeDetectorRef, utils: Utils);
|
|
35
|
-
ngOnInit(): void;
|
|
36
|
-
ngOnDestroy(): void;
|
|
37
|
-
onStateChange(): void;
|
|
38
|
-
checkAndUpdate(): void;
|
|
10
|
+
/**
|
|
11
|
+
* Updates the component when there are changes in the state.
|
|
12
|
+
*/
|
|
39
13
|
updateSelf(): void;
|
|
40
14
|
fieldOnChange(event: any): void;
|
|
41
15
|
fieldOnBlur(event: any): void;
|
|
42
|
-
getErrorMessage(): string;
|
|
43
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<TextAreaComponent, never>;
|
|
44
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TextAreaComponent, "app-text-area", never, {
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TextAreaComponent, "app-text-area", never, {}, {}, never, never, true, never>;
|
|
45
18
|
}
|
|
46
19
|
export {};
|
|
@@ -1,46 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { FormControl, FormGroup } from '@angular/forms';
|
|
3
|
-
import { AngularPConnectService, AngularPConnectData } from '../../../_bridge/angular-pconnect';
|
|
4
|
-
import { Utils } from '../../../_helpers/utils';
|
|
1
|
+
import { FieldBase } from '../field.base';
|
|
5
2
|
import { PConnFieldProps } from '../../../_types/PConnProps.interface';
|
|
6
3
|
import * as i0 from "@angular/core";
|
|
7
4
|
interface TextInputProps extends PConnFieldProps {
|
|
8
5
|
fieldMetadata?: any;
|
|
9
6
|
}
|
|
10
|
-
export declare class TextInputComponent
|
|
11
|
-
private angularPConnect;
|
|
12
|
-
private cdRef;
|
|
13
|
-
private utils;
|
|
14
|
-
pConn$: typeof PConnect;
|
|
15
|
-
formGroup$: FormGroup;
|
|
16
|
-
angularPConnectData: AngularPConnectData;
|
|
7
|
+
export declare class TextInputComponent extends FieldBase {
|
|
17
8
|
configProps$: TextInputProps;
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
bReadonly$: boolean;
|
|
22
|
-
bDisabled$: boolean;
|
|
23
|
-
bVisible$: boolean;
|
|
24
|
-
displayMode$?: string;
|
|
25
|
-
controlName$: string;
|
|
26
|
-
testId: string;
|
|
27
|
-
bHasForm$: boolean;
|
|
28
|
-
componentReference: string;
|
|
29
|
-
helperText: string;
|
|
30
|
-
placeholder: string;
|
|
31
|
-
fieldControl: FormControl<string | null>;
|
|
32
|
-
actionsApi: Object;
|
|
33
|
-
propName: string;
|
|
34
|
-
constructor(angularPConnect: AngularPConnectService, cdRef: ChangeDetectorRef, utils: Utils);
|
|
35
|
-
ngOnInit(): void;
|
|
36
|
-
ngOnDestroy(): void;
|
|
37
|
-
onStateChange(): void;
|
|
38
|
-
checkAndUpdate(): void;
|
|
9
|
+
/**
|
|
10
|
+
* Updates the component when there are changes in the state.
|
|
11
|
+
*/
|
|
39
12
|
updateSelf(): void;
|
|
40
13
|
fieldOnChange(event: any): void;
|
|
41
14
|
fieldOnBlur(event: any): void;
|
|
42
|
-
getErrorMessage(): string;
|
|
43
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<TextInputComponent, never>;
|
|
44
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TextInputComponent, "app-text-input", never, {
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TextInputComponent, "app-text-input", never, {}, {}, never, never, true, never>;
|
|
45
17
|
}
|
|
46
18
|
export {};
|
|
@@ -1,46 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { FormControl, FormGroup } from '@angular/forms';
|
|
3
|
-
import { AngularPConnectData, AngularPConnectService } from '../../../_bridge/angular-pconnect';
|
|
4
|
-
import { Utils } from '../../../_helpers/utils';
|
|
1
|
+
import { FieldBase } from '../field.base';
|
|
5
2
|
import { PConnFieldProps } from '../../../_types/PConnProps.interface';
|
|
6
3
|
import * as i0 from "@angular/core";
|
|
7
4
|
interface TimeProps extends PConnFieldProps {
|
|
8
5
|
}
|
|
9
|
-
export declare class TimeComponent
|
|
10
|
-
private angularPConnect;
|
|
11
|
-
private cdRef;
|
|
12
|
-
private utils;
|
|
13
|
-
pConn$: typeof PConnect;
|
|
14
|
-
formGroup$: FormGroup;
|
|
15
|
-
angularPConnectData: AngularPConnectData;
|
|
6
|
+
export declare class TimeComponent extends FieldBase {
|
|
16
7
|
configProps$: TimeProps;
|
|
17
|
-
label$: string;
|
|
18
|
-
value$: string;
|
|
19
|
-
bRequired$: boolean;
|
|
20
|
-
bReadonly$: boolean;
|
|
21
|
-
bDisabled$: boolean;
|
|
22
|
-
bVisible$: boolean;
|
|
23
|
-
displayMode$?: string;
|
|
24
|
-
controlName$: string;
|
|
25
|
-
testId: string;
|
|
26
|
-
bHasForm$: boolean;
|
|
27
|
-
componentReference: string;
|
|
28
|
-
helperText: string;
|
|
29
|
-
placeholder: string;
|
|
30
|
-
fieldControl: FormControl<string | null>;
|
|
31
|
-
actionsApi: Object;
|
|
32
|
-
propName: string;
|
|
33
8
|
formattedValue$: any;
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
onStateChange(): void;
|
|
38
|
-
checkAndUpdate(): void;
|
|
9
|
+
/**
|
|
10
|
+
* Updates the component when there are changes in the state.
|
|
11
|
+
*/
|
|
39
12
|
updateSelf(): void;
|
|
40
13
|
fieldOnChange(event: any): void;
|
|
41
14
|
fieldOnBlur(event: any): void;
|
|
42
|
-
getErrorMessage(): string;
|
|
43
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<TimeComponent, never>;
|
|
44
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TimeComponent, "app-time", never, {
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TimeComponent, "app-time", never, {}, {}, never, never, true, never>;
|
|
45
17
|
}
|
|
46
18
|
export {};
|
|
@@ -1,45 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { FormControl, FormGroup } from '@angular/forms';
|
|
3
|
-
import { AngularPConnectData, AngularPConnectService } from '../../../_bridge/angular-pconnect';
|
|
4
|
-
import { Utils } from '../../../_helpers/utils';
|
|
1
|
+
import { FieldBase } from '../field.base';
|
|
5
2
|
import { PConnFieldProps } from '../../../_types/PConnProps.interface';
|
|
6
3
|
import * as i0 from "@angular/core";
|
|
7
4
|
interface URLProps extends PConnFieldProps {
|
|
8
5
|
}
|
|
9
|
-
export declare class UrlComponent
|
|
10
|
-
private angularPConnect;
|
|
11
|
-
private cdRef;
|
|
12
|
-
private utils;
|
|
13
|
-
pConn$: typeof PConnect;
|
|
14
|
-
formGroup$: FormGroup;
|
|
15
|
-
angularPConnectData: AngularPConnectData;
|
|
6
|
+
export declare class UrlComponent extends FieldBase {
|
|
16
7
|
configProps$: URLProps;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
bReadonly$: boolean;
|
|
21
|
-
bDisabled$: boolean;
|
|
22
|
-
bVisible$: boolean;
|
|
23
|
-
displayMode$?: string;
|
|
24
|
-
controlName$: string;
|
|
25
|
-
testId: string;
|
|
26
|
-
bHasForm$: boolean;
|
|
27
|
-
componentReference: string;
|
|
28
|
-
helperText: string;
|
|
29
|
-
placeholder: string;
|
|
30
|
-
fieldControl: FormControl<string | null>;
|
|
31
|
-
actionsApi: Object;
|
|
32
|
-
propName: string;
|
|
33
|
-
constructor(angularPConnect: AngularPConnectService, cdRef: ChangeDetectorRef, utils: Utils);
|
|
34
|
-
ngOnInit(): void;
|
|
35
|
-
ngOnDestroy(): void;
|
|
36
|
-
onStateChange(): void;
|
|
37
|
-
checkAndUpdate(): void;
|
|
8
|
+
/**
|
|
9
|
+
* Updates the component when there are changes in the state.
|
|
10
|
+
*/
|
|
38
11
|
updateSelf(): void;
|
|
39
12
|
fieldOnChange(event: any): void;
|
|
40
13
|
fieldOnBlur(event: any): void;
|
|
41
|
-
getErrorMessage(): string;
|
|
42
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<UrlComponent, never>;
|
|
43
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<UrlComponent, "app-url", never, {
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UrlComponent, "app-url", never, {}, {}, never, never, true, never>;
|
|
44
16
|
}
|
|
45
17
|
export {};
|
|
@@ -27,7 +27,7 @@ export declare class UserReferenceComponent implements OnInit, OnDestroy {
|
|
|
27
27
|
filteredOptions: Observable<any[]>;
|
|
28
28
|
filterValue: string;
|
|
29
29
|
fieldControl: FormControl<string | null>;
|
|
30
|
-
actionsApi:
|
|
30
|
+
actionsApi: object;
|
|
31
31
|
propName: string;
|
|
32
32
|
onRecordChange: any;
|
|
33
33
|
constructor(angularPConnect: AngularPConnectService, utils: Utils);
|
package/lib/_components/infra/Containers/modal-view-container/modal-view-container.component.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ export declare class ModalViewContainerComponent implements OnInit, OnDestroy {
|
|
|
17
17
|
modalVisibleChange: EventEmitter<boolean>;
|
|
18
18
|
angularPConnectData: AngularPConnectData;
|
|
19
19
|
arChildren$: any[];
|
|
20
|
-
stateProps$:
|
|
20
|
+
stateProps$: object;
|
|
21
21
|
banners: any;
|
|
22
22
|
templateName$: string;
|
|
23
23
|
buildName$: string;
|
|
@@ -26,7 +26,7 @@ export declare class ModalViewContainerComponent implements OnInit, OnDestroy {
|
|
|
26
26
|
bShowModal$: boolean;
|
|
27
27
|
itemKey$: string;
|
|
28
28
|
formGroup$: FormGroup;
|
|
29
|
-
oCaseInfo:
|
|
29
|
+
oCaseInfo: object;
|
|
30
30
|
updateToken$: number;
|
|
31
31
|
routingInfoRef: any;
|
|
32
32
|
createdViewPConn$: any;
|
|
@@ -45,9 +45,7 @@ export declare class ModalViewContainerComponent implements OnInit, OnDestroy {
|
|
|
45
45
|
updateSelf(): void;
|
|
46
46
|
createView(routingInfo: any, currentItem: any, latestItem: any, key: any): void;
|
|
47
47
|
hideModal(): void;
|
|
48
|
-
getConfigObject(item: any, pConnect: any, isReverseCoexistence?: boolean):
|
|
49
|
-
getPConnect: () => import("@pega/pcore-pconnect-typedefs/interpreter/c11n-env").C11nEnv;
|
|
50
|
-
} | null;
|
|
48
|
+
getConfigObject(item: any, pConnect: any, isReverseCoexistence?: boolean): import("@pega/pcore-pconnect-typedefs/interpreter/types").CreateC11nEnv | null;
|
|
51
49
|
checkIfRefComponent(thePConn: any): boolean;
|
|
52
50
|
onAlertState(bData: boolean): void;
|
|
53
51
|
showAlert(payload: any): void;
|
|
@@ -59,7 +57,7 @@ export declare class ModalViewContainerComponent implements OnInit, OnDestroy {
|
|
|
59
57
|
key?: undefined;
|
|
60
58
|
latestItem?: undefined;
|
|
61
59
|
};
|
|
62
|
-
compareCaseInfoIsDifferent(oCurrentCaseInfo:
|
|
60
|
+
compareCaseInfoIsDifferent(oCurrentCaseInfo: object): boolean;
|
|
63
61
|
getBanners(): any;
|
|
64
62
|
getModalHeading(dataObjectAction: any): any;
|
|
65
63
|
determineModalHeaderByAction(actionName: any, caseTypeName: any, ID: any, caseLocaleRef: any): any;
|
|
@@ -4,7 +4,7 @@ export declare class ActionButtonsComponent {
|
|
|
4
4
|
arMainButtons$: any[];
|
|
5
5
|
arSecondaryButtons$: any[];
|
|
6
6
|
actionButtonClick: EventEmitter<any>;
|
|
7
|
-
localizedVal: (localeKey: string, localePath?: string, localeRuleKey?: string, componentName?: string | null) => string;
|
|
7
|
+
localizedVal: (localeKey: string, localePath?: string, localeRuleKey?: string | null, componentName?: string | null) => string;
|
|
8
8
|
localeCategory: string;
|
|
9
9
|
buttonClick(sAction: any, sButtonType: any): void;
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<ActionButtonsComponent, never>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OnInit,
|
|
1
|
+
import { OnInit, OnDestroy, OnChanges } from '@angular/core';
|
|
2
2
|
import { MatSnackBar } from '@angular/material/snack-bar';
|
|
3
3
|
import { FormGroup } from '@angular/forms';
|
|
4
4
|
import { AngularPConnectData, AngularPConnectService } from '../../../_bridge/angular-pconnect';
|
|
@@ -13,7 +13,6 @@ export declare class AssignmentComponent implements OnInit, OnDestroy, OnChanges
|
|
|
13
13
|
private angularPConnect;
|
|
14
14
|
private psService;
|
|
15
15
|
private erService;
|
|
16
|
-
private ngZone;
|
|
17
16
|
private snackBar;
|
|
18
17
|
bannerService: BannerService;
|
|
19
18
|
pConn$: typeof PConnect;
|
|
@@ -34,6 +33,7 @@ export declare class AssignmentComponent implements OnInit, OnDestroy, OnChanges
|
|
|
34
33
|
actionsAPI: any;
|
|
35
34
|
bHasNavigation$: boolean;
|
|
36
35
|
bIsVertical$: boolean;
|
|
36
|
+
prevNavigationSteps: any[];
|
|
37
37
|
arCurrentStepIndicies$: number[];
|
|
38
38
|
arNavigationSteps$: any[];
|
|
39
39
|
init: boolean;
|
|
@@ -50,7 +50,7 @@ export declare class AssignmentComponent implements OnInit, OnDestroy, OnChanges
|
|
|
50
50
|
localeCategory: string;
|
|
51
51
|
localeReference: any;
|
|
52
52
|
snackBarRef: any;
|
|
53
|
-
constructor(angularPConnect: AngularPConnectService, psService: ProgressSpinnerService, erService: ErrorMessagesService,
|
|
53
|
+
constructor(angularPConnect: AngularPConnectService, psService: ProgressSpinnerService, erService: ErrorMessagesService, snackBar: MatSnackBar, bannerService: BannerService);
|
|
54
54
|
ngOnInit(): void;
|
|
55
55
|
ngOnDestroy(): void;
|
|
56
56
|
onStateChange(): void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OnInit, EventEmitter, OnChanges } from '@angular/core';
|
|
1
|
+
import { OnInit, EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { FormGroup } from '@angular/forms';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class AssignmentCardComponent implements OnInit, OnChanges {
|
|
@@ -8,9 +8,10 @@ export declare class AssignmentCardComponent implements OnInit, OnChanges {
|
|
|
8
8
|
arSecondaryButtons$: any[];
|
|
9
9
|
arChildren$: any[];
|
|
10
10
|
updateToken$: number;
|
|
11
|
+
childrenArray: any[];
|
|
11
12
|
actionButtonClick: EventEmitter<any>;
|
|
12
13
|
ngOnInit(): void;
|
|
13
|
-
ngOnChanges(): void;
|
|
14
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
14
15
|
onActionButtonClick(oData: any): void;
|
|
15
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<AssignmentCardComponent, never>;
|
|
16
17
|
static ɵcmp: i0.ɵɵComponentDeclaration<AssignmentCardComponent, "app-assignment-card", never, { "pConn$": { "alias": "pConn$"; "required": false; }; "formGroup$": { "alias": "formGroup$"; "required": false; }; "arMainButtons$": { "alias": "arMainButtons$"; "required": false; }; "arSecondaryButtons$": { "alias": "arSecondaryButtons$"; "required": false; }; "arChildren$": { "alias": "arChildren$"; "required": false; }; "updateToken$": { "alias": "updateToken$"; "required": false; }; }, { "actionButtonClick": "actionButtonClick"; }, never, never, true, never>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OnInit, OnDestroy, OnChanges } from '@angular/core';
|
|
1
|
+
import { OnInit, OnDestroy, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { publicConstants } from '@pega/pcore-pconnect-typedefs/constants';
|
|
3
3
|
import { AngularPConnectData, AngularPConnectService } from '../../../_bridge/angular-pconnect';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
@@ -10,10 +10,9 @@ import * as i0 from "@angular/core";
|
|
|
10
10
|
export declare class DeferLoadComponent implements OnInit, OnDestroy, OnChanges {
|
|
11
11
|
private angularPConnect;
|
|
12
12
|
pConn$: typeof PConnect;
|
|
13
|
-
|
|
13
|
+
formGroup$: any;
|
|
14
14
|
name: any;
|
|
15
|
-
|
|
16
|
-
loadedPConn$: any;
|
|
15
|
+
childComponentPConnect: typeof PConnect;
|
|
17
16
|
bShowDefer$: boolean;
|
|
18
17
|
angularPConnectData: AngularPConnectData;
|
|
19
18
|
constants: typeof publicConstants;
|
|
@@ -31,7 +30,8 @@ export declare class DeferLoadComponent implements OnInit, OnDestroy, OnChanges
|
|
|
31
30
|
ngOnInit(): void;
|
|
32
31
|
ngOnDestroy(): void;
|
|
33
32
|
onStateChange(): void;
|
|
34
|
-
ngOnChanges(): void;
|
|
33
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
34
|
+
updateSelf(): void;
|
|
35
35
|
getViewOptions: () => {
|
|
36
36
|
viewContext: any;
|
|
37
37
|
pageClass: any;
|
|
@@ -42,5 +42,5 @@ export declare class DeferLoadComponent implements OnInit, OnDestroy, OnChanges
|
|
|
42
42
|
onResponse(data: any): void;
|
|
43
43
|
loadActiveTab(): void;
|
|
44
44
|
static ɵfac: i0.ɵɵFactoryDeclaration<DeferLoadComponent, never>;
|
|
45
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DeferLoadComponent, "app-defer-load", never, { "pConn$": { "alias": "pConn$"; "required": false; }; "
|
|
45
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DeferLoadComponent, "app-defer-load", never, { "pConn$": { "alias": "pConn$"; "required": false; }; "formGroup$": { "alias": "formGroup$"; "required": false; }; "name": { "alias": "name"; "required": false; }; }, {}, never, never, true, never>;
|
|
46
46
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class ErrorBoundaryComponent {
|
|
3
3
|
message: string;
|
|
4
|
-
localizedVal: (localeKey: string, localePath?: string, localeRuleKey?: string, componentName?: string | null) => string;
|
|
4
|
+
localizedVal: (localeKey: string, localePath?: string, localeRuleKey?: string | null, componentName?: string | null) => string;
|
|
5
5
|
localeCategory: string;
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<ErrorBoundaryComponent, never>;
|
|
7
7
|
static ɵcmp: i0.ɵɵComponentDeclaration<ErrorBoundaryComponent, "app-error-boundary", never, { "message": { "alias": "message"; "required": false; }; }, {}, never, never, true, never>;
|
|
@@ -34,7 +34,6 @@ export declare class NavbarComponent implements OnInit, OnDestroy {
|
|
|
34
34
|
localizedVal: any;
|
|
35
35
|
localeCategory: string;
|
|
36
36
|
localeUtils: import("@pega/pcore-pconnect-typedefs/locale/locale-utils").LocaleUtils;
|
|
37
|
-
localeReference: any;
|
|
38
37
|
constructor(angularPConnect: AngularPConnectService, chRef: ChangeDetectorRef, psService: ProgressSpinnerService, ngZone: NgZone, utils: Utils);
|
|
39
38
|
ngOnInit(): void;
|
|
40
39
|
ngOnDestroy(): void;
|
|
@@ -15,7 +15,8 @@ export declare class StagesComponent implements OnInit, OnDestroy {
|
|
|
15
15
|
arStageResults$: any[];
|
|
16
16
|
lastStage$: any;
|
|
17
17
|
checkSvgIcon$: string;
|
|
18
|
-
key:
|
|
18
|
+
key: any;
|
|
19
|
+
localizationService: any;
|
|
19
20
|
constructor(angularPConnect: AngularPConnectService, utils: Utils);
|
|
20
21
|
ngOnInit(): void;
|
|
21
22
|
ngOnDestroy(): void;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { OnInit, OnChanges } from '@angular/core';
|
|
2
|
+
import { FormGroup } from '@angular/forms';
|
|
3
|
+
import { DataReferenceAdvancedSearchService } from '../data-reference/data-reference-advanced-search.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class AdvancedSearchComponent implements OnInit, OnChanges {
|
|
6
|
+
private advancedSearchService;
|
|
7
|
+
pConn$: typeof PConnect;
|
|
8
|
+
formGroup$: FormGroup;
|
|
9
|
+
searchSelectCacheKey: any;
|
|
10
|
+
isInitialized: boolean;
|
|
11
|
+
configProps$: any;
|
|
12
|
+
showRecords: any;
|
|
13
|
+
searchGroupsProps: any;
|
|
14
|
+
editableFieldComp: any;
|
|
15
|
+
constructor(advancedSearchService: DataReferenceAdvancedSearchService);
|
|
16
|
+
ngOnInit(): void;
|
|
17
|
+
ngOnChanges(): void;
|
|
18
|
+
updateSelf(): void;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AdvancedSearchComponent, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AdvancedSearchComponent, "app-advanced-search", never, { "pConn$": { "alias": "pConn$"; "required": false; }; "formGroup$": { "alias": "formGroup$"; "required": false; }; "searchSelectCacheKey": { "alias": "searchSelectCacheKey"; "required": false; }; }, {}, never, never, true, never>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export declare function getMappedKey(key: any): any;
|
|
2
|
+
declare const getComponentStateOptions: (getPConnect: any) => {
|
|
3
|
+
clearOnCancelForContext: any;
|
|
4
|
+
};
|
|
5
|
+
interface SearchCategory {
|
|
6
|
+
selectedCategory: string;
|
|
7
|
+
}
|
|
8
|
+
interface SearchGroup {
|
|
9
|
+
searchFields: unknown;
|
|
10
|
+
activeGroupId: string;
|
|
11
|
+
}
|
|
12
|
+
export declare const componentCachePersistUtils: {
|
|
13
|
+
getComponentStateKey: (getPConnect: any, propertyName: string) => string;
|
|
14
|
+
getComponentStateOptions: (getPConnect: any) => {
|
|
15
|
+
clearOnCancelForContext: any;
|
|
16
|
+
};
|
|
17
|
+
setComponentCache: ({ cacheKey, state, options }: {
|
|
18
|
+
cacheKey: string;
|
|
19
|
+
state: SearchCategory | SearchGroup;
|
|
20
|
+
options: ReturnType<typeof getComponentStateOptions>;
|
|
21
|
+
}) => void;
|
|
22
|
+
};
|
|
23
|
+
export {};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { OnInit, OnDestroy, OnChanges, ChangeDetectorRef } from '@angular/core';
|
|
2
|
+
import { FormGroup } from '@angular/forms';
|
|
3
|
+
import { Subscription } from 'rxjs';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare function flattenObj(obj: any): any;
|
|
6
|
+
export declare const initializeSearchFields: (searchFields: any, getPConnect: any, referenceListClassID: any, searchFieldRestoreValues?: {}) => {};
|
|
7
|
+
export declare class SearchGroupsComponent implements OnInit, OnDestroy, OnChanges {
|
|
8
|
+
private cdRef;
|
|
9
|
+
pConn$: typeof PConnect;
|
|
10
|
+
formGroup$: FormGroup;
|
|
11
|
+
searchGroupsProps: any;
|
|
12
|
+
configProps$: any;
|
|
13
|
+
cache: any;
|
|
14
|
+
previousFormValues: any;
|
|
15
|
+
isValidatorField: any;
|
|
16
|
+
searchSelectCacheKey: any;
|
|
17
|
+
activeGroupId: string;
|
|
18
|
+
getPConnect: any;
|
|
19
|
+
searchFields: any;
|
|
20
|
+
referenceListClassID: any;
|
|
21
|
+
transientItemID: any;
|
|
22
|
+
useCache: boolean;
|
|
23
|
+
searchFieldsC11nEnv: any;
|
|
24
|
+
referenceFieldName: any;
|
|
25
|
+
viewName: any;
|
|
26
|
+
subs: Subscription[];
|
|
27
|
+
localizedVal: (localeKey: string, localePath?: string, localeRuleKey?: string | null, componentName?: string | null) => string;
|
|
28
|
+
setShowRecords: any;
|
|
29
|
+
groups: any;
|
|
30
|
+
state: any;
|
|
31
|
+
rawGroupsConfig: any;
|
|
32
|
+
initialSearchFields: {};
|
|
33
|
+
constructor(cdRef: ChangeDetectorRef);
|
|
34
|
+
ngOnInit(): void;
|
|
35
|
+
ngOnChanges(): void;
|
|
36
|
+
updateSelf(): void;
|
|
37
|
+
createSearchFields(): void;
|
|
38
|
+
getFilterData(): void;
|
|
39
|
+
resetFilterData(): void;
|
|
40
|
+
/** NEW: update existing transient data when active group changes */
|
|
41
|
+
updateTransientDataForActiveGroup(): void;
|
|
42
|
+
onActiveGroupChange(event: any): void;
|
|
43
|
+
private setupCacheReplayOnListViewReady;
|
|
44
|
+
ngOnDestroy(): void;
|
|
45
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SearchGroupsComponent, never>;
|
|
46
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SearchGroupsComponent, "app-search-groups", never, { "pConn$": { "alias": "pConn$"; "required": false; }; "formGroup$": { "alias": "formGroup$"; "required": false; }; "searchGroupsProps": { "alias": "searchGroupsProps"; "required": false; }; }, {}, never, never, true, never>;
|
|
47
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare function getCacheInfo(cache: {
|
|
2
|
+
selectedCategory: string;
|
|
3
|
+
activeGroupId: string;
|
|
4
|
+
searchFields: unknown;
|
|
5
|
+
}, groups: {
|
|
6
|
+
config: {
|
|
7
|
+
id: string;
|
|
8
|
+
};
|
|
9
|
+
}[]): {
|
|
10
|
+
useCache: boolean;
|
|
11
|
+
initialActiveGroupId: string;
|
|
12
|
+
};
|
|
13
|
+
export declare function isValidInput(input: {
|
|
14
|
+
[s: string]: unknown;
|
|
15
|
+
}): boolean;
|
|
@@ -3,6 +3,7 @@ import { MatSnackBar } from '@angular/material/snack-bar';
|
|
|
3
3
|
import { Subscription } from 'rxjs';
|
|
4
4
|
import { AngularPConnectData, AngularPConnectService } from '../../../_bridge/angular-pconnect';
|
|
5
5
|
import { ErrorMessagesService } from '../../../_messages/error-messages.service';
|
|
6
|
+
import { Utils } from '../../../_helpers/utils';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
8
|
interface IPage {
|
|
8
9
|
classID: string;
|
|
@@ -20,13 +21,14 @@ interface AppShellProps {
|
|
|
20
21
|
portalTemplate: string;
|
|
21
22
|
readOnly?: boolean;
|
|
22
23
|
showAppHeaderBar: boolean;
|
|
23
|
-
showAppName:
|
|
24
|
+
showAppName: any;
|
|
24
25
|
}
|
|
25
26
|
export declare class AppShellComponent implements OnInit, OnDestroy {
|
|
26
27
|
private angularPConnect;
|
|
27
28
|
private erService;
|
|
28
29
|
private snackBar;
|
|
29
30
|
private ngZone;
|
|
31
|
+
private utils;
|
|
30
32
|
pConn$: typeof PConnect;
|
|
31
33
|
angularPConnectData: AngularPConnectData;
|
|
32
34
|
configProps$: AppShellProps;
|
|
@@ -41,7 +43,9 @@ export declare class AppShellComponent implements OnInit, OnDestroy {
|
|
|
41
43
|
bOkDisplayError: boolean;
|
|
42
44
|
portalTemplate: string;
|
|
43
45
|
links: any;
|
|
44
|
-
|
|
46
|
+
imageURL: string | Blob;
|
|
47
|
+
localizedVal: (localeKey: string, localePath?: string, localeRuleKey?: string | null, componentName?: string | null) => string;
|
|
48
|
+
constructor(angularPConnect: AngularPConnectService, erService: ErrorMessagesService, snackBar: MatSnackBar, ngZone: NgZone, utils: Utils);
|
|
45
49
|
ngOnInit(): void;
|
|
46
50
|
ngOnDestroy(): void;
|
|
47
51
|
onStateChange(): void;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class DataReferenceAdvancedSearchService {
|
|
3
|
+
private configSubject;
|
|
4
|
+
config$: import("rxjs").Observable<null>;
|
|
5
|
+
setConfig(config: any): void;
|
|
6
|
+
getConfig(): null;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DataReferenceAdvancedSearchService, never>;
|
|
8
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DataReferenceAdvancedSearchService>;
|
|
9
|
+
}
|