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

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 CHANGED
@@ -16,6 +16,7 @@ This project was generated using [Angular CLI](https://github.com/angular/angula
16
16
  - [Asserted Composite ID](#asserted-composite-id)
17
17
  - [Asserted Composite IDs](#asserted-composite-ids)
18
18
  - [History](#history)
19
+ - [10.0.10](#10010)
19
20
  - [10.0.9](#1009)
20
21
  - [10.0.8](#1008)
21
22
  - [10.0.5](#1005)
@@ -317,14 +318,19 @@ When the ID is **external**, the only properties set for the target model are `g
317
318
 
318
319
  There are different **options** to customize the lookup behavior:
319
320
 
320
- - lookup pin without any filters, except for the always present part type ID and pin name (_by type_); or lookup pin with optional filters for the item and any of its parts (_by item_; this is the default).
321
- - the part type ID and pin name filter (i.e. the _index lookup definitions_) can be set from many sources:
322
- 1. directly from the consumer code by setting `lookupDefinitions`;
323
- 2. from injection, when (1) is not used;
324
- 3. from thesaurus `model-types`, when (2) is empty.
325
- - set `pinByTypeMode` to true, to let the editor use by-type mode instead of by-item;
326
- - set `canSwitchMode` to true, to allow users switch between by-type and by-item modes;
327
- - set `canEditTarget` to true, to allow users edit the link target GID and label also for internal pins, where they are automatically provided by pin lookup.
321
+ - lookup pins by part type or by item instance:
322
+ - _by part type_: you directly lookup by pin name, in the context of a specific part type. The part type is selected from a dropdown list, which draws its data from the configured `IndexLookupDefinitions`.
323
+ - _by item instance_: you lookup pins filtered by a specific item (via its assigned EID in its metadata part), and optionally by any of its parts. This is the default mode, as in most cases users have a top-bottom approach and think first of the item they want to target, and then, possibly, to a specific portion of its data (unless they are just happy to target the item as a whole).
324
+
325
+ >The part type ID and pin name filter (i.e. the _index lookup definitions_) can be set from many sources:
326
+
327
+ 1. directly from the consumer code by setting `lookupDefinitions`;
328
+ 2. from injection, when (1) is not used;
329
+ 3. from thesaurus `model-types`, when (2) is empty.
330
+
331
+ - set `pinByTypeMode` to true to let the editor use by-type mode instead of by-item;
332
+ - set `canSwitchMode` to true to allow users switch between by-type and by-item modes;
333
+ - set `canEditTarget` to true to allow users edit the link target GID and label also for internal pins, where they are automatically provided by pin lookup.
328
334
 
329
335
  These options can be variously combined to force users to use a specific behavior only; for instance, if you just want by-type lookup and automatic GID/label, set `pinByTypeMode` to true and `canSwitchMode` and `canEditTarget` to false.
330
336
 
@@ -372,6 +378,10 @@ A collection of asserted composite IDs.
372
378
 
373
379
  ## History
374
380
 
381
+ ### 10.0.10
382
+
383
+ - 2025-09-15: refactored `AssertedIdsComponent` and `AssertedCompositeIdsComponent` dropping form.
384
+
375
385
  ### 10.0.9
376
386
 
377
387
  - 2025-09-11: refactored for `OnPush`.