@provoly/dashboard 0.19.5 → 0.19.7

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 (39) hide show
  1. package/esm2022/filters/autocomplete/autocomplete.component.mjs +2 -2
  2. package/esm2022/lib/core/i18n/en.translations.mjs +3 -2
  3. package/esm2022/lib/core/i18n/fr.translations.mjs +3 -2
  4. package/esm2022/lib/core/model/filter.interface.mjs +1 -1
  5. package/esm2022/lib/core/store/search/search.service.mjs +5 -7
  6. package/esm2022/presentation/components/add-edit-presentation/add-edit-presentation.component.mjs +9 -7
  7. package/esm2022/toolbox/components/filter-settings/filter-settings.component.mjs +4 -3
  8. package/fesm2022/provoly-dashboard-filters-autocomplete.mjs +1 -1
  9. package/fesm2022/provoly-dashboard-filters-autocomplete.mjs.map +1 -1
  10. package/fesm2022/provoly-dashboard-presentation.mjs +8 -6
  11. package/fesm2022/provoly-dashboard-presentation.mjs.map +1 -1
  12. package/fesm2022/provoly-dashboard-toolbox.mjs +3 -2
  13. package/fesm2022/provoly-dashboard-toolbox.mjs.map +1 -1
  14. package/fesm2022/provoly-dashboard.mjs +8 -8
  15. package/fesm2022/provoly-dashboard.mjs.map +1 -1
  16. package/lib/core/i18n/en.translations.d.ts +1 -0
  17. package/lib/core/i18n/fr.translations.d.ts +1 -0
  18. package/lib/core/model/filter.interface.d.ts +1 -0
  19. package/lib/core/store/search/search.service.d.ts +1 -1
  20. package/package.json +7 -7
  21. package/styles/components/_a-btn.scss +11 -17
  22. package/styles-theme/base-theme/_typography.theme.scss +2 -1
  23. package/styles-theme/components-theme/_a-btn.theme.scss +4 -3
  24. package/styles-theme/components-theme/_a-form-field.theme.scss +1 -1
  25. package/styles-theme/components-theme/_a-label.theme.scss +1 -1
  26. package/styles-theme/components-theme/_a-pry-select.theme.scss +1 -1
  27. package/styles-theme/components-theme/_a-table.theme.scss +2 -2
  28. package/styles-theme/components-theme/_m-context-menu.theme.scss +1 -1
  29. package/styles-theme/components-theme/_m-filter.theme.scss +1 -1
  30. package/styles-theme/components-theme/_m-time-picker.theme.scss +1 -1
  31. package/styles-theme/components-theme/_o-date-picker.theme.scss +1 -1
  32. package/styles-theme/components-theme/_o-pry-card-menu.theme.scss +1 -1
  33. package/styles-theme/components-theme/_o-pry-presentation.theme.scss +0 -2
  34. package/styles-theme/components-theme/_o-search-fulltext.theme.scss +7 -7
  35. package/styles-theme/components-theme/_o-settings.theme.scss +1 -1
  36. package/styles-theme/components-theme/_o-widget.theme.scss +1 -3
  37. package/styles-theme/components-theme/_overlay.theme.scss +4 -4
  38. package/styles-theme/layout-theme/_o-manifest-layout.theme.scss +1 -1
  39. package/styles-theme/layout-theme/_o-workspace.theme.scss +1 -1
@@ -334,6 +334,7 @@ export declare const enTranslations: {
334
334
  value: string;
335
335
  values: string;
336
336
  validate: string;
337
+ limit: string;
337
338
  };
