enum-type-metamodel
2.2.0 (2026-08-04)
Changed
Updated prime-core to 2026.4.0.
Fixed
- Fixed missing
groupto enumTypeElements ontology.
2.1.0 (2025-10-01)
Added
- Added
valueattribute toEnumTypeValue, which can be used to provide text values in other formats.
Changed
- EnumTypeValue
nameshould useMacroCaseformat. (This was implied before, but never documented or enforced.)
1.0.0 (2025-03-24)
Changed
- Changed groupIds to
net.democritus.enumtypes. - Updated prime-core to
2025.0.0.
Added
- Added
enum-type-beam, which uses symbiotic dependencies to include rest and angular expanders where applicable.
0.5.0 (2025-03-18)
Fixed
- Added dependency on web-styles in
enum-type-expandersto ensure forward compatibility with Expanders 8.
0.4.1 (2025-01-21)
Added
- Added import of
SelectComponentby default if enums are used in the filter form.
0.4.0 (2025-01-13)
Added
- Added
#enums.filterField.isEnumTyperule that checks if a QueryFilterField's type is a known EnumType. - Added specific non-inherited
form-inputnativeType forANGULARtechnology. This is a template for ansc-selectcomponent for HTML. This replaces the removed ExpanderFeatures for HTML-forms. - Added specific non-inherited
form-input-importnativeType forANGULARtechnology. This ensures that the SelectComponent is imported from the Runtime Library. - Added
FilterFormTsExpanderExpanderFeature that expands the enumTypeReference arrays in the filter-form component. - Added
LegacyFilterFormTsExpanderExpanderFeature that expands the enumTypeReference arrays in the legacy filter-form component.
Changed
- Rejuvenations:
net.democritus.test:expanders-assert:0.9.1 -> 1.1.0org.junit.jupiter:junit-jupiter-engine:5.11.3 -> 5.11.4org.junit.jupiter:junit-jupiter:5.11.3 -> 5.11.4
Removed
- Removed
AddFormHtmlExpanderExpanderFeature as the content of the template is now handled automatically by theform-inputnativeType. - Removed
EditFormHtmlExpanderExpanderFeature as the content of the template is now handled automatically by theform-inputnativeType. - Removed
EditHtmlExpanderExpanderFeature as the content of the template is now handled automatically by theform-inputnativeType. - Removed
NewFormHtmlExpanderExpanderFeature as the content of the template is now handled automatically by theform-inputnativeType.
0.3.0 (2024-12-12)
Fixed
- Fixed enum types breaking the FinderBean by defining the
findernativeType. - Fixed ISSUE-75: The forms now use the References directly and the separate formControls have been removed. Syncing is completely omitted this way.
Added
- Added tag condition
#angular.dataView.hasEnumTypeFieldfor applicability of the AngularEnumTypes Feature - Added nativeTypes for
TYPESCRIPTtechnology in the EnumTypeBuilder for the following concerns:json,transport,json-transport,transport-json.jsonstill uses thestringtype as this backend exposes it this way.transportnow usesReferencefrom the NSX Angular Runtime Library.json-transportmaps the string value into a Reference with both id and displayLabel equal to the string value.transport-jsonmaps the Reference.id into a string value.
- Added Expander Features with
Referenceimports for all angular-expanders that use thetransport-TYPESCRIPTnativeType to ensure the import is present. - Added some missing tests to check component, service, regular imports on all Expander Features. Some TestClasses did not check imports, etc.
Changed
- Changed
nsc-select-components in filter-, add- and edit-forms to useformControlNamewith the formControlName of the actual FormModel field instead of using the separate formControl. - Support edit-form initialization with
nullvalues explicitly. - Changed Detail and Table Expander Features to use id of enumReference for building the translationKey.
- Changed DetailHtmlExpander Feature to use the inputSignal method-call instead of trying to access the model as a variable.
- Rejuvenations:
net.democritus:Expanders:7.7.2 -> 7.8.2net.democritus:expanders-core:7.7.2 -> 7.8.2net.democritus.angular:angular-expanders:4.5.0 -> 5.3.1net.democritus.angular.angularProjects.model:angularProjects-test-support:4.5.0 -> 5.3.1net.democritus.model:modelTransmutations-core:2.4.3 -> 2.5.0net.democritus:prime-core:2024.6.0 -> 2024.8.0
Removed
- Removed the standalone enumFieldFormControls and syncing code in angular filter-, add- and edit-forms.
- Removed the
takeUntilDestroyed,FormControlandDestroyRefimports in enum-type-angular-expanders Expander Features. These will now need custom imports if you used them in custom code.
0.2.4 (2024-10-10)
Fixed
- Fixed an issue where enum fields appear in new and edit components even though they are not exposed or in the commands
Changed
- Support new form component in angular-expanders 4.11
- Rejuvenations:
net.democritus:Expanders:7.4.5 -> 7.7.2net.democritus:expanders-core:7.4.5 -> 7.7.2net.democritus.angular:angular-expanders:4.5.0 -> 4.11.1net.democritus:prime-data:2024.0.2 -> 2024.0.3net.democritus.model:modelTransmutations-core:2.4.2 -> 2.4.3net.democritus.metamodel:nsx-metamodel-stack:2024.3.13 -> 2024.4.3net.democritus:prime-core:2024.3.13 -> 2024.6.0org.junit.jupiter:5.11.0 -> 5.11.2org.apache.maven.plugins:maven-surefire-plugin:3.5.0 -> 3.5.1
0.2.3 (2024-09-16)
Changed
- Rejuvenations:
org.junit.jupiter:junit-jupiter:5.10.3 -> 5.11.0org.apache.maven.plugins:maven-surefire-plugin:3.3.1 -> 3.5.0
Fixed
- Fixed an issue where the value of an enum field is not filled in the edit page (angular-expanders)
- Fixed an issue where a duplicate anchor name can occur in the new and edit HTML (angular-expanders). Beware: this changes the name of the 'custom-form-field-type-attributes' anchors, you will need to fix these harvest files manually.
0.2.2 (2024-08-09)
Fixed
- Fixed issue with translation for the TableHtmlExpander and DetailHtmlExpander
- Fixed wrong class for the edit html component
0.2.1 (2024-07-26)
Fixed
- Fixed issue when having multiple enumTypes per dataElement
- Set the translations on the field level
0.2.0 (2024-07-09)
Changed
- [enum-type-angular-expanders] Change implementation of enum dropdown in angular to nsc component.
0.1.1 (2024-03-27)
Fixed
- Fixed issues with
${revision}version in pom files by using the flatten-maven-plugin
0.1.0 (2024-03-26)
Added
- Added
enum-type-angular-expanders, which add dropdowns for each EnumType field.