@provoly/dashboard 0.18.3 → 0.18.5
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/assets/svgs/clear_filter.svg +7 -6
- package/assets/svgs/refresh_filter.svg +6 -7
- package/assets/svgs/trash.svg +1 -0
- package/dataset/style/_o-pry-dataset.scss +1 -1
- package/esm2022/components/color-picker/color-picker.component.mjs +2 -2
- package/esm2022/dataset/style/css.component.mjs +2 -2
- package/esm2022/filters/date/date-filter.component.mjs +3 -3
- package/esm2022/filters/list/list-filter.component.mjs +3 -3
- package/esm2022/filters/number/number-filter.component.mjs +3 -3
- package/esm2022/filters/text/text-filter.component.mjs +3 -3
- package/esm2022/lib/core/i18n/en.translations.mjs +3 -2
- package/esm2022/lib/core/i18n/fr.translations.mjs +3 -2
- package/esm2022/lib/core/store/aggregation/backend-aggregation.service.mjs +5 -2
- package/esm2022/lib/core/store/data-source/datasource-utils.mjs +4 -2
- package/esm2022/lib/core/store/search/search.actions.mjs +3 -2
- package/esm2022/lib/core/store/search/search.reducer.mjs +6 -1
- package/esm2022/lib/dashboard/components/dashboard.component.mjs +16 -11
- package/esm2022/lib/dashboard/components/widgets/header/widget-header.component.mjs +10 -11
- package/esm2022/lib/dashboard/filter/base-filter.component.mjs +5 -2
- package/esm2022/lib/dashboard/filter/components/filter-instanciator/filter-instanciator.component.mjs +11 -2
- package/esm2022/lib/dashboard/store/dashboard.actions.mjs +3 -1
- package/esm2022/lib/dashboard/store/dashboard.contants.mjs +2 -2
- package/esm2022/lib/dashboard/store/dashboard.effects.mjs +15 -2
- package/esm2022/lib/dashboard/store/dashboard.reducers.mjs +12 -1
- package/esm2022/presentation/components/add-edit-presentation/add-edit-presentation.component.mjs +3 -3
- package/esm2022/presentation/components/presentation.component.mjs +5 -3
- package/esm2022/presentation/components/title-presentation/title-presentation.component.mjs +3 -4
- package/esm2022/presentation/i18n/en.translations.mjs +2 -2
- 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/esm2022/toolbox/components/refresh-datasets/refresh-datasets.component.mjs +3 -3
- package/esm2022/widgets/widget-aggregated-chart/component/widget-aggregated-chart.component.mjs +50 -11
- package/esm2022/widgets/widget-aggregated-chart/style/css.component.mjs +2 -2
- package/esm2022/widgets/widget-map/component/widget-map.component.mjs +2 -2
- package/esm2022/widgets/widget-table/component/widget-table.component.mjs +3 -3
- package/esm2022/widgets/widget-table/style/css.component.mjs +2 -2
- package/fesm2022/provoly-dashboard-components-color-picker.mjs +1 -1
- package/fesm2022/provoly-dashboard-components-color-picker.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-date.mjs +2 -2
- package/fesm2022/provoly-dashboard-filters-date.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-filters-list.mjs +2 -2
- package/fesm2022/provoly-dashboard-filters-list.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-filters-number.mjs +2 -2
- package/fesm2022/provoly-dashboard-filters-number.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-filters-text.mjs +2 -2
- package/fesm2022/provoly-dashboard-filters-text.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-presentation.mjs +13 -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-toolbox.mjs +2 -2
- package/fesm2022/provoly-dashboard-toolbox.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-widgets-widget-aggregated-chart.mjs +51 -12
- package/fesm2022/provoly-dashboard-widgets-widget-aggregated-chart.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-widgets-widget-table.mjs +4 -4
- package/fesm2022/provoly-dashboard-widgets-widget-table.mjs.map +1 -1
- package/fesm2022/provoly-dashboard.mjs +76 -21
- package/fesm2022/provoly-dashboard.mjs.map +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/store/search/search.actions.d.ts +7 -0
- package/lib/dashboard/components/dashboard.component.d.ts +2 -0
- package/lib/dashboard/components/widgets/header/widget-header.component.d.ts +1 -1
- package/lib/dashboard/filter/base-filter.component.d.ts +2 -0
- package/lib/dashboard/filter/components/filter-instanciator/filter-instanciator.component.d.ts +5 -2
- package/lib/dashboard/store/dashboard.actions.d.ts +2 -0
- package/lib/dashboard/store/dashboard.contants.d.ts +1 -1
- package/lib/dashboard/store/dashboard.effects.d.ts +3 -0
- package/package.json +31 -31
- package/presentation/style/_o-pry-new-presentation.scss +3 -2
- package/presentation/style/_o-pry-presentation.scss +7 -1
- package/styles/components/_a-btn.scss +14 -13
- package/styles/components/_a-color-picker.scss +1 -0
- package/styles/components/_a-page-loader.scss +14 -0
- package/styles/components/_m-filter.scss +57 -2
- package/styles/components/_o-about.scss +1 -1
- package/styles/components/_o-widget.scss +4 -2
- package/styles/layout/_o-workspace.scss +23 -1
- package/styles/main.scss +1 -0
- package/styles-theme/abstracts-theme/variables/_variables-typo.scss +10 -1
- package/styles-theme/components-theme/_m-filter.theme.scss +25 -1
- package/styles-theme/components-theme/_m-tooltip.theme.scss +2 -2
- package/styles-theme/components-theme/_o-pry-dataset.theme.scss +1 -1
- package/widgets/widget-aggregated-chart/component/widget-aggregated-chart.component.d.ts +1 -0
- package/widgets/widget-aggregated-chart/style/_o-widget-chart.scss +5 -0
- package/widgets/widget-table/style/_o-widget-table.scss +15 -0
|
@@ -30,4 +30,11 @@ export declare const SearchActions: {
|
|
|
30
30
|
error: any;
|
|
31
31
|
id?: string | undefined;
|
|
32
32
|
} & import("@ngrx/store/src/models").TypedAction<"[Search Api] (bus) Search Failure">>;
|
|
33
|
+
setSearchLoading: import("@ngrx/store").ActionCreator<"[Search Api] (bus) set Search loading datasource status", (props: {
|
|
34
|
+
datasources: string[];
|
|
35
|
+
start: boolean;
|
|
36
|
+
}) => {
|
|
37
|
+
datasources: string[];
|
|
38
|
+
start: boolean;
|
|
39
|
+
} & import("@ngrx/store/src/models").TypedAction<"[Search Api] (bus) set Search loading datasource status">>;
|
|
33
40
|
};
|
|
@@ -28,6 +28,8 @@ export declare class DashboardComponent extends SubscriptionnerDirective impleme
|
|
|
28
28
|
nonFillerWidgets$: Observable<number>;
|
|
29
29
|
loading$: Observable<boolean>;
|
|
30
30
|
instanciators?: QueryList<WidgetInstanciatorComponent>;
|
|
31
|
+
dataFetching$: Observable<string[]>;
|
|
32
|
+
params: DashboardCellParams;
|
|
31
33
|
get widgetsInstances(): any[];
|
|
32
34
|
set staticDashboard(window: DashboardManifest);
|
|
33
35
|
CloseOnDragOut: boolean;
|
|
@@ -9,7 +9,7 @@ import { LibraryTypes } from '../../../../core/store/image/image.service';
|
|
|
9
9
|
import { ToolboxMenuService } from '../../../../core/toolbox/toolbox-menu.service';
|
|
10
10
|
import { SubscriptionnerDirective } from '../../subscriptionner.directive';
|
|
11
11
|
import * as i0 from "@angular/core";
|
|
12
|
-
export declare const WIDGET_HEADER_HEIGHT =
|
|
12
|
+
export declare const WIDGET_HEADER_HEIGHT = 30;
|
|
13
13
|
export type HeaderAction = {
|
|
14
14
|
icon: string;
|
|
15
15
|
action: (that: PryWidgetHeaderComponent) => void;
|
|
@@ -6,8 +6,10 @@ export declare class BaseFilterComponent extends SubscriptionnerDirective {
|
|
|
6
6
|
protected store: Store;
|
|
7
7
|
filter?: Filter;
|
|
8
8
|
type: string;
|
|
9
|
+
private _value;
|
|
9
10
|
constructor(store: Store);
|
|
10
11
|
updateFilter(value: any): void;
|
|
12
|
+
validateFilters(): void;
|
|
11
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaseFilterComponent, never>;
|
|
12
14
|
static ɵcmp: i0.ɵɵComponentDeclaration<BaseFilterComponent, "pry-base-filter", never, { "filter": { "alias": "filter"; "required": false; }; }, {}, never, never, false, never>;
|
|
13
15
|
}
|
package/lib/dashboard/filter/components/filter-instanciator/filter-instanciator.component.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AfterViewInit, ChangeDetectorRef, Injector, ViewContainerRef } from '@angular/core';
|
|
2
2
|
import { Store } from '@ngrx/store';
|
|
3
|
-
import { BehaviorSubject } from 'rxjs';
|
|
3
|
+
import { BehaviorSubject, Observable } from 'rxjs';
|
|
4
4
|
import { Filter } from '../../../../core/model/filter.interface';
|
|
5
5
|
import { SubscriptionnerDirective } from '../../../components/subscriptionner.directive';
|
|
6
6
|
import { FilterFactoryService } from '../../filter-factory.service';
|
|
@@ -11,10 +11,13 @@ export declare class FilterInstanciatorComponent extends SubscriptionnerDirectiv
|
|
|
11
11
|
private filterFactoryService;
|
|
12
12
|
private changeDetector;
|
|
13
13
|
filter$: BehaviorSubject<Filter | null>;
|
|
14
|
+
private applySub?;
|
|
15
|
+
private currentInstance?;
|
|
14
16
|
set filter(filter: Filter);
|
|
15
17
|
filterContainerRef: ViewContainerRef;
|
|
18
|
+
set applyFilter$(applyFilter$: Observable<void>);
|
|
16
19
|
constructor(store: Store, injector: Injector, filterFactoryService: FilterFactoryService, changeDetector: ChangeDetectorRef);
|
|
17
20
|
ngAfterViewInit(): void;
|
|
18
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<FilterInstanciatorComponent, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FilterInstanciatorComponent, "pry-filter-instanciator", never, { "filter": { "alias": "filter"; "required": false; }; }, {}, never, never, false, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FilterInstanciatorComponent, "pry-filter-instanciator", never, { "filter": { "alias": "filter"; "required": false; }; "applyFilter$": { "alias": "applyFilter$"; "required": false; }; }, {}, never, never, false, never>;
|
|
20
23
|
}
|
|
@@ -441,6 +441,8 @@ export declare const DashboardActions: {
|
|
|
441
441
|
value: any;
|
|
442
442
|
datasourceId: string;
|
|
443
443
|
} & import("@ngrx/store/src/models").TypedAction<"[Dashboard] (bus) update filter value">>;
|
|
444
|
+
clearAllFilterValues: import("@ngrx/store").ActionCreator<"[Dashboard] (bus) clear all filter values", () => import("@ngrx/store/src/models").TypedAction<"[Dashboard] (bus) clear all filter values">>;
|
|
445
|
+
dispatchFilters: import("@ngrx/store").ActionCreator<"[Dashboard] (bus) apply filters to presentation datasources", () => import("@ngrx/store/src/models").TypedAction<"[Dashboard] (bus) apply filters to presentation datasources">>;
|
|
444
446
|
resetWmsFeatures: import("@ngrx/store").ActionCreator<"[Widget map] Reset Wms layer features", () => import("@ngrx/store/src/models").TypedAction<"[Widget map] Reset Wms layer features">>;
|
|
445
447
|
getWmsFeatures: import("@ngrx/store").ActionCreator<"[Widget map] Get Wms layer features", (props: {
|
|
446
448
|
url: string;
|
|
@@ -221,6 +221,9 @@ export declare class DashboardEffects {
|
|
|
221
221
|
updateViewAfterFilterValueUpdate$: import("rxjs").Observable<{
|
|
222
222
|
id: string;
|
|
223
223
|
} & import("@ngrx/store/src/models").TypedAction<"[Search] (bus) search named">> & import("@ngrx/effects").CreateEffectMetadata;
|
|
224
|
+
dispatchFilters$: import("rxjs").Observable<{
|
|
225
|
+
id: string;
|
|
226
|
+
} & import("@ngrx/store/src/models").TypedAction<"[Search] (bus) search named">> & import("@ngrx/effects").CreateEffectMetadata;
|
|
224
227
|
getCapability$: import("rxjs").Observable<{
|
|
225
228
|
url: string;
|
|
226
229
|
capability: import("./wms.service").GetCapabilitiesResponse | null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@provoly/dashboard",
|
|
3
|
-
"version": "0.18.
|
|
3
|
+
"version": "0.18.5",
|
|
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",
|
|
@@ -193,30 +217,6 @@
|
|
|
193
217
|
"esm": "./esm2022/components/stepper/provoly-dashboard-components-stepper.mjs",
|
|
194
218
|
"default": "./fesm2022/provoly-dashboard-components-stepper.mjs"
|
|
195
219
|
},
|
|
196
|
-
"./filters/date": {
|
|
197
|
-
"types": "./filters/date/index.d.ts",
|
|
198
|
-
"esm2022": "./esm2022/filters/date/provoly-dashboard-filters-date.mjs",
|
|
199
|
-
"esm": "./esm2022/filters/date/provoly-dashboard-filters-date.mjs",
|
|
200
|
-
"default": "./fesm2022/provoly-dashboard-filters-date.mjs"
|
|
201
|
-
},
|
|
202
|
-
"./filters/list": {
|
|
203
|
-
"types": "./filters/list/index.d.ts",
|
|
204
|
-
"esm2022": "./esm2022/filters/list/provoly-dashboard-filters-list.mjs",
|
|
205
|
-
"esm": "./esm2022/filters/list/provoly-dashboard-filters-list.mjs",
|
|
206
|
-
"default": "./fesm2022/provoly-dashboard-filters-list.mjs"
|
|
207
|
-
},
|
|
208
|
-
"./filters/number": {
|
|
209
|
-
"types": "./filters/number/index.d.ts",
|
|
210
|
-
"esm2022": "./esm2022/filters/number/provoly-dashboard-filters-number.mjs",
|
|
211
|
-
"esm": "./esm2022/filters/number/provoly-dashboard-filters-number.mjs",
|
|
212
|
-
"default": "./fesm2022/provoly-dashboard-filters-number.mjs"
|
|
213
|
-
},
|
|
214
|
-
"./filters/text": {
|
|
215
|
-
"types": "./filters/text/index.d.ts",
|
|
216
|
-
"esm2022": "./esm2022/filters/text/provoly-dashboard-filters-text.mjs",
|
|
217
|
-
"esm": "./esm2022/filters/text/provoly-dashboard-filters-text.mjs",
|
|
218
|
-
"default": "./fesm2022/provoly-dashboard-filters-text.mjs"
|
|
219
|
-
},
|
|
220
220
|
"./pipeline-components/filter": {
|
|
221
221
|
"types": "./pipeline-components/filter/index.d.ts",
|
|
222
222
|
"esm2022": "./esm2022/pipeline-components/filter/provoly-dashboard-pipeline-components-filter.mjs",
|
|
@@ -5,7 +5,8 @@ pry-add-edit-presentation {
|
|
|
5
5
|
height: 100%;
|
|
6
6
|
}
|
|
7
7
|
|
|
8
|
-
.o-manifest-layout__content {
|
|
8
|
+
.o-manifest-layout__content--presentation {
|
|
9
|
+
width: 100%;
|
|
9
10
|
display: flex;
|
|
10
11
|
flex-direction: column;
|
|
11
12
|
padding: 20px 20px;
|
|
@@ -82,7 +83,7 @@ pry-add-edit-presentation {
|
|
|
82
83
|
}
|
|
83
84
|
|
|
84
85
|
.a-presentation-title {
|
|
85
|
-
padding:
|
|
86
|
+
padding: 10px;
|
|
86
87
|
}
|
|
87
88
|
|
|
88
89
|
.a-presentation__search {
|
|
@@ -172,10 +172,16 @@
|
|
|
172
172
|
h1.a-presentation-title {
|
|
173
173
|
font-size: 16px;
|
|
174
174
|
padding-right: 20px;
|
|
175
|
+
color: #3E546A;
|
|
175
176
|
}
|
|
176
177
|
|
|
177
178
|
.title-container {
|
|
178
179
|
display: flex;
|
|
180
|
+
|
|
181
|
+
.h-1 {
|
|
182
|
+
padding-top: 0;
|
|
183
|
+
padding-bottom: 0;
|
|
184
|
+
}
|
|
179
185
|
}
|
|
180
186
|
|
|
181
187
|
.info-icon {
|
|
@@ -183,11 +189,11 @@ h1.a-presentation-title {
|
|
|
183
189
|
width: 1.5rem;
|
|
184
190
|
height: 1.5rem;
|
|
185
191
|
border-radius: 50%;
|
|
186
|
-
background-color: #ccc;
|
|
187
192
|
cursor: pointer;
|
|
188
193
|
display: inline-flex;
|
|
189
194
|
justify-content: center;
|
|
190
195
|
align-items: center;
|
|
191
196
|
align-self: center;
|
|
192
197
|
margin-right: 1rem;
|
|
198
|
+
border: 1px solid #3E546A;
|
|
193
199
|
}
|
|
@@ -114,6 +114,7 @@
|
|
|
114
114
|
width: toRem(27);
|
|
115
115
|
height: toRem(27);
|
|
116
116
|
padding: 0;
|
|
117
|
+
margin: 2px;
|
|
117
118
|
}
|
|
118
119
|
|
|
119
120
|
// Toggler open/close element
|
|
@@ -164,12 +165,12 @@
|
|
|
164
165
|
}
|
|
165
166
|
|
|
166
167
|
&.-size-sm {
|
|
167
|
-
gap: toRem(
|
|
168
|
-
height: toRem(
|
|
169
|
-
padding-left: toRem(
|
|
170
|
-
padding-right: toRem(
|
|
171
|
-
font-size: toRem(
|
|
172
|
-
line-height: toRem(
|
|
168
|
+
gap: toRem(3);
|
|
169
|
+
height: toRem(30);
|
|
170
|
+
padding-left: toRem(12);
|
|
171
|
+
padding-right: toRem(12);
|
|
172
|
+
font-size: toRem(10);
|
|
173
|
+
line-height: toRem(13);
|
|
173
174
|
|
|
174
175
|
&.-circle {
|
|
175
176
|
width: toRem(34);
|
|
@@ -179,15 +180,15 @@
|
|
|
179
180
|
|
|
180
181
|
&.-size-md {
|
|
181
182
|
gap: toRem(5);
|
|
182
|
-
height: toRem(
|
|
183
|
-
padding-left: toRem(
|
|
184
|
-
padding-right: toRem(
|
|
185
|
-
font-size: toRem(
|
|
186
|
-
line-height: toRem(
|
|
183
|
+
height: toRem(34);
|
|
184
|
+
padding-left: toRem(15);
|
|
185
|
+
padding-right: toRem(15);
|
|
186
|
+
font-size: toRem(12);
|
|
187
|
+
line-height: toRem(14);
|
|
187
188
|
|
|
188
189
|
&.-circle {
|
|
189
|
-
width: toRem(
|
|
190
|
-
height: toRem(
|
|
190
|
+
width: toRem(34);
|
|
191
|
+
height: toRem(34);
|
|
191
192
|
}
|
|
192
193
|
|
|
193
194
|
pry-icon,
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
/* Molecule m-filter */
|
|
4
4
|
|
|
5
5
|
.m-filter {
|
|
6
|
+
min-width: toRem(150);
|
|
7
|
+
|
|
6
8
|
&__wrapper {
|
|
7
9
|
display: flex;
|
|
8
10
|
align-items: center;
|
|
@@ -13,9 +15,57 @@
|
|
|
13
15
|
}
|
|
14
16
|
}
|
|
15
17
|
|
|
18
|
+
&__input-wrapper {
|
|
19
|
+
display: flex;
|
|
20
|
+
border-radius: toRem(5);
|
|
21
|
+
padding: toRem(2) toRem(10);
|
|
22
|
+
align-items: center;
|
|
23
|
+
|
|
24
|
+
&:has(.pry-select) {
|
|
25
|
+
padding: toRem(1) toRem(10);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.ng-select-container {
|
|
29
|
+
border: none;
|
|
30
|
+
min-width: toRem(100);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.ng-select.ng-select-single .ng-select-container {
|
|
34
|
+
min-height: 22px;
|
|
35
|
+
height: 22px;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.ng-dropdown-panel.ng-select-bottom {
|
|
39
|
+
margin-top: 2px;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.ng-select.ng-select-focused:not(.ng-select-opened) > .ng-select-container{
|
|
43
|
+
border: none transparent;
|
|
44
|
+
box-shadow: none;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
&__label {
|
|
49
|
+
cursor: none;
|
|
50
|
+
margin: 0;
|
|
51
|
+
align-self: center;
|
|
52
|
+
white-space: nowrap;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
&__input {
|
|
56
|
+
outline: none;
|
|
57
|
+
min-height: toRem(20);
|
|
58
|
+
line-height: toRem(12);
|
|
59
|
+
padding: 0 toRem(2) toRem(1) toRem(1);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
&__date-input-separator {
|
|
63
|
+
margin: 0 toRem(5);
|
|
64
|
+
}
|
|
65
|
+
|
|
16
66
|
&__clear-wrapper {
|
|
17
67
|
position: absolute;
|
|
18
|
-
bottom: toRem(
|
|
68
|
+
bottom: toRem(4);
|
|
19
69
|
cursor: pointer;
|
|
20
70
|
-webkit-user-select: none;
|
|
21
71
|
user-select: none;
|
|
@@ -31,6 +81,11 @@
|
|
|
31
81
|
&--date {
|
|
32
82
|
right: toRem(35);
|
|
33
83
|
}
|
|
84
|
+
|
|
85
|
+
&--two-dates {
|
|
86
|
+
right: toRem(35);
|
|
87
|
+
bottom: toRem(0);
|
|
88
|
+
}
|
|
34
89
|
}
|
|
35
90
|
|
|
36
91
|
&__clear {
|
|
@@ -45,5 +100,5 @@
|
|
|
45
100
|
pry-filter-instanciator {
|
|
46
101
|
display: flex;
|
|
47
102
|
justify-content: space-around;
|
|
48
|
-
padding: toRem(10);
|
|
103
|
+
padding: 0 toRem(10);
|
|
49
104
|
}
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
overflow: auto;
|
|
24
24
|
justify-content: space-between;
|
|
25
25
|
width: 100%;
|
|
26
|
-
height: toRem(
|
|
26
|
+
height: toRem(32);
|
|
27
27
|
|
|
28
28
|
&__content {
|
|
29
29
|
display: flex;
|
|
@@ -45,9 +45,11 @@
|
|
|
45
45
|
overflow: hidden;
|
|
46
46
|
padding-left: toRem(10);
|
|
47
47
|
padding-bottom: 0;
|
|
48
|
-
font-size: toRem(
|
|
48
|
+
font-size: toRem(14);
|
|
49
|
+
font-weight: 500;
|
|
49
50
|
text-overflow: ellipsis;
|
|
50
51
|
white-space: nowrap;
|
|
52
|
+
text-transform: uppercase;
|
|
51
53
|
}
|
|
52
54
|
|
|
53
55
|
&__color-point {
|
|
@@ -19,9 +19,31 @@
|
|
|
19
19
|
padding: toRem(20);
|
|
20
20
|
|
|
21
21
|
&__filters {
|
|
22
|
+
display: flex;
|
|
23
|
+
padding: toRem(8) toRem(10);
|
|
24
|
+
max-height: 50px; // needed for ng-select
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
&__filter-container {
|
|
22
28
|
display: flex;
|
|
23
29
|
justify-content: flex-start;
|
|
24
|
-
|
|
30
|
+
overflow-x: auto;
|
|
31
|
+
overflow-y: hidden;
|
|
32
|
+
margin-bottom: toRem(-5);
|
|
33
|
+
max-height: 50px; // needed for ng-select
|
|
34
|
+
padding: toRem(4) 0;
|
|
35
|
+
|
|
36
|
+
&:has(ng-dropdown-panel.ng-dropdown-panel) {
|
|
37
|
+
padding-bottom: 350px; // max ng-select dropdown length
|
|
38
|
+
background-clip: content-box, padding-box;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
&__filter-actions {
|
|
43
|
+
display: flex;
|
|
44
|
+
align-items: center;
|
|
45
|
+
gap: toRem(10);
|
|
46
|
+
padding: 0 toRem(10);
|
|
25
47
|
}
|
|
26
48
|
}
|
|
27
49
|
|
package/styles/main.scss
CHANGED
|
@@ -127,7 +127,16 @@ $theme-typography: (
|
|
|
127
127
|
'letter-spacing': -1px,
|
|
128
128
|
'font-weight': 700,
|
|
129
129
|
'font-style': ''
|
|
130
|
-
)
|
|
130
|
+
),
|
|
131
|
+
'tooltip': (
|
|
132
|
+
'font-family': '',
|
|
133
|
+
'font-variation': '',
|
|
134
|
+
'font-size': 12px,
|
|
135
|
+
'line-height': 14px,
|
|
136
|
+
'letter-spacing': '',
|
|
137
|
+
'font-weight': 400,
|
|
138
|
+
'font-style': ''
|
|
139
|
+
),
|
|
131
140
|
);
|
|
132
141
|
|
|
133
142
|
///// DO NOT EDIT FROM HERE /////
|
|
@@ -1,7 +1,31 @@
|
|
|
1
1
|
/* Theme - Atom a-icon */
|
|
2
2
|
|
|
3
|
-
// colors that make the clear button look like the ng-select clear button
|
|
4
3
|
.m-filter {
|
|
4
|
+
display: flex;
|
|
5
|
+
align-items: center;
|
|
6
|
+
|
|
7
|
+
&__input-wrapper {
|
|
8
|
+
border: 1px #BCCAD8 solid;
|
|
9
|
+
background: #ffffff;
|
|
10
|
+
|
|
11
|
+
.pry-select {
|
|
12
|
+
font-size: 12px;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
&__label {
|
|
17
|
+
background: transparent;
|
|
18
|
+
font-size: 12px;
|
|
19
|
+
font-weight: bold;
|
|
20
|
+
color: #424B5A;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&__input {
|
|
24
|
+
border: none transparent;
|
|
25
|
+
font-size: 12px;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
// colors that make the clear button look like the ng-select clear button
|
|
5
29
|
&__clear-wrapper {
|
|
6
30
|
color: #999999;
|
|
7
31
|
|
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
$this: &;
|
|
8
8
|
|
|
9
9
|
&__text {
|
|
10
|
-
@include typography-level(themed($theme-map, 'typography', '
|
|
10
|
+
@include typography-level(themed($theme-map, 'typography', 'tooltip'));
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
&__description {
|
|
14
|
-
@include typography-level(themed($theme-map, 'typography', '
|
|
14
|
+
@include typography-level(themed($theme-map, 'typography', 'tooltip'));
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
&--popup,
|
|
@@ -82,6 +82,7 @@ export declare class WidgetAggregatedChartComponent extends DataWidgetComponent
|
|
|
82
82
|
openSettings(): void;
|
|
83
83
|
openData(): void;
|
|
84
84
|
private getTitle;
|
|
85
|
+
getChartConfig(): import("vega-lite").Config<import("vega").SignalRef>;
|
|
85
86
|
changeChartTitle($event: string): void;
|
|
86
87
|
changeType($event: GraphType): void;
|
|
87
88
|
changeDonutSize($event: number): void;
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
.o-widget--table {
|
|
7
7
|
display: flex;
|
|
8
8
|
flex-direction: column;
|
|
9
|
+
font-size: toRem(12);
|
|
9
10
|
|
|
10
11
|
.no-result {
|
|
11
12
|
display: flex;
|
|
@@ -60,5 +61,19 @@
|
|
|
60
61
|
opacity: 1;
|
|
61
62
|
}
|
|
62
63
|
}
|
|
64
|
+
|
|
65
|
+
thead tr, thead tr th {
|
|
66
|
+
height: toRem(30);
|
|
67
|
+
white-space: nowrap;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
td, th {
|
|
71
|
+
margin: toRem(5);
|
|
72
|
+
padding: toRem(4.5);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.checkbox-wrapper {
|
|
76
|
+
height: auto;
|
|
77
|
+
}
|
|
63
78
|
}
|
|
64
79
|
}
|