@myrmidon/cadmus-refs-asserted-ids 10.0.3 → 10.0.4

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.
package/index.d.ts CHANGED
@@ -82,8 +82,7 @@ declare class PinTargetLookupComponent implements OnInit, OnDestroy {
82
82
  private _thesService;
83
83
  private _snackbar;
84
84
  private readonly _subs;
85
- private _noTargetUpdate?;
86
- private _noFormUpdate?;
85
+ private _updatingForm;
87
86
  private _startWithByTypeMode?;
88
87
  /**
89
88
  * True when the by-type pin lookup mode is active.
@@ -152,6 +151,7 @@ declare class PinTargetLookupComponent implements OnInit, OnDestroy {
152
151
  pinFilterOptions?: IndexLookupDefinition;
153
152
  lookupData?: PinLookupData;
154
153
  constructor(_presetLookupDefs: IndexLookupDefinitions, itemLookupService: ItemRefLookupService, pinLookupService: PinRefLookupService, _itemService: ItemService, _thesService: ThesaurusService, _snackbar: MatSnackBar, formBuilder: FormBuilder);
154
+ private emitTargetChange;
155
155
  private forceByItem;
156
156
  private setupKeys;
157
157
  ngOnInit(): void;
@@ -161,6 +161,7 @@ declare class PinTargetLookupComponent implements OnInit, OnDestroy {
161
161
  private getTarget;
162
162
  private emitChange;
163
163
  private updateTarget;
164
+ private updateTargetFromData;
164
165
  private updateForm;
165
166
  /**
166
167
  * Called when the item lookup changes (item is looked up
@@ -205,10 +206,9 @@ interface AssertedCompositeId {
205
206
  * An asserted composite ID editor. This allows the user to edit an asserted
206
207
  * composite ID, which can be an external ID or a lookup ID.
207
208
  */
208
- declare class AssertedCompositeIdComponent implements OnInit, OnDestroy {
209
+ declare class AssertedCompositeIdComponent {
209
210
  lookupService: PinRefLookupService;
210
211
  lookupDefs: IndexLookupDefinitions;
211
- private _sub?;
212
212
  private _updatingForm;
213
213
  extLookupConfigs: RefLookupConfig[];
214
214
  targetExpanded: boolean;
@@ -271,8 +271,6 @@ declare class AssertedCompositeIdComponent implements OnInit, OnDestroy {
271
271
  */
272
272
  readonly extMoreRequest: _angular_core.OutputEmitterRef<RefLookupSetEvent>;
273
273
  constructor(formBuilder: FormBuilder, lookupService: PinRefLookupService, lookupDefs: IndexLookupDefinitions, settings: RamStorageService);
274
- ngOnInit(): void;
275
- ngOnDestroy(): void;
276
274
  onAssertionChange(assertion: Assertion | undefined): void;
277
275
  onTargetChange(target?: PinTarget): void;
278
276
  private updateForm;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@myrmidon/cadmus-refs-asserted-ids",
3
- "version": "10.0.3",
3
+ "version": "10.0.4",
4
4
  "description": "Cadmus - asserted IDs components.",
5
5
  "keywords": [
6
6
  "Cadmus",