@provoly/dashboard 0.22.5 → 0.22.6

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.
Files changed (74) hide show
  1. package/README.md +0 -2
  2. package/admin/components/admin-classes/admin-classes-customize/tooltip/admin-classes-customize-tooltip.component.d.ts +8 -4
  3. package/esm2022/admin/components/admin-classes/admin-classes-customize/admin-classes-customize.component.mjs +7 -6
  4. package/esm2022/admin/components/admin-classes/admin-classes-customize/tooltip/admin-classes-customize-tooltip.component.mjs +44 -30
  5. package/esm2022/admin/components/admin-menu/admin-menu.component.mjs +3 -3
  6. package/esm2022/lib/core/components/about/about.component.mjs +3 -3
  7. package/esm2022/lib/core/components/base-menu/base-menu.component.mjs +3 -3
  8. package/esm2022/lib/core/components/select/select.component.mjs +5 -4
  9. package/esm2022/lib/core/components/select/select.module.mjs +5 -4
  10. package/esm2022/lib/core/components/select-image/select-image.component.mjs +2 -2
  11. package/esm2022/lib/core/i18n/fr.translations.mjs +2 -2
  12. package/esm2022/lib/dashboard/components/widgets/header/widget-header.component.mjs +2 -2
  13. package/esm2022/lib/dashboard/components/widgets/widget-instanciator/widget-factory.service.mjs +16 -1
  14. package/esm2022/lib/dashboard/item-utils.mjs +2 -2
  15. package/esm2022/lib/dashboard/store/dashboard.selectors.mjs +1 -4
  16. package/esm2022/lib/dashboard/store/refresh.service.mjs +14 -9
  17. package/esm2022/presentation/components/presentation.component.mjs +3 -3
  18. package/esm2022/presentation/style/css.component.mjs +2 -2
  19. package/esm2022/restitution/components/restitution-catalog/restitution-catalog.component.mjs +3 -3
  20. package/esm2022/restitution/style/css.component.mjs +2 -2
  21. package/esm2022/toolbox/components/automate-refresh/automate-refresh.component.mjs +12 -9
  22. package/esm2022/toolbox/components/refresh-datasets/refresh-datasets.component.mjs +19 -17
  23. package/esm2022/toolbox/components/toolbox.component.mjs +7 -4
  24. package/esm2022/widgets/widget-aggregated-chart/component/widget-aggregated-chart.component.mjs +3 -3
  25. package/esm2022/widgets/widget-aggregated-chart/style/css.component.mjs +2 -2
  26. package/esm2022/widgets/widget-graph/component/widget-graph.component.mjs +4 -5
  27. package/esm2022/widgets/widget-graph/style/css.component.mjs +2 -2
  28. package/esm2022/widgets/widget-map/component/widget-map.component.mjs +3 -3
  29. package/fesm2022/provoly-dashboard-admin.mjs +49 -34
  30. package/fesm2022/provoly-dashboard-admin.mjs.map +1 -1
  31. package/fesm2022/provoly-dashboard-presentation.mjs +4 -4
  32. package/fesm2022/provoly-dashboard-presentation.mjs.map +1 -1
  33. package/fesm2022/provoly-dashboard-restitution.mjs +4 -4
  34. package/fesm2022/provoly-dashboard-restitution.mjs.map +1 -1
  35. package/fesm2022/provoly-dashboard-toolbox.mjs +29 -21
  36. package/fesm2022/provoly-dashboard-toolbox.mjs.map +1 -1
  37. package/fesm2022/provoly-dashboard-widgets-widget-aggregated-chart.mjs +4 -4
  38. package/fesm2022/provoly-dashboard-widgets-widget-aggregated-chart.mjs.map +1 -1
  39. package/fesm2022/provoly-dashboard-widgets-widget-graph.mjs +5 -6
  40. package/fesm2022/provoly-dashboard-widgets-widget-graph.mjs.map +1 -1
  41. package/fesm2022/provoly-dashboard-widgets-widget-map.mjs +2 -2
  42. package/fesm2022/provoly-dashboard-widgets-widget-map.mjs.map +1 -1
  43. package/fesm2022/provoly-dashboard.mjs +56 -39
  44. package/fesm2022/provoly-dashboard.mjs.map +1 -1
  45. package/lib/core/components/select/select.module.d.ts +2 -1
  46. package/lib/dashboard/components/widgets/header/widget-header.component.d.ts +1 -1
  47. package/lib/dashboard/components/widgets/widget-instanciator/widget-factory.service.d.ts +8 -1
  48. package/lib/dashboard/store/dashboard.selectors.d.ts +0 -13
  49. package/lib/dashboard/store/refresh.service.d.ts +3 -1
  50. package/package.json +7 -7
  51. package/presentation/style/_o-pry-presentation.scss +0 -3
  52. package/styles/components/_a-chip.scss +6 -0
  53. package/styles/components/_a-pry-select.scss +13 -0
  54. package/styles/components/_a-range-slider.scss +4 -5
  55. package/styles/components/_m-nav-links.scss +2 -7
  56. package/styles/components/_o-widget.scss +6 -0
  57. package/styles-theme/abstracts-theme/variables/_variables-colors.scss +4 -3
  58. package/styles-theme/base-theme/_typography.theme.scss +5 -2
  59. package/styles-theme/components-theme/_a-btn.theme.scss +3 -7
  60. package/styles-theme/components-theme/_a-label.theme.scss +1 -0
  61. package/styles-theme/components-theme/_a-pry-select.theme.scss +4 -6
  62. package/styles-theme/components-theme/_a-range-slider.theme.scss +16 -16
  63. package/styles-theme/components-theme/_a-table.theme.scss +2 -2
  64. package/styles-theme/components-theme/_m-btn-sorttable.theme.scss +3 -3
  65. package/styles-theme/components-theme/_m-nav-links.theme.scss +18 -0
  66. package/styles-theme/components-theme/_o-pry-presentation.theme.scss +9 -0
  67. package/styles-theme/components-theme/_o-tabs.theme.scss +1 -1
  68. package/styles-theme/layout-theme/_o-base-layout.theme.scss +1 -0
  69. package/styles-theme/main-theme.scss +1 -0
  70. package/toolbox/components/automate-refresh/automate-refresh.component.d.ts +3 -1
  71. package/toolbox/components/refresh-datasets/refresh-datasets.component.d.ts +3 -2
  72. package/widgets/widget-aggregated-chart/style/_o-widget-chart.scss +3 -0
  73. package/widgets/widget-graph/component/widget-graph.component.d.ts +0 -1
  74. package/widgets/widget-graph/style/_o-widget-graph.scss +14 -0
