@provoly/dashboard 0.19.12 → 0.20.1

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.
@@ -4112,7 +4112,7 @@ class SearchService {
4112
4112
  });
4113
4113
  }
4114
4114
  getItems(id, quickOrder, excludeGeo) {
4115
- const params = this.getItemsFilter(id, this.getOrder(quickOrder)).append('excludeGeo', false /* TODO: when backend will have fixed #52: excludeGeo ?? false */);
4115
+ const params = this.getItemsFilter(id, this.getOrder(quickOrder)).append('excludeGeo', excludeGeo ?? false);
4116
4116
  if (!id) {
4117
4117
  console.warn('Not sending items request with no datasource attached.');
4118
4118
  return of({ items: {}, relations: [] });
@@ -9623,6 +9623,7 @@ class PryWidgetHeaderComponent extends SubscriptionnerDirective {
9623
9623
  .flexibleConnectedTo(this.togglePanel)
9624
9624
  .withPositions([
9625
9625
  {
9626
+ offsetX: 50,
9626
9627
  originX: 'end',
9627
9628
  originY: 'bottom',
9628
9629
  overlayX: 'end',
@@ -9633,10 +9634,6 @@ class PryWidgetHeaderComponent extends SubscriptionnerDirective {
9633
9634
  this.store.dispatch(ConfigActions.addingOverlay({ id: this.constructor.name + '-menu' }));
9634
9635
  this.menuRef.backdropClick().subscribe((_) => this.menuOpen());
9635
9636
  this.menuRef.attach(new TemplatePortal(this.overlayMenu, this.viewContainerRef));
9636
- const contextMenu = document.querySelector('div.m-context-menu');
9637
- const rect = this.togglePanel?.nativeElement.getBoundingClientRect();
9638
- if (!!contextMenu && !!rect)
9639
- contextMenu.style.left = (rect?.left ?? 0) - (this.menuList?.nativeElement?.clientWidth ?? 0) - 200 + 'px';
9640
9637
  setTimeout(() => {
9641
9638
  this.selectedItem = this.menuList?.nativeElement?.firstElementChild;
9642
9639
  if (this.selectedItem) {