@provoly/hypervisor 0.0.107 → 0.0.109

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 (43) hide show
  1. package/esm2022/public-api.mjs +2 -1
  2. package/esm2022/src/lib/event/detail/event-detail.component.mjs +31 -14
  3. package/esm2022/src/lib/event/list/event-list.component.mjs +3 -3
  4. package/esm2022/src/lib/general/comments/comments.component.mjs +80 -0
  5. package/esm2022/src/lib/general/i18n/en.translations.mjs +11 -3
  6. package/esm2022/src/lib/general/i18n/fr.translations.mjs +31 -4
  7. package/esm2022/src/lib/general/procedure-actions/action-parameters/service/create-service.component.mjs +100 -0
  8. package/esm2022/src/lib/general/procedure-actions/action-parameters/service/service-action-display.component.mjs +43 -7
  9. package/esm2022/src/lib/general/procedure-actions/procedure-actions.component.mjs +30 -11
  10. package/esm2022/src/lib/general/public-api.mjs +3 -1
  11. package/esm2022/src/lib/hypervisor.module.mjs +21 -7
  12. package/esm2022/src/lib/model/comment.interface.mjs +2 -0
  13. package/esm2022/src/lib/procedure/model-detail/procedure-model-detail.component.mjs +3 -3
  14. package/esm2022/src/lib/store/comments/comments.service.mjs +35 -0
  15. package/esm2022/src/lib/store/comments/public-api.mjs +2 -0
  16. package/esm2022/src/lib/store/equipment/equipment.service.mjs +8 -5
  17. package/esm2022/src/lib/store/event/event.effects.mjs +2 -2
  18. package/esm2022/src/lib/store/service/service.service.mjs +31 -0
  19. package/fesm2022/provoly-hypervisor.mjs +370 -42
  20. package/fesm2022/provoly-hypervisor.mjs.map +1 -1
  21. package/package.json +1 -1
  22. package/public-api.d.ts +1 -0
  23. package/src/lib/event/detail/event-detail.component.d.ts +23 -9
  24. package/src/lib/general/comments/comments.component.d.ts +37 -0
  25. package/src/lib/general/i18n/en.translations.d.ts +8 -0
  26. package/src/lib/general/i18n/fr.translations.d.ts +27 -0
  27. package/src/lib/general/procedure-actions/action-parameters/service/create-service.component.d.ts +48 -0
  28. package/src/lib/general/procedure-actions/action-parameters/service/service-action-display.component.d.ts +13 -2
  29. package/src/lib/general/procedure-actions/procedure-actions.component.d.ts +19 -4
  30. package/src/lib/general/public-api.d.ts +2 -0
  31. package/src/lib/hypervisor.module.d.ts +23 -21
  32. package/src/lib/model/comment.interface.d.ts +8 -0
  33. package/src/lib/store/comments/comments.service.d.ts +17 -0
  34. package/src/lib/store/comments/public-api.d.ts +1 -0
  35. package/src/lib/store/equipment/equipment.service.d.ts +1 -0
  36. package/src/lib/store/service/service.service.d.ts +27 -0
  37. package/styles/components/_a-button-link.scss +7 -0
  38. package/styles/components/_index.scss +3 -0
  39. package/styles/components/_o-hvy-comments.scss +78 -0
  40. package/styles/components/_o-hvy-create-service.scss +31 -0
  41. package/styles/components/_o-hvy-event-detail.scss +11 -20
  42. package/styles/components/_o-hvy-procedure-actions.scss +15 -3
  43. package/styles/components/_o-hvy-procedure-list.scss +1 -0
@@ -27,6 +27,10 @@
27
27
  gap: toRem(10);
28
28
  align-items: baseline;
29
29
 
30
+ h1 {
31
+ padding-bottom: 0;
32
+ }
33
+
30
34
  button {
31
35
  margin-left: auto;
32
36
 
@@ -82,6 +86,13 @@
82
86
  }
83
87
  }
84
88
  }
89
+
90
+ &__comment {
91
+ flex: 1;
92
+ text-align: right;
93
+ font-size: toRem(11);
94
+ margin-top: toRem(8);
95
+ }
85
96
  }
86
97
 
87
98
  &__content {
@@ -99,26 +110,6 @@
99
110
  margin-top: toRem(20);
100
111
  }
101
112
 
102
- &__comments {
103
- textarea {
104
- width: 100%;
105
- margin-bottom: toRem(8);
106
-
107
- &::placeholder {
108
- font-style: italic;
109
- font-size: toRem(12);
110
- color: #859DB6;
111
- padding: 5px;
112
- }
113
- }
114
-
115
- &__button {
116
- display: flex;
117
- flex-direction: row;
118
- justify-content: flex-end;
119
- }
120
- }
121
-
122
113
  &__header {
123
114
  display: flex;
124
115
  flex-direction: row;
@@ -12,10 +12,13 @@
12
12
  }
13
13
 
14
14
  &__action {
15
- display: flex;
16
- flex-direction: row;
17
15
  padding: toRem(20);
18
- gap: toRem(20);
16
+
17
+ &__header {
18
+ display: flex;
19
+ flex-direction: row;
20
+ gap: toRem(20);
21
+ }
19
22
 
20
23
  button:disabled {
21
24
  opacity: 0.5;
@@ -121,6 +124,15 @@ hvy-action-parameter {
121
124
  input::placeholder {
122
125
  font-style: italic;
123
126
  }
127
+
128
+ &.-vertical {
129
+ flex-direction: column;
130
+ }
131
+
132
+ button.a-link:last-child {
133
+ margin-left: 0;
134
+ width: fit-content;
135
+ }
124
136
  }
125
137
  }
126
138
 
@@ -28,6 +28,7 @@
28
28
  .o-hvy-events-table__line__cell:nth-child(1),
29
29
  .o-hvy-events-table__line__cell:nth-child(8){
30
30
  width: toRem(100);
31
+ text-align: center;
31
32
  }
32
33
  }
33
34
  }