This project was generated with Angular CLI version 13.1.3.
The project is used as an incubator shell for developing and testing frontend Cadmus codicological components:
Per-library documentation:
🐋 Quick Docker image build:
npm run build-lib
; if you are going to use the libraries, publish them viapublish.bat
;- remember to update version in
env.js
, thenng build --configuration production
; docker build . -t vedph2020/cadmus-codicology-shell:5.1.0 -t vedph2020/cadmus-codicology-shell:latest
(replace with the current version).
- each part is a library named after it following the pattern
cadmus-part-codicology-<PARTNAME>
. - a pages library
cadmus-part-codicology-pg
imports all these libraries and provides routing:ng g library @myrmidon/cadmus-part-codicology-pg --prefix cadmus
.
- 2024-04-13:
- updated Angular.
⚠️ migrated to bricks V2, major version of all libraries bumped to 6.
- 2023-11-18: updated Angular.
- 2023-11-09:
⚠️ upgraded to Angular 17.
- 2023-08-28: updated Angular and packages.
- 2023-07-30: added
workId
toCodContent
(@myrmidon/cadmus-part-codicology-contents
3.1.1). - 2023-07-24:
- added
authorIds
toCodEdit
. - updated Angular.
- added
- 2023-07-17:
- updated packages.
- set internal link as default for decoration artist ID.
- added
ids
to hand.
- 2023-06-22:
- default unit=
mm
for watermarks and bindings. - fixed preset script in new hand instance.
- default unit=
- 2023-06-17:
- updated Angular and packages.
- moved to PostgreSQL.
- 2023-05-24: breaking changes in two parts:
- watermarks,
ids
property: replaced typeAssertedId[]
withAssertedCompositeId[]
. - decorations,
artist.ids
property: replaced typeAssertedId[]
withAssertedCompositeId[]
.
- watermarks,
- 2023-05-17:
- CodWatermark: changed chronotope in chronotopes.
- CodContentAnnotation: added note; explicit and text not required.
- CodEdit: added has-date control so that users are allowed to omit date.
- 2023-05-11: updated to Angular 16.
- 2023-04-21: updated Angular and packages.
- 2023-03-25:
- updated Angular and packages.
- changed hand instance's
script
toscripts
. - added
isByScript
to the N-col definition model.
- 2023-02-13: fixes to decoration flags.
- 2023-02-11: fixes to hand instance editor.
- 2023-02-10: fixes to decorations.
- 2023-02-10: updated flags related editors.
- 2023-02-10: refactored flags related editors.
- 2023-02-09: completed property bindings refactoring.
- 2023-02-08:
- ranges instead of single range for hand's subscription.
- removed all the no more required
initial...
property bindings (essentially referred to bricks: references, chronotope, size, cod.location): bindings (binding editor), contents (content annotation, content editor), decorations (decoration, artist style, element), edits (edit), hands (hand, hand instance, hand sign), layouts (layout), material-dsc (palimpsest, unit), sheet labels (endleaf, N-col definition), watermarks (watermark).
- 2023-02-07: updated packages.
- 2023-02-03: updated packages.
- 2023-02-03: updated bricks packages (updating decorations and watermarks).
- 2023-02-03:
- updated Angular and packages.
- improved input/output bindings of submodel editors.
- 2023-02-02: allow
n
as system ID in location converter. - 2023-01-24: updated packages.
- 2023-01-24: fixed button label in edit editor.
- 2023-01-23: r/v for covers in sheet labels.
- 2023-01-23:
- updated packages (cover in
CodLocation
). - added covers in sheet labels.
- updated packages (cover in
- 2023-01-20: updated packages.
- 2023-01-14: fix to decoration element editor (do not emit on
type
value change). - 2023-01-12: fix to decoration element editor, also moving it to an expander from a nested tab (
@myrmidon/cadmus-part-codicology-decorations
).
- 2023-01-12:
- sheet labels: new formula for setting values of an arbitrary cells set.
- 2023-01-11:
- layout figure: added explode feature.
- sheet labels: changed add formula behavior (label generator) so that r/v suffixes are added (e.g.
1*3=10
=10r
,10v
,11r
).
- 2022-12-21: fix typologies thesaurus not bound in decorations (
@myrmidon/cadmus-part-codicology-decorations
). - 2022-12-20: fix to flags not updated when loading decoration element (
@myrmidon/cadmus-part-codicology-decorations
). - 2022-12-19:
- updated Angular.
- fix to parent keys not updated when loading/deleting elements in decoration editor (
@myrmidon/cadmus-part-codicology-decorations
).
- 2022-12-15: version numbers updates for aesthetic changes.
- 2022-12-15: updated Cadmus packages for fixes.
- 2022-12-14:
- updated Angular and packages.
- minor fixes to add buttons in contents and layouts.
- 2022-12-06: fixed chronotope not reset in hand instance editor.
- 2022-12-06:
- updated packages.
- fixed codicology instance not reset properly on new instance.
- 2022-12-03:
- fixes to button styles.
- changed code template for editing multiple entries in an array. See below.
- 2022-12-02: updated packages.
New template:
public add__NAME__(): void {
this.edit__NAME__({});
}
public edit__NAME__(entry: __NAME__ | null, index = -1): void {
if (!entry) {
this.editedEntryIndex = -1;
this.editedEntry = undefined;
} else {
this.editedEntryIndex = index;
this.editedEntry = entry;
}
}
public on__NAME__Save(entry: __NAME__): void {
const __NAME__s = [...this.__NAME__s.value];
if (this.editedEntryIndex > -1) {
__NAME__s.splice(this.editedEntryIndex, 1, entry);
} else {
__NAME__s.push(entry);
}
this.__NAME__s.setValue(__NAME__s);
this.__NAME__s.updateValueAndValidity();
this.__NAME__s.markAsDirty();
this.edit__NAME__(null);
}
public delete__NAME__(index: number): void {
this._dialogService
.confirm('Confirmation', 'Delete __NAME__?')
.pipe(take(1))
.subscribe((yes) => {
if (yes) {
const __NAME__s = [...this.__NAME__s.value];
__NAME__s.splice(index, 1);
this.__NAME__s.setValue(__NAME__s);
this.__NAME__s.updateValueAndValidity();
this.__NAME__s.markAsDirty();
}
});
}
- 2022-12-01: updated packages.
- 2022-11-30:
- updated packages after removing
@angular/flex-layout
from Cadmus shell. - removed usages of Angular Flex Layout from
@myrmidon/cadmus-part-codicology-sheet-labels
. - fix to
@myrmidon/cadmus-part-codicology-contents
(still usingCadmusValidators
).
- updated packages after removing
- 2022-11-23: moved note set from
@myrmidon/cadmus-codicology-ui
to Cadmus bricks. - 2022-11-22:
- upgraded to Angular 15
- replaced Akita with ELF
- all libraries version numbers bumped to 2.0.0
- 2022-11-11:
- fix to layout editor (counts not loaded:
@myrmidon/cadmus-part-codicology-layouts
). - fix to hand instance editor (
@myrmidon/cadmus-part-codicology-hands
).
- fix to layout editor (counts not loaded:
- 2022-11-03: updated Angular and Cadmus packages.
- 2022-11-10: updated Angular.
- 2022-09-24:
- updated Angular and Cadmus packages.
- fix to decoration element editor (
cadmus-part-codicology-decorations
). - set required for hands instance ranges control (
cadmus-part-codicology-hands
). - aesthetic changes in layout editor (
cadmus-part-codicology-layouts
).
- 2022-09-15: updated Angular and Cadmus packages.
- 2022-08-05: fixes to decoration.
- 2022-08-04:
- fix to sheet labels definition editing
- fix to layouts decorated counts thesauri
- 2022-08-04: replaced external ID with asserted ID removing dependency from
@myrmidon/cadmus-refs-external-ids
. - 2022-08-03: minor fixes and version bump for all the libraries.
- 2022-07-23: changed
CodContent
model by addingauthor
and changingrange
toranges
. - 2022-07-21: fixes and updates.
- 2022-06-19: upgraded to Angular 14 refactoring all the forms into typed.
- 2022-05-21: fixed colors and gildings thesauri in decorations part.
- 2022-05-05: updated packages and fixed locale issue.
- 2022-04-29: upgraded Angular.
- 2022-04-08: various fixes to decorations and labels, additions to ui.
- 2022-04-05: various fixes.
- 2022-03-26: various fixes.
- 2022-03-23: various fixes, added layout formula.
- 2022-03-22: various fixes.
- 2022-03-20: upgraded Cadmus shell packages.
- 2022-03-18: fixes to part editors; upgraded Angular.
- 2022-03-05: fixes to images editor in UI library; upgraded Angular.
- updated Docker scripts.