@hmcts/ccd-case-ui-toolkit 5.0.19-angular11-upgrade → 5.0.22-angular11-upgrade
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/bundles/hmcts-ccd-case-ui-toolkit.umd.js +4948 -4722
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.js.map +1 -1
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.min.js +1 -1
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.min.js.map +1 -1
- package/esm2015/lib/shared/components/case-editor/case-edit-page/case-edit-page.component.js +6 -6
- package/esm2015/lib/shared/components/case-editor/case-editor.module.js +4 -1
- package/esm2015/lib/shared/components/case-viewer/case-full-access-view/case-full-access-view.component.js +5 -2
- package/esm2015/lib/shared/components/case-viewer/services/case.resolver.js +20 -26
- package/esm2015/lib/shared/components/palette/base-field/field-read.component.js +5 -2
- package/esm2015/lib/shared/components/palette/base-field/field-write.component.js +1 -1
- package/esm2015/lib/shared/components/palette/collection/write-collection-field.component.js +69 -43
- package/esm2015/lib/shared/components/palette/complex/read-complex-field.component.js +5 -3
- package/esm2015/lib/shared/components/palette/history/event-log/event-log-details.component.js +41 -47
- package/esm2015/lib/shared/components/palette/index.js +2 -1
- package/esm2015/lib/shared/components/palette/judicial-user/index.js +3 -0
- package/esm2015/lib/shared/components/palette/judicial-user/read-judicial-user-field.component.js +48 -0
- package/esm2015/lib/shared/components/palette/judicial-user/write-judicial-user-field.component.js +127 -0
- package/esm2015/lib/shared/components/palette/palette.module.js +18 -7
- package/esm2015/lib/shared/components/palette/palette.service.js +5 -1
- package/esm2015/lib/shared/components/palette/utils/is-compound.pipe.js +2 -2
- package/esm2015/lib/shared/components/search-filters/search-filters.component.js +2 -6
- package/esm2015/lib/shared/components/search-filters/search-filters.module.js +7 -3
- package/esm2015/lib/shared/components/search-result/search-result.component.js +101 -120
- package/esm2015/lib/shared/components/search-result/search-result.module.js +8 -4
- package/esm2015/lib/shared/domain/definition/field-type-enum.model.js +1 -1
- package/esm2015/lib/shared/domain/jurisdiction/index.js +2 -0
- package/esm2015/lib/shared/domain/jurisdiction/judicial-user.model.js +2 -0
- package/esm2015/lib/shared/services/case-fields/index.js +2 -1
- package/esm2015/lib/shared/services/form/form-value.service.js +6 -2
- package/esm2015/lib/shared/services/jurisdiction/jurisdiction.service.js +14 -5
- package/esm2015/public-api.js +1 -2
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js +6572 -6380
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js.map +1 -1
- package/lib/shared/components/case-editor/case-edit-page/case-edit-page.component.d.ts.map +1 -1
- package/lib/shared/components/case-editor/case-editor.module.d.ts.map +1 -1
- package/lib/shared/components/case-viewer/case-full-access-view/case-full-access-view.component.d.ts +3 -2
- package/lib/shared/components/case-viewer/case-full-access-view/case-full-access-view.component.d.ts.map +1 -1
- package/lib/shared/components/case-viewer/services/case.resolver.d.ts +3 -4
- package/lib/shared/components/case-viewer/services/case.resolver.d.ts.map +1 -1
- package/lib/shared/components/palette/base-field/field-read.component.d.ts.map +1 -1
- package/lib/shared/components/palette/base-field/field-write.component.d.ts.map +1 -1
- package/lib/shared/components/palette/collection/write-collection-field.component.d.ts +5 -4
- package/lib/shared/components/palette/collection/write-collection-field.component.d.ts.map +1 -1
- package/lib/shared/components/palette/complex/read-complex-field.component.d.ts.map +1 -1
- package/lib/shared/components/palette/index.d.ts +1 -0
- package/lib/shared/components/palette/index.d.ts.map +1 -1
- package/lib/shared/components/palette/judicial-user/index.d.ts +3 -0
- package/lib/shared/components/palette/judicial-user/index.d.ts.map +1 -0
- package/lib/shared/components/palette/judicial-user/read-judicial-user-field.component.d.ts +17 -0
- package/lib/shared/components/palette/judicial-user/read-judicial-user-field.component.d.ts.map +1 -0
- package/lib/shared/components/palette/judicial-user/write-judicial-user-field.component.d.ts +32 -0
- package/lib/shared/components/palette/judicial-user/write-judicial-user-field.component.d.ts.map +1 -0
- package/lib/shared/components/palette/palette.module.d.ts +62 -59
- package/lib/shared/components/palette/palette.module.d.ts.map +1 -1
- package/lib/shared/components/palette/palette.service.d.ts.map +1 -1
- package/lib/shared/components/search-result/search-result.component.d.ts +14 -29
- package/lib/shared/components/search-result/search-result.component.d.ts.map +1 -1
- package/lib/shared/components/search-result/search-result.module.d.ts +2 -1
- package/lib/shared/components/search-result/search-result.module.d.ts.map +1 -1
- package/lib/shared/domain/definition/field-type-enum.model.d.ts +1 -1
- package/lib/shared/domain/definition/field-type-enum.model.d.ts.map +1 -1
- package/lib/shared/domain/jurisdiction/index.d.ts +2 -0
- package/lib/shared/domain/jurisdiction/index.d.ts.map +1 -0
- package/lib/shared/domain/jurisdiction/judicial-user.model.d.ts +13 -0
- package/lib/shared/domain/jurisdiction/judicial-user.model.d.ts.map +1 -0
- package/lib/shared/services/case-fields/index.d.ts +1 -0
- package/lib/shared/services/case-fields/index.d.ts.map +1 -1
- package/lib/shared/services/form/form-value.service.d.ts +1 -1
- package/lib/shared/services/form/form-value.service.d.ts.map +1 -1
- package/lib/shared/services/jurisdiction/jurisdiction.service.d.ts +10 -4
- package/lib/shared/services/jurisdiction/jurisdiction.service.d.ts.map +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +0 -1
- package/public-api.d.ts.map +1 -1
- package/esm2015/lib/case-ui-toolkit.module.js +0 -15
- package/lib/case-ui-toolkit.module.d.ts +0 -7
- package/lib/case-ui-toolkit.module.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/services/case-fields/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/services/case-fields/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,6BAA6B,CAAC"}
|
|
@@ -147,7 +147,7 @@ export declare class FormValueService {
|
|
|
147
147
|
* @param clearEmpty Whether or not we should clear out empty, optional, complex objects.
|
|
148
148
|
* @param clearNonCase Whether or not we should clear out non-case fields at the top level.
|
|
149
149
|
*/
|
|
150
|
-
removeUnnecessaryFields(data: object, caseFields: CaseField[], clearEmpty?: boolean, clearNonCase?: boolean): void;
|
|
150
|
+
removeUnnecessaryFields(data: object, caseFields: CaseField[], clearEmpty?: boolean, clearNonCase?: boolean, fromPreviousPage?: boolean, currentPageCaseFields?: any[]): void;
|
|
151
151
|
/**
|
|
152
152
|
* Remove any empty or invalid arry with only id
|
|
153
153
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-value.service.d.ts","sourceRoot":"","sources":["../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/services/form/form-value.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,0CAA0C,CAAC;AAErE,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;;AAE5D,qBACa,gBAAgB;IAwMf,OAAO,CAAC,QAAQ,CAAC,kBAAkB;IAvM/C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA6GG;WACW,aAAa,CAAC,IAAI,KAAA,EAAE,QAAQ,KAAA,EAAE,QAAQ,KAAA;IAiBpD;;;OAGG;WACW,uBAAuB,CAAC,IAAI,EAAE,GAAG,GAAG,IAAI;IAqBtD,OAAO,CAAC,MAAM,CAAC,UAAU;IAIzB,OAAO,CAAC,MAAM,CAAC,UAAU;IAIzB,OAAO,CAAC,MAAM,CAAC,OAAO;IAQtB,OAAO,CAAC,MAAM,CAAC,WAAW;IAkB1B;;;;;OAKG;IACH,OAAO,CAAC,MAAM,CAAC,kBAAkB;gBAOJ,kBAAkB,EAAE,kBAAkB;IAG5D,QAAQ,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM;IAIlC,qBAAqB,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM;IAShD,uBAAuB,CAAC,UAAU,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,GAAG,GAAG,GAAG;IAUpE,oBAAoB,CAAC,UAAU,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,GAAG,GAAG,GAAG;IAIjE,kBAAkB,CAAC,IAAI,EAAE,MAAM,EAAE,UAAU,EAAE,SAAS,EAAE;IAQxD,gBAAgB,CAAC,IAAI,EAAE,MAAM,EAAE,UAAU,EAAE,SAAS,EAAE;IAwCtD,oBAAoB,CAAC,IAAI,EAAE,MAAM,EAAE,UAAU,EAAE,SAAS,EAAE;IAwCjE;;;;;;;;OAQG;IACI,uBAAuB,CAAC,IAAI,EAAE,MAAM,EAAE,UAAU,EAAE,SAAS,EAAE,EAAE,UAAU,UAAQ,EAAE,YAAY,UAAQ,GAAG,IAAI;
|
|
1
|
+
{"version":3,"file":"form-value.service.d.ts","sourceRoot":"","sources":["../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/services/form/form-value.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,0CAA0C,CAAC;AAErE,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;;AAE5D,qBACa,gBAAgB;IAwMf,OAAO,CAAC,QAAQ,CAAC,kBAAkB;IAvM/C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA6GG;WACW,aAAa,CAAC,IAAI,KAAA,EAAE,QAAQ,KAAA,EAAE,QAAQ,KAAA;IAiBpD;;;OAGG;WACW,uBAAuB,CAAC,IAAI,EAAE,GAAG,GAAG,IAAI;IAqBtD,OAAO,CAAC,MAAM,CAAC,UAAU;IAIzB,OAAO,CAA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+
import { Observable } from 'rxjs';
|
|
2
|
+
import { Jurisdiction } from '../../domain';
|
|
3
|
+
import { JudicialUserModel } from '../../domain/jurisdiction';
|
|
4
|
+
import { HttpService } from '../http';
|
|
3
5
|
import * as i0 from "@angular/core";
|
|
4
6
|
export declare class JurisdictionService {
|
|
5
|
-
readonly
|
|
6
|
-
|
|
7
|
+
private readonly httpService;
|
|
8
|
+
private readonly selectedJurisdictionSource;
|
|
9
|
+
readonly selectedJurisdiction: Observable<Jurisdiction>;
|
|
10
|
+
constructor(httpService: HttpService);
|
|
7
11
|
announceSelectedJurisdiction(jurisdiction: Jurisdiction): void;
|
|
12
|
+
searchJudicialUsers(searchTerm: string, serviceId: string): Observable<JudicialUserModel[]>;
|
|
13
|
+
searchJudicialUsersByPersonalCodes(personalCodes: string[]): Observable<JudicialUserModel[]>;
|
|
8
14
|
static ɵfac: i0.ɵɵFactoryDef<JurisdictionService, never>;
|
|
9
15
|
static ɵprov: i0.ɵɵInjectableDef<JurisdictionService>;
|
|
10
16
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jurisdiction.service.d.ts","sourceRoot":"","sources":["../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/services/jurisdiction/jurisdiction.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"jurisdiction.service.d.ts","sourceRoot":"","sources":["../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/services/jurisdiction/jurisdiction.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAElC,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;;AAEtC,qBACa,mBAAmB;IAKlB,OAAO,CAAC,QAAQ,CAAC,WAAW;IAHxC,OAAO,CAAC,QAAQ,CAAC,0BAA0B,CAA+B;IAC1E,SAAgB,oBAAoB,EAAE,UAAU,CAAC,YAAY,CAAC,CAAC;gBAElC,WAAW,EAAE,WAAW;IAI9C,4BAA4B,CAAC,YAAY,EAAE,YAAY;IAIvD,mBAAmB,CAAC,UAAU,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,UAAU,CAAC,iBAAiB,EAAE,CAAC;IAI3F,kCAAkC,CAAC,aAAa,EAAE,MAAM,EAAE,GAAG,UAAU,CAAC,iBAAiB,EAAE,CAAC;iCAjBxF,mBAAmB;qCAAnB,mBAAmB;CAoB/B"}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
package/public-api.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public-api.d.ts","sourceRoot":"","sources":["../../projects/ccd-case-ui-toolkit/src/public-api.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC
|
|
1
|
+
{"version":3,"file":"public-api.d.ts","sourceRoot":"","sources":["../../projects/ccd-case-ui-toolkit/src/public-api.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class CaseUIToolkitModule {
|
|
4
|
-
}
|
|
5
|
-
CaseUIToolkitModule.ɵfac = function CaseUIToolkitModule_Factory(t) { return new (t || CaseUIToolkitModule)(); };
|
|
6
|
-
CaseUIToolkitModule.ɵmod = i0.ɵɵdefineNgModule({ type: CaseUIToolkitModule });
|
|
7
|
-
CaseUIToolkitModule.ɵinj = i0.ɵɵdefineInjector({ imports: [[]] });
|
|
8
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseUIToolkitModule, [{
|
|
9
|
-
type: NgModule,
|
|
10
|
-
args: [{
|
|
11
|
-
imports: [],
|
|
12
|
-
exports: []
|
|
13
|
-
}]
|
|
14
|
-
}], null, null); })();
|
|
15
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FzZS11aS10b29sa2l0Lm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL2NjZC1jYXNlLXVpLXRvb2xraXQvc3JjL2xpYi9jYXNlLXVpLXRvb2xraXQubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7O0FBTXpDLE1BQU0sT0FBTyxtQkFBbUI7O3NGQUFuQixtQkFBbUI7dURBQW5CLG1CQUFtQjsyREFIbkIsRUFBRTt1RkFHRixtQkFBbUI7Y0FKL0IsUUFBUTtlQUFDO2dCQUNOLE9BQU8sRUFBRSxFQUFFO2dCQUNYLE9BQU8sRUFBRSxFQUFFO2FBQ2QiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBOZ01vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5ATmdNb2R1bGUoe1xuICAgIGltcG9ydHM6IFtdLFxuICAgIGV4cG9ydHM6IFtdXG59KVxuZXhwb3J0IGNsYXNzIENhc2VVSVRvb2xraXRNb2R1bGUge31cbiJdfQ==
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class CaseUIToolkitModule {
|
|
3
|
-
static ɵfac: i0.ɵɵFactoryDef<CaseUIToolkitModule, never>;
|
|
4
|
-
static ɵmod: i0.ɵɵNgModuleDefWithMeta<CaseUIToolkitModule, never, never, never>;
|
|
5
|
-
static ɵinj: i0.ɵɵInjectorDef<CaseUIToolkitModule>;
|
|
6
|
-
}
|
|
7
|
-
//# sourceMappingURL=case-ui-toolkit.module.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"case-ui-toolkit.module.d.ts","sourceRoot":"","sources":["../../../projects/ccd-case-ui-toolkit/src/lib/case-ui-toolkit.module.ts"],"names":[],"mappings":";AAEA,qBAIa,mBAAmB;iCAAnB,mBAAmB;0CAAnB,mBAAmB;kCAAnB,mBAAmB;CAAG"}
|