@dangl/angular-ava 1.5.2-beta0095 → 1.5.2-beta0101

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.
@@ -39,12 +39,12 @@ var ModeViewType;
39
39
 
40
40
  // This file is automatically generated as part of the build process
41
41
  const version = {
42
- version: "1.5.2-beta0095",
43
- commitInfo: "Branch.develop.Sha.225e2ebdc40687897c82176b6cf0f6e7b62cca7d",
42
+ version: "1.5.2-beta0101",
43
+ commitInfo: "Branch.develop.Sha.905b000d38e5e1b4833f20df8d7fbc2e04e88ed8",
44
44
  commitDate: "2026-05-05",
45
- commitHash: "225e2ebdc40687897c82176b6cf0f6e7b62cca7d",
46
- informationalVersion: "1.5.2-beta.95+Branch.develop.Sha.225e2ebdc40687897c82176b6cf0f6e7b62cca7d",
47
- buildDateUtc: new Date(Date.UTC(2026, 4, 5, 14, 2, 20))
45
+ commitHash: "905b000d38e5e1b4833f20df8d7fbc2e04e88ed8",
46
+ informationalVersion: "1.5.2-beta.101+Branch.develop.Sha.905b000d38e5e1b4833f20df8d7fbc2e04e88ed8",
47
+ buildDateUtc: new Date(Date.UTC(2026, 4, 5, 14, 46, 37))
48
48
  };
49
49
 
