@hmcts/ccd-case-ui-toolkit 6.16.0-create-qualifying-questions-continue-raise-a-query-v2 → 6.16.0-create-qualifying-questions-component-step-2

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 (25) hide show
  1. package/bundles/hmcts-ccd-case-ui-toolkit.umd.js +144 -97
  2. package/bundles/hmcts-ccd-case-ui-toolkit.umd.js.map +1 -1
  3. package/bundles/hmcts-ccd-case-ui-toolkit.umd.min.js +1 -1
  4. package/bundles/hmcts-ccd-case-ui-toolkit.umd.min.js.map +1 -1
  5. package/esm2015/lib/shared/components/palette/palette.module.js +8 -5
  6. package/esm2015/lib/shared/components/palette/query-management/components/index.js +3 -2
  7. package/esm2015/lib/shared/components/palette/query-management/components/qualifying-questions/qualifying-question-detail/qualifying-question-detail.component.js +45 -0
  8. package/esm2015/lib/shared/components/palette/query-management/components/qualifying-questions/qualifying-question-options/qualifying-question-options.component.js +102 -0
  9. package/esm2015/lib/shared/components/palette/query-management/models/query-list/query-list-response-status.enum.js +4 -3
  10. package/fesm2015/hmcts-ccd-case-ui-toolkit.js +120 -85
  11. package/fesm2015/hmcts-ccd-case-ui-toolkit.js.map +1 -1
  12. package/lib/shared/components/palette/palette.module.d.ts +31 -30
  13. package/lib/shared/components/palette/palette.module.d.ts.map +1 -1
  14. package/lib/shared/components/palette/query-management/components/index.d.ts +2 -1
  15. package/lib/shared/components/palette/query-management/components/index.d.ts.map +1 -1
  16. package/lib/shared/components/palette/query-management/components/qualifying-questions/qualifying-question-detail/qualifying-question-detail.component.d.ts +8 -0
  17. package/lib/shared/components/palette/query-management/components/qualifying-questions/qualifying-question-detail/qualifying-question-detail.component.d.ts.map +1 -0
  18. package/lib/shared/components/palette/query-management/components/qualifying-questions/qualifying-question-options/qualifying-question-options.component.d.ts +15 -0
  19. package/lib/shared/components/palette/query-management/components/qualifying-questions/qualifying-question-options/qualifying-question-options.component.d.ts.map +1 -0
  20. package/lib/shared/components/palette/query-management/models/query-list/query-list-response-status.enum.d.ts +4 -3
  21. package/lib/shared/components/palette/query-management/models/query-list/query-list-response-status.enum.d.ts.map +1 -1
  22. package/package.json +1 -1
  23. package/esm2015/lib/shared/components/palette/query-management/components/qualifying-questions/qualifying-questions.component.js +0 -111
  24. package/lib/shared/components/palette/query-management/components/qualifying-questions/qualifying-questions.component.d.ts +0 -15
  25. package/lib/shared/components/palette/query-management/components/qualifying-questions/qualifying-questions.component.d.ts.map +0 -1
@@ -20296,6 +20296,106 @@
20296
20296
  ]
20297
20297
  });
20298
20298
 
