@pega/angular-sdk-components 0.25.1 → 0.25.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/fesm2022/pega-angular-sdk-components.mjs +3963 -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,45 +1,18 @@
|
|
|
1
|
-
import { OnInit,
|
|
2
|
-
import {
|
|
3
|
-
import { AngularPConnectData, AngularPConnectService } from '../../../_bridge/angular-pconnect';
|
|
4
|
-
import { Utils } from '../../../_helpers/utils';
|
|
1
|
+
import { OnInit, OnDestroy } from '@angular/core';
|
|
2
|
+
import { FieldBase } from '../field.base';
|
|
5
3
|
import { PConnFieldProps } from '../../../_types/PConnProps.interface';
|
|
6
4
|
import * as i0 from "@angular/core";
|
|
7
5
|
interface EmailProps extends PConnFieldProps {
|
|
8
6
|
}
|
|
9
|
-
export declare class EmailComponent implements OnInit, OnDestroy {
|
|
10
|
-
private angularPConnect;
|
|
11
|
-
private cdRef;
|
|
12
|
-
private utils;
|
|
13
|
-
pConn$: typeof PConnect;
|
|
14
|
-
formGroup$: FormGroup;
|
|
15
|
-
angularPConnectData: AngularPConnectData;
|
|
7
|
+
export declare class EmailComponent extends FieldBase implements OnInit, OnDestroy {
|
|
16
8
|
configProps$: EmailProps;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
bReadonly$: boolean;
|
|
21
|
-
bDisabled$: boolean;
|
|
22
|
-
bVisible$: boolean;
|
|
23
|
-
displayMode$?: string;
|
|
24
|
-
controlName$: string;
|
|
25
|
-
bHasForm$: boolean;
|
|
26
|
-
componentReference: string;
|
|
27
|
-
testId: 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;
|
|
9
|
+
/**
|
|
10
|
+
* Updates the component when there are changes in the state.
|
|
11
|
+
*/
|
|
38
12
|
updateSelf(): void;
|
|
39
13
|
fieldOnChange(event: any): void;
|
|
40
14
|
fieldOnBlur(event: any): void;
|
|
41
|
-
getErrorMessage(): string;
|
|
42
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<EmailComponent, never>;
|
|
43
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EmailComponent, "app-email", never, {
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EmailComponent, "app-email", never, {}, {}, never, never, true, never>;
|
|
44
17
|
}
|
|
45
18
|
export {};
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { FormControl, FormGroup } from '@angular/forms';
|
|
3
|
+
import { AngularPConnectData, AngularPConnectService } from '../../_bridge/angular-pconnect';
|
|
4
|
+
import { Utils } from '../../_helpers/utils';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class FieldBase implements OnInit, OnDestroy {
|
|
7
|
+
pConn$: typeof PConnect;
|
|
8
|
+
formGroup$: FormGroup;
|
|
9
|
+
protected angularPConnect: AngularPConnectService;
|
|
10
|
+
protected utils: Utils;
|
|
11
|
+
protected angularPConnectData: AngularPConnectData;
|
|
12
|
+
fieldControl: FormControl<any>;
|
|
13
|
+
controlName$: string;
|
|
14
|
+
actionsApi: object;
|
|
15
|
+
propName: string;
|
|
16
|
+
bHasForm$: boolean;
|
|
17
|
+
testId: string;
|
|
18
|
+
helperText: string;
|
|
19
|
+
placeholder: string;
|
|
20
|
+
value$: any;
|
|
21
|
+
label$: string;
|
|
22
|
+
hideLabel: boolean;
|
|
23
|
+
bRequired$: boolean;
|
|
24
|
+
bReadonly$: boolean;
|
|
25
|
+
bDisabled$: boolean;
|
|
26
|
+
bVisible$: boolean;
|
|
27
|
+
displayMode$: string;
|
|
28
|
+
/**
|
|
29
|
+
* Initializes the component, registers with AngularPConnect, and sets up form control.
|
|
30
|
+
*/
|
|
31
|
+
ngOnInit(): void;
|
|
32
|
+
/**
|
|
33
|
+
* Cleans up the component by removing it from the form group and unsubscribing from any observables.
|
|
34
|
+
*/
|
|
35
|
+
ngOnDestroy(): void;
|
|
36
|
+
onStateChange(): void;
|
|
37
|
+
checkAndUpdate(): void;
|
|
38
|
+
updateSelf(): void;
|
|
39
|
+
/**
|
|
40
|
+
* Updates the component's common properties based on the provided configuration.
|
|
41
|
+
*
|
|
42
|
+
* @param configProps The configuration properties to update.
|
|
43
|
+
*/
|
|
44
|
+
protected updateComponentCommonProperties(configProps: any): void;
|
|
45
|
+
/**
|
|
46
|
+
* Displays the validation message if it exists.
|
|
47
|
+
*/
|
|
48
|
+
private displayValidationMessage;
|
|
49
|
+
/**
|
|
50
|
+
* Retrieves the error message for the current field control.
|
|
51
|
+
*
|
|
52
|
+
* @returns The error message, or an empty string if no error is found.
|
|
53
|
+
*/
|
|
54
|
+
getErrorMessage(): string;
|
|
55
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FieldBase, never>;
|
|
56
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FieldBase, never, never, { "pConn$": { "alias": "pConn$"; "required": false; }; "formGroup$": { "alias": "formGroup$"; "required": false; }; }, {}, never, never, true, never>;
|
|
57
|
+
}
|
|
@@ -13,18 +13,21 @@ export declare class GroupComponent implements OnInit {
|
|
|
13
13
|
private angularPConnect;
|
|
14
14
|
pConn$: typeof PConnect;
|
|
15
15
|
formGroup$: FormGroup;
|
|
16
|
+
angularPConnectData: AngularPConnectData;
|
|
17
|
+
configProps$: GroupProps;
|
|
16
18
|
arChildren$: any[];
|
|
17
19
|
visibility$?: boolean;
|
|
18
20
|
showHeading$?: boolean;
|
|
19
21
|
heading$: string;
|
|
20
22
|
instructions$: string;
|
|
21
23
|
collapsible$: boolean;
|
|
22
|
-
angularPConnectData: AngularPConnectData;
|
|
23
|
-
configProps$: GroupProps;
|
|
24
24
|
constructor(angularPConnect: AngularPConnectService);
|
|
25
25
|
ngOnInit(): void;
|
|
26
26
|
onStateChange(): void;
|
|
27
27
|
checkAndUpdate(): void;
|
|
28
|
+
/**
|
|
29
|
+
* Updates the component when there are changes in the state.
|
|
30
|
+
*/
|
|
28
31
|
updateSelf(): void;
|
|
29
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<GroupComponent, never>;
|
|
30
33
|
static ɵcmp: i0.ɵɵComponentDeclaration<GroupComponent, "app-group", never, { "pConn$": { "alias": "pConn$"; "required": false; }; "formGroup$": { "alias": "formGroup$"; "required": false; }; }, {}, never, never, true, never>;
|
|
@@ -1,45 +1,19 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { AngularPConnectData, AngularPConnectService } from '../../../_bridge/angular-pconnect';
|
|
4
|
-
import { Utils } from '../../../_helpers/utils';
|
|
1
|
+
import { FormControl } from '@angular/forms';
|
|
2
|
+
import { FieldBase } from '../field.base';
|
|
5
3
|
import { PConnFieldProps } from '../../../_types/PConnProps.interface';
|
|
6
4
|
import * as i0 from "@angular/core";
|
|
7
5
|
interface IntegerProps extends PConnFieldProps {
|
|
8
6
|
}
|
|
9
|
-
export declare class IntegerComponent
|
|
10
|
-
private angularPConnect;
|
|
11
|
-
private cdRef;
|
|
12
|
-
private utils;
|
|
13
|
-
pConn$: typeof PConnect;
|
|
14
|
-
formGroup$: FormGroup;
|
|
15
|
-
angularPConnectData: AngularPConnectData;
|
|
7
|
+
export declare class IntegerComponent extends FieldBase {
|
|
16
8
|
configProps$: IntegerProps;
|
|
17
|
-
label$: string;
|
|
18
|
-
value$: number;
|
|
19
|
-
bRequired$: boolean;
|
|
20
|
-
bReadonly$: boolean;
|
|
21
|
-
bDisabled$: boolean;
|
|
22
|
-
bVisible$: boolean;
|
|
23
|
-
displayMode$?: string;
|
|
24
|
-
controlName$: string;
|
|
25
|
-
bHasForm$: boolean;
|
|
26
|
-
componentReference: string;
|
|
27
|
-
testId: string;
|
|
28
|
-
helperText: string;
|
|
29
|
-
placeholder: string;
|
|
30
9
|
fieldControl: FormControl<number | null>;
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
ngOnInit(): void;
|
|
35
|
-
ngOnDestroy(): void;
|
|
36
|
-
onStateChange(): void;
|
|
37
|
-
checkAndUpdate(): void;
|
|
10
|
+
/**
|
|
11
|
+
* Updates the component when there are changes in the state.
|
|
12
|
+
*/
|
|
38
13
|
updateSelf(): void;
|
|
39
14
|
fieldOnChange(event: any): void;
|
|
40
15
|
fieldOnBlur(event: any): void;
|
|
41
|
-
getErrorMessage(): string;
|
|
42
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<IntegerComponent, never>;
|
|
43
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IntegerComponent, "app-integer", never, {
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IntegerComponent, "app-integer", never, {}, {}, never, never, true, never>;
|
|
44
18
|
}
|
|
45
19
|
export {};
|
package/lib/_components/field/list-view-action-buttons/list-view-action-buttons.component.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ export declare class ListViewActionButtonsComponent {
|
|
|
4
4
|
pConn$: typeof PConnect;
|
|
5
5
|
context$: string;
|
|
6
6
|
closeActionsDialog: 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
|
isDisabled: boolean;
|
|
10
10
|
onCancel(): void;
|
|
@@ -42,7 +42,7 @@ export declare class LocationComponent implements OnInit, OnDestroy {
|
|
|
42
42
|
testId: string;
|
|
43
43
|
helperText: string;
|
|
44
44
|
placeholder: string;
|
|
45
|
-
actionsApi:
|
|
45
|
+
actionsApi: object;
|
|
46
46
|
valueProp: string;
|
|
47
47
|
coordinatesProp: string;
|
|
48
48
|
constructor(loader: GoogleMapsLoaderService, angularPConnect: AngularPConnectService, utils: Utils, cdRef: ChangeDetectorRef);
|
|
@@ -1,39 +1,13 @@
|
|
|
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 * as i0 from "@angular/core";
|
|
6
|
-
export declare class MultiselectComponent
|
|
7
|
-
|
|
8
|
-
private utils;
|
|
9
|
-
pConn$: typeof PConnect;
|
|
10
|
-
formGroup$: FormGroup;
|
|
11
|
-
angularPConnectData: AngularPConnectData;
|
|
12
|
-
label$: string;
|
|
13
|
-
value$: string;
|
|
14
|
-
bRequired$: boolean;
|
|
15
|
-
bDisabled$: boolean;
|
|
16
|
-
bVisible$: boolean;
|
|
17
|
-
controlName$: string;
|
|
18
|
-
bHasForm$: boolean;
|
|
3
|
+
export declare class MultiselectComponent extends FieldBase {
|
|
4
|
+
configProps$: any;
|
|
19
5
|
listType: string;
|
|
20
|
-
placeholder: string;
|
|
21
|
-
fieldControl: FormControl<string | null>;
|
|
22
6
|
parameters: {};
|
|
23
|
-
hideLabel: boolean;
|
|
24
|
-
configProps$: any;
|
|
25
7
|
referenceList: any;
|
|
26
8
|
selectionKey: string;
|
|
27
9
|
primaryField: string;
|
|
28
|
-
initialCaseClass: any;
|
|
29
10
|
showSecondaryInSearchOnly: boolean;
|
|
30
|
-
isGroupData: boolean;
|
|
31
|
-
referenceType: any;
|
|
32
|
-
secondaryFields: any;
|
|
33
|
-
groupDataSource: never[];
|
|
34
|
-
matchPosition: string;
|
|
35
|
-
maxResultsDisplay: any;
|
|
36
|
-
groupColumnsConfig: {}[];
|
|
37
11
|
selectionList: any;
|
|
38
12
|
listActions: any;
|
|
39
13
|
selectedItems: any[];
|
|
@@ -42,13 +16,9 @@ export declare class MultiselectComponent implements OnInit, OnDestroy {
|
|
|
42
16
|
dataApiObj: any;
|
|
43
17
|
itemsTree: any[];
|
|
44
18
|
trigger: any;
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
ngOnInit(): void;
|
|
49
|
-
ngOnDestroy(): void;
|
|
50
|
-
onStateChange(): void;
|
|
51
|
-
checkAndUpdate(): void;
|
|
19
|
+
/**
|
|
20
|
+
* Updates the component when there are changes in the state.
|
|
21
|
+
*/
|
|
52
22
|
updateSelf(): void;
|
|
53
23
|
setPropertyValuesFromProps(): void;
|
|
54
24
|
getCaseListBasedOnParams(searchText: any, group: any, selectedRows: any, currentItemsTree: any, isTriggeredFromSearch?: boolean): void;
|
|
@@ -58,7 +28,6 @@ export declare class MultiselectComponent implements OnInit, OnDestroy {
|
|
|
58
28
|
toggleSelection: (data: any) => void;
|
|
59
29
|
removeChip: (data: any) => void;
|
|
60
30
|
setSelectedItemsForReferenceList(data: any): void;
|
|
61
|
-
getErrorMessage(): string;
|
|
62
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<MultiselectComponent, never>;
|
|
63
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MultiselectComponent, "app-multiselect", never, {
|
|
32
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MultiselectComponent, "app-multiselect", never, {}, {}, never, never, true, never>;
|
|
64
33
|
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { OnInit, OnDestroy } from '@angular/core';
|
|
2
|
+
import { FormGroup } from '@angular/forms';
|
|
3
|
+
import { ComponentMetadataConfig } from '@pega/pcore-pconnect-typedefs/interpreter/types';
|
|
4
|
+
import { AngularPConnectData, AngularPConnectService } from '../../../_bridge/angular-pconnect';
|
|
5
|
+
import { PConnFieldProps } from '../../../_types/PConnProps.interface';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
interface ObjectReferenceProps extends PConnFieldProps {
|
|
8
|
+
showPromotedFilters: boolean;
|
|
9
|
+
inline: boolean;
|
|
10
|
+
parameters: object;
|
|
11
|
+
mode: string;
|
|
12
|
+
targetObjectType: any;
|
|
13
|
+
allowAndPersistChangesInReviewMode: boolean;
|
|
14
|
+
}
|
|
15
|
+
export declare class ObjectReferenceComponent implements OnInit, OnDestroy {
|
|
16
|
+
private angularPConnect;
|
|
17
|
+
pConn$: typeof PConnect;
|
|
18
|
+
formGroup$: FormGroup;
|
|
19
|
+
angularPConnectData: AngularPConnectData;
|
|
20
|
+
configProps: ObjectReferenceProps;
|
|
21
|
+
value: {
|
|
22
|
+
[key: string]: any;
|
|
23
|
+
};
|
|
24
|
+
readOnly: boolean;
|
|
25
|
+
isForm: boolean;
|
|
26
|
+
type: string;
|
|
27
|
+
isDisplayModeEnabled: boolean;
|
|
28
|
+
canBeChangedInReviewMode: boolean;
|
|
29
|
+
newComponentName: string;
|
|
30
|
+
newPconn: typeof PConnect;
|
|
31
|
+
rawViewMetadata: ComponentMetadataConfig | undefined;
|
|
32
|
+
constructor(angularPConnect: AngularPConnectService);
|
|
33
|
+
ngOnInit(): void;
|
|
34
|
+
onStateChange(): void;
|
|
35
|
+
ngOnDestroy(): void;
|
|
36
|
+
checkAndUpdate(): void;
|
|
37
|
+
updateSelf(): void;
|
|
38
|
+
onRecordChange(value: any): void;
|
|
39
|
+
private getComponentType;
|
|
40
|
+
private createSemanticLinkPConnect;
|
|
41
|
+
private createOtherComponentPConnect;
|
|
42
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ObjectReferenceComponent, never>;
|
|
43
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ObjectReferenceComponent, "app-object-reference", never, { "pConn$": { "alias": "pConn$"; "required": false; }; "formGroup$": { "alias": "formGroup$"; "required": false; }; }, {}, never, never, true, never>;
|
|
44
|
+
}
|
|
45
|
+
export {};
|
|
@@ -1,53 +1,36 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { AngularPConnectData, AngularPConnectService } from '../../../_bridge/angular-pconnect';
|
|
4
|
-
import { Utils } from '../../../_helpers/utils';
|
|
1
|
+
import { FormControl } from '@angular/forms';
|
|
2
|
+
import { FieldBase } from '../field.base';
|
|
5
3
|
import { PConnFieldProps } from '../../../_types/PConnProps.interface';
|
|
6
4
|
import * as i0 from "@angular/core";
|
|
7
|
-
interface PercentageProps extends PConnFieldProps {
|
|
5
|
+
interface PercentageProps extends Omit<PConnFieldProps, 'value'> {
|
|
6
|
+
value?: number;
|
|
8
7
|
showGroupSeparators?: string;
|
|
9
8
|
decimalPrecision?: number;
|
|
10
9
|
currencyISOCode?: string;
|
|
11
10
|
}
|
|
12
|
-
export declare class PercentageComponent
|
|
13
|
-
private angularPConnect;
|
|
14
|
-
private cdRef;
|
|
15
|
-
private utils;
|
|
16
|
-
pConn$: typeof PConnect;
|
|
17
|
-
formGroup$: FormGroup;
|
|
18
|
-
angularPConnectData: AngularPConnectData;
|
|
11
|
+
export declare class PercentageComponent extends FieldBase {
|
|
19
12
|
configProps$: PercentageProps;
|
|
20
|
-
|
|
21
|
-
value$: number;
|
|
22
|
-
bRequired$: boolean;
|
|
23
|
-
bReadonly$: boolean;
|
|
24
|
-
bDisabled$: boolean;
|
|
25
|
-
bVisible$: boolean;
|
|
26
|
-
displayMode$?: string;
|
|
27
|
-
controlName$: string;
|
|
28
|
-
bHasForm$: boolean;
|
|
29
|
-
componentReference: string;
|
|
30
|
-
testId: string;
|
|
31
|
-
helperText: string;
|
|
32
|
-
placeholder: string;
|
|
13
|
+
fieldControl: FormControl<number | null>;
|
|
33
14
|
decimalSeparator: string;
|
|
34
15
|
thousandSeparator: string;
|
|
35
16
|
inputMode: any;
|
|
36
17
|
decimalPrecision: number | undefined;
|
|
37
|
-
fieldControl: FormControl<number | null>;
|
|
38
|
-
actionsApi: Object;
|
|
39
|
-
propName: string;
|
|
40
18
|
formattedValue: string;
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
onStateChange(): void;
|
|
45
|
-
checkAndUpdate(): void;
|
|
19
|
+
/**
|
|
20
|
+
* Updates the component when there are changes in the state.
|
|
21
|
+
*/
|
|
46
22
|
updateSelf(): void;
|
|
23
|
+
/**
|
|
24
|
+
* Updates the percentage properties
|
|
25
|
+
*
|
|
26
|
+
* @param {Object} configProps - Configuration properties.
|
|
27
|
+
* @param {boolean} configProps.showGroupSeparators - Whether to show group separators.
|
|
28
|
+
* @param {number} configProps.decimalPrecision - The number of decimal places to display.
|
|
29
|
+
*/
|
|
30
|
+
updatePercentageProperties(configProps: any): void;
|
|
47
31
|
fieldOnChange(event: any): void;
|
|
48
32
|
fieldOnBlur(event: any): void;
|
|
49
|
-
getErrorMessage(): string;
|
|
50
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<PercentageComponent, never>;
|
|
51
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PercentageComponent, "app-percentage", never, {
|
|
34
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PercentageComponent, "app-percentage", never, {}, {}, never, never, true, never>;
|
|
52
35
|
}
|
|
53
36
|
export {};
|
|
@@ -1,46 +1,20 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { FormControl, FormGroup } from '@angular/forms';
|
|
3
|
-
import { Utils } from '../../../_helpers/utils';
|
|
4
|
-
import { AngularPConnectData, AngularPConnectService } from '../../../_bridge/angular-pconnect';
|
|
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 PhoneProps extends PConnFieldProps {
|
|
8
5
|
}
|
|
9
|
-
export declare class PhoneComponent
|
|
10
|
-
private angularPConnect;
|
|
11
|
-
private cdRef;
|
|
12
|
-
private utils;
|
|
13
|
-
pConn$: typeof PConnect;
|
|
14
|
-
formGroup$: FormGroup;
|
|
15
|
-
angularPConnectData: AngularPConnectData;
|
|
6
|
+
export declare class PhoneComponent extends FieldBase {
|
|
16
7
|
configProps$: PhoneProps;
|
|
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
|
-
bHasForm$: boolean;
|
|
26
|
-
testId: string;
|
|
27
|
-
helperText: string;
|
|
28
|
-
placeholder: string;
|
|
29
|
-
fieldControl: FormControl<string | null>;
|
|
30
|
-
actionsApi: Object;
|
|
31
|
-
propName: string;
|
|
32
8
|
preferredCountries: string[];
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
onStateChange(): void;
|
|
37
|
-
checkAndUpdate(): void;
|
|
9
|
+
/**
|
|
10
|
+
* Updates the component when there are changes in the state.
|
|
11
|
+
*/
|
|
38
12
|
updateSelf(): void;
|
|
39
13
|
fieldOnBlur(): void;
|
|
40
14
|
fieldOnChange(): void;
|
|
41
15
|
updatePreferredCountries(): void;
|
|
42
16
|
getErrorMessage(): string;
|
|
43
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<PhoneComponent, never>;
|
|
44
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PhoneComponent, "app-phone", never, {
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PhoneComponent, "app-phone", never, {}, {}, never, never, true, never>;
|
|
45
19
|
}
|
|
46
20
|
export {};
|
|
@@ -1,7 +1,4 @@
|
|
|
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 IOption {
|
|
@@ -13,50 +10,31 @@ interface RadioButtonsProps extends PConnFieldProps {
|
|
|
13
10
|
fieldMetadata?: any;
|
|
14
11
|
variant?: string;
|
|
15
12
|
}
|
|
16
|
-
export declare class RadioButtonsComponent
|
|
17
|
-
private angularPConnect;
|
|
18
|
-
private cdRef;
|
|
19
|
-
private utils;
|
|
20
|
-
pConn$: typeof PConnect;
|
|
21
|
-
formGroup$: FormGroup;
|
|
22
|
-
angularPConnectData: AngularPConnectData;
|
|
13
|
+
export declare class RadioButtonsComponent extends FieldBase {
|
|
23
14
|
configProps$: RadioButtonsProps;
|
|
24
|
-
label$: string;
|
|
25
|
-
value$: string;
|
|
26
|
-
bRequired$: boolean;
|
|
27
|
-
bReadonly$: boolean;
|
|
28
|
-
bDisabled$: boolean;
|
|
29
|
-
bVisible$: boolean;
|
|
30
15
|
bInline$: boolean;
|
|
31
|
-
displayMode$?: string;
|
|
32
|
-
controlName$: string;
|
|
33
|
-
bHasForm$: boolean;
|
|
34
16
|
options$: IOption[];
|
|
35
17
|
componentReference: string;
|
|
36
|
-
testId: string;
|
|
37
|
-
helperText: string;
|
|
38
|
-
placeholder: string;
|
|
39
|
-
fieldControl: FormControl<string | null>;
|
|
40
18
|
fieldMetadata: any[];
|
|
41
19
|
localeContext: string;
|
|
42
20
|
localeClass: string;
|
|
43
21
|
localeName: string;
|
|
44
22
|
localePath: string;
|
|
45
23
|
localizedValue: string;
|
|
46
|
-
actionsApi: Object;
|
|
47
|
-
propName: string;
|
|
48
24
|
variant?: string;
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
onStateChange(): void;
|
|
53
|
-
checkAndUpdate(): void;
|
|
25
|
+
/**
|
|
26
|
+
* Updates the component when there are changes in the state.
|
|
27
|
+
*/
|
|
54
28
|
updateSelf(): void;
|
|
29
|
+
/**
|
|
30
|
+
* Updates radio buttons properties based on the provided config props.
|
|
31
|
+
* @param configProps Configuration properties.
|
|
32
|
+
*/
|
|
33
|
+
protected updateRadioButtonsProperties(configProps: any): void;
|
|
55
34
|
isSelected(buttonValue: string): boolean;
|
|
56
35
|
fieldOnChange(event: any): void;
|
|
57
36
|
getLocalizedOptionValue(opt: IOption): string;
|
|
58
|
-
getErrorMessage(): string;
|
|
59
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<RadioButtonsComponent, never>;
|
|
60
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RadioButtonsComponent, "app-radio-buttons", never, {
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RadioButtonsComponent, "app-radio-buttons", never, {}, {}, never, never, true, never>;
|
|
61
39
|
}
|
|
62
40
|
export {};
|
|
@@ -1,43 +1,20 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { 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 RichTextProps extends PConnFieldProps {
|
|
8
5
|
}
|
|
9
|
-
export declare class RichTextComponent
|
|
10
|
-
private angularPConnect;
|
|
11
|
-
private utils;
|
|
12
|
-
pConn$: typeof PConnect;
|
|
13
|
-
formGroup$: FormGroup;
|
|
14
|
-
angularPConnectData: AngularPConnectData;
|
|
6
|
+
export declare class RichTextComponent extends FieldBase {
|
|
15
7
|
configProps$: RichTextProps;
|
|
16
|
-
label$: string;
|
|
17
|
-
value$: string;
|
|
18
|
-
bRequired$: boolean;
|
|
19
|
-
bReadonly$: boolean;
|
|
20
|
-
bDisabled$: boolean;
|
|
21
|
-
bVisible$: boolean;
|
|
22
|
-
displayMode$?: string;
|
|
23
|
-
controlName$: string;
|
|
24
|
-
testId: string;
|
|
25
|
-
helperText: string;
|
|
26
|
-
placeholder: any;
|
|
27
8
|
info: any;
|
|
28
9
|
error: boolean;
|
|
29
10
|
status: any;
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
ngOnInit(): void;
|
|
34
|
-
ngOnDestroy(): void;
|
|
35
|
-
onStateChange(): void;
|
|
36
|
-
checkAndUpdate(): void;
|
|
11
|
+
/**
|
|
12
|
+
* Updates the component when there are changes in the state.
|
|
13
|
+
*/
|
|
37
14
|
updateSelf(): void;
|
|
38
15
|
fieldOnChange(editorValue: any): void;
|
|
39
16
|
fieldOnBlur(editorValue: any): void;
|
|
40
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<RichTextComponent, never>;
|
|
41
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RichTextComponent, "app-rich-text", never, {
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RichTextComponent, "app-rich-text", never, {}, {}, never, never, true, never>;
|
|
42
19
|
}
|
|
43
20
|
export {};
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { FormControl, FormGroup } from '@angular/forms';
|
|
3
|
-
import { AngularPConnectData, AngularPConnectService } from '../../../_bridge/angular-pconnect';
|
|
1
|
+
import { FieldBase } from '../field.base';
|
|
4
2
|
import { PConnFieldProps } from '../../../_types/PConnProps.interface';
|
|
5
3
|
import * as i0 from "@angular/core";
|
|
6
4
|
interface ScalarListProps extends Omit<PConnFieldProps, 'value'> {
|
|
@@ -9,28 +7,15 @@ interface ScalarListProps extends Omit<PConnFieldProps, 'value'> {
|
|
|
9
7
|
componentType: string;
|
|
10
8
|
restProps?: object;
|
|
11
9
|
}
|
|
12
|
-
export declare class ScalarListComponent
|
|
13
|
-
private angularPConnect;
|
|
14
|
-
pConn$: typeof PConnect;
|
|
15
|
-
formGroup$: FormGroup;
|
|
16
|
-
angularPConnectData: AngularPConnectData;
|
|
10
|
+
export declare class ScalarListComponent extends FieldBase {
|
|
17
11
|
configProps$: ScalarListProps;
|
|
18
|
-
label$: string;
|
|
19
|
-
value$: any;
|
|
20
|
-
displayMode$?: string;
|
|
21
12
|
items: any[];
|
|
22
13
|
isDisplayModeEnabled: boolean;
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
bReadonly$: boolean;
|
|
27
|
-
constructor(angularPConnect: AngularPConnectService);
|
|
28
|
-
ngOnInit(): void;
|
|
29
|
-
ngOnDestroy(): void;
|
|
30
|
-
onStateChange(): void;
|
|
31
|
-
checkAndUpdate(): void;
|
|
14
|
+
/**
|
|
15
|
+
* Updates the component when there are changes in the state.
|
|
16
|
+
*/
|
|
32
17
|
updateSelf(): void;
|
|
33
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<ScalarListComponent, never>;
|
|
34
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ScalarListComponent, "app-scalar-list", never, {
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScalarListComponent, "app-scalar-list", never, {}, {}, never, never, true, never>;
|
|
35
20
|
}
|
|
36
21
|
export {};
|