@hmcts/ccd-case-ui-toolkit 4.7.0-EUI-4567-nested-fields-collection → 4.7.0-eui-4789-bugfix
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/.github/workflows/npmpublish.yml +2 -40
- package/RELEASE-NOTES.md +0 -8
- package/dist/app.config.d.ts +0 -2
- package/dist/app.config.js +0 -3
- package/dist/app.config.js.map +1 -1
- package/dist/app.config.metadata.json +1 -1
- package/dist/index.umd.js +79 -290
- package/dist/index.umd.js.map +1 -1
- package/dist/index.umd.min.js +1 -1
- package/dist/index.umd.min.js.LICENSE.txt +1 -1
- package/dist/index.umd.min.js.map +1 -1
- package/dist/shared/components/case-editor/case-edit-page/case-edit-page.component.d.ts +1 -2
- package/dist/shared/components/case-editor/case-edit-page/case-edit-page.component.js +6 -19
- package/dist/shared/components/case-editor/case-edit-page/case-edit-page.component.js.map +1 -1
- package/dist/shared/components/case-editor/case-edit-page/case-edit-page.component.metadata.json +1 -1
- package/dist/shared/components/case-editor/case-editor.module.js +1 -4
- package/dist/shared/components/case-editor/case-editor.module.js.map +1 -1
- package/dist/shared/components/case-editor/case-editor.module.metadata.json +1 -1
- package/dist/shared/components/case-editor/domain/wizard.model.d.ts +1 -1
- package/dist/shared/components/case-editor/domain/wizard.model.js +2 -2
- package/dist/shared/components/case-editor/domain/wizard.model.js.map +1 -1
- package/dist/shared/components/case-editor/index.d.ts +0 -1
- package/dist/shared/components/case-editor/index.js +0 -1
- package/dist/shared/components/case-editor/index.js.map +1 -1
- package/dist/shared/components/case-editor/index.metadata.json +1 -1
- package/dist/shared/components/case-editor/services/cases.service.js +38 -24
- package/dist/shared/components/case-editor/services/cases.service.js.map +1 -1
- package/dist/shared/components/case-viewer/case-basic-access-view/case-basic-access-view.component.d.ts +0 -1
- package/dist/shared/components/case-viewer/case-basic-access-view/case-basic-access-view.component.js +1 -4
- package/dist/shared/components/case-viewer/case-basic-access-view/case-basic-access-view.component.js.map +1 -1
- package/dist/shared/components/case-viewer/case-basic-access-view/case-basic-access-view.component.metadata.json +1 -1
- package/dist/shared/components/case-viewer/case-full-access-view/case-full-access-view.component.js +9 -5
- package/dist/shared/components/case-viewer/case-full-access-view/case-full-access-view.component.js.map +1 -1
- package/dist/shared/components/case-viewer/case-viewer.module.js +1 -0
- package/dist/shared/components/case-viewer/case-viewer.module.js.map +1 -1
- package/dist/shared/components/case-viewer/case-viewer.module.metadata.json +1 -1
- package/dist/shared/components/case-viewer/viewer.routing.js +1 -1
- package/dist/shared/components/case-viewer/viewer.routing.js.map +1 -1
- package/dist/shared/components/case-viewer/viewer.routing.metadata.json +1 -1
- package/dist/shared/components/palette/base-field/abstract-field-read.component.d.ts +2 -2
- package/dist/shared/components/palette/base-field/abstract-field-read.component.js +1 -1
- package/dist/shared/components/palette/base-field/abstract-field-read.component.js.map +1 -1
- package/dist/shared/components/palette/complex/ccd-read-fields-filter.pipe.d.ts +2 -3
- package/dist/shared/components/palette/complex/ccd-read-fields-filter.pipe.js +4 -24
- package/dist/shared/components/palette/complex/ccd-read-fields-filter.pipe.js.map +1 -1
- package/dist/shared/components/palette/complex/ccd-read-fields-filter.pipe.metadata.json +1 -1
- package/dist/shared/components/palette/multi-select-list/write-multi-select-list-field.component.js +0 -8
- package/dist/shared/components/palette/multi-select-list/write-multi-select-list-field.component.js.map +1 -1
- package/dist/shared/components/workbasket-filters/workbasket-filters.component.js +12 -10
- package/dist/shared/components/workbasket-filters/workbasket-filters.component.js.map +1 -1
- package/dist/shared/directives/conditional-show/domain/conditional-show.model.d.ts +0 -5
- package/dist/shared/directives/conditional-show/domain/conditional-show.model.js +1 -21
- package/dist/shared/directives/conditional-show/domain/conditional-show.model.js.map +1 -1
- package/dist/shared/directives/conditional-show/domain/conditional-show.model.metadata.json +1 -1
- package/dist/shared/directives/conditional-show/services/conditional-show-registrar.service.js +0 -2
- package/dist/shared/directives/conditional-show/services/conditional-show-registrar.service.js.map +1 -1
- package/dist/shared/domain/case-view/index.d.ts +1 -0
- package/dist/shared/domain/case-view/index.metadata.json +1 -1
- package/dist/shared/domain/case-view/requested-role.model.d.ts +25 -0
- package/dist/shared/domain/case-view/requested-role.model.js +3 -0
- package/dist/shared/domain/case-view/requested-role.model.js.map +1 -0
- package/dist/shared/domain/case-view/requested-role.model.metadata.json +1 -0
- package/dist/shared/domain/case-view/role-assignment-response.model.d.ts +1 -1
- package/dist/shared/domain/case-view/role-request.model.d.ts +10 -28
- package/dist/shared/domain/case-view/role-request.model.metadata.json +1 -1
- package/dist/shared/domain/user/user-info.model.d.ts +0 -1
- package/dist/shared/services/form/form-value.service.js +0 -7
- package/dist/shared/services/form/form-value.service.js.map +1 -1
- package/dist/shared/services/loading/loading.service.js +1 -1
- package/dist/shared/services/loading/loading.service.js.map +1 -1
- package/package.json +3 -3
- package/sonar-project.properties +5 -4
- package/dist/cut-styles/shared/components/loading-spinner/loading-spinner.component.scss +0 -36
- package/dist/shared/components/case-editor/case-access-utils/index.d.ts +0 -21
- package/dist/shared/components/case-editor/case-access-utils/index.js +0 -69
- package/dist/shared/components/case-editor/case-access-utils/index.js.map +0 -1
- package/dist/shared/components/case-editor/case-access-utils/index.metadata.json +0 -1
- package/dist/shared/components/loading-spinner/loading-spinner.component.d.ts +0 -3
- package/dist/shared/components/loading-spinner/loading-spinner.component.js +0 -32
- package/dist/shared/components/loading-spinner/loading-spinner.component.js.map +0 -1
- package/dist/shared/components/loading-spinner/loading-spinner.component.metadata.json +0 -1
package/dist/index.umd.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @hmcts/ccd-case-ui-toolkit - Case UI Toolkit
|
|
3
|
-
* @version v4.7.0-
|
|
3
|
+
* @version v4.7.0-eui-4789-bugfix
|
|
4
4
|
* @link undefined
|
|
5
5
|
* @license MIT
|
|
6
6
|
*/
|
|
@@ -10754,9 +10754,6 @@ var AbstractAppConfig = /** @class */ (function () {
|
|
|
10754
10754
|
AbstractAppConfig.prototype.getLocationRefApiUrl = function () {
|
|
10755
10755
|
return undefined;
|
|
10756
10756
|
};
|
|
10757
|
-
AbstractAppConfig.prototype.getCamRoleAssignmentsApiUrl = function () {
|
|
10758
|
-
return undefined;
|
|
10759
|
-
};
|
|
10760
10757
|
return AbstractAppConfig;
|
|
10761
10758
|
}());
|
|
10762
10759
|
exports.AbstractAppConfig = AbstractAppConfig;
|
|
@@ -12382,82 +12379,6 @@ __export(__webpack_require__(41580));
|
|
|
12382
12379
|
__export(__webpack_require__(4765));
|
|
12383
12380
|
|
|
12384
12381
|
|
|
12385
|
-
/***/ }),
|
|
12386
|
-
|
|
12387
|
-
/***/ 25919:
|
|
12388
|
-
/***/ ((__unused_webpack_module, exports) => {
|
|
12389
|
-
|
|
12390
|
-
"use strict";
|
|
12391
|
-
|
|
12392
|
-
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
12393
|
-
var CaseAccessUtils = /** @class */ (function () {
|
|
12394
|
-
function CaseAccessUtils() {
|
|
12395
|
-
}
|
|
12396
|
-
CaseAccessUtils.prototype.getMappedRoleCategory = function (roles, roleCategories) {
|
|
12397
|
-
var roleKeywords = roles.join().split('-').join().split(',');
|
|
12398
|
-
if (this.roleOrCategoryExists(CaseAccessUtils.JUDGE_ROLE, CaseAccessUtils.JUDGE_ROLE_CATEGORY, roleKeywords, roleCategories)) {
|
|
12399
|
-
return CaseAccessUtils.JUDGE_ROLE_CATEGORY;
|
|
12400
|
-
}
|
|
12401
|
-
else if (this.roleOrCategoryExists(CaseAccessUtils.PROFESSIONAL_ROLE, CaseAccessUtils.PROFESSIONAL_ROLE_CATEGORY, roleKeywords, roleCategories)) {
|
|
12402
|
-
return CaseAccessUtils.PROFESSIONAL_ROLE_CATEGORY;
|
|
12403
|
-
}
|
|
12404
|
-
else if (this.roleOrCategoryExists(CaseAccessUtils.CITIZEN_ROLE, CaseAccessUtils.CITIZEN_ROLE_CATEGORY, roleKeywords, roleCategories)) {
|
|
12405
|
-
return CaseAccessUtils.CITIZEN_ROLE_CATEGORY;
|
|
12406
|
-
}
|
|
12407
|
-
else if (this.roleOrCategoryExists(CaseAccessUtils.ADMIN_ROLE, CaseAccessUtils.ADMIN_ROLE_CATEGORY, roleKeywords, roleCategories)) {
|
|
12408
|
-
return CaseAccessUtils.ADMIN_ROLE_CATEGORY;
|
|
12409
|
-
}
|
|
12410
|
-
else {
|
|
12411
|
-
return CaseAccessUtils.LEGAL_OPERATIONS_ROLE_CATEGORY;
|
|
12412
|
-
}
|
|
12413
|
-
};
|
|
12414
|
-
CaseAccessUtils.prototype.roleOrCategoryExists = function (roleKeyword, roleCategory, roleKeywords, roleCategories) {
|
|
12415
|
-
var categoryExists = roleCategories.indexOf(roleCategory) > -1;
|
|
12416
|
-
var keywordExists = roleKeywords.indexOf(roleKeyword) > -1;
|
|
12417
|
-
return categoryExists ? categoryExists : keywordExists;
|
|
12418
|
-
};
|
|
12419
|
-
CaseAccessUtils.prototype.getAMRoleName = function (accessType, aMRole) {
|
|
12420
|
-
var roleName = '';
|
|
12421
|
-
switch (aMRole) {
|
|
12422
|
-
case CaseAccessUtils.JUDGE_ROLE_CATEGORY:
|
|
12423
|
-
roleName = accessType + "-access-" + CaseAccessUtils.JUDGE_ROLE_NAME;
|
|
12424
|
-
break;
|
|
12425
|
-
case CaseAccessUtils.PROFESSIONAL_ROLE_CATEGORY:
|
|
12426
|
-
roleName = accessType + "-access-" + CaseAccessUtils.PROFESSIONAL_ROLE_NAME;
|
|
12427
|
-
break;
|
|
12428
|
-
case CaseAccessUtils.CITIZEN_ROLE_CATEGORY:
|
|
12429
|
-
roleName = accessType + "-access-" + CaseAccessUtils.CITIZEN_ROLE_NAME;
|
|
12430
|
-
break;
|
|
12431
|
-
case CaseAccessUtils.ADMIN_ROLE_CATEGORY:
|
|
12432
|
-
roleName = accessType + "-access-" + CaseAccessUtils.ADMIN_ROLE_NAME;
|
|
12433
|
-
break;
|
|
12434
|
-
default:
|
|
12435
|
-
roleName = accessType + "-access-" + CaseAccessUtils.LEGAL_OPERATIONS_ROLE_NAME;
|
|
12436
|
-
break;
|
|
12437
|
-
}
|
|
12438
|
-
return roleName;
|
|
12439
|
-
};
|
|
12440
|
-
// User role mapping
|
|
12441
|
-
CaseAccessUtils.JUDGE_ROLE = 'judge';
|
|
12442
|
-
CaseAccessUtils.JUDGE_ROLE_CATEGORY = 'JUDICIAL';
|
|
12443
|
-
CaseAccessUtils.JUDGE_ROLE_NAME = 'judicial';
|
|
12444
|
-
CaseAccessUtils.ADMIN_ROLE = 'admin';
|
|
12445
|
-
CaseAccessUtils.ADMIN_ROLE_CATEGORY = 'ADMIN';
|
|
12446
|
-
CaseAccessUtils.ADMIN_ROLE_NAME = 'admin';
|
|
12447
|
-
CaseAccessUtils.PROFESSIONAL_ROLE = 'solicitor';
|
|
12448
|
-
CaseAccessUtils.PROFESSIONAL_ROLE_CATEGORY = 'PROFESSIONAL';
|
|
12449
|
-
CaseAccessUtils.PROFESSIONAL_ROLE_NAME = 'professional';
|
|
12450
|
-
CaseAccessUtils.LEGAL_OPERATIONS_ROLE = 'caseworker';
|
|
12451
|
-
CaseAccessUtils.LEGAL_OPERATIONS_ROLE_CATEGORY = 'LEGAL_OPERATIONS';
|
|
12452
|
-
CaseAccessUtils.LEGAL_OPERATIONS_ROLE_NAME = 'legal-operations';
|
|
12453
|
-
CaseAccessUtils.CITIZEN_ROLE = 'citizen';
|
|
12454
|
-
CaseAccessUtils.CITIZEN_ROLE_CATEGORY = 'CITIZEN';
|
|
12455
|
-
CaseAccessUtils.CITIZEN_ROLE_NAME = 'citizen';
|
|
12456
|
-
return CaseAccessUtils;
|
|
12457
|
-
}());
|
|
12458
|
-
exports.CaseAccessUtils = CaseAccessUtils;
|
|
12459
|
-
|
|
12460
|
-
|
|
12461
12382
|
/***/ }),
|
|
12462
12383
|
|
|
12463
12384
|
/***/ 19119:
|
|
@@ -12949,7 +12870,6 @@ var CaseEditPageComponent = /** @class */ (function () {
|
|
|
12949
12870
|
if (this.currentPageIsNotValid()) {
|
|
12950
12871
|
this.generateErrorMessage(this.currentPage.case_fields);
|
|
12951
12872
|
}
|
|
12952
|
-
this.showSpinner = true;
|
|
12953
12873
|
if (!this.isSubmitting && !this.currentPageIsNotValid()) {
|
|
12954
12874
|
this.isSubmitting = true;
|
|
12955
12875
|
this.error = null;
|
|
@@ -12960,12 +12880,8 @@ var CaseEditPageComponent = /** @class */ (function () {
|
|
|
12960
12880
|
_this.updateFormData(jsonData);
|
|
12961
12881
|
}
|
|
12962
12882
|
_this.saveDraft();
|
|
12963
|
-
_this.showSpinner = false;
|
|
12964
12883
|
_this.next();
|
|
12965
|
-
}, function (error) {
|
|
12966
|
-
_this.showSpinner = false;
|
|
12967
|
-
_this.handleError(error);
|
|
12968
|
-
});
|
|
12884
|
+
}, function (error) { return _this.handleError(error); });
|
|
12969
12885
|
CaseEditPageComponent_1.scrollToTop();
|
|
12970
12886
|
}
|
|
12971
12887
|
CaseEditPageComponent_1.setFocusToTop();
|
|
@@ -12973,15 +12889,15 @@ var CaseEditPageComponent = /** @class */ (function () {
|
|
|
12973
12889
|
CaseEditPageComponent.prototype.updateFormData = function (jsonData) {
|
|
12974
12890
|
for (var _i = 0, _a = Object.keys(jsonData.data); _i < _a.length; _i++) {
|
|
12975
12891
|
var caseFieldId = _a[_i];
|
|
12976
|
-
if (this.pageWithFieldExists(caseFieldId
|
|
12892
|
+
if (this.pageWithFieldExists(caseFieldId)) {
|
|
12977
12893
|
this.updateEventTriggerCaseFields(caseFieldId, jsonData, this.caseEdit.eventTrigger);
|
|
12978
12894
|
this.updateFormControlsValue(this.editForm, caseFieldId, jsonData.data[caseFieldId]);
|
|
12979
12895
|
}
|
|
12980
12896
|
}
|
|
12981
12897
|
};
|
|
12982
12898
|
// we do the check, becasue the data comes from the external source
|
|
12983
|
-
CaseEditPageComponent.prototype.pageWithFieldExists = function (caseFieldId
|
|
12984
|
-
return this.wizard.findWizardPage(caseFieldId
|
|
12899
|
+
CaseEditPageComponent.prototype.pageWithFieldExists = function (caseFieldId) {
|
|
12900
|
+
return this.wizard.findWizardPage(caseFieldId);
|
|
12985
12901
|
};
|
|
12986
12902
|
CaseEditPageComponent.prototype.updateEventTriggerCaseFields = function (caseFieldId, jsonData, eventTrigger) {
|
|
12987
12903
|
if (eventTrigger.case_fields) {
|
|
@@ -12993,15 +12909,7 @@ var CaseEditPageComponent = /** @class */ (function () {
|
|
|
12993
12909
|
CaseEditPageComponent.prototype.updateFormControlsValue = function (formGroup, caseFieldId, value) {
|
|
12994
12910
|
var theControl = formGroup.controls['data'].get(caseFieldId);
|
|
12995
12911
|
if (theControl) {
|
|
12996
|
-
|
|
12997
|
-
&& theControl.value.length > value.length && theControl['caseField']
|
|
12998
|
-
&& theControl['caseField']['display_context'] && theControl['caseField']['display_context'] === 'OPTIONAL'
|
|
12999
|
-
&& theControl['caseField']['field_type'] && theControl['caseField']['field_type']['type'] === 'Collection') {
|
|
13000
|
-
// do nothing
|
|
13001
|
-
}
|
|
13002
|
-
else {
|
|
13003
|
-
theControl.patchValue(value);
|
|
13004
|
-
}
|
|
12912
|
+
theControl.patchValue(value);
|
|
13005
12913
|
}
|
|
13006
12914
|
};
|
|
13007
12915
|
CaseEditPageComponent.prototype.callbackErrorsNotify = function (errorContext) {
|
|
@@ -13798,7 +13706,6 @@ var profile_1 = __webpack_require__(59412);
|
|
|
13798
13706
|
var profile_service_1 = __webpack_require__(25925);
|
|
13799
13707
|
var router_2 = __webpack_require__(71724);
|
|
13800
13708
|
var errors_module_1 = __webpack_require__(61386);
|
|
13801
|
-
var loading_spinner_component_1 = __webpack_require__(41617);
|
|
13802
13709
|
var palette_1 = __webpack_require__(22212);
|
|
13803
13710
|
var case_create_component_1 = __webpack_require__(19119);
|
|
13804
13711
|
var case_edit_confirm_component_1 = __webpack_require__(26329);
|
|
@@ -13837,8 +13744,7 @@ var CaseEditorModule = /** @class */ (function () {
|
|
|
13837
13744
|
case_edit_form_component_1.CaseEditFormComponent,
|
|
13838
13745
|
case_edit_submit_component_1.CaseEditSubmitComponent,
|
|
13839
13746
|
case_create_component_1.CaseCreateComponent,
|
|
13840
|
-
case_progress_component_1.CaseProgressComponent
|
|
13841
|
-
loading_spinner_component_1.LoadingSpinnerComponent
|
|
13747
|
+
case_progress_component_1.CaseProgressComponent
|
|
13842
13748
|
],
|
|
13843
13749
|
exports: [
|
|
13844
13750
|
case_edit_confirm_component_1.CaseEditConfirmComponent,
|
|
@@ -13849,7 +13755,6 @@ var CaseEditorModule = /** @class */ (function () {
|
|
|
13849
13755
|
case_create_component_1.CaseCreateComponent,
|
|
13850
13756
|
case_progress_component_1.CaseProgressComponent,
|
|
13851
13757
|
error_1.CallbackErrorsComponent,
|
|
13852
|
-
loading_spinner_component_1.LoadingSpinnerComponent,
|
|
13853
13758
|
],
|
|
13854
13759
|
providers: [
|
|
13855
13760
|
fields_utils_1.FieldsUtils,
|
|
@@ -14141,8 +14046,8 @@ var Wizard = /** @class */ (function () {
|
|
|
14141
14046
|
}
|
|
14142
14047
|
return canShow(foundPage) ? foundPage : undefined;
|
|
14143
14048
|
};
|
|
14144
|
-
Wizard.prototype.findWizardPage = function (caseFieldId
|
|
14145
|
-
return this.pages.find(function (wizardPage) { return wizardPage.
|
|
14049
|
+
Wizard.prototype.findWizardPage = function (caseFieldId) {
|
|
14050
|
+
return this.pages.find(function (wizardPage) { return wizardPage.case_fields &&
|
|
14146
14051
|
wizardPage.case_fields.filter(function (caseField) { return caseField.id === caseFieldId; }).length > 0; });
|
|
14147
14052
|
};
|
|
14148
14053
|
Wizard.prototype.nextPage = function (pageId, canShow) {
|
|
@@ -14244,7 +14149,6 @@ __export(__webpack_require__(29808));
|
|
|
14244
14149
|
__export(__webpack_require__(25961));
|
|
14245
14150
|
__export(__webpack_require__(20039));
|
|
14246
14151
|
__export(__webpack_require__(41473));
|
|
14247
|
-
__export(__webpack_require__(25919));
|
|
14248
14152
|
|
|
14249
14153
|
|
|
14250
14154
|
/***/ }),
|
|
@@ -14417,7 +14321,6 @@ var app_config_1 = __webpack_require__(35185);
|
|
|
14417
14321
|
var directives_1 = __webpack_require__(66395);
|
|
14418
14322
|
var domain_1 = __webpack_require__(59346);
|
|
14419
14323
|
var services_1 = __webpack_require__(65010);
|
|
14420
|
-
var case_access_utils_1 = __webpack_require__(25919);
|
|
14421
14324
|
var wizard_page_field_to_case_field_mapper_1 = __webpack_require__(12393);
|
|
14422
14325
|
var work_allocation_service_1 = __webpack_require__(93603);
|
|
14423
14326
|
var CasesService = /** @class */ (function () {
|
|
@@ -14687,41 +14590,56 @@ var CasesService = /** @class */ (function () {
|
|
|
14687
14590
|
return this.http.get(this.appConfig.getLocationRefApiUrl() + "/building-locations?epimms_id=" + locationId);
|
|
14688
14591
|
};
|
|
14689
14592
|
CasesService.prototype.createChallengedAccessRequest = function (caseId, car) {
|
|
14593
|
+
// Dummy implementation for now; the real one will make a call to the Node layer, which will call the appropriate Role
|
|
14690
14594
|
// Assignment API endpoint
|
|
14691
|
-
var
|
|
14692
|
-
var camUtils = new case_access_utils_1.CaseAccessUtils();
|
|
14693
|
-
var userInfo;
|
|
14694
|
-
if (userInfoStr) {
|
|
14695
|
-
userInfo = JSON.parse(userInfoStr);
|
|
14696
|
-
}
|
|
14697
|
-
var roleCategory = camUtils.getMappedRoleCategory(userInfo.roles, userInfo.roleCategories);
|
|
14698
|
-
var roleName = camUtils.getAMRoleName('challenged', roleCategory);
|
|
14699
|
-
var payload = {
|
|
14595
|
+
var roleAssignmentResponse = {
|
|
14700
14596
|
roleRequest: {
|
|
14701
|
-
|
|
14597
|
+
id: '0c6f56f5-4457-485e-a0de-828e6dfa1e33',
|
|
14598
|
+
authenticatedUserId: '37d4eab7-e14c-404e-8cd1-55cd06b2fc06',
|
|
14599
|
+
correlationId: '003352d0-e699-48bc-b6f5-5810411e60af',
|
|
14600
|
+
assignerId: '37d4eab7-e14c-404e-8cd1-55cd06b2fc06',
|
|
14601
|
+
requestType: 'CREATE',
|
|
14602
|
+
process: 'businessProcess1',
|
|
14603
|
+
reference: 'cf07ea33-31c0-4442-b2df-e2032d21b496',
|
|
14604
|
+
replaceExisting: true,
|
|
14605
|
+
status: 'APPROVED',
|
|
14606
|
+
created: new Date('2021-01-28T18:16:49.100121Z'),
|
|
14607
|
+
log: 'Request has been approved'
|
|
14702
14608
|
},
|
|
14703
14609
|
requestedRoles: [{
|
|
14610
|
+
id: '3ccabbf2-71fa-4c5d-af39-5675d25e9fcc',
|
|
14704
14611
|
actorIdType: 'IDAM',
|
|
14705
|
-
actorId:
|
|
14706
|
-
roleType: '
|
|
14707
|
-
roleName:
|
|
14612
|
+
actorId: 'cf07ea33-31c0-4442-b2df-e2032d21b496',
|
|
14613
|
+
roleType: 'ORGANISATION',
|
|
14614
|
+
roleName: 'judge',
|
|
14708
14615
|
classification: 'PUBLIC',
|
|
14709
|
-
roleCategory: roleCategory,
|
|
14710
14616
|
grantType: 'CHALLENGED',
|
|
14711
|
-
|
|
14712
|
-
|
|
14617
|
+
roleCategory: 'JUDICIAL',
|
|
14618
|
+
readOnly: false,
|
|
14619
|
+
beginTime: new Date('2021-01-01T00:00:00Z'),
|
|
14620
|
+
endTime: new Date('2023-01-01T00:00:00Z'),
|
|
14621
|
+
process: 'businessProcess1',
|
|
14622
|
+
reference: 'cf07ea33-31c0-4442-b2df-e2032d21b496',
|
|
14623
|
+
status: 'LIVE',
|
|
14624
|
+
created: new Date('2021-01-28T18:16:49.100155Z'),
|
|
14625
|
+
log: 'Create requested with replace: true\nCreate approved : judicial_organisational_role_mapping_service_create',
|
|
14713
14626
|
attributes: {
|
|
14714
|
-
|
|
14627
|
+
jurisdiction: 'divorce',
|
|
14628
|
+
region: 'south-east',
|
|
14629
|
+
contractType: 'SALARIED'
|
|
14715
14630
|
},
|
|
14716
14631
|
notes: [{
|
|
14717
|
-
userId:
|
|
14718
|
-
time: new Date(),
|
|
14719
|
-
comment:
|
|
14720
|
-
}
|
|
14721
|
-
|
|
14632
|
+
userId: '003352d0-e699-48bc-b6f5-5810411e60ag',
|
|
14633
|
+
time: new Date('2020-01-01T00:00Z'),
|
|
14634
|
+
comment: 'Need Access to case number 1234567890123456 for a month'
|
|
14635
|
+
}, {
|
|
14636
|
+
userId: '52aa3810-af1f-11ea-b3de-0242ac130004',
|
|
14637
|
+
time: new Date('2020-01-02T00:00Z'),
|
|
14638
|
+
comment: 'Access granted till end of day'
|
|
14639
|
+
}]
|
|
14722
14640
|
}]
|
|
14723
14641
|
};
|
|
14724
|
-
return
|
|
14642
|
+
return rxjs_1.of(roleAssignmentResponse);
|
|
14725
14643
|
};
|
|
14726
14644
|
var CasesService_1;
|
|
14727
14645
|
// Internal (UI) API
|
|
@@ -16138,9 +16056,6 @@ var CaseBasicAccessViewComponent = /** @class */ (function () {
|
|
|
16138
16056
|
// Navigate to the previous page
|
|
16139
16057
|
window.history.go(-1);
|
|
16140
16058
|
};
|
|
16141
|
-
CaseBasicAccessViewComponent.prototype.getRequestUrl = function (accessType) {
|
|
16142
|
-
return accessType === 'CHALLENGED' ? 'challenged-access-request' : 'specific-access-request';
|
|
16143
|
-
};
|
|
16144
16059
|
__decorate([
|
|
16145
16060
|
core_1.Input(),
|
|
16146
16061
|
__metadata("design:type", domain_1.CaseView)
|
|
@@ -16649,11 +16564,13 @@ var CaseFullAccessViewComponent = /** @class */ (function () {
|
|
|
16649
16564
|
return this.caseDetails.case_type.printEnabled;
|
|
16650
16565
|
};
|
|
16651
16566
|
CaseFullAccessViewComponent.prototype.ngOnDestroy = function () {
|
|
16652
|
-
if (this.activityPollingService.isEnabled) {
|
|
16567
|
+
if (this.activitySubscription && this.activityPollingService.isEnabled) {
|
|
16653
16568
|
this.activitySubscription.unsubscribe();
|
|
16654
16569
|
}
|
|
16655
|
-
this.callbackErrorsSubject
|
|
16656
|
-
|
|
16570
|
+
if (this.callbackErrorsSubject) {
|
|
16571
|
+
this.callbackErrorsSubject.unsubscribe();
|
|
16572
|
+
}
|
|
16573
|
+
if (!this.route.snapshot.data.case && this.caseSubscription) {
|
|
16657
16574
|
this.caseSubscription.unsubscribe();
|
|
16658
16575
|
}
|
|
16659
16576
|
if (this.errorSubscription) {
|
|
@@ -16748,7 +16665,8 @@ var CaseFullAccessViewComponent = /** @class */ (function () {
|
|
|
16748
16665
|
var regExp = new RegExp(CaseFullAccessViewComponent_1.UNICODE_SPACE, 'g');
|
|
16749
16666
|
hashValue = hashValue.replace(regExp, CaseFullAccessViewComponent_1.EMPTY_SPACE);
|
|
16750
16667
|
matTab = this.tabGroup._tabs.find(function (x) {
|
|
16751
|
-
return x.textLabel.replace(CaseFullAccessViewComponent_1.EMPTY_SPACE, '').toLowerCase() ===
|
|
16668
|
+
return x.textLabel.replace(CaseFullAccessViewComponent_1.EMPTY_SPACE, '').toLowerCase() ===
|
|
16669
|
+
hashValue.replace(CaseFullAccessViewComponent_1.EMPTY_SPACE, '').toLowerCase();
|
|
16752
16670
|
});
|
|
16753
16671
|
if (matTab && matTab.position) {
|
|
16754
16672
|
this.tabGroup.selectedIndex = matTab.position;
|
|
@@ -16762,8 +16680,9 @@ var CaseFullAccessViewComponent = /** @class */ (function () {
|
|
|
16762
16680
|
this.router.navigate([id], { relativeTo: this.route });
|
|
16763
16681
|
}
|
|
16764
16682
|
else {
|
|
16683
|
+
var label_1 = tabChangeEvent.tab.textLabel;
|
|
16765
16684
|
this.router.navigate(['cases', 'case-details', this.caseDetails.case_id]).then(function () {
|
|
16766
|
-
window.location.hash =
|
|
16685
|
+
window.location.hash = label_1;
|
|
16767
16686
|
});
|
|
16768
16687
|
}
|
|
16769
16688
|
};
|
|
@@ -17195,6 +17114,7 @@ var CaseViewerModule = /** @class */ (function () {
|
|
|
17195
17114
|
palette_1.EventLogModule,
|
|
17196
17115
|
material_1.MatTabsModule,
|
|
17197
17116
|
palette_1.ComplexModule,
|
|
17117
|
+
forms_1.FormsModule,
|
|
17198
17118
|
forms_1.ReactiveFormsModule,
|
|
17199
17119
|
alert_1.AlertModule
|
|
17200
17120
|
],
|
|
@@ -17680,7 +17600,7 @@ exports.viewerRouting = [
|
|
|
17680
17600
|
component: case_history_1.CaseHistoryComponent,
|
|
17681
17601
|
},
|
|
17682
17602
|
{
|
|
17683
|
-
path: '
|
|
17603
|
+
path: 'access-request',
|
|
17684
17604
|
children: [
|
|
17685
17605
|
{
|
|
17686
17606
|
path: '',
|
|
@@ -18732,45 +18652,6 @@ __export(__webpack_require__(13370));
|
|
|
18732
18652
|
__export(__webpack_require__(62240));
|
|
18733
18653
|
|
|
18734
18654
|
|
|
18735
|
-
/***/ }),
|
|
18736
|
-
|
|
18737
|
-
/***/ 41617:
|
|
18738
|
-
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
18739
|
-
|
|
18740
|
-
"use strict";
|
|
18741
|
-
|
|
18742
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
18743
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
18744
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
18745
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
18746
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
18747
|
-
};
|
|
18748
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
18749
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
18750
|
-
};
|
|
18751
|
-
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
18752
|
-
var core_1 = __webpack_require__(57208);
|
|
18753
|
-
var LoadingSpinnerComponent = /** @class */ (function () {
|
|
18754
|
-
function LoadingSpinnerComponent() {
|
|
18755
|
-
this.loadingText = 'Loading';
|
|
18756
|
-
}
|
|
18757
|
-
__decorate([
|
|
18758
|
-
core_1.Input(),
|
|
18759
|
-
__metadata("design:type", Object)
|
|
18760
|
-
], LoadingSpinnerComponent.prototype, "loadingText", void 0);
|
|
18761
|
-
LoadingSpinnerComponent = __decorate([
|
|
18762
|
-
core_1.Component({
|
|
18763
|
-
selector: 'ccd-loading-spinner',
|
|
18764
|
-
template: __webpack_require__(31851),
|
|
18765
|
-
styles: [__webpack_require__(6431)],
|
|
18766
|
-
encapsulation: core_1.ViewEncapsulation.None
|
|
18767
|
-
})
|
|
18768
|
-
], LoadingSpinnerComponent);
|
|
18769
|
-
return LoadingSpinnerComponent;
|
|
18770
|
-
}());
|
|
18771
|
-
exports.LoadingSpinnerComponent = LoadingSpinnerComponent;
|
|
18772
|
-
|
|
18773
|
-
|
|
18774
18655
|
/***/ }),
|
|
18775
18656
|
|
|
18776
18657
|
/***/ 47174:
|
|
@@ -19372,7 +19253,7 @@ var AbstractFieldReadComponent = /** @class */ (function (_super) {
|
|
|
19372
19253
|
], AbstractFieldReadComponent.prototype, "caseReference", void 0);
|
|
19373
19254
|
__decorate([
|
|
19374
19255
|
core_1.Input(),
|
|
19375
|
-
__metadata("design:type",
|
|
19256
|
+
__metadata("design:type", forms_1.FormGroup)
|
|
19376
19257
|
], AbstractFieldReadComponent.prototype, "topLevelFormGroup", void 0);
|
|
19377
19258
|
__decorate([
|
|
19378
19259
|
core_1.Input(),
|
|
@@ -20652,9 +20533,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
20652
20533
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
20653
20534
|
var core_1 = __webpack_require__(57208);
|
|
20654
20535
|
var directives_1 = __webpack_require__(66395);
|
|
20655
|
-
var domain_1 = __webpack_require__(59346);
|
|
20656
20536
|
var fields_1 = __webpack_require__(64906);
|
|
20657
|
-
var class_transformer_1 = __webpack_require__(86631);
|
|
20658
20537
|
var ReadFieldsFilterPipe = /** @class */ (function () {
|
|
20659
20538
|
function ReadFieldsFilterPipe() {
|
|
20660
20539
|
}
|
|
@@ -20671,26 +20550,10 @@ var ReadFieldsFilterPipe = /** @class */ (function () {
|
|
|
20671
20550
|
var type = field.field_type;
|
|
20672
20551
|
var value = ReadFieldsFilterPipe_1.getValue(field, values);
|
|
20673
20552
|
var hasChildrenWithValue = type.complex_fields.find(function (f) {
|
|
20674
|
-
|
|
20675
|
-
return willKeep && ReadFieldsFilterPipe_1.evaluateConditionalShow(f, value).hidden !== true;
|
|
20553
|
+
return ReadFieldsFilterPipe_1.keepField(f, value);
|
|
20676
20554
|
});
|
|
20677
20555
|
return !!hasChildrenWithValue;
|
|
20678
20556
|
};
|
|
20679
|
-
ReadFieldsFilterPipe.isValidCollection = function (field, values) {
|
|
20680
|
-
var isNotEmpty = Array.isArray(field.value) && field.value.length > 0;
|
|
20681
|
-
if (isNotEmpty && field.field_type.collection_field_type.type === 'Complex') {
|
|
20682
|
-
return !!field.value.find(function (item) {
|
|
20683
|
-
var complexField = class_transformer_1.plainToClassFromExist(new domain_1.CaseField(), {
|
|
20684
|
-
id: field.field_type.collection_field_type.id,
|
|
20685
|
-
field_type: field.field_type.collection_field_type,
|
|
20686
|
-
value: item.value,
|
|
20687
|
-
label: null,
|
|
20688
|
-
});
|
|
20689
|
-
return ReadFieldsFilterPipe_1.isValidComplex(complexField);
|
|
20690
|
-
});
|
|
20691
|
-
}
|
|
20692
|
-
return isNotEmpty;
|
|
20693
|
-
};
|
|
20694
20557
|
ReadFieldsFilterPipe.isEmpty = function (value) {
|
|
20695
20558
|
return ReadFieldsFilterPipe_1.EMPTY_VALUES.indexOf(value) !== -1
|
|
20696
20559
|
|| value.length === 0;
|
|
@@ -20702,10 +20565,9 @@ var ReadFieldsFilterPipe = /** @class */ (function () {
|
|
|
20702
20565
|
return ReadFieldsFilterPipe_1.isCompound(field)
|
|
20703
20566
|
&& ReadFieldsFilterPipe_1.NESTED_TYPES[field.field_type.type](field, value);
|
|
20704
20567
|
};
|
|
20705
|
-
ReadFieldsFilterPipe.keepField = function (field, value
|
|
20706
|
-
if (ignoreLabels === void 0) { ignoreLabels = false; }
|
|
20568
|
+
ReadFieldsFilterPipe.keepField = function (field, value) {
|
|
20707
20569
|
// We shouldn't ditch labels.
|
|
20708
|
-
if (
|
|
20570
|
+
if (field.field_type.type === 'Label' && (field.label || '').length > 0) {
|
|
20709
20571
|
return true;
|
|
20710
20572
|
}
|
|
20711
20573
|
// We also shouldn't ditch CasePaymentHistoryViewer fields.
|
|
@@ -20792,8 +20654,7 @@ var ReadFieldsFilterPipe = /** @class */ (function () {
|
|
|
20792
20654
|
{}
|
|
20793
20655
|
];
|
|
20794
20656
|
ReadFieldsFilterPipe.NESTED_TYPES = {
|
|
20795
|
-
'Complex': ReadFieldsFilterPipe_1.isValidComplex
|
|
20796
|
-
'Collection': ReadFieldsFilterPipe_1.isValidCollection
|
|
20657
|
+
'Complex': ReadFieldsFilterPipe_1.isValidComplex
|
|
20797
20658
|
};
|
|
20798
20659
|
ReadFieldsFilterPipe = ReadFieldsFilterPipe_1 = __decorate([
|
|
20799
20660
|
core_1.Pipe({
|
|
@@ -24669,14 +24530,6 @@ var WriteMultiSelectListFieldComponent = /** @class */ (function (_super) {
|
|
|
24669
24530
|
});
|
|
24670
24531
|
}
|
|
24671
24532
|
this.registerControl(this.checkboxes, true);
|
|
24672
|
-
if (this.caseField.display_context && this.caseField.display_context === 'MANDATORY' && this.caseField.field_type
|
|
24673
|
-
&& this.caseField.field_type.type === 'MultiSelectList' && this.caseField.field_type.fixed_list_items.length > 0
|
|
24674
|
-
&& this.checkboxes.controls.length === 0) {
|
|
24675
|
-
if (this.caseField.field_type.fixed_list_items[0].code) {
|
|
24676
|
-
this.checkboxes.push(new forms_1.FormControl(this.caseField.field_type.fixed_list_items[0].code));
|
|
24677
|
-
this.checkboxes.removeAt(0);
|
|
24678
|
-
}
|
|
24679
|
-
}
|
|
24680
24533
|
};
|
|
24681
24534
|
WriteMultiSelectListFieldComponent.prototype.onCheckChange = function (event) {
|
|
24682
24535
|
var _this = this;
|
|
@@ -28504,16 +28357,18 @@ var WorkbasketFiltersComponent = /** @class */ (function () {
|
|
|
28504
28357
|
var formGroupLS = JSON.parse(this.windowService.getLocalStorage(FORM_GROUP_VAL_LOC_STORAGE));
|
|
28505
28358
|
// Form group local storage is available and contains regionList property
|
|
28506
28359
|
if (util_1.isDefined(formGroupLS) && formGroupLS.hasOwnProperty(REGION_LIST_AND_FRC_FILTER)) {
|
|
28507
|
-
|
|
28508
|
-
|
|
28509
|
-
|
|
28510
|
-
|
|
28511
|
-
|
|
28512
|
-
|
|
28513
|
-
|
|
28514
|
-
|
|
28515
|
-
|
|
28516
|
-
|
|
28360
|
+
if (this.formGroup.get(REGION_LIST_AND_FRC_FILTER)) {
|
|
28361
|
+
// If regionList value does not match between local storage and form group
|
|
28362
|
+
// then the filter value has been changed and we need to clear the old filter values
|
|
28363
|
+
if (formGroupLS[REGION_LIST_AND_FRC_FILTER] !== this.formGroup.get(REGION_LIST_AND_FRC_FILTER).value) {
|
|
28364
|
+
for (var key in formGroupLS) {
|
|
28365
|
+
if (formGroupLS.hasOwnProperty(key)) {
|
|
28366
|
+
var value = formGroupLS[key];
|
|
28367
|
+
// Clear the filter form group control values if it has a value in local storage
|
|
28368
|
+
// The regionList form group control value should be ignored as it always contain the latest value
|
|
28369
|
+
if (key !== REGION_LIST_AND_FRC_FILTER && value != null) {
|
|
28370
|
+
this.formGroup.get(key).setValue(null);
|
|
28371
|
+
}
|
|
28517
28372
|
}
|
|
28518
28373
|
}
|
|
28519
28374
|
}
|
|
@@ -29198,27 +29053,7 @@ var ShowCondition = /** @class */ (function () {
|
|
|
29198
29053
|
if (!this.condition) {
|
|
29199
29054
|
return true;
|
|
29200
29055
|
}
|
|
29201
|
-
return this.matchAndConditions(fields,
|
|
29202
|
-
};
|
|
29203
|
-
/**
|
|
29204
|
-
* Path Name gets updated for complex sub fields
|
|
29205
|
-
* @param path Path name.
|
|
29206
|
-
*/
|
|
29207
|
-
ShowCondition.prototype.updatePathName = function (path) {
|
|
29208
|
-
if (path && path.split(/[_]+/g).length > 0) {
|
|
29209
|
-
var _a = path.split(/[_]+/g), pathName_1 = _a[0], pathTail = _a.slice(1);
|
|
29210
|
-
var pathFinalIndex_1 = pathTail.pop();
|
|
29211
|
-
var pathTailString = pathTail.toString();
|
|
29212
|
-
pathTail = pathTail.map(function (value) {
|
|
29213
|
-
return Number(pathFinalIndex_1) === Number(value) ? pathName_1 : value;
|
|
29214
|
-
});
|
|
29215
|
-
return pathTailString !== pathTail.toString()
|
|
29216
|
-
? pathName_1 + "_" + pathTail.join('_') + "_" + pathFinalIndex_1
|
|
29217
|
-
: path;
|
|
29218
|
-
}
|
|
29219
|
-
else {
|
|
29220
|
-
return path;
|
|
29221
|
-
}
|
|
29056
|
+
return this.matchAndConditions(fields, path);
|
|
29222
29057
|
};
|
|
29223
29058
|
ShowCondition.prototype.matchByContextFields = function (contextFields) {
|
|
29224
29059
|
return this.match(fields_utils_1.FieldsUtils.toValuesMap(contextFields));
|
|
@@ -29433,12 +29268,10 @@ var ConditionalShowRegistrarService = /** @class */ (function () {
|
|
|
29433
29268
|
this.registeredDirectives = [];
|
|
29434
29269
|
}
|
|
29435
29270
|
ConditionalShowRegistrarService.prototype.register = function (newDirective) {
|
|
29436
|
-
// console.log('[', this.registeredDirectives.length, ']adding new directive', newDirective.caseField.id);
|
|
29437
29271
|
this.registeredDirectives.push(newDirective);
|
|
29438
29272
|
};
|
|
29439
29273
|
ConditionalShowRegistrarService.prototype.refresh = function () {
|
|
29440
29274
|
this.registeredDirectives.forEach(function (dir) {
|
|
29441
|
-
// console.log('refreshing ', dir.caseField.id);
|
|
29442
29275
|
dir.refreshVisibility();
|
|
29443
29276
|
});
|
|
29444
29277
|
};
|
|
@@ -34688,13 +34521,6 @@ var FormValueService = /** @class */ (function () {
|
|
|
34688
34521
|
}
|
|
34689
34522
|
else {
|
|
34690
34523
|
sanitisedObject[key] = this.sanitiseValue(rawObject[key]);
|
|
34691
|
-
if (Array.isArray(sanitisedObject[key])) {
|
|
34692
|
-
// If the 'sanitised' array is empty, whereas the original array had 1 or more items
|
|
34693
|
-
// delete the property from the sanatised object
|
|
34694
|
-
if (sanitisedObject[key].length === 0 && rawObject[key].length > 0) {
|
|
34695
|
-
delete sanitisedObject[key];
|
|
34696
|
-
}
|
|
34697
|
-
}
|
|
34698
34524
|
}
|
|
34699
34525
|
}
|
|
34700
34526
|
return sanitisedObject;
|
|
@@ -35322,7 +35148,7 @@ var LoadingService = /** @class */ (function () {
|
|
|
35322
35148
|
}
|
|
35323
35149
|
Object.defineProperty(LoadingService.prototype, "isLoading", {
|
|
35324
35150
|
get: function () {
|
|
35325
|
-
return this.loading.pipe(operators_1.distinctUntilChanged());
|
|
35151
|
+
return this.loading.asObservable().pipe(operators_1.distinctUntilChanged());
|
|
35326
35152
|
},
|
|
35327
35153
|
enumerable: true,
|
|
35328
35154
|
configurable: true
|
|
@@ -37544,21 +37370,6 @@ exports.push([module.id, ".event-trigger{width:auto;margin-top:40px;margin-botto
|
|
|
37544
37370
|
// exports
|
|
37545
37371
|
|
|
37546
37372
|
|
|
37547
|
-
/***/ }),
|
|
37548
|
-
|
|
37549
|
-
/***/ 68929:
|
|
37550
|
-
/***/ ((module, exports, __webpack_require__) => {
|
|
37551
|
-
|
|
37552
|
-
exports = module.exports = __webpack_require__(9252)(false);
|
|
37553
|
-
// imports
|
|
37554
|
-
|
|
37555
|
-
|
|
37556
|
-
// module
|
|
37557
|
-
exports.push([module.id, ".spinner-container{position:fixed;top:0;left:0;height:100%;width:100%;display:flex;justify-content:center;align-items:center;background:rgba(255,255,255,0.5);z-index:99}.spinner-container .spinner-inner-container p{text-align:center}.spinner-container .spinner-inner-container .spinner{border:10px solid #dddddd;border-top:10px solid #000000;border-radius:50%;width:40px;height:40px;animation:spin 1s linear infinite}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg)}}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}\n", ""]);
|
|
37558
|
-
|
|
37559
|
-
// exports
|
|
37560
|
-
|
|
37561
|
-
|
|
37562
37373
|
/***/ }),
|
|
37563
37374
|
|
|
37564
37375
|
/***/ 47029:
|
|
@@ -63646,7 +63457,7 @@ module.exports = "<ng-container ccdConditionalShowForm [formGroup]=\"formGroup\"
|
|
|
63646
63457
|
/***/ 61865:
|
|
63647
63458
|
/***/ ((module) => {
|
|
63648
63459
|
|
|
63649
|
-
module.exports = "<
|
|
63460
|
+
module.exports = "<ng-container *ngIf=\"currentPage\">\n <h1 *ngIf=\"!currentPage.label\" class=\"govuk-heading-l\">{{eventTrigger.name}}</h1>\n <ng-container *ngIf=\"currentPage.label\">\n <span class=\"govuk-caption-l\">{{ eventTrigger.name}}</span>\n <h1 class=\"govuk-heading-l\">{{currentPage.label}}</h1>\n </ng-container>\n</ng-container>\n\n<!--Case ID or Title -->\n<div *ngIf=\"getCaseTitle(); then titleBlock; else idBlock\"></div>\n<ng-template #titleBlock>\n <ccd-markdown [content]=\"getCaseTitle() | ccdCaseTitle: caseFields : editForm.controls['data']\"></ccd-markdown>\n</ng-template>\n<ng-template #idBlock>\n <h2 *ngIf=\"getCaseId()\" class=\"heading-h2\">#{{ getCaseId() | ccdCaseReference }}</h2>\n</ng-template>\n\n<!-- Error message summary -->\n<div *ngIf=\"validationErrors.length > 0\" class=\"govuk-error-summary\" aria-labelledby=\"error-summary-title\" role=\"alert\" tabindex=\"-1\" data-module=\"govuk-error-summary\">\n <h2 class=\"govuk-error-summary__title\" id=\"error-summary-title\">\n There is a problem\n </h2>\n <div *ngFor=\"let validationError of validationErrors\" class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li>\n <a (click)=\"navigateToErrorElement(validationError.id)\" class=\"validation-error\">{{validationError.message}}</a>\n </li>\n </ul>\n </div>\n</div>\n\n<!-- Generic error heading and error message to be displayed only if there are no specific callback errors or warnings, or no error details -->\n<div *ngIf=\"error && !(error.callbackErrors || error.callbackWarnings || error.details)\" class=\"error-summary\"\n role=\"status\" aria-labelledby=\"edit-case-event_error-summary-heading\" tabindex=\"-1\">\n\n <h1 class=\"heading-h1 error-summary-heading\" id=\"edit-case-event_error-summary-heading\">\n Something went wrong\n </h1>\n <div class=\"govuk-error-summary__body\" id=\"edit-case-event_error-summary-body\">\n <p>We're working to fix the problem. Try again shortly.</p>\n <p><a href=\"get-help\" target=\"_blank\">Contact us</a> if you're still having problems.</p>\n </div>\n</div>\n<!-- Event error heading and error message to be displayed if there are specific error details -->\n<div *ngIf=\"error && error.details\" class=\"error-summary\" role=\"status\"\n aria-labelledby=\"edit-case-event_error-summary-heading\" tabindex=\"-1\">\n <h3 class=\"heading-h3 error-summary-heading\" id=\"edit-case-event_error-summary-heading-3\">\n The event could not be created\n </h3>\n <p>{{error.message}}</p>\n <ul *ngIf=\"error.details?.field_errors\" class=\"error-summary-list\">\n <li *ngFor=\"let fieldError of error.details.field_errors\" class=\"ccd-error-summary-li\">{{fieldError.message}}</li>\n </ul>\n</div>\n<ccd-callback-errors\n [triggerTextContinue]=\"triggerTextStart\"\n [triggerTextIgnore]=\"triggerTextIgnoreWarnings\"\n [callbackErrorsSubject]=\"callbackErrorsSubject\"\n (callbackErrorsContext)=\"callbackErrorsNotify($event)\">\n</ccd-callback-errors>\n<div class=\"width-50\">\n <form *ngIf=\"currentPage\" class=\"form\" [formGroup]=\"editForm\" (submit)=\"submit()\">\n <fieldset id=\"fieldset-case-data\">\n <!-- single column -->\n <ccd-case-edit-form id='caseEditForm' *ngIf=\"!currentPage.isMultiColumn()\" [fields]=\"currentPage.getCol1Fields()\"\n [formGroup]=\"editForm.controls['data']\" [caseFields]=\"caseFields\"\n [pageChangeSubject]=\"pageChangeSubject\"\n (valuesChanged)=\"applyValuesChanged($event)\"></ccd-case-edit-form>\n <!-- two columns -->\n <div *ngIf=\"currentPage.isMultiColumn()\" class=\"grid-row\">\n <div class=\"column-two-thirds rightBorderSeparator\">\n <ccd-case-edit-form id='caseEditForm1' [fields]=\"currentPage.getCol1Fields()\"\n [formGroup]=\"editForm.controls['data']\" [caseFields]=\"caseFields\"></ccd-case-edit-form>\n </div>\n <div class=\"column-one-third\">\n <ccd-case-edit-form id='caseEditForm2' [fields]=\"currentPage.getCol2Fields()\"\n [formGroup]=\"editForm.controls['data']\" [caseFields]=\"caseFields\"></ccd-case-edit-form>\n </div>\n </div>\n </fieldset>\n\n <div class=\"form-group form-group-related\">\n <button class=\"button button-secondary\" type=\"button\" [disabled]=\"!(hasPreviousPage$ | async)\" (click)=\"toPreviousPage()\">\n Previous\n </button>\n <button class=\"button\" type=\"submit\" [disabled]=\"submitting()\">{{triggerText}}</button>\n </div>\n\n <p class=\"cancel\"><a (click)=\"cancel()\" href=\"javascript:void(0)\">{{getCancelText()}}</a></p>\n\n </form>\n</div>\n"
|
|
63650
63461
|
|
|
63651
63462
|
/***/ }),
|
|
63652
63463
|
|
|
@@ -63709,7 +63520,7 @@ module.exports = "<div *ngIf=\"isDataLoaded()\">\n <ng-container [ngSwitch]=\
|
|
|
63709
63520
|
/***/ 80734:
|
|
63710
63521
|
/***/ ((module) => {
|
|
63711
63522
|
|
|
63712
|
-
module.exports = "<
|
|
63523
|
+
module.exports = "<form>\n <div>\n <cut-alert type=\"information\">This case requires {{accessType | lowercase}} access.<br />\n <ng-container *ngIf=\"accessType === 'CHALLENGED'\">This is because the case is outside your work area. If you request access to the case, it will be logged for auditing purposes.</ng-container>\n <ng-container *ngIf=\"accessType === 'SPECIFIC'\">This means it's outside your jurisdiction and requires authorisation. If you request access to the case, it will be logged for auditing purposes.</ng-container>\n </cut-alert>\n <h1 class=\"heading-h1\">#{{ caseDetails.case_id | ccdCaseReference}}</h1>\n <h2 class=\"govuk-heading-m\">Case details</h2>\n <dl class=\"govuk-summary-list\">\n <div class=\"govuk-summary-list__row\" *ngIf=\"caseDetails.basicFields?.caseNameHmctsInternal\">\n <dt class=\"govuk-summary-list__key summary-key\">Case name</dt>\n <dd class=\"govuk-summary-list__value\">{{caseDetails.basicFields.caseNameHmctsInternal}}</dd>\n </div>\n <div class=\"govuk-summary-list__row\" *ngIf=\"caseDetails.case_type?.jurisdiction?.name\">\n <dt class=\"govuk-summary-list__key summary-key\">Service</dt>\n <dd class=\"govuk-summary-list__value\">{{caseDetails.case_type.jurisdiction.name}}</dd>\n </div>\n <div class=\"govuk-summary-list__row\" *ngIf=\"caseDetails.state?.description\">\n <dt class=\"govuk-summary-list__key summary-key\">State</dt>\n <dd class=\"govuk-summary-list__value\">{{caseDetails.state.description}}</dd>\n </div>\n <div class=\"govuk-summary-list__row\" *ngIf=\"courtOrHearingCentre\">\n <dt class=\"govuk-summary-list__key summary-key\">Court or hearing centre</dt>\n <dd class=\"govuk-summary-list__value\">{{courtOrHearingCentre | titlecase}}</dd>\n </div>\n\n <div class=\"govuk-summary-list__row\" *ngIf=\"accessType\">\n <dt class=\"govuk-summary-list__key summary-key\">Access</dt>\n <dd class=\"govuk-summary-list__value\">{{accessType | titlecase}}</dd>\n </div>\n </dl>\n </div>\n\n <button class=\"govuk-button govuk-!-margin-right-3\">Request access</button>\n</form>\n<a class=\"govuk-body\" (click)=\"onCancel()\" href=\"javascript:void(0)\">Cancel</a>\n"
|
|
63713
63524
|
|
|
63714
63525
|
/***/ }),
|
|
63715
63526
|
|
|
@@ -63818,13 +63629,6 @@ module.exports = "<form *ngIf=\"triggers && triggers.length\" class=\"event-trig
|
|
|
63818
63629
|
|
|
63819
63630
|
/***/ }),
|
|
63820
63631
|
|
|
63821
|
-
/***/ 31851:
|
|
63822
|
-
/***/ ((module) => {
|
|
63823
|
-
|
|
63824
|
-
module.exports = "<div class=\"spinner-container\">\n <div class=\"spinner-inner-container\">\n <p>{{loadingText}}</p>\n <div class=\"spinner\" style=\"margin: auto;\"></div>\n </div>\n</div>"
|
|
63825
|
-
|
|
63826
|
-
/***/ }),
|
|
63827
|
-
|
|
63828
63632
|
/***/ 6961:
|
|
63829
63633
|
/***/ ((module) => {
|
|
63830
63634
|
|
|
@@ -64500,21 +64304,6 @@ function getStrategyDelay(consecutiveErrorsCount, options) {
|
|
|
64500
64304
|
}
|
|
64501
64305
|
|
|
64502
64306
|
|
|
64503
|
-
/***/ }),
|
|
64504
|
-
|
|
64505
|
-
/***/ 6431:
|
|
64506
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
64507
|
-
|
|
64508
|
-
|
|
64509
|
-
var result = __webpack_require__(68929);
|
|
64510
|
-
|
|
64511
|
-
if (typeof result === "string") {
|
|
64512
|
-
module.exports = result;
|
|
64513
|
-
} else {
|
|
64514
|
-
module.exports = result.toString();
|
|
64515
|
-
}
|
|
64516
|
-
|
|
64517
|
-
|
|
64518
64307
|
/***/ }),
|
|
64519
64308
|
|
|
64520
64309
|
/***/ 5047:
|