@tekkare/auriga 0.2.171 → 0.2.172
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,5 +1,9 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div
|
|
2
|
+
<div
|
|
3
|
+
v-if="!isLoadingQuery && sourceResults"
|
|
4
|
+
class="oip_body oip_list gap-12"
|
|
5
|
+
:key="reloadKey"
|
|
6
|
+
>
|
|
3
7
|
<template v-for="(uuid, index) in reorderedUuids" :key="index">
|
|
4
8
|
<ArgSourceCollapse
|
|
5
9
|
v-if="
|
|
@@ -15,7 +19,9 @@
|
|
|
15
19
|
:without-country="!showCountry"
|
|
16
20
|
:source-id="uuid"
|
|
17
21
|
:source-title="constructTitle(uuid)"
|
|
18
|
-
:default-open="
|
|
22
|
+
:default-open="
|
|
23
|
+
openedSource?.trim()?.toLowerCase() == uuid?.trim()?.toLowerCase()
|
|
24
|
+
"
|
|
19
25
|
>
|
|
20
26
|
<div class="oip_list gap-24">
|
|
21
27
|
<div class="oip_row v-center gap-24">
|
|
@@ -65,6 +71,7 @@ export default defineComponent({
|
|
|
65
71
|
setup(props, { emit }) {
|
|
66
72
|
const sourceResults = ref(null);
|
|
67
73
|
const isLoadingQuery = ref(false);
|
|
74
|
+
const reloadKey = ref(0);
|
|
68
75
|
const openedSource = ref(null);
|
|
69
76
|
onMounted(async () => {
|
|
70
77
|
openedSource.value = props.sourceToOpen;
|
|
@@ -245,6 +252,7 @@ export default defineComponent({
|
|
|
245
252
|
customQuery: matchTable
|
|
246
253
|
});
|
|
247
254
|
isLoadingQuery.value = false;
|
|
255
|
+
reloadKey.value += 1;
|
|
248
256
|
}
|
|
249
257
|
onMounted(runQuery);
|
|
250
258
|
watch(
|
|
@@ -260,7 +268,8 @@ export default defineComponent({
|
|
|
260
268
|
getLastUpdate,
|
|
261
269
|
isLoadingQuery,
|
|
262
270
|
openedSource,
|
|
263
|
-
reorderedUuids
|
|
271
|
+
reorderedUuids,
|
|
272
|
+
reloadKey
|
|
264
273
|
};
|
|
265
274
|
}
|
|
266
275
|
});
|
|
@@ -220,6 +220,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
220
220
|
at: (index: number) => string | undefined;
|
|
221
221
|
} | null>;
|
|
222
222
|
reorderedUuids: import("vue").ComputedRef<unknown[]>;
|
|
223
|
+
reloadKey: import("vue").Ref<number, number>;
|
|
223
224
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "updateSources"[], "updateSources", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
224
225
|
fields: {
|
|
225
226
|
type: ArrayConstructor;
|