@provoly/dashboard 0.21.1 → 0.21.3

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 (73) hide show
  1. package/admin/components/admin-classes/admin-classes-view/admin-attributes-form/admin-attributes-form.component.d.ts +3 -5
  2. package/esm2022/admin/components/admin-classes/admin-classes-view/admin-attributes-form/admin-attributes-form.component.mjs +13 -18
  3. package/esm2022/filters/autocomplete/autocomplete.component.mjs +2 -2
  4. package/esm2022/lib/core/components/chips-selector/chips-selector.component.mjs +111 -0
  5. package/esm2022/lib/core/components/share/group-share/group-share.component.mjs +105 -0
  6. package/esm2022/lib/core/components/share/share.model.mjs +1 -1
  7. package/esm2022/lib/core/components/share/share.module.mjs +9 -6
  8. package/esm2022/lib/core/core.module.mjs +5 -1
  9. package/esm2022/lib/core/i18n/en.translations.mjs +24 -1
  10. package/esm2022/lib/core/i18n/fr.translations.mjs +24 -1
  11. package/esm2022/lib/core/model/manifest.interface.mjs +1 -1
  12. package/esm2022/lib/core/public-api.mjs +3 -1
  13. package/esm2022/lib/core/store/config/config.actions.mjs +4 -2
  14. package/esm2022/lib/core/store/config/config.effects.mjs +9 -2
  15. package/esm2022/lib/core/store/config/config.reducer.mjs +6 -2
  16. package/esm2022/lib/core/store/config/config.selectors.mjs +4 -2
  17. package/esm2022/lib/core/store/config/config.service.mjs +6 -1
  18. package/esm2022/lib/dashboard/components/widgets/datasource-selector/datasource-selector.component.mjs +33 -65
  19. package/esm2022/lib/dashboard/components/widgets/header/widget-header.component.mjs +4 -5
  20. package/esm2022/lib/dashboard/store/dashboard.actions.mjs +1 -1
  21. package/esm2022/lib/dashboard/store/dashboard.effects.mjs +2 -3
  22. package/esm2022/lib/dashboard/store/manifest.service.mjs +4 -4
  23. package/esm2022/presentation/components/presentation.component.mjs +7 -8
  24. package/esm2022/presentation/i18n/en.translations.mjs +2 -2
  25. package/esm2022/presentation/i18n/fr.translations.mjs +2 -2
  26. package/esm2022/presentation/style/css.component.mjs +2 -2
  27. package/esm2022/restitution/components/restitution/restitution.component.mjs +7 -4
  28. package/esm2022/restitution/components/restitution-catalog/restitution-catalog.component.mjs +3 -3
  29. package/esm2022/restitution/i18n/en.translations.mjs +1 -6
  30. package/esm2022/restitution/i18n/fr.translations.mjs +1 -6
  31. package/esm2022/restitution/style/css.component.mjs +2 -2
  32. package/esm2022/toolbox/components/filter-settings/filter-settings.component.mjs +17 -20
  33. package/esm2022/toolbox/components/save-view/save-view.component.mjs +8 -8
  34. package/fesm2022/provoly-dashboard-admin.mjs +10 -15
  35. package/fesm2022/provoly-dashboard-admin.mjs.map +1 -1
  36. package/fesm2022/provoly-dashboard-filters-autocomplete.mjs +1 -1
  37. package/fesm2022/provoly-dashboard-filters-autocomplete.mjs.map +1 -1
  38. package/fesm2022/provoly-dashboard-presentation.mjs +10 -11
  39. package/fesm2022/provoly-dashboard-presentation.mjs.map +1 -1
  40. package/fesm2022/provoly-dashboard-restitution.mjs +10 -17
  41. package/fesm2022/provoly-dashboard-restitution.mjs.map +1 -1
  42. package/fesm2022/provoly-dashboard-toolbox.mjs +23 -26
  43. package/fesm2022/provoly-dashboard-toolbox.mjs.map +1 -1
  44. package/fesm2022/provoly-dashboard.mjs +974 -743
  45. package/fesm2022/provoly-dashboard.mjs.map +1 -1
  46. package/lib/core/components/chips-selector/chips-selector.component.d.ts +38 -0
  47. package/lib/core/components/share/group-share/group-share.component.d.ts +33 -0
  48. package/lib/core/components/share/share.model.d.ts +5 -0
  49. package/lib/core/components/share/share.module.d.ts +8 -5
  50. package/lib/core/core.module.d.ts +24 -23
  51. package/lib/core/i18n/en.translations.d.ts +23 -0
  52. package/lib/core/i18n/fr.translations.d.ts +23 -0
  53. package/lib/core/model/manifest.interface.d.ts +1 -2
  54. package/lib/core/public-api.d.ts +2 -0
  55. package/lib/core/store/config/config.actions.d.ts +8 -1
  56. package/lib/core/store/config/config.effects.d.ts +4 -0
  57. package/lib/core/store/config/config.reducer.d.ts +2 -0
  58. package/lib/core/store/config/config.selectors.d.ts +1 -0
  59. package/lib/core/store/config/config.service.d.ts +2 -0
  60. package/lib/dashboard/components/widgets/datasource-selector/datasource-selector.component.d.ts +10 -23
  61. package/lib/dashboard/store/dashboard.actions.d.ts +2 -3
  62. package/lib/dashboard/store/manifest.service.d.ts +2 -3
  63. package/package.json +31 -31
  64. package/presentation/components/presentation.component.d.ts +2 -3
  65. package/presentation/style/_o-pry-presentation.scss +7 -4
  66. package/restitution/components/restitution/restitution.component.d.ts +1 -0
  67. package/restitution/i18n/en.translations.d.ts +0 -5
  68. package/restitution/i18n/fr.translations.d.ts +0 -5
  69. package/restitution/style/_o-restitution.scss +16 -1
  70. package/styles/components/_m-presentation-title.scss +1 -0
  71. package/styles/components/_o-pry-stepper.scss +0 -4
  72. package/toolbox/components/filter-settings/filter-settings.component.d.ts +1 -1
  73. package/toolbox/components/save-view/save-view.component.d.ts +3 -3
