@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
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { OnInit, OnDestroy, OnChanges, ChangeDetectorRef } from '@angular/core';
|
|
2
|
+
import { FormGroup } from '@angular/forms';
|
|
3
|
+
import { Subscription } from 'rxjs';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare function flattenObj(obj: any): any;
|
|
6
|
+
export declare const initializeSearchFields: (searchFields: any, getPConnect: any, referenceListClassID: any, searchFieldRestoreValues?: {}) => {};
|
|
7
|
+
export declare class SearchGroupsComponent implements OnInit, OnDestroy, OnChanges {
|
|
8
|
+
private cdRef;
|
|
9
|
+
pConn$: typeof PConnect;
|
|
10
|
+
formGroup$: FormGroup;
|
|
11
|
+
searchGroupsProps: any;
|
|
12
|
+
configProps$: any;
|
|
13
|
+
cache: any;
|
|
14
|
+
previousFormValues: any;
|
|
15
|
+
isValidatorField: any;
|
|
16
|
+
searchSelectCacheKey: any;
|
|
17
|
+
activeGroupId: string;
|
|
18
|
+
getPConnect: any;
|
|
19
|
+
searchFields: any;
|
|
20
|
+
referenceListClassID: any;
|
|
21
|
+
transientItemID: any;
|
|
22
|
+
useCache: boolean;
|
|
23
|
+
searchFieldsC11nEnv: any;
|
|
24
|
+
referenceFieldName: any;
|
|
25
|
+
viewName: any;
|
|
26
|
+
subs: Subscription[];
|
|
27
|
+
localizedVal: (localeKey: string, localePath?: string, localeRuleKey?: string | null, componentName?: string | null) => string;
|
|
28
|
+
setShowRecords: any;
|
|
29
|
+
groups: any;
|
|
30
|
+
state: any;
|
|
31
|
+
rawGroupsConfig: any;
|
|
32
|
+
initialSearchFields: {};
|
|
33
|
+
constructor(cdRef: ChangeDetectorRef);
|
|
34
|
+
ngOnInit(): void;
|
|
35
|
+
ngOnChanges(): void;
|
|
36
|
+
updateSelf(): void;
|
|
37
|
+
createSearchFields(): void;
|
|
38
|
+
getFilterData(): void;
|
|
39
|
+
resetFilterData(): void;
|
|
40
|
+
/** NEW: update existing transient data when active group changes */
|
|
41
|
+
updateTransientDataForActiveGroup(): void;
|
|
42
|
+
onActiveGroupChange(event: any): void;
|
|
43
|
+
private setupCacheReplayOnListViewReady;
|
|
44
|
+
ngOnDestroy(): void;
|
|
45
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SearchGroupsComponent, never>;
|
|
46
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SearchGroupsComponent, "app-search-groups", never, { "pConn$": { "alias": "pConn$"; "required": false; }; "formGroup$": { "alias": "formGroup$"; "required": false; }; "searchGroupsProps": { "alias": "searchGroupsProps"; "required": false; }; }, {}, never, never, true, never>;
|
|
47
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare function getCacheInfo(cache: {
|
|
2
|
+
selectedCategory: string;
|
|
3
|
+
activeGroupId: string;
|
|
4
|
+
searchFields: unknown;
|
|
5
|
+
}, groups: {
|
|
6
|
+
config: {
|
|
7
|
+
id: string;
|
|
8
|
+
};
|
|
9
|
+
}[]): {
|
|
10
|
+
useCache: boolean;
|
|
11
|
+
initialActiveGroupId: string;
|
|
12
|
+
};
|
|
13
|
+
export declare function isValidInput(input: {
|
|
14
|
+
[s: string]: unknown;
|
|
15
|
+
}): boolean;
|
|
@@ -3,6 +3,7 @@ import { MatSnackBar } from '@angular/material/snack-bar';
|
|
|
3
3
|
import { Subscription } from 'rxjs';
|
|
4
4
|
import { AngularPConnectData, AngularPConnectService } from '../../../_bridge/angular-pconnect';
|
|
5
5
|
import { ErrorMessagesService } from '../../../_messages/error-messages.service';
|
|
6
|
+
import { Utils } from '../../../_helpers/utils';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
8
|
interface IPage {
|
|
8
9
|
classID: string;
|
|
@@ -20,13 +21,14 @@ interface AppShellProps {
|
|
|
20
21
|
portalTemplate: string;
|
|
21
22
|
readOnly?: boolean;
|
|
22
23
|
showAppHeaderBar: boolean;
|
|
23
|
-
showAppName:
|
|
24
|
+
showAppName: any;
|
|
24
25
|
}
|
|
25
26
|
export declare class AppShellComponent implements OnInit, OnDestroy {
|
|
26
27
|
private angularPConnect;
|
|
27
28
|
private erService;
|
|
28
29
|
private snackBar;
|
|
29
30
|
private ngZone;
|
|
31
|
+
private utils;
|
|
30
32
|
pConn$: typeof PConnect;
|
|
31
33
|
angularPConnectData: AngularPConnectData;
|
|
32
34
|
configProps$: AppShellProps;
|
|
@@ -41,7 +43,9 @@ export declare class AppShellComponent implements OnInit, OnDestroy {
|
|
|
41
43
|
bOkDisplayError: boolean;
|
|
42
44
|
portalTemplate: string;
|
|
43
45
|
links: any;
|
|
44
|
-
|
|
46
|
+
imageURL: string | Blob;
|
|
47
|
+
localizedVal: (localeKey: string, localePath?: string, localeRuleKey?: string | null, componentName?: string | null) => string;
|
|
48
|
+
constructor(angularPConnect: AngularPConnectService, erService: ErrorMessagesService, snackBar: MatSnackBar, ngZone: NgZone, utils: Utils);
|
|
45
49
|
ngOnInit(): void;
|
|
46
50
|
ngOnDestroy(): void;
|
|
47
51
|
onStateChange(): void;
|
|
@@ -17,5 +17,5 @@ export declare class DetailsTemplateBase implements OnInit, OnDestroy {
|
|
|
17
17
|
[key: string]: any;
|
|
18
18
|
}[];
|
|
19
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<DetailsTemplateBase, never>;
|
|
20
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DetailsTemplateBase, never, never, { "pConn$": { "alias": "pConn$"; "required": false; }; }, {}, never, never,
|
|
20
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DetailsTemplateBase, never, never, { "pConn$": { "alias": "pConn$"; "required": false; }; }, {}, never, never, true, never>;
|
|
21
21
|
}
|
|
@@ -6,5 +6,5 @@ export declare class FormTemplateBase implements OnDestroy {
|
|
|
6
6
|
angularPConnectData: AngularPConnectData;
|
|
7
7
|
ngOnDestroy(): void;
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormTemplateBase, never>;
|
|
9
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FormTemplateBase, never, never, {}, {}, never, never,
|
|
9
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FormTemplateBase, never, never, {}, {}, never, never, true, never>;
|
|
10
10
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { OnInit, OnDestroy, OnChanges } from '@angular/core';
|
|
2
2
|
import { FormGroup } from '@angular/forms';
|
|
3
3
|
import { AngularPConnectData, AngularPConnectService } from '../../../_bridge/angular-pconnect';
|
|
4
|
+
import { Utils } from '../../../_helpers/utils';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
interface CaseSummaryProps {
|
|
6
7
|
status?: string;
|
|
@@ -10,6 +11,7 @@ interface CaseSummaryProps {
|
|
|
10
11
|
}
|
|
11
12
|
export declare class CaseSummaryComponent implements OnInit, OnDestroy, OnChanges {
|
|
12
13
|
private angularPConnect;
|
|
14
|
+
private utils;
|
|
13
15
|
pConn$: typeof PConnect;
|
|
14
16
|
formGroup$: FormGroup;
|
|
15
17
|
angularPConnectData: AngularPConnectData;
|
|
@@ -19,7 +21,7 @@ export declare class CaseSummaryComponent implements OnInit, OnDestroy, OnChange
|
|
|
19
21
|
bShowStatus$?: boolean;
|
|
20
22
|
primaryFields$: any[];
|
|
21
23
|
secondaryFields$: any[];
|
|
22
|
-
constructor(angularPConnect: AngularPConnectService);
|
|
24
|
+
constructor(angularPConnect: AngularPConnectService, utils: Utils);
|
|
23
25
|
ngOnInit(): void;
|
|
24
26
|
ngOnDestroy(): void;
|
|
25
27
|
initComponent(): void;
|
|
@@ -27,7 +29,6 @@ export declare class CaseSummaryComponent implements OnInit, OnDestroy, OnChange
|
|
|
27
29
|
updateSelf(): void;
|
|
28
30
|
ngOnChanges(): void;
|
|
29
31
|
generatePrimaryAndSecondaryFields(): void;
|
|
30
|
-
prepareComponentInCaseSummary(pConnectMeta: any, getPConnect: any): any;
|
|
31
32
|
prepareCaseSummaryData(summaryFieldChildren: any): any;
|
|
32
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<CaseSummaryComponent, never>;
|
|
33
34
|
static ɵcmp: i0.ɵɵComponentDeclaration<CaseSummaryComponent, "app-case-summary", never, { "pConn$": { "alias": "pConn$"; "required": false; }; "formGroup$": { "alias": "formGroup$"; "required": false; }; }, {}, never, never, true, never>;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { OnInit, OnDestroy } from '@angular/core';
|
|
2
2
|
import { FormGroup } from '@angular/forms';
|
|
3
3
|
import { AngularPConnectData, AngularPConnectService } from '../../../_bridge/angular-pconnect';
|
|
4
|
+
import { DataReferenceAdvancedSearchService } from '../../../_services/data-reference-advanced-search.service';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class DataReferenceComponent implements OnInit, OnDestroy {
|
|
6
7
|
private angularPConnect;
|
|
8
|
+
private advancedSearchService;
|
|
7
9
|
pConn$: typeof PConnect;
|
|
8
10
|
formGroup$: FormGroup;
|
|
9
11
|
angularPConnectData: AngularPConnectData;
|
|
@@ -26,15 +28,38 @@ export declare class DataReferenceComponent implements OnInit, OnDestroy {
|
|
|
26
28
|
displaySingleRef: boolean;
|
|
27
29
|
displayMultiRef: boolean;
|
|
28
30
|
refList: any;
|
|
29
|
-
|
|
31
|
+
displayAs: any;
|
|
32
|
+
isDDSourceDeferred: any;
|
|
33
|
+
showPromotedFilters: any;
|
|
34
|
+
displayMode: any;
|
|
35
|
+
refFieldMetadata: any;
|
|
36
|
+
contextClass: any;
|
|
37
|
+
selectionList: any;
|
|
38
|
+
inline: any;
|
|
39
|
+
isCreationOfNewRecordAllowedForReference: any;
|
|
40
|
+
showAdvancedSearch: boolean;
|
|
41
|
+
pyID: any;
|
|
42
|
+
allowImplicitRefresh: any;
|
|
43
|
+
displayChild: boolean;
|
|
44
|
+
dataRelationshipContext: any;
|
|
45
|
+
imagePosition: any;
|
|
46
|
+
showImageDescription: any;
|
|
47
|
+
constructor(angularPConnect: AngularPConnectService, advancedSearchService: DataReferenceAdvancedSearchService);
|
|
30
48
|
ngOnInit(): void;
|
|
31
49
|
ngOnDestroy(): void;
|
|
32
50
|
onStateChange(): void;
|
|
33
51
|
updateSelf(): void;
|
|
34
52
|
updatePropertiesFromProps(theConfigProps: any): void;
|
|
35
|
-
generateChildrenToRender():
|
|
53
|
+
generateChildrenToRender(): any;
|
|
36
54
|
handleSelection(event: any): void;
|
|
37
55
|
recreatedFirstChild(): any;
|
|
56
|
+
private setReadOnlyDisplayFlags;
|
|
57
|
+
private prepareFirstChildMeta;
|
|
58
|
+
private setChildDatasource;
|
|
59
|
+
private buildDataReferenceConfig;
|
|
60
|
+
private buildFieldMetaData;
|
|
61
|
+
private isCreateNewRecordEnabled;
|
|
62
|
+
private getCreateNewRecordFn;
|
|
38
63
|
static ɵfac: i0.ɵɵFactoryDeclaration<DataReferenceComponent, never>;
|
|
39
64
|
static ɵcmp: i0.ɵɵComponentDeclaration<DataReferenceComponent, "app-data-reference", never, { "pConn$": { "alias": "pConn$"; "required": false; }; "formGroup$": { "alias": "formGroup$"; "required": false; }; }, {}, never, never, true, never>;
|
|
40
65
|
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { OnChanges, OnInit, TemplateRef } from '@angular/core';
|
|
2
|
+
import { FormGroup } from '@angular/forms';
|
|
3
|
+
import { MatDialog } from '@angular/material/dialog';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class SearchFormComponent implements OnInit, OnChanges {
|
|
6
|
+
private dialog;
|
|
7
|
+
pConn$: typeof PConnect;
|
|
8
|
+
formGroup$: FormGroup;
|
|
9
|
+
searchSelectCacheKey: any;
|
|
10
|
+
configProps$: any;
|
|
11
|
+
isInitialized: boolean;
|
|
12
|
+
currentTabId: string;
|
|
13
|
+
nextTabId: string;
|
|
14
|
+
openDialog: boolean;
|
|
15
|
+
tabItems: any[];
|
|
16
|
+
searchCategoriesComp: any;
|
|
17
|
+
propsToUse: any;
|
|
18
|
+
tabData: any;
|
|
19
|
+
tabCountSources: any;
|
|
20
|
+
deferLoadedTabs: any;
|
|
21
|
+
dialogTemplate: TemplateRef<any>;
|
|
22
|
+
dialogRef: any;
|
|
23
|
+
constructor(dialog: MatDialog);
|
|
24
|
+
ngOnInit(): void;
|
|
25
|
+
ngOnChanges(): void;
|
|
26
|
+
updateSelf(): void;
|
|
27
|
+
initializeSearchCategories(): void;
|
|
28
|
+
handleTabClick(event: any): void;
|
|
29
|
+
clearSelectionAndSwitchTab(): void;
|
|
30
|
+
onDialogClose(): void;
|
|
31
|
+
publishEvent({ clearSelections, viewName }: {
|
|
32
|
+
clearSelections: any;
|
|
33
|
+
viewName: any;
|
|
34
|
+
}): void;
|
|
35
|
+
get activeTabPConnect(): any;
|
|
36
|
+
checkIfSelectionsExist(getPConnect: any): boolean;
|
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SearchFormComponent, never>;
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SearchFormComponent, "app-search-form", never, { "pConn$": { "alias": "pConn$"; "required": false; }; "formGroup$": { "alias": "formGroup$"; "required": false; }; "searchSelectCacheKey": { "alias": "searchSelectCacheKey"; "required": false; }; }, {}, never, never, true, never>;
|
|
39
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare function getFieldMeta(getPConnect: any, dataRelationshipContext: any): {
|
|
2
|
+
compositeKeys: any;
|
|
3
|
+
fieldMetadata: any;
|
|
4
|
+
};
|
|
5
|
+
export declare const getFirstChildConfig: ({ firstChildMeta, getPConnect, rawViewMetadata, contextClass, dataReferenceConfigToChild, isCreateNewReferenceEnabled, disableStartingFieldsForReference, pyID }: {
|
|
6
|
+
firstChildMeta: any;
|
|
7
|
+
getPConnect: any;
|
|
8
|
+
rawViewMetadata: any;
|
|
9
|
+
contextClass: any;
|
|
10
|
+
dataReferenceConfigToChild: any;
|
|
11
|
+
isCreateNewReferenceEnabled: any;
|
|
12
|
+
disableStartingFieldsForReference: any;
|
|
13
|
+
pyID: any;
|
|
14
|
+
}) => any;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
1
|
+
import { OnInit, OnChanges } from '@angular/core';
|
|
2
2
|
import { FormGroup } from '@angular/forms';
|
|
3
3
|
import { AngularPConnectData, AngularPConnectService } from '../../../_bridge/angular-pconnect';
|
|
4
4
|
import { TemplateUtils } from '../../../_helpers/template-utils';
|
|
5
5
|
import { FormTemplateBase } from '../base/form-template-base';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class DefaultFormComponent extends FormTemplateBase implements OnInit {
|
|
7
|
+
export declare class DefaultFormComponent extends FormTemplateBase implements OnInit, OnChanges {
|
|
8
8
|
private angularPConnect;
|
|
9
9
|
private templateUtils;
|
|
10
10
|
pConn$: typeof PConnect;
|
|
@@ -16,6 +16,7 @@ export declare class DefaultFormComponent extends FormTemplateBase implements On
|
|
|
16
16
|
constructor(angularPConnect: AngularPConnectService, templateUtils: TemplateUtils);
|
|
17
17
|
ngOnInit(): void;
|
|
18
18
|
onStateChange(): void;
|
|
19
|
+
ngOnChanges(changes: any): void;
|
|
19
20
|
updateSelf(): void;
|
|
20
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<DefaultFormComponent, never>;
|
|
21
22
|
static ɵcmp: i0.ɵɵComponentDeclaration<DefaultFormComponent, "app-default-form", never, { "pConn$": { "alias": "pConn$"; "required": false; }; "formGroup$": { "alias": "formGroup$"; "required": false; }; }, {}, never, never, true, never>;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { OnInit, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
interface DefaultPageProps {
|
|
4
|
+
layout?: string;
|
|
5
|
+
title?: string;
|
|
6
|
+
heading?: string;
|
|
7
|
+
message?: string;
|
|
8
|
+
backgroundImage?: string;
|
|
9
|
+
enableBanner?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export declare class DefaultPageComponent implements OnInit, OnChanges {
|
|
12
|
+
pConn$: typeof PConnect;
|
|
13
|
+
formGroup$: any;
|
|
14
|
+
configProps$: DefaultPageProps;
|
|
15
|
+
arChildren$: any[];
|
|
16
|
+
title?: string;
|
|
17
|
+
heading: any;
|
|
18
|
+
message?: string;
|
|
19
|
+
backgroundImage?: string;
|
|
20
|
+
layout$?: string;
|
|
21
|
+
enableBanner$?: boolean;
|
|
22
|
+
constructor();
|
|
23
|
+
ngOnInit(): void;
|
|
24
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
25
|
+
updateSelf(): void;
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DefaultPageComponent, never>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DefaultPageComponent, "app-default-page", never, { "pConn$": { "alias": "pConn$"; "required": false; }; "formGroup$": { "alias": "formGroup$"; "required": false; }; }, {}, never, never, true, never>;
|
|
28
|
+
}
|
|
29
|
+
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OnInit, OnDestroy, OnChanges
|
|
1
|
+
import { OnInit, OnDestroy, OnChanges } from '@angular/core';
|
|
2
2
|
import { FormGroup } from '@angular/forms';
|
|
3
3
|
import { AngularPConnectData, AngularPConnectService } from '../../../_bridge/angular-pconnect';
|
|
4
4
|
import { Utils } from '../../../_helpers/utils';
|
|
@@ -18,7 +18,7 @@ interface FieldGroupTemplateProps {
|
|
|
18
18
|
allowTableEdit: boolean;
|
|
19
19
|
targetClassLabel?: string;
|
|
20
20
|
}
|
|
21
|
-
export declare class FieldGroupTemplateComponent implements OnInit, OnDestroy, OnChanges
|
|
21
|
+
export declare class FieldGroupTemplateComponent implements OnInit, OnDestroy, OnChanges {
|
|
22
22
|
private angularPConnect;
|
|
23
23
|
private utils;
|
|
24
24
|
configProps$: FieldGroupTemplateProps;
|
|
@@ -32,7 +32,7 @@ export declare class FieldGroupTemplateComponent implements OnInit, OnDestroy, O
|
|
|
32
32
|
heading: any;
|
|
33
33
|
children: any;
|
|
34
34
|
menuIconOverride$: any;
|
|
35
|
-
referenceListLength: number
|
|
35
|
+
referenceListLength: import("@angular/core").WritableSignal<number | null>;
|
|
36
36
|
fieldHeader: any;
|
|
37
37
|
allowAdd: boolean;
|
|
38
38
|
allowEdit: boolean;
|
|
@@ -40,9 +40,7 @@ export declare class FieldGroupTemplateComponent implements OnInit, OnDestroy, O
|
|
|
40
40
|
constructor(angularPConnect: AngularPConnectService, utils: Utils);
|
|
41
41
|
ngOnInit(): void;
|
|
42
42
|
ngOnDestroy(): void;
|
|
43
|
-
onStateChange(): void;
|
|
44
43
|
ngOnChanges(changes: any): void;
|
|
45
|
-
ngAfterViewInit(): void;
|
|
46
44
|
updateSelf(): void;
|
|
47
45
|
getStaticHeader: (heading: any, index: any) => string;
|
|
48
46
|
getDynamicHeader: (item: any, index: any) => any;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { OnInit, OnDestroy } from '@angular/core';
|
|
2
|
+
import { SelectionModel } from '@angular/cdk/collections';
|
|
2
3
|
import { MatPaginator } from '@angular/material/paginator';
|
|
3
4
|
import { MatSort } from '@angular/material/sort';
|
|
4
5
|
import { MatTableDataSource } from '@angular/material/table';
|
|
@@ -22,6 +23,10 @@ interface ListViewProps {
|
|
|
22
23
|
value: any;
|
|
23
24
|
readonlyContextList: any;
|
|
24
25
|
label?: string;
|
|
26
|
+
displayAs?: string;
|
|
27
|
+
showRecords: boolean;
|
|
28
|
+
viewName?: string;
|
|
29
|
+
localeReference?: any;
|
|
25
30
|
}
|
|
26
31
|
export declare class Group {
|
|
27
32
|
level: number;
|
|
@@ -39,6 +44,7 @@ export declare class ListViewComponent implements OnInit, OnDestroy {
|
|
|
39
44
|
bInForm$: boolean;
|
|
40
45
|
payload: any;
|
|
41
46
|
repeatList$: MatTableDataSource<any>;
|
|
47
|
+
selection: SelectionModel<any>;
|
|
42
48
|
fields$: any[];
|
|
43
49
|
displayedColumns$: any[];
|
|
44
50
|
groupByColumns$: string[];
|
|
@@ -91,28 +97,35 @@ export declare class ListViewComponent implements OnInit, OnDestroy {
|
|
|
91
97
|
query: any;
|
|
92
98
|
paging: any;
|
|
93
99
|
fieldDefs: any;
|
|
94
|
-
xRayApis: import("@pega/pcore-pconnect-typedefs/debug/xray-runtime").default;
|
|
95
|
-
xRayUid: string | null;
|
|
96
100
|
checkBoxValue: string;
|
|
97
101
|
label?: string;
|
|
102
|
+
uniqueId: `${string}-${string}-${string}-${string}-${string}`;
|
|
103
|
+
displayAs: any;
|
|
104
|
+
showRecords: any;
|
|
105
|
+
identifier: string;
|
|
106
|
+
promotedFiltersId: string;
|
|
98
107
|
constructor(psService: ProgressSpinnerService, utils: Utils);
|
|
99
108
|
ngOnInit(): void;
|
|
109
|
+
clearSelectionsAndUpdateTable(getPConnect: any, uniqueId: string, viewName: any): void;
|
|
100
110
|
getFieldFromFilter(filter: any, dateRange?: boolean): any;
|
|
101
111
|
processFilterChange(data: any): void;
|
|
102
112
|
filterBasedOnDateRange(dashboardFilterPayload: any, filter: any, relationalOp: any, selectParam: any, index: any): any;
|
|
103
113
|
processFilterClear(): void;
|
|
104
114
|
getFieldsMetadata(refList: any): Promise<{
|
|
105
|
-
data:
|
|
115
|
+
data: import("@pega/pcore-pconnect-typedefs/analytics/types/data-model").DataObjectMeta;
|
|
106
116
|
}>;
|
|
117
|
+
getValue(col: any): any;
|
|
107
118
|
getListData(): void;
|
|
119
|
+
prepareFilters(data: any): {};
|
|
108
120
|
preparePayload(): void;
|
|
109
121
|
ngOnDestroy(): void;
|
|
110
122
|
drop(event: CdkDragDrop<string[]>): void;
|
|
111
123
|
updateFields(arFields: any[], arColumns: any, fields: any): any[];
|
|
112
124
|
applySearch(event: Event): void;
|
|
113
|
-
isChecked(rowIn: any): any;
|
|
114
125
|
fieldOnChange(row: any): void;
|
|
115
|
-
onCheckboxClick(row: any
|
|
126
|
+
onCheckboxClick(row: any): void;
|
|
127
|
+
isAllSelected(): boolean;
|
|
128
|
+
toggleAllRows(): void;
|
|
116
129
|
_getIconStyle(level: any): string;
|
|
117
130
|
_getGroupName(fieldName: any): any;
|
|
118
131
|
_showButton(name: any, row: any): boolean;
|
|
@@ -159,6 +172,9 @@ export declare class ListViewComponent implements OnInit, OnDestroy {
|
|
|
159
172
|
getField(fieldDefs: any, columnId: any): any;
|
|
160
173
|
getFieldsMap(fieldDefs: any): Map<any, any>;
|
|
161
174
|
addItemKeyInSelect(fieldDefs: any, itemKey: any, select: any, compositeKeys: any): any;
|
|
175
|
+
private getSelectedValue;
|
|
176
|
+
private updateFiltersFromData;
|
|
177
|
+
private buildFilterPayload;
|
|
162
178
|
static ɵfac: i0.ɵɵFactoryDeclaration<ListViewComponent, never>;
|
|
163
179
|
static ɵcmp: i0.ɵɵComponentDeclaration<ListViewComponent, "app-list-view", never, { "pConn$": { "alias": "pConn$"; "required": false; }; "bInForm$": { "alias": "bInForm$"; "required": false; }; "payload": { "alias": "payload"; "required": false; }; }, {}, never, never, true, never>;
|
|
164
180
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { FormGroup } from '@angular/forms';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ObjectPageComponent {
|
|
4
|
+
pConn$: typeof PConnect;
|
|
5
|
+
formGroup$: FormGroup;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ObjectPageComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ObjectPageComponent, "lib-object-page", never, { "pConn$": { "alias": "pConn$"; "required": false; }; "formGroup$": { "alias": "formGroup$"; "required": false; }; }, {}, never, never, true, never>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { OnInit, OnDestroy } from '@angular/core';
|
|
2
|
+
import { 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
|
+
interface SelfServiceCaseViewProps {
|
|
7
|
+
icon: string;
|
|
8
|
+
subheader: string;
|
|
9
|
+
header: string;
|
|
10
|
+
showCaseLifecycle: any;
|
|
11
|
+
showSummaryRegion: any;
|
|
12
|
+
showUtilitiesRegion: any;
|
|
13
|
+
showCaseActions: any;
|
|
14
|
+
caseClass: any;
|
|
15
|
+
}
|
|
16
|
+
export declare class SelfServiceCaseViewComponent implements OnInit, OnDestroy {
|
|
17
|
+
private angularPConnect;
|
|
18
|
+
private utils;
|
|
19
|
+
pConn$: typeof PConnect;
|
|
20
|
+
formGroup$: FormGroup;
|
|
21
|
+
angularPConnectData: AngularPConnectData;
|
|
22
|
+
configProps$: SelfServiceCaseViewProps;
|
|
23
|
+
arChildren$: any[];
|
|
24
|
+
heading$: string;
|
|
25
|
+
id$: string;
|
|
26
|
+
status$: string;
|
|
27
|
+
arAvailableActions$: any[];
|
|
28
|
+
arAvailabeProcesses$: any[];
|
|
29
|
+
caseSummaryPConn$: any;
|
|
30
|
+
currentCaseID: string;
|
|
31
|
+
editAction: boolean;
|
|
32
|
+
localizedVal: any;
|
|
33
|
+
localeCategory: string;
|
|
34
|
+
localeKey: any;
|
|
35
|
+
showCaseLifecycle: boolean;
|
|
36
|
+
showSummaryRegion: boolean;
|
|
37
|
+
showUtilitiesRegion: boolean;
|
|
38
|
+
showCaseActions: boolean;
|
|
39
|
+
utilityRegion: any;
|
|
40
|
+
primarySummaryFields: any;
|
|
41
|
+
secondarySummaryFields: any;
|
|
42
|
+
constructor(angularPConnect: AngularPConnectService, utils: Utils);
|
|
43
|
+
ngOnInit(): void;
|
|
44
|
+
ngOnDestroy(): void;
|
|
45
|
+
onStateChange(): void;
|
|
46
|
+
checkAndUpdate(): void;
|
|
47
|
+
hasCaseIDChanged(): boolean;
|
|
48
|
+
updateHeaderAndSummary(): void;
|
|
49
|
+
fullUpdate(): void;
|
|
50
|
+
filterUtilities(utils: any): any;
|
|
51
|
+
isUtilitiesRegionNotEmpty(): any;
|
|
52
|
+
updateSelf(): void;
|
|
53
|
+
_menuActionClick(data: any): void;
|
|
54
|
+
_menuProcessClick(data: any): void;
|
|
55
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SelfServiceCaseViewComponent, never>;
|
|
56
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelfServiceCaseViewComponent, "app-self-service-case-view", never, { "pConn$": { "alias": "pConn$"; "required": false; }; "formGroup$": { "alias": "formGroup$"; "required": false; }; }, {}, never, never, true, never>;
|
|
57
|
+
}
|
|
58
|
+
export {};
|
|
@@ -42,7 +42,21 @@ export declare const buildMetaForListView: (fieldMetadata: any, fields: any, typ
|
|
|
42
42
|
ruleClass: any;
|
|
43
43
|
};
|
|
44
44
|
};
|
|
45
|
-
export declare const
|
|
45
|
+
export declare const getConfigFields: (rawFields: any, contextClass: any, primaryFieldsViewIndex: any) => any;
|
|
46
|
+
export declare function isFLProperty(label: any): any;
|
|
47
|
+
/**
|
|
48
|
+
* [getFieldLabel]
|
|
49
|
+
* Description - A utility that returns resolved field label for "@FL" annotation i.e from data model.
|
|
50
|
+
* @param {Object} fieldConfig
|
|
51
|
+
* @returns {string} resolved label string
|
|
52
|
+
*
|
|
53
|
+
* example:
|
|
54
|
+
* fieldConfig = {label: "@FL .pyID", classID: "TestCase-Work"};
|
|
55
|
+
* return "Case ID"
|
|
56
|
+
*/
|
|
57
|
+
export declare function getFieldLabel(fieldConfig: any): any;
|
|
58
|
+
export declare const updateFieldLabels: (fields: any, configFields: any, primaryFieldsViewIndex: any, pConnect: any, options: any) => any;
|
|
59
|
+
export declare const buildFieldsForTable: (configFields: any, pConnect: any, showDeleteButton: any, options: any) => any;
|
|
46
60
|
export declare const createMetaForTable: (fields: any, renderMode: any) => {
|
|
47
61
|
height: {
|
|
48
62
|
minHeight: string;
|
|
@@ -113,7 +113,7 @@ export declare class SimpleTableManualComponent implements OnInit, OnDestroy {
|
|
|
113
113
|
settingsSvgIcon$: string;
|
|
114
114
|
isInitialized: boolean;
|
|
115
115
|
targetClassLabel: string;
|
|
116
|
-
localizedVal: (localeKey: string, localePath?: string, localeRuleKey?: string, componentName?: string | null) => string;
|
|
116
|
+
localizedVal: (localeKey: string, localePath?: string, localeRuleKey?: string | null, componentName?: string | null) => string;
|
|
117
117
|
localeCategory: string;
|
|
118
118
|
constructor(angularPConnect: AngularPConnectService, utils: Utils, dataPageService: DatapageService);
|
|
119
119
|
ngOnInit(): void;
|
|
@@ -155,7 +155,7 @@ export declare class SimpleTableManualComponent implements OnInit, OnDestroy {
|
|
|
155
155
|
getDisplayColumns(fields?: never[]): any[];
|
|
156
156
|
_getIconStyle(level: any): string;
|
|
157
157
|
onStateChange(): void;
|
|
158
|
-
getRowValue(inRowData:
|
|
158
|
+
getRowValue(inRowData: object, inColKey: string): any;
|
|
159
159
|
generateRowsData(): void;
|
|
160
160
|
formatRowsData(data: any): any;
|
|
161
161
|
addRecord(): void;
|
package/lib/_components/template/single-reference-readonly/single-reference-readonly.component.d.ts
CHANGED
|
@@ -1,8 +1,24 @@
|
|
|
1
|
+
import { OnInit, OnDestroy } from '@angular/core';
|
|
1
2
|
import { FormGroup } from '@angular/forms';
|
|
3
|
+
import { AngularPConnectData, AngularPConnectService } from '../../../_bridge/angular-pconnect';
|
|
2
4
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class SingleReferenceReadonlyComponent {
|
|
5
|
+
export declare class SingleReferenceReadonlyComponent implements OnInit, OnDestroy {
|
|
6
|
+
private angularPConnect;
|
|
4
7
|
pConn$: typeof PConnect;
|
|
5
8
|
formGroup$: FormGroup;
|
|
9
|
+
dataRelationshipContext?: any;
|
|
10
|
+
angularPConnectData: AngularPConnectData;
|
|
11
|
+
configProps: any;
|
|
12
|
+
component: any;
|
|
13
|
+
label: string;
|
|
14
|
+
newPconn: typeof PConnect;
|
|
15
|
+
displayMode: string;
|
|
16
|
+
constructor(angularPConnect: AngularPConnectService);
|
|
17
|
+
ngOnInit(): void;
|
|
18
|
+
ngOnDestroy(): void;
|
|
19
|
+
onStateChange(): void;
|
|
20
|
+
checkAndUpdate(): void;
|
|
21
|
+
updateSelf(): void;
|
|
6
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<SingleReferenceReadonlyComponent, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SingleReferenceReadonlyComponent, "app-single-reference-readonly", never, { "pConn$": { "alias": "pConn$"; "required": false; }; "formGroup$": { "alias": "formGroup$"; "required": false; }; }, {}, never, never, true, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SingleReferenceReadonlyComponent, "app-single-reference-readonly", never, { "pConn$": { "alias": "pConn$"; "required": false; }; "formGroup$": { "alias": "formGroup$"; "required": false; }; "dataRelationshipContext": { "alias": "dataRelationshipContext"; "required": false; }; }, {}, never, never, true, never>;
|
|
8
24
|
}
|
|
@@ -7,3 +7,7 @@ export declare function filterForFieldValueList(fields: any): any;
|
|
|
7
7
|
* @returns {boolean} - Returns true if the row action is allowed, false otherwise.
|
|
8
8
|
*/
|
|
9
9
|
export declare const evaluateAllowRowAction: (allowRowDelete: any, rowData: any) => boolean;
|
|
10
|
+
export declare function prepareCaseSummaryData(caseSummaryRegion: any, portalSpecificVisibilityChecker?: any): {
|
|
11
|
+
primarySummaryFields: any;
|
|
12
|
+
secondarySummaryFields: any;
|
|
13
|
+
};
|
|
@@ -17,14 +17,12 @@ export declare class WssNavBarComponent implements OnInit, OnDestroy {
|
|
|
17
17
|
pages$: any[];
|
|
18
18
|
caseTypes$: any[];
|
|
19
19
|
homePage: any;
|
|
20
|
+
portalLogoImage$: string;
|
|
20
21
|
angularPConnectData: AngularPConnectData;
|
|
21
22
|
configProps$: WssNavBarProps;
|
|
22
23
|
navPages$: any[];
|
|
23
24
|
navExpandCollapse$: string;
|
|
24
25
|
bShowCaseTypes$: boolean;
|
|
25
|
-
portalApp$: string | undefined;
|
|
26
|
-
portalLogoImage$: string;
|
|
27
|
-
showAppName$: boolean;
|
|
28
26
|
portalOperator$: string | undefined;
|
|
29
27
|
portalOperatorInitials$: string;
|
|
30
28
|
actionsAPI: any;
|
|
@@ -32,7 +30,7 @@ export declare class WssNavBarComponent implements OnInit, OnDestroy {
|
|
|
32
30
|
showPage: any;
|
|
33
31
|
logout: any;
|
|
34
32
|
navIcon$: string;
|
|
35
|
-
localizedVal: (localeKey: string, localePath?: string, localeRuleKey?: string, componentName?: string | null) => string;
|
|
33
|
+
localizedVal: (localeKey: string, localePath?: string, localeRuleKey?: string | null, componentName?: string | null) => string;
|
|
36
34
|
localeCategory: string;
|
|
37
35
|
constructor(angularPConnect: AngularPConnectService, cdRef: ChangeDetectorRef, psService: ProgressSpinnerService, ngZone: NgZone, utils: Utils);
|
|
38
36
|
ngOnInit(): void;
|
|
@@ -46,6 +44,6 @@ export declare class WssNavBarComponent implements OnInit, OnDestroy {
|
|
|
46
44
|
navPanelCreateCaseType(sCaseType: string, sFlowType: string): void;
|
|
47
45
|
navPanelLogoutClick(): void;
|
|
48
46
|
static ɵfac: i0.ɵɵFactoryDeclaration<WssNavBarComponent, never>;
|
|
49
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WssNavBarComponent, "app-wss-nav-bar", never, { "pConn$": { "alias": "pConn$"; "required": false; }; "appName$": { "alias": "appName$"; "required": false; }; "pages$": { "alias": "pages$"; "required": false; }; "caseTypes$": { "alias": "caseTypes$"; "required": false; }; "homePage": { "alias": "homePage"; "required": false; }; }, {}, never, never, true, never>;
|
|
47
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WssNavBarComponent, "app-wss-nav-bar", never, { "pConn$": { "alias": "pConn$"; "required": false; }; "appName$": { "alias": "appName$"; "required": false; }; "pages$": { "alias": "pages$"; "required": false; }; "caseTypes$": { "alias": "caseTypes$"; "required": false; }; "homePage": { "alias": "homePage"; "required": false; }; "portalLogoImage$": { "alias": "portalLogoImage$"; "required": false; }; }, {}, never, never, true, never>;
|
|
50
48
|
}
|
|
51
49
|
export {};
|