@provoly/dashboard 0.23.13 → 0.24.1

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 (29) hide show
  1. package/assets/svgs/dashboard-about.svg +4 -0
  2. package/esm2022/lib/core/i18n/en.translations.mjs +2 -1
  3. package/esm2022/lib/core/i18n/fr.translations.mjs +2 -1
  4. package/esm2022/lib/core/model/display-options.interface.mjs +7 -4
  5. package/esm2022/lib/core/model/manifest.interface.mjs +1 -1
  6. package/esm2022/toolbox/components/dashboard-details/dashboard-details.component.mjs +45 -0
  7. package/esm2022/toolbox/components/toolbox.component.mjs +9 -9
  8. package/esm2022/toolbox/public-api.mjs +13 -12
  9. package/esm2022/toolbox/style/css.component.mjs +3 -3
  10. package/esm2022/toolbox/toolbox.model.mjs +10 -2
  11. package/esm2022/toolbox/toolbox.module.mjs +8 -4
  12. package/esm2022/widgets/widget-aggregated-chart/component/widget-aggregated-chart.component.mjs +3 -3
  13. package/fesm2022/provoly-dashboard-toolbox.mjs +54 -9
  14. package/fesm2022/provoly-dashboard-toolbox.mjs.map +1 -1
  15. package/fesm2022/provoly-dashboard-widgets-widget-aggregated-chart.mjs +2 -2
  16. package/fesm2022/provoly-dashboard-widgets-widget-aggregated-chart.mjs.map +1 -1
  17. package/fesm2022/provoly-dashboard.mjs +8 -3
  18. package/fesm2022/provoly-dashboard.mjs.map +1 -1
  19. package/lib/core/i18n/en.translations.d.ts +1 -0
  20. package/lib/core/i18n/fr.translations.d.ts +1 -0
  21. package/lib/core/model/display-options.interface.d.ts +1 -0
  22. package/lib/core/model/manifest.interface.d.ts +1 -0
  23. package/package.json +37 -37
  24. package/styles-theme/abstracts-theme/variables/_variables-colors.scss +1 -0
  25. package/styles-theme/abstracts-theme/variables/_variables-decoration.scss +1 -1
  26. package/toolbox/components/dashboard-details/dashboard-details.component.d.ts +16 -0
  27. package/toolbox/public-api.d.ts +12 -11
  28. package/toolbox/style/_o-dashboard-details.component.scss +67 -0
  29. package/toolbox/toolbox.module.d.ts +10 -9
@@ -96,6 +96,7 @@ export declare const enTranslations: {
96
96
  NAME_ALREADY_USED: string;
97
97
  };
98
98
  };
99
+ about: string;
99
100
  edit: string;
100
101
  editOff: string;
101
102
  launch: string;
@@ -96,6 +96,7 @@ export declare const frTranslations: {
96
96
  };
97
97
  saved: string;
98
98
  };
99
+ about: string;
99
100
  edit: string;
100
101
  editOff: string;
101
102
  launch: string;
@@ -20,6 +20,7 @@ export interface ToolboxDisplayOptions {
20
20
  edit_presentation_content: boolean;
21
21
  share: boolean;
22
22
  delete: boolean;
23
+ dashboard_details: boolean;
23
24
  }
