@pega/angular-sdk-components 0.242.3 → 0.242.4

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 (24) hide show
  1. package/esm2022/lib/_components/designSystemExtension/material-case-summary/material-case-summary.component.mjs +3 -3
  2. package/esm2022/lib/_components/field/currency/currency.component.mjs +14 -12
  3. package/esm2022/lib/_components/field/date-time/date-time.component.mjs +3 -3
  4. package/esm2022/lib/_components/field/decimal/decimal.component.mjs +16 -14
  5. package/esm2022/lib/_components/field/dropdown/dropdown.component.mjs +102 -14
  6. package/esm2022/lib/_components/field/percentage/percentage.component.mjs +16 -11
  7. package/esm2022/lib/_components/field/time/time.component.mjs +2 -2
  8. package/esm2022/lib/_components/infra/view/view.component.mjs +6 -4
  9. package/esm2022/lib/_components/template/default-form/default-form.component.mjs +3 -17
  10. package/esm2022/lib/_components/template/dynamic-tabs/dynamic-tabs.component.mjs +5 -4
  11. package/esm2022/lib/_components/template/field-value-list/field-value-list.component.mjs +3 -3
  12. package/esm2022/lib/_components/template/list-view/list-view.component.mjs +19 -4
  13. package/esm2022/lib/_components/template/simple-table-manual/simple-table-manual.component.mjs +3 -3
  14. package/fesm2022/pega-angular-sdk-components.mjs +183 -84
  15. package/fesm2022/pega-angular-sdk-components.mjs.map +1 -1
  16. package/lib/_components/field/currency/currency.component.d.ts +3 -3
  17. package/lib/_components/field/decimal/decimal.component.d.ts +3 -3
  18. package/lib/_components/field/dropdown/dropdown.component.d.ts +11 -1
  19. package/lib/_components/field/percentage/percentage.component.d.ts +2 -2
  20. package/lib/_components/infra/view/view.component.d.ts +1 -0
  21. package/lib/_components/template/default-form/default-form.component.d.ts +0 -4
  22. package/lib/_components/template/dynamic-tabs/dynamic-tabs.component.d.ts +1 -0
  23. package/lib/_components/template/list-view/list-view.component.d.ts +5 -0
  24. package/package.json +1 -1
@@ -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): 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[];
@@ -10,11 +10,7 @@ export declare class DefaultFormComponent extends FormTemplateBaseComponent impl
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>;
@@ -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;
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.4",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^18.2.12",
6
6
  "@angular/core": "^18.2.12"