@tekkare/auriga 0.2.161 → 0.2.163
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 +1 -1
- package/dist/runtime/components/argChart.vue +5 -2
- package/dist/runtime/components/argSourceCollapse.vue +5 -1
- package/dist/runtime/components/argSourceCollapse.vue.d.ts +9 -0
- package/dist/runtime/components/argSourcesElastic.vue +3 -1
- package/dist/runtime/components/argSourcesElastic.vue.d.ts +9 -0
- package/package.json +1 -1
package/dist/module.json
CHANGED
|
@@ -419,9 +419,12 @@ export default defineComponent({
|
|
|
419
419
|
}).format(value);
|
|
420
420
|
}
|
|
421
421
|
if (!compactMode) {
|
|
422
|
-
returnValue
|
|
422
|
+
if (returnValue === null) {
|
|
423
|
+
returnValue = "-";
|
|
424
|
+
} else
|
|
425
|
+
returnValue = new Intl.NumberFormat("fr-FR").format(value);
|
|
423
426
|
}
|
|
424
|
-
if (hasPercentages) {
|
|
427
|
+
if (hasPercentages && value !== null) {
|
|
425
428
|
let seriesTotal = seriesData[opt.seriesIndex].data.reduce(
|
|
426
429
|
(a, b) => a + b,
|
|
427
430
|
0
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
:class="['icon_open', sourceOpen ? 'icon_rotate' : '']"
|
|
13
13
|
/>
|
|
14
14
|
<div class="title_container">
|
|
15
|
-
<arg-tags class="source_tag">
|
|
15
|
+
<arg-tags class="source_tag" v-if="!withoutCountry">
|
|
16
16
|
<div class="oip_row v-center gap-4">
|
|
17
17
|
<arg-flag
|
|
18
18
|
:slug="getCountryName(sourceContent?.country?.toLowerCase())"
|
|
@@ -105,6 +105,10 @@ export default defineComponent({
|
|
|
105
105
|
type: Boolean,
|
|
106
106
|
default: false
|
|
107
107
|
},
|
|
108
|
+
withoutCountry: {
|
|
109
|
+
type: Boolean,
|
|
110
|
+
default: false
|
|
111
|
+
},
|
|
108
112
|
lang: {
|
|
109
113
|
type: String,
|
|
110
114
|
default: "en",
|
|
@@ -15,6 +15,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
15
15
|
type: BooleanConstructor;
|
|
16
16
|
default: boolean;
|
|
17
17
|
};
|
|
18
|
+
withoutCountry: {
|
|
19
|
+
type: BooleanConstructor;
|
|
20
|
+
default: boolean;
|
|
21
|
+
};
|
|
18
22
|
lang: {
|
|
19
23
|
type: StringConstructor;
|
|
20
24
|
default: string;
|
|
@@ -68,6 +72,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
68
72
|
type: BooleanConstructor;
|
|
69
73
|
default: boolean;
|
|
70
74
|
};
|
|
75
|
+
withoutCountry: {
|
|
76
|
+
type: BooleanConstructor;
|
|
77
|
+
default: boolean;
|
|
78
|
+
};
|
|
71
79
|
lang: {
|
|
72
80
|
type: StringConstructor;
|
|
73
81
|
default: string;
|
|
@@ -93,6 +101,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
93
101
|
sourceCountry: string;
|
|
94
102
|
sourceSector: string;
|
|
95
103
|
defaultOpen: boolean;
|
|
104
|
+
withoutCountry: boolean;
|
|
96
105
|
directusToken: string;
|
|
97
106
|
providerId: string;
|
|
98
107
|
sourceId: string;
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
x?.sources?.some((y) => y?.source_id === uuid)
|
|
11
11
|
)?.country_label
|
|
12
12
|
"
|
|
13
|
+
:without-country="showCountry"
|
|
13
14
|
:source-id="uuid"
|
|
14
15
|
:source-title="constructTitle(uuid)"
|
|
15
16
|
>
|
|
@@ -52,7 +53,8 @@ export default defineComponent({
|
|
|
52
53
|
uuids: { type: Array },
|
|
53
54
|
index: { type: String },
|
|
54
55
|
authKey: { type: String },
|
|
55
|
-
cluster: { type: String, default: "new" }
|
|
56
|
+
cluster: { type: String, default: "new" },
|
|
57
|
+
showCountry: { type: Boolean, default: true }
|
|
56
58
|
},
|
|
57
59
|
emits: ["updateSources"],
|
|
58
60
|
setup(props, { emit }) {
|
|
@@ -15,6 +15,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
15
15
|
type: StringConstructor;
|
|
16
16
|
default: string;
|
|
17
17
|
};
|
|
18
|
+
showCountry: {
|
|
19
|
+
type: BooleanConstructor;
|
|
20
|
+
default: boolean;
|
|
21
|
+
};
|
|
18
22
|
}>, {
|
|
19
23
|
sourceResults: import("vue").Ref<null, null>;
|
|
20
24
|
constructTitle: (uuid: string) => string;
|
|
@@ -45,10 +49,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
45
49
|
type: StringConstructor;
|
|
46
50
|
default: string;
|
|
47
51
|
};
|
|
52
|
+
showCountry: {
|
|
53
|
+
type: BooleanConstructor;
|
|
54
|
+
default: boolean;
|
|
55
|
+
};
|
|
48
56
|
}>> & Readonly<{
|
|
49
57
|
onUpdateSources?: ((...args: any[]) => any) | undefined;
|
|
50
58
|
}>, {
|
|
51
59
|
cluster: string;
|
|
60
|
+
showCountry: boolean;
|
|
52
61
|
}, {}, {
|
|
53
62
|
ArgSourceCollapse: any;
|
|
54
63
|
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|