@elderbyte/ngx-starter 19.13.2 → 19.13.4
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.
|
@@ -4446,7 +4446,7 @@ class DataContextContinuablePaged extends DataContextContinuableBase {
|
|
|
4446
4446
|
const pageRequest = new Pageable(pageIndex, pageSize, this.sort.sortsSnapshot);
|
|
4447
4447
|
if (this._pageCache.has(pageIndex)) {
|
|
4448
4448
|
// Page already loaded - skipping request!
|
|
4449
|
-
this.logger.
|
|
4449
|
+
this.logger.debug(this.id + ': Skipping fetching page since its already in page observable cache.');
|
|
4450
4450
|
subject.next();
|
|
4451
4451
|
}
|
|
4452
4452
|
else {
|
|
@@ -4689,7 +4689,7 @@ class DataContextActivePage extends DataContextBase {
|
|
|
4689
4689
|
* Sets the current page index / size and reload.
|
|
4690
4690
|
*/
|
|
4691
4691
|
setActivePage(request) {
|
|
4692
|
-
// this.actlogger.
|
|
4692
|
+
// this.actlogger.debug('Setting page to ', request);
|
|
4693
4693
|
if (!request) {
|
|
4694
4694
|
throw new Error(this.id + ': Setting page PageRequest must not be null!');
|
|
4695
4695
|
}
|
|
@@ -9617,7 +9617,7 @@ class ElderUrlFragmentParamsService {
|
|
|
9617
9617
|
this.replaceUrlFragment(fragmentStr);
|
|
9618
9618
|
}
|
|
9619
9619
|
replaceUrlFragment(fragment) {
|
|
9620
|
-
this._log.
|
|
9620
|
+
this._log.debug('Replacing URL fragment with: ' + fragment);
|
|
9621
9621
|
this.router.navigate([], {
|
|
9622
9622
|
fragment: decodeURIComponent(fragment),
|
|
9623
9623
|
replaceUrl: true, // if true, won't add a new browser history entry
|
|
@@ -20744,7 +20744,7 @@ class TemplateSlotManager {
|
|
|
20744
20744
|
return this._slotSynonyms.get(slot) ?? slot;
|
|
20745
20745
|
}
|
|
20746
20746
|
removeSlotTemplate(slot) {
|
|
20747
|
-
this.logger.
|
|
20747
|
+
this.logger.debug('Deregistering template slot at ', slot);
|
|
20748
20748
|
this._slotTemplates.delete(slot);
|
|
20749
20749
|
this.updateActiveSlotTemplate(slot);
|
|
20750
20750
|
}
|
|
@@ -21102,7 +21102,7 @@ class ElderToolbarTitleService {
|
|
|
21102
21102
|
**************************************************************************/
|
|
21103
21103
|
updateTitle(activatedRoute) {
|
|
21104
21104
|
const title = this.resolveTitle(activatedRoute);
|
|
21105
|
-
// this.logger.
|
|
21105
|
+
// this.logger.debug('Updating Title to: ' + title, activatedRoute);
|
|
21106
21106
|
this.title = new ToolbarHeader(title);
|
|
21107
21107
|
}
|
|
21108
21108
|
/***************************************************************************
|
|
@@ -22442,7 +22442,7 @@ class SelectionModelPopupDirective {
|
|
|
22442
22442
|
this.selectionModel.isMultipleSelection = multi;
|
|
22443
22443
|
this.selectionModel.keyGetterFn = keyGetter;
|
|
22444
22444
|
this.selectionModel.replaceSelection(currentSelection);
|
|
22445
|
-
this.log.
|
|
22445
|
+
this.log.debug('Replaced selection popup with current ' + currentSelection.length + ' entities:', currentSelection);
|
|
22446
22446
|
const dialogRef = this.openSelectDialog();
|
|
22447
22447
|
// This fixes dialog rendering when the browser template
|
|
22448
22448
|
// view container is outside the invoking control, which
|
|
@@ -25229,7 +25229,7 @@ class ElderMultiSelectBase extends ElderSelectBase {
|
|
|
25229
25229
|
}
|
|
25230
25230
|
selectEntitiesByIds(ids) {
|
|
25231
25231
|
const currentEntities = this.entities;
|
|
25232
|
-
this.logger.
|
|
25232
|
+
this.logger.debug('selectEntitiesByIds: ids: ' + ids + ', current entities:', currentEntities);
|
|
25233
25233
|
if (currentEntities && this.equalIds(this.getEntityIds(currentEntities), ids)) {
|
|
25234
25234
|
return; // Entities already loaded
|
|
25235
25235
|
}
|
|
@@ -25891,7 +25891,7 @@ class ElderAutoSelectFirstDirective {
|
|
|
25891
25891
|
ngAfterViewInit() {
|
|
25892
25892
|
setTimeout(() => {
|
|
25893
25893
|
// HACK: Wait until ngModel has done its strange null/empty value init...
|
|
25894
|
-
this.log.
|
|
25894
|
+
this.log.debug('autoSelectFirst after-view init, auto selecting value');
|
|
25895
25895
|
this.handleAutoSelectFirst();
|
|
25896
25896
|
}, 10);
|
|
25897
25897
|
}
|
|
@@ -28423,7 +28423,7 @@ class ElderBreadCrumbsComponent {
|
|
|
28423
28423
|
.pipe(takeUntil(this._unsubscribe), distinctUntilChanged(), // only emit if value is different from previous value
|
|
28424
28424
|
debounceTime(250))
|
|
28425
28425
|
.subscribe((value) => {
|
|
28426
|
-
this.log.
|
|
28426
|
+
this.log.debug(value);
|
|
28427
28427
|
this.pathChange.emit(value);
|
|
28428
28428
|
});
|
|
28429
28429
|
}
|
|
@@ -29219,7 +29219,7 @@ class ElderShellNavigationToggleComponent {
|
|
|
29219
29219
|
**************************************************************************/
|
|
29220
29220
|
updateIcon() {
|
|
29221
29221
|
const icon = this.showNavigateBack ? 'arrow_back' : 'menu';
|
|
29222
|
-
this.logger.
|
|
29222
|
+
this.logger.debug('updating icon to ' + icon);
|
|
29223
29223
|
this._icon.next(icon);
|
|
29224
29224
|
}
|
|
29225
29225
|
get showNavigateBack() {
|
|
@@ -29920,7 +29920,7 @@ class ElderLocalDateInputComponent extends ElderFormFieldControlBase {
|
|
|
29920
29920
|
mapIgnoreError(value, conversionFn) {
|
|
29921
29921
|
try {
|
|
29922
29922
|
const ld = value ? conversionFn(value) : null;
|
|
29923
|
-
this.logger.
|
|
29923
|
+
this.logger.debug('Setting local date: ' + ld);
|
|
29924
29924
|
return ld;
|
|
29925
29925
|
}
|
|
29926
29926
|
catch (err) {
|
|
@@ -33395,7 +33395,7 @@ class ElderSearchUrlService {
|
|
|
33395
33395
|
if (!FilterUtil.equals(filters, currentUrl)) {
|
|
33396
33396
|
const resetParams = this.resetSearchParams(contextId, currentUrl);
|
|
33397
33397
|
const queryParams = { ...resetParams, ...this.buildQueryParams(contextId, filters) };
|
|
33398
|
-
this.log.
|
|
33398
|
+
this.log.debug('writeUrlQueryParams: ' + contextId, {
|
|
33399
33399
|
searchMap: filters,
|
|
33400
33400
|
queryParams: queryParams,
|
|
33401
33401
|
});
|
|
@@ -33418,7 +33418,7 @@ class ElderSearchUrlService {
|
|
|
33418
33418
|
if (current.size > 0) {
|
|
33419
33419
|
const filtersByContext = this.urlFiltersByContext$.getValue();
|
|
33420
33420
|
const newUrlFilters = filtersByContext.withUrlFilters(current);
|
|
33421
|
-
this.log.
|
|
33421
|
+
this.log.debug('updateSeenUrlFilters:', newUrlFilters);
|
|
33422
33422
|
this.urlFiltersByContext$.next(newUrlFilters);
|
|
33423
33423
|
}
|
|
33424
33424
|
}
|
|
@@ -33541,7 +33541,7 @@ class ElderSearchUrlDirective {
|
|
|
33541
33541
|
if (!urlFilters.consumed) {
|
|
33542
33542
|
const consumedFilters = urlFilters.consumeFilters();
|
|
33543
33543
|
if (consumedFilters.length > 0) {
|
|
33544
|
-
this.log.
|
|
33544
|
+
this.log.debug('URL SEARCH BINDING Replacing Filters: ', {
|
|
33545
33545
|
context: context,
|
|
33546
33546
|
urlFilters: consumedFilters,
|
|
33547
33547
|
});
|
|
@@ -36518,7 +36518,7 @@ class DataViewIframeAdapterDirective {
|
|
|
36518
36518
|
* @param event message from parent window
|
|
36519
36519
|
*/
|
|
36520
36520
|
onWindowsMessage(event) {
|
|
36521
|
-
this.log.
|
|
36521
|
+
this.log.debug('Received message event from parent:', event);
|
|
36522
36522
|
if (event && event.data) {
|
|
36523
36523
|
if (DataViewMessage.isOfType(event.data)) {
|
|
36524
36524
|
this.log.debug('Received data view message from parent:', event);
|
|
@@ -37004,7 +37004,7 @@ class ElderTabGroupRoutingDirective {
|
|
|
37004
37004
|
}
|
|
37005
37005
|
activateTabByIndex(indexToActivate) {
|
|
37006
37006
|
if (indexToActivate !== this.activeTabIndex) {
|
|
37007
|
-
this._log.
|
|
37007
|
+
this._log.debug('Activating tab by index ', indexToActivate);
|
|
37008
37008
|
// First try to identify corresponding elder tab, so that we may work with its ID instead of index.
|
|
37009
37009
|
const elderTab = this.findElderTabByIndex(indexToActivate);
|
|
37010
37010
|
if (elderTab) {
|
|
@@ -37045,7 +37045,7 @@ class ElderTabGroupRoutingDirective {
|
|
|
37045
37045
|
}
|
|
37046
37046
|
}
|
|
37047
37047
|
handleTabChangeEvent(tabChangeEvent) {
|
|
37048
|
-
this._log.
|
|
37048
|
+
this._log.debug('Handling tabChangeEvent: ', tabChangeEvent);
|
|
37049
37049
|
this.lastFailedTabActivation = null;
|
|
37050
37050
|
this.activeElderTab = this.findElderTabByTab(tabChangeEvent.tab);
|
|
37051
37051
|
this.updateFragmentParam();
|
|
@@ -37059,7 +37059,7 @@ class ElderTabGroupRoutingDirective {
|
|
|
37059
37059
|
setSelectedIndex(index) {
|
|
37060
37060
|
if (index !== this.activeTabIndex) {
|
|
37061
37061
|
if (this.isValidIndex(index)) {
|
|
37062
|
-
this._log.
|
|
37062
|
+
this._log.debug('Activating tab by index ', index);
|
|
37063
37063
|
this.tabGroup.selectedIndex = index;
|
|
37064
37064
|
return true;
|
|
37065
37065
|
}
|