20299
+ var MarkdownComponent = /** @class */ (function () {
20300
+ function MarkdownComponent() {
20301
+ }
20302
+ MarkdownComponent.prototype.ngOnInit = function () {
20303
+ this.content = this.content.replace(/ \n/g, '<br>');
20304
+ };
20305
+ MarkdownComponent.prototype.onMarkdownClick = function (event) {
20306
+ // If we don't have an anchor tag, we don't need to do anything.
20307
+ if (event.target instanceof HTMLAnchorElement === false) {
20308
+ return;
20309
+ }
20310
+ return true;
20311
+ };
20312
+ return MarkdownComponent;
20313
+ }());
20314
+ MarkdownComponent.ɵfac = function MarkdownComponent_Factory(t) { return new (t || MarkdownComponent)(); };
20315
+ MarkdownComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: MarkdownComponent, selectors: [["ccd-markdown"]], hostBindings: function MarkdownComponent_HostBindings(rf, ctx) {
20316
+ if (rf & 1) {
20317
+ i0__namespace.ɵɵlistener("click", function MarkdownComponent_click_HostBindingHandler($event) { return ctx.onMarkdownClick($event); });
20318
+ }
20319
+ }, inputs: { content: "content", markdownUseHrefAsRouterLink: "markdownUseHrefAsRouterLink" }, decls: 3, vars: 3, consts: [[1, "markdown", 3, "innerHTML"]], template: function MarkdownComponent_Template(rf, ctx) {
20320
+ if (rf & 1) {
20321
+ i0__namespace.ɵɵelementStart(0, "div");
20322
+ i0__namespace.ɵɵelement(1, "markdown", 0);
20323
+ i0__namespace.ɵɵpipe(2, "ccdCaseReference");
20324
+ i0__namespace.ɵɵelementEnd();
20325
+ }
20326
+ if (rf & 2) {
20327
+ i0__namespace.ɵɵadvance(1);
20328
+ i0__namespace.ɵɵproperty("innerHTML", i0__namespace.ɵɵpipeBind1(2, 1, ctx.content), i0__namespace.ɵɵsanitizeHtml);
20329
+ }
20330
+ }, directives: [i1__namespace$4.NgxMdComponent], pipes: [CaseReferencePipe], encapsulation: 2 });
20331
+ (function () {
20332
+ (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(MarkdownComponent, [{
20333
+ type: i0.Component,
20334
+ args: [{
20335
+ selector: 'ccd-markdown',
20336
+ templateUrl: './markdown.html'
20337
+ }]
20338
+ }], function () { return []; }, { content: [{
20339
+ type: i0.Input
20340
+ }], markdownUseHrefAsRouterLink: [{
20341
+ type: i0.Input
20342
+ }], onMarkdownClick: [{
20343
+ type: i0.HostListener,
20344
+ args: ['click', ['$event']]
20345
+ }] });
20346
+ })();
20347
+
20348
+ function QualifyingQuestionDetailComponent_ng_container_0_Template(rf, ctx) {
20349
+ if (rf & 1) {
20350
+ i0__namespace.ɵɵelementContainerStart(0);
20351
+ i0__namespace.ɵɵelementStart(1, "span", 1);
20352
+ i0__namespace.ɵɵtext(2);
20353
+ i0__namespace.ɵɵpipe(3, "rpxTranslate");
20354
+ i0__namespace.ɵɵelementEnd();
20355
+ i0__namespace.ɵɵelementStart(4, "h1", 2);
20356
+ i0__namespace.ɵɵtext(5);
20357
+ i0__namespace.ɵɵpipe(6, "rpxTranslate");
20358
+ i0__namespace.ɵɵelementEnd();
20359
+ i0__namespace.ɵɵelement(7, "ccd-markdown", 3);
20360
+ i0__namespace.ɵɵpipe(8, "rpxTranslate");
20361
+ i0__namespace.ɵɵelementContainerEnd();
20362
+ }
20363
+ if (rf & 2) {
20364
+ var ctx_r0 = i0__namespace.ɵɵnextContext();
20365
+ i0__namespace.ɵɵadvance(2);
20366
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(3, 3, "Are you contacting us about any of the following:"), " ");
20367
+ i0__namespace.ɵɵadvance(3);
20368
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(6, 5, ctx_r0.qualifyingQuestion.name), " ");
20369
+ i0__namespace.ɵɵadvance(2);
20370
+ i0__namespace.ɵɵproperty("content", i0__namespace.ɵɵpipeBind1(8, 7, ctx_r0.qualifyingQuestion.markdown));
20371
+ }
20372
+ }
20373
+ var QualifyingQuestionDetailComponent = /** @class */ (function () {
20374
+ function QualifyingQuestionDetailComponent() {
20375
+ }
20376
+ return QualifyingQuestionDetailComponent;
20377
+ }());
20378
+ QualifyingQuestionDetailComponent.ɵfac = function QualifyingQuestionDetailComponent_Factory(t) { return new (t || QualifyingQuestionDetailComponent)(); };
20379
+ QualifyingQuestionDetailComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QualifyingQuestionDetailComponent, selectors: [["ccd-qualifying-question-detail"]], inputs: { qualifyingQuestion: "qualifyingQuestion" }, decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "govuk-caption-l"], [1, "govuk-heading-l"], [3, "content"]], template: function QualifyingQuestionDetailComponent_Template(rf, ctx) {
20380
+ if (rf & 1) {
20381
+ i0__namespace.ɵɵtemplate(0, QualifyingQuestionDetailComponent_ng_container_0_Template, 9, 9, "ng-container", 0);
20382
+ }
20383
+ if (rf & 2) {
20384
+ i0__namespace.ɵɵproperty("ngIf", ctx.qualifyingQuestion == null ? null : ctx.qualifyingQuestion.markdown);
20385
+ }
20386
+ }, directives: [i5__namespace.NgIf, MarkdownComponent], pipes: [i1__namespace.RpxTranslatePipe], encapsulation: 2 });
20387
+ (function () {
20388
+ (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(QualifyingQuestionDetailComponent, [{
20389
+ type: i0.Component,
20390
+ args: [{
20391
+ selector: 'ccd-qualifying-question-detail',
20392
+ templateUrl: './qualifying-question-detail.component.html'
20393
+ }]
20394
+ }], null, { qualifyingQuestion: [{
20395
+ type: i0.Input
20396
+ }] });
20397
+ })();
20398
+
20299
20399
  exports.RaiseQueryErrorMessage = void 0;
20300
20400
  (function (RaiseQueryErrorMessage) {
20301
20401
  RaiseQueryErrorMessage["FULL_NAME"] = "Enter a full name";
@@ -20399,36 +20499,41 @@
20399
20499
 
20400
20500
  exports.QueryItemType = void 0;
20401
20501
  (function (QueryItemType) {
20402
- QueryItemType["NEW"] = "New";
20502
+ QueryItemType["NEW_QUERY_QUALIFYING_QUESTION_OPTIONS"] = "NewQueryQualifyingQuestionOptions";
20503
+ QueryItemType["NEW_QUERY_QUALIFYING_QUESTION_DETAIL"] = "NewQueryQualifyingQuestionDetail";
20504
+ QueryItemType["NEW_QUERY"] = "NewQuery";
20403
20505
  QueryItemType["RESPOND"] = "Respond";
20404
20506
  QueryItemType["FOLLOWUP"] = "Followup";
20405
- QueryItemType["NONE"] = "none";
20406
20507
  })(exports.QueryItemType || (exports.QueryItemType = {}));
20407
20508
 
20408
- function QualifyingQuestionsComponent_ng_container_0_ng_container_7_Template(rf, ctx) {
20509
+ function QualifyingQuestionOptionsComponent_ng_container_0_ng_container_7_Template(rf, ctx) {
20409
20510
  if (rf & 1) {
20410
20511
  i0__namespace.ɵɵelementContainerStart(0);
20411
- i0__namespace.ɵɵelementStart(1, "p", 10);
20412
- i0__namespace.ɵɵelementStart(2, "span", 11);
20413
- i0__namespace.ɵɵtext(3, "Error: ");
20512
+ i0__namespace.ɵɵelementStart(1, "p", 7);
20513
+ i0__namespace.ɵɵelementStart(2, "span", 8);
20514
+ i0__namespace.ɵɵtext(3);
20515
+ i0__namespace.ɵɵpipe(4, "rpxTranslate");
20414
20516
  i0__namespace.ɵɵelementEnd();
20415
- i0__namespace.ɵɵtext(4);
20416
- i0__namespace.ɵɵpipe(5, "rpxTranslate");
20517
+ i0__namespace.ɵɵtext(5);
20518
+ i0__namespace.ɵɵpipe(6, "rpxTranslate");
20417
20519
  i0__namespace.ɵɵelementEnd();
20418
20520
  i0__namespace.ɵɵelementContainerEnd();
20419
20521
  }
20420
20522
  if (rf & 2) {
20421
20523
  var ctx_r1 = i0__namespace.ɵɵnextContext(2);
20422
- i0__namespace.ɵɵadvance(4);
20423
- i0__namespace.ɵɵtextInterpolate1("", i0__namespace.ɵɵpipeBind1(5, 1, ctx_r1.qualifyingQuestionsErrorMessage.SELECT_AN_OPTION), " ");
20524
+ i0__namespace.ɵɵadvance(3);
20525
+ i0__namespace.ɵɵtextInterpolate1("", i0__namespace.ɵɵpipeBind1(4, 2, "Error:"), " ");
20526
+ i0__namespace.ɵɵadvance(2);
20527
+ i0__namespace.ɵɵtextInterpolate1("", i0__namespace.ɵɵpipeBind1(6, 4, ctx_r1.qualifyingQuestionsErrorMessage.SELECT_AN_OPTION), " ");
20424
20528
  }
20425
20529
  }
20426
- function QualifyingQuestionsComponent_ng_container_0_div_9_Template(rf, ctx) {
20530
+ function QualifyingQuestionOptionsComponent_ng_container_0_div_9_Template(rf, ctx) {
20427
20531
  if (rf & 1) {
20428
- i0__namespace.ɵɵelementStart(0, "div", 7);
20429
- i0__namespace.ɵɵelement(1, "input", 8);
20430
- i0__namespace.ɵɵelementStart(2, "label", 9);
20532
+ i0__namespace.ɵɵelementStart(0, "div", 9);
20533
+ i0__namespace.ɵɵelement(1, "input", 10);
20534
+ i0__namespace.ɵɵelementStart(2, "label", 11);
20431
20535
  i0__namespace.ɵɵtext(3);
20536
+ i0__namespace.ɵɵpipe(4, "rpxTranslate");
20432
20537
  i0__namespace.ɵɵelementEnd();
20433
20538
  i0__namespace.ɵɵelementEnd();
20434
20539
  }
@@ -20437,14 +20542,14 @@
20437
20542
  var ctx_r2 = i0__namespace.ɵɵnextContext(2);
20438
20543
  i0__namespace.ɵɵadvance(1);
20439
20544
  i0__namespace.ɵɵpropertyInterpolate("id", qualifyingQuestion_r3.name);
20440
- i0__namespace.ɵɵproperty("formControl", ctx_r2.qualifyingQuestionsControl)("value", qualifyingQuestion_r3.name);
20545
+ i0__namespace.ɵɵproperty("formControl", ctx_r2.qualifyingQuestionsControl)("value", qualifyingQuestion_r3);
20441
20546
  i0__namespace.ɵɵadvance(1);
20442
20547
  i0__namespace.ɵɵproperty("for", qualifyingQuestion_r3.name);
20443
20548
  i0__namespace.ɵɵadvance(1);
20444
- i0__namespace.ɵɵtextInterpolate(qualifyingQuestion_r3.name);
20549
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(4, 5, qualifyingQuestion_r3.name));
20445
20550
  }
20446
20551
  }
20447
- function QualifyingQuestionsComponent_ng_container_0_Template(rf, ctx) {
20552
+ function QualifyingQuestionOptionsComponent_ng_container_0_Template(rf, ctx) {
20448
20553
  if (rf & 1) {
20449
20554
  i0__namespace.ɵɵelementContainerStart(0);
20450
20555
  i0__namespace.ɵɵelementStart(1, "div", 1);
@@ -20455,17 +20560,10 @@
20455
20560
  i0__namespace.ɵɵpipe(6, "rpxTranslate");
20456
20561
  i0__namespace.ɵɵelementEnd();
20457
20562
  i0__namespace.ɵɵelementEnd();
20458
- i0__namespace.ɵɵtemplate(7, QualifyingQuestionsComponent_ng_container_0_ng_container_7_Template, 6, 3, "ng-container", 0);
20563
+ i0__namespace.ɵɵtemplate(7, QualifyingQuestionOptionsComponent_ng_container_0_ng_container_7_Template, 7, 6, "ng-container", 0);
20459
20564
  i0__namespace.ɵɵelementStart(8, "div", 5);
20460
- i0__namespace.ɵɵtemplate(9, QualifyingQuestionsComponent_ng_container_0_div_9_Template, 4, 5, "div", 6);
20565
+ i0__namespace.ɵɵtemplate(9, QualifyingQuestionOptionsComponent_ng_container_0_div_9_Template, 5, 7, "div", 6);
20461
20566
  i0__namespace.ɵɵpipe(10, "async");
20462
- i0__namespace.ɵɵelementStart(11, "div", 7);
20463
- i0__namespace.ɵɵelement(12, "input", 8);
20464
- i0__namespace.ɵɵelementStart(13, "label", 9);
20465
- i0__namespace.ɵɵtext(14);
20466
- i0__namespace.ɵɵpipe(15, "rpxTranslate");
20467
- i0__namespace.ɵɵelementEnd();
20468
- i0__namespace.ɵɵelementEnd();
20469
20567
  i0__namespace.ɵɵelementEnd();
20470
20568
  i0__namespace.ɵɵelementEnd();
20471
20569
  i0__namespace.ɵɵelementEnd();
@@ -20476,48 +20574,42 @@
20476
20574
  i0__namespace.ɵɵadvance(1);
20477
20575
  i0__namespace.ɵɵclassProp("govuk-form-group--error", ctx_r0.displayError);
20478
20576
  i0__namespace.ɵɵadvance(4);
20479
- i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(6, 10, "Are you contacting us about any of the following:"), " ");
20577
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(6, 5, "Are you contacting us about any of the following:"), " ");
20480
20578
  i0__namespace.ɵɵadvance(2);
20481
20579
  i0__namespace.ɵɵproperty("ngIf", ctx_r0.displayError);
20482
20580
  i0__namespace.ɵɵadvance(2);
20483
- i0__namespace.ɵɵproperty("ngForOf", i0__namespace.ɵɵpipeBind1(10, 12, ctx_r0.qualifyingQuestions$));
20484
- i0__namespace.ɵɵadvance(3);
20485
- i0__namespace.ɵɵproperty("id", ctx_r0.queryItemTypeEnum.NEW)("formControl", ctx_r0.qualifyingQuestionsControl)("value", ctx_r0.queryItemTypeEnum.NEW);
20486
- i0__namespace.ɵɵadvance(1);
20487
- i0__namespace.ɵɵproperty("for", ctx_r0.queryItemTypeEnum.NEW);
20488
- i0__namespace.ɵɵadvance(1);
20489
- i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(15, 14, "Raise a query"), " ");
20581
+ i0__namespace.ɵɵproperty("ngForOf", i0__namespace.ɵɵpipeBind1(10, 7, ctx_r0.qualifyingQuestions$));
20490
20582
  }
20491
20583
  }
20492
- var QualifyingQuestionsComponent = /** @class */ (function () {
20493
- function QualifyingQuestionsComponent() {
20584
+ var QualifyingQuestionOptionsComponent = /** @class */ (function () {
20585
+ function QualifyingQuestionOptionsComponent() {
20494
20586
  this.queryItemTypeEnum = exports.QueryItemType;
20495
20587
  this.qualifyingQuestionsErrorMessage = exports.QualifyingQuestionsErrorMessage;
20496
20588
  }
20497
- Object.defineProperty(QualifyingQuestionsComponent.prototype, "displayError", {
20589
+ Object.defineProperty(QualifyingQuestionOptionsComponent.prototype, "displayError", {
20498
20590
  get: function () {
20499
20591
  return this.qualifyingQuestionsControl.touched && this.qualifyingQuestionsControl.hasError('required');
20500
20592
  },
20501
20593
  enumerable: false,
20502
20594
  configurable: true
20503
20595
  });
20504
- return QualifyingQuestionsComponent;
20596
+ return QualifyingQuestionOptionsComponent;
20505
20597
  }());
20506
- QualifyingQuestionsComponent.ɵfac = function QualifyingQuestionsComponent_Factory(t) { return new (t || QualifyingQuestionsComponent)(); };
20507
- QualifyingQuestionsComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QualifyingQuestionsComponent, selectors: [["ccd-qualifying-questions"]], inputs: { qualifyingQuestionsControl: "qualifyingQuestionsControl", qualifyingQuestions$: "qualifyingQuestions$" }, decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "govuk-form-group"], [1, "govuk-fieldset"], [1, "govuk-fieldset__legend", "govuk-fieldset__legend--l"], [1, "govuk-fieldset__heading"], ["data-module", "govuk-radios", 1, "govuk-radios"], ["class", "govuk-radios__item", 4, "ngFor", "ngForOf"], [1, "govuk-radios__item"], ["name", "qualifyingQuestionOption", "type", "radio", 1, "govuk-radios__input", 3, "id", "formControl", "value"], [1, "govuk-label", "govuk-radios__label", 3, "for"], [1, "govuk-error-message"], [1, "govuk-visually-hidden"]], template: function QualifyingQuestionsComponent_Template(rf, ctx) {
20598
+ QualifyingQuestionOptionsComponent.ɵfac = function QualifyingQuestionOptionsComponent_Factory(t) { return new (t || QualifyingQuestionOptionsComponent)(); };
20599
+ QualifyingQuestionOptionsComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QualifyingQuestionOptionsComponent, selectors: [["ccd-qualifying-question-options"]], inputs: { qualifyingQuestionsControl: "qualifyingQuestionsControl", qualifyingQuestions$: "qualifyingQuestions$" }, decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "govuk-form-group"], [1, "govuk-fieldset"], [1, "govuk-fieldset__legend", "govuk-fieldset__legend--l"], [1, "govuk-fieldset__heading"], ["data-module", "govuk-radios", 1, "govuk-radios"], ["class", "govuk-radios__item", 4, "ngFor", "ngForOf"], [1, "govuk-error-message"], [1, "govuk-visually-hidden"], [1, "govuk-radios__item"], ["name", "qualifyingQuestionOption", "type", "radio", 1, "govuk-radios__input", 3, "id", "formControl", "value"], [1, "govuk-label", "govuk-radios__label", 3, "for"]], template: function QualifyingQuestionOptionsComponent_Template(rf, ctx) {
20508
20600
  if (rf & 1) {
20509
- i0__namespace.ɵɵtemplate(0, QualifyingQuestionsComponent_ng_container_0_Template, 16, 16, "ng-container", 0);
20601
+ i0__namespace.ɵɵtemplate(0, QualifyingQuestionOptionsComponent_ng_container_0_Template, 11, 9, "ng-container", 0);
20510
20602
  }
20511
20603
  if (rf & 2) {
20512
20604
  i0__namespace.ɵɵproperty("ngIf", ctx.qualifyingQuestionsControl);
20513
20605
  }
20514
20606
  }, directives: [i5__namespace.NgIf, i5__namespace.NgForOf, i3__namespace.RadioControlValueAccessor, i3__namespace.DefaultValueAccessor, i3__namespace.NgControlStatus, i3__namespace.FormControlDirective], pipes: [i1__namespace.RpxTranslatePipe, i5__namespace.AsyncPipe], encapsulation: 2 });
20515
20607
  (function () {
20516
- (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(QualifyingQuestionsComponent, [{
20608
+ (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(QualifyingQuestionOptionsComponent, [{
20517
20609
  type: i0.Component,
20518
20610
  args: [{
20519
- selector: 'ccd-qualifying-questions',
20520
- templateUrl: './qualifying-questions.component.html'
20611
+ selector: 'ccd-qualifying-question-options',
20612
+ templateUrl: './qualifying-question-options.component.html'
20521
20613
  }]
20522
20614
  }], null, { qualifyingQuestionsControl: [{
20523
20615
  type: i0.Input
@@ -20526,55 +20618,6 @@
20526
20618
  }] });
20527
20619
  })();
20528
20620
 
20529
- var MarkdownComponent = /** @class */ (function () {
20530
- function MarkdownComponent() {
20531
- }
20532
- MarkdownComponent.prototype.ngOnInit = function () {
20533
- this.content = this.content.replace(/ \n/g, '<br>');
20534
- };
20535
- MarkdownComponent.prototype.onMarkdownClick = function (event) {
20536
- // If we don't have an anchor tag, we don't need to do anything.
20537
- if (event.target instanceof HTMLAnchorElement === false) {
20538
- return;
20539
- }
20540
- return true;
20541
- };
20542
- return MarkdownComponent;
20543
- }());
20544
- MarkdownComponent.ɵfac = function MarkdownComponent_Factory(t) { return new (t || MarkdownComponent)(); };
20545
- MarkdownComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: MarkdownComponent, selectors: [["ccd-markdown"]], hostBindings: function MarkdownComponent_HostBindings(rf, ctx) {
20546
- if (rf & 1) {
20547
- i0__namespace.ɵɵlistener("click", function MarkdownComponent_click_HostBindingHandler($event) { return ctx.onMarkdownClick($event); });
20548
- }
20549
- }, inputs: { content: "content", markdownUseHrefAsRouterLink: "markdownUseHrefAsRouterLink" }, decls: 3, vars: 3, consts: [[1, "markdown", 3, "innerHTML"]], template: function MarkdownComponent_Template(rf, ctx) {
20550
- if (rf & 1) {
20551
- i0__namespace.ɵɵelementStart(0, "div");
20552
- i0__namespace.ɵɵelement(1, "markdown", 0);
20553
- i0__namespace.ɵɵpipe(2, "ccdCaseReference");
20554
- i0__namespace.ɵɵelementEnd();
20555
- }
20556
- if (rf & 2) {
20557
- i0__namespace.ɵɵadvance(1);
20558
- i0__namespace.ɵɵproperty("innerHTML", i0__namespace.ɵɵpipeBind1(2, 1, ctx.content), i0__namespace.ɵɵsanitizeHtml);
20559
- }
20560
- }, directives: [i1__namespace$4.NgxMdComponent], pipes: [CaseReferencePipe], encapsulation: 2 });
20561
- (function () {
20562
- (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(MarkdownComponent, [{
20563
- type: i0.Component,
20564
- args: [{
20565
- selector: 'ccd-markdown',
20566
- templateUrl: './markdown.html'
20567
- }]
20568
- }], function () { return []; }, { content: [{
20569
- type: i0.Input
20570
- }], markdownUseHrefAsRouterLink: [{
20571
- type: i0.Input
20572
- }], onMarkdownClick: [{
20573
- type: i0.HostListener,
20574
- args: ['click', ['$event']]
20575
- }] });
20576
- })();
20577
-
20578
20621
  function QueryCaseDetailsHeaderComponent_div_0_ng_container_5_Template(rf, ctx) {
20579
20622
  if (rf & 1) {
20580
20623
  i0__namespace.ɵɵelementContainerStart(0);
@@ -29889,7 +29932,8 @@
29889
29932
  QueryCheckYourAnswersComponent,
29890
29933
  QueryWriteAddDocumentsComponent,
29891
29934
  QueryWriteDateInputComponent,
29892
- QualifyingQuestionsComponent
29935
+ QualifyingQuestionOptionsComponent,
29936
+ QualifyingQuestionDetailComponent
29893
29937
  ];
29894
29938
  var PaletteModule = /** @class */ (function () {
29895
29939
  function PaletteModule() {
@@ -30078,7 +30122,8 @@
30078
30122
  QueryCheckYourAnswersComponent,
30079
30123
  QueryWriteAddDocumentsComponent,
30080
30124
  QueryWriteDateInputComponent,
30081
- QualifyingQuestionsComponent], imports: [i5.CommonModule,
30125
+ QualifyingQuestionOptionsComponent,
30126
+ QualifyingQuestionDetailComponent], imports: [i5.CommonModule,
30082
30127
  i1$1.RouterModule,
30083
30128
  i3.FormsModule,
30084
30129
  i3.ReactiveFormsModule,
@@ -30228,7 +30273,8 @@
30228
30273
  QueryCheckYourAnswersComponent,
30229
30274
  QueryWriteAddDocumentsComponent,
30230
30275
  QueryWriteDateInputComponent,
30231
- QualifyingQuestionsComponent] });
30276
+ QualifyingQuestionOptionsComponent,
30277
+ QualifyingQuestionDetailComponent] });
30232
30278
  })();
30233
30279
  (function () {
30234
30280
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(PaletteModule, [{
@@ -40994,7 +41040,8 @@
40994
41040
  exports.Profile = Profile;
40995
41041
  exports.ProfileNotifier = ProfileNotifier;
40996
41042
  exports.ProfileService = ProfileService;
40997
- exports.QualifyingQuestionsComponent = QualifyingQuestionsComponent;
41043
+ exports.QualifyingQuestionDetailComponent = QualifyingQuestionDetailComponent;
41044
+ exports.QualifyingQuestionOptionsComponent = QualifyingQuestionOptionsComponent;
40998
41045
  exports.QueryCaseDetailsHeaderComponent = QueryCaseDetailsHeaderComponent;
40999
41046
  exports.QueryCheckYourAnswersComponent = QueryCheckYourAnswersComponent;
41000
41047
  exports.QueryCreateComponent = QueryCreateComponent;