@dangl/angular-ava 1.2.2 → 1.2.3-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.
|
@@ -239,14 +239,37 @@ var ModeViewType;
|
|
|
239
239
|
|
|
240
240
|
// This file is automatically generated as part of the build process
|
|
241
241
|
const version = {
|
|
242
|
-
version: "1.2.
|
|
243
|
-
commitInfo: "Branch.
|
|
244
|
-
commitDate: "2025-01-
|
|
245
|
-
commitHash: "
|
|
246
|
-
informationalVersion: "1.2.
|
|
247
|
-
buildDateUtc: new Date(Date.UTC(2025, 0,
|
|
242
|
+
version: "1.2.3-beta0003",
|
|
243
|
+
commitInfo: "Branch.develop.Sha.a0d5e42cb6315ecd76fe63c33e9228922066e173",
|
|
244
|
+
commitDate: "2025-01-27",
|
|
245
|
+
commitHash: "a0d5e42cb6315ecd76fe63c33e9228922066e173",
|
|
246
|
+
informationalVersion: "1.2.3-beta.3+Branch.develop.Sha.a0d5e42cb6315ecd76fe63c33e9228922066e173",
|
|
247
|
+
buildDateUtc: new Date(Date.UTC(2025, 0, 27, 15, 3, 15))
|
|
248
248
|
};
|
|
249
249
|
|
|
250
|
+
const DEFAULT_FILTERS = [
|
|
251
|
+
(element, filter) => {
|
|
252
|
+
if (element.elementType === 'PositionDto' ||
|
|
253
|
+
element.elementType === 'ServiceSpecificationGroupDto' ||
|
|
254
|
+
element.elementType === 'NoteTextDto') {
|
|
255
|
+
return element.shortText?.trim().toLocaleLowerCase().includes(filter);
|
|
256
|
+
}
|
|
257
|
+
return false;
|
|
258
|
+
},
|
|
259
|
+
(element, filter) => {
|
|
260
|
+
if (element.elementType === 'ExecutionDescriptionDto') {
|
|
261
|
+
return element.label?.trim().toLocaleLowerCase().includes(filter);
|
|
262
|
+
}
|
|
263
|
+
return false;
|
|
264
|
+
},
|
|
265
|
+
(element, filter) => {
|
|
266
|
+
if (element.elementType === 'PositionDto' || element.elementType === 'ServiceSpecificationGroupDto') {
|
|
267
|
+
return element.itemNumber?.stringRepresentation?.includes(filter);
|
|
268
|
+
}
|
|
269
|
+
return false;
|
|
270
|
+
}
|
|
271
|
+
];
|
|
272
|
+
|
|
250
273
|
const DEFAULT_TEXT_WORDS = {
|
|
251
274
|
textSearch: 'Search',
|
|
252
275
|
textNothing: 'Nothing',
|
|
@@ -276,6 +299,10 @@ const germanTextsAva = {
|
|
|
276
299
|
defaultNamePosition: 'Position'
|
|
277
300
|
};
|
|
278
301
|
|
|
302
|
+
const defaults = {
|
|
303
|
+
doubleClickTimeoutInMilliseconds: 300
|
|
304
|
+
};
|
|
305
|
+
|
|
279
306
|
class ConfigurationTreeService {
|
|
280
307
|
constructor() {
|
|
281
308
|
this._textWords = { ...DEFAULT_TEXT_WORDS };
|
|
@@ -288,7 +315,7 @@ class ConfigurationTreeService {
|
|
|
288
315
|
this._isSelectionMode = false;
|
|
289
316
|
this._initiallySelectedElements = [];
|
|
290
317
|
this._customKeyboardOperationConfig = null;
|
|
291
|
-
this._listFilterFunc =
|
|
318
|
+
this._listFilterFunc = DEFAULT_FILTERS;
|
|
292
319
|
this.treeConfigSource = new BehaviorSubject(this.getDefaultConfiguration());
|
|
293
320
|
this.treeConfig$ = this.treeConfigSource.asObservable();
|
|
294
321
|
}
|
|
@@ -332,7 +359,7 @@ class ConfigurationTreeService {
|
|
|
332
359
|
return this.treeConfig$.pipe(map((config) => config?.customKeyboardOperationConfig || null), distinctUntilChanged((prev, curr) => JSON.stringify(prev) === JSON.stringify(curr)));
|
|
333
360
|
}
|
|
334
361
|
getListFilterFuncFromConfig() {
|
|
335
|
-
return this.treeConfig$.pipe(map((config) => config?.listFilterFunc ||
|
|
362
|
+
return this.treeConfig$.pipe(map((config) => config?.listFilterFunc || this._listFilterFunc), distinctUntilChanged((prev, curr) => JSON.stringify(prev) === JSON.stringify(curr)));
|
|
336
363
|
}
|
|
337
364
|
getDefaultConfiguration() {
|
|
338
365
|
return {
|
|
@@ -383,33 +410,6 @@ class ExpandParentGroupService {
|
|
|
383
410
|
}
|
|
384
411
|
}
|
|
385
412
|
|
|
386
|
-
const DEFAULT_FILTERS = [
|
|
387
|
-
(element, filter) => {
|
|
388
|
-
if (element.elementType === 'PositionDto' ||
|
|
389
|
-
element.elementType === 'ServiceSpecificationGroupDto' ||
|
|
390
|
-
element.elementType === 'NoteTextDto') {
|
|
391
|
-
return element.shortText?.trim().toLocaleLowerCase().includes(filter);
|
|
392
|
-
}
|
|
393
|
-
return false;
|
|
394
|
-
},
|
|
395
|
-
(element, filter) => {
|
|
396
|
-
if (element.elementType === 'ExecutionDescriptionDto') {
|
|
397
|
-
return element.label?.trim().toLocaleLowerCase().includes(filter);
|
|
398
|
-
}
|
|
399
|
-
return false;
|
|
400
|
-
},
|
|
401
|
-
(element, filter) => {
|
|
402
|
-
if (element.elementType === 'PositionDto' || element.elementType === 'ServiceSpecificationGroupDto') {
|
|
403
|
-
return element.itemNumber?.stringRepresentation?.includes(filter);
|
|
404
|
-
}
|
|
405
|
-
return false;
|
|
406
|
-
}
|
|
407
|
-
];
|
|
408
|
-
|
|
409
|
-
const defaults = {
|
|
410
|
-
doubleClickTimeoutInMilliseconds: 300
|
|
411
|
-
};
|
|
412
|
-
|
|
413
413
|
class FlatElementsService {
|
|
414
414
|
constructor() {
|
|
415
415
|
this._flatElementsDto = [];
|