@tekkare/auriga 0.2.170 → 0.2.171
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
|
@@ -1,42 +1,45 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div v-if="!isLoadingQuery && sourceResults" class="oip_body oip_list gap-12">
|
|
3
|
-
<
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
sourceResults?.find(
|
|
8
|
-
(x) =>
|
|
9
|
-
x.provider_uuid == uuid ||
|
|
3
|
+
<template v-for="(uuid, index) in reorderedUuids" :key="index">
|
|
4
|
+
<ArgSourceCollapse
|
|
5
|
+
v-if="
|
|
6
|
+
sourceResults?.find((x) =>
|
|
10
7
|
x?.sources?.some((y) => y?.source_id === uuid)
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
8
|
+
)
|
|
9
|
+
"
|
|
10
|
+
:source-country="
|
|
11
|
+
sourceResults?.find((x) =>
|
|
12
|
+
x?.sources?.some((y) => y?.source_id === uuid)
|
|
13
|
+
)?.country_label
|
|
14
|
+
"
|
|
15
|
+
:without-country="!showCountry"
|
|
16
|
+
:source-id="uuid"
|
|
17
|
+
:source-title="constructTitle(uuid)"
|
|
18
|
+
:default-open="openedSource === uuid"
|
|
19
|
+
>
|
|
20
|
+
<div class="oip_list gap-24">
|
|
21
|
+
<div class="oip_row v-center gap-24">
|
|
22
|
+
<div>
|
|
23
|
+
<p class="oip_filter_label">Last Update :</p>
|
|
24
|
+
{{ getLastUpdate(uuid)?.update }}
|
|
25
|
+
</div>
|
|
24
26
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
27
|
+
<div>
|
|
28
|
+
<p class="oip_filter_label">Update Frequency :</p>
|
|
29
|
+
{{ getLastUpdate(uuid)?.frequency }}
|
|
30
|
+
</div>
|
|
31
|
+
</div>
|
|
32
|
+
<div class="oip_list gap-8">
|
|
33
|
+
<p class="small_heading">About the provider</p>
|
|
34
|
+
<p v-html="getDescriptions(uuid).provider" />
|
|
35
|
+
</div>
|
|
36
|
+
<div class="oip_list gap-8">
|
|
37
|
+
<p class="small_heading">About the source</p>
|
|
38
|
+
<p v-html="getDescriptions(uuid).source" />
|
|
28
39
|
</div>
|
|
29
40
|
</div>
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
<p v-html="getDescriptions(uuid).provider" />
|
|
33
|
-
</div>
|
|
34
|
-
<div class="oip_list gap-8">
|
|
35
|
-
<p class="small_heading">About the source</p>
|
|
36
|
-
<p v-html="getDescriptions(uuid).source" />
|
|
37
|
-
</div>
|
|
38
|
-
</div>
|
|
39
|
-
</ArgSourceCollapse>
|
|
41
|
+
</ArgSourceCollapse>
|
|
42
|
+
</template>
|
|
40
43
|
</div>
|
|
41
44
|
<div v-else class="oip_body oip_list gap-12">
|
|
42
45
|
<div v-for="i in 3" :key="i" class="oneLoader" />
|
|
@@ -68,7 +71,7 @@ export default defineComponent({
|
|
|
68
71
|
});
|
|
69
72
|
const reorderedUuids = computed(() => {
|
|
70
73
|
const uuids = props.uuids?.slice() ?? [];
|
|
71
|
-
if (props.sourceToOpen) {
|
|
74
|
+
if (props.sourceToOpen && uuids.includes(props.sourceToOpen)) {
|
|
72
75
|
return [
|
|
73
76
|
props.sourceToOpen,
|
|
74
77
|
...uuids.filter((x) => x !== props.sourceToOpen)
|