@provoly/dashboard 0.20.0 → 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.
- package/esm2022/lib/core/store/search/search.service.mjs +2 -2
- package/esm2022/lib/dashboard/components/widgets/header/widget-header.component.mjs +2 -5
- package/esm2022/presentation/components/presentation.component.mjs +2 -3
- package/esm2022/widgets/widget-map/component/widget-map.component.mjs +40 -28
- package/esm2022/widgets/widget-map/utils/widget-map.utils.mjs +4 -25
- package/fesm2022/provoly-dashboard-presentation.mjs +1 -2
- package/fesm2022/provoly-dashboard-presentation.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-widgets-widget-map.mjs +42 -51
- package/fesm2022/provoly-dashboard-widgets-widget-map.mjs.map +1 -1
- package/fesm2022/provoly-dashboard.mjs +2 -5
- package/fesm2022/provoly-dashboard.mjs.map +1 -1
- package/package.json +7 -7
- package/styles/components/_o-widget.scss +1 -0
- package/widgets/widget-map/component/widget-map.component.d.ts +4 -2
- package/widgets/widget-map/utils/widget-map.utils.d.ts +2 -2
|
@@ -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',
|
|
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) {
|