@tekkare/auriga 0.2.163 → 0.2.165
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.
package/dist/module.json
CHANGED
|
@@ -83,12 +83,16 @@ export default defineComponent({
|
|
|
83
83
|
);
|
|
84
84
|
const source = provider?.sources?.find((x) => x.source_id === uuid);
|
|
85
85
|
return {
|
|
86
|
-
update: source?.
|
|
86
|
+
update: source?.last_download_date ? new Date(source?.last_download_date)?.toLocaleDateString({
|
|
87
|
+
day: "numeric",
|
|
88
|
+
month: "long",
|
|
89
|
+
year: "numeric"
|
|
90
|
+
}) : provider?.["@timestamp"] ? new Date(provider?.["@timestamp"])?.toLocaleDateString({
|
|
87
91
|
day: "numeric",
|
|
88
92
|
month: "long",
|
|
89
93
|
year: "numeric"
|
|
90
94
|
}) : "-",
|
|
91
|
-
visit: source?.
|
|
95
|
+
visit: source?.source_last_visit ? new Date(source?.source_last_visit)?.toLocaleDateString({
|
|
92
96
|
day: "numeric",
|
|
93
97
|
month: "long",
|
|
94
98
|
year: "numeric"
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
trueActiveMenu === item.name ? '' : 'hide',
|
|
46
46
|
]"
|
|
47
47
|
>
|
|
48
|
-
<slot :name="item.name" />
|
|
48
|
+
<slot :name="item.name?.replace(' ', '')" />
|
|
49
49
|
</div>
|
|
50
50
|
</div>
|
|
51
51
|
</div>
|
|
@@ -57,6 +57,7 @@
|
|
|
57
57
|
import {
|
|
58
58
|
onMounted,
|
|
59
59
|
ref,
|
|
60
|
+
onUnmounted,
|
|
60
61
|
onBeforeMount,
|
|
61
62
|
defineComponent,
|
|
62
63
|
watch
|
|
@@ -144,6 +145,21 @@ export default defineComponent({
|
|
|
144
145
|
trueActiveMenu.value = props.activeMenu;
|
|
145
146
|
infoOpen.value = props.toolbarOpen;
|
|
146
147
|
});
|
|
148
|
+
onMounted(() => {
|
|
149
|
+
const body = document.querySelector("html");
|
|
150
|
+
if (body) {
|
|
151
|
+
body.style.overflow = "hidden";
|
|
152
|
+
}
|
|
153
|
+
});
|
|
154
|
+
const removeOverflow = () => {
|
|
155
|
+
const body = document.querySelector("html");
|
|
156
|
+
if (body) {
|
|
157
|
+
body.style.removeProperty("overflow");
|
|
158
|
+
}
|
|
159
|
+
};
|
|
160
|
+
onUnmounted(() => {
|
|
161
|
+
removeOverflow();
|
|
162
|
+
});
|
|
147
163
|
function openMenu(item) {
|
|
148
164
|
trueActiveMenu.value = item;
|
|
149
165
|
emit("update:Menu", trueActiveMenu.value);
|