@hmcts/ccd-case-ui-toolkit 7.0.29-task-comp-2 → 7.0.29-task-comp-3

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 (22) hide show
  1. package/esm2020/lib/shared/components/case-editor/services/work-allocation.service.mjs +5 -1
  2. package/esm2020/lib/shared/components/event-start/event-guard/event-start.guard.mjs +23 -8
  3. package/esm2020/lib/shared/components/palette/markdown/index.mjs +2 -1
  4. package/esm2020/lib/shared/components/palette/markdown/markdown-component.module.mjs +16 -7
  5. package/esm2020/lib/shared/components/palette/markdown/markdown.component.mjs +39 -20
  6. package/esm2020/lib/shared/components/palette/markdown/routerlink.component.mjs +23 -0
  7. package/fesm2015/hmcts-ccd-case-ui-toolkit.mjs +216 -148
  8. package/fesm2015/hmcts-ccd-case-ui-toolkit.mjs.map +1 -1
  9. package/fesm2020/hmcts-ccd-case-ui-toolkit.mjs +210 -148
  10. package/fesm2020/hmcts-ccd-case-ui-toolkit.mjs.map +1 -1
  11. package/lib/shared/components/case-editor/services/work-allocation.service.d.ts.map +1 -1
  12. package/lib/shared/components/event-start/event-guard/event-start.guard.d.ts +2 -0
  13. package/lib/shared/components/event-start/event-guard/event-start.guard.d.ts.map +1 -1
  14. package/lib/shared/components/palette/markdown/index.d.ts +1 -0
  15. package/lib/shared/components/palette/markdown/index.d.ts.map +1 -1
  16. package/lib/shared/components/palette/markdown/markdown-component.module.d.ts +8 -6
  17. package/lib/shared/components/palette/markdown/markdown-component.module.d.ts.map +1 -1
  18. package/lib/shared/components/palette/markdown/markdown.component.d.ts +8 -3
  19. package/lib/shared/components/palette/markdown/markdown.component.d.ts.map +1 -1
  20. package/lib/shared/components/palette/markdown/routerlink.component.d.ts +7 -0
  21. package/lib/shared/components/palette/markdown/routerlink.component.d.ts.map +1 -0
  22. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"work-allocation.service.d.ts","sourceRoot":"","sources":["../../../../../../../projects/ccd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AAE,MAAM,GAAG,UAAU,CAAC,GAAG,CAAC;IAuB7D;;;OAGG;IACI,yBAAyB,CAAC,QAAQ,EAAE,GAAG,GAAG,IAAI;IASrD;;;OAGG;IACI,gBAAgB,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,OAAO;IAOjD;;;;;;;;;OASG;IACI,uBAAuB,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,UAAU,CAAC,GAAG,CAAC;IA+BzH;;OAEG;IACI,0BAA0B,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,GAAG,UAAU,CAAC,WAAW,CAAC;IAWpI;;OAEG;IACI,OAAO,CAAC,MAAM,EAAE,MAAM,GAAG,UAAU,CAAC,WAAW,CAAC;yCApN3C,qBAAqB;6CAArB,qBAAqB;CA0NjC"}
