@pega/angular-sdk-components 24.2.10 → 24.2.12
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 +5 -5
- package/esm2022/lib/_components/field/currency/currency.component.mjs +23 -18
- package/esm2022/lib/_components/field/date/date.component.mjs +5 -5
- 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 +17 -9
- package/esm2022/lib/_components/field/email/email.component.mjs +19 -11
- package/esm2022/lib/_components/field/group/group.component.mjs +3 -3
- package/esm2022/lib/_components/field/integer/integer.component.mjs +19 -11
- 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 +11 -16
- package/esm2022/lib/_components/field/radio-buttons/radio-buttons.component.mjs +5 -5
- 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 +10 -8
- package/esm2022/lib/_components/field/text-area/text-area.component.mjs +19 -11
- package/esm2022/lib/_components/field/text-content/text-content.component.mjs +3 -3
- package/esm2022/lib/_components/field/text-input/text-input.component.mjs +19 -11
- package/esm2022/lib/_components/field/time/time.component.mjs +23 -11
- package/esm2022/lib/_components/field/url/url.component.mjs +19 -11
- 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 +13 -42
- package/esm2022/lib/_components/infra/Containers/flow-container/helpers.mjs +3 -3
- 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 -12
- 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 +73 -48
- package/esm2022/lib/_components/infra/assignment-card/assignment-card.component.mjs +5 -5
- 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 +4 -4
- package/esm2022/lib/_components/infra/reference/reference.component.mjs +74 -81
- package/esm2022/lib/_components/infra/region/region.component.mjs +3 -3
- package/esm2022/lib/_components/infra/root-container/root-container.component.mjs +25 -30
- 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 +7 -4
- 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 +33 -9
- 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-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/list-view/listViewHelpers.mjs +2 -2
- package/esm2022/lib/_components/template/list-view/utils.mjs +1 -1
- package/esm2022/lib/_components/template/multi-reference-readonly/multi-reference-readonly.component.mjs +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 +9 -8
- 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/utils.mjs +17 -1
- 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 +4 -4
- 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 +8 -6
- 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 +44 -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 +35 -0
- 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 +13 -9
- package/fesm2022/pega-angular-sdk-components.mjs +1142 -832
- 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 +1 -2
- 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 +1 -2
- package/lib/_components/field/text-content/text-content.component.d.ts +0 -1
- package/lib/_components/field/text-input/text-input.component.d.ts +1 -2
- package/lib/_components/field/time/time.component.d.ts +1 -2
- package/lib/_components/field/url/url.component.d.ts +1 -2
- 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 -2
- package/lib/_components/infra/Containers/flow-container/helpers.d.ts +1 -0
- 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 +1 -4
- 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 +6 -4
- package/lib/_components/infra/assignment-card/assignment-card.component.d.ts +0 -1
- 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 -2
- 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/base/form-template-base.d.ts +2 -0
- 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 +6 -2
- 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/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 +3 -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/utils.d.ts +7 -0
- 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 +2 -3
- 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/lib/_services/banner.service.d.ts +8 -0
- package/package.json +1 -1
- package/public-api.d.ts +12 -8
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { OnDestroy } from '@angular/core';
|
|
2
|
+
import { AngularPConnectData } from '../../../_bridge/angular-pconnect';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class FormTemplateBase implements OnDestroy {
|
|
4
5
|
pConn$: any;
|
|
6
|
+
angularPConnectData: AngularPConnectData;
|
|
5
7
|
ngOnDestroy(): void;
|
|
6
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormTemplateBase, never>;
|
|
7
9
|
static ɵdir: i0.ɵɵDirectiveDeclaration<FormTemplateBase, never, never, {}, {}, never, never, false, never>;
|
|
@@ -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 { AngularPConnectData, AngularPConnectService } from '../../../_bridge/angular-pconnect';
|
|
@@ -1,18 +1,22 @@
|
|
|
1
|
-
/// <reference types="pcore-pconnect-typedefs" />
|
|
2
1
|
import { OnInit } from '@angular/core';
|
|
3
2
|
import { FormGroup } from '@angular/forms';
|
|
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
7
|
export declare class DefaultFormComponent extends FormTemplateBase implements OnInit {
|
|
8
|
+
private angularPConnect;
|
|
8
9
|
private templateUtils;
|
|
9
10
|
pConn$: typeof PConnect;
|
|
10
11
|
formGroup$: FormGroup;
|
|
12
|
+
angularPConnectData: AngularPConnectData;
|
|
11
13
|
arChildren$: any[];
|
|
12
14
|
divClass$: string;
|
|
13
15
|
instructions: string;
|
|
14
|
-
constructor(templateUtils: TemplateUtils);
|
|
16
|
+
constructor(angularPConnect: AngularPConnectService, templateUtils: TemplateUtils);
|
|
15
17
|
ngOnInit(): void;
|
|
18
|
+
onStateChange(): void;
|
|
19
|
+
updateSelf(): void;
|
|
16
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<DefaultFormComponent, never>;
|
|
17
21
|
static ɵcmp: i0.ɵɵComponentDeclaration<DefaultFormComponent, "app-default-form", never, { "pConn$": { "alias": "pConn$"; "required": false; }; "formGroup$": { "alias": "formGroup$"; "required": false; }; }, {}, never, never, true, never>;
|
|
18
22
|
}
|
|
@@ -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
|
}
|
|
@@ -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;
|
|
@@ -4,6 +4,7 @@ export declare const getContext: (thePConn: any) => {
|
|
|
4
4
|
contextName: any;
|
|
5
5
|
referenceListStr: any;
|
|
6
6
|
pageReferenceForRows: any;
|
|
7
|
+
viewName: any;
|
|
7
8
|
};
|
|
8
9
|
export declare const populateRowKey: (rawData: any) => any;
|
|
9
10
|
export declare const getApiContext: (processedData: any, pConnect: any, reorderCB: any) => {
|
|
@@ -64,8 +65,8 @@ export declare const createMetaForTable: (fields: any, renderMode: any) => {
|
|
|
64
65
|
editing: boolean;
|
|
65
66
|
timezone: string | undefined;
|
|
66
67
|
};
|
|
67
|
-
export declare const filterDataByDate: (item: any, filterObj: any) =>
|
|
68
|
-
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;
|
|
69
70
|
/**
|
|
70
71
|
* This method returns a callBack function for Add action.
|
|
71
72
|
* @param {object} pConnect - PConnect object
|
|
@@ -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,2 +1,9 @@
|
|
|
1
1
|
export declare function getAllFields(pConnect: any): never[];
|
|
2
2
|
export declare function filterForFieldValueList(fields: any): any;
|
|
3
|
+
/**
|
|
4
|
+
* This method evaluates whether a row action is allowed based on the provided conditions.
|
|
5
|
+
* @param {string|boolean|undefined} allowRowDelete - The condition for allowing row deletion.
|
|
6
|
+
* @param {object} rowData - The data of the row being evaluated.
|
|
7
|
+
* @returns {boolean} - Returns true if the row action is allowed, false otherwise.
|
|
8
|
+
*/
|
|
9
|
+
export declare const evaluateAllowRowAction: (allowRowDelete: any, rowData: 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,15 +33,15 @@ 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;
|
|
41
|
-
canPerform: boolean;
|
|
42
40
|
count: number;
|
|
43
41
|
constructor(psService: ProgressSpinnerService, erService: ErrorMessagesService, utils: Utils);
|
|
44
42
|
ngOnInit(): void;
|
|
45
43
|
ngOnDestroy(): void;
|
|
44
|
+
get canPerform(): boolean;
|
|
46
45
|
updateList(): void;
|
|
47
46
|
updateToDo(): void;
|
|
48
47
|
deferLoadWorklistItems(responseData: any): void;
|
|
@@ -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
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class BannerService {
|
|
3
|
+
banners: any[];
|
|
4
|
+
clearBanners(): void;
|
|
5
|
+
updateBanners(itemKey: any): void;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BannerService, never>;
|
|
7
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BannerService>;
|
|
8
|
+
}
|