@hmcts/ccd-case-ui-toolkit 7.0.0-rc5 → 7.0.0-rc7
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/esm2020/lib/shared/components/case-editor/case-edit/case-edit.component.mjs +3 -3
- package/esm2020/lib/shared/components/case-editor/case-edit-page/case-edit-page.component.mjs +2 -2
- package/esm2020/lib/shared/components/case-editor/case-edit-submit/case-edit-submit.component.mjs +6 -3
- package/esm2020/lib/shared/components/case-editor/services/valid-page-list-caseFields.service.mjs +7 -7
- package/esm2020/lib/shared/components/palette/case-file-view/components/case-file-view-folder-selector/case-file-view-folder-selector.component.mjs +4 -3
- package/esm2020/lib/shared/components/palette/document/write-document-field.component.mjs +2 -16
- package/esm2020/lib/shared/pipes/complex/ccd-read-fields-filter.pipe.mjs +2 -2
- package/esm2020/lib/shared/services/form/form-value.service.mjs +2 -2
- package/fesm2015/hmcts-ccd-case-ui-toolkit.mjs +19 -31
- package/fesm2015/hmcts-ccd-case-ui-toolkit.mjs.map +1 -1
- package/fesm2020/hmcts-ccd-case-ui-toolkit.mjs +19 -29
- package/fesm2020/hmcts-ccd-case-ui-toolkit.mjs.map +1 -1
- package/lib/shared/components/case-editor/case-edit-submit/case-edit-submit.component.d.ts +2 -0
- package/lib/shared/components/case-editor/case-edit-submit/case-edit-submit.component.d.ts.map +1 -1
- package/lib/shared/components/case-editor/services/valid-page-list-caseFields.service.d.ts +2 -2
- package/lib/shared/components/case-editor/services/valid-page-list-caseFields.service.d.ts.map +1 -1
- package/lib/shared/components/palette/case-file-view/components/case-file-view-folder-selector/case-file-view-folder-selector.component.d.ts.map +1 -1
- package/lib/shared/components/palette/document/write-document-field.component.d.ts +0 -1
- package/lib/shared/components/palette/document/write-document-field.component.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -5430,7 +5430,7 @@ class FormValueService {
|
|
|
5430
5430
|
// Retain anything that is readonly and not a label.
|
|
5431
5431
|
continue;
|
|
5432
5432
|
}
|
|
5433
|
-
if (field.hidden === true && field.display_context !== 'HIDDEN' && field.id !== 'caseLinks') {
|
|
5433
|
+
if (field.hidden === true && field.display_context !== 'HIDDEN' && field.id !== 'caseLinks' && !field.retain_hidden_value) {
|
|
5434
5434
|
// Delete anything that is hidden (that is NOT readonly), and that
|
|
5435
5435
|
// hasn't had its display_context overridden to make it hidden.
|
|
5436
5436
|
delete data[field.id];
|
|
@@ -8393,13 +8393,13 @@ class ValidPageListCaseFieldsService {
|
|
|
8393
8393
|
constructor(fieldsUtils) {
|
|
8394
8394
|
this.fieldsUtils = fieldsUtils;
|
|
8395
8395
|
}
|
|
8396
|
-
isShown(page, eventTriggerFields,
|
|
8396
|
+
isShown(page, eventTriggerFields, formFields) {
|
|
8397
8397
|
const fields = this.fieldsUtils
|
|
8398
|
-
.mergeCaseFieldsAndFormFields(eventTriggerFields,
|
|
8398
|
+
.mergeCaseFieldsAndFormFields(eventTriggerFields, formFields);
|
|
8399
8399
|
return page.parsedShowCondition.match(fields);
|
|
8400
8400
|
}
|
|
8401
|
-
deleteNonValidatedFields(validPageList, caseEventDatadata, eventTriggerFields, fromPreviousPage
|
|
8402
|
-
const pageListCaseFields = this.validPageListCaseFields(validPageList,
|
|
8401
|
+
deleteNonValidatedFields(validPageList, caseEventDatadata, eventTriggerFields, fromPreviousPage, formFields) {
|
|
8402
|
+
const pageListCaseFields = this.validPageListCaseFields(validPageList, eventTriggerFields, formFields);
|
|
8403
8403
|
if (!fromPreviousPage && pageListCaseFields.length > 0) {
|
|
8404
8404
|
Object.keys(caseEventDatadata).forEach(key => {
|
|
8405
8405
|
if (pageListCaseFields.findIndex((element) => element.id === key) < 0) {
|
|
@@ -8408,10 +8408,10 @@ class ValidPageListCaseFieldsService {
|
|
|
8408
8408
|
});
|
|
8409
8409
|
}
|
|
8410
8410
|
}
|
|
8411
|
-
validPageListCaseFields(validPageList,
|
|
8411
|
+
validPageListCaseFields(validPageList, eventTriggerFields, formFields) {
|
|
8412
8412
|
const validPageListCaseFields = [];
|
|
8413
8413
|
validPageList.forEach(page => {
|
|
8414
|
-
if (this.isShown(page, eventTriggerFields,
|
|
8414
|
+
if (this.isShown(page, eventTriggerFields, formFields)) {
|
|
8415
8415
|
page.case_fields.forEach(field => validPageListCaseFields.push(field));
|
|
8416
8416
|
}
|
|
8417
8417
|
});
|
|
@@ -8609,8 +8609,8 @@ class CaseEditComponent {
|
|
|
8609
8609
|
// Remove "Launcher"-type fields (these have no values and are not intended to be persisted)
|
|
8610
8610
|
this.formValueService.removeCaseFieldsOfType(caseEventData.data, eventTrigger.case_fields, ['FlagLauncher', 'ComponentLauncher']);
|
|
8611
8611
|
// delete fields which are not part of the case event journey wizard pages case fields
|
|
8612
|
-
this.validPageListCaseFieldsService.deleteNonValidatedFields(this.validPageList, caseEventData.data, eventTrigger.case_fields, false);
|
|
8613
|
-
const pageListCaseFields = this.validPageListCaseFieldsService.validPageListCaseFields(this.validPageList,
|
|
8612
|
+
this.validPageListCaseFieldsService.deleteNonValidatedFields(this.validPageList, caseEventData.data, eventTrigger.case_fields, false, form.controls['data'].value);
|
|
8613
|
+
const pageListCaseFields = this.validPageListCaseFieldsService.validPageListCaseFields(this.validPageList, eventTrigger.case_fields, form.controls['data'].value);
|
|
8614
8614
|
// Remove unnecessary case fields which are hidden, only if the submission is *not* for Case Flags
|
|
8615
8615
|
if (!this.isCaseFlagSubmission) {
|
|
8616
8616
|
this.formValueService.removeUnnecessaryFields(caseEventData.data, pageListCaseFields, true, true);
|
|
@@ -9822,7 +9822,7 @@ class CaseEditPageComponent {
|
|
|
9822
9822
|
// Get hold of the CaseEventData.
|
|
9823
9823
|
const caseEventData = this.formValueService.sanitise(formFields);
|
|
9824
9824
|
// delete fields which are not part of the case event journey wizard pages case fields
|
|
9825
|
-
this.validPageListCaseFieldsService.deleteNonValidatedFields(this.caseEdit.validPageList, caseEventData.data, this.eventTrigger.case_fields, fromPreviousPage);
|
|
9825
|
+
this.validPageListCaseFieldsService.deleteNonValidatedFields(this.caseEdit.validPageList, caseEventData.data, this.eventTrigger.case_fields, fromPreviousPage, this.editForm.controls['data'].value);
|
|
9826
9826
|
// Tidy it up before we return it.
|
|
9827
9827
|
this.formValueService.removeUnnecessaryFields(caseEventData.data, caseFields, clearEmpty, clearNonCase, fromPreviousPage, this.currentPage.case_fields);
|
|
9828
9828
|
return caseEventData;
|
|
@@ -12486,15 +12486,6 @@ class WriteDocumentFieldComponent extends AbstractFieldWriteComponent {
|
|
|
12486
12486
|
this.jurisdictionService = jurisdictionService;
|
|
12487
12487
|
this.valid = true;
|
|
12488
12488
|
}
|
|
12489
|
-
clickout(event) {
|
|
12490
|
-
// Capturing the event of the associated ElementRef <input type="file" #fileInpu
|
|
12491
|
-
if (this.fileInput.nativeElement.contains(event.target)) {
|
|
12492
|
-
this.clickInsideTheDocument = true;
|
|
12493
|
-
}
|
|
12494
|
-
else {
|
|
12495
|
-
this.fileValidations();
|
|
12496
|
-
}
|
|
12497
|
-
}
|
|
12498
12489
|
ngOnInit() {
|
|
12499
12490
|
this.secureModeOn = this.appConfig.getDocumentSecureMode();
|
|
12500
12491
|
if (this.secureModeOn) {
|
|
@@ -12754,8 +12745,6 @@ WriteDocumentFieldComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
|
|
|
12754
12745
|
} if (rf & 2) {
|
|
12755
12746
|
let _t;
|
|
12756
12747
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.fileInput = _t.first);
|
|
12757
|
-
} }, hostBindings: function WriteDocumentFieldComponent_HostBindings(rf, ctx) { if (rf & 1) {
|
|
12758
|
-
i0.ɵɵlistener("click", function WriteDocumentFieldComponent_click_HostBindingHandler($event) { return ctx.clickout($event); }, false, i0.ɵɵresolveDocument);
|
|
12759
12748
|
} }, features: [i0.ɵɵInheritDefinitionFeature], decls: 19, vars: 22, consts: [[1, "form-group", 3, "ngClass"], [3, "for"], [1, "form-label"], ["class", "form-hint", 4, "ngIf"], ["class", "error-message", 4, "ngIf"], [3, "caseField", 4, "ngIf"], [2, "position", "relative"], [3, "id", "click"], ["type", "file", 1, "form-control", "bottom-30", 3, "id", "accept", "keydown.Tab", "change"], ["fileInput", ""], [1, "form-group", "bottom-30"], ["type", "button", "aria-label", "Cancel upload", 1, "button", "button-secondary", 3, "disabled", "click"], [1, "form-hint"], [1, "error-message"], [3, "caseField"]], template: function WriteDocumentFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
12760
12749
|
i0.ɵɵelementStart(0, "div", 0)(1, "label", 1)(2, "span", 2);
|
|
12761
12750
|
i0.ɵɵpipe(3, "ccdFieldLabel");
|
|
@@ -12809,9 +12798,6 @@ WriteDocumentFieldComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
|
|
|
12809
12798
|
}], function () { return [{ type: AbstractAppConfig }, { type: CaseNotifier }, { type: DocumentManagementService }, { type: i1$4.MatLegacyDialog }, { type: FileUploadStateService }, { type: JurisdictionService }]; }, { fileInput: [{
|
|
12810
12799
|
type: ViewChild,
|
|
12811
12800
|
args: ['fileInput', { static: false }]
|
|
12812
|
-
}], clickout: [{
|
|
12813
|
-
type: HostListener,
|
|
12814
|
-
args: ['document:click', ['$event']]
|
|
12815
12801
|
}] }); })();
|
|
12816
12802
|
|
|
12817
12803
|
class DynamicListPipe {
|
|
@@ -18071,7 +18057,7 @@ class CaseFileViewFolderSelectorComponent {
|
|
|
18071
18057
|
}
|
|
18072
18058
|
ngAfterViewInit() {
|
|
18073
18059
|
const path = this.findPath();
|
|
18074
|
-
path.forEach(p => document.getElementById(p).checked = true);
|
|
18060
|
+
path.forEach((p) => document.getElementById(p).checked = true);
|
|
18075
18061
|
}
|
|
18076
18062
|
handleChange(evt) {
|
|
18077
18063
|
if (evt.target.checked) {
|
|
@@ -18102,9 +18088,10 @@ class CaseFileViewFolderSelectorComponent {
|
|
|
18102
18088
|
return r;
|
|
18103
18089
|
}
|
|
18104
18090
|
}
|
|
18091
|
+
return [];
|
|
18105
18092
|
}
|
|
18106
18093
|
containsDocument(cat, document) {
|
|
18107
|
-
if (cat.documents.findIndex(doc => doc.document_binary_url === document.document_binary_url) > -1) {
|
|
18094
|
+
if (cat.documents.findIndex((doc) => doc.document_binary_url === document.document_binary_url) > -1) {
|
|
18108
18095
|
return [cat.category_id];
|
|
18109
18096
|
}
|
|
18110
18097
|
for (const c of cat.sub_categories) {
|
|
@@ -21974,7 +21961,7 @@ class ReadFieldsFilterPipe {
|
|
|
21974
21961
|
let checkConditionalShowAgainst = values;
|
|
21975
21962
|
let formGroupAvailable = false;
|
|
21976
21963
|
if (formGroup) {
|
|
21977
|
-
checkConditionalShowAgainst = formGroup.parent.getRawValue().data;
|
|
21964
|
+
checkConditionalShowAgainst = formGroup.value ? formGroup.parent.getRawValue().data : formGroup;
|
|
21978
21965
|
formGroupAvailable = true;
|
|
21979
21966
|
if (idPrefix !== undefined) {
|
|
21980
21967
|
if (idPrefix !== '') {
|
|
@@ -22918,7 +22905,7 @@ function CaseEditSubmitComponent_div_0_ng_container_11_ng_container_7_ng_contain
|
|
|
22918
22905
|
const page_r13 = i0.ɵɵnextContext().$implicit;
|
|
22919
22906
|
const ctx_r14 = i0.ɵɵnextContext(3);
|
|
22920
22907
|
i0.ɵɵadvance(1);
|
|
22921
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(2, 1, i0.ɵɵpipeBindV(3, 3, i0.ɵɵpureFunction2(12, _c0$f, i0.ɵɵpipeBind2(4, 9, page_r13, ctx_r14.editForm), ctx_r14.
|
|
22908
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(2, 1, i0.ɵɵpipeBindV(3, 3, i0.ɵɵpureFunction2(12, _c0$f, i0.ɵɵpipeBind2(4, 9, page_r13, ctx_r14.editForm), ctx_r14.allFieldsValues))));
|
|
22922
22909
|
} }
|
|
22923
22910
|
function CaseEditSubmitComponent_div_0_ng_container_11_ng_container_7_Template(rf, ctx) { if (rf & 1) {
|
|
22924
22911
|
i0.ɵɵelementContainerStart(0);
|
|
@@ -23123,6 +23110,9 @@ class CaseEditSubmitComponent {
|
|
|
23123
23110
|
this.showSummaryFields = this.sortFieldsByShowSummaryContent(this.eventTrigger.case_fields);
|
|
23124
23111
|
this.caseEdit.isSubmitting = false;
|
|
23125
23112
|
this.contextFields = this.getCaseFields();
|
|
23113
|
+
this.metadataFieldsObject = this.caseEdit?.caseDetails?.metadataFields?.
|
|
23114
|
+
reduce((o, key) => Object.assign(o, { [key.id]: key.value }), {});
|
|
23115
|
+
this.allFieldsValues = Object.assign(this.metadataFieldsObject ? this.metadataFieldsObject : {}, this.editForm.getRawValue().data);
|
|
23126
23116
|
// Indicates if the submission is for a Case Flag, as opposed to a "regular" form submission, by the presence of
|
|
23127
23117
|
// a FlagLauncher field in the event trigger
|
|
23128
23118
|
this.caseEdit.isCaseFlagSubmission =
|
|
@@ -23299,7 +23289,7 @@ CaseEditSubmitComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Cas
|
|
|
23299
23289
|
} }, styles: ["#fieldset-case-data[_ngcontent-%COMP%]{margin-bottom:30px}#fieldset-case-data[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{width:1%;white-space:nowrap;vertical-align:top}.compound-field[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:0}#confirmation-header[_ngcontent-%COMP%]{width:630px;background-color:#17958b;border:solid 1px #979797;color:#fff;text-align:center}#confirmation-body[_ngcontent-%COMP%]{width:630px;background-color:#fff}.valign-top[_ngcontent-%COMP%]{vertical-align:top}.summary-fields[_ngcontent-%COMP%]{margin-bottom:30px}.summary-fields[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%], .summary-fields[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom:0px}a.disabled[_ngcontent-%COMP%]{pointer-events:none;cursor:default}.case-field-label[_ngcontent-%COMP%]{width:45%}.case-field-content[_ngcontent-%COMP%]{width:50%}.case-field-change[_ngcontent-%COMP%]{width:5%}"] });
|
|
23300
23290
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseEditSubmitComponent, [{
|
|
23301
23291
|
type: Component,
|
|
23302
|
-
args: [{ selector: 'ccd-case-edit-submit', template: "<div *ngIf=\"!caseEdit.isEventCompletionChecksRequired\">\n <!-- Event trigger name -->\n <h1 class=\"govuk-heading-l\">{{ eventTrigger.name}}</h1>\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: contextFields : 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 <ccd-case-edit-generic-errors [error]=\"caseEdit.error\"></ccd-case-edit-generic-errors>\n\n <ccd-callback-errors [callbackErrorsSubject]=\"caseEdit.callbackErrorsSubject\"\n (callbackErrorsContext)=\"callbackErrorsNotify($event)\"></ccd-callback-errors>\n\n <form class=\"check-your-answers\" [formGroup]=\"editForm\" (submit)=\"submit()\">\n <ng-container *ngIf=\"checkYourAnswerFieldsToDisplayExists()\">\n\n <h2 class=\"heading-h2\">{{pageTitle | rpxTranslate }}</h2>\n <span class=\"text-16\" *ngIf=\"!caseEdit.isCaseFlagSubmission\">{{'Check the information below carefully.' | rpxTranslate}}</span>\n\n <table class=\"form-table\" aria-describedby=\"check your answers table\">\n <tbody>\n <ng-container *ngFor=\"let page of wizard.pages\">\n <ng-container *ngIf=\"isShown(page)\">\n <ng-container *ngFor=\"let field of page\n | ccdPageFields: editForm\n | ccdReadFieldsFilter: false :undefined :true :
|
|
23292
|
+
args: [{ selector: 'ccd-case-edit-submit', template: "<div *ngIf=\"!caseEdit.isEventCompletionChecksRequired\">\n <!-- Event trigger name -->\n <h1 class=\"govuk-heading-l\">{{ eventTrigger.name}}</h1>\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: contextFields : 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 <ccd-case-edit-generic-errors [error]=\"caseEdit.error\"></ccd-case-edit-generic-errors>\n\n <ccd-callback-errors [callbackErrorsSubject]=\"caseEdit.callbackErrorsSubject\"\n (callbackErrorsContext)=\"callbackErrorsNotify($event)\"></ccd-callback-errors>\n\n <form class=\"check-your-answers\" [formGroup]=\"editForm\" (submit)=\"submit()\">\n <ng-container *ngIf=\"checkYourAnswerFieldsToDisplayExists()\">\n\n <h2 class=\"heading-h2\">{{pageTitle | rpxTranslate }}</h2>\n <span class=\"text-16\" *ngIf=\"!caseEdit.isCaseFlagSubmission\">{{'Check the information below carefully.' | rpxTranslate}}</span>\n\n <table class=\"form-table\" aria-describedby=\"check your answers table\">\n <tbody>\n <ng-container *ngFor=\"let page of wizard.pages\">\n <ng-container *ngIf=\"isShown(page)\">\n <ng-container *ngFor=\"let field of page\n | ccdPageFields: editForm\n | ccdReadFieldsFilter: false :undefined :true :allFieldsValues\n | ccdCYAPageLabelFilter\">\n <ng-container *ngIf=\"canShowFieldInCYA(field)\">\n <tr ccdLabelSubstitutor [caseField]=\"field\" [hidden]=\"field.hidden\"\n [formGroup]=\"editForm.controls['data']\" [contextFields]=\"contextFields\">\n <th *ngIf=\"!isLabel(field) && !caseEdit.isCaseFlagSubmission\" class=\"valign-top case-field-label\"><span class=\"text-16\">{{field.label}}</span></th>\n <td class=\"form-cell case-field-content\" [attr.colspan]=\"isLabel(field) ? '2' : '1'\">\n <ccd-field-read\n [formGroup]=\"editForm.controls['data']\" [topLevelFormGroup]=\"editForm.controls['data']\"\n [caseField]=\"summaryCaseField(field)\" [context]=\"paletteContext\" [caseFields]=\"contextFields\"></ccd-field-read>\n </td>\n <td class=\"valign-top check-your-answers__change case-field-change\">\n <a *ngIf=\"isChangeAllowed(field)\" (click)=\"navigateToPage(page.id)\"\n href=\"javascript:void(0)\"><span class=\"text-16\" attr.aria-label=\"Change {{ field.label }}\">Change</span></a>\n </td>\n </tr>\n </ng-container>\n </ng-container>\n </ng-container>\n </ng-container>\n </tbody>\n </table>\n </ng-container>\n <ng-container *ngIf=\"readOnlySummaryFieldsToDisplayExists()\">\n\n <table class=\"summary-fields\" aria-describedby=\"summary fields table\">\n <tbody>\n <ng-container *ngFor=\"let field of showSummaryFields\">\n <ng-container [ngSwitch]=\"!(field | ccdIsCompound)\">\n <tr *ngSwitchCase=\"true\" ccdLabelSubstitutor [caseField]=\"field\" [formGroup]=\"editForm.controls['data']\" [contextFields]=\"contextFields\">\n <th id=\"summary-field-label\">{{field.label}}</th>\n <td class=\"form-cell\">\n <ccd-field-read [formGroup]=\"editForm.controls['data']\" [caseField]=\"summaryCaseField(field)\"></ccd-field-read>\n </td>\n </tr>\n <tr *ngSwitchCase=\"false\" class=\"compound-field\" ccdLabelSubstitutor [caseField]=\"field\" [formGroup]=\"editForm.controls['data']\" [contextFields]=\"contextFields\">\n <td colspan=\"2\">\n <ccd-field-read [formGroup]=\"editForm.controls['data']\" [caseField]=\"summaryCaseField(field)\" [caseFields]=\"contextFields\"></ccd-field-read>\n </td>\n </tr>\n </ng-container>\n </ng-container>\n </tbody>\n </table>\n </ng-container>\n <ng-container *ngIf=\"showEventNotes()\">\n <fieldset id=\"fieldset-event\" formGroupName=\"event\" *ngIf=\"profile && !isSolicitor()\">\n <legend style=\"display: none;\"></legend>\n <div class=\"form-group\">\n <label for=\"field-trigger-summary\" class=\"form-label\">\n Event summary (optional)\n <span class=\"form-hint\">A few words describing the purpose of the event.</span>\n </label>\n <input type=\"text\" id=\"field-trigger-summary\" class=\"form-control bottom-30 width-50\" formControlName=\"summary\" maxlength=\"1024\">\n </div>\n <div class=\"form-group\">\n <label for=\"field-trigger-description\" class=\"form-label\">Event description (optional)</label>\n <textarea id=\"field-trigger-description\" class=\"form-control bottom-30 width-50\" formControlName=\"description\"\n maxlength=\"65536\"></textarea>\n </div>\n </fieldset>\n </ng-container>\n <div class=\"form-group form-group-related\">\n <button class=\"button button-secondary\" type=\"button\" [disabled]=\"!hasPrevious() || caseEdit.isSubmitting\" (click)=\"previous()\">Previous</button>\n <button type=\"submit\" [disabled]=\"isDisabled\" class=\"button\">{{triggerText}}</button>\n </div>\n <p class=\"cancel\"><a (click)=\"cancel()\" href=\"javascript:void(0)\" [class.disabled]=\"caseEdit.isSubmitting\">{{getCancelText()}}</a></p>\n </form>\n</div>\n<ccd-case-event-completion *ngIf=\"caseEdit.isEventCompletionChecksRequired\"\n [eventCompletionParams]=\"caseEdit.eventCompletionParams\"\n (eventCanBeCompleted)=\"onEventCanBeCompleted($event)\">\n</ccd-case-event-completion>\n", styles: ["#fieldset-case-data{margin-bottom:30px}#fieldset-case-data th{width:1%;white-space:nowrap;vertical-align:top}.compound-field td{padding:0}#confirmation-header{width:630px;background-color:#17958b;border:solid 1px #979797;color:#fff;text-align:center}#confirmation-body{width:630px;background-color:#fff}.valign-top{vertical-align:top}.summary-fields{margin-bottom:30px}.summary-fields tbody tr th,.summary-fields tbody tr td{border-bottom:0px}a.disabled{pointer-events:none;cursor:default}.case-field-label{width:45%}.case-field-content{width:50%}.case-field-change{width:5%}\n"] }]
|
|
23303
23293
|
}], function () { return [{ type: CaseEditComponent }, { type: FieldsUtils }, { type: CaseFieldService }, { type: i1$2.ActivatedRoute }, { type: OrderService }, { type: ProfileNotifier }]; }, null); })();
|
|
23304
23294
|
|
|
23305
23295
|
function CaseProgressComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|