@myrmidon/cadmus-refs-asserted-ids 10.0.8 → 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/README.md +57 -60
- package/fesm2022/myrmidon-cadmus-refs-asserted-ids.mjs +119 -131
- package/fesm2022/myrmidon-cadmus-refs-asserted-ids.mjs.map +1 -1
- package/index.d.ts +16 -16
- package/package.json +2 -1
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,
|
|
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
|
-
|
|
135
|
-
|
|
136
|
-
|
|
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;
|
|
@@ -206,8 +206,8 @@ declare class AssertedCompositeIdComponent {
|
|
|
206
206
|
lookupDefs: IndexLookupDefinitions;
|
|
207
207
|
private _updatingForm;
|
|
208
208
|
private _lookupConfigDirty;
|
|
209
|
-
extLookupConfigs: RefLookupConfig[]
|
|
210
|
-
targetExpanded: boolean
|
|
209
|
+
readonly extLookupConfigs: _angular_core.WritableSignal<RefLookupConfig[]>;
|
|
210
|
+
readonly targetExpanded: _angular_core.WritableSignal<boolean>;
|
|
211
211
|
target: FormControl<PinTarget | null>;
|
|
212
212
|
scope: FormControl<string | null>;
|
|
213
213
|
tag: FormControl<string | null>;
|
|
@@ -282,8 +282,8 @@ declare class AssertedCompositeIdComponent {
|
|
|
282
282
|
declare class AssertedCompositeIdsComponent {
|
|
283
283
|
private _dialogService;
|
|
284
284
|
private _ids;
|
|
285
|
-
|
|
286
|
-
edited
|
|
285
|
+
readonly editedIndex: _angular_core.WritableSignal<number>;
|
|
286
|
+
readonly edited: _angular_core.WritableSignal<AssertedCompositeId | undefined>;
|
|
287
287
|
/**
|
|
288
288
|
* The asserted IDs.
|
|
289
289
|
*/
|
|
@@ -366,7 +366,7 @@ declare class AssertedIdComponent implements OnInit, OnDestroy {
|
|
|
366
366
|
scope: FormControl<string | null>;
|
|
367
367
|
assertion: FormControl<Assertion | null>;
|
|
368
368
|
form: FormGroup;
|
|
369
|
-
lookupExpanded: boolean
|
|
369
|
+
readonly lookupExpanded: _angular_core.WritableSignal<boolean>;
|
|
370
370
|
readonly idScopeEntries: _angular_core.InputSignal<ThesaurusEntry[] | undefined>;
|
|
371
371
|
readonly idTagEntries: _angular_core.InputSignal<ThesaurusEntry[] | undefined>;
|
|
372
372
|
readonly assTagEntries: _angular_core.InputSignal<ThesaurusEntry[] | undefined>;
|
|
@@ -407,8 +407,8 @@ declare class AssertedIdComponent implements OnInit, OnDestroy {
|
|
|
407
407
|
*/
|
|
408
408
|
declare class AssertedIdsComponent {
|
|
409
409
|
private _dialogService;
|
|
410
|
-
|
|
411
|
-
edited
|
|
410
|
+
readonly editedIndex: _angular_core.WritableSignal<number>;
|
|
411
|
+
readonly edited: _angular_core.WritableSignal<AssertedId | undefined>;
|
|
412
412
|
/**
|
|
413
413
|
* The asserted IDs.
|
|
414
414
|
*/
|
|
@@ -452,8 +452,8 @@ declare class ScopedPinLookupComponent {
|
|
|
452
452
|
lookupDefs: IndexLookupDefinitions;
|
|
453
453
|
key: FormControl<string | null>;
|
|
454
454
|
keyForm: FormGroup;
|
|
455
|
-
keys: string[]
|
|
456
|
-
info
|
|
455
|
+
readonly keys: _angular_core.WritableSignal<string[]>;
|
|
456
|
+
readonly info: _angular_core.WritableSignal<LookupInfo | undefined>;
|
|
457
457
|
id: FormControl<string | null>;
|
|
458
458
|
idForm: FormGroup;
|
|
459
459
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@myrmidon/cadmus-refs-asserted-ids",
|
|
3
|
-
"version": "10.0.
|
|
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"
|