@pega/angular-sdk-components 23.1.10 → 24.2.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/lib/_bridge/angular-pconnect.mjs +18 -6
- package/esm2022/lib/_bridge/component-mapper/component-mapper.component.mjs +6 -13
- package/esm2022/lib/_bridge/helpers/sdk-pega-component-map.mjs +3 -1
- package/esm2022/lib/_bridge/helpers/sdk_component_map.mjs +1 -1
- package/esm2022/lib/_components/designSystemExtension/alert/alert.component.mjs +4 -4
- package/esm2022/lib/_components/designSystemExtension/alert-banner/alert-banner.component.mjs +4 -4
- package/esm2022/lib/_components/designSystemExtension/banner/banner.component.mjs +4 -4
- package/esm2022/lib/_components/designSystemExtension/case-create-stage/case-create-stage.component.mjs +5 -5
- package/esm2022/lib/_components/designSystemExtension/field-group/field-group.component.mjs +3 -3
- package/esm2022/lib/_components/designSystemExtension/material-case-summary/material-case-summary.component.mjs +9 -6
- package/esm2022/lib/_components/designSystemExtension/material-details/material-details.component.mjs +5 -5
- package/esm2022/lib/_components/designSystemExtension/material-details-fields/material-details-fields.component.mjs +10 -7
- package/esm2022/lib/_components/designSystemExtension/material-summary-item/material-summary-item.component.mjs +5 -5
- package/esm2022/lib/_components/designSystemExtension/material-summary-list/material-summary-list.component.mjs +4 -4
- package/esm2022/lib/_components/designSystemExtension/material-utility/material-utility.component.mjs +5 -5
- package/esm2022/lib/_components/designSystemExtension/material-vertical-tabs/material-vertical-tabs.component.mjs +5 -5
- package/esm2022/lib/_components/designSystemExtension/operator/operator.component.mjs +16 -9
- package/esm2022/lib/_components/designSystemExtension/pulse/pulse.component.mjs +9 -9
- package/esm2022/lib/_components/designSystemExtension/rich-text-editor/rich-text-editor.component.mjs +4 -4
- package/esm2022/lib/_components/designSystemExtension/wss-quick-create/wss-quick-create.component.mjs +3 -3
- package/esm2022/lib/_components/field/auto-complete/auto-complete.component.mjs +14 -12
- package/esm2022/lib/_components/field/cancel-alert/cancel-alert.component.mjs +5 -7
- package/esm2022/lib/_components/field/check-box/check-box.component.mjs +111 -45
- package/esm2022/lib/_components/field/currency/currency.component.mjs +48 -18
- package/esm2022/lib/_components/field/date/date.component.mjs +21 -41
- package/esm2022/lib/_components/field/date-time/date-time.component.mjs +26 -45
- package/esm2022/lib/_components/field/decimal/decimal.component.mjs +41 -11
- package/esm2022/lib/_components/field/dropdown/dropdown.component.mjs +126 -31
- package/esm2022/lib/_components/field/email/email.component.mjs +15 -8
- package/esm2022/lib/_components/field/group/group.component.mjs +11 -8
- package/esm2022/lib/_components/field/integer/integer.component.mjs +15 -10
- package/esm2022/lib/_components/field/list-view-action-buttons/list-view-action-buttons.component.mjs +3 -3
- package/esm2022/lib/_components/field/multiselect/multiselect.component.mjs +314 -0
- package/esm2022/lib/_components/field/multiselect/utils.mjs +187 -0
- package/esm2022/lib/_components/field/percentage/percentage.component.mjs +41 -14
- package/esm2022/lib/_components/field/phone/phone.component.mjs +12 -19
- package/esm2022/lib/_components/field/radio-buttons/radio-buttons.component.mjs +12 -19
- package/esm2022/lib/_components/field/rich-text/rich-text.component.mjs +10 -11
- package/esm2022/lib/_components/field/scalar-list/scalar-list.component.mjs +9 -9
- package/esm2022/lib/_components/field/semantic-link/semantic-link.component.mjs +5 -5
- package/esm2022/lib/_components/field/text/text.component.mjs +7 -5
- package/esm2022/lib/_components/field/text-area/text-area.component.mjs +15 -13
- package/esm2022/lib/_components/field/text-content/text-content.component.mjs +5 -5
- package/esm2022/lib/_components/field/text-input/text-input.component.mjs +15 -10
- package/esm2022/lib/_components/field/time/time.component.mjs +23 -12
- package/esm2022/lib/_components/field/url/url.component.mjs +17 -10
- package/esm2022/lib/_components/field/user-reference/user-reference.component.mjs +69 -37
- package/esm2022/lib/_components/infra/Containers/base-components/flow-container-base.component.mjs +18 -0
- package/esm2022/lib/_components/infra/Containers/base-components/helper.mjs +71 -0
- package/esm2022/lib/_components/infra/Containers/flow-container/flow-container.component.mjs +40 -41
- package/esm2022/lib/_components/infra/Containers/flow-container/helpers.mjs +1 -1
- package/esm2022/lib/_components/infra/Containers/hybrid-view-container/hybrid-view-container.component.mjs +3 -3
- package/esm2022/lib/_components/infra/Containers/modal-view-container/modal-view-container.component.mjs +41 -13
- package/esm2022/lib/_components/infra/Containers/preview-view-container/preview-view-container.component.mjs +4 -4
- package/esm2022/lib/_components/infra/Containers/view-container/helper.mjs +22 -0
- package/esm2022/lib/_components/infra/Containers/view-container/view-container.component.mjs +10 -18
- package/esm2022/lib/_components/infra/action-buttons/action-buttons.component.mjs +3 -3
- package/esm2022/lib/_components/infra/assignment/assignment.component.mjs +35 -40
- package/esm2022/lib/_components/infra/assignment-card/assignment-card.component.mjs +4 -4
- package/esm2022/lib/_components/infra/dashboard-filter/dashboard-filter.component.mjs +5 -6
- package/esm2022/lib/_components/infra/defer-load/defer-load.component.mjs +13 -16
- package/esm2022/lib/_components/infra/error-boundary/error-boundary.component.mjs +3 -3
- package/esm2022/lib/_components/infra/multi-step/multi-step.component.mjs +6 -6
- package/esm2022/lib/_components/infra/navbar/navbar.component.mjs +12 -8
- package/esm2022/lib/_components/infra/reference/reference.component.mjs +5 -5
- package/esm2022/lib/_components/infra/region/region.component.mjs +4 -4
- package/esm2022/lib/_components/infra/root-container/root-container.component.mjs +5 -5
- package/esm2022/lib/_components/infra/stages/stages.component.mjs +6 -6
- package/esm2022/lib/_components/infra/view/view.component.mjs +24 -9
- package/esm2022/lib/_components/template/app-shell/app-shell.component.mjs +21 -5
- package/esm2022/lib/_components/template/banner-page/banner-page.component.mjs +5 -5
- package/esm2022/lib/_components/template/base/details-template-base.mjs +56 -0
- package/esm2022/lib/_components/template/base/form-template-base.mjs +13 -0
- package/esm2022/lib/_components/template/case-summary/case-summary.component.mjs +38 -9
- package/esm2022/lib/_components/template/case-view/case-view.component.mjs +12 -23
- package/esm2022/lib/_components/template/confirmation/confirmation.component.mjs +6 -6
- package/esm2022/lib/_components/template/data-reference/data-reference.component.mjs +15 -12
- package/esm2022/lib/_components/template/default-form/default-form.component.mjs +9 -21
- package/esm2022/lib/_components/template/details/details.component.mjs +12 -39
- package/esm2022/lib/_components/template/details-narrow-wide/details-narrow-wide.component.mjs +11 -38
- package/esm2022/lib/_components/template/details-one-column/details-one-column.component.mjs +12 -41
- package/esm2022/lib/_components/template/details-sub-tabs/details-sub-tabs.component.mjs +13 -40
- package/esm2022/lib/_components/template/details-three-column/details-three-column.component.mjs +12 -41
- package/esm2022/lib/_components/template/details-two-column/details-two-column.component.mjs +13 -42
- package/esm2022/lib/_components/template/details-wide-narrow/details-wide-narrow.component.mjs +12 -41
- package/esm2022/lib/_components/template/dynamic-tabs/dynamic-tabs.component.mjs +9 -9
- package/esm2022/lib/_components/template/field-group-list/field-group-list.component.mjs +4 -4
- package/esm2022/lib/_components/template/field-group-template/field-group-template.component.mjs +9 -21
- package/esm2022/lib/_components/template/field-value-list/field-value-list.component.mjs +10 -5
- package/esm2022/lib/_components/template/inline-dashboard/inline-dashboard.component.mjs +4 -4
- package/esm2022/lib/_components/template/inline-dashboard-page/inline-dashboard-page.component.mjs +6 -6
- package/esm2022/lib/_components/template/list-page/list-page.component.mjs +4 -4
- package/esm2022/lib/_components/template/list-view/DefaultViewMeta.mjs +1 -1
- package/esm2022/lib/_components/template/list-view/list-view.component.mjs +54 -35
- package/esm2022/lib/_components/template/list-view/listViewHelpers.mjs +2 -3
- package/esm2022/lib/_components/template/list-view/utils.mjs +1 -1
- package/esm2022/lib/_components/template/multi-reference-readonly/multi-reference-readonly.component.mjs +5 -5
- package/esm2022/lib/_components/template/narrow-wide-form/narrow-wide-form.component.mjs +4 -4
- package/esm2022/lib/_components/template/one-column/one-column.component.mjs +6 -5
- package/esm2022/lib/_components/template/one-column-page/one-column-page.component.mjs +4 -4
- package/esm2022/lib/_components/template/one-column-tab/one-column-tab.component.mjs +4 -4
- package/esm2022/lib/_components/template/page/page.component.mjs +5 -5
- package/esm2022/lib/_components/template/promoted-filters/promoted-filters.component.mjs +5 -5
- package/esm2022/lib/_components/template/repeating-structures/repeating-structures.component.mjs +5 -6
- package/esm2022/lib/_components/template/simple-table/simple-table.component.mjs +5 -7
- package/esm2022/lib/_components/template/simple-table-manual/helpers.mjs +3 -3
- package/esm2022/lib/_components/template/simple-table-manual/simple-table-manual.component.mjs +51 -32
- package/esm2022/lib/_components/template/simple-table-select/simple-table-select.component.mjs +8 -10
- package/esm2022/lib/_components/template/single-reference-readonly/single-reference-readonly.component.mjs +4 -4
- package/esm2022/lib/_components/template/sub-tabs/sub-tabs.component.mjs +5 -5
- package/esm2022/lib/_components/template/three-column/three-column.component.mjs +6 -5
- package/esm2022/lib/_components/template/three-column-page/three-column-page.component.mjs +4 -4
- package/esm2022/lib/_components/template/two-column/two-column.component.mjs +6 -5
- package/esm2022/lib/_components/template/two-column-page/two-column-page.component.mjs +5 -5
- package/esm2022/lib/_components/template/two-column-tab/two-column-tab.component.mjs +4 -4
- package/esm2022/lib/_components/template/utils.mjs +1 -1
- package/esm2022/lib/_components/template/wide-narrow-form/wide-narrow-form.component.mjs +6 -5
- package/esm2022/lib/_components/template/wide-narrow-page/wide-narrow-page.component.mjs +5 -5
- package/esm2022/lib/_components/template/wss-nav-bar/wss-nav-bar.component.mjs +9 -7
- package/esm2022/lib/_components/widget/app-announcement/app-announcement.component.mjs +4 -4
- package/esm2022/lib/_components/widget/attachment/attachment.component.mjs +229 -424
- package/esm2022/lib/_components/widget/case-history/case-history.component.mjs +6 -7
- package/esm2022/lib/_components/widget/feed-container/feed-container.component.mjs +6 -10
- package/esm2022/lib/_components/widget/file-utility/file-utility.component.mjs +18 -22
- package/esm2022/lib/_components/widget/list-utility/list-utility.component.mjs +6 -6
- package/esm2022/lib/_components/widget/quick-create/quick-create.component.mjs +5 -5
- package/esm2022/lib/_components/widget/todo/todo.component.mjs +79 -64
- package/esm2022/lib/_components/widget/utility/utility.component.mjs +5 -5
- package/esm2022/lib/_directives/thousand-seperator.directive.mjs +5 -5
- package/esm2022/lib/_helpers/case-utils.mjs +1 -1
- package/esm2022/lib/_helpers/createstage-utils.mjs +15 -0
- package/esm2022/lib/_helpers/currency-utils.mjs +1 -1
- package/esm2022/lib/_helpers/event-util.mjs +1 -1
- package/esm2022/lib/_helpers/field-group-utils.mjs +3 -3
- package/esm2022/lib/_helpers/filter-utils.mjs +1 -2
- package/esm2022/lib/_helpers/formatters/boolean.mjs +1 -1
- package/esm2022/lib/_helpers/formatters/common.mjs +3 -5
- package/esm2022/lib/_helpers/formatters/currency.mjs +2 -2
- package/esm2022/lib/_helpers/formatters/date.mjs +4 -4
- package/esm2022/lib/_helpers/formatters/format-utils.mjs +3 -3
- package/esm2022/lib/_helpers/formatters/index.mjs +17 -3
- package/esm2022/lib/_helpers/instructions-utils.mjs +36 -0
- package/esm2022/lib/_helpers/tab-utils.mjs +1 -1
- package/esm2022/lib/_helpers/template-utils.mjs +4 -4
- package/esm2022/lib/_helpers/utils.mjs +6 -6
- package/esm2022/lib/_messages/error-messages.service.mjs +4 -4
- package/esm2022/lib/_messages/progress-spinner.service.mjs +3 -3
- package/esm2022/lib/_messages/update-worklist.service.mjs +3 -3
- package/esm2022/lib/_services/case.service.mjs +4 -4
- package/esm2022/lib/_services/datapage.service.mjs +5 -5
- package/esm2022/lib/_services/endpoints.mjs +1 -2
- package/esm2022/lib/_services/server-config.service.mjs +3 -3
- package/esm2022/public-api.mjs +6 -4
- package/fesm2022/pega-angular-sdk-components.mjs +2722 -2143
- package/fesm2022/pega-angular-sdk-components.mjs.map +1 -1
- package/lib/_bridge/angular-pconnect.d.ts +2 -0
- package/lib/_bridge/helpers/sdk-pega-component-map.d.ts +2 -0
- package/lib/_components/designSystemExtension/material-case-summary/material-case-summary.component.d.ts +2 -0
- package/lib/_components/designSystemExtension/material-details-fields/material-details-fields.component.d.ts +1 -1
- package/lib/_components/designSystemExtension/operator/operator.component.d.ts +2 -1
- package/lib/_components/designSystemExtension/pulse/pulse.component.d.ts +2 -2
- package/lib/_components/field/auto-complete/auto-complete.component.d.ts +3 -2
- package/lib/_components/field/check-box/check-box.component.d.ts +18 -0
- package/lib/_components/field/currency/currency.component.d.ts +10 -5
- package/lib/_components/field/date/date.component.d.ts +17 -6
- package/lib/_components/field/date-time/date-time.component.d.ts +10 -3
- package/lib/_components/field/decimal/decimal.component.d.ts +9 -1
- package/lib/_components/field/dropdown/dropdown.component.d.ts +13 -2
- package/lib/_components/field/email/email.component.d.ts +2 -0
- package/lib/_components/field/integer/integer.component.d.ts +3 -1
- package/lib/_components/field/list-view-action-buttons/list-view-action-buttons.component.d.ts +1 -1
- package/lib/_components/field/multiselect/multiselect.component.d.ts +65 -0
- package/lib/_components/field/multiselect/utils.d.ts +8 -0
- package/lib/_components/field/percentage/percentage.component.d.ts +11 -1
- package/lib/_components/field/phone/phone.component.d.ts +3 -1
- package/lib/_components/field/radio-buttons/radio-buttons.component.d.ts +2 -1
- package/lib/_components/field/rich-text/rich-text.component.d.ts +2 -0
- package/lib/_components/field/text/text.component.d.ts +3 -1
- package/lib/_components/field/text-area/text-area.component.d.ts +3 -1
- package/lib/_components/field/text-input/text-input.component.d.ts +3 -1
- package/lib/_components/field/time/time.component.d.ts +5 -1
- package/lib/_components/field/url/url.component.d.ts +4 -1
- package/lib/_components/field/user-reference/user-reference.component.d.ts +16 -4
- package/lib/_components/infra/Containers/base-components/flow-container-base.component.d.ts +8 -0
- package/lib/_components/infra/Containers/base-components/helper.d.ts +1 -0
- package/lib/_components/infra/Containers/flow-container/flow-container.component.d.ts +6 -7
- package/lib/_components/infra/Containers/modal-view-container/modal-view-container.component.d.ts +3 -2
- package/lib/_components/infra/Containers/view-container/helper.d.ts +2 -0
- package/lib/_components/infra/action-buttons/action-buttons.component.d.ts +1 -1
- package/lib/_components/infra/assignment/assignment.component.d.ts +2 -2
- package/lib/_components/infra/defer-load/defer-load.component.d.ts +2 -2
- package/lib/_components/infra/error-boundary/error-boundary.component.d.ts +1 -1
- package/lib/_components/infra/navbar/navbar.component.d.ts +4 -2
- package/lib/_components/infra/view/view.component.d.ts +1 -0
- package/lib/_components/template/base/details-template-base.d.ts +22 -0
- package/lib/_components/template/base/form-template-base.d.ts +8 -0
- package/lib/_components/template/case-summary/case-summary.component.d.ts +2 -0
- package/lib/_components/template/case-view/case-view.component.d.ts +1 -2
- package/lib/_components/template/default-form/default-form.component.d.ts +2 -5
- package/lib/_components/template/details/details.component.d.ts +3 -11
- package/lib/_components/template/details-narrow-wide/details-narrow-wide.component.d.ts +3 -11
- package/lib/_components/template/details-one-column/details-one-column.component.d.ts +3 -13
- package/lib/_components/template/details-sub-tabs/details-sub-tabs.component.d.ts +3 -13
- package/lib/_components/template/details-three-column/details-three-column.component.d.ts +3 -13
- package/lib/_components/template/details-two-column/details-two-column.component.d.ts +3 -13
- package/lib/_components/template/details-wide-narrow/details-wide-narrow.component.d.ts +3 -13
- package/lib/_components/template/dynamic-tabs/dynamic-tabs.component.d.ts +1 -0
- package/lib/_components/template/field-value-list/field-value-list.component.d.ts +2 -1
- package/lib/_components/template/list-view/list-view.component.d.ts +12 -3
- package/lib/_components/template/list-view/listViewHelpers.d.ts +1 -1
- package/lib/_components/template/one-column/one-column.component.d.ts +2 -1
- package/lib/_components/template/simple-table-manual/helpers.d.ts +2 -2
- package/lib/_components/template/simple-table-manual/simple-table-manual.component.d.ts +4 -0
- package/lib/_components/template/three-column/three-column.component.d.ts +2 -1
- package/lib/_components/template/two-column/two-column.component.d.ts +2 -1
- package/lib/_components/template/wide-narrow-form/wide-narrow-form.component.d.ts +2 -1
- package/lib/_components/template/wide-narrow-page/wide-narrow-page.component.d.ts +1 -1
- package/lib/_components/template/wss-nav-bar/wss-nav-bar.component.d.ts +4 -2
- package/lib/_components/widget/attachment/attachment.component.d.ts +30 -54
- package/lib/_components/widget/feed-container/feed-container.component.d.ts +2 -2
- package/lib/_components/widget/file-utility/file-utility.component.d.ts +2 -2
- package/lib/_components/widget/todo/todo.component.d.ts +8 -10
- package/lib/_helpers/createstage-utils.d.ts +1 -0
- package/lib/_helpers/field-group-utils.d.ts +1 -1
- package/lib/_helpers/filter-utils.d.ts +1 -1
- package/lib/_helpers/formatters/common.d.ts +1 -1
- package/lib/_helpers/instructions-utils.d.ts +4 -0
- package/lib/_messages/error-messages.service.d.ts +1 -1
- package/lib/_services/endpoints.d.ts +0 -1
- package/lib/doc/KeyReleaseUpdates.md +35 -1
- package/package.json +3 -3
- package/public-api.d.ts +5 -3
- 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/reset-pconnect.service.mjs +0 -31
- 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
|
@@ -93,6 +93,8 @@ export declare class AngularPConnectService {
|
|
|
93
93
|
* actions: any actions that are defined for this object
|
|
94
94
|
*/
|
|
95
95
|
registerAndSubscribeComponent(inComp: any, inCallback?: Function | null): AngularPConnectData;
|
|
96
|
+
addFormField(inComp: any): void;
|
|
97
|
+
removeFormField(inComp: any): void;
|
|
96
98
|
/**
|
|
97
99
|
* Returns **true** if the component's entry in ___componentPropsArr___ is
|
|
98
100
|
* the same as the properties that are current associated with the component (___inComp___) passed in.
|
|
@@ -63,6 +63,7 @@ import { InlineDashboardPageComponent } from '../../_components/template/inline-
|
|
|
63
63
|
import { ListPageComponent } from '../../_components/template/list-page/list-page.component';
|
|
64
64
|
import { ListViewComponent } from '../../_components/template/list-view/list-view.component';
|
|
65
65
|
import { MultiReferenceReadonlyComponent } from '../../_components/template/multi-reference-readonly/multi-reference-readonly.component';
|
|
66
|
+
import { MultiselectComponent } from '../../_components/field/multiselect/multiselect.component';
|
|
66
67
|
import { NarrowWideFormComponent } from '../../_components/template/narrow-wide-form/narrow-wide-form.component';
|
|
67
68
|
import { OneColumnComponent } from '../../_components/template/one-column/one-column.component';
|
|
68
69
|
import { OneColumnPageComponent } from '../../_components/template/one-column-page/one-column-page.component';
|
|
@@ -162,6 +163,7 @@ declare const pegaSdkComponentMap: {
|
|
|
162
163
|
MaterialUtility: typeof MaterialUtilityComponent;
|
|
163
164
|
ModalViewContainer: typeof ModalViewContainerComponent;
|
|
164
165
|
MultiReferenceReadOnly: typeof MultiReferenceReadonlyComponent;
|
|
166
|
+
Multiselect: typeof MultiselectComponent;
|
|
165
167
|
MultiStep: typeof MultiStepComponent;
|
|
166
168
|
NarrowWideDetails: typeof DetailsNarrowWideComponent;
|
|
167
169
|
NarrowWideForm: typeof NarrowWideFormComponent;
|
|
@@ -9,6 +9,8 @@ export declare class MaterialCaseSummaryComponent implements OnInit, OnChanges {
|
|
|
9
9
|
secondaryFields$: any[];
|
|
10
10
|
primaryFieldsWithStatus$: any[];
|
|
11
11
|
constructor(utils: Utils);
|
|
12
|
+
localizedVal: (localeKey: string, localePath?: string | undefined, localeRuleKey?: string | undefined, componentName?: string | null | undefined) => string;
|
|
13
|
+
localeCategory: string;
|
|
12
14
|
ngOnInit(): void;
|
|
13
15
|
ngOnChanges(): void;
|
|
14
16
|
updateLabelAndDate(arData: any[]): void;
|
|
@@ -5,7 +5,7 @@ export declare class MaterialDetailsFieldsComponent {
|
|
|
5
5
|
constructor(utils: Utils);
|
|
6
6
|
arFields$: any[];
|
|
7
7
|
arHighlightedFields: any[];
|
|
8
|
-
_getValue(configValue: any): any;
|
|
8
|
+
_getValue(configValue: any, field?: any): any;
|
|
9
9
|
_formatDate(dateValue: string, dateFormat: string): string;
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<MaterialDetailsFieldsComponent, never>;
|
|
11
11
|
static ɵcmp: i0.ɵɵComponentDeclaration<MaterialDetailsFieldsComponent, "app-material-details-fields", never, { "arFields$": { "alias": "arFields$"; "required": false; }; "arHighlightedFields": { "alias": "arHighlightedFields"; "required": false; }; }, {}, never, never, true, never>;
|
|
@@ -8,6 +8,7 @@ export declare class OperatorComponent implements OnInit, OnChanges, OnDestroy {
|
|
|
8
8
|
private cdRef;
|
|
9
9
|
private utils;
|
|
10
10
|
pConn$: typeof PConnect;
|
|
11
|
+
displayLabel: any;
|
|
11
12
|
fields$: any[];
|
|
12
13
|
bShowPopover$: boolean;
|
|
13
14
|
date$: string;
|
|
@@ -21,5 +22,5 @@ export declare class OperatorComponent implements OnInit, OnChanges, OnDestroy {
|
|
|
21
22
|
updateSelf(): void;
|
|
22
23
|
showOperator(): void;
|
|
23
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<OperatorComponent, never>;
|
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OperatorComponent, "app-operator", never, { "pConn$": { "alias": "pConn$"; "required": false; }; }, {}, never, never, true, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OperatorComponent, "app-operator", never, { "pConn$": { "alias": "pConn$"; "required": false; }; "displayLabel": { "alias": "displayLabel"; "required": false; }; }, {}, never, never, true, never>;
|
|
25
26
|
}
|
|
@@ -7,8 +7,8 @@ interface PulseProps {
|
|
|
7
7
|
export declare class PulseComponent implements OnInit {
|
|
8
8
|
pConn$: typeof PConnect;
|
|
9
9
|
configProps$: PulseProps;
|
|
10
|
-
currentUser$: string;
|
|
11
|
-
currentUserInitials$: string;
|
|
10
|
+
currentUser$: string | undefined;
|
|
11
|
+
currentUserInitials$: string | undefined;
|
|
12
12
|
ngOnInit(): void;
|
|
13
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<PulseComponent, never>;
|
|
14
14
|
static ɵcmp: i0.ɵɵComponentDeclaration<PulseComponent, "app-pulse", never, { "pConn$": { "alias": "pConn$"; "required": false; }; }, {}, never, never, true, never>;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/// <reference types="pcore-pconnect-typedefs" />
|
|
2
2
|
import { OnInit, ChangeDetectorRef, OnDestroy } from '@angular/core';
|
|
3
3
|
import { FormControl, FormGroup } from '@angular/forms';
|
|
4
|
-
import { MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';
|
|
5
4
|
import { Observable } from 'rxjs';
|
|
6
5
|
import { AngularPConnectData, AngularPConnectService } from '../../../_bridge/angular-pconnect';
|
|
7
6
|
import { Utils } from '../../../_helpers/utils';
|
|
@@ -48,6 +47,8 @@ export declare class AutoCompleteComponent implements OnInit, OnDestroy {
|
|
|
48
47
|
hideLabel: boolean;
|
|
49
48
|
filteredOptions: Observable<any[]>;
|
|
50
49
|
filterValue: string;
|
|
50
|
+
actionsApi: Object;
|
|
51
|
+
propName: string;
|
|
51
52
|
constructor(angularPConnect: AngularPConnectService, cdRef: ChangeDetectorRef, utils: Utils, dataPageService: DatapageService);
|
|
52
53
|
ngOnInit(): Promise<void>;
|
|
53
54
|
ngOnDestroy(): void;
|
|
@@ -65,7 +66,7 @@ export declare class AutoCompleteComponent implements OnInit, OnDestroy {
|
|
|
65
66
|
getDisplayFieldsMetaData(columnList: any): any;
|
|
66
67
|
preProcessColumns(columnList: any): any;
|
|
67
68
|
fieldOnChange(event: Event): void;
|
|
68
|
-
optionChanged(event:
|
|
69
|
+
optionChanged(event: any): void;
|
|
69
70
|
fieldOnBlur(event: Event): void;
|
|
70
71
|
getErrorMessage(): string;
|
|
71
72
|
static ɵfac: i0.ɵɵFactoryDeclaration<AutoCompleteComponent, never>;
|
|
@@ -10,6 +10,13 @@ interface CheckboxProps extends Omit<PConnFieldProps, 'value'> {
|
|
|
10
10
|
caption?: string;
|
|
11
11
|
trueLabel?: string;
|
|
12
12
|
falseLabel?: string;
|
|
13
|
+
selectionMode?: string;
|
|
14
|
+
datasource?: any;
|
|
15
|
+
selectionKey?: string;
|
|
16
|
+
selectionList?: any;
|
|
17
|
+
primaryField: string;
|
|
18
|
+
readonlyContextList: any;
|
|
19
|
+
referenceList: string;
|
|
13
20
|
}
|
|
14
21
|
export declare class CheckBoxComponent implements OnInit, OnDestroy {
|
|
15
22
|
private angularPConnect;
|
|
@@ -36,6 +43,16 @@ export declare class CheckBoxComponent implements OnInit, OnDestroy {
|
|
|
36
43
|
helperText: string;
|
|
37
44
|
trueLabel$?: string;
|
|
38
45
|
falseLabel$?: string;
|
|
46
|
+
selectionMode?: string;
|
|
47
|
+
datasource?: any;
|
|
48
|
+
selectionKey?: string;
|
|
49
|
+
selectionList?: any;
|
|
50
|
+
primaryField: string;
|
|
51
|
+
selectedvalues: any;
|
|
52
|
+
referenceList: string;
|
|
53
|
+
listOfCheckboxes: any[];
|
|
54
|
+
actionsApi: Object;
|
|
55
|
+
propName: string;
|
|
39
56
|
fieldControl: FormControl<string | null>;
|
|
40
57
|
constructor(angularPConnect: AngularPConnectService, cdRef: ChangeDetectorRef, utils: Utils);
|
|
41
58
|
ngOnInit(): void;
|
|
@@ -45,6 +62,7 @@ export declare class CheckBoxComponent implements OnInit, OnDestroy {
|
|
|
45
62
|
updateSelf(): void;
|
|
46
63
|
fieldOnChange(event: any): void;
|
|
47
64
|
fieldOnBlur(event: any): void;
|
|
65
|
+
handleChangeMultiMode(event: any, element: any): void;
|
|
48
66
|
getErrorMessage(): string;
|
|
49
67
|
static ɵfac: i0.ɵɵFactoryDeclaration<CheckBoxComponent, never>;
|
|
50
68
|
static ɵcmp: i0.ɵɵComponentDeclaration<CheckBoxComponent, "app-check-box", never, { "pConn$": { "alias": "pConn$"; "required": false; }; "formGroup$": { "alias": "formGroup$"; "required": false; }; }, {}, never, never, true, never>;
|
|
@@ -7,6 +7,8 @@ import { PConnFieldProps } from '../../../_types/PConnProps.interface';
|
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
interface CurrrencyProps extends PConnFieldProps {
|
|
9
9
|
currencyISOCode?: string;
|
|
10
|
+
allowDecimals: boolean;
|
|
11
|
+
formatter?: string;
|
|
10
12
|
}
|
|
11
13
|
export declare class CurrencyComponent implements OnInit, OnDestroy {
|
|
12
14
|
private angularPConnect;
|
|
@@ -17,7 +19,7 @@ export declare class CurrencyComponent implements OnInit, OnDestroy {
|
|
|
17
19
|
angularPConnectData: AngularPConnectData;
|
|
18
20
|
configProps$: CurrrencyProps;
|
|
19
21
|
label$: string;
|
|
20
|
-
value$:
|
|
22
|
+
value$: any;
|
|
21
23
|
bRequired$: boolean;
|
|
22
24
|
bReadonly$: boolean;
|
|
23
25
|
bDisabled$: boolean;
|
|
@@ -32,16 +34,19 @@ export declare class CurrencyComponent implements OnInit, OnDestroy {
|
|
|
32
34
|
currencyISOCode: string;
|
|
33
35
|
currencyOptions: Object;
|
|
34
36
|
fieldControl: FormControl<number | null>;
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
37
|
+
currencySymbol: string;
|
|
38
|
+
thousandSeparator: string;
|
|
39
|
+
decimalSeparator: string;
|
|
40
|
+
inputMode: any;
|
|
41
|
+
decimalPrecision: number | undefined;
|
|
42
|
+
formattedValue: string;
|
|
43
|
+
formatter: any;
|
|
38
44
|
constructor(angularPConnect: AngularPConnectService, cdRef: ChangeDetectorRef, utils: Utils);
|
|
39
45
|
ngOnInit(): void;
|
|
40
46
|
ngOnDestroy(): void;
|
|
41
47
|
onStateChange(): void;
|
|
42
48
|
checkAndUpdate(): void;
|
|
43
49
|
updateSelf(): void;
|
|
44
|
-
fieldOnChange(event: any): void;
|
|
45
50
|
fieldOnBlur(event: any): void;
|
|
46
51
|
getErrorMessage(): string;
|
|
47
52
|
static ɵfac: i0.ɵɵFactoryDeclaration<CurrencyComponent, never>;
|
|
@@ -8,15 +8,20 @@ import * as i0 from "@angular/core";
|
|
|
8
8
|
interface DateProps extends PConnFieldProps {
|
|
9
9
|
}
|
|
10
10
|
declare class MyFormat {
|
|
11
|
-
theDateFormat:
|
|
11
|
+
theDateFormat: {
|
|
12
|
+
dateFormatString: string;
|
|
13
|
+
dateFormatStringLong: string;
|
|
14
|
+
dateFormatStringLC: string;
|
|
15
|
+
dateFormatMask: string;
|
|
16
|
+
};
|
|
12
17
|
get display(): {
|
|
13
|
-
dateInput:
|
|
18
|
+
dateInput: string;
|
|
14
19
|
monthYearLabel: string;
|
|
15
20
|
dateA11yLabel: string;
|
|
16
21
|
monthYearA11yLabel: string;
|
|
17
22
|
};
|
|
18
23
|
get parse(): {
|
|
19
|
-
dateInput:
|
|
24
|
+
dateInput: string;
|
|
20
25
|
};
|
|
21
26
|
}
|
|
22
27
|
export declare class DateComponent implements OnInit, OnDestroy {
|
|
@@ -48,7 +53,15 @@ export declare class DateComponent implements OnInit, OnDestroy {
|
|
|
48
53
|
dateFormatStringLC: string;
|
|
49
54
|
dateFormatMask: string;
|
|
50
55
|
};
|
|
51
|
-
theDateFormat:
|
|
56
|
+
theDateFormat: {
|
|
57
|
+
dateFormatString: string;
|
|
58
|
+
dateFormatStringLong: string;
|
|
59
|
+
dateFormatStringLC: string;
|
|
60
|
+
dateFormatMask: string;
|
|
61
|
+
};
|
|
62
|
+
actionsApi: Object;
|
|
63
|
+
propName: string;
|
|
64
|
+
formattedValue$: any;
|
|
52
65
|
constructor(angularPConnect: AngularPConnectService, cdRef: ChangeDetectorRef, utils: Utils, config: MyFormat);
|
|
53
66
|
ngOnInit(): void;
|
|
54
67
|
ngOnDestroy(): void;
|
|
@@ -56,10 +69,8 @@ export declare class DateComponent implements OnInit, OnDestroy {
|
|
|
56
69
|
checkAndUpdate(): void;
|
|
57
70
|
updateSelf(): void;
|
|
58
71
|
fieldOnDateChange(event: any): void;
|
|
59
|
-
fieldOnBlur(event: any): void;
|
|
60
72
|
hasErrors(): boolean;
|
|
61
73
|
getErrorMessage(): string;
|
|
62
|
-
getFormattedValue(): string;
|
|
63
74
|
static ɵfac: i0.ɵɵFactoryDeclaration<DateComponent, never>;
|
|
64
75
|
static ɵcmp: i0.ɵɵComponentDeclaration<DateComponent, "app-date", never, { "pConn$": { "alias": "pConn$"; "required": false; }; "formGroup$": { "alias": "formGroup$"; "required": false; }; }, {}, never, never, true, never>;
|
|
65
76
|
}
|
|
@@ -38,16 +38,23 @@ export declare class DateTimeComponent implements OnInit, OnDestroy {
|
|
|
38
38
|
dateFormatStringLC: string;
|
|
39
39
|
dateFormatMask: string;
|
|
40
40
|
};
|
|
41
|
-
theDateFormat:
|
|
41
|
+
theDateFormat: {
|
|
42
|
+
dateFormatString: string;
|
|
43
|
+
dateFormatStringLong: string;
|
|
44
|
+
dateFormatStringLC: string;
|
|
45
|
+
dateFormatMask: string;
|
|
46
|
+
};
|
|
42
47
|
placeholder: string;
|
|
48
|
+
actionsApi: Object;
|
|
49
|
+
propName: string;
|
|
50
|
+
formattedValue$: any;
|
|
43
51
|
constructor(angularPConnect: AngularPConnectService, cdRef: ChangeDetectorRef, utils: Utils);
|
|
44
52
|
ngOnInit(): void;
|
|
45
53
|
ngOnDestroy(): void;
|
|
46
54
|
onStateChange(): void;
|
|
47
55
|
checkAndUpdate(): void;
|
|
48
56
|
updateSelf(): void;
|
|
49
|
-
|
|
50
|
-
fieldOnBlur(event: any): void;
|
|
57
|
+
fieldOnDateChange(event: any): void;
|
|
51
58
|
getErrorMessage(): string;
|
|
52
59
|
static ɵfac: i0.ɵɵFactoryDeclaration<DateTimeComponent, never>;
|
|
53
60
|
static ɵcmp: i0.ɵɵComponentDeclaration<DateTimeComponent, "app-date-time", never, { "pConn$": { "alias": "pConn$"; "required": false; }; "formGroup$": { "alias": "formGroup$"; "required": false; }; }, {}, never, never, true, never>;
|
|
@@ -9,6 +9,7 @@ interface DecimalProps extends PConnFieldProps {
|
|
|
9
9
|
currencyISOCode?: string;
|
|
10
10
|
decimalPrecision?: number;
|
|
11
11
|
showGroupSeparators?: string;
|
|
12
|
+
formatter?: string;
|
|
12
13
|
}
|
|
13
14
|
export declare class DecimalComponent implements OnInit, OnDestroy {
|
|
14
15
|
private angularPConnect;
|
|
@@ -19,7 +20,7 @@ export declare class DecimalComponent implements OnInit, OnDestroy {
|
|
|
19
20
|
angularPConnectData: AngularPConnectData;
|
|
20
21
|
configProps$: DecimalProps;
|
|
21
22
|
label$: string;
|
|
22
|
-
value$:
|
|
23
|
+
value$: any;
|
|
23
24
|
bRequired$: boolean;
|
|
24
25
|
bReadonly$: boolean;
|
|
25
26
|
bDisabled$: boolean;
|
|
@@ -32,6 +33,13 @@ export declare class DecimalComponent implements OnInit, OnDestroy {
|
|
|
32
33
|
helperText: string;
|
|
33
34
|
placeholder: string;
|
|
34
35
|
fieldControl: FormControl<number | null>;
|
|
36
|
+
decimalSeparator: string;
|
|
37
|
+
thousandSeparator: string;
|
|
38
|
+
currencySymbol: string;
|
|
39
|
+
decimalPrecision: number | undefined;
|
|
40
|
+
formatter: any;
|
|
41
|
+
formattedValue: any;
|
|
42
|
+
inputMode: any;
|
|
35
43
|
constructor(angularPConnect: AngularPConnectService, cdRef: ChangeDetectorRef, utils: Utils);
|
|
36
44
|
ngOnInit(): void;
|
|
37
45
|
ngOnDestroy(): void;
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import { OnInit, ChangeDetectorRef, OnDestroy } from '@angular/core';
|
|
3
3
|
import { FormControl, FormGroup } from '@angular/forms';
|
|
4
4
|
import { AngularPConnectData, AngularPConnectService } from '../../../_bridge/angular-pconnect';
|
|
5
|
+
import { DatapageService } from '../../../_services/datapage.service';
|
|
5
6
|
import { Utils } from '../../../_helpers/utils';
|
|
6
7
|
import { PConnFieldProps } from '../../../_types/PConnProps.interface';
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
@@ -13,11 +14,17 @@ interface DropdownProps extends PConnFieldProps {
|
|
|
13
14
|
datasource?: any[];
|
|
14
15
|
onRecordChange?: any;
|
|
15
16
|
fieldMetadata?: any;
|
|
17
|
+
listType?: string;
|
|
18
|
+
columns?: any[];
|
|
19
|
+
deferDatasource?: boolean;
|
|
20
|
+
datasourceMetadata?: any;
|
|
21
|
+
parameters?: any;
|
|
16
22
|
}
|
|
17
23
|
export declare class DropdownComponent implements OnInit, OnDestroy {
|
|
18
24
|
private angularPConnect;
|
|
19
25
|
private cdRef;
|
|
20
26
|
private utils;
|
|
27
|
+
private dataPageService;
|
|
21
28
|
pConn$: typeof PConnect;
|
|
22
29
|
formGroup$: FormGroup;
|
|
23
30
|
angularPConnectData: AngularPConnectData;
|
|
@@ -36,6 +43,7 @@ export declare class DropdownComponent implements OnInit, OnDestroy {
|
|
|
36
43
|
testId: string;
|
|
37
44
|
helperText: string;
|
|
38
45
|
hideLabel: any;
|
|
46
|
+
theDatasource: any[] | null;
|
|
39
47
|
fieldControl: FormControl<string | null>;
|
|
40
48
|
fieldMetadata: any[];
|
|
41
49
|
localeContext: string;
|
|
@@ -43,15 +51,18 @@ export declare class DropdownComponent implements OnInit, OnDestroy {
|
|
|
43
51
|
localeName: string;
|
|
44
52
|
localePath: string;
|
|
45
53
|
localizedValue: string;
|
|
46
|
-
|
|
54
|
+
actionsApi: Object;
|
|
55
|
+
propName: string;
|
|
56
|
+
constructor(angularPConnect: AngularPConnectService, cdRef: ChangeDetectorRef, utils: Utils, dataPageService: DatapageService);
|
|
47
57
|
ngOnInit(): void;
|
|
48
58
|
ngOnDestroy(): void;
|
|
49
59
|
onStateChange(): void;
|
|
50
60
|
checkAndUpdate(): void;
|
|
51
61
|
updateSelf(): void;
|
|
62
|
+
getDatapageData(): void;
|
|
63
|
+
getData(dataSource: any, parameters: any, columns: any, context: any, listType: any): void;
|
|
52
64
|
isSelected(buttonValue: string): boolean;
|
|
53
65
|
fieldOnChange(event: any): void;
|
|
54
|
-
fieldOnBlur(event: any): void;
|
|
55
66
|
getLocalizedOptionValue(opt: IOption): string;
|
|
56
67
|
getErrorMessage(): string;
|
|
57
68
|
static ɵfac: i0.ɵɵFactoryDeclaration<DropdownComponent, never>;
|
|
@@ -29,6 +29,8 @@ export declare class EmailComponent implements OnInit, OnDestroy {
|
|
|
29
29
|
helperText: string;
|
|
30
30
|
placeholder: string;
|
|
31
31
|
fieldControl: FormControl<string | null>;
|
|
32
|
+
actionsApi: Object;
|
|
33
|
+
propName: string;
|
|
32
34
|
constructor(angularPConnect: AngularPConnectService, cdRef: ChangeDetectorRef, utils: Utils);
|
|
33
35
|
ngOnInit(): void;
|
|
34
36
|
ngOnDestroy(): void;
|
|
@@ -29,13 +29,15 @@ export declare class IntegerComponent implements OnInit, OnDestroy {
|
|
|
29
29
|
helperText: string;
|
|
30
30
|
placeholder: string;
|
|
31
31
|
fieldControl: FormControl<number | null>;
|
|
32
|
+
actionsApi: Object;
|
|
33
|
+
propName: string;
|
|
32
34
|
constructor(angularPConnect: AngularPConnectService, cdRef: ChangeDetectorRef, utils: Utils);
|
|
33
35
|
ngOnInit(): void;
|
|
34
36
|
ngOnDestroy(): void;
|
|
35
37
|
onStateChange(): void;
|
|
36
38
|
checkAndUpdate(): void;
|
|
37
39
|
updateSelf(): void;
|
|
38
|
-
fieldOnChange(
|
|
40
|
+
fieldOnChange(): void;
|
|
39
41
|
fieldOnBlur(event: any): void;
|
|
40
42
|
getErrorMessage(): string;
|
|
41
43
|
static ɵfac: i0.ɵɵFactoryDeclaration<IntegerComponent, never>;
|
package/lib/_components/field/list-view-action-buttons/list-view-action-buttons.component.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ export declare class ListViewActionButtonsComponent {
|
|
|
5
5
|
pConn$: typeof PConnect;
|
|
6
6
|
context$: string;
|
|
7
7
|
closeActionsDialog: EventEmitter<any>;
|
|
8
|
-
localizedVal: (localeKey: string, localePath?: string | undefined, localeRuleKey?: string | undefined) => string;
|
|
8
|
+
localizedVal: (localeKey: string, localePath?: string | undefined, localeRuleKey?: string | undefined, componentName?: string | null | undefined) => string;
|
|
9
9
|
localeCategory: string;
|
|
10
10
|
isDisabled: boolean;
|
|
11
11
|
onCancel(): void;
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/// <reference types="pcore-pconnect-typedefs" />
|
|
2
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
3
|
+
import { FormControl, 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
|
+
export declare class MultiselectComponent implements OnInit, OnDestroy {
|
|
8
|
+
private angularPConnect;
|
|
9
|
+
private utils;
|
|
10
|
+
pConn$: typeof PConnect;
|
|
11
|
+
formGroup$: FormGroup;
|
|
12
|
+
angularPConnectData: AngularPConnectData;
|
|
13
|
+
label$: string;
|
|
14
|
+
value$: string;
|
|
15
|
+
bRequired$: boolean;
|
|
16
|
+
bDisabled$: boolean;
|
|
17
|
+
bVisible$: boolean;
|
|
18
|
+
controlName$: string;
|
|
19
|
+
bHasForm$: boolean;
|
|
20
|
+
listType: string;
|
|
21
|
+
placeholder: string;
|
|
22
|
+
fieldControl: FormControl<string | null>;
|
|
23
|
+
parameters: {};
|
|
24
|
+
hideLabel: boolean;
|
|
25
|
+
configProps$: any;
|
|
26
|
+
referenceList: any;
|
|
27
|
+
selectionKey: string;
|
|
28
|
+
primaryField: string;
|
|
29
|
+
initialCaseClass: any;
|
|
30
|
+
showSecondaryInSearchOnly: boolean;
|
|
31
|
+
isGroupData: boolean;
|
|
32
|
+
referenceType: any;
|
|
33
|
+
secondaryFields: any;
|
|
34
|
+
groupDataSource: never[];
|
|
35
|
+
matchPosition: string;
|
|
36
|
+
maxResultsDisplay: any;
|
|
37
|
+
groupColumnsConfig: {}[];
|
|
38
|
+
selectionList: any;
|
|
39
|
+
listActions: any;
|
|
40
|
+
selectedItems: any[];
|
|
41
|
+
itemsTreeBaseData: never[];
|
|
42
|
+
displayFieldMeta: any;
|
|
43
|
+
dataApiObj: any;
|
|
44
|
+
itemsTree: any[];
|
|
45
|
+
trigger: any;
|
|
46
|
+
actionsApi: Object;
|
|
47
|
+
propName: string;
|
|
48
|
+
constructor(angularPConnect: AngularPConnectService, utils: Utils);
|
|
49
|
+
ngOnInit(): void;
|
|
50
|
+
ngOnDestroy(): void;
|
|
51
|
+
onStateChange(): void;
|
|
52
|
+
checkAndUpdate(): void;
|
|
53
|
+
updateSelf(): void;
|
|
54
|
+
setPropertyValuesFromProps(): void;
|
|
55
|
+
getCaseListBasedOnParams(searchText: any, group: any, selectedRows: any, currentItemsTree: any, isTriggeredFromSearch?: boolean): void;
|
|
56
|
+
fieldOnChange(event: Event): void;
|
|
57
|
+
optionChanged(event: any): void;
|
|
58
|
+
optionClicked: (event: Event, data: any) => void;
|
|
59
|
+
toggleSelection: (data: any) => void;
|
|
60
|
+
removeChip: (data: any) => void;
|
|
61
|
+
setSelectedItemsForReferenceList(data: any): void;
|
|
62
|
+
getErrorMessage(): string;
|
|
63
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MultiselectComponent, never>;
|
|
64
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MultiselectComponent, "app-multiselect", never, { "pConn$": { "alias": "pConn$"; "required": false; }; "formGroup$": { "alias": "formGroup$"; "required": false; }; }, {}, never, never, true, never>;
|
|
65
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare function setVisibilityForList(c11nEnv: any, visibility: any): void;
|
|
2
|
+
declare function preProcessColumns(columns: any): any;
|
|
3
|
+
declare function getDisplayFieldsMetaData(columns: any): any;
|
|
4
|
+
declare function doSearch(searchText: any, clickedGroup: any, initialCaseClass: any, displayFieldMeta: any, dataApiObj: any, // deep clone of the dataApiObj
|
|
5
|
+
itemsTree: any, isGroupData: any, showSecondaryInSearchOnly: any, selected: any): Promise<any>;
|
|
6
|
+
declare function setValuesToPropertyList(searchText: any, assocProp: any, items: any, columns: any, actions: any, updatePropertyInRedux?: boolean): any;
|
|
7
|
+
declare function getGroupDataForItemsTree(groupDataSource: any, groupsDisplayFieldMeta: any, showSecondaryInSearchOnly: any): any;
|
|
8
|
+
export { preProcessColumns, getDisplayFieldsMetaData, doSearch, setValuesToPropertyList, getGroupDataForItemsTree };
|
|
@@ -6,6 +6,9 @@ import { Utils } from '../../../_helpers/utils';
|
|
|
6
6
|
import { PConnFieldProps } from '../../../_types/PConnProps.interface';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
interface PercentageProps extends PConnFieldProps {
|
|
9
|
+
showGroupSeparators?: string;
|
|
10
|
+
decimalPrecision?: number;
|
|
11
|
+
currencyISOCode?: string;
|
|
9
12
|
}
|
|
10
13
|
export declare class PercentageComponent implements OnInit, OnDestroy {
|
|
11
14
|
private angularPConnect;
|
|
@@ -28,14 +31,21 @@ export declare class PercentageComponent implements OnInit, OnDestroy {
|
|
|
28
31
|
testId: string;
|
|
29
32
|
helperText: string;
|
|
30
33
|
placeholder: string;
|
|
34
|
+
decimalSeparator: string;
|
|
35
|
+
thousandSeparator: string;
|
|
36
|
+
inputMode: any;
|
|
37
|
+
decimalPrecision: number | undefined;
|
|
31
38
|
fieldControl: FormControl<number | null>;
|
|
39
|
+
actionsApi: Object;
|
|
40
|
+
propName: string;
|
|
41
|
+
formattedValue: string;
|
|
32
42
|
constructor(angularPConnect: AngularPConnectService, cdRef: ChangeDetectorRef, utils: Utils);
|
|
33
43
|
ngOnInit(): void;
|
|
34
44
|
ngOnDestroy(): void;
|
|
35
45
|
onStateChange(): void;
|
|
36
46
|
checkAndUpdate(): void;
|
|
37
47
|
updateSelf(): void;
|
|
38
|
-
fieldOnChange(
|
|
48
|
+
fieldOnChange(): void;
|
|
39
49
|
fieldOnBlur(event: any): void;
|
|
40
50
|
getErrorMessage(): string;
|
|
41
51
|
static ɵfac: i0.ɵɵFactoryDeclaration<PercentageComponent, never>;
|
|
@@ -33,14 +33,16 @@ export declare class PhoneComponent implements OnInit, OnDestroy {
|
|
|
33
33
|
phoneForm: FormGroup<{
|
|
34
34
|
phone: FormControl<string | null>;
|
|
35
35
|
}>;
|
|
36
|
+
actionsApi: Object;
|
|
37
|
+
propName: string;
|
|
36
38
|
constructor(angularPConnect: AngularPConnectService, cdRef: ChangeDetectorRef, utils: Utils);
|
|
37
39
|
ngOnInit(): void;
|
|
38
40
|
ngOnDestroy(): void;
|
|
39
41
|
onStateChange(): void;
|
|
40
42
|
checkAndUpdate(): void;
|
|
41
43
|
updateSelf(): void;
|
|
44
|
+
fieldOnBlur(): void;
|
|
42
45
|
fieldOnChange(): void;
|
|
43
|
-
fieldOnBlur(event: any): void;
|
|
44
46
|
getErrorMessage(): string;
|
|
45
47
|
static ɵfac: i0.ɵɵFactoryDeclaration<PhoneComponent, never>;
|
|
46
48
|
static ɵcmp: i0.ɵɵComponentDeclaration<PhoneComponent, "app-phone", never, { "pConn$": { "alias": "pConn$"; "required": false; }; "formGroup$": { "alias": "formGroup$"; "required": false; }; }, {}, never, never, true, never>;
|
|
@@ -43,6 +43,8 @@ export declare class RadioButtonsComponent implements OnInit, OnDestroy {
|
|
|
43
43
|
localeName: string;
|
|
44
44
|
localePath: string;
|
|
45
45
|
localizedValue: string;
|
|
46
|
+
actionsApi: Object;
|
|
47
|
+
propName: string;
|
|
46
48
|
constructor(angularPConnect: AngularPConnectService, cdRef: ChangeDetectorRef, utils: Utils);
|
|
47
49
|
ngOnInit(): void;
|
|
48
50
|
ngOnDestroy(): void;
|
|
@@ -51,7 +53,6 @@ export declare class RadioButtonsComponent implements OnInit, OnDestroy {
|
|
|
51
53
|
updateSelf(): void;
|
|
52
54
|
isSelected(buttonValue: string): boolean;
|
|
53
55
|
fieldOnChange(event: any): void;
|
|
54
|
-
fieldOnBlur(event: any): void;
|
|
55
56
|
getLocalizedOptionValue(opt: IOption): string;
|
|
56
57
|
getErrorMessage(): string;
|
|
57
58
|
static ɵfac: i0.ɵɵFactoryDeclaration<RadioButtonsComponent, never>;
|
|
@@ -28,6 +28,8 @@ export declare class RichTextComponent implements OnInit, OnDestroy {
|
|
|
28
28
|
info: any;
|
|
29
29
|
error: boolean;
|
|
30
30
|
status: any;
|
|
31
|
+
actionsApi: Object;
|
|
32
|
+
propName: string;
|
|
31
33
|
constructor(angularPConnect: AngularPConnectService, utils: Utils);
|
|
32
34
|
ngOnInit(): void;
|
|
33
35
|
ngOnDestroy(): void;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/// <reference types="pcore-pconnect-typedefs" />
|
|
2
2
|
import { OnInit, OnDestroy } from '@angular/core';
|
|
3
|
+
import { FormGroup } from '@angular/forms';
|
|
3
4
|
import { AngularPConnectData, AngularPConnectService } from '../../../_bridge/angular-pconnect';
|
|
4
5
|
import { Utils } from '../../../_helpers/utils';
|
|
5
6
|
import { PConnFieldProps } from '../../../_types/PConnProps.interface';
|
|
@@ -10,6 +11,7 @@ export declare class TextComponent implements OnInit, OnDestroy {
|
|
|
10
11
|
private angularPConnect;
|
|
11
12
|
private utils;
|
|
12
13
|
pConn$: typeof PConnect;
|
|
14
|
+
formGroup$: FormGroup;
|
|
13
15
|
formatAs$: string;
|
|
14
16
|
angularPConnectData: AngularPConnectData;
|
|
15
17
|
configProps$: TextProps;
|
|
@@ -35,6 +37,6 @@ export declare class TextComponent implements OnInit, OnDestroy {
|
|
|
35
37
|
generateDate(sVal: any): string;
|
|
36
38
|
generateDateTime(sVal: any): string;
|
|
37
39
|
static ɵfac: i0.ɵɵFactoryDeclaration<TextComponent, never>;
|
|
38
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TextComponent, "app-text", never, { "pConn$": { "alias": "pConn$"; "required": false; }; "formatAs$": { "alias": "formatAs$"; "required": false; }; }, {}, never, never, true, never>;
|
|
40
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TextComponent, "app-text", never, { "pConn$": { "alias": "pConn$"; "required": false; }; "formGroup$": { "alias": "formGroup$"; "required": false; }; "formatAs$": { "alias": "formatAs$"; "required": false; }; }, {}, never, never, true, never>;
|
|
39
41
|
}
|
|
40
42
|
export {};
|
|
@@ -30,13 +30,15 @@ export declare class TextAreaComponent implements OnInit, OnDestroy {
|
|
|
30
30
|
testId: string;
|
|
31
31
|
helperText: string;
|
|
32
32
|
fieldControl: FormControl<string | null>;
|
|
33
|
+
actionsApi: Object;
|
|
34
|
+
propName: string;
|
|
33
35
|
constructor(angularPConnect: AngularPConnectService, cdRef: ChangeDetectorRef, utils: Utils);
|
|
34
36
|
ngOnInit(): void;
|
|
35
37
|
ngOnDestroy(): void;
|
|
36
38
|
onStateChange(): void;
|
|
37
39
|
checkAndUpdate(): void;
|
|
38
40
|
updateSelf(): void;
|
|
39
|
-
fieldOnChange(
|
|
41
|
+
fieldOnChange(): void;
|
|
40
42
|
fieldOnBlur(event: any): void;
|
|
41
43
|
getErrorMessage(): string;
|
|
42
44
|
static ɵfac: i0.ɵɵFactoryDeclaration<TextAreaComponent, never>;
|
|
@@ -30,13 +30,15 @@ export declare class TextInputComponent implements OnInit, OnDestroy {
|
|
|
30
30
|
helperText: string;
|
|
31
31
|
placeholder: string;
|
|
32
32
|
fieldControl: FormControl<string | null>;
|
|
33
|
+
actionsApi: Object;
|
|
34
|
+
propName: string;
|
|
33
35
|
constructor(angularPConnect: AngularPConnectService, cdRef: ChangeDetectorRef, utils: Utils);
|
|
34
36
|
ngOnInit(): void;
|
|
35
37
|
ngOnDestroy(): void;
|
|
36
38
|
onStateChange(): void;
|
|
37
39
|
checkAndUpdate(): void;
|
|
38
40
|
updateSelf(): void;
|
|
39
|
-
fieldOnChange(
|
|
41
|
+
fieldOnChange(): void;
|
|
40
42
|
fieldOnBlur(event: any): void;
|
|
41
43
|
getErrorMessage(): string;
|
|
42
44
|
static ɵfac: i0.ɵɵFactoryDeclaration<TextInputComponent, never>;
|
|
@@ -23,18 +23,22 @@ export declare class TimeComponent implements OnInit, OnDestroy {
|
|
|
23
23
|
bVisible$: boolean;
|
|
24
24
|
displayMode$?: string;
|
|
25
25
|
controlName$: string;
|
|
26
|
+
testId: string;
|
|
26
27
|
bHasForm$: boolean;
|
|
27
28
|
componentReference: string;
|
|
28
29
|
helperText: string;
|
|
29
30
|
placeholder: string;
|
|
30
31
|
fieldControl: FormControl<string | null>;
|
|
32
|
+
actionsApi: Object;
|
|
33
|
+
propName: string;
|
|
34
|
+
formattedValue$: any;
|
|
31
35
|
constructor(angularPConnect: AngularPConnectService, cdRef: ChangeDetectorRef, utils: Utils);
|
|
32
36
|
ngOnInit(): void;
|
|
33
37
|
ngOnDestroy(): void;
|
|
34
38
|
onStateChange(): void;
|
|
35
39
|
checkAndUpdate(): void;
|
|
36
40
|
updateSelf(): void;
|
|
37
|
-
fieldOnChange(
|
|
41
|
+
fieldOnChange(): void;
|
|
38
42
|
fieldOnBlur(event: any): void;
|
|
39
43
|
getErrorMessage(): string;
|
|
40
44
|
static ɵfac: i0.ɵɵFactoryDeclaration<TimeComponent, never>;
|
|
@@ -23,18 +23,21 @@ export declare class UrlComponent implements OnInit, OnDestroy {
|
|
|
23
23
|
bVisible$: boolean;
|
|
24
24
|
displayMode$?: string;
|
|
25
25
|
controlName$: string;
|
|
26
|
+
testId: string;
|
|
26
27
|
bHasForm$: boolean;
|
|
27
28
|
componentReference: string;
|
|
28
29
|
helperText: string;
|
|
29
30
|
placeholder: string;
|
|
30
31
|
fieldControl: FormControl<string | null>;
|
|
32
|
+
actionsApi: Object;
|
|
33
|
+
propName: string;
|
|
31
34
|
constructor(angularPConnect: AngularPConnectService, cdRef: ChangeDetectorRef, utils: Utils);
|
|
32
35
|
ngOnInit(): void;
|
|
33
36
|
ngOnDestroy(): void;
|
|
34
37
|
onStateChange(): void;
|
|
35
38
|
checkAndUpdate(): void;
|
|
36
39
|
updateSelf(): void;
|
|
37
|
-
fieldOnChange(
|
|
40
|
+
fieldOnChange(): void;
|
|
38
41
|
fieldOnBlur(event: any): void;
|
|
39
42
|
getErrorMessage(): string;
|
|
40
43
|
static ɵfac: i0.ɵɵFactoryDeclaration<UrlComponent, never>;
|