@@ -5,8 +5,9 @@ import * as i3 from "@angular/common";
5
5
  import * as i4 from "@angular/forms";
6
6
  import * as i5 from "../icon/icon.module";
7
7
  import * as i6 from "../../i18n/i18n.module";
8
+ import * as i7 from "@provoly/dashboard/components/checkbox";
8
9
  export declare class PrySelectModule {
9
10
  static ɵfac: i0.ɵɵFactoryDeclaration<PrySelectModule, never>;
10
- static ɵmod: i0.ɵɵNgModuleDeclaration<PrySelectModule, [typeof i1.PrySelectComponent], [typeof i2.A11yModule, typeof i3.CommonModule, typeof i4.FormsModule, typeof i5.PryIconModule, typeof i6.PryI18nModule], [typeof i1.PrySelectComponent]>;
11
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PrySelectModule, [typeof i1.PrySelectComponent], [typeof i2.A11yModule, typeof i3.CommonModule, typeof i4.FormsModule, typeof i5.PryIconModule, typeof i6.PryI18nModule, typeof i7.PryCheckboxModule], [typeof i1.PrySelectComponent]>;
11
12
  static ɵinj: i0.ɵɵInjectorDeclaration<PrySelectModule>;
12
13
  }
@@ -10,7 +10,7 @@ import { ToolboxMenuService } from '../../../../core/toolbox/toolbox-menu.servic
10
10
  import { SubscriptionnerDirective } from '../../subscriptionner.directive';
11
11
  import { WidgetContextMenuDisplayOptions } from '../../../../core/model/display-options.interface';
12
12
  import * as i0 from "@angular/core";
