@pega/angular-sdk-components 0.242.3 → 0.242.5

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.
Files changed (57) hide show
  1. package/esm2022/lib/_bridge/component-mapper/component-mapper.component.mjs +3 -10
  2. package/esm2022/lib/_components/designSystemExtension/material-case-summary/material-case-summary.component.mjs +3 -3
  3. package/esm2022/lib/_components/field/currency/currency.component.mjs +14 -12
  4. package/esm2022/lib/_components/field/date-time/date-time.component.mjs +3 -3
  5. package/esm2022/lib/_components/field/decimal/decimal.component.mjs +16 -14
  6. package/esm2022/lib/_components/field/dropdown/dropdown.component.mjs +116 -14
  7. package/esm2022/lib/_components/field/percentage/percentage.component.mjs +16 -11
  8. package/esm2022/lib/_components/field/time/time.component.mjs +2 -2
  9. package/esm2022/lib/_components/infra/view/view.component.mjs +6 -4
  10. package/esm2022/lib/_components/template/base/details-template-base.mjs +56 -0
  11. package/esm2022/lib/_components/template/base/form-template-base.mjs +13 -0
  12. package/esm2022/lib/_components/template/case-view/case-view.component.mjs +9 -14
  13. package/esm2022/lib/_components/template/default-form/default-form.component.mjs +5 -19
  14. package/esm2022/lib/_components/template/details/details.component.mjs +9 -36
  15. package/esm2022/lib/_components/template/details-narrow-wide/details-narrow-wide.component.mjs +9 -36
  16. package/esm2022/lib/_components/template/details-one-column/details-one-column.component.mjs +9 -38
  17. package/esm2022/lib/_components/template/details-sub-tabs/details-sub-tabs.component.mjs +12 -39
  18. package/esm2022/lib/_components/template/details-three-column/details-three-column.component.mjs +9 -38
  19. package/esm2022/lib/_components/template/details-two-column/details-two-column.component.mjs +9 -38
  20. package/esm2022/lib/_components/template/details-wide-narrow/details-wide-narrow.component.mjs +9 -38
  21. package/esm2022/lib/_components/template/dynamic-tabs/dynamic-tabs.component.mjs +5 -4
  22. package/esm2022/lib/_components/template/field-value-list/field-value-list.component.mjs +3 -3
  23. package/esm2022/lib/_components/template/list-view/list-view.component.mjs +19 -4
  24. package/esm2022/lib/_components/template/one-column/one-column.component.mjs +3 -3
  25. package/esm2022/lib/_components/template/simple-table-manual/simple-table-manual.component.mjs +3 -3
  26. package/esm2022/lib/_components/template/three-column/three-column.component.mjs +3 -3
  27. package/esm2022/lib/_components/template/two-column/two-column.component.mjs +3 -3
  28. package/esm2022/lib/_components/template/wide-narrow-form/wide-narrow-form.component.mjs +3 -3
  29. package/esm2022/public-api.mjs +3 -2
  30. package/fesm2022/pega-angular-sdk-components.mjs +376 -419
  31. package/fesm2022/pega-angular-sdk-components.mjs.map +1 -1
  32. package/lib/_components/field/currency/currency.component.d.ts +3 -3
  33. package/lib/_components/field/decimal/decimal.component.d.ts +3 -3
  34. package/lib/_components/field/dropdown/dropdown.component.d.ts +11 -1
  35. package/lib/_components/field/percentage/percentage.component.d.ts +2 -2
  36. package/lib/_components/infra/view/view.component.d.ts +1 -0
  37. package/lib/_components/template/base/details-template-base.d.ts +22 -0
  38. package/lib/_components/template/base/form-template-base.d.ts +8 -0
  39. package/lib/_components/template/case-view/case-view.component.d.ts +1 -2
  40. package/lib/_components/template/default-form/default-form.component.d.ts +2 -6
  41. package/lib/_components/template/details/details.component.d.ts +3 -11
  42. package/lib/_components/template/details-narrow-wide/details-narrow-wide.component.d.ts +3 -11
  43. package/lib/_components/template/details-one-column/details-one-column.component.d.ts +3 -13
  44. package/lib/_components/template/details-sub-tabs/details-sub-tabs.component.d.ts +3 -13
  45. package/lib/_components/template/details-three-column/details-three-column.component.d.ts +3 -13
  46. package/lib/_components/template/details-two-column/details-two-column.component.d.ts +3 -13
  47. package/lib/_components/template/details-wide-narrow/details-wide-narrow.component.d.ts +3 -13
  48. package/lib/_components/template/dynamic-tabs/dynamic-tabs.component.d.ts +1 -0
  49. package/lib/_components/template/list-view/list-view.component.d.ts +5 -0
  50. package/lib/_components/template/one-column/one-column.component.d.ts +2 -2
  51. package/lib/_components/template/three-column/three-column.component.d.ts +2 -2
  52. package/lib/_components/template/two-column/two-column.component.d.ts +2 -2
  53. package/lib/_components/template/wide-narrow-form/wide-narrow-form.component.d.ts +2 -2
  54. package/package.json +1 -1
  55. package/public-api.d.ts +2 -1
  56. package/esm2022/lib/_components/template/form-template-base/form-template-base.component.mjs +0 -13
  57. package/lib/_components/template/form-template-base/form-template-base.component.d.ts +0 -8
