@pega/angular-sdk-components 0.24.1 → 0.24.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/esm2022/lib/_bridge/angular-pconnect.mjs +5 -5
- package/esm2022/lib/_bridge/component-mapper/component-mapper.component.mjs +4 -4
- 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 +5 -5
- 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 +5 -5
- 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 -7
- package/esm2022/lib/_components/field/check-box/check-box.component.mjs +5 -5
- 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 +7 -12
- 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 +5 -5
- package/esm2022/lib/_components/field/multiselect/utils.mjs +2 -2
- 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 +7 -12
- package/esm2022/lib/_components/field/rich-text/rich-text.component.mjs +5 -5
- package/esm2022/lib/_components/field/scalar-list/scalar-list.component.mjs +7 -6
- 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 -7
- 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 -24
- 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 -6
- 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 +9 -10
- package/esm2022/lib/_components/infra/action-buttons/action-buttons.component.mjs +3 -3
- package/esm2022/lib/_components/infra/assignment/assignment.component.mjs +29 -14
- 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 -6
- package/esm2022/lib/_components/infra/defer-load/defer-load.component.mjs +10 -13
- 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 +9 -8
- 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 +6 -6
- package/esm2022/lib/_components/template/case-view/case-view.component.mjs +6 -12
- package/esm2022/lib/_components/template/confirmation/confirmation.component.mjs +5 -5
- package/esm2022/lib/_components/template/data-reference/data-reference.component.mjs +6 -8
- 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 -6
- 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 +9 -19
- 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 +16 -10
- package/esm2022/lib/_components/template/list-view/listViewHelpers.mjs +1 -2
- 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 -6
- package/esm2022/lib/_components/template/simple-table/simple-table.component.mjs +5 -7
- 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 +11 -17
- package/esm2022/lib/_components/template/simple-table-select/simple-table-select.component.mjs +7 -9
- 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 +5 -5
- package/esm2022/lib/_components/widget/app-announcement/app-announcement.component.mjs +4 -4
- package/esm2022/lib/_components/widget/attachment/attachment.component.mjs +227 -424
- package/esm2022/lib/_components/widget/case-history/case-history.component.mjs +6 -7
- package/esm2022/lib/_components/widget/feed-container/feed-container.component.mjs +5 -9
- package/esm2022/lib/_components/widget/file-utility/file-utility.component.mjs +18 -22
- 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 +5 -5
- 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/tab-utils.mjs +1 -1
- package/esm2022/lib/_helpers/template-utils.mjs +4 -4
- package/esm2022/lib/_helpers/utils.mjs +5 -5
- 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 +924 -1130
- package/fesm2022/pega-angular-sdk-components.mjs.map +1 -1
- package/lib/_components/designSystemExtension/material-case-summary/material-case-summary.component.d.ts +1 -1
- 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/list-view-action-buttons/list-view-action-buttons.component.d.ts +1 -1
- 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/Containers/flow-container/flow-container.component.d.ts +1 -1
- package/lib/_components/infra/Containers/modal-view-container/modal-view-container.component.d.ts +1 -1
- package/lib/_components/infra/action-buttons/action-buttons.component.d.ts +1 -1
- package/lib/_components/infra/assignment/assignment.component.d.ts +2 -0
- package/lib/_components/infra/error-boundary/error-boundary.component.d.ts +1 -1
- package/lib/_components/template/list-view/list-view.component.d.ts +8 -2
- package/lib/_components/template/simple-table-manual/helpers.d.ts +1 -1
- package/lib/_components/template/wss-nav-bar/wss-nav-bar.component.d.ts +1 -1
- package/lib/_components/widget/attachment/attachment.component.d.ts +29 -57
- package/lib/_components/widget/file-utility/file-utility.component.d.ts +3 -3
- package/lib/_components/widget/todo/todo.component.d.ts +3 -3
- package/lib/_helpers/common.d.ts +1 -1
- package/lib/_helpers/field-group-utils.d.ts +1 -1
- package/lib/_helpers/filter-utils.d.ts +1 -1
- package/lib/_helpers/formatters/common.d.ts +2 -2
- package/package.json +3 -3
- package/public-api.d.ts +1 -0
|
@@ -9,7 +9,7 @@ export declare class MaterialCaseSummaryComponent implements OnInit, OnChanges {
|
|
|
9
9
|
secondaryFields$: any[];
|
|
10
10
|
primaryFieldsWithStatus$: any[];
|
|
11
11
|
constructor(utils: Utils);
|
|
12
|
-
localizedVal: (localeKey:
|
|
12
|
+
localizedVal: (localeKey: any, localePath: any, localeRuleKey?: string | undefined) => any;
|
|
13
13
|
localeCategory: string;
|
|
14
14
|
ngOnInit(): void;
|
|
15
15
|
ngOnChanges(): void;
|
|
@@ -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;
|
package/lib/_components/field/list-view-action-buttons/list-view-action-buttons.component.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ export declare class ListViewActionButtonsComponent {
|
|
|
5
5
|
pConn$: typeof PConnect;
|
|
6
6
|
context$: string;
|
|
7
7
|
closeActionsDialog: EventEmitter<any>;
|
|
8
|
-
localizedVal: (localeKey:
|
|
8
|
+
localizedVal: (localeKey: any, localePath: any, localeRuleKey?: string | undefined) => any;
|
|
9
9
|
localeCategory: string;
|
|
10
10
|
isDisabled: boolean;
|
|
11
11
|
onCancel(): void;
|
|
@@ -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;
|
|
@@ -66,7 +66,7 @@ export declare class FlowContainerComponent implements OnInit, OnDestroy {
|
|
|
66
66
|
initComponent(bLoadChildren: boolean): void;
|
|
67
67
|
hasAssignments(): boolean;
|
|
68
68
|
isCaseWideLocalAction(): boolean;
|
|
69
|
-
hasChildCaseAssignments():
|
|
69
|
+
hasChildCaseAssignments(): any;
|
|
70
70
|
getActiveViewLabel(): string;
|
|
71
71
|
findCurrentIndicies(arStepperSteps: any[], arIndicies: number[], depth: number): number[];
|
|
72
72
|
updateSelf(): void;
|
package/lib/_components/infra/Containers/modal-view-container/modal-view-container.component.d.ts
CHANGED
|
@@ -49,7 +49,7 @@ export declare class ModalViewContainerComponent implements OnInit, OnDestroy {
|
|
|
49
49
|
createView(routingInfo: any, currentItem: any, latestItem: any, key: any): void;
|
|
50
50
|
hideModal(): void;
|
|
51
51
|
getConfigObject(item: any, pConnect: any): {
|
|
52
|
-
getPConnect: () => import("@pega/pcore-pconnect-typedefs/interpreter/c11n-env").
|
|
52
|
+
getPConnect: () => import("@pega/pcore-pconnect-typedefs/interpreter/c11n-env").C11nEnv;
|
|
53
53
|
} | null;
|
|
54
54
|
onAlertState(bData: boolean): void;
|
|
55
55
|
showAlert(payload: any): void;
|
|
@@ -4,7 +4,7 @@ export declare class ActionButtonsComponent {
|
|
|
4
4
|
arMainButtons$: any[];
|
|
5
5
|
arSecondaryButtons$: any[];
|
|
6
6
|
actionButtonClick: EventEmitter<any>;
|
|
7
|
-
localizedVal: (localeKey:
|
|
7
|
+
localizedVal: (localeKey: any, localePath: any, localeRuleKey?: string | undefined) => any;
|
|
8
8
|
localeCategory: string;
|
|
9
9
|
buttonClick(sAction: any, sButtonType: any): void;
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<ActionButtonsComponent, never>;
|
|
@@ -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;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class ErrorBoundaryComponent {
|
|
3
3
|
message: string;
|
|
4
|
-
localizedVal:
|
|
4
|
+
localizedVal: any;
|
|
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>;
|
|
@@ -18,6 +18,8 @@ interface ListViewProps {
|
|
|
18
18
|
presets?: any;
|
|
19
19
|
reorderFields: string | boolean;
|
|
20
20
|
grouping: string | boolean;
|
|
21
|
+
value: any;
|
|
22
|
+
readonlyContextList: any;
|
|
21
23
|
}
|
|
22
24
|
export declare class Group {
|
|
23
25
|
level: number;
|
|
@@ -88,20 +90,24 @@ export declare class ListViewComponent implements OnInit, OnDestroy {
|
|
|
88
90
|
paging: any;
|
|
89
91
|
fieldDefs: any;
|
|
90
92
|
xRayApis: import("@pega/pcore-pconnect-typedefs/debug/xray-runtime").default;
|
|
91
|
-
xRayUid: string
|
|
93
|
+
xRayUid: string;
|
|
94
|
+
checkBoxValue: string;
|
|
92
95
|
constructor(psService: ProgressSpinnerService, utils: Utils);
|
|
93
96
|
ngOnInit(): void;
|
|
94
97
|
getFieldFromFilter(filter: any, dateRange?: boolean): any;
|
|
95
98
|
processFilterChange(data: any): void;
|
|
96
99
|
filterBasedOnDateRange(dashboardFilterPayload: any, filter: any, relationalOp: any, selectParam: any, index: any): any;
|
|
97
100
|
processFilterClear(): void;
|
|
98
|
-
getFieldsMetadata(refList: any): Promise<
|
|
101
|
+
getFieldsMetadata(refList: any): Promise<{
|
|
102
|
+
data: any;
|
|
103
|
+
}>;
|
|
99
104
|
getListData(): void;
|
|
100
105
|
preparePayload(): void;
|
|
101
106
|
ngOnDestroy(): void;
|
|
102
107
|
drop(event: CdkDragDrop<string[]>): void;
|
|
103
108
|
updateFields(arFields: any[], arColumns: any, fields: any): any[];
|
|
104
109
|
applySearch(event: Event): void;
|
|
110
|
+
isChecked(rowIn: any): any;
|
|
105
111
|
fieldOnChange(row: any): void;
|
|
106
112
|
onCheckboxClick(row: any, event: any): void;
|
|
107
113
|
_getIconStyle(level: any): string;
|
|
@@ -78,4 +78,4 @@ export declare const getAddRowCallback: (pConnect: any, index: any) => () => any
|
|
|
78
78
|
* @param {string} referenceList - referenceList
|
|
79
79
|
* @param {string} pageReference - pageReference
|
|
80
80
|
*/
|
|
81
|
-
export declare const createPConnect: (contextName: any, referenceList: any, pageReference: any) => import("@pega/pcore-pconnect-typedefs/interpreter/c11n-env").
|
|
81
|
+
export declare const createPConnect: (contextName: any, referenceList: any, pageReference: any) => import("@pega/pcore-pconnect-typedefs/interpreter/c11n-env").C11nEnv;
|
|
@@ -33,7 +33,7 @@ export declare class WssNavBarComponent implements OnInit, OnDestroy {
|
|
|
33
33
|
showPage: any;
|
|
34
34
|
logout: any;
|
|
35
35
|
navIcon$: string;
|
|
36
|
-
localizedVal: (localeKey:
|
|
36
|
+
localizedVal: (localeKey: any, localePath: any, localeRuleKey?: string | undefined) => any;
|
|
37
37
|
localeCategory: string;
|
|
38
38
|
constructor(angularPConnect: AngularPConnectService, cdRef: ChangeDetectorRef, psService: ProgressSpinnerService, ngZone: NgZone, utils: Utils);
|
|
39
39
|
ngOnInit(): void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="pcore-pconnect-typedefs" />
|
|
2
|
-
import { OnInit, NgZone, OnDestroy } from '@angular/core';
|
|
2
|
+
import { OnInit, NgZone, OnDestroy, ElementRef } from '@angular/core';
|
|
3
3
|
import { FormGroup } from '@angular/forms';
|
|
4
4
|
import { AngularPConnectData, AngularPConnectService } from '../../../_bridge/angular-pconnect';
|
|
5
5
|
import { Utils } from '../../../_helpers/utils';
|
|
@@ -11,6 +11,7 @@ export declare class AttachmentComponent implements OnInit, OnDestroy {
|
|
|
11
11
|
pConn$: typeof PConnect;
|
|
12
12
|
formGroup$: FormGroup;
|
|
13
13
|
angularPConnectData: AngularPConnectData;
|
|
14
|
+
fileInput: ElementRef;
|
|
14
15
|
label$: string;
|
|
15
16
|
value$: any;
|
|
16
17
|
bRequired$: boolean;
|
|
@@ -18,16 +19,8 @@ export declare class AttachmentComponent implements OnInit, OnDestroy {
|
|
|
18
19
|
bDisabled$: boolean;
|
|
19
20
|
bVisible$: boolean;
|
|
20
21
|
bLoading$: boolean;
|
|
21
|
-
arFiles$: any[];
|
|
22
|
-
arFileList$: any[];
|
|
23
|
-
removeFileFromList$: any;
|
|
24
|
-
arMenuList$: any[];
|
|
25
22
|
bShowSelector$: boolean;
|
|
26
|
-
bShowJustDelete$: boolean;
|
|
27
|
-
att_valueRef: any;
|
|
28
23
|
att_categoryName: string;
|
|
29
|
-
att_id: string;
|
|
30
|
-
myFiles: any;
|
|
31
24
|
fileTemp: any;
|
|
32
25
|
caseID: any;
|
|
33
26
|
allowMultiple$: boolean;
|
|
@@ -36,60 +29,23 @@ export declare class AttachmentComponent implements OnInit, OnDestroy {
|
|
|
36
29
|
validateMessage: string | undefined;
|
|
37
30
|
valueRef: string;
|
|
38
31
|
imagePath$: string;
|
|
39
|
-
localizedVal: (localeKey:
|
|
32
|
+
localizedVal: (localeKey: any, localePath: any, localeRuleKey?: string | undefined) => any;
|
|
40
33
|
localeCategory: string;
|
|
41
|
-
uploadMultipleFilesLabel:
|
|
42
|
-
uploadSingleFileLabel:
|
|
34
|
+
uploadMultipleFilesLabel: any;
|
|
35
|
+
uploadSingleFileLabel: any;
|
|
36
|
+
filesWithError: any;
|
|
37
|
+
files: any;
|
|
38
|
+
categoryName: string;
|
|
39
|
+
displayMode: string | undefined;
|
|
40
|
+
srcImg: any;
|
|
41
|
+
deleteIcon: string;
|
|
42
|
+
tempFilesToBeUploaded: any[];
|
|
43
43
|
constructor(angularPConnect: AngularPConnectService, utils: Utils, ngZone: NgZone);
|
|
44
44
|
ngOnInit(): void;
|
|
45
|
+
getAttachments(): () => void;
|
|
45
46
|
checkAndUpdate(): void;
|
|
46
|
-
ngOnDestroy(): void;
|
|
47
47
|
onStateChange(): void;
|
|
48
|
-
updateAttachmentsInfo(): void;
|
|
49
|
-
processFile(file: any, i: any): void;
|
|
50
48
|
updateSelf(): void;
|
|
51
|
-
updateAttachments(): void;
|
|
52
|
-
updateAttachmentsFromServer(): void;
|
|
53
|
-
resetAttachmentStoredState(): void;
|
|
54
|
-
_downloadFileFromList(fileObj: any): void;
|
|
55
|
-
fileDownload: (data: any, fileName: any, ext: any) => void;
|
|
56
|
-
getAttachmentKey: (name?: string) => string;
|
|
57
|
-
CheckForInvalidAttachment(): void;
|
|
58
|
-
_removeFileFromList(item: any): void;
|
|
59
|
-
getCurrentAttachmentsList(key: any, context: any): any;
|
|
60
|
-
errorHandler(isFetchCanceled: any, file: any): (error: any) => never;
|
|
61
|
-
uploadMyFiles(event: any): void;
|
|
62
|
-
handleFileUploadSuccess(fileResponses: any): void;
|
|
63
|
-
handleFileUploadFailure(): void;
|
|
64
|
-
getNewListUtilityItemProps: ({ att, cancelFile, downloadFile, deleteFile, removeFile }: {
|
|
65
|
-
att: any;
|
|
66
|
-
cancelFile: any;
|
|
67
|
-
downloadFile: any;
|
|
68
|
-
deleteFile: any;
|
|
69
|
-
removeFile: any;
|
|
70
|
-
}) => {
|
|
71
|
-
id: any;
|
|
72
|
-
visual: {
|
|
73
|
-
icon: any;
|
|
74
|
-
progress: any;
|
|
75
|
-
};
|
|
76
|
-
primary: {
|
|
77
|
-
type: any;
|
|
78
|
-
name: any;
|
|
79
|
-
icon: string;
|
|
80
|
-
click: any;
|
|
81
|
-
};
|
|
82
|
-
secondary: {
|
|
83
|
-
text: any;
|
|
84
|
-
error: any;
|
|
85
|
-
};
|
|
86
|
-
actions: any;
|
|
87
|
-
};
|
|
88
|
-
onUploadProgress(): void;
|
|
89
|
-
getFiles(arFiles: any[]): any[];
|
|
90
|
-
setNewFiles(arFiles: any): any[];
|
|
91
|
-
validateMaxSize(fileObj: any, maxSizeInMB: any): boolean;
|
|
92
|
-
validateFileExtension: (fileObj: any, allowedExtensions: any) => any;
|
|
93
49
|
buildFilePropsFromResponse(respObj: any): {
|
|
94
50
|
props: {
|
|
95
51
|
meta: string;
|
|
@@ -98,6 +54,22 @@ export declare class AttachmentComponent implements OnInit, OnDestroy {
|
|
|
98
54
|
};
|
|
99
55
|
responseProps: any;
|
|
100
56
|
};
|
|
57
|
+
updateAttachments(): void;
|
|
58
|
+
resetAttachmentStoredState(): void;
|
|
59
|
+
downloadFile(fileObj: any): void;
|
|
60
|
+
fileDownload: (data: any, fileName: any, ext: any) => void;
|
|
61
|
+
getAttachmentKey: (name?: string) => string;
|
|
62
|
+
getCurrentAttachmentsList(key: any, context: any): any;
|
|
63
|
+
validateMaxSize(fileObj: any, maxSizeInMB: any): boolean;
|
|
64
|
+
validateFileExtension: (fileObj: any, allowedExtensions: any) => any;
|
|
65
|
+
updateAttachmentState(pConn: any, key: any, attachments: any): void;
|
|
66
|
+
deleteFile(file: any): void;
|
|
67
|
+
onFileAdded(event: any): void;
|
|
68
|
+
clearFieldErrorMessages(): void;
|
|
69
|
+
onUploadProgress(): void;
|
|
70
|
+
errorHandler(isFetchCanceled: any, attachedFile: any): (error: any) => never;
|
|
71
|
+
uploadFiles(): void;
|
|
72
|
+
ngOnDestroy(): void;
|
|
101
73
|
static ɵfac: i0.ɵɵFactoryDeclaration<AttachmentComponent, never>;
|
|
102
74
|
static ɵcmp: i0.ɵɵComponentDeclaration<AttachmentComponent, "app-attachment", never, { "pConn$": { "alias": "pConn$"; "required": false; }; "formGroup$": { "alias": "formGroup$"; "required": false; }; }, {}, never, never, true, never>;
|
|
103
75
|
}
|
|
@@ -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;
|
|
@@ -119,8 +119,8 @@ export declare class FileUtilityComponent implements OnInit, OnDestroy {
|
|
|
119
119
|
_fieldOnChangeLink(event: any): void;
|
|
120
120
|
_fieldOnChangeURL(event: any): void;
|
|
121
121
|
updateSelf(): void;
|
|
122
|
-
getCaseID():
|
|
123
|
-
fetchCaseAttachments(caseID: any):
|
|
122
|
+
getCaseID(): any;
|
|
123
|
+
fetchCaseAttachments(caseID: any): any;
|
|
124
124
|
handleAttachmentsResponse(resp: any): void;
|
|
125
125
|
getUtilityItems(attachments: any): any;
|
|
126
126
|
mapAttachmentToUtilityItem(att: any): {
|
|
@@ -36,10 +36,10 @@ export declare class TodoComponent implements OnInit, OnDestroy, OnChanges {
|
|
|
36
36
|
assignmentsSource$: any;
|
|
37
37
|
CONSTS: typeof publicConstants;
|
|
38
38
|
bLogging: boolean;
|
|
39
|
-
localizedVal: (localeKey:
|
|
39
|
+
localizedVal: (localeKey: any, localePath: any, localeRuleKey?: string | undefined) => any;
|
|
40
40
|
localeCategory: string;
|
|
41
|
-
showlessLocalizedValue:
|
|
42
|
-
showMoreLocalizedValue:
|
|
41
|
+
showlessLocalizedValue: any;
|
|
42
|
+
showMoreLocalizedValue: any;
|
|
43
43
|
constructor(psService: ProgressSpinnerService, erService: ErrorMessagesService, ngZone: NgZone, utils: Utils);
|
|
44
44
|
ngOnInit(): void;
|
|
45
45
|
ngOnDestroy(): void;
|
package/lib/_helpers/common.d.ts
CHANGED
|
@@ -12,5 +12,5 @@ export declare const getReferenceList: (pConn: any) => any;
|
|
|
12
12
|
* @returns {*} - return the react element of the view
|
|
13
13
|
*/
|
|
14
14
|
export declare const buildView: (pConn: any, index: any, viewConfigPath: any) => {
|
|
15
|
-
getPConnect: () => import("@pega/pcore-pconnect-typedefs/interpreter/c11n-env").
|
|
15
|
+
getPConnect: () => import("@pega/pcore-pconnect-typedefs/interpreter/c11n-env").C11nEnv;
|
|
16
16
|
};
|
|
@@ -26,7 +26,7 @@ export declare const createFilterComponent: (getPConnect: any, filterMeta: any,
|
|
|
26
26
|
filterProp: string;
|
|
27
27
|
metadata: any;
|
|
28
28
|
c11nEnv: {
|
|
29
|
-
getPConnect: () => import("@pega/pcore-pconnect-typedefs/interpreter/c11n-env").
|
|
29
|
+
getPConnect: () => import("@pega/pcore-pconnect-typedefs/interpreter/c11n-env").C11nEnv;
|
|
30
30
|
};
|
|
31
31
|
filterId: any;
|
|
32
32
|
label?: undefined;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare function getLocale(locale?: string): string
|
|
2
|
-
export declare function getCurrentTimezone(timezone?: string):
|
|
1
|
+
export declare function getLocale(locale?: string): string;
|
|
2
|
+
export declare function getCurrentTimezone(timezone?: string): any;
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pega/angular-sdk-components",
|
|
3
|
-
"version": "0.24.
|
|
3
|
+
"version": "0.24.3",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@angular/common": "^
|
|
6
|
-
"@angular/core": "^
|
|
5
|
+
"@angular/common": "^17.3.12",
|
|
6
|
+
"@angular/core": "^17.3.12"
|
|
7
7
|
},
|
|
8
8
|
"dependencies": {
|
|
9
9
|
"tslib": "^2.6.2"
|
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';
|