@pega/angular-sdk-components 0.23.1
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/README.md +24 -0
- package/_shared/styles.scss +28 -0
- package/esm2022/lib/_bridge/angular-pconnect.mjs +416 -0
- package/esm2022/lib/_bridge/component-mapper/component-mapper.component.mjs +114 -0
- package/esm2022/lib/_bridge/helpers/sdk-pega-component-map.mjs +228 -0
- package/esm2022/lib/_bridge/helpers/sdk_component_map.mjs +142 -0
- package/esm2022/lib/_components/designSystemExtension/alert/alert.component.mjs +50 -0
- package/esm2022/lib/_components/designSystemExtension/alert-banner/alert-banner.component.mjs +29 -0
- package/esm2022/lib/_components/designSystemExtension/banner/banner.component.mjs +31 -0
- package/esm2022/lib/_components/designSystemExtension/case-create-stage/case-create-stage.component.mjs +51 -0
- package/esm2022/lib/_components/designSystemExtension/material-case-summary/material-case-summary.component.mjs +80 -0
- package/esm2022/lib/_components/designSystemExtension/material-details/material-details.component.mjs +37 -0
- package/esm2022/lib/_components/designSystemExtension/material-details-fields/material-details-fields.component.mjs +31 -0
- package/esm2022/lib/_components/designSystemExtension/material-summary-item/material-summary-item.component.mjs +36 -0
- package/esm2022/lib/_components/designSystemExtension/material-summary-list/material-summary-list.component.mjs +25 -0
- package/esm2022/lib/_components/designSystemExtension/material-utility/material-utility.component.mjs +28 -0
- package/esm2022/lib/_components/designSystemExtension/material-vertical-tabs/material-vertical-tabs.component.mjs +42 -0
- package/esm2022/lib/_components/designSystemExtension/operator/operator.component.mjs +136 -0
- package/esm2022/lib/_components/designSystemExtension/pulse/pulse.component.mjs +33 -0
- package/esm2022/lib/_components/designSystemExtension/rich-text-editor/rich-text-editor.component.mjs +93 -0
- package/esm2022/lib/_components/designSystemExtension/wss-quick-create/wss-quick-create.component.mjs +18 -0
- package/esm2022/lib/_components/field/auto-complete/auto-complete.component.mjs +286 -0
- package/esm2022/lib/_components/field/cancel-alert/cancel-alert.component.mjs +98 -0
- package/esm2022/lib/_components/field/check-box/check-box.component.mjs +157 -0
- package/esm2022/lib/_components/field/currency/currency.component.mjs +160 -0
- package/esm2022/lib/_components/field/date/date.component.mjs +219 -0
- package/esm2022/lib/_components/field/date-time/date-time.component.mjs +200 -0
- package/esm2022/lib/_components/field/decimal/decimal.component.mjs +157 -0
- package/esm2022/lib/_components/field/dropdown/dropdown.component.mjs +197 -0
- package/esm2022/lib/_components/field/email/email.component.mjs +150 -0
- package/esm2022/lib/_components/field/integer/integer.component.mjs +155 -0
- package/esm2022/lib/_components/field/list-view-action-buttons/list-view-action-buttons.component.mjs +44 -0
- package/esm2022/lib/_components/field/percentage/percentage.component.mjs +155 -0
- package/esm2022/lib/_components/field/phone/phone.component.mjs +167 -0
- package/esm2022/lib/_components/field/radio-buttons/radio-buttons.component.mjs +189 -0
- package/esm2022/lib/_components/field/rich-text/rich-text.component.mjs +103 -0
- package/esm2022/lib/_components/field/scalar-list/scalar-list.component.mjs +95 -0
- package/esm2022/lib/_components/field/semantic-link/semantic-link.component.mjs +57 -0
- package/esm2022/lib/_components/field/text/text.component.mjs +138 -0
- package/esm2022/lib/_components/field/text-area/text-area.component.mjs +155 -0
- package/esm2022/lib/_components/field/text-content/text-content.component.mjs +69 -0
- package/esm2022/lib/_components/field/text-input/text-input.component.mjs +152 -0
- package/esm2022/lib/_components/field/time/time.component.mjs +151 -0
- package/esm2022/lib/_components/field/url/url.component.mjs +150 -0
- package/esm2022/lib/_components/field/user-reference/user-reference.component.mjs +175 -0
- package/esm2022/lib/_components/infra/Containers/flow-container/flow-container.component.mjs +491 -0
- package/esm2022/lib/_components/infra/Containers/flow-container/helpers.mjs +68 -0
- package/esm2022/lib/_components/infra/Containers/hybrid-view-container/hybrid-view-container.component.mjs +24 -0
- package/esm2022/lib/_components/infra/Containers/modal-view-container/modal-view-container.component.mjs +314 -0
- package/esm2022/lib/_components/infra/Containers/preview-view-container/preview-view-container.component.mjs +32 -0
- package/esm2022/lib/_components/infra/Containers/view-container/view-container.component.mjs +219 -0
- package/esm2022/lib/_components/infra/action-buttons/action-buttons.component.mjs +31 -0
- package/esm2022/lib/_components/infra/assignment/assignment.component.mjs +387 -0
- package/esm2022/lib/_components/infra/assignment-card/assignment-card.component.mjs +47 -0
- package/esm2022/lib/_components/infra/dashboard-filter/dashboard-filter.component.mjs +88 -0
- package/esm2022/lib/_components/infra/defer-load/defer-load.component.mjs +144 -0
- package/esm2022/lib/_components/infra/error-boundary/error-boundary.component.mjs +18 -0
- package/esm2022/lib/_components/infra/multi-step/multi-step.component.mjs +80 -0
- package/esm2022/lib/_components/infra/navbar/navbar.component.mjs +132 -0
- package/esm2022/lib/_components/infra/reference/reference.component.mjs +133 -0
- package/esm2022/lib/_components/infra/region/region.component.mjs +33 -0
- package/esm2022/lib/_components/infra/root-container/root-container.component.mjs +228 -0
- package/esm2022/lib/_components/infra/stages/stages.component.mjs +62 -0
- package/esm2022/lib/_components/infra/view/view.component.mjs +173 -0
- package/esm2022/lib/_components/template/app-shell/app-shell.component.mjs +140 -0
- package/esm2022/lib/_components/template/banner-page/banner-page.component.mjs +43 -0
- package/esm2022/lib/_components/template/case-summary/case-summary.component.mjs +72 -0
- package/esm2022/lib/_components/template/case-view/case-view.component.mjs +196 -0
- package/esm2022/lib/_components/template/confirmation/confirmation.component.mjs +68 -0
- package/esm2022/lib/_components/template/data-reference/data-reference.component.mjs +239 -0
- package/esm2022/lib/_components/template/default-form/default-form.component.mjs +61 -0
- package/esm2022/lib/_components/template/details/details.component.mjs +102 -0
- package/esm2022/lib/_components/template/details-narrow-wide/details-narrow-wide.component.mjs +72 -0
- package/esm2022/lib/_components/template/details-one-column/details-one-column.component.mjs +71 -0
- package/esm2022/lib/_components/template/details-sub-tabs/details-sub-tabs.component.mjs +66 -0
- package/esm2022/lib/_components/template/details-three-column/details-three-column.component.mjs +80 -0
- package/esm2022/lib/_components/template/details-two-column/details-two-column.component.mjs +77 -0
- package/esm2022/lib/_components/template/details-wide-narrow/details-wide-narrow.component.mjs +77 -0
- package/esm2022/lib/_components/template/dynamic-tabs/dynamic-tabs.component.mjs +65 -0
- package/esm2022/lib/_components/template/field-group-list/field-group-list.component.mjs +23 -0
- package/esm2022/lib/_components/template/field-group-template/field-group-template.component.mjs +134 -0
- package/esm2022/lib/_components/template/field-value-list/field-value-list.component.mjs +19 -0
- package/esm2022/lib/_components/template/inline-dashboard/inline-dashboard.component.mjs +22 -0
- package/esm2022/lib/_components/template/inline-dashboard-page/inline-dashboard-page.component.mjs +40 -0
- package/esm2022/lib/_components/template/list-page/list-page.component.mjs +14 -0
- package/esm2022/lib/_components/template/list-view/DefaultViewMeta.mjs +208 -0
- package/esm2022/lib/_components/template/list-view/list-view.component.mjs +1198 -0
- package/esm2022/lib/_components/template/list-view/listViewHelpers.mjs +61 -0
- package/esm2022/lib/_components/template/list-view/utils.mjs +660 -0
- package/esm2022/lib/_components/template/multi-reference-readonly/multi-reference-readonly.component.mjs +44 -0
- package/esm2022/lib/_components/template/narrow-wide-form/narrow-wide-form.component.mjs +30 -0
- package/esm2022/lib/_components/template/one-column/one-column.component.mjs +30 -0
- package/esm2022/lib/_components/template/one-column-page/one-column-page.component.mjs +16 -0
- package/esm2022/lib/_components/template/one-column-tab/one-column-tab.component.mjs +30 -0
- package/esm2022/lib/_components/template/page/page.component.mjs +52 -0
- package/esm2022/lib/_components/template/promoted-filters/promoted-filters.component.mjs +149 -0
- package/esm2022/lib/_components/template/repeating-structures/repeating-structures.component.mjs +139 -0
- package/esm2022/lib/_components/template/simple-table/simple-table.component.mjs +106 -0
- package/esm2022/lib/_components/template/simple-table-manual/helpers.mjs +270 -0
- package/esm2022/lib/_components/template/simple-table-manual/simple-table-manual.component.mjs +760 -0
- package/esm2022/lib/_components/template/simple-table-select/simple-table-select.component.mjs +131 -0
- package/esm2022/lib/_components/template/single-reference-readonly/single-reference-readonly.component.mjs +16 -0
- package/esm2022/lib/_components/template/sub-tabs/sub-tabs.component.mjs +67 -0
- package/esm2022/lib/_components/template/three-column/three-column.component.mjs +30 -0
- package/esm2022/lib/_components/template/three-column-page/three-column-page.component.mjs +16 -0
- package/esm2022/lib/_components/template/two-column/two-column.component.mjs +30 -0
- package/esm2022/lib/_components/template/two-column-page/two-column-page.component.mjs +40 -0
- package/esm2022/lib/_components/template/two-column-tab/two-column-tab.component.mjs +30 -0
- package/esm2022/lib/_components/template/utils.mjs +22 -0
- package/esm2022/lib/_components/template/wide-narrow-form/wide-narrow-form.component.mjs +30 -0
- package/esm2022/lib/_components/template/wide-narrow-page/wide-narrow-page.component.mjs +53 -0
- package/esm2022/lib/_components/template/wss-nav-bar/wss-nav-bar.component.mjs +135 -0
- package/esm2022/lib/_components/widget/app-announcement/app-announcement.component.mjs +24 -0
- package/esm2022/lib/_components/widget/attachment/attachment.component.mjs +588 -0
- package/esm2022/lib/_components/widget/case-history/case-history.component.mjs +81 -0
- package/esm2022/lib/_components/widget/feed-container/feed-container.component.mjs +525 -0
- package/esm2022/lib/_components/widget/file-utility/file-utility.component.mjs +631 -0
- package/esm2022/lib/_components/widget/list-utility/list-utility.component.mjs +57 -0
- package/esm2022/lib/_components/widget/quick-create/quick-create.component.mjs +75 -0
- package/esm2022/lib/_components/widget/todo/todo.component.mjs +213 -0
- package/esm2022/lib/_components/widget/utility/utility.component.mjs +34 -0
- package/esm2022/lib/_directives/thousand-seperator.directive.mjs +28 -0
- package/esm2022/lib/_helpers/case-utils.mjs +71 -0
- package/esm2022/lib/_helpers/common.mjs +20 -0
- package/esm2022/lib/_helpers/currency-utils.mjs +57 -0
- package/esm2022/lib/_helpers/date-format-utils.mjs +68 -0
- package/esm2022/lib/_helpers/event-util.mjs +19 -0
- package/esm2022/lib/_helpers/field-group-utils.mjs +47 -0
- package/esm2022/lib/_helpers/filter-utils.mjs +106 -0
- package/esm2022/lib/_helpers/formatters/currency-map.mjs +903 -0
- package/esm2022/lib/_helpers/formatters/format-utils.mjs +68 -0
- package/esm2022/lib/_helpers/tab-utils.mjs +59 -0
- package/esm2022/lib/_helpers/template-utils.mjs +56 -0
- package/esm2022/lib/_helpers/utils.mjs +386 -0
- package/esm2022/lib/_helpers/versionHelpers.mjs +12 -0
- package/esm2022/lib/_messages/error-messages.service.mjs +31 -0
- package/esm2022/lib/_messages/get-login-status.service.mjs +26 -0
- package/esm2022/lib/_messages/oauth-response.service.mjs +30 -0
- package/esm2022/lib/_messages/progress-spinner.service.mjs +30 -0
- package/esm2022/lib/_messages/reset-pconnect.service.mjs +31 -0
- package/esm2022/lib/_messages/update-worklist.service.mjs +30 -0
- package/esm2022/lib/_services/case.service.mjs +32 -0
- package/esm2022/lib/_services/datapage.service.mjs +52 -0
- package/esm2022/lib/_services/endpoints.mjs +61 -0
- package/esm2022/lib/_services/server-config.service.mjs +52 -0
- package/esm2022/lib/_types/PConnProps.interface.mjs +2 -0
- package/esm2022/pega-angular-sdk-components.mjs +5 -0
- package/esm2022/public-api.mjs +138 -0
- package/esm2022/sdk-local-component-map.mjs +9 -0
- package/fesm2022/pega-angular-sdk-components.mjs +17380 -0
- package/fesm2022/pega-angular-sdk-components.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/_bridge/angular-pconnect.d.ts +140 -0
- package/lib/_bridge/component-mapper/component-mapper.component.d.ts +20 -0
- package/lib/_bridge/helpers/sdk-pega-component-map.d.ts +213 -0
- package/lib/_bridge/helpers/sdk_component_map.d.ts +3 -0
- package/lib/_components/designSystemExtension/alert/alert.component.d.ts +12 -0
- package/lib/_components/designSystemExtension/alert-banner/alert-banner.component.d.ts +13 -0
- package/lib/_components/designSystemExtension/banner/banner.component.d.ts +15 -0
- package/lib/_components/designSystemExtension/case-create-stage/case-create-stage.component.d.ts +20 -0
- package/lib/_components/designSystemExtension/material-case-summary/material-case-summary.component.d.ts +18 -0
- package/lib/_components/designSystemExtension/material-details/material-details.component.d.ts +15 -0
- package/lib/_components/designSystemExtension/material-details-fields/material-details-fields.component.d.ts +12 -0
- package/lib/_components/designSystemExtension/material-summary-item/material-summary-item.component.d.ts +15 -0
- package/lib/_components/designSystemExtension/material-summary-list/material-summary-list.component.d.ts +9 -0
- package/lib/_components/designSystemExtension/material-utility/material-utility.component.d.ts +16 -0
- package/lib/_components/designSystemExtension/material-vertical-tabs/material-vertical-tabs.component.d.ts +11 -0
- package/lib/_components/designSystemExtension/operator/operator.component.d.ts +25 -0
- package/lib/_components/designSystemExtension/pulse/pulse.component.d.ts +16 -0
- package/lib/_components/designSystemExtension/rich-text-editor/rich-text-editor.component.d.ts +23 -0
- package/lib/_components/designSystemExtension/wss-quick-create/wss-quick-create.component.d.ts +7 -0
- package/lib/_components/field/auto-complete/auto-complete.component.d.ts +74 -0
- package/lib/_components/field/cancel-alert/cancel-alert.component.d.ts +24 -0
- package/lib/_components/field/check-box/check-box.component.d.ts +48 -0
- package/lib/_components/field/currency/currency.component.d.ts +50 -0
- package/lib/_components/field/date/date.component.d.ts +65 -0
- package/lib/_components/field/date-time/date-time.component.d.ts +55 -0
- package/lib/_components/field/decimal/decimal.component.d.ts +46 -0
- package/lib/_components/field/dropdown/dropdown.component.d.ts +60 -0
- package/lib/_components/field/email/email.component.d.ts +44 -0
- package/lib/_components/field/integer/integer.component.d.ts +44 -0
- package/lib/_components/field/list-view-action-buttons/list-view-action-buttons.component.d.ts +15 -0
- package/lib/_components/field/percentage/percentage.component.d.ts +44 -0
- package/lib/_components/field/phone/phone.component.d.ts +48 -0
- package/lib/_components/field/radio-buttons/radio-buttons.component.d.ts +60 -0
- package/lib/_components/field/rich-text/rich-text.component.d.ts +42 -0
- package/lib/_components/field/scalar-list/scalar-list.component.d.ts +37 -0
- package/lib/_components/field/semantic-link/semantic-link.component.d.ts +30 -0
- package/lib/_components/field/text/text.component.d.ts +40 -0
- package/lib/_components/field/text-area/text-area.component.d.ts +45 -0
- package/lib/_components/field/text-content/text-content.component.d.ts +30 -0
- package/lib/_components/field/text-input/text-input.component.d.ts +45 -0
- package/lib/_components/field/time/time.component.d.ts +43 -0
- package/lib/_components/field/url/url.component.d.ts +43 -0
- package/lib/_components/field/user-reference/user-reference.component.d.ts +39 -0
- package/lib/_components/infra/Containers/flow-container/flow-container.component.d.ts +85 -0
- package/lib/_components/infra/Containers/flow-container/helpers.d.ts +2 -0
- package/lib/_components/infra/Containers/hybrid-view-container/hybrid-view-container.component.d.ts +15 -0
- package/lib/_components/infra/Containers/modal-view-container/modal-view-container.component.d.ts +71 -0
- package/lib/_components/infra/Containers/preview-view-container/preview-view-container.component.d.ts +15 -0
- package/lib/_components/infra/Containers/view-container/view-container.component.d.ts +51 -0
- package/lib/_components/infra/action-buttons/action-buttons.component.d.ts +12 -0
- package/lib/_components/infra/assignment/assignment.component.d.ts +72 -0
- package/lib/_components/infra/assignment-card/assignment-card.component.d.ts +18 -0
- package/lib/_components/infra/dashboard-filter/dashboard-filter.component.d.ts +20 -0
- package/lib/_components/infra/defer-load/defer-load.component.d.ts +46 -0
- package/lib/_components/infra/error-boundary/error-boundary.component.d.ts +8 -0
- package/lib/_components/infra/multi-step/multi-step.component.d.ts +31 -0
- package/lib/_components/infra/navbar/navbar.component.d.ts +51 -0
- package/lib/_components/infra/reference/reference.component.d.ts +16 -0
- package/lib/_components/infra/region/region.component.d.ts +14 -0
- package/lib/_components/infra/root-container/root-container.component.d.ts +35 -0
- package/lib/_components/infra/stages/stages.component.d.ts +29 -0
- package/lib/_components/infra/view/view.component.d.ts +40 -0
- package/lib/_components/template/app-shell/app-shell.component.d.ts +55 -0
- package/lib/_components/template/banner-page/banner-page.component.d.ts +27 -0
- package/lib/_components/template/case-summary/case-summary.component.d.ts +34 -0
- package/lib/_components/template/case-view/case-view.component.d.ts +56 -0
- package/lib/_components/template/confirmation/confirmation.component.d.ts +38 -0
- package/lib/_components/template/data-reference/data-reference.component.d.ts +41 -0
- package/lib/_components/template/default-form/default-form.component.d.ts +21 -0
- package/lib/_components/template/details/details.component.d.ts +20 -0
- package/lib/_components/template/details-narrow-wide/details-narrow-wide.component.d.ts +21 -0
- package/lib/_components/template/details-one-column/details-one-column.component.d.ts +22 -0
- package/lib/_components/template/details-sub-tabs/details-sub-tabs.component.d.ts +24 -0
- package/lib/_components/template/details-three-column/details-three-column.component.d.ts +25 -0
- package/lib/_components/template/details-two-column/details-two-column.component.d.ts +25 -0
- package/lib/_components/template/details-wide-narrow/details-wide-narrow.component.d.ts +24 -0
- package/lib/_components/template/dynamic-tabs/dynamic-tabs.component.d.ts +20 -0
- package/lib/_components/template/field-group-list/field-group-list.component.d.ts +9 -0
- package/lib/_components/template/field-group-template/field-group-template.component.d.ts +52 -0
- package/lib/_components/template/field-value-list/field-value-list.component.d.ts +8 -0
- package/lib/_components/template/inline-dashboard/inline-dashboard.component.d.ts +16 -0
- package/lib/_components/template/inline-dashboard-page/inline-dashboard-page.component.d.ts +25 -0
- package/lib/_components/template/list-page/list-page.component.d.ts +7 -0
- package/lib/_components/template/list-view/DefaultViewMeta.d.ts +1 -0
- package/lib/_components/template/list-view/list-view.component.d.ts +157 -0
- package/lib/_components/template/list-view/listViewHelpers.d.ts +1 -0
- package/lib/_components/template/list-view/utils.d.ts +118 -0
- package/lib/_components/template/multi-reference-readonly/multi-reference-readonly.component.d.ts +25 -0
- package/lib/_components/template/narrow-wide-form/narrow-wide-form.component.d.ts +14 -0
- package/lib/_components/template/one-column/one-column.component.d.ts +14 -0
- package/lib/_components/template/one-column-page/one-column-page.component.d.ts +9 -0
- package/lib/_components/template/one-column-tab/one-column-tab.component.d.ts +14 -0
- package/lib/_components/template/page/page.component.d.ts +25 -0
- package/lib/_components/template/promoted-filters/promoted-filters.component.d.ts +35 -0
- package/lib/_components/template/repeating-structures/repeating-structures.component.d.ts +37 -0
- package/lib/_components/template/simple-table/simple-table.component.d.ts +43 -0
- package/lib/_components/template/simple-table-manual/helpers.d.ts +81 -0
- package/lib/_components/template/simple-table-manual/simple-table-manual.component.d.ts +159 -0
- package/lib/_components/template/simple-table-select/simple-table-select.component.d.ts +32 -0
- package/lib/_components/template/single-reference-readonly/single-reference-readonly.component.d.ts +9 -0
- package/lib/_components/template/sub-tabs/sub-tabs.component.d.ts +26 -0
- package/lib/_components/template/three-column/three-column.component.d.ts +14 -0
- package/lib/_components/template/three-column-page/three-column-page.component.d.ts +9 -0
- package/lib/_components/template/two-column/two-column.component.d.ts +14 -0
- package/lib/_components/template/two-column-page/two-column-page.component.d.ts +17 -0
- package/lib/_components/template/two-column-tab/two-column-tab.component.d.ts +14 -0
- package/lib/_components/template/utils.d.ts +2 -0
- package/lib/_components/template/wide-narrow-form/wide-narrow-form.component.d.ts +14 -0
- package/lib/_components/template/wide-narrow-page/wide-narrow-page.component.d.ts +20 -0
- package/lib/_components/template/wss-nav-bar/wss-nav-bar.component.d.ts +50 -0
- package/lib/_components/widget/app-announcement/app-announcement.component.d.ts +19 -0
- package/lib/_components/widget/attachment/attachment.component.d.ts +99 -0
- package/lib/_components/widget/case-history/case-history.component.d.ts +24 -0
- package/lib/_components/widget/feed-container/feed-container.component.d.ts +49 -0
- package/lib/_components/widget/file-utility/file-utility.component.d.ts +150 -0
- package/lib/_components/widget/list-utility/list-utility.component.d.ts +23 -0
- package/lib/_components/widget/quick-create/quick-create.component.d.ts +29 -0
- package/lib/_components/widget/todo/todo.component.d.ts +64 -0
- package/lib/_components/widget/utility/utility.component.d.ts +25 -0
- package/lib/_directives/thousand-seperator.directive.d.ts +9 -0
- package/lib/_helpers/case-utils.d.ts +19 -0
- package/lib/_helpers/common.d.ts +3 -0
- package/lib/_helpers/currency-utils.d.ts +10 -0
- package/lib/_helpers/date-format-utils.d.ts +12 -0
- package/lib/_helpers/event-util.d.ts +2 -0
- package/lib/_helpers/field-group-utils.d.ts +16 -0
- package/lib/_helpers/filter-utils.d.ts +46 -0
- package/lib/_helpers/formatters/currency-map.d.ts +1132 -0
- package/lib/_helpers/formatters/format-utils.d.ts +8 -0
- package/lib/_helpers/tab-utils.d.ts +4 -0
- package/lib/_helpers/template-utils.d.ts +16 -0
- package/lib/_helpers/utils.d.ts +32 -0
- package/lib/_helpers/versionHelpers.d.ts +8 -0
- package/lib/_messages/error-messages.service.d.ts +15 -0
- package/lib/_messages/get-login-status.service.d.ts +10 -0
- package/lib/_messages/oauth-response.service.d.ts +14 -0
- package/lib/_messages/progress-spinner.service.d.ts +14 -0
- package/lib/_messages/reset-pconnect.service.d.ts +15 -0
- package/lib/_messages/update-worklist.service.d.ts +14 -0
- package/lib/_services/case.service.d.ts +12 -0
- package/lib/_services/datapage.service.d.ts +14 -0
- package/lib/_services/endpoints.d.ts +39 -0
- package/lib/_services/server-config.service.d.ts +31 -0
- package/lib/_types/PConnProps.interface.d.ts +17 -0
- package/package.json +28 -0
- package/public-api.d.ts +133 -0
- package/sdk-local-component-map.d.ts +2 -0
- package/sdk-local-component-map.ts +12 -0
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
export declare const formatConstants: {
|
|
2
|
+
WorkStatus: string;
|
|
3
|
+
Integer: string;
|
|
4
|
+
WorkLink: string;
|
|
5
|
+
};
|
|
6
|
+
export declare function getContext(componentConfig: any): Promise<{
|
|
7
|
+
promisesResponseArray: any[];
|
|
8
|
+
setPropertyMaps: (originalToMappedPropertyObj?: {}, mappedToOriginalPropertyObj?: {}) => void;
|
|
9
|
+
getMappedProperty: (propertyName: any) => any;
|
|
10
|
+
getOriginalProperty: (propertyName: any) => any;
|
|
11
|
+
}>;
|
|
12
|
+
/**
|
|
13
|
+
* [getFieldNameFromEmbeddedFieldName]
|
|
14
|
+
* Description - converting embeddedField name starting with !P! or !PL! to normal field
|
|
15
|
+
* @ignore
|
|
16
|
+
* @param {string} propertyName EmbeddedField name starting with !P! or !PL!
|
|
17
|
+
* @returns {string} returns converted string without !P! or !PL! and :
|
|
18
|
+
*
|
|
19
|
+
* @example <caption>Example for getFieldNameFromEmbeddedFieldName </caption>
|
|
20
|
+
* getFieldNameFromEmbeddedFieldName('!P!Organisation:Name') return 'Organisation.Name'
|
|
21
|
+
* getFieldNameFromEmbeddedFieldName('!PL!Employees:Name') return 'Employees.Name'
|
|
22
|
+
*/
|
|
23
|
+
export declare function getFieldNameFromEmbeddedFieldName(propertyName: any): any;
|
|
24
|
+
/**
|
|
25
|
+
* [updateMetaEmbeddedFieldID]
|
|
26
|
+
* Description - If the fieldID in meta starts with '!P!' or '!PL!' and contains ':' then replace them with .(dot)
|
|
27
|
+
* @ignore
|
|
28
|
+
* @param {Array} metaFields Fields metadata Array. Contains metadata of all the fields.
|
|
29
|
+
*/
|
|
30
|
+
export declare function updateMetaEmbeddedFieldID(metaFields: any): any;
|
|
31
|
+
export declare const isEmbeddedField: (field: any) => boolean;
|
|
32
|
+
/**
|
|
33
|
+
* [isPageListProperty]
|
|
34
|
+
* Description - checking if propertyName is pageList or not
|
|
35
|
+
* @ignore
|
|
36
|
+
* @param {string} propertyName PropertyName
|
|
37
|
+
* @returns {boolean} true if property is pageList else false
|
|
38
|
+
*
|
|
39
|
+
* @example <caption>Example for isPageListProperty </caption>
|
|
40
|
+
* isPageListProperty('!PL!Employees.Name') return true
|
|
41
|
+
* isPageListProperty('!P!Employees.Name') return false
|
|
42
|
+
* isPageListProperty('Name') return false
|
|
43
|
+
*/
|
|
44
|
+
export declare function isPageListProperty(propertyName: any): any;
|
|
45
|
+
export declare const isPageListInPath: (propertyName: any, currentClassID: any) => any;
|
|
46
|
+
/**
|
|
47
|
+
* [getEmbeddedFieldName]
|
|
48
|
+
* Description - converting normal field name to embedded field starting with !P! or !PL!
|
|
49
|
+
* @ignore
|
|
50
|
+
* @param {string} propertyName Field name
|
|
51
|
+
* @param {string} classID classID of datapage
|
|
52
|
+
* @returns {string} returns converted string with !P! or !PL! and :
|
|
53
|
+
*
|
|
54
|
+
* @example <caption>Example for getEmbeddedFieldName </caption>
|
|
55
|
+
* For page property, getEmbeddedFieldName('Organisation.Name') return '!P!Organisation:Name'
|
|
56
|
+
* For pageList property, getEmbeddedFieldName('Employees.Name') return '!PL!Employees:Name'
|
|
57
|
+
*/
|
|
58
|
+
export declare function getEmbeddedFieldName(propertyName: any, classID: any): any;
|
|
59
|
+
/**
|
|
60
|
+
* [preparePropertyMaps]
|
|
61
|
+
* Description - preparing maps for property names and set it in dataApi context
|
|
62
|
+
* @ignore
|
|
63
|
+
* @param {Array} fields fields array
|
|
64
|
+
* @param {string} classID classID of datapage
|
|
65
|
+
* @param {string} context dataApi context
|
|
66
|
+
* @returns {boolean} true if pageListProperty is present
|
|
67
|
+
*/
|
|
68
|
+
export declare function preparePropertyMaps(fields: any, classID: any, context: any): any;
|
|
69
|
+
/**
|
|
70
|
+
* [getConfigEmbeddedFieldsMeta]
|
|
71
|
+
* Description - Get the metadata for configured embedded fields
|
|
72
|
+
* @ignore
|
|
73
|
+
* @param {Set} configFields Set of config fields
|
|
74
|
+
* @param {string} classID clasID of datapage
|
|
75
|
+
* @returns {Array} Metadata of configured embedded fields
|
|
76
|
+
*/
|
|
77
|
+
export declare function getConfigEmbeddedFieldsMeta(configFields: any, classID: any): any[];
|
|
78
|
+
/**
|
|
79
|
+
* [mergeConfigEmbeddedFieldsMeta]
|
|
80
|
+
* Description - Get the metadata for configured embedded fields
|
|
81
|
+
* @ignore
|
|
82
|
+
* @param {Array} configEmbeddedFieldsMeta config fields metadata.
|
|
83
|
+
* @param {Array} metaFields Fields metadata Array. Contains metadata of all the fields
|
|
84
|
+
*/
|
|
85
|
+
export declare function mergeConfigEmbeddedFieldsMeta(configEmbeddedFieldsMeta: any, metaFields: any): any[];
|
|
86
|
+
/**
|
|
87
|
+
* [getTableConfigFromPresetMeta]
|
|
88
|
+
* Description - Get the table config from the presets meta.
|
|
89
|
+
* @ignore
|
|
90
|
+
* @param {object} presetMeta Presets meta
|
|
91
|
+
* @param {boolean} isMetaWithPresets true if meta has presets else false
|
|
92
|
+
* @param {Function} getPConnect Callback to get the PConnect object
|
|
93
|
+
* @param {string} classID Class ID from the response
|
|
94
|
+
* @param {Array} primaryFields List of Primary Fields
|
|
95
|
+
* @param {Array} metaFields List of all metafields
|
|
96
|
+
* @returns {object} Table config object
|
|
97
|
+
*/
|
|
98
|
+
export declare function getTableConfigFromPresetMeta(presetMeta: any, isMetaWithPresets: any, pConn$: any, classID: any, primaryFields: any, metaFields: any): {
|
|
99
|
+
presetId: any;
|
|
100
|
+
presetName: any;
|
|
101
|
+
cardHeader: any;
|
|
102
|
+
secondaryText: any;
|
|
103
|
+
timelineDate: any;
|
|
104
|
+
timelineTitle: any;
|
|
105
|
+
timelineStatus: any;
|
|
106
|
+
timelineIcon: any;
|
|
107
|
+
filterExpression: any;
|
|
108
|
+
fieldsMeta: any;
|
|
109
|
+
configFields: any;
|
|
110
|
+
};
|
|
111
|
+
export declare function initializeColumns(fields?: any[], getMappedProperty?: any): any[];
|
|
112
|
+
export declare const getItemKey: (fields: any) => any;
|
|
113
|
+
export declare function preparePatchQueryFields(fields: any, isDataObject?: boolean, classID?: string): any[];
|
|
114
|
+
/**
|
|
115
|
+
* Update the renderer type for the properties of type Page.
|
|
116
|
+
*/
|
|
117
|
+
export declare function updatePageFieldsConfig(configFields: any, parentClassID: any): any;
|
|
118
|
+
export declare const readContextResponse: (context: any, params: any) => Promise<any>;
|
package/lib/_components/template/multi-reference-readonly/multi-reference-readonly.component.d.ts
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/// <reference types="pcore-pconnect-typedefs" />
|
|
2
|
+
import { OnInit, OnDestroy } from '@angular/core';
|
|
3
|
+
import { FormGroup } from '@angular/forms';
|
|
4
|
+
import { AngularPConnectData, AngularPConnectService } from '../../../_bridge/angular-pconnect';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
interface MultiReferenceReadOnlyProps {
|
|
7
|
+
label: string;
|
|
8
|
+
hideLabel: boolean;
|
|
9
|
+
}
|
|
10
|
+
export declare class MultiReferenceReadonlyComponent implements OnInit, OnDestroy {
|
|
11
|
+
private angularPConnect;
|
|
12
|
+
pConn$: typeof PConnect;
|
|
13
|
+
formGroup$: FormGroup;
|
|
14
|
+
angularPConnectData: AngularPConnectData;
|
|
15
|
+
configProps$: MultiReferenceReadOnlyProps;
|
|
16
|
+
label: string;
|
|
17
|
+
constructor(angularPConnect: AngularPConnectService);
|
|
18
|
+
ngOnInit(): void;
|
|
19
|
+
ngOnDestroy(): void;
|
|
20
|
+
onStateChange(): void;
|
|
21
|
+
updateSelf(): void;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MultiReferenceReadonlyComponent, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MultiReferenceReadonlyComponent, "app-multi-reference-readonly", never, { "pConn$": { "alias": "pConn$"; "required": false; }; "formGroup$": { "alias": "formGroup$"; "required": false; }; }, {}, never, never, true, never>;
|
|
24
|
+
}
|
|
25
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/// <reference types="pcore-pconnect-typedefs" />
|
|
2
|
+
import { OnInit, SimpleChanges, OnChanges } from '@angular/core';
|
|
3
|
+
import { FormGroup } from '@angular/forms';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class NarrowWideFormComponent implements OnInit, OnChanges {
|
|
6
|
+
pConn$: typeof PConnect;
|
|
7
|
+
formGroup$: FormGroup;
|
|
8
|
+
arChildren$: any[];
|
|
9
|
+
ngOnInit(): void;
|
|
10
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
11
|
+
updateSelf(): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NarrowWideFormComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NarrowWideFormComponent, "app-narrow-wide-form", never, { "pConn$": { "alias": "pConn$"; "required": false; }; "formGroup$": { "alias": "formGroup$"; "required": false; }; }, {}, never, never, true, never>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/// <reference types="pcore-pconnect-typedefs" />
|
|
2
|
+
import { OnInit, OnChanges, SimpleChanges } from '@angular/core';
|
|
3
|
+
import { FormGroup } from '@angular/forms';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class OneColumnComponent implements OnInit, OnChanges {
|
|
6
|
+
pConn$: typeof PConnect;
|
|
7
|
+
formGroup$: FormGroup;
|
|
8
|
+
arChildren$: any[];
|
|
9
|
+
ngOnInit(): void;
|
|
10
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
11
|
+
updateSelf(): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OneColumnComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OneColumnComponent, "app-one-column", never, { "pConn$": { "alias": "pConn$"; "required": false; }; "formGroup$": { "alias": "formGroup$"; "required": false; }; }, {}, never, never, true, never>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="pcore-pconnect-typedefs" />
|
|
2
|
+
import { FormGroup } from '@angular/forms';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class OneColumnPageComponent {
|
|
5
|
+
pConn$: typeof PConnect;
|
|
6
|
+
formGroup$: FormGroup;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OneColumnPageComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OneColumnPageComponent, "app-one-column-page", never, { "pConn$": { "alias": "pConn$"; "required": false; }; "formGroup$": { "alias": "formGroup$"; "required": false; }; }, {}, never, never, true, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/// <reference types="pcore-pconnect-typedefs" />
|
|
2
|
+
import { OnInit, OnChanges, SimpleChanges } from '@angular/core';
|
|
3
|
+
import { FormGroup } from '@angular/forms';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class OneColumnTabComponent implements OnInit, OnChanges {
|
|
6
|
+
pConn$: typeof PConnect;
|
|
7
|
+
formGroup$: FormGroup;
|
|
8
|
+
arChildren$: any[];
|
|
9
|
+
ngOnInit(): void;
|
|
10
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
11
|
+
updateSelf(): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OneColumnTabComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OneColumnTabComponent, "app-one-column-tab", never, { "pConn$": { "alias": "pConn$"; "required": false; }; "formGroup$": { "alias": "formGroup$"; "required": false; }; }, {}, never, never, true, never>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/// <reference types="pcore-pconnect-typedefs" />
|
|
2
|
+
import { OnInit, OnDestroy } from '@angular/core';
|
|
3
|
+
import { FormGroup } from '@angular/forms';
|
|
4
|
+
import { AngularPConnectData, AngularPConnectService } from '../../../_bridge/angular-pconnect';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
interface PageProps {
|
|
7
|
+
title: string;
|
|
8
|
+
operator?: string;
|
|
9
|
+
}
|
|
10
|
+
export declare class PageComponent implements OnInit, OnDestroy {
|
|
11
|
+
private angularPConnect;
|
|
12
|
+
pConn$: typeof PConnect;
|
|
13
|
+
formGroup$: FormGroup;
|
|
14
|
+
angularPConnectData: AngularPConnectData;
|
|
15
|
+
configProps$: PageProps;
|
|
16
|
+
arChildren$: any[];
|
|
17
|
+
title$: string;
|
|
18
|
+
constructor(angularPConnect: AngularPConnectService);
|
|
19
|
+
ngOnInit(): void;
|
|
20
|
+
ngOnDestroy(): void;
|
|
21
|
+
onStateChange(): void;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PageComponent, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PageComponent, "app-page", never, { "pConn$": { "alias": "pConn$"; "required": false; }; "formGroup$": { "alias": "formGroup$"; "required": false; }; }, {}, never, never, true, never>;
|
|
24
|
+
}
|
|
25
|
+
export {};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/// <reference types="pcore-pconnect-typedefs" />
|
|
2
|
+
import { OnInit, OnDestroy } from '@angular/core';
|
|
3
|
+
import { FormGroup } from '@angular/forms';
|
|
4
|
+
import { AngularPConnectData, AngularPConnectService } from '../../../_bridge/angular-pconnect';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class PromotedFiltersComponent implements OnInit, OnDestroy {
|
|
7
|
+
private angularPConnect;
|
|
8
|
+
viewName: any;
|
|
9
|
+
filters: any;
|
|
10
|
+
listViewProps: any;
|
|
11
|
+
pageClass: any;
|
|
12
|
+
pConn$: typeof PConnect;
|
|
13
|
+
formGroup$: FormGroup;
|
|
14
|
+
parameters: {};
|
|
15
|
+
angularPConnectData: AngularPConnectData;
|
|
16
|
+
showFilters: boolean;
|
|
17
|
+
localeCategory: string;
|
|
18
|
+
localizedVal: any;
|
|
19
|
+
filtersProperties: {};
|
|
20
|
+
showTable: any;
|
|
21
|
+
transientItemID: any;
|
|
22
|
+
processedFilters: any[];
|
|
23
|
+
payload: {};
|
|
24
|
+
constructor(angularPConnect: AngularPConnectService);
|
|
25
|
+
ngOnInit(): void;
|
|
26
|
+
ngOnDestroy(): void;
|
|
27
|
+
onStateChange(): void;
|
|
28
|
+
updateSelf(): void;
|
|
29
|
+
formatPromotedFilters(promotedFilters: any): {};
|
|
30
|
+
isValidInput(input: any): boolean;
|
|
31
|
+
getFilterData(): void;
|
|
32
|
+
clearFilterData(): void;
|
|
33
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PromotedFiltersComponent, never>;
|
|
34
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PromotedFiltersComponent, "app-promoted-filters", never, { "viewName": { "alias": "viewName"; "required": false; }; "filters": { "alias": "filters"; "required": false; }; "listViewProps": { "alias": "listViewProps"; "required": false; }; "pageClass": { "alias": "pageClass"; "required": false; }; "pConn$": { "alias": "pConn$"; "required": false; }; "formGroup$": { "alias": "formGroup$"; "required": false; }; "parameters": { "alias": "parameters"; "required": false; }; }, {}, never, never, true, never>;
|
|
35
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/// <reference types="pcore-pconnect-typedefs" />
|
|
2
|
+
import { OnInit, AfterViewInit } from '@angular/core';
|
|
3
|
+
import { MatPaginator } from '@angular/material/paginator';
|
|
4
|
+
import { MatSort } from '@angular/material/sort';
|
|
5
|
+
import { MatTableDataSource } from '@angular/material/table';
|
|
6
|
+
import { ProgressSpinnerService } from '../../../_messages/progress-spinner.service';
|
|
7
|
+
import { Utils } from '../../../_helpers/utils';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
interface RepeatingStructuresProps {
|
|
10
|
+
referenceList?: any[];
|
|
11
|
+
rowClickAction?: string;
|
|
12
|
+
}
|
|
13
|
+
export declare class RepeatingStructuresComponent implements OnInit, AfterViewInit {
|
|
14
|
+
private psService;
|
|
15
|
+
private utils;
|
|
16
|
+
paginator: MatPaginator;
|
|
17
|
+
sort: MatSort;
|
|
18
|
+
pConn$: typeof PConnect;
|
|
19
|
+
configProps$: RepeatingStructuresProps;
|
|
20
|
+
repeatList$: MatTableDataSource<any>;
|
|
21
|
+
fields$: any[];
|
|
22
|
+
displayedColumns$: string[];
|
|
23
|
+
constructor(psService: ProgressSpinnerService, utils: Utils);
|
|
24
|
+
ngOnInit(): void;
|
|
25
|
+
ngAfterViewInit(): void;
|
|
26
|
+
applySearch(event: Event): void;
|
|
27
|
+
rowClick(row: any): void;
|
|
28
|
+
updateData(listData: any[], fieldData: any[]): any[];
|
|
29
|
+
openAssignment(row: any): void;
|
|
30
|
+
initializeData(data: any): any;
|
|
31
|
+
getType(field: any): any;
|
|
32
|
+
initializeColumns(fields?: never[]): any[];
|
|
33
|
+
getDisplayColumns(fields?: any[]): string[];
|
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RepeatingStructuresComponent, never>;
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RepeatingStructuresComponent, "app-repeating-structures", never, { "pConn$": { "alias": "pConn$"; "required": false; }; }, {}, never, never, true, never>;
|
|
36
|
+
}
|
|
37
|
+
export {};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/// <reference types="pcore-pconnect-typedefs" />
|
|
2
|
+
import { OnInit, OnDestroy } from '@angular/core';
|
|
3
|
+
import { FormGroup } from '@angular/forms';
|
|
4
|
+
import { AngularPConnectData, AngularPConnectService } from '../../../_bridge/angular-pconnect';
|
|
5
|
+
import { Utils } from '../../../_helpers/utils';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
interface SimpleTableProps {
|
|
8
|
+
multiRecordDisplayAs: string;
|
|
9
|
+
contextClass: any;
|
|
10
|
+
visibility: boolean;
|
|
11
|
+
label: string;
|
|
12
|
+
propertyLabel: string;
|
|
13
|
+
displayMode: string;
|
|
14
|
+
fieldMetadata: any;
|
|
15
|
+
hideLabel: boolean;
|
|
16
|
+
parameters: any;
|
|
17
|
+
isDataObject: boolean;
|
|
18
|
+
type: string;
|
|
19
|
+
ruleClass: string;
|
|
20
|
+
authorContext: string;
|
|
21
|
+
name: string;
|
|
22
|
+
}
|
|
23
|
+
export declare class SimpleTableComponent implements OnInit, OnDestroy {
|
|
24
|
+
private angularPConnect;
|
|
25
|
+
private utils;
|
|
26
|
+
pConn$: typeof PConnect;
|
|
27
|
+
formGroup$: FormGroup;
|
|
28
|
+
angularPConnectData: AngularPConnectData;
|
|
29
|
+
bVisible$: boolean;
|
|
30
|
+
configProps$: SimpleTableProps;
|
|
31
|
+
fieldGroupProps: any;
|
|
32
|
+
listViewProps: any;
|
|
33
|
+
refToPConnect: any;
|
|
34
|
+
constructor(angularPConnect: AngularPConnectService, utils: Utils);
|
|
35
|
+
ngOnInit(): void;
|
|
36
|
+
ngOnDestroy(): void;
|
|
37
|
+
checkAndUpdate(): void;
|
|
38
|
+
updateSelf(): void;
|
|
39
|
+
onStateChange(): void;
|
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SimpleTableComponent, never>;
|
|
41
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SimpleTableComponent, "app-simple-table", never, { "pConn$": { "alias": "pConn$"; "required": false; }; "formGroup$": { "alias": "formGroup$"; "required": false; }; }, {}, never, never, true, never>;
|
|
42
|
+
}
|
|
43
|
+
export {};
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
export declare const TABLE_CELL = "SdkRenderer";
|
|
2
|
+
export declare const DELETE_ICON = "DeleteIcon";
|
|
3
|
+
export declare const getContext: (thePConn: any) => {
|
|
4
|
+
contextName: any;
|
|
5
|
+
referenceListStr: any;
|
|
6
|
+
pageReferenceForRows: any;
|
|
7
|
+
};
|
|
8
|
+
export declare const populateRowKey: (rawData: any) => any;
|
|
9
|
+
export declare const getApiContext: (processedData: any, pConnect: any, reorderCB: any) => {
|
|
10
|
+
fetchData: () => Promise<unknown>;
|
|
11
|
+
fetchPersonalizations: () => Promise<{}>;
|
|
12
|
+
applyRowReorder: (sourceKey: any, destinationKey: any) => Promise<any>;
|
|
13
|
+
};
|
|
14
|
+
export declare const buildMetaForListView: (fieldMetadata: any, fields: any, type: any, ruleClass: any, name: any, propertyLabel: any, isDataObject: any, parameters: any) => {
|
|
15
|
+
name: any;
|
|
16
|
+
config: {
|
|
17
|
+
type: any;
|
|
18
|
+
referenceList: any;
|
|
19
|
+
parameters: any;
|
|
20
|
+
personalization: boolean;
|
|
21
|
+
isDataObject: any;
|
|
22
|
+
grouping: boolean;
|
|
23
|
+
globalSearch: boolean;
|
|
24
|
+
reorderFields: boolean;
|
|
25
|
+
toggleFieldVisibility: boolean;
|
|
26
|
+
title: any;
|
|
27
|
+
personalizationId: string;
|
|
28
|
+
template: string;
|
|
29
|
+
presets: {
|
|
30
|
+
name: string;
|
|
31
|
+
template: string;
|
|
32
|
+
config: {};
|
|
33
|
+
children: {
|
|
34
|
+
name: string;
|
|
35
|
+
type: string;
|
|
36
|
+
children: any;
|
|
37
|
+
}[];
|
|
38
|
+
label: any;
|
|
39
|
+
id: string;
|
|
40
|
+
}[];
|
|
41
|
+
ruleClass: any;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
export declare const buildFieldsForTable: (configFields: any, fields: any, showDeleteButton: any) => any;
|
|
45
|
+
export declare const createMetaForTable: (fields: any, renderMode: any) => {
|
|
46
|
+
height: {
|
|
47
|
+
minHeight: string;
|
|
48
|
+
fitHeightToElement: string;
|
|
49
|
+
deltaAdjustment: string;
|
|
50
|
+
autoSize: boolean;
|
|
51
|
+
};
|
|
52
|
+
fieldDefs: any;
|
|
53
|
+
itemKey: string;
|
|
54
|
+
grouping: boolean;
|
|
55
|
+
reorderFields: boolean;
|
|
56
|
+
reorderItems: boolean;
|
|
57
|
+
dragHandle: boolean;
|
|
58
|
+
globalSearch: boolean;
|
|
59
|
+
personalization: boolean;
|
|
60
|
+
toggleFieldVisibility: boolean;
|
|
61
|
+
toolbar: boolean;
|
|
62
|
+
footer: boolean;
|
|
63
|
+
filterExpression: null;
|
|
64
|
+
editing: boolean;
|
|
65
|
+
timezone: string;
|
|
66
|
+
};
|
|
67
|
+
export declare const filterDataByDate: (item: any, filterObj: any) => any;
|
|
68
|
+
export declare const filterDataByCommonFields: (item: any, filterObj: any) => any;
|
|
69
|
+
/**
|
|
70
|
+
* This method returns a callBack function for Add action.
|
|
71
|
+
* @param {object} pConnect - PConnect object
|
|
72
|
+
* @param {number} index - index of the page list to add
|
|
73
|
+
*/
|
|
74
|
+
export declare const getAddRowCallback: (pConnect: any, index: any) => () => any;
|
|
75
|
+
/**
|
|
76
|
+
* This method creates a PConnect object with proper options for Add and Delete actions
|
|
77
|
+
* @param {string} contextName - contextName
|
|
78
|
+
* @param {string} referenceList - referenceList
|
|
79
|
+
* @param {string} pageReference - pageReference
|
|
80
|
+
*/
|
|
81
|
+
export declare const createPConnect: (contextName: any, referenceList: any, pageReference: any) => import("@pega/pcore-pconnect-typedefs/interpreter/c11n-env").default;
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
/// <reference types="pcore-pconnect-typedefs" />
|
|
2
|
+
import { OnInit, OnDestroy } from '@angular/core';
|
|
3
|
+
import { FormGroup } from '@angular/forms';
|
|
4
|
+
import { MatSort } from '@angular/material/sort';
|
|
5
|
+
import { MatTableDataSource } from '@angular/material/table';
|
|
6
|
+
import { AngularPConnectData, AngularPConnectService } from '../../../_bridge/angular-pconnect';
|
|
7
|
+
import { DatapageService } from '../../../_services/datapage.service';
|
|
8
|
+
import { Utils } from '../../../_helpers/utils';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
interface SimpleTableManualProps {
|
|
11
|
+
visibility?: boolean;
|
|
12
|
+
grouping?: any;
|
|
13
|
+
referenceList?: any[];
|
|
14
|
+
children?: any[];
|
|
15
|
+
renderMode?: string;
|
|
16
|
+
presets?: any[];
|
|
17
|
+
label?: string;
|
|
18
|
+
showLabel?: boolean;
|
|
19
|
+
dataPageName?: string;
|
|
20
|
+
contextClass?: string;
|
|
21
|
+
propertyLabel?: string;
|
|
22
|
+
fieldMetadata?: any;
|
|
23
|
+
allowTableEdit?: boolean;
|
|
24
|
+
editMode?: string;
|
|
25
|
+
addAndEditRowsWithin?: any;
|
|
26
|
+
viewForAddAndEditModal?: any;
|
|
27
|
+
editModeConfig?: any;
|
|
28
|
+
displayMode?: string;
|
|
29
|
+
useSeparateViewForEdit: any;
|
|
30
|
+
viewForEditModal: any;
|
|
31
|
+
}
|
|
32
|
+
declare class Group {
|
|
33
|
+
level: number;
|
|
34
|
+
parent: Group;
|
|
35
|
+
expanded: boolean;
|
|
36
|
+
totalCounts: number;
|
|
37
|
+
get visible(): boolean;
|
|
38
|
+
}
|
|
39
|
+
export declare class SimpleTableManualComponent implements OnInit, OnDestroy {
|
|
40
|
+
private angularPConnect;
|
|
41
|
+
private utils;
|
|
42
|
+
private dataPageService;
|
|
43
|
+
sort: MatSort;
|
|
44
|
+
pConn$: typeof PConnect;
|
|
45
|
+
formGroup$: FormGroup;
|
|
46
|
+
angularPConnectData: AngularPConnectData;
|
|
47
|
+
configProps$: SimpleTableManualProps;
|
|
48
|
+
fields$: any[];
|
|
49
|
+
bVisible$: boolean;
|
|
50
|
+
displayedColumns: string[];
|
|
51
|
+
rowData: MatTableDataSource<any>;
|
|
52
|
+
originalData: any[];
|
|
53
|
+
processedFields: any[];
|
|
54
|
+
fieldDefs: any[];
|
|
55
|
+
requestedReadOnlyMode: boolean;
|
|
56
|
+
readOnlyMode: boolean;
|
|
57
|
+
editableMode: boolean;
|
|
58
|
+
menuIconOverride$: string;
|
|
59
|
+
pageReference: string;
|
|
60
|
+
referenceList: any;
|
|
61
|
+
contextClass: any;
|
|
62
|
+
showAddRowButton: boolean;
|
|
63
|
+
prevReferenceList: any[];
|
|
64
|
+
elementsData: MatTableDataSource<any>;
|
|
65
|
+
rawFields: any;
|
|
66
|
+
label?: string;
|
|
67
|
+
searchIcon$: string;
|
|
68
|
+
bShowSearch$: boolean;
|
|
69
|
+
bColumnReorder$: boolean;
|
|
70
|
+
bGrouping$: boolean;
|
|
71
|
+
perfFilter: string;
|
|
72
|
+
searchFilter: string;
|
|
73
|
+
menuSvgIcon$: string;
|
|
74
|
+
arrowSvgIcon$: string;
|
|
75
|
+
arrowDownSvgIcon$: string;
|
|
76
|
+
arrowUpSvgIcon$: string;
|
|
77
|
+
filterSvgIcon$: string;
|
|
78
|
+
filterOnSvgIcon$: string;
|
|
79
|
+
groupBySvgIcon$: string;
|
|
80
|
+
groupByColumns$: string[];
|
|
81
|
+
compareType: string;
|
|
82
|
+
compareRef: string;
|
|
83
|
+
arrowDirection: string;
|
|
84
|
+
filterByColumns: any[];
|
|
85
|
+
currentFilterRefData: any;
|
|
86
|
+
filterContainsLabel$: string;
|
|
87
|
+
filterContainsType$: string;
|
|
88
|
+
filterContainsValue$: any;
|
|
89
|
+
bShowFilterPopover$: boolean;
|
|
90
|
+
bContains$: boolean;
|
|
91
|
+
bDateTime$: boolean;
|
|
92
|
+
bIsDate$: boolean;
|
|
93
|
+
bIsDateTime$: boolean;
|
|
94
|
+
bIsTime$: boolean;
|
|
95
|
+
currentFilterImageEl: any;
|
|
96
|
+
arFilterMainButtons$: any[];
|
|
97
|
+
arFilterSecondaryButtons$: any[];
|
|
98
|
+
selectionMode: string;
|
|
99
|
+
singleSelectionMode: boolean;
|
|
100
|
+
multiSelectionMode: boolean;
|
|
101
|
+
rowID: any;
|
|
102
|
+
response: any;
|
|
103
|
+
compositeKeys: any;
|
|
104
|
+
parameters: any;
|
|
105
|
+
allowEditingInModal: boolean;
|
|
106
|
+
defaultView: any;
|
|
107
|
+
referenceListStr: any;
|
|
108
|
+
bUseSeparateViewForEdit: any;
|
|
109
|
+
editView: any;
|
|
110
|
+
settingsSvgIcon$: string;
|
|
111
|
+
constructor(angularPConnect: AngularPConnectService, utils: Utils, dataPageService: DatapageService);
|
|
112
|
+
ngOnInit(): void;
|
|
113
|
+
ngOnDestroy(): void;
|
|
114
|
+
checkAndUpdate(): void;
|
|
115
|
+
updateSelf(): void;
|
|
116
|
+
getResultsText(): string;
|
|
117
|
+
sortCompare(a: any, b: any): number;
|
|
118
|
+
compareByColumnPxRefObjectInsName(aValue: any, bValue: any): number | undefined;
|
|
119
|
+
updateFilterDisplay(type: any): void;
|
|
120
|
+
_filter(event: any, columnData: any): void;
|
|
121
|
+
_clickAway(event: any): void;
|
|
122
|
+
_filterContainsType(event: any): void;
|
|
123
|
+
_filterContainsValue(event: any): void;
|
|
124
|
+
_filterContainsDateValue(event: any, value: any): void;
|
|
125
|
+
_filterContainsDateTimeValue(event: any): void;
|
|
126
|
+
_filterContainsTimeValue(event: any): void;
|
|
127
|
+
_onFilterActionButtonClick(event: any): void;
|
|
128
|
+
updateFilterWithInfo(): void;
|
|
129
|
+
updateFilterVarsWithCurrent(columnData: any): void;
|
|
130
|
+
filterData(item: any): boolean;
|
|
131
|
+
filterSortGroupBy(): void;
|
|
132
|
+
_headerSortClick(event: any, columnData: any): void;
|
|
133
|
+
_showUnGroupBy(columnData: any): boolean;
|
|
134
|
+
_groupBy(event: any, columnData: any): void;
|
|
135
|
+
_unGroupBy(event: any, columnData: any): void;
|
|
136
|
+
checkGroupByColumn(field: any, add: any): void;
|
|
137
|
+
_getGroupName(fieldName: any): any;
|
|
138
|
+
addGroups(data: any[], groupByColumns: string[]): any[];
|
|
139
|
+
getSublevel(data: any[], level: number, groupByColumns: string[], parent: Group): any[];
|
|
140
|
+
uniqueBy(a: any, key: any): any;
|
|
141
|
+
isGroup(index: any, item: any): boolean;
|
|
142
|
+
_groupHeaderClick(row: any): void;
|
|
143
|
+
customFilterPredicate(data: any | Group, filter: string): boolean;
|
|
144
|
+
getDataRowVisible(data: any): boolean;
|
|
145
|
+
getDataRowVisibleWithFilter(data: any, filter: any): boolean;
|
|
146
|
+
getDisplayColumns(fields?: never[]): any[];
|
|
147
|
+
_getIconStyle(level: any): string;
|
|
148
|
+
onStateChange(): void;
|
|
149
|
+
getRowValue(inRowData: Object, inColKey: string): any;
|
|
150
|
+
generateRowsData(): void;
|
|
151
|
+
formatRowsData(data: any): any;
|
|
152
|
+
addRecord(): void;
|
|
153
|
+
editRecord(data: any, index: any): void;
|
|
154
|
+
deleteRecord(index: any): void;
|
|
155
|
+
buildElementsForTable(): void;
|
|
156
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SimpleTableManualComponent, never>;
|
|
157
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SimpleTableManualComponent, "app-simple-table-manual", never, { "pConn$": { "alias": "pConn$"; "required": false; }; "formGroup$": { "alias": "formGroup$"; "required": false; }; }, {}, never, never, true, never>;
|
|
158
|
+
}
|
|
159
|
+
export {};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/// <reference types="pcore-pconnect-typedefs" />
|
|
2
|
+
import { OnInit, OnDestroy } from '@angular/core';
|
|
3
|
+
import { FormGroup } from '@angular/forms';
|
|
4
|
+
import { AngularPConnectData, AngularPConnectService } from '../../../_bridge/angular-pconnect';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class SimpleTableSelectComponent implements OnInit, OnDestroy {
|
|
7
|
+
private angularPConnect;
|
|
8
|
+
pConn$: typeof PConnect;
|
|
9
|
+
formGroup$: FormGroup;
|
|
10
|
+
angularPConnectData: AngularPConnectData;
|
|
11
|
+
label: string;
|
|
12
|
+
renderMode: string;
|
|
13
|
+
showLabel: boolean;
|
|
14
|
+
viewName: string;
|
|
15
|
+
parameters: {};
|
|
16
|
+
dataRelationshipContext: string;
|
|
17
|
+
propsToUse: any;
|
|
18
|
+
showSimpleTableManual: boolean;
|
|
19
|
+
isSearchable: boolean;
|
|
20
|
+
filters: any;
|
|
21
|
+
listViewProps: any;
|
|
22
|
+
pageClass: any;
|
|
23
|
+
constructor(angularPConnect: AngularPConnectService);
|
|
24
|
+
ngOnInit(): void;
|
|
25
|
+
ngOnDestroy(): void;
|
|
26
|
+
onStateChange(): void;
|
|
27
|
+
updateSelf(): void;
|
|
28
|
+
processFiltrers(theConfigProps: any, compositeKeys: any): void;
|
|
29
|
+
isSelfReferencedProperty(param: any, referenceProp: any): boolean;
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SimpleTableSelectComponent, never>;
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SimpleTableSelectComponent, "app-simple-table-select", never, { "pConn$": { "alias": "pConn$"; "required": false; }; "formGroup$": { "alias": "formGroup$"; "required": false; }; }, {}, never, never, true, never>;
|
|
32
|
+
}
|
package/lib/_components/template/single-reference-readonly/single-reference-readonly.component.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="pcore-pconnect-typedefs" />
|
|
2
|
+
import { FormGroup } from '@angular/forms';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class SingleReferenceReadonlyComponent {
|
|
5
|
+
pConn$: typeof PConnect;
|
|
6
|
+
formGroup$: FormGroup;
|
|
7
|
+
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>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/// <reference types="pcore-pconnect-typedefs" />
|
|
2
|
+
import { OnInit, OnDestroy } from '@angular/core';
|
|
3
|
+
import { FormGroup } from '@angular/forms';
|
|
4
|
+
import { AngularPConnectData, AngularPConnectService } from '../../../_bridge/angular-pconnect';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class SubTabsComponent implements OnInit, OnDestroy {
|
|
7
|
+
private angularPConnect;
|
|
8
|
+
pConn$: typeof PConnect;
|
|
9
|
+
formGroup$: FormGroup;
|
|
10
|
+
angularPConnectData: AngularPConnectData;
|
|
11
|
+
arChildren$: any[];
|
|
12
|
+
defaultTabIndex: number;
|
|
13
|
+
currentTabId: string;
|
|
14
|
+
tabItems: any[];
|
|
15
|
+
availableTabs: any;
|
|
16
|
+
constructor(angularPConnect: AngularPConnectService);
|
|
17
|
+
ngOnInit(): void;
|
|
18
|
+
ngOnDestroy(): void;
|
|
19
|
+
onStateChange(): void;
|
|
20
|
+
checkAndUpdate(): void;
|
|
21
|
+
updateSelf(): void;
|
|
22
|
+
updateTabContent(): void;
|
|
23
|
+
handleTabClick(event: any): void;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SubTabsComponent, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SubTabsComponent, "app-sub-tabs", never, { "pConn$": { "alias": "pConn$"; "required": false; }; "formGroup$": { "alias": "formGroup$"; "required": false; }; }, {}, never, never, true, never>;
|
|
26
|
+
}
|