13
- export declare const WIDGET_HEADER_HEIGHT = 30;
13
+ export declare const WIDGET_HEADER_HEIGHT = 32;
14
14
  export type HeaderAction = {
15
15
  icon: string;
16
16
  action: (that: PryWidgetHeaderComponent) => void;
@@ -1,6 +1,6 @@
1
1
  import { InjectionToken, Injector, Type } from '@angular/core';
2
2
  import { BehaviorSubject, Observable } from 'rxjs';
3
- import { WidgetManifest } from '../../../../core/model/manifest.interface';
3
+ import { GlobalManifest, WidgetManifest } from '../../../../core/model/manifest.interface';
4
4
  import { BaseWidgetComponent } from '../base-widget.component';
5
5
  import { WidgetDefinition } from './widgets-definition.model';
6
6
  import { Store } from '@ngrx/store';
@@ -28,6 +28,13 @@ export declare class WidgetFactoryService {
28
28
  excludeGeo: boolean;
29
29
  }[];
30
30
  aggregatesToAutoLoad(manifest: WidgetManifest): string[];
31
+ getObjectsToAutoLoad(manifest: GlobalManifest): {
32
+ datasources: {
33
+ datasetId: string;
34
+ excludeGeo: boolean;
35
+ }[];
36
+ aggregates: string[];
37
+ };
31
38
  static ɵfac: i0.ɵɵFactoryDeclaration<WidgetFactoryService, never>;
32
39
  static ɵprov: i0.ɵɵInjectableDeclaration<WidgetFactoryService>;
33
40
  }
@@ -47,19 +47,6 @@ export declare const DashboardSelectors: {
47
47
  } | undefined;
48
48
  filters?: Filter[] | undefined;
49
49
  }>;
