@pega/angular-sdk-components 0.24.9 → 0.25.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/pega-angular-sdk-components.mjs +6103 -4676
- 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/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 +2 -1
- package/lib/_components/designSystemExtension/operator/operator.component.d.ts +2 -3
- package/lib/_components/designSystemExtension/pulse/pulse.component.d.ts +2 -3
- package/lib/_components/field/auto-complete/auto-complete.component.d.ts +15 -38
- package/lib/_components/field/cancel-alert/cancel-alert.component.d.ts +7 -6
- package/lib/_components/field/check-box/check-box.component.d.ts +10 -33
- package/lib/_components/field/currency/currency.component.d.ts +25 -38
- package/lib/_components/field/date/date.component.d.ts +9 -49
- package/lib/_components/field/date-time/date-time.component.d.ts +11 -34
- package/lib/_components/field/decimal/decimal.component.d.ts +20 -35
- package/lib/_components/field/dropdown/dropdown.component.d.ts +22 -35
- package/lib/_components/field/email/email.component.d.ts +7 -33
- package/lib/_components/field/field.base.d.ts +57 -0
- package/lib/_components/field/group/group.component.d.ts +5 -3
- package/lib/_components/field/integer/integer.component.d.ts +7 -32
- package/lib/_components/field/list-view-action-buttons/list-view-action-buttons.component.d.ts +1 -2
- package/lib/_components/field/location/location.component.d.ts +71 -0
- package/lib/_components/field/multiselect/multiselect.component.d.ts +8 -39
- package/lib/_components/field/object-reference/object-reference.component.d.ts +45 -0
- package/lib/_components/field/percentage/percentage.component.d.ts +22 -36
- package/lib/_components/field/phone/phone.component.d.ts +9 -37
- package/lib/_components/field/radio-buttons/radio-buttons.component.d.ts +13 -33
- package/lib/_components/field/rich-text/rich-text.component.d.ts +7 -29
- package/lib/_components/field/scalar-list/scalar-list.component.d.ts +6 -22
- 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 -1
- package/lib/_components/field/text/text.component.d.ts +3 -2
- package/lib/_components/field/text-area/text-area.component.d.ts +6 -32
- package/lib/_components/field/text-content/text-content.component.d.ts +0 -1
- package/lib/_components/field/text-input/text-input.component.d.ts +6 -33
- package/lib/_components/field/time/time.component.d.ts +7 -33
- package/lib/_components/field/url/url.component.d.ts +6 -33
- package/lib/_components/field/user-reference/user-reference.component.d.ts +7 -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 +5 -10
- package/lib/_components/infra/Containers/preview-view-container/preview-view-container.component.d.ts +0 -1
- package/lib/_components/infra/Containers/view-container/helper.d.ts +2 -0
- 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 +8 -6
- package/lib/_components/infra/assignment-card/assignment-card.component.d.ts +3 -3
- package/lib/_components/infra/dashboard-filter/dashboard-filter.component.d.ts +0 -1
- package/lib/_components/infra/defer-load/defer-load.component.d.ts +9 -9
- 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 +2 -4
- 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 +2 -2
- package/lib/_components/infra/view/view.component.d.ts +1 -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 -3
- package/lib/_components/template/banner-page/banner-page.component.d.ts +0 -1
- package/lib/_components/template/base/details-template-base.d.ts +21 -0
- package/lib/_components/template/base/form-template-base.d.ts +10 -0
- package/lib/_components/template/case-summary/case-summary.component.d.ts +3 -3
- package/lib/_components/template/case-view/case-view.component.d.ts +1 -3
- package/lib/_components/template/confirmation/confirmation.component.d.ts +0 -1
- package/lib/_components/template/data-reference/data-reference-advanced-search.service.d.ts +9 -0
- package/lib/_components/template/data-reference/data-reference.component.d.ts +27 -3
- 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 +10 -8
- package/lib/_components/template/default-page/default-page.component.d.ts +29 -0
- package/lib/_components/template/details/details.component.d.ts +3 -12
- package/lib/_components/template/details-narrow-wide/details-narrow-wide.component.d.ts +3 -12
- package/lib/_components/template/details-one-column/details-one-column.component.d.ts +3 -14
- package/lib/_components/template/details-sub-tabs/details-sub-tabs.component.d.ts +3 -14
- package/lib/_components/template/details-three-column/details-three-column.component.d.ts +3 -14
- package/lib/_components/template/details-two-column/details-two-column.component.d.ts +3 -14
- package/lib/_components/template/details-wide-narrow/details-wide-narrow.component.d.ts +3 -14
- package/lib/_components/template/dynamic-tabs/dynamic-tabs.component.d.ts +1 -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 +20 -5
- package/lib/_components/template/list-view/listViewHelpers.d.ts +1 -1
- 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/object-page/object-page.component.d.ts +8 -0
- package/lib/_components/template/one-column/one-column.component.d.ts +2 -2
- 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/self-service-case-view/self-service-case-view.component.d.ts +59 -0
- package/lib/_components/template/simple-table/simple-table.component.d.ts +0 -1
- package/lib/_components/template/simple-table-manual/helpers.d.ts +19 -4
- package/lib/_components/template/simple-table-manual/simple-table-manual.component.d.ts +11 -4
- 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 +18 -3
- package/lib/_components/template/sub-tabs/sub-tabs.component.d.ts +0 -1
- package/lib/_components/template/three-column/three-column.component.d.ts +2 -2
- 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 +2 -2
- 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 +11 -0
- package/lib/_components/template/wide-narrow-form/wide-narrow-form.component.d.ts +2 -2
- package/lib/_components/template/wide-narrow-page/wide-narrow-page.component.d.ts +1 -2
- package/lib/_components/template/wss-nav-bar/wss-nav-bar.component.d.ts +4 -7
- package/lib/_components/widget/app-announcement/app-announcement.component.d.ts +0 -1
- 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 +20 -36
- package/lib/_components/widget/case-history/case-history.component.d.ts +0 -1
- package/lib/_components/widget/feed-container/feed-container.component.d.ts +4 -5
- package/lib/_components/widget/file-utility/file-utility.component.d.ts +1 -2
- package/lib/_components/widget/quick-create/quick-create.component.d.ts +0 -1
- package/lib/_components/widget/todo/todo.component.d.ts +13 -15
- package/lib/_components/widget/utility/utility.component.d.ts +0 -1
- package/lib/_helpers/common.d.ts +1 -1
- package/lib/_helpers/createstage-utils.d.ts +1 -0
- package/lib/_helpers/field-group-utils.d.ts +1 -3
- package/lib/_helpers/filter-utils.d.ts +1 -3
- package/lib/_helpers/formatters/boolean.d.ts +1 -2
- package/lib/_helpers/formatters/common.d.ts +2 -2
- 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/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 +13 -1
- package/lib/_messages/error-messages.service.d.ts +1 -1
- package/lib/_services/banner.service.d.ts +8 -0
- package/lib/_services/case.service.d.ts +1 -1
- package/lib/_services/datapage.service.d.ts +1 -1
- package/lib/_services/endpoints.d.ts +0 -1
- package/lib/_services/google-maps-loader.service.d.ts +7 -0
- package/lib/doc/KeyReleaseUpdates.md +35 -1
- package/package.json +20 -6
- package/public-api.d.ts +27 -11
- package/esm2022/lib/_bridge/angular-pconnect.mjs +0 -428
- package/esm2022/lib/_bridge/component-mapper/component-mapper.component.mjs +0 -114
- 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 -83
- 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 -31
- 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 -143
- 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 -286
- 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 -223
- package/esm2022/lib/_components/field/currency/currency.component.mjs +0 -177
- package/esm2022/lib/_components/field/date/date.component.mjs +0 -225
- package/esm2022/lib/_components/field/date-time/date-time.component.mjs +0 -181
- package/esm2022/lib/_components/field/decimal/decimal.component.mjs +0 -185
- package/esm2022/lib/_components/field/dropdown/dropdown.component.mjs +0 -192
- package/esm2022/lib/_components/field/email/email.component.mjs +0 -150
- package/esm2022/lib/_components/field/group/group.component.mjs +0 -64
- package/esm2022/lib/_components/field/integer/integer.component.mjs +0 -155
- package/esm2022/lib/_components/field/list-view-action-buttons/list-view-action-buttons.component.mjs +0 -44
- package/esm2022/lib/_components/field/multiselect/multiselect.component.mjs +0 -307
- package/esm2022/lib/_components/field/multiselect/utils.mjs +0 -187
- package/esm2022/lib/_components/field/percentage/percentage.component.mjs +0 -174
- package/esm2022/lib/_components/field/phone/phone.component.mjs +0 -167
- package/esm2022/lib/_components/field/radio-buttons/radio-buttons.component.mjs +0 -184
- package/esm2022/lib/_components/field/rich-text/rich-text.component.mjs +0 -103
- package/esm2022/lib/_components/field/scalar-list/scalar-list.component.mjs +0 -96
- package/esm2022/lib/_components/field/semantic-link/semantic-link.component.mjs +0 -57
- package/esm2022/lib/_components/field/text/text.component.mjs +0 -138
- package/esm2022/lib/_components/field/text-area/text-area.component.mjs +0 -153
- 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 -152
- package/esm2022/lib/_components/field/time/time.component.mjs +0 -153
- package/esm2022/lib/_components/field/url/url.component.mjs +0 -152
- package/esm2022/lib/_components/field/user-reference/user-reference.component.mjs +0 -187
- 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 -487
- 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 -342
- package/esm2022/lib/_components/infra/Containers/preview-view-container/preview-view-container.component.mjs +0 -32
- package/esm2022/lib/_components/infra/Containers/view-container/view-container.component.mjs +0 -218
- package/esm2022/lib/_components/infra/action-buttons/action-buttons.component.mjs +0 -31
- package/esm2022/lib/_components/infra/assignment/assignment.component.mjs +0 -383
- 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 -141
- 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 -133
- package/esm2022/lib/_components/infra/region/region.component.mjs +0 -33
- package/esm2022/lib/_components/infra/root-container/root-container.component.mjs +0 -228
- package/esm2022/lib/_components/infra/stages/stages.component.mjs +0 -62
- package/esm2022/lib/_components/infra/view/view.component.mjs +0 -173
- package/esm2022/lib/_components/template/app-shell/app-shell.component.mjs +0 -140
- package/esm2022/lib/_components/template/banner-page/banner-page.component.mjs +0 -43
- 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 -190
- package/esm2022/lib/_components/template/confirmation/confirmation.component.mjs +0 -68
- package/esm2022/lib/_components/template/data-reference/data-reference.component.mjs +0 -237
- package/esm2022/lib/_components/template/default-form/default-form.component.mjs +0 -61
- package/esm2022/lib/_components/template/details/details.component.mjs +0 -103
- package/esm2022/lib/_components/template/details-narrow-wide/details-narrow-wide.component.mjs +0 -72
- package/esm2022/lib/_components/template/details-one-column/details-one-column.component.mjs +0 -71
- package/esm2022/lib/_components/template/details-sub-tabs/details-sub-tabs.component.mjs +0 -66
- package/esm2022/lib/_components/template/details-three-column/details-three-column.component.mjs +0 -80
- package/esm2022/lib/_components/template/details-two-column/details-two-column.component.mjs +0 -77
- package/esm2022/lib/_components/template/details-wide-narrow/details-wide-narrow.component.mjs +0 -77
- package/esm2022/lib/_components/template/dynamic-tabs/dynamic-tabs.component.mjs +0 -64
- 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 -124
- 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 -1202
- 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 -30
- 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 -270
- package/esm2022/lib/_components/template/simple-table-manual/simple-table-manual.component.mjs +0 -781
- 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 -30
- 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 -30
- 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 -22
- package/esm2022/lib/_components/template/wide-narrow-form/wide-narrow-form.component.mjs +0 -30
- 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 -395
- 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 -214
- 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/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 -106
- package/esm2022/lib/_helpers/formatters/boolean.mjs +0 -20
- package/esm2022/lib/_helpers/formatters/common.mjs +0 -16
- 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 -68
- package/esm2022/lib/_helpers/formatters/index.mjs +0 -110
- 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 -386
- package/esm2022/lib/_helpers/versionHelpers.mjs +0 -12
- package/esm2022/lib/_messages/error-messages.service.mjs +0 -31
- package/esm2022/lib/_messages/get-login-status.service.mjs +0 -26
- package/esm2022/lib/_messages/oauth-response.service.mjs +0 -30
- package/esm2022/lib/_messages/progress-spinner.service.mjs +0 -30
- package/esm2022/lib/_messages/reset-pconnect.service.mjs +0 -31
- package/esm2022/lib/_messages/update-worklist.service.mjs +0 -30
- 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 -61
- 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 -141
- package/esm2022/sdk-local-component-map.mjs +0 -9
- package/lib/_messages/get-login-status.service.d.ts +0 -10
- package/lib/_messages/oauth-response.service.d.ts +0 -14
- package/lib/_messages/reset-pconnect.service.d.ts +0 -15
|
@@ -0,0 +1,59 @@
|
|
|
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
|
+
bHasNewAttachments: boolean;
|
|
33
|
+
localizedVal: any;
|
|
34
|
+
localeCategory: string;
|
|
35
|
+
localeKey: any;
|
|
36
|
+
showCaseLifecycle: boolean;
|
|
37
|
+
showSummaryRegion: boolean;
|
|
38
|
+
showUtilitiesRegion: boolean;
|
|
39
|
+
showCaseActions: boolean;
|
|
40
|
+
utilityRegion: any;
|
|
41
|
+
primarySummaryFields: any;
|
|
42
|
+
secondarySummaryFields: any;
|
|
43
|
+
constructor(angularPConnect: AngularPConnectService, utils: Utils);
|
|
44
|
+
ngOnInit(): void;
|
|
45
|
+
ngOnDestroy(): void;
|
|
46
|
+
onStateChange(): void;
|
|
47
|
+
checkAndUpdate(): void;
|
|
48
|
+
hasCaseIDChanged(): boolean;
|
|
49
|
+
updateHeaderAndSummary(): void;
|
|
50
|
+
fullUpdate(): void;
|
|
51
|
+
filterUtilities(utils: any): any;
|
|
52
|
+
isUtilitiesRegionNotEmpty(): any;
|
|
53
|
+
updateSelf(): void;
|
|
54
|
+
_menuActionClick(data: any): void;
|
|
55
|
+
_menuProcessClick(data: any): void;
|
|
56
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SelfServiceCaseViewComponent, never>;
|
|
57
|
+
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>;
|
|
58
|
+
}
|
|
59
|
+
export {};
|
|
@@ -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) => {
|
|
@@ -41,7 +42,21 @@ export declare const buildMetaForListView: (fieldMetadata: any, fields: any, typ
|
|
|
41
42
|
ruleClass: any;
|
|
42
43
|
};
|
|
43
44
|
};
|
|
44
|
-
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;
|
|
45
60
|
export declare const createMetaForTable: (fields: any, renderMode: any) => {
|
|
46
61
|
height: {
|
|
47
62
|
minHeight: string;
|
|
@@ -62,10 +77,10 @@ export declare const createMetaForTable: (fields: any, renderMode: any) => {
|
|
|
62
77
|
footer: boolean;
|
|
63
78
|
filterExpression: null;
|
|
64
79
|
editing: boolean;
|
|
65
|
-
timezone: string;
|
|
80
|
+
timezone: string | undefined;
|
|
66
81
|
};
|
|
67
|
-
export declare const filterDataByDate: (item: any, filterObj: any) =>
|
|
68
|
-
export declare const filterDataByCommonFields: (item: any, filterObj: any) =>
|
|
82
|
+
export declare const filterDataByDate: (item: any, filterObj: any) => boolean;
|
|
83
|
+
export declare const filterDataByCommonFields: (item: any, filterObj: any) => boolean;
|
|
69
84
|
/**
|
|
70
85
|
* This method returns a callBack function for Add action.
|
|
71
86
|
* @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;
|
|
@@ -28,6 +29,7 @@ interface SimpleTableManualProps {
|
|
|
28
29
|
displayMode?: string;
|
|
29
30
|
useSeparateViewForEdit: any;
|
|
30
31
|
viewForEditModal: any;
|
|
32
|
+
targetClassLabel: string;
|
|
31
33
|
}
|
|
32
34
|
declare class Group {
|
|
33
35
|
level: number;
|
|
@@ -38,7 +40,7 @@ declare class Group {
|
|
|
38
40
|
}
|
|
39
41
|
export declare class SimpleTableManualComponent implements OnInit, OnDestroy {
|
|
40
42
|
private angularPConnect;
|
|
41
|
-
|
|
43
|
+
utils: Utils;
|
|
42
44
|
private dataPageService;
|
|
43
45
|
sort: MatSort;
|
|
44
46
|
pConn$: typeof PConnect;
|
|
@@ -62,6 +64,7 @@ export declare class SimpleTableManualComponent implements OnInit, OnDestroy {
|
|
|
62
64
|
showAddRowButton: boolean;
|
|
63
65
|
prevReferenceList: any[];
|
|
64
66
|
elementsData: MatTableDataSource<any>;
|
|
67
|
+
originalElementsData: MatTableDataSource<any>;
|
|
65
68
|
rawFields: any;
|
|
66
69
|
label?: string;
|
|
67
70
|
searchIcon$: string;
|
|
@@ -109,11 +112,15 @@ export declare class SimpleTableManualComponent implements OnInit, OnDestroy {
|
|
|
109
112
|
editView: any;
|
|
110
113
|
settingsSvgIcon$: string;
|
|
111
114
|
isInitialized: boolean;
|
|
115
|
+
targetClassLabel: string;
|
|
116
|
+
localizedVal: (localeKey: string, localePath?: string, localeRuleKey?: string | null, componentName?: string | null) => string;
|
|
117
|
+
localeCategory: string;
|
|
112
118
|
constructor(angularPConnect: AngularPConnectService, utils: Utils, dataPageService: DatapageService);
|
|
113
119
|
ngOnInit(): void;
|
|
114
120
|
ngOnDestroy(): void;
|
|
115
121
|
checkAndUpdate(): void;
|
|
116
122
|
updateSelf(): void;
|
|
123
|
+
checkIfAllowActionsOrRowEditingExist(newflagobject: any): any;
|
|
117
124
|
initializeDefaultPageInstructions(): void;
|
|
118
125
|
getResultsText(): string;
|
|
119
126
|
sortCompare(a: any, b: any): number;
|
|
@@ -129,7 +136,7 @@ export declare class SimpleTableManualComponent implements OnInit, OnDestroy {
|
|
|
129
136
|
_onFilterActionButtonClick(event: any): void;
|
|
130
137
|
updateFilterWithInfo(): void;
|
|
131
138
|
updateFilterVarsWithCurrent(columnData: any): void;
|
|
132
|
-
filterData(
|
|
139
|
+
filterData(element: any): boolean;
|
|
133
140
|
filterSortGroupBy(): void;
|
|
134
141
|
_headerSortClick(event: any, columnData: any): void;
|
|
135
142
|
_showUnGroupBy(columnData: any): boolean;
|
|
@@ -148,7 +155,7 @@ export declare class SimpleTableManualComponent implements OnInit, OnDestroy {
|
|
|
148
155
|
getDisplayColumns(fields?: never[]): any[];
|
|
149
156
|
_getIconStyle(level: any): string;
|
|
150
157
|
onStateChange(): void;
|
|
151
|
-
getRowValue(inRowData:
|
|
158
|
+
getRowValue(inRowData: object, inColKey: string): any;
|
|
152
159
|
generateRowsData(): void;
|
|
153
160
|
formatRowsData(data: any): any;
|
|
154
161
|
addRecord(): void;
|
package/lib/_components/template/single-reference-readonly/single-reference-readonly.component.d.ts
CHANGED
|
@@ -1,9 +1,24 @@
|
|
|
1
|
-
|
|
1
|
+
import { OnInit, OnDestroy } from '@angular/core';
|
|
2
2
|
import { FormGroup } from '@angular/forms';
|
|
3
|
+
import { AngularPConnectData, AngularPConnectService } from '../../../_bridge/angular-pconnect';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class SingleReferenceReadonlyComponent {
|
|
5
|
+
export declare class SingleReferenceReadonlyComponent implements OnInit, OnDestroy {
|
|
6
|
+
private angularPConnect;
|
|
5
7
|
pConn$: typeof PConnect;
|
|
6
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;
|
|
7
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<SingleReferenceReadonlyComponent, never>;
|
|
8
|
-
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>;
|
|
9
24
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/// <reference types="pcore-pconnect-typedefs" />
|
|
2
1
|
import { OnInit, OnChanges, SimpleChanges } from '@angular/core';
|
|
3
2
|
import { FormGroup } from '@angular/forms';
|
|
3
|
+
import { FormTemplateBase } from '../base/form-template-base';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class ThreeColumnComponent implements OnInit, OnChanges {
|
|
5
|
+
export declare class ThreeColumnComponent extends FormTemplateBase implements OnInit, OnChanges {
|
|
6
6
|
pConn$: typeof PConnect;
|
|
7
7
|
formGroup$: FormGroup;
|
|
8
8
|
arChildren$: any[];
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/// <reference types="pcore-pconnect-typedefs" />
|
|
2
1
|
import { OnInit, SimpleChanges, OnChanges } from '@angular/core';
|
|
3
2
|
import { FormGroup } from '@angular/forms';
|
|
3
|
+
import { FormTemplateBase } from '../base/form-template-base';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class TwoColumnComponent implements OnInit, OnChanges {
|
|
5
|
+
export declare class TwoColumnComponent extends FormTemplateBase implements OnInit, OnChanges {
|
|
6
6
|
pConn$: typeof PConnect;
|
|
7
7
|
formGroup$: FormGroup;
|
|
8
8
|
arChildren$: any[];
|
|
@@ -1,2 +1,13 @@
|
|
|
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;
|
|
10
|
+
export declare function prepareCaseSummaryData(caseSummaryRegion: any, portalSpecificVisibilityChecker?: any): {
|
|
11
|
+
primarySummaryFields: any;
|
|
12
|
+
secondarySummaryFields: any;
|
|
13
|
+
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/// <reference types="pcore-pconnect-typedefs" />
|
|
2
1
|
import { OnInit, OnChanges, SimpleChanges } from '@angular/core';
|
|
3
2
|
import { FormGroup } from '@angular/forms';
|
|
3
|
+
import { FormTemplateBase } from '../base/form-template-base';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class WideNarrowFormComponent implements OnInit, OnChanges {
|
|
5
|
+
export declare class WideNarrowFormComponent extends FormTemplateBase implements OnInit, OnChanges {
|
|
6
6
|
pConn$: typeof PConnect;
|
|
7
7
|
formGroup$: FormGroup;
|
|
8
8
|
arChildren$: any[];
|
|
@@ -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 { AngularPConnectData, AngularPConnectService } from '../../../_bridge/angular-pconnect';
|
|
@@ -7,7 +6,7 @@ export declare class WideNarrowPageComponent implements OnInit, OnDestroy {
|
|
|
7
6
|
private angularPConnect;
|
|
8
7
|
pConn$: typeof PConnect;
|
|
9
8
|
formGroup$: FormGroup;
|
|
10
|
-
thePConnType: string;
|
|
9
|
+
thePConnType: string | undefined;
|
|
11
10
|
angularPConnectData: AngularPConnectData;
|
|
12
11
|
constructor(angularPConnect: AngularPConnectService);
|
|
13
12
|
ngOnInit(): void;
|
|
@@ -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';
|
|
@@ -18,22 +17,20 @@ export declare class WssNavBarComponent implements OnInit, OnDestroy {
|
|
|
18
17
|
pages$: any[];
|
|
19
18
|
caseTypes$: any[];
|
|
20
19
|
homePage: any;
|
|
20
|
+
portalLogoImage$: string;
|
|
21
21
|
angularPConnectData: AngularPConnectData;
|
|
22
22
|
configProps$: WssNavBarProps;
|
|
23
23
|
navPages$: any[];
|
|
24
24
|
navExpandCollapse$: string;
|
|
25
25
|
bShowCaseTypes$: boolean;
|
|
26
|
-
|
|
27
|
-
portalLogoImage$: string;
|
|
28
|
-
showAppName$: boolean;
|
|
29
|
-
portalOperator$: string;
|
|
26
|
+
portalOperator$: string | undefined;
|
|
30
27
|
portalOperatorInitials$: string;
|
|
31
28
|
actionsAPI: any;
|
|
32
29
|
createWork: any;
|
|
33
30
|
showPage: any;
|
|
34
31
|
logout: any;
|
|
35
32
|
navIcon$: string;
|
|
36
|
-
localizedVal: (localeKey:
|
|
33
|
+
localizedVal: (localeKey: string, localePath?: string, localeRuleKey?: string | null, componentName?: string | null) => string;
|
|
37
34
|
localeCategory: string;
|
|
38
35
|
constructor(angularPConnect: AngularPConnectService, cdRef: ChangeDetectorRef, psService: ProgressSpinnerService, ngZone: NgZone, utils: Utils);
|
|
39
36
|
ngOnInit(): void;
|
|
@@ -47,6 +44,6 @@ export declare class WssNavBarComponent implements OnInit, OnDestroy {
|
|
|
47
44
|
navPanelCreateCaseType(sCaseType: string, sFlowType: string): void;
|
|
48
45
|
navPanelLogoutClick(): void;
|
|
49
46
|
static ɵfac: i0.ɵɵFactoryDeclaration<WssNavBarComponent, never>;
|
|
50
|
-
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>;
|
|
51
48
|
}
|
|
52
49
|
export {};
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
export interface ResponseProps {
|
|
2
|
+
ID: string;
|
|
3
|
+
extension: string;
|
|
4
|
+
createDateTime?: Date | string | number;
|
|
5
|
+
createUser?: string;
|
|
6
|
+
name: string;
|
|
7
|
+
}
|
|
8
|
+
export interface AttachmentActions {
|
|
9
|
+
rel: string;
|
|
10
|
+
href: string;
|
|
11
|
+
title: string;
|
|
12
|
+
type: string;
|
|
13
|
+
}
|
|
14
|
+
export interface AttachmentLinks {
|
|
15
|
+
delete: AttachmentActions;
|
|
16
|
+
download: AttachmentActions;
|
|
17
|
+
edit: AttachmentActions;
|
|
18
|
+
}
|
|
19
|
+
export interface FileObject extends File {
|
|
20
|
+
icon?: string;
|
|
21
|
+
ID: string;
|
|
22
|
+
fileName: string;
|
|
23
|
+
category: string;
|
|
24
|
+
responseType: string;
|
|
25
|
+
fileType: string;
|
|
26
|
+
mimeType: string;
|
|
27
|
+
extension: string;
|
|
28
|
+
thumbnail?: string;
|
|
29
|
+
nameWithExt: string;
|
|
30
|
+
inProgress?: boolean;
|
|
31
|
+
progress?: number;
|
|
32
|
+
handle: string;
|
|
33
|
+
label: string;
|
|
34
|
+
delete?: boolean;
|
|
35
|
+
error?: boolean;
|
|
36
|
+
description: string;
|
|
37
|
+
props: {
|
|
38
|
+
icon?: string;
|
|
39
|
+
id: string;
|
|
40
|
+
error?: string;
|
|
41
|
+
format?: string;
|
|
42
|
+
name: string;
|
|
43
|
+
thumbnail?: string;
|
|
44
|
+
onPreview?: () => void;
|
|
45
|
+
onDelete?: () => void;
|
|
46
|
+
onOpen?: () => void;
|
|
47
|
+
onEdit?: () => void;
|
|
48
|
+
onCancel?: () => void;
|
|
49
|
+
};
|
|
50
|
+
responseProps: ResponseProps;
|
|
51
|
+
value?: {
|
|
52
|
+
filename: string;
|
|
53
|
+
ID: string;
|
|
54
|
+
thumbnail: string;
|
|
55
|
+
};
|
|
56
|
+
categoryName: string;
|
|
57
|
+
createTime: string;
|
|
58
|
+
createdBy: string;
|
|
59
|
+
createdByName: string;
|
|
60
|
+
links: AttachmentLinks;
|
|
61
|
+
name: string;
|
|
62
|
+
meta?: any;
|
|
63
|
+
}
|
|
64
|
+
export interface ReduxAttachments {
|
|
65
|
+
ID?: string;
|
|
66
|
+
pzInsKey?: string;
|
|
67
|
+
FileName: string;
|
|
68
|
+
Category: string;
|
|
69
|
+
MimeType?: string;
|
|
70
|
+
FileExtension: string;
|
|
71
|
+
error: string | null;
|
|
72
|
+
localAttachment: boolean;
|
|
73
|
+
thumbnail?: string;
|
|
74
|
+
fileIndex?: number;
|
|
75
|
+
instruction?: string;
|
|
76
|
+
}
|
|
77
|
+
export interface PageInstructionOptions {
|
|
78
|
+
allowMultiple: boolean;
|
|
79
|
+
isMultiAttachmentInInlineEditTable: boolean;
|
|
80
|
+
attachmentCount: number;
|
|
81
|
+
insertPageInstruction: boolean;
|
|
82
|
+
deletePageInstruction: boolean;
|
|
83
|
+
deleteIndex: number;
|
|
84
|
+
insertRedux: boolean;
|
|
85
|
+
isOldAttachment: boolean;
|
|
86
|
+
deleteRedux: boolean;
|
|
87
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { FileObject, PageInstructionOptions, ReduxAttachments } from './Attachment.types';
|
|
2
|
+
export declare const isContentBinary: (headers: Record<string, string>) => boolean;
|
|
3
|
+
export declare const isContentBase64: (headers: Record<string, string>) => boolean;
|
|
4
|
+
export declare const validateMaxSize: (fileObj: Record<string, number>, maxSizeInMB: string) => boolean;
|
|
5
|
+
export declare const validateFileExtension: (fileObj: Record<string, string>, allowedExtensions: string) => boolean;
|
|
6
|
+
export declare const fileDownload: (data: string | Blob, fileName: string, ext: string | null, headers: Record<string, string>) => void;
|
|
7
|
+
export declare const fileDownloadVar: (content: {
|
|
8
|
+
data: string;
|
|
9
|
+
headers: Record<string, string>;
|
|
10
|
+
}, type: string, name: string, extension: string) => void;
|
|
11
|
+
export declare const getMappedValue: (value: string) => string;
|
|
12
|
+
export declare const updateReduxState: (transformedAttachments: ReduxAttachments[], pConn: typeof PConnect, valueRef: string, options: PageInstructionOptions) => void;
|
|
13
|
+
export declare const insertAttachments: (files: FileObject[], pConn: typeof PConnect, attachmentsInModal: ReduxAttachments[], options: PageInstructionOptions) => void;
|
|
14
|
+
export declare const deleteAttachments: (files: FileObject[], pConn: typeof PConnect, attachmentsInModal: Pick<ReduxAttachments, "instruction" | "fileIndex">[], options: PageInstructionOptions) => void;
|
|
15
|
+
export declare const clearFieldErrorMessages: (pConn: typeof PConnect) => void;
|
|
16
|
+
export declare const onFileDownload: (responseProps: any, context: any) => void;
|
|
17
|
+
export declare const transformAttachments: (attachments: any) => any[];
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
import { OnInit, NgZone, OnDestroy, ElementRef } from '@angular/core';
|
|
1
|
+
import { OnInit, OnDestroy, ElementRef } 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';
|
|
@@ -7,67 +6,52 @@ import * as i0 from "@angular/core";
|
|
|
7
6
|
export declare class AttachmentComponent implements OnInit, OnDestroy {
|
|
8
7
|
private angularPConnect;
|
|
9
8
|
private utils;
|
|
10
|
-
private ngZone;
|
|
11
9
|
pConn$: typeof PConnect;
|
|
12
10
|
formGroup$: FormGroup;
|
|
13
11
|
angularPConnectData: AngularPConnectData;
|
|
14
12
|
fileInput: ElementRef;
|
|
13
|
+
localizationService: any;
|
|
14
|
+
contextName: string;
|
|
15
|
+
actionSequencer: any;
|
|
16
|
+
caseID: any;
|
|
15
17
|
label$: string;
|
|
16
18
|
value$: any;
|
|
17
19
|
bRequired$: boolean;
|
|
18
20
|
bReadonly$: boolean;
|
|
19
21
|
bDisabled$: boolean;
|
|
20
22
|
bVisible$: boolean;
|
|
21
|
-
bLoading$: boolean;
|
|
22
|
-
bShowSelector$: boolean;
|
|
23
|
-
att_categoryName: string;
|
|
24
|
-
fileTemp: any;
|
|
25
|
-
caseID: any;
|
|
26
23
|
allowMultiple$: boolean;
|
|
27
24
|
extensions$: string;
|
|
25
|
+
displayMode: string | undefined;
|
|
28
26
|
status: string;
|
|
29
27
|
validateMessage: string | undefined;
|
|
30
28
|
valueRef: string;
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
uploadMultipleFilesLabel: any;
|
|
35
|
-
uploadSingleFileLabel: any;
|
|
29
|
+
localizedVal: (localeKey: string, localePath?: string, localeRuleKey?: string | null, componentName?: string | null) => string;
|
|
30
|
+
uploadMultipleFilesLabel: string;
|
|
31
|
+
uploadSingleFileLabel: string;
|
|
36
32
|
filesWithError: any;
|
|
37
33
|
files: any;
|
|
38
|
-
categoryName: string;
|
|
39
|
-
displayMode: string | undefined;
|
|
40
34
|
srcImg: any;
|
|
41
35
|
deleteIcon: string;
|
|
42
36
|
tempFilesToBeUploaded: any[];
|
|
43
|
-
|
|
37
|
+
attachments: any;
|
|
38
|
+
attachmentCount: number;
|
|
39
|
+
isOldAttachment: boolean;
|
|
40
|
+
multiAttachmentsInInlineEdit: any;
|
|
41
|
+
isMultiAttachmentInInlineEditTable: any;
|
|
42
|
+
overrideLocalState: boolean;
|
|
43
|
+
constructor(angularPConnect: AngularPConnectService, utils: Utils);
|
|
44
44
|
ngOnInit(): void;
|
|
45
|
-
getAttachments(): () => void;
|
|
46
45
|
checkAndUpdate(): void;
|
|
47
46
|
onStateChange(): void;
|
|
48
47
|
updateSelf(): void;
|
|
49
|
-
buildFilePropsFromResponse(respObj: any): {
|
|
50
|
-
props: {
|
|
51
|
-
meta: string;
|
|
52
|
-
name: any;
|
|
53
|
-
icon: string;
|
|
54
|
-
};
|
|
55
|
-
responseProps: any;
|
|
56
|
-
};
|
|
57
48
|
updateAttachments(): void;
|
|
58
|
-
resetAttachmentStoredState(): void;
|
|
59
49
|
downloadFile(fileObj: any): void;
|
|
60
|
-
|
|
61
|
-
getAttachmentKey: (name?: string) => string;
|
|
62
|
-
getCurrentAttachmentsList(key: any, context: any): any;
|
|
63
|
-
validateMaxSize(fileObj: any, maxSizeInMB: any): boolean;
|
|
64
|
-
validateFileExtension: (fileObj: any, allowedExtensions: any) => any;
|
|
65
|
-
updateAttachmentState(pConn: any, key: any, attachments: any): void;
|
|
66
|
-
deleteFile(file: any): void;
|
|
50
|
+
deleteFile(file: any, fileIndex: number): void;
|
|
67
51
|
onFileAdded(event: any): void;
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
errorHandler(isFetchCanceled: any,
|
|
52
|
+
onUploadProgress(id: any, ev: any): void;
|
|
53
|
+
populateErrorAndUpdateRedux(file: any): void;
|
|
54
|
+
errorHandler(isFetchCanceled: any, file: any): (error: any) => never;
|
|
71
55
|
uploadFiles(): void;
|
|
72
56
|
ngOnDestroy(): void;
|
|
73
57
|
static ɵfac: i0.ɵɵFactoryDeclaration<AttachmentComponent, never>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="pcore-pconnect-typedefs" />
|
|
2
1
|
import { OnInit, ChangeDetectorRef, OnDestroy } from '@angular/core';
|
|
3
2
|
import { AngularPConnectData, AngularPConnectService } from '../../../_bridge/angular-pconnect';
|
|
4
3
|
import { Utils } from '../../../_helpers/utils';
|
|
@@ -9,19 +8,19 @@ export declare class FeedContainerComponent implements OnInit, OnDestroy {
|
|
|
9
8
|
private utils;
|
|
10
9
|
pConn$: typeof PConnect;
|
|
11
10
|
angularPConnectData: AngularPConnectData;
|
|
12
|
-
userName$: string;
|
|
13
|
-
imageKey$: string;
|
|
11
|
+
userName$: string | undefined;
|
|
12
|
+
imageKey$: string | undefined;
|
|
14
13
|
currentUserInitials$: string;
|
|
15
14
|
currentUserName$: string;
|
|
16
15
|
pulseMessages$: any[];
|
|
17
|
-
showReplyComment$:
|
|
16
|
+
showReplyComment$: object;
|
|
18
17
|
svgComment$: string;
|
|
19
18
|
svgLike$: string;
|
|
20
19
|
svgLikedByMe$: string;
|
|
21
20
|
svgSend$: string;
|
|
22
21
|
pulseConversation: string;
|
|
23
22
|
userData: Map<any, any>;
|
|
24
|
-
pulseComment:
|
|
23
|
+
pulseComment: object;
|
|
25
24
|
actionsAPI: any;
|
|
26
25
|
feedAPI: any;
|
|
27
26
|
pulseData: any;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="pcore-pconnect-typedefs" />
|
|
2
1
|
import { OnInit, NgZone, OnDestroy } from '@angular/core';
|
|
3
2
|
import { AngularPConnectData, AngularPConnectService } from '../../../_bridge/angular-pconnect';
|
|
4
3
|
import { Utils } from '../../../_helpers/utils';
|
|
@@ -120,7 +119,7 @@ export declare class FileUtilityComponent implements OnInit, OnDestroy {
|
|
|
120
119
|
_fieldOnChangeURL(event: any): void;
|
|
121
120
|
updateSelf(): void;
|
|
122
121
|
getCaseID(): any;
|
|
123
|
-
fetchCaseAttachments(caseID: any):
|
|
122
|
+
fetchCaseAttachments(caseID: any): Promise<object>;
|
|
124
123
|
handleAttachmentsResponse(resp: any): void;
|
|
125
124
|
getUtilityItems(attachments: any): any;
|
|
126
125
|
mapAttachmentToUtilityItem(att: any): {
|