@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 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.9](#1009)
19
20
  - [10.0.8](#1008)
20
21
  - [10.0.5](#1005)
21
22
  - [10.0.4](#1004)
@@ -82,25 +83,19 @@ Various components from this library provide a different level of complexity, so
82
83
  - 🔑 `AssertedIdComponent`
83
84
  - 🚩 `cadmus-refs-asserted-id`
84
85
  - ▶️ input:
85
- - id (`AssertedId? | null`)
86
- - external (`boolean?`)
87
- - hasSubmit (`boolean?`)
88
- - pinByTypeMode (`boolean?`)
89
- - canSwitchMode (`boolean?`)
90
- - canEditTarget (`boolean?`)
91
- - defaultPartTypeKey (`string?|null`)
92
- - lookupDefinitions (`IndexLookupDefinitions?`)
93
- - internalDefault (`boolean?`): true to start a new ID as internal rather than external
86
+ - `id` (`AssertedId? | null`)
87
+ - `noEidLookup` (`boolean?`)
88
+ - `hasSubmit` (`boolean?`)
94
89
  - 📚 thesauri:
95
- - `asserted-id-scopes` (idScopeEntries)
96
- - `asserted-id-tags` (idTagEntries).
97
- - `assertion-tags` (assTagEntries).
98
- - `doc-reference-types` (refTypeEntries).
99
- - `doc-reference-tags` (refTagEntries).
90
+ - `asserted-id-scopes` (for `idScopeEntries`)
91
+ - `asserted-id-tags` (for `idTagEntries`).
92
+ - `assertion-tags` (for `assTagEntries`).
93
+ - `doc-reference-types` (for `refTypeEntries`).
94
+ - `doc-reference-tags` (for `refTagEntries`).
100
95
  - 🔥 output:
101
- - idChange (`AssertedId`)
102
- - editorClose
103
- - extMoreRequest (`RefLookupSetEvent`): the user requested more about the current external lookup source.
96
+ - `idChange` (`AssertedId`)
97
+ - `editorClose`
98
+ - `extMoreRequest` (`RefLookupSetEvent`): the user requested more about the current external lookup source.
104
99
 
105
100
  The asserted ID component allows editing a simple model representing a generic ID with an optional assertion. The ID has:
106
101
 
@@ -181,30 +176,29 @@ An editable list of asserted IDs.
181
176
  - 🔑 `AssertedIdsComponent`
182
177
  - 🚩 `cadmus-refs-asserted-ids`
183
178
  - ▶️ input:
184
- - ids (`AssertedId[]`)
179
+ - `ids` (`AssertedId[]`)
185
180
  - 📚 thesauri:
186
- - `asserted-id-scopes` (idScopeEntries)
187
- - `asserted-id-tags` (idTagEntries)
188
- - `assertion-tags` (assTagEntries)
189
- - `doc-reference-types` (refTypeEntries)
190
- - `doc-reference-tags` (refTagEntries)
181
+ - `asserted-id-scopes` (for `idScopeEntries`)
182
+ - `asserted-id-tags` (for `idTagEntries`)
183
+ - `assertion-tags` (for `assTagEntries`)
184
+ - `doc-reference-types` (for `refTypeEntries`)
185
+ - `doc-reference-tags` (for `refTagEntries`)
191
186
  - 🔥 output:
192
- - idsChange (`AssertedId[]`)
187
+ - `idsChange` (`AssertedId[]`)
193
188
 
194
189
  ## PinTargetLookupComponent
195
190
 
196
191
  - ▶️ input:
197
- - target (`PinTarget? | null`)
198
- - pinByTypeMode (`boolean?`)
199
- - canSwitchMode (`boolean?`)
200
- - canEditTarget (`boolean?`)
201
- - defaultPartTypeKey (`string?|null`)
202
- - lookupDefinitions (`IndexLookupDefinitions?`)
203
- - extLookupConfigs (`RefLookupConfig[]`): the configurations of external lookup providers, if any.
204
- - internalDefault (`boolean?`): true to start a new ID as internal rather than external
192
+ - `target` (`PinTarget? | null`)
193
+ - `pinByTypeMode` (`boolean?`)
194
+ - `canSwitchMode` (`boolean?`)
195
+ - `canEditTarget` (`boolean?`)
196
+ - `defaultPartTypeKey` (`string?|null`)
197
+ - `lookupDefinitions` (`IndexLookupDefinitions?`)
198
+ - `extLookupConfigs` (`RefLookupConfig[]`): the configurations of external lookup providers, if any.
205
199
  - 🔥 output:
206
- - targetChange (`PinTarget`)
207
- - editorClose
200
+ - `targetChange` (`PinTarget`)
201
+ - `editorClose`
208
202
 
209
203
  This component is used to edit an internal or external ID via lookup, and is the core of the [asserted composite ID](#asserted-composite-id) component:
210
204
 
@@ -289,21 +283,21 @@ export const INDEX_LOOKUP_DEFINITIONS: IndexLookupDefinitions = {
289
283
  - 🔑 `AssertedCompositeIdComponent`
290
284
  - 🚩 `cadmus-refs-asserted-composite-id`
291
285
  - ▶️ input:
292
- - ids (`AssertedId[]`)
293
- - pinByTypeMode (`boolean?`)
294
- - canSwitchMode (`boolean?`)
295
- - canEditTarget (`boolean?`)
296
- - defaultPartTypeKey (`string?|null`)
297
- - lookupDefinitions (`IndexLookupDefinitions?`)
298
- - internalDefault (`boolean?`): true to start a new ID as internal rather than external
286
+ - `id` (`AssertedId`)
287
+ - `pinByTypeMode` (`boolean?`)
288
+ - `canSwitchMode` (`boolean?`)
289
+ - `canEditTarget` (`boolean?`)
290
+ - `defaultPartTypeKey` (`string?|null`)
291
+ - `lookupDefinitions` (`IndexLookupDefinitions?`)
299
292
  - 📚 thesauri:
300
- - `asserted-id-scopes` (idScopeEntries)
301
- - `asserted-id-tags` (idTagEntries)
302
- - `assertion-tags` (assTagEntries)
303
- - `doc-reference-types` (refTypeEntries)
304
- - `doc-reference-tags` (refTagEntries)
293
+ - `asserted-id-scopes` (for `idScopeEntries`)
294
+ - `asserted-id-tags` (for `idTagEntries`)
295
+ - `assertion-tags` (for `assTagEntries`)
296
+ - `doc-reference-types` (for `refTypeEntries`)
297
+ - `doc-reference-tags` (for `refTagEntries`)
305
298
  - ⚡ output:
306
- - `idsChange` (`AssertedId[]`)
299
+ - `idChange` (`AssertedId[]`)
300
+ - `editorClose`
307
301
  - `extMoreRequest` (`RefLookupSetEvent`): the user requested more about the current external lookup source.
308
302
 
309
303
  This is the most complete ID reference, which can be used for both external and internal IDs, providing full lookup in either cases. Each asserted composite ID has:
@@ -361,24 +355,27 @@ A collection of asserted composite IDs.
361
355
  - 🔑 `AssertedCompositeIdsComponent`
362
356
  - 🚩 `cadmus-refs-asserted-composite-ids`
363
357
  - ▶️ input:
364
- - ids (`AssertedId[]`)
365
- - pinByTypeMode (`boolean?`)
366
- - canSwitchMode (`boolean?`)
367
- - canEditTarget (`boolean?`)
368
- - defaultPartTypeKey (`string?|null`)
369
- - lookupDefinitions (`IndexLookupDefinitions?`)
370
- - internalDefault (`boolean?`): true to start a new ID as internal rather than external
358
+ - `ids` (`AssertedId[]`)
359
+ - `pinByTypeMode` (`boolean?`)
360
+ - `canSwitchMode` (`boolean?`)
361
+ - `canEditTarget` (`boolean?`)
362
+ - `defaultPartTypeKey` (`string?|null`)
363
+ - `lookupDefinitions` (`IndexLookupDefinitions?`)
371
364
  - 📚 thesauri:
372
- - `asserted-id-scopes` (idScopeEntries)
373
- - `asserted-id-tags` (idTagEntries)
374
- - `assertion-tags` (assTagEntries)
375
- - `doc-reference-types` (refTypeEntries)
376
- - `doc-reference-tags` (refTagEntries)
365
+ - `asserted-id-scopes` (for `idScopeEntries`)
366
+ - `asserted-id-tags` (for `idTagEntries`)
367
+ - `assertion-tags` (for `assTagEntries`)
368
+ - `doc-reference-types` (for `refTypeEntries`)
369
+ - `doc-reference-tags` (for `refTagEntries`)
377
370
  - ⚡ output:
378
- - idsChange (`AssertedCompositeId[]`)
371
+ - `idsChange` (`AssertedCompositeId[]`)
379
372
 
380
373
  ## History
381
374
 
375
+ ### 10.0.9
376
+
377
+ - 2025-09-11: refactored for `OnPush`.
378
+
382
379
  ### 10.0.8
383
380
 
384
381
  - 2025-08-06: automatically update scope in asserted composite ID only when not updating form and lookup is external and scope is empty.