@pega/angular-sdk-components 0.25.3 → 0.25.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.
- package/fesm2022/pega-angular-sdk-components.mjs +160 -200
- package/fesm2022/pega-angular-sdk-components.mjs.map +1 -1
- package/lib/_components/field/date-time/date-time.component.d.ts +2 -0
- package/lib/_components/field/location/location.component.d.ts +6 -30
- package/lib/_components/template/list-view/list-view.component.d.ts +7 -2
- package/package.json +1 -1
|
@@ -19,6 +19,8 @@ export declare class DateTimeComponent extends FieldBase implements OnInit, OnDe
|
|
|
19
19
|
};
|
|
20
20
|
timezone: string | undefined;
|
|
21
21
|
placeholder: string;
|
|
22
|
+
private sso;
|
|
23
|
+
scrollStrategy: import("@angular/cdk/overlay.d-BdoMy0hX").R;
|
|
22
24
|
ngOnInit(): void;
|
|
23
25
|
/**
|
|
24
26
|
* Updates the component when there are changes in the state.
|
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { FormControl, FormGroup } from '@angular/forms';
|
|
3
|
-
import { AngularPConnectData, AngularPConnectService } from '../../../_bridge/angular-pconnect';
|
|
4
|
-
import { GoogleMapsLoaderService } from '../../../_services/google-maps-loader.service';
|
|
5
|
-
import { Utils } from '../../../_helpers/utils';
|
|
1
|
+
import { FieldBase } from '../field.base';
|
|
6
2
|
import { PConnFieldProps } from '../../../_types/PConnProps.interface';
|
|
7
3
|
import * as i0 from "@angular/core";
|
|
8
4
|
interface LocationProps extends PConnFieldProps {
|
|
@@ -11,51 +7,31 @@ interface LocationProps extends PConnFieldProps {
|
|
|
11
7
|
onlyCoordinates: boolean;
|
|
12
8
|
showMapReadOnly: boolean;
|
|
13
9
|
}
|
|
14
|
-
export declare class LocationComponent
|
|
10
|
+
export declare class LocationComponent extends FieldBase {
|
|
15
11
|
private loader;
|
|
16
|
-
private angularPConnect;
|
|
17
|
-
private utils;
|
|
18
|
-
private cdRef;
|
|
19
|
-
pConn$: typeof PConnect;
|
|
20
|
-
formGroup$: FormGroup;
|
|
21
12
|
private autocompleteService;
|
|
22
13
|
private geocoder;
|
|
23
14
|
mapReady: boolean;
|
|
24
15
|
isLocating: boolean;
|
|
25
|
-
searchControl: FormControl<string | null>;
|
|
26
16
|
showMap: boolean;
|
|
27
17
|
filteredOptions: string[];
|
|
28
18
|
center: google.maps.LatLngLiteral;
|
|
29
19
|
markerPosition: google.maps.LatLngLiteral | null;
|
|
30
|
-
angularPConnectData: AngularPConnectData;
|
|
31
20
|
configProps$: LocationProps;
|
|
32
|
-
label$: string;
|
|
33
21
|
onlyCoordinates: boolean;
|
|
34
22
|
coordinates: string;
|
|
35
|
-
bRequired$: boolean;
|
|
36
|
-
bReadonly$: boolean;
|
|
37
23
|
showMapReadOnly$: boolean;
|
|
38
|
-
bDisabled$: boolean;
|
|
39
|
-
bVisible$: boolean;
|
|
40
|
-
controlName$: string;
|
|
41
|
-
bHasForm$: boolean;
|
|
42
|
-
testId: string;
|
|
43
|
-
helperText: string;
|
|
44
|
-
placeholder: string;
|
|
45
|
-
actionsApi: object;
|
|
46
24
|
valueProp: string;
|
|
47
25
|
coordinatesProp: string;
|
|
48
|
-
constructor(loader: GoogleMapsLoaderService, angularPConnect: AngularPConnectService, utils: Utils, cdRef: ChangeDetectorRef);
|
|
49
26
|
ngOnInit(): Promise<void>;
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
27
|
+
/**
|
|
28
|
+
* Updates the component when there are changes in the state.
|
|
29
|
+
*/
|
|
53
30
|
updateSelf(): void;
|
|
54
31
|
onOptionSelected(event: any): void;
|
|
55
32
|
fieldOnBlur(): void;
|
|
56
33
|
locateMe(): void;
|
|
57
34
|
onMapClick(event: google.maps.MapMouseEvent): void;
|
|
58
|
-
getErrorMessage(): string;
|
|
59
35
|
private tryGetLocation;
|
|
60
36
|
private initializeGoogleServices;
|
|
61
37
|
private getPlacePredictions;
|
|
@@ -66,6 +42,6 @@ export declare class LocationComponent implements OnInit, OnDestroy {
|
|
|
66
42
|
private setCoordinates;
|
|
67
43
|
private setLocationValue;
|
|
68
44
|
static ɵfac: i0.ɵɵFactoryDeclaration<LocationComponent, never>;
|
|
69
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LocationComponent, "app-location", never, {
|
|
45
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LocationComponent, "app-location", never, {}, {}, never, never, true, never>;
|
|
70
46
|
}
|
|
71
47
|
export {};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { OnInit, OnDestroy } from '@angular/core';
|
|
2
|
+
import { SelectionModel } from '@angular/cdk/collections';
|
|
2
3
|
import { MatPaginator } from '@angular/material/paginator';
|
|
3
4
|
import { MatSort } from '@angular/material/sort';
|
|
4
5
|
import { MatTableDataSource } from '@angular/material/table';
|
|
@@ -25,6 +26,7 @@ interface ListViewProps {
|
|
|
25
26
|
displayAs?: string;
|
|
26
27
|
showRecords: boolean;
|
|
27
28
|
viewName?: string;
|
|
29
|
+
localeReference?: any;
|
|
28
30
|
}
|
|
29
31
|
export declare class Group {
|
|
30
32
|
level: number;
|
|
@@ -42,6 +44,7 @@ export declare class ListViewComponent implements OnInit, OnDestroy {
|
|
|
42
44
|
bInForm$: boolean;
|
|
43
45
|
payload: any;
|
|
44
46
|
repeatList$: MatTableDataSource<any>;
|
|
47
|
+
selection: SelectionModel<any>;
|
|
45
48
|
fields$: any[];
|
|
46
49
|
displayedColumns$: any[];
|
|
47
50
|
groupByColumns$: string[];
|
|
@@ -119,9 +122,10 @@ export declare class ListViewComponent implements OnInit, OnDestroy {
|
|
|
119
122
|
drop(event: CdkDragDrop<string[]>): void;
|
|
120
123
|
updateFields(arFields: any[], arColumns: any, fields: any): any[];
|
|
121
124
|
applySearch(event: Event): void;
|
|
122
|
-
isChecked(rowIn: any): any;
|
|
123
125
|
fieldOnChange(row: any): void;
|
|
124
|
-
onCheckboxClick(row: any
|
|
126
|
+
onCheckboxClick(row: any): void;
|
|
127
|
+
isAllSelected(): boolean;
|
|
128
|
+
toggleAllRows(): void;
|
|
125
129
|
_getIconStyle(level: any): string;
|
|
126
130
|
_getGroupName(fieldName: any): any;
|
|
127
131
|
_showButton(name: any, row: any): boolean;
|
|
@@ -168,6 +172,7 @@ export declare class ListViewComponent implements OnInit, OnDestroy {
|
|
|
168
172
|
getField(fieldDefs: any, columnId: any): any;
|
|
169
173
|
getFieldsMap(fieldDefs: any): Map<any, any>;
|
|
170
174
|
addItemKeyInSelect(fieldDefs: any, itemKey: any, select: any, compositeKeys: any): any;
|
|
175
|
+
private getSelectedValue;
|
|
171
176
|
private updateFiltersFromData;
|
|
172
177
|
private buildFilterPayload;
|
|
173
178
|
static ɵfac: i0.ɵɵFactoryDeclaration<ListViewComponent, never>;
|