@dangl/ava-model 2.26.0 → 2.27.0-beta0003

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.
@@ -802,6 +802,8 @@ declare class PositionDto extends IElementDto implements IPositionDto {
802
802
  priceCatalogueData?: PriceCatalogueDataDto | undefined;
803
803
  /** If this is set to true, the ProjectCatalogues property will not be propagated to child elements. This is useful in mapping scenarios, where you want to disable propagation for multiple changes, and only enable it once you have mapped all properties. */
804
804
  ignoreProjectCataloguePropagation: boolean;
805
+ /** A main position means that this position is important and should be highlighted in the user interface. Important meaning that is is usually a bigger part of the total sum of the services, or it needs special attention in another way. */
806
+ isMainPosition: boolean;
805
807
  constructor(data?: IPositionDto);
806
808
  init?(_data?: any): void;
807
809
  static fromJS(data: any): PositionDto;
@@ -930,6 +932,8 @@ interface IPositionDto extends IIElementDto {
930
932
  priceCatalogueData?: IPriceCatalogueDataDto | undefined;
931
933
  /** If this is set to true, the ProjectCatalogues property will not be propagated to child elements. This is useful in mapping scenarios, where you want to disable propagation for multiple changes, and only enable it once you have mapped all properties. */
932
934
  ignoreProjectCataloguePropagation: boolean;
935
+ /** A main position means that this position is important and should be highlighted in the user interface. Important meaning that is is usually a bigger part of the total sum of the services, or it needs special attention in another way. */
936
+ isMainPosition: boolean;
933
937
  }
934
938
  /** Based on the PriceComponent, this class is responsible for labour time components. */
935
939
  declare class LabourPriceComponentDto implements ILabourPriceComponentDto {
@@ -1455,7 +1459,7 @@ declare class OenormPositionPropertiesDto implements IOenormPositionPropertiesDt
1455
1459
  originCode: OenormOriginCodeDto;
1456
1460
  /** This marks if the opening texts within this element are considered free text. It corresponds to 'vorbemerkungskennzeichen' in ÖNorm. */
1457
1461
  openingTextIsFreeText: boolean;
1458
- /** This indicates if the ÖNorm 'wesentliche position' mark is set */
1462
+ /** This indicates if the ÖNorm 'wesentliche position' mark is set. This should no longer be used, please use the IsMainPosition property on the parent position instead. */
1459
1463
  isMainPosition: boolean;
1460
1464
  /** This indicates if the ÖNorm position was a 'ungeteilteposition' (undivided position). This will only be taken into account when the position is also the sole element inside it's parent group */
1461
1465
  isUndividedPosition: boolean;
@@ -1474,7 +1478,7 @@ interface IOenormPositionPropertiesDto {
1474
1478
  originCode: OenormOriginCodeDto;
1475
1479
  /** This marks if the opening texts within this element are considered free text. It corresponds to 'vorbemerkungskennzeichen' in ÖNorm. */
1476
1480
  openingTextIsFreeText: boolean;
1477
- /** This indicates if the ÖNorm 'wesentliche position' mark is set */
1481
+ /** This indicates if the ÖNorm 'wesentliche position' mark is set. This should no longer be used, please use the IsMainPosition property on the parent position instead. */
1478
1482
  isMainPosition: boolean;
1479
1483
  /** This indicates if the ÖNorm position was a 'ungeteilteposition' (undivided position). This will only be taken into account when the position is also the sole element inside it's parent group */
1480
1484
  isUndividedPosition: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dangl/ava-model",
3
- "version": "2.26.0",
3
+ "version": "2.27.0-beta0003",
4
4
  "description": "",
5
5
  "main": "dist/ava-model/fesm2022/dangl-ava-model.min.mjs",
6
6
  "types": "dist/ava-model/index.d.ts",