@provoly/dashboard 0.15.6 → 0.15.7
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/admin/i18n/en.translations.d.ts +1 -0
- package/admin/i18n/fr.translations.d.ts +1 -0
- package/assets/svgs/arrow-left-s-fill.svg +1 -0
- package/assets/svgs/arrow-right-s-fill.svg +1 -0
- package/assets/svgs/skip-left-fill.svg +1 -0
- package/assets/svgs/skip-right-fill.svg +1 -0
- package/esm2022/admin/components/admin-fields/admin-fields-form/admin-fields-form.component.mjs +8 -5
- package/esm2022/admin/components/admin-metadata/admin-select-metadata/admin-select-metadata.component.mjs +15 -13
- package/esm2022/admin/i18n/en.translations.mjs +3 -2
- package/esm2022/admin/i18n/fr.translations.mjs +3 -2
- package/esm2022/components/metadata-editor/metadata-editor.component.mjs +4 -4
- package/esm2022/dataset/components/dataset.component.mjs +3 -2
- package/esm2022/lib/core/auth/geoAuth.service.mjs +11 -7
- package/esm2022/lib/core/model/admin-api.model.mjs +1 -1
- package/esm2022/lib/dashboard/resultset-utils.mjs +17 -2
- package/esm2022/widgets/widget-map/component/widget-map.component.mjs +18 -10
- package/esm2022/widgets/widget-table/component/widget-table.component.mjs +40 -4
- package/esm2022/widgets/widget-table/i18n/en.translations.mjs +3 -2
- package/esm2022/widgets/widget-table/i18n/fr.translations.mjs +3 -2
- package/fesm2022/provoly-dashboard-admin.mjs +25 -18
- package/fesm2022/provoly-dashboard-admin.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-components-metadata-editor.mjs +3 -3
- package/fesm2022/provoly-dashboard-components-metadata-editor.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-dataset.mjs +2 -1
- package/fesm2022/provoly-dashboard-dataset.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-widgets-widget-map.mjs +17 -9
- package/fesm2022/provoly-dashboard-widgets-widget-map.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-widgets-widget-table.mjs +43 -5
- package/fesm2022/provoly-dashboard-widgets-widget-table.mjs.map +1 -1
- package/fesm2022/provoly-dashboard.mjs +26 -7
- package/fesm2022/provoly-dashboard.mjs.map +1 -1
- package/lib/core/model/admin-api.model.d.ts +2 -0
- package/package.json +31 -31
- package/styles/components/_a-table.scss +33 -2
- package/widgets/widget-map/component/widget-map.component.d.ts +4 -2
- package/widgets/widget-table/component/widget-table.component.d.ts +13 -1
- package/widgets/widget-table/i18n/en.translations.d.ts +1 -0
- package/widgets/widget-table/i18n/fr.translations.d.ts +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@provoly/dashboard",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.7",
|
|
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",
|
|
@@ -139,6 +139,30 @@
|
|
|
139
139
|
"esm": "./esm2022/toolbox/provoly-dashboard-toolbox.mjs",
|
|
140
140
|
"default": "./fesm2022/provoly-dashboard-toolbox.mjs"
|
|
141
141
|
},
|
|
142
|
+
"./filters/date": {
|
|
143
|
+
"types": "./filters/date/index.d.ts",
|
|
144
|
+
"esm2022": "./esm2022/filters/date/provoly-dashboard-filters-date.mjs",
|
|
145
|
+
"esm": "./esm2022/filters/date/provoly-dashboard-filters-date.mjs",
|
|
146
|
+
"default": "./fesm2022/provoly-dashboard-filters-date.mjs"
|
|
147
|
+
},
|
|
148
|
+
"./filters/list": {
|
|
149
|
+
"types": "./filters/list/index.d.ts",
|
|
150
|
+
"esm2022": "./esm2022/filters/list/provoly-dashboard-filters-list.mjs",
|
|
151
|
+
"esm": "./esm2022/filters/list/provoly-dashboard-filters-list.mjs",
|
|
152
|
+
"default": "./fesm2022/provoly-dashboard-filters-list.mjs"
|
|
153
|
+
},
|
|
154
|
+
"./filters/number": {
|
|
155
|
+
"types": "./filters/number/index.d.ts",
|
|
156
|
+
"esm2022": "./esm2022/filters/number/provoly-dashboard-filters-number.mjs",
|
|
157
|
+
"esm": "./esm2022/filters/number/provoly-dashboard-filters-number.mjs",
|
|
158
|
+
"default": "./fesm2022/provoly-dashboard-filters-number.mjs"
|
|
159
|
+
},
|
|
160
|
+
"./filters/text": {
|
|
161
|
+
"types": "./filters/text/index.d.ts",
|
|
162
|
+
"esm2022": "./esm2022/filters/text/provoly-dashboard-filters-text.mjs",
|
|
163
|
+
"esm": "./esm2022/filters/text/provoly-dashboard-filters-text.mjs",
|
|
164
|
+
"default": "./fesm2022/provoly-dashboard-filters-text.mjs"
|
|
165
|
+
},
|
|
142
166
|
"./components/card": {
|
|
143
167
|
"types": "./components/card/index.d.ts",
|
|
144
168
|
"esm2022": "./esm2022/components/card/provoly-dashboard-components-card.mjs",
|
|
@@ -181,30 +205,6 @@
|
|
|
181
205
|
"esm": "./esm2022/components/stepper/provoly-dashboard-components-stepper.mjs",
|
|
182
206
|
"default": "./fesm2022/provoly-dashboard-components-stepper.mjs"
|
|
183
207
|
},
|
|
184
|
-
"./filters/date": {
|
|
185
|
-
"types": "./filters/date/index.d.ts",
|
|
186
|
-
"esm2022": "./esm2022/filters/date/provoly-dashboard-filters-date.mjs",
|
|
187
|
-
"esm": "./esm2022/filters/date/provoly-dashboard-filters-date.mjs",
|
|
188
|
-
"default": "./fesm2022/provoly-dashboard-filters-date.mjs"
|
|
189
|
-
},
|
|
190
|
-
"./filters/list": {
|
|
191
|
-
"types": "./filters/list/index.d.ts",
|
|
192
|
-
"esm2022": "./esm2022/filters/list/provoly-dashboard-filters-list.mjs",
|
|
193
|
-
"esm": "./esm2022/filters/list/provoly-dashboard-filters-list.mjs",
|
|
194
|
-
"default": "./fesm2022/provoly-dashboard-filters-list.mjs"
|
|
195
|
-
},
|
|
196
|
-
"./filters/number": {
|
|
197
|
-
"types": "./filters/number/index.d.ts",
|
|
198
|
-
"esm2022": "./esm2022/filters/number/provoly-dashboard-filters-number.mjs",
|
|
199
|
-
"esm": "./esm2022/filters/number/provoly-dashboard-filters-number.mjs",
|
|
200
|
-
"default": "./fesm2022/provoly-dashboard-filters-number.mjs"
|
|
201
|
-
},
|
|
202
|
-
"./filters/text": {
|
|
203
|
-
"types": "./filters/text/index.d.ts",
|
|
204
|
-
"esm2022": "./esm2022/filters/text/provoly-dashboard-filters-text.mjs",
|
|
205
|
-
"esm": "./esm2022/filters/text/provoly-dashboard-filters-text.mjs",
|
|
206
|
-
"default": "./fesm2022/provoly-dashboard-filters-text.mjs"
|
|
207
|
-
},
|
|
208
208
|
"./pipeline-components/filter": {
|
|
209
209
|
"types": "./pipeline-components/filter/index.d.ts",
|
|
210
210
|
"esm2022": "./esm2022/pipeline-components/filter/provoly-dashboard-pipeline-components-filter.mjs",
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
.a-table-wrapper {
|
|
5
5
|
flex: 1;
|
|
6
6
|
height: 100%;
|
|
7
|
-
overflow: auto;
|
|
8
|
-
|
|
7
|
+
overflow-x: auto;
|
|
8
|
+
overflow-y: hidden;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
.a-table {
|
|
@@ -81,6 +81,18 @@
|
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
|
+
|
|
85
|
+
&.checkbox-wrapper {
|
|
86
|
+
height: toRem(45);
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
&.filler {
|
|
91
|
+
border-bottom-color: white;
|
|
92
|
+
|
|
93
|
+
td > * {
|
|
94
|
+
display: none;
|
|
95
|
+
}
|
|
84
96
|
}
|
|
85
97
|
}
|
|
86
98
|
|
|
@@ -98,6 +110,25 @@
|
|
|
98
110
|
a[href].a-btn {
|
|
99
111
|
color: inherit;
|
|
100
112
|
}
|
|
113
|
+
|
|
114
|
+
&-pagination {
|
|
115
|
+
height: toRem(35);
|
|
116
|
+
display: flex;
|
|
117
|
+
flex-direction: column;
|
|
118
|
+
align-items: center;
|
|
119
|
+
position: fixed;
|
|
120
|
+
|
|
121
|
+
&__spacing {
|
|
122
|
+
display: flex;
|
|
123
|
+
flex-direction: row;
|
|
124
|
+
height: toRem(35);
|
|
125
|
+
|
|
126
|
+
&__label {
|
|
127
|
+
margin-top: toRem(5);
|
|
128
|
+
height: toRem(35);
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
}
|
|
101
132
|
}
|
|
102
133
|
|
|
103
134
|
.a-table-loading {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AfterViewInit, ComponentRef, ElementRef, Injector, OnDestroy, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
2
|
import { Store } from '@ngrx/store';
|
|
3
|
-
import { BaseTooltipComponent, BaseWidgetMapLayerOptions, Class, DataWidgetComponent, Field, GetCapabilitiesResponse, MapAutoLayerOptions, MapFeatureLayerOptions, MapGeoServerLayerOptions, MapRasterTileLayerOptions, MapVectorTileLayerOptions, MapWidgetBubbleLayerOptions, MapWidgetHeatMapLayerOptions, MapWidgetLayerOptions, MapWidgetMarkerLayerOptions, MapWidgetOptions, MapWMSLayerLayerOptions, MapWMTSLayerLayerOptions, PryAggregationService, PryGeoAuthService, PryI18nService, PrySnackbarService, SymbolService, TooltipFactoryService } from '@provoly/dashboard';
|
|
3
|
+
import { BaseTooltipComponent, BaseWidgetMapLayerOptions, Class, DataWidgetComponent, Field, FilterContext, GetCapabilitiesResponse, MapAutoLayerOptions, MapFeatureLayerOptions, MapGeoServerLayerOptions, MapRasterTileLayerOptions, MapVectorTileLayerOptions, MapWidgetBubbleLayerOptions, MapWidgetHeatMapLayerOptions, MapWidgetLayerOptions, MapWidgetMarkerLayerOptions, MapWidgetOptions, MapWMSLayerLayerOptions, MapWMTSLayerLayerOptions, PryAggregationService, PryGeoAuthService, PryI18nService, PrySnackbarService, SymbolService, TooltipFactoryService } from '@provoly/dashboard';
|
|
4
4
|
import { Map } from 'ol';
|
|
5
5
|
import { Coordinate } from 'ol/coordinate';
|
|
6
6
|
import { Geometry } from 'ol/geom';
|
|
@@ -110,7 +110,9 @@ export declare class WidgetMapComponent extends DataWidgetComponent implements A
|
|
|
110
110
|
}, selectedIds?: string[], extents?: {
|
|
111
111
|
datasource: string;
|
|
112
112
|
extent: Coordinate[];
|
|
113
|
-
}[]
|
|
113
|
+
}[], filters?: {
|
|
114
|
+
[p: string]: FilterContext[];
|
|
115
|
+
}): void;
|
|
114
116
|
private getAttributesForDrawing;
|
|
115
117
|
private getIntensityAttribute;
|
|
116
118
|
private getLocationAttribute;
|
|
@@ -1,8 +1,17 @@
|
|
|
1
1
|
import { ChangeDetectorRef, ElementRef } from '@angular/core';
|
|
2
2
|
import { Store } from '@ngrx/store';
|
|
3
3
|
import { ColumnDefinition, DataWidgetComponent, Field, Item, ResultOrder, TableWidgetOptions } from '@provoly/dashboard';
|
|
4
|
-
import { Observable } from 'rxjs';
|
|
4
|
+
import { BehaviorSubject, Observable } from 'rxjs';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
+
export interface Pagination {
|
|
7
|
+
totalPages: number;
|
|
8
|
+
page: number;
|
|
9
|
+
rows: number;
|
|
10
|
+
items: Item[];
|
|
11
|
+
loaded: number;
|
|
12
|
+
loadedPages: number;
|
|
13
|
+
noFillersItems: number;
|
|
14
|
+
}
|
|
6
15
|
export declare class WidgetTableComponent extends DataWidgetComponent {
|
|
7
16
|
private cdr;
|
|
8
17
|
options$: Observable<TableWidgetOptions>;
|
|
@@ -27,6 +36,8 @@ export declare class WidgetTableComponent extends DataWidgetComponent {
|
|
|
27
36
|
isContextMenuOpened$: Observable<boolean>;
|
|
28
37
|
quickOrder$: Observable<ResultOrder | undefined>;
|
|
29
38
|
private _refresh$;
|
|
39
|
+
actualPage$: BehaviorSubject<number>;
|
|
40
|
+
pagination$: Observable<Pagination>;
|
|
30
41
|
constructor(store: Store<any>, el: ElementRef, cdr: ChangeDetectorRef);
|
|
31
42
|
refresh(): void;
|
|
32
43
|
emitManifest(): void;
|
|
@@ -41,6 +52,7 @@ export declare class WidgetTableComponent extends DataWidgetComponent {
|
|
|
41
52
|
setOrder(column: ColumnDefinition): void;
|
|
42
53
|
private nextOrder;
|
|
43
54
|
trackObjects(index: number, item: Item): string;
|
|
55
|
+
goToPage(number: number): void;
|
|
44
56
|
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetTableComponent, never>;
|
|
45
57
|
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetTableComponent, "pry-widget-table", never, {}, {}, never, never, false, never>;
|
|
46
58
|
}
|