@pega/angular-sdk-components 0.23.7 → 0.24.2
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/_bridge/angular-pconnect.mjs +18 -6
- package/esm2022/lib/_bridge/component-mapper/component-mapper.component.mjs +4 -4
- package/esm2022/lib/_bridge/helpers/sdk-pega-component-map.mjs +3 -1
- package/esm2022/lib/_bridge/helpers/sdk_component_map.mjs +1 -1
- package/esm2022/lib/_components/designSystemExtension/alert/alert.component.mjs +4 -4
- package/esm2022/lib/_components/designSystemExtension/alert-banner/alert-banner.component.mjs +4 -4
- package/esm2022/lib/_components/designSystemExtension/banner/banner.component.mjs +4 -4
- package/esm2022/lib/_components/designSystemExtension/case-create-stage/case-create-stage.component.mjs +5 -5
- package/esm2022/lib/_components/designSystemExtension/field-group/field-group.component.mjs +3 -3
- package/esm2022/lib/_components/designSystemExtension/material-case-summary/material-case-summary.component.mjs +9 -6
- package/esm2022/lib/_components/designSystemExtension/material-details/material-details.component.mjs +5 -5
- package/esm2022/lib/_components/designSystemExtension/material-details-fields/material-details-fields.component.mjs +5 -5
- package/esm2022/lib/_components/designSystemExtension/material-summary-item/material-summary-item.component.mjs +5 -5
- package/esm2022/lib/_components/designSystemExtension/material-summary-list/material-summary-list.component.mjs +4 -4
- package/esm2022/lib/_components/designSystemExtension/material-utility/material-utility.component.mjs +5 -5
- package/esm2022/lib/_components/designSystemExtension/material-vertical-tabs/material-vertical-tabs.component.mjs +5 -5
- package/esm2022/lib/_components/designSystemExtension/operator/operator.component.mjs +12 -8
- package/esm2022/lib/_components/designSystemExtension/pulse/pulse.component.mjs +4 -4
- package/esm2022/lib/_components/designSystemExtension/rich-text-editor/rich-text-editor.component.mjs +4 -4
- package/esm2022/lib/_components/designSystemExtension/wss-quick-create/wss-quick-create.component.mjs +3 -3
- package/esm2022/lib/_components/field/auto-complete/auto-complete.component.mjs +5 -5
- package/esm2022/lib/_components/field/cancel-alert/cancel-alert.component.mjs +5 -5
- package/esm2022/lib/_components/field/check-box/check-box.component.mjs +110 -45
- package/esm2022/lib/_components/field/currency/currency.component.mjs +32 -17
- package/esm2022/lib/_components/field/date/date.component.mjs +6 -6
- package/esm2022/lib/_components/field/date-time/date-time.component.mjs +14 -43
- package/esm2022/lib/_components/field/decimal/decimal.component.mjs +37 -10
- package/esm2022/lib/_components/field/dropdown/dropdown.component.mjs +5 -5
- package/esm2022/lib/_components/field/email/email.component.mjs +5 -5
- package/esm2022/lib/_components/field/group/group.component.mjs +5 -5
- package/esm2022/lib/_components/field/integer/integer.component.mjs +5 -5
- package/esm2022/lib/_components/field/list-view-action-buttons/list-view-action-buttons.component.mjs +3 -3
- package/esm2022/lib/_components/field/multiselect/multiselect.component.mjs +311 -0
- package/esm2022/lib/_components/field/multiselect/utils.mjs +187 -0
- package/esm2022/lib/_components/field/percentage/percentage.component.mjs +25 -8
- package/esm2022/lib/_components/field/phone/phone.component.mjs +5 -5
- package/esm2022/lib/_components/field/radio-buttons/radio-buttons.component.mjs +5 -5
- package/esm2022/lib/_components/field/rich-text/rich-text.component.mjs +5 -5
- package/esm2022/lib/_components/field/scalar-list/scalar-list.component.mjs +5 -5
- package/esm2022/lib/_components/field/semantic-link/semantic-link.component.mjs +5 -5
- package/esm2022/lib/_components/field/text/text.component.mjs +5 -5
- package/esm2022/lib/_components/field/text-area/text-area.component.mjs +5 -5
- package/esm2022/lib/_components/field/text-content/text-content.component.mjs +5 -5
- package/esm2022/lib/_components/field/text-input/text-input.component.mjs +5 -5
- package/esm2022/lib/_components/field/time/time.component.mjs +5 -5
- package/esm2022/lib/_components/field/url/url.component.mjs +5 -5
- package/esm2022/lib/_components/field/user-reference/user-reference.component.mjs +38 -26
- package/esm2022/lib/_components/infra/Containers/flow-container/flow-container.component.mjs +19 -12
- package/esm2022/lib/_components/infra/Containers/flow-container/helpers.mjs +1 -1
- package/esm2022/lib/_components/infra/Containers/hybrid-view-container/hybrid-view-container.component.mjs +3 -3
- package/esm2022/lib/_components/infra/Containers/modal-view-container/modal-view-container.component.mjs +5 -5
- package/esm2022/lib/_components/infra/Containers/preview-view-container/preview-view-container.component.mjs +3 -3
- package/esm2022/lib/_components/infra/Containers/view-container/view-container.component.mjs +5 -5
- package/esm2022/lib/_components/infra/action-buttons/action-buttons.component.mjs +3 -3
- package/esm2022/lib/_components/infra/assignment/assignment.component.mjs +27 -6
- package/esm2022/lib/_components/infra/assignment-card/assignment-card.component.mjs +4 -4
- package/esm2022/lib/_components/infra/dashboard-filter/dashboard-filter.component.mjs +5 -5
- package/esm2022/lib/_components/infra/defer-load/defer-load.component.mjs +5 -5
- package/esm2022/lib/_components/infra/error-boundary/error-boundary.component.mjs +3 -3
- package/esm2022/lib/_components/infra/multi-step/multi-step.component.mjs +6 -6
- package/esm2022/lib/_components/infra/navbar/navbar.component.mjs +12 -7
- package/esm2022/lib/_components/infra/reference/reference.component.mjs +5 -5
- package/esm2022/lib/_components/infra/region/region.component.mjs +4 -4
- package/esm2022/lib/_components/infra/root-container/root-container.component.mjs +5 -5
- package/esm2022/lib/_components/infra/stages/stages.component.mjs +5 -5
- package/esm2022/lib/_components/infra/view/view.component.mjs +5 -5
- package/esm2022/lib/_components/template/app-shell/app-shell.component.mjs +5 -5
- package/esm2022/lib/_components/template/banner-page/banner-page.component.mjs +5 -5
- package/esm2022/lib/_components/template/case-summary/case-summary.component.mjs +38 -9
- package/esm2022/lib/_components/template/case-view/case-view.component.mjs +6 -6
- package/esm2022/lib/_components/template/confirmation/confirmation.component.mjs +5 -5
- package/esm2022/lib/_components/template/data-reference/data-reference.component.mjs +5 -5
- package/esm2022/lib/_components/template/default-form/default-form.component.mjs +5 -5
- package/esm2022/lib/_components/template/details/details.component.mjs +5 -5
- package/esm2022/lib/_components/template/details-narrow-wide/details-narrow-wide.component.mjs +5 -5
- package/esm2022/lib/_components/template/details-one-column/details-one-column.component.mjs +5 -5
- package/esm2022/lib/_components/template/details-sub-tabs/details-sub-tabs.component.mjs +5 -5
- package/esm2022/lib/_components/template/details-three-column/details-three-column.component.mjs +5 -5
- package/esm2022/lib/_components/template/details-two-column/details-two-column.component.mjs +5 -5
- package/esm2022/lib/_components/template/details-wide-narrow/details-wide-narrow.component.mjs +5 -5
- package/esm2022/lib/_components/template/dynamic-tabs/dynamic-tabs.component.mjs +5 -5
- package/esm2022/lib/_components/template/field-group-list/field-group-list.component.mjs +4 -4
- package/esm2022/lib/_components/template/field-group-template/field-group-template.component.mjs +5 -5
- package/esm2022/lib/_components/template/field-value-list/field-value-list.component.mjs +3 -3
- package/esm2022/lib/_components/template/inline-dashboard/inline-dashboard.component.mjs +4 -4
- package/esm2022/lib/_components/template/inline-dashboard-page/inline-dashboard-page.component.mjs +5 -5
- package/esm2022/lib/_components/template/list-page/list-page.component.mjs +4 -4
- package/esm2022/lib/_components/template/list-view/DefaultViewMeta.mjs +1 -1
- package/esm2022/lib/_components/template/list-view/list-view.component.mjs +6 -6
- package/esm2022/lib/_components/template/list-view/listViewHelpers.mjs +1 -1
- package/esm2022/lib/_components/template/list-view/utils.mjs +1 -1
- package/esm2022/lib/_components/template/multi-reference-readonly/multi-reference-readonly.component.mjs +5 -5
- package/esm2022/lib/_components/template/narrow-wide-form/narrow-wide-form.component.mjs +4 -4
- package/esm2022/lib/_components/template/one-column/one-column.component.mjs +4 -4
- package/esm2022/lib/_components/template/one-column-page/one-column-page.component.mjs +4 -4
- package/esm2022/lib/_components/template/one-column-tab/one-column-tab.component.mjs +4 -4
- package/esm2022/lib/_components/template/page/page.component.mjs +5 -5
- package/esm2022/lib/_components/template/promoted-filters/promoted-filters.component.mjs +5 -5
- package/esm2022/lib/_components/template/repeating-structures/repeating-structures.component.mjs +5 -5
- package/esm2022/lib/_components/template/simple-table/simple-table.component.mjs +5 -5
- package/esm2022/lib/_components/template/simple-table-manual/helpers.mjs +1 -1
- package/esm2022/lib/_components/template/simple-table-manual/simple-table-manual.component.mjs +6 -6
- package/esm2022/lib/_components/template/simple-table-select/simple-table-select.component.mjs +5 -5
- package/esm2022/lib/_components/template/single-reference-readonly/single-reference-readonly.component.mjs +4 -4
- package/esm2022/lib/_components/template/sub-tabs/sub-tabs.component.mjs +5 -5
- package/esm2022/lib/_components/template/three-column/three-column.component.mjs +4 -4
- package/esm2022/lib/_components/template/three-column-page/three-column-page.component.mjs +4 -4
- package/esm2022/lib/_components/template/two-column/two-column.component.mjs +4 -4
- package/esm2022/lib/_components/template/two-column-page/two-column-page.component.mjs +5 -5
- package/esm2022/lib/_components/template/two-column-tab/two-column-tab.component.mjs +4 -4
- package/esm2022/lib/_components/template/utils.mjs +1 -1
- package/esm2022/lib/_components/template/wide-narrow-form/wide-narrow-form.component.mjs +4 -4
- package/esm2022/lib/_components/template/wide-narrow-page/wide-narrow-page.component.mjs +5 -5
- package/esm2022/lib/_components/template/wss-nav-bar/wss-nav-bar.component.mjs +8 -6
- package/esm2022/lib/_components/widget/app-announcement/app-announcement.component.mjs +4 -4
- package/esm2022/lib/_components/widget/attachment/attachment.component.mjs +10 -6
- package/esm2022/lib/_components/widget/case-history/case-history.component.mjs +6 -6
- package/esm2022/lib/_components/widget/feed-container/feed-container.component.mjs +5 -5
- package/esm2022/lib/_components/widget/file-utility/file-utility.component.mjs +18 -18
- package/esm2022/lib/_components/widget/list-utility/list-utility.component.mjs +6 -6
- package/esm2022/lib/_components/widget/quick-create/quick-create.component.mjs +5 -5
- package/esm2022/lib/_components/widget/todo/todo.component.mjs +6 -6
- package/esm2022/lib/_components/widget/utility/utility.component.mjs +5 -5
- package/esm2022/lib/_directives/thousand-seperator.directive.mjs +6 -9
- package/esm2022/lib/_helpers/case-utils.mjs +1 -1
- package/esm2022/lib/_helpers/currency-utils.mjs +1 -1
- package/esm2022/lib/_helpers/event-util.mjs +1 -1
- package/esm2022/lib/_helpers/field-group-utils.mjs +1 -1
- package/esm2022/lib/_helpers/filter-utils.mjs +1 -1
- package/esm2022/lib/_helpers/formatters/boolean.mjs +1 -1
- package/esm2022/lib/_helpers/formatters/currency.mjs +1 -1
- package/esm2022/lib/_helpers/formatters/date.mjs +1 -1
- package/esm2022/lib/_helpers/formatters/format-utils.mjs +1 -1
- package/esm2022/lib/_helpers/formatters/index.mjs +1 -1
- package/esm2022/lib/_helpers/instructions-utils.mjs +36 -0
- package/esm2022/lib/_helpers/tab-utils.mjs +1 -1
- package/esm2022/lib/_helpers/template-utils.mjs +4 -4
- package/esm2022/lib/_helpers/utils.mjs +6 -6
- package/esm2022/lib/_messages/error-messages.service.mjs +3 -3
- package/esm2022/lib/_messages/get-login-status.service.mjs +3 -3
- package/esm2022/lib/_messages/oauth-response.service.mjs +3 -3
- package/esm2022/lib/_messages/progress-spinner.service.mjs +3 -3
- package/esm2022/lib/_messages/reset-pconnect.service.mjs +3 -3
- package/esm2022/lib/_messages/update-worklist.service.mjs +3 -3
- package/esm2022/lib/_services/case.service.mjs +4 -4
- package/esm2022/lib/_services/datapage.service.mjs +5 -5
- package/esm2022/lib/_services/server-config.service.mjs +3 -3
- package/esm2022/public-api.mjs +2 -1
- package/fesm2022/pega-angular-sdk-components.mjs +1342 -651
- package/fesm2022/pega-angular-sdk-components.mjs.map +1 -1
- package/lib/_bridge/angular-pconnect.d.ts +2 -0
- package/lib/_bridge/helpers/sdk-pega-component-map.d.ts +2 -0
- package/lib/_components/designSystemExtension/material-case-summary/material-case-summary.component.d.ts +2 -0
- package/lib/_components/designSystemExtension/operator/operator.component.d.ts +2 -1
- package/lib/_components/field/check-box/check-box.component.d.ts +18 -0
- package/lib/_components/field/currency/currency.component.d.ts +4 -5
- package/lib/_components/field/date-time/date-time.component.d.ts +0 -1
- package/lib/_components/field/decimal/decimal.component.d.ts +9 -1
- package/lib/_components/field/multiselect/multiselect.component.d.ts +64 -0
- package/lib/_components/field/multiselect/utils.d.ts +8 -0
- package/lib/_components/field/percentage/percentage.component.d.ts +4 -0
- package/lib/_components/field/user-reference/user-reference.component.d.ts +9 -4
- package/lib/_components/infra/assignment/assignment.component.d.ts +2 -0
- package/lib/_components/infra/navbar/navbar.component.d.ts +2 -0
- package/lib/_components/template/case-summary/case-summary.component.d.ts +2 -0
- package/lib/_components/template/wss-nav-bar/wss-nav-bar.component.d.ts +2 -0
- package/lib/_components/widget/attachment/attachment.component.d.ts +4 -0
- package/lib/_components/widget/file-utility/file-utility.component.d.ts +1 -1
- package/lib/_helpers/instructions-utils.d.ts +4 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
|
@@ -93,6 +93,8 @@ export declare class AngularPConnectService {
|
|
|
93
93
|
* actions: any actions that are defined for this object
|
|
94
94
|
*/
|
|
95
95
|
registerAndSubscribeComponent(inComp: any, inCallback?: Function | null): AngularPConnectData;
|
|
96
|
+
addFormField(inComp: any): void;
|
|
97
|
+
removeFormField(inComp: any): void;
|
|
96
98
|
/**
|
|
97
99
|
* Returns **true** if the component's entry in ___componentPropsArr___ is
|
|
98
100
|
* the same as the properties that are current associated with the component (___inComp___) passed in.
|
|
@@ -63,6 +63,7 @@ import { InlineDashboardPageComponent } from '../../_components/template/inline-
|
|
|
63
63
|
import { ListPageComponent } from '../../_components/template/list-page/list-page.component';
|
|
64
64
|
import { ListViewComponent } from '../../_components/template/list-view/list-view.component';
|
|
65
65
|
import { MultiReferenceReadonlyComponent } from '../../_components/template/multi-reference-readonly/multi-reference-readonly.component';
|
|
66
|
+
import { MultiselectComponent } from '../../_components/field/multiselect/multiselect.component';
|
|
66
67
|
import { NarrowWideFormComponent } from '../../_components/template/narrow-wide-form/narrow-wide-form.component';
|
|
67
68
|
import { OneColumnComponent } from '../../_components/template/one-column/one-column.component';
|
|
68
69
|
import { OneColumnPageComponent } from '../../_components/template/one-column-page/one-column-page.component';
|
|
@@ -162,6 +163,7 @@ declare const pegaSdkComponentMap: {
|
|
|
162
163
|
MaterialUtility: typeof MaterialUtilityComponent;
|
|
163
164
|
ModalViewContainer: typeof ModalViewContainerComponent;
|
|
164
165
|
MultiReferenceReadOnly: typeof MultiReferenceReadonlyComponent;
|
|
166
|
+
Multiselect: typeof MultiselectComponent;
|
|
165
167
|
MultiStep: typeof MultiStepComponent;
|
|
166
168
|
NarrowWideDetails: typeof DetailsNarrowWideComponent;
|
|
167
169
|
NarrowWideForm: typeof NarrowWideFormComponent;
|
|
@@ -9,6 +9,8 @@ export declare class MaterialCaseSummaryComponent implements OnInit, OnChanges {
|
|
|
9
9
|
secondaryFields$: any[];
|
|
10
10
|
primaryFieldsWithStatus$: any[];
|
|
11
11
|
constructor(utils: Utils);
|
|
12
|
+
localizedVal: (localeKey: string, localePath?: string | undefined, localeRuleKey?: string | undefined) => string;
|
|
13
|
+
localeCategory: string;
|
|
12
14
|
ngOnInit(): void;
|
|
13
15
|
ngOnChanges(): void;
|
|
14
16
|
updateLabelAndDate(arData: any[]): void;
|
|
@@ -8,6 +8,7 @@ export declare class OperatorComponent implements OnInit, OnChanges, OnDestroy {
|
|
|
8
8
|
private cdRef;
|
|
9
9
|
private utils;
|
|
10
10
|
pConn$: typeof PConnect;
|
|
11
|
+
displayLabel: any;
|
|
11
12
|
fields$: any[];
|
|
12
13
|
bShowPopover$: boolean;
|
|
13
14
|
date$: string;
|
|
@@ -21,5 +22,5 @@ export declare class OperatorComponent implements OnInit, OnChanges, OnDestroy {
|
|
|
21
22
|
updateSelf(): void;
|
|
22
23
|
showOperator(): void;
|
|
23
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<OperatorComponent, never>;
|
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OperatorComponent, "app-operator", never, { "pConn$": { "alias": "pConn$"; "required": false; }; }, {}, never, never, true, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OperatorComponent, "app-operator", never, { "pConn$": { "alias": "pConn$"; "required": false; }; "displayLabel": { "alias": "displayLabel"; "required": false; }; }, {}, never, never, true, never>;
|
|
25
26
|
}
|
|
@@ -10,6 +10,13 @@ interface CheckboxProps extends Omit<PConnFieldProps, 'value'> {
|
|
|
10
10
|
caption?: string;
|
|
11
11
|
trueLabel?: string;
|
|
12
12
|
falseLabel?: string;
|
|
13
|
+
selectionMode?: string;
|
|
14
|
+
datasource?: any;
|
|
15
|
+
selectionKey?: string;
|
|
16
|
+
selectionList?: any;
|
|
17
|
+
primaryField: string;
|
|
18
|
+
readonlyContextList: any;
|
|
19
|
+
referenceList: string;
|
|
13
20
|
}
|
|
14
21
|
export declare class CheckBoxComponent implements OnInit, OnDestroy {
|
|
15
22
|
private angularPConnect;
|
|
@@ -36,6 +43,16 @@ export declare class CheckBoxComponent implements OnInit, OnDestroy {
|
|
|
36
43
|
helperText: string;
|
|
37
44
|
trueLabel$?: string;
|
|
38
45
|
falseLabel$?: string;
|
|
46
|
+
selectionMode?: string;
|
|
47
|
+
datasource?: any;
|
|
48
|
+
selectionKey?: string;
|
|
49
|
+
selectionList?: any;
|
|
50
|
+
primaryField: string;
|
|
51
|
+
selectedvalues: any;
|
|
52
|
+
referenceList: string;
|
|
53
|
+
listOfCheckboxes: any[];
|
|
54
|
+
actionsApi: any;
|
|
55
|
+
propName: any;
|
|
39
56
|
fieldControl: FormControl<string | null>;
|
|
40
57
|
constructor(angularPConnect: AngularPConnectService, cdRef: ChangeDetectorRef, utils: Utils);
|
|
41
58
|
ngOnInit(): void;
|
|
@@ -45,6 +62,7 @@ export declare class CheckBoxComponent implements OnInit, OnDestroy {
|
|
|
45
62
|
updateSelf(): void;
|
|
46
63
|
fieldOnChange(event: any): void;
|
|
47
64
|
fieldOnBlur(event: any): void;
|
|
65
|
+
handleChangeMultiMode(event: any, element: any): void;
|
|
48
66
|
getErrorMessage(): string;
|
|
49
67
|
static ɵfac: i0.ɵɵFactoryDeclaration<CheckBoxComponent, never>;
|
|
50
68
|
static ɵcmp: i0.ɵɵComponentDeclaration<CheckBoxComponent, "app-check-box", never, { "pConn$": { "alias": "pConn$"; "required": false; }; "formGroup$": { "alias": "formGroup$"; "required": false; }; }, {}, never, never, true, never>;
|
|
@@ -17,7 +17,7 @@ export declare class CurrencyComponent implements OnInit, OnDestroy {
|
|
|
17
17
|
angularPConnectData: AngularPConnectData;
|
|
18
18
|
configProps$: CurrrencyProps;
|
|
19
19
|
label$: string;
|
|
20
|
-
value$:
|
|
20
|
+
value$: any;
|
|
21
21
|
bRequired$: boolean;
|
|
22
22
|
bReadonly$: boolean;
|
|
23
23
|
bDisabled$: boolean;
|
|
@@ -32,16 +32,15 @@ export declare class CurrencyComponent implements OnInit, OnDestroy {
|
|
|
32
32
|
currencyISOCode: string;
|
|
33
33
|
currencyOptions: Object;
|
|
34
34
|
fieldControl: FormControl<number | null>;
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
35
|
+
currSym: string;
|
|
36
|
+
currSep: string;
|
|
37
|
+
currDec: string;
|
|
38
38
|
constructor(angularPConnect: AngularPConnectService, cdRef: ChangeDetectorRef, utils: Utils);
|
|
39
39
|
ngOnInit(): void;
|
|
40
40
|
ngOnDestroy(): void;
|
|
41
41
|
onStateChange(): void;
|
|
42
42
|
checkAndUpdate(): void;
|
|
43
43
|
updateSelf(): void;
|
|
44
|
-
fieldOnChange(event: any): void;
|
|
45
44
|
fieldOnBlur(event: any): void;
|
|
46
45
|
getErrorMessage(): string;
|
|
47
46
|
static ɵfac: i0.ɵɵFactoryDeclaration<CurrencyComponent, never>;
|
|
@@ -46,7 +46,6 @@ export declare class DateTimeComponent implements OnInit, OnDestroy {
|
|
|
46
46
|
onStateChange(): void;
|
|
47
47
|
checkAndUpdate(): void;
|
|
48
48
|
updateSelf(): void;
|
|
49
|
-
fieldOnChange(event: any): void;
|
|
50
49
|
fieldOnBlur(event: any): void;
|
|
51
50
|
getErrorMessage(): string;
|
|
52
51
|
static ɵfac: i0.ɵɵFactoryDeclaration<DateTimeComponent, never>;
|
|
@@ -9,6 +9,7 @@ interface DecimalProps extends PConnFieldProps {
|
|
|
9
9
|
currencyISOCode?: string;
|
|
10
10
|
decimalPrecision?: number;
|
|
11
11
|
showGroupSeparators?: string;
|
|
12
|
+
formatter?: string;
|
|
12
13
|
}
|
|
13
14
|
export declare class DecimalComponent implements OnInit, OnDestroy {
|
|
14
15
|
private angularPConnect;
|
|
@@ -19,7 +20,7 @@ export declare class DecimalComponent implements OnInit, OnDestroy {
|
|
|
19
20
|
angularPConnectData: AngularPConnectData;
|
|
20
21
|
configProps$: DecimalProps;
|
|
21
22
|
label$: string;
|
|
22
|
-
value$:
|
|
23
|
+
value$: any;
|
|
23
24
|
bRequired$: boolean;
|
|
24
25
|
bReadonly$: boolean;
|
|
25
26
|
bDisabled$: boolean;
|
|
@@ -32,6 +33,13 @@ export declare class DecimalComponent implements OnInit, OnDestroy {
|
|
|
32
33
|
helperText: string;
|
|
33
34
|
placeholder: string;
|
|
34
35
|
fieldControl: FormControl<number | null>;
|
|
36
|
+
currDec: string;
|
|
37
|
+
currSep: string;
|
|
38
|
+
currSym: string;
|
|
39
|
+
decimalPrecision: number | undefined;
|
|
40
|
+
formatter: any;
|
|
41
|
+
formattedValue: any;
|
|
42
|
+
inputMode: any;
|
|
35
43
|
constructor(angularPConnect: AngularPConnectService, cdRef: ChangeDetectorRef, utils: Utils);
|
|
36
44
|
ngOnInit(): void;
|
|
37
45
|
ngOnDestroy(): void;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/// <reference types="pcore-pconnect-typedefs" />
|
|
2
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
3
|
+
import { FormControl, FormGroup } from '@angular/forms';
|
|
4
|
+
import { MatAutocompleteSelectedEvent, MatAutocompleteTrigger } from '@angular/material/autocomplete';
|
|
5
|
+
import { AngularPConnectData, AngularPConnectService } from '../../../_bridge/angular-pconnect';
|
|
6
|
+
import { Utils } from '../../../_helpers/utils';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class MultiselectComponent implements OnInit, OnDestroy {
|
|
9
|
+
private angularPConnect;
|
|
10
|
+
private utils;
|
|
11
|
+
pConn$: typeof PConnect;
|
|
12
|
+
formGroup$: FormGroup;
|
|
13
|
+
angularPConnectData: AngularPConnectData;
|
|
14
|
+
label$: string;
|
|
15
|
+
value$: string;
|
|
16
|
+
bRequired$: boolean;
|
|
17
|
+
bDisabled$: boolean;
|
|
18
|
+
bVisible$: boolean;
|
|
19
|
+
controlName$: string;
|
|
20
|
+
bHasForm$: boolean;
|
|
21
|
+
listType: string;
|
|
22
|
+
placeholder: string;
|
|
23
|
+
fieldControl: FormControl<string | null>;
|
|
24
|
+
parameters: {};
|
|
25
|
+
hideLabel: boolean;
|
|
26
|
+
configProps$: any;
|
|
27
|
+
referenceList: any;
|
|
28
|
+
selectionKey: string;
|
|
29
|
+
primaryField: string;
|
|
30
|
+
initialCaseClass: any;
|
|
31
|
+
showSecondaryInSearchOnly: boolean;
|
|
32
|
+
isGroupData: boolean;
|
|
33
|
+
referenceType: any;
|
|
34
|
+
secondaryFields: any;
|
|
35
|
+
groupDataSource: never[];
|
|
36
|
+
matchPosition: string;
|
|
37
|
+
maxResultsDisplay: any;
|
|
38
|
+
groupColumnsConfig: {}[];
|
|
39
|
+
selectionList: any;
|
|
40
|
+
listActions: any;
|
|
41
|
+
selectedItems: any[];
|
|
42
|
+
itemsTreeBaseData: never[];
|
|
43
|
+
displayFieldMeta: any;
|
|
44
|
+
dataApiObj: any;
|
|
45
|
+
itemsTree: any[];
|
|
46
|
+
trigger: any;
|
|
47
|
+
constructor(angularPConnect: AngularPConnectService, utils: Utils);
|
|
48
|
+
ngOnInit(): void;
|
|
49
|
+
ngOnDestroy(): void;
|
|
50
|
+
onStateChange(): void;
|
|
51
|
+
checkAndUpdate(): void;
|
|
52
|
+
updateSelf(): void;
|
|
53
|
+
setPropertyValuesFromProps(): void;
|
|
54
|
+
getCaseListBasedOnParams(searchText: any, group: any, selectedRows: any, currentItemsTree: any, isTriggeredFromSearch?: boolean): void;
|
|
55
|
+
fieldOnChange(event: Event): void;
|
|
56
|
+
optionChanged(event: MatAutocompleteSelectedEvent): void;
|
|
57
|
+
optionClicked: (event: Event, data: any, trigger?: MatAutocompleteTrigger) => void;
|
|
58
|
+
toggleSelection: (data: any, trigger?: MatAutocompleteTrigger) => void;
|
|
59
|
+
removeChip: (data: any) => void;
|
|
60
|
+
setSelectedItemsForReferenceList(data: any): void;
|
|
61
|
+
getErrorMessage(): string;
|
|
62
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MultiselectComponent, never>;
|
|
63
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MultiselectComponent, "app-multiselect", never, { "pConn$": { "alias": "pConn$"; "required": false; }; "formGroup$": { "alias": "formGroup$"; "required": false; }; }, {}, never, never, true, never>;
|
|
64
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare function setVisibilityForList(c11nEnv: any, visibility: any): void;
|
|
2
|
+
declare function preProcessColumns(columns: any): any;
|
|
3
|
+
declare function getDisplayFieldsMetaData(columns: any): any;
|
|
4
|
+
declare function doSearch(searchText: any, clickedGroup: any, initialCaseClass: any, displayFieldMeta: any, dataApiObj: any, // deep clone of the dataApiObj
|
|
5
|
+
itemsTree: any, isGroupData: any, showSecondaryInSearchOnly: any, selected: any): Promise<any>;
|
|
6
|
+
declare function setValuesToPropertyList(searchText: any, assocProp: any, items: any, columns: any, actions: any, updatePropertyInRedux?: boolean): any;
|
|
7
|
+
declare function getGroupDataForItemsTree(groupDataSource: any, groupsDisplayFieldMeta: any, showSecondaryInSearchOnly: any): any;
|
|
8
|
+
export { preProcessColumns, getDisplayFieldsMetaData, doSearch, setValuesToPropertyList, getGroupDataForItemsTree };
|
|
@@ -6,6 +6,8 @@ import { Utils } from '../../../_helpers/utils';
|
|
|
6
6
|
import { PConnFieldProps } from '../../../_types/PConnProps.interface';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
interface PercentageProps extends PConnFieldProps {
|
|
9
|
+
showGroupSeparators?: string;
|
|
10
|
+
decimalPrecision?: number;
|
|
9
11
|
}
|
|
10
12
|
export declare class PercentageComponent implements OnInit, OnDestroy {
|
|
11
13
|
private angularPConnect;
|
|
@@ -28,6 +30,8 @@ export declare class PercentageComponent implements OnInit, OnDestroy {
|
|
|
28
30
|
testId: string;
|
|
29
31
|
helperText: string;
|
|
30
32
|
placeholder: string;
|
|
33
|
+
currDec: string;
|
|
34
|
+
currSep: string;
|
|
31
35
|
fieldControl: FormControl<number | null>;
|
|
32
36
|
constructor(angularPConnect: AngularPConnectService, cdRef: ChangeDetectorRef, utils: Utils);
|
|
33
37
|
ngOnInit(): void;
|
|
@@ -3,6 +3,7 @@ import { OnInit, OnDestroy } from '@angular/core';
|
|
|
3
3
|
import { FormControl, FormGroup } from '@angular/forms';
|
|
4
4
|
import { AngularPConnectData, AngularPConnectService } from '../../../_bridge/angular-pconnect';
|
|
5
5
|
import { Utils } from '../../../_helpers/utils';
|
|
6
|
+
import { Observable } from 'rxjs';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
8
|
export declare class UserReferenceComponent implements OnInit, OnDestroy {
|
|
8
9
|
private angularPConnect;
|
|
@@ -23,14 +24,18 @@ export declare class UserReferenceComponent implements OnInit, OnDestroy {
|
|
|
23
24
|
testId: string;
|
|
24
25
|
helperText: string;
|
|
25
26
|
placeholder: string;
|
|
27
|
+
displayMode$?: string;
|
|
28
|
+
filteredOptions: Observable<any[]>;
|
|
29
|
+
filterValue: string;
|
|
26
30
|
fieldControl: FormControl<string | null>;
|
|
27
31
|
constructor(angularPConnect: AngularPConnectService, utils: Utils);
|
|
28
|
-
ngOnInit(): void
|
|
32
|
+
ngOnInit(): Promise<void>;
|
|
29
33
|
ngOnDestroy(): void;
|
|
30
34
|
get type(): string;
|
|
31
|
-
onStateChange(): void
|
|
32
|
-
|
|
33
|
-
|
|
35
|
+
onStateChange(): Promise<void>;
|
|
36
|
+
private _filter;
|
|
37
|
+
checkAndUpdate(): Promise<void>;
|
|
38
|
+
updateSelf(): Promise<void>;
|
|
34
39
|
fieldOnChange(event: any): void;
|
|
35
40
|
fieldOnBlur(event: any): void;
|
|
36
41
|
getErrorMessage(): string;
|
|
@@ -44,6 +44,8 @@ export declare class AssignmentComponent implements OnInit, OnDestroy, OnChanges
|
|
|
44
44
|
cancelAssignment: any;
|
|
45
45
|
cancelCreateStageAssignment: any;
|
|
46
46
|
showPage: any;
|
|
47
|
+
approveCase: any;
|
|
48
|
+
rejectCase: any;
|
|
47
49
|
bReInit: boolean;
|
|
48
50
|
localizedVal: any;
|
|
49
51
|
localeCategory: string;
|
|
@@ -34,6 +34,8 @@ export declare class NavbarComponent implements OnInit, OnDestroy {
|
|
|
34
34
|
navIcon$: string;
|
|
35
35
|
localizedVal: any;
|
|
36
36
|
localeCategory: string;
|
|
37
|
+
localeUtils: import("@pega/pcore-pconnect-typedefs/locale/locale-utils").LocaleUtils;
|
|
38
|
+
localeReference: any;
|
|
37
39
|
constructor(angularPConnect: AngularPConnectService, chRef: ChangeDetectorRef, psService: ProgressSpinnerService, ngZone: NgZone, utils: Utils);
|
|
38
40
|
ngOnInit(): void;
|
|
39
41
|
ngOnDestroy(): void;
|
|
@@ -28,6 +28,8 @@ export declare class CaseSummaryComponent implements OnInit, OnDestroy, OnChange
|
|
|
28
28
|
updateSelf(): void;
|
|
29
29
|
ngOnChanges(): void;
|
|
30
30
|
generatePrimaryAndSecondaryFields(): void;
|
|
31
|
+
prepareComponentInCaseSummary(pConnectMeta: any, getPConnect: any): any;
|
|
32
|
+
prepareCaseSummaryData(summaryFieldChildren: any): any;
|
|
31
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<CaseSummaryComponent, never>;
|
|
32
34
|
static ɵcmp: i0.ɵɵComponentDeclaration<CaseSummaryComponent, "app-case-summary", never, { "pConn$": { "alias": "pConn$"; "required": false; }; "formGroup$": { "alias": "formGroup$"; "required": false; }; }, {}, never, never, true, never>;
|
|
33
35
|
}
|
|
@@ -33,6 +33,8 @@ export declare class WssNavBarComponent implements OnInit, OnDestroy {
|
|
|
33
33
|
showPage: any;
|
|
34
34
|
logout: any;
|
|
35
35
|
navIcon$: string;
|
|
36
|
+
localizedVal: (localeKey: string, localePath?: string | undefined, localeRuleKey?: string | undefined) => string;
|
|
37
|
+
localeCategory: string;
|
|
36
38
|
constructor(angularPConnect: AngularPConnectService, cdRef: ChangeDetectorRef, psService: ProgressSpinnerService, ngZone: NgZone, utils: Utils);
|
|
37
39
|
ngOnInit(): void;
|
|
38
40
|
ngOnDestroy(): void;
|
|
@@ -36,6 +36,10 @@ export declare class AttachmentComponent implements OnInit, OnDestroy {
|
|
|
36
36
|
validateMessage: string | undefined;
|
|
37
37
|
valueRef: string;
|
|
38
38
|
imagePath$: string;
|
|
39
|
+
localizedVal: (localeKey: string, localePath?: string | undefined, localeRuleKey?: string | undefined) => string;
|
|
40
|
+
localeCategory: string;
|
|
41
|
+
uploadMultipleFilesLabel: string;
|
|
42
|
+
uploadSingleFileLabel: string;
|
|
39
43
|
constructor(angularPConnect: AngularPConnectService, utils: Utils, ngZone: NgZone);
|
|
40
44
|
ngOnInit(): void;
|
|
41
45
|
checkAndUpdate(): void;
|
|
@@ -35,7 +35,7 @@ export declare class FileUtilityComponent implements OnInit, OnDestroy {
|
|
|
35
35
|
link_url$: string;
|
|
36
36
|
closeSvgIcon$: string;
|
|
37
37
|
currentCaseID: string;
|
|
38
|
-
addAttachmentsActions: any
|
|
38
|
+
addAttachmentsActions: any;
|
|
39
39
|
constructor(angularPConnect: AngularPConnectService, utils: Utils, ngZone: NgZone);
|
|
40
40
|
ngOnInit(): void;
|
|
41
41
|
ngOnDestroy(): void;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
declare function updateNewInstructions(c11nEnv: any, selectionList: any): void;
|
|
2
|
+
declare function insertInstruction(c11nEnv: any, selectionList: any, selectionKey: any, primaryField: any, item: any): void;
|
|
3
|
+
declare function deleteInstruction(c11nEnv: any, selectionList: any, selectionKey: any, item: any): void;
|
|
4
|
+
export { updateNewInstructions, insertInstruction, deleteInstruction };
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -124,6 +124,7 @@ export * from './lib/_helpers/template-utils';
|
|
|
124
124
|
export * from './lib/_helpers/utils';
|
|
125
125
|
export * from './lib/_helpers/versionHelpers';
|
|
126
126
|
export * from './lib/_helpers/filter-utils';
|
|
127
|
+
export * from './lib/_helpers/instructions-utils';
|
|
127
128
|
export * from './lib/_messages/error-messages.service';
|
|
128
129
|
export * from './lib/_messages/get-login-status.service';
|
|
129
130
|
export * from './lib/_messages/oauth-response.service';
|