@myrmidon/cadmus-part-general-ui 14.0.3 → 14.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
@@ -1788,15 +1788,23 @@ declare const DOC_REFERENCES_PART_SCHEMA: {
1788
1788
  };
1789
1789
  };
1790
1790
 
1791
+ interface DocReferencesPartSettings {
1792
+ noLookup?: boolean;
1793
+ noCitation?: boolean;
1794
+ defaultPicker?: 'citation' | 'lookup';
1795
+ }
1791
1796
  /**
1792
1797
  * Document references part editor.
1793
1798
  * Thesauri: doc-reference-tags, doc-reference-types (all optional).
1799
+ * You can configure doc references lookup properties via settings.
1794
1800
  */
1795
1801
  declare class DocReferencesPartComponent extends ModelEditorComponentBase<DocReferencesPart> implements OnInit {
1796
1802
  references: FormControl<DocReference[]>;
1797
- typeEntries: ThesaurusEntry[] | undefined;
1798
- tagEntries: ThesaurusEntry[] | undefined;
1803
+ readonly typeEntries: i0.WritableSignal<ThesaurusEntry[] | undefined>;
1804
+ readonly tagEntries: i0.WritableSignal<ThesaurusEntry[] | undefined>;
1805
+ readonly settings: i0.WritableSignal<DocReferencesPartSettings | undefined>;
1799
1806
  constructor(authService: AuthJwtService, formBuilder: FormBuilder);
1807
+ private loadSettings;
1800
1808
  ngOnInit(): void;
1801
1809
  protected buildForm(formBuilder: FormBuilder): FormGroup | UntypedFormGroup;
1802
1810
  private updateThesauri;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@myrmidon/cadmus-part-general-ui",
3
- "version": "14.0.3",
3
+ "version": "14.0.4",
4
4
  "description": "Cadmus - generic parts.",
5
5
  "keywords": [
6
6
  "Cadmus"