|
1 |
| -import { AfterViewInit, ChangeDetectorRef, Component } from '@angular/core'; |
2 |
| -import { FhirConfigService } from '../fhirConfig.service'; |
| 1 | +import {AfterViewInit, ChangeDetectorRef, Component} from '@angular/core'; |
| 2 | +import {FhirConfigService} from '../fhirConfig.service'; |
3 | 3 | import FhirClient from 'fhir-kit-client';
|
4 | 4 | import pako from 'pako';
|
5 | 5 | import untar from 'js-untar';
|
6 |
| -import { IDroppedBlob } from '../upload/upload.component'; |
| 6 | +import {IDroppedBlob} from '../upload/upload.component'; |
7 | 7 | import ace from 'ace-builds';
|
8 |
| -import { ValidationEntry } from './validation-entry'; |
| 8 | +import {ValidationEntry} from './validation-entry'; |
9 | 9 | import {ValidationParameter, ValidationParameterDefinition} from './validation-parameter';
|
10 |
| -import { ITarEntry } from './tar-entry'; |
11 |
| -import { Issue, OperationResult } from '../util/operation-result'; |
12 |
| -import { FormControl, Validators } from '@angular/forms'; |
13 |
| -import { StructureDefinition } from './structure-definition'; |
14 |
| -import { ToastrService } from 'ngx-toastr'; |
| 10 | +import {ITarEntry} from './tar-entry'; |
| 11 | +import {Issue, OperationResult} from '../util/operation-result'; |
| 12 | +import {FormControl, Validators} from '@angular/forms'; |
| 13 | +import {StructureDefinition} from './structure-definition'; |
| 14 | +import {ToastrService} from 'ngx-toastr'; |
15 | 15 | import {ValidationCodeEditor} from "./validation-code-editor";
|
16 | 16 | import {Base64} from 'js-base64';
|
17 | 17 |
|
18 | 18 | const INDENT_SPACES = 2;
|
19 | 19 |
|
20 | 20 | @Component({
|
21 |
| - selector: 'app-validate', |
22 |
| - templateUrl: './validate.component.html', |
23 |
| - styleUrls: ['./validate.component.scss'], |
24 |
| - standalone: false |
| 21 | + selector: 'app-validate', |
| 22 | + templateUrl: './validate.component.html', |
| 23 | + styleUrls: ['./validate.component.scss'], |
| 24 | + standalone: false |
25 | 25 | })
|
26 | 26 | export class ValidateComponent implements AfterViewInit {
|
27 | 27 | readonly AUTO_IG_SELECTION = 'AUTOMATIC';
|
@@ -63,7 +63,7 @@ export class ValidateComponent implements AfterViewInit {
|
63 | 63 | this.client = data.getFhirClient();
|
64 | 64 |
|
65 | 65 | const validateOperationDefinitionPromise = this.client
|
66 |
| - .read({ resourceType: 'OperationDefinition', id: '-s-validate' }); |
| 66 | + .read({resourceType: 'OperationDefinition', id: '-s-validate'}); |
67 | 67 |
|
68 | 68 | const implementationGuidesPromise = this.client
|
69 | 69 | .search({
|
@@ -438,11 +438,12 @@ export class ValidateComponent implements AfterViewInit {
|
438 | 438 | return url.toString();
|
439 | 439 | }
|
440 | 440 |
|
441 |
| - copyDirectLink(event: MouseEvent,entry: ValidationEntry) { |
| 441 | + copyDirectLink(event: MouseEvent, entry: ValidationEntry) { |
442 | 442 | if ('clipboard' in navigator) {
|
443 | 443 | event.preventDefault();
|
444 | 444 | const url = this.getDirectLink(entry);
|
445 |
| - navigator.clipboard.writeText(url).then(() => {}); |
| 445 | + navigator.clipboard.writeText(url).then(() => { |
| 446 | + }); |
446 | 447 | }
|
447 | 448 | }
|
448 | 449 |
|
@@ -586,7 +587,8 @@ class UploadedFile {
|
586 | 587 | public contentType: string,
|
587 | 588 | public content: string,
|
588 | 589 | public resourceType: string
|
589 |
| - ) {} |
| 590 | + ) { |
| 591 | + } |
590 | 592 | }
|
591 | 593 |
|
592 | 594 | /**
|
|
0 commit comments