@hmcts/ccd-case-ui-toolkit 6.10.7-mv-upgrade.2 → 6.10.7-r4-access-view-alignment

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.
@@ -534,64 +534,6 @@
534
534
  function __param(paramIndex, decorator) {
535
535
  return function (target, key) { decorator(target, key, paramIndex); };
536
536
  }
537
- function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {
538
- function accept(f) { if (f !== void 0 && typeof f !== "function")
539
- throw new TypeError("Function expected"); return f; }
540
- var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value";
541
- var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null;
542
- var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});
543
- var _, done = false;
544
- for (var i = decorators.length - 1; i >= 0; i--) {
545
- var context = {};
546
- for (var p in contextIn)
547
- context[p] = p === "access" ? {} : contextIn[p];
548
- for (var p in contextIn.access)
549
- context.access[p] = contextIn.access[p];
550
- context.addInitializer = function (f) { if (done)
551
- throw new TypeError("Cannot add initializers after decoration has completed"); extraInitializers.push(accept(f || null)); };
552
- var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);
553
- if (kind === "accessor") {
554
- if (result === void 0)
555
- continue;
556
- if (result === null || typeof result !== "object")
557
- throw new TypeError("Object expected");
558
- if (_ = accept(result.get))
559
- descriptor.get = _;
560
- if (_ = accept(result.set))
561
- descriptor.set = _;
562
- if (_ = accept(result.init))
563
- initializers.push(_);
564
- }
565
- else if (_ = accept(result)) {
566
- if (kind === "field")
567
- initializers.push(_);
568
- else
569
- descriptor[key] = _;
570
- }
571
- }
572
- if (target)
573
- Object.defineProperty(target, contextIn.name, descriptor);
574
- done = true;
575
- }
576
- ;
577
- function __runInitializers(thisArg, initializers, value) {
578
- var useValue = arguments.length > 2;
579
- for (var i = 0; i < initializers.length; i++) {
580
- value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);
581
- }
582
- return useValue ? value : void 0;
583
- }
584
- ;
585
- function __propKey(x) {
586
- return typeof x === "symbol" ? x : "".concat(x);
587
- }
588
- ;
589
- function __setFunctionName(f, name, prefix) {
590
- if (typeof name === "symbol")
591
- name = name.description ? "[".concat(name.description, "]") : "";
592
- return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name });
593
- }
594
- ;
595
537
  function __metadata(metadataKey, metadataValue) {
596
538
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
597
539
  return Reflect.metadata(metadataKey, metadataValue);
@@ -791,7 +733,7 @@
791
733
  function __asyncDelegator(o) {
792
734
  var i, p;
793
735
  return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
794
- function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }
736
+ function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
795
737
  }
796
738
  function __asyncValues(o) {
797
739
  if (!Symbol.asyncIterator)
@@ -22950,8 +22892,8 @@
22950
22892
  i0__namespace.ɵɵsetComponentScope(WriteCollectionFieldComponent, [i1__namespace.NgIf, i1__namespace.NgForOf, FieldWriteComponent, i2__namespace.NgControlStatusGroup, i2__namespace.FormGroupDirective], [FieldLabelPipe, FirstErrorPipe]);
22951
22893
  i0__namespace.ɵɵsetComponentScope(
22952
22894
  // ComponentLauncher web components
22953
- CaseFileViewFieldComponent, [i1__namespace.NgIf, CaseFileViewFolderComponent, i11__namespace.MediaViewerComponent], []);
22954
- i0__namespace.ɵɵsetComponentScope(CaseFileViewFieldReadComponent, [i1__namespace.NgIf, CaseFileViewFolderComponent, i11__namespace.MediaViewerComponent], []);
22895
+ CaseFileViewFieldComponent, [i1__namespace.NgIf, CaseFileViewFolderComponent, i11__namespace.ɵcs], []);
22896
+ i0__namespace.ɵɵsetComponentScope(CaseFileViewFieldReadComponent, [i1__namespace.NgIf, CaseFileViewFolderComponent, i11__namespace.ɵcs], []);
22955
22897
 
22956
22898
  var Confirmation = /** @class */ (function () {
22957
22899
  function Confirmation(caseId, status, header, body) {
@@ -27997,7 +27939,7 @@
27997
27939
  i0__namespace.ɵɵadvance(3);
27998
27940
  i0__namespace.ɵɵproperty("ngIf", ctx.hasTabsPresent());
27999
27941
  }
28000
- }, styles: ["th[_ngcontent-%COMP%]{width:1%;white-space:nowrap;vertical-align:top}.compound-field[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:0}.case-viewer-controls[_ngcontent-%COMP%]{margin-top:47px;margin-bottom:20px}ccd-case-header[_ngcontent-%COMP%]{float:left;margin-right:10px}ccd-event-trigger[_ngcontent-%COMP%]{float:right}.case-viewer-label[_ngcontent-%COMP%]{min-width:300px;white-space:normal}.markdown[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin-bottom:0}"] });
27942
+ }, styles: ["th[_ngcontent-%COMP%]{width:1%;white-space:nowrap;vertical-align:top}th[id*=case-viewer-field-read--][_ngcontent-%COMP%], th[id^=case-viewer-field-read--][_ngcontent-%COMP%]{border-bottom:none!important;border-style:none!important}.compound-field[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:0}.case-viewer-controls[_ngcontent-%COMP%]{margin-top:47px;margin-bottom:20px}ccd-case-header[_ngcontent-%COMP%]{float:left;margin-right:10px}ccd-event-trigger[_ngcontent-%COMP%]{float:right}.case-viewer-label[_ngcontent-%COMP%]{min-width:300px;white-space:normal}.markdown[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin-bottom:0}"] });
28001
27943
  (function () {
28002
27944
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CaseFullAccessViewComponent, [{
28003
27945
  type: i0.Component,