24
25
  export interface WidgetContextMenuDisplayOptions {
25
26
  datasourceSelection: boolean;
@@ -23,6 +23,7 @@ export interface ManifestDescription {
23
23
  owner: boolean;
24
24
  datasource: string[];
25
25
  metadata?: MetadataValue[];
26
+ html?: string;
26
27
  }
27
28
  export interface WidgetLayout {
28
29
  x: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@provoly/dashboard",
3
- "version": "0.23.13",
3
+ "version": "0.24.1",
4
4
  "type": "commonjs",
5
5
  "peerDependencies": {
6
6
  "@angular/cdk": "16.x || 17.x",
@@ -102,18 +102,18 @@
102
102
  "esm": "./esm2022/notification/provoly-dashboard-notification.mjs",
103
103
  "default": "./fesm2022/provoly-dashboard-notification.mjs"
104
104
  },
105
- "./pipeline": {
106
- "types": "./pipeline/index.d.ts",
107
- "esm2022": "./esm2022/pipeline/provoly-dashboard-pipeline.mjs",
108
- "esm": "./esm2022/pipeline/provoly-dashboard-pipeline.mjs",
109
- "default": "./fesm2022/provoly-dashboard-pipeline.mjs"
110
- },
111
105
  "./presentation": {
112
106
  "types": "./presentation/index.d.ts",
113
107
  "esm2022": "./esm2022/presentation/provoly-dashboard-presentation.mjs",
114
108
  "esm": "./esm2022/presentation/provoly-dashboard-presentation.mjs",
115
109
  "default": "./fesm2022/provoly-dashboard-presentation.mjs"
116
110
  },
111
+ "./pipeline": {
112
+ "types": "./pipeline/index.d.ts",
113
+ "esm2022": "./esm2022/pipeline/provoly-dashboard-pipeline.mjs",
114
+ "esm": "./esm2022/pipeline/provoly-dashboard-pipeline.mjs",
115
+ "default": "./fesm2022/provoly-dashboard-pipeline.mjs"
116
+ },
117
117
  "./restitution": {
118
118
  "types": "./restitution/index.d.ts",
119
119
  "esm2022": "./esm2022/restitution/provoly-dashboard-restitution.mjs",
@@ -132,36 +132,6 @@
132
132
  "esm": "./esm2022/toolbox/provoly-dashboard-toolbox.mjs",
133
133
  "default": "./fesm2022/provoly-dashboard-toolbox.mjs"
134
134
  },
135
- "./filters/autocomplete": {
136
- "types": "./filters/autocomplete/index.d.ts",
137
- "esm2022": "./esm2022/filters/autocomplete/provoly-dashboard-filters-autocomplete.mjs",
138
- "esm": "./esm2022/filters/autocomplete/provoly-dashboard-filters-autocomplete.mjs",
139
- "default": "./fesm2022/provoly-dashboard-filters-autocomplete.mjs"
140
- },
141
- "./filters/date": {
142
- "types": "./filters/date/index.d.ts",
143
- "esm2022": "./esm2022/filters/date/provoly-dashboard-filters-date.mjs",
144
- "esm": "./esm2022/filters/date/provoly-dashboard-filters-date.mjs",
145
- "default": "./fesm2022/provoly-dashboard-filters-date.mjs"
146
- },
147
- "./filters/list": {
148
- "types": "./filters/list/index.d.ts",
149
- "esm2022": "./esm2022/filters/list/provoly-dashboard-filters-list.mjs",
150
- "esm": "./esm2022/filters/list/provoly-dashboard-filters-list.mjs",
151
- "default": "./fesm2022/provoly-dashboard-filters-list.mjs"
152
- },
153
- "./filters/number": {
154
- "types": "./filters/number/index.d.ts",
155
- "esm2022": "./esm2022/filters/number/provoly-dashboard-filters-number.mjs",
156
- "esm": "./esm2022/filters/number/provoly-dashboard-filters-number.mjs",
157
- "default": "./fesm2022/provoly-dashboard-filters-number.mjs"
158
- },
159
- "./filters/text": {
160
- "types": "./filters/text/index.d.ts",
161
- "esm2022": "./esm2022/filters/text/provoly-dashboard-filters-text.mjs",
162
- "esm": "./esm2022/filters/text/provoly-dashboard-filters-text.mjs",
163
- "default": "./fesm2022/provoly-dashboard-filters-text.mjs"
164
- },
165
135
  "./components/card": {
166
136
  "types": "./components/card/index.d.ts",
167
137
  "esm2022": "./esm2022/components/card/provoly-dashboard-components-card.mjs",
@@ -216,6 +186,36 @@
216
186
  "esm": "./esm2022/components/stepper/provoly-dashboard-components-stepper.mjs",
217
187
  "default": "./fesm2022/provoly-dashboard-components-stepper.mjs"
218
188
  },
189
+ "./filters/autocomplete": {
190
+ "types": "./filters/autocomplete/index.d.ts",
191
+ "esm2022": "./esm2022/filters/autocomplete/provoly-dashboard-filters-autocomplete.mjs",
192
+ "esm": "./esm2022/filters/autocomplete/provoly-dashboard-filters-autocomplete.mjs",
193
+ "default": "./fesm2022/provoly-dashboard-filters-autocomplete.mjs"
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
+ "./filters/list": {
202
+ "types": "./filters/list/index.d.ts",
203
+ "esm2022": "./esm2022/filters/list/provoly-dashboard-filters-list.mjs",
204
+ "esm": "./esm2022/filters/list/provoly-dashboard-filters-list.mjs",
205
+ "default": "./fesm2022/provoly-dashboard-filters-list.mjs"
206
+ },
207
+ "./filters/number": {
208
+ "types": "./filters/number/index.d.ts",
209
+ "esm2022": "./esm2022/filters/number/provoly-dashboard-filters-number.mjs",
210
+ "esm": "./esm2022/filters/number/provoly-dashboard-filters-number.mjs",
211
+ "default": "./fesm2022/provoly-dashboard-filters-number.mjs"
212
+ },
213
+ "./filters/text": {
214
+ "types": "./filters/text/index.d.ts",
215
+ "esm2022": "./esm2022/filters/text/provoly-dashboard-filters-text.mjs",
216
+ "esm": "./esm2022/filters/text/provoly-dashboard-filters-text.mjs",
217
+ "default": "./fesm2022/provoly-dashboard-filters-text.mjs"
218
+ },
219
219
  "./pipeline-components/filter": {
220
220
  "types": "./pipeline-components/filter/index.d.ts",
221
221
  "esm2022": "./esm2022/pipeline-components/filter/provoly-dashboard-pipeline-components-filter.mjs",
@@ -43,6 +43,7 @@ $theme-colors-grey: (
43
43
  400: #bdbdbd,
44
44
  500: #9e9e9e,
45
45
  600: #757575,
46
+ 700: #253043, // dashboard details titles
46
47
  800: #424B5A, // filter label ("Grey Primary" in Figma)
47
48
  1000: #000000,
48
49
 
@@ -30,7 +30,7 @@ $theme-shadow: (
30
30
  'notification': 0px 0px 11px rgba(17, 59, 110, 0.2),
31
31
  'card': 0px 4px 4px rgba(17, 59, 110, 0.12),
32
32
  'card-hover': 0px 4px 4px rgba(17, 59, 110, 0.22),
33
- 'modal': 0px 4px 15px rgba(17, 59, 110, 0.3)
33
+ 'modal': 0px 2px 7px rgba(0, 0, 0, 0.09)
34
34
  );
35
35
 
36
36
  ///// DO NOT EDIT FROM HERE /////
@@ -0,0 +1,16 @@
1
+ import { Store } from '@ngrx/store';
2
+ import { Observable } from 'rxjs';
3
+ import { ManifestDescription } from '@provoly/dashboard';
4
+ import { ConnectedPosition } from '@angular/cdk/overlay';
5
+ import { ToolboxActionComponent } from '../toolbox-action/toolbox-action.component';
6
+ import * as i0 from "@angular/core";
7
+ export declare class DashboardDetailsComponent extends ToolboxActionComponent {
8
+ isPanelOpen: boolean;
9
+ panelPosition: ConnectedPosition[];
10
+ currentPresentation$: Observable<ManifestDescription | undefined>;
11
+ constructor(store: Store);
12
+ openPanel($event: Event): void;
13
+ closePanel($event: Event | void): void;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<DashboardDetailsComponent, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<DashboardDetailsComponent, "pry-dashboard-details", never, {}, {}, never, never, false, never>;
16
+ }
@@ -1,19 +1,20 @@
1
1
  export * from './toolbox.module';
2
+ export * from './toolbox.model';
3
+ export * from './style/css.component';
2
4
  export * from './components/toolbox.component';
3
- export * from './components/save-view/save-view.component';
4
- export * from './components/named-query/named-query.component';
5
- export * from './components/launch-tab/launch-tab.component';
6
- export * from './components/edit-mode-toggle/edit-mode-toggle.component';
7
- export * from './components/drag-widgets/drag-widgets.component';
8
- export * from './components/clear-view/clear-view.component';
9
- export * from './components/select-grid-layout/select-grid-layout.component';
10
- export * from './components/filter-settings/filter-settings.component';
11
5
  export * from './components/toolbox-action/toolbox-action.component';
12
6
  export * from './components/toolbox-action-instanciator/toolbox-action-instanciator.component';
13
- export * from './components/refresh-datasets/refresh-datasets.component';
14
7
  export * from './components/automate-refresh/automate-refresh.component';
8
+ export * from './components/clear-view/clear-view.component';
9
+ export * from './components/dashboard-details/dashboard-details.component';
15
10
  export * from './components/delete/delete.component';
11
+ export * from './components/drag-widgets/drag-widgets.component';
12
+ export * from './components/edit-mode-toggle/edit-mode-toggle.component';
13
+ export * from './components/filter-settings/filter-settings.component';
14
+ export * from './components/launch-tab/launch-tab.component';
15
+ export * from './components/named-query/named-query.component';
16
+ export * from './components/refresh-datasets/refresh-datasets.component';
17
+ export * from './components/save-view/save-view.component';
18
+ export * from './components/select-grid-layout/select-grid-layout.component';
16
19
  export * from './components/share/share.component';
17
20
  export * from './components/switch-to-edit-content/switch-to-edit-content.component';
18
- export * from './style/css.component';
19
- export * from './toolbox.model';
@@ -0,0 +1,67 @@
1
+ @use '../../styles/abstracts/index' as *;
2
+ @use '../../styles/abstracts/functions' as *;
3
+ @use '../../styles/abstracts/mixins' as *;
4
+ @use '../../styles-theme/abstracts-theme/variables.theme' as *;
5
+
6
+ .o-dashboard-details {
7
+ &.a-btn {
8
+ gap: toRem(8);
9
+
10
+ &:hover {
11
+ @include changeBgColor(
12
+ $targetBgColor: themed($theme-map, 'color', 'primary', 300)
13
+ );
14
+ }
15
+ }
16
+ }
17
+
18
+ #dashboard-details-panel {
19
+ .o-modal__top {
20
+ margin: 0;
21
+ padding: 0;
22
+ }
23
+
24
+ .o-modal__top__title {
25
+ font-size: toRem(18);
26
+ color: themed($theme-map, 'color', 'grey', 700);
27
+ padding-bottom: toRem(5);
28
+ }
29
+
30
+ .o-modal__content {
31
+ padding: 0;
32
+ }
33
+
34
+ h5 {
35
+ font-weight: bold;
36
+ font-size: toRem(14);
37
+ color: themed($theme-map, 'color', 'grey', 700);
38
+ padding: 0;
39
+ margin: 0;
40
+ }
41
+
42
+ span, p {
43
+ font-size: toRem(14);
44
+ color: themed($theme-map, 'color', 'primary', 750);
45
+ }
46
+
47
+ div {
48
+ padding-bottom: 10px;
49
+ }
50
+
51
+ ul {
52
+ margin: 0;
53
+ }
54
+
55
+ li {
56
+ color: themed($theme-map, 'color', 'grey', 700);
57
+ font-size: toRem(14);
58
+ }
59
+ }
60
+
61
+ .o-modal-wrapper {
62
+ &:has(#dashboard-details-panel) {
63
+ max-height: toRem(400);
64
+ padding: toRem(8) toRem(15) toRem(15) toRem(10);
65
+ }
66
+ }
67
+
@@ -16,16 +16,17 @@ import * as i14 from "./components/automate-refresh/automate-refresh.component";
16
16
  import * as i15 from "./components/switch-to-edit-content/switch-to-edit-content.component";
17
17
  import * as i16 from "./components/share/share.component";
18
18
  import * as i17 from "./components/delete/delete.component";
19
- import * as i18 from "@angular/common";
20
- import * as i19 from "@angular/forms";
21
- import * as i20 from "@angular/cdk/overlay";
22
- import * as i21 from "@provoly/dashboard";
23
- import * as i22 from "@provoly/dashboard/components/checkbox";
24
- import * as i23 from "@provoly/dashboard/components/stepper";
25
- import * as i24 from "@angular/cdk/drag-drop";
26
- import * as i25 from "@angular/cdk/a11y";
19
+ import * as i18 from "./components/dashboard-details/dashboard-details.component";
20
+ import * as i19 from "@angular/common";
21
+ import * as i20 from "@angular/forms";
22
+ import * as i21 from "@angular/cdk/overlay";
23
+ import * as i22 from "@provoly/dashboard";
24
+ import * as i23 from "@provoly/dashboard/components/checkbox";
25
+ import * as i24 from "@provoly/dashboard/components/stepper";
26
+ import * as i25 from "@angular/cdk/drag-drop";
27
+ import * as i26 from "@angular/cdk/a11y";
27
28
  export declare class PryToolboxModule {
28
29
  static ɵfac: i0.ɵɵFactoryDeclaration<PryToolboxModule, never>;
29
- static ɵmod: i0.ɵɵNgModuleDeclaration<PryToolboxModule, [typeof i1.ToolboxActionComponent, typeof i2.ToolboxActionInstanciatorComponent, typeof i3.ClearViewComponent, typeof i4.DragWidgetsComponent, typeof i5.EditModeToggleComponent, typeof i6.LaunchTabComponent, typeof i7.NamedQueryComponent, typeof i8.SaveViewComponent, typeof i9.SelectGridLayoutComponent, typeof i10.ToolboxComponent, typeof i11.PrySelectGridLayoutCssComponent, typeof i12.PryFilterSettingsComponent, typeof i13.RefreshDatasetsComponent, typeof i14.AutomateRefreshComponent, typeof i15.SwitchToEditContentComponent, typeof i16.ShareComponent, typeof i17.DeleteComponent], [typeof i18.CommonModule, typeof i19.FormsModule, typeof i20.OverlayModule, typeof i21.PryOverlayModule, typeof i21.PryCoreModule, typeof i21.PryDashboardModule, typeof i21.PrySelectModule, typeof i21.PryIconModule, typeof i22.PryCheckboxModule, typeof i21.PryToggleModule, typeof i23.PryStepperModule, typeof i21.PryShareModule, typeof i21.PryI18nModule, typeof i24.CdkDropList, typeof i24.CdkDrag, typeof i24.CdkDragHandle, typeof i25.A11yModule], [typeof i1.ToolboxActionComponent, typeof i2.ToolboxActionInstanciatorComponent, typeof i3.ClearViewComponent, typeof i4.DragWidgetsComponent, typeof i5.EditModeToggleComponent, typeof i6.LaunchTabComponent, typeof i7.NamedQueryComponent, typeof i8.SaveViewComponent, typeof i9.SelectGridLayoutComponent, typeof i10.ToolboxComponent, typeof i11.PrySelectGridLayoutCssComponent, typeof i12.PryFilterSettingsComponent, typeof i13.RefreshDatasetsComponent, typeof i14.AutomateRefreshComponent, typeof i15.SwitchToEditContentComponent, typeof i16.ShareComponent, typeof i17.DeleteComponent]>;
30
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PryToolboxModule, [typeof i1.ToolboxActionComponent, typeof i2.ToolboxActionInstanciatorComponent, typeof i3.ClearViewComponent, typeof i4.DragWidgetsComponent, typeof i5.EditModeToggleComponent, typeof i6.LaunchTabComponent, typeof i7.NamedQueryComponent, typeof i8.SaveViewComponent, typeof i9.SelectGridLayoutComponent, typeof i10.ToolboxComponent, typeof i11.PrySelectGridLayoutCssComponent, typeof i12.PryFilterSettingsComponent, typeof i13.RefreshDatasetsComponent, typeof i14.AutomateRefreshComponent, typeof i15.SwitchToEditContentComponent, typeof i16.ShareComponent, typeof i17.DeleteComponent, typeof i18.DashboardDetailsComponent], [typeof i19.CommonModule, typeof i20.FormsModule, typeof i21.OverlayModule, typeof i22.PryOverlayModule, typeof i22.PryCoreModule, typeof i22.PryDashboardModule, typeof i22.PrySelectModule, typeof i22.PryIconModule, typeof i23.PryCheckboxModule, typeof i22.PryToggleModule, typeof i24.PryStepperModule, typeof i22.PryShareModule, typeof i22.PryI18nModule, typeof i25.CdkDropList, typeof i25.CdkDrag, typeof i25.CdkDragHandle, typeof i26.A11yModule], [typeof i1.ToolboxActionComponent, typeof i2.ToolboxActionInstanciatorComponent, typeof i3.ClearViewComponent, typeof i4.DragWidgetsComponent, typeof i5.EditModeToggleComponent, typeof i6.LaunchTabComponent, typeof i7.NamedQueryComponent, typeof i8.SaveViewComponent, typeof i9.SelectGridLayoutComponent, typeof i10.ToolboxComponent, typeof i11.PrySelectGridLayoutCssComponent, typeof i12.PryFilterSettingsComponent, typeof i13.RefreshDatasetsComponent, typeof i14.AutomateRefreshComponent, typeof i15.SwitchToEditContentComponent, typeof i16.ShareComponent, typeof i17.DeleteComponent, typeof i18.DashboardDetailsComponent]>;
30
31
  static ɵinj: i0.ɵɵInjectorDeclaration<PryToolboxModule>;
31
32
  }