@pega/angular-sdk-components 0.23.10 → 0.23.12
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/_components/infra/assignment-card/assignment-card.component.mjs +31 -12
- package/esm2022/lib/_components/template/default-form/default-form.component.mjs +2 -2
- package/esm2022/lib/_components/template/simple-table-manual/helpers.mjs +7 -6
- package/esm2022/lib/_services/idle-detection.service.mjs +26 -0
- package/esm2022/public-api.mjs +2 -1
- package/fesm2022/pega-angular-sdk-components.mjs +84 -44
- package/fesm2022/pega-angular-sdk-components.mjs.map +1 -1
- package/lib/_components/infra/assignment-card/assignment-card.component.d.ts +10 -2
- package/lib/_components/template/simple-table-manual/helpers.d.ts +1 -0
- package/lib/_services/idle-detection.service.d.ts +9 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
/// <reference types="pcore-pconnect-typedefs" />
|
|
2
|
-
import { OnInit, EventEmitter, OnChanges } from '@angular/core';
|
|
2
|
+
import { OnInit, EventEmitter, OnChanges, OnDestroy } from '@angular/core';
|
|
3
3
|
import { FormGroup } from '@angular/forms';
|
|
4
|
+
import { IdleDetectionService } from '../../../_services/idle-detection.service';
|
|
5
|
+
import { ServerConfigService } from '../../../_services/server-config.service';
|
|
4
6
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class AssignmentCardComponent implements OnInit, OnChanges {
|
|
7
|
+
export declare class AssignmentCardComponent implements OnInit, OnChanges, OnDestroy {
|
|
8
|
+
private idleService;
|
|
9
|
+
private scservice;
|
|
6
10
|
pConn$: typeof PConnect;
|
|
7
11
|
formGroup$: FormGroup;
|
|
8
12
|
arMainButtons$: any[];
|
|
@@ -10,9 +14,13 @@ export declare class AssignmentCardComponent implements OnInit, OnChanges {
|
|
|
10
14
|
arChildren$: any[];
|
|
11
15
|
updateToken$: number;
|
|
12
16
|
actionButtonClick: EventEmitter<any>;
|
|
17
|
+
constructor(idleService: IdleDetectionService, scservice: ServerConfigService);
|
|
13
18
|
ngOnInit(): void;
|
|
14
19
|
ngOnChanges(): void;
|
|
20
|
+
ngOnDestroy(): void;
|
|
21
|
+
checkAndEnableAutoSave(): Promise<void>;
|
|
15
22
|
onActionButtonClick(oData: any): void;
|
|
23
|
+
autoSave(): void;
|
|
16
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<AssignmentCardComponent, never>;
|
|
17
25
|
static ɵcmp: i0.ɵɵComponentDeclaration<AssignmentCardComponent, "app-assignment-card", never, { "pConn$": { "alias": "pConn$"; "required": false; }; "formGroup$": { "alias": "formGroup$"; "required": false; }; "arMainButtons$": { "alias": "arMainButtons$"; "required": false; }; "arSecondaryButtons$": { "alias": "arSecondaryButtons$"; "required": false; }; "arChildren$": { "alias": "arChildren$"; "required": false; }; "updateToken$": { "alias": "updateToken$"; "required": false; }; }, { "actionButtonClick": "actionButtonClick"; }, never, never, true, never>;
|
|
18
26
|
}
|
|
@@ -4,6 +4,7 @@ export declare const getContext: (thePConn: any) => {
|
|
|
4
4
|
contextName: any;
|
|
5
5
|
referenceListStr: any;
|
|
6
6
|
pageReferenceForRows: any;
|
|
7
|
+
viewName: any;
|
|
7
8
|
};
|
|
8
9
|
export declare const populateRowKey: (rawData: any) => any;
|
|
9
10
|
export declare const getApiContext: (processedData: any, pConnect: any, reorderCB: any) => {
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class IdleDetectionService {
|
|
3
|
+
private activityEvents$;
|
|
4
|
+
private idleSubscription;
|
|
5
|
+
startWatching(idleCallback: () => void, idleTimeout?: number): void;
|
|
6
|
+
stopWatching(): void;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IdleDetectionService, never>;
|
|
8
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<IdleDetectionService>;
|
|
9
|
+
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -110,6 +110,7 @@ export * from './lib/_directives/thousand-seperator.directive';
|
|
|
110
110
|
export * from './lib/_services/server-config.service';
|
|
111
111
|
export * from './lib/_services/case.service';
|
|
112
112
|
export * from './lib/_services/datapage.service';
|
|
113
|
+
export * from './lib/_services/idle-detection.service';
|
|
113
114
|
export * from './lib/_services/endpoints';
|
|
114
115
|
export * from './lib/_helpers/case-utils';
|
|
115
116
|
export * from './lib/_helpers/currency-utils';
|