338
339
  attributes: {
339
340
  datasource: string;
@@ -334,6 +334,7 @@ export declare const frTranslations: {
334
334
  value: string;
335
335
  values: string;
336
336
  validate: string;
337
+ limit: string;
337
338
  };
338
339
  attributes: {
339
340
  datasource: string;
@@ -12,6 +12,7 @@ export interface Filter {
12
12
  value?: string | number;
13
13
  possibleValues?: string;
14
14
  hasDateRange?: boolean;
15
+ limit?: number;
15
16
  }
16
17
  export interface FilterContext {
17
18
  attribute: string;
@@ -45,7 +45,7 @@ export declare class SearchService {
45
45
  name: string;
46
46
  label: string;
47
47
  datasource: string;
48
- }[] | undefined, search: string): Observable<string[]>;
48
+ }[] | undefined, search: string, limit?: number): Observable<string[]>;
49
49
  static ɵfac: i0.ɵɵFactoryDeclaration<SearchService, never>;
50
50
  static ɵprov: i0.ɵɵInjectableDeclaration<SearchService>;
51
51
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@provoly/dashboard",
3
- "version": "0.19.5",
3
+ "version": "0.19.7",
4
4
  "type": "commonjs",
5
5
  "peerDependencies": {
6
6
  "@angular/cdk": "14.x || 15.x || 16.x",
@@ -253,18 +253,18 @@
253
253
  "esm": "./esm2022/pipeline-components/subgraph/provoly-dashboard-pipeline-components-subgraph.mjs",
254
254
  "default": "./fesm2022/provoly-dashboard-pipeline-components-subgraph.mjs"
255
255
  },
256
- "./tooltips/attribute": {
257
- "types": "./tooltips/attribute/index.d.ts",
258
- "esm2022": "./esm2022/tooltips/attribute/provoly-dashboard-tooltips-attribute.mjs",
259
- "esm": "./esm2022/tooltips/attribute/provoly-dashboard-tooltips-attribute.mjs",
260
- "default": "./fesm2022/provoly-dashboard-tooltips-attribute.mjs"
261
- },
262
256
  "./tooltips/cluster": {
263
257
  "types": "./tooltips/cluster/index.d.ts",
264
258
  "esm2022": "./esm2022/tooltips/cluster/provoly-dashboard-tooltips-cluster.mjs",
265
259
  "esm": "./esm2022/tooltips/cluster/provoly-dashboard-tooltips-cluster.mjs",
266
260
  "default": "./fesm2022/provoly-dashboard-tooltips-cluster.mjs"
267
261
  },
262
+ "./tooltips/attribute": {
263
+ "types": "./tooltips/attribute/index.d.ts",
264
+ "esm2022": "./esm2022/tooltips/attribute/provoly-dashboard-tooltips-attribute.mjs",
265
+ "esm": "./esm2022/tooltips/attribute/provoly-dashboard-tooltips-attribute.mjs",
266
+ "default": "./fesm2022/provoly-dashboard-tooltips-attribute.mjs"
267
+ },
268
268
  "./widgets/widget-aggregated-chart": {
269
269
  "types": "./widgets/widget-aggregated-chart/index.d.ts",
270
270
  "esm2022": "./esm2022/widgets/widget-aggregated-chart/provoly-dashboard-widgets-widget-aggregated-chart.mjs",
@@ -7,11 +7,8 @@
7
7
  align-items: center;
8
8
  justify-content: center;
9
9
  width: max-content;
10
- height: toRem(44);
11
- padding: toRem(8) toRem(22);
12
10
  border: 0 solid transparent;
13
11
  background-color: transparent;
14
- font-size: inherit;
15
12
  text-align: center;
16
13
  white-space: normal;
17
14
  letter-spacing: 0;
@@ -19,6 +16,17 @@
19
16
  cursor: pointer;
20
17
  user-select: none;
21
18
  transition: all 0.24s ease-in-out;
19
+
20
+ gap: toRem(3);
21
+ height: toRem(30);
22
+ padding: toRem(8) toRem(12);
23
+ font-size: toRem(12);
24
+ line-height: toRem(13);
25
+
26
+ &.-circle {
27
+ width: toRem(34);
28
+ height: toRem(34);
29
+ }
22
30
  }
23
31
 