@@ -1,7 +1,6 @@
1
1
  @use '../../styles/abstracts/index' as *;
2
2
 
3
3
  .o-restitution {
4
- height: 100%;
5
4
  margin: 0 auto;
6
5
  border-collapse: collapse;
7
6
  font-size: toRem(14);
@@ -36,4 +35,20 @@
36
35
  border-radius: 50%;
37
36
  }
38
37
  }
38
+
39
+ // o-pry-stepper__content.m-btn-group.actions styles
40
+ .m-btn-group.o-datasources__bottom {
41
+ position: fixed;
42
+ bottom: 0;
43
+ width: calc(100% - 40px);
44
+ padding-top: toRem(25);
45
+ padding-bottom: toRem(20);
46
+ background-color: #f5f7f9;
47
+ transform: translateX(-3px);
48
+ justify-content: space-evenly;
49
+ }
50
+
51
+ .m-namedqueries-wrapper {
52
+ padding-bottom: 30px;
53
+ }
39
54
  }
@@ -4,6 +4,7 @@
4
4
 
5
5
  .m-presentation-title {
6
6
  display: flex;
7
+ gap: toRem(10);
7
8
 
8
9
  &__text {
9
10
  display: flex;
@@ -5,7 +5,6 @@
5
5
  display: flex;
6
6
  flex-direction: column;
7
7
  align-items: center;
8
- height: 100%;
9
8
 
10
9
  &__header {
11
10
  display: flex;
@@ -74,16 +73,13 @@
74
73
 
75
74
  &__content {
76
75
  position: relative;
77
- height: calc(100% - 70px);
78
76
  width: 100%;
79
- padding-bottom: toRem(90);
80
77
 
81
78
  pry-step {
82
79
  display: none;
83
80
  padding: 10px;
84
81
 
85
82
  &.active-step {
86
- height: 100%;
87
83
  display: flex;
88
84
  flex-direction: column;
89
85
  padding: 20px 0;
@@ -58,7 +58,7 @@ export declare class PryFilterSettingsComponent extends ToolboxActionComponent {
58
58
  container: ViewContainerRef;
59
59
  constructor(store: Store, overlay: Overlay, viewContainerRef: ViewContainerRef, filterFactoryService: FilterFactoryService, injector: Injector);
60
60
  getDatasourceClass(dataSource: DataSource, classes: Class[]): Class | undefined;
61
- filterAttributes(componentType: string, attributes: Attribute[]): Attribute[];
61
+ isValidAttributeForComponentType(componentType: string, attribute: Attribute): boolean;
62
62
  drop(event: CdkDragDrop<Filter[]>): void;
63
63
  toggleSettings(): void;
64
64
  openSettings(): void;
@@ -1,7 +1,7 @@
1
1
  import { Overlay, OverlayRef } from '@angular/cdk/overlay';
2
2
  import { ElementRef, TemplateRef, ViewContainerRef } from '@angular/core';
3
3
  import { Store } from '@ngrx/store';
4
- import { LibraryTypes, ManifestDescription, PryVisibility, ViewMode } from '@provoly/dashboard';
4
+ import { LibraryTypes, ManifestDescription, ViewMode } from '@provoly/dashboard';
5
5
  import { Observable } from 'rxjs';
6
6
  import { ToolboxActionComponent } from '../toolbox-action/toolbox-action.component';
7
7
  import * as i0 from "@angular/core";
@@ -21,7 +21,7 @@ export declare class SaveViewComponent extends ToolboxActionComponent {
21
21
  templateSaveAs: TemplateRef<any>;
22
22
  overlayRefDirectSaveType?: OverlayRef;
23
23
  templateDirectSaveType: TemplateRef<any>;
24
- visibility: PryVisibility;
24
+ accessGroups: string[];
25
25
  type: LibraryTypes;
26
26
  saveTypeOpened: boolean;
27
27
  currentManifest?: ManifestDescription;
@@ -35,7 +35,7 @@ export declare class SaveViewComponent extends ToolboxActionComponent {
35
35
  toggleSaveAs(): void;
36
36
  save(): void;
37
37
  closeModals(): void;
38
- changeVisibility($event: PryVisibility): void;
38
+ changeVisibility($event: string[]): void;
39
39
  changeValue($event: string): void;
40
40
  changeDescr($event: string): void;
41
41
  openSaveAs(): void;