@dangl/angular-ava 1.5.2-beta0039 → 1.5.2-beta0048

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.
@@ -1,3 +1,4 @@
1
+ export { ExchangePhaseDto, ExecutionDescriptionDto, IElementDto, ItemNumberDto, ItemNumberSchemaTierTypeDto, ItemNumberTypeDto, NoteTextDto, OriginDto, PositionDto, PriceRoundingModeDto, PriceTypeDto, ProjectDto, ServiceSpecificationDto, ServiceSpecificationGroupDto } from '@dangl/ava-model';
1
2
  import { NgTemplateOutlet, AsyncPipe, NgClass, DecimalPipe, registerLocaleData, CurrencyPipe, PercentPipe, DatePipe } from '@angular/common';
2
3
  import localeDe from '@angular/common/locales/de';
3
4
  import localeEn from '@angular/common/locales/en';
@@ -29,212 +30,6 @@ import * as i1$3 from '@angular/material/expansion';
29
30
  import { MatExpansionModule } from '@angular/material/expansion';
30
31
  import { trigger, state, transition, style, animate } from '@angular/animations';
31
32
 
32
- //----------------------
33
- // <auto-generated>
34
- // Generated using the NSwag toolchain v14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0)) (http://NSwag.org)
35
- // </auto-generated>
36
- //----------------------
37
- /* tslint:disable */
38
- /* eslint-disable */
39
- // ReSharper disable InconsistentNaming
40
- /** This enum configures rounding modes for price calculations in projects */
41
- var PriceRoundingModeDto;
42
- (function (PriceRoundingModeDto) {
43
- PriceRoundingModeDto["Normal"] = "Normal";
44
- PriceRoundingModeDto["Floor"] = "Floor";
45
- PriceRoundingModeDto["Ceiling"] = "Ceiling";
46
- })(PriceRoundingModeDto || (PriceRoundingModeDto = {}));
47
- /** Determines the type of an ItemNumberSchema */
48
- var ItemNumberTypeDto;
49
- (function (ItemNumberTypeDto) {
50
- ItemNumberTypeDto["Numeric"] = "Numeric";
51
- ItemNumberTypeDto["Alphanumeric"] = "Alphanumeric";
52
- })(ItemNumberTypeDto || (ItemNumberTypeDto = {}));
53
- /** This enum represents the alignment value for a tier in an ItemNumberSchema. It is not used anywhere for computations at the moment, and is mostly an informational value. */
54
- var ItemNumberSchemaTierAlignmentDto;
55
- (function (ItemNumberSchemaTierAlignmentDto) {
56
- ItemNumberSchemaTierAlignmentDto["Undefined"] = "Undefined";
57
- ItemNumberSchemaTierAlignmentDto["Left"] = "Left";
58
- ItemNumberSchemaTierAlignmentDto["Right"] = "Right";
59
- })(ItemNumberSchemaTierAlignmentDto || (ItemNumberSchemaTierAlignmentDto = {}));
60
- /** Specifies the type an ItemNumberSchemaTier represents. For example, a tier may indicate to be used for positions or for groups. */
61
- var ItemNumberSchemaTierTypeDto;
62
- (function (ItemNumberSchemaTierTypeDto) {
63
- ItemNumberSchemaTierTypeDto["Undefined"] = "Undefined";
64
- ItemNumberSchemaTierTypeDto["Index"] = "Index";
65
- ItemNumberSchemaTierTypeDto["Position"] = "Position";
66
- ItemNumberSchemaTierTypeDto["Group"] = "Group";
67
- ItemNumberSchemaTierTypeDto["Lot"] = "Lot";
68
- })(ItemNumberSchemaTierTypeDto || (ItemNumberSchemaTierTypeDto = {}));
69
- /** This enumeration models types of price components for better classification. */
70
- var PriceComponentTypeDto;
71
- (function (PriceComponentTypeDto) {
72
- PriceComponentTypeDto["Unknown"] = "Unknown";
73
- PriceComponentTypeDto["Wages"] = "Wages";
74
- PriceComponentTypeDto["Materials"] = "Materials";
75
- PriceComponentTypeDto["Plant"] = "Plant";
76
- PriceComponentTypeDto["Miscellaneous"] = "Miscellaneous";
77
- })(PriceComponentTypeDto || (PriceComponentTypeDto = {}));
78
- /** This enumeration describes the type of the award / procurement process. If this is used in a GAEB context, more information about award types can be found in the German VOB/A rules and the GAEB standard */
79
- var AwardTypeDto;
80
- (function (AwardTypeDto) {
81
- AwardTypeDto["Unspecified"] = "Unspecified";
82
- AwardTypeDto["OpenProcurement"] = "OpenProcurement";
83
- AwardTypeDto["ClosedProducrement"] = "ClosedProducrement";
84
- AwardTypeDto["NegotiationProcurementWithoutPublicAnnouncement"] = "NegotiationProcurementWithoutPublicAnnouncement";
85
- AwardTypeDto["NegotiationProcurement"] = "NegotiationProcurement";
86
- AwardTypeDto["OpenCall"] = "OpenCall";
87
- AwardTypeDto["SelectedCallWithoutPublicCompetition"] = "SelectedCallWithoutPublicCompetition";
88
- AwardTypeDto["SelectedCall"] = "SelectedCall";
89
- AwardTypeDto["DirectAward"] = "DirectAward";
90
- AwardTypeDto["InternationalNATOProcurement"] = "InternationalNATOProcurement";
91
- AwardTypeDto["CompetitiveDialog"] = "CompetitiveDialog";
92
- })(AwardTypeDto || (AwardTypeDto = {}));
93
- /** This enumeration describes awards for project that are not just a regular procurement. For example, it can be used to describe recurring maintenance or an outline contract (German: Rahmenvertrag) which just specifies services and prices but may be requested on demand when necessary */
94
- var SpecialAwardKindDto;
95
- (function (SpecialAwardKindDto) {
96
- SpecialAwardKindDto["Unspecified"] = "Unspecified";
97
- SpecialAwardKindDto["MaintenanceContract"] = "MaintenanceContract";
98
- SpecialAwardKindDto["OutlineContract"] = "OutlineContract";
99
- SpecialAwardKindDto["OutlineForMaintenanceContract"] = "OutlineForMaintenanceContract";
100
- })(SpecialAwardKindDto || (SpecialAwardKindDto = {}));
101
- /** This enumeration describes the type of a catalogue. Catalogues, or collections, hold information to categorize and describe items. For example, the German DIN 276 cost group standards describe different types of costs for building projects. When referencing the DIN 276 catalogue and providing an item key or identifier, it is possible to reference data in this catalogue. */
102
- var CatalogueTypeDto;
103
- (function (CatalogueTypeDto) {
104
- CatalogueTypeDto["Unknown"] = "Unknown";
105
- CatalogueTypeDto["Location"] = "Location";
106
- CatalogueTypeDto["DIN276"] = "DIN276";
107
- CatalogueTypeDto["CostUnit"] = "CostUnit";
108
- CatalogueTypeDto["WorkCategory"] = "WorkCategory";
109
- CatalogueTypeDto["OenormB1801CostGroup"] = "OenormB1801CostGroup";
110
- CatalogueTypeDto["BIM"] = "BIM";
111
- CatalogueTypeDto["Attachment"] = "Attachment";
112
- })(CatalogueTypeDto || (CatalogueTypeDto = {}));
113
- /** Indicates the origin of an element. */
114
- var AdditionTypeDto;
115
- (function (AdditionTypeDto) {
116
- AdditionTypeDto["None"] = "None";
117
- AdditionTypeDto["ByBuyer"] = "ByBuyer";
118
- AdditionTypeDto["ByBidder"] = "ByBidder";
119
- })(AdditionTypeDto || (AdditionTypeDto = {}));
120
- /** This enumeration identifies a pre-known standard used for referencing standardized descriptions. */
121
- var StandardReferenceTypeDto;
122
- (function (StandardReferenceTypeDto) {
123
- StandardReferenceTypeDto["Unknown"] = "Unknown";
124
- StandardReferenceTypeDto["StLB"] = "StLB";
125
- StandardReferenceTypeDto["StLK"] = "StLK";
126
- StandardReferenceTypeDto["STLBBauZ"] = "STLBBauZ";
127
- })(StandardReferenceTypeDto || (StandardReferenceTypeDto = {}));
128
- /** Indicates if this service specification item is commissioned (and therefore should be executed), postponed for later or undefined. */
129
- var ComissionStatusDto;
130
- (function (ComissionStatusDto) {
131
- ComissionStatusDto["Undefined"] = "Undefined";
132
- ComissionStatusDto["Commissioned"] = "Commissioned";
133
- ComissionStatusDto["Postponed"] = "Postponed";
134
- ComissionStatusDto["Removed"] = "Removed";
135
- })(ComissionStatusDto || (ComissionStatusDto = {}));
136
- /** This is a classification for Position elements. */
137
- var PositionTypeDto;
138
- (function (PositionTypeDto) {
139
- PositionTypeDto["Regular"] = "Regular";
140
- PositionTypeDto["Optional"] = "Optional";
141
- PositionTypeDto["Alternative"] = "Alternative";
142
- })(PositionTypeDto || (PositionTypeDto = {}));
143
- /** This indicates the price type of a IPricedElement. */
144
- var PriceTypeDto;
145
- (function (PriceTypeDto) {
146
- PriceTypeDto["WithTotal"] = "WithTotal";
147
- PriceTypeDto["WithoutTotal"] = "WithoutTotal";
148
- })(PriceTypeDto || (PriceTypeDto = {}));
149
- /** The service type describes the type of service a Position represents. */
150
- var ServiceTypeDto;
151
- (function (ServiceTypeDto) {
152
- ServiceTypeDto["Regular"] = "Regular";
153
- ServiceTypeDto["HourlyPaidWork"] = "HourlyPaidWork";
154
- })(ServiceTypeDto || (ServiceTypeDto = {}));
155
- /** This indicates where the content of this element originates, if set. It corresponds to 'herkunftskennzeichen' in ÖNorm */
156
- var OenormOriginCodeDto;
157
- (function (OenormOriginCodeDto) {
158
- OenormOriginCodeDto["Unknown"] = "Unknown";
159
- OenormOriginCodeDto["FreeText"] = "FreeText";
160
- OenormOriginCodeDto["AdditionDescription"] = "AdditionDescription";
161
- })(OenormOriginCodeDto || (OenormOriginCodeDto = {}));
162
- /** This enumeration represents the status of an addendum, 'Nachtrag' in German */
163
- var AddendumStatusDto;
164
- (function (AddendumStatusDto) {
165
- AddendumStatusDto["Unknown"] = "Unknown";
166
- AddendumStatusDto["Recognized"] = "Recognized";
167
- AddendumStatusDto["Filed"] = "Filed";
168
- AddendumStatusDto["Offered"] = "Offered";
169
- AddendumStatusDto["Withdrawn"] = "Withdrawn";
170
- AddendumStatusDto["Rejected"] = "Rejected";
171
- AddendumStatusDto["RejectionObjected"] = "RejectionObjected";
172
- AddendumStatusDto["FormallyAcknowledged"] = "FormallyAcknowledged";
173
- AddendumStatusDto["Approved"] = "Approved";
174
- })(AddendumStatusDto || (AddendumStatusDto = {}));
175
- /** This enum represents the different ways in which a complementing position type can be specified. It is typically only used in GAEB exports, since in Dangl.AVA, complementing positions are always explicitly referenced. */
176
- var PositionComplementingTypeDto;
177
- (function (PositionComplementingTypeDto) {
178
- PositionComplementingTypeDto["Undefined"] = "Undefined";
179
- PositionComplementingTypeDto["AllPreviousMarkedPositions"] = "AllPreviousMarkedPositions";
180
- PositionComplementingTypeDto["AllPreviousPositions"] = "AllPreviousPositions";
181
- PositionComplementingTypeDto["ReferencedPositions"] = "ReferencedPositions";
182
- })(PositionComplementingTypeDto || (PositionComplementingTypeDto = {}));
183
- /** Types of retentions to be used in positions */
184
- var HoldOutTypeDto;
185
- (function (HoldOutTypeDto) {
186
- HoldOutTypeDto["Unknown"] = "Unknown";
187
- HoldOutTypeDto["Base"] = "Base";
188
- HoldOutTypeDto["Extension"] = "Extension";
189
- HoldOutTypeDto["Rent"] = "Rent";
190
- })(HoldOutTypeDto || (HoldOutTypeDto = {}));
191
- /** Duration used in retention positions */
192
- var HoldOutDurationUnitDto;
193
- (function (HoldOutDurationUnitDto) {
194
- HoldOutDurationUnitDto["Unknown"] = "Unknown";
195
- HoldOutDurationUnitDto["Minutes"] = "Minutes";
196
- HoldOutDurationUnitDto["Hours"] = "Hours";
197
- HoldOutDurationUnitDto["Days"] = "Days";
198
- HoldOutDurationUnitDto["Weeks"] = "Weeks";
199
- HoldOutDurationUnitDto["Months"] = "Months";
200
- })(HoldOutDurationUnitDto || (HoldOutDurationUnitDto = {}));
201
- /** Indicates a ServiceSpecification's exchange phase, based on the GAEB exchange phases. */
202
- var ExchangePhaseDto;
203
- (function (ExchangePhaseDto) {
204
- ExchangePhaseDto["Undefined"] = "Undefined";
205
- ExchangePhaseDto["Base"] = "Base";
206
- ExchangePhaseDto["CostEstimate"] = "CostEstimate";
207
- ExchangePhaseDto["OfferRequest"] = "OfferRequest";
208
- ExchangePhaseDto["Offer"] = "Offer";
209
- ExchangePhaseDto["SideOffer"] = "SideOffer";
210
- ExchangePhaseDto["Grant"] = "Grant";
211
- })(ExchangePhaseDto || (ExchangePhaseDto = {}));
212
- /** Indicates where a service specification was originally created. */
213
- var OriginDto;
214
- (function (OriginDto) {
215
- OriginDto["Self"] = "Self";
216
- OriginDto["Gaeb90"] = "Gaeb90";
217
- OriginDto["Gaeb2000"] = "Gaeb2000";
218
- OriginDto["GaebXml"] = "GaebXml";
219
- OriginDto["Oenorm"] = "Oenorm";
220
- OriginDto["Reb"] = "Reb";
221
- OriginDto["Sia"] = "Sia";
222
- })(OriginDto || (OriginDto = {}));
223
- /** This enumeration represents the unit of a duration */
224
- var DurationUnitDto;
225
- (function (DurationUnitDto) {
226
- DurationUnitDto["Months"] = "Months";
227
- DurationUnitDto["Years"] = "Years";
228
- })(DurationUnitDto || (DurationUnitDto = {}));
229
- /** This enum represents types of price inquiries */
230
- var CommerceInquiryTypeDto;
231
- (function (CommerceInquiryTypeDto) {
232
- CommerceInquiryTypeDto["Unknown"] = "Unknown";
233
- CommerceInquiryTypeDto["Project"] = "Project";
234
- CommerceInquiryTypeDto["Immediate"] = "Immediate";
235
- CommerceInquiryTypeDto["Exhibition"] = "Exhibition";
236
- })(CommerceInquiryTypeDto || (CommerceInquiryTypeDto = {}));
237
-
238
33
  var ModeViewType;