50
- manifestDatasources: MemoizedSelector<object, {
51
- datasetId: string;
52
- excludeGeo: boolean;
53
- }[], (s1: {
54
- windows: DashboardManifest[];
55
- refreshRates?: {
56
- [key: string]: number;
57
- } | undefined;
58
- filters?: Filter[] | undefined;
59
- }) => {
60
- datasetId: string;
61
- excludeGeo: boolean;
62
- }[]>;
63
50
  refreshRates: MemoizedSelector<object, {
64
51
  [key: string]: number;
65
52
  }, (s1: {
@@ -1,10 +1,12 @@
1
1
  import { Store } from '@ngrx/store';
2
2
  import { Subscription } from 'rxjs';
3
+ import { WidgetFactoryService } from '../components/widgets/widget-instanciator/widget-factory.service';
3
4
  import * as i0 from "@angular/core";
4
5
  export declare class RefreshService {
5
6
  private store;
7
+ private widgetFactoryService;
6
8
  subscription?: Subscription;
7
- constructor(store: Store);
9
+ constructor(store: Store, widgetFactoryService: WidgetFactoryService);
8
10
  stop(): void;
9
11
  start(): void;
10
12
  static ɵfac: i0.ɵɵFactoryDeclaration<RefreshService, never>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@provoly/dashboard",
3
- "version": "0.22.5",
3
+ "version": "0.22.6",
4
4
  "type": "commonjs",
5
5
  "peerDependencies": {
6
6
  "@angular/cdk": "14.x || 15.x || 16.x",
@@ -186,18 +186,18 @@
186
186
  "esm": "./esm2022/components/stepper/provoly-dashboard-components-stepper.mjs",
187
187
  "default": "./fesm2022/provoly-dashboard-components-stepper.mjs"
188
188
  },
189
- "./filters/date": {
190
- "types": "./filters/date/index.d.ts",
191
- "esm2022": "./esm2022/filters/date/provoly-dashboard-filters-date.mjs",
192
- "esm": "./esm2022/filters/date/provoly-dashboard-filters-date.mjs",
193
- "default": "./fesm2022/provoly-dashboard-filters-date.mjs"
194
- },
195
189
  "./filters/autocomplete": {
196
190
  "types": "./filters/autocomplete/index.d.ts",
197
191
  "esm2022": "./esm2022/filters/autocomplete/provoly-dashboard-filters-autocomplete.mjs",
198
192
  "esm": "./esm2022/filters/autocomplete/provoly-dashboard-filters-autocomplete.mjs",
199
193
  "default": "./fesm2022/provoly-dashboard-filters-autocomplete.mjs"
200
194
  },
195
+ "./filters/date": {
196
+ "types": "./filters/date/index.d.ts",
197
+ "esm2022": "./esm2022/filters/date/provoly-dashboard-filters-date.mjs",
198
+ "esm": "./esm2022/filters/date/provoly-dashboard-filters-date.mjs",
199
+ "default": "./fesm2022/provoly-dashboard-filters-date.mjs"
200
+ },
201
201
  "./filters/list": {
202
202
  "types": "./filters/list/index.d.ts",
203
203
  "esm2022": "./esm2022/filters/list/provoly-dashboard-filters-list.mjs",
@@ -112,13 +112,10 @@
112
112
  justify-content: space-between;
113
113
 
114
114
  .a-h3 {
115
- font-size: toRem(14);
116
115
  padding-bottom: toRem(5);
117
116
  }
118
117
 
119
118
  .a-p {
120
- font-size: toRem(13);
121
-
122
119
  &.-date {
123
120
  padding-top: toRem(10);
124
121
  margin-bottom: 0;
@@ -1,6 +1,8 @@
1
1
  @use '../abstracts' as *;
2
2
 
3
3
  .a-chip {
4
+ display: flex;
5
+ align-items: center;
4
6
  border-radius: toRem(24);
5
7
  height: toRem(14);
6
8
  font-size: toRem(10);
@@ -10,4 +12,8 @@
10
12
  height: toRem(20);
11
13
  font-size: toRem(12);
12
14
  }
15
+
16
+ &.-no-wrap {
17
+ white-space: nowrap;
18
+ }
13
19
  }
@@ -4,6 +4,7 @@
4
4
  .a-pry-select {
5
5
  display: flex;
6
6
  justify-content: space-between;
7
+ align-items: center;
7
8
  padding: toRem(10);
8
9
  gap: toRem(10);
9
10
 
@@ -28,6 +29,11 @@
28
29
  }
29
30
 
30
31
  &__value {
32
+ display: flex;
33
+ justify-content: space-between;
34
+ align-items: center;
35
+ gap: toRem(10);
36
+
31
37
  &.-multiple {
32
38
  padding: toRem(2) toRem(15);
33
39
  border-radius: toRem(15);
@@ -49,6 +55,9 @@
49
55
  max-height: toRem(calc(6 * 35)); // 6 items of height 35px
50
56
 
51
57
  &__option {
58
+ display: flex;
59
+ align-items: center;
60
+ gap: toRem(10);
52
61
  cursor: pointer;
53
62
  padding: toRem(8) toRem(10);
54
63
  font-family: Ubuntu,sans-serif;
@@ -68,6 +77,10 @@
68
77
  margin-bottom: 0;
69
78
  }
70
79
  }
80
+
81
+ pry-checkbox {
82
+ margin-bottom: -10px;
83
+ }
71
84
  }
72
85
  }
73
86
 
@@ -21,10 +21,10 @@
21
21
  height: 7px;
22
22
  border-radius: 5px;
23
23
  background: rgba(255, 255, 255, 0.6);
24
- background-image: linear-gradient(#569a9c, #569a9c);
24
+ background-image: linear-gradient(#426EA4, #4081d0);
25
25
  background-size: 100% 100%;
26
26
  background-repeat: no-repeat;
27
- box-shadow: 0 0 2px 2px rgba(23, 129, 132, 0.2);
27
+ box-shadow: 0 0 2px 2px #F5F7F9;
28
28
  -webkit-appearance: none;
29
29
  }
30
30
 
@@ -61,9 +61,8 @@
61
61
  z-index: 0;
62
62
  bottom: -6px;
63
63
  width: 20px;
64
- color: #178184;
64
+ color: #113B6E;
65
65
  opacity: 0.7;
66
- font-size: 12px;
67
66
  text-align: center;
68
67
 
69
68
  &:before {
@@ -75,7 +74,7 @@
75
74
  transform: translateX(-50%);
76
75
  width: 2px;
77
76
  height: 10px;
78
- background-color: #178184;
77
+ background-color: #113B6E;
79
78
  border-radius: 2px;
80
79
  }
81
80
  }
@@ -8,16 +8,11 @@
8
8
 
9
9
  &__list {
10
10
  @extend %list-unstyled;
11
- margin: toRem(18) toRem(20);
12
11
 
13
12
  &__item {
14
- margin-bottom: toRem(12);
15
-
16
- [class*='a-btn--'] {
13
+ [class*='a-btn'] {
17
14
  justify-content: flex-start;
18
- // height: toRem(55);
19
- // padding: 0.5rem 1rem;
20
- // border-radius: toRem(28);
15
+ border-radius: 0;
21
16
  text-align: left;
22
17
  }
23
18
  }
@@ -68,6 +68,8 @@
68
68
  padding-right: toRem(15);
69
69
 
70
70
  .a-btn {
71
+ border-radius: 50%;
72
+
71
73
  &:not(:last-child) {
72
74
  margin-right: 5px;
73
75
  }
@@ -214,6 +216,10 @@
214
216
  }
215
217
  }
216
218
  }
219
+
220
+ .-has-header {
221
+ margin-top: toRem(32);
222
+ }
217
223
  }
218
224
 
219
225
  .widget-below-header {
@@ -9,9 +9,10 @@ $theme-colors-primary: (
9
9
  400: #BCCAD8, //filter border
10
10
  500: #7B96B2,
11
11
  600: #113B6E, // new primary color
12
- 700: #3E546A, // all typography
13
- 750: #263340, // typography - titles, categories
14
- 800: #131920, // focus, active button
12
+ 700: #3E546A, // figma 600, all typography
13
+ 750: #263340, // figma 700, typography - titles, categories
14
+ 800: #131920,
15
+ 850: #092B54, // hover - slider, active - button
15
16
 
16
17
  'contrast': (
17
18
  50: #FFFFFF,
@@ -2,27 +2,30 @@
2
2
  @use '../abstracts-theme/variables.theme' as *;
3
3
 
4
4
  body {
5
- color: themed($theme-map, 'color', 'graph', 01);
5
+ color: themed($theme-map, 'color', 'primary', 700);
6
6
  @include typography-level(themed($theme-map, 'typography', 'body'));
7
7
  }
8
8
 
9
9
  .a-h1,
10
10
  h1 {
11
- color: themed($theme-map, 'color', 'graph', 02);
11
+ color: themed($theme-map, 'color', 'primary', 750);
12
12
  @include typography-level(themed($theme-map, 'typography', 'title-1'));
13
13
  }
14
14
 
15
15
  .a-h2,
16
16
  h2 {
17
+ color: themed($theme-map, 'color', 'primary', 750);
17
18
  @include typography-level(themed($theme-map, 'typography', 'title-2'));
18
19
  }
19
20
 
20
21
  .a-h3,
21
22
  h3 {
23
+ color: themed($theme-map, 'color', 'primary', 750);
22
24
  @include typography-level(themed($theme-map, 'typography', 'title-3'));
23
25
  }
24
26
 
25
27
  .a-h4,
26
28
  h4 {
29
+ color: themed($theme-map, 'color', 'primary', 750);
27
30
  @include typography-level(themed($theme-map, 'typography', 'title-4'));
28
31
  }
@@ -30,9 +30,8 @@
30
30
 
31
31
  &:focus,
32
32
  &:active {
33
- // TODO Jessica
34
33
  @include changeBgColor(
35
- $targetBgColor: themed($theme-map, 'color', 'primary', 800),
34
+ $targetBgColor: themed($theme-map, 'color', 'primary', 850),
36
35
  $targetTextColor: themed($theme-map, 'color', 'primary', 'contrast', 50)
37
36
  );
38
37
  }
@@ -50,7 +49,6 @@
50
49
  background-color: themed($theme-map, 'color', 'primary', 'contrast', 50);
51
50
 
52
51
  &:hover {
53
- // TODO Jessica
54
52
  @include changeBgColor(
55
53
  $targetBgColor: themed($theme-map, 'color', 'primary', 300)
56
54
  );
@@ -58,18 +56,16 @@
58
56
 
59
57
  &:focus,
60
58
  &:active {
61
- // TODO Jessica
62
- background-color: themed($theme-map, 'color', 'primary', 400);
59
+ background-color: themed($theme-map, 'color', 'primary', 600);
63
60
  }
64
61
 
65
62
  &.-disabled,
66
63
  &:disabled {
67
- // TODO Jessica
68
64
  opacity: 0.5;
69
65
  }
70
66
 
71
67
  &.is-active {
72
- background-color: themed($theme-map, 'color', 'primary', 400);
68
+ background-color: themed($theme-map, 'color', 'primary', 600);
73
69
  }
74
70
  }
75
71
 
@@ -4,6 +4,7 @@
4
4
  /* Theme Atom - form label */
5
5
  .a-label {
6
6
  @include typography-level(themed($theme-map, 'typography', 'label'));
7
+ color: themed($theme-map, 'color', 'primary', 750);
7
8
 
8
9
  &--help {
9
10
  color: themed($theme-map, 'color', 'graph', 01);
@@ -14,10 +14,12 @@
14
14
 
15
15
  &__value {
16
16
  &.-multiple {
17
- background-color: themed($theme-map, 'color', 'accent', 100);
17
+ color: themed($theme-map, 'color', 'primary', 'contrast', 50);
18
+ background-color: themed($theme-map, 'color', 'primary', 600);
18
19
 
19
20
  &.-warn {
20
21
  background-color: themed($theme-map, 'color', 'status', warning);
22
+ color: themed($theme-map, 'color', 'grey', 1000);
21
23
  }
22
24
  }
23
25
  }
@@ -31,10 +33,6 @@
31
33
  &__option {
32
34
  background-color: #ffffff;
33
35
 
34
- &[aria-selected="true"], &:hover {
35
- background-color: themed($theme-map, 'color', 'primary', 300);
36
- }
37
-
38
36
  &:hover {
39
37
  color: themed($theme-map, 'color', 'primary', 750);
40
38
  }
@@ -51,6 +49,6 @@
51
49
  }
52
50
 
53
51
  &__toggle {
54
- color: themed($theme-map, 'color', 'accent', 600);
52
+ color: themed($theme-map, 'color', 'primary', 600);
55
53
  }
56
54
  }
@@ -5,50 +5,50 @@
5
5
 
6
6
  /* Input Thumb */
7
7
  .a-range-slider[type='range']::-webkit-slider-thumb {
8
- border-color: themed($theme-map, 'color', 'accent', 600);
9
- background-color: themed($theme-map, 'color', 'accent', 500);
8
+ border-color: themed($theme-map, 'color', 'primary', 600);
9
+ background-color: themed($theme-map, 'color', 'primary', 600);
10
10
  box-shadow: 0 0 2px 0 #555;
11
11
  }
12
12
 
13
13
  .a-range-slider[type='range']::-moz-range-thumb {
14
- border-color: themed($theme-map, 'color', 'accent', 600);
15
- background-color: themed($theme-map, 'color', 'accent', 500);
14
+ border-color: themed($theme-map, 'color', 'primary', 600);
15
+ background-color: themed($theme-map, 'color', 'primary', 600);
16
16
  box-shadow: 0 0 2px 0 #555;
17
17
  }
18
18
 
19
19
  .a-range-slider[type='range']::-ms-thumb {
20
- border-color: themed($theme-map, 'color', 'accent', 600);
21
- background-color: themed($theme-map, 'color', 'accent', 500);
20
+ border-color: themed($theme-map, 'color', 'primary', 600);
21
+ background-color: themed($theme-map, 'color', 'primary', 600);
22
22
  box-shadow: 0 0 2px 0 #555;
23
23
  }
24
24
 
25
25
  .a-range-slider[type='range']::-webkit-slider-thumb:hover {
26
- border-color: themed($theme-map, 'color', 'accent', 700);
27
- background: themed($theme-map, 'color', 'accent', 600);
26
+ border-color: themed($theme-map, 'color', 'primary', 850);
27
+ background: themed($theme-map, 'color', 'primary', 850);
28
28
  }
29
29
 
30
30
  .a-range-slider[type='range']::-moz-range-thumb:hover {
31
- border-color: themed($theme-map, 'color', 'accent', 700);
32
- background: themed($theme-map, 'color', 'accent', 600);
31
+ border-color: themed($theme-map, 'color', 'primary', 850);
32
+ background: themed($theme-map, 'color', 'primary', 850);
33
33
  }
34
34
 
35
35
  .a-range-slider[type='range']::-ms-thumb:hover {
36
- border-color: themed($theme-map, 'color', 'accent', 700);
37
- background: themed($theme-map, 'color', 'accent', 600);
36
+ border-color: themed($theme-map, 'color', 'primary', 850);
37
+ background: themed($theme-map, 'color', 'primary', 850);
38
38
  }
39
39
 
40
40
  .a-range-slider {
41
41
  &__min,
42
42
  &__max {
43
- color: themed($theme-map, 'color', 'accent', 500);
44
- opacity: 0.7;
43
+ color: themed($theme-map, 'color', 'primary', 800);
45
44
 
46
45
  &:before {
47
- background-color: themed($theme-map, 'color', 'accent', 500);
46
+ background-color: themed($theme-map, 'color', 'primary', 800);
48
47
  }
49
48
  }
50
49
 
51
50
  &__selected-value {
52
- color: themed($theme-map, 'color', 'accent', 500);
51
+ font-size: toRem(15);
52
+ color: themed($theme-map, 'color', 'primary', 700);
53
53
  }
54
54
  }
@@ -5,14 +5,14 @@
5
5
 
6
6
  .a-table {
7
7
  background-color: white;
8
- color: themed($theme-map, 'color', 'primary', 600);
8
+ color: themed($theme-map, 'color', 'primary', 700);
9
9
 
10
10
  thead {
11
11
  tr {
12
12
  border-bottom-color: themed($theme-map, 'color', 'graph', 01);
13
13
 
14
14
  th {
15
- color: themed($theme-map, 'color', 'primary', 600);
15
+ color: themed($theme-map, 'color', 'primary', 750);
16
16
 
17
17
  /*&:hover {
18
18
  background-color: themed($theme-map, 'color', 'primary', 50);
@@ -4,7 +4,7 @@
4
4
  /* Theme Molecule button to sort table rows */
5
5
  .m-btn-sorttable {
6
6
  @include typography-level(themed($theme-map, 'typography', 'button'));
7
- color: themed($theme-map, 'color', 'primary', 600);
7
+ color: themed($theme-map, 'color', 'primary', 750);
8
8
  font-size: toRem(14);
9
9
  font-weight: 700;
10
10
 
@@ -34,12 +34,12 @@
34
34
 
35
35
  [aria-sort='ascending'] > .m-btn-sorttable {
36
36
  .m-btn-sorttable__icnmark.-asc {
37
- color: themed($theme-map, 'color', 'accent', 600);
37
+ color: themed($theme-map, 'color', 'primary', 600);
38
38
  }
39
39
  }
40
40
 
41
41
  [aria-sort='descending'] > .m-btn-sorttable {
42
42
  .m-btn-sorttable__icnmark.-desc {
43
- color: themed($theme-map, 'color', 'accent', 600);
43
+ color: themed($theme-map, 'color', 'primary', 600);
44
44
  }
45
45
  }
@@ -2,3 +2,21 @@
2
2
  @use '../abstracts-theme/variables.theme' as *;
3
3
 
4
4
  /* Theme Molecule - base menu */
5
+
6
+ .m-nav-links {
7
+
8
+ &__list {
9
+ &__item {
10
+ border-bottom: 1px solid themed($theme-map, 'color', 'primary', 400);
11
+
12
+ &:hover {
13
+ background-color: themed($theme-map, 'color', 'primary', 300);
14
+ }
15
+
16
+ [class*='is-active'] {
17
+ background-color: themed($theme-map, 'color', 'primary', 300);
18
+ color: themed($theme-map, 'color', 'primary', 600);
19
+ }
20
+ }
21
+ }
22
+ }
@@ -24,8 +24,17 @@
24
24
 
25
25
  &__txt {
26
26
  .a-h3 {
27
+ font-size: toRem(14);
27
28
  color: themed($theme-map, 'color', 'primary', 600);
28
29
  }
30
+
31
+ .a-p {
32
+ font-size: toRem(12);
33
+
34
+ &.-date {
35
+ font-size: toRem(11);
36
+ }
37
+ }
29
38
  }
30
39
 
31
40
  &__footer {
@@ -16,7 +16,7 @@
16
16
 
17
17
  &[aria-selected='false'] {
18
18
  &:before {
19
- border-color: themed($theme-map, 'color', 'accent', 400);
19
+ border-color: themed($theme-map, 'color', 'accent', 100);
20
20
  }
21
21
  }
22
22
  }
@@ -6,6 +6,7 @@
6
6
  .o-base-layout {
7
7
  &__title {
8
8
  border-right: 1px themed($theme-map, 'color', 'primary', 400) solid;
9
+ border-bottom: 1px themed($theme-map, 'color', 'primary', 400) solid;
9
10
 
10
11
  .a-btn {
11
12
  color: themed($theme-map, 'color', 'primary', 'contrast', 50);
@@ -27,6 +27,7 @@
27
27
  @use 'components-theme/m-context-menu.theme' as *;
28
28
  @use 'components-theme/m-filter.theme' as *;
29
29
  @use 'components-theme/m-form-radio-group.theme' as *;
30
+ @use 'components-theme/m-info-icon.theme' as *;
30
31
  @use 'components-theme/m-metadata-tag.theme' as *;
31
32
  @use 'components-theme/m-minus-plus.theme' as *;
32
33
  @use 'components-theme/m-nav-links.theme' as *;
@@ -1,12 +1,14 @@
1
1
  import { Overlay, OverlayRef } from '@angular/cdk/overlay';
2
2
  import { OnInit, TemplateRef, ViewContainerRef } from '@angular/core';
3
3
  import { Store } from '@ngrx/store';
4
+ import { WidgetFactoryService } from '@provoly/dashboard';
4
5
  import { Observable } from 'rxjs';
5
6
  import { ToolboxActionComponent } from '../toolbox-action/toolbox-action.component';
6
7
  import * as i0 from "@angular/core";
7
8
  export declare class AutomateRefreshComponent extends ToolboxActionComponent implements OnInit {
8
9
  private overlay;
9
10
  private viewContainerRef;
11
+ private widgetFactoryService;
10
12
  datasourceList: TemplateRef<any>;
11
13
  refreshRateList: TemplateRef<any>;
12
14
  refreshRates: number[];
@@ -18,7 +20,7 @@ export declare class AutomateRefreshComponent extends ToolboxActionComponent imp
18
20
  allRefreshRate$: Observable<number>;
19
21
  private overlayRefDatasourceList?;
20
22
  private overlayRefRefreshList?;
21
- constructor(store: Store, overlay: Overlay, viewContainerRef: ViewContainerRef);
23
+ constructor(store: Store, overlay: Overlay, viewContainerRef: ViewContainerRef, widgetFactoryService: WidgetFactoryService);
22
24
  ngOnInit(): void;
23
25
  toggleDatasourceList(): void;
24
26
  hide(overlayRef: OverlayRef | undefined): void;
@@ -1,13 +1,14 @@
1
1
  import { Store } from '@ngrx/store';
2
- import { GlobalManifest } from '@provoly/dashboard';
2
+ import { GlobalManifest, WidgetFactoryService } from '@provoly/dashboard';
3
3
  import { Observable } from 'rxjs';
4
4
  import { ToolboxActionComponent } from '../toolbox-action/toolbox-action.component';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class RefreshDatasetsComponent extends ToolboxActionComponent {
7
+ private widgetFactoryService;
7
8
  manifest$: Observable<GlobalManifest>;
8
9
  manifest?: GlobalManifest;
9
10
  datasetCount: number;
10
- constructor(store: Store);
11
+ constructor(store: Store, widgetFactoryService: WidgetFactoryService);
11
12
  refresh(): void;
12
13
  static ɵfac: i0.ɵɵFactoryDeclaration<RefreshDatasetsComponent, never>;
13
14
  static ɵcmp: i0.ɵɵComponentDeclaration<RefreshDatasetsComponent, "pry-refresh-datasets", never, {}, {}, never, never, false, never>;
@@ -18,6 +18,9 @@
18
18
 
19
19
  div.vega-embed {
20
20
  display: block;
21
+ position: absolute;
22
+ height: 100%;
23
+ width: 100%;
21
24
  }
22
25
 
23
26
  div.vega-embed.has-actions {
@@ -48,7 +48,6 @@ export declare class WidgetGraphComponent extends DataWidgetComponent implements
48
48
  relationTypes: RelationType[];
49
49
  move$: Subject<MouseEvent>;
50
50
  mode: 'move' | 'rectangle';
51
- bottomLeft$: Observable<string>;
52
51
  offset: number[];
53
52
  additionnalOffset: [number, number];
54
53
  layouts: {
@@ -3,6 +3,20 @@
3
3
  /* Organism - widget graph */
4
4
  /* Extends o-widget */
5
5
 
6
+ .o-widget {
7
+ &--graph {
8
+ &__canvas {
9
+ position: absolute;
10
+ height: 100%;
11
+ width: 100%;
12
+ }
13
+ }
14
+
15
+ .m-btn-group.-selection-choice {
16
+ transform: translate(10px, 10px);
17
+ }
18
+ }
19
+
6
20
  .a-tooltip {
7
21
  &--move {
8
22
  &[data-tooltip]:not([data-tooltip-position])::after {