@provoly/dashboard 0.21.1 → 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 (27) 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/presentation/components/presentation.component.mjs +3 -3
  5. package/esm2022/presentation/i18n/en.translations.mjs +2 -2
  6. package/esm2022/presentation/i18n/fr.translations.mjs +2 -2
  7. package/esm2022/presentation/style/css.component.mjs +2 -2
  8. package/esm2022/restitution/components/restitution-catalog/restitution-catalog.component.mjs +3 -3
  9. package/esm2022/restitution/style/css.component.mjs +2 -2
  10. package/esm2022/toolbox/components/filter-settings/filter-settings.component.mjs +17 -20
  11. package/esm2022/toolbox/components/save-view/save-view.component.mjs +3 -3
  12. package/fesm2022/provoly-dashboard-admin.mjs +10 -15
  13. package/fesm2022/provoly-dashboard-admin.mjs.map +1 -1
  14. package/fesm2022/provoly-dashboard-filters-autocomplete.mjs +1 -1
  15. package/fesm2022/provoly-dashboard-filters-autocomplete.mjs.map +1 -1
  16. package/fesm2022/provoly-dashboard-presentation.mjs +6 -6
  17. package/fesm2022/provoly-dashboard-presentation.mjs.map +1 -1
  18. package/fesm2022/provoly-dashboard-restitution.mjs +4 -4
  19. package/fesm2022/provoly-dashboard-restitution.mjs.map +1 -1
  20. package/fesm2022/provoly-dashboard-toolbox.mjs +18 -21
  21. package/fesm2022/provoly-dashboard-toolbox.mjs.map +1 -1
  22. package/package.json +31 -31
  23. package/presentation/style/_o-pry-presentation.scss +7 -4
  24. package/restitution/style/_o-restitution.scss +16 -1
  25. package/styles/components/_m-presentation-title.scss +1 -0
  26. package/styles/components/_o-pry-stepper.scss +0 -4
  27. 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.1",
3
+ "version": "0.21.2",
4
4
  "type": "commonjs",
5
5
  "peerDependencies": {
6
6
  "@angular/cdk": "14.x || 15.x || 16.x",
@@ -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",
@@ -95,10 +95,6 @@
95
95
  width: 100%;
96
96
  height: 100%;
97
97
  object-fit: cover;
98
-
99
- img {
100
- width: 100%;
101
- }
102
98
  }
103
99
  }
104
100
 
@@ -141,11 +137,18 @@
141
137
  }
142
138
  }
143
139
 
140
+ &__title-container {
141
+ &.a-tooltip[data-tooltip]:after {
142
+ top: calc(100% - 15px);
143
+ }
144
+ }
145
+
144
146
  &__description-container {
145
147
  position: relative;
146
148
  width: 100%;
147
149
  display: flex;
148
150
  align-content: center;
151
+ min-height: toRem(20);
149
152
 
150
153
  &.a-tooltip[data-tooltip]:after {
151
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
  }
@@ -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;