@pega/angular-sdk-components 0.242.7 → 0.242.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/lib/_bridge/angular-pconnect.mjs +3 -3
- package/esm2022/lib/_bridge/component-mapper/component-mapper.component.mjs +3 -3
- package/esm2022/lib/_components/designSystemExtension/alert/alert.component.mjs +3 -3
- package/esm2022/lib/_components/designSystemExtension/alert-banner/alert-banner.component.mjs +3 -3
- package/esm2022/lib/_components/designSystemExtension/banner/banner.component.mjs +3 -3
- package/esm2022/lib/_components/designSystemExtension/case-create-stage/case-create-stage.component.mjs +3 -3
- package/esm2022/lib/_components/designSystemExtension/field-group/field-group.component.mjs +3 -3
- package/esm2022/lib/_components/designSystemExtension/material-case-summary/material-case-summary.component.mjs +4 -5
- package/esm2022/lib/_components/designSystemExtension/material-details/material-details.component.mjs +3 -3
- package/esm2022/lib/_components/designSystemExtension/material-details-fields/material-details-fields.component.mjs +9 -5
- package/esm2022/lib/_components/designSystemExtension/material-summary-item/material-summary-item.component.mjs +3 -3
- package/esm2022/lib/_components/designSystemExtension/material-summary-list/material-summary-list.component.mjs +3 -3
- package/esm2022/lib/_components/designSystemExtension/material-utility/material-utility.component.mjs +3 -3
- package/esm2022/lib/_components/designSystemExtension/material-vertical-tabs/material-vertical-tabs.component.mjs +3 -3
- package/esm2022/lib/_components/designSystemExtension/operator/operator.component.mjs +9 -7
- package/esm2022/lib/_components/designSystemExtension/pulse/pulse.component.mjs +3 -3
- package/esm2022/lib/_components/designSystemExtension/rich-text-editor/rich-text-editor.component.mjs +3 -3
- package/esm2022/lib/_components/designSystemExtension/wss-quick-create/wss-quick-create.component.mjs +3 -3
- package/esm2022/lib/_components/field/auto-complete/auto-complete.component.mjs +15 -7
- package/esm2022/lib/_components/field/cancel-alert/cancel-alert.component.mjs +3 -3
- package/esm2022/lib/_components/field/check-box/check-box.component.mjs +3 -3
- package/esm2022/lib/_components/field/currency/currency.component.mjs +23 -18
- package/esm2022/lib/_components/field/date/date.component.mjs +3 -3
- package/esm2022/lib/_components/field/date-time/date-time.component.mjs +21 -8
- package/esm2022/lib/_components/field/decimal/decimal.component.mjs +38 -20
- package/esm2022/lib/_components/field/dropdown/dropdown.component.mjs +16 -8
- package/esm2022/lib/_components/field/email/email.component.mjs +3 -3
- package/esm2022/lib/_components/field/group/group.component.mjs +3 -3
- package/esm2022/lib/_components/field/integer/integer.component.mjs +3 -3
- package/esm2022/lib/_components/field/list-view-action-buttons/list-view-action-buttons.component.mjs +8 -7
- package/esm2022/lib/_components/field/multiselect/multiselect.component.mjs +3 -3
- package/esm2022/lib/_components/field/percentage/percentage.component.mjs +31 -23
- package/esm2022/lib/_components/field/phone/phone.component.mjs +10 -15
- package/esm2022/lib/_components/field/radio-buttons/radio-buttons.component.mjs +3 -3
- package/esm2022/lib/_components/field/rich-text/rich-text.component.mjs +14 -7
- package/esm2022/lib/_components/field/scalar-list/scalar-list.component.mjs +3 -3
- package/esm2022/lib/_components/field/semantic-link/semantic-link.component.mjs +3 -3
- package/esm2022/lib/_components/field/text/text.component.mjs +6 -6
- package/esm2022/lib/_components/field/text-area/text-area.component.mjs +3 -3
- package/esm2022/lib/_components/field/text-content/text-content.component.mjs +3 -3
- package/esm2022/lib/_components/field/text-input/text-input.component.mjs +4 -4
- package/esm2022/lib/_components/field/time/time.component.mjs +23 -11
- package/esm2022/lib/_components/field/url/url.component.mjs +3 -3
- package/esm2022/lib/_components/field/user-reference/user-reference.component.mjs +71 -12
- package/esm2022/lib/_components/infra/Containers/flow-container/flow-container.component.mjs +11 -6
- package/esm2022/lib/_components/infra/Containers/flow-container/helpers.mjs +2 -2
- package/esm2022/lib/_components/infra/Containers/hybrid-view-container/hybrid-view-container.component.mjs +3 -3
- package/esm2022/lib/_components/infra/Containers/modal-view-container/modal-view-container.component.mjs +5 -6
- package/esm2022/lib/_components/infra/Containers/preview-view-container/preview-view-container.component.mjs +3 -3
- package/esm2022/lib/_components/infra/Containers/view-container/view-container.component.mjs +3 -3
- package/esm2022/lib/_components/infra/action-buttons/action-buttons.component.mjs +5 -5
- package/esm2022/lib/_components/infra/assignment/assignment.component.mjs +4 -7
- package/esm2022/lib/_components/infra/assignment-card/assignment-card.component.mjs +10 -30
- package/esm2022/lib/_components/infra/dashboard-filter/dashboard-filter.component.mjs +3 -3
- package/esm2022/lib/_components/infra/defer-load/defer-load.component.mjs +7 -5
- package/esm2022/lib/_components/infra/error-boundary/error-boundary.component.mjs +3 -3
- package/esm2022/lib/_components/infra/multi-step/multi-step.component.mjs +3 -3
- package/esm2022/lib/_components/infra/navbar/navbar.component.mjs +3 -3
- package/esm2022/lib/_components/infra/reference/reference.component.mjs +68 -78
- package/esm2022/lib/_components/infra/region/region.component.mjs +3 -3
- package/esm2022/lib/_components/infra/root-container/root-container.component.mjs +24 -19
- package/esm2022/lib/_components/infra/stages/stages.component.mjs +3 -3
- package/esm2022/lib/_components/infra/view/view.component.mjs +3 -3
- package/esm2022/lib/_components/template/app-shell/app-shell.component.mjs +3 -3
- package/esm2022/lib/_components/template/banner-page/banner-page.component.mjs +3 -3
- package/esm2022/lib/_components/template/base/details-template-base.mjs +3 -3
- package/esm2022/lib/_components/template/base/form-template-base.mjs +3 -3
- package/esm2022/lib/_components/template/case-summary/case-summary.component.mjs +3 -3
- package/esm2022/lib/_components/template/case-view/case-view.component.mjs +3 -3
- package/esm2022/lib/_components/template/confirmation/confirmation.component.mjs +5 -5
- package/esm2022/lib/_components/template/data-reference/data-reference.component.mjs +3 -3
- package/esm2022/lib/_components/template/default-form/default-form.component.mjs +6 -7
- package/esm2022/lib/_components/template/details/details.component.mjs +3 -3
- package/esm2022/lib/_components/template/details-narrow-wide/details-narrow-wide.component.mjs +3 -3
- package/esm2022/lib/_components/template/details-one-column/details-one-column.component.mjs +3 -3
- package/esm2022/lib/_components/template/details-sub-tabs/details-sub-tabs.component.mjs +3 -3
- package/esm2022/lib/_components/template/details-three-column/details-three-column.component.mjs +3 -3
- package/esm2022/lib/_components/template/details-two-column/details-two-column.component.mjs +3 -3
- package/esm2022/lib/_components/template/details-wide-narrow/details-wide-narrow.component.mjs +3 -3
- package/esm2022/lib/_components/template/dynamic-tabs/dynamic-tabs.component.mjs +3 -3
- package/esm2022/lib/_components/template/field-group-list/field-group-list.component.mjs +3 -3
- package/esm2022/lib/_components/template/field-group-template/field-group-template.component.mjs +47 -38
- package/esm2022/lib/_components/template/field-group-template/utils.mjs +11 -0
- package/esm2022/lib/_components/template/field-value-list/field-value-list.component.mjs +5 -5
- package/esm2022/lib/_components/template/inline-dashboard/inline-dashboard.component.mjs +3 -3
- package/esm2022/lib/_components/template/inline-dashboard-page/inline-dashboard-page.component.mjs +3 -3
- package/esm2022/lib/_components/template/list-page/list-page.component.mjs +3 -3
- package/esm2022/lib/_components/template/list-view/list-view.component.mjs +5 -5
- package/esm2022/lib/_components/template/multi-reference-readonly/multi-reference-readonly.component.mjs +3 -3
- package/esm2022/lib/_components/template/narrow-wide-form/narrow-wide-form.component.mjs +3 -3
- package/esm2022/lib/_components/template/one-column/one-column.component.mjs +3 -3
- package/esm2022/lib/_components/template/one-column-page/one-column-page.component.mjs +3 -3
- package/esm2022/lib/_components/template/one-column-tab/one-column-tab.component.mjs +3 -3
- package/esm2022/lib/_components/template/page/page.component.mjs +3 -3
- package/esm2022/lib/_components/template/promoted-filters/promoted-filters.component.mjs +3 -3
- package/esm2022/lib/_components/template/repeating-structures/repeating-structures.component.mjs +3 -3
- package/esm2022/lib/_components/template/simple-table/simple-table.component.mjs +3 -3
- package/esm2022/lib/_components/template/simple-table-manual/helpers.mjs +19 -3
- package/esm2022/lib/_components/template/simple-table-manual/simple-table-manual.component.mjs +58 -24
- package/esm2022/lib/_components/template/simple-table-select/simple-table-select.component.mjs +3 -3
- package/esm2022/lib/_components/template/single-reference-readonly/single-reference-readonly.component.mjs +3 -3
- package/esm2022/lib/_components/template/sub-tabs/sub-tabs.component.mjs +3 -3
- package/esm2022/lib/_components/template/three-column/three-column.component.mjs +3 -3
- package/esm2022/lib/_components/template/three-column-page/three-column-page.component.mjs +3 -3
- package/esm2022/lib/_components/template/two-column/two-column.component.mjs +3 -3
- package/esm2022/lib/_components/template/two-column-page/two-column-page.component.mjs +3 -3
- package/esm2022/lib/_components/template/two-column-tab/two-column-tab.component.mjs +3 -3
- package/esm2022/lib/_components/template/wide-narrow-form/wide-narrow-form.component.mjs +3 -3
- package/esm2022/lib/_components/template/wide-narrow-page/wide-narrow-page.component.mjs +3 -3
- package/esm2022/lib/_components/template/wss-nav-bar/wss-nav-bar.component.mjs +3 -3
- package/esm2022/lib/_components/widget/app-announcement/app-announcement.component.mjs +3 -3
- package/esm2022/lib/_components/widget/attachment/attachment.component.mjs +3 -3
- package/esm2022/lib/_components/widget/case-history/case-history.component.mjs +3 -3
- package/esm2022/lib/_components/widget/feed-container/feed-container.component.mjs +3 -3
- package/esm2022/lib/_components/widget/file-utility/file-utility.component.mjs +3 -3
- package/esm2022/lib/_components/widget/list-utility/list-utility.component.mjs +3 -3
- package/esm2022/lib/_components/widget/quick-create/quick-create.component.mjs +3 -3
- package/esm2022/lib/_components/widget/todo/todo.component.mjs +5 -5
- package/esm2022/lib/_components/widget/utility/utility.component.mjs +3 -3
- package/esm2022/lib/_directives/thousand-seperator.directive.mjs +3 -3
- package/esm2022/lib/_helpers/formatters/boolean.mjs +2 -2
- package/esm2022/lib/_helpers/formatters/common.mjs +6 -3
- package/esm2022/lib/_helpers/formatters/currency.mjs +2 -2
- package/esm2022/lib/_helpers/formatters/date.mjs +2 -2
- package/esm2022/lib/_helpers/formatters/format-utils.mjs +10 -2
- package/esm2022/lib/_helpers/formatters/index.mjs +16 -16
- package/esm2022/lib/_helpers/template-utils.mjs +3 -3
- package/esm2022/lib/_helpers/utils.mjs +40 -18
- package/esm2022/lib/_messages/error-messages.service.mjs +3 -3
- package/esm2022/lib/_messages/progress-spinner.service.mjs +3 -3
- package/esm2022/lib/_messages/update-worklist.service.mjs +3 -3
- package/esm2022/lib/_services/banner.service.mjs +3 -3
- package/esm2022/lib/_services/case.service.mjs +3 -3
- package/esm2022/lib/_services/datapage.service.mjs +3 -3
- package/esm2022/lib/_services/server-config.service.mjs +3 -3
- package/esm2022/public-api.mjs +5 -3
- package/fesm2022/pega-angular-sdk-components.mjs +940 -746
- package/fesm2022/pega-angular-sdk-components.mjs.map +1 -1
- package/lib/_components/designSystemExtension/banner/banner.component.d.ts +0 -1
- package/lib/_components/designSystemExtension/case-create-stage/case-create-stage.component.d.ts +0 -1
- package/lib/_components/designSystemExtension/material-case-summary/material-case-summary.component.d.ts +1 -1
- package/lib/_components/designSystemExtension/material-details-fields/material-details-fields.component.d.ts +1 -0
- package/lib/_components/designSystemExtension/operator/operator.component.d.ts +2 -3
- package/lib/_components/designSystemExtension/pulse/pulse.component.d.ts +0 -1
- package/lib/_components/field/auto-complete/auto-complete.component.d.ts +5 -1
- package/lib/_components/field/cancel-alert/cancel-alert.component.d.ts +0 -1
- package/lib/_components/field/check-box/check-box.component.d.ts +0 -1
- package/lib/_components/field/currency/currency.component.d.ts +0 -1
- package/lib/_components/field/date/date.component.d.ts +0 -1
- package/lib/_components/field/date-time/date-time.component.d.ts +1 -1
- package/lib/_components/field/decimal/decimal.component.d.ts +1 -1
- package/lib/_components/field/dropdown/dropdown.component.d.ts +1 -1
- package/lib/_components/field/email/email.component.d.ts +0 -1
- package/lib/_components/field/group/group.component.d.ts +0 -1
- package/lib/_components/field/integer/integer.component.d.ts +0 -1
- package/lib/_components/field/list-view-action-buttons/list-view-action-buttons.component.d.ts +1 -2
- package/lib/_components/field/multiselect/multiselect.component.d.ts +0 -1
- package/lib/_components/field/percentage/percentage.component.d.ts +1 -2
- package/lib/_components/field/phone/phone.component.d.ts +0 -7
- package/lib/_components/field/radio-buttons/radio-buttons.component.d.ts +0 -1
- package/lib/_components/field/rich-text/rich-text.component.d.ts +1 -2
- package/lib/_components/field/scalar-list/scalar-list.component.d.ts +0 -1
- package/lib/_components/field/semantic-link/semantic-link.component.d.ts +0 -1
- package/lib/_components/field/text/text.component.d.ts +0 -1
- package/lib/_components/field/text-area/text-area.component.d.ts +0 -1
- package/lib/_components/field/text-content/text-content.component.d.ts +0 -1
- package/lib/_components/field/text-input/text-input.component.d.ts +0 -1
- package/lib/_components/field/time/time.component.d.ts +1 -2
- package/lib/_components/field/url/url.component.d.ts +0 -1
- package/lib/_components/field/user-reference/user-reference.component.d.ts +0 -1
- package/lib/_components/infra/Containers/flow-container/flow-container.component.d.ts +0 -1
- package/lib/_components/infra/Containers/hybrid-view-container/hybrid-view-container.component.d.ts +0 -1
- package/lib/_components/infra/Containers/modal-view-container/modal-view-container.component.d.ts +0 -2
- package/lib/_components/infra/Containers/preview-view-container/preview-view-container.component.d.ts +0 -1
- package/lib/_components/infra/Containers/view-container/view-container.component.d.ts +0 -1
- package/lib/_components/infra/action-buttons/action-buttons.component.d.ts +1 -1
- package/lib/_components/infra/assignment/assignment.component.d.ts +0 -1
- package/lib/_components/infra/assignment-card/assignment-card.component.d.ts +2 -11
- package/lib/_components/infra/dashboard-filter/dashboard-filter.component.d.ts +0 -1
- package/lib/_components/infra/defer-load/defer-load.component.d.ts +1 -1
- package/lib/_components/infra/error-boundary/error-boundary.component.d.ts +1 -1
- package/lib/_components/infra/multi-step/multi-step.component.d.ts +0 -1
- package/lib/_components/infra/navbar/navbar.component.d.ts +0 -1
- package/lib/_components/infra/reference/reference.component.d.ts +23 -3
- package/lib/_components/infra/region/region.component.d.ts +0 -1
- package/lib/_components/infra/root-container/root-container.component.d.ts +3 -1
- package/lib/_components/infra/stages/stages.component.d.ts +0 -1
- package/lib/_components/infra/view/view.component.d.ts +0 -1
- package/lib/_components/template/app-shell/app-shell.component.d.ts +0 -1
- package/lib/_components/template/banner-page/banner-page.component.d.ts +0 -1
- package/lib/_components/template/base/details-template-base.d.ts +0 -1
- package/lib/_components/template/case-summary/case-summary.component.d.ts +0 -1
- package/lib/_components/template/case-view/case-view.component.d.ts +0 -1
- package/lib/_components/template/confirmation/confirmation.component.d.ts +0 -1
- package/lib/_components/template/data-reference/data-reference.component.d.ts +0 -1
- package/lib/_components/template/default-form/default-form.component.d.ts +2 -3
- package/lib/_components/template/details/details.component.d.ts +0 -1
- package/lib/_components/template/details-narrow-wide/details-narrow-wide.component.d.ts +0 -1
- package/lib/_components/template/details-one-column/details-one-column.component.d.ts +0 -1
- package/lib/_components/template/details-sub-tabs/details-sub-tabs.component.d.ts +0 -1
- package/lib/_components/template/details-three-column/details-three-column.component.d.ts +0 -1
- package/lib/_components/template/details-two-column/details-two-column.component.d.ts +0 -1
- package/lib/_components/template/details-wide-narrow/details-wide-narrow.component.d.ts +0 -1
- package/lib/_components/template/dynamic-tabs/dynamic-tabs.component.d.ts +0 -1
- package/lib/_components/template/field-group-template/field-group-template.component.d.ts +12 -9
- package/lib/_components/template/field-group-template/utils.d.ts +1 -0
- package/lib/_components/template/inline-dashboard/inline-dashboard.component.d.ts +0 -1
- package/lib/_components/template/inline-dashboard-page/inline-dashboard-page.component.d.ts +0 -1
- package/lib/_components/template/list-page/list-page.component.d.ts +0 -1
- package/lib/_components/template/list-view/list-view.component.d.ts +1 -2
- package/lib/_components/template/multi-reference-readonly/multi-reference-readonly.component.d.ts +0 -1
- package/lib/_components/template/narrow-wide-form/narrow-wide-form.component.d.ts +0 -1
- package/lib/_components/template/one-column/one-column.component.d.ts +0 -1
- package/lib/_components/template/one-column-page/one-column-page.component.d.ts +0 -1
- package/lib/_components/template/one-column-tab/one-column-tab.component.d.ts +0 -1
- package/lib/_components/template/page/page.component.d.ts +0 -1
- package/lib/_components/template/promoted-filters/promoted-filters.component.d.ts +0 -1
- package/lib/_components/template/repeating-structures/repeating-structures.component.d.ts +0 -1
- package/lib/_components/template/simple-table/simple-table.component.d.ts +0 -1
- package/lib/_components/template/simple-table-manual/helpers.d.ts +9 -2
- package/lib/_components/template/simple-table-manual/simple-table-manual.component.d.ts +8 -3
- package/lib/_components/template/simple-table-select/simple-table-select.component.d.ts +0 -1
- package/lib/_components/template/single-reference-readonly/single-reference-readonly.component.d.ts +0 -1
- package/lib/_components/template/sub-tabs/sub-tabs.component.d.ts +0 -1
- package/lib/_components/template/three-column/three-column.component.d.ts +0 -1
- package/lib/_components/template/three-column-page/three-column-page.component.d.ts +0 -1
- package/lib/_components/template/two-column/two-column.component.d.ts +0 -1
- package/lib/_components/template/two-column-page/two-column-page.component.d.ts +0 -1
- package/lib/_components/template/two-column-tab/two-column-tab.component.d.ts +0 -1
- package/lib/_components/template/wide-narrow-form/wide-narrow-form.component.d.ts +0 -1
- package/lib/_components/template/wide-narrow-page/wide-narrow-page.component.d.ts +0 -1
- package/lib/_components/template/wss-nav-bar/wss-nav-bar.component.d.ts +1 -2
- package/lib/_components/widget/app-announcement/app-announcement.component.d.ts +0 -1
- package/lib/_components/widget/attachment/attachment.component.d.ts +1 -2
- package/lib/_components/widget/case-history/case-history.component.d.ts +0 -1
- package/lib/_components/widget/feed-container/feed-container.component.d.ts +0 -1
- package/lib/_components/widget/file-utility/file-utility.component.d.ts +0 -1
- package/lib/_components/widget/quick-create/quick-create.component.d.ts +0 -1
- package/lib/_components/widget/todo/todo.component.d.ts +1 -2
- package/lib/_components/widget/utility/utility.component.d.ts +0 -1
- package/lib/_helpers/formatters/boolean.d.ts +1 -2
- package/lib/_helpers/formatters/common.d.ts +1 -1
- package/lib/_helpers/formatters/currency.d.ts +1 -2
- package/lib/_helpers/formatters/date.d.ts +1 -2
- package/lib/_helpers/formatters/index.d.ts +1 -2
- package/lib/_helpers/utils.d.ts +8 -0
- package/package.json +1 -1
- package/public-api.d.ts +4 -2
- package/esm2022/lib/_services/idle-detection.service.mjs +0 -26
- package/lib/_services/idle-detection.service.d.ts +0 -9
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
import { OnInit, OnDestroy, OnChanges } from '@angular/core';
|
|
1
|
+
import { OnInit, OnDestroy, OnChanges, AfterViewInit } from '@angular/core';
|
|
3
2
|
import { FormGroup } from '@angular/forms';
|
|
4
3
|
import { AngularPConnectData, AngularPConnectService } from '../../../_bridge/angular-pconnect';
|
|
5
4
|
import { Utils } from '../../../_helpers/utils';
|
|
6
5
|
import * as i0 from "@angular/core";
|
|
7
6
|
interface FieldGroupTemplateProps {
|
|
8
7
|
label?: string;
|
|
9
|
-
|
|
8
|
+
hideLabel?: boolean;
|
|
9
|
+
allowActions?: any;
|
|
10
|
+
allowRowDelete?: any;
|
|
10
11
|
referenceList?: any[];
|
|
11
12
|
contextClass: string;
|
|
12
13
|
renderMode?: string;
|
|
@@ -15,37 +16,39 @@ interface FieldGroupTemplateProps {
|
|
|
15
16
|
displayMode?: string;
|
|
16
17
|
fieldHeader?: string;
|
|
17
18
|
allowTableEdit: boolean;
|
|
19
|
+
targetClassLabel?: string;
|
|
18
20
|
}
|
|
19
|
-
export declare class FieldGroupTemplateComponent implements OnInit, OnDestroy, OnChanges {
|
|
21
|
+
export declare class FieldGroupTemplateComponent implements OnInit, OnDestroy, OnChanges, AfterViewInit {
|
|
20
22
|
private angularPConnect;
|
|
21
23
|
private utils;
|
|
22
24
|
configProps$: FieldGroupTemplateProps;
|
|
23
25
|
pConn$: typeof PConnect;
|
|
24
26
|
formGroup$: FormGroup;
|
|
25
27
|
angularPConnectData: AngularPConnectData;
|
|
26
|
-
inheritedProps$: object;
|
|
27
28
|
showLabel$?: boolean;
|
|
28
29
|
label$?: string;
|
|
29
30
|
readonlyMode: boolean;
|
|
30
31
|
contextClass: any;
|
|
31
|
-
referenceList: any;
|
|
32
|
-
pageReference: any;
|
|
33
32
|
heading: any;
|
|
34
33
|
children: any;
|
|
35
34
|
menuIconOverride$: any;
|
|
36
|
-
|
|
37
|
-
allowAddEdit: boolean;
|
|
35
|
+
referenceListLength: number;
|
|
38
36
|
fieldHeader: any;
|
|
37
|
+
allowAdd: boolean;
|
|
38
|
+
allowEdit: boolean;
|
|
39
|
+
allowDelete: boolean;
|
|
39
40
|
constructor(angularPConnect: AngularPConnectService, utils: Utils);
|
|
40
41
|
ngOnInit(): void;
|
|
41
42
|
ngOnDestroy(): void;
|
|
42
43
|
onStateChange(): void;
|
|
43
44
|
ngOnChanges(changes: any): void;
|
|
45
|
+
ngAfterViewInit(): void;
|
|
44
46
|
updateSelf(): void;
|
|
45
47
|
getStaticHeader: (heading: any, index: any) => string;
|
|
46
48
|
getDynamicHeader: (item: any, index: any) => any;
|
|
47
49
|
addFieldGroupItem(): void;
|
|
48
50
|
deleteFieldGroupItem(index: any): void;
|
|
51
|
+
getAddBtnLabel(): string;
|
|
49
52
|
static ɵfac: i0.ɵɵFactoryDeclaration<FieldGroupTemplateComponent, never>;
|
|
50
53
|
static ɵcmp: i0.ɵɵComponentDeclaration<FieldGroupTemplateComponent, "app-field-group-template", never, { "configProps$": { "alias": "configProps$"; "required": false; }; "pConn$": { "alias": "pConn$"; "required": false; }; "formGroup$": { "alias": "formGroup$"; "required": false; }; }, {}, never, never, true, never>;
|
|
51
54
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const evaluateAllowRowAction: (allowRowDelete: any, rowData: any) => boolean;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="pcore-pconnect-typedefs" />
|
|
2
1
|
import { OnInit, OnDestroy } from '@angular/core';
|
|
3
2
|
import { MatPaginator } from '@angular/material/paginator';
|
|
4
3
|
import { MatSort } from '@angular/material/sort';
|
|
@@ -33,7 +32,7 @@ export declare class Group {
|
|
|
33
32
|
}
|
|
34
33
|
export declare class ListViewComponent implements OnInit, OnDestroy {
|
|
35
34
|
private psService;
|
|
36
|
-
|
|
35
|
+
utils: Utils;
|
|
37
36
|
paginator: MatPaginator;
|
|
38
37
|
sort: MatSort;
|
|
39
38
|
pConn$: typeof PConnect;
|
|
@@ -65,8 +65,8 @@ export declare const createMetaForTable: (fields: any, renderMode: any) => {
|
|
|
65
65
|
editing: boolean;
|
|
66
66
|
timezone: string | undefined;
|
|
67
67
|
};
|
|
68
|
-
export declare const filterDataByDate: (item: any, filterObj: any) =>
|
|
69
|
-
export declare const filterDataByCommonFields: (item: any, filterObj: any) =>
|
|
68
|
+
export declare const filterDataByDate: (item: any, filterObj: any) => boolean;
|
|
69
|
+
export declare const filterDataByCommonFields: (item: any, filterObj: any) => boolean;
|
|
70
70
|
/**
|
|
71
71
|
* This method returns a callBack function for Add action.
|
|
72
72
|
* @param {object} pConnect - PConnect object
|
|
@@ -80,3 +80,10 @@ export declare const getAddRowCallback: (pConnect: any, index: any) => () => any
|
|
|
80
80
|
* @param {string} pageReference - pageReference
|
|
81
81
|
*/
|
|
82
82
|
export declare const createPConnect: (contextName: any, referenceList: any, pageReference: any) => import("@pega/pcore-pconnect-typedefs/interpreter/c11n-env").C11nEnv;
|
|
83
|
+
/**
|
|
84
|
+
* This method evaluates whether a row action is allowed based on the provided conditions.
|
|
85
|
+
* @param {string|boolean|undefined} allowRowDelete - The condition for allowing row deletion.
|
|
86
|
+
* @param {object} rowData - The data of the row being evaluated.
|
|
87
|
+
* @returns {boolean} - Returns true if the row action is allowed, false otherwise.
|
|
88
|
+
*/
|
|
89
|
+
export declare const evaluateAllowRowAction: (allowRowDelete: any, rowData: any) => boolean;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="pcore-pconnect-typedefs" />
|
|
2
1
|
import { OnInit, OnDestroy } from '@angular/core';
|
|
3
2
|
import { FormGroup } from '@angular/forms';
|
|
4
3
|
import { MatSort } from '@angular/material/sort';
|
|
@@ -20,7 +19,9 @@ interface SimpleTableManualProps {
|
|
|
20
19
|
contextClass?: string;
|
|
21
20
|
propertyLabel?: string;
|
|
22
21
|
fieldMetadata?: any;
|
|
22
|
+
allowActions?: any;
|
|
23
23
|
allowTableEdit?: boolean;
|
|
24
|
+
allowRowDelete?: any;
|
|
24
25
|
editMode?: string;
|
|
25
26
|
addAndEditRowsWithin?: any;
|
|
26
27
|
viewForAddAndEditModal?: any;
|
|
@@ -39,7 +40,7 @@ declare class Group {
|
|
|
39
40
|
}
|
|
40
41
|
export declare class SimpleTableManualComponent implements OnInit, OnDestroy {
|
|
41
42
|
private angularPConnect;
|
|
42
|
-
|
|
43
|
+
utils: Utils;
|
|
43
44
|
private dataPageService;
|
|
44
45
|
sort: MatSort;
|
|
45
46
|
pConn$: typeof PConnect;
|
|
@@ -63,6 +64,7 @@ export declare class SimpleTableManualComponent implements OnInit, OnDestroy {
|
|
|
63
64
|
showAddRowButton: boolean;
|
|
64
65
|
prevReferenceList: any[];
|
|
65
66
|
elementsData: MatTableDataSource<any>;
|
|
67
|
+
originalElementsData: MatTableDataSource<any>;
|
|
66
68
|
rawFields: any;
|
|
67
69
|
label?: string;
|
|
68
70
|
searchIcon$: string;
|
|
@@ -111,11 +113,14 @@ export declare class SimpleTableManualComponent implements OnInit, OnDestroy {
|
|
|
111
113
|
settingsSvgIcon$: string;
|
|
112
114
|
isInitialized: boolean;
|
|
113
115
|
targetClassLabel: string;
|
|
116
|
+
localizedVal: (localeKey: string, localePath?: string, localeRuleKey?: string, componentName?: string | null) => string;
|
|
117
|
+
localeCategory: string;
|
|
114
118
|
constructor(angularPConnect: AngularPConnectService, utils: Utils, dataPageService: DatapageService);
|
|
115
119
|
ngOnInit(): void;
|
|
116
120
|
ngOnDestroy(): void;
|
|
117
121
|
checkAndUpdate(): void;
|
|
118
122
|
updateSelf(): void;
|
|
123
|
+
checkIfAllowActionsOrRowEditingExist(newflagobject: any): any;
|
|
119
124
|
initializeDefaultPageInstructions(): void;
|
|
120
125
|
getResultsText(): string;
|
|
121
126
|
sortCompare(a: any, b: any): number;
|
|
@@ -131,7 +136,7 @@ export declare class SimpleTableManualComponent implements OnInit, OnDestroy {
|
|
|
131
136
|
_onFilterActionButtonClick(event: any): void;
|
|
132
137
|
updateFilterWithInfo(): void;
|
|
133
138
|
updateFilterVarsWithCurrent(columnData: any): void;
|
|
134
|
-
filterData(
|
|
139
|
+
filterData(element: any): boolean;
|
|
135
140
|
filterSortGroupBy(): void;
|
|
136
141
|
_headerSortClick(event: any, columnData: any): void;
|
|
137
142
|
_showUnGroupBy(columnData: any): boolean;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="pcore-pconnect-typedefs" />
|
|
2
1
|
import { ChangeDetectorRef, NgZone, OnDestroy, OnInit } from '@angular/core';
|
|
3
2
|
import { AngularPConnectData, AngularPConnectService } from '../../../_bridge/angular-pconnect';
|
|
4
3
|
import { ProgressSpinnerService } from '../../../_messages/progress-spinner.service';
|
|
@@ -33,7 +32,7 @@ export declare class WssNavBarComponent implements OnInit, OnDestroy {
|
|
|
33
32
|
showPage: any;
|
|
34
33
|
logout: any;
|
|
35
34
|
navIcon$: string;
|
|
36
|
-
localizedVal: (localeKey: string, localePath?: string
|
|
35
|
+
localizedVal: (localeKey: string, localePath?: string, localeRuleKey?: string, componentName?: string | null) => string;
|
|
37
36
|
localeCategory: string;
|
|
38
37
|
constructor(angularPConnect: AngularPConnectService, cdRef: ChangeDetectorRef, psService: ProgressSpinnerService, ngZone: NgZone, utils: Utils);
|
|
39
38
|
ngOnInit(): void;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="pcore-pconnect-typedefs" />
|
|
2
1
|
import { OnInit, NgZone, OnDestroy, ElementRef } from '@angular/core';
|
|
3
2
|
import { FormGroup } from '@angular/forms';
|
|
4
3
|
import { AngularPConnectData, AngularPConnectService } from '../../../_bridge/angular-pconnect';
|
|
@@ -29,7 +28,7 @@ export declare class AttachmentComponent implements OnInit, OnDestroy {
|
|
|
29
28
|
validateMessage: string | undefined;
|
|
30
29
|
valueRef: string;
|
|
31
30
|
imagePath$: string;
|
|
32
|
-
localizedVal: (localeKey: string, localePath?: string
|
|
31
|
+
localizedVal: (localeKey: string, localePath?: string, localeRuleKey?: string, componentName?: string | null) => string;
|
|
33
32
|
localeCategory: string;
|
|
34
33
|
uploadMultipleFilesLabel: string;
|
|
35
34
|
uploadSingleFileLabel: string;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="pcore-pconnect-typedefs" />
|
|
2
1
|
import { OnInit, OnDestroy } from '@angular/core';
|
|
3
2
|
import { publicConstants } from '@pega/pcore-pconnect-typedefs/constants';
|
|
4
3
|
import { ProgressSpinnerService } from '../../../_messages/progress-spinner.service';
|
|
@@ -34,7 +33,7 @@ export declare class TodoComponent implements OnInit, OnDestroy {
|
|
|
34
33
|
assignmentsSource$: any;
|
|
35
34
|
CONSTS: typeof publicConstants;
|
|
36
35
|
bLogging: boolean;
|
|
37
|
-
localizedVal: (localeKey: string, localePath?: string
|
|
36
|
+
localizedVal: (localeKey: string, localePath?: string, localeRuleKey?: string, componentName?: string | null) => string;
|
|
38
37
|
localeCategory: string;
|
|
39
38
|
showlessLocalizedValue: string;
|
|
40
39
|
showMoreLocalizedValue: string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export declare function getLocale(locale?: string): string | undefined;
|
|
2
|
-
export declare function getCurrentTimezone(): string
|
|
2
|
+
export declare function getCurrentTimezone(timezone?: string): string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const
|
|
1
|
+
export declare const CurrencyFormatters: {
|
|
2
2
|
Currency: (value: any, options: any) => string;
|
|
3
3
|
'Currency-Code': (value: any, options: any) => string;
|
|
4
4
|
Decimal: (value: any, options: any) => string;
|
|
@@ -6,4 +6,3 @@ declare const _default: {
|
|
|
6
6
|
Integer: (value: any, options: any) => string;
|
|
7
7
|
Percentage: (value: any, options: any) => string;
|
|
8
8
|
};
|
|
9
|
-
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const
|
|
1
|
+
export declare const DateFormatters: {
|
|
2
2
|
'DateTime-Long': (value: any, options: any) => string;
|
|
3
3
|
'DateTime-Short': (value: any, options: any) => string;
|
|
4
4
|
'DateTime-Since': (value: any) => string;
|
|
@@ -7,4 +7,3 @@ declare const _default: {
|
|
|
7
7
|
convertFromTimezone: (value: any, timezone: any) => any;
|
|
8
8
|
Date: (value: any, options: any) => string;
|
|
9
9
|
};
|
|
10
|
-
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const
|
|
1
|
+
export declare const CommonFormatters: {
|
|
2
2
|
'DateTime-Long': (value: any, options: any) => string;
|
|
3
3
|
'DateTime-Short': (value: any, options: any) => string;
|
|
4
4
|
'DateTime-Since': (value: any) => string;
|
|
@@ -14,5 +14,4 @@ declare const _default: {
|
|
|
14
14
|
Percentage: (value: any, options: any) => string;
|
|
15
15
|
TrueFalse: (value: any, options: any) => any;
|
|
16
16
|
};
|
|
17
|
-
export default _default;
|
|
18
17
|
export declare function format(value: any, type: any, options?: {}): string;
|
package/lib/_helpers/utils.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ export declare class Utils {
|
|
|
4
4
|
private scService;
|
|
5
5
|
lastControlID: number;
|
|
6
6
|
viewContainerCount: number;
|
|
7
|
+
timezone: string | undefined;
|
|
7
8
|
constructor(scService: ServerConfigService);
|
|
8
9
|
getSDKStaticContentUrl(): string;
|
|
9
10
|
consoleKidDump(pConn: any, level?: number, kidNum?: number): void;
|
|
@@ -27,6 +28,13 @@ export declare class Utils {
|
|
|
27
28
|
getUserId: (user: any) => string;
|
|
28
29
|
static sdkGetAuthHeader(): string;
|
|
29
30
|
static isEmptyObject(obj: Object): boolean;
|
|
31
|
+
/**
|
|
32
|
+
* Get a localized value from the Generic Fields
|
|
33
|
+
* @param path - The path within Generic Fields (e.g., 'CosmosFields.fields.lists')
|
|
34
|
+
* @param key - The key of the string to localize
|
|
35
|
+
* @returns The localized string or the key itself if no translation is found
|
|
36
|
+
*/
|
|
37
|
+
getGenericFieldsLocalizedValue(path: string, key: string): string;
|
|
30
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<Utils, never>;
|
|
31
39
|
static ɵprov: i0.ɵɵInjectableDeclaration<Utils>;
|
|
32
40
|
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -112,7 +112,6 @@ export * from './lib/_directives/thousand-seperator.directive';
|
|
|
112
112
|
export * from './lib/_services/server-config.service';
|
|
113
113
|
export * from './lib/_services/case.service';
|
|
114
114
|
export * from './lib/_services/datapage.service';
|
|
115
|
-
export * from './lib/_services/idle-detection.service';
|
|
116
115
|
export * from './lib/_services/banner.service';
|
|
117
116
|
export * from './lib/_services/endpoints';
|
|
118
117
|
export * from './lib/_helpers/case-utils';
|
|
@@ -124,7 +123,10 @@ export * from './lib/_helpers/event-util';
|
|
|
124
123
|
export * from './lib/_helpers/field-group-utils';
|
|
125
124
|
export * from './lib/_helpers/formatters/format-utils';
|
|
126
125
|
export * from './lib/_helpers/formatters/currency-map';
|
|
127
|
-
export * from './lib/_helpers/formatters';
|
|
126
|
+
export * from './lib/_helpers/formatters/date';
|
|
127
|
+
export * from './lib/_helpers/formatters/boolean';
|
|
128
|
+
export * from './lib/_helpers/formatters/currency';
|
|
129
|
+
export * from './lib/_helpers/formatters/index';
|
|
128
130
|
export * from './lib/_helpers/tab-utils';
|
|
129
131
|
export * from './lib/_helpers/template-utils';
|
|
130
132
|
export * from './lib/_helpers/utils';
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { Injectable } from '@angular/core';
|
|
2
|
-
import { fromEvent, merge, timer } from 'rxjs';
|
|
3
|
-
import { switchMap, tap } from 'rxjs/operators';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export class IdleDetectionService {
|
|
6
|
-
constructor() {
|
|
7
|
-
this.activityEvents$ = merge(fromEvent(document, 'mousemove'), fromEvent(document, 'keydown'), fromEvent(document, 'click'));
|
|
8
|
-
}
|
|
9
|
-
startWatching(idleCallback, idleTimeout = 10000) {
|
|
10
|
-
this.idleSubscription = this.activityEvents$.pipe(switchMap(() => timer(idleTimeout).pipe(tap(() => idleCallback())))).subscribe();
|
|
11
|
-
}
|
|
12
|
-
stopWatching() {
|
|
13
|
-
if (this.idleSubscription) {
|
|
14
|
-
this.idleSubscription.unsubscribe();
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: IdleDetectionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
18
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: IdleDetectionService, providedIn: 'root' }); }
|
|
19
|
-
}
|
|
20
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: IdleDetectionService, decorators: [{
|
|
21
|
-
type: Injectable,
|
|
22
|
-
args: [{
|
|
23
|
-
providedIn: 'root'
|
|
24
|
-
}]
|
|
25
|
-
}] });
|
|
26
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaWRsZS1kZXRlY3Rpb24uc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2FuZ3VsYXItc2RrLWNvbXBvbmVudHMvc3JjL2xpYi9fc2VydmljZXMvaWRsZS1kZXRlY3Rpb24uc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzNDLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFnQixLQUFLLEVBQUUsTUFBTSxNQUFNLENBQUM7QUFDN0QsT0FBTyxFQUFFLFNBQVMsRUFBRSxHQUFHLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQzs7QUFLaEQsTUFBTSxPQUFPLG9CQUFvQjtJQUhqQztRQUlVLG9CQUFlLEdBQUcsS0FBSyxDQUFDLFNBQVMsQ0FBQyxRQUFRLEVBQUUsV0FBVyxDQUFDLEVBQUUsU0FBUyxDQUFDLFFBQVEsRUFBRSxTQUFTLENBQUMsRUFBRSxTQUFTLENBQUMsUUFBUSxFQUFFLE9BQU8sQ0FBQyxDQUFDLENBQUM7S0Fhakk7SUFUQyxhQUFhLENBQUMsWUFBd0IsRUFBRSxjQUFzQixLQUFLO1FBQ2pFLElBQUksQ0FBQyxnQkFBZ0IsR0FBRyxJQUFJLENBQUMsZUFBZSxDQUFDLElBQUksQ0FBQyxTQUFTLENBQUMsR0FBRyxFQUFFLENBQUMsS0FBSyxDQUFDLFdBQVcsQ0FBQyxDQUFDLElBQUksQ0FBQyxHQUFHLENBQUMsR0FBRyxFQUFFLENBQUMsWUFBWSxFQUFFLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQyxTQUFTLEVBQUUsQ0FBQztJQUNySSxDQUFDO0lBRUQsWUFBWTtRQUNWLElBQUksSUFBSSxDQUFDLGdCQUFnQixFQUFFLENBQUM7WUFDMUIsSUFBSSxDQUFDLGdCQUFnQixDQUFDLFdBQVcsRUFBRSxDQUFDO1FBQ3RDLENBQUM7SUFDSCxDQUFDOytHQWJVLG9CQUFvQjttSEFBcEIsb0JBQW9CLGNBRm5CLE1BQU07OzRGQUVQLG9CQUFvQjtrQkFIaEMsVUFBVTttQkFBQztvQkFDVixVQUFVLEVBQUUsTUFBTTtpQkFDbkIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBJbmplY3RhYmxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBmcm9tRXZlbnQsIG1lcmdlLCBTdWJzY3JpcHRpb24sIHRpbWVyIH0gZnJvbSAncnhqcyc7XG5pbXBvcnQgeyBzd2l0Y2hNYXAsIHRhcCB9IGZyb20gJ3J4anMvb3BlcmF0b3JzJztcblxuQEluamVjdGFibGUoe1xuICBwcm92aWRlZEluOiAncm9vdCdcbn0pXG5leHBvcnQgY2xhc3MgSWRsZURldGVjdGlvblNlcnZpY2Uge1xuICBwcml2YXRlIGFjdGl2aXR5RXZlbnRzJCA9IG1lcmdlKGZyb21FdmVudChkb2N1bWVudCwgJ21vdXNlbW92ZScpLCBmcm9tRXZlbnQoZG9jdW1lbnQsICdrZXlkb3duJyksIGZyb21FdmVudChkb2N1bWVudCwgJ2NsaWNrJykpO1xuXG4gIHByaXZhdGUgaWRsZVN1YnNjcmlwdGlvbiE6IFN1YnNjcmlwdGlvbjtcblxuICBzdGFydFdhdGNoaW5nKGlkbGVDYWxsYmFjazogKCkgPT4gdm9pZCwgaWRsZVRpbWVvdXQ6IG51bWJlciA9IDEwMDAwKSB7XG4gICAgdGhpcy5pZGxlU3Vic2NyaXB0aW9uID0gdGhpcy5hY3Rpdml0eUV2ZW50cyQucGlwZShzd2l0Y2hNYXAoKCkgPT4gdGltZXIoaWRsZVRpbWVvdXQpLnBpcGUodGFwKCgpID0+IGlkbGVDYWxsYmFjaygpKSkpKS5zdWJzY3JpYmUoKTtcbiAgfVxuXG4gIHN0b3BXYXRjaGluZygpIHtcbiAgICBpZiAodGhpcy5pZGxlU3Vic2NyaXB0aW9uKSB7XG4gICAgICB0aGlzLmlkbGVTdWJzY3JpcHRpb24udW5zdWJzY3JpYmUoKTtcbiAgICB9XG4gIH1cbn1cbiJdfQ==
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class IdleDetectionService {
|
|
3
|
-
private activityEvents$;
|
|
4
|
-
private idleSubscription;
|
|
5
|
-
startWatching(idleCallback: () => void, idleTimeout?: number): void;
|
|
6
|
-
stopWatching(): void;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IdleDetectionService, never>;
|
|
8
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<IdleDetectionService>;
|
|
9
|
-
}
|