@@ -34,9 +34,9 @@ export declare class CurrencyComponent implements OnInit, OnDestroy {
34
34
  currencyISOCode: string;
35
35
  currencyOptions: Object;
36
36
  fieldControl: FormControl<number | null>;
37
- currSym: string;
38
- currSep: string;
39
- currDec: string;
37
+ currencySymbol: string;
38
+ thousandSeparator: string;
39
+ decimalSeparator: string;
40
40
  inputMode: any;
41
41
  decimalPrecision: number | undefined;
42
42
  formattedValue: string;
@@ -33,9 +33,9 @@ export declare class DecimalComponent implements OnInit, OnDestroy {
33
33
  helperText: string;
34
34
  placeholder: string;
35
35
  fieldControl: FormControl<number | null>;
36
- currDec: string;
37
- currSep: string;
38
- currSym: string;
36
+ decimalSeparator: string;
37
+ thousandSeparator: string;
38
+ currencySymbol: string;
39
39
  decimalPrecision: number | undefined;
40
40
  formatter: any;
41
41
  formattedValue: any;
@@ -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;
@@ -45,12 +53,14 @@ export declare class DropdownComponent implements OnInit, OnDestroy {
45
53
  localizedValue: string;
46
54
  actionsApi: Object;
47
55
  propName: string;
48
- constructor(angularPConnect: AngularPConnectService, cdRef: ChangeDetectorRef, utils: Utils);
56
+ constructor(angularPConnect: AngularPConnectService, cdRef: ChangeDetectorRef, utils: Utils, dataPageService: DatapageService);
49
57
  ngOnInit(): void;
50
58
  ngOnDestroy(): void;
51
59
  onStateChange(): void;
52
60
  checkAndUpdate(): void;
53
61
  updateSelf(): void;
62
+ getDatapageData(): void;
63
+ getData(dataSource: any, parameters: any, columns: any, context: any, listType: any): void;
54
64
  isSelected(buttonValue: string): boolean;
55
65
  fieldOnChange(event: any): void;
56
66
  getLocalizedOptionValue(opt: IOption): string;
@@ -31,8 +31,8 @@ export declare class PercentageComponent implements OnInit, OnDestroy {
31
31
  testId: string;
32
32
  helperText: string;
33
33
  placeholder: string;
34
- currDec: string;
35
- currSep: string;
34
+ decimalSeparator: string;
35
+ thousandSeparator: string;
36
36
  inputMode: any;
37
37
  decimalPrecision: number | undefined;
38
38
  fieldControl: FormControl<number | null>;
@@ -18,6 +18,7 @@ export declare class ViewComponent implements OnInit, OnDestroy, OnChanges {
18
18
  formGroup$: FormGroup;
19
19
  displayOnlyFA$: boolean;
20
20
  angularPConnectData: AngularPConnectData;
21
+ noHeaderTemplates: string[];
21
22
  configProps$: ViewProps;
22
23
  inheritedProps$: any;
23
24
  arChildren$: any[];
@@ -0,0 +1,22 @@
1
+ /// <reference types="pcore-pconnect-typedefs" />
2
+ import { OnInit, OnDestroy, Injector } from '@angular/core';
3
+ import { AngularPConnectData } from '../../../_bridge/angular-pconnect';
4
+ import * as i0 from "@angular/core";
5
+ export declare class DetailsTemplateBase implements OnInit, OnDestroy {
6
+ pConn$: typeof PConnect;
7
+ protected angularPConnectData: AngularPConnectData;
8
+ protected angularPConnect: any;
9
+ childrenMetadataOld: any;
10
+ constructor(injector: Injector);
11
+ ngOnInit(): void;
12
+ ngOnDestroy(): void;
13
+ onStateChange(): void;
14
+ checkAndUpdate(): void;
15
+ updateSelf(): void;
16
+ hasRawMetadataChanged(): boolean;
17
+ fetchChildrenMetadata(): {
18
+ [key: string]: any;
19
+ }[];
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<DetailsTemplateBase, never>;
21
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DetailsTemplateBase, never, never, { "pConn$": { "alias": "pConn$"; "required": false; }; }, {}, never, never, false, never>;
22
+ }
@@ -0,0 +1,8 @@
1
+ import { OnDestroy } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class FormTemplateBase implements OnDestroy {
4
+ pConn$: any;
5
+ ngOnDestroy(): void;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormTemplateBase, never>;
7
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FormTemplateBase, never, never, {}, {}, never, never, false, never>;
8
+ }
@@ -15,7 +15,6 @@ export declare class CaseViewComponent implements OnInit, OnDestroy {
15
15
  private utils;
16
16
  pConn$: typeof PConnect;
17
17
  formGroup$: FormGroup;
18
- displayOnlyFA$: boolean;
19
18
  angularPConnectData: AngularPConnectData;
20
19
  configProps$: CaseViewProps;
21
20
  arChildren$: any[];
@@ -51,6 +50,6 @@ export declare class CaseViewComponent implements OnInit, OnDestroy {
51
50
  _menuActionClick(data: any): void;
52
51
  _menuProcessClick(data: any): void;
53
52
  static ɵfac: i0.ɵɵFactoryDeclaration<CaseViewComponent, never>;
54
- static ɵcmp: i0.ɵɵComponentDeclaration<CaseViewComponent, "app-case-view", never, { "pConn$": { "alias": "pConn$"; "required": false; }; "formGroup$": { "alias": "formGroup$"; "required": false; }; "displayOnlyFA$": { "alias": "displayOnlyFA$"; "required": false; }; }, {}, never, never, true, never>;
53
+ static ɵcmp: i0.ɵɵComponentDeclaration<CaseViewComponent, "app-case-view", never, { "pConn$": { "alias": "pConn$"; "required": false; }; "formGroup$": { "alias": "formGroup$"; "required": false; }; }, {}, never, never, true, never>;
55
54
  }
56
55
  export {};
@@ -2,19 +2,15 @@
2
2
  import { OnInit } from '@angular/core';
3
3
  import { FormGroup } from '@angular/forms';
4
4
  import { TemplateUtils } from '../../../_helpers/template-utils';
5
- import { FormTemplateBaseComponent } from '../form-template-base/form-template-base.component';
5
+ import { FormTemplateBase } from '../base/form-template-base';
6
6
  import * as i0 from "@angular/core";
7
- export declare class DefaultFormComponent extends FormTemplateBaseComponent implements OnInit {
7
+ export declare class DefaultFormComponent extends FormTemplateBase implements OnInit {
8
8
  private templateUtils;
9
9
  pConn$: typeof PConnect;
10
10
  formGroup$: FormGroup;
11
11
  arChildren$: any[];
12
12
  divClass$: string;
13
- template: any;
14
- showLabel: any;
15
- label: any;
16
13
  instructions: string;
17
- NO_HEADER_TEMPLATES: string[];
18
14
  constructor(templateUtils: TemplateUtils);
19
15
  ngOnInit(): void;
20
16
  static ɵfac: i0.ɵɵFactoryDeclaration<DefaultFormComponent, never>;
@@ -1,20 +1,12 @@
1
1
  /// <reference types="pcore-pconnect-typedefs" />
2
- import { OnInit, OnDestroy } from '@angular/core';
3
- import { AngularPConnectData, AngularPConnectService } from '../../../_bridge/angular-pconnect';
2
+ import { DetailsTemplateBase } from '../base/details-template-base';
4
3
  import * as i0 from "@angular/core";
5
- export declare class DetailsComponent implements OnInit, OnDestroy {
6
- private angularPConnect;
7
- constructor(angularPConnect: AngularPConnectService);
4
+ export declare class DetailsComponent extends DetailsTemplateBase {
8
5
  pConn$: typeof PConnect;
9
6
  highlightedDataArr: any[];
10
7
  showHighlightedData: boolean;
11
8
  arFields$: any[];
12
- angularPConnectData: AngularPConnectData;
13
- ngOnInit(): void;
14
- ngOnDestroy(): void;
15
- onStateChange(): void;
16
- checkAndUpdate(): void;
17
9
  updateSelf(): void;
18
10
  static ɵfac: i0.ɵɵFactoryDeclaration<DetailsComponent, never>;
19
- static ɵcmp: i0.ɵɵComponentDeclaration<DetailsComponent, "app-details", never, { "pConn$": { "alias": "pConn$"; "required": false; }; }, {}, never, never, true, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<DetailsComponent, "app-details", never, {}, {}, never, never, true, never>;
20
12
  }
@@ -1,21 +1,13 @@
1
1
  /// <reference types="pcore-pconnect-typedefs" />
2
- import { OnInit, OnDestroy } from '@angular/core';
3
- import { AngularPConnectData, AngularPConnectService } from '../../../_bridge/angular-pconnect';
2
+ import { DetailsTemplateBase } from '../base/details-template-base';
4
3
  import * as i0 from "@angular/core";
5
- export declare class DetailsNarrowWideComponent implements OnInit, OnDestroy {
6
- private angularPConnect;
7
- constructor(angularPConnect: AngularPConnectService);
4
+ export declare class DetailsNarrowWideComponent extends DetailsTemplateBase {
8
5
  pConn$: typeof PConnect;
9
6
  arFields$: any[];
10
7
  arFields2$: any[];
11
8
  highlightedDataArr: any[];
12
9
  showHighlightedData: boolean;
13
- angularPConnectData: AngularPConnectData;
14
- ngOnInit(): void;
15
- ngOnDestroy(): void;
16
- onStateChange(): void;
17
- checkAndUpdate(): void;
18
10
  updateSelf(): void;
19
11
  static ɵfac: i0.ɵɵFactoryDeclaration<DetailsNarrowWideComponent, never>;
20
- static ɵcmp: i0.ɵɵComponentDeclaration<DetailsNarrowWideComponent, "app-details-narrow-wide", never, { "pConn$": { "alias": "pConn$"; "required": false; }; }, {}, never, never, true, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<DetailsNarrowWideComponent, "app-details-narrow-wide", never, {}, {}, never, never, true, never>;
21
13
  }
@@ -1,22 +1,12 @@
1
1
  /// <reference types="pcore-pconnect-typedefs" />
2
- import { OnInit, OnDestroy } from '@angular/core';
3
- import { AngularPConnectData, AngularPConnectService } from '../../../_bridge/angular-pconnect';
4
- import { FormGroup } from '@angular/forms';
2
+ import { DetailsTemplateBase } from '../base/details-template-base';
5
3
  import * as i0 from "@angular/core";
6
- export declare class DetailsOneColumnComponent implements OnInit, OnDestroy {
7
- private angularPConnect;
8
- constructor(angularPConnect: AngularPConnectService);
4
+ export declare class DetailsOneColumnComponent extends DetailsTemplateBase {
9
5
  pConn$: typeof PConnect;
10
- formGroup$: FormGroup;
11
6
  showHighlightedData: boolean;
12
7
  highlightedDataArr: any;
13
8
  arFields$: any[];
14
- angularPConnectData: AngularPConnectData;
15
- ngOnInit(): void;
16
- ngOnDestroy(): void;
17
- onStateChange(): void;
18
- checkAndUpdate(): void;
19
9
  updateSelf(): void;
20
10
  static ɵfac: i0.ɵɵFactoryDeclaration<DetailsOneColumnComponent, never>;
21
- static ɵcmp: i0.ɵɵComponentDeclaration<DetailsOneColumnComponent, "app-details-one-column", never, { "pConn$": { "alias": "pConn$"; "required": false; }; "formGroup$": { "alias": "formGroup$"; "required": false; }; }, {}, never, never, true, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<DetailsOneColumnComponent, "app-details-one-column", never, {}, {}, never, never, true, never>;
22
12
  }
@@ -1,24 +1,14 @@
1
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';
2
+ import { DetailsTemplateBase } from '../base/details-template-base';
5
3
  import * as i0 from "@angular/core";
6
- export declare class DetailsSubTabsComponent implements OnInit, OnDestroy {
7
- private angularPConnect;
4
+ export declare class DetailsSubTabsComponent extends DetailsTemplateBase {
8
5
  pConn$: typeof PConnect;
9
- formGroup$: FormGroup;
10
- angularPConnectData: AngularPConnectData;
11
6
  currentTabId: string;
12
7
  tabItems: any[];
13
8
  availableTabs: any[];
14
- constructor(angularPConnect: AngularPConnectService);
15
- ngOnInit(): void;
16
- ngOnDestroy(): void;
17
- onStateChange(): void;
18
- checkAndUpdate(): void;
19
9
  updateSelf(): void;
20
10
  updateTabContent(): void;
21
11
  handleTabClick(event: any): void;
22
12
  static ɵfac: i0.ɵɵFactoryDeclaration<DetailsSubTabsComponent, never>;
23
- static ɵcmp: i0.ɵɵComponentDeclaration<DetailsSubTabsComponent, "app-details-sub-tabs", never, { "pConn$": { "alias": "pConn$"; "required": false; }; "formGroup$": { "alias": "formGroup$"; "required": false; }; }, {}, never, never, true, never>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<DetailsSubTabsComponent, "app-details-sub-tabs", never, {}, {}, never, never, true, never>;
24
14
  }
@@ -1,25 +1,15 @@
1
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';
2
+ import { DetailsTemplateBase } from '../base/details-template-base';
5
3
  import * as i0 from "@angular/core";
6
- export declare class DetailsThreeColumnComponent implements OnInit, OnDestroy {
7
- private angularPConnect;
8
- constructor(angularPConnect: AngularPConnectService);
4
+ export declare class DetailsThreeColumnComponent extends DetailsTemplateBase {
9
5
  pConn$: typeof PConnect;
10
- formGroup$: FormGroup;
11
6
  showHighlightedData: boolean;
12
7
  highlightedDataArr: any;
13
8
  arFields$: any[];
14
9
  arFields2$: any[];
15
10
  arFields3$: any[];
16
11
  propsToUse: any;
17
- angularPConnectData: AngularPConnectData;
18
- ngOnInit(): void;
19
- ngOnDestroy(): void;
20
- onStateChange(): void;
21
- checkAndUpdate(): void;
22
12
  updateSelf(): void;
23
13
  static ɵfac: i0.ɵɵFactoryDeclaration<DetailsThreeColumnComponent, never>;
24
- static ɵcmp: i0.ɵɵComponentDeclaration<DetailsThreeColumnComponent, "app-details-three-column", never, { "pConn$": { "alias": "pConn$"; "required": false; }; "formGroup$": { "alias": "formGroup$"; "required": false; }; }, {}, never, never, true, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<DetailsThreeColumnComponent, "app-details-three-column", never, {}, {}, never, never, true, never>;
25
15
  }
@@ -1,25 +1,15 @@
1
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';
2
+ import { DetailsTemplateBase } from '../base/details-template-base';
5
3
  import * as i0 from "@angular/core";
6
- export declare class DetailsTwoColumnComponent implements OnInit, OnDestroy {
7
- private angularPConnect;
8
- constructor(angularPConnect: AngularPConnectService);
4
+ export declare class DetailsTwoColumnComponent extends DetailsTemplateBase {
9
5
  pConn$: typeof PConnect;
10
- formGroup$: FormGroup;
11
6
  showHighlightedData: boolean;
12
7
  highlightedDataArr: any;
13
8
  arFields$: any[];
14
9
  arFields2$: any[];
15
10
  arFields3$: any[];
16
11
  propsToUse: any;
17
- angularPConnectData: AngularPConnectData;
18
- ngOnInit(): void;
19
- ngOnDestroy(): void;
20
- onStateChange(): void;
21
- checkAndUpdate(): void;
22
12
  updateSelf(): void;
23
13
  static ɵfac: i0.ɵɵFactoryDeclaration<DetailsTwoColumnComponent, never>;
24
- static ɵcmp: i0.ɵɵComponentDeclaration<DetailsTwoColumnComponent, "app-details-two-column", never, { "pConn$": { "alias": "pConn$"; "required": false; }; "formGroup$": { "alias": "formGroup$"; "required": false; }; }, {}, never, never, true, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<DetailsTwoColumnComponent, "app-details-two-column", never, {}, {}, never, never, true, never>;
25
15
  }
@@ -1,24 +1,14 @@
1
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';
2
+ import { DetailsTemplateBase } from '../base/details-template-base';
5
3
  import * as i0 from "@angular/core";
6
- export declare class DetailsWideNarrowComponent implements OnInit, OnDestroy {
7
- private angularPConnect;
8
- constructor(angularPConnect: AngularPConnectService);
4
+ export declare class DetailsWideNarrowComponent extends DetailsTemplateBase {
9
5
  pConn$: typeof PConnect;
10
- formGroup$: FormGroup;
11
6
  highlightedDataArr: any[];
12
7
  showHighlightedData: boolean;
13
8
  arFields$: any[];
14
9
  arFields2$: any[];
15
10
  propsToUse: any;
16
- angularPConnectData: AngularPConnectData;
17
- ngOnInit(): void;
18
- ngOnDestroy(): void;
19
- onStateChange(): void;
20
- checkAndUpdate(): void;
21
11
  updateSelf(): void;
22
12
  static ɵfac: i0.ɵɵFactoryDeclaration<DetailsWideNarrowComponent, never>;
23
- static ɵcmp: i0.ɵɵComponentDeclaration<DetailsWideNarrowComponent, "app-details-wide-narrow", never, { "pConn$": { "alias": "pConn$"; "required": false; }; "formGroup$": { "alias": "formGroup$"; "required": false; }; }, {}, never, never, true, never>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<DetailsWideNarrowComponent, "app-details-wide-narrow", never, {}, {}, never, never, true, never>;
24
14
  }
@@ -9,6 +9,7 @@ export declare class DynamicTabsComponent implements OnInit, OnDestroy {
9
9
  formGroup$: FormGroup;
10
10
  angularPConnectData: AngularPConnectData;
11
11
  tabsItems: any[];
12
+ propsToUse: any;
12
13
  constructor(angularPConnect: AngularPConnectService);
13
14
  ngOnInit(): void;
14
15
  ngOnDestroy(): void;
@@ -8,6 +8,8 @@ import { ProgressSpinnerService } from '../../../_messages/progress-spinner.serv
8
8
  import { Utils } from '../../../_helpers/utils';
9
9
  import * as i0 from "@angular/core";
10
10
  interface ListViewProps {
11
+ inheritedProps: any;
12
+ title: string | undefined;
11
13
  globalSearch?: boolean;
12
14
  referenceList?: any;
13
15
  rowClickAction?: any;
@@ -20,6 +22,7 @@ interface ListViewProps {
20
22
  grouping: string | boolean;
21
23
  value: any;
22
24
  readonlyContextList: any;
25
+ label?: string;
23
26
  }
24
27
  export declare class Group {
25
28
  level: number;
@@ -92,6 +95,7 @@ export declare class ListViewComponent implements OnInit, OnDestroy {
92
95
  xRayApis: import("@pega/pcore-pconnect-typedefs/debug/xray-runtime").default;
93
96
  xRayUid: string | null;
94
97
  checkBoxValue: string;
98
+ label?: string;
95
99
  constructor(psService: ProgressSpinnerService, utils: Utils);
96
100
  ngOnInit(): void;
97
101
  getFieldFromFilter(filter: any, dateRange?: boolean): any;
@@ -152,6 +156,7 @@ export declare class ListViewComponent implements OnInit, OnDestroy {
152
156
  initializeColumns(fields?: never[]): any[];
153
157
  getHeaderCells(colFields: any, fields: any): any;
154
158
  buildSelect(fieldDefs: any, colId: any, patchQueryFields?: never[], compositeKeys?: never[]): any;
159
+ getResultsText(): string;
155
160
  getField(fieldDefs: any, columnId: any): any;
156
161
  getFieldsMap(fieldDefs: any): Map<any, any>;
157
162
  addItemKeyInSelect(fieldDefs: any, itemKey: any, select: any, compositeKeys: any): any;
@@ -1,9 +1,9 @@
1
1
  /// <reference types="pcore-pconnect-typedefs" />
2
2
  import { OnInit, OnChanges, SimpleChanges } from '@angular/core';
3
3
  import { FormGroup } from '@angular/forms';
4
- import { FormTemplateBaseComponent } from '../form-template-base/form-template-base.component';
4
+ import { FormTemplateBase } from '../base/form-template-base';
5
5
  import * as i0 from "@angular/core";
6
- export declare class OneColumnComponent extends FormTemplateBaseComponent implements OnInit, OnChanges {
6
+ export declare class OneColumnComponent extends FormTemplateBase implements OnInit, OnChanges {
7
7
  pConn$: typeof PConnect;
8
8
  formGroup$: FormGroup;
9
9
  arChildren$: any[];
@@ -1,9 +1,9 @@
1
1
  /// <reference types="pcore-pconnect-typedefs" />
2
2
  import { OnInit, OnChanges, SimpleChanges } from '@angular/core';
3
3
  import { FormGroup } from '@angular/forms';
4
- import { FormTemplateBaseComponent } from '../form-template-base/form-template-base.component';
4
+ import { FormTemplateBase } from '../base/form-template-base';
5
5
  import * as i0 from "@angular/core";
6
- export declare class ThreeColumnComponent extends FormTemplateBaseComponent implements OnInit, OnChanges {
6
+ export declare class ThreeColumnComponent extends FormTemplateBase implements OnInit, OnChanges {
7
7
  pConn$: typeof PConnect;
8
8
  formGroup$: FormGroup;
9
9
  arChildren$: any[];
@@ -1,9 +1,9 @@
1
1
  /// <reference types="pcore-pconnect-typedefs" />
2
2
  import { OnInit, SimpleChanges, OnChanges } from '@angular/core';
3
3
  import { FormGroup } from '@angular/forms';
4
- import { FormTemplateBaseComponent } from '../form-template-base/form-template-base.component';
4
+ import { FormTemplateBase } from '../base/form-template-base';
5
5
  import * as i0 from "@angular/core";
6
- export declare class TwoColumnComponent extends FormTemplateBaseComponent implements OnInit, OnChanges {
6
+ export declare class TwoColumnComponent extends FormTemplateBase implements OnInit, OnChanges {
7
7
  pConn$: typeof PConnect;
8
8
  formGroup$: FormGroup;
9
9
  arChildren$: any[];
@@ -1,9 +1,9 @@
1
1
  /// <reference types="pcore-pconnect-typedefs" />
2
2
  import { OnInit, OnChanges, SimpleChanges } from '@angular/core';
3
3
  import { FormGroup } from '@angular/forms';
4
- import { FormTemplateBaseComponent } from '../form-template-base/form-template-base.component';
4
+ import { FormTemplateBase } from '../base/form-template-base';
5
5
  import * as i0 from "@angular/core";
6
- export declare class WideNarrowFormComponent extends FormTemplateBaseComponent implements OnInit, OnChanges {
6
+ export declare class WideNarrowFormComponent extends FormTemplateBase implements OnInit, OnChanges {
7
7
  pConn$: typeof PConnect;
8
8
  formGroup$: FormGroup;
9
9
  arChildren$: any[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pega/angular-sdk-components",
3
- "version": "0.242.3",
3
+ "version": "0.242.5",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^18.2.12",
6
6
  "@angular/core": "^18.2.12"
package/public-api.d.ts CHANGED
@@ -43,6 +43,8 @@ export * from './lib/_components/infra/root-container/root-container.component';
43
43
  export * from './lib/_components/infra/stages/stages.component';
44
44
  export * from './lib/_components/infra/view/view.component';
45
45
  export * from './lib/_components/infra/Containers/base-components/flow-container-base.component';
46
+ export * from './lib/_components/template/base/form-template-base';
47
+ export * from './lib/_components/template/base/details-template-base';
46
48
  export * from './lib/_components/template/app-shell/app-shell.component';
47
49
  export * from './lib/_components/template/case-summary/case-summary.component';
48
50
  export * from './lib/_components/template/case-view/case-view.component';
@@ -59,7 +61,6 @@ export * from './lib/_components/template/details-wide-narrow/details-wide-narro
59
61
  export * from './lib/_components/template/field-group-list/field-group-list.component';
60
62
  export * from './lib/_components/template/field-group-template/field-group-template.component';
61
63
  export * from './lib/_components/template/field-value-list/field-value-list.component';
62
- export * from './lib/_components/template/form-template-base/form-template-base.component';
63
64
  export * from './lib/_components/template/inline-dashboard/inline-dashboard.component';
64
65
  export * from './lib/_components/template/inline-dashboard-page/inline-dashboard-page.component';
65
66
  export * from './lib/_components/template/list-page/list-page.component';
@@ -1,13 +0,0 @@
1
- import { Directive } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export class FormTemplateBaseComponent {
4
- ngOnDestroy() {
5
- PCore.getContextTreeManager().removeContextTreeNode(this.pConn$.getContextName());
6
- }
7
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: FormTemplateBaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
8
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.12", type: FormTemplateBaseComponent, ngImport: i0 }); }
9
- }
10
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: FormTemplateBaseComponent, decorators: [{
11
- type: Directive
12
- }] });
13
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybS10ZW1wbGF0ZS1iYXNlLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2FuZ3VsYXItc2RrLWNvbXBvbmVudHMvc3JjL2xpYi9fY29tcG9uZW50cy90ZW1wbGF0ZS9mb3JtLXRlbXBsYXRlLWJhc2UvZm9ybS10ZW1wbGF0ZS1iYXNlLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFhLE1BQU0sZUFBZSxDQUFDOztBQUdyRCxNQUFNLE9BQU8seUJBQXlCO0lBR3BDLFdBQVc7UUFDVCxLQUFLLENBQUMscUJBQXFCLEVBQUUsQ0FBQyxxQkFBcUIsQ0FBQyxJQUFJLENBQUMsTUFBTSxDQUFDLGNBQWMsRUFBRSxDQUFDLENBQUM7SUFDcEYsQ0FBQzsrR0FMVSx5QkFBeUI7bUdBQXpCLHlCQUF5Qjs7NEZBQXpCLHlCQUF5QjtrQkFEckMsU0FBUyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IERpcmVjdGl2ZSwgT25EZXN0cm95IH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbkBEaXJlY3RpdmUoKVxuZXhwb3J0IGNsYXNzIEZvcm1UZW1wbGF0ZUJhc2VDb21wb25lbnQgaW1wbGVtZW50cyBPbkRlc3Ryb3kge1xuICBwQ29ubiQ6IGFueTtcblxuICBuZ09uRGVzdHJveSgpOiB2b2lkIHtcbiAgICBQQ29yZS5nZXRDb250ZXh0VHJlZU1hbmFnZXIoKS5yZW1vdmVDb250ZXh0VHJlZU5vZGUodGhpcy5wQ29ubiQuZ2V0Q29udGV4dE5hbWUoKSk7XG4gIH1cbn1cbiJdfQ==
@@ -1,8 +0,0 @@
1
- import { OnDestroy } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class FormTemplateBaseComponent implements OnDestroy {
4
- pConn$: any;
5
- ngOnDestroy(): void;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<FormTemplateBaseComponent, never>;
7
- static ɵdir: i0.ɵɵDirectiveDeclaration<FormTemplateBaseComponent, never, never, {}, {}, never, never, false, never>;
8
- }