@huntsman-cancer-institute/dictionary-editor 17.3.4 → 17.5.0

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.
@@ -1,8 +1,8 @@
1
1
  import { TemplateRef } from "@angular/core";
2
2
  import { ActivatedRoute } from "@angular/router";
3
- import { BehaviorSubject, Observable } from "rxjs";
3
+ import { BehaviorSubject, Observable } from 'rxjs';
4
4
  import { NgbModal } from "@ng-bootstrap/ng-bootstrap";
5
- import { DictionaryService } from "@huntsman-cancer-institute/dictionary-service";
5
+ import { DictionaryService } from '@huntsman-cancer-institute/dictionary-service';
6
6
  import { GridOptions, GridReadyEvent, GridApi } from "ag-grid-community";
7
7
  import * as i0 from "@angular/core";
8
8
  /**
@@ -18,7 +18,7 @@ export declare class DictionaryEditorDetailComponent {
18
18
  private route;
19
19
  private modalService;
20
20
  private dictionaryService;
21
- private dictionaryEndpoint;
21
+ private DictionaryEndpoint;
22
22
  classList: string;
23
23
  private secondaryDictionaryEntries;
24
24
  className: string;
@@ -29,9 +29,13 @@ export declare class DictionaryEditorDetailComponent {
29
29
  idColumn: string;
30
30
  selectedRows: any[];
31
31
  loadingSubjects: BehaviorSubject<boolean>[];
32
+ halfLoaded: boolean;
33
+ processingCall: boolean;
34
+ callQueued: boolean;
32
35
  boundNewRowPostCall: (data: any) => Observable<any>;
33
36
  gridOptions: GridOptions;
34
37
  newRowSubscription: any;
38
+ private destroy;
35
39
  metaGridOptions: {
36
40
  rowStyle: {
37
41
  "font-family": string;
@@ -41,7 +45,7 @@ export declare class DictionaryEditorDetailComponent {
41
45
  };
42
46
  frameworkComponents: any;
43
47
  gridApiMeta: GridApi;
44
- constructor(route: ActivatedRoute, modalService: NgbModal, dictionaryService: DictionaryService, dictionaryEndpoint: string);
48
+ constructor(route: ActivatedRoute, modalService: NgbModal, dictionaryService: DictionaryService, DictionaryEndpoint: string);
45
49
  /**
46
50
  * Based on the route class name, make the call to fetch the dictionary data. Since this component is route based,
47
51
  * when the dictionary class in the route changes, this component is reloaded.
@@ -53,11 +57,17 @@ export declare class DictionaryEditorDetailComponent {
53
57
  onMetaGridReady(params: any): void;
54
58
  openAreYouSureModal(modal: TemplateRef<any>): void;
55
59
  /**
56
- * Fetch the dictionary metadata and dictionary entries based upon the dictionary class name.
60
+ * Determine if we are loading something, and then wait until it is done to .
57
61
  *
58
62
  * @param {string} className
59
63
  */
60
64
  getDictionary(className: string): void;
65
+ /**
66
+ * Fetch the dictionary metadata and dictionary entries based upon the dictionary class name.
67
+ *
68
+ * @param {string} className
69
+ */
70
+ private getDictionaryBegin;
61
71
  getDictionaryEntries(): void;
62
72
  /**
63
73
  * Set the dictionary metadata. This is used to build the columns for the dictionary entries. The names, validation,
@@ -1,4 +1,4 @@
1
- import { OnInit, Renderer2 } from "@angular/core";
1
+ import { OnInit, Renderer2 } from '@angular/core';
2
2
  import { DictionaryService } from "@huntsman-cancer-institute/dictionary-service";
3
3
  import { SidebarComponent } from "@huntsman-cancer-institute/navigation";
4
4
  import { BehaviorSubject } from "rxjs";