@dative-gpi/foundation-shared-components 1.0.146 → 1.0.147
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.
|
@@ -82,7 +82,7 @@ export default defineComponent({
|
|
|
82
82
|
|
|
83
83
|
const deviceTimestamp = computed((): string => {
|
|
84
84
|
if (props.deviceAlert.sourceTimestamp) {
|
|
85
|
-
return epochToLongTimeFormat(props.deviceAlert.
|
|
85
|
+
return epochToLongTimeFormat(props.deviceAlert.actualTimestamp);
|
|
86
86
|
}
|
|
87
87
|
return "";
|
|
88
88
|
});
|
|
@@ -21,7 +21,7 @@ export const useBreakpoints = () => {
|
|
|
21
21
|
};
|
|
22
22
|
|
|
23
23
|
const isTouchScreenEnabled = computed((): boolean => {
|
|
24
|
-
return
|
|
24
|
+
return window.matchMedia('(hover: none), (pointer: coarse), (pointer: none)').matches;
|
|
25
25
|
});
|
|
26
26
|
|
|
27
27
|
const isMobileSized = computed((): boolean => {
|
package/models/deviceAlerts.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dative-gpi/foundation-shared-components",
|
|
3
3
|
"sideEffects": false,
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.147",
|
|
5
5
|
"description": "",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
"author": "",
|
|
11
11
|
"license": "ISC",
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@dative-gpi/foundation-shared-domain": "1.0.
|
|
14
|
-
"@dative-gpi/foundation-shared-services": "1.0.
|
|
13
|
+
"@dative-gpi/foundation-shared-domain": "1.0.147",
|
|
14
|
+
"@dative-gpi/foundation-shared-services": "1.0.147"
|
|
15
15
|
},
|
|
16
16
|
"peerDependencies": {
|
|
17
17
|
"@dative-gpi/bones-ui": "^1.0.0",
|
|
@@ -35,5 +35,5 @@
|
|
|
35
35
|
"sass": "1.71.1",
|
|
36
36
|
"sass-loader": "13.3.2"
|
|
37
37
|
},
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "c31ebe53c7cfd0d156e067fcb57a10f8e48a6ca3"
|
|
39
39
|
}
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
.fs-hide-x-scrollbar {
|
|
15
15
|
overflow-x: scroll !important;
|
|
16
16
|
|
|
17
|
+
// Styles pour WebKit (Chrome, Safari)
|
|
17
18
|
&::-webkit-scrollbar {
|
|
18
19
|
height: 8px;
|
|
19
20
|
}
|
|
@@ -25,11 +26,15 @@
|
|
|
25
26
|
&:hover {
|
|
26
27
|
--scrollbar-x-color: #00000022;
|
|
27
28
|
}
|
|
29
|
+
&:not(:hover) {
|
|
30
|
+
--scrollbar-y-color: #00000000;
|
|
31
|
+
}
|
|
28
32
|
}
|
|
29
33
|
|
|
30
34
|
.fs-hide-y-scrollbar {
|
|
31
35
|
overflow-y: scroll !important;
|
|
32
36
|
|
|
37
|
+
// Styles pour WebKit (Chrome, Safari)
|
|
33
38
|
&::-webkit-scrollbar {
|
|
34
39
|
width: 8px;
|
|
35
40
|
}
|
|
@@ -41,25 +46,18 @@
|
|
|
41
46
|
&:hover {
|
|
42
47
|
--scrollbar-y-color: #00000022;
|
|
43
48
|
}
|
|
49
|
+
&:not(:hover) {
|
|
50
|
+
--scrollbar-y-color: #00000000;
|
|
51
|
+
}
|
|
44
52
|
}
|
|
45
53
|
}
|
|
46
54
|
|
|
47
55
|
@include touchscreen {
|
|
48
56
|
.fs-hide-x-scrollbar {
|
|
49
57
|
overflow-x: scroll;
|
|
50
|
-
|
|
51
|
-
&::-webkit-scrollbar {
|
|
52
|
-
display: none;
|
|
53
|
-
}
|
|
54
|
-
scrollbar-width: none;
|
|
55
58
|
}
|
|
56
59
|
|
|
57
60
|
.fs-hide-y-scrollbar {
|
|
58
61
|
overflow-y: scroll;
|
|
59
|
-
|
|
60
|
-
&::-webkit-scrollbar {
|
|
61
|
-
display: none;
|
|
62
|
-
}
|
|
63
|
-
scrollbar-width: none;
|
|
64
62
|
}
|
|
65
63
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
@mixin touchscreen {
|
|
2
|
-
@media (hover: none) {
|
|
2
|
+
@media (hover: none), (pointer: coarse), (pointer: none) {
|
|
3
3
|
@content;
|
|
4
4
|
}
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
@mixin clickscreen {
|
|
8
|
-
@media
|
|
8
|
+
@media (hover: hover), (pointer: fine) {
|
|
9
9
|
@content;
|
|
10
10
|
}
|
|
11
11
|
}
|