@provoly/dashboard 0.14.7 → 0.14.8
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/dataset/components/dataset-detail/dataset-detail.component.d.ts +1 -0
- package/dataset/i18n/en.translations.d.ts +1 -0
- package/dataset/i18n/fr.translations.d.ts +1 -0
- package/dataset/style/_o-pry-dataset-detail.scss +7 -6
- package/dataset/style/_o-pry-dataset.scss +6 -3
- package/esm2022/dataset/components/dataset-detail/dataset-detail.component.mjs +6 -3
- package/esm2022/dataset/i18n/en.translations.mjs +2 -1
- package/esm2022/dataset/i18n/fr.translations.mjs +2 -1
- package/esm2022/dataset/style/css.component.mjs +2 -2
- package/esm2022/lib/core/store/config/config.effects.mjs +3 -3
- package/esm2022/lib/core/store/data-source/data-source.effects.mjs +4 -4
- package/esm2022/lib/core/store/relation-types/relation-types.effects.mjs +3 -2
- package/esm2022/lib/dashboard/components/context-menu/context-menu.component.mjs +1 -1
- package/esm2022/lib/dashboard/components/dashboard.component.mjs +11 -8
- package/esm2022/lib/dashboard/components/widgets/widget-instanciator/widget-instanciator.component.mjs +2 -6
- package/esm2022/restitution/components/restitution/restitution.component.mjs +1 -1
- package/esm2022/widgets/widget-map/component/widget-map.component.mjs +2 -2
- package/fesm2022/provoly-dashboard-dataset.mjs +9 -4
- package/fesm2022/provoly-dashboard-dataset.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-restitution.mjs +1 -1
- package/fesm2022/provoly-dashboard-restitution.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-widgets-widget-map.mjs +1 -1
- package/fesm2022/provoly-dashboard-widgets-widget-map.mjs.map +1 -1
- package/fesm2022/provoly-dashboard.mjs +17 -17
- package/fesm2022/provoly-dashboard.mjs.map +1 -1
- package/lib/dashboard/components/dashboard.component.d.ts +4 -4
- package/lib/dashboard/components/widgets/widget-instanciator/widget-instanciator.component.d.ts +1 -3
- package/package.json +25 -25
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { Overlay } from '@angular/cdk/overlay';
|
|
2
|
-
import { AfterViewInit, ElementRef, EventEmitter, OnInit, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
|
+
import { AfterViewInit, ElementRef, EventEmitter, OnInit, QueryList, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
3
3
|
import { Store } from '@ngrx/store';
|
|
4
4
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
5
5
|
import { DisplayOptions } from '../../core/model/display-options.interface';
|
|
6
6
|
import { DashboardGridLayout, DashboardManifest, WidgetLayout, WidgetManifest } from '../../core/model/manifest.interface';
|
|
7
7
|
import { DashboardCellParams } from '../store/dashboard.actions';
|
|
8
8
|
import { SubscriptionnerDirective } from './subscriptionner.directive';
|
|
9
|
-
import {
|
|
9
|
+
import { WidgetInstanciatorComponent } from './widgets/widget-instanciator/widget-instanciator.component';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
export declare const MIME_TYPE_WIDGET_MANIFEST = "application/widget-manifest";
|
|
12
12
|
export declare const MIME_TYPE_WIDGET_TYPE = "application/widget-type-";
|
|
@@ -26,8 +26,9 @@ export declare class DashboardComponent extends SubscriptionnerDirective impleme
|
|
|
26
26
|
templateModal: TemplateRef<any>;
|
|
27
27
|
separators$: Observable<WidgetLayout[]>;
|
|
28
28
|
nonFillerWidgets$: Observable<number>;
|
|
29
|
-
widgetsInstances: Array<BaseWidgetComponent>;
|
|
30
29
|
loading$: Observable<boolean>;
|
|
30
|
+
instanciators?: QueryList<WidgetInstanciatorComponent>;
|
|
31
|
+
get widgetsInstances(): any[];
|
|
31
32
|
set staticDashboard(window: DashboardManifest);
|
|
32
33
|
CloseOnDragOut: boolean;
|
|
33
34
|
displayOptions?: DisplayOptions;
|
|
@@ -97,7 +98,6 @@ export declare class DashboardComponent extends SubscriptionnerDirective impleme
|
|
|
97
98
|
confirmRemove(): void;
|
|
98
99
|
cancelRemoveConfirm(): void;
|
|
99
100
|
trackWidgets(index: number, widgetManifest: WidgetManifest): string;
|
|
100
|
-
updateInstance(widgetIndex: number, $event: BaseWidgetComponent): void;
|
|
101
101
|
static ɵfac: i0.ɵɵFactoryDeclaration<DashboardComponent, never>;
|
|
102
102
|
static ɵcmp: i0.ɵɵComponentDeclaration<DashboardComponent, "pry-dashboard", never, { "staticDashboard": { "alias": "staticDashboard"; "required": false; }; "CloseOnDragOut": { "alias": "CloseOnDragOut"; "required": false; }; "displayOptions": { "alias": "displayOptions"; "required": false; }; }, { "rowHeight": "rowHeight"; "rows": "rows"; }, never, never, false, never>;
|
|
103
103
|
}
|
package/lib/dashboard/components/widgets/widget-instanciator/widget-instanciator.component.d.ts
CHANGED
|
@@ -3,7 +3,6 @@ import { Store } from '@ngrx/store';
|
|
|
3
3
|
import { BehaviorSubject, Observable, Subject, Subscription } from 'rxjs';
|
|
4
4
|
import { WidgetManifest } from '../../../../core/model/manifest.interface';
|
|
5
5
|
import { SubscriptionnerDirective } from '../../subscriptionner.directive';
|
|
6
|
-
import { BaseWidgetComponent } from '../base-widget.component';
|
|
7
6
|
import { WidgetFactoryService } from './widget-factory.service';
|
|
8
7
|
import * as i0 from "@angular/core";
|
|
9
8
|
export declare class WidgetInstanciatorComponent extends SubscriptionnerDirective implements AfterViewInit, OnDestroy {
|
|
@@ -25,10 +24,9 @@ export declare class WidgetInstanciatorComponent extends SubscriptionnerDirectiv
|
|
|
25
24
|
instanciatedComponent: ComponentRef<any>;
|
|
26
25
|
instanceSubscription?: Subscription;
|
|
27
26
|
open$: Observable<void> | Subject<void>;
|
|
28
|
-
widgetInstance: EventEmitter<BaseWidgetComponent>;
|
|
29
27
|
constructor(cdRef: ChangeDetectorRef, widgetFactoryService: WidgetFactoryService, store: Store<any>);
|
|
30
28
|
ngAfterViewInit(): void;
|
|
31
29
|
ngOnDestroy(): void;
|
|
32
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetInstanciatorComponent, never>;
|
|
33
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetInstanciatorComponent, "pry-widget-instanciator", never, { "widgetIndex": { "alias": "widgetIndex"; "required": false; }; "staticManifest": { "alias": "staticManifest"; "required": false; }; "standalone": { "alias": "standalone"; "required": false; }; "open$": { "alias": "open$"; "required": false; }; }, { "manifestModified": "manifestModified";
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetInstanciatorComponent, "pry-widget-instanciator", never, { "widgetIndex": { "alias": "widgetIndex"; "required": false; }; "staticManifest": { "alias": "staticManifest"; "required": false; }; "standalone": { "alias": "standalone"; "required": false; }; "open$": { "alias": "open$"; "required": false; }; }, { "manifestModified": "manifestModified"; }, never, never, false, never>;
|
|
34
32
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@provoly/dashboard",
|
|
3
|
-
"version": "0.14.
|
|
3
|
+
"version": "0.14.8",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/cdk": "14.x || 15.x || 16.x",
|
|
@@ -140,30 +140,6 @@
|
|
|
140
140
|
"esm": "./esm2022/toolbox/provoly-dashboard-toolbox.mjs",
|
|
141
141
|
"default": "./fesm2022/provoly-dashboard-toolbox.mjs"
|
|
142
142
|
},
|
|
143
|
-
"./filters/date": {
|
|
144
|
-
"types": "./filters/date/index.d.ts",
|
|
145
|
-
"esm2022": "./esm2022/filters/date/provoly-dashboard-filters-date.mjs",
|
|
146
|
-
"esm": "./esm2022/filters/date/provoly-dashboard-filters-date.mjs",
|
|
147
|
-
"default": "./fesm2022/provoly-dashboard-filters-date.mjs"
|
|
148
|
-
},
|
|
149
|
-
"./filters/list": {
|
|
150
|
-
"types": "./filters/list/index.d.ts",
|
|
151
|
-
"esm2022": "./esm2022/filters/list/provoly-dashboard-filters-list.mjs",
|
|
152
|
-
"esm": "./esm2022/filters/list/provoly-dashboard-filters-list.mjs",
|
|
153
|
-
"default": "./fesm2022/provoly-dashboard-filters-list.mjs"
|
|
154
|
-
},
|
|
155
|
-
"./filters/number": {
|
|
156
|
-
"types": "./filters/number/index.d.ts",
|
|
157
|
-
"esm2022": "./esm2022/filters/number/provoly-dashboard-filters-number.mjs",
|
|
158
|
-
"esm": "./esm2022/filters/number/provoly-dashboard-filters-number.mjs",
|
|
159
|
-
"default": "./fesm2022/provoly-dashboard-filters-number.mjs"
|
|
160
|
-
},
|
|
161
|
-
"./filters/text": {
|
|
162
|
-
"types": "./filters/text/index.d.ts",
|
|
163
|
-
"esm2022": "./esm2022/filters/text/provoly-dashboard-filters-text.mjs",
|
|
164
|
-
"esm": "./esm2022/filters/text/provoly-dashboard-filters-text.mjs",
|
|
165
|
-
"default": "./fesm2022/provoly-dashboard-filters-text.mjs"
|
|
166
|
-
},
|
|
167
143
|
"./components/card": {
|
|
168
144
|
"types": "./components/card/index.d.ts",
|
|
169
145
|
"esm2022": "./esm2022/components/card/provoly-dashboard-components-card.mjs",
|
|
@@ -206,6 +182,30 @@
|
|
|
206
182
|
"esm": "./esm2022/components/stepper/provoly-dashboard-components-stepper.mjs",
|
|
207
183
|
"default": "./fesm2022/provoly-dashboard-components-stepper.mjs"
|
|
208
184
|
},
|
|
185
|
+
"./filters/date": {
|
|
186
|
+
"types": "./filters/date/index.d.ts",
|
|
187
|
+
"esm2022": "./esm2022/filters/date/provoly-dashboard-filters-date.mjs",
|
|
188
|
+
"esm": "./esm2022/filters/date/provoly-dashboard-filters-date.mjs",
|
|
189
|
+
"default": "./fesm2022/provoly-dashboard-filters-date.mjs"
|
|
190
|
+
},
|
|
191
|
+
"./filters/list": {
|
|
192
|
+
"types": "./filters/list/index.d.ts",
|
|
193
|
+
"esm2022": "./esm2022/filters/list/provoly-dashboard-filters-list.mjs",
|
|
194
|
+
"esm": "./esm2022/filters/list/provoly-dashboard-filters-list.mjs",
|
|
195
|
+
"default": "./fesm2022/provoly-dashboard-filters-list.mjs"
|
|
196
|
+
},
|
|
197
|
+
"./filters/number": {
|
|
198
|
+
"types": "./filters/number/index.d.ts",
|
|
199
|
+
"esm2022": "./esm2022/filters/number/provoly-dashboard-filters-number.mjs",
|
|
200
|
+
"esm": "./esm2022/filters/number/provoly-dashboard-filters-number.mjs",
|
|
201
|
+
"default": "./fesm2022/provoly-dashboard-filters-number.mjs"
|
|
202
|
+
},
|
|
203
|
+
"./filters/text": {
|
|
204
|
+
"types": "./filters/text/index.d.ts",
|
|
205
|
+
"esm2022": "./esm2022/filters/text/provoly-dashboard-filters-text.mjs",
|
|
206
|
+
"esm": "./esm2022/filters/text/provoly-dashboard-filters-text.mjs",
|
|
207
|
+
"default": "./fesm2022/provoly-dashboard-filters-text.mjs"
|
|
208
|
+
},
|
|
209
209
|
"./pipeline-components/filter": {
|
|
210
210
|
"types": "./pipeline-components/filter/index.d.ts",
|
|
211
211
|
"esm2022": "./esm2022/pipeline-components/filter/provoly-dashboard-pipeline-components-filter.mjs",
|