@myrmidon/cadmus-refs-asserted-ids 10.0.7 → 10.0.9

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
@@ -3,7 +3,7 @@ import { OnInit, OnDestroy } from '@angular/core';
3
3
  import { FormControl, FormGroup, FormBuilder } from '@angular/forms';
4
4
  import { RamStorageService } from '@myrmidon/ngx-tools';
5
5
  import { Assertion } from '@myrmidon/cadmus-refs-assertion';
6
- import { Item, DataPinInfo, Part, IndexLookupDefinitions, ThesaurusEntry, IndexLookupDefinition } from '@myrmidon/cadmus-core';
6
+ import { Item, DataPinInfo, Part, IndexLookupDefinitions, IndexLookupDefinition, ThesaurusEntry } from '@myrmidon/cadmus-core';
7
7
  import { RefLookupService, RefLookupFilter, RefLookupConfig, RefLookupSetEvent } from '@myrmidon/cadmus-refs-lookup';
8
8
  import { Observable } from 'rxjs';
9
9
  import { ItemService, ThesaurusService } from '@myrmidon/cadmus-api';
@@ -131,9 +131,12 @@ declare class PinTargetLookupComponent implements OnInit, OnDestroy {
131
131
  * Emitted when the user changes the external lookup configuration.
132
132
  */
133
133
  readonly extLookupConfigChange: _angular_core.OutputEmitterRef<RefLookupConfig>;
134
- modelEntries: ThesaurusEntry[];
135
- partTypeKeys: string[];
136
- itemParts: Part[];
134
+ readonly filter: _angular_core.WritableSignal<PinRefLookupFilter>;
135
+ readonly pinFilterOptions: _angular_core.WritableSignal<IndexLookupDefinition | undefined>;
136
+ readonly lookupData: _angular_core.WritableSignal<PinLookupData | undefined>;
137
+ readonly modelEntries: _angular_core.WritableSignal<ThesaurusEntry[]>;
138
+ readonly partTypeKeys: _angular_core.WritableSignal<string[]>;
139
+ readonly itemParts: _angular_core.WritableSignal<Part[]>;
137
140
  item: FormControl<Item | null>;
138
141
  itemPart: FormControl<Part | null>;
139
142
  partTypeKey: FormControl<string | null>;
@@ -142,9 +145,6 @@ declare class PinTargetLookupComponent implements OnInit, OnDestroy {
142
145
  byTypeMode: FormControl<boolean>;
143
146
  external: FormControl<boolean>;
144
147
  form: FormGroup;
145
- filter: PinRefLookupFilter;
146
- pinFilterOptions?: IndexLookupDefinition;
147
- lookupData?: PinLookupData;
148
148
  constructor(_presetLookupDefs: IndexLookupDefinitions, itemLookupService: ItemRefLookupService, pinLookupService: PinRefLookupService, _itemService: ItemService, _thesService: ThesaurusService, _snackbar: MatSnackBar, formBuilder: FormBuilder);
149
149
  private emitTargetChange;
150
150
  private forceByItem;
@@ -205,8 +205,9 @@ declare class AssertedCompositeIdComponent {
205
205
  lookupService: PinRefLookupService;
206
206
  lookupDefs: IndexLookupDefinitions;
207
207
  private _updatingForm;
208
- extLookupConfigs: RefLookupConfig[];
209
- targetExpanded: boolean;
208
+ private _lookupConfigDirty;
209
+ readonly extLookupConfigs: _angular_core.WritableSignal<RefLookupConfig[]>;
210
+ readonly targetExpanded: _angular_core.WritableSignal<boolean>;
210
211
  target: FormControl<PinTarget | null>;
211
212
  scope: FormControl<string | null>;
212
213
  tag: FormControl<string | null>;
@@ -281,8 +282,8 @@ declare class AssertedCompositeIdComponent {
281
282
  declare class AssertedCompositeIdsComponent {
282
283
  private _dialogService;
283
284
  private _ids;
284
- private _editedIndex;
285
- edited?: AssertedCompositeId;
285
+ readonly editedIndex: _angular_core.WritableSignal<number>;
286
+ readonly edited: _angular_core.WritableSignal<AssertedCompositeId | undefined>;
286
287
  /**
287
288
  * The asserted IDs.
288
289
  */
@@ -365,7 +366,7 @@ declare class AssertedIdComponent implements OnInit, OnDestroy {
365
366
  scope: FormControl<string | null>;
366
367
  assertion: FormControl<Assertion | null>;
367
368
  form: FormGroup;
368
- lookupExpanded: boolean;
369
+ readonly lookupExpanded: _angular_core.WritableSignal<boolean>;
369
370
  readonly idScopeEntries: _angular_core.InputSignal<ThesaurusEntry[] | undefined>;
370
371
  readonly idTagEntries: _angular_core.InputSignal<ThesaurusEntry[] | undefined>;
371
372
  readonly assTagEntries: _angular_core.InputSignal<ThesaurusEntry[] | undefined>;
@@ -406,8 +407,8 @@ declare class AssertedIdComponent implements OnInit, OnDestroy {
406
407
  */
407
408
  declare class AssertedIdsComponent {
408
409
  private _dialogService;
409
- private _editedIndex;
410
- edited?: AssertedId;
410
+ readonly editedIndex: _angular_core.WritableSignal<number>;
411
+ readonly edited: _angular_core.WritableSignal<AssertedId | undefined>;
411
412
  /**
412
413
  * The asserted IDs.
413
414
  */
@@ -451,8 +452,8 @@ declare class ScopedPinLookupComponent {
451
452
  lookupDefs: IndexLookupDefinitions;
452
453
  key: FormControl<string | null>;
453
454
  keyForm: FormGroup;
454
- keys: string[];
455
- info?: LookupInfo;
455
+ readonly keys: _angular_core.WritableSignal<string[]>;
456
+ readonly info: _angular_core.WritableSignal<LookupInfo | undefined>;
456
457
  id: FormControl<string | null>;
457
458
  idForm: FormGroup;
458
459
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@myrmidon/cadmus-refs-asserted-ids",
3
- "version": "10.0.7",
3
+ "version": "10.0.9",
4
4
  "description": "Cadmus - asserted IDs components.",
5
5
  "keywords": [
6
6
  "Cadmus",
@@ -17,6 +17,7 @@
17
17
  "peerDependencies": {
18
18
  "@angular/common": "^20.0.0",
19
19
  "@angular/core": "^20.0.0",
20
+ "@angular/material": "^20.0.0",
20
21
  "@myrmidon/ngx-mat-tools": "^1.0.0",
21
22
  "@myrmidon/cadmus-api": "^14.0.3",
22
23
  "@myrmidon/cadmus-refs-assertion": "^10.0.3"