@pega/angular-sdk-components 24.2.12 → 25.1.10
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 +4828 -3717
- 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 +18 -0
- package/lib/_components/designSystemExtension/material-case-summary/material-case-summary.component.d.ts +1 -1
- package/lib/_components/designSystemExtension/rich-text-editor/rich-text-editor.component.d.ts +1 -0
- 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 +10 -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 +12 -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 +47 -0
- 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 +8 -31
- package/lib/_components/field/radio-buttons/radio-buttons.component.d.ts +13 -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 +62 -0
- 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/flow-container/flow-container.component.d.ts +1 -0
- 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/base/details-template-base.d.ts +1 -1
- package/lib/_components/template/base/form-template-base.d.ts +1 -1
- package/lib/_components/template/case-summary/case-summary.component.d.ts +3 -2
- package/lib/_components/template/case-view/case-view.component.d.ts +0 -1
- 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/field-group-template/field-group-template.component.d.ts +3 -5
- package/lib/_components/template/list-view/list-view.component.d.ts +21 -5
- 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 +58 -0
- package/lib/_components/template/simple-table-manual/helpers.d.ts +15 -1
- 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/file-utility/file-utility.component.d.ts +3 -1
- 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/object-utils.d.ts +8 -0
- 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 +5 -1
- package/lib/_services/case.service.d.ts +1 -1
- package/lib/_services/data-reference-advanced-search.service.d.ts +9 -0
- package/lib/_services/datapage.service.d.ts +1 -1
- package/lib/_services/google-maps-loader.service.d.ts +7 -0
- package/package.json +20 -6
- package/public-api.d.ts +14 -1
- package/esm2022/lib/_bridge/angular-pconnect.mjs +0 -428
- package/esm2022/lib/_bridge/component-mapper/component-mapper.component.mjs +0 -107
- package/esm2022/lib/_bridge/helpers/sdk-pega-component-map.mjs +0 -239
- package/esm2022/lib/_bridge/helpers/sdk_component_map.mjs +0 -142
- package/esm2022/lib/_components/designSystemExtension/alert/alert.component.mjs +0 -50
- package/esm2022/lib/_components/designSystemExtension/alert-banner/alert-banner.component.mjs +0 -29
- package/esm2022/lib/_components/designSystemExtension/banner/banner.component.mjs +0 -31
- package/esm2022/lib/_components/designSystemExtension/case-create-stage/case-create-stage.component.mjs +0 -51
- package/esm2022/lib/_components/designSystemExtension/field-group/field-group.component.mjs +0 -31
- package/esm2022/lib/_components/designSystemExtension/material-case-summary/material-case-summary.component.mjs +0 -82
- package/esm2022/lib/_components/designSystemExtension/material-details/material-details.component.mjs +0 -37
- package/esm2022/lib/_components/designSystemExtension/material-details-fields/material-details-fields.component.mjs +0 -38
- package/esm2022/lib/_components/designSystemExtension/material-summary-item/material-summary-item.component.mjs +0 -36
- package/esm2022/lib/_components/designSystemExtension/material-summary-list/material-summary-list.component.mjs +0 -25
- package/esm2022/lib/_components/designSystemExtension/material-utility/material-utility.component.mjs +0 -28
- package/esm2022/lib/_components/designSystemExtension/material-vertical-tabs/material-vertical-tabs.component.mjs +0 -42
- package/esm2022/lib/_components/designSystemExtension/operator/operator.component.mjs +0 -145
- package/esm2022/lib/_components/designSystemExtension/pulse/pulse.component.mjs +0 -33
- package/esm2022/lib/_components/designSystemExtension/rich-text-editor/rich-text-editor.component.mjs +0 -93
- package/esm2022/lib/_components/designSystemExtension/wss-quick-create/wss-quick-create.component.mjs +0 -18
- package/esm2022/lib/_components/field/auto-complete/auto-complete.component.mjs +0 -296
- package/esm2022/lib/_components/field/cancel-alert/cancel-alert.component.mjs +0 -96
- package/esm2022/lib/_components/field/check-box/check-box.component.mjs +0 -225
- package/esm2022/lib/_components/field/currency/currency.component.mjs +0 -195
- package/esm2022/lib/_components/field/date/date.component.mjs +0 -205
- package/esm2022/lib/_components/field/date-time/date-time.component.mjs +0 -196
- package/esm2022/lib/_components/field/decimal/decimal.component.mjs +0 -205
- package/esm2022/lib/_components/field/dropdown/dropdown.component.mjs +0 -300
- package/esm2022/lib/_components/field/email/email.component.mjs +0 -165
- package/esm2022/lib/_components/field/group/group.component.mjs +0 -64
- package/esm2022/lib/_components/field/integer/integer.component.mjs +0 -168
- package/esm2022/lib/_components/field/list-view-action-buttons/list-view-action-buttons.component.mjs +0 -45
- package/esm2022/lib/_components/field/multiselect/multiselect.component.mjs +0 -314
- package/esm2022/lib/_components/field/multiselect/utils.mjs +0 -187
- package/esm2022/lib/_components/field/percentage/percentage.component.mjs +0 -190
- package/esm2022/lib/_components/field/phone/phone.component.mjs +0 -155
- package/esm2022/lib/_components/field/radio-buttons/radio-buttons.component.mjs +0 -182
- package/esm2022/lib/_components/field/rich-text/rich-text.component.mjs +0 -109
- package/esm2022/lib/_components/field/scalar-list/scalar-list.component.mjs +0 -95
- package/esm2022/lib/_components/field/semantic-link/semantic-link.component.mjs +0 -57
- package/esm2022/lib/_components/field/text/text.component.mjs +0 -142
- package/esm2022/lib/_components/field/text-area/text-area.component.mjs +0 -165
- package/esm2022/lib/_components/field/text-content/text-content.component.mjs +0 -69
- package/esm2022/lib/_components/field/text-input/text-input.component.mjs +0 -165
- package/esm2022/lib/_components/field/time/time.component.mjs +0 -174
- package/esm2022/lib/_components/field/url/url.component.mjs +0 -165
- package/esm2022/lib/_components/field/user-reference/user-reference.component.mjs +0 -266
- package/esm2022/lib/_components/infra/Containers/base-components/flow-container-base.component.mjs +0 -18
- package/esm2022/lib/_components/infra/Containers/base-components/helper.mjs +0 -71
- package/esm2022/lib/_components/infra/Containers/flow-container/flow-container.component.mjs +0 -461
- package/esm2022/lib/_components/infra/Containers/flow-container/helpers.mjs +0 -68
- package/esm2022/lib/_components/infra/Containers/hybrid-view-container/hybrid-view-container.component.mjs +0 -24
- package/esm2022/lib/_components/infra/Containers/modal-view-container/modal-view-container.component.mjs +0 -335
- package/esm2022/lib/_components/infra/Containers/preview-view-container/preview-view-container.component.mjs +0 -32
- package/esm2022/lib/_components/infra/Containers/view-container/helper.mjs +0 -22
- package/esm2022/lib/_components/infra/Containers/view-container/view-container.component.mjs +0 -211
- package/esm2022/lib/_components/infra/action-buttons/action-buttons.component.mjs +0 -31
- package/esm2022/lib/_components/infra/assignment/assignment.component.mjs +0 -407
- package/esm2022/lib/_components/infra/assignment-card/assignment-card.component.mjs +0 -47
- package/esm2022/lib/_components/infra/dashboard-filter/dashboard-filter.component.mjs +0 -87
- package/esm2022/lib/_components/infra/defer-load/defer-load.component.mjs +0 -143
- package/esm2022/lib/_components/infra/error-boundary/error-boundary.component.mjs +0 -18
- package/esm2022/lib/_components/infra/multi-step/multi-step.component.mjs +0 -80
- package/esm2022/lib/_components/infra/navbar/navbar.component.mjs +0 -136
- package/esm2022/lib/_components/infra/reference/reference.component.mjs +0 -126
- package/esm2022/lib/_components/infra/region/region.component.mjs +0 -33
- package/esm2022/lib/_components/infra/root-container/root-container.component.mjs +0 -223
- package/esm2022/lib/_components/infra/stages/stages.component.mjs +0 -62
- package/esm2022/lib/_components/infra/view/view.component.mjs +0 -188
- package/esm2022/lib/_components/template/app-shell/app-shell.component.mjs +0 -156
- package/esm2022/lib/_components/template/banner-page/banner-page.component.mjs +0 -43
- package/esm2022/lib/_components/template/base/details-template-base.mjs +0 -56
- package/esm2022/lib/_components/template/base/form-template-base.mjs +0 -16
- package/esm2022/lib/_components/template/case-summary/case-summary.component.mjs +0 -101
- package/esm2022/lib/_components/template/case-view/case-view.component.mjs +0 -185
- package/esm2022/lib/_components/template/confirmation/confirmation.component.mjs +0 -68
- package/esm2022/lib/_components/template/data-reference/data-reference.component.mjs +0 -242
- package/esm2022/lib/_components/template/default-form/default-form.component.mjs +0 -73
- package/esm2022/lib/_components/template/details/details.component.mjs +0 -76
- package/esm2022/lib/_components/template/details-narrow-wide/details-narrow-wide.component.mjs +0 -45
- package/esm2022/lib/_components/template/details-one-column/details-one-column.component.mjs +0 -42
- package/esm2022/lib/_components/template/details-sub-tabs/details-sub-tabs.component.mjs +0 -39
- package/esm2022/lib/_components/template/details-three-column/details-three-column.component.mjs +0 -51
- package/esm2022/lib/_components/template/details-two-column/details-two-column.component.mjs +0 -48
- package/esm2022/lib/_components/template/details-wide-narrow/details-wide-narrow.component.mjs +0 -48
- package/esm2022/lib/_components/template/dynamic-tabs/dynamic-tabs.component.mjs +0 -65
- package/esm2022/lib/_components/template/field-group-list/field-group-list.component.mjs +0 -23
- package/esm2022/lib/_components/template/field-group-template/field-group-template.component.mjs +0 -131
- package/esm2022/lib/_components/template/field-value-list/field-value-list.component.mjs +0 -24
- package/esm2022/lib/_components/template/inline-dashboard/inline-dashboard.component.mjs +0 -22
- package/esm2022/lib/_components/template/inline-dashboard-page/inline-dashboard-page.component.mjs +0 -40
- package/esm2022/lib/_components/template/list-page/list-page.component.mjs +0 -14
- package/esm2022/lib/_components/template/list-view/DefaultViewMeta.mjs +0 -208
- package/esm2022/lib/_components/template/list-view/list-view.component.mjs +0 -1217
- package/esm2022/lib/_components/template/list-view/listViewHelpers.mjs +0 -60
- package/esm2022/lib/_components/template/list-view/utils.mjs +0 -662
- package/esm2022/lib/_components/template/multi-reference-readonly/multi-reference-readonly.component.mjs +0 -44
- package/esm2022/lib/_components/template/narrow-wide-form/narrow-wide-form.component.mjs +0 -30
- package/esm2022/lib/_components/template/one-column/one-column.component.mjs +0 -31
- package/esm2022/lib/_components/template/one-column-page/one-column-page.component.mjs +0 -16
- package/esm2022/lib/_components/template/one-column-tab/one-column-tab.component.mjs +0 -30
- package/esm2022/lib/_components/template/page/page.component.mjs +0 -52
- package/esm2022/lib/_components/template/promoted-filters/promoted-filters.component.mjs +0 -149
- package/esm2022/lib/_components/template/repeating-structures/repeating-structures.component.mjs +0 -138
- package/esm2022/lib/_components/template/simple-table/simple-table.component.mjs +0 -104
- package/esm2022/lib/_components/template/simple-table-manual/helpers.mjs +0 -271
- package/esm2022/lib/_components/template/simple-table-manual/simple-table-manual.component.mjs +0 -813
- package/esm2022/lib/_components/template/simple-table-select/simple-table-select.component.mjs +0 -129
- package/esm2022/lib/_components/template/single-reference-readonly/single-reference-readonly.component.mjs +0 -16
- package/esm2022/lib/_components/template/sub-tabs/sub-tabs.component.mjs +0 -67
- package/esm2022/lib/_components/template/three-column/three-column.component.mjs +0 -31
- package/esm2022/lib/_components/template/three-column-page/three-column-page.component.mjs +0 -16
- package/esm2022/lib/_components/template/two-column/two-column.component.mjs +0 -31
- package/esm2022/lib/_components/template/two-column-page/two-column-page.component.mjs +0 -40
- package/esm2022/lib/_components/template/two-column-tab/two-column-tab.component.mjs +0 -30
- package/esm2022/lib/_components/template/utils.mjs +0 -38
- package/esm2022/lib/_components/template/wide-narrow-form/wide-narrow-form.component.mjs +0 -31
- package/esm2022/lib/_components/template/wide-narrow-page/wide-narrow-page.component.mjs +0 -53
- package/esm2022/lib/_components/template/wss-nav-bar/wss-nav-bar.component.mjs +0 -137
- package/esm2022/lib/_components/widget/app-announcement/app-announcement.component.mjs +0 -24
- package/esm2022/lib/_components/widget/attachment/attachment.component.mjs +0 -393
- package/esm2022/lib/_components/widget/case-history/case-history.component.mjs +0 -80
- package/esm2022/lib/_components/widget/feed-container/feed-container.component.mjs +0 -521
- package/esm2022/lib/_components/widget/file-utility/file-utility.component.mjs +0 -638
- package/esm2022/lib/_components/widget/list-utility/list-utility.component.mjs +0 -57
- package/esm2022/lib/_components/widget/quick-create/quick-create.component.mjs +0 -75
- package/esm2022/lib/_components/widget/todo/todo.component.mjs +0 -230
- package/esm2022/lib/_components/widget/utility/utility.component.mjs +0 -34
- package/esm2022/lib/_directives/thousand-seperator.directive.mjs +0 -28
- package/esm2022/lib/_helpers/case-utils.mjs +0 -71
- package/esm2022/lib/_helpers/common.mjs +0 -20
- package/esm2022/lib/_helpers/createstage-utils.mjs +0 -15
- package/esm2022/lib/_helpers/currency-utils.mjs +0 -57
- package/esm2022/lib/_helpers/date-format-utils.mjs +0 -68
- package/esm2022/lib/_helpers/event-util.mjs +0 -18
- package/esm2022/lib/_helpers/field-group-utils.mjs +0 -47
- package/esm2022/lib/_helpers/filter-utils.mjs +0 -105
- package/esm2022/lib/_helpers/formatters/boolean.mjs +0 -20
- package/esm2022/lib/_helpers/formatters/common.mjs +0 -17
- package/esm2022/lib/_helpers/formatters/currency-map.mjs +0 -903
- package/esm2022/lib/_helpers/formatters/currency.mjs +0 -68
- package/esm2022/lib/_helpers/formatters/date.mjs +0 -69
- package/esm2022/lib/_helpers/formatters/format-utils.mjs +0 -76
- package/esm2022/lib/_helpers/formatters/index.mjs +0 -124
- package/esm2022/lib/_helpers/instructions-utils.mjs +0 -36
- package/esm2022/lib/_helpers/tab-utils.mjs +0 -59
- package/esm2022/lib/_helpers/template-utils.mjs +0 -56
- package/esm2022/lib/_helpers/utils.mjs +0 -412
- package/esm2022/lib/_helpers/versionHelpers.mjs +0 -12
- package/esm2022/lib/_messages/error-messages.service.mjs +0 -31
- package/esm2022/lib/_messages/progress-spinner.service.mjs +0 -30
- package/esm2022/lib/_messages/update-worklist.service.mjs +0 -30
- package/esm2022/lib/_services/banner.service.mjs +0 -35
- package/esm2022/lib/_services/case.service.mjs +0 -32
- package/esm2022/lib/_services/datapage.service.mjs +0 -52
- package/esm2022/lib/_services/endpoints.mjs +0 -60
- package/esm2022/lib/_services/server-config.service.mjs +0 -52
- package/esm2022/lib/_types/PConnProps.interface.mjs +0 -2
- package/esm2022/pega-angular-sdk-components.mjs +0 -5
- package/esm2022/public-api.mjs +0 -145
- package/esm2022/sdk-local-component-map.mjs +0 -9
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
import { OnInit,
|
|
2
|
-
import {
|
|
3
|
-
import { AngularPConnectData, AngularPConnectService } from '../../../_bridge/angular-pconnect';
|
|
4
|
-
import { DatapageService } from '../../../_services/datapage.service';
|
|
5
|
-
import { Utils } from '../../../_helpers/utils';
|
|
1
|
+
import { OnInit, OnDestroy, EventEmitter } from '@angular/core';
|
|
2
|
+
import { FieldBase } from '../field.base';
|
|
6
3
|
import { PConnFieldProps } from '../../../_types/PConnProps.interface';
|
|
7
4
|
import * as i0 from "@angular/core";
|
|
8
5
|
interface IOption {
|
|
@@ -19,53 +16,32 @@ interface DropdownProps extends PConnFieldProps {
|
|
|
19
16
|
datasourceMetadata?: any;
|
|
20
17
|
parameters?: any;
|
|
21
18
|
}
|
|
22
|
-
export declare class DropdownComponent implements OnInit, OnDestroy {
|
|
23
|
-
|
|
24
|
-
private cdRef;
|
|
25
|
-
private utils;
|
|
26
|
-
private dataPageService;
|
|
27
|
-
pConn$: typeof PConnect;
|
|
28
|
-
formGroup$: FormGroup;
|
|
29
|
-
angularPConnectData: AngularPConnectData;
|
|
19
|
+
export declare class DropdownComponent extends FieldBase implements OnInit, OnDestroy {
|
|
20
|
+
onRecordChange: EventEmitter<any>;
|
|
30
21
|
configProps$: DropdownProps;
|
|
31
|
-
label$: string;
|
|
32
|
-
value$: string;
|
|
33
|
-
bRequired$: boolean;
|
|
34
|
-
bReadonly$: boolean;
|
|
35
|
-
bDisabled$: boolean;
|
|
36
|
-
bVisible$: boolean;
|
|
37
|
-
displayMode$?: string;
|
|
38
|
-
controlName$: string;
|
|
39
|
-
bHasForm$: boolean;
|
|
40
22
|
options$: IOption[];
|
|
41
|
-
componentReference: string;
|
|
42
|
-
testId: string;
|
|
43
|
-
helperText: string;
|
|
44
|
-
hideLabel: any;
|
|
45
23
|
theDatasource: any[] | null;
|
|
46
|
-
fieldControl: FormControl<string | null>;
|
|
47
|
-
fieldMetadata: any[];
|
|
48
24
|
localeContext: string;
|
|
49
25
|
localeClass: string;
|
|
50
26
|
localeName: string;
|
|
51
27
|
localePath: string;
|
|
52
28
|
localizedValue: string;
|
|
53
|
-
actionsApi: Object;
|
|
54
|
-
propName: string;
|
|
55
|
-
constructor(angularPConnect: AngularPConnectService, cdRef: ChangeDetectorRef, utils: Utils, dataPageService: DatapageService);
|
|
56
|
-
ngOnInit(): void;
|
|
57
29
|
set options(options: IOption[]);
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
30
|
+
/**
|
|
31
|
+
* Updates the component when there are changes in the state.
|
|
32
|
+
*/
|
|
61
33
|
updateSelf(): void;
|
|
34
|
+
/**
|
|
35
|
+
* Updates dropdown properties based on the provided configuration.
|
|
36
|
+
* @param configProps - Configuration properties
|
|
37
|
+
*/
|
|
38
|
+
updateDropdownProperties(configProps: any): void;
|
|
62
39
|
getDatapageData(): void;
|
|
63
40
|
getData(dataSource: any, parameters: any, columns: any, context: any, listType: any): void;
|
|
64
41
|
isSelected(buttonValue: string): boolean;
|
|
65
42
|
fieldOnChange(event: any): void;
|
|
66
43
|
getLocalizedOptionValue(opt: IOption): string;
|
|
67
|
-
getErrorMessage(): string;
|
|
68
44
|
static ɵfac: i0.ɵɵFactoryDeclaration<DropdownComponent, never>;
|
|
69
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DropdownComponent, "app-dropdown", never, {
|
|
45
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DropdownComponent, "app-dropdown", never, {}, { "onRecordChange": "onRecordChange"; }, never, never, true, never>;
|
|
70
46
|
}
|
|
71
47
|
export {};
|
|
@@ -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;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { FieldBase } from '../field.base';
|
|
2
|
+
import { PConnFieldProps } from '../../../_types/PConnProps.interface';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
interface LocationProps extends PConnFieldProps {
|
|
5
|
+
coordinates: string;
|
|
6
|
+
showMap: boolean;
|
|
7
|
+
onlyCoordinates: boolean;
|
|
8
|
+
showMapReadOnly: boolean;
|
|
9
|
+
}
|
|
10
|
+
export declare class LocationComponent extends FieldBase {
|
|
11
|
+
private loader;
|
|
12
|
+
private autocompleteService;
|
|
13
|
+
private geocoder;
|
|
14
|
+
mapReady: boolean;
|
|
15
|
+
isLocating: boolean;
|
|
16
|
+
showMap: boolean;
|
|
17
|
+
filteredOptions: string[];
|
|
18
|
+
center: google.maps.LatLngLiteral;
|
|
19
|
+
markerPosition: google.maps.LatLngLiteral | null;
|
|
20
|
+
configProps$: LocationProps;
|
|
21
|
+
onlyCoordinates: boolean;
|
|
22
|
+
coordinates: string;
|
|
23
|
+
showMapReadOnly$: boolean;
|
|
24
|
+
valueProp: string;
|
|
25
|
+
coordinatesProp: string;
|
|
26
|
+
ngOnInit(): Promise<void>;
|
|
27
|
+
/**
|
|
28
|
+
* Updates the component when there are changes in the state.
|
|
29
|
+
*/
|
|
30
|
+
updateSelf(): void;
|
|
31
|
+
onOptionSelected(event: any): void;
|
|
32
|
+
fieldOnBlur(): void;
|
|
33
|
+
locateMe(): void;
|
|
34
|
+
onMapClick(event: google.maps.MapMouseEvent): void;
|
|
35
|
+
private tryGetLocation;
|
|
36
|
+
private initializeGoogleServices;
|
|
37
|
+
private getPlacePredictions;
|
|
38
|
+
private isCoordinateString;
|
|
39
|
+
private getSuggestions;
|
|
40
|
+
private updateMap;
|
|
41
|
+
private updateProps;
|
|
42
|
+
private setCoordinates;
|
|
43
|
+
private setLocationValue;
|
|
44
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LocationComponent, never>;
|
|
45
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LocationComponent, "app-location", never, {}, {}, never, never, true, never>;
|
|
46
|
+
}
|
|
47
|
+
export {};
|
|
@@ -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,43 +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
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
bDisabled$: boolean;
|
|
22
|
-
bVisible$: boolean;
|
|
23
|
-
displayMode$?: string;
|
|
24
|
-
controlName$: string;
|
|
25
|
-
bHasForm$: boolean;
|
|
26
|
-
testId: string;
|
|
27
|
-
helperText: string;
|
|
28
|
-
fieldControl: FormControl<string | null>;
|
|
29
|
-
actionsApi: Object;
|
|
30
|
-
propName: string;
|
|
31
|
-
constructor(angularPConnect: AngularPConnectService, cdRef: ChangeDetectorRef, utils: Utils);
|
|
32
|
-
ngOnInit(): void;
|
|
33
|
-
ngOnDestroy(): void;
|
|
34
|
-
onStateChange(): void;
|
|
35
|
-
checkAndUpdate(): void;
|
|
8
|
+
preferredCountries: string[];
|
|
9
|
+
/**
|
|
10
|
+
* Updates the component when there are changes in the state.
|
|
11
|
+
*/
|
|
36
12
|
updateSelf(): void;
|
|
37
13
|
fieldOnBlur(): void;
|
|
38
14
|
fieldOnChange(): void;
|
|
15
|
+
updatePreferredCountries(): void;
|
|
39
16
|
getErrorMessage(): string;
|
|
40
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<PhoneComponent, never>;
|
|
41
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PhoneComponent, "app-phone", never, {
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PhoneComponent, "app-phone", never, {}, {}, never, never, true, never>;
|
|
42
19
|
}
|
|
43
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 {
|
|
@@ -11,50 +8,33 @@ interface IOption {
|
|
|
11
8
|
interface RadioButtonsProps extends PConnFieldProps {
|
|
12
9
|
inline: boolean;
|
|
13
10
|
fieldMetadata?: any;
|
|
11
|
+
variant?: string;
|
|
14
12
|
}
|
|
15
|
-
export declare class RadioButtonsComponent
|
|
16
|
-
private angularPConnect;
|
|
17
|
-
private cdRef;
|
|
18
|
-
private utils;
|
|
19
|
-
pConn$: typeof PConnect;
|
|
20
|
-
formGroup$: FormGroup;
|
|
21
|
-
angularPConnectData: AngularPConnectData;
|
|
13
|
+
export declare class RadioButtonsComponent extends FieldBase {
|
|
22
14
|
configProps$: RadioButtonsProps;
|
|
23
|
-
label$: string;
|
|
24
|
-
value$: string;
|
|
25
|
-
bRequired$: boolean;
|
|
26
|
-
bReadonly$: boolean;
|
|
27
|
-
bDisabled$: boolean;
|
|
28
|
-
bVisible$: boolean;
|
|
29
15
|
bInline$: boolean;
|
|
30
|
-
displayMode$?: string;
|
|
31
|
-
controlName$: string;
|
|
32
|
-
bHasForm$: boolean;
|
|
33
16
|
options$: IOption[];
|
|
34
17
|
componentReference: string;
|
|
35
|
-
testId: string;
|
|
36
|
-
helperText: string;
|
|
37
|
-
placeholder: string;
|
|
38
|
-
fieldControl: FormControl<string | null>;
|
|
39
18
|
fieldMetadata: any[];
|
|
40
19
|
localeContext: string;
|
|
41
20
|
localeClass: string;
|
|
42
21
|
localeName: string;
|
|
43
22
|
localePath: string;
|
|
44
23
|
localizedValue: string;
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
ngOnDestroy(): void;
|
|
50
|
-
onStateChange(): void;
|
|
51
|
-
checkAndUpdate(): void;
|
|
24
|
+
variant?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Updates the component when there are changes in the state.
|
|
27
|
+
*/
|
|
52
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;
|
|
53
34
|
isSelected(buttonValue: string): boolean;
|
|
54
35
|
fieldOnChange(event: any): void;
|
|
55
36
|
getLocalizedOptionValue(opt: IOption): string;
|
|
56
|
-
getErrorMessage(): string;
|
|
57
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<RadioButtonsComponent, never>;
|
|
58
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RadioButtonsComponent, "app-radio-buttons", never, {
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RadioButtonsComponent, "app-radio-buttons", never, {}, {}, never, never, true, never>;
|
|
59
39
|
}
|
|
60
40
|
export {};
|