@provoly/dashboard 0.13.2 → 0.13.3
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/i18n/en.translations.d.ts +9 -0
- package/dataset/i18n/fr.translations.d.ts +9 -0
- package/dataset/style/_o-pry-dataset-detail.scss +35 -1
- package/dataset/style/_o-pry-dataset.scss +2 -1
- package/esm2022/dataset/components/dataset-detail/dataset-detail.component.mjs +3 -3
- package/esm2022/dataset/i18n/en.translations.mjs +10 -1
- package/esm2022/dataset/i18n/fr.translations.mjs +10 -1
- package/esm2022/dataset/style/css.component.mjs +2 -2
- package/esm2022/lib/core/components/modal-status/modal-status.component.mjs +3 -3
- package/esm2022/lib/core/i18n/en.translations.mjs +2 -1
- package/esm2022/lib/core/i18n/fr.translations.mjs +2 -1
- package/esm2022/lib/core/model/dataset.interface.mjs +1 -1
- package/esm2022/lib/dashboard/components/widgets/base-widget.component.mjs +4 -1
- package/esm2022/lib/dashboard/components/widgets/settings/settings.component.mjs +19 -4
- package/esm2022/presentation/style/css.component.mjs +2 -2
- package/esm2022/restitution/style/css.component.mjs +2 -2
- package/esm2022/widgets/widget-aggregated-chart/component/widget-aggregated-chart.component.mjs +3 -3
- package/esm2022/widgets/widget-chart/component/widget-chart.component.mjs +3 -3
- package/esm2022/widgets/widget-graph/component/widget-graph.component.mjs +3 -3
- package/esm2022/widgets/widget-iframe/component/widget-iframe.component.mjs +7 -5
- package/esm2022/widgets/widget-map/component/widget-map.component.mjs +3 -3
- package/esm2022/widgets/widget-table/component/widget-table.component.mjs +3 -3
- package/esm2022/widgets/widget-tile/component/widget-tile.component.mjs +3 -3
- package/fesm2022/provoly-dashboard-dataset.mjs +22 -4
- package/fesm2022/provoly-dashboard-dataset.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-presentation.mjs +2 -2
- package/fesm2022/provoly-dashboard-presentation.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-restitution.mjs +2 -2
- package/fesm2022/provoly-dashboard-restitution.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-widgets-widget-aggregated-chart.mjs +2 -2
- package/fesm2022/provoly-dashboard-widgets-widget-aggregated-chart.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-widgets-widget-chart.mjs +2 -2
- package/fesm2022/provoly-dashboard-widgets-widget-chart.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-widgets-widget-graph.mjs +2 -2
- package/fesm2022/provoly-dashboard-widgets-widget-graph.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-widgets-widget-iframe.mjs +6 -4
- package/fesm2022/provoly-dashboard-widgets-widget-iframe.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-widgets-widget-map.mjs +2 -2
- package/fesm2022/provoly-dashboard-widgets-widget-map.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-widgets-widget-table.mjs +2 -2
- package/fesm2022/provoly-dashboard-widgets-widget-table.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-widgets-widget-tile.mjs +2 -2
- package/fesm2022/provoly-dashboard-widgets-widget-tile.mjs.map +1 -1
- package/fesm2022/provoly-dashboard.mjs +41 -5
- package/fesm2022/provoly-dashboard.mjs.map +1 -1
- package/lib/core/components/modal-status/modal-status.component.d.ts +1 -1
- package/lib/core/i18n/en.translations.d.ts +1 -0
- package/lib/core/i18n/fr.translations.d.ts +1 -0
- package/lib/core/model/dataset.interface.d.ts +1 -1
- package/lib/dashboard/components/widgets/base-widget.component.d.ts +1 -0
- package/lib/dashboard/components/widgets/settings/settings.component.d.ts +10 -3
- package/package.json +31 -31
- package/presentation/style/_o-pry-presentation.scss +1 -2
- package/styles-theme/components-theme/_o-pry-dataset.theme.scss +6 -6
- package/styles-theme/main-theme.scss +1 -0
- package/widgets/widget-iframe/component/widget-iframe.component.d.ts +2 -0
|
@@ -31,6 +31,7 @@ export declare class BaseWidgetComponent extends SubscriptionnerDirective implem
|
|
|
31
31
|
constructor(store: Store<any>, el: ElementRef);
|
|
32
32
|
ngAfterViewChecked(): void;
|
|
33
33
|
toImage(): Promise<string>;
|
|
34
|
+
changeWidgetTitle($event: string): void;
|
|
34
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaseWidgetComponent, never>;
|
|
35
36
|
static ɵcmp: i0.ɵɵComponentDeclaration<BaseWidgetComponent, "pry-base-widget", never, { "open$": { "alias": "open$"; "required": false; }; "widgetIndex": { "alias": "widgetIndex"; "required": false; }; "staticManifest": { "alias": "staticManifest"; "required": false; }; }, { "manifestModified": "manifestModified"; }, never, never, false, never>;
|
|
36
37
|
}
|
|
@@ -1,14 +1,18 @@
|
|
|
1
1
|
import { Overlay } from '@angular/cdk/overlay';
|
|
2
|
-
import { ElementRef, EventEmitter, OnDestroy, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
|
+
import { ElementRef, EventEmitter, OnDestroy, OnInit, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
3
3
|
import { Store } from '@ngrx/store';
|
|
4
4
|
import { BehaviorSubject, Observable, Subject } from 'rxjs';
|
|
5
5
|
import { PryWidgetHeaderComponent } from '../header/widget-header.component';
|
|
6
|
+
import { WidgetManifest } from '../../../../core/model/manifest.interface';
|
|
7
|
+
import { SubscriptionnerDirective } from '../../subscriptionner.directive';
|
|
6
8
|
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class SettingsComponent implements OnDestroy {
|
|
9
|
+
export declare class SettingsComponent extends SubscriptionnerDirective implements OnInit, OnDestroy {
|
|
8
10
|
private store;
|
|
9
11
|
private overlay;
|
|
10
12
|
private viewContainerRef;
|
|
11
13
|
_widgetIndex$: BehaviorSubject<number>;
|
|
14
|
+
manifest$?: Observable<WidgetManifest>;
|
|
15
|
+
manifest?: WidgetManifest;
|
|
12
16
|
private openSub?;
|
|
13
17
|
set widgetIndex(widgetIndex: number);
|
|
14
18
|
isDisable?: boolean;
|
|
@@ -19,17 +23,20 @@ export declare class SettingsComponent implements OnDestroy {
|
|
|
19
23
|
header?: PryWidgetHeaderComponent;
|
|
20
24
|
saveTriggered: EventEmitter<void>;
|
|
21
25
|
open: boolean;
|
|
26
|
+
changeTitle: EventEmitter<string>;
|
|
22
27
|
private overlayRef?;
|
|
23
28
|
template: TemplateRef<any>;
|
|
24
29
|
cross: ElementRef<HTMLButtonElement>;
|
|
25
30
|
validate: ElementRef<HTMLButtonElement>;
|
|
26
31
|
constructor(store: Store<any>, overlay: Overlay, viewContainerRef: ViewContainerRef);
|
|
32
|
+
ngOnInit(): void;
|
|
27
33
|
toggle(): void;
|
|
28
34
|
saveAndClose(): void;
|
|
29
35
|
openWithTemplate(): void;
|
|
30
36
|
focusCrossElement(): void;
|
|
31
37
|
focusValidation(): void;
|
|
38
|
+
emitTitle($event: Event): void;
|
|
32
39
|
ngOnDestroy(): void;
|
|
33
40
|
static ɵfac: i0.ɵɵFactoryDeclaration<SettingsComponent, never>;
|
|
34
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SettingsComponent, "pry-settings", never, { "widgetIndex": { "alias": "widgetIndex"; "required": false; }; "isDisable": { "alias": "isDisable"; "required": false; }; "headerPresent": { "alias": "headerPresent"; "required": false; }; "open$": { "alias": "open$"; "required": false; }; "header": { "alias": "header"; "required": false; }; }, { "saveTriggered": "saveTriggered"; }, never, ["*"], false, never>;
|
|
41
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SettingsComponent, "pry-settings", never, { "widgetIndex": { "alias": "widgetIndex"; "required": false; }; "isDisable": { "alias": "isDisable"; "required": false; }; "headerPresent": { "alias": "headerPresent"; "required": false; }; "open$": { "alias": "open$"; "required": false; }; "header": { "alias": "header"; "required": false; }; }, { "saveTriggered": "saveTriggered"; "changeTitle": "changeTitle"; }, never, ["*"], false, never>;
|
|
35
42
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@provoly/dashboard",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.3",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/common": "15.x || 16.x",
|
|
@@ -97,30 +97,6 @@
|
|
|
97
97
|
"esm": "./esm2022/toolbox/provoly-dashboard-toolbox.mjs",
|
|
98
98
|
"default": "./fesm2022/provoly-dashboard-toolbox.mjs"
|
|
99
99
|
},
|
|
100
|
-
"./filters/date": {
|
|
101
|
-
"types": "./filters/date/index.d.ts",
|
|
102
|
-
"esm2022": "./esm2022/filters/date/provoly-dashboard-filters-date.mjs",
|
|
103
|
-
"esm": "./esm2022/filters/date/provoly-dashboard-filters-date.mjs",
|
|
104
|
-
"default": "./fesm2022/provoly-dashboard-filters-date.mjs"
|
|
105
|
-
},
|
|
106
|
-
"./filters/list": {
|
|
107
|
-
"types": "./filters/list/index.d.ts",
|
|
108
|
-
"esm2022": "./esm2022/filters/list/provoly-dashboard-filters-list.mjs",
|
|
109
|
-
"esm": "./esm2022/filters/list/provoly-dashboard-filters-list.mjs",
|
|
110
|
-
"default": "./fesm2022/provoly-dashboard-filters-list.mjs"
|
|
111
|
-
},
|
|
112
|
-
"./filters/number": {
|
|
113
|
-
"types": "./filters/number/index.d.ts",
|
|
114
|
-
"esm2022": "./esm2022/filters/number/provoly-dashboard-filters-number.mjs",
|
|
115
|
-
"esm": "./esm2022/filters/number/provoly-dashboard-filters-number.mjs",
|
|
116
|
-
"default": "./fesm2022/provoly-dashboard-filters-number.mjs"
|
|
117
|
-
},
|
|
118
|
-
"./filters/text": {
|
|
119
|
-
"types": "./filters/text/index.d.ts",
|
|
120
|
-
"esm2022": "./esm2022/filters/text/provoly-dashboard-filters-text.mjs",
|
|
121
|
-
"esm": "./esm2022/filters/text/provoly-dashboard-filters-text.mjs",
|
|
122
|
-
"default": "./fesm2022/provoly-dashboard-filters-text.mjs"
|
|
123
|
-
},
|
|
124
100
|
"./components/card": {
|
|
125
101
|
"types": "./components/card/index.d.ts",
|
|
126
102
|
"esm2022": "./esm2022/components/card/provoly-dashboard-components-card.mjs",
|
|
@@ -157,6 +133,30 @@
|
|
|
157
133
|
"esm": "./esm2022/components/stepper/provoly-dashboard-components-stepper.mjs",
|
|
158
134
|
"default": "./fesm2022/provoly-dashboard-components-stepper.mjs"
|
|
159
135
|
},
|
|
136
|
+
"./filters/date": {
|
|
137
|
+
"types": "./filters/date/index.d.ts",
|
|
138
|
+
"esm2022": "./esm2022/filters/date/provoly-dashboard-filters-date.mjs",
|
|
139
|
+
"esm": "./esm2022/filters/date/provoly-dashboard-filters-date.mjs",
|
|
140
|
+
"default": "./fesm2022/provoly-dashboard-filters-date.mjs"
|
|
141
|
+
},
|
|
142
|
+
"./filters/list": {
|
|
143
|
+
"types": "./filters/list/index.d.ts",
|
|
144
|
+
"esm2022": "./esm2022/filters/list/provoly-dashboard-filters-list.mjs",
|
|
145
|
+
"esm": "./esm2022/filters/list/provoly-dashboard-filters-list.mjs",
|
|
146
|
+
"default": "./fesm2022/provoly-dashboard-filters-list.mjs"
|
|
147
|
+
},
|
|
148
|
+
"./filters/number": {
|
|
149
|
+
"types": "./filters/number/index.d.ts",
|
|
150
|
+
"esm2022": "./esm2022/filters/number/provoly-dashboard-filters-number.mjs",
|
|
151
|
+
"esm": "./esm2022/filters/number/provoly-dashboard-filters-number.mjs",
|
|
152
|
+
"default": "./fesm2022/provoly-dashboard-filters-number.mjs"
|
|
153
|
+
},
|
|
154
|
+
"./filters/text": {
|
|
155
|
+
"types": "./filters/text/index.d.ts",
|
|
156
|
+
"esm2022": "./esm2022/filters/text/provoly-dashboard-filters-text.mjs",
|
|
157
|
+
"esm": "./esm2022/filters/text/provoly-dashboard-filters-text.mjs",
|
|
158
|
+
"default": "./fesm2022/provoly-dashboard-filters-text.mjs"
|
|
159
|
+
},
|
|
160
160
|
"./pipeline-components/filter": {
|
|
161
161
|
"types": "./pipeline-components/filter/index.d.ts",
|
|
162
162
|
"esm2022": "./esm2022/pipeline-components/filter/provoly-dashboard-pipeline-components-filter.mjs",
|
|
@@ -175,18 +175,18 @@
|
|
|
175
175
|
"esm": "./esm2022/pipeline-components/noop/provoly-dashboard-pipeline-components-noop.mjs",
|
|
176
176
|
"default": "./fesm2022/provoly-dashboard-pipeline-components-noop.mjs"
|
|
177
177
|
},
|
|
178
|
-
"./pipeline-components/subgraph": {
|
|
179
|
-
"types": "./pipeline-components/subgraph/index.d.ts",
|
|
180
|
-
"esm2022": "./esm2022/pipeline-components/subgraph/provoly-dashboard-pipeline-components-subgraph.mjs",
|
|
181
|
-
"esm": "./esm2022/pipeline-components/subgraph/provoly-dashboard-pipeline-components-subgraph.mjs",
|
|
182
|
-
"default": "./fesm2022/provoly-dashboard-pipeline-components-subgraph.mjs"
|
|
183
|
-
},
|
|
184
178
|
"./pipeline-components/output-dataset": {
|
|
185
179
|
"types": "./pipeline-components/output-dataset/index.d.ts",
|
|
186
180
|
"esm2022": "./esm2022/pipeline-components/output-dataset/provoly-dashboard-pipeline-components-output-dataset.mjs",
|
|
187
181
|
"esm": "./esm2022/pipeline-components/output-dataset/provoly-dashboard-pipeline-components-output-dataset.mjs",
|
|
188
182
|
"default": "./fesm2022/provoly-dashboard-pipeline-components-output-dataset.mjs"
|
|
189
183
|
},
|
|
184
|
+
"./pipeline-components/subgraph": {
|
|
185
|
+
"types": "./pipeline-components/subgraph/index.d.ts",
|
|
186
|
+
"esm2022": "./esm2022/pipeline-components/subgraph/provoly-dashboard-pipeline-components-subgraph.mjs",
|
|
187
|
+
"esm": "./esm2022/pipeline-components/subgraph/provoly-dashboard-pipeline-components-subgraph.mjs",
|
|
188
|
+
"default": "./fesm2022/provoly-dashboard-pipeline-components-subgraph.mjs"
|
|
189
|
+
},
|
|
190
190
|
"./tooltips/attribute": {
|
|
191
191
|
"types": "./tooltips/attribute/index.d.ts",
|
|
192
192
|
"esm2022": "./esm2022/tooltips/attribute/provoly-dashboard-tooltips-attribute.mjs",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
|
|
35
35
|
grid-gap: toRem(30);
|
|
36
36
|
padding: toRem(4) toRem(4) toRem(20) toRem(4);
|
|
37
|
-
overflow-y:
|
|
37
|
+
overflow-y: visible;
|
|
38
38
|
|
|
39
39
|
.a-h3 {
|
|
40
40
|
white-space: nowrap;
|
|
@@ -106,7 +106,6 @@
|
|
|
106
106
|
padding: toRem(15);
|
|
107
107
|
}
|
|
108
108
|
|
|
109
|
-
|
|
110
109
|
.description-container {
|
|
111
110
|
position: relative;
|
|
112
111
|
width: 100%;
|
|
@@ -67,6 +67,7 @@
|
|
|
67
67
|
@use 'components-theme/o-pry-card.theme' as *;
|
|
68
68
|
@use 'components-theme/o-pry-card-menu.theme' as *;
|
|
69
69
|
@use 'components-theme/o-pry-dataset-card.theme' as *;
|
|
70
|
+
@use 'components-theme/o-pry-dataset.theme' as *;
|
|
70
71
|
@use 'components-theme/o-pry-expand-panel.theme' as *;
|
|
71
72
|
@use 'components-theme/o-pry-new-presentation.theme' as *;
|
|
72
73
|
@use 'components-theme/o-pry-presentation.theme' as *;
|
|
@@ -10,7 +10,9 @@ export declare class WidgetIframeComponent extends BaseWidgetComponent {
|
|
|
10
10
|
private iframeMessagingService;
|
|
11
11
|
options$: Observable<IframeWidgetOptions>;
|
|
12
12
|
src$: Observable<SafeResourceUrl | undefined>;
|
|
13
|
+
height$: Observable<number>;
|
|
13
14
|
optionsCopy: IframeWidgetOptions;
|
|
15
|
+
WIDGET_HEADER_HEIGHT: number;
|
|
14
16
|
iframe?: ElementRef;
|
|
15
17
|
constructor(store: Store<any>, domSanitizer: DomSanitizer, iframeMessagingService: IframeMessagingService, el: ElementRef);
|
|
16
18
|
changeSrc($event: Event): void;
|