Skip to main content

enum-type-metamodel


0.3.0 (2024-12-12)

Fixed

  • Fixed enum types breaking the FinderBean by defining the finder nativeType.
  • 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.hasEnumTypeField for applicability of the AngularEnumTypes Feature
  • Added nativeTypes for TYPESCRIPT technology in the EnumTypeBuilder for the following concerns: json, transport, json-transport, transport-json.
    • json still uses the string type as this backend exposes it this way.
    • transport now uses Reference from the NSX Angular Runtime Library.
    • json-transport maps the string value into a Reference with both id and displayLabel equal to the string value.
    • transport-json maps the Reference.id into a string value.
  • Added Expander Features with Reference imports for all angular-expanders that use the transport - TYPESCRIPT nativeType 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 use formControlName with the formControlName of the actual FormModel field instead of using the separate formControl.
  • Support edit-form initialization with null values 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.2
    • net.democritus:expanders-core: 7.7.2 -> 7.8.2
    • net.democritus.angular:angular-expanders: 4.5.0 -> 5.3.1
    • net.democritus.angular.angularProjects.model:angularProjects-test-support: 4.5.0 -> 5.3.1
    • net.democritus.model:modelTransmutations-core: 2.4.3 -> 2.5.0
    • net.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, FormControl and DestroyRef imports 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.2
    • net.democritus:expanders-core: 7.4.5 -> 7.7.2
    • net.democritus.angular:angular-expanders: 4.5.0 -> 4.11.1
    • net.democritus:prime-data: 2024.0.2 -> 2024.0.3
    • net.democritus.model:modelTransmutations-core: 2.4.2 -> 2.4.3
    • net.democritus.metamodel:nsx-metamodel-stack: 2024.3.13 -> 2024.4.3
    • net.democritus:prime-core: 2024.3.13 -> 2024.6.0
    • org.junit.jupiter: 5.11.0 -> 5.11.2
    • org.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.0
    • org.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.

0.0.2 (2023-11-30)

Added

  • Added enum-types-metamodel expansion-resource for micro-radiant integration.

0.0.1 (2023-11-30)

Added

  • Added EnumType, which implements ValueType.