50
50
  class TreeHoverTooltipService {
@@ -1220,7 +1220,7 @@ class ConfigurationTreeService {
1220
1220
  configTextWords = this.selectTextWords(config.textWords);
1221
1221
  }
1222
1222
  else {
1223
- configTextWords = !config.textWords ? this._textWords : config.textWords;
1223
+ configTextWords = config?.textWords ?? this._textWords;
1224
1224
  }
1225
1225
  this._language = configTextWords.language;
1226
1226
  return { ...configTextWords };
@@ -1230,37 +1230,37 @@ class ConfigurationTreeService {
1230
1230
  return languageWord === 'de' ? germanTextsAva : DEFAULT_TEXT_WORDS;
1231
1231
  }
1232
1232
  getIndentFromConfig() {
1233
- return this.treeConfig$.pipe(map((config) => config?.indent || ''), distinctUntilChanged((prev, curr) => JSON.stringify(prev) === JSON.stringify(curr)));
1233
+ return this.treeConfig$.pipe(map((config) => config?.indent ?? this._indent), distinctUntilChanged((prev, curr) => JSON.stringify(prev) === JSON.stringify(curr)));
1234
1234
  }
1235
1235
  getFunctionViewFromConfig() {
1236
- return this.treeConfig$.pipe(map((config) => config?.functionView || []), distinctUntilChanged((prev, curr) => JSON.stringify(prev) === JSON.stringify(curr)));
1236
+ return this.treeConfig$.pipe(map((config) => config?.functionView ?? this._functionView), distinctUntilChanged((prev, curr) => JSON.stringify(prev) === JSON.stringify(curr)));
1237
1237
  }
1238
1238
  getSelectedColorFromConfig() {
1239
- return this.treeConfig$.pipe(map((config) => config?.selectedColor || ''), distinctUntilChanged((prev, curr) => JSON.stringify(prev) === JSON.stringify(curr)));
1239
+ return this.treeConfig$.pipe(map((config) => config?.selectedColor ?? this._selectedColor), distinctUntilChanged((prev, curr) => JSON.stringify(prev) === JSON.stringify(curr)));
1240
1240
  }
1241
1241
  getAllowDblClickFromConfig() {
1242
- return this.treeConfig$.pipe(map((config) => config?.allowDblClick || false), distinctUntilChanged((prev, curr) => JSON.stringify(prev) === JSON.stringify(curr)));
1242
+ return this.treeConfig$.pipe(map((config) => config?.allowDblClick ?? this._allowDblClick), distinctUntilChanged((prev, curr) => JSON.stringify(prev) === JSON.stringify(curr)));
1243
1243
  }
1244
1244
  getAddTableColumnsFromConfig() {
1245
- return this.treeConfig$.pipe(map((config) => config?.addTableColumns || []), distinctUntilChanged((prev, curr) => JSON.stringify(prev) === JSON.stringify(curr)));
1245
+ return this.treeConfig$.pipe(map((config) => config?.addTableColumns ?? this._addTableColumns), distinctUntilChanged((prev, curr) => JSON.stringify(prev) === JSON.stringify(curr)));
1246
1246
  }
1247
1247
  getIsSelectionModeFromConfig() {
1248
- return this.treeConfig$.pipe(map((config) => config?.isSelectionMode || false), distinctUntilChanged((prev, curr) => JSON.stringify(prev) === JSON.stringify(curr)));
1248
+ return this.treeConfig$.pipe(map((config) => config?.isSelectionMode ?? this._isSelectionMode), distinctUntilChanged((prev, curr) => JSON.stringify(prev) === JSON.stringify(curr)));
1249
1249
  }
1250
1250
  getInitiallySelectedElementsViewFromConfig() {
1251
- return this.treeConfig$.pipe(map((config) => config?.initiallySelectedElements || []), distinctUntilChanged((prev, curr) => JSON.stringify(prev) === JSON.stringify(curr)));
1251
+ return this.treeConfig$.pipe(map((config) => config?.initiallySelectedElements ?? this._initiallySelectedElements), distinctUntilChanged((prev, curr) => JSON.stringify(prev) === JSON.stringify(curr)));
1252
1252
  }
1253
1253
  getMouseAwareKeyboardControlFromConfig() {
1254
- return this.treeConfig$.pipe(map((config) => config?.mouseAwareKeyboardControl || false), distinctUntilChanged((prev, curr) => JSON.stringify(prev) === JSON.stringify(curr)));
1254
+ return this.treeConfig$.pipe(map((config) => config?.mouseAwareKeyboardControl ?? this._mouseAwareKeyboardControl), distinctUntilChanged((prev, curr) => JSON.stringify(prev) === JSON.stringify(curr)));
1255
1255
  }
1256
1256
  getCustomKeyboardOperationConfigFromConfig() {
1257
- return this.treeConfig$.pipe(map((config) => config?.customKeyboardOperationConfig || null), distinctUntilChanged((prev, curr) => JSON.stringify(prev) === JSON.stringify(curr)));
1257
+ return this.treeConfig$.pipe(map((config) => config?.customKeyboardOperationConfig ?? this._customKeyboardOperationConfig), distinctUntilChanged((prev, curr) => JSON.stringify(prev) === JSON.stringify(curr)));
1258
1258
  }
1259
1259
  getListFilterFuncFromConfig() {
1260
- return this.treeConfig$.pipe(map((config) => config?.listFilterFunc || this._listFilterFunc), distinctUntilChanged((prev, curr) => JSON.stringify(prev) === JSON.stringify(curr)));
1260
+ return this.treeConfig$.pipe(map((config) => config?.listFilterFunc ?? this._listFilterFunc), distinctUntilChanged((prev, curr) => JSON.stringify(prev) === JSON.stringify(curr)));
1261
1261
  }
1262
1262
  getHideParentItemNumbersFromConfig() {
1263
- return this.treeConfig$.pipe(map((config) => config?.hideParentItemNumbers || false), distinctUntilChanged((prev, curr) => JSON.stringify(prev) === JSON.stringify(curr)));
1263
+ return this.treeConfig$.pipe(map((config) => config?.hideParentItemNumbers ?? false), distinctUntilChanged((prev, curr) => JSON.stringify(prev) === JSON.stringify(curr)));
1264
1264
  }
1265
1265
  getDefaultConfiguration() {
1266
1266
  return {
@@ -2511,10 +2511,8 @@ class AvaTreeComponent {
2511
2511
  .subscribe();
2512
2512
  toObservable(this.config)
2513
2513
  .pipe(tap((config) => {
2514
- const c = {
2515
- ...this.configurationTreeService.getCurrentTreeConfig(),
2516
- ...config
2517
- };
2514
+ const currentConfig = this.configurationTreeService.getCurrentTreeConfig();
2515
+ const c = config === null ? currentConfig : { ...currentConfig, ...config };
2518
2516
  this.configurationTreeService.setTreeConfig(c);
2519
2517
  const elements = this.serviceSpecification()?.elements;
2520
2518
  this.selectingElementsTreeData = this.treeNodeSelectionService.loadSelectingElements(elements);
@@ -2776,10 +2774,10 @@ class ConfigurationInvoiceService {
2776
2774
  this.invoiceConfig$ = this.invoiceConfigSource.asObservable();
2777
2775
  }
2778
2776
  setInvoiceConfig(value) {
2779
- if (value.quantityDecimalPlaces) {
2777
+ if (value.quantityDecimalPlaces != null) {
2780
2778
  this._quantityDecimalPlaces = value.quantityDecimalPlaces;
2781
2779
  }
2782
- if (value.language) {
2780
+ if (value.language != null) {
2783
2781
  this._language = value.language;
2784
2782
  }
2785
2783
  this.invoiceConfigSource.next(value);
@@ -2791,10 +2789,10 @@ class ConfigurationInvoiceService {
2791
2789
  return this.invoiceConfig$.pipe(map((config) => config?.textWords || (config?.language ? this.getDefaultTextWords(config.language) : null)), map((textWords) => (textWords === null ? this._textWords : { ...textWords })), distinctUntilChanged((prev, curr) => JSON.stringify(prev) === JSON.stringify(curr)));
2792
2790
  }
2793
2791
  getPdfViewEnabledFromConfig() {
2794
- return this.invoiceConfig$.pipe(map((config) => (config === null ? false : config.pdfViewEnabled || false)), distinctUntilChanged((prev, curr) => JSON.stringify(prev) === JSON.stringify(curr)));
2792
+ return this.invoiceConfig$.pipe(map((config) => config?.pdfViewEnabled ?? this._pdfViewEnabled), distinctUntilChanged((prev, curr) => JSON.stringify(prev) === JSON.stringify(curr)));
2795
2793
  }
2796
2794
  getAlignmentOptionsFromConfig() {
2797
- return this.invoiceConfig$.pipe(map((config) => config?.alignmentOptions || null), distinctUntilChanged((prev, curr) => JSON.stringify(prev) === JSON.stringify(curr)));
2795
+ return this.invoiceConfig$.pipe(map((config) => config?.alignmentOptions ?? this._alignmentOptions), distinctUntilChanged((prev, curr) => JSON.stringify(prev) === JSON.stringify(curr)));
2798
2796
  }
2799
2797
  getDefaultInvoiceConfiguration() {
2800
2798
  return {
@@ -2807,7 +2805,7 @@ class ConfigurationInvoiceService {
2807
2805
  };
2808
2806
  }
2809
2807
  getColorSettingsFromConfig() {
2810
- return this.invoiceConfig$.pipe(map((config) => config?.colorSettings || null), distinctUntilChanged((prev, curr) => JSON.stringify(prev) === JSON.stringify(curr)));
2808
+ return this.invoiceConfig$.pipe(map((config) => config?.colorSettings ?? this._colorSettings), distinctUntilChanged((prev, curr) => JSON.stringify(prev) === JSON.stringify(curr)));
2811
2809
  }
2812
2810
  getDefaultTextWords(languageWord) {
2813
2811
  return languageWord === 'de' ? germanTextsInvoice : DEFAULT_TEXT_WORD_INVOICE;