--- /dev/null
+import {Component, Input, OnInit, AfterViewInit, ViewChild, Renderer2} from '@angular/core';
+import {Router, ActivatedRoute, ParamMap} from '@angular/router';
+import {tap} from 'rxjs/operators';
+import {IdlObject, IdlService} from '@eg/core/idl.service';
+import {EventService} from '@eg/core/event.service';
+import {OrgService} from '@eg/core/org.service';
+import {StoreService} from '@eg/core/store.service';
+import {NetService} from '@eg/core/net.service';
+import {AuthService} from '@eg/core/auth.service';
+import {PcrudService} from '@eg/core/pcrud.service';
+import {HoldingsService} from '@eg/staff/share/holdings/holdings.service';
+import {VolCopyContext} from './volcopy';
+import {VolCopyService} from './volcopy.service';
+import {FormatService} from '@eg/core/format.service';
+import {StringComponent} from '@eg/share/string/string.component';
+import {ComboboxComponent, ComboboxEntry} from '@eg/share/combobox/combobox.component';
+
+@Component({
+ selector: 'eg-volcopy-config',
+ templateUrl: 'config.component.html'
+})
+export class VolCopyConfigComponent implements OnInit, AfterViewInit {
+
+ @Input() context: VolCopyContext;
+
+ constructor(
+ private router: Router,
+ private route: ActivatedRoute,
+ private renderer: Renderer2,
+ private evt: EventService,
+ private idl: IdlService,
+ private org: OrgService,
+ private net: NetService,
+ private auth: AuthService,
+ private pcrud: PcrudService,
+ private holdings: HoldingsService,
+ private volcopy: VolCopyService,
+ private format: FormatService,
+ private store: StoreService
+ ) { }
+
+ ngOnInit() {
+ }
+
+ ngAfterViewInit() {
+
+ }
+}
+
+
</div>
</div>
-<ng-container *ngIf="!loading && !sessionExpired">
+<ng-container *ngIf="!sessionExpired">
<eg-bib-summary *ngIf="context.recordId" [recordId]="context.recordId"></eg-bib-summary>
- <div class="m-2"> </div>
+ <div class="mt-3"> </div>
<ngb-tabset [activeId]="tab" (tabChange)="beforeTabChange($event)">
<ngb-tab title="Holdings" i18n-title id="holdings">
<ng-template ngbTabContent>
<div class="mt-2">
- <div class="row" [hidden]="!loading">
- <div class="col-lg-6 offset-lg-3">
- <eg-progress-inline #loadingProgress></eg-progress-inline>
- </div>
- </div>
<eg-vol-edit [context]="context"></eg-vol-edit>
</div>
</ng-template>
<ngb-tab title="Item Attributes" i18n-title id="attrs">
<ng-template ngbTabContent>
<div class="mt-2">
- <div class="row" [hidden]="!loading">
- <div class="col-lg-6 offset-lg-3">
- <eg-progress-inline #loadingProgress></eg-progress-inline>
- </div>
- </div>
+ <eg-copy-attrs [context]="context"></eg-copy-attrs>
+ </div>
+ </ng-template>
+ </ngb-tab>
+
+ <ngb-tab title="Defaults" i18n-title id="config">
+ <ng-template ngbTabContent>
+ <div class="mt-2">
+ <eg-volcopy-config [context]="context"></eg-volcopy-config>
</div>
- <eg-copy-attrs [context]="context"></eg-copy-attrs>
</ng-template>
</ngb-tab>
</ng-container>
+<ng-container *ngIf="loading">
+ <div class="row">
+ <div class="col-lg-6 offset-lg-3">
+ <eg-progress-inline></eg-progress-inline>
+ </div>
+ </div>
+</ng-container>
+