1
+ {"version":3,"file":"work-allocation.service.d.ts","sourceRoot":"","sources":["../../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/components/case-editor/services/work-allocation.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAkB,MAAM,MAAM,CAAC;AAElD,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EAAE,mBAAmB,EAAmB,MAAM,iBAAiB,CAAC;AAEvE,OAAO,EAAE,WAAW,EAAE,MAAM,qDAAqD,CAAC;AAClF,OAAO,EAAE,WAAW,EAAE,MAAM,6CAA6C,CAAC;AAC1E,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,WAAW,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;;AAEvG,eAAO,MAAM,oBAAoB,8BAA8B,CAAC;AAEhE,qBACa,qBAAqB;IAO9B,OAAO,CAAC,QAAQ,CAAC,IAAI;IACrB,OAAO,CAAC,QAAQ,CAAC,SA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,UAAU,CAAC,WAAW,CAAC;yCAxN3C,qBAAqB;6CAArB,qBAAqB;CA8NjC"}
@@ -8,9 +8,11 @@ export declare class EventStartGuard implements CanActivate {
8
8
  private readonly workAllocationService;
9
9
  private readonly router;
10
10
  private readonly sessionStorageService;
11
+ static TASK_TO_COMPLETE: string;
11
12
  constructor(workAllocationService: WorkAllocationService, router: Router, sessionStorageService: SessionStorageService);
12
13
  canActivate(route: ActivatedRouteSnapshot): Observable<boolean>;
13
14
  checkTaskInEventNotRequired(payload: TaskPayload, caseId: string, taskId: string): boolean;
15
+ private removeTaskFromSessionStorage;
14
16
  private checkForTasks;
15
17
  static ɵfac: i0.ɵɵFactoryDeclaration<EventStartGuard, never>;
16
18
  static ɵprov: i0.ɵɵInjectableDeclaration<EventStartGuard>;
@@ -1 +1 @@
1
- {"version":3,"file":"event-start.guard.d.ts","sourceRoot":"","sources":["../../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/components/event-start/event-guard/event-start.guard.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAC9E,OAAO,EAAE,UAAU,EAAM,MAAM,MAAM,CAAC;AAEtC,OAAO,EAAE,WAAW,EAAE,MAAM,6CAA6C,CAAC;AAC1E,OAAO,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AAC1D,OAAO,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;;AAE1D,qBACa,eAAgB,YAAW,WAAW;IACrC,OAAO,CAAC,QAAQ,CAAC,qBAAqB;IAChD,OAAO,CAAC,QAAQ,CAAC,MAAM;IACvB,OAAO,CAAC,QAAQ,CAAC,qBAAqB;gBAFX,qBAAqB,EAAE,qBAAqB,EACtD,MAAM,EAAE,MAAM,EACd,qBAAqB,EAAE,qBAAqB;IAGxD,WAAW,CAAC,KAAK,EAAE,sBAAsB,GAAG,UAAU,CAAC,OAAO,CAAC;IAiB/D,2BAA2B,CAAC,OAAO,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO;IAwCjG,OAAO,CAAC,aAAa;yCA/DV,eAAe;6CAAf,eAAe;CAmF3B"}
1
+ {"version":3,"file":"event-start.guard.d.ts","sourceRoot":"","sources":["../../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/components/event-start/event-guard/event-start.guard.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAC9E,OAAO,EAAE,UAAU,EAAM,MAAM,MAAM,CAAC;AAEtC,OAAO,EAAE,WAAW,EAAE,MAAM,6CAA6C,CAAC;AAC1E,OAAO,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AAC1D,OAAO,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;;AAE1D,qBACa,eAAgB,YAAW,WAAW;IAGrC,OAAO,CAAC,QAAQ,CAAC,qBAAqB;IAChD,OAAO,CAAC,QAAQ,CAAC,MAAM;IACvB,OAAO,CAAC,QAAQ,CAAC,qBAAqB;IAJxC,OAAc,gBAAgB,SAAoB;gBAErB,qBAAqB,EAAE,qBAAqB,EACtD,MAAM,EAAE,MAAM,EACd,qBAAqB,EAAE,qBAAqB;IAGxD,WAAW,CAAC,KAAK,EAAE,sBAAsB,GAAG,UAAU,CAAC,OAAO,CAAC;IAmB/D,2BAA2B,CAAC,OAAO,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO;IAyCjG,OAAO,CAAC,4BAA4B;IAGpC,OAAO,CAAC,aAAa;yCAvEV,eAAe;6CAAf,eAAe;CAkG3B"}
@@ -1,3 +1,4 @@
1
1
  export * from './markdown.component';
2
+ export * from './routerlink.component';
2
3
  export * from './markdown-component.module';
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/components/palette/markdown/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,6BAA6B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/components/palette/markdown/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC;AACvC,cAAc,6BAA6B,CAAC"}
@@ -1,13 +1,15 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./markdown.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@angular/forms";
5
- import * as i4 from "rpx-xui-translation";
6
- import * as i5 from "../../../pipes/pipes.module";
7
- import * as i6 from "ngx-md";
3
+ import * as i2 from "./routerlink.component";
4
+ import * as i3 from "@angular/common";
5
+ import * as i4 from "@angular/forms";
6
+ import * as i5 from "rpx-xui-translation";
7
+ import * as i6 from "../../../pipes/pipes.module";
8
+ import * as i7 from "ngx-md";
9
+ import * as i8 from "@angular/router";
8
10
  export declare class MarkdownComponentModule {
9
11
  static ɵfac: i0.ɵɵFactoryDeclaration<MarkdownComponentModule, never>;
10
- static ɵmod: i0.ɵɵNgModuleDeclaration<MarkdownComponentModule, [typeof i1.MarkdownComponent], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.RpxTranslationModule, typeof i5.PipesModule, typeof i6.NgxMdModule], [typeof i1.MarkdownComponent]>;
12
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MarkdownComponentModule, [typeof i1.MarkdownComponent, typeof i2.RouterLinkComponent], [typeof i3.CommonModule, typeof i4.ReactiveFormsModule, typeof i5.RpxTranslationModule, typeof i6.PipesModule, typeof i7.NgxMdModule, typeof i8.RouterModule], [typeof i1.MarkdownComponent, typeof i2.RouterLinkComponent]>;
11
13
  static ɵinj: i0.ɵɵInjectorDeclaration<MarkdownComponentModule>;
12
14
  }
13
15
  //# sourceMappingURL=markdown-component.module.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"markdown-component.module.d.ts","sourceRoot":"","sources":["../../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/components/palette/markdown/markdown-component.module.ts"],"names":[],"mappings":";;;;;;;AAQA,qBAea,uBAAuB;yCAAvB,uBAAuB;0CAAvB,uBAAuB;0CAAvB,uBAAuB;CAAG"}
1
+ {"version":3,"file":"markdown-component.module.d.ts","sourceRoot":"","sources":["../../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/components/palette/markdown/markdown-component.module.ts"],"names":[],"mappings":";;;;;;;;;AAUA,qBAkBa,uBAAuB;yCAAvB,uBAAuB;0CAAvB,uBAAuB;0CAAvB,uBAAuB;CAAG"}
@@ -1,11 +1,16 @@
1
- import { OnInit } from '@angular/core';
1
+ import { OnInit, Renderer2 } from '@angular/core';
2
+ import { NgxMdService } from 'ngx-md';
3
+ import { Router } from '@angular/router';
2
4
  import * as i0 from "@angular/core";
3
5
  export declare class MarkdownComponent implements OnInit {
6
+ private _markdown;
7
+ private router;
8
+ private renderer;
4
9
  content: string;
5
10
  markdownUseHrefAsRouterLink: boolean;
6
- constructor();
11
+ constructor(_markdown: NgxMdService, router: Router, renderer: Renderer2);
12
+ routerClick($event: MouseEvent): void;
7
13
  ngOnInit(): void;
8
- onMarkdownClick(event: MouseEvent): boolean;
9
14
  static ɵfac: i0.ɵɵFactoryDeclaration<MarkdownComponent, never>;
10
15
  static ɵcmp: i0.ɵɵComponentDeclaration<MarkdownComponent, "ccd-markdown", never, { "content": "content"; "markdownUseHrefAsRouterLink": "markdownUseHrefAsRouterLink"; }, {}, never, never, false, never>;
11
16
  }
@@ -1 +1 @@
1
- {"version":3,"file":"markdown.component.d.ts","sourceRoot":"","sources":["../../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/components/palette/markdown/markdown.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkC,MAAM,EAAE,MAAM,eAAe,CAAC;;AAEvE,qBAIa,iBAAkB,YAAW,MAAM;IAEvC,OAAO,EAAE,MAAM,CAAC;IAEhB,2BAA2B,EAAG,OAAO,CAAC;;IAItC,QAAQ,IAAI,IAAI;IAKhB,eAAe,CAAC,KAAK,EAAE,UAAU;yCAb7B,iBAAiB;2CAAjB,iBAAiB;CAoB7B"}
1
+ {"version":3,"file":"markdown.component.d.ts","sourceRoot":"","sources":["../../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/components/palette/markdown/markdown.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkC,MAAM,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAClF,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAEtC,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;;AAEzC,qBAIa,iBAAkB,YAAW,MAAM;IAMlC,OAAO,CAAC,SAAS;IAAgB,OAAO,CAAC,MAAM;IAAU,OAAO,CAAC,QAAQ;IAJ9E,OAAO,EAAE,MAAM,CAAC;IAEhB,2BAA2B,EAAG,OAAO,CAAC;gBAEzB,SAAS,EAAE,YAAY,EAAU,MAAM,EAAE,MAAM,EAAU,QAAQ,EAAE,SAAS;IAIzF,WAAW,CAAC,MAAM,EAAE,UAAU;IAW9B,QAAQ,IAAI,IAAI;yCArBZ,iBAAiB;2CAAjB,iBAAiB;CAkC7B"}
@@ -0,0 +1,7 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class RouterLinkComponent {
3
+ link: string;
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<RouterLinkComponent, never>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<RouterLinkComponent, "exui-routerlink", never, {}, {}, never, ["*"], false, never>;
6
+ }
7
+ //# sourceMappingURL=routerlink.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"routerlink.component.d.ts","sourceRoot":"","sources":["../../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/components/palette/markdown/routerlink.component.ts"],"names":[],"mappings":";AAEA,qBAKa,mBAAmB;IACvB,IAAI,EAAE,MAAM,CAAC;yCADT,mBAAmB;2CAAnB,mBAAmB;CAE/B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hmcts/ccd-case-ui-toolkit",
3
- "version": "7.0.29-task-comp-2",
3
+ "version": "7.0.29-task-comp-3",
4
4
  "engines": {
5
5
  "node": ">=18.17.0"
6
6
  },