24
32
  .a-btn {
@@ -164,20 +172,6 @@
164
172
  }
165
173
  }
166
174
 
167
- &.-size-sm {
168
- gap: toRem(3);
169
- height: toRem(30);
170
- padding-left: toRem(12);
171
- padding-right: toRem(12);
172
- font-size: toRem(10);
173
- line-height: toRem(13);
174
-
175
- &.-circle {
176
- width: toRem(34);
177
- height: toRem(34);
178
- }
179
- }
180
-
181
175
  &.-size-md {
182
176
  gap: toRem(5);
183
177
  height: toRem(34);
@@ -2,12 +2,13 @@
2
2
  @use '../abstracts-theme/variables.theme' as *;
3
3
 
4
4
  body {
5
- color: themed($theme-map, 'color', 'primary', 700);
5
+ color: themed($theme-map, 'color', 'graph', 01);
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
12
  @include typography-level(themed($theme-map, 'typography', 'title-1'));
12
13
  }
13
14
 
@@ -9,6 +9,7 @@
9
9
 
10
10
  // Default btn settings
11
11
  border-radius: $btn-radius-default;
12
+ color: themed($theme-map, 'color', 'graph', 01);
12
13
  @include typography-level(themed($theme-map, 'typography', 'button'));
13
14
 
14
15
  &--primary,
@@ -37,12 +38,12 @@
37
38
  &--secondary,
38
39
  &.a-btn--secondary.-circle {
39
40
  border: 1px solid themed($theme-map, 'color', 'primary', 500);
40
- color: themed($theme-map, 'color', 'primary', 700);
41
+ color: themed($theme-map, 'color', 'graph', 01);
41
42
  background-color: transparent;
42
43
 
43
44
  &:hover {
44
45
  border: 1px solid themed($theme-map, 'color', 'primary', 600);
45
- color: themed($theme-map, 'color', 'primary', 700);
46
+ color: themed($theme-map, 'color', 'graph', 01);
46
47
  }
47
48
 
48
49
  &:focus,
@@ -147,7 +148,7 @@
147
148
 
148
149
  // Action add item, circled icon on left + text on right
149
150
  &--iconcircle-text {
150
- color: themed($theme-map, 'color', 'primary', 700);
151
+ color: themed($theme-map, 'color', 'graph', 01);
151
152
  font-weight: 400;
152
153
  font-size: 14px;
153
154
 
@@ -7,7 +7,7 @@
7
7
  @include typography-level(themed($theme-map, 'typography', 'form-field'));
8
8
  border-color: themed($theme-map, 'color', 'primary', 400);
9
9
  border-radius: toRem(4);
10
- color: themed($theme-map, 'color', 'primary', 700);
10
+ color: themed($theme-map, 'color', 'graph', 01);
11
11
  background-color: themed($theme-map, 'color', 'primary', 'contrast', 700);
12
12
 
13
13
  &[aria-invalid='true'] {
@@ -6,7 +6,7 @@
6
6
  @include typography-level(themed($theme-map, 'typography', 'label'));
7
7
 
8
8
  &--help {
9
- color: themed($theme-map, 'color', 'primary', 700);
9
+ color: themed($theme-map, 'color', 'graph', 01);
10
10
  font-size: toRem(13);
11
11
  }
12
12
 
@@ -35,7 +35,7 @@
35
35
 
36
36
  &.ng-select .ng-select-container {
37
37
  border-color: themed($theme-map, 'color', 'primary', 400);
38
- color: themed($theme-map, 'color', 'primary', 700);
38
+ color: themed($theme-map, 'color', 'graph', 01);
39
39
  background-color: themed($theme-map, 'color', 'primary', 'contrast', 700);
40
40
  }
41
41
 
@@ -9,7 +9,7 @@
9
9
 
10
10
  thead {
11
11
  tr {
12
- border-bottom-color: themed($theme-map, 'color', 'primary', 700);
12
+ border-bottom-color: themed($theme-map, 'color', 'graph', 01);
13
13
 
14
14
  th {
15
15
  color: themed($theme-map, 'color', 'primary', 600);
@@ -28,7 +28,7 @@
28
28
  &.is-selected,
29
29
  &:hover {
30
30
  td {
31
- color: themed($theme-map, 'color', 'primary', 700);
31
+ color: themed($theme-map, 'color', 'graph', 01);
32
32
  background-color: themed($theme-map, 'color', 'primary', 200);
33
33
 
34
34
  &.view-details {
@@ -13,7 +13,7 @@
13
13
  &__item {
14
14
  a[href],
15
15
  .a-btn {
16
- color: themed($theme-map, 'color', 'primary', 700);
16
+ color: themed($theme-map, 'color', 'graph', 01);
17
17
  font-size: toRem(14);
18
18
  font-weight: 400;
19
19
 
@@ -9,7 +9,7 @@
9
9
 
10
10
  &__input-wrapper {
11
11
  border: 1px solid themed($theme-map, 'color', 'primary', 400);
12
- color: themed($theme-map, 'color', 'primary', 700);
12
+ color: themed($theme-map, 'color', 'graph', 01);
13
13
  background-color: themed($theme-map, 'color', 'primary', 'contrast', 700);
14
14
 
15
15
  .pry-select {
@@ -10,7 +10,7 @@
10
10
  &__list {
11
11
  &__item {
12
12
  button {
13
- color: themed($theme-map, 'color', 'primary', 700);
13
+ color: themed($theme-map, 'color', 'graph', 01);
14
14
 
15
15
  &:hover {
16
16
  background-color: themed($theme-map, 'color', 'primary', 50);
@@ -23,7 +23,7 @@
23
23
  }
24
24
 
25
25
  .a-time {
26
- color: themed($theme-map, 'color', 'primary', 700);
26
+ color: themed($theme-map, 'color', 'graph', 01);
27
27
  }
28
28
  }
29
29
 
@@ -21,7 +21,7 @@
21
21
 
22
22
  &:hover,
23
23
  &:active {
24
- color: themed($theme-map, 'color', 'primary', 700);
24
+ color: themed($theme-map, 'color', 'graph', 01);
25
25
  background-color: themed($theme-map, 'color', 'primary', 200);
26
26
  font-weight: 500;
27
27
  }
@@ -15,8 +15,6 @@
15
15
  }
16
16
 
17
17
  &__txt {
18
- color: themed($theme-map, 'color', 'primary', 600);
19
-
20
18
  .a-p {
21
19
  &.-date {
22
20
  color: themed($theme-map, 'color', 'primary', 500);
@@ -4,11 +4,11 @@
4
4
  /* Organism - Search full text */
5
5
  .o-search-fulltext {
6
6
  &__classes {
7
- color: themed($theme-map, 'color', 'primary', 700);
7
+ color: themed($theme-map, 'color', 'graph', 01);
8
8
  background-color: themed($theme-map, 'color', 'primary', 'contrast', 700);
9
9
 
10
10
  &__content {
11
- color: themed($theme-map, 'color', 'primary', 700);
11
+ color: themed($theme-map, 'color', 'graph', 01);
12
12
  background-color: themed($theme-map, 'color', 'primary', 300);
13
13
  }
14
14
 
@@ -23,7 +23,7 @@
23
23
  &__classes-overlay {
24
24
  &__item {
25
25
  &:hover {
26
- color: themed($theme-map, 'color', 'primary', 700);
26
+ color: themed($theme-map, 'color', 'graph', 01);
27
27
  background-color: themed($theme-map, 'color', 'primary', 300);
28
28
  }
29
29
 
@@ -40,11 +40,11 @@
40
40
  box-shadow: 1px 0 5px -2px rgba(0, 0, 0, 0.2);
41
41
 
42
42
  &__item {
43
- color: themed($theme-map, 'color', 'primary', 700);
43
+ color: themed($theme-map, 'color', 'graph', 01);
44
44
  background-color: themed($theme-map, 'color', 'primary', 50);
45
45
 
46
46
  &:hover {
47
- border-color: themed($theme-map, 'color', 'primary', 700);
47
+ border-color: themed($theme-map, 'color', 'graph', 01);
48
48
  }
49
49
 
50
50
  .pry-icon {
@@ -52,12 +52,12 @@
52
52
  }
53
53
 
54
54
  &__selected {
55
- border-color: themed($theme-map, 'color', 'primary', 700);
55
+ border-color: themed($theme-map, 'color', 'graph', 01);
56
56
  background-color: themed($theme-map, 'color', 'primary', 50);
57
57
  font-weight: 700;
58
58
 
59
59
  .pry-icon {
60
- background-color: themed($theme-map, 'color', 'primary', 700);
60
+ background-color: themed($theme-map, 'color', 'graph', 01);
61
61
  }
62
62
  }
63
63
  }
@@ -11,7 +11,7 @@
11
11
 
12
12
  &__header {
13
13
  .a-h2 {
14
- color: themed($theme-map, 'color', 'primary', 700);
14
+ color: themed($theme-map, 'color', 'graph', 01);
15
15
  font-size: toRem(18);
16
16
  }
17
17
 
@@ -10,9 +10,7 @@
10
10
  border-bottom: 1px themed($theme-map, 'color', 'primary', 300) solid;
11
11
 
12
12
  &__content {
13
- &__title {
14
- color: themed($theme-map, 'color', 'primary', 800);
15
- }
13
+ color: #113B6E; //themed($theme-map, 'color', 'primary', 800);
16
14
  }
17
15
  }
18
16
 
@@ -5,12 +5,12 @@
5
5
 
6
6
  .pry-tooltip-container {
7
7
  @include typography-level(themed($theme-map, 'typography', 'panel'));
8
- color: themed($theme-map, 'color', 'primary', 700);
8
+ color: themed($theme-map, 'color', 'graph', 01);
9
9
  background-color: themed($theme-map, 'color', 'primary', 50);
10
10
 
11
11
  &.pry-tooltip-reversed {
12
12
  color: themed($theme-map, 'color', 'primary', 'contrast', 700);
13
- background-color: themed($theme-map, 'color', 'primary', 700);
13
+ background-color: themed($theme-map, 'color', 'graph', 01);
14
14
  }
15
15
 
16
16
  box-shadow:
@@ -20,12 +20,12 @@
20
20
  }
21
21
 
22
22
  .pry-overlay-container {
23
- color: themed($theme-map, 'color', 'primary', 700);
23
+ color: themed($theme-map, 'color', 'graph', 01);
24
24
  background-color: themed($theme-map, 'color', 'primary', 'contrast', 700);
25
25
 
26
26
  &.pry-overlay-reversed {
27
27
  color: themed($theme-map, 'color', 'primary', 'contrast', 700);
28
- background-color: themed($theme-map, 'color', 'primary', 700);
28
+ background-color: themed($theme-map, 'color', 'graph', 01);
29
29
  }
30
30
 
31
31
  box-shadow:
@@ -15,7 +15,7 @@
15
15
  }
16
16
 
17
17
  .a-p {
18
- color: themed($theme-map, 'color', 'primary', 700);
18
+ color: themed($theme-map, 'color', 'graph', 01);
19
19
 
20
20
  &__title {
21
21
  color: themed($theme-map, 'color', 'primary', 400);
@@ -9,7 +9,7 @@
9
9
 
10
10
  .m-actions-list__item {
11
11
  .a-toggle {
12
- color: themed($theme-map, 'color', 'primary', 700);
12
+ color: themed($theme-map, 'color', 'graph', 01);
13
13
  font-size: toRem(15);
14
14
  font-weight: 400;
15
15
  }