diff --git a/angular.json b/angular.json index ac9c723..d2d43c0 100644 --- a/angular.json +++ b/angular.json @@ -49,6 +49,7 @@ "src/assets/common-assets/library-css/material.scss" ], "scripts": [ + "src/assets/common-assets/js/copy.js", "node_modules/uikit/dist/js/uikit.min.js", "node_modules/uikit/dist/js/uikit-icons.min.js", "node_modules/jquery/dist/jquery.js" diff --git a/src/app/apis/apis.component.less b/src/app/apis/apis.component.less new file mode 100644 index 0000000..e5f71cd --- /dev/null +++ b/src/app/apis/apis.component.less @@ -0,0 +1,10 @@ +.uk-border-circle { + width: 100px; + height: 100px; + position: relative; + + & > img { + max-width: 64px; + max-height: 64px; + } +} diff --git a/src/app/apis/apis.component.ts b/src/app/apis/apis.component.ts new file mode 100644 index 0000000..fa66f1b --- /dev/null +++ b/src/app/apis/apis.component.ts @@ -0,0 +1,400 @@ +import {ChangeDetectorRef, Component, OnDestroy, OnInit, ViewChild} from "@angular/core"; +import {FormBuilder, FormGroup, Validators} from "@angular/forms"; +import {Subscription} from "rxjs"; +import {UserManagementService} from "../openaireLibrary/services/user-management.service"; +import {User} from "../openaireLibrary/login/utils/helper.class"; +import {PersonalInfo, PersonalService} from "../services/personal.service"; +import {NotificationHandler} from "../openaireLibrary/utils/notification-handler"; +import {API, ApisService} from "../services/apis.service"; +import {AlertModal} from "../openaireLibrary/utils/modal/alert"; +import {StringUtils} from "../openaireLibrary/utils/string-utils.class"; +import {properties} from "../../environments/environment"; +import {Stakeholder} from "../openaireLibrary/monitor/entities/stakeholder"; +import {CommunityInfo} from "../openaireLibrary/connect/community/communityInfo"; +import {UtilitiesService} from "../openaireLibrary/services/utilities.service"; + +declare var copy; + +@Component({ + selector: `apis`, + template: ` +
Name | +Client ID | +Creation Date | +Actions | +
---|---|---|---|
{{api.service.name}} | +{{api.service.clientId}} | +{{api.service.creationDate | date: 'dd-MM-YYYY HH:mm'}} | +
+
+ |
+