@provoly/dashboard 0.21.0 → 0.21.2

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 (32) 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-customize/tooltip/admin-classes-customize-tooltip.component.mjs +3 -3
  3. package/esm2022/admin/components/admin-classes/admin-classes-view/admin-attributes-form/admin-attributes-form.component.mjs +13 -18
  4. package/esm2022/filters/autocomplete/autocomplete.component.mjs +2 -2
  5. package/esm2022/lib/core/components/select/select.component.mjs +3 -3
  6. package/esm2022/presentation/components/presentation.component.mjs +3 -3
  7. package/esm2022/presentation/i18n/en.translations.mjs +2 -2
  8. package/esm2022/presentation/i18n/fr.translations.mjs +2 -2
  9. package/esm2022/presentation/style/css.component.mjs +2 -2
  10. package/esm2022/restitution/components/restitution-catalog/restitution-catalog.component.mjs +3 -3
  11. package/esm2022/restitution/style/css.component.mjs +2 -2
  12. package/esm2022/toolbox/components/filter-settings/filter-settings.component.mjs +17 -20
  13. package/esm2022/toolbox/components/save-view/save-view.component.mjs +3 -3
  14. package/fesm2022/provoly-dashboard-admin.mjs +12 -17
  15. package/fesm2022/provoly-dashboard-admin.mjs.map +1 -1
  16. package/fesm2022/provoly-dashboard-filters-autocomplete.mjs +1 -1
  17. package/fesm2022/provoly-dashboard-filters-autocomplete.mjs.map +1 -1
  18. package/fesm2022/provoly-dashboard-presentation.mjs +6 -6
  19. package/fesm2022/provoly-dashboard-presentation.mjs.map +1 -1
  20. package/fesm2022/provoly-dashboard-restitution.mjs +4 -4
  21. package/fesm2022/provoly-dashboard-restitution.mjs.map +1 -1
  22. package/fesm2022/provoly-dashboard-toolbox.mjs +18 -21
  23. package/fesm2022/provoly-dashboard-toolbox.mjs.map +1 -1
  24. package/fesm2022/provoly-dashboard.mjs +2 -2
  25. package/fesm2022/provoly-dashboard.mjs.map +1 -1
  26. package/package.json +7 -7
  27. package/presentation/style/_o-pry-presentation.scss +14 -1
  28. package/restitution/style/_o-restitution.scss +16 -1
  29. package/styles/components/_a-pry-select.scss +24 -6
  30. package/styles/components/_m-presentation-title.scss +1 -0
  31. package/styles/components/_o-pry-stepper.scss +0 -4
  32. package/toolbox/components/filter-settings/filter-settings.component.d.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@provoly/dashboard",
3
- "version": "0.21.0",
3
+ "version": "0.21.2",
4
4
  "type": "commonjs",
5
5
  "peerDependencies": {
6
6
  "@angular/cdk": "14.x || 15.x || 16.x",
@@ -96,18 +96,18 @@
96
96
  "esm": "./esm2022/import/provoly-dashboard-import.mjs",
97
97
  "default": "./fesm2022/provoly-dashboard-import.mjs"
98
98
  },
99
- "./pipeline": {
100
- "types": "./pipeline/index.d.ts",
101
- "esm2022": "./esm2022/pipeline/provoly-dashboard-pipeline.mjs",
102
- "esm": "./esm2022/pipeline/provoly-dashboard-pipeline.mjs",
103
- "default": "./fesm2022/provoly-dashboard-pipeline.mjs"
104
- },
105
99
  "./notification": {
106
100
  "types": "./notification/index.d.ts",
107
101
  "esm2022": "./esm2022/notification/provoly-dashboard-notification.mjs",
108
102
  "esm": "./esm2022/notification/provoly-dashboard-notification.mjs",
109
103
  "default": "./fesm2022/provoly-dashboard-notification.mjs"
110
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
111
  "./presentation": {
112
112
  "types": "./presentation/index.d.ts",
113
113
  "esm2022": "./esm2022/presentation/provoly-dashboard-presentation.mjs",
@@ -80,7 +80,6 @@
80
80
  }
81
81
 
82
82
  &__image {
83
- width: auto;
84
83
  cursor: pointer;
85
84
  overflow: hidden;
86
85
  height: toRem(110);
@@ -88,6 +87,10 @@
88
87
  align-items: center;
89
88
  justify-content: center;
90
89
 
90
+ img {
91
+ width: 100px;
92
+ }
93
+
91
94
  .is-full-width {
92
95
  width: 100%;
93
96
  height: 100%;
@@ -109,6 +112,9 @@
109
112
  left: toRem(10);
110
113
  }
111
114
 
115
+ .a-tooltip {
116
+ width: 100%;
117
+ }
112
118
  }
113
119
 
114
120
  &__txt {
@@ -131,11 +137,18 @@
131
137
  }
132
138
  }
133
139
 
140
+ &__title-container {
141
+ &.a-tooltip[data-tooltip]:after {
142
+ top: calc(100% - 15px);
143
+ }
144
+ }
145
+
134
146
  &__description-container {
135
147
  position: relative;
136
148
  width: 100%;
137
149
  display: flex;
138
150
  align-content: center;
151
+ min-height: toRem(20);
139
152
 
140
153
  &.a-tooltip[data-tooltip]:after {
141
154
  width: 100%;
@@ -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
  }
@@ -3,15 +3,35 @@
3
3
  /* Atom - Component pry-select (lib) */
4
4
  .a-pry-select {
5
5
  display: flex;
6
- flex-direction: row;
7
- gap: toRem(10);
8
- align-items: center;
6
+ justify-content: space-between;
9
7
  padding: toRem(10);
8
+ gap: toRem(10);
9
+
10
+ &__content {
11
+ display: flex;
12
+ flex-direction: row;
13
+ gap: toRem(10);
14
+ align-items: center;
15
+ overflow: auto;
16
+
17
+ -ms-overflow-style: none; /* IE and Edge */
18
+ scrollbar-width: none; /* Firefox */
19
+ &::-webkit-scrollbar {
20
+ display: none;
21
+ }
22
+ }
23
+
24
+ &__actions {
25
+ display: flex;
26
+ gap: toRem(5);
27
+ align-items: center;
28
+ }
10
29
 
11
30
  &__value {
12
31
  &.-multiple {
13
32
  padding: toRem(2) toRem(15);
14
33
  border-radius: toRem(15);
34
+ white-space: nowrap;
15
35
  }
16
36
  }
17
37
 
@@ -25,10 +45,8 @@
25
45
  }
26
46
 
27
47
  &__options {
28
- display: flex;
29
- flex-direction: column;
30
- justify-content: space-evenly;
31
48
  overflow: auto;
49
+ max-height: toRem(calc(6 * 35)); // 6 items of height 35px
32
50
 
33
51
  &__option {
34
52
  cursor: pointer;
@@ -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;