Skip to content

Commit 3bd57a9

Browse files
committed
Initial commit
1 parent 5f0023c commit 3bd57a9

25 files changed

+12515
-0
lines changed

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Auto detect text files and perform LF normalization
2+
* text=auto

.gitignore

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# See http://help.github.com/ignore-files/ for more about ignoring files.
2+
3+
# compiled output
4+
/dist
5+
/tmp
6+
/out-tsc
7+
# Only exists if Bazel was run
8+
/bazel-out
9+
10+
# dependencies
11+
/node_modules
12+
13+
# profiling files
14+
chrome-profiler-events*.json
15+
speed-measure-plugin*.json
16+
17+
# IDEs and editors
18+
/.idea
19+
.project
20+
.classpath
21+
.c9/
22+
*.launch
23+
.settings/
24+
*.sublime-workspace
25+
26+
# IDE - VSCode
27+
.vscode/*
28+
!.vscode/settings.json
29+
!.vscode/tasks.json
30+
!.vscode/launch.json
31+
!.vscode/extensions.json
32+
.history/*
33+
34+
# misc
35+
/.sass-cache
36+
/connect.lock
37+
/coverage
38+
/libpeerconnection.log
39+
npm-debug.log
40+
yarn-error.log
41+
testem.log
42+
/typings
43+
44+
# System Files
45+
.DS_Store
46+
Thumbs.db
47+
48+
.ng
49+
build
50+
cloudapp/src/assets/manifest*.json
51+
config.json

.vscode/settings.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"files.exclude": {
3+
"**/.ng": true,
4+
"**/.vscode": true,
5+
"**/.gitkeep": true,
6+
"**/node_modules": true,
7+
"**/src/assets/manifest*.json": true,
8+
"**/build": true
9+
},
10+
"typescript.tsdk": "node_modules/typescript/lib",
11+
"json.schemas": [
12+
{
13+
"fileMatch": [
14+
"/manifest.json"
15+
],
16+
"url": "/node_modules/@exlibris/exl-cloudapp-base/manifest.schema.json"
17+
}
18+
]
19+
20+
}

cloudapp/jsconfig.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"compilerOptions": {
3+
"experimentalDecorators": true,
4+
"target": "es5"
5+
}
6+
}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
import { NgModule } from '@angular/core';
2+
import { Routes, RouterModule } from '@angular/router';
3+
import { MainComponent } from './main/main.component';
4+
import { HelpComponent } from './help/help.component';
5+
6+
const routes: Routes = [
7+
{ path: '', component: MainComponent },
8+
{ path: 'help', component: HelpComponent}
9+
];
10+
11+
@NgModule({
12+
imports: [RouterModule.forRoot(routes, { useHash: true })],
13+
exports: [RouterModule]
14+
})
15+
export class AppRoutingModule { }

cloudapp/src/app/app.component.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import { Component } from '@angular/core';
2+
import { AppService } from './app.service';
3+
4+
@Component({
5+
selector: 'app-root',
6+
template: '<router-outlet></router-outlet>'
7+
})
8+
export class AppComponent {
9+
10+
constructor(private appService: AppService) { }
11+
12+
}

cloudapp/src/app/app.module.ts

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
import { NgModule } from '@angular/core';
2+
import { HttpClientModule } from '@angular/common/http';
3+
import { BrowserModule } from '@angular/platform-browser';
4+
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
5+
import { MAT_FORM_FIELD_DEFAULT_OPTIONS } from '@angular/material/form-field';
6+
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
7+
import { MaterialModule, CloudAppTranslateModule, AlertModule } from '@exlibris/exl-cloudapp-angular-lib';
8+
import { NgxDropzoneModule } from 'ngx-dropzone';
9+
10+
import { AppComponent } from './app.component';
11+
import { AppRoutingModule } from './app-routing.module';
12+
import { MainComponent } from './main/main.component';
13+
import { MatIconModule } from '@angular/material/icon';
14+
import { HelpComponent } from './help/help.component';
15+
16+
@NgModule({
17+
declarations: [
18+
AppComponent,
19+
MainComponent,
20+
HelpComponent,
21+
],
22+
imports: [
23+
MaterialModule,
24+
BrowserModule,
25+
BrowserAnimationsModule,
26+
AppRoutingModule,
27+
HttpClientModule,
28+
AlertModule,
29+
FormsModule,
30+
ReactiveFormsModule,
31+
NgxDropzoneModule,
32+
MatIconModule,
33+
CloudAppTranslateModule.forRoot(),
34+
],
35+
providers: [
36+
{ provide: MAT_FORM_FIELD_DEFAULT_OPTIONS, useValue: { appearance: 'standard' } },
37+
],
38+
bootstrap: [AppComponent]
39+
})
40+
export class AppModule { }

cloudapp/src/app/app.service.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
2+
import { Injectable } from '@angular/core';
3+
import { InitService } from '@exlibris/exl-cloudapp-angular-lib';
4+
5+
@Injectable({
6+
providedIn: 'root'
7+
})
8+
export class AppService {
9+
10+
constructor(private initService: InitService) {}
11+
12+
}
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<div class="eca-actions">
2+
<button mat-flat-button color="primary" [routerLink]="['/']"><mat-icon>arrow_back</mat-icon>Back</button>
3+
</div>
4+
5+
<div class="title">
6+
<h1 >{{ 'Help.Title' | translate }}</h1>
7+
</div>
8+
<div>
9+
<p >{{ 'Help.Description' | translate }}</p>
10+
<h4><strong>{{ 'Help.LookupKey' | translate }}</strong>{{ 'Help.LookupKeyDescription' | translate }}</h4>
11+
<p></p>
12+
13+
<img src="./assets/example.png" >
14+
15+
16+
<h4><strong>{{ 'Help.OptionalLookupKey' | translate }}</strong>{{ 'Help.OptionalLookupKeyDescription' | translate }}</h4>
17+
<p></p>
18+
<p><strong>{{ 'Help.UpdateFields' | translate }}</strong> <a translate href="https://developers.exlibrisgroup.com/alma/apis/docs/xsd/rest_user_request.xsd/?tags=POST" target="_blank"> {{ 'Help.URL' | translate }}</a> {{ 'Help.FieldNames' | translate }}</p>
19+
20+
<p><a translate href="https://github.com/ExLibrisGroup/hep-CloudApp-ItemUpdater-Excel/issues" target="_blank">Open an issue</a></p>
21+
</div>
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.back {
2+
padding-bottom: 10px;
3+
}

0 commit comments

Comments
 (0)