@hmcts/ccd-case-ui-toolkit 7.1.68 → 7.1.69-event-trigger-reset-cache-1
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/shared/components/case-viewer/case-event-trigger/case-event-trigger.component.mjs +10 -5
- package/esm2022/lib/shared/components/case-viewer/services/event-trigger.resolver.mjs +4 -1
- package/esm2022/lib/shared/components/palette/collection/write-collection-field.component.mjs +9 -9
- package/esm2022/lib/shared/components/palette/palette.module.mjs +2 -2
- package/fesm2022/hmcts-ccd-case-ui-toolkit.mjs +19 -13
- package/fesm2022/hmcts-ccd-case-ui-toolkit.mjs.map +1 -1
- package/lib/shared/components/case-viewer/case-event-trigger/case-event-trigger.component.d.ts +3 -1
- package/lib/shared/components/case-viewer/case-event-trigger/case-event-trigger.component.d.ts.map +1 -1
- package/lib/shared/components/case-viewer/services/event-trigger.resolver.d.ts +1 -0
- package/lib/shared/components/case-viewer/services/event-trigger.resolver.d.ts.map +1 -1
- package/package.json +1 -1
package/lib/shared/components/case-viewer/case-event-trigger/case-event-trigger.component.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ import { Activity, CaseEventData, CaseEventTrigger, CaseView, DisplayMode } from
|
|
|
5
5
|
import { CaseReferencePipe } from '../../../pipes';
|
|
6
6
|
import { ActivityPollingService, AlertService, LoadingService, SessionStorageService } from '../../../services';
|
|
7
7
|
import { CaseNotifier, CasesService } from '../../case-editor';
|
|
8
|
+
import { EventTriggerResolver } from '../services';
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
9
10
|
export declare class CaseEventTriggerComponent implements OnInit, OnDestroy {
|
|
10
11
|
private readonly ngZone;
|
|
@@ -17,6 +18,7 @@ export declare class CaseEventTriggerComponent implements OnInit, OnDestroy {
|
|
|
17
18
|
private readonly activityPollingService;
|
|
18
19
|
private readonly sessionStorageService;
|
|
19
20
|
private readonly loadingService;
|
|
21
|
+
private eventTriggerResolver;
|
|
20
22
|
static readonly EVENT_COMPLETION_MESSAGE = "Case #%CASEREFERENCE% has been updated with event: %NAME%";
|
|
21
23
|
static readonly CALLBACK_FAILED_MESSAGE = " but the callback service cannot be completed";
|
|
22
24
|
BANNER: DisplayMode;
|
|
@@ -26,7 +28,7 @@ export declare class CaseEventTriggerComponent implements OnInit, OnDestroy {
|
|
|
26
28
|
caseSubscription: Subscription;
|
|
27
29
|
parentUrl: string;
|
|
28
30
|
routerCurrentNavigation: Navigation;
|
|
29
|
-
constructor(ngZone: NgZone, casesService: CasesService, caseNotifier: CaseNotifier, router: Router, alertService: AlertService, route: ActivatedRoute, caseReferencePipe: CaseReferencePipe, activityPollingService: ActivityPollingService, sessionStorageService: SessionStorageService, loadingService: LoadingService);
|
|
31
|
+
constructor(ngZone: NgZone, casesService: CasesService, caseNotifier: CaseNotifier, router: Router, alertService: AlertService, route: ActivatedRoute, caseReferencePipe: CaseReferencePipe, activityPollingService: ActivityPollingService, sessionStorageService: SessionStorageService, loadingService: LoadingService, eventTriggerResolver: EventTriggerResolver);
|
|
30
32
|
ngOnInit(): void;
|
|
31
33
|
ngOnDestroy(): void;
|
|
32
34
|
postEditActivity(): Observable<Activity[]>;
|
package/lib/shared/components/case-viewer/case-event-trigger/case-event-trigger.component.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"case-event-trigger.component.d.ts","sourceRoot":"","sources":["../../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/components/case-viewer/case-event-trigger/case-event-trigger.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACrE,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACrE,OAAO,EAAE,UAAU,EAAE,YAAY,EAAM,MAAM,MAAM,CAAC;AAEpD,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,gBAAgB,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AACnG,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,EAAE,sBAAsB,EAAE,YAAY,EAAmC,cAAc,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AACjJ,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC
|
|
1
|
+
{"version":3,"file":"case-event-trigger.component.d.ts","sourceRoot":"","sources":["../../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/components/case-viewer/case-event-trigger/case-event-trigger.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACrE,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACrE,OAAO,EAAE,UAAU,EAAE,YAAY,EAAM,MAAM,MAAM,CAAC;AAEpD,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,gBAAgB,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AACnG,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,EAAE,sBAAsB,EAAE,YAAY,EAAmC,cAAc,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AACjJ,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAC/D,OAAO,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;;AAEnD,qBAIa,yBAA0B,YAAW,MAAM,EAAE,SAAS;IAa/D,OAAO,CAAC,QAAQ,CAAC,MAAM;IACvB,OAAO,CAAC,QAAQ,CAAC,YAAY;IAC7B,OAAO,CAAC,QAAQ,CAAC,YAAY;IAC7B,OAAO,CAAC,QAAQ,CAAC,MAAM;IACvB,OAAO,CAAC,QAAQ,CAAC,YAAY;IAC7B,OAAO,CAAC,QAAQ,CAA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@@ export declare class EventTriggerResolver implements Resolve<CaseEventTrigger> {
|
|
|
26
26
|
constructor(casesService: CasesService, alertService: AlertService, profileService: ProfileService, profileNotifier: ProfileNotifier, router: Router, appConfig: AbstractAppConfig, errorNotifier: ErrorNotifierService, loadingService: LoadingService);
|
|
27
27
|
resolve(route: ActivatedRouteSnapshot): Promise<CaseEventTrigger>;
|
|
28
28
|
private isRootTriggerEventRoute;
|
|
29
|
+
resetCachedEventTrigger(): void;
|
|
29
30
|
private getAndCacheEventTrigger;
|
|
30
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<EventTriggerResolver, never>;
|
|
31
32
|
static ɵprov: i0.ɵɵInjectableDeclaration<EventTriggerResolver>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"event-trigger.resolver.d.ts","sourceRoot":"","sources":["../../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/components/case-viewer/services/event-trigger.resolver.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAG1E,OAAO,EAAE,gBAAgB,EAAE,MAAM,oDAAoD,CAAC;AAEtF,OAAO,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AACrE,OAAO,EAAE,eAAe,EAAE,MAAM,4CAA4C,CAAC;AAC7E,OAAO,EAAE,cAAc,EAAE,MAAM,2CAA2C,CAAC;AAC3E,OAAO,EAAE,YAAY,EAAE,MAAM,0CAA0C,CAAC;AACxE,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EAAE,oBAAoB,EAAE,MAAM,gDAAgD,CAAC;AACtF,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;;AAEnD,qBACa,oBAAqB,YAAW,OAAO,CAAC,gBAAgB,CAAC;IAQlE,OAAO,CAAC,QAAQ,CAAC,YAAY;IAC7B,OAAO,CAAC,QAAQ,CAAC,YAAY;IAC7B,OAAO,CAAC,QAAQ,CAAC,cAAc;IAC/B,OAAO,CAAC,QAAQ,CAAC,eAAe;IAChC,OAAO,CAAC,MAAM;IACd,OAAO,CAAC,SAAS;IACjB,OAAO,CAAC,aAAa;IACrB,OAAO,CAAC,QAAQ,CAAC,cAAc;IAdjC,gBAAuB,aAAa,SAAS;IAC7C,gBAAuB,cAAc,SAAS;IAC9C,gBAAuB,cAAc,mBAAmB;IACxD,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,qBAAqB,CAAuB;IACpE,OAAO,CAAC,kBAAkB,CAAmB;IAC7C,OAAO,CAAC,aAAa,CAAU;gBAEZ,YAAY,EAAE,YAAY,EAC1B,YAAY,EAAE,YAAY,EAC1B,cAAc,EAAE,cAAc,EAC9B,eAAe,EAAE,eAAe,EACzC,MAAM,EAAE,MAAM,EACd,SAAS,EAAE,iBAAiB,EAC5B,aAAa,EAAE,oBAAoB,EAC1B,cAAc,EAAE,cAAc;IAG1C,OAAO,CAAC,KAAK,EAAE,sBAAsB,GAAG,OAAO,CAAC,gBAAgB,CAAC;IAUxE,OAAO,CAAC,uBAAuB;
|
|
1
|
+
{"version":3,"file":"event-trigger.resolver.d.ts","sourceRoot":"","sources":["../../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/components/case-viewer/services/event-trigger.resolver.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAG1E,OAAO,EAAE,gBAAgB,EAAE,MAAM,oDAAoD,CAAC;AAEtF,OAAO,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AACrE,OAAO,EAAE,eAAe,EAAE,MAAM,4CAA4C,CAAC;AAC7E,OAAO,EAAE,cAAc,EAAE,MAAM,2CAA2C,CAAC;AAC3E,OAAO,EAAE,YAAY,EAAE,MAAM,0CAA0C,CAAC;AACxE,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EA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