239
34
  (function (ModeViewType) {
240
35
  ModeViewType["Tree"] = "Tree";
@@ -244,12 +39,12 @@ var ModeViewType;
244
39
 
245
40
  // This file is automatically generated as part of the build process
246
41
  const version = {
247
- version: "1.5.2-beta0039",
248
- commitInfo: "Branch.develop.Sha.992304b075ad0573764bb100fcf59246545161a2",
249
- commitDate: "2026-01-15",
250
- commitHash: "992304b075ad0573764bb100fcf59246545161a2",
251
- informationalVersion: "1.5.2-beta.39+Branch.develop.Sha.992304b075ad0573764bb100fcf59246545161a2",
252
- buildDateUtc: new Date(Date.UTC(2026, 0, 15, 15, 40, 43))
42
+ version: "1.5.2-beta0048",
43
+ commitInfo: "Branch.develop.Sha.85021da4d037d2d9b2e298f915ebfec470ed6cd8",
44
+ commitDate: "2026-01-27",
45
+ commitHash: "85021da4d037d2d9b2e298f915ebfec470ed6cd8",
46
+ informationalVersion: "1.5.2-beta.48+Branch.develop.Sha.85021da4d037d2d9b2e298f915ebfec470ed6cd8",
47
+ buildDateUtc: new Date(Date.UTC(2026, 0, 27, 14, 52, 55))
253
48
  };
254
49
 
255
50
  class TreeHoverTooltipService {
@@ -1488,18 +1283,18 @@ class ExpandParentGroupService {
1488
1283
  if (!flatElements?.length) {
1489
1284
  return;
1490
1285
  }
1491
- const listGroup = flatElements.filter((item) => item.elements?.length);
1492
- if (!listGroup.length) {
1286
+ const serviceSpecificationGroups = flatElements.filter((item) => !!item.elements?.length);
1287
+ if (!serviceSpecificationGroups.length) {
1493
1288
  return;
1494
1289
  }
1495
1290
  const findAndExpandParent = (currentElement) => {
1496
- for (const itemGroup of listGroup) {
1497
- if (expansionState[itemGroup.id]) {
1291
+ for (const servSpec of serviceSpecificationGroups) {
1292
+ if (expansionState[servSpec.id]) {
1498
1293
  continue;
1499
1294
  }
1500
- if (itemGroup.elements?.find((item) => currentElement.id === item.id)) {
1501
- expansionState[itemGroup.id] = true;
1502
- return itemGroup;
1295
+ if (servSpec.elements?.find((item) => currentElement.id === item.id)) {
1296
+ expansionState[servSpec.id] = true;
1297
+ return servSpec;
1503
1298
  }
1504
1299
  }
1505
1300
  return null;
@@ -3291,5 +3086,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImpor
3291
3086
  * Generated bundle index. Do not edit.
3292
3087
  */
3293
3088
 
3294
- export { AttachmentMimeType, AvaTreeComponent, DEFAULT_CURRENCY_CODE, DEFAULT_DIGITS_INFO, DEFAULT_FILTERS, DEFAULT_LANGUAGE, DEFAULT_TEXT_WORDS, DEFAULT_TEXT_WORD_INVOICE, ExchangePhaseDto, InvoiceDisplayComponent, InvoiceType, ItemNumberSchemaTierTypeDto, ItemNumberTypeDto, ModeViewType, OriginDto, PriceRoundingModeDto, PriceTypeDto, VatCategory, defaults, germanTextsAva, germanTextsInvoice, localeTypes, version };
3089
+ export { AttachmentMimeType, AvaTreeComponent, DEFAULT_CURRENCY_CODE, DEFAULT_DIGITS_INFO, DEFAULT_FILTERS, DEFAULT_LANGUAGE, DEFAULT_TEXT_WORDS, DEFAULT_TEXT_WORD_INVOICE, InvoiceDisplayComponent, InvoiceType, ModeViewType, VatCategory, defaults, germanTextsAva, germanTextsInvoice, localeTypes, version };
3295
3090
  //# sourceMappingURL=dangl-angular-ava.mjs.map