@provoly/dashboard 0.19.7 → 0.19.9
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/admin/components/admin-classes/admin-classes-form/admin-classes-form.component.mjs +3 -3
- package/esm2022/admin/i18n/fr.translations.mjs +3 -3
- package/esm2022/dataset/components/dataset-card/dataset-card.component.mjs +3 -3
- package/esm2022/filters/autocomplete/autocomplete.component.mjs +3 -3
- package/esm2022/lib/core/store/search/search.service.mjs +2 -2
- package/esm2022/lib/dashboard/filter/style/css.component.mjs +2 -2
- package/esm2022/presentation/components/presentation.component.mjs +35 -9
- package/esm2022/presentation/i18n/fr.translations.mjs +2 -2
- package/esm2022/presentation/style/css.component.mjs +2 -2
- package/esm2022/restitution/style/css.component.mjs +2 -2
- package/fesm2022/provoly-dashboard-admin.mjs +4 -4
- package/fesm2022/provoly-dashboard-admin.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-dataset.mjs +2 -2
- package/fesm2022/provoly-dashboard-dataset.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-filters-autocomplete.mjs +2 -2
- package/fesm2022/provoly-dashboard-filters-autocomplete.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-presentation.mjs +37 -11
- 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.mjs +3 -3
- package/fesm2022/provoly-dashboard.mjs.map +1 -1
- package/lib/core/store/search/search.service.d.ts +1 -1
- package/lib/dashboard/filter/style/_o-pry-filter-group.scss +2 -2
- package/package.json +13 -13
- package/presentation/components/presentation.component.d.ts +5 -2
- package/presentation/style/_o-pry-new-presentation.scss +1 -12
- package/presentation/style/_o-pry-presentation.scss +55 -9
- package/styles-theme/components-theme/_o-pry-presentation.theme.scss +2 -6
|
@@ -45,7 +45,7 @@ export declare class SearchService {
|
|
|
45
45
|
name: string;
|
|
46
46
|
label: string;
|
|
47
47
|
datasource: string;
|
|
48
|
-
}[] | undefined, search
|
|
48
|
+
}[] | undefined, search?: string, limit?: number): Observable<string[]>;
|
|
49
49
|
static ɵfac: i0.ɵɵFactoryDeclaration<SearchService, never>;
|
|
50
50
|
static ɵprov: i0.ɵɵInjectableDeclaration<SearchService>;
|
|
51
51
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
&__filters {
|
|
7
7
|
display: flex;
|
|
8
8
|
padding: toRem(8) toRem(10);
|
|
9
|
-
max-height:
|
|
9
|
+
max-height: 50px; // needed for ng-select
|
|
10
10
|
gap: toRem(10);
|
|
11
11
|
}
|
|
12
12
|
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
display: flex;
|
|
15
15
|
justify-content: flex-start;
|
|
16
16
|
margin-bottom: toRem(-5);
|
|
17
|
-
max-height:
|
|
17
|
+
max-height: 50px; // needed for ng-select
|
|
18
18
|
padding: toRem(4) 0;
|
|
19
19
|
overflow-x: auto;
|
|
20
20
|
overflow-y: hidden;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@provoly/dashboard",
|
|
3
|
-
"version": "0.19.
|
|
3
|
+
"version": "0.19.9",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/cdk": "14.x || 15.x || 16.x",
|
|
@@ -85,18 +85,18 @@
|
|
|
85
85
|
"esm": "./esm2022/admin/provoly-dashboard-admin.mjs",
|
|
86
86
|
"default": "./fesm2022/provoly-dashboard-admin.mjs"
|
|
87
87
|
},
|
|
88
|
-
"./import": {
|
|
89
|
-
"types": "./import/index.d.ts",
|
|
90
|
-
"esm2022": "./esm2022/import/provoly-dashboard-import.mjs",
|
|
91
|
-
"esm": "./esm2022/import/provoly-dashboard-import.mjs",
|
|
92
|
-
"default": "./fesm2022/provoly-dashboard-import.mjs"
|
|
93
|
-
},
|
|
94
88
|
"./dataset": {
|
|
95
89
|
"types": "./dataset/index.d.ts",
|
|
96
90
|
"esm2022": "./esm2022/dataset/provoly-dashboard-dataset.mjs",
|
|
97
91
|
"esm": "./esm2022/dataset/provoly-dashboard-dataset.mjs",
|
|
98
92
|
"default": "./fesm2022/provoly-dashboard-dataset.mjs"
|
|
99
93
|
},
|
|
94
|
+
"./import": {
|
|
95
|
+
"types": "./import/index.d.ts",
|
|
96
|
+
"esm2022": "./esm2022/import/provoly-dashboard-import.mjs",
|
|
97
|
+
"esm": "./esm2022/import/provoly-dashboard-import.mjs",
|
|
98
|
+
"default": "./fesm2022/provoly-dashboard-import.mjs"
|
|
99
|
+
},
|
|
100
100
|
"./notification": {
|
|
101
101
|
"types": "./notification/index.d.ts",
|
|
102
102
|
"esm2022": "./esm2022/notification/provoly-dashboard-notification.mjs",
|
|
@@ -253,18 +253,18 @@
|
|
|
253
253
|
"esm": "./esm2022/pipeline-components/subgraph/provoly-dashboard-pipeline-components-subgraph.mjs",
|
|
254
254
|
"default": "./fesm2022/provoly-dashboard-pipeline-components-subgraph.mjs"
|
|
255
255
|
},
|
|
256
|
-
"./tooltips/cluster": {
|
|
257
|
-
"types": "./tooltips/cluster/index.d.ts",
|
|
258
|
-
"esm2022": "./esm2022/tooltips/cluster/provoly-dashboard-tooltips-cluster.mjs",
|
|
259
|
-
"esm": "./esm2022/tooltips/cluster/provoly-dashboard-tooltips-cluster.mjs",
|
|
260
|
-
"default": "./fesm2022/provoly-dashboard-tooltips-cluster.mjs"
|
|
261
|
-
},
|
|
262
256
|
"./tooltips/attribute": {
|
|
263
257
|
"types": "./tooltips/attribute/index.d.ts",
|
|
264
258
|
"esm2022": "./esm2022/tooltips/attribute/provoly-dashboard-tooltips-attribute.mjs",
|
|
265
259
|
"esm": "./esm2022/tooltips/attribute/provoly-dashboard-tooltips-attribute.mjs",
|
|
266
260
|
"default": "./fesm2022/provoly-dashboard-tooltips-attribute.mjs"
|
|
267
261
|
},
|
|
262
|
+
"./tooltips/cluster": {
|
|
263
|
+
"types": "./tooltips/cluster/index.d.ts",
|
|
264
|
+
"esm2022": "./esm2022/tooltips/cluster/provoly-dashboard-tooltips-cluster.mjs",
|
|
265
|
+
"esm": "./esm2022/tooltips/cluster/provoly-dashboard-tooltips-cluster.mjs",
|
|
266
|
+
"default": "./fesm2022/provoly-dashboard-tooltips-cluster.mjs"
|
|
267
|
+
},
|
|
268
268
|
"./widgets/widget-aggregated-chart": {
|
|
269
269
|
"types": "./widgets/widget-aggregated-chart/index.d.ts",
|
|
270
270
|
"esm2022": "./esm2022/widgets/widget-aggregated-chart/provoly-dashboard-widgets-widget-aggregated-chart.mjs",
|
|
@@ -39,17 +39,20 @@ export declare class PryPresentationComponent extends SubscriptionnerDirective {
|
|
|
39
39
|
listOfManifests$: BehaviorSubject<ManifestDescription[] | null>;
|
|
40
40
|
mode: 'theme' | 'meta';
|
|
41
41
|
set listOfManifests(manifests: ManifestDescription[] | null);
|
|
42
|
+
hideToolbox: boolean;
|
|
43
|
+
inputSearch$: BehaviorSubject<string>;
|
|
44
|
+
set search(query: string);
|
|
42
45
|
constructor(store: Store<any>, overlay: Overlay, viewContainerRef: ViewContainerRef, router: Router, titleService: PryTitleService, activatedRoute: ActivatedRoute, ngZone: NgZone);
|
|
43
46
|
closeRestitution(): void;
|
|
44
47
|
fetch(presentation: ManifestDescription): void;
|
|
45
48
|
creation(): void;
|
|
46
49
|
edit(presentation: ManifestDescription): void;
|
|
47
50
|
delete(id: string): void;
|
|
48
|
-
toggleModalActions(presentation?: ManifestDescription | null): void;
|
|
51
|
+
toggleModalActions(presentation?: ManifestDescription | null, moreButton?: HTMLButtonElement): void;
|
|
49
52
|
toggleModal(presentation?: ManifestDescription | null): void;
|
|
50
53
|
changeVisibility(presentation?: ManifestDescription): void;
|
|
51
54
|
focusCrossElement(): void;
|
|
52
55
|
focusValidation(): void;
|
|
53
56
|
static ɵfac: i0.ɵɵFactoryDeclaration<PryPresentationComponent, never>;
|
|
54
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PryPresentationComponent, "pry-presentation", never, { "editionStartUrl": { "alias": "editionStartUrl"; "required": false; }; "consultStartUrl": { "alias": "consultStartUrl"; "required": false; }; "meAsOwner": { "alias": "meAsOwner"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "listOfManifests": { "alias": "listOfManifests"; "required": false; }; }, {}, never, never, false, never>;
|
|
57
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PryPresentationComponent, "pry-presentation", never, { "editionStartUrl": { "alias": "editionStartUrl"; "required": false; }; "consultStartUrl": { "alias": "consultStartUrl"; "required": false; }; "meAsOwner": { "alias": "meAsOwner"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "listOfManifests": { "alias": "listOfManifests"; "required": false; }; "hideToolbox": { "alias": "hideToolbox"; "required": false; }; "search": { "alias": "search"; "required": false; }; }, {}, never, never, false, never>;
|
|
55
58
|
}
|
|
@@ -29,6 +29,7 @@ pry-add-edit-presentation {
|
|
|
29
29
|
justify-content: space-between;
|
|
30
30
|
align-items: center;
|
|
31
31
|
gap: toRem(15);
|
|
32
|
+
padding-top: 0; // needed for pvy-frontend
|
|
32
33
|
|
|
33
34
|
.a-btn {
|
|
34
35
|
border-radius: 22px;
|
|
@@ -85,15 +86,3 @@ pry-add-edit-presentation {
|
|
|
85
86
|
.a-presentation-title {
|
|
86
87
|
padding: 10px;
|
|
87
88
|
}
|
|
88
|
-
|
|
89
|
-
.a-presentation__search {
|
|
90
|
-
position: relative;
|
|
91
|
-
|
|
92
|
-
.a-icon {
|
|
93
|
-
position: absolute;
|
|
94
|
-
right: 0.6875rem;
|
|
95
|
-
bottom: 0.5625rem;
|
|
96
|
-
opacity: 0.5;
|
|
97
|
-
pointer-events: none;
|
|
98
|
-
}
|
|
99
|
-
}
|
|
@@ -2,19 +2,35 @@
|
|
|
2
2
|
|
|
3
3
|
/* Organism - pry-presentation */
|
|
4
4
|
|
|
5
|
-
.o-manifest-
|
|
6
|
-
|
|
5
|
+
.o-manifest-layout {
|
|
6
|
+
&__toolbox {
|
|
7
|
+
div:first-child {
|
|
8
|
+
margin-left: auto;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
&__search {
|
|
12
|
+
position: relative;
|
|
7
13
|
|
|
8
|
-
|
|
9
|
-
|
|
14
|
+
.a-form-field {
|
|
15
|
+
min-height: 10px;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.a-icon {
|
|
19
|
+
position: absolute;
|
|
20
|
+
right: 0.6875rem;
|
|
21
|
+
top: toRem(5);
|
|
22
|
+
opacity: 0.5;
|
|
23
|
+
pointer-events: none;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
10
26
|
}
|
|
11
|
-
}
|
|
12
27
|
|
|
13
|
-
|
|
14
|
-
|
|
28
|
+
&__content {
|
|
29
|
+
height: 100%;
|
|
15
30
|
|
|
16
|
-
|
|
17
|
-
|
|
31
|
+
.pointer {
|
|
32
|
+
cursor: pointer;
|
|
33
|
+
}
|
|
18
34
|
}
|
|
19
35
|
}
|
|
20
36
|
|
|
@@ -47,6 +63,17 @@
|
|
|
47
63
|
flex-direction: column;
|
|
48
64
|
align-items: stretch;
|
|
49
65
|
|
|
66
|
+
&:hover {
|
|
67
|
+
cursor: pointer;
|
|
68
|
+
|
|
69
|
+
.o-presentation__item__footer {
|
|
70
|
+
pry-icon {
|
|
71
|
+
visibility: visible;
|
|
72
|
+
opacity: 1;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
50
77
|
.a-tooltip {
|
|
51
78
|
align-items: center;
|
|
52
79
|
width: 100%;
|
|
@@ -105,6 +132,18 @@
|
|
|
105
132
|
display: flex;
|
|
106
133
|
align-content: center;
|
|
107
134
|
justify-content: center;
|
|
135
|
+
font-size: toRem(14);
|
|
136
|
+
|
|
137
|
+
.a-btn {
|
|
138
|
+
margin-left: toRem(20); // needed for centering the footer text
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
pry-icon {
|
|
142
|
+
visibility: hidden;
|
|
143
|
+
opacity: 0;
|
|
144
|
+
transition: visibility 100ms linear , opacity 100ms linear;
|
|
145
|
+
margin-left: toRem(3);
|
|
146
|
+
}
|
|
108
147
|
}
|
|
109
148
|
}
|
|
110
149
|
}
|
|
@@ -167,6 +206,9 @@
|
|
|
167
206
|
.title-tooltip {
|
|
168
207
|
transform: translateY(4rem);
|
|
169
208
|
}
|
|
209
|
+
.info-tooltip{
|
|
210
|
+
transform: translateY(8rem);
|
|
211
|
+
}
|
|
170
212
|
|
|
171
213
|
h1.a-presentation-title {
|
|
172
214
|
font-size: 16px;
|
|
@@ -211,3 +253,7 @@ h1.a-presentation-title {
|
|
|
211
253
|
top: toRem(6);
|
|
212
254
|
right: toRem(10);
|
|
213
255
|
}
|
|
256
|
+
|
|
257
|
+
.m-context-menu {
|
|
258
|
+
position: absolute;
|
|
259
|
+
}
|
|
@@ -25,12 +25,8 @@
|
|
|
25
25
|
&__footer {
|
|
26
26
|
border-top: 1px themed($theme-map, 'color', 'primary', 300) solid;
|
|
27
27
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
&:active {
|
|
31
|
-
color: themed($theme-map, 'color', 'accent', 400);
|
|
32
|
-
transition: color 100ms linear;
|
|
33
|
-
}
|
|
28
|
+
pry-icon {
|
|
29
|
+
color: themed($theme-map, 'color', 'accent', 400);
|
|
34
30
|
}
|
|
35
31
|
}
|
|